@shtabapp/ui-kit 1.85.0 → 1.85.2

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 (968) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/components/SAvatar/SAvatar.types.cjs +60 -0
  3. package/dist/components/SAvatar/SAvatar.types.js +55 -0
  4. package/dist/components/SAvatar/SAvatar.vue.cjs +6 -0
  5. package/dist/components/SAvatar/SAvatar.vue.js +6 -0
  6. package/dist/components/SAvatar/SAvatar.vue_vue_type_script_setup_true_lang.cjs +174 -0
  7. package/dist/components/SAvatar/SAvatar.vue_vue_type_script_setup_true_lang.js +174 -0
  8. package/dist/components/SAvatar/constants/SAvatar.constants.cjs +42 -0
  9. package/dist/components/SAvatar/constants/SAvatar.constants.js +40 -0
  10. package/dist/components/SAvatar/utils/getAvatarInitialsTextColor.cjs +22 -0
  11. package/dist/components/SAvatar/utils/getAvatarInitialsTextColor.js +22 -0
  12. package/dist/components/SAvatar/utils/resolveAvatarColor.cjs +21 -0
  13. package/dist/components/SAvatar/utils/resolveAvatarColor.js +20 -0
  14. package/dist/components/SAvatar/utils/useAvatarBadge.cjs +132 -0
  15. package/dist/components/SAvatar/utils/useAvatarBadge.js +132 -0
  16. package/dist/components/SAvatarGroup/SAvatarGroup.types.cjs +9 -0
  17. package/dist/components/SAvatarGroup/SAvatarGroup.types.js +9 -0
  18. package/dist/components/SAvatarGroup/SAvatarGroup.vue.cjs +6 -0
  19. package/dist/components/SAvatarGroup/SAvatarGroup.vue.js +6 -0
  20. package/dist/components/SAvatarGroup/SAvatarGroup.vue_vue_type_script_setup_true_lang.cjs +63 -0
  21. package/dist/components/SAvatarGroup/SAvatarGroup.vue_vue_type_script_setup_true_lang.js +63 -0
  22. package/dist/components/SBadge/SBadge.types.cjs +29 -0
  23. package/dist/components/SBadge/SBadge.types.js +27 -0
  24. package/dist/components/SBadge/SBadge.vue.cjs +6 -0
  25. package/dist/components/SBadge/SBadge.vue.js +6 -0
  26. package/dist/components/SBadge/SBadge.vue_vue_type_script_setup_true_lang.cjs +120 -0
  27. package/dist/components/SBadge/SBadge.vue_vue_type_script_setup_true_lang.js +120 -0
  28. package/dist/components/SBanner/SBanner.vue.cjs +6 -0
  29. package/dist/components/SBanner/SBanner.vue.js +6 -0
  30. package/dist/components/SBanner/SBanner.vue_vue_type_script_setup_true_lang.cjs +115 -0
  31. package/dist/components/SBanner/SBanner.vue_vue_type_script_setup_true_lang.js +115 -0
  32. package/dist/components/SButton/SButton.types.cjs +27 -0
  33. package/dist/components/SButton/SButton.types.js +25 -0
  34. package/dist/components/SButton/SButton.vue.cjs +6 -0
  35. package/dist/components/SButton/SButton.vue.js +6 -0
  36. package/dist/components/SButton/SButton.vue_vue_type_script_setup_true_lang.cjs +250 -0
  37. package/dist/components/SButton/SButton.vue_vue_type_script_setup_true_lang.js +250 -0
  38. package/dist/components/SButton/utils/useButtonBadge.cjs +69 -0
  39. package/dist/components/SButton/utils/useButtonBadge.js +69 -0
  40. package/dist/components/SButtonGroup/SButtonGroup.types.cjs +8 -0
  41. package/dist/components/SButtonGroup/SButtonGroup.types.js +8 -0
  42. package/dist/components/SButtonGroup/SButtonGroup.vue.cjs +6 -0
  43. package/dist/components/SButtonGroup/SButtonGroup.vue.js +6 -0
  44. package/dist/components/SButtonGroup/SButtonGroup.vue_vue_type_script_setup_true_lang.cjs +89 -0
  45. package/dist/components/SButtonGroup/SButtonGroup.vue_vue_type_script_setup_true_lang.js +89 -0
  46. package/dist/components/SButtonGroup/utils/context.cjs +4 -0
  47. package/dist/components/SButtonGroup/utils/context.js +4 -0
  48. package/dist/components/SCalendar/utils/buildWorkTimeLegendItems.cjs +8 -0
  49. package/dist/components/SCalendar/utils/buildWorkTimeLegendItems.js +8 -0
  50. package/dist/components/SCalendar/utils/calendar.const.cjs +17 -0
  51. package/dist/components/SCalendar/utils/calendar.const.js +16 -0
  52. package/dist/components/SCalendar/utils/calendar.types.cjs +10 -0
  53. package/dist/components/SCalendar/utils/calendar.types.js +10 -0
  54. package/dist/components/SCalendar/utils/formatDurationHM.cjs +9 -0
  55. package/dist/components/SCalendar/utils/formatDurationHM.js +9 -0
  56. package/dist/components/SCalendarMonth/SCalendarMonth.types.cjs +13 -0
  57. package/dist/components/SCalendarMonth/SCalendarMonth.types.js +12 -0
  58. package/dist/components/SCalendarMonth/SCalendarMonth.vue.cjs +6 -0
  59. package/dist/components/SCalendarMonth/SCalendarMonth.vue.js +6 -0
  60. package/dist/components/SCalendarMonth/SCalendarMonth.vue_vue_type_script_setup_true_lang.cjs +196 -0
  61. package/dist/components/SCalendarMonth/SCalendarMonth.vue_vue_type_script_setup_true_lang.js +196 -0
  62. package/dist/components/SCalendarWeekGrid/SCalendarWeekGrid.types.cjs +4 -0
  63. package/dist/components/SCalendarWeekGrid/SCalendarWeekGrid.types.js +4 -0
  64. package/dist/components/SCalendarWeekGrid/SCalendarWeekGrid.vue.cjs +6 -0
  65. package/dist/components/SCalendarWeekGrid/SCalendarWeekGrid.vue.js +6 -0
  66. package/dist/components/SCalendarWeekGrid/SCalendarWeekGrid.vue_vue_type_script_setup_true_lang.cjs +101 -0
  67. package/dist/components/SCalendarWeekGrid/SCalendarWeekGrid.vue_vue_type_script_setup_true_lang.js +101 -0
  68. package/dist/components/SCard/SCard.types.cjs +8 -0
  69. package/dist/components/SCard/SCard.types.js +8 -0
  70. package/dist/components/SCard/SCard.vue.cjs +6 -0
  71. package/dist/components/SCard/SCard.vue.js +6 -0
  72. package/dist/components/SCard/SCard.vue_vue_type_script_setup_true_lang.cjs +183 -0
  73. package/dist/components/SCard/SCard.vue_vue_type_script_setup_true_lang.js +183 -0
  74. package/dist/components/SChartBar/SChartBar.vue.cjs +6 -0
  75. package/dist/components/SChartBar/SChartBar.vue.js +6 -0
  76. package/dist/components/SChartBar/SChartBar.vue_vue_type_script_setup_true_lang.cjs +151 -0
  77. package/dist/components/SChartBar/SChartBar.vue_vue_type_script_setup_true_lang.js +151 -0
  78. package/dist/components/SChartBar/utils/buildBarChartConfig.cjs +166 -0
  79. package/dist/components/SChartBar/utils/buildBarChartConfig.js +166 -0
  80. package/dist/components/SChartBar/utils/createBarTargetLinePlugin.cjs +53 -0
  81. package/dist/components/SChartBar/utils/createBarTargetLinePlugin.js +53 -0
  82. package/dist/components/SChartBar/utils/createBarValueLabelPlugin.cjs +37 -0
  83. package/dist/components/SChartBar/utils/createBarValueLabelPlugin.js +37 -0
  84. package/dist/components/SChartBar/utils/skeletonBarSeries.cjs +33 -0
  85. package/dist/components/SChartBar/utils/skeletonBarSeries.js +33 -0
  86. package/dist/components/SChartBurnup/SChartBurnup.vue.cjs +6 -0
  87. package/dist/components/SChartBurnup/SChartBurnup.vue.js +6 -0
  88. package/dist/components/SChartBurnup/SChartBurnup.vue_vue_type_script_setup_true_lang.cjs +110 -0
  89. package/dist/components/SChartBurnup/SChartBurnup.vue_vue_type_script_setup_true_lang.js +110 -0
  90. package/dist/components/SChartBurnup/utils/buildBurnupChartConfig.cjs +146 -0
  91. package/dist/components/SChartBurnup/utils/buildBurnupChartConfig.js +146 -0
  92. package/dist/components/SChartBurnup/utils/skeletonBurnupPoints.cjs +40 -0
  93. package/dist/components/SChartBurnup/utils/skeletonBurnupPoints.js +40 -0
  94. package/dist/components/SChartHorizontalBar/SChartHorizontalBar.vue.cjs +6 -0
  95. package/dist/components/SChartHorizontalBar/SChartHorizontalBar.vue.js +6 -0
  96. package/dist/components/SChartHorizontalBar/SChartHorizontalBar.vue_vue_type_script_setup_true_lang.cjs +95 -0
  97. package/dist/components/SChartHorizontalBar/SChartHorizontalBar.vue_vue_type_script_setup_true_lang.js +95 -0
  98. package/dist/components/SChartHorizontalBar/utils/buildSChartHorizontalBarConfig.cjs +5 -0
  99. package/dist/components/SChartHorizontalBar/utils/buildSChartHorizontalBarConfig.js +5 -0
  100. package/dist/components/SChartLegend/SChartLegend.types.cjs +10 -0
  101. package/dist/components/SChartLegend/SChartLegend.types.js +10 -0
  102. package/dist/components/SChartLegend/SChartLegend.vue.cjs +6 -0
  103. package/dist/components/SChartLegend/SChartLegend.vue.js +6 -0
  104. package/dist/components/SChartLegend/SChartLegend.vue_vue_type_script_setup_true_lang.cjs +101 -0
  105. package/dist/components/SChartLegend/SChartLegend.vue_vue_type_script_setup_true_lang.js +101 -0
  106. package/dist/components/SChartLine/SChartLine.vue.cjs +6 -0
  107. package/dist/components/SChartLine/SChartLine.vue.js +6 -0
  108. package/dist/components/SChartLine/SChartLine.vue_vue_type_script_setup_true_lang.cjs +93 -0
  109. package/dist/components/SChartLine/SChartLine.vue_vue_type_script_setup_true_lang.js +93 -0
  110. package/dist/components/SChartLine/utils/buildLineChartConfig.cjs +95 -0
  111. package/dist/components/SChartLine/utils/buildLineChartConfig.js +95 -0
  112. package/dist/components/SChartLine/utils/skeletonChartPoints.cjs +29 -0
  113. package/dist/components/SChartLine/utils/skeletonChartPoints.js +29 -0
  114. package/dist/components/SChartMultiLine/SChartMultiLine.vue.cjs +6 -0
  115. package/dist/components/SChartMultiLine/SChartMultiLine.vue.js +6 -0
  116. package/dist/components/SChartMultiLine/SChartMultiLine.vue_vue_type_script_setup_true_lang.cjs +155 -0
  117. package/dist/components/SChartMultiLine/SChartMultiLine.vue_vue_type_script_setup_true_lang.js +155 -0
  118. package/dist/components/SChartMultiLine/utils/buildMultiLineChartConfig.cjs +148 -0
  119. package/dist/components/SChartMultiLine/utils/buildMultiLineChartConfig.js +148 -0
  120. package/dist/components/SChartMultiLine/utils/skeletonMultiLineSeries.cjs +48 -0
  121. package/dist/components/SChartMultiLine/utils/skeletonMultiLineSeries.js +48 -0
  122. package/dist/components/SChartPie/SChartPie.types.cjs +10 -0
  123. package/dist/components/SChartPie/SChartPie.types.js +10 -0
  124. package/dist/components/SChartPie/SChartPie.vue.cjs +6 -0
  125. package/dist/components/SChartPie/SChartPie.vue.js +6 -0
  126. package/dist/components/SChartPie/SChartPie.vue_vue_type_script_setup_true_lang.cjs +219 -0
  127. package/dist/components/SChartPie/SChartPie.vue_vue_type_script_setup_true_lang.js +219 -0
  128. package/dist/components/SChartPie/utils/buildPieChartConfig.cjs +67 -0
  129. package/dist/components/SChartPie/utils/buildPieChartConfig.js +67 -0
  130. package/dist/components/SChartPie/utils/skeletonPieSlices.cjs +27 -0
  131. package/dist/components/SChartPie/utils/skeletonPieSlices.js +27 -0
  132. package/dist/components/SChartProgress/SChartProgress.vue.cjs +6 -0
  133. package/dist/components/SChartProgress/SChartProgress.vue.js +6 -0
  134. package/dist/components/SChartProgress/SChartProgress.vue_vue_type_script_setup_true_lang.cjs +85 -0
  135. package/dist/components/SChartProgress/SChartProgress.vue_vue_type_script_setup_true_lang.js +85 -0
  136. package/dist/components/SChartProgress/utils/buildProgressChartConfig.cjs +111 -0
  137. package/dist/components/SChartProgress/utils/buildProgressChartConfig.js +111 -0
  138. package/dist/components/SChartProgress/utils/buildProgressChartData.cjs +32 -0
  139. package/dist/components/SChartProgress/utils/buildProgressChartData.js +32 -0
  140. package/dist/components/SChartProgress/utils/formatProgressChartDate.cjs +8 -0
  141. package/dist/components/SChartProgress/utils/formatProgressChartDate.js +8 -0
  142. package/dist/components/SChartProgress/utils/resolveProgressChartPointStyle.cjs +25 -0
  143. package/dist/components/SChartProgress/utils/resolveProgressChartPointStyle.js +24 -0
  144. package/dist/components/SChartProgress/utils/skeletonProgressSnapshots.cjs +29 -0
  145. package/dist/components/SChartProgress/utils/skeletonProgressSnapshots.js +29 -0
  146. package/dist/components/SChartScatter/SChartScatter.vue.cjs +6 -0
  147. package/dist/components/SChartScatter/SChartScatter.vue.js +6 -0
  148. package/dist/components/SChartScatter/SChartScatter.vue_vue_type_script_setup_true_lang.cjs +109 -0
  149. package/dist/components/SChartScatter/SChartScatter.vue_vue_type_script_setup_true_lang.js +109 -0
  150. package/dist/components/SChartScatter/utils/buildScatterChartConfig.cjs +181 -0
  151. package/dist/components/SChartScatter/utils/buildScatterChartConfig.js +181 -0
  152. package/dist/components/SChartScatter/utils/skeletonScatter.cjs +24 -0
  153. package/dist/components/SChartScatter/utils/skeletonScatter.js +23 -0
  154. package/dist/components/SChartSegmentedBar/SChartSegmentedBar.vue.cjs +6 -0
  155. package/dist/components/SChartSegmentedBar/SChartSegmentedBar.vue.js +6 -0
  156. package/dist/components/SChartSegmentedBar/SChartSegmentedBar.vue_vue_type_script_setup_true_lang.cjs +174 -0
  157. package/dist/components/SChartSegmentedBar/SChartSegmentedBar.vue_vue_type_script_setup_true_lang.js +174 -0
  158. package/dist/components/SChartSegmentedBar/utils/buildSegmentedBarChartConfig.cjs +91 -0
  159. package/dist/components/SChartSegmentedBar/utils/buildSegmentedBarChartConfig.js +91 -0
  160. package/dist/components/SChartSegmentedBar/utils/createSegmentedBarBadgePlugin.cjs +84 -0
  161. package/dist/components/SChartSegmentedBar/utils/createSegmentedBarBadgePlugin.js +84 -0
  162. package/dist/components/SChartSegmentedBar/utils/skeletonSegments.cjs +15 -0
  163. package/dist/components/SChartSegmentedBar/utils/skeletonSegments.js +15 -0
  164. package/dist/components/SChartSkeletonHost/SChartSkeletonHost.types.cjs +8 -0
  165. package/dist/components/SChartSkeletonHost/SChartSkeletonHost.types.js +8 -0
  166. package/dist/components/SChartSkeletonHost/SChartSkeletonHost.vue.cjs +6 -0
  167. package/dist/components/SChartSkeletonHost/SChartSkeletonHost.vue.js +6 -0
  168. package/dist/components/SChartSkeletonHost/SChartSkeletonHost.vue_vue_type_script_setup_true_lang.cjs +32 -0
  169. package/dist/components/SChartSkeletonHost/SChartSkeletonHost.vue_vue_type_script_setup_true_lang.js +32 -0
  170. package/dist/components/SChartStackedArea/SChartStackedArea.vue.cjs +6 -0
  171. package/dist/components/SChartStackedArea/SChartStackedArea.vue.js +6 -0
  172. package/dist/components/SChartStackedArea/SChartStackedArea.vue_vue_type_script_setup_true_lang.cjs +101 -0
  173. package/dist/components/SChartStackedArea/SChartStackedArea.vue_vue_type_script_setup_true_lang.js +101 -0
  174. package/dist/components/SChartStackedArea/utils/buildStackedAreaChartConfig.cjs +114 -0
  175. package/dist/components/SChartStackedArea/utils/buildStackedAreaChartConfig.js +114 -0
  176. package/dist/components/SChartStackedArea/utils/skeletonStackedSeries.cjs +108 -0
  177. package/dist/components/SChartStackedArea/utils/skeletonStackedSeries.js +108 -0
  178. package/dist/components/SChartStackedBar/SChartStackedBar.vue.cjs +6 -0
  179. package/dist/components/SChartStackedBar/SChartStackedBar.vue.js +6 -0
  180. package/dist/components/SChartStackedBar/SChartStackedBar.vue_vue_type_script_setup_true_lang.cjs +126 -0
  181. package/dist/components/SChartStackedBar/SChartStackedBar.vue_vue_type_script_setup_true_lang.js +126 -0
  182. package/dist/components/SChartStackedBar/utils/buildStackedBarChartConfig.cjs +147 -0
  183. package/dist/components/SChartStackedBar/utils/buildStackedBarChartConfig.js +147 -0
  184. package/dist/components/SChartStackedBar/utils/createStackedBarTotalsPlugin.cjs +46 -0
  185. package/dist/components/SChartStackedBar/utils/createStackedBarTotalsPlugin.js +46 -0
  186. package/dist/components/SChartStackedBar/utils/createStackedBarTrendPlugin.cjs +45 -0
  187. package/dist/components/SChartStackedBar/utils/createStackedBarTrendPlugin.js +44 -0
  188. package/dist/components/SChartStackedBar/utils/skeletonStackedBarSeries.cjs +79 -0
  189. package/dist/components/SChartStackedBar/utils/skeletonStackedBarSeries.js +79 -0
  190. package/dist/components/SChartWidget/SChartWidget.vue.cjs +6 -0
  191. package/dist/components/SChartWidget/SChartWidget.vue.js +6 -0
  192. package/dist/components/SChartWidget/SChartWidget.vue_vue_type_script_setup_true_lang.cjs +96 -0
  193. package/dist/components/SChartWidget/SChartWidget.vue_vue_type_script_setup_true_lang.js +96 -0
  194. package/dist/components/SCheckbox/SCheckbox.types.cjs +20 -0
  195. package/dist/components/SCheckbox/SCheckbox.types.js +18 -0
  196. package/dist/components/SCheckbox/SCheckbox.vue.cjs +6 -0
  197. package/dist/components/SCheckbox/SCheckbox.vue.js +6 -0
  198. package/dist/components/SCheckbox/SCheckbox.vue_vue_type_script_setup_true_lang.cjs +124 -0
  199. package/dist/components/SCheckbox/SCheckbox.vue_vue_type_script_setup_true_lang.js +124 -0
  200. package/dist/components/SChip/SChip.types.cjs +17 -0
  201. package/dist/components/SChip/SChip.types.js +16 -0
  202. package/dist/components/SChip/SChip.vue.cjs +6 -0
  203. package/dist/components/SChip/SChip.vue.js +6 -0
  204. package/dist/components/SChip/SChip.vue_vue_type_script_setup_true_lang.cjs +135 -0
  205. package/dist/components/SChip/SChip.vue_vue_type_script_setup_true_lang.js +135 -0
  206. package/dist/components/SColorPalette/SColorPalette.types.cjs +8 -0
  207. package/dist/components/SColorPalette/SColorPalette.types.js +8 -0
  208. package/dist/components/SColorPalette/SColorPalette.vue.cjs +6 -0
  209. package/dist/components/SColorPalette/SColorPalette.vue.js +6 -0
  210. package/dist/components/SColorPalette/SColorPalette.vue_vue_type_script_setup_true_lang.cjs +162 -0
  211. package/dist/components/SColorPalette/SColorPalette.vue_vue_type_script_setup_true_lang.js +162 -0
  212. package/dist/components/SColorPicker/SColorPicker.vue.cjs +6 -0
  213. package/dist/components/SColorPicker/SColorPicker.vue.js +6 -0
  214. package/dist/components/SColorPicker/SColorPicker.vue_vue_type_script_setup_true_lang.cjs +209 -0
  215. package/dist/components/SColorPicker/SColorPicker.vue_vue_type_script_setup_true_lang.js +209 -0
  216. package/dist/components/SColorPicker/constants/SColorPicker.constants.cjs +4 -0
  217. package/dist/components/SColorPicker/constants/SColorPicker.constants.js +4 -0
  218. package/dist/components/SColorPicker/parts/SColorArea.vue.cjs +6 -0
  219. package/dist/components/SColorPicker/parts/SColorArea.vue.js +6 -0
  220. package/dist/components/SColorPicker/parts/SColorArea.vue_vue_type_script_setup_true_lang.cjs +94 -0
  221. package/dist/components/SColorPicker/parts/SColorArea.vue_vue_type_script_setup_true_lang.js +94 -0
  222. package/dist/components/SColorPicker/parts/SColorValues.vue.cjs +6 -0
  223. package/dist/components/SColorPicker/parts/SColorValues.vue.js +6 -0
  224. package/dist/components/SColorPicker/parts/SColorValues.vue_vue_type_script_setup_true_lang.cjs +266 -0
  225. package/dist/components/SColorPicker/parts/SColorValues.vue_vue_type_script_setup_true_lang.js +266 -0
  226. package/dist/components/SColorPicker/utils/resolveColorSwatchFillElement.cjs +10 -0
  227. package/dist/components/SColorPicker/utils/resolveColorSwatchFillElement.js +10 -0
  228. package/dist/components/SColorPicker/utils/useColorArea.cjs +156 -0
  229. package/dist/components/SColorPicker/utils/useColorArea.js +156 -0
  230. package/dist/components/SDayTimeline/SDayTimeline.types.cjs +5 -0
  231. package/dist/components/SDayTimeline/SDayTimeline.types.js +5 -0
  232. package/dist/components/SDayTimeline/SDayTimeline.vue.cjs +6 -0
  233. package/dist/components/SDayTimeline/SDayTimeline.vue.js +6 -0
  234. package/dist/components/SDayTimeline/SDayTimeline.vue_vue_type_script_setup_true_lang.cjs +229 -0
  235. package/dist/components/SDayTimeline/SDayTimeline.vue_vue_type_script_setup_true_lang.js +229 -0
  236. package/dist/components/SDropdown/SDropdown.types.cjs +6 -0
  237. package/dist/components/SDropdown/SDropdown.types.js +6 -0
  238. package/dist/components/SDropdown/SDropdown.vue.cjs +6 -0
  239. package/dist/components/SDropdown/SDropdown.vue.js +6 -0
  240. package/dist/components/SDropdown/SDropdown.vue_vue_type_script_setup_true_lang.cjs +307 -0
  241. package/dist/components/SDropdown/SDropdown.vue_vue_type_script_setup_true_lang.js +307 -0
  242. package/dist/components/SDropdown/parts/SDropdownSheet.vue.cjs +6 -0
  243. package/dist/components/SDropdown/parts/SDropdownSheet.vue.js +6 -0
  244. package/dist/components/SDropdown/parts/SDropdownSheet.vue_vue_type_script_setup_true_lang.cjs +135 -0
  245. package/dist/components/SDropdown/parts/SDropdownSheet.vue_vue_type_script_setup_true_lang.js +135 -0
  246. package/dist/components/SDropdown/utils/context.cjs +4 -0
  247. package/dist/components/SDropdown/utils/context.js +4 -0
  248. package/dist/components/SDropdown/utils/dropdownFocusables.cjs +58 -0
  249. package/dist/components/SDropdown/utils/dropdownFocusables.js +54 -0
  250. package/dist/components/SDropdown/utils/resolveTriggerReference.cjs +11 -0
  251. package/dist/components/SDropdown/utils/resolveTriggerReference.js +11 -0
  252. package/dist/components/SDropdown/utils/useDropdownFocus.cjs +145 -0
  253. package/dist/components/SDropdown/utils/useDropdownFocus.js +145 -0
  254. package/dist/components/SDropdown/utils/useDropdownPanelTransition.cjs +30 -0
  255. package/dist/components/SDropdown/utils/useDropdownPanelTransition.js +30 -0
  256. package/dist/components/SDropdown/utils/useDropdownSheetMode.cjs +16 -0
  257. package/dist/components/SDropdown/utils/useDropdownSheetMode.js +16 -0
  258. package/dist/components/SDropdown/utils/useDropdownTree.cjs +42 -0
  259. package/dist/components/SDropdown/utils/useDropdownTree.js +42 -0
  260. package/dist/components/SDropdown/utils/useSheetDrag.cjs +124 -0
  261. package/dist/components/SDropdown/utils/useSheetDrag.js +124 -0
  262. package/dist/components/SDropdownMenu/SDropdownMenu.vue.cjs +6 -0
  263. package/dist/components/SDropdownMenu/SDropdownMenu.vue.js +6 -0
  264. package/dist/components/SDropdownMenu/SDropdownMenu.vue_vue_type_script_setup_true_lang.cjs +49 -0
  265. package/dist/components/SDropdownMenu/SDropdownMenu.vue_vue_type_script_setup_true_lang.js +49 -0
  266. package/dist/components/SInlineGroup/SInlineGroup.types.cjs +8 -0
  267. package/dist/components/SInlineGroup/SInlineGroup.types.js +8 -0
  268. package/dist/components/SInlineGroup/SInlineGroup.vue.cjs +6 -0
  269. package/dist/components/SInlineGroup/SInlineGroup.vue.js +6 -0
  270. package/dist/components/SInlineGroup/SInlineGroup.vue_vue_type_script_setup_true_lang.cjs +17 -0
  271. package/dist/components/SInlineGroup/SInlineGroup.vue_vue_type_script_setup_true_lang.js +17 -0
  272. package/dist/components/SInlineInput/SInlineInput.types.cjs +8 -0
  273. package/dist/components/SInlineInput/SInlineInput.types.js +8 -0
  274. package/dist/components/SInlineInput/SInlineInput.vue.cjs +6 -0
  275. package/dist/components/SInlineInput/SInlineInput.vue.js +6 -0
  276. package/dist/components/SInlineInput/SInlineInput.vue_vue_type_script_setup_true_lang.cjs +167 -0
  277. package/dist/components/SInlineInput/SInlineInput.vue_vue_type_script_setup_true_lang.js +167 -0
  278. package/dist/components/SInlineInput/utils/inlineInputTextPatterns.cjs +7 -0
  279. package/dist/components/SInlineInput/utils/inlineInputTextPatterns.js +5 -0
  280. package/dist/components/SInlineInput/utils/useCursorManagement.cjs +122 -0
  281. package/dist/components/SInlineInput/utils/useCursorManagement.js +122 -0
  282. package/dist/components/SInlineInput/utils/useInlineInput.cjs +309 -0
  283. package/dist/components/SInlineInput/utils/useInlineInput.js +309 -0
  284. package/dist/components/SInlineInput/utils/useStringHistory.cjs +115 -0
  285. package/dist/components/SInlineInput/utils/useStringHistory.js +115 -0
  286. package/dist/components/SInlineMessage/SInlineMessage.types.cjs +8 -0
  287. package/dist/components/SInlineMessage/SInlineMessage.types.js +8 -0
  288. package/dist/components/SInlineMessage/SInlineMessage.vue.cjs +6 -0
  289. package/dist/components/SInlineMessage/SInlineMessage.vue.js +6 -0
  290. package/dist/components/SInlineMessage/SInlineMessage.vue_vue_type_script_setup_true_lang.cjs +20 -0
  291. package/dist/components/SInlineMessage/SInlineMessage.vue_vue_type_script_setup_true_lang.js +20 -0
  292. package/dist/components/SInput/SInput.types.cjs +9 -0
  293. package/dist/components/SInput/SInput.types.js +9 -0
  294. package/dist/components/SInput/SInput.vue.cjs +6 -0
  295. package/dist/components/SInput/SInput.vue.js +6 -0
  296. package/dist/components/SInput/SInput.vue_vue_type_script_setup_true_lang.cjs +309 -0
  297. package/dist/components/SInput/SInput.vue_vue_type_script_setup_true_lang.js +309 -0
  298. package/dist/components/SInput/utils/fieldLabelId.cjs +8 -0
  299. package/dist/components/SInput/utils/fieldLabelId.js +8 -0
  300. package/dist/components/SLabel/SLabel.types.cjs +17 -0
  301. package/dist/components/SLabel/SLabel.types.js +16 -0
  302. package/dist/components/SLabel/SLabel.vue.cjs +6 -0
  303. package/dist/components/SLabel/SLabel.vue.js +6 -0
  304. package/dist/components/SLabel/SLabel.vue_vue_type_script_setup_true_lang.cjs +76 -0
  305. package/dist/components/SLabel/SLabel.vue_vue_type_script_setup_true_lang.js +76 -0
  306. package/dist/components/SList/SList.types.cjs +15 -0
  307. package/dist/components/SList/SList.types.js +15 -0
  308. package/dist/components/SList/SList.vue.cjs +6 -0
  309. package/dist/components/SList/SList.vue.js +6 -0
  310. package/dist/components/SList/SList.vue_vue_type_script_setup_true_lang.cjs +631 -0
  311. package/dist/components/SList/SList.vue_vue_type_script_setup_true_lang.js +631 -0
  312. package/dist/components/SList/utils/context.cjs +4 -0
  313. package/dist/components/SList/utils/context.js +4 -0
  314. package/dist/components/SList/utils/listGapTokens.cjs +29 -0
  315. package/dist/components/SList/utils/listGapTokens.js +27 -0
  316. package/dist/components/SList/utils/listOptionId.cjs +6 -0
  317. package/dist/components/SList/utils/listOptionId.js +6 -0
  318. package/dist/components/SList/utils/resolveListItemFields.cjs +22 -0
  319. package/dist/components/SList/utils/resolveListItemFields.js +20 -0
  320. package/dist/components/SListItem/SListItem.types.cjs +29 -0
  321. package/dist/components/SListItem/SListItem.types.js +28 -0
  322. package/dist/components/SListItem/SListItem.vue.cjs +6 -0
  323. package/dist/components/SListItem/SListItem.vue.js +6 -0
  324. package/dist/components/SListItem/SListItem.vue_vue_type_script_setup_true_lang.cjs +347 -0
  325. package/dist/components/SListItem/SListItem.vue_vue_type_script_setup_true_lang.js +347 -0
  326. package/dist/components/SListItem/utils/listItemAria.cjs +47 -0
  327. package/dist/components/SListItem/utils/listItemAria.js +47 -0
  328. package/dist/components/SNotification/SNotification.types.cjs +30 -0
  329. package/dist/components/SNotification/SNotification.types.js +27 -0
  330. package/dist/components/SNotification/SNotification.vue.cjs +6 -0
  331. package/dist/components/SNotification/SNotification.vue.js +6 -0
  332. package/dist/components/SNotification/SNotification.vue_vue_type_script_setup_true_lang.cjs +271 -0
  333. package/dist/components/SNotification/SNotification.vue_vue_type_script_setup_true_lang.js +271 -0
  334. package/dist/components/SNotification/resolveNotificationIcon.cjs +17 -0
  335. package/dist/components/SNotification/resolveNotificationIcon.js +17 -0
  336. package/dist/components/SOverflowGroup/SOverflowGroup.vue.cjs +4 -0
  337. package/dist/components/SOverflowGroup/SOverflowGroup.vue.js +5 -0
  338. package/dist/components/SOverflowGroup/SOverflowGroup.vue_vue_type_script_setup_true_lang.cjs +46 -0
  339. package/dist/components/SOverflowGroup/SOverflowGroup.vue_vue_type_script_setup_true_lang.js +46 -0
  340. package/dist/components/SPhotoEdit/SPhotoEdit.types.cjs +15 -0
  341. package/dist/components/SPhotoEdit/SPhotoEdit.types.js +14 -0
  342. package/dist/components/SPhotoEdit/SPhotoEdit.vue.cjs +6 -0
  343. package/dist/components/SPhotoEdit/SPhotoEdit.vue.js +6 -0
  344. package/dist/components/SPhotoEdit/SPhotoEdit.vue_vue_type_script_setup_true_lang.cjs +185 -0
  345. package/dist/components/SPhotoEdit/SPhotoEdit.vue_vue_type_script_setup_true_lang.js +185 -0
  346. package/dist/components/SRadio/SRadio.types.cjs +8 -0
  347. package/dist/components/SRadio/SRadio.types.js +8 -0
  348. package/dist/components/SRadio/SRadio.vue.cjs +6 -0
  349. package/dist/components/SRadio/SRadio.vue.js +6 -0
  350. package/dist/components/SRadio/SRadio.vue_vue_type_script_setup_true_lang.cjs +77 -0
  351. package/dist/components/SRadio/SRadio.vue_vue_type_script_setup_true_lang.js +77 -0
  352. package/dist/components/SRoadmap/SRoadmap.types.cjs +13 -0
  353. package/dist/components/SRoadmap/SRoadmap.types.js +13 -0
  354. package/dist/components/SRoadmap/SRoadmap.vue.cjs +6 -0
  355. package/dist/components/SRoadmap/SRoadmap.vue.js +6 -0
  356. package/dist/components/SRoadmap/SRoadmap.vue_vue_type_script_setup_true_lang.cjs +231 -0
  357. package/dist/components/SRoadmap/SRoadmap.vue_vue_type_script_setup_true_lang.js +231 -0
  358. package/dist/components/SRoadmap/utils/buildRoadmapRows.cjs +35 -0
  359. package/dist/components/SRoadmap/utils/buildRoadmapRows.js +35 -0
  360. package/dist/components/SRoadmap/utils/roadmapDate.cjs +40 -0
  361. package/dist/components/SRoadmap/utils/roadmapDate.js +38 -0
  362. package/dist/components/SSegmentControl/SSegmentControl.types.cjs +16 -0
  363. package/dist/components/SSegmentControl/SSegmentControl.types.js +15 -0
  364. package/dist/components/SSegmentControl/SSegmentControl.vue.cjs +6 -0
  365. package/dist/components/SSegmentControl/SSegmentControl.vue.js +6 -0
  366. package/dist/components/SSegmentControl/SSegmentControl.vue_vue_type_script_setup_true_lang.cjs +108 -0
  367. package/dist/components/SSegmentControl/SSegmentControl.vue_vue_type_script_setup_true_lang.js +108 -0
  368. package/dist/components/SSegmentControl/SSegmentControlItem.vue.cjs +4 -0
  369. package/dist/components/SSegmentControl/SSegmentControlItem.vue.js +5 -0
  370. package/dist/components/SSegmentControl/SSegmentControlItem.vue_vue_type_script_setup_true_lang.cjs +144 -0
  371. package/dist/components/SSegmentControl/SSegmentControlItem.vue_vue_type_script_setup_true_lang.js +144 -0
  372. package/dist/components/SSegmentControl/utils/context.cjs +4 -0
  373. package/dist/components/SSegmentControl/utils/context.js +4 -0
  374. package/dist/components/SSegmentControl/utils/useSegmentIndicator.cjs +45 -0
  375. package/dist/components/SSegmentControl/utils/useSegmentIndicator.js +45 -0
  376. package/dist/components/SSelect/SSelect.types.cjs +8 -0
  377. package/dist/components/SSelect/SSelect.types.js +8 -0
  378. package/dist/components/SSelect/SSelect.vue.cjs +6 -0
  379. package/dist/components/SSelect/SSelect.vue.js +6 -0
  380. package/dist/components/SSelect/SSelect.vue_vue_type_script_setup_true_lang.cjs +710 -0
  381. package/dist/components/SSelect/SSelect.vue_vue_type_script_setup_true_lang.js +710 -0
  382. package/dist/components/SSelect/utils/buildSelectListItemProps.cjs +18 -0
  383. package/dist/components/SSelect/utils/buildSelectListItemProps.js +18 -0
  384. package/dist/components/SSelect/utils/resolveSelectItemValue.cjs +35 -0
  385. package/dist/components/SSelect/utils/resolveSelectItemValue.js +30 -0
  386. package/dist/components/SSelect/utils/useSelectState.cjs +192 -0
  387. package/dist/components/SSelect/utils/useSelectState.js +192 -0
  388. package/dist/components/STab/STab.types.cjs +14 -0
  389. package/dist/components/STab/STab.types.js +13 -0
  390. package/dist/components/STab/STab.vue.cjs +6 -0
  391. package/dist/components/STab/STab.vue.js +6 -0
  392. package/dist/components/STab/STab.vue_vue_type_script_setup_true_lang.cjs +366 -0
  393. package/dist/components/STab/STab.vue_vue_type_script_setup_true_lang.js +366 -0
  394. package/dist/components/STable/STable.types.cjs +99 -0
  395. package/dist/components/STable/STable.types.js +88 -0
  396. package/dist/components/STable/STable.vue.cjs +6 -0
  397. package/dist/components/STable/STable.vue.js +6 -0
  398. package/dist/components/STable/STable.vue_vue_type_script_setup_true_lang.cjs +1355 -0
  399. package/dist/components/STable/STable.vue_vue_type_script_setup_true_lang.js +1355 -0
  400. package/dist/components/STable/constants/tableSizes.cjs +36 -0
  401. package/dist/components/STable/constants/tableSizes.js +29 -0
  402. package/dist/components/STable/parts/STableCellText.vue.cjs +4 -0
  403. package/dist/components/STable/parts/STableCellText.vue.js +5 -0
  404. package/dist/components/STable/parts/STableCellText.vue_vue_type_script_setup_true_lang.cjs +31 -0
  405. package/dist/components/STable/parts/STableCellText.vue_vue_type_script_setup_true_lang.js +31 -0
  406. package/dist/components/STable/parts/STableCheckbox.vue.cjs +4 -0
  407. package/dist/components/STable/parts/STableCheckbox.vue.js +5 -0
  408. package/dist/components/STable/parts/STableCheckbox.vue_vue_type_script_setup_true_lang.cjs +56 -0
  409. package/dist/components/STable/parts/STableCheckbox.vue_vue_type_script_setup_true_lang.js +56 -0
  410. package/dist/components/STable/parts/STableContentRow.vue.cjs +4 -0
  411. package/dist/components/STable/parts/STableContentRow.vue.js +5 -0
  412. package/dist/components/STable/parts/STableContentRow.vue_vue_type_script_setup_true_lang.cjs +55 -0
  413. package/dist/components/STable/parts/STableContentRow.vue_vue_type_script_setup_true_lang.js +55 -0
  414. package/dist/components/STable/parts/STableGroupRow.vue.cjs +4 -0
  415. package/dist/components/STable/parts/STableGroupRow.vue.js +5 -0
  416. package/dist/components/STable/parts/STableGroupRow.vue_vue_type_script_setup_true_lang.cjs +210 -0
  417. package/dist/components/STable/parts/STableGroupRow.vue_vue_type_script_setup_true_lang.js +210 -0
  418. package/dist/components/STable/parts/STableHeaderCell.vue.cjs +4 -0
  419. package/dist/components/STable/parts/STableHeaderCell.vue.js +5 -0
  420. package/dist/components/STable/parts/STableHeaderCell.vue_vue_type_script_setup_true_lang.cjs +201 -0
  421. package/dist/components/STable/parts/STableHeaderCell.vue_vue_type_script_setup_true_lang.js +201 -0
  422. package/dist/components/STable/parts/STableHint.vue.cjs +4 -0
  423. package/dist/components/STable/parts/STableHint.vue.js +5 -0
  424. package/dist/components/STable/parts/STableHint.vue_vue_type_script_setup_true_lang.cjs +31 -0
  425. package/dist/components/STable/parts/STableHint.vue_vue_type_script_setup_true_lang.js +31 -0
  426. package/dist/components/STable/parts/STablePlaceholderRow.vue.cjs +4 -0
  427. package/dist/components/STable/parts/STablePlaceholderRow.vue.js +5 -0
  428. package/dist/components/STable/parts/STablePlaceholderRow.vue_vue_type_script_setup_true_lang.cjs +53 -0
  429. package/dist/components/STable/parts/STablePlaceholderRow.vue_vue_type_script_setup_true_lang.js +53 -0
  430. package/dist/components/STable/parts/STableRow.vue.cjs +4 -0
  431. package/dist/components/STable/parts/STableRow.vue.js +5 -0
  432. package/dist/components/STable/parts/STableRow.vue_vue_type_script_setup_true_lang.cjs +360 -0
  433. package/dist/components/STable/parts/STableRow.vue_vue_type_script_setup_true_lang.js +360 -0
  434. package/dist/components/STable/parts/STableSkeletonRow.vue.cjs +4 -0
  435. package/dist/components/STable/parts/STableSkeletonRow.vue.js +5 -0
  436. package/dist/components/STable/parts/STableSkeletonRow.vue_vue_type_script_setup_true_lang.cjs +47 -0
  437. package/dist/components/STable/parts/STableSkeletonRow.vue_vue_type_script_setup_true_lang.js +47 -0
  438. package/dist/components/STable/utils/resolveTableRowColor.cjs +19 -0
  439. package/dist/components/STable/utils/resolveTableRowColor.js +18 -0
  440. package/dist/components/STable/utils/tableDndShared.cjs +15 -0
  441. package/dist/components/STable/utils/tableDndShared.js +12 -0
  442. package/dist/components/STable/utils/useFlatTableRows.cjs +252 -0
  443. package/dist/components/STable/utils/useFlatTableRows.js +249 -0
  444. package/dist/components/STable/utils/useTableCellPlans.cjs +118 -0
  445. package/dist/components/STable/utils/useTableCellPlans.js +118 -0
  446. package/dist/components/STable/utils/useTableColumnDnd.cjs +155 -0
  447. package/dist/components/STable/utils/useTableColumnDnd.js +155 -0
  448. package/dist/components/STable/utils/useTableColumnResize.cjs +144 -0
  449. package/dist/components/STable/utils/useTableColumnResize.js +144 -0
  450. package/dist/components/STable/utils/useTableColumns.cjs +311 -0
  451. package/dist/components/STable/utils/useTableColumns.js +309 -0
  452. package/dist/components/STable/utils/useTableGridFocus.cjs +400 -0
  453. package/dist/components/STable/utils/useTableGridFocus.js +398 -0
  454. package/dist/components/STable/utils/useTableGridKeyboard.cjs +224 -0
  455. package/dist/components/STable/utils/useTableGridKeyboard.js +224 -0
  456. package/dist/components/STable/utils/useTableRenderEntries.cjs +115 -0
  457. package/dist/components/STable/utils/useTableRenderEntries.js +115 -0
  458. package/dist/components/STable/utils/useTableRowDnd.cjs +308 -0
  459. package/dist/components/STable/utils/useTableRowDnd.js +308 -0
  460. package/dist/components/STable/utils/useTableRowHydration.cjs +136 -0
  461. package/dist/components/STable/utils/useTableRowHydration.js +136 -0
  462. package/dist/components/STable/utils/useTableScrollScale.cjs +222 -0
  463. package/dist/components/STable/utils/useTableScrollScale.js +222 -0
  464. package/dist/components/STable/utils/useTableSelection.cjs +137 -0
  465. package/dist/components/STable/utils/useTableSelection.js +137 -0
  466. package/dist/components/STable/utils/useTableServiceRows.cjs +125 -0
  467. package/dist/components/STable/utils/useTableServiceRows.js +125 -0
  468. package/dist/components/STable/utils/useTableSorting.cjs +89 -0
  469. package/dist/components/STable/utils/useTableSorting.js +89 -0
  470. package/dist/components/STable/utils/useTableStickyRows.cjs +132 -0
  471. package/dist/components/STable/utils/useTableStickyRows.js +132 -0
  472. package/dist/components/STable/utils/useTableStyleVars.cjs +41 -0
  473. package/dist/components/STable/utils/useTableStyleVars.js +41 -0
  474. package/dist/components/STable/utils/useTableVirtualRows.cjs +251 -0
  475. package/dist/components/STable/utils/useTableVirtualRows.js +251 -0
  476. package/dist/components/STabs/STabs.vue.cjs +6 -0
  477. package/dist/components/STabs/STabs.vue.js +6 -0
  478. package/dist/components/STabs/STabs.vue_vue_type_script_setup_true_lang.cjs +133 -0
  479. package/dist/components/STabs/STabs.vue_vue_type_script_setup_true_lang.js +133 -0
  480. package/dist/components/STabs/utils/context.cjs +4 -0
  481. package/dist/components/STabs/utils/context.js +4 -0
  482. package/dist/components/STabs/utils/useTabsIndicator.cjs +53 -0
  483. package/dist/components/STabs/utils/useTabsIndicator.js +53 -0
  484. package/dist/components/STag/STag.types.cjs +28 -0
  485. package/dist/components/STag/STag.types.js +27 -0
  486. package/dist/components/STag/STag.vue.cjs +6 -0
  487. package/dist/components/STag/STag.vue.js +6 -0
  488. package/dist/components/STag/STag.vue_vue_type_script_setup_true_lang.cjs +163 -0
  489. package/dist/components/STag/STag.vue_vue_type_script_setup_true_lang.js +163 -0
  490. package/dist/components/STag/utils/resolveTagColor.cjs +19 -0
  491. package/dist/components/STag/utils/resolveTagColor.js +17 -0
  492. package/dist/components/STagGroup/STagGroup.vue.cjs +6 -0
  493. package/dist/components/STagGroup/STagGroup.vue.js +6 -0
  494. package/dist/components/STagGroup/STagGroup.vue_vue_type_script_setup_true_lang.cjs +49 -0
  495. package/dist/components/STagGroup/STagGroup.vue_vue_type_script_setup_true_lang.js +49 -0
  496. package/dist/components/STagGroup/utils/applyTagGroupItemProps.cjs +13 -0
  497. package/dist/components/STagGroup/utils/applyTagGroupItemProps.js +13 -0
  498. package/dist/components/STextarea/STextarea.vue.cjs +6 -0
  499. package/dist/components/STextarea/STextarea.vue.js +6 -0
  500. package/dist/components/STextarea/STextarea.vue_vue_type_script_setup_true_lang.cjs +237 -0
  501. package/dist/components/STextarea/STextarea.vue_vue_type_script_setup_true_lang.js +237 -0
  502. package/dist/components/SToast/SToast.vue.cjs +6 -0
  503. package/dist/components/SToast/SToast.vue.js +6 -0
  504. package/dist/components/SToast/SToast.vue_vue_type_script_setup_true_lang.cjs +101 -0
  505. package/dist/components/SToast/SToast.vue_vue_type_script_setup_true_lang.js +101 -0
  506. package/dist/components/SToastProvider/SToastProvider.vue.cjs +6 -0
  507. package/dist/components/SToastProvider/SToastProvider.vue.js +6 -0
  508. package/dist/components/SToastProvider/SToastProvider.vue_vue_type_script_setup_true_lang.cjs +212 -0
  509. package/dist/components/SToastProvider/SToastProvider.vue_vue_type_script_setup_true_lang.js +212 -0
  510. package/dist/components/SToastProvider/SToastProviderToast.vue.cjs +4 -0
  511. package/dist/components/SToastProvider/SToastProviderToast.vue.js +5 -0
  512. package/dist/components/SToastProvider/SToastProviderToast.vue_vue_type_script_setup_true_lang.cjs +75 -0
  513. package/dist/components/SToastProvider/SToastProviderToast.vue_vue_type_script_setup_true_lang.js +75 -0
  514. package/dist/components/SToastProvider/useToast.cjs +96 -0
  515. package/dist/components/SToastProvider/useToast.js +97 -0
  516. package/dist/components/SToastProvider/utils/computeAutoDuration.cjs +14 -0
  517. package/dist/components/SToastProvider/utils/computeAutoDuration.js +11 -0
  518. package/dist/components/SToastProvider/utils/toastProviderConstants.cjs +4 -0
  519. package/dist/components/SToastProvider/utils/toastProviderConstants.js +4 -0
  520. package/dist/components/SToggle/SToggle.types.cjs +15 -0
  521. package/dist/components/SToggle/SToggle.types.js +14 -0
  522. package/dist/components/SToggle/SToggle.vue.cjs +6 -0
  523. package/dist/components/SToggle/SToggle.vue.js +6 -0
  524. package/dist/components/SToggle/SToggle.vue_vue_type_script_setup_true_lang.cjs +80 -0
  525. package/dist/components/SToggle/SToggle.vue_vue_type_script_setup_true_lang.js +80 -0
  526. package/dist/composables/connectedPosition/computeArrowPosition.cjs +51 -0
  527. package/dist/composables/connectedPosition/computeArrowPosition.js +51 -0
  528. package/dist/composables/connectedPosition/computeConnectedPosition.cjs +96 -0
  529. package/dist/composables/connectedPosition/computeConnectedPosition.js +96 -0
  530. package/dist/composables/connectedPosition/flipSide.cjs +22 -0
  531. package/dist/composables/connectedPosition/flipSide.js +22 -0
  532. package/dist/composables/connectedPosition/getBoundaryRect.cjs +37 -0
  533. package/dist/composables/connectedPosition/getBoundaryRect.js +37 -0
  534. package/dist/composables/connectedPosition/getOverflow.cjs +60 -0
  535. package/dist/composables/connectedPosition/getOverflow.js +54 -0
  536. package/dist/composables/connectedPosition/getScrollParents.cjs +21 -0
  537. package/dist/composables/connectedPosition/getScrollParents.js +21 -0
  538. package/dist/composables/connectedPosition/getViewportRect.cjs +33 -0
  539. package/dist/composables/connectedPosition/getViewportRect.js +32 -0
  540. package/dist/composables/connectedPosition/parseAnchor.cjs +78 -0
  541. package/dist/composables/connectedPosition/parseAnchor.js +77 -0
  542. package/dist/composables/connectedPosition/positionCoordinates.cjs +109 -0
  543. package/dist/composables/connectedPosition/positionCoordinates.js +107 -0
  544. package/dist/composables/connectedPosition/resolveElement.cjs +9 -0
  545. package/dist/composables/connectedPosition/resolveElement.js +9 -0
  546. package/dist/composables/connectedPosition/types.cjs +47 -0
  547. package/dist/composables/connectedPosition/types.js +43 -0
  548. package/dist/composables/treeKeyboardNavigation.cjs +58 -0
  549. package/dist/composables/treeKeyboardNavigation.js +55 -0
  550. package/dist/composables/useAriaAttrs.cjs +37 -0
  551. package/dist/composables/useAriaAttrs.js +37 -0
  552. package/dist/composables/useChart.cjs +51 -0
  553. package/dist/composables/useChart.js +51 -0
  554. package/dist/composables/useChartInteractivity.cjs +26 -0
  555. package/dist/composables/useChartInteractivity.js +26 -0
  556. package/dist/composables/useEscapeDismiss.cjs +23 -0
  557. package/dist/composables/useEscapeDismiss.js +23 -0
  558. package/dist/composables/useFieldAttrs.cjs +36 -0
  559. package/dist/composables/useFieldAttrs.js +36 -0
  560. package/dist/composables/useFieldFilled.cjs +17 -0
  561. package/dist/composables/useFieldFilled.js +17 -0
  562. package/dist/composables/useFieldFocus.cjs +29 -0
  563. package/dist/composables/useFieldFocus.js +29 -0
  564. package/dist/composables/useFieldMessages.cjs +15 -0
  565. package/dist/composables/useFieldMessages.js +15 -0
  566. package/dist/composables/useFlatTreeList.cjs +148 -0
  567. package/dist/composables/useFlatTreeList.js +147 -0
  568. package/dist/composables/useFloatingOverlay.cjs +268 -0
  569. package/dist/composables/useFloatingOverlay.js +268 -0
  570. package/dist/composables/useHasListener.cjs +8 -0
  571. package/dist/composables/useHasListener.js +8 -0
  572. package/dist/composables/useLink.cjs +79 -0
  573. package/dist/composables/useLink.js +79 -0
  574. package/dist/composables/useOverflowGroup.cjs +29 -0
  575. package/dist/composables/useOverflowGroup.js +29 -0
  576. package/dist/composables/useResizeAutoScroll.cjs +163 -0
  577. package/dist/composables/useResizeAutoScroll.js +163 -0
  578. package/dist/composables/useSListEndReached.cjs +18 -0
  579. package/dist/composables/useSListEndReached.js +18 -0
  580. package/dist/composables/useSelectLink.cjs +16 -0
  581. package/dist/composables/useSelectLink.js +16 -0
  582. package/dist/composables/useSelectionGroup.cjs +323 -0
  583. package/dist/composables/useSelectionGroup.js +318 -0
  584. package/dist/composables/useSelectionGroupItem.cjs +62 -0
  585. package/dist/composables/useSelectionGroupItem.js +62 -0
  586. package/dist/entries/avatar-group.cjs +5 -1
  587. package/dist/entries/avatar-group.js +3 -2
  588. package/dist/entries/avatar.cjs +9 -1
  589. package/dist/entries/avatar.js +3 -2
  590. package/dist/entries/badge.cjs +6 -1
  591. package/dist/entries/badge.js +3 -2
  592. package/dist/entries/button-group.cjs +8 -1
  593. package/dist/entries/button-group.js +4 -3
  594. package/dist/entries/button.cjs +7 -1
  595. package/dist/entries/button.js +3 -2
  596. package/dist/entries/calendar.cjs +23 -1
  597. package/dist/entries/calendar.js +11 -2
  598. package/dist/entries/card.cjs +5 -1
  599. package/dist/entries/card.js +3 -2
  600. package/dist/entries/chart-bar.cjs +3 -1
  601. package/dist/entries/chart-bar.js +2 -2
  602. package/dist/entries/chart-burnup.cjs +3 -1
  603. package/dist/entries/chart-burnup.js +2 -2
  604. package/dist/entries/chart-horizontal-bar.cjs +3 -1
  605. package/dist/entries/chart-horizontal-bar.js +2 -2
  606. package/dist/entries/chart-line.cjs +3 -1
  607. package/dist/entries/chart-line.js +2 -2
  608. package/dist/entries/chart-multi-line.cjs +3 -1
  609. package/dist/entries/chart-multi-line.js +2 -2
  610. package/dist/entries/chart-pie.cjs +5 -1
  611. package/dist/entries/chart-pie.js +3 -2
  612. package/dist/entries/chart-progress.cjs +3 -1
  613. package/dist/entries/chart-progress.js +2 -2
  614. package/dist/entries/chart-scatter.cjs +3 -1
  615. package/dist/entries/chart-scatter.js +2 -2
  616. package/dist/entries/chart-stacked-area.cjs +3 -1
  617. package/dist/entries/chart-stacked-area.js +2 -2
  618. package/dist/entries/chart-stacked-bar.cjs +3 -1
  619. package/dist/entries/chart-stacked-bar.js +2 -2
  620. package/dist/entries/checkbox.cjs +7 -1
  621. package/dist/entries/checkbox.js +3 -2
  622. package/dist/entries/chip.cjs +6 -1
  623. package/dist/entries/chip.js +3 -2
  624. package/dist/entries/color-palette.cjs +14 -1
  625. package/dist/entries/color-palette.js +7 -3
  626. package/dist/entries/color-picker.cjs +16 -1
  627. package/dist/entries/color-picker.js +8 -4
  628. package/dist/entries/composables.cjs +18 -1
  629. package/dist/entries/composables.js +8 -5
  630. package/dist/entries/dropdown-menu.cjs +3 -0
  631. package/dist/entries/dropdown-menu.js +2 -0
  632. package/dist/entries/dropdown.cjs +7 -1
  633. package/dist/entries/dropdown.js +4 -3
  634. package/dist/entries/icon.cjs +9 -1
  635. package/dist/entries/inline-input.cjs +5 -1
  636. package/dist/entries/inline-input.js +3 -2
  637. package/dist/entries/inline-message.cjs +5 -1
  638. package/dist/entries/inline-message.js +3 -2
  639. package/dist/entries/input.cjs +5 -1
  640. package/dist/entries/input.js +3 -2
  641. package/dist/entries/label.cjs +6 -1
  642. package/dist/entries/label.js +3 -2
  643. package/dist/entries/list-item.cjs +6 -1
  644. package/dist/entries/list-item.js +3 -2
  645. package/dist/entries/list.cjs +5 -1
  646. package/dist/entries/list.js +3 -2
  647. package/dist/entries/photo-edit.cjs +6 -1
  648. package/dist/entries/photo-edit.js +3 -2
  649. package/dist/entries/progress-bar.cjs +9 -1
  650. package/dist/entries/radio.cjs +5 -1
  651. package/dist/entries/radio.js +3 -2
  652. package/dist/entries/segment-control.cjs +6 -1
  653. package/dist/entries/segment-control.js +3 -2
  654. package/dist/entries/select.cjs +5 -1
  655. package/dist/entries/select.js +3 -2
  656. package/dist/entries/separator.cjs +14 -1
  657. package/dist/entries/separator.js +2 -2
  658. package/dist/entries/skeleton.cjs +9 -1
  659. package/dist/entries/spinner.cjs +9 -1
  660. package/dist/entries/tab.cjs +6 -1
  661. package/dist/entries/tab.js +3 -2
  662. package/dist/entries/table.cjs +16 -1
  663. package/dist/entries/table.js +3 -2
  664. package/dist/entries/tabs.cjs +8 -1
  665. package/dist/entries/tabs.js +4 -3
  666. package/dist/entries/tag-group.cjs +6 -1
  667. package/dist/entries/tag-group.js +3 -3
  668. package/dist/entries/tag.cjs +6 -1
  669. package/dist/entries/tag.js +3 -2
  670. package/dist/entries/textarea.cjs +3 -1
  671. package/dist/entries/textarea.js +2 -2
  672. package/dist/entries/toggle.cjs +6 -1
  673. package/dist/entries/toggle.js +3 -2
  674. package/dist/entries/tokens.cjs +9 -1
  675. package/dist/index.cjs +298 -1
  676. package/dist/index.js +105 -1269
  677. package/dist/uikit-components.css +1 -1
  678. package/dist/utils/chart/bar/createStackedBarHoverOutlinePlugin.cjs +63 -0
  679. package/dist/utils/chart/bar/createStackedBarHoverOutlinePlugin.js +63 -0
  680. package/dist/utils/chart/bar/createStackedBarTooltipCallbacks.cjs +53 -0
  681. package/dist/utils/chart/bar/createStackedBarTooltipCallbacks.js +51 -0
  682. package/dist/utils/chart/bar/resolveBarStackedSeriesColor.cjs +11 -0
  683. package/dist/utils/chart/bar/resolveBarStackedSeriesColor.js +11 -0
  684. package/dist/utils/chart/burnup/createBurnupTagPlugin.cjs +63 -0
  685. package/dist/utils/chart/burnup/createBurnupTagPlugin.js +63 -0
  686. package/dist/utils/chart/burnup/createBurnupTodayLinePlugin.cjs +24 -0
  687. package/dist/utils/chart/burnup/createBurnupTodayLinePlugin.js +24 -0
  688. package/dist/utils/chart/burnup/createBurnupTooltipCallbacks.cjs +17 -0
  689. package/dist/utils/chart/burnup/createBurnupTooltipCallbacks.js +16 -0
  690. package/dist/utils/chart/core/applyChartHighlightedYTick.cjs +21 -0
  691. package/dist/utils/chart/core/applyChartHighlightedYTick.js +21 -0
  692. package/dist/utils/chart/core/buildCartesianChartScales.cjs +42 -0
  693. package/dist/utils/chart/core/buildCartesianChartScales.js +42 -0
  694. package/dist/utils/chart/core/buildChartLegendItems.cjs +7 -0
  695. package/dist/utils/chart/core/buildChartLegendItems.js +7 -0
  696. package/dist/utils/chart/core/buildChartMirrorScale.cjs +17 -0
  697. package/dist/utils/chart/core/buildChartMirrorScale.js +16 -0
  698. package/dist/utils/chart/core/buildChartSeriesPoints.cjs +7 -0
  699. package/dist/utils/chart/core/buildChartSeriesPoints.js +7 -0
  700. package/dist/utils/chart/core/chartCssVariables.cjs +151 -0
  701. package/dist/utils/chart/core/chartCssVariables.js +144 -0
  702. package/dist/utils/chart/core/chartInteractivity.cjs +178 -0
  703. package/dist/utils/chart/core/chartInteractivity.js +170 -0
  704. package/dist/utils/chart/core/chartSkeletonConfig.cjs +17 -0
  705. package/dist/utils/chart/core/chartSkeletonConfig.js +15 -0
  706. package/dist/utils/chart/core/createChartMarkersPlugin.cjs +85 -0
  707. package/dist/utils/chart/core/createChartMarkersPlugin.js +85 -0
  708. package/dist/utils/chart/core/createCustomTooltipCallbacks.cjs +12 -0
  709. package/dist/utils/chart/core/createCustomTooltipCallbacks.js +12 -0
  710. package/dist/utils/chart/core/createZeroLinePlugin.cjs +24 -0
  711. package/dist/utils/chart/core/createZeroLinePlugin.js +24 -0
  712. package/dist/utils/chart/core/registerChartJs.cjs +42 -0
  713. package/dist/utils/chart/core/registerChartJs.js +42 -0
  714. package/dist/utils/chart/core/resolveChartValueRange.cjs +19 -0
  715. package/dist/utils/chart/core/resolveChartValueRange.js +19 -0
  716. package/dist/utils/chart/core/resolveSeriesPaletteColor.cjs +11 -0
  717. package/dist/utils/chart/core/resolveSeriesPaletteColor.js +11 -0
  718. package/dist/utils/chart/core/splitChartAxisLabel.cjs +5 -0
  719. package/dist/utils/chart/core/splitChartAxisLabel.js +5 -0
  720. package/dist/utils/chart/css/applyOpacityToCssColor.cjs +8 -0
  721. package/dist/utils/chart/css/applyOpacityToCssColor.js +8 -0
  722. package/dist/utils/chart/css/readCssColor.cjs +8 -0
  723. package/dist/utils/chart/css/readCssColor.js +8 -0
  724. package/dist/utils/chart/css/readCssNumber.cjs +11 -0
  725. package/dist/utils/chart/css/readCssNumber.js +11 -0
  726. package/dist/utils/chart/css/resolveChartLabelFont.cjs +8 -0
  727. package/dist/utils/chart/css/resolveChartLabelFont.js +8 -0
  728. package/dist/utils/chart/css/resolveCssColorValue.cjs +10 -0
  729. package/dist/utils/chart/css/resolveCssColorValue.js +10 -0
  730. package/dist/utils/chart/horizontalBar/buildHorizontalBarChartConfig.cjs +96 -0
  731. package/dist/utils/chart/horizontalBar/buildHorizontalBarChartConfig.js +96 -0
  732. package/dist/utils/chart/horizontalBar/buildHorizontalBarChartScales.cjs +53 -0
  733. package/dist/utils/chart/horizontalBar/buildHorizontalBarChartScales.js +53 -0
  734. package/dist/utils/chart/horizontalBar/createHorizontalBarValueLabelPlugin.cjs +47 -0
  735. package/dist/utils/chart/horizontalBar/createHorizontalBarValueLabelPlugin.js +46 -0
  736. package/dist/utils/chart/horizontalBar/resolveHorizontalBarColor.cjs +11 -0
  737. package/dist/utils/chart/horizontalBar/resolveHorizontalBarColor.js +11 -0
  738. package/dist/utils/chart/horizontalBar/resolveHorizontalBarXMax.cjs +11 -0
  739. package/dist/utils/chart/horizontalBar/resolveHorizontalBarXMax.js +11 -0
  740. package/dist/utils/chart/horizontalBar/skeletonHorizontalBarFixture.cjs +29 -0
  741. package/dist/utils/chart/horizontalBar/skeletonHorizontalBarFixture.js +29 -0
  742. package/dist/utils/chart/line/createChartAreaFillGradient.cjs +41 -0
  743. package/dist/utils/chart/line/createChartAreaFillGradient.js +39 -0
  744. package/dist/utils/chart/multiLine/buildMultiLineChartScales.cjs +43 -0
  745. package/dist/utils/chart/multiLine/buildMultiLineChartScales.js +43 -0
  746. package/dist/utils/chart/multiLine/createMultiLineTooltipCallbacks.cjs +29 -0
  747. package/dist/utils/chart/multiLine/createMultiLineTooltipCallbacks.js +27 -0
  748. package/dist/utils/chart/multiLine/resolveMultiLineSeriesColor.cjs +11 -0
  749. package/dist/utils/chart/multiLine/resolveMultiLineSeriesColor.js +11 -0
  750. package/dist/utils/chart/pie/createPieSegmentBadgePlugin.cjs +61 -0
  751. package/dist/utils/chart/pie/createPieSegmentBadgePlugin.js +61 -0
  752. package/dist/utils/chart/pie/createPieTooltipCallbacks.cjs +11 -0
  753. package/dist/utils/chart/pie/createPieTooltipCallbacks.js +11 -0
  754. package/dist/utils/chart/pie/resolvePieSliceColor.cjs +11 -0
  755. package/dist/utils/chart/pie/resolvePieSliceColor.js +11 -0
  756. package/dist/utils/chart/progress/createProgressChartTooltipPositioner.cjs +25 -0
  757. package/dist/utils/chart/progress/createProgressChartTooltipPositioner.js +24 -0
  758. package/dist/utils/chart/segmentedBar/resolveSegmentedBarSegmentColor.cjs +30 -0
  759. package/dist/utils/chart/segmentedBar/resolveSegmentedBarSegmentColor.js +30 -0
  760. package/dist/utils/chart/stacked/areChartSeriesAligned.cjs +14 -0
  761. package/dist/utils/chart/stacked/areChartSeriesAligned.js +14 -0
  762. package/dist/utils/chart/stacked/createChartCrosshairPlugin.cjs +23 -0
  763. package/dist/utils/chart/stacked/createChartCrosshairPlugin.js +23 -0
  764. package/dist/utils/chart/stacked/createStackedAreaTooltipCallbacks.cjs +34 -0
  765. package/dist/utils/chart/stacked/createStackedAreaTooltipCallbacks.js +32 -0
  766. package/dist/utils/chart/stacked/resolveStackedChartContext.cjs +21 -0
  767. package/dist/utils/chart/stacked/resolveStackedChartContext.js +21 -0
  768. package/dist/utils/chart/stacked/resolveStackedSeriesColor.cjs +11 -0
  769. package/dist/utils/chart/stacked/resolveStackedSeriesColor.js +11 -0
  770. package/dist/utils/chart/stacked/resolveStackedYMax.cjs +16 -0
  771. package/dist/utils/chart/stacked/resolveStackedYMax.js +16 -0
  772. package/dist/utils/color/colorFormatChannels.cjs +165 -0
  773. package/dist/utils/color/colorFormatChannels.js +158 -0
  774. package/dist/utils/color/colorValue.cjs +31 -0
  775. package/dist/utils/color/colorValue.js +27 -0
  776. package/dist/utils/color/contrastSurfaceTextColor.cjs +60 -0
  777. package/dist/utils/color/contrastSurfaceTextColor.js +59 -0
  778. package/dist/utils/color/defaultPaletteColors.cjs +17 -0
  779. package/dist/utils/color/defaultPaletteColors.js +17 -0
  780. package/dist/utils/color/formatColorForDisplay.cjs +45 -0
  781. package/dist/utils/color/formatColorForDisplay.js +42 -0
  782. package/dist/utils/color/parseColorFromInput.cjs +34 -0
  783. package/dist/utils/color/parseColorFromInput.js +34 -0
  784. package/dist/utils/color/recommendedColorPalette.cjs +36 -0
  785. package/dist/utils/color/recommendedColorPalette.js +36 -0
  786. package/dist/utils/color/types.cjs +25 -0
  787. package/dist/utils/color/types.js +24 -0
  788. package/dist/utils/getIndicatorMetricsPercent.cjs +34 -0
  789. package/dist/utils/getIndicatorMetricsPercent.js +33 -0
  790. package/dist/utils/normalizeFieldMessages.cjs +8 -0
  791. package/dist/utils/normalizeFieldMessages.js +8 -0
  792. package/dist/utils/vnodes/collectSlotVnodes.cjs +39 -0
  793. package/dist/utils/vnodes/collectSlotVnodes.js +39 -0
  794. package/dist/utils/vnodes/renderVnodeList.cjs +16 -0
  795. package/dist/utils/vnodes/renderVnodeList.js +16 -0
  796. package/dist/utils/vueRouterLinkPresentation.cjs +30 -0
  797. package/dist/utils/vueRouterLinkPresentation.js +28 -0
  798. package/dist/vendor/lodash-es/_Symbol.cjs +5 -0
  799. package/dist/vendor/lodash-es/_Symbol.js +6 -0
  800. package/dist/vendor/lodash-es/_baseGetTag.cjs +21 -0
  801. package/dist/vendor/lodash-es/_baseGetTag.js +21 -0
  802. package/dist/vendor/lodash-es/_baseTrim.cjs +16 -0
  803. package/dist/vendor/lodash-es/_baseTrim.js +16 -0
  804. package/dist/vendor/lodash-es/_freeGlobal.cjs +5 -0
  805. package/dist/vendor/lodash-es/_freeGlobal.js +5 -0
  806. package/dist/vendor/lodash-es/_getRawTag.cjs +34 -0
  807. package/dist/vendor/lodash-es/_getRawTag.js +34 -0
  808. package/dist/vendor/lodash-es/_objectToString.cjs +19 -0
  809. package/dist/vendor/lodash-es/_objectToString.js +19 -0
  810. package/dist/vendor/lodash-es/_root.cjs +8 -0
  811. package/dist/vendor/lodash-es/_root.js +8 -0
  812. package/dist/vendor/lodash-es/_trimmedEndIndex.cjs +18 -0
  813. package/dist/vendor/lodash-es/_trimmedEndIndex.js +18 -0
  814. package/dist/vendor/lodash-es/debounce.cjs +132 -0
  815. package/dist/vendor/lodash-es/debounce.js +132 -0
  816. package/dist/vendor/lodash-es/isObject.cjs +32 -0
  817. package/dist/vendor/lodash-es/isObject.js +32 -0
  818. package/dist/vendor/lodash-es/isObjectLike.cjs +30 -0
  819. package/dist/vendor/lodash-es/isObjectLike.js +30 -0
  820. package/dist/vendor/lodash-es/isSymbol.cjs +27 -0
  821. package/dist/vendor/lodash-es/isSymbol.js +27 -0
  822. package/dist/vendor/lodash-es/now.cjs +23 -0
  823. package/dist/vendor/lodash-es/now.js +23 -0
  824. package/dist/vendor/lodash-es/toNumber.cjs +51 -0
  825. package/dist/vendor/lodash-es/toNumber.js +51 -0
  826. package/package.json +1 -1
  827. package/dist/SAvatar-6uaisUHm.js +0 -267
  828. package/dist/SAvatar-BQNqFdkk.cjs +0 -1
  829. package/dist/SAvatarGroup-D27squmU.cjs +0 -1
  830. package/dist/SAvatarGroup-DnVhY7I1.js +0 -47
  831. package/dist/SBadge-Dn87LB9z.cjs +0 -1
  832. package/dist/SBadge-Du9iIiXS.js +0 -85
  833. package/dist/SButton-CZW6Y8Vw.cjs +0 -1
  834. package/dist/SButton-n2Zuqh04.js +0 -249
  835. package/dist/SButtonGroup-BqW5Rz1p.js +0 -88
  836. package/dist/SButtonGroup-DSi8mQSz.cjs +0 -1
  837. package/dist/SCard-CYPxwmOm.cjs +0 -1
  838. package/dist/SCard-CuiQMwUB.js +0 -132
  839. package/dist/SChartBar-BAO2FtIO.cjs +0 -1
  840. package/dist/SChartBar-DHjm1H0N.js +0 -304
  841. package/dist/SChartBurnup-9s2KNzCr.cjs +0 -1
  842. package/dist/SChartBurnup-B1KU1E5B.js +0 -261
  843. package/dist/SChartHorizontalBar-DwY63iRT.cjs +0 -1
  844. package/dist/SChartHorizontalBar-VKU0b6Jx.js +0 -245
  845. package/dist/SChartLegend-At0mMO09.js +0 -88
  846. package/dist/SChartLegend-DQMLr6yV.cjs +0 -1
  847. package/dist/SChartLine-rnEsQv-q.js +0 -165
  848. package/dist/SChartLine-tj-AapTr.cjs +0 -1
  849. package/dist/SChartMultiLine-C4jjmLEb.js +0 -282
  850. package/dist/SChartMultiLine-dtd6k59D.cjs +0 -1
  851. package/dist/SChartPie-Ddk8r-_I.cjs +0 -1
  852. package/dist/SChartPie-Ebg7WSga.js +0 -267
  853. package/dist/SChartProgress-DRSh_taf.js +0 -211
  854. package/dist/SChartProgress-DozBX6ve.cjs +0 -1
  855. package/dist/SChartScatter-DilWNoz0.cjs +0 -1
  856. package/dist/SChartScatter-DnmTw18x.js +0 -249
  857. package/dist/SChartStackedArea-BJ5HsJzQ.cjs +0 -1
  858. package/dist/SChartStackedArea-zIygTOp8.js +0 -278
  859. package/dist/SChartStackedBar-CXpVSagd.js +0 -350
  860. package/dist/SChartStackedBar-Dj6esSCS.cjs +0 -2
  861. package/dist/SCheckbox-Dkbk21Id.cjs +0 -1
  862. package/dist/SCheckbox-Dulusx5v.js +0 -105
  863. package/dist/SChip-CdKh_3Bo.js +0 -101
  864. package/dist/SChip-DwjDiD7C.cjs +0 -1
  865. package/dist/SColorPalette-CqIA4Qtp.cjs +0 -1
  866. package/dist/SColorPalette-OCu-tgZ3.js +0 -146
  867. package/dist/SColorPicker-BfJD4dt_.js +0 -642
  868. package/dist/SColorPicker-NqSNxcwH.cjs +0 -1
  869. package/dist/SDropdown-B_nsm3Jf.cjs +0 -1
  870. package/dist/SDropdown-aWjZrahp.js +0 -541
  871. package/dist/SDropdownMenu-2koPU6IG.js +0 -38
  872. package/dist/SDropdownMenu-k9SxaFVH.cjs +0 -1
  873. package/dist/SInlineInput-D3vCX4QA.cjs +0 -1
  874. package/dist/SInlineInput-DO_glYxP.js +0 -517
  875. package/dist/SInlineMessage-Dirk5RwO.js +0 -17
  876. package/dist/SInlineMessage-gjkMiE-W.cjs +0 -1
  877. package/dist/SInput-DwUxyUwU.js +0 -226
  878. package/dist/SInput-x0GgJDEY.cjs +0 -1
  879. package/dist/SLabel-DLKfepRW.cjs +0 -1
  880. package/dist/SLabel-FHHPlcKq.js +0 -59
  881. package/dist/SList-CmMkLkdG.cjs +0 -1
  882. package/dist/SList-T_fgzdb3.js +0 -477
  883. package/dist/SListItem-CQKZw5Uj.js +0 -246
  884. package/dist/SListItem-CrAnC2MG.cjs +0 -1
  885. package/dist/SOverflowGroup-CyksOav7.js +0 -79
  886. package/dist/SOverflowGroup-rmU10_7L.cjs +0 -1
  887. package/dist/SPhotoEdit-CoJLP7rt.cjs +0 -1
  888. package/dist/SPhotoEdit-DiEnt3tE.js +0 -122
  889. package/dist/SRadio-B9qQ-PEk.cjs +0 -1
  890. package/dist/SRadio-BhoLtFUS.js +0 -60
  891. package/dist/SSegmentControl-BQ8fg3m-.js +0 -212
  892. package/dist/SSegmentControl-jPA19SVO.cjs +0 -1
  893. package/dist/SSelect-BSbEFqAB.cjs +0 -1
  894. package/dist/SSelect-DM4-PF5I.js +0 -685
  895. package/dist/STab-BkQzKaLY.cjs +0 -1
  896. package/dist/STab-D7SATMfv.js +0 -242
  897. package/dist/STable-BnS7Ijfz.js +0 -3556
  898. package/dist/STable-CfdGC7jb.cjs +0 -1
  899. package/dist/STabs-CDNAhgMN.cjs +0 -1
  900. package/dist/STabs-_Zwxu8-o.js +0 -151
  901. package/dist/STag-C21nN8ow.js +0 -125
  902. package/dist/STag-qKbkpXjI.cjs +0 -1
  903. package/dist/STagGroup-6Z8CKlut.cjs +0 -1
  904. package/dist/STagGroup-CW9kWSnz.js +0 -47
  905. package/dist/STextarea-CCnFvaU3.js +0 -269
  906. package/dist/STextarea-DxjrKM9g.cjs +0 -1
  907. package/dist/SToggle-BNgLiIrQ.cjs +0 -1
  908. package/dist/SToggle-MSdprnRP.js +0 -62
  909. package/dist/applyChartHighlightedYTick-CKsVe7PW.cjs +0 -1
  910. package/dist/applyChartHighlightedYTick-DOxlsWPd.js +0 -17
  911. package/dist/areChartSeriesAligned-DiBX3TTk.cjs +0 -1
  912. package/dist/areChartSeriesAligned-DjonrIMm.js +0 -8
  913. package/dist/buildCartesianChartScales-Dck5yBMo.cjs +0 -1
  914. package/dist/buildCartesianChartScales-EofFq3ry.js +0 -42
  915. package/dist/buildChartMirrorScale-CBUIRPYX.cjs +0 -1
  916. package/dist/buildChartMirrorScale-_PhGNiFR.js +0 -15
  917. package/dist/buildChartSeriesPoints-BTyOpkin.js +0 -10
  918. package/dist/buildChartSeriesPoints-Cqo2ed-n.cjs +0 -1
  919. package/dist/buildMultiLineChartScales-BweU2ftq.cjs +0 -1
  920. package/dist/buildMultiLineChartScales-DbRe2UFD.js +0 -38
  921. package/dist/buildWorkTimeLegendItems-CifzZM9C.js +0 -411
  922. package/dist/buildWorkTimeLegendItems-DPx5Yma0.cjs +0 -1
  923. package/dist/colorValue-CSh0chxp.js +0 -5
  924. package/dist/colorValue-Dda7fKd3.cjs +0 -1
  925. package/dist/context-C3WoLJS4.js +0 -4
  926. package/dist/context-kCi2xRHY.cjs +0 -1
  927. package/dist/contrastSurfaceTextColor-BDlLSSXC.js +0 -33
  928. package/dist/contrastSurfaceTextColor-BRjRzXyZ.cjs +0 -1
  929. package/dist/createChartCrosshairPlugin-B4LrgKjG.js +0 -14
  930. package/dist/createChartCrosshairPlugin-COIICTCz.cjs +0 -1
  931. package/dist/createChartMarkersPlugin-L7qomZVK.cjs +0 -1
  932. package/dist/createChartMarkersPlugin-bAEeP-5Z.js +0 -43
  933. package/dist/createCustomTooltipCallbacks-CxeEfJLl.js +0 -12
  934. package/dist/createCustomTooltipCallbacks-oRAimZTt.cjs +0 -1
  935. package/dist/getIndicatorMetricsPercent-CFGy_nB8.cjs +0 -1
  936. package/dist/getIndicatorMetricsPercent-CWrH_ONg.js +0 -19
  937. package/dist/resolveBarStackedSeriesColor-BDJ7XBIB.cjs +0 -1
  938. package/dist/resolveBarStackedSeriesColor-zEV1Ps7h.js +0 -11
  939. package/dist/resolveChartLabelFont-D_Pxt-gs.cjs +0 -1
  940. package/dist/resolveChartLabelFont-WtZd0pFD.js +0 -4
  941. package/dist/resolveChartValueRange-DBCYLCXs.cjs +0 -1
  942. package/dist/resolveChartValueRange-DZybnmaX.js +0 -10
  943. package/dist/resolveCssColorValue-BBK7CTmP.js +0 -8
  944. package/dist/resolveCssColorValue-D3fS-cK8.cjs +0 -1
  945. package/dist/resolveSeriesPaletteColor-Bk52kyZo.js +0 -10
  946. package/dist/resolveSeriesPaletteColor-CVEsFs0o.cjs +0 -1
  947. package/dist/resolveStackedChartContext-BE3ZW2Sf.cjs +0 -1
  948. package/dist/resolveStackedChartContext-Dc6Foe7D.js +0 -26
  949. package/dist/splitChartAxisLabel-D-IFyucJ.js +0 -4
  950. package/dist/splitChartAxisLabel-DAmQOJn6.cjs +0 -2
  951. package/dist/treeKeyboardNavigation-BOz2SVus.cjs +0 -1
  952. package/dist/treeKeyboardNavigation-SmxTdnDz.js +0 -131
  953. package/dist/useAriaAttrs-CxGRTeye.js +0 -15
  954. package/dist/useAriaAttrs-D748yeJ_.cjs +0 -1
  955. package/dist/useChartInteractivity-Yk7qEYgl.cjs +0 -2
  956. package/dist/useChartInteractivity-sgbPZgcH.js +0 -416
  957. package/dist/useFieldMessages-2TaArixP.cjs +0 -1
  958. package/dist/useFieldMessages-C-GXaf_q.js +0 -43
  959. package/dist/useFloatingOverlay-CwGCMrig.cjs +0 -1
  960. package/dist/useFloatingOverlay-TxzVisMJ.js +0 -489
  961. package/dist/useHasListener-BPgtbbo6.cjs +0 -1
  962. package/dist/useHasListener-RSjlUyqH.js +0 -8
  963. package/dist/useLink-1LLWpdDZ.cjs +0 -1
  964. package/dist/useLink-Com5VhOk.js +0 -55
  965. package/dist/useSelectLink-2aCIYmF6.js +0 -47
  966. package/dist/useSelectLink-DZIAhQ2J.cjs +0 -1
  967. package/dist/useSelectionGroup-BCAmPf3R.js +0 -211
  968. package/dist/useSelectionGroup-NJvi3hNo.cjs +0 -1
