@daisforge/ui 1.22.0 → 1.24.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 (498) hide show
  1. package/chunks/AiAgentPopup-CLGSjg5L.cjs +11 -0
  2. package/chunks/AiAgentPopup-CtMhai1X.mjs +797 -0
  3. package/chunks/AnalyticalWidget-Bvcm1qpU.cjs +43 -0
  4. package/chunks/AnalyticalWidget-CRfihris.mjs +352 -0
  5. package/chunks/ApprovalCenter-D7K7J-QB.cjs +1 -0
  6. package/chunks/{ApprovalCenter-DLKZP2AO.mjs → ApprovalCenter-dJpI91uN.mjs} +10 -10
  7. package/chunks/BlockTitle-CcYYHiOo.cjs +1 -0
  8. package/chunks/{BlockTitle-DsXxImR6.mjs → BlockTitle-DCmM-9AN.mjs} +2 -2
  9. package/chunks/{Container-DbZwlfIM.mjs → Container-C7PzvUwd.mjs} +1 -1
  10. package/chunks/{Container-DHnX1sHY.cjs → Container-bVqI3en9.cjs} +1 -1
  11. package/chunks/{EmptyState-DH1xawxg.cjs → EmptyState-D-bmtvmy.cjs} +1 -1
  12. package/chunks/{EmptyState-CUCseg9M.mjs → EmptyState-ZsOlvU4d.mjs} +1 -1
  13. package/chunks/{FiltersActions-BJ5gD6Nx.mjs → FiltersActions-DA06ZTCK.mjs} +15 -15
  14. package/chunks/FiltersActions-DqIbyWHy.cjs +1 -0
  15. package/chunks/{FormSegmentGroup-BYQ6yMK1.cjs → FormSegmentGroup-CNIqOYfm.cjs} +1 -1
  16. package/chunks/{FormSegmentGroup-C9qYxYT9.mjs → FormSegmentGroup-DwTRM58f.mjs} +1 -1
  17. package/chunks/{GridDND-DK6SAO8q.cjs → GridDND-Bwmr7gla.cjs} +1 -1
  18. package/chunks/{GridDND-CqvpXgCY.mjs → GridDND-DC5VoxEY.mjs} +83 -83
  19. package/chunks/{LeftPanel-C5SsoRJS.mjs → LeftPanel-C10BLKIn.mjs} +1 -1
  20. package/chunks/{LeftPanel-AyuV7bGS.cjs → LeftPanel-upGFk7jM.cjs} +1 -1
  21. package/chunks/{ListOfFilters-CfV2bs_4.mjs → ListOfFilters-Cwqz354m.mjs} +3 -3
  22. package/chunks/{ListOfFilters-mqTsQbq_.cjs → ListOfFilters-DSysYwOU.cjs} +1 -1
  23. package/chunks/{MassActions-C6LY-g9r.mjs → MassActions-Bzf8AR_L.mjs} +46 -46
  24. package/chunks/MassActions-yxSUA4Vl.cjs +1 -0
  25. package/chunks/PageTitle-Bg4PNEXS.cjs +9 -0
  26. package/chunks/{PageTitle-DkfAiZM4.mjs → PageTitle-CXtNgH-b.mjs} +7 -7
  27. package/chunks/{SplitView-BqS1Jbo4.mjs → SplitView-BzamJzNc.mjs} +17 -17
  28. package/chunks/{SplitView-DNmd4sJe.cjs → SplitView-DeJ3V-kq.cjs} +1 -1
  29. package/chunks/Stories-CNlL0Bcb.cjs +1 -0
  30. package/chunks/{Stories-BnHxMCEZ.mjs → Stories-UUV0GNEV.mjs} +33 -33
  31. package/chunks/{Table-tUWuA3Ri.mjs → Table-C-03ZtkJ.mjs} +2719 -2671
  32. package/chunks/Table-C1u87WP_.cjs +31 -0
  33. package/chunks/TableCanvas-IDEevoRM.cjs +30 -0
  34. package/chunks/{TableCanvas-BX5aciu7.mjs → TableCanvas-SPpKEgwz.mjs} +5988 -5636
  35. package/chunks/TableGlide-eny8NAi4.cjs +1 -0
  36. package/chunks/TableGlide-oNq4dFXT.mjs +9222 -0
  37. package/chunks/{styles-CJ5y9FKW.mjs → styles-CJPkBVWK.mjs} +6 -6
  38. package/chunks/{styles-kUWPuNSD.cjs → styles-CpC_FuBg.cjs} +1 -1
  39. package/chunks/{utils-u1KJ37g3.mjs → utils-Hu77fGGe.mjs} +102 -102
  40. package/chunks/{utils-ChDQGRjv.cjs → utils-OQNruMpn.cjs} +5 -5
  41. package/components/AiAgentPopover/index.cjs +1 -1
  42. package/components/AiAgentPopover/index.mjs +1 -1
  43. package/components/AiAgentPopup/AiAgentInput.d.ts +3 -0
  44. package/components/AiAgentPopup/AiAgentLeftPanel.d.ts +6 -0
  45. package/components/AiAgentPopup/AiAgentPopup.constants.d.ts +32 -0
  46. package/components/AiAgentPopup/AiAgentPopup.d.ts +3 -0
  47. package/components/AiAgentPopup/AiAgentPopup.styled.d.ts +33 -0
  48. package/components/AiAgentPopup/AiAgentPopup.types.d.ts +83 -0
  49. package/components/AiAgentPopup/AiAgentPopup.utils.d.ts +12 -0
  50. package/components/AiAgentPopup/AiAgentSurface.d.ts +6 -0
  51. package/components/AiAgentPopup/hooks/useDrag.d.ts +18 -0
  52. package/components/AiAgentPopup/hooks/useIsDarkTheme.d.ts +1 -0
  53. package/components/AiAgentPopup/hooks/usePopupPosition.d.ts +20 -0
  54. package/components/AiAgentPopup/hooks/usePopupResize.d.ts +40 -0
  55. package/components/AiAgentPopup/hooks/useStateStorage.d.ts +6 -0
  56. package/components/AiAgentPopup/index.cjs +1 -0
  57. package/components/AiAgentPopup/index.d.ts +3 -0
  58. package/components/AiAgentPopup/index.mjs +5 -0
  59. package/components/AnalyticalWidget/AnalyticalWidget.d.ts +8 -24
  60. package/components/AnalyticalWidget/components/AnalyticalWidgetButtons/AnalyticalWidgetIconButtonDots.d.ts +8 -24
  61. package/components/AnalyticalWidget/components/AnalyticalWidgetButtons/index.cjs +1 -1
  62. package/components/AnalyticalWidget/components/AnalyticalWidgetButtons/index.mjs +1 -1
  63. package/components/AnalyticalWidget/components/AnalyticalWidgetChips/index.cjs +1 -1
  64. package/components/AnalyticalWidget/components/AnalyticalWidgetChips/index.mjs +2 -2
  65. package/components/AnalyticalWidget/components/AnalyticalWidgetHeader/index.cjs +1 -1
  66. package/components/AnalyticalWidget/components/AnalyticalWidgetHeader/index.mjs +2 -2
  67. package/components/AnalyticalWidget/index.cjs +1 -1
  68. package/components/AnalyticalWidget/index.mjs +1 -1
  69. package/components/ApprovalCenter/components/index.cjs +1 -1
  70. package/components/ApprovalCenter/components/index.mjs +1 -1
  71. package/components/ApprovalCenter/index.cjs +1 -1
  72. package/components/ApprovalCenter/index.mjs +1 -1
  73. package/components/Autocomplete/Autocomplete.d.ts +128 -128
  74. package/components/AutocompleteSearch/index.cjs +1 -1
  75. package/components/AutocompleteSearch/index.mjs +2 -2
  76. package/components/BlockGradientScroll/index.cjs +1 -1
  77. package/components/BlockGradientScroll/index.mjs +1 -1
  78. package/components/BlockTitle/index.cjs +1 -1
  79. package/components/BlockTitle/index.mjs +1 -1
  80. package/components/BlockTitle/utils/index.cjs +1 -1
  81. package/components/BlockTitle/utils/index.mjs +1 -1
  82. package/components/Collapse/index.cjs +1 -1
  83. package/components/Collapse/index.mjs +1 -1
  84. package/components/Combobox/index.cjs +1 -1
  85. package/components/Combobox/index.mjs +1 -1
  86. package/components/EmptyState/components/index.cjs +1 -1
  87. package/components/EmptyState/components/index.mjs +1 -1
  88. package/components/EmptyState/index.cjs +1 -1
  89. package/components/EmptyState/index.mjs +1 -1
  90. package/components/GridDND/index.cjs +1 -1
  91. package/components/GridDND/index.mjs +1 -1
  92. package/components/GridDND/utils/index.cjs +1 -1
  93. package/components/GridDND/utils/index.mjs +1 -1
  94. package/components/IconButton/index.cjs +1 -1
  95. package/components/IconButton/index.mjs +1 -1
  96. package/components/LeftPanel/components/index.cjs +1 -1
  97. package/components/LeftPanel/components/index.mjs +1 -1
  98. package/components/LeftPanel/hooks/index.cjs +1 -1
  99. package/components/LeftPanel/hooks/index.mjs +1 -1
  100. package/components/LeftPanel/index.cjs +1 -1
  101. package/components/LeftPanel/index.mjs +1 -1
  102. package/components/LeftPanel/utils/index.cjs +1 -1
  103. package/components/LeftPanel/utils/index.mjs +1 -1
  104. package/components/ListOfFilters/index.cjs +1 -1
  105. package/components/ListOfFilters/index.mjs +1 -1
  106. package/components/MassActions/hooks/index.cjs +1 -1
  107. package/components/MassActions/hooks/index.mjs +1 -1
  108. package/components/MassActions/index.cjs +1 -1
  109. package/components/MassActions/index.mjs +1 -1
  110. package/components/ModalDF/index.cjs +1 -1
  111. package/components/ModalDF/index.mjs +1 -1
  112. package/components/Notification/index.cjs +1 -1
  113. package/components/Notification/index.mjs +6 -6
  114. package/components/PageTitle/index.cjs +1 -1
  115. package/components/PageTitle/index.mjs +1 -1
  116. package/components/PageTitle/utils/index.cjs +1 -1
  117. package/components/PageTitle/utils/index.mjs +1 -1
  118. package/components/PopoverDF/index.cjs +1 -1
  119. package/components/PopoverDF/index.mjs +9 -9
  120. package/components/PopoverDF/styled.d.ts +1 -23
  121. package/components/PopupDF/index.cjs +1 -1
  122. package/components/PopupDF/index.mjs +118 -143
  123. package/components/SplitView/index.cjs +1 -1
  124. package/components/SplitView/index.mjs +1 -1
  125. package/components/SplitView/utils/index.cjs +1 -1
  126. package/components/SplitView/utils/index.mjs +1 -1
  127. package/components/Stories/components/StoriesBanner/index.cjs +1 -1
  128. package/components/Stories/components/StoriesBanner/index.mjs +1 -1
  129. package/components/Stories/components/StoriesContent/index.cjs +1 -1
  130. package/components/Stories/components/StoriesContent/index.mjs +1 -1
  131. package/components/Stories/components/StoriesPreview/index.cjs +1 -1
  132. package/components/Stories/components/StoriesPreview/index.mjs +1 -1
  133. package/components/Stories/components/StoriesProgress/index.cjs +1 -1
  134. package/components/Stories/components/StoriesProgress/index.mjs +1 -1
  135. package/components/Stories/components/StoriesViewer/index.cjs +1 -1
  136. package/components/Stories/components/StoriesViewer/index.mjs +1 -1
  137. package/components/Stories/index.cjs +1 -1
  138. package/components/Stories/index.mjs +1 -1
  139. package/components/Table/components/TableDropdown/index.cjs +1 -1
  140. package/components/Table/components/TableDropdown/index.mjs +1 -1
  141. package/components/Table/feature-collapse-table/index.cjs +1 -1
  142. package/components/Table/feature-collapse-table/index.mjs +1 -1
  143. package/components/Table/feature-column-control/ColumnsList/index.cjs +1 -1
  144. package/components/Table/feature-column-control/ColumnsList/index.mjs +1 -1
  145. package/components/Table/feature-column-control/columnsStateDiff.d.ts +11 -0
  146. package/components/Table/feature-column-control/index.cjs +1 -1
  147. package/components/Table/feature-column-control/index.mjs +1 -1
  148. package/components/Table/feature-column-control/types.d.ts +2 -0
  149. package/components/Table/feature-columns-grouping/index.cjs +1 -1
  150. package/components/Table/feature-columns-grouping/index.mjs +1 -1
  151. package/components/Table/feature-context-menu/index.cjs +1 -1
  152. package/components/Table/feature-context-menu/index.mjs +1 -1
  153. package/components/Table/feature-edit/index.cjs +1 -1
  154. package/components/Table/feature-edit/index.mjs +1 -1
  155. package/components/Table/feature-filtering/combobox/index.cjs +1 -1
  156. package/components/Table/feature-filtering/combobox/index.mjs +1 -1
  157. package/components/Table/feature-filtering/filter-list-block/index.cjs +1 -1
  158. package/components/Table/feature-filtering/filter-list-block/index.mjs +1 -1
  159. package/components/Table/feature-filtering/header-filter-button/index.cjs +1 -1
  160. package/components/Table/feature-filtering/header-filter-button/index.mjs +1 -1
  161. package/components/Table/feature-filtering/index.cjs +1 -1
  162. package/components/Table/feature-filtering/index.mjs +1 -1
  163. package/components/Table/feature-filtering/popover.d.ts +1 -23
  164. package/components/Table/feature-filtering/sidebar-filter-block/index.cjs +1 -1
  165. package/components/Table/feature-filtering/sidebar-filter-block/index.mjs +1 -1
  166. package/components/Table/feature-infinity-scroll/index.cjs +1 -1
  167. package/components/Table/feature-infinity-scroll/index.mjs +1 -1
  168. package/components/Table/feature-key-text/index.cjs +1 -1
  169. package/components/Table/feature-key-text/index.mjs +1 -1
  170. package/components/Table/feature-pagination/index.cjs +1 -1
  171. package/components/Table/feature-pagination/index.mjs +1 -1
  172. package/components/Table/feature-right-sidebar/index.cjs +1 -1
  173. package/components/Table/feature-right-sidebar/index.mjs +1 -1
  174. package/components/Table/feature-row-detail/index.cjs +1 -1
  175. package/components/Table/feature-row-detail/index.mjs +1 -1
  176. package/components/Table/feature-row-instruments/index.cjs +1 -1
  177. package/components/Table/feature-row-instruments/index.mjs +1 -1
  178. package/components/Table/feature-row-size/index.cjs +1 -1
  179. package/components/Table/feature-row-size/index.mjs +1 -1
  180. package/components/Table/feature-rows-grouping/index.cjs +1 -1
  181. package/components/Table/feature-rows-grouping/index.mjs +1 -1
  182. package/components/Table/feature-searching/index.cjs +1 -1
  183. package/components/Table/feature-searching/index.mjs +1 -1
  184. package/components/Table/feature-searching/styled.d.ts +128 -128
  185. package/components/Table/feature-select-row/index.cjs +1 -1
  186. package/components/Table/feature-select-row/index.mjs +1 -1
  187. package/components/Table/feature-sorting/index.cjs +1 -1
  188. package/components/Table/feature-sorting/index.mjs +1 -1
  189. package/components/Table/feature-table-settings/index.cjs +1 -1
  190. package/components/Table/feature-table-settings/index.mjs +1 -1
  191. package/components/Table/feature-tree/index.cjs +1 -1
  192. package/components/Table/feature-tree/index.mjs +1 -1
  193. package/components/Table/index.cjs +1 -1
  194. package/components/Table/index.mjs +1 -1
  195. package/components/Table/renders/formatCell/index.cjs +1 -1
  196. package/components/Table/renders/formatCell/index.mjs +1 -1
  197. package/components/Table/styles/index.cjs +1 -1
  198. package/components/Table/styles/index.mjs +1 -1
  199. package/components/Table/table-hooks/index.cjs +1 -1
  200. package/components/Table/table-hooks/index.mjs +1 -1
  201. package/components/Table/types/index.cjs +1 -1
  202. package/components/Table/types/index.mjs +1 -1
  203. package/components/Table/types/utils.type.d.ts +1 -1
  204. package/components/Table/utils/index.cjs +1 -1
  205. package/components/Table/utils/index.mjs +1 -1
  206. package/components/Table/widgets/control-block/index.cjs +1 -1
  207. package/components/Table/widgets/control-block/index.mjs +1 -1
  208. package/components/Table/widgets/control-block/right-side/index.cjs +1 -1
  209. package/components/Table/widgets/control-block/right-side/index.mjs +1 -1
  210. package/components/Table/widgets/index.cjs +1 -1
  211. package/components/Table/widgets/index.mjs +1 -1
  212. package/components/Table/widgets/mass-actions/index.cjs +1 -1
  213. package/components/Table/widgets/mass-actions/index.mjs +1 -1
  214. package/components/TableCanvas/TableGlideInstance/TableGlideInstance.d.ts +1 -1
  215. package/components/TableCanvas/TableGlideInstance/adapters/column/index.cjs +1 -1
  216. package/components/TableCanvas/TableGlideInstance/adapters/column/index.mjs +1 -1
  217. package/components/TableCanvas/TableGlideInstance/adapters/index.cjs +1 -1
  218. package/components/TableCanvas/TableGlideInstance/adapters/index.mjs +1 -1
  219. package/components/TableCanvas/TableGlideInstance/index.cjs +1 -1
  220. package/components/TableCanvas/TableGlideInstance/index.mjs +6 -6
  221. package/components/TableCanvas/TableGlideInstance/type.d.ts +5 -2
  222. package/components/TableCanvas/TableGlideInstance/utils/column/index.cjs +1 -1
  223. package/components/TableCanvas/TableGlideInstance/utils/column/index.mjs +2 -2
  224. package/components/TableCanvas/TableGlideInstance/utils/index.cjs +1 -1
  225. package/components/TableCanvas/TableGlideInstance/utils/index.mjs +1 -1
  226. package/components/TableCanvas/components/SplitIconButton/index.cjs +1 -1
  227. package/components/TableCanvas/components/SplitIconButton/index.mjs +2 -2
  228. package/components/TableCanvas/components/TableDropdown/index.cjs +1 -1
  229. package/components/TableCanvas/components/TableDropdown/index.mjs +1 -1
  230. package/components/TableCanvas/contexts.d.ts +8 -2
  231. package/components/TableCanvas/feature-borders/resolveBorders.d.ts +5 -0
  232. package/components/TableCanvas/feature-cell-transfer/index.cjs +1 -1
  233. package/components/TableCanvas/feature-cell-transfer/index.mjs +11 -11
  234. package/components/TableCanvas/feature-collapse-table/index.cjs +1 -1
  235. package/components/TableCanvas/feature-collapse-table/index.mjs +2 -2
  236. package/components/TableCanvas/feature-column-control/ColumnsList/index.cjs +1 -1
  237. package/components/TableCanvas/feature-column-control/ColumnsList/index.mjs +2 -2
  238. package/components/TableCanvas/feature-column-control/columnsStateDiff.d.ts +11 -0
  239. package/components/TableCanvas/feature-column-control/index.cjs +1 -1
  240. package/components/TableCanvas/feature-column-control/index.mjs +2 -2
  241. package/components/TableCanvas/feature-column-control/types.d.ts +2 -0
  242. package/components/TableCanvas/feature-columns-grouping/index.cjs +1 -1
  243. package/components/TableCanvas/feature-columns-grouping/index.mjs +1 -1
  244. package/components/TableCanvas/feature-content-state/index.cjs +1 -1
  245. package/components/TableCanvas/feature-content-state/index.mjs +1 -1
  246. package/components/TableCanvas/feature-context-menu/index.cjs +1 -1
  247. package/components/TableCanvas/feature-context-menu/index.mjs +1 -1
  248. package/components/TableCanvas/feature-edit/index.cjs +1 -1
  249. package/components/TableCanvas/feature-edit/index.mjs +6 -6
  250. package/components/TableCanvas/feature-filtering/combobox/index.cjs +1 -1
  251. package/components/TableCanvas/feature-filtering/combobox/index.mjs +4 -4
  252. package/components/TableCanvas/feature-filtering/filter-list-block/index.cjs +1 -1
  253. package/components/TableCanvas/feature-filtering/filter-list-block/index.mjs +1 -1
  254. package/components/TableCanvas/feature-filtering/header-filter-button/index.cjs +1 -1
  255. package/components/TableCanvas/feature-filtering/header-filter-button/index.mjs +1 -1
  256. package/components/TableCanvas/feature-filtering/index.cjs +1 -1
  257. package/components/TableCanvas/feature-filtering/index.mjs +3 -3
  258. package/components/TableCanvas/feature-filtering/sidebar-filter-block/index.cjs +1 -1
  259. package/components/TableCanvas/feature-filtering/sidebar-filter-block/index.mjs +1 -1
  260. package/components/TableCanvas/feature-infinity-scroll/index.cjs +1 -1
  261. package/components/TableCanvas/feature-infinity-scroll/index.mjs +4 -4
  262. package/components/TableCanvas/feature-key-text/index.cjs +1 -1
  263. package/components/TableCanvas/feature-key-text/index.mjs +5 -5
  264. package/components/TableCanvas/feature-notifications/index.cjs +1 -1
  265. package/components/TableCanvas/feature-notifications/index.mjs +2 -2
  266. package/components/TableCanvas/feature-pagination/TablePagination.d.ts +2 -0
  267. package/components/TableCanvas/feature-pagination/index.cjs +1 -1
  268. package/components/TableCanvas/feature-pagination/index.mjs +5 -5
  269. package/components/TableCanvas/feature-popover-table/components/styled.d.ts +1 -23
  270. package/components/TableCanvas/feature-popover-table/context/index.cjs +1 -1
  271. package/components/TableCanvas/feature-popover-table/context/index.mjs +1 -1
  272. package/components/TableCanvas/feature-popover-table/hooks/index.cjs +1 -1
  273. package/components/TableCanvas/feature-popover-table/hooks/index.mjs +1 -1
  274. package/components/TableCanvas/feature-popover-table/index.cjs +1 -1
  275. package/components/TableCanvas/feature-popover-table/index.mjs +6 -6
  276. package/components/TableCanvas/feature-popover-table/utils/index.cjs +1 -1
  277. package/components/TableCanvas/feature-popover-table/utils/index.mjs +1 -1
  278. package/components/TableCanvas/feature-right-sidebar/compatibility.d.ts +8 -0
  279. package/components/TableCanvas/feature-right-sidebar/index.cjs +1 -1
  280. package/components/TableCanvas/feature-right-sidebar/index.d.ts +2 -3
  281. package/components/TableCanvas/feature-right-sidebar/index.mjs +4 -4
  282. package/components/TableCanvas/feature-row-detail/index.cjs +1 -1
  283. package/components/TableCanvas/feature-row-detail/index.mjs +1 -1
  284. package/components/TableCanvas/feature-row-instruments/index.cjs +1 -1
  285. package/components/TableCanvas/feature-row-instruments/index.mjs +7 -7
  286. package/components/TableCanvas/feature-row-markers/index.cjs +1 -1
  287. package/components/TableCanvas/feature-row-markers/index.mjs +1 -1
  288. package/components/TableCanvas/feature-row-size/index.cjs +1 -1
  289. package/components/TableCanvas/feature-row-size/index.mjs +4 -4
  290. package/components/TableCanvas/feature-rows-grouping/index.cjs +1 -1
  291. package/components/TableCanvas/feature-rows-grouping/index.mjs +10 -10
  292. package/components/TableCanvas/feature-searching/index.cjs +1 -1
  293. package/components/TableCanvas/feature-searching/index.mjs +2 -2
  294. package/components/TableCanvas/feature-searching/styled.d.ts +128 -128
  295. package/components/TableCanvas/feature-select-row/index.cjs +1 -1
  296. package/components/TableCanvas/feature-select-row/index.mjs +1 -1
  297. package/components/TableCanvas/feature-sidebar/constants.d.ts +7 -0
  298. package/components/TableCanvas/feature-sidebar/getCustomSidebarTabs.d.ts +4 -0
  299. package/components/TableCanvas/feature-sidebar/index.cjs +1 -0
  300. package/components/TableCanvas/feature-sidebar/index.d.ts +1 -0
  301. package/components/TableCanvas/feature-sidebar/index.mjs +4 -0
  302. package/components/TableCanvas/feature-sidebar/ui/BottomSheet.d.ts +6 -0
  303. package/components/TableCanvas/feature-sidebar/ui/BottomSheet.styled.d.ts +6 -0
  304. package/components/TableCanvas/{feature-right-sidebar → feature-sidebar}/ui/SidebarContentLayout.d.ts +1 -0
  305. package/components/TableCanvas/{feature-right-sidebar → feature-sidebar}/ui/SidebarTabs.d.ts +2 -1
  306. package/components/TableCanvas/feature-sidebar/ui/TableSidebar.d.ts +16 -0
  307. package/components/TableCanvas/{feature-right-sidebar → feature-sidebar}/ui/styled.d.ts +5 -2
  308. package/components/TableCanvas/feature-sidebar/useSidebarTabsState.d.ts +14 -0
  309. package/components/TableCanvas/feature-sorting/index.cjs +1 -1
  310. package/components/TableCanvas/feature-sorting/index.mjs +2 -2
  311. package/components/TableCanvas/feature-sticky/index.cjs +1 -0
  312. package/components/TableCanvas/feature-sticky/index.d.ts +3 -0
  313. package/components/TableCanvas/feature-sticky/index.mjs +5 -0
  314. package/components/TableCanvas/feature-sticky/types.d.ts +2 -0
  315. package/components/TableCanvas/feature-sticky/useStickyColumnIndexes.d.ts +8 -0
  316. package/components/TableCanvas/feature-sticky/useStickyRowIndexes.d.ts +3 -0
  317. package/components/TableCanvas/feature-table-settings/index.cjs +1 -1
  318. package/components/TableCanvas/feature-table-settings/index.mjs +1 -1
  319. package/components/TableCanvas/feature-tooltip/index.cjs +1 -1
  320. package/components/TableCanvas/feature-tooltip/index.mjs +2 -2
  321. package/components/TableCanvas/feature-tooltip/utils/index.cjs +1 -1
  322. package/components/TableCanvas/feature-tooltip/utils/index.mjs +4 -4
  323. package/components/TableCanvas/feature-tree/index.cjs +1 -1
  324. package/components/TableCanvas/feature-tree/index.mjs +1 -1
  325. package/components/TableCanvas/index.cjs +1 -1
  326. package/components/TableCanvas/index.d.ts +2 -1
  327. package/components/TableCanvas/index.mjs +58 -54
  328. package/components/TableCanvas/renders/formatCell/index.cjs +1 -1
  329. package/components/TableCanvas/renders/formatCell/index.mjs +1 -1
  330. package/components/TableCanvas/styles/classNames.d.ts +1 -0
  331. package/components/TableCanvas/styles/getReservedTableHeight.d.ts +18 -0
  332. package/components/TableCanvas/styles/index.cjs +1 -1
  333. package/components/TableCanvas/styles/index.mjs +26 -24
  334. package/components/TableCanvas/styles/styles.constants.d.ts +3 -1
  335. package/components/TableCanvas/styles/styles.d.ts +4 -6
  336. package/components/TableCanvas/table-hooks/index.cjs +1 -1
  337. package/components/TableCanvas/table-hooks/index.mjs +4 -4
  338. package/components/TableCanvas/table-hooks/useInlineStyle.d.ts +2 -1
  339. package/components/TableCanvas/table-hooks/useLeftSidebarValues.d.ts +7 -0
  340. package/components/TableCanvas/table-hooks/useSidebarOpenState.d.ts +11 -0
  341. package/components/TableCanvas/table-hooks/useSidebarValues.d.ts +1 -0
  342. package/components/TableCanvas/types/index.cjs +1 -1
  343. package/components/TableCanvas/types/index.mjs +2 -2
  344. package/components/TableCanvas/types/table-config.type.d.ts +21 -2
  345. package/components/TableCanvas/utils/calculateMinColumnWidth.d.ts +6 -1
  346. package/components/TableCanvas/utils/index.cjs +1 -1
  347. package/components/TableCanvas/utils/index.mjs +4 -4
  348. package/components/TableCanvas/widgets/control-block/compression/index.cjs +1 -1
  349. package/components/TableCanvas/widgets/control-block/compression/index.mjs +1 -1
  350. package/components/TableCanvas/widgets/control-block/control-block.constants.d.ts +6 -0
  351. package/components/TableCanvas/widgets/control-block/index.cjs +1 -1
  352. package/components/TableCanvas/widgets/control-block/index.mjs +5 -5
  353. package/components/TableCanvas/widgets/control-block/right-side/index.cjs +1 -1
  354. package/components/TableCanvas/widgets/control-block/right-side/index.mjs +2 -2
  355. package/components/TableCanvas/widgets/control-block/types.d.ts +1 -0
  356. package/components/TableCanvas/widgets/header-buttons-state.d.ts +16 -0
  357. package/components/TableCanvas/widgets/index.cjs +1 -1
  358. package/components/TableCanvas/widgets/index.mjs +5 -5
  359. package/components/TableCanvas/widgets/mass-actions/MassActions.d.ts +2 -1
  360. package/components/TableCanvas/widgets/mass-actions/hooks/index.cjs +1 -1
  361. package/components/TableCanvas/widgets/mass-actions/hooks/index.mjs +3 -3
  362. package/components/TableCanvas/widgets/mass-actions/hooks/useMassActionsCanvasWidth.d.ts +1 -0
  363. package/components/TableCanvas/widgets/mass-actions/hooks/useMassActionsCompression.d.ts +1 -1
  364. package/components/TableCanvas/widgets/mass-actions/hooks/useMassActionsSidebar.d.ts +4 -1
  365. package/components/TableCanvas/widgets/mass-actions/index.cjs +1 -1
  366. package/components/TableCanvas/widgets/mass-actions/index.mjs +1 -1
  367. package/components/TableCanvas/widgets/table-or-card-UI.d.ts +8 -4
  368. package/components/TableContract/index.cjs +1 -1
  369. package/components/TableContract/index.mjs +2 -2
  370. package/components/TableGlide/TableGlide.d.ts +1 -1
  371. package/components/TableGlide/constants.d.ts +3 -3
  372. package/components/TableGlide/content-tokens.generated.d.ts +612 -0
  373. package/components/TableGlide/hooks/selection/index.cjs +1 -1
  374. package/components/TableGlide/hooks/selection/index.mjs +1 -1
  375. package/components/TableGlide/hooks/selection/useBaseHighlightRegions.d.ts +3 -1
  376. package/components/TableGlide/hooks/selection/useColoringLayers.d.ts +3 -3
  377. package/components/TableGlide/hooks/selection/useColumnRowHighlightRegions.d.ts +2 -4
  378. package/components/TableGlide/hooks/selection/useSelectionGeometry.d.ts +3 -1
  379. package/components/TableGlide/hooks/useErrorCellRanges.d.ts +1 -2
  380. package/components/TableGlide/index.cjs +1 -1
  381. package/components/TableGlide/index.mjs +46 -46
  382. package/components/TableGlide/lib/canvas/cells/buttons/index.cjs +1 -1
  383. package/components/TableGlide/lib/canvas/cells/buttons/index.mjs +14 -14
  384. package/components/TableGlide/lib/canvas/cells/iconSprites/index.cjs +1 -1
  385. package/components/TableGlide/lib/canvas/cells/iconSprites/index.mjs +1 -1
  386. package/components/TableGlide/lib/canvas/cells/index.cjs +1 -1
  387. package/components/TableGlide/lib/canvas/cells/index.mjs +18 -18
  388. package/components/TableGlide/lib/canvas/cells/renderer/index.cjs +1 -1
  389. package/components/TableGlide/lib/canvas/cells/renderer/index.mjs +4 -4
  390. package/components/TableGlide/lib/canvas/core/CanvasNode.d.ts +1 -0
  391. package/components/TableGlide/lib/canvas/core/CanvasNode.type.d.ts +1 -0
  392. package/components/TableGlide/lib/canvas/core/helpers/index.cjs +1 -1
  393. package/components/TableGlide/lib/canvas/core/helpers/index.mjs +1 -1
  394. package/components/TableGlide/lib/canvas/core/index.cjs +1 -1
  395. package/components/TableGlide/lib/canvas/core/index.mjs +1 -1
  396. package/components/TableGlide/lib/canvas/hooks/index.cjs +1 -1
  397. package/components/TableGlide/lib/canvas/hooks/index.mjs +1 -1
  398. package/components/TableGlide/lib/canvas/index.cjs +1 -1
  399. package/components/TableGlide/lib/canvas/index.mjs +46 -46
  400. package/components/TableGlide/lib/canvas/miniflex/index.cjs +1 -1
  401. package/components/TableGlide/lib/canvas/miniflex/index.mjs +1 -1
  402. package/components/TableGlide/lib/canvas/miniflex/types.d.ts +1 -0
  403. package/components/TableGlide/lib/canvas/primitives/CanvasLink.d.ts +2 -2
  404. package/components/TableGlide/lib/canvas/primitives/CanvasText.d.ts +5 -1
  405. package/components/TableGlide/lib/canvas/primitives/index.cjs +1 -1
  406. package/components/TableGlide/lib/canvas/primitives/index.mjs +5 -5
  407. package/components/TableGlide/lib/canvas/utils/index.cjs +1 -1
  408. package/components/TableGlide/lib/canvas/utils/index.mjs +4 -4
  409. package/components/TableGlide/lib/canvas/utils/textOverflow.d.ts +1 -0
  410. package/components/TableGlide/theming/activeTheme.type.d.ts +3 -1
  411. package/components/TableGlide/theming/cell-fill-override.d.ts +31 -0
  412. package/components/TableGlide/theming/custom-colors.d.ts +52 -11
  413. package/components/TableGlide/theming/fill-states.d.ts +19 -0
  414. package/components/TableGlide/theming/glide-colors.d.ts +14 -14
  415. package/components/TableGlide/theming/index.cjs +1 -1
  416. package/components/TableGlide/theming/index.d.ts +2 -2
  417. package/components/TableGlide/theming/index.mjs +1 -1
  418. package/components/TableGlide/theming/size-tokens.d.ts +1 -1
  419. package/components/TableGlide/theming/table-colors.generated.d.ts +569 -0
  420. package/components/TableGlide/tokens.d.ts +1 -104
  421. package/components/TableGlide/types.d.ts +10 -5
  422. package/components/TableTabs/index.cjs +1 -1
  423. package/components/TableTabs/index.mjs +1 -1
  424. package/components/Tooltip/index.cjs +1 -1
  425. package/components/Tooltip/index.mjs +1 -1
  426. package/components/TourWidget/index.cjs +3 -3
  427. package/components/TourWidget/index.mjs +14 -14
  428. package/components/Typography/index.cjs +1 -1
  429. package/components/Typography/index.mjs +1 -1
  430. package/components/Widget/index.cjs +1 -1
  431. package/components/Widget/index.mjs +2 -2
  432. package/formComponents/FormCombobox/index.cjs +1 -1
  433. package/formComponents/FormCombobox/index.mjs +1 -1
  434. package/formComponents/FormRadioGroupBox/index.cjs +1 -1
  435. package/formComponents/FormRadioGroupBox/index.mjs +1 -1
  436. package/formComponents/FormSegments/index.cjs +1 -1
  437. package/formComponents/FormSegments/index.mjs +1 -1
  438. package/formComponents/FormSwitch/index.cjs +1 -1
  439. package/formComponents/FormSwitch/index.mjs +1 -1
  440. package/index.cjs +1 -1
  441. package/index.d.ts +3 -1
  442. package/index.mjs +1864 -1859
  443. package/layouts/Container/index.cjs +1 -1
  444. package/layouts/Container/index.mjs +1 -1
  445. package/layouts/Container/lib/utils/index.cjs +1 -1
  446. package/layouts/Container/lib/utils/index.mjs +1 -1
  447. package/layouts/ErrorPage/index.cjs +1 -1
  448. package/layouts/ErrorPage/index.mjs +1 -1
  449. package/layouts/FiltersActions/hooks/index.cjs +1 -1
  450. package/layouts/FiltersActions/hooks/index.mjs +1 -1
  451. package/layouts/FiltersActions/index.cjs +1 -1
  452. package/layouts/FiltersActions/index.mjs +1 -1
  453. package/layouts/Layout/index.cjs +1 -1
  454. package/layouts/Layout/index.mjs +1 -1
  455. package/layouts/PageLayout/index.cjs +1 -1
  456. package/layouts/PageLayout/index.mjs +1 -1
  457. package/mcp-data/component-index.json +6385 -10584
  458. package/mixins/index.cjs +4 -4
  459. package/mixins/index.mjs +61 -54
  460. package/package.json +6 -6
  461. package/shared/utils/resizable/index.cjs +1 -0
  462. package/shared/utils/resizable/index.d.ts +2 -0
  463. package/shared/utils/resizable/index.mjs +39 -0
  464. package/shared/utils/resizable/resizableConfig.d.ts +16 -0
  465. package/styles/index.cjs +1 -1
  466. package/styles/index.mjs +1 -1
  467. package/types/index.d.ts +1 -0
  468. package/types/utility.d.ts +1 -0
  469. package/utils/breakpoint/index.cjs +1 -1
  470. package/utils/breakpoint/index.mjs +2 -2
  471. package/utils/clickStream/index.cjs +1 -1
  472. package/utils/clickStream/index.mjs +1 -1
  473. package/utils/eventBus/index.cjs +1 -1
  474. package/utils/eventBus/index.mjs +1 -1
  475. package/utils/getActiveTheme.d.ts +1 -1
  476. package/utils/hooks/index.cjs +1 -1
  477. package/utils/hooks/index.mjs +1 -1
  478. package/utils/index.cjs +1 -1
  479. package/utils/index.mjs +8 -8
  480. package/utils/react/index.cjs +1 -1
  481. package/utils/react/index.mjs +1 -1
  482. package/utils/styles/index.cjs +1 -1
  483. package/utils/styles/index.mjs +1 -1
  484. package/chunks/AnalyticalWidget-BtyWKJuu.mjs +0 -537
  485. package/chunks/AnalyticalWidget-YytE3Rlw.cjs +0 -43
  486. package/chunks/ApprovalCenter-DdsLEipZ.cjs +0 -1
  487. package/chunks/BlockTitle-DC1McGof.cjs +0 -1
  488. package/chunks/FiltersActions-Bg5wvHFG.cjs +0 -1
  489. package/chunks/MassActions-BTrj9l-R.cjs +0 -1
  490. package/chunks/PageTitle-CrBeieoq.cjs +0 -9
  491. package/chunks/Stories-UYVANawW.cjs +0 -1
  492. package/chunks/Table-vv1HTrxe.cjs +0 -31
  493. package/chunks/TableCanvas-qnwh4c5g.cjs +0 -30
  494. package/chunks/TableGlide-BLbbkn4C.mjs +0 -8154
  495. package/chunks/TableGlide-CZ2mkokV.cjs +0 -1
  496. package/components/TableCanvas/feature-right-sidebar/constants.d.ts +0 -1
  497. package/components/TableCanvas/feature-right-sidebar/ui/TableSidebar.d.ts +0 -16
  498. /package/components/TableCanvas/{feature-right-sidebar → feature-sidebar}/ui/TableSidebar.classnames.d.ts +0 -0
