@daisforge/ui 1.17.0 → 1.19.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 (409) hide show
  1. package/chunks/{AnalyticalWidget-BWcBjoNh.mjs → AnalyticalWidget-Cdo6_s1Y.mjs} +165 -163
  2. package/chunks/AnalyticalWidget-wke3Jm3X.cjs +43 -0
  3. package/chunks/{ApprovalCenter-CGs7n-2C.cjs → ApprovalCenter-CAcC43zn.cjs} +1 -1
  4. package/chunks/{ApprovalCenter-BqN8Zjol.mjs → ApprovalCenter-DxcvzR8q.mjs} +1 -1
  5. package/chunks/{BlockTitle-o2QTRA7D.cjs → BlockTitle-BEIxiECX.cjs} +1 -1
  6. package/chunks/{BlockTitle-BM2EE1b1.mjs → BlockTitle-BZxOEdTc.mjs} +1 -1
  7. 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
  8. 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
  9. package/chunks/{FiltersActions-CKimtYsU.cjs → FiltersActions-BKJJH6Mu.cjs} +1 -1
  10. package/chunks/{FiltersActions-C5OGUDDx.mjs → FiltersActions-CFStLRsU.mjs} +3 -3
  11. package/chunks/{GridDND-DkL6-TgS.cjs → GridDND-DV-1g1sI.cjs} +1 -1
  12. package/chunks/{GridDND-D9T2wqLt.mjs → GridDND-UMUi8M_Q.mjs} +1 -1
  13. package/chunks/{ListOfFilters-B8XF6KiI.cjs → ListOfFilters-DJvnT9kw.cjs} +1 -1
  14. package/chunks/{ListOfFilters-BEDW_v5t.mjs → ListOfFilters-DTAZ3wfQ.mjs} +2 -2
  15. package/chunks/{MassActions-C66ulAuq.mjs → MassActions-DSAaO1-u.mjs} +2 -2
  16. package/chunks/{MassActions-BHNmuh3s.cjs → MassActions-Z-48g81T.cjs} +1 -1
  17. package/chunks/{PageTitle-BEdQpyZh.cjs → PageTitle-Bh3g6FUT.cjs} +1 -1
  18. package/chunks/{PageTitle-BVbWaV52.mjs → PageTitle-CaqXfrrQ.mjs} +1 -1
  19. package/chunks/{Stories-DVh7iByM.cjs → Stories-CZXv_Ves.cjs} +1 -1
  20. package/chunks/{Stories-lNAuXVJN.mjs → Stories-Dlwle-SM.mjs} +1 -1
  21. package/chunks/{Table-C_1QGsh8.mjs → Table-B9OAyWAW.mjs} +4 -4
  22. package/chunks/{Table-C-lLZklk.cjs → Table-BwhzcFX1.cjs} +1 -1
  23. package/chunks/{TableCanvas--g37wjRi.mjs → TableCanvas-DkZAx-r9.mjs} +6104 -5386
  24. package/chunks/TableCanvas-QmXGAjPk.cjs +30 -0
  25. package/chunks/TableGlide-Bngn5_5l.cjs +1 -0
  26. package/chunks/{TableGlide-Cjcw7Wur.mjs → TableGlide-CkorJrl9.mjs} +2124 -1956
  27. package/chunks/styles-AUqEaroI.cjs +2 -0
  28. package/chunks/styles-C-1Srtr7.mjs +132 -0
  29. package/chunks/{vendor-BzEO8Fvp.cjs → vendor-BSEdLAmZ.cjs} +1049 -1309
  30. package/chunks/{vendor-DBRfVjyT.mjs → vendor-CA3z7N_7.mjs} +1053 -1313
  31. package/components/AiAgentPopover/AiAgentPopover.styled.d.ts +1 -0
  32. package/components/AnalyticalWidget/AnalyticalWidget.d.ts +5 -3
  33. package/components/AnalyticalWidget/components/AnalyticalWidgetButtons/AnalyticalWidgetIconButtonDots.d.ts +69 -11
  34. package/components/AnalyticalWidget/components/AnalyticalWidgetButtons/index.cjs +1 -1
  35. package/components/AnalyticalWidget/components/AnalyticalWidgetButtons/index.mjs +1 -1
  36. package/components/AnalyticalWidget/components/AnalyticalWidgetChips/index.cjs +1 -1
  37. package/components/AnalyticalWidget/components/AnalyticalWidgetChips/index.mjs +1 -1
  38. package/components/AnalyticalWidget/components/AnalyticalWidgetHeader/index.cjs +1 -1
  39. package/components/AnalyticalWidget/components/AnalyticalWidgetHeader/index.mjs +1 -1
  40. package/components/AnalyticalWidget/index.cjs +1 -1
  41. package/components/AnalyticalWidget/index.mjs +1 -1
  42. package/components/ApprovalCenter/components/index.cjs +1 -1
  43. package/components/ApprovalCenter/components/index.mjs +1 -1
  44. package/components/ApprovalCenter/index.cjs +1 -1
  45. package/components/ApprovalCenter/index.mjs +1 -1
  46. package/components/ApprovalCenter/styled.d.ts +1 -0
  47. package/components/AutocompleteSearch/index.cjs +1 -1
  48. package/components/AutocompleteSearch/index.mjs +1 -1
  49. package/components/BlockTitle/index.cjs +1 -1
  50. package/components/BlockTitle/index.mjs +1 -1
  51. package/components/BlockTitle/utils/index.cjs +1 -1
  52. package/components/BlockTitle/utils/index.mjs +1 -1
  53. package/components/Combobox/index.cjs +1 -1
  54. package/components/Combobox/index.mjs +1 -1
  55. package/components/DrawerDF/components/styled.d.ts +1 -0
  56. package/components/GridDND/index.cjs +1 -1
  57. package/components/GridDND/index.mjs +1 -1
  58. package/components/GridDND/utils/index.cjs +1 -1
  59. package/components/GridDND/utils/index.mjs +1 -1
  60. package/components/LeftPanel/styled.d.ts +1 -0
  61. package/components/ListOfFilters/index.cjs +1 -1
  62. package/components/ListOfFilters/index.mjs +1 -1
  63. package/components/MassActions/hooks/index.cjs +1 -1
  64. package/components/MassActions/hooks/index.mjs +1 -1
  65. package/components/MassActions/index.cjs +1 -1
  66. package/components/MassActions/index.mjs +1 -1
  67. package/components/MassActions/styled.d.ts +7 -2
  68. package/components/Notification/index.cjs +1 -1
  69. package/components/Notification/index.mjs +1 -1
  70. package/components/NumberFormat/NumberFormat.d.ts +48 -0
  71. package/components/NumberFormatAmount/NumberFormatAmount.styled.d.ts +48 -0
  72. package/components/PageTitle/index.cjs +1 -1
  73. package/components/PageTitle/index.mjs +1 -1
  74. package/components/PageTitle/utils/index.cjs +1 -1
  75. package/components/PageTitle/utils/index.mjs +1 -1
  76. package/components/PopoverDF/index.cjs +1 -1
  77. package/components/PopoverDF/index.mjs +1 -1
  78. package/components/PopupDF/index.cjs +1 -1
  79. package/components/PopupDF/index.d.ts +1 -1
  80. package/components/PopupDF/index.mjs +108 -94
  81. package/components/PopupDF/types.d.ts +1 -1
  82. package/components/Stories/components/StoriesBanner/index.cjs +1 -1
  83. package/components/Stories/components/StoriesBanner/index.mjs +1 -1
  84. package/components/Stories/components/StoriesContent/index.cjs +1 -1
  85. package/components/Stories/components/StoriesContent/index.mjs +1 -1
  86. package/components/Stories/components/StoriesPreview/index.cjs +1 -1
  87. package/components/Stories/components/StoriesPreview/index.mjs +1 -1
  88. package/components/Stories/components/StoriesProgress/index.cjs +1 -1
  89. package/components/Stories/components/StoriesProgress/index.mjs +1 -1
  90. package/components/Stories/components/StoriesViewer/index.cjs +1 -1
  91. package/components/Stories/components/StoriesViewer/index.mjs +1 -1
  92. package/components/Stories/index.cjs +1 -1
  93. package/components/Stories/index.mjs +1 -1
  94. package/components/Table/components/TableDropdown/index.cjs +1 -1
  95. package/components/Table/components/TableDropdown/index.mjs +1 -1
  96. package/components/Table/feature-collapse-table/CollapseTableButton.d.ts +2 -0
  97. package/components/Table/feature-collapse-table/index.cjs +1 -1
  98. package/components/Table/feature-collapse-table/index.mjs +1 -1
  99. package/components/Table/feature-column-control/ColumnsList/index.cjs +1 -1
  100. package/components/Table/feature-column-control/ColumnsList/index.mjs +1 -1
  101. package/components/Table/feature-column-control/index.cjs +1 -1
  102. package/components/Table/feature-column-control/index.mjs +1 -1
  103. package/components/Table/feature-column-control/styled.d.ts +1 -0
  104. package/components/Table/feature-columns-grouping/index.cjs +1 -1
  105. package/components/Table/feature-columns-grouping/index.mjs +1 -1
  106. package/components/Table/feature-context-menu/index.cjs +1 -1
  107. package/components/Table/feature-context-menu/index.mjs +1 -1
  108. package/components/Table/feature-edit/index.cjs +1 -1
  109. package/components/Table/feature-edit/index.mjs +1 -1
  110. package/components/Table/feature-edit/textEditor.styled.d.ts +48 -0
  111. package/components/Table/feature-filtering/combobox/index.cjs +1 -1
  112. package/components/Table/feature-filtering/combobox/index.mjs +1 -1
  113. package/components/Table/feature-filtering/filter-list-block/index.cjs +1 -1
  114. package/components/Table/feature-filtering/filter-list-block/index.mjs +1 -1
  115. package/components/Table/feature-filtering/header-filter-button/index.cjs +1 -1
  116. package/components/Table/feature-filtering/header-filter-button/index.mjs +1 -1
  117. package/components/Table/feature-filtering/header-filter-button/styles.d.ts +1 -0
  118. package/components/Table/feature-filtering/index.cjs +1 -1
  119. package/components/Table/feature-filtering/index.mjs +1 -1
  120. package/components/Table/feature-filtering/sidebar-filter-block/index.cjs +1 -1
  121. package/components/Table/feature-filtering/sidebar-filter-block/index.mjs +1 -1
  122. package/components/Table/feature-infinity-scroll/index.cjs +1 -1
  123. package/components/Table/feature-infinity-scroll/index.mjs +1 -1
  124. package/components/Table/feature-key-text/index.cjs +1 -1
  125. package/components/Table/feature-key-text/index.mjs +1 -1
  126. package/components/Table/feature-pagination/index.cjs +1 -1
  127. package/components/Table/feature-pagination/index.mjs +1 -1
  128. package/components/Table/feature-right-sidebar/index.cjs +1 -1
  129. package/components/Table/feature-right-sidebar/index.mjs +1 -1
  130. package/components/Table/feature-row-detail/handlers.d.ts +1 -0
  131. package/components/Table/feature-row-detail/index.cjs +1 -1
  132. package/components/Table/feature-row-detail/index.mjs +1 -1
  133. package/components/Table/feature-row-instruments/index.cjs +1 -1
  134. package/components/Table/feature-row-instruments/index.mjs +1 -1
  135. package/components/Table/feature-row-size/index.cjs +1 -1
  136. package/components/Table/feature-row-size/index.mjs +1 -1
  137. package/components/Table/feature-rows-grouping/index.cjs +1 -1
  138. package/components/Table/feature-rows-grouping/index.mjs +1 -1
  139. package/components/Table/feature-searching/index.cjs +1 -1
  140. package/components/Table/feature-searching/index.mjs +1 -1
  141. package/components/Table/feature-searching/styled.d.ts +1 -0
  142. package/components/Table/feature-select-row/index.cjs +1 -1
  143. package/components/Table/feature-select-row/index.mjs +1 -1
  144. package/components/Table/feature-sorting/index.cjs +1 -1
  145. package/components/Table/feature-sorting/index.mjs +1 -1
  146. package/components/Table/feature-sorting/styles.d.ts +1 -0
  147. package/components/Table/feature-table-settings/index.cjs +1 -1
  148. package/components/Table/feature-table-settings/index.mjs +1 -1
  149. package/components/Table/feature-tree/index.cjs +1 -1
  150. package/components/Table/feature-tree/index.mjs +1 -1
  151. package/components/Table/index.cjs +1 -1
  152. package/components/Table/index.mjs +1 -1
  153. package/components/Table/renders/formatCell/index.cjs +1 -1
  154. package/components/Table/renders/formatCell/index.mjs +1 -1
  155. package/components/Table/styles/index.cjs +1 -1
  156. package/components/Table/styles/index.mjs +1 -1
  157. package/components/Table/table-hooks/index.cjs +1 -1
  158. package/components/Table/table-hooks/index.mjs +1 -1
  159. package/components/Table/types/index.cjs +1 -1
  160. package/components/Table/types/index.mjs +1 -1
  161. package/components/Table/utils/index.cjs +1 -1
  162. package/components/Table/utils/index.mjs +1 -1
  163. package/components/Table/widgets/control-block/control-block-button.d.ts +3 -2
  164. package/components/Table/widgets/control-block/index.cjs +1 -1
  165. package/components/Table/widgets/control-block/index.mjs +1 -1
  166. package/components/Table/widgets/control-block/right-side/index.cjs +1 -1
  167. package/components/Table/widgets/control-block/right-side/index.mjs +1 -1
  168. package/components/Table/widgets/index.cjs +1 -1
  169. package/components/Table/widgets/index.mjs +1 -1
  170. package/components/Table/widgets/mass-actions/index.cjs +1 -1
  171. package/components/Table/widgets/mass-actions/index.mjs +1 -1
  172. package/components/TableCanvas/TableGlideInstance/adapters/column/index.cjs +1 -1
  173. package/components/TableCanvas/TableGlideInstance/adapters/column/index.mjs +1 -1
  174. package/components/TableCanvas/TableGlideInstance/adapters/index.cjs +1 -1
  175. package/components/TableCanvas/TableGlideInstance/adapters/index.mjs +1 -1
  176. package/components/TableCanvas/TableGlideInstance/index.cjs +1 -1
  177. package/components/TableCanvas/TableGlideInstance/index.mjs +2 -2
  178. package/components/TableCanvas/TableGlideInstance/type.d.ts +3 -1
  179. package/components/TableCanvas/TableGlideInstance/utils/column/index.cjs +1 -1
  180. package/components/TableCanvas/TableGlideInstance/utils/column/index.mjs +1 -1
  181. package/components/TableCanvas/TableGlideInstance/utils/index.cjs +1 -1
  182. package/components/TableCanvas/TableGlideInstance/utils/index.mjs +1 -1
  183. package/components/TableCanvas/components/SplitIconButton/index.cjs +1 -1
  184. package/components/TableCanvas/components/SplitIconButton/index.mjs +1 -1
  185. package/components/TableCanvas/components/TableDropdown/index.cjs +1 -1
  186. package/components/TableCanvas/components/TableDropdown/index.mjs +1 -1
  187. package/components/TableCanvas/feature-cell-transfer/index.cjs +1 -1
  188. package/components/TableCanvas/feature-cell-transfer/index.mjs +1 -1
  189. package/components/TableCanvas/feature-cell-transfer/types.d.ts +1 -1
  190. package/components/TableCanvas/feature-cell-transfer/utils/applyBlockEdit.d.ts +12 -0
  191. package/components/TableCanvas/feature-cell-transfer/utils/applyValuesToRows.d.ts +2 -1
  192. package/components/TableCanvas/feature-cell-transfer/utils/collectMatrixFromTargets.d.ts +1 -0
  193. package/components/TableCanvas/feature-cell-transfer/utils/collectTextMatrix.d.ts +1 -0
  194. package/components/TableCanvas/feature-cell-transfer/utils/resolveBlockOrigin.d.ts +13 -0
  195. package/components/TableCanvas/feature-cell-transfer/utils/snapDestToRowBlocks.d.ts +4 -0
  196. package/components/TableCanvas/feature-collapse-table/CollapseTableButton.d.ts +3 -2
  197. package/components/TableCanvas/feature-collapse-table/index.cjs +1 -1
  198. package/components/TableCanvas/feature-collapse-table/index.mjs +1 -1
  199. package/components/TableCanvas/feature-column-control/ColumnsList/index.cjs +1 -1
  200. package/components/TableCanvas/feature-column-control/ColumnsList/index.mjs +1 -1
  201. package/components/TableCanvas/feature-column-control/columnsRenderOrder.d.ts +1 -0
  202. package/components/TableCanvas/feature-column-control/groupDepth.d.ts +14 -0
  203. package/components/TableCanvas/feature-column-control/hiddenBoundaries.d.ts +4 -0
  204. package/components/TableCanvas/feature-column-control/index.cjs +1 -1
  205. package/components/TableCanvas/feature-column-control/index.d.ts +2 -0
  206. package/components/TableCanvas/feature-column-control/index.mjs +4 -2
  207. package/components/TableCanvas/feature-column-control/styled.d.ts +1 -0
  208. package/components/TableCanvas/feature-column-control/types.d.ts +10 -0
  209. package/components/TableCanvas/feature-column-control/useHiddenColumnsIndicator.d.ts +19 -0
  210. package/components/TableCanvas/feature-columns-grouping/index.cjs +1 -1
  211. package/components/TableCanvas/feature-columns-grouping/index.mjs +1 -1
  212. package/components/TableCanvas/feature-columns-grouping/useLastLvlColumnConfig.d.ts +5 -1
  213. package/components/TableCanvas/feature-content-state/index.cjs +1 -1
  214. package/components/TableCanvas/feature-content-state/index.mjs +1 -1
  215. package/components/TableCanvas/feature-context-menu/index.cjs +1 -1
  216. package/components/TableCanvas/feature-context-menu/index.mjs +1 -1
  217. package/components/TableCanvas/feature-edit/index.cjs +1 -1
  218. package/components/TableCanvas/feature-edit/index.mjs +3 -3
  219. package/components/TableCanvas/feature-filtering/combobox/index.cjs +1 -1
  220. package/components/TableCanvas/feature-filtering/combobox/index.mjs +2 -2
  221. package/components/TableCanvas/feature-filtering/filter-list-block/index.cjs +1 -1
  222. package/components/TableCanvas/feature-filtering/filter-list-block/index.mjs +2 -2
  223. package/components/TableCanvas/feature-filtering/header-filter-button/index.cjs +1 -1
  224. package/components/TableCanvas/feature-filtering/header-filter-button/index.mjs +1 -1
  225. package/components/TableCanvas/feature-filtering/header-filter-button/styles.d.ts +1 -0
  226. package/components/TableCanvas/feature-filtering/index.cjs +1 -1
  227. package/components/TableCanvas/feature-filtering/index.mjs +3 -3
  228. package/components/TableCanvas/feature-filtering/sidebar-filter-block/index.cjs +1 -1
  229. package/components/TableCanvas/feature-filtering/sidebar-filter-block/index.mjs +1 -1
  230. package/components/TableCanvas/feature-infinity-scroll/index.cjs +1 -1
  231. package/components/TableCanvas/feature-infinity-scroll/index.mjs +3 -3
  232. package/components/TableCanvas/feature-key-text/index.cjs +1 -1
  233. package/components/TableCanvas/feature-key-text/index.mjs +1 -1
  234. package/components/TableCanvas/feature-notifications/index.cjs +1 -1
  235. package/components/TableCanvas/feature-notifications/index.mjs +1 -1
  236. package/components/TableCanvas/feature-pagination/index.cjs +1 -1
  237. package/components/TableCanvas/feature-pagination/index.mjs +1 -1
  238. package/components/TableCanvas/feature-popover-table/context/index.cjs +1 -1
  239. package/components/TableCanvas/feature-popover-table/context/index.mjs +1 -1
  240. package/components/TableCanvas/feature-popover-table/hooks/index.cjs +1 -1
  241. package/components/TableCanvas/feature-popover-table/hooks/index.mjs +1 -1
  242. package/components/TableCanvas/feature-popover-table/index.cjs +1 -1
  243. package/components/TableCanvas/feature-popover-table/index.mjs +4 -4
  244. package/components/TableCanvas/feature-popover-table/utils/index.cjs +1 -1
  245. package/components/TableCanvas/feature-popover-table/utils/index.mjs +1 -1
  246. package/components/TableCanvas/feature-right-sidebar/index.cjs +1 -1
  247. package/components/TableCanvas/feature-right-sidebar/index.mjs +1 -1
  248. package/components/TableCanvas/feature-row-detail/handlers.d.ts +1 -0
  249. package/components/TableCanvas/feature-row-detail/index.cjs +1 -1
  250. package/components/TableCanvas/feature-row-detail/index.mjs +1 -1
  251. package/components/TableCanvas/feature-row-instruments/index.cjs +1 -1
  252. package/components/TableCanvas/feature-row-instruments/index.mjs +1 -1
  253. package/components/TableCanvas/feature-row-markers/index.cjs +1 -1
  254. package/components/TableCanvas/feature-row-markers/index.mjs +1 -1
  255. package/components/TableCanvas/feature-row-size/index.cjs +1 -1
  256. package/components/TableCanvas/feature-row-size/index.mjs +1 -1
  257. package/components/TableCanvas/feature-rows-grouping/getColsAfterRowsGrouping.d.ts +2 -1
  258. package/components/TableCanvas/feature-rows-grouping/index.cjs +1 -1
  259. package/components/TableCanvas/feature-rows-grouping/index.mjs +1 -1
  260. package/components/TableCanvas/feature-rows-grouping/mergedView.d.ts +14 -0
  261. package/components/TableCanvas/feature-rows-grouping/types.d.ts +4 -0
  262. package/components/TableCanvas/feature-searching/index.cjs +1 -1
  263. package/components/TableCanvas/feature-searching/index.mjs +1 -1
  264. package/components/TableCanvas/feature-searching/styled.d.ts +1 -0
  265. package/components/TableCanvas/feature-select-row/index.cjs +1 -1
  266. package/components/TableCanvas/feature-select-row/index.mjs +1 -1
  267. package/components/TableCanvas/feature-sorting/index.cjs +1 -1
  268. package/components/TableCanvas/feature-sorting/index.mjs +1 -1
  269. package/components/TableCanvas/feature-sorting/styles.d.ts +1 -0
  270. package/components/TableCanvas/feature-table-settings/index.cjs +1 -1
  271. package/components/TableCanvas/feature-table-settings/index.mjs +1 -1
  272. package/components/TableCanvas/feature-tooltip/constants.d.ts +1 -0
  273. package/components/TableCanvas/feature-tooltip/index.cjs +1 -1
  274. package/components/TableCanvas/feature-tooltip/index.mjs +1 -1
  275. package/components/TableCanvas/feature-tooltip/types.d.ts +2 -0
  276. package/components/TableCanvas/feature-tooltip/utils/index.cjs +1 -1
  277. package/components/TableCanvas/feature-tooltip/utils/index.mjs +4 -4
  278. package/components/TableCanvas/feature-tree/index.cjs +1 -1
  279. package/components/TableCanvas/feature-tree/index.mjs +1 -1
  280. package/components/TableCanvas/feature-tree/mergedSubRows.d.ts +5 -0
  281. package/components/TableCanvas/feature-tree/tree-disclosure-icons.d.ts +65 -0
  282. package/components/TableCanvas/feature-tree/types.d.ts +2 -0
  283. package/components/TableCanvas/index.cjs +1 -1
  284. package/components/TableCanvas/index.mjs +18 -18
  285. package/components/TableCanvas/renders/formatCell/index.cjs +1 -1
  286. package/components/TableCanvas/renders/formatCell/index.mjs +1 -1
  287. package/components/TableCanvas/renders/rowIconConfig.d.ts +6 -5
  288. package/components/TableCanvas/renders/styleConstants.d.ts +3 -1
  289. package/components/TableCanvas/renders/styled.d.ts +0 -1
  290. package/components/TableCanvas/renders/withSelectIcon.d.ts +3 -1
  291. package/components/TableCanvas/styles/index.cjs +1 -1
  292. package/components/TableCanvas/styles/index.mjs +1 -1
  293. package/components/TableCanvas/table-hooks/createMergeByValueRowSpan.d.ts +7 -0
  294. package/components/TableCanvas/table-hooks/createMergedRegionsResolver.d.ts +21 -0
  295. package/components/TableCanvas/table-hooks/index.cjs +1 -1
  296. package/components/TableCanvas/table-hooks/index.mjs +3 -3
  297. package/components/TableCanvas/table-hooks/resolveMergedView.d.ts +7 -0
  298. package/components/TableCanvas/table-hooks/useColumns.d.ts +1 -0
  299. package/components/TableCanvas/table-hooks/usePrepareTableConfig.d.ts +4 -1
  300. package/components/TableCanvas/types/column-config-internal.type.d.ts +4 -1
  301. package/components/TableCanvas/types/column-config.type.d.ts +2 -0
  302. package/components/TableCanvas/types/ctxs.type.d.ts +2 -0
  303. package/components/TableCanvas/types/glide-type.d.ts +1 -1
  304. package/components/TableCanvas/types/index.cjs +1 -1
  305. package/components/TableCanvas/types/index.d.ts +1 -0
  306. package/components/TableCanvas/types/index.mjs +1 -1
  307. package/components/TableCanvas/types/merged-cells.type.d.ts +4 -0
  308. package/components/TableCanvas/types/table-config.type.d.ts +17 -0
  309. package/components/TableCanvas/utils/index.cjs +1 -1
  310. package/components/TableCanvas/utils/index.mjs +1 -1
  311. package/components/TableCanvas/widgets/control-block/compression/index.cjs +1 -1
  312. package/components/TableCanvas/widgets/control-block/compression/index.mjs +1 -1
  313. package/components/TableCanvas/widgets/control-block/control-block-button.d.ts +3 -2
  314. package/components/TableCanvas/widgets/control-block/index.cjs +1 -1
  315. package/components/TableCanvas/widgets/control-block/index.mjs +3 -3
  316. package/components/TableCanvas/widgets/control-block/right-side/index.cjs +1 -1
  317. package/components/TableCanvas/widgets/control-block/right-side/index.mjs +1 -1
  318. package/components/TableCanvas/widgets/index.cjs +1 -1
  319. package/components/TableCanvas/widgets/index.mjs +1 -1
  320. package/components/TableCanvas/widgets/mass-actions/hooks/index.cjs +1 -1
  321. package/components/TableCanvas/widgets/mass-actions/hooks/index.mjs +1 -1
  322. package/components/TableCanvas/widgets/mass-actions/index.cjs +1 -1
  323. package/components/TableCanvas/widgets/mass-actions/index.mjs +1 -1
  324. package/components/TableCanvas/widgets/mass-actions/styled.d.ts +10 -4
  325. package/components/TableCanvasSharedConstants/index.cjs +1 -1
  326. package/components/TableCanvasSharedConstants/index.d.ts +1 -0
  327. package/components/TableCanvasSharedConstants/index.mjs +4 -3
  328. package/components/TableContract/index.cjs +1 -1
  329. package/components/TableContract/index.mjs +1 -1
  330. package/components/TableGlide/TableGlide.d.ts +1 -1
  331. package/components/TableGlide/constants.d.ts +1 -1
  332. package/components/TableGlide/hooks/selection/index.cjs +1 -1
  333. package/components/TableGlide/hooks/selection/index.mjs +1 -1
  334. package/components/TableGlide/hooks/useErrorCellRanges.d.ts +14 -0
  335. package/components/TableGlide/hooks/useItemHoveredHandler.d.ts +4 -1
  336. package/components/TableGlide/index.cjs +1 -1
  337. package/components/TableGlide/index.mjs +13 -13
  338. package/components/TableGlide/lib/canvas/cells/buttons/index.cjs +1 -1
  339. package/components/TableGlide/lib/canvas/cells/buttons/index.mjs +1 -1
  340. package/components/TableGlide/lib/canvas/cells/iconSprites/index.cjs +1 -1
  341. package/components/TableGlide/lib/canvas/cells/iconSprites/index.mjs +1 -1
  342. package/components/TableGlide/lib/canvas/cells/index.cjs +1 -1
  343. package/components/TableGlide/lib/canvas/cells/index.mjs +1 -1
  344. package/components/TableGlide/lib/canvas/cells/renderer/index.cjs +1 -1
  345. package/components/TableGlide/lib/canvas/cells/renderer/index.mjs +1 -1
  346. package/components/TableGlide/lib/canvas/components/index.d.ts +1 -0
  347. package/components/TableGlide/lib/canvas/core/helpers/index.cjs +1 -1
  348. package/components/TableGlide/lib/canvas/core/helpers/index.mjs +1 -1
  349. package/components/TableGlide/lib/canvas/core/index.cjs +1 -1
  350. package/components/TableGlide/lib/canvas/core/index.mjs +1 -1
  351. package/components/TableGlide/lib/canvas/hooks/index.cjs +1 -1
  352. package/components/TableGlide/lib/canvas/hooks/index.mjs +1 -1
  353. package/components/TableGlide/lib/canvas/index.cjs +1 -1
  354. package/components/TableGlide/lib/canvas/index.mjs +22 -22
  355. package/components/TableGlide/lib/canvas/miniflex/index.cjs +1 -1
  356. package/components/TableGlide/lib/canvas/miniflex/index.mjs +1 -1
  357. package/components/TableGlide/lib/canvas/primitives/CanvasEmbedIconButton.d.ts +2 -0
  358. package/components/TableGlide/lib/canvas/primitives/index.cjs +1 -1
  359. package/components/TableGlide/lib/canvas/primitives/index.mjs +1 -1
  360. package/components/TableGlide/lib/canvas/utils/index.cjs +1 -1
  361. package/components/TableGlide/lib/canvas/utils/index.mjs +2 -2
  362. package/components/TableGlide/lib/canvas/utils/portalHoverEvents.d.ts +1 -0
  363. package/components/TableGlide/theming/glide-colors.d.ts +1 -0
  364. package/components/TableGlide/theming/index.cjs +1 -1
  365. package/components/TableGlide/theming/index.mjs +1 -1
  366. package/components/TableGlide/theming/size-tokens.d.ts +1 -1
  367. package/components/TableGlide/theming/sizes.d.ts +2 -2
  368. package/components/TableGlide/types.d.ts +10 -0
  369. package/components/TableGlide/utils/findBlockOrigin.d.ts +5 -0
  370. package/components/TableGlide/utils/getRowSpan.d.ts +6 -0
  371. package/components/Tooltip/index.cjs +1 -1
  372. package/components/Tooltip/index.mjs +1 -1
  373. package/components/TourWidget/index.cjs +2 -2
  374. package/components/TourWidget/index.mjs +3 -3
  375. package/components/Typography/index.cjs +1 -1
  376. package/components/Typography/index.mjs +1 -1
  377. package/components/Widget/Widget.d.ts +1 -0
  378. package/components/Widget/components/WidgetIconButtonDots.d.ts +1 -0
  379. package/components/Widget/index.cjs +1 -1
  380. package/components/Widget/index.mjs +1 -1
  381. package/formComponents/FormCombobox/index.cjs +1 -1
  382. package/formComponents/FormCombobox/index.mjs +1 -1
  383. package/formComponents/FormDatePickers/FormDatePickerRange/ui/FormDatePickerRangeStyled.d.ts +2 -0
  384. package/formComponents/FormSwitch/index.cjs +1 -1
  385. package/formComponents/FormSwitch/index.mjs +1 -1
  386. package/formComponents/FormTextArea/ui/ButtonStyled.d.ts +1 -0
  387. package/formComponents/FormTextField/ui/IconButtonStyled.d.ts +1 -0
  388. package/index.cjs +1 -1
  389. package/index.mjs +14 -14
  390. package/layouts/FiltersActions/FiltersActions.d.ts +15 -6
  391. package/layouts/FiltersActions/components/FiltersButton.d.ts +4 -0
  392. package/layouts/FiltersActions/components/ResetAllFiltersButton.d.ts +6 -4
  393. package/layouts/FiltersActions/components/Tabs.d.ts +4 -2
  394. package/layouts/FiltersActions/hooks/index.cjs +1 -1
  395. package/layouts/FiltersActions/hooks/index.mjs +1 -1
  396. package/layouts/FiltersActions/index.cjs +1 -1
  397. package/layouts/FiltersActions/index.mjs +1 -1
  398. package/mcp-data/component-index.json +713 -159
  399. package/package.json +10 -9
  400. package/shared/ui/Search/styled.d.ts +1 -0
  401. package/styles/index.cjs +1 -1
  402. package/styles/index.mjs +1 -1
  403. package/themes/index.cjs +1 -1
  404. package/themes/index.mjs +2 -2
  405. package/chunks/AnalyticalWidget-z2HzQ4aA.cjs +0 -43
  406. package/chunks/TableCanvas-uzBMXlx6.cjs +0 -30
  407. package/chunks/TableGlide-DTBZ1jNA.cjs +0 -1
  408. package/chunks/styles-BBVEBDDw.mjs +0 -132
  409. package/chunks/styles-C-pJNMSQ.cjs +0 -2
