@redneckz/wildless-cms-uni-blocks 0.14.751 → 0.14.753

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 (585) hide show
  1. package/bundle/api/RetailAPI/getTraceId.d.ts +1 -0
  2. package/bundle/bundle.umd.js +130 -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/ui-kit/Button/Button.d.ts +7 -3
  7. package/bundle/ui-kit/Button/ButtonTitle.d.ts +5 -0
  8. package/bundle/ui-kit/Button/SubmitButton.d.ts +5 -0
  9. package/bundle/ui-kit/ControlStateProps.d.ts +0 -1
  10. package/bundle/ui-kit/DraftDialog/utils.d.ts +11 -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/StepsNavigationButtons.js +2 -1
  34. package/dist/components/CreditCardForm/StepsNavigationButtons.js.map +1 -1
  35. package/dist/components/CreditForm/StepsNavigationButtons.js +2 -1
  36. package/dist/components/CreditForm/StepsNavigationButtons.js.map +1 -1
  37. package/dist/components/Depository/DepositoryItem.js +2 -2
  38. package/dist/components/Depository/DepositoryItem.js.map +1 -1
  39. package/dist/components/OfficesAtmsMap/FiltrationForm.d.ts +0 -2
  40. package/dist/components/OfficesAtmsMap/FiltrationForm.js +5 -6
  41. package/dist/components/OfficesAtmsMap/FiltrationForm.js.map +1 -1
  42. package/dist/components/OfficesAtmsMap/FoldableCardContent.js +2 -2
  43. package/dist/components/OfficesAtmsMap/FoldableCardContent.js.map +1 -1
  44. package/dist/components/OfficesAtmsMap/renderAtmCard.js +1 -2
  45. package/dist/components/OfficesAtmsMap/renderAtmCard.js.map +1 -1
  46. package/dist/components/OfficesAtmsMap/renderOfficeCard.js +1 -1
  47. package/dist/components/OfficesAtmsMap/renderOfficeCard.js.map +1 -1
  48. package/dist/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js +1 -1
  49. package/dist/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js.map +1 -1
  50. package/dist/components/RollupItem/RollupItem.d.ts +0 -4
  51. package/dist/components/RollupItem/RollupItem.js +4 -20
  52. package/dist/components/RollupItem/RollupItem.js.map +1 -1
  53. package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +2 -2
  54. package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  55. package/dist/components/TariffsTable/TariffsTable.js +1 -1
  56. package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  57. package/dist/ui-kit/BaseFiltration/GridBlocks.js +2 -2
  58. package/dist/ui-kit/BaseFiltration/GridBlocks.js.map +1 -1
  59. package/dist/ui-kit/Button/Button.d.ts +7 -3
  60. package/dist/ui-kit/Button/Button.js +15 -17
  61. package/dist/ui-kit/Button/Button.js.map +1 -1
  62. package/dist/ui-kit/Button/ButtonTitle.d.ts +5 -0
  63. package/dist/ui-kit/Button/ButtonTitle.js +7 -0
  64. package/dist/ui-kit/Button/ButtonTitle.js.map +1 -0
  65. package/dist/ui-kit/Button/SubmitButton.d.ts +5 -0
  66. package/dist/ui-kit/Button/SubmitButton.js +8 -0
  67. package/dist/ui-kit/Button/SubmitButton.js.map +1 -0
  68. package/dist/ui-kit/CaptchaDialog/CaptchaDialog.js +2 -1
  69. package/dist/ui-kit/CaptchaDialog/CaptchaDialog.js.map +1 -1
  70. package/dist/ui-kit/ControlStateProps.d.ts +0 -1
  71. package/dist/ui-kit/DraftDialog/parseDraftTask.js +2 -2
  72. package/dist/ui-kit/DraftDialog/parseDraftTask.js.map +1 -1
  73. package/dist/ui-kit/DraftDialog/utils.d.ts +11 -1
  74. package/dist/ui-kit/DraftDialog/utils.js +13 -3
  75. package/dist/ui-kit/DraftDialog/utils.js.map +1 -1
  76. package/dist/ui-kit/Foldable/DefaultFoldButton.d.ts +4 -11
  77. package/dist/ui-kit/Foldable/DefaultFoldButton.js +5 -12
  78. package/dist/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
  79. package/dist/ui-kit/Foldable/Foldable.d.ts +2 -1
  80. package/dist/ui-kit/Foldable/Foldable.js +1 -1
  81. package/dist/ui-kit/Foldable/Foldable.js.map +1 -1
  82. package/dist/ui-kit/Icon/Icon.js +16 -11
  83. package/dist/ui-kit/Icon/Icon.js.map +1 -1
  84. package/dist/ui-kit/Icon/IconProps.d.ts +12 -0
  85. package/dist/ui-kit/Icon/RoundedIcon.js +1 -1
  86. package/dist/ui-kit/Icon/RoundedIcon.js.map +1 -1
  87. package/dist/ui-kit/Icon/ToggleIcon.d.ts +6 -0
  88. package/dist/ui-kit/Icon/ToggleIcon.js +7 -0
  89. package/dist/ui-kit/Icon/ToggleIcon.js.map +1 -0
  90. package/dist/ui-kit/Input/InputPopup.d.ts +2 -1
  91. package/dist/ui-kit/Input/InputPopup.js +29 -1
  92. package/dist/ui-kit/Input/InputPopup.js.map +1 -1
  93. package/dist/ui-kit/Input/useInputPopup.js +4 -3
  94. package/dist/ui-kit/Input/useInputPopup.js.map +1 -1
  95. package/dist/ui-kit/Loader/Loader.js +1 -1
  96. package/dist/ui-kit/Loader/Loader.js.map +1 -1
  97. package/dist/ui-kit/Sitemap/Sitemap.mobile.js +14 -2
  98. package/dist/ui-kit/Sitemap/Sitemap.mobile.js.map +1 -1
  99. package/lib/api/RetailAPI/doRequest.js +5 -0
  100. package/lib/api/RetailAPI/doRequest.js.map +1 -1
  101. package/lib/api/RetailAPI/getGenderFromName.js +7 -5
  102. package/lib/api/RetailAPI/getGenderFromName.js.map +1 -1
  103. package/lib/api/RetailAPI/getTraceId.d.ts +1 -0
  104. package/lib/api/RetailAPI/getTraceId.js +6 -0
  105. package/lib/api/RetailAPI/getTraceId.js.map +1 -0
  106. package/lib/common.css +1 -1
  107. package/lib/components/ApplicationForm/renderAgreementSubmit.js +2 -2
  108. package/lib/components/ApplicationForm/renderAgreementSubmit.js.map +1 -1
  109. package/lib/components/ApplicationLeadForm/GroupedConsents.js +3 -2
  110. package/lib/components/ApplicationLeadForm/GroupedConsents.js.map +1 -1
  111. package/lib/components/ApplicationLeadForm/renderSubmitButton.js +2 -3
  112. package/lib/components/ApplicationLeadForm/renderSubmitButton.js.map +1 -1
  113. package/lib/components/CardTransfer/CardTransfer.js +2 -2
  114. package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  115. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +6 -10
  116. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  117. package/lib/components/CreditCardForm/StepsNavigationButtons.js +2 -1
  118. package/lib/components/CreditCardForm/StepsNavigationButtons.js.map +1 -1
  119. package/lib/components/CreditForm/StepsNavigationButtons.js +2 -1
  120. package/lib/components/CreditForm/StepsNavigationButtons.js.map +1 -1
  121. package/lib/components/Depository/DepositoryItem.js +2 -2
  122. package/lib/components/Depository/DepositoryItem.js.map +1 -1
  123. package/lib/components/OfficesAtmsMap/FiltrationForm.d.ts +0 -2
  124. package/lib/components/OfficesAtmsMap/FiltrationForm.js +4 -4
  125. package/lib/components/OfficesAtmsMap/FiltrationForm.js.map +1 -1
  126. package/lib/components/OfficesAtmsMap/FoldableCardContent.js +2 -2
  127. package/lib/components/OfficesAtmsMap/FoldableCardContent.js.map +1 -1
  128. package/lib/components/OfficesAtmsMap/renderAtmCard.js +1 -2
  129. package/lib/components/OfficesAtmsMap/renderAtmCard.js.map +1 -1
  130. package/lib/components/OfficesAtmsMap/renderOfficeCard.js +1 -1
  131. package/lib/components/OfficesAtmsMap/renderOfficeCard.js.map +1 -1
  132. package/lib/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js +1 -1
  133. package/lib/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js.map +1 -1
  134. package/lib/components/RollupItem/RollupItem.d.ts +0 -4
  135. package/lib/components/RollupItem/RollupItem.js +4 -20
  136. package/lib/components/RollupItem/RollupItem.js.map +1 -1
  137. package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +2 -2
  138. package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  139. package/lib/components/TariffsTable/TariffsTable.js +2 -2
  140. package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  141. package/lib/ui-kit/BaseFiltration/GridBlocks.js +2 -2
  142. package/lib/ui-kit/BaseFiltration/GridBlocks.js.map +1 -1
  143. package/lib/ui-kit/Button/Button.d.ts +7 -3
  144. package/lib/ui-kit/Button/Button.js +16 -18
  145. package/lib/ui-kit/Button/Button.js.map +1 -1
  146. package/lib/ui-kit/Button/ButtonTitle.d.ts +5 -0
  147. package/lib/ui-kit/Button/ButtonTitle.js +5 -0
  148. package/lib/ui-kit/Button/ButtonTitle.js.map +1 -0
  149. package/lib/ui-kit/Button/SubmitButton.d.ts +5 -0
  150. package/lib/ui-kit/Button/SubmitButton.js +6 -0
  151. package/lib/ui-kit/Button/SubmitButton.js.map +1 -0
  152. package/lib/ui-kit/CaptchaDialog/CaptchaDialog.js +2 -1
  153. package/lib/ui-kit/CaptchaDialog/CaptchaDialog.js.map +1 -1
  154. package/lib/ui-kit/ControlStateProps.d.ts +0 -1
  155. package/lib/ui-kit/DraftDialog/parseDraftTask.js +3 -3
  156. package/lib/ui-kit/DraftDialog/parseDraftTask.js.map +1 -1
  157. package/lib/ui-kit/DraftDialog/utils.d.ts +14 -4
  158. package/lib/ui-kit/DraftDialog/utils.js +12 -2
  159. package/lib/ui-kit/DraftDialog/utils.js.map +1 -1
  160. package/lib/ui-kit/Foldable/DefaultFoldButton.d.ts +4 -11
  161. package/lib/ui-kit/Foldable/DefaultFoldButton.js +5 -11
  162. package/lib/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
  163. package/lib/ui-kit/Foldable/Foldable.d.ts +2 -1
  164. package/lib/ui-kit/Foldable/Foldable.js +1 -1
  165. package/lib/ui-kit/Foldable/Foldable.js.map +1 -1
  166. package/lib/ui-kit/Icon/Icon.js +16 -11
  167. package/lib/ui-kit/Icon/Icon.js.map +1 -1
  168. package/lib/ui-kit/Icon/IconProps.d.ts +12 -0
  169. package/lib/ui-kit/Icon/RoundedIcon.js +1 -1
  170. package/lib/ui-kit/Icon/RoundedIcon.js.map +1 -1
  171. package/lib/ui-kit/Icon/ToggleIcon.d.ts +6 -0
  172. package/lib/ui-kit/Icon/ToggleIcon.js +5 -0
  173. package/lib/ui-kit/Icon/ToggleIcon.js.map +1 -0
  174. package/lib/ui-kit/Input/InputPopup.d.ts +2 -1
  175. package/lib/ui-kit/Input/InputPopup.js +29 -1
  176. package/lib/ui-kit/Input/InputPopup.js.map +1 -1
  177. package/lib/ui-kit/Input/useInputPopup.js +4 -3
  178. package/lib/ui-kit/Input/useInputPopup.js.map +1 -1
  179. package/lib/ui-kit/Loader/Loader.js +1 -1
  180. package/lib/ui-kit/Loader/Loader.js.map +1 -1
  181. package/lib/ui-kit/Sitemap/Sitemap.mobile.js +15 -3
  182. package/lib/ui-kit/Sitemap/Sitemap.mobile.js.map +1 -1
  183. package/mobile/bundle/api/RetailAPI/getTraceId.d.ts +1 -0
  184. package/mobile/bundle/bundle.umd.js +147 -146
  185. package/mobile/bundle/bundle.umd.min.js +1 -1
  186. package/mobile/bundle/components/OfficesAtmsMap/FiltrationForm.d.ts +0 -2
  187. package/mobile/bundle/components/RollupItem/RollupItem.d.ts +0 -4
  188. package/mobile/bundle/ui-kit/Button/Button.d.ts +7 -3
  189. package/mobile/bundle/ui-kit/Button/ButtonTitle.d.ts +5 -0
  190. package/mobile/bundle/ui-kit/Button/SubmitButton.d.ts +5 -0
  191. package/mobile/bundle/ui-kit/ControlStateProps.d.ts +0 -1
  192. package/mobile/bundle/ui-kit/DraftDialog/utils.d.ts +11 -1
  193. package/mobile/bundle/ui-kit/Foldable/DefaultFoldButton.d.ts +4 -11
  194. package/mobile/bundle/ui-kit/Foldable/Foldable.d.ts +2 -1
  195. package/mobile/bundle/ui-kit/Icon/IconProps.d.ts +12 -0
  196. package/mobile/bundle/ui-kit/Icon/ToggleIcon.d.ts +6 -0
  197. package/mobile/bundle/ui-kit/Input/InputPopup.d.ts +2 -1
  198. package/mobile/dist/api/RetailAPI/doRequest.js +5 -0
  199. package/mobile/dist/api/RetailAPI/doRequest.js.map +1 -1
  200. package/mobile/dist/api/RetailAPI/getGenderFromName.js +7 -5
  201. package/mobile/dist/api/RetailAPI/getGenderFromName.js.map +1 -1
  202. package/mobile/dist/api/RetailAPI/getTraceId.d.ts +1 -0
  203. package/mobile/dist/api/RetailAPI/getTraceId.js +9 -0
  204. package/mobile/dist/api/RetailAPI/getTraceId.js.map +1 -0
  205. package/mobile/dist/components/ApplicationForm/renderAgreementSubmit.js +2 -2
  206. package/mobile/dist/components/ApplicationForm/renderAgreementSubmit.js.map +1 -1
  207. package/mobile/dist/components/ApplicationLeadForm/GroupedConsents.js +3 -2
  208. package/mobile/dist/components/ApplicationLeadForm/GroupedConsents.js.map +1 -1
  209. package/mobile/dist/components/ApplicationLeadForm/renderSubmitButton.js +2 -3
  210. package/mobile/dist/components/ApplicationLeadForm/renderSubmitButton.js.map +1 -1
  211. package/mobile/dist/components/CardTransfer/CardTransfer.js +2 -2
  212. package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  213. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +5 -9
  214. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  215. package/mobile/dist/components/CreditCardForm/StepsNavigationButtons.js +2 -1
  216. package/mobile/dist/components/CreditCardForm/StepsNavigationButtons.js.map +1 -1
  217. package/mobile/dist/components/CreditForm/StepsNavigationButtons.js +2 -1
  218. package/mobile/dist/components/CreditForm/StepsNavigationButtons.js.map +1 -1
  219. package/mobile/dist/components/Depository/DepositoryItem.js +2 -2
  220. package/mobile/dist/components/Depository/DepositoryItem.js.map +1 -1
  221. package/mobile/dist/components/OfficesAtmsMap/FiltrationForm.d.ts +0 -2
  222. package/mobile/dist/components/OfficesAtmsMap/FiltrationForm.js +5 -6
  223. package/mobile/dist/components/OfficesAtmsMap/FiltrationForm.js.map +1 -1
  224. package/mobile/dist/components/OfficesAtmsMap/FoldableCardContent.js +2 -2
  225. package/mobile/dist/components/OfficesAtmsMap/FoldableCardContent.js.map +1 -1
  226. package/mobile/dist/components/OfficesAtmsMap/renderAtmCard.js +1 -2
  227. package/mobile/dist/components/OfficesAtmsMap/renderAtmCard.js.map +1 -1
  228. package/mobile/dist/components/OfficesAtmsMap/renderOfficeCard.js +1 -1
  229. package/mobile/dist/components/OfficesAtmsMap/renderOfficeCard.js.map +1 -1
  230. package/mobile/dist/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js +1 -1
  231. package/mobile/dist/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js.map +1 -1
  232. package/mobile/dist/components/RollupItem/RollupItem.d.ts +0 -4
  233. package/mobile/dist/components/RollupItem/RollupItem.js +4 -20
  234. package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
  235. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +2 -2
  236. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  237. package/mobile/dist/components/TariffsTable/TariffsTable.js +1 -1
  238. package/mobile/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  239. package/mobile/dist/ui-kit/BaseFiltration/GridBlocks.js +2 -2
  240. package/mobile/dist/ui-kit/BaseFiltration/GridBlocks.js.map +1 -1
  241. package/mobile/dist/ui-kit/Button/Button.d.ts +7 -3
  242. package/mobile/dist/ui-kit/Button/Button.js +15 -17
  243. package/mobile/dist/ui-kit/Button/Button.js.map +1 -1
  244. package/mobile/dist/ui-kit/Button/ButtonTitle.d.ts +5 -0
  245. package/mobile/dist/ui-kit/Button/ButtonTitle.js +7 -0
  246. package/mobile/dist/ui-kit/Button/ButtonTitle.js.map +1 -0
  247. package/mobile/dist/ui-kit/Button/SubmitButton.d.ts +5 -0
  248. package/mobile/dist/ui-kit/Button/SubmitButton.js +8 -0
  249. package/mobile/dist/ui-kit/Button/SubmitButton.js.map +1 -0
  250. package/mobile/dist/ui-kit/CaptchaDialog/CaptchaDialog.js +2 -1
  251. package/mobile/dist/ui-kit/CaptchaDialog/CaptchaDialog.js.map +1 -1
  252. package/mobile/dist/ui-kit/ControlStateProps.d.ts +0 -1
  253. package/mobile/dist/ui-kit/DraftDialog/parseDraftTask.js +2 -2
  254. package/mobile/dist/ui-kit/DraftDialog/parseDraftTask.js.map +1 -1
  255. package/mobile/dist/ui-kit/DraftDialog/utils.d.ts +11 -1
  256. package/mobile/dist/ui-kit/DraftDialog/utils.js +13 -3
  257. package/mobile/dist/ui-kit/DraftDialog/utils.js.map +1 -1
  258. package/mobile/dist/ui-kit/Foldable/DefaultFoldButton.d.ts +4 -11
  259. package/mobile/dist/ui-kit/Foldable/DefaultFoldButton.js +5 -12
  260. package/mobile/dist/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
  261. package/mobile/dist/ui-kit/Foldable/Foldable.d.ts +2 -1
  262. package/mobile/dist/ui-kit/Foldable/Foldable.js +1 -1
  263. package/mobile/dist/ui-kit/Foldable/Foldable.js.map +1 -1
  264. package/mobile/dist/ui-kit/Icon/Icon.js +16 -11
  265. package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
  266. package/mobile/dist/ui-kit/Icon/IconProps.d.ts +12 -0
  267. package/mobile/dist/ui-kit/Icon/RoundedIcon.js +1 -1
  268. package/mobile/dist/ui-kit/Icon/RoundedIcon.js.map +1 -1
  269. package/mobile/dist/ui-kit/Icon/ToggleIcon.d.ts +6 -0
  270. package/mobile/dist/ui-kit/Icon/ToggleIcon.js +7 -0
  271. package/mobile/dist/ui-kit/Icon/ToggleIcon.js.map +1 -0
  272. package/mobile/dist/ui-kit/Input/InputPopup.d.ts +2 -1
  273. package/mobile/dist/ui-kit/Input/InputPopup.js +29 -1
  274. package/mobile/dist/ui-kit/Input/InputPopup.js.map +1 -1
  275. package/mobile/dist/ui-kit/Input/useInputPopup.js +4 -3
  276. package/mobile/dist/ui-kit/Input/useInputPopup.js.map +1 -1
  277. package/mobile/dist/ui-kit/Loader/Loader.js +1 -1
  278. package/mobile/dist/ui-kit/Loader/Loader.js.map +1 -1
  279. package/mobile/dist/ui-kit/Sitemap/Sitemap.js +14 -2
  280. package/mobile/dist/ui-kit/Sitemap/Sitemap.js.map +1 -1
  281. package/mobile/lib/api/RetailAPI/doRequest.js +5 -0
  282. package/mobile/lib/api/RetailAPI/doRequest.js.map +1 -1
  283. package/mobile/lib/api/RetailAPI/getGenderFromName.js +7 -5
  284. package/mobile/lib/api/RetailAPI/getGenderFromName.js.map +1 -1
  285. package/mobile/lib/api/RetailAPI/getTraceId.d.ts +1 -0
  286. package/mobile/lib/api/RetailAPI/getTraceId.js +6 -0
  287. package/mobile/lib/api/RetailAPI/getTraceId.js.map +1 -0
  288. package/mobile/lib/common.css +1 -1
  289. package/mobile/lib/components/ApplicationForm/renderAgreementSubmit.js +2 -2
  290. package/mobile/lib/components/ApplicationForm/renderAgreementSubmit.js.map +1 -1
  291. package/mobile/lib/components/ApplicationLeadForm/GroupedConsents.js +3 -2
  292. package/mobile/lib/components/ApplicationLeadForm/GroupedConsents.js.map +1 -1
  293. package/mobile/lib/components/ApplicationLeadForm/renderSubmitButton.js +2 -3
  294. package/mobile/lib/components/ApplicationLeadForm/renderSubmitButton.js.map +1 -1
  295. package/mobile/lib/components/CardTransfer/CardTransfer.js +2 -2
  296. package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  297. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +6 -10
  298. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  299. package/mobile/lib/components/CreditCardForm/StepsNavigationButtons.js +2 -1
  300. package/mobile/lib/components/CreditCardForm/StepsNavigationButtons.js.map +1 -1
  301. package/mobile/lib/components/CreditForm/StepsNavigationButtons.js +2 -1
  302. package/mobile/lib/components/CreditForm/StepsNavigationButtons.js.map +1 -1
  303. package/mobile/lib/components/Depository/DepositoryItem.js +2 -2
  304. package/mobile/lib/components/Depository/DepositoryItem.js.map +1 -1
  305. package/mobile/lib/components/OfficesAtmsMap/FiltrationForm.d.ts +0 -2
  306. package/mobile/lib/components/OfficesAtmsMap/FiltrationForm.js +4 -4
  307. package/mobile/lib/components/OfficesAtmsMap/FiltrationForm.js.map +1 -1
  308. package/mobile/lib/components/OfficesAtmsMap/FoldableCardContent.js +2 -2
  309. package/mobile/lib/components/OfficesAtmsMap/FoldableCardContent.js.map +1 -1
  310. package/mobile/lib/components/OfficesAtmsMap/renderAtmCard.js +1 -2
  311. package/mobile/lib/components/OfficesAtmsMap/renderAtmCard.js.map +1 -1
  312. package/mobile/lib/components/OfficesAtmsMap/renderOfficeCard.js +1 -1
  313. package/mobile/lib/components/OfficesAtmsMap/renderOfficeCard.js.map +1 -1
  314. package/mobile/lib/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js +1 -1
  315. package/mobile/lib/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js.map +1 -1
  316. package/mobile/lib/components/RollupItem/RollupItem.d.ts +0 -4
  317. package/mobile/lib/components/RollupItem/RollupItem.js +4 -20
  318. package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
  319. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +2 -2
  320. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  321. package/mobile/lib/components/TariffsTable/TariffsTable.js +2 -2
  322. package/mobile/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  323. package/mobile/lib/ui-kit/BaseFiltration/GridBlocks.js +2 -2
  324. package/mobile/lib/ui-kit/BaseFiltration/GridBlocks.js.map +1 -1
  325. package/mobile/lib/ui-kit/Button/Button.d.ts +7 -3
  326. package/mobile/lib/ui-kit/Button/Button.js +16 -18
  327. package/mobile/lib/ui-kit/Button/Button.js.map +1 -1
  328. package/mobile/lib/ui-kit/Button/ButtonTitle.d.ts +5 -0
  329. package/mobile/lib/ui-kit/Button/ButtonTitle.js +5 -0
  330. package/mobile/lib/ui-kit/Button/ButtonTitle.js.map +1 -0
  331. package/mobile/lib/ui-kit/Button/SubmitButton.d.ts +5 -0
  332. package/mobile/lib/ui-kit/Button/SubmitButton.js +6 -0
  333. package/mobile/lib/ui-kit/Button/SubmitButton.js.map +1 -0
  334. package/mobile/lib/ui-kit/CaptchaDialog/CaptchaDialog.js +2 -1
  335. package/mobile/lib/ui-kit/CaptchaDialog/CaptchaDialog.js.map +1 -1
  336. package/mobile/lib/ui-kit/ControlStateProps.d.ts +0 -1
  337. package/mobile/lib/ui-kit/DraftDialog/parseDraftTask.js +3 -3
  338. package/mobile/lib/ui-kit/DraftDialog/parseDraftTask.js.map +1 -1
  339. package/mobile/lib/ui-kit/DraftDialog/utils.d.ts +11 -1
  340. package/mobile/lib/ui-kit/DraftDialog/utils.js +12 -2
  341. package/mobile/lib/ui-kit/DraftDialog/utils.js.map +1 -1
  342. package/mobile/lib/ui-kit/Foldable/DefaultFoldButton.d.ts +4 -11
  343. package/mobile/lib/ui-kit/Foldable/DefaultFoldButton.js +5 -11
  344. package/mobile/lib/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
  345. package/mobile/lib/ui-kit/Foldable/Foldable.d.ts +2 -1
  346. package/mobile/lib/ui-kit/Foldable/Foldable.js +1 -1
  347. package/mobile/lib/ui-kit/Foldable/Foldable.js.map +1 -1
  348. package/mobile/lib/ui-kit/Icon/Icon.js +16 -11
  349. package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
  350. package/mobile/lib/ui-kit/Icon/IconProps.d.ts +12 -0
  351. package/mobile/lib/ui-kit/Icon/RoundedIcon.js +1 -1
  352. package/mobile/lib/ui-kit/Icon/RoundedIcon.js.map +1 -1
  353. package/mobile/lib/ui-kit/Icon/ToggleIcon.d.ts +6 -0
  354. package/mobile/lib/ui-kit/Icon/ToggleIcon.js +5 -0
  355. package/mobile/lib/ui-kit/Icon/ToggleIcon.js.map +1 -0
  356. package/mobile/lib/ui-kit/Input/InputPopup.d.ts +2 -1
  357. package/mobile/lib/ui-kit/Input/InputPopup.js +29 -1
  358. package/mobile/lib/ui-kit/Input/InputPopup.js.map +1 -1
  359. package/mobile/lib/ui-kit/Input/useInputPopup.js +4 -3
  360. package/mobile/lib/ui-kit/Input/useInputPopup.js.map +1 -1
  361. package/mobile/lib/ui-kit/Loader/Loader.js +1 -1
  362. package/mobile/lib/ui-kit/Loader/Loader.js.map +1 -1
  363. package/mobile/lib/ui-kit/Sitemap/Sitemap.js +15 -3
  364. package/mobile/lib/ui-kit/Sitemap/Sitemap.js.map +1 -1
  365. package/mobile/src/api/RetailAPI/doRequest.ts +6 -0
  366. package/mobile/src/api/RetailAPI/getGenderFromName.ts +7 -10
  367. package/mobile/src/api/RetailAPI/getTraceId.ts +6 -0
  368. package/mobile/src/components/ApplicationForm/renderAgreementSubmit.tsx +5 -2
  369. package/mobile/src/components/ApplicationLeadForm/GroupedConsents.tsx +5 -2
  370. package/mobile/src/components/ApplicationLeadForm/renderSubmitButton.tsx +3 -4
  371. package/mobile/src/components/CardTransfer/CardTransfer.tsx +3 -3
  372. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +19 -27
  373. package/mobile/src/components/CreditCardForm/StepsNavigationButtons.tsx +3 -2
  374. package/mobile/src/components/CreditForm/StepsNavigationButtons.tsx +3 -2
  375. package/mobile/src/components/Depository/DepositoryItem.tsx +2 -2
  376. package/mobile/src/components/OfficesAtmsMap/FiltrationForm.tsx +17 -29
  377. package/mobile/src/components/OfficesAtmsMap/FoldableCardContent.tsx +14 -5
  378. package/mobile/src/components/OfficesAtmsMap/renderAtmCard.tsx +5 -6
  379. package/mobile/src/components/OfficesAtmsMap/renderOfficeCard.tsx +0 -1
  380. package/mobile/src/components/OfficesAtmsMap/renderRemoteWorkplaceCard.tsx +0 -1
  381. package/mobile/src/components/RollupItem/RollupItem.tsx +14 -61
  382. package/mobile/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +2 -2
  383. package/mobile/src/components/TariffsTable/TariffsTable.tsx +2 -2
  384. package/mobile/src/ui-kit/BaseFiltration/GridBlocks.tsx +5 -5
  385. package/mobile/src/ui-kit/Button/Button.tsx +60 -44
  386. package/mobile/src/ui-kit/Button/ButtonTitle.tsx +17 -0
  387. package/mobile/src/ui-kit/Button/SubmitButton.tsx +14 -0
  388. package/mobile/src/ui-kit/CaptchaDialog/CaptchaDialog.tsx +6 -8
  389. package/mobile/src/ui-kit/ControlStateProps.ts +0 -1
  390. package/mobile/src/ui-kit/DraftDialog/parseDraftTask.ts +4 -2
  391. package/mobile/src/ui-kit/DraftDialog/utils.ts +18 -3
  392. package/mobile/src/ui-kit/Foldable/DefaultFoldButton.tsx +16 -51
  393. package/mobile/src/ui-kit/Foldable/Foldable.tsx +4 -3
  394. package/mobile/src/ui-kit/Icon/Icon.tsx +21 -15
  395. package/mobile/src/ui-kit/Icon/IconProps.ts +13 -0
  396. package/mobile/src/ui-kit/Icon/RoundedIcon.tsx +1 -1
  397. package/mobile/src/ui-kit/Icon/ToggleIcon.tsx +11 -0
  398. package/mobile/src/ui-kit/Input/InputPopup.tsx +52 -18
  399. package/mobile/src/ui-kit/Input/useInputPopup.tsx +11 -3
  400. package/mobile/src/ui-kit/Loader/Loader.tsx +1 -1
  401. package/mobile/src/ui-kit/Sitemap/Sitemap.tsx +40 -8
  402. package/package.json +1 -1
  403. package/src/api/RetailAPI/doRequest.ts +6 -0
  404. package/src/api/RetailAPI/getGenderFromName.ts +7 -10
  405. package/src/api/RetailAPI/getTraceId.ts +6 -0
  406. package/src/components/ApplicationForm/renderAgreementSubmit.tsx +5 -2
  407. package/src/components/ApplicationLeadForm/GroupedConsents.tsx +5 -2
  408. package/src/components/ApplicationLeadForm/renderSubmitButton.tsx +3 -4
  409. package/src/components/CardTransfer/CardTransfer.tsx +3 -3
  410. package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +19 -27
  411. package/src/components/CreditCardForm/StepsNavigationButtons.tsx +3 -2
  412. package/src/components/CreditForm/StepsNavigationButtons.tsx +3 -2
  413. package/src/components/Depository/DepositoryItem.tsx +2 -2
  414. package/src/components/OfficesAtmsMap/FiltrationForm.tsx +17 -29
  415. package/src/components/OfficesAtmsMap/FoldableCardContent.tsx +14 -5
  416. package/src/components/OfficesAtmsMap/renderAtmCard.tsx +5 -6
  417. package/src/components/OfficesAtmsMap/renderOfficeCard.tsx +0 -1
  418. package/src/components/OfficesAtmsMap/renderRemoteWorkplaceCard.tsx +0 -1
  419. package/src/components/RollupItem/RollupItem.fixture.mobile.tsx +1 -12
  420. package/src/components/RollupItem/RollupItem.tsx +14 -61
  421. package/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +2 -2
  422. package/src/components/TariffsTable/TariffsTable.tsx +2 -2
  423. package/src/ui-kit/BaseFiltration/GridBlocks.tsx +5 -5
  424. package/src/ui-kit/Button/Button.fixture.tsx +0 -8
  425. package/src/ui-kit/Button/Button.tsx +60 -44
  426. package/src/ui-kit/Button/ButtonTitle.tsx +17 -0
  427. package/src/ui-kit/Button/SubmitButton.tsx +14 -0
  428. package/src/ui-kit/CaptchaDialog/CaptchaDialog.tsx +6 -8
  429. package/src/ui-kit/ControlStateProps.ts +0 -1
  430. package/src/ui-kit/DraftDialog/parseDraftTask.ts +4 -2
  431. package/src/ui-kit/DraftDialog/utils.ts +18 -3
  432. package/src/ui-kit/Foldable/DefaultFoldButton.tsx +16 -51
  433. package/src/ui-kit/Foldable/Foldable.tsx +4 -3
  434. package/src/ui-kit/Icon/Icon.tsx +21 -15
  435. package/src/ui-kit/Icon/IconProps.ts +13 -0
  436. package/src/ui-kit/Icon/RoundedIcon.tsx +1 -1
  437. package/src/ui-kit/Icon/ToggleIcon.tsx +11 -0
  438. package/src/ui-kit/Input/InputPopup.tsx +52 -18
  439. package/src/ui-kit/Input/useInputPopup.tsx +11 -3
  440. package/src/ui-kit/Loader/Loader.tsx +1 -1
  441. package/src/ui-kit/Sitemap/Sitemap.mobile.tsx +40 -8
  442. package/bundle/components/ApplicationForm/renderSubmitButton.d.ts +0 -2
  443. package/bundle/components/OfficesAtmsMap/renderFoldButton.d.ts +0 -3
  444. package/bundle/components/RollupItem/AccordionFoldButton.d.ts +0 -12
  445. package/bundle/components/RollupItem/getIconName.d.ts +0 -1
  446. package/bundle/components/RollupItem/renderRoundedIcon.d.ts +0 -3
  447. package/bundle/components/RollupItem/renderRoundedIcon.mobile.d.ts +0 -3
  448. package/bundle/components/RollupItem/rollupIconVersion.mobile.d.ts +0 -1
  449. package/bundle/ui-kit/Button/IconButton.d.ts +0 -10
  450. package/bundle/ui-kit/Button/useButton.d.ts +0 -2
  451. package/bundle/ui-kit/TextWithIcon/TextWithIcon.d.ts +0 -13
  452. package/dist/components/ApplicationForm/renderSubmitButton.d.ts +0 -2
  453. package/dist/components/ApplicationForm/renderSubmitButton.js +0 -8
  454. package/dist/components/ApplicationForm/renderSubmitButton.js.map +0 -1
  455. package/dist/components/OfficesAtmsMap/renderFoldButton.d.ts +0 -3
  456. package/dist/components/OfficesAtmsMap/renderFoldButton.js +0 -7
  457. package/dist/components/OfficesAtmsMap/renderFoldButton.js.map +0 -1
  458. package/dist/components/RollupItem/AccordionFoldButton.d.ts +0 -12
  459. package/dist/components/RollupItem/AccordionFoldButton.js +0 -11
  460. package/dist/components/RollupItem/AccordionFoldButton.js.map +0 -1
  461. package/dist/components/RollupItem/getIconName.d.ts +0 -1
  462. package/dist/components/RollupItem/getIconName.js +0 -7
  463. package/dist/components/RollupItem/getIconName.js.map +0 -1
  464. package/dist/components/RollupItem/renderRoundedIcon.d.ts +0 -3
  465. package/dist/components/RollupItem/renderRoundedIcon.js +0 -6
  466. package/dist/components/RollupItem/renderRoundedIcon.js.map +0 -1
  467. package/dist/components/RollupItem/renderRoundedIcon.mobile.d.ts +0 -3
  468. package/dist/components/RollupItem/renderRoundedIcon.mobile.js +0 -7
  469. package/dist/components/RollupItem/renderRoundedIcon.mobile.js.map +0 -1
  470. package/dist/components/RollupItem/rollupIconVersion.mobile.d.ts +0 -1
  471. package/dist/components/RollupItem/rollupIconVersion.mobile.js +0 -4
  472. package/dist/components/RollupItem/rollupIconVersion.mobile.js.map +0 -1
  473. package/dist/ui-kit/Button/IconButton.d.ts +0 -10
  474. package/dist/ui-kit/Button/IconButton.js +0 -13
  475. package/dist/ui-kit/Button/IconButton.js.map +0 -1
  476. package/dist/ui-kit/Button/useButton.d.ts +0 -2
  477. package/dist/ui-kit/Button/useButton.js +0 -16
  478. package/dist/ui-kit/Button/useButton.js.map +0 -1
  479. package/dist/ui-kit/TextWithIcon/TextWithIcon.d.ts +0 -13
  480. package/dist/ui-kit/TextWithIcon/TextWithIcon.js +0 -10
  481. package/dist/ui-kit/TextWithIcon/TextWithIcon.js.map +0 -1
  482. package/lib/components/ApplicationForm/renderSubmitButton.d.ts +0 -2
  483. package/lib/components/ApplicationForm/renderSubmitButton.js +0 -5
  484. package/lib/components/ApplicationForm/renderSubmitButton.js.map +0 -1
  485. package/lib/components/OfficesAtmsMap/renderFoldButton.d.ts +0 -3
  486. package/lib/components/OfficesAtmsMap/renderFoldButton.js +0 -4
  487. package/lib/components/OfficesAtmsMap/renderFoldButton.js.map +0 -1
  488. package/lib/components/RollupItem/AccordionFoldButton.d.ts +0 -12
  489. package/lib/components/RollupItem/AccordionFoldButton.js +0 -9
  490. package/lib/components/RollupItem/AccordionFoldButton.js.map +0 -1
  491. package/lib/components/RollupItem/getIconName.d.ts +0 -1
  492. package/lib/components/RollupItem/getIconName.js +0 -4
  493. package/lib/components/RollupItem/getIconName.js.map +0 -1
  494. package/lib/components/RollupItem/renderRoundedIcon.d.ts +0 -3
  495. package/lib/components/RollupItem/renderRoundedIcon.js +0 -3
  496. package/lib/components/RollupItem/renderRoundedIcon.js.map +0 -1
  497. package/lib/components/RollupItem/renderRoundedIcon.mobile.d.ts +0 -3
  498. package/lib/components/RollupItem/renderRoundedIcon.mobile.js +0 -4
  499. package/lib/components/RollupItem/renderRoundedIcon.mobile.js.map +0 -1
  500. package/lib/components/RollupItem/rollupIconVersion.mobile.d.ts +0 -1
  501. package/lib/components/RollupItem/rollupIconVersion.mobile.js +0 -2
  502. package/lib/components/RollupItem/rollupIconVersion.mobile.js.map +0 -1
  503. package/lib/ui-kit/Button/IconButton.d.ts +0 -10
  504. package/lib/ui-kit/Button/IconButton.js +0 -11
  505. package/lib/ui-kit/Button/IconButton.js.map +0 -1
  506. package/lib/ui-kit/Button/useButton.d.ts +0 -2
  507. package/lib/ui-kit/Button/useButton.js +0 -13
  508. package/lib/ui-kit/Button/useButton.js.map +0 -1
  509. package/lib/ui-kit/TextWithIcon/TextWithIcon.d.ts +0 -13
  510. package/lib/ui-kit/TextWithIcon/TextWithIcon.js +0 -8
  511. package/lib/ui-kit/TextWithIcon/TextWithIcon.js.map +0 -1
  512. package/mobile/bundle/components/ApplicationForm/renderSubmitButton.d.ts +0 -2
  513. package/mobile/bundle/components/OfficesAtmsMap/renderFoldButton.d.ts +0 -3
  514. package/mobile/bundle/components/RollupItem/AccordionFoldButton.d.ts +0 -12
  515. package/mobile/bundle/components/RollupItem/getIconName.d.ts +0 -1
  516. package/mobile/bundle/components/RollupItem/renderRoundedIcon.d.ts +0 -3
  517. package/mobile/bundle/ui-kit/Button/IconButton.d.ts +0 -10
  518. package/mobile/bundle/ui-kit/Button/useButton.d.ts +0 -2
  519. package/mobile/bundle/ui-kit/TextWithIcon/TextWithIcon.d.ts +0 -13
  520. package/mobile/dist/components/ApplicationForm/renderSubmitButton.d.ts +0 -2
  521. package/mobile/dist/components/ApplicationForm/renderSubmitButton.js +0 -8
  522. package/mobile/dist/components/ApplicationForm/renderSubmitButton.js.map +0 -1
  523. package/mobile/dist/components/OfficesAtmsMap/renderFoldButton.d.ts +0 -3
  524. package/mobile/dist/components/OfficesAtmsMap/renderFoldButton.js +0 -7
  525. package/mobile/dist/components/OfficesAtmsMap/renderFoldButton.js.map +0 -1
  526. package/mobile/dist/components/RollupItem/AccordionFoldButton.d.ts +0 -12
  527. package/mobile/dist/components/RollupItem/AccordionFoldButton.js +0 -11
  528. package/mobile/dist/components/RollupItem/AccordionFoldButton.js.map +0 -1
  529. package/mobile/dist/components/RollupItem/getIconName.d.ts +0 -1
  530. package/mobile/dist/components/RollupItem/getIconName.js +0 -7
  531. package/mobile/dist/components/RollupItem/getIconName.js.map +0 -1
  532. package/mobile/dist/components/RollupItem/renderRoundedIcon.d.ts +0 -3
  533. package/mobile/dist/components/RollupItem/renderRoundedIcon.js +0 -7
  534. package/mobile/dist/components/RollupItem/renderRoundedIcon.js.map +0 -1
  535. package/mobile/dist/ui-kit/Button/IconButton.d.ts +0 -10
  536. package/mobile/dist/ui-kit/Button/IconButton.js +0 -13
  537. package/mobile/dist/ui-kit/Button/IconButton.js.map +0 -1
  538. package/mobile/dist/ui-kit/Button/useButton.d.ts +0 -2
  539. package/mobile/dist/ui-kit/Button/useButton.js +0 -16
  540. package/mobile/dist/ui-kit/Button/useButton.js.map +0 -1
  541. package/mobile/dist/ui-kit/TextWithIcon/TextWithIcon.d.ts +0 -13
  542. package/mobile/dist/ui-kit/TextWithIcon/TextWithIcon.js +0 -10
  543. package/mobile/dist/ui-kit/TextWithIcon/TextWithIcon.js.map +0 -1
  544. package/mobile/lib/components/ApplicationForm/renderSubmitButton.d.ts +0 -2
  545. package/mobile/lib/components/ApplicationForm/renderSubmitButton.js +0 -5
  546. package/mobile/lib/components/ApplicationForm/renderSubmitButton.js.map +0 -1
  547. package/mobile/lib/components/OfficesAtmsMap/renderFoldButton.d.ts +0 -3
  548. package/mobile/lib/components/OfficesAtmsMap/renderFoldButton.js +0 -4
  549. package/mobile/lib/components/OfficesAtmsMap/renderFoldButton.js.map +0 -1
  550. package/mobile/lib/components/RollupItem/AccordionFoldButton.d.ts +0 -12
  551. package/mobile/lib/components/RollupItem/AccordionFoldButton.js +0 -9
  552. package/mobile/lib/components/RollupItem/AccordionFoldButton.js.map +0 -1
  553. package/mobile/lib/components/RollupItem/getIconName.d.ts +0 -1
  554. package/mobile/lib/components/RollupItem/getIconName.js +0 -4
  555. package/mobile/lib/components/RollupItem/getIconName.js.map +0 -1
  556. package/mobile/lib/components/RollupItem/renderRoundedIcon.d.ts +0 -3
  557. package/mobile/lib/components/RollupItem/renderRoundedIcon.js +0 -4
  558. package/mobile/lib/components/RollupItem/renderRoundedIcon.js.map +0 -1
  559. package/mobile/lib/ui-kit/Button/IconButton.d.ts +0 -10
  560. package/mobile/lib/ui-kit/Button/IconButton.js +0 -11
  561. package/mobile/lib/ui-kit/Button/IconButton.js.map +0 -1
  562. package/mobile/lib/ui-kit/Button/useButton.d.ts +0 -2
  563. package/mobile/lib/ui-kit/Button/useButton.js +0 -13
  564. package/mobile/lib/ui-kit/Button/useButton.js.map +0 -1
  565. package/mobile/lib/ui-kit/TextWithIcon/TextWithIcon.d.ts +0 -13
  566. package/mobile/lib/ui-kit/TextWithIcon/TextWithIcon.js +0 -8
  567. package/mobile/lib/ui-kit/TextWithIcon/TextWithIcon.js.map +0 -1
  568. package/mobile/src/components/ApplicationForm/renderSubmitButton.tsx +0 -9
  569. package/mobile/src/components/OfficesAtmsMap/renderFoldButton.tsx +0 -12
  570. package/mobile/src/components/RollupItem/AccordionFoldButton.tsx +0 -41
  571. package/mobile/src/components/RollupItem/getIconName.tsx +0 -6
  572. package/mobile/src/components/RollupItem/renderRoundedIcon.tsx +0 -7
  573. package/mobile/src/ui-kit/Button/IconButton.tsx +0 -36
  574. package/mobile/src/ui-kit/Button/useButton.ts +0 -16
  575. package/mobile/src/ui-kit/TextWithIcon/TextWithIcon.tsx +0 -37
  576. package/src/components/ApplicationForm/renderSubmitButton.tsx +0 -9
  577. package/src/components/OfficesAtmsMap/renderFoldButton.tsx +0 -12
  578. package/src/components/RollupItem/AccordionFoldButton.tsx +0 -41
  579. package/src/components/RollupItem/getIconName.tsx +0 -6
  580. package/src/components/RollupItem/renderRoundedIcon.mobile.tsx +0 -7
  581. package/src/components/RollupItem/renderRoundedIcon.tsx +0 -5
  582. package/src/components/RollupItem/rollupIconVersion.mobile.tsx +0 -1
  583. package/src/ui-kit/Button/IconButton.tsx +0 -36
  584. package/src/ui-kit/Button/useButton.ts +0 -16
  585. package/src/ui-kit/TextWithIcon/TextWithIcon.tsx +0 -37
