@redneckz/wildless-cms-uni-blocks 0.14.752 → 0.14.754

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 (601) hide show
  1. package/bundle/api/RetailAPI/getTraceId.d.ts +1 -0
  2. package/bundle/bundle.umd.js +131 -134
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/bundle/components/OfficesAtmsMap/FiltrationForm.d.ts +0 -2
  5. package/bundle/components/RollupItem/RollupItem.d.ts +0 -4
  6. package/bundle/hooks/useRetailFormStore.d.ts +1 -0
  7. package/bundle/ui-kit/Button/Button.d.ts +7 -3
  8. package/bundle/ui-kit/Button/ButtonTitle.d.ts +5 -0
  9. package/bundle/ui-kit/Button/SubmitButton.d.ts +5 -0
  10. package/bundle/ui-kit/ControlStateProps.d.ts +0 -1
  11. package/bundle/ui-kit/Foldable/DefaultFoldButton.d.ts +4 -11
  12. package/bundle/ui-kit/Foldable/Foldable.d.ts +2 -1
  13. package/bundle/ui-kit/Icon/IconProps.d.ts +12 -0
  14. package/bundle/ui-kit/Icon/ToggleIcon.d.ts +6 -0
  15. package/bundle/ui-kit/Input/InputPopup.d.ts +2 -1
  16. package/dist/api/RetailAPI/doRequest.js +5 -0
  17. package/dist/api/RetailAPI/doRequest.js.map +1 -1
  18. package/dist/api/RetailAPI/getGenderFromName.js +7 -5
  19. package/dist/api/RetailAPI/getGenderFromName.js.map +1 -1
  20. package/dist/api/RetailAPI/getTraceId.d.ts +1 -0
  21. package/dist/api/RetailAPI/getTraceId.js +9 -0
  22. package/dist/api/RetailAPI/getTraceId.js.map +1 -0
  23. package/dist/components/ApplicationForm/renderAgreementSubmit.js +2 -2
  24. package/dist/components/ApplicationForm/renderAgreementSubmit.js.map +1 -1
  25. package/dist/components/ApplicationLeadForm/GroupedConsents.js +3 -2
  26. package/dist/components/ApplicationLeadForm/GroupedConsents.js.map +1 -1
  27. package/dist/components/ApplicationLeadForm/renderSubmitButton.js +2 -3
  28. package/dist/components/ApplicationLeadForm/renderSubmitButton.js.map +1 -1
  29. package/dist/components/CardTransfer/CardTransfer.js +2 -2
  30. package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  31. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +5 -9
  32. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  33. package/dist/components/CreditCardForm/ReworkStatusContent.js +12 -2
  34. package/dist/components/CreditCardForm/ReworkStatusContent.js.map +1 -1
  35. package/dist/components/CreditCardForm/StepsNavigationButtons.js +2 -1
  36. package/dist/components/CreditCardForm/StepsNavigationButtons.js.map +1 -1
  37. package/dist/components/CreditCardForm/useCreditCardFormAPI.js +1 -0
  38. package/dist/components/CreditCardForm/useCreditCardFormAPI.js.map +1 -1
  39. package/dist/components/CreditForm/StepsNavigationButtons.js +2 -1
  40. package/dist/components/CreditForm/StepsNavigationButtons.js.map +1 -1
  41. package/dist/components/Depository/DepositoryItem.js +2 -2
  42. package/dist/components/Depository/DepositoryItem.js.map +1 -1
  43. package/dist/components/OfficesAtmsMap/FiltrationForm.d.ts +0 -2
  44. package/dist/components/OfficesAtmsMap/FiltrationForm.js +5 -6
  45. package/dist/components/OfficesAtmsMap/FiltrationForm.js.map +1 -1
  46. package/dist/components/OfficesAtmsMap/FoldableCardContent.js +2 -2
  47. package/dist/components/OfficesAtmsMap/FoldableCardContent.js.map +1 -1
  48. package/dist/components/OfficesAtmsMap/renderAtmCard.js +1 -2
  49. package/dist/components/OfficesAtmsMap/renderAtmCard.js.map +1 -1
  50. package/dist/components/OfficesAtmsMap/renderOfficeCard.js +1 -1
  51. package/dist/components/OfficesAtmsMap/renderOfficeCard.js.map +1 -1
  52. package/dist/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js +1 -1
  53. package/dist/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js.map +1 -1
  54. package/dist/components/RollupItem/RollupItem.d.ts +0 -4
  55. package/dist/components/RollupItem/RollupItem.js +4 -20
  56. package/dist/components/RollupItem/RollupItem.js.map +1 -1
  57. package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +2 -2
  58. package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  59. package/dist/components/TariffsTable/TariffsTable.js +1 -1
  60. package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  61. package/dist/hooks/useRetailFormStore.d.ts +1 -0
  62. package/dist/hooks/useRetailFormStore.js.map +1 -1
  63. package/dist/ui-kit/BaseFiltration/GridBlocks.js +2 -2
  64. package/dist/ui-kit/BaseFiltration/GridBlocks.js.map +1 -1
  65. package/dist/ui-kit/Button/Button.d.ts +7 -3
  66. package/dist/ui-kit/Button/Button.js +15 -17
  67. package/dist/ui-kit/Button/Button.js.map +1 -1
  68. package/dist/ui-kit/Button/ButtonTitle.d.ts +5 -0
  69. package/dist/ui-kit/Button/ButtonTitle.js +7 -0
  70. package/dist/ui-kit/Button/ButtonTitle.js.map +1 -0
  71. package/dist/ui-kit/Button/SubmitButton.d.ts +5 -0
  72. package/dist/ui-kit/Button/SubmitButton.js +8 -0
  73. package/dist/ui-kit/Button/SubmitButton.js.map +1 -0
  74. package/dist/ui-kit/CaptchaDialog/CaptchaDialog.js +2 -1
  75. package/dist/ui-kit/CaptchaDialog/CaptchaDialog.js.map +1 -1
  76. package/dist/ui-kit/ControlStateProps.d.ts +0 -1
  77. package/dist/ui-kit/Foldable/DefaultFoldButton.d.ts +4 -11
  78. package/dist/ui-kit/Foldable/DefaultFoldButton.js +5 -12
  79. package/dist/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
  80. package/dist/ui-kit/Foldable/Foldable.d.ts +2 -1
  81. package/dist/ui-kit/Foldable/Foldable.js +1 -1
  82. package/dist/ui-kit/Foldable/Foldable.js.map +1 -1
  83. package/dist/ui-kit/FormField/validators.js +2 -2
  84. package/dist/ui-kit/FormField/validators.js.map +1 -1
  85. package/dist/ui-kit/Icon/Icon.js +16 -11
  86. package/dist/ui-kit/Icon/Icon.js.map +1 -1
  87. package/dist/ui-kit/Icon/IconProps.d.ts +12 -0
  88. package/dist/ui-kit/Icon/RoundedIcon.js +1 -1
  89. package/dist/ui-kit/Icon/RoundedIcon.js.map +1 -1
  90. package/dist/ui-kit/Icon/ToggleIcon.d.ts +6 -0
  91. package/dist/ui-kit/Icon/ToggleIcon.js +7 -0
  92. package/dist/ui-kit/Icon/ToggleIcon.js.map +1 -0
  93. package/dist/ui-kit/Input/InputPopup.d.ts +2 -1
  94. package/dist/ui-kit/Input/InputPopup.js +29 -1
  95. package/dist/ui-kit/Input/InputPopup.js.map +1 -1
  96. package/dist/ui-kit/Input/useInputPopup.js +4 -3
  97. package/dist/ui-kit/Input/useInputPopup.js.map +1 -1
  98. package/dist/ui-kit/Loader/Loader.js +1 -1
  99. package/dist/ui-kit/Loader/Loader.js.map +1 -1
  100. package/dist/ui-kit/Sitemap/Sitemap.mobile.js +14 -2
  101. package/dist/ui-kit/Sitemap/Sitemap.mobile.js.map +1 -1
  102. package/lib/api/RetailAPI/doRequest.js +5 -0
  103. package/lib/api/RetailAPI/doRequest.js.map +1 -1
  104. package/lib/api/RetailAPI/getGenderFromName.js +7 -5
  105. package/lib/api/RetailAPI/getGenderFromName.js.map +1 -1
  106. package/lib/api/RetailAPI/getTraceId.d.ts +1 -0
  107. package/lib/api/RetailAPI/getTraceId.js +6 -0
  108. package/lib/api/RetailAPI/getTraceId.js.map +1 -0
  109. package/lib/common.css +1 -1
  110. package/lib/components/ApplicationForm/renderAgreementSubmit.js +2 -2
  111. package/lib/components/ApplicationForm/renderAgreementSubmit.js.map +1 -1
  112. package/lib/components/ApplicationLeadForm/GroupedConsents.js +3 -2
  113. package/lib/components/ApplicationLeadForm/GroupedConsents.js.map +1 -1
  114. package/lib/components/ApplicationLeadForm/renderSubmitButton.js +2 -3
  115. package/lib/components/ApplicationLeadForm/renderSubmitButton.js.map +1 -1
  116. package/lib/components/CardTransfer/CardTransfer.js +2 -2
  117. package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  118. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +6 -10
  119. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  120. package/lib/components/CreditCardForm/ReworkStatusContent.js +12 -2
  121. package/lib/components/CreditCardForm/ReworkStatusContent.js.map +1 -1
  122. package/lib/components/CreditCardForm/StepsNavigationButtons.js +2 -1
  123. package/lib/components/CreditCardForm/StepsNavigationButtons.js.map +1 -1
  124. package/lib/components/CreditCardForm/useCreditCardFormAPI.js +1 -0
  125. package/lib/components/CreditCardForm/useCreditCardFormAPI.js.map +1 -1
  126. package/lib/components/CreditForm/StepsNavigationButtons.js +2 -1
  127. package/lib/components/CreditForm/StepsNavigationButtons.js.map +1 -1
  128. package/lib/components/Depository/DepositoryItem.js +2 -2
  129. package/lib/components/Depository/DepositoryItem.js.map +1 -1
  130. package/lib/components/OfficesAtmsMap/FiltrationForm.d.ts +0 -2
  131. package/lib/components/OfficesAtmsMap/FiltrationForm.js +4 -4
  132. package/lib/components/OfficesAtmsMap/FiltrationForm.js.map +1 -1
  133. package/lib/components/OfficesAtmsMap/FoldableCardContent.js +2 -2
  134. package/lib/components/OfficesAtmsMap/FoldableCardContent.js.map +1 -1
  135. package/lib/components/OfficesAtmsMap/renderAtmCard.js +1 -2
  136. package/lib/components/OfficesAtmsMap/renderAtmCard.js.map +1 -1
  137. package/lib/components/OfficesAtmsMap/renderOfficeCard.js +1 -1
  138. package/lib/components/OfficesAtmsMap/renderOfficeCard.js.map +1 -1
  139. package/lib/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js +1 -1
  140. package/lib/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js.map +1 -1
  141. package/lib/components/RollupItem/RollupItem.d.ts +0 -4
  142. package/lib/components/RollupItem/RollupItem.js +4 -20
  143. package/lib/components/RollupItem/RollupItem.js.map +1 -1
  144. package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +2 -2
  145. package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  146. package/lib/components/TariffsTable/TariffsTable.js +2 -2
  147. package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  148. package/lib/hooks/useRetailFormStore.d.ts +1 -0
  149. package/lib/hooks/useRetailFormStore.js.map +1 -1
  150. package/lib/ui-kit/BaseFiltration/GridBlocks.js +2 -2
  151. package/lib/ui-kit/BaseFiltration/GridBlocks.js.map +1 -1
  152. package/lib/ui-kit/Button/Button.d.ts +7 -3
  153. package/lib/ui-kit/Button/Button.js +16 -18
  154. package/lib/ui-kit/Button/Button.js.map +1 -1
  155. package/lib/ui-kit/Button/ButtonTitle.d.ts +5 -0
  156. package/lib/ui-kit/Button/ButtonTitle.js +5 -0
  157. package/lib/ui-kit/Button/ButtonTitle.js.map +1 -0
  158. package/lib/ui-kit/Button/SubmitButton.d.ts +5 -0
  159. package/lib/ui-kit/Button/SubmitButton.js +6 -0
  160. package/lib/ui-kit/Button/SubmitButton.js.map +1 -0
  161. package/lib/ui-kit/CaptchaDialog/CaptchaDialog.js +2 -1
  162. package/lib/ui-kit/CaptchaDialog/CaptchaDialog.js.map +1 -1
  163. package/lib/ui-kit/ControlStateProps.d.ts +0 -1
  164. package/lib/ui-kit/Foldable/DefaultFoldButton.d.ts +4 -11
  165. package/lib/ui-kit/Foldable/DefaultFoldButton.js +5 -11
  166. package/lib/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
  167. package/lib/ui-kit/Foldable/Foldable.d.ts +2 -1
  168. package/lib/ui-kit/Foldable/Foldable.js +1 -1
  169. package/lib/ui-kit/Foldable/Foldable.js.map +1 -1
  170. package/lib/ui-kit/FormField/validators.js +2 -2
  171. package/lib/ui-kit/FormField/validators.js.map +1 -1
  172. package/lib/ui-kit/Icon/Icon.js +16 -11
  173. package/lib/ui-kit/Icon/Icon.js.map +1 -1
  174. package/lib/ui-kit/Icon/IconProps.d.ts +12 -0
  175. package/lib/ui-kit/Icon/RoundedIcon.js +1 -1
  176. package/lib/ui-kit/Icon/RoundedIcon.js.map +1 -1
  177. package/lib/ui-kit/Icon/ToggleIcon.d.ts +6 -0
  178. package/lib/ui-kit/Icon/ToggleIcon.js +5 -0
  179. package/lib/ui-kit/Icon/ToggleIcon.js.map +1 -0
  180. package/lib/ui-kit/Input/InputPopup.d.ts +2 -1
  181. package/lib/ui-kit/Input/InputPopup.js +29 -1
  182. package/lib/ui-kit/Input/InputPopup.js.map +1 -1
  183. package/lib/ui-kit/Input/useInputPopup.js +4 -3
  184. package/lib/ui-kit/Input/useInputPopup.js.map +1 -1
  185. package/lib/ui-kit/Loader/Loader.js +1 -1
  186. package/lib/ui-kit/Loader/Loader.js.map +1 -1
  187. package/lib/ui-kit/Sitemap/Sitemap.mobile.js +15 -3
  188. package/lib/ui-kit/Sitemap/Sitemap.mobile.js.map +1 -1
  189. package/mobile/bundle/api/RetailAPI/getTraceId.d.ts +1 -0
  190. package/mobile/bundle/bundle.umd.js +148 -146
  191. package/mobile/bundle/bundle.umd.min.js +1 -1
  192. package/mobile/bundle/components/OfficesAtmsMap/FiltrationForm.d.ts +0 -2
  193. package/mobile/bundle/components/RollupItem/RollupItem.d.ts +0 -4
  194. package/mobile/bundle/hooks/useRetailFormStore.d.ts +1 -0
  195. package/mobile/bundle/ui-kit/Button/Button.d.ts +7 -3
  196. package/mobile/bundle/ui-kit/Button/ButtonTitle.d.ts +5 -0
  197. package/mobile/bundle/ui-kit/Button/SubmitButton.d.ts +5 -0
  198. package/mobile/bundle/ui-kit/ControlStateProps.d.ts +0 -1
  199. package/mobile/bundle/ui-kit/Foldable/DefaultFoldButton.d.ts +4 -11
  200. package/mobile/bundle/ui-kit/Foldable/Foldable.d.ts +2 -1
  201. package/mobile/bundle/ui-kit/Icon/IconProps.d.ts +12 -0
  202. package/mobile/bundle/ui-kit/Icon/ToggleIcon.d.ts +6 -0
  203. package/mobile/bundle/ui-kit/Input/InputPopup.d.ts +2 -1
  204. package/mobile/dist/api/RetailAPI/doRequest.js +5 -0
  205. package/mobile/dist/api/RetailAPI/doRequest.js.map +1 -1
  206. package/mobile/dist/api/RetailAPI/getGenderFromName.js +7 -5
  207. package/mobile/dist/api/RetailAPI/getGenderFromName.js.map +1 -1
  208. package/mobile/dist/api/RetailAPI/getTraceId.d.ts +1 -0
  209. package/mobile/dist/api/RetailAPI/getTraceId.js +9 -0
  210. package/mobile/dist/api/RetailAPI/getTraceId.js.map +1 -0
  211. package/mobile/dist/components/ApplicationForm/renderAgreementSubmit.js +2 -2
  212. package/mobile/dist/components/ApplicationForm/renderAgreementSubmit.js.map +1 -1
  213. package/mobile/dist/components/ApplicationLeadForm/GroupedConsents.js +3 -2
  214. package/mobile/dist/components/ApplicationLeadForm/GroupedConsents.js.map +1 -1
  215. package/mobile/dist/components/ApplicationLeadForm/renderSubmitButton.js +2 -3
  216. package/mobile/dist/components/ApplicationLeadForm/renderSubmitButton.js.map +1 -1
  217. package/mobile/dist/components/CardTransfer/CardTransfer.js +2 -2
  218. package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  219. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +5 -9
  220. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  221. package/mobile/dist/components/CreditCardForm/ReworkStatusContent.js +12 -2
  222. package/mobile/dist/components/CreditCardForm/ReworkStatusContent.js.map +1 -1
  223. package/mobile/dist/components/CreditCardForm/StepsNavigationButtons.js +2 -1
  224. package/mobile/dist/components/CreditCardForm/StepsNavigationButtons.js.map +1 -1
  225. package/mobile/dist/components/CreditCardForm/useCreditCardFormAPI.js +1 -0
  226. package/mobile/dist/components/CreditCardForm/useCreditCardFormAPI.js.map +1 -1
  227. package/mobile/dist/components/CreditForm/StepsNavigationButtons.js +2 -1
  228. package/mobile/dist/components/CreditForm/StepsNavigationButtons.js.map +1 -1
  229. package/mobile/dist/components/Depository/DepositoryItem.js +2 -2
  230. package/mobile/dist/components/Depository/DepositoryItem.js.map +1 -1
  231. package/mobile/dist/components/OfficesAtmsMap/FiltrationForm.d.ts +0 -2
  232. package/mobile/dist/components/OfficesAtmsMap/FiltrationForm.js +5 -6
  233. package/mobile/dist/components/OfficesAtmsMap/FiltrationForm.js.map +1 -1
  234. package/mobile/dist/components/OfficesAtmsMap/FoldableCardContent.js +2 -2
  235. package/mobile/dist/components/OfficesAtmsMap/FoldableCardContent.js.map +1 -1
  236. package/mobile/dist/components/OfficesAtmsMap/renderAtmCard.js +1 -2
  237. package/mobile/dist/components/OfficesAtmsMap/renderAtmCard.js.map +1 -1
  238. package/mobile/dist/components/OfficesAtmsMap/renderOfficeCard.js +1 -1
  239. package/mobile/dist/components/OfficesAtmsMap/renderOfficeCard.js.map +1 -1
  240. package/mobile/dist/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js +1 -1
  241. package/mobile/dist/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js.map +1 -1
  242. package/mobile/dist/components/RollupItem/RollupItem.d.ts +0 -4
  243. package/mobile/dist/components/RollupItem/RollupItem.js +4 -20
  244. package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
  245. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +2 -2
  246. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  247. package/mobile/dist/components/TariffsTable/TariffsTable.js +1 -1
  248. package/mobile/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  249. package/mobile/dist/hooks/useRetailFormStore.d.ts +1 -0
  250. package/mobile/dist/hooks/useRetailFormStore.js.map +1 -1
  251. package/mobile/dist/ui-kit/BaseFiltration/GridBlocks.js +2 -2
  252. package/mobile/dist/ui-kit/BaseFiltration/GridBlocks.js.map +1 -1
  253. package/mobile/dist/ui-kit/Button/Button.d.ts +7 -3
  254. package/mobile/dist/ui-kit/Button/Button.js +15 -17
  255. package/mobile/dist/ui-kit/Button/Button.js.map +1 -1
  256. package/mobile/dist/ui-kit/Button/ButtonTitle.d.ts +5 -0
  257. package/mobile/dist/ui-kit/Button/ButtonTitle.js +7 -0
  258. package/mobile/dist/ui-kit/Button/ButtonTitle.js.map +1 -0
  259. package/mobile/dist/ui-kit/Button/SubmitButton.d.ts +5 -0
  260. package/mobile/dist/ui-kit/Button/SubmitButton.js +8 -0
  261. package/mobile/dist/ui-kit/Button/SubmitButton.js.map +1 -0
  262. package/mobile/dist/ui-kit/CaptchaDialog/CaptchaDialog.js +2 -1
  263. package/mobile/dist/ui-kit/CaptchaDialog/CaptchaDialog.js.map +1 -1
  264. package/mobile/dist/ui-kit/ControlStateProps.d.ts +0 -1
  265. package/mobile/dist/ui-kit/Foldable/DefaultFoldButton.d.ts +4 -11
  266. package/mobile/dist/ui-kit/Foldable/DefaultFoldButton.js +5 -12
  267. package/mobile/dist/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
  268. package/mobile/dist/ui-kit/Foldable/Foldable.d.ts +2 -1
  269. package/mobile/dist/ui-kit/Foldable/Foldable.js +1 -1
  270. package/mobile/dist/ui-kit/Foldable/Foldable.js.map +1 -1
  271. package/mobile/dist/ui-kit/FormField/validators.js +2 -2
  272. package/mobile/dist/ui-kit/FormField/validators.js.map +1 -1
  273. package/mobile/dist/ui-kit/Icon/Icon.js +16 -11
  274. package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
  275. package/mobile/dist/ui-kit/Icon/IconProps.d.ts +12 -0
  276. package/mobile/dist/ui-kit/Icon/RoundedIcon.js +1 -1
  277. package/mobile/dist/ui-kit/Icon/RoundedIcon.js.map +1 -1
  278. package/mobile/dist/ui-kit/Icon/ToggleIcon.d.ts +6 -0
  279. package/mobile/dist/ui-kit/Icon/ToggleIcon.js +7 -0
  280. package/mobile/dist/ui-kit/Icon/ToggleIcon.js.map +1 -0
  281. package/mobile/dist/ui-kit/Input/InputPopup.d.ts +2 -1
  282. package/mobile/dist/ui-kit/Input/InputPopup.js +29 -1
  283. package/mobile/dist/ui-kit/Input/InputPopup.js.map +1 -1
  284. package/mobile/dist/ui-kit/Input/useInputPopup.js +4 -3
  285. package/mobile/dist/ui-kit/Input/useInputPopup.js.map +1 -1
  286. package/mobile/dist/ui-kit/Loader/Loader.js +1 -1
  287. package/mobile/dist/ui-kit/Loader/Loader.js.map +1 -1
  288. package/mobile/dist/ui-kit/Sitemap/Sitemap.js +14 -2
  289. package/mobile/dist/ui-kit/Sitemap/Sitemap.js.map +1 -1
  290. package/mobile/lib/api/RetailAPI/doRequest.js +5 -0
  291. package/mobile/lib/api/RetailAPI/doRequest.js.map +1 -1
  292. package/mobile/lib/api/RetailAPI/getGenderFromName.js +7 -5
  293. package/mobile/lib/api/RetailAPI/getGenderFromName.js.map +1 -1
  294. package/mobile/lib/api/RetailAPI/getTraceId.d.ts +1 -0
  295. package/mobile/lib/api/RetailAPI/getTraceId.js +6 -0
  296. package/mobile/lib/api/RetailAPI/getTraceId.js.map +1 -0
  297. package/mobile/lib/common.css +1 -1
  298. package/mobile/lib/components/ApplicationForm/renderAgreementSubmit.js +2 -2
  299. package/mobile/lib/components/ApplicationForm/renderAgreementSubmit.js.map +1 -1
  300. package/mobile/lib/components/ApplicationLeadForm/GroupedConsents.js +3 -2
  301. package/mobile/lib/components/ApplicationLeadForm/GroupedConsents.js.map +1 -1
  302. package/mobile/lib/components/ApplicationLeadForm/renderSubmitButton.js +2 -3
  303. package/mobile/lib/components/ApplicationLeadForm/renderSubmitButton.js.map +1 -1
  304. package/mobile/lib/components/CardTransfer/CardTransfer.js +2 -2
  305. package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  306. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +6 -10
  307. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  308. package/mobile/lib/components/CreditCardForm/ReworkStatusContent.js +12 -2
  309. package/mobile/lib/components/CreditCardForm/ReworkStatusContent.js.map +1 -1
  310. package/mobile/lib/components/CreditCardForm/StepsNavigationButtons.js +2 -1
  311. package/mobile/lib/components/CreditCardForm/StepsNavigationButtons.js.map +1 -1
  312. package/mobile/lib/components/CreditCardForm/useCreditCardFormAPI.js +1 -0
  313. package/mobile/lib/components/CreditCardForm/useCreditCardFormAPI.js.map +1 -1
  314. package/mobile/lib/components/CreditForm/StepsNavigationButtons.js +2 -1
  315. package/mobile/lib/components/CreditForm/StepsNavigationButtons.js.map +1 -1
  316. package/mobile/lib/components/Depository/DepositoryItem.js +2 -2
  317. package/mobile/lib/components/Depository/DepositoryItem.js.map +1 -1
  318. package/mobile/lib/components/OfficesAtmsMap/FiltrationForm.d.ts +0 -2
  319. package/mobile/lib/components/OfficesAtmsMap/FiltrationForm.js +4 -4
  320. package/mobile/lib/components/OfficesAtmsMap/FiltrationForm.js.map +1 -1
  321. package/mobile/lib/components/OfficesAtmsMap/FoldableCardContent.js +2 -2
  322. package/mobile/lib/components/OfficesAtmsMap/FoldableCardContent.js.map +1 -1
  323. package/mobile/lib/components/OfficesAtmsMap/renderAtmCard.js +1 -2
  324. package/mobile/lib/components/OfficesAtmsMap/renderAtmCard.js.map +1 -1
  325. package/mobile/lib/components/OfficesAtmsMap/renderOfficeCard.js +1 -1
  326. package/mobile/lib/components/OfficesAtmsMap/renderOfficeCard.js.map +1 -1
  327. package/mobile/lib/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js +1 -1
  328. package/mobile/lib/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js.map +1 -1
  329. package/mobile/lib/components/RollupItem/RollupItem.d.ts +0 -4
  330. package/mobile/lib/components/RollupItem/RollupItem.js +4 -20
  331. package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
  332. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +2 -2
  333. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  334. package/mobile/lib/components/TariffsTable/TariffsTable.js +2 -2
  335. package/mobile/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  336. package/mobile/lib/hooks/useRetailFormStore.d.ts +1 -0
  337. package/mobile/lib/hooks/useRetailFormStore.js.map +1 -1
  338. package/mobile/lib/ui-kit/BaseFiltration/GridBlocks.js +2 -2
  339. package/mobile/lib/ui-kit/BaseFiltration/GridBlocks.js.map +1 -1
  340. package/mobile/lib/ui-kit/Button/Button.d.ts +7 -3
  341. package/mobile/lib/ui-kit/Button/Button.js +16 -18
  342. package/mobile/lib/ui-kit/Button/Button.js.map +1 -1
  343. package/mobile/lib/ui-kit/Button/ButtonTitle.d.ts +5 -0
  344. package/mobile/lib/ui-kit/Button/ButtonTitle.js +5 -0
  345. package/mobile/lib/ui-kit/Button/ButtonTitle.js.map +1 -0
  346. package/mobile/lib/ui-kit/Button/SubmitButton.d.ts +5 -0
  347. package/mobile/lib/ui-kit/Button/SubmitButton.js +6 -0
  348. package/mobile/lib/ui-kit/Button/SubmitButton.js.map +1 -0
  349. package/mobile/lib/ui-kit/CaptchaDialog/CaptchaDialog.js +2 -1
  350. package/mobile/lib/ui-kit/CaptchaDialog/CaptchaDialog.js.map +1 -1
  351. package/mobile/lib/ui-kit/ControlStateProps.d.ts +0 -1
  352. package/mobile/lib/ui-kit/Foldable/DefaultFoldButton.d.ts +4 -11
  353. package/mobile/lib/ui-kit/Foldable/DefaultFoldButton.js +5 -11
  354. package/mobile/lib/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
  355. package/mobile/lib/ui-kit/Foldable/Foldable.d.ts +2 -1
  356. package/mobile/lib/ui-kit/Foldable/Foldable.js +1 -1
  357. package/mobile/lib/ui-kit/Foldable/Foldable.js.map +1 -1
  358. package/mobile/lib/ui-kit/FormField/validators.js +2 -2
  359. package/mobile/lib/ui-kit/FormField/validators.js.map +1 -1
  360. package/mobile/lib/ui-kit/Icon/Icon.js +16 -11
  361. package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
  362. package/mobile/lib/ui-kit/Icon/IconProps.d.ts +12 -0
  363. package/mobile/lib/ui-kit/Icon/RoundedIcon.js +1 -1
  364. package/mobile/lib/ui-kit/Icon/RoundedIcon.js.map +1 -1
  365. package/mobile/lib/ui-kit/Icon/ToggleIcon.d.ts +6 -0
  366. package/mobile/lib/ui-kit/Icon/ToggleIcon.js +5 -0
  367. package/mobile/lib/ui-kit/Icon/ToggleIcon.js.map +1 -0
  368. package/mobile/lib/ui-kit/Input/InputPopup.d.ts +2 -1
  369. package/mobile/lib/ui-kit/Input/InputPopup.js +29 -1
  370. package/mobile/lib/ui-kit/Input/InputPopup.js.map +1 -1
  371. package/mobile/lib/ui-kit/Input/useInputPopup.js +4 -3
  372. package/mobile/lib/ui-kit/Input/useInputPopup.js.map +1 -1
  373. package/mobile/lib/ui-kit/Loader/Loader.js +1 -1
  374. package/mobile/lib/ui-kit/Loader/Loader.js.map +1 -1
  375. package/mobile/lib/ui-kit/Sitemap/Sitemap.js +15 -3
  376. package/mobile/lib/ui-kit/Sitemap/Sitemap.js.map +1 -1
  377. package/mobile/src/api/RetailAPI/doRequest.ts +6 -0
  378. package/mobile/src/api/RetailAPI/getGenderFromName.ts +7 -10
  379. package/mobile/src/api/RetailAPI/getTraceId.ts +6 -0
  380. package/mobile/src/components/ApplicationForm/renderAgreementSubmit.tsx +5 -2
  381. package/mobile/src/components/ApplicationLeadForm/GroupedConsents.tsx +5 -2
  382. package/mobile/src/components/ApplicationLeadForm/renderSubmitButton.tsx +3 -4
  383. package/mobile/src/components/CardTransfer/CardTransfer.tsx +3 -3
  384. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +19 -27
  385. package/mobile/src/components/CreditCardForm/ReworkStatusContent.tsx +21 -7
  386. package/mobile/src/components/CreditCardForm/StepsNavigationButtons.tsx +3 -2
  387. package/mobile/src/components/CreditCardForm/useCreditCardFormAPI.tsx +1 -0
  388. package/mobile/src/components/CreditForm/StepsNavigationButtons.tsx +3 -2
  389. package/mobile/src/components/Depository/DepositoryItem.tsx +2 -2
  390. package/mobile/src/components/OfficesAtmsMap/FiltrationForm.tsx +17 -29
  391. package/mobile/src/components/OfficesAtmsMap/FoldableCardContent.tsx +14 -5
  392. package/mobile/src/components/OfficesAtmsMap/renderAtmCard.tsx +5 -6
  393. package/mobile/src/components/OfficesAtmsMap/renderOfficeCard.tsx +0 -1
  394. package/mobile/src/components/OfficesAtmsMap/renderRemoteWorkplaceCard.tsx +0 -1
  395. package/mobile/src/components/RollupItem/RollupItem.tsx +14 -61
  396. package/mobile/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +2 -2
  397. package/mobile/src/components/TariffsTable/TariffsTable.tsx +2 -2
  398. package/mobile/src/hooks/useRetailFormStore.tsx +1 -0
  399. package/mobile/src/ui-kit/BaseFiltration/GridBlocks.tsx +5 -5
  400. package/mobile/src/ui-kit/Button/Button.tsx +60 -44
  401. package/mobile/src/ui-kit/Button/ButtonTitle.tsx +17 -0
  402. package/mobile/src/ui-kit/Button/SubmitButton.tsx +14 -0
  403. package/mobile/src/ui-kit/CaptchaDialog/CaptchaDialog.tsx +6 -8
  404. package/mobile/src/ui-kit/ControlStateProps.ts +0 -1
  405. package/mobile/src/ui-kit/Foldable/DefaultFoldButton.tsx +16 -51
  406. package/mobile/src/ui-kit/Foldable/Foldable.tsx +4 -3
  407. package/mobile/src/ui-kit/FormField/validators.ts +4 -4
  408. package/mobile/src/ui-kit/Icon/Icon.tsx +21 -15
  409. package/mobile/src/ui-kit/Icon/IconProps.ts +13 -0
  410. package/mobile/src/ui-kit/Icon/RoundedIcon.tsx +1 -1
  411. package/mobile/src/ui-kit/Icon/ToggleIcon.tsx +11 -0
  412. package/mobile/src/ui-kit/Input/InputPopup.tsx +52 -18
  413. package/mobile/src/ui-kit/Input/useInputPopup.tsx +11 -3
  414. package/mobile/src/ui-kit/Loader/Loader.tsx +1 -1
  415. package/mobile/src/ui-kit/Sitemap/Sitemap.tsx +40 -8
  416. package/package.json +1 -1
  417. package/src/api/RetailAPI/doRequest.ts +6 -0
  418. package/src/api/RetailAPI/getGenderFromName.ts +7 -10
  419. package/src/api/RetailAPI/getTraceId.ts +6 -0
  420. package/src/components/ApplicationForm/renderAgreementSubmit.tsx +5 -2
  421. package/src/components/ApplicationLeadForm/GroupedConsents.tsx +5 -2
  422. package/src/components/ApplicationLeadForm/renderSubmitButton.tsx +3 -4
  423. package/src/components/CardTransfer/CardTransfer.tsx +3 -3
  424. package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +19 -27
  425. package/src/components/CreditCardForm/ReworkStatusContent.tsx +21 -7
  426. package/src/components/CreditCardForm/StepsNavigationButtons.tsx +3 -2
  427. package/src/components/CreditCardForm/useCreditCardFormAPI.tsx +1 -0
  428. package/src/components/CreditForm/StepsNavigationButtons.tsx +3 -2
  429. package/src/components/Depository/DepositoryItem.tsx +2 -2
  430. package/src/components/OfficesAtmsMap/FiltrationForm.tsx +17 -29
  431. package/src/components/OfficesAtmsMap/FoldableCardContent.tsx +14 -5
  432. package/src/components/OfficesAtmsMap/renderAtmCard.tsx +5 -6
  433. package/src/components/OfficesAtmsMap/renderOfficeCard.tsx +0 -1
  434. package/src/components/OfficesAtmsMap/renderRemoteWorkplaceCard.tsx +0 -1
  435. package/src/components/RollupItem/RollupItem.fixture.mobile.tsx +1 -12
  436. package/src/components/RollupItem/RollupItem.tsx +14 -61
  437. package/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +2 -2
  438. package/src/components/TariffsTable/TariffsTable.tsx +2 -2
  439. package/src/hooks/useRetailFormStore.tsx +1 -0
  440. package/src/ui-kit/BaseFiltration/GridBlocks.tsx +5 -5
  441. package/src/ui-kit/Button/Button.fixture.tsx +0 -8
  442. package/src/ui-kit/Button/Button.tsx +60 -44
  443. package/src/ui-kit/Button/ButtonTitle.tsx +17 -0
  444. package/src/ui-kit/Button/SubmitButton.tsx +14 -0
  445. package/src/ui-kit/CaptchaDialog/CaptchaDialog.tsx +6 -8
  446. package/src/ui-kit/ControlStateProps.ts +0 -1
  447. package/src/ui-kit/Foldable/DefaultFoldButton.tsx +16 -51
  448. package/src/ui-kit/Foldable/Foldable.tsx +4 -3
  449. package/src/ui-kit/FormField/validators.ts +4 -4
  450. package/src/ui-kit/Icon/Icon.tsx +21 -15
  451. package/src/ui-kit/Icon/IconProps.ts +13 -0
  452. package/src/ui-kit/Icon/RoundedIcon.tsx +1 -1
  453. package/src/ui-kit/Icon/ToggleIcon.tsx +11 -0
  454. package/src/ui-kit/Input/InputPopup.tsx +52 -18
  455. package/src/ui-kit/Input/useInputPopup.tsx +11 -3
  456. package/src/ui-kit/Loader/Loader.tsx +1 -1
  457. package/src/ui-kit/Sitemap/Sitemap.mobile.tsx +40 -8
  458. package/bundle/components/ApplicationForm/renderSubmitButton.d.ts +0 -2
  459. package/bundle/components/OfficesAtmsMap/renderFoldButton.d.ts +0 -3
  460. package/bundle/components/RollupItem/AccordionFoldButton.d.ts +0 -12
  461. package/bundle/components/RollupItem/getIconName.d.ts +0 -1
  462. package/bundle/components/RollupItem/renderRoundedIcon.d.ts +0 -3
  463. package/bundle/components/RollupItem/renderRoundedIcon.mobile.d.ts +0 -3
  464. package/bundle/components/RollupItem/rollupIconVersion.mobile.d.ts +0 -1
  465. package/bundle/ui-kit/Button/IconButton.d.ts +0 -10
  466. package/bundle/ui-kit/Button/useButton.d.ts +0 -2
  467. package/bundle/ui-kit/TextWithIcon/TextWithIcon.d.ts +0 -13
  468. package/dist/components/ApplicationForm/renderSubmitButton.d.ts +0 -2
  469. package/dist/components/ApplicationForm/renderSubmitButton.js +0 -8
  470. package/dist/components/ApplicationForm/renderSubmitButton.js.map +0 -1
  471. package/dist/components/OfficesAtmsMap/renderFoldButton.d.ts +0 -3
  472. package/dist/components/OfficesAtmsMap/renderFoldButton.js +0 -7
  473. package/dist/components/OfficesAtmsMap/renderFoldButton.js.map +0 -1
  474. package/dist/components/RollupItem/AccordionFoldButton.d.ts +0 -12
  475. package/dist/components/RollupItem/AccordionFoldButton.js +0 -11
  476. package/dist/components/RollupItem/AccordionFoldButton.js.map +0 -1
  477. package/dist/components/RollupItem/getIconName.d.ts +0 -1
  478. package/dist/components/RollupItem/getIconName.js +0 -7
  479. package/dist/components/RollupItem/getIconName.js.map +0 -1
  480. package/dist/components/RollupItem/renderRoundedIcon.d.ts +0 -3
  481. package/dist/components/RollupItem/renderRoundedIcon.js +0 -6
  482. package/dist/components/RollupItem/renderRoundedIcon.js.map +0 -1
  483. package/dist/components/RollupItem/renderRoundedIcon.mobile.d.ts +0 -3
  484. package/dist/components/RollupItem/renderRoundedIcon.mobile.js +0 -7
  485. package/dist/components/RollupItem/renderRoundedIcon.mobile.js.map +0 -1
  486. package/dist/components/RollupItem/rollupIconVersion.mobile.d.ts +0 -1
  487. package/dist/components/RollupItem/rollupIconVersion.mobile.js +0 -4
  488. package/dist/components/RollupItem/rollupIconVersion.mobile.js.map +0 -1
  489. package/dist/ui-kit/Button/IconButton.d.ts +0 -10
  490. package/dist/ui-kit/Button/IconButton.js +0 -13
  491. package/dist/ui-kit/Button/IconButton.js.map +0 -1
  492. package/dist/ui-kit/Button/useButton.d.ts +0 -2
  493. package/dist/ui-kit/Button/useButton.js +0 -16
  494. package/dist/ui-kit/Button/useButton.js.map +0 -1
  495. package/dist/ui-kit/TextWithIcon/TextWithIcon.d.ts +0 -13
  496. package/dist/ui-kit/TextWithIcon/TextWithIcon.js +0 -10
  497. package/dist/ui-kit/TextWithIcon/TextWithIcon.js.map +0 -1
  498. package/lib/components/ApplicationForm/renderSubmitButton.d.ts +0 -2
  499. package/lib/components/ApplicationForm/renderSubmitButton.js +0 -5
  500. package/lib/components/ApplicationForm/renderSubmitButton.js.map +0 -1
  501. package/lib/components/OfficesAtmsMap/renderFoldButton.d.ts +0 -3
  502. package/lib/components/OfficesAtmsMap/renderFoldButton.js +0 -4
  503. package/lib/components/OfficesAtmsMap/renderFoldButton.js.map +0 -1
  504. package/lib/components/RollupItem/AccordionFoldButton.d.ts +0 -12
  505. package/lib/components/RollupItem/AccordionFoldButton.js +0 -9
  506. package/lib/components/RollupItem/AccordionFoldButton.js.map +0 -1
  507. package/lib/components/RollupItem/getIconName.d.ts +0 -1
  508. package/lib/components/RollupItem/getIconName.js +0 -4
  509. package/lib/components/RollupItem/getIconName.js.map +0 -1
  510. package/lib/components/RollupItem/renderRoundedIcon.d.ts +0 -3
  511. package/lib/components/RollupItem/renderRoundedIcon.js +0 -3
  512. package/lib/components/RollupItem/renderRoundedIcon.js.map +0 -1
  513. package/lib/components/RollupItem/renderRoundedIcon.mobile.d.ts +0 -3
  514. package/lib/components/RollupItem/renderRoundedIcon.mobile.js +0 -4
  515. package/lib/components/RollupItem/renderRoundedIcon.mobile.js.map +0 -1
  516. package/lib/components/RollupItem/rollupIconVersion.mobile.d.ts +0 -1
  517. package/lib/components/RollupItem/rollupIconVersion.mobile.js +0 -2
  518. package/lib/components/RollupItem/rollupIconVersion.mobile.js.map +0 -1
  519. package/lib/ui-kit/Button/IconButton.d.ts +0 -10
  520. package/lib/ui-kit/Button/IconButton.js +0 -11
  521. package/lib/ui-kit/Button/IconButton.js.map +0 -1
  522. package/lib/ui-kit/Button/useButton.d.ts +0 -2
  523. package/lib/ui-kit/Button/useButton.js +0 -13
  524. package/lib/ui-kit/Button/useButton.js.map +0 -1
  525. package/lib/ui-kit/TextWithIcon/TextWithIcon.d.ts +0 -13
  526. package/lib/ui-kit/TextWithIcon/TextWithIcon.js +0 -8
  527. package/lib/ui-kit/TextWithIcon/TextWithIcon.js.map +0 -1
  528. package/mobile/bundle/components/ApplicationForm/renderSubmitButton.d.ts +0 -2
  529. package/mobile/bundle/components/OfficesAtmsMap/renderFoldButton.d.ts +0 -3
  530. package/mobile/bundle/components/RollupItem/AccordionFoldButton.d.ts +0 -12
  531. package/mobile/bundle/components/RollupItem/getIconName.d.ts +0 -1
  532. package/mobile/bundle/components/RollupItem/renderRoundedIcon.d.ts +0 -3
  533. package/mobile/bundle/ui-kit/Button/IconButton.d.ts +0 -10
  534. package/mobile/bundle/ui-kit/Button/useButton.d.ts +0 -2
  535. package/mobile/bundle/ui-kit/TextWithIcon/TextWithIcon.d.ts +0 -13
  536. package/mobile/dist/components/ApplicationForm/renderSubmitButton.d.ts +0 -2
  537. package/mobile/dist/components/ApplicationForm/renderSubmitButton.js +0 -8
  538. package/mobile/dist/components/ApplicationForm/renderSubmitButton.js.map +0 -1
  539. package/mobile/dist/components/OfficesAtmsMap/renderFoldButton.d.ts +0 -3
  540. package/mobile/dist/components/OfficesAtmsMap/renderFoldButton.js +0 -7
  541. package/mobile/dist/components/OfficesAtmsMap/renderFoldButton.js.map +0 -1
  542. package/mobile/dist/components/RollupItem/AccordionFoldButton.d.ts +0 -12
  543. package/mobile/dist/components/RollupItem/AccordionFoldButton.js +0 -11
  544. package/mobile/dist/components/RollupItem/AccordionFoldButton.js.map +0 -1
  545. package/mobile/dist/components/RollupItem/getIconName.d.ts +0 -1
  546. package/mobile/dist/components/RollupItem/getIconName.js +0 -7
  547. package/mobile/dist/components/RollupItem/getIconName.js.map +0 -1
  548. package/mobile/dist/components/RollupItem/renderRoundedIcon.d.ts +0 -3
  549. package/mobile/dist/components/RollupItem/renderRoundedIcon.js +0 -7
  550. package/mobile/dist/components/RollupItem/renderRoundedIcon.js.map +0 -1
  551. package/mobile/dist/ui-kit/Button/IconButton.d.ts +0 -10
  552. package/mobile/dist/ui-kit/Button/IconButton.js +0 -13
  553. package/mobile/dist/ui-kit/Button/IconButton.js.map +0 -1
  554. package/mobile/dist/ui-kit/Button/useButton.d.ts +0 -2
  555. package/mobile/dist/ui-kit/Button/useButton.js +0 -16
  556. package/mobile/dist/ui-kit/Button/useButton.js.map +0 -1
  557. package/mobile/dist/ui-kit/TextWithIcon/TextWithIcon.d.ts +0 -13
  558. package/mobile/dist/ui-kit/TextWithIcon/TextWithIcon.js +0 -10
  559. package/mobile/dist/ui-kit/TextWithIcon/TextWithIcon.js.map +0 -1
  560. package/mobile/lib/components/ApplicationForm/renderSubmitButton.d.ts +0 -2
  561. package/mobile/lib/components/ApplicationForm/renderSubmitButton.js +0 -5
  562. package/mobile/lib/components/ApplicationForm/renderSubmitButton.js.map +0 -1
  563. package/mobile/lib/components/OfficesAtmsMap/renderFoldButton.d.ts +0 -3
  564. package/mobile/lib/components/OfficesAtmsMap/renderFoldButton.js +0 -4
  565. package/mobile/lib/components/OfficesAtmsMap/renderFoldButton.js.map +0 -1
  566. package/mobile/lib/components/RollupItem/AccordionFoldButton.d.ts +0 -12
  567. package/mobile/lib/components/RollupItem/AccordionFoldButton.js +0 -9
  568. package/mobile/lib/components/RollupItem/AccordionFoldButton.js.map +0 -1
  569. package/mobile/lib/components/RollupItem/getIconName.d.ts +0 -1
  570. package/mobile/lib/components/RollupItem/getIconName.js +0 -4
  571. package/mobile/lib/components/RollupItem/getIconName.js.map +0 -1
  572. package/mobile/lib/components/RollupItem/renderRoundedIcon.d.ts +0 -3
  573. package/mobile/lib/components/RollupItem/renderRoundedIcon.js +0 -4
  574. package/mobile/lib/components/RollupItem/renderRoundedIcon.js.map +0 -1
  575. package/mobile/lib/ui-kit/Button/IconButton.d.ts +0 -10
  576. package/mobile/lib/ui-kit/Button/IconButton.js +0 -11
  577. package/mobile/lib/ui-kit/Button/IconButton.js.map +0 -1
  578. package/mobile/lib/ui-kit/Button/useButton.d.ts +0 -2
  579. package/mobile/lib/ui-kit/Button/useButton.js +0 -13
  580. package/mobile/lib/ui-kit/Button/useButton.js.map +0 -1
  581. package/mobile/lib/ui-kit/TextWithIcon/TextWithIcon.d.ts +0 -13
  582. package/mobile/lib/ui-kit/TextWithIcon/TextWithIcon.js +0 -8
  583. package/mobile/lib/ui-kit/TextWithIcon/TextWithIcon.js.map +0 -1
  584. package/mobile/src/components/ApplicationForm/renderSubmitButton.tsx +0 -9
  585. package/mobile/src/components/OfficesAtmsMap/renderFoldButton.tsx +0 -12
  586. package/mobile/src/components/RollupItem/AccordionFoldButton.tsx +0 -41
  587. package/mobile/src/components/RollupItem/getIconName.tsx +0 -6
  588. package/mobile/src/components/RollupItem/renderRoundedIcon.tsx +0 -7
  589. package/mobile/src/ui-kit/Button/IconButton.tsx +0 -36
  590. package/mobile/src/ui-kit/Button/useButton.ts +0 -16
  591. package/mobile/src/ui-kit/TextWithIcon/TextWithIcon.tsx +0 -37
  592. package/src/components/ApplicationForm/renderSubmitButton.tsx +0 -9
  593. package/src/components/OfficesAtmsMap/renderFoldButton.tsx +0 -12
  594. package/src/components/RollupItem/AccordionFoldButton.tsx +0 -41
  595. package/src/components/RollupItem/getIconName.tsx +0 -6
  596. package/src/components/RollupItem/renderRoundedIcon.mobile.tsx +0 -7
  597. package/src/components/RollupItem/renderRoundedIcon.tsx +0 -5
  598. package/src/components/RollupItem/rollupIconVersion.mobile.tsx +0 -1
  599. package/src/ui-kit/Button/IconButton.tsx +0 -36
  600. package/src/ui-kit/Button/useButton.ts +0 -16
  601. package/src/ui-kit/TextWithIcon/TextWithIcon.tsx +0 -37
