@shtabapp/ui-kit 1.84.0 → 1.85.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (985) hide show
  1. package/CHANGELOG.md +17 -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.d.ts +5 -0
  308. package/dist/components/SList/SList.types.d.ts.map +1 -1
  309. package/dist/components/SList/SList.types.js +15 -0
  310. package/dist/components/SList/SList.vue.cjs +6 -0
  311. package/dist/components/SList/SList.vue.d.ts.map +1 -1
  312. package/dist/components/SList/SList.vue.js +6 -0
  313. package/dist/components/SList/SList.vue_vue_type_script_setup_true_lang.cjs +631 -0
  314. package/dist/components/SList/SList.vue_vue_type_script_setup_true_lang.js +631 -0
  315. package/dist/components/SList/utils/context.cjs +4 -0
  316. package/dist/components/SList/utils/context.d.ts +2 -0
  317. package/dist/components/SList/utils/context.d.ts.map +1 -1
  318. package/dist/components/SList/utils/context.js +4 -0
  319. package/dist/components/SList/utils/listGapTokens.cjs +29 -0
  320. package/dist/components/SList/utils/listGapTokens.js +27 -0
  321. package/dist/components/SList/utils/listOptionId.cjs +6 -0
  322. package/dist/components/SList/utils/listOptionId.js +6 -0
  323. package/dist/components/SList/utils/resolveListItemFields.cjs +22 -0
  324. package/dist/components/SList/utils/resolveListItemFields.js +20 -0
  325. package/dist/components/SListItem/SListItem.types.cjs +29 -0
  326. package/dist/components/SListItem/SListItem.types.d.ts +7 -0
  327. package/dist/components/SListItem/SListItem.types.d.ts.map +1 -1
  328. package/dist/components/SListItem/SListItem.types.js +28 -0
  329. package/dist/components/SListItem/SListItem.vue.cjs +6 -0
  330. package/dist/components/SListItem/SListItem.vue.d.ts.map +1 -1
  331. package/dist/components/SListItem/SListItem.vue.js +6 -0
  332. package/dist/components/SListItem/SListItem.vue_vue_type_script_setup_true_lang.cjs +347 -0
  333. package/dist/components/SListItem/SListItem.vue_vue_type_script_setup_true_lang.js +347 -0
  334. package/dist/components/SListItem/utils/listItemAria.cjs +47 -0
  335. package/dist/components/SListItem/utils/listItemAria.js +47 -0
  336. package/dist/components/SNotification/SNotification.types.cjs +30 -0
  337. package/dist/components/SNotification/SNotification.types.js +27 -0
  338. package/dist/components/SNotification/SNotification.vue.cjs +6 -0
  339. package/dist/components/SNotification/SNotification.vue.js +6 -0
  340. package/dist/components/SNotification/SNotification.vue_vue_type_script_setup_true_lang.cjs +271 -0
  341. package/dist/components/SNotification/SNotification.vue_vue_type_script_setup_true_lang.js +271 -0
  342. package/dist/components/SNotification/resolveNotificationIcon.cjs +17 -0
  343. package/dist/components/SNotification/resolveNotificationIcon.js +17 -0
  344. package/dist/components/SOverflowGroup/SOverflowGroup.vue.cjs +4 -0
  345. package/dist/components/SOverflowGroup/SOverflowGroup.vue.js +5 -0
  346. package/dist/components/SOverflowGroup/SOverflowGroup.vue_vue_type_script_setup_true_lang.cjs +46 -0
  347. package/dist/components/SOverflowGroup/SOverflowGroup.vue_vue_type_script_setup_true_lang.js +46 -0
  348. package/dist/components/SPhotoEdit/SPhotoEdit.types.cjs +15 -0
  349. package/dist/components/SPhotoEdit/SPhotoEdit.types.js +14 -0
  350. package/dist/components/SPhotoEdit/SPhotoEdit.vue.cjs +6 -0
  351. package/dist/components/SPhotoEdit/SPhotoEdit.vue.js +6 -0
  352. package/dist/components/SPhotoEdit/SPhotoEdit.vue_vue_type_script_setup_true_lang.cjs +185 -0
  353. package/dist/components/SPhotoEdit/SPhotoEdit.vue_vue_type_script_setup_true_lang.js +185 -0
  354. package/dist/components/SRadio/SRadio.types.cjs +8 -0
  355. package/dist/components/SRadio/SRadio.types.js +8 -0
  356. package/dist/components/SRadio/SRadio.vue.cjs +6 -0
  357. package/dist/components/SRadio/SRadio.vue.js +6 -0
  358. package/dist/components/SRadio/SRadio.vue_vue_type_script_setup_true_lang.cjs +77 -0
  359. package/dist/components/SRadio/SRadio.vue_vue_type_script_setup_true_lang.js +77 -0
  360. package/dist/components/SRoadmap/SRoadmap.types.cjs +13 -0
  361. package/dist/components/SRoadmap/SRoadmap.types.js +13 -0
  362. package/dist/components/SRoadmap/SRoadmap.vue.cjs +6 -0
  363. package/dist/components/SRoadmap/SRoadmap.vue.js +6 -0
  364. package/dist/components/SRoadmap/SRoadmap.vue_vue_type_script_setup_true_lang.cjs +231 -0
  365. package/dist/components/SRoadmap/SRoadmap.vue_vue_type_script_setup_true_lang.js +231 -0
  366. package/dist/components/SRoadmap/utils/buildRoadmapRows.cjs +35 -0
  367. package/dist/components/SRoadmap/utils/buildRoadmapRows.js +35 -0
  368. package/dist/components/SRoadmap/utils/roadmapDate.cjs +40 -0
  369. package/dist/components/SRoadmap/utils/roadmapDate.js +38 -0
  370. package/dist/components/SSegmentControl/SSegmentControl.types.cjs +16 -0
  371. package/dist/components/SSegmentControl/SSegmentControl.types.d.ts +7 -0
  372. package/dist/components/SSegmentControl/SSegmentControl.types.d.ts.map +1 -1
  373. package/dist/components/SSegmentControl/SSegmentControl.types.js +15 -0
  374. package/dist/components/SSegmentControl/SSegmentControl.vue.cjs +6 -0
  375. package/dist/components/SSegmentControl/SSegmentControl.vue.d.ts.map +1 -1
  376. package/dist/components/SSegmentControl/SSegmentControl.vue.js +6 -0
  377. package/dist/components/SSegmentControl/SSegmentControl.vue_vue_type_script_setup_true_lang.cjs +108 -0
  378. package/dist/components/SSegmentControl/SSegmentControl.vue_vue_type_script_setup_true_lang.js +108 -0
  379. package/dist/components/SSegmentControl/SSegmentControlItem.vue.cjs +4 -0
  380. package/dist/components/SSegmentControl/SSegmentControlItem.vue.js +5 -0
  381. package/dist/components/SSegmentControl/SSegmentControlItem.vue_vue_type_script_setup_true_lang.cjs +144 -0
  382. package/dist/components/SSegmentControl/SSegmentControlItem.vue_vue_type_script_setup_true_lang.js +144 -0
  383. package/dist/components/SSegmentControl/index.d.ts +1 -1
  384. package/dist/components/SSegmentControl/index.d.ts.map +1 -1
  385. package/dist/components/SSegmentControl/utils/context.cjs +4 -0
  386. package/dist/components/SSegmentControl/utils/context.js +4 -0
  387. package/dist/components/SSegmentControl/utils/useSegmentIndicator.cjs +45 -0
  388. package/dist/components/SSegmentControl/utils/useSegmentIndicator.js +45 -0
  389. package/dist/components/SSelect/SSelect.types.cjs +8 -0
  390. package/dist/components/SSelect/SSelect.types.js +8 -0
  391. package/dist/components/SSelect/SSelect.vue.cjs +6 -0
  392. package/dist/components/SSelect/SSelect.vue.js +6 -0
  393. package/dist/components/SSelect/SSelect.vue_vue_type_script_setup_true_lang.cjs +710 -0
  394. package/dist/components/SSelect/SSelect.vue_vue_type_script_setup_true_lang.js +710 -0
  395. package/dist/components/SSelect/utils/buildSelectListItemProps.cjs +18 -0
  396. package/dist/components/SSelect/utils/buildSelectListItemProps.js +18 -0
  397. package/dist/components/SSelect/utils/resolveSelectItemValue.cjs +35 -0
  398. package/dist/components/SSelect/utils/resolveSelectItemValue.js +30 -0
  399. package/dist/components/SSelect/utils/useSelectState.cjs +192 -0
  400. package/dist/components/SSelect/utils/useSelectState.js +192 -0
  401. package/dist/components/STab/STab.types.cjs +14 -0
  402. package/dist/components/STab/STab.types.js +13 -0
  403. package/dist/components/STab/STab.vue.cjs +6 -0
  404. package/dist/components/STab/STab.vue.js +6 -0
  405. package/dist/components/STab/STab.vue_vue_type_script_setup_true_lang.cjs +366 -0
  406. package/dist/components/STab/STab.vue_vue_type_script_setup_true_lang.js +366 -0
  407. package/dist/components/STable/STable.types.cjs +99 -0
  408. package/dist/components/STable/STable.types.js +88 -0
  409. package/dist/components/STable/STable.vue.cjs +6 -0
  410. package/dist/components/STable/STable.vue.js +6 -0
  411. package/dist/components/STable/STable.vue_vue_type_script_setup_true_lang.cjs +1355 -0
  412. package/dist/components/STable/STable.vue_vue_type_script_setup_true_lang.js +1355 -0
  413. package/dist/components/STable/constants/tableSizes.cjs +36 -0
  414. package/dist/components/STable/constants/tableSizes.js +29 -0
  415. package/dist/components/STable/parts/STableCellText.vue.cjs +4 -0
  416. package/dist/components/STable/parts/STableCellText.vue.js +5 -0
  417. package/dist/components/STable/parts/STableCellText.vue_vue_type_script_setup_true_lang.cjs +31 -0
  418. package/dist/components/STable/parts/STableCellText.vue_vue_type_script_setup_true_lang.js +31 -0
  419. package/dist/components/STable/parts/STableCheckbox.vue.cjs +4 -0
  420. package/dist/components/STable/parts/STableCheckbox.vue.js +5 -0
  421. package/dist/components/STable/parts/STableCheckbox.vue_vue_type_script_setup_true_lang.cjs +56 -0
  422. package/dist/components/STable/parts/STableCheckbox.vue_vue_type_script_setup_true_lang.js +56 -0
  423. package/dist/components/STable/parts/STableContentRow.vue.cjs +4 -0
  424. package/dist/components/STable/parts/STableContentRow.vue.js +5 -0
  425. package/dist/components/STable/parts/STableContentRow.vue_vue_type_script_setup_true_lang.cjs +55 -0
  426. package/dist/components/STable/parts/STableContentRow.vue_vue_type_script_setup_true_lang.js +55 -0
  427. package/dist/components/STable/parts/STableGroupRow.vue.cjs +4 -0
  428. package/dist/components/STable/parts/STableGroupRow.vue.js +5 -0
  429. package/dist/components/STable/parts/STableGroupRow.vue_vue_type_script_setup_true_lang.cjs +210 -0
  430. package/dist/components/STable/parts/STableGroupRow.vue_vue_type_script_setup_true_lang.js +210 -0
  431. package/dist/components/STable/parts/STableHeaderCell.vue.cjs +4 -0
  432. package/dist/components/STable/parts/STableHeaderCell.vue.js +5 -0
  433. package/dist/components/STable/parts/STableHeaderCell.vue_vue_type_script_setup_true_lang.cjs +201 -0
  434. package/dist/components/STable/parts/STableHeaderCell.vue_vue_type_script_setup_true_lang.js +201 -0
  435. package/dist/components/STable/parts/STableHint.vue.cjs +4 -0
  436. package/dist/components/STable/parts/STableHint.vue.js +5 -0
  437. package/dist/components/STable/parts/STableHint.vue_vue_type_script_setup_true_lang.cjs +31 -0
  438. package/dist/components/STable/parts/STableHint.vue_vue_type_script_setup_true_lang.js +31 -0
  439. package/dist/components/STable/parts/STablePlaceholderRow.vue.cjs +4 -0
  440. package/dist/components/STable/parts/STablePlaceholderRow.vue.js +5 -0
  441. package/dist/components/STable/parts/STablePlaceholderRow.vue_vue_type_script_setup_true_lang.cjs +53 -0
  442. package/dist/components/STable/parts/STablePlaceholderRow.vue_vue_type_script_setup_true_lang.js +53 -0
  443. package/dist/components/STable/parts/STableRow.vue.cjs +4 -0
  444. package/dist/components/STable/parts/STableRow.vue.js +5 -0
  445. package/dist/components/STable/parts/STableRow.vue_vue_type_script_setup_true_lang.cjs +360 -0
  446. package/dist/components/STable/parts/STableRow.vue_vue_type_script_setup_true_lang.js +360 -0
  447. package/dist/components/STable/parts/STableSkeletonRow.vue.cjs +4 -0
  448. package/dist/components/STable/parts/STableSkeletonRow.vue.js +5 -0
  449. package/dist/components/STable/parts/STableSkeletonRow.vue_vue_type_script_setup_true_lang.cjs +47 -0
  450. package/dist/components/STable/parts/STableSkeletonRow.vue_vue_type_script_setup_true_lang.js +47 -0
  451. package/dist/components/STable/utils/resolveTableRowColor.cjs +19 -0
  452. package/dist/components/STable/utils/resolveTableRowColor.js +18 -0
  453. package/dist/components/STable/utils/tableDndShared.cjs +15 -0
  454. package/dist/components/STable/utils/tableDndShared.js +12 -0
  455. package/dist/components/STable/utils/useFlatTableRows.cjs +252 -0
  456. package/dist/components/STable/utils/useFlatTableRows.js +249 -0
  457. package/dist/components/STable/utils/useTableCellPlans.cjs +118 -0
  458. package/dist/components/STable/utils/useTableCellPlans.js +118 -0
  459. package/dist/components/STable/utils/useTableColumnDnd.cjs +155 -0
  460. package/dist/components/STable/utils/useTableColumnDnd.js +155 -0
  461. package/dist/components/STable/utils/useTableColumnResize.cjs +144 -0
  462. package/dist/components/STable/utils/useTableColumnResize.js +144 -0
  463. package/dist/components/STable/utils/useTableColumns.cjs +311 -0
  464. package/dist/components/STable/utils/useTableColumns.js +309 -0
  465. package/dist/components/STable/utils/useTableGridFocus.cjs +400 -0
  466. package/dist/components/STable/utils/useTableGridFocus.js +398 -0
  467. package/dist/components/STable/utils/useTableGridKeyboard.cjs +224 -0
  468. package/dist/components/STable/utils/useTableGridKeyboard.js +224 -0
  469. package/dist/components/STable/utils/useTableRenderEntries.cjs +115 -0
  470. package/dist/components/STable/utils/useTableRenderEntries.js +115 -0
  471. package/dist/components/STable/utils/useTableRowDnd.cjs +308 -0
  472. package/dist/components/STable/utils/useTableRowDnd.js +308 -0
  473. package/dist/components/STable/utils/useTableRowHydration.cjs +136 -0
  474. package/dist/components/STable/utils/useTableRowHydration.js +136 -0
  475. package/dist/components/STable/utils/useTableScrollScale.cjs +222 -0
  476. package/dist/components/STable/utils/useTableScrollScale.js +222 -0
  477. package/dist/components/STable/utils/useTableSelection.cjs +137 -0
  478. package/dist/components/STable/utils/useTableSelection.js +137 -0
  479. package/dist/components/STable/utils/useTableServiceRows.cjs +125 -0
  480. package/dist/components/STable/utils/useTableServiceRows.js +125 -0
  481. package/dist/components/STable/utils/useTableSorting.cjs +89 -0
  482. package/dist/components/STable/utils/useTableSorting.js +89 -0
  483. package/dist/components/STable/utils/useTableStickyRows.cjs +132 -0
  484. package/dist/components/STable/utils/useTableStickyRows.js +132 -0
  485. package/dist/components/STable/utils/useTableStyleVars.cjs +41 -0
  486. package/dist/components/STable/utils/useTableStyleVars.js +41 -0
  487. package/dist/components/STable/utils/useTableVirtualRows.cjs +251 -0
  488. package/dist/components/STable/utils/useTableVirtualRows.js +251 -0
  489. package/dist/components/STabs/STabs.vue.cjs +6 -0
  490. package/dist/components/STabs/STabs.vue.js +6 -0
  491. package/dist/components/STabs/STabs.vue_vue_type_script_setup_true_lang.cjs +133 -0
  492. package/dist/components/STabs/STabs.vue_vue_type_script_setup_true_lang.js +133 -0
  493. package/dist/components/STabs/utils/context.cjs +4 -0
  494. package/dist/components/STabs/utils/context.js +4 -0
  495. package/dist/components/STabs/utils/useTabsIndicator.cjs +53 -0
  496. package/dist/components/STabs/utils/useTabsIndicator.js +53 -0
  497. package/dist/components/STag/STag.types.cjs +28 -0
  498. package/dist/components/STag/STag.types.js +27 -0
  499. package/dist/components/STag/STag.vue.cjs +6 -0
  500. package/dist/components/STag/STag.vue.js +6 -0
  501. package/dist/components/STag/STag.vue_vue_type_script_setup_true_lang.cjs +163 -0
  502. package/dist/components/STag/STag.vue_vue_type_script_setup_true_lang.js +163 -0
  503. package/dist/components/STag/utils/resolveTagColor.cjs +19 -0
  504. package/dist/components/STag/utils/resolveTagColor.js +17 -0
  505. package/dist/components/STagGroup/STagGroup.vue.cjs +6 -0
  506. package/dist/components/STagGroup/STagGroup.vue.js +6 -0
  507. package/dist/components/STagGroup/STagGroup.vue_vue_type_script_setup_true_lang.cjs +49 -0
  508. package/dist/components/STagGroup/STagGroup.vue_vue_type_script_setup_true_lang.js +49 -0
  509. package/dist/components/STagGroup/utils/applyTagGroupItemProps.cjs +13 -0
  510. package/dist/components/STagGroup/utils/applyTagGroupItemProps.js +13 -0
  511. package/dist/components/STextarea/STextarea.vue.cjs +6 -0
  512. package/dist/components/STextarea/STextarea.vue.js +6 -0
  513. package/dist/components/STextarea/STextarea.vue_vue_type_script_setup_true_lang.cjs +237 -0
  514. package/dist/components/STextarea/STextarea.vue_vue_type_script_setup_true_lang.js +237 -0
  515. package/dist/components/SToast/SToast.vue.cjs +6 -0
  516. package/dist/components/SToast/SToast.vue.js +6 -0
  517. package/dist/components/SToast/SToast.vue_vue_type_script_setup_true_lang.cjs +101 -0
  518. package/dist/components/SToast/SToast.vue_vue_type_script_setup_true_lang.js +101 -0
  519. package/dist/components/SToastProvider/SToastProvider.vue.cjs +6 -0
  520. package/dist/components/SToastProvider/SToastProvider.vue.js +6 -0
  521. package/dist/components/SToastProvider/SToastProvider.vue_vue_type_script_setup_true_lang.cjs +212 -0
  522. package/dist/components/SToastProvider/SToastProvider.vue_vue_type_script_setup_true_lang.js +212 -0
  523. package/dist/components/SToastProvider/SToastProviderToast.vue.cjs +4 -0
  524. package/dist/components/SToastProvider/SToastProviderToast.vue.js +5 -0
  525. package/dist/components/SToastProvider/SToastProviderToast.vue_vue_type_script_setup_true_lang.cjs +75 -0
  526. package/dist/components/SToastProvider/SToastProviderToast.vue_vue_type_script_setup_true_lang.js +75 -0
  527. package/dist/components/SToastProvider/useToast.cjs +96 -0
  528. package/dist/components/SToastProvider/useToast.js +97 -0
  529. package/dist/components/SToastProvider/utils/computeAutoDuration.cjs +14 -0
  530. package/dist/components/SToastProvider/utils/computeAutoDuration.js +11 -0
  531. package/dist/components/SToastProvider/utils/toastProviderConstants.cjs +4 -0
  532. package/dist/components/SToastProvider/utils/toastProviderConstants.js +4 -0
  533. package/dist/components/SToggle/SToggle.types.cjs +15 -0
  534. package/dist/components/SToggle/SToggle.types.js +14 -0
  535. package/dist/components/SToggle/SToggle.vue.cjs +6 -0
  536. package/dist/components/SToggle/SToggle.vue.js +6 -0
  537. package/dist/components/SToggle/SToggle.vue_vue_type_script_setup_true_lang.cjs +80 -0
  538. package/dist/components/SToggle/SToggle.vue_vue_type_script_setup_true_lang.js +80 -0
  539. package/dist/composables/connectedPosition/computeArrowPosition.cjs +51 -0
  540. package/dist/composables/connectedPosition/computeArrowPosition.js +51 -0
  541. package/dist/composables/connectedPosition/computeConnectedPosition.cjs +96 -0
  542. package/dist/composables/connectedPosition/computeConnectedPosition.js +96 -0
  543. package/dist/composables/connectedPosition/flipSide.cjs +22 -0
  544. package/dist/composables/connectedPosition/flipSide.js +22 -0
  545. package/dist/composables/connectedPosition/getBoundaryRect.cjs +37 -0
  546. package/dist/composables/connectedPosition/getBoundaryRect.js +37 -0
  547. package/dist/composables/connectedPosition/getOverflow.cjs +60 -0
  548. package/dist/composables/connectedPosition/getOverflow.js +54 -0
  549. package/dist/composables/connectedPosition/getScrollParents.cjs +21 -0
  550. package/dist/composables/connectedPosition/getScrollParents.js +21 -0
  551. package/dist/composables/connectedPosition/getViewportRect.cjs +33 -0
  552. package/dist/composables/connectedPosition/getViewportRect.js +32 -0
  553. package/dist/composables/connectedPosition/parseAnchor.cjs +78 -0
  554. package/dist/composables/connectedPosition/parseAnchor.js +77 -0
  555. package/dist/composables/connectedPosition/positionCoordinates.cjs +109 -0
  556. package/dist/composables/connectedPosition/positionCoordinates.js +107 -0
  557. package/dist/composables/connectedPosition/resolveElement.cjs +9 -0
  558. package/dist/composables/connectedPosition/resolveElement.js +9 -0
  559. package/dist/composables/connectedPosition/types.cjs +47 -0
  560. package/dist/composables/connectedPosition/types.js +43 -0
  561. package/dist/composables/treeKeyboardNavigation.cjs +58 -0
  562. package/dist/composables/treeKeyboardNavigation.js +55 -0
  563. package/dist/composables/useAriaAttrs.cjs +37 -0
  564. package/dist/composables/useAriaAttrs.js +37 -0
  565. package/dist/composables/useChart.cjs +51 -0
  566. package/dist/composables/useChart.js +51 -0
  567. package/dist/composables/useChartInteractivity.cjs +26 -0
  568. package/dist/composables/useChartInteractivity.js +26 -0
  569. package/dist/composables/useEscapeDismiss.cjs +23 -0
  570. package/dist/composables/useEscapeDismiss.js +23 -0
  571. package/dist/composables/useFieldAttrs.cjs +36 -0
  572. package/dist/composables/useFieldAttrs.js +36 -0
  573. package/dist/composables/useFieldFilled.cjs +17 -0
  574. package/dist/composables/useFieldFilled.js +17 -0
  575. package/dist/composables/useFieldFocus.cjs +29 -0
  576. package/dist/composables/useFieldFocus.js +29 -0
  577. package/dist/composables/useFieldMessages.cjs +15 -0
  578. package/dist/composables/useFieldMessages.js +15 -0
  579. package/dist/composables/useFlatTreeList.cjs +148 -0
  580. package/dist/composables/useFlatTreeList.js +147 -0
  581. package/dist/composables/useFloatingOverlay.cjs +268 -0
  582. package/dist/composables/useFloatingOverlay.js +268 -0
  583. package/dist/composables/useHasListener.cjs +8 -0
  584. package/dist/composables/useHasListener.js +8 -0
  585. package/dist/composables/useLink.cjs +79 -0
  586. package/dist/composables/useLink.js +79 -0
  587. package/dist/composables/useOverflowGroup.cjs +29 -0
  588. package/dist/composables/useOverflowGroup.js +29 -0
  589. package/dist/composables/useResizeAutoScroll.cjs +163 -0
  590. package/dist/composables/useResizeAutoScroll.js +163 -0
  591. package/dist/composables/useSListEndReached.cjs +18 -0
  592. package/dist/composables/useSListEndReached.js +18 -0
  593. package/dist/composables/useSelectLink.cjs +16 -0
  594. package/dist/composables/useSelectLink.js +16 -0
  595. package/dist/composables/useSelectionGroup.cjs +323 -0
  596. package/dist/composables/useSelectionGroup.js +318 -0
  597. package/dist/composables/useSelectionGroupItem.cjs +62 -0
  598. package/dist/composables/useSelectionGroupItem.js +62 -0
  599. package/dist/entries/avatar-group.cjs +5 -1
  600. package/dist/entries/avatar-group.js +3 -2
  601. package/dist/entries/avatar.cjs +9 -1
  602. package/dist/entries/avatar.js +3 -2
  603. package/dist/entries/badge.cjs +6 -1
  604. package/dist/entries/badge.js +3 -2
  605. package/dist/entries/button-group.cjs +8 -1
  606. package/dist/entries/button-group.js +4 -3
  607. package/dist/entries/button.cjs +7 -1
  608. package/dist/entries/button.js +3 -2
  609. package/dist/entries/calendar.cjs +23 -1
  610. package/dist/entries/calendar.js +11 -2
  611. package/dist/entries/card.cjs +5 -1
  612. package/dist/entries/card.js +3 -2
  613. package/dist/entries/chart-bar.cjs +3 -1
  614. package/dist/entries/chart-bar.js +2 -2
  615. package/dist/entries/chart-burnup.cjs +3 -1
  616. package/dist/entries/chart-burnup.js +2 -2
  617. package/dist/entries/chart-horizontal-bar.cjs +3 -1
  618. package/dist/entries/chart-horizontal-bar.js +2 -2
  619. package/dist/entries/chart-line.cjs +3 -1
  620. package/dist/entries/chart-line.js +2 -2
  621. package/dist/entries/chart-multi-line.cjs +3 -1
  622. package/dist/entries/chart-multi-line.js +2 -2
  623. package/dist/entries/chart-pie.cjs +5 -1
  624. package/dist/entries/chart-pie.js +3 -2
  625. package/dist/entries/chart-progress.cjs +3 -1
  626. package/dist/entries/chart-progress.js +2 -2
  627. package/dist/entries/chart-scatter.cjs +3 -1
  628. package/dist/entries/chart-scatter.js +2 -2
  629. package/dist/entries/chart-stacked-area.cjs +3 -1
  630. package/dist/entries/chart-stacked-area.js +2 -2
  631. package/dist/entries/chart-stacked-bar.cjs +3 -1
  632. package/dist/entries/chart-stacked-bar.js +2 -2
  633. package/dist/entries/checkbox.cjs +7 -1
  634. package/dist/entries/checkbox.js +3 -2
  635. package/dist/entries/chip.cjs +6 -1
  636. package/dist/entries/chip.js +3 -2
  637. package/dist/entries/color-palette.cjs +14 -1
  638. package/dist/entries/color-palette.js +7 -3
  639. package/dist/entries/color-picker.cjs +16 -1
  640. package/dist/entries/color-picker.js +8 -4
  641. package/dist/entries/composables.cjs +18 -1
  642. package/dist/entries/composables.js +8 -5
  643. package/dist/entries/dropdown-menu.cjs +3 -0
  644. package/dist/entries/dropdown-menu.js +2 -0
  645. package/dist/entries/dropdown.cjs +7 -1
  646. package/dist/entries/dropdown.js +4 -3
  647. package/dist/entries/icon.cjs +9 -1
  648. package/dist/entries/inline-input.cjs +5 -1
  649. package/dist/entries/inline-input.js +3 -2
  650. package/dist/entries/inline-message.cjs +5 -1
  651. package/dist/entries/inline-message.js +3 -2
  652. package/dist/entries/input.cjs +5 -1
  653. package/dist/entries/input.js +3 -2
  654. package/dist/entries/label.cjs +6 -1
  655. package/dist/entries/label.js +3 -2
  656. package/dist/entries/list-item.cjs +6 -1
  657. package/dist/entries/list-item.js +3 -2
  658. package/dist/entries/list.cjs +5 -1
  659. package/dist/entries/list.js +3 -2
  660. package/dist/entries/photo-edit.cjs +6 -1
  661. package/dist/entries/photo-edit.js +3 -2
  662. package/dist/entries/progress-bar.cjs +9 -1
  663. package/dist/entries/radio.cjs +5 -1
  664. package/dist/entries/radio.js +3 -2
  665. package/dist/entries/segment-control.cjs +6 -1
  666. package/dist/entries/segment-control.d.ts +1 -1
  667. package/dist/entries/segment-control.d.ts.map +1 -1
  668. package/dist/entries/segment-control.js +3 -2
  669. package/dist/entries/select.cjs +5 -1
  670. package/dist/entries/select.js +3 -2
  671. package/dist/entries/separator.cjs +14 -1
  672. package/dist/entries/separator.js +2 -2
  673. package/dist/entries/skeleton.cjs +9 -1
  674. package/dist/entries/spinner.cjs +9 -1
  675. package/dist/entries/tab.cjs +6 -1
  676. package/dist/entries/tab.js +3 -2
  677. package/dist/entries/table.cjs +16 -1
  678. package/dist/entries/table.js +3 -2
  679. package/dist/entries/tabs.cjs +8 -1
  680. package/dist/entries/tabs.js +4 -3
  681. package/dist/entries/tag-group.cjs +6 -1
  682. package/dist/entries/tag-group.js +3 -3
  683. package/dist/entries/tag.cjs +6 -1
  684. package/dist/entries/tag.js +3 -2
  685. package/dist/entries/textarea.cjs +3 -1
  686. package/dist/entries/textarea.js +2 -2
  687. package/dist/entries/toggle.cjs +6 -1
  688. package/dist/entries/toggle.js +3 -2
  689. package/dist/entries/tokens.cjs +9 -1
  690. package/dist/index.cjs +298 -1
  691. package/dist/index.d.ts +1 -1
  692. package/dist/index.d.ts.map +1 -1
  693. package/dist/index.js +105 -1269
  694. package/dist/uikit-components.css +1 -1
  695. package/dist/utils/chart/bar/createStackedBarHoverOutlinePlugin.cjs +63 -0
  696. package/dist/utils/chart/bar/createStackedBarHoverOutlinePlugin.js +63 -0
  697. package/dist/utils/chart/bar/createStackedBarTooltipCallbacks.cjs +53 -0
  698. package/dist/utils/chart/bar/createStackedBarTooltipCallbacks.js +51 -0
  699. package/dist/utils/chart/bar/resolveBarStackedSeriesColor.cjs +11 -0
  700. package/dist/utils/chart/bar/resolveBarStackedSeriesColor.js +11 -0
  701. package/dist/utils/chart/burnup/createBurnupTagPlugin.cjs +63 -0
  702. package/dist/utils/chart/burnup/createBurnupTagPlugin.js +63 -0
  703. package/dist/utils/chart/burnup/createBurnupTodayLinePlugin.cjs +24 -0
  704. package/dist/utils/chart/burnup/createBurnupTodayLinePlugin.js +24 -0
  705. package/dist/utils/chart/burnup/createBurnupTooltipCallbacks.cjs +17 -0
  706. package/dist/utils/chart/burnup/createBurnupTooltipCallbacks.js +16 -0
  707. package/dist/utils/chart/core/applyChartHighlightedYTick.cjs +21 -0
  708. package/dist/utils/chart/core/applyChartHighlightedYTick.js +21 -0
  709. package/dist/utils/chart/core/buildCartesianChartScales.cjs +42 -0
  710. package/dist/utils/chart/core/buildCartesianChartScales.js +42 -0
  711. package/dist/utils/chart/core/buildChartLegendItems.cjs +7 -0
  712. package/dist/utils/chart/core/buildChartLegendItems.js +7 -0
  713. package/dist/utils/chart/core/buildChartMirrorScale.cjs +17 -0
  714. package/dist/utils/chart/core/buildChartMirrorScale.js +16 -0
  715. package/dist/utils/chart/core/buildChartSeriesPoints.cjs +7 -0
  716. package/dist/utils/chart/core/buildChartSeriesPoints.js +7 -0
  717. package/dist/utils/chart/core/chartCssVariables.cjs +151 -0
  718. package/dist/utils/chart/core/chartCssVariables.js +144 -0
  719. package/dist/utils/chart/core/chartInteractivity.cjs +178 -0
  720. package/dist/utils/chart/core/chartInteractivity.js +170 -0
  721. package/dist/utils/chart/core/chartSkeletonConfig.cjs +17 -0
  722. package/dist/utils/chart/core/chartSkeletonConfig.js +15 -0
  723. package/dist/utils/chart/core/createChartMarkersPlugin.cjs +85 -0
  724. package/dist/utils/chart/core/createChartMarkersPlugin.js +85 -0
  725. package/dist/utils/chart/core/createCustomTooltipCallbacks.cjs +12 -0
  726. package/dist/utils/chart/core/createCustomTooltipCallbacks.js +12 -0
  727. package/dist/utils/chart/core/createZeroLinePlugin.cjs +24 -0
  728. package/dist/utils/chart/core/createZeroLinePlugin.js +24 -0
  729. package/dist/utils/chart/core/registerChartJs.cjs +42 -0
  730. package/dist/utils/chart/core/registerChartJs.js +42 -0
  731. package/dist/utils/chart/core/resolveChartValueRange.cjs +19 -0
  732. package/dist/utils/chart/core/resolveChartValueRange.js +19 -0
  733. package/dist/utils/chart/core/resolveSeriesPaletteColor.cjs +11 -0
  734. package/dist/utils/chart/core/resolveSeriesPaletteColor.js +11 -0
  735. package/dist/utils/chart/core/splitChartAxisLabel.cjs +5 -0
  736. package/dist/utils/chart/core/splitChartAxisLabel.js +5 -0
  737. package/dist/utils/chart/css/applyOpacityToCssColor.cjs +8 -0
  738. package/dist/utils/chart/css/applyOpacityToCssColor.js +8 -0
  739. package/dist/utils/chart/css/readCssColor.cjs +8 -0
  740. package/dist/utils/chart/css/readCssColor.js +8 -0
  741. package/dist/utils/chart/css/readCssNumber.cjs +11 -0
  742. package/dist/utils/chart/css/readCssNumber.js +11 -0
  743. package/dist/utils/chart/css/resolveChartLabelFont.cjs +8 -0
  744. package/dist/utils/chart/css/resolveChartLabelFont.js +8 -0
  745. package/dist/utils/chart/css/resolveCssColorValue.cjs +10 -0
  746. package/dist/utils/chart/css/resolveCssColorValue.js +10 -0
  747. package/dist/utils/chart/horizontalBar/buildHorizontalBarChartConfig.cjs +96 -0
  748. package/dist/utils/chart/horizontalBar/buildHorizontalBarChartConfig.js +96 -0
  749. package/dist/utils/chart/horizontalBar/buildHorizontalBarChartScales.cjs +53 -0
  750. package/dist/utils/chart/horizontalBar/buildHorizontalBarChartScales.js +53 -0
  751. package/dist/utils/chart/horizontalBar/createHorizontalBarValueLabelPlugin.cjs +47 -0
  752. package/dist/utils/chart/horizontalBar/createHorizontalBarValueLabelPlugin.js +46 -0
  753. package/dist/utils/chart/horizontalBar/resolveHorizontalBarColor.cjs +11 -0
  754. package/dist/utils/chart/horizontalBar/resolveHorizontalBarColor.js +11 -0
  755. package/dist/utils/chart/horizontalBar/resolveHorizontalBarXMax.cjs +11 -0
  756. package/dist/utils/chart/horizontalBar/resolveHorizontalBarXMax.js +11 -0
  757. package/dist/utils/chart/horizontalBar/skeletonHorizontalBarFixture.cjs +29 -0
  758. package/dist/utils/chart/horizontalBar/skeletonHorizontalBarFixture.js +29 -0
  759. package/dist/utils/chart/line/createChartAreaFillGradient.cjs +41 -0
  760. package/dist/utils/chart/line/createChartAreaFillGradient.js +39 -0
  761. package/dist/utils/chart/multiLine/buildMultiLineChartScales.cjs +43 -0
  762. package/dist/utils/chart/multiLine/buildMultiLineChartScales.js +43 -0
  763. package/dist/utils/chart/multiLine/createMultiLineTooltipCallbacks.cjs +29 -0
  764. package/dist/utils/chart/multiLine/createMultiLineTooltipCallbacks.js +27 -0
  765. package/dist/utils/chart/multiLine/resolveMultiLineSeriesColor.cjs +11 -0
  766. package/dist/utils/chart/multiLine/resolveMultiLineSeriesColor.js +11 -0
  767. package/dist/utils/chart/pie/createPieSegmentBadgePlugin.cjs +61 -0
  768. package/dist/utils/chart/pie/createPieSegmentBadgePlugin.js +61 -0
  769. package/dist/utils/chart/pie/createPieTooltipCallbacks.cjs +11 -0
  770. package/dist/utils/chart/pie/createPieTooltipCallbacks.js +11 -0
  771. package/dist/utils/chart/pie/resolvePieSliceColor.cjs +11 -0
  772. package/dist/utils/chart/pie/resolvePieSliceColor.js +11 -0
  773. package/dist/utils/chart/progress/createProgressChartTooltipPositioner.cjs +25 -0
  774. package/dist/utils/chart/progress/createProgressChartTooltipPositioner.js +24 -0
  775. package/dist/utils/chart/segmentedBar/resolveSegmentedBarSegmentColor.cjs +30 -0
  776. package/dist/utils/chart/segmentedBar/resolveSegmentedBarSegmentColor.js +30 -0
  777. package/dist/utils/chart/stacked/areChartSeriesAligned.cjs +14 -0
  778. package/dist/utils/chart/stacked/areChartSeriesAligned.js +14 -0
  779. package/dist/utils/chart/stacked/createChartCrosshairPlugin.cjs +23 -0
  780. package/dist/utils/chart/stacked/createChartCrosshairPlugin.js +23 -0
  781. package/dist/utils/chart/stacked/createStackedAreaTooltipCallbacks.cjs +34 -0
  782. package/dist/utils/chart/stacked/createStackedAreaTooltipCallbacks.js +32 -0
  783. package/dist/utils/chart/stacked/resolveStackedChartContext.cjs +21 -0
  784. package/dist/utils/chart/stacked/resolveStackedChartContext.js +21 -0
  785. package/dist/utils/chart/stacked/resolveStackedSeriesColor.cjs +11 -0
  786. package/dist/utils/chart/stacked/resolveStackedSeriesColor.js +11 -0
  787. package/dist/utils/chart/stacked/resolveStackedYMax.cjs +16 -0
  788. package/dist/utils/chart/stacked/resolveStackedYMax.js +16 -0
  789. package/dist/utils/color/colorFormatChannels.cjs +165 -0
  790. package/dist/utils/color/colorFormatChannels.js +158 -0
  791. package/dist/utils/color/colorValue.cjs +31 -0
  792. package/dist/utils/color/colorValue.js +27 -0
  793. package/dist/utils/color/contrastSurfaceTextColor.cjs +60 -0
  794. package/dist/utils/color/contrastSurfaceTextColor.js +59 -0
  795. package/dist/utils/color/defaultPaletteColors.cjs +17 -0
  796. package/dist/utils/color/defaultPaletteColors.js +17 -0
  797. package/dist/utils/color/formatColorForDisplay.cjs +45 -0
  798. package/dist/utils/color/formatColorForDisplay.js +42 -0
  799. package/dist/utils/color/parseColorFromInput.cjs +34 -0
  800. package/dist/utils/color/parseColorFromInput.js +34 -0
  801. package/dist/utils/color/recommendedColorPalette.cjs +36 -0
  802. package/dist/utils/color/recommendedColorPalette.js +36 -0
  803. package/dist/utils/color/types.cjs +25 -0
  804. package/dist/utils/color/types.js +24 -0
  805. package/dist/utils/getIndicatorMetricsPercent.cjs +34 -0
  806. package/dist/utils/getIndicatorMetricsPercent.js +33 -0
  807. package/dist/utils/normalizeFieldMessages.cjs +8 -0
  808. package/dist/utils/normalizeFieldMessages.js +8 -0
  809. package/dist/utils/vnodes/collectSlotVnodes.cjs +39 -0
  810. package/dist/utils/vnodes/collectSlotVnodes.js +39 -0
  811. package/dist/utils/vnodes/renderVnodeList.cjs +16 -0
  812. package/dist/utils/vnodes/renderVnodeList.js +16 -0
  813. package/dist/utils/vueRouterLinkPresentation.cjs +30 -0
  814. package/dist/utils/vueRouterLinkPresentation.js +28 -0
  815. package/dist/vendor/lodash-es/_Symbol.cjs +5 -0
  816. package/dist/vendor/lodash-es/_Symbol.js +6 -0
  817. package/dist/vendor/lodash-es/_baseGetTag.cjs +21 -0
  818. package/dist/vendor/lodash-es/_baseGetTag.js +21 -0
  819. package/dist/vendor/lodash-es/_baseTrim.cjs +16 -0
  820. package/dist/vendor/lodash-es/_baseTrim.js +16 -0
  821. package/dist/vendor/lodash-es/_freeGlobal.cjs +5 -0
  822. package/dist/vendor/lodash-es/_freeGlobal.js +5 -0
  823. package/dist/vendor/lodash-es/_getRawTag.cjs +34 -0
  824. package/dist/vendor/lodash-es/_getRawTag.js +34 -0
  825. package/dist/vendor/lodash-es/_objectToString.cjs +19 -0
  826. package/dist/vendor/lodash-es/_objectToString.js +19 -0
  827. package/dist/vendor/lodash-es/_root.cjs +8 -0
  828. package/dist/vendor/lodash-es/_root.js +8 -0
  829. package/dist/vendor/lodash-es/_trimmedEndIndex.cjs +18 -0
  830. package/dist/vendor/lodash-es/_trimmedEndIndex.js +18 -0
  831. package/dist/vendor/lodash-es/debounce.cjs +132 -0
  832. package/dist/vendor/lodash-es/debounce.js +132 -0
  833. package/dist/vendor/lodash-es/isObject.cjs +32 -0
  834. package/dist/vendor/lodash-es/isObject.js +32 -0
  835. package/dist/vendor/lodash-es/isObjectLike.cjs +30 -0
  836. package/dist/vendor/lodash-es/isObjectLike.js +30 -0
  837. package/dist/vendor/lodash-es/isSymbol.cjs +27 -0
  838. package/dist/vendor/lodash-es/isSymbol.js +27 -0
  839. package/dist/vendor/lodash-es/now.cjs +23 -0
  840. package/dist/vendor/lodash-es/now.js +23 -0
  841. package/dist/vendor/lodash-es/toNumber.cjs +51 -0
  842. package/dist/vendor/lodash-es/toNumber.js +51 -0
  843. package/package.json +2 -2
  844. package/dist/SAvatar-6uaisUHm.js +0 -267
  845. package/dist/SAvatar-BQNqFdkk.cjs +0 -1
  846. package/dist/SAvatarGroup-D27squmU.cjs +0 -1
  847. package/dist/SAvatarGroup-DnVhY7I1.js +0 -47
  848. package/dist/SBadge-Dn87LB9z.cjs +0 -1
  849. package/dist/SBadge-Du9iIiXS.js +0 -85
  850. package/dist/SButton-CZW6Y8Vw.cjs +0 -1
  851. package/dist/SButton-n2Zuqh04.js +0 -249
  852. package/dist/SButtonGroup-BqW5Rz1p.js +0 -88
  853. package/dist/SButtonGroup-DSi8mQSz.cjs +0 -1
  854. package/dist/SCard-CYPxwmOm.cjs +0 -1
  855. package/dist/SCard-CuiQMwUB.js +0 -132
  856. package/dist/SChartBar-BAO2FtIO.cjs +0 -1
  857. package/dist/SChartBar-DHjm1H0N.js +0 -304
  858. package/dist/SChartBurnup-9s2KNzCr.cjs +0 -1
  859. package/dist/SChartBurnup-B1KU1E5B.js +0 -261
  860. package/dist/SChartHorizontalBar-DwY63iRT.cjs +0 -1
  861. package/dist/SChartHorizontalBar-VKU0b6Jx.js +0 -245
  862. package/dist/SChartLegend-At0mMO09.js +0 -88
  863. package/dist/SChartLegend-DQMLr6yV.cjs +0 -1
  864. package/dist/SChartLine-rnEsQv-q.js +0 -165
  865. package/dist/SChartLine-tj-AapTr.cjs +0 -1
  866. package/dist/SChartMultiLine-C4jjmLEb.js +0 -282
  867. package/dist/SChartMultiLine-dtd6k59D.cjs +0 -1
  868. package/dist/SChartPie-Ddk8r-_I.cjs +0 -1
  869. package/dist/SChartPie-Ebg7WSga.js +0 -267
  870. package/dist/SChartProgress-DRSh_taf.js +0 -211
  871. package/dist/SChartProgress-DozBX6ve.cjs +0 -1
  872. package/dist/SChartScatter-DilWNoz0.cjs +0 -1
  873. package/dist/SChartScatter-DnmTw18x.js +0 -249
  874. package/dist/SChartStackedArea-BJ5HsJzQ.cjs +0 -1
  875. package/dist/SChartStackedArea-zIygTOp8.js +0 -278
  876. package/dist/SChartStackedBar-CXpVSagd.js +0 -350
  877. package/dist/SChartStackedBar-Dj6esSCS.cjs +0 -2
  878. package/dist/SCheckbox-Dkbk21Id.cjs +0 -1
  879. package/dist/SCheckbox-Dulusx5v.js +0 -105
  880. package/dist/SChip-CdKh_3Bo.js +0 -101
  881. package/dist/SChip-DwjDiD7C.cjs +0 -1
  882. package/dist/SColorPalette-CqIA4Qtp.cjs +0 -1
  883. package/dist/SColorPalette-OCu-tgZ3.js +0 -146
  884. package/dist/SColorPicker-BJjZR52T.cjs +0 -1
  885. package/dist/SColorPicker-BMpT38eb.js +0 -642
  886. package/dist/SDropdown-B_nsm3Jf.cjs +0 -1
  887. package/dist/SDropdown-aWjZrahp.js +0 -541
  888. package/dist/SDropdownMenu-2koPU6IG.js +0 -38
  889. package/dist/SDropdownMenu-k9SxaFVH.cjs +0 -1
  890. package/dist/SInlineInput-D3vCX4QA.cjs +0 -1
  891. package/dist/SInlineInput-DO_glYxP.js +0 -517
  892. package/dist/SInlineMessage-Dirk5RwO.js +0 -17
  893. package/dist/SInlineMessage-gjkMiE-W.cjs +0 -1
  894. package/dist/SInput-DwUxyUwU.js +0 -226
  895. package/dist/SInput-x0GgJDEY.cjs +0 -1
  896. package/dist/SLabel-DLKfepRW.cjs +0 -1
  897. package/dist/SLabel-FHHPlcKq.js +0 -59
  898. package/dist/SList-C43FRAw1.cjs +0 -1
  899. package/dist/SList-WUROy6L6.js +0 -471
  900. package/dist/SListItem-BCC_BAUR.js +0 -236
  901. package/dist/SListItem-CzfRtRh7.cjs +0 -1
  902. package/dist/SOverflowGroup-CyksOav7.js +0 -79
  903. package/dist/SOverflowGroup-rmU10_7L.cjs +0 -1
  904. package/dist/SPhotoEdit-CoJLP7rt.cjs +0 -1
  905. package/dist/SPhotoEdit-DiEnt3tE.js +0 -122
  906. package/dist/SRadio-B9qQ-PEk.cjs +0 -1
  907. package/dist/SRadio-BhoLtFUS.js +0 -60
  908. package/dist/SSegmentControl-BaD9BK2s.cjs +0 -1
  909. package/dist/SSegmentControl-Bjech2v4.js +0 -208
  910. package/dist/SSelect-BG4Wh8N9.cjs +0 -1
  911. package/dist/SSelect-CGeBR5qb.js +0 -685
  912. package/dist/STab-BkQzKaLY.cjs +0 -1
  913. package/dist/STab-D7SATMfv.js +0 -242
  914. package/dist/STable-CDGD1gwW.cjs +0 -1
  915. package/dist/STable-wQ3Mgc-8.js +0 -3556
  916. package/dist/STabs-CDNAhgMN.cjs +0 -1
  917. package/dist/STabs-_Zwxu8-o.js +0 -151
  918. package/dist/STag-C21nN8ow.js +0 -125
  919. package/dist/STag-qKbkpXjI.cjs +0 -1
  920. package/dist/STagGroup-6Z8CKlut.cjs +0 -1
  921. package/dist/STagGroup-CW9kWSnz.js +0 -47
  922. package/dist/STextarea-BDyy7Ku5.js +0 -269
  923. package/dist/STextarea-C4qDIp2k.cjs +0 -1
  924. package/dist/SToggle-BNgLiIrQ.cjs +0 -1
  925. package/dist/SToggle-MSdprnRP.js +0 -62
  926. package/dist/applyChartHighlightedYTick-CKsVe7PW.cjs +0 -1
  927. package/dist/applyChartHighlightedYTick-DOxlsWPd.js +0 -17
  928. package/dist/areChartSeriesAligned-DiBX3TTk.cjs +0 -1
  929. package/dist/areChartSeriesAligned-DjonrIMm.js +0 -8
  930. package/dist/buildCartesianChartScales-Dck5yBMo.cjs +0 -1
  931. package/dist/buildCartesianChartScales-EofFq3ry.js +0 -42
  932. package/dist/buildChartMirrorScale-CBUIRPYX.cjs +0 -1
  933. package/dist/buildChartMirrorScale-_PhGNiFR.js +0 -15
  934. package/dist/buildChartSeriesPoints-BTyOpkin.js +0 -10
  935. package/dist/buildChartSeriesPoints-Cqo2ed-n.cjs +0 -1
  936. package/dist/buildMultiLineChartScales-BweU2ftq.cjs +0 -1
  937. package/dist/buildMultiLineChartScales-DbRe2UFD.js +0 -38
  938. package/dist/buildWorkTimeLegendItems-CifzZM9C.js +0 -411
  939. package/dist/buildWorkTimeLegendItems-DPx5Yma0.cjs +0 -1
  940. package/dist/colorValue-CSh0chxp.js +0 -5
  941. package/dist/colorValue-Dda7fKd3.cjs +0 -1
  942. package/dist/context-C3WoLJS4.js +0 -4
  943. package/dist/context-kCi2xRHY.cjs +0 -1
  944. package/dist/contrastSurfaceTextColor-BDlLSSXC.js +0 -33
  945. package/dist/contrastSurfaceTextColor-BRjRzXyZ.cjs +0 -1
  946. package/dist/createChartCrosshairPlugin-B4LrgKjG.js +0 -14
  947. package/dist/createChartCrosshairPlugin-COIICTCz.cjs +0 -1
  948. package/dist/createChartMarkersPlugin-L7qomZVK.cjs +0 -1
  949. package/dist/createChartMarkersPlugin-bAEeP-5Z.js +0 -43
  950. package/dist/createCustomTooltipCallbacks-CxeEfJLl.js +0 -12
  951. package/dist/createCustomTooltipCallbacks-oRAimZTt.cjs +0 -1
  952. package/dist/getIndicatorMetricsPercent-CFGy_nB8.cjs +0 -1
  953. package/dist/getIndicatorMetricsPercent-CWrH_ONg.js +0 -19
  954. package/dist/resolveBarStackedSeriesColor-BDJ7XBIB.cjs +0 -1
  955. package/dist/resolveBarStackedSeriesColor-zEV1Ps7h.js +0 -11
  956. package/dist/resolveChartLabelFont-D_Pxt-gs.cjs +0 -1
  957. package/dist/resolveChartLabelFont-WtZd0pFD.js +0 -4
  958. package/dist/resolveChartValueRange-DBCYLCXs.cjs +0 -1
  959. package/dist/resolveChartValueRange-DZybnmaX.js +0 -10
  960. package/dist/resolveCssColorValue-BBK7CTmP.js +0 -8
  961. package/dist/resolveCssColorValue-D3fS-cK8.cjs +0 -1
  962. package/dist/resolveSeriesPaletteColor-Bk52kyZo.js +0 -10
  963. package/dist/resolveSeriesPaletteColor-CVEsFs0o.cjs +0 -1
  964. package/dist/resolveStackedChartContext-BE3ZW2Sf.cjs +0 -1
  965. package/dist/resolveStackedChartContext-Dc6Foe7D.js +0 -26
  966. package/dist/splitChartAxisLabel-D-IFyucJ.js +0 -4
  967. package/dist/splitChartAxisLabel-DAmQOJn6.cjs +0 -2
  968. package/dist/treeKeyboardNavigation-BOz2SVus.cjs +0 -1
  969. package/dist/treeKeyboardNavigation-SmxTdnDz.js +0 -131
  970. package/dist/useAriaAttrs-CxGRTeye.js +0 -15
  971. package/dist/useAriaAttrs-D748yeJ_.cjs +0 -1
  972. package/dist/useChartInteractivity-Yk7qEYgl.cjs +0 -2
  973. package/dist/useChartInteractivity-sgbPZgcH.js +0 -416
  974. package/dist/useFieldMessages-2TaArixP.cjs +0 -1
  975. package/dist/useFieldMessages-C-GXaf_q.js +0 -43
  976. package/dist/useFloatingOverlay-CwGCMrig.cjs +0 -1
  977. package/dist/useFloatingOverlay-TxzVisMJ.js +0 -489
  978. package/dist/useHasListener-BPgtbbo6.cjs +0 -1
  979. package/dist/useHasListener-RSjlUyqH.js +0 -8
  980. package/dist/useLink-1LLWpdDZ.cjs +0 -1
  981. package/dist/useLink-Com5VhOk.js +0 -55
  982. package/dist/useSelectLink-2aCIYmF6.js +0 -47
  983. package/dist/useSelectLink-DZIAhQ2J.cjs +0 -1
  984. package/dist/useSelectionGroup-BCAmPf3R.js +0 -211
  985. package/dist/useSelectionGroup-NJvi3hNo.cjs +0 -1
