@daisforge/ui 1.18.0 → 1.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (456) hide show
  1. package/chunks/{AnalyticalWidget-Cdo6_s1Y.mjs → AnalyticalWidget-BtyWKJuu.mjs} +34 -34
  2. package/chunks/AnalyticalWidget-YytE3Rlw.cjs +43 -0
  3. package/chunks/{ApprovalCenter-DxcvzR8q.mjs → ApprovalCenter-DLKZP2AO.mjs} +2 -2
  4. package/chunks/{ApprovalCenter-CAcC43zn.cjs → ApprovalCenter-DdsLEipZ.cjs} +1 -1
  5. package/chunks/BlockTitle-DC1McGof.cjs +1 -0
  6. package/chunks/BlockTitle-DsXxImR6.mjs +86 -0
  7. package/chunks/{Container-CrB1jwqH.cjs → Container-DHnX1sHY.cjs} +1 -1
  8. package/chunks/{Container-Cy8w2JOq.mjs → Container-DbZwlfIM.mjs} +1 -1
  9. package/chunks/{EXTERNAL_PACKAGE_MODULE_sdds_finai_high_contrast__light_theme-B8FhA_zv.cjs → EXTERNAL_PACKAGE_MODULE_sdds_finai_high_contrast__light_theme-75fNjCa0.cjs} +1059 -1293
  10. package/chunks/{EXTERNAL_PACKAGE_MODULE_sdds_finai_high_contrast__light_theme-w2nh9o1i.mjs → EXTERNAL_PACKAGE_MODULE_sdds_finai_high_contrast__light_theme-DjDujEzF.mjs} +1060 -1294
  11. package/chunks/{EmptyState-B205JfZA.mjs → EmptyState-CUCseg9M.mjs} +1 -1
  12. package/chunks/{EmptyState-CcxlsZm0.cjs → EmptyState-DH1xawxg.cjs} +1 -1
  13. package/chunks/{FiltersActions-BKJJH6Mu.cjs → FiltersActions-Cw_JG2O2.cjs} +1 -1
  14. package/chunks/{FiltersActions-CFStLRsU.mjs → FiltersActions-UayfdMLv.mjs} +4 -4
  15. package/chunks/{FormSegmentGroup-CCCqRgCG.cjs → FormSegmentGroup-BYQ6yMK1.cjs} +1 -1
  16. package/chunks/{FormSegmentGroup-E1JurEt7.mjs → FormSegmentGroup-C9qYxYT9.mjs} +1 -1
  17. package/chunks/{GridDND-UMUi8M_Q.mjs → GridDND-CqvpXgCY.mjs} +2 -2
  18. package/chunks/{GridDND-DV-1g1sI.cjs → GridDND-DK6SAO8q.cjs} +1 -1
  19. package/chunks/LeftPanel-AyuV7bGS.cjs +1 -0
  20. package/chunks/{LeftPanel-HZu3ECqD.mjs → LeftPanel-C5SsoRJS.mjs} +47 -45
  21. package/chunks/{ListOfFilters-DJvnT9kw.cjs → ListOfFilters-8rHTfUXT.cjs} +1 -1
  22. package/chunks/{ListOfFilters-DTAZ3wfQ.mjs → ListOfFilters-B3CA32OD.mjs} +3 -3
  23. package/chunks/{MassActions-Z-48g81T.cjs → MassActions-5p7to0R5.cjs} +1 -1
  24. package/chunks/{MassActions-DSAaO1-u.mjs → MassActions-BJxR4H1S.mjs} +3 -3
  25. package/chunks/PageTitle-CrBeieoq.cjs +9 -0
  26. package/chunks/PageTitle-DkfAiZM4.mjs +133 -0
  27. package/chunks/{SplitView-DYHeCnl9.mjs → SplitView-BqS1Jbo4.mjs} +1 -1
  28. package/chunks/{SplitView-UKIBuvTi.cjs → SplitView-DNmd4sJe.cjs} +1 -1
  29. package/chunks/{Stories-Dlwle-SM.mjs → Stories-BnHxMCEZ.mjs} +3 -3
  30. package/chunks/{Stories-CZXv_Ves.cjs → Stories-UYVANawW.cjs} +1 -1
  31. package/chunks/Table--NExtXRi.cjs +31 -0
  32. package/chunks/{Table-B9OAyWAW.mjs → Table-bmvWLH9o.mjs} +2682 -2608
  33. package/chunks/TableCanvas-DTm2pu0r.cjs +30 -0
  34. package/chunks/{TableCanvas-DcoUBrgC.mjs → TableCanvas-DxcB4WOJ.mjs} +7982 -7663
  35. package/chunks/{TableGlide-Ch-gaROR.mjs → TableGlide-BMBq6g4-.mjs} +2297 -2198
  36. package/chunks/TableGlide-DtosQrHB.cjs +1 -0
  37. package/chunks/styles-CJ5y9FKW.mjs +132 -0
  38. package/chunks/styles-kUWPuNSD.cjs +2 -0
  39. package/chunks/utils-ChDQGRjv.cjs +25 -0
  40. package/chunks/{utils-YKicAHp0.mjs → utils-u1KJ37g3.mjs} +120 -108
  41. package/chunks/{vendor-BzEO8Fvp.cjs → vendor-BSEdLAmZ.cjs} +1049 -1309
  42. package/chunks/{vendor-DBRfVjyT.mjs → vendor-CA3z7N_7.mjs} +1053 -1313
  43. package/components/AiAgentPopover/index.cjs +1 -1
  44. package/components/AiAgentPopover/index.mjs +1 -1
  45. package/components/AnalyticalWidget/components/AnalyticalWidgetButtons/index.cjs +1 -1
  46. package/components/AnalyticalWidget/components/AnalyticalWidgetButtons/index.mjs +1 -1
  47. package/components/AnalyticalWidget/components/AnalyticalWidgetChips/index.cjs +1 -1
  48. package/components/AnalyticalWidget/components/AnalyticalWidgetChips/index.mjs +1 -1
  49. package/components/AnalyticalWidget/components/AnalyticalWidgetHeader/index.cjs +1 -1
  50. package/components/AnalyticalWidget/components/AnalyticalWidgetHeader/index.mjs +1 -1
  51. package/components/AnalyticalWidget/index.cjs +1 -1
  52. package/components/AnalyticalWidget/index.mjs +1 -1
  53. package/components/ApprovalCenter/components/index.cjs +1 -1
  54. package/components/ApprovalCenter/components/index.mjs +1 -1
  55. package/components/ApprovalCenter/index.cjs +1 -1
  56. package/components/ApprovalCenter/index.mjs +1 -1
  57. package/components/AutocompleteSearch/index.cjs +1 -1
  58. package/components/AutocompleteSearch/index.mjs +2 -2
  59. package/components/BlockGradientScroll/index.cjs +1 -1
  60. package/components/BlockGradientScroll/index.mjs +1 -1
  61. package/components/BlockTitle/BlockTitle.d.ts +1 -1
  62. package/components/BlockTitle/BlockTitle.types.d.ts +2 -1
  63. package/components/BlockTitle/index.cjs +1 -1
  64. package/components/BlockTitle/index.mjs +1 -1
  65. package/components/BlockTitle/utils/index.cjs +1 -1
  66. package/components/BlockTitle/utils/index.mjs +1 -1
  67. package/components/Collapse/index.cjs +1 -1
  68. package/components/Collapse/index.mjs +1 -1
  69. package/components/Combobox/index.cjs +1 -1
  70. package/components/Combobox/index.mjs +1 -1
  71. package/components/DrawerDF/components/styled.d.ts +1 -1
  72. package/components/EmptyState/components/index.cjs +1 -1
  73. package/components/EmptyState/components/index.mjs +1 -1
  74. package/components/EmptyState/index.cjs +1 -1
  75. package/components/EmptyState/index.mjs +1 -1
  76. package/components/GridDND/index.cjs +1 -1
  77. package/components/GridDND/index.mjs +1 -1
  78. package/components/GridDND/utils/index.cjs +1 -1
  79. package/components/GridDND/utils/index.mjs +1 -1
  80. package/components/IconButton/index.cjs +1 -1
  81. package/components/IconButton/index.mjs +1 -1
  82. package/components/LeftPanel/components/index.cjs +1 -1
  83. package/components/LeftPanel/components/index.mjs +1 -1
  84. package/components/LeftPanel/hooks/index.cjs +1 -1
  85. package/components/LeftPanel/hooks/index.mjs +1 -1
  86. package/components/LeftPanel/index.cjs +1 -1
  87. package/components/LeftPanel/index.mjs +1 -1
  88. package/components/LeftPanel/styled.d.ts +1 -0
  89. package/components/LeftPanel/utils/index.cjs +1 -1
  90. package/components/LeftPanel/utils/index.mjs +1 -1
  91. package/components/ListOfFilters/index.cjs +1 -1
  92. package/components/ListOfFilters/index.mjs +1 -1
  93. package/components/MassActions/hooks/index.cjs +1 -1
  94. package/components/MassActions/hooks/index.mjs +1 -1
  95. package/components/MassActions/index.cjs +1 -1
  96. package/components/MassActions/index.mjs +1 -1
  97. package/components/ModalDF/index.cjs +1 -1
  98. package/components/ModalDF/index.mjs +1 -1
  99. package/components/Notification/index.cjs +1 -1
  100. package/components/Notification/index.mjs +2 -2
  101. package/components/NumberFormat/NumberFormat.d.ts +48 -0
  102. package/components/NumberFormatAmount/NumberFormatAmount.styled.d.ts +48 -0
  103. package/components/PageTitle/PageTitle.styled.d.ts +3 -1
  104. package/components/PageTitle/index.cjs +1 -1
  105. package/components/PageTitle/index.mjs +1 -1
  106. package/components/PageTitle/utils/index.cjs +1 -1
  107. package/components/PageTitle/utils/index.mjs +1 -1
  108. package/components/PopoverDF/index.cjs +1 -1
  109. package/components/PopoverDF/index.mjs +1 -1
  110. package/components/PopupDF/index.cjs +1 -1
  111. package/components/PopupDF/index.mjs +1 -1
  112. package/components/SplitView/index.cjs +1 -1
  113. package/components/SplitView/index.mjs +1 -1
  114. package/components/SplitView/utils/index.cjs +1 -1
  115. package/components/SplitView/utils/index.mjs +1 -1
  116. package/components/Stories/components/StoriesBanner/index.cjs +1 -1
  117. package/components/Stories/components/StoriesBanner/index.mjs +1 -1
  118. package/components/Stories/components/StoriesContent/index.cjs +1 -1
  119. package/components/Stories/components/StoriesContent/index.mjs +1 -1
  120. package/components/Stories/components/StoriesPreview/index.cjs +1 -1
  121. package/components/Stories/components/StoriesPreview/index.mjs +1 -1
  122. package/components/Stories/components/StoriesProgress/index.cjs +1 -1
  123. package/components/Stories/components/StoriesProgress/index.mjs +1 -1
  124. package/components/Stories/components/StoriesViewer/index.cjs +1 -1
  125. package/components/Stories/components/StoriesViewer/index.mjs +1 -1
  126. package/components/Stories/index.cjs +1 -1
  127. package/components/Stories/index.mjs +1 -1
  128. package/components/Table/components/TableDropdown/index.cjs +1 -1
  129. package/components/Table/components/TableDropdown/index.mjs +1 -1
  130. package/components/Table/feature-collapse-table/index.cjs +1 -1
  131. package/components/Table/feature-collapse-table/index.mjs +2 -2
  132. package/components/Table/feature-column-control/ColumnsList/index.cjs +1 -1
  133. package/components/Table/feature-column-control/ColumnsList/index.mjs +2 -2
  134. package/components/Table/feature-column-control/index.cjs +1 -1
  135. package/components/Table/feature-column-control/index.mjs +3 -3
  136. package/components/Table/feature-columns-grouping/index.cjs +1 -1
  137. package/components/Table/feature-columns-grouping/index.mjs +1 -1
  138. package/components/Table/feature-context-menu/index.cjs +1 -1
  139. package/components/Table/feature-context-menu/index.mjs +1 -1
  140. package/components/Table/feature-edit/index.cjs +1 -1
  141. package/components/Table/feature-edit/index.mjs +1 -1
  142. package/components/Table/feature-edit/textEditor.styled.d.ts +48 -0
  143. package/components/Table/feature-filtering/combobox/combobox.d.ts +3 -2
  144. package/components/Table/feature-filtering/combobox/index.cjs +1 -1
  145. package/components/Table/feature-filtering/combobox/index.d.ts +4 -2
  146. package/components/Table/feature-filtering/combobox/index.mjs +7 -3
  147. package/components/Table/feature-filtering/filter-list-block/index.cjs +1 -1
  148. package/components/Table/feature-filtering/filter-list-block/index.mjs +1 -1
  149. package/components/Table/feature-filtering/header-filter-button/filter-component-in-popover.d.ts +1 -2
  150. package/components/Table/feature-filtering/header-filter-button/index.cjs +1 -1
  151. package/components/Table/feature-filtering/header-filter-button/index.mjs +1 -1
  152. package/components/Table/feature-filtering/index.cjs +1 -1
  153. package/components/Table/feature-filtering/index.d.ts +1 -1
  154. package/components/Table/feature-filtering/index.mjs +13 -9
  155. package/components/Table/feature-filtering/render-slot.d.ts +5 -0
  156. package/components/Table/feature-filtering/sidebar-filter-block/index.cjs +1 -1
  157. package/components/Table/feature-filtering/sidebar-filter-block/index.mjs +2 -2
  158. package/components/Table/feature-filtering/use-focus-search-input.d.ts +2 -0
  159. package/components/Table/feature-infinity-scroll/index.cjs +1 -1
  160. package/components/Table/feature-infinity-scroll/index.mjs +1 -1
  161. package/components/Table/feature-key-text/index.cjs +1 -1
  162. package/components/Table/feature-key-text/index.mjs +3 -3
  163. package/components/Table/feature-pagination/index.cjs +1 -1
  164. package/components/Table/feature-pagination/index.mjs +3 -3
  165. package/components/Table/feature-reorder-columns/handlers.d.ts +4 -0
  166. package/components/Table/feature-right-sidebar/index.cjs +1 -1
  167. package/components/Table/feature-right-sidebar/index.mjs +1 -1
  168. package/components/Table/feature-row-detail/index.cjs +1 -1
  169. package/components/Table/feature-row-detail/index.mjs +1 -1
  170. package/components/Table/feature-row-instruments/index.cjs +1 -1
  171. package/components/Table/feature-row-instruments/index.mjs +5 -5
  172. package/components/Table/feature-row-size/index.cjs +1 -1
  173. package/components/Table/feature-row-size/index.mjs +2 -2
  174. package/components/Table/feature-rows-grouping/index.cjs +1 -1
  175. package/components/Table/feature-rows-grouping/index.mjs +1 -1
  176. package/components/Table/feature-searching/index.cjs +1 -1
  177. package/components/Table/feature-searching/index.mjs +1 -1
  178. package/components/Table/feature-select-row/index.cjs +1 -1
  179. package/components/Table/feature-select-row/index.mjs +1 -1
  180. package/components/Table/feature-sorting/index.cjs +1 -1
  181. package/components/Table/feature-sorting/index.mjs +1 -1
  182. package/components/Table/feature-table-settings/index.cjs +1 -1
  183. package/components/Table/feature-table-settings/index.mjs +1 -1
  184. package/components/Table/feature-tree/index.cjs +1 -1
  185. package/components/Table/feature-tree/index.mjs +2 -2
  186. package/components/Table/index.cjs +1 -1
  187. package/components/Table/index.d.ts +1 -1
  188. package/components/Table/index.mjs +43 -39
  189. package/components/Table/renders/formatCell/index.cjs +1 -1
  190. package/components/Table/renders/formatCell/index.mjs +3 -3
  191. package/components/Table/styles/index.cjs +1 -1
  192. package/components/Table/styles/index.mjs +9 -9
  193. package/components/Table/table-hooks/index.cjs +1 -1
  194. package/components/Table/table-hooks/index.mjs +3 -3
  195. package/components/Table/types/column-config.type.d.ts +1 -0
  196. package/components/Table/types/index.cjs +1 -1
  197. package/components/Table/types/index.mjs +1 -1
  198. package/components/Table/utils/index.cjs +1 -1
  199. package/components/Table/utils/index.mjs +4 -4
  200. package/components/Table/widgets/control-block/index.cjs +1 -1
  201. package/components/Table/widgets/control-block/index.mjs +1 -1
  202. package/components/Table/widgets/control-block/right-side/index.cjs +1 -1
  203. package/components/Table/widgets/control-block/right-side/index.mjs +1 -1
  204. package/components/Table/widgets/index.cjs +1 -1
  205. package/components/Table/widgets/index.mjs +1 -1
  206. package/components/Table/widgets/mass-actions/index.cjs +1 -1
  207. package/components/Table/widgets/mass-actions/index.mjs +1 -1
  208. package/components/TableCanvas/TableGlideInstance/adapters/column/index.cjs +1 -1
  209. package/components/TableCanvas/TableGlideInstance/adapters/column/index.mjs +1 -1
  210. package/components/TableCanvas/TableGlideInstance/adapters/index.cjs +1 -1
  211. package/components/TableCanvas/TableGlideInstance/adapters/index.mjs +1 -1
  212. package/components/TableCanvas/TableGlideInstance/index.cjs +1 -1
  213. package/components/TableCanvas/TableGlideInstance/index.mjs +2 -2
  214. package/components/TableCanvas/TableGlideInstance/utils/column/index.cjs +1 -1
  215. package/components/TableCanvas/TableGlideInstance/utils/column/index.mjs +1 -1
  216. package/components/TableCanvas/TableGlideInstance/utils/index.cjs +1 -1
  217. package/components/TableCanvas/TableGlideInstance/utils/index.mjs +1 -1
  218. package/components/TableCanvas/components/SplitIconButton/index.cjs +1 -1
  219. package/components/TableCanvas/components/SplitIconButton/index.mjs +1 -1
  220. package/components/TableCanvas/components/TableDropdown/index.cjs +1 -1
  221. package/components/TableCanvas/components/TableDropdown/index.mjs +1 -1
  222. package/components/TableCanvas/feature-borders/buildBorderCallbacks.d.ts +16 -0
  223. package/components/TableCanvas/feature-borders/useBorders.d.ts +14 -0
  224. package/components/TableCanvas/feature-cell-transfer/index.cjs +1 -1
  225. package/components/TableCanvas/feature-cell-transfer/index.mjs +1 -1
  226. package/components/TableCanvas/feature-collapse-table/index.cjs +1 -1
  227. package/components/TableCanvas/feature-collapse-table/index.mjs +1 -1
  228. package/components/TableCanvas/feature-column-control/ColumnsList/index.cjs +1 -1
  229. package/components/TableCanvas/feature-column-control/ColumnsList/index.mjs +1 -1
  230. package/components/TableCanvas/feature-column-control/columnsRenderOrder.d.ts +1 -0
  231. package/components/TableCanvas/feature-column-control/groupDepth.d.ts +14 -0
  232. package/components/TableCanvas/feature-column-control/hiddenBoundaries.d.ts +4 -0
  233. package/components/TableCanvas/feature-column-control/index.cjs +1 -1
  234. package/components/TableCanvas/feature-column-control/index.d.ts +2 -0
  235. package/components/TableCanvas/feature-column-control/index.mjs +4 -2
  236. package/components/TableCanvas/feature-column-control/types.d.ts +7 -0
  237. package/components/TableCanvas/feature-column-control/useHiddenColumnsIndicator.d.ts +19 -0
  238. package/components/TableCanvas/feature-columns-grouping/index.cjs +1 -1
  239. package/components/TableCanvas/feature-columns-grouping/index.mjs +1 -1
  240. package/components/TableCanvas/feature-columns-grouping/useLastLvlColumnConfig.d.ts +1 -0
  241. package/components/TableCanvas/feature-content-state/index.cjs +1 -1
  242. package/components/TableCanvas/feature-content-state/index.mjs +1 -1
  243. package/components/TableCanvas/feature-context-menu/index.cjs +1 -1
  244. package/components/TableCanvas/feature-context-menu/index.mjs +1 -1
  245. package/components/TableCanvas/feature-edit/index.cjs +1 -1
  246. package/components/TableCanvas/feature-edit/index.mjs +3 -3
  247. package/components/TableCanvas/feature-filtering/combobox/combobox.d.ts +3 -2
  248. package/components/TableCanvas/feature-filtering/combobox/index.cjs +1 -1
  249. package/components/TableCanvas/feature-filtering/combobox/index.d.ts +4 -2
  250. package/components/TableCanvas/feature-filtering/combobox/index.mjs +7 -3
  251. package/components/TableCanvas/feature-filtering/filter-list-block/index.cjs +1 -1
  252. package/components/TableCanvas/feature-filtering/filter-list-block/index.mjs +1 -1
  253. package/components/TableCanvas/feature-filtering/header-filter-button/filter-component-in-popover.d.ts +1 -2
  254. package/components/TableCanvas/feature-filtering/header-filter-button/index.cjs +1 -1
  255. package/components/TableCanvas/feature-filtering/header-filter-button/index.mjs +2 -2
  256. package/components/TableCanvas/feature-filtering/index.cjs +1 -1
  257. package/components/TableCanvas/feature-filtering/index.d.ts +1 -1
  258. package/components/TableCanvas/feature-filtering/index.mjs +12 -8
  259. package/components/TableCanvas/feature-filtering/render-slot.d.ts +5 -0
  260. package/components/TableCanvas/feature-filtering/sidebar-filter-block/index.cjs +1 -1
  261. package/components/TableCanvas/feature-filtering/sidebar-filter-block/index.mjs +1 -1
  262. package/components/TableCanvas/feature-infinity-scroll/index.cjs +1 -1
  263. package/components/TableCanvas/feature-infinity-scroll/index.mjs +1 -1
  264. package/components/TableCanvas/feature-key-text/index.cjs +1 -1
  265. package/components/TableCanvas/feature-key-text/index.mjs +1 -1
  266. package/components/TableCanvas/feature-notifications/index.cjs +1 -1
  267. package/components/TableCanvas/feature-notifications/index.mjs +1 -1
  268. package/components/TableCanvas/feature-pagination/index.cjs +1 -1
  269. package/components/TableCanvas/feature-pagination/index.mjs +2 -2
  270. package/components/TableCanvas/feature-popover-table/context/index.cjs +1 -1
  271. package/components/TableCanvas/feature-popover-table/context/index.mjs +1 -1
  272. package/components/TableCanvas/feature-popover-table/hooks/index.cjs +1 -1
  273. package/components/TableCanvas/feature-popover-table/hooks/index.mjs +1 -1
  274. package/components/TableCanvas/feature-popover-table/index.cjs +1 -1
  275. package/components/TableCanvas/feature-popover-table/index.mjs +8 -8
  276. package/components/TableCanvas/feature-popover-table/utils/index.cjs +1 -1
  277. package/components/TableCanvas/feature-popover-table/utils/index.mjs +1 -1
  278. package/components/TableCanvas/feature-reorder-columns/handlers.d.ts +4 -0
  279. package/components/TableCanvas/feature-right-sidebar/index.cjs +1 -1
  280. package/components/TableCanvas/feature-right-sidebar/index.mjs +1 -1
  281. package/components/TableCanvas/feature-row-detail/index.cjs +1 -1
  282. package/components/TableCanvas/feature-row-detail/index.mjs +1 -1
  283. package/components/TableCanvas/feature-row-instruments/index.cjs +1 -1
  284. package/components/TableCanvas/feature-row-instruments/index.mjs +1 -1
  285. package/components/TableCanvas/feature-row-markers/index.cjs +1 -1
  286. package/components/TableCanvas/feature-row-markers/index.mjs +1 -1
  287. package/components/TableCanvas/feature-row-size/index.cjs +1 -1
  288. package/components/TableCanvas/feature-row-size/index.mjs +3 -3
  289. package/components/TableCanvas/feature-rows-grouping/index.cjs +1 -1
  290. package/components/TableCanvas/feature-rows-grouping/index.mjs +1 -1
  291. package/components/TableCanvas/feature-searching/index.cjs +1 -1
  292. package/components/TableCanvas/feature-searching/index.mjs +1 -1
  293. package/components/TableCanvas/feature-select-row/index.cjs +1 -1
  294. package/components/TableCanvas/feature-select-row/index.mjs +1 -1
  295. package/components/TableCanvas/feature-sorting/index.cjs +1 -1
  296. package/components/TableCanvas/feature-sorting/index.mjs +1 -1
  297. package/components/TableCanvas/feature-table-settings/index.cjs +1 -1
  298. package/components/TableCanvas/feature-table-settings/index.mjs +1 -1
  299. package/components/TableCanvas/feature-tooltip/constants.d.ts +1 -0
  300. package/components/TableCanvas/feature-tooltip/index.cjs +1 -1
  301. package/components/TableCanvas/feature-tooltip/index.mjs +2 -2
  302. package/components/TableCanvas/feature-tooltip/types.d.ts +2 -0
  303. package/components/TableCanvas/feature-tooltip/utils/index.cjs +1 -1
  304. package/components/TableCanvas/feature-tooltip/utils/index.mjs +5 -5
  305. package/components/TableCanvas/feature-tree/handlers.d.ts +1 -0
  306. package/components/TableCanvas/feature-tree/index.cjs +1 -1
  307. package/components/TableCanvas/feature-tree/index.mjs +1 -1
  308. package/components/TableCanvas/feature-tree/tree-disclosure-icons.d.ts +65 -0
  309. package/components/TableCanvas/index.cjs +1 -1
  310. package/components/TableCanvas/index.d.ts +1 -1
  311. package/components/TableCanvas/index.mjs +64 -60
  312. package/components/TableCanvas/renders/formatCell/index.cjs +1 -1
  313. package/components/TableCanvas/renders/formatCell/index.mjs +1 -1
  314. package/components/TableCanvas/renders/rowIconConfig.d.ts +6 -0
  315. package/components/TableCanvas/renders/styleConstants.d.ts +3 -1
  316. package/components/TableCanvas/renders/styled.d.ts +0 -1
  317. package/components/TableCanvas/styles/index.cjs +1 -1
  318. package/components/TableCanvas/styles/index.mjs +1 -1
  319. package/components/TableCanvas/table-hooks/index.cjs +1 -1
  320. package/components/TableCanvas/table-hooks/index.mjs +11 -11
  321. package/components/TableCanvas/table-hooks/useColumns.d.ts +1 -0
  322. package/components/TableCanvas/types/column-config.type.d.ts +1 -0
  323. package/components/TableCanvas/types/index.cjs +1 -1
  324. package/components/TableCanvas/types/index.mjs +2 -2
  325. package/components/TableCanvas/types/table-config.type.d.ts +29 -0
  326. package/components/TableCanvas/utils/index.cjs +1 -1
  327. package/components/TableCanvas/utils/index.mjs +2 -2
  328. package/components/TableCanvas/widgets/control-block/compression/index.cjs +1 -1
  329. package/components/TableCanvas/widgets/control-block/compression/index.mjs +2 -2
  330. package/components/TableCanvas/widgets/control-block/index.cjs +1 -1
  331. package/components/TableCanvas/widgets/control-block/index.mjs +2 -2
  332. package/components/TableCanvas/widgets/control-block/right-side/index.cjs +1 -1
  333. package/components/TableCanvas/widgets/control-block/right-side/index.mjs +1 -1
  334. package/components/TableCanvas/widgets/index.cjs +1 -1
  335. package/components/TableCanvas/widgets/index.mjs +5 -5
  336. package/components/TableCanvas/widgets/mass-actions/hooks/index.cjs +1 -1
  337. package/components/TableCanvas/widgets/mass-actions/hooks/index.mjs +8 -8
  338. package/components/TableCanvas/widgets/mass-actions/index.cjs +1 -1
  339. package/components/TableCanvas/widgets/mass-actions/index.mjs +1 -1
  340. package/components/TableCanvasSharedConstants/index.cjs +1 -1
  341. package/components/TableCanvasSharedConstants/index.d.ts +1 -0
  342. package/components/TableCanvasSharedConstants/index.mjs +4 -3
  343. package/components/TableContract/index.cjs +1 -1
  344. package/components/TableContract/index.mjs +2 -2
  345. package/components/TableGlide/constants.d.ts +1 -1
  346. package/components/TableGlide/hooks/selection/index.cjs +1 -1
  347. package/components/TableGlide/hooks/selection/index.d.ts +1 -2
  348. package/components/TableGlide/hooks/selection/index.mjs +6 -7
  349. package/components/TableGlide/hooks/selection/useColoringLayers.d.ts +25 -0
  350. package/components/TableGlide/hooks/useHoverState.d.ts +18 -0
  351. package/components/TableGlide/hooks/useItemHoveredHandler.d.ts +4 -1
  352. package/components/TableGlide/index.cjs +1 -1
  353. package/components/TableGlide/index.mjs +9 -9
  354. package/components/TableGlide/lib/canvas/cells/buttons/index.cjs +1 -1
  355. package/components/TableGlide/lib/canvas/cells/buttons/index.mjs +1 -1
  356. package/components/TableGlide/lib/canvas/cells/iconSprites/index.cjs +1 -1
  357. package/components/TableGlide/lib/canvas/cells/iconSprites/index.mjs +1 -1
  358. package/components/TableGlide/lib/canvas/cells/index.cjs +1 -1
  359. package/components/TableGlide/lib/canvas/cells/index.mjs +1 -1
  360. package/components/TableGlide/lib/canvas/cells/renderer/index.cjs +1 -1
  361. package/components/TableGlide/lib/canvas/cells/renderer/index.mjs +1 -1
  362. package/components/TableGlide/lib/canvas/components/index.d.ts +1 -0
  363. package/components/TableGlide/lib/canvas/core/helpers/index.cjs +1 -1
  364. package/components/TableGlide/lib/canvas/core/helpers/index.mjs +1 -1
  365. package/components/TableGlide/lib/canvas/core/index.cjs +1 -1
  366. package/components/TableGlide/lib/canvas/core/index.mjs +1 -1
  367. package/components/TableGlide/lib/canvas/hooks/index.cjs +1 -1
  368. package/components/TableGlide/lib/canvas/hooks/index.mjs +1 -1
  369. package/components/TableGlide/lib/canvas/index.cjs +1 -1
  370. package/components/TableGlide/lib/canvas/index.mjs +1 -1
  371. package/components/TableGlide/lib/canvas/miniflex/index.cjs +1 -1
  372. package/components/TableGlide/lib/canvas/miniflex/index.mjs +1 -1
  373. package/components/TableGlide/lib/canvas/primitives/CanvasEmbedIconButton.d.ts +2 -0
  374. package/components/TableGlide/lib/canvas/primitives/index.cjs +1 -1
  375. package/components/TableGlide/lib/canvas/primitives/index.mjs +1 -1
  376. package/components/TableGlide/lib/canvas/utils/index.cjs +1 -1
  377. package/components/TableGlide/lib/canvas/utils/index.mjs +1 -1
  378. package/components/TableGlide/lib/canvas/utils/portalHoverEvents.d.ts +1 -0
  379. package/components/TableGlide/theming/custom-colors.d.ts +1 -1
  380. package/components/TableGlide/theming/glide-colors.d.ts +1 -0
  381. package/components/TableGlide/theming/index.cjs +1 -1
  382. package/components/TableGlide/theming/index.mjs +3 -3
  383. package/components/TableGlide/theming/size-tokens.d.ts +1 -1
  384. package/components/TableGlide/theming/sizes.d.ts +2 -2
  385. package/components/TableGlide/types.d.ts +1 -3
  386. package/components/TableTabs/index.cjs +1 -1
  387. package/components/TableTabs/index.mjs +1 -1
  388. package/components/Tooltip/index.cjs +1 -1
  389. package/components/Tooltip/index.mjs +1 -1
  390. package/components/TourWidget/index.cjs +2 -2
  391. package/components/TourWidget/index.mjs +4 -4
  392. package/components/Typography/index.cjs +1 -1
  393. package/components/Typography/index.mjs +1 -1
  394. package/components/Widget/index.cjs +1 -1
  395. package/components/Widget/index.mjs +2 -2
  396. package/formComponents/FormCombobox/index.cjs +1 -1
  397. package/formComponents/FormCombobox/index.mjs +1 -1
  398. package/formComponents/FormRadioGroupBox/index.cjs +1 -1
  399. package/formComponents/FormRadioGroupBox/index.mjs +1 -1
  400. package/formComponents/FormSegments/index.cjs +1 -1
  401. package/formComponents/FormSegments/index.mjs +1 -1
  402. package/formComponents/FormSwitch/index.cjs +1 -1
  403. package/formComponents/FormSwitch/index.mjs +1 -1
  404. package/index.cjs +1 -1
  405. package/index.mjs +1778 -1773
  406. package/layouts/Container/index.cjs +1 -1
  407. package/layouts/Container/index.mjs +1 -1
  408. package/layouts/Container/lib/utils/index.cjs +1 -1
  409. package/layouts/Container/lib/utils/index.mjs +1 -1
  410. package/layouts/ErrorPage/index.cjs +1 -1
  411. package/layouts/ErrorPage/index.mjs +1 -1
  412. package/layouts/FiltersActions/hooks/index.cjs +1 -1
  413. package/layouts/FiltersActions/hooks/index.mjs +1 -1
  414. package/layouts/FiltersActions/index.cjs +1 -1
  415. package/layouts/FiltersActions/index.mjs +1 -1
  416. package/layouts/Layout/index.cjs +1 -1
  417. package/layouts/Layout/index.mjs +1 -1
  418. package/layouts/PageLayout/index.cjs +1 -1
  419. package/layouts/PageLayout/index.mjs +1 -1
  420. package/mcp-data/component-index.json +945 -137
  421. package/mixins/index.cjs +1 -1
  422. package/mixins/index.mjs +1 -1
  423. package/package.json +10 -10
  424. package/styles/index.cjs +1 -1
  425. package/styles/index.mjs +1 -1
  426. package/themes/index.cjs +1 -1
  427. package/themes/index.mjs +2 -2
  428. package/utils/breakpoint/index.cjs +1 -1
  429. package/utils/breakpoint/index.mjs +1 -1
  430. package/utils/clickStream/index.cjs +1 -1
  431. package/utils/clickStream/index.mjs +1 -1
  432. package/utils/eventBus/index.cjs +1 -1
  433. package/utils/eventBus/index.mjs +1 -1
  434. package/utils/hooks/index.cjs +1 -1
  435. package/utils/hooks/index.mjs +1 -1
  436. package/utils/index.cjs +1 -1
  437. package/utils/index.d.ts +1 -0
  438. package/utils/index.mjs +30 -29
  439. package/utils/react/getMFReactDOMClient.d.ts +7 -0
  440. package/utils/react/index.cjs +1 -0
  441. package/utils/react/index.d.ts +1 -0
  442. package/utils/react/index.mjs +4 -0
  443. package/utils/styles/index.cjs +1 -1
  444. package/utils/styles/index.mjs +1 -1
  445. package/chunks/AnalyticalWidget-wke3Jm3X.cjs +0 -43
  446. package/chunks/BlockTitle-BEIxiECX.cjs +0 -1
  447. package/chunks/BlockTitle-BZxOEdTc.mjs +0 -85
  448. package/chunks/LeftPanel-B3-ySDMW.cjs +0 -1
  449. package/chunks/PageTitle-Bh3g6FUT.cjs +0 -1
  450. package/chunks/PageTitle-CaqXfrrQ.mjs +0 -123
  451. package/chunks/Table-BwhzcFX1.cjs +0 -31
  452. package/chunks/TableCanvas-MMWMrYiV.cjs +0 -30
  453. package/chunks/TableGlide-TYzM2bEB.cjs +0 -1
  454. package/chunks/styles-BBVEBDDw.mjs +0 -132
  455. package/chunks/styles-C-pJNMSQ.cjs +0 -2
  456. package/chunks/utils-CUW5bd8S.cjs +0 -25