@@ -1,15 +1,13 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
- import { useCallback, useEffect, useState } from '@redneckz/uni-jsx/lib/hooks';
3
- import { type AspectsDef } from '../../model/AspectsProps';
2
+ import { useCallback, useEffect, useMemo, useState } from '@redneckz/uni-jsx/lib/hooks';
4
3
  import { BlockWrapper } from '../../ui-kit/BlockWrapper';
5
- import { IconButton } from '../../ui-kit/Button/IconButton';
4
+ import { DefaultFoldButton } from '../../ui-kit/Foldable/DefaultFoldButton';
6
5
  import { Foldable } from '../../ui-kit/Foldable/Foldable';
7
6
  import { FoldableSection } from '../../ui-kit/Foldable/FoldableSection';
8
7
  import { Heading } from '../../ui-kit/Heading/Heading';
9
8
  import { Img } from '../../ui-kit/Img/Img';
10
9
  import { LinkButton } from '../../ui-kit/LinkButton/LinkButton';
11
10
  import { type UniBlockProps } from '../../UniBlock/UniBlockProps';
12
- import { isIcon } from '../../utils/isIcon';
13
11
  import { style } from '../../utils/style';
14
12
  import { type CarouselTariffsCardContent } from './CarouselTariffsCardContent';
15
13
  import { carouselTariffsCardEventBus } from './carouselTariffsCardEventBus';