@@ -0,0 +1,1355 @@
1
+ const require_SButton_types = require("../SButton/SButton.types.cjs");
2
+ const require_SButton = require("../SButton/SButton.vue.cjs");
3
+ const require_types = require("../../composables/connectedPosition/types.cjs");
4
+ const require_SDropdown = require("../SDropdown/SDropdown.vue.cjs");
5
+ const require_SDropdownMenu = require("../SDropdownMenu/SDropdownMenu.vue.cjs");
6
+ const require_useSListEndReached = require("../../composables/useSListEndReached.cjs");
7
+ const require_SToggle_types = require("../SToggle/SToggle.types.cjs");
8
+ const require_SToggle = require("../SToggle/SToggle.vue.cjs");
9
+ const require_STable_types = require("./STable.types.cjs");
10
+ const require_tableSizes = require("./constants/tableSizes.cjs");
11
+ const require_STableCheckbox = require("./parts/STableCheckbox.vue.cjs");
12
+ const require_STableContentRow = require("./parts/STableContentRow.vue.cjs");
13
+ const require_useTableColumns = require("./utils/useTableColumns.cjs");
14
+ const require_useTableGridFocus = require("./utils/useTableGridFocus.cjs");
15
+ const require_STableGroupRow = require("./parts/STableGroupRow.vue.cjs");
16
+ const require_STableHeaderCell = require("./parts/STableHeaderCell.vue.cjs");
17
+ const require_STablePlaceholderRow = require("./parts/STablePlaceholderRow.vue.cjs");
18
+ const require_useFlatTableRows = require("./utils/useFlatTableRows.cjs");
19
+ const require_STableRow = require("./parts/STableRow.vue.cjs");
20
+ const require_STableSkeletonRow = require("./parts/STableSkeletonRow.vue.cjs");
21
+ const require_useTableColumnDnd = require("./utils/useTableColumnDnd.cjs");
22
+ const require_useTableCellPlans = require("./utils/useTableCellPlans.cjs");
23
+ const require_useTableColumnResize = require("./utils/useTableColumnResize.cjs");
24
+ const require_useTableGridKeyboard = require("./utils/useTableGridKeyboard.cjs");
25
+ const require_useTableRowDnd = require("./utils/useTableRowDnd.cjs");
26
+ const require_useTableRenderEntries = require("./utils/useTableRenderEntries.cjs");
27
+ const require_useTableSelection = require("./utils/useTableSelection.cjs");
28
+ const require_useTableServiceRows = require("./utils/useTableServiceRows.cjs");
29
+ const require_useTableSorting = require("./utils/useTableSorting.cjs");
30
+ const require_useTableRowHydration = require("./utils/useTableRowHydration.cjs");
31
+ const require_useTableStickyRows = require("./utils/useTableStickyRows.cjs");
32
+ const require_useTableStyleVars = require("./utils/useTableStyleVars.cjs");
33
+ const require_useTableVirtualRows = require("./utils/useTableVirtualRows.cjs");
34
+ let vue = require("vue");
35
+ let _shtabapp_ui_kit_primitives = require("@shtabapp/ui-kit-primitives");
36
+ let _vueuse_core = require("@vueuse/core");
37
+ //#region src/components/STable/STable.vue?vue&type=script&setup=true&lang.ts
38
+ var _hoisted_1 = [
39
+ "role",
40
+ "aria-rowcount",
41
+ "aria-colcount",
42
+ "aria-busy"
43
+ ];
44
+ var _hoisted_2 = { class: "s-ui-table__head" };
45
+ var _hoisted_3 = {
46
+ class: "s-ui-table__head-row",
47
+ "aria-rowindex": 1
48
+ };
49
+ var _hoisted_4 = {
50
+ key: 0,
51
+ class: "s-ui-table__header-cell s-ui-table__filler-cell",
52
+ role: "presentation"
53
+ };
54
+ var _hoisted_5 = [
55
+ "id",
56
+ "data-column-key",
57
+ "data-section",
58
+ "aria-colindex",
59
+ "aria-sort",
60
+ "tabindex"
61
+ ];
62
+ var _hoisted_6 = {
63
+ key: 2,
64
+ class: "s-ui-table__columns-manager"
65
+ };
66
+ var _hoisted_7 = { class: "s-ui-table__columns-item-main" };
67
+ var _hoisted_8 = { class: "s-ui-table__columns-item-title" };
68
+ var _hoisted_9 = [
69
+ "aria-label",
70
+ "aria-valuenow",
71
+ "aria-valuemin",
72
+ "aria-valuemax",
73
+ "aria-valuetext",
74
+ "onPointerdown",
75
+ "onKeydown",
76
+ "onDblclick"
77
+ ];
78
+ var _hoisted_10 = { class: "s-ui-table__body" };
79
+ var _hoisted_11 = {
80
+ key: 0,
81
+ class: "s-ui-table__empty-row",
82
+ "aria-rowindex": 2
83
+ };
84
+ var _hoisted_12 = ["colspan"];
85
+ var _hoisted_13 = { class: "s-ui-table__empty-content" };
86
+ var _hoisted_14 = { class: "s-ui-table__empty-text" };
87
+ var _hoisted_15 = {
88
+ key: 0,
89
+ class: "s-ui-table__spacer",
90
+ "aria-hidden": "true"
91
+ };
92
+ var _hoisted_16 = ["colspan"];
93
+ var _hoisted_17 = {
94
+ key: 0,
95
+ class: "s-ui-table__foot"
96
+ };
97
+ var _hoisted_18 = ["aria-rowindex"];
98
+ var _hoisted_19 = {
99
+ key: 0,
100
+ class: "s-ui-table__aggregate-cell s-ui-table__filler-cell",
101
+ role: "presentation"
102
+ };
103
+ var _hoisted_20 = [
104
+ "id",
105
+ "aria-colindex",
106
+ "data-column-key",
107
+ "data-section",
108
+ "tabindex"
109
+ ];
110
+ var _hoisted_21 = {
111
+ key: 1,
112
+ class: "s-ui-table__aggregate-text"
113
+ };
114
+ var STable_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ (0, vue.defineComponent)({
115
+ __name: "STable",
116
+ props: /*@__PURE__*/ (0, vue.mergeModels)({
117
+ items: {},
118
+ columns: {},
119
+ itemKey: {
120
+ type: [String, Function],
121
+ default: "id"
122
+ },
123
+ childrenKey: { default: "children" },
124
+ groupRow: { type: [String, Function] },
125
+ groupRowSticky: {
126
+ type: Boolean,
127
+ default: true
128
+ },
129
+ columnsManagerBodySticky: {
130
+ type: Boolean,
131
+ default: true
132
+ },
133
+ groupTotalKey: {},
134
+ groupContentColumnKey: {},
135
+ disabledKey: {},
136
+ selectable: {
137
+ type: Boolean,
138
+ default: false
139
+ },
140
+ cascadeSelection: {
141
+ type: Boolean,
142
+ default: false
143
+ },
144
+ isItemSelectable: { type: Function },
145
+ columnsManageable: { type: Boolean },
146
+ columnsManagerWidth: { default: () => 32 },
147
+ rowState: { type: Function },
148
+ rowColor: { type: Function },
149
+ expandColumnKey: {},
150
+ expandOnClick: {
151
+ type: Boolean,
152
+ default: false
153
+ },
154
+ treeIndent: { default: () => 18 },
155
+ depthFooter: {},
156
+ creationRow: {
157
+ type: Boolean,
158
+ default: false
159
+ },
160
+ creationContentColumnKey: {},
161
+ footerValues: {},
162
+ virtual: {
163
+ type: Boolean,
164
+ default: true
165
+ },
166
+ rowHeightMode: { default: () => require_STable_types.ESTableRowHeightMode.AUTO },
167
+ estimateRowSize: { default: () => 40 },
168
+ overscan: { default: () => 8 },
169
+ height: {},
170
+ maxHeight: {},
171
+ endReachedDistance: { default: 0 },
172
+ canLoadMore: { type: Function },
173
+ loading: {
174
+ type: Boolean,
175
+ default: false
176
+ },
177
+ loadingMore: {
178
+ type: Boolean,
179
+ default: false
180
+ },
181
+ skeletonRowCount: { default: () => 8 },
182
+ hasMoreChildrenKey: {},
183
+ loadingMoreChildrenKeys: { default: () => [] },
184
+ loadMoreContentColumnKey: {},
185
+ rowsDraggable: {
186
+ type: Boolean,
187
+ default: false
188
+ },
189
+ rowsDragMode: {},
190
+ isRowDraggable: { type: Function },
191
+ dragExpandDelayMs: { default: () => 500 },
192
+ dragInsideDelayMs: { default: () => require_tableSizes.TABLE_DROP_INSIDE_DELAY_MS },
193
+ columnsResizable: {
194
+ type: Boolean,
195
+ default: true
196
+ },
197
+ columnsDraggable: {
198
+ type: Boolean,
199
+ default: true
200
+ },
201
+ columnMenu: {
202
+ type: Boolean,
203
+ default: true
204
+ },
205
+ scrollSeekPlaceholders: {
206
+ type: Boolean,
207
+ default: true
208
+ },
209
+ rowClass: { type: Function },
210
+ rowStyle: { type: Function }
211
+ }, {
212
+ "modelValue": {},
213
+ "modelModifiers": {},
214
+ "selected": { default: () => [] },
215
+ "selectedModifiers": {},
216
+ "expanded": { default: () => [] },
217
+ "expandedModifiers": {},
218
+ "columnOrder": {},
219
+ "columnOrderModifiers": {},
220
+ "columnWidths": {},
221
+ "columnWidthsModifiers": {},
222
+ "hiddenColumns": {},
223
+ "hiddenColumnsModifiers": {},
224
+ "sortState": { default: () => [] },
225
+ "sortStateModifiers": {}
226
+ }),
227
+ emits: /*@__PURE__*/ (0, vue.mergeModels)([
228
+ "rowClick",
229
+ "rowContextMenu",
230
+ "cellClick",
231
+ "sortChange",
232
+ "endReached",
233
+ "loadMoreChildren",
234
+ "depthFooterClick",
235
+ "groupMenuOpen",
236
+ "columnResizeEnd",
237
+ "columnReorder",
238
+ "rowsReorder",
239
+ "rowsDrop"
240
+ ], [
241
+ "update:modelValue",
242
+ "update:selected",
243
+ "update:expanded",
244
+ "update:columnOrder",
245
+ "update:columnWidths",
246
+ "update:hiddenColumns",
247
+ "update:sortState"
248
+ ]),
249
+ setup(__props, { expose: __expose, emit: __emit }) {
250
+ const modelValue = (0, vue.useModel)(__props, "modelValue");
251
+ const selected = (0, vue.useModel)(__props, "selected");
252
+ const expanded = (0, vue.useModel)(__props, "expanded");
253
+ const columnOrder = (0, vue.useModel)(__props, "columnOrder");
254
+ const columnWidths = (0, vue.useModel)(__props, "columnWidths");
255
+ const hiddenColumns = (0, vue.useModel)(__props, "hiddenColumns");
256
+ const sortState = (0, vue.useModel)(__props, "sortState");
257
+ const emit = __emit;
258
+ const slots = (0, vue.useSlots)();
259
+ const { t } = (0, _shtabapp_ui_kit_primitives.useUiKitI18n)();
260
+ const tableInstanceId = (0, vue.useId)();
261
+ const scrollElementRef = (0, vue.useTemplateRef)("scrollElementRef");
262
+ const tableElementRef = (0, vue.useTemplateRef)("tableElementRef");
263
+ const gridExitRef = (0, vue.useTemplateRef)("gridExitRef");
264
+ const tableRootRef = (0, vue.useTemplateRef)("tableRootRef");
265
+ const { width: scrollClientWidth, height: scrollClientHeight } = (0, _vueuse_core.useElementSize)(scrollElementRef);
266
+ const { primaryColumnKey, columnDescriptors, columnCssVars, totalWidth, columnCount } = require_useTableColumns.useTableColumns({
267
+ columns: () => __props.columns,
268
+ columnOrder,
269
+ columnWidths,
270
+ hiddenColumns,
271
+ hasIndicator: () => Boolean(slots.indicator),
272
+ hasCheckbox: () => __props.selectable,
273
+ hasRightEdge: () => Boolean(slots["right-edge"]),
274
+ hasColumnsManager: () => __props.columnsManageable,
275
+ columnsManagerWidth: () => __props.columnsManagerWidth,
276
+ columnsResizable: () => __props.columnsResizable,
277
+ columnsDraggable: () => __props.columnsDraggable,
278
+ viewportWidth: () => scrollClientWidth.value
279
+ });
280
+ const { treeIndex, snapshot, flatRows, toggleExpanded, expandAll, collapseAll } = require_useFlatTableRows.useFlatTableRows({
281
+ items: () => __props.items,
282
+ itemKey: () => __props.itemKey,
283
+ childrenKey: () => __props.childrenKey,
284
+ groupRow: () => __props.groupRow,
285
+ expanded,
286
+ depthFooter: () => __props.depthFooter,
287
+ hasMoreChildrenKey: () => __props.hasMoreChildrenKey
288
+ });
289
+ const { leadingDescriptors, trailingDescriptors, headerCells, getStickyCellStyle, getHeaderCellClasses, leadingCellPlans, trailingCellPlans, rowCellPlans } = require_useTableCellPlans.useTableCellPlans({
290
+ columnDescriptors,
291
+ hasTreeStructure: () => hasTreeStructure.value,
292
+ expandColumnKey: () => __props.expandColumnKey,
293
+ primaryColumnKey
294
+ });
295
+ const renderedColumnCount = (0, vue.computed)(() => {
296
+ return columnDescriptors.value.length + 1;
297
+ });
298
+ const hasTreeStructure = (0, vue.computed)(() => {
299
+ return treeIndex.value.expandableKeys.length > 0;
300
+ });
301
+ const tableRole = (0, vue.computed)(() => {
302
+ return hasTreeStructure.value ? "treegrid" : "grid";
303
+ });
304
+ const ariaRowCount = (0, vue.computed)(() => {
305
+ return flatRows.value.length + 1 + (__props.creationRow ? 1 : 0) + (__props.footerValues ? 1 : 0);
306
+ });
307
+ const virtualEnabled = (0, vue.computed)(() => {
308
+ return __props.virtual;
309
+ });
310
+ /** Модификаторы корня: фиксированные высоты строк режут контент выше строки. */
311
+ const rootClasses = (0, vue.computed)(() => {
312
+ return {
313
+ "s-ui-table--rows-fixed": __props.rowHeightMode === require_STable_types.ESTableRowHeightMode.FIXED,
314
+ "s-ui-table--columns-manager-body-static": !__props.columnsManagerBodySticky
315
+ };
316
+ });
317
+ const tfootBarStackHeight = (0, vue.computed)(() => {
318
+ let stackHeight = 0;
319
+ if (__props.footerValues) stackHeight += 40;
320
+ if (__props.creationRow) stackHeight += 40;
321
+ return stackHeight;
322
+ });
323
+ let rawFlatRows = [];
324
+ (0, vue.watch)(flatRows, (rows) => {
325
+ rawFlatRows = rows;
326
+ }, {
327
+ flush: "sync",
328
+ immediate: true
329
+ });
330
+ const { windowIndexes, uiTotalSize, modelScrollOffset, scrollToIndex, visibleRange, getRowOffset, getRowUiOffset, getRowIndexAtOffset, measureWindowRows, measureNewRows } = require_useTableVirtualRows.useTableVirtualRows({
331
+ rowCount: () => flatRows.value.length,
332
+ enabled: virtualEnabled,
333
+ autoMeasure: () => __props.rowHeightMode === require_STable_types.ESTableRowHeightMode.AUTO,
334
+ estimateRowSize: () => __props.estimateRowSize,
335
+ estimateRowSizeByIndex: void 0,
336
+ overscan: () => __props.overscan,
337
+ scrollElement: scrollElementRef,
338
+ getRowKey: (rowIndex) => rawFlatRows[rowIndex]?.key ?? rowIndex,
339
+ rowsVersion: flatRows,
340
+ viewportHeight: () => scrollClientHeight.value,
341
+ extraHeight: () => 40 + tfootBarStackHeight.value,
342
+ headerHeight: () => 40
343
+ });
344
+ const { isRowHydrated, hydratedKeys } = require_useTableRowHydration.useTableRowHydration({
345
+ windowIndexes,
346
+ visibleRange,
347
+ getRowKey: (rowIndex) => rawFlatRows[rowIndex]?.key,
348
+ rowsVersion: flatRows,
349
+ pinnedRowKey: () => modelValue.value,
350
+ enabled: () => virtualEnabled.value && __props.scrollSeekPlaceholders
351
+ });
352
+ (0, vue.watch)(hydratedKeys, measureNewRows, { flush: "post" });
353
+ const { resizingColumnKey, handleResizeHandlePointerdown, handleResizeHandleKeydown, handleResizeHandleDblclick } = require_useTableColumnResize.useTableColumnResize({
354
+ tableRootElement: tableRootRef,
355
+ scrollElement: scrollElementRef,
356
+ columnDescriptors,
357
+ columnWidths,
358
+ enabled: () => __props.columnsResizable,
359
+ onResizeEnd: (columnKey, committedWidth) => {
360
+ emit("columnResizeEnd", {
361
+ key: columnKey,
362
+ width: committedWidth
363
+ });
364
+ },
365
+ remeasureRows: () => {
366
+ measureWindowRows();
367
+ }
368
+ });
369
+ const resolvedRowsDragMode = (0, vue.computed)(() => {
370
+ if (__props.rowsDragMode) return __props.rowsDragMode;
371
+ return hasTreeStructure.value ? require_STable_types.ESTableRowsDragMode.TREE : require_STable_types.ESTableRowsDragMode.FLAT;
372
+ });
373
+ /** Итоговый порядок data-колонок после переноса source к target (edge left/right). */
374
+ const handleColumnReorder = (sourceKey, targetKey, edge) => {
375
+ const baseOrder = columnOrder.value?.length ? [...columnOrder.value] : __props.columns.map((tableColumn) => tableColumn.key);
376
+ __props.columns.forEach((tableColumn) => {
377
+ if (!baseOrder.includes(tableColumn.key)) baseOrder.push(tableColumn.key);
378
+ });
379
+ const withoutSource = baseOrder.filter((orderKey) => orderKey !== sourceKey);
380
+ const targetPosition = withoutSource.indexOf(targetKey);
381
+ if (targetPosition === -1) return;
382
+ const insertIndex = edge === "left" ? targetPosition : targetPosition + 1;
383
+ withoutSource.splice(insertIndex, 0, sourceKey);
384
+ columnOrder.value = withoutSource;
385
+ emit("columnReorder", {
386
+ key: sourceKey,
387
+ toIndex: insertIndex,
388
+ order: withoutSource
389
+ });
390
+ };
391
+ const { registerColumnHeaderElement, draggingColumnKey, dropLineStyle: columnDropLineStyle } = require_useTableColumnDnd.useTableColumnDnd({
392
+ tableId: tableInstanceId,
393
+ tableRootElement: tableRootRef,
394
+ enabled: () => __props.columnsDraggable,
395
+ columnDescriptors,
396
+ onReorder: handleColumnReorder,
397
+ isResizing: () => Boolean(resizingColumnKey.value)
398
+ });
399
+ const registerColumnDndRef = (refElement, columnKey) => {
400
+ if (refElement instanceof Element || refElement === null) registerColumnHeaderElement(columnKey, refElement);
401
+ };
402
+ const { registerRowElement: registerRowDndElement, draggingRowKey, dropIndicator: rowDropIndicator } = require_useTableRowDnd.useTableRowDnd({
403
+ tableId: tableInstanceId,
404
+ enabled: () => __props.rowsDraggable,
405
+ dragMode: resolvedRowsDragMode,
406
+ snapshot,
407
+ scrollElement: scrollElementRef,
408
+ isRowDraggable: () => __props.isRowDraggable,
409
+ dragExpandDelayMs: () => __props.dragExpandDelayMs,
410
+ dragInsideDelayMs: () => __props.dragInsideDelayMs,
411
+ isExpanded: (rowKey) => expanded.value.includes(rowKey),
412
+ onHoverExpand: (rowKey) => {
413
+ toggleExpanded(rowKey);
414
+ },
415
+ onReorder: (payload) => {
416
+ emit("rowsReorder", payload);
417
+ },
418
+ onTreeDrop: (payload) => {
419
+ emit("rowsDrop", payload);
420
+ },
421
+ resolveRowPreviewTitle: (flatRow) => {
422
+ return getGroupTitle(flatRow) ?? flatRow.key;
423
+ }
424
+ });
425
+ const registerRowDndRef = (refElement) => {
426
+ if (refElement instanceof Element || refElement === null) registerRowDndElement(refElement);
427
+ };
428
+ const getRowDropPosition = (rowKey) => {
429
+ const indicator = rowDropIndicator.value;
430
+ if (!indicator || indicator.targetKey !== rowKey) return;
431
+ if (indicator.action === require_STable_types.ESTableDropAction.CHILD) return "inside";
432
+ return indicator.action === require_STable_types.ESTableDropAction.BEFORE ? "before" : "after";
433
+ };
434
+ const { activeGroupRowIndex, activeDepthFooterRowIndex, activeDepthFooterRowIndexes, leavingDepthFooterRowIndex, slidingDepthFooterRowIndexes, farDepthFooterRowIndexes } = require_useTableStickyRows.useTableStickyRows({
435
+ snapshot,
436
+ visibleRange,
437
+ groupRowSticky: () => __props.groupRowSticky,
438
+ depthFooterSticky: () => __props.depthFooter?.sticky !== false,
439
+ bottomVisibleRowIndex: (0, vue.computed)(() => {
440
+ if (!virtualEnabled.value || scrollClientHeight.value === 0) return;
441
+ const contentOffset = modelScrollOffset.value + scrollClientHeight.value - 40 - tfootBarStackHeight.value;
442
+ return getRowIndexAtOffset(Math.max(0, contentOffset));
443
+ }),
444
+ getRowOffset
445
+ });
446
+ const { renderEntries } = require_useTableRenderEntries.useTableRenderEntries({
447
+ flatRows,
448
+ virtualEnabled,
449
+ windowIndexes,
450
+ uiTotalSize,
451
+ getRowUiOffset,
452
+ activeGroupRowIndex,
453
+ activeDepthFooterRowIndexes,
454
+ leavingDepthFooterRowIndex,
455
+ slidingDepthFooterRowIndexes,
456
+ farDepthFooterRowIndexes,
457
+ activeRowIndex: (0, vue.computed)(() => {
458
+ if (!modelValue.value) return;
459
+ return snapshot.value.getRowIndexByKey(modelValue.value);
460
+ })
461
+ });
462
+ const showEmptyState = (0, vue.computed)(() => {
463
+ return !__props.loading && flatRows.value.length === 0;
464
+ });
465
+ const { rootStyle, scrollStyle, tableStyle } = require_useTableStyleVars.useTableStyleVars({
466
+ tfootBarStackHeight,
467
+ hasFooterValues: () => Boolean(__props.footerValues),
468
+ scrollClientWidth: () => scrollClientWidth.value,
469
+ columnCssVars,
470
+ totalWidth,
471
+ height: () => __props.height,
472
+ maxHeight: () => __props.maxHeight
473
+ });
474
+ const { getColumnSortDirection, getColumnSortIndex, applySortCycle, applySortExact, getHeaderAriaSort, getHeaderSlotScope } = require_useTableSorting.useTableSorting({
475
+ sortState,
476
+ onSortChange: (sortEntries) => {
477
+ emit("sortChange", sortEntries);
478
+ }
479
+ });
480
+ const openMenuColumnKey = (0, vue.shallowRef)();
481
+ const setColumnMenuOpen = (columnKey, open) => {
482
+ openMenuColumnKey.value = open ? columnKey : void 0;
483
+ };
484
+ /** Имя ручки ресайза: без названия колонки все ручки шапки звучат одинаково. */
485
+ const getResizeHandleLabel = (descriptor) => {
486
+ const columnTitle = descriptor.column?.title;
487
+ if (!columnTitle) return t("table.resizeColumn");
488
+ return t("table.resizeNamedColumn", { title: columnTitle });
489
+ };
490
+ const resizeColumnByKeyboard = (descriptor, direction) => {
491
+ if (!__props.columnsResizable || !descriptor.resizable) return;
492
+ const nextWidth = Math.min(descriptor.maxWidth ?? Number.POSITIVE_INFINITY, Math.max(descriptor.minWidth, descriptor.width + direction * 8));
493
+ if (nextWidth === descriptor.width) return;
494
+ columnWidths.value = {
495
+ ...columnWidths.value,
496
+ [descriptor.key]: nextWidth
497
+ };
498
+ emit("columnResizeEnd", {
499
+ key: descriptor.key,
500
+ width: nextWidth
501
+ });
502
+ };
503
+ const columnsMenuOpen = (0, vue.shallowRef)(false);
504
+ /**
505
+ * Колонки, которыми управляет кнопка в углу: data-колонки, которые разрешено скрывать.
506
+ * Главная колонка не участвует — она держит дерево и всегда видима.
507
+ */
508
+ const manageableColumns = (0, vue.computed)(() => {
509
+ return __props.columns.filter((tableColumn) => {
510
+ return tableColumn.key !== primaryColumnKey.value && (tableColumn.hideable ?? true);
511
+ });
512
+ });
513
+ const isColumnHidden = (columnKey) => {
514
+ return (hiddenColumns.value ?? []).includes(columnKey);
515
+ };
516
+ const manageableColumnGroups = (0, vue.computed)(() => {
517
+ const columnEntries = manageableColumns.value.map((manageableColumn) => {
518
+ const hidden = isColumnHidden(manageableColumn.key);
519
+ return {
520
+ column: manageableColumn,
521
+ hidden,
522
+ classes: { "s-ui-table__columns-item--hidden": hidden }
523
+ };
524
+ });
525
+ return [columnEntries.filter((columnEntry) => !columnEntry.hidden), columnEntries.filter((columnEntry) => columnEntry.hidden)].filter((columnGroup) => columnGroup.length > 0);
526
+ });
527
+ const toggleColumnHidden = (columnKey) => {
528
+ const hiddenKeys = new Set(hiddenColumns.value ?? []);
529
+ if (hiddenKeys.has(columnKey)) hiddenKeys.delete(columnKey);
530
+ else hiddenKeys.add(columnKey);
531
+ hiddenColumns.value = [...hiddenKeys];
532
+ };
533
+ const hideColumnByKey = (columnKey) => {
534
+ const hiddenKeys = new Set(hiddenColumns.value ?? []);
535
+ hiddenKeys.add(columnKey);
536
+ hiddenColumns.value = [...hiddenKeys];
537
+ };
538
+ const selection = require_useTableSelection.useTableSelection({
539
+ selected,
540
+ cascade: () => __props.cascadeSelection,
541
+ treeIndex,
542
+ groupRow: () => __props.groupRow,
543
+ disabledKey: () => __props.disabledKey,
544
+ isItemSelectable: () => __props.isItemSelectable
545
+ });
546
+ const headerCheckState = selection.headerCheckState;
547
+ const isRowSelected = (rowKey) => {
548
+ return selection.isSelected(rowKey);
549
+ };
550
+ const isRowIndeterminate = (rowKey) => {
551
+ return __props.cascadeSelection && selection.getCheckState(rowKey) === require_STable_types.ESTableCheckState.INDETERMINATE;
552
+ };
553
+ const toggleRowSelected = (rowKey) => {
554
+ selection.toggleRow(rowKey);
555
+ };
556
+ const isRowDisabled = (flatRow) => {
557
+ return require_useFlatTableRows.resolveTableBooleanField(flatRow.item, __props.disabledKey);
558
+ };
559
+ /**
560
+ * Ключи кэша строки для `v-memo`. Длина массива обязана быть постоянной, поэтому
561
+ * значения строки берутся через `flatRow?.` и не выпадают на спейсерах.
562
+ *
563
+ * Кроме полей самой строки сюда входят пропсы, которые меняют её содержимое, но в
564
+ * данных строки не лежат (loadingMoreChildrenKeys, treeIndent, rowClass, rowState,
565
+ * rowColor, selectable, …): без них кэш заморозил бы, например, спиннер «Показать
566
+ * ещё» при смене ключей догрузки.
567
+ */
568
+ const buildRowMemoKeys = ({ row: flatRow, spacerHeight, rowHeight, stuckTop, stuckBottom, stuckBottomLeaving, stuckBottomSliding, stuckBottomCoverHeight, stuckBottomFar }, placeholder) => {
569
+ return [
570
+ flatRow ?? spacerHeight,
571
+ flatRow?.index,
572
+ flatRow?.expanded,
573
+ flatRow?.item,
574
+ flatRow?.kind,
575
+ flatRow?.hasChildren,
576
+ flatRow?.depth,
577
+ flatRow?.parentKey,
578
+ flatRow ? isRowSelected(flatRow.key) : false,
579
+ flatRow ? isRowIndeterminate(flatRow.key) : false,
580
+ flatRow ? modelValue.value === flatRow.key : false,
581
+ flatRow ? getRowFocusColumnKey(flatRow.key) : void 0,
582
+ flatRow ? draggingRowKey.value === flatRow.key : false,
583
+ flatRow ? getRowDropPosition(flatRow.key) : void 0,
584
+ rowHeight,
585
+ stuckTop,
586
+ stuckBottom,
587
+ stuckBottomLeaving,
588
+ stuckBottomSliding,
589
+ stuckBottomCoverHeight,
590
+ stuckBottomFar,
591
+ columnDescriptors.value,
592
+ depthFooterColumnKey.value,
593
+ loadMoreColumnKey.value,
594
+ placeholder,
595
+ __props.loadingMoreChildrenKeys,
596
+ __props.treeIndent,
597
+ __props.rowClass,
598
+ __props.rowStyle,
599
+ __props.rowState,
600
+ __props.rowColor,
601
+ __props.selectable,
602
+ __props.cascadeSelection,
603
+ __props.rowsDraggable,
604
+ hasTreeStructure.value
605
+ ];
606
+ };
607
+ /** Высота уходящего футера — переменная обрезки для следующего футера под ним. */
608
+ const getStuckCoverStyle = (coverHeight) => {
609
+ if (coverHeight === void 0) return;
610
+ return { "--s-ui-table-stuck-cover-height": `${coverHeight}px` };
611
+ };
612
+ /**
613
+ * Записи рендера с готовыми ключами кэша. Отдельный проход нужен из-за инструментов:
614
+ * выражения внутри `v-memo` vue-tsc не проверяет, поэтому хелпер, вызванный только
615
+ * оттуда, считался бы неиспользованным. Здесь он вызывается из скрипта.
616
+ */
617
+ const renderRows = (0, vue.computed)(() => {
618
+ return renderEntries.value.map((entry) => {
619
+ const placeholder = entry.row?.kind === require_STable_types.ESTableRowKind.ROW && !isRowHydrated(entry.row.key);
620
+ return {
621
+ ...entry,
622
+ placeholder,
623
+ memoKeys: buildRowMemoKeys(entry, placeholder)
624
+ };
625
+ });
626
+ });
627
+ const forwardedCellSlotNames = (0, vue.computed)(() => {
628
+ return Object.keys(slots).filter((slotName) => {
629
+ return slotName.startsWith("cell:");
630
+ });
631
+ });
632
+ const buildRowDomId = (rowKey) => {
633
+ return `s-ui-table-${tableInstanceId}-row-${rowKey}`;
634
+ };
635
+ const getRowSlotScope = (flatRow) => {
636
+ return {
637
+ ...flatRow,
638
+ selected: isRowSelected(flatRow.key),
639
+ indeterminate: false,
640
+ active: modelValue.value === flatRow.key,
641
+ disabled: isRowDisabled(flatRow),
642
+ group: flatRow.kind === require_STable_types.ESTableRowKind.GROUP,
643
+ toggleExpanded: () => {
644
+ toggleExpanded(flatRow.key);
645
+ },
646
+ toggleSelected: () => {
647
+ toggleRowSelected(flatRow.key);
648
+ }
649
+ };
650
+ };
651
+ const { depthFooterColumnKey, groupColumnKey, creationColumnKey, loadMoreColumnKey, getGroupCount, getGroupTotal, getGroupTitle, getDepthIndentStyle, emitDepthFooterClick, getDepthFooterSlotScope, isLoadMoreRowLoading, emitLoadMoreChildren, getLoadMoreSlotScope, getFooterValueText, getFooterToneClass, getFooterSlotScope } = require_useTableServiceRows.useTableServiceRows({
652
+ columns: () => __props.columns,
653
+ primaryColumnKey,
654
+ treeNodeByKey: (0, vue.computed)(() => treeIndex.value.nodeByKey),
655
+ groupTotalKey: () => __props.groupTotalKey,
656
+ depthFooter: () => __props.depthFooter,
657
+ groupContentColumnKey: () => __props.groupContentColumnKey,
658
+ creationContentColumnKey: () => __props.creationContentColumnKey,
659
+ loadMoreContentColumnKey: () => __props.loadMoreContentColumnKey,
660
+ treeIndent: () => __props.treeIndent,
661
+ loadingMoreChildrenKeys: () => __props.loadingMoreChildrenKeys,
662
+ footerValues: () => __props.footerValues,
663
+ stuckDepthFooterRowIndex: activeDepthFooterRowIndex,
664
+ onDepthFooterClick: (payload) => {
665
+ emit("depthFooterClick", payload);
666
+ },
667
+ onLoadMoreChildren: (payload) => {
668
+ emit("loadMoreChildren", payload);
669
+ }
670
+ });
671
+ const getGroupSlotScope = (flatRow) => {
672
+ return {
673
+ ...getRowSlotScope(flatRow),
674
+ count: getGroupCount(flatRow),
675
+ total: getGroupTotal(flatRow)
676
+ };
677
+ };
678
+ const handleRowClick = (flatRow, event) => {
679
+ if (isRowDisabled(flatRow)) return;
680
+ modelValue.value = flatRow.key;
681
+ if (__props.expandOnClick && (flatRow.hasChildren || flatRow.kind === require_STable_types.ESTableRowKind.GROUP)) toggleExpanded(flatRow.key);
682
+ emit("rowClick", {
683
+ key: flatRow.key,
684
+ item: flatRow.item,
685
+ event
686
+ });
687
+ };
688
+ const handleRowContextMenu = (flatRow, event) => {
689
+ emit("rowContextMenu", {
690
+ key: flatRow.key,
691
+ item: flatRow.item,
692
+ event
693
+ });
694
+ };
695
+ const dataColumnKeySet = (0, vue.computed)(() => {
696
+ const columnKeys = /* @__PURE__ */ new Set();
697
+ columnDescriptors.value.forEach((descriptor) => {
698
+ if (descriptor.column) columnKeys.add(descriptor.key);
699
+ });
700
+ return columnKeys;
701
+ });
702
+ const handleCellClick = (flatRow, columnKey, event) => {
703
+ if (!dataColumnKeySet.value.has(columnKey) || isRowDisabled(flatRow)) return;
704
+ emit("cellClick", {
705
+ key: flatRow.key,
706
+ item: flatRow.item,
707
+ columnKey,
708
+ event
709
+ });
710
+ };
711
+ const isRowNavigable = (flatRow) => {
712
+ if (!flatRow) return false;
713
+ return !isRowDisabled(flatRow);
714
+ };
715
+ const keyboardPageSize = (0, vue.computed)(() => {
716
+ const rowsViewport = scrollClientHeight.value - 40 - tfootBarStackHeight.value;
717
+ return Math.max(1, Math.floor(rowsViewport / __props.estimateRowSize));
718
+ });
719
+ require_useSListEndReached.useSListEndReached(() => scrollElementRef.value, {
720
+ distance: () => __props.endReachedDistance,
721
+ canLoadMore: () => __props.canLoadMore?.() ?? true,
722
+ onEndReached: () => {
723
+ emit("endReached", { direction: "bottom" });
724
+ }
725
+ });
726
+ const scrollToRow = (rowKey, options) => {
727
+ const rowIndex = snapshot.value.getRowIndexByKey(rowKey);
728
+ if (rowIndex === void 0) return;
729
+ if (virtualEnabled.value) {
730
+ scrollToIndex(rowIndex, options?.align ?? "auto");
731
+ return;
732
+ }
733
+ document.getElementById(buildRowDomId(rowKey))?.scrollIntoView({ block: options?.align === "center" ? "center" : "nearest" });
734
+ };
735
+ /** Идентификатор ячейки грида: по нему модель фокуса находит DOM-узел. */
736
+ const buildGridCellDomId = (address) => {
737
+ return `s-ui-table-${tableInstanceId}-cell-${address.section}-${address.rowKey ?? ""}-${address.columnKey}`;
738
+ };
739
+ const gridFocus = require_useTableGridFocus.useTableGridFocus({
740
+ tableRootElement: tableRootRef,
741
+ tableElement: tableElementRef,
742
+ exitElement: gridExitRef,
743
+ scrollElement: scrollElementRef,
744
+ columnDescriptors,
745
+ flatRows,
746
+ snapshot,
747
+ groupColumnKey,
748
+ depthFooterColumnKey,
749
+ loadMoreColumnKey,
750
+ creationColumnKey,
751
+ hasCreationRow: () => Boolean(__props.creationRow),
752
+ hasAggregateRow: () => Boolean(__props.footerValues),
753
+ isRowNavigable,
754
+ pageSize: keyboardPageSize,
755
+ buildCellDomId: buildGridCellDomId,
756
+ onBodyRowFocused: (rowKey) => {
757
+ modelValue.value = rowKey;
758
+ },
759
+ scrollToRowIndex: (rowIndex) => {
760
+ const flatRow = flatRows.value[rowIndex];
761
+ if (flatRow) scrollToRow(flatRow.key);
762
+ }
763
+ });
764
+ /** Префикс id ячеек тела: строки достраивают к нему ключ строки и колонки. */
765
+ const gridBodyCellIdPrefix = `s-ui-table-${tableInstanceId}-cell-${require_useTableGridFocus.ESTableGridSection.BODY}-`;
766
+ const gridCreationCellIdPrefix = `s-ui-table-${tableInstanceId}-cell-${require_useTableGridFocus.ESTableGridSection.CREATION}-`;
767
+ const getRowFocusColumnKey = (rowKey) => {
768
+ return gridFocus.focusedBodyRowKey.value === rowKey ? gridFocus.focusAddress.value.columnKey : void 0;
769
+ };
770
+ /** Колонка roving-фокуса для полос без ключа строки (шапка, tfoot). */
771
+ const getSectionFocusColumnKey = (section) => {
772
+ const address = gridFocus.focusAddress.value;
773
+ return address.section === section ? address.columnKey : void 0;
774
+ };
775
+ const getGridCellTabIndex = (section, rowKey, columnKey) => {
776
+ return gridFocus.getCellTabIndex(section, rowKey, columnKey);
777
+ };
778
+ const { handleGridFocusIn, handleGridKeydown } = require_useTableGridKeyboard.useTableGridKeyboard({
779
+ gridFocus,
780
+ columnDescriptors,
781
+ flatRows,
782
+ expandColumnKey: () => __props.expandColumnKey,
783
+ primaryColumnKey,
784
+ groupColumnKey,
785
+ selectable: () => __props.selectable,
786
+ openMenuColumnKey,
787
+ toggleExpanded,
788
+ toggleRowSelected: (rowKey) => {
789
+ selection.toggleRow(rowKey);
790
+ },
791
+ applySortCycle,
792
+ setColumnMenuOpen,
793
+ resizeColumnByKeyboard,
794
+ onDepthFooterActivate: emitDepthFooterClick,
795
+ onLoadMoreActivate: emitLoadMoreChildren,
796
+ onRowActivate: (flatRow, event) => {
797
+ emit("rowClick", {
798
+ key: flatRow.key,
799
+ item: flatRow.item,
800
+ event
801
+ });
802
+ }
803
+ });
804
+ const focusNavigation = async () => {
805
+ gridFocus.focusAddressNow(gridFocus.focusAddress.value);
806
+ await (0, vue.nextTick)();
807
+ };
808
+ const clearSelection = () => {
809
+ selection.clearSelection();
810
+ };
811
+ const getScrollElement = () => {
812
+ return scrollElementRef.value ?? void 0;
813
+ };
814
+ __expose({
815
+ focusNavigation,
816
+ scrollToRow,
817
+ expandAll,
818
+ collapseAll,
819
+ clearSelection,
820
+ getScrollElement
821
+ });
822
+ return (_ctx, _cache) => {
823
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
824
+ ref_key: "tableRootRef",
825
+ ref: tableRootRef,
826
+ class: (0, vue.normalizeClass)(["s-ui-table", rootClasses.value]),
827
+ style: (0, vue.normalizeStyle)((0, vue.unref)(rootStyle))
828
+ }, [
829
+ (0, vue.createElementVNode)("div", {
830
+ ref_key: "scrollElementRef",
831
+ ref: scrollElementRef,
832
+ class: "s-ui-table__scroll",
833
+ style: (0, vue.normalizeStyle)((0, vue.unref)(scrollStyle))
834
+ }, [(0, vue.createElementVNode)("table", {
835
+ class: "s-ui-table__table",
836
+ style: (0, vue.normalizeStyle)((0, vue.unref)(tableStyle)),
837
+ role: tableRole.value,
838
+ "aria-rowcount": ariaRowCount.value,
839
+ "aria-colcount": (0, vue.unref)(columnCount),
840
+ "aria-busy": __props.loading || __props.loadingMore || void 0,
841
+ ref_key: "tableElementRef",
842
+ ref: tableElementRef,
843
+ tabindex: "-1",
844
+ onKeydown: _cache[5] || (_cache[5] = (...args) => (0, vue.unref)(handleGridKeydown) && (0, vue.unref)(handleGridKeydown)(...args)),
845
+ onFocusin: _cache[6] || (_cache[6] = (...args) => (0, vue.unref)(handleGridFocusIn) && (0, vue.unref)(handleGridFocusIn)(...args))
846
+ }, [
847
+ (0, vue.createElementVNode)("colgroup", null, [
848
+ ((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)((0, vue.unref)(leadingDescriptors), (descriptor) => {
849
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("col", {
850
+ key: descriptor.key,
851
+ style: (0, vue.normalizeStyle)({ width: `var(${descriptor.liveWidthVar}, var(${descriptor.widthVar}))` })
852
+ }, null, 4);
853
+ }), 128)),
854
+ _cache[7] || (_cache[7] = (0, vue.createElementVNode)("col", { class: "s-ui-table__filler-col" }, null, -1)),
855
+ ((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)((0, vue.unref)(trailingDescriptors), (descriptor) => {
856
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("col", {
857
+ key: descriptor.key,
858
+ style: (0, vue.normalizeStyle)({ width: `var(${descriptor.liveWidthVar}, var(${descriptor.widthVar}))` })
859
+ }, null, 4);
860
+ }), 128))
861
+ ]),
862
+ (0, vue.createElementVNode)("thead", _hoisted_2, [(0, vue.createElementVNode)("tr", _hoisted_3, [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)((0, vue.unref)(headerCells), ({ key: headerKey, descriptor }) => {
863
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: headerKey }, [!descriptor ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("th", _hoisted_4)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("th", {
864
+ key: 1,
865
+ id: buildGridCellDomId({
866
+ section: (0, vue.unref)(require_useTableGridFocus.ESTableGridSection).HEADER,
867
+ columnKey: descriptor.key
868
+ }),
869
+ ref_for: true,
870
+ ref: (el) => registerColumnDndRef(el, descriptor.key),
871
+ class: (0, vue.normalizeClass)(["s-ui-table__header-cell", [(0, vue.unref)(getHeaderCellClasses)(descriptor), { "s-ui-table__header-cell--dragging": (0, vue.unref)(draggingColumnKey) === descriptor.key }]]),
872
+ style: (0, vue.normalizeStyle)((0, vue.unref)(getStickyCellStyle)(descriptor)),
873
+ "data-column-key": descriptor.key,
874
+ "data-section": (0, vue.unref)(require_useTableGridFocus.ESTableGridSection).HEADER,
875
+ "aria-colindex": descriptor.colIndex,
876
+ "aria-sort": (0, vue.unref)(getHeaderAriaSort)(descriptor),
877
+ tabindex: getGridCellTabIndex((0, vue.unref)(require_useTableGridFocus.ESTableGridSection).HEADER, void 0, descriptor.key),
878
+ scope: "col"
879
+ }, [descriptor.column ? ((0, vue.openBlock)(), (0, vue.createBlock)(require_STableHeaderCell.default, {
880
+ key: 0,
881
+ descriptor,
882
+ "sort-direction": (0, vue.unref)(getColumnSortDirection)(descriptor.key),
883
+ "sort-index": (0, vue.unref)(getColumnSortIndex)(descriptor.key),
884
+ "menu-enabled": __props.columnMenu,
885
+ "menu-open": openMenuColumnKey.value === descriptor.key,
886
+ "onUpdate:menuOpen": ($event) => setColumnMenuOpen(descriptor.key, $event),
887
+ onSortToggle: ($event) => (0, vue.unref)(applySortCycle)(descriptor.key, $event),
888
+ onSortSet: ($event) => (0, vue.unref)(applySortExact)(descriptor.key, $event),
889
+ onHide: ($event) => hideColumnByKey(descriptor.key)
890
+ }, (0, vue.createSlots)({ _: 2 }, [(0, vue.unref)(slots)[`header:${descriptor.key}`] ? {
891
+ name: "default",
892
+ fn: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, `header:${descriptor.key}`, (0, vue.mergeProps)({ ref_for: true }, (0, vue.unref)(getHeaderSlotScope)(descriptor)))]),
893
+ key: "0"
894
+ } : void 0, (0, vue.unref)(slots)[`header-menu:${descriptor.key}`] ? {
895
+ name: "menu",
896
+ fn: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, `header-menu:${descriptor.key}`, (0, vue.mergeProps)({ ref_for: true }, (0, vue.unref)(getHeaderSlotScope)(descriptor)))]),
897
+ key: "1"
898
+ } : void 0]), 1032, [
899
+ "descriptor",
900
+ "sort-direction",
901
+ "sort-index",
902
+ "menu-enabled",
903
+ "menu-open",
904
+ "onUpdate:menuOpen",
905
+ "onSortToggle",
906
+ "onSortSet",
907
+ "onHide"
908
+ ])) : descriptor.service === (0, vue.unref)(require_useTableColumns.ESTableServiceColumn).CHECKBOX ? ((0, vue.openBlock)(), (0, vue.createBlock)(require_STableCheckbox.default, {
909
+ key: 1,
910
+ class: (0, vue.normalizeClass)(["s-ui-table__header-checkbox", { "s-ui-table__header-checkbox--active": (0, vue.unref)(headerCheckState) !== (0, vue.unref)(require_STable_types.ESTableCheckState).UNCHECKED }]),
911
+ "model-value": (0, vue.unref)(headerCheckState) === (0, vue.unref)(require_STable_types.ESTableCheckState).CHECKED,
912
+ indeterminate: (0, vue.unref)(headerCheckState) === (0, vue.unref)(require_STable_types.ESTableCheckState).INDETERMINATE,
913
+ "screen-reader-label": (0, vue.unref)(headerCheckState) === (0, vue.unref)(require_STable_types.ESTableCheckState).CHECKED ? (0, vue.unref)(t)("table.deselectAll") : (0, vue.unref)(t)("table.selectAll"),
914
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => (0, vue.unref)(selection).toggleSelectAll())
915
+ }, null, 8, [
916
+ "class",
917
+ "model-value",
918
+ "indeterminate",
919
+ "screen-reader-label"
920
+ ])) : descriptor.service === (0, vue.unref)(require_useTableColumns.ESTableServiceColumn).COLUMNS_MANAGER ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_6, [(0, vue.createVNode)((0, vue.unref)(require_SDropdown.default), {
921
+ modelValue: columnsMenuOpen.value,
922
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => columnsMenuOpen.value = $event),
923
+ placement: (0, vue.unref)(require_types.ESDropdownPlacement).BOTTOM_END,
924
+ shift: "",
925
+ "fit-viewport": ""
926
+ }, {
927
+ trigger: (0, vue.withCtx)(({ toggle }) => [(0, vue.createVNode)((0, vue.unref)(require_SButton.default), {
928
+ class: "s-ui-table__columns-manager-button",
929
+ appearance: (0, vue.unref)(require_SButton_types.EButtonAppearance).BARE,
930
+ variant: (0, vue.unref)(require_SButton_types.EButtonVariant).MAIN,
931
+ size: (0, vue.unref)(require_SButton_types.EButtonSize).SMALL,
932
+ icon: "tablePlus",
933
+ "aria-label": (0, vue.unref)(t)("table.manageColumns"),
934
+ tabindex: "-1",
935
+ onClick: ($event) => toggle()
936
+ }, null, 8, [
937
+ "appearance",
938
+ "variant",
939
+ "size",
940
+ "aria-label",
941
+ "onClick"
942
+ ])]),
943
+ content: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(require_SDropdownMenu.default), {
944
+ class: "s-ui-table__columns-menu",
945
+ width: 300
946
+ }, {
947
+ default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "columns-menu", {
948
+ columns: manageableColumns.value,
949
+ isColumnHidden,
950
+ toggleColumn: toggleColumnHidden
951
+ }, () => [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(manageableColumnGroups.value, (columnGroup, groupIndex) => {
952
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: groupIndex }, [groupIndex > 0 ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(_shtabapp_ui_kit_primitives.SSeparator), {
953
+ key: 0,
954
+ class: "s-ui-table__columns-separator"
955
+ })) : (0, vue.createCommentVNode)("", true), ((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(columnGroup, (columnEntry) => {
956
+ return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_SToggle.default), {
957
+ key: columnEntry.column.key,
958
+ class: (0, vue.normalizeClass)(["s-ui-table__columns-item", columnEntry.classes]),
959
+ size: (0, vue.unref)(require_SToggle_types.ESToggleSize).SMALL,
960
+ "label-placement": (0, vue.unref)(require_SToggle_types.ESToggleLabelPlacement).LEFT,
961
+ "model-value": !columnEntry.hidden,
962
+ "onUpdate:modelValue": ($event) => toggleColumnHidden(columnEntry.column.key)
963
+ }, {
964
+ default: (0, vue.withCtx)(() => [(0, vue.createElementVNode)("span", _hoisted_7, [columnEntry.column.icon ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(_shtabapp_ui_kit_primitives.SIcon), {
965
+ key: 0,
966
+ name: columnEntry.column.icon,
967
+ size: 16
968
+ }, null, 8, ["name"])) : (0, vue.createCommentVNode)("", true), (0, vue.createElementVNode)("span", _hoisted_8, (0, vue.toDisplayString)(columnEntry.column.title ?? columnEntry.column.key), 1)])]),
969
+ _: 2
970
+ }, 1032, [
971
+ "class",
972
+ "size",
973
+ "label-placement",
974
+ "model-value",
975
+ "onUpdate:modelValue"
976
+ ]);
977
+ }), 128))], 64);
978
+ }), 128))])]),
979
+ _: 3
980
+ })]),
981
+ _: 3
982
+ }, 8, ["modelValue", "placement"])])) : (0, vue.createCommentVNode)("", true), descriptor.resizable ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", {
983
+ key: 3,
984
+ class: (0, vue.normalizeClass)(["s-ui-table__resize-handle", { "s-ui-table__resize-handle--active": (0, vue.unref)(resizingColumnKey) === descriptor.key }]),
985
+ role: "separator",
986
+ "aria-orientation": "vertical",
987
+ "aria-label": getResizeHandleLabel(descriptor),
988
+ "aria-valuenow": descriptor.width,
989
+ "aria-valuemin": descriptor.minWidth,
990
+ "aria-valuemax": descriptor.maxWidth,
991
+ "aria-valuetext": (0, vue.unref)(t)("table.columnWidth", { width: String(descriptor.width) }),
992
+ tabindex: "-1",
993
+ onPointerdown: ($event) => (0, vue.unref)(handleResizeHandlePointerdown)($event, descriptor.key),
994
+ onKeydown: ($event) => (0, vue.unref)(handleResizeHandleKeydown)($event, descriptor.key),
995
+ onDblclick: ($event) => (0, vue.unref)(handleResizeHandleDblclick)(descriptor.key),
996
+ onClick: _cache[2] || (_cache[2] = (0, vue.withModifiers)(() => {}, ["stop"]))
997
+ }, null, 42, _hoisted_9)) : (0, vue.createCommentVNode)("", true)], 14, _hoisted_5))], 64);
998
+ }), 128))])]),
999
+ (0, vue.createElementVNode)("tbody", _hoisted_10, [
1000
+ showEmptyState.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("tr", _hoisted_11, [(0, vue.createElementVNode)("td", {
1001
+ class: "s-ui-table__empty-cell",
1002
+ colspan: renderedColumnCount.value
1003
+ }, [(0, vue.createElementVNode)("div", _hoisted_13, [(0, vue.renderSlot)(_ctx.$slots, "empty", {}, () => [(0, vue.createElementVNode)("span", _hoisted_14, (0, vue.toDisplayString)((0, vue.unref)(t)("table.empty")), 1)])])], 8, _hoisted_12)])) : (0, vue.createCommentVNode)("", true),
1004
+ __props.loading ? ((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, { key: 1 }, (0, vue.renderList)(__props.skeletonRowCount, (skeletonIndex) => {
1005
+ return (0, vue.openBlock)(), (0, vue.createBlock)(require_STableSkeletonRow.default, {
1006
+ key: `skeleton-${skeletonIndex}`,
1007
+ "leading-plans": (0, vue.unref)(leadingCellPlans),
1008
+ "trailing-plans": (0, vue.unref)(trailingCellPlans)
1009
+ }, (0, vue.createSlots)({ _: 2 }, [(0, vue.unref)(slots)["skeleton-row"] ? {
1010
+ name: "default",
1011
+ fn: (0, vue.withCtx)((skeletonScope) => [(0, vue.renderSlot)(_ctx.$slots, "skeleton-row", { column: skeletonScope.descriptor.column })]),
1012
+ key: "0"
1013
+ } : void 0]), 1032, ["leading-plans", "trailing-plans"]);
1014
+ }), 128)) : ((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, { key: 2 }, (0, vue.renderList)(renderRows.value, ({ row: flatRow, renderKey, spacer, spacerHeight, rowHeight, stuckTop, stuckBottom, stuckBottomLeaving, stuckBottomSliding, stuckBottomCoverHeight, stuckBottomFar, placeholder, memoKeys: _memoKeys }, __, ___, _cached) => {
1015
+ const _memo = _memoKeys;
1016
+ if (_cached && _cached.el && _cached.key === renderKey && (0, vue.isMemoSame)(_cached, _memo)) return _cached;
1017
+ const _item = ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: renderKey }, [spacer ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("tr", _hoisted_15, [(0, vue.createElementVNode)("td", {
1018
+ class: "s-ui-table__spacer-cell",
1019
+ colspan: renderedColumnCount.value,
1020
+ style: (0, vue.normalizeStyle)({ height: `${spacerHeight}px` })
1021
+ }, null, 12, _hoisted_16)])) : flatRow && flatRow.kind === (0, vue.unref)(require_STable_types.ESTableRowKind).GROUP ? ((0, vue.openBlock)(), (0, vue.createBlock)(require_STableGroupRow.default, {
1022
+ key: 1,
1023
+ id: buildRowDomId(flatRow.key),
1024
+ stuck: stuckTop,
1025
+ row: flatRow,
1026
+ "dnd-ref": __props.rowsDraggable ? registerRowDndRef : void 0,
1027
+ dragging: (0, vue.unref)(draggingRowKey) === flatRow.key,
1028
+ "drop-position": getRowDropPosition(flatRow.key),
1029
+ "row-index": flatRow.index,
1030
+ "leading-plans": (0, vue.unref)(leadingCellPlans),
1031
+ "trailing-plans": (0, vue.unref)(trailingCellPlans),
1032
+ "group-column-key": (0, vue.unref)(groupColumnKey),
1033
+ "tree-indent": __props.treeIndent,
1034
+ count: (0, vue.unref)(getGroupCount)(flatRow),
1035
+ total: (0, vue.unref)(getGroupTotal)(flatRow),
1036
+ title: (0, vue.unref)(getGroupTitle)(flatRow),
1037
+ "extra-row-style": __props.rowStyle?.(flatRow.item, flatRow),
1038
+ expanded: flatRow.expanded,
1039
+ active: modelValue.value === flatRow.key,
1040
+ "cell-id-prefix": gridBodyCellIdPrefix,
1041
+ "focus-column-key": getRowFocusColumnKey(flatRow.key),
1042
+ treegrid: hasTreeStructure.value,
1043
+ onToggle: ($event) => (0, vue.unref)(toggleExpanded)(flatRow.key),
1044
+ onRowClick: ($event) => handleRowClick(flatRow, $event),
1045
+ onMenuOpen: ($event) => emit("groupMenuOpen", {
1046
+ key: flatRow.key,
1047
+ item: flatRow.item
1048
+ })
1049
+ }, (0, vue.createSlots)({ _: 2 }, [
1050
+ (0, vue.unref)(slots)["group-menu"] ? {
1051
+ name: "menu",
1052
+ fn: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "group-menu", (0, vue.mergeProps)({ ref_for: true }, getGroupSlotScope(flatRow)))]),
1053
+ key: "0"
1054
+ } : void 0,
1055
+ (0, vue.unref)(slots)["group-row"] ? {
1056
+ name: "row",
1057
+ fn: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "group-row", (0, vue.mergeProps)({ ref_for: true }, getGroupSlotScope(flatRow)))]),
1058
+ key: "1"
1059
+ } : void 0,
1060
+ (0, vue.unref)(slots)["group-cell"] ? {
1061
+ name: "group-cell",
1062
+ fn: (0, vue.withCtx)((groupCellScope) => [(0, vue.renderSlot)(_ctx.$slots, "group-cell", (0, vue.mergeProps)({ ref_for: true }, {
1063
+ ...getGroupSlotScope(flatRow),
1064
+ ...groupCellScope
1065
+ }))]),
1066
+ key: "2"
1067
+ } : void 0,
1068
+ (0, vue.unref)(slots)["group-title"] ? {
1069
+ name: "title",
1070
+ fn: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "group-title", (0, vue.mergeProps)({ ref_for: true }, getGroupSlotScope(flatRow)))]),
1071
+ key: "3"
1072
+ } : void 0,
1073
+ (0, vue.unref)(slots)["group-actions"] ? {
1074
+ name: "actions",
1075
+ fn: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "group-actions", (0, vue.mergeProps)({ ref_for: true }, getGroupSlotScope(flatRow)))]),
1076
+ key: "4"
1077
+ } : void 0
1078
+ ]), 1032, [
1079
+ "id",
1080
+ "stuck",
1081
+ "row",
1082
+ "dnd-ref",
1083
+ "dragging",
1084
+ "drop-position",
1085
+ "row-index",
1086
+ "leading-plans",
1087
+ "trailing-plans",
1088
+ "group-column-key",
1089
+ "tree-indent",
1090
+ "count",
1091
+ "total",
1092
+ "title",
1093
+ "extra-row-style",
1094
+ "expanded",
1095
+ "active",
1096
+ "focus-column-key",
1097
+ "treegrid",
1098
+ "onToggle",
1099
+ "onRowClick",
1100
+ "onMenuOpen"
1101
+ ])) : flatRow && flatRow.kind === (0, vue.unref)(require_STable_types.ESTableRowKind).DEPTH_FOOTER ? ((0, vue.openBlock)(), (0, vue.createBlock)(require_STableContentRow.default, {
1102
+ key: 2,
1103
+ class: (0, vue.normalizeClass)(["s-ui-table__depth-footer-row", {
1104
+ "s-ui-table__depth-footer-row--stuck": stuckBottom,
1105
+ "s-ui-table__depth-footer-row--stuck-leaving": stuckBottomLeaving,
1106
+ "s-ui-table__depth-footer-row--stuck-sliding": stuckBottomSliding,
1107
+ "s-ui-table__depth-footer-row--stuck-covered": stuckBottomCoverHeight !== void 0,
1108
+ "s-ui-table__depth-footer-row--stuck-covered-far": stuckBottomFar
1109
+ }]),
1110
+ style: (0, vue.normalizeStyle)(getStuckCoverStyle(stuckBottomCoverHeight)),
1111
+ "data-index": flatRow.index,
1112
+ "aria-rowindex": flatRow.index + 2,
1113
+ cells: (0, vue.unref)(rowCellPlans),
1114
+ "content-column-key": (0, vue.unref)(depthFooterColumnKey),
1115
+ "cell-class": "s-ui-table__depth-footer-cell",
1116
+ "content-class": "s-ui-table__depth-footer-content",
1117
+ "content-style": (0, vue.unref)(getDepthIndentStyle)(flatRow.depth),
1118
+ section: (0, vue.unref)(require_useTableGridFocus.ESTableGridSection).BODY,
1119
+ "row-key": flatRow.key,
1120
+ "cell-id-prefix": gridBodyCellIdPrefix,
1121
+ "focus-column-key": getRowFocusColumnKey(flatRow.key)
1122
+ }, {
1123
+ default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "depth-footer", (0, vue.mergeProps)({ ref_for: true }, (0, vue.unref)(getDepthFooterSlotScope)(flatRow)))]),
1124
+ _: 2
1125
+ }, 1032, [
1126
+ "class",
1127
+ "style",
1128
+ "data-index",
1129
+ "aria-rowindex",
1130
+ "cells",
1131
+ "content-column-key",
1132
+ "content-style",
1133
+ "section",
1134
+ "row-key",
1135
+ "focus-column-key"
1136
+ ])) : flatRow && flatRow.kind === (0, vue.unref)(require_STable_types.ESTableRowKind).LOAD_MORE ? ((0, vue.openBlock)(), (0, vue.createBlock)(require_STableContentRow.default, {
1137
+ key: 3,
1138
+ class: "s-ui-table__load-more-row",
1139
+ "data-index": flatRow.index,
1140
+ "aria-rowindex": flatRow.index + 2,
1141
+ cells: (0, vue.unref)(rowCellPlans),
1142
+ "content-column-key": (0, vue.unref)(loadMoreColumnKey),
1143
+ "content-class": "s-ui-table__load-more-content",
1144
+ "content-style": (0, vue.unref)(getDepthIndentStyle)(flatRow.depth),
1145
+ section: (0, vue.unref)(require_useTableGridFocus.ESTableGridSection).BODY,
1146
+ "row-key": flatRow.key,
1147
+ "cell-id-prefix": gridBodyCellIdPrefix,
1148
+ "focus-column-key": getRowFocusColumnKey(flatRow.key)
1149
+ }, {
1150
+ default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "load-more", (0, vue.mergeProps)({ ref_for: true }, (0, vue.unref)(getLoadMoreSlotScope)(flatRow)), () => [(0, vue.createVNode)((0, vue.unref)(require_SButton.default), {
1151
+ appearance: (0, vue.unref)(require_SButton_types.EButtonAppearance).BARE,
1152
+ variant: (0, vue.unref)(require_SButton_types.EButtonVariant).NEUTRAL,
1153
+ size: (0, vue.unref)(require_SButton_types.EButtonSize).SMALL,
1154
+ loading: (0, vue.unref)(isLoadMoreRowLoading)(flatRow),
1155
+ tabindex: "-1",
1156
+ onClick: ($event) => (0, vue.unref)(emitLoadMoreChildren)(flatRow)
1157
+ }, {
1158
+ default: (0, vue.withCtx)(() => [(0, vue.createTextVNode)((0, vue.toDisplayString)((0, vue.unref)(t)("table.loadMore")), 1)]),
1159
+ _: 1
1160
+ }, 8, [
1161
+ "appearance",
1162
+ "variant",
1163
+ "size",
1164
+ "loading",
1165
+ "onClick"
1166
+ ])])]),
1167
+ _: 2
1168
+ }, 1032, [
1169
+ "data-index",
1170
+ "aria-rowindex",
1171
+ "cells",
1172
+ "content-column-key",
1173
+ "content-style",
1174
+ "section",
1175
+ "row-key",
1176
+ "focus-column-key"
1177
+ ])) : flatRow && placeholder ? ((0, vue.openBlock)(), (0, vue.createBlock)(require_STablePlaceholderRow.default, {
1178
+ key: 4,
1179
+ "row-index": flatRow.index,
1180
+ "row-key": flatRow.key,
1181
+ cells: (0, vue.unref)(rowCellPlans),
1182
+ "row-height": rowHeight
1183
+ }, null, 8, [
1184
+ "row-index",
1185
+ "row-key",
1186
+ "cells",
1187
+ "row-height"
1188
+ ])) : flatRow ? ((0, vue.openBlock)(), (0, vue.createBlock)(require_STableRow.default, {
1189
+ key: 5,
1190
+ row: flatRow,
1191
+ "row-index": flatRow.index,
1192
+ "row-expanded": flatRow.expanded,
1193
+ "leading-plans": (0, vue.unref)(leadingCellPlans),
1194
+ "trailing-plans": (0, vue.unref)(trailingCellPlans),
1195
+ "dnd-ref": __props.rowsDraggable ? registerRowDndRef : void 0,
1196
+ dragging: (0, vue.unref)(draggingRowKey) === flatRow.key,
1197
+ "drop-position": getRowDropPosition(flatRow.key),
1198
+ "placeholder-height": rowHeight,
1199
+ "dom-id": buildRowDomId(flatRow.key),
1200
+ selected: isRowSelected(flatRow.key),
1201
+ indeterminate: isRowIndeterminate(flatRow.key),
1202
+ "row-selectable": __props.selectable && (0, vue.unref)(selection).isNodeSelectable(flatRow.key),
1203
+ active: modelValue.value === flatRow.key,
1204
+ disabled: isRowDisabled(flatRow),
1205
+ "tree-indent": __props.treeIndent,
1206
+ "row-state": __props.rowState?.(flatRow.item),
1207
+ "row-color": __props.rowColor?.(flatRow.item, flatRow),
1208
+ "extra-row-class": __props.rowClass?.(flatRow.item, flatRow),
1209
+ "extra-row-style": __props.rowStyle?.(flatRow.item, flatRow),
1210
+ "cell-id-prefix": gridBodyCellIdPrefix,
1211
+ "focus-column-key": getRowFocusColumnKey(flatRow.key),
1212
+ treegrid: hasTreeStructure.value,
1213
+ onRowClick: ($event) => handleRowClick(flatRow, $event),
1214
+ onRowContextMenu: ($event) => handleRowContextMenu(flatRow, $event),
1215
+ onCellClick: (columnKey, cellEvent) => handleCellClick(flatRow, columnKey, cellEvent),
1216
+ onToggleExpand: ($event) => (0, vue.unref)(toggleExpanded)(flatRow.key),
1217
+ onToggleSelected: ($event) => toggleRowSelected(flatRow.key)
1218
+ }, (0, vue.createSlots)({ _: 2 }, [
1219
+ (0, vue.renderList)(forwardedCellSlotNames.value, (cellSlotName) => {
1220
+ return {
1221
+ name: cellSlotName,
1222
+ fn: (0, vue.withCtx)((cellSlotScope) => [(0, vue.renderSlot)(_ctx.$slots, cellSlotName, (0, vue.mergeProps)({ ref_for: true }, cellSlotScope))])
1223
+ };
1224
+ }),
1225
+ (0, vue.unref)(slots).chevron ? {
1226
+ name: "chevron",
1227
+ fn: (0, vue.withCtx)((rowSlotScope) => [(0, vue.renderSlot)(_ctx.$slots, "chevron", (0, vue.mergeProps)({ ref_for: true }, rowSlotScope))]),
1228
+ key: "0"
1229
+ } : void 0,
1230
+ (0, vue.unref)(slots)["cell-actions"] ? {
1231
+ name: "cell-actions",
1232
+ fn: (0, vue.withCtx)((cellSlotScope) => [(0, vue.renderSlot)(_ctx.$slots, "cell-actions", (0, vue.mergeProps)({ ref_for: true }, cellSlotScope))]),
1233
+ key: "1"
1234
+ } : void 0,
1235
+ (0, vue.unref)(slots).indicator ? {
1236
+ name: "indicator",
1237
+ fn: (0, vue.withCtx)((rowSlotScope) => [(0, vue.renderSlot)(_ctx.$slots, "indicator", (0, vue.mergeProps)({ ref_for: true }, rowSlotScope))]),
1238
+ key: "2"
1239
+ } : void 0,
1240
+ (0, vue.unref)(slots).checkbox ? {
1241
+ name: "checkbox",
1242
+ fn: (0, vue.withCtx)((rowSlotScope) => [(0, vue.renderSlot)(_ctx.$slots, "checkbox", (0, vue.mergeProps)({ ref_for: true }, rowSlotScope))]),
1243
+ key: "3"
1244
+ } : void 0,
1245
+ (0, vue.unref)(slots)["right-edge"] ? {
1246
+ name: "right-edge",
1247
+ fn: (0, vue.withCtx)((rowSlotScope) => [(0, vue.renderSlot)(_ctx.$slots, "right-edge", (0, vue.mergeProps)({ ref_for: true }, rowSlotScope))]),
1248
+ key: "4"
1249
+ } : void 0
1250
+ ]), 1032, [
1251
+ "row",
1252
+ "row-index",
1253
+ "row-expanded",
1254
+ "leading-plans",
1255
+ "trailing-plans",
1256
+ "dnd-ref",
1257
+ "dragging",
1258
+ "drop-position",
1259
+ "placeholder-height",
1260
+ "dom-id",
1261
+ "selected",
1262
+ "indeterminate",
1263
+ "row-selectable",
1264
+ "active",
1265
+ "disabled",
1266
+ "tree-indent",
1267
+ "row-state",
1268
+ "row-color",
1269
+ "extra-row-class",
1270
+ "extra-row-style",
1271
+ "focus-column-key",
1272
+ "treegrid",
1273
+ "onRowClick",
1274
+ "onRowContextMenu",
1275
+ "onCellClick",
1276
+ "onToggleExpand",
1277
+ "onToggleSelected"
1278
+ ])) : (0, vue.createCommentVNode)("", true)], 64));
1279
+ _item.memo = _memo;
1280
+ return _item;
1281
+ }, _cache, 3), 128)),
1282
+ __props.loadingMore && !__props.loading ? ((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, { key: 3 }, (0, vue.renderList)(Math.min(3, __props.skeletonRowCount), (skeletonIndex) => {
1283
+ return (0, vue.openBlock)(), (0, vue.createBlock)(require_STableSkeletonRow.default, {
1284
+ key: `skeleton-more-${skeletonIndex}`,
1285
+ "leading-plans": (0, vue.unref)(leadingCellPlans),
1286
+ "trailing-plans": (0, vue.unref)(trailingCellPlans)
1287
+ }, (0, vue.createSlots)({ _: 2 }, [(0, vue.unref)(slots)["skeleton-row"] ? {
1288
+ name: "default",
1289
+ fn: (0, vue.withCtx)((skeletonScope) => [(0, vue.renderSlot)(_ctx.$slots, "skeleton-row", { column: skeletonScope.descriptor.column })]),
1290
+ key: "0"
1291
+ } : void 0]), 1032, ["leading-plans", "trailing-plans"]);
1292
+ }), 128)) : (0, vue.createCommentVNode)("", true)
1293
+ ]),
1294
+ __props.creationRow || __props.footerValues ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("tfoot", _hoisted_17, [__props.creationRow ? ((0, vue.openBlock)(), (0, vue.createBlock)(require_STableContentRow.default, {
1295
+ key: 0,
1296
+ class: "s-ui-table__create-row",
1297
+ "aria-rowindex": (0, vue.unref)(flatRows).length + 2,
1298
+ cells: (0, vue.unref)(rowCellPlans),
1299
+ "content-column-key": (0, vue.unref)(creationColumnKey),
1300
+ "cell-class": "s-ui-table__create-cell",
1301
+ "content-class": "s-ui-table__create-content",
1302
+ section: (0, vue.unref)(require_useTableGridFocus.ESTableGridSection).CREATION,
1303
+ "cell-id-prefix": gridCreationCellIdPrefix,
1304
+ "focus-column-key": getSectionFocusColumnKey((0, vue.unref)(require_useTableGridFocus.ESTableGridSection).CREATION)
1305
+ }, {
1306
+ default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "creation-row")]),
1307
+ _: 3
1308
+ }, 8, [
1309
+ "aria-rowindex",
1310
+ "cells",
1311
+ "content-column-key",
1312
+ "section",
1313
+ "focus-column-key"
1314
+ ])) : (0, vue.createCommentVNode)("", true), __props.footerValues ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("tr", {
1315
+ key: 1,
1316
+ class: "s-ui-table__aggregate-row",
1317
+ "aria-rowindex": (0, vue.unref)(flatRows).length + 2 + (__props.creationRow ? 1 : 0)
1318
+ }, [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)((0, vue.unref)(rowCellPlans), ({ key: cellKey, cellPlan }) => {
1319
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: cellKey }, [!cellPlan ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("td", _hoisted_19)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("td", {
1320
+ key: 1,
1321
+ id: buildGridCellDomId({
1322
+ section: (0, vue.unref)(require_useTableGridFocus.ESTableGridSection).AGGREGATE,
1323
+ columnKey: cellPlan.descriptor.key
1324
+ }),
1325
+ class: (0, vue.normalizeClass)(["s-ui-table__aggregate-cell", [cellPlan.cellClass, (0, vue.unref)(getFooterToneClass)(cellPlan.descriptor.key)]]),
1326
+ style: (0, vue.normalizeStyle)(cellPlan.style),
1327
+ "aria-colindex": cellPlan.descriptor.colIndex,
1328
+ "data-column-key": cellPlan.descriptor.key,
1329
+ "data-section": (0, vue.unref)(require_useTableGridFocus.ESTableGridSection).AGGREGATE,
1330
+ tabindex: getGridCellTabIndex((0, vue.unref)(require_useTableGridFocus.ESTableGridSection).AGGREGATE, void 0, cellPlan.descriptor.key)
1331
+ }, [cellPlan.descriptor.column ? ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 0 }, [(0, vue.unref)(slots)[`footer:${cellPlan.descriptor.key}`] ? (0, vue.renderSlot)(_ctx.$slots, `footer:${cellPlan.descriptor.key}`, (0, vue.mergeProps)({
1332
+ key: 0,
1333
+ ref_for: true
1334
+ }, (0, vue.unref)(getFooterSlotScope)(cellPlan.descriptor.key))) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_21, (0, vue.toDisplayString)((0, vue.unref)(getFooterValueText)(cellPlan.descriptor.key)), 1))], 64)) : (0, vue.createCommentVNode)("", true)], 14, _hoisted_20))], 64);
1335
+ }), 128))], 8, _hoisted_18)) : (0, vue.createCommentVNode)("", true)])) : (0, vue.createCommentVNode)("", true)
1336
+ ], 44, _hoisted_1)], 4),
1337
+ (0, vue.createElementVNode)("span", {
1338
+ ref_key: "gridExitRef",
1339
+ ref: gridExitRef,
1340
+ class: "s-ui-table__grid-exit",
1341
+ tabindex: "-1",
1342
+ "aria-hidden": "true"
1343
+ }, null, 512),
1344
+ (0, vue.unref)(columnDropLineStyle) ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
1345
+ key: 0,
1346
+ class: "s-ui-table__column-drop-line",
1347
+ style: (0, vue.normalizeStyle)((0, vue.unref)(columnDropLineStyle)),
1348
+ "aria-hidden": "true"
1349
+ }, null, 4)) : (0, vue.createCommentVNode)("", true)
1350
+ ], 6);
1351
+ };
1352
+ }
1353
+ });
1354
+ //#endregion
1355
+ exports.default = STable_vue_vue_type_script_setup_true_lang_default;