@@ -1,11 +1,11 @@
1
1
  import { EmbeddedButton as et } from "@salutejs/sdds-finai/beta";
2
2
  import { IconButtonFilter as it } from "../components/IconButton/index.mjs";
3
- import { Dropdown as nt, ChipGroup as at, Chip as lt, Tooltip as B, TextXS as ot, TextS as dt, TextM as rt, TextL as st, H5 as pt, H4 as ct, H3 as ht, H2 as gt, H1 as yt, DsplS as mt, DsplM as ut, DsplL as xt, BodyXXS as ft, BodyXS as wt, BodyS as St, BodyM as V, BodyL as vt, Link as Wt } from "@salutejs/sdds-finai";
3
+ import { Dropdown as nt, ChipGroup as at, Chip as lt, Tooltip as B, TextXS as ot, TextS as dt, TextM as rt, TextL as st, H5 as pt, H4 as ct, H3 as ht, H2 as gt, H1 as yt, DsplS as mt, DsplM as ut, DsplL as xt, BodyXXS as ft, BodyXS as wt, BodyS as St, BodyM as G, BodyL as vt, Link as Wt } from "@salutejs/sdds-finai";
4
4
  import { jsx as i, jsxs as v, Fragment as _t } from "react/jsx-runtime";
5
- import { textPrimary as E, inverseTextPrimary as Ct, bodyXS as Tt, textTertiary as bt, bodyM as At, textSecondary as T, bodyMBold as Ht, surfaceSolidCard as Nt } from "@salutejs/sdds-themes/tokens/sdds_finai";
5
+ import { inverseTextPrimary as Ct, bodyXS as Tt, textTertiary as bt, bodyM as At, textPrimary as V, textSecondary as T, bodyMBold as Ht, surfaceSolidCard as Nt } from "@salutejs/sdds-themes/tokens/sdds_finai";
6
6
  import a, { css as A } from "styled-components";