package/dist/index.js CHANGED
@@ -1,1271 +1,107 @@
1
- import { n as e, r as t, t as n } from "./SBadge-Du9iIiXS.js";
2
- import { a as r, i, n as a, o, r as s, t as c } from "./SAvatar-6uaisUHm.js";
3
- import { i as l, n as u, r as d, t as f } from "./SColorPicker-BfJD4dt_.js";
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
- import { a as y, i as b, r as x } from "./colorValue-CSh0chxp.js";
6
- import { n as S, t as C } from "./SAvatarGroup-DnVhY7I1.js";
7
- import { i as w, n as T, r as E, t as D } from "./SButton-n2Zuqh04.js";
8
- import { a as ee, n as te, o as ne, r as re, t as ie } from "./useSelectionGroup-BCAmPf3R.js";
9
- import { n as ae } from "./useSelectLink-2aCIYmF6.js";
10
- import { i as oe, n as se, r as ce, t as le } from "./SButtonGroup-BqW5Rz1p.js";
11
- import { i as ue, n as de, r as fe, t as pe } from "./SCheckbox-Dulusx5v.js";
12
- import { n as me, t as he } from "./SCard-CuiQMwUB.js";
13
- import { n as ge, r as _e, t as ve } from "./SSegmentControl-BQ8fg3m-.js";
14
- import { n as ye, r as be, t as xe } from "./STab-D7SATMfv.js";
15
- import { t as Se } from "./STabs-_Zwxu8-o.js";
16
- import { a as Ce, i as we, o as Te, s as Ee, t as De } from "./useFloatingOverlay-TxzVisMJ.js";
17
- import { n as Oe, r as ke, t as Ae } from "./STag-C21nN8ow.js";
18
- import { t as je } from "./STagGroup-CW9kWSnz.js";
19
- import { n as Me, r as Ne, t as Pe } from "./SChip-CdKh_3Bo.js";
20
- import { n as Fe, t as Ie } from "./SDropdown-aWjZrahp.js";
21
- import { t as Le } from "./SDropdownMenu-2koPU6IG.js";
22
- import { r as Re, t as ze } from "./SInput-DwUxyUwU.js";
23
- import { n as Be, t as Ve } from "./SInlineMessage-Dirk5RwO.js";
24
- import { n as He, r as Ue, t as We } from "./SLabel-FHHPlcKq.js";
25
- import { a as Ge, s as Ke } from "./treeKeyboardNavigation-SmxTdnDz.js";
26
- import { n as qe, r as Je, t as Ye } from "./SListItem-CQKZw5Uj.js";
27
- import { a as Xe, t as Ze } from "./SList-T_fgzdb3.js";
28
- import { n as Qe, t as $e } from "./SSelect-DM4-PF5I.js";
29
- import { n as et, t as tt } from "./SRadio-BhoLtFUS.js";
30
- import { n as nt, r as rt, t as it } from "./SToggle-MSdprnRP.js";
31
- import { n as at, t as ot } from "./SInlineInput-DO_glYxP.js";
32
- import { t as st } from "./STextarea-CCnFvaU3.js";
33
- import { n as ct, r as lt, t as ut } from "./SPhotoEdit-DiEnt3tE.js";
34
- import { C as dt, D as O, S as k, c as ft, n as pt, r as mt, s as ht, t as gt, w as _t } from "./useChartInteractivity-sgbPZgcH.js";
35
- import { n as vt, t as yt } from "./SChartLegend-At0mMO09.js";
36
- import { t as bt } from "./SChartLine-rnEsQv-q.js";
37
- import { t as xt } from "./resolveSeriesPaletteColor-Bk52kyZo.js";
38
- import { t as St } from "./SChartStackedArea-zIygTOp8.js";
39
- import { t as Ct } from "./SChartStackedBar-CXpVSagd.js";
40
- import { t as wt } from "./SChartHorizontalBar-VKU0b6Jx.js";
41
- import { n as Tt, t as Et } from "./SChartPie-Ebg7WSga.js";
42
- import { t as Dt } from "./SChartMultiLine-C4jjmLEb.js";
43
- import { t as Ot } from "./SChartBurnup-B1KU1E5B.js";
44
- import { t as kt } from "./useHasListener-RSjlUyqH.js";
45
- import { t as At } from "./SChartBar-DHjm1H0N.js";
46
- import { t as jt } from "./SChartProgress-DRSh_taf.js";
47
- import { t as Mt } from "./SChartScatter-DnmTw18x.js";
48
- import { a as Nt, c as Pt, d as Ft, f as It, i as Lt, l as Rt, n as zt, o as Bt, r as Vt, s as Ht, t as Ut, u as Wt } from "./buildWorkTimeLegendItems-CifzZM9C.js";
49
- import { a as Gt, c as Kt, d as qt, f as Jt, i as Yt, l as Xt, n as Zt, o as Qt, p as $t, r as en, s as tn, t as nn, u as rn } from "./STable-BnS7Ijfz.js";
50
- import { Fragment as A, Teleport as an, computed as j, createBlock as M, createCommentVNode as N, createElementBlock as P, createElementVNode as F, createSlots as on, createTextVNode as I, createVNode as L, defineComponent as R, mergeModels as sn, mergeProps as cn, nextTick as ln, normalizeClass as z, normalizeStyle as B, onMounted as un, openBlock as V, ref as H, renderList as U, renderSlot as W, resolveDynamicComponent as dn, shallowRef as fn, toDisplayString as G, toValue as pn, unref as K, useModel as mn, useSlots as hn, useTemplateRef as gn, watch as _n, withCtx as q, withKeys as vn, withModifiers as yn } from "vue";
51
- import { ESIconName as J, ESProgressBarSize as bn, ESSkeletonType as xn, SIcon as Sn, SProgressBar as Cn, SSkeleton as wn, createUiKit as Tn, setUiKitLocale as En, uiKitLocaleEn as Dn, uiKitLocaleRu as On, useUiKitI18n as kn, useUiKitI18n as An } from "@shtabapp/ui-kit-primitives";
52
- import { useResizeObserver as jn } from "@vueuse/core";
1
+ import { ESBadgeColor, ESBadgePlacement } from "./components/SBadge/SBadge.types.js";
2
+ import SBadge_default from "./components/SBadge/SBadge.vue.js";
3
+ import { ESAvatarBadge, ESAvatarColor, ESAvatarIconBackground, ESAvatarShape, ESAvatarSize } from "./components/SAvatar/SAvatar.types.js";
4
+ import { EAccentColor, EColorFormat } from "./utils/color/types.js";
5
+ import { isSameColor, normalizeColorValue, resolveColorPreview } from "./utils/color/colorValue.js";
6
+ import { DEFAULT_COLOR_PALETTE } from "./utils/color/defaultPaletteColors.js";
7
+ import { RECOMMENDED_COLOR_PALETTE } from "./utils/color/recommendedColorPalette.js";
8
+ import SAvatar_default from "./components/SAvatar/SAvatar.vue.js";
9
+ import { ESAvatarGroupSize } from "./components/SAvatarGroup/SAvatarGroup.types.js";
10
+ import SAvatarGroup_default from "./components/SAvatarGroup/SAvatarGroup.vue.js";
11
+ import { EButtonAppearance, EButtonSize, EButtonVariant } from "./components/SButton/SButton.types.js";
12
+ import { ESelectionFocusMode, ESelectionMode, ESelectionOrientation, resolveOwnPropOrGroupedOrFallback, useSelectionGroup } from "./composables/useSelectionGroup.js";
13
+ import { useSelectionGroupItem } from "./composables/useSelectionGroupItem.js";
14
+ import SButton_default from "./components/SButton/SButton.vue.js";
15
+ import { EButtonGroupLayout } from "./components/SButtonGroup/SButtonGroup.types.js";
16
+ import { ESInlineGroupOrientation } from "./components/SInlineGroup/SInlineGroup.types.js";
17
+ import SInlineGroup_default from "./components/SInlineGroup/SInlineGroup.vue.js";
18
+ import SButtonGroup_default from "./components/SButtonGroup/SButtonGroup.vue.js";
19
+ import { ESCheckboxColor, ESCheckboxLabelPlacement, ESCheckboxSize } from "./components/SCheckbox/SCheckbox.types.js";
20
+ import SCheckbox_default from "./components/SCheckbox/SCheckbox.vue.js";
21
+ import { ESCardLayout } from "./components/SCard/SCard.types.js";
22
+ import SCard_default from "./components/SCard/SCard.vue.js";
23
+ import { ESSegmentControlShape, ESSegmentControlSize } from "./components/SSegmentControl/SSegmentControl.types.js";
24
+ import SSegmentControl_default from "./components/SSegmentControl/SSegmentControl.vue.js";
25
+ import { ESTabAppearance, ESTabSize } from "./components/STab/STab.types.js";
26
+ import STab_default from "./components/STab/STab.vue.js";
27
+ import STabs_default from "./components/STabs/STabs.vue.js";
28
+ import { EConnectedPositionStrategy, ESDropdownBoundary, ESDropdownPlacement } from "./composables/connectedPosition/types.js";
29
+ import { computeConnectedPosition } from "./composables/connectedPosition/computeConnectedPosition.js";
30
+ import { useFloatingOverlay } from "./composables/useFloatingOverlay.js";
31
+ import { ESTagColor, ESTagSize } from "./components/STag/STag.types.js";
32
+ import STag_default from "./components/STag/STag.vue.js";
33
+ import STagGroup_default from "./components/STagGroup/STagGroup.vue.js";
34
+ import { ESChipColor, ESChipSize } from "./components/SChip/SChip.types.js";
35
+ import SChip_default from "./components/SChip/SChip.vue.js";
36
+ import { ESColorPaletteLayout } from "./components/SColorPalette/SColorPalette.types.js";
37
+ import SColorPalette_default from "./components/SColorPalette/SColorPalette.vue.js";
38
+ import { MAX_RECENT_COLORS } from "./components/SColorPicker/constants/SColorPicker.constants.js";
39
+ import { S_DROPDOWN_SHEET_BREAKPOINT } from "./components/SDropdown/SDropdown.types.js";
40
+ import SDropdown_default from "./components/SDropdown/SDropdown.vue.js";
41
+ import SDropdownMenu_default from "./components/SDropdownMenu/SDropdownMenu.vue.js";
42
+ import SColorArea_default from "./components/SColorPicker/parts/SColorArea.vue.js";
43
+ import { ESInputCustomize } from "./components/SInput/SInput.types.js";
44
+ import { ESInlineMessageValidationStatus } from "./components/SInlineMessage/SInlineMessage.types.js";
45
+ import SInlineMessage_default from "./components/SInlineMessage/SInlineMessage.vue.js";
46
+ import { ESLabelSize, ESLabelVariant } from "./components/SLabel/SLabel.types.js";
47
+ import SLabel_default from "./components/SLabel/SLabel.vue.js";
48
+ import SInput_default from "./components/SInput/SInput.vue.js";
49
+ import { useFlatTreeList } from "./composables/useFlatTreeList.js";
50
+ import { useSListEndReached } from "./composables/useSListEndReached.js";
51
+ import { ESListItemRole, ESListItemVariant } from "./components/SListItem/SListItem.types.js";
52
+ import SListItem_default from "./components/SListItem/SListItem.vue.js";
53
+ import { ESListGap } from "./components/SList/SList.types.js";
54
+ import SList_default from "./components/SList/SList.vue.js";
55
+ import { ESSelectSearchable } from "./components/SSelect/SSelect.types.js";
56
+ import SSelect_default from "./components/SSelect/SSelect.vue.js";
57
+ import SColorValues_default from "./components/SColorPicker/parts/SColorValues.vue.js";
58
+ import SColorPicker_default from "./components/SColorPicker/SColorPicker.vue.js";
59
+ import { ESRadioLabelPlacement } from "./components/SRadio/SRadio.types.js";
60
+ import SRadio_default from "./components/SRadio/SRadio.vue.js";
61
+ import { ESToggleLabelPlacement, ESToggleSize } from "./components/SToggle/SToggle.types.js";
62
+ import SToggle_default from "./components/SToggle/SToggle.vue.js";
63
+ import { ESInlineInputAppearance } from "./components/SInlineInput/SInlineInput.types.js";
64
+ import SInlineInput_default from "./components/SInlineInput/SInlineInput.vue.js";
65
+ import STextarea_default from "./components/STextarea/STextarea.vue.js";
66
+ import { ESPhotoEditShape, ESPhotoEditSize } from "./components/SPhotoEdit/SPhotoEdit.types.js";
67
+ import SPhotoEdit_default from "./components/SPhotoEdit/SPhotoEdit.vue.js";
68
+ import { ESChartLegendSize } from "./components/SChartLegend/SChartLegend.types.js";
69
+ import SChartLegend_default from "./components/SChartLegend/SChartLegend.vue.js";
70
+ import SChartBar_default from "./components/SChartBar/SChartBar.vue.js";
71
+ import SChartLine_default from "./components/SChartLine/SChartLine.vue.js";
72
+ import SChartProgress_default from "./components/SChartProgress/SChartProgress.vue.js";
73
+ import SChartStackedArea_default from "./components/SChartStackedArea/SChartStackedArea.vue.js";
74
+ import SChartStackedBar_default from "./components/SChartStackedBar/SChartStackedBar.vue.js";
75
+ import SChartScatter_default from "./components/SChartScatter/SChartScatter.vue.js";
76
+ import SChartHorizontalBar_default from "./components/SChartHorizontalBar/SChartHorizontalBar.vue.js";
77
+ import { ESChartPieLegendView } from "./components/SChartPie/SChartPie.types.js";
78
+ import SChartPie_default from "./components/SChartPie/SChartPie.vue.js";
79
+ import SChartMultiLine_default from "./components/SChartMultiLine/SChartMultiLine.vue.js";
80
+ import SChartBurnup_default from "./components/SChartBurnup/SChartBurnup.vue.js";
81
+ import { formatDurationHM } from "./components/SCalendar/utils/formatDurationHM.js";
82
+ import SCalendarMonth_default from "./components/SCalendarMonth/SCalendarMonth.vue.js";
83
+ import { ESCalendarEventDirection, ESCalendarMonthDayTone } from "./components/SCalendarMonth/SCalendarMonth.types.js";
84
+ import { EWorkTimeSource } from "./components/SCalendar/utils/calendar.types.js";
85
+ import { WORK_TIME_SOURCE_COLOR_VARS, WORK_TIME_SOURCE_ORDER } from "./components/SCalendar/utils/calendar.const.js";
86
+ import { CALENDAR_WEEK_SLOT_COUNT } from "./components/SCalendarWeekGrid/SCalendarWeekGrid.types.js";
87
+ import SCalendarWeekGrid_default from "./components/SCalendarWeekGrid/SCalendarWeekGrid.vue.js";
88
+ import { DAY_TIMELINE_MINUTES } from "./components/SDayTimeline/SDayTimeline.types.js";
89
+ import SDayTimeline_default from "./components/SDayTimeline/SDayTimeline.vue.js";
90
+ import { buildWorkTimeLegendItems } from "./components/SCalendar/utils/buildWorkTimeLegendItems.js";
91
+ import { ESTableCellState, ESTableCheckState, ESTableColumnAlign, ESTableColumnSticky, ESTableDropAction, ESTableFooterTone, ESTableRowColor, ESTableRowHeightMode, ESTableRowKind, ESTableRowState, ESTableRowsDragMode, ESTableSortDirection } from "./components/STable/STable.types.js";
92
+ import STable_default from "./components/STable/STable.vue.js";
93
+ /* empty css */
94
+ import { ENotificationLayout, ENotificationLeftside, ENotificationType } from "./components/SNotification/SNotification.types.js";
95
+ import SBanner_default from "./components/SBanner/SBanner.vue.js";
96
+ import SToast_default from "./components/SToast/SToast.vue.js";
97
+ import { TOAST_AUTO_DURATION_MAX_MS, TOAST_AUTO_DURATION_MIN_MS, TOAST_AUTO_DURATION_MS_PER_CHAR, computeAutoDuration } from "./components/SToastProvider/utils/computeAutoDuration.js";
98
+ import { useToast } from "./components/SToastProvider/useToast.js";
99
+ import SToastProvider_default from "./components/SToastProvider/SToastProvider.vue.js";
100
+ import SChartSegmentedBar_default from "./components/SChartSegmentedBar/SChartSegmentedBar.vue.js";
101
+ import SChartWidget_default from "./components/SChartWidget/SChartWidget.vue.js";
102
+ import { ESRoadmapStatus } from "./components/SRoadmap/SRoadmap.types.js";
103
+ import SRoadmap_default from "./components/SRoadmap/SRoadmap.vue.js";
104
+ import { createUiKit, setUiKitLocale, uiKitLocaleEn, uiKitLocaleRu, useUiKitI18n } from "@shtabapp/ui-kit-primitives";
53
105
  export * from "@shtabapp/ui-kit-primitives";