@@ -5,7 +5,7 @@ import { s as S } from "./EXTERNAL_PACKAGE_MODULE_sdds_finai_high_contrast__ligh
5
5
  import { jsxs as l, Fragment as d, jsx as o } from "react/jsx-runtime";
6
6
  import { getCustomScrollbar as c } from "../mixins/index.mjs";
7
7
  import "@salutejs/sdds-finai";
8
- import { s as A } from "./utils-u1KJ37g3.mjs";
8
+ import { x as A } from "./utils-Hu77fGGe.mjs";
9
9
  import { useEffect as C } from "react";
10
10
  import O, { css as h, createGlobalStyle as i } from "styled-components";
11
11
  import { outlineInfo as R, dataInfoGradient as $, outlineWarning as W, dataWarningGradient as F, outlineNegative as j, dataNegativeGradient as H, outlinePositive as M, dataPositiveGradient as z, textPrimary as V, shadowDownHardS as X } from "@salutejs/sdds-themes/tokens/sdds_finai";
@@ -55,7 +55,7 @@ function G(t, e) {
55
55
  return t.join(`
56
56
  `).replace(/:root/g, e);
57
57
  }
58
- const P = {
58
+ const x = {
59
59
  light: f,
60
60
  dark: b,
61
61
  highContrastLight: S,
@@ -87,7 +87,7 @@ const P = {
87
87
  }, et = i(["", ""], ({
88
88
  $theme: t,
89
89
  $scopeSelector: e
90
- }) => e ? G(P[t], e) : ""), ut = ({
90
+ }) => e ? G(x[t], e) : ""), ut = ({
91
91
  theme: t = "light",
92
92
  scopeSelector: e
93
93
  }) => /* @__PURE__ */ l(d, { children: [
@@ -98,7 +98,7 @@ const P = {
98
98
  ] }), it = ({
99
99
  isLightBase: t,
100
100
  theme: e
101
- }) => h(["", " ", " ", " ", ""], G(P[e], "&"), c({
101
+ }) => h(["", " ", " ", " ", ""], G(x[e], "&"), c({
102
102
  theme: t ? "light" : "dark"
103
103
  }), I, L()), at = O.div.withConfig({
104
104
  displayName: "DefaultGlobalStyle__StyledTestRootIsolatedThemeProviderLayout"
@@ -112,10 +112,10 @@ const P = {
112
112
  theme: t = "light",
113
113
  className: e,
114
114
  children: r,
115
- ...x
115
+ ...P
116
116
  }) => {
117
117
  const N = t === "light" || t === "highContrastLight" || t === "betaCoreLight";
118
- return /* @__PURE__ */ o(at, { className: A("TestRootIsolatedThemeProviderLayout", e), ...x, isLightBase: N, activeTheme: t, children: r });
118
+ return /* @__PURE__ */ o(at, { className: A("TestRootIsolatedThemeProviderLayout", e), ...P, isLightBase: N, activeTheme: t, children: r });
119
119
  };
120
120
  export {
121
121
  ft as D,
@@ -1,2 +1,2 @@
1
- "use strict";const T=require("@salutejs/plasma-typo"),c=require("@salutejs/sdds-themes"),l=require("./vendor-BSEdLAmZ.cjs"),m=require("./EXTERNAL_PACKAGE_MODULE_sdds_finai_high_contrast__light_theme-75fNjCa0.cjs"),e=require("react/jsx-runtime"),_=require("../mixins/index.cjs");require("@salutejs/sdds-finai");const w=require("./utils-ChDQGRjv.cjs"),p=require("react"),a=require("styled-components"),i=require("@salutejs/sdds-themes/tokens/sdds_finai"),s="dais-ui__",h="notification-wrapper",R="notification-text",S="notification-title",n={wrapper:`${s}notification`,positive:`${s}notification--positive`,negative:`${s}notification--negative`,warning:`${s}notification--warning`,info:`${s}notification--info`,hasBackground:`${s}notification--has-background`,hasTitleColor:`${s}notification--has-title-color`,hasBorderColor:`${s}notification--has-border-color`},E={positive:{background:i.dataPositiveGradient,borderColor:i.outlinePositive},negative:{background:i.dataNegativeGradient,borderColor:i.outlineNegative},warning:{background:i.dataWarningGradient,borderColor:i.outlineWarning},info:{background:i.dataInfoGradient,borderColor:i.outlineInfo}},y=()=>Object.entries(E).map(([t,o])=>{const r=n[t];return a.css([".",".",":not(.","){.","{overflow:hidden;}.notification-buttons-wrapper,.",",.","{z-index:1;}.","::after{content:'';position:absolute;z-index:0;height:600px;width:600px;top:0;right:0;transform:translate(50%,-80%);background:",";pointer-events:none;}}.",".",":not(.","){.","{color:",";}}.",".","{.","{border:1px solid ",";box-shadow:",";}}"],n.wrapper,r,n.hasBackground,h,R,S,h,o.background,n.wrapper,r,n.hasTitleColor,S,i.textPrimary,n.wrapper,r,h,o.borderColor,i.shadowDownHardS)}).flat(),f="tooltip--fullWidth",C=a.createGlobalStyle(T.standard),L=a.createGlobalStyle(T.compatible),A=a.createGlobalStyle(c.sdds_finai__light),x=a.createGlobalStyle(["*{","}"],()=>_.getCustomScrollbar({theme:"light"})),g=a.createGlobalStyle(["*{","}"],()=>_.getCustomScrollbar({theme:"dark"})),G=a.createGlobalStyle(["*{","}"],()=>y()),b=a.css([".popover-wrapper:has(> .","){width:100%;}"],f),d=a.createGlobalStyle(["",""],b),v=a.createGlobalStyle(c.sdds_finai__dark),N=a.createGlobalStyle(m.sdds_finai_high_contrast__light_2),O=a.createGlobalStyle(l.sdds_finai_high_contrast__dark_2),q=a.createGlobalStyle(l.sdds_finai_beta_core__light_2),F=a.createGlobalStyle(l.sdds_finai_beta_core__dark_2),W=()=>(p.useEffect(()=>(document.documentElement.setAttribute("data-theme","dark"),()=>{document.documentElement.removeAttribute("data-theme")}),[]),e.jsxs(e.Fragment,{children:[e.jsx(C,{}),e.jsx(L,{}),e.jsx(v,{}),e.jsx(g,{}),e.jsx(d,{})]}));function u(t,o){return t.join(`
1
+ "use strict";const T=require("@salutejs/plasma-typo"),c=require("@salutejs/sdds-themes"),l=require("./vendor-BSEdLAmZ.cjs"),m=require("./EXTERNAL_PACKAGE_MODULE_sdds_finai_high_contrast__light_theme-75fNjCa0.cjs"),e=require("react/jsx-runtime"),_=require("../mixins/index.cjs");require("@salutejs/sdds-finai");const w=require("./utils-OQNruMpn.cjs"),p=require("react"),a=require("styled-components"),i=require("@salutejs/sdds-themes/tokens/sdds_finai"),s="dais-ui__",h="notification-wrapper",R="notification-text",S="notification-title",n={wrapper:`${s}notification`,positive:`${s}notification--positive`,negative:`${s}notification--negative`,warning:`${s}notification--warning`,info:`${s}notification--info`,hasBackground:`${s}notification--has-background`,hasTitleColor:`${s}notification--has-title-color`,hasBorderColor:`${s}notification--has-border-color`},E={positive:{background:i.dataPositiveGradient,borderColor:i.outlinePositive},negative:{background:i.dataNegativeGradient,borderColor:i.outlineNegative},warning:{background:i.dataWarningGradient,borderColor:i.outlineWarning},info:{background:i.dataInfoGradient,borderColor:i.outlineInfo}},y=()=>Object.entries(E).map(([t,o])=>{const r=n[t];return a.css([".",".",":not(.","){.","{overflow:hidden;}.notification-buttons-wrapper,.",",.","{z-index:1;}.","::after{content:'';position:absolute;z-index:0;height:600px;width:600px;top:0;right:0;transform:translate(50%,-80%);background:",";pointer-events:none;}}.",".",":not(.","){.","{color:",";}}.",".","{.","{border:1px solid ",";box-shadow:",";}}"],n.wrapper,r,n.hasBackground,h,R,S,h,o.background,n.wrapper,r,n.hasTitleColor,S,i.textPrimary,n.wrapper,r,h,o.borderColor,i.shadowDownHardS)}).flat(),f="tooltip--fullWidth",C=a.createGlobalStyle(T.standard),L=a.createGlobalStyle(T.compatible),A=a.createGlobalStyle(c.sdds_finai__light),x=a.createGlobalStyle(["*{","}"],()=>_.getCustomScrollbar({theme:"light"})),g=a.createGlobalStyle(["*{","}"],()=>_.getCustomScrollbar({theme:"dark"})),G=a.createGlobalStyle(["*{","}"],()=>y()),b=a.css([".popover-wrapper:has(> .","){width:100%;}"],f),d=a.createGlobalStyle(["",""],b),v=a.createGlobalStyle(c.sdds_finai__dark),N=a.createGlobalStyle(m.sdds_finai_high_contrast__light_2),O=a.createGlobalStyle(l.sdds_finai_high_contrast__dark_2),q=a.createGlobalStyle(l.sdds_finai_beta_core__light_2),F=a.createGlobalStyle(l.sdds_finai_beta_core__dark_2),W=()=>(p.useEffect(()=>(document.documentElement.setAttribute("data-theme","dark"),()=>{document.documentElement.removeAttribute("data-theme")}),[]),e.jsxs(e.Fragment,{children:[e.jsx(C,{}),e.jsx(L,{}),e.jsx(v,{}),e.jsx(g,{}),e.jsx(d,{})]}));function u(t,o){return t.join(`
2
2
  `).replace(/:root/g,o)}const k={light:c.sdds_finai__light,dark:c.sdds_finai__dark,highContrastLight:m.sdds_finai_high_contrast__light_2,highContrastDark:l.sdds_finai_high_contrast__dark_2,betaCoreLight:l.sdds_finai_beta_core__light_2,betaCoreDark:l.sdds_finai_beta_core__dark_2},$={light:A,dark:v,highContrastLight:N,highContrastDark:O,betaCoreLight:q,betaCoreDark:F},B=({theme:t="light"})=>{p.useEffect(()=>{document.documentElement.setAttribute("data-theme",t)},[t]);const o=$[t],r=t==="light"||t==="highContrastLight"||t==="betaCoreLight";return e.jsxs(e.Fragment,{children:[e.jsx(C,{}),e.jsx(L,{}),e.jsx(o,{}),r?e.jsx(x,{}):e.jsx(g,{}),e.jsx(d,{}),e.jsx(G,{})]})},M=a.createGlobalStyle(["",""],({$theme:t,$scopeSelector:o})=>o?u(k[t],o):""),H=({theme:t="light",scopeSelector:o})=>{const r=t==="light"||t==="highContrastLight"||t==="betaCoreLight";return e.jsxs(e.Fragment,{children:[e.jsx(M,{$theme:t,$scopeSelector:o}),r?e.jsx(x,{}):e.jsx(g,{}),e.jsx(d,{}),e.jsx(G,{})]})},D=({isLightBase:t,theme:o})=>a.css([""," "," "," ",""],u(k[o],"&"),_.getCustomScrollbar({theme:t?"light":"dark"}),b,y()),I=a.div.withConfig({displayName:"DefaultGlobalStyle__StyledTestRootIsolatedThemeProviderLayout"})(["",""],({isLightBase:t,activeTheme:o})=>D({isLightBase:t,theme:o})),U=({theme:t="light",className:o,children:r,...j})=>{const P=t==="light"||t==="highContrastLight"||t==="betaCoreLight";return e.jsx(I,{className:w.mCls("TestRootIsolatedThemeProviderLayout",o),...j,isLightBase:P,activeTheme:t,children:r})};exports.DarkGlobalStyle=W;exports.GlobalPopoverStyles=d;exports.GlobalStyle=B;exports.StyledTestRootIsolatedThemeProviderLayout=I;exports.TOOLTIP_FULL_WIDTH_CLASS=f;exports.TestGlobalIsolatedStyleWithReplace=H;exports.TestRootIsolatedThemeProviderLayout=U;exports.cls=n;exports.scopeTheme=u;exports.styledTestRootIsolatedThemeProviderLayoutMixin=D;exports.testGlobalPopoverStylesMixin=b;
@@ -1,17 +1,17 @@
1
1
  import { jsx as v } from "react/jsx-runtime";
2
2
  import { createContext as T, useState as m, useEffect as p, useMemo as R, useContext as w, useRef as C, useCallback as x } from "react";
3
3
  import { breakPoints as _, viewColors as k } from "../constants/index.mjs";
4
- import { ThemeProvider as V, css as S, keyframes as L } from "styled-components";
5
- import W from "react-dom/client";
6
- import { createDebugLogger as U } from "../shared/utils/debug/index.mjs";
7
- const I = "xl", E = _, D = T({
4
+ import { ThemeProvider as W, css as S, keyframes as $ } from "styled-components";
5
+ import N from "react-dom/client";
6
+ import { createDebugLogger as V } from "../shared/utils/debug/index.mjs";
7
+ const I = "xl", E = _, L = T({
8
8
  breakpoint: I,
9
9
  breakpointConfig: E
10
10
  }), b = (e) => (t) => `
11
11
  @media ${e} {
12
12
  ${t}
13
13
  }
14
- `, N = (e) => ({
14
+ `, U = (e) => ({
15
15
  xs: {
16
16
  min: 0,
17
17
  max: e.xs - 1
@@ -36,8 +36,8 @@ const I = "xl", E = _, D = T({
36
36
  min: e.xl + 1,
37
37
  max: 1e5
38
38
  }
39
- }), B = (e) => {
40
- const t = N(e);
39
+ }), O = (e) => {
40
+ const t = U(e);
41
41
  return {
42
42
  up: (n) => b(`(min-width: ${t[n].max + 1}px)`),
43
43
  down: (n) => b(`(max-width: ${t[n].min - 1}px)`),
@@ -46,12 +46,12 @@ const I = "xl", E = _, D = T({
46
46
  between: (n, r) => b(`(min-width: ${t[n].min}px) and (max-width: ${t[r].max}px)`),
47
47
  exact: (n, r) => b(`(min-width: ${n}px) and (max-width: ${r}px)`)
48
48
  };
49
- }, fe = B(E), j = ({
49
+ }, he = O(E), M = ({
50
50
  breakpointConfig: e = E,
51
51
  children: t
52
- }) => /* @__PURE__ */ v(V, { theme: {
53
- media: B(e)
54
- }, children: t }), he = ({
52
+ }) => /* @__PURE__ */ v(W, { theme: {
53
+ media: O(e)
54
+ }, children: t }), pe = ({
55
55
  children: e,
56
56
  breakpointConfig: t = E
57
57
  }) => {
@@ -83,12 +83,12 @@ const I = "xl", E = _, D = T({
83
83
  breakpoint: n,
84
84
  breakpointConfig: t
85
85
  }), [n, t]);
86
- return /* @__PURE__ */ v(D.Provider, { value: o, children: /* @__PURE__ */ v(j, { breakpointConfig: t, children: e }) });
87
- }, pe = () => {
86
+ return /* @__PURE__ */ v(L.Provider, { value: o, children: /* @__PURE__ */ v(M, { breakpointConfig: t, children: e }) });
87
+ }, ge = () => {
88
88
  const {
89
89
  breakpoint: e,
90
90
  breakpointConfig: t
91
- } = w(D), n = R(() => ({
91
+ } = w(L), n = R(() => ({
92
92
  up: (r) => t[e] > t[r],
93
93
  down: (r) => t[e] < t[r],
94
94
  only: (r) => t[e] === t[r],
@@ -100,7 +100,7 @@ const I = "xl", E = _, D = T({
100
100
  ...n
101
101
  };
102
102
  };
103
- function ge(e, t, n, r = {}) {
103
+ function be(e, t, n, r = {}) {
104
104
  const o = {
105
105
  bubbles: !0,
106
106
  cancelable: !0,
@@ -110,17 +110,17 @@ function ge(e, t, n, r = {}) {
110
110
  }, i = new CustomEvent(t, o);
111
111
  return e.dispatchEvent(i);
112
112
  }
113
- const M = null, O = T(M), be = ({
113
+ const j = null, B = T(j), we = ({
114
114
  children: e,
115
115
  clickStreamInstance: t
116
- }) => /* @__PURE__ */ v(O.Provider, { value: t, children: e });
117
- var z = /* @__PURE__ */ ((e) => (e.START = "Start", e.END = "End", e.SUCCESS = "Success", e.FAILED = "Failed", e))(z || {}), H = /* @__PURE__ */ ((e) => (e.BUISINESS = "business", e))(H || {});
118
- const we = () => {
119
- const e = w(O);
116
+ }) => /* @__PURE__ */ v(B.Provider, { value: t, children: e });
117
+ var H = /* @__PURE__ */ ((e) => (e.START = "Start", e.END = "End", e.SUCCESS = "Success", e.FAILED = "Failed", e))(H || {}), z = /* @__PURE__ */ ((e) => (e.BUISINESS = "business", e))(z || {});
118
+ const xe = () => {
119
+ const e = w(B);
120
120
  if (!e)
121
121
  throw new Error("Ошибка. Приложение необходимо обернуть в ClickStreamProvider");
122
122
  return e;
123
- }, xe = (e, t) => e.join("/").concat(t ? `_${t}` : ""), ye = (e) => Object.entries(e).reduce((t, n) => {
123
+ }, ye = (e, t) => e.join("/").concat(t ? `_${t}` : ""), ve = (e) => Object.entries(e).reduce((t, n) => {
124
124
  if (n[0] && n[1]) {
125
125
  const r = {
126
126
  key: n[0],
@@ -129,14 +129,14 @@ const we = () => {
129
129
  t.push(r);
130
130
  }
131
131
  return t;
132
- }, []), ve = (e) => Array.isArray(e) ? e.join(";") : typeof e == "boolean" ? `${e}` : e ?? "null";
133
- function Ce(e, t) {
132
+ }, []), Ce = (e) => Array.isArray(e) ? e.join(";") : typeof e == "boolean" ? `${e}` : e ?? "null";
133
+ function Te(e, t) {
134
134
  if (!t)
135
135
  return e;
136
136
  const n = JSON.stringify(t), r = btoa(n);
137
137
  return e.set("X-Digital-Trace-Context", r), e;
138
138
  }
139
- function Te(e) {
139
+ function Se(e) {
140
140
  function t() {
141
141
  const s = C(e), a = x(() => s.current, []), u = C(/* @__PURE__ */ new Set()), l = x((d) => {
142
142
  s.current = {
@@ -183,8 +183,8 @@ function Te(e) {
183
183
  useDispatch: i
184
184
  };
185
185
  }
186
- const q = typeof requestAnimationFrame == "function", K = typeof cancelAnimationFrame == "function", Q = (e) => q ? requestAnimationFrame(e) : setTimeout(e, 0), X = (e) => {
187
- K ? cancelAnimationFrame(e) : clearTimeout(e);
186
+ const K = typeof requestAnimationFrame == "function", q = typeof cancelAnimationFrame == "function", Q = (e) => K ? requestAnimationFrame(e) : setTimeout(e, 0), X = (e) => {
187
+ q ? cancelAnimationFrame(e) : clearTimeout(e);
188
188
  }, Y = (e) => {
189
189
  let t = null;
190
190
  return new ResizeObserver((n, r) => {
@@ -192,7 +192,7 @@ const q = typeof requestAnimationFrame == "function", K = typeof cancelAnimation
192
192
  t = null, e(n, r);
193
193
  });
194
194
  });
195
- }, Se = (e, t = 200) => {
195
+ }, Ee = (e, t = 200) => {
196
196
  let n;
197
197
  return (...r) => {
198
198
  clearTimeout(n), n = setTimeout(() => {
@@ -212,18 +212,18 @@ const q = typeof requestAnimationFrame == "function", K = typeof cancelAnimation
212
212
  }
213
213
  r.push(u);
214
214
  }), [r, o];
215
- }, Ee = (e) => x((t, n) => {
215
+ }, Ae = (e) => x((t, n) => {
216
216
  const r = e.get(t.value);
217
217
  r == null || r(t, n);
218
- }, [e]), J = null, F = T(J), Ae = ({
218
+ }, [e]), J = null, F = T(J), Ie = ({
219
219
  children: e,
220
220
  busInstance: t
221
- }) => /* @__PURE__ */ v(F.Provider, { value: t, children: e }), Ie = () => {
221
+ }) => /* @__PURE__ */ v(F.Provider, { value: t, children: e }), $e = () => {
222
222
  const e = w(F);
223
223
  if (!e)
224
224
  throw new Error("Ошибка. Приложение необходимо обернуть в EventBusProvider");
225
225
  return e;
226
- }, Le = () => {
226
+ }, De = () => {
227
227
  const e = new Uint8Array(16);
228
228
  crypto.getRandomValues(e);
229
229
  const t = Array.from(e).map((o) => o.toString(16).padStart(2, "0")).join(""), n = new Uint8Array(8);
@@ -237,11 +237,11 @@ const q = typeof requestAnimationFrame == "function", K = typeof cancelAnimation
237
237
  "x-b3-spanid": r
238
238
  }
239
239
  };
240
- }, A = () => {
240
+ }, Z = ["light", "dark", "highContrastLight", "highContrastDark", "betaCoreLight", "betaCoreDark"], A = () => {
241
241
  const e = document.documentElement.getAttribute("data-theme");
242
- return e === "dark" ? "dark" : e === "highContrastLight" ? "highContrastLight" : e === "betaCoreLight" ? "betaCoreLight" : "light";
243
- }, $e = (e) => e ? S(["&&{", "}"], e) : void 0, y = /* @__PURE__ */ new Map();
244
- function Z(e) {
242
+ return Z.find((t) => t === e) ?? "light";
243
+ }, Re = (e) => e ? S(["&&{", "}"], e) : void 0, y = /* @__PURE__ */ new Map();
244
+ function ee(e) {
245
245
  const t = `${e}_<space>`;
246
246
  if (y.has(t)) {
247
247
  const o = y.get(t);
@@ -257,7 +257,7 @@ function Z(e) {
257
257
  const r = n.offsetWidth;
258
258
  return document.body.removeChild(n), y.set(t, r), r;
259
259
  }
260
- function ee(e, t) {
260
+ function te(e, t) {
261
261
  const n = document.createElement("span");
262
262
  n.style.cssText = `
263
263
  font: ${t};
@@ -272,7 +272,7 @@ function ee(e, t) {
272
272
  }
273
273
  function P(e, t) {
274
274
  if (e === " ")
275
- return Z(t);
275
+ return ee(t);
276
276
  if (e === " ")
277
277
  return P(" ", t) * 4;
278
278
  const n = `${t}_${e}`;
@@ -280,16 +280,16 @@ function P(e, t) {
280
280
  const o = y.get(n);
281
281
  return typeof o == "number" && o || 0;
282
282
  }
283
- const r = ee(e, t);
283
+ const r = te(e, t);
284
284
  return y.set(n, r), r;
285
285
  }
286
- function Re(e, t, n = 0) {
286
+ function Le(e, t, n = 0) {
287
287
  if (!e)
288
288
  return 0;
289
289
  const r = Array.from(e).reduce((c, s) => c + P(s, t), 0), o = e.length, i = Math.max(o - 1, 0) * n;
290
290
  return r + i;
291
291
  }
292
- function te(e, t, n = 0) {
292
+ function ne(e, t, n = 0) {
293
293
  const r = document.createElement("span");
294
294
  r.style.cssText = `
295
295
  font: ${t};
@@ -303,13 +303,13 @@ function te(e, t, n = 0) {
303
303
  const o = r.offsetWidth;
304
304
  return document.body.removeChild(r), o;
305
305
  }
306
- function De(e, t, n = 0) {
307
- return e ? te(e, t, n) : 0;
306
+ function Oe(e, t, n = 0) {
307
+ return e ? ne(e, t, n) : 0;
308
308
  }
309
309
  const Be = (e) => {
310
310
  const t = e.substring(e.indexOf("(") + 1, e.indexOf(","));
311
311
  return getComputedStyle(document.body).getPropertyValue(t);
312
- }, Oe = (e, t) => {
312
+ }, Fe = (e, t) => {
313
313
  const n = t.split(".");
314
314
  let r = e;
315
315
  for (const o of n)
@@ -318,7 +318,7 @@ const Be = (e) => {
318
318
  else
319
319
  return;
320
320
  return r;
321
- }, Fe = (e) => k[e], Pe = () => {
321
+ }, Pe = (e) => k[e], _e = () => {
322
322
  const [e, t] = m(() => A() ?? "light");
323
323
  return p(() => {
324
324
  t(A());
@@ -333,7 +333,7 @@ const Be = (e) => {
333
333
  return (r = n == null ? void 0 : n.disconnect) == null ? void 0 : r.call(n);
334
334
  };
335
335
  }, []), e;
336
- }, _e = (e, t) => {
336
+ }, ke = (e, t) => {
337
337
  const [n, r] = m(!1), o = C();
338
338
  return [x(
339
339
  // eslint-disable-next-line func-names
@@ -346,7 +346,7 @@ const Be = (e) => {
346
346
  ), {
347
347
  debouncing: n
348
348
  }];
349
- }, ke = (e, t = 500, n) => {
349
+ }, We = (e, t = 500, n) => {
350
350
  const [r, o] = m(n ?? e);
351
351
  return p(() => {
352
352
  const i = setTimeout(() => {
@@ -356,14 +356,14 @@ const Be = (e) => {
356
356
  clearTimeout(i);
357
357
  };
358
358
  }, [e]), r;
359
- }, h = /* @__PURE__ */ new Map(), Ve = (e) => !e || h.get(e) === "loaded" ? Promise.resolve() : new Promise((t) => {
359
+ }, h = /* @__PURE__ */ new Map(), Ne = (e) => !e || h.get(e) === "loaded" ? Promise.resolve() : new Promise((t) => {
360
360
  const n = new Image();
361
361
  n.onload = () => {
362
362
  h.set(e, "loaded"), t();
363
363
  }, n.onerror = () => {
364
364
  h.set(e, "error"), t();
365
365
  }, n.src = e;
366
- }), We = (e, t = 0) => {
366
+ }), Ve = (e, t = 0) => {
367
367
  const [n, r] = m(() => e ? h.get(e) ?? "loading" : "idle"), [o, i] = m(0), c = C(e);
368
368
  c.current = e;
369
369
  const s = x(() => {
@@ -383,10 +383,10 @@ const Be = (e) => {
383
383
  r("loading");
384
384
  const f = (g) => {
385
385
  h.set(e, g);
386
- const $ = () => {
386
+ const D = () => {
387
387
  u && c.current === e && r(g);
388
388
  };
389
- t > 0 ? l = setTimeout($, t) : $();
389
+ t > 0 ? l = setTimeout(D, t) : D();
390
390
  }, d = new Image();
391
391
  return d.onload = () => f("loaded"), d.onerror = () => f("error"), d.src = e, () => {
392
392
  u = !1, l && clearTimeout(l);
@@ -399,10 +399,10 @@ const Be = (e) => {
399
399
  reload: s
400
400
  };
401
401
  }, Ue = typeof window < "u" && "structuredClone" in window && typeof window.structuredClone == "function" || typeof globalThis < "u" && "structuredClone" in globalThis && typeof globalThis.structuredClone == "function";
402
- function ne(...e) {
402
+ function re(...e) {
403
403
  return e.reduce((t, n) => (!n || typeof n != "string" || (t = `${t} ${n}`), t), "");
404
404
  }
405
- const Ne = ne;
405
+ const Me = re;
406
406
  function je(...e) {
407
407
  const t = e.filter(Boolean);
408
408
  return t.length <= 1 ? t[0] || null : function(r) {
@@ -410,17 +410,17 @@ function je(...e) {
410
410
  typeof o == "function" ? o(r) : o && (o.current = r);
411
411
  };
412
412
  }
413
- const Me = (e, t, n) => t > n ? n : t < e ? e : t, ze = (e, {
413
+ const He = (e, t, n) => t > n ? n : t < e ? e : t, ze = (e, {
414
414
  identifierPrefix: t
415
415
  }) => ({
416
416
  ...e,
417
417
  // Переопределяем createRoot для добавления префикса к useId
418
- createRoot: (n, r) => W.createRoot(n, {
418
+ createRoot: (n, r) => N.createRoot(n, {
419
419
  ...r,
420
420
  identifierPrefix: t
421
421
  // Уникальный префикс микрофронтенда
422
422
  })
423
- }), re = (e) => e != null && e.lines && e.lines > 1 ? {
423
+ }), oe = (e) => e != null && e.lines && e.lines > 1 ? {
424
424
  display: "-webkit-box",
425
425
  WebkitLineClamp: e.lines,
426
426
  WebkitBoxOrient: "vertical",
@@ -431,14 +431,14 @@ const Me = (e, t, n) => t > n ? n : t < e ? e : t, ze = (e, {
431
431
  whiteSpace: "nowrap",
432
432
  overflow: "hidden",
433
433
  textOverflow: "ellipsis"
434
- }, He = (e) => S(re(e)), qe = S(["width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;"]), Ke = (e, t = 200) => {
434
+ }, Ke = (e) => S(oe(e)), qe = S(["width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;"]), Qe = (e, t = 200) => {
435
435
  let n;
436
436
  return (...r) => {
437
437
  n || (n = !0, e(...r), setTimeout(() => {
438
438
  n = !1;
439
439
  }, t));
440
440
  };
441
- }, Qe = (e, t = 200) => {
441
+ }, Xe = (e, t = 200) => {
442
442
  let n = null, r = null, o = !1;
443
443
  const i = (...c) => {
444
444
  n = c, o || (e(...c), o = !0, r = setTimeout(() => {
@@ -448,15 +448,15 @@ const Me = (e, t, n) => t > n ? n : t < e ? e : t, ze = (e, {
448
448
  return i.cancel = () => {
449
449
  r && (clearTimeout(r), o = !1, r = null);
450
450
  }, i;
451
- }, oe = "0.3s", Xe = `all ${oe} ease`, se = L(["from{transform:scale(0.85);opacity:0;}to{transform:scale(1);opacity:1;}"]), ie = L(["from{transform:scale(1);opacity:1;}to{transform:scale(0.85);opacity:0;}"]);
451
+ }, se = "0.3s", Ye = `all ${se} ease`, ie = $(["from{transform:scale(0.85);opacity:0;}to{transform:scale(1);opacity:1;}"]), ae = $(["from{transform:scale(1);opacity:1;}to{transform:scale(0.85);opacity:0;}"]);
452
452
  S(["animation:", " ", " ", " forwards;"], ({
453
453
  $isOpen: e
454
- }) => e ? se : ie, ({
454
+ }) => e ? ie : ae, ({
455
455
  $duration: e = "2.35s"
456
456
  }) => e, ({
457
457
  $timing: e = "ease"
458
458
  }) => e);
459
- const Ye = L(["from{opacity:0;transform:translateY(-10px);}to{opacity:1;transform:translateY(0);}"]), Ge = (e, t = "vertical", n = !0) => {
459
+ const Ge = $(["from{opacity:0;transform:translateY(-10px);}to{opacity:1;transform:translateY(0);}"]), Je = (e, t = "vertical", n = !0) => {
460
460
  const [r, o] = m({
461
461
  vertical: !1,
462
462
  horizontal: !1
@@ -489,54 +489,54 @@ const Ye = L(["from{opacity:0;transform:translateY(-10px);}to{opacity:1;transfor
489
489
  default:
490
490
  return r.vertical;
491
491
  }
492
- }, Je = U("TABLE");
492
+ }, Ze = V("TABLE");
493
493
  export {
494
- Fe as A,
495
- he as B,
496
- be as C,
497
- Xe as D,
498
- H as E,
499
- z as F,
500
- Ae as G,
501
- xe as H,
502
- Te as I,
503
- Le as J,
494
+ Pe as A,
495
+ pe as B,
496
+ we as C,
497
+ Ye as D,
498
+ z as E,
499
+ H as F,
500
+ Ie as G,
501
+ ye as H,
502
+ Se as I,
503
+ De as J,
504
504
  ze as K,
505
- Re as L,
506
- j as M,
505
+ Le as L,
506
+ M,
507
507
  Be as N,
508
- Ce as O,
509
- Ke as P,
510
- ye as Q,
511
- ve as R,
512
- He as S,
513
- we as T,
514
- _e as U,
515
- Ie as V,
516
- re as a,
517
- fe as b,
508
+ Te as O,
509
+ Qe as P,
510
+ ve as Q,
511
+ Ce as R,
512
+ Ke as S,
513
+ xe as T,
514
+ ke as U,
515
+ $e as V,
516
+ oe as a,
517
+ he as b,
518
518
  Y as c,
519
- pe as d,
520
- Me as e,
521
- Ge as f,
519
+ Ee as d,
520
+ ge as e,
521
+ He as f,
522
522
  A as g,
523
- Oe as h,
524
- Ee as i,
525
- De as j,
526
- Ue as k,
527
- Ye as l,
528
- ne as m,
529
- Pe as n,
530
- ge as o,
523
+ Je as h,
524
+ Fe as i,
525
+ Ae as j,
526
+ Oe as k,
527
+ Ue as l,
528
+ re as m,
529
+ Ge as n,
530
+ _e as o,
531
531
  G as p,
532
- je as q,
533
- $e as r,
534
- Ne as s,
535
- Qe as t,
536
- ke as u,
532
+ be as q,
533
+ je as r,
534
+ Ze as s,
535
+ Xe as t,
536
+ We as u,
537
537
  qe as v,
538
- Se as w,
539
- We as x,
538
+ Re as w,
539
+ Me as x,
540
540
  Ve as y,
541
- Je as z
541
+ Ne as z
542
542
  };
@@ -1,20 +1,20 @@
1
- "use strict";const x=require("react/jsx-runtime"),s=require("react"),T=require("../constants/index.cjs"),h=require("styled-components"),V=require("react-dom/client"),W=require("../shared/utils/debug/index.cjs"),S="xl",v=T.breakPoints,E=s.createContext({breakpoint:S,breakpointConfig:v}),b=e=>t=>`
1
+ "use strict";const x=require("react/jsx-runtime"),s=require("react"),T=require("../constants/index.cjs"),h=require("styled-components"),V=require("react-dom/client"),W=require("../shared/utils/debug/index.cjs"),v="xl",S=T.breakPoints,E=s.createContext({breakpoint:v,breakpointConfig:S}),b=e=>t=>`
2
2
  @media ${e} {
3
3
  ${t}
4
4
  }
5
- `,j=e=>({xs:{min:0,max:e.xs-1},s:{min:e.xs+1,max:e.s},m:{min:e.s+1,max:e.m},l:{min:e.m+1,max:e.l},xl:{min:e.l+1,max:e.xl},xxl:{min:e.xl+1,max:1e5}}),A=e=>{const t=j(e);return{up:n=>b(`(min-width: ${t[n].max+1}px)`),down:n=>b(`(max-width: ${t[n].min-1}px)`),only:n=>b(`(min-width: ${t[n].min}px) and (max-width: ${t[n].max}px)`),not:n=>b(`(max-width: ${t[n].min-1}px), (min-width: ${t[n].max+1}px)`),between:(n,r)=>b(`(min-width: ${t[n].min}px) and (max-width: ${t[r].max}px)`),exact:(n,r)=>b(`(min-width: ${n}px) and (max-width: ${r}px)`)}},_=A(v),I=({breakpointConfig:e=v,children:t})=>x.jsx(h.ThemeProvider,{theme:{media:A(e)},children:t}),U=({children:e,breakpointConfig:t=v})=>{const[n,r]=s.useState(S);s.useEffect(()=>{const c=Object.entries(t).map(([i,a])=>({key:i,mql:window.matchMedia(`(max-width: ${a}px)`)})),u=()=>{var a;const i=((a=c.find(({mql:l})=>l.matches))==null?void 0:a.key)||S;r(i)};return u(),c.forEach(({mql:i})=>{i.addEventListener("change",u)}),()=>{c.forEach(({mql:i})=>{i.removeEventListener("change",u)})}},[]);const o=s.useMemo(()=>({breakpoint:n,breakpointConfig:t}),[n,t]);return x.jsx(E.Provider,{value:o,children:x.jsx(I,{breakpointConfig:t,children:e})})},M=()=>{const{breakpoint:e,breakpointConfig:t}=s.useContext(E),n=s.useMemo(()=>({up:r=>t[e]>t[r],down:r=>t[e]<t[r],only:r=>t[e]===t[r],not:r=>t[e]!==t[r],between:(r,o)=>t[e]>t[r]&&t[e]<t[o]}),[e,t]);return{breakpoint:e,...n}};function N(e,t,n,r={}){const o={bubbles:!0,cancelable:!0,composed:!0,...r,detail:n},c=new CustomEvent(t,o);return e.dispatchEvent(c)}const H=null,R=s.createContext(H),q=({children:e,clickStreamInstance:t})=>x.jsx(R.Provider,{value:t,children:e});var k=(e=>(e.START="Start",e.END="End",e.SUCCESS="Success",e.FAILED="Failed",e))(k||{}),D=(e=>(e.BUISINESS="business",e))(D||{});const z=()=>{const e=s.useContext(R);if(!e)throw new Error("Ошибка. Приложение необходимо обернуть в ClickStreamProvider");return e},K=(e,t)=>e.join("/").concat(t?`_${t}`:""),Q=e=>Object.entries(e).reduce((t,n)=>{if(n[0]&&n[1]){const r={key:n[0],value:n[1]};t.push(r)}return t},[]),X=e=>Array.isArray(e)?e.join(";"):typeof e=="boolean"?`${e}`:e??"null";function Y(e,t){if(!t)return e;const n=JSON.stringify(t),r=btoa(n);return e.set("X-Digital-Trace-Context",r),e}function G(e){function t(){const i=s.useRef(e),a=s.useCallback(()=>i.current,[]),l=s.useRef(new Set),d=s.useCallback(m=>{i.current={...i.current,...m},l.current.forEach(g=>g())},[]),f=s.useCallback(m=>(l.current.add(m),()=>l.current.delete(m)),[]);return{get:a,set:d,subscribe:f}}const n=s.createContext(null);function r({children:i}){return x.jsx(n.Provider,{value:t(),children:i})}function o(i){const a=s.useContext(n);if(!a)throw new Error("Store not found");const[l,d]=s.useState(a.get());return s.useEffect(()=>a.subscribe(()=>d(a.get())),[]),[i(l),a.set]}function c(){const i=s.useContext(n);if(!i)throw new Error("Store not found");return i.set}function u(i){const a=s.useContext(n);if(!a)throw new Error("Store not found");const[l,d]=s.useState(a.get());return s.useEffect(()=>a.subscribe(()=>d(a.get())),[]),i(l)}return{Provider:r,useStore:o,useSelector:u,useDispatch:c}}const J=typeof requestAnimationFrame=="function",Z=typeof cancelAnimationFrame=="function",ee=e=>J?requestAnimationFrame(e):setTimeout(e,0),te=e=>{Z?cancelAnimationFrame(e):clearTimeout(e)},L=e=>{let t=null;return new ResizeObserver((n,r)=>{t!==null&&te(t),t=ee(()=>{t=null,e(n,r)})})},ne=(e,t=200)=>{let n;return(...r)=>{clearTimeout(n),n=setTimeout(()=>{e(...r)},t)}},B=(e,t,n="")=>{const r=[],o=new Map;return e.forEach((c,u)=>{const i=`${n}-${u}`,a=c.value||i,l={...c,value:a};if(t&&o.set(a.toString(),t),c.items){const[d,f]=B(c.items,t,i);f.forEach((m,g)=>o.set(g,m)),l.items=d}r.push(l)}),[r,o]},re=e=>s.useCallback((t,n)=>{const r=e.get(t.value);r==null||r(t,n)},[e]),oe=null,P=s.createContext(oe),se=({children:e,busInstance:t})=>x.jsx(P.Provider,{value:t,children:e}),ie=()=>{const e=s.useContext(P);if(!e)throw new Error("Ошибка. Приложение необходимо обернуть в EventBusProvider");return e},ce=()=>{const e=new Uint8Array(16);crypto.getRandomValues(e);const t=Array.from(e).map(o=>o.toString(16).padStart(2,"0")).join(""),n=new Uint8Array(8);crypto.getRandomValues(n);const r=Array.from(n).map(o=>o.toString(16).padStart(2,"0")).join("");return{traceId:t,requestQueryParam:"rq",headers:{"x-b3-traceid":t,"x-b3-spanid":r}}},w=()=>{const e=document.documentElement.getAttribute("data-theme");return e==="dark"?"dark":e==="highContrastLight"?"highContrastLight":e==="betaCoreLight"?"betaCoreLight":"light"},ae=e=>e?h.css(["&&{","}"],e):void 0,C=new Map;function ue(e){const t=`${e}_<space>`;if(C.has(t)){const o=C.get(t);return typeof o=="number"&&o||0}const n=document.createElement("span");n.style.cssText=`
5
+ `,_=e=>({xs:{min:0,max:e.xs-1},s:{min:e.xs+1,max:e.s},m:{min:e.s+1,max:e.m},l:{min:e.m+1,max:e.l},xl:{min:e.l+1,max:e.xl},xxl:{min:e.xl+1,max:1e5}}),A=e=>{const t=_(e);return{up:n=>b(`(min-width: ${t[n].max+1}px)`),down:n=>b(`(max-width: ${t[n].min-1}px)`),only:n=>b(`(min-width: ${t[n].min}px) and (max-width: ${t[n].max}px)`),not:n=>b(`(max-width: ${t[n].min-1}px), (min-width: ${t[n].max+1}px)`),between:(n,r)=>b(`(min-width: ${t[n].min}px) and (max-width: ${t[r].max}px)`),exact:(n,r)=>b(`(min-width: ${n}px) and (max-width: ${r}px)`)}},j=A(S),I=({breakpointConfig:e=S,children:t})=>x.jsx(h.ThemeProvider,{theme:{media:A(e)},children:t}),N=({children:e,breakpointConfig:t=S})=>{const[n,r]=s.useState(v);s.useEffect(()=>{const c=Object.entries(t).map(([i,a])=>({key:i,mql:window.matchMedia(`(max-width: ${a}px)`)})),u=()=>{var a;const i=((a=c.find(({mql:l})=>l.matches))==null?void 0:a.key)||v;r(i)};return u(),c.forEach(({mql:i})=>{i.addEventListener("change",u)}),()=>{c.forEach(({mql:i})=>{i.removeEventListener("change",u)})}},[]);const o=s.useMemo(()=>({breakpoint:n,breakpointConfig:t}),[n,t]);return x.jsx(E.Provider,{value:o,children:x.jsx(I,{breakpointConfig:t,children:e})})},M=()=>{const{breakpoint:e,breakpointConfig:t}=s.useContext(E),n=s.useMemo(()=>({up:r=>t[e]>t[r],down:r=>t[e]<t[r],only:r=>t[e]===t[r],not:r=>t[e]!==t[r],between:(r,o)=>t[e]>t[r]&&t[e]<t[o]}),[e,t]);return{breakpoint:e,...n}};function U(e,t,n,r={}){const o={bubbles:!0,cancelable:!0,composed:!0,...r,detail:n},c=new CustomEvent(t,o);return e.dispatchEvent(c)}const H=null,k=s.createContext(H),q=({children:e,clickStreamInstance:t})=>x.jsx(k.Provider,{value:t,children:e});var D=(e=>(e.START="Start",e.END="End",e.SUCCESS="Success",e.FAILED="Failed",e))(D||{}),R=(e=>(e.BUISINESS="business",e))(R||{});const z=()=>{const e=s.useContext(k);if(!e)throw new Error("Ошибка. Приложение необходимо обернуть в ClickStreamProvider");return e},K=(e,t)=>e.join("/").concat(t?`_${t}`:""),Q=e=>Object.entries(e).reduce((t,n)=>{if(n[0]&&n[1]){const r={key:n[0],value:n[1]};t.push(r)}return t},[]),X=e=>Array.isArray(e)?e.join(";"):typeof e=="boolean"?`${e}`:e??"null";function Y(e,t){if(!t)return e;const n=JSON.stringify(t),r=btoa(n);return e.set("X-Digital-Trace-Context",r),e}function G(e){function t(){const i=s.useRef(e),a=s.useCallback(()=>i.current,[]),l=s.useRef(new Set),d=s.useCallback(m=>{i.current={...i.current,...m},l.current.forEach(g=>g())},[]),f=s.useCallback(m=>(l.current.add(m),()=>l.current.delete(m)),[]);return{get:a,set:d,subscribe:f}}const n=s.createContext(null);function r({children:i}){return x.jsx(n.Provider,{value:t(),children:i})}function o(i){const a=s.useContext(n);if(!a)throw new Error("Store not found");const[l,d]=s.useState(a.get());return s.useEffect(()=>a.subscribe(()=>d(a.get())),[]),[i(l),a.set]}function c(){const i=s.useContext(n);if(!i)throw new Error("Store not found");return i.set}function u(i){const a=s.useContext(n);if(!a)throw new Error("Store not found");const[l,d]=s.useState(a.get());return s.useEffect(()=>a.subscribe(()=>d(a.get())),[]),i(l)}return{Provider:r,useStore:o,useSelector:u,useDispatch:c}}const J=typeof requestAnimationFrame=="function",Z=typeof cancelAnimationFrame=="function",ee=e=>J?requestAnimationFrame(e):setTimeout(e,0),te=e=>{Z?cancelAnimationFrame(e):clearTimeout(e)},B=e=>{let t=null;return new ResizeObserver((n,r)=>{t!==null&&te(t),t=ee(()=>{t=null,e(n,r)})})},ne=(e,t=200)=>{let n;return(...r)=>{clearTimeout(n),n=setTimeout(()=>{e(...r)},t)}},P=(e,t,n="")=>{const r=[],o=new Map;return e.forEach((c,u)=>{const i=`${n}-${u}`,a=c.value||i,l={...c,value:a};if(t&&o.set(a.toString(),t),c.items){const[d,f]=P(c.items,t,i);f.forEach((m,g)=>o.set(g,m)),l.items=d}r.push(l)}),[r,o]},re=e=>s.useCallback((t,n)=>{const r=e.get(t.value);r==null||r(t,n)},[e]),oe=null,L=s.createContext(oe),se=({children:e,busInstance:t})=>x.jsx(L.Provider,{value:t,children:e}),ie=()=>{const e=s.useContext(L);if(!e)throw new Error("Ошибка. Приложение необходимо обернуть в EventBusProvider");return e},ce=()=>{const e=new Uint8Array(16);crypto.getRandomValues(e);const t=Array.from(e).map(o=>o.toString(16).padStart(2,"0")).join(""),n=new Uint8Array(8);crypto.getRandomValues(n);const r=Array.from(n).map(o=>o.toString(16).padStart(2,"0")).join("");return{traceId:t,requestQueryParam:"rq",headers:{"x-b3-traceid":t,"x-b3-spanid":r}}},ae=["light","dark","highContrastLight","highContrastDark","betaCoreLight","betaCoreDark"],w=()=>{const e=document.documentElement.getAttribute("data-theme");return ae.find(t=>t===e)??"light"},ue=e=>e?h.css(["&&{","}"],e):void 0,C=new Map;function le(e){const t=`${e}_<space>`;if(C.has(t)){const o=C.get(t);return typeof o=="number"&&o||0}const n=document.createElement("span");n.style.cssText=`
6
6
  font: ${e};
7
7
  visibility: hidden;
8
8
  white-space: pre-wrap;
9
9
  position: absolute;
10
- `,n.textContent=" ",document.body.appendChild(n);const r=n.offsetWidth;return document.body.removeChild(n),C.set(t,r),r}function le(e,t){const n=document.createElement("span");n.style.cssText=`
10
+ `,n.textContent=" ",document.body.appendChild(n);const r=n.offsetWidth;return document.body.removeChild(n),C.set(t,r),r}function de(e,t){const n=document.createElement("span");n.style.cssText=`
11
11
  font: ${t};
12
12
  visibility: hidden;
13
13
  white-space: nowrap;
14
14
  position: absolute;
15
15
  padding: 0;
16
16
  margin: 0;
17
- `,n.textContent=e,document.body.appendChild(n);const r=n.offsetWidth;return document.body.removeChild(n),r}function $(e,t){if(e===" ")return ue(t);if(e===" ")return $(" ",t)*4;const n=`${t}_${e}`;if(C.has(n)){const o=C.get(n);return typeof o=="number"&&o||0}const r=le(e,t);return C.set(n,r),r}function de(e,t,n=0){if(!e)return 0;const r=Array.from(e).reduce((u,i)=>u+$(i,t),0),o=e.length,c=Math.max(o-1,0)*n;return r+c}function me(e,t,n=0){const r=document.createElement("span");r.style.cssText=`
17
+ `,n.textContent=e,document.body.appendChild(n);const r=n.offsetWidth;return document.body.removeChild(n),r}function $(e,t){if(e===" ")return le(t);if(e===" ")return $(" ",t)*4;const n=`${t}_${e}`;if(C.has(n)){const o=C.get(n);return typeof o=="number"&&o||0}const r=de(e,t);return C.set(n,r),r}function me(e,t,n=0){if(!e)return 0;const r=Array.from(e).reduce((u,i)=>u+$(i,t),0),o=e.length,c=Math.max(o-1,0)*n;return r+c}function fe(e,t,n=0){const r=document.createElement("span");r.style.cssText=`
18
18
  font: ${t};
19
19
  visibility: hidden;
20
20
  position: absolute;
@@ -22,4 +22,4 @@
22
22
  padding: 0;
23
23
  margin: 0;
24
24
  letter-spacing: ${n}px;
25
- `,r.textContent=e,document.body.appendChild(r);const o=r.offsetWidth;return document.body.removeChild(r),o}function fe(e,t,n=0){return e?me(e,t,n):0}const he=e=>{const t=e.substring(e.indexOf("(")+1,e.indexOf(","));return getComputedStyle(document.body).getPropertyValue(t)},pe=(e,t)=>{const n=t.split(".");let r=e;for(const o of n)if(typeof r=="object"&&r!==null&&o in r)r=r[o];else return;return r},ge=e=>T.viewColors[e],be=()=>{const[e,t]=s.useState(()=>w()??"light");return s.useEffect(()=>{t(w());const n=new MutationObserver(()=>t(w()));return n.observe(document.documentElement,{childList:!1,attributes:!0,attributeFilter:["data-theme"],subtree:!1}),()=>{var r;return(r=n==null?void 0:n.disconnect)==null?void 0:r.call(n)}},[]),e},Ce=(e,t)=>{const[n,r]=s.useState(!1),o=s.useRef();return[s.useCallback(function(...u){r(!0),clearTimeout(o.current),o.current=setTimeout(()=>{e.apply(this,u),r(!1)},t)},[t,e]),{debouncing:n}]},xe=(e,t=500,n)=>{const[r,o]=s.useState(n??e);return s.useEffect(()=>{const c=setTimeout(()=>{o(e)},t);return()=>{clearTimeout(c)}},[e]),r},p=new Map,we=e=>!e||p.get(e)==="loaded"?Promise.resolve():new Promise(t=>{const n=new Image;n.onload=()=>{p.set(e,"loaded"),t()},n.onerror=()=>{p.set(e,"error"),t()},n.src=e}),ve=(e,t=0)=>{const[n,r]=s.useState(()=>e?p.get(e)??"loading":"idle"),[o,c]=s.useState(0),u=s.useRef(e);u.current=e;const i=s.useCallback(()=>{e&&p.delete(e),c(a=>a+1)},[e]);return s.useEffect(()=>{if(!e){r("idle");return}const a=p.get(e);if(a){r(a);return}let l=!0,d;r("loading");const f=g=>{p.set(e,g);const y=()=>{l&&u.current===e&&r(g)};t>0?d=setTimeout(y,t):y()},m=new Image;return m.onload=()=>f("loaded"),m.onerror=()=>f("error"),m.src=e,()=>{l=!1,d&&clearTimeout(d)}},[e,o,t]),{status:n,isLoading:n==="loading",isLoaded:n==="loaded",isError:n==="error",reload:i}},Se=typeof window<"u"&&"structuredClone"in window&&typeof window.structuredClone=="function"||typeof globalThis<"u"&&"structuredClone"in globalThis&&typeof globalThis.structuredClone=="function";function O(...e){return e.reduce((t,n)=>(!n||typeof n!="string"||(t=`${t} ${n}`),t),"")}const ye=O;function Te(...e){const t=e.filter(Boolean);return t.length<=1?t[0]||null:function(r){for(const o of t)typeof o=="function"?o(r):o&&(o.current=r)}}const Ee=(e,t,n)=>t>n?n:t<e?e:t,Ae=(e,{identifierPrefix:t})=>({...e,createRoot:(n,r)=>V.createRoot(n,{...r,identifierPrefix:t})}),F=e=>e!=null&&e.lines&&e.lines>1?{display:"-webkit-box",WebkitLineClamp:e.lines,WebkitBoxOrient:"vertical",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"normal"}:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},Ie=e=>h.css(F(e)),Re=h.css(["width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;"]),ke=(e,t=200)=>{let n;return(...r)=>{n||(n=!0,e(...r),setTimeout(()=>{n=!1},t))}},De=(e,t=200)=>{let n=null,r=null,o=!1;const c=(...u)=>{n=u,o||(e(...u),o=!0,r=setTimeout(()=>{o=!1,n!==u&&c(...n),r=null},t))};return c.cancel=()=>{r&&(clearTimeout(r),o=!1,r=null)},c},Le="0.3s",Be=`all ${Le} ease`,Pe=h.keyframes(["from{transform:scale(0.85);opacity:0;}to{transform:scale(1);opacity:1;}"]),$e=h.keyframes(["from{transform:scale(1);opacity:1;}to{transform:scale(0.85);opacity:0;}"]);h.css(["animation:"," "," "," forwards;"],({$isOpen:e})=>e?Pe:$e,({$duration:e="2.35s"})=>e,({$timing:e="ease"})=>e);const Oe=h.keyframes(["from{opacity:0;transform:translateY(-10px);}to{opacity:1;transform:translateY(0);}"]),Fe=(e,t="vertical",n=!0)=>{const[r,o]=s.useState({vertical:!1,horizontal:!1});switch(s.useEffect(()=>{const c=e.current;if(!c)return;const u=()=>{if(!c)return;const a=c.scrollHeight>c.clientHeight,l=c.scrollWidth>c.clientWidth;o(d=>d.vertical!==a||d.horizontal!==l?{vertical:a,horizontal:l}:d)};u();let i;return n&&typeof ResizeObserver<"u"&&(i=L(u),i.observe(c)),()=>{i==null||i.disconnect()}},[e,n]),t){case"vertical":return r.vertical;case"horizontal":return r.horizontal;case"both":return r;default:return r.vertical}},Ve=W.createDebugLogger("TABLE");exports.BreakpointProvider=U;exports.ClickStreamProvider=q;exports.DEFAULT_TRANSITION=Be;exports.EClickStreamErrorType=D;exports.EClickStreamStatusProcess=k;exports.EventBusProvider=se;exports.MediaProvider=I;exports.bubble=N;exports.clamp=Ee;exports.createClickStreamEventValue=K;exports.createSafeResizeObserver=L;exports.createStore=G;exports.debounce=ne;exports.fadeIn=Oe;exports.generateB3Headers=ce;exports.getActiveTheme=w;exports.getCssProp=ae;exports.getMFReactDOMClient=Ae;exports.getTextWidth=fe;exports.getTextWidthByCache=de;exports.getTokenValue=he;exports.getValue=pe;exports.getViewColor=ge;exports.injectDigitalTraceContextHeader=Y;exports.isStructuredCloneSupported=Se;exports.mCls=ye;exports.media=_;exports.mergeClasses=O;exports.mergeRefs=Te;exports.preloadImage=we;exports.processDropdownItems=B;exports.tableDebug=Ve;exports.throttle=ke;exports.throttleWithLastCall=De;exports.transformClickStreamProperties=Q;exports.transformClickStreamPropertyValuesToString=X;exports.truncateText=F;exports.truncateTextCss=Ie;exports.useActiveTheme=be;exports.useBreakpoint=M;exports.useClickStream=z;exports.useDebouncedFn=Ce;exports.useDebouncedValue=xe;exports.useDropdownItemClickHandler=re;exports.useEventBus=ie;exports.useHasScroll=Fe;exports.useImageLoader=ve;exports.visuallyHiddenCss=Re;
25
+ `,r.textContent=e,document.body.appendChild(r);const o=r.offsetWidth;return document.body.removeChild(r),o}function he(e,t,n=0){return e?fe(e,t,n):0}const pe=e=>{const t=e.substring(e.indexOf("(")+1,e.indexOf(","));return getComputedStyle(document.body).getPropertyValue(t)},ge=(e,t)=>{const n=t.split(".");let r=e;for(const o of n)if(typeof r=="object"&&r!==null&&o in r)r=r[o];else return;return r},be=e=>T.viewColors[e],Ce=()=>{const[e,t]=s.useState(()=>w()??"light");return s.useEffect(()=>{t(w());const n=new MutationObserver(()=>t(w()));return n.observe(document.documentElement,{childList:!1,attributes:!0,attributeFilter:["data-theme"],subtree:!1}),()=>{var r;return(r=n==null?void 0:n.disconnect)==null?void 0:r.call(n)}},[]),e},xe=(e,t)=>{const[n,r]=s.useState(!1),o=s.useRef();return[s.useCallback(function(...u){r(!0),clearTimeout(o.current),o.current=setTimeout(()=>{e.apply(this,u),r(!1)},t)},[t,e]),{debouncing:n}]},we=(e,t=500,n)=>{const[r,o]=s.useState(n??e);return s.useEffect(()=>{const c=setTimeout(()=>{o(e)},t);return()=>{clearTimeout(c)}},[e]),r},p=new Map,Se=e=>!e||p.get(e)==="loaded"?Promise.resolve():new Promise(t=>{const n=new Image;n.onload=()=>{p.set(e,"loaded"),t()},n.onerror=()=>{p.set(e,"error"),t()},n.src=e}),ve=(e,t=0)=>{const[n,r]=s.useState(()=>e?p.get(e)??"loading":"idle"),[o,c]=s.useState(0),u=s.useRef(e);u.current=e;const i=s.useCallback(()=>{e&&p.delete(e),c(a=>a+1)},[e]);return s.useEffect(()=>{if(!e){r("idle");return}const a=p.get(e);if(a){r(a);return}let l=!0,d;r("loading");const f=g=>{p.set(e,g);const y=()=>{l&&u.current===e&&r(g)};t>0?d=setTimeout(y,t):y()},m=new Image;return m.onload=()=>f("loaded"),m.onerror=()=>f("error"),m.src=e,()=>{l=!1,d&&clearTimeout(d)}},[e,o,t]),{status:n,isLoading:n==="loading",isLoaded:n==="loaded",isError:n==="error",reload:i}},ye=typeof window<"u"&&"structuredClone"in window&&typeof window.structuredClone=="function"||typeof globalThis<"u"&&"structuredClone"in globalThis&&typeof globalThis.structuredClone=="function";function O(...e){return e.reduce((t,n)=>(!n||typeof n!="string"||(t=`${t} ${n}`),t),"")}const Te=O;function Ee(...e){const t=e.filter(Boolean);return t.length<=1?t[0]||null:function(r){for(const o of t)typeof o=="function"?o(r):o&&(o.current=r)}}const Ae=(e,t,n)=>t>n?n:t<e?e:t,Ie=(e,{identifierPrefix:t})=>({...e,createRoot:(n,r)=>V.createRoot(n,{...r,identifierPrefix:t})}),F=e=>e!=null&&e.lines&&e.lines>1?{display:"-webkit-box",WebkitLineClamp:e.lines,WebkitBoxOrient:"vertical",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"normal"}:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},ke=e=>h.css(F(e)),De=h.css(["width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;"]),Re=(e,t=200)=>{let n;return(...r)=>{n||(n=!0,e(...r),setTimeout(()=>{n=!1},t))}},Be=(e,t=200)=>{let n=null,r=null,o=!1;const c=(...u)=>{n=u,o||(e(...u),o=!0,r=setTimeout(()=>{o=!1,n!==u&&c(...n),r=null},t))};return c.cancel=()=>{r&&(clearTimeout(r),o=!1,r=null)},c},Pe="0.3s",Le=`all ${Pe} ease`,$e=h.keyframes(["from{transform:scale(0.85);opacity:0;}to{transform:scale(1);opacity:1;}"]),Oe=h.keyframes(["from{transform:scale(1);opacity:1;}to{transform:scale(0.85);opacity:0;}"]);h.css(["animation:"," "," "," forwards;"],({$isOpen:e})=>e?$e:Oe,({$duration:e="2.35s"})=>e,({$timing:e="ease"})=>e);const Fe=h.keyframes(["from{opacity:0;transform:translateY(-10px);}to{opacity:1;transform:translateY(0);}"]),Ve=(e,t="vertical",n=!0)=>{const[r,o]=s.useState({vertical:!1,horizontal:!1});switch(s.useEffect(()=>{const c=e.current;if(!c)return;const u=()=>{if(!c)return;const a=c.scrollHeight>c.clientHeight,l=c.scrollWidth>c.clientWidth;o(d=>d.vertical!==a||d.horizontal!==l?{vertical:a,horizontal:l}:d)};u();let i;return n&&typeof ResizeObserver<"u"&&(i=B(u),i.observe(c)),()=>{i==null||i.disconnect()}},[e,n]),t){case"vertical":return r.vertical;case"horizontal":return r.horizontal;case"both":return r;default:return r.vertical}},We=W.createDebugLogger("TABLE");exports.BreakpointProvider=N;exports.ClickStreamProvider=q;exports.DEFAULT_TRANSITION=Le;exports.EClickStreamErrorType=R;exports.EClickStreamStatusProcess=D;exports.EventBusProvider=se;exports.MediaProvider=I;exports.bubble=U;exports.clamp=Ae;exports.createClickStreamEventValue=K;exports.createSafeResizeObserver=B;exports.createStore=G;exports.debounce=ne;exports.fadeIn=Fe;exports.generateB3Headers=ce;exports.getActiveTheme=w;exports.getCssProp=ue;exports.getMFReactDOMClient=Ie;exports.getTextWidth=he;exports.getTextWidthByCache=me;exports.getTokenValue=pe;exports.getValue=ge;exports.getViewColor=be;exports.injectDigitalTraceContextHeader=Y;exports.isStructuredCloneSupported=ye;exports.mCls=Te;exports.media=j;exports.mergeClasses=O;exports.mergeRefs=Ee;exports.preloadImage=Se;exports.processDropdownItems=P;exports.tableDebug=We;exports.throttle=Re;exports.throttleWithLastCall=Be;exports.transformClickStreamProperties=Q;exports.transformClickStreamPropertyValuesToString=X;exports.truncateText=F;exports.truncateTextCss=ke;exports.useActiveTheme=Ce;exports.useBreakpoint=M;exports.useClickStream=z;exports.useDebouncedFn=xe;exports.useDebouncedValue=we;exports.useDropdownItemClickHandler=re;exports.useEventBus=ie;exports.useHasScroll=Ve;exports.useImageLoader=ve;exports.visuallyHiddenCss=De;
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ut=require("@salutejs/sdds-finai"),N=require("react/jsx-runtime"),st=require("@salutejs/plasma-icons"),G=require("@salutejs/sdds-themes/tokens/sdds_finai"),B=require("../../chunks/utils-ChDQGRjv.cjs"),e=require("react"),tt=require("../../constants/index.cjs"),lt=require("styled-components"),W={popoverContentContainer:"ai-agent-popover-content-container",popoverIconTrigger:"ai-agent-popover-icon-trigger"},ht={root:"popover-root",arrow:"popover-arrow"},$={purple:"#b559f3",blue:"#7496fd"},xt=26,it=5,Mt=56,Ct={x:window.innerWidth-100,y:window.innerHeight-100},ct=10,at="ai-agent-popover-position",Et=`${ht.arrow}:before`,j={spaceX4:()=>tt.s.x4,spaceX3:()=>tt.s.x3,brS:()=>tt.borderRadius.s},St=lt(ut.Popover).withConfig({displayName:"AiAgentPopoverstyled__AiAgentPopoverStyled"})(["--ai-agent-popover-content-container-pd:"," "," "," ",";--ai-agent-popover-border-radius:",";"," &:is(.",",.","){border-radius:var(--ai-agent-popover-border-radius);}& .","{padding:var(--ai-agent-popover-content-container-pd);background:",";height:100%;}& .","{background:",";}"],j.spaceX4,j.spaceX3,j.spaceX3,j.spaceX3,j.brS,({$draggable:t,$position:r})=>{if(t)return"";if(typeof r=="string")switch(r){case"top-left":return`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ut=require("@salutejs/sdds-finai"),N=require("react/jsx-runtime"),st=require("@salutejs/plasma-icons"),G=require("@salutejs/sdds-themes/tokens/sdds_finai"),B=require("../../chunks/utils-OQNruMpn.cjs"),e=require("react"),tt=require("../../constants/index.cjs"),lt=require("styled-components"),W={popoverContentContainer:"ai-agent-popover-content-container",popoverIconTrigger:"ai-agent-popover-icon-trigger"},ht={root:"popover-root",arrow:"popover-arrow"},$={purple:"#b559f3",blue:"#7496fd"},xt=26,it=5,Mt=56,Ct={x:window.innerWidth-100,y:window.innerHeight-100},ct=10,at="ai-agent-popover-position",Et=`${ht.arrow}:before`,j={spaceX4:()=>tt.s.x4,spaceX3:()=>tt.s.x3,brS:()=>tt.borderRadius.s},St=lt(ut.Popover).withConfig({displayName:"AiAgentPopoverstyled__AiAgentPopoverStyled"})(["--ai-agent-popover-content-container-pd:"," "," "," ",";--ai-agent-popover-border-radius:",";"," &:is(.",",.","){border-radius:var(--ai-agent-popover-border-radius);}& .","{padding:var(--ai-agent-popover-content-container-pd);background:",";height:100%;}& .","{background:",";}"],j.spaceX4,j.spaceX3,j.spaceX3,j.spaceX3,j.brS,({$draggable:t,$position:r})=>{if(t)return"";if(typeof r=="string")switch(r){case"top-left":return`
2
2
  position: fixed;
3
3
  left: 56px;
4
4
  top: 56px;
@@ -2,7 +2,7 @@ import { Popover as Et, IconButton as At } from "@salutejs/sdds-finai";
2
2
  import { jsx as F } from "react/jsx-runtime";
3
3
  import { IconMagic as It, IconResizeCorneredFill as Tt } from "@salutejs/plasma-icons";
4
4
  import { surfaceSolidCard as ct, shadowDownSoftM as Dt, textTertiary as Pt } from "@salutejs/sdds-themes/tokens/sdds_finai";
5
- import { t as Lt, c as at } from "../../chunks/utils-u1KJ37g3.mjs";
5
+ import { t as Lt, c as at } from "../../chunks/utils-Hu77fGGe.mjs";
6
6
  import { useState as _, useRef as X, useCallback as T, useEffect as R, useMemo as K, useLayoutEffect as et } from "react";
7
7
  import { s as ht, borderRadius as St } from "../../constants/index.mjs";
8
8
  import lt from "styled-components";
@@ -0,0 +1,3 @@
1
+ import { AiAgentInputProps } from './AiAgentPopup.types';
2
+
3
+ export declare const AiAgentInput: import('react').ForwardRefExoticComponent<Omit<AiAgentInputProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,6 @@
1
+ import { AiAgentLeftPanelProps } from './AiAgentPopup.types';
2
+
3
+ export declare const AiAgentLeftPanel: {
4
+ ({ items, activeKey, defaultActiveKey, onActiveKeyChange, }: AiAgentLeftPanelProps): import("react/jsx-runtime").JSX.Element;
5
+ displayName: string;
6
+ };