@daisforge/ui 1.12.0 → 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 (471) 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 +3 -3
  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/TableSettingsWithTabs.d.ts +25 -2
  283. package/components/TableCanvas/feature-table-settings/index.cjs +1 -1
  284. package/components/TableCanvas/feature-table-settings/index.d.ts +1 -1
  285. package/components/TableCanvas/feature-table-settings/index.mjs +3 -2
  286. package/components/TableCanvas/feature-tooltip/index.cjs +1 -1
  287. package/components/TableCanvas/feature-tooltip/index.mjs +1 -1
  288. package/components/TableCanvas/feature-tooltip/utils/index.cjs +1 -1
  289. package/components/TableCanvas/feature-tooltip/utils/index.mjs +1 -1
  290. package/components/TableCanvas/feature-tree/index.cjs +1 -1
  291. package/components/TableCanvas/feature-tree/index.mjs +1 -1
  292. package/components/TableCanvas/index.cjs +1 -1
  293. package/components/TableCanvas/index.mjs +2 -2
  294. package/components/TableCanvas/renders/formatCell/index.cjs +1 -1
  295. package/components/TableCanvas/renders/formatCell/index.mjs +1 -1
  296. package/components/TableCanvas/styles/index.cjs +1 -1
  297. package/components/TableCanvas/styles/index.mjs +1 -1
  298. package/components/TableCanvas/table-hooks/index.cjs +1 -1
  299. package/components/TableCanvas/table-hooks/index.mjs +1 -1
  300. package/components/TableCanvas/types/index.cjs +1 -1
  301. package/components/TableCanvas/types/index.mjs +1 -1
  302. package/components/TableCanvas/types/table-config.type.d.ts +4 -0
  303. package/components/TableCanvas/utils/index.cjs +1 -1
  304. package/components/TableCanvas/utils/index.mjs +2 -2
  305. package/components/TableCanvas/widgets/control-block/compression/index.cjs +1 -1
  306. package/components/TableCanvas/widgets/control-block/compression/index.mjs +1 -1
  307. package/components/TableCanvas/widgets/control-block/index.cjs +1 -1
  308. package/components/TableCanvas/widgets/control-block/index.mjs +1 -1
  309. package/components/TableCanvas/widgets/control-block/right-side/index.cjs +1 -1
  310. package/components/TableCanvas/widgets/control-block/right-side/index.mjs +1 -1
  311. package/components/TableCanvas/widgets/index.cjs +1 -1
  312. package/components/TableCanvas/widgets/index.mjs +1 -1
  313. package/components/TableCanvas/widgets/mass-actions/hooks/index.cjs +1 -1
  314. package/components/TableCanvas/widgets/mass-actions/hooks/index.mjs +1 -1
  315. package/components/TableCanvas/widgets/mass-actions/index.cjs +1 -1
  316. package/components/TableCanvas/widgets/mass-actions/index.mjs +1 -1
  317. package/components/TableContract/index.cjs +2 -2
  318. package/components/TableContract/index.mjs +540 -798
  319. package/components/TableGlide/hooks/selection/index.cjs +1 -1
  320. package/components/TableGlide/hooks/selection/index.mjs +1 -1
  321. package/components/TableGlide/index.cjs +1 -1
  322. package/components/TableGlide/index.mjs +1 -1
  323. package/components/TableGlide/lib/canvas/cells/buttons/index.cjs +1 -1
  324. package/components/TableGlide/lib/canvas/cells/buttons/index.mjs +1 -1
  325. package/components/TableGlide/lib/canvas/cells/iconSprites/index.cjs +1 -1
  326. package/components/TableGlide/lib/canvas/cells/iconSprites/index.mjs +1 -1
  327. package/components/TableGlide/lib/canvas/cells/index.cjs +1 -1
  328. package/components/TableGlide/lib/canvas/cells/index.mjs +1 -1
  329. package/components/TableGlide/lib/canvas/cells/renderer/index.cjs +1 -1
  330. package/components/TableGlide/lib/canvas/cells/renderer/index.mjs +1 -1
  331. package/components/TableGlide/lib/canvas/core/helpers/index.cjs +1 -1
  332. package/components/TableGlide/lib/canvas/core/helpers/index.mjs +1 -1
  333. package/components/TableGlide/lib/canvas/core/index.cjs +1 -1
  334. package/components/TableGlide/lib/canvas/core/index.mjs +1 -1
  335. package/components/TableGlide/lib/canvas/hooks/index.cjs +1 -1
  336. package/components/TableGlide/lib/canvas/hooks/index.mjs +1 -1
  337. package/components/TableGlide/lib/canvas/index.cjs +1 -1
  338. package/components/TableGlide/lib/canvas/index.mjs +1 -1
  339. package/components/TableGlide/lib/canvas/miniflex/index.cjs +1 -1
  340. package/components/TableGlide/lib/canvas/miniflex/index.mjs +1 -1
  341. package/components/TableGlide/lib/canvas/primitives/index.cjs +1 -1
  342. package/components/TableGlide/lib/canvas/primitives/index.mjs +1 -1
  343. package/components/TableGlide/lib/canvas/utils/index.cjs +1 -1
  344. package/components/TableGlide/lib/canvas/utils/index.mjs +1 -1
  345. package/components/TableGlide/theming/index.cjs +1 -1
  346. package/components/TableGlide/theming/index.mjs +1 -1
  347. package/components/TableTabs/index.cjs +1 -1
  348. package/components/TableTabs/index.mjs +136 -305
  349. package/components/TextArea/index.cjs +1 -1
  350. package/components/TextArea/index.mjs +26 -40
  351. package/components/TextField/index.cjs +1 -1
  352. package/components/TextField/index.mjs +38 -82
  353. package/components/Tooltip/index.cjs +1 -1
  354. package/components/Tooltip/index.mjs +1 -1
  355. package/components/TourWidget/index.cjs +15 -15
  356. package/components/TourWidget/index.mjs +176 -371
  357. package/components/Typography/index.cjs +1 -1
  358. package/components/Typography/index.mjs +1 -1
  359. package/components/Widget/index.cjs +1 -1
  360. package/components/Widget/index.mjs +151 -363
  361. package/formComponents/FormAutocomplete/index.cjs +1 -1
  362. package/formComponents/FormAutocomplete/index.mjs +63 -68
  363. package/formComponents/FormCheckbox/index.cjs +1 -1
  364. package/formComponents/FormCheckbox/index.mjs +27 -55
  365. package/formComponents/FormCombobox/index.cjs +1 -1
  366. package/formComponents/FormCombobox/index.mjs +61 -75
  367. package/formComponents/FormDatePickers/FormDatePicker/index.cjs +1 -1
  368. package/formComponents/FormDatePickers/FormDatePicker/index.mjs +1 -1
  369. package/formComponents/FormDatePickers/FormDatePickerRange/index.cjs +1 -1
  370. package/formComponents/FormDatePickers/FormDatePickerRange/index.mjs +1 -1
  371. package/formComponents/FormDatePickers/FormDatePickerRange/lib/utils/index.cjs +1 -1
  372. package/formComponents/FormDatePickers/FormDatePickerRange/lib/utils/index.mjs +1 -1
  373. package/formComponents/FormDatePickers/index.cjs +1 -1
  374. package/formComponents/FormDatePickers/index.mjs +1 -1
  375. package/formComponents/FormMask/index.cjs +1 -1
  376. package/formComponents/FormMask/index.mjs +61 -66
  377. package/formComponents/FormNumberFormat/index.cjs +1 -1
  378. package/formComponents/FormNumberFormat/index.mjs +56 -68
  379. package/formComponents/FormRadioGroupBox/index.cjs +1 -1
  380. package/formComponents/FormRadioGroupBox/index.mjs +71 -144
  381. package/formComponents/FormSegments/index.cjs +1 -1
  382. package/formComponents/FormSegments/index.mjs +1 -1
  383. package/formComponents/FormSelect/index.cjs +1 -1
  384. package/formComponents/FormSelect/index.mjs +62 -76
  385. package/formComponents/FormSwitch/index.cjs +1 -1
  386. package/formComponents/FormSwitch/index.mjs +25 -53
  387. package/formComponents/FormTextArea/index.cjs +1 -1
  388. package/formComponents/FormTextArea/index.mjs +1 -1
  389. package/formComponents/FormTextArea/ui/index.cjs +1 -1
  390. package/formComponents/FormTextArea/ui/index.mjs +1 -1
  391. package/formComponents/FormTextField/index.cjs +1 -1
  392. package/formComponents/FormTextField/index.mjs +70 -101
  393. package/index.cjs +1 -1
  394. package/index.mjs +21 -21
  395. package/layouts/Container/index.cjs +1 -1
  396. package/layouts/Container/index.mjs +1 -1
  397. package/layouts/Container/lib/utils/index.cjs +1 -1
  398. package/layouts/Container/lib/utils/index.mjs +1 -1
  399. package/layouts/ErrorPage/index.cjs +1 -1
  400. package/layouts/ErrorPage/index.mjs +81 -146
  401. package/layouts/FiltersActions/hooks/index.cjs +1 -1
  402. package/layouts/FiltersActions/hooks/index.mjs +1 -1
  403. package/layouts/FiltersActions/index.cjs +1 -1
  404. package/layouts/FiltersActions/index.mjs +1 -1
  405. package/layouts/Layout/index.cjs +5 -5
  406. package/layouts/Layout/index.mjs +78 -115
  407. package/layouts/PageLayout/index.cjs +2 -2
  408. package/layouts/PageLayout/index.mjs +15 -32
  409. package/mixins/index.cjs +1 -1
  410. package/mixins/index.mjs +1 -1
  411. package/package.json +1 -1
  412. package/shared/ui/Search/index.cjs +1 -1
  413. package/shared/ui/Search/index.mjs +30 -52
  414. package/shared/utils/inputs/index.cjs +1 -1
  415. package/shared/utils/inputs/index.mjs +33 -48
  416. package/styles/index.cjs +1 -1
  417. package/styles/index.mjs +1 -1
  418. package/themes/index.cjs +1 -1
  419. package/themes/index.mjs +1 -1
  420. package/utils/breakpoint/index.cjs +1 -1
  421. package/utils/breakpoint/index.mjs +1 -1
  422. package/utils/clickStream/index.cjs +1 -1
  423. package/utils/clickStream/index.mjs +1 -1
  424. package/utils/eventBus/index.cjs +1 -1
  425. package/utils/eventBus/index.mjs +1 -1
  426. package/utils/hooks/index.cjs +1 -1
  427. package/utils/hooks/index.mjs +1 -1
  428. package/utils/index.cjs +1 -1
  429. package/utils/index.mjs +1 -1
  430. package/utils/styles/index.cjs +1 -1
  431. package/utils/styles/index.mjs +1 -1
  432. package/chunks/AnalyticalWidget-Ca_EuSTO.mjs +0 -868
  433. package/chunks/AnalyticalWidget-xgvWcsXx.cjs +0 -43
  434. package/chunks/ApprovalCenter-4aJlJfei.mjs +0 -531
  435. package/chunks/ApprovalCenter-Ij5NMkY-.cjs +0 -1
  436. package/chunks/BlockTitle-CgXVHok6.mjs +0 -180
  437. package/chunks/BlockTitle-SaP9H2PI.cjs +0 -1
  438. package/chunks/Container-ChuCs63G.cjs +0 -17
  439. package/chunks/Container-D8RdjkGo.mjs +0 -180
  440. package/chunks/EmptyState-BxUh2dhY.cjs +0 -1
  441. package/chunks/EmptyState-C0aHgxrn.mjs +0 -615
  442. package/chunks/FiltersActions-BekNxF-h.cjs +0 -1
  443. package/chunks/FiltersActions-CSucE-Ql.mjs +0 -637
  444. package/chunks/FormDatePickers-BCyW24Pr.cjs +0 -1
  445. package/chunks/FormDatePickers-DfdGdbwP.mjs +0 -538
  446. package/chunks/FormSegmentGroup-BKuHtPEn.cjs +0 -1
  447. package/chunks/FormSegmentGroup-DqFMVBr0.mjs +0 -268
  448. package/chunks/FormTextArea-CCrYx4pL.mjs +0 -159
  449. package/chunks/FormTextArea-sly1mY7h.cjs +0 -1
  450. package/chunks/GridDND-Bycwiynh.mjs +0 -1086
  451. package/chunks/GridDND-MsZt1fXJ.cjs +0 -1
  452. package/chunks/LeftPanel-C72uosX_.mjs +0 -303
  453. package/chunks/LeftPanel-Di-IqpZ_.cjs +0 -1
  454. package/chunks/ListOfFilters-B3bM1n4w.cjs +0 -1
  455. package/chunks/ListOfFilters-CPJGgMMc.mjs +0 -462
  456. package/chunks/MassActions-BbAXi3z9.cjs +0 -1
  457. package/chunks/MassActions-CZm8vqj8.mjs +0 -1352
  458. package/chunks/PageTitle-DEsijnDg.cjs +0 -1
  459. package/chunks/PageTitle-TusD1S2c.mjs +0 -282
  460. package/chunks/SplitView-BHdftJ9A.cjs +0 -12
  461. package/chunks/SplitView-Cd-xkxCe.mjs +0 -339
  462. package/chunks/Stories-CR_EUNO7.mjs +0 -1018
  463. package/chunks/Stories-CxsYx2OE.cjs +0 -1
  464. package/chunks/Table--05ONCr1.cjs +0 -31
  465. package/chunks/Table-l-P3NNUN.mjs +0 -11944
  466. package/chunks/TableCanvas-D-sndY82.cjs +0 -30
  467. package/chunks/TableCanvas-D4Bck7wv.mjs +0 -16900
  468. package/chunks/TableGlide-CbvaAM_H.cjs +0 -1
  469. package/chunks/styles-D8FDGdVz.mjs +0 -240
  470. package/chunks/styles-OR0WE1xm.cjs +0 -2
  471. package/chunks/utils-C93a2mD7.cjs +0 -25
