@shtabapp/ui-kit 1.74.0 → 1.76.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 (302) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/dist/{SButton-CLTNdnCK.cjs → SButton-BCgdXE_B.cjs} +1 -1
  3. package/dist/{SButton-LAOBxpd4.js → SButton-DIWMMCSc.js} +1 -0
  4. package/dist/{SButtonGroup-DPq5g7bZ.js → SButtonGroup-BqW5Rz1p.js} +0 -2
  5. package/dist/{SButtonGroup-Co1AUbsm.cjs → SButtonGroup-DSi8mQSz.cjs} +1 -1
  6. package/dist/{SCard-DKZYyR5b.cjs → SCard-B210wsTH.cjs} +1 -1
  7. package/dist/{SCard-DgGxjBUV.js → SCard-DJuyINB7.js} +1 -1
  8. package/dist/SChartBar-BvytQ-2z.js +293 -0
  9. package/dist/SChartBar-BzCeNCsi.cjs +1 -0
  10. package/dist/SChartBurnup-BeQWgnGT.js +261 -0
  11. package/dist/SChartBurnup-joKIDLFb.cjs +1 -0
  12. package/dist/SChartHorizontalBar-C40Yroue.js +176 -0
  13. package/dist/SChartHorizontalBar-Dwln3uuE.cjs +1 -0
  14. package/dist/SChartLegend-D1gPKGm0.cjs +1 -0
  15. package/dist/SChartLegend-dDqLhvIj.js +88 -0
  16. package/dist/{SChartLine-v0tkmnN6.js → SChartLine-BV8Ytso5.js} +36 -36
  17. package/dist/{SChartLine-3l507dBg.cjs → SChartLine-DeJjaBmo.cjs} +1 -1
  18. package/dist/SChartMultiLine-7_HcvVEQ.js +279 -0
  19. package/dist/SChartMultiLine-Cl9Pf3Wp.cjs +1 -0
  20. package/dist/SChartPie-BiLoxutQ.js +267 -0
  21. package/dist/SChartPie-DccW5J0b.cjs +1 -0
  22. package/dist/{SChartProgress-9Zzy7E8K.cjs → SChartProgress-Cpdkad6Q.cjs} +1 -1
  23. package/dist/{SChartProgress-DUgSOdv7.js → SChartProgress-DSxJqRA0.js} +27 -27
  24. package/dist/{SChartStackedArea-Blpqa23h.js → SChartStackedArea-B28offwE.js} +44 -44
  25. package/dist/{SChartStackedArea-C3MezV9k.cjs → SChartStackedArea-Ce7xyhp1.cjs} +1 -1
  26. package/dist/{SChartStackedBar-CCxEXw1H.js → SChartStackedBar-C77FlKGS.js} +55 -55
  27. package/dist/{SChartStackedBar-CJ-UdOfv.cjs → SChartStackedBar-CqUDrFJ3.cjs} +1 -1
  28. package/dist/SCheckbox-Dkbk21Id.cjs +1 -0
  29. package/dist/SCheckbox-Dulusx5v.js +105 -0
  30. package/dist/{SChip-Dcvk3JI8.cjs → SChip-BCB1bvua.cjs} +1 -1
  31. package/dist/{SChip-NDTK29yq.js → SChip-C6d9oIYL.js} +1 -1
  32. package/dist/{SColorPicker-Ct8FVU0D.cjs → SColorPicker-CcPnyXE0.cjs} +1 -1
  33. package/dist/{SColorPicker-BjtlrGHZ.js → SColorPicker-XXyDOuDg.js} +2 -2
  34. package/dist/{SInput-D8NftspL.js → SInput-CGlUBCkW.js} +57 -54
  35. package/dist/SInput-fT-S-Tko.cjs +1 -0
  36. package/dist/SList-BuuCfuHg.js +471 -0
  37. package/dist/SList-Vg9nx1oe.cjs +1 -0
  38. package/dist/SListItem-CDlsjhA3.js +227 -0
  39. package/dist/SListItem-DMjtJXxV.cjs +1 -0
  40. package/dist/{SPhotoEdit-CShhPLJt.cjs → SPhotoEdit-B4ujF5Dh.cjs} +1 -1
  41. package/dist/{SPhotoEdit-r63G2NZI.js → SPhotoEdit-BxxycqvA.js} +1 -1
  42. package/dist/SRadio-B9qQ-PEk.cjs +1 -0
  43. package/dist/SRadio-BhoLtFUS.js +60 -0
  44. package/dist/SSelect-Bn4kifqp.js +666 -0
  45. package/dist/SSelect-DyngcoP9.cjs +1 -0
  46. package/dist/STab-BkQzKaLY.cjs +1 -0
  47. package/dist/STab-D7SATMfv.js +242 -0
  48. package/dist/{STable-CToIFCiU.js → STable-BVGHC_FJ.js} +193 -169
  49. package/dist/STable-QYXxMVAw.cjs +1 -0
  50. package/dist/STabs-BYbsRtvi.js +151 -0
  51. package/dist/STabs-DDP-2p6T.cjs +1 -0
  52. package/dist/{STag-C5KhPWjQ.js → STag-DWjv_Za8.js} +1 -1
  53. package/dist/{STag-ZPrc5q4N.cjs → STag-nqzlv8OZ.cjs} +1 -1
  54. package/dist/{STagGroup-ccEvIkK7.cjs → STagGroup-CYEI9OXO.cjs} +1 -1
  55. package/dist/{STagGroup-BGwvunuu.js → STagGroup-DEPpEU5C.js} +1 -1
  56. package/dist/SToggle-BNgLiIrQ.cjs +1 -0
  57. package/dist/SToggle-MSdprnRP.js +62 -0
  58. package/dist/applyChartHighlightedYTick-BHVwiljn.cjs +1 -0
  59. package/dist/applyChartHighlightedYTick-DmsstRVM.js +17 -0
  60. package/dist/buildMultiLineChartScales-Di-yTvEB.js +41 -0
  61. package/dist/buildMultiLineChartScales-lVP6h9H4.cjs +1 -0
  62. package/dist/components/SButton/SButton.vue.d.ts.map +1 -1
  63. package/dist/components/SButtonGroup/SButtonGroup.vue.d.ts.map +1 -1
  64. package/dist/components/SChartBar/SChartBar.types.d.ts +33 -4
  65. package/dist/components/SChartBar/SChartBar.types.d.ts.map +1 -1
  66. package/dist/components/SChartBar/SChartBar.vue.d.ts.map +1 -1
  67. package/dist/components/SChartBar/index.d.ts +1 -1
  68. package/dist/components/SChartBar/index.d.ts.map +1 -1
  69. package/dist/components/SChartBar/utils/buildBarChartConfig.d.ts +8 -2
  70. package/dist/components/SChartBar/utils/buildBarChartConfig.d.ts.map +1 -1
  71. package/dist/components/SChartBar/utils/createBarTargetLinePlugin.d.ts.map +1 -1
  72. package/dist/components/SChartBar/utils/createBarValueLabelPlugin.d.ts +7 -0
  73. package/dist/components/SChartBar/utils/createBarValueLabelPlugin.d.ts.map +1 -0
  74. package/dist/components/SChartBar/utils/demoBarSeries.d.ts +7 -1
  75. package/dist/components/SChartBar/utils/demoBarSeries.d.ts.map +1 -1
  76. package/dist/components/SChartBurnup/SChartBurnup.types.d.ts +8 -1
  77. package/dist/components/SChartBurnup/SChartBurnup.types.d.ts.map +1 -1
  78. package/dist/components/SChartBurnup/utils/buildBurnupChartConfig.d.ts.map +1 -1
  79. package/dist/components/SChartBurnup/utils/demoBurnupPoints.d.ts +1 -0
  80. package/dist/components/SChartBurnup/utils/demoBurnupPoints.d.ts.map +1 -1
  81. package/dist/components/SChartLegend/SChartLegend.types.d.ts +17 -0
  82. package/dist/components/SChartLegend/SChartLegend.types.d.ts.map +1 -1
  83. package/dist/components/SChartLegend/SChartLegend.vue.d.ts +3 -1
  84. package/dist/components/SChartLegend/SChartLegend.vue.d.ts.map +1 -1
  85. package/dist/components/SChartLegend/index.d.ts +1 -0
  86. package/dist/components/SChartLegend/index.d.ts.map +1 -1
  87. package/dist/components/SChartMultiLine/SChartMultiLine.types.d.ts +14 -2
  88. package/dist/components/SChartMultiLine/SChartMultiLine.types.d.ts.map +1 -1
  89. package/dist/components/SChartMultiLine/SChartMultiLine.vue.d.ts +3 -1
  90. package/dist/components/SChartMultiLine/SChartMultiLine.vue.d.ts.map +1 -1
  91. package/dist/components/SChartMultiLine/index.d.ts +1 -1
  92. package/dist/components/SChartMultiLine/index.d.ts.map +1 -1
  93. package/dist/components/SChartMultiLine/utils/buildMultiLineChartConfig.d.ts +9 -2
  94. package/dist/components/SChartMultiLine/utils/buildMultiLineChartConfig.d.ts.map +1 -1
  95. package/dist/components/SChartMultiLine/utils/demoMultiLineSeries.d.ts +4 -1
  96. package/dist/components/SChartMultiLine/utils/demoMultiLineSeries.d.ts.map +1 -1
  97. package/dist/components/SChartPie/SChartPie.types.d.ts +27 -1
  98. package/dist/components/SChartPie/SChartPie.types.d.ts.map +1 -1
  99. package/dist/components/SChartPie/SChartPie.vue.d.ts +16 -2
  100. package/dist/components/SChartPie/SChartPie.vue.d.ts.map +1 -1
  101. package/dist/components/SChartPie/index.d.ts +2 -1
  102. package/dist/components/SChartPie/index.d.ts.map +1 -1
  103. package/dist/components/SChartPie/utils/buildPieChartConfig.d.ts +3 -1
  104. package/dist/components/SChartPie/utils/buildPieChartConfig.d.ts.map +1 -1
  105. package/dist/components/SChartPie/utils/demoPieSlices.d.ts +1 -0
  106. package/dist/components/SChartPie/utils/demoPieSlices.d.ts.map +1 -1
  107. package/dist/components/SChartSegmentedBar/SChartSegmentedBar.types.d.ts +9 -0
  108. package/dist/components/SChartSegmentedBar/SChartSegmentedBar.types.d.ts.map +1 -1
  109. package/dist/components/SChartSegmentedBar/SChartSegmentedBar.vue.d.ts +14 -2
  110. package/dist/components/SChartSegmentedBar/SChartSegmentedBar.vue.d.ts.map +1 -1
  111. package/dist/components/SChartSegmentedBar/utils/buildSegmentedBarChartConfig.d.ts +4 -1
  112. package/dist/components/SChartSegmentedBar/utils/buildSegmentedBarChartConfig.d.ts.map +1 -1
  113. package/dist/components/SChartSegmentedBar/utils/createSegmentedBarBadgePlugin.d.ts.map +1 -1
  114. package/dist/components/SCheckbox/SCheckbox.vue.d.ts.map +1 -1
  115. package/dist/components/SInput/SInput.vue.d.ts.map +1 -1
  116. package/dist/components/SInput/utils/fieldLabelId.d.ts +6 -0
  117. package/dist/components/SInput/utils/fieldLabelId.d.ts.map +1 -0
  118. package/dist/components/SList/SList.vue.d.ts.map +1 -1
  119. package/dist/components/SList/utils/context.d.ts +3 -0
  120. package/dist/components/SList/utils/context.d.ts.map +1 -1
  121. package/dist/components/SList/utils/resolveListItemFields.d.ts +1 -1
  122. package/dist/components/SList/utils/resolveListItemFields.d.ts.map +1 -1
  123. package/dist/components/SListItem/SListItem.types.d.ts +22 -0
  124. package/dist/components/SListItem/SListItem.types.d.ts.map +1 -1
  125. package/dist/components/SListItem/SListItem.vue.d.ts.map +1 -1
  126. package/dist/components/SListItem/index.d.ts +2 -2
  127. package/dist/components/SListItem/index.d.ts.map +1 -1
  128. package/dist/components/SListItem/utils/listItemAria.d.ts +31 -0
  129. package/dist/components/SListItem/utils/listItemAria.d.ts.map +1 -0
  130. package/dist/components/SRadio/SRadio.vue.d.ts.map +1 -1
  131. package/dist/components/SRoadmap/SRoadmap.types.d.ts +47 -0
  132. package/dist/components/SRoadmap/SRoadmap.types.d.ts.map +1 -0
  133. package/dist/components/SRoadmap/SRoadmap.vue.d.ts +21 -0
  134. package/dist/components/SRoadmap/SRoadmap.vue.d.ts.map +1 -0
  135. package/dist/components/SRoadmap/index.d.ts +4 -0
  136. package/dist/components/SRoadmap/index.d.ts.map +1 -0
  137. package/dist/components/SRoadmap/utils/buildRoadmapRows.d.ts +19 -0
  138. package/dist/components/SRoadmap/utils/buildRoadmapRows.d.ts.map +1 -0
  139. package/dist/components/SRoadmap/utils/demoRoadmapItems.d.ts +5 -0
  140. package/dist/components/SRoadmap/utils/demoRoadmapItems.d.ts.map +1 -0
  141. package/dist/components/SRoadmap/utils/roadmapDate.d.ts +16 -0
  142. package/dist/components/SRoadmap/utils/roadmapDate.d.ts.map +1 -0
  143. package/dist/components/SSelect/SSelect.vue.d.ts.map +1 -1
  144. package/dist/components/STab/STab.types.d.ts +5 -0
  145. package/dist/components/STab/STab.types.d.ts.map +1 -1
  146. package/dist/components/STab/STab.vue.d.ts +2 -0
  147. package/dist/components/STab/STab.vue.d.ts.map +1 -1
  148. package/dist/components/STable/STable.vue.d.ts.map +1 -1
  149. package/dist/components/STable/parts/STableGroupRow.vue.d.ts +2 -0
  150. package/dist/components/STable/parts/STableGroupRow.vue.d.ts.map +1 -1
  151. package/dist/components/STable/parts/STableRow.vue.d.ts +2 -0
  152. package/dist/components/STable/parts/STableRow.vue.d.ts.map +1 -1
  153. package/dist/components/STable/utils/useTableRowHydration.d.ts +3 -1
  154. package/dist/components/STable/utils/useTableRowHydration.d.ts.map +1 -1
  155. package/dist/components/STabs/STabs.vue.d.ts.map +1 -1
  156. package/dist/components/SToggle/SToggle.vue.d.ts.map +1 -1
  157. package/dist/composables/useAriaAttrs.d.ts +21 -0
  158. package/dist/composables/useAriaAttrs.d.ts.map +1 -0
  159. package/dist/composables/useChartInteractivity.d.ts +2 -1
  160. package/dist/composables/useChartInteractivity.d.ts.map +1 -1
  161. package/dist/{createChartCrosshairPlugin-B4e8d8OF.cjs → createChartCrosshairPlugin-BTPv09h4.cjs} +1 -1
  162. package/dist/{createChartCrosshairPlugin-C2NUAO5s.js → createChartCrosshairPlugin-EqMlaexu.js} +2 -2
  163. package/dist/createChartMarkersPlugin-BKxLg4pL.cjs +1 -0
  164. package/dist/{createChartMarkersPlugin-DkXituwE.js → createChartMarkersPlugin-DPvfZp_e.js} +11 -11
  165. package/dist/entries/button-group.cjs +1 -1
  166. package/dist/entries/button-group.js +1 -1
  167. package/dist/entries/button.cjs +1 -1
  168. package/dist/entries/button.js +1 -1
  169. package/dist/entries/card.cjs +1 -1
  170. package/dist/entries/card.js +1 -1
  171. package/dist/entries/chart-bar.cjs +1 -1
  172. package/dist/entries/chart-bar.js +1 -1
  173. package/dist/entries/chart-burnup.cjs +1 -1
  174. package/dist/entries/chart-burnup.js +1 -1
  175. package/dist/entries/chart-horizontal-bar.cjs +1 -1
  176. package/dist/entries/chart-horizontal-bar.js +1 -1
  177. package/dist/entries/chart-line.cjs +1 -1
  178. package/dist/entries/chart-line.js +1 -1
  179. package/dist/entries/chart-multi-line.cjs +1 -1
  180. package/dist/entries/chart-multi-line.js +1 -1
  181. package/dist/entries/chart-pie.cjs +1 -1
  182. package/dist/entries/chart-pie.d.ts +2 -2
  183. package/dist/entries/chart-pie.d.ts.map +1 -1
  184. package/dist/entries/chart-pie.js +2 -2
  185. package/dist/entries/chart-progress.cjs +1 -1
  186. package/dist/entries/chart-progress.js +1 -1
  187. package/dist/entries/chart-stacked-area.cjs +1 -1
  188. package/dist/entries/chart-stacked-area.js +1 -1
  189. package/dist/entries/chart-stacked-bar.cjs +1 -1
  190. package/dist/entries/chart-stacked-bar.js +1 -1
  191. package/dist/entries/checkbox.cjs +1 -1
  192. package/dist/entries/checkbox.js +1 -1
  193. package/dist/entries/chip.cjs +1 -1
  194. package/dist/entries/chip.js +1 -1
  195. package/dist/entries/color-picker.cjs +1 -1
  196. package/dist/entries/color-picker.js +1 -1
  197. package/dist/entries/input.cjs +1 -1
  198. package/dist/entries/input.js +1 -1
  199. package/dist/entries/list-item.cjs +1 -1
  200. package/dist/entries/list-item.d.ts +2 -2
  201. package/dist/entries/list-item.d.ts.map +1 -1
  202. package/dist/entries/list-item.js +2 -2
  203. package/dist/entries/list.cjs +1 -1
  204. package/dist/entries/list.js +1 -1
  205. package/dist/entries/photo-edit.cjs +1 -1
  206. package/dist/entries/photo-edit.js +1 -1
  207. package/dist/entries/radio.cjs +1 -1
  208. package/dist/entries/radio.js +1 -1
  209. package/dist/entries/select.cjs +1 -1
  210. package/dist/entries/select.js +1 -1
  211. package/dist/entries/tab.cjs +1 -1
  212. package/dist/entries/tab.js +1 -1
  213. package/dist/entries/table.cjs +1 -1
  214. package/dist/entries/table.js +1 -1
  215. package/dist/entries/tabs.cjs +1 -1
  216. package/dist/entries/tabs.js +2 -2
  217. package/dist/entries/tag-group.cjs +1 -1
  218. package/dist/entries/tag-group.js +2 -2
  219. package/dist/entries/tag.cjs +1 -1
  220. package/dist/entries/tag.js +1 -1
  221. package/dist/entries/toggle.cjs +1 -1
  222. package/dist/entries/toggle.js +1 -1
  223. package/dist/index.cjs +1 -1
  224. package/dist/index.d.ts +9 -7
  225. package/dist/index.d.ts.map +1 -1
  226. package/dist/index.js +568 -302
  227. package/dist/resolveBarStackedSeriesColor-CjwUxrUx.js +11 -0
  228. package/dist/resolveBarStackedSeriesColor-Czkj5bJY.cjs +1 -0
  229. package/dist/resolveCssColorValue-BFMo08-w.cjs +1 -0
  230. package/dist/resolveCssColorValue-DH_SEZj4.js +8 -0
  231. package/dist/resolveSeriesPaletteColor-BepW1gdW.cjs +1 -0
  232. package/dist/{resolveSeriesPaletteColor-B7wHDj1L.js → resolveSeriesPaletteColor-DoPeNP_F.js} +3 -2
  233. package/dist/{resolveStackedChartContext-DxJNWqwE.js → resolveStackedChartContext-BbCzct6O.js} +5 -5
  234. package/dist/{resolveStackedChartContext-Br3N7ISo.cjs → resolveStackedChartContext-D4tuSA6Z.cjs} +1 -1
  235. package/dist/splitChartAxisLabel-D-IFyucJ.js +4 -0
  236. package/dist/splitChartAxisLabel-DAmQOJn6.cjs +2 -0
  237. package/dist/uikit-components.css +1 -1
  238. package/dist/useAriaAttrs-CxGRTeye.js +15 -0
  239. package/dist/useAriaAttrs-D748yeJ_.cjs +1 -0
  240. package/dist/useChartInteractivity-CaZ37kX-.cjs +1 -0
  241. package/dist/{useChartInteractivity-Cl06JL4l.js → useChartInteractivity-DygkiRA1.js} +178 -144
  242. package/dist/utils/chart/burnup/createBurnupTooltipCallbacks.d.ts +3 -1
  243. package/dist/utils/chart/burnup/createBurnupTooltipCallbacks.d.ts.map +1 -1
  244. package/dist/utils/chart/chart.types.d.ts +10 -0
  245. package/dist/utils/chart/chart.types.d.ts.map +1 -1
  246. package/dist/utils/chart/core/applyChartHighlightedYTick.d.ts +19 -0
  247. package/dist/utils/chart/core/applyChartHighlightedYTick.d.ts.map +1 -0
  248. package/dist/utils/chart/core/chartCssVariables.d.ts +3 -0
  249. package/dist/utils/chart/core/chartCssVariables.d.ts.map +1 -1
  250. package/dist/utils/chart/core/chartInteractivity.d.ts +9 -2
  251. package/dist/utils/chart/core/chartInteractivity.d.ts.map +1 -1
  252. package/dist/utils/chart/core/createChartMarkersPlugin.d.ts.map +1 -1
  253. package/dist/utils/chart/core/resolveSeriesPaletteColor.d.ts.map +1 -1
  254. package/dist/utils/chart/core/splitChartAxisLabel.d.ts +2 -0
  255. package/dist/utils/chart/core/splitChartAxisLabel.d.ts.map +1 -0
  256. package/dist/utils/chart/css/resolveCssColorValue.d.ts +2 -0
  257. package/dist/utils/chart/css/resolveCssColorValue.d.ts.map +1 -0
  258. package/dist/utils/chart/horizontalBar/resolveHorizontalBarColor.d.ts.map +1 -1
  259. package/dist/utils/chart/index.d.ts +4 -1
  260. package/dist/utils/chart/index.d.ts.map +1 -1
  261. package/dist/utils/chart/multiLine/buildMultiLineChartScales.d.ts +119 -14
  262. package/dist/utils/chart/multiLine/buildMultiLineChartScales.d.ts.map +1 -1
  263. package/dist/utils/chart/multiLine/createMultiLineTooltipCallbacks.d.ts +7 -2
  264. package/dist/utils/chart/multiLine/createMultiLineTooltipCallbacks.d.ts.map +1 -1
  265. package/package.json +3 -3
  266. package/dist/SChartBar-CUAibXox.js +0 -215
  267. package/dist/SChartBar-xzw8oxXl.cjs +0 -1
  268. package/dist/SChartBurnup-C5Z7UDi-.js +0 -250
  269. package/dist/SChartBurnup-CWSJUoA_.cjs +0 -1
  270. package/dist/SChartHorizontalBar-0RpJa5EJ.cjs +0 -1
  271. package/dist/SChartHorizontalBar-B9SWFvdN.js +0 -175
  272. package/dist/SChartLegend-DGtjd6zV.cjs +0 -1
  273. package/dist/SChartLegend-oZoF8XK7.js +0 -42
  274. package/dist/SChartMultiLine-CG6dKmWm.js +0 -244
  275. package/dist/SChartMultiLine-vz7JdyA3.cjs +0 -1
  276. package/dist/SChartPie-0ugeo2fO.js +0 -182
  277. package/dist/SChartPie-QpnxLQYv.cjs +0 -1
  278. package/dist/SCheckbox-BMkOc5cn.js +0 -102
  279. package/dist/SCheckbox-DnnC5mOH.cjs +0 -1
  280. package/dist/SInput-B4So5LGW.cjs +0 -1
  281. package/dist/SList-BuXrkB03.js +0 -465
  282. package/dist/SList-CvP0U6U1.cjs +0 -1
  283. package/dist/SListItem-BOSQGRWA.js +0 -209
  284. package/dist/SListItem-BeaflFVf.cjs +0 -1
  285. package/dist/SRadio-D6_Pd6XX.js +0 -57
  286. package/dist/SRadio-DRo_GU5A.cjs +0 -1
  287. package/dist/SSelect-mnobObXO.cjs +0 -1
  288. package/dist/SSelect-rpJCD5PL.js +0 -652
  289. package/dist/STab-C06drUMG.cjs +0 -1
  290. package/dist/STab-ltjZBvbK.js +0 -218
  291. package/dist/STable-Ci_3UqBz.cjs +0 -1
  292. package/dist/STabs-BARXqgoB.js +0 -149
  293. package/dist/STabs-n5hMERTK.cjs +0 -1
  294. package/dist/SToggle-CGd0Mh0R.cjs +0 -1
  295. package/dist/SToggle-sGw-LSNd.js +0 -59
  296. package/dist/buildMultiLineChartScales-7mcIfRVG.cjs +0 -1
  297. package/dist/buildMultiLineChartScales-CFZ8YVeJ.js +0 -19
  298. package/dist/createChartMarkersPlugin-Cg1yGzxW.cjs +0 -1
  299. package/dist/resolveBarStackedSeriesColor-DM7Ax0-s.js +0 -11
  300. package/dist/resolveBarStackedSeriesColor-z3NP5vAS.cjs +0 -1
  301. package/dist/resolveSeriesPaletteColor-D0XlU5vT.cjs +0 -1
  302. package/dist/useChartInteractivity-LbJiqlvI.cjs +0 -1
