@shtabapp/ui-kit 1.74.0 → 1.75.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.
Files changed (182) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/SChartBar-BvytQ-2z.js +293 -0
  3. package/dist/SChartBar-BzCeNCsi.cjs +1 -0
  4. package/dist/SChartBurnup-BeQWgnGT.js +261 -0
  5. package/dist/SChartBurnup-joKIDLFb.cjs +1 -0
  6. package/dist/SChartHorizontalBar-C40Yroue.js +176 -0
  7. package/dist/SChartHorizontalBar-Dwln3uuE.cjs +1 -0
  8. package/dist/SChartLegend-D1gPKGm0.cjs +1 -0
  9. package/dist/SChartLegend-dDqLhvIj.js +88 -0
  10. package/dist/{SChartLine-v0tkmnN6.js → SChartLine-BV8Ytso5.js} +36 -36
  11. package/dist/{SChartLine-3l507dBg.cjs → SChartLine-DeJjaBmo.cjs} +1 -1
  12. package/dist/SChartMultiLine-7_HcvVEQ.js +279 -0
  13. package/dist/SChartMultiLine-Cl9Pf3Wp.cjs +1 -0
  14. package/dist/SChartPie-BiLoxutQ.js +267 -0
  15. package/dist/SChartPie-DccW5J0b.cjs +1 -0
  16. package/dist/{SChartProgress-9Zzy7E8K.cjs → SChartProgress-Cpdkad6Q.cjs} +1 -1
  17. package/dist/{SChartProgress-DUgSOdv7.js → SChartProgress-DSxJqRA0.js} +27 -27
  18. package/dist/{SChartStackedArea-Blpqa23h.js → SChartStackedArea-B28offwE.js} +44 -44
  19. package/dist/{SChartStackedArea-C3MezV9k.cjs → SChartStackedArea-Ce7xyhp1.cjs} +1 -1
  20. package/dist/{SChartStackedBar-CCxEXw1H.js → SChartStackedBar-C77FlKGS.js} +55 -55
  21. package/dist/{SChartStackedBar-CJ-UdOfv.cjs → SChartStackedBar-CqUDrFJ3.cjs} +1 -1
  22. package/dist/{STable-Ci_3UqBz.cjs → STable-BXVhLjSQ.cjs} +1 -1
  23. package/dist/{STable-CToIFCiU.js → STable-G2k-tI4g.js} +37 -36
  24. package/dist/applyChartHighlightedYTick-BHVwiljn.cjs +1 -0
  25. package/dist/applyChartHighlightedYTick-DmsstRVM.js +17 -0
  26. package/dist/buildMultiLineChartScales-Di-yTvEB.js +41 -0
  27. package/dist/buildMultiLineChartScales-lVP6h9H4.cjs +1 -0
  28. package/dist/components/SChartBar/SChartBar.types.d.ts +33 -4
  29. package/dist/components/SChartBar/SChartBar.types.d.ts.map +1 -1
  30. package/dist/components/SChartBar/SChartBar.vue.d.ts.map +1 -1
  31. package/dist/components/SChartBar/index.d.ts +1 -1
  32. package/dist/components/SChartBar/index.d.ts.map +1 -1
  33. package/dist/components/SChartBar/utils/buildBarChartConfig.d.ts +8 -2
  34. package/dist/components/SChartBar/utils/buildBarChartConfig.d.ts.map +1 -1
  35. package/dist/components/SChartBar/utils/createBarTargetLinePlugin.d.ts.map +1 -1
  36. package/dist/components/SChartBar/utils/createBarValueLabelPlugin.d.ts +7 -0
  37. package/dist/components/SChartBar/utils/createBarValueLabelPlugin.d.ts.map +1 -0
  38. package/dist/components/SChartBar/utils/demoBarSeries.d.ts +7 -1
  39. package/dist/components/SChartBar/utils/demoBarSeries.d.ts.map +1 -1
  40. package/dist/components/SChartBurnup/SChartBurnup.types.d.ts +8 -1
  41. package/dist/components/SChartBurnup/SChartBurnup.types.d.ts.map +1 -1
  42. package/dist/components/SChartBurnup/utils/buildBurnupChartConfig.d.ts.map +1 -1
  43. package/dist/components/SChartBurnup/utils/demoBurnupPoints.d.ts +1 -0
  44. package/dist/components/SChartBurnup/utils/demoBurnupPoints.d.ts.map +1 -1
  45. package/dist/components/SChartLegend/SChartLegend.types.d.ts +17 -0
  46. package/dist/components/SChartLegend/SChartLegend.types.d.ts.map +1 -1
  47. package/dist/components/SChartLegend/SChartLegend.vue.d.ts +3 -1
  48. package/dist/components/SChartLegend/SChartLegend.vue.d.ts.map +1 -1
  49. package/dist/components/SChartLegend/index.d.ts +1 -0
  50. package/dist/components/SChartLegend/index.d.ts.map +1 -1
  51. package/dist/components/SChartMultiLine/SChartMultiLine.types.d.ts +14 -2
  52. package/dist/components/SChartMultiLine/SChartMultiLine.types.d.ts.map +1 -1
  53. package/dist/components/SChartMultiLine/SChartMultiLine.vue.d.ts +3 -1
  54. package/dist/components/SChartMultiLine/SChartMultiLine.vue.d.ts.map +1 -1
  55. package/dist/components/SChartMultiLine/index.d.ts +1 -1
  56. package/dist/components/SChartMultiLine/index.d.ts.map +1 -1
  57. package/dist/components/SChartMultiLine/utils/buildMultiLineChartConfig.d.ts +9 -2
  58. package/dist/components/SChartMultiLine/utils/buildMultiLineChartConfig.d.ts.map +1 -1
  59. package/dist/components/SChartMultiLine/utils/demoMultiLineSeries.d.ts +4 -1
  60. package/dist/components/SChartMultiLine/utils/demoMultiLineSeries.d.ts.map +1 -1
  61. package/dist/components/SChartPie/SChartPie.types.d.ts +27 -1
  62. package/dist/components/SChartPie/SChartPie.types.d.ts.map +1 -1
  63. package/dist/components/SChartPie/SChartPie.vue.d.ts +16 -2
  64. package/dist/components/SChartPie/SChartPie.vue.d.ts.map +1 -1
  65. package/dist/components/SChartPie/index.d.ts +2 -1
  66. package/dist/components/SChartPie/index.d.ts.map +1 -1
  67. package/dist/components/SChartPie/utils/buildPieChartConfig.d.ts +3 -1
  68. package/dist/components/SChartPie/utils/buildPieChartConfig.d.ts.map +1 -1
  69. package/dist/components/SChartPie/utils/demoPieSlices.d.ts +1 -0
  70. package/dist/components/SChartPie/utils/demoPieSlices.d.ts.map +1 -1
  71. package/dist/components/SChartSegmentedBar/SChartSegmentedBar.types.d.ts +9 -0
  72. package/dist/components/SChartSegmentedBar/SChartSegmentedBar.types.d.ts.map +1 -1
  73. package/dist/components/SChartSegmentedBar/SChartSegmentedBar.vue.d.ts +14 -2
  74. package/dist/components/SChartSegmentedBar/SChartSegmentedBar.vue.d.ts.map +1 -1
  75. package/dist/components/SChartSegmentedBar/utils/buildSegmentedBarChartConfig.d.ts +4 -1
  76. package/dist/components/SChartSegmentedBar/utils/buildSegmentedBarChartConfig.d.ts.map +1 -1
  77. package/dist/components/SChartSegmentedBar/utils/createSegmentedBarBadgePlugin.d.ts.map +1 -1
  78. package/dist/components/SList/utils/resolveListItemFields.d.ts +1 -1
  79. package/dist/components/SList/utils/resolveListItemFields.d.ts.map +1 -1
  80. package/dist/components/SRoadmap/SRoadmap.types.d.ts +47 -0
  81. package/dist/components/SRoadmap/SRoadmap.types.d.ts.map +1 -0
  82. package/dist/components/SRoadmap/SRoadmap.vue.d.ts +21 -0
  83. package/dist/components/SRoadmap/SRoadmap.vue.d.ts.map +1 -0
  84. package/dist/components/SRoadmap/index.d.ts +4 -0
  85. package/dist/components/SRoadmap/index.d.ts.map +1 -0
  86. package/dist/components/SRoadmap/utils/buildRoadmapRows.d.ts +19 -0
  87. package/dist/components/SRoadmap/utils/buildRoadmapRows.d.ts.map +1 -0
  88. package/dist/components/SRoadmap/utils/demoRoadmapItems.d.ts +5 -0
  89. package/dist/components/SRoadmap/utils/demoRoadmapItems.d.ts.map +1 -0
  90. package/dist/components/SRoadmap/utils/roadmapDate.d.ts +16 -0
  91. package/dist/components/SRoadmap/utils/roadmapDate.d.ts.map +1 -0
  92. package/dist/components/STable/STable.vue.d.ts.map +1 -1
  93. package/dist/components/STable/utils/useTableRowHydration.d.ts +3 -1
  94. package/dist/components/STable/utils/useTableRowHydration.d.ts.map +1 -1
  95. package/dist/composables/useChartInteractivity.d.ts +2 -1
  96. package/dist/composables/useChartInteractivity.d.ts.map +1 -1
  97. package/dist/{createChartCrosshairPlugin-B4e8d8OF.cjs → createChartCrosshairPlugin-BTPv09h4.cjs} +1 -1
  98. package/dist/{createChartCrosshairPlugin-C2NUAO5s.js → createChartCrosshairPlugin-EqMlaexu.js} +2 -2
  99. package/dist/createChartMarkersPlugin-BKxLg4pL.cjs +1 -0
  100. package/dist/{createChartMarkersPlugin-DkXituwE.js → createChartMarkersPlugin-DPvfZp_e.js} +11 -11
  101. package/dist/entries/chart-bar.cjs +1 -1
  102. package/dist/entries/chart-bar.js +1 -1
  103. package/dist/entries/chart-burnup.cjs +1 -1
  104. package/dist/entries/chart-burnup.js +1 -1
  105. package/dist/entries/chart-horizontal-bar.cjs +1 -1
  106. package/dist/entries/chart-horizontal-bar.js +1 -1
  107. package/dist/entries/chart-line.cjs +1 -1
  108. package/dist/entries/chart-line.js +1 -1
  109. package/dist/entries/chart-multi-line.cjs +1 -1
  110. package/dist/entries/chart-multi-line.js +1 -1
  111. package/dist/entries/chart-pie.cjs +1 -1
  112. package/dist/entries/chart-pie.d.ts +2 -2
  113. package/dist/entries/chart-pie.d.ts.map +1 -1
  114. package/dist/entries/chart-pie.js +2 -2
  115. package/dist/entries/chart-progress.cjs +1 -1
  116. package/dist/entries/chart-progress.js +1 -1
  117. package/dist/entries/chart-stacked-area.cjs +1 -1
  118. package/dist/entries/chart-stacked-area.js +1 -1
  119. package/dist/entries/chart-stacked-bar.cjs +1 -1
  120. package/dist/entries/chart-stacked-bar.js +1 -1
  121. package/dist/entries/table.cjs +1 -1
  122. package/dist/entries/table.js +1 -1
  123. package/dist/index.cjs +1 -1
  124. package/dist/index.d.ts +7 -5
  125. package/dist/index.d.ts.map +1 -1
  126. package/dist/index.js +569 -303
  127. package/dist/resolveBarStackedSeriesColor-CjwUxrUx.js +11 -0
  128. package/dist/resolveBarStackedSeriesColor-Czkj5bJY.cjs +1 -0
  129. package/dist/resolveCssColorValue-BFMo08-w.cjs +1 -0
  130. package/dist/resolveCssColorValue-DH_SEZj4.js +8 -0
  131. package/dist/resolveSeriesPaletteColor-BepW1gdW.cjs +1 -0
  132. package/dist/{resolveSeriesPaletteColor-B7wHDj1L.js → resolveSeriesPaletteColor-DoPeNP_F.js} +3 -2
  133. package/dist/{resolveStackedChartContext-DxJNWqwE.js → resolveStackedChartContext-BbCzct6O.js} +5 -5
  134. package/dist/{resolveStackedChartContext-Br3N7ISo.cjs → resolveStackedChartContext-D4tuSA6Z.cjs} +1 -1
  135. package/dist/splitChartAxisLabel-D-IFyucJ.js +4 -0
  136. package/dist/splitChartAxisLabel-DAmQOJn6.cjs +2 -0
  137. package/dist/uikit-components.css +1 -1
  138. package/dist/useChartInteractivity-CaZ37kX-.cjs +1 -0
  139. package/dist/{useChartInteractivity-Cl06JL4l.js → useChartInteractivity-DygkiRA1.js} +178 -144
  140. package/dist/utils/chart/burnup/createBurnupTooltipCallbacks.d.ts +3 -1
  141. package/dist/utils/chart/burnup/createBurnupTooltipCallbacks.d.ts.map +1 -1
  142. package/dist/utils/chart/chart.types.d.ts +10 -0
  143. package/dist/utils/chart/chart.types.d.ts.map +1 -1
  144. package/dist/utils/chart/core/applyChartHighlightedYTick.d.ts +19 -0
  145. package/dist/utils/chart/core/applyChartHighlightedYTick.d.ts.map +1 -0
  146. package/dist/utils/chart/core/chartCssVariables.d.ts +3 -0
  147. package/dist/utils/chart/core/chartCssVariables.d.ts.map +1 -1
  148. package/dist/utils/chart/core/chartInteractivity.d.ts +9 -2
  149. package/dist/utils/chart/core/chartInteractivity.d.ts.map +1 -1
  150. package/dist/utils/chart/core/createChartMarkersPlugin.d.ts.map +1 -1
  151. package/dist/utils/chart/core/resolveSeriesPaletteColor.d.ts.map +1 -1
  152. package/dist/utils/chart/core/splitChartAxisLabel.d.ts +2 -0
  153. package/dist/utils/chart/core/splitChartAxisLabel.d.ts.map +1 -0
  154. package/dist/utils/chart/css/resolveCssColorValue.d.ts +2 -0
  155. package/dist/utils/chart/css/resolveCssColorValue.d.ts.map +1 -0
  156. package/dist/utils/chart/horizontalBar/resolveHorizontalBarColor.d.ts.map +1 -1
  157. package/dist/utils/chart/index.d.ts +4 -1
  158. package/dist/utils/chart/index.d.ts.map +1 -1
  159. package/dist/utils/chart/multiLine/buildMultiLineChartScales.d.ts +119 -14
  160. package/dist/utils/chart/multiLine/buildMultiLineChartScales.d.ts.map +1 -1
  161. package/dist/utils/chart/multiLine/createMultiLineTooltipCallbacks.d.ts +7 -2
  162. package/dist/utils/chart/multiLine/createMultiLineTooltipCallbacks.d.ts.map +1 -1
  163. package/package.json +3 -3
  164. package/dist/SChartBar-CUAibXox.js +0 -215
  165. package/dist/SChartBar-xzw8oxXl.cjs +0 -1
  166. package/dist/SChartBurnup-C5Z7UDi-.js +0 -250
  167. package/dist/SChartBurnup-CWSJUoA_.cjs +0 -1
  168. package/dist/SChartHorizontalBar-0RpJa5EJ.cjs +0 -1
  169. package/dist/SChartHorizontalBar-B9SWFvdN.js +0 -175
  170. package/dist/SChartLegend-DGtjd6zV.cjs +0 -1
  171. package/dist/SChartLegend-oZoF8XK7.js +0 -42
  172. package/dist/SChartMultiLine-CG6dKmWm.js +0 -244
  173. package/dist/SChartMultiLine-vz7JdyA3.cjs +0 -1
  174. package/dist/SChartPie-0ugeo2fO.js +0 -182
  175. package/dist/SChartPie-QpnxLQYv.cjs +0 -1
  176. package/dist/buildMultiLineChartScales-7mcIfRVG.cjs +0 -1
  177. package/dist/buildMultiLineChartScales-CFZ8YVeJ.js +0 -19
  178. package/dist/createChartMarkersPlugin-Cg1yGzxW.cjs +0 -1
  179. package/dist/resolveBarStackedSeriesColor-DM7Ax0-s.js +0 -11
  180. package/dist/resolveBarStackedSeriesColor-z3NP5vAS.cjs +0 -1
  181. package/dist/resolveSeriesPaletteColor-D0XlU5vT.cjs +0 -1
  182. package/dist/useChartInteractivity-LbJiqlvI.cjs +0 -1
