@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
@@ -1 +0,0 @@
1
- "use strict";const f=require("@salutejs/sdds-finai"),i=require("./vendor-D8Dozc4m.cjs"),p=require("./AnalyticalWidget-xgvWcsXx.cjs"),B=require("@salutejs/plasma-icons"),R=require("@salutejs/sdds-themes/tokens/sdds_finai"),g=require("./utils-C93a2mD7.cjs"),_=require("react"),a=require("../constants/index.cjs"),l=require("styled-components"),n="PageTitle__",s={root:`${n}root`,breadcrumbs:`${n}breadcrumbs`,content:`${n}content`,leftBlock:`${n}left-block`,titleBlock:`${n}title-block`,title:`${n}title`,subtitle:`${n}subtitle`,titleSlot:`${n}title-slot`,rightBlock:`${n}right-block`,backIconButton:`${n}back-icon-block`},C=l.div.attrs({className:s.root}).withConfig({displayName:"PageTitlestyled__StyledRoot"})(["width:100%;display:flex;flex-direction:column;gap:",";"],()=>a.s.x8),V=l.div.attrs({className:s.breadcrumbs}).withConfig({displayName:"PageTitlestyled__StyledBreadcrumbs"})([""]),$=l.div.attrs({className:s.content}).withConfig({displayName:"PageTitlestyled__StyledContent"})(["display:flex;justify-content:space-between;align-items:flex-start;gap:",";"],()=>a.s.x12),q=l.div.attrs({className:s.leftBlock}).withConfig({displayName:"PageTitlestyled__StyledLeftBlock"})(["display:flex;align-items:flex-start;gap:",";flex:1;min-width:0;"],()=>a.s.x8),z=l.div.attrs({className:s.titleBlock}).withConfig({displayName:"PageTitlestyled__StyledTitleBlock"})(["display:flex;flex-direction:column;gap:",";flex-shrink:1;min-width:0;"],()=>a.s.x2),I=l.div.attrs({className:s.backIconButton}).withConfig({displayName:"PageTitlestyled__StyledBackButtonContainer"})(["margin-top:",";"],({$isAdaptive1280:e})=>e?"1px":"6px"),A=l.div.attrs({className:s.title}).withConfig({displayName:"PageTitlestyled__StyledTitle"})([""]),L=l.div.attrs({className:s.subtitle}).withConfig({displayName:"PageTitlestyled__StyledSubtitle"})([""]),W=l.div.attrs({className:s.titleSlot}).withConfig({displayName:"PageTitlestyled__StyledTitleSlot"})(["margin-top:3px;"]),H=l.div.attrs({className:s.rightBlock}).withConfig({displayName:"PageTitlestyled__StyledRightBlock"})(["display:flex;align-items:flex-end;flex-shrink:0;align-self:flex-end;"]),k=e=>({buttonSize:e?"xs":"s"}),o=(e,t)=>typeof e=="function"?e(t):e,F=({isAdaptive1280:e,...t})=>i.jsxDevRuntimeExports.jsxDEV(I,{$isAdaptive1280:e,children:i.jsxDevRuntimeExports.jsxDEV(f.IconButton,{size:"xs",view:"secondary",className:s.backIconButton,pin:"circle-circle",...t,children:i.jsxDevRuntimeExports.jsxDEV(B.IconChevronLeft,{size:"xs",color:"inherit"},void 0,!1,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",lineNumber:47,columnNumber:7},void 0)},void 0,!1,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",lineNumber:40,columnNumber:5},void 0)},void 0,!1,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",lineNumber:39,columnNumber:1},void 0),G=({breadcrumbs:e})=>{if(!e)return null;const t={size:"m",...e};return i.jsxDevRuntimeExports.jsxDEV(V,{children:i.jsxDevRuntimeExports.jsxDEV(f.Breadcrumbs,{...t},void 0,!1,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",lineNumber:66,columnNumber:7},void 0)},void 0,!1,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",lineNumber:65,columnNumber:5},void 0)},J=({title:e,titleTypographyProps:t})=>e?i.jsxDevRuntimeExports.jsxDEV(A,{children:i.jsxDevRuntimeExports.jsxDEV(p.TypographyWithAutoTooltip,{variant:"H2",bold:!0,tooltipText:(t&&"tooltipText"in t?t.tooltipText:void 0)??e,...t,children:e},void 0,!1,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",lineNumber:82,columnNumber:7},void 0)},void 0,!1,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",lineNumber:81,columnNumber:5},void 0):null,K=({subtitle:e,subtitleTypographyProps:t})=>e?i.jsxDevRuntimeExports.jsxDEV(L,{children:i.jsxDevRuntimeExports.jsxDEV(p.TypographyWithAutoTooltip,{variant:"BodyS",color:R.textSecondary,tooltipText:(t&&"tooltipText"in t?t.tooltipText:void 0)??e,...t,children:e},void 0,!1,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",lineNumber:109,columnNumber:7},void 0)},void 0,!1,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",lineNumber:108,columnNumber:5},void 0):null,N=_.forwardRef(({title:e,titleTypographyProps:t,subtitle:r,subtitleTypographyProps:T,titleSlot:b,rightSlot:v,disableMediaAdaptive:P=!1,breadcrumbs:u,$css:h,className:y,showBackButton:j,onBackClick:E,...S},D)=>{const{down:w}=g.useBreakpoint(),d=!P&&w("xl"),c=k(d),m=o(b,c),x=o(v,c);return i.jsxDevRuntimeExports.jsxDEV(C,{ref:D,$css:h,className:g.mCls(s.root,y),...S,children:[u&&i.jsxDevRuntimeExports.jsxDEV(G,{breadcrumbs:u},void 0,!1,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",lineNumber:171,columnNumber:25},void 0),i.jsxDevRuntimeExports.jsxDEV($,{children:[i.jsxDevRuntimeExports.jsxDEV(q,{children:[j&&i.jsxDevRuntimeExports.jsxDEV(F,{isAdaptive1280:d,onClick:E},void 0,!1,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",lineNumber:176,columnNumber:13},void 0),(e||r)&&i.jsxDevRuntimeExports.jsxDEV(z,{children:[i.jsxDevRuntimeExports.jsxDEV(J,{title:e,titleTypographyProps:t},void 0,!1,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",lineNumber:183,columnNumber:17},void 0),i.jsxDevRuntimeExports.jsxDEV(K,{subtitle:r,subtitleTypographyProps:T},void 0,!1,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",lineNumber:187,columnNumber:17},void 0)]},void 0,!0,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",lineNumber:182,columnNumber:13},void 0),m&&i.jsxDevRuntimeExports.jsxDEV(W,{children:m},void 0,!1,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",lineNumber:194,columnNumber:13},void 0)]},void 0,!0,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",lineNumber:174,columnNumber:11},void 0),x&&i.jsxDevRuntimeExports.jsxDEV(H,{children:x},void 0,!1,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",lineNumber:199,columnNumber:11},void 0)]},void 0,!0,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",lineNumber:173,columnNumber:9},void 0)]},void 0,!0,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",lineNumber:165,columnNumber:7},void 0)});N.displayName="PageTitle";exports.PageTitle=N;exports.getPageTitleSlotSizes=k;exports.pageTitleClassNames=s;exports.renderPageTitleSlot=o;
@@ -1,282 +0,0 @@
1
- import { Breadcrumbs as S, IconButton as B } from "@salutejs/sdds-finai";
2
- import { j as i } from "./vendor-BG4P-329.mjs";
3
- import { a as g } from "./AnalyticalWidget-Ca_EuSTO.mjs";
4
- import { IconChevronLeft as j } from "@salutejs/plasma-icons";
5
- import { textSecondary as _ } from "@salutejs/sdds-themes/tokens/sdds_finai";
6
- import { d as E, s as D } from "./utils-BNelzuI-.mjs";
7
- import { forwardRef as V } from "react";
8
- import { s } from "../constants/index.mjs";
9
- import a from "styled-components";
10
- const n = "PageTitle__", l = {
11
- root: `${n}root`,
12
- breadcrumbs: `${n}breadcrumbs`,
13
- content: `${n}content`,
14
- leftBlock: `${n}left-block`,
15
- titleBlock: `${n}title-block`,
16
- title: `${n}title`,
17
- subtitle: `${n}subtitle`,
18
- titleSlot: `${n}title-slot`,
19
- rightBlock: `${n}right-block`,
20
- backIconButton: `${n}back-icon-block`
21
- }, C = a.div.attrs({
22
- className: l.root
23
- }).withConfig({
24
- displayName: "PageTitlestyled__StyledRoot"
25
- })(["width:100%;display:flex;flex-direction:column;gap:", ";"], () => s.x8), $ = a.div.attrs({
26
- className: l.breadcrumbs
27
- }).withConfig({
28
- displayName: "PageTitlestyled__StyledBreadcrumbs"
29
- })([""]), R = a.div.attrs({
30
- className: l.content
31
- }).withConfig({
32
- displayName: "PageTitlestyled__StyledContent"
33
- })(["display:flex;justify-content:space-between;align-items:flex-start;gap:", ";"], () => s.x12), z = a.div.attrs({
34
- className: l.leftBlock
35
- }).withConfig({
36
- displayName: "PageTitlestyled__StyledLeftBlock"
37
- })(["display:flex;align-items:flex-start;gap:", ";flex:1;min-width:0;"], () => s.x8), I = a.div.attrs({
38
- className: l.titleBlock
39
- }).withConfig({
40
- displayName: "PageTitlestyled__StyledTitleBlock"
41
- })(["display:flex;flex-direction:column;gap:", ";flex-shrink:1;min-width:0;"], () => s.x2), A = a.div.attrs({
42
- className: l.backIconButton
43
- }).withConfig({
44
- displayName: "PageTitlestyled__StyledBackButtonContainer"
45
- })(["margin-top:", ";"], ({
46
- $isAdaptive1280: e
47
- }) => e ? "1px" : "6px"), L = a.div.attrs({
48
- className: l.title
49
- }).withConfig({
50
- displayName: "PageTitlestyled__StyledTitle"
51
- })([""]), H = a.div.attrs({
52
- className: l.subtitle
53
- }).withConfig({
54
- displayName: "PageTitlestyled__StyledSubtitle"
55
- })([""]), W = a.div.attrs({
56
- className: l.titleSlot
57
- }).withConfig({
58
- displayName: "PageTitlestyled__StyledTitleSlot"
59
- })(["margin-top:3px;"]), q = a.div.attrs({
60
- className: l.rightBlock
61
- }).withConfig({
62
- displayName: "PageTitlestyled__StyledRightBlock"
63
- })(["display:flex;align-items:flex-end;flex-shrink:0;align-self:flex-end;"]), F = (e) => ({
64
- buttonSize: e ? "xs" : "s"
65
- }), f = (e, t) => typeof e == "function" ? e(t) : e, G = ({
66
- isAdaptive1280: e,
67
- ...t
68
- }) => /* @__PURE__ */ i.jsxDEV(A, { $isAdaptive1280: e, children: /* @__PURE__ */ i.jsxDEV(
69
- B,
70
- {
71
- size: "xs",
72
- view: "secondary",
73
- className: l.backIconButton,
74
- pin: "circle-circle",
75
- ...t,
76
- children: /* @__PURE__ */ i.jsxDEV(j, { size: "xs", color: "inherit" }, void 0, !1, {
77
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",
78
- lineNumber: 47,
79
- columnNumber: 7
80
- }, void 0)
81
- },
82
- void 0,
83
- !1,
84
- {
85
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",
86
- lineNumber: 40,
87
- columnNumber: 5
88
- },
89
- void 0
90
- ) }, void 0, !1, {
91
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",
92
- lineNumber: 39,
93
- columnNumber: 1
94
- }, void 0), J = ({
95
- breadcrumbs: e
96
- }) => {
97
- if (!e)
98
- return null;
99
- const t = {
100
- size: "m",
101
- ...e
102
- };
103
- return /* @__PURE__ */ i.jsxDEV($, { children: /* @__PURE__ */ i.jsxDEV(S, { ...t }, void 0, !1, {
104
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",
105
- lineNumber: 66,
106
- columnNumber: 7
107
- }, void 0) }, void 0, !1, {
108
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",
109
- lineNumber: 65,
110
- columnNumber: 5
111
- }, void 0);
112
- }, K = ({
113
- title: e,
114
- titleTypographyProps: t
115
- }) => e ? /* @__PURE__ */ i.jsxDEV(L, { children: /* @__PURE__ */ i.jsxDEV(
116
- g,
117
- {
118
- variant: "H2",
119
- bold: !0,
120
- tooltipText: (t && "tooltipText" in t ? t.tooltipText : void 0) ?? e,
121
- ...t,
122
- children: e
123
- },
124
- void 0,
125
- !1,
126
- {
127
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",
128
- lineNumber: 82,
129
- columnNumber: 7
130
- },
131
- void 0
132
- ) }, void 0, !1, {
133
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",
134
- lineNumber: 81,
135
- columnNumber: 5
136
- }, void 0) : null, M = ({
137
- subtitle: e,
138
- subtitleTypographyProps: t
139
- }) => e ? /* @__PURE__ */ i.jsxDEV(H, { children: /* @__PURE__ */ i.jsxDEV(
140
- g,
141
- {
142
- variant: "BodyS",
143
- color: _,
144
- tooltipText: (t && "tooltipText" in t ? t.tooltipText : void 0) ?? e,
145
- ...t,
146
- children: e
147
- },
148
- void 0,
149
- !1,
150
- {
151
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",
152
- lineNumber: 109,
153
- columnNumber: 7
154
- },
155
- void 0
156
- ) }, void 0, !1, {
157
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",
158
- lineNumber: 108,
159
- columnNumber: 5
160
- }, void 0) : null, O = V(
161
- ({
162
- title: e,
163
- titleTypographyProps: t,
164
- subtitle: o,
165
- subtitleTypographyProps: k,
166
- titleSlot: N,
167
- rightSlot: p,
168
- disableMediaAdaptive: x = !1,
169
- breadcrumbs: r,
170
- $css: T,
171
- className: b,
172
- showBackButton: P,
173
- onBackClick: h,
174
- ...y
175
- }, v) => {
176
- const { down: w } = E(), d = !x && w("xl"), u = F(d), c = f(N, u), m = f(p, u);
177
- return /* @__PURE__ */ i.jsxDEV(
178
- C,
179
- {
180
- ref: v,
181
- $css: T,
182
- className: D(l.root, b),
183
- ...y,
184
- children: [
185
- r && /* @__PURE__ */ i.jsxDEV(J, { breadcrumbs: r }, void 0, !1, {
186
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",
187
- lineNumber: 171,
188
- columnNumber: 25
189
- }, void 0),
190
- /* @__PURE__ */ i.jsxDEV(R, { children: [
191
- /* @__PURE__ */ i.jsxDEV(z, { children: [
192
- P && /* @__PURE__ */ i.jsxDEV(
193
- G,
194
- {
195
- isAdaptive1280: d,
196
- onClick: h
197
- },
198
- void 0,
199
- !1,
200
- {
201
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",
202
- lineNumber: 176,
203
- columnNumber: 13
204
- },
205
- void 0
206
- ),
207
- (e || o) && /* @__PURE__ */ i.jsxDEV(I, { children: [
208
- /* @__PURE__ */ i.jsxDEV(
209
- K,
210
- {
211
- title: e,
212
- titleTypographyProps: t
213
- },
214
- void 0,
215
- !1,
216
- {
217
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",
218
- lineNumber: 183,
219
- columnNumber: 17
220
- },
221
- void 0
222
- ),
223
- /* @__PURE__ */ i.jsxDEV(
224
- M,
225
- {
226
- subtitle: o,
227
- subtitleTypographyProps: k
228
- },
229
- void 0,
230
- !1,
231
- {
232
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",
233
- lineNumber: 187,
234
- columnNumber: 17
235
- },
236
- void 0
237
- )
238
- ] }, void 0, !0, {
239
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",
240
- lineNumber: 182,
241
- columnNumber: 13
242
- }, void 0),
243
- c && /* @__PURE__ */ i.jsxDEV(W, { children: c }, void 0, !1, {
244
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",
245
- lineNumber: 194,
246
- columnNumber: 13
247
- }, void 0)
248
- ] }, void 0, !0, {
249
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",
250
- lineNumber: 174,
251
- columnNumber: 11
252
- }, void 0),
253
- m && /* @__PURE__ */ i.jsxDEV(q, { children: m }, void 0, !1, {
254
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",
255
- lineNumber: 199,
256
- columnNumber: 11
257
- }, void 0)
258
- ] }, void 0, !0, {
259
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",
260
- lineNumber: 173,
261
- columnNumber: 9
262
- }, void 0)
263
- ]
264
- },
265
- void 0,
266
- !0,
267
- {
268
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",
269
- lineNumber: 165,
270
- columnNumber: 7
271
- },
272
- void 0
273
- );
274
- }
275
- );
276
- O.displayName = "PageTitle";
277
- export {
278
- O as P,
279
- F as g,
280
- l as p,
281
- f as r
282
- };
@@ -1,12 +0,0 @@
1
- "use strict";const w=require("./vendor-D8Dozc4m.cjs"),u=require("./utils-C93a2mD7.cjs"),c=require("react"),T=require("../components/ModalDF/index.cjs"),j=require("../constants/index.cjs"),S=require("@salutejs/sdds-themes/tokens/sdds_finai"),H=require("styled-components"),U=({children:t,isFullScreened:e,fullScreenedModalDFProps:i})=>{if(!e)return t;const r=typeof(i==null?void 0:i.fullScreen)=="object"?i.fullScreen:void 0;return w.jsxDevRuntimeExports.jsxDEV(T.ModalDF,{opened:!0,closeOnOverlayClick:!1,...i,fullScreen:{...r,defaultEnabled:!0},children:t},void 0,!1,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/SplitView/components/SplitViewFullscreenWrapper.tsx",lineNumber:23,columnNumber:5},void 0)},A=({sidebarIsClosed:t,isResizingRef:e,onTransitionEndExt:i})=>{const[r,o]=c.useState(()=>t);c.useEffect(()=>{t&&o(!0)},[t]);const d=c.useCallback(l=>{i&&i(l),!t&&!e.current&&r&&o(!1)},[r,e,i,t]);return{isClosingOrClosedOrOpening:r,onTransitionEnd:d}},g="SplitView__",s={container:`${g}container`,separator:`${g}separator`,separatorButton:`${g}separator-button`,mainBlock:`${g}main-block`,sidebarBlock:`${g}sidebar-block`,sidebarBlockIsResizing:`${g}sidebar-block-is-resizing`,sidebarIsClosingOrClosedOrOpening:`${g}sidebar-is-closing-closed-opening`,sidebarBlockFullScreenContentContainer:`${g}sidebar-block__full-screen-content-container`,sidebarBlockInModal:`${g}sidebar-block-in-modal`},z=32,I=12,n={mainWidthVar:"--main-width",separatorWidthVar:"--separator-width",sidebarWidthVar:"--sidebar-width",sidebarWidthInPxVar:"--sidebar-width-in-px",gapBetweenBlocksDefaultWidth:z,separatorButtonDefaultWidth:I,separatorDefaultWidth:z+I,sidebarWidths:{minWidthPx:600,adaptive1280MinWidthPx:440,maxWidthPercent:70,defaultWidthPercent:30}},L=(t,e)=>t/100*e,G=(t,e)=>t/e*100,J=({setSizes:t,isResizingRef:e,containerRef:i,sidebarMinWidthPx:r,sidebarMaxWidthPercent:o,onResize:d})=>{const l=c.useCallback(()=>{var a;document.body.style.cursor="col-resize",e.current=!0,(a=i.current)==null||a.classList.toggle(s.sidebarBlockIsResizing,!0)},[i,e]);return c.useEffect(()=>{const a=()=>{var p;document.body.style.cursor="auto",e.current=!1,(p=i.current)==null||p.classList.toggle(s.sidebarBlockIsResizing,!1)},h=p=>{if(!e.current||!i.current)return;p.preventDefault();const b=p.clientX,x=i.current.getBoundingClientRect(),m=x.width-n.separatorDefaultWidth,f=(x.right-b-n.separatorButtonDefaultWidth/2)/m*100,V=G(r,m),B=o,v=u.clamp(V,f,B),W=100-v,D=v*m/100,O=W*m/100,N={main:W,mainPx:O,sidebar:v,sidebarPx:D};t(N),d==null||d(N)},k=u.throttleWithLastCall(h,150);return window.addEventListener("mousemove",k),window.addEventListener("mouseup",a),()=>{window.removeEventListener("mousemove",k),window.removeEventListener("mouseup",a)}},[i,e,d,t,o,r]),{startResizing:l}},K=({setSizes:t,containerRef:e,sidebarMinWidthPx:i,sidebarMaxWidthPercent:r,onResize:o})=>{c.useEffect(()=>{const d=h=>{const p=h.contentRect.width-n.separatorDefaultWidth;t(b=>{const x=L(b.sidebar,p),P=L(r,p),m=u.clamp(i,x,P),f={...b,sidebarPx:m};return o==null||o(f),f})},l=u.debounce(d,1e3),a=new ResizeObserver(h=>{h.forEach(l)});return e.current&&a.observe(e.current),()=>{a.disconnect()}},[e,t,r,i])},C={spaceX4:()=>j.s.x4,spaceX16:()=>j.s.x16},Q=(t,e,i,r=n.sidebarWidths.minWidthPx)=>{const o=e?{...t,main:100,separator:`${i??0}px`,sidebar:0}:{...t,separator:`${n.separatorDefaultWidth}px`},{main:d,sidebar:l,sidebarPx:a,separator:h}=o;return{[n.mainWidthVar]:`${d}fr`,[n.sidebarWidthVar]:l===0?"minmax(0px, 0fr)":`minmax(${r}px, ${l}fr)`,[n.separatorWidthVar]:h,...a!==void 0&&{[n.sidebarWidthInPxVar]:`${a}px`}}},Y=`
2
- border-top-right-radius: ${C.spaceX4};
3
- border-bottom-right-radius: ${C.spaceX4};
4
- `,Z=H.div.attrs({className:s.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,s.mainBlock,s.separator,s.sidebarBlock,({$headerHeight:t})=>t!==void 0?`${t}px`:"var(--global-header-height, 72px)",u.media.down("l")`
5
- --split-view-bottom-gap: var(--page-layout-padding-bottom, 24px);
6
- `,s.separator,s.separatorButton,n.gapBetweenBlocksDefaultWidth,n.separatorDefaultWidth-n.gapBetweenBlocksDefaultWidth,()=>S.surfaceSolidSecondary,C.spaceX4,C.spaceX4,C.spaceX16,()=>S.outlineSolidSecondary,()=>S.outlineSolidSecondaryHover,s.sidebarBlockIsResizing,s.separatorButton,()=>S.outlineSolidSecondaryHover,s.sidebarBlock,()=>S.surfaceSolidCard,()=>S.shadowDownSoftS,u.media.up("xl")(Y),s.sidebarIsClosingOrClosedOrOpening,n.sidebarWidthInPxVar,({$insidePageLayout:t,$sidebarIsClosed:e})=>t&&(e?"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:t})=>t),M=t=>({avatarSize:t?"m":"l"}),X=(t,e)=>e??(t?n.sidebarWidths.adaptive1280MinWidthPx:n.sidebarWidths.minWidthPx),q=(t,e)=>typeof t=="function"?t(e):t,ee=({mainContent:t,sidebar:e,style:i,refContainer:r,$css:o,onTransitionEnd:d,onResize:l,headerHeight:a,insidePageLayout:h=!1,disableMediaAdaptive:k=!1,...p})=>{const b=c.useRef(!1),x=c.useRef(null),{down:P}=u.useBreakpoint(),m=!k&&P("xl"),{minWidthPx:f,maxWidthPercent:V=n.sidebarWidths.maxWidthPercent,defaultWidthPercent:B=n.sidebarWidths.defaultWidthPercent}=e??{},v=e==null?void 0:e.content,W=X(m,f),D=c.useMemo(()=>M(m),[m]),O=c.useMemo(()=>q(v,D),[v,D]),[N,E]=c.useState(()=>{const $=u.clamp(0,B,Math.min(V,100));return{main:100-$,sidebar:$}}),y=!(e!=null&&e.isOpened),{startResizing:_}=J({setSizes:E,containerRef:x,isResizingRef:b,sidebarMaxWidthPercent:V,sidebarMinWidthPx:W,onResize:l});K({setSizes:E,containerRef:x,sidebarMaxWidthPercent:V,sidebarMinWidthPx:W,onResize:l});const{isClosingOrClosedOrOpening:F,onTransitionEnd:R}=A({sidebarIsClosed:y,isResizingRef:b,onTransitionEndExt:d});return w.jsxDevRuntimeExports.jsxDEV(Z,{ref:u.mergeRefs(x,r),style:{...Q(N,y,e==null?void 0:e.paddingLeftOnClosed,W),...i},$css:o,$headerHeight:a,$insidePageLayout:h,$sidebarIsClosed:y,onTransitionEnd:R,...p,children:[w.jsxDevRuntimeExports.jsxDEV("div",{className:s.mainBlock,children:t},void 0,!1,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/SplitView/SplitView.tsx",lineNumber:113,columnNumber:7},void 0),w.jsxDevRuntimeExports.jsxDEV("div",{className:s.separator,children:w.jsxDevRuntimeExports.jsxDEV("button",{className:s.separatorButton,type:"button",onMouseDown:_,children:"Разделитель"},void 0,!1,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/SplitView/SplitView.tsx",lineNumber:116,columnNumber:9},void 0)},void 0,!1,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/SplitView/SplitView.tsx",lineNumber:115,columnNumber:7},void 0),w.jsxDevRuntimeExports.jsxDEV("div",{className:u.mCls(s.sidebarBlock,F&&s.sidebarIsClosingOrClosedOrOpening,(e==null?void 0:e.isFullScreened)&&s.sidebarBlockInModal),children:w.jsxDevRuntimeExports.jsxDEV(U,{isFullScreened:e==null?void 0:e.isFullScreened,fullScreenedModalDFProps:e==null?void 0:e.fullScreenedModalDFProps,children:O},void 0,!1,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/SplitView/SplitView.tsx",lineNumber:131,columnNumber:9},void 0)},void 0,!1,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/SplitView/SplitView.tsx",lineNumber:124,columnNumber:7},void 0)]},void 0,!0,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/SplitView/SplitView.tsx",lineNumber:95,columnNumber:5},void 0)};exports.SplitView=ee;exports.getSplitViewSidebarMinWidthPx=X;exports.getSplitViewSlotSizes=M;exports.renderSplitViewContent=q;exports.splitViewClassNames=s;exports.splitViewConstants=n;
@@ -1,339 +0,0 @@
1
- import { j as b } from "./vendor-BG4P-329.mjs";
2
- import { t as H, e as O, w as G, b as N, d as J, s as K, q as Q } from "./utils-BNelzuI-.mjs";
3
- import { useState as F, useEffect as y, useCallback as T, useRef as z, useMemo as I } from "react";
4
- import { ModalDF as Y } from "../components/ModalDF/index.mjs";
5
- import { s as j } from "../constants/index.mjs";
6
- import { surfaceSolidSecondary as Z, outlineSolidSecondary as R, outlineSolidSecondaryHover as L, surfaceSolidCard as ee, shadowDownSoftS as te } from "@salutejs/sdds-themes/tokens/sdds_finai";
7
- import ie from "styled-components";
8
- const ne = ({
9
- children: t,
10
- isFullScreened: e,
11
- fullScreenedModalDFProps: i
12
- }) => {
13
- if (!e)
14
- return t;
15
- const s = typeof (i == null ? void 0 : i.fullScreen) == "object" ? i.fullScreen : void 0;
16
- return /* @__PURE__ */ b.jsxDEV(
17
- Y,
18
- {
19
- opened: !0,
20
- closeOnOverlayClick: !1,
21
- ...i,
22
- fullScreen: {
23
- ...s,
24
- defaultEnabled: !0
25
- },
26
- children: t
27
- },
28
- void 0,
29
- !1,
30
- {
31
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/SplitView/components/SplitViewFullscreenWrapper.tsx",
32
- lineNumber: 23,
33
- columnNumber: 5
34
- },
35
- void 0
36
- );
37
- }, re = ({
38
- sidebarIsClosed: t,
39
- isResizingRef: e,
40
- onTransitionEndExt: i
41
- }) => {
42
- const [s, o] = F(() => t);
43
- y(() => {
44
- t && o(!0);
45
- }, [t]);
46
- const d = T((l) => {
47
- i && i(l), !t && !e.current && s && o(!1);
48
- }, [s, e, i, t]);
49
- return {
50
- isClosingOrClosedOrOpening: s,
51
- onTransitionEnd: d
52
- };
53
- }, p = "SplitView__", r = {
54
- container: `${p}container`,
55
- separator: `${p}separator`,
56
- separatorButton: `${p}separator-button`,
57
- mainBlock: `${p}main-block`,
58
- sidebarBlock: `${p}sidebar-block`,
59
- sidebarBlockIsResizing: `${p}sidebar-block-is-resizing`,
60
- sidebarIsClosingOrClosedOrOpening: `${p}sidebar-is-closing-closed-opening`,
61
- sidebarBlockFullScreenContentContainer: `${p}sidebar-block__full-screen-content-container`,
62
- sidebarBlockInModal: `${p}sidebar-block-in-modal`
63
- }, X = 32, M = 12, n = {
64
- mainWidthVar: "--main-width",
65
- separatorWidthVar: "--separator-width",
66
- sidebarWidthVar: "--sidebar-width",
67
- sidebarWidthInPxVar: "--sidebar-width-in-px",
68
- gapBetweenBlocksDefaultWidth: X,
69
- separatorButtonDefaultWidth: M,
70
- separatorDefaultWidth: X + M,
71
- // SIZES DEFAULT
72
- sidebarWidths: {
73
- minWidthPx: 600,
74
- adaptive1280MinWidthPx: 440,
75
- maxWidthPercent: 70,
76
- defaultWidthPercent: 30
77
- }
78
- }, _ = (t, e) => t / 100 * e, se = (t, e) => t / e * 100, oe = ({
79
- setSizes: t,
80
- isResizingRef: e,
81
- containerRef: i,
82
- sidebarMinWidthPx: s,
83
- sidebarMaxWidthPercent: o,
84
- onResize: d
85
- }) => {
86
- const l = T(() => {
87
- var a;
88
- document.body.style.cursor = "col-resize", e.current = !0, (a = i.current) == null || a.classList.toggle(r.sidebarBlockIsResizing, !0);
89
- }, [i, e]);
90
- return y(() => {
91
- const a = () => {
92
- var c;
93
- document.body.style.cursor = "auto", e.current = !1, (c = i.current) == null || c.classList.toggle(r.sidebarBlockIsResizing, !1);
94
- }, v = H((c) => {
95
- if (!e.current || !i.current)
96
- return;
97
- c.preventDefault();
98
- const g = c.clientX, h = i.current.getBoundingClientRect(), u = h.width - n.separatorDefaultWidth, f = (h.right - g - n.separatorButtonDefaultWidth / 2) / u * 100, W = se(s, u), x = O(W, f, o), w = 100 - x, V = x * u / 100, P = w * u / 100, C = {
99
- main: w,
100
- mainPx: P,
101
- sidebar: x,
102
- sidebarPx: V
103
- };
104
- t(C), d == null || d(C);
105
- }, 150);
106
- return window.addEventListener("mousemove", v), window.addEventListener("mouseup", a), () => {
107
- window.removeEventListener("mousemove", v), window.removeEventListener("mouseup", a);
108
- };
109
- }, [i, e, d, t, o, s]), {
110
- startResizing: l
111
- };
112
- }, ae = ({
113
- setSizes: t,
114
- containerRef: e,
115
- sidebarMinWidthPx: i,
116
- sidebarMaxWidthPercent: s,
117
- onResize: o
118
- }) => {
119
- y(() => {
120
- const l = G((m) => {
121
- const c = m.contentRect.width - n.separatorDefaultWidth;
122
- t((g) => {
123
- const h = _(g.sidebar, c), S = _(s, c), u = O(i, h, S), f = {
124
- ...g,
125
- sidebarPx: u
126
- };
127
- return o == null || o(f), f;
128
- });
129
- }, 1e3), a = new ResizeObserver((m) => {
130
- m.forEach(l);
131
- });
132
- return e.current && a.observe(e.current), () => {
133
- a.disconnect();
134
- };
135
- }, [e, t, s, i]);
136
- }, k = {
137
- spaceX4: () => j.x4,
138
- spaceX16: () => j.x16
139
- }, de = (t, e, i, s = n.sidebarWidths.minWidthPx) => {
140
- const o = e ? {
141
- ...t,
142
- main: 100,
143
- separator: `${i ?? 0}px`,
144
- sidebar: 0
145
- } : {
146
- ...t,
147
- separator: `${n.separatorDefaultWidth}px`
148
- }, {
149
- main: d,
150
- sidebar: l,
151
- sidebarPx: a,
152
- separator: m
153
- } = o;
154
- return {
155
- [n.mainWidthVar]: `${d}fr`,
156
- [n.sidebarWidthVar]: l === 0 ? "minmax(0px, 0fr)" : `minmax(${s}px, ${l}fr)`,
157
- [n.separatorWidthVar]: m,
158
- ...a !== void 0 && {
159
- [n.sidebarWidthInPxVar]: `${a}px`
160
- }
161
- };
162
- }, le = `
163
- border-top-right-radius: ${k.spaceX4};
164
- border-bottom-right-radius: ${k.spaceX4};
165
- `, ce = ie.div.attrs({
166
- className: r.container
167
- }).withConfig({
168
- displayName: "SplitViewstyled__StyledDiv"
169
- })(["*{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, ({
170
- $headerHeight: t
171
- }) => t !== void 0 ? `${t}px` : "var(--global-header-height, 72px)", N.down("l")`
172
- --split-view-bottom-gap: var(--page-layout-padding-bottom, 24px);
173
- `, r.separator, r.separatorButton, n.gapBetweenBlocksDefaultWidth, n.separatorDefaultWidth - n.gapBetweenBlocksDefaultWidth, () => Z, k.spaceX4, k.spaceX4, k.spaceX16, () => R, () => L, r.sidebarBlockIsResizing, r.separatorButton, () => L, r.sidebarBlock, () => ee, () => te, N.up("xl")(le), r.sidebarIsClosingOrClosedOrOpening, n.sidebarWidthInPxVar, ({
174
- $insidePageLayout: t,
175
- $sidebarIsClosed: e
176
- }) => t && (e ? "margin-right: 0;" : `
177
- margin-right: calc(-1 * var(--page-layout-padding-inline, 32px));
178
-
179
- ${N.down("l")`
180
- margin-right: calc(-1 * var(--page-layout-padding-inline, 24px));
181
- `}
182
- `), ({
183
- $css: t
184
- }) => t), ue = (t) => ({
185
- avatarSize: t ? "m" : "l"
186
- }), pe = (t, e) => e ?? (t ? n.sidebarWidths.adaptive1280MinWidthPx : n.sidebarWidths.minWidthPx), me = (t, e) => typeof t == "function" ? t(e) : t, ke = ({
187
- mainContent: t,
188
- sidebar: e,
189
- //
190
- style: i,
191
- refContainer: s,
192
- $css: o,
193
- onTransitionEnd: d,
194
- onResize: l,
195
- headerHeight: a,
196
- insidePageLayout: m = !1,
197
- disableMediaAdaptive: v = !1,
198
- ...c
199
- }) => {
200
- const g = z(!1), h = z(null), { down: S } = J(), u = !v && S("xl"), {
201
- minWidthPx: f,
202
- maxWidthPercent: W = n.sidebarWidths.maxWidthPercent,
203
- defaultWidthPercent: D = n.sidebarWidths.defaultWidthPercent
204
- } = e ?? {}, x = e == null ? void 0 : e.content, w = pe(
205
- u,
206
- f
207
- ), V = I(
208
- () => ue(u),
209
- [u]
210
- ), P = I(
211
- () => me(x, V),
212
- [x, V]
213
- ), [C, $] = F(() => {
214
- const E = O(
215
- 0,
216
- D,
217
- Math.min(W, 100)
218
- );
219
- return { main: 100 - E, sidebar: E };
220
- }), B = !(e != null && e.isOpened), { startResizing: U } = oe({
221
- setSizes: $,
222
- containerRef: h,
223
- isResizingRef: g,
224
- sidebarMaxWidthPercent: W,
225
- sidebarMinWidthPx: w,
226
- onResize: l
227
- });
228
- ae({
229
- setSizes: $,
230
- containerRef: h,
231
- sidebarMaxWidthPercent: W,
232
- sidebarMinWidthPx: w,
233
- onResize: l
234
- });
235
- const { isClosingOrClosedOrOpening: q, onTransitionEnd: A } = re({
236
- sidebarIsClosed: B,
237
- isResizingRef: g,
238
- onTransitionEndExt: d
239
- });
240
- return /* @__PURE__ */ b.jsxDEV(
241
- ce,
242
- {
243
- ref: Q(h, s),
244
- style: {
245
- ...de(
246
- C,
247
- B,
248
- e == null ? void 0 : e.paddingLeftOnClosed,
249
- w
250
- ),
251
- ...i
252
- },
253
- $css: o,
254
- $headerHeight: a,
255
- $insidePageLayout: m,
256
- $sidebarIsClosed: B,
257
- onTransitionEnd: A,
258
- ...c,
259
- children: [
260
- /* @__PURE__ */ b.jsxDEV("div", { className: r.mainBlock, children: t }, void 0, !1, {
261
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/SplitView/SplitView.tsx",
262
- lineNumber: 113,
263
- columnNumber: 7
264
- }, void 0),
265
- /* @__PURE__ */ b.jsxDEV("div", { className: r.separator, children: /* @__PURE__ */ b.jsxDEV(
266
- "button",
267
- {
268
- className: r.separatorButton,
269
- type: "button",
270
- onMouseDown: U,
271
- children: "Разделитель"
272
- },
273
- void 0,
274
- !1,
275
- {
276
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/SplitView/SplitView.tsx",
277
- lineNumber: 116,
278
- columnNumber: 9
279
- },
280
- void 0
281
- ) }, void 0, !1, {
282
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/SplitView/SplitView.tsx",
283
- lineNumber: 115,
284
- columnNumber: 7
285
- }, void 0),
286
- /* @__PURE__ */ b.jsxDEV(
287
- "div",
288
- {
289
- className: K(
290
- r.sidebarBlock,
291
- q && r.sidebarIsClosingOrClosedOrOpening,
292
- (e == null ? void 0 : e.isFullScreened) && r.sidebarBlockInModal
293
- ),
294
- children: /* @__PURE__ */ b.jsxDEV(
295
- ne,
296
- {
297
- isFullScreened: e == null ? void 0 : e.isFullScreened,
298
- fullScreenedModalDFProps: e == null ? void 0 : e.fullScreenedModalDFProps,
299
- children: P
300
- },
301
- void 0,
302
- !1,
303
- {
304
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/SplitView/SplitView.tsx",
305
- lineNumber: 131,
306
- columnNumber: 9
307
- },
308
- void 0
309
- )
310
- },
311
- void 0,
312
- !1,
313
- {
314
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/SplitView/SplitView.tsx",
315
- lineNumber: 124,
316
- columnNumber: 7
317
- },
318
- void 0
319
- )
320
- ]
321
- },
322
- void 0,
323
- !0,
324
- {
325
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/SplitView/SplitView.tsx",
326
- lineNumber: 95,
327
- columnNumber: 5
328
- },
329
- void 0
330
- );
331
- };
332
- export {
333
- ke as S,
334
- n as a,
335
- ue as b,
336
- pe as g,
337
- me as r,
338
- r as s
339
- };