@daisforge/ui 1.12.1 → 1.12.2

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 (468) hide show
  1. package/chunks/AnalyticalWidget-CBi-2MtJ.mjs +528 -0
  2. package/chunks/AnalyticalWidget-fBDe37Ur.cjs +43 -0
  3. package/chunks/ApprovalCenter-ClCoA3cr.mjs +176 -0
  4. package/chunks/ApprovalCenter-oACSjXxE.cjs +1 -0
  5. package/chunks/BlockTitle-CylSY2DM.cjs +1 -0
  6. package/chunks/BlockTitle-DTaIqiFF.mjs +85 -0
  7. package/chunks/Container-CV4sT-bB.mjs +117 -0
  8. package/chunks/Container-D8Bcg69e.cjs +17 -0
  9. package/chunks/EmptyState-BD6Ic-OX.cjs +1 -0
  10. package/chunks/EmptyState-Bct6Wrxv.mjs +459 -0
  11. package/chunks/FiltersActions-C3yWFtQT.mjs +429 -0
  12. package/chunks/FiltersActions-D1aQXh5d.cjs +1 -0
  13. package/chunks/FormDatePickers-BefllAQ_.cjs +1 -0
  14. package/chunks/FormDatePickers-_soI8Uaa.mjs +503 -0
  15. package/chunks/FormSegmentGroup-C8kROjlQ.mjs +168 -0
  16. package/chunks/FormSegmentGroup-DIaBZRWv.cjs +1 -0
  17. package/chunks/FormTextArea-BBYV56iU.mjs +107 -0
  18. package/chunks/FormTextArea-C7KG9PXC.cjs +1 -0
  19. package/chunks/GridDND-BP_H26We.cjs +1 -0
  20. package/chunks/GridDND-rVSi0xX1.mjs +852 -0
  21. package/chunks/LeftPanel-CgexykUg.cjs +1 -0
  22. package/chunks/LeftPanel-bKmeEOHx.mjs +162 -0
  23. package/chunks/ListOfFilters-DgInAZFi.cjs +1 -0
  24. package/chunks/ListOfFilters-IEPKSKxx.mjs +243 -0
  25. package/chunks/MassActions-BCgI08G9.cjs +1 -0
  26. package/chunks/MassActions-D4nb1_gx.mjs +966 -0
  27. package/chunks/PageTitle-B0tuR3fU.mjs +123 -0
  28. package/chunks/PageTitle-BC0PnHgQ.cjs +1 -0
  29. package/chunks/SplitView-C8de8YKV.mjs +236 -0
  30. package/chunks/SplitView-OUGciQ51.cjs +12 -0
  31. package/chunks/Stories--_pE4YtR.mjs +668 -0
  32. package/chunks/Stories-Dvh6rMeV.cjs +1 -0
  33. package/chunks/Table-Bj2se1hR.mjs +7757 -0
  34. package/chunks/Table-CnWVNNoW.cjs +31 -0
  35. package/chunks/TableCanvas-Y53zQ7M0.mjs +11857 -0
  36. package/chunks/TableCanvas-eYhmqTbp.cjs +30 -0
  37. package/chunks/{TableGlide-B61Yi-Hs.mjs → TableGlide-CuBMIM6Q.mjs} +1417 -1554
  38. package/chunks/TableGlide-CvMz7x7a.cjs +1 -0
  39. package/chunks/styles-Dd4uEa27.mjs +128 -0
  40. package/chunks/styles-kPI9R7DO.cjs +2 -0
  41. package/chunks/{utils-BNelzuI-.mjs → utils-C5SQhoON.mjs} +126 -151
  42. package/chunks/utils-DKi1rqLX.cjs +25 -0
  43. package/chunks/{vendor-D8Dozc4m.cjs → vendor-BauZZ2hr.mjs} +7 -33
  44. package/chunks/{vendor-BG4P-329.mjs → vendor-C47eH0xy.cjs} +2 -634
  45. package/components/AiAgentPopover/index.cjs +2 -2
  46. package/components/AiAgentPopover/index.mjs +248 -373
  47. package/components/AnalyticalWidget/components/AnalyticalWidgetChips/index.cjs +1 -1
  48. package/components/AnalyticalWidget/components/AnalyticalWidgetChips/index.mjs +1 -1
  49. package/components/AnalyticalWidget/components/AnalyticalWidgetHeader/index.cjs +1 -1
  50. package/components/AnalyticalWidget/components/AnalyticalWidgetHeader/index.mjs +1 -1
  51. package/components/AnalyticalWidget/index.cjs +1 -1
  52. package/components/AnalyticalWidget/index.mjs +1 -1
  53. package/components/ApprovalCenter/components/index.cjs +1 -1
  54. package/components/ApprovalCenter/components/index.mjs +1 -1
  55. package/components/ApprovalCenter/index.cjs +1 -1
  56. package/components/ApprovalCenter/index.mjs +1 -1
  57. package/components/Autocomplete/index.cjs +1 -1
  58. package/components/Autocomplete/index.mjs +22 -35
  59. package/components/AutocompleteSearch/index.cjs +1 -1
  60. package/components/AutocompleteSearch/index.mjs +33 -83
  61. package/components/BlockGradientScroll/index.cjs +1 -1
  62. package/components/BlockGradientScroll/index.mjs +41 -53
  63. package/components/BlockTitle/index.cjs +1 -1
  64. package/components/BlockTitle/index.mjs +1 -1
  65. package/components/BlockTitle/utils/index.cjs +1 -1
  66. package/components/BlockTitle/utils/index.mjs +1 -1
  67. package/components/Box/index.mjs +17 -7
  68. package/components/Collapse/index.cjs +1 -1
  69. package/components/Collapse/index.mjs +41 -62
  70. package/components/Combobox/index.cjs +1 -1
  71. package/components/Combobox/index.mjs +1 -1
  72. package/components/DatePicker/index.cjs +1 -1
  73. package/components/DatePicker/index.mjs +21 -59
  74. package/components/DrawerDF/index.cjs +1 -1
  75. package/components/DrawerDF/index.mjs +144 -391
  76. package/components/EmptyState/components/index.cjs +1 -1
  77. package/components/EmptyState/components/index.mjs +1 -1
  78. package/components/EmptyState/index.cjs +1 -1
  79. package/components/EmptyState/index.mjs +1 -1
  80. package/components/GridDND/index.cjs +1 -1
  81. package/components/GridDND/index.mjs +1 -1
  82. package/components/GridDND/utils/index.cjs +1 -1
  83. package/components/GridDND/utils/index.mjs +1 -1
  84. package/components/IconButton/index.cjs +1 -1
  85. package/components/IconButton/index.mjs +49 -112
  86. package/components/IconSvgSprite/index.cjs +1 -1
  87. package/components/IconSvgSprite/index.mjs +13 -49
  88. package/components/LeftPanel/components/index.cjs +1 -1
  89. package/components/LeftPanel/components/index.mjs +1 -1
  90. package/components/LeftPanel/hooks/index.cjs +1 -1
  91. package/components/LeftPanel/hooks/index.mjs +1 -1
  92. package/components/LeftPanel/index.cjs +1 -1
  93. package/components/LeftPanel/index.mjs +1 -1
  94. package/components/LeftPanel/utils/index.cjs +1 -1
  95. package/components/LeftPanel/utils/index.mjs +1 -1
  96. package/components/ListOfFilters/index.cjs +1 -1
  97. package/components/ListOfFilters/index.mjs +1 -1
  98. package/components/MassActions/hooks/index.cjs +1 -1
  99. package/components/MassActions/hooks/index.mjs +1 -1
  100. package/components/MassActions/index.cjs +1 -1
  101. package/components/MassActions/index.mjs +1 -1
  102. package/components/MassActionsStatic/index.cjs +2 -2
  103. package/components/MassActionsStatic/index.mjs +13 -34
  104. package/components/ModalDF/index.cjs +1 -1
  105. package/components/ModalDF/index.mjs +169 -381
  106. package/components/ModalDFConfirmation/index.cjs +1 -1
  107. package/components/ModalDFConfirmation/index.mjs +66 -114
  108. package/components/Notification/index.cjs +1 -1
  109. package/components/Notification/index.mjs +16 -22
  110. package/components/NumberFormat/index.cjs +1 -1
  111. package/components/NumberFormat/index.mjs +24 -37
  112. package/components/NumberFormatAmount/index.cjs +1 -1
  113. package/components/NumberFormatAmount/index.mjs +12 -27
  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 +125 -261
  120. package/components/PopupDF/index.cjs +1 -1
  121. package/components/PopupDF/index.mjs +141 -308
  122. package/components/SplitView/index.cjs +1 -1
  123. package/components/SplitView/index.mjs +1 -1
  124. package/components/SplitView/utils/index.cjs +1 -1
  125. package/components/SplitView/utils/index.mjs +1 -1
  126. package/components/Stories/components/StoriesBanner/index.cjs +1 -1
  127. package/components/Stories/components/StoriesBanner/index.mjs +1 -1
  128. package/components/Stories/components/StoriesContent/index.cjs +1 -1
  129. package/components/Stories/components/StoriesContent/index.mjs +1 -1
  130. package/components/Stories/components/StoriesPreview/index.cjs +1 -1
  131. package/components/Stories/components/StoriesPreview/index.mjs +1 -1
  132. package/components/Stories/components/StoriesProgress/index.cjs +1 -1
  133. package/components/Stories/components/StoriesProgress/index.mjs +1 -1
  134. package/components/Stories/components/StoriesViewer/index.cjs +1 -1
  135. package/components/Stories/components/StoriesViewer/index.mjs +1 -1
  136. package/components/Stories/index.cjs +1 -1
  137. package/components/Stories/index.mjs +1 -1
  138. package/components/Table/components/TableDropdown/index.cjs +1 -1
  139. package/components/Table/components/TableDropdown/index.mjs +1 -1
  140. package/components/Table/feature-collapse-table/index.cjs +1 -1
  141. package/components/Table/feature-collapse-table/index.mjs +1 -1
  142. package/components/Table/feature-column-control/ColumnsList/index.cjs +1 -1
  143. package/components/Table/feature-column-control/ColumnsList/index.mjs +1 -1
  144. package/components/Table/feature-column-control/index.cjs +1 -1
  145. package/components/Table/feature-column-control/index.mjs +1 -1
  146. package/components/Table/feature-columns-grouping/index.cjs +1 -1
  147. package/components/Table/feature-columns-grouping/index.mjs +1 -1
  148. package/components/Table/feature-context-menu/index.cjs +1 -1
  149. package/components/Table/feature-context-menu/index.mjs +1 -1
  150. package/components/Table/feature-edit/index.cjs +1 -1
  151. package/components/Table/feature-edit/index.mjs +1 -1
  152. package/components/Table/feature-filtering/combobox/index.cjs +1 -1
  153. package/components/Table/feature-filtering/combobox/index.mjs +1 -1
  154. package/components/Table/feature-filtering/filter-list-block/index.cjs +1 -1
  155. package/components/Table/feature-filtering/filter-list-block/index.mjs +1 -1
  156. package/components/Table/feature-filtering/header-filter-button/index.cjs +1 -1
  157. package/components/Table/feature-filtering/header-filter-button/index.mjs +1 -1
  158. package/components/Table/feature-filtering/index.cjs +1 -1
  159. package/components/Table/feature-filtering/index.mjs +1 -1
  160. package/components/Table/feature-filtering/sidebar-filter-block/index.cjs +1 -1
  161. package/components/Table/feature-filtering/sidebar-filter-block/index.mjs +1 -1
  162. package/components/Table/feature-infinity-scroll/index.cjs +1 -1
  163. package/components/Table/feature-infinity-scroll/index.mjs +1 -1
  164. package/components/Table/feature-key-text/index.cjs +1 -1
  165. package/components/Table/feature-key-text/index.mjs +1 -1
  166. package/components/Table/feature-pagination/index.cjs +1 -1
  167. package/components/Table/feature-pagination/index.mjs +1 -1
  168. package/components/Table/feature-right-sidebar/index.cjs +1 -1
  169. package/components/Table/feature-right-sidebar/index.mjs +1 -1
  170. package/components/Table/feature-row-detail/index.cjs +1 -1
  171. package/components/Table/feature-row-detail/index.mjs +1 -1
  172. package/components/Table/feature-row-instruments/index.cjs +1 -1
  173. package/components/Table/feature-row-instruments/index.mjs +1 -1
  174. package/components/Table/feature-row-size/index.cjs +1 -1
  175. package/components/Table/feature-row-size/index.mjs +1 -1
  176. package/components/Table/feature-rows-grouping/index.cjs +1 -1
  177. package/components/Table/feature-rows-grouping/index.mjs +1 -1
  178. package/components/Table/feature-searching/index.cjs +1 -1
  179. package/components/Table/feature-searching/index.mjs +1 -1
  180. package/components/Table/feature-select-row/index.cjs +1 -1
  181. package/components/Table/feature-select-row/index.mjs +1 -1
  182. package/components/Table/feature-sorting/index.cjs +1 -1
  183. package/components/Table/feature-sorting/index.mjs +1 -1
  184. package/components/Table/feature-table-settings/index.cjs +1 -1
  185. package/components/Table/feature-table-settings/index.mjs +1 -1
  186. package/components/Table/feature-tree/index.cjs +1 -1
  187. package/components/Table/feature-tree/index.mjs +1 -1
  188. package/components/Table/index.cjs +1 -1
  189. package/components/Table/index.mjs +1 -1
  190. package/components/Table/renders/formatCell/index.cjs +1 -1
  191. package/components/Table/renders/formatCell/index.mjs +1 -1
  192. package/components/Table/styles/index.cjs +1 -1
  193. package/components/Table/styles/index.mjs +1 -1
  194. package/components/Table/table-hooks/index.cjs +1 -1
  195. package/components/Table/table-hooks/index.mjs +1 -1
  196. package/components/Table/types/index.cjs +1 -1
  197. package/components/Table/types/index.mjs +1 -1
  198. package/components/Table/utils/index.cjs +1 -1
  199. package/components/Table/utils/index.mjs +1 -1
  200. package/components/Table/widgets/control-block/index.cjs +1 -1
  201. package/components/Table/widgets/control-block/index.mjs +1 -1
  202. package/components/Table/widgets/control-block/right-side/index.cjs +1 -1
  203. package/components/Table/widgets/control-block/right-side/index.mjs +1 -1
  204. package/components/Table/widgets/index.cjs +1 -1
  205. package/components/Table/widgets/index.mjs +1 -1
  206. package/components/Table/widgets/mass-actions/index.cjs +1 -1
  207. package/components/Table/widgets/mass-actions/index.mjs +1 -1
  208. package/components/TableCanvas/TableGlideInstance/adapters/column/index.cjs +1 -1
  209. package/components/TableCanvas/TableGlideInstance/adapters/column/index.mjs +1 -1
  210. package/components/TableCanvas/TableGlideInstance/adapters/index.cjs +1 -1
  211. package/components/TableCanvas/TableGlideInstance/adapters/index.mjs +1 -1
  212. package/components/TableCanvas/TableGlideInstance/index.cjs +1 -1
  213. package/components/TableCanvas/TableGlideInstance/index.mjs +2 -2
  214. package/components/TableCanvas/TableGlideInstance/utils/column/index.cjs +1 -1
  215. package/components/TableCanvas/TableGlideInstance/utils/column/index.mjs +1 -1
  216. package/components/TableCanvas/TableGlideInstance/utils/index.cjs +1 -1
  217. package/components/TableCanvas/TableGlideInstance/utils/index.mjs +1 -1
  218. package/components/TableCanvas/components/SplitIconButton/index.cjs +1 -1
  219. package/components/TableCanvas/components/SplitIconButton/index.mjs +1 -1
  220. package/components/TableCanvas/components/TableDropdown/index.cjs +1 -1
  221. package/components/TableCanvas/components/TableDropdown/index.mjs +1 -1
  222. package/components/TableCanvas/feature-cell-transfer/index.cjs +1 -1
  223. package/components/TableCanvas/feature-cell-transfer/index.mjs +1 -1
  224. package/components/TableCanvas/feature-collapse-table/index.cjs +1 -1
  225. package/components/TableCanvas/feature-collapse-table/index.mjs +1 -1
  226. package/components/TableCanvas/feature-column-control/ColumnsList/index.cjs +1 -1
  227. package/components/TableCanvas/feature-column-control/ColumnsList/index.mjs +1 -1
  228. package/components/TableCanvas/feature-column-control/index.cjs +1 -1
  229. package/components/TableCanvas/feature-column-control/index.mjs +1 -1
  230. package/components/TableCanvas/feature-columns-grouping/index.cjs +1 -1
  231. package/components/TableCanvas/feature-columns-grouping/index.mjs +1 -1
  232. package/components/TableCanvas/feature-content-state/index.cjs +1 -1
  233. package/components/TableCanvas/feature-content-state/index.mjs +1 -1
  234. package/components/TableCanvas/feature-context-menu/index.cjs +1 -1
  235. package/components/TableCanvas/feature-context-menu/index.mjs +1 -1
  236. package/components/TableCanvas/feature-edit/index.cjs +1 -1
  237. package/components/TableCanvas/feature-edit/index.mjs +1 -1
  238. package/components/TableCanvas/feature-filtering/combobox/index.cjs +1 -1
  239. package/components/TableCanvas/feature-filtering/combobox/index.mjs +1 -1
  240. package/components/TableCanvas/feature-filtering/filter-list-block/index.cjs +1 -1
  241. package/components/TableCanvas/feature-filtering/filter-list-block/index.mjs +1 -1
  242. package/components/TableCanvas/feature-filtering/header-filter-button/index.cjs +1 -1
  243. package/components/TableCanvas/feature-filtering/header-filter-button/index.mjs +1 -1
  244. package/components/TableCanvas/feature-filtering/index.cjs +1 -1
  245. package/components/TableCanvas/feature-filtering/index.mjs +1 -1
  246. package/components/TableCanvas/feature-filtering/sidebar-filter-block/index.cjs +1 -1
  247. package/components/TableCanvas/feature-filtering/sidebar-filter-block/index.mjs +1 -1
  248. package/components/TableCanvas/feature-infinity-scroll/index.cjs +1 -1
  249. package/components/TableCanvas/feature-infinity-scroll/index.mjs +1 -1
  250. package/components/TableCanvas/feature-key-text/index.cjs +1 -1
  251. package/components/TableCanvas/feature-key-text/index.mjs +1 -1
  252. package/components/TableCanvas/feature-notifications/index.cjs +1 -1
  253. package/components/TableCanvas/feature-notifications/index.mjs +1 -1
  254. package/components/TableCanvas/feature-pagination/index.cjs +1 -1
  255. package/components/TableCanvas/feature-pagination/index.mjs +1 -1
  256. package/components/TableCanvas/feature-popover-table/context/index.cjs +1 -1
  257. package/components/TableCanvas/feature-popover-table/context/index.mjs +1 -1
  258. package/components/TableCanvas/feature-popover-table/hooks/index.cjs +1 -1
  259. package/components/TableCanvas/feature-popover-table/hooks/index.mjs +1 -1
  260. package/components/TableCanvas/feature-popover-table/index.cjs +1 -1
  261. package/components/TableCanvas/feature-popover-table/index.mjs +1 -1
  262. package/components/TableCanvas/feature-popover-table/utils/index.cjs +1 -1
  263. package/components/TableCanvas/feature-popover-table/utils/index.mjs +1 -1
  264. package/components/TableCanvas/feature-right-sidebar/index.cjs +1 -1
  265. package/components/TableCanvas/feature-right-sidebar/index.mjs +1 -1
  266. package/components/TableCanvas/feature-row-detail/index.cjs +1 -1
  267. package/components/TableCanvas/feature-row-detail/index.mjs +1 -1
  268. package/components/TableCanvas/feature-row-instruments/index.cjs +1 -1
  269. package/components/TableCanvas/feature-row-instruments/index.mjs +1 -1
  270. package/components/TableCanvas/feature-row-markers/index.cjs +1 -1
  271. package/components/TableCanvas/feature-row-markers/index.mjs +1 -1
  272. package/components/TableCanvas/feature-row-size/index.cjs +1 -1
  273. package/components/TableCanvas/feature-row-size/index.mjs +1 -1
  274. package/components/TableCanvas/feature-rows-grouping/index.cjs +1 -1
  275. package/components/TableCanvas/feature-rows-grouping/index.mjs +1 -1
  276. package/components/TableCanvas/feature-searching/index.cjs +1 -1
  277. package/components/TableCanvas/feature-searching/index.mjs +1 -1
  278. package/components/TableCanvas/feature-select-row/index.cjs +1 -1
  279. package/components/TableCanvas/feature-select-row/index.mjs +1 -1
  280. package/components/TableCanvas/feature-sorting/index.cjs +1 -1
  281. package/components/TableCanvas/feature-sorting/index.mjs +1 -1
  282. package/components/TableCanvas/feature-table-settings/index.cjs +1 -1
  283. package/components/TableCanvas/feature-table-settings/index.mjs +1 -1
  284. package/components/TableCanvas/feature-tooltip/index.cjs +1 -1
  285. package/components/TableCanvas/feature-tooltip/index.mjs +1 -1
  286. package/components/TableCanvas/feature-tooltip/utils/index.cjs +1 -1
  287. package/components/TableCanvas/feature-tooltip/utils/index.mjs +1 -1
  288. package/components/TableCanvas/feature-tree/index.cjs +1 -1
  289. package/components/TableCanvas/feature-tree/index.mjs +1 -1
  290. package/components/TableCanvas/index.cjs +1 -1
  291. package/components/TableCanvas/index.mjs +2 -2
  292. package/components/TableCanvas/renders/formatCell/index.cjs +1 -1
  293. package/components/TableCanvas/renders/formatCell/index.mjs +1 -1
  294. package/components/TableCanvas/styles/index.cjs +1 -1
  295. package/components/TableCanvas/styles/index.mjs +1 -1
  296. package/components/TableCanvas/table-hooks/index.cjs +1 -1
  297. package/components/TableCanvas/table-hooks/index.mjs +1 -1
  298. package/components/TableCanvas/types/index.cjs +1 -1
  299. package/components/TableCanvas/types/index.mjs +1 -1
  300. package/components/TableCanvas/utils/index.cjs +1 -1
  301. package/components/TableCanvas/utils/index.mjs +2 -2
  302. package/components/TableCanvas/widgets/control-block/compression/index.cjs +1 -1
  303. package/components/TableCanvas/widgets/control-block/compression/index.mjs +1 -1
  304. package/components/TableCanvas/widgets/control-block/index.cjs +1 -1
  305. package/components/TableCanvas/widgets/control-block/index.mjs +1 -1
  306. package/components/TableCanvas/widgets/control-block/right-side/index.cjs +1 -1
  307. package/components/TableCanvas/widgets/control-block/right-side/index.mjs +1 -1
  308. package/components/TableCanvas/widgets/index.cjs +1 -1
  309. package/components/TableCanvas/widgets/index.mjs +1 -1
  310. package/components/TableCanvas/widgets/mass-actions/hooks/index.cjs +1 -1
  311. package/components/TableCanvas/widgets/mass-actions/hooks/index.mjs +1 -1
  312. package/components/TableCanvas/widgets/mass-actions/index.cjs +1 -1
  313. package/components/TableCanvas/widgets/mass-actions/index.mjs +1 -1
  314. package/components/TableContract/index.cjs +2 -2
  315. package/components/TableContract/index.mjs +540 -798
  316. package/components/TableGlide/hooks/selection/index.cjs +1 -1
  317. package/components/TableGlide/hooks/selection/index.mjs +1 -1
  318. package/components/TableGlide/index.cjs +1 -1
  319. package/components/TableGlide/index.mjs +1 -1
  320. package/components/TableGlide/lib/canvas/cells/buttons/index.cjs +1 -1
  321. package/components/TableGlide/lib/canvas/cells/buttons/index.mjs +1 -1
  322. package/components/TableGlide/lib/canvas/cells/iconSprites/index.cjs +1 -1
  323. package/components/TableGlide/lib/canvas/cells/iconSprites/index.mjs +1 -1
  324. package/components/TableGlide/lib/canvas/cells/index.cjs +1 -1
  325. package/components/TableGlide/lib/canvas/cells/index.mjs +1 -1
  326. package/components/TableGlide/lib/canvas/cells/renderer/index.cjs +1 -1
  327. package/components/TableGlide/lib/canvas/cells/renderer/index.mjs +1 -1
  328. package/components/TableGlide/lib/canvas/core/helpers/index.cjs +1 -1
  329. package/components/TableGlide/lib/canvas/core/helpers/index.mjs +1 -1
  330. package/components/TableGlide/lib/canvas/core/index.cjs +1 -1
  331. package/components/TableGlide/lib/canvas/core/index.mjs +1 -1
  332. package/components/TableGlide/lib/canvas/hooks/index.cjs +1 -1
  333. package/components/TableGlide/lib/canvas/hooks/index.mjs +1 -1
  334. package/components/TableGlide/lib/canvas/index.cjs +1 -1
  335. package/components/TableGlide/lib/canvas/index.mjs +1 -1
  336. package/components/TableGlide/lib/canvas/miniflex/index.cjs +1 -1
  337. package/components/TableGlide/lib/canvas/miniflex/index.mjs +1 -1
  338. package/components/TableGlide/lib/canvas/primitives/index.cjs +1 -1
  339. package/components/TableGlide/lib/canvas/primitives/index.mjs +1 -1
  340. package/components/TableGlide/lib/canvas/utils/index.cjs +1 -1
  341. package/components/TableGlide/lib/canvas/utils/index.mjs +1 -1
  342. package/components/TableGlide/theming/index.cjs +1 -1
  343. package/components/TableGlide/theming/index.mjs +1 -1
  344. package/components/TableTabs/index.cjs +1 -1
  345. package/components/TableTabs/index.mjs +136 -305
  346. package/components/TextArea/index.cjs +1 -1
  347. package/components/TextArea/index.mjs +26 -40
  348. package/components/TextField/index.cjs +1 -1
  349. package/components/TextField/index.mjs +38 -82
  350. package/components/Tooltip/index.cjs +1 -1
  351. package/components/Tooltip/index.mjs +1 -1
  352. package/components/TourWidget/index.cjs +15 -15
  353. package/components/TourWidget/index.mjs +176 -371
  354. package/components/Typography/index.cjs +1 -1
  355. package/components/Typography/index.mjs +1 -1
  356. package/components/Widget/index.cjs +1 -1
  357. package/components/Widget/index.mjs +151 -363
  358. package/formComponents/FormAutocomplete/index.cjs +1 -1
  359. package/formComponents/FormAutocomplete/index.mjs +63 -68
  360. package/formComponents/FormCheckbox/index.cjs +1 -1
  361. package/formComponents/FormCheckbox/index.mjs +27 -55
  362. package/formComponents/FormCombobox/index.cjs +1 -1
  363. package/formComponents/FormCombobox/index.mjs +61 -75
  364. package/formComponents/FormDatePickers/FormDatePicker/index.cjs +1 -1
  365. package/formComponents/FormDatePickers/FormDatePicker/index.mjs +1 -1
  366. package/formComponents/FormDatePickers/FormDatePickerRange/index.cjs +1 -1
  367. package/formComponents/FormDatePickers/FormDatePickerRange/index.mjs +1 -1
  368. package/formComponents/FormDatePickers/FormDatePickerRange/lib/utils/index.cjs +1 -1
  369. package/formComponents/FormDatePickers/FormDatePickerRange/lib/utils/index.mjs +1 -1
  370. package/formComponents/FormDatePickers/index.cjs +1 -1
  371. package/formComponents/FormDatePickers/index.mjs +1 -1
  372. package/formComponents/FormMask/index.cjs +1 -1
  373. package/formComponents/FormMask/index.mjs +61 -66
  374. package/formComponents/FormNumberFormat/index.cjs +1 -1
  375. package/formComponents/FormNumberFormat/index.mjs +56 -68
  376. package/formComponents/FormRadioGroupBox/index.cjs +1 -1
  377. package/formComponents/FormRadioGroupBox/index.mjs +71 -144
  378. package/formComponents/FormSegments/index.cjs +1 -1
  379. package/formComponents/FormSegments/index.mjs +1 -1
  380. package/formComponents/FormSelect/index.cjs +1 -1
  381. package/formComponents/FormSelect/index.mjs +62 -76
  382. package/formComponents/FormSwitch/index.cjs +1 -1
  383. package/formComponents/FormSwitch/index.mjs +25 -53
  384. package/formComponents/FormTextArea/index.cjs +1 -1
  385. package/formComponents/FormTextArea/index.mjs +1 -1
  386. package/formComponents/FormTextArea/ui/index.cjs +1 -1
  387. package/formComponents/FormTextArea/ui/index.mjs +1 -1
  388. package/formComponents/FormTextField/index.cjs +1 -1
  389. package/formComponents/FormTextField/index.mjs +70 -101
  390. package/index.cjs +1 -1
  391. package/index.mjs +21 -21
  392. package/layouts/Container/index.cjs +1 -1
  393. package/layouts/Container/index.mjs +1 -1
  394. package/layouts/Container/lib/utils/index.cjs +1 -1
  395. package/layouts/Container/lib/utils/index.mjs +1 -1
  396. package/layouts/ErrorPage/index.cjs +1 -1
  397. package/layouts/ErrorPage/index.mjs +81 -146
  398. package/layouts/FiltersActions/hooks/index.cjs +1 -1
  399. package/layouts/FiltersActions/hooks/index.mjs +1 -1
  400. package/layouts/FiltersActions/index.cjs +1 -1
  401. package/layouts/FiltersActions/index.mjs +1 -1
  402. package/layouts/Layout/index.cjs +5 -5
  403. package/layouts/Layout/index.mjs +78 -115
  404. package/layouts/PageLayout/index.cjs +2 -2
  405. package/layouts/PageLayout/index.mjs +15 -32
  406. package/mixins/index.cjs +1 -1
  407. package/mixins/index.mjs +1 -1
  408. package/package.json +1 -1
  409. package/shared/ui/Search/index.cjs +1 -1
  410. package/shared/ui/Search/index.mjs +30 -52
  411. package/shared/utils/inputs/index.cjs +1 -1
  412. package/shared/utils/inputs/index.mjs +33 -48
  413. package/styles/index.cjs +1 -1
  414. package/styles/index.mjs +1 -1
  415. package/themes/index.cjs +1 -1
  416. package/themes/index.mjs +1 -1
  417. package/utils/breakpoint/index.cjs +1 -1
  418. package/utils/breakpoint/index.mjs +1 -1
  419. package/utils/clickStream/index.cjs +1 -1
  420. package/utils/clickStream/index.mjs +1 -1
  421. package/utils/eventBus/index.cjs +1 -1
  422. package/utils/eventBus/index.mjs +1 -1
  423. package/utils/hooks/index.cjs +1 -1
  424. package/utils/hooks/index.mjs +1 -1
  425. package/utils/index.cjs +1 -1
  426. package/utils/index.mjs +1 -1
  427. package/utils/styles/index.cjs +1 -1
  428. package/utils/styles/index.mjs +1 -1
  429. package/chunks/AnalyticalWidget-Ca_EuSTO.mjs +0 -868
  430. package/chunks/AnalyticalWidget-xgvWcsXx.cjs +0 -43
  431. package/chunks/ApprovalCenter-4aJlJfei.mjs +0 -531
  432. package/chunks/ApprovalCenter-Ij5NMkY-.cjs +0 -1
  433. package/chunks/BlockTitle-CgXVHok6.mjs +0 -180
  434. package/chunks/BlockTitle-SaP9H2PI.cjs +0 -1
  435. package/chunks/Container-ChuCs63G.cjs +0 -17
  436. package/chunks/Container-D8RdjkGo.mjs +0 -180
  437. package/chunks/EmptyState-BxUh2dhY.cjs +0 -1
  438. package/chunks/EmptyState-C0aHgxrn.mjs +0 -615
  439. package/chunks/FiltersActions-BekNxF-h.cjs +0 -1
  440. package/chunks/FiltersActions-CSucE-Ql.mjs +0 -637
  441. package/chunks/FormDatePickers-BCyW24Pr.cjs +0 -1
  442. package/chunks/FormDatePickers-DfdGdbwP.mjs +0 -538
  443. package/chunks/FormSegmentGroup-BKuHtPEn.cjs +0 -1
  444. package/chunks/FormSegmentGroup-DqFMVBr0.mjs +0 -268
  445. package/chunks/FormTextArea-CCrYx4pL.mjs +0 -159
  446. package/chunks/FormTextArea-sly1mY7h.cjs +0 -1
  447. package/chunks/GridDND-Bycwiynh.mjs +0 -1086
  448. package/chunks/GridDND-MsZt1fXJ.cjs +0 -1
  449. package/chunks/LeftPanel-C72uosX_.mjs +0 -303
  450. package/chunks/LeftPanel-Di-IqpZ_.cjs +0 -1
  451. package/chunks/ListOfFilters-B3bM1n4w.cjs +0 -1
  452. package/chunks/ListOfFilters-CPJGgMMc.mjs +0 -462
  453. package/chunks/MassActions-BbAXi3z9.cjs +0 -1
  454. package/chunks/MassActions-CZm8vqj8.mjs +0 -1352
  455. package/chunks/PageTitle-DEsijnDg.cjs +0 -1
  456. package/chunks/PageTitle-TusD1S2c.mjs +0 -282
  457. package/chunks/SplitView-BHdftJ9A.cjs +0 -12
  458. package/chunks/SplitView-Cd-xkxCe.mjs +0 -339
  459. package/chunks/Stories-CR_EUNO7.mjs +0 -1018
  460. package/chunks/Stories-CxsYx2OE.cjs +0 -1
  461. package/chunks/Table--05ONCr1.cjs +0 -31
  462. package/chunks/Table-l-P3NNUN.mjs +0 -11944
  463. package/chunks/TableCanvas-BYKPeWME.mjs +0 -16941
  464. package/chunks/TableCanvas-ZmjSKk64.cjs +0 -30
  465. package/chunks/TableGlide-CbvaAM_H.cjs +0 -1
  466. package/chunks/styles-D8FDGdVz.mjs +0 -240
  467. package/chunks/styles-OR0WE1xm.cjs +0 -2
  468. package/chunks/utils-C93a2mD7.cjs +0 -25
