@daisforge/ui 1.19.0 → 1.21.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 (421) 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/{EmptyState-B205JfZA.mjs → EmptyState-CUCseg9M.mjs} +1 -1
  10. package/chunks/{EmptyState-CcxlsZm0.cjs → EmptyState-DH1xawxg.cjs} +1 -1
  11. package/chunks/{FiltersActions-CFStLRsU.mjs → FiltersActions-CDZSO0MM.mjs} +4 -4
  12. package/chunks/{FiltersActions-BKJJH6Mu.cjs → FiltersActions-CVtgAJnC.cjs} +1 -1
  13. package/chunks/{FormSegmentGroup-CCCqRgCG.cjs → FormSegmentGroup-BYQ6yMK1.cjs} +1 -1
  14. package/chunks/{FormSegmentGroup-E1JurEt7.mjs → FormSegmentGroup-C9qYxYT9.mjs} +1 -1
  15. package/chunks/{GridDND-UMUi8M_Q.mjs → GridDND-CqvpXgCY.mjs} +2 -2
  16. package/chunks/{GridDND-DV-1g1sI.cjs → GridDND-DK6SAO8q.cjs} +1 -1
  17. package/chunks/LeftPanel-AyuV7bGS.cjs +1 -0
  18. package/chunks/{LeftPanel-HZu3ECqD.mjs → LeftPanel-C5SsoRJS.mjs} +47 -45
  19. package/chunks/{ListOfFilters-DJvnT9kw.cjs → ListOfFilters-BAPz0OY9.cjs} +1 -1
  20. package/chunks/{ListOfFilters-DTAZ3wfQ.mjs → ListOfFilters-Bd8CZHDq.mjs} +3 -3
  21. package/chunks/{MassActions-Z-48g81T.cjs → MassActions-C08IgW4a.cjs} +1 -1
  22. package/chunks/{MassActions-DSAaO1-u.mjs → MassActions-D5UwHcNG.mjs} +3 -3
  23. package/chunks/PageTitle-CrBeieoq.cjs +9 -0
  24. package/chunks/PageTitle-DkfAiZM4.mjs +133 -0
  25. package/chunks/{SplitView-DYHeCnl9.mjs → SplitView-BqS1Jbo4.mjs} +1 -1
  26. package/chunks/{SplitView-UKIBuvTi.cjs → SplitView-DNmd4sJe.cjs} +1 -1
  27. package/chunks/{Stories-Dlwle-SM.mjs → Stories-BnHxMCEZ.mjs} +3 -3
  28. package/chunks/{Stories-CZXv_Ves.cjs → Stories-UYVANawW.cjs} +1 -1
  29. package/chunks/Table-CdaMPDkg.cjs +31 -0
  30. package/chunks/{Table-B9OAyWAW.mjs → Table-DYSssxRS.mjs} +2761 -2679
  31. package/chunks/{TableCanvas-DkZAx-r9.mjs → TableCanvas-DDNRdQjN.mjs} +7074 -6977
  32. package/chunks/TableCanvas-DPHSYfH3.cjs +30 -0
  33. package/chunks/{TableGlide-CkorJrl9.mjs → TableGlide-DAnTJtye.mjs} +2295 -2231
  34. package/chunks/TableGlide-am_w97mF.cjs +1 -0
  35. package/chunks/{styles-C-1Srtr7.mjs → styles-CJ5y9FKW.mjs} +1 -1
  36. package/chunks/{styles-AUqEaroI.cjs → styles-kUWPuNSD.cjs} +1 -1
  37. package/chunks/utils-ChDQGRjv.cjs +25 -0
  38. package/chunks/{utils-YKicAHp0.mjs → utils-u1KJ37g3.mjs} +120 -108
  39. package/components/AiAgentPopover/index.cjs +1 -1
  40. package/components/AiAgentPopover/index.mjs +1 -1
  41. package/components/AnalyticalWidget/components/AnalyticalWidgetButtons/index.cjs +1 -1
  42. package/components/AnalyticalWidget/components/AnalyticalWidgetButtons/index.mjs +1 -1
  43. package/components/AnalyticalWidget/components/AnalyticalWidgetChips/index.cjs +1 -1
  44. package/components/AnalyticalWidget/components/AnalyticalWidgetChips/index.mjs +1 -1
  45. package/components/AnalyticalWidget/components/AnalyticalWidgetHeader/index.cjs +1 -1
  46. package/components/AnalyticalWidget/components/AnalyticalWidgetHeader/index.mjs +1 -1
  47. package/components/AnalyticalWidget/index.cjs +1 -1
  48. package/components/AnalyticalWidget/index.mjs +1 -1
  49. package/components/ApprovalCenter/components/index.cjs +1 -1
  50. package/components/ApprovalCenter/components/index.mjs +1 -1
  51. package/components/ApprovalCenter/index.cjs +1 -1
  52. package/components/ApprovalCenter/index.mjs +1 -1
  53. package/components/AutocompleteSearch/index.cjs +1 -1
  54. package/components/AutocompleteSearch/index.mjs +2 -2
  55. package/components/BlockGradientScroll/index.cjs +1 -1
  56. package/components/BlockGradientScroll/index.mjs +1 -1
  57. package/components/BlockTitle/BlockTitle.d.ts +1 -1
  58. package/components/BlockTitle/BlockTitle.types.d.ts +2 -1
  59. package/components/BlockTitle/index.cjs +1 -1
  60. package/components/BlockTitle/index.mjs +1 -1
  61. package/components/BlockTitle/utils/index.cjs +1 -1
  62. package/components/BlockTitle/utils/index.mjs +1 -1
  63. package/components/Collapse/index.cjs +1 -1
  64. package/components/Collapse/index.mjs +1 -1
  65. package/components/Combobox/index.cjs +1 -1
  66. package/components/Combobox/index.mjs +1 -1
  67. package/components/EmptyState/components/index.cjs +1 -1
  68. package/components/EmptyState/components/index.mjs +1 -1
  69. package/components/EmptyState/index.cjs +1 -1
  70. package/components/EmptyState/index.mjs +1 -1
  71. package/components/GridDND/index.cjs +1 -1
  72. package/components/GridDND/index.mjs +1 -1
  73. package/components/GridDND/utils/index.cjs +1 -1
  74. package/components/GridDND/utils/index.mjs +1 -1
  75. package/components/IconButton/index.cjs +1 -1
  76. package/components/IconButton/index.mjs +1 -1
  77. package/components/LeftPanel/components/index.cjs +1 -1
  78. package/components/LeftPanel/components/index.mjs +1 -1
  79. package/components/LeftPanel/hooks/index.cjs +1 -1
  80. package/components/LeftPanel/hooks/index.mjs +1 -1
  81. package/components/LeftPanel/index.cjs +1 -1
  82. package/components/LeftPanel/index.mjs +1 -1
  83. package/components/LeftPanel/styled.d.ts +1 -0
  84. package/components/LeftPanel/utils/index.cjs +1 -1
  85. package/components/LeftPanel/utils/index.mjs +1 -1
  86. package/components/ListOfFilters/index.cjs +1 -1
  87. package/components/ListOfFilters/index.mjs +1 -1
  88. package/components/MassActions/hooks/index.cjs +1 -1
  89. package/components/MassActions/hooks/index.mjs +1 -1
  90. package/components/MassActions/index.cjs +1 -1
  91. package/components/MassActions/index.mjs +1 -1
  92. package/components/ModalDF/index.cjs +1 -1
  93. package/components/ModalDF/index.mjs +1 -1
  94. package/components/Notification/index.cjs +1 -1
  95. package/components/Notification/index.mjs +2 -2
  96. package/components/PageTitle/PageTitle.styled.d.ts +3 -1
  97. package/components/PageTitle/index.cjs +1 -1
  98. package/components/PageTitle/index.mjs +1 -1
  99. package/components/PageTitle/utils/index.cjs +1 -1
  100. package/components/PageTitle/utils/index.mjs +1 -1
  101. package/components/PopoverDF/index.cjs +1 -1
  102. package/components/PopoverDF/index.mjs +1 -1
  103. package/components/PopupDF/index.cjs +1 -1
  104. package/components/PopupDF/index.mjs +1 -1
  105. package/components/SplitView/index.cjs +1 -1
  106. package/components/SplitView/index.mjs +1 -1
  107. package/components/SplitView/utils/index.cjs +1 -1
  108. package/components/SplitView/utils/index.mjs +1 -1
  109. package/components/Stories/components/StoriesBanner/index.cjs +1 -1
  110. package/components/Stories/components/StoriesBanner/index.mjs +1 -1
  111. package/components/Stories/components/StoriesContent/index.cjs +1 -1
  112. package/components/Stories/components/StoriesContent/index.mjs +1 -1
  113. package/components/Stories/components/StoriesPreview/index.cjs +1 -1
  114. package/components/Stories/components/StoriesPreview/index.mjs +1 -1
  115. package/components/Stories/components/StoriesProgress/index.cjs +1 -1
  116. package/components/Stories/components/StoriesProgress/index.mjs +1 -1
  117. package/components/Stories/components/StoriesViewer/index.cjs +1 -1
  118. package/components/Stories/components/StoriesViewer/index.mjs +1 -1
  119. package/components/Stories/index.cjs +1 -1
  120. package/components/Stories/index.mjs +1 -1
  121. package/components/Table/components/TableDropdown/index.cjs +1 -1
  122. package/components/Table/components/TableDropdown/index.mjs +1 -1
  123. package/components/Table/feature-collapse-table/index.cjs +1 -1
  124. package/components/Table/feature-collapse-table/index.mjs +2 -2
  125. package/components/Table/feature-column-control/ColumnsList/index.cjs +1 -1
  126. package/components/Table/feature-column-control/ColumnsList/index.mjs +2 -2
  127. package/components/Table/feature-column-control/index.cjs +1 -1
  128. package/components/Table/feature-column-control/index.mjs +3 -3
  129. package/components/Table/feature-columns-grouping/index.cjs +1 -1
  130. package/components/Table/feature-columns-grouping/index.mjs +1 -1
  131. package/components/Table/feature-context-menu/index.cjs +1 -1
  132. package/components/Table/feature-context-menu/index.mjs +1 -1
  133. package/components/Table/feature-edit/index.cjs +1 -1
  134. package/components/Table/feature-edit/index.mjs +1 -1
  135. package/components/Table/feature-filtering/combobox/combobox.d.ts +3 -2
  136. package/components/Table/feature-filtering/combobox/index.cjs +1 -1
  137. package/components/Table/feature-filtering/combobox/index.d.ts +4 -2
  138. package/components/Table/feature-filtering/combobox/index.mjs +7 -3
  139. package/components/Table/feature-filtering/filter-list-block/index.cjs +1 -1
  140. package/components/Table/feature-filtering/filter-list-block/index.mjs +1 -1
  141. package/components/Table/feature-filtering/header-filter-button/filter-component-in-popover.d.ts +1 -2
  142. package/components/Table/feature-filtering/header-filter-button/index.cjs +1 -1
  143. package/components/Table/feature-filtering/header-filter-button/index.mjs +1 -1
  144. package/components/Table/feature-filtering/index.cjs +1 -1
  145. package/components/Table/feature-filtering/index.d.ts +1 -1
  146. package/components/Table/feature-filtering/index.mjs +13 -9
  147. package/components/Table/feature-filtering/render-slot.d.ts +5 -0
  148. package/components/Table/feature-filtering/sidebar-filter-block/index.cjs +1 -1
  149. package/components/Table/feature-filtering/sidebar-filter-block/index.mjs +2 -2
  150. package/components/Table/feature-filtering/use-focus-search-input.d.ts +2 -0
  151. package/components/Table/feature-infinity-scroll/index.cjs +1 -1
  152. package/components/Table/feature-infinity-scroll/index.mjs +1 -1
  153. package/components/Table/feature-key-text/index.cjs +1 -1
  154. package/components/Table/feature-key-text/index.mjs +3 -3
  155. package/components/Table/feature-pagination/index.cjs +1 -1
  156. package/components/Table/feature-pagination/index.mjs +3 -3
  157. package/components/Table/feature-reorder-columns/handlers.d.ts +4 -0
  158. package/components/Table/feature-right-sidebar/index.cjs +1 -1
  159. package/components/Table/feature-right-sidebar/index.mjs +1 -1
  160. package/components/Table/feature-row-detail/index.cjs +1 -1
  161. package/components/Table/feature-row-detail/index.mjs +1 -1
  162. package/components/Table/feature-row-instruments/index.cjs +1 -1
  163. package/components/Table/feature-row-instruments/index.mjs +5 -5
  164. package/components/Table/feature-row-size/index.cjs +1 -1
  165. package/components/Table/feature-row-size/index.mjs +2 -2
  166. package/components/Table/feature-rows-grouping/index.cjs +1 -1
  167. package/components/Table/feature-rows-grouping/index.mjs +1 -1
  168. package/components/Table/feature-searching/index.cjs +1 -1
  169. package/components/Table/feature-searching/index.mjs +1 -1
  170. package/components/Table/feature-select-row/index.cjs +1 -1
  171. package/components/Table/feature-select-row/index.mjs +1 -1
  172. package/components/Table/feature-sorting/index.cjs +1 -1
  173. package/components/Table/feature-sorting/index.mjs +1 -1
  174. package/components/Table/feature-table-settings/index.cjs +1 -1
  175. package/components/Table/feature-table-settings/index.mjs +1 -1
  176. package/components/Table/feature-tree/index.cjs +1 -1
  177. package/components/Table/feature-tree/index.mjs +2 -2
  178. package/components/Table/index.cjs +1 -1
  179. package/components/Table/index.d.ts +1 -1
  180. package/components/Table/index.mjs +43 -39
  181. package/components/Table/renders/formatCell/index.cjs +1 -1
  182. package/components/Table/renders/formatCell/index.mjs +3 -3
  183. package/components/Table/styles/index.cjs +1 -1
  184. package/components/Table/styles/index.mjs +9 -9
  185. package/components/Table/table-hooks/index.cjs +1 -1
  186. package/components/Table/table-hooks/index.mjs +3 -3
  187. package/components/Table/types/column-config.type.d.ts +1 -0
  188. package/components/Table/types/index.cjs +1 -1
  189. package/components/Table/types/index.mjs +1 -1
  190. package/components/Table/types/table-config.type.d.ts +1 -0
  191. package/components/Table/utils/index.cjs +1 -1
  192. package/components/Table/utils/index.mjs +4 -4
  193. package/components/Table/widgets/control-block/index.cjs +1 -1
  194. package/components/Table/widgets/control-block/index.mjs +1 -1
  195. package/components/Table/widgets/control-block/right-side/index.cjs +1 -1
  196. package/components/Table/widgets/control-block/right-side/index.mjs +1 -1
  197. package/components/Table/widgets/index.cjs +1 -1
  198. package/components/Table/widgets/index.mjs +1 -1
  199. package/components/Table/widgets/mass-actions/index.cjs +1 -1
  200. package/components/Table/widgets/mass-actions/index.mjs +1 -1
  201. package/components/TableCanvas/TableGlideInstance/adapters/column/index.cjs +1 -1
  202. package/components/TableCanvas/TableGlideInstance/adapters/column/index.mjs +1 -1
  203. package/components/TableCanvas/TableGlideInstance/adapters/index.cjs +1 -1
  204. package/components/TableCanvas/TableGlideInstance/adapters/index.mjs +1 -1
  205. package/components/TableCanvas/TableGlideInstance/index.cjs +1 -1
  206. package/components/TableCanvas/TableGlideInstance/index.mjs +2 -2
  207. package/components/TableCanvas/TableGlideInstance/utils/column/index.cjs +1 -1
  208. package/components/TableCanvas/TableGlideInstance/utils/column/index.mjs +1 -1
  209. package/components/TableCanvas/TableGlideInstance/utils/index.cjs +1 -1
  210. package/components/TableCanvas/TableGlideInstance/utils/index.mjs +1 -1
  211. package/components/TableCanvas/components/SplitIconButton/index.cjs +1 -1
  212. package/components/TableCanvas/components/SplitIconButton/index.mjs +1 -1
  213. package/components/TableCanvas/components/TableDropdown/index.cjs +1 -1
  214. package/components/TableCanvas/components/TableDropdown/index.mjs +1 -1
  215. package/components/TableCanvas/feature-borders/buildBorderCallbacks.d.ts +16 -0
  216. package/components/TableCanvas/feature-borders/useBorders.d.ts +14 -0
  217. package/components/TableCanvas/feature-cell-transfer/index.cjs +1 -1
  218. package/components/TableCanvas/feature-cell-transfer/index.mjs +1 -1
  219. package/components/TableCanvas/feature-collapse-table/index.cjs +1 -1
  220. package/components/TableCanvas/feature-collapse-table/index.mjs +1 -1
  221. package/components/TableCanvas/feature-column-control/ColumnsList/index.cjs +1 -1
  222. package/components/TableCanvas/feature-column-control/ColumnsList/index.mjs +1 -1
  223. package/components/TableCanvas/feature-column-control/index.cjs +1 -1
  224. package/components/TableCanvas/feature-column-control/index.mjs +1 -1
  225. package/components/TableCanvas/feature-columns-grouping/index.cjs +1 -1
  226. package/components/TableCanvas/feature-columns-grouping/index.mjs +1 -1
  227. package/components/TableCanvas/feature-columns-grouping/useLastLvlColumnConfig.d.ts +1 -0
  228. package/components/TableCanvas/feature-content-state/index.cjs +1 -1
  229. package/components/TableCanvas/feature-content-state/index.mjs +1 -1
  230. package/components/TableCanvas/feature-context-menu/index.cjs +1 -1
  231. package/components/TableCanvas/feature-context-menu/index.mjs +1 -1
  232. package/components/TableCanvas/feature-edit/index.cjs +1 -1
  233. package/components/TableCanvas/feature-edit/index.mjs +1 -1
  234. package/components/TableCanvas/feature-filtering/combobox/combobox.d.ts +3 -2
  235. package/components/TableCanvas/feature-filtering/combobox/index.cjs +1 -1
  236. package/components/TableCanvas/feature-filtering/combobox/index.d.ts +4 -2
  237. package/components/TableCanvas/feature-filtering/combobox/index.mjs +7 -3
  238. package/components/TableCanvas/feature-filtering/filter-list-block/index.cjs +1 -1
  239. package/components/TableCanvas/feature-filtering/filter-list-block/index.mjs +2 -2
  240. package/components/TableCanvas/feature-filtering/header-filter-button/filter-component-in-popover.d.ts +1 -2
  241. package/components/TableCanvas/feature-filtering/header-filter-button/index.cjs +1 -1
  242. package/components/TableCanvas/feature-filtering/header-filter-button/index.mjs +2 -2
  243. package/components/TableCanvas/feature-filtering/index.cjs +1 -1
  244. package/components/TableCanvas/feature-filtering/index.d.ts +1 -1
  245. package/components/TableCanvas/feature-filtering/index.mjs +12 -8
  246. package/components/TableCanvas/feature-filtering/render-slot.d.ts +5 -0
  247. package/components/TableCanvas/feature-filtering/sidebar-filter-block/index.cjs +1 -1
  248. package/components/TableCanvas/feature-filtering/sidebar-filter-block/index.mjs +1 -1
  249. package/components/TableCanvas/feature-infinity-scroll/index.cjs +1 -1
  250. package/components/TableCanvas/feature-infinity-scroll/index.mjs +3 -3
  251. package/components/TableCanvas/feature-key-text/index.cjs +1 -1
  252. package/components/TableCanvas/feature-key-text/index.mjs +1 -1
  253. package/components/TableCanvas/feature-notifications/index.cjs +1 -1
  254. package/components/TableCanvas/feature-notifications/index.mjs +1 -1
  255. package/components/TableCanvas/feature-pagination/index.cjs +1 -1
  256. package/components/TableCanvas/feature-pagination/index.mjs +2 -2
  257. package/components/TableCanvas/feature-popover-table/context/index.cjs +1 -1
  258. package/components/TableCanvas/feature-popover-table/context/index.mjs +1 -1
  259. package/components/TableCanvas/feature-popover-table/hooks/index.cjs +1 -1
  260. package/components/TableCanvas/feature-popover-table/hooks/index.mjs +1 -1
  261. package/components/TableCanvas/feature-popover-table/index.cjs +1 -1
  262. package/components/TableCanvas/feature-popover-table/index.mjs +6 -6
  263. package/components/TableCanvas/feature-popover-table/utils/index.cjs +1 -1
  264. package/components/TableCanvas/feature-popover-table/utils/index.mjs +1 -1
  265. package/components/TableCanvas/feature-reorder-columns/handlers.d.ts +4 -0
  266. package/components/TableCanvas/feature-right-sidebar/index.cjs +1 -1
  267. package/components/TableCanvas/feature-right-sidebar/index.mjs +1 -1
  268. package/components/TableCanvas/feature-row-detail/index.cjs +1 -1
  269. package/components/TableCanvas/feature-row-detail/index.mjs +1 -1
  270. package/components/TableCanvas/feature-row-instruments/index.cjs +1 -1
  271. package/components/TableCanvas/feature-row-instruments/index.mjs +1 -1
  272. package/components/TableCanvas/feature-row-markers/index.cjs +1 -1
  273. package/components/TableCanvas/feature-row-markers/index.mjs +1 -1
  274. package/components/TableCanvas/feature-row-size/index.cjs +1 -1
  275. package/components/TableCanvas/feature-row-size/index.mjs +3 -3
  276. package/components/TableCanvas/feature-rows-grouping/index.cjs +1 -1
  277. package/components/TableCanvas/feature-rows-grouping/index.mjs +1 -1
  278. package/components/TableCanvas/feature-searching/index.cjs +1 -1
  279. package/components/TableCanvas/feature-searching/index.mjs +1 -1
  280. package/components/TableCanvas/feature-select-row/index.cjs +1 -1
  281. package/components/TableCanvas/feature-select-row/index.mjs +1 -1
  282. package/components/TableCanvas/feature-sorting/index.cjs +1 -1
  283. package/components/TableCanvas/feature-sorting/index.mjs +1 -1
  284. package/components/TableCanvas/feature-table-settings/index.cjs +1 -1
  285. package/components/TableCanvas/feature-table-settings/index.mjs +1 -1
  286. package/components/TableCanvas/feature-tooltip/index.cjs +1 -1
  287. package/components/TableCanvas/feature-tooltip/index.mjs +2 -2
  288. package/components/TableCanvas/feature-tooltip/utils/index.cjs +1 -1
  289. package/components/TableCanvas/feature-tooltip/utils/index.mjs +6 -6
  290. package/components/TableCanvas/feature-tree/handlers.d.ts +1 -0
  291. package/components/TableCanvas/feature-tree/index.cjs +1 -1
  292. package/components/TableCanvas/feature-tree/index.mjs +1 -1
  293. package/components/TableCanvas/index.cjs +1 -1
  294. package/components/TableCanvas/index.d.ts +1 -1
  295. package/components/TableCanvas/index.mjs +63 -59
  296. package/components/TableCanvas/renders/formatCell/index.cjs +1 -1
  297. package/components/TableCanvas/renders/formatCell/index.mjs +1 -1
  298. package/components/TableCanvas/styles/index.cjs +1 -1
  299. package/components/TableCanvas/styles/index.mjs +1 -1
  300. package/components/TableCanvas/table-hooks/index.cjs +1 -1
  301. package/components/TableCanvas/table-hooks/index.mjs +12 -12
  302. package/components/TableCanvas/types/column-config.type.d.ts +1 -0
  303. package/components/TableCanvas/types/index.cjs +1 -1
  304. package/components/TableCanvas/types/index.mjs +2 -2
  305. package/components/TableCanvas/types/table-config.type.d.ts +28 -0
  306. package/components/TableCanvas/utils/index.cjs +1 -1
  307. package/components/TableCanvas/utils/index.mjs +2 -2
  308. package/components/TableCanvas/widgets/control-block/compression/index.cjs +1 -1
  309. package/components/TableCanvas/widgets/control-block/compression/index.mjs +2 -2
  310. package/components/TableCanvas/widgets/control-block/index.cjs +1 -1
  311. package/components/TableCanvas/widgets/control-block/index.mjs +3 -3
  312. package/components/TableCanvas/widgets/control-block/right-side/index.cjs +1 -1
  313. package/components/TableCanvas/widgets/control-block/right-side/index.mjs +1 -1
  314. package/components/TableCanvas/widgets/index.cjs +1 -1
  315. package/components/TableCanvas/widgets/index.mjs +5 -5
  316. package/components/TableCanvas/widgets/mass-actions/hooks/index.cjs +1 -1
  317. package/components/TableCanvas/widgets/mass-actions/hooks/index.mjs +8 -8
  318. package/components/TableCanvas/widgets/mass-actions/index.cjs +1 -1
  319. package/components/TableCanvas/widgets/mass-actions/index.mjs +1 -1
  320. package/components/TableContract/index.cjs +1 -1
  321. package/components/TableContract/index.mjs +2 -2
  322. package/components/TableGlide/hooks/selection/index.cjs +1 -1
  323. package/components/TableGlide/hooks/selection/index.d.ts +1 -2
  324. package/components/TableGlide/hooks/selection/index.mjs +6 -7
  325. package/components/TableGlide/hooks/selection/useColoringLayers.d.ts +25 -0
  326. package/components/TableGlide/hooks/useHoverState.d.ts +18 -0
  327. package/components/TableGlide/index.cjs +1 -1
  328. package/components/TableGlide/index.mjs +9 -9
  329. package/components/TableGlide/lib/canvas/cells/buttons/index.cjs +1 -1
  330. package/components/TableGlide/lib/canvas/cells/buttons/index.mjs +1 -1
  331. package/components/TableGlide/lib/canvas/cells/iconSprites/index.cjs +1 -1
  332. package/components/TableGlide/lib/canvas/cells/iconSprites/index.mjs +1 -1
  333. package/components/TableGlide/lib/canvas/cells/index.cjs +1 -1
  334. package/components/TableGlide/lib/canvas/cells/index.mjs +1 -1
  335. package/components/TableGlide/lib/canvas/cells/renderer/index.cjs +1 -1
  336. package/components/TableGlide/lib/canvas/cells/renderer/index.mjs +1 -1
  337. package/components/TableGlide/lib/canvas/core/helpers/index.cjs +1 -1
  338. package/components/TableGlide/lib/canvas/core/helpers/index.mjs +1 -1
  339. package/components/TableGlide/lib/canvas/core/index.cjs +1 -1
  340. package/components/TableGlide/lib/canvas/core/index.mjs +1 -1
  341. package/components/TableGlide/lib/canvas/hooks/index.cjs +1 -1
  342. package/components/TableGlide/lib/canvas/hooks/index.mjs +1 -1
  343. package/components/TableGlide/lib/canvas/index.cjs +1 -1
  344. package/components/TableGlide/lib/canvas/index.mjs +1 -1
  345. package/components/TableGlide/lib/canvas/miniflex/index.cjs +1 -1
  346. package/components/TableGlide/lib/canvas/miniflex/index.mjs +1 -1
  347. package/components/TableGlide/lib/canvas/primitives/index.cjs +1 -1
  348. package/components/TableGlide/lib/canvas/primitives/index.mjs +1 -1
  349. package/components/TableGlide/lib/canvas/utils/index.cjs +1 -1
  350. package/components/TableGlide/lib/canvas/utils/index.mjs +1 -1
  351. package/components/TableGlide/theming/custom-colors.d.ts +1 -1
  352. package/components/TableGlide/theming/index.cjs +1 -1
  353. package/components/TableGlide/theming/index.mjs +3 -3
  354. package/components/TableGlide/types.d.ts +1 -3
  355. package/components/TableTabs/index.cjs +1 -1
  356. package/components/TableTabs/index.mjs +1 -1
  357. package/components/Tooltip/index.cjs +1 -1
  358. package/components/Tooltip/index.mjs +1 -1
  359. package/components/TourWidget/index.cjs +1 -1
  360. package/components/TourWidget/index.mjs +2 -2
  361. package/components/Typography/index.cjs +1 -1
  362. package/components/Typography/index.mjs +1 -1
  363. package/components/Widget/index.cjs +1 -1
  364. package/components/Widget/index.mjs +2 -2
  365. package/formComponents/FormCombobox/index.cjs +1 -1
  366. package/formComponents/FormCombobox/index.mjs +1 -1
  367. package/formComponents/FormRadioGroupBox/index.cjs +1 -1
  368. package/formComponents/FormRadioGroupBox/index.mjs +1 -1
  369. package/formComponents/FormSegments/index.cjs +1 -1
  370. package/formComponents/FormSegments/index.mjs +1 -1
  371. package/formComponents/FormSwitch/index.cjs +1 -1
  372. package/formComponents/FormSwitch/index.mjs +1 -1
  373. package/index.cjs +1 -1
  374. package/index.mjs +1778 -1773
  375. package/layouts/Container/index.cjs +1 -1
  376. package/layouts/Container/index.mjs +1 -1
  377. package/layouts/Container/lib/utils/index.cjs +1 -1
  378. package/layouts/Container/lib/utils/index.mjs +1 -1
  379. package/layouts/ErrorPage/index.cjs +1 -1
  380. package/layouts/ErrorPage/index.mjs +1 -1
  381. package/layouts/FiltersActions/hooks/index.cjs +1 -1
  382. package/layouts/FiltersActions/hooks/index.mjs +1 -1
  383. package/layouts/FiltersActions/index.cjs +1 -1
  384. package/layouts/FiltersActions/index.mjs +1 -1
  385. package/layouts/Layout/index.cjs +1 -1
  386. package/layouts/Layout/index.mjs +1 -1
  387. package/layouts/PageLayout/index.cjs +1 -1
  388. package/layouts/PageLayout/index.mjs +1 -1
  389. package/mcp-data/component-index.json +1208 -523
  390. package/mixins/index.cjs +1 -1
  391. package/mixins/index.mjs +1 -1
  392. package/package.json +6 -6
  393. package/styles/index.cjs +1 -1
  394. package/styles/index.mjs +1 -1
  395. package/utils/breakpoint/index.cjs +1 -1
  396. package/utils/breakpoint/index.mjs +1 -1
  397. package/utils/clickStream/index.cjs +1 -1
  398. package/utils/clickStream/index.mjs +1 -1
  399. package/utils/eventBus/index.cjs +1 -1
  400. package/utils/eventBus/index.mjs +1 -1
  401. package/utils/hooks/index.cjs +1 -1
  402. package/utils/hooks/index.mjs +1 -1
  403. package/utils/index.cjs +1 -1
  404. package/utils/index.d.ts +1 -0
  405. package/utils/index.mjs +30 -29
  406. package/utils/react/getMFReactDOMClient.d.ts +7 -0
  407. package/utils/react/index.cjs +1 -0
  408. package/utils/react/index.d.ts +1 -0
  409. package/utils/react/index.mjs +4 -0
  410. package/utils/styles/index.cjs +1 -1
  411. package/utils/styles/index.mjs +1 -1
  412. package/chunks/AnalyticalWidget-wke3Jm3X.cjs +0 -43
  413. package/chunks/BlockTitle-BEIxiECX.cjs +0 -1
  414. package/chunks/BlockTitle-BZxOEdTc.mjs +0 -85
  415. package/chunks/LeftPanel-B3-ySDMW.cjs +0 -1
  416. package/chunks/PageTitle-Bh3g6FUT.cjs +0 -1
  417. package/chunks/PageTitle-CaqXfrrQ.mjs +0 -123
  418. package/chunks/Table-BwhzcFX1.cjs +0 -31
  419. package/chunks/TableCanvas-QmXGAjPk.cjs +0 -30
  420. package/chunks/TableGlide-Bngn5_5l.cjs +0 -1
  421. package/chunks/utils-CUW5bd8S.cjs +0 -25