package/dist/index.js CHANGED
@@ -1,58 +1,58 @@
1
1
  import { n as e, r as t, t as n } from "./SBadge-BDxQJh6c.js";
2
2
  import { a as r, i, n as a, o, r as s, t as c } from "./SAvatar-hWbsODUa.js";
3
- import { i as l, n as u, r as d, t as f } from "./SColorPicker-BjtlrGHZ.js";
3
+ import { i as l, n as u, r as d, t as f } from "./SColorPicker-XXyDOuDg.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";
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-DIWMMCSc.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-BqW5Rz1p.js";
11
+ import { i as de, n as fe, r as pe, t as me } from "./SCheckbox-Dulusx5v.js";
12
+ import { n as he, t as ge } from "./SCard-DJuyINB7.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-D7SATMfv.js";
15
+ import { t as Se } from "./STabs-BYbsRtvi.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-DWjv_Za8.js";
18
+ import { t as je } from "./STagGroup-DEPpEU5C.js";
19
+ import { n as Me, r as Ne, t as Pe } from "./SChip-C6d9oIYL.js";
20
+ import { n as Fe, t as Ie } from "./SDropdown-cNmJ5Lrz.js";
21
+ import { t as Le } from "./SDropdownMenu-2koPU6IG.js";
22
+ import { r as Re, t as ze } from "./SInput-CGlUBCkW.js";
23
+ import { n as Be, t as Ve } from "./SInlineMessage-Dirk5RwO.js";
24
+ import { n as He, r as Ue, t as We } from "./SLabel-FHHPlcKq.js";
25
+ import { a as Ge, s as Ke } from "./treeKeyboardNavigation-SmxTdnDz.js";
26
+ import { n as qe, r as Je, t as Ye } from "./SListItem-CDlsjhA3.js";
27
+ import { a as Xe, t as Ze } from "./SList-BuuCfuHg.js";
28
+ import { n as Qe, t as $e } from "./SSelect-Bn4kifqp.js";
29
+ import { n as et, t as tt } from "./SRadio-BhoLtFUS.js";
30
+ import { n as nt, r as rt, t as it } from "./SToggle-MSdprnRP.js";
31
31
  import { n as at, t as ot } from "./SInlineInput-DO_glYxP.js";