package/dist/index.js CHANGED
@@ -3,56 +3,56 @@ import { a as r, i, n as a, o, r as s, t as c } from "./SAvatar-hWbsODUa.js";
3
3
  import { i as l, n as u, r as d, t as f } from "./SColorPicker-BjtlrGHZ.js";
4
4
  import { a as p, i as m, n as h, o as g, r as _, t as v } from "./SColorPalette-OCu-tgZ3.js";
5
5
  import { a as y, i as b, r as x } from "./colorValue-CSh0chxp.js";
6
- import { n as ee, t as te } from "./SAvatarGroup-CSSCQKdH.js";
7
- import { i as S, n as C, r as w, t as T } from "./SButton-LAOBxpd4.js";
8
- import { a as ne, n as re, o as ie, r as ae, t as oe } from "./useSelectionGroup-BCAmPf3R.js";
9
- import { n as se } from "./useSelectLink-2aCIYmF6.js";
10
- import { i as ce, n as le, r as ue, t as de } from "./SButtonGroup-DPq5g7bZ.js";
11
- import { i as fe, n as pe, r as me, t as he } from "./SCheckbox-BMkOc5cn.js";
12
- import { n as ge, t as _e } from "./SCard-DgGxjBUV.js";
13
- import { n as ve, t as ye } from "./SSegmentControl-Bjech2v4.js";
14
- import { n as be, r as xe, t as Se } from "./STab-ltjZBvbK.js";
15
- import { t as Ce } from "./STabs-BARXqgoB.js";
16
- import { a as we, i as Te, o as Ee, s as De, t as Oe } from "./useFloatingOverlay-TxzVisMJ.js";
17
- import { n as ke, r as Ae, t as je } from "./STag-C5KhPWjQ.js";
18
- import { t as Me } from "./STagGroup-BGwvunuu.js";
19
- import { n as Ne, r as Pe, t as Fe } from "./SChip-NDTK29yq.js";
20
- import { n as Ie, t as Le } from "./SDropdown-cNmJ5Lrz.js";
21
- import { t as Re } from "./SDropdownMenu-2koPU6IG.js";
22
- import { n as ze, t as Be } from "./SInput-D8NftspL.js";
23
- import { n as Ve, t as He } from "./SInlineMessage-Dirk5RwO.js";
24
- import { n as Ue, r as We, t as Ge } from "./SLabel-FHHPlcKq.js";
25
- import { a as Ke, s as qe } from "./treeKeyboardNavigation-SmxTdnDz.js";
26
- import { n as Je, t as Ye } from "./SListItem-BOSQGRWA.js";
27
- import { a as Xe, t as Ze } from "./SList-BuXrkB03.js";
28
- import { n as Qe, t as $e } from "./SSelect-rpJCD5PL.js";
29
- import { n as et, t as tt } from "./SRadio-D6_Pd6XX.js";
30
- import { n as nt, r as rt, t as it } from "./SToggle-sGw-LSNd.js";
31
- import { n as at, t as ot } from "./SInlineInput-DO_glYxP.js";
32
- import { t as st } from "./STextarea-BDyy7Ku5.js";
33
- import { n as ct, r as lt, t as ut } from "./SPhotoEdit-r63G2NZI.js";
34
- import { t as E } from "./SChartLegend-oZoF8XK7.js";
35
- import { D as dt, E as ft, T as D, n as pt, r as mt, t as ht, y as O } from "./useChartInteractivity-Cl06JL4l.js";
36
- import { t as gt } from "./SChartLine-v0tkmnN6.js";
37
- import { t as _t } from "./resolveSeriesPaletteColor-B7wHDj1L.js";
38
- import { t as vt } from "./SChartStackedArea-Blpqa23h.js";
39
- import { t as yt } from "./SChartStackedBar-CCxEXw1H.js";
40
- import { t as bt } from "./SChartHorizontalBar-B9SWFvdN.js";
41
- import { t as xt } from "./SChartPie-0ugeo2fO.js";
42
- import { t as St } from "./SChartMultiLine-CG6dKmWm.js";
43
- import { t as Ct } from "./SChartBurnup-C5Z7UDi-.js";
44
- import { t as wt } from "./useHasListener-RSjlUyqH.js";
45
- import { t as Tt } from "./SChartBar-CUAibXox.js";
46
- import { t as Et } from "./SChartProgress-DUgSOdv7.js";
47
- import { a as Dt, c as Ot, d as kt, f as At, i as jt, l as Mt, n as Nt, o as Pt, r as Ft, s as It, t as Lt, u as Rt } from "./buildWorkTimeLegendItems-CifzZM9C.js";
48
- import { a as zt, c as Bt, d as Vt, f as Ht, i as Ut, l as Wt, n as Gt, o as Kt, p as qt, r as Jt, s as Yt, t as Xt, u as Zt } from "./STable-CToIFCiU.js";
49
- import { Fragment as Qt, Teleport as $t, computed as k, createBlock as A, createCommentVNode as j, createElementBlock as M, createElementVNode as N, createSlots as en, createTextVNode as P, createVNode as tn, defineComponent as F, mergeModels as nn, mergeProps as rn, normalizeClass as I, normalizeStyle as L, onMounted as an, openBlock as R, ref as z, renderList as on, renderSlot as B, resolveDynamicComponent as sn, shallowRef as cn, toDisplayString as V, unref as H, useModel as ln, useSlots as U, useTemplateRef as un, watch as dn, withCtx as W } from "vue";
50
- import { ESIconName as G, SIcon as fn, createUiKit as pn, setUiKitLocale as mn, uiKitLocaleEn as hn, uiKitLocaleRu as gn, useUiKitI18n as _n, useUiKitI18n as vn } from "@shtabapp/ui-kit-primitives";
51
- import { useResizeObserver as yn } from "@vueuse/core";
6
+ import { n as ee, t as S } from "./SAvatarGroup-CSSCQKdH.js";
7
+ import { i as C, n as w, r as T, t as E } from "./SButton-LAOBxpd4.js";
8
+ import { a as te, n as ne, o as re, r as ie, t as ae } from "./useSelectionGroup-BCAmPf3R.js";
9
+ import { n as oe } from "./useSelectLink-2aCIYmF6.js";
10
+ import { i as se, n as ce, r as le, t as ue } from "./SButtonGroup-DPq5g7bZ.js";
11
+ import { i as de, n as fe, r as pe, t as me } from "./SCheckbox-BMkOc5cn.js";
12
+ import { n as he, t as ge } from "./SCard-DgGxjBUV.js";
13
+ import { n as _e, t as ve } from "./SSegmentControl-Bjech2v4.js";
14
+ import { n as ye, r as be, t as xe } from "./STab-ltjZBvbK.js";
15
+ import { t as Se } from "./STabs-BARXqgoB.js";
16
+ import { a as Ce, i as we, o as Te, s as Ee, t as De } from "./useFloatingOverlay-TxzVisMJ.js";
17
+ import { n as Oe, r as ke, t as Ae } from "./STag-C5KhPWjQ.js";
18
+ import { t as je } from "./STagGroup-BGwvunuu.js";
19
+ import { n as Me, r as Ne, t as Pe } from "./SChip-NDTK29yq.js";
20
+ import { n as Fe, t as Ie } from "./SDropdown-cNmJ5Lrz.js";
21
+ import { t as Le } from "./SDropdownMenu-2koPU6IG.js";
22
+ import { n as Re, t as ze } from "./SInput-D8NftspL.js";
23
+ import { n as Be, t as Ve } from "./SInlineMessage-Dirk5RwO.js";
24
+ import { n as He, r as Ue, t as We } from "./SLabel-FHHPlcKq.js";
25
+ import { a as Ge, s as Ke } from "./treeKeyboardNavigation-SmxTdnDz.js";
26
+ import { n as qe, t as Je } from "./SListItem-BOSQGRWA.js";
27
+ import { a as Ye, t as Xe } from "./SList-BuXrkB03.js";
28
+ import { n as Ze, t as Qe } from "./SSelect-rpJCD5PL.js";
29
+ import { n as $e, t as et } from "./SRadio-D6_Pd6XX.js";
30
+ import { n as tt, r as nt, t as rt } from "./SToggle-sGw-LSNd.js";
31
+ import { n as it, t as at } from "./SInlineInput-DO_glYxP.js";
32
+ import { t as ot } from "./STextarea-BDyy7Ku5.js";
33
+ import { n as st, r as ct, t as lt } from "./SPhotoEdit-r63G2NZI.js";
34
+ import { S as ut, T as D, a as dt, b as O, n as ft, o as pt, r as mt, t as ht, x as gt } from "./useChartInteractivity-DygkiRA1.js";
35
+ import { n as _t, t as vt } from "./SChartLegend-dDqLhvIj.js";
36
+ import { t as yt } from "./SChartLine-BV8Ytso5.js";
37
+ import { t as bt } from "./resolveSeriesPaletteColor-DoPeNP_F.js";
38
+ import { t as xt } from "./SChartStackedArea-B28offwE.js";
39
+ import { t as St } from "./SChartStackedBar-C77FlKGS.js";
40
+ import { t as Ct } from "./SChartHorizontalBar-C40Yroue.js";
41
+ import { n as wt, t as Tt } from "./SChartPie-BiLoxutQ.js";
42
+ import { t as Et } from "./SChartMultiLine-7_HcvVEQ.js";
43
+ import { t as Dt } from "./SChartBurnup-BeQWgnGT.js";
44
+ import { t as Ot } from "./useHasListener-RSjlUyqH.js";
45
+ import { t as kt } from "./SChartBar-BvytQ-2z.js";
46
+ import { t as At } from "./SChartProgress-DSxJqRA0.js";
47
+ import { a as jt, c as Mt, d as Nt, f as Pt, i as Ft, l as It, n as Lt, o as Rt, r as zt, s as Bt, t as Vt, u as Ht } from "./buildWorkTimeLegendItems-CifzZM9C.js";
48
+ import { a as Ut, c as Wt, d as Gt, f as Kt, i as qt, l as Jt, n as Yt, o as Xt, p as Zt, r as Qt, s as $t, t as en, u as tn } from "./STable-G2k-tI4g.js";
49
+ import { Fragment as k, Teleport as nn, computed as A, createBlock as j, createCommentVNode as M, createElementBlock as N, createElementVNode as P, createSlots as rn, createTextVNode as F, createVNode as I, defineComponent as L, mergeModels as an, mergeProps as on, normalizeClass as R, normalizeStyle as z, onMounted as sn, openBlock as B, ref as V, renderList as H, renderSlot as U, resolveDynamicComponent as cn, shallowRef as ln, toDisplayString as W, toValue as un, unref as G, useModel as dn, useSlots as K, useTemplateRef as fn, watch as pn, withCtx as q, withKeys as mn, withModifiers as hn } from "vue";
50
+ import { ESIconName as J, ESProgressBarSize as gn, ESSkeletonType as _n, SIcon as vn, SProgressBar as yn, SSkeleton as bn, createUiKit as xn, setUiKitLocale as Sn, uiKitLocaleEn as Cn, uiKitLocaleRu as wn, useUiKitI18n as Tn, useUiKitI18n as En } from "@shtabapp/ui-kit-primitives";
51
+ import { useResizeObserver as Dn } from "@vueuse/core";
52
52
  export * from "@shtabapp/ui-kit-primitives";
53
53
  export * from "@shtabapp/ui-kit-tokens";
54
54
  //#region src/utils/chart/segmentedBar/resolveSegmentedBarSegmentColor.ts
55
- var K = [
55
+ var On = [
56
56
  "--s-ui-chart-segmented-bar-palette-1",
57
57
  "--s-ui-chart-segmented-bar-palette-2",
58
58
  "--s-ui-chart-segmented-bar-palette-3",
@@ -61,7 +61,7 @@ var K = [
61
61
  "--s-ui-chart-segmented-bar-palette-6",
62
62
  "--s-ui-chart-segmented-bar-palette-7",
63
63
  "--s-ui-chart-segmented-bar-palette-8"
64
- ], bn = [
64
+ ], kn = [
65
65
  "--s-ui-chart-segmented-bar-skeleton-palette-1",
66
66
  "--s-ui-chart-segmented-bar-skeleton-palette-2",
67
67
  "--s-ui-chart-segmented-bar-skeleton-palette-3",
@@ -70,51 +70,51 @@ var K = [
70
70
  "--s-ui-chart-segmented-bar-skeleton-palette-6",
71
71
  "--s-ui-chart-segmented-bar-skeleton-palette-7",
72
72
  "--s-ui-chart-segmented-bar-skeleton-palette-8"
73
- ], xn = (e, t, n, r = !1) => _t(e, t, n, r, {
74
- palette: K,
75
- paletteFallback: K[0],
76
- skeletonPalette: bn,
77
- skeletonFallback: bn[0]
78
- }), q = /* @__PURE__ */ function(e) {
73
+ ], An = (e, t, n, r = !1) => bt(e, t, n, r, {
74
+ palette: On,
75
+ paletteFallback: On[0],
76
+ skeletonPalette: kn,
77
+ skeletonFallback: kn[0]
78
+ }), Y = /* @__PURE__ */ function(e) {
79
79
  return e.INFO_ACCENT = "info-accent", e.INFO_NORMAL = "info-normal", e.SUCCESS = "success", e.WARNING = "warning", e.DANGER = "danger", e.BILLING = "billing", e;
80
- }({}), J = /* @__PURE__ */ function(e) {
80
+ }({}), X = /* @__PURE__ */ function(e) {
81
81
  return e.HORIZONTAL = "horizontal", e.VERTICAL = "vertical", e;
82
- }({}), Y = /* @__PURE__ */ function(e) {
82
+ }({}), Z = /* @__PURE__ */ function(e) {
83
83
  return e.ICON = "icon", e.AVATAR = "avatar", e;
84
- }({}), X = /* @__PURE__ */ function(e) {
84
+ }({}), jn = /* @__PURE__ */ function(e) {
85
85
  return e.BANNER = "banner", e.TOAST = "toast", e;
86
- }({}), Sn = {
87
- [q.INFO_ACCENT]: G.infoCircle,
88
- [q.INFO_NORMAL]: G.infoCircle,
89
- [q.SUCCESS]: G.checkCircle,
90
- [q.WARNING]: G.alertCircle,
91
- [q.DANGER]: G.dangerCircleFill,
92
- [q.BILLING]: G.infoCircle
93
- }, Cn = (e, t) => t || Sn[e], wn = ["role"], Tn = { class: "s-ui-notification__body" }, En = {
86
+ }({}), Mn = {
87
+ [Y.INFO_ACCENT]: J.infoCircle,
88
+ [Y.INFO_NORMAL]: J.infoCircle,
89
+ [Y.SUCCESS]: J.checkCircle,
90
+ [Y.WARNING]: J.alertCircle,
91
+ [Y.DANGER]: J.dangerCircleFill,
92
+ [Y.BILLING]: J.infoCircle
93
+ }, Nn = (e, t) => t || Mn[e], Pn = ["role"], Fn = { class: "s-ui-notification__body" }, In = {
94
94
  key: 0,
95
95
  class: "s-ui-notification__leftside"
96
- }, Dn = {
96
+ }, Ln = {
97
97
  key: 0,
98
98
  class: "s-ui-notification__icon"
99
- }, On = { class: "s-ui-notification__content" }, kn = { class: "s-ui-notification__title-row" }, An = {
99
+ }, Rn = { class: "s-ui-notification__content" }, zn = { class: "s-ui-notification__title-row" }, Bn = {
100
100
  key: 0,
101
101
  class: "s-ui-notification__description-block"
102
- }, jn = {
102
+ }, Vn = {
103
103
  key: 0,
104
104
  class: "s-ui-notification__description s-ui-typography-label-12-medium"
105
- }, Mn = {
105
+ }, Hn = {
106
106
  key: 1,
107
107
  class: "s-ui-notification__actions-stack"
108
- }, Nn = {
108
+ }, Un = {
109
109
  key: 1,
110
110
  class: "s-ui-notification__actions-row"
111
- }, Pn = /* @__PURE__ */ F({
111
+ }, Wn = /* @__PURE__ */ L({
112
112
  __name: "SNotification",
113
113
  props: {
114
- type: { default: () => q.INFO_ACCENT },
115
- layout: { default: () => J.HORIZONTAL },
116
- leftside: { default: () => Y.ICON },
117
- surface: { default: () => X.BANNER },
114
+ type: { default: () => Y.INFO_ACCENT },
115
+ layout: { default: () => X.HORIZONTAL },
116
+ leftside: { default: () => Z.ICON },
117
+ surface: { default: () => jn.BANNER },
118
118
  title: {},
119
119
  description: {},
120
120
  linkText: {},
@@ -150,15 +150,15 @@ var K = [
150
150
  "secondaryAction"
151
151
  ],
152
152
  setup(e, { emit: t }) {
153
- let n = t, r = U(), i = k(() => [
153
+ let n = t, r = K(), i = A(() => [
154
154
  `s-ui-notification--type-${e.type}`,
155
155
  `s-ui-notification--layout-${e.layout}`,
156
156
  `s-ui-notification--surface-${e.surface}`,
157
157
  { "s-ui-notification--single-line": p.value }
158
- ]), a = k(() => {
158
+ ]), a = A(() => {
159
159
  let t = {};
160
160
  return e.width && (t.width = typeof e.width == "number" ? `${e.width}px` : e.width), e.maxWidth && (t.maxWidth = typeof e.maxWidth == "number" ? `${e.maxWidth}px` : e.maxWidth), t;
161
- }), s = k(() => e.type === q.DANGER ? "alert" : "status"), l = k(() => Cn(e.type, e.icon)), u = k(() => e.type === q.BILLING), d = k(() => !!(e.leftside === Y.AVATAR && e.avatar || e.leftside === Y.ICON)), f = k(() => !!(e.description || e.linkText || r.description)), p = k(() => e.layout === J.HORIZONTAL && !f.value), m = k(() => e.showPrimaryButton && (e.primaryButtonText || e.secondaryButtonText)), h = k(() => e.showPrimaryButton && (e.primaryButtonText || e.secondaryButtonText) || e.closable), g = k(() => e.type === q.BILLING || e.prominentPrimaryButton ? C.MAJOR : C.OUTLINED), _ = k(() => e.type === q.BILLING ? S.BILLING : S.MAIN), v = () => {
161
+ }), s = A(() => e.type === Y.DANGER ? "alert" : "status"), l = A(() => Nn(e.type, e.icon)), u = A(() => e.type === Y.BILLING), d = A(() => !!(e.leftside === Z.AVATAR && e.avatar || e.leftside === Z.ICON)), f = A(() => !!(e.description || e.linkText || r.description)), p = A(() => e.layout === X.HORIZONTAL && !f.value), m = A(() => e.showPrimaryButton && (e.primaryButtonText || e.secondaryButtonText)), h = A(() => e.showPrimaryButton && (e.primaryButtonText || e.secondaryButtonText) || e.closable), g = A(() => e.type === Y.BILLING || e.prominentPrimaryButton ? w.MAJOR : w.OUTLINED), _ = A(() => e.type === Y.BILLING ? C.BILLING : C.MAIN), v = () => {
162
162
  n("close");
163
163
  }, y = () => {
164
164
  n("linkClick");
@@ -167,35 +167,35 @@ var K = [
167
167
  }, x = () => {
168
168
  n("secondaryAction");
169
169
  };
170
- return (t, n) => (R(), M("div", {
171
- class: I(["s-ui-notification", i.value]),
172
- style: L(a.value),
170
+ return (t, n) => (B(), N("div", {
171
+ class: R(["s-ui-notification", i.value]),
172
+ style: z(a.value),
173
173
  role: s.value
174
- }, [N("div", Tn, [
175
- d.value ? (R(), M("div", En, [e.leftside === H(Y).ICON ? (R(), M("div", Dn, [tn(H(fn), {
174
+ }, [P("div", Fn, [
175
+ d.value ? (B(), N("div", In, [e.leftside === G(Z).ICON ? (B(), N("div", Ln, [I(G(vn), {
176
176
  name: l.value,
177
177
  size: 16,
178
178
  billing: u.value
179
- }, null, 8, ["name", "billing"])])) : e.leftside === H(Y).AVATAR && e.avatar ? (R(), A(H(c), {
179
+ }, null, 8, ["name", "billing"])])) : e.leftside === G(Z).AVATAR && e.avatar ? (B(), j(G(c), {
180
180
  key: 1,
181
181
  name: e.avatar.name,
182
182
  src: e.avatar.src,
183
183
  badge: e.avatar.badge,
184
- size: H(o).SIZE_20,
184
+ size: G(o).SIZE_20,
185
185
  showName: !1
186
186
  }, null, 8, [
187
187
  "name",
188
188
  "src",
189
189
  "badge",
190
190
  "size"
191
- ])) : j("", !0)])) : j("", !0),
192
- N("div", On, [
193
- N("div", kn, [N("span", { class: I(["s-ui-notification__title s-ui-typography-label-14-medium", { "s-ui-notification__title--truncated": e.truncateTitle }]) }, [B(t.$slots, "title", {}, () => [P(V(e.title), 1)])], 2), e.layout === H(J).VERTICAL && e.closable ? (R(), A(H(T), {
191
+ ])) : M("", !0)])) : M("", !0),
192
+ P("div", Rn, [
193
+ P("div", zn, [P("span", { class: R(["s-ui-notification__title s-ui-typography-label-14-medium", { "s-ui-notification__title--truncated": e.truncateTitle }]) }, [U(t.$slots, "title", {}, () => [F(W(e.title), 1)])], 2), e.layout === G(X).VERTICAL && e.closable ? (B(), j(G(E), {
194
194
  key: 0,
195
195
  class: "s-ui-notification__close",
196
- appearance: H(C).BARE,
197
- variant: H(S).NEUTRAL,
198
- size: H(w).SMALL,
196
+ appearance: G(w).BARE,
197
+ variant: G(C).NEUTRAL,
198
+ size: G(T).SMALL,
199
199
  "aria-label": e.closeAriaLabel,
200
200
  icon: "closeMini",
201
201
  onClick: v
@@ -204,87 +204,87 @@ var K = [
204
204
  "variant",
205
205
  "size",
206
206
  "aria-label"
207
- ])) : j("", !0)]),
208
- f.value ? (R(), M("div", An, [e.description || H(r).description ? (R(), M("span", jn, [B(t.$slots, "description", {}, () => [P(V(e.description), 1)])])) : j("", !0), e.linkText ? (R(), A(H(T), {
207
+ ])) : M("", !0)]),
208
+ f.value ? (B(), N("div", Bn, [e.description || G(r).description ? (B(), N("span", Vn, [U(t.$slots, "description", {}, () => [F(W(e.description), 1)])])) : M("", !0), e.linkText ? (B(), j(G(E), {
209
209
  key: 1,
210
210
  class: "s-ui-notification__link",
211
- appearance: H(C).BARE,
212
- variant: H(S).MAIN,
213
- size: H(w).SMALL,
211
+ appearance: G(w).BARE,
212
+ variant: G(C).MAIN,
213
+ size: G(T).SMALL,
214
214
  iconRight: e.linkIconRight,
215
215
  onClick: y
216
216
  }, {
217
- default: W(() => [P(V(e.linkText), 1)]),
217
+ default: q(() => [F(W(e.linkText), 1)]),
218
218
  _: 1
219
219
  }, 8, [
220
220
  "appearance",
221
221
  "variant",
222
222
  "size",
223
223
  "iconRight"
224
- ])) : j("", !0)])) : j("", !0),
225
- e.layout === H(J).VERTICAL && m.value ? (R(), M("div", Mn, [e.showPrimaryButton && e.primaryButtonText ? (R(), A(H(T), {
224
+ ])) : M("", !0)])) : M("", !0),
225
+ e.layout === G(X).VERTICAL && m.value ? (B(), N("div", Hn, [e.showPrimaryButton && e.primaryButtonText ? (B(), j(G(E), {
226
226
  key: 0,
227
227
  appearance: g.value,
228
228
  variant: _.value,
229
- size: H(w).SMALL,
229
+ size: G(T).SMALL,
230
230
  onClick: b
231
231
  }, {
232
- default: W(() => [P(V(e.primaryButtonText), 1)]),
232
+ default: q(() => [F(W(e.primaryButtonText), 1)]),
233
233
  _: 1
234
234
  }, 8, [
235
235
  "appearance",
236
236
  "variant",
237
237
  "size"
238
- ])) : j("", !0), e.showPrimaryButton && e.secondaryButtonText ? (R(), A(H(T), {
238
+ ])) : M("", !0), e.showPrimaryButton && e.secondaryButtonText ? (B(), j(G(E), {
239
239
  key: 1,
240
- appearance: H(C).BARE,
241
- variant: H(S).NEUTRAL,
242
- size: H(w).SMALL,
240
+ appearance: G(w).BARE,
241
+ variant: G(C).NEUTRAL,
242
+ size: G(T).SMALL,
243
243
  onClick: x
244
244
  }, {
245
- default: W(() => [P(V(e.secondaryButtonText), 1)]),
245
+ default: q(() => [F(W(e.secondaryButtonText), 1)]),
246
246
  _: 1
247
247
  }, 8, [
248
248
  "appearance",
249
249
  "variant",
250
250
  "size"
251
- ])) : j("", !0)])) : j("", !0)
251
+ ])) : M("", !0)])) : M("", !0)
252
252
  ]),
253
- e.layout === H(J).HORIZONTAL && h.value ? (R(), M("div", Nn, [
254
- e.showPrimaryButton && e.primaryButtonText ? (R(), A(H(T), {
253
+ e.layout === G(X).HORIZONTAL && h.value ? (B(), N("div", Un, [
254
+ e.showPrimaryButton && e.primaryButtonText ? (B(), j(G(E), {
255
255
  key: 0,
256
256
  appearance: g.value,
257
257
  variant: _.value,
258
- size: H(w).SMALL,
258
+ size: G(T).SMALL,
259
259
  onClick: b
260
260
  }, {
261
- default: W(() => [P(V(e.primaryButtonText), 1)]),
261
+ default: q(() => [F(W(e.primaryButtonText), 1)]),
262
262
  _: 1
263
263
  }, 8, [
264
264
  "appearance",
265
265
  "variant",
266
266
  "size"
267
- ])) : j("", !0),
268
- e.showPrimaryButton && e.secondaryButtonText ? (R(), A(H(T), {
267
+ ])) : M("", !0),
268
+ e.showPrimaryButton && e.secondaryButtonText ? (B(), j(G(E), {
269
269
  key: 1,
270
- appearance: H(C).OUTLINED,
271
- variant: H(S).MAIN,
272
- size: H(w).SMALL,
270
+ appearance: G(w).OUTLINED,
271
+ variant: G(C).MAIN,
272
+ size: G(T).SMALL,
273
273
  onClick: x
274
274
  }, {
275
- default: W(() => [P(V(e.secondaryButtonText), 1)]),
275
+ default: q(() => [F(W(e.secondaryButtonText), 1)]),
276
276
  _: 1
277
277
  }, 8, [
278
278
  "appearance",
279
279
  "variant",
280
280
  "size"
281
- ])) : j("", !0),
282
- e.layout === H(J).HORIZONTAL && e.closable ? (R(), A(H(T), {
281
+ ])) : M("", !0),
282
+ e.layout === G(X).HORIZONTAL && e.closable ? (B(), j(G(E), {
283
283
  key: 2,
284
284
  class: "s-ui-notification__close",
285
- appearance: H(C).BARE,
286
- variant: H(S).NEUTRAL,
287
- size: H(w).SMALL,
285
+ appearance: G(w).BARE,
286
+ variant: G(C).NEUTRAL,
287
+ size: G(T).SMALL,
288
288
  "aria-label": e.closeAriaLabel,
289
289
  icon: "closeMini",
290
290
  onClick: v
@@ -293,16 +293,16 @@ var K = [
293
293
  "variant",
294
294
  "size",
295
295
  "aria-label"
296
- ])) : j("", !0)
297
- ])) : j("", !0)
298
- ])], 14, wn));
296
+ ])) : M("", !0)
297
+ ])) : M("", !0)
298
+ ])], 14, Pn));
299
299
  }
300
- }), Fn = /* @__PURE__ */ F({
300
+ }), Gn = /* @__PURE__ */ L({
301
301
  __name: "SBanner",
302
302
  props: {
303
- type: { default: () => q.INFO_ACCENT },
304
- layout: { default: () => J.HORIZONTAL },
305
- leftside: { default: () => Y.ICON },
303
+ type: { default: () => Y.INFO_ACCENT },
304
+ layout: { default: () => X.HORIZONTAL },
305
+ leftside: { default: () => Z.ICON },
306
306
  elevated: {
307
307
  type: Boolean,
308
308
  default: !1
@@ -341,14 +341,14 @@ var K = [
341
341
  "secondaryAction"
342
342
  ],
343
343
  setup(e, { emit: t }) {
344
- let n = t, r = U(), i = k(() => ({ "s-ui-banner--elevated": e.elevated }));
345
- return (t, a) => (R(), A(Pn, {
346
- class: I(["s-ui-banner", i.value]),
344
+ let n = t, r = K(), i = A(() => ({ "s-ui-banner--elevated": e.elevated }));
345
+ return (t, a) => (B(), j(Wn, {
346
+ class: R(["s-ui-banner", i.value]),
347
347
  "data-qa": "ui:banner",
348
348
  type: e.type,
349
349
  layout: e.layout,
350
350
  leftside: e.leftside,
351
- surface: H(X).BANNER,
351
+ surface: G(jn).BANNER,
352
352
  title: e.title,
353
353
  description: e.description,
354
354
  linkText: e.linkText,
@@ -367,13 +367,13 @@ var K = [
367
367
  onLinkClick: a[1] ||= (e) => n("linkClick"),
368
368
  onPrimaryAction: a[2] ||= (e) => n("primaryAction"),
369
369
  onSecondaryAction: a[3] ||= (e) => n("secondaryAction")
370
- }, en({ _: 2 }, [H(r).title ? {
370
+ }, rn({ _: 2 }, [G(r).title ? {
371
371
  name: "title",
372
- fn: W(() => [B(t.$slots, "title")]),
372
+ fn: q(() => [U(t.$slots, "title")]),
373
373
  key: "0"
374
- } : void 0, H(r).description ? {
374
+ } : void 0, G(r).description ? {
375
375
  name: "description",
376
- fn: W(() => [B(t.$slots, "description")]),
376
+ fn: q(() => [U(t.$slots, "description")]),
377
377
  key: "1"
378
378
  } : void 0]), 1032, [
379
379
  "class",
@@ -397,12 +397,12 @@ var K = [
397
397
  "truncateTitle"
398
398
  ]));
399
399
  }
400
- }), In = /* @__PURE__ */ F({
400
+ }), Kn = /* @__PURE__ */ L({
401
401
  __name: "SToast",
402
402
  props: {
403
- type: { default: () => q.INFO_ACCENT },
404
- layout: { default: () => J.HORIZONTAL },
405
- leftside: { default: () => Y.ICON },
403
+ type: { default: () => Y.INFO_ACCENT },
404
+ layout: { default: () => X.HORIZONTAL },
405
+ leftside: { default: () => Z.ICON },
406
406
  title: {},
407
407
  description: {},
408
408
  linkText: {},
@@ -432,14 +432,14 @@ var K = [
432
432
  "secondaryAction"
433
433
  ],
434
434
  setup(e, { emit: t }) {
435
- let n = t, r = U(), i = k(() => e.width ?? 360);
436
- return (t, a) => (R(), A(Pn, {
435
+ let n = t, r = K(), i = A(() => e.width ?? 360);
436
+ return (t, a) => (B(), j(Wn, {
437
437
  class: "s-ui-toast",
438
438
  "data-qa": "ui:toast",
439
439
  type: e.type,
440
440
  layout: e.layout,
441
441
  leftside: e.leftside,
442
- surface: H(X).TOAST,
442
+ surface: G(jn).TOAST,
443
443
  title: e.title,
444
444
  description: e.description,
445
445
  linkText: e.linkText,
@@ -456,13 +456,13 @@ var K = [
456
456
  onLinkClick: a[1] ||= (e) => n("linkClick"),
457
457
  onPrimaryAction: a[2] ||= (e) => n("primaryAction"),
458
458
  onSecondaryAction: a[3] ||= (e) => n("secondaryAction")
459
- }, en({ _: 2 }, [H(r).title ? {
459
+ }, rn({ _: 2 }, [G(r).title ? {
460
460
  name: "title",
461
- fn: W(() => [B(t.$slots, "title")]),
461
+ fn: q(() => [U(t.$slots, "title")]),
462
462
  key: "0"
463
- } : void 0, H(r).description ? {
463
+ } : void 0, G(r).description ? {
464
464
  name: "description",
465
- fn: W(() => [B(t.$slots, "description")]),
465
+ fn: q(() => [U(t.$slots, "description")]),
466
466
  key: "1"
467
467
  } : void 0]), 1032, [
468
468
  "type",
@@ -483,13 +483,13 @@ var K = [
483
483
  "truncateTitle"
484
484
  ]));
485
485
  }
486
- }), Ln = .05, Rn = [
486
+ }), qn = .05, Jn = [
487
487
  "data-mounted",
488
488
  "data-front",
489
489
  "data-expanded",
490
490
  "data-removed",
491
491
  "data-visible"
492
- ], zn = /* @__PURE__ */ F({
492
+ ], Yn = /* @__PURE__ */ L({
493
493
  __name: "SToastProviderToast",
494
494
  props: {
495
495
  index: {},
@@ -502,7 +502,7 @@ var K = [
502
502
  },
503
503
  emits: ["heightChange"],
504
504
  setup(e, { emit: t }) {
505
- let n = t, r = z(null), i = z(0), a = z(!1), o = k(() => e.index === 0), s = k(() => 1 - e.index * Ln), c = k(() => ({
505
+ let n = t, r = V(null), i = V(0), a = V(!1), o = A(() => e.index === 0), s = A(() => 1 - e.index * qn), c = A(() => ({
506
506
  "--s-ui-toast-provider-toasts-before": String(e.index),
507
507
  "--s-ui-toast-provider-lift-amount": `${e.stackPeek * -1}px`,
508
508
  "--s-ui-toast-provider-front-toast-height": `${e.frontToastHeight}px`,
@@ -511,95 +511,95 @@ var K = [
511
511
  "--s-ui-toast-provider-stack-scale": String(s.value),
512
512
  zIndex: String(1e3 - e.index)
513
513
  }));
514
- return yn(r, (e) => {
514
+ return Dn(r, (e) => {
515
515
  let t = e[0]?.contentRect.height ?? 0;
516
516
  t !== i.value && (i.value = t, n("heightChange", t));
517
- }), an(() => {
517
+ }), sn(() => {
518
518
  requestAnimationFrame(() => {
519
519
  requestAnimationFrame(() => {
520
520
  a.value = !0;
521
521
  });
522
522
  });
523
- }), (t, n) => (R(), M("div", {
523
+ }), (t, n) => (B(), N("div", {
524
524
  class: "s-ui-toast-provider__toast",
525
525
  "data-mounted": a.value,
526
526
  "data-front": o.value,
527
527
  "data-expanded": e.expanded,
528
528
  "data-removed": e.removed,
529
529
  "data-visible": e.visible,
530
- style: L(c.value)
531
- }, [N("div", {
530
+ style: z(c.value)
531
+ }, [P("div", {
532
532
  ref_key: "contentRef",
533
533
  ref: r,
534
534
  class: "s-ui-toast-provider__toast-content"
535
- }, [B(t.$slots, "default")], 512)], 12, Rn));
535
+ }, [U(t.$slots, "default")], 512)], 12, Jn));
536
536
  }
537
- }), Bn = 4e3, Vn = 1e4, Hn = 50, Un = (e, t) => {
538
- let n = Bn + (e.length + (t?.length ?? 0)) * 50;
539
- return n > 1e4 ? Vn : n;
540
- }, Z = cn([]), Q = /* @__PURE__ */ new Map(), Wn = 0, Gn = {
541
- type: q.INFO_ACCENT,
542
- layout: J.HORIZONTAL,
543
- leftside: Y.ICON,
537
+ }), Xn = 4e3, Zn = 1e4, Qn = 50, $n = (e, t) => {
538
+ let n = Xn + (e.length + (t?.length ?? 0)) * 50;
539
+ return n > 1e4 ? Zn : n;
540
+ }, Q = ln([]), $ = /* @__PURE__ */ new Map(), er = 0, tr = {
541
+ type: Y.INFO_ACCENT,
542
+ layout: X.HORIZONTAL,
543
+ leftside: Z.ICON,
544
544
  showPrimaryButton: !1,
545
545
  closable: !0
546
- }, Kn = () => `toast-${Date.now()}-${++Wn}`, $ = (e) => {
547
- let t = Q.get(e);
548
- t && (window.clearTimeout(t), Q.delete(e));
549
- }, qn = (e) => {
550
- $(e.id);
551
- let t = e.duration === void 0 ? Un(e.title, e.description) : e.duration;
546
+ }, nr = () => `toast-${Date.now()}-${++er}`, rr = (e) => {
547
+ let t = $.get(e);
548
+ t && (window.clearTimeout(t), $.delete(e));
549
+ }, ir = (e) => {
550
+ rr(e.id);
551
+ let t = e.duration === void 0 ? $n(e.title, e.description) : e.duration;
552
552
  if (t > 0) {
553
553
  let n = window.setTimeout(() => {
554
- Jn(e.id);
554
+ ar(e.id);
555
555
  }, t);
556
- Q.set(e.id, n);
556
+ $.set(e.id, n);
557
557
  }
558
- }, Jn = (e) => {
559
- let t = Z.value.findIndex((t) => t.id === e);
558
+ }, ar = (e) => {
559
+ let t = Q.value.findIndex((t) => t.id === e);
560
560
  if (t === -1) return;
561
- let n = Z.value[t];
562
- n && ($(e), n.onClose && n.onClose(), Z.value = Z.value.filter((t) => t.id !== e));
563
- }, Yn = () => {
564
- Q.forEach((e) => window.clearTimeout(e)), Q.clear(), Z.value = [];
565
- }, Xn = (e) => e.length <= 3 ? e : (e.slice(3).forEach((e) => {
566
- $(e.id);
567
- }), e.slice(0, 3)), Zn = (e) => {
568
- let t = e.id ?? Kn(), n = {
569
- ...Gn,
561
+ let n = Q.value[t];
562
+ n && (rr(e), n.onClose && n.onClose(), Q.value = Q.value.filter((t) => t.id !== e));
563
+ }, or = () => {
564
+ $.forEach((e) => window.clearTimeout(e)), $.clear(), Q.value = [];
565
+ }, sr = (e) => e.length <= 3 ? e : (e.slice(3).forEach((e) => {
566
+ rr(e.id);
567
+ }), e.slice(0, 3)), cr = (e) => {
568
+ let t = e.id ?? nr(), n = {
569
+ ...tr,
570
570
  ...e,
571
571
  id: t
572
- }, r = Z.value.findIndex((e) => e.id === t);
572
+ }, r = Q.value.findIndex((e) => e.id === t);
573
573
  if (r > -1) {
574
- let e = [...Z.value];
575
- e[r] = n, Z.value = Xn(e);
576
- } else Z.value = Xn([n, ...Z.value]);
577
- return qn(n), t;
578
- }, Qn = (e, t) => {
579
- let n = Z.value.findIndex((t) => t.id === e);
574
+ let e = [...Q.value];
575
+ e[r] = n, Q.value = sr(e);
576
+ } else Q.value = sr([n, ...Q.value]);
577
+ return ir(n), t;
578
+ }, lr = (e, t) => {
579
+ let n = Q.value.findIndex((t) => t.id === e);
580
580
  if (n === -1) return;
581
- let r = Z.value[n];
581
+ let r = Q.value[n];
582
582
  if (!r) return;
583
583
  let i = {
584
584
  ...r,
585
585
  ...t,
586
586
  id: r.id
587
- }, a = [...Z.value];
588
- a[n] = i, Z.value = a, qn(i);
589
- }, $n = () => ({
590
- toasts: Z,
591
- show: Zn,
592
- hide: Jn,
593
- hideAll: Yn,
594
- update: Qn
595
- }), er = /* @__PURE__ */ F({
587
+ }, a = [...Q.value];
588
+ a[n] = i, Q.value = a, ir(i);
589
+ }, ur = () => ({
590
+ toasts: Q,
591
+ show: cr,
592
+ hide: ar,
593
+ hideAll: or,
594
+ update: lr
595
+ }), dr = /* @__PURE__ */ L({
596
596
  __name: "SToastProvider",
597
597
  setup(e) {
598
- let { toasts: t, hide: n } = $n(), r = k(() => t.value.slice(0, 3)), i = z(!1), a = cn({}), o = z(/* @__PURE__ */ new Set()), s = k(() => t.value[0] ?? null), c = k(() => s.value ? a.value[s.value.id] ?? 0 : 0), l = z(0), u = k(() => c.value > 0 ? c.value : l.value);
599
- dn(c, (e) => {
598
+ let { toasts: t, hide: n } = ur(), r = A(() => t.value.slice(0, 3)), i = V(!1), a = ln({}), o = V(/* @__PURE__ */ new Set()), s = A(() => t.value[0] ?? null), c = A(() => s.value ? a.value[s.value.id] ?? 0 : 0), l = V(0), u = A(() => c.value > 0 ? c.value : l.value);
599
+ pn(c, (e) => {
600
600
  e > 0 && (l.value = e);
601
601
  });
602
- let d = k(() => {
602
+ let d = A(() => {
603
603
  if (r.value.length === 0) return {};
604
604
  if (i.value) return { height: `${r.value.reduce((e, t, n) => {
605
605
  let r = a.value[t.id] ?? 0, i = n > 0 ? 4 : 0;
@@ -638,32 +638,32 @@ var K = [
638
638
  }, b = (e) => {
639
639
  e.onSecondaryAction && e.onSecondaryAction();
640
640
  };
641
- return (e, t) => (R(), A($t, { to: "body" }, [N("div", {
641
+ return (e, t) => (B(), j(nn, { to: "body" }, [P("div", {
642
642
  class: "s-ui-toast-provider",
643
643
  onMouseenter: m,
644
644
  onMouseleave: h
645
- }, [r.value.length > 0 ? (R(), M("div", {
645
+ }, [r.value.length > 0 ? (B(), N("div", {
646
646
  key: 0,
647
647
  class: "s-ui-toast-provider__list",
648
- style: L(d.value)
649
- }, [(R(!0), M(Qt, null, on(r.value, (t, n) => (R(), A(zn, {
648
+ style: z(d.value)
649
+ }, [(B(!0), N(k, null, H(r.value, (t, n) => (B(), j(Yn, {
650
650
  key: t.id,
651
651
  index: n,
652
652
  expanded: i.value,
653
653
  "front-toast-height": u.value,
654
- "stack-peek": H(10),
654
+ "stack-peek": G(10),
655
655
  removed: p(t.id),
656
- visible: n < H(3),
656
+ visible: n < G(3),
657
657
  "offset-y": f(n),
658
658
  onHeightChange: (e) => g(t.id, e)
659
659
  }, {
660
- default: W(() => [B(e.$slots, "toast", { toast: t }, () => [t.component ? (R(), A(sn(t.component), rn({
660
+ default: q(() => [U(e.$slots, "toast", { toast: t }, () => [t.component ? (B(), j(cn(t.component), on({
661
661
  key: 0,
662
662
  ref_for: !0
663
663
  }, t.componentProps, {
664
664
  toast: t,
665
665
  onClose: (e) => _(t.id)
666
- }), null, 16, ["toast", "onClose"])) : (R(), A(H(In), {
666
+ }), null, 16, ["toast", "onClose"])) : (B(), j(G(Kn), {
667
667
  key: 1,
668
668
  type: t.type,
669
669
  layout: t.layout,
@@ -715,12 +715,12 @@ var K = [
715
715
  "visible",
716
716
  "offset-y",
717
717
  "onHeightChange"
718
- ]))), 128))], 4)) : j("", !0)], 32)]));
718
+ ]))), 128))], 4)) : M("", !0)], 32)]));
719
719
  }
720
- }), tr = 4, nr = 4, rr = 1, ir = "400 12px var(--s-ui-font-family-label)", ar = 4, or = (e, t, n, r, i, a) => {
720
+ }), fr = 4, pr = 4, mr = 1, hr = "400 12px var(--s-ui-font-family-label)", gr = 4, _r = .5, vr = (e, t, n, r, i, a) => {
721
721
  let o = Math.min(a, r / 2, i / 2);
722
722
  e.beginPath(), e.moveTo(t + o, n), e.lineTo(t + r - o, n), e.arcTo(t + r, n, t + r, n + o, o), e.lineTo(t + r, n + i - o), e.arcTo(t + r, n + i, t + r - o, n + i, o), e.lineTo(t + o, n + i), e.arcTo(t, n + i, t, n + i - o, o), e.lineTo(t, n + o), e.arcTo(t, n, t + o, n, o), e.closePath();
723
- }, sr = (e) => {
723
+ }, yr = (e) => {
724
724
  let t = e.getProps([
725
725
  "x",
726
726
  "y",
@@ -731,39 +731,42 @@ var K = [
731
731
  width: Math.abs(n - i),
732
732
  centerY: r
733
733
  };
734
- }, cr = (e, t, n, r, i) => {
735
- let a = sr(t);
734
+ }, br = (e, t, n, r, i) => {
735
+ let a = yr(t);
736
736
  if (!a) return;
737
- let o = i ? i(n) : `${n}`, s = e.measureText(o).width + tr * 2;
738
- if (a.width < s + ar * 2) return;
737
+ let o = i ? i(n) : `${n}`, s = e.measureText(o).width + fr * 2;
738
+ if (a.width < s + gr * 2) return;
739
739
  let c = a.left + a.width / 2;
740
- or(e, c - s / 2, a.centerY - 20 / 2, s, 20, nr), e.fillStyle = r.background, e.fill(), e.lineWidth = rr, e.strokeStyle = r.border, e.stroke(), e.fillStyle = r.text, e.fillText(o, c, a.centerY);
741
- }, lr = (e, t) => ({
740
+ vr(e, c - s / 2, a.centerY - 20 / 2, s, 20, pr), e.fillStyle = r.background, e.fill(), e.lineWidth = mr, e.strokeStyle = r.border, e.stroke(), e.fillStyle = r.text, e.fillText(o, c, a.centerY);
741
+ }, xr = (e, t) => ({
742
742
  id: "segmentedBarBadge",
743
743
  afterDatasetsDraw(n) {
744
744
  let r = {
745
- background: D(O.pieBadgeBackground, e),
746
- border: D(O.pieBadgeBorder, e),
747
- text: D(O.pieBadgeText, e)
745
+ background: O(D.pieBadgeBackground, e),
746
+ border: O(D.pieBadgeBorder, e),
747
+ text: O(D.pieBadgeText, e)
748
748
  }, { ctx: i } = n;
749
- i.save(), i.font = ir, i.textAlign = "center", i.textBaseline = "middle", n.data.datasets.forEach((e, a) => {
750
- let o = n.getDatasetMeta(a)?.data[0], s = e.data[0];
751
- o && typeof s == "number" && s > 0 && cr(i, o, s, r, t);
749
+ i.save(), i.font = hr, i.textAlign = "center", i.textBaseline = "middle";
750
+ let a = dt(n);
751
+ n.data.datasets.forEach((e, o) => {
752
+ let s = n.getDatasetMeta(o)?.data[0], c = e.data[0];
753
+ s && typeof c == "number" && c > 0 && (i.globalAlpha = a !== null && a.datasetIndex !== o ? _r : 1, br(i, s, c, r, t));
752
754
  }), i.restore();
753
755
  }
754
- }), ur = 40, dr = 4, fr = 1, pr = [
756
+ }), Sr = 40, Cr = 4, wr = 1, Tr = [
755
757
  "mousemove",
756
758
  "mouseout",
757
759
  "click",
758
760
  "touchstart",
759
761
  "touchmove"
760
- ], mr = ({ segments: e, segmentColors: t, colorHostElement: n, skeleton: r = !1, formatValue: i, onSegmentClick: a }) => {
762
+ ], Er = ({ segments: e, segmentColors: t, colorHostElement: n, skeleton: r = !1, formatValue: i, onSegmentClick: a, onSegmentHover: o, resolveTooltipLines: s }) => {
761
763
  if (e.length === 0) return null;
762
- let o = D("--s-ui-color-surface-primary", n), s = e.reduce((e, t) => e + t.value, 0), c = mt({
764
+ let c = O("--s-ui-color-surface-primary", n), l = e.reduce((e, t) => e + t.value, 0), u = mt({
763
765
  kind: "series",
764
766
  skeleton: r,
765
767
  colorHostElement: n,
766
- onIndexClick: a
768
+ onIndexClick: a,
769
+ onHoverIndexChange: o
767
770
  });
768
771
  return {
769
772
  type: "bar",
@@ -774,14 +777,14 @@ var K = [
774
777
  data: [e.value],
775
778
  backgroundColor: t[n],
776
779
  hoverBackgroundColor: t[n],
777
- borderColor: o,
780
+ borderColor: c,
778
781
  borderWidth: {
779
- left: fr,
780
- right: fr
782
+ left: wr,
783
+ right: wr
781
784
  },
782
785
  borderSkipped: !1,
783
- borderRadius: dr,
784
- barThickness: ur,
786
+ borderRadius: Cr,
787
+ barThickness: Sr,
785
788
  stack: "track"
786
789
  }))
787
790
  },
@@ -790,24 +793,34 @@ var K = [
790
793
  responsive: !0,
791
794
  maintainAspectRatio: !1,
792
795
  layout: { padding: 0 },
793
- events: r ? [] : pr,
794
- onHover: c.onHover,
795
- onClick: c.onClick,
796
+ events: r ? [] : Tr,
797
+ onHover: u.onHover,
798
+ onClick: u.onClick,
796
799
  hover: r ? void 0 : {
797
800
  mode: "nearest",
798
801
  intersect: !0
799
802
  },
800
- elements: r ? void 0 : { bar: { hoverBorderColor: o } },
803
+ elements: r ? void 0 : { bar: { hoverBorderColor: c } },
801
804
  plugins: {
802
805
  legend: { display: !1 },
803
- tooltip: { enabled: !1 }
806
+ tooltip: {
807
+ enabled: !r && s !== void 0,
808
+ backgroundColor: O(D.tooltipBackground, n),
809
+ titleColor: O(D.tooltipText, n),
810
+ bodyColor: O(D.tooltipText, n),
811
+ displayColors: !1,
812
+ callbacks: {
813
+ title: () => "",
814
+ label: (e) => s?.(e.datasetIndex) ?? []
815
+ }
816
+ }
804
817
  },
805
818
  scales: {
806
819
  x: {
807
820
  display: !1,
808
821
  stacked: !0,
809
822
  min: 0,
810
- max: s
823
+ max: l
811
824
  },
812
825
  y: {
813
826
  display: !1,
@@ -815,9 +828,9 @@ var K = [
815
828
  }
816
829
  }
817
830
  },
818
- plugins: [...r ? [] : [lr(n, i)], ...c.plugins]
831
+ plugins: [...r ? [] : [xr(n, i)], ...u.plugins]
819
832
  };
820
- }, hr = [
833
+ }, Dr = [
821
834
  4,
822
835
  1,
823
836
  2,
@@ -829,9 +842,9 @@ var K = [
829
842
  ].map((e, t) => ({
830
843
  label: `Series ${t + 1}`,
831
844
  value: e
832
- })), gr = { class: "s-ui-chart-segmented-bar__canvas-wrap" }, _r = /* @__PURE__ */ F({
845
+ })), Or = /* @__PURE__ */ L({
833
846
  __name: "SChartSegmentedBar",
834
- props: {
847
+ props: /*@__PURE__*/ an({
835
848
  segments: { default: () => [] },
836
849
  showLegend: {
837
850
  type: Boolean,
@@ -841,91 +854,133 @@ var K = [
841
854
  type: Boolean,
842
855
  default: !1
843
856
  },
844
- formatValue: { type: Function }
845
- },
846
- emits: ["segmentClick"],
857
+ formatValue: { type: Function },
858
+ selectable: {
859
+ type: Boolean,
860
+ default: !1
861
+ },
862
+ multiple: {
863
+ type: Boolean,
864
+ default: !1
865
+ },
866
+ legendSize: { default: () => _t.SMALL },
867
+ formatTooltip: { type: Function }
868
+ }, {
869
+ selectedIndex: { default: null },
870
+ selectedIndexModifiers: {},
871
+ selectedIndexes: { default: () => [] },
872
+ selectedIndexesModifiers: {}
873
+ }),
874
+ emits: /*@__PURE__*/ an(["segmentClick"], ["update:selectedIndex", "update:selectedIndexes"]),
847
875
  setup(e, { expose: t, emit: n }) {
848
- let r = n, i = dt, a = un("chartRootRef"), o = un("chartCanvasRef"), s = k(() => e.loading ? hr : e.segments), c = k(() => s.value.map((t, n) => xn(n, a.value, t.fillColor, e.loading))), l = k(() => s.value.map((e, t) => ({
876
+ let r = dn(e, "selectedIndex"), i = dn(e, "selectedIndexes"), a = n, o = ut, s = fn("chartRootRef"), c = fn("chartCanvasRef"), l = A(() => e.loading ? Dr : e.segments), u = A(() => l.value.map((t, n) => An(n, s.value, t.fillColor, e.loading))), d = A(() => l.value.map((e, t) => ({
849
877
  segment: e,
850
878
  segmentIndex: t
851
- })).filter(({ segment: e }) => e.value > 0)), u = k(() => l.value.map(({ segment: e }) => e)), d = k(() => l.value.map(({ segmentIndex: e }) => c.value[e] ?? "")), f = k(() => {
879
+ })).filter(({ segment: e }) => e.value > 0)), f = A(() => d.value.map(({ segment: e }) => e)), p = A(() => d.value.map(({ segmentIndex: e }) => _.value && !i.value.includes(e) ? pt(s.value) : u.value[e] ?? "")), m = A(() => {
852
880
  let e = /* @__PURE__ */ new Map();
853
- return l.value.forEach(({ segmentIndex: t }, n) => {
881
+ return d.value.forEach(({ segmentIndex: t }, n) => {
854
882
  e.set(t, n);
855
883
  }), e;
856
- }), p = (e) => {
857
- let t = l.value[e];
858
- t && r("segmentClick", t.segmentIndex, t.segment);
859
- }, m = wt("onSegmentClick"), h = k(() => mr({
860
- segments: u.value,
861
- segmentColors: d.value,
862
- colorHostElement: a.value,
884
+ }), h = V(null), g = (t) => {
885
+ if (e.multiple) {
886
+ i.value = i.value.includes(t) ? i.value.filter((e) => e !== t) : [...i.value, t];
887
+ return;
888
+ }
889
+ r.value = r.value === t ? null : t;
890
+ }, _ = A(() => e.selectable && e.multiple && i.value.length > 0), v = (t) => {
891
+ let n = d.value[t];
892
+ n && (a("segmentClick", n.segmentIndex, n.segment), e.selectable && g(n.segmentIndex));
893
+ }, y = (e) => {
894
+ h.value = e === null ? null : d.value[e]?.segmentIndex ?? null;
895
+ }, b = Ot("onSegmentClick"), x = (t) => {
896
+ let n = d.value[t];
897
+ return n && e.formatTooltip ? e.formatTooltip(n.segment, n.segmentIndex) : [];
898
+ }, ee = A(() => e.selectable ? e.multiple ? h.value : h.value ?? r.value : null), S = A(() => _.value && h.value === null ? i.value : []), C = A(() => Er({
899
+ segments: f.value,
900
+ segmentColors: p.value,
901
+ colorHostElement: s.value,
863
902
  skeleton: e.loading,
864
903
  formatValue: e.formatValue,
865
- onSegmentClick: m() ? p : void 0
866
- })), g = k(() => s.value.map((e, t) => ({
904
+ onSegmentClick: e.selectable || b() ? v : void 0,
905
+ onSegmentHover: e.selectable ? y : void 0,
906
+ resolveTooltipLines: e.formatTooltip ? x : void 0
907
+ })), w = A(() => l.value.map((e, t) => ({
867
908
  label: e.label,
868
- color: c.value[t] ?? ""
869
- }))), { chartInstance: _ } = pt({
870
- canvasRef: o,
871
- config: h,
872
- enabled: k(() => e.loading || u.value.length > 0)
873
- }), { exportImage: v, handleLegendItemHover: y } = ht({
874
- chartInstance: _,
875
- canvasRef: o,
876
- colorHostElement: a
877
- }), b = (e) => {
878
- y(e === null ? null : f.value.get(e) ?? null);
909
+ color: u.value[t] ?? ""
910
+ }))), { chartInstance: T } = ft({
911
+ canvasRef: c,
912
+ config: C,
913
+ enabled: A(() => e.loading || f.value.length > 0)
914
+ }), { exportImage: E, handleLegendItemHover: te, pinElement: ne } = ht({
915
+ chartInstance: T,
916
+ canvasRef: c,
917
+ colorHostElement: s
918
+ }), re = (e) => e === null ? null : m.value.get(e) ?? null, ie = (t) => {
919
+ e.selectable && (h.value = t), te(re(t));
879
920
  };
880
- return t({ exportImage: v }), (t, n) => (R(), M("div", {
921
+ return pn([T, r], () => {
922
+ e.selectable && !e.loading && ne(re(r.value));
923
+ }), t({ exportImage: E }), (t, n) => (B(), N("div", {
881
924
  ref_key: "chartRootRef",
882
- ref: a,
883
- class: I(["s-ui-chart-segmented-bar", { "s-ui-chart-segmented-bar--skeleton": e.loading }]),
925
+ ref: s,
926
+ class: R(["s-ui-chart-segmented-bar", { "s-ui-chart-segmented-bar--skeleton": e.loading }]),
884
927
  "data-qa": "ui:chart-segmented-bar"
885
- }, [N("div", gr, [tn(H(ft), {
928
+ }, [P("div", {
929
+ class: "s-ui-chart-segmented-bar__canvas-wrap",
930
+ onMouseleave: n[0] ||= (e) => y(null)
931
+ }, [I(G(gt), {
886
932
  loading: e.loading,
887
- type: H(i).CARTESIAN
933
+ type: G(o).CARTESIAN
888
934
  }, {
889
- default: W(() => [N("canvas", {
935
+ default: q(() => [P("canvas", {
890
936
  ref_key: "chartCanvasRef",
891
- ref: o,
937
+ ref: c,
892
938
  class: "s-ui-chart-segmented-bar__canvas"
893
939
  }, null, 512)]),
894
940
  _: 1
895
- }, 8, ["loading", "type"])]), e.showLegend && g.value.length ? (R(), A(H(E), {
941
+ }, 8, ["loading", "type"])], 32), e.showLegend && w.value.length ? (B(), j(G(vt), {
896
942
  key: 0,
897
- items: g.value,
943
+ items: w.value,
898
944
  disabled: e.loading,
899
945
  interactive: !e.loading,
900
- onItemHover: b
946
+ size: e.legendSize,
947
+ selectable: e.selectable && !e.loading,
948
+ "active-index": ee.value,
949
+ "active-indexes": S.value,
950
+ onItemHover: ie,
951
+ onItemClick: g
901
952
  }, null, 8, [
902
953
  "items",
903
954
  "disabled",
904
- "interactive"
905
- ])) : j("", !0)], 2));
955
+ "interactive",
956
+ "size",
957
+ "selectable",
958
+ "active-index",
959
+ "active-indexes"
960
+ ])) : M("", !0)], 2));
906
961
  }
907
- }), vr = {
962
+ }), kr = {
908
963
  key: 0,
909
964
  class: "s-ui-chart-widget__header"
910
- }, yr = {
965
+ }, Ar = {
911
966
  key: 0,
912
967
  class: "s-ui-chart-widget__title-skeleton",
913
968
  "aria-hidden": "true"
914
- }, br = {
969
+ }, jr = {
915
970
  key: 1,
916
971
  class: "s-ui-chart-widget__heading"
917
- }, xr = { class: "s-ui-chart-widget__title s-ui-typography-label-16-medium" }, Sr = {
972
+ }, Mr = { class: "s-ui-chart-widget__title s-ui-typography-label-16-medium" }, Nr = {
918
973
  key: 0,
919
974
  class: "s-ui-chart-widget__subtitle s-ui-typography-body-12-regular"
920
- }, Cr = { class: "s-ui-chart-widget__controls" }, wr = {
975
+ }, Pr = { class: "s-ui-chart-widget__controls" }, Fr = {
921
976
  key: 1,
922
977
  class: "s-ui-chart-widget__content"
923
- }, Tr = {
978
+ }, Ir = {
924
979
  key: 2,
925
980
  class: "s-ui-chart-widget__footer"
926
- }, Er = /* @__PURE__ */ F({
981
+ }, Lr = /* @__PURE__ */ L({
927
982
  __name: "SChartWidget",
928
- props: /*@__PURE__*/ nn({
983
+ props: /*@__PURE__*/ an({
929
984
  title: { default: "" },
930
985
  subtitle: { default: "" },
931
986
  collapsible: {
@@ -949,17 +1004,17 @@ var K = [
949
1004
  }),
950
1005
  emits: ["update:collapsed"],
951
1006
  setup(e) {
952
- let t = ln(e, "collapsed"), n = U(), { t: r } = vn(), i = k(() => !!e.subtitle || !!n.subtitle), a = k(() => !!e.title || !!n.title || i.value || !!n.actions || e.collapsible), o = k(() => !!n.footer), s = k(() => !t.value || !e.collapsible || !e.hideContentWhenCollapsed), c = k(() => r(t.value ? "chartWidget.expand" : "chartWidget.collapse"));
953
- return (n, r) => (R(), M("div", {
954
- class: I(["s-ui-chart-widget", { "s-ui-chart-widget--skeleton": e.loading }]),
1007
+ let t = dn(e, "collapsed"), n = K(), { t: r } = En(), i = A(() => !!e.subtitle || !!n.subtitle), a = A(() => !!e.title || !!n.title || i.value || !!n.actions || e.collapsible), o = A(() => !!n.footer), s = A(() => !t.value || !e.collapsible || !e.hideContentWhenCollapsed), c = A(() => r(t.value ? "chartWidget.expand" : "chartWidget.collapse"));
1008
+ return (n, r) => (B(), N("div", {
1009
+ class: R(["s-ui-chart-widget", { "s-ui-chart-widget--skeleton": e.loading }]),
955
1010
  "data-qa": "ui:chart-widget"
956
1011
  }, [
957
- a.value ? (R(), M("div", vr, [e.loading ? (R(), M("span", yr)) : (R(), M("span", br, [N("span", xr, [B(n.$slots, "title", {}, () => [P(V(e.title), 1)])]), i.value ? (R(), M("span", Sr, [B(n.$slots, "subtitle", {}, () => [P(V(e.subtitle), 1)])])) : j("", !0)])), N("div", Cr, [B(n.$slots, "actions"), e.collapsible ? (R(), A(H(T), {
1012
+ a.value ? (B(), N("div", kr, [e.loading ? (B(), N("span", Ar)) : (B(), N("span", jr, [P("span", Mr, [U(n.$slots, "title", {}, () => [F(W(e.title), 1)])]), i.value ? (B(), N("span", Nr, [U(n.$slots, "subtitle", {}, () => [F(W(e.subtitle), 1)])])) : M("", !0)])), P("div", Pr, [U(n.$slots, "actions"), e.collapsible ? (B(), j(G(E), {
958
1013
  key: 0,
959
- appearance: H(C).OUTLINED,
960
- variant: H(S).NEUTRAL,
961
- size: H(w).SMALL,
962
- icon: t.value ? H(G).chevronDown : H(G).chevronUp,
1014
+ appearance: G(w).OUTLINED,
1015
+ variant: G(C).NEUTRAL,
1016
+ size: G(T).SMALL,
1017
+ icon: t.value ? G(J).chevronDown : G(J).chevronUp,
963
1018
  "aria-label": c.value,
964
1019
  "aria-expanded": !t.value,
965
1020
  onClick: r[0] ||= (e) => t.value = !t.value
@@ -970,11 +1025,222 @@ var K = [
970
1025
  "icon",
971
1026
  "aria-label",
972
1027
  "aria-expanded"
973
- ])) : j("", !0)])])) : j("", !0),
974
- s.value ? (R(), M("div", wr, [B(n.$slots, "default")])) : j("", !0),
975
- o.value ? (R(), M("div", Tr, [B(n.$slots, "footer")])) : j("", !0)
1028
+ ])) : M("", !0)])])) : M("", !0),
1029
+ s.value ? (B(), N("div", Fr, [U(n.$slots, "default")])) : M("", !0),
1030
+ o.value ? (B(), N("div", Ir, [U(n.$slots, "footer")])) : M("", !0)
976
1031
  ], 2));
977
1032
  }
1033
+ }), Rr = /* @__PURE__ */ function(e) {
1034
+ return e.UNDONE = "undone", e.GENERATED = "generated", e.ON_PLAN = "on-plan", e.RISK = "risk", e.DEVIATED = "deviated", e.ON_PAUSE = "on-pause", e.DONE = "done", e;
1035
+ }({}), zr = /^(\d{4})-(\d{2})-(\d{2})/, Br = (e) => {
1036
+ if (e instanceof Date) return Number.isNaN(e.getTime()) ? null : {
1037
+ year: e.getFullYear(),
1038
+ month: e.getMonth(),
1039
+ day: e.getDate()
1040
+ };
1041
+ let t = zr.exec(e);
1042
+ return t ? {
1043
+ year: Number(t[1]),
1044
+ month: Number(t[2]) - 1,
1045
+ day: Number(t[3])
1046
+ } : null;
1047
+ }, Vr = (e, t) => new Date(e, t + 1, 0).getDate(), Hr = 12, Ur = (e, t, n = !1) => {
1048
+ if (e.year < t) return 0;
1049
+ if (e.year > t) return 100;
1050
+ let r = Vr(e.year, e.month), i = n ? e.day : e.day - 1;
1051
+ return (e.month + i / r) / Hr * 100;
1052
+ }, Wr = (e) => {
1053
+ let t = new Intl.DateTimeFormat(e, { month: "long" });
1054
+ return Array.from({ length: Hr }, (n, r) => {
1055
+ let i = t.format(new Date(2e3, r, 1));
1056
+ return i.charAt(0).toLocaleUpperCase(e) + i.slice(1);
1057
+ });
1058
+ }, Gr = (e) => Math.min(100, Math.max(0, e)), Kr = (e, t, n, r, i) => e.flatMap((e) => {
1059
+ let a = Br(e.date);
1060
+ if (!a || a.year !== n) return [];
1061
+ let o = Ur(a, n, !0), s = i > 0 ? Gr((o - r) / i * 100) : 0;
1062
+ return [{
1063
+ milestone: e,
1064
+ status: e.status ?? t,
1065
+ offset: s
1066
+ }];
1067
+ }), qr = (e, t) => e.flatMap((e) => {
1068
+ let n = Br(e.start), r = Br(e.end);
1069
+ if (!n || !r || n.year > t || r.year < t) return [];
1070
+ let i = Ur(n, t), a = Ur(r, t, !0);
1071
+ if (a <= i) return [];
1072
+ let o = e.status ?? Rr.ON_PLAN, s = a - i;
1073
+ return [{
1074
+ item: e,
1075
+ status: o,
1076
+ left: i,
1077
+ width: s,
1078
+ progress: e.progress === void 0 ? null : Gr(Math.round(e.progress)),
1079
+ milestones: Kr(e.milestones ?? [], o, t, i, s)
1080
+ }];
1081
+ }), Jr = ["aria-busy"], Yr = { class: "s-ui-roadmap__ruler" }, Xr = { class: "s-ui-roadmap__year" }, Zr = { class: "s-ui-roadmap__months" }, Qr = { class: "s-ui-roadmap__body" }, $r = {
1082
+ class: "s-ui-roadmap__grid",
1083
+ "aria-hidden": "true"
1084
+ }, ei = {
1085
+ key: 1,
1086
+ class: "s-ui-roadmap__rows"
1087
+ }, ti = { class: "s-ui-roadmap__row" }, ni = {
1088
+ key: 2,
1089
+ class: "s-ui-roadmap__rows"
1090
+ }, ri = [
1091
+ "role",
1092
+ "tabindex",
1093
+ "onClick",
1094
+ "onKeydown"
1095
+ ], ii = { class: "s-ui-roadmap__card-header" }, ai = { class: "s-ui-roadmap__card-title" }, oi = { class: "s-ui-roadmap__card-track" }, si = [
1096
+ "title",
1097
+ "aria-label",
1098
+ "onClick"
1099
+ ], ci = {
1100
+ key: 0,
1101
+ class: "s-ui-roadmap__card-progress"
1102
+ }, li = { class: "s-ui-roadmap__card-percent" }, ui = {
1103
+ key: 3,
1104
+ class: "s-ui-roadmap__empty"
1105
+ }, di = 3.8, fi = 39.6, pi = 16, mi = 16, hi = /* @__PURE__ */ L({
1106
+ __name: "SRoadmap",
1107
+ props: {
1108
+ items: { default: () => [] },
1109
+ year: {},
1110
+ today: {},
1111
+ loading: {
1112
+ type: Boolean,
1113
+ default: !1
1114
+ },
1115
+ itemActionLabel: {},
1116
+ milestoneActionLabel: {}
1117
+ },
1118
+ emits: ["itemClick", "milestoneClick"],
1119
+ setup(e, { emit: t }) {
1120
+ let n = t, r = pi / 2, i = J.stageFill, a = J.milestoneFill, o = gn.SMALL, s = _n.S_ROADMAP_CARD, c = {
1121
+ insetInlineStart: `${di}%`,
1122
+ inlineSize: `${fi}%`
1123
+ }, { t: l, locale: u } = En(), d = Ot("onItemClick"), f = Ot("onMilestoneClick"), p = V(null), m = A(() => d() ? e.itemActionLabel : void 0), h = A(() => f() ? e.milestoneActionLabel : void 0), g = A(() => p.value ? {
1124
+ insetInlineStart: `${p.value.x}px`,
1125
+ insetBlockStart: `${p.value.y + mi}px`
1126
+ } : void 0), _ = (e, t) => {
1127
+ p.value = e ? {
1128
+ text: e,
1129
+ x: t.clientX,
1130
+ y: t.clientY
1131
+ } : null;
1132
+ }, v = () => {
1133
+ p.value = null;
1134
+ }, y = A(() => Br(e.today ?? /* @__PURE__ */ new Date())), b = A(() => e.year ?? y.value?.year ?? (/* @__PURE__ */ new Date()).getFullYear()), x = A(() => y.value?.year === b.value), ee = A(() => ["s-ui-roadmap", { "s-ui-roadmap--loading": e.loading }]), S = A(() => Wr(String(un(u))).map((e, t) => ({
1135
+ index: t,
1136
+ label: e,
1137
+ classes: ["s-ui-roadmap__month", { "s-ui-roadmap__month--current": x.value && y.value?.month === t }]
1138
+ }))), C = A(() => !x.value || !y.value ? null : { insetInlineStart: `${Ur(y.value, b.value)}%` }), w = A(() => qr(e.items, b.value).map((e) => ({
1139
+ key: e.item.id,
1140
+ row: e,
1141
+ role: d() ? "button" : void 0,
1142
+ tabindex: d() ? 0 : void 0,
1143
+ progressLabel: l("roadmap.progress", { value: String(e.progress ?? 0) }),
1144
+ cardClasses: [
1145
+ "s-ui-roadmap__card",
1146
+ `s-ui-roadmap__card--status-${e.status}`,
1147
+ { "s-ui-roadmap__card--clickable": d() }
1148
+ ],
1149
+ cardStyle: {
1150
+ insetInlineStart: `${e.left}%`,
1151
+ inlineSize: `${e.width}%`
1152
+ },
1153
+ milestones: e.milestones.map((e) => ({
1154
+ key: e.milestone.id,
1155
+ placement: e,
1156
+ title: l("roadmap.milestone", { title: e.milestone.title }),
1157
+ nativeTitle: h.value ? void 0 : l("roadmap.milestone", { title: e.milestone.title }),
1158
+ classes: ["s-ui-roadmap__milestone", `s-ui-roadmap__milestone--status-${e.status}`],
1159
+ style: { insetInlineStart: `clamp(0px, calc(${e.offset}% - ${r}px), calc(100% - ${pi}px))` }
1160
+ }))
1161
+ }))), T = (e) => {
1162
+ n("itemClick", e);
1163
+ }, E = (e, t) => {
1164
+ n("milestoneClick", e, t);
1165
+ };
1166
+ return (t, n) => (B(), N("div", {
1167
+ class: R(ee.value),
1168
+ "data-qa": "ui:roadmap",
1169
+ "aria-busy": e.loading
1170
+ }, [
1171
+ P("div", Yr, [P("div", Xr, W(b.value), 1), P("ol", Zr, [(B(!0), N(k, null, H(S.value, (e) => (B(), N("li", {
1172
+ key: e.index,
1173
+ class: R(e.classes)
1174
+ }, W(e.label), 3))), 128))])]),
1175
+ P("div", Qr, [
1176
+ P("div", $r, [(B(!0), N(k, null, H(S.value, (e) => (B(), N("span", {
1177
+ key: e.index,
1178
+ class: "s-ui-roadmap__grid-column"
1179
+ }))), 128))]),
1180
+ C.value ? (B(), N("div", {
1181
+ key: 0,
1182
+ class: "s-ui-roadmap__today",
1183
+ style: z(C.value),
1184
+ "aria-hidden": "true"
1185
+ }, [...n[2] ||= [P("span", { class: "s-ui-roadmap__today-point" }, null, -1)]], 4)) : M("", !0),
1186
+ e.loading ? (B(), N("ul", ei, [P("li", ti, [P("div", {
1187
+ class: "s-ui-roadmap__card s-ui-roadmap__card--skeleton",
1188
+ style: c,
1189
+ "aria-hidden": "true"
1190
+ }, [I(G(bn), {
1191
+ class: "s-ui-roadmap__card-skeleton",
1192
+ type: G(s)
1193
+ }, null, 8, ["type"])])])])) : w.value.length ? (B(), N("ul", ni, [(B(!0), N(k, null, H(w.value, (e) => (B(), N("li", {
1194
+ key: e.key,
1195
+ class: "s-ui-roadmap__row"
1196
+ }, [P("div", {
1197
+ class: R(e.cardClasses),
1198
+ style: z(e.cardStyle),
1199
+ role: e.role,
1200
+ tabindex: e.tabindex,
1201
+ onClick: (t) => T(e.row.item),
1202
+ onKeydown: mn((t) => T(e.row.item), ["enter"]),
1203
+ onPointermove: n[1] ||= (e) => _(m.value, e),
1204
+ onPointerleave: v
1205
+ }, [
1206
+ P("div", ii, [U(t.$slots, "item-leading", { item: e.row.item }), P("span", ai, W(e.row.item.title), 1)]),
1207
+ P("div", oi, [I(G(vn), {
1208
+ class: "s-ui-roadmap__stage-icon",
1209
+ name: G(i),
1210
+ size: 16
1211
+ }, null, 8, ["name"]), (B(!0), N(k, null, H(e.milestones, (t) => (B(), N("button", {
1212
+ key: t.key,
1213
+ type: "button",
1214
+ class: R(t.classes),
1215
+ style: z(t.style),
1216
+ title: t.nativeTitle,
1217
+ "aria-label": t.title,
1218
+ onClick: hn((n) => E(t.placement.milestone, e.row.item), ["stop"]),
1219
+ onPointermove: n[0] ||= hn((e) => _(h.value, e), ["stop"])
1220
+ }, [I(G(vn), {
1221
+ name: G(a),
1222
+ size: 16
1223
+ }, null, 8, ["name"])], 46, si))), 128))]),
1224
+ e.row.progress === null ? M("", !0) : (B(), N("div", ci, [I(G(yn), {
1225
+ class: "s-ui-roadmap__card-progress-bar",
1226
+ value: e.row.progress,
1227
+ size: G(o),
1228
+ "aria-label": e.progressLabel
1229
+ }, null, 8, [
1230
+ "value",
1231
+ "size",
1232
+ "aria-label"
1233
+ ]), P("span", li, W(e.row.progress) + "%", 1)]))
1234
+ ], 46, ri)]))), 128))])) : (B(), N("div", ui, [U(t.$slots, "empty", {}, () => [F(W(G(l)("roadmap.empty")), 1)])]))
1235
+ ]),
1236
+ (B(), j(nn, { to: "body" }, [p.value ? (B(), N("span", {
1237
+ key: 0,
1238
+ class: "s-ui-roadmap__hint",
1239
+ style: z(g.value),
1240
+ role: "tooltip"
1241
+ }, W(p.value.text), 5)) : M("", !0)]))
1242
+ ], 10, Jr));
1243
+ }
978
1244
  });
979
1245
  //#endregion
980
- export { Dt as CALENDAR_WEEK_SLOT_COUNT, Ft as DAY_TIMELINE_MINUTES, m as DEFAULT_COLOR_PALETTE, p as EAccentColor, C as EButtonAppearance, ce as EButtonGroupLayout, w as EButtonSize, S as EButtonVariant, g as EColorFormat, we as EConnectedPositionStrategy, J as ENotificationLayout, Y as ENotificationLeftside, q as ENotificationType, a as ESAvatarBadge, s as ESAvatarColor, ee as ESAvatarGroupSize, i as ESAvatarIconBackground, r as ESAvatarShape, o as ESAvatarSize, e as ESBadgeColor, t as ESBadgePlacement, Mt as ESCalendarEventDirection, Rt as ESCalendarMonthDayTone, ge as ESCardLayout, pe as ESCheckboxColor, me as ESCheckboxLabelPlacement, fe as ESCheckboxSize, Ne as ESChipColor, Pe as ESChipSize, h as ESColorPaletteLayout, Ee as ESDropdownBoundary, De as ESDropdownPlacement, ue as ESInlineGroupOrientation, at as ESInlineInputAppearance, Ve as ESInlineMessageValidationStatus, ze as ESInputCustomize, Ue as ESLabelSize, We as ESLabelVariant, Xe as ESListGap, Je as ESListItemVariant, ct as ESPhotoEditShape, lt as ESPhotoEditSize, et as ESRadioLabelPlacement, ve as ESSegmentControlSize, Qe as ESSelectSearchable, be as ESTabAppearance, xe as ESTabSize, Gt as ESTableCellState, Jt as ESTableCheckState, Ut as ESTableColumnAlign, zt as ESTableColumnSticky, Kt as ESTableDropAction, Yt as ESTableFooterTone, Bt as ESTableRowColor, Wt as ESTableRowHeightMode, Zt as ESTableRowKind, Vt as ESTableRowState, Ht as ESTableRowsDragMode, qt as ESTableSortDirection, ke as ESTagColor, Ae as ESTagSize, nt as ESToggleLabelPlacement, rt as ESToggleSize, oe as ESelectionFocusMode, re as ESelectionMode, ae as ESelectionOrientation, Ot as EWorkTimeSource, l as MAX_RECENT_COLORS, _ as RECOMMENDED_COLOR_PALETTE, c as SAvatar, te as SAvatarGroup, n as SBadge, Fn as SBanner, T as SButton, de as SButtonGroup, kt as SCalendarMonth, jt as SCalendarWeekGrid, _e as SCard, Tt as SChartBar, Ct as SChartBurnup, bt as SChartHorizontalBar, E as SChartLegend, gt as SChartLine, St as SChartMultiLine, xt as SChartPie, Et as SChartProgress, _r as SChartSegmentedBar, vt as SChartStackedArea, yt as SChartStackedBar, Er as SChartWidget, he as SCheckbox, Fe as SChip, d as SColorArea, v as SColorPalette, f as SColorPicker, u as SColorValues, Nt as SDayTimeline, Le as SDropdown, Re as SDropdownMenu, le as SInlineGroup, ot as SInlineInput, He as SInlineMessage, Be as SInput, Ge as SLabel, Ze as SList, Ye as SListItem, ut as SPhotoEdit, tt as SRadio, ye as SSegmentControl, $e as SSelect, Se as STab, Xt as STable, Ce as STabs, je as STag, Me as STagGroup, st as STextarea, In as SToast, er as SToastProvider, it as SToggle, Ie as S_DROPDOWN_SHEET_BREAKPOINT, Vn as TOAST_AUTO_DURATION_MAX_MS, Bn as TOAST_AUTO_DURATION_MIN_MS, Hn as TOAST_AUTO_DURATION_MS_PER_CHAR, Pt as WORK_TIME_SOURCE_COLOR_VARS, It as WORK_TIME_SOURCE_ORDER, Lt as buildWorkTimeLegendItems, Un as computeAutoDuration, Te as computeConnectedPosition, pn as createUiKit, At as formatDurationHM, x as isSameColor, b as normalizeColorValue, y as resolveColorPreview, ne as resolveOwnPropOrGroupedOrFallback, mn as setUiKitLocale, hn as uiKitLocaleEn, gn as uiKitLocaleRu, qe as useFlatTreeList, Oe as useFloatingOverlay, Ke as useSListEndReached, ie as useSelectionGroup, se as useSelectionGroupItem, $n as useToast, _n as useUiKitI18n };
1246
+ export { jt as CALENDAR_WEEK_SLOT_COUNT, zt as DAY_TIMELINE_MINUTES, m as DEFAULT_COLOR_PALETTE, p as EAccentColor, w as EButtonAppearance, se as EButtonGroupLayout, T as EButtonSize, C as EButtonVariant, g as EColorFormat, Ce as EConnectedPositionStrategy, X as ENotificationLayout, Z as ENotificationLeftside, Y as ENotificationType, a as ESAvatarBadge, s as ESAvatarColor, ee as ESAvatarGroupSize, i as ESAvatarIconBackground, r as ESAvatarShape, o as ESAvatarSize, e as ESBadgeColor, t as ESBadgePlacement, It as ESCalendarEventDirection, Ht as ESCalendarMonthDayTone, he as ESCardLayout, _t as ESChartLegendSize, wt as ESChartPieLegendView, fe as ESCheckboxColor, pe as ESCheckboxLabelPlacement, de as ESCheckboxSize, Me as ESChipColor, Ne as ESChipSize, h as ESColorPaletteLayout, Te as ESDropdownBoundary, Ee as ESDropdownPlacement, le as ESInlineGroupOrientation, it as ESInlineInputAppearance, Be as ESInlineMessageValidationStatus, Re as ESInputCustomize, He as ESLabelSize, Ue as ESLabelVariant, Ye as ESListGap, qe as ESListItemVariant, st as ESPhotoEditShape, ct as ESPhotoEditSize, $e as ESRadioLabelPlacement, Rr as ESRoadmapStatus, _e as ESSegmentControlSize, Ze as ESSelectSearchable, ye as ESTabAppearance, be as ESTabSize, Yt as ESTableCellState, Qt as ESTableCheckState, qt as ESTableColumnAlign, Ut as ESTableColumnSticky, Xt as ESTableDropAction, $t as ESTableFooterTone, Wt as ESTableRowColor, Jt as ESTableRowHeightMode, tn as ESTableRowKind, Gt as ESTableRowState, Kt as ESTableRowsDragMode, Zt as ESTableSortDirection, Oe as ESTagColor, ke as ESTagSize, tt as ESToggleLabelPlacement, nt as ESToggleSize, ae as ESelectionFocusMode, ne as ESelectionMode, ie as ESelectionOrientation, Mt as EWorkTimeSource, l as MAX_RECENT_COLORS, _ as RECOMMENDED_COLOR_PALETTE, c as SAvatar, S as SAvatarGroup, n as SBadge, Gn as SBanner, E as SButton, ue as SButtonGroup, Nt as SCalendarMonth, Ft as SCalendarWeekGrid, ge as SCard, kt as SChartBar, Dt as SChartBurnup, Ct as SChartHorizontalBar, vt as SChartLegend, yt as SChartLine, Et as SChartMultiLine, Tt as SChartPie, At as SChartProgress, Or as SChartSegmentedBar, xt as SChartStackedArea, St as SChartStackedBar, Lr as SChartWidget, me as SCheckbox, Pe as SChip, d as SColorArea, v as SColorPalette, f as SColorPicker, u as SColorValues, Lt as SDayTimeline, Ie as SDropdown, Le as SDropdownMenu, ce as SInlineGroup, at as SInlineInput, Ve as SInlineMessage, ze as SInput, We as SLabel, Xe as SList, Je as SListItem, lt as SPhotoEdit, et as SRadio, hi as SRoadmap, ve as SSegmentControl, Qe as SSelect, xe as STab, en as STable, Se as STabs, Ae as STag, je as STagGroup, ot as STextarea, Kn as SToast, dr as SToastProvider, rt as SToggle, Fe as S_DROPDOWN_SHEET_BREAKPOINT, Zn as TOAST_AUTO_DURATION_MAX_MS, Xn as TOAST_AUTO_DURATION_MIN_MS, Qn as TOAST_AUTO_DURATION_MS_PER_CHAR, Rt as WORK_TIME_SOURCE_COLOR_VARS, Bt as WORK_TIME_SOURCE_ORDER, Vt as buildWorkTimeLegendItems, $n as computeAutoDuration, we as computeConnectedPosition, xn as createUiKit, Pt as formatDurationHM, x as isSameColor, b as normalizeColorValue, y as resolveColorPreview, te as resolveOwnPropOrGroupedOrFallback, Sn as setUiKitLocale, Cn as uiKitLocaleEn, wn as uiKitLocaleRu, Ke as useFlatTreeList, De as useFloatingOverlay, Ge as useSListEndReached, re as useSelectionGroup, oe as useSelectionGroupItem, ur as useToast, Tn as useUiKitI18n };