package/mixins/index.cjs CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const L=require("../chunks/utils-CUW5bd8S.cjs"),s=require("styled-components"),l=require("@salutejs/sdds-themes/tokens/sdds_finai"),T=require("@salutejs/sdds-finai"),v="linear-gradient(to top, rgb(19, 24, 27) 0%, rgba(19, 24, 27, 0) 100%)",w="linear-gradient(to top, rgb(6, 10, 12) 0%, rgba(6, 10, 12, 0) 100%)",m="linear-gradient(to top, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0) 100%)",k="linear-gradient(to top, rgb(242, 245, 248) 0%, rgba(242, 245, 248, 0) 100%)",h="scroll-gradient",f=`--${h}-timeline`,R=`${h}-animation`,_=100,x=60,y="--block-gradient-top",g="--block-gradient-left",p="--block-gradient-right",A="--block-gradient-bottom",E={light:{white:m,gray:k},dark:{white:v,gray:w},highContrastLight:{white:m,gray:k}},I=r=>{const o=L.getActiveTheme();return E[o==="betaCoreLight"?"light":o][r]},C=r=>{if(r===void 0)return{top:0,left:0,right:0,bottom:0};if(typeof r=="number")return{top:r,left:r,right:r,bottom:r};const{top:o,left:t,right:a,bottom:e,inline:n}=r;return{top:o??0,left:t??n??0,right:a??n??0,bottom:e??0}},D=r=>{const{left:o,right:t,bottom:a,top:e}=C(r);return s.css(["scroll-timeline:"," block;padding-top:","px;padding-right:","px;padding-bottom:","px;padding-left:","px;"],f,e,t,a,o)},B=(r,o)=>{const{left:t,right:a,bottom:e}=C(r),n=I(o);return s.css(["content:'';display:block;position:sticky;bottom:0;height:","px;pointer-events:none;background:",";margin-top:-","px;opacity:0;animation:"," linear both;animation-timeline:",";margin-left:calc(0px - var(",",","px));margin-right:calc(0px - var(",",","px));transform:translateY(var(",",","px));width:calc( 100% + var(",",","px) + var(",",","px) );will-change:transform;",""],_,()=>n,_,R,f,g,t,p,a,A,e,g,t,p,a,L.media.exact(0,1279)(`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const L=require("../chunks/utils-ChDQGRjv.cjs"),s=require("styled-components"),l=require("@salutejs/sdds-themes/tokens/sdds_finai"),T=require("@salutejs/sdds-finai"),v="linear-gradient(to top, rgb(19, 24, 27) 0%, rgba(19, 24, 27, 0) 100%)",w="linear-gradient(to top, rgb(6, 10, 12) 0%, rgba(6, 10, 12, 0) 100%)",m="linear-gradient(to top, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0) 100%)",k="linear-gradient(to top, rgb(242, 245, 248) 0%, rgba(242, 245, 248, 0) 100%)",h="scroll-gradient",f=`--${h}-timeline`,R=`${h}-animation`,_=100,x=60,y="--block-gradient-top",g="--block-gradient-left",p="--block-gradient-right",A="--block-gradient-bottom",E={light:{white:m,gray:k},dark:{white:v,gray:w},highContrastLight:{white:m,gray:k}},I=r=>{const o=L.getActiveTheme();return E[o==="betaCoreLight"?"light":o][r]},C=r=>{if(r===void 0)return{top:0,left:0,right:0,bottom:0};if(typeof r=="number")return{top:r,left:r,right:r,bottom:r};const{top:o,left:t,right:a,bottom:e,inline:n}=r;return{top:o??0,left:t??n??0,right:a??n??0,bottom:e??0}},D=r=>{const{left:o,right:t,bottom:a,top:e}=C(r);return s.css(["scroll-timeline:"," block;padding-top:","px;padding-right:","px;padding-bottom:","px;padding-left:","px;"],f,e,t,a,o)},B=(r,o)=>{const{left:t,right:a,bottom:e}=C(r),n=I(o);return s.css(["content:'';display:block;position:sticky;bottom:0;height:","px;pointer-events:none;background:",";margin-top:-","px;opacity:0;animation:"," linear both;animation-timeline:",";margin-left:calc(0px - var(",",","px));margin-right:calc(0px - var(",",","px));transform:translateY(var(",",","px));width:calc( 100% + var(",",","px) + var(",",","px) );will-change:transform;",""],_,()=>n,_,R,f,g,t,p,a,A,e,g,t,p,a,L.media.exact(0,1279)(`
2
2
  height: ${x}px;
3
3
  margin-top: -${x}px;
4
4
  `))},N=s.css(["@keyframes ","{0%,85%{opacity:1;}100%{opacity:0;}}"],R),K=r=>{const{variant:o="white",padding:t}=r;return s.css([""," &::after{","}",""],D(t),B(t,o),N)},b={width:"10px",height:"10px",borderRadius:`calc(${l.borderRadiusXxs}/1)`,isThin:!0,theme:"light"},S=({thumbColor:r,thumbColorHover:o,trackColor:t,trackColorHover:a,theme:e=b.theme})=>{const n=r??(e==="light"?l.surfaceSolidTertiary:l.onDarkSurfaceSolidTertiary),i=t??"transparent",c=o??(e==="light"?l.surfaceSolidTertiaryHover:l.onDarkSurfaceSolidTertiaryHover);return{thumb:n,thumbHover:c,track:i,trackHover:a??i}},G=({width:r=b.width,height:o=b.height,borderRadius:t=b.borderRadius,isThin:a=b.isThin,thumb:e,thumbHover:n,track:i,trackHover:c})=>s.css(["@supports (scrollbar-width:thin) and (not selector(::-webkit-scrollbar)){scrollbar-width:",";scrollbar-color:"," ",";}&[class]::-webkit-scrollbar,&::-webkit-scrollbar{width:",";height:",";}&[class]::-webkit-scrollbar-track,&::-webkit-scrollbar-track{background:",";border-radius:",";margin-block:6px;}&[class]::-webkit-scrollbar-track:hover,&::-webkit-scrollbar-track:hover{background:",";border-radius:",";margin-block:6px;}&[class]::-webkit-scrollbar-thumb,&::-webkit-scrollbar-thumb{background:",";transition:background 0.2s ease;background-clip:padding-box;border:2px solid transparent;border-radius:4px;cursor:pointer;}&[class]::-webkit-scrollbar-thumb:hover,&::-webkit-scrollbar-thumb:hover{transition:background 0.2s ease;border:2px solid transparent;border-radius:4px;cursor:pointer;background:",";background-clip:padding-box;}"],a?"thin":"auto",e,i,r,o,()=>i,t,()=>c,t,()=>e,()=>n),M=()=>{const r=S({});return G({...r})},H=({width:r,height:o,borderRadius:t,isThin:a,thumbColor:e,thumbColorHover:n,trackColor:i,trackColorHover:c,theme:d}={})=>{const u=S({thumbColor:e,thumbColorHover:n,trackColor:i,trackColorHover:c,theme:d});return G({width:r,height:o,borderRadius:t,isThin:a,...u})},P=s.keyframes(["0%,100%{box-shadow:0 0 0 2px var(--tour-pulse-border-color),0 0 0 6px var(--tour-pulse-shadow-color);}50%{box-shadow:0 0 0 3px var(--tour-pulse-border-color-fade),0 0 0 12px var(--tour-pulse-shadow-color-fade);}"]),V=({duration:r,timingFunction:o,iterationCount:t})=>s.css(["animation-name:",";animation-duration:",";animation-timing-function:",";animation-iteration-count:",";"],P,r,o,t),F=({backgroundColor:r="transparent",borderColor:o="var(--on-light-outline-accent-minor, rgb(82, 186, 255))",borderColorFade:t="rgba(82, 186, 255, 0.42)",shadowColor:a="rgba(82, 186, 255, 0.24)",shadowColorFade:e="rgba(82, 186, 255, 0)",inset:n="-4px",borderRadius:i="16px",duration:c="1.4s",timingFunction:d="ease-in-out",iterationCount:u="infinite",pointerEventsNone:O=!0}={})=>s.css([""," ",""],s.css({"--tour-pulse-border-color":o,"--tour-pulse-border-color-fade":t,"--tour-pulse-shadow-color":a,"--tour-pulse-shadow-color-fade":e,inset:n,borderRadius:i,background:r,...O?{pointerEvents:"none"}:{}}),V({duration:c,timingFunction:d,iterationCount:u}));Object.defineProperty(exports,"addFocus",{enumerable:!0,get:()=>T.addFocus});Object.defineProperty(exports,"mediaQuery",{enumerable:!0,get:()=>T.mediaQuery});exports.BLOCK_GRADIENT_SCROLL_CLASSNAME=h;exports.BLOCK_GRADIENT_VAR_BOTTOM=A;exports.BLOCK_GRADIENT_VAR_LEFT=g;exports.BLOCK_GRADIENT_VAR_RIGHT=p;exports.BLOCK_GRADIENT_VAR_TOP=y;exports.BlockGradientScrollMixin=K;exports.getCustomScrollbar=H;exports.getDefaultScrollbar=M;exports.tourPulseMixin=F;
package/mixins/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { g as C, b as G } from "../chunks/utils-YKicAHp0.mjs";
1
+ import { g as C, b as G } from "../chunks/utils-u1KJ37g3.mjs";
2
2
  import { css as l, keyframes as S } from "styled-components";
3
3
  import { borderRadiusXxs as y, surfaceSolidTertiaryHover as R, onDarkSurfaceSolidTertiaryHover as A, surfaceSolidTertiary as O, onDarkSurfaceSolidTertiary as E } from "@salutejs/sdds-themes/tokens/sdds_finai";
4
4
  import { addFocus as Z, mediaQuery as rr } from "@salutejs/sdds-finai";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daisforge/ui",
3
- "version": "1.19.0",
3
+ "version": "1.21.0",
4
4
  "main": "./index.cjs",
5
5
  "module": "./index.mjs",
6
6
  "types": "./index.d.ts",
@@ -31,11 +31,11 @@
31
31
  "registry": "https://registry.npmjs.org/"
32
32
  },
33
33
  "dependencies": {
34
- "@glideappsfinal/glide-data-grid": "6.4.0",
35
- "@salutejs/plasma-icons": "1.249.0",
36
- "@salutejs/plasma-typo": "0.53.0",
37
- "@salutejs/sdds-finai": "0.357.1",
38
- "@salutejs/sdds-themes": "0.79.1",
34
+ "@glideappsfinal/glide-data-grid": "6.5.1",
35
+ "@salutejs/plasma-icons": "^1.250.0",
36
+ "@salutejs/plasma-typo": "^0.54.0",
37
+ "@salutejs/sdds-finai": "^0.360.0",
38
+ "@salutejs/sdds-themes": "^0.82.0",
39
39
  "canvas-hypertxt": "1.0.3",
40
40
  "lodash.clonedeep": "4.5.0",
41
41
  "lodash.isequal": "4.5.0",
package/styles/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/styles-AUqEaroI.cjs");exports.DarkGlobalStyle=e.DarkGlobalStyle;exports.GlobalPopoverStyles=e.GlobalPopoverStyles;exports.GlobalStyle=e.GlobalStyle;exports.StyledTestRootIsolatedThemeProviderLayout=e.StyledTestRootIsolatedThemeProviderLayout;exports.TOOLTIP_FULL_WIDTH_CLASS=e.TOOLTIP_FULL_WIDTH_CLASS;exports.TestGlobalIsolatedStyleWithReplace=e.TestGlobalIsolatedStyleWithReplace;exports.TestRootIsolatedThemeProviderLayout=e.TestRootIsolatedThemeProviderLayout;exports.scopeTheme=e.scopeTheme;exports.styledTestRootIsolatedThemeProviderLayoutMixin=e.styledTestRootIsolatedThemeProviderLayoutMixin;exports.testGlobalPopoverStylesMixin=e.testGlobalPopoverStylesMixin;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/styles-kUWPuNSD.cjs");exports.DarkGlobalStyle=e.DarkGlobalStyle;exports.GlobalPopoverStyles=e.GlobalPopoverStyles;exports.GlobalStyle=e.GlobalStyle;exports.StyledTestRootIsolatedThemeProviderLayout=e.StyledTestRootIsolatedThemeProviderLayout;exports.TOOLTIP_FULL_WIDTH_CLASS=e.TOOLTIP_FULL_WIDTH_CLASS;exports.TestGlobalIsolatedStyleWithReplace=e.TestGlobalIsolatedStyleWithReplace;exports.TestRootIsolatedThemeProviderLayout=e.TestRootIsolatedThemeProviderLayout;exports.scopeTheme=e.scopeTheme;exports.styledTestRootIsolatedThemeProviderLayoutMixin=e.styledTestRootIsolatedThemeProviderLayoutMixin;exports.testGlobalPopoverStylesMixin=e.testGlobalPopoverStylesMixin;
package/styles/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { D as t, G as a, a as s, S as l, T, b as r, d, s as y, e as S, t as i } from "../chunks/styles-C-1Srtr7.mjs";
1
+ import { D as t, G as a, a as s, S as l, T, b as r, d, s as y, e as S, t as i } from "../chunks/styles-CJ5y9FKW.mjs";
2
2
  export {
3
3
  t as DarkGlobalStyle,
4
4
  a as GlobalPopoverStyles,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../chunks/utils-CUW5bd8S.cjs");exports.BreakpointProvider=e.BreakpointProvider;exports.MediaProvider=e.MediaProvider;exports.media=e.media;exports.useBreakpoint=e.useBreakpoint;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../chunks/utils-ChDQGRjv.cjs");exports.BreakpointProvider=e.BreakpointProvider;exports.MediaProvider=e.MediaProvider;exports.media=e.media;exports.useBreakpoint=e.useBreakpoint;
@@ -1,4 +1,4 @@
1
- import { B as r, M as i, b as o, d } from "../../chunks/utils-YKicAHp0.mjs";
1
+ import { B as r, M as i, b as o, d } from "../../chunks/utils-u1KJ37g3.mjs";
2
2
  export {
3
3
  r as BreakpointProvider,
4
4
  i as MediaProvider,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../chunks/utils-CUW5bd8S.cjs");exports.ClickStreamProvider=e.ClickStreamProvider;exports.EClickStreamErrorType=e.EClickStreamErrorType;exports.EClickStreamStatusProcess=e.EClickStreamStatusProcess;exports.createClickStreamEventValue=e.createClickStreamEventValue;exports.injectDigitalTraceContextHeader=e.injectDigitalTraceContextHeader;exports.transformClickStreamProperties=e.transformClickStreamProperties;exports.transformClickStreamPropertyValuesToString=e.transformClickStreamPropertyValuesToString;exports.useClickStream=e.useClickStream;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../chunks/utils-ChDQGRjv.cjs");exports.ClickStreamProvider=e.ClickStreamProvider;exports.EClickStreamErrorType=e.EClickStreamErrorType;exports.EClickStreamStatusProcess=e.EClickStreamStatusProcess;exports.createClickStreamEventValue=e.createClickStreamEventValue;exports.injectDigitalTraceContextHeader=e.injectDigitalTraceContextHeader;exports.transformClickStreamProperties=e.transformClickStreamProperties;exports.transformClickStreamPropertyValuesToString=e.transformClickStreamPropertyValuesToString;exports.useClickStream=e.useClickStream;
@@ -1,4 +1,4 @@
1
- import { C as a, E as t, F as s, H as i, N as c, P as o, Q as l, S as m } from "../../chunks/utils-YKicAHp0.mjs";
1
+ import { C as a, E as t, F as s, H as i, O as c, Q as o, R as l, T as m } from "../../chunks/utils-u1KJ37g3.mjs";
2
2
  export {
3
3
  a as ClickStreamProvider,
4
4
  t as EClickStreamErrorType,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../chunks/utils-CUW5bd8S.cjs");exports.EventBusProvider=e.EventBusProvider;exports.useEventBus=e.useEventBus;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../chunks/utils-ChDQGRjv.cjs");exports.EventBusProvider=e.EventBusProvider;exports.useEventBus=e.useEventBus;
@@ -1,4 +1,4 @@
1
- import { G as r, U as o } from "../../chunks/utils-YKicAHp0.mjs";
1
+ import { G as r, V as o } from "../../chunks/utils-u1KJ37g3.mjs";
2
2
  export {
3
3
  r as EventBusProvider,
4
4
  o as useEventBus
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../chunks/utils-CUW5bd8S.cjs");exports.preloadImage=e.preloadImage;exports.useActiveTheme=e.useActiveTheme;exports.useDebouncedFn=e.useDebouncedFn;exports.useDebouncedValue=e.useDebouncedValue;exports.useImageLoader=e.useImageLoader;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../chunks/utils-ChDQGRjv.cjs");exports.preloadImage=e.preloadImage;exports.useActiveTheme=e.useActiveTheme;exports.useDebouncedFn=e.useDebouncedFn;exports.useDebouncedValue=e.useDebouncedValue;exports.useImageLoader=e.useImageLoader;
@@ -1,4 +1,4 @@
1
- import { y as s, n as u, T as o, u as d, x as m } from "../../chunks/utils-YKicAHp0.mjs";
1
+ import { y as s, n as u, U as o, u as d, x as m } from "../../chunks/utils-u1KJ37g3.mjs";
2
2
  export {
3
3
  s as preloadImage,
4
4
  u as useActiveTheme,
package/utils/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/utils-CUW5bd8S.cjs");exports.BreakpointProvider=e.BreakpointProvider;exports.ClickStreamProvider=e.ClickStreamProvider;exports.EClickStreamErrorType=e.EClickStreamErrorType;exports.EClickStreamStatusProcess=e.EClickStreamStatusProcess;exports.EventBusProvider=e.EventBusProvider;exports.MediaProvider=e.MediaProvider;exports.bubble=e.bubble;exports.clamp=e.clamp;exports.createClickStreamEventValue=e.createClickStreamEventValue;exports.createSafeResizeObserver=e.createSafeResizeObserver;exports.createStore=e.createStore;exports.debounce=e.debounce;exports.generateB3Headers=e.generateB3Headers;exports.getActiveTheme=e.getActiveTheme;exports.getCssProp=e.getCssProp;exports.getTextWidth=e.getTextWidth;exports.getTextWidthByCache=e.getTextWidthByCache;exports.getTokenValue=e.getTokenValue;exports.getValue=e.getValue;exports.getViewColor=e.getViewColor;exports.injectDigitalTraceContextHeader=e.injectDigitalTraceContextHeader;exports.isStructuredCloneSupported=e.isStructuredCloneSupported;exports.mCls=e.mCls;exports.media=e.media;exports.mergeClasses=e.mergeClasses;exports.mergeRefs=e.mergeRefs;exports.preloadImage=e.preloadImage;exports.processDropdownItems=e.processDropdownItems;exports.throttle=e.throttle;exports.throttleWithLastCall=e.throttleWithLastCall;exports.transformClickStreamProperties=e.transformClickStreamProperties;exports.transformClickStreamPropertyValuesToString=e.transformClickStreamPropertyValuesToString;exports.truncateText=e.truncateText;exports.truncateTextCss=e.truncateTextCss;exports.useActiveTheme=e.useActiveTheme;exports.useBreakpoint=e.useBreakpoint;exports.useClickStream=e.useClickStream;exports.useDebouncedFn=e.useDebouncedFn;exports.useDebouncedValue=e.useDebouncedValue;exports.useDropdownItemClickHandler=e.useDropdownItemClickHandler;exports.useEventBus=e.useEventBus;exports.useImageLoader=e.useImageLoader;exports.visuallyHiddenCss=e.visuallyHiddenCss;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/utils-ChDQGRjv.cjs");exports.BreakpointProvider=e.BreakpointProvider;exports.ClickStreamProvider=e.ClickStreamProvider;exports.EClickStreamErrorType=e.EClickStreamErrorType;exports.EClickStreamStatusProcess=e.EClickStreamStatusProcess;exports.EventBusProvider=e.EventBusProvider;exports.MediaProvider=e.MediaProvider;exports.bubble=e.bubble;exports.clamp=e.clamp;exports.createClickStreamEventValue=e.createClickStreamEventValue;exports.createSafeResizeObserver=e.createSafeResizeObserver;exports.createStore=e.createStore;exports.debounce=e.debounce;exports.generateB3Headers=e.generateB3Headers;exports.getActiveTheme=e.getActiveTheme;exports.getCssProp=e.getCssProp;exports.getMFReactDOMClient=e.getMFReactDOMClient;exports.getTextWidth=e.getTextWidth;exports.getTextWidthByCache=e.getTextWidthByCache;exports.getTokenValue=e.getTokenValue;exports.getValue=e.getValue;exports.getViewColor=e.getViewColor;exports.injectDigitalTraceContextHeader=e.injectDigitalTraceContextHeader;exports.isStructuredCloneSupported=e.isStructuredCloneSupported;exports.mCls=e.mCls;exports.media=e.media;exports.mergeClasses=e.mergeClasses;exports.mergeRefs=e.mergeRefs;exports.preloadImage=e.preloadImage;exports.processDropdownItems=e.processDropdownItems;exports.throttle=e.throttle;exports.throttleWithLastCall=e.throttleWithLastCall;exports.transformClickStreamProperties=e.transformClickStreamProperties;exports.transformClickStreamPropertyValuesToString=e.transformClickStreamPropertyValuesToString;exports.truncateText=e.truncateText;exports.truncateTextCss=e.truncateTextCss;exports.useActiveTheme=e.useActiveTheme;exports.useBreakpoint=e.useBreakpoint;exports.useClickStream=e.useClickStream;exports.useDebouncedFn=e.useDebouncedFn;exports.useDebouncedValue=e.useDebouncedValue;exports.useDropdownItemClickHandler=e.useDropdownItemClickHandler;exports.useEventBus=e.useEventBus;exports.useImageLoader=e.useImageLoader;exports.visuallyHiddenCss=e.visuallyHiddenCss;
package/utils/index.d.ts CHANGED
@@ -19,5 +19,6 @@ export { isStructuredCloneSupported } from './isStructuredCloneSupported';
19
19
  export * from './mergeClasses';
20
20
  export { default as mergeRefs } from './mergeRefs';
21
21
  export * from './numberUtils';
22
+ export * from './react';
22
23
  export * from './styles';
23
24
  export { throttle, throttleWithLastCall } from './throttle';
package/utils/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { B as s, C as t, E as r, F as o, G as i, M as l, o as u, e as c, H as n, c as d, I as m, w as C, J as g, g as p, r as S, j as k, K as v, L as T, h, A as P, N as b, k as x, s as B, b as E, m as V, q as f, y, p as D, O as H, t as I, P as w, Q as A, a as L, R, n as W, d as j, S as F, T as M, u as O, i as q, U as z, x as G, v as J } from "../chunks/utils-YKicAHp0.mjs";
1
+ import { B as s, C as t, E as r, F as o, G as i, M as l, o as c, e as u, H as n, c as d, I as m, w as C, J as g, g as p, r as S, K as k, j as v, L as T, N as h, h as P, A as b, O as x, k as B, s as E, b as V, m as D, q as f, y, p as H, P as I, t as w, Q as M, R, a as A, S as F, n as L, d as O, T as W, U as j, u as q, i as z, V as G, x as J, v as K } from "../chunks/utils-u1KJ37g3.mjs";
2
2
  export {
3
3
  s as BreakpointProvider,
4
4
  t as ClickStreamProvider,
@@ -6,8 +6,8 @@ export {
6
6
  o as EClickStreamStatusProcess,
7
7
  i as EventBusProvider,
8
8
  l as MediaProvider,
9
- u as bubble,
10
- c as clamp,
9
+ c as bubble,
10
+ u as clamp,
11
11
  n as createClickStreamEventValue,
12
12
  d as createSafeResizeObserver,
13
13
  m as createStore,
@@ -15,32 +15,33 @@ export {
15
15
  g as generateB3Headers,
16
16
  p as getActiveTheme,
17
17
  S as getCssProp,
18
- k as getTextWidth,
19
- v as getTextWidthByCache,
20
- T as getTokenValue,
21
- h as getValue,
22
- P as getViewColor,
23
- b as injectDigitalTraceContextHeader,
24
- x as isStructuredCloneSupported,
25
- B as mCls,
26
- E as media,
27
- V as mergeClasses,
18
+ k as getMFReactDOMClient,
19
+ v as getTextWidth,
20
+ T as getTextWidthByCache,
21
+ h as getTokenValue,
22
+ P as getValue,
23
+ b as getViewColor,
24
+ x as injectDigitalTraceContextHeader,
25
+ B as isStructuredCloneSupported,
26
+ E as mCls,
27
+ V as media,
28
+ D as mergeClasses,
28
29
  f as mergeRefs,
29
30
  y as preloadImage,
30
- D as processDropdownItems,
31
- H as throttle,
32
- I as throttleWithLastCall,
33
- w as transformClickStreamProperties,
34
- A as transformClickStreamPropertyValuesToString,
35
- L as truncateText,
36
- R as truncateTextCss,
37
- W as useActiveTheme,
38
- j as useBreakpoint,
39
- F as useClickStream,
40
- M as useDebouncedFn,
41
- O as useDebouncedValue,
42
- q as useDropdownItemClickHandler,
43
- z as useEventBus,
44
- G as useImageLoader,
45
- J as visuallyHiddenCss
31
+ H as processDropdownItems,
32
+ I as throttle,
33
+ w as throttleWithLastCall,
34
+ M as transformClickStreamProperties,
35
+ R as transformClickStreamPropertyValuesToString,
36
+ A as truncateText,
37
+ F as truncateTextCss,
38
+ L as useActiveTheme,
39
+ O as useBreakpoint,
40
+ W as useClickStream,
41
+ j as useDebouncedFn,
42
+ q as useDebouncedValue,
43
+ z as useDropdownItemClickHandler,
44
+ G as useEventBus,
45
+ J as useImageLoader,
46
+ K as visuallyHiddenCss
46
47
  };
@@ -0,0 +1,7 @@
1
+ import { default as ReactDOMClient } from 'react-dom/client';
2
+
3
+ type TGetMFReactDOMClientParams = {
4
+ identifierPrefix: string;
5
+ };
6
+ export declare const getMFReactDOMClient: (reactDomClient: typeof ReactDOMClient, { identifierPrefix }: TGetMFReactDOMClientParams) => typeof ReactDOMClient;
7
+ export {};
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../chunks/utils-ChDQGRjv.cjs");exports.getMFReactDOMClient=e.getMFReactDOMClient;
@@ -0,0 +1 @@
1
+ export { getMFReactDOMClient } from './getMFReactDOMClient';
@@ -0,0 +1,4 @@
1
+ import { K as a } from "../../chunks/utils-u1KJ37g3.mjs";
2
+ export {
3
+ a as getMFReactDOMClient
4
+ };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../chunks/utils-CUW5bd8S.cjs");exports.truncateText=t.truncateText;exports.truncateTextCss=t.truncateTextCss;exports.visuallyHiddenCss=t.visuallyHiddenCss;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../chunks/utils-ChDQGRjv.cjs");exports.truncateText=t.truncateText;exports.truncateTextCss=t.truncateTextCss;exports.visuallyHiddenCss=t.visuallyHiddenCss;
@@ -1,4 +1,4 @@
1
- import { a as t, R as e, v as r } from "../../chunks/utils-YKicAHp0.mjs";
1
+ import { a as t, S as e, v as r } from "../../chunks/utils-u1KJ37g3.mjs";
2
2
  export {
3
3
  t as truncateText,
4
4
  e as truncateTextCss,
@@ -1,43 +0,0 @@
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"),h=require("@salutejs/sdds-themes/tokens/sdds_finai"),n=require("styled-components"),u=require("./utils-CUW5bd8S.cjs"),y=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=y.forwardRef(({dropdownProps:t,iconSize:e,iconOrientation:d="vertical",view:r="secondary",size:o="m",absolute:p=!1,absoluteOffset:l=12,style:x,...c},f)=>{const g=d==="vertical"?I.IconDotsVerticalOutline:I.IconDotsHorizontalOutline,C=i.jsx(Q.EmbeddedButton,{ref:f,view:r,size:o,style:x,...c,children:i.jsx(g,{size:e??"s",color:h.textPrimary})}),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=y.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,...g},C)=>y.createElement(nt,{size:"xs",appearance:"transparent",...g,key:c??`${g==null?void 0:g.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;}}"],()=>h.inverseTextPrimary,()=>n.css(h.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=y.useRef(null),[g,C]=y.useState(!1),T=y.useRef(),{schedule:b,getContainerId:z,createContainer:B}=yt(),L=y.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 Y=w.getBoundingClientRect().width,J=m.getBoundingClientRect().width;w.detach();const K=window.devicePixelRatio||1;return(Y-J)*K>xt}catch{return!1}},[d]),F=y.useCallback(()=>{L()&&(T.current=setTimeout(()=>{C(!0)},l))},[L,l]),G=y.useCallback(()=>{clearTimeout(T.current),setTimeout(()=>{C(!1),b()},x)},[x,b]),{variant:V,bold:D,size:E,...S}=p,P={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,{...P,children:o});return y.useEffect(()=>B(),[B]),y.useEffect(()=>()=>{clearTimeout(T.current),b()},[b]),i.jsx(ut,{className:r,onMouseEnter:F,onMouseLeave:G,children:g?i.jsx(mt,{opened:g,text:t??"",target:$,frame:z(),...c}):$})},ft=()=>n.css(h.bodyMBold),q=()=>n.css(h.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(),()=>h.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(),()=>h.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(),()=>h.textSecondary);n(j).withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledSubtitleTypography"})(["color:",";"],()=>h.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:h.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:g})=>i.jsxs(wt,{className:u.mergeClasses(s.header,f),children:[i.jsxs(St,{children:[i.jsxs(vt,{children:[t&&g?i.jsx(bt,{underline:"none",...g,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:h.textSecondary}}),className:u.mergeClasses(s.popoverInfo),...x})})]}),o&&(typeof o=="string"?i.jsx(Tt,{variant:"BodyXS",tooltipText:o,style:{color:h.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;}}"," ",""],h.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=y.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;
@@ -1 +0,0 @@
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,85 +0,0 @@
1
- import { jsxs as c, jsx as l } from "react/jsx-runtime";
2
- import { Box as T } from "../components/Box/index.mjs";
3
- import { IconButton as x } from "@salutejs/sdds-finai";
4
- import { T as b, a as S } from "./AnalyticalWidget-Cdo6_s1Y.mjs";
5
- import { IconChevronLeft as u } from "@salutejs/plasma-icons";
6
- import { d as C } from "./utils-YKicAHp0.mjs";
7
- import { spacing2x as k, spacing12x as N, spacing8x as w, textSecondary as z } 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
- }, v = o.div.withConfig({
19
- displayName: "styled__BlockTitleContainer"
20
- })(["display:flex;justify-content:space-between;width:100%;gap:", ";"], () => N), L = o.div.withConfig({
21
- displayName: "styled__BlockTitleBlock"
22
- })(["display:flex;align-items:center;gap:", ";margin-bottom:", ";"], () => k, () => k), I = o.div.withConfig({
23
- displayName: "styled__BlockTitleCustomBlock"
24
- })(["width:100%;margin-bottom:", ";"], () => k), j = o(b).withConfig({
25
- displayName: "styled__BlockTitleDescription"
26
- })(["color:", ";padding-left:", ";"], () => z, ({
27
- $hasLeftSlot: t
28
- }) => t ? "28px" : "0"), D = o.div.withConfig({
29
- displayName: "styled__BlockTitleLeftBlock"
30
- })(["display:flex;min-height:100%;flex-direction:column;justify-content:end;"]), E = o.div.withConfig({
31
- displayName: "styled__BlockTitleRightBlock"
32
- })(["display:flex;min-height:100%;align-items:end;"]), H = o.div.withConfig({
33
- displayName: "styled__BlockTitleContentLeft"
34
- })(["display:flex;align-items:flex-start;gap:", ";flex:1;min-width:0;"], () => w), $ = o.div.withConfig({
35
- displayName: "styled__BlockTitleBackButtonContainer"
36
- })(["margin-top:3px;"]), f = {
37
- titleBadgeSize: "m",
38
- titleIconSize: "s"
39
- }, A = (t) => t === "H4" || t === "H5" ? {
40
- titleBadgeSize: "s",
41
- titleIconSize: "xs"
42
- } : f, R = (t, i) => ({
43
- ...i ? A(t) : f,
44
- buttonSize: i ? "xs" : "s",
45
- actionIconSize: i ? "xs" : "s"
46
- }), F = (t) => t ? "xxs" : "xs", a = (t, i) => typeof t == "function" ? t(i) : t, M = ({
47
- title: t,
48
- titleSize: i = "H2",
49
- titleLeftSlot: r,
50
- titleRightSlot: m,
51
- description: d,
52
- topSlot: g,
53
- rightSlot: h,
54
- disableMediaAdaptive: _ = !1,
55
- containerProps: n,
56
- onBackButtonClick: B
57
- }) => {
58
- const {
59
- down: y
60
- } = C(), p = !_ && y("xl"), s = R(i, p);
61
- return /* @__PURE__ */ c(T, { ...n, className: `${e.container} ${(n == null ? void 0 : n.className) ?? ""}`, children: [
62
- /* @__PURE__ */ l(I, { className: e.topBlock, children: a(g, s) }),
63
- /* @__PURE__ */ c(v, { children: [
64
- /* @__PURE__ */ c(H, { className: e.contentLeft, children: [
65
- B && /* @__PURE__ */ l($, { className: e.backButton, children: /* @__PURE__ */ l(x, { size: F(p), view: "secondary", pin: "circle-circle", onClick: B, children: /* @__PURE__ */ l(u, { size: "xs", color: "inherit" }) }) }),
66
- /* @__PURE__ */ c(D, { children: [
67
- /* @__PURE__ */ c(L, { className: e.titleBlock, children: [
68
- a(r, s),
69
- /* @__PURE__ */ l(S, { tooltipText: typeof t == "string" ? t : void 0, variant: i, className: e.title, lines: 2, children: t }),
70
- a(m, s)
71
- ] }),
72
- d && /* @__PURE__ */ l(j, { variant: "BodyS", className: e.description, $hasLeftSlot: !!r, children: d })
73
- ] })
74
- ] }),
75
- /* @__PURE__ */ l(E, { className: e.rightBlock, children: a(h, s) })
76
- ] })
77
- ] });
78
- };
79
- export {
80
- M as B,
81
- R as a,
82
- e as b,
83
- F as g,
84
- a as r
85
- };
@@ -1 +0,0 @@
1
- "use strict";const c=require("react/jsx-runtime"),Y=require("@salutejs/plasma-icons"),Z=require("../components/Box/index.cjs"),ee=require("@salutejs/sdds-finai"),s=require("@salutejs/sdds-themes/tokens/sdds_finai"),h=require("styled-components"),$=require("./utils-CUW5bd8S.cjs"),n=require("react"),z={icon:"left-panel__toggle-button",leftBlockIsResizing:"left-panel__is-resizing"},te=72,ne=56,q=240,se=540,j=.2,oe=h(Z.Box).withConfig({displayName:"styled__PanelContainer"})(["width:100%;height:100%;min-width:","px;display:flex;background-color:",";margin-right:",";border-radius:",";box-shadow:",";transition:",";max-width:",";position:relative;overflow:hidden;padding-right:",";"],({minWidth:e})=>e,()=>s.surfaceSolidCard,s.spacing8x,s.spacing8x,()=>s.shadowDownSoftS,e=>e.$resizing?"none":`max-width ${j}s ease-in-out, opacity ${j}s ease-in-out`,e=>e.width!==void 0?`${Math.min(e.width,e.maxWidth)}px`:`${e.minWidth}px`,({showResizeable:e})=>e?s.spacing6x:0),ie=h.div.withConfig({displayName:"styled__PanelCrossfade"})(["flex:1 1 auto;min-width:0;height:100%;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);overflow:hidden;"]),W=h.css(["grid-area:1 / 1;min-width:0;min-height:0;opacity:",";visibility:",";pointer-events:",";transition:opacity ","s ease-in-out,visibility 0s ",";"],({$active:e})=>e?1:0,({$active:e})=>e?"visible":"hidden",({$active:e})=>e?"auto":"none",j,({$active:e})=>e?"0s":`${j}s`),re=h.div.withConfig({displayName:"styled__PanelContent"})(["",";width:100%;height:100%;margin-top:0;position:relative;"],W),ae=h.div.withConfig({displayName:"styled__PanelCollapsedContent"})(["",";height:100%;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:",";width:100%;"],W,({$isAdaptive1280:e,showResizeable:t})=>t?e?"6px":"10px":s.spacing8x),le=h.div.withConfig({displayName:"styled__PanelCollapsedBody"})(["gap:",";display:flex;flex-direction:column;"],s.spacing8x),ce=h(ee.EmbedIconButton).withConfig({displayName:"styled__PanelIconButton"})(["z-index:1;position:",";top:",";right:",";width:","px !important;height:","px !important;.left-panel__toggle-button{transform:",";}"],e=>e.isAbsolute?"absolute":"static",s.spacing8x,s.spacing8x,({$isAdaptive1280:e})=>e?32:40,({$isAdaptive1280:e})=>e?32:40,e=>e.collapsed?"rotate(270deg)":"rotate(90deg)"),de=h.div.withConfig({displayName:"styled__PanelSeparator"})(["position:absolute;top:0;right:0px;width:12px;height:100%;cursor:col-resize;z-index:10;&::before{content:'';position:absolute;top:0;left:50%;transform:translateX(-50%);width:12px;height:100%;background-color:",";}&::after{content:'';position:absolute;top:",";left:50%;transform:translateX(-50%);border-radius:95px;width:4px;height:",";background-color:",";}&:hover{&::after{background-color:",";}}"],()=>s.surfaceSolidSecondary,`calc(50% - ${s.spacing16x} / 2)`,s.spacing16x,()=>s.outlineSolidSecondary,()=>s.outlineSolidSecondaryHover),k=({onClick:e,collapsed:t=!1,isAbsolute:i=!1,isAdaptive1280:r=!1,...u})=>c.jsx(ce,{onClick:e,$isAdaptive1280:r,collapsed:t,isAbsolute:i,view:"secondary",size:r?"s":"l",...u,children:c.jsx(Y.IconArrowBarDown,{className:z.icon})}),T=({setWidth:e,isResizingRef:t,setIsResizing:i,panelRef:r,minWidth:u,maxWidth:b,parentRef:P,isCollapsed:C,onResize:m})=>{const L=n.useCallback(()=>{var f;document.body.style.cursor="col-resize",document.body.style.userSelect="none",t.current=!0,i(!0),(f=r.current)==null||f.classList.add(z.leftBlockIsResizing)},[r,t,i]);return n.useEffect(()=>{const f=()=>{var _,a;document.body.style.cursor="auto",document.body.style.userSelect="",t.current=!1,i(!1),(_=r.current)==null||_.classList.remove(z.leftBlockIsResizing);const g=((a=r.current)==null?void 0:a.clientWidth)??0;g>u&&g<q&&e(u)},B=g=>{if(!t.current||!r.current||!P.current)return;g.preventDefault();const d=P.current.getBoundingClientRect(),a=g.clientX-d.left,l=$.clamp(u,a,b);e(l),!C&&m&&m(l)},x=$.throttleWithLastCall(B,16);return window.addEventListener("mousemove",x),window.addEventListener("mouseup",f),()=>{window.removeEventListener("mousemove",x),window.removeEventListener("mouseup",f)}},[e,t,i,r,u,b,P,C,m]),{startResizing:L}},X=e=>({buttonSize:e?"xs":"s"}),H=(e,t)=>t??(e?ne:te),E=(e,t)=>typeof e=="function"?e(t):e,O=({widthState:e,minWidth:t,maxWidth:i=se,disableMediaAdaptive:r=!1,collapseState:u,containerProps:b,contentProps:P,collapsedContentProps:C,expandedContent:m,collapsedContent:L,collapsedFooterContent:f,showToggleButton:B=!0,showResizeable:x=!0,onResize:g,onToggleCollapse:d})=>{const{down:_}=$.useBreakpoint(),a=!r&&_("xl"),l=H(a,t),w=n.useMemo(()=>X(a),[a]),R=n.useMemo(()=>E(m,w),[m,w]),F=n.useMemo(()=>E(L,w),[L,w]),K=n.useMemo(()=>E(f,w),[f,w]),V=n.useState(!1),[o,I]=u??V,G=n.useState(Number(o?l:i)),[y,v]=e??G,N=n.useRef(null),A=n.useRef(null),M=n.useRef(!1),[J,Q]=n.useState(!1),{startResizing:U}=T({setWidth:v,isResizingRef:M,setIsResizing:Q,panelRef:N,minWidth:l,maxWidth:i,parentRef:A,isCollapsed:o,onResize:g});n.useEffect(()=>{if(y!==void 0){const p=y<q;p!==o&&(I(p),d&&!M.current&&d(p))}},[y,o,d,I]),n.useEffect(()=>{!M.current&&o&&y!==l&&v(l)},[o,l,v,y]);const D=n.useCallback(()=>{I(p=>{const S=!p;return d&&d(S),v(S?l:i),S})},[d,I,v,l,i]);return c.jsxs(oe,{ref:N,collapsed:o,maxWidth:i,minWidth:l,width:y,$resizing:J,showResizeable:x,...b,children:[c.jsxs(ie,{children:[c.jsxs(re,{$active:!o,"aria-hidden":o,...P,children:[B&&c.jsx(k,{onClick:D,collapsed:o,isAdaptive1280:a,isAbsolute:!0}),R]}),c.jsxs(ae,{$active:o,"aria-hidden":!o,$isAdaptive1280:a,showResizeable:x,...C,children:[c.jsxs(le,{children:[B&&c.jsx(k,{onClick:D,collapsed:o,isAdaptive1280:a}),F]}),K]})]}),x&&c.jsx(de,{onMouseDown:p=>{var S;p.preventDefault(),(S=N.current)!=null&&S.parentElement&&(A.current=N.current.parentElement),U()}})]})};O.LeftPanelToggleButton=k;exports.LeftPanel=O;exports.LeftPanelToggleButton=k;exports.getLeftPanelMinWidth=H;exports.getLeftPanelSlotSizes=X;exports.renderLeftPanelSlot=E;exports.toggleButtonClassNames=z;exports.useResize=T;
@@ -1 +0,0 @@
1
- "use strict";const u=require("@salutejs/sdds-finai"),e=require("react/jsx-runtime"),f=require("./AnalyticalWidget-wke3Jm3X.cjs"),w=require("@salutejs/plasma-icons"),$=require("@salutejs/sdds-themes/tokens/sdds_finai"),m=require("./utils-CUW5bd8S.cjs"),q=require("react"),o=require("../constants/index.cjs"),n=require("styled-components"),s="PageTitle__",i={root:`${s}root`,breadcrumbs:`${s}breadcrumbs`,content:`${s}content`,leftBlock:`${s}left-block`,titleBlock:`${s}title-block`,title:`${s}title`,subtitle:`${s}subtitle`,titleSlot:`${s}title-slot`,rightBlock:`${s}right-block`,backIconButton:`${s}back-icon-block`},R=n.div.attrs({className:i.root}).withConfig({displayName:"PageTitlestyled__StyledRoot"})(["width:100%;display:flex;flex-direction:column;gap:",";"],()=>o.s.x8),z=n.div.attrs({className:i.breadcrumbs}).withConfig({displayName:"PageTitlestyled__StyledBreadcrumbs"})([""]),I=n.div.attrs({className:i.content}).withConfig({displayName:"PageTitlestyled__StyledContent"})(["display:flex;justify-content:space-between;align-items:flex-start;gap:",";"],()=>o.s.x12),A=n.div.attrs({className:i.leftBlock}).withConfig({displayName:"PageTitlestyled__StyledLeftBlock"})(["display:flex;align-items:flex-start;gap:",";flex:1;min-width:0;"],()=>o.s.x8),L=n.div.attrs({className:i.titleBlock}).withConfig({displayName:"PageTitlestyled__StyledTitleBlock"})(["display:flex;flex-direction:column;gap:",";flex-shrink:1;min-width:0;"],()=>o.s.x2),W=n.div.attrs({className:i.backIconButton}).withConfig({displayName:"PageTitlestyled__StyledBackButtonContainer"})(["margin-top:",";"],({$isAdaptive1280:t})=>t?"1px":"6px"),H=n.div.attrs({className:i.title}).withConfig({displayName:"PageTitlestyled__StyledTitle"})([""]),E=n.div.attrs({className:i.subtitle}).withConfig({displayName:"PageTitlestyled__StyledSubtitle"})([""]),F=n.div.attrs({className:i.titleSlot}).withConfig({displayName:"PageTitlestyled__StyledTitleSlot"})(["margin-top:3px;"]),D=n.div.attrs({className:i.rightBlock}).withConfig({displayName:"PageTitlestyled__StyledRightBlock"})(["display:flex;align-items:flex-end;flex-shrink:0;align-self:flex-end;"]),S=t=>({buttonSize:t?"xs":"s"}),a=(t,l)=>typeof t=="function"?t(l):t,G=({isAdaptive1280:t,...l})=>e.jsx(W,{$isAdaptive1280:t,children:e.jsx(u.IconButton,{size:"xs",view:"secondary",className:i.backIconButton,pin:"circle-circle",...l,children:e.jsx(w.IconChevronLeft,{size:"xs",color:"inherit"})})}),J=({breadcrumbs:t})=>{if(!t)return null;const l={size:"m",...t};return e.jsx(z,{children:e.jsx(u.Breadcrumbs,{...l})})},K=({title:t,titleTypographyProps:l})=>t?e.jsx(H,{children:e.jsx(f.TypographyWithAutoTooltip,{variant:"H2",bold:!0,tooltipText:(l&&"tooltipText"in l?l.tooltipText:void 0)??t,...l,children:t})}):null,M=({subtitle:t,subtitleTypographyProps:l})=>t?e.jsx(E,{children:e.jsx(f.TypographyWithAutoTooltip,{variant:"BodyS",color:$.textSecondary,tooltipText:(l&&"tooltipText"in l?l.tooltipText:void 0)??t,...l,children:t})}):null,T=q.forwardRef(({title:t,titleTypographyProps:l,subtitle:c,subtitleTypographyProps:h,titleSlot:p,rightSlot:B,disableMediaAdaptive:k=!1,breadcrumbs:d,$css:N,className:_,showBackButton:j,onBackClick:b,...C},v)=>{const{down:P}=m.useBreakpoint(),r=!k&&P("xl"),x=S(r),g=a(p,x),y=a(B,x);return e.jsxs(R,{ref:v,$css:N,className:m.mCls(i.root,_),...C,children:[d&&e.jsx(J,{breadcrumbs:d}),e.jsxs(I,{children:[e.jsxs(A,{children:[j&&e.jsx(G,{isAdaptive1280:r,onClick:b}),(t||c)&&e.jsxs(L,{children:[e.jsx(K,{title:t,titleTypographyProps:l}),e.jsx(M,{subtitle:c,subtitleTypographyProps:h})]}),g&&e.jsx(F,{children:g})]}),y&&e.jsx(D,{children:y})]})]})});T.displayName="PageTitle";exports.PageTitle=T;exports.getPageTitleSlotSizes=S;exports.pageTitleClassNames=i;exports.renderPageTitleSlot=a;
@@ -1,123 +0,0 @@
1
- import { Breadcrumbs as C, IconButton as w } from "@salutejs/sdds-finai";
2
- import { jsxs as n, jsx as l } from "react/jsx-runtime";
3
- import { a as S } from "./AnalyticalWidget-Cdo6_s1Y.mjs";
4
- import { IconChevronLeft as P } from "@salutejs/plasma-icons";
5
- import { textSecondary as $ } from "@salutejs/sdds-themes/tokens/sdds_finai";
6
- import { d as R, s as z } from "./utils-YKicAHp0.mjs";
7
- import { forwardRef as I } from "react";
8
- import { s } from "../constants/index.mjs";
9
- import a from "styled-components";
10
- const o = "PageTitle__", i = {
11
- root: `${o}root`,
12
- breadcrumbs: `${o}breadcrumbs`,
13
- content: `${o}content`,
14
- leftBlock: `${o}left-block`,
15
- titleBlock: `${o}title-block`,
16
- title: `${o}title`,
17
- subtitle: `${o}subtitle`,
18
- titleSlot: `${o}title-slot`,
19
- rightBlock: `${o}right-block`,
20
- backIconButton: `${o}back-icon-block`
21
- }, j = a.div.attrs({
22
- className: i.root
23
- }).withConfig({
24
- displayName: "PageTitlestyled__StyledRoot"
25
- })(["width:100%;display:flex;flex-direction:column;gap:", ";"], () => s.x8), A = a.div.attrs({
26
- className: i.breadcrumbs
27
- }).withConfig({
28
- displayName: "PageTitlestyled__StyledBreadcrumbs"
29
- })([""]), L = a.div.attrs({
30
- className: i.content
31
- }).withConfig({
32
- displayName: "PageTitlestyled__StyledContent"
33
- })(["display:flex;justify-content:space-between;align-items:flex-start;gap:", ";"], () => s.x12), H = a.div.attrs({
34
- className: i.leftBlock
35
- }).withConfig({
36
- displayName: "PageTitlestyled__StyledLeftBlock"
37
- })(["display:flex;align-items:flex-start;gap:", ";flex:1;min-width:0;"], () => s.x8), E = a.div.attrs({
38
- className: i.titleBlock
39
- }).withConfig({
40
- displayName: "PageTitlestyled__StyledTitleBlock"
41
- })(["display:flex;flex-direction:column;gap:", ";flex-shrink:1;min-width:0;"], () => s.x2), W = a.div.attrs({
42
- className: i.backIconButton
43
- }).withConfig({
44
- displayName: "PageTitlestyled__StyledBackButtonContainer"
45
- })(["margin-top:", ";"], ({
46
- $isAdaptive1280: t
47
- }) => t ? "1px" : "6px"), q = a.div.attrs({
48
- className: i.title
49
- }).withConfig({
50
- displayName: "PageTitlestyled__StyledTitle"
51
- })([""]), D = a.div.attrs({
52
- className: i.subtitle
53
- }).withConfig({
54
- displayName: "PageTitlestyled__StyledSubtitle"
55
- })([""]), F = a.div.attrs({
56
- className: i.titleSlot
57
- }).withConfig({
58
- displayName: "PageTitlestyled__StyledTitleSlot"
59
- })(["margin-top:3px;"]), G = a.div.attrs({
60
- className: i.rightBlock
61
- }).withConfig({
62
- displayName: "PageTitlestyled__StyledRightBlock"
63
- })(["display:flex;align-items:flex-end;flex-shrink:0;align-self:flex-end;"]), J = (t) => ({
64
- buttonSize: t ? "xs" : "s"
65
- }), y = (t, e) => typeof t == "function" ? t(e) : t, K = ({
66
- isAdaptive1280: t,
67
- ...e
68
- }) => /* @__PURE__ */ l(W, { $isAdaptive1280: t, children: /* @__PURE__ */ l(w, { size: "xs", view: "secondary", className: i.backIconButton, pin: "circle-circle", ...e, children: /* @__PURE__ */ l(P, { size: "xs", color: "inherit" }) }) }), M = ({
69
- breadcrumbs: t
70
- }) => {
71
- if (!t)
72
- return null;
73
- const e = {
74
- size: "m",
75
- ...t
76
- };
77
- return /* @__PURE__ */ l(A, { children: /* @__PURE__ */ l(C, { ...e }) });
78
- }, O = ({
79
- title: t,
80
- titleTypographyProps: e
81
- }) => t ? /* @__PURE__ */ l(q, { children: /* @__PURE__ */ l(S, { variant: "H2", bold: !0, tooltipText: (e && "tooltipText" in e ? e.tooltipText : void 0) ?? t, ...e, children: t }) }) : null, Q = ({
82
- subtitle: t,
83
- subtitleTypographyProps: e
84
- }) => t ? /* @__PURE__ */ l(D, { children: /* @__PURE__ */ l(S, { variant: "BodyS", color: $, tooltipText: (e && "tooltipText" in e ? e.tooltipText : void 0) ?? t, ...e, children: t }) }) : null, U = I(({
85
- title: t,
86
- titleTypographyProps: e,
87
- subtitle: c,
88
- subtitleTypographyProps: p,
89
- titleSlot: x,
90
- rightSlot: h,
91
- disableMediaAdaptive: u = !1,
92
- breadcrumbs: d,
93
- $css: T,
94
- className: B,
95
- showBackButton: k,
96
- onBackClick: N,
97
- ..._
98
- }, b) => {
99
- const {
100
- down: v
101
- } = R(), r = !u && v("xl"), m = J(r), f = y(x, m), g = y(h, m);
102
- return /* @__PURE__ */ n(j, { ref: b, $css: T, className: z(i.root, B), ..._, children: [
103
- d && /* @__PURE__ */ l(M, { breadcrumbs: d }),
104
- /* @__PURE__ */ n(L, { children: [
105
- /* @__PURE__ */ n(H, { children: [
106
- k && /* @__PURE__ */ l(K, { isAdaptive1280: r, onClick: N }),
107
- (t || c) && /* @__PURE__ */ n(E, { children: [
108
- /* @__PURE__ */ l(O, { title: t, titleTypographyProps: e }),
109
- /* @__PURE__ */ l(Q, { subtitle: c, subtitleTypographyProps: p })
110
- ] }),
111
- f && /* @__PURE__ */ l(F, { children: f })
112
- ] }),
113
- g && /* @__PURE__ */ l(G, { children: g })
114
- ] })
115
- ] });
116
- });
117
- U.displayName = "PageTitle";
118
- export {
119
- U as P,
120
- J as g,
121
- i as p,
122
- y as r
123
- };