@@ -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-z2HzQ4aA.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-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;
@@ -4,7 +4,7 @@ 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-BWcBjoNh.mjs";
7
+ import { T as f } from "./AnalyticalWidget-Cdo6_s1Y.mjs";
8
8
  import { E as lt } from "./EmptyState-B205JfZA.mjs";
9
9
  const at = {
10
10
  DEFAULT: /* @__PURE__ */ t(u, { size: "xs", color: Y }),
@@ -1 +1 @@
1
- "use strict";const e=require("react/jsx-runtime"),u=require("../components/Box/index.cjs"),S=require("@salutejs/sdds-finai"),x=require("./AnalyticalWidget-z2HzQ4aA.cjs"),b=require("@salutejs/plasma-icons"),C=require("./utils-CUW5bd8S.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"},N=o.div.withConfig({displayName:"styled__BlockTitleContainer"})(["display:flex;justify-content:space-between;width:100%;gap:",";"],()=>c.spacing12x),z=o.div.withConfig({displayName:"styled__BlockTitleBlock"})(["display:flex;align-items:center;gap:",";margin-bottom:",";"],()=>c.spacing2x,()=>c.spacing2x),j=o.div.withConfig({displayName:"styled__BlockTitleCustomBlock"})(["width:100%;margin-bottom:",";"],()=>c.spacing2x),w=o(x.Typography).withConfig({displayName:"styled__BlockTitleDescription"})(["color:",";padding-left:",";"],()=>c.textSecondary,({$hasLeftSlot:t})=>t?"28px":"0"),v=o.div.withConfig({displayName:"styled__BlockTitleLeftBlock"})(["display:flex;min-height:100%;flex-direction:column;justify-content:end;"]),L=o.div.withConfig({displayName:"styled__BlockTitleRightBlock"})(["display:flex;min-height:100%;align-items:end;"]),I=o.div.withConfig({displayName:"styled__BlockTitleContentLeft"})(["display:flex;align-items:flex-start;gap:",";flex:1;min-width:0;"],()=>c.spacing8x),q=o.div.withConfig({displayName:"styled__BlockTitleBackButtonContainer"})(["margin-top:3px;"]),p={titleBadgeSize:"m",titleIconSize:"s"},A=t=>t==="H4"||t==="H5"?{titleBadgeSize:"s",titleIconSize:"xs"}:p,h=(t,l)=>({...l?A(t):p,buttonSize:l?"xs":"s",actionIconSize:l?"xs":"s"}),m=t=>t?"xxs":"xs",s=(t,l)=>typeof t=="function"?t(l):t,D=({title:t,titleSize:l="H2",titleLeftSlot:d,titleRightSlot:k,description:r,topSlot:_,rightSlot:T,disableMediaAdaptive:y=!1,containerProps:n,onBackButtonClick:B})=>{const{down:f}=C.useBreakpoint(),g=!y&&f("xl"),a=h(l,g);return e.jsxs(u.Box,{...n,className:`${i.container} ${(n==null?void 0:n.className)??""}`,children:[e.jsx(j,{className:i.topBlock,children:s(_,a)}),e.jsxs(N,{children:[e.jsxs(I,{className:i.contentLeft,children:[B&&e.jsx(q,{className:i.backButton,children:e.jsx(S.IconButton,{size:m(g),view:"secondary",pin:"circle-circle",onClick:B,children:e.jsx(b.IconChevronLeft,{size:"xs",color:"inherit"})})}),e.jsxs(v,{children:[e.jsxs(z,{className:i.titleBlock,children:[s(d,a),e.jsx(x.TypographyWithAutoTooltip,{tooltipText:typeof t=="string"?t:void 0,variant:l,className:i.title,lines:2,children:t}),s(k,a)]}),r&&e.jsx(w,{variant:"BodyS",className:i.description,$hasLeftSlot:!!d,children:r})]})]}),e.jsx(L,{className:i.rightBlock,children:s(T,a)})]})]})};exports.BlockTitle=D;exports.blockTitleClassNames=i;exports.getBlockTitleBackButtonSize=m;exports.getBlockTitleSlotSizes=h;exports.renderBlockTitleSlot=s;
1
+ "use strict";const e=require("react/jsx-runtime"),u=require("../components/Box/index.cjs"),S=require("@salutejs/sdds-finai"),x=require("./AnalyticalWidget-wke3Jm3X.cjs"),b=require("@salutejs/plasma-icons"),C=require("./utils-CUW5bd8S.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"},N=o.div.withConfig({displayName:"styled__BlockTitleContainer"})(["display:flex;justify-content:space-between;width:100%;gap:",";"],()=>c.spacing12x),z=o.div.withConfig({displayName:"styled__BlockTitleBlock"})(["display:flex;align-items:center;gap:",";margin-bottom:",";"],()=>c.spacing2x,()=>c.spacing2x),j=o.div.withConfig({displayName:"styled__BlockTitleCustomBlock"})(["width:100%;margin-bottom:",";"],()=>c.spacing2x),w=o(x.Typography).withConfig({displayName:"styled__BlockTitleDescription"})(["color:",";padding-left:",";"],()=>c.textSecondary,({$hasLeftSlot:t})=>t?"28px":"0"),v=o.div.withConfig({displayName:"styled__BlockTitleLeftBlock"})(["display:flex;min-height:100%;flex-direction:column;justify-content:end;"]),L=o.div.withConfig({displayName:"styled__BlockTitleRightBlock"})(["display:flex;min-height:100%;align-items:end;"]),I=o.div.withConfig({displayName:"styled__BlockTitleContentLeft"})(["display:flex;align-items:flex-start;gap:",";flex:1;min-width:0;"],()=>c.spacing8x),q=o.div.withConfig({displayName:"styled__BlockTitleBackButtonContainer"})(["margin-top:3px;"]),p={titleBadgeSize:"m",titleIconSize:"s"},A=t=>t==="H4"||t==="H5"?{titleBadgeSize:"s",titleIconSize:"xs"}:p,h=(t,l)=>({...l?A(t):p,buttonSize:l?"xs":"s",actionIconSize:l?"xs":"s"}),m=t=>t?"xxs":"xs",s=(t,l)=>typeof t=="function"?t(l):t,D=({title:t,titleSize:l="H2",titleLeftSlot:d,titleRightSlot:k,description:r,topSlot:_,rightSlot:T,disableMediaAdaptive:y=!1,containerProps:n,onBackButtonClick:B})=>{const{down:f}=C.useBreakpoint(),g=!y&&f("xl"),a=h(l,g);return e.jsxs(u.Box,{...n,className:`${i.container} ${(n==null?void 0:n.className)??""}`,children:[e.jsx(j,{className:i.topBlock,children:s(_,a)}),e.jsxs(N,{children:[e.jsxs(I,{className:i.contentLeft,children:[B&&e.jsx(q,{className:i.backButton,children:e.jsx(S.IconButton,{size:m(g),view:"secondary",pin:"circle-circle",onClick:B,children:e.jsx(b.IconChevronLeft,{size:"xs",color:"inherit"})})}),e.jsxs(v,{children:[e.jsxs(z,{className:i.titleBlock,children:[s(d,a),e.jsx(x.TypographyWithAutoTooltip,{tooltipText:typeof t=="string"?t:void 0,variant:l,className:i.title,lines:2,children:t}),s(k,a)]}),r&&e.jsx(w,{variant:"BodyS",className:i.description,$hasLeftSlot:!!d,children:r})]})]}),e.jsx(L,{className:i.rightBlock,children:s(T,a)})]})]})};exports.BlockTitle=D;exports.blockTitleClassNames=i;exports.getBlockTitleBackButtonSize=m;exports.getBlockTitleSlotSizes=h;exports.renderBlockTitleSlot=s;
@@ -1,7 +1,7 @@
1
1
  import { jsxs as c, jsx as l } from "react/jsx-runtime";
2
2
  import { Box as T } from "../components/Box/index.mjs";
3
3
  import { IconButton as x } from "@salutejs/sdds-finai";
4
- import { T as b, a as S } from "./AnalyticalWidget-BWcBjoNh.mjs";
4
+ import { T as b, a as S } from "./AnalyticalWidget-Cdo6_s1Y.mjs";
5
5
  import { IconChevronLeft as u } from "@salutejs/plasma-icons";
6
6
  import { d as C } from "./utils-YKicAHp0.mjs";
7
7
  import { spacing2x as k, spacing12x as N, spacing8x as w, textSecondary as z } from "@salutejs/sdds-themes/tokens/sdds_finai";