@@ -1,13 +1,13 @@
1
- import { IconButton as N, Divider as _, Dropdown as S, Badge as I, Overlay as z, PopupProvider as H, Modal as O } from "@salutejs/sdds-finai";
2
- import { j as o } from "../../chunks/vendor-BG4P-329.mjs";
3
- import { IconArrowLeft as T, IconDotsVerticalCenteredOutline as X, IconFullscreenOff as E, IconFullscreenOn as P, IconClose as L } from "@salutejs/plasma-icons";
4
- import { s as u, breakP as R, br as A } from "../../constants/index.mjs";
5
- import l, { css as b } from "styled-components";
6
- import { C as Y } from "../../chunks/Container-D8RdjkGo.mjs";
7
- import { textPrimary as $, h4Bold as W, textSecondary as U, bodyS as v, surfaceSolidCard as F, shadowUpSoftL as q } from "@salutejs/sdds-themes/tokens/sdds_finai";
8
- import { Box as f } from "../Box/index.mjs";
9
- import { createContext as D, useContext as x, useState as G, useEffect as J, useCallback as K, forwardRef as Q } from "react";
10
- const i = {
1
+ import { IconButton as p, Divider as z, Dropdown as O, Badge as T, Overlay as X, PopupProvider as P, Modal as L } from "@salutejs/sdds-finai";
2
+ import { jsx as i, jsxs as h, Fragment as A } from "react/jsx-runtime";
3
+ import { IconArrowLeft as R, IconDotsVerticalCenteredOutline as j, IconFullscreenOff as H, IconFullscreenOn as Y, IconClose as V } from "@salutejs/plasma-icons";
4
+ import { s as m, breakP as $, br as W } from "../../constants/index.mjs";
5
+ import d, { css as b } from "styled-components";
6
+ import { C as U } from "../../chunks/Container-CV4sT-bB.mjs";
7
+ import { textPrimary as q, h4Bold as G, textSecondary as J, bodyS as D, surfaceSolidCard as w, shadowUpSoftL as K } from "@salutejs/sdds-themes/tokens/sdds_finai";
8
+ import { Box as u } from "../Box/index.mjs";
9
+ import { createContext as C, useContext as F, useState as Q, useEffect as Z, useCallback as E, forwardRef as ee } from "react";
10
+ const t = {
11
11
  cardWrapper: "modalDF_card-wrapper",
12
12
  container: "modalDF_container",
13
13
  root: "modalDF_root",
@@ -25,421 +25,209 @@ const i = {
25
25
  mainFooterLeft: "modalDF_footer-left",
26
26
  mainFooterRight: "modalDF_footer-right",
27
27
  content: "modalDF_content"
28
- }, y = ({
28
+ }, _ = ({
29
29
  iconSize: e,
30
- ...n
31
- }) => /* @__PURE__ */ o.jsxDEV(
32
- N,
33
- {
34
- view: "secondary",
35
- size: "xs",
36
- pin: "circle-circle",
37
- className: i.backIconButton,
38
- ...n,
39
- children: /* @__PURE__ */ o.jsxDEV(
40
- T,
41
- {
42
- size: "xs",
43
- ...n.size === "s" && { size: n.size },
44
- ...e && { size: e }
45
- },
46
- void 0,
47
- !1,
48
- {
49
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/ModalDF/components/BackIconButton.tsx",
50
- lineNumber: 19,
51
- columnNumber: 5
52
- },
53
- void 0
54
- )
55
- },
56
- void 0,
57
- !1,
58
- {
59
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/ModalDF/components/BackIconButton.tsx",
60
- lineNumber: 12,
61
- columnNumber: 1
62
- },
63
- void 0
64
- ), Z = {
65
- spaceX4: () => u.x4
66
- }, w = l(_).attrs({
30
+ ...o
31
+ }) => /* @__PURE__ */ i(p, { view: "secondary", size: "xs", pin: "circle-circle", className: t.backIconButton, ...o, children: /* @__PURE__ */ i(R, { size: "xs", ...o.size === "s" && {
32
+ size: o.size
33
+ }, ...e && {
34
+ size: e
35
+ } }) }), te = {
36
+ spaceX4: () => m.x4
37
+ }, B = d(z).attrs({
67
38
  length: "16px",
68
39
  orientation: "vertical"
69
- }).withConfig({ displayName: "Divider" })(
70
- ["margin-inline:", ";"],
71
- Z.spaceX4
72
- ), ee = ({
40
+ }).withConfig({
41
+ displayName: "Divider"
42
+ })(["margin-inline:", ";"], te.spaceX4), oe = ({
73
43
  dropdownProps: e,
74
- iconSize: n,
75
- ...s
44
+ iconSize: o,
45
+ ...a
76
46
  }) => {
77
- const t = /* @__PURE__ */ o.jsxDEV(N, { view: "secondary", size: "xs", ...s, children: /* @__PURE__ */ o.jsxDEV(
78
- X,
79
- {
80
- size: "xs",
81
- ...s.size === "s" && { size: s.size },
82
- ...n && { size: n }
83
- },
84
- void 0,
85
- !1,
86
- {
87
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/ModalDF/components/DotsIconButton.tsx",
88
- lineNumber: 15,
89
- columnNumber: 7
90
- },
91
- void 0
92
- ) }, void 0, !1, {
93
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/ModalDF/components/DotsIconButton.tsx",
94
- lineNumber: 14,
95
- columnNumber: 3
96
- }, void 0);
97
- return e ? /* @__PURE__ */ o.jsxDEV(S, { ...e, children: t }, void 0, !1, {
98
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/ModalDF/components/DotsIconButton.tsx",
99
- lineNumber: 27,
100
- columnNumber: 10
101
- }, void 0) : t;
102
- }, a = {
103
- spaceX: () => u.x8,
104
- spaceY: () => u.x8,
105
- spaceX24: () => u.x24,
106
- spaceX8: () => u.x8,
107
- spaceX1: () => u.x1,
108
- spaceX12: () => u.x12,
109
- borderRadius: () => A.m,
110
- bg: () => F
111
- }, ie = l(Y).attrs({
112
- className: i.root
47
+ const n = /* @__PURE__ */ i(p, { view: "secondary", size: "xs", ...a, children: /* @__PURE__ */ i(j, { size: "xs", ...a.size === "s" && {
48
+ size: a.size
49
+ }, ...o && {
50
+ size: o
51
+ } }) });
52
+ return e ? /* @__PURE__ */ i(O, { ...e, children: n }) : n;
53
+ }, s = {
54
+ spaceX: () => m.x8,
55
+ spaceY: () => m.x8,
56
+ spaceX24: () => m.x24,
57
+ spaceX8: () => m.x8,
58
+ spaceX1: () => m.x1,
59
+ spaceX12: () => m.x12,
60
+ borderRadius: () => W.m,
61
+ bg: () => w
62
+ }, ie = d(U).attrs({
63
+ className: t.root
113
64
  }).withConfig({
114
65
  displayName: "styled__StyledContainer"
115
- })(["&,& *{box-sizing:border-box;}&{view-transition-name:", ";display:grid;min-width:400px;max-width:calc(", "px - 32px);max-height:calc(100vh - 32px);position:relative;background:", ";box-shadow:", ";border-radius:", ";", " & > div:not(.", "):not(.", "){max-height:inherit;}&:not(:has(.", ")){.", "{margin-left:", ";}}", "}"], i.root, R.xl - 32, a.bg, () => q, a.borderRadius, () => v, i.left, i.main, i.left, i.main, a.spaceX, ({
66
+ })(["&,& *{box-sizing:border-box;}&{view-transition-name:", ";display:grid;min-width:400px;max-width:calc(", "px - 32px);max-height:calc(100vh - 32px);position:relative;background:", ";box-shadow:", ";border-radius:", ";", " & > div:not(.", "):not(.", "){max-height:inherit;}&:not(:has(.", ")){.", "{margin-left:", ";}}", "}"], t.root, $.xl - 32, s.bg, () => K, s.borderRadius, () => D, t.left, t.main, t.left, t.main, s.spaceX, ({
116
67
  $fullScreened: e
117
- }) => e && b(["width:calc(100vw - 32px);height:calc(100vh - 32px);"])), M = b(["overflow:hidden;margin-block:", ";max-height:calc(100% - ", " - ", ");&:not(:has(.", ")){overflow-y:scroll;& .", "{position:sticky;background-color:", ";top:0px;}}"], a.spaceY, a.spaceY, a.spaceY, i.content, i.header, a.bg), oe = l(f).attrs({
118
- className: i.left
68
+ }) => e && b(["width:calc(100vw - 32px);height:calc(100vh - 32px);"])), k = b(["overflow:hidden;margin-block:", ";max-height:calc(100% - ", " - ", ");&:not(:has(.", ")){overflow-y:scroll;& .", "{position:sticky;background-color:", ";top:0px;}}"], s.spaceY, s.spaceY, s.spaceY, t.content, t.header, s.bg), ae = d(u).attrs({
69
+ className: t.left
119
70
  }).withConfig({
120
71
  displayName: "styled__StyledLeft"
121
- })(["&.", "{margin-left:", ";", " display:flex;flex-direction:column;& .", "{& .", "{display:none;}}& .", "{}}"], i.left, a.spaceX, M, i.header, i.serviceButtons, i.content), ne = l(f).attrs({
122
- className: i.main
72
+ })(["&.", "{margin-left:", ";", " display:flex;flex-direction:column;& .", "{& .", "{display:none;}}& .", "{}}"], t.left, s.spaceX, k, t.header, t.serviceButtons, t.content), ne = d(u).attrs({
73
+ className: t.main
123
74
  }).withConfig({
124
75
  displayName: "styled__StyledMain"
125
- })(["&.", "{margin-right:", ";", " height:100%;display:flex;flex-direction:column;}"], i.main, a.spaceX, M), se = l(f).attrs({
126
- className: i.header
76
+ })(["&.", "{margin-right:", ";", " height:100%;display:flex;flex-direction:column;}"], t.main, s.spaceX, k), se = d(u).attrs({
77
+ className: t.header
127
78
  }).withConfig({
128
79
  displayName: "styled__StyledHeader"
129
- })(["&.", "{flex-shrink:0;height:fit-content;min-height:", ";padding-bottom:", ";display:flex;justify-content:space-between;align-items:center;column-gap:", ";& .", "{display:flex;gap:", ";align-content:flex-start;}& .", "{display:flex;flex-direction:column;row-gap:", ";& .", "{padding:0px;margin:0px;color:", ";", ";}& .", "{padding:0px;margin:0px;color:", ";", ";}}& .", "{flex-shrink:0;}& .", "{display:flex;height:fit-content;align-items:center;margin-bottom:auto;}}"], i.header, a.spaceX24, a.spaceY, a.spaceX12, i.headerTitlesContainer, a.spaceX8, i.headerTitlesBox, a.spaceX1, i.headerTitle, () => $, () => W, i.headerSubTitle, () => U, () => v, i.backIconButton, i.headerRightBlock), te = l(f).attrs({
130
- className: i.content
80
+ })(["&.", "{flex-shrink:0;height:fit-content;min-height:", ";padding-bottom:", ";display:flex;justify-content:space-between;align-items:center;column-gap:", ";& .", "{display:flex;gap:", ";align-content:flex-start;}& .", "{display:flex;flex-direction:column;row-gap:", ";& .", "{padding:0px;margin:0px;color:", ";", ";}& .", "{padding:0px;margin:0px;color:", ";", ";}}& .", "{flex-shrink:0;}& .", "{display:flex;height:fit-content;align-items:center;margin-bottom:auto;}}"], t.header, s.spaceX24, s.spaceY, s.spaceX12, t.headerTitlesContainer, s.spaceX8, t.headerTitlesBox, s.spaceX1, t.headerTitle, () => q, () => G, t.headerSubTitle, () => J, () => D, t.backIconButton, t.headerRightBlock), le = d(u).attrs({
81
+ className: t.content
131
82
  }).withConfig({
132
83
  displayName: "styled__StyledContent"
133
- })(["&{flex-grow:1;overflow-y:auto;overflow-x:hidden;}"]), ae = l(f).attrs({
134
- className: i.footer
84
+ })(["&{flex-grow:1;overflow-y:auto;overflow-x:hidden;}"]), re = d(u).attrs({
85
+ className: t.footer
135
86
  }).withConfig({
136
87
  displayName: "styled__StyledMainFooter"
137
- })(["&.", "{flex-shrink:0;height:fit-content;padding-top:", ";display:flex;justify-content:space-between;}"], i.footer, a.spaceX);
138
- function re({ leftBlock: e, rightBlock: n, ...s }) {
139
- return /* @__PURE__ */ o.jsxDEV(ae, { ...s, children: [
140
- /* @__PURE__ */ o.jsxDEV("div", { className: i.mainFooterLeft, children: e }, void 0, !1, {
141
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/ModalDF/components/Footer.tsx",
142
- lineNumber: 8,
143
- columnNumber: 7
144
- }, this),
145
- /* @__PURE__ */ o.jsxDEV("div", { className: i.mainFooterRight, children: n }, void 0, !1, {
146
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/ModalDF/components/Footer.tsx",
147
- lineNumber: 9,
148
- columnNumber: 7
149
- }, this)
150
- ] }, void 0, !0, {
151
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/ModalDF/components/Footer.tsx",
152
- lineNumber: 7,
153
- columnNumber: 5
154
- }, this);
88
+ })(["&.", "{flex-shrink:0;height:fit-content;padding-top:", ";display:flex;justify-content:space-between;}"], t.footer, s.spaceX);
89
+ function ce({
90
+ leftBlock: e,
91
+ rightBlock: o,
92
+ ...a
93
+ }) {
94
+ return /* @__PURE__ */ h(re, { ...a, children: [
95
+ /* @__PURE__ */ i("div", { className: t.mainFooterLeft, children: e }),
96
+ /* @__PURE__ */ i("div", { className: t.mainFooterRight, children: o })
97
+ ] });
155
98
  }
156
- const C = D(!1), j = D(null), B = D(null), de = ({
99
+ const N = C(!1), M = C(null), S = C(null), de = ({
157
100
  children: e,
158
- fullScreened: n,
159
- toggleFullScreen: s,
160
- onClose: t
161
- }) => /* @__PURE__ */ o.jsxDEV(B.Provider, { value: t ?? null, children: /* @__PURE__ */ o.jsxDEV(C.Provider, { value: n, children: /* @__PURE__ */ o.jsxDEV(j.Provider, { value: s, children: e }, void 0, !1, {
162
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/ModalDF/ctxs.tsx",
163
- lineNumber: 22,
164
- columnNumber: 7
165
- }, void 0) }, void 0, !1, {
166
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/ModalDF/ctxs.tsx",
167
- lineNumber: 21,
168
- columnNumber: 5
169
- }, void 0) }, void 0, !1, {
170
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/ModalDF/ctxs.tsx",
171
- lineNumber: 19,
172
- columnNumber: 1
173
- }, void 0), ce = l(f).attrs({
174
- className: i.serviceButtons
175
- }).withConfig({ displayName: "ServiceButtons__StyledServiceButtons" })(
176
- ["display:inline-flex;column-gap:", ";background-color:", ";"],
177
- u.x2,
178
- ({ hasBackground: e }) => e ? F : "transparent"
179
- ), V = ({
101
+ fullScreened: o,
102
+ toggleFullScreen: a,
103
+ onClose: n
104
+ }) => /* @__PURE__ */ i(S.Provider, { value: n ?? null, children: /* @__PURE__ */ i(N.Provider, { value: o, children: /* @__PURE__ */ i(M.Provider, { value: a, children: e }) }) }), he = d(u).attrs({
105
+ className: t.serviceButtons
106
+ }).withConfig({
107
+ displayName: "ServiceButtons__StyledServiceButtons"
108
+ })(["display:inline-flex;column-gap:", ";background-color:", ";"], m.x2, ({
109
+ hasBackground: e
110
+ }) => e ? w : "transparent"), I = ({
180
111
  hasBackground: e = !0,
181
- ...n
112
+ ...o
182
113
  }) => {
183
- const s = x(C), t = x(j), r = x(B), d = s !== null, c = s ? E : P;
184
- return /* @__PURE__ */ o.jsxDEV(ce, { hasBackground: e, ...n, children: [
185
- d && /* @__PURE__ */ o.jsxDEV(
186
- N,
187
- {
188
- onClick: t ?? void 0,
189
- size: "xs",
190
- view: "secondary",
191
- pin: "circle-circle",
192
- title: s ? "Выйти из полноэкранного режима" : "На весь экран",
193
- children: /* @__PURE__ */ o.jsxDEV(c, { size: "xs" }, void 0, !1, {
194
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/ModalDF/components/ServiceButtons.tsx",
195
- lineNumber: 49,
196
- columnNumber: 11
197
- }, void 0)
198
- },
199
- void 0,
200
- !1,
201
- {
202
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/ModalDF/components/ServiceButtons.tsx",
203
- lineNumber: 40,
204
- columnNumber: 7
205
- },
206
- void 0
207
- ),
208
- /* @__PURE__ */ o.jsxDEV(
209
- N,
210
- {
211
- onClick: r ?? void 0,
212
- size: "xs",
213
- view: "secondary",
214
- pin: "circle-circle",
215
- title: "Закрыть",
216
- children: /* @__PURE__ */ o.jsxDEV(L, { size: "xs" }, void 0, !1, {
217
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/ModalDF/components/ServiceButtons.tsx",
218
- lineNumber: 59,
219
- columnNumber: 9
220
- }, void 0)
221
- },
222
- void 0,
223
- !1,
224
- {
225
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/ModalDF/components/ServiceButtons.tsx",
226
- lineNumber: 52,
227
- columnNumber: 7
228
- },
229
- void 0
230
- )
231
- ] }, void 0, !0, {
232
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/ModalDF/components/ServiceButtons.tsx",
233
- lineNumber: 38,
234
- columnNumber: 5
235
- }, void 0);
236
- }, le = l(I).attrs({
114
+ const a = F(N), n = F(M), l = F(S);
115
+ return /* @__PURE__ */ h(he, { hasBackground: e, ...o, children: [
116
+ a !== null && /* @__PURE__ */ i(p, { onClick: n ?? void 0, size: "xs", view: "secondary", pin: "circle-circle", title: a ? "Выйти из полноэкранного режима" : "На весь экран", children: /* @__PURE__ */ i(a ? H : Y, { size: "xs" }) }),
117
+ /* @__PURE__ */ i(p, { onClick: l ?? void 0, size: "xs", view: "secondary", pin: "circle-circle", title: "Закрыть", children: /* @__PURE__ */ i(V, { size: "xs" }) })
118
+ ] });
119
+ }, me = d(T).attrs({
237
120
  view: "light"
238
- }).withConfig({ displayName: "Header__StyledBadge" })([""]);
239
- function ue({
121
+ }).withConfig({
122
+ displayName: "Header__StyledBadge"
123
+ })([""]);
124
+ function fe({
240
125
  title: e,
241
- badge: n,
242
- subTitle: s,
243
- rightBlock: t,
244
- onBackClick: r,
245
- showServiceButtons: d = !0,
126
+ badge: o,
127
+ subTitle: a,
128
+ rightBlock: n,
129
+ onBackClick: l,
130
+ showServiceButtons: r = !0,
246
131
  showBackButton: c = !1,
247
- ...m
132
+ ...f
248
133
  }) {
249
- return /* @__PURE__ */ o.jsxDEV(se, { ...m, children: [
250
- /* @__PURE__ */ o.jsxDEV("div", { className: i.headerTitlesContainer, children: [
251
- c && /* @__PURE__ */ o.jsxDEV(y, { onClick: r }, void 0, !1, {
252
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/ModalDF/components/Header.tsx",
253
- lineNumber: 31,
254
- columnNumber: 28
255
- }, this),
256
- /* @__PURE__ */ o.jsxDEV("div", { className: i.headerTitlesBox, children: [
257
- e && /* @__PURE__ */ o.jsxDEV("h3", { className: i.headerTitle, children: [
134
+ return /* @__PURE__ */ h(se, { ...f, children: [
135
+ /* @__PURE__ */ h("div", { className: t.headerTitlesContainer, children: [
136
+ c && /* @__PURE__ */ i(_, { onClick: l }),
137
+ /* @__PURE__ */ h("div", { className: t.headerTitlesBox, children: [
138
+ e && /* @__PURE__ */ h("h3", { className: t.headerTitle, children: [
258
139
  e,
259
- n && /* @__PURE__ */ o.jsxDEV(o.Fragment, { children: [
140
+ o && /* @__PURE__ */ h(A, { children: [
260
141
  "  ",
261
- /* @__PURE__ */ o.jsxDEV(le, { view: "light", ...n }, void 0, !1, {
262
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/ModalDF/components/Header.tsx",
263
- lineNumber: 39,
264
- columnNumber: 19
265
- }, this)
266
- ] }, void 0, !0, {
267
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/ModalDF/components/Header.tsx",
268
- lineNumber: 37,
269
- columnNumber: 13
270
- }, this)
271
- ] }, void 0, !0, {
272
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/ModalDF/components/Header.tsx",
273
- lineNumber: 34,
274
- columnNumber: 11
275
- }, this),
276
- s && /* @__PURE__ */ o.jsxDEV("p", { className: i.headerSubTitle, children: s }, void 0, !1, {
277
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/ModalDF/components/Header.tsx",
278
- lineNumber: 44,
279
- columnNumber: 24
280
- }, this)
281
- ] }, void 0, !0, {
282
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/ModalDF/components/Header.tsx",
283
- lineNumber: 32,
284
- columnNumber: 9
285
- }, this)
286
- ] }, void 0, !0, {
287
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/ModalDF/components/Header.tsx",
288
- lineNumber: 30,
289
- columnNumber: 7
290
- }, this),
291
- /* @__PURE__ */ o.jsxDEV("div", { className: i.headerRightBlock, children: [
292
- t,
293
- t && /* @__PURE__ */ o.jsxDEV(w, {}, void 0, !1, {
294
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/ModalDF/components/Header.tsx",
295
- lineNumber: 50,
296
- columnNumber: 24
297
- }, this),
298
- d && /* @__PURE__ */ o.jsxDEV(V, {}, void 0, !1, {
299
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/ModalDF/components/Header.tsx",
300
- lineNumber: 51,
301
- columnNumber: 32
302
- }, this)
303
- ] }, void 0, !0, {
304
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/ModalDF/components/Header.tsx",
305
- lineNumber: 47,
306
- columnNumber: 7
307
- }, this)
308
- ] }, void 0, !0, {
309
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/ModalDF/components/Header.tsx",
310
- lineNumber: 29,
311
- columnNumber: 5
312
- }, this);
142
+ /* @__PURE__ */ i(me, { view: "light", ...o })
143
+ ] })
144
+ ] }),
145
+ a && /* @__PURE__ */ i("p", { className: t.headerSubTitle, children: a })
146
+ ] })
147
+ ] }),
148
+ /* @__PURE__ */ h("div", { className: t.headerRightBlock, children: [
149
+ n,
150
+ n && /* @__PURE__ */ i(B, {}),
151
+ r && /* @__PURE__ */ i(I, {})
152
+ ] })
153
+ ] });
313
154
  }
314
- const me = (e) => {
315
- const n = e.closeOnOverlayClick ?? !0;
155
+ const ue = (e) => {
156
+ const o = e.closeOnOverlayClick ?? !0;
316
157
  return {
317
- closeOnOverlayClick: n,
158
+ closeOnOverlayClick: o,
318
159
  closeOnEsc: !0,
319
- overlay: /* @__PURE__ */ o.jsxDEV(
320
- z,
321
- {
322
- onOverlayClick: (s) => {
323
- var t;
324
- e != null && e.onOverlayClick ? e.onOverlayClick(s) : n && ((t = e == null ? void 0 : e.onClose) == null || t.call(e));
325
- },
326
- zIndex: e.zIndexOverlay ?? "9000",
327
- backgroundColorProperty: "#060A0C47"
328
- },
329
- void 0,
330
- !1,
331
- {
332
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/ModalDF/constants.tsx",
333
- lineNumber: 11,
334
- columnNumber: 5
335
- },
336
- void 0
337
- ),
160
+ overlay: /* @__PURE__ */ i(X, { onOverlayClick: (a) => {
161
+ var n;
162
+ e != null && e.onOverlayClick ? e.onOverlayClick(a) : o && ((n = e == null ? void 0 : e.onClose) == null || n.call(e));
163
+ }, zIndex: e.zIndexOverlay ?? "9000", backgroundColorProperty: "#060A0C47" }),
338
164
  hasBody: !1
339
165
  };
340
166
  };
341
- function fe(e) {
342
- const n = [i.left, i.main];
343
- return !!e && Array.isArray(e) && n.every((s) => e.some((t) => {
344
- var r, d, c;
345
- return (c = (d = (r = t == null ? void 0 : t.type) == null ? void 0 : r.attrs) == null ? void 0 : d[1].className) == null ? void 0 : c.includes(s);
167
+ function ge(e) {
168
+ const o = [t.left, t.main];
169
+ return !!e && Array.isArray(e) && o.every((a) => e.some((n) => {
170
+ var l, r, c;
171
+ return (c = (r = (l = n == null ? void 0 : n.type) == null ? void 0 : l.attrs) == null ? void 0 : r[1].className) == null ? void 0 : c.includes(a);
346
172
  }));
347
173
  }
348
- const g = (e) => e ? typeof e == "object" ? e.defaultEnabled ?? !1 : !1 : null, he = (e, n) => {
349
- const [s, t] = G(() => g(e)), r = e && typeof e == "object" && e.saveStateAfterClosing;
350
- J(() => {
351
- !n && !r && t(g(e));
352
- }, [n]);
353
- const d = K(() => {
354
- var m;
174
+ const x = (e) => e ? typeof e == "object" ? e.defaultEnabled ?? !1 : !1 : null, ye = (e, o) => {
175
+ const [a, n] = Q(() => x(e)), l = e && typeof e == "object" && e.saveStateAfterClosing;
176
+ Z(() => {
177
+ !o && !l && n(x(e));
178
+ }, [o]);
179
+ const r = E(() => {
180
+ var f;
355
181
  if (!e)
356
182
  return;
357
- const c = () => t((h) => {
358
- var p, k;
359
- return typeof e != "boolean" && (h ? (k = e == null ? void 0 : e.onExitFullScreen) == null || k.call(e) : (p = e == null ? void 0 : e.onFullScreen) == null || p.call(e)), !h;
183
+ const c = () => n((g) => {
184
+ var y, v;
185
+ return typeof e != "boolean" && (g ? (v = e == null ? void 0 : e.onExitFullScreen) == null || v.call(e) : (y = e == null ? void 0 : e.onFullScreen) == null || y.call(e)), !g;
360
186
  });
361
- document.startViewTransition || c(), (m = document.startViewTransition) == null || m.call(document, c);
187
+ document.startViewTransition || c(), (f = document.startViewTransition) == null || f.call(document, c);
362
188
  }, []);
363
189
  return {
364
- fullScreened: s,
365
- toggleFullScreen: d
190
+ fullScreened: a,
191
+ toggleFullScreen: r
366
192
  };
367
- }, pe = Q(
368
- (e, n) => {
369
- const { fullScreen: s, contentContainerProps: t, children: r, ...d } = e, { fullScreened: c, toggleFullScreen: m } = he(
370
- s,
371
- d.opened
372
- ), h = fe(r), p = h ? { split: !0, view: "30/70" } : { stretch: !0 }, k = h ? r : /* @__PURE__ */ o.jsxDEV("div", { children: r }, void 0, !1, {
373
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/ModalDF/ModalDF.tsx",
374
- lineNumber: 41,
375
- columnNumber: 49
376
- }, void 0);
377
- return /* @__PURE__ */ o.jsxDEV(H, { children: /* @__PURE__ */ o.jsxDEV(
378
- de,
379
- {
380
- onClose: d.onClose,
381
- fullScreened: c,
382
- toggleFullScreen: m,
383
- children: /* @__PURE__ */ o.jsxDEV(O, { ref: n, ...me(e), ...d, children: /* @__PURE__ */ o.jsxDEV(
384
- ie,
385
- {
386
- className: i.container,
387
- $fullScreened: !!c,
388
- roundedInner: !1,
389
- ...p,
390
- ...t,
391
- children: k
392
- },
393
- void 0,
394
- !1,
395
- {
396
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/ModalDF/ModalDF.tsx",
397
- lineNumber: 53,
398
- columnNumber: 13
399
- },
400
- void 0
401
- ) }, void 0, !1, {
402
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/ModalDF/ModalDF.tsx",
403
- lineNumber: 52,
404
- columnNumber: 11
405
- }, void 0)
406
- },
407
- void 0,
408
- !1,
409
- {
410
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/ModalDF/ModalDF.tsx",
411
- lineNumber: 45,
412
- columnNumber: 9
413
- },
414
- void 0
415
- ) }, void 0, !1, {
416
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/ModalDF/ModalDF.tsx",
417
- lineNumber: 44,
418
- columnNumber: 7
419
- }, void 0);
420
- }
421
- ), ke = Object.assign(pe, {
422
- Left: oe,
193
+ }, ve = ee((e, o) => {
194
+ const {
195
+ fullScreen: a,
196
+ contentContainerProps: n,
197
+ children: l,
198
+ ...r
199
+ } = e, {
200
+ fullScreened: c,
201
+ toggleFullScreen: f
202
+ } = ye(a, r.opened), g = ge(l), y = g ? {
203
+ split: !0,
204
+ view: "30/70"
205
+ } : {
206
+ stretch: !0
207
+ }, v = g ? l : /* @__PURE__ */ i("div", { children: l });
208
+ return /* @__PURE__ */ i(P, { children: /* @__PURE__ */ i(de, { onClose: r.onClose, fullScreened: c, toggleFullScreen: f, children: /* @__PURE__ */ i(L, { ref: o, ...ue(e), ...r, children: /* @__PURE__ */ i(ie, { className: t.container, $fullScreened: !!c, roundedInner: !1, ...y, ...n, children: v }) }) }) });
209
+ }), pe = Object.assign(ve, {
210
+ Left: ae,
423
211
  Main: ne,
424
- Header: ue,
425
- Footer: re,
426
- Content: te,
427
- Divider: w,
428
- ServiceButtons: V,
429
- DotsIconButton: ee,
430
- BackIconButton: y
212
+ Header: fe,
213
+ Footer: ce,
214
+ Content: le,
215
+ Divider: B,
216
+ ServiceButtons: I,
217
+ DotsIconButton: oe,
218
+ BackIconButton: _
431
219
  });
432
- ke.displayName = "ModalDF";
220
+ pe.displayName = "ModalDF";
433
221
  export {
434
- ke as ModalDF,
435
- y as ModalDFBackIconButton,
436
- te as ModalDFContent,
437
- w as ModalDFDivider,
438
- ee as ModalDFDotsIconButton,
439
- re as ModalDFFooter,
440
- ue as ModalDFHeader,
441
- oe as ModalDFLeft,
222
+ pe as ModalDF,
223
+ _ as ModalDFBackIconButton,
224
+ le as ModalDFContent,
225
+ B as ModalDFDivider,
226
+ oe as ModalDFDotsIconButton,
227
+ ce as ModalDFFooter,
228
+ fe as ModalDFHeader,
229
+ ae as ModalDFLeft,
442
230
  ne as ModalDFMain,
443
- V as ModalDFServiceButtons,
444
- i as modalDFClassNames
231
+ I as ModalDFServiceButtons,
232
+ t as modalDFClassNames
445
233
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../../chunks/vendor-D8Dozc4m.cjs"),l=require("@salutejs/sdds-finai"),i=require("../ModalDF/index.cjs"),f=require("../../constants/index.cjs"),a=require("react"),e=require("@salutejs/sdds-themes/tokens/sdds_finai"),u=require("styled-components"),D={positive:()=>e.dataPositiveGradient,warning:()=>e.dataWarningGradient,info:()=>e.dataInfoGradient,negative:()=>e.dataNegativeGradient,default:()=>e.surfaceSolidCard},h={positive:e.textPositive,warning:e.textWarning,info:e.textInfo,negative:e.textNegative},j=u(i.ModalDF).withConfig({displayName:"ModalDFConfirmationstyled__StyledModalDF"})(["& .","{position:relative;overflow:hidden;padding-top:",";}& .","::after{content:'';position:absolute;z-index:-2;height:804px;width:804px;top:-610px;left:calc(50% - 402px);background:",";}"],i.modalDFClassNames.container,({$view:n})=>n?"76px":"0",i.modalDFClassNames.container,({$view:n})=>n?D[n]:D.default),E=u.div.withConfig({displayName:"ModalDFConfirmationstyled__StyledIconBlock"})(["position:absolute;z-index:-1;left:0;right:0;top:0;bottom:0;padding-top:35px;display:flex;justify-content:center;"]),y=u(i.ModalDFServiceButtons).withConfig({displayName:"ModalDFConfirmationstyled__StyledServiceButtons"})(["position:absolute;top:16px;right:16px;"]),w=a.forwardRef(({content:n,view:t,icon:s,...F},M)=>{const{header:v,body:m,bodyMarginBlock:N,mainButton:r,secondaryButton:d,footer:k}=n??{},C=!!(r||d),g=N??(typeof m=="string"?f.s.x4:void 0),b=a.Children.map(s,c=>{if(a.isValidElement(c))return a.cloneElement(c,{size:"m",color:t?h[t]:""})});return o.jsxDevRuntimeExports.jsxDEV(j,{ref:M,$view:t,...F,children:[o.jsxDevRuntimeExports.jsxDEV(i.ModalDF.Main,{children:[o.jsxDevRuntimeExports.jsxDEV(i.ModalDF.Header,{title:v,showServiceButtons:!(t&&s)},void 0,!1,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/ModalDFConfirmation/ModalDFConfirmation.tsx",lineNumber:99,columnNumber:11},void 0),o.jsxDevRuntimeExports.jsxDEV(i.ModalDF.Content,{$css:{marginBlock:g},children:m},void 0,!1,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/ModalDFConfirmation/ModalDFConfirmation.tsx",lineNumber:100,columnNumber:11},void 0),k??(C&&o.jsxDevRuntimeExports.jsxDEV(i.ModalDF.Footer,{rightBlock:o.jsxDevRuntimeExports.jsxDEV(l.Flow,{mainAxisGap:f.s.x4,children:[d&&o.jsxDevRuntimeExports.jsxDEV(l.Button,{view:"secondary",size:"s",...d},void 0,!1,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/ModalDFConfirmation/ModalDFConfirmation.tsx",lineNumber:109,columnNumber:15},void 0),r&&o.jsxDevRuntimeExports.jsxDEV(l.Button,{view:"accent",size:"s",...r},void 0,!1,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/ModalDFConfirmation/ModalDFConfirmation.tsx",lineNumber:112,columnNumber:15},void 0)]},void 0,!0,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/ModalDFConfirmation/ModalDFConfirmation.tsx",lineNumber:107,columnNumber:13},void 0)},void 0,!1,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/ModalDFConfirmation/ModalDFConfirmation.tsx",lineNumber:105,columnNumber:11},void 0))]},void 0,!0,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/ModalDFConfirmation/ModalDFConfirmation.tsx",lineNumber:98,columnNumber:9},void 0),t&&s&&o.jsxDevRuntimeExports.jsxDEV(o.jsxDevRuntimeExports.Fragment,{children:[o.jsxDevRuntimeExports.jsxDEV(y,{hasBackground:!1},void 0,!1,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/ModalDFConfirmation/ModalDFConfirmation.tsx",lineNumber:121,columnNumber:13},void 0),o.jsxDevRuntimeExports.jsxDEV(E,{children:b},void 0,!1,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/ModalDFConfirmation/ModalDFConfirmation.tsx",lineNumber:122,columnNumber:13},void 0)]},void 0,!0,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/ModalDFConfirmation/ModalDFConfirmation.tsx",lineNumber:120,columnNumber:9},void 0)]},void 0,!0,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/ModalDFConfirmation/ModalDFConfirmation.tsx",lineNumber:97,columnNumber:7},void 0)}),p=i.ModalDF.Footer,x=Object.assign(w,{Footer:p});x.displayName="ModalDFConfirmation";exports.ModalDFConfirmation=x;exports.ModalDFConfirmationFooter=p;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),l=require("@salutejs/sdds-finai"),e=require("../ModalDF/index.cjs"),p=require("../../constants/index.cjs"),a=require("react"),o=require("@salutejs/sdds-themes/tokens/sdds_finai"),c=require("styled-components"),x={positive:()=>o.dataPositiveGradient,warning:()=>o.dataWarningGradient,info:()=>o.dataInfoGradient,negative:()=>o.dataNegativeGradient,default:()=>o.surfaceSolidCard},B={positive:o.textPositive,warning:o.textWarning,info:o.textInfo,negative:o.textNegative},S=c(e.ModalDF).withConfig({displayName:"ModalDFConfirmationstyled__StyledModalDF"})(["& .","{position:relative;overflow:hidden;padding-top:",";}& .","::after{content:'';position:absolute;z-index:-2;height:804px;width:804px;top:-610px;left:calc(50% - 402px);background:",";}"],e.modalDFClassNames.container,({$view:n})=>n?"76px":"0",e.modalDFClassNames.container,({$view:n})=>n?x[n]:x.default),b=c.div.withConfig({displayName:"ModalDFConfirmationstyled__StyledIconBlock"})(["position:absolute;z-index:-1;left:0;right:0;top:0;bottom:0;padding-top:35px;display:flex;justify-content:center;"]),w=c(e.ModalDFServiceButtons).withConfig({displayName:"ModalDFConfirmationstyled__StyledServiceButtons"})(["position:absolute;top:16px;right:16px;"]),N=a.forwardRef(({content:n,view:i,icon:s,...g},y)=>{const{header:M,body:f,bodyMarginBlock:D,mainButton:d,secondaryButton:r,footer:h}=n??{},C=!!(d||r),v=D??(typeof f=="string"?p.s.x4:void 0),j=a.Children.map(s,u=>{if(a.isValidElement(u))return a.cloneElement(u,{size:"m",color:i?B[i]:""})});return t.jsxs(S,{ref:y,$view:i,...g,children:[t.jsxs(e.ModalDF.Main,{children:[t.jsx(e.ModalDF.Header,{title:M,showServiceButtons:!(i&&s)}),t.jsx(e.ModalDF.Content,{$css:{marginBlock:v},children:f}),h??(C&&t.jsx(e.ModalDF.Footer,{rightBlock:t.jsxs(l.Flow,{mainAxisGap:p.s.x4,children:[r&&t.jsx(l.Button,{view:"secondary",size:"s",...r}),d&&t.jsx(l.Button,{view:"accent",size:"s",...d})]})}))]}),i&&s&&t.jsxs(t.Fragment,{children:[t.jsx(w,{hasBackground:!1}),t.jsx(b,{children:j})]})]})}),F=e.ModalDF.Footer,m=Object.assign(N,{Footer:F});m.displayName="ModalDFConfirmation";exports.ModalDFConfirmation=m;exports.ModalDFConfirmationFooter=F;