@shtabapp/ui-kit 1.83.0 → 1.85.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 +17 -0
- package/dist/{SColorPicker-BMpT38eb.js → SColorPicker-BfJD4dt_.js} +1 -1
- package/dist/{SColorPicker-BJjZR52T.cjs → SColorPicker-NqSNxcwH.cjs} +1 -1
- package/dist/SList-CmMkLkdG.cjs +1 -0
- package/dist/{SList-WUROy6L6.js → SList-T_fgzdb3.js} +8 -2
- package/dist/SListItem-CQKZw5Uj.js +246 -0
- package/dist/SListItem-CrAnC2MG.cjs +1 -0
- package/dist/{SSegmentControl-Bjech2v4.js → SSegmentControl-BQ8fg3m-.js} +18 -14
- package/dist/SSegmentControl-jPA19SVO.cjs +1 -0
- package/dist/{SSelect-BG4Wh8N9.cjs → SSelect-BSbEFqAB.cjs} +1 -1
- package/dist/{SSelect-CGeBR5qb.js → SSelect-DM4-PF5I.js} +2 -2
- package/dist/{STable-wQ3Mgc-8.js → STable-BnS7Ijfz.js} +1 -1
- package/dist/{STable-CDGD1gwW.cjs → STable-CfdGC7jb.cjs} +1 -1
- package/dist/{STextarea-BDyy7Ku5.js → STextarea-CCnFvaU3.js} +1 -1
- package/dist/{STextarea-C4qDIp2k.cjs → STextarea-DxjrKM9g.cjs} +1 -1
- package/dist/components/SList/SList.types.d.ts +5 -0
- package/dist/components/SList/SList.types.d.ts.map +1 -1
- package/dist/components/SList/SList.vue.d.ts.map +1 -1
- package/dist/components/SList/utils/context.d.ts +2 -0
- package/dist/components/SList/utils/context.d.ts.map +1 -1
- package/dist/components/SListItem/SListItem.types.d.ts +7 -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/SSegmentControl/SSegmentControl.types.d.ts +7 -0
- package/dist/components/SSegmentControl/SSegmentControl.types.d.ts.map +1 -1
- package/dist/components/SSegmentControl/SSegmentControl.vue.d.ts.map +1 -1
- package/dist/components/SSegmentControl/index.d.ts +1 -1
- package/dist/components/SSegmentControl/index.d.ts.map +1 -1
- package/dist/entries/color-picker.cjs +1 -1
- package/dist/entries/color-picker.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/segment-control.cjs +1 -1
- package/dist/entries/segment-control.d.ts +1 -1
- package/dist/entries/segment-control.d.ts.map +1 -1
- package/dist/entries/segment-control.js +2 -2
- 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/textarea.cjs +1 -1
- package/dist/entries/textarea.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +223 -223
- package/dist/uikit-components.css +1 -1
- package/package.json +2 -2
- package/dist/SList-C43FRAw1.cjs +0 -1
- package/dist/SListItem-BCC_BAUR.js +0 -236
- package/dist/SListItem-CzfRtRh7.cjs +0 -1
- package/dist/SSegmentControl-BaD9BK2s.cjs +0 -1
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as e, r as t, t as n } from "./SBadge-Du9iIiXS.js";
|
|
2
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-
|
|
3
|
+
import { i as l, n as u, r as d, t as f } from "./SColorPicker-BfJD4dt_.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 S, t as C } from "./SAvatarGroup-DnVhY7I1.js";
|
|
@@ -10,50 +10,50 @@ import { n as ae } from "./useSelectLink-2aCIYmF6.js";
|
|
|
10
10
|
import { i as oe, n as se, r as ce, t as le } from "./SButtonGroup-BqW5Rz1p.js";
|
|
11
11
|
import { i as ue, n as de, r as fe, t as pe } from "./SCheckbox-Dulusx5v.js";
|
|
12
12
|
import { n as me, t as he } from "./SCard-CuiQMwUB.js";
|
|
13
|
-
import { n as ge,
|
|
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 A, Teleport as
|
|
51
|
-
import { ESIconName as J, ESProgressBarSize as
|
|
52
|
-
import { useResizeObserver as
|
|
13
|
+
import { n as ge, r as _e, t as ve } from "./SSegmentControl-BQ8fg3m-.js";
|
|
14
|
+
import { n as ye, r as be, t as xe } from "./STab-D7SATMfv.js";
|
|
15
|
+
import { t as Se } from "./STabs-_Zwxu8-o.js";
|
|
16
|
+
import { a as Ce, i as we, o as Te, s as Ee, t as De } from "./useFloatingOverlay-TxzVisMJ.js";
|
|
17
|
+
import { n as Oe, r as ke, t as Ae } from "./STag-C21nN8ow.js";
|
|
18
|
+
import { t as je } from "./STagGroup-CW9kWSnz.js";
|
|
19
|
+
import { n as Me, r as Ne, t as Pe } from "./SChip-CdKh_3Bo.js";
|
|
20
|
+
import { n as Fe, t as Ie } from "./SDropdown-aWjZrahp.js";
|
|
21
|
+
import { t as Le } from "./SDropdownMenu-2koPU6IG.js";
|
|
22
|
+
import { r as Re, t as ze } from "./SInput-DwUxyUwU.js";
|
|
23
|
+
import { n as Be, t as Ve } from "./SInlineMessage-Dirk5RwO.js";
|
|
24
|
+
import { n as He, r as Ue, t as We } from "./SLabel-FHHPlcKq.js";
|
|
25
|
+
import { a as Ge, s as Ke } from "./treeKeyboardNavigation-SmxTdnDz.js";
|
|
26
|
+
import { n as qe, r as Je, t as Ye } from "./SListItem-CQKZw5Uj.js";
|
|
27
|
+
import { a as Xe, t as Ze } from "./SList-T_fgzdb3.js";
|
|
28
|
+
import { n as Qe, t as $e } from "./SSelect-DM4-PF5I.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-CCnFvaU3.js";
|
|
33
|
+
import { n as ct, r as lt, t as ut } from "./SPhotoEdit-DiEnt3tE.js";
|
|
34
|
+
import { C as dt, D as O, S as k, c as ft, n as pt, r as mt, s as ht, t as gt, w as _t } from "./useChartInteractivity-sgbPZgcH.js";
|
|
35
|
+
import { n as vt, t as yt } from "./SChartLegend-At0mMO09.js";
|
|
36
|
+
import { t as bt } from "./SChartLine-rnEsQv-q.js";
|
|
37
|
+
import { t as xt } from "./resolveSeriesPaletteColor-Bk52kyZo.js";
|
|
38
|
+
import { t as St } from "./SChartStackedArea-zIygTOp8.js";
|
|
39
|
+
import { t as Ct } from "./SChartStackedBar-CXpVSagd.js";
|
|
40
|
+
import { t as wt } from "./SChartHorizontalBar-VKU0b6Jx.js";
|
|
41
|
+
import { n as Tt, t as Et } from "./SChartPie-Ebg7WSga.js";
|
|
42
|
+
import { t as Dt } from "./SChartMultiLine-C4jjmLEb.js";
|
|
43
|
+
import { t as Ot } from "./SChartBurnup-B1KU1E5B.js";
|
|
44
|
+
import { t as kt } from "./useHasListener-RSjlUyqH.js";
|
|
45
|
+
import { t as At } from "./SChartBar-DHjm1H0N.js";
|
|
46
|
+
import { t as jt } from "./SChartProgress-DRSh_taf.js";
|
|
47
|
+
import { t as Mt } from "./SChartScatter-DnmTw18x.js";
|
|
48
|
+
import { a as Nt, c as Pt, d as Ft, f as It, i as Lt, l as Rt, n as zt, o as Bt, r as Vt, s as Ht, t as Ut, u as Wt } from "./buildWorkTimeLegendItems-CifzZM9C.js";
|
|
49
|
+
import { a as Gt, c as Kt, d as qt, f as Jt, i as Yt, l as Xt, n as Zt, o as Qt, p as $t, r as en, s as tn, t as nn, u as rn } from "./STable-BnS7Ijfz.js";
|
|
50
|
+
import { Fragment as A, Teleport as an, computed as j, createBlock as M, createCommentVNode as N, createElementBlock as P, createElementVNode as F, createSlots as on, createTextVNode as I, createVNode as L, defineComponent as R, mergeModels as sn, mergeProps as cn, nextTick as ln, normalizeClass as z, normalizeStyle as B, onMounted as un, openBlock as V, ref as H, renderList as U, renderSlot as W, resolveDynamicComponent as dn, shallowRef as fn, toDisplayString as G, toValue as pn, unref as K, useModel as mn, useSlots as hn, useTemplateRef as gn, watch as _n, withCtx as q, withKeys as vn, withModifiers as yn } from "vue";
|
|
51
|
+
import { ESIconName as J, ESProgressBarSize as bn, ESSkeletonType as xn, SIcon as Sn, SProgressBar as Cn, SSkeleton as wn, createUiKit as Tn, setUiKitLocale as En, uiKitLocaleEn as Dn, uiKitLocaleRu as On, useUiKitI18n as kn, useUiKitI18n as An } from "@shtabapp/ui-kit-primitives";
|
|
52
|
+
import { useResizeObserver as jn } 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 Mn = [
|
|
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 jn = [
|
|
|
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
|
+
], Nn = [
|
|
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 jn = [
|
|
|
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
|
+
], Pn = (e, t, n, r = !1) => xt(e, t, n, r, {
|
|
75
|
+
palette: Mn,
|
|
76
|
+
paletteFallback: Mn[0],
|
|
77
|
+
skeletonPalette: Nn,
|
|
78
|
+
skeletonFallback: Nn[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
|
+
}({}), Fn = /* @__PURE__ */ function(e) {
|
|
86
86
|
return e.BANNER = "banner", e.TOAST = "toast", e;
|
|
87
|
-
}({}),
|
|
87
|
+
}({}), In = {
|
|
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
|
+
}, Ln = (e, t) => t || In[e], Rn = ["role"], zn = { class: "s-ui-notification__body" }, Bn = {
|
|
95
95
|
key: 0,
|
|
96
96
|
class: "s-ui-notification__leftside"
|
|
97
|
-
},
|
|
97
|
+
}, Vn = {
|
|
98
98
|
key: 0,
|
|
99
99
|
class: "s-ui-notification__icon"
|
|
100
|
-
},
|
|
100
|
+
}, Hn = { class: "s-ui-notification__content" }, Un = { class: "s-ui-notification__title-row" }, Wn = {
|
|
101
101
|
key: 0,
|
|
102
102
|
class: "s-ui-notification__description-block"
|
|
103
|
-
},
|
|
103
|
+
}, Gn = {
|
|
104
104
|
key: 0,
|
|
105
105
|
class: "s-ui-notification__description s-ui-typography-label-12-medium"
|
|
106
|
-
},
|
|
106
|
+
}, Kn = {
|
|
107
107
|
key: 1,
|
|
108
108
|
class: "s-ui-notification__actions-stack"
|
|
109
|
-
},
|
|
109
|
+
}, qn = {
|
|
110
110
|
key: 1,
|
|
111
111
|
class: "s-ui-notification__actions-row"
|
|
112
|
-
},
|
|
112
|
+
}, Jn = /* @__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: () => Fn.BANNER },
|
|
119
119
|
title: {},
|
|
120
120
|
description: {},
|
|
121
121
|
linkText: {},
|
|
@@ -151,7 +151,7 @@ var jn = [
|
|
|
151
151
|
"secondaryAction"
|
|
152
152
|
],
|
|
153
153
|
setup(e, { emit: t }) {
|
|
154
|
-
let n = t, r =
|
|
154
|
+
let n = t, r = hn(), 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}`,
|
|
@@ -159,7 +159,7 @@ var jn = [
|
|
|
159
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 = j(() => e.type === Y.DANGER ? "alert" : "status"), l = j(() =>
|
|
162
|
+
}), s = j(() => e.type === Y.DANGER ? "alert" : "status"), l = j(() => Ln(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");
|
|
@@ -172,8 +172,8 @@ var jn = [
|
|
|
172
172
|
class: z(["s-ui-notification", i.value]),
|
|
173
173
|
style: B(a.value),
|
|
174
174
|
role: s.value
|
|
175
|
-
}, [F("div",
|
|
176
|
-
d.value ? (V(), P("div",
|
|
175
|
+
}, [F("div", zn, [
|
|
176
|
+
d.value ? (V(), P("div", Bn, [e.leftside === K(Z).ICON ? (V(), P("div", Vn, [L(K(Sn), {
|
|
177
177
|
name: l.value,
|
|
178
178
|
size: 16,
|
|
179
179
|
billing: u.value
|
|
@@ -190,8 +190,8 @@ var jn = [
|
|
|
190
190
|
"badge",
|
|
191
191
|
"size"
|
|
192
192
|
])) : N("", !0)])) : N("", !0),
|
|
193
|
-
F("div",
|
|
194
|
-
F("div",
|
|
193
|
+
F("div", Hn, [
|
|
194
|
+
F("div", Un, [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
197
|
appearance: K(T).BARE,
|
|
@@ -206,7 +206,7 @@ var jn = [
|
|
|
206
206
|
"size",
|
|
207
207
|
"aria-label"
|
|
208
208
|
])) : N("", !0)]),
|
|
209
|
-
f.value ? (V(), P("div",
|
|
209
|
+
f.value ? (V(), P("div", Wn, [e.description || K(r).description ? (V(), P("span", Gn, [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
212
|
appearance: K(T).BARE,
|
|
@@ -223,7 +223,7 @@ var jn = [
|
|
|
223
223
|
"size",
|
|
224
224
|
"iconRight"
|
|
225
225
|
])) : N("", !0)])) : N("", !0),
|
|
226
|
-
e.layout === K(X).VERTICAL && m.value ? (V(), P("div",
|
|
226
|
+
e.layout === K(X).VERTICAL && m.value ? (V(), P("div", Kn, [e.showPrimaryButton && e.primaryButtonText ? (V(), M(K(D), {
|
|
227
227
|
key: 0,
|
|
228
228
|
appearance: g.value,
|
|
229
229
|
variant: _.value,
|
|
@@ -251,7 +251,7 @@ var jn = [
|
|
|
251
251
|
"size"
|
|
252
252
|
])) : N("", !0)])) : N("", !0)
|
|
253
253
|
]),
|
|
254
|
-
e.layout === K(X).HORIZONTAL && h.value ? (V(), P("div",
|
|
254
|
+
e.layout === K(X).HORIZONTAL && h.value ? (V(), P("div", qn, [
|
|
255
255
|
e.showPrimaryButton && e.primaryButtonText ? (V(), M(K(D), {
|
|
256
256
|
key: 0,
|
|
257
257
|
appearance: g.value,
|
|
@@ -296,9 +296,9 @@ var jn = [
|
|
|
296
296
|
"aria-label"
|
|
297
297
|
])) : N("", !0)
|
|
298
298
|
])) : N("", !0)
|
|
299
|
-
])], 14,
|
|
299
|
+
])], 14, Rn));
|
|
300
300
|
}
|
|
301
|
-
}),
|
|
301
|
+
}), Yn = /* @__PURE__ */ R({
|
|
302
302
|
__name: "SBanner",
|
|
303
303
|
props: {
|
|
304
304
|
type: { default: () => Y.INFO_ACCENT },
|
|
@@ -342,14 +342,14 @@ var jn = [
|
|
|
342
342
|
"secondaryAction"
|
|
343
343
|
],
|
|
344
344
|
setup(e, { emit: t }) {
|
|
345
|
-
let n = t, r =
|
|
346
|
-
return (t, a) => (V(), M(
|
|
345
|
+
let n = t, r = hn(), i = j(() => ({ "s-ui-banner--elevated": e.elevated }));
|
|
346
|
+
return (t, a) => (V(), M(Jn, {
|
|
347
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: K(
|
|
352
|
+
surface: K(Fn).BANNER,
|
|
353
353
|
title: e.title,
|
|
354
354
|
description: e.description,
|
|
355
355
|
linkText: e.linkText,
|
|
@@ -368,7 +368,7 @@ var jn = [
|
|
|
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
|
+
}, on({ _: 2 }, [K(r).title ? {
|
|
372
372
|
name: "title",
|
|
373
373
|
fn: q(() => [W(t.$slots, "title")]),
|
|
374
374
|
key: "0"
|
|
@@ -398,7 +398,7 @@ var jn = [
|
|
|
398
398
|
"truncateTitle"
|
|
399
399
|
]));
|
|
400
400
|
}
|
|
401
|
-
}),
|
|
401
|
+
}), Xn = /* @__PURE__ */ R({
|
|
402
402
|
__name: "SToast",
|
|
403
403
|
props: {
|
|
404
404
|
type: { default: () => Y.INFO_ACCENT },
|
|
@@ -433,14 +433,14 @@ var jn = [
|
|
|
433
433
|
"secondaryAction"
|
|
434
434
|
],
|
|
435
435
|
setup(e, { emit: t }) {
|
|
436
|
-
let n = t, r =
|
|
437
|
-
return (t, a) => (V(), M(
|
|
436
|
+
let n = t, r = hn(), i = j(() => e.width ?? 360);
|
|
437
|
+
return (t, a) => (V(), M(Jn, {
|
|
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: K(
|
|
443
|
+
surface: K(Fn).TOAST,
|
|
444
444
|
title: e.title,
|
|
445
445
|
description: e.description,
|
|
446
446
|
linkText: e.linkText,
|
|
@@ -457,7 +457,7 @@ var jn = [
|
|
|
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
|
+
}, on({ _: 2 }, [K(r).title ? {
|
|
461
461
|
name: "title",
|
|
462
462
|
fn: q(() => [W(t.$slots, "title")]),
|
|
463
463
|
key: "0"
|
|
@@ -484,13 +484,13 @@ var jn = [
|
|
|
484
484
|
"truncateTitle"
|
|
485
485
|
]));
|
|
486
486
|
}
|
|
487
|
-
}),
|
|
487
|
+
}), Zn = .05, Qn = [
|
|
488
488
|
"data-mounted",
|
|
489
489
|
"data-front",
|
|
490
490
|
"data-expanded",
|
|
491
491
|
"data-removed",
|
|
492
492
|
"data-visible"
|
|
493
|
-
],
|
|
493
|
+
], $n = /* @__PURE__ */ R({
|
|
494
494
|
__name: "SToastProviderToast",
|
|
495
495
|
props: {
|
|
496
496
|
index: {},
|
|
@@ -503,7 +503,7 @@ var jn = [
|
|
|
503
503
|
},
|
|
504
504
|
emits: ["heightChange"],
|
|
505
505
|
setup(e, { emit: t }) {
|
|
506
|
-
let n = t, r = H(null), i = H(0), a = H(!1), o = j(() => e.index === 0), s = j(() => 1 - e.index *
|
|
506
|
+
let n = t, r = H(null), i = H(0), a = H(!1), o = j(() => e.index === 0), s = j(() => 1 - e.index * Zn), 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,10 +512,10 @@ var jn = [
|
|
|
512
512
|
"--s-ui-toast-provider-stack-scale": String(s.value),
|
|
513
513
|
zIndex: String(1e3 - e.index)
|
|
514
514
|
}));
|
|
515
|
-
return
|
|
515
|
+
return jn(r, (e) => {
|
|
516
516
|
let t = e[0]?.contentRect.height ?? 0;
|
|
517
517
|
t !== i.value && (i.value = t, n("heightChange", t));
|
|
518
|
-
}),
|
|
518
|
+
}), un(() => {
|
|
519
519
|
requestAnimationFrame(() => {
|
|
520
520
|
requestAnimationFrame(() => {
|
|
521
521
|
a.value = !0;
|
|
@@ -533,50 +533,50 @@ var jn = [
|
|
|
533
533
|
ref_key: "contentRef",
|
|
534
534
|
ref: r,
|
|
535
535
|
class: "s-ui-toast-provider__toast-content"
|
|
536
|
-
}, [W(t.$slots, "default")], 512)], 12,
|
|
536
|
+
}, [W(t.$slots, "default")], 512)], 12, Qn));
|
|
537
537
|
}
|
|
538
|
-
}),
|
|
539
|
-
let n =
|
|
540
|
-
return n > 1e4 ?
|
|
541
|
-
}, Q =
|
|
538
|
+
}), er = 4e3, tr = 1e4, nr = 50, rr = (e, t) => {
|
|
539
|
+
let n = er + (e.length + (t?.length ?? 0)) * 50;
|
|
540
|
+
return n > 1e4 ? tr : n;
|
|
541
|
+
}, Q = fn([]), $ = /* @__PURE__ */ new Map(), ir = 0, ar = {
|
|
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
|
+
}, or = () => `toast-${Date.now()}-${++ir}`, sr = (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
|
+
}, cr = (e) => {
|
|
551
|
+
sr(e.id);
|
|
552
|
+
let t = e.duration === void 0 ? rr(e.title, e.description) : e.duration;
|
|
553
553
|
if (t > 0) {
|
|
554
554
|
let n = window.setTimeout(() => {
|
|
555
|
-
|
|
555
|
+
lr(e.id);
|
|
556
556
|
}, t);
|
|
557
557
|
$.set(e.id, n);
|
|
558
558
|
}
|
|
559
|
-
},
|
|
559
|
+
}, lr = (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 && (sr(e), n.onClose && n.onClose(), Q.value = Q.value.filter((t) => t.id !== e));
|
|
564
|
+
}, ur = () => {
|
|
565
565
|
$.forEach((e) => window.clearTimeout(e)), $.clear(), Q.value = [];
|
|
566
|
-
},
|
|
567
|
-
|
|
568
|
-
}), e.slice(0, 3)),
|
|
569
|
-
let t = e.id ??
|
|
570
|
-
...
|
|
566
|
+
}, dr = (e) => e.length <= 3 ? e : (e.slice(3).forEach((e) => {
|
|
567
|
+
sr(e.id);
|
|
568
|
+
}), e.slice(0, 3)), fr = (e) => {
|
|
569
|
+
let t = e.id ?? or(), n = {
|
|
570
|
+
...ar,
|
|
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 = dr(e);
|
|
577
|
+
} else Q.value = dr([n, ...Q.value]);
|
|
578
|
+
return cr(n), t;
|
|
579
|
+
}, pr = (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,28 +586,28 @@ var jn = [
|
|
|
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, cr(i);
|
|
590
|
+
}, mr = () => ({
|
|
591
591
|
toasts: Q,
|
|
592
|
-
show:
|
|
593
|
-
hide:
|
|
594
|
-
hideAll:
|
|
595
|
-
update:
|
|
596
|
-
}),
|
|
592
|
+
show: fr,
|
|
593
|
+
hide: lr,
|
|
594
|
+
hideAll: ur,
|
|
595
|
+
update: pr
|
|
596
|
+
}), hr = {
|
|
597
597
|
class: "s-ui-toast-provider__announcer",
|
|
598
598
|
role: "status",
|
|
599
599
|
"aria-atomic": "true"
|
|
600
|
-
},
|
|
600
|
+
}, gr = {
|
|
601
601
|
class: "s-ui-toast-provider__announcer",
|
|
602
602
|
role: "alert",
|
|
603
603
|
"aria-atomic": "true"
|
|
604
|
-
},
|
|
604
|
+
}, _r = /* @__PURE__ */ R({
|
|
605
605
|
__name: "SToastProvider",
|
|
606
606
|
setup(e) {
|
|
607
|
-
let { toasts: t, hide: n } =
|
|
608
|
-
t && (e.value = "", await
|
|
607
|
+
let { toasts: t, hide: n } = mr(), 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 ln(), e.value = t);
|
|
609
609
|
};
|
|
610
|
-
|
|
610
|
+
_n(r, async (e) => {
|
|
611
611
|
let n = e.filter((e) => !o.has(e.id)), r = new Set(t.value.map((e) => e.id));
|
|
612
612
|
o.forEach((e) => {
|
|
613
613
|
r.has(e) || o.delete(e);
|
|
@@ -615,8 +615,8 @@ var jn = [
|
|
|
615
615
|
let l = n.filter((e) => e.type === Y.DANGER), u = n.filter((e) => e.type !== Y.DANGER);
|
|
616
616
|
await Promise.all([c(a, s(l)), c(i, s(u))]);
|
|
617
617
|
});
|
|
618
|
-
let l = H(!1), u =
|
|
619
|
-
|
|
618
|
+
let l = H(!1), u = fn({}), 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
|
+
_n(p, (e) => {
|
|
620
620
|
e > 0 && (m.value = e);
|
|
621
621
|
});
|
|
622
622
|
let g = j(() => {
|
|
@@ -658,18 +658,18 @@ var jn = [
|
|
|
658
658
|
}, T = (e) => {
|
|
659
659
|
e.onSecondaryAction && e.onSecondaryAction();
|
|
660
660
|
};
|
|
661
|
-
return (e, t) => (V(), M(
|
|
661
|
+
return (e, t) => (V(), M(an, { to: "body" }, [F("div", {
|
|
662
662
|
class: "s-ui-toast-provider",
|
|
663
663
|
onMouseenter: y,
|
|
664
664
|
onMouseleave: b
|
|
665
665
|
}, [
|
|
666
|
-
F("div",
|
|
667
|
-
F("div",
|
|
666
|
+
F("div", hr, G(i.value), 1),
|
|
667
|
+
F("div", gr, G(a.value), 1),
|
|
668
668
|
r.value.length > 0 ? (V(), P("div", {
|
|
669
669
|
key: 0,
|
|
670
670
|
class: "s-ui-toast-provider__list",
|
|
671
671
|
style: B(g.value)
|
|
672
|
-
}, [(V(!0), P(A, null, U(r.value, (t, n) => (V(), M(
|
|
672
|
+
}, [(V(!0), P(A, null, U(r.value, (t, n) => (V(), M($n, {
|
|
673
673
|
key: t.id,
|
|
674
674
|
index: n,
|
|
675
675
|
expanded: l.value,
|
|
@@ -680,13 +680,13 @@ var jn = [
|
|
|
680
680
|
"offset-y": _(n),
|
|
681
681
|
onHeightChange: (e) => x(t.id, e)
|
|
682
682
|
}, {
|
|
683
|
-
default: q(() => [W(e.$slots, "toast", { toast: t }, () => [t.component ? (V(), M(
|
|
683
|
+
default: q(() => [W(e.$slots, "toast", { toast: t }, () => [t.component ? (V(), M(dn(t.component), cn({
|
|
684
684
|
key: 0,
|
|
685
685
|
ref_for: !0
|
|
686
686
|
}, t.componentProps, {
|
|
687
687
|
toast: t,
|
|
688
688
|
onClose: (e) => S(t.id)
|
|
689
|
-
}), null, 16, ["toast", "onClose"])) : (V(), M(K(
|
|
689
|
+
}), null, 16, ["toast", "onClose"])) : (V(), M(K(Xn), {
|
|
690
690
|
key: 1,
|
|
691
691
|
role: "presentation",
|
|
692
692
|
type: t.type,
|
|
@@ -742,10 +742,10 @@ var jn = [
|
|
|
742
742
|
]))), 128))], 4)) : N("", !0)
|
|
743
743
|
], 32)]));
|
|
744
744
|
}
|
|
745
|
-
}),
|
|
745
|
+
}), vr = 4, yr = 4, br = 1, xr = "400 12px var(--s-ui-font-family-label)", Sr = 4, Cr = .5, wr = (e, t, n, r, i, a) => {
|
|
746
746
|
let o = Math.min(a, r / 2, i / 2);
|
|
747
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();
|
|
748
|
-
},
|
|
748
|
+
}, Tr = (e) => {
|
|
749
749
|
let t = e.getProps([
|
|
750
750
|
"x",
|
|
751
751
|
"y",
|
|
@@ -756,14 +756,14 @@ var jn = [
|
|
|
756
756
|
width: Math.abs(n - i),
|
|
757
757
|
centerY: r
|
|
758
758
|
};
|
|
759
|
-
},
|
|
760
|
-
let a =
|
|
759
|
+
}, Er = (e, t, n, r, i) => {
|
|
760
|
+
let a = Tr(t);
|
|
761
761
|
if (!a) return;
|
|
762
|
-
let o = i ? i(n) : `${n}`, s = e.measureText(o).width +
|
|
763
|
-
if (a.width < s +
|
|
762
|
+
let o = i ? i(n) : `${n}`, s = e.measureText(o).width + vr * 2;
|
|
763
|
+
if (a.width < s + Sr * 2) return;
|
|
764
764
|
let c = a.left + a.width / 2;
|
|
765
|
-
|
|
766
|
-
},
|
|
765
|
+
wr(e, c - s / 2, a.centerY - 20 / 2, s, 20, yr), e.fillStyle = r.background, e.fill(), e.lineWidth = br, e.strokeStyle = r.border, e.stroke(), e.fillStyle = r.text, e.fillText(o, c, a.centerY);
|
|
766
|
+
}, Dr = (e, t) => ({
|
|
767
767
|
id: "segmentedBarBadge",
|
|
768
768
|
afterDatasetsDraw(n) {
|
|
769
769
|
let r = {
|
|
@@ -771,22 +771,22 @@ var jn = [
|
|
|
771
771
|
border: k(O.pieBadgeBorder, e),
|
|
772
772
|
text: k(O.pieBadgeText, e)
|
|
773
773
|
}, { ctx: i } = n;
|
|
774
|
-
i.save(), i.font =
|
|
775
|
-
let a =
|
|
774
|
+
i.save(), i.font = xr, i.textAlign = "center", i.textBaseline = "middle";
|
|
775
|
+
let a = ht(n);
|
|
776
776
|
n.data.datasets.forEach((e, o) => {
|
|
777
777
|
let s = n.getDatasetMeta(o)?.data[0], c = e.data[0];
|
|
778
|
-
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 ? Cr : 1, Er(i, s, c, r, t));
|
|
779
779
|
}), i.restore();
|
|
780
780
|
}
|
|
781
|
-
}),
|
|
781
|
+
}), Or = 40, kr = 4, Ar = 1, jr = [
|
|
782
782
|
"mousemove",
|
|
783
783
|
"mouseout",
|
|
784
784
|
"click",
|
|
785
785
|
"touchstart",
|
|
786
786
|
"touchmove"
|
|
787
|
-
],
|
|
787
|
+
], Mr = ({ segments: e, segmentColors: t, colorHostElement: n, skeleton: r = !1, formatValue: i, onSegmentClick: a, onSegmentHover: o, resolveTooltipLines: s }) => {
|
|
788
788
|
if (e.length === 0) return null;
|
|
789
|
-
let c = k("--s-ui-color-surface-primary", n), l = e.reduce((e, t) => e + t.value, 0), u =
|
|
789
|
+
let c = k("--s-ui-color-surface-primary", n), l = e.reduce((e, t) => e + t.value, 0), u = mt({
|
|
790
790
|
kind: "series",
|
|
791
791
|
skeleton: r,
|
|
792
792
|
colorHostElement: n,
|
|
@@ -804,12 +804,12 @@ var jn = [
|
|
|
804
804
|
hoverBackgroundColor: t[n],
|
|
805
805
|
borderColor: c,
|
|
806
806
|
borderWidth: {
|
|
807
|
-
left:
|
|
808
|
-
right:
|
|
807
|
+
left: Ar,
|
|
808
|
+
right: Ar
|
|
809
809
|
},
|
|
810
810
|
borderSkipped: !1,
|
|
811
|
-
borderRadius:
|
|
812
|
-
barThickness:
|
|
811
|
+
borderRadius: kr,
|
|
812
|
+
barThickness: Or,
|
|
813
813
|
stack: "track"
|
|
814
814
|
}))
|
|
815
815
|
},
|
|
@@ -818,7 +818,7 @@ var jn = [
|
|
|
818
818
|
responsive: !0,
|
|
819
819
|
maintainAspectRatio: !1,
|
|
820
820
|
layout: { padding: 0 },
|
|
821
|
-
events: r ? [] :
|
|
821
|
+
events: r ? [] : jr,
|
|
822
822
|
onHover: u.onHover,
|
|
823
823
|
onClick: u.onClick,
|
|
824
824
|
hover: r ? void 0 : {
|
|
@@ -853,9 +853,9 @@ var jn = [
|
|
|
853
853
|
}
|
|
854
854
|
}
|
|
855
855
|
},
|
|
856
|
-
plugins: [...r ? [] : [
|
|
856
|
+
plugins: [...r ? [] : [Dr(n, i)], ...u.plugins]
|
|
857
857
|
};
|
|
858
|
-
},
|
|
858
|
+
}, Nr = [
|
|
859
859
|
4,
|
|
860
860
|
1,
|
|
861
861
|
2,
|
|
@@ -867,9 +867,9 @@ var jn = [
|
|
|
867
867
|
].map((e, t) => ({
|
|
868
868
|
label: `Series ${t + 1}`,
|
|
869
869
|
value: e
|
|
870
|
-
})),
|
|
870
|
+
})), Pr = /* @__PURE__ */ R({
|
|
871
871
|
__name: "SChartSegmentedBar",
|
|
872
|
-
props: /*@__PURE__*/
|
|
872
|
+
props: /*@__PURE__*/ sn({
|
|
873
873
|
segments: { default: () => [] },
|
|
874
874
|
showLegend: {
|
|
875
875
|
type: Boolean,
|
|
@@ -888,7 +888,7 @@ var jn = [
|
|
|
888
888
|
type: Boolean,
|
|
889
889
|
default: !1
|
|
890
890
|
},
|
|
891
|
-
legendSize: { default: () =>
|
|
891
|
+
legendSize: { default: () => vt.SMALL },
|
|
892
892
|
formatTooltip: { type: Function }
|
|
893
893
|
}, {
|
|
894
894
|
selectedIndex: { default: null },
|
|
@@ -896,12 +896,12 @@ var jn = [
|
|
|
896
896
|
selectedIndexes: { default: () => [] },
|
|
897
897
|
selectedIndexesModifiers: {}
|
|
898
898
|
}),
|
|
899
|
-
emits: /*@__PURE__*/
|
|
899
|
+
emits: /*@__PURE__*/ sn(["segmentClick"], ["update:selectedIndex", "update:selectedIndexes"]),
|
|
900
900
|
setup(e, { expose: t, emit: n }) {
|
|
901
|
-
let r =
|
|
901
|
+
let r = mn(e, "selectedIndex"), i = mn(e, "selectedIndexes"), a = n, o = _t, s = gn("chartRootRef"), c = gn("chartCanvasRef"), l = j(() => e.loading ? Nr : e.segments), u = j(() => l.value.map((t, n) => Pn(n, s.value, t.fillColor, e.loading))), d = j(() => l.value.map((e, t) => ({
|
|
902
902
|
segment: e,
|
|
903
903
|
segmentIndex: t
|
|
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) ?
|
|
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) ? ft(s.value) : u.value[e] ?? "")), m = j(() => {
|
|
905
905
|
let e = /* @__PURE__ */ new Map();
|
|
906
906
|
return d.value.forEach(({ segmentIndex: t }, n) => {
|
|
907
907
|
e.set(t, n);
|
|
@@ -917,10 +917,10 @@ var jn = [
|
|
|
917
917
|
n && (a("segmentClick", n.segmentIndex, n.segment), e.selectable && g(n.segmentIndex));
|
|
918
918
|
}, y = (e) => {
|
|
919
919
|
h.value = e === null ? null : d.value[e]?.segmentIndex ?? null;
|
|
920
|
-
}, b =
|
|
920
|
+
}, b = kt("onSegmentClick"), x = (t) => {
|
|
921
921
|
let n = d.value[t];
|
|
922
922
|
return n && e.formatTooltip ? e.formatTooltip(n.segment, n.segmentIndex) : [];
|
|
923
|
-
}, S = j(() => e.selectable ? e.multiple ? h.value : h.value ?? r.value : null), C = j(() => _.value && h.value === null ? i.value : []), w = j(() =>
|
|
923
|
+
}, S = j(() => e.selectable ? e.multiple ? h.value : h.value ?? r.value : null), C = j(() => _.value && h.value === null ? i.value : []), w = j(() => Mr({
|
|
924
924
|
segments: f.value,
|
|
925
925
|
segmentColors: p.value,
|
|
926
926
|
colorHostElement: s.value,
|
|
@@ -932,18 +932,18 @@ var jn = [
|
|
|
932
932
|
})), T = j(() => l.value.map((e, t) => ({
|
|
933
933
|
label: e.label,
|
|
934
934
|
color: u.value[t] ?? ""
|
|
935
|
-
}))), { chartInstance: E } =
|
|
935
|
+
}))), { chartInstance: E } = pt({
|
|
936
936
|
canvasRef: c,
|
|
937
937
|
config: w,
|
|
938
938
|
enabled: j(() => e.loading || f.value.length > 0)
|
|
939
|
-
}), { exportImage: D, handleLegendItemHover: ee, pinElement: te } =
|
|
939
|
+
}), { exportImage: D, handleLegendItemHover: ee, pinElement: te } = gt({
|
|
940
940
|
chartInstance: E,
|
|
941
941
|
canvasRef: c,
|
|
942
942
|
colorHostElement: s
|
|
943
943
|
}), ne = (e) => e === null ? null : m.value.get(e) ?? null, re = (t) => {
|
|
944
944
|
e.selectable && (h.value = t), ee(ne(t));
|
|
945
945
|
};
|
|
946
|
-
return
|
|
946
|
+
return _n([E, r], () => {
|
|
947
947
|
e.selectable && !e.loading && te(ne(r.value));
|
|
948
948
|
}), t({ exportImage: D }), (t, n) => (V(), P("div", {
|
|
949
949
|
ref_key: "chartRootRef",
|
|
@@ -953,7 +953,7 @@ var jn = [
|
|
|
953
953
|
}, [F("div", {
|
|
954
954
|
class: "s-ui-chart-segmented-bar__canvas-wrap",
|
|
955
955
|
onMouseleave: n[0] ||= (e) => y(null)
|
|
956
|
-
}, [L(K(
|
|
956
|
+
}, [L(K(dt), {
|
|
957
957
|
loading: e.loading,
|
|
958
958
|
type: K(o).CARTESIAN
|
|
959
959
|
}, {
|
|
@@ -963,7 +963,7 @@ var jn = [
|
|
|
963
963
|
class: "s-ui-chart-segmented-bar__canvas"
|
|
964
964
|
}, null, 512)]),
|
|
965
965
|
_: 1
|
|
966
|
-
}, 8, ["loading", "type"])], 32), e.showLegend && T.value.length ? (V(), M(K(
|
|
966
|
+
}, 8, ["loading", "type"])], 32), e.showLegend && T.value.length ? (V(), M(K(yt), {
|
|
967
967
|
key: 0,
|
|
968
968
|
items: T.value,
|
|
969
969
|
disabled: e.loading,
|
|
@@ -984,28 +984,28 @@ var jn = [
|
|
|
984
984
|
"active-indexes"
|
|
985
985
|
])) : N("", !0)], 2));
|
|
986
986
|
}
|
|
987
|
-
}),
|
|
987
|
+
}), Fr = {
|
|
988
988
|
key: 0,
|
|
989
989
|
class: "s-ui-chart-widget__header"
|
|
990
|
-
},
|
|
990
|
+
}, Ir = {
|
|
991
991
|
key: 0,
|
|
992
992
|
class: "s-ui-chart-widget__title-skeleton",
|
|
993
993
|
"aria-hidden": "true"
|
|
994
|
-
},
|
|
994
|
+
}, Lr = {
|
|
995
995
|
key: 1,
|
|
996
996
|
class: "s-ui-chart-widget__heading"
|
|
997
|
-
},
|
|
997
|
+
}, Rr = { class: "s-ui-chart-widget__title s-ui-typography-label-16-medium" }, zr = {
|
|
998
998
|
key: 0,
|
|
999
999
|
class: "s-ui-chart-widget__subtitle s-ui-typography-body-12-regular"
|
|
1000
|
-
},
|
|
1000
|
+
}, Br = { class: "s-ui-chart-widget__controls" }, Vr = {
|
|
1001
1001
|
key: 1,
|
|
1002
1002
|
class: "s-ui-chart-widget__content"
|
|
1003
|
-
},
|
|
1003
|
+
}, Hr = {
|
|
1004
1004
|
key: 2,
|
|
1005
1005
|
class: "s-ui-chart-widget__footer"
|
|
1006
|
-
},
|
|
1006
|
+
}, Ur = /* @__PURE__ */ R({
|
|
1007
1007
|
__name: "SChartWidget",
|
|
1008
|
-
props: /*@__PURE__*/
|
|
1008
|
+
props: /*@__PURE__*/ sn({
|
|
1009
1009
|
title: { default: "" },
|
|
1010
1010
|
subtitle: { default: "" },
|
|
1011
1011
|
collapsible: {
|
|
@@ -1029,12 +1029,12 @@ var jn = [
|
|
|
1029
1029
|
}),
|
|
1030
1030
|
emits: ["update:collapsed"],
|
|
1031
1031
|
setup(e) {
|
|
1032
|
-
let t =
|
|
1032
|
+
let t = mn(e, "collapsed"), n = hn(), { t: r } = An(), 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
1033
|
return (n, r) => (V(), P("div", {
|
|
1034
1034
|
class: z(["s-ui-chart-widget", { "s-ui-chart-widget--skeleton": e.loading }]),
|
|
1035
1035
|
"data-qa": "ui:chart-widget"
|
|
1036
1036
|
}, [
|
|
1037
|
-
a.value ? (V(), P("div",
|
|
1037
|
+
a.value ? (V(), P("div", Fr, [e.loading ? (V(), P("span", Ir)) : (V(), P("span", Lr, [F("span", Rr, [W(n.$slots, "title", {}, () => [I(G(e.title), 1)])]), i.value ? (V(), P("span", zr, [W(n.$slots, "subtitle", {}, () => [I(G(e.subtitle), 1)])])) : N("", !0)])), F("div", Br, [W(n.$slots, "actions"), e.collapsible ? (V(), M(K(D), {
|
|
1038
1038
|
key: 0,
|
|
1039
1039
|
appearance: K(T).OUTLINED,
|
|
1040
1040
|
variant: K(w).NEUTRAL,
|
|
@@ -1051,83 +1051,83 @@ var jn = [
|
|
|
1051
1051
|
"aria-label",
|
|
1052
1052
|
"aria-expanded"
|
|
1053
1053
|
])) : N("", !0)])])) : N("", !0),
|
|
1054
|
-
s.value ? (V(), P("div",
|
|
1055
|
-
o.value ? (V(), P("div",
|
|
1054
|
+
s.value ? (V(), P("div", Vr, [W(n.$slots, "default")])) : N("", !0),
|
|
1055
|
+
o.value ? (V(), P("div", Hr, [W(n.$slots, "footer")])) : N("", !0)
|
|
1056
1056
|
], 2));
|
|
1057
1057
|
}
|
|
1058
|
-
}),
|
|
1058
|
+
}), Wr = /* @__PURE__ */ function(e) {
|
|
1059
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;
|
|
1060
|
-
}({}),
|
|
1060
|
+
}({}), Gr = /^(\d{4})-(\d{2})-(\d{2})/, Kr = (e) => {
|
|
1061
1061
|
if (e instanceof Date) return Number.isNaN(e.getTime()) ? null : {
|
|
1062
1062
|
year: e.getFullYear(),
|
|
1063
1063
|
month: e.getMonth(),
|
|
1064
1064
|
day: e.getDate()
|
|
1065
1065
|
};
|
|
1066
|
-
let t =
|
|
1066
|
+
let t = Gr.exec(e);
|
|
1067
1067
|
return t ? {
|
|
1068
1068
|
year: Number(t[1]),
|
|
1069
1069
|
month: Number(t[2]) - 1,
|
|
1070
1070
|
day: Number(t[3])
|
|
1071
1071
|
} : null;
|
|
1072
|
-
},
|
|
1072
|
+
}, qr = (e, t) => new Date(e, t + 1, 0).getDate(), Jr = 12, Yr = (e, t, n = !1) => {
|
|
1073
1073
|
if (e.year < t) return 0;
|
|
1074
1074
|
if (e.year > t) return 100;
|
|
1075
|
-
let r =
|
|
1076
|
-
return (e.month + i / r) /
|
|
1077
|
-
},
|
|
1075
|
+
let r = qr(e.year, e.month), i = n ? e.day : e.day - 1;
|
|
1076
|
+
return (e.month + i / r) / Jr * 100;
|
|
1077
|
+
}, Xr = (e) => {
|
|
1078
1078
|
let t = new Intl.DateTimeFormat(e, { month: "long" });
|
|
1079
|
-
return Array.from({ length:
|
|
1079
|
+
return Array.from({ length: Jr }, (n, r) => {
|
|
1080
1080
|
let i = t.format(new Date(2e3, r, 1));
|
|
1081
1081
|
return i.charAt(0).toLocaleUpperCase(e) + i.slice(1);
|
|
1082
1082
|
});
|
|
1083
|
-
},
|
|
1084
|
-
let a =
|
|
1083
|
+
}, Zr = (e) => Math.min(100, Math.max(0, e)), Qr = (e, t, n, r, i) => e.flatMap((e) => {
|
|
1084
|
+
let a = Kr(e.date);
|
|
1085
1085
|
if (!a || a.year !== n) return [];
|
|
1086
|
-
let o =
|
|
1086
|
+
let o = Yr(a, n, !0), s = i > 0 ? Zr((o - r) / i * 100) : 0;
|
|
1087
1087
|
return [{
|
|
1088
1088
|
milestone: e,
|
|
1089
1089
|
status: e.status ?? t,
|
|
1090
1090
|
offset: s
|
|
1091
1091
|
}];
|
|
1092
|
-
}),
|
|
1093
|
-
let n =
|
|
1092
|
+
}), $r = (e, t) => e.flatMap((e) => {
|
|
1093
|
+
let n = Kr(e.start), r = Kr(e.end);
|
|
1094
1094
|
if (!n || !r || n.year > t || r.year < t) return [];
|
|
1095
|
-
let i =
|
|
1095
|
+
let i = Yr(n, t), a = Yr(r, t, !0);
|
|
1096
1096
|
if (a <= i) return [];
|
|
1097
|
-
let o = e.status ??
|
|
1097
|
+
let o = e.status ?? Wr.ON_PLAN, s = a - i;
|
|
1098
1098
|
return [{
|
|
1099
1099
|
item: e,
|
|
1100
1100
|
status: o,
|
|
1101
1101
|
left: i,
|
|
1102
1102
|
width: s,
|
|
1103
|
-
progress: e.progress === void 0 ? null :
|
|
1104
|
-
milestones:
|
|
1103
|
+
progress: e.progress === void 0 ? null : Zr(Math.round(e.progress)),
|
|
1104
|
+
milestones: Qr(e.milestones ?? [], o, t, i, s)
|
|
1105
1105
|
}];
|
|
1106
|
-
}),
|
|
1106
|
+
}), ei = ["aria-busy"], ti = { class: "s-ui-roadmap__ruler" }, ni = { class: "s-ui-roadmap__year" }, ri = { class: "s-ui-roadmap__months" }, ii = { class: "s-ui-roadmap__body" }, ai = {
|
|
1107
1107
|
class: "s-ui-roadmap__grid",
|
|
1108
1108
|
"aria-hidden": "true"
|
|
1109
|
-
},
|
|
1109
|
+
}, oi = {
|
|
1110
1110
|
key: 1,
|
|
1111
1111
|
class: "s-ui-roadmap__rows"
|
|
1112
|
-
},
|
|
1112
|
+
}, si = { class: "s-ui-roadmap__row" }, ci = {
|
|
1113
1113
|
key: 2,
|
|
1114
1114
|
class: "s-ui-roadmap__rows"
|
|
1115
|
-
},
|
|
1115
|
+
}, li = [
|
|
1116
1116
|
"role",
|
|
1117
1117
|
"tabindex",
|
|
1118
1118
|
"onClick",
|
|
1119
1119
|
"onKeydown"
|
|
1120
|
-
],
|
|
1120
|
+
], ui = { class: "s-ui-roadmap__card-header" }, di = { class: "s-ui-roadmap__card-title" }, fi = { class: "s-ui-roadmap__card-track" }, pi = [
|
|
1121
1121
|
"title",
|
|
1122
1122
|
"aria-label",
|
|
1123
1123
|
"onClick"
|
|
1124
|
-
],
|
|
1124
|
+
], mi = {
|
|
1125
1125
|
key: 0,
|
|
1126
1126
|
class: "s-ui-roadmap__card-progress"
|
|
1127
|
-
},
|
|
1127
|
+
}, hi = { class: "s-ui-roadmap__card-percent" }, gi = {
|
|
1128
1128
|
key: 3,
|
|
1129
1129
|
class: "s-ui-roadmap__empty"
|
|
1130
|
-
},
|
|
1130
|
+
}, _i = 3.8, vi = 39.6, yi = 16, bi = 16, xi = /* @__PURE__ */ R({
|
|
1131
1131
|
__name: "SRoadmap",
|
|
1132
1132
|
props: {
|
|
1133
1133
|
items: { default: () => [] },
|
|
@@ -1142,12 +1142,12 @@ var jn = [
|
|
|
1142
1142
|
},
|
|
1143
1143
|
emits: ["itemClick", "milestoneClick"],
|
|
1144
1144
|
setup(e, { emit: t }) {
|
|
1145
|
-
let n = t, r =
|
|
1146
|
-
insetInlineStart: `${
|
|
1147
|
-
inlineSize: `${
|
|
1148
|
-
}, { t: l, locale: u } =
|
|
1145
|
+
let n = t, r = yi / 2, i = J.stageFill, a = J.milestoneFill, o = bn.SMALL, s = xn.S_ROADMAP_CARD, c = {
|
|
1146
|
+
insetInlineStart: `${_i}%`,
|
|
1147
|
+
inlineSize: `${vi}%`
|
|
1148
|
+
}, { t: l, locale: u } = An(), d = kt("onItemClick"), f = kt("onMilestoneClick"), p = H(null), m = j(() => d() ? e.itemActionLabel : void 0), h = j(() => f() ? e.milestoneActionLabel : void 0), g = j(() => p.value ? {
|
|
1149
1149
|
insetInlineStart: `${p.value.x}px`,
|
|
1150
|
-
insetBlockStart: `${p.value.y +
|
|
1150
|
+
insetBlockStart: `${p.value.y + bi}px`
|
|
1151
1151
|
} : void 0), _ = (e, t) => {
|
|
1152
1152
|
p.value = e ? {
|
|
1153
1153
|
text: e,
|
|
@@ -1156,11 +1156,11 @@ var jn = [
|
|
|
1156
1156
|
} : null;
|
|
1157
1157
|
}, v = () => {
|
|
1158
1158
|
p.value = null;
|
|
1159
|
-
}, y = j(() =>
|
|
1159
|
+
}, y = j(() => Kr(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(() => Xr(String(pn(u))).map((e, t) => ({
|
|
1160
1160
|
index: t,
|
|
1161
1161
|
label: e,
|
|
1162
1162
|
classes: ["s-ui-roadmap__month", { "s-ui-roadmap__month--current": x.value && y.value?.month === t }]
|
|
1163
|
-
}))), w = j(() => !x.value || !y.value ? null : { insetInlineStart: `${
|
|
1163
|
+
}))), w = j(() => !x.value || !y.value ? null : { insetInlineStart: `${Yr(y.value, b.value)}%` }), T = j(() => $r(e.items, b.value).map((e) => ({
|
|
1164
1164
|
key: e.item.id,
|
|
1165
1165
|
row: e,
|
|
1166
1166
|
role: d() ? "button" : void 0,
|
|
@@ -1181,7 +1181,7 @@ var jn = [
|
|
|
1181
1181
|
title: l("roadmap.milestone", { title: e.milestone.title }),
|
|
1182
1182
|
nativeTitle: h.value ? void 0 : l("roadmap.milestone", { title: e.milestone.title }),
|
|
1183
1183
|
classes: ["s-ui-roadmap__milestone", `s-ui-roadmap__milestone--status-${e.status}`],
|
|
1184
|
-
style: { insetInlineStart: `clamp(0px, calc(${e.offset}% - ${r}px), calc(100% - ${
|
|
1184
|
+
style: { insetInlineStart: `clamp(0px, calc(${e.offset}% - ${r}px), calc(100% - ${yi}px))` }
|
|
1185
1185
|
}))
|
|
1186
1186
|
}))), E = (e) => {
|
|
1187
1187
|
n("itemClick", e);
|
|
@@ -1193,12 +1193,12 @@ var jn = [
|
|
|
1193
1193
|
"data-qa": "ui:roadmap",
|
|
1194
1194
|
"aria-busy": e.loading
|
|
1195
1195
|
}, [
|
|
1196
|
-
F("div",
|
|
1196
|
+
F("div", ti, [F("div", ni, G(b.value), 1), F("ol", ri, [(V(!0), P(A, null, U(C.value, (e) => (V(), P("li", {
|
|
1197
1197
|
key: e.index,
|
|
1198
1198
|
class: z(e.classes)
|
|
1199
1199
|
}, G(e.label), 3))), 128))])]),
|
|
1200
|
-
F("div",
|
|
1201
|
-
F("div",
|
|
1200
|
+
F("div", ii, [
|
|
1201
|
+
F("div", ai, [(V(!0), P(A, null, U(C.value, (e) => (V(), P("span", {
|
|
1202
1202
|
key: e.index,
|
|
1203
1203
|
class: "s-ui-roadmap__grid-column"
|
|
1204
1204
|
}))), 128))]),
|
|
@@ -1208,14 +1208,14 @@ var jn = [
|
|
|
1208
1208
|
style: B(w.value),
|
|
1209
1209
|
"aria-hidden": "true"
|
|
1210
1210
|
}, [...n[2] ||= [F("span", { class: "s-ui-roadmap__today-point" }, null, -1)]], 4)) : N("", !0),
|
|
1211
|
-
e.loading ? (V(), P("ul",
|
|
1211
|
+
e.loading ? (V(), P("ul", oi, [F("li", si, [F("div", {
|
|
1212
1212
|
class: "s-ui-roadmap__card s-ui-roadmap__card--skeleton",
|
|
1213
1213
|
style: c,
|
|
1214
1214
|
"aria-hidden": "true"
|
|
1215
|
-
}, [L(K(
|
|
1215
|
+
}, [L(K(wn), {
|
|
1216
1216
|
class: "s-ui-roadmap__card-skeleton",
|
|
1217
1217
|
type: K(s)
|
|
1218
|
-
}, null, 8, ["type"])])])])) : T.value.length ? (V(), P("ul",
|
|
1218
|
+
}, null, 8, ["type"])])])])) : T.value.length ? (V(), P("ul", ci, [(V(!0), P(A, null, U(T.value, (e) => (V(), P("li", {
|
|
1219
1219
|
key: e.key,
|
|
1220
1220
|
class: "s-ui-roadmap__row"
|
|
1221
1221
|
}, [F("div", {
|
|
@@ -1224,12 +1224,12 @@ var jn = [
|
|
|
1224
1224
|
role: e.role,
|
|
1225
1225
|
tabindex: e.tabindex,
|
|
1226
1226
|
onClick: (t) => E(e.row.item),
|
|
1227
|
-
onKeydown:
|
|
1227
|
+
onKeydown: vn((t) => E(e.row.item), ["enter"]),
|
|
1228
1228
|
onPointermove: n[1] ||= (e) => _(m.value, e),
|
|
1229
1229
|
onPointerleave: v
|
|
1230
1230
|
}, [
|
|
1231
|
-
F("div",
|
|
1232
|
-
F("div",
|
|
1231
|
+
F("div", ui, [W(t.$slots, "item-leading", { item: e.row.item }), F("span", di, G(e.row.item.title), 1)]),
|
|
1232
|
+
F("div", fi, [L(K(Sn), {
|
|
1233
1233
|
class: "s-ui-roadmap__stage-icon",
|
|
1234
1234
|
name: K(i),
|
|
1235
1235
|
size: 16
|
|
@@ -1240,13 +1240,13 @@ var jn = [
|
|
|
1240
1240
|
style: B(t.style),
|
|
1241
1241
|
title: t.nativeTitle,
|
|
1242
1242
|
"aria-label": t.title,
|
|
1243
|
-
onClick:
|
|
1244
|
-
onPointermove: n[0] ||=
|
|
1245
|
-
}, [L(K(
|
|
1243
|
+
onClick: yn((n) => D(t.placement.milestone, e.row.item), ["stop"]),
|
|
1244
|
+
onPointermove: n[0] ||= yn((e) => _(h.value, e), ["stop"])
|
|
1245
|
+
}, [L(K(Sn), {
|
|
1246
1246
|
name: K(a),
|
|
1247
1247
|
size: 16
|
|
1248
|
-
}, null, 8, ["name"])], 46,
|
|
1249
|
-
e.row.progress === null ? N("", !0) : (V(), P("div",
|
|
1248
|
+
}, null, 8, ["name"])], 46, pi))), 128))]),
|
|
1249
|
+
e.row.progress === null ? N("", !0) : (V(), P("div", mi, [L(K(Cn), {
|
|
1250
1250
|
class: "s-ui-roadmap__card-progress-bar",
|
|
1251
1251
|
value: e.row.progress,
|
|
1252
1252
|
size: K(o),
|
|
@@ -1255,17 +1255,17 @@ var jn = [
|
|
|
1255
1255
|
"value",
|
|
1256
1256
|
"size",
|
|
1257
1257
|
"aria-label"
|
|
1258
|
-
]), F("span",
|
|
1259
|
-
], 46,
|
|
1258
|
+
]), F("span", hi, G(e.row.progress) + "%", 1)]))
|
|
1259
|
+
], 46, li)]))), 128))])) : (V(), P("div", gi, [W(t.$slots, "empty", {}, () => [I(G(K(l)("roadmap.empty")), 1)])]))
|
|
1260
1260
|
]),
|
|
1261
|
-
(V(), M(
|
|
1261
|
+
(V(), M(an, { to: "body" }, [p.value ? (V(), P("span", {
|
|
1262
1262
|
key: 0,
|
|
1263
1263
|
class: "s-ui-roadmap__hint",
|
|
1264
1264
|
style: B(g.value),
|
|
1265
1265
|
role: "tooltip"
|
|
1266
1266
|
}, G(p.value.text), 5)) : N("", !0)]))
|
|
1267
|
-
], 10,
|
|
1267
|
+
], 10, ei));
|
|
1268
1268
|
}
|
|
1269
1269
|
});
|
|
1270
1270
|
//#endregion
|
|
1271
|
-
export {
|
|
1271
|
+
export { Nt as CALENDAR_WEEK_SLOT_COUNT, Vt 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, Ce 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, Rt as ESCalendarEventDirection, Wt as ESCalendarMonthDayTone, me as ESCardLayout, vt as ESChartLegendSize, Tt as ESChartPieLegendView, de as ESCheckboxColor, fe as ESCheckboxLabelPlacement, ue as ESCheckboxSize, Me as ESChipColor, Ne as ESChipSize, h as ESColorPaletteLayout, Te as ESDropdownBoundary, Ee as ESDropdownPlacement, ce 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, Wr as ESRoadmapStatus, ge as ESSegmentControlShape, _e as ESSegmentControlSize, Qe as ESSelectSearchable, ye as ESTabAppearance, be as ESTabSize, Zt as ESTableCellState, en as ESTableCheckState, Yt as ESTableColumnAlign, Gt as ESTableColumnSticky, Qt as ESTableDropAction, tn as ESTableFooterTone, Kt as ESTableRowColor, Xt as ESTableRowHeightMode, rn as ESTableRowKind, qt as ESTableRowState, Jt as ESTableRowsDragMode, $t as ESTableSortDirection, Oe as ESTagColor, ke as ESTagSize, nt as ESToggleLabelPlacement, rt as ESToggleSize, ie as ESelectionFocusMode, te as ESelectionMode, re as ESelectionOrientation, Pt as EWorkTimeSource, l as MAX_RECENT_COLORS, _ as RECOMMENDED_COLOR_PALETTE, c as SAvatar, C as SAvatarGroup, n as SBadge, Yn as SBanner, D as SButton, le as SButtonGroup, Ft as SCalendarMonth, Lt as SCalendarWeekGrid, he as SCard, At as SChartBar, Ot as SChartBurnup, wt as SChartHorizontalBar, yt as SChartLegend, bt as SChartLine, Dt as SChartMultiLine, Et as SChartPie, jt as SChartProgress, Mt as SChartScatter, Pr as SChartSegmentedBar, St as SChartStackedArea, Ct as SChartStackedBar, Ur as SChartWidget, pe as SCheckbox, Pe as SChip, d as SColorArea, v as SColorPalette, f as SColorPicker, u as SColorValues, zt as SDayTimeline, Ie as SDropdown, Le as SDropdownMenu, se 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, xi as SRoadmap, ve as SSegmentControl, $e as SSelect, xe as STab, nn as STable, Se as STabs, Ae as STag, je as STagGroup, st as STextarea, Xn as SToast, _r as SToastProvider, it as SToggle, Fe as S_DROPDOWN_SHEET_BREAKPOINT, tr as TOAST_AUTO_DURATION_MAX_MS, er as TOAST_AUTO_DURATION_MIN_MS, nr as TOAST_AUTO_DURATION_MS_PER_CHAR, Bt as WORK_TIME_SOURCE_COLOR_VARS, Ht as WORK_TIME_SOURCE_ORDER, Ut as buildWorkTimeLegendItems, rr as computeAutoDuration, we as computeConnectedPosition, Tn as createUiKit, It as formatDurationHM, x as isSameColor, b as normalizeColorValue, y as resolveColorPreview, ee as resolveOwnPropOrGroupedOrFallback, En as setUiKitLocale, Dn as uiKitLocaleEn, On as uiKitLocaleRu, Ke as useFlatTreeList, De as useFloatingOverlay, Ge as useSListEndReached, ne as useSelectionGroup, ae as useSelectionGroupItem, mr as useToast, kn as useUiKitI18n };
|