54
106
  export * from "@shtabapp/ui-kit-tokens";
55
- //#region src/utils/chart/segmentedBar/resolveSegmentedBarSegmentColor.ts
56
- var Mn = [
57
- "--s-ui-chart-segmented-bar-palette-1",
58
- "--s-ui-chart-segmented-bar-palette-2",
59
- "--s-ui-chart-segmented-bar-palette-3",
60
- "--s-ui-chart-segmented-bar-palette-4",
61
- "--s-ui-chart-segmented-bar-palette-5",
62
- "--s-ui-chart-segmented-bar-palette-6",
63
- "--s-ui-chart-segmented-bar-palette-7",
64
- "--s-ui-chart-segmented-bar-palette-8"
65
- ], Nn = [
66
- "--s-ui-chart-segmented-bar-skeleton-palette-1",
67
- "--s-ui-chart-segmented-bar-skeleton-palette-2",
68
- "--s-ui-chart-segmented-bar-skeleton-palette-3",
69
- "--s-ui-chart-segmented-bar-skeleton-palette-4",
70
- "--s-ui-chart-segmented-bar-skeleton-palette-5",
71
- "--s-ui-chart-segmented-bar-skeleton-palette-6",
72
- "--s-ui-chart-segmented-bar-skeleton-palette-7",
73
- "--s-ui-chart-segmented-bar-skeleton-palette-8"
74
- ], Pn = (e, t, n, r = !1) => xt(e, t, n, r, {
75
- palette: Mn,
76
- paletteFallback: Mn[0],
77
- skeletonPalette: Nn,
78
- skeletonFallback: Nn[0]
79
- }), Y = /* @__PURE__ */ function(e) {
80
- return e.INFO_ACCENT = "info-accent", e.INFO_NORMAL = "info-normal", e.SUCCESS = "success", e.WARNING = "warning", e.DANGER = "danger", e.BILLING = "billing", e;
81
- }({}), X = /* @__PURE__ */ function(e) {
82
- return e.HORIZONTAL = "horizontal", e.VERTICAL = "vertical", e;
83
- }({}), Z = /* @__PURE__ */ function(e) {
84
- return e.ICON = "icon", e.AVATAR = "avatar", e;
85
- }({}), Fn = /* @__PURE__ */ function(e) {
86
- return e.BANNER = "banner", e.TOAST = "toast", e;
87
- }({}), In = {
88
- [Y.INFO_ACCENT]: J.infoCircle,
89
- [Y.INFO_NORMAL]: J.infoCircle,
90
- [Y.SUCCESS]: J.checkCircle,
91
- [Y.WARNING]: J.alertCircle,
92
- [Y.DANGER]: J.dangerCircleFill,
93
- [Y.BILLING]: J.infoCircle
94
- }, Ln = (e, t) => t || In[e], Rn = ["role"], zn = { class: "s-ui-notification__body" }, Bn = {
95
- key: 0,
96
- class: "s-ui-notification__leftside"
97
- }, Vn = {
98
- key: 0,
99
- class: "s-ui-notification__icon"
100
- }, Hn = { class: "s-ui-notification__content" }, Un = { class: "s-ui-notification__title-row" }, Wn = {
101
- key: 0,
102
- class: "s-ui-notification__description-block"
103
- }, Gn = {
104
- key: 0,
105
- class: "s-ui-notification__description s-ui-typography-label-12-medium"
106
- }, Kn = {
107
- key: 1,
108
- class: "s-ui-notification__actions-stack"
109
- }, qn = {
110
- key: 1,
111
- class: "s-ui-notification__actions-row"
112
- }, Jn = /* @__PURE__ */ R({
113
- __name: "SNotification",
114
- props: {
115
- type: { default: () => Y.INFO_ACCENT },
116
- layout: { default: () => X.HORIZONTAL },
117
- leftside: { default: () => Z.ICON },
118
- surface: { default: () => Fn.BANNER },
119
- title: {},
120
- description: {},
121
- linkText: {},
122
- linkIconRight: {},
123
- primaryButtonText: {},
124
- secondaryButtonText: {},
125
- showPrimaryButton: {
126
- type: Boolean,
127
- default: !1
128
- },
129
- prominentPrimaryButton: {
130
- type: Boolean,
131
- default: !1
132
- },
133
- closable: {
134
- type: Boolean,
135
- default: !0
136
- },
137
- closeAriaLabel: { default: "" },
138
- icon: {},
139
- avatar: {},
140
- width: {},
141
- maxWidth: {},
142
- truncateTitle: {
143
- type: Boolean,
144
- default: !1
145
- }
146
- },
147
- emits: [
148
- "close",
149
- "linkClick",
150
- "primaryAction",
151
- "secondaryAction"
152
- ],
153
- setup(e, { emit: t }) {
154
- let n = t, r = hn(), i = j(() => [
155
- `s-ui-notification--type-${e.type}`,
156
- `s-ui-notification--layout-${e.layout}`,
157
- `s-ui-notification--surface-${e.surface}`,
158
- { "s-ui-notification--single-line": p.value }
159
- ]), a = j(() => {
160
- let t = {};
161
- return e.width && (t.width = typeof e.width == "number" ? `${e.width}px` : e.width), e.maxWidth && (t.maxWidth = typeof e.maxWidth == "number" ? `${e.maxWidth}px` : e.maxWidth), t;
162
- }), s = j(() => e.type === Y.DANGER ? "alert" : "status"), l = j(() => Ln(e.type, e.icon)), u = j(() => e.type === Y.BILLING), d = j(() => !!(e.leftside === Z.AVATAR && e.avatar || e.leftside === Z.ICON)), f = j(() => !!(e.description || e.linkText || r.description)), p = j(() => e.layout === X.HORIZONTAL && !f.value), m = j(() => e.showPrimaryButton && (e.primaryButtonText || e.secondaryButtonText)), h = j(() => e.showPrimaryButton && (e.primaryButtonText || e.secondaryButtonText) || e.closable), g = j(() => e.type === Y.BILLING || e.prominentPrimaryButton ? T.MAJOR : T.OUTLINED), _ = j(() => e.type === Y.BILLING ? w.BILLING : w.MAIN), v = () => {
163
- n("close");
164
- }, y = () => {
165
- n("linkClick");
166
- }, b = () => {
167
- n("primaryAction");
168
- }, x = () => {
169
- n("secondaryAction");
170
- };
171
- return (t, n) => (V(), P("div", {
172
- class: z(["s-ui-notification", i.value]),
173
- style: B(a.value),
174
- role: s.value
175
- }, [F("div", zn, [
176
- d.value ? (V(), P("div", Bn, [e.leftside === K(Z).ICON ? (V(), P("div", Vn, [L(K(Sn), {
177
- name: l.value,
178
- size: 16,
179
- billing: u.value
180
- }, null, 8, ["name", "billing"])])) : e.leftside === K(Z).AVATAR && e.avatar ? (V(), M(K(c), {
181
- key: 1,
182
- name: e.avatar.name,
183
- src: e.avatar.src,
184
- badge: e.avatar.badge,
185
- size: K(o).SIZE_20,
186
- showName: !1
187
- }, null, 8, [
188
- "name",
189
- "src",
190
- "badge",
191
- "size"
192
- ])) : N("", !0)])) : N("", !0),
193
- F("div", Hn, [
194
- F("div", Un, [F("span", { class: z(["s-ui-notification__title s-ui-typography-label-14-medium", { "s-ui-notification__title--truncated": e.truncateTitle }]) }, [W(t.$slots, "title", {}, () => [I(G(e.title), 1)])], 2), e.layout === K(X).VERTICAL && e.closable ? (V(), M(K(D), {
195
- key: 0,
196
- class: "s-ui-notification__close",
197
- appearance: K(T).BARE,
198
- variant: K(w).NEUTRAL,
199
- size: K(E).SMALL,
200
- "aria-label": e.closeAriaLabel,
201
- icon: "closeMini",
202
- onClick: v
203
- }, null, 8, [
204
- "appearance",
205
- "variant",
206
- "size",
207
- "aria-label"
208
- ])) : N("", !0)]),
209
- f.value ? (V(), P("div", Wn, [e.description || K(r).description ? (V(), P("span", Gn, [W(t.$slots, "description", {}, () => [I(G(e.description), 1)])])) : N("", !0), e.linkText ? (V(), M(K(D), {
210
- key: 1,
211
- class: "s-ui-notification__link",
212
- appearance: K(T).BARE,
213
- variant: K(w).MAIN,
214
- size: K(E).SMALL,
215
- iconRight: e.linkIconRight,
216
- onClick: y
217
- }, {
218
- default: q(() => [I(G(e.linkText), 1)]),
219
- _: 1
220
- }, 8, [
221
- "appearance",
222
- "variant",
223
- "size",
224
- "iconRight"
225
- ])) : N("", !0)])) : N("", !0),
226
- e.layout === K(X).VERTICAL && m.value ? (V(), P("div", Kn, [e.showPrimaryButton && e.primaryButtonText ? (V(), M(K(D), {
227
- key: 0,
228
- appearance: g.value,
229
- variant: _.value,
230
- size: K(E).SMALL,
231
- onClick: b
232
- }, {
233
- default: q(() => [I(G(e.primaryButtonText), 1)]),
234
- _: 1
235
- }, 8, [
236
- "appearance",
237
- "variant",
238
- "size"
239
- ])) : N("", !0), e.showPrimaryButton && e.secondaryButtonText ? (V(), M(K(D), {
240
- key: 1,
241
- appearance: K(T).BARE,
242
- variant: K(w).NEUTRAL,
243
- size: K(E).SMALL,
244
- onClick: x
245
- }, {
246
- default: q(() => [I(G(e.secondaryButtonText), 1)]),
247
- _: 1
248
- }, 8, [
249
- "appearance",
250
- "variant",
251
- "size"
252
- ])) : N("", !0)])) : N("", !0)
253
- ]),
254
- e.layout === K(X).HORIZONTAL && h.value ? (V(), P("div", qn, [
255
- e.showPrimaryButton && e.primaryButtonText ? (V(), M(K(D), {
256
- key: 0,
257
- appearance: g.value,
258
- variant: _.value,
259
- size: K(E).SMALL,
260
- onClick: b
261
- }, {
262
- default: q(() => [I(G(e.primaryButtonText), 1)]),
263
- _: 1
264
- }, 8, [
265
- "appearance",
266
- "variant",
267
- "size"
268
- ])) : N("", !0),
269
- e.showPrimaryButton && e.secondaryButtonText ? (V(), M(K(D), {
270
- key: 1,
271
- appearance: K(T).OUTLINED,
272
- variant: K(w).MAIN,
273
- size: K(E).SMALL,
274
- onClick: x
275
- }, {
276
- default: q(() => [I(G(e.secondaryButtonText), 1)]),
277
- _: 1
278
- }, 8, [
279
- "appearance",
280
- "variant",
281
- "size"
282
- ])) : N("", !0),
283
- e.layout === K(X).HORIZONTAL && e.closable ? (V(), M(K(D), {
284
- key: 2,
285
- class: "s-ui-notification__close",
286
- appearance: K(T).BARE,
287
- variant: K(w).NEUTRAL,
288
- size: K(E).SMALL,
289
- "aria-label": e.closeAriaLabel,
290
- icon: "closeMini",
291
- onClick: v
292
- }, null, 8, [
293
- "appearance",
294
- "variant",
295
- "size",
296
- "aria-label"
297
- ])) : N("", !0)
298
- ])) : N("", !0)
299
- ])], 14, Rn));
300
- }
301
- }), Yn = /* @__PURE__ */ R({
302
- __name: "SBanner",
303
- props: {
304
- type: { default: () => Y.INFO_ACCENT },
305
- layout: { default: () => X.HORIZONTAL },
306
- leftside: { default: () => Z.ICON },
307
- elevated: {
308
- type: Boolean,
309
- default: !1
310
- },
311
- title: {},
312
- description: {},
313
- linkText: {},
314
- linkIconRight: {},
315
- primaryButtonText: {},
316
- secondaryButtonText: {},
317
- prominentPrimaryButton: {
318
- type: Boolean,
319
- default: !1
320
- },
321
- showPrimaryButton: {
322
- type: Boolean,
323
- default: !1
324
- },
325
- closable: {
326
- type: Boolean,
327
- default: !0
328
- },
329
- closeAriaLabel: { default: "" },
330
- icon: {},
331
- avatar: {},
332
- maxWidth: {},
333
- truncateTitle: {
334
- type: Boolean,
335
- default: !1
336
- }
337
- },
338
- emits: [
339
- "close",
340
- "linkClick",
341
- "primaryAction",
342
- "secondaryAction"
343
- ],
344
- setup(e, { emit: t }) {
345
- let n = t, r = hn(), i = j(() => ({ "s-ui-banner--elevated": e.elevated }));
346
- return (t, a) => (V(), M(Jn, {
347
- class: z(["s-ui-banner", i.value]),
348
- "data-qa": "ui:banner",
349
- type: e.type,
350
- layout: e.layout,
351
- leftside: e.leftside,
352
- surface: K(Fn).BANNER,
353
- title: e.title,
354
- description: e.description,
355
- linkText: e.linkText,
356
- linkIconRight: e.linkIconRight,
357
- primaryButtonText: e.primaryButtonText,
358
- secondaryButtonText: e.secondaryButtonText,
359
- showPrimaryButton: e.showPrimaryButton,
360
- prominentPrimaryButton: e.prominentPrimaryButton,
361
- closable: e.closable,
362
- closeAriaLabel: e.closeAriaLabel,
363
- icon: e.icon,
364
- avatar: e.avatar,
365
- maxWidth: e.maxWidth,
366
- truncateTitle: e.truncateTitle,
367
- onClose: a[0] ||= (e) => n("close"),
368
- onLinkClick: a[1] ||= (e) => n("linkClick"),
369
- onPrimaryAction: a[2] ||= (e) => n("primaryAction"),
370
- onSecondaryAction: a[3] ||= (e) => n("secondaryAction")
371
- }, on({ _: 2 }, [K(r).title ? {
372
- name: "title",
373
- fn: q(() => [W(t.$slots, "title")]),
374
- key: "0"
375
- } : void 0, K(r).description ? {
376
- name: "description",
377
- fn: q(() => [W(t.$slots, "description")]),
378
- key: "1"
379
- } : void 0]), 1032, [
380
- "class",
381
- "type",
382
- "layout",
383
- "leftside",
384
- "surface",
385
- "title",
386
- "description",
387
- "linkText",
388
- "linkIconRight",
389
- "primaryButtonText",
390
- "secondaryButtonText",
391
- "showPrimaryButton",
392
- "prominentPrimaryButton",
393
- "closable",
394
- "closeAriaLabel",
395
- "icon",
396
- "avatar",
397
- "maxWidth",
398
- "truncateTitle"
399
- ]));
400
- }
401
- }), Xn = /* @__PURE__ */ R({
402
- __name: "SToast",
403
- props: {
404
- type: { default: () => Y.INFO_ACCENT },
405
- layout: { default: () => X.HORIZONTAL },
406
- leftside: { default: () => Z.ICON },
407
- title: {},
408
- description: {},
409
- linkText: {},
410
- primaryButtonText: {},
411
- secondaryButtonText: {},
412
- showPrimaryButton: {
413
- type: Boolean,
414
- default: !1
415
- },
416
- closable: {
417
- type: Boolean,
418
- default: !0
419
- },
420
- closeAriaLabel: { default: "" },
421
- icon: {},
422
- avatar: {},
423
- width: {},
424
- truncateTitle: {
425
- type: Boolean,
426
- default: !1
427
- }
428
- },
429
- emits: [
430
- "close",
431
- "linkClick",
432
- "primaryAction",
433
- "secondaryAction"
434
- ],
435
- setup(e, { emit: t }) {
436
- let n = t, r = hn(), i = j(() => e.width ?? 360);
437
- return (t, a) => (V(), M(Jn, {
438
- class: "s-ui-toast",
439
- "data-qa": "ui:toast",
440
- type: e.type,
441
- layout: e.layout,
442
- leftside: e.leftside,
443
- surface: K(Fn).TOAST,
444
- title: e.title,
445
- description: e.description,
446
- linkText: e.linkText,
447
- primaryButtonText: e.primaryButtonText,
448
- secondaryButtonText: e.secondaryButtonText,
449
- showPrimaryButton: e.showPrimaryButton,
450
- closable: e.closable,
451
- closeAriaLabel: e.closeAriaLabel,
452
- icon: e.icon,
453
- avatar: e.avatar,
454
- width: i.value,
455
- truncateTitle: e.truncateTitle,
456
- onClose: a[0] ||= (e) => n("close"),
457
- onLinkClick: a[1] ||= (e) => n("linkClick"),
458
- onPrimaryAction: a[2] ||= (e) => n("primaryAction"),
459
- onSecondaryAction: a[3] ||= (e) => n("secondaryAction")
460
- }, on({ _: 2 }, [K(r).title ? {
461
- name: "title",
462
- fn: q(() => [W(t.$slots, "title")]),
463
- key: "0"
464
- } : void 0, K(r).description ? {
465
- name: "description",
466
- fn: q(() => [W(t.$slots, "description")]),
467
- key: "1"
468
- } : void 0]), 1032, [
469
- "type",
470
- "layout",
471
- "leftside",
472
- "surface",
473
- "title",
474
- "description",
475
- "linkText",
476
- "primaryButtonText",
477
- "secondaryButtonText",
478
- "showPrimaryButton",
479
- "closable",
480
- "closeAriaLabel",
481
- "icon",
482
- "avatar",
483
- "width",
484
- "truncateTitle"
485
- ]));
486
- }
487
- }), Zn = .05, Qn = [
488
- "data-mounted",
489
- "data-front",
490
- "data-expanded",
491
- "data-removed",
492
- "data-visible"
493
- ], $n = /* @__PURE__ */ R({
494
- __name: "SToastProviderToast",
495
- props: {
496
- index: {},
497
- expanded: { type: Boolean },
498
- frontToastHeight: {},
499
- stackPeek: {},
500
- removed: { type: Boolean },
501
- visible: { type: Boolean },
502
- offsetY: {}
503
- },
504
- emits: ["heightChange"],
505
- setup(e, { emit: t }) {
506
- let n = t, r = H(null), i = H(0), a = H(!1), o = j(() => e.index === 0), s = j(() => 1 - e.index * Zn), c = j(() => ({
507
- "--s-ui-toast-provider-toasts-before": String(e.index),
508
- "--s-ui-toast-provider-lift-amount": `${e.stackPeek * -1}px`,
509
- "--s-ui-toast-provider-front-toast-height": `${e.frontToastHeight}px`,
510
- "--s-ui-toast-provider-offset-y": `${e.offsetY}px`,
511
- "--s-ui-toast-provider-initial-height": `${i.value}px`,
512
- "--s-ui-toast-provider-stack-scale": String(s.value),
513
- zIndex: String(1e3 - e.index)
514
- }));
515
- return jn(r, (e) => {
516
- let t = e[0]?.contentRect.height ?? 0;
517
- t !== i.value && (i.value = t, n("heightChange", t));
518
- }), un(() => {
519
- requestAnimationFrame(() => {
520
- requestAnimationFrame(() => {
521
- a.value = !0;
522
- });
523
- });
524
- }), (t, n) => (V(), P("div", {
525
- class: "s-ui-toast-provider__toast",
526
- "data-mounted": a.value,
527
- "data-front": o.value,
528
- "data-expanded": e.expanded,
529
- "data-removed": e.removed,
530
- "data-visible": e.visible,
531
- style: B(c.value)
532
- }, [F("div", {
533
- ref_key: "contentRef",
534
- ref: r,
535
- class: "s-ui-toast-provider__toast-content"
536
- }, [W(t.$slots, "default")], 512)], 12, Qn));
537
- }
538
- }), er = 4e3, tr = 1e4, nr = 50, rr = (e, t) => {
539
- let n = er + (e.length + (t?.length ?? 0)) * 50;
540
- return n > 1e4 ? tr : n;
541
- }, Q = fn([]), $ = /* @__PURE__ */ new Map(), ir = 0, ar = {
542
- type: Y.INFO_ACCENT,
543
- layout: X.HORIZONTAL,
544
- leftside: Z.ICON,
545
- showPrimaryButton: !1,
546
- closable: !0
547
- }, or = () => `toast-${Date.now()}-${++ir}`, sr = (e) => {
548
- let t = $.get(e);
549
- t && (window.clearTimeout(t), $.delete(e));
550
- }, cr = (e) => {
551
- sr(e.id);
552
- let t = e.duration === void 0 ? rr(e.title, e.description) : e.duration;
553
- if (t > 0) {
554
- let n = window.setTimeout(() => {
555
- lr(e.id);
556
- }, t);
557
- $.set(e.id, n);
558
- }
559
- }, lr = (e) => {
560
- let t = Q.value.findIndex((t) => t.id === e);
561
- if (t === -1) return;
562
- let n = Q.value[t];
563
- n && (sr(e), n.onClose && n.onClose(), Q.value = Q.value.filter((t) => t.id !== e));
564
- }, ur = () => {
565
- $.forEach((e) => window.clearTimeout(e)), $.clear(), Q.value = [];
566
- }, dr = (e) => e.length <= 3 ? e : (e.slice(3).forEach((e) => {
567
- sr(e.id);
568
- }), e.slice(0, 3)), fr = (e) => {
569
- let t = e.id ?? or(), n = {
570
- ...ar,
571
- ...e,
572
- id: t
573
- }, r = Q.value.findIndex((e) => e.id === t);
574
- if (r > -1) {
575
- let e = [...Q.value];
576
- e[r] = n, Q.value = dr(e);
577
- } else Q.value = dr([n, ...Q.value]);
578
- return cr(n), t;
579
- }, pr = (e, t) => {
580
- let n = Q.value.findIndex((t) => t.id === e);
581
- if (n === -1) return;
582
- let r = Q.value[n];
583
- if (!r) return;
584
- let i = {
585
- ...r,
586
- ...t,
587
- id: r.id
588
- }, a = [...Q.value];
589
- a[n] = i, Q.value = a, cr(i);
590
- }, mr = () => ({
591
- toasts: Q,
592
- show: fr,
593
- hide: lr,
594
- hideAll: ur,
595
- update: pr
596
- }), hr = {
597
- class: "s-ui-toast-provider__announcer",
598
- role: "status",
599
- "aria-atomic": "true"
600
- }, gr = {
601
- class: "s-ui-toast-provider__announcer",
602
- role: "alert",
603
- "aria-atomic": "true"
604
- }, _r = /* @__PURE__ */ R({
605
- __name: "SToastProvider",
606
- setup(e) {
607
- let { toasts: t, hide: n } = mr(), r = j(() => t.value.slice(0, 3)), i = H(""), a = H(""), o = /* @__PURE__ */ new Set(), s = (e) => e.flatMap((e) => [e.title, e.description ?? ""]).filter(Boolean).join(". "), c = async (e, t) => {
608
- t && (e.value = "", await ln(), e.value = t);
609
- };
610
- _n(r, async (e) => {
611
- let n = e.filter((e) => !o.has(e.id)), r = new Set(t.value.map((e) => e.id));
612
- o.forEach((e) => {
613
- r.has(e) || o.delete(e);
614
- }), n.forEach((e) => o.add(e.id));
615
- let l = n.filter((e) => e.type === Y.DANGER), u = n.filter((e) => e.type !== Y.DANGER);
616
- await Promise.all([c(a, s(l)), c(i, s(u))]);
617
- });
618
- let l = H(!1), u = fn({}), d = H(/* @__PURE__ */ new Set()), f = j(() => t.value[0] ?? null), p = j(() => f.value ? u.value[f.value.id] ?? 0 : 0), m = H(0), h = j(() => p.value > 0 ? p.value : m.value);
619
- _n(p, (e) => {
620
- e > 0 && (m.value = e);
621
- });
622
- let g = j(() => {
623
- if (r.value.length === 0) return {};
624
- if (l.value) return { height: `${r.value.reduce((e, t, n) => {
625
- let r = u.value[t.id] ?? 0, i = n > 0 ? 4 : 0;
626
- return e + r + i;
627
- }, 0)}px` };
628
- let e = Math.min(r.value.length - 1, 2) * 10;
629
- return { height: `${h.value + e}px` };
630
- }), _ = (e) => {
631
- let t = 0;
632
- for (let n = 0; n < e; n += 1) {
633
- let e = r.value[n];
634
- e && (t += (u.value[e.id] ?? 0) + 4);
635
- }
636
- return t;
637
- }, v = (e) => d.value.has(e), y = () => {
638
- r.value.length > 1 && (l.value = !0);
639
- }, b = () => {
640
- l.value = !1;
641
- }, x = (e, t) => {
642
- u.value = {
643
- ...u.value,
644
- [e]: t
645
- };
646
- }, S = (e) => {
647
- d.value.has(e) || (d.value = new Set([...d.value, e]), window.setTimeout(() => {
648
- n(e);
649
- let t = new Set(d.value);
650
- t.delete(e), d.value = t;
651
- let r = { ...u.value };
652
- delete r[e], u.value = r;
653
- }, 200));
654
- }, C = (e) => {
655
- e.onLinkClick && e.onLinkClick();
656
- }, w = (e) => {
657
- e.onPrimaryAction && e.onPrimaryAction(e.id);
658
- }, T = (e) => {
659
- e.onSecondaryAction && e.onSecondaryAction();
660
- };
661
- return (e, t) => (V(), M(an, { to: "body" }, [F("div", {
662
- class: "s-ui-toast-provider",
663
- onMouseenter: y,
664
- onMouseleave: b
665
- }, [
666
- F("div", hr, G(i.value), 1),
667
- F("div", gr, G(a.value), 1),
668
- r.value.length > 0 ? (V(), P("div", {
669
- key: 0,
670
- class: "s-ui-toast-provider__list",
671
- style: B(g.value)
672
- }, [(V(!0), P(A, null, U(r.value, (t, n) => (V(), M($n, {
673
- key: t.id,
674
- index: n,
675
- expanded: l.value,
676
- "front-toast-height": h.value,
677
- "stack-peek": K(10),
678
- removed: v(t.id),
679
- visible: n < K(3),
680
- "offset-y": _(n),
681
- onHeightChange: (e) => x(t.id, e)
682
- }, {
683
- default: q(() => [W(e.$slots, "toast", { toast: t }, () => [t.component ? (V(), M(dn(t.component), cn({
684
- key: 0,
685
- ref_for: !0
686
- }, t.componentProps, {
687
- toast: t,
688
- onClose: (e) => S(t.id)
689
- }), null, 16, ["toast", "onClose"])) : (V(), M(K(Xn), {
690
- key: 1,
691
- role: "presentation",
692
- type: t.type,
693
- layout: t.layout,
694
- leftside: t.leftside,
695
- title: t.title,
696
- description: t.description,
697
- linkText: t.linkText,
698
- primaryButtonText: t.primaryButtonText,
699
- secondaryButtonText: t.secondaryButtonText,
700
- showPrimaryButton: t.showPrimaryButton,
701
- closable: t.closable,
702
- closeAriaLabel: t.closeAriaLabel,
703
- icon: t.icon,
704
- avatar: t.avatar,
705
- width: t.width,
706
- truncateTitle: t.truncateTitle,
707
- onClose: (e) => S(t.id),
708
- onLinkClick: (e) => C(t),
709
- onPrimaryAction: (e) => w(t),
710
- onSecondaryAction: (e) => T(t)
711
- }, null, 8, [
712
- "type",
713
- "layout",
714
- "leftside",
715
- "title",
716
- "description",
717
- "linkText",
718
- "primaryButtonText",
719
- "secondaryButtonText",
720
- "showPrimaryButton",
721
- "closable",
722
- "closeAriaLabel",
723
- "icon",
724
- "avatar",
725
- "width",
726
- "truncateTitle",
727
- "onClose",
728
- "onLinkClick",
729
- "onPrimaryAction",
730
- "onSecondaryAction"
731
- ]))])]),
732
- _: 2
733
- }, 1032, [
734
- "index",
735
- "expanded",
736
- "front-toast-height",
737
- "stack-peek",
738
- "removed",
739
- "visible",
740
- "offset-y",
741
- "onHeightChange"
742
- ]))), 128))], 4)) : N("", !0)
743
- ], 32)]));
744
- }
745
- }), vr = 4, yr = 4, br = 1, xr = "400 12px var(--s-ui-font-family-label)", Sr = 4, Cr = .5, wr = (e, t, n, r, i, a) => {
746
- let o = Math.min(a, r / 2, i / 2);
747
- e.beginPath(), e.moveTo(t + o, n), e.lineTo(t + r - o, n), e.arcTo(t + r, n, t + r, n + o, o), e.lineTo(t + r, n + i - o), e.arcTo(t + r, n + i, t + r - o, n + i, o), e.lineTo(t + o, n + i), e.arcTo(t, n + i, t, n + i - o, o), e.lineTo(t, n + o), e.arcTo(t, n, t + o, n, o), e.closePath();
748
- }, Tr = (e) => {
749
- let t = e.getProps([
750
- "x",
751
- "y",
752
- "base"
753
- ], !0), n = Number(t.x), r = Number(t.y), i = Number(t.base);
754
- return !Number.isFinite(n) || !Number.isFinite(r) || !Number.isFinite(i) ? null : {
755
- left: Math.min(i, n),
756
- width: Math.abs(n - i),
757
- centerY: r
758
- };
759
- }, Er = (e, t, n, r, i) => {
760
- let a = Tr(t);
761
- if (!a) return;
762
- let o = i ? i(n) : `${n}`, s = e.measureText(o).width + vr * 2;
763
- if (a.width < s + Sr * 2) return;
764
- let c = a.left + a.width / 2;
765
- wr(e, c - s / 2, a.centerY - 20 / 2, s, 20, yr), e.fillStyle = r.background, e.fill(), e.lineWidth = br, e.strokeStyle = r.border, e.stroke(), e.fillStyle = r.text, e.fillText(o, c, a.centerY);
766
- }, Dr = (e, t) => ({
767
- id: "segmentedBarBadge",
768
- afterDatasetsDraw(n) {
769
- let r = {
770
- background: k(O.pieBadgeBackground, e),
771
- border: k(O.pieBadgeBorder, e),
772
- text: k(O.pieBadgeText, e)
773
- }, { ctx: i } = n;
774
- i.save(), i.font = xr, i.textAlign = "center", i.textBaseline = "middle";
775
- let a = ht(n);
776
- n.data.datasets.forEach((e, o) => {
777
- let s = n.getDatasetMeta(o)?.data[0], c = e.data[0];
778
- s && typeof c == "number" && c > 0 && (i.globalAlpha = a !== null && a.datasetIndex !== o ? Cr : 1, Er(i, s, c, r, t));
779
- }), i.restore();
780
- }
781
- }), Or = 40, kr = 4, Ar = 1, jr = [
782
- "mousemove",
783
- "mouseout",
784
- "click",
785
- "touchstart",
786
- "touchmove"
787
- ], Mr = ({ segments: e, segmentColors: t, colorHostElement: n, skeleton: r = !1, formatValue: i, onSegmentClick: a, onSegmentHover: o, resolveTooltipLines: s }) => {
788
- if (e.length === 0) return null;
789
- let c = k("--s-ui-color-surface-primary", n), l = e.reduce((e, t) => e + t.value, 0), u = mt({
790
- kind: "series",
791
- skeleton: r,
792
- colorHostElement: n,
793
- onIndexClick: a,
794
- onHoverIndexChange: o
795
- });
796
- return {
797
- type: "bar",
798
- data: {
799
- labels: [""],
800
- datasets: e.map((e, n) => ({
801
- label: e.label,
802
- data: [e.value],
803
- backgroundColor: t[n],
804
- hoverBackgroundColor: t[n],
805
- borderColor: c,
806
- borderWidth: {
807
- left: Ar,
808
- right: Ar
809
- },
810
- borderSkipped: !1,
811
- borderRadius: kr,
812
- barThickness: Or,
813
- stack: "track"
814
- }))
815
- },
816
- options: {
817
- indexAxis: "y",
818
- responsive: !0,
819
- maintainAspectRatio: !1,
820
- layout: { padding: 0 },
821
- events: r ? [] : jr,
822
- onHover: u.onHover,
823
- onClick: u.onClick,
824
- hover: r ? void 0 : {
825
- mode: "nearest",
826
- intersect: !0
827
- },
828
- elements: r ? void 0 : { bar: { hoverBorderColor: c } },
829
- plugins: {
830
- legend: { display: !1 },
831
- tooltip: {
832
- enabled: !r && s !== void 0,
833
- backgroundColor: k(O.tooltipBackground, n),
834
- titleColor: k(O.tooltipText, n),
835
- bodyColor: k(O.tooltipText, n),
836
- displayColors: !1,
837
- callbacks: {
838
- title: () => "",
839
- label: (e) => s?.(e.datasetIndex) ?? []
840
- }
841
- }
842
- },
843
- scales: {
844
- x: {
845
- display: !1,
846
- stacked: !0,
847
- min: 0,
848
- max: l
849
- },
850
- y: {
851
- display: !1,
852
- stacked: !0
853
- }
854
- }
855
- },
856
- plugins: [...r ? [] : [Dr(n, i)], ...u.plugins]
857
- };
858
- }, Nr = [
859
- 4,
860
- 1,
861
- 2,
862
- 1,
863
- 3,
864
- 1,
865
- 2,
866
- 1
867
- ].map((e, t) => ({
868
- label: `Series ${t + 1}`,
869
- value: e
870
- })), Pr = /* @__PURE__ */ R({
871
- __name: "SChartSegmentedBar",
872
- props: /*@__PURE__*/ sn({
873
- segments: { default: () => [] },
874
- showLegend: {
875
- type: Boolean,
876
- default: !0
877
- },
878
- loading: {
879
- type: Boolean,
880
- default: !1
881
- },
882
- formatValue: { type: Function },
883
- selectable: {
884
- type: Boolean,
885
- default: !1
886
- },
887
- multiple: {
888
- type: Boolean,
889
- default: !1
890
- },
891
- legendSize: { default: () => vt.SMALL },
892
- formatTooltip: { type: Function }
893
- }, {
894
- selectedIndex: { default: null },
895
- selectedIndexModifiers: {},
896
- selectedIndexes: { default: () => [] },
897
- selectedIndexesModifiers: {}
898
- }),
899
- emits: /*@__PURE__*/ sn(["segmentClick"], ["update:selectedIndex", "update:selectedIndexes"]),
900
- setup(e, { expose: t, emit: n }) {
901
- let r = mn(e, "selectedIndex"), i = mn(e, "selectedIndexes"), a = n, o = _t, s = gn("chartRootRef"), c = gn("chartCanvasRef"), l = j(() => e.loading ? Nr : e.segments), u = j(() => l.value.map((t, n) => Pn(n, s.value, t.fillColor, e.loading))), d = j(() => l.value.map((e, t) => ({
902
- segment: e,
903
- segmentIndex: t
904
- })).filter(({ segment: e }) => e.value > 0)), f = j(() => d.value.map(({ segment: e }) => e)), p = j(() => d.value.map(({ segmentIndex: e }) => _.value && !i.value.includes(e) ? ft(s.value) : u.value[e] ?? "")), m = j(() => {
905
- let e = /* @__PURE__ */ new Map();
906
- return d.value.forEach(({ segmentIndex: t }, n) => {
907
- e.set(t, n);
908
- }), e;
909
- }), h = H(null), g = (t) => {
910
- if (e.multiple) {
911
- i.value = i.value.includes(t) ? i.value.filter((e) => e !== t) : [...i.value, t];
912
- return;
913
- }
914
- r.value = r.value === t ? null : t;
915
- }, _ = j(() => e.selectable && e.multiple && i.value.length > 0), v = (t) => {
916
- let n = d.value[t];
917
- n && (a("segmentClick", n.segmentIndex, n.segment), e.selectable && g(n.segmentIndex));
918
- }, y = (e) => {
919
- h.value = e === null ? null : d.value[e]?.segmentIndex ?? null;
920
- }, b = kt("onSegmentClick"), x = (t) => {
921
- let n = d.value[t];
922
- return n && e.formatTooltip ? e.formatTooltip(n.segment, n.segmentIndex) : [];
923
- }, S = j(() => e.selectable ? e.multiple ? h.value : h.value ?? r.value : null), C = j(() => _.value && h.value === null ? i.value : []), w = j(() => Mr({
924
- segments: f.value,
925
- segmentColors: p.value,
926
- colorHostElement: s.value,
927
- skeleton: e.loading,
928
- formatValue: e.formatValue,
929
- onSegmentClick: e.selectable || b() ? v : void 0,
930
- onSegmentHover: e.selectable ? y : void 0,
931
- resolveTooltipLines: e.formatTooltip ? x : void 0
932
- })), T = j(() => l.value.map((e, t) => ({
933
- label: e.label,
934
- color: u.value[t] ?? ""
935
- }))), { chartInstance: E } = pt({
936
- canvasRef: c,
937
- config: w,
938
- enabled: j(() => e.loading || f.value.length > 0)
939
- }), { exportImage: D, handleLegendItemHover: ee, pinElement: te } = gt({
940
- chartInstance: E,
941
- canvasRef: c,
942
- colorHostElement: s
943
- }), ne = (e) => e === null ? null : m.value.get(e) ?? null, re = (t) => {
944
- e.selectable && (h.value = t), ee(ne(t));
945
- };
946
- return _n([E, r], () => {
947
- e.selectable && !e.loading && te(ne(r.value));
948
- }), t({ exportImage: D }), (t, n) => (V(), P("div", {
949
- ref_key: "chartRootRef",
950
- ref: s,
951
- class: z(["s-ui-chart-segmented-bar", { "s-ui-chart-segmented-bar--skeleton": e.loading }]),
952
- "data-qa": "ui:chart-segmented-bar"
953
- }, [F("div", {
954
- class: "s-ui-chart-segmented-bar__canvas-wrap",
955
- onMouseleave: n[0] ||= (e) => y(null)
956
- }, [L(K(dt), {
957
- loading: e.loading,
958
- type: K(o).CARTESIAN
959
- }, {
960
- default: q(() => [F("canvas", {
961
- ref_key: "chartCanvasRef",
962
- ref: c,
963
- class: "s-ui-chart-segmented-bar__canvas"
964
- }, null, 512)]),
965
- _: 1
966
- }, 8, ["loading", "type"])], 32), e.showLegend && T.value.length ? (V(), M(K(yt), {
967
- key: 0,
968
- items: T.value,
969
- disabled: e.loading,
970
- interactive: !e.loading,
971
- size: e.legendSize,
972
- selectable: e.selectable && !e.loading,
973
- "active-index": S.value,
974
- "active-indexes": C.value,
975
- onItemHover: re,
976
- onItemClick: g
977
- }, null, 8, [
978
- "items",
979
- "disabled",
980
- "interactive",
981
- "size",
982
- "selectable",
983
- "active-index",
984
- "active-indexes"
985
- ])) : N("", !0)], 2));
986
- }
987
- }), Fr = {
988
- key: 0,
989
- class: "s-ui-chart-widget__header"
990
- }, Ir = {
991
- key: 0,
992
- class: "s-ui-chart-widget__title-skeleton",
993
- "aria-hidden": "true"
994
- }, Lr = {
995
- key: 1,
996
- class: "s-ui-chart-widget__heading"
997
- }, Rr = { class: "s-ui-chart-widget__title s-ui-typography-label-16-medium" }, zr = {
998
- key: 0,
999
- class: "s-ui-chart-widget__subtitle s-ui-typography-body-12-regular"
1000
- }, Br = { class: "s-ui-chart-widget__controls" }, Vr = {
1001
- key: 1,
1002
- class: "s-ui-chart-widget__content"
1003
- }, Hr = {
1004
- key: 2,
1005
- class: "s-ui-chart-widget__footer"
1006
- }, Ur = /* @__PURE__ */ R({
1007
- __name: "SChartWidget",
1008
- props: /*@__PURE__*/ sn({
1009
- title: { default: "" },
1010
- subtitle: { default: "" },
1011
- collapsible: {
1012
- type: Boolean,
1013
- default: !1
1014
- },
1015
- hideContentWhenCollapsed: {
1016
- type: Boolean,
1017
- default: !0
1018
- },
1019
- loading: {
1020
- type: Boolean,
1021
- default: !1
1022
- }
1023
- }, {
1024
- collapsed: {
1025
- type: Boolean,
1026
- default: !1
1027
- },
1028
- collapsedModifiers: {}
1029
- }),
1030
- emits: ["update:collapsed"],
1031
- setup(e) {
1032
- let t = mn(e, "collapsed"), n = hn(), { t: r } = An(), i = j(() => !!e.subtitle || !!n.subtitle), a = j(() => !!e.title || !!n.title || i.value || !!n.actions || e.collapsible), o = j(() => !!n.footer), s = j(() => !t.value || !e.collapsible || !e.hideContentWhenCollapsed), c = j(() => r(t.value ? "chartWidget.expand" : "chartWidget.collapse"));
1033
- return (n, r) => (V(), P("div", {
1034
- class: z(["s-ui-chart-widget", { "s-ui-chart-widget--skeleton": e.loading }]),
1035
- "data-qa": "ui:chart-widget"
1036
- }, [
1037
- a.value ? (V(), P("div", Fr, [e.loading ? (V(), P("span", Ir)) : (V(), P("span", Lr, [F("span", Rr, [W(n.$slots, "title", {}, () => [I(G(e.title), 1)])]), i.value ? (V(), P("span", zr, [W(n.$slots, "subtitle", {}, () => [I(G(e.subtitle), 1)])])) : N("", !0)])), F("div", Br, [W(n.$slots, "actions"), e.collapsible ? (V(), M(K(D), {
1038
- key: 0,
1039
- appearance: K(T).OUTLINED,
1040
- variant: K(w).NEUTRAL,
1041
- size: K(E).SMALL,
1042
- icon: t.value ? K(J).chevronDown : K(J).chevronUp,
1043
- "aria-label": c.value,
1044
- "aria-expanded": !t.value,
1045
- onClick: r[0] ||= (e) => t.value = !t.value
1046
- }, null, 8, [
1047
- "appearance",
1048
- "variant",
1049
- "size",
1050
- "icon",
1051
- "aria-label",
1052
- "aria-expanded"
1053
- ])) : N("", !0)])])) : N("", !0),
1054
- s.value ? (V(), P("div", Vr, [W(n.$slots, "default")])) : N("", !0),
1055
- o.value ? (V(), P("div", Hr, [W(n.$slots, "footer")])) : N("", !0)
1056
- ], 2));
1057
- }
1058
- }), Wr = /* @__PURE__ */ function(e) {
1059
- return e.UNDONE = "undone", e.GENERATED = "generated", e.ON_PLAN = "on-plan", e.RISK = "risk", e.DEVIATED = "deviated", e.ON_PAUSE = "on-pause", e.DONE = "done", e;
1060
- }({}), Gr = /^(\d{4})-(\d{2})-(\d{2})/, Kr = (e) => {
1061
- if (e instanceof Date) return Number.isNaN(e.getTime()) ? null : {
1062
- year: e.getFullYear(),
1063
- month: e.getMonth(),
1064
- day: e.getDate()
1065
- };
1066
- let t = Gr.exec(e);
1067
- return t ? {
1068
- year: Number(t[1]),
1069
- month: Number(t[2]) - 1,
1070
- day: Number(t[3])
1071
- } : null;
1072
- }, qr = (e, t) => new Date(e, t + 1, 0).getDate(), Jr = 12, Yr = (e, t, n = !1) => {
1073
- if (e.year < t) return 0;
1074
- if (e.year > t) return 100;
1075
- let r = qr(e.year, e.month), i = n ? e.day : e.day - 1;
1076
- return (e.month + i / r) / Jr * 100;
1077
- }, Xr = (e) => {
1078
- let t = new Intl.DateTimeFormat(e, { month: "long" });
1079
- return Array.from({ length: Jr }, (n, r) => {
1080
- let i = t.format(new Date(2e3, r, 1));
1081
- return i.charAt(0).toLocaleUpperCase(e) + i.slice(1);
1082
- });
1083
- }, Zr = (e) => Math.min(100, Math.max(0, e)), Qr = (e, t, n, r, i) => e.flatMap((e) => {
1084
- let a = Kr(e.date);
1085
- if (!a || a.year !== n) return [];
1086
- let o = Yr(a, n, !0), s = i > 0 ? Zr((o - r) / i * 100) : 0;
1087
- return [{
1088
- milestone: e,
1089
- status: e.status ?? t,
1090
- offset: s
1091
- }];
1092
- }), $r = (e, t) => e.flatMap((e) => {
1093
- let n = Kr(e.start), r = Kr(e.end);
1094
- if (!n || !r || n.year > t || r.year < t) return [];
1095
- let i = Yr(n, t), a = Yr(r, t, !0);
1096
- if (a <= i) return [];
1097
- let o = e.status ?? Wr.ON_PLAN, s = a - i;
1098
- return [{
1099
- item: e,
1100
- status: o,
1101
- left: i,
1102
- width: s,
1103
- progress: e.progress === void 0 ? null : Zr(Math.round(e.progress)),
1104
- milestones: Qr(e.milestones ?? [], o, t, i, s)
1105
- }];
1106
- }), ei = ["aria-busy"], ti = { class: "s-ui-roadmap__ruler" }, ni = { class: "s-ui-roadmap__year" }, ri = { class: "s-ui-roadmap__months" }, ii = { class: "s-ui-roadmap__body" }, ai = {
1107
- class: "s-ui-roadmap__grid",
1108
- "aria-hidden": "true"
1109
- }, oi = {
1110
- key: 1,
1111
- class: "s-ui-roadmap__rows"
1112
- }, si = { class: "s-ui-roadmap__row" }, ci = {
1113
- key: 2,
1114
- class: "s-ui-roadmap__rows"
1115
- }, li = [
1116
- "role",
1117
- "tabindex",
1118
- "onClick",
1119
- "onKeydown"
1120
- ], ui = { class: "s-ui-roadmap__card-header" }, di = { class: "s-ui-roadmap__card-title" }, fi = { class: "s-ui-roadmap__card-track" }, pi = [
1121
- "title",
1122
- "aria-label",
1123
- "onClick"
1124
- ], mi = {
1125
- key: 0,
1126
- class: "s-ui-roadmap__card-progress"
1127
- }, hi = { class: "s-ui-roadmap__card-percent" }, gi = {
1128
- key: 3,
1129
- class: "s-ui-roadmap__empty"
1130
- }, _i = 3.8, vi = 39.6, yi = 16, bi = 16, xi = /* @__PURE__ */ R({
1131
- __name: "SRoadmap",
1132
- props: {
1133
- items: { default: () => [] },
1134
- year: {},
1135
- today: {},
1136
- loading: {
1137
- type: Boolean,
1138
- default: !1
1139
- },
1140
- itemActionLabel: {},
1141
- milestoneActionLabel: {}
1142
- },
1143
- emits: ["itemClick", "milestoneClick"],
1144
- setup(e, { emit: t }) {
1145
- let n = t, r = yi / 2, i = J.stageFill, a = J.milestoneFill, o = bn.SMALL, s = xn.S_ROADMAP_CARD, c = {
1146
- insetInlineStart: `${_i}%`,
1147
- inlineSize: `${vi}%`
1148
- }, { t: l, locale: u } = An(), d = kt("onItemClick"), f = kt("onMilestoneClick"), p = H(null), m = j(() => d() ? e.itemActionLabel : void 0), h = j(() => f() ? e.milestoneActionLabel : void 0), g = j(() => p.value ? {
1149
- insetInlineStart: `${p.value.x}px`,
1150
- insetBlockStart: `${p.value.y + bi}px`
1151
- } : void 0), _ = (e, t) => {
1152
- p.value = e ? {
1153
- text: e,
1154
- x: t.clientX,
1155
- y: t.clientY
1156
- } : null;
1157
- }, v = () => {
1158
- p.value = null;
1159
- }, y = j(() => Kr(e.today ?? /* @__PURE__ */ new Date())), b = j(() => e.year ?? y.value?.year ?? (/* @__PURE__ */ new Date()).getFullYear()), x = j(() => y.value?.year === b.value), S = j(() => ["s-ui-roadmap", { "s-ui-roadmap--loading": e.loading }]), C = j(() => Xr(String(pn(u))).map((e, t) => ({
1160
- index: t,
1161
- label: e,
1162
- classes: ["s-ui-roadmap__month", { "s-ui-roadmap__month--current": x.value && y.value?.month === t }]
1163
- }))), w = j(() => !x.value || !y.value ? null : { insetInlineStart: `${Yr(y.value, b.value)}%` }), T = j(() => $r(e.items, b.value).map((e) => ({
1164
- key: e.item.id,
1165
- row: e,
1166
- role: d() ? "button" : void 0,
1167
- tabindex: d() ? 0 : void 0,
1168
- progressLabel: l("roadmap.progress", { value: String(e.progress ?? 0) }),
1169
- cardClasses: [
1170
- "s-ui-roadmap__card",
1171
- `s-ui-roadmap__card--status-${e.status}`,
1172
- { "s-ui-roadmap__card--clickable": d() }
1173
- ],
1174
- cardStyle: {
1175
- insetInlineStart: `${e.left}%`,
1176
- inlineSize: `${e.width}%`
1177
- },
1178
- milestones: e.milestones.map((e) => ({
1179
- key: e.milestone.id,
1180
- placement: e,
1181
- title: l("roadmap.milestone", { title: e.milestone.title }),
1182
- nativeTitle: h.value ? void 0 : l("roadmap.milestone", { title: e.milestone.title }),
1183
- classes: ["s-ui-roadmap__milestone", `s-ui-roadmap__milestone--status-${e.status}`],
1184
- style: { insetInlineStart: `clamp(0px, calc(${e.offset}% - ${r}px), calc(100% - ${yi}px))` }
1185
- }))
1186
- }))), E = (e) => {
1187
- n("itemClick", e);
1188
- }, D = (e, t) => {
1189
- n("milestoneClick", e, t);
1190
- };
1191
- return (t, n) => (V(), P("div", {
1192
- class: z(S.value),
1193
- "data-qa": "ui:roadmap",
1194
- "aria-busy": e.loading
1195
- }, [
1196
- F("div", ti, [F("div", ni, G(b.value), 1), F("ol", ri, [(V(!0), P(A, null, U(C.value, (e) => (V(), P("li", {
1197
- key: e.index,
1198
- class: z(e.classes)
1199
- }, G(e.label), 3))), 128))])]),
1200
- F("div", ii, [
1201
- F("div", ai, [(V(!0), P(A, null, U(C.value, (e) => (V(), P("span", {
1202
- key: e.index,
1203
- class: "s-ui-roadmap__grid-column"
1204
- }))), 128))]),
1205
- w.value ? (V(), P("div", {
1206
- key: 0,
1207
- class: "s-ui-roadmap__today",
1208
- style: B(w.value),
1209
- "aria-hidden": "true"
1210
- }, [...n[2] ||= [F("span", { class: "s-ui-roadmap__today-point" }, null, -1)]], 4)) : N("", !0),
1211
- e.loading ? (V(), P("ul", oi, [F("li", si, [F("div", {
1212
- class: "s-ui-roadmap__card s-ui-roadmap__card--skeleton",
1213
- style: c,
1214
- "aria-hidden": "true"
1215
- }, [L(K(wn), {
1216
- class: "s-ui-roadmap__card-skeleton",
1217
- type: K(s)
1218
- }, null, 8, ["type"])])])])) : T.value.length ? (V(), P("ul", ci, [(V(!0), P(A, null, U(T.value, (e) => (V(), P("li", {
1219
- key: e.key,
1220
- class: "s-ui-roadmap__row"
1221
- }, [F("div", {
1222
- class: z(e.cardClasses),
1223
- style: B(e.cardStyle),
1224
- role: e.role,
1225
- tabindex: e.tabindex,
1226
- onClick: (t) => E(e.row.item),
1227
- onKeydown: vn((t) => E(e.row.item), ["enter"]),
1228
- onPointermove: n[1] ||= (e) => _(m.value, e),
1229
- onPointerleave: v
1230
- }, [
1231
- F("div", ui, [W(t.$slots, "item-leading", { item: e.row.item }), F("span", di, G(e.row.item.title), 1)]),
1232
- F("div", fi, [L(K(Sn), {
1233
- class: "s-ui-roadmap__stage-icon",
1234
- name: K(i),
1235
- size: 16
1236
- }, null, 8, ["name"]), (V(!0), P(A, null, U(e.milestones, (t) => (V(), P("button", {
1237
- key: t.key,
1238
- type: "button",
1239
- class: z(t.classes),
1240
- style: B(t.style),
1241
- title: t.nativeTitle,
1242
- "aria-label": t.title,
1243
- onClick: yn((n) => D(t.placement.milestone, e.row.item), ["stop"]),
1244
- onPointermove: n[0] ||= yn((e) => _(h.value, e), ["stop"])
1245
- }, [L(K(Sn), {
1246
- name: K(a),
1247
- size: 16
1248
- }, null, 8, ["name"])], 46, pi))), 128))]),
1249
- e.row.progress === null ? N("", !0) : (V(), P("div", mi, [L(K(Cn), {
1250
- class: "s-ui-roadmap__card-progress-bar",
1251
- value: e.row.progress,
1252
- size: K(o),
1253
- "aria-label": e.progressLabel
1254
- }, null, 8, [
1255
- "value",
1256
- "size",
1257
- "aria-label"
1258
- ]), F("span", hi, G(e.row.progress) + "%", 1)]))
1259
- ], 46, li)]))), 128))])) : (V(), P("div", gi, [W(t.$slots, "empty", {}, () => [I(G(K(l)("roadmap.empty")), 1)])]))
1260
- ]),
1261
- (V(), M(an, { to: "body" }, [p.value ? (V(), P("span", {
1262
- key: 0,
1263
- class: "s-ui-roadmap__hint",
1264
- style: B(g.value),
1265
- role: "tooltip"
1266
- }, G(p.value.text), 5)) : N("", !0)]))
1267
- ], 10, ei));
1268
- }
1269
- });
1270
- //#endregion
1271
- export { Nt as CALENDAR_WEEK_SLOT_COUNT, Vt as DAY_TIMELINE_MINUTES, m as DEFAULT_COLOR_PALETTE, p as EAccentColor, T as EButtonAppearance, oe as EButtonGroupLayout, E as EButtonSize, w as EButtonVariant, g as EColorFormat, Ce as EConnectedPositionStrategy, X as ENotificationLayout, Z as ENotificationLeftside, Y as ENotificationType, a as ESAvatarBadge, s as ESAvatarColor, S as ESAvatarGroupSize, i as ESAvatarIconBackground, r as ESAvatarShape, o as ESAvatarSize, e as ESBadgeColor, t as ESBadgePlacement, Rt as ESCalendarEventDirection, Wt as ESCalendarMonthDayTone, me as ESCardLayout, vt as ESChartLegendSize, Tt as ESChartPieLegendView, de as ESCheckboxColor, fe as ESCheckboxLabelPlacement, ue as ESCheckboxSize, Me as ESChipColor, Ne as ESChipSize, h as ESColorPaletteLayout, Te as ESDropdownBoundary, Ee as ESDropdownPlacement, ce as ESInlineGroupOrientation, at as ESInlineInputAppearance, Be as ESInlineMessageValidationStatus, Re as ESInputCustomize, He as ESLabelSize, Ue as ESLabelVariant, Xe as ESListGap, qe as ESListItemRole, Je as ESListItemVariant, ct as ESPhotoEditShape, lt as ESPhotoEditSize, et as ESRadioLabelPlacement, Wr as ESRoadmapStatus, ge as ESSegmentControlShape, _e as ESSegmentControlSize, Qe as ESSelectSearchable, ye as ESTabAppearance, be as ESTabSize, Zt as ESTableCellState, en as ESTableCheckState, Yt as ESTableColumnAlign, Gt as ESTableColumnSticky, Qt as ESTableDropAction, tn as ESTableFooterTone, Kt as ESTableRowColor, Xt as ESTableRowHeightMode, rn as ESTableRowKind, qt as ESTableRowState, Jt as ESTableRowsDragMode, $t as ESTableSortDirection, Oe as ESTagColor, ke as ESTagSize, nt as ESToggleLabelPlacement, rt as ESToggleSize, ie as ESelectionFocusMode, te as ESelectionMode, re as ESelectionOrientation, Pt as EWorkTimeSource, l as MAX_RECENT_COLORS, _ as RECOMMENDED_COLOR_PALETTE, c as SAvatar, C as SAvatarGroup, n as SBadge, Yn as SBanner, D as SButton, le as SButtonGroup, Ft as SCalendarMonth, Lt as SCalendarWeekGrid, he as SCard, At as SChartBar, Ot as SChartBurnup, wt as SChartHorizontalBar, yt as SChartLegend, bt as SChartLine, Dt as SChartMultiLine, Et as SChartPie, jt as SChartProgress, Mt as SChartScatter, Pr as SChartSegmentedBar, St as SChartStackedArea, Ct as SChartStackedBar, Ur as SChartWidget, pe as SCheckbox, Pe as SChip, d as SColorArea, v as SColorPalette, f as SColorPicker, u as SColorValues, zt as SDayTimeline, Ie as SDropdown, Le as SDropdownMenu, se as SInlineGroup, ot as SInlineInput, Ve as SInlineMessage, ze as SInput, We as SLabel, Ze as SList, Ye as SListItem, ut as SPhotoEdit, tt as SRadio, xi as SRoadmap, ve as SSegmentControl, $e as SSelect, xe as STab, nn as STable, Se as STabs, Ae as STag, je as STagGroup, st as STextarea, Xn as SToast, _r as SToastProvider, it as SToggle, Fe as S_DROPDOWN_SHEET_BREAKPOINT, tr as TOAST_AUTO_DURATION_MAX_MS, er as TOAST_AUTO_DURATION_MIN_MS, nr as TOAST_AUTO_DURATION_MS_PER_CHAR, Bt as WORK_TIME_SOURCE_COLOR_VARS, Ht as WORK_TIME_SOURCE_ORDER, Ut as buildWorkTimeLegendItems, rr as computeAutoDuration, we as computeConnectedPosition, Tn as createUiKit, It as formatDurationHM, x as isSameColor, b as normalizeColorValue, y as resolveColorPreview, ee as resolveOwnPropOrGroupedOrFallback, En as setUiKitLocale, Dn as uiKitLocaleEn, On as uiKitLocaleRu, Ke as useFlatTreeList, De as useFloatingOverlay, Ge as useSListEndReached, ne as useSelectionGroup, ae as useSelectionGroupItem, mr as useToast, kn as useUiKitI18n };
107
+ export { CALENDAR_WEEK_SLOT_COUNT, DAY_TIMELINE_MINUTES, DEFAULT_COLOR_PALETTE, EAccentColor, EButtonAppearance, EButtonGroupLayout, EButtonSize, EButtonVariant, EColorFormat, EConnectedPositionStrategy, ENotificationLayout, ENotificationLeftside, ENotificationType, ESAvatarBadge, ESAvatarColor, ESAvatarGroupSize, ESAvatarIconBackground, ESAvatarShape, ESAvatarSize, ESBadgeColor, ESBadgePlacement, ESCalendarEventDirection, ESCalendarMonthDayTone, ESCardLayout, ESChartLegendSize, ESChartPieLegendView, ESCheckboxColor, ESCheckboxLabelPlacement, ESCheckboxSize, ESChipColor, ESChipSize, ESColorPaletteLayout, ESDropdownBoundary, ESDropdownPlacement, ESInlineGroupOrientation, ESInlineInputAppearance, ESInlineMessageValidationStatus, ESInputCustomize, ESLabelSize, ESLabelVariant, ESListGap, ESListItemRole, ESListItemVariant, ESPhotoEditShape, ESPhotoEditSize, ESRadioLabelPlacement, ESRoadmapStatus, ESSegmentControlShape, ESSegmentControlSize, ESSelectSearchable, ESTabAppearance, ESTabSize, ESTableCellState, ESTableCheckState, ESTableColumnAlign, ESTableColumnSticky, ESTableDropAction, ESTableFooterTone, ESTableRowColor, ESTableRowHeightMode, ESTableRowKind, ESTableRowState, ESTableRowsDragMode, ESTableSortDirection, ESTagColor, ESTagSize, ESToggleLabelPlacement, ESToggleSize, ESelectionFocusMode, ESelectionMode, ESelectionOrientation, EWorkTimeSource, MAX_RECENT_COLORS, RECOMMENDED_COLOR_PALETTE, SAvatar_default as SAvatar, SAvatarGroup_default as SAvatarGroup, SBadge_default as SBadge, SBanner_default as SBanner, SButton_default as SButton, SButtonGroup_default as SButtonGroup, SCalendarMonth_default as SCalendarMonth, SCalendarWeekGrid_default as SCalendarWeekGrid, SCard_default as SCard, SChartBar_default as SChartBar, SChartBurnup_default as SChartBurnup, SChartHorizontalBar_default as SChartHorizontalBar, SChartLegend_default as SChartLegend, SChartLine_default as SChartLine, SChartMultiLine_default as SChartMultiLine, SChartPie_default as SChartPie, SChartProgress_default as SChartProgress, SChartScatter_default as SChartScatter, SChartSegmentedBar_default as SChartSegmentedBar, SChartStackedArea_default as SChartStackedArea, SChartStackedBar_default as SChartStackedBar, SChartWidget_default as SChartWidget, SCheckbox_default as SCheckbox, SChip_default as SChip, SColorArea_default as SColorArea, SColorPalette_default as SColorPalette, SColorPicker_default as SColorPicker, SColorValues_default as SColorValues, SDayTimeline_default as SDayTimeline, SDropdown_default as SDropdown, SDropdownMenu_default as SDropdownMenu, SInlineGroup_default as SInlineGroup, SInlineInput_default as SInlineInput, SInlineMessage_default as SInlineMessage, SInput_default as SInput, SLabel_default as SLabel, SList_default as SList, SListItem_default as SListItem, SPhotoEdit_default as SPhotoEdit, SRadio_default as SRadio, SRoadmap_default as SRoadmap, SSegmentControl_default as SSegmentControl, SSelect_default as SSelect, STab_default as STab, STable_default as STable, STabs_default as STabs, STag_default as STag, STagGroup_default as STagGroup, STextarea_default as STextarea, SToast_default as SToast, SToastProvider_default as SToastProvider, SToggle_default as SToggle, S_DROPDOWN_SHEET_BREAKPOINT, TOAST_AUTO_DURATION_MAX_MS, TOAST_AUTO_DURATION_MIN_MS, TOAST_AUTO_DURATION_MS_PER_CHAR, WORK_TIME_SOURCE_COLOR_VARS, WORK_TIME_SOURCE_ORDER, buildWorkTimeLegendItems, computeAutoDuration, computeConnectedPosition, createUiKit, formatDurationHM, isSameColor, normalizeColorValue, resolveColorPreview, resolveOwnPropOrGroupedOrFallback, setUiKitLocale, uiKitLocaleEn, uiKitLocaleRu, useFlatTreeList, useFloatingOverlay, useSListEndReached, useSelectionGroup, useSelectionGroupItem, useToast, useUiKitI18n };