7
- import { u as It, a as Rt, m as S, b as N } from "./utils-YKicAHp0.mjs";
8
- import { forwardRef as Bt, useRef as R, createElement as Et, useState as $t, useCallback as I, useEffect as F, isValidElement as Lt } from "react";
7
+ import { u as It, a as Rt, m as S, b as N } from "./utils-u1KJ37g3.mjs";
8
+ import { forwardRef as Bt, useRef as R, createElement as Et, useState as $t, useCallback as I, useEffect as z, isValidElement as Lt } from "react";
9
9
  import { IconDotsVerticalOutline as Dt, IconDotsHorizontalOutline as kt, IconInfoCircleOutline as Mt } from "@salutejs/plasma-icons";
10
10
  import { Collapse as Ot } from "../components/Collapse/index.mjs";
11
11
  const zt = {
@@ -145,14 +145,14 @@ const zt = {
145
145
  dropdownProps: t,
146
146
  iconSize: e,
147
147
  iconOrientation: o = "vertical",
148
- view: d = "secondary",
148
+ view: d = "default",
149
149
  size: l = "m",
150
150
  absolute: s = !1,
151
151
  absoluteOffset: n = 12,
152
152
  style: g,
153
153
  ...p
154
154
  }, y) => {
155
- const f = /* @__PURE__ */ i(et, { ref: y, view: d, size: l, style: g, ...p, children: /* @__PURE__ */ i(o === "vertical" ? Dt : kt, { size: e ?? "s", color: E }) }), w = t ? /* @__PURE__ */ i(nt, { ...t, children: f }) : f;
155
+ const f = /* @__PURE__ */ i(et, { ref: y, view: d, size: l, style: g, ...p, children: /* @__PURE__ */ i(o === "vertical" ? Dt : kt, { size: e ?? "s" }) }), w = t ? /* @__PURE__ */ i(nt, { ...t, children: f }) : f;
156
156
  return s ? /* @__PURE__ */ i(Gt, { $offset: n, children: w }) : w;
157
157
  });