@@ -30,12 +28,15 @@ export const CarouselTariffsCard = JSX<CarouselTariffsCardProps>(
30
28
  data,
31
29
  ...rest
32
30
  }) => {
33
- const cellsNode = cardCells.map(renderCardInfo);
31
+ const cellsNode = useMemo(() => cardCells.map(renderCardInfo), [cardCells]);
32
+ const [visibleCells, hiddenCells] = useMemo(
33
+ () =>
34
+ visibleCellsCount > 0
35
+ ? [cellsNode.slice(0, visibleCellsCount), cellsNode.slice(visibleCellsCount)]
36
+ : [cellsNode, []],
37
+ [visibleCellsCount, cellsNode],
38
+ );
34
39
 
35
- const [visibleCells, hiddenCells] =
36
- visibleCellsCount > 0
37
- ? [cellsNode.slice(0, visibleCellsCount), cellsNode.slice(visibleCellsCount)]
38
- : [cellsNode, []];
39
40
  const [isVisible, setIsVisible] = useState(false);
40
41
 
41
42
  useEffect(
@@ -58,11 +59,7 @@ export const CarouselTariffsCard = JSX<CarouselTariffsCardProps>(
58
59
 
59
60
  return (
60
61
  <BlockWrapper className={style('flex flex-col', className)} defaultPadding="p-2xl" {...rest}>
61
- {isIcon(icon) ? (
62
- <div className="self-center">
63
- <Img image={icon} />
64
- </div>
65
- ) : null}
62
+ <Img className="self-center" image={icon} />
66
63
  {title ? (
67
64
  <Heading className={style('pt-xs', align)} headingType="h5" title={title} />
68
65
  ) : null}
@@ -74,7 +71,14 @@ export const CarouselTariffsCard = JSX<CarouselTariffsCardProps>(
74
71
  <FoldableSection isUnfolded={isVisible}>{hiddenCells}</FoldableSection>
75
72
  </div>
76
73
  {cardCells.length >= visibleCellsCount ? (
77
- <FoldButton isUnfolded={isVisible} data={data} onClick={handleFold} />
74
+ <DefaultFoldButton
75
+ className="w-full mt-m"
76
+ label={isVisible ? 'Скрыть' : 'Подробнее о тарифе'}
77
+ isUnfolded={isVisible}
78
+ embedded
79
+ data={data}
80
+ onClick={handleFold}
81
+ />
78
82
  ) : null}
79
83
  </Foldable>
80
84
  ) : (
@@ -84,15 +88,3 @@ export const CarouselTariffsCard = JSX<CarouselTariffsCardProps>(
84
88
  );
85
89
  },
86
90
  );
87
-
88
- const FoldButton = JSX<{ isUnfolded?: boolean; data?: AspectsDef[]; onClick?: () => void }>(
89
- ({ data, isUnfolded, onClick }) => (
90
- <IconButton
91
- className="w-full"
92
- {...(isUnfolded
93
- ? { name: 'ArrowUpIcon', text: 'Скрыть', data }
94
- : { name: 'ArrowDownIcon', text: 'Подробнее о тарифе' })}
95
- onClick={onClick}
96
- />
97
- ),
98
- );
@@ -5,12 +5,15 @@ import { CreditCardFormStatus } from './CreditCardFormStatus';
5
5
  export const ReworkStatusContent = JSX(() => {
6
6
  const { statusInfo } = useRetailFormStore();
7
7
 
8
- return (
9
- <CreditCardFormStatus
10
- title="Благодарим вас за ожидание, но нам требуется больше времени для принятия решения"
11
- description="Посетите выбранное отделение банка с необходимыми документами и так завершите оформление кредита."
12
- sectionAdditionalTitle="В отделении Банка"
13
- sectionInfoAdditional={[
8
+ const isCourierDelivery = statusInfo?.methodObtain === 'courier';
9
+
10
+ const infoAdditional = isCourierDelivery
11
+ ? [
12
+ {
13
+ description: statusInfo?.deliveryAddress,
14
+ },
15
+ ]
16
+ : [
14
17
  {
15
18
  label: 'Регион',
16
19
  description: statusInfo?.regionRetail,
@@ -19,7 +22,18 @@ export const ReworkStatusContent = JSX(() => {
19
22
  label: 'Адрес',
20
23
  description: statusInfo?.addressRetail,
21
24
  },
22
- ]}
25
+ ];
26
+
27
+ return (
28
+ <CreditCardFormStatus
29
+ title="Благодарим вас за ожидание, но нам требуется больше времени для принятия решения"
30
+ description={
31
+ isCourierDelivery
32
+ ? ''
33
+ : 'Посетите выбранное отделение банка с необходимыми документами и так завершите оформление кредита.'
34
+ }
35
+ sectionAdditionalTitle={isCourierDelivery ? 'Адрес доставки' : 'В отделении Банка'}
36
+ sectionInfoAdditional={infoAdditional}
23
37
  sectionInfo={[
24
38
  {
25
39
  label: 'Основные документы:',
@@ -1,5 +1,6 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import { Button } from '../../ui-kit/Button/Button';
3
+ import { SubmitButton } from '../../ui-kit/Button/SubmitButton';
3
4
 
4
5
  export interface StepsNavigationButtonsProps {
5
6
  step: number;
@@ -17,9 +18,9 @@ export const StepsNavigationButtons = JSX<StepsNavigationButtonsProps>(
17
18
  <Button onClick={onPrevStep} type="button" version="secondary" disabled={isFirstStep}>
18
19
  Назад
19
20
  </Button>
20
- <Button isLoading={isSending} type="submit">
21
+ <SubmitButton isLoading={isSending}>
21
22
  {isFinalStep ? 'Отправить заявку' : 'Далее'}
22
- </Button>
23
+ </SubmitButton>
23
24
  </div>
24
25
  );
25
26
  },
@@ -36,6 +36,7 @@ export const useCreditCardFormAPI = ({
36
36
  deliveryAddress: leadForm?.addressCourier?.fullAddress,
37
37
  cardCategory: leadForm?.cardCategory?.text,
38
38
  deliveryDate: leadForm?.deliveryDate,
39
+ methodObtain: leadForm?.methodObtain,
39
40
  };
40
41
  retailFormStore.leadForm = initialState;
41
42
  }
@@ -1,5 +1,6 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import { Button } from '../../ui-kit/Button/Button';
3
+ import { SubmitButton } from '../../ui-kit/Button/SubmitButton';
3
4
 
4
5
  export interface StepsNavigationButtonsProps {
5
6
  step: number;
@@ -17,9 +18,9 @@ export const StepsNavigationButtons = JSX<StepsNavigationButtonsProps>(
17
18
  <Button onClick={onPrevStep} type="button" version="secondary" disabled={isFirstStep}>
18
19
  Назад
19
20
  </Button>
20
- <Button type="submit" isLoading={isSending}>
21
+ <SubmitButton isLoading={isSending}>
21
22
  {isFinalStep ? 'Отправить заявку' : 'Далее'}
22
- </Button>
23
+ </SubmitButton>
23
24
  </div>
24
25
  );
25
26
  },
@@ -1,9 +1,9 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import { API_BASE_URI } from '../../api/apiBaseUrl';
3
3
  import { useLink } from '../../hooks/useLink';
4
+ import { RoundedIcon } from '../../ui-kit/Icon/RoundedIcon';
4
5
  import { Text } from '../../ui-kit/Text/Text';
5
6
  import { formatDate } from '../../utils/formatDate';
6
- import { renderRoundedIcon } from '../RollupItem/renderRoundedIcon';
7
7
  import { type DepositoryDataItem } from './useDepository';
8
8
 
9
9
  export const DepositoryItem = JSX(({ title, timestamp, publicId }: DepositoryDataItem) => {
@@ -15,7 +15,7 @@ export const DepositoryItem = JSX(({ title, timestamp, publicId }: DepositoryDat
15
15
  className="flex gap-3 items-center py-lg border-gray border-opacity-50 border-b"
16
16
  key={publicId}
17
17
  >
18
- {renderRoundedIcon({ icon: 'DocDownloadIcon', iconVersion: 'black' })}
18
+ <RoundedIcon className="shrink-0" icon="DocDownloadIcon" iconVersion="black" />
19
19
  <div className="flex flex-col gap-x-6xl lg:flex-row lg:items-center">
20
20
  {timestamp ? (
21
21
  <Text size="text-m" font-weight="font-light">
@@ -1,12 +1,13 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import { useBool } from '@redneckz/uni-jsx/lib/hooks/useBool';
3
3
  import { type FormFieldRegisterer } from '../../hooks/useForm/useForm';
4
+ import { Button } from '../../ui-kit/Button/Button';
5
+ import { ButtonTitle } from '../../ui-kit/Button/ButtonTitle';
4
6
  import { Checkbox } from '../../ui-kit/Checkbox/Checkbox';
7
+ import { DefaultFoldButton } from '../../ui-kit/Foldable/DefaultFoldButton';
5
8
  import { Foldable } from '../../ui-kit/Foldable/Foldable';
6
- import { type FoldablePartProps } from '../../ui-kit/Foldable/FoldablePartProps';
7
9
  import { FoldableSection } from '../../ui-kit/Foldable/FoldableSection';
8
10
  import { Icon } from '../../ui-kit/Icon/Icon';
9
- import { LinkButton } from '../../ui-kit/LinkButton/LinkButton';
10
11
 
11
12
  const COMMON_FILTERS_STYLES = 'flex flex-col sm:flex-row sm:flex-wrap gap-3xl pb-2xl';
12
13
 
@@ -43,7 +44,20 @@ export const FiltrationForm = JSX<RenderFiltrationFormProps>(
43
44
  {hiddenFilters}
44
45
  </FoldableSection>
45
46
  </div>
46
- {renderFoldButton(reset, onlyOffice)({ isUnfolded, onToggle: toggle })}
47
+ <div className="flex space-x-lg">
48
+ {onlyOffice ? (
49
+ <DefaultFoldButton
50
+ label={isUnfolded ? 'Меньше фильтров' : 'Больше фильтров'}
51
+ isUnfolded={isUnfolded}
52
+ embedded
53
+ onClick={toggle}
54
+ />
55
+ ) : null}
56
+ <Button embedded onClick={reset}>
57
+ <ButtonTitle>Очистить фильтр</ButtonTitle>
58
+ <Icon name="CloseIcon" size="small" />
59
+ </Button>
60
+ </div>
47
61
  </Foldable>
48
62
  </div>
49
63
  ) : null}
@@ -51,29 +65,3 @@ export const FiltrationForm = JSX<RenderFiltrationFormProps>(
51
65
  );
52
66
  },
53
67
  );
54
-
55
- // TODO Столько разных кнопок с иконками, но эта самая творчески-ударённая реализация))
56
- export const renderFoldButton =
57
- (reset: () => void, onlyOffice = false) =>
58
- ({ isUnfolded, onToggle }: FoldablePartProps) =>
59
- (
60
- <div className="flex space-x-lg">
61
- {onlyOffice ? (
62
- <LinkButton
63
- version="transparent"
64
- className="text-secondary-text [&>*]:p-0"
65
- appendRight={
66
- <Icon name={isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon'} width="16" height="16" />
67
- }
68
- text={isUnfolded ? 'Меньше фильтров' : 'Больше фильтров'}
69
- onClick={onToggle}
70
- />
71
- ) : null}
72
- <LinkButton version="transparent" className="text-secondary-text [&>*]:p-0" onClick={reset}>
73
- <div className="flex items-center">
74
- Очистить фильтр
75
- <Icon name="CloseIcon" width="16" height="16" className="ml-2xs" />
76
- </div>
77
- </LinkButton>
78
- </div>
79
- );
@@ -1,16 +1,25 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import { useBool } from '@redneckz/uni-jsx/lib/hooks/useBool';
3
+ import { DefaultFoldButton } from '../../ui-kit/Foldable/DefaultFoldButton';
3
4
  import { Foldable } from '../../ui-kit/Foldable/Foldable';
4
5
  import { FoldableSection } from '../../ui-kit/Foldable/FoldableSection';
5
- import { renderFoldButton } from './renderFoldButton';
6
6
 
7
7
  export const FoldableCardContent = JSX(({ children }) => {
8
8
  const [isUnfolded, { toggle }] = useBool(false);
9
9
 
10
10
  return (
11
- <Foldable className="block sm:hidden">
12
- <FoldableSection isUnfolded={isUnfolded}>{children}</FoldableSection>
13
- {renderFoldButton({ isUnfolded, onToggle: toggle })}
14
- </Foldable>
11
+ <div>
12
+ <div className="hidden sm:block">{children}</div>
13
+ <Foldable className="block sm:hidden">
14
+ <FoldableSection isUnfolded={isUnfolded}>{children}</FoldableSection>
15
+ <DefaultFoldButton
16
+ className="w-full my-m mr-m border-b border-solid border-main-divider"
17
+ label={isUnfolded ? 'Скрыть' : 'Подробнее'}
18
+ isUnfolded={isUnfolded}
19
+ embedded
20
+ onClick={toggle}
21
+ />
22
+ </Foldable>
23
+ </div>
15
24
  );
16
25
  });
@@ -53,11 +53,12 @@ export const renderAtmCard = (
53
53
  <Badge color="green">{capitalize(workTime)}</Badge>
54
54
  </div>
55
55
  </div>
56
- <div className="hidden sm:block">
57
- <CardRow className="flex-wrap">{additionalInfo?.map(renderInfo)}</CardRow>
58
- </div>
59
56
  <FoldableCardContent>
60
- <CardRow className="flex-wrap">{additionalInfo?.map(renderInfo)}</CardRow>
57
+ <CardRow className="flex-wrap">
58
+ {additionalInfo?.map((item, key) => (
59
+ <CardCell key={String(key)} {...item} />
60
+ ))}
61
+ </CardRow>
61
62
  </FoldableCardContent>
62
63
  </div>
63
64
  );
@@ -69,5 +70,3 @@ export const getAtmPoint = ({ address = '', terminalType, atmCode = '' }: Atm) =
69
70
 
70
71
  return { header, body };
71
72
  };
72
-
73
- const renderInfo = (item: CardCellProps, i: number) => <CardCell key={String(i)} {...item} />;
@@ -33,7 +33,6 @@ export const renderOfficeCard = (branch: Branch, i: number) => {
33
33
  </div>
34
34
  {renderCurrentDaySchedule(workScheduleWeek)}
35
35
  </div>
36
- <div className="hidden sm:block">{renderCardContent(branch)}</div>
37
36
  <FoldableCardContent>{renderCardContent(branch)}</FoldableCardContent>
38
37
  </div>
39
38
  );
@@ -26,7 +26,6 @@ export const renderRemoteWorkplaceCard = (
26
26
  ) : null}
27
27
  </div>
28
28
  </div>
29
- <div className="hidden sm:block">{renderCardContent(workScheduleDescription)}</div>
30
29
  <FoldableCardContent>{renderCardContent(workScheduleDescription)}</FoldableCardContent>
31
30
  </div>
32
31
  );
@@ -2,7 +2,6 @@ import '../../setup-fixture';
2
2
 
3
3
  import { type BlockRendererOptions } from '../../BlockRenderer/BlockRendererOptions';
4
4
  import { type BlockDef } from '../../model/ContentPageDef';
5
- import { type Picture } from '../../model/Picture';
6
5
  import { Blocks } from '../Blocks.mobile';
7
6
  import { TEXT_BLOCK } from '../TextBlock/TextBlock.fixture.mobile';
8
7
  import { RollupItem } from './RollupItem';
@@ -23,18 +22,10 @@ export const ROLLUP_ITEM: BlockDef = {
23
22
  ],
24
23
  };
25
24
 
26
- const labelIcon: Picture = { icon: 'BriefcaseIcon' };
27
-
28
25
  export default {
29
26
  default: (
30
27
  <div>
31
- <RollupItem
32
- {...ROLLUP_ITEM.content}
33
- block={ROLLUP_ITEM}
34
- labelIcon={labelIcon}
35
- labelIconBgVersion="primary"
36
- options={options}
37
- />
28
+ <RollupItem {...ROLLUP_ITEM.content} block={ROLLUP_ITEM} options={options} />
38
29
  <RollupItem
39
30
  foldButtonVersion="accordion"
40
31
  {...ROLLUP_ITEM.content}
@@ -50,8 +41,6 @@ export default {
50
41
  isExpanded={true}
51
42
  foldButtonVersion="accordion"
52
43
  label="RollupItem label 1"
53
- labelIcon={labelIcon}
54
- labelIconBgVersion="primary"
55
44
  options={options}
56
45
  />
57
46
  </div>
@@ -1,24 +1,17 @@
1
1
  import { useBool } from '@redneckz/uni-jsx/lib/hooks/useBool';
2
2
  import { renderChildren } from '../../BlockRenderer/renderChildren';
3
3
  import { useMobileMode } from '../../hooks/useMobileMode';
4
- import { type Picture } from '../../model/Picture';
5
4
  import { BlockWrapper } from '../../ui-kit/BlockWrapper';
6
5
  import { DefaultFoldButton } from '../../ui-kit/Foldable/DefaultFoldButton';
7
6
  import { Foldable } from '../../ui-kit/Foldable/Foldable';
8
- import { type FoldablePartProps } from '../../ui-kit/Foldable/FoldablePartProps';
9
7
  import { FoldableSection } from '../../ui-kit/Foldable/FoldableSection';
10
- import { type IconBgVersion, type IconProps } from '../../ui-kit/Icon/IconProps';
11
8
  import { UniBlock } from '../../UniBlock/UniBlock';
12
9
  import { type UniBlockProps } from '../../UniBlock/UniBlockProps';
13
10
  import { style } from '../../utils/style';
14
- import { AccordionFoldButton } from './AccordionFoldButton';
15
11
  import { getFoldableStyles } from './getFoldableStyles';
16
- import { getIconName } from './getIconName';
17
- import { type FoldButtonVersion, type RollupItemContent } from './RollupItemContent';
12
+ import { type RollupItemContent } from './RollupItemContent';
18
13
 
19
14
  interface RollupItemProps extends RollupItemContent, UniBlockProps {
20
- labelIcon?: Picture;
21
- labelIconBgVersion?: IconBgVersion;
22
15
  role?: string;
23
16
  }
24
17
 
@@ -27,10 +20,8 @@ export const RollupItem = UniBlock<RollupItemProps>(
27
20
  className = '',
28
21
  isExpanded,
29
22
  isFoldButtonOnTop = true,
30
- label = 'Развернуть',
31
- labelIcon,
32
- labelIconBgVersion,
33
23
  foldButtonVersion = 'default',
24
+ label,
34
25
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
35
26
  version,
36
27
  role,
@@ -51,15 +42,17 @@ export const RollupItem = UniBlock<RollupItemProps>(
51
42
  })}
52
43
  </FoldableSection>
53
44
  );
54
- const foldButton = renderFoldButton({
55
- foldButtonVersion,
56
- label,
57
- labelIcon,
58
- labelIconBgVersion,
59
- isMobile,
60
- isUnfolded,
61
- onToggle: toggle,
62
- });
45
+
46
+ const isAccordion = foldButtonVersion === 'accordion';
47
+ const foldButton = (
48
+ <DefaultFoldButton
49
+ className={style('w-full', { 'text-h6 my-lg': isAccordion })}
50
+ label={label}
51
+ isUnfolded={isUnfolded}
52
+ embedded={isAccordion}
53
+ onClick={toggle}
54
+ />
55
+ );
63
56
 
64
57
  return (
65
58
  <BlockWrapper
@@ -80,45 +73,5 @@ export const RollupItem = UniBlock<RollupItemProps>(
80
73
  </BlockWrapper>
81
74
  );
82
75
  },
83
- {
84
- childrenTypes: { exclude: ['RollupItem'] },
85
- },
76
+ { childrenTypes: { exclude: ['RollupItem'] } },
86
77
  );
87
-
88
- interface FoldButtonProps extends FoldablePartProps {
89
- foldButtonVersion?: FoldButtonVersion;
90
- label?: string;
91
- labelIcon?: IconProps;
92
- labelIconBgVersion?: IconBgVersion;
93
- isPadding?: boolean;
94
- isMobile?: boolean;
95
- }
96
-
97
- const renderFoldButton = ({
98
- foldButtonVersion,
99
- label: defaultLabel,
100
- labelIcon,
101
- labelIconBgVersion,
102
- isUnfolded,
103
- isMobile = false,
104
- onToggle,
105
- }: FoldButtonProps) => {
106
- const label = defaultLabel || (isUnfolded ? 'Скрыть' : 'Развернуть');
107
- const icon = getIconName(isUnfolded, isMobile);
108
-
109
- return foldButtonVersion === 'accordion' ? (
110
- <AccordionFoldButton
111
- label={label}
112
- labelIcon={labelIcon}
113
- labelIconBgVersion={labelIconBgVersion}
114
- icon={icon}
115
- onToggle={onToggle}
116
- />
117
- ) : (
118
- <DefaultFoldButton
119
- label={label}
120
- icon={isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon'}
121
- onClick={onToggle}
122
- />
123
- );
124
- };
@@ -1,5 +1,5 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
- import { Img } from '../../ui-kit/Img/Img';
2
+ import { Icon } from '../../ui-kit/Icon/Icon';
3
3
  import { Paragraph } from '../../ui-kit/Paragraph/Paragraph';
4
4
  import { Text } from '../../ui-kit/Text/Text';
5
5
  import { type Tariff } from './useSafeBoxes';
@@ -25,7 +25,7 @@ export const SafeDepositRentalTotal = JSX<SafeDepositRentalTotalProps>(({ days,
25
25
  </Paragraph>
26
26
  </div>
27
27
  <div className="flex flex-col items-center gap-s order-3 @xl:order-none mb-xl @xl:mb-0 bg-primary-main py-s @xl:p-3xl text-center">
28
- <Img image={{ icon: 'PackA4Icon' }} className="@xl:h-60" />
28
+ <Icon className="@xl:h-60" name="PackA4Icon" />
29
29
  <div className="hidden @xl:inline opacity-80 whitespace-pre-line">
30
30
  <Paragraph size="text-s" font="font-light" color="text-white">
31
31
  {imageDescription}
@@ -2,7 +2,7 @@ import { JSX } from '@redneckz/uni-jsx';
2
2
  import { useBool } from '@redneckz/uni-jsx/lib/hooks/useBool';
3
3
  import { useCarouselControls } from '../../hooks/useCarouselControls';
4
4
  import { BlockWrapper } from '../../ui-kit/BlockWrapper';
5
- import { renderDefaultFoldButton } from '../../ui-kit/Foldable/DefaultFoldButton';
5
+ import { DefaultFoldButton } from '../../ui-kit/Foldable/DefaultFoldButton';
6
6
  import { Foldable } from '../../ui-kit/Foldable/Foldable';
7
7
  import { FoldableSection } from '../../ui-kit/Foldable/FoldableSection';
8
8
  import { type UniBlockProps } from '../../UniBlock/UniBlockProps';
@@ -63,7 +63,7 @@ export const TariffsTable = JSX<TariffsTableProps>(
63
63
  {visibleRows}
64
64
  <FoldableSection isUnfolded={isUnfolded}>{hiddenRows}</FoldableSection>
65
65
  </TariffsTableWrapper>
66
- {renderDefaultFoldButton({ isUnfolded, onToggle: toggle })}
66
+ <DefaultFoldButton className="w-full" isUnfolded={isUnfolded} onClick={toggle} />
67
67
  </Foldable>
68
68
  ) : (
69
69
  <TariffsTableWrapper controls={controls}>{rows}</TariffsTableWrapper>
@@ -8,6 +8,7 @@ export type StatusInfoState = {
8
8
  cardCategory?: string;
9
9
  deliveryDate?: Date | string;
10
10
  deliveryAddress?: string;
11
+ methodObtain?: string;
11
12
  calculator?: {
12
13
  monthsValue?: number;
13
14
  moneyValue?: number;
@@ -18,7 +18,7 @@ interface GridBlocksProps extends GridSection, UniBlockProps {
18
18
  }
19
19
 
20
20
  export const GridBlocks = JSX<GridBlocksProps>(
21
- ({ topItemsCount = 0, label = '', block, blocksToRender = [], ...rest }) => {
21
+ ({ topItemsCount = 0, label, block, blocksToRender = [], ...rest }) => {
22
22
  const [visibleBlocks, hiddenBlocks] =
23
23
  topItemsCount > 0
24
24
  ? [blocksToRender.slice(0, topItemsCount), blocksToRender.slice(topItemsCount)]
@@ -38,11 +38,11 @@ export const GridBlocks = JSX<GridBlocksProps>(
38
38
  {isOdd(hiddenBlocks.length) ? <AdTile className="col-span-6" {...rest} /> : null}
39
39
  </FoldableSection>
40
40
  <DefaultFoldButton
41
- className={style({ hidden: topItemsCount < 1 })}
42
- dataTheme={rest.options?.page?.colorPalette}
43
- disabled={!hiddenBlocks?.length}
41
+ className={style('w-full', { hidden: topItemsCount < 1 })}
44
42
  label={label}
45
- icon={isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon'}
43
+ isUnfolded={isUnfolded}
44
+ disabled={!hiddenBlocks?.length}
45
+ dataTheme={rest.options?.page?.colorPalette}
46
46
  onClick={toggle}
47
47
  />
48
48
  </Foldable>
@@ -10,7 +10,6 @@ export default {
10
10
  <div className="bg-white p-xl flex flex-col gap-2">
11
11
  <p>Primary</p>
12
12
  <Button>{buttonText}</Button>
13
- <Button active>{buttonText}</Button>
14
13
  <Button disabled>{buttonText}</Button>
15
14
  <Button>
16
15
  {icon}
@@ -20,9 +19,6 @@ export default {
20
19
  <div className="bg-white p-xl flex flex-col gap-2">
21
20
  <p>Secondary</p>
22
21
  <Button version="secondary">{buttonText}</Button>
23
- <Button version="secondary" active>
24
- {buttonText}
25
- </Button>
26
22
  <Button version="secondary" disabled>
27
23
  {buttonText}
28
24
  </Button>
@@ -38,7 +34,6 @@ export default {
38
34
  <div className="bg-primary-main p-xl flex flex-col gap-2">
39
35
  <p className="text-white">Primary</p>
40
36
  <Button>{buttonText}</Button>
41
- <Button active>{buttonText}</Button>
42
37
  <Button disabled>{buttonText}</Button>
43
38
  <Button>
44
39
  {icon}
@@ -48,9 +43,6 @@ export default {
48
43
  <div className="bg-primary-main p-xl flex flex-col gap-2">
49
44
  <p className="text-white">Secondary</p>
50
45
  <Button version="secondary">{buttonText}</Button>
51
- <Button version="secondary" active>
52
- {buttonText}
53
- </Button>
54
46
  <Button version="secondary" disabled>
55
47
  {buttonText}
56
48
  </Button>