@@ -0,0 +1,123 @@
1
+ import { Breadcrumbs as C, IconButton as w } from "@salutejs/sdds-finai";
2
+ import { jsxs as n, jsx as l } from "react/jsx-runtime";
3
+ import { a as S } from "./AnalyticalWidget-CBi-2MtJ.mjs";
4
+ import { IconChevronLeft as P } from "@salutejs/plasma-icons";
5
+ import { textSecondary as $ } from "@salutejs/sdds-themes/tokens/sdds_finai";
6
+ import { d as R, s as z } from "./utils-C5SQhoON.mjs";
7
+ import { forwardRef as I } from "react";
8
+ import { s } from "../constants/index.mjs";
9
+ import a from "styled-components";
10
+ const o = "PageTitle__", i = {
11
+ root: `${o}root`,
12
+ breadcrumbs: `${o}breadcrumbs`,
13
+ content: `${o}content`,
14
+ leftBlock: `${o}left-block`,
15
+ titleBlock: `${o}title-block`,
16
+ title: `${o}title`,
17
+ subtitle: `${o}subtitle`,
18
+ titleSlot: `${o}title-slot`,
19
+ rightBlock: `${o}right-block`,
20
+ backIconButton: `${o}back-icon-block`
21
+ }, j = a.div.attrs({
22
+ className: i.root
23
+ }).withConfig({
24
+ displayName: "PageTitlestyled__StyledRoot"
25
+ })(["width:100%;display:flex;flex-direction:column;gap:", ";"], () => s.x8), A = a.div.attrs({
26
+ className: i.breadcrumbs
27
+ }).withConfig({
28
+ displayName: "PageTitlestyled__StyledBreadcrumbs"
29
+ })([""]), L = a.div.attrs({
30
+ className: i.content
31
+ }).withConfig({
32
+ displayName: "PageTitlestyled__StyledContent"
33
+ })(["display:flex;justify-content:space-between;align-items:flex-start;gap:", ";"], () => s.x12), H = a.div.attrs({
34
+ className: i.leftBlock
35
+ }).withConfig({
36
+ displayName: "PageTitlestyled__StyledLeftBlock"
37
+ })(["display:flex;align-items:flex-start;gap:", ";flex:1;min-width:0;"], () => s.x8), E = a.div.attrs({
38
+ className: i.titleBlock
39
+ }).withConfig({
40
+ displayName: "PageTitlestyled__StyledTitleBlock"
41
+ })(["display:flex;flex-direction:column;gap:", ";flex-shrink:1;min-width:0;"], () => s.x2), W = a.div.attrs({
42
+ className: i.backIconButton
43
+ }).withConfig({
44
+ displayName: "PageTitlestyled__StyledBackButtonContainer"
45
+ })(["margin-top:", ";"], ({
46
+ $isAdaptive1280: t
47
+ }) => t ? "1px" : "6px"), q = a.div.attrs({
48
+ className: i.title
49
+ }).withConfig({
50
+ displayName: "PageTitlestyled__StyledTitle"
51
+ })([""]), D = a.div.attrs({
52
+ className: i.subtitle
53
+ }).withConfig({
54
+ displayName: "PageTitlestyled__StyledSubtitle"
55
+ })([""]), F = a.div.attrs({
56
+ className: i.titleSlot
57
+ }).withConfig({
58
+ displayName: "PageTitlestyled__StyledTitleSlot"
59
+ })(["margin-top:3px;"]), G = a.div.attrs({
60
+ className: i.rightBlock
61
+ }).withConfig({
62
+ displayName: "PageTitlestyled__StyledRightBlock"
63
+ })(["display:flex;align-items:flex-end;flex-shrink:0;align-self:flex-end;"]), J = (t) => ({
64
+ buttonSize: t ? "xs" : "s"
65
+ }), y = (t, e) => typeof t == "function" ? t(e) : t, K = ({
66
+ isAdaptive1280: t,
67
+ ...e
68
+ }) => /* @__PURE__ */ l(W, { $isAdaptive1280: t, children: /* @__PURE__ */ l(w, { size: "xs", view: "secondary", className: i.backIconButton, pin: "circle-circle", ...e, children: /* @__PURE__ */ l(P, { size: "xs", color: "inherit" }) }) }), M = ({
69
+ breadcrumbs: t
70
+ }) => {
71
+ if (!t)
72
+ return null;
73
+ const e = {
74
+ size: "m",
75
+ ...t
76
+ };
77
+ return /* @__PURE__ */ l(A, { children: /* @__PURE__ */ l(C, { ...e }) });
78
+ }, O = ({
79
+ title: t,
80
+ titleTypographyProps: e
81
+ }) => t ? /* @__PURE__ */ l(q, { children: /* @__PURE__ */ l(S, { variant: "H2", bold: !0, tooltipText: (e && "tooltipText" in e ? e.tooltipText : void 0) ?? t, ...e, children: t }) }) : null, Q = ({
82
+ subtitle: t,
83
+ subtitleTypographyProps: e
84
+ }) => t ? /* @__PURE__ */ l(D, { children: /* @__PURE__ */ l(S, { variant: "BodyS", color: $, tooltipText: (e && "tooltipText" in e ? e.tooltipText : void 0) ?? t, ...e, children: t }) }) : null, U = I(({
85
+ title: t,
86
+ titleTypographyProps: e,
87
+ subtitle: c,
88
+ subtitleTypographyProps: p,
89
+ titleSlot: x,
90
+ rightSlot: h,
91
+ disableMediaAdaptive: u = !1,
92
+ breadcrumbs: d,
93
+ $css: T,
94
+ className: B,
95
+ showBackButton: k,
96
+ onBackClick: N,
97
+ ..._
98
+ }, b) => {
99
+ const {
100
+ down: v
101
+ } = R(), r = !u && v("xl"), m = J(r), f = y(x, m), g = y(h, m);
102
+ return /* @__PURE__ */ n(j, { ref: b, $css: T, className: z(i.root, B), ..._, children: [
103
+ d && /* @__PURE__ */ l(M, { breadcrumbs: d }),
104
+ /* @__PURE__ */ n(L, { children: [
105
+ /* @__PURE__ */ n(H, { children: [
106
+ k && /* @__PURE__ */ l(K, { isAdaptive1280: r, onClick: N }),
107
+ (t || c) && /* @__PURE__ */ n(E, { children: [
108
+ /* @__PURE__ */ l(O, { title: t, titleTypographyProps: e }),
109
+ /* @__PURE__ */ l(Q, { subtitle: c, subtitleTypographyProps: p })
110
+ ] }),
111
+ f && /* @__PURE__ */ l(F, { children: f })
112
+ ] }),
113
+ g && /* @__PURE__ */ l(G, { children: g })
114
+ ] })
115
+ ] });
116
+ });
117
+ U.displayName = "PageTitle";
118
+ export {
119
+ U as P,
120
+ J as g,
121
+ i as p,
122
+ y as r
123
+ };
@@ -0,0 +1 @@
1
+ "use strict";const u=require("@salutejs/sdds-finai"),e=require("react/jsx-runtime"),f=require("./AnalyticalWidget-fBDe37Ur.cjs"),w=require("@salutejs/plasma-icons"),$=require("@salutejs/sdds-themes/tokens/sdds_finai"),m=require("./utils-DKi1rqLX.cjs"),q=require("react"),o=require("../constants/index.cjs"),n=require("styled-components"),s="PageTitle__",i={root:`${s}root`,breadcrumbs:`${s}breadcrumbs`,content:`${s}content`,leftBlock:`${s}left-block`,titleBlock:`${s}title-block`,title:`${s}title`,subtitle:`${s}subtitle`,titleSlot:`${s}title-slot`,rightBlock:`${s}right-block`,backIconButton:`${s}back-icon-block`},R=n.div.attrs({className:i.root}).withConfig({displayName:"PageTitlestyled__StyledRoot"})(["width:100%;display:flex;flex-direction:column;gap:",";"],()=>o.s.x8),z=n.div.attrs({className:i.breadcrumbs}).withConfig({displayName:"PageTitlestyled__StyledBreadcrumbs"})([""]),I=n.div.attrs({className:i.content}).withConfig({displayName:"PageTitlestyled__StyledContent"})(["display:flex;justify-content:space-between;align-items:flex-start;gap:",";"],()=>o.s.x12),A=n.div.attrs({className:i.leftBlock}).withConfig({displayName:"PageTitlestyled__StyledLeftBlock"})(["display:flex;align-items:flex-start;gap:",";flex:1;min-width:0;"],()=>o.s.x8),L=n.div.attrs({className:i.titleBlock}).withConfig({displayName:"PageTitlestyled__StyledTitleBlock"})(["display:flex;flex-direction:column;gap:",";flex-shrink:1;min-width:0;"],()=>o.s.x2),W=n.div.attrs({className:i.backIconButton}).withConfig({displayName:"PageTitlestyled__StyledBackButtonContainer"})(["margin-top:",";"],({$isAdaptive1280:t})=>t?"1px":"6px"),H=n.div.attrs({className:i.title}).withConfig({displayName:"PageTitlestyled__StyledTitle"})([""]),E=n.div.attrs({className:i.subtitle}).withConfig({displayName:"PageTitlestyled__StyledSubtitle"})([""]),F=n.div.attrs({className:i.titleSlot}).withConfig({displayName:"PageTitlestyled__StyledTitleSlot"})(["margin-top:3px;"]),D=n.div.attrs({className:i.rightBlock}).withConfig({displayName:"PageTitlestyled__StyledRightBlock"})(["display:flex;align-items:flex-end;flex-shrink:0;align-self:flex-end;"]),S=t=>({buttonSize:t?"xs":"s"}),a=(t,l)=>typeof t=="function"?t(l):t,G=({isAdaptive1280:t,...l})=>e.jsx(W,{$isAdaptive1280:t,children:e.jsx(u.IconButton,{size:"xs",view:"secondary",className:i.backIconButton,pin:"circle-circle",...l,children:e.jsx(w.IconChevronLeft,{size:"xs",color:"inherit"})})}),J=({breadcrumbs:t})=>{if(!t)return null;const l={size:"m",...t};return e.jsx(z,{children:e.jsx(u.Breadcrumbs,{...l})})},K=({title:t,titleTypographyProps:l})=>t?e.jsx(H,{children:e.jsx(f.TypographyWithAutoTooltip,{variant:"H2",bold:!0,tooltipText:(l&&"tooltipText"in l?l.tooltipText:void 0)??t,...l,children:t})}):null,M=({subtitle:t,subtitleTypographyProps:l})=>t?e.jsx(E,{children:e.jsx(f.TypographyWithAutoTooltip,{variant:"BodyS",color:$.textSecondary,tooltipText:(l&&"tooltipText"in l?l.tooltipText:void 0)??t,...l,children:t})}):null,T=q.forwardRef(({title:t,titleTypographyProps:l,subtitle:c,subtitleTypographyProps:h,titleSlot:p,rightSlot:B,disableMediaAdaptive:k=!1,breadcrumbs:d,$css:N,className:_,showBackButton:j,onBackClick:b,...C},v)=>{const{down:P}=m.useBreakpoint(),r=!k&&P("xl"),x=S(r),g=a(p,x),y=a(B,x);return e.jsxs(R,{ref:v,$css:N,className:m.mCls(i.root,_),...C,children:[d&&e.jsx(J,{breadcrumbs:d}),e.jsxs(I,{children:[e.jsxs(A,{children:[j&&e.jsx(G,{isAdaptive1280:r,onClick:b}),(t||c)&&e.jsxs(L,{children:[e.jsx(K,{title:t,titleTypographyProps:l}),e.jsx(M,{subtitle:c,subtitleTypographyProps:h})]}),g&&e.jsx(F,{children:g})]}),y&&e.jsx(D,{children:y})]})]})});T.displayName="PageTitle";exports.PageTitle=T;exports.getPageTitleSlotSizes=S;exports.pageTitleClassNames=i;exports.renderPageTitleSlot=a;
@@ -0,0 +1,236 @@
1
+ import { jsx as W, jsxs as H } from "react/jsx-runtime";
2
+ import { t as G, e as V, w as J, b as y, d as K, s as Q, q as Y } from "./utils-C5SQhoON.mjs";
3
+ import { useState as F, useEffect as $, useCallback as T, useRef as L, useMemo as X } from "react";
4
+ import { ModalDF as Z } from "../components/ModalDF/index.mjs";
5
+ import { s as E } from "../constants/index.mjs";
6
+ import { surfaceSolidSecondary as R, outlineSolidSecondary as tt, outlineSolidSecondaryHover as N, surfaceSolidCard as et, shadowDownSoftS as it } from "@salutejs/sdds-themes/tokens/sdds_finai";
7
+ import rt from "styled-components";
8
+ const nt = ({
9
+ children: e,
10
+ isFullScreened: t,
11
+ fullScreenedModalDFProps: i
12
+ }) => {
13
+ if (!t)
14
+ return e;
15
+ const o = typeof (i == null ? void 0 : i.fullScreen) == "object" ? i.fullScreen : void 0;
16
+ return /* @__PURE__ */ W(Z, { opened: !0, closeOnOverlayClick: !1, ...i, fullScreen: {
17
+ ...o,
18
+ defaultEnabled: !0
19
+ }, children: e });
20
+ }, ot = ({
21
+ sidebarIsClosed: e,
22
+ isResizingRef: t,
23
+ onTransitionEndExt: i
24
+ }) => {
25
+ const [o, a] = F(() => e);
26
+ $(() => {
27
+ e && a(!0);
28
+ }, [e]);
29
+ const d = T((c) => {
30
+ i && i(c), !e && !t.current && o && a(!1);
31
+ }, [o, t, i, e]);
32
+ return {
33
+ isClosingOrClosedOrOpening: o,
34
+ onTransitionEnd: d
35
+ };
36
+ }, u = "SplitView__", n = {
37
+ container: `${u}container`,
38
+ separator: `${u}separator`,
39
+ separatorButton: `${u}separator-button`,
40
+ mainBlock: `${u}main-block`,
41
+ sidebarBlock: `${u}sidebar-block`,
42
+ sidebarBlockIsResizing: `${u}sidebar-block-is-resizing`,
43
+ sidebarIsClosingOrClosedOrOpening: `${u}sidebar-is-closing-closed-opening`,
44
+ sidebarBlockFullScreenContentContainer: `${u}sidebar-block__full-screen-content-container`,
45
+ sidebarBlockInModal: `${u}sidebar-block-in-modal`
46
+ }, M = 32, _ = 12, r = {
47
+ mainWidthVar: "--main-width",
48
+ separatorWidthVar: "--separator-width",
49
+ sidebarWidthVar: "--sidebar-width",
50
+ sidebarWidthInPxVar: "--sidebar-width-in-px",
51
+ gapBetweenBlocksDefaultWidth: M,
52
+ separatorButtonDefaultWidth: _,
53
+ separatorDefaultWidth: M + _,
54
+ // SIZES DEFAULT
55
+ sidebarWidths: {
56
+ minWidthPx: 600,
57
+ adaptive1280MinWidthPx: 440,
58
+ maxWidthPercent: 70,
59
+ defaultWidthPercent: 30
60
+ }
61
+ }, j = (e, t) => e / 100 * t, at = (e, t) => e / t * 100, st = ({
62
+ setSizes: e,
63
+ isResizingRef: t,
64
+ containerRef: i,
65
+ sidebarMinWidthPx: o,
66
+ sidebarMaxWidthPercent: a,
67
+ onResize: d
68
+ }) => {
69
+ const c = T(() => {
70
+ var s;
71
+ document.body.style.cursor = "col-resize", t.current = !0, (s = i.current) == null || s.classList.toggle(n.sidebarBlockIsResizing, !0);
72
+ }, [i, t]);
73
+ return $(() => {
74
+ const s = () => {
75
+ var l;
76
+ document.body.style.cursor = "auto", t.current = !1, (l = i.current) == null || l.classList.toggle(n.sidebarBlockIsResizing, !1);
77
+ }, w = G((l) => {
78
+ if (!t.current || !i.current)
79
+ return;
80
+ l.preventDefault();
81
+ const g = l.clientX, m = i.current.getBoundingClientRect(), p = m.width - r.separatorDefaultWidth, b = (m.right - g - r.separatorButtonDefaultWidth / 2) / p * 100, v = at(o, p), x = V(v, b, a), f = 100 - x, k = x * p / 100, B = f * p / 100, P = {
82
+ main: f,
83
+ mainPx: B,
84
+ sidebar: x,
85
+ sidebarPx: k
86
+ };
87
+ e(P), d == null || d(P);
88
+ }, 150);
89
+ return window.addEventListener("mousemove", w), window.addEventListener("mouseup", s), () => {
90
+ window.removeEventListener("mousemove", w), window.removeEventListener("mouseup", s);
91
+ };
92
+ }, [i, t, d, e, a, o]), {
93
+ startResizing: c
94
+ };
95
+ }, dt = ({
96
+ setSizes: e,
97
+ containerRef: t,
98
+ sidebarMinWidthPx: i,
99
+ sidebarMaxWidthPercent: o,
100
+ onResize: a
101
+ }) => {
102
+ $(() => {
103
+ const c = J((h) => {
104
+ const l = h.contentRect.width - r.separatorDefaultWidth;
105
+ e((g) => {
106
+ const m = j(g.sidebar, l), C = j(o, l), p = V(i, m, C), b = {
107
+ ...g,
108
+ sidebarPx: p
109
+ };
110
+ return a == null || a(b), b;
111
+ });
112
+ }, 1e3), s = new ResizeObserver((h) => {
113
+ h.forEach(c);
114
+ });
115
+ return t.current && s.observe(t.current), () => {
116
+ s.disconnect();
117
+ };
118
+ }, [t, e, o, i]);
119
+ }, S = {
120
+ spaceX4: () => E.x4,
121
+ spaceX16: () => E.x16
122
+ }, ct = (e, t, i, o = r.sidebarWidths.minWidthPx) => {
123
+ const a = t ? {
124
+ ...e,
125
+ main: 100,
126
+ separator: `${i ?? 0}px`,
127
+ sidebar: 0
128
+ } : {
129
+ ...e,
130
+ separator: `${r.separatorDefaultWidth}px`
131
+ }, {
132
+ main: d,
133
+ sidebar: c,
134
+ sidebarPx: s,
135
+ separator: h
136
+ } = a;
137
+ return {
138
+ [r.mainWidthVar]: `${d}fr`,
139
+ [r.sidebarWidthVar]: c === 0 ? "minmax(0px, 0fr)" : `minmax(${o}px, ${c}fr)`,
140
+ [r.separatorWidthVar]: h,
141
+ ...s !== void 0 && {
142
+ [r.sidebarWidthInPxVar]: `${s}px`
143
+ }
144
+ };
145
+ }, lt = `
146
+ border-top-right-radius: ${S.spaceX4};
147
+ border-bottom-right-radius: ${S.spaceX4};
148
+ `, pt = rt.div.attrs({
149
+ className: n.container
150
+ }).withConfig({
151
+ displayName: "SplitViewstyled__StyledDiv"
152
+ })(["*{box-sizing:border-box;}display:grid;position:relative;z-index:0;grid-template-columns:var(", ") var(", ") var(", ");transition:grid-template-columns 0.2s ease-in-out,margin-right 0.2s ease-in-out;flex-grow:1;& .", "{overflow-x:hidden;}& .", ",& .", "{--split-view-header-height:", ";--split-view-bottom-gap:var(--page-layout-padding-bottom,32px);", " position:sticky;top:var(--split-view-header-height);height:calc( 100vh - var(--split-view-header-height) - var(--split-view-bottom-gap) );overflow-x:hidden;}& .", "{align-self:start;z-index:1;& .", "{margin-left:", "px;position:relative;border:none;padding:0;width:", "px;height:100%;background-color:", ";border-radius:", " 0 0 ", ";&::before{content:'';position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:4px;height:", ";border-radius:95px;background-color:", ";}&:hover{&::before{background-color:", ";}}cursor:col-resize;text-indent:100%;white-space:nowrap;overflow:hidden;}}&.", "{& .", ":before{background-color:", ";}}.", "{z-index:0;align-self:start;background-color:", ";box-shadow:", ";", ";}.", " > *{width:var(", ");}", " ", ""], r.mainWidthVar, r.separatorWidthVar, r.sidebarWidthVar, n.mainBlock, n.separator, n.sidebarBlock, ({
153
+ $headerHeight: e
154
+ }) => e !== void 0 ? `${e}px` : "var(--global-header-height, 72px)", y.down("l")`
155
+ --split-view-bottom-gap: var(--page-layout-padding-bottom, 24px);
156
+ `, n.separator, n.separatorButton, r.gapBetweenBlocksDefaultWidth, r.separatorDefaultWidth - r.gapBetweenBlocksDefaultWidth, () => R, S.spaceX4, S.spaceX4, S.spaceX16, () => tt, () => N, n.sidebarBlockIsResizing, n.separatorButton, () => N, n.sidebarBlock, () => et, () => it, y.up("xl")(lt), n.sidebarIsClosingOrClosedOrOpening, r.sidebarWidthInPxVar, ({
157
+ $insidePageLayout: e,
158
+ $sidebarIsClosed: t
159
+ }) => e && (t ? "margin-right: 0;" : `
160
+ margin-right: calc(-1 * var(--page-layout-padding-inline, 32px));
161
+
162
+ ${y.down("l")`
163
+ margin-right: calc(-1 * var(--page-layout-padding-inline, 24px));
164
+ `}
165
+ `), ({
166
+ $css: e
167
+ }) => e), ut = (e) => ({
168
+ avatarSize: e ? "m" : "l"
169
+ }), ht = (e, t) => t ?? (e ? r.sidebarWidths.adaptive1280MinWidthPx : r.sidebarWidths.minWidthPx), mt = (e, t) => typeof e == "function" ? e(t) : e, Ct = ({
170
+ mainContent: e,
171
+ sidebar: t,
172
+ //
173
+ style: i,
174
+ refContainer: o,
175
+ $css: a,
176
+ onTransitionEnd: d,
177
+ onResize: c,
178
+ headerHeight: s,
179
+ insidePageLayout: h = !1,
180
+ disableMediaAdaptive: w = !1,
181
+ ...l
182
+ }) => {
183
+ const g = L(!1), m = L(null), {
184
+ down: C
185
+ } = K(), p = !w && C("xl"), {
186
+ minWidthPx: b,
187
+ maxWidthPercent: v = r.sidebarWidths.maxWidthPercent,
188
+ defaultWidthPercent: D = r.sidebarWidths.defaultWidthPercent
189
+ } = t ?? {}, x = t == null ? void 0 : t.content, f = ht(p, b), k = X(() => ut(p), [p]), B = X(() => mt(x, k), [x, k]), [P, z] = F(() => {
190
+ const I = V(0, D, Math.min(v, 100));
191
+ return {
192
+ main: 100 - I,
193
+ sidebar: I
194
+ };
195
+ }), O = !(t != null && t.isOpened), {
196
+ startResizing: U
197
+ } = st({
198
+ setSizes: z,
199
+ containerRef: m,
200
+ isResizingRef: g,
201
+ sidebarMaxWidthPercent: v,
202
+ sidebarMinWidthPx: f,
203
+ onResize: c
204
+ });
205
+ dt({
206
+ setSizes: z,
207
+ containerRef: m,
208
+ sidebarMaxWidthPercent: v,
209
+ sidebarMinWidthPx: f,
210
+ onResize: c
211
+ });
212
+ const {
213
+ isClosingOrClosedOrOpening: q,
214
+ onTransitionEnd: A
215
+ } = ot({
216
+ sidebarIsClosed: O,
217
+ isResizingRef: g,
218
+ onTransitionEndExt: d
219
+ });
220
+ return /* @__PURE__ */ H(pt, { ref: Y(m, o), style: {
221
+ ...ct(P, O, t == null ? void 0 : t.paddingLeftOnClosed, f),
222
+ ...i
223
+ }, $css: a, $headerHeight: s, $insidePageLayout: h, $sidebarIsClosed: O, onTransitionEnd: A, ...l, children: [
224
+ /* @__PURE__ */ W("div", { className: n.mainBlock, children: e }),
225
+ /* @__PURE__ */ W("div", { className: n.separator, children: /* @__PURE__ */ W("button", { className: n.separatorButton, type: "button", onMouseDown: U, children: "Разделитель" }) }),
226
+ /* @__PURE__ */ W("div", { className: Q(n.sidebarBlock, q && n.sidebarIsClosingOrClosedOrOpening, (t == null ? void 0 : t.isFullScreened) && n.sidebarBlockInModal), children: /* @__PURE__ */ W(nt, { isFullScreened: t == null ? void 0 : t.isFullScreened, fullScreenedModalDFProps: t == null ? void 0 : t.fullScreenedModalDFProps, children: B }) })
227
+ ] });
228
+ };
229
+ export {
230
+ Ct as S,
231
+ r as a,
232
+ ut as b,
233
+ ht as g,
234
+ mt as r,
235
+ n as s
236
+ };
@@ -0,0 +1,12 @@
1
+ "use strict";const W=require("react/jsx-runtime"),u=require("./utils-DKi1rqLX.cjs"),l=require("react"),H=require("../components/ModalDF/index.cjs"),L=require("../constants/index.cjs"),S=require("@salutejs/sdds-themes/tokens/sdds_finai"),U=require("styled-components"),A=({children:e,isFullScreened:t,fullScreenedModalDFProps:i})=>{if(!t)return e;const s=typeof(i==null?void 0:i.fullScreen)=="object"?i.fullScreen:void 0;return W.jsx(H.ModalDF,{opened:!0,closeOnOverlayClick:!1,...i,fullScreen:{...s,defaultEnabled:!0},children:e})},G=({sidebarIsClosed:e,isResizingRef:t,onTransitionEndExt:i})=>{const[s,o]=l.useState(()=>e);l.useEffect(()=>{e&&o(!0)},[e]);const d=l.useCallback(c=>{i&&i(c),!e&&!t.current&&s&&o(!1)},[s,t,i,e]);return{isClosingOrClosedOrOpening:s,onTransitionEnd:d}},m="SplitView__",r={container:`${m}container`,separator:`${m}separator`,separatorButton:`${m}separator-button`,mainBlock:`${m}main-block`,sidebarBlock:`${m}sidebar-block`,sidebarBlockIsResizing:`${m}sidebar-block-is-resizing`,sidebarIsClosingOrClosedOrOpening:`${m}sidebar-is-closing-closed-opening`,sidebarBlockFullScreenContentContainer:`${m}sidebar-block__full-screen-content-container`,sidebarBlockInModal:`${m}sidebar-block-in-modal`},j=32,E=12,n={mainWidthVar:"--main-width",separatorWidthVar:"--separator-width",sidebarWidthVar:"--sidebar-width",sidebarWidthInPxVar:"--sidebar-width-in-px",gapBetweenBlocksDefaultWidth:j,separatorButtonDefaultWidth:E,separatorDefaultWidth:j+E,sidebarWidths:{minWidthPx:600,adaptive1280MinWidthPx:440,maxWidthPercent:70,defaultWidthPercent:30}},M=(e,t)=>e/100*t,J=(e,t)=>e/t*100,K=({setSizes:e,isResizingRef:t,containerRef:i,sidebarMinWidthPx:s,sidebarMaxWidthPercent:o,onResize:d})=>{const c=l.useCallback(()=>{var a;document.body.style.cursor="col-resize",t.current=!0,(a=i.current)==null||a.classList.toggle(r.sidebarBlockIsResizing,!0)},[i,t]);return l.useEffect(()=>{const a=()=>{var p;document.body.style.cursor="auto",t.current=!1,(p=i.current)==null||p.classList.toggle(r.sidebarBlockIsResizing,!1)},g=p=>{if(!t.current||!i.current)return;p.preventDefault();const x=p.clientX,b=i.current.getBoundingClientRect(),h=b.width-n.separatorDefaultWidth,f=(b.right-x-n.separatorButtonDefaultWidth/2)/h*100,k=J(s,h),y=o,w=u.clamp(k,f,y),v=100-w,B=w*h/100,$=v*h/100,O={main:v,mainPx:$,sidebar:w,sidebarPx:B};e(O),d==null||d(O)},C=u.throttleWithLastCall(g,150);return window.addEventListener("mousemove",C),window.addEventListener("mouseup",a),()=>{window.removeEventListener("mousemove",C),window.removeEventListener("mouseup",a)}},[i,t,d,e,o,s]),{startResizing:c}},Q=({setSizes:e,containerRef:t,sidebarMinWidthPx:i,sidebarMaxWidthPercent:s,onResize:o})=>{l.useEffect(()=>{const d=g=>{const p=g.contentRect.width-n.separatorDefaultWidth;e(x=>{const b=M(x.sidebar,p),V=M(s,p),h=u.clamp(i,b,V),f={...x,sidebarPx:h};return o==null||o(f),f})},c=u.debounce(d,1e3),a=new ResizeObserver(g=>{g.forEach(c)});return t.current&&a.observe(t.current),()=>{a.disconnect()}},[t,e,s,i])},P={spaceX4:()=>L.s.x4,spaceX16:()=>L.s.x16},Y=(e,t,i,s=n.sidebarWidths.minWidthPx)=>{const o=t?{...e,main:100,separator:`${i??0}px`,sidebar:0}:{...e,separator:`${n.separatorDefaultWidth}px`},{main:d,sidebar:c,sidebarPx:a,separator:g}=o;return{[n.mainWidthVar]:`${d}fr`,[n.sidebarWidthVar]:c===0?"minmax(0px, 0fr)":`minmax(${s}px, ${c}fr)`,[n.separatorWidthVar]:g,...a!==void 0&&{[n.sidebarWidthInPxVar]:`${a}px`}}},Z=`
2
+ border-top-right-radius: ${P.spaceX4};
3
+ border-bottom-right-radius: ${P.spaceX4};
4
+ `,R=U.div.attrs({className:r.container}).withConfig({displayName:"SplitViewstyled__StyledDiv"})(["*{box-sizing:border-box;}display:grid;position:relative;z-index:0;grid-template-columns:var(",") var(",") var(",");transition:grid-template-columns 0.2s ease-in-out,margin-right 0.2s ease-in-out;flex-grow:1;& .","{overflow-x:hidden;}& .",",& .","{--split-view-header-height:",";--split-view-bottom-gap:var(--page-layout-padding-bottom,32px);"," position:sticky;top:var(--split-view-header-height);height:calc( 100vh - var(--split-view-header-height) - var(--split-view-bottom-gap) );overflow-x:hidden;}& .","{align-self:start;z-index:1;& .","{margin-left:","px;position:relative;border:none;padding:0;width:","px;height:100%;background-color:",";border-radius:"," 0 0 ",";&::before{content:'';position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:4px;height:",";border-radius:95px;background-color:",";}&:hover{&::before{background-color:",";}}cursor:col-resize;text-indent:100%;white-space:nowrap;overflow:hidden;}}&.","{& .",":before{background-color:",";}}.","{z-index:0;align-self:start;background-color:",";box-shadow:",";",";}."," > *{width:var(",");}"," ",""],n.mainWidthVar,n.separatorWidthVar,n.sidebarWidthVar,r.mainBlock,r.separator,r.sidebarBlock,({$headerHeight:e})=>e!==void 0?`${e}px`:"var(--global-header-height, 72px)",u.media.down("l")`
5
+ --split-view-bottom-gap: var(--page-layout-padding-bottom, 24px);
6
+ `,r.separator,r.separatorButton,n.gapBetweenBlocksDefaultWidth,n.separatorDefaultWidth-n.gapBetweenBlocksDefaultWidth,()=>S.surfaceSolidSecondary,P.spaceX4,P.spaceX4,P.spaceX16,()=>S.outlineSolidSecondary,()=>S.outlineSolidSecondaryHover,r.sidebarBlockIsResizing,r.separatorButton,()=>S.outlineSolidSecondaryHover,r.sidebarBlock,()=>S.surfaceSolidCard,()=>S.shadowDownSoftS,u.media.up("xl")(Z),r.sidebarIsClosingOrClosedOrOpening,n.sidebarWidthInPxVar,({$insidePageLayout:e,$sidebarIsClosed:t})=>e&&(t?"margin-right: 0;":`
7
+ margin-right: calc(-1 * var(--page-layout-padding-inline, 32px));
8
+
9
+ ${u.media.down("l")`
10
+ margin-right: calc(-1 * var(--page-layout-padding-inline, 24px));
11
+ `}
12
+ `),({$css:e})=>e),X=e=>({avatarSize:e?"m":"l"}),N=(e,t)=>t??(e?n.sidebarWidths.adaptive1280MinWidthPx:n.sidebarWidths.minWidthPx),q=(e,t)=>typeof e=="function"?e(t):e,tt=({mainContent:e,sidebar:t,style:i,refContainer:s,$css:o,onTransitionEnd:d,onResize:c,headerHeight:a,insidePageLayout:g=!1,disableMediaAdaptive:C=!1,...p})=>{const x=l.useRef(!1),b=l.useRef(null),{down:V}=u.useBreakpoint(),h=!C&&V("xl"),{minWidthPx:f,maxWidthPercent:k=n.sidebarWidths.maxWidthPercent,defaultWidthPercent:y=n.sidebarWidths.defaultWidthPercent}=t??{},w=t==null?void 0:t.content,v=N(h,f),B=l.useMemo(()=>X(h),[h]),$=l.useMemo(()=>q(w,B),[w,B]),[O,z]=l.useState(()=>{const I=u.clamp(0,y,Math.min(k,100));return{main:100-I,sidebar:I}}),D=!(t!=null&&t.isOpened),{startResizing:_}=K({setSizes:z,containerRef:b,isResizingRef:x,sidebarMaxWidthPercent:k,sidebarMinWidthPx:v,onResize:c});Q({setSizes:z,containerRef:b,sidebarMaxWidthPercent:k,sidebarMinWidthPx:v,onResize:c});const{isClosingOrClosedOrOpening:F,onTransitionEnd:T}=G({sidebarIsClosed:D,isResizingRef:x,onTransitionEndExt:d});return W.jsxs(R,{ref:u.mergeRefs(b,s),style:{...Y(O,D,t==null?void 0:t.paddingLeftOnClosed,v),...i},$css:o,$headerHeight:a,$insidePageLayout:g,$sidebarIsClosed:D,onTransitionEnd:T,...p,children:[W.jsx("div",{className:r.mainBlock,children:e}),W.jsx("div",{className:r.separator,children:W.jsx("button",{className:r.separatorButton,type:"button",onMouseDown:_,children:"Разделитель"})}),W.jsx("div",{className:u.mCls(r.sidebarBlock,F&&r.sidebarIsClosingOrClosedOrOpening,(t==null?void 0:t.isFullScreened)&&r.sidebarBlockInModal),children:W.jsx(A,{isFullScreened:t==null?void 0:t.isFullScreened,fullScreenedModalDFProps:t==null?void 0:t.fullScreenedModalDFProps,children:$})})]})};exports.SplitView=tt;exports.getSplitViewSidebarMinWidthPx=N;exports.getSplitViewSlotSizes=X;exports.renderSplitViewContent=q;exports.splitViewClassNames=r;exports.splitViewConstants=n;