@shtabapp/ui-kit 1.79.0 → 1.80.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 +14 -0
- package/dist/{SAvatar-hWbsODUa.js → SAvatar-6uaisUHm.js} +23 -21
- package/dist/{SAvatar-ClmtSIFg.cjs → SAvatar-BQNqFdkk.cjs} +1 -1
- package/dist/{SAvatarGroup-By8oMNTe.cjs → SAvatarGroup-D27squmU.cjs} +1 -1
- package/dist/{SAvatarGroup-CSSCQKdH.js → SAvatarGroup-DnVhY7I1.js} +1 -1
- package/dist/SBadge-Dn87LB9z.cjs +1 -0
- package/dist/{SBadge-BDxQJh6c.js → SBadge-Du9iIiXS.js} +4 -2
- package/dist/{SButton-BxsPvcET.cjs → SButton-B3o80WMR.cjs} +1 -1
- package/dist/{SButton-B21hubD2.js → SButton-D-dmK8Cm.js} +1 -1
- package/dist/{SChip-suCSzJ9O.js → SChip-C6Z1VRf9.js} +1 -1
- package/dist/{SChip-no4cGQNB.cjs → SChip-Cr6wNKd7.cjs} +1 -1
- package/dist/{SColorPicker-DHjY2NVd.cjs → SColorPicker--sBL2SBq.cjs} +1 -1
- package/dist/{SColorPicker-C5pA54Q3.js → SColorPicker-D2072gdX.js} +3 -3
- package/dist/SDropdown-B_nsm3Jf.cjs +1 -0
- package/dist/SDropdown-aWjZrahp.js +541 -0
- package/dist/{SInput-DRV4XHWh.js → SInput-D2pCcaym.js} +1 -1
- package/dist/{SInput-Doale-L0.cjs → SInput-DG9R9tJC.cjs} +1 -1
- package/dist/{SList-DuSCQL0t.js → SList-DKstFJu1.js} +1 -1
- package/dist/{SList-B98BGyt8.cjs → SList-_VnusDWn.cjs} +1 -1
- package/dist/SListItem-B7RIawMl.cjs +1 -0
- package/dist/SListItem-Bw0OXPVk.js +231 -0
- package/dist/{SPhotoEdit-D3a1Ptp0.cjs → SPhotoEdit-C1K1n0ti.cjs} +1 -1
- package/dist/{SPhotoEdit-CuVHNypX.js → SPhotoEdit-eKRRevtl.js} +1 -1
- package/dist/SSelect-91iBEAHR.cjs +1 -0
- package/dist/{SSelect-BU4eSrVf.js → SSelect-CKw3a1AD.js} +238 -230
- package/dist/STable-CdMVPiYt.cjs +1 -0
- package/dist/{STable-BTKXjbrB.js → STable-Dbr1oX01.js} +1032 -1002
- package/dist/{STabs-B07Q6QYO.js → STabs-DhwF2GvF.js} +1 -1
- package/dist/{STabs-JtF4ca3o.cjs → STabs-yf2Mtaji.cjs} +1 -1
- package/dist/{STag-BKLs0RRY.js → STag-BCGC8smg.js} +1 -1
- package/dist/{STag-Btut_n-4.cjs → STag-DBerzc3o.cjs} +1 -1
- package/dist/{STagGroup-CNZVwrG2.js → STagGroup-B2FeOTSD.js} +1 -1
- package/dist/{STagGroup-Ddeb_8Ot.cjs → STagGroup-GecKyBlJ.cjs} +1 -1
- package/dist/components/SAvatar/SAvatar.vue.d.ts.map +1 -1
- package/dist/components/SBadge/SBadge.vue.d.ts.map +1 -1
- package/dist/components/SDropdown/SDropdown.types.d.ts +16 -1
- package/dist/components/SDropdown/SDropdown.types.d.ts.map +1 -1
- package/dist/components/SDropdown/SDropdown.vue.d.ts +2 -2
- package/dist/components/SDropdown/SDropdown.vue.d.ts.map +1 -1
- package/dist/components/SDropdown/utils/dropdownFocusables.d.ts +9 -0
- package/dist/components/SDropdown/utils/dropdownFocusables.d.ts.map +1 -0
- package/dist/components/SDropdown/utils/useDropdownFocus.d.ts +31 -0
- package/dist/components/SDropdown/utils/useDropdownFocus.d.ts.map +1 -0
- package/dist/components/SListItem/SListItem.types.d.ts +5 -3
- 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/SSelect/SSelect.vue.d.ts.map +1 -1
- package/dist/components/STable/STable.vue.d.ts.map +1 -1
- package/dist/components/STable/utils/useTableGridFocus.d.ts +5 -2
- package/dist/components/STable/utils/useTableGridFocus.d.ts.map +1 -1
- package/dist/components/STable/utils/useTableGridKeyboard.d.ts.map +1 -1
- package/dist/components/SToastProvider/SToastProvider.vue.d.ts +1 -1
- package/dist/components/SToastProvider/SToastProvider.vue.d.ts.map +1 -1
- package/dist/entries/avatar-group.cjs +1 -1
- package/dist/entries/avatar-group.js +1 -1
- package/dist/entries/avatar.cjs +1 -1
- package/dist/entries/avatar.js +1 -1
- package/dist/entries/badge.cjs +1 -1
- package/dist/entries/badge.js +1 -1
- package/dist/entries/button.cjs +1 -1
- package/dist/entries/button.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/dropdown.cjs +1 -1
- package/dist/entries/dropdown.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.js +1 -1
- 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/select.cjs +1 -1
- package/dist/entries/select.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 +1 -1
- 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/index.cjs +1 -1
- package/dist/index.js +447 -423
- package/dist/uikit-components.css +1 -1
- package/package.json +3 -3
- package/dist/SBadge-d1GOPFP-.cjs +0 -1
- package/dist/SDropdown-CPfoNHbg.cjs +0 -1
- package/dist/SDropdown-DvPW3_WP.js +0 -400
- package/dist/SListItem-B3MQgu4Q.js +0 -227
- package/dist/SListItem-CZtR8bgI.cjs +0 -1
- package/dist/SSelect-CPQIcGhK.cjs +0 -1
- package/dist/STable-RmVTPyg2.cjs +0 -1
package/dist/index.js
CHANGED
|
@@ -1,59 +1,59 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "./SBadge-
|
|
2
|
-
import { a as r, i, n as a, o, r as s, t as c } from "./SAvatar-
|
|
3
|
-
import { i as l, n as u, r as d, t as f } from "./SColorPicker-
|
|
1
|
+
import { n as e, r as t, t as n } from "./SBadge-Du9iIiXS.js";
|
|
2
|
+
import { a as r, i, n as a, o, r as s, t as c } from "./SAvatar-6uaisUHm.js";
|
|
3
|
+
import { i as l, n as u, r as d, t as f } from "./SColorPicker-D2072gdX.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
|
|
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 { r 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 { C 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 { t as
|
|
48
|
-
import { a as
|
|
49
|
-
import { a as
|
|
50
|
-
import { Fragment as
|
|
51
|
-
import { ESIconName as J, ESProgressBarSize as
|
|
52
|
-
import { useResizeObserver as
|
|
6
|
+
import { n as S, t as C } from "./SAvatarGroup-DnVhY7I1.js";
|
|
7
|
+
import { i as w, n as T, r as E, t as D } from "./SButton-D-dmK8Cm.js";
|
|
8
|
+
import { a as ee, n as te, o as ne, r as re, t as ie } from "./useSelectionGroup-BCAmPf3R.js";
|
|
9
|
+
import { n as ae } from "./useSelectLink-2aCIYmF6.js";
|
|
10
|
+
import { i as oe, n as se, r as ce, t as le } from "./SButtonGroup-BqW5Rz1p.js";
|
|
11
|
+
import { i as ue, n as de, r as fe, t as pe } from "./SCheckbox-Dulusx5v.js";
|
|
12
|
+
import { n as me, t as he } from "./SCard-DJuyINB7.js";
|
|
13
|
+
import { n as ge, t as _e } from "./SSegmentControl-Bjech2v4.js";
|
|
14
|
+
import { n as ve, r as ye, t as be } from "./STab-D7SATMfv.js";
|
|
15
|
+
import { t as xe } from "./STabs-DhwF2GvF.js";
|
|
16
|
+
import { a as Se, i as Ce, o as we, s as Te, t as Ee } from "./useFloatingOverlay-TxzVisMJ.js";
|
|
17
|
+
import { n as De, r as Oe, t as ke } from "./STag-BCGC8smg.js";
|
|
18
|
+
import { t as Ae } from "./STagGroup-B2FeOTSD.js";
|
|
19
|
+
import { n as je, r as Me, t as Ne } from "./SChip-C6Z1VRf9.js";
|
|
20
|
+
import { n as Pe, t as Fe } from "./SDropdown-aWjZrahp.js";
|
|
21
|
+
import { t as Ie } from "./SDropdownMenu-2koPU6IG.js";
|
|
22
|
+
import { r as Le, t as Re } from "./SInput-D2pCcaym.js";
|
|
23
|
+
import { n as ze, t as Be } from "./SInlineMessage-Dirk5RwO.js";
|
|
24
|
+
import { n as Ve, r as He, t as Ue } from "./SLabel-FHHPlcKq.js";
|
|
25
|
+
import { a as We, s as Ge } from "./treeKeyboardNavigation-SmxTdnDz.js";
|
|
26
|
+
import { n as Ke, r as qe, t as Je } from "./SListItem-Bw0OXPVk.js";
|
|
27
|
+
import { a as Ye, t as Xe } from "./SList-DKstFJu1.js";
|
|
28
|
+
import { n as Ze, t as Qe } from "./SSelect-CKw3a1AD.js";
|
|
29
|
+
import { n as $e, t as et } from "./SRadio-BhoLtFUS.js";
|
|
30
|
+
import { n as tt, r as nt, t as rt } from "./SToggle-MSdprnRP.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-eKRRevtl.js";
|
|
34
|
+
import { C as ut, D as O, S as k, c as dt, n as ft, r as pt, s as mt, t as ht, w as gt } from "./useChartInteractivity-sgbPZgcH.js";
|
|
35
|
+
import { n as _t, t as vt } from "./SChartLegend-At0mMO09.js";
|
|
36
|
+
import { t as yt } from "./SChartLine-rnEsQv-q.js";
|
|
37
|
+
import { t as bt } from "./resolveSeriesPaletteColor-Bk52kyZo.js";
|
|
38
|
+
import { t as xt } from "./SChartStackedArea-zIygTOp8.js";
|
|
39
|
+
import { t as St } from "./SChartStackedBar-CXpVSagd.js";
|
|
40
|
+
import { t as Ct } from "./SChartHorizontalBar-VKU0b6Jx.js";
|
|
41
|
+
import { n as wt, t as Tt } from "./SChartPie-Ebg7WSga.js";
|
|
42
|
+
import { t as Et } from "./SChartMultiLine-C4jjmLEb.js";
|
|
43
|
+
import { t as Dt } from "./SChartBurnup-B1KU1E5B.js";
|
|
44
|
+
import { t as Ot } from "./useHasListener-RSjlUyqH.js";
|
|
45
|
+
import { t as kt } from "./SChartBar-DHjm1H0N.js";
|
|
46
|
+
import { t as At } from "./SChartProgress-DRSh_taf.js";
|
|
47
|
+
import { t as jt } from "./SChartScatter-DnmTw18x.js";
|
|
48
|
+
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";
|
|
49
|
+
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-Dbr1oX01.js";
|
|
50
|
+
import { Fragment as A, Teleport as rn, computed as j, createBlock as M, createCommentVNode as N, createElementBlock as P, createElementVNode as F, createSlots as an, createTextVNode as I, createVNode as L, defineComponent as R, mergeModels as on, mergeProps as sn, nextTick as cn, normalizeClass as z, normalizeStyle as B, onMounted as ln, openBlock as V, ref as H, renderList as U, renderSlot as W, resolveDynamicComponent as un, shallowRef as dn, toDisplayString as G, toValue as fn, unref as K, useModel as pn, useSlots as mn, useTemplateRef as hn, watch as gn, withCtx as q, withKeys as _n, withModifiers as vn } from "vue";
|
|
51
|
+
import { ESIconName as J, ESProgressBarSize as yn, ESSkeletonType as bn, SIcon as xn, SProgressBar as Sn, SSkeleton as Cn, createUiKit as wn, setUiKitLocale as Tn, uiKitLocaleEn as En, uiKitLocaleRu as Dn, useUiKitI18n as On, useUiKitI18n as kn } from "@shtabapp/ui-kit-primitives";
|
|
52
|
+
import { useResizeObserver as An } from "@vueuse/core";
|
|
53
53
|
export * from "@shtabapp/ui-kit-primitives";
|
|
54
54
|
export * from "@shtabapp/ui-kit-tokens";
|
|
55
55
|
//#region src/utils/chart/segmentedBar/resolveSegmentedBarSegmentColor.ts
|
|
56
|
-
var
|
|
56
|
+
var jn = [
|
|
57
57
|
"--s-ui-chart-segmented-bar-palette-1",
|
|
58
58
|
"--s-ui-chart-segmented-bar-palette-2",
|
|
59
59
|
"--s-ui-chart-segmented-bar-palette-3",
|
|
@@ -62,7 +62,7 @@ var An = [
|
|
|
62
62
|
"--s-ui-chart-segmented-bar-palette-6",
|
|
63
63
|
"--s-ui-chart-segmented-bar-palette-7",
|
|
64
64
|
"--s-ui-chart-segmented-bar-palette-8"
|
|
65
|
-
],
|
|
65
|
+
], Mn = [
|
|
66
66
|
"--s-ui-chart-segmented-bar-skeleton-palette-1",
|
|
67
67
|
"--s-ui-chart-segmented-bar-skeleton-palette-2",
|
|
68
68
|
"--s-ui-chart-segmented-bar-skeleton-palette-3",
|
|
@@ -71,51 +71,51 @@ var An = [
|
|
|
71
71
|
"--s-ui-chart-segmented-bar-skeleton-palette-6",
|
|
72
72
|
"--s-ui-chart-segmented-bar-skeleton-palette-7",
|
|
73
73
|
"--s-ui-chart-segmented-bar-skeleton-palette-8"
|
|
74
|
-
],
|
|
75
|
-
palette:
|
|
76
|
-
paletteFallback:
|
|
77
|
-
skeletonPalette:
|
|
78
|
-
skeletonFallback:
|
|
74
|
+
], Nn = (e, t, n, r = !1) => bt(e, t, n, r, {
|
|
75
|
+
palette: jn,
|
|
76
|
+
paletteFallback: jn[0],
|
|
77
|
+
skeletonPalette: Mn,
|
|
78
|
+
skeletonFallback: Mn[0]
|
|
79
79
|
}), Y = /* @__PURE__ */ function(e) {
|
|
80
80
|
return e.INFO_ACCENT = "info-accent", e.INFO_NORMAL = "info-normal", e.SUCCESS = "success", e.WARNING = "warning", e.DANGER = "danger", e.BILLING = "billing", e;
|
|
81
81
|
}({}), X = /* @__PURE__ */ function(e) {
|
|
82
82
|
return e.HORIZONTAL = "horizontal", e.VERTICAL = "vertical", e;
|
|
83
83
|
}({}), Z = /* @__PURE__ */ function(e) {
|
|
84
84
|
return e.ICON = "icon", e.AVATAR = "avatar", e;
|
|
85
|
-
}({}),
|
|
85
|
+
}({}), Pn = /* @__PURE__ */ function(e) {
|
|
86
86
|
return e.BANNER = "banner", e.TOAST = "toast", e;
|
|
87
|
-
}({}),
|
|
87
|
+
}({}), Fn = {
|
|
88
88
|
[Y.INFO_ACCENT]: J.infoCircle,
|
|
89
89
|
[Y.INFO_NORMAL]: J.infoCircle,
|
|
90
90
|
[Y.SUCCESS]: J.checkCircle,
|
|
91
91
|
[Y.WARNING]: J.alertCircle,
|
|
92
92
|
[Y.DANGER]: J.dangerCircleFill,
|
|
93
93
|
[Y.BILLING]: J.infoCircle
|
|
94
|
-
},
|
|
94
|
+
}, In = (e, t) => t || Fn[e], Ln = ["role"], Rn = { class: "s-ui-notification__body" }, zn = {
|
|
95
95
|
key: 0,
|
|
96
96
|
class: "s-ui-notification__leftside"
|
|
97
|
-
},
|
|
97
|
+
}, Bn = {
|
|
98
98
|
key: 0,
|
|
99
99
|
class: "s-ui-notification__icon"
|
|
100
|
-
},
|
|
100
|
+
}, Vn = { class: "s-ui-notification__content" }, Hn = { class: "s-ui-notification__title-row" }, Un = {
|
|
101
101
|
key: 0,
|
|
102
102
|
class: "s-ui-notification__description-block"
|
|
103
|
-
},
|
|
103
|
+
}, Wn = {
|
|
104
104
|
key: 0,
|
|
105
105
|
class: "s-ui-notification__description s-ui-typography-label-12-medium"
|
|
106
|
-
},
|
|
106
|
+
}, Gn = {
|
|
107
107
|
key: 1,
|
|
108
108
|
class: "s-ui-notification__actions-stack"
|
|
109
|
-
},
|
|
109
|
+
}, Kn = {
|
|
110
110
|
key: 1,
|
|
111
111
|
class: "s-ui-notification__actions-row"
|
|
112
|
-
},
|
|
112
|
+
}, qn = /* @__PURE__ */ R({
|
|
113
113
|
__name: "SNotification",
|
|
114
114
|
props: {
|
|
115
115
|
type: { default: () => Y.INFO_ACCENT },
|
|
116
116
|
layout: { default: () => X.HORIZONTAL },
|
|
117
117
|
leftside: { default: () => Z.ICON },
|
|
118
|
-
surface: { default: () =>
|
|
118
|
+
surface: { default: () => Pn.BANNER },
|
|
119
119
|
title: {},
|
|
120
120
|
description: {},
|
|
121
121
|
linkText: {},
|
|
@@ -151,15 +151,15 @@ var An = [
|
|
|
151
151
|
"secondaryAction"
|
|
152
152
|
],
|
|
153
153
|
setup(e, { emit: t }) {
|
|
154
|
-
let n = t, r =
|
|
154
|
+
let n = t, r = mn(), i = j(() => [
|
|
155
155
|
`s-ui-notification--type-${e.type}`,
|
|
156
156
|
`s-ui-notification--layout-${e.layout}`,
|
|
157
157
|
`s-ui-notification--surface-${e.surface}`,
|
|
158
158
|
{ "s-ui-notification--single-line": p.value }
|
|
159
|
-
]), a =
|
|
159
|
+
]), a = j(() => {
|
|
160
160
|
let t = {};
|
|
161
161
|
return e.width && (t.width = typeof e.width == "number" ? `${e.width}px` : e.width), e.maxWidth && (t.maxWidth = typeof e.maxWidth == "number" ? `${e.maxWidth}px` : e.maxWidth), t;
|
|
162
|
-
}), s =
|
|
162
|
+
}), s = j(() => e.type === Y.DANGER ? "alert" : "status"), l = j(() => In(e.type, e.icon)), u = j(() => e.type === Y.BILLING), d = j(() => !!(e.leftside === Z.AVATAR && e.avatar || e.leftside === Z.ICON)), f = j(() => !!(e.description || e.linkText || r.description)), p = j(() => e.layout === X.HORIZONTAL && !f.value), m = j(() => e.showPrimaryButton && (e.primaryButtonText || e.secondaryButtonText)), h = j(() => e.showPrimaryButton && (e.primaryButtonText || e.secondaryButtonText) || e.closable), g = j(() => e.type === Y.BILLING || e.prominentPrimaryButton ? T.MAJOR : T.OUTLINED), _ = j(() => e.type === Y.BILLING ? w.BILLING : w.MAIN), v = () => {
|
|
163
163
|
n("close");
|
|
164
164
|
}, y = () => {
|
|
165
165
|
n("linkClick");
|
|
@@ -168,35 +168,35 @@ var An = [
|
|
|
168
168
|
}, x = () => {
|
|
169
169
|
n("secondaryAction");
|
|
170
170
|
};
|
|
171
|
-
return (t, n) => (
|
|
172
|
-
class:
|
|
173
|
-
style:
|
|
171
|
+
return (t, n) => (V(), P("div", {
|
|
172
|
+
class: z(["s-ui-notification", i.value]),
|
|
173
|
+
style: B(a.value),
|
|
174
174
|
role: s.value
|
|
175
|
-
}, [
|
|
176
|
-
d.value ? (
|
|
175
|
+
}, [F("div", Rn, [
|
|
176
|
+
d.value ? (V(), P("div", zn, [e.leftside === K(Z).ICON ? (V(), P("div", Bn, [L(K(xn), {
|
|
177
177
|
name: l.value,
|
|
178
178
|
size: 16,
|
|
179
179
|
billing: u.value
|
|
180
|
-
}, null, 8, ["name", "billing"])])) : e.leftside ===
|
|
180
|
+
}, null, 8, ["name", "billing"])])) : e.leftside === K(Z).AVATAR && e.avatar ? (V(), M(K(c), {
|
|
181
181
|
key: 1,
|
|
182
182
|
name: e.avatar.name,
|
|
183
183
|
src: e.avatar.src,
|
|
184
184
|
badge: e.avatar.badge,
|
|
185
|
-
size:
|
|
185
|
+
size: K(o).SIZE_20,
|
|
186
186
|
showName: !1
|
|
187
187
|
}, null, 8, [
|
|
188
188
|
"name",
|
|
189
189
|
"src",
|
|
190
190
|
"badge",
|
|
191
191
|
"size"
|
|
192
|
-
])) :
|
|
193
|
-
|
|
194
|
-
|
|
192
|
+
])) : N("", !0)])) : N("", !0),
|
|
193
|
+
F("div", Vn, [
|
|
194
|
+
F("div", Hn, [F("span", { class: z(["s-ui-notification__title s-ui-typography-label-14-medium", { "s-ui-notification__title--truncated": e.truncateTitle }]) }, [W(t.$slots, "title", {}, () => [I(G(e.title), 1)])], 2), e.layout === K(X).VERTICAL && e.closable ? (V(), M(K(D), {
|
|
195
195
|
key: 0,
|
|
196
196
|
class: "s-ui-notification__close",
|
|
197
|
-
appearance:
|
|
198
|
-
variant:
|
|
199
|
-
size:
|
|
197
|
+
appearance: K(T).BARE,
|
|
198
|
+
variant: K(w).NEUTRAL,
|
|
199
|
+
size: K(E).SMALL,
|
|
200
200
|
"aria-label": e.closeAriaLabel,
|
|
201
201
|
icon: "closeMini",
|
|
202
202
|
onClick: v
|
|
@@ -205,87 +205,87 @@ var An = [
|
|
|
205
205
|
"variant",
|
|
206
206
|
"size",
|
|
207
207
|
"aria-label"
|
|
208
|
-
])) :
|
|
209
|
-
f.value ? (
|
|
208
|
+
])) : N("", !0)]),
|
|
209
|
+
f.value ? (V(), P("div", Un, [e.description || K(r).description ? (V(), P("span", Wn, [W(t.$slots, "description", {}, () => [I(G(e.description), 1)])])) : N("", !0), e.linkText ? (V(), M(K(D), {
|
|
210
210
|
key: 1,
|
|
211
211
|
class: "s-ui-notification__link",
|
|
212
|
-
appearance:
|
|
213
|
-
variant:
|
|
214
|
-
size:
|
|
212
|
+
appearance: K(T).BARE,
|
|
213
|
+
variant: K(w).MAIN,
|
|
214
|
+
size: K(E).SMALL,
|
|
215
215
|
iconRight: e.linkIconRight,
|
|
216
216
|
onClick: y
|
|
217
217
|
}, {
|
|
218
|
-
default: q(() => [
|
|
218
|
+
default: q(() => [I(G(e.linkText), 1)]),
|
|
219
219
|
_: 1
|
|
220
220
|
}, 8, [
|
|
221
221
|
"appearance",
|
|
222
222
|
"variant",
|
|
223
223
|
"size",
|
|
224
224
|
"iconRight"
|
|
225
|
-
])) :
|
|
226
|
-
e.layout ===
|
|
225
|
+
])) : N("", !0)])) : N("", !0),
|
|
226
|
+
e.layout === K(X).VERTICAL && m.value ? (V(), P("div", Gn, [e.showPrimaryButton && e.primaryButtonText ? (V(), M(K(D), {
|
|
227
227
|
key: 0,
|
|
228
228
|
appearance: g.value,
|
|
229
229
|
variant: _.value,
|
|
230
|
-
size:
|
|
230
|
+
size: K(E).SMALL,
|
|
231
231
|
onClick: b
|
|
232
232
|
}, {
|
|
233
|
-
default: q(() => [
|
|
233
|
+
default: q(() => [I(G(e.primaryButtonText), 1)]),
|
|
234
234
|
_: 1
|
|
235
235
|
}, 8, [
|
|
236
236
|
"appearance",
|
|
237
237
|
"variant",
|
|
238
238
|
"size"
|
|
239
|
-
])) :
|
|
239
|
+
])) : N("", !0), e.showPrimaryButton && e.secondaryButtonText ? (V(), M(K(D), {
|
|
240
240
|
key: 1,
|
|
241
|
-
appearance:
|
|
242
|
-
variant:
|
|
243
|
-
size:
|
|
241
|
+
appearance: K(T).BARE,
|
|
242
|
+
variant: K(w).NEUTRAL,
|
|
243
|
+
size: K(E).SMALL,
|
|
244
244
|
onClick: x
|
|
245
245
|
}, {
|
|
246
|
-
default: q(() => [
|
|
246
|
+
default: q(() => [I(G(e.secondaryButtonText), 1)]),
|
|
247
247
|
_: 1
|
|
248
248
|
}, 8, [
|
|
249
249
|
"appearance",
|
|
250
250
|
"variant",
|
|
251
251
|
"size"
|
|
252
|
-
])) :
|
|
252
|
+
])) : N("", !0)])) : N("", !0)
|
|
253
253
|
]),
|
|
254
|
-
e.layout ===
|
|
255
|
-
e.showPrimaryButton && e.primaryButtonText ? (
|
|
254
|
+
e.layout === K(X).HORIZONTAL && h.value ? (V(), P("div", Kn, [
|
|
255
|
+
e.showPrimaryButton && e.primaryButtonText ? (V(), M(K(D), {
|
|
256
256
|
key: 0,
|
|
257
257
|
appearance: g.value,
|
|
258
258
|
variant: _.value,
|
|
259
|
-
size:
|
|
259
|
+
size: K(E).SMALL,
|
|
260
260
|
onClick: b
|
|
261
261
|
}, {
|
|
262
|
-
default: q(() => [
|
|
262
|
+
default: q(() => [I(G(e.primaryButtonText), 1)]),
|
|
263
263
|
_: 1
|
|
264
264
|
}, 8, [
|
|
265
265
|
"appearance",
|
|
266
266
|
"variant",
|
|
267
267
|
"size"
|
|
268
|
-
])) :
|
|
269
|
-
e.showPrimaryButton && e.secondaryButtonText ? (
|
|
268
|
+
])) : N("", !0),
|
|
269
|
+
e.showPrimaryButton && e.secondaryButtonText ? (V(), M(K(D), {
|
|
270
270
|
key: 1,
|
|
271
|
-
appearance:
|
|
272
|
-
variant:
|
|
273
|
-
size:
|
|
271
|
+
appearance: K(T).OUTLINED,
|
|
272
|
+
variant: K(w).MAIN,
|
|
273
|
+
size: K(E).SMALL,
|
|
274
274
|
onClick: x
|
|
275
275
|
}, {
|
|
276
|
-
default: q(() => [
|
|
276
|
+
default: q(() => [I(G(e.secondaryButtonText), 1)]),
|
|
277
277
|
_: 1
|
|
278
278
|
}, 8, [
|
|
279
279
|
"appearance",
|
|
280
280
|
"variant",
|
|
281
281
|
"size"
|
|
282
|
-
])) :
|
|
283
|
-
e.layout ===
|
|
282
|
+
])) : N("", !0),
|
|
283
|
+
e.layout === K(X).HORIZONTAL && e.closable ? (V(), M(K(D), {
|
|
284
284
|
key: 2,
|
|
285
285
|
class: "s-ui-notification__close",
|
|
286
|
-
appearance:
|
|
287
|
-
variant:
|
|
288
|
-
size:
|
|
286
|
+
appearance: K(T).BARE,
|
|
287
|
+
variant: K(w).NEUTRAL,
|
|
288
|
+
size: K(E).SMALL,
|
|
289
289
|
"aria-label": e.closeAriaLabel,
|
|
290
290
|
icon: "closeMini",
|
|
291
291
|
onClick: v
|
|
@@ -294,11 +294,11 @@ var An = [
|
|
|
294
294
|
"variant",
|
|
295
295
|
"size",
|
|
296
296
|
"aria-label"
|
|
297
|
-
])) :
|
|
298
|
-
])) :
|
|
299
|
-
])], 14,
|
|
297
|
+
])) : N("", !0)
|
|
298
|
+
])) : N("", !0)
|
|
299
|
+
])], 14, Ln));
|
|
300
300
|
}
|
|
301
|
-
}),
|
|
301
|
+
}), Jn = /* @__PURE__ */ R({
|
|
302
302
|
__name: "SBanner",
|
|
303
303
|
props: {
|
|
304
304
|
type: { default: () => Y.INFO_ACCENT },
|
|
@@ -342,14 +342,14 @@ var An = [
|
|
|
342
342
|
"secondaryAction"
|
|
343
343
|
],
|
|
344
344
|
setup(e, { emit: t }) {
|
|
345
|
-
let n = t, r =
|
|
346
|
-
return (t, a) => (
|
|
347
|
-
class:
|
|
345
|
+
let n = t, r = mn(), i = j(() => ({ "s-ui-banner--elevated": e.elevated }));
|
|
346
|
+
return (t, a) => (V(), M(qn, {
|
|
347
|
+
class: z(["s-ui-banner", i.value]),
|
|
348
348
|
"data-qa": "ui:banner",
|
|
349
349
|
type: e.type,
|
|
350
350
|
layout: e.layout,
|
|
351
351
|
leftside: e.leftside,
|
|
352
|
-
surface:
|
|
352
|
+
surface: K(Pn).BANNER,
|
|
353
353
|
title: e.title,
|
|
354
354
|
description: e.description,
|
|
355
355
|
linkText: e.linkText,
|
|
@@ -368,13 +368,13 @@ var An = [
|
|
|
368
368
|
onLinkClick: a[1] ||= (e) => n("linkClick"),
|
|
369
369
|
onPrimaryAction: a[2] ||= (e) => n("primaryAction"),
|
|
370
370
|
onSecondaryAction: a[3] ||= (e) => n("secondaryAction")
|
|
371
|
-
},
|
|
371
|
+
}, an({ _: 2 }, [K(r).title ? {
|
|
372
372
|
name: "title",
|
|
373
|
-
fn: q(() => [
|
|
373
|
+
fn: q(() => [W(t.$slots, "title")]),
|
|
374
374
|
key: "0"
|
|
375
|
-
} : void 0,
|
|
375
|
+
} : void 0, K(r).description ? {
|
|
376
376
|
name: "description",
|
|
377
|
-
fn: q(() => [
|
|
377
|
+
fn: q(() => [W(t.$slots, "description")]),
|
|
378
378
|
key: "1"
|
|
379
379
|
} : void 0]), 1032, [
|
|
380
380
|
"class",
|
|
@@ -398,7 +398,7 @@ var An = [
|
|
|
398
398
|
"truncateTitle"
|
|
399
399
|
]));
|
|
400
400
|
}
|
|
401
|
-
}),
|
|
401
|
+
}), Yn = /* @__PURE__ */ R({
|
|
402
402
|
__name: "SToast",
|
|
403
403
|
props: {
|
|
404
404
|
type: { default: () => Y.INFO_ACCENT },
|
|
@@ -433,14 +433,14 @@ var An = [
|
|
|
433
433
|
"secondaryAction"
|
|
434
434
|
],
|
|
435
435
|
setup(e, { emit: t }) {
|
|
436
|
-
let n = t, r =
|
|
437
|
-
return (t, a) => (
|
|
436
|
+
let n = t, r = mn(), i = j(() => e.width ?? 360);
|
|
437
|
+
return (t, a) => (V(), M(qn, {
|
|
438
438
|
class: "s-ui-toast",
|
|
439
439
|
"data-qa": "ui:toast",
|
|
440
440
|
type: e.type,
|
|
441
441
|
layout: e.layout,
|
|
442
442
|
leftside: e.leftside,
|
|
443
|
-
surface:
|
|
443
|
+
surface: K(Pn).TOAST,
|
|
444
444
|
title: e.title,
|
|
445
445
|
description: e.description,
|
|
446
446
|
linkText: e.linkText,
|
|
@@ -457,13 +457,13 @@ var An = [
|
|
|
457
457
|
onLinkClick: a[1] ||= (e) => n("linkClick"),
|
|
458
458
|
onPrimaryAction: a[2] ||= (e) => n("primaryAction"),
|
|
459
459
|
onSecondaryAction: a[3] ||= (e) => n("secondaryAction")
|
|
460
|
-
},
|
|
460
|
+
}, an({ _: 2 }, [K(r).title ? {
|
|
461
461
|
name: "title",
|
|
462
|
-
fn: q(() => [
|
|
462
|
+
fn: q(() => [W(t.$slots, "title")]),
|
|
463
463
|
key: "0"
|
|
464
|
-
} : void 0,
|
|
464
|
+
} : void 0, K(r).description ? {
|
|
465
465
|
name: "description",
|
|
466
|
-
fn: q(() => [
|
|
466
|
+
fn: q(() => [W(t.$slots, "description")]),
|
|
467
467
|
key: "1"
|
|
468
468
|
} : void 0]), 1032, [
|
|
469
469
|
"type",
|
|
@@ -484,13 +484,13 @@ var An = [
|
|
|
484
484
|
"truncateTitle"
|
|
485
485
|
]));
|
|
486
486
|
}
|
|
487
|
-
}),
|
|
487
|
+
}), Xn = .05, Zn = [
|
|
488
488
|
"data-mounted",
|
|
489
489
|
"data-front",
|
|
490
490
|
"data-expanded",
|
|
491
491
|
"data-removed",
|
|
492
492
|
"data-visible"
|
|
493
|
-
],
|
|
493
|
+
], Qn = /* @__PURE__ */ R({
|
|
494
494
|
__name: "SToastProviderToast",
|
|
495
495
|
props: {
|
|
496
496
|
index: {},
|
|
@@ -503,7 +503,7 @@ var An = [
|
|
|
503
503
|
},
|
|
504
504
|
emits: ["heightChange"],
|
|
505
505
|
setup(e, { emit: t }) {
|
|
506
|
-
let n = t, r =
|
|
506
|
+
let n = t, r = H(null), i = H(0), a = H(!1), o = j(() => e.index === 0), s = j(() => 1 - e.index * Xn), c = j(() => ({
|
|
507
507
|
"--s-ui-toast-provider-toasts-before": String(e.index),
|
|
508
508
|
"--s-ui-toast-provider-lift-amount": `${e.stackPeek * -1}px`,
|
|
509
509
|
"--s-ui-toast-provider-front-toast-height": `${e.frontToastHeight}px`,
|
|
@@ -512,7 +512,7 @@ var An = [
|
|
|
512
512
|
"--s-ui-toast-provider-stack-scale": String(s.value),
|
|
513
513
|
zIndex: String(1e3 - e.index)
|
|
514
514
|
}));
|
|
515
|
-
return
|
|
515
|
+
return An(r, (e) => {
|
|
516
516
|
let t = e[0]?.contentRect.height ?? 0;
|
|
517
517
|
t !== i.value && (i.value = t, n("heightChange", t));
|
|
518
518
|
}), ln(() => {
|
|
@@ -521,62 +521,62 @@ var An = [
|
|
|
521
521
|
a.value = !0;
|
|
522
522
|
});
|
|
523
523
|
});
|
|
524
|
-
}), (t, n) => (
|
|
524
|
+
}), (t, n) => (V(), P("div", {
|
|
525
525
|
class: "s-ui-toast-provider__toast",
|
|
526
526
|
"data-mounted": a.value,
|
|
527
527
|
"data-front": o.value,
|
|
528
528
|
"data-expanded": e.expanded,
|
|
529
529
|
"data-removed": e.removed,
|
|
530
530
|
"data-visible": e.visible,
|
|
531
|
-
style:
|
|
532
|
-
}, [
|
|
531
|
+
style: B(c.value)
|
|
532
|
+
}, [F("div", {
|
|
533
533
|
ref_key: "contentRef",
|
|
534
534
|
ref: r,
|
|
535
535
|
class: "s-ui-toast-provider__toast-content"
|
|
536
|
-
}, [
|
|
536
|
+
}, [W(t.$slots, "default")], 512)], 12, Zn));
|
|
537
537
|
}
|
|
538
|
-
}),
|
|
539
|
-
let n =
|
|
540
|
-
return n > 1e4 ?
|
|
541
|
-
}, Q = dn([]), $ = /* @__PURE__ */ new Map(),
|
|
538
|
+
}), $n = 4e3, er = 1e4, tr = 50, nr = (e, t) => {
|
|
539
|
+
let n = $n + (e.length + (t?.length ?? 0)) * 50;
|
|
540
|
+
return n > 1e4 ? er : n;
|
|
541
|
+
}, Q = dn([]), $ = /* @__PURE__ */ new Map(), rr = 0, ir = {
|
|
542
542
|
type: Y.INFO_ACCENT,
|
|
543
543
|
layout: X.HORIZONTAL,
|
|
544
544
|
leftside: Z.ICON,
|
|
545
545
|
showPrimaryButton: !1,
|
|
546
546
|
closable: !0
|
|
547
|
-
},
|
|
547
|
+
}, ar = () => `toast-${Date.now()}-${++rr}`, or = (e) => {
|
|
548
548
|
let t = $.get(e);
|
|
549
549
|
t && (window.clearTimeout(t), $.delete(e));
|
|
550
|
-
},
|
|
551
|
-
|
|
552
|
-
let t = e.duration === void 0 ?
|
|
550
|
+
}, sr = (e) => {
|
|
551
|
+
or(e.id);
|
|
552
|
+
let t = e.duration === void 0 ? nr(e.title, e.description) : e.duration;
|
|
553
553
|
if (t > 0) {
|
|
554
554
|
let n = window.setTimeout(() => {
|
|
555
|
-
|
|
555
|
+
cr(e.id);
|
|
556
556
|
}, t);
|
|
557
557
|
$.set(e.id, n);
|
|
558
558
|
}
|
|
559
|
-
},
|
|
559
|
+
}, cr = (e) => {
|
|
560
560
|
let t = Q.value.findIndex((t) => t.id === e);
|
|
561
561
|
if (t === -1) return;
|
|
562
562
|
let n = Q.value[t];
|
|
563
|
-
n && (
|
|
564
|
-
},
|
|
563
|
+
n && (or(e), n.onClose && n.onClose(), Q.value = Q.value.filter((t) => t.id !== e));
|
|
564
|
+
}, lr = () => {
|
|
565
565
|
$.forEach((e) => window.clearTimeout(e)), $.clear(), Q.value = [];
|
|
566
|
-
},
|
|
567
|
-
|
|
568
|
-
}), e.slice(0, 3)),
|
|
569
|
-
let t = e.id ??
|
|
570
|
-
...
|
|
566
|
+
}, ur = (e) => e.length <= 3 ? e : (e.slice(3).forEach((e) => {
|
|
567
|
+
or(e.id);
|
|
568
|
+
}), e.slice(0, 3)), dr = (e) => {
|
|
569
|
+
let t = e.id ?? ar(), n = {
|
|
570
|
+
...ir,
|
|
571
571
|
...e,
|
|
572
572
|
id: t
|
|
573
573
|
}, r = Q.value.findIndex((e) => e.id === t);
|
|
574
574
|
if (r > -1) {
|
|
575
575
|
let e = [...Q.value];
|
|
576
|
-
e[r] = n, Q.value =
|
|
577
|
-
} else Q.value =
|
|
578
|
-
return
|
|
579
|
-
},
|
|
576
|
+
e[r] = n, Q.value = ur(e);
|
|
577
|
+
} else Q.value = ur([n, ...Q.value]);
|
|
578
|
+
return sr(n), t;
|
|
579
|
+
}, fr = (e, t) => {
|
|
580
580
|
let n = Q.value.findIndex((t) => t.id === e);
|
|
581
581
|
if (n === -1) return;
|
|
582
582
|
let r = Q.value[n];
|
|
@@ -586,142 +586,166 @@ var An = [
|
|
|
586
586
|
...t,
|
|
587
587
|
id: r.id
|
|
588
588
|
}, a = [...Q.value];
|
|
589
|
-
a[n] = i, Q.value = a,
|
|
590
|
-
},
|
|
589
|
+
a[n] = i, Q.value = a, sr(i);
|
|
590
|
+
}, pr = () => ({
|
|
591
591
|
toasts: Q,
|
|
592
|
-
show:
|
|
593
|
-
hide:
|
|
594
|
-
hideAll:
|
|
595
|
-
update:
|
|
596
|
-
}),
|
|
592
|
+
show: dr,
|
|
593
|
+
hide: cr,
|
|
594
|
+
hideAll: lr,
|
|
595
|
+
update: fr
|
|
596
|
+
}), mr = {
|
|
597
|
+
class: "s-ui-toast-provider__announcer",
|
|
598
|
+
role: "status",
|
|
599
|
+
"aria-atomic": "true"
|
|
600
|
+
}, hr = {
|
|
601
|
+
class: "s-ui-toast-provider__announcer",
|
|
602
|
+
role: "alert",
|
|
603
|
+
"aria-atomic": "true"
|
|
604
|
+
}, gr = /* @__PURE__ */ R({
|
|
597
605
|
__name: "SToastProvider",
|
|
598
606
|
setup(e) {
|
|
599
|
-
let { toasts: t, hide: n } =
|
|
600
|
-
|
|
601
|
-
|
|
607
|
+
let { toasts: t, hide: n } = pr(), r = j(() => t.value.slice(0, 3)), i = H(""), a = H(""), o = /* @__PURE__ */ new Set(), s = (e) => e.flatMap((e) => [e.title, e.description ?? ""]).filter(Boolean).join(". "), c = async (e, t) => {
|
|
608
|
+
t && (e.value = "", await cn(), e.value = t);
|
|
609
|
+
};
|
|
610
|
+
gn(r, async (e) => {
|
|
611
|
+
let n = e.filter((e) => !o.has(e.id)), r = new Set(t.value.map((e) => e.id));
|
|
612
|
+
o.forEach((e) => {
|
|
613
|
+
r.has(e) || o.delete(e);
|
|
614
|
+
}), n.forEach((e) => o.add(e.id));
|
|
615
|
+
let l = n.filter((e) => e.type === Y.DANGER), u = n.filter((e) => e.type !== Y.DANGER);
|
|
616
|
+
await Promise.all([c(a, s(l)), c(i, s(u))]);
|
|
617
|
+
});
|
|
618
|
+
let l = H(!1), u = dn({}), d = H(/* @__PURE__ */ new Set()), f = j(() => t.value[0] ?? null), p = j(() => f.value ? u.value[f.value.id] ?? 0 : 0), m = H(0), h = j(() => p.value > 0 ? p.value : m.value);
|
|
619
|
+
gn(p, (e) => {
|
|
620
|
+
e > 0 && (m.value = e);
|
|
602
621
|
});
|
|
603
|
-
let
|
|
622
|
+
let g = j(() => {
|
|
604
623
|
if (r.value.length === 0) return {};
|
|
605
|
-
if (
|
|
606
|
-
let r =
|
|
624
|
+
if (l.value) return { height: `${r.value.reduce((e, t, n) => {
|
|
625
|
+
let r = u.value[t.id] ?? 0, i = n > 0 ? 4 : 0;
|
|
607
626
|
return e + r + i;
|
|
608
627
|
}, 0)}px` };
|
|
609
628
|
let e = Math.min(r.value.length - 1, 2) * 10;
|
|
610
|
-
return { height: `${
|
|
611
|
-
}),
|
|
629
|
+
return { height: `${h.value + e}px` };
|
|
630
|
+
}), _ = (e) => {
|
|
612
631
|
let t = 0;
|
|
613
632
|
for (let n = 0; n < e; n += 1) {
|
|
614
633
|
let e = r.value[n];
|
|
615
|
-
e && (t += (
|
|
634
|
+
e && (t += (u.value[e.id] ?? 0) + 4);
|
|
616
635
|
}
|
|
617
636
|
return t;
|
|
618
|
-
},
|
|
619
|
-
r.value.length > 1 && (
|
|
620
|
-
},
|
|
621
|
-
|
|
622
|
-
},
|
|
623
|
-
|
|
624
|
-
...
|
|
637
|
+
}, v = (e) => d.value.has(e), y = () => {
|
|
638
|
+
r.value.length > 1 && (l.value = !0);
|
|
639
|
+
}, b = () => {
|
|
640
|
+
l.value = !1;
|
|
641
|
+
}, x = (e, t) => {
|
|
642
|
+
u.value = {
|
|
643
|
+
...u.value,
|
|
625
644
|
[e]: t
|
|
626
645
|
};
|
|
627
|
-
},
|
|
628
|
-
|
|
646
|
+
}, S = (e) => {
|
|
647
|
+
d.value.has(e) || (d.value = new Set([...d.value, e]), window.setTimeout(() => {
|
|
629
648
|
n(e);
|
|
630
|
-
let t = new Set(
|
|
631
|
-
t.delete(e),
|
|
632
|
-
let r = { ...
|
|
633
|
-
delete r[e],
|
|
649
|
+
let t = new Set(d.value);
|
|
650
|
+
t.delete(e), d.value = t;
|
|
651
|
+
let r = { ...u.value };
|
|
652
|
+
delete r[e], u.value = r;
|
|
634
653
|
}, 200));
|
|
635
|
-
},
|
|
654
|
+
}, C = (e) => {
|
|
636
655
|
e.onLinkClick && e.onLinkClick();
|
|
637
|
-
},
|
|
656
|
+
}, w = (e) => {
|
|
638
657
|
e.onPrimaryAction && e.onPrimaryAction(e.id);
|
|
639
|
-
},
|
|
658
|
+
}, T = (e) => {
|
|
640
659
|
e.onSecondaryAction && e.onSecondaryAction();
|
|
641
660
|
};
|
|
642
|
-
return (e, t) => (
|
|
661
|
+
return (e, t) => (V(), M(rn, { to: "body" }, [F("div", {
|
|
643
662
|
class: "s-ui-toast-provider",
|
|
644
|
-
onMouseenter:
|
|
645
|
-
onMouseleave:
|
|
646
|
-
}, [
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
}, [(B(!0), N(k, null, H(r.value, (t, n) => (B(), j(Zn, {
|
|
651
|
-
key: t.id,
|
|
652
|
-
index: n,
|
|
653
|
-
expanded: i.value,
|
|
654
|
-
"front-toast-height": u.value,
|
|
655
|
-
"stack-peek": G(10),
|
|
656
|
-
removed: p(t.id),
|
|
657
|
-
visible: n < G(3),
|
|
658
|
-
"offset-y": f(n),
|
|
659
|
-
onHeightChange: (e) => g(t.id, e)
|
|
660
|
-
}, {
|
|
661
|
-
default: q(() => [U(e.$slots, "toast", { toast: t }, () => [t.component ? (B(), j(un(t.component), cn({
|
|
663
|
+
onMouseenter: y,
|
|
664
|
+
onMouseleave: b
|
|
665
|
+
}, [
|
|
666
|
+
F("div", mr, G(i.value), 1),
|
|
667
|
+
F("div", hr, G(a.value), 1),
|
|
668
|
+
r.value.length > 0 ? (V(), P("div", {
|
|
662
669
|
key: 0,
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
670
|
+
class: "s-ui-toast-provider__list",
|
|
671
|
+
style: B(g.value)
|
|
672
|
+
}, [(V(!0), P(A, null, U(r.value, (t, n) => (V(), M(Qn, {
|
|
673
|
+
key: t.id,
|
|
674
|
+
index: n,
|
|
675
|
+
expanded: l.value,
|
|
676
|
+
"front-toast-height": h.value,
|
|
677
|
+
"stack-peek": K(10),
|
|
678
|
+
removed: v(t.id),
|
|
679
|
+
visible: n < K(3),
|
|
680
|
+
"offset-y": _(n),
|
|
681
|
+
onHeightChange: (e) => x(t.id, e)
|
|
682
|
+
}, {
|
|
683
|
+
default: q(() => [W(e.$slots, "toast", { toast: t }, () => [t.component ? (V(), M(un(t.component), sn({
|
|
684
|
+
key: 0,
|
|
685
|
+
ref_for: !0
|
|
686
|
+
}, t.componentProps, {
|
|
687
|
+
toast: t,
|
|
688
|
+
onClose: (e) => S(t.id)
|
|
689
|
+
}), null, 16, ["toast", "onClose"])) : (V(), M(K(Yn), {
|
|
690
|
+
key: 1,
|
|
691
|
+
role: "presentation",
|
|
692
|
+
type: t.type,
|
|
693
|
+
layout: t.layout,
|
|
694
|
+
leftside: t.leftside,
|
|
695
|
+
title: t.title,
|
|
696
|
+
description: t.description,
|
|
697
|
+
linkText: t.linkText,
|
|
698
|
+
primaryButtonText: t.primaryButtonText,
|
|
699
|
+
secondaryButtonText: t.secondaryButtonText,
|
|
700
|
+
showPrimaryButton: t.showPrimaryButton,
|
|
701
|
+
closable: t.closable,
|
|
702
|
+
closeAriaLabel: t.closeAriaLabel,
|
|
703
|
+
icon: t.icon,
|
|
704
|
+
avatar: t.avatar,
|
|
705
|
+
width: t.width,
|
|
706
|
+
truncateTitle: t.truncateTitle,
|
|
707
|
+
onClose: (e) => S(t.id),
|
|
708
|
+
onLinkClick: (e) => C(t),
|
|
709
|
+
onPrimaryAction: (e) => w(t),
|
|
710
|
+
onSecondaryAction: (e) => T(t)
|
|
711
|
+
}, null, 8, [
|
|
712
|
+
"type",
|
|
713
|
+
"layout",
|
|
714
|
+
"leftside",
|
|
715
|
+
"title",
|
|
716
|
+
"description",
|
|
717
|
+
"linkText",
|
|
718
|
+
"primaryButtonText",
|
|
719
|
+
"secondaryButtonText",
|
|
720
|
+
"showPrimaryButton",
|
|
721
|
+
"closable",
|
|
722
|
+
"closeAriaLabel",
|
|
723
|
+
"icon",
|
|
724
|
+
"avatar",
|
|
725
|
+
"width",
|
|
726
|
+
"truncateTitle",
|
|
727
|
+
"onClose",
|
|
728
|
+
"onLinkClick",
|
|
729
|
+
"onPrimaryAction",
|
|
730
|
+
"onSecondaryAction"
|
|
731
|
+
]))])]),
|
|
732
|
+
_: 2
|
|
733
|
+
}, 1032, [
|
|
734
|
+
"index",
|
|
735
|
+
"expanded",
|
|
736
|
+
"front-toast-height",
|
|
737
|
+
"stack-peek",
|
|
738
|
+
"removed",
|
|
739
|
+
"visible",
|
|
740
|
+
"offset-y",
|
|
741
|
+
"onHeightChange"
|
|
742
|
+
]))), 128))], 4)) : N("", !0)
|
|
743
|
+
], 32)]));
|
|
720
744
|
}
|
|
721
|
-
}),
|
|
745
|
+
}), _r = 4, vr = 4, yr = 1, br = "400 12px var(--s-ui-font-family-label)", xr = 4, Sr = .5, Cr = (e, t, n, r, i, a) => {
|
|
722
746
|
let o = Math.min(a, r / 2, i / 2);
|
|
723
747
|
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();
|
|
724
|
-
},
|
|
748
|
+
}, wr = (e) => {
|
|
725
749
|
let t = e.getProps([
|
|
726
750
|
"x",
|
|
727
751
|
"y",
|
|
@@ -732,37 +756,37 @@ var An = [
|
|
|
732
756
|
width: Math.abs(n - i),
|
|
733
757
|
centerY: r
|
|
734
758
|
};
|
|
735
|
-
},
|
|
736
|
-
let a =
|
|
759
|
+
}, Tr = (e, t, n, r, i) => {
|
|
760
|
+
let a = wr(t);
|
|
737
761
|
if (!a) return;
|
|
738
|
-
let o = i ? i(n) : `${n}`, s = e.measureText(o).width +
|
|
739
|
-
if (a.width < s +
|
|
762
|
+
let o = i ? i(n) : `${n}`, s = e.measureText(o).width + _r * 2;
|
|
763
|
+
if (a.width < s + xr * 2) return;
|
|
740
764
|
let c = a.left + a.width / 2;
|
|
741
|
-
|
|
742
|
-
},
|
|
765
|
+
Cr(e, c - s / 2, a.centerY - 20 / 2, s, 20, vr), e.fillStyle = r.background, e.fill(), e.lineWidth = yr, e.strokeStyle = r.border, e.stroke(), e.fillStyle = r.text, e.fillText(o, c, a.centerY);
|
|
766
|
+
}, Er = (e, t) => ({
|
|
743
767
|
id: "segmentedBarBadge",
|
|
744
768
|
afterDatasetsDraw(n) {
|
|
745
769
|
let r = {
|
|
746
|
-
background: O
|
|
747
|
-
border: O
|
|
748
|
-
text: O
|
|
770
|
+
background: k(O.pieBadgeBackground, e),
|
|
771
|
+
border: k(O.pieBadgeBorder, e),
|
|
772
|
+
text: k(O.pieBadgeText, e)
|
|
749
773
|
}, { ctx: i } = n;
|
|
750
|
-
i.save(), i.font =
|
|
751
|
-
let a =
|
|
774
|
+
i.save(), i.font = br, i.textAlign = "center", i.textBaseline = "middle";
|
|
775
|
+
let a = mt(n);
|
|
752
776
|
n.data.datasets.forEach((e, o) => {
|
|
753
777
|
let s = n.getDatasetMeta(o)?.data[0], c = e.data[0];
|
|
754
|
-
s && typeof c == "number" && c > 0 && (i.globalAlpha = a !== null && a.datasetIndex !== o ?
|
|
778
|
+
s && typeof c == "number" && c > 0 && (i.globalAlpha = a !== null && a.datasetIndex !== o ? Sr : 1, Tr(i, s, c, r, t));
|
|
755
779
|
}), i.restore();
|
|
756
780
|
}
|
|
757
|
-
}),
|
|
781
|
+
}), Dr = 40, Or = 4, kr = 1, Ar = [
|
|
758
782
|
"mousemove",
|
|
759
783
|
"mouseout",
|
|
760
784
|
"click",
|
|
761
785
|
"touchstart",
|
|
762
786
|
"touchmove"
|
|
763
|
-
],
|
|
787
|
+
], jr = ({ segments: e, segmentColors: t, colorHostElement: n, skeleton: r = !1, formatValue: i, onSegmentClick: a, onSegmentHover: o, resolveTooltipLines: s }) => {
|
|
764
788
|
if (e.length === 0) return null;
|
|
765
|
-
let c =
|
|
789
|
+
let c = k("--s-ui-color-surface-primary", n), l = e.reduce((e, t) => e + t.value, 0), u = pt({
|
|
766
790
|
kind: "series",
|
|
767
791
|
skeleton: r,
|
|
768
792
|
colorHostElement: n,
|
|
@@ -780,12 +804,12 @@ var An = [
|
|
|
780
804
|
hoverBackgroundColor: t[n],
|
|
781
805
|
borderColor: c,
|
|
782
806
|
borderWidth: {
|
|
783
|
-
left:
|
|
784
|
-
right:
|
|
807
|
+
left: kr,
|
|
808
|
+
right: kr
|
|
785
809
|
},
|
|
786
810
|
borderSkipped: !1,
|
|
787
|
-
borderRadius:
|
|
788
|
-
barThickness:
|
|
811
|
+
borderRadius: Or,
|
|
812
|
+
barThickness: Dr,
|
|
789
813
|
stack: "track"
|
|
790
814
|
}))
|
|
791
815
|
},
|
|
@@ -794,7 +818,7 @@ var An = [
|
|
|
794
818
|
responsive: !0,
|
|
795
819
|
maintainAspectRatio: !1,
|
|
796
820
|
layout: { padding: 0 },
|
|
797
|
-
events: r ? [] :
|
|
821
|
+
events: r ? [] : Ar,
|
|
798
822
|
onHover: u.onHover,
|
|
799
823
|
onClick: u.onClick,
|
|
800
824
|
hover: r ? void 0 : {
|
|
@@ -806,9 +830,9 @@ var An = [
|
|
|
806
830
|
legend: { display: !1 },
|
|
807
831
|
tooltip: {
|
|
808
832
|
enabled: !r && s !== void 0,
|
|
809
|
-
backgroundColor: O
|
|
810
|
-
titleColor: O
|
|
811
|
-
bodyColor: O
|
|
833
|
+
backgroundColor: k(O.tooltipBackground, n),
|
|
834
|
+
titleColor: k(O.tooltipText, n),
|
|
835
|
+
bodyColor: k(O.tooltipText, n),
|
|
812
836
|
displayColors: !1,
|
|
813
837
|
callbacks: {
|
|
814
838
|
title: () => "",
|
|
@@ -829,9 +853,9 @@ var An = [
|
|
|
829
853
|
}
|
|
830
854
|
}
|
|
831
855
|
},
|
|
832
|
-
plugins: [...r ? [] : [
|
|
856
|
+
plugins: [...r ? [] : [Er(n, i)], ...u.plugins]
|
|
833
857
|
};
|
|
834
|
-
},
|
|
858
|
+
}, Mr = [
|
|
835
859
|
4,
|
|
836
860
|
1,
|
|
837
861
|
2,
|
|
@@ -843,9 +867,9 @@ var An = [
|
|
|
843
867
|
].map((e, t) => ({
|
|
844
868
|
label: `Series ${t + 1}`,
|
|
845
869
|
value: e
|
|
846
|
-
})),
|
|
870
|
+
})), Nr = /* @__PURE__ */ R({
|
|
847
871
|
__name: "SChartSegmentedBar",
|
|
848
|
-
props: /*@__PURE__*/
|
|
872
|
+
props: /*@__PURE__*/ on({
|
|
849
873
|
segments: { default: () => [] },
|
|
850
874
|
showLegend: {
|
|
851
875
|
type: Boolean,
|
|
@@ -864,7 +888,7 @@ var An = [
|
|
|
864
888
|
type: Boolean,
|
|
865
889
|
default: !1
|
|
866
890
|
},
|
|
867
|
-
legendSize: { default: () =>
|
|
891
|
+
legendSize: { default: () => _t.SMALL },
|
|
868
892
|
formatTooltip: { type: Function }
|
|
869
893
|
}, {
|
|
870
894
|
selectedIndex: { default: null },
|
|
@@ -872,31 +896,31 @@ var An = [
|
|
|
872
896
|
selectedIndexes: { default: () => [] },
|
|
873
897
|
selectedIndexesModifiers: {}
|
|
874
898
|
}),
|
|
875
|
-
emits: /*@__PURE__*/
|
|
899
|
+
emits: /*@__PURE__*/ on(["segmentClick"], ["update:selectedIndex", "update:selectedIndexes"]),
|
|
876
900
|
setup(e, { expose: t, emit: n }) {
|
|
877
|
-
let r = pn(e, "selectedIndex"), i = pn(e, "selectedIndexes"), a = n, o =
|
|
901
|
+
let r = pn(e, "selectedIndex"), i = pn(e, "selectedIndexes"), a = n, o = gt, s = hn("chartRootRef"), c = hn("chartCanvasRef"), l = j(() => e.loading ? Mr : e.segments), u = j(() => l.value.map((t, n) => Nn(n, s.value, t.fillColor, e.loading))), d = j(() => l.value.map((e, t) => ({
|
|
878
902
|
segment: e,
|
|
879
903
|
segmentIndex: t
|
|
880
|
-
})).filter(({ segment: e }) => e.value > 0)), f =
|
|
904
|
+
})).filter(({ segment: e }) => e.value > 0)), f = j(() => d.value.map(({ segment: e }) => e)), p = j(() => d.value.map(({ segmentIndex: e }) => _.value && !i.value.includes(e) ? dt(s.value) : u.value[e] ?? "")), m = j(() => {
|
|
881
905
|
let e = /* @__PURE__ */ new Map();
|
|
882
906
|
return d.value.forEach(({ segmentIndex: t }, n) => {
|
|
883
907
|
e.set(t, n);
|
|
884
908
|
}), e;
|
|
885
|
-
}), h =
|
|
909
|
+
}), h = H(null), g = (t) => {
|
|
886
910
|
if (e.multiple) {
|
|
887
911
|
i.value = i.value.includes(t) ? i.value.filter((e) => e !== t) : [...i.value, t];
|
|
888
912
|
return;
|
|
889
913
|
}
|
|
890
914
|
r.value = r.value === t ? null : t;
|
|
891
|
-
}, _ =
|
|
915
|
+
}, _ = j(() => e.selectable && e.multiple && i.value.length > 0), v = (t) => {
|
|
892
916
|
let n = d.value[t];
|
|
893
917
|
n && (a("segmentClick", n.segmentIndex, n.segment), e.selectable && g(n.segmentIndex));
|
|
894
918
|
}, y = (e) => {
|
|
895
919
|
h.value = e === null ? null : d.value[e]?.segmentIndex ?? null;
|
|
896
|
-
}, b =
|
|
920
|
+
}, b = Ot("onSegmentClick"), x = (t) => {
|
|
897
921
|
let n = d.value[t];
|
|
898
922
|
return n && e.formatTooltip ? e.formatTooltip(n.segment, n.segmentIndex) : [];
|
|
899
|
-
},
|
|
923
|
+
}, S = j(() => e.selectable ? e.multiple ? h.value : h.value ?? r.value : null), C = j(() => _.value && h.value === null ? i.value : []), w = j(() => jr({
|
|
900
924
|
segments: f.value,
|
|
901
925
|
segmentColors: p.value,
|
|
902
926
|
colorHostElement: s.value,
|
|
@@ -905,50 +929,50 @@ var An = [
|
|
|
905
929
|
onSegmentClick: e.selectable || b() ? v : void 0,
|
|
906
930
|
onSegmentHover: e.selectable ? y : void 0,
|
|
907
931
|
resolveTooltipLines: e.formatTooltip ? x : void 0
|
|
908
|
-
})),
|
|
932
|
+
})), T = j(() => l.value.map((e, t) => ({
|
|
909
933
|
label: e.label,
|
|
910
934
|
color: u.value[t] ?? ""
|
|
911
|
-
}))), { chartInstance:
|
|
935
|
+
}))), { chartInstance: E } = ft({
|
|
912
936
|
canvasRef: c,
|
|
913
|
-
config:
|
|
914
|
-
enabled:
|
|
915
|
-
}), { exportImage:
|
|
916
|
-
chartInstance:
|
|
937
|
+
config: w,
|
|
938
|
+
enabled: j(() => e.loading || f.value.length > 0)
|
|
939
|
+
}), { exportImage: D, handleLegendItemHover: ee, pinElement: te } = ht({
|
|
940
|
+
chartInstance: E,
|
|
917
941
|
canvasRef: c,
|
|
918
942
|
colorHostElement: s
|
|
919
|
-
}),
|
|
920
|
-
e.selectable && (h.value = t),
|
|
943
|
+
}), ne = (e) => e === null ? null : m.value.get(e) ?? null, re = (t) => {
|
|
944
|
+
e.selectable && (h.value = t), ee(ne(t));
|
|
921
945
|
};
|
|
922
|
-
return
|
|
923
|
-
e.selectable && !e.loading && ne(
|
|
924
|
-
}), t({ exportImage:
|
|
946
|
+
return gn([E, r], () => {
|
|
947
|
+
e.selectable && !e.loading && te(ne(r.value));
|
|
948
|
+
}), t({ exportImage: D }), (t, n) => (V(), P("div", {
|
|
925
949
|
ref_key: "chartRootRef",
|
|
926
950
|
ref: s,
|
|
927
|
-
class:
|
|
951
|
+
class: z(["s-ui-chart-segmented-bar", { "s-ui-chart-segmented-bar--skeleton": e.loading }]),
|
|
928
952
|
"data-qa": "ui:chart-segmented-bar"
|
|
929
|
-
}, [
|
|
953
|
+
}, [F("div", {
|
|
930
954
|
class: "s-ui-chart-segmented-bar__canvas-wrap",
|
|
931
955
|
onMouseleave: n[0] ||= (e) => y(null)
|
|
932
|
-
}, [
|
|
956
|
+
}, [L(K(ut), {
|
|
933
957
|
loading: e.loading,
|
|
934
|
-
type:
|
|
958
|
+
type: K(o).CARTESIAN
|
|
935
959
|
}, {
|
|
936
|
-
default: q(() => [
|
|
960
|
+
default: q(() => [F("canvas", {
|
|
937
961
|
ref_key: "chartCanvasRef",
|
|
938
962
|
ref: c,
|
|
939
963
|
class: "s-ui-chart-segmented-bar__canvas"
|
|
940
964
|
}, null, 512)]),
|
|
941
965
|
_: 1
|
|
942
|
-
}, 8, ["loading", "type"])], 32), e.showLegend &&
|
|
966
|
+
}, 8, ["loading", "type"])], 32), e.showLegend && T.value.length ? (V(), M(K(vt), {
|
|
943
967
|
key: 0,
|
|
944
|
-
items:
|
|
968
|
+
items: T.value,
|
|
945
969
|
disabled: e.loading,
|
|
946
970
|
interactive: !e.loading,
|
|
947
971
|
size: e.legendSize,
|
|
948
972
|
selectable: e.selectable && !e.loading,
|
|
949
|
-
"active-index":
|
|
950
|
-
"active-indexes":
|
|
951
|
-
onItemHover:
|
|
973
|
+
"active-index": S.value,
|
|
974
|
+
"active-indexes": C.value,
|
|
975
|
+
onItemHover: re,
|
|
952
976
|
onItemClick: g
|
|
953
977
|
}, null, 8, [
|
|
954
978
|
"items",
|
|
@@ -958,30 +982,30 @@ var An = [
|
|
|
958
982
|
"selectable",
|
|
959
983
|
"active-index",
|
|
960
984
|
"active-indexes"
|
|
961
|
-
])) :
|
|
985
|
+
])) : N("", !0)], 2));
|
|
962
986
|
}
|
|
963
|
-
}),
|
|
987
|
+
}), Pr = {
|
|
964
988
|
key: 0,
|
|
965
989
|
class: "s-ui-chart-widget__header"
|
|
966
|
-
},
|
|
990
|
+
}, Fr = {
|
|
967
991
|
key: 0,
|
|
968
992
|
class: "s-ui-chart-widget__title-skeleton",
|
|
969
993
|
"aria-hidden": "true"
|
|
970
|
-
},
|
|
994
|
+
}, Ir = {
|
|
971
995
|
key: 1,
|
|
972
996
|
class: "s-ui-chart-widget__heading"
|
|
973
|
-
},
|
|
997
|
+
}, Lr = { class: "s-ui-chart-widget__title s-ui-typography-label-16-medium" }, Rr = {
|
|
974
998
|
key: 0,
|
|
975
999
|
class: "s-ui-chart-widget__subtitle s-ui-typography-body-12-regular"
|
|
976
|
-
},
|
|
1000
|
+
}, zr = { class: "s-ui-chart-widget__controls" }, Br = {
|
|
977
1001
|
key: 1,
|
|
978
1002
|
class: "s-ui-chart-widget__content"
|
|
979
|
-
},
|
|
1003
|
+
}, Vr = {
|
|
980
1004
|
key: 2,
|
|
981
1005
|
class: "s-ui-chart-widget__footer"
|
|
982
|
-
},
|
|
1006
|
+
}, Hr = /* @__PURE__ */ R({
|
|
983
1007
|
__name: "SChartWidget",
|
|
984
|
-
props: /*@__PURE__*/
|
|
1008
|
+
props: /*@__PURE__*/ on({
|
|
985
1009
|
title: { default: "" },
|
|
986
1010
|
subtitle: { default: "" },
|
|
987
1011
|
collapsible: {
|
|
@@ -1005,17 +1029,17 @@ var An = [
|
|
|
1005
1029
|
}),
|
|
1006
1030
|
emits: ["update:collapsed"],
|
|
1007
1031
|
setup(e) {
|
|
1008
|
-
let t = pn(e, "collapsed"), n =
|
|
1009
|
-
return (n, r) => (
|
|
1010
|
-
class:
|
|
1032
|
+
let t = pn(e, "collapsed"), n = mn(), { t: r } = kn(), i = j(() => !!e.subtitle || !!n.subtitle), a = j(() => !!e.title || !!n.title || i.value || !!n.actions || e.collapsible), o = j(() => !!n.footer), s = j(() => !t.value || !e.collapsible || !e.hideContentWhenCollapsed), c = j(() => r(t.value ? "chartWidget.expand" : "chartWidget.collapse"));
|
|
1033
|
+
return (n, r) => (V(), P("div", {
|
|
1034
|
+
class: z(["s-ui-chart-widget", { "s-ui-chart-widget--skeleton": e.loading }]),
|
|
1011
1035
|
"data-qa": "ui:chart-widget"
|
|
1012
1036
|
}, [
|
|
1013
|
-
a.value ? (
|
|
1037
|
+
a.value ? (V(), P("div", Pr, [e.loading ? (V(), P("span", Fr)) : (V(), P("span", Ir, [F("span", Lr, [W(n.$slots, "title", {}, () => [I(G(e.title), 1)])]), i.value ? (V(), P("span", Rr, [W(n.$slots, "subtitle", {}, () => [I(G(e.subtitle), 1)])])) : N("", !0)])), F("div", zr, [W(n.$slots, "actions"), e.collapsible ? (V(), M(K(D), {
|
|
1014
1038
|
key: 0,
|
|
1015
|
-
appearance:
|
|
1016
|
-
variant:
|
|
1017
|
-
size:
|
|
1018
|
-
icon: t.value ?
|
|
1039
|
+
appearance: K(T).OUTLINED,
|
|
1040
|
+
variant: K(w).NEUTRAL,
|
|
1041
|
+
size: K(E).SMALL,
|
|
1042
|
+
icon: t.value ? K(J).chevronDown : K(J).chevronUp,
|
|
1019
1043
|
"aria-label": c.value,
|
|
1020
1044
|
"aria-expanded": !t.value,
|
|
1021
1045
|
onClick: r[0] ||= (e) => t.value = !t.value
|
|
@@ -1026,84 +1050,84 @@ var An = [
|
|
|
1026
1050
|
"icon",
|
|
1027
1051
|
"aria-label",
|
|
1028
1052
|
"aria-expanded"
|
|
1029
|
-
])) :
|
|
1030
|
-
s.value ? (
|
|
1031
|
-
o.value ? (
|
|
1053
|
+
])) : N("", !0)])])) : N("", !0),
|
|
1054
|
+
s.value ? (V(), P("div", Br, [W(n.$slots, "default")])) : N("", !0),
|
|
1055
|
+
o.value ? (V(), P("div", Vr, [W(n.$slots, "footer")])) : N("", !0)
|
|
1032
1056
|
], 2));
|
|
1033
1057
|
}
|
|
1034
|
-
}),
|
|
1058
|
+
}), Ur = /* @__PURE__ */ function(e) {
|
|
1035
1059
|
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;
|
|
1036
|
-
}({}),
|
|
1060
|
+
}({}), Wr = /^(\d{4})-(\d{2})-(\d{2})/, Gr = (e) => {
|
|
1037
1061
|
if (e instanceof Date) return Number.isNaN(e.getTime()) ? null : {
|
|
1038
1062
|
year: e.getFullYear(),
|
|
1039
1063
|
month: e.getMonth(),
|
|
1040
1064
|
day: e.getDate()
|
|
1041
1065
|
};
|
|
1042
|
-
let t =
|
|
1066
|
+
let t = Wr.exec(e);
|
|
1043
1067
|
return t ? {
|
|
1044
1068
|
year: Number(t[1]),
|
|
1045
1069
|
month: Number(t[2]) - 1,
|
|
1046
1070
|
day: Number(t[3])
|
|
1047
1071
|
} : null;
|
|
1048
|
-
},
|
|
1072
|
+
}, Kr = (e, t) => new Date(e, t + 1, 0).getDate(), qr = 12, Jr = (e, t, n = !1) => {
|
|
1049
1073
|
if (e.year < t) return 0;
|
|
1050
1074
|
if (e.year > t) return 100;
|
|
1051
|
-
let r =
|
|
1052
|
-
return (e.month + i / r) /
|
|
1053
|
-
},
|
|
1075
|
+
let r = Kr(e.year, e.month), i = n ? e.day : e.day - 1;
|
|
1076
|
+
return (e.month + i / r) / qr * 100;
|
|
1077
|
+
}, Yr = (e) => {
|
|
1054
1078
|
let t = new Intl.DateTimeFormat(e, { month: "long" });
|
|
1055
|
-
return Array.from({ length:
|
|
1079
|
+
return Array.from({ length: qr }, (n, r) => {
|
|
1056
1080
|
let i = t.format(new Date(2e3, r, 1));
|
|
1057
1081
|
return i.charAt(0).toLocaleUpperCase(e) + i.slice(1);
|
|
1058
1082
|
});
|
|
1059
|
-
},
|
|
1060
|
-
let a =
|
|
1083
|
+
}, Xr = (e) => Math.min(100, Math.max(0, e)), Zr = (e, t, n, r, i) => e.flatMap((e) => {
|
|
1084
|
+
let a = Gr(e.date);
|
|
1061
1085
|
if (!a || a.year !== n) return [];
|
|
1062
|
-
let o =
|
|
1086
|
+
let o = Jr(a, n, !0), s = i > 0 ? Xr((o - r) / i * 100) : 0;
|
|
1063
1087
|
return [{
|
|
1064
1088
|
milestone: e,
|
|
1065
1089
|
status: e.status ?? t,
|
|
1066
1090
|
offset: s
|
|
1067
1091
|
}];
|
|
1068
|
-
}),
|
|
1069
|
-
let n =
|
|
1092
|
+
}), Qr = (e, t) => e.flatMap((e) => {
|
|
1093
|
+
let n = Gr(e.start), r = Gr(e.end);
|
|
1070
1094
|
if (!n || !r || n.year > t || r.year < t) return [];
|
|
1071
|
-
let i =
|
|
1095
|
+
let i = Jr(n, t), a = Jr(r, t, !0);
|
|
1072
1096
|
if (a <= i) return [];
|
|
1073
|
-
let o = e.status ??
|
|
1097
|
+
let o = e.status ?? Ur.ON_PLAN, s = a - i;
|
|
1074
1098
|
return [{
|
|
1075
1099
|
item: e,
|
|
1076
1100
|
status: o,
|
|
1077
1101
|
left: i,
|
|
1078
1102
|
width: s,
|
|
1079
|
-
progress: e.progress === void 0 ? null :
|
|
1080
|
-
milestones:
|
|
1103
|
+
progress: e.progress === void 0 ? null : Xr(Math.round(e.progress)),
|
|
1104
|
+
milestones: Zr(e.milestones ?? [], o, t, i, s)
|
|
1081
1105
|
}];
|
|
1082
|
-
}),
|
|
1106
|
+
}), $r = ["aria-busy"], ei = { class: "s-ui-roadmap__ruler" }, ti = { class: "s-ui-roadmap__year" }, ni = { class: "s-ui-roadmap__months" }, ri = { class: "s-ui-roadmap__body" }, ii = {
|
|
1083
1107
|
class: "s-ui-roadmap__grid",
|
|
1084
1108
|
"aria-hidden": "true"
|
|
1085
|
-
},
|
|
1109
|
+
}, ai = {
|
|
1086
1110
|
key: 1,
|
|
1087
1111
|
class: "s-ui-roadmap__rows"
|
|
1088
|
-
},
|
|
1112
|
+
}, oi = { class: "s-ui-roadmap__row" }, si = {
|
|
1089
1113
|
key: 2,
|
|
1090
1114
|
class: "s-ui-roadmap__rows"
|
|
1091
|
-
},
|
|
1115
|
+
}, ci = [
|
|
1092
1116
|
"role",
|
|
1093
1117
|
"tabindex",
|
|
1094
1118
|
"onClick",
|
|
1095
1119
|
"onKeydown"
|
|
1096
|
-
],
|
|
1120
|
+
], li = { class: "s-ui-roadmap__card-header" }, ui = { class: "s-ui-roadmap__card-title" }, di = { class: "s-ui-roadmap__card-track" }, fi = [
|
|
1097
1121
|
"title",
|
|
1098
1122
|
"aria-label",
|
|
1099
1123
|
"onClick"
|
|
1100
|
-
],
|
|
1124
|
+
], pi = {
|
|
1101
1125
|
key: 0,
|
|
1102
1126
|
class: "s-ui-roadmap__card-progress"
|
|
1103
|
-
},
|
|
1127
|
+
}, mi = { class: "s-ui-roadmap__card-percent" }, hi = {
|
|
1104
1128
|
key: 3,
|
|
1105
1129
|
class: "s-ui-roadmap__empty"
|
|
1106
|
-
},
|
|
1130
|
+
}, gi = 3.8, _i = 39.6, vi = 16, yi = 16, bi = /* @__PURE__ */ R({
|
|
1107
1131
|
__name: "SRoadmap",
|
|
1108
1132
|
props: {
|
|
1109
1133
|
items: { default: () => [] },
|
|
@@ -1118,12 +1142,12 @@ var An = [
|
|
|
1118
1142
|
},
|
|
1119
1143
|
emits: ["itemClick", "milestoneClick"],
|
|
1120
1144
|
setup(e, { emit: t }) {
|
|
1121
|
-
let n = t, r =
|
|
1122
|
-
insetInlineStart: `${
|
|
1123
|
-
inlineSize: `${
|
|
1124
|
-
}, { t: l, locale: u } =
|
|
1145
|
+
let n = t, r = vi / 2, i = J.stageFill, a = J.milestoneFill, o = yn.SMALL, s = bn.S_ROADMAP_CARD, c = {
|
|
1146
|
+
insetInlineStart: `${gi}%`,
|
|
1147
|
+
inlineSize: `${_i}%`
|
|
1148
|
+
}, { t: l, locale: u } = kn(), d = Ot("onItemClick"), f = Ot("onMilestoneClick"), p = H(null), m = j(() => d() ? e.itemActionLabel : void 0), h = j(() => f() ? e.milestoneActionLabel : void 0), g = j(() => p.value ? {
|
|
1125
1149
|
insetInlineStart: `${p.value.x}px`,
|
|
1126
|
-
insetBlockStart: `${p.value.y +
|
|
1150
|
+
insetBlockStart: `${p.value.y + yi}px`
|
|
1127
1151
|
} : void 0), _ = (e, t) => {
|
|
1128
1152
|
p.value = e ? {
|
|
1129
1153
|
text: e,
|
|
@@ -1132,11 +1156,11 @@ var An = [
|
|
|
1132
1156
|
} : null;
|
|
1133
1157
|
}, v = () => {
|
|
1134
1158
|
p.value = null;
|
|
1135
|
-
}, y =
|
|
1159
|
+
}, y = j(() => Gr(e.today ?? /* @__PURE__ */ new Date())), b = j(() => e.year ?? y.value?.year ?? (/* @__PURE__ */ new Date()).getFullYear()), x = j(() => y.value?.year === b.value), S = j(() => ["s-ui-roadmap", { "s-ui-roadmap--loading": e.loading }]), C = j(() => Yr(String(fn(u))).map((e, t) => ({
|
|
1136
1160
|
index: t,
|
|
1137
1161
|
label: e,
|
|
1138
1162
|
classes: ["s-ui-roadmap__month", { "s-ui-roadmap__month--current": x.value && y.value?.month === t }]
|
|
1139
|
-
}))),
|
|
1163
|
+
}))), w = j(() => !x.value || !y.value ? null : { insetInlineStart: `${Jr(y.value, b.value)}%` }), T = j(() => Qr(e.items, b.value).map((e) => ({
|
|
1140
1164
|
key: e.item.id,
|
|
1141
1165
|
row: e,
|
|
1142
1166
|
role: d() ? "button" : void 0,
|
|
@@ -1157,91 +1181,91 @@ var An = [
|
|
|
1157
1181
|
title: l("roadmap.milestone", { title: e.milestone.title }),
|
|
1158
1182
|
nativeTitle: h.value ? void 0 : l("roadmap.milestone", { title: e.milestone.title }),
|
|
1159
1183
|
classes: ["s-ui-roadmap__milestone", `s-ui-roadmap__milestone--status-${e.status}`],
|
|
1160
|
-
style: { insetInlineStart: `clamp(0px, calc(${e.offset}% - ${r}px), calc(100% - ${
|
|
1184
|
+
style: { insetInlineStart: `clamp(0px, calc(${e.offset}% - ${r}px), calc(100% - ${vi}px))` }
|
|
1161
1185
|
}))
|
|
1162
|
-
}))),
|
|
1186
|
+
}))), E = (e) => {
|
|
1163
1187
|
n("itemClick", e);
|
|
1164
|
-
},
|
|
1188
|
+
}, D = (e, t) => {
|
|
1165
1189
|
n("milestoneClick", e, t);
|
|
1166
1190
|
};
|
|
1167
|
-
return (t, n) => (
|
|
1168
|
-
class:
|
|
1191
|
+
return (t, n) => (V(), P("div", {
|
|
1192
|
+
class: z(S.value),
|
|
1169
1193
|
"data-qa": "ui:roadmap",
|
|
1170
1194
|
"aria-busy": e.loading
|
|
1171
1195
|
}, [
|
|
1172
|
-
|
|
1196
|
+
F("div", ei, [F("div", ti, G(b.value), 1), F("ol", ni, [(V(!0), P(A, null, U(C.value, (e) => (V(), P("li", {
|
|
1173
1197
|
key: e.index,
|
|
1174
|
-
class:
|
|
1175
|
-
},
|
|
1176
|
-
|
|
1177
|
-
|
|
1198
|
+
class: z(e.classes)
|
|
1199
|
+
}, G(e.label), 3))), 128))])]),
|
|
1200
|
+
F("div", ri, [
|
|
1201
|
+
F("div", ii, [(V(!0), P(A, null, U(C.value, (e) => (V(), P("span", {
|
|
1178
1202
|
key: e.index,
|
|
1179
1203
|
class: "s-ui-roadmap__grid-column"
|
|
1180
1204
|
}))), 128))]),
|
|
1181
|
-
|
|
1205
|
+
w.value ? (V(), P("div", {
|
|
1182
1206
|
key: 0,
|
|
1183
1207
|
class: "s-ui-roadmap__today",
|
|
1184
|
-
style:
|
|
1208
|
+
style: B(w.value),
|
|
1185
1209
|
"aria-hidden": "true"
|
|
1186
|
-
}, [...n[2] ||= [
|
|
1187
|
-
e.loading ? (
|
|
1210
|
+
}, [...n[2] ||= [F("span", { class: "s-ui-roadmap__today-point" }, null, -1)]], 4)) : N("", !0),
|
|
1211
|
+
e.loading ? (V(), P("ul", ai, [F("li", oi, [F("div", {
|
|
1188
1212
|
class: "s-ui-roadmap__card s-ui-roadmap__card--skeleton",
|
|
1189
1213
|
style: c,
|
|
1190
1214
|
"aria-hidden": "true"
|
|
1191
|
-
}, [
|
|
1215
|
+
}, [L(K(Cn), {
|
|
1192
1216
|
class: "s-ui-roadmap__card-skeleton",
|
|
1193
|
-
type:
|
|
1194
|
-
}, null, 8, ["type"])])])])) :
|
|
1217
|
+
type: K(s)
|
|
1218
|
+
}, null, 8, ["type"])])])])) : T.value.length ? (V(), P("ul", si, [(V(!0), P(A, null, U(T.value, (e) => (V(), P("li", {
|
|
1195
1219
|
key: e.key,
|
|
1196
1220
|
class: "s-ui-roadmap__row"
|
|
1197
|
-
}, [
|
|
1198
|
-
class:
|
|
1199
|
-
style:
|
|
1221
|
+
}, [F("div", {
|
|
1222
|
+
class: z(e.cardClasses),
|
|
1223
|
+
style: B(e.cardStyle),
|
|
1200
1224
|
role: e.role,
|
|
1201
1225
|
tabindex: e.tabindex,
|
|
1202
|
-
onClick: (t) =>
|
|
1203
|
-
onKeydown:
|
|
1226
|
+
onClick: (t) => E(e.row.item),
|
|
1227
|
+
onKeydown: _n((t) => E(e.row.item), ["enter"]),
|
|
1204
1228
|
onPointermove: n[1] ||= (e) => _(m.value, e),
|
|
1205
1229
|
onPointerleave: v
|
|
1206
1230
|
}, [
|
|
1207
|
-
|
|
1208
|
-
|
|
1231
|
+
F("div", li, [W(t.$slots, "item-leading", { item: e.row.item }), F("span", ui, G(e.row.item.title), 1)]),
|
|
1232
|
+
F("div", di, [L(K(xn), {
|
|
1209
1233
|
class: "s-ui-roadmap__stage-icon",
|
|
1210
|
-
name:
|
|
1234
|
+
name: K(i),
|
|
1211
1235
|
size: 16
|
|
1212
|
-
}, null, 8, ["name"]), (
|
|
1236
|
+
}, null, 8, ["name"]), (V(!0), P(A, null, U(e.milestones, (t) => (V(), P("button", {
|
|
1213
1237
|
key: t.key,
|
|
1214
1238
|
type: "button",
|
|
1215
|
-
class:
|
|
1216
|
-
style:
|
|
1239
|
+
class: z(t.classes),
|
|
1240
|
+
style: B(t.style),
|
|
1217
1241
|
title: t.nativeTitle,
|
|
1218
1242
|
"aria-label": t.title,
|
|
1219
|
-
onClick:
|
|
1220
|
-
onPointermove: n[0] ||=
|
|
1221
|
-
}, [
|
|
1222
|
-
name:
|
|
1243
|
+
onClick: vn((n) => D(t.placement.milestone, e.row.item), ["stop"]),
|
|
1244
|
+
onPointermove: n[0] ||= vn((e) => _(h.value, e), ["stop"])
|
|
1245
|
+
}, [L(K(xn), {
|
|
1246
|
+
name: K(a),
|
|
1223
1247
|
size: 16
|
|
1224
|
-
}, null, 8, ["name"])], 46,
|
|
1225
|
-
e.row.progress === null ?
|
|
1248
|
+
}, null, 8, ["name"])], 46, fi))), 128))]),
|
|
1249
|
+
e.row.progress === null ? N("", !0) : (V(), P("div", pi, [L(K(Sn), {
|
|
1226
1250
|
class: "s-ui-roadmap__card-progress-bar",
|
|
1227
1251
|
value: e.row.progress,
|
|
1228
|
-
size:
|
|
1252
|
+
size: K(o),
|
|
1229
1253
|
"aria-label": e.progressLabel
|
|
1230
1254
|
}, null, 8, [
|
|
1231
1255
|
"value",
|
|
1232
1256
|
"size",
|
|
1233
1257
|
"aria-label"
|
|
1234
|
-
]),
|
|
1235
|
-
], 46,
|
|
1258
|
+
]), F("span", mi, G(e.row.progress) + "%", 1)]))
|
|
1259
|
+
], 46, ci)]))), 128))])) : (V(), P("div", hi, [W(t.$slots, "empty", {}, () => [I(G(K(l)("roadmap.empty")), 1)])]))
|
|
1236
1260
|
]),
|
|
1237
|
-
(
|
|
1261
|
+
(V(), M(rn, { to: "body" }, [p.value ? (V(), P("span", {
|
|
1238
1262
|
key: 0,
|
|
1239
1263
|
class: "s-ui-roadmap__hint",
|
|
1240
|
-
style:
|
|
1264
|
+
style: B(g.value),
|
|
1241
1265
|
role: "tooltip"
|
|
1242
|
-
},
|
|
1243
|
-
], 10,
|
|
1266
|
+
}, G(p.value.text), 5)) : N("", !0)]))
|
|
1267
|
+
], 10, $r));
|
|
1244
1268
|
}
|
|
1245
1269
|
});
|
|
1246
1270
|
//#endregion
|
|
1247
|
-
export {
|
|
1271
|
+
export { Mt as CALENDAR_WEEK_SLOT_COUNT, Bt as DAY_TIMELINE_MINUTES, m as DEFAULT_COLOR_PALETTE, p as EAccentColor, T as EButtonAppearance, oe as EButtonGroupLayout, E as EButtonSize, w as EButtonVariant, g as EColorFormat, Se as EConnectedPositionStrategy, X as ENotificationLayout, Z as ENotificationLeftside, Y as ENotificationType, a as ESAvatarBadge, s as ESAvatarColor, S as ESAvatarGroupSize, i as ESAvatarIconBackground, r as ESAvatarShape, o as ESAvatarSize, e as ESBadgeColor, t as ESBadgePlacement, Lt as ESCalendarEventDirection, Ut as ESCalendarMonthDayTone, me as ESCardLayout, _t as ESChartLegendSize, wt as ESChartPieLegendView, de as ESCheckboxColor, fe as ESCheckboxLabelPlacement, ue as ESCheckboxSize, je as ESChipColor, Me as ESChipSize, h as ESColorPaletteLayout, we as ESDropdownBoundary, Te as ESDropdownPlacement, ce as ESInlineGroupOrientation, it as ESInlineInputAppearance, ze as ESInlineMessageValidationStatus, Le as ESInputCustomize, Ve as ESLabelSize, He as ESLabelVariant, Ye as ESListGap, Ke as ESListItemRole, qe as ESListItemVariant, st as ESPhotoEditShape, ct as ESPhotoEditSize, $e as ESRadioLabelPlacement, Ur as ESRoadmapStatus, ge as ESSegmentControlSize, Ze as ESSelectSearchable, ve as ESTabAppearance, ye 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, De as ESTagColor, Oe as ESTagSize, tt as ESToggleLabelPlacement, nt as ESToggleSize, ie as ESelectionFocusMode, te as ESelectionMode, re as ESelectionOrientation, Nt as EWorkTimeSource, l as MAX_RECENT_COLORS, _ as RECOMMENDED_COLOR_PALETTE, c as SAvatar, C as SAvatarGroup, n as SBadge, Jn as SBanner, D as SButton, le as SButtonGroup, Pt as SCalendarMonth, It as SCalendarWeekGrid, he 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, jt as SChartScatter, Nr as SChartSegmentedBar, xt as SChartStackedArea, St as SChartStackedBar, Hr as SChartWidget, pe as SCheckbox, Ne as SChip, d as SColorArea, v as SColorPalette, f as SColorPicker, u as SColorValues, Rt as SDayTimeline, Fe as SDropdown, Ie as SDropdownMenu, se as SInlineGroup, at as SInlineInput, Be as SInlineMessage, Re as SInput, Ue as SLabel, Xe as SList, Je as SListItem, lt as SPhotoEdit, et as SRadio, bi as SRoadmap, _e as SSegmentControl, Qe as SSelect, be as STab, tn as STable, xe as STabs, ke as STag, Ae as STagGroup, ot as STextarea, Yn as SToast, gr as SToastProvider, rt as SToggle, Pe as S_DROPDOWN_SHEET_BREAKPOINT, er as TOAST_AUTO_DURATION_MAX_MS, $n as TOAST_AUTO_DURATION_MIN_MS, tr as TOAST_AUTO_DURATION_MS_PER_CHAR, zt as WORK_TIME_SOURCE_COLOR_VARS, Vt as WORK_TIME_SOURCE_ORDER, Ht as buildWorkTimeLegendItems, nr as computeAutoDuration, Ce as computeConnectedPosition, wn as createUiKit, Ft as formatDurationHM, x as isSameColor, b as normalizeColorValue, y as resolveColorPreview, ee as resolveOwnPropOrGroupedOrFallback, Tn as setUiKitLocale, En as uiKitLocaleEn, Dn as uiKitLocaleRu, Ge as useFlatTreeList, Ee as useFloatingOverlay, We as useSListEndReached, ne as useSelectionGroup, ae as useSelectionGroupItem, pr as useToast, On as useUiKitI18n };
|