@shtabapp/ui-kit 1.63.0 → 1.64.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -2
- package/dist/{SAvatar-DTG0odWX.cjs → SAvatar-ClmtSIFg.cjs} +1 -1
- package/dist/{SAvatar-BK8cEzGY.js → SAvatar-hWbsODUa.js} +1 -1
- package/dist/{SAvatarGroup-CTC_esUv.cjs → SAvatarGroup-By8oMNTe.cjs} +1 -1
- package/dist/{SAvatarGroup-F5w88NGf.js → SAvatarGroup-CSSCQKdH.js} +1 -1
- package/dist/SColorPicker-BRSi0Xhm.cjs +1 -0
- package/dist/{SColorPicker-BL-zrskU.js → SColorPicker-Djr-R81h.js} +2 -1
- package/dist/SDropdownMenu-2koPU6IG.js +38 -0
- package/dist/SDropdownMenu-k9SxaFVH.cjs +1 -0
- package/dist/SList-D0PDc8VN.cjs +1 -0
- package/dist/SList-D2K9dNsj.js +465 -0
- package/dist/SSelect-CRlkCLik.cjs +1 -0
- package/dist/SSelect-D6taevzT.js +650 -0
- package/dist/STable-NbCfen0n.cjs +1 -0
- package/dist/STable-aS1eGuVB.js +3445 -0
- package/dist/components/SList/SList.vue.d.ts.map +1 -1
- package/dist/components/SList/utils/resolveListItemFields.d.ts +1 -1
- package/dist/components/SList/utils/resolveListItemFields.d.ts.map +1 -1
- package/dist/components/STable/STable.types.d.ts +317 -0
- package/dist/components/STable/STable.types.d.ts.map +1 -0
- package/dist/components/STable/STable.vue.d.ts +154 -0
- package/dist/components/STable/STable.vue.d.ts.map +1 -0
- package/dist/components/STable/constants/tableSizes.d.ts +76 -0
- package/dist/components/STable/constants/tableSizes.d.ts.map +1 -0
- package/dist/components/STable/index.d.ts +4 -0
- package/dist/components/STable/index.d.ts.map +1 -0
- package/dist/components/STable/parts/STableCellText.vue.d.ts +23 -0
- package/dist/components/STable/parts/STableCellText.vue.d.ts.map +1 -0
- package/dist/components/STable/parts/STableCheckbox.vue.d.ts +17 -0
- package/dist/components/STable/parts/STableCheckbox.vue.d.ts.map +1 -0
- package/dist/components/STable/parts/STableContentRow.vue.d.ts +41 -0
- package/dist/components/STable/parts/STableContentRow.vue.d.ts.map +1 -0
- package/dist/components/STable/parts/STableGroupRow.vue.d.ts +55 -0
- package/dist/components/STable/parts/STableGroupRow.vue.d.ts.map +1 -0
- package/dist/components/STable/parts/STableHeaderCell.vue.d.ts +36 -0
- package/dist/components/STable/parts/STableHeaderCell.vue.d.ts.map +1 -0
- package/dist/components/STable/parts/STableHint.vue.d.ts +7 -0
- package/dist/components/STable/parts/STableHint.vue.d.ts.map +1 -0
- package/dist/components/STable/parts/STablePlaceholderRow.vue.d.ts +25 -0
- package/dist/components/STable/parts/STablePlaceholderRow.vue.d.ts.map +1 -0
- package/dist/components/STable/parts/STableRow.vue.d.ts +67 -0
- package/dist/components/STable/parts/STableRow.vue.d.ts.map +1 -0
- package/dist/components/STable/parts/STableSkeletonRow.vue.d.ts +27 -0
- package/dist/components/STable/parts/STableSkeletonRow.vue.d.ts.map +1 -0
- package/dist/components/STable/utils/tableDndShared.d.ts +17 -0
- package/dist/components/STable/utils/tableDndShared.d.ts.map +1 -0
- package/dist/components/STable/utils/useFlatTableRows.d.ts +62 -0
- package/dist/components/STable/utils/useFlatTableRows.d.ts.map +1 -0
- package/dist/components/STable/utils/useTableCellPlans.d.ts +48 -0
- package/dist/components/STable/utils/useTableCellPlans.d.ts.map +1 -0
- package/dist/components/STable/utils/useTableColumnDnd.d.ts +28 -0
- package/dist/components/STable/utils/useTableColumnDnd.d.ts.map +1 -0
- package/dist/components/STable/utils/useTableColumnResize.d.ts +24 -0
- package/dist/components/STable/utils/useTableColumnResize.d.ts.map +1 -0
- package/dist/components/STable/utils/useTableColumns.d.ts +86 -0
- package/dist/components/STable/utils/useTableColumns.d.ts.map +1 -0
- package/dist/components/STable/utils/useTableGridFocus.d.ts +79 -0
- package/dist/components/STable/utils/useTableGridFocus.d.ts.map +1 -0
- package/dist/components/STable/utils/useTableGridKeyboard.d.ts +36 -0
- package/dist/components/STable/utils/useTableGridKeyboard.d.ts.map +1 -0
- package/dist/components/STable/utils/useTableRenderEntries.d.ts +56 -0
- package/dist/components/STable/utils/useTableRenderEntries.d.ts.map +1 -0
- package/dist/components/STable/utils/useTableRowDnd.d.ts +37 -0
- package/dist/components/STable/utils/useTableRowDnd.d.ts.map +1 -0
- package/dist/components/STable/utils/useTableRowHydration.d.ts +29 -0
- package/dist/components/STable/utils/useTableRowHydration.d.ts.map +1 -0
- package/dist/components/STable/utils/useTableScrollScale.d.ts +34 -0
- package/dist/components/STable/utils/useTableScrollScale.d.ts.map +1 -0
- package/dist/components/STable/utils/useTableSelection.d.ts +27 -0
- package/dist/components/STable/utils/useTableSelection.d.ts.map +1 -0
- package/dist/components/STable/utils/useTableServiceRows.d.ts +57 -0
- package/dist/components/STable/utils/useTableServiceRows.d.ts.map +1 -0
- package/dist/components/STable/utils/useTableSorting.d.ts +21 -0
- package/dist/components/STable/utils/useTableSorting.d.ts.map +1 -0
- package/dist/components/STable/utils/useTableStickyRows.d.ts +38 -0
- package/dist/components/STable/utils/useTableStickyRows.d.ts.map +1 -0
- package/dist/components/STable/utils/useTableStyleVars.d.ts +22 -0
- package/dist/components/STable/utils/useTableStyleVars.d.ts.map +1 -0
- package/dist/components/STable/utils/useTableVirtualRows.d.ts +56 -0
- package/dist/components/STable/utils/useTableVirtualRows.d.ts.map +1 -0
- package/dist/composables/treeKeyboardNavigation.d.ts +26 -0
- package/dist/composables/treeKeyboardNavigation.d.ts.map +1 -0
- package/dist/composables/useFlatTreeList.d.ts +1 -0
- package/dist/composables/useFlatTreeList.d.ts.map +1 -1
- package/dist/entries/avatar-group.cjs +1 -1
- package/dist/entries/avatar-group.js +1 -1
- package/dist/entries/avatar.cjs +1 -1
- package/dist/entries/avatar.js +1 -1
- package/dist/entries/color-picker.cjs +1 -1
- package/dist/entries/color-picker.js +1 -1
- package/dist/entries/list.cjs +1 -1
- package/dist/entries/list.js +1 -1
- package/dist/entries/select.cjs +1 -1
- package/dist/entries/select.js +1 -1
- package/dist/entries/table.cjs +1 -0
- package/dist/entries/table.d.ts +3 -0
- package/dist/entries/table.d.ts.map +1 -0
- package/dist/entries/table.js +2 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +113 -110
- package/dist/treeKeyboardNavigation-BOz2SVus.cjs +1 -0
- package/dist/treeKeyboardNavigation-SmxTdnDz.js +131 -0
- package/dist/uikit-components.css +1 -1
- package/package.json +14 -3
- package/dist/SColorPicker-CvhpJEj1.cjs +0 -1
- package/dist/SList-C39LrsoS.js +0 -590
- package/dist/SList-Du0gqyFs.cjs +0 -1
- package/dist/SSelect-BkX3VuCr.js +0 -682
- package/dist/SSelect-CHWKMbB_.cjs +0 -1
- package/dist/components/SList/utils/treeKeyboardNavigation.d.ts +0 -16
- package/dist/components/SList/utils/treeKeyboardNavigation.d.ts.map +0 -1
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { type ComputedRef, type MaybeRefOrGetter } from 'vue';
|
|
2
|
+
import type { TSTableFlatRowsSnapshot } from './useFlatTableRows';
|
|
3
|
+
export interface IUseTableStickyRowsOptions<TItem extends Record<string, unknown>> {
|
|
4
|
+
snapshot: ComputedRef<TSTableFlatRowsSnapshot<TItem>>;
|
|
5
|
+
/** Видимый диапазон строк (без overscan) от виртуализатора. */
|
|
6
|
+
visibleRange: ComputedRef<{
|
|
7
|
+
startIndex: number;
|
|
8
|
+
endIndex: number;
|
|
9
|
+
} | undefined>;
|
|
10
|
+
depthFooterSticky: MaybeRefOrGetter<boolean>;
|
|
11
|
+
/**
|
|
12
|
+
* Индекс строки у нижней кромки вьюпорта с поправкой на шапку и прижатые
|
|
13
|
+
* полосы tfoot: `range.endIndex` считает от начала tbody и указывает на
|
|
14
|
+
* строку, которая ниже видимой области на высоту этих полос.
|
|
15
|
+
*/
|
|
16
|
+
bottomVisibleRowIndex: ComputedRef<number | undefined>;
|
|
17
|
+
/** Модельные офсеты строк от виртуализатора: запас прижатия футеров считается в px. */
|
|
18
|
+
getRowOffset: (rowIndex: number) => {
|
|
19
|
+
start: number;
|
|
20
|
+
end: number;
|
|
21
|
+
} | undefined;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Выбор «активных» sticky-строк по индексам (вердикт ресёрча sticky-строк):
|
|
25
|
+
* JS решает только, ЧЬИ ячейки получают `position: sticky`, — само прилипание,
|
|
26
|
+
* плавный вход и выход в поток делает CSS. Активный групп-хедер — глубочайшая
|
|
27
|
+
* группа, накрывающая верх вьюпорта; активный depth-футер — футер глубочайшего
|
|
28
|
+
* предка строки у нижней границы (вариант А: прижат, пока поддерево видимо).
|
|
29
|
+
*/
|
|
30
|
+
export declare const useTableStickyRows: <TItem extends Record<string, unknown>>({ snapshot, visibleRange, depthFooterSticky, bottomVisibleRowIndex, getRowOffset, }: IUseTableStickyRowsOptions<TItem>) => {
|
|
31
|
+
activeGroupRowIndex: ComputedRef<number | undefined>;
|
|
32
|
+
activeDepthFooterRowIndex: ComputedRef<number | undefined>;
|
|
33
|
+
activeDepthFooterRowIndexes: ComputedRef<number[]>;
|
|
34
|
+
leavingDepthFooterRowIndex: ComputedRef<number | undefined>;
|
|
35
|
+
slidingDepthFooterRowIndexes: ComputedRef<number[]>;
|
|
36
|
+
farDepthFooterRowIndexes: ComputedRef<number[]>;
|
|
37
|
+
};
|
|
38
|
+
//# sourceMappingURL=useTableStickyRows.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTableStickyRows.d.ts","sourceRoot":"","sources":["../../../../src/components/STable/utils/useTableStickyRows.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,KAAK,CAAA;AAOhF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAA;AAOjE,MAAM,WAAW,0BAA0B,CAAC,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAC/E,QAAQ,EAAE,WAAW,CAAC,uBAAuB,CAAC,KAAK,CAAC,CAAC,CAAA;IACrD,+DAA+D;IAC/D,YAAY,EAAE,WAAW,CAAC;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC,CAAA;IAC/E,iBAAiB,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAA;IAC5C;;;;OAIG;IACH,qBAAqB,EAAE,WAAW,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IACtD,uFAAuF;IACvF,YAAY,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,GAAG,SAAS,CAAA;CAC/E;AAED;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB,GAAI,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,qFAMvE,0BAA0B,CAAC,KAAK,CAAC;;;;;;;CA2LnC,CAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { type ComputedRef, type CSSProperties, type MaybeRefOrGetter } from 'vue';
|
|
2
|
+
export interface IUseTableStyleVarsOptions {
|
|
3
|
+
/** Суммарная высота прилипших снизу полос tfoot (агрегат + строка создания). */
|
|
4
|
+
tfootBarStackHeight: ComputedRef<number>;
|
|
5
|
+
hasFooterValues: MaybeRefOrGetter<boolean>;
|
|
6
|
+
scrollClientWidth: MaybeRefOrGetter<number>;
|
|
7
|
+
columnCssVars: ComputedRef<Record<string, string>>;
|
|
8
|
+
totalWidth: ComputedRef<number>;
|
|
9
|
+
height: MaybeRefOrGetter<number | string | undefined>;
|
|
10
|
+
maxHeight: MaybeRefOrGetter<number | string | undefined>;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* CSS-переменные блока: единственный источник размеров — константы `tableSizes`,
|
|
14
|
+
* поэтому в стилях нет дублей чисел, а ширины и sticky-офсеты колонок приезжают
|
|
15
|
+
* из `useTableColumns` уже посчитанными.
|
|
16
|
+
*/
|
|
17
|
+
export declare const useTableStyleVars: ({ tfootBarStackHeight, hasFooterValues, scrollClientWidth, columnCssVars, totalWidth, height, maxHeight, }: IUseTableStyleVarsOptions) => {
|
|
18
|
+
rootStyle: ComputedRef<CSSProperties>;
|
|
19
|
+
scrollStyle: ComputedRef<CSSProperties>;
|
|
20
|
+
tableStyle: ComputedRef<CSSProperties>;
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=useTableStyleVars.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTableStyleVars.d.ts","sourceRoot":"","sources":["../../../../src/components/STable/utils/useTableStyleVars.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,WAAW,EAAE,KAAK,aAAa,EAAE,KAAK,gBAAgB,EAAE,MAAM,KAAK,CAAA;AAUpG,MAAM,WAAW,yBAAyB;IACxC,gFAAgF;IAChF,mBAAmB,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IACxC,eAAe,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAA;IAC1C,iBAAiB,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAA;IAC3C,aAAa,EAAE,WAAW,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAA;IAClD,UAAU,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAC/B,MAAM,EAAE,gBAAgB,CAAC,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC,CAAA;IACrD,SAAS,EAAE,gBAAgB,CAAC,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC,CAAA;CACzD;AAUD;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,GAAI,4GAQ/B,yBAAyB;;;;CAqC3B,CAAA"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { type MaybeRefOrGetter, type Ref } from 'vue';
|
|
2
|
+
import { type VirtualItem, type Virtualizer } from '@tanstack/vue-virtual';
|
|
3
|
+
import type { TSTableScrollAlign } from '../STable.types';
|
|
4
|
+
export interface IUseTableVirtualRowsOptions {
|
|
5
|
+
rowCount: MaybeRefOrGetter<number>;
|
|
6
|
+
enabled: MaybeRefOrGetter<boolean>;
|
|
7
|
+
/** Замер фактических высот строк (rowHeightMode auto). */
|
|
8
|
+
autoMeasure: MaybeRefOrGetter<boolean>;
|
|
9
|
+
estimateRowSize: MaybeRefOrGetter<number>;
|
|
10
|
+
/** Оценка высоты конкретной строки (групповые/футерные ниже обычных). */
|
|
11
|
+
estimateRowSizeByIndex?: (rowIndex: number) => number | undefined;
|
|
12
|
+
overscan: MaybeRefOrGetter<number>;
|
|
13
|
+
scrollElement: Ref<HTMLElement | null>;
|
|
14
|
+
/** Ключ строки по индексу: кэш размеров живёт по ключу, а не по позиции. */
|
|
15
|
+
getRowKey: (rowIndex: number) => string | number;
|
|
16
|
+
/** Версия данных: смена (новый массив строк) сбрасывает кэш замеров. */
|
|
17
|
+
rowsVersion: MaybeRefOrGetter<unknown>;
|
|
18
|
+
/** Высота вьюпорта скроллера (clientHeight) — для сжатия прокрутки и выравнивания. */
|
|
19
|
+
viewportHeight: MaybeRefOrGetter<number>;
|
|
20
|
+
/** Шапка и полосы tfoot: входят в scrollHeight, но не в модельную высоту строк. */
|
|
21
|
+
extraHeight: MaybeRefOrGetter<number>;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Оконная математика поверх @tanstack/vue-virtual для спейсерной виртуализации:
|
|
25
|
+
* строки рендерятся in-flow, вырезанное компенсируют два спейсер-`<tr>` (формула
|
|
26
|
+
* TanStack discussion #476). Замер высот — ручной батч offsetHeight → resizeItem
|
|
27
|
+
* в post-flush (DOM-пул строк несовместим со штатным measureElement: ref-каллбек
|
|
28
|
+
* не перевызывается при смене data-index у переиспользованного элемента).
|
|
29
|
+
* resizeItem сам компенсирует scrollTop при перемере строк выше вьюпорта.
|
|
30
|
+
*/
|
|
31
|
+
export declare const useTableVirtualRows: ({ rowCount, enabled, autoMeasure, estimateRowSize, estimateRowSizeByIndex, overscan, scrollElement, getRowKey, rowsVersion, viewportHeight, extraHeight, }: IUseTableVirtualRowsOptions) => {
|
|
32
|
+
rowVirtualizer: Ref<Virtualizer<HTMLElement, Element>, Virtualizer<HTMLElement, Element>>;
|
|
33
|
+
virtualItems: import("vue").ComputedRef<VirtualItem[]>;
|
|
34
|
+
windowIndexes: import("vue").ComputedRef<number[]>;
|
|
35
|
+
totalSize: import("vue").ComputedRef<number>;
|
|
36
|
+
uiTotalSize: import("vue").ComputedRef<number>;
|
|
37
|
+
modelScrollOffset: import("vue").ComputedRef<number>;
|
|
38
|
+
scrollCompressed: import("vue").ComputedRef<boolean>;
|
|
39
|
+
measureWindowRows: () => void;
|
|
40
|
+
measureNewRows: () => void;
|
|
41
|
+
scrollToIndex: (rowIndex: number, align?: TSTableScrollAlign) => void;
|
|
42
|
+
visibleRange: import("vue").ComputedRef<{
|
|
43
|
+
startIndex: number;
|
|
44
|
+
endIndex: number;
|
|
45
|
+
} | undefined>;
|
|
46
|
+
getRowOffset: (rowIndex: number) => {
|
|
47
|
+
start: number;
|
|
48
|
+
end: number;
|
|
49
|
+
} | undefined;
|
|
50
|
+
getRowUiOffset: (rowIndex: number) => {
|
|
51
|
+
start: number;
|
|
52
|
+
end: number;
|
|
53
|
+
} | undefined;
|
|
54
|
+
getRowIndexAtOffset: (contentOffset: number) => number | undefined;
|
|
55
|
+
};
|
|
56
|
+
//# sourceMappingURL=useTableVirtualRows.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTableVirtualRows.d.ts","sourceRoot":"","sources":["../../../../src/components/STable/utils/useTableVirtualRows.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwC,KAAK,gBAAgB,EAAE,KAAK,GAAG,EAAE,MAAM,KAAK,CAAA;AAE3F,OAAO,EAIL,KAAK,WAAW,EAChB,KAAK,WAAW,EACjB,MAAM,uBAAuB,CAAA;AAG9B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAKzD,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAA;IAClC,OAAO,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAA;IAClC,0DAA0D;IAC1D,WAAW,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAA;IACtC,eAAe,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAA;IACzC,yEAAyE;IACzE,sBAAsB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,MAAM,GAAG,SAAS,CAAA;IACjE,QAAQ,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAA;IAClC,aAAa,EAAE,GAAG,CAAC,WAAW,GAAG,IAAI,CAAC,CAAA;IACtC,4EAA4E;IAC5E,SAAS,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,MAAM,GAAG,MAAM,CAAA;IAChD,wEAAwE;IACxE,WAAW,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAA;IACtC,sFAAsF;IACtF,cAAc,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAA;IACxC,mFAAmF;IACnF,WAAW,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAA;CACtC;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,mBAAmB,GAAI,4JAYjC,2BAA2B;;;;;;;;;;8BA2UK,MAAM,UAAS,kBAAkB;;;;;6BAsDlC,MAAM;;;;+BAWJ,MAAM;;;;yCAxCI,MAAM;CAoEnD,CAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Структурный минимум строки дерева: и SList, и STable кладут сюда свои плоские строки.
|
|
3
|
+
* Утилита не знает ни про item, ни про вид строки — только про связи родитель/потомки.
|
|
4
|
+
*/
|
|
5
|
+
export type TTreeNavigationRow = {
|
|
6
|
+
key: string;
|
|
7
|
+
depth: number;
|
|
8
|
+
hasChildren: boolean;
|
|
9
|
+
expanded: boolean;
|
|
10
|
+
parentKey?: string;
|
|
11
|
+
};
|
|
12
|
+
export type TTreeKeyboardNavigationAction = {
|
|
13
|
+
type: 'select';
|
|
14
|
+
rowKey: string;
|
|
15
|
+
} | {
|
|
16
|
+
type: 'expand';
|
|
17
|
+
rowKey: string;
|
|
18
|
+
} | {
|
|
19
|
+
type: 'collapse';
|
|
20
|
+
rowKey: string;
|
|
21
|
+
};
|
|
22
|
+
export declare const resolveListSelectionAnchorKey: (currentKey: string, selectedKey: string | string[] | undefined) => string;
|
|
23
|
+
export declare const listHasTreeStructure: <TRow extends TTreeNavigationRow>(flatRows: readonly TRow[]) => boolean;
|
|
24
|
+
export declare const resolveTreeKeyboardNavigationAction: <TRow extends TTreeNavigationRow>(key: "ArrowLeft" | "ArrowRight", anchorKey: string, flatRows: readonly TRow[]) => TTreeKeyboardNavigationAction | null;
|
|
25
|
+
export declare const resolveTreeVerticalNavigationTarget: <TRow extends TTreeNavigationRow>(key: "ArrowUp" | "ArrowDown", anchorKey: string, flatRows: readonly TRow[]) => string | null;
|
|
26
|
+
//# sourceMappingURL=treeKeyboardNavigation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"treeKeyboardNavigation.d.ts","sourceRoot":"","sources":["../../src/composables/treeKeyboardNavigation.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,OAAO,CAAA;IACpB,QAAQ,EAAE,OAAO,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,MAAM,MAAM,6BAA6B,GACrC;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,GAClC;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,GAClC;IAAE,IAAI,EAAE,UAAU,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAA;AAExC,eAAO,MAAM,6BAA6B,GACxC,YAAY,MAAM,EAClB,aAAa,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS,WAW3C,CAAA;AAED,eAAO,MAAM,oBAAoB,GAAI,IAAI,SAAS,kBAAkB,EAClE,UAAU,SAAS,IAAI,EAAE,YAG1B,CAAA;AAyCD,eAAO,MAAM,mCAAmC,GAAI,IAAI,SAAS,kBAAkB,EACjF,KAAK,WAAW,GAAG,YAAY,EAC/B,WAAW,MAAM,EACjB,UAAU,SAAS,IAAI,EAAE,KACxB,6BAA6B,GAAG,IAUlC,CAAA;AAuBD,eAAO,MAAM,mCAAmC,GAAI,IAAI,SAAS,kBAAkB,EACjF,KAAK,SAAS,GAAG,WAAW,EAC5B,WAAW,MAAM,EACjB,UAAU,SAAS,IAAI,EAAE,kBAoB1B,CAAA"}
|
|
@@ -29,6 +29,7 @@ export interface IUseFlatTreeListReturn<TItem extends Record<string, unknown>> {
|
|
|
29
29
|
toggleExpanded: (rowKey: string) => void;
|
|
30
30
|
isExpanded: (rowKey: string) => boolean;
|
|
31
31
|
}
|
|
32
|
+
export declare const resolveListItemKey: <TItem extends Record<string, unknown>>(item: TItem, itemKeyResolver: TListItemKeyResolver<TItem>) => string;
|
|
32
33
|
export declare const LIST_DIVIDER_ROW_KEY = "__s-ui-list-divider__";
|
|
33
34
|
export declare const useFlatTreeList: <TItem extends Record<string, unknown>>({ items, childrenKey, itemKey, expanded, hasMoreChildrenKey, selectedOnTop, selectedKeys, }: IUseFlatTreeListOptions<TItem>) => IUseFlatTreeListReturn<TItem>;
|
|
34
35
|
//# sourceMappingURL=useFlatTreeList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":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C,KAAK,CAqG/D,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../SAvatarGroup-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../SAvatarGroup-By8oMNTe.cjs");exports.ESAvatarGroupSize=e.n,exports.SAvatarGroup=e.t;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../SAvatarGroup-
|
|
1
|
+
import { n as e, t } from "../SAvatarGroup-CSSCQKdH.js";
|
|
2
2
|
export { e as ESAvatarGroupSize, t as SAvatarGroup };
|
package/dist/entries/avatar.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../SAvatar-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../SAvatar-ClmtSIFg.cjs");exports.ESAvatarBadge=e.n,exports.ESAvatarColor=e.r,exports.ESAvatarIconBackground=e.i,exports.ESAvatarShape=e.a,exports.ESAvatarSize=e.o,exports.SAvatar=e.t;
|
package/dist/entries/avatar.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, i as t, n, o as r, r as i, t as a } from "../SAvatar-
|
|
1
|
+
import { a as e, i as t, n, o as r, r as i, t as a } from "../SAvatar-hWbsODUa.js";
|
|
2
2
|
export { n as ESAvatarBadge, i as ESAvatarColor, t as ESAvatarIconBackground, e as ESAvatarShape, r as ESAvatarSize, a as SAvatar };
|
|
@@ -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-BRSi0Xhm.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-Djr-R81h.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 };
|
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-D0PDc8VN.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-D2K9dNsj.js";
|
|
2
2
|
export { e as ESListGap, t as SList };
|
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-CRlkCLik.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-D6taevzT.js";
|
|
2
2
|
export { e as ESSelectSearchable, t as SSelect };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../STable-NbCfen0n.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.ESTableRowHeightMode=e.c,exports.ESTableRowKind=e.l,exports.ESTableRowState=e.u,exports.ESTableRowsDragMode=e.d,exports.ESTableSortDirection=e.f,exports.STable=e.t;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { ESTableCellState, ESTableCheckState, ESTableColumnAlign, ESTableColumnSticky, ESTableDropAction, ESTableFooterTone, ESTableRowHeightMode, ESTableRowKind, ESTableRowsDragMode, ESTableRowState, ESTableSortDirection, STable, } from '../components/STable';
|
|
2
|
+
export type { ISTableColumn, ISTableDepthFooterConfig, ISTableExpose, ISTableFooterValue, ISTableProps, ISTableRowsDropPayload, ISTableRowsReorderPayload, TSTableCellSlotScope, TSTableDepthFooterSlotScope, TSTableFieldResolver, TSTableFlatRow, TSTableGroupSlotScope, TSTableHeaderSlotScope, TSTableInstance, TSTableLoadMoreSlotScope, TSTableRowSlotScope, TSTableScrollAlign, TSTableSortEntry, } from '../components/STable';
|
|
3
|
+
//# sourceMappingURL=table.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../src/entries/table.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,iBAAiB,EACjB,kBAAkB,EAClB,mBAAmB,EACnB,iBAAiB,EACjB,iBAAiB,EACjB,oBAAoB,EACpB,cAAc,EACd,mBAAmB,EACnB,eAAe,EACf,oBAAoB,EACpB,MAAM,GACP,MAAM,sBAAsB,CAAA;AAC7B,YAAY,EACV,aAAa,EACb,wBAAwB,EACxB,aAAa,EACb,kBAAkB,EAClB,YAAY,EACZ,sBAAsB,EACtB,yBAAyB,EACzB,oBAAoB,EACpB,2BAA2B,EAC3B,oBAAoB,EACpB,cAAc,EACd,qBAAqB,EACrB,sBAAsB,EACtB,eAAe,EACf,wBAAwB,EACxB,mBAAmB,EACnB,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,sBAAsB,CAAA"}
|
|
@@ -0,0 +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, r as c, s as l, t as u, u as d } from "../STable-aS1eGuVB.js";
|
|
2
|
+
export { o as ESTableCellState, c as ESTableCheckState, i as ESTableColumnAlign, e as ESTableColumnSticky, s as ESTableDropAction, l as ESTableFooterTone, t as ESTableRowHeightMode, a as ESTableRowKind, d as ESTableRowState, n as ESTableRowsDragMode, r as ESTableSortDirection, u as STable };
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./SBadge-d1GOPFP-.cjs"),t=require("./SAvatar-DTG0odWX.cjs"),n=require("./SColorPicker-CvhpJEj1.cjs"),r=require("./SColorPalette-CqIA4Qtp.cjs"),i=require("./colorValue-Dda7fKd3.cjs"),a=require("./SAvatarGroup-CTC_esUv.cjs"),o=require("./SButton.types-UKroD-ev.cjs"),s=require("./SButton-9dLbCJvh.cjs"),c=require("./useSelectionGroup-NJvi3hNo.cjs"),l=require("./useSelectLink-DZIAhQ2J.cjs"),u=require("./SButtonGroup-Co1AUbsm.cjs"),d=require("./SCheckbox-DnnC5mOH.cjs"),f=require("./SCard-DKZYyR5b.cjs"),p=require("./SSegmentControl-OXTka86u.cjs"),m=require("./STab-C06drUMG.cjs"),h=require("./STabs-g1pGWDkl.cjs"),g=require("./useFloatingOverlay-B1UCUYQQ.cjs"),_=require("./STag-D8xdkjVR.cjs"),v=require("./STagGroup-D9hENgSo.cjs"),y=require("./SChip-nzYT9SEi.cjs"),b=require("./SDropdown-LNVnMol3.cjs"),x=require("./SSelect-CHWKMbB_.cjs"),S=require("./SInput-IfbP8zrv.cjs"),C=require("./SInlineMessage-gjkMiE-W.cjs"),w=require("./SLabel-DLKfepRW.cjs"),T=require("./SList-Du0gqyFs.cjs"),E=require("./SListItem-cWTuQQY-.cjs"),D=require("./SRadio-DRo_GU5A.cjs"),O=require("./SToggle-CGd0Mh0R.cjs"),k=require("./SInlineInput-D3vCX4QA.cjs"),ee=require("./STextarea-C4qDIp2k.cjs"),A=require("./SPhotoEdit-CxYaBC3u.cjs"),j=require("./SChartLegend-DGtjd6zV.cjs"),M=require("./useChartInteractivity-CXSdHPOw.cjs"),te=require("./SChartLine-nIGaef_o.cjs"),ne=require("./resolveSeriesPaletteColor-B5qoBbXN.cjs"),re=require("./SChartStackedArea-BNe6FAg8.cjs"),ie=require("./SChartStackedBar-D1G-VloG.cjs"),ae=require("./SChartHorizontalBar-Bv90SV6E.cjs"),oe=require("./SChartPie-Bv5Obcwb.cjs"),se=require("./SChartMultiLine-BzoW4ETf.cjs"),ce=require("./SChartBurnup-Ch3UMa9w.cjs"),le=require("./useHasListener-BPgtbbo6.cjs"),ue=require("./SChartBar-CBU1uCuL.cjs"),de=require("./SChartProgress-xxqrj03o.cjs"),N=require("./buildWorkTimeLegendItems-DjhLKbAP.cjs");let P=require("vue"),F=require("@shtabapp/ui-kit-primitives"),fe=require("@vueuse/core");var I=[`--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`],L=[`--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`],pe=(e,t,n,r=!1)=>ne.t(e,t,n,r,{palette:I,paletteFallback:I[0],skeletonPalette:L,skeletonFallback:L[0]}),R=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}({}),z=function(e){return e.HORIZONTAL=`horizontal`,e.VERTICAL=`vertical`,e}({}),B=function(e){return e.ICON=`icon`,e.AVATAR=`avatar`,e}({}),V=function(e){return e.BANNER=`banner`,e.TOAST=`toast`,e}({}),me={[R.INFO_ACCENT]:F.ESIconName.infoCircle,[R.INFO_NORMAL]:F.ESIconName.infoCircle,[R.SUCCESS]:F.ESIconName.checkCircle,[R.WARNING]:F.ESIconName.alertCircle,[R.DANGER]:F.ESIconName.dangerCircleFill,[R.BILLING]:F.ESIconName.infoCircle},he=(e,t)=>t||me[e],ge=[`role`],_e={class:`s-ui-notification__body`},ve={key:0,class:`s-ui-notification__leftside`},ye={key:0,class:`s-ui-notification__icon`},be={class:`s-ui-notification__content`},xe={class:`s-ui-notification__title-row`},Se={key:0,class:`s-ui-notification__description-block`},Ce={key:0,class:`s-ui-notification__description s-ui-typography-label-12-medium`},we={key:1,class:`s-ui-notification__actions-stack`},Te={key:1,class:`s-ui-notification__actions-row`},H=(0,P.defineComponent)({__name:`SNotification`,props:{type:{default:()=>R.INFO_ACCENT},layout:{default:()=>z.HORIZONTAL},leftside:{default:()=>B.ICON},surface:{default:()=>V.BANNER},title:{},description:{},linkText:{},primaryButtonText:{},secondaryButtonText:{},showPrimaryButton:{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,P.useSlots)(),a=(0,P.computed)(()=>[`s-ui-notification--type-${e.type}`,`s-ui-notification--layout-${e.layout}`,`s-ui-notification--surface-${e.surface}`]),c=(0,P.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}),l=(0,P.computed)(()=>e.type===R.DANGER?`alert`:`status`),u=(0,P.computed)(()=>he(e.type,e.icon)),d=(0,P.computed)(()=>e.type===R.BILLING),f=(0,P.computed)(()=>!!(e.leftside===B.AVATAR&&e.avatar||e.leftside===B.ICON)),p=(0,P.computed)(()=>!!(e.description||e.linkText||i.description)),m=(0,P.computed)(()=>e.showPrimaryButton&&(e.primaryButtonText||e.secondaryButtonText)),h=(0,P.computed)(()=>e.showPrimaryButton&&e.primaryButtonText||e.closable),g=(0,P.computed)(()=>e.type===R.BILLING?o.t.MAJOR:o.t.OUTLINED),_=(0,P.computed)(()=>e.type===R.BILLING?o.r.BILLING:o.r.MAIN),v=()=>{r(`close`)},y=()=>{r(`linkClick`)},b=()=>{r(`primaryAction`)},x=()=>{r(`secondaryAction`)};return(n,r)=>((0,P.openBlock)(),(0,P.createElementBlock)(`div`,{class:(0,P.normalizeClass)([`s-ui-notification`,a.value]),style:(0,P.normalizeStyle)(c.value),role:l.value},[(0,P.createElementVNode)(`div`,_e,[f.value?((0,P.openBlock)(),(0,P.createElementBlock)(`div`,ve,[e.leftside===(0,P.unref)(B).ICON?((0,P.openBlock)(),(0,P.createElementBlock)(`div`,ye,[(0,P.createVNode)((0,P.unref)(F.SIcon),{name:u.value,size:16,billing:d.value},null,8,[`name`,`billing`])])):e.leftside===(0,P.unref)(B).AVATAR&&e.avatar?((0,P.openBlock)(),(0,P.createBlock)((0,P.unref)(t.t),{key:1,name:e.avatar.name,src:e.avatar.src,badge:e.avatar.badge,size:(0,P.unref)(t.o).SIZE_20,showName:!1},null,8,[`name`,`src`,`badge`,`size`])):(0,P.createCommentVNode)(``,!0)])):(0,P.createCommentVNode)(``,!0),(0,P.createElementVNode)(`div`,be,[(0,P.createElementVNode)(`div`,xe,[(0,P.createElementVNode)(`span`,{class:(0,P.normalizeClass)([`s-ui-notification__title s-ui-typography-label-14-medium`,{"s-ui-notification__title--truncated":e.truncateTitle}])},[(0,P.renderSlot)(n.$slots,`title`,{},()=>[(0,P.createTextVNode)((0,P.toDisplayString)(e.title),1)])],2),e.layout===(0,P.unref)(z).VERTICAL&&e.closable?((0,P.openBlock)(),(0,P.createBlock)((0,P.unref)(s.t),{key:0,class:`s-ui-notification__close`,appearance:(0,P.unref)(o.t).BARE,variant:(0,P.unref)(o.r).NEUTRAL,size:(0,P.unref)(o.n).SMALL,"aria-label":e.closeAriaLabel,icon:`closeMini`,onClick:v},null,8,[`appearance`,`variant`,`size`,`aria-label`])):(0,P.createCommentVNode)(``,!0)]),p.value?((0,P.openBlock)(),(0,P.createElementBlock)(`div`,Se,[e.description||(0,P.unref)(i).description?((0,P.openBlock)(),(0,P.createElementBlock)(`span`,Ce,[(0,P.renderSlot)(n.$slots,`description`,{},()=>[(0,P.createTextVNode)((0,P.toDisplayString)(e.description),1)])])):(0,P.createCommentVNode)(``,!0),e.linkText?((0,P.openBlock)(),(0,P.createBlock)((0,P.unref)(s.t),{key:1,class:`s-ui-notification__link`,appearance:(0,P.unref)(o.t).BARE,variant:(0,P.unref)(o.r).MAIN,size:(0,P.unref)(o.n).SMALL,onClick:y},{default:(0,P.withCtx)(()=>[(0,P.createTextVNode)((0,P.toDisplayString)(e.linkText),1)]),_:1},8,[`appearance`,`variant`,`size`])):(0,P.createCommentVNode)(``,!0)])):(0,P.createCommentVNode)(``,!0),e.layout===(0,P.unref)(z).VERTICAL&&m.value?((0,P.openBlock)(),(0,P.createElementBlock)(`div`,we,[e.showPrimaryButton&&e.primaryButtonText?((0,P.openBlock)(),(0,P.createBlock)((0,P.unref)(s.t),{key:0,appearance:g.value,variant:_.value,size:(0,P.unref)(o.n).SMALL,onClick:b},{default:(0,P.withCtx)(()=>[(0,P.createTextVNode)((0,P.toDisplayString)(e.primaryButtonText),1)]),_:1},8,[`appearance`,`variant`,`size`])):(0,P.createCommentVNode)(``,!0),e.showPrimaryButton&&e.secondaryButtonText?((0,P.openBlock)(),(0,P.createBlock)((0,P.unref)(s.t),{key:1,appearance:(0,P.unref)(o.t).BARE,variant:(0,P.unref)(o.r).NEUTRAL,size:(0,P.unref)(o.n).SMALL,onClick:x},{default:(0,P.withCtx)(()=>[(0,P.createTextVNode)((0,P.toDisplayString)(e.secondaryButtonText),1)]),_:1},8,[`appearance`,`variant`,`size`])):(0,P.createCommentVNode)(``,!0)])):(0,P.createCommentVNode)(``,!0)]),e.layout===(0,P.unref)(z).HORIZONTAL&&h.value?((0,P.openBlock)(),(0,P.createElementBlock)(`div`,Te,[e.showPrimaryButton&&e.primaryButtonText?((0,P.openBlock)(),(0,P.createBlock)((0,P.unref)(s.t),{key:0,appearance:g.value,variant:_.value,size:(0,P.unref)(o.n).SMALL,onClick:b},{default:(0,P.withCtx)(()=>[(0,P.createTextVNode)((0,P.toDisplayString)(e.primaryButtonText),1)]),_:1},8,[`appearance`,`variant`,`size`])):(0,P.createCommentVNode)(``,!0),e.layout===(0,P.unref)(z).HORIZONTAL&&e.closable?((0,P.openBlock)(),(0,P.createBlock)((0,P.unref)(s.t),{key:1,class:`s-ui-notification__close`,appearance:(0,P.unref)(o.t).BARE,variant:(0,P.unref)(o.r).NEUTRAL,size:(0,P.unref)(o.n).SMALL,"aria-label":e.closeAriaLabel,icon:`closeMini`,onClick:v},null,8,[`appearance`,`variant`,`size`,`aria-label`])):(0,P.createCommentVNode)(``,!0)])):(0,P.createCommentVNode)(``,!0)])],14,ge))}}),Ee=(0,P.defineComponent)({__name:`SBanner`,props:{type:{default:()=>R.INFO_ACCENT},layout:{default:()=>z.HORIZONTAL},leftside:{default:()=>B.ICON},title:{},description:{},linkText:{},primaryButtonText:{},secondaryButtonText:{},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,P.useSlots)();return(t,i)=>((0,P.openBlock)(),(0,P.createBlock)(H,{class:`s-ui-banner`,"data-qa":`ui:banner`,type:e.type,layout:e.layout,leftside:e.leftside,surface:(0,P.unref)(V).BANNER,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,maxWidth:e.maxWidth,truncateTitle:e.truncateTitle,onClose:i[0]||=e=>n(`close`),onLinkClick:i[1]||=e=>n(`linkClick`),onPrimaryAction:i[2]||=e=>n(`primaryAction`),onSecondaryAction:i[3]||=e=>n(`secondaryAction`)},(0,P.createSlots)({_:2},[(0,P.unref)(r).title?{name:`title`,fn:(0,P.withCtx)(()=>[(0,P.renderSlot)(t.$slots,`title`)]),key:`0`}:void 0,(0,P.unref)(r).description?{name:`description`,fn:(0,P.withCtx)(()=>[(0,P.renderSlot)(t.$slots,`description`)]),key:`1`}:void 0]),1032,[`type`,`layout`,`leftside`,`surface`,`title`,`description`,`linkText`,`primaryButtonText`,`secondaryButtonText`,`showPrimaryButton`,`closable`,`closeAriaLabel`,`icon`,`avatar`,`maxWidth`,`truncateTitle`]))}}),U=(0,P.defineComponent)({__name:`SToast`,props:{type:{default:()=>R.INFO_ACCENT},layout:{default:()=>z.HORIZONTAL},leftside:{default:()=>B.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,P.useSlots)(),i=(0,P.computed)(()=>e.width??360);return(t,a)=>((0,P.openBlock)(),(0,P.createBlock)(H,{class:`s-ui-toast`,"data-qa":`ui:toast`,type:e.type,layout:e.layout,leftside:e.leftside,surface:(0,P.unref)(V).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,P.createSlots)({_:2},[(0,P.unref)(r).title?{name:`title`,fn:(0,P.withCtx)(()=>[(0,P.renderSlot)(t.$slots,`title`)]),key:`0`}:void 0,(0,P.unref)(r).description?{name:`description`,fn:(0,P.withCtx)(()=>[(0,P.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,P.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,P.ref)(null),i=(0,P.ref)(0),a=(0,P.ref)(!1),o=(0,P.computed)(()=>e.index===0),s=(0,P.computed)(()=>1-e.index*De),c=(0,P.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,fe.useResizeObserver)(r,e=>{let t=e[0]?.contentRect.height??0;t!==i.value&&(i.value=t,n(`heightChange`,t))}),(0,P.onMounted)(()=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{a.value=!0})})}),(t,n)=>((0,P.openBlock)(),(0,P.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,P.normalizeStyle)(c.value)},[(0,P.createElementVNode)(`div`,{ref_key:`contentRef`,ref:r,class:`s-ui-toast-provider__toast-content`},[(0,P.renderSlot)(t.$slots,`default`)],512)],12,Oe))}}),W=4e3,G=1e4,Ae=50,K=(e,t)=>{let n=W+(e.length+(t?.length??0))*50;return n>1e4?G:n},q=(0,P.shallowRef)([]),J=new Map,je=0,Me={type:R.INFO_ACCENT,layout:z.HORIZONTAL,leftside:B.ICON,showPrimaryButton:!1,closable:!0},Ne=()=>`toast-${Date.now()}-${++je}`,Y=e=>{let t=J.get(e);t&&(window.clearTimeout(t),J.delete(e))},X=e=>{Y(e.id);let t=e.duration===void 0?K(e.title,e.description):e.duration;if(t>0){let n=window.setTimeout(()=>{Z(e.id)},t);J.set(e.id,n)}},Z=e=>{let t=q.value.findIndex(t=>t.id===e);if(t===-1)return;let n=q.value[t];n&&(Y(e),n.onClose&&n.onClose(),q.value=q.value.filter(t=>t.id!==e))},Pe=()=>{J.forEach(e=>window.clearTimeout(e)),J.clear(),q.value=[]},Q=e=>e.length<=3?e:(e.slice(3).forEach(e=>{Y(e.id)}),e.slice(0,3)),Fe=e=>{let t=e.id??Ne(),n={...Me,...e,id:t},r=q.value.findIndex(e=>e.id===t);if(r>-1){let e=[...q.value];e[r]=n,q.value=Q(e)}else q.value=Q([n,...q.value]);return X(n),t},Ie=(e,t)=>{let n=q.value.findIndex(t=>t.id===e);if(n===-1)return;let r=q.value[n];if(!r)return;let i={...r,...t,id:r.id},a=[...q.value];a[n]=i,q.value=a,X(i)},$=()=>({toasts:q,show:Fe,hide:Z,hideAll:Pe,update:Ie}),Le=(0,P.defineComponent)({__name:`SToastProvider`,setup(e){let{toasts:t,hide:n}=$(),r=(0,P.computed)(()=>t.value.slice(0,3)),i=(0,P.ref)(!1),a=(0,P.shallowRef)({}),o=(0,P.ref)(new Set),s=(0,P.computed)(()=>t.value[0]??null),c=(0,P.computed)(()=>s.value?a.value[s.value.id]??0:0),l=(0,P.ref)(0),u=(0,P.computed)(()=>c.value>0?c.value:l.value);(0,P.watch)(c,e=>{e>0&&(l.value=e)});let d=(0,P.computed)(()=>{if(r.value.length===0)return{};if(i.value)return{height:`${r.value.reduce((e,t,n)=>{let r=a.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:`${u.value+e}px`}}),f=e=>{let t=0;for(let n=0;n<e;n+=1){let e=r.value[n];e&&(t+=(a.value[e.id]??0)+4)}return t},p=e=>o.value.has(e),m=()=>{r.value.length>1&&(i.value=!0)},h=()=>{i.value=!1},g=(e,t)=>{a.value={...a.value,[e]:t}},_=e=>{o.value.has(e)||(o.value=new Set([...o.value,e]),window.setTimeout(()=>{n(e);let t=new Set(o.value);t.delete(e),o.value=t;let r={...a.value};delete r[e],a.value=r},200))},v=e=>{e.onLinkClick&&e.onLinkClick()},y=e=>{e.onPrimaryAction&&e.onPrimaryAction(e.id)},b=e=>{e.onSecondaryAction&&e.onSecondaryAction()};return(e,t)=>((0,P.openBlock)(),(0,P.createBlock)(P.Teleport,{to:`body`},[(0,P.createElementVNode)(`div`,{class:`s-ui-toast-provider`,onMouseenter:m,onMouseleave:h},[r.value.length>0?((0,P.openBlock)(),(0,P.createElementBlock)(`div`,{key:0,class:`s-ui-toast-provider__list`,style:(0,P.normalizeStyle)(d.value)},[((0,P.openBlock)(!0),(0,P.createElementBlock)(P.Fragment,null,(0,P.renderList)(r.value,(t,n)=>((0,P.openBlock)(),(0,P.createBlock)(ke,{key:t.id,index:n,expanded:i.value,"front-toast-height":u.value,"stack-peek":(0,P.unref)(10),removed:p(t.id),visible:n<(0,P.unref)(3),"offset-y":f(n),onHeightChange:e=>g(t.id,e)},{default:(0,P.withCtx)(()=>[(0,P.renderSlot)(e.$slots,`toast`,{toast:t},()=>[t.component?((0,P.openBlock)(),(0,P.createBlock)((0,P.resolveDynamicComponent)(t.component),(0,P.mergeProps)({key:0,ref_for:!0},t.componentProps,{toast:t,onClose:e=>_(t.id)}),null,16,[`toast`,`onClose`])):((0,P.openBlock)(),(0,P.createBlock)((0,P.unref)(U),{key:1,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=>_(t.id),onLinkClick:e=>v(t),onPrimaryAction:e=>y(t),onSecondaryAction:e=>b(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,P.createCommentVNode)(``,!0)],32)]))}}),Re=4,ze=4,Be=1,Ve=`400 12px var(--s-ui-font-family-label)`,He=4,Ue=(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()},We=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}},Ge=(e,t,n,r)=>{let i=We(t);if(!i)return;let a=`${n}`,o=e.measureText(a).width+Re*2;if(i.width<o+He*2)return;let s=i.left+i.width/2;Ue(e,s-o/2,i.centerY-20/2,o,20,ze),e.fillStyle=r.background,e.fill(),e.lineWidth=Be,e.strokeStyle=r.border,e.stroke(),e.fillStyle=r.text,e.fillText(a,s,i.centerY)},Ke=e=>({id:`segmentedBarBadge`,afterDatasetsDraw(t){let n={background:M.S(M.g.pieBadgeBackground,e),border:M.S(M.g.pieBadgeBorder,e),text:M.S(M.g.pieBadgeText,e)},{ctx:r}=t;r.save(),r.font=Ve,r.textAlign=`center`,r.textBaseline=`middle`,t.data.datasets.forEach((e,i)=>{let a=t.getDatasetMeta(i)?.data[0],o=e.data[0];a&&typeof o==`number`&&o>0&&Ge(r,a,o,n)}),r.restore()}}),qe=40,Je=4,Ye=1,Xe=[`mousemove`,`mouseout`,`click`,`touchstart`,`touchmove`],Ze=({segments:e,segmentColors:t,colorHostElement:n,skeleton:r=!1,onSegmentClick:i})=>{if(e.length===0)return null;let a=M.S(`--s-ui-color-surface-primary`,n),o=e.reduce((e,t)=>e+t.value,0),s=M.r({kind:`series`,skeleton:r,colorHostElement:n,onIndexClick:i});return{type:`bar`,data:{labels:[``],datasets:e.map((e,n)=>({label:e.label,data:[e.value],backgroundColor:t[n],hoverBackgroundColor:t[n],borderColor:a,borderWidth:{left:Ye,right:Ye},borderSkipped:!1,borderRadius:Je,barThickness:qe,stack:`track`}))},options:{indexAxis:`y`,responsive:!0,maintainAspectRatio:!1,layout:{padding:0},events:r?[]:Xe,onHover:s.onHover,onClick:s.onClick,hover:r?void 0:{mode:`nearest`,intersect:!0},elements:r?void 0:{bar:{hoverBorderColor:a}},plugins:{legend:{display:!1},tooltip:{enabled:!1}},scales:{x:{display:!1,stacked:!0,min:0,max:o},y:{display:!1,stacked:!0}}},plugins:[...r?[]:[Ke(n)],...s.plugins]}},Qe=[4,1,2,1,3,1,2,1].map((e,t)=>({label:`Series ${t+1}`,value:e})),$e={class:`s-ui-chart-segmented-bar__canvas-wrap`},et=(0,P.defineComponent)({__name:`SChartSegmentedBar`,props:{segments:{default:()=>[]},showLegend:{type:Boolean,default:!0},loading:{type:Boolean,default:!1}},emits:[`segmentClick`],setup(e,{expose:t,emit:n}){let r=n,i=M.w,a=(0,P.useTemplateRef)(`chartRootRef`),o=(0,P.useTemplateRef)(`chartCanvasRef`),s=(0,P.computed)(()=>e.loading?Qe:e.segments),c=(0,P.computed)(()=>s.value.map((t,n)=>pe(n,a.value,t.fillColor,e.loading))),l=(0,P.computed)(()=>s.value.map((e,t)=>({segment:e,segmentIndex:t})).filter(({segment:e})=>e.value>0)),u=(0,P.computed)(()=>l.value.map(({segment:e})=>e)),d=(0,P.computed)(()=>l.value.map(({segmentIndex:e})=>c.value[e]??``)),f=(0,P.computed)(()=>{let e=new Map;return l.value.forEach(({segmentIndex:t},n)=>{e.set(t,n)}),e}),p=e=>{let t=l.value[e];t&&r(`segmentClick`,t.segmentIndex,t.segment)},m=le.t(`onSegmentClick`),h=(0,P.computed)(()=>Ze({segments:u.value,segmentColors:d.value,colorHostElement:a.value,skeleton:e.loading,onSegmentClick:m()?p:void 0})),g=(0,P.computed)(()=>s.value.map((e,t)=>({label:e.label,color:c.value[t]??``}))),{chartInstance:_}=M.n({canvasRef:o,config:h,enabled:(0,P.computed)(()=>e.loading||u.value.length>0)}),{exportImage:v,handleLegendItemHover:y}=M.t({chartInstance:_,canvasRef:o,colorHostElement:a}),b=e=>{y(e===null?null:f.value.get(e)??null)};return t({exportImage:v}),(t,n)=>((0,P.openBlock)(),(0,P.createElementBlock)(`div`,{ref_key:`chartRootRef`,ref:a,class:(0,P.normalizeClass)([`s-ui-chart-segmented-bar`,{"s-ui-chart-segmented-bar--skeleton":e.loading}]),"data-qa":`ui:chart-segmented-bar`},[(0,P.createElementVNode)(`div`,$e,[(0,P.createVNode)((0,P.unref)(M.C),{loading:e.loading,type:(0,P.unref)(i).CARTESIAN},{default:(0,P.withCtx)(()=>[(0,P.createElementVNode)(`canvas`,{ref_key:`chartCanvasRef`,ref:o,class:`s-ui-chart-segmented-bar__canvas`},null,512)]),_:1},8,[`loading`,`type`])]),e.showLegend&&g.value.length?((0,P.openBlock)(),(0,P.createBlock)((0,P.unref)(j.t),{key:0,items:g.value,disabled:e.loading,interactive:!e.loading,onItemHover:b},null,8,[`items`,`disabled`,`interactive`])):(0,P.createCommentVNode)(``,!0)],2))}}),tt={key:0,class:`s-ui-chart-widget__header`},nt={key:0,class:`s-ui-chart-widget__title-skeleton`,"aria-hidden":`true`},rt={key:1,class:`s-ui-chart-widget__title s-ui-typography-label-16-medium`},it={class:`s-ui-chart-widget__controls`},at={key:1,class:`s-ui-chart-widget__content`},ot=(0,P.defineComponent)({__name:`SChartWidget`,props:(0,P.mergeModels)({title:{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,P.useModel)(e,`collapsed`),n=(0,P.useSlots)(),{t:r}=(0,F.useUiKitI18n)(),i=(0,P.computed)(()=>!!e.title||!!n.title||!!n.actions||e.collapsible),a=(0,P.computed)(()=>!t.value||!e.collapsible||!e.hideContentWhenCollapsed),c=(0,P.computed)(()=>r(t.value?`chartWidget.expand`:`chartWidget.collapse`));return(n,r)=>((0,P.openBlock)(),(0,P.createElementBlock)(`div`,{class:(0,P.normalizeClass)([`s-ui-chart-widget`,{"s-ui-chart-widget--skeleton":e.loading}]),"data-qa":`ui:chart-widget`},[i.value?((0,P.openBlock)(),(0,P.createElementBlock)(`div`,tt,[e.loading?((0,P.openBlock)(),(0,P.createElementBlock)(`span`,nt)):((0,P.openBlock)(),(0,P.createElementBlock)(`span`,rt,[(0,P.renderSlot)(n.$slots,`title`,{},()=>[(0,P.createTextVNode)((0,P.toDisplayString)(e.title),1)])])),(0,P.createElementVNode)(`div`,it,[(0,P.renderSlot)(n.$slots,`actions`),e.collapsible?((0,P.openBlock)(),(0,P.createBlock)((0,P.unref)(s.t),{key:0,appearance:(0,P.unref)(o.t).OUTLINED,variant:(0,P.unref)(o.r).NEUTRAL,size:(0,P.unref)(o.n).SMALL,icon:t.value?(0,P.unref)(F.ESIconName).chevronDown:(0,P.unref)(F.ESIconName).chevronUp,"aria-label":c.value,"aria-expanded":!t.value,onClick:r[0]||=e=>t.value=!t.value},null,8,[`appearance`,`variant`,`size`,`icon`,`aria-label`,`aria-expanded`])):(0,P.createCommentVNode)(``,!0)])])):(0,P.createCommentVNode)(``,!0),a.value?((0,P.openBlock)(),(0,P.createElementBlock)(`div`,at,[(0,P.renderSlot)(n.$slots,`default`)])):(0,P.createCommentVNode)(``,!0)],2))}});exports.CALENDAR_WEEK_SLOT_COUNT=N.a,exports.DAY_TIMELINE_MINUTES=N.r,exports.DEFAULT_COLOR_PALETTE=r.i,exports.EAccentColor=r.a,exports.EButtonAppearance=o.t,exports.EButtonGroupLayout=u.i,exports.EButtonSize=o.n,exports.ESSegmentControlSize=o.n,exports.EButtonVariant=o.r,exports.EColorFormat=r.o,exports.EConnectedPositionStrategy=g.r,exports.ENotificationLayout=z,exports.ENotificationLeftside=B,exports.ENotificationType=R,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.ESCardLayout=f.n,exports.ESCheckboxColor=d.n,exports.ESCheckboxLabelPlacement=d.r,exports.ESCheckboxSize=d.i,exports.ESChipColor=y.n,exports.ESChipSize=y.r,exports.ESColorPaletteLayout=r.n,exports.ESDropdownPlacement=g.i,exports.ESInlineGroupOrientation=u.r,exports.ESInlineInputAppearance=k.n,exports.ESInlineMessageValidationStatus=C.n,exports.ESInputCustomize=S.n,exports.ESLabelSize=w.n,exports.ESLabelVariant=w.r,exports.ESListGap=T.a,exports.ESListItemVariant=E.n,exports.ESPhotoEditShape=A.n,exports.ESPhotoEditSize=A.r,exports.ESRadioLabelPlacement=D.n,exports.ESSelectSearchable=x.n,exports.ESTabAppearance=m.n,exports.ESTabSize=m.r,exports.ESTagColor=_.n,exports.ESTagSize=_.r,exports.ESToggleLabelPlacement=O.n,exports.ESToggleSize=O.r,exports.ESelectionFocusMode=c.t,exports.ESelectionMode=c.n,exports.ESelectionOrientation=c.r,exports.EWorkTimeSource=N.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=Ee,exports.SButton=s.t,exports.SButtonGroup=u.t,exports.SCalendarMonth=N.l,exports.SCalendarWeekGrid=N.i,exports.SCard=f.t,exports.SChartBar=ue.t,exports.SChartBurnup=ce.t,exports.SChartHorizontalBar=ae.t,exports.SChartLegend=j.t,exports.SChartLine=te.t,exports.SChartMultiLine=se.t,exports.SChartPie=oe.t,exports.SChartProgress=de.t,exports.SChartSegmentedBar=et,exports.SChartStackedArea=re.t,exports.SChartStackedBar=ie.t,exports.SChartWidget=ot,exports.SCheckbox=d.t,exports.SChip=y.t,exports.SColorArea=n.r,exports.SColorPalette=r.t,exports.SColorPicker=n.t,exports.SColorValues=n.n,exports.SDayTimeline=N.n,exports.SDropdown=b.t,exports.SDropdownMenu=x.r,exports.SInlineGroup=u.n,exports.SInlineInput=k.t,exports.SInlineMessage=C.t,exports.SInput=S.t,exports.SLabel=w.t,exports.SList=T.t,exports.SListItem=E.t,exports.SPhotoEdit=A.t,exports.SRadio=D.t,exports.SSegmentControl=p.t,exports.SSelect=x.t,exports.STab=m.t,exports.STabs=h.t,exports.STag=_.t,exports.STagGroup=v.t,exports.STextarea=ee.t,exports.SToast=U,exports.SToastProvider=Le,exports.SToggle=O.t,exports.S_DROPDOWN_SHEET_BREAKPOINT=b.n,exports.TOAST_AUTO_DURATION_MAX_MS=G,exports.TOAST_AUTO_DURATION_MIN_MS=W,exports.TOAST_AUTO_DURATION_MS_PER_CHAR=Ae,exports.WORK_TIME_SOURCE_COLOR_VARS=N.o,exports.WORK_TIME_SOURCE_ORDER=N.s,exports.buildWorkTimeLegendItems=N.t,exports.computeAutoDuration=K,exports.computeConnectedPosition=g.n,Object.defineProperty(exports,"createUiKit",{enumerable:!0,get:function(){return F.createUiKit}}),exports.formatDurationHM=N.u,exports.isSameColor=i.r,exports.normalizeColorValue=i.i,exports.resolveColorPreview=i.a,exports.resolveOwnPropOrGroupedOrFallback=c.a,Object.defineProperty(exports,"setUiKitLocale",{enumerable:!0,get:function(){return F.setUiKitLocale}}),Object.defineProperty(exports,"uiKitLocaleEn",{enumerable:!0,get:function(){return F.uiKitLocaleEn}}),Object.defineProperty(exports,"uiKitLocaleRu",{enumerable:!0,get:function(){return F.uiKitLocaleRu}}),exports.useFlatTreeList=T.s,exports.useFloatingOverlay=g.t,exports.useSListEndReached=T.o,exports.useSelectionGroup=c.o,exports.useSelectionGroupItem=l.n,exports.useToast=$,Object.defineProperty(exports,"useUiKitI18n",{enumerable:!0,get:function(){return F.useUiKitI18n}});var st=require("@shtabapp/ui-kit-tokens");Object.keys(st).forEach(function(e){e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:function(){return st[e]}})}),Object.keys(F).forEach(function(e){e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:function(){return F[e]}})});
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./SBadge-d1GOPFP-.cjs"),t=require("./SAvatar-ClmtSIFg.cjs"),n=require("./SColorPicker-BRSi0Xhm.cjs"),r=require("./SColorPalette-CqIA4Qtp.cjs"),i=require("./colorValue-Dda7fKd3.cjs"),a=require("./SAvatarGroup-By8oMNTe.cjs"),o=require("./SButton.types-UKroD-ev.cjs"),s=require("./SButton-9dLbCJvh.cjs"),c=require("./useSelectionGroup-NJvi3hNo.cjs"),l=require("./useSelectLink-DZIAhQ2J.cjs"),u=require("./SButtonGroup-Co1AUbsm.cjs"),d=require("./SCheckbox-DnnC5mOH.cjs"),f=require("./SCard-DKZYyR5b.cjs"),p=require("./SSegmentControl-OXTka86u.cjs"),m=require("./STab-C06drUMG.cjs"),h=require("./STabs-g1pGWDkl.cjs"),g=require("./useFloatingOverlay-B1UCUYQQ.cjs"),_=require("./STag-D8xdkjVR.cjs"),v=require("./STagGroup-D9hENgSo.cjs"),y=require("./SChip-nzYT9SEi.cjs"),b=require("./SDropdown-LNVnMol3.cjs"),x=require("./SDropdownMenu-k9SxaFVH.cjs"),S=require("./SInput-IfbP8zrv.cjs"),C=require("./SInlineMessage-gjkMiE-W.cjs"),w=require("./SLabel-DLKfepRW.cjs"),T=require("./treeKeyboardNavigation-BOz2SVus.cjs"),E=require("./SListItem-cWTuQQY-.cjs"),D=require("./SList-D0PDc8VN.cjs"),ee=require("./SSelect-CRlkCLik.cjs"),O=require("./SRadio-DRo_GU5A.cjs"),k=require("./SToggle-CGd0Mh0R.cjs"),A=require("./SInlineInput-D3vCX4QA.cjs"),te=require("./STextarea-C4qDIp2k.cjs"),j=require("./SPhotoEdit-CxYaBC3u.cjs"),M=require("./SChartLegend-DGtjd6zV.cjs"),N=require("./useChartInteractivity-CXSdHPOw.cjs"),ne=require("./SChartLine-nIGaef_o.cjs"),re=require("./resolveSeriesPaletteColor-B5qoBbXN.cjs"),ie=require("./SChartStackedArea-BNe6FAg8.cjs"),ae=require("./SChartStackedBar-D1G-VloG.cjs"),oe=require("./SChartHorizontalBar-Bv90SV6E.cjs"),se=require("./SChartPie-Bv5Obcwb.cjs"),ce=require("./SChartMultiLine-BzoW4ETf.cjs"),le=require("./SChartBurnup-Ch3UMa9w.cjs"),ue=require("./useHasListener-BPgtbbo6.cjs"),de=require("./SChartBar-CBU1uCuL.cjs"),fe=require("./SChartProgress-xxqrj03o.cjs"),P=require("./buildWorkTimeLegendItems-DjhLKbAP.cjs"),F=require("./STable-NbCfen0n.cjs");let I=require("vue"),L=require("@shtabapp/ui-kit-primitives"),pe=require("@vueuse/core");var R=[`--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`],z=[`--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`],me=(e,t,n,r=!1)=>re.t(e,t,n,r,{palette:R,paletteFallback:R[0],skeletonPalette:z,skeletonFallback:z[0]}),B=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}({}),V=function(e){return e.HORIZONTAL=`horizontal`,e.VERTICAL=`vertical`,e}({}),H=function(e){return e.ICON=`icon`,e.AVATAR=`avatar`,e}({}),U=function(e){return e.BANNER=`banner`,e.TOAST=`toast`,e}({}),he={[B.INFO_ACCENT]:L.ESIconName.infoCircle,[B.INFO_NORMAL]:L.ESIconName.infoCircle,[B.SUCCESS]:L.ESIconName.checkCircle,[B.WARNING]:L.ESIconName.alertCircle,[B.DANGER]:L.ESIconName.dangerCircleFill,[B.BILLING]:L.ESIconName.infoCircle},ge=(e,t)=>t||he[e],_e=[`role`],ve={class:`s-ui-notification__body`},ye={key:0,class:`s-ui-notification__leftside`},be={key:0,class:`s-ui-notification__icon`},xe={class:`s-ui-notification__content`},Se={class:`s-ui-notification__title-row`},Ce={key:0,class:`s-ui-notification__description-block`},we={key:0,class:`s-ui-notification__description s-ui-typography-label-12-medium`},Te={key:1,class:`s-ui-notification__actions-stack`},Ee={key:1,class:`s-ui-notification__actions-row`},W=(0,I.defineComponent)({__name:`SNotification`,props:{type:{default:()=>B.INFO_ACCENT},layout:{default:()=>V.HORIZONTAL},leftside:{default:()=>H.ICON},surface:{default:()=>U.BANNER},title:{},description:{},linkText:{},primaryButtonText:{},secondaryButtonText:{},showPrimaryButton:{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,I.useSlots)(),a=(0,I.computed)(()=>[`s-ui-notification--type-${e.type}`,`s-ui-notification--layout-${e.layout}`,`s-ui-notification--surface-${e.surface}`]),c=(0,I.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}),l=(0,I.computed)(()=>e.type===B.DANGER?`alert`:`status`),u=(0,I.computed)(()=>ge(e.type,e.icon)),d=(0,I.computed)(()=>e.type===B.BILLING),f=(0,I.computed)(()=>!!(e.leftside===H.AVATAR&&e.avatar||e.leftside===H.ICON)),p=(0,I.computed)(()=>!!(e.description||e.linkText||i.description)),m=(0,I.computed)(()=>e.showPrimaryButton&&(e.primaryButtonText||e.secondaryButtonText)),h=(0,I.computed)(()=>e.showPrimaryButton&&e.primaryButtonText||e.closable),g=(0,I.computed)(()=>e.type===B.BILLING?o.t.MAJOR:o.t.OUTLINED),_=(0,I.computed)(()=>e.type===B.BILLING?o.r.BILLING:o.r.MAIN),v=()=>{r(`close`)},y=()=>{r(`linkClick`)},b=()=>{r(`primaryAction`)},x=()=>{r(`secondaryAction`)};return(n,r)=>((0,I.openBlock)(),(0,I.createElementBlock)(`div`,{class:(0,I.normalizeClass)([`s-ui-notification`,a.value]),style:(0,I.normalizeStyle)(c.value),role:l.value},[(0,I.createElementVNode)(`div`,ve,[f.value?((0,I.openBlock)(),(0,I.createElementBlock)(`div`,ye,[e.leftside===(0,I.unref)(H).ICON?((0,I.openBlock)(),(0,I.createElementBlock)(`div`,be,[(0,I.createVNode)((0,I.unref)(L.SIcon),{name:u.value,size:16,billing:d.value},null,8,[`name`,`billing`])])):e.leftside===(0,I.unref)(H).AVATAR&&e.avatar?((0,I.openBlock)(),(0,I.createBlock)((0,I.unref)(t.t),{key:1,name:e.avatar.name,src:e.avatar.src,badge:e.avatar.badge,size:(0,I.unref)(t.o).SIZE_20,showName:!1},null,8,[`name`,`src`,`badge`,`size`])):(0,I.createCommentVNode)(``,!0)])):(0,I.createCommentVNode)(``,!0),(0,I.createElementVNode)(`div`,xe,[(0,I.createElementVNode)(`div`,Se,[(0,I.createElementVNode)(`span`,{class:(0,I.normalizeClass)([`s-ui-notification__title s-ui-typography-label-14-medium`,{"s-ui-notification__title--truncated":e.truncateTitle}])},[(0,I.renderSlot)(n.$slots,`title`,{},()=>[(0,I.createTextVNode)((0,I.toDisplayString)(e.title),1)])],2),e.layout===(0,I.unref)(V).VERTICAL&&e.closable?((0,I.openBlock)(),(0,I.createBlock)((0,I.unref)(s.t),{key:0,class:`s-ui-notification__close`,appearance:(0,I.unref)(o.t).BARE,variant:(0,I.unref)(o.r).NEUTRAL,size:(0,I.unref)(o.n).SMALL,"aria-label":e.closeAriaLabel,icon:`closeMini`,onClick:v},null,8,[`appearance`,`variant`,`size`,`aria-label`])):(0,I.createCommentVNode)(``,!0)]),p.value?((0,I.openBlock)(),(0,I.createElementBlock)(`div`,Ce,[e.description||(0,I.unref)(i).description?((0,I.openBlock)(),(0,I.createElementBlock)(`span`,we,[(0,I.renderSlot)(n.$slots,`description`,{},()=>[(0,I.createTextVNode)((0,I.toDisplayString)(e.description),1)])])):(0,I.createCommentVNode)(``,!0),e.linkText?((0,I.openBlock)(),(0,I.createBlock)((0,I.unref)(s.t),{key:1,class:`s-ui-notification__link`,appearance:(0,I.unref)(o.t).BARE,variant:(0,I.unref)(o.r).MAIN,size:(0,I.unref)(o.n).SMALL,onClick:y},{default:(0,I.withCtx)(()=>[(0,I.createTextVNode)((0,I.toDisplayString)(e.linkText),1)]),_:1},8,[`appearance`,`variant`,`size`])):(0,I.createCommentVNode)(``,!0)])):(0,I.createCommentVNode)(``,!0),e.layout===(0,I.unref)(V).VERTICAL&&m.value?((0,I.openBlock)(),(0,I.createElementBlock)(`div`,Te,[e.showPrimaryButton&&e.primaryButtonText?((0,I.openBlock)(),(0,I.createBlock)((0,I.unref)(s.t),{key:0,appearance:g.value,variant:_.value,size:(0,I.unref)(o.n).SMALL,onClick:b},{default:(0,I.withCtx)(()=>[(0,I.createTextVNode)((0,I.toDisplayString)(e.primaryButtonText),1)]),_:1},8,[`appearance`,`variant`,`size`])):(0,I.createCommentVNode)(``,!0),e.showPrimaryButton&&e.secondaryButtonText?((0,I.openBlock)(),(0,I.createBlock)((0,I.unref)(s.t),{key:1,appearance:(0,I.unref)(o.t).BARE,variant:(0,I.unref)(o.r).NEUTRAL,size:(0,I.unref)(o.n).SMALL,onClick:x},{default:(0,I.withCtx)(()=>[(0,I.createTextVNode)((0,I.toDisplayString)(e.secondaryButtonText),1)]),_:1},8,[`appearance`,`variant`,`size`])):(0,I.createCommentVNode)(``,!0)])):(0,I.createCommentVNode)(``,!0)]),e.layout===(0,I.unref)(V).HORIZONTAL&&h.value?((0,I.openBlock)(),(0,I.createElementBlock)(`div`,Ee,[e.showPrimaryButton&&e.primaryButtonText?((0,I.openBlock)(),(0,I.createBlock)((0,I.unref)(s.t),{key:0,appearance:g.value,variant:_.value,size:(0,I.unref)(o.n).SMALL,onClick:b},{default:(0,I.withCtx)(()=>[(0,I.createTextVNode)((0,I.toDisplayString)(e.primaryButtonText),1)]),_:1},8,[`appearance`,`variant`,`size`])):(0,I.createCommentVNode)(``,!0),e.layout===(0,I.unref)(V).HORIZONTAL&&e.closable?((0,I.openBlock)(),(0,I.createBlock)((0,I.unref)(s.t),{key:1,class:`s-ui-notification__close`,appearance:(0,I.unref)(o.t).BARE,variant:(0,I.unref)(o.r).NEUTRAL,size:(0,I.unref)(o.n).SMALL,"aria-label":e.closeAriaLabel,icon:`closeMini`,onClick:v},null,8,[`appearance`,`variant`,`size`,`aria-label`])):(0,I.createCommentVNode)(``,!0)])):(0,I.createCommentVNode)(``,!0)])],14,_e))}}),De=(0,I.defineComponent)({__name:`SBanner`,props:{type:{default:()=>B.INFO_ACCENT},layout:{default:()=>V.HORIZONTAL},leftside:{default:()=>H.ICON},title:{},description:{},linkText:{},primaryButtonText:{},secondaryButtonText:{},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,I.useSlots)();return(t,i)=>((0,I.openBlock)(),(0,I.createBlock)(W,{class:`s-ui-banner`,"data-qa":`ui:banner`,type:e.type,layout:e.layout,leftside:e.leftside,surface:(0,I.unref)(U).BANNER,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,maxWidth:e.maxWidth,truncateTitle:e.truncateTitle,onClose:i[0]||=e=>n(`close`),onLinkClick:i[1]||=e=>n(`linkClick`),onPrimaryAction:i[2]||=e=>n(`primaryAction`),onSecondaryAction:i[3]||=e=>n(`secondaryAction`)},(0,I.createSlots)({_:2},[(0,I.unref)(r).title?{name:`title`,fn:(0,I.withCtx)(()=>[(0,I.renderSlot)(t.$slots,`title`)]),key:`0`}:void 0,(0,I.unref)(r).description?{name:`description`,fn:(0,I.withCtx)(()=>[(0,I.renderSlot)(t.$slots,`description`)]),key:`1`}:void 0]),1032,[`type`,`layout`,`leftside`,`surface`,`title`,`description`,`linkText`,`primaryButtonText`,`secondaryButtonText`,`showPrimaryButton`,`closable`,`closeAriaLabel`,`icon`,`avatar`,`maxWidth`,`truncateTitle`]))}}),G=(0,I.defineComponent)({__name:`SToast`,props:{type:{default:()=>B.INFO_ACCENT},layout:{default:()=>V.HORIZONTAL},leftside:{default:()=>H.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,I.useSlots)(),i=(0,I.computed)(()=>e.width??360);return(t,a)=>((0,I.openBlock)(),(0,I.createBlock)(W,{class:`s-ui-toast`,"data-qa":`ui:toast`,type:e.type,layout:e.layout,leftside:e.leftside,surface:(0,I.unref)(U).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,I.createSlots)({_:2},[(0,I.unref)(r).title?{name:`title`,fn:(0,I.withCtx)(()=>[(0,I.renderSlot)(t.$slots,`title`)]),key:`0`}:void 0,(0,I.unref)(r).description?{name:`description`,fn:(0,I.withCtx)(()=>[(0,I.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`]))}}),Oe=.05,ke=[`data-mounted`,`data-front`,`data-expanded`,`data-removed`,`data-visible`],Ae=(0,I.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,I.ref)(null),i=(0,I.ref)(0),a=(0,I.ref)(!1),o=(0,I.computed)(()=>e.index===0),s=(0,I.computed)(()=>1-e.index*Oe),c=(0,I.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,pe.useResizeObserver)(r,e=>{let t=e[0]?.contentRect.height??0;t!==i.value&&(i.value=t,n(`heightChange`,t))}),(0,I.onMounted)(()=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{a.value=!0})})}),(t,n)=>((0,I.openBlock)(),(0,I.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,I.normalizeStyle)(c.value)},[(0,I.createElementVNode)(`div`,{ref_key:`contentRef`,ref:r,class:`s-ui-toast-provider__toast-content`},[(0,I.renderSlot)(t.$slots,`default`)],512)],12,ke))}}),K=4e3,q=1e4,je=50,J=(e,t)=>{let n=K+(e.length+(t?.length??0))*50;return n>1e4?q:n},Y=(0,I.shallowRef)([]),X=new Map,Me=0,Ne={type:B.INFO_ACCENT,layout:V.HORIZONTAL,leftside:H.ICON,showPrimaryButton:!1,closable:!0},Pe=()=>`toast-${Date.now()}-${++Me}`,Z=e=>{let t=X.get(e);t&&(window.clearTimeout(t),X.delete(e))},Q=e=>{Z(e.id);let t=e.duration===void 0?J(e.title,e.description):e.duration;if(t>0){let n=window.setTimeout(()=>{$(e.id)},t);X.set(e.id,n)}},$=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))},Fe=()=>{X.forEach(e=>window.clearTimeout(e)),X.clear(),Y.value=[]},Ie=e=>e.length<=3?e:(e.slice(3).forEach(e=>{Z(e.id)}),e.slice(0,3)),Le=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=Ie(e)}else Y.value=Ie([n,...Y.value]);return Q(n),t},Re=(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,Q(i)},ze=()=>({toasts:Y,show:Le,hide:$,hideAll:Fe,update:Re}),Be=(0,I.defineComponent)({__name:`SToastProvider`,setup(e){let{toasts:t,hide:n}=ze(),r=(0,I.computed)(()=>t.value.slice(0,3)),i=(0,I.ref)(!1),a=(0,I.shallowRef)({}),o=(0,I.ref)(new Set),s=(0,I.computed)(()=>t.value[0]??null),c=(0,I.computed)(()=>s.value?a.value[s.value.id]??0:0),l=(0,I.ref)(0),u=(0,I.computed)(()=>c.value>0?c.value:l.value);(0,I.watch)(c,e=>{e>0&&(l.value=e)});let d=(0,I.computed)(()=>{if(r.value.length===0)return{};if(i.value)return{height:`${r.value.reduce((e,t,n)=>{let r=a.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:`${u.value+e}px`}}),f=e=>{let t=0;for(let n=0;n<e;n+=1){let e=r.value[n];e&&(t+=(a.value[e.id]??0)+4)}return t},p=e=>o.value.has(e),m=()=>{r.value.length>1&&(i.value=!0)},h=()=>{i.value=!1},g=(e,t)=>{a.value={...a.value,[e]:t}},_=e=>{o.value.has(e)||(o.value=new Set([...o.value,e]),window.setTimeout(()=>{n(e);let t=new Set(o.value);t.delete(e),o.value=t;let r={...a.value};delete r[e],a.value=r},200))},v=e=>{e.onLinkClick&&e.onLinkClick()},y=e=>{e.onPrimaryAction&&e.onPrimaryAction(e.id)},b=e=>{e.onSecondaryAction&&e.onSecondaryAction()};return(e,t)=>((0,I.openBlock)(),(0,I.createBlock)(I.Teleport,{to:`body`},[(0,I.createElementVNode)(`div`,{class:`s-ui-toast-provider`,onMouseenter:m,onMouseleave:h},[r.value.length>0?((0,I.openBlock)(),(0,I.createElementBlock)(`div`,{key:0,class:`s-ui-toast-provider__list`,style:(0,I.normalizeStyle)(d.value)},[((0,I.openBlock)(!0),(0,I.createElementBlock)(I.Fragment,null,(0,I.renderList)(r.value,(t,n)=>((0,I.openBlock)(),(0,I.createBlock)(Ae,{key:t.id,index:n,expanded:i.value,"front-toast-height":u.value,"stack-peek":(0,I.unref)(10),removed:p(t.id),visible:n<(0,I.unref)(3),"offset-y":f(n),onHeightChange:e=>g(t.id,e)},{default:(0,I.withCtx)(()=>[(0,I.renderSlot)(e.$slots,`toast`,{toast:t},()=>[t.component?((0,I.openBlock)(),(0,I.createBlock)((0,I.resolveDynamicComponent)(t.component),(0,I.mergeProps)({key:0,ref_for:!0},t.componentProps,{toast:t,onClose:e=>_(t.id)}),null,16,[`toast`,`onClose`])):((0,I.openBlock)(),(0,I.createBlock)((0,I.unref)(G),{key:1,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=>_(t.id),onLinkClick:e=>v(t),onPrimaryAction:e=>y(t),onSecondaryAction:e=>b(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,I.createCommentVNode)(``,!0)],32)]))}}),Ve=4,He=4,Ue=1,We=`400 12px var(--s-ui-font-family-label)`,Ge=4,Ke=(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}},Je=(e,t,n,r)=>{let i=qe(t);if(!i)return;let a=`${n}`,o=e.measureText(a).width+Ve*2;if(i.width<o+Ge*2)return;let s=i.left+i.width/2;Ke(e,s-o/2,i.centerY-20/2,o,20,He),e.fillStyle=r.background,e.fill(),e.lineWidth=Ue,e.strokeStyle=r.border,e.stroke(),e.fillStyle=r.text,e.fillText(a,s,i.centerY)},Ye=e=>({id:`segmentedBarBadge`,afterDatasetsDraw(t){let n={background:N.S(N.g.pieBadgeBackground,e),border:N.S(N.g.pieBadgeBorder,e),text:N.S(N.g.pieBadgeText,e)},{ctx:r}=t;r.save(),r.font=We,r.textAlign=`center`,r.textBaseline=`middle`,t.data.datasets.forEach((e,i)=>{let a=t.getDatasetMeta(i)?.data[0],o=e.data[0];a&&typeof o==`number`&&o>0&&Je(r,a,o,n)}),r.restore()}}),Xe=40,Ze=4,Qe=1,$e=[`mousemove`,`mouseout`,`click`,`touchstart`,`touchmove`],et=({segments:e,segmentColors:t,colorHostElement:n,skeleton:r=!1,onSegmentClick:i})=>{if(e.length===0)return null;let a=N.S(`--s-ui-color-surface-primary`,n),o=e.reduce((e,t)=>e+t.value,0),s=N.r({kind:`series`,skeleton:r,colorHostElement:n,onIndexClick:i});return{type:`bar`,data:{labels:[``],datasets:e.map((e,n)=>({label:e.label,data:[e.value],backgroundColor:t[n],hoverBackgroundColor:t[n],borderColor:a,borderWidth:{left:Qe,right:Qe},borderSkipped:!1,borderRadius:Ze,barThickness:Xe,stack:`track`}))},options:{indexAxis:`y`,responsive:!0,maintainAspectRatio:!1,layout:{padding:0},events:r?[]:$e,onHover:s.onHover,onClick:s.onClick,hover:r?void 0:{mode:`nearest`,intersect:!0},elements:r?void 0:{bar:{hoverBorderColor:a}},plugins:{legend:{display:!1},tooltip:{enabled:!1}},scales:{x:{display:!1,stacked:!0,min:0,max:o},y:{display:!1,stacked:!0}}},plugins:[...r?[]:[Ye(n)],...s.plugins]}},tt=[4,1,2,1,3,1,2,1].map((e,t)=>({label:`Series ${t+1}`,value:e})),nt={class:`s-ui-chart-segmented-bar__canvas-wrap`},rt=(0,I.defineComponent)({__name:`SChartSegmentedBar`,props:{segments:{default:()=>[]},showLegend:{type:Boolean,default:!0},loading:{type:Boolean,default:!1}},emits:[`segmentClick`],setup(e,{expose:t,emit:n}){let r=n,i=N.w,a=(0,I.useTemplateRef)(`chartRootRef`),o=(0,I.useTemplateRef)(`chartCanvasRef`),s=(0,I.computed)(()=>e.loading?tt:e.segments),c=(0,I.computed)(()=>s.value.map((t,n)=>me(n,a.value,t.fillColor,e.loading))),l=(0,I.computed)(()=>s.value.map((e,t)=>({segment:e,segmentIndex:t})).filter(({segment:e})=>e.value>0)),u=(0,I.computed)(()=>l.value.map(({segment:e})=>e)),d=(0,I.computed)(()=>l.value.map(({segmentIndex:e})=>c.value[e]??``)),f=(0,I.computed)(()=>{let e=new Map;return l.value.forEach(({segmentIndex:t},n)=>{e.set(t,n)}),e}),p=e=>{let t=l.value[e];t&&r(`segmentClick`,t.segmentIndex,t.segment)},m=ue.t(`onSegmentClick`),h=(0,I.computed)(()=>et({segments:u.value,segmentColors:d.value,colorHostElement:a.value,skeleton:e.loading,onSegmentClick:m()?p:void 0})),g=(0,I.computed)(()=>s.value.map((e,t)=>({label:e.label,color:c.value[t]??``}))),{chartInstance:_}=N.n({canvasRef:o,config:h,enabled:(0,I.computed)(()=>e.loading||u.value.length>0)}),{exportImage:v,handleLegendItemHover:y}=N.t({chartInstance:_,canvasRef:o,colorHostElement:a}),b=e=>{y(e===null?null:f.value.get(e)??null)};return t({exportImage:v}),(t,n)=>((0,I.openBlock)(),(0,I.createElementBlock)(`div`,{ref_key:`chartRootRef`,ref:a,class:(0,I.normalizeClass)([`s-ui-chart-segmented-bar`,{"s-ui-chart-segmented-bar--skeleton":e.loading}]),"data-qa":`ui:chart-segmented-bar`},[(0,I.createElementVNode)(`div`,nt,[(0,I.createVNode)((0,I.unref)(N.C),{loading:e.loading,type:(0,I.unref)(i).CARTESIAN},{default:(0,I.withCtx)(()=>[(0,I.createElementVNode)(`canvas`,{ref_key:`chartCanvasRef`,ref:o,class:`s-ui-chart-segmented-bar__canvas`},null,512)]),_:1},8,[`loading`,`type`])]),e.showLegend&&g.value.length?((0,I.openBlock)(),(0,I.createBlock)((0,I.unref)(M.t),{key:0,items:g.value,disabled:e.loading,interactive:!e.loading,onItemHover:b},null,8,[`items`,`disabled`,`interactive`])):(0,I.createCommentVNode)(``,!0)],2))}}),it={key:0,class:`s-ui-chart-widget__header`},at={key:0,class:`s-ui-chart-widget__title-skeleton`,"aria-hidden":`true`},ot={key:1,class:`s-ui-chart-widget__title s-ui-typography-label-16-medium`},st={class:`s-ui-chart-widget__controls`},ct={key:1,class:`s-ui-chart-widget__content`},lt=(0,I.defineComponent)({__name:`SChartWidget`,props:(0,I.mergeModels)({title:{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,I.useModel)(e,`collapsed`),n=(0,I.useSlots)(),{t:r}=(0,L.useUiKitI18n)(),i=(0,I.computed)(()=>!!e.title||!!n.title||!!n.actions||e.collapsible),a=(0,I.computed)(()=>!t.value||!e.collapsible||!e.hideContentWhenCollapsed),c=(0,I.computed)(()=>r(t.value?`chartWidget.expand`:`chartWidget.collapse`));return(n,r)=>((0,I.openBlock)(),(0,I.createElementBlock)(`div`,{class:(0,I.normalizeClass)([`s-ui-chart-widget`,{"s-ui-chart-widget--skeleton":e.loading}]),"data-qa":`ui:chart-widget`},[i.value?((0,I.openBlock)(),(0,I.createElementBlock)(`div`,it,[e.loading?((0,I.openBlock)(),(0,I.createElementBlock)(`span`,at)):((0,I.openBlock)(),(0,I.createElementBlock)(`span`,ot,[(0,I.renderSlot)(n.$slots,`title`,{},()=>[(0,I.createTextVNode)((0,I.toDisplayString)(e.title),1)])])),(0,I.createElementVNode)(`div`,st,[(0,I.renderSlot)(n.$slots,`actions`),e.collapsible?((0,I.openBlock)(),(0,I.createBlock)((0,I.unref)(s.t),{key:0,appearance:(0,I.unref)(o.t).OUTLINED,variant:(0,I.unref)(o.r).NEUTRAL,size:(0,I.unref)(o.n).SMALL,icon:t.value?(0,I.unref)(L.ESIconName).chevronDown:(0,I.unref)(L.ESIconName).chevronUp,"aria-label":c.value,"aria-expanded":!t.value,onClick:r[0]||=e=>t.value=!t.value},null,8,[`appearance`,`variant`,`size`,`icon`,`aria-label`,`aria-expanded`])):(0,I.createCommentVNode)(``,!0)])])):(0,I.createCommentVNode)(``,!0),a.value?((0,I.openBlock)(),(0,I.createElementBlock)(`div`,ct,[(0,I.renderSlot)(n.$slots,`default`)])):(0,I.createCommentVNode)(``,!0)],2))}});exports.CALENDAR_WEEK_SLOT_COUNT=P.a,exports.DAY_TIMELINE_MINUTES=P.r,exports.DEFAULT_COLOR_PALETTE=r.i,exports.EAccentColor=r.a,exports.EButtonAppearance=o.t,exports.EButtonGroupLayout=u.i,exports.EButtonSize=o.n,exports.ESSegmentControlSize=o.n,exports.EButtonVariant=o.r,exports.EColorFormat=r.o,exports.EConnectedPositionStrategy=g.r,exports.ENotificationLayout=V,exports.ENotificationLeftside=H,exports.ENotificationType=B,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.ESCardLayout=f.n,exports.ESCheckboxColor=d.n,exports.ESCheckboxLabelPlacement=d.r,exports.ESCheckboxSize=d.i,exports.ESChipColor=y.n,exports.ESChipSize=y.r,exports.ESColorPaletteLayout=r.n,exports.ESDropdownPlacement=g.i,exports.ESInlineGroupOrientation=u.r,exports.ESInlineInputAppearance=A.n,exports.ESInlineMessageValidationStatus=C.n,exports.ESInputCustomize=S.n,exports.ESLabelSize=w.n,exports.ESLabelVariant=w.r,exports.ESListGap=D.a,exports.ESListItemVariant=E.n,exports.ESPhotoEditShape=j.n,exports.ESPhotoEditSize=j.r,exports.ESRadioLabelPlacement=O.n,exports.ESSelectSearchable=ee.n,exports.ESTabAppearance=m.n,exports.ESTabSize=m.r,exports.ESTableCellState=F.n,exports.ESTableCheckState=F.r,exports.ESTableColumnAlign=F.i,exports.ESTableColumnSticky=F.a,exports.ESTableDropAction=F.o,exports.ESTableFooterTone=F.s,exports.ESTableRowHeightMode=F.c,exports.ESTableRowKind=F.l,exports.ESTableRowState=F.u,exports.ESTableRowsDragMode=F.d,exports.ESTableSortDirection=F.f,exports.ESTagColor=_.n,exports.ESTagSize=_.r,exports.ESToggleLabelPlacement=k.n,exports.ESToggleSize=k.r,exports.ESelectionFocusMode=c.t,exports.ESelectionMode=c.n,exports.ESelectionOrientation=c.r,exports.EWorkTimeSource=P.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=De,exports.SButton=s.t,exports.SButtonGroup=u.t,exports.SCalendarMonth=P.l,exports.SCalendarWeekGrid=P.i,exports.SCard=f.t,exports.SChartBar=de.t,exports.SChartBurnup=le.t,exports.SChartHorizontalBar=oe.t,exports.SChartLegend=M.t,exports.SChartLine=ne.t,exports.SChartMultiLine=ce.t,exports.SChartPie=se.t,exports.SChartProgress=fe.t,exports.SChartSegmentedBar=rt,exports.SChartStackedArea=ie.t,exports.SChartStackedBar=ae.t,exports.SChartWidget=lt,exports.SCheckbox=d.t,exports.SChip=y.t,exports.SColorArea=n.r,exports.SColorPalette=r.t,exports.SColorPicker=n.t,exports.SColorValues=n.n,exports.SDayTimeline=P.n,exports.SDropdown=b.t,exports.SDropdownMenu=x.t,exports.SInlineGroup=u.n,exports.SInlineInput=A.t,exports.SInlineMessage=C.t,exports.SInput=S.t,exports.SLabel=w.t,exports.SList=D.t,exports.SListItem=E.t,exports.SPhotoEdit=j.t,exports.SRadio=O.t,exports.SSegmentControl=p.t,exports.SSelect=ee.t,exports.STab=m.t,exports.STable=F.t,exports.STabs=h.t,exports.STag=_.t,exports.STagGroup=v.t,exports.STextarea=te.t,exports.SToast=G,exports.SToastProvider=Be,exports.SToggle=k.t,exports.S_DROPDOWN_SHEET_BREAKPOINT=b.n,exports.TOAST_AUTO_DURATION_MAX_MS=q,exports.TOAST_AUTO_DURATION_MIN_MS=K,exports.TOAST_AUTO_DURATION_MS_PER_CHAR=je,exports.WORK_TIME_SOURCE_COLOR_VARS=P.o,exports.WORK_TIME_SOURCE_ORDER=P.s,exports.buildWorkTimeLegendItems=P.t,exports.computeAutoDuration=J,exports.computeConnectedPosition=g.n,Object.defineProperty(exports,"createUiKit",{enumerable:!0,get:function(){return L.createUiKit}}),exports.formatDurationHM=P.u,exports.isSameColor=i.r,exports.normalizeColorValue=i.i,exports.resolveColorPreview=i.a,exports.resolveOwnPropOrGroupedOrFallback=c.a,Object.defineProperty(exports,"setUiKitLocale",{enumerable:!0,get:function(){return L.setUiKitLocale}}),Object.defineProperty(exports,"uiKitLocaleEn",{enumerable:!0,get:function(){return L.uiKitLocaleEn}}),Object.defineProperty(exports,"uiKitLocaleRu",{enumerable:!0,get:function(){return L.uiKitLocaleRu}}),exports.useFlatTreeList=T.s,exports.useFloatingOverlay=g.t,exports.useSListEndReached=T.a,exports.useSelectionGroup=c.o,exports.useSelectionGroupItem=l.n,exports.useToast=ze,Object.defineProperty(exports,"useUiKitI18n",{enumerable:!0,get:function(){return L.useUiKitI18n}});var ut=require("@shtabapp/ui-kit-tokens");Object.keys(ut).forEach(function(e){e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:function(){return ut[e]}})}),Object.keys(L).forEach(function(e){e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:function(){return L[e]}})});
|
package/dist/index.d.ts
CHANGED
|
@@ -67,6 +67,8 @@ export { ESListItemVariant, SListItem } from './components/SListItem';
|
|
|
67
67
|
export type { ISListItemProps, TSListItemInstance } from './components/SListItem';
|
|
68
68
|
export { ESListGap, SList } from './components/SList';
|
|
69
69
|
export type { ISListProps, TSListInstance, TSListItemSlotScope } from './components/SList';
|
|
70
|
+
export { ESTableCellState, ESTableCheckState, ESTableColumnAlign, ESTableColumnSticky, ESTableDropAction, ESTableFooterTone, ESTableRowHeightMode, ESTableRowKind, ESTableRowsDragMode, ESTableRowState, ESTableSortDirection, STable, } from './components/STable';
|
|
71
|
+
export type { ISTableColumn, ISTableDepthFooterConfig, ISTableExpose, ISTableFooterValue, ISTableProps, ISTableRowsDropPayload, ISTableRowsReorderPayload, TSTableCellSlotScope, TSTableDepthFooterSlotScope, TSTableFieldResolver, TSTableFlatRow, TSTableGroupSlotScope, TSTableHeaderSlotScope, TSTableInstance, TSTableLoadMoreSlotScope, TSTableRowSlotScope, TSTableScrollAlign, TSTableSortEntry, } from './components/STable';
|
|
70
72
|
export { ESDropdownPlacement, S_DROPDOWN_SHEET_BREAKPOINT, SDropdown } from './components/SDropdown';
|
|
71
73
|
export type { ISDropdownContentSlotProps, ISDropdownProps, ISDropdownTriggerSlotProps, TSDropdownInstance, } from './components/SDropdown';
|
|
72
74
|
export { SDropdownMenu } from './components/SDropdownMenu';
|
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,EA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