@@ -0,0 +1 @@
1
+ export declare const getTraceId: () => string;
@@ -284,7 +284,7 @@
284
284
 
285
285
  const isOnlyDigits = (str) => str && !/\D/.test(str);
286
286
 
287
- const svgUseStyleMap = {
287
+ const iconVersionStyle = {
288
288
  '': '',
289
289
  normal: '',
290
290
  color: 'text-primary-main',
@@ -292,25 +292,30 @@
292
292
  white: 'text-black',
293
293
  gray: 'text-gray',
294
294
  };
295
- const Icon = JSX(({ className = '', imageClassName = '', name = '', alt = `Иконка ${name}`, title = alt, iconVersion = 'color', width, height, }) => {
295
+ const sizeStyle = {
296
+ small: '16',
297
+ medium: '24',
298
+ large: '48',
299
+ xl: '78',
300
+ };
301
+ const Icon = JSX(({ className = '', imageClassName = '', name = '', alt = `Иконка ${name}`, title = alt, iconVersion = 'color', size, width = size && sizeStyle[size], height = width, }) => {
296
302
  const router = useRouter();
297
303
  const iconName = iconVersion === 'normal' ? `${name}.svg` : `sprites.svg#${name}`;
298
304
  const href = adjustHref(router)(joinPath(projectSettings.CDN, '/icons/', iconName));
299
305
  if (iconVersion === 'normal') {
300
306
  // fix svg gradient color
301
- return (jsx("img", { className: className, src: href, alt: alt, title: title, "aria-hidden": "true", width: width, height: height, style: getInlineStyle(className, height) }));
307
+ return (jsx("img", { className: className, style: getInlineStyle(className, height), src: href, alt: alt, title: title, "aria-hidden": "true", width: width, height: height }));
302
308
  }
303
- return (jsx(Background, { className: className, children: jsxs("svg", { className: style(getSvgSize(width), svgUseStyleMap[iconVersion], {
309
+ return (jsx(Background, { className: className, children: jsxs("svg", { className: style(iconVersionStyle[iconVersion], {
310
+ 'w-full h-full': !width,
304
311
  invert: iconVersion === 'white',
305
312
  }, imageClassName), width: width, height: height, "aria-hidden": "true", children: [title ? jsx("title", { children: title }) : null, alt ? jsx("desc", { children: alt }) : null, jsx("use", { href: href, xlinkHref: href })] }) }));
306
313
  });
307
- const getInlineStyle = (className, height) => {
308
- if (className?.includes('h-')) {
309
- return {};
310
- }
311
- return { height: isOnlyDigits(height) ? `${height}px` : height, width: 'auto' };
312
- };
313
- const getSvgSize = (width) => (width ? '' : 'w-full h-full');
314
+ // TODO Что то совсем не очень
315
+ const getInlineStyle = (className, height) => className?.includes('h-')
316
+ ? {}
317
+ : { height: isOnlyDigits(height) ? `${height}px` : height, width: 'auto' };
318
+ // TODO И это тоже
314
319
  const Background = JSX(({ className, children }) => className ? (jsx("div", { role: "img", className: className, children: children })) : (children));
315
320
 
316
321
  const env = new Proxy({
@@ -1415,8 +1420,35 @@
1415
1420
 
1416
1421
  const usePopupManager = () => useEmitterWithActions(defaultEventBus.emitter, 'popup');
1417
1422
 
1418
- const InputPopup = JSX(({ options, onChange }) => (jsx("div", { className: "bg-white text-l max-h-64 overflow-y-auto overflow-x-hidden rounded-md shadow-2xl", role: "list", children: options?.map((item, key) => (jsx("div", { className: "flex px-m py-s cursor-pointer hover:bg-main-divider pr-5xl relative", role: "listitem", onMouseDown: () => onChange(item), children: jsx("span", { className: "min-h-6", children: item.processedValue }) }, key.toString()))) })));
1423
+ const ARROW_DOWN_KEYBOARD_KEY_CODE = 'ArrowDown';
1424
+ const ARROW_UP_KEYBOARD_KEY_CODE = 'ArrowUp';
1425
+ const ENTER_KEYBOARD_KEY_CODE = 'Enter';
1426
+ const INITIAL_LIST_ITEM_ACTIVE = -1;
1427
+ const InputPopup = JSX(({ options, container, onChange }) => {
1428
+ const [listItemActive, setListItemActive] = useState(INITIAL_LIST_ITEM_ACTIVE);
1429
+ const onKeyDownHandler = (ev) => {
1430
+ const hintsListMaxIndex = options.length - 1;
1431
+ if (ev.key === ARROW_DOWN_KEYBOARD_KEY_CODE) {
1432
+ setListItemActive(listItemActive < hintsListMaxIndex ? listItemActive + 1 : 0);
1433
+ }
1434
+ else if (ev.key === ARROW_UP_KEYBOARD_KEY_CODE) {
1435
+ setListItemActive(listItemActive > 0 ? listItemActive - 1 : hintsListMaxIndex);
1436
+ }
1437
+ else if (ev.key === ENTER_KEYBOARD_KEY_CODE && options[listItemActive]) {
1438
+ ev.preventDefault();
1439
+ onChange(options[listItemActive]);
1440
+ }
1441
+ };
1442
+ useEffect(() => {
1443
+ container.addEventListener('keydown', onKeyDownHandler);
1444
+ return () => container.removeEventListener('keydown', onKeyDownHandler);
1445
+ }, [listItemActive]);
1446
+ return (jsx("div", { className: "bg-white text-l overflow-y-auto overflow-x-hidden rounded-md shadow-2xl", role: "list", children: options?.map((item, key) => (jsx("div", { className: style('flex px-m py-s cursor-pointer hover:bg-main-divider pr-5xl relative', {
1447
+ 'bg-main-divider': listItemActive === key,
1448
+ }), role: "listitem", onMouseDown: () => onChange(item), children: jsx("span", { className: "min-h-6", children: item.processedValue }) }, key.toString()))) }));
1449
+ });
1419
1450
 
1451
+ // eslint-disable-next-line max-lines-per-function
1420
1452
  function useInputPopup({ isOpen, value, name, onChange, onDaDataChange, daDataQueryPrefix, }) {
1421
1453
  const prevInputValue = useRef(value);
1422
1454
  const currentInputValue = useRef(value);
@@ -1430,8 +1462,8 @@
1430
1462
  const handleChange = useCallback((option) => {
1431
1463
  close();
1432
1464
  currentInputValue.current = option.processedValue;
1433
- onChange && onChange(option.processedValue);
1434
- onDaDataChange && onDaDataChange(option);
1465
+ onChange?.(option.processedValue);
1466
+ onDaDataChange?.(option);
1435
1467
  }, [close, onChange]);
1436
1468
  const inputRef = useRef(null);
1437
1469
  const getHintsList = useMemo(() => async (searchValue) => {
@@ -1464,7 +1496,7 @@
1464
1496
  prevInputValue.current = value;
1465
1497
  }
1466
1498
  popup.open({
1467
- popup: jsx(InputPopup, { options: hintsList, value: value, onChange: handleChange }),
1499
+ popup: (jsx(InputPopup, { options: hintsList, container: inputElement, value: value, onChange: handleChange })),
1468
1500
  top: top + globalThis.scrollY + height,
1469
1501
  left,
1470
1502
  width,
@@ -2818,40 +2850,21 @@
2818
2850
 
2819
2851
  const renderTitle = (title) => title ? (jsx("div", { className: "@xl:text-center @xl:col-span-2 mb-m", children: jsx(Text, { size: "text-h6", children: title }) })) : null;
2820
2852
 
2821
- const Loader = JSX(({ color = 'text-primary-main', position = 'absolute', blur = true, size = 'big' }) => (jsx("div", { className: style('flex justify-center items-center h-full w-full z-50', position, {
2822
- 'backdrop-blur': blur,
2823
- }), children: jsx("div", { className: style('inline-block ', 'animate-spin rounded-full', 'border-solid border-current', 'border-r-transparent', size === 'small' ? 'border-4 h-8 w-8' : 'border-8 h-28 w-28', color), role: "status" }) })));
2824
-
2825
- function useButton() {
2826
- return (props) => ({
2827
- ...props,
2828
- onClick: handlerDecorator(handleClick(props)),
2829
- });
2830
- }
2831
- function handleClick({ disabled, onClick }) {
2832
- return (ev) => {
2833
- !disabled && onClick && onClick(ev);
2834
- };
2835
- }
2836
-
2837
2853
  const buttonStyleMap = {
2838
- primary: 'text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active',
2839
- secondary: 'text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active',
2840
- };
2841
- const secondaryButtonStyleMap = {
2842
- primary: style('group-data-secondary:text-primary-main group-data-secondary:bg-white', 'group-data-secondary:hover:text-white group-data-secondary:hover:bg-primary-hover', 'group-data-secondary:active:bg-primary-active'),
2843
- secondary: style('group-data-secondary:text-white group-data-secondary:bg-white/20', 'group-data-secondary:hover:bg-primary-hover', 'group-data-secondary:active:bg-primary-active'),
2844
- };
2845
- const Button = JSX(({ children, ...props }) => {
2846
- const button = useButton();
2847
- const { className, version = 'primary', active, disabled, isLoading, type = 'button', rounded = true, role, onClick, } = button(props);
2848
- return (jsxs("button", { className: style('font-sans px-9 py-4', 'flex justify-center items-center gap-xs relative', {
2849
- 'text-white bg-primary-active': active,
2850
- 'bg-main-gray text-main-disabled cursor-not-allowed': disabled || isLoading,
2854
+ primary: style('justify-center px-9 py-4', 'text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active', 'group-data-secondary:text-primary-main group-data-secondary:bg-white', 'group-data-secondary:hover:text-white group-data-secondary:hover:bg-primary-hover', 'group-data-secondary:active:bg-primary-active'),
2855
+ secondary: style('justify-center px-9 py-4', 'text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active', 'group-data-secondary:text-white group-data-secondary:bg-white/20', 'group-data-secondary:hover:bg-primary-hover', 'group-data-secondary:active:bg-primary-active'),
2856
+ };
2857
+ const embeddedStyle = style('group/btn-embedded', 'justify-between p-0', 'bg-transparent border border-transparent outline-none');
2858
+ const Button = JSX(({ className, type = 'button', version = 'primary', embedded, rounded = true, disabled, role, data, dataTheme, children, onClick, }) => {
2859
+ const handleClick = useCallback(handlerDecorator((ev) => {
2860
+ !disabled && onClick?.(ev);
2861
+ }), [disabled, onClick]);
2862
+ const aspectsAttrs = useMemo(() => getAspectsAttributes(data), [data]);
2863
+ return (jsx("button", { className: style('font-sans flex items-center gap-xs relative', !disabled && !embedded && buttonStyleMap[version], {
2864
+ [embeddedStyle]: embedded,
2851
2865
  'rounded-md': rounded,
2852
- }, !active && !disabled && !isLoading
2853
- ? style(buttonStyleMap[version], secondaryButtonStyleMap[version])
2854
- : '', className), type: type, role: role, onClick: onClick, children: [isLoading ? jsx(Loader, { blur: true, size: "small" }) : null, children] }));
2866
+ 'bg-main-gray text-main-disabled cursor-not-allowed': disabled,
2867
+ }, className), type: type, role: role, "data-theme": dataTheme, ...aspectsAttrs, onClick: handleClick, children: children }));
2855
2868
  });
2856
2869
 
2857
2870
  const CloseButton = JSX(({ className, onClose }) => (jsx("button", { className: style('flex justify-center items-center w-12 h-12 p-2xs bg-transparent border-none', className), onClick: onClose, title: "\u0417\u0430\u043A\u0440\u044B\u0442\u044C", type: "button", children: jsx(Icon, { name: "CloseIcon", width: "20", height: "20", iconVersion: "gray" }) })));
@@ -2936,12 +2949,16 @@
2936
2949
  return { ...formState, typeForm: { key: typeForm, text: '' } };
2937
2950
  };
2938
2951
 
2939
- const Footnote = JSX(({ text, link }) => (jsxs(Paragraph, { size: "text-l", font: "font-light", color: "text-secondary-text", children: [text ? jsx(Text, { children: text }) : null, link ? (jsx(LinkButton, { href: link.href, ariaLabel: "\u0443\u0441\u043B\u043E\u0432\u0438\u044F \u043F\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0434\u0430\u043D\u043D\u044B\u0445", target: link.target || '', className: "!text-left text-primary-main", children: jsx(Text, { children: link.text }) })) : null] })));
2952
+ const Loader = JSX(({ color = 'text-primary-main', position = 'absolute', blur = true, size = 'big' }) => (jsx("div", { className: style('flex justify-center items-center h-full w-full z-50', position, {
2953
+ 'backdrop-blur': blur,
2954
+ }), children: jsx("div", { className: style('inline-block', 'animate-spin rounded-full', 'border-solid border-current', 'border-r-transparent', size === 'small' ? 'border-4 h-8 w-8' : 'border-8 h-28 w-28', color), role: "status" }) })));
2955
+
2956
+ const SubmitButton$1 = JSX(({ isLoading, disabled, children, ...rest }) => (jsxs(Button, { type: "submit", disabled: isLoading || disabled, ...rest, children: [isLoading ? jsx(Loader, { blur: true, size: "small" }) : null, children] })));
2940
2957
 
2941
- const renderSubmitButton$1 = (button, className) => (jsx(Button, { className: style('w-full @xl:w-auto', className), type: "submit", children: button?.text ? button.text : 'Отправить заявку' }));
2958
+ const Footnote = JSX(({ text, link }) => (jsxs(Paragraph, { size: "text-l", font: "font-light", color: "text-secondary-text", children: [text ? jsx(Text, { children: text }) : null, link ? (jsx(LinkButton, { href: link.href, ariaLabel: "\u0443\u0441\u043B\u043E\u0432\u0438\u044F \u043F\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0434\u0430\u043D\u043D\u044B\u0445", target: link.target || '', className: "!text-left text-primary-main", children: jsx(Text, { children: link.text }) })) : null] })));
2942
2959
 
2943
2960
  const agreementText = 'Нажимая кнопку, вы подтверждаете согласие с ';
2944
- const renderAgreementSubmit = (consentDataProcessing, link, button) => (jsxs("div", { className: "flex col-span-2 gap-xs flex-col w-full items-baseline", children: [consentDataProcessing ? (jsxs("div", { children: [jsxs("div", { className: "flex gap-3 items-center", children: [jsx(Checkbox, { ...consentDataProcessing }), jsx(Footnote, { link: link })] }), renderErrorText(withValidator(consentDataProcessing, agreementValidator).error)] })) : (jsx(Footnote, { text: agreementText, link: link })), renderSubmitButton$1(button)] }));
2961
+ const renderAgreementSubmit = (consentDataProcessing, link, button) => (jsxs("div", { className: "flex col-span-2 gap-xs flex-col w-full items-baseline", children: [consentDataProcessing ? (jsxs("div", { children: [jsxs("div", { className: "flex gap-3 items-center", children: [jsx(Checkbox, { ...consentDataProcessing }), jsx(Footnote, { link: link })] }), renderErrorText(withValidator(consentDataProcessing, agreementValidator).error)] })) : (jsx(Footnote, { text: agreementText, link: link })), jsx(SubmitButton$1, { className: "w-full @xl:w-auto", children: button?.text ? button.text : 'Отправить заявку' })] }));
2945
2962
 
2946
2963
  const renderContacts = () => (jsxs("div", { className: "space-y-m", children: [jsx(Heading, { headingType: "h6", title: "\u0418\u043B\u0438 \u0441\u0432\u044F\u0436\u0438\u0442\u0435\u0441\u044C \u0441 \u043D\u0430\u043C\u0438 \u0443\u0434\u043E\u0431\u043D\u044B\u043C \u0441\u043F\u043E\u0441\u043E\u0431\u043E\u043C", className: "@xl:text-center" }), jsxs("div", { className: "flex sm:justify-center gap-xl", children: [jsxs("a", { className: "flex gap-s items-center text-primary-text no-underline", href: `tel:8 (800) 200-78-70`, "aria-label": "\u0442\u0435\u043B\u0435\u0444\u043E\u043D 8 (800) 200-78-70", children: [jsx(Img, { image: { icon: 'PhoneIcon' }, width: "24", height: "24" }), jsx("span", { children: "8 (800) 200-78-70" })] }), jsxs("a", { className: "flex gap-s items-center text-primary-text no-underline", "aria-label": "\u043F\u043E\u0447\u0442\u0430 ved@rshb.ru", href: `mailto:ved@rshb.ru`, children: [jsx(Img, { image: { icon: 'MailIcon' }, width: "24", height: "24" }), jsx("span", { children: "ved@rshb.ru" })] })] })] }));
2947
2964
 
@@ -3271,6 +3288,12 @@
3271
3288
  const mapByIndex = (points, index) => points.map((_) => _.coords?.[index]);
3272
3289
  const getArraySumAndAverage = (arr) => arr.length && arr.reduce((a, b) => a + b) / arr.length;
3273
3290
 
3291
+ const getTraceId = () => {
3292
+ const result = new Uint8Array(8);
3293
+ globalThis.crypto.getRandomValues(result);
3294
+ return result.reduce((acc, _) => `${acc}${_.toString(16).padStart(2, '0')}`, '');
3295
+ };
3296
+
3274
3297
  const fetchRetailJSON = async (url, method, body) => {
3275
3298
  try {
3276
3299
  const response = await doRequest(url, method, body);
@@ -3282,10 +3305,14 @@
3282
3305
  }
3283
3306
  };
3284
3307
  async function doRequest(url, method, body) {
3308
+ const traceId = getTraceId();
3285
3309
  return globalThis?.fetch?.(`${RETAIL_API_BASE_URI}${url}`, {
3286
3310
  method,
3287
3311
  headers: {
3288
3312
  'Content-Type': 'application/json',
3313
+ 'X-B3-Sampled': '1',
3314
+ 'X-B3-Spanid': traceId,
3315
+ 'X-B3-Traceid': traceId,
3289
3316
  ...getAuthorizationHeaders(),
3290
3317
  },
3291
3318
  credentials: 'include',
@@ -3325,8 +3352,14 @@
3325
3352
 
3326
3353
  const CardRow = JSX(({ className, children }) => (jsx("div", { className: style('flex flex-col sm:flex-row sm:border-t sm:border-solid sm:border-main-divider py-xl gap-x-6xl gap-y-xl', className), children: children })));
3327
3354
 
3355
+ const ButtonTitle = JSX(({ className, children }) => (jsx("span", { className: style('inline-flex items-center text-start gap-s group-hover/btn-embedded:text-primary-main', className), children: children })));
3356
+
3357
+ const ToggleIcon = JSX(({ isUnfolded, ...rest }) => (jsx(Icon, { name: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', size: "small", iconVersion: "", ...rest })));
3358
+
3359
+ const DefaultFoldButton = JSX(({ className, isUnfolded, label = isUnfolded ? 'Скрыть' : 'Развернуть', embedded, ...rest }) => (jsxs(Button, { className: style({ 'text-h4': !embedded }, className), rounded: false, embedded: embedded, ...rest, children: [jsx(ButtonTitle, { children: label }), jsx(ToggleIcon, { isUnfolded: isUnfolded, iconVersion: embedded ? 'color' : '' })] })));
3360
+
3328
3361
  // TODO Не особо полезно, в итоге
3329
- const Foldable = JSX(({ className, children }) => (jsx("div", { className: style(className), role: "group", children: children })));
3362
+ const Foldable = JSX(({ className, role = 'group', children }) => (jsx("div", { className: style(className), role: role, children: children })));
3330
3363
 
3331
3364
  function useResizeObserver(callback, deps) {
3332
3365
  const ref = useRef(null);
@@ -3358,16 +3391,9 @@
3358
3391
  return (jsx("div", { ref: containerRef, className: `transition-max-h duration-300 overflow-hidden ${containerRef.current || !isUnfolded ? 'max-h-0' : ''} `, children: jsx("div", { className: className, ref: childrenWrapperRef, children: children }) }));
3359
3392
  });
3360
3393
 
3361
- const IconButton = JSX(({ className, name, text, data, onClick }) => {
3362
- const aspectsAttrs = useMemo(() => getAspectsAttributes(data), [data]);
3363
- return (jsxs("button", { className: style('text-primary-main flex justify-between items-center border-none px-m', text ? 'pt-lg' : 'py-2xs', className), type: "button", ...aspectsAttrs, onClick: onClick, children: [text ? jsx("div", { className: "pr-m", children: text }) : null, jsx(Icon, { className: "text-primary-text", name: name, width: "16", height: "16" })] }));
3364
- });
3365
-
3366
- const renderFoldButton$2 = ({ isUnfolded, onToggle }) => (jsx(IconButton, { className: "w-full border-b border-solid border-main-divider", name: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', text: isUnfolded ? 'Скрыть' : 'Подробнее', onClick: onToggle }));
3367
-
3368
3394
  const FoldableCardContent = JSX(({ children }) => {
3369
3395
  const [isUnfolded, { toggle }] = useBool(false);
3370
- return (jsxs(Foldable, { className: "block sm:hidden", children: [jsx(FoldableSection, { isUnfolded: isUnfolded, children: children }), renderFoldButton$2({ isUnfolded, onToggle: toggle })] }));
3396
+ return (jsxs("div", { children: [jsx("div", { className: "hidden sm:block", children: children }), jsxs(Foldable, { className: "block sm:hidden", children: [jsx(FoldableSection, { isUnfolded: isUnfolded, children: children }), jsx(DefaultFoldButton, { className: "w-full my-m mr-m border-b border-solid border-main-divider", label: isUnfolded ? 'Скрыть' : 'Подробнее', isUnfolded: isUnfolded, embedded: true, onClick: toggle })] })] }));
3371
3397
  });
3372
3398
 
3373
3399
  const getScheduleDescription = (workScheduleWeek) => {
@@ -3504,7 +3530,7 @@
3504
3530
  return null;
3505
3531
  }
3506
3532
  const workScheduleWeek = getWorkScheduleWeek(branch.workSchedule);
3507
- return (jsxs("div", { className: "bg-white col-span-12 p-3xl sm:border-green sm:border", children: [jsxs("div", { className: "sm:flex sm:justify-between", children: [jsxs("div", { children: [jsx(Text, { size: "text-h4", children: branch.name }), branch.address ? (jsxs("div", { className: "flex pb-xl pt-xs gap-2xs", children: [jsx(Icon, { name: "GeolocationIcon", width: "24", height: "24" }), jsx(Text, { size: "text-l", children: branch.address })] })) : null] }), renderCurrentDaySchedule(workScheduleWeek)] }), jsx("div", { className: "hidden sm:block", children: renderCardContent$1(branch) }), jsx(FoldableCardContent, { children: renderCardContent$1(branch) })] }, String(i)));
3533
+ return (jsxs("div", { className: "bg-white col-span-12 p-3xl sm:border-green sm:border", children: [jsxs("div", { className: "sm:flex sm:justify-between", children: [jsxs("div", { children: [jsx(Text, { size: "text-h4", children: branch.name }), branch.address ? (jsxs("div", { className: "flex pb-xl pt-xs gap-2xs", children: [jsx(Icon, { name: "GeolocationIcon", width: "24", height: "24" }), jsx(Text, { size: "text-l", children: branch.address })] })) : null] }), renderCurrentDaySchedule(workScheduleWeek)] }), jsx(FoldableCardContent, { children: renderCardContent$1(branch) })] }, String(i)));
3508
3534
  };
3509
3535
  const renderCardContent$1 = ({ phone, fax, phoneBusiness, phoneNatural, phoneCallCentre, phoneCurrencyControl, workSchedule, exchangeRate, }) => {
3510
3536
  const workScheduleWeek = getWorkScheduleWeek(workSchedule);
@@ -4306,12 +4332,14 @@
4306
4332
 
4307
4333
  const GENDERS = ['male', 'female'];
4308
4334
  const getGenderFromName = async (name) => {
4309
- const res = await fetchRetailJSON('/suggestions/suggest/fio', 'POST', {
4335
+ const res = await getDaDataHints({
4336
+ url: '/suggest/fio',
4337
+ requestData: {
4338
+ parts: ['NAME'],
4339
+ },
4310
4340
  query: name,
4311
- count: 1,
4312
- parts: ['NAME'],
4313
4341
  });
4314
- const gender = res?.suggestions[0]?.data?.gender?.toLowerCase() || '';
4342
+ const gender = res[0]?.data?.gender?.toLowerCase() || '';
4315
4343
  return GENDERS.includes(gender) ? gender : '';
4316
4344
  };
4317
4345
 
@@ -4447,7 +4475,7 @@
4447
4475
  ?.filter((_) => _.required)
4448
4476
  ?.some((_) => Boolean(withValidator(field(_?.name), validatorObj[_?.name]).error)), [inputs]);
4449
4477
  const [isUnfolded, { toggle }] = useBool(true);
4450
- return (jsx("div", { className: "w-fit", children: jsxs(Foldable, { children: [jsxs("div", { className: "flex items-start", children: [jsxs("div", { children: [jsx(Checkbox, { text: CONSENT_ALL_DOCS_TEXT, value: isChecked, onChange: handleGeneralToggle }, key), renderErrorText(hasValidationErrors ? CONSENT_REQUIRED : '')] }), jsx(IconButton, { name: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', onClick: toggle })] }), jsx(FoldableSection, { className: "flex flex-col pl-2xl", isUnfolded: isUnfolded, children: inputs.map(getField(field, {}, InputsConsentsMap)) })] }) }));
4478
+ return (jsx("div", { className: "w-fit", children: jsxs(Foldable, { children: [jsxs("div", { className: "flex items-start", children: [jsxs("div", { children: [jsx(Checkbox, { text: CONSENT_ALL_DOCS_TEXT, value: isChecked, onChange: handleGeneralToggle }, key), renderErrorText(hasValidationErrors ? CONSENT_REQUIRED : '')] }), jsx(Button, { embedded: true, onClick: toggle, children: jsx(ToggleIcon, { className: "p-2xs", iconVersion: "color", isUnfolded: isUnfolded }) })] }), jsx(FoldableSection, { className: "flex flex-col pl-2xl", isUnfolded: isUnfolded, children: inputs.map(getField(field, {}, InputsConsentsMap)) })] }) }));
4451
4479
  });
4452
4480
 
4453
4481
  const renderInputs$2 = ({ field, inputs }) => {
@@ -4459,7 +4487,7 @@
4459
4487
  restInputs: inputs.filter(({ name }) => !Object.keys(CONSENTS).includes(String(name))),
4460
4488
  });
4461
4489
 
4462
- const renderSubmitButton = (button, isSending) => (jsx(Button, { className: style('w-full @xl:w-auto'), type: "submit", isLoading: isSending, children: button?.text ? button.text : 'Отправить заявку' }));
4490
+ const renderSubmitButton = (button, isSending) => (jsx(SubmitButton$1, { className: "w-full @xl:w-auto", isLoading: isSending, children: button?.text ? button.text : 'Отправить заявку' }));
4463
4491
 
4464
4492
  const createDraftTask = async (body) => {
4465
4493
  const res = await fetchRetailJSON('/user-data/createDraftTask', 'POST', body);
@@ -4566,7 +4594,7 @@
4566
4594
  (async () => setCaptcha(URL.createObjectURL(await createCaptcha(phoneNumber))))();
4567
4595
  }, []);
4568
4596
  useEffect(handleCreateCaptcha, []);
4569
- return (jsx(Dialog, { className: "my-6xl max-w-lg w-full min-h-fit mx-auto rounded-lg", head: jsx(Logo, {}), onClose: onClose, children: jsxs("div", { className: "flex flex-col gap-lg items-center rounded-md", children: [jsxs("div", { className: "flex h-36 w-72", children: [jsx("img", { className: "grow", src: captcha }), jsx("div", { onClick: handleCreateCaptcha, className: "flex w-8 items-center justify-center cursor-pointer", children: jsx(Icon, { iconVersion: "normal", name: "RefreshIcon" }) })] }), jsx(Input, { className: "w-[300px]", onChange: setCode, value: code, placeholder: "\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u043E\u0434 \u0441 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0438" }), hasError ? jsx("div", { className: "text-error", children: "\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u043A\u043E\u0434" }) : null, jsxs("div", { className: "flex w-[310px] justify-between", children: [jsx(Button, { onClick: close, version: "secondary", children: "\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F" }), jsx(Button, { type: "submit", disabled: !code, onClick: handleCheckCaptcha, version: "secondary", children: "\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C" })] }), isLoading ? jsx(Loader, { blur: false }) : null] }) }));
4597
+ return (jsx(Dialog, { className: "my-6xl max-w-lg w-full min-h-fit mx-auto rounded-lg", head: jsx(Logo, {}), onClose: onClose, children: jsxs("div", { className: "flex flex-col gap-lg items-center rounded-md", children: [jsxs("div", { className: "flex h-36 w-72", children: [jsx("img", { className: "grow", src: captcha }), jsx(Button, { className: "w-8", embedded: true, onClick: handleCreateCaptcha, children: jsx(Icon, { iconVersion: "normal", name: "RefreshIcon" }) })] }), jsx(Input, { className: "w-[300px]", onChange: setCode, value: code, placeholder: "\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u043E\u0434 \u0441 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0438" }), hasError ? jsx("div", { className: "text-error", children: "\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u043A\u043E\u0434" }) : null, jsxs("div", { className: "flex w-[310px] justify-between", children: [jsx(Button, { version: "secondary", onClick: close, children: "\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F" }), jsx(SubmitButton$1, { version: "secondary", disabled: !code, onClick: handleCheckCaptcha, children: "\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C" })] }), isLoading ? jsx(Loader, { blur: false }) : null] }) }));
4570
4598
  });
4571
4599
 
4572
4600
  const Timer = JSX(({ time, setTime, className }) => {
@@ -4874,6 +4902,16 @@
4874
4902
  };
4875
4903
  const countIncomeAverage = (wages, retirementIncome) => Number(wages) + Number(retirementIncome);
4876
4904
 
4905
+ const EMPLOYMENT_TYPE = {
4906
+ WORK: 'Работаю',
4907
+ RETIREE: 'Пенсионер',
4908
+ };
4909
+ const INCOME_CERTIFICATE = {
4910
+ BANK_STATEMENT: 'Получаю зарплату на счет/карту в РСХБ',
4911
+ BANK_STATEMENT_PENS: 'Получаю пенсию на счет/карту в РСХБ',
4912
+ PFR_CERTIFICATE: 'Получаю зарплату на счет/карту в другом банке',
4913
+ OTHER: 'Другое',
4914
+ };
4877
4915
  const creditCodesToProgrammIdMap = {
4878
4916
  credit_cash: '10',
4879
4917
  credit_cash_single_doc: '28',
@@ -4943,11 +4981,11 @@
4943
4981
  }
4944
4982
  : null;
4945
4983
  };
4946
- const getSelectValue = (option) => {
4984
+ const getSelectValue = (option, map) => {
4947
4985
  return option?.key
4948
4986
  ? {
4949
4987
  key: option.key,
4950
- text: option.value,
4988
+ text: map ? map[option.key] : option.value,
4951
4989
  }
4952
4990
  : undefined;
4953
4991
  };
@@ -4976,7 +5014,7 @@
4976
5014
  participantDateRegistration,
4977
5015
  housing: getSelectValue(housing),
4978
5016
  beginDate,
4979
- employment: getSelectValue(employment),
5017
+ employment: getSelectValue(employment, EMPLOYMENT_TYPE),
4980
5018
  organizationName,
4981
5019
  inn,
4982
5020
  employerActivities: getSelectValue(employerActivities),
@@ -4994,7 +5032,7 @@
4994
5032
  familyMembers: familyMembers?.toString(),
4995
5033
  dependents: dependents?.toString(),
4996
5034
  conscription: getSelectValue(conscription),
4997
- confirmationIncome: getSelectValue(incomeCertificateCd),
5035
+ confirmationIncome: getSelectValue(incomeCertificateCd, INCOME_CERTIFICATE),
4998
5036
  snils,
4999
5037
  armyIdFlg,
5000
5038
  bankruptcyFlg,
@@ -5399,26 +5437,13 @@
5399
5437
 
5400
5438
  const isOdd = (n) => n % 2 !== 0;
5401
5439
 
5402
- const TextWithIcon = JSX(({ textNode, iconNode, tag, onClick, justifyContent = 'between', className, role, ...rest }) => {
5403
- const Tag = tag;
5404
- return (jsxs(Tag, { tag: tag, className: style('flex items-center w-full gap-1', justifyContent === 'between' ? 'justify-between' : 'justify-center', className), onClick: onClick, role: role, ...rest, children: [textNode ? jsx("div", { children: textNode }) : null, iconNode ? jsx("div", { children: iconNode }) : null] }));
5405
- });
5406
-
5407
- const DefaultFoldButton = JSX(({ className = '', label, icon, dataTheme = 'pc', disabled = false, onClick }) => (jsx(TextWithIcon, { tag: "button", onClick: onClick, disabled: disabled, "data-theme": dataTheme, justifyContent: "center", role: "button", className: style('py-4 border border-transparent outline-none focus:border-primary-text space-x-s', disabled
5408
- ? 'bg-main-divider text-main-disabled hover:bg-main-divider'
5409
- : 'bg-primary-main text-white hover:bg-primary-hove', className), textNode: jsx(Text, { size: "text-h4", children: label }), iconNode: icon ? (jsx(Img, { image: {
5410
- icon,
5411
- iconVersion: 'white',
5412
- }, className: "my-auto", width: "20", height: "20" })) : null })));
5413
- const renderDefaultFoldButton = ({ isUnfolded, onToggle }) => (jsx(DefaultFoldButton, { icon: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', label: isUnfolded ? 'Скрыть' : 'Развернуть', onClick: onToggle }));
5414
-
5415
5440
  const resultsGridStyle = 'space-y-px lg:space-y-0 lg:grid lg:grid-cols-12 gap-2xs';
5416
- const GridBlocks = JSX(({ topItemsCount = 0, label = '', block, blocksToRender = [], ...rest }) => {
5441
+ const GridBlocks = JSX(({ topItemsCount = 0, label, block, blocksToRender = [], ...rest }) => {
5417
5442
  const [visibleBlocks, hiddenBlocks] = topItemsCount > 0
5418
5443
  ? [blocksToRender.slice(0, topItemsCount), blocksToRender.slice(topItemsCount)]
5419
5444
  : [blocksToRender, []];
5420
5445
  const [isUnfolded, { toggle }] = useBool(false);
5421
- return (jsxs("div", { className: style('space-y-2xs', { hidden: !blocksToRender.length }), children: [jsxs("div", { className: style(resultsGridStyle), children: [renderBlocksList(visibleBlocks, { ...rest.options, parent: block }), isOdd(visibleBlocks.length) ? jsx(AdTile, { className: "col-span-6", ...rest }) : null] }), jsxs(Foldable, { children: [jsxs(FoldableSection, { className: style(resultsGridStyle), isUnfolded: isUnfolded, children: [renderBlocksList(hiddenBlocks, { ...rest.options, parent: block }), isOdd(hiddenBlocks.length) ? jsx(AdTile, { className: "col-span-6", ...rest }) : null] }), jsx(DefaultFoldButton, { className: style({ hidden: topItemsCount < 1 }), dataTheme: rest.options?.page?.colorPalette, disabled: !hiddenBlocks?.length, label: label, icon: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', onClick: toggle })] })] }));
5446
+ return (jsxs("div", { className: style('space-y-2xs', { hidden: !blocksToRender.length }), children: [jsxs("div", { className: style(resultsGridStyle), children: [renderBlocksList(visibleBlocks, { ...rest.options, parent: block }), isOdd(visibleBlocks.length) ? jsx(AdTile, { className: "col-span-6", ...rest }) : null] }), jsxs(Foldable, { children: [jsxs(FoldableSection, { className: style(resultsGridStyle), isUnfolded: isUnfolded, children: [renderBlocksList(hiddenBlocks, { ...rest.options, parent: block }), isOdd(hiddenBlocks.length) ? jsx(AdTile, { className: "col-span-6", ...rest }) : null] }), jsx(DefaultFoldButton, { className: style('w-full', { hidden: topItemsCount < 1 }), label: label, isUnfolded: isUnfolded, disabled: !hiddenBlocks?.length, dataTheme: rest.options?.page?.colorPalette, onClick: toggle })] })] }));
5422
5447
  });
5423
5448
 
5424
5449
  const getBorderStyle = (showBorder = false) => showBorder
@@ -5819,7 +5844,7 @@
5819
5844
  return icon ? (jsx("div", { style: {
5820
5845
  width: `${widthAndHeight}px`,
5821
5846
  height: `${widthAndHeight}px`,
5822
- }, className: style('rounded-icon object-fit flex justify-center items-center', iconBgStyles[iconBgVersion], className), children: jsx(Icon, { ...rest, width: "54%", height: "54%", name: icon }) })) : null;
5847
+ }, className: style('rounded-icon object-fit flex justify-center items-center', iconBgStyles[iconBgVersion], className), children: jsx(Icon, { ...rest, width: "54%", name: icon }) })) : null;
5823
5848
  });
5824
5849
 
5825
5850
  const BenefitsBlock = JSX(({ className = '', title, benefitList, ...rest }) => {
@@ -6588,7 +6613,7 @@
6588
6613
  useEffect(() => {
6589
6614
  setDisabled(amount <= 0);
6590
6615
  }, [amount]);
6591
- return (jsxs(BlockWrapper, { className: style('flex flex-col items-center', className), defaultPadding: "p-6xl", ...rest, children: [title ? (jsx(Heading, { className: "pb-lg xl:pb-4xl self-start xl:self-center", headingType: "h3", title: title })) : null, jsxs("form", { className: "w-full xl:max-w-[468px]", method: "POST", onSubmit: onSubmit, children: [jsx(CurrencyInput, { valid: !isDisabled, label: label, max: MAX_AMOUNT, min: MIN_AMOUNT, ...field('amount', { parse: Number, format: String }) }), jsx("input", { type: "hidden", name: "amount", value: amount }), button?.text ? (jsx(Button, { className: "w-full mt-lg", type: "submit", disabled: isDisabled, children: button.text })) : null] })] }));
6616
+ return (jsxs(BlockWrapper, { className: style('flex flex-col items-center', className), defaultPadding: "p-6xl", ...rest, children: [title ? (jsx(Heading, { className: "pb-lg xl:pb-4xl self-start xl:self-center", headingType: "h3", title: title })) : null, jsxs("form", { className: "w-full xl:max-w-[468px]", method: "POST", onSubmit: onSubmit, children: [jsx(CurrencyInput, { valid: !isDisabled, label: label, max: MAX_AMOUNT, min: MIN_AMOUNT, ...field('amount', { parse: Number, format: String }) }), jsx("input", { type: "hidden", name: "amount", value: amount }), button?.text ? (jsx(SubmitButton$1, { className: "w-full mt-lg", disabled: isDisabled, children: button.text })) : null] })] }));
6592
6617
  });
6593
6618
 
6594
6619
  const ITEMS_GAP = 16;
@@ -6786,10 +6811,10 @@
6786
6811
  };
6787
6812
 
6788
6813
  const CarouselTariffsCard = JSX(({ className = '', title, align = 'text-center', icon, button, visibleCellsCount = 1, cardCells = [], options, data, ...rest }) => {
6789
- const cellsNode = cardCells.map(renderCardInfo);
6790
- const [visibleCells, hiddenCells] = visibleCellsCount > 0
6814
+ const cellsNode = useMemo(() => cardCells.map(renderCardInfo), [cardCells]);
6815
+ const [visibleCells, hiddenCells] = useMemo(() => visibleCellsCount > 0
6791
6816
  ? [cellsNode.slice(0, visibleCellsCount), cellsNode.slice(visibleCellsCount)]
6792
- : [cellsNode, []];
6817
+ : [cellsNode, []], [visibleCellsCount, cellsNode]);
6793
6818
  const [isVisible, setIsVisible] = useState(false);
6794
6819
  useEffect(() => carouselTariffsCardEventBus.subscribe('fold', (event) => {
6795
6820
  if (event && options?.parent && event.parent === options?.parent) {
@@ -6803,11 +6828,8 @@
6803
6828
  parent: options?.parent,
6804
6829
  });
6805
6830
  }, [isVisible, options?.parent]);
6806
- return (jsxs(BlockWrapper, { className: style('flex flex-col', className), defaultPadding: "p-2xl", ...rest, children: [isIcon(icon) ? (jsx("div", { className: "self-center", children: jsx(Img, { image: icon }) })) : null, title ? (jsx(Heading, { className: style('pt-xs', align), headingType: "h5", title: title })) : null, button?.text ? jsx(LinkButton, { className: "w-full mt-m mb-lg", ...button }) : null, hiddenCells.length ? (jsxs(Foldable, { children: [jsxs("div", { children: [visibleCells, jsx(FoldableSection, { isUnfolded: isVisible, children: hiddenCells })] }), cardCells.length >= visibleCellsCount ? (jsx(FoldButton, { isUnfolded: isVisible, data: data, onClick: handleFold })) : null] })) : (jsx("div", { children: visibleCells }))] }));
6831
+ return (jsxs(BlockWrapper, { className: style('flex flex-col', className), defaultPadding: "p-2xl", ...rest, children: [jsx(Img, { className: "self-center", image: icon }), title ? (jsx(Heading, { className: style('pt-xs', align), headingType: "h5", title: title })) : null, button?.text ? jsx(LinkButton, { className: "w-full mt-m mb-lg", ...button }) : null, hiddenCells.length ? (jsxs(Foldable, { children: [jsxs("div", { children: [visibleCells, jsx(FoldableSection, { isUnfolded: isVisible, children: hiddenCells })] }), cardCells.length >= visibleCellsCount ? (jsx(DefaultFoldButton, { className: "w-full mt-m", label: isVisible ? 'Скрыть' : 'Подробнее о тарифе', isUnfolded: isVisible, embedded: true, data: data, onClick: handleFold })) : null] })) : (jsx("div", { children: visibleCells }))] }));
6807
6832
  });
6808
- const FoldButton = JSX(({ data, isUnfolded, onClick }) => (jsx(IconButton, { className: "w-full", ...(isUnfolded
6809
- ? { name: 'ArrowUpIcon', text: 'Скрыть', data }
6810
- : { name: 'ArrowDownIcon', text: 'Подробнее о тарифе' }), onClick: onClick })));
6811
6833
 
6812
6834
  const ContactsBlock = JSX(({ className, contacts, info, version = 'secondary', ...rest }) => (jsxs(BlockWrapper, { className: style('flex', className), defaultPadding: "p-6xl", version: version, ...rest, children: [info?.length ? renderBlocks(info) : null, contacts?.length ? renderBlocks(contacts) : null] })));
6813
6835
  const renderBlocks = (info) => (jsx("div", { className: "flex gap-5xl grow basis-0", children: info.map((column, i) => renderBlocksColumn({ column, i })) }));
@@ -7050,7 +7072,7 @@
7050
7072
  const StepsNavigationButtons$1 = JSX(({ step, isSending, onPrevStep }) => {
7051
7073
  const isFirstStep = step === 0;
7052
7074
  const isFinalStep = step === 5;
7053
- return (jsxs("div", { className: "flex justify-between gap-m", children: [jsx(Button, { onClick: onPrevStep, type: "button", version: "secondary", disabled: isFirstStep, children: "\u041D\u0430\u0437\u0430\u0434" }), jsx(Button, { isLoading: isSending, type: "submit", children: isFinalStep ? 'Отправить заявку' : 'Далее' })] }));
7075
+ return (jsxs("div", { className: "flex justify-between gap-m", children: [jsx(Button, { onClick: onPrevStep, type: "button", version: "secondary", disabled: isFirstStep, children: "\u041D\u0430\u0437\u0430\u0434" }), jsx(SubmitButton$1, { isLoading: isSending, children: isFinalStep ? 'Отправить заявку' : 'Далее' })] }));
7054
7076
  });
7055
7077
 
7056
7078
  const getAdditionalInfoData = (formData) => {
@@ -7927,7 +7949,7 @@
7927
7949
  const StepsNavigationButtons = JSX(({ step, onPrevStep, isSending }) => {
7928
7950
  const isFirstStep = step === 0;
7929
7951
  const isFinalStep = step === 5;
7930
- return (jsxs("div", { className: 'flex justify-between gap-m', children: [jsx(Button, { onClick: onPrevStep, type: "button", version: "secondary", disabled: isFirstStep, children: "\u041D\u0430\u0437\u0430\u0434" }), jsx(Button, { type: "submit", isLoading: isSending, children: isFinalStep ? 'Отправить заявку' : 'Далее' })] }));
7952
+ return (jsxs("div", { className: 'flex justify-between gap-m', children: [jsx(Button, { onClick: onPrevStep, type: "button", version: "secondary", disabled: isFirstStep, children: "\u041D\u0430\u0437\u0430\u0434" }), jsx(SubmitButton$1, { isLoading: isSending, children: isFinalStep ? 'Отправить заявку' : 'Далее' })] }));
7931
7953
  });
7932
7954
 
7933
7955
  const PAYMENT_TYPE_DATA = {
@@ -8312,13 +8334,10 @@
8312
8334
 
8313
8335
  const DepositoryFilter = JSX(({ field, onClearFilter, filtrationState }) => (jsxs("div", { className: "grid grid-cols-12 mb-3xl @lg:space-x-xl", children: [jsx(SearchInput, { className: "col-span-12 @lg:col-span-4 mt-auto", placeholder: "\u041F\u043E\u0438\u0441\u043A", ...field('query') }), jsx(DatePicker, { className: "col-span-12 @lg:col-span-3 mt-4 @lg:mt-0", label: "\u041F\u0435\u0440\u0438\u043E\u0434 \u043E\u0442", maxDate: filtrationState.endDate, ...field('startDate') }), jsx(DatePicker, { className: "col-span-12 @lg:col-span-3 mt-4 @lg:mt-0", label: "\u041F\u0435\u0440\u0438\u043E\u0434 \u0434\u043E", minDate: filtrationState.startDate, ...field('endDate') }), jsx("div", { className: "col-span-12 @lg:col-span-2 mt-8 @lg:mt-auto", children: jsx(Button, { type: "reset", className: "w-full", version: "secondary", onClick: onClearFilter, children: "\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C" }) })] })));
8314
8336
 
8315
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
8316
- const renderRoundedIcon = (_icon, _iconBgVersion) => null;
8317
-
8318
8337
  const DepositoryItem = JSX(({ title, timestamp, publicId }) => {
8319
8338
  const link = useLink();
8320
8339
  const { href } = link({ href: `${API_BASE_URI}/depository/${publicId}/file` });
8321
- return (jsxs("div", { className: "flex gap-3 items-center py-lg border-gray border-opacity-50 border-b", children: [renderRoundedIcon(), jsxs("div", { className: "flex flex-col gap-x-6xl lg:flex-row lg:items-center", children: [timestamp ? (jsx(Text, { size: "text-m", "font-weight": "font-light", children: formatDate(timestamp) })) : null, jsx("a", { className: "text-h6 hover:text-primary-active", href: href, download: true, "aria-label": "\u0421\u043A\u0430\u0447\u0430\u0442\u044C", children: title })] })] }, publicId));
8340
+ return (jsxs("div", { className: "flex gap-3 items-center py-lg border-gray border-opacity-50 border-b", children: [jsx(RoundedIcon, { className: "shrink-0", icon: "DocDownloadIcon", iconVersion: "black" }), jsxs("div", { className: "flex flex-col gap-x-6xl lg:flex-row lg:items-center", children: [timestamp ? (jsx(Text, { size: "text-m", "font-weight": "font-light", children: formatDate(timestamp) })) : null, jsx("a", { className: "text-h6 hover:text-primary-active", href: href, download: true, "aria-label": "\u0421\u043A\u0430\u0447\u0430\u0442\u044C", children: title })] })] }, publicId));
8322
8341
  });
8323
8342
 
8324
8343
  const DEPOSITARY_URL = `${API_BASE_URI}/depository`;
@@ -9557,10 +9576,8 @@
9557
9576
  ? [filtersCheckbox.slice(0, visibleFiltersNum), filtersCheckbox.slice(visibleFiltersNum)]
9558
9577
  : [filtersCheckbox, []];
9559
9578
  const [isUnfolded, { toggle }] = useBool(false);
9560
- return (jsx("div", { children: filters?.length ? (jsx("div", { children: jsxs(Foldable, { children: [jsxs("div", { children: [jsx("div", { className: COMMON_FILTERS_STYLES, children: visibleFilters }), jsx(FoldableSection, { className: COMMON_FILTERS_STYLES, isUnfolded: isUnfolded, children: hiddenFilters })] }), renderFoldButton$1(reset, onlyOffice)({ isUnfolded, onToggle: toggle })] }) })) : null }));
9579
+ return (jsx("div", { children: filters?.length ? (jsx("div", { children: jsxs(Foldable, { children: [jsxs("div", { children: [jsx("div", { className: COMMON_FILTERS_STYLES, children: visibleFilters }), jsx(FoldableSection, { className: COMMON_FILTERS_STYLES, isUnfolded: isUnfolded, children: hiddenFilters })] }), jsxs("div", { className: "flex space-x-lg", children: [onlyOffice ? (jsx(DefaultFoldButton, { label: isUnfolded ? 'Меньше фильтров' : 'Больше фильтров', isUnfolded: isUnfolded, embedded: true, onClick: toggle })) : null, jsxs(Button, { embedded: true, onClick: reset, children: [jsx(ButtonTitle, { children: "\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0444\u0438\u043B\u044C\u0442\u0440" }), jsx(Icon, { name: "CloseIcon", size: "small" })] })] })] }) })) : null }));
9561
9580
  });
9562
- // TODO Столько разных кнопок с иконками, но эта самая творчески-ударённая реализация))
9563
- const renderFoldButton$1 = (reset, onlyOffice = false) => ({ isUnfolded, onToggle }) => (jsxs("div", { className: "flex space-x-lg", children: [onlyOffice ? (jsx(LinkButton, { version: "transparent", className: "text-secondary-text [&>*]:p-0", appendRight: jsx(Icon, { name: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', width: "16", height: "16" }), text: isUnfolded ? 'Меньше фильтров' : 'Больше фильтров', onClick: onToggle })) : null, jsx(LinkButton, { version: "transparent", className: "text-secondary-text [&>*]:p-0", onClick: reset, children: jsxs("div", { className: "flex items-center", children: ["\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0444\u0438\u043B\u044C\u0442\u0440", jsx(Icon, { name: "CloseIcon", width: "16", height: "16", className: "ml-2xs" })] }) })] }));
9564
9581
 
9565
9582
  const renderButtonsGroup = (data, activeButton, onButtonClick) => {
9566
9583
  const allButtonVersion = getVersion(activeButton === 'all');
@@ -9616,14 +9633,13 @@
9616
9633
  },
9617
9634
  { label: 'Регистрационный номер', value: atmCode },
9618
9635
  ];
9619
- return (jsxs("div", { className: "bg-white col-span-12 p-3xl sm:border-green sm:border", children: [jsxs("div", { className: "sm:flex sm:justify-between", children: [jsxs("div", { children: [jsx(Text, { size: "text-h4", children: capitalize(location) }), address ? (jsxs("div", { className: "flex pb-xl pt-xs gap-2xs", children: [jsx(Icon, { name: "GeolocationIcon", width: "24", height: "24" }), jsx(Text, { size: "text-l", children: address })] })) : null] }), jsx("div", { className: "whitespace-nowrap", children: jsx(Badge$1, { color: "green", children: capitalize(workTime) }) })] }), jsx("div", { className: "hidden sm:block", children: jsx(CardRow, { className: "flex-wrap", children: additionalInfo?.map(renderInfo) }) }), jsx(FoldableCardContent, { children: jsx(CardRow, { className: "flex-wrap", children: additionalInfo?.map(renderInfo) }) })] }, String(i)));
9636
+ return (jsxs("div", { className: "bg-white col-span-12 p-3xl sm:border-green sm:border", children: [jsxs("div", { className: "sm:flex sm:justify-between", children: [jsxs("div", { children: [jsx(Text, { size: "text-h4", children: capitalize(location) }), address ? (jsxs("div", { className: "flex pb-xl pt-xs gap-2xs", children: [jsx(Icon, { name: "GeolocationIcon", width: "24", height: "24" }), jsx(Text, { size: "text-l", children: address })] })) : null] }), jsx("div", { className: "whitespace-nowrap", children: jsx(Badge$1, { color: "green", children: capitalize(workTime) }) })] }), jsx(FoldableCardContent, { children: jsx(CardRow, { className: "flex-wrap", children: additionalInfo?.map((item, key) => (jsx(CardCell, { ...item }, String(key)))) }) })] }, String(i)));
9620
9637
  };
9621
9638
  const getAtmPoint = ({ address = '', terminalType, atmCode = '' }) => {
9622
9639
  const header = `${capitalize(terminalType)} №${atmCode}`;
9623
9640
  const body = address.toUpperCase();
9624
9641
  return { header, body };
9625
9642
  };
9626
- const renderInfo = (item, i) => jsx(CardCell, { ...item }, String(i));
9627
9643
 
9628
9644
  const EMPTY_VALUE$2 = [];
9629
9645
  function useAtms(regionCode) {
@@ -9675,7 +9691,7 @@
9675
9691
  if (!workScheduleDescription) {
9676
9692
  return null;
9677
9693
  }
9678
- return (jsxs("div", { className: "bg-white col-span-12 p-3xl sm:border-yellow sm:border", children: [jsx("div", { className: "sm:flex sm:justify-between", children: jsxs("div", { children: [jsx(Text, { size: "text-h4", children: "\u0423\u0434\u0430\u043B\u0435\u043D\u043D\u043E\u0435 \u0440\u0430\u0431\u043E\u0447\u0435\u0435 \u043C\u0435\u0441\u0442\u043E" }), address ? (jsxs("div", { className: "flex pb-xl pt-xs gap-2xs", children: [jsx(Icon, { name: "GeolocationIcon", width: "24", height: "24" }), jsx(Text, { size: "text-l", children: address })] })) : null] }) }), jsx("div", { className: "hidden sm:block", children: renderCardContent(workScheduleDescription) }), jsx(FoldableCardContent, { children: renderCardContent(workScheduleDescription) })] }, String(i)));
9694
+ return (jsxs("div", { className: "bg-white col-span-12 p-3xl sm:border-yellow sm:border", children: [jsx("div", { className: "sm:flex sm:justify-between", children: jsxs("div", { children: [jsx(Text, { size: "text-h4", children: "\u0423\u0434\u0430\u043B\u0435\u043D\u043D\u043E\u0435 \u0440\u0430\u0431\u043E\u0447\u0435\u0435 \u043C\u0435\u0441\u0442\u043E" }), address ? (jsxs("div", { className: "flex pb-xl pt-xs gap-2xs", children: [jsx(Icon, { name: "GeolocationIcon", width: "24", height: "24" }), jsx(Text, { size: "text-l", children: address })] })) : null] }) }), jsx(FoldableCardContent, { children: renderCardContent(workScheduleDescription) })] }, String(i)));
9679
9695
  };
9680
9696
  const renderCardContent = (workScheduleDescription) => {
9681
9697
  return (jsxs("div", { children: [jsxs(CardRow, { className: "flex", children: [jsx(CardCell, { label: "\u041E\u043F\u0435\u0440\u0430\u0446\u0438\u0438 \u0434\u043B\u044F \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043A\u0438\u0445 \u043B\u0438\u0446", children: jsx(Text, { children: "\u041E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u0435 \u0438 \u043E\u0431\u0441\u043B\u0443\u0436\u0438\u0432\u0430\u043D\u0438\u0435 \u043A\u0440\u0435\u0434\u0438\u0442\u043E\u0432, \u0441\u0447\u0435\u0442\u043E\u0432, \u0432\u043A\u043B\u0430\u0434\u043E\u0432" }) }), jsx(CardCell, { label: "\u041E\u043F\u0435\u0440\u0430\u0446\u0438\u0438 \u0434\u043B\u044F \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043A\u0438\u0445 \u043B\u0438\u0446", children: jsx(Text, { children: "\u041E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u0435 \u0438 \u043E\u0431\u0441\u043B\u0443\u0436\u0438\u0432\u0430\u043D\u0438\u0435 \u0431\u0430\u043D\u043A\u043E\u0432\u0441\u043A\u0438\u0445 \u043A\u0430\u0440\u0442" }) }), jsx(CardCell, { label: "\u041E\u043F\u0435\u0440\u0430\u0446\u0438\u0438 \u0434\u043B\u044F \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043A\u0438\u0445 \u043B\u0438\u0446", children: jsx(Text, { children: "\u0418\u043D\u0432\u0435\u0441\u0442\u0438\u0446\u0438\u043E\u043D\u043D\u043E\u0435 \u0438 \u043D\u0430\u043A\u043E\u043F\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0435 \u0441\u0442\u0440\u0430\u0445\u043E\u0432\u0430\u043D\u0438\u0435" }) }), jsx(CardCell, { label: "\u041E\u043F\u0435\u0440\u0430\u0446\u0438\u0438 \u0434\u043B\u044F \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043A\u0438\u0445 \u043B\u0438\u0446", children: jsx(Text, { children: "\u0411\u0435\u0437\u043D\u0430\u043B\u0438\u0447\u043D\u044B\u0435 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438 \u0432 \u0440\u0443\u0431\u043B\u044F\u0445, \u043F\u0435\u0440\u0435\u0432\u043E\u0434\u044B \u0431\u0435\u0437 \u043E\u0442\u043A\u0440\u044B\u0442\u0438\u044F \u0441\u0447\u0451\u0442\u0430" }) })] }), jsx("hr", { className: "text-main-divider pb-xl" }), jsx(CardCell, { label: "\u0420\u0435\u0436\u0438\u043C \u0440\u0430\u0431\u043E\u0442\u044B", className: "max-w-none", children: jsx(Text, { children: workScheduleDescription }) })] }));
@@ -9753,15 +9769,9 @@
9753
9769
  return (jsx(BlockWrapper, { defaultPadding: "p-0", ...rest, children: jsx(RichText, { __html: __html, richVersion: richVersion }) }));
9754
9770
  });
9755
9771
 
9756
- const AccordionFoldButton = JSX(({ label, labelIconBgVersion, icon, onToggle, labelIcon }) => (jsx(TextWithIcon, { tag: "button", className: style('border-none bg-transparent items-center group/button', labelIcon?.icon ? 'py-xs' : 'py-lg'), onClick: onToggle, textNode: jsxs("div", { className: "flex items-center text-start group-hover/button:text-primary-main gap-s", children: [renderRoundedIcon(), label ? (jsx(Text, { size: "text-h6", font: "font-normal", children: label })) : null] }), iconNode: icon ? jsx(Icon, { name: icon, iconVersion: "color", width: "24", height: "24" }) : null })));
9757
-
9758
9772
  const getFoldableStyles = (isMobile = false) => isMobile ? 'flex flex-wrap group-last:last:pb-0' : 'grid grid-cols-12 [&>*]:pb-m';
9759
9773
 
9760
- const getIconName = (isUnfolded = false, isMobile = false) => isMobile ? getMobileName(isUnfolded) : getDesktopName(isUnfolded);
9761
- const getDesktopName = (isUnfolded = false) => (isUnfolded ? 'MinusIcon' : 'PlusIcon');
9762
- const getMobileName = (isUnfolded = false) => isUnfolded ? 'ArrowUpSolidIcon' : 'ArrowDownSolidIcon';
9763
-
9764
- const RollupItem = UniBlock(({ className = '', isExpanded, isFoldButtonOnTop = true, label = 'Развернуть', labelIcon, labelIconBgVersion, foldButtonVersion = 'default',
9774
+ const RollupItem = UniBlock(({ className = '', isExpanded, isFoldButtonOnTop = true, foldButtonVersion = 'default', label,
9765
9775
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
9766
9776
  version, role, ...rest }) => {
9767
9777
  const isMobile = useMobileMode();
@@ -9770,24 +9780,10 @@
9770
9780
  ...rest,
9771
9781
  extraProps: { className: 'w-full', padding: 'p-0' },
9772
9782
  }) }));
9773
- const foldButton = renderFoldButton({
9774
- foldButtonVersion,
9775
- label,
9776
- labelIcon,
9777
- labelIconBgVersion,
9778
- isMobile,
9779
- isUnfolded,
9780
- onToggle: toggle,
9781
- });
9783
+ const isAccordion = foldButtonVersion === 'accordion';
9784
+ const foldButton = (jsx(DefaultFoldButton, { className: style('w-full', { 'text-h6 my-lg': isAccordion }), label: label, isUnfolded: isUnfolded, embedded: isAccordion, onClick: toggle }));
9782
9785
  return (jsx(BlockWrapper, { className: style('w-full border-0 border-b border-solid border-main-divider last:border-b-0', className), defaultPadding: "p-0", tag: "div", version: "transparent", role: role, ...rest, children: jsxs(Foldable, { children: [isFoldButtonOnTop ? foldButton : foldableSection, isFoldButtonOnTop ? foldableSection : foldButton] }) }));
9783
- }, {
9784
- childrenTypes: { exclude: ['RollupItem'] },
9785
- });
9786
- const renderFoldButton = ({ foldButtonVersion, label: defaultLabel, labelIcon, labelIconBgVersion, isUnfolded, isMobile = false, onToggle, }) => {
9787
- const label = defaultLabel || (isUnfolded ? 'Скрыть' : 'Развернуть');
9788
- const icon = getIconName(isUnfolded, isMobile);
9789
- return foldButtonVersion === 'accordion' ? (jsx(AccordionFoldButton, { label: label, labelIcon: labelIcon, labelIconBgVersion: labelIconBgVersion, icon: icon, onToggle: onToggle })) : (jsx(DefaultFoldButton, { label: label, icon: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', onClick: onToggle }));
9790
- };
9786
+ }, { childrenTypes: { exclude: ['RollupItem'] } });
9791
9787
 
9792
9788
  const Radio = JSX(({ name, text, value, checked, onChange, className }) => (jsx("div", { className: className, children: jsxs("label", { className: "font-sans flex gap-s items-center relative cursor-pointer", children: [jsx("input", { className: style(inputValidStyle.split(' ').filter((_) => _ !== 'rounded'), defaultCheckStyle, 'flex justify-center items-center after:block after:w-2.5 after:h-2.5 after:rounded-full rounded-full', 'checked:border-2 checked:!border-primary-main focus:checked:border-primary-main checked:after:bg-primary-main'), type: "radio", value: value, name: name, checked: checked, onChange: (_) => onChange?.(_.target.value), role: "radio" }), text ? jsx(Text, { color: "text-primary-text", children: text }) : null] }) })));
9793
9789
 
@@ -9825,7 +9821,7 @@
9825
9821
  const SafeDepositRentalTotal = JSX(({ days, tariffs = [] }) => {
9826
9822
  const price = calculatePrice(days, tariffs);
9827
9823
  const imageDescription = 'На рисунке изображена пачка листов\nформата А4';
9828
- return (jsxs("div", { className: "contents @xl:flex flex-col justify-between gap-xl order-2", children: [jsxs("div", { className: "flex flex-col @xl:flex-row gap-x-6xl gap-y-2xl order-5 @xl:order-none py-2xl @xl:py-0 border-t border-main-divider @xl:border-none", children: [renderTotal('Аренда за', days), renderTotal('Цена', price + ' ₽')] }), jsx("div", { className: "@xl:hidden order-3 mb-xs", children: jsx(Paragraph, { size: "text-s", font: "font-light", color: "text-secondary-text", children: imageDescription }) }), jsxs("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", children: [jsx(Img, { image: { icon: 'PackA4Icon' }, className: "@xl:h-60" }), jsx("div", { className: "hidden @xl:inline opacity-80 whitespace-pre-line", children: jsx(Paragraph, { size: "text-s", font: "font-light", color: "text-white", children: imageDescription }) })] })] }));
9824
+ return (jsxs("div", { className: "contents @xl:flex flex-col justify-between gap-xl order-2", children: [jsxs("div", { className: "flex flex-col @xl:flex-row gap-x-6xl gap-y-2xl order-5 @xl:order-none py-2xl @xl:py-0 border-t border-main-divider @xl:border-none", children: [renderTotal('Аренда за', days), renderTotal('Цена', price + ' ₽')] }), jsx("div", { className: "@xl:hidden order-3 mb-xs", children: jsx(Paragraph, { size: "text-s", font: "font-light", color: "text-secondary-text", children: imageDescription }) }), jsxs("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", children: [jsx(Icon, { className: "@xl:h-60", name: "PackA4Icon" }), jsx("div", { className: "hidden @xl:inline opacity-80 whitespace-pre-line", children: jsx(Paragraph, { size: "text-s", font: "font-light", color: "text-white", children: imageDescription }) })] })] }));
9829
9825
  });
9830
9826
  const renderTotal = (label, total) => (jsxs("div", { className: "flex justify-between items-center gap-y-xs @xl:flex-col @xl:items-start", children: [jsx(Text, { size: "text-l", font: "font-light", color: "text-secondary-text", children: label }), jsx("span", { className: "text-l @xl:text-h3 text-primary-text", children: total })] }));
9831
9827
  const calculatePrice = (days, tariffs) => {
@@ -10230,7 +10226,7 @@
10230
10226
  const rows = (rowData || []).map((row, i) => (jsx(TariffsTableRow, { row: row, activeIndex: activeIndex, rowIdx: i, ...rest }, String(i))));
10231
10227
  const [visibleRows, hiddenRows] = hiddenRowsNum > 0 ? [rows.slice(0, -hiddenRowsNum), rows.slice(-hiddenRowsNum)] : [rows, []];
10232
10228
  const [isUnfolded, { toggle }] = useBool(false);
10233
- return (jsxs(BlockWrapper, { className: style('relative space-y-6xl @4xl:space-y-xl', className), defaultPadding: "p-6xl", ...rest, children: [jsx(Headline, { title: title, description: description, headlineVersion: "M", isEmbedded: true, align: "text-center" }), jsx("div", { className: "space-y-m overflow-hidden", children: hiddenRowsNum > 0 ? (jsxs(Foldable, { children: [jsxs(TariffsTableWrapper, { controls: controls, children: [visibleRows, jsx(FoldableSection, { isUnfolded: isUnfolded, children: hiddenRows })] }), renderDefaultFoldButton({ isUnfolded, onToggle: toggle })] })) : (jsx(TariffsTableWrapper, { controls: controls, children: rows })) })] }));
10229
+ return (jsxs(BlockWrapper, { className: style('relative space-y-6xl @4xl:space-y-xl', className), defaultPadding: "p-6xl", ...rest, children: [jsx(Headline, { title: title, description: description, headlineVersion: "M", isEmbedded: true, align: "text-center" }), jsx("div", { className: "space-y-m overflow-hidden", children: hiddenRowsNum > 0 ? (jsxs(Foldable, { children: [jsxs(TariffsTableWrapper, { controls: controls, children: [visibleRows, jsx(FoldableSection, { isUnfolded: isUnfolded, children: hiddenRows })] }), jsx(DefaultFoldButton, { className: "w-full", isUnfolded: isUnfolded, onClick: toggle })] })) : (jsx(TariffsTableWrapper, { controls: controls, children: rows })) })] }));
10234
10230
  });
10235
10231
 
10236
10232
  const TextBlock = JSX(({ className = '', title, description, iconVersion, __html, richVersion, ...rest }) => (jsxs(BlockWrapper, { className: style('flex gap-s sm:gap-m group-data-secondary:bg-primary-main/10', className), ...rest, children: [iconVersion === 'small' ? renderIcon() : null, jsxs("div", { className: "flex flex-col w-fit gap-2xs sm:gap-xs", children: [title ? (jsx(Text, { size: "text-l", font: "font-normal", color: "text-primary-text group-data-secondary:text-white", children: title })) : null, description ? renderDescription(description) : null, __html ? jsx(RichText, { richVersion: richVersion, __html: __html }) : null] })] })));
@@ -10469,7 +10465,7 @@
10469
10465
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
10470
10466
  });
10471
10467
 
10472
- const packageVersion = "0.14.750";
10468
+ const packageVersion = "0.14.752";
10473
10469
 
10474
10470
  exports.Blocks = Blocks;
10475
10471
  exports.ContentPage = ContentPage;