32
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";
33
+ import { n as ct, r as lt, t as ut } from "./SPhotoEdit-BxxycqvA.js";
34
+ import { S as dt, T as D, a as ft, b as O, n as pt, o as mt, r as ht, t as gt, x as _t } from "./useChartInteractivity-DygkiRA1.js";
35
+ import { n as vt, t as yt } from "./SChartLegend-dDqLhvIj.js";
36
+ import { t as bt } from "./SChartLine-BV8Ytso5.js";
37
+ import { t as xt } from "./resolveSeriesPaletteColor-DoPeNP_F.js";
38
+ import { t as St } from "./SChartStackedArea-B28offwE.js";
39
+ import { t as Ct } from "./SChartStackedBar-C77FlKGS.js";
40
+ import { t as wt } from "./SChartHorizontalBar-C40Yroue.js";
41
+ import { n as Tt, t as Et } from "./SChartPie-BiLoxutQ.js";
42
+ import { t as Dt } from "./SChartMultiLine-7_HcvVEQ.js";
43
+ import { t as Ot } from "./SChartBurnup-BeQWgnGT.js";
44
+ import { t as kt } from "./useHasListener-RSjlUyqH.js";
45
+ import { t as At } from "./SChartBar-BvytQ-2z.js";
46
+ import { t as jt } from "./SChartProgress-DSxJqRA0.js";
47
+ import { a as Mt, c as Nt, d as Pt, f as Ft, i as It, l as Lt, n as Rt, o as zt, r as Bt, s as Vt, t as Ht, u as Ut } from "./buildWorkTimeLegendItems-CifzZM9C.js";
48
+ import { a as Wt, c as Gt, d as Kt, f as qt, i as Jt, l as Yt, n as Xt, o as Zt, p as Qt, r as $t, s as en, t as tn, u as nn } from "./STable-BVGHC_FJ.js";
49
+ import { Fragment as k, Teleport as rn, computed as A, createBlock as j, createCommentVNode as M, createElementBlock as N, createElementVNode as P, createSlots as an, createTextVNode as F, createVNode as I, defineComponent as L, mergeModels as on, mergeProps as sn, normalizeClass as R, normalizeStyle as z, onMounted as cn, openBlock as B, ref as V, renderList as H, renderSlot as U, resolveDynamicComponent as ln, shallowRef as un, toDisplayString as W, toValue as dn, unref as G, useModel as fn, useSlots as K, useTemplateRef as pn, watch as mn, withCtx as q, withKeys as hn, withModifiers as gn } from "vue";
50
+ import { ESIconName as J, ESProgressBarSize as _n, ESSkeletonType as vn, SIcon as yn, SProgressBar as bn, SSkeleton as xn, createUiKit as Sn, setUiKitLocale as Cn, uiKitLocaleEn as wn, uiKitLocaleRu as Tn, useUiKitI18n as En, useUiKitI18n as Dn } from "@shtabapp/ui-kit-primitives";
51
+ import { useResizeObserver as On } 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 kn = [
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
+ ], An = [
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
+ ], jn = (e, t, n, r = !1) => xt(e, t, n, r, {
74
+ palette: kn,
75
+ paletteFallback: kn[0],
76
+ skeletonPalette: An,
77
+ skeletonFallback: An[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
+ }({}), Mn = /* @__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
+ }({}), Nn = {
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
+ }, Pn = (e, t) => t || Nn[e], Fn = ["role"], In = { class: "s-ui-notification__body" }, Ln = {
94
94
  key: 0,
95
95
  class: "s-ui-notification__leftside"
96
- }, Dn = {
96
+ }, Rn = {
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
+ }, zn = { class: "s-ui-notification__content" }, Bn = { class: "s-ui-notification__title-row" }, Vn = {
100
100
  key: 0,
101
101
  class: "s-ui-notification__description-block"
102
- }, jn = {
102
+ }, Hn = {
103
103
  key: 0,
104
104
  class: "s-ui-notification__description s-ui-typography-label-12-medium"
105
- }, Mn = {
105
+ }, Un = {
106
106
  key: 1,
107
107
  class: "s-ui-notification__actions-stack"
108
- }, Nn = {
108
+ }, Wn = {
109
109
  key: 1,
110
110
  class: "s-ui-notification__actions-row"
111
- }, Pn = /* @__PURE__ */ F({
111
+ }, Gn = /* @__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: () => Mn.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(() => Pn(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", In, [
175
+ d.value ? (B(), N("div", Ln, [e.leftside === G(Z).ICON ? (B(), N("div", Rn, [I(G(yn), {
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", zn, [
193
+ P("div", Bn, [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", Vn, [e.description || G(r).description ? (B(), N("span", Hn, [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", Un, [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", Wn, [
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, Fn));
299
299
  }
300
- }), Fn = /* @__PURE__ */ F({
300
+ }), Kn = /* @__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(Gn, {
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(Mn).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
+ }, an({ _: 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
+ }), qn = /* @__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(Gn, {
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(Mn).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
+ }, an({ _: 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
+ }), Jn = .05, Yn = [
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
+ ], Xn = /* @__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 * Jn), 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 On(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
+ }), cn(() => {
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, Yn));
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
+ }), Zn = 4e3, Qn = 1e4, $n = 50, er = (e, t) => {
538
+ let n = Zn + (e.length + (t?.length ?? 0)) * 50;
539
+ return n > 1e4 ? Qn : n;
540
+ }, Q = un([]), $ = /* @__PURE__ */ new Map(), tr = 0, nr = {
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
+ }, rr = () => `toast-${Date.now()}-${++tr}`, ir = (e) => {
547
+ let t = $.get(e);
548
+ t && (window.clearTimeout(t), $.delete(e));
549
+ }, ar = (e) => {
550
+ ir(e.id);
551
+ let t = e.duration === void 0 ? er(e.title, e.description) : e.duration;
552
552
  if (t > 0) {
553
553
  let n = window.setTimeout(() => {
554
- Jn(e.id);
554
+ or(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
+ }, or = (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 && (ir(e), n.onClose && n.onClose(), Q.value = Q.value.filter((t) => t.id !== e));
563
+ }, sr = () => {
564
+ $.forEach((e) => window.clearTimeout(e)), $.clear(), Q.value = [];
565
+ }, cr = (e) => e.length <= 3 ? e : (e.slice(3).forEach((e) => {
566
+ ir(e.id);
567
+ }), e.slice(0, 3)), lr = (e) => {
568
+ let t = e.id ?? rr(), n = {
569
+ ...nr,
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 = cr(e);
576
+ } else Q.value = cr([n, ...Q.value]);
577
+ return ar(n), t;
578
+ }, ur = (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, ar(i);
589
+ }, dr = () => ({
590
+ toasts: Q,
591
+ show: lr,
592
+ hide: or,
593
+ hideAll: sr,
594
+ update: ur
595
+ }), fr = /* @__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 } = dr(), r = A(() => t.value.slice(0, 3)), i = V(!1), a = un({}), 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
+ mn(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(rn, { 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(Xn, {
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(ln(t.component), sn({
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(qn), {
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
+ }), pr = 4, mr = 4, hr = 1, gr = "400 12px var(--s-ui-font-family-label)", _r = 4, vr = .5, yr = (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
+ }, br = (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
+ }, xr = (e, t, n, r, i) => {
735
+ let a = br(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 + pr * 2;
738
+ if (a.width < s + _r * 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
+ yr(e, c - s / 2, a.centerY - 20 / 2, s, 20, mr), e.fillStyle = r.background, e.fill(), e.lineWidth = hr, e.strokeStyle = r.border, e.stroke(), e.fillStyle = r.text, e.fillText(o, c, a.centerY);
741
+ }, Sr = (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 = gr, i.textAlign = "center", i.textBaseline = "middle";
750
+ let a = ft(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 ? vr : 1, xr(i, s, c, r, t));
752
754
  }), i.restore();
753
755
  }
754
- }), ur = 40, dr = 4, fr = 1, pr = [
756
+ }), Cr = 40, wr = 4, Tr = 1, Er = [
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
+ ], Dr = ({ 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 = ht({
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: Tr,
783
+ right: Tr
781
784
  },
782
785
  borderSkipped: !1,
783
- borderRadius: dr,
784
- barThickness: ur,
786
+ borderRadius: wr,
787
+ barThickness: Cr,
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 ? [] : Er,
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 ? [] : [Sr(n, i)], ...u.plugins]
819
832
  };
820
- }, hr = [
833
+ }, Or = [
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
+ })), kr = /* @__PURE__ */ L({
833
846
  __name: "SChartSegmentedBar",
834
- props: {
847
+ props: /*@__PURE__*/ on({
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: () => vt.SMALL },
867
+ formatTooltip: { type: Function }
868
+ }, {
869
+ selectedIndex: { default: null },
870
+ selectedIndexModifiers: {},
871
+ selectedIndexes: { default: () => [] },
872
+ selectedIndexesModifiers: {}
873
+ }),
874
+ emits: /*@__PURE__*/ on(["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 = fn(e, "selectedIndex"), i = fn(e, "selectedIndexes"), a = n, o = dt, s = pn("chartRootRef"), c = pn("chartCanvasRef"), l = A(() => e.loading ? Or : e.segments), u = A(() => l.value.map((t, n) => jn(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) ? mt(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 = kt("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(() => Dr({
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 } = pt({
911
+ canvasRef: c,
912
+ config: C,
913
+ enabled: A(() => e.loading || f.value.length > 0)
914
+ }), { exportImage: E, handleLegendItemHover: te, pinElement: ne } = gt({
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 mn([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(_t), {
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(yt), {
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
+ }), Ar = {
908
963
  key: 0,
909
964
  class: "s-ui-chart-widget__header"
910
- }, yr = {
965
+ }, jr = {
911
966
  key: 0,
912
967
  class: "s-ui-chart-widget__title-skeleton",
913
968
  "aria-hidden": "true"
914
- }, br = {
969
+ }, Mr = {
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
+ }, Nr = { class: "s-ui-chart-widget__title s-ui-typography-label-16-medium" }, Pr = {
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
+ }, Fr = { class: "s-ui-chart-widget__controls" }, Ir = {
921
976
  key: 1,
922
977
  class: "s-ui-chart-widget__content"
923
- }, Tr = {
978
+ }, Lr = {
924
979
  key: 2,
925
980
  class: "s-ui-chart-widget__footer"
926
- }, Er = /* @__PURE__ */ F({
981
+ }, Rr = /* @__PURE__ */ L({
927
982
  __name: "SChartWidget",
928
- props: /*@__PURE__*/ nn({
983
+ props: /*@__PURE__*/ on({
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 = fn(e, "collapsed"), n = K(), { t: r } = Dn(), 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", Ar, [e.loading ? (B(), N("span", jr)) : (B(), N("span", Mr, [P("span", Nr, [U(n.$slots, "title", {}, () => [F(W(e.title), 1)])]), i.value ? (B(), N("span", Pr, [U(n.$slots, "subtitle", {}, () => [F(W(e.subtitle), 1)])])) : M("", !0)])), P("div", Fr, [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", Ir, [U(n.$slots, "default")])) : M("", !0),
1030
+ o.value ? (B(), N("div", Lr, [U(n.$slots, "footer")])) : M("", !0)
976
1031
  ], 2));
977
1032
  }
1033
+ }), zr = /* @__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
+ }({}), Br = /^(\d{4})-(\d{2})-(\d{2})/, Vr = (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 = Br.exec(e);
1042
+ return t ? {
1043
+ year: Number(t[1]),
1044
+ month: Number(t[2]) - 1,
1045
+ day: Number(t[3])
1046
+ } : null;
1047
+ }, Hr = (e, t) => new Date(e, t + 1, 0).getDate(), Ur = 12, Wr = (e, t, n = !1) => {
1048
+ if (e.year < t) return 0;
1049
+ if (e.year > t) return 100;
1050
+ let r = Hr(e.year, e.month), i = n ? e.day : e.day - 1;
1051
+ return (e.month + i / r) / Ur * 100;
1052
+ }, Gr = (e) => {
1053
+ let t = new Intl.DateTimeFormat(e, { month: "long" });
1054
+ return Array.from({ length: Ur }, (n, r) => {
1055
+ let i = t.format(new Date(2e3, r, 1));
1056
+ return i.charAt(0).toLocaleUpperCase(e) + i.slice(1);
1057
+ });
1058
+ }, Kr = (e) => Math.min(100, Math.max(0, e)), qr = (e, t, n, r, i) => e.flatMap((e) => {
1059
+ let a = Vr(e.date);
1060
+ if (!a || a.year !== n) return [];
1061
+ let o = Wr(a, n, !0), s = i > 0 ? Kr((o - r) / i * 100) : 0;
1062
+ return [{
1063
+ milestone: e,
1064
+ status: e.status ?? t,
1065
+ offset: s
1066
+ }];
1067
+ }), Jr = (e, t) => e.flatMap((e) => {
1068
+ let n = Vr(e.start), r = Vr(e.end);
1069
+ if (!n || !r || n.year > t || r.year < t) return [];
1070
+ let i = Wr(n, t), a = Wr(r, t, !0);
1071
+ if (a <= i) return [];
1072
+ let o = e.status ?? zr.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 : Kr(Math.round(e.progress)),
1079
+ milestones: qr(e.milestones ?? [], o, t, i, s)
1080
+ }];
1081
+ }), Yr = ["aria-busy"], Xr = { class: "s-ui-roadmap__ruler" }, Zr = { class: "s-ui-roadmap__year" }, Qr = { class: "s-ui-roadmap__months" }, $r = { class: "s-ui-roadmap__body" }, ei = {
1082
+ class: "s-ui-roadmap__grid",
1083
+ "aria-hidden": "true"
1084
+ }, ti = {
1085
+ key: 1,
1086
+ class: "s-ui-roadmap__rows"
1087
+ }, ni = { class: "s-ui-roadmap__row" }, ri = {
1088
+ key: 2,
1089
+ class: "s-ui-roadmap__rows"
1090
+ }, ii = [
1091
+ "role",
1092
+ "tabindex",
1093
+ "onClick",
1094
+ "onKeydown"
1095
+ ], ai = { class: "s-ui-roadmap__card-header" }, oi = { class: "s-ui-roadmap__card-title" }, si = { class: "s-ui-roadmap__card-track" }, ci = [
1096
+ "title",
1097
+ "aria-label",
1098
+ "onClick"
1099
+ ], li = {
1100
+ key: 0,
1101
+ class: "s-ui-roadmap__card-progress"
1102
+ }, ui = { class: "s-ui-roadmap__card-percent" }, di = {
1103
+ key: 3,
1104
+ class: "s-ui-roadmap__empty"
1105
+ }, fi = 3.8, pi = 39.6, mi = 16, hi = 16, gi = /* @__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 = mi / 2, i = J.stageFill, a = J.milestoneFill, o = _n.SMALL, s = vn.S_ROADMAP_CARD, c = {
1121
+ insetInlineStart: `${fi}%`,
1122
+ inlineSize: `${pi}%`
1123
+ }, { t: l, locale: u } = Dn(), d = kt("onItemClick"), f = kt("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 + hi}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(() => Vr(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(() => Gr(String(dn(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: `${Wr(y.value, b.value)}%` }), w = A(() => Jr(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% - ${mi}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", Xr, [P("div", Zr, W(b.value), 1), P("ol", Qr, [(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", $r, [
1176
+ P("div", ei, [(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", ti, [P("li", ni, [P("div", {
1187
+ class: "s-ui-roadmap__card s-ui-roadmap__card--skeleton",
1188
+ style: c,
1189
+ "aria-hidden": "true"
1190
+ }, [I(G(xn), {
1191
+ class: "s-ui-roadmap__card-skeleton",
1192
+ type: G(s)
1193
+ }, null, 8, ["type"])])])])) : w.value.length ? (B(), N("ul", ri, [(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: hn((t) => T(e.row.item), ["enter"]),
1203
+ onPointermove: n[1] ||= (e) => _(m.value, e),
1204
+ onPointerleave: v
1205
+ }, [
1206
+ P("div", ai, [U(t.$slots, "item-leading", { item: e.row.item }), P("span", oi, W(e.row.item.title), 1)]),
1207
+ P("div", si, [I(G(yn), {
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: gn((n) => E(t.placement.milestone, e.row.item), ["stop"]),
1219
+ onPointermove: n[0] ||= gn((e) => _(h.value, e), ["stop"])
1220
+ }, [I(G(yn), {
1221
+ name: G(a),
1222
+ size: 16
1223
+ }, null, 8, ["name"])], 46, ci))), 128))]),
1224
+ e.row.progress === null ? M("", !0) : (B(), N("div", li, [I(G(bn), {
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", ui, W(e.row.progress) + "%", 1)]))
1234
+ ], 46, ii)]))), 128))])) : (B(), N("div", di, [U(t.$slots, "empty", {}, () => [F(W(G(l)("roadmap.empty")), 1)])]))
1235
+ ]),
1236
+ (B(), j(rn, { 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, Yr));
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 { Mt as CALENDAR_WEEK_SLOT_COUNT, Bt 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, Lt as ESCalendarEventDirection, Ut as ESCalendarMonthDayTone, he as ESCardLayout, vt as ESChartLegendSize, Tt 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, at as ESInlineInputAppearance, Be as ESInlineMessageValidationStatus, Re as ESInputCustomize, He as ESLabelSize, Ue as ESLabelVariant, Xe as ESListGap, qe as ESListItemRole, Je as ESListItemVariant, ct as ESPhotoEditShape, lt as ESPhotoEditSize, et as ESRadioLabelPlacement, zr as ESRoadmapStatus, _e as ESSegmentControlSize, Qe as ESSelectSearchable, ye as ESTabAppearance, be as ESTabSize, Xt as ESTableCellState, $t as ESTableCheckState, Jt as ESTableColumnAlign, Wt as ESTableColumnSticky, Zt as ESTableDropAction, en as ESTableFooterTone, Gt as ESTableRowColor, Yt as ESTableRowHeightMode, nn as ESTableRowKind, Kt as ESTableRowState, qt as ESTableRowsDragMode, Qt as ESTableSortDirection, Oe as ESTagColor, ke as ESTagSize, nt as ESToggleLabelPlacement, rt as ESToggleSize, ae as ESelectionFocusMode, ne as ESelectionMode, ie as ESelectionOrientation, Nt as EWorkTimeSource, l as MAX_RECENT_COLORS, _ as RECOMMENDED_COLOR_PALETTE, c as SAvatar, S as SAvatarGroup, n as SBadge, Kn as SBanner, E as SButton, ue as SButtonGroup, Pt as SCalendarMonth, It as SCalendarWeekGrid, ge as SCard, At as SChartBar, Ot as SChartBurnup, wt as SChartHorizontalBar, yt as SChartLegend, bt as SChartLine, Dt as SChartMultiLine, Et as SChartPie, jt as SChartProgress, kr as SChartSegmentedBar, St as SChartStackedArea, Ct as SChartStackedBar, Rr as SChartWidget, me as SCheckbox, Pe as SChip, d as SColorArea, v as SColorPalette, f as SColorPicker, u as SColorValues, Rt as SDayTimeline, Ie as SDropdown, Le as SDropdownMenu, ce as SInlineGroup, ot as SInlineInput, Ve as SInlineMessage, ze as SInput, We as SLabel, Ze as SList, Ye as SListItem, ut as SPhotoEdit, tt as SRadio, gi as SRoadmap, ve as SSegmentControl, $e as SSelect, xe as STab, tn as STable, Se as STabs, Ae as STag, je as STagGroup, st as STextarea, qn as SToast, fr as SToastProvider, it as SToggle, Fe as S_DROPDOWN_SHEET_BREAKPOINT, Qn as TOAST_AUTO_DURATION_MAX_MS, Zn as TOAST_AUTO_DURATION_MIN_MS, $n as TOAST_AUTO_DURATION_MS_PER_CHAR, zt as WORK_TIME_SOURCE_COLOR_VARS, Vt as WORK_TIME_SOURCE_ORDER, Ht as buildWorkTimeLegendItems, er as computeAutoDuration, we as computeConnectedPosition, Sn as createUiKit, Ft as formatDurationHM, x as isSameColor, b as normalizeColorValue, y as resolveColorPreview, te as resolveOwnPropOrGroupedOrFallback, Cn as setUiKitLocale, wn as uiKitLocaleEn, Tn as uiKitLocaleRu, Ke as useFlatTreeList, De as useFloatingOverlay, Ge as useSListEndReached, re as useSelectionGroup, oe as useSelectionGroupItem, dr as useToast, En as useUiKitI18n };