158
158
  X.displayName = "AnalyticalWidgetIconButtonDots";
@@ -211,7 +211,7 @@ const Vt = a(lt).withConfig({
211
211
  return d ? /* @__PURE__ */ i(qt, { children: n }) : n;
212
212
  }, Jt = {
213
213
  BodyL: vt,
214
- BodyM: V,
214
+ BodyM: G,
215
215
  BodyS: St,
216
216
  BodyXS: wt,
217
217
  BodyXXS: ft,
@@ -228,7 +228,7 @@ const Vt = a(lt).withConfig({
228
228
  TextS: dt,
229
229
  TextXS: ot
230
230
  };
231
- function $({
231
+ function E({
232
232
  variant: t,
233
233
  children: e,
234
234
  refTypography: o,
@@ -237,7 +237,7 @@ function $({
237
237
  const l = Jt[t];
238
238
  return /* @__PURE__ */ i(l, { ...d, ref: o, children: e });
239
239
  }
240
- $.displayName = "Typography";
240
+ E.displayName = "Typography";
241
241
  const b = "typography-with-auto-tooltip-root";
242
242
  let W = !1, x = null, C = 0;
243
243
  function Y() {
@@ -284,7 +284,7 @@ const ee = a(B).withConfig({
284
284
  displayName: "TypographyWithAutoTooltipstyled__StyledTooltip"
285
285
  })(["&.popover-target{width:100%;}"]), ie = a.div.withConfig({
286
286
  displayName: "TypographyWithAutoTooltipstyled__StyleTooltipWrapper"
287
- })(["display:flex;align-items:center;min-width:0;& .popover-target{width:100%;}& .popover-wrapper{overflow:hidden;width:100%;display:flex;}"]), ne = 1, L = ({
287
+ })(["display:flex;align-items:center;min-width:0;& .popover-target{width:100%;}& .popover-wrapper{overflow:hidden;width:100%;display:flex;}"]), ne = 1, $ = ({
288
288
  tooltipText: t,
289
289
  tooltipProps: e,
290
290
  lines: o = 1,
@@ -299,8 +299,8 @@ const ee = a(B).withConfig({
299
299
  } = e || {}, y = R(null), [c, f] = $t(!1), w = R(), {
300
300
  schedule: _,
301
301
  getContainerId: P,
302
- createContainer: D
303
- } = te(), k = I(() => {
302
+ createContainer: L
303
+ } = te(), D = I(() => {
304
304
  if (!y.current)
305
305
  return !1;
306
306
  const h = y.current;
@@ -317,25 +317,25 @@ const ee = a(B).withConfig({
317
317
  return !1;
318
318
  }
319
319
  }, [o]), q = I(() => {
320
- k() && (w.current = setTimeout(() => {
320
+ D() && (w.current = setTimeout(() => {
321
321
  f(!0);
322
322
  }, n));
323
- }, [k, n]), J = I(() => {
323
+ }, [D, n]), J = I(() => {
324
324
  clearTimeout(w.current), setTimeout(() => {
325
325
  f(!1), _();
326
326
  }, g);
327
327
  }, [g, _]), {
328
328
  variant: K,
329
- bold: M,
330
- size: O,
329
+ bold: k,
330
+ size: M,
331
331
  ...u
332
332
  } = s, Q = {
333
333
  variant: K,
334
- ...M !== void 0 && {
335
- bold: M
334
+ ...k !== void 0 && {
335
+ bold: k
336
336
  },
337
- ...O !== void 0 && {
338
- size: O
337
+ ...M !== void 0 && {
338
+ size: M
339
339
  },
340
340
  ...u,
341
341
  refTypography: y,
@@ -354,10 +354,10 @@ const ee = a(B).withConfig({
354
354
  ...u.style || {}
355
355
  },
356
356
  children: l
357
- }, z = /* @__PURE__ */ i($, { ...Q, children: l });
358
- return F(() => D(), [D]), F(() => () => {
357
+ }, O = /* @__PURE__ */ i(E, { ...Q, children: l });
358
+ return z(() => L(), [L]), z(() => () => {
359
359
  clearTimeout(w.current), _();
360
- }, [_]), /* @__PURE__ */ i(ie, { className: d, onMouseEnter: q, onMouseLeave: J, children: c ? /* @__PURE__ */ i(ee, { opened: c, text: t ?? "", target: z, frame: P(), ...p }) : z });
360
+ }, [_]), /* @__PURE__ */ i(ie, { className: d, onMouseEnter: q, onMouseLeave: J, children: c ? /* @__PURE__ */ i(ee, { opened: c, text: t ?? "", target: O, frame: P(), ...p }) : O });
361
361
  }, ae = () => A(Ht), j = () => A(At), le = a.header.withConfig({
362
362
  displayName: "AnalyticalWidgetHeaderstyled__StyledHeader"
363
363
  })(["display:flex;justify-content:space-between;align-items:center;padding-right:24px;& .popover-wrapper:has(.", "){display:flex;flex-shrink:0;height:100%;align-items:center;transition:none;}"], r.popoverInfo), oe = a.div.withConfig({
@@ -367,10 +367,10 @@ const ee = a(B).withConfig({
367
367
  })(["margin:0;display:flex;align-items:center;flex-shrink:1;min-width:0;"]);
368
368
  a.p.withConfig({
369
369
  displayName: "AnalyticalWidgetHeaderstyled__StyledTitle"
370
- })(["margin:0;white-space:'nowrap';overflow:'hidden';text-overflow:'ellipsis';", ";color:", ";"], () => ae(), () => E);
371
- const re = a(L).withConfig({
370
+ })(["margin:0;white-space:'nowrap';overflow:'hidden';text-overflow:'ellipsis';", ";color:", ";"], () => ae(), () => V);
371
+ const re = a($).withConfig({
372
372
  displayName: "AnalyticalWidgetHeaderstyled__StyledTitleWithTooltip"
373
- })(["display:flex;flex-shrink:1;align-items:center;min-width:0;margin-right:4px;"]), se = a(L).withConfig({
373
+ })(["display:flex;flex-shrink:1;align-items:center;min-width:0;margin-right:4px;"]), se = a($).withConfig({
374
374
  displayName: "AnalyticalWidgetHeaderstyled__StyledSubTitleWithTooltip"
375
375
  })(["display:flex;flex-shrink:1;align-items:center;min-width:0;margin-right:4px;"]), pe = a.p.withConfig({
376
376
  displayName: "AnalyticalWidgetHeaderstyled__StyledAfterTitle"
@@ -382,25 +382,25 @@ const re = a(L).withConfig({
382
382
  a.p.withConfig({
383
383
  displayName: "AnalyticalWidgetHeaderstyled__StyledSubtitle"
384
384
  })(["", " flex-shrink:1;margin:0;min-width:0;color:", ";"], () => j(), () => T);
385
- a($).withConfig({
385
+ a(E).withConfig({
386
386
  displayName: "AnalyticalWidgetHeaderstyled__StyledSubtitleTypography"
387
387
  })(["color:", ";"], () => T);
388
388
  const he = a(Wt).withConfig({
389
389
  displayName: "AnalyticalWidgetHeaderstyled__StyledTitleLink"
390
390
  })(["display:flex;min-width:0;flex-shrink:1;"]);
391
- a(L).withConfig({
391
+ a($).withConfig({
392
392
  displayName: "AnalyticalWidgetHeaderstyled__StyleSubtitledWithTooltip"
393
393
  })(["flex-shrink:1;margin:0;min-width:0;"]);
394
394
  const ge = a.div.withConfig({
395
395
  displayName: "AnalyticalWidgetHeaderstyled__StyledRightSlot"
396
- })(["align-self:start;flex-shrink:0;"]), G = ({
396
+ })(["align-self:start;flex-shrink:0;"]), F = ({
397
397
  title: t,
398
398
  titleTooltipProps: e
399
399
  }) => typeof t != "string" ? /* @__PURE__ */ i(_t, { children: t }) : /* @__PURE__ */ i(re, { tooltipText: t, tooltipProps: {
400
400
  placement: "top",
401
401
  ...e
402
402
  }, variant: "BodyM", bold: !0, style: {
403
- color: E,
403
+ color: V,
404
404
  wordBreak: "normal"
405
405
  }, lines: 1, children: t }), ye = ({
406
406
  title: t,
@@ -417,7 +417,7 @@ const ge = a.div.withConfig({
417
417
  }) => /* @__PURE__ */ v(le, { className: S(r.header, y), children: [
418
418
  /* @__PURE__ */ v(oe, { children: [
419
419
  /* @__PURE__ */ v(de, { children: [
420
- t && c ? /* @__PURE__ */ i(he, { underline: "none", ...c, children: /* @__PURE__ */ i(G, { title: t, titleTooltipProps: e }) }) : /* @__PURE__ */ i(G, { title: t, titleTooltipProps: e }),
420
+ t && c ? /* @__PURE__ */ i(he, { underline: "none", ...c, children: /* @__PURE__ */ i(F, { title: t, titleTooltipProps: e }) }) : /* @__PURE__ */ i(F, { title: t, titleTooltipProps: e }),
421
421
  o && /* @__PURE__ */ i(pe, { style: d, children: o }),
422
422
  n && /* @__PURE__ */ i(ce, { children: /* @__PURE__ */ i(B, { trigger: "hover", placement: "top", text: n, target: /* @__PURE__ */ i(Mt, { size: "xs", style: {
423
423
  cursor: "pointer",
@@ -491,7 +491,7 @@ const ge = a.div.withConfig({
491
491
  return A(["", " ", " ", " "], N.exact(0, 1439)(e.md), N.exact(1440, 1919)(e.lg), N.exact(1920, 1e5)(e.xl));
492
492
  }, ({
493
493
  $css: t
494
- }) => t), xe = a(V).withConfig({
494
+ }) => t), xe = a(G).withConfig({
495
495
  displayName: "AnalyticalWidgetstyled__StyledTopSlot"
496
496
  })(["overflow:hidden;margin-top:8px;&:empty{margin-top:0;}&:has(.", "){margin-top:0;}"], r.selfSpacedTopSlot), fe = a.div.withConfig({
497
497
  displayName: "AnalyticalWidgetstyled__StyledMiddleSlot"
@@ -527,8 +527,8 @@ H.DotsIconButton = X;
527
527
  H.Chips = Yt;
528
528
  export {
529
529
  H as A,
530
- $ as T,
531
- L as a,
530
+ E as T,
531
+ $ as a,
532
532
  r as b,
533
533
  Ie as c,
534
534
  X as d,
@@ -0,0 +1,43 @@
1
+ "use strict";const Q=require("@salutejs/sdds-finai/beta"),U=require("../components/IconButton/index.cjs"),a=require("@salutejs/sdds-finai"),i=require("react/jsx-runtime"),y=require("@salutejs/sdds-themes/tokens/sdds_finai"),n=require("styled-components"),u=require("./utils-ChDQGRjv.cjs"),g=require("react"),I=require("@salutejs/plasma-icons"),Z=require("../components/Collapse/index.cjs"),tt={l:{xl:{minWidth:"448px",maxWidth:"unset",width:"100%",minHeight:"512px",padding:"12px",borderRadius:"16px"},lg:{minWidth:"448px",maxWidth:"unset",width:"100%",minHeight:"512px",padding:"12px",borderRadius:"16px"},md:{minWidth:"448px",maxWidth:"unset",width:"100%",minHeight:"512px",padding:"12px",borderRadius:"16px"}},m:{xl:{minWidth:"448px",maxWidth:"unset",width:"100%",minHeight:"248px",padding:"12px",borderRadius:"16px"},lg:{minWidth:"448px",maxWidth:"unset",width:"100%",minHeight:"248px",padding:"12px",borderRadius:"16px"},md:{minWidth:"448px",maxWidth:"unset",width:"100%",minHeight:"248px",padding:"12px",borderRadius:"16px"}},s:{xl:{minWidth:"216px",maxWidth:"unset",width:"100%",minHeight:"248px",padding:"12px",borderRadius:"16px"},lg:{minWidth:"216px",maxWidth:"unset",width:"100%",minHeight:"248px",padding:"12px",borderRadius:"16px"},md:{minWidth:"216px",maxWidth:"unset",width:"100%",minHeight:"248px",padding:"12px",borderRadius:"16px"}}},et={l:{topSlot:!0,middleSlot:!0},m:{topSlot:!0,middleSlot:!1},s:{topSlot:!0,middleSlot:!1}},s={root:"analytical-widget",header:"analytical-widget__header",popoverInfo:"analytical-widget__popover-info",topSlot:"analytical-widget__top-slot",middleSlot:"analytical-widget__middle-slot",contentSlot:"analytical-widget__content",headerActions:"analytical-widget__header-actions",selfSpacedTopSlot:"analytical-widget__self-spaced-top-slot",hasRightSlot:"analytical-widget--has-right-slot"},it=n.div.withConfig({displayName:"AnalyticalWidgetIconButtonDotsstyled__StyledAbsoluteDots"})(["position:absolute;top:","px;right:","px;."," ~ &,&:has(~ .","),&:has(~ * .","){top:","px;}"],({$offset:t})=>t,({$offset:t})=>t,s.hasRightSlot,s.hasRightSlot,s.hasRightSlot,({$offset:t})=>t+4),R=g.forwardRef(({dropdownProps:t,iconSize:e,iconOrientation:d="vertical",view:r="default",size:o="m",absolute:p=!1,absoluteOffset:l=12,style:x,...c},f)=>{const h=d==="vertical"?I.IconDotsVerticalOutline:I.IconDotsHorizontalOutline,C=i.jsx(Q.EmbeddedButton,{ref:f,view:r,size:o,style:x,...c,children:i.jsx(h,{size:e??"s"})}),T=t?i.jsx(a.Dropdown,{...t,children:C}):C;return p?i.jsx(it,{$offset:l,children:T}):T});R.displayName="AnalyticalWidgetIconButtonDots";const nt=n(a.Chip).withConfig({displayName:"AnalyticalWidgetChipsGroupstyled__StyledChip"})(["max-height:20px;max-width:180px;border-radius:12px;padding-inline:8px;"]),lt=n(a.ChipGroup).withConfig({displayName:"AnalyticalWidgetChipsGroupstyled__StyledChipGroup"})(["--analytical-widget-chips-gap:4px;gap:var(--analytical-widget-chips-gap);padding-top:8px;"]),M=({chips:t,commonView:e="default",commonSize:d="xs",opened:r=!1,...o})=>{const p=u.useDebouncedValue(r,300,!1),l=g.useRef(t);t.length>0&&(l.current=t);const x=t.length>0?t:l.current;return i.jsx("div",{className:s.selfSpacedTopSlot,children:i.jsx(Z.Collapse,{isOpen:p,unMountOnClose:!0,children:i.jsx(lt,{view:e,size:d,isCommonChipStyles:!1,...o,children:x.map(({key:c,view:f,...h},C)=>g.createElement(nt,{size:"xs",appearance:"transparent",...h,key:c??`${h==null?void 0:h.name}-${C}`}))})})})},at=n.div.withConfig({displayName:"TooltipList__StyledTooltipContent"})(["color:",";",";max-height:130px;overflow-y:auto;padding-block:2px;padding-right:2px;& > ul{padding-top:1px;display:flex;flex-direction:column;gap:1px;margin:0;padding:0;list-style:none;}& li{padding-left:12px;position:relative;&::before{content:'•';position:absolute;left:2px;}}"],()=>y.inverseTextPrimary,()=>n.css(y.bodyXS)),ot=({groupLabel:t,items:e})=>i.jsxs(at,{children:[i.jsx("span",{children:t}),i.jsx("ul",{children:e.map((d,r)=>i.jsx("li",{children:d},`${d}-${r}`))})]}),dt=n.div.withConfig({displayName:"TooltipList__FullWidthWrapper"})(["width:100%;& .popover-target,& .popover-wrapper{width:100%;}"]),rt=({groupLabel:t,items:e,children:d,fullWidth:r,...o})=>{const p=e.length>0,l=i.jsx(a.Tooltip,{usePortal:!0,size:"s",mouseEnterDelay:500,...o,trigger:p?o.trigger??"hover":"none",text:p?i.jsx(ot,{groupLabel:t,items:e}):null,opened:p?o.opened:!1,children:d});return r?i.jsx(dt,{children:l}):l},st={BodyL:a.BodyL,BodyM:a.BodyM,BodyS:a.BodyS,BodyXS:a.BodyXS,BodyXXS:a.BodyXXS,DsplL:a.DsplL,DsplM:a.DsplM,DsplS:a.DsplS,H1:a.H1,H2:a.H2,H3:a.H3,H4:a.H4,H5:a.H5,TextL:a.TextL,TextM:a.TextM,TextS:a.TextS,TextXS:a.TextXS};function j({variant:t,children:e,refTypography:d,...r}){const o=st[t];return i.jsx(o,{...r,ref:d,children:e})}j.displayName="Typography";const H="typography-with-auto-tooltip-root";let W=!1,v=null,A=0;function O(){if(typeof document>"u")return;const t=document.getElementById(H);t&&t.querySelectorAll("[id^='plasma-popover-root']:empty").forEach(e=>e.remove())}function pt(){W||(W=!0,v=setTimeout(()=>{W=!1,v=null,O()},0))}function ct(){v&&(clearTimeout(v),v=null),W=!1}function ht(){v&&(clearTimeout(v),v=null),W=!1,O()}function gt(){if(!(typeof document>"u")){if(A+=1,A===1){const t=document.createElement("div");t.id=H,document.body.appendChild(t)}return()=>{if(A-=1,A===0){const t=document.getElementById(H);t&&(t.querySelectorAll("[id^='plasma-popover-root']").length>0||t.remove())}}}}function yt(){return{schedule:pt,flush:ht,cancel:ct,getContainerId:()=>H,createContainer:gt}}const mt=n(a.Tooltip).withConfig({displayName:"TypographyWithAutoTooltipstyled__StyledTooltip"})(["&.popover-target{width:100%;}"]),ut=n.div.withConfig({displayName:"TypographyWithAutoTooltipstyled__StyleTooltipWrapper"})(["display:flex;align-items:center;min-width:0;& .popover-target{width:100%;}& .popover-wrapper{overflow:hidden;width:100%;display:flex;}"]),xt=1,N=({tooltipText:t,tooltipProps:e,lines:d=1,className:r,children:o,...p})=>{const{mouseEnterDelay:l=500,mouseLeaveDelay:x=0,...c}=e||{},f=g.useRef(null),[h,C]=g.useState(!1),T=g.useRef(),{schedule:b,getContainerId:z,createContainer:B}=yt(),L=g.useCallback(()=>{if(!f.current)return!1;const m=f.current;if(d>1)return m.scrollHeight>m.clientHeight||m.scrollWidth>m.clientWidth;try{const w=document.createRange();w.selectNodeContents(m);const P=w.getBoundingClientRect().width,J=m.getBoundingClientRect().width;w.detach();const K=window.devicePixelRatio||1;return(P-J)*K>xt}catch{return!1}},[d]),F=g.useCallback(()=>{L()&&(T.current=setTimeout(()=>{C(!0)},l))},[L,l]),G=g.useCallback(()=>{clearTimeout(T.current),setTimeout(()=>{C(!1),b()},x)},[x,b]),{variant:V,bold:D,size:E,...S}=p,Y={variant:V,...D!==void 0&&{bold:D},...E!==void 0&&{size:E},...S,refTypography:f,onMouseEnter:m=>{var w;(w=S.onMouseEnter)==null||w.call(S,m)},onMouseLeave:m=>{var w;(w=S.onMouseLeave)==null||w.call(S,m)},style:{...u.truncateText({lines:d}),...S.style||{}},children:o},$=i.jsx(j,{...Y,children:o});return g.useEffect(()=>B(),[B]),g.useEffect(()=>()=>{clearTimeout(T.current),b()},[b]),i.jsx(ut,{className:r,onMouseEnter:F,onMouseLeave:G,children:h?i.jsx(mt,{opened:h,text:t??"",target:$,frame:z(),...c}):$})},ft=()=>n.css(y.bodyMBold),q=()=>n.css(y.bodyM),wt=n.header.withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledHeader"})(["display:flex;justify-content:space-between;align-items:center;padding-right:24px;& .popover-wrapper:has(.","){display:flex;flex-shrink:0;height:100%;align-items:center;transition:none;}"],s.popoverInfo),St=n.div.withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledLeftSlot"})(["display:flex;flex-direction:column;flex:1 1 auto;min-width:0;gap:2px;min-height:32px;margin-right:16px;"]),vt=n.div.withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledTitleContainer"})(["margin:0;display:flex;align-items:center;flex-shrink:1;min-width:0;"]);n.p.withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledTitle"})(["margin:0;white-space:'nowrap';overflow:'hidden';text-overflow:'ellipsis';",";color:",";"],()=>ft(),()=>y.textPrimary);const Ct=n(N).withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledTitleWithTooltip"})(["display:flex;flex-shrink:1;align-items:center;min-width:0;margin-right:4px;"]),Tt=n(N).withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledSubTitleWithTooltip"})(["display:flex;flex-shrink:1;align-items:center;min-width:0;margin-right:4px;"]),Wt=n.p.withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledAfterTitle"})(["flex-shrink:0;margin:0;margin-right:4px;white-space:'nowrap';overflow:'hidden';text-overflow:'ellipsis';"," color:",";text-transform:uppercase;"],()=>q(),()=>y.textTertiary),_t=n.div.attrs({className:s.headerActions}).withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledHeaderActions"})(["display:inline-flex;align-items:center;flex-shrink:0;opacity:0;transition:opacity 0.3s ease;"]);n.p.withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledSubtitle"})([""," flex-shrink:1;margin:0;min-width:0;color:",";"],()=>q(),()=>y.textSecondary);n(j).withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledSubtitleTypography"})(["color:",";"],()=>y.textSecondary);const bt=n(a.Link).withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledTitleLink"})(["display:flex;min-width:0;flex-shrink:1;"]);n(N).withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyleSubtitledWithTooltip"})(["flex-shrink:1;margin:0;min-width:0;"]);const At=n.div.withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledRightSlot"})(["align-self:start;flex-shrink:0;"]),k=({title:t,titleTooltipProps:e})=>typeof t!="string"?i.jsx(i.Fragment,{children:t}):i.jsx(Ct,{tooltipText:t,tooltipProps:{placement:"top",...e},variant:"BodyM",bold:!0,style:{color:y.textPrimary,wordBreak:"normal"},lines:1,children:t}),X=({title:t,titleTooltipProps:e,badge:d,badgeStyles:r,subtitle:o,subtitleTooltipProps:p,infoTooltipText:l,infoTooltipProps:x,rightSlot:c,className:f,titleLinkProps:h})=>i.jsxs(wt,{className:u.mergeClasses(s.header,f),children:[i.jsxs(St,{children:[i.jsxs(vt,{children:[t&&h?i.jsx(bt,{underline:"none",...h,children:i.jsx(k,{title:t,titleTooltipProps:e})}):i.jsx(k,{title:t,titleTooltipProps:e}),d&&i.jsx(Wt,{style:r,children:d}),l&&i.jsx(_t,{children:i.jsx(a.Tooltip,{trigger:"hover",placement:"top",text:l,target:i.jsx(I.IconInfoCircleOutline,{size:"xs",style:{cursor:"pointer",color:y.textSecondary}}),className:u.mergeClasses(s.popoverInfo),...x})})]}),o&&(typeof o=="string"?i.jsx(Tt,{variant:"BodyXS",tooltipText:o,style:{color:y.textSecondary,wordBreak:"normal"},tooltipProps:{placement:"top",...p},lines:1,children:o}):o)]}),c&&i.jsx(At,{children:c})]}),Ht=t=>{const e=tt[t];return{xl:`
2
+ --analytical-widget-padding: ${e.xl.padding};
3
+ --analytical-widget-br: ${e.xl.borderRadius};
4
+ --analytical-widget-min-height: ${e.xl.minHeight};
5
+ --analytical-widget-min-width: ${e.xl.minWidth||"unset"};
6
+ --analytical-widget-max-width: ${e.xl.maxWidth||"unset"};
7
+
8
+ width: ${e.xl.width};
9
+ min-height: var(--analytical-widget-min-height);
10
+ height: 100%;
11
+ min-width: var(--analytical-widget-min-width);
12
+ max-width: var(--analytical-widget-max-width);
13
+ padding: var(--analytical-widget-padding);
14
+ border-radius: var(--analytical-widget-br);
15
+ `,lg:`
16
+ --analytical-widget-padding: ${e.lg.padding};
17
+ --analytical-widget-br: ${e.lg.borderRadius};
18
+ --analytical-widget-min-height: ${e.lg.minHeight};
19
+ --analytical-widget-min-width: ${e.lg.minWidth||"unset"};
20
+ --analytical-widget-max-width: ${e.lg.maxWidth||"unset"};
21
+
22
+ width: ${e.lg.width};
23
+ min-height: var(--analytical-widget-min-height);
24
+ height: 100%;
25
+ min-width: var(--analytical-widget-min-width);
26
+ max-width: var(--analytical-widget-max-width);
27
+ padding: var(--analytical-widget-padding);
28
+ border-radius: var(--analytical-widget-br);
29
+ `,md:`
30
+ --analytical-widget-padding: ${e.md.padding};
31
+ --analytical-widget-br: ${e.md.borderRadius};
32
+ --analytical-widget-min-height: ${e.md.minHeight};
33
+ --analytical-widget-min-width: ${e.md.minWidth||"unset"};
34
+ --analytical-widget-max-width: ${e.md.maxWidth||"unset"};
35
+
36
+ width: ${e.md.width};
37
+ min-height: var(--analytical-widget-min-height);
38
+ height: 100%;
39
+ min-width: var(--analytical-widget-min-width);
40
+ max-width: var(--analytical-widget-max-width);
41
+ padding: var(--analytical-widget-padding);
42
+ border-radius: var(--analytical-widget-br);
43
+ `}},jt=n.article.withConfig({displayName:"AnalyticalWidgetstyled__StyledWidget"})(["--analytical-widget-bg:",";display:flex;flex-direction:column;box-sizing:border-box;background:var(--analytical-widget-bg);&:hover{.","{opacity:1;}}"," ",""],y.surfaceSolidCard,s.headerActions,({$size:t})=>{const e=Ht(t);return n.css([""," "," "," "],u.media.exact(0,1439)(e.md),u.media.exact(1440,1919)(e.lg),u.media.exact(1920,1e5)(e.xl))},({$css:t})=>t),Nt=n(a.BodyM).withConfig({displayName:"AnalyticalWidgetstyled__StyledTopSlot"})(["overflow:hidden;margin-top:8px;&:empty{margin-top:0;}&:has(.","){margin-top:0;}"],s.selfSpacedTopSlot),It=n.div.withConfig({displayName:"AnalyticalWidgetstyled__StyledMiddleSlot"})(["overflow:hidden;padding-top:8px;"]),Rt=n.div.withConfig({displayName:"AnalyticalWidgetstyled__StyledContent"})(["position:relative;flex:1;min-height:30px;margin-top:8px;overflow-y:",";"],({scrollable:t})=>t?"auto":"visible"),_=({size:t="l",scrollable:e=!0,headerSlot:d,topSlot:r,middleSlot:o,contentSlot:p,classes:l,$css:x})=>{const c=et[t],f=g.isValidElement(d)&&!!d.props.rightSlot;return i.jsxs(jt,{$size:t,$css:x,className:u.mergeClasses(s.root,f?s.hasRightSlot:void 0,l==null?void 0:l.root),children:[i.jsx("div",{style:{minHeight:"32px"},children:d}),c.topSlot&&r||c.middleSlot&&o?i.jsxs("div",{children:[c.topSlot&&r&&i.jsx(Nt,{className:u.mergeClasses(s.topSlot,l==null?void 0:l.topSlot),children:r}),c.middleSlot&&o&&i.jsx(It,{className:u.mergeClasses(s.middleSlot,l==null?void 0:l.middleSlot),children:o})]}):null,i.jsx(Rt,{scrollable:e,className:u.mergeClasses(s.contentSlot,l==null?void 0:l.contentSlot),children:p})]})};_.Header=X;_.FilterIconButton=U.IconButtonFilter;_.DotsIconButton=R;_.Chips=M;exports.AnalyticalWidget=_;exports.AnalyticalWidgetChipsGroup=M;exports.AnalyticalWidgetHeader=X;exports.AnalyticalWidgetIconButtonDots=R;exports.TooltipList=rt;exports.Typography=j;exports.TypographyWithAutoTooltip=N;exports.analyticalWidgetClassNames=s;
@@ -4,8 +4,8 @@ import { useState as nt } from "react";
4
4
  import { textNegative as W, surfacePositive as R, textWarning as P, surfaceTransparentSecondary as Y, surfaceSolidCard as O, textSecondary as T, textPrimary as I } from "@salutejs/sdds-themes/tokens/sdds_finai";
5
5
  import { IconCloseCircleFill as j, IconDoneCircleFill as u, IconFocusOutline as st, IconInProgressFill as rt } from "@salutejs/plasma-icons";
6
6
  import s from "styled-components";
7
- import { T as f } from "./AnalyticalWidget-Cdo6_s1Y.mjs";
8
- import { E as lt } from "./EmptyState-B205JfZA.mjs";
7
+ import { T as f } from "./AnalyticalWidget-BtyWKJuu.mjs";
8
+ import { E as lt } from "./EmptyState-CUCseg9M.mjs";
9
9
  const at = {
10
10
  DEFAULT: /* @__PURE__ */ t(u, { size: "xs", color: Y }),
11
11
  WAIT: /* @__PURE__ */ t(st, { size: "xs", color: P }),
@@ -1 +1 @@
1
- "use strict";const o=require("@salutejs/sdds-finai"),e=require("react/jsx-runtime"),W=require("react"),r=require("@salutejs/sdds-themes/tokens/sdds_finai"),y=require("@salutejs/plasma-icons"),l=require("styled-components"),h=require("./AnalyticalWidget-wke3Jm3X.cjs"),R=require("./EmptyState-CcxlsZm0.cjs"),P={DEFAULT:e.jsx(y.IconDoneCircleFill,{size:"xs",color:r.surfaceTransparentSecondary}),WAIT:e.jsx(y.IconFocusOutline,{size:"xs",color:r.textWarning}),SUCCESSFUL:e.jsx(y.IconDoneCircleFill,{size:"xs",color:r.surfacePositive}),FAILURE:e.jsx(y.IconCloseCircleFill,{size:"xs",color:r.textNegative})},_={DEFAULT:e.jsx(y.IconDoneCircleFill,{size:"xs",color:r.surfaceTransparentSecondary}),WAIT:e.jsx(y.IconInProgressFill,{size:"xs",color:r.textWarning}),SUCCESSFUL:e.jsx(y.IconDoneCircleFill,{size:"xs",color:r.surfacePositive}),FAILURE:e.jsx(y.IconCloseCircleFill,{size:"xs",color:r.textNegative})},q={DEFAULT:"inactive",WAIT:"active",SUCCESSFUL:"completed",FAILURE:"completed"},Y={DEFAULT:"default",WAIT:"warning",SUCCESSFUL:"positive",FAILURE:"negative"},O={LIFE_CYCLE:"Жизненный цикл",HISTORY:"История изменений"},I=l.div.withConfig({displayName:"styled__ApprovalCenterContainer"})(["min-width:360px;min-height:600px;width:100%;height:100%;border-radius:16px;display:flex;flex-direction:column;flex:1;padding:12px 4px 12px 16px;background:",";",""],()=>r.surfaceSolidCard,({$css:s})=>s),V=l.div.withConfig({displayName:"styled__ApprovalCenterContentWrapper"})(["margin-top:20px;min-height:0;flex-direction:column;display:flex;flex:1;"]),X=l.div.withConfig({displayName:"styled__PreviewContainer"})(["display:flex;align-items:center;justify-content:center;width:100%;height:100%;flex:1;"]),M=l.div.withConfig({displayName:"styled__LifeCycleContainer"})(["overflow-y:auto;min-height:0;flex:1;display:flex;flex-direction:column;padding-right:12px;"]),K=l.div.withConfig({displayName:"styled__LifeCycleAccordionTitle"})(["display:flex;align-items:center;gap:4px;"]),D=l.div.withConfig({displayName:"styled__LifeCycleStageContent"})(["> *:not(:first-child){margin-top:8px;}> .comment:not(:first-child){margin-top:2px;}"]),$=l.div.withConfig({displayName:"styled__LifeCycleAssignees"})(["display:flex;flex-direction:column;gap:8px;"]),B=l.div.withConfig({displayName:"styled__LifeCycleButtonsWrapper"})(["display:flex;gap:4px;"]),G=l.div.withConfig({displayName:"styled__LifeCycleStageButtonsWrapper"})(["display:flex;gap:16px;"]),E=l(o.Button).withConfig({displayName:"styled__LifeCycleStyledButton"})(["margin-top:8px;"]),J=l.div.withConfig({displayName:"styled__HistoryContainer"})(["display:flex;flex-direction:column;flex:1;min-height:0;gap:12px;overflow-y:auto;padding-right:12px;"]),Q=l.div.withConfig({displayName:"styled__HistoryDay"})(["display:flex;flex-direction:column;gap:12px;"]),Z=l.div.withConfig({displayName:"styled__HistoryDate"})(["top:0px;position:sticky;display:flex;justify-content:center;width:100%;"]),ee=l.div.withConfig({displayName:"styled__HistoryActions"})(["display:flex;flex-direction:column;gap:12px;"]);l(o.Badge).withConfig({displayName:"styled__HistoryStyledBadge"})(["flex-shrink:0;white-space:nowrap;"]);const T=s=>{const{historyByDay:p}=s;return e.jsx(J,{children:p.map(c=>e.jsxs(Q,{children:[e.jsx(Z,{children:e.jsx(o.Badge,{size:"m",text:c.date,view:"light",customColor:r.textSecondary,customBackgroundColor:r.surfaceSolidCard})}),e.jsx(ee,{children:c.actions.map(i=>e.jsx(o.Cell,{size:"s",title:i.title,subtitle:i.time,contentLeft:P[i.status]}))})]},c.date))})};function d(s){return s!=null}function g(s){return Array.isArray(s)&&s.length>0}function te(s){const p=new Intl.DateTimeFormat("ru-RU",{day:"numeric",month:"long"}),c=new Intl.DateTimeFormat("ru-RU",{hour:"2-digit",minute:"2-digit",hour12:!1}),i=new Date,t=new Map;for(const a of s){const n=new Date(a.actionDate),m=n.getFullYear()===i.getFullYear()&&n.getMonth()===i.getMonth()&&n.getDate()===i.getDate()?"Сегодня":p.format(n),v=c.format(n),u={status:a.status,title:a.actionTitle,time:v};let x=t.get(m);x===void 0&&(x=[],t.set(m,x)),x.push(u)}return Array.from(t,([a,n])=>({date:a,actions:n}))}const w=s=>{const{lifeCycle:p}=s,c=p.map(i=>({title:i.title,status:q[i.status],completedItemView:Y[i.status],content:d(i.stages)?e.jsxs(e.Fragment,{children:[e.jsx(o.Accordion,{size:"s",view:"clear",defaultActiveEventKey:i.stages.reduce((t,a,n)=>(a.open&&t.push(n),t),[]),children:i.stages.map((t,a)=>e.jsx(o.AccordionItem,{contentLeft:d(t.tooltip)?e.jsx(o.ViewContainer,{view:"onDark",children:e.jsx(o.Tooltip,{maxWidth:250,offset:[2,11],target:_[t.status],trigger:"hover",placement:"top-start",text:t.tooltip.text})}):_[t.status],title:e.jsxs(K,{children:[e.jsx(h.Typography,{variant:"TextS",children:t.title}),d(t.mark)&&(t.mark.tooltip?e.jsx(o.ViewContainer,{view:"onDark",children:e.jsx(o.Tooltip,{maxWidth:250,offset:[2,11],target:t.mark.icon,trigger:"hover",placement:"top-start",text:t.mark.tooltip.text})}):t.mark.icon)]}),eventKey:a,children:e.jsxs(D,{children:[g(t.assignee)&&e.jsx($,{children:t.assignee.map(n=>e.jsx(h.Typography,{variant:"TextXS",bold:!0,color:r.textPrimary,children:n},n))}),d(t.comment)&&e.jsx(h.Typography,{variant:"TextXS",color:r.textPrimary,children:t.comment}),g(t.buttons)&&e.jsx(G,{children:t.buttons.map(n=>e.jsx(o.LinkButton,{contentLeft:n.contentLeft,text:n.text,size:"xxs",onClick:n.onClick},n.text))}),d(t.actionTitle)&&e.jsx(h.Typography,{variant:"TextXS",color:r.textSecondary,children:t.actionTitle})]})},t.title))}),g(i.buttons)&&e.jsx(B,{children:i.buttons.map(t=>e.jsx(E,{text:t.text,contentLeft:t.contentLeft,view:"secondary",size:"xs"}))})]}):e.jsxs(D,{children:[e.jsx(h.Typography,{variant:"BodyXS",color:r.textSecondary,children:i.actionTitle}),g(i.buttons)&&e.jsx(B,{children:i.buttons.map(t=>e.jsx(E,{text:t.text,contentLeft:t.contentLeft,view:"secondary",size:"xs"}))})]})}));return e.jsx(M,{children:e.jsx(o.Steps,{style:{paddingTop:"1px",height:"auto"},items:c,orientation:"vertical",size:"m"})})},L=s=>{const{preview:p}=s,{button:c,loading:i}=p??{},t=d(c);return e.jsx(X,{children:i?e.jsx(o.Spinner,{size:"l",view:"default"}):e.jsx(R.EmptyState,{size:"m",variant:"no-content",buttons:t?[{props:{text:c.text,children:c.text,view:"accent",onClick:c.onClick},type:"link"}]:void 0})})},ie=s=>{const{className:p,$css:c,preview:i,tabs:t,lifeCycle:a,history:n}=s,[f,m]=W.useState(t.active),v=t.available.length>1,u=t.available[0],x=u==="LIFE_CYCLE",N=u==="HISTORY",b=f==="LIFE_CYCLE",z=f==="HISTORY",S=d(a),H=d(n),A=d(i),j=H?te(n):null,F=d(j);if(v){const k=e.jsxs(V,{children:[S&&b&&e.jsx(w,{lifeCycle:a}),F&&z&&e.jsx(T,{historyByDay:j})]});return e.jsx(I,{className:p,$css:c,children:A?e.jsx(L,{preview:i}):e.jsxs(e.Fragment,{children:[e.jsx(o.Tabs,{view:"divider",size:"s",orientation:"horizontal",children:t.available.map(C=>e.jsx(o.TabItem,{view:"divider",size:"s",selected:C===f,onClick:()=>m(C),children:O[C]},C))}),k]})})}const U=e.jsxs(e.Fragment,{children:[S&&x&&e.jsx(w,{lifeCycle:a}),F&&N&&e.jsx(T,{historyByDay:j})]});return e.jsx(I,{children:A?e.jsx(L,{preview:i}):U})};exports.ApprovalCenter=ie;exports.History=T;exports.LifeCycle=w;exports.Preview=L;
1
+ "use strict";const o=require("@salutejs/sdds-finai"),e=require("react/jsx-runtime"),W=require("react"),r=require("@salutejs/sdds-themes/tokens/sdds_finai"),y=require("@salutejs/plasma-icons"),l=require("styled-components"),h=require("./AnalyticalWidget-YytE3Rlw.cjs"),R=require("./EmptyState-DH1xawxg.cjs"),P={DEFAULT:e.jsx(y.IconDoneCircleFill,{size:"xs",color:r.surfaceTransparentSecondary}),WAIT:e.jsx(y.IconFocusOutline,{size:"xs",color:r.textWarning}),SUCCESSFUL:e.jsx(y.IconDoneCircleFill,{size:"xs",color:r.surfacePositive}),FAILURE:e.jsx(y.IconCloseCircleFill,{size:"xs",color:r.textNegative})},_={DEFAULT:e.jsx(y.IconDoneCircleFill,{size:"xs",color:r.surfaceTransparentSecondary}),WAIT:e.jsx(y.IconInProgressFill,{size:"xs",color:r.textWarning}),SUCCESSFUL:e.jsx(y.IconDoneCircleFill,{size:"xs",color:r.surfacePositive}),FAILURE:e.jsx(y.IconCloseCircleFill,{size:"xs",color:r.textNegative})},q={DEFAULT:"inactive",WAIT:"active",SUCCESSFUL:"completed",FAILURE:"completed"},Y={DEFAULT:"default",WAIT:"warning",SUCCESSFUL:"positive",FAILURE:"negative"},O={LIFE_CYCLE:"Жизненный цикл",HISTORY:"История изменений"},I=l.div.withConfig({displayName:"styled__ApprovalCenterContainer"})(["min-width:360px;min-height:600px;width:100%;height:100%;border-radius:16px;display:flex;flex-direction:column;flex:1;padding:12px 4px 12px 16px;background:",";",""],()=>r.surfaceSolidCard,({$css:s})=>s),V=l.div.withConfig({displayName:"styled__ApprovalCenterContentWrapper"})(["margin-top:20px;min-height:0;flex-direction:column;display:flex;flex:1;"]),X=l.div.withConfig({displayName:"styled__PreviewContainer"})(["display:flex;align-items:center;justify-content:center;width:100%;height:100%;flex:1;"]),M=l.div.withConfig({displayName:"styled__LifeCycleContainer"})(["overflow-y:auto;min-height:0;flex:1;display:flex;flex-direction:column;padding-right:12px;"]),K=l.div.withConfig({displayName:"styled__LifeCycleAccordionTitle"})(["display:flex;align-items:center;gap:4px;"]),D=l.div.withConfig({displayName:"styled__LifeCycleStageContent"})(["> *:not(:first-child){margin-top:8px;}> .comment:not(:first-child){margin-top:2px;}"]),$=l.div.withConfig({displayName:"styled__LifeCycleAssignees"})(["display:flex;flex-direction:column;gap:8px;"]),B=l.div.withConfig({displayName:"styled__LifeCycleButtonsWrapper"})(["display:flex;gap:4px;"]),G=l.div.withConfig({displayName:"styled__LifeCycleStageButtonsWrapper"})(["display:flex;gap:16px;"]),E=l(o.Button).withConfig({displayName:"styled__LifeCycleStyledButton"})(["margin-top:8px;"]),J=l.div.withConfig({displayName:"styled__HistoryContainer"})(["display:flex;flex-direction:column;flex:1;min-height:0;gap:12px;overflow-y:auto;padding-right:12px;"]),Q=l.div.withConfig({displayName:"styled__HistoryDay"})(["display:flex;flex-direction:column;gap:12px;"]),Z=l.div.withConfig({displayName:"styled__HistoryDate"})(["top:0px;position:sticky;display:flex;justify-content:center;width:100%;"]),ee=l.div.withConfig({displayName:"styled__HistoryActions"})(["display:flex;flex-direction:column;gap:12px;"]);l(o.Badge).withConfig({displayName:"styled__HistoryStyledBadge"})(["flex-shrink:0;white-space:nowrap;"]);const T=s=>{const{historyByDay:p}=s;return e.jsx(J,{children:p.map(c=>e.jsxs(Q,{children:[e.jsx(Z,{children:e.jsx(o.Badge,{size:"m",text:c.date,view:"light",customColor:r.textSecondary,customBackgroundColor:r.surfaceSolidCard})}),e.jsx(ee,{children:c.actions.map(i=>e.jsx(o.Cell,{size:"s",title:i.title,subtitle:i.time,contentLeft:P[i.status]}))})]},c.date))})};function d(s){return s!=null}function g(s){return Array.isArray(s)&&s.length>0}function te(s){const p=new Intl.DateTimeFormat("ru-RU",{day:"numeric",month:"long"}),c=new Intl.DateTimeFormat("ru-RU",{hour:"2-digit",minute:"2-digit",hour12:!1}),i=new Date,t=new Map;for(const a of s){const n=new Date(a.actionDate),m=n.getFullYear()===i.getFullYear()&&n.getMonth()===i.getMonth()&&n.getDate()===i.getDate()?"Сегодня":p.format(n),v=c.format(n),u={status:a.status,title:a.actionTitle,time:v};let x=t.get(m);x===void 0&&(x=[],t.set(m,x)),x.push(u)}return Array.from(t,([a,n])=>({date:a,actions:n}))}const w=s=>{const{lifeCycle:p}=s,c=p.map(i=>({title:i.title,status:q[i.status],completedItemView:Y[i.status],content:d(i.stages)?e.jsxs(e.Fragment,{children:[e.jsx(o.Accordion,{size:"s",view:"clear",defaultActiveEventKey:i.stages.reduce((t,a,n)=>(a.open&&t.push(n),t),[]),children:i.stages.map((t,a)=>e.jsx(o.AccordionItem,{contentLeft:d(t.tooltip)?e.jsx(o.ViewContainer,{view:"onDark",children:e.jsx(o.Tooltip,{maxWidth:250,offset:[2,11],target:_[t.status],trigger:"hover",placement:"top-start",text:t.tooltip.text})}):_[t.status],title:e.jsxs(K,{children:[e.jsx(h.Typography,{variant:"TextS",children:t.title}),d(t.mark)&&(t.mark.tooltip?e.jsx(o.ViewContainer,{view:"onDark",children:e.jsx(o.Tooltip,{maxWidth:250,offset:[2,11],target:t.mark.icon,trigger:"hover",placement:"top-start",text:t.mark.tooltip.text})}):t.mark.icon)]}),eventKey:a,children:e.jsxs(D,{children:[g(t.assignee)&&e.jsx($,{children:t.assignee.map(n=>e.jsx(h.Typography,{variant:"TextXS",bold:!0,color:r.textPrimary,children:n},n))}),d(t.comment)&&e.jsx(h.Typography,{variant:"TextXS",color:r.textPrimary,children:t.comment}),g(t.buttons)&&e.jsx(G,{children:t.buttons.map(n=>e.jsx(o.LinkButton,{contentLeft:n.contentLeft,text:n.text,size:"xxs",onClick:n.onClick},n.text))}),d(t.actionTitle)&&e.jsx(h.Typography,{variant:"TextXS",color:r.textSecondary,children:t.actionTitle})]})},t.title))}),g(i.buttons)&&e.jsx(B,{children:i.buttons.map(t=>e.jsx(E,{text:t.text,contentLeft:t.contentLeft,view:"secondary",size:"xs"}))})]}):e.jsxs(D,{children:[e.jsx(h.Typography,{variant:"BodyXS",color:r.textSecondary,children:i.actionTitle}),g(i.buttons)&&e.jsx(B,{children:i.buttons.map(t=>e.jsx(E,{text:t.text,contentLeft:t.contentLeft,view:"secondary",size:"xs"}))})]})}));return e.jsx(M,{children:e.jsx(o.Steps,{style:{paddingTop:"1px",height:"auto"},items:c,orientation:"vertical",size:"m"})})},L=s=>{const{preview:p}=s,{button:c,loading:i}=p??{},t=d(c);return e.jsx(X,{children:i?e.jsx(o.Spinner,{size:"l",view:"default"}):e.jsx(R.EmptyState,{size:"m",variant:"no-content",buttons:t?[{props:{text:c.text,children:c.text,view:"accent",onClick:c.onClick},type:"link"}]:void 0})})},ie=s=>{const{className:p,$css:c,preview:i,tabs:t,lifeCycle:a,history:n}=s,[f,m]=W.useState(t.active),v=t.available.length>1,u=t.available[0],x=u==="LIFE_CYCLE",N=u==="HISTORY",b=f==="LIFE_CYCLE",z=f==="HISTORY",S=d(a),H=d(n),A=d(i),j=H?te(n):null,F=d(j);if(v){const k=e.jsxs(V,{children:[S&&b&&e.jsx(w,{lifeCycle:a}),F&&z&&e.jsx(T,{historyByDay:j})]});return e.jsx(I,{className:p,$css:c,children:A?e.jsx(L,{preview:i}):e.jsxs(e.Fragment,{children:[e.jsx(o.Tabs,{view:"divider",size:"s",orientation:"horizontal",children:t.available.map(C=>e.jsx(o.TabItem,{view:"divider",size:"s",selected:C===f,onClick:()=>m(C),children:O[C]},C))}),k]})})}const U=e.jsxs(e.Fragment,{children:[S&&x&&e.jsx(w,{lifeCycle:a}),F&&N&&e.jsx(T,{historyByDay:j})]});return e.jsx(I,{children:A?e.jsx(L,{preview:i}):U})};exports.ApprovalCenter=ie;exports.History=T;exports.LifeCycle=w;exports.Preview=L;
@@ -0,0 +1 @@
1
+ "use strict";const e=require("react/jsx-runtime"),S=require("../components/Box/index.cjs"),b=require("@salutejs/sdds-finai"),x=require("./AnalyticalWidget-YytE3Rlw.cjs"),C=require("@salutejs/plasma-icons"),N=require("./utils-ChDQGRjv.cjs"),c=require("@salutejs/sdds-themes/tokens/sdds_finai"),o=require("styled-components"),i={backButton:"block-title__back-button",container:"block-title__container",contentLeft:"block-title__content-left",description:"block-title__description",topBlock:"block-title__top-block",rightBlock:"block-title__right-block",title:"block-title__title",titleBlock:"block-title__title-block"},z=o.div.withConfig({displayName:"styled__BlockTitleContainer"})(["display:flex;justify-content:space-between;width:100%;gap:",";"],()=>c.spacing12x),j=o.div.withConfig({displayName:"styled__BlockTitleBlock"})(["display:flex;align-items:center;gap:",";margin-bottom:",";"],()=>c.spacing2x,()=>c.spacing2x),w=o.div.withConfig({displayName:"styled__BlockTitleCustomBlock"})(["width:100%;margin-bottom:",";"],()=>c.spacing2x),v=o(x.Typography).withConfig({displayName:"styled__BlockTitleDescription"})(["color:",";padding-left:",";"],()=>c.textSecondary,({$hasLeftSlot:t})=>t?"28px":"0"),L=o.div.withConfig({displayName:"styled__BlockTitleLeftBlock"})(["display:flex;min-height:100%;flex-direction:column;justify-content:end;"]),I=o.div.withConfig({displayName:"styled__BlockTitleRightBlock"})(["display:flex;min-height:100%;align-items:end;"]),q=o.div.withConfig({displayName:"styled__BlockTitleContentLeft"})(["display:flex;align-items:flex-start;gap:",";flex:1;min-width:0;"],()=>c.spacing8x),A=o.div.withConfig({displayName:"styled__BlockTitleBackButtonContainer"})(["margin-top:3px;"]),h={titleBadgeSize:"m",titleIconSize:"s"},D=t=>t==="H4"||t==="H5"?{titleBadgeSize:"s",titleIconSize:"xs"}:h,m=(t,l)=>({...l?D(t):h,buttonSize:l?"xs":"s",actionIconSize:l?"xs":"s"}),_=t=>t?"xxs":"xs",s=(t,l)=>typeof t=="function"?t(l):t,E=({title:t,titleSize:l="H2",titleTooltipProps:d,titleLeftSlot:r,titleRightSlot:k,description:B,topSlot:T,rightSlot:y,disableMediaAdaptive:f=!1,containerProps:n,onBackButtonClick:g})=>{const{down:u}=N.useBreakpoint(),p=!f&&u("xl"),a=m(l,p);return e.jsxs(S.Box,{...n,className:`${i.container} ${(n==null?void 0:n.className)??""}`,children:[e.jsx(w,{className:i.topBlock,children:s(T,a)}),e.jsxs(z,{children:[e.jsxs(q,{className:i.contentLeft,children:[g&&e.jsx(A,{className:i.backButton,children:e.jsx(b.IconButton,{size:_(p),view:"secondary",pin:"circle-circle",onClick:g,children:e.jsx(C.IconChevronLeft,{size:"xs",color:"inherit"})})}),e.jsxs(L,{children:[e.jsxs(j,{className:i.titleBlock,children:[s(r,a),e.jsx(x.TypographyWithAutoTooltip,{tooltipText:typeof t=="string"?t:void 0,variant:l,className:i.title,lines:2,tooltipProps:d,children:t}),s(k,a)]}),B&&e.jsx(v,{variant:"BodyS",className:i.description,$hasLeftSlot:!!r,children:B})]})]}),e.jsx(I,{className:i.rightBlock,children:s(y,a)})]})]})};exports.BlockTitle=E;exports.blockTitleClassNames=i;exports.getBlockTitleBackButtonSize=_;exports.getBlockTitleSlotSizes=m;exports.renderBlockTitleSlot=s;
@@ -0,0 +1,86 @@
1
+ import { jsxs as c, jsx as l } from "react/jsx-runtime";
2
+ import { Box as x } from "../components/Box/index.mjs";
3
+ import { IconButton as b } from "@salutejs/sdds-finai";
4
+ import { T as S, a as u } from "./AnalyticalWidget-BtyWKJuu.mjs";
5
+ import { IconChevronLeft as C } from "@salutejs/plasma-icons";
6
+ import { d as N } from "./utils-u1KJ37g3.mjs";
7
+ import { spacing2x as d, spacing12x as w, spacing8x as z, textSecondary as v } from "@salutejs/sdds-themes/tokens/sdds_finai";
8
+ import o from "styled-components";
9
+ const e = {
10
+ backButton: "block-title__back-button",
11
+ container: "block-title__container",
12
+ contentLeft: "block-title__content-left",
13
+ description: "block-title__description",
14
+ topBlock: "block-title__top-block",
15
+ rightBlock: "block-title__right-block",
16
+ title: "block-title__title",
17
+ titleBlock: "block-title__title-block"
18
+ }, L = o.div.withConfig({
19
+ displayName: "styled__BlockTitleContainer"
20
+ })(["display:flex;justify-content:space-between;width:100%;gap:", ";"], () => w), I = o.div.withConfig({
21
+ displayName: "styled__BlockTitleBlock"
22
+ })(["display:flex;align-items:center;gap:", ";margin-bottom:", ";"], () => d, () => d), j = o.div.withConfig({
23
+ displayName: "styled__BlockTitleCustomBlock"
24
+ })(["width:100%;margin-bottom:", ";"], () => d), D = o(S).withConfig({
25
+ displayName: "styled__BlockTitleDescription"
26
+ })(["color:", ";padding-left:", ";"], () => v, ({
27
+ $hasLeftSlot: t
28
+ }) => t ? "28px" : "0"), E = o.div.withConfig({
29
+ displayName: "styled__BlockTitleLeftBlock"
30
+ })(["display:flex;min-height:100%;flex-direction:column;justify-content:end;"]), H = o.div.withConfig({
31
+ displayName: "styled__BlockTitleRightBlock"
32
+ })(["display:flex;min-height:100%;align-items:end;"]), $ = o.div.withConfig({
33
+ displayName: "styled__BlockTitleContentLeft"
34
+ })(["display:flex;align-items:flex-start;gap:", ";flex:1;min-width:0;"], () => z), A = o.div.withConfig({
35
+ displayName: "styled__BlockTitleBackButtonContainer"
36
+ })(["margin-top:3px;"]), g = {
37
+ titleBadgeSize: "m",
38
+ titleIconSize: "s"
39
+ }, R = (t) => t === "H4" || t === "H5" ? {
40
+ titleBadgeSize: "s",
41
+ titleIconSize: "xs"
42
+ } : g, F = (t, i) => ({
43
+ ...i ? R(t) : g,
44
+ buttonSize: i ? "xs" : "s",
45
+ actionIconSize: i ? "xs" : "s"
46
+ }), O = (t) => t ? "xxs" : "xs", a = (t, i) => typeof t == "function" ? t(i) : t, Q = ({
47
+ title: t,
48
+ titleSize: i = "H2",
49
+ titleTooltipProps: k,
50
+ titleLeftSlot: r,
51
+ titleRightSlot: m,
52
+ description: p,
53
+ topSlot: h,
54
+ rightSlot: _,
55
+ disableMediaAdaptive: y = !1,
56
+ containerProps: n,
57
+ onBackButtonClick: B
58
+ }) => {
59
+ const {
60
+ down: T
61
+ } = N(), f = !y && T("xl"), s = F(i, f);
62
+ return /* @__PURE__ */ c(x, { ...n, className: `${e.container} ${(n == null ? void 0 : n.className) ?? ""}`, children: [
63
+ /* @__PURE__ */ l(j, { className: e.topBlock, children: a(h, s) }),
64
+ /* @__PURE__ */ c(L, { children: [
65
+ /* @__PURE__ */ c($, { className: e.contentLeft, children: [
66
+ B && /* @__PURE__ */ l(A, { className: e.backButton, children: /* @__PURE__ */ l(b, { size: O(f), view: "secondary", pin: "circle-circle", onClick: B, children: /* @__PURE__ */ l(C, { size: "xs", color: "inherit" }) }) }),
67
+ /* @__PURE__ */ c(E, { children: [
68
+ /* @__PURE__ */ c(I, { className: e.titleBlock, children: [
69
+ a(r, s),
70
+ /* @__PURE__ */ l(u, { tooltipText: typeof t == "string" ? t : void 0, variant: i, className: e.title, lines: 2, tooltipProps: k, children: t }),
71
+ a(m, s)
72
+ ] }),
73
+ p && /* @__PURE__ */ l(D, { variant: "BodyS", className: e.description, $hasLeftSlot: !!r, children: p })
74
+ ] })
75
+ ] }),
76
+ /* @__PURE__ */ l(H, { className: e.rightBlock, children: a(_, s) })
77
+ ] })
78
+ ] });
79
+ };
80
+ export {
81
+ Q as B,
82
+ F as a,
83
+ e as b,
84
+ O as g,
85
+ a as r
86
+ };
@@ -1,4 +1,4 @@
1
- "use strict";const n=require("react/jsx-runtime"),i=require("./utils-CUW5bd8S.cjs"),T=require("react"),u=require("../components/Box/index.cjs"),x=require("@salutejs/sdds-themes/tokens/sdds_finai"),t=require("styled-components"),a={wrapper:"container__wrapper",left:"container__wrapper_left",middle:"container__wrapper_middle",right:"container__wrapper_right"},m={MIN_COL_WIDTH:"360px",GAP:"24px",FIXED_WIDTH:"360px",MIN_FIXED_WIDTH:"240px"},f=e=>{switch(e){case"30/70":return t.css(["grid-template-columns:minmax(var(--container-min-col-width),30%) minmax(0,1fr);"]);case"20/80":return t.css(["grid-template-columns:minmax(var(--container-min-col-width),20%) minmax(0,1fr);"]);case"70/30":return t.css(["grid-template-columns:minmax(0,1fr) minmax(var(--container-min-col-width),30%);"]);case"80/20":return t.css(["grid-template-columns:minmax(0,1fr) minmax(var(--container-min-col-width),20%);"]);case"1/1":return t.css(["grid-template-columns:minmax(0,1fr) minmax(0,1fr);",""],i.media.down("xl")`
1
+ "use strict";const n=require("react/jsx-runtime"),i=require("./utils-ChDQGRjv.cjs"),T=require("react"),u=require("../components/Box/index.cjs"),x=require("@salutejs/sdds-themes/tokens/sdds_finai"),t=require("styled-components"),a={wrapper:"container__wrapper",left:"container__wrapper_left",middle:"container__wrapper_middle",right:"container__wrapper_right"},m={MIN_COL_WIDTH:"360px",GAP:"24px",FIXED_WIDTH:"360px",MIN_FIXED_WIDTH:"240px"},f=e=>{switch(e){case"30/70":return t.css(["grid-template-columns:minmax(var(--container-min-col-width),30%) minmax(0,1fr);"]);case"20/80":return t.css(["grid-template-columns:minmax(var(--container-min-col-width),20%) minmax(0,1fr);"]);case"70/30":return t.css(["grid-template-columns:minmax(0,1fr) minmax(var(--container-min-col-width),30%);"]);case"80/20":return t.css(["grid-template-columns:minmax(0,1fr) minmax(var(--container-min-col-width),20%);"]);case"1/1":return t.css(["grid-template-columns:minmax(0,1fr) minmax(0,1fr);",""],i.media.down("xl")`
2
2
  grid-template-columns: minmax(0, 1fr)
3
3
  `);case"1/1/1":return t.css(["grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);",""],i.media.down("xl")`
4
4
  grid-template-columns: minmax(0, 1fr)
@@ -1,5 +1,5 @@
1
1
  import { jsx as s, jsxs as D } from "react/jsx-runtime";
2
- import { b as n, r as T } from "./utils-YKicAHp0.mjs";
2
+ import { b as n, r as T } from "./utils-u1KJ37g3.mjs";
3
3
  import A from "react";
4
4
  import { Box as x } from "../components/Box/index.mjs";
5
5
  import { borderRadiusM as h } from "@salutejs/sdds-themes/tokens/sdds_finai";