@daisforge/ui 1.16.0 → 1.18.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 (370) hide show
  1. package/chunks/{AnalyticalWidget-BWcBjoNh.mjs → AnalyticalWidget-Cdo6_s1Y.mjs} +165 -163
  2. package/chunks/AnalyticalWidget-wke3Jm3X.cjs +43 -0
  3. package/chunks/{ApprovalCenter-CGs7n-2C.cjs → ApprovalCenter-CAcC43zn.cjs} +1 -1
  4. package/chunks/{ApprovalCenter-BqN8Zjol.mjs → ApprovalCenter-DxcvzR8q.mjs} +1 -1
  5. package/chunks/{BlockTitle-o2QTRA7D.cjs → BlockTitle-BEIxiECX.cjs} +1 -1
  6. package/chunks/{BlockTitle-BM2EE1b1.mjs → BlockTitle-BZxOEdTc.mjs} +1 -1
  7. package/chunks/{FiltersActions-CKimtYsU.cjs → FiltersActions-BKJJH6Mu.cjs} +1 -1
  8. package/chunks/{FiltersActions-C5OGUDDx.mjs → FiltersActions-CFStLRsU.mjs} +3 -3
  9. package/chunks/{GridDND-DkL6-TgS.cjs → GridDND-DV-1g1sI.cjs} +1 -1
  10. package/chunks/{GridDND-D9T2wqLt.mjs → GridDND-UMUi8M_Q.mjs} +1 -1
  11. package/chunks/{ListOfFilters-B8XF6KiI.cjs → ListOfFilters-DJvnT9kw.cjs} +1 -1
  12. package/chunks/{ListOfFilters-BEDW_v5t.mjs → ListOfFilters-DTAZ3wfQ.mjs} +2 -2
  13. package/chunks/{MassActions-C66ulAuq.mjs → MassActions-DSAaO1-u.mjs} +2 -2
  14. package/chunks/{MassActions-BHNmuh3s.cjs → MassActions-Z-48g81T.cjs} +1 -1
  15. package/chunks/{PageTitle-BEdQpyZh.cjs → PageTitle-Bh3g6FUT.cjs} +1 -1
  16. package/chunks/{PageTitle-BVbWaV52.mjs → PageTitle-CaqXfrrQ.mjs} +1 -1
  17. package/chunks/{Stories-DVh7iByM.cjs → Stories-CZXv_Ves.cjs} +1 -1
  18. package/chunks/{Stories-lNAuXVJN.mjs → Stories-Dlwle-SM.mjs} +1 -1
  19. package/chunks/{Table-C_1QGsh8.mjs → Table-B9OAyWAW.mjs} +4 -4
  20. package/chunks/{Table-C-lLZklk.cjs → Table-BwhzcFX1.cjs} +1 -1
  21. package/chunks/{TableCanvas--g37wjRi.mjs → TableCanvas-DcoUBrgC.mjs} +5315 -4827
  22. package/chunks/TableCanvas-MMWMrYiV.cjs +30 -0
  23. package/chunks/{TableGlide-Cjcw7Wur.mjs → TableGlide-Ch-gaROR.mjs} +1982 -1852
  24. package/chunks/TableGlide-TYzM2bEB.cjs +1 -0
  25. package/components/AiAgentPopover/AiAgentPopover.styled.d.ts +1 -0
  26. package/components/AnalyticalWidget/AnalyticalWidget.d.ts +5 -3
  27. package/components/AnalyticalWidget/components/AnalyticalWidgetButtons/AnalyticalWidgetIconButtonDots.d.ts +69 -11
  28. package/components/AnalyticalWidget/components/AnalyticalWidgetButtons/index.cjs +1 -1
  29. package/components/AnalyticalWidget/components/AnalyticalWidgetButtons/index.mjs +1 -1
  30. package/components/AnalyticalWidget/components/AnalyticalWidgetChips/index.cjs +1 -1
  31. package/components/AnalyticalWidget/components/AnalyticalWidgetChips/index.mjs +1 -1
  32. package/components/AnalyticalWidget/components/AnalyticalWidgetHeader/index.cjs +1 -1
  33. package/components/AnalyticalWidget/components/AnalyticalWidgetHeader/index.mjs +1 -1
  34. package/components/AnalyticalWidget/index.cjs +1 -1
  35. package/components/AnalyticalWidget/index.mjs +1 -1
  36. package/components/ApprovalCenter/components/index.cjs +1 -1
  37. package/components/ApprovalCenter/components/index.mjs +1 -1
  38. package/components/ApprovalCenter/index.cjs +1 -1
  39. package/components/ApprovalCenter/index.mjs +1 -1
  40. package/components/ApprovalCenter/styled.d.ts +1 -0
  41. package/components/AutocompleteSearch/index.cjs +1 -1
  42. package/components/AutocompleteSearch/index.mjs +1 -1
  43. package/components/BlockTitle/index.cjs +1 -1
  44. package/components/BlockTitle/index.mjs +1 -1
  45. package/components/BlockTitle/utils/index.cjs +1 -1
  46. package/components/BlockTitle/utils/index.mjs +1 -1
  47. package/components/Combobox/index.cjs +1 -1
  48. package/components/Combobox/index.mjs +1 -1
  49. package/components/DrawerDF/components/styled.d.ts +1 -0
  50. package/components/GridDND/index.cjs +1 -1
  51. package/components/GridDND/index.mjs +1 -1
  52. package/components/GridDND/utils/index.cjs +1 -1
  53. package/components/GridDND/utils/index.mjs +1 -1
  54. package/components/LeftPanel/styled.d.ts +1 -0
  55. package/components/ListOfFilters/index.cjs +1 -1
  56. package/components/ListOfFilters/index.mjs +1 -1
  57. package/components/MassActions/hooks/index.cjs +1 -1
  58. package/components/MassActions/hooks/index.mjs +1 -1
  59. package/components/MassActions/index.cjs +1 -1
  60. package/components/MassActions/index.mjs +1 -1
  61. package/components/MassActions/styled.d.ts +7 -2
  62. package/components/PageTitle/index.cjs +1 -1
  63. package/components/PageTitle/index.mjs +1 -1
  64. package/components/PageTitle/utils/index.cjs +1 -1
  65. package/components/PageTitle/utils/index.mjs +1 -1
  66. package/components/PopoverDF/index.cjs +1 -1
  67. package/components/PopoverDF/index.mjs +1 -1
  68. package/components/PopupDF/index.cjs +1 -1
  69. package/components/PopupDF/index.d.ts +1 -1
  70. package/components/PopupDF/index.mjs +108 -94
  71. package/components/PopupDF/types.d.ts +1 -1
  72. package/components/Stories/components/StoriesBanner/index.cjs +1 -1
  73. package/components/Stories/components/StoriesBanner/index.mjs +1 -1
  74. package/components/Stories/components/StoriesContent/index.cjs +1 -1
  75. package/components/Stories/components/StoriesContent/index.mjs +1 -1
  76. package/components/Stories/components/StoriesPreview/index.cjs +1 -1
  77. package/components/Stories/components/StoriesPreview/index.mjs +1 -1
  78. package/components/Stories/components/StoriesProgress/index.cjs +1 -1
  79. package/components/Stories/components/StoriesProgress/index.mjs +1 -1
  80. package/components/Stories/components/StoriesViewer/index.cjs +1 -1
  81. package/components/Stories/components/StoriesViewer/index.mjs +1 -1
  82. package/components/Stories/index.cjs +1 -1
  83. package/components/Stories/index.mjs +1 -1
  84. package/components/Table/components/TableDropdown/index.cjs +1 -1
  85. package/components/Table/components/TableDropdown/index.mjs +1 -1
  86. package/components/Table/feature-collapse-table/CollapseTableButton.d.ts +2 -0
  87. package/components/Table/feature-collapse-table/index.cjs +1 -1
  88. package/components/Table/feature-collapse-table/index.mjs +1 -1
  89. package/components/Table/feature-column-control/ColumnsList/index.cjs +1 -1
  90. package/components/Table/feature-column-control/ColumnsList/index.mjs +1 -1
  91. package/components/Table/feature-column-control/index.cjs +1 -1
  92. package/components/Table/feature-column-control/index.mjs +1 -1
  93. package/components/Table/feature-column-control/styled.d.ts +1 -0
  94. package/components/Table/feature-columns-grouping/index.cjs +1 -1
  95. package/components/Table/feature-columns-grouping/index.mjs +1 -1
  96. package/components/Table/feature-context-menu/index.cjs +1 -1
  97. package/components/Table/feature-context-menu/index.mjs +1 -1
  98. package/components/Table/feature-edit/index.cjs +1 -1
  99. package/components/Table/feature-edit/index.mjs +1 -1
  100. package/components/Table/feature-filtering/combobox/index.cjs +1 -1
  101. package/components/Table/feature-filtering/combobox/index.mjs +1 -1
  102. package/components/Table/feature-filtering/filter-list-block/index.cjs +1 -1
  103. package/components/Table/feature-filtering/filter-list-block/index.mjs +1 -1
  104. package/components/Table/feature-filtering/header-filter-button/index.cjs +1 -1
  105. package/components/Table/feature-filtering/header-filter-button/index.mjs +1 -1
  106. package/components/Table/feature-filtering/header-filter-button/styles.d.ts +1 -0
  107. package/components/Table/feature-filtering/index.cjs +1 -1
  108. package/components/Table/feature-filtering/index.mjs +1 -1
  109. package/components/Table/feature-filtering/sidebar-filter-block/index.cjs +1 -1
  110. package/components/Table/feature-filtering/sidebar-filter-block/index.mjs +1 -1
  111. package/components/Table/feature-infinity-scroll/index.cjs +1 -1
  112. package/components/Table/feature-infinity-scroll/index.mjs +1 -1
  113. package/components/Table/feature-key-text/index.cjs +1 -1
  114. package/components/Table/feature-key-text/index.mjs +1 -1
  115. package/components/Table/feature-pagination/index.cjs +1 -1
  116. package/components/Table/feature-pagination/index.mjs +1 -1
  117. package/components/Table/feature-right-sidebar/index.cjs +1 -1
  118. package/components/Table/feature-right-sidebar/index.mjs +1 -1
  119. package/components/Table/feature-row-detail/handlers.d.ts +1 -0
  120. package/components/Table/feature-row-detail/index.cjs +1 -1
  121. package/components/Table/feature-row-detail/index.mjs +1 -1
  122. package/components/Table/feature-row-instruments/index.cjs +1 -1
  123. package/components/Table/feature-row-instruments/index.mjs +1 -1
  124. package/components/Table/feature-row-size/index.cjs +1 -1
  125. package/components/Table/feature-row-size/index.mjs +1 -1
  126. package/components/Table/feature-rows-grouping/index.cjs +1 -1
  127. package/components/Table/feature-rows-grouping/index.mjs +1 -1
  128. package/components/Table/feature-searching/index.cjs +1 -1
  129. package/components/Table/feature-searching/index.mjs +1 -1
  130. package/components/Table/feature-searching/styled.d.ts +1 -0
  131. package/components/Table/feature-select-row/index.cjs +1 -1
  132. package/components/Table/feature-select-row/index.mjs +1 -1
  133. package/components/Table/feature-sorting/index.cjs +1 -1
  134. package/components/Table/feature-sorting/index.mjs +1 -1
  135. package/components/Table/feature-sorting/styles.d.ts +1 -0
  136. package/components/Table/feature-table-settings/index.cjs +1 -1
  137. package/components/Table/feature-table-settings/index.mjs +1 -1
  138. package/components/Table/feature-tree/index.cjs +1 -1
  139. package/components/Table/feature-tree/index.mjs +1 -1
  140. package/components/Table/index.cjs +1 -1
  141. package/components/Table/index.mjs +1 -1
  142. package/components/Table/renders/formatCell/index.cjs +1 -1
  143. package/components/Table/renders/formatCell/index.mjs +1 -1
  144. package/components/Table/styles/index.cjs +1 -1
  145. package/components/Table/styles/index.mjs +1 -1
  146. package/components/Table/table-hooks/index.cjs +1 -1
  147. package/components/Table/table-hooks/index.mjs +1 -1
  148. package/components/Table/types/index.cjs +1 -1
  149. package/components/Table/types/index.mjs +1 -1
  150. package/components/Table/utils/index.cjs +1 -1
  151. package/components/Table/utils/index.mjs +1 -1
  152. package/components/Table/widgets/control-block/control-block-button.d.ts +3 -2
  153. package/components/Table/widgets/control-block/index.cjs +1 -1
  154. package/components/Table/widgets/control-block/index.mjs +1 -1
  155. package/components/Table/widgets/control-block/right-side/index.cjs +1 -1
  156. package/components/Table/widgets/control-block/right-side/index.mjs +1 -1
  157. package/components/Table/widgets/index.cjs +1 -1
  158. package/components/Table/widgets/index.mjs +1 -1
  159. package/components/Table/widgets/mass-actions/index.cjs +1 -1
  160. package/components/Table/widgets/mass-actions/index.mjs +1 -1
  161. package/components/TableCanvas/TableGlideInstance/adapters/column/index.cjs +1 -1
  162. package/components/TableCanvas/TableGlideInstance/adapters/column/index.mjs +1 -1
  163. package/components/TableCanvas/TableGlideInstance/adapters/index.cjs +1 -1
  164. package/components/TableCanvas/TableGlideInstance/adapters/index.mjs +1 -1
  165. package/components/TableCanvas/TableGlideInstance/index.cjs +1 -1
  166. package/components/TableCanvas/TableGlideInstance/index.mjs +2 -2
  167. package/components/TableCanvas/TableGlideInstance/type.d.ts +3 -1
  168. package/components/TableCanvas/TableGlideInstance/utils/column/index.cjs +1 -1
  169. package/components/TableCanvas/TableGlideInstance/utils/column/index.mjs +1 -1
  170. package/components/TableCanvas/TableGlideInstance/utils/index.cjs +1 -1
  171. package/components/TableCanvas/TableGlideInstance/utils/index.mjs +1 -1
  172. package/components/TableCanvas/components/SplitIconButton/index.cjs +1 -1
  173. package/components/TableCanvas/components/SplitIconButton/index.mjs +1 -1
  174. package/components/TableCanvas/components/TableDropdown/index.cjs +1 -1
  175. package/components/TableCanvas/components/TableDropdown/index.mjs +1 -1
  176. package/components/TableCanvas/feature-cell-transfer/index.cjs +1 -1
  177. package/components/TableCanvas/feature-cell-transfer/index.mjs +1 -1
  178. package/components/TableCanvas/feature-cell-transfer/types.d.ts +1 -1
  179. package/components/TableCanvas/feature-cell-transfer/utils/applyBlockEdit.d.ts +12 -0
  180. package/components/TableCanvas/feature-cell-transfer/utils/applyValuesToRows.d.ts +2 -1
  181. package/components/TableCanvas/feature-cell-transfer/utils/collectMatrixFromTargets.d.ts +1 -0
  182. package/components/TableCanvas/feature-cell-transfer/utils/collectTextMatrix.d.ts +1 -0
  183. package/components/TableCanvas/feature-cell-transfer/utils/resolveBlockOrigin.d.ts +13 -0
  184. package/components/TableCanvas/feature-cell-transfer/utils/snapDestToRowBlocks.d.ts +4 -0
  185. package/components/TableCanvas/feature-collapse-table/CollapseTableButton.d.ts +3 -2
  186. package/components/TableCanvas/feature-collapse-table/index.cjs +1 -1
  187. package/components/TableCanvas/feature-collapse-table/index.mjs +1 -1
  188. package/components/TableCanvas/feature-column-control/ColumnsList/index.cjs +1 -1
  189. package/components/TableCanvas/feature-column-control/ColumnsList/index.mjs +1 -1
  190. package/components/TableCanvas/feature-column-control/index.cjs +1 -1
  191. package/components/TableCanvas/feature-column-control/index.mjs +1 -1
  192. package/components/TableCanvas/feature-column-control/styled.d.ts +1 -0
  193. package/components/TableCanvas/feature-column-control/types.d.ts +3 -0
  194. package/components/TableCanvas/feature-columns-grouping/index.cjs +1 -1
  195. package/components/TableCanvas/feature-columns-grouping/index.mjs +1 -1
  196. package/components/TableCanvas/feature-columns-grouping/useLastLvlColumnConfig.d.ts +5 -1
  197. package/components/TableCanvas/feature-content-state/index.cjs +1 -1
  198. package/components/TableCanvas/feature-content-state/index.mjs +1 -1
  199. package/components/TableCanvas/feature-context-menu/index.cjs +1 -1
  200. package/components/TableCanvas/feature-context-menu/index.mjs +1 -1
  201. package/components/TableCanvas/feature-edit/index.cjs +1 -1
  202. package/components/TableCanvas/feature-edit/index.mjs +1 -1
  203. package/components/TableCanvas/feature-filtering/combobox/index.cjs +1 -1
  204. package/components/TableCanvas/feature-filtering/combobox/index.mjs +1 -1
  205. package/components/TableCanvas/feature-filtering/filter-list-block/index.cjs +1 -1
  206. package/components/TableCanvas/feature-filtering/filter-list-block/index.mjs +1 -1
  207. package/components/TableCanvas/feature-filtering/header-filter-button/index.cjs +1 -1
  208. package/components/TableCanvas/feature-filtering/header-filter-button/index.mjs +1 -1
  209. package/components/TableCanvas/feature-filtering/header-filter-button/styles.d.ts +1 -0
  210. package/components/TableCanvas/feature-filtering/index.cjs +1 -1
  211. package/components/TableCanvas/feature-filtering/index.mjs +1 -1
  212. package/components/TableCanvas/feature-filtering/sidebar-filter-block/index.cjs +1 -1
  213. package/components/TableCanvas/feature-filtering/sidebar-filter-block/index.mjs +1 -1
  214. package/components/TableCanvas/feature-infinity-scroll/index.cjs +1 -1
  215. package/components/TableCanvas/feature-infinity-scroll/index.mjs +1 -1
  216. package/components/TableCanvas/feature-key-text/index.cjs +1 -1
  217. package/components/TableCanvas/feature-key-text/index.mjs +1 -1
  218. package/components/TableCanvas/feature-notifications/index.cjs +1 -1
  219. package/components/TableCanvas/feature-notifications/index.mjs +1 -1
  220. package/components/TableCanvas/feature-pagination/index.cjs +1 -1
  221. package/components/TableCanvas/feature-pagination/index.mjs +1 -1
  222. package/components/TableCanvas/feature-popover-table/context/index.cjs +1 -1
  223. package/components/TableCanvas/feature-popover-table/context/index.mjs +1 -1
  224. package/components/TableCanvas/feature-popover-table/hooks/index.cjs +1 -1
  225. package/components/TableCanvas/feature-popover-table/hooks/index.mjs +1 -1
  226. package/components/TableCanvas/feature-popover-table/index.cjs +1 -1
  227. package/components/TableCanvas/feature-popover-table/index.mjs +1 -1
  228. package/components/TableCanvas/feature-popover-table/utils/index.cjs +1 -1
  229. package/components/TableCanvas/feature-popover-table/utils/index.mjs +1 -1
  230. package/components/TableCanvas/feature-right-sidebar/index.cjs +1 -1
  231. package/components/TableCanvas/feature-right-sidebar/index.mjs +1 -1
  232. package/components/TableCanvas/feature-row-detail/handlers.d.ts +1 -0
  233. package/components/TableCanvas/feature-row-detail/index.cjs +1 -1
  234. package/components/TableCanvas/feature-row-detail/index.mjs +1 -1
  235. package/components/TableCanvas/feature-row-instruments/index.cjs +1 -1
  236. package/components/TableCanvas/feature-row-instruments/index.mjs +1 -1
  237. package/components/TableCanvas/feature-row-markers/index.cjs +1 -1
  238. package/components/TableCanvas/feature-row-markers/index.mjs +1 -1
  239. package/components/TableCanvas/feature-row-size/index.cjs +1 -1
  240. package/components/TableCanvas/feature-row-size/index.mjs +1 -1
  241. package/components/TableCanvas/feature-rows-grouping/getColsAfterRowsGrouping.d.ts +2 -1
  242. package/components/TableCanvas/feature-rows-grouping/index.cjs +1 -1
  243. package/components/TableCanvas/feature-rows-grouping/index.mjs +1 -1
  244. package/components/TableCanvas/feature-rows-grouping/mergedView.d.ts +14 -0
  245. package/components/TableCanvas/feature-rows-grouping/types.d.ts +4 -0
  246. package/components/TableCanvas/feature-searching/index.cjs +1 -1
  247. package/components/TableCanvas/feature-searching/index.mjs +1 -1
  248. package/components/TableCanvas/feature-searching/styled.d.ts +1 -0
  249. package/components/TableCanvas/feature-select-row/index.cjs +1 -1
  250. package/components/TableCanvas/feature-select-row/index.mjs +1 -1
  251. package/components/TableCanvas/feature-sorting/index.cjs +1 -1
  252. package/components/TableCanvas/feature-sorting/index.mjs +1 -1
  253. package/components/TableCanvas/feature-sorting/styles.d.ts +1 -0
  254. package/components/TableCanvas/feature-table-settings/index.cjs +1 -1
  255. package/components/TableCanvas/feature-table-settings/index.mjs +1 -1
  256. package/components/TableCanvas/feature-tooltip/index.cjs +1 -1
  257. package/components/TableCanvas/feature-tooltip/index.mjs +1 -1
  258. package/components/TableCanvas/feature-tooltip/utils/index.cjs +1 -1
  259. package/components/TableCanvas/feature-tooltip/utils/index.mjs +1 -1
  260. package/components/TableCanvas/feature-tree/index.cjs +1 -1
  261. package/components/TableCanvas/feature-tree/index.mjs +1 -1
  262. package/components/TableCanvas/feature-tree/mergedSubRows.d.ts +5 -0
  263. package/components/TableCanvas/feature-tree/types.d.ts +2 -0
  264. package/components/TableCanvas/index.cjs +1 -1
  265. package/components/TableCanvas/index.mjs +4 -4
  266. package/components/TableCanvas/renders/formatCell/index.cjs +1 -1
  267. package/components/TableCanvas/renders/formatCell/index.mjs +1 -1
  268. package/components/TableCanvas/renders/rowIconConfig.d.ts +0 -5
  269. package/components/TableCanvas/renders/withSelectIcon.d.ts +3 -1
  270. package/components/TableCanvas/styles/index.cjs +1 -1
  271. package/components/TableCanvas/styles/index.mjs +1 -1
  272. package/components/TableCanvas/table-hooks/createMergeByValueRowSpan.d.ts +7 -0
  273. package/components/TableCanvas/table-hooks/createMergedRegionsResolver.d.ts +21 -0
  274. package/components/TableCanvas/table-hooks/index.cjs +1 -1
  275. package/components/TableCanvas/table-hooks/index.mjs +1 -1
  276. package/components/TableCanvas/table-hooks/resolveMergedView.d.ts +7 -0
  277. package/components/TableCanvas/table-hooks/usePrepareTableConfig.d.ts +4 -1
  278. package/components/TableCanvas/types/column-config-internal.type.d.ts +4 -1
  279. package/components/TableCanvas/types/column-config.type.d.ts +2 -0
  280. package/components/TableCanvas/types/ctxs.type.d.ts +2 -0
  281. package/components/TableCanvas/types/glide-type.d.ts +1 -1
  282. package/components/TableCanvas/types/index.cjs +1 -1
  283. package/components/TableCanvas/types/index.d.ts +1 -0
  284. package/components/TableCanvas/types/index.mjs +1 -1
  285. package/components/TableCanvas/types/merged-cells.type.d.ts +4 -0
  286. package/components/TableCanvas/types/table-config.type.d.ts +15 -0
  287. package/components/TableCanvas/utils/index.cjs +1 -1
  288. package/components/TableCanvas/utils/index.mjs +1 -1
  289. package/components/TableCanvas/widgets/control-block/compression/index.cjs +1 -1
  290. package/components/TableCanvas/widgets/control-block/compression/index.mjs +1 -1
  291. package/components/TableCanvas/widgets/control-block/control-block-button.d.ts +3 -2
  292. package/components/TableCanvas/widgets/control-block/index.cjs +1 -1
  293. package/components/TableCanvas/widgets/control-block/index.mjs +1 -1
  294. package/components/TableCanvas/widgets/control-block/right-side/index.cjs +1 -1
  295. package/components/TableCanvas/widgets/control-block/right-side/index.mjs +1 -1
  296. package/components/TableCanvas/widgets/index.cjs +1 -1
  297. package/components/TableCanvas/widgets/index.mjs +1 -1
  298. package/components/TableCanvas/widgets/mass-actions/hooks/index.cjs +1 -1
  299. package/components/TableCanvas/widgets/mass-actions/hooks/index.mjs +1 -1
  300. package/components/TableCanvas/widgets/mass-actions/index.cjs +1 -1
  301. package/components/TableCanvas/widgets/mass-actions/index.mjs +1 -1
  302. package/components/TableCanvas/widgets/mass-actions/styled.d.ts +10 -4
  303. package/components/TableContract/index.cjs +1 -1
  304. package/components/TableContract/index.mjs +1 -1
  305. package/components/TableGlide/TableGlide.d.ts +1 -1
  306. package/components/TableGlide/hooks/selection/index.cjs +1 -1
  307. package/components/TableGlide/hooks/selection/index.mjs +1 -1
  308. package/components/TableGlide/hooks/useErrorCellRanges.d.ts +14 -0
  309. package/components/TableGlide/index.cjs +1 -1
  310. package/components/TableGlide/index.mjs +13 -13
  311. package/components/TableGlide/lib/canvas/cells/buttons/index.cjs +1 -1
  312. package/components/TableGlide/lib/canvas/cells/buttons/index.mjs +1 -1
  313. package/components/TableGlide/lib/canvas/cells/iconSprites/index.cjs +1 -1
  314. package/components/TableGlide/lib/canvas/cells/iconSprites/index.mjs +1 -1
  315. package/components/TableGlide/lib/canvas/cells/index.cjs +1 -1
  316. package/components/TableGlide/lib/canvas/cells/index.mjs +1 -1
  317. package/components/TableGlide/lib/canvas/cells/renderer/index.cjs +1 -1
  318. package/components/TableGlide/lib/canvas/cells/renderer/index.mjs +1 -1
  319. package/components/TableGlide/lib/canvas/core/helpers/index.cjs +1 -1
  320. package/components/TableGlide/lib/canvas/core/helpers/index.mjs +1 -1
  321. package/components/TableGlide/lib/canvas/core/index.cjs +1 -1
  322. package/components/TableGlide/lib/canvas/core/index.mjs +1 -1
  323. package/components/TableGlide/lib/canvas/hooks/index.cjs +1 -1
  324. package/components/TableGlide/lib/canvas/hooks/index.mjs +1 -1
  325. package/components/TableGlide/lib/canvas/index.cjs +1 -1
  326. package/components/TableGlide/lib/canvas/index.mjs +22 -22
  327. package/components/TableGlide/lib/canvas/miniflex/index.cjs +1 -1
  328. package/components/TableGlide/lib/canvas/miniflex/index.mjs +1 -1
  329. package/components/TableGlide/lib/canvas/primitives/index.cjs +1 -1
  330. package/components/TableGlide/lib/canvas/primitives/index.mjs +1 -1
  331. package/components/TableGlide/lib/canvas/utils/index.cjs +1 -1
  332. package/components/TableGlide/lib/canvas/utils/index.mjs +2 -2
  333. package/components/TableGlide/theming/index.cjs +1 -1
  334. package/components/TableGlide/theming/index.mjs +1 -1
  335. package/components/TableGlide/types.d.ts +10 -0
  336. package/components/TableGlide/utils/findBlockOrigin.d.ts +5 -0
  337. package/components/TableGlide/utils/getRowSpan.d.ts +6 -0
  338. package/components/Tooltip/index.cjs +1 -1
  339. package/components/Tooltip/index.mjs +1 -1
  340. package/components/TourWidget/index.cjs +1 -1
  341. package/components/TourWidget/index.mjs +1 -1
  342. package/components/Typography/index.cjs +1 -1
  343. package/components/Typography/index.mjs +1 -1
  344. package/components/Widget/Widget.d.ts +1 -0
  345. package/components/Widget/components/WidgetIconButtonDots.d.ts +1 -0
  346. package/components/Widget/index.cjs +1 -1
  347. package/components/Widget/index.mjs +1 -1
  348. package/formComponents/FormCombobox/index.cjs +1 -1
  349. package/formComponents/FormCombobox/index.mjs +1 -1
  350. package/formComponents/FormDatePickers/FormDatePickerRange/ui/FormDatePickerRangeStyled.d.ts +2 -0
  351. package/formComponents/FormSwitch/index.cjs +1 -1
  352. package/formComponents/FormSwitch/index.mjs +1 -1
  353. package/formComponents/FormTextArea/ui/ButtonStyled.d.ts +1 -0
  354. package/formComponents/FormTextField/ui/IconButtonStyled.d.ts +1 -0
  355. package/index.cjs +1 -1
  356. package/index.mjs +11 -11
  357. package/layouts/FiltersActions/FiltersActions.d.ts +15 -6
  358. package/layouts/FiltersActions/components/FiltersButton.d.ts +4 -0
  359. package/layouts/FiltersActions/components/ResetAllFiltersButton.d.ts +6 -4
  360. package/layouts/FiltersActions/components/Tabs.d.ts +4 -2
  361. package/layouts/FiltersActions/hooks/index.cjs +1 -1
  362. package/layouts/FiltersActions/hooks/index.mjs +1 -1
  363. package/layouts/FiltersActions/index.cjs +1 -1
  364. package/layouts/FiltersActions/index.mjs +1 -1
  365. package/mcp-data/component-index.json +250 -80
  366. package/package.json +7 -6
  367. package/shared/ui/Search/styled.d.ts +1 -0
  368. package/chunks/AnalyticalWidget-z2HzQ4aA.cjs +0 -43
  369. package/chunks/TableCanvas-uzBMXlx6.cjs +0 -30
  370. package/chunks/TableGlide-DTBZ1jNA.cjs +0 -1
@@ -1,14 +1,14 @@
1
- import { EmbeddedButton as tt } from "@salutejs/sdds-finai/beta";
2
- import { IconButtonFilter as et } from "../components/IconButton/index.mjs";
3
- import { Dropdown as it, ChipGroup as nt, Chip as lt, Tooltip as E, TextXS as at, TextS as ot, TextM as dt, TextL as rt, H5 as st, H4 as pt, H3 as ct, H2 as ht, H1 as gt, DsplS as yt, DsplM as mt, DsplL as ut, BodyXXS as xt, BodyXS as ft, BodyS as wt, BodyM as V, BodyL as St, Link as vt } from "@salutejs/sdds-finai";
4
- import { jsx as i, jsxs as S, Fragment as Wt } from "react/jsx-runtime";
5
- import { textPrimary as $, inverseTextPrimary as _t, bodyXS as Ct, textTertiary as Tt, bodyM as bt, textSecondary as C, bodyMBold as At, surfaceSolidCard as Ht } from "@salutejs/sdds-themes/tokens/sdds_finai";
6
- import l, { css as b } from "styled-components";
7
- import { u as Nt, a as It, m as w, b as N } from "./utils-YKicAHp0.mjs";
8
- import { useRef as R, createElement as Rt, useState as Et, useCallback as I, useEffect as F, isValidElement as $t } from "react";
9
- import { IconDotsVerticalOutline as Bt, IconDotsHorizontalOutline as Lt, IconInfoCircleOutline as Dt } from "@salutejs/plasma-icons";
10
- import { Collapse as kt } from "../components/Collapse/index.mjs";
11
- const Mt = {
1
+ import { EmbeddedButton as et } from "@salutejs/sdds-finai/beta";
2
+ import { IconButtonFilter as it } from "../components/IconButton/index.mjs";
3
+ import { Dropdown as nt, ChipGroup as at, Chip as lt, Tooltip as B, TextXS as ot, TextS as dt, TextM as rt, TextL as st, H5 as pt, H4 as ct, H3 as ht, H2 as gt, H1 as yt, DsplS as mt, DsplM as ut, DsplL as xt, BodyXXS as ft, BodyXS as wt, BodyS as St, BodyM as V, BodyL as vt, Link as Wt } from "@salutejs/sdds-finai";
4
+ import { jsx as i, jsxs as v, Fragment as _t } from "react/jsx-runtime";
5
+ import { textPrimary as E, inverseTextPrimary as Ct, bodyXS as Tt, textTertiary as bt, bodyM as At, textSecondary as T, bodyMBold as Ht, surfaceSolidCard as Nt } from "@salutejs/sdds-themes/tokens/sdds_finai";
6
+ import a, { css as A } from "styled-components";
7
+ import { u as It, a as Rt, m as S, b as N } from "./utils-YKicAHp0.mjs";
8
+ import { forwardRef as Bt, useRef as R, createElement as Et, useState as $t, useCallback as I, useEffect as F, isValidElement as Lt } from "react";
9
+ import { IconDotsVerticalOutline as Dt, IconDotsHorizontalOutline as kt, IconInfoCircleOutline as Mt } from "@salutejs/plasma-icons";
10
+ import { Collapse as Ot } from "../components/Collapse/index.mjs";
11
+ const zt = {
12
12
  l: {
13
13
  xl: {
14
14
  minWidth: "448px",
@@ -102,7 +102,7 @@ const Mt = {
102
102
  borderRadius: "16px"
103
103
  }
104
104
  }
105
- }, Ot = {
105
+ }, Ft = {
106
106
  l: {
107
107
  topSlot: !0,
108
108
  // Filters + chips
@@ -133,7 +133,7 @@ const Mt = {
133
133
  // Маркер на корне виджета: rightSlot шапки заполнен. По нему абсолютная
134
134
  // dots-кнопка (сиблинг) поднимает top с 12 до 16 через CSS.
135
135
  hasRightSlot: "analytical-widget--has-right-slot"
136
- }, zt = l.div.withConfig({
136
+ }, Gt = a.div.withConfig({
137
137
  displayName: "AnalyticalWidgetIconButtonDotsstyled__StyledAbsoluteDots"
138
138
  })(["position:absolute;top:", "px;right:", "px;.", " ~ &,&:has(~ .", "),&:has(~ * .", "){top:", "px;}"], ({
139
139
  $offset: t
@@ -141,164 +141,166 @@ const Mt = {
141
141
  $offset: t
142
142
  }) => t, r.hasRightSlot, r.hasRightSlot, r.hasRightSlot, ({
143
143
  $offset: t
144
- }) => t + 4), Ft = ({
144
+ }) => t + 4), X = Bt(({
145
145
  dropdownProps: t,
146
146
  iconSize: e,
147
147
  iconOrientation: o = "vertical",
148
148
  view: d = "secondary",
149
- size: a = "m",
149
+ size: l = "m",
150
150
  absolute: s = !1,
151
151
  absoluteOffset: n = 12,
152
152
  style: g,
153
153
  ...p
154
- }) => {
155
- const c = /* @__PURE__ */ i(tt, { view: d, size: a, style: g, ...p, children: /* @__PURE__ */ i(o === "vertical" ? Bt : Lt, { size: e ?? "s", color: $ }) }), f = t ? /* @__PURE__ */ i(it, { ...t, children: c }) : c;
156
- return s ? /* @__PURE__ */ i(zt, { $offset: n, children: f }) : f;
157
- }, Gt = l(lt).withConfig({
154
+ }, y) => {
155
+ const f = /* @__PURE__ */ i(et, { ref: y, view: d, size: l, style: g, ...p, children: /* @__PURE__ */ i(o === "vertical" ? Dt : kt, { size: e ?? "s", color: E }) }), w = t ? /* @__PURE__ */ i(nt, { ...t, children: f }) : f;
156
+ return s ? /* @__PURE__ */ i(Gt, { $offset: n, children: w }) : w;
157
+ });
158
+ X.displayName = "AnalyticalWidgetIconButtonDots";
159
+ const Vt = a(lt).withConfig({
158
160
  displayName: "AnalyticalWidgetChipsGroupstyled__StyledChip"
159
- })(["max-height:20px;max-width:180px;border-radius:12px;padding-inline:8px;"]), Vt = l(nt).withConfig({
161
+ })(["max-height:20px;max-width:180px;border-radius:12px;padding-inline:8px;"]), Xt = a(at).withConfig({
160
162
  displayName: "AnalyticalWidgetChipsGroupstyled__StyledChipGroup"
161
- })(["--analytical-widget-chips-gap:4px;gap:var(--analytical-widget-chips-gap);padding-top:8px;"]), Xt = ({
163
+ })(["--analytical-widget-chips-gap:4px;gap:var(--analytical-widget-chips-gap);padding-top:8px;"]), Yt = ({
162
164
  chips: t,
163
165
  commonView: e = "default",
164
166
  commonSize: o = "xs",
165
167
  opened: d = !1,
166
- ...a
168
+ ...l
167
169
  }) => {
168
- const s = Nt(d, 300, !1), n = R(t);
170
+ const s = It(d, 300, !1), n = R(t);
169
171
  t.length > 0 && (n.current = t);
170
172
  const g = t.length > 0 ? t : n.current;
171
- return /* @__PURE__ */ i("div", { className: r.selfSpacedTopSlot, children: /* @__PURE__ */ i(kt, { isOpen: s, unMountOnClose: !0, children: /* @__PURE__ */ i(Vt, { view: e, size: o, isCommonChipStyles: !1, ...a, children: g.map(({
173
+ return /* @__PURE__ */ i("div", { className: r.selfSpacedTopSlot, children: /* @__PURE__ */ i(Ot, { isOpen: s, unMountOnClose: !0, children: /* @__PURE__ */ i(Xt, { view: e, size: o, isCommonChipStyles: !1, ...l, children: g.map(({
172
174
  key: p,
173
175
  view: y,
174
176
  ...c
175
- }, f) => /* @__PURE__ */ Rt(Gt, { size: "xs", appearance: "transparent", ...c, key: p ?? `${c == null ? void 0 : c.name}-${f}` })) }) }) });
176
- }, Yt = l.div.withConfig({
177
+ }, f) => /* @__PURE__ */ Et(Vt, { size: "xs", appearance: "transparent", ...c, key: p ?? `${c == null ? void 0 : c.name}-${f}` })) }) }) });
178
+ }, jt = a.div.withConfig({
177
179
  displayName: "TooltipList__StyledTooltipContent"
178
- })(["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;}}"], () => _t, () => b(Ct)), jt = ({
180
+ })(["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;}}"], () => Ct, () => A(Tt)), Pt = ({
179
181
  groupLabel: t,
180
182
  items: e
181
- }) => /* @__PURE__ */ S(Yt, { children: [
183
+ }) => /* @__PURE__ */ v(jt, { children: [
182
184
  /* @__PURE__ */ i("span", { children: t }),
183
185
  /* @__PURE__ */ i("ul", { children: e.map((o, d) => (
184
186
  // eslint-disable-next-line react/no-array-index-key
185
187
  /* @__PURE__ */ i("li", { children: o }, `${o}-${d}`)
186
188
  )) })
187
- ] }), Pt = l.div.withConfig({
189
+ ] }), qt = a.div.withConfig({
188
190
  displayName: "TooltipList__FullWidthWrapper"
189
- })(["width:100%;& .popover-target,& .popover-wrapper{width:100%;}"]), Ne = ({
191
+ })(["width:100%;& .popover-target,& .popover-wrapper{width:100%;}"]), Ie = ({
190
192
  groupLabel: t,
191
193
  items: e,
192
194
  children: o,
193
195
  fullWidth: d,
194
- ...a
196
+ ...l
195
197
  }) => {
196
198
  const s = e.length > 0, n = /* @__PURE__ */ i(
197
- E,
199
+ B,
198
200
  {
199
201
  usePortal: !0,
200
202
  size: "s",
201
203
  mouseEnterDelay: 500,
202
- ...a,
203
- trigger: s ? a.trigger ?? "hover" : "none",
204
- text: s ? /* @__PURE__ */ i(jt, { groupLabel: t, items: e }) : null,
205
- opened: s ? a.opened : !1,
204
+ ...l,
205
+ trigger: s ? l.trigger ?? "hover" : "none",
206
+ text: s ? /* @__PURE__ */ i(Pt, { groupLabel: t, items: e }) : null,
207
+ opened: s ? l.opened : !1,
206
208
  children: o
207
209
  }
208
210
  );
209
- return d ? /* @__PURE__ */ i(Pt, { children: n }) : n;
210
- }, qt = {
211
- BodyL: St,
211
+ return d ? /* @__PURE__ */ i(qt, { children: n }) : n;
212
+ }, Jt = {
213
+ BodyL: vt,
212
214
  BodyM: V,
213
- BodyS: wt,
214
- BodyXS: ft,
215
- BodyXXS: xt,
216
- DsplL: ut,
217
- DsplM: mt,
218
- DsplS: yt,
219
- H1: gt,
220
- H2: ht,
221
- H3: ct,
222
- H4: pt,
223
- H5: st,
224
- TextL: rt,
225
- TextM: dt,
226
- TextS: ot,
227
- TextXS: at
215
+ BodyS: St,
216
+ BodyXS: wt,
217
+ BodyXXS: ft,
218
+ DsplL: xt,
219
+ DsplM: ut,
220
+ DsplS: mt,
221
+ H1: yt,
222
+ H2: gt,
223
+ H3: ht,
224
+ H4: ct,
225
+ H5: pt,
226
+ TextL: st,
227
+ TextM: rt,
228
+ TextS: dt,
229
+ TextXS: ot
228
230
  };
229
- function B({
231
+ function $({
230
232
  variant: t,
231
233
  children: e,
232
234
  refTypography: o,
233
235
  ...d
234
236
  }) {
235
- const a = qt[t];
236
- return /* @__PURE__ */ i(a, { ...d, ref: o, children: e });
237
+ const l = Jt[t];
238
+ return /* @__PURE__ */ i(l, { ...d, ref: o, children: e });
237
239
  }
238
- B.displayName = "Typography";
239
- const T = "typography-with-auto-tooltip-root";
240
- let v = !1, x = null, _ = 0;
241
- function X() {
240
+ $.displayName = "Typography";
241
+ const b = "typography-with-auto-tooltip-root";
242
+ let W = !1, x = null, C = 0;
243
+ function Y() {
242
244
  if (typeof document > "u")
243
245
  return;
244
- const t = document.getElementById(T);
246
+ const t = document.getElementById(b);
245
247
  t && t.querySelectorAll("[id^='plasma-popover-root']:empty").forEach((e) => e.remove());
246
248
  }
247
- function Jt() {
248
- v || (v = !0, x = setTimeout(() => {
249
- v = !1, x = null, X();
250
- }, 0));
251
- }
252
249
  function Kt() {
253
- x && (clearTimeout(x), x = null), v = !1;
250
+ W || (W = !0, x = setTimeout(() => {
251
+ W = !1, x = null, Y();
252
+ }, 0));
254
253
  }
255
254
  function Qt() {
256
- x && (clearTimeout(x), x = null), v = !1, X();
255
+ x && (clearTimeout(x), x = null), W = !1;
257
256
  }
258
257
  function Ut() {
258
+ x && (clearTimeout(x), x = null), W = !1, Y();
259
+ }
260
+ function Zt() {
259
261
  if (!(typeof document > "u")) {
260
- if (_ += 1, _ === 1) {
262
+ if (C += 1, C === 1) {
261
263
  const t = document.createElement("div");
262
- t.id = T, document.body.appendChild(t);
264
+ t.id = b, document.body.appendChild(t);
263
265
  }
264
266
  return () => {
265
- if (_ -= 1, _ === 0) {
266
- const t = document.getElementById(T);
267
+ if (C -= 1, C === 0) {
268
+ const t = document.getElementById(b);
267
269
  t && (t.querySelectorAll("[id^='plasma-popover-root']").length > 0 || t.remove());
268
270
  }
269
271
  };
270
272
  }
271
273
  }
272
- function Zt() {
274
+ function te() {
273
275
  return {
274
- schedule: Jt,
275
- flush: Qt,
276
- cancel: Kt,
277
- getContainerId: () => T,
278
- createContainer: Ut
276
+ schedule: Kt,
277
+ flush: Ut,
278
+ cancel: Qt,
279
+ getContainerId: () => b,
280
+ createContainer: Zt
279
281
  };
280
282
  }
281
- const te = l(E).withConfig({
283
+ const ee = a(B).withConfig({
282
284
  displayName: "TypographyWithAutoTooltipstyled__StyledTooltip"
283
- })(["&.popover-target{width:100%;}"]), ee = l.div.withConfig({
285
+ })(["&.popover-target{width:100%;}"]), ie = a.div.withConfig({
284
286
  displayName: "TypographyWithAutoTooltipstyled__StyleTooltipWrapper"
285
- })(["display:flex;align-items:center;min-width:0;& .popover-target{width:100%;}& .popover-wrapper{overflow:hidden;width:100%;display:flex;}"]), ie = 1, L = ({
287
+ })(["display:flex;align-items:center;min-width:0;& .popover-target{width:100%;}& .popover-wrapper{overflow:hidden;width:100%;display:flex;}"]), ne = 1, L = ({
286
288
  tooltipText: t,
287
289
  tooltipProps: e,
288
290
  lines: o = 1,
289
291
  className: d,
290
- children: a,
292
+ children: l,
291
293
  ...s
292
294
  }) => {
293
295
  const {
294
296
  mouseEnterDelay: n = 500,
295
297
  mouseLeaveDelay: g = 0,
296
298
  ...p
297
- } = e || {}, y = R(null), [c, f] = Et(!1), H = R(), {
298
- schedule: W,
299
- getContainerId: j,
299
+ } = e || {}, y = R(null), [c, f] = $t(!1), w = R(), {
300
+ schedule: _,
301
+ getContainerId: P,
300
302
  createContainer: D
301
- } = Zt(), k = I(() => {
303
+ } = te(), k = I(() => {
302
304
  if (!y.current)
303
305
  return !1;
304
306
  const h = y.current;
@@ -307,28 +309,28 @@ const te = l(E).withConfig({
307
309
  try {
308
310
  const m = document.createRange();
309
311
  m.selectNodeContents(h);
310
- const Q = m.getBoundingClientRect().width, U = h.getBoundingClientRect().width;
312
+ const U = m.getBoundingClientRect().width, Z = h.getBoundingClientRect().width;
311
313
  m.detach();
312
- const Z = window.devicePixelRatio || 1;
313
- return (Q - U) * Z > ie;
314
+ const tt = window.devicePixelRatio || 1;
315
+ return (U - Z) * tt > ne;
314
316
  } catch {
315
317
  return !1;
316
318
  }
317
- }, [o]), P = I(() => {
318
- k() && (H.current = setTimeout(() => {
319
+ }, [o]), q = I(() => {
320
+ k() && (w.current = setTimeout(() => {
319
321
  f(!0);
320
322
  }, n));
321
- }, [k, n]), q = I(() => {
322
- clearTimeout(H.current), setTimeout(() => {
323
- f(!1), W();
323
+ }, [k, n]), J = I(() => {
324
+ clearTimeout(w.current), setTimeout(() => {
325
+ f(!1), _();
324
326
  }, g);
325
- }, [g, W]), {
326
- variant: J,
327
+ }, [g, _]), {
328
+ variant: K,
327
329
  bold: M,
328
330
  size: O,
329
331
  ...u
330
- } = s, K = {
331
- variant: J,
332
+ } = s, Q = {
333
+ variant: K,
332
334
  ...M !== void 0 && {
333
335
  bold: M
334
336
  },
@@ -346,93 +348,93 @@ const te = l(E).withConfig({
346
348
  (m = u.onMouseLeave) == null || m.call(u, h);
347
349
  },
348
350
  style: {
349
- ...It({
351
+ ...Rt({
350
352
  lines: o
351
353
  }),
352
354
  ...u.style || {}
353
355
  },
354
- children: a
355
- }, z = /* @__PURE__ */ i(B, { ...K, children: a });
356
+ children: l
357
+ }, z = /* @__PURE__ */ i($, { ...Q, children: l });
356
358
  return F(() => D(), [D]), F(() => () => {
357
- clearTimeout(H.current), W();
358
- }, [W]), /* @__PURE__ */ i(ee, { className: d, onMouseEnter: P, onMouseLeave: q, children: c ? /* @__PURE__ */ i(te, { opened: c, text: t ?? "", target: z, frame: j(), ...p }) : z });
359
- }, ne = () => b(At), Y = () => b(bt), le = l.header.withConfig({
359
+ clearTimeout(w.current), _();
360
+ }, [_]), /* @__PURE__ */ i(ie, { className: d, onMouseEnter: q, onMouseLeave: J, children: c ? /* @__PURE__ */ i(ee, { opened: c, text: t ?? "", target: z, frame: P(), ...p }) : z });
361
+ }, ae = () => A(Ht), j = () => A(At), le = a.header.withConfig({
360
362
  displayName: "AnalyticalWidgetHeaderstyled__StyledHeader"
361
- })(["display:flex;justify-content:space-between;align-items:center;padding-right:24px;& .popover-wrapper:has(.", "){display:flex;flex-shrink:0;height:100%;align-items:center;transition:none;}"], r.popoverInfo), ae = l.div.withConfig({
363
+ })(["display:flex;justify-content:space-between;align-items:center;padding-right:24px;& .popover-wrapper:has(.", "){display:flex;flex-shrink:0;height:100%;align-items:center;transition:none;}"], r.popoverInfo), oe = a.div.withConfig({
362
364
  displayName: "AnalyticalWidgetHeaderstyled__StyledLeftSlot"
363
- })(["display:flex;flex-direction:column;flex:1 1 auto;min-width:0;gap:2px;min-height:32px;margin-right:16px;"]), oe = l.div.withConfig({
365
+ })(["display:flex;flex-direction:column;flex:1 1 auto;min-width:0;gap:2px;min-height:32px;margin-right:16px;"]), de = a.div.withConfig({
364
366
  displayName: "AnalyticalWidgetHeaderstyled__StyledTitleContainer"
365
367
  })(["margin:0;display:flex;align-items:center;flex-shrink:1;min-width:0;"]);
366
- l.p.withConfig({
368
+ a.p.withConfig({
367
369
  displayName: "AnalyticalWidgetHeaderstyled__StyledTitle"
368
- })(["margin:0;white-space:'nowrap';overflow:'hidden';text-overflow:'ellipsis';", ";color:", ";"], () => ne(), () => $);
369
- const de = l(L).withConfig({
370
+ })(["margin:0;white-space:'nowrap';overflow:'hidden';text-overflow:'ellipsis';", ";color:", ";"], () => ae(), () => E);
371
+ const re = a(L).withConfig({
370
372
  displayName: "AnalyticalWidgetHeaderstyled__StyledTitleWithTooltip"
371
- })(["display:flex;flex-shrink:1;align-items:center;min-width:0;margin-right:4px;"]), re = l(L).withConfig({
373
+ })(["display:flex;flex-shrink:1;align-items:center;min-width:0;margin-right:4px;"]), se = a(L).withConfig({
372
374
  displayName: "AnalyticalWidgetHeaderstyled__StyledSubTitleWithTooltip"
373
- })(["display:flex;flex-shrink:1;align-items:center;min-width:0;margin-right:4px;"]), se = l.p.withConfig({
375
+ })(["display:flex;flex-shrink:1;align-items:center;min-width:0;margin-right:4px;"]), pe = a.p.withConfig({
374
376
  displayName: "AnalyticalWidgetHeaderstyled__StyledAfterTitle"
375
- })(["flex-shrink:0;margin:0;margin-right:4px;white-space:'nowrap';overflow:'hidden';text-overflow:'ellipsis';", " color:", ";text-transform:uppercase;"], () => Y(), () => Tt), pe = l.div.attrs({
377
+ })(["flex-shrink:0;margin:0;margin-right:4px;white-space:'nowrap';overflow:'hidden';text-overflow:'ellipsis';", " color:", ";text-transform:uppercase;"], () => j(), () => bt), ce = a.div.attrs({
376
378
  className: r.headerActions
377
379
  }).withConfig({
378
380
  displayName: "AnalyticalWidgetHeaderstyled__StyledHeaderActions"
379
381
  })(["display:inline-flex;align-items:center;flex-shrink:0;opacity:0;transition:opacity 0.3s ease;"]);
380
- l.p.withConfig({
382
+ a.p.withConfig({
381
383
  displayName: "AnalyticalWidgetHeaderstyled__StyledSubtitle"
382
- })(["", " flex-shrink:1;margin:0;min-width:0;color:", ";"], () => Y(), () => C);
383
- l(B).withConfig({
384
+ })(["", " flex-shrink:1;margin:0;min-width:0;color:", ";"], () => j(), () => T);
385
+ a($).withConfig({
384
386
  displayName: "AnalyticalWidgetHeaderstyled__StyledSubtitleTypography"
385
- })(["color:", ";"], () => C);
386
- const ce = l(vt).withConfig({
387
+ })(["color:", ";"], () => T);
388
+ const he = a(Wt).withConfig({
387
389
  displayName: "AnalyticalWidgetHeaderstyled__StyledTitleLink"
388
390
  })(["display:flex;min-width:0;flex-shrink:1;"]);
389
- l(L).withConfig({
391
+ a(L).withConfig({
390
392
  displayName: "AnalyticalWidgetHeaderstyled__StyleSubtitledWithTooltip"
391
393
  })(["flex-shrink:1;margin:0;min-width:0;"]);
392
- const he = l.div.withConfig({
394
+ const ge = a.div.withConfig({
393
395
  displayName: "AnalyticalWidgetHeaderstyled__StyledRightSlot"
394
396
  })(["align-self:start;flex-shrink:0;"]), G = ({
395
397
  title: t,
396
398
  titleTooltipProps: e
397
- }) => typeof t != "string" ? /* @__PURE__ */ i(Wt, { children: t }) : /* @__PURE__ */ i(de, { tooltipText: t, tooltipProps: {
399
+ }) => typeof t != "string" ? /* @__PURE__ */ i(_t, { children: t }) : /* @__PURE__ */ i(re, { tooltipText: t, tooltipProps: {
398
400
  placement: "top",
399
401
  ...e
400
402
  }, variant: "BodyM", bold: !0, style: {
401
- color: $,
403
+ color: E,
402
404
  wordBreak: "normal"
403
- }, lines: 1, children: t }), ge = ({
405
+ }, lines: 1, children: t }), ye = ({
404
406
  title: t,
405
407
  titleTooltipProps: e,
406
408
  badge: o,
407
409
  badgeStyles: d,
408
- subtitle: a,
410
+ subtitle: l,
409
411
  subtitleTooltipProps: s,
410
412
  infoTooltipText: n,
411
413
  infoTooltipProps: g,
412
414
  rightSlot: p,
413
415
  className: y,
414
416
  titleLinkProps: c
415
- }) => /* @__PURE__ */ S(le, { className: w(r.header, y), children: [
416
- /* @__PURE__ */ S(ae, { children: [
417
- /* @__PURE__ */ S(oe, { children: [
418
- t && c ? /* @__PURE__ */ i(ce, { underline: "none", ...c, children: /* @__PURE__ */ i(G, { title: t, titleTooltipProps: e }) }) : /* @__PURE__ */ i(G, { title: t, titleTooltipProps: e }),
419
- o && /* @__PURE__ */ i(se, { style: d, children: o }),
420
- n && /* @__PURE__ */ i(pe, { children: /* @__PURE__ */ i(E, { trigger: "hover", placement: "top", text: n, target: /* @__PURE__ */ i(Dt, { size: "xs", style: {
417
+ }) => /* @__PURE__ */ v(le, { className: S(r.header, y), children: [
418
+ /* @__PURE__ */ v(oe, { children: [
419
+ /* @__PURE__ */ v(de, { children: [
420
+ t && c ? /* @__PURE__ */ i(he, { underline: "none", ...c, children: /* @__PURE__ */ i(G, { title: t, titleTooltipProps: e }) }) : /* @__PURE__ */ i(G, { title: t, titleTooltipProps: e }),
421
+ o && /* @__PURE__ */ i(pe, { style: d, children: o }),
422
+ n && /* @__PURE__ */ i(ce, { children: /* @__PURE__ */ i(B, { trigger: "hover", placement: "top", text: n, target: /* @__PURE__ */ i(Mt, { size: "xs", style: {
421
423
  cursor: "pointer",
422
- color: C
423
- } }), className: w(r.popoverInfo), ...g }) })
424
+ color: T
425
+ } }), className: S(r.popoverInfo), ...g }) })
424
426
  ] }),
425
- a && (typeof a == "string" ? /* @__PURE__ */ i(re, { variant: "BodyXS", tooltipText: a, style: {
426
- color: C,
427
+ l && (typeof l == "string" ? /* @__PURE__ */ i(se, { variant: "BodyXS", tooltipText: l, style: {
428
+ color: T,
427
429
  wordBreak: "normal"
428
430
  }, tooltipProps: {
429
431
  placement: "top",
430
432
  ...s
431
- }, lines: 1, children: a }) : a)
433
+ }, lines: 1, children: l }) : l)
432
434
  ] }),
433
- p && /* @__PURE__ */ i(he, { children: p })
434
- ] }), ye = (t) => {
435
- const e = Mt[t];
435
+ p && /* @__PURE__ */ i(ge, { children: p })
436
+ ] }), me = (t) => {
437
+ const e = zt[t];
436
438
  return {
437
439
  xl: `
438
440
  --analytical-widget-padding: ${e.xl.padding};
@@ -480,56 +482,56 @@ const he = l.div.withConfig({
480
482
  border-radius: var(--analytical-widget-br);
481
483
  `
482
484
  };
483
- }, me = l.article.withConfig({
485
+ }, ue = a.article.withConfig({
484
486
  displayName: "AnalyticalWidgetstyled__StyledWidget"
485
- })(["--analytical-widget-bg:", ";display:flex;flex-direction:column;box-sizing:border-box;background:var(--analytical-widget-bg);&:hover{.", "{opacity:1;}}", " ", ""], Ht, r.headerActions, ({
487
+ })(["--analytical-widget-bg:", ";display:flex;flex-direction:column;box-sizing:border-box;background:var(--analytical-widget-bg);&:hover{.", "{opacity:1;}}", " ", ""], Nt, r.headerActions, ({
486
488
  $size: t
487
489
  }) => {
488
- const e = ye(t);
489
- return b(["", " ", " ", " "], N.exact(0, 1439)(e.md), N.exact(1440, 1919)(e.lg), N.exact(1920, 1e5)(e.xl));
490
+ const e = me(t);
491
+ return A(["", " ", " ", " "], N.exact(0, 1439)(e.md), N.exact(1440, 1919)(e.lg), N.exact(1920, 1e5)(e.xl));
490
492
  }, ({
491
493
  $css: t
492
- }) => t), ue = l(V).withConfig({
494
+ }) => t), xe = a(V).withConfig({
493
495
  displayName: "AnalyticalWidgetstyled__StyledTopSlot"
494
- })(["overflow:hidden;margin-top:8px;&:empty{margin-top:0;}&:has(.", "){margin-top:0;}"], r.selfSpacedTopSlot), xe = l.div.withConfig({
496
+ })(["overflow:hidden;margin-top:8px;&:empty{margin-top:0;}&:has(.", "){margin-top:0;}"], r.selfSpacedTopSlot), fe = a.div.withConfig({
495
497
  displayName: "AnalyticalWidgetstyled__StyledMiddleSlot"
496
- })(["overflow:hidden;padding-top:8px;"]), fe = l.div.withConfig({
498
+ })(["overflow:hidden;padding-top:8px;"]), we = a.div.withConfig({
497
499
  displayName: "AnalyticalWidgetstyled__StyledContent"
498
500
  })(["position:relative;flex:1;min-height:30px;margin-top:8px;overflow-y:", ";"], ({
499
501
  scrollable: t
500
- }) => t ? "auto" : "visible"), A = ({
502
+ }) => t ? "auto" : "visible"), H = ({
501
503
  size: t = "l",
502
504
  scrollable: e = !0,
503
505
  headerSlot: o,
504
506
  topSlot: d,
505
- middleSlot: a,
507
+ middleSlot: l,
506
508
  contentSlot: s,
507
509
  classes: n,
508
510
  $css: g
509
511
  }) => {
510
- const p = Ot[t], y = $t(o) && !!o.props.rightSlot;
511
- return /* @__PURE__ */ S(me, { $size: t, $css: g, className: w(r.root, y ? r.hasRightSlot : void 0, n == null ? void 0 : n.root), children: [
512
+ const p = Ft[t], y = Lt(o) && !!o.props.rightSlot;
513
+ return /* @__PURE__ */ v(ue, { $size: t, $css: g, className: S(r.root, y ? r.hasRightSlot : void 0, n == null ? void 0 : n.root), children: [
512
514
  /* @__PURE__ */ i("div", { style: {
513
515
  minHeight: "32px"
514
516
  }, children: o }),
515
- p.topSlot && d || p.middleSlot && a ? /* @__PURE__ */ S("div", { children: [
516
- p.topSlot && d && /* @__PURE__ */ i(ue, { className: w(r.topSlot, n == null ? void 0 : n.topSlot), children: d }),
517
- p.middleSlot && a && /* @__PURE__ */ i(xe, { className: w(r.middleSlot, n == null ? void 0 : n.middleSlot), children: a })
517
+ p.topSlot && d || p.middleSlot && l ? /* @__PURE__ */ v("div", { children: [
518
+ p.topSlot && d && /* @__PURE__ */ i(xe, { className: S(r.topSlot, n == null ? void 0 : n.topSlot), children: d }),
519
+ p.middleSlot && l && /* @__PURE__ */ i(fe, { className: S(r.middleSlot, n == null ? void 0 : n.middleSlot), children: l })
518
520
  ] }) : null,
519
- /* @__PURE__ */ i(fe, { scrollable: e, className: w(r.contentSlot, n == null ? void 0 : n.contentSlot), children: s })
521
+ /* @__PURE__ */ i(we, { scrollable: e, className: S(r.contentSlot, n == null ? void 0 : n.contentSlot), children: s })
520
522
  ] });
521
523
  };
522
- A.Header = ge;
523
- A.FilterIconButton = et;
524
- A.DotsIconButton = Ft;
525
- A.Chips = Xt;
524
+ H.Header = ye;
525
+ H.FilterIconButton = it;
526
+ H.DotsIconButton = X;
527
+ H.Chips = Yt;
526
528
  export {
527
- A,
528
- B as T,
529
+ H as A,
530
+ $ as T,
529
531
  L as a,
530
532
  r as b,
531
- Ne as c,
532
- Ft as d,
533
- Xt as e,
534
- ge as f
533
+ Ie as c,
534
+ X as d,
535
+ Yt as e,
536
+ ye as f
535
537
  };
@@ -0,0 +1,43 @@
1
+ "use strict";const Q=require("@salutejs/sdds-finai/beta"),U=require("../components/IconButton/index.cjs"),a=require("@salutejs/sdds-finai"),i=require("react/jsx-runtime"),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;