@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SList/SList.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SList/SList.vue"],"names":[],"mappings":"AA02BA,OAAO,KAAK,EAAE,WAAW,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAA;AAiB9F,QAAA,MAAM,YAAY,GAAK,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC3D,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAA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AAK,mBAAmB,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,GAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,CAAC,GAAG,EAAE,CAAC"}
|
|
@@ -7,6 +7,8 @@ export interface ISListContext extends ISelectionGroupItemContext<string> {
|
|
|
7
7
|
isExpanded: (rowKey: string) => boolean;
|
|
8
8
|
toggleExpanded: (rowKey: string) => void;
|
|
9
9
|
revealRight: () => boolean;
|
|
10
|
+
/** Строки — квадратные кнопки с одной иконкой (rail). */
|
|
11
|
+
iconOnly: () => boolean;
|
|
10
12
|
expandOnClick: () => boolean;
|
|
11
13
|
getItemOptionId: (rowKey: string) => string | undefined;
|
|
12
14
|
usesActiveDescendantNavigation: () => boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../src/components/SList/utils/context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,KAAK,CAAA;AAEvC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,wCAAwC,CAAA;AACxF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAA;AAErE,MAAM,WAAW,aAAc,SAAQ,0BAA0B,CAAC,MAAM,CAAC;IACvE,SAAS,EAAE,MAAM,MAAM,GAAG,SAAS,CAAA;IACnC,YAAY,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI,CAAA;IACjD,UAAU,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,OAAO,CAAA;IACvC,cAAc,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;IACxC,WAAW,EAAE,MAAM,OAAO,CAAA;IAC1B,aAAa,EAAE,MAAM,OAAO,CAAA;IAC5B,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;AAED,eAAO,MAAM,iBAAiB,EAAE,YAAY,CAAC,aAAa,CAA+B,CAAA"}
|
|
@@ -58,6 +58,13 @@ export interface ISListItemProps {
|
|
|
58
58
|
readonly?: boolean;
|
|
59
59
|
/** Скелетон вместо контента. */
|
|
60
60
|
loading?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* Только иконка: квадратная строка-кнопка для свёрнутого меню (rail). Заголовок скрыт визуально
|
|
63
|
+
* и остаётся доступным именем строки и нативной подсказкой (`title`), правая колонка (`right`, например счётчик `SBadge`) — уголком
|
|
64
|
+
* над иконкой. Уровень, `title-action`, `trailing` и `action-end` не показываются. Внутри `SList`
|
|
65
|
+
* берётся из его `iconOnly`.
|
|
66
|
+
*/
|
|
67
|
+
iconOnly?: boolean;
|
|
61
68
|
/** Заголовок; для своей разметки — слот `title`. */
|
|
62
69
|
title?: string;
|
|
63
70
|
/** Подзаголовок; для своей разметки — слот `subtitle`. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SListItem.types.d.ts","sourceRoot":"","sources":["../../../src/components/SListItem/SListItem.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAA;AAEzE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,GAAG,CAAA;AAElC,oBAAY,iBAAiB;IAC3B,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,IAAI,SAAS;IACb,KAAK,UAAU;IACf,OAAO,YAAY;CACpB;AAED;;;;;GAKG;AACH,oBAAY,cAAc;IACxB,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB,gBAAgB,qBAAqB;IACrC,aAAa,kBAAkB;IAC/B,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,IAAI,SAAS;CACd;AAED,MAAM,MAAM,cAAc,GAAG,cAAc,GAAG,GAAG,cAAc,EAAE,CAAA;AAEjE,MAAM,MAAM,kBAAkB,GAAG,O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,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,cAAc,CAAA;CACtB;AAED,MAAM,MAAM,kBAAkB,GAAG,YAAY,CAAC,OAAO,SAAS,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"SListItem.types.d.ts","sourceRoot":"","sources":["../../../src/components/SListItem/SListItem.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAA;AAEzE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,GAAG,CAAA;AAElC,oBAAY,iBAAiB;IAC3B,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,IAAI,SAAS;IACb,KAAK,UAAU;IACf,OAAO,YAAY;CACpB;AAED;;;;;GAKG;AACH,oBAAY,cAAc;IACxB,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB,gBAAgB,qBAAqB;IACrC,aAAa,kBAAkB;IAC/B,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,IAAI,SAAS;CACd;AAED,MAAM,MAAM,cAAc,GAAG,cAAc,GAAG,GAAG,cAAc,EAAE,CAAA;AAEjE,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC,UAAU,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,CAAA;AAElE,MAAM,WAAW,yBAAyB;IACxC,QAAQ,EAAE,OAAO,CAAA;IACjB,QAAQ,EAAE,OAAO,CAAA;CAClB;AAED,MAAM,WAAW,eAAe;IAC9B,6CAA6C;IAC7C,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,6GAA6G;IAC7G,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,0CAA0C;IAC1C,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,yBAAyB;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,iCAAiC;IACjC,OAAO,CAAC,EAAE,iBAAiB,CAAA;IAC3B,uCAAuC;IACvC,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,sEAAsE;IACtE,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,yEAAyE;IACzE,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,4IAA4I;IAC5I,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,wBAAwB;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,yCAAyC;IACzC,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,gCAAgC;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,wCAAwC;IACxC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,gCAAgC;IAChC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,oDAAoD;IACpD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,0DAA0D;IAC1D,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,2DAA2D;IAC3D,QAAQ,CAAC,EAAE,UAAU,CAAA;IACrB,oFAAoF;IACpF,YAAY,CAAC,EAAE,kBAAkB,CAAA;IACjC,8BAA8B;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,+CAA+C;IAC/C,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,kFAAkF;IAClF,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,cAAc,CAAA;CACtB;AAED,MAAM,MAAM,kBAAkB,GAAG,YAAY,CAAC,OAAO,SAAS,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SListItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SListItem/SListItem.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SListItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SListItem/SListItem.vue"],"names":[],"mappings":"AAqdA,OAAO,EAGL,KAAK,yBAAyB,EAC9B,KAAK,eAAe,EAErB,MAAM,mBAAmB,CAAA;AAyC1B,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,OAAO,CAAA;IACrB,WAAW,CAAC,EAAE,MAAM,OAAO,CAAA;IAC3B,KAAK,CAAC,EAAE,MAAM,OAAO,CAAA;IACrB,QAAQ,CAAC,EAAE,MAAM,OAAO,CAAA;IACxB,cAAc,CAAC,EAAE,CAAC,SAAS,EAAE,yBAAyB,KAAK,OAAO,CAAA;IAClE,QAAQ,CAAC,EAAE,CAAC,SAAS,EAAE,yBAAyB,KAAK,OAAO,CAAA;IAC5D,KAAK,CAAC,EAAE,CAAC,SAAS,EAAE,yBAAyB,KAAK,OAAO,CAAA;IACzD,YAAY,CAAC,EAAE,CAAC,SAAS,EAAE,yBAAyB,KAAK,OAAO,CAAA;CACjE,CAAC;AA4gBF,QAAA,MAAM,UAAU;;;;;;;;;;kFAId,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -7,6 +7,11 @@ export declare enum ESSegmentControlSize {
|
|
|
7
7
|
SMALL = "small",
|
|
8
8
|
MEDIUM = "medium"
|
|
9
9
|
}
|
|
10
|
+
/** Форма трека и сегментов: `default` — скругление 4px, `rounded` — «таблетка». */
|
|
11
|
+
export declare enum ESSegmentControlShape {
|
|
12
|
+
DEFAULT = "default",
|
|
13
|
+
ROUNDED = "rounded"
|
|
14
|
+
}
|
|
10
15
|
export interface ISSegmentControlItem {
|
|
11
16
|
/** Значение сегмента для v-model. */
|
|
12
17
|
value: TSSegmentControlValue;
|
|
@@ -32,6 +37,8 @@ export interface ISSegmentControlProps {
|
|
|
32
37
|
items: ISSegmentControlItem[];
|
|
33
38
|
/** Размер сегментов. */
|
|
34
39
|
size?: ESSegmentControlSize;
|
|
40
|
+
/** Форма трека и сегментов. */
|
|
41
|
+
shape?: ESSegmentControlShape;
|
|
35
42
|
/** Трек на всю ширину контейнера, сегменты делят её поровну. */
|
|
36
43
|
fullWidth?: boolean;
|
|
37
44
|
/** Отключает всю группу. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SSegmentControl.types.d.ts","sourceRoot":"","sources":["../../../src/components/SSegmentControl/SSegmentControl.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAA;AAC7D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAElD,OAAO,KAAK,eAAe,MAAM,uBAAuB,CAAA;AAExD,MAAM,MAAM,qBAAqB,GAAG,MAAM,GAAG,MAAM,CAAA;AAEnD,qGAAqG;AACrG,oBAAY,oBAAoB;IAC9B,KAAK,UAAU;IACf,MAAM,WAAW;CAClB;AAED,MAAM,WAAW,oBAAoB;IACnC,qCAAqC;IACrC,KAAK,EAAE,qBAAqB,CAAA;IAC5B,wBAAwB;IACxB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,2CAA2C;IAC3C,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,gCAAgC;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,8EAA8E;IAC9E,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,8BAA8B;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,+CAA+C;IAC/C,IAAI,CAAC,EAAE,MAAM,GAAG,gBAAgB,CAAA;IAChC,iEAAiE;IACjE,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,qDAAqD;IACrD,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,MAAM,WAAW,qBAAqB;IACpC,uBAAuB;IACvB,KAAK,EAAE,oBAAoB,EAAE,CAAA;IAC7B,wBAAwB;IACxB,IAAI,CAAC,EAAE,oBAAoB,CAAA;IAC3B,gEAAgE;IAChE,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,4BAA4B;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,+BAA+B;IAC/B,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,iCAAiC;IACjC,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED,MAAM,MAAM,wBAAwB,GAAG,YAAY,CAAC,OAAO,eAAe,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"SSegmentControl.types.d.ts","sourceRoot":"","sources":["../../../src/components/SSegmentControl/SSegmentControl.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAA;AAC7D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAElD,OAAO,KAAK,eAAe,MAAM,uBAAuB,CAAA;AAExD,MAAM,MAAM,qBAAqB,GAAG,MAAM,GAAG,MAAM,CAAA;AAEnD,qGAAqG;AACrG,oBAAY,oBAAoB;IAC9B,KAAK,UAAU;IACf,MAAM,WAAW;CAClB;AAED,mFAAmF;AACnF,oBAAY,qBAAqB;IAC/B,OAAO,YAAY;IACnB,OAAO,YAAY;CACpB;AAED,MAAM,WAAW,oBAAoB;IACnC,qCAAqC;IACrC,KAAK,EAAE,qBAAqB,CAAA;IAC5B,wBAAwB;IACxB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,2CAA2C;IAC3C,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,gCAAgC;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,8EAA8E;IAC9E,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,8BAA8B;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,+CAA+C;IAC/C,IAAI,CAAC,EAAE,MAAM,GAAG,gBAAgB,CAAA;IAChC,iEAAiE;IACjE,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,qDAAqD;IACrD,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,MAAM,WAAW,qBAAqB;IACpC,uBAAuB;IACvB,KAAK,EAAE,oBAAoB,EAAE,CAAA;IAC7B,wBAAwB;IACxB,IAAI,CAAC,EAAE,oBAAoB,CAAA;IAC3B,+BAA+B;IAC/B,KAAK,CAAC,EAAE,qBAAqB,CAAA;IAC7B,gEAAgE;IAChE,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,4BAA4B;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,+BAA+B;IAC/B,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,iCAAiC;IACjC,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED,MAAM,MAAM,wBAAwB,GAAG,YAAY,CAAC,OAAO,eAAe,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SSegmentControl.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SSegmentControl/SSegmentControl.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SSegmentControl.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SSegmentControl/SSegmentControl.vue"],"names":[],"mappings":"AA2IA,OAAO,EAGL,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC3B,MAAM,yBAAyB,CAAA;AAKhC,KAAK,WAAW,GAAG,qBAAqB,CAAC;AA4FzC,KAAK,gBAAgB,GAAG;IACxB,UAAU,CAAC,EAAE,qBAAqB,CAAC;CAClC,CAAC;AAKF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAuDxD,QAAA,MAAM,YAAY;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { default as SSegmentControl } from './SSegmentControl.vue';
|
|
2
|
-
export { ESSegmentControlSize } from './SSegmentControl.types';
|
|
2
|
+
export { ESSegmentControlShape, ESSegmentControlSize } from './SSegmentControl.types';
|
|
3
3
|
export type { ISSegmentControlItem, ISSegmentControlProps, TSSegmentControlInstance, TSSegmentControlValue, } from './SSegmentControl.types';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SSegmentControl/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAClE,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SSegmentControl/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAClE,OAAO,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAA;AACrF,YAAY,EACV,oBAAoB,EACpB,qBAAqB,EACrB,wBAAwB,EACxB,qBAAqB,GACtB,MAAM,yBAAyB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../SColorPicker-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../SColorPicker-NqSNxcwH.cjs"),t=require("../SColorPalette-CqIA4Qtp.cjs"),n=require("../colorValue-Dda7fKd3.cjs");exports.EColorFormat=t.o,exports.MAX_RECENT_COLORS=e.i,exports.RECOMMENDED_COLOR_PALETTE=t.r,exports.SColorArea=e.r,exports.SColorPicker=e.t,exports.SColorValues=e.n,exports.isSameColor=n.r,exports.resolveColorPreview=n.a;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as e, n as t, r as n, t as r } from "../SColorPicker-
|
|
1
|
+
import { i as e, n as t, r as n, t as r } from "../SColorPicker-BfJD4dt_.js";
|
|
2
2
|
import { o as i, r as a } from "../SColorPalette-OCu-tgZ3.js";
|
|
3
3
|
import { a as o, r as s } from "../colorValue-CSh0chxp.js";
|
|
4
4
|
export { i as EColorFormat, e as MAX_RECENT_COLORS, a as RECOMMENDED_COLOR_PALETTE, n as SColorArea, r as SColorPicker, t as SColorValues, s as isSameColor, o as resolveColorPreview };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../SListItem-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../SListItem-CrAnC2MG.cjs");exports.ESListItemRole=e.n,exports.ESListItemVariant=e.r,exports.SListItem=e.t;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "../SListItem-
|
|
1
|
+
import { n as e, r as t, t as n } from "../SListItem-CQKZw5Uj.js";
|
|
2
2
|
export { e as ESListItemRole, t as ESListItemVariant, n as SListItem };
|
package/dist/entries/list.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../SList-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../SList-CmMkLkdG.cjs");exports.ESListGap=e.a,exports.SList=e.t;
|
package/dist/entries/list.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, t } from "../SList-
|
|
1
|
+
import { a as e, t } from "../SList-T_fgzdb3.js";
|
|
2
2
|
export { e as ESListGap, t as SList };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../SSegmentControl-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../SSegmentControl-jPA19SVO.cjs");exports.ESSegmentControlShape=e.n,exports.ESSegmentControlSize=e.r,exports.SSegmentControl=e.t;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { ESSegmentControlSize, SSegmentControl } from '../components/SSegmentControl';
|
|
1
|
+
export { ESSegmentControlShape, ESSegmentControlSize, SSegmentControl, } from '../components/SSegmentControl';
|
|
2
2
|
export type { ISSegmentControlItem, ISSegmentControlProps, TSSegmentControlInstance, TSSegmentControlValue, } from '../components/SSegmentControl';
|
|
3
3
|
//# sourceMappingURL=segment-control.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"segment-control.d.ts","sourceRoot":"","sources":["../../src/entries/segment-control.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"segment-control.d.ts","sourceRoot":"","sources":["../../src/entries/segment-control.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,oBAAoB,EACpB,eAAe,GAChB,MAAM,+BAA+B,CAAA;AACtC,YAAY,EACV,oBAAoB,EACpB,qBAAqB,EACrB,wBAAwB,EACxB,qBAAqB,GACtB,MAAM,+BAA+B,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../SSegmentControl-
|
|
2
|
-
export { e as
|
|
1
|
+
import { n as e, r as t, t as n } from "../SSegmentControl-BQ8fg3m-.js";
|
|
2
|
+
export { e as ESSegmentControlShape, t as ESSegmentControlSize, n as SSegmentControl };
|
package/dist/entries/select.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../SSelect-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../SSelect-BSbEFqAB.cjs");exports.ESSelectSearchable=e.n,exports.SSelect=e.t;
|
package/dist/entries/select.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../SSelect-
|
|
1
|
+
import { n as e, t } from "../SSelect-DM4-PF5I.js";
|
|
2
2
|
export { e as ESSelectSearchable, t as SSelect };
|
package/dist/entries/table.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../STable-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../STable-CfdGC7jb.cjs");exports.ESTableCellState=e.n,exports.ESTableCheckState=e.r,exports.ESTableColumnAlign=e.i,exports.ESTableColumnSticky=e.a,exports.ESTableDropAction=e.o,exports.ESTableFooterTone=e.s,exports.ESTableRowColor=e.c,exports.ESTableRowHeightMode=e.l,exports.ESTableRowKind=e.u,exports.ESTableRowState=e.d,exports.ESTableRowsDragMode=e.f,exports.ESTableSortDirection=e.p,exports.STable=e.t;
|
package/dist/entries/table.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, c as t, d as n, f as r, i, l as a, n as o, o as s, p as c, r as l, s as u, t as d, u as f } from "../STable-
|
|
1
|
+
import { a as e, c as t, d as n, f as r, i, l as a, n as o, o as s, p as c, r as l, s as u, t as d, u as f } from "../STable-BnS7Ijfz.js";
|
|
2
2
|
export { o as ESTableCellState, l as ESTableCheckState, i as ESTableColumnAlign, e as ESTableColumnSticky, s as ESTableDropAction, u as ESTableFooterTone, t as ESTableRowColor, a as ESTableRowHeightMode, f as ESTableRowKind, n as ESTableRowState, r as ESTableRowsDragMode, c as ESTableSortDirection, d as STable };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../STextarea-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../STextarea-DxjrKM9g.cjs");exports.STextarea=e.t;
|
package/dist/entries/textarea.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../STextarea-
|
|
1
|
+
import { t as e } from "../STextarea-CCnFvaU3.js";
|
|
2
2
|
export { e as STextarea };
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./SBadge-Dn87LB9z.cjs"),t=require("./SAvatar-BQNqFdkk.cjs"),n=require("./SColorPicker-BJjZR52T.cjs"),r=require("./SColorPalette-CqIA4Qtp.cjs"),i=require("./colorValue-Dda7fKd3.cjs"),a=require("./SAvatarGroup-D27squmU.cjs"),o=require("./SButton-CZW6Y8Vw.cjs"),s=require("./useSelectionGroup-NJvi3hNo.cjs"),c=require("./useSelectLink-DZIAhQ2J.cjs"),l=require("./SButtonGroup-DSi8mQSz.cjs"),u=require("./SCheckbox-Dkbk21Id.cjs"),d=require("./SCard-CYPxwmOm.cjs"),f=require("./SSegmentControl-BaD9BK2s.cjs"),p=require("./STab-BkQzKaLY.cjs"),m=require("./STabs-CDNAhgMN.cjs"),h=require("./useFloatingOverlay-CwGCMrig.cjs"),g=require("./STag-qKbkpXjI.cjs"),_=require("./STagGroup-6Z8CKlut.cjs"),v=require("./SChip-DwjDiD7C.cjs"),y=require("./SDropdown-B_nsm3Jf.cjs"),b=require("./SDropdownMenu-k9SxaFVH.cjs"),x=require("./SInput-x0GgJDEY.cjs"),S=require("./SInlineMessage-gjkMiE-W.cjs"),C=require("./SLabel-DLKfepRW.cjs"),w=require("./treeKeyboardNavigation-BOz2SVus.cjs"),T=require("./SListItem-CzfRtRh7.cjs"),E=require("./SList-C43FRAw1.cjs"),D=require("./SSelect-BG4Wh8N9.cjs"),O=require("./SRadio-B9qQ-PEk.cjs"),k=require("./SToggle-BNgLiIrQ.cjs"),A=require("./SInlineInput-D3vCX4QA.cjs"),ee=require("./STextarea-C4qDIp2k.cjs"),j=require("./SPhotoEdit-CoJLP7rt.cjs"),M=require("./useChartInteractivity-Yk7qEYgl.cjs"),N=require("./SChartLegend-DQMLr6yV.cjs"),te=require("./SChartLine-tj-AapTr.cjs"),ne=require("./resolveSeriesPaletteColor-CVEsFs0o.cjs"),re=require("./SChartStackedArea-BJ5HsJzQ.cjs"),ie=require("./SChartStackedBar-Dj6esSCS.cjs"),ae=require("./SChartHorizontalBar-DwY63iRT.cjs"),P=require("./SChartPie-Ddk8r-_I.cjs"),oe=require("./SChartMultiLine-dtd6k59D.cjs"),se=require("./SChartBurnup-9s2KNzCr.cjs"),F=require("./useHasListener-BPgtbbo6.cjs"),ce=require("./SChartBar-BAO2FtIO.cjs"),le=require("./SChartProgress-DozBX6ve.cjs"),ue=require("./SChartScatter-DilWNoz0.cjs"),I=require("./buildWorkTimeLegendItems-DPx5Yma0.cjs"),L=require("./STable-CDGD1gwW.cjs");let R=require("vue"),z=require("@shtabapp/ui-kit-primitives"),de=require("@vueuse/core");var B=[`--s-ui-chart-segmented-bar-palette-1`,`--s-ui-chart-segmented-bar-palette-2`,`--s-ui-chart-segmented-bar-palette-3`,`--s-ui-chart-segmented-bar-palette-4`,`--s-ui-chart-segmented-bar-palette-5`,`--s-ui-chart-segmented-bar-palette-6`,`--s-ui-chart-segmented-bar-palette-7`,`--s-ui-chart-segmented-bar-palette-8`],V=[`--s-ui-chart-segmented-bar-skeleton-palette-1`,`--s-ui-chart-segmented-bar-skeleton-palette-2`,`--s-ui-chart-segmented-bar-skeleton-palette-3`,`--s-ui-chart-segmented-bar-skeleton-palette-4`,`--s-ui-chart-segmented-bar-skeleton-palette-5`,`--s-ui-chart-segmented-bar-skeleton-palette-6`,`--s-ui-chart-segmented-bar-skeleton-palette-7`,`--s-ui-chart-segmented-bar-skeleton-palette-8`],fe=(e,t,n,r=!1)=>ne.t(e,t,n,r,{palette:B,paletteFallback:B[0],skeletonPalette:V,skeletonFallback:V[0]}),H=function(e){return e.INFO_ACCENT=`info-accent`,e.INFO_NORMAL=`info-normal`,e.SUCCESS=`success`,e.WARNING=`warning`,e.DANGER=`danger`,e.BILLING=`billing`,e}({}),U=function(e){return e.HORIZONTAL=`horizontal`,e.VERTICAL=`vertical`,e}({}),W=function(e){return e.ICON=`icon`,e.AVATAR=`avatar`,e}({}),G=function(e){return e.BANNER=`banner`,e.TOAST=`toast`,e}({}),pe={[H.INFO_ACCENT]:z.ESIconName.infoCircle,[H.INFO_NORMAL]:z.ESIconName.infoCircle,[H.SUCCESS]:z.ESIconName.checkCircle,[H.WARNING]:z.ESIconName.alertCircle,[H.DANGER]:z.ESIconName.dangerCircleFill,[H.BILLING]:z.ESIconName.infoCircle},me=(e,t)=>t||pe[e],he=[`role`],ge={class:`s-ui-notification__body`},_e={key:0,class:`s-ui-notification__leftside`},ve={key:0,class:`s-ui-notification__icon`},ye={class:`s-ui-notification__content`},be={class:`s-ui-notification__title-row`},xe={key:0,class:`s-ui-notification__description-block`},Se={key:0,class:`s-ui-notification__description s-ui-typography-label-12-medium`},Ce={key:1,class:`s-ui-notification__actions-stack`},we={key:1,class:`s-ui-notification__actions-row`},K=(0,R.defineComponent)({__name:`SNotification`,props:{type:{default:()=>H.INFO_ACCENT},layout:{default:()=>U.HORIZONTAL},leftside:{default:()=>W.ICON},surface:{default:()=>G.BANNER},title:{},description:{},linkText:{},linkIconRight:{},primaryButtonText:{},secondaryButtonText:{},showPrimaryButton:{type:Boolean,default:!1},prominentPrimaryButton:{type:Boolean,default:!1},closable:{type:Boolean,default:!0},closeAriaLabel:{default:``},icon:{},avatar:{},width:{},maxWidth:{},truncateTitle:{type:Boolean,default:!1}},emits:[`close`,`linkClick`,`primaryAction`,`secondaryAction`],setup(e,{emit:n}){let r=n,i=(0,R.useSlots)(),a=(0,R.computed)(()=>[`s-ui-notification--type-${e.type}`,`s-ui-notification--layout-${e.layout}`,`s-ui-notification--surface-${e.surface}`,{"s-ui-notification--single-line":p.value}]),s=(0,R.computed)(()=>{let t={};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}),c=(0,R.computed)(()=>e.type===H.DANGER?`alert`:`status`),l=(0,R.computed)(()=>me(e.type,e.icon)),u=(0,R.computed)(()=>e.type===H.BILLING),d=(0,R.computed)(()=>!!(e.leftside===W.AVATAR&&e.avatar||e.leftside===W.ICON)),f=(0,R.computed)(()=>!!(e.description||e.linkText||i.description)),p=(0,R.computed)(()=>e.layout===U.HORIZONTAL&&!f.value),m=(0,R.computed)(()=>e.showPrimaryButton&&(e.primaryButtonText||e.secondaryButtonText)),h=(0,R.computed)(()=>e.showPrimaryButton&&(e.primaryButtonText||e.secondaryButtonText)||e.closable),g=(0,R.computed)(()=>e.type===H.BILLING||e.prominentPrimaryButton?o.n.MAJOR:o.n.OUTLINED),_=(0,R.computed)(()=>e.type===H.BILLING?o.i.BILLING:o.i.MAIN),v=()=>{r(`close`)},y=()=>{r(`linkClick`)},b=()=>{r(`primaryAction`)},x=()=>{r(`secondaryAction`)};return(n,r)=>((0,R.openBlock)(),(0,R.createElementBlock)(`div`,{class:(0,R.normalizeClass)([`s-ui-notification`,a.value]),style:(0,R.normalizeStyle)(s.value),role:c.value},[(0,R.createElementVNode)(`div`,ge,[d.value?((0,R.openBlock)(),(0,R.createElementBlock)(`div`,_e,[e.leftside===(0,R.unref)(W).ICON?((0,R.openBlock)(),(0,R.createElementBlock)(`div`,ve,[(0,R.createVNode)((0,R.unref)(z.SIcon),{name:l.value,size:16,billing:u.value},null,8,[`name`,`billing`])])):e.leftside===(0,R.unref)(W).AVATAR&&e.avatar?((0,R.openBlock)(),(0,R.createBlock)((0,R.unref)(t.t),{key:1,name:e.avatar.name,src:e.avatar.src,badge:e.avatar.badge,size:(0,R.unref)(t.o).SIZE_20,showName:!1},null,8,[`name`,`src`,`badge`,`size`])):(0,R.createCommentVNode)(``,!0)])):(0,R.createCommentVNode)(``,!0),(0,R.createElementVNode)(`div`,ye,[(0,R.createElementVNode)(`div`,be,[(0,R.createElementVNode)(`span`,{class:(0,R.normalizeClass)([`s-ui-notification__title s-ui-typography-label-14-medium`,{"s-ui-notification__title--truncated":e.truncateTitle}])},[(0,R.renderSlot)(n.$slots,`title`,{},()=>[(0,R.createTextVNode)((0,R.toDisplayString)(e.title),1)])],2),e.layout===(0,R.unref)(U).VERTICAL&&e.closable?((0,R.openBlock)(),(0,R.createBlock)((0,R.unref)(o.t),{key:0,class:`s-ui-notification__close`,appearance:(0,R.unref)(o.n).BARE,variant:(0,R.unref)(o.i).NEUTRAL,size:(0,R.unref)(o.r).SMALL,"aria-label":e.closeAriaLabel,icon:`closeMini`,onClick:v},null,8,[`appearance`,`variant`,`size`,`aria-label`])):(0,R.createCommentVNode)(``,!0)]),f.value?((0,R.openBlock)(),(0,R.createElementBlock)(`div`,xe,[e.description||(0,R.unref)(i).description?((0,R.openBlock)(),(0,R.createElementBlock)(`span`,Se,[(0,R.renderSlot)(n.$slots,`description`,{},()=>[(0,R.createTextVNode)((0,R.toDisplayString)(e.description),1)])])):(0,R.createCommentVNode)(``,!0),e.linkText?((0,R.openBlock)(),(0,R.createBlock)((0,R.unref)(o.t),{key:1,class:`s-ui-notification__link`,appearance:(0,R.unref)(o.n).BARE,variant:(0,R.unref)(o.i).MAIN,size:(0,R.unref)(o.r).SMALL,iconRight:e.linkIconRight,onClick:y},{default:(0,R.withCtx)(()=>[(0,R.createTextVNode)((0,R.toDisplayString)(e.linkText),1)]),_:1},8,[`appearance`,`variant`,`size`,`iconRight`])):(0,R.createCommentVNode)(``,!0)])):(0,R.createCommentVNode)(``,!0),e.layout===(0,R.unref)(U).VERTICAL&&m.value?((0,R.openBlock)(),(0,R.createElementBlock)(`div`,Ce,[e.showPrimaryButton&&e.primaryButtonText?((0,R.openBlock)(),(0,R.createBlock)((0,R.unref)(o.t),{key:0,appearance:g.value,variant:_.value,size:(0,R.unref)(o.r).SMALL,onClick:b},{default:(0,R.withCtx)(()=>[(0,R.createTextVNode)((0,R.toDisplayString)(e.primaryButtonText),1)]),_:1},8,[`appearance`,`variant`,`size`])):(0,R.createCommentVNode)(``,!0),e.showPrimaryButton&&e.secondaryButtonText?((0,R.openBlock)(),(0,R.createBlock)((0,R.unref)(o.t),{key:1,appearance:(0,R.unref)(o.n).BARE,variant:(0,R.unref)(o.i).NEUTRAL,size:(0,R.unref)(o.r).SMALL,onClick:x},{default:(0,R.withCtx)(()=>[(0,R.createTextVNode)((0,R.toDisplayString)(e.secondaryButtonText),1)]),_:1},8,[`appearance`,`variant`,`size`])):(0,R.createCommentVNode)(``,!0)])):(0,R.createCommentVNode)(``,!0)]),e.layout===(0,R.unref)(U).HORIZONTAL&&h.value?((0,R.openBlock)(),(0,R.createElementBlock)(`div`,we,[e.showPrimaryButton&&e.primaryButtonText?((0,R.openBlock)(),(0,R.createBlock)((0,R.unref)(o.t),{key:0,appearance:g.value,variant:_.value,size:(0,R.unref)(o.r).SMALL,onClick:b},{default:(0,R.withCtx)(()=>[(0,R.createTextVNode)((0,R.toDisplayString)(e.primaryButtonText),1)]),_:1},8,[`appearance`,`variant`,`size`])):(0,R.createCommentVNode)(``,!0),e.showPrimaryButton&&e.secondaryButtonText?((0,R.openBlock)(),(0,R.createBlock)((0,R.unref)(o.t),{key:1,appearance:(0,R.unref)(o.n).OUTLINED,variant:(0,R.unref)(o.i).MAIN,size:(0,R.unref)(o.r).SMALL,onClick:x},{default:(0,R.withCtx)(()=>[(0,R.createTextVNode)((0,R.toDisplayString)(e.secondaryButtonText),1)]),_:1},8,[`appearance`,`variant`,`size`])):(0,R.createCommentVNode)(``,!0),e.layout===(0,R.unref)(U).HORIZONTAL&&e.closable?((0,R.openBlock)(),(0,R.createBlock)((0,R.unref)(o.t),{key:2,class:`s-ui-notification__close`,appearance:(0,R.unref)(o.n).BARE,variant:(0,R.unref)(o.i).NEUTRAL,size:(0,R.unref)(o.r).SMALL,"aria-label":e.closeAriaLabel,icon:`closeMini`,onClick:v},null,8,[`appearance`,`variant`,`size`,`aria-label`])):(0,R.createCommentVNode)(``,!0)])):(0,R.createCommentVNode)(``,!0)])],14,he))}}),Te=(0,R.defineComponent)({__name:`SBanner`,props:{type:{default:()=>H.INFO_ACCENT},layout:{default:()=>U.HORIZONTAL},leftside:{default:()=>W.ICON},elevated:{type:Boolean,default:!1},title:{},description:{},linkText:{},linkIconRight:{},primaryButtonText:{},secondaryButtonText:{},prominentPrimaryButton:{type:Boolean,default:!1},showPrimaryButton:{type:Boolean,default:!1},closable:{type:Boolean,default:!0},closeAriaLabel:{default:``},icon:{},avatar:{},maxWidth:{},truncateTitle:{type:Boolean,default:!1}},emits:[`close`,`linkClick`,`primaryAction`,`secondaryAction`],setup(e,{emit:t}){let n=t,r=(0,R.useSlots)(),i=(0,R.computed)(()=>({"s-ui-banner--elevated":e.elevated}));return(t,a)=>((0,R.openBlock)(),(0,R.createBlock)(K,{class:(0,R.normalizeClass)([`s-ui-banner`,i.value]),"data-qa":`ui:banner`,type:e.type,layout:e.layout,leftside:e.leftside,surface:(0,R.unref)(G).BANNER,title:e.title,description:e.description,linkText:e.linkText,linkIconRight:e.linkIconRight,primaryButtonText:e.primaryButtonText,secondaryButtonText:e.secondaryButtonText,showPrimaryButton:e.showPrimaryButton,prominentPrimaryButton:e.prominentPrimaryButton,closable:e.closable,closeAriaLabel:e.closeAriaLabel,icon:e.icon,avatar:e.avatar,maxWidth:e.maxWidth,truncateTitle:e.truncateTitle,onClose:a[0]||=e=>n(`close`),onLinkClick:a[1]||=e=>n(`linkClick`),onPrimaryAction:a[2]||=e=>n(`primaryAction`),onSecondaryAction:a[3]||=e=>n(`secondaryAction`)},(0,R.createSlots)({_:2},[(0,R.unref)(r).title?{name:`title`,fn:(0,R.withCtx)(()=>[(0,R.renderSlot)(t.$slots,`title`)]),key:`0`}:void 0,(0,R.unref)(r).description?{name:`description`,fn:(0,R.withCtx)(()=>[(0,R.renderSlot)(t.$slots,`description`)]),key:`1`}:void 0]),1032,[`class`,`type`,`layout`,`leftside`,`surface`,`title`,`description`,`linkText`,`linkIconRight`,`primaryButtonText`,`secondaryButtonText`,`showPrimaryButton`,`prominentPrimaryButton`,`closable`,`closeAriaLabel`,`icon`,`avatar`,`maxWidth`,`truncateTitle`]))}}),q=(0,R.defineComponent)({__name:`SToast`,props:{type:{default:()=>H.INFO_ACCENT},layout:{default:()=>U.HORIZONTAL},leftside:{default:()=>W.ICON},title:{},description:{},linkText:{},primaryButtonText:{},secondaryButtonText:{},showPrimaryButton:{type:Boolean,default:!1},closable:{type:Boolean,default:!0},closeAriaLabel:{default:``},icon:{},avatar:{},width:{},truncateTitle:{type:Boolean,default:!1}},emits:[`close`,`linkClick`,`primaryAction`,`secondaryAction`],setup(e,{emit:t}){let n=t,r=(0,R.useSlots)(),i=(0,R.computed)(()=>e.width??360);return(t,a)=>((0,R.openBlock)(),(0,R.createBlock)(K,{class:`s-ui-toast`,"data-qa":`ui:toast`,type:e.type,layout:e.layout,leftside:e.leftside,surface:(0,R.unref)(G).TOAST,title:e.title,description:e.description,linkText:e.linkText,primaryButtonText:e.primaryButtonText,secondaryButtonText:e.secondaryButtonText,showPrimaryButton:e.showPrimaryButton,closable:e.closable,closeAriaLabel:e.closeAriaLabel,icon:e.icon,avatar:e.avatar,width:i.value,truncateTitle:e.truncateTitle,onClose:a[0]||=e=>n(`close`),onLinkClick:a[1]||=e=>n(`linkClick`),onPrimaryAction:a[2]||=e=>n(`primaryAction`),onSecondaryAction:a[3]||=e=>n(`secondaryAction`)},(0,R.createSlots)({_:2},[(0,R.unref)(r).title?{name:`title`,fn:(0,R.withCtx)(()=>[(0,R.renderSlot)(t.$slots,`title`)]),key:`0`}:void 0,(0,R.unref)(r).description?{name:`description`,fn:(0,R.withCtx)(()=>[(0,R.renderSlot)(t.$slots,`description`)]),key:`1`}:void 0]),1032,[`type`,`layout`,`leftside`,`surface`,`title`,`description`,`linkText`,`primaryButtonText`,`secondaryButtonText`,`showPrimaryButton`,`closable`,`closeAriaLabel`,`icon`,`avatar`,`width`,`truncateTitle`]))}}),Ee=.05,De=[`data-mounted`,`data-front`,`data-expanded`,`data-removed`,`data-visible`],Oe=(0,R.defineComponent)({__name:`SToastProviderToast`,props:{index:{},expanded:{type:Boolean},frontToastHeight:{},stackPeek:{},removed:{type:Boolean},visible:{type:Boolean},offsetY:{}},emits:[`heightChange`],setup(e,{emit:t}){let n=t,r=(0,R.ref)(null),i=(0,R.ref)(0),a=(0,R.ref)(!1),o=(0,R.computed)(()=>e.index===0),s=(0,R.computed)(()=>1-e.index*Ee),c=(0,R.computed)(()=>({"--s-ui-toast-provider-toasts-before":String(e.index),"--s-ui-toast-provider-lift-amount":`${e.stackPeek*-1}px`,"--s-ui-toast-provider-front-toast-height":`${e.frontToastHeight}px`,"--s-ui-toast-provider-offset-y":`${e.offsetY}px`,"--s-ui-toast-provider-initial-height":`${i.value}px`,"--s-ui-toast-provider-stack-scale":String(s.value),zIndex:String(1e3-e.index)}));return(0,de.useResizeObserver)(r,e=>{let t=e[0]?.contentRect.height??0;t!==i.value&&(i.value=t,n(`heightChange`,t))}),(0,R.onMounted)(()=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{a.value=!0})})}),(t,n)=>((0,R.openBlock)(),(0,R.createElementBlock)(`div`,{class:`s-ui-toast-provider__toast`,"data-mounted":a.value,"data-front":o.value,"data-expanded":e.expanded,"data-removed":e.removed,"data-visible":e.visible,style:(0,R.normalizeStyle)(c.value)},[(0,R.createElementVNode)(`div`,{ref_key:`contentRef`,ref:r,class:`s-ui-toast-provider__toast-content`},[(0,R.renderSlot)(t.$slots,`default`)],512)],12,De))}}),J=4e3,ke=1e4,Ae=50,je=(e,t)=>{let n=J+(e.length+(t?.length??0))*50;return n>1e4?ke:n},Y=(0,R.shallowRef)([]),X=new Map,Me=0,Ne={type:H.INFO_ACCENT,layout:U.HORIZONTAL,leftside:W.ICON,showPrimaryButton:!1,closable:!0},Pe=()=>`toast-${Date.now()}-${++Me}`,Z=e=>{let t=X.get(e);t&&(window.clearTimeout(t),X.delete(e))},Fe=e=>{Z(e.id);let t=e.duration===void 0?je(e.title,e.description):e.duration;if(t>0){let n=window.setTimeout(()=>{Ie(e.id)},t);X.set(e.id,n)}},Ie=e=>{let t=Y.value.findIndex(t=>t.id===e);if(t===-1)return;let n=Y.value[t];n&&(Z(e),n.onClose&&n.onClose(),Y.value=Y.value.filter(t=>t.id!==e))},Le=()=>{X.forEach(e=>window.clearTimeout(e)),X.clear(),Y.value=[]},Re=e=>e.length<=3?e:(e.slice(3).forEach(e=>{Z(e.id)}),e.slice(0,3)),ze=e=>{let t=e.id??Pe(),n={...Ne,...e,id:t},r=Y.value.findIndex(e=>e.id===t);if(r>-1){let e=[...Y.value];e[r]=n,Y.value=Re(e)}else Y.value=Re([n,...Y.value]);return Fe(n),t},Be=(e,t)=>{let n=Y.value.findIndex(t=>t.id===e);if(n===-1)return;let r=Y.value[n];if(!r)return;let i={...r,...t,id:r.id},a=[...Y.value];a[n]=i,Y.value=a,Fe(i)},Ve=()=>({toasts:Y,show:ze,hide:Ie,hideAll:Le,update:Be}),He={class:`s-ui-toast-provider__announcer`,role:`status`,"aria-atomic":`true`},Ue={class:`s-ui-toast-provider__announcer`,role:`alert`,"aria-atomic":`true`},We=(0,R.defineComponent)({__name:`SToastProvider`,setup(e){let{toasts:t,hide:n}=Ve(),r=(0,R.computed)(()=>t.value.slice(0,3)),i=(0,R.ref)(``),a=(0,R.ref)(``),o=new Set,s=e=>e.flatMap(e=>[e.title,e.description??``]).filter(Boolean).join(`. `),c=async(e,t)=>{t&&(e.value=``,await(0,R.nextTick)(),e.value=t)};(0,R.watch)(r,async e=>{let n=e.filter(e=>!o.has(e.id)),r=new Set(t.value.map(e=>e.id));o.forEach(e=>{r.has(e)||o.delete(e)}),n.forEach(e=>o.add(e.id));let l=n.filter(e=>e.type===H.DANGER),u=n.filter(e=>e.type!==H.DANGER);await Promise.all([c(a,s(l)),c(i,s(u))])});let l=(0,R.ref)(!1),u=(0,R.shallowRef)({}),d=(0,R.ref)(new Set),f=(0,R.computed)(()=>t.value[0]??null),p=(0,R.computed)(()=>f.value?u.value[f.value.id]??0:0),m=(0,R.ref)(0),h=(0,R.computed)(()=>p.value>0?p.value:m.value);(0,R.watch)(p,e=>{e>0&&(m.value=e)});let g=(0,R.computed)(()=>{if(r.value.length===0)return{};if(l.value)return{height:`${r.value.reduce((e,t,n)=>{let r=u.value[t.id]??0,i=n>0?4:0;return e+r+i},0)}px`};let e=Math.min(r.value.length-1,2)*10;return{height:`${h.value+e}px`}}),_=e=>{let t=0;for(let n=0;n<e;n+=1){let e=r.value[n];e&&(t+=(u.value[e.id]??0)+4)}return t},v=e=>d.value.has(e),y=()=>{r.value.length>1&&(l.value=!0)},b=()=>{l.value=!1},x=(e,t)=>{u.value={...u.value,[e]:t}},S=e=>{d.value.has(e)||(d.value=new Set([...d.value,e]),window.setTimeout(()=>{n(e);let t=new Set(d.value);t.delete(e),d.value=t;let r={...u.value};delete r[e],u.value=r},200))},C=e=>{e.onLinkClick&&e.onLinkClick()},w=e=>{e.onPrimaryAction&&e.onPrimaryAction(e.id)},T=e=>{e.onSecondaryAction&&e.onSecondaryAction()};return(e,t)=>((0,R.openBlock)(),(0,R.createBlock)(R.Teleport,{to:`body`},[(0,R.createElementVNode)(`div`,{class:`s-ui-toast-provider`,onMouseenter:y,onMouseleave:b},[(0,R.createElementVNode)(`div`,He,(0,R.toDisplayString)(i.value),1),(0,R.createElementVNode)(`div`,Ue,(0,R.toDisplayString)(a.value),1),r.value.length>0?((0,R.openBlock)(),(0,R.createElementBlock)(`div`,{key:0,class:`s-ui-toast-provider__list`,style:(0,R.normalizeStyle)(g.value)},[((0,R.openBlock)(!0),(0,R.createElementBlock)(R.Fragment,null,(0,R.renderList)(r.value,(t,n)=>((0,R.openBlock)(),(0,R.createBlock)(Oe,{key:t.id,index:n,expanded:l.value,"front-toast-height":h.value,"stack-peek":(0,R.unref)(10),removed:v(t.id),visible:n<(0,R.unref)(3),"offset-y":_(n),onHeightChange:e=>x(t.id,e)},{default:(0,R.withCtx)(()=>[(0,R.renderSlot)(e.$slots,`toast`,{toast:t},()=>[t.component?((0,R.openBlock)(),(0,R.createBlock)((0,R.resolveDynamicComponent)(t.component),(0,R.mergeProps)({key:0,ref_for:!0},t.componentProps,{toast:t,onClose:e=>S(t.id)}),null,16,[`toast`,`onClose`])):((0,R.openBlock)(),(0,R.createBlock)((0,R.unref)(q),{key:1,role:`presentation`,type:t.type,layout:t.layout,leftside:t.leftside,title:t.title,description:t.description,linkText:t.linkText,primaryButtonText:t.primaryButtonText,secondaryButtonText:t.secondaryButtonText,showPrimaryButton:t.showPrimaryButton,closable:t.closable,closeAriaLabel:t.closeAriaLabel,icon:t.icon,avatar:t.avatar,width:t.width,truncateTitle:t.truncateTitle,onClose:e=>S(t.id),onLinkClick:e=>C(t),onPrimaryAction:e=>w(t),onSecondaryAction:e=>T(t)},null,8,[`type`,`layout`,`leftside`,`title`,`description`,`linkText`,`primaryButtonText`,`secondaryButtonText`,`showPrimaryButton`,`closable`,`closeAriaLabel`,`icon`,`avatar`,`width`,`truncateTitle`,`onClose`,`onLinkClick`,`onPrimaryAction`,`onSecondaryAction`]))])]),_:2},1032,[`index`,`expanded`,`front-toast-height`,`stack-peek`,`removed`,`visible`,`offset-y`,`onHeightChange`]))),128))],4)):(0,R.createCommentVNode)(``,!0)],32)]))}}),Ge=4,Ke=4,qe=1,Je=`400 12px var(--s-ui-font-family-label)`,Ye=4,Xe=.5,Ze=(e,t,n,r,i,a)=>{let o=Math.min(a,r/2,i/2);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()},Qe=e=>{let t=e.getProps([`x`,`y`,`base`],!0),n=Number(t.x),r=Number(t.y),i=Number(t.base);return!Number.isFinite(n)||!Number.isFinite(r)||!Number.isFinite(i)?null:{left:Math.min(i,n),width:Math.abs(n-i),centerY:r}},$e=(e,t,n,r,i)=>{let a=Qe(t);if(!a)return;let o=i?i(n):`${n}`,s=e.measureText(o).width+Ge*2;if(a.width<s+Ye*2)return;let c=a.left+a.width/2;Ze(e,c-s/2,a.centerY-20/2,s,20,Ke),e.fillStyle=r.background,e.fill(),e.lineWidth=qe,e.strokeStyle=r.border,e.stroke(),e.fillStyle=r.text,e.fillText(o,c,a.centerY)},et=(e,t)=>({id:`segmentedBarBadge`,afterDatasetsDraw(n){let r={background:M.S(M.D.pieBadgeBackground,e),border:M.S(M.D.pieBadgeBorder,e),text:M.S(M.D.pieBadgeText,e)},{ctx:i}=n;i.save(),i.font=Je,i.textAlign=`center`,i.textBaseline=`middle`;let a=M.s(n);n.data.datasets.forEach((e,o)=>{let s=n.getDatasetMeta(o)?.data[0],c=e.data[0];s&&typeof c==`number`&&c>0&&(i.globalAlpha=a!==null&&a.datasetIndex!==o?Xe:1,$e(i,s,c,r,t))}),i.restore()}}),tt=40,nt=4,rt=1,it=[`mousemove`,`mouseout`,`click`,`touchstart`,`touchmove`],at=({segments:e,segmentColors:t,colorHostElement:n,skeleton:r=!1,formatValue:i,onSegmentClick:a,onSegmentHover:o,resolveTooltipLines:s})=>{if(e.length===0)return null;let c=M.S(`--s-ui-color-surface-primary`,n),l=e.reduce((e,t)=>e+t.value,0),u=M.r({kind:`series`,skeleton:r,colorHostElement:n,onIndexClick:a,onHoverIndexChange:o});return{type:`bar`,data:{labels:[``],datasets:e.map((e,n)=>({label:e.label,data:[e.value],backgroundColor:t[n],hoverBackgroundColor:t[n],borderColor:c,borderWidth:{left:rt,right:rt},borderSkipped:!1,borderRadius:nt,barThickness:tt,stack:`track`}))},options:{indexAxis:`y`,responsive:!0,maintainAspectRatio:!1,layout:{padding:0},events:r?[]:it,onHover:u.onHover,onClick:u.onClick,hover:r?void 0:{mode:`nearest`,intersect:!0},elements:r?void 0:{bar:{hoverBorderColor:c}},plugins:{legend:{display:!1},tooltip:{enabled:!r&&s!==void 0,backgroundColor:M.S(M.D.tooltipBackground,n),titleColor:M.S(M.D.tooltipText,n),bodyColor:M.S(M.D.tooltipText,n),displayColors:!1,callbacks:{title:()=>``,label:e=>s?.(e.datasetIndex)??[]}}},scales:{x:{display:!1,stacked:!0,min:0,max:l},y:{display:!1,stacked:!0}}},plugins:[...r?[]:[et(n,i)],...u.plugins]}},ot=[4,1,2,1,3,1,2,1].map((e,t)=>({label:`Series ${t+1}`,value:e})),st=(0,R.defineComponent)({__name:`SChartSegmentedBar`,props:(0,R.mergeModels)({segments:{default:()=>[]},showLegend:{type:Boolean,default:!0},loading:{type:Boolean,default:!1},formatValue:{type:Function},selectable:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1},legendSize:{default:()=>N.n.SMALL},formatTooltip:{type:Function}},{selectedIndex:{default:null},selectedIndexModifiers:{},selectedIndexes:{default:()=>[]},selectedIndexesModifiers:{}}),emits:(0,R.mergeModels)([`segmentClick`],[`update:selectedIndex`,`update:selectedIndexes`]),setup(e,{expose:t,emit:n}){let r=(0,R.useModel)(e,`selectedIndex`),i=(0,R.useModel)(e,`selectedIndexes`),a=n,o=M.w,s=(0,R.useTemplateRef)(`chartRootRef`),c=(0,R.useTemplateRef)(`chartCanvasRef`),l=(0,R.computed)(()=>e.loading?ot:e.segments),u=(0,R.computed)(()=>l.value.map((t,n)=>fe(n,s.value,t.fillColor,e.loading))),d=(0,R.computed)(()=>l.value.map((e,t)=>({segment:e,segmentIndex:t})).filter(({segment:e})=>e.value>0)),f=(0,R.computed)(()=>d.value.map(({segment:e})=>e)),p=(0,R.computed)(()=>d.value.map(({segmentIndex:e})=>_.value&&!i.value.includes(e)?M.c(s.value):u.value[e]??``)),m=(0,R.computed)(()=>{let e=new Map;return d.value.forEach(({segmentIndex:t},n)=>{e.set(t,n)}),e}),h=(0,R.ref)(null),g=t=>{if(e.multiple){i.value=i.value.includes(t)?i.value.filter(e=>e!==t):[...i.value,t];return}r.value=r.value===t?null:t},_=(0,R.computed)(()=>e.selectable&&e.multiple&&i.value.length>0),v=t=>{let n=d.value[t];n&&(a(`segmentClick`,n.segmentIndex,n.segment),e.selectable&&g(n.segmentIndex))},y=e=>{h.value=e===null?null:d.value[e]?.segmentIndex??null},b=F.t(`onSegmentClick`),x=t=>{let n=d.value[t];return n&&e.formatTooltip?e.formatTooltip(n.segment,n.segmentIndex):[]},S=(0,R.computed)(()=>e.selectable?e.multiple?h.value:h.value??r.value:null),C=(0,R.computed)(()=>_.value&&h.value===null?i.value:[]),w=(0,R.computed)(()=>at({segments:f.value,segmentColors:p.value,colorHostElement:s.value,skeleton:e.loading,formatValue:e.formatValue,onSegmentClick:e.selectable||b()?v:void 0,onSegmentHover:e.selectable?y:void 0,resolveTooltipLines:e.formatTooltip?x:void 0})),T=(0,R.computed)(()=>l.value.map((e,t)=>({label:e.label,color:u.value[t]??``}))),{chartInstance:E}=M.n({canvasRef:c,config:w,enabled:(0,R.computed)(()=>e.loading||f.value.length>0)}),{exportImage:D,handleLegendItemHover:O,pinElement:k}=M.t({chartInstance:E,canvasRef:c,colorHostElement:s}),A=e=>e===null?null:m.value.get(e)??null,ee=t=>{e.selectable&&(h.value=t),O(A(t))};return(0,R.watch)([E,r],()=>{e.selectable&&!e.loading&&k(A(r.value))}),t({exportImage:D}),(t,n)=>((0,R.openBlock)(),(0,R.createElementBlock)(`div`,{ref_key:`chartRootRef`,ref:s,class:(0,R.normalizeClass)([`s-ui-chart-segmented-bar`,{"s-ui-chart-segmented-bar--skeleton":e.loading}]),"data-qa":`ui:chart-segmented-bar`},[(0,R.createElementVNode)(`div`,{class:`s-ui-chart-segmented-bar__canvas-wrap`,onMouseleave:n[0]||=e=>y(null)},[(0,R.createVNode)((0,R.unref)(M.C),{loading:e.loading,type:(0,R.unref)(o).CARTESIAN},{default:(0,R.withCtx)(()=>[(0,R.createElementVNode)(`canvas`,{ref_key:`chartCanvasRef`,ref:c,class:`s-ui-chart-segmented-bar__canvas`},null,512)]),_:1},8,[`loading`,`type`])],32),e.showLegend&&T.value.length?((0,R.openBlock)(),(0,R.createBlock)((0,R.unref)(N.t),{key:0,items:T.value,disabled:e.loading,interactive:!e.loading,size:e.legendSize,selectable:e.selectable&&!e.loading,"active-index":S.value,"active-indexes":C.value,onItemHover:ee,onItemClick:g},null,8,[`items`,`disabled`,`interactive`,`size`,`selectable`,`active-index`,`active-indexes`])):(0,R.createCommentVNode)(``,!0)],2))}}),ct={key:0,class:`s-ui-chart-widget__header`},lt={key:0,class:`s-ui-chart-widget__title-skeleton`,"aria-hidden":`true`},ut={key:1,class:`s-ui-chart-widget__heading`},dt={class:`s-ui-chart-widget__title s-ui-typography-label-16-medium`},ft={key:0,class:`s-ui-chart-widget__subtitle s-ui-typography-body-12-regular`},pt={class:`s-ui-chart-widget__controls`},mt={key:1,class:`s-ui-chart-widget__content`},ht={key:2,class:`s-ui-chart-widget__footer`},gt=(0,R.defineComponent)({__name:`SChartWidget`,props:(0,R.mergeModels)({title:{default:``},subtitle:{default:``},collapsible:{type:Boolean,default:!1},hideContentWhenCollapsed:{type:Boolean,default:!0},loading:{type:Boolean,default:!1}},{collapsed:{type:Boolean,default:!1},collapsedModifiers:{}}),emits:[`update:collapsed`],setup(e){let t=(0,R.useModel)(e,`collapsed`),n=(0,R.useSlots)(),{t:r}=(0,z.useUiKitI18n)(),i=(0,R.computed)(()=>!!e.subtitle||!!n.subtitle),a=(0,R.computed)(()=>!!e.title||!!n.title||i.value||!!n.actions||e.collapsible),s=(0,R.computed)(()=>!!n.footer),c=(0,R.computed)(()=>!t.value||!e.collapsible||!e.hideContentWhenCollapsed),l=(0,R.computed)(()=>r(t.value?`chartWidget.expand`:`chartWidget.collapse`));return(n,r)=>((0,R.openBlock)(),(0,R.createElementBlock)(`div`,{class:(0,R.normalizeClass)([`s-ui-chart-widget`,{"s-ui-chart-widget--skeleton":e.loading}]),"data-qa":`ui:chart-widget`},[a.value?((0,R.openBlock)(),(0,R.createElementBlock)(`div`,ct,[e.loading?((0,R.openBlock)(),(0,R.createElementBlock)(`span`,lt)):((0,R.openBlock)(),(0,R.createElementBlock)(`span`,ut,[(0,R.createElementVNode)(`span`,dt,[(0,R.renderSlot)(n.$slots,`title`,{},()=>[(0,R.createTextVNode)((0,R.toDisplayString)(e.title),1)])]),i.value?((0,R.openBlock)(),(0,R.createElementBlock)(`span`,ft,[(0,R.renderSlot)(n.$slots,`subtitle`,{},()=>[(0,R.createTextVNode)((0,R.toDisplayString)(e.subtitle),1)])])):(0,R.createCommentVNode)(``,!0)])),(0,R.createElementVNode)(`div`,pt,[(0,R.renderSlot)(n.$slots,`actions`),e.collapsible?((0,R.openBlock)(),(0,R.createBlock)((0,R.unref)(o.t),{key:0,appearance:(0,R.unref)(o.n).OUTLINED,variant:(0,R.unref)(o.i).NEUTRAL,size:(0,R.unref)(o.r).SMALL,icon:t.value?(0,R.unref)(z.ESIconName).chevronDown:(0,R.unref)(z.ESIconName).chevronUp,"aria-label":l.value,"aria-expanded":!t.value,onClick:r[0]||=e=>t.value=!t.value},null,8,[`appearance`,`variant`,`size`,`icon`,`aria-label`,`aria-expanded`])):(0,R.createCommentVNode)(``,!0)])])):(0,R.createCommentVNode)(``,!0),c.value?((0,R.openBlock)(),(0,R.createElementBlock)(`div`,mt,[(0,R.renderSlot)(n.$slots,`default`)])):(0,R.createCommentVNode)(``,!0),s.value?((0,R.openBlock)(),(0,R.createElementBlock)(`div`,ht,[(0,R.renderSlot)(n.$slots,`footer`)])):(0,R.createCommentVNode)(``,!0)],2))}}),_t=function(e){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}({}),vt=/^(\d{4})-(\d{2})-(\d{2})/,Q=e=>{if(e instanceof Date)return Number.isNaN(e.getTime())?null:{year:e.getFullYear(),month:e.getMonth(),day:e.getDate()};let t=vt.exec(e);return t?{year:Number(t[1]),month:Number(t[2])-1,day:Number(t[3])}:null},yt=(e,t)=>new Date(e,t+1,0).getDate(),bt=12,$=(e,t,n=!1)=>{if(e.year<t)return 0;if(e.year>t)return 100;let r=yt(e.year,e.month),i=n?e.day:e.day-1;return(e.month+i/r)/bt*100},xt=e=>{let t=new Intl.DateTimeFormat(e,{month:`long`});return Array.from({length:bt},(n,r)=>{let i=t.format(new Date(2e3,r,1));return i.charAt(0).toLocaleUpperCase(e)+i.slice(1)})},St=e=>Math.min(100,Math.max(0,e)),Ct=(e,t,n,r,i)=>e.flatMap(e=>{let a=Q(e.date);if(!a||a.year!==n)return[];let o=$(a,n,!0),s=i>0?St((o-r)/i*100):0;return[{milestone:e,status:e.status??t,offset:s}]}),wt=(e,t)=>e.flatMap(e=>{let n=Q(e.start),r=Q(e.end);if(!n||!r||n.year>t||r.year<t)return[];let i=$(n,t),a=$(r,t,!0);if(a<=i)return[];let o=e.status??_t.ON_PLAN,s=a-i;return[{item:e,status:o,left:i,width:s,progress:e.progress===void 0?null:St(Math.round(e.progress)),milestones:Ct(e.milestones??[],o,t,i,s)}]}),Tt=[`aria-busy`],Et={class:`s-ui-roadmap__ruler`},Dt={class:`s-ui-roadmap__year`},Ot={class:`s-ui-roadmap__months`},kt={class:`s-ui-roadmap__body`},At={class:`s-ui-roadmap__grid`,"aria-hidden":`true`},jt={key:1,class:`s-ui-roadmap__rows`},Mt={class:`s-ui-roadmap__row`},Nt={key:2,class:`s-ui-roadmap__rows`},Pt=[`role`,`tabindex`,`onClick`,`onKeydown`],Ft={class:`s-ui-roadmap__card-header`},It={class:`s-ui-roadmap__card-title`},Lt={class:`s-ui-roadmap__card-track`},Rt=[`title`,`aria-label`,`onClick`],zt={key:0,class:`s-ui-roadmap__card-progress`},Bt={class:`s-ui-roadmap__card-percent`},Vt={key:3,class:`s-ui-roadmap__empty`},Ht=3.8,Ut=39.6,Wt=16,Gt=16,Kt=(0,R.defineComponent)({__name:`SRoadmap`,props:{items:{default:()=>[]},year:{},today:{},loading:{type:Boolean,default:!1},itemActionLabel:{},milestoneActionLabel:{}},emits:[`itemClick`,`milestoneClick`],setup(e,{emit:t}){let n=t,r=Wt/2,i=z.ESIconName.stageFill,a=z.ESIconName.milestoneFill,o=z.ESProgressBarSize.SMALL,s=z.ESSkeletonType.S_ROADMAP_CARD,c={insetInlineStart:`${Ht}%`,inlineSize:`${Ut}%`},{t:l,locale:u}=(0,z.useUiKitI18n)(),d=F.t(`onItemClick`),f=F.t(`onMilestoneClick`),p=(0,R.ref)(null),m=(0,R.computed)(()=>d()?e.itemActionLabel:void 0),h=(0,R.computed)(()=>f()?e.milestoneActionLabel:void 0),g=(0,R.computed)(()=>p.value?{insetInlineStart:`${p.value.x}px`,insetBlockStart:`${p.value.y+Gt}px`}:void 0),_=(e,t)=>{p.value=e?{text:e,x:t.clientX,y:t.clientY}:null},v=()=>{p.value=null},y=(0,R.computed)(()=>Q(e.today??new Date)),b=(0,R.computed)(()=>e.year??y.value?.year??new Date().getFullYear()),x=(0,R.computed)(()=>y.value?.year===b.value),S=(0,R.computed)(()=>[`s-ui-roadmap`,{"s-ui-roadmap--loading":e.loading}]),C=(0,R.computed)(()=>xt(String((0,R.toValue)(u))).map((e,t)=>({index:t,label:e,classes:[`s-ui-roadmap__month`,{"s-ui-roadmap__month--current":x.value&&y.value?.month===t}]}))),w=(0,R.computed)(()=>!x.value||!y.value?null:{insetInlineStart:`${$(y.value,b.value)}%`}),T=(0,R.computed)(()=>wt(e.items,b.value).map(e=>({key:e.item.id,row:e,role:d()?`button`:void 0,tabindex:d()?0:void 0,progressLabel:l(`roadmap.progress`,{value:String(e.progress??0)}),cardClasses:[`s-ui-roadmap__card`,`s-ui-roadmap__card--status-${e.status}`,{"s-ui-roadmap__card--clickable":d()}],cardStyle:{insetInlineStart:`${e.left}%`,inlineSize:`${e.width}%`},milestones:e.milestones.map(e=>({key:e.milestone.id,placement:e,title:l(`roadmap.milestone`,{title:e.milestone.title}),nativeTitle:h.value?void 0:l(`roadmap.milestone`,{title:e.milestone.title}),classes:[`s-ui-roadmap__milestone`,`s-ui-roadmap__milestone--status-${e.status}`],style:{insetInlineStart:`clamp(0px, calc(${e.offset}% - ${r}px), calc(100% - ${Wt}px))`}}))}))),E=e=>{n(`itemClick`,e)},D=(e,t)=>{n(`milestoneClick`,e,t)};return(t,n)=>((0,R.openBlock)(),(0,R.createElementBlock)(`div`,{class:(0,R.normalizeClass)(S.value),"data-qa":`ui:roadmap`,"aria-busy":e.loading},[(0,R.createElementVNode)(`div`,Et,[(0,R.createElementVNode)(`div`,Dt,(0,R.toDisplayString)(b.value),1),(0,R.createElementVNode)(`ol`,Ot,[((0,R.openBlock)(!0),(0,R.createElementBlock)(R.Fragment,null,(0,R.renderList)(C.value,e=>((0,R.openBlock)(),(0,R.createElementBlock)(`li`,{key:e.index,class:(0,R.normalizeClass)(e.classes)},(0,R.toDisplayString)(e.label),3))),128))])]),(0,R.createElementVNode)(`div`,kt,[(0,R.createElementVNode)(`div`,At,[((0,R.openBlock)(!0),(0,R.createElementBlock)(R.Fragment,null,(0,R.renderList)(C.value,e=>((0,R.openBlock)(),(0,R.createElementBlock)(`span`,{key:e.index,class:`s-ui-roadmap__grid-column`}))),128))]),w.value?((0,R.openBlock)(),(0,R.createElementBlock)(`div`,{key:0,class:`s-ui-roadmap__today`,style:(0,R.normalizeStyle)(w.value),"aria-hidden":`true`},[...n[2]||=[(0,R.createElementVNode)(`span`,{class:`s-ui-roadmap__today-point`},null,-1)]],4)):(0,R.createCommentVNode)(``,!0),e.loading?((0,R.openBlock)(),(0,R.createElementBlock)(`ul`,jt,[(0,R.createElementVNode)(`li`,Mt,[(0,R.createElementVNode)(`div`,{class:`s-ui-roadmap__card s-ui-roadmap__card--skeleton`,style:c,"aria-hidden":`true`},[(0,R.createVNode)((0,R.unref)(z.SSkeleton),{class:`s-ui-roadmap__card-skeleton`,type:(0,R.unref)(s)},null,8,[`type`])])])])):T.value.length?((0,R.openBlock)(),(0,R.createElementBlock)(`ul`,Nt,[((0,R.openBlock)(!0),(0,R.createElementBlock)(R.Fragment,null,(0,R.renderList)(T.value,e=>((0,R.openBlock)(),(0,R.createElementBlock)(`li`,{key:e.key,class:`s-ui-roadmap__row`},[(0,R.createElementVNode)(`div`,{class:(0,R.normalizeClass)(e.cardClasses),style:(0,R.normalizeStyle)(e.cardStyle),role:e.role,tabindex:e.tabindex,onClick:t=>E(e.row.item),onKeydown:(0,R.withKeys)(t=>E(e.row.item),[`enter`]),onPointermove:n[1]||=e=>_(m.value,e),onPointerleave:v},[(0,R.createElementVNode)(`div`,Ft,[(0,R.renderSlot)(t.$slots,`item-leading`,{item:e.row.item}),(0,R.createElementVNode)(`span`,It,(0,R.toDisplayString)(e.row.item.title),1)]),(0,R.createElementVNode)(`div`,Lt,[(0,R.createVNode)((0,R.unref)(z.SIcon),{class:`s-ui-roadmap__stage-icon`,name:(0,R.unref)(i),size:16},null,8,[`name`]),((0,R.openBlock)(!0),(0,R.createElementBlock)(R.Fragment,null,(0,R.renderList)(e.milestones,t=>((0,R.openBlock)(),(0,R.createElementBlock)(`button`,{key:t.key,type:`button`,class:(0,R.normalizeClass)(t.classes),style:(0,R.normalizeStyle)(t.style),title:t.nativeTitle,"aria-label":t.title,onClick:(0,R.withModifiers)(n=>D(t.placement.milestone,e.row.item),[`stop`]),onPointermove:n[0]||=(0,R.withModifiers)(e=>_(h.value,e),[`stop`])},[(0,R.createVNode)((0,R.unref)(z.SIcon),{name:(0,R.unref)(a),size:16},null,8,[`name`])],46,Rt))),128))]),e.row.progress===null?(0,R.createCommentVNode)(``,!0):((0,R.openBlock)(),(0,R.createElementBlock)(`div`,zt,[(0,R.createVNode)((0,R.unref)(z.SProgressBar),{class:`s-ui-roadmap__card-progress-bar`,value:e.row.progress,size:(0,R.unref)(o),"aria-label":e.progressLabel},null,8,[`value`,`size`,`aria-label`]),(0,R.createElementVNode)(`span`,Bt,(0,R.toDisplayString)(e.row.progress)+`%`,1)]))],46,Pt)]))),128))])):((0,R.openBlock)(),(0,R.createElementBlock)(`div`,Vt,[(0,R.renderSlot)(t.$slots,`empty`,{},()=>[(0,R.createTextVNode)((0,R.toDisplayString)((0,R.unref)(l)(`roadmap.empty`)),1)])]))]),((0,R.openBlock)(),(0,R.createBlock)(R.Teleport,{to:`body`},[p.value?((0,R.openBlock)(),(0,R.createElementBlock)(`span`,{key:0,class:`s-ui-roadmap__hint`,style:(0,R.normalizeStyle)(g.value),role:`tooltip`},(0,R.toDisplayString)(p.value.text),5)):(0,R.createCommentVNode)(``,!0)]))],10,Tt))}});exports.CALENDAR_WEEK_SLOT_COUNT=I.a,exports.DAY_TIMELINE_MINUTES=I.r,exports.DEFAULT_COLOR_PALETTE=r.i,exports.EAccentColor=r.a,exports.EButtonAppearance=o.n,exports.EButtonGroupLayout=l.i,exports.EButtonSize=o.r,exports.EButtonVariant=o.i,exports.EColorFormat=r.o,exports.EConnectedPositionStrategy=h.a,exports.ENotificationLayout=U,exports.ENotificationLeftside=W,exports.ENotificationType=H,exports.ESAvatarBadge=t.n,exports.ESAvatarColor=t.r,exports.ESAvatarGroupSize=a.n,exports.ESAvatarIconBackground=t.i,exports.ESAvatarShape=t.a,exports.ESAvatarSize=t.o,exports.ESBadgeColor=e.n,exports.ESBadgePlacement=e.r,exports.ESCalendarEventDirection=I.l,exports.ESCalendarMonthDayTone=I.u,exports.ESCardLayout=d.n,exports.ESChartLegendSize=N.n,exports.ESChartPieLegendView=P.n,exports.ESCheckboxColor=u.n,exports.ESCheckboxLabelPlacement=u.r,exports.ESCheckboxSize=u.i,exports.ESChipColor=v.n,exports.ESChipSize=v.r,exports.ESColorPaletteLayout=r.n,exports.ESDropdownBoundary=h.o,exports.ESDropdownPlacement=h.s,exports.ESInlineGroupOrientation=l.r,exports.ESInlineInputAppearance=A.n,exports.ESInlineMessageValidationStatus=S.n,exports.ESInputCustomize=x.r,exports.ESLabelSize=C.n,exports.ESLabelVariant=C.r,exports.ESListGap=E.a,exports.ESListItemRole=T.n,exports.ESListItemVariant=T.r,exports.ESPhotoEditShape=j.n,exports.ESPhotoEditSize=j.r,exports.ESRadioLabelPlacement=O.n,exports.ESRoadmapStatus=_t,exports.ESSegmentControlSize=f.n,exports.ESSelectSearchable=D.n,exports.ESTabAppearance=p.n,exports.ESTabSize=p.r,exports.ESTableCellState=L.n,exports.ESTableCheckState=L.r,exports.ESTableColumnAlign=L.i,exports.ESTableColumnSticky=L.a,exports.ESTableDropAction=L.o,exports.ESTableFooterTone=L.s,exports.ESTableRowColor=L.c,exports.ESTableRowHeightMode=L.l,exports.ESTableRowKind=L.u,exports.ESTableRowState=L.d,exports.ESTableRowsDragMode=L.f,exports.ESTableSortDirection=L.p,exports.ESTagColor=g.n,exports.ESTagSize=g.r,exports.ESToggleLabelPlacement=k.n,exports.ESToggleSize=k.r,exports.ESelectionFocusMode=s.t,exports.ESelectionMode=s.n,exports.ESelectionOrientation=s.r,exports.EWorkTimeSource=I.c,exports.MAX_RECENT_COLORS=n.i,exports.RECOMMENDED_COLOR_PALETTE=r.r,exports.SAvatar=t.t,exports.SAvatarGroup=a.t,exports.SBadge=e.t,exports.SBanner=Te,exports.SButton=o.t,exports.SButtonGroup=l.t,exports.SCalendarMonth=I.d,exports.SCalendarWeekGrid=I.i,exports.SCard=d.t,exports.SChartBar=ce.t,exports.SChartBurnup=se.t,exports.SChartHorizontalBar=ae.t,exports.SChartLegend=N.t,exports.SChartLine=te.t,exports.SChartMultiLine=oe.t,exports.SChartPie=P.t,exports.SChartProgress=le.t,exports.SChartScatter=ue.t,exports.SChartSegmentedBar=st,exports.SChartStackedArea=re.t,exports.SChartStackedBar=ie.t,exports.SChartWidget=gt,exports.SCheckbox=u.t,exports.SChip=v.t,exports.SColorArea=n.r,exports.SColorPalette=r.t,exports.SColorPicker=n.t,exports.SColorValues=n.n,exports.SDayTimeline=I.n,exports.SDropdown=y.t,exports.SDropdownMenu=b.t,exports.SInlineGroup=l.n,exports.SInlineInput=A.t,exports.SInlineMessage=S.t,exports.SInput=x.t,exports.SLabel=C.t,exports.SList=E.t,exports.SListItem=T.t,exports.SPhotoEdit=j.t,exports.SRadio=O.t,exports.SRoadmap=Kt,exports.SSegmentControl=f.t,exports.SSelect=D.t,exports.STab=p.t,exports.STable=L.t,exports.STabs=m.t,exports.STag=g.t,exports.STagGroup=_.t,exports.STextarea=ee.t,exports.SToast=q,exports.SToastProvider=We,exports.SToggle=k.t,exports.S_DROPDOWN_SHEET_BREAKPOINT=y.n,exports.TOAST_AUTO_DURATION_MAX_MS=ke,exports.TOAST_AUTO_DURATION_MIN_MS=J,exports.TOAST_AUTO_DURATION_MS_PER_CHAR=Ae,exports.WORK_TIME_SOURCE_COLOR_VARS=I.o,exports.WORK_TIME_SOURCE_ORDER=I.s,exports.buildWorkTimeLegendItems=I.t,exports.computeAutoDuration=je,exports.computeConnectedPosition=h.i,Object.defineProperty(exports,"createUiKit",{enumerable:!0,get:function(){return z.createUiKit}}),exports.formatDurationHM=I.f,exports.isSameColor=i.r,exports.normalizeColorValue=i.i,exports.resolveColorPreview=i.a,exports.resolveOwnPropOrGroupedOrFallback=s.a,Object.defineProperty(exports,"setUiKitLocale",{enumerable:!0,get:function(){return z.setUiKitLocale}}),Object.defineProperty(exports,"uiKitLocaleEn",{enumerable:!0,get:function(){return z.uiKitLocaleEn}}),Object.defineProperty(exports,"uiKitLocaleRu",{enumerable:!0,get:function(){return z.uiKitLocaleRu}}),exports.useFlatTreeList=w.s,exports.useFloatingOverlay=h.t,exports.useSListEndReached=w.a,exports.useSelectionGroup=s.o,exports.useSelectionGroupItem=c.n,exports.useToast=Ve,Object.defineProperty(exports,"useUiKitI18n",{enumerable:!0,get:function(){return z.useUiKitI18n}});var qt=require("@shtabapp/ui-kit-tokens");Object.keys(qt).forEach(function(e){e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:function(){return qt[e]}})}),Object.keys(z).forEach(function(e){e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:function(){return z[e]}})});
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./SBadge-Dn87LB9z.cjs"),t=require("./SAvatar-BQNqFdkk.cjs"),n=require("./SColorPicker-NqSNxcwH.cjs"),r=require("./SColorPalette-CqIA4Qtp.cjs"),i=require("./colorValue-Dda7fKd3.cjs"),a=require("./SAvatarGroup-D27squmU.cjs"),o=require("./SButton-CZW6Y8Vw.cjs"),s=require("./useSelectionGroup-NJvi3hNo.cjs"),c=require("./useSelectLink-DZIAhQ2J.cjs"),l=require("./SButtonGroup-DSi8mQSz.cjs"),u=require("./SCheckbox-Dkbk21Id.cjs"),d=require("./SCard-CYPxwmOm.cjs"),f=require("./SSegmentControl-jPA19SVO.cjs"),p=require("./STab-BkQzKaLY.cjs"),m=require("./STabs-CDNAhgMN.cjs"),h=require("./useFloatingOverlay-CwGCMrig.cjs"),g=require("./STag-qKbkpXjI.cjs"),_=require("./STagGroup-6Z8CKlut.cjs"),v=require("./SChip-DwjDiD7C.cjs"),y=require("./SDropdown-B_nsm3Jf.cjs"),b=require("./SDropdownMenu-k9SxaFVH.cjs"),x=require("./SInput-x0GgJDEY.cjs"),S=require("./SInlineMessage-gjkMiE-W.cjs"),C=require("./SLabel-DLKfepRW.cjs"),w=require("./treeKeyboardNavigation-BOz2SVus.cjs"),T=require("./SListItem-CrAnC2MG.cjs"),E=require("./SList-CmMkLkdG.cjs"),D=require("./SSelect-BSbEFqAB.cjs"),O=require("./SRadio-B9qQ-PEk.cjs"),k=require("./SToggle-BNgLiIrQ.cjs"),A=require("./SInlineInput-D3vCX4QA.cjs"),j=require("./STextarea-DxjrKM9g.cjs"),M=require("./SPhotoEdit-CoJLP7rt.cjs"),N=require("./useChartInteractivity-Yk7qEYgl.cjs"),P=require("./SChartLegend-DQMLr6yV.cjs"),ee=require("./SChartLine-tj-AapTr.cjs"),te=require("./resolveSeriesPaletteColor-CVEsFs0o.cjs"),ne=require("./SChartStackedArea-BJ5HsJzQ.cjs"),re=require("./SChartStackedBar-Dj6esSCS.cjs"),ie=require("./SChartHorizontalBar-DwY63iRT.cjs"),F=require("./SChartPie-Ddk8r-_I.cjs"),ae=require("./SChartMultiLine-dtd6k59D.cjs"),oe=require("./SChartBurnup-9s2KNzCr.cjs"),I=require("./useHasListener-BPgtbbo6.cjs"),se=require("./SChartBar-BAO2FtIO.cjs"),ce=require("./SChartProgress-DozBX6ve.cjs"),le=require("./SChartScatter-DilWNoz0.cjs"),L=require("./buildWorkTimeLegendItems-DPx5Yma0.cjs"),R=require("./STable-CfdGC7jb.cjs");let z=require("vue"),B=require("@shtabapp/ui-kit-primitives"),ue=require("@vueuse/core");var V=[`--s-ui-chart-segmented-bar-palette-1`,`--s-ui-chart-segmented-bar-palette-2`,`--s-ui-chart-segmented-bar-palette-3`,`--s-ui-chart-segmented-bar-palette-4`,`--s-ui-chart-segmented-bar-palette-5`,`--s-ui-chart-segmented-bar-palette-6`,`--s-ui-chart-segmented-bar-palette-7`,`--s-ui-chart-segmented-bar-palette-8`],H=[`--s-ui-chart-segmented-bar-skeleton-palette-1`,`--s-ui-chart-segmented-bar-skeleton-palette-2`,`--s-ui-chart-segmented-bar-skeleton-palette-3`,`--s-ui-chart-segmented-bar-skeleton-palette-4`,`--s-ui-chart-segmented-bar-skeleton-palette-5`,`--s-ui-chart-segmented-bar-skeleton-palette-6`,`--s-ui-chart-segmented-bar-skeleton-palette-7`,`--s-ui-chart-segmented-bar-skeleton-palette-8`],de=(e,t,n,r=!1)=>te.t(e,t,n,r,{palette:V,paletteFallback:V[0],skeletonPalette:H,skeletonFallback:H[0]}),U=function(e){return e.INFO_ACCENT=`info-accent`,e.INFO_NORMAL=`info-normal`,e.SUCCESS=`success`,e.WARNING=`warning`,e.DANGER=`danger`,e.BILLING=`billing`,e}({}),W=function(e){return e.HORIZONTAL=`horizontal`,e.VERTICAL=`vertical`,e}({}),G=function(e){return e.ICON=`icon`,e.AVATAR=`avatar`,e}({}),K=function(e){return e.BANNER=`banner`,e.TOAST=`toast`,e}({}),fe={[U.INFO_ACCENT]:B.ESIconName.infoCircle,[U.INFO_NORMAL]:B.ESIconName.infoCircle,[U.SUCCESS]:B.ESIconName.checkCircle,[U.WARNING]:B.ESIconName.alertCircle,[U.DANGER]:B.ESIconName.dangerCircleFill,[U.BILLING]:B.ESIconName.infoCircle},pe=(e,t)=>t||fe[e],me=[`role`],he={class:`s-ui-notification__body`},ge={key:0,class:`s-ui-notification__leftside`},_e={key:0,class:`s-ui-notification__icon`},ve={class:`s-ui-notification__content`},ye={class:`s-ui-notification__title-row`},be={key:0,class:`s-ui-notification__description-block`},xe={key:0,class:`s-ui-notification__description s-ui-typography-label-12-medium`},Se={key:1,class:`s-ui-notification__actions-stack`},Ce={key:1,class:`s-ui-notification__actions-row`},we=(0,z.defineComponent)({__name:`SNotification`,props:{type:{default:()=>U.INFO_ACCENT},layout:{default:()=>W.HORIZONTAL},leftside:{default:()=>G.ICON},surface:{default:()=>K.BANNER},title:{},description:{},linkText:{},linkIconRight:{},primaryButtonText:{},secondaryButtonText:{},showPrimaryButton:{type:Boolean,default:!1},prominentPrimaryButton:{type:Boolean,default:!1},closable:{type:Boolean,default:!0},closeAriaLabel:{default:``},icon:{},avatar:{},width:{},maxWidth:{},truncateTitle:{type:Boolean,default:!1}},emits:[`close`,`linkClick`,`primaryAction`,`secondaryAction`],setup(e,{emit:n}){let r=n,i=(0,z.useSlots)(),a=(0,z.computed)(()=>[`s-ui-notification--type-${e.type}`,`s-ui-notification--layout-${e.layout}`,`s-ui-notification--surface-${e.surface}`,{"s-ui-notification--single-line":p.value}]),s=(0,z.computed)(()=>{let t={};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}),c=(0,z.computed)(()=>e.type===U.DANGER?`alert`:`status`),l=(0,z.computed)(()=>pe(e.type,e.icon)),u=(0,z.computed)(()=>e.type===U.BILLING),d=(0,z.computed)(()=>!!(e.leftside===G.AVATAR&&e.avatar||e.leftside===G.ICON)),f=(0,z.computed)(()=>!!(e.description||e.linkText||i.description)),p=(0,z.computed)(()=>e.layout===W.HORIZONTAL&&!f.value),m=(0,z.computed)(()=>e.showPrimaryButton&&(e.primaryButtonText||e.secondaryButtonText)),h=(0,z.computed)(()=>e.showPrimaryButton&&(e.primaryButtonText||e.secondaryButtonText)||e.closable),g=(0,z.computed)(()=>e.type===U.BILLING||e.prominentPrimaryButton?o.n.MAJOR:o.n.OUTLINED),_=(0,z.computed)(()=>e.type===U.BILLING?o.i.BILLING:o.i.MAIN),v=()=>{r(`close`)},y=()=>{r(`linkClick`)},b=()=>{r(`primaryAction`)},x=()=>{r(`secondaryAction`)};return(n,r)=>((0,z.openBlock)(),(0,z.createElementBlock)(`div`,{class:(0,z.normalizeClass)([`s-ui-notification`,a.value]),style:(0,z.normalizeStyle)(s.value),role:c.value},[(0,z.createElementVNode)(`div`,he,[d.value?((0,z.openBlock)(),(0,z.createElementBlock)(`div`,ge,[e.leftside===(0,z.unref)(G).ICON?((0,z.openBlock)(),(0,z.createElementBlock)(`div`,_e,[(0,z.createVNode)((0,z.unref)(B.SIcon),{name:l.value,size:16,billing:u.value},null,8,[`name`,`billing`])])):e.leftside===(0,z.unref)(G).AVATAR&&e.avatar?((0,z.openBlock)(),(0,z.createBlock)((0,z.unref)(t.t),{key:1,name:e.avatar.name,src:e.avatar.src,badge:e.avatar.badge,size:(0,z.unref)(t.o).SIZE_20,showName:!1},null,8,[`name`,`src`,`badge`,`size`])):(0,z.createCommentVNode)(``,!0)])):(0,z.createCommentVNode)(``,!0),(0,z.createElementVNode)(`div`,ve,[(0,z.createElementVNode)(`div`,ye,[(0,z.createElementVNode)(`span`,{class:(0,z.normalizeClass)([`s-ui-notification__title s-ui-typography-label-14-medium`,{"s-ui-notification__title--truncated":e.truncateTitle}])},[(0,z.renderSlot)(n.$slots,`title`,{},()=>[(0,z.createTextVNode)((0,z.toDisplayString)(e.title),1)])],2),e.layout===(0,z.unref)(W).VERTICAL&&e.closable?((0,z.openBlock)(),(0,z.createBlock)((0,z.unref)(o.t),{key:0,class:`s-ui-notification__close`,appearance:(0,z.unref)(o.n).BARE,variant:(0,z.unref)(o.i).NEUTRAL,size:(0,z.unref)(o.r).SMALL,"aria-label":e.closeAriaLabel,icon:`closeMini`,onClick:v},null,8,[`appearance`,`variant`,`size`,`aria-label`])):(0,z.createCommentVNode)(``,!0)]),f.value?((0,z.openBlock)(),(0,z.createElementBlock)(`div`,be,[e.description||(0,z.unref)(i).description?((0,z.openBlock)(),(0,z.createElementBlock)(`span`,xe,[(0,z.renderSlot)(n.$slots,`description`,{},()=>[(0,z.createTextVNode)((0,z.toDisplayString)(e.description),1)])])):(0,z.createCommentVNode)(``,!0),e.linkText?((0,z.openBlock)(),(0,z.createBlock)((0,z.unref)(o.t),{key:1,class:`s-ui-notification__link`,appearance:(0,z.unref)(o.n).BARE,variant:(0,z.unref)(o.i).MAIN,size:(0,z.unref)(o.r).SMALL,iconRight:e.linkIconRight,onClick:y},{default:(0,z.withCtx)(()=>[(0,z.createTextVNode)((0,z.toDisplayString)(e.linkText),1)]),_:1},8,[`appearance`,`variant`,`size`,`iconRight`])):(0,z.createCommentVNode)(``,!0)])):(0,z.createCommentVNode)(``,!0),e.layout===(0,z.unref)(W).VERTICAL&&m.value?((0,z.openBlock)(),(0,z.createElementBlock)(`div`,Se,[e.showPrimaryButton&&e.primaryButtonText?((0,z.openBlock)(),(0,z.createBlock)((0,z.unref)(o.t),{key:0,appearance:g.value,variant:_.value,size:(0,z.unref)(o.r).SMALL,onClick:b},{default:(0,z.withCtx)(()=>[(0,z.createTextVNode)((0,z.toDisplayString)(e.primaryButtonText),1)]),_:1},8,[`appearance`,`variant`,`size`])):(0,z.createCommentVNode)(``,!0),e.showPrimaryButton&&e.secondaryButtonText?((0,z.openBlock)(),(0,z.createBlock)((0,z.unref)(o.t),{key:1,appearance:(0,z.unref)(o.n).BARE,variant:(0,z.unref)(o.i).NEUTRAL,size:(0,z.unref)(o.r).SMALL,onClick:x},{default:(0,z.withCtx)(()=>[(0,z.createTextVNode)((0,z.toDisplayString)(e.secondaryButtonText),1)]),_:1},8,[`appearance`,`variant`,`size`])):(0,z.createCommentVNode)(``,!0)])):(0,z.createCommentVNode)(``,!0)]),e.layout===(0,z.unref)(W).HORIZONTAL&&h.value?((0,z.openBlock)(),(0,z.createElementBlock)(`div`,Ce,[e.showPrimaryButton&&e.primaryButtonText?((0,z.openBlock)(),(0,z.createBlock)((0,z.unref)(o.t),{key:0,appearance:g.value,variant:_.value,size:(0,z.unref)(o.r).SMALL,onClick:b},{default:(0,z.withCtx)(()=>[(0,z.createTextVNode)((0,z.toDisplayString)(e.primaryButtonText),1)]),_:1},8,[`appearance`,`variant`,`size`])):(0,z.createCommentVNode)(``,!0),e.showPrimaryButton&&e.secondaryButtonText?((0,z.openBlock)(),(0,z.createBlock)((0,z.unref)(o.t),{key:1,appearance:(0,z.unref)(o.n).OUTLINED,variant:(0,z.unref)(o.i).MAIN,size:(0,z.unref)(o.r).SMALL,onClick:x},{default:(0,z.withCtx)(()=>[(0,z.createTextVNode)((0,z.toDisplayString)(e.secondaryButtonText),1)]),_:1},8,[`appearance`,`variant`,`size`])):(0,z.createCommentVNode)(``,!0),e.layout===(0,z.unref)(W).HORIZONTAL&&e.closable?((0,z.openBlock)(),(0,z.createBlock)((0,z.unref)(o.t),{key:2,class:`s-ui-notification__close`,appearance:(0,z.unref)(o.n).BARE,variant:(0,z.unref)(o.i).NEUTRAL,size:(0,z.unref)(o.r).SMALL,"aria-label":e.closeAriaLabel,icon:`closeMini`,onClick:v},null,8,[`appearance`,`variant`,`size`,`aria-label`])):(0,z.createCommentVNode)(``,!0)])):(0,z.createCommentVNode)(``,!0)])],14,me))}}),Te=(0,z.defineComponent)({__name:`SBanner`,props:{type:{default:()=>U.INFO_ACCENT},layout:{default:()=>W.HORIZONTAL},leftside:{default:()=>G.ICON},elevated:{type:Boolean,default:!1},title:{},description:{},linkText:{},linkIconRight:{},primaryButtonText:{},secondaryButtonText:{},prominentPrimaryButton:{type:Boolean,default:!1},showPrimaryButton:{type:Boolean,default:!1},closable:{type:Boolean,default:!0},closeAriaLabel:{default:``},icon:{},avatar:{},maxWidth:{},truncateTitle:{type:Boolean,default:!1}},emits:[`close`,`linkClick`,`primaryAction`,`secondaryAction`],setup(e,{emit:t}){let n=t,r=(0,z.useSlots)(),i=(0,z.computed)(()=>({"s-ui-banner--elevated":e.elevated}));return(t,a)=>((0,z.openBlock)(),(0,z.createBlock)(we,{class:(0,z.normalizeClass)([`s-ui-banner`,i.value]),"data-qa":`ui:banner`,type:e.type,layout:e.layout,leftside:e.leftside,surface:(0,z.unref)(K).BANNER,title:e.title,description:e.description,linkText:e.linkText,linkIconRight:e.linkIconRight,primaryButtonText:e.primaryButtonText,secondaryButtonText:e.secondaryButtonText,showPrimaryButton:e.showPrimaryButton,prominentPrimaryButton:e.prominentPrimaryButton,closable:e.closable,closeAriaLabel:e.closeAriaLabel,icon:e.icon,avatar:e.avatar,maxWidth:e.maxWidth,truncateTitle:e.truncateTitle,onClose:a[0]||=e=>n(`close`),onLinkClick:a[1]||=e=>n(`linkClick`),onPrimaryAction:a[2]||=e=>n(`primaryAction`),onSecondaryAction:a[3]||=e=>n(`secondaryAction`)},(0,z.createSlots)({_:2},[(0,z.unref)(r).title?{name:`title`,fn:(0,z.withCtx)(()=>[(0,z.renderSlot)(t.$slots,`title`)]),key:`0`}:void 0,(0,z.unref)(r).description?{name:`description`,fn:(0,z.withCtx)(()=>[(0,z.renderSlot)(t.$slots,`description`)]),key:`1`}:void 0]),1032,[`class`,`type`,`layout`,`leftside`,`surface`,`title`,`description`,`linkText`,`linkIconRight`,`primaryButtonText`,`secondaryButtonText`,`showPrimaryButton`,`prominentPrimaryButton`,`closable`,`closeAriaLabel`,`icon`,`avatar`,`maxWidth`,`truncateTitle`]))}}),Ee=(0,z.defineComponent)({__name:`SToast`,props:{type:{default:()=>U.INFO_ACCENT},layout:{default:()=>W.HORIZONTAL},leftside:{default:()=>G.ICON},title:{},description:{},linkText:{},primaryButtonText:{},secondaryButtonText:{},showPrimaryButton:{type:Boolean,default:!1},closable:{type:Boolean,default:!0},closeAriaLabel:{default:``},icon:{},avatar:{},width:{},truncateTitle:{type:Boolean,default:!1}},emits:[`close`,`linkClick`,`primaryAction`,`secondaryAction`],setup(e,{emit:t}){let n=t,r=(0,z.useSlots)(),i=(0,z.computed)(()=>e.width??360);return(t,a)=>((0,z.openBlock)(),(0,z.createBlock)(we,{class:`s-ui-toast`,"data-qa":`ui:toast`,type:e.type,layout:e.layout,leftside:e.leftside,surface:(0,z.unref)(K).TOAST,title:e.title,description:e.description,linkText:e.linkText,primaryButtonText:e.primaryButtonText,secondaryButtonText:e.secondaryButtonText,showPrimaryButton:e.showPrimaryButton,closable:e.closable,closeAriaLabel:e.closeAriaLabel,icon:e.icon,avatar:e.avatar,width:i.value,truncateTitle:e.truncateTitle,onClose:a[0]||=e=>n(`close`),onLinkClick:a[1]||=e=>n(`linkClick`),onPrimaryAction:a[2]||=e=>n(`primaryAction`),onSecondaryAction:a[3]||=e=>n(`secondaryAction`)},(0,z.createSlots)({_:2},[(0,z.unref)(r).title?{name:`title`,fn:(0,z.withCtx)(()=>[(0,z.renderSlot)(t.$slots,`title`)]),key:`0`}:void 0,(0,z.unref)(r).description?{name:`description`,fn:(0,z.withCtx)(()=>[(0,z.renderSlot)(t.$slots,`description`)]),key:`1`}:void 0]),1032,[`type`,`layout`,`leftside`,`surface`,`title`,`description`,`linkText`,`primaryButtonText`,`secondaryButtonText`,`showPrimaryButton`,`closable`,`closeAriaLabel`,`icon`,`avatar`,`width`,`truncateTitle`]))}}),De=.05,Oe=[`data-mounted`,`data-front`,`data-expanded`,`data-removed`,`data-visible`],ke=(0,z.defineComponent)({__name:`SToastProviderToast`,props:{index:{},expanded:{type:Boolean},frontToastHeight:{},stackPeek:{},removed:{type:Boolean},visible:{type:Boolean},offsetY:{}},emits:[`heightChange`],setup(e,{emit:t}){let n=t,r=(0,z.ref)(null),i=(0,z.ref)(0),a=(0,z.ref)(!1),o=(0,z.computed)(()=>e.index===0),s=(0,z.computed)(()=>1-e.index*De),c=(0,z.computed)(()=>({"--s-ui-toast-provider-toasts-before":String(e.index),"--s-ui-toast-provider-lift-amount":`${e.stackPeek*-1}px`,"--s-ui-toast-provider-front-toast-height":`${e.frontToastHeight}px`,"--s-ui-toast-provider-offset-y":`${e.offsetY}px`,"--s-ui-toast-provider-initial-height":`${i.value}px`,"--s-ui-toast-provider-stack-scale":String(s.value),zIndex:String(1e3-e.index)}));return(0,ue.useResizeObserver)(r,e=>{let t=e[0]?.contentRect.height??0;t!==i.value&&(i.value=t,n(`heightChange`,t))}),(0,z.onMounted)(()=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{a.value=!0})})}),(t,n)=>((0,z.openBlock)(),(0,z.createElementBlock)(`div`,{class:`s-ui-toast-provider__toast`,"data-mounted":a.value,"data-front":o.value,"data-expanded":e.expanded,"data-removed":e.removed,"data-visible":e.visible,style:(0,z.normalizeStyle)(c.value)},[(0,z.createElementVNode)(`div`,{ref_key:`contentRef`,ref:r,class:`s-ui-toast-provider__toast-content`},[(0,z.renderSlot)(t.$slots,`default`)],512)],12,Oe))}}),Ae=4e3,je=1e4,Me=50,q=(e,t)=>{let n=Ae+(e.length+(t?.length??0))*50;return n>1e4?je:n},J=(0,z.shallowRef)([]),Y=new Map,Ne=0,Pe={type:U.INFO_ACCENT,layout:W.HORIZONTAL,leftside:G.ICON,showPrimaryButton:!1,closable:!0},Fe=()=>`toast-${Date.now()}-${++Ne}`,X=e=>{let t=Y.get(e);t&&(window.clearTimeout(t),Y.delete(e))},Ie=e=>{X(e.id);let t=e.duration===void 0?q(e.title,e.description):e.duration;if(t>0){let n=window.setTimeout(()=>{Le(e.id)},t);Y.set(e.id,n)}},Le=e=>{let t=J.value.findIndex(t=>t.id===e);if(t===-1)return;let n=J.value[t];n&&(X(e),n.onClose&&n.onClose(),J.value=J.value.filter(t=>t.id!==e))},Re=()=>{Y.forEach(e=>window.clearTimeout(e)),Y.clear(),J.value=[]},ze=e=>e.length<=3?e:(e.slice(3).forEach(e=>{X(e.id)}),e.slice(0,3)),Be=e=>{let t=e.id??Fe(),n={...Pe,...e,id:t},r=J.value.findIndex(e=>e.id===t);if(r>-1){let e=[...J.value];e[r]=n,J.value=ze(e)}else J.value=ze([n,...J.value]);return Ie(n),t},Ve=(e,t)=>{let n=J.value.findIndex(t=>t.id===e);if(n===-1)return;let r=J.value[n];if(!r)return;let i={...r,...t,id:r.id},a=[...J.value];a[n]=i,J.value=a,Ie(i)},He=()=>({toasts:J,show:Be,hide:Le,hideAll:Re,update:Ve}),Ue={class:`s-ui-toast-provider__announcer`,role:`status`,"aria-atomic":`true`},We={class:`s-ui-toast-provider__announcer`,role:`alert`,"aria-atomic":`true`},Ge=(0,z.defineComponent)({__name:`SToastProvider`,setup(e){let{toasts:t,hide:n}=He(),r=(0,z.computed)(()=>t.value.slice(0,3)),i=(0,z.ref)(``),a=(0,z.ref)(``),o=new Set,s=e=>e.flatMap(e=>[e.title,e.description??``]).filter(Boolean).join(`. `),c=async(e,t)=>{t&&(e.value=``,await(0,z.nextTick)(),e.value=t)};(0,z.watch)(r,async e=>{let n=e.filter(e=>!o.has(e.id)),r=new Set(t.value.map(e=>e.id));o.forEach(e=>{r.has(e)||o.delete(e)}),n.forEach(e=>o.add(e.id));let l=n.filter(e=>e.type===U.DANGER),u=n.filter(e=>e.type!==U.DANGER);await Promise.all([c(a,s(l)),c(i,s(u))])});let l=(0,z.ref)(!1),u=(0,z.shallowRef)({}),d=(0,z.ref)(new Set),f=(0,z.computed)(()=>t.value[0]??null),p=(0,z.computed)(()=>f.value?u.value[f.value.id]??0:0),m=(0,z.ref)(0),h=(0,z.computed)(()=>p.value>0?p.value:m.value);(0,z.watch)(p,e=>{e>0&&(m.value=e)});let g=(0,z.computed)(()=>{if(r.value.length===0)return{};if(l.value)return{height:`${r.value.reduce((e,t,n)=>{let r=u.value[t.id]??0,i=n>0?4:0;return e+r+i},0)}px`};let e=Math.min(r.value.length-1,2)*10;return{height:`${h.value+e}px`}}),_=e=>{let t=0;for(let n=0;n<e;n+=1){let e=r.value[n];e&&(t+=(u.value[e.id]??0)+4)}return t},v=e=>d.value.has(e),y=()=>{r.value.length>1&&(l.value=!0)},b=()=>{l.value=!1},x=(e,t)=>{u.value={...u.value,[e]:t}},S=e=>{d.value.has(e)||(d.value=new Set([...d.value,e]),window.setTimeout(()=>{n(e);let t=new Set(d.value);t.delete(e),d.value=t;let r={...u.value};delete r[e],u.value=r},200))},C=e=>{e.onLinkClick&&e.onLinkClick()},w=e=>{e.onPrimaryAction&&e.onPrimaryAction(e.id)},T=e=>{e.onSecondaryAction&&e.onSecondaryAction()};return(e,t)=>((0,z.openBlock)(),(0,z.createBlock)(z.Teleport,{to:`body`},[(0,z.createElementVNode)(`div`,{class:`s-ui-toast-provider`,onMouseenter:y,onMouseleave:b},[(0,z.createElementVNode)(`div`,Ue,(0,z.toDisplayString)(i.value),1),(0,z.createElementVNode)(`div`,We,(0,z.toDisplayString)(a.value),1),r.value.length>0?((0,z.openBlock)(),(0,z.createElementBlock)(`div`,{key:0,class:`s-ui-toast-provider__list`,style:(0,z.normalizeStyle)(g.value)},[((0,z.openBlock)(!0),(0,z.createElementBlock)(z.Fragment,null,(0,z.renderList)(r.value,(t,n)=>((0,z.openBlock)(),(0,z.createBlock)(ke,{key:t.id,index:n,expanded:l.value,"front-toast-height":h.value,"stack-peek":(0,z.unref)(10),removed:v(t.id),visible:n<(0,z.unref)(3),"offset-y":_(n),onHeightChange:e=>x(t.id,e)},{default:(0,z.withCtx)(()=>[(0,z.renderSlot)(e.$slots,`toast`,{toast:t},()=>[t.component?((0,z.openBlock)(),(0,z.createBlock)((0,z.resolveDynamicComponent)(t.component),(0,z.mergeProps)({key:0,ref_for:!0},t.componentProps,{toast:t,onClose:e=>S(t.id)}),null,16,[`toast`,`onClose`])):((0,z.openBlock)(),(0,z.createBlock)((0,z.unref)(Ee),{key:1,role:`presentation`,type:t.type,layout:t.layout,leftside:t.leftside,title:t.title,description:t.description,linkText:t.linkText,primaryButtonText:t.primaryButtonText,secondaryButtonText:t.secondaryButtonText,showPrimaryButton:t.showPrimaryButton,closable:t.closable,closeAriaLabel:t.closeAriaLabel,icon:t.icon,avatar:t.avatar,width:t.width,truncateTitle:t.truncateTitle,onClose:e=>S(t.id),onLinkClick:e=>C(t),onPrimaryAction:e=>w(t),onSecondaryAction:e=>T(t)},null,8,[`type`,`layout`,`leftside`,`title`,`description`,`linkText`,`primaryButtonText`,`secondaryButtonText`,`showPrimaryButton`,`closable`,`closeAriaLabel`,`icon`,`avatar`,`width`,`truncateTitle`,`onClose`,`onLinkClick`,`onPrimaryAction`,`onSecondaryAction`]))])]),_:2},1032,[`index`,`expanded`,`front-toast-height`,`stack-peek`,`removed`,`visible`,`offset-y`,`onHeightChange`]))),128))],4)):(0,z.createCommentVNode)(``,!0)],32)]))}}),Ke=4,qe=4,Je=1,Ye=`400 12px var(--s-ui-font-family-label)`,Xe=4,Ze=.5,Qe=(e,t,n,r,i,a)=>{let o=Math.min(a,r/2,i/2);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()},$e=e=>{let t=e.getProps([`x`,`y`,`base`],!0),n=Number(t.x),r=Number(t.y),i=Number(t.base);return!Number.isFinite(n)||!Number.isFinite(r)||!Number.isFinite(i)?null:{left:Math.min(i,n),width:Math.abs(n-i),centerY:r}},et=(e,t,n,r,i)=>{let a=$e(t);if(!a)return;let o=i?i(n):`${n}`,s=e.measureText(o).width+Ke*2;if(a.width<s+Xe*2)return;let c=a.left+a.width/2;Qe(e,c-s/2,a.centerY-20/2,s,20,qe),e.fillStyle=r.background,e.fill(),e.lineWidth=Je,e.strokeStyle=r.border,e.stroke(),e.fillStyle=r.text,e.fillText(o,c,a.centerY)},tt=(e,t)=>({id:`segmentedBarBadge`,afterDatasetsDraw(n){let r={background:N.S(N.D.pieBadgeBackground,e),border:N.S(N.D.pieBadgeBorder,e),text:N.S(N.D.pieBadgeText,e)},{ctx:i}=n;i.save(),i.font=Ye,i.textAlign=`center`,i.textBaseline=`middle`;let a=N.s(n);n.data.datasets.forEach((e,o)=>{let s=n.getDatasetMeta(o)?.data[0],c=e.data[0];s&&typeof c==`number`&&c>0&&(i.globalAlpha=a!==null&&a.datasetIndex!==o?Ze:1,et(i,s,c,r,t))}),i.restore()}}),nt=40,rt=4,it=1,at=[`mousemove`,`mouseout`,`click`,`touchstart`,`touchmove`],ot=({segments:e,segmentColors:t,colorHostElement:n,skeleton:r=!1,formatValue:i,onSegmentClick:a,onSegmentHover:o,resolveTooltipLines:s})=>{if(e.length===0)return null;let c=N.S(`--s-ui-color-surface-primary`,n),l=e.reduce((e,t)=>e+t.value,0),u=N.r({kind:`series`,skeleton:r,colorHostElement:n,onIndexClick:a,onHoverIndexChange:o});return{type:`bar`,data:{labels:[``],datasets:e.map((e,n)=>({label:e.label,data:[e.value],backgroundColor:t[n],hoverBackgroundColor:t[n],borderColor:c,borderWidth:{left:it,right:it},borderSkipped:!1,borderRadius:rt,barThickness:nt,stack:`track`}))},options:{indexAxis:`y`,responsive:!0,maintainAspectRatio:!1,layout:{padding:0},events:r?[]:at,onHover:u.onHover,onClick:u.onClick,hover:r?void 0:{mode:`nearest`,intersect:!0},elements:r?void 0:{bar:{hoverBorderColor:c}},plugins:{legend:{display:!1},tooltip:{enabled:!r&&s!==void 0,backgroundColor:N.S(N.D.tooltipBackground,n),titleColor:N.S(N.D.tooltipText,n),bodyColor:N.S(N.D.tooltipText,n),displayColors:!1,callbacks:{title:()=>``,label:e=>s?.(e.datasetIndex)??[]}}},scales:{x:{display:!1,stacked:!0,min:0,max:l},y:{display:!1,stacked:!0}}},plugins:[...r?[]:[tt(n,i)],...u.plugins]}},st=[4,1,2,1,3,1,2,1].map((e,t)=>({label:`Series ${t+1}`,value:e})),ct=(0,z.defineComponent)({__name:`SChartSegmentedBar`,props:(0,z.mergeModels)({segments:{default:()=>[]},showLegend:{type:Boolean,default:!0},loading:{type:Boolean,default:!1},formatValue:{type:Function},selectable:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1},legendSize:{default:()=>P.n.SMALL},formatTooltip:{type:Function}},{selectedIndex:{default:null},selectedIndexModifiers:{},selectedIndexes:{default:()=>[]},selectedIndexesModifiers:{}}),emits:(0,z.mergeModels)([`segmentClick`],[`update:selectedIndex`,`update:selectedIndexes`]),setup(e,{expose:t,emit:n}){let r=(0,z.useModel)(e,`selectedIndex`),i=(0,z.useModel)(e,`selectedIndexes`),a=n,o=N.w,s=(0,z.useTemplateRef)(`chartRootRef`),c=(0,z.useTemplateRef)(`chartCanvasRef`),l=(0,z.computed)(()=>e.loading?st:e.segments),u=(0,z.computed)(()=>l.value.map((t,n)=>de(n,s.value,t.fillColor,e.loading))),d=(0,z.computed)(()=>l.value.map((e,t)=>({segment:e,segmentIndex:t})).filter(({segment:e})=>e.value>0)),f=(0,z.computed)(()=>d.value.map(({segment:e})=>e)),p=(0,z.computed)(()=>d.value.map(({segmentIndex:e})=>_.value&&!i.value.includes(e)?N.c(s.value):u.value[e]??``)),m=(0,z.computed)(()=>{let e=new Map;return d.value.forEach(({segmentIndex:t},n)=>{e.set(t,n)}),e}),h=(0,z.ref)(null),g=t=>{if(e.multiple){i.value=i.value.includes(t)?i.value.filter(e=>e!==t):[...i.value,t];return}r.value=r.value===t?null:t},_=(0,z.computed)(()=>e.selectable&&e.multiple&&i.value.length>0),v=t=>{let n=d.value[t];n&&(a(`segmentClick`,n.segmentIndex,n.segment),e.selectable&&g(n.segmentIndex))},y=e=>{h.value=e===null?null:d.value[e]?.segmentIndex??null},b=I.t(`onSegmentClick`),x=t=>{let n=d.value[t];return n&&e.formatTooltip?e.formatTooltip(n.segment,n.segmentIndex):[]},S=(0,z.computed)(()=>e.selectable?e.multiple?h.value:h.value??r.value:null),C=(0,z.computed)(()=>_.value&&h.value===null?i.value:[]),w=(0,z.computed)(()=>ot({segments:f.value,segmentColors:p.value,colorHostElement:s.value,skeleton:e.loading,formatValue:e.formatValue,onSegmentClick:e.selectable||b()?v:void 0,onSegmentHover:e.selectable?y:void 0,resolveTooltipLines:e.formatTooltip?x:void 0})),T=(0,z.computed)(()=>l.value.map((e,t)=>({label:e.label,color:u.value[t]??``}))),{chartInstance:E}=N.n({canvasRef:c,config:w,enabled:(0,z.computed)(()=>e.loading||f.value.length>0)}),{exportImage:D,handleLegendItemHover:O,pinElement:k}=N.t({chartInstance:E,canvasRef:c,colorHostElement:s}),A=e=>e===null?null:m.value.get(e)??null,j=t=>{e.selectable&&(h.value=t),O(A(t))};return(0,z.watch)([E,r],()=>{e.selectable&&!e.loading&&k(A(r.value))}),t({exportImage:D}),(t,n)=>((0,z.openBlock)(),(0,z.createElementBlock)(`div`,{ref_key:`chartRootRef`,ref:s,class:(0,z.normalizeClass)([`s-ui-chart-segmented-bar`,{"s-ui-chart-segmented-bar--skeleton":e.loading}]),"data-qa":`ui:chart-segmented-bar`},[(0,z.createElementVNode)(`div`,{class:`s-ui-chart-segmented-bar__canvas-wrap`,onMouseleave:n[0]||=e=>y(null)},[(0,z.createVNode)((0,z.unref)(N.C),{loading:e.loading,type:(0,z.unref)(o).CARTESIAN},{default:(0,z.withCtx)(()=>[(0,z.createElementVNode)(`canvas`,{ref_key:`chartCanvasRef`,ref:c,class:`s-ui-chart-segmented-bar__canvas`},null,512)]),_:1},8,[`loading`,`type`])],32),e.showLegend&&T.value.length?((0,z.openBlock)(),(0,z.createBlock)((0,z.unref)(P.t),{key:0,items:T.value,disabled:e.loading,interactive:!e.loading,size:e.legendSize,selectable:e.selectable&&!e.loading,"active-index":S.value,"active-indexes":C.value,onItemHover:j,onItemClick:g},null,8,[`items`,`disabled`,`interactive`,`size`,`selectable`,`active-index`,`active-indexes`])):(0,z.createCommentVNode)(``,!0)],2))}}),lt={key:0,class:`s-ui-chart-widget__header`},ut={key:0,class:`s-ui-chart-widget__title-skeleton`,"aria-hidden":`true`},dt={key:1,class:`s-ui-chart-widget__heading`},ft={class:`s-ui-chart-widget__title s-ui-typography-label-16-medium`},pt={key:0,class:`s-ui-chart-widget__subtitle s-ui-typography-body-12-regular`},mt={class:`s-ui-chart-widget__controls`},ht={key:1,class:`s-ui-chart-widget__content`},gt={key:2,class:`s-ui-chart-widget__footer`},_t=(0,z.defineComponent)({__name:`SChartWidget`,props:(0,z.mergeModels)({title:{default:``},subtitle:{default:``},collapsible:{type:Boolean,default:!1},hideContentWhenCollapsed:{type:Boolean,default:!0},loading:{type:Boolean,default:!1}},{collapsed:{type:Boolean,default:!1},collapsedModifiers:{}}),emits:[`update:collapsed`],setup(e){let t=(0,z.useModel)(e,`collapsed`),n=(0,z.useSlots)(),{t:r}=(0,B.useUiKitI18n)(),i=(0,z.computed)(()=>!!e.subtitle||!!n.subtitle),a=(0,z.computed)(()=>!!e.title||!!n.title||i.value||!!n.actions||e.collapsible),s=(0,z.computed)(()=>!!n.footer),c=(0,z.computed)(()=>!t.value||!e.collapsible||!e.hideContentWhenCollapsed),l=(0,z.computed)(()=>r(t.value?`chartWidget.expand`:`chartWidget.collapse`));return(n,r)=>((0,z.openBlock)(),(0,z.createElementBlock)(`div`,{class:(0,z.normalizeClass)([`s-ui-chart-widget`,{"s-ui-chart-widget--skeleton":e.loading}]),"data-qa":`ui:chart-widget`},[a.value?((0,z.openBlock)(),(0,z.createElementBlock)(`div`,lt,[e.loading?((0,z.openBlock)(),(0,z.createElementBlock)(`span`,ut)):((0,z.openBlock)(),(0,z.createElementBlock)(`span`,dt,[(0,z.createElementVNode)(`span`,ft,[(0,z.renderSlot)(n.$slots,`title`,{},()=>[(0,z.createTextVNode)((0,z.toDisplayString)(e.title),1)])]),i.value?((0,z.openBlock)(),(0,z.createElementBlock)(`span`,pt,[(0,z.renderSlot)(n.$slots,`subtitle`,{},()=>[(0,z.createTextVNode)((0,z.toDisplayString)(e.subtitle),1)])])):(0,z.createCommentVNode)(``,!0)])),(0,z.createElementVNode)(`div`,mt,[(0,z.renderSlot)(n.$slots,`actions`),e.collapsible?((0,z.openBlock)(),(0,z.createBlock)((0,z.unref)(o.t),{key:0,appearance:(0,z.unref)(o.n).OUTLINED,variant:(0,z.unref)(o.i).NEUTRAL,size:(0,z.unref)(o.r).SMALL,icon:t.value?(0,z.unref)(B.ESIconName).chevronDown:(0,z.unref)(B.ESIconName).chevronUp,"aria-label":l.value,"aria-expanded":!t.value,onClick:r[0]||=e=>t.value=!t.value},null,8,[`appearance`,`variant`,`size`,`icon`,`aria-label`,`aria-expanded`])):(0,z.createCommentVNode)(``,!0)])])):(0,z.createCommentVNode)(``,!0),c.value?((0,z.openBlock)(),(0,z.createElementBlock)(`div`,ht,[(0,z.renderSlot)(n.$slots,`default`)])):(0,z.createCommentVNode)(``,!0),s.value?((0,z.openBlock)(),(0,z.createElementBlock)(`div`,gt,[(0,z.renderSlot)(n.$slots,`footer`)])):(0,z.createCommentVNode)(``,!0)],2))}}),vt=function(e){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}({}),yt=/^(\d{4})-(\d{2})-(\d{2})/,Z=e=>{if(e instanceof Date)return Number.isNaN(e.getTime())?null:{year:e.getFullYear(),month:e.getMonth(),day:e.getDate()};let t=yt.exec(e);return t?{year:Number(t[1]),month:Number(t[2])-1,day:Number(t[3])}:null},bt=(e,t)=>new Date(e,t+1,0).getDate(),Q=12,$=(e,t,n=!1)=>{if(e.year<t)return 0;if(e.year>t)return 100;let r=bt(e.year,e.month),i=n?e.day:e.day-1;return(e.month+i/r)/Q*100},xt=e=>{let t=new Intl.DateTimeFormat(e,{month:`long`});return Array.from({length:Q},(n,r)=>{let i=t.format(new Date(2e3,r,1));return i.charAt(0).toLocaleUpperCase(e)+i.slice(1)})},St=e=>Math.min(100,Math.max(0,e)),Ct=(e,t,n,r,i)=>e.flatMap(e=>{let a=Z(e.date);if(!a||a.year!==n)return[];let o=$(a,n,!0),s=i>0?St((o-r)/i*100):0;return[{milestone:e,status:e.status??t,offset:s}]}),wt=(e,t)=>e.flatMap(e=>{let n=Z(e.start),r=Z(e.end);if(!n||!r||n.year>t||r.year<t)return[];let i=$(n,t),a=$(r,t,!0);if(a<=i)return[];let o=e.status??vt.ON_PLAN,s=a-i;return[{item:e,status:o,left:i,width:s,progress:e.progress===void 0?null:St(Math.round(e.progress)),milestones:Ct(e.milestones??[],o,t,i,s)}]}),Tt=[`aria-busy`],Et={class:`s-ui-roadmap__ruler`},Dt={class:`s-ui-roadmap__year`},Ot={class:`s-ui-roadmap__months`},kt={class:`s-ui-roadmap__body`},At={class:`s-ui-roadmap__grid`,"aria-hidden":`true`},jt={key:1,class:`s-ui-roadmap__rows`},Mt={class:`s-ui-roadmap__row`},Nt={key:2,class:`s-ui-roadmap__rows`},Pt=[`role`,`tabindex`,`onClick`,`onKeydown`],Ft={class:`s-ui-roadmap__card-header`},It={class:`s-ui-roadmap__card-title`},Lt={class:`s-ui-roadmap__card-track`},Rt=[`title`,`aria-label`,`onClick`],zt={key:0,class:`s-ui-roadmap__card-progress`},Bt={class:`s-ui-roadmap__card-percent`},Vt={key:3,class:`s-ui-roadmap__empty`},Ht=3.8,Ut=39.6,Wt=16,Gt=16,Kt=(0,z.defineComponent)({__name:`SRoadmap`,props:{items:{default:()=>[]},year:{},today:{},loading:{type:Boolean,default:!1},itemActionLabel:{},milestoneActionLabel:{}},emits:[`itemClick`,`milestoneClick`],setup(e,{emit:t}){let n=t,r=Wt/2,i=B.ESIconName.stageFill,a=B.ESIconName.milestoneFill,o=B.ESProgressBarSize.SMALL,s=B.ESSkeletonType.S_ROADMAP_CARD,c={insetInlineStart:`${Ht}%`,inlineSize:`${Ut}%`},{t:l,locale:u}=(0,B.useUiKitI18n)(),d=I.t(`onItemClick`),f=I.t(`onMilestoneClick`),p=(0,z.ref)(null),m=(0,z.computed)(()=>d()?e.itemActionLabel:void 0),h=(0,z.computed)(()=>f()?e.milestoneActionLabel:void 0),g=(0,z.computed)(()=>p.value?{insetInlineStart:`${p.value.x}px`,insetBlockStart:`${p.value.y+Gt}px`}:void 0),_=(e,t)=>{p.value=e?{text:e,x:t.clientX,y:t.clientY}:null},v=()=>{p.value=null},y=(0,z.computed)(()=>Z(e.today??new Date)),b=(0,z.computed)(()=>e.year??y.value?.year??new Date().getFullYear()),x=(0,z.computed)(()=>y.value?.year===b.value),S=(0,z.computed)(()=>[`s-ui-roadmap`,{"s-ui-roadmap--loading":e.loading}]),C=(0,z.computed)(()=>xt(String((0,z.toValue)(u))).map((e,t)=>({index:t,label:e,classes:[`s-ui-roadmap__month`,{"s-ui-roadmap__month--current":x.value&&y.value?.month===t}]}))),w=(0,z.computed)(()=>!x.value||!y.value?null:{insetInlineStart:`${$(y.value,b.value)}%`}),T=(0,z.computed)(()=>wt(e.items,b.value).map(e=>({key:e.item.id,row:e,role:d()?`button`:void 0,tabindex:d()?0:void 0,progressLabel:l(`roadmap.progress`,{value:String(e.progress??0)}),cardClasses:[`s-ui-roadmap__card`,`s-ui-roadmap__card--status-${e.status}`,{"s-ui-roadmap__card--clickable":d()}],cardStyle:{insetInlineStart:`${e.left}%`,inlineSize:`${e.width}%`},milestones:e.milestones.map(e=>({key:e.milestone.id,placement:e,title:l(`roadmap.milestone`,{title:e.milestone.title}),nativeTitle:h.value?void 0:l(`roadmap.milestone`,{title:e.milestone.title}),classes:[`s-ui-roadmap__milestone`,`s-ui-roadmap__milestone--status-${e.status}`],style:{insetInlineStart:`clamp(0px, calc(${e.offset}% - ${r}px), calc(100% - ${Wt}px))`}}))}))),E=e=>{n(`itemClick`,e)},D=(e,t)=>{n(`milestoneClick`,e,t)};return(t,n)=>((0,z.openBlock)(),(0,z.createElementBlock)(`div`,{class:(0,z.normalizeClass)(S.value),"data-qa":`ui:roadmap`,"aria-busy":e.loading},[(0,z.createElementVNode)(`div`,Et,[(0,z.createElementVNode)(`div`,Dt,(0,z.toDisplayString)(b.value),1),(0,z.createElementVNode)(`ol`,Ot,[((0,z.openBlock)(!0),(0,z.createElementBlock)(z.Fragment,null,(0,z.renderList)(C.value,e=>((0,z.openBlock)(),(0,z.createElementBlock)(`li`,{key:e.index,class:(0,z.normalizeClass)(e.classes)},(0,z.toDisplayString)(e.label),3))),128))])]),(0,z.createElementVNode)(`div`,kt,[(0,z.createElementVNode)(`div`,At,[((0,z.openBlock)(!0),(0,z.createElementBlock)(z.Fragment,null,(0,z.renderList)(C.value,e=>((0,z.openBlock)(),(0,z.createElementBlock)(`span`,{key:e.index,class:`s-ui-roadmap__grid-column`}))),128))]),w.value?((0,z.openBlock)(),(0,z.createElementBlock)(`div`,{key:0,class:`s-ui-roadmap__today`,style:(0,z.normalizeStyle)(w.value),"aria-hidden":`true`},[...n[2]||=[(0,z.createElementVNode)(`span`,{class:`s-ui-roadmap__today-point`},null,-1)]],4)):(0,z.createCommentVNode)(``,!0),e.loading?((0,z.openBlock)(),(0,z.createElementBlock)(`ul`,jt,[(0,z.createElementVNode)(`li`,Mt,[(0,z.createElementVNode)(`div`,{class:`s-ui-roadmap__card s-ui-roadmap__card--skeleton`,style:c,"aria-hidden":`true`},[(0,z.createVNode)((0,z.unref)(B.SSkeleton),{class:`s-ui-roadmap__card-skeleton`,type:(0,z.unref)(s)},null,8,[`type`])])])])):T.value.length?((0,z.openBlock)(),(0,z.createElementBlock)(`ul`,Nt,[((0,z.openBlock)(!0),(0,z.createElementBlock)(z.Fragment,null,(0,z.renderList)(T.value,e=>((0,z.openBlock)(),(0,z.createElementBlock)(`li`,{key:e.key,class:`s-ui-roadmap__row`},[(0,z.createElementVNode)(`div`,{class:(0,z.normalizeClass)(e.cardClasses),style:(0,z.normalizeStyle)(e.cardStyle),role:e.role,tabindex:e.tabindex,onClick:t=>E(e.row.item),onKeydown:(0,z.withKeys)(t=>E(e.row.item),[`enter`]),onPointermove:n[1]||=e=>_(m.value,e),onPointerleave:v},[(0,z.createElementVNode)(`div`,Ft,[(0,z.renderSlot)(t.$slots,`item-leading`,{item:e.row.item}),(0,z.createElementVNode)(`span`,It,(0,z.toDisplayString)(e.row.item.title),1)]),(0,z.createElementVNode)(`div`,Lt,[(0,z.createVNode)((0,z.unref)(B.SIcon),{class:`s-ui-roadmap__stage-icon`,name:(0,z.unref)(i),size:16},null,8,[`name`]),((0,z.openBlock)(!0),(0,z.createElementBlock)(z.Fragment,null,(0,z.renderList)(e.milestones,t=>((0,z.openBlock)(),(0,z.createElementBlock)(`button`,{key:t.key,type:`button`,class:(0,z.normalizeClass)(t.classes),style:(0,z.normalizeStyle)(t.style),title:t.nativeTitle,"aria-label":t.title,onClick:(0,z.withModifiers)(n=>D(t.placement.milestone,e.row.item),[`stop`]),onPointermove:n[0]||=(0,z.withModifiers)(e=>_(h.value,e),[`stop`])},[(0,z.createVNode)((0,z.unref)(B.SIcon),{name:(0,z.unref)(a),size:16},null,8,[`name`])],46,Rt))),128))]),e.row.progress===null?(0,z.createCommentVNode)(``,!0):((0,z.openBlock)(),(0,z.createElementBlock)(`div`,zt,[(0,z.createVNode)((0,z.unref)(B.SProgressBar),{class:`s-ui-roadmap__card-progress-bar`,value:e.row.progress,size:(0,z.unref)(o),"aria-label":e.progressLabel},null,8,[`value`,`size`,`aria-label`]),(0,z.createElementVNode)(`span`,Bt,(0,z.toDisplayString)(e.row.progress)+`%`,1)]))],46,Pt)]))),128))])):((0,z.openBlock)(),(0,z.createElementBlock)(`div`,Vt,[(0,z.renderSlot)(t.$slots,`empty`,{},()=>[(0,z.createTextVNode)((0,z.toDisplayString)((0,z.unref)(l)(`roadmap.empty`)),1)])]))]),((0,z.openBlock)(),(0,z.createBlock)(z.Teleport,{to:`body`},[p.value?((0,z.openBlock)(),(0,z.createElementBlock)(`span`,{key:0,class:`s-ui-roadmap__hint`,style:(0,z.normalizeStyle)(g.value),role:`tooltip`},(0,z.toDisplayString)(p.value.text),5)):(0,z.createCommentVNode)(``,!0)]))],10,Tt))}});exports.CALENDAR_WEEK_SLOT_COUNT=L.a,exports.DAY_TIMELINE_MINUTES=L.r,exports.DEFAULT_COLOR_PALETTE=r.i,exports.EAccentColor=r.a,exports.EButtonAppearance=o.n,exports.EButtonGroupLayout=l.i,exports.EButtonSize=o.r,exports.EButtonVariant=o.i,exports.EColorFormat=r.o,exports.EConnectedPositionStrategy=h.a,exports.ENotificationLayout=W,exports.ENotificationLeftside=G,exports.ENotificationType=U,exports.ESAvatarBadge=t.n,exports.ESAvatarColor=t.r,exports.ESAvatarGroupSize=a.n,exports.ESAvatarIconBackground=t.i,exports.ESAvatarShape=t.a,exports.ESAvatarSize=t.o,exports.ESBadgeColor=e.n,exports.ESBadgePlacement=e.r,exports.ESCalendarEventDirection=L.l,exports.ESCalendarMonthDayTone=L.u,exports.ESCardLayout=d.n,exports.ESChartLegendSize=P.n,exports.ESChartPieLegendView=F.n,exports.ESCheckboxColor=u.n,exports.ESCheckboxLabelPlacement=u.r,exports.ESCheckboxSize=u.i,exports.ESChipColor=v.n,exports.ESChipSize=v.r,exports.ESColorPaletteLayout=r.n,exports.ESDropdownBoundary=h.o,exports.ESDropdownPlacement=h.s,exports.ESInlineGroupOrientation=l.r,exports.ESInlineInputAppearance=A.n,exports.ESInlineMessageValidationStatus=S.n,exports.ESInputCustomize=x.r,exports.ESLabelSize=C.n,exports.ESLabelVariant=C.r,exports.ESListGap=E.a,exports.ESListItemRole=T.n,exports.ESListItemVariant=T.r,exports.ESPhotoEditShape=M.n,exports.ESPhotoEditSize=M.r,exports.ESRadioLabelPlacement=O.n,exports.ESRoadmapStatus=vt,exports.ESSegmentControlShape=f.n,exports.ESSegmentControlSize=f.r,exports.ESSelectSearchable=D.n,exports.ESTabAppearance=p.n,exports.ESTabSize=p.r,exports.ESTableCellState=R.n,exports.ESTableCheckState=R.r,exports.ESTableColumnAlign=R.i,exports.ESTableColumnSticky=R.a,exports.ESTableDropAction=R.o,exports.ESTableFooterTone=R.s,exports.ESTableRowColor=R.c,exports.ESTableRowHeightMode=R.l,exports.ESTableRowKind=R.u,exports.ESTableRowState=R.d,exports.ESTableRowsDragMode=R.f,exports.ESTableSortDirection=R.p,exports.ESTagColor=g.n,exports.ESTagSize=g.r,exports.ESToggleLabelPlacement=k.n,exports.ESToggleSize=k.r,exports.ESelectionFocusMode=s.t,exports.ESelectionMode=s.n,exports.ESelectionOrientation=s.r,exports.EWorkTimeSource=L.c,exports.MAX_RECENT_COLORS=n.i,exports.RECOMMENDED_COLOR_PALETTE=r.r,exports.SAvatar=t.t,exports.SAvatarGroup=a.t,exports.SBadge=e.t,exports.SBanner=Te,exports.SButton=o.t,exports.SButtonGroup=l.t,exports.SCalendarMonth=L.d,exports.SCalendarWeekGrid=L.i,exports.SCard=d.t,exports.SChartBar=se.t,exports.SChartBurnup=oe.t,exports.SChartHorizontalBar=ie.t,exports.SChartLegend=P.t,exports.SChartLine=ee.t,exports.SChartMultiLine=ae.t,exports.SChartPie=F.t,exports.SChartProgress=ce.t,exports.SChartScatter=le.t,exports.SChartSegmentedBar=ct,exports.SChartStackedArea=ne.t,exports.SChartStackedBar=re.t,exports.SChartWidget=_t,exports.SCheckbox=u.t,exports.SChip=v.t,exports.SColorArea=n.r,exports.SColorPalette=r.t,exports.SColorPicker=n.t,exports.SColorValues=n.n,exports.SDayTimeline=L.n,exports.SDropdown=y.t,exports.SDropdownMenu=b.t,exports.SInlineGroup=l.n,exports.SInlineInput=A.t,exports.SInlineMessage=S.t,exports.SInput=x.t,exports.SLabel=C.t,exports.SList=E.t,exports.SListItem=T.t,exports.SPhotoEdit=M.t,exports.SRadio=O.t,exports.SRoadmap=Kt,exports.SSegmentControl=f.t,exports.SSelect=D.t,exports.STab=p.t,exports.STable=R.t,exports.STabs=m.t,exports.STag=g.t,exports.STagGroup=_.t,exports.STextarea=j.t,exports.SToast=Ee,exports.SToastProvider=Ge,exports.SToggle=k.t,exports.S_DROPDOWN_SHEET_BREAKPOINT=y.n,exports.TOAST_AUTO_DURATION_MAX_MS=je,exports.TOAST_AUTO_DURATION_MIN_MS=Ae,exports.TOAST_AUTO_DURATION_MS_PER_CHAR=Me,exports.WORK_TIME_SOURCE_COLOR_VARS=L.o,exports.WORK_TIME_SOURCE_ORDER=L.s,exports.buildWorkTimeLegendItems=L.t,exports.computeAutoDuration=q,exports.computeConnectedPosition=h.i,Object.defineProperty(exports,"createUiKit",{enumerable:!0,get:function(){return B.createUiKit}}),exports.formatDurationHM=L.f,exports.isSameColor=i.r,exports.normalizeColorValue=i.i,exports.resolveColorPreview=i.a,exports.resolveOwnPropOrGroupedOrFallback=s.a,Object.defineProperty(exports,"setUiKitLocale",{enumerable:!0,get:function(){return B.setUiKitLocale}}),Object.defineProperty(exports,"uiKitLocaleEn",{enumerable:!0,get:function(){return B.uiKitLocaleEn}}),Object.defineProperty(exports,"uiKitLocaleRu",{enumerable:!0,get:function(){return B.uiKitLocaleRu}}),exports.useFlatTreeList=w.s,exports.useFloatingOverlay=h.t,exports.useSListEndReached=w.a,exports.useSelectionGroup=s.o,exports.useSelectionGroupItem=c.n,exports.useToast=He,Object.defineProperty(exports,"useUiKitI18n",{enumerable:!0,get:function(){return B.useUiKitI18n}});var qt=require("@shtabapp/ui-kit-tokens");Object.keys(qt).forEach(function(e){e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:function(){return qt[e]}})}),Object.keys(B).forEach(function(e){e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:function(){return B[e]}})});
|
package/dist/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export { EButtonGroupLayout, SButtonGroup } from './components/SButtonGroup';
|
|
|
9
9
|
export type { ISButtonGroupProps, TSButtonGroupModelValue, TSButtonGroupModelValueForMode, TSButtonGroupInstance, } from './components/SButtonGroup';
|
|
10
10
|
export { ESCardLayout, SCard } from './components/SCard';
|
|
11
11
|
export type { ISCardProps, TSCardInstance } from './components/SCard';
|
|
12
|
-
export { ESSegmentControlSize, SSegmentControl } from './components/SSegmentControl';
|
|
12
|
+
export { ESSegmentControlShape, ESSegmentControlSize, SSegmentControl, } from './components/SSegmentControl';
|
|
13
13
|
export type { ISSegmentControlItem, ISSegmentControlProps, TSSegmentControlInstance, TSSegmentControlValue, } from './components/SSegmentControl';
|
|
14
14
|
export { ESTabAppearance, ESTabSize, STab } from './components/STab';
|
|
15
15
|
export type { ISTabExpose, ISTabProps, TSTabInstance } from './components/STab';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,CAAA;AAE3B,OAAO,EACL,aAAa,EACb,aAAa,EACb,sBAAsB,EACtB,aAAa,EACb,YAAY,EACZ,OAAO,GACR,MAAM,sBAAsB,CAAA;AAC7B,YAAY,EACV,aAAa,EACb,kBAAkB,EAClB,gBAAgB,EAChB,gBAAgB,GACjB,MAAM,sBAAsB,CAAA;AAE7B,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAC3E,YAAY,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAA;AAE1F,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,cAAc,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAC9F,YAAY,EACV,aAAa,EACb,gBAAgB,EAChB,YAAY,EACZ,aAAa,GACd,MAAM,sBAAsB,CAAA;AAE7B,OAAO,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAC5E,YAAY,EACV,kBAAkB,EAClB,uBAAuB,EACvB,8BAA8B,EAC9B,qBAAqB,GACtB,MAAM,2BAA2B,CAAA;AAElC,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAA;AAC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