@redneckz/wildless-cms-uni-blocks 0.7.9 → 0.8.0

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 (663) hide show
  1. package/bundle/ProjectSettings.d.ts +4 -4
  2. package/bundle/api/CorporateLeadAPI.d.ts +15 -0
  3. package/bundle/blocks.schema.json +1 -1
  4. package/bundle/bundle.umd.js +554 -319
  5. package/bundle/bundle.umd.min.js +1 -1
  6. package/bundle/components/ApplicationForm/ApplicationForm.d.ts +5 -0
  7. package/bundle/components/ApplicationForm/ApplicationFormAcquiring.d.ts +12 -0
  8. package/bundle/components/ApplicationForm/ApplicationFormBusinessCard.d.ts +9 -0
  9. package/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +18 -0
  10. package/bundle/components/ApplicationForm/ApplicationFormCredit.d.ts +20 -0
  11. package/bundle/components/ApplicationForm/ApplicationFormDeposit.d.ts +6 -0
  12. package/bundle/components/ApplicationForm/ApplicationFormWed.d.ts +12 -0
  13. package/bundle/components/ApplicationForm/ApplicationFormsProps.d.ts +7 -0
  14. package/bundle/components/ApplicationForm/Footnote.d.ts +6 -0
  15. package/bundle/components/ApplicationForm/ResponseNotification.d.ts +5 -0
  16. package/bundle/components/ApplicationForm/WrapperSelect.d.ts +11 -0
  17. package/bundle/components/ApplicationForm/acquiringTypes.d.ts +2 -0
  18. package/bundle/components/ApplicationForm/models.d.ts +6 -0
  19. package/bundle/components/ApplicationForm/normalizeSelectedRegion.d.ts +2 -0
  20. package/bundle/components/ApplicationForm/renderBankOffices.d.ts +13 -0
  21. package/bundle/components/ApplicationForm/renderContacts.d.ts +2 -0
  22. package/bundle/components/ApplicationForm/renderCreditParameters.d.ts +10 -0
  23. package/bundle/components/ApplicationForm/renderDataOrganization.d.ts +14 -0
  24. package/bundle/components/ApplicationForm/renderQuestionsInterested.d.ts +12 -0
  25. package/bundle/components/ApplicationForm/renderSelects.d.ts +11 -0
  26. package/bundle/components/ApplicationForm/renderSlideCheckboxes.d.ts +10 -0
  27. package/bundle/components/ApplicationForm/renderSubmitButton.d.ts +3 -0
  28. package/bundle/components/ApplicationForm/useFormHandlers.d.ts +13 -0
  29. package/bundle/components/SafeDepositRental/SafeDepositRentalFields.d.ts +2 -2
  30. package/bundle/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +1 -1
  31. package/bundle/icons/IconName.d.ts +10 -2
  32. package/bundle/services/sitemap/isHrefActive.d.ts +1 -2
  33. package/bundle/services/sitemap/isSubItemActive.d.ts +3 -2
  34. package/bundle/services/sitemap/isTopItemActive.d.ts +3 -2
  35. package/bundle/ui-kit/TopItem/TopItem.d.ts +0 -1
  36. package/bundle/utils/adjustHref.d.ts +1 -4
  37. package/bundle/utils/url.d.ts +4 -2
  38. package/cosmos-static/icons/MailIcon.svg +1 -0
  39. package/cosmos-static/icons/PhoneIcon.svg +1 -0
  40. package/cosmos-static/icons/ResponceFailIcon.svg +1 -0
  41. package/cosmos-static/icons/ResponceOKIcon.svg +1 -0
  42. package/dist/ProjectSettings.d.ts +4 -4
  43. package/dist/ProjectSettings.js +3 -5
  44. package/dist/ProjectSettings.js.map +1 -1
  45. package/dist/api/CorporateLeadAPI.d.ts +15 -0
  46. package/dist/api/CorporateLeadAPI.js +24 -0
  47. package/dist/api/CorporateLeadAPI.js.map +1 -0
  48. package/dist/components/ApplicationForm/ApplicationForm.d.ts +5 -0
  49. package/dist/components/ApplicationForm/ApplicationForm.js +30 -0
  50. package/dist/components/ApplicationForm/ApplicationForm.js.map +1 -0
  51. package/dist/components/ApplicationForm/ApplicationFormAcquiring.d.ts +12 -0
  52. package/dist/components/ApplicationForm/ApplicationFormAcquiring.js +55 -0
  53. package/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -0
  54. package/dist/components/ApplicationForm/ApplicationFormBusinessCard.d.ts +9 -0
  55. package/dist/components/ApplicationForm/ApplicationFormBusinessCard.js +39 -0
  56. package/dist/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -0
  57. package/dist/components/ApplicationForm/ApplicationFormContent.d.ts +18 -0
  58. package/dist/components/ApplicationForm/ApplicationFormContent.js +2 -0
  59. package/dist/components/ApplicationForm/ApplicationFormContent.js.map +1 -0
  60. package/dist/components/ApplicationForm/ApplicationFormCredit.d.ts +20 -0
  61. package/dist/components/ApplicationForm/ApplicationFormCredit.js +59 -0
  62. package/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -0
  63. package/dist/components/ApplicationForm/ApplicationFormDeposit.d.ts +6 -0
  64. package/dist/components/ApplicationForm/ApplicationFormDeposit.js +26 -0
  65. package/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -0
  66. package/dist/components/ApplicationForm/ApplicationFormWed.d.ts +12 -0
  67. package/dist/components/ApplicationForm/ApplicationFormWed.js +41 -0
  68. package/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -0
  69. package/dist/components/ApplicationForm/ApplicationFormsProps.d.ts +7 -0
  70. package/dist/components/ApplicationForm/ApplicationFormsProps.js +2 -0
  71. package/dist/components/ApplicationForm/ApplicationFormsProps.js.map +1 -0
  72. package/dist/components/ApplicationForm/Footnote.d.ts +6 -0
  73. package/dist/components/ApplicationForm/Footnote.js +9 -0
  74. package/dist/components/ApplicationForm/Footnote.js.map +1 -0
  75. package/dist/components/ApplicationForm/ResponseNotification.d.ts +5 -0
  76. package/dist/components/ApplicationForm/ResponseNotification.js +13 -0
  77. package/dist/components/ApplicationForm/ResponseNotification.js.map +1 -0
  78. package/dist/components/ApplicationForm/WrapperSelect.d.ts +11 -0
  79. package/dist/components/ApplicationForm/WrapperSelect.js +13 -0
  80. package/dist/components/ApplicationForm/WrapperSelect.js.map +1 -0
  81. package/dist/components/ApplicationForm/acquiringTypes.d.ts +2 -0
  82. package/dist/components/ApplicationForm/acquiringTypes.js +25 -0
  83. package/dist/components/ApplicationForm/acquiringTypes.js.map +1 -0
  84. package/dist/components/ApplicationForm/models.d.ts +6 -0
  85. package/dist/components/ApplicationForm/models.js +2 -0
  86. package/dist/components/ApplicationForm/models.js.map +1 -0
  87. package/dist/components/ApplicationForm/normalizeSelectedRegion.d.ts +2 -0
  88. package/dist/components/ApplicationForm/normalizeSelectedRegion.js +5 -0
  89. package/dist/components/ApplicationForm/normalizeSelectedRegion.js.map +1 -0
  90. package/dist/components/ApplicationForm/renderBankOffices.d.ts +13 -0
  91. package/dist/components/ApplicationForm/renderBankOffices.js +7 -0
  92. package/dist/components/ApplicationForm/renderBankOffices.js.map +1 -0
  93. package/dist/components/ApplicationForm/renderContacts.d.ts +2 -0
  94. package/dist/components/ApplicationForm/renderContacts.js +7 -0
  95. package/dist/components/ApplicationForm/renderContacts.js.map +1 -0
  96. package/dist/components/ApplicationForm/renderCreditParameters.d.ts +10 -0
  97. package/dist/components/ApplicationForm/renderCreditParameters.js +24 -0
  98. package/dist/components/ApplicationForm/renderCreditParameters.js.map +1 -0
  99. package/dist/components/ApplicationForm/renderDataOrganization.d.ts +14 -0
  100. package/dist/components/ApplicationForm/renderDataOrganization.js +7 -0
  101. package/dist/components/ApplicationForm/renderDataOrganization.js.map +1 -0
  102. package/dist/components/ApplicationForm/renderQuestionsInterested.d.ts +12 -0
  103. package/dist/components/ApplicationForm/renderQuestionsInterested.js +7 -0
  104. package/dist/components/ApplicationForm/renderQuestionsInterested.js.map +1 -0
  105. package/dist/components/ApplicationForm/renderSelects.d.ts +11 -0
  106. package/dist/components/ApplicationForm/renderSelects.js +8 -0
  107. package/dist/components/ApplicationForm/renderSelects.js.map +1 -0
  108. package/dist/components/ApplicationForm/renderSlideCheckboxes.d.ts +10 -0
  109. package/dist/components/ApplicationForm/renderSlideCheckboxes.js +7 -0
  110. package/dist/components/ApplicationForm/renderSlideCheckboxes.js.map +1 -0
  111. package/dist/components/ApplicationForm/renderSubmitButton.d.ts +3 -0
  112. package/dist/components/ApplicationForm/renderSubmitButton.js +13 -0
  113. package/dist/components/ApplicationForm/renderSubmitButton.js.map +1 -0
  114. package/dist/components/ApplicationForm/useFormHandlers.d.ts +13 -0
  115. package/dist/components/ApplicationForm/useFormHandlers.js +16 -0
  116. package/dist/components/ApplicationForm/useFormHandlers.js.map +1 -0
  117. package/dist/components/Blocks.js +2 -0
  118. package/dist/components/Blocks.js.map +1 -1
  119. package/dist/components/Header/Header.js +1 -2
  120. package/dist/components/Header/Header.js.map +1 -1
  121. package/dist/components/Header/HeaderSecondaryMenu.js +1 -2
  122. package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  123. package/dist/components/Header/HeaderSubMenu.js +2 -1
  124. package/dist/components/Header/HeaderSubMenu.js.map +1 -1
  125. package/dist/components/Header/HeaderSubMenuItem.js +2 -2
  126. package/dist/components/Header/HeaderSubMenuItem.js.map +1 -1
  127. package/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  128. package/dist/components/SafeDepositRental/SafeDepositRentalFields.d.ts +2 -2
  129. package/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  130. package/dist/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +1 -1
  131. package/dist/hooks/useLink.js +16 -12
  132. package/dist/hooks/useLink.js.map +1 -1
  133. package/dist/icons/IconName.d.ts +10 -2
  134. package/dist/icons/IconName.js +9 -1
  135. package/dist/icons/IconName.js.map +1 -1
  136. package/dist/services/sitemap/isHrefActive.d.ts +1 -2
  137. package/dist/services/sitemap/isHrefActive.js +2 -2
  138. package/dist/services/sitemap/isHrefActive.js.map +1 -1
  139. package/dist/services/sitemap/isSubItemActive.d.ts +3 -2
  140. package/dist/services/sitemap/isSubItemActive.js.map +1 -1
  141. package/dist/services/sitemap/isTopItemActive.d.ts +3 -2
  142. package/dist/services/sitemap/isTopItemActive.js +1 -6
  143. package/dist/services/sitemap/isTopItemActive.js.map +1 -1
  144. package/dist/setup-fixture.js +13 -6
  145. package/dist/setup-fixture.js.map +1 -1
  146. package/dist/ui-kit/HeaderItem/HeaderItem.js +1 -2
  147. package/dist/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  148. package/dist/ui-kit/HeaderItem/HeaderItem.mobile.js +1 -2
  149. package/dist/ui-kit/HeaderItem/HeaderItem.mobile.js.map +1 -1
  150. package/dist/ui-kit/TopItem/TopItem.d.ts +0 -1
  151. package/dist/ui-kit/TopItem/TopItem.js +2 -2
  152. package/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  153. package/dist/utils/adjustHref.d.ts +1 -4
  154. package/dist/utils/adjustHref.js +4 -8
  155. package/dist/utils/adjustHref.js.map +1 -1
  156. package/dist/utils/url.d.ts +4 -2
  157. package/dist/utils/url.js +15 -28
  158. package/dist/utils/url.js.map +1 -1
  159. package/lib/ProjectSettings.d.ts +4 -4
  160. package/lib/ProjectSettings.js +3 -5
  161. package/lib/ProjectSettings.js.map +1 -1
  162. package/lib/api/CorporateLeadAPI.d.ts +15 -0
  163. package/lib/api/CorporateLeadAPI.js +21 -0
  164. package/lib/api/CorporateLeadAPI.js.map +1 -0
  165. package/lib/common.css +1 -1
  166. package/lib/components/ApplicationForm/ApplicationForm.d.ts +5 -0
  167. package/lib/components/ApplicationForm/ApplicationForm.fixture.d.ts +12 -0
  168. package/lib/components/ApplicationForm/ApplicationForm.js +28 -0
  169. package/lib/components/ApplicationForm/ApplicationForm.js.map +1 -0
  170. package/lib/components/ApplicationForm/ApplicationFormAcquiring.d.ts +12 -0
  171. package/lib/components/ApplicationForm/ApplicationFormAcquiring.js +53 -0
  172. package/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -0
  173. package/lib/components/ApplicationForm/ApplicationFormBusinessCard.d.ts +9 -0
  174. package/lib/components/ApplicationForm/ApplicationFormBusinessCard.js +37 -0
  175. package/lib/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -0
  176. package/lib/components/ApplicationForm/ApplicationFormContent.d.ts +18 -0
  177. package/lib/components/ApplicationForm/ApplicationFormContent.js +2 -0
  178. package/lib/components/ApplicationForm/ApplicationFormContent.js.map +1 -0
  179. package/lib/components/ApplicationForm/ApplicationFormCredit.d.ts +20 -0
  180. package/lib/components/ApplicationForm/ApplicationFormCredit.js +57 -0
  181. package/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -0
  182. package/lib/components/ApplicationForm/ApplicationFormDeposit.d.ts +6 -0
  183. package/lib/components/ApplicationForm/ApplicationFormDeposit.js +24 -0
  184. package/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -0
  185. package/lib/components/ApplicationForm/ApplicationFormWed.d.ts +12 -0
  186. package/lib/components/ApplicationForm/ApplicationFormWed.js +39 -0
  187. package/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -0
  188. package/lib/components/ApplicationForm/ApplicationFormsProps.d.ts +7 -0
  189. package/lib/components/ApplicationForm/ApplicationFormsProps.js +2 -0
  190. package/lib/components/ApplicationForm/ApplicationFormsProps.js.map +1 -0
  191. package/lib/components/ApplicationForm/Footnote.d.ts +6 -0
  192. package/lib/components/ApplicationForm/Footnote.js +7 -0
  193. package/lib/components/ApplicationForm/Footnote.js.map +1 -0
  194. package/lib/components/ApplicationForm/ResponseNotification.d.ts +5 -0
  195. package/lib/components/ApplicationForm/ResponseNotification.js +11 -0
  196. package/lib/components/ApplicationForm/ResponseNotification.js.map +1 -0
  197. package/lib/components/ApplicationForm/WrapperSelect.d.ts +11 -0
  198. package/lib/components/ApplicationForm/WrapperSelect.js +11 -0
  199. package/lib/components/ApplicationForm/WrapperSelect.js.map +1 -0
  200. package/lib/components/ApplicationForm/acquiringTypes.d.ts +2 -0
  201. package/lib/components/ApplicationForm/acquiringTypes.js +23 -0
  202. package/lib/components/ApplicationForm/acquiringTypes.js.map +1 -0
  203. package/lib/components/ApplicationForm/models.d.ts +6 -0
  204. package/lib/components/ApplicationForm/models.js +2 -0
  205. package/lib/components/ApplicationForm/models.js.map +1 -0
  206. package/lib/components/ApplicationForm/normalizeSelectedRegion.d.ts +2 -0
  207. package/lib/components/ApplicationForm/normalizeSelectedRegion.js +2 -0
  208. package/lib/components/ApplicationForm/normalizeSelectedRegion.js.map +1 -0
  209. package/lib/components/ApplicationForm/renderBankOffices.d.ts +13 -0
  210. package/lib/components/ApplicationForm/renderBankOffices.js +4 -0
  211. package/lib/components/ApplicationForm/renderBankOffices.js.map +1 -0
  212. package/lib/components/ApplicationForm/renderContacts.d.ts +2 -0
  213. package/lib/components/ApplicationForm/renderContacts.js +4 -0
  214. package/lib/components/ApplicationForm/renderContacts.js.map +1 -0
  215. package/lib/components/ApplicationForm/renderCreditParameters.d.ts +10 -0
  216. package/lib/components/ApplicationForm/renderCreditParameters.js +21 -0
  217. package/lib/components/ApplicationForm/renderCreditParameters.js.map +1 -0
  218. package/lib/components/ApplicationForm/renderDataOrganization.d.ts +14 -0
  219. package/lib/components/ApplicationForm/renderDataOrganization.js +4 -0
  220. package/lib/components/ApplicationForm/renderDataOrganization.js.map +1 -0
  221. package/lib/components/ApplicationForm/renderQuestionsInterested.d.ts +12 -0
  222. package/lib/components/ApplicationForm/renderQuestionsInterested.js +4 -0
  223. package/lib/components/ApplicationForm/renderQuestionsInterested.js.map +1 -0
  224. package/lib/components/ApplicationForm/renderSelects.d.ts +11 -0
  225. package/lib/components/ApplicationForm/renderSelects.js +5 -0
  226. package/lib/components/ApplicationForm/renderSelects.js.map +1 -0
  227. package/lib/components/ApplicationForm/renderSlideCheckboxes.d.ts +10 -0
  228. package/lib/components/ApplicationForm/renderSlideCheckboxes.js +4 -0
  229. package/lib/components/ApplicationForm/renderSlideCheckboxes.js.map +1 -0
  230. package/lib/components/ApplicationForm/renderSubmitButton.d.ts +3 -0
  231. package/lib/components/ApplicationForm/renderSubmitButton.js +10 -0
  232. package/lib/components/ApplicationForm/renderSubmitButton.js.map +1 -0
  233. package/lib/components/ApplicationForm/useFormHandlers.d.ts +13 -0
  234. package/lib/components/ApplicationForm/useFormHandlers.js +13 -0
  235. package/lib/components/ApplicationForm/useFormHandlers.js.map +1 -0
  236. package/lib/components/Blocks.js +2 -0
  237. package/lib/components/Blocks.js.map +1 -1
  238. package/lib/components/Header/Header.js +1 -2
  239. package/lib/components/Header/Header.js.map +1 -1
  240. package/lib/components/Header/HeaderSecondaryMenu.js +1 -2
  241. package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  242. package/lib/components/Header/HeaderSubMenu.js +2 -1
  243. package/lib/components/Header/HeaderSubMenu.js.map +1 -1
  244. package/lib/components/Header/HeaderSubMenuItem.js +2 -2
  245. package/lib/components/Header/HeaderSubMenuItem.js.map +1 -1
  246. package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  247. package/lib/components/SafeDepositRental/SafeDepositRentalFields.d.ts +2 -2
  248. package/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  249. package/lib/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +1 -1
  250. package/lib/hooks/useLink.js +17 -13
  251. package/lib/hooks/useLink.js.map +1 -1
  252. package/lib/icons/IconName.d.ts +10 -2
  253. package/lib/icons/IconName.js +9 -1
  254. package/lib/icons/IconName.js.map +1 -1
  255. package/lib/services/sitemap/isHrefActive.d.ts +1 -2
  256. package/lib/services/sitemap/isHrefActive.js +2 -2
  257. package/lib/services/sitemap/isHrefActive.js.map +1 -1
  258. package/lib/services/sitemap/isSubItemActive.d.ts +3 -2
  259. package/lib/services/sitemap/isSubItemActive.js.map +1 -1
  260. package/lib/services/sitemap/isTopItemActive.d.ts +3 -2
  261. package/lib/services/sitemap/isTopItemActive.js +1 -6
  262. package/lib/services/sitemap/isTopItemActive.js.map +1 -1
  263. package/lib/setup-fixture.js +14 -7
  264. package/lib/setup-fixture.js.map +1 -1
  265. package/lib/ui-kit/HeaderItem/HeaderItem.js +1 -2
  266. package/lib/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  267. package/lib/ui-kit/HeaderItem/HeaderItem.mobile.js +1 -2
  268. package/lib/ui-kit/HeaderItem/HeaderItem.mobile.js.map +1 -1
  269. package/lib/ui-kit/TopItem/TopItem.d.ts +0 -1
  270. package/lib/ui-kit/TopItem/TopItem.js +2 -2
  271. package/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  272. package/lib/utils/adjustHref.d.ts +1 -4
  273. package/lib/utils/adjustHref.js +5 -9
  274. package/lib/utils/adjustHref.js.map +1 -1
  275. package/lib/utils/url.d.ts +4 -2
  276. package/lib/utils/url.js +12 -26
  277. package/lib/utils/url.js.map +1 -1
  278. package/mobile/bundle/ProjectSettings.d.ts +4 -4
  279. package/mobile/bundle/api/CorporateLeadAPI.d.ts +15 -0
  280. package/mobile/bundle/bundle.umd.js +40 -70
  281. package/mobile/bundle/bundle.umd.min.js +1 -1
  282. package/mobile/bundle/components/ApplicationForm/ApplicationForm.d.ts +5 -0
  283. package/mobile/bundle/components/ApplicationForm/ApplicationFormAcquiring.d.ts +12 -0
  284. package/mobile/bundle/components/ApplicationForm/ApplicationFormBusinessCard.d.ts +9 -0
  285. package/mobile/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +18 -0
  286. package/mobile/bundle/components/ApplicationForm/ApplicationFormCredit.d.ts +20 -0
  287. package/mobile/bundle/components/ApplicationForm/ApplicationFormDeposit.d.ts +6 -0
  288. package/mobile/bundle/components/ApplicationForm/ApplicationFormWed.d.ts +12 -0
  289. package/mobile/bundle/components/ApplicationForm/ApplicationFormsProps.d.ts +7 -0
  290. package/mobile/bundle/components/ApplicationForm/Footnote.d.ts +6 -0
  291. package/mobile/bundle/components/ApplicationForm/ResponseNotification.d.ts +5 -0
  292. package/mobile/bundle/components/ApplicationForm/WrapperSelect.d.ts +11 -0
  293. package/mobile/bundle/components/ApplicationForm/acquiringTypes.d.ts +2 -0
  294. package/mobile/bundle/components/ApplicationForm/models.d.ts +6 -0
  295. package/mobile/bundle/components/ApplicationForm/normalizeSelectedRegion.d.ts +2 -0
  296. package/mobile/bundle/components/ApplicationForm/renderBankOffices.d.ts +13 -0
  297. package/mobile/bundle/components/ApplicationForm/renderContacts.d.ts +2 -0
  298. package/mobile/bundle/components/ApplicationForm/renderCreditParameters.d.ts +10 -0
  299. package/mobile/bundle/components/ApplicationForm/renderDataOrganization.d.ts +14 -0
  300. package/mobile/bundle/components/ApplicationForm/renderQuestionsInterested.d.ts +12 -0
  301. package/mobile/bundle/components/ApplicationForm/renderSelects.d.ts +11 -0
  302. package/mobile/bundle/components/ApplicationForm/renderSlideCheckboxes.d.ts +10 -0
  303. package/mobile/bundle/components/ApplicationForm/renderSubmitButton.d.ts +3 -0
  304. package/mobile/bundle/components/ApplicationForm/useFormHandlers.d.ts +13 -0
  305. package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalFields.d.ts +2 -2
  306. package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +1 -1
  307. package/mobile/bundle/icons/IconName.d.ts +10 -2
  308. package/mobile/bundle/services/sitemap/isHrefActive.d.ts +1 -2
  309. package/mobile/bundle/services/sitemap/isSubItemActive.d.ts +3 -2
  310. package/mobile/bundle/services/sitemap/isTopItemActive.d.ts +3 -2
  311. package/mobile/bundle/ui-kit/TopItem/TopItem.d.ts +0 -1
  312. package/mobile/bundle/utils/adjustHref.d.ts +1 -4
  313. package/mobile/bundle/utils/url.d.ts +4 -2
  314. package/mobile/dist/ProjectSettings.d.ts +4 -4
  315. package/mobile/dist/ProjectSettings.js +3 -5
  316. package/mobile/dist/ProjectSettings.js.map +1 -1
  317. package/mobile/dist/api/CorporateLeadAPI.d.ts +15 -0
  318. package/mobile/dist/api/CorporateLeadAPI.js +24 -0
  319. package/mobile/dist/api/CorporateLeadAPI.js.map +1 -0
  320. package/mobile/dist/components/ApplicationForm/ApplicationForm.d.ts +5 -0
  321. package/mobile/dist/components/ApplicationForm/ApplicationForm.js +30 -0
  322. package/mobile/dist/components/ApplicationForm/ApplicationForm.js.map +1 -0
  323. package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.d.ts +12 -0
  324. package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js +55 -0
  325. package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -0
  326. package/mobile/dist/components/ApplicationForm/ApplicationFormBusinessCard.d.ts +9 -0
  327. package/mobile/dist/components/ApplicationForm/ApplicationFormBusinessCard.js +39 -0
  328. package/mobile/dist/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -0
  329. package/mobile/dist/components/ApplicationForm/ApplicationFormContent.d.ts +18 -0
  330. package/mobile/dist/components/ApplicationForm/ApplicationFormContent.js +2 -0
  331. package/mobile/dist/components/ApplicationForm/ApplicationFormContent.js.map +1 -0
  332. package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.d.ts +20 -0
  333. package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js +59 -0
  334. package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -0
  335. package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.d.ts +6 -0
  336. package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js +26 -0
  337. package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -0
  338. package/mobile/dist/components/ApplicationForm/ApplicationFormWed.d.ts +12 -0
  339. package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js +41 -0
  340. package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -0
  341. package/mobile/dist/components/ApplicationForm/ApplicationFormsProps.d.ts +7 -0
  342. package/mobile/dist/components/ApplicationForm/ApplicationFormsProps.js +2 -0
  343. package/mobile/dist/components/ApplicationForm/ApplicationFormsProps.js.map +1 -0
  344. package/mobile/dist/components/ApplicationForm/Footnote.d.ts +6 -0
  345. package/mobile/dist/components/ApplicationForm/Footnote.js +9 -0
  346. package/mobile/dist/components/ApplicationForm/Footnote.js.map +1 -0
  347. package/mobile/dist/components/ApplicationForm/ResponseNotification.d.ts +5 -0
  348. package/mobile/dist/components/ApplicationForm/ResponseNotification.js +13 -0
  349. package/mobile/dist/components/ApplicationForm/ResponseNotification.js.map +1 -0
  350. package/mobile/dist/components/ApplicationForm/WrapperSelect.d.ts +11 -0
  351. package/mobile/dist/components/ApplicationForm/WrapperSelect.js +13 -0
  352. package/mobile/dist/components/ApplicationForm/WrapperSelect.js.map +1 -0
  353. package/mobile/dist/components/ApplicationForm/acquiringTypes.d.ts +2 -0
  354. package/mobile/dist/components/ApplicationForm/acquiringTypes.js +25 -0
  355. package/mobile/dist/components/ApplicationForm/acquiringTypes.js.map +1 -0
  356. package/mobile/dist/components/ApplicationForm/models.d.ts +6 -0
  357. package/mobile/dist/components/ApplicationForm/models.js +2 -0
  358. package/mobile/dist/components/ApplicationForm/models.js.map +1 -0
  359. package/mobile/dist/components/ApplicationForm/normalizeSelectedRegion.d.ts +2 -0
  360. package/mobile/dist/components/ApplicationForm/normalizeSelectedRegion.js +5 -0
  361. package/mobile/dist/components/ApplicationForm/normalizeSelectedRegion.js.map +1 -0
  362. package/mobile/dist/components/ApplicationForm/renderBankOffices.d.ts +13 -0
  363. package/mobile/dist/components/ApplicationForm/renderBankOffices.js +7 -0
  364. package/mobile/dist/components/ApplicationForm/renderBankOffices.js.map +1 -0
  365. package/mobile/dist/components/ApplicationForm/renderContacts.d.ts +2 -0
  366. package/mobile/dist/components/ApplicationForm/renderContacts.js +7 -0
  367. package/mobile/dist/components/ApplicationForm/renderContacts.js.map +1 -0
  368. package/mobile/dist/components/ApplicationForm/renderCreditParameters.d.ts +10 -0
  369. package/mobile/dist/components/ApplicationForm/renderCreditParameters.js +24 -0
  370. package/mobile/dist/components/ApplicationForm/renderCreditParameters.js.map +1 -0
  371. package/mobile/dist/components/ApplicationForm/renderDataOrganization.d.ts +14 -0
  372. package/mobile/dist/components/ApplicationForm/renderDataOrganization.js +7 -0
  373. package/mobile/dist/components/ApplicationForm/renderDataOrganization.js.map +1 -0
  374. package/mobile/dist/components/ApplicationForm/renderQuestionsInterested.d.ts +12 -0
  375. package/mobile/dist/components/ApplicationForm/renderQuestionsInterested.js +7 -0
  376. package/mobile/dist/components/ApplicationForm/renderQuestionsInterested.js.map +1 -0
  377. package/mobile/dist/components/ApplicationForm/renderSelects.d.ts +11 -0
  378. package/mobile/dist/components/ApplicationForm/renderSelects.js +8 -0
  379. package/mobile/dist/components/ApplicationForm/renderSelects.js.map +1 -0
  380. package/mobile/dist/components/ApplicationForm/renderSlideCheckboxes.d.ts +10 -0
  381. package/mobile/dist/components/ApplicationForm/renderSlideCheckboxes.js +7 -0
  382. package/mobile/dist/components/ApplicationForm/renderSlideCheckboxes.js.map +1 -0
  383. package/mobile/dist/components/ApplicationForm/renderSubmitButton.d.ts +3 -0
  384. package/mobile/dist/components/ApplicationForm/renderSubmitButton.js +13 -0
  385. package/mobile/dist/components/ApplicationForm/renderSubmitButton.js.map +1 -0
  386. package/mobile/dist/components/ApplicationForm/useFormHandlers.d.ts +13 -0
  387. package/mobile/dist/components/ApplicationForm/useFormHandlers.js +16 -0
  388. package/mobile/dist/components/ApplicationForm/useFormHandlers.js.map +1 -0
  389. package/mobile/dist/components/Header/HeaderSecondaryMenu.js +1 -2
  390. package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  391. package/mobile/dist/components/Header/HeaderSubMenu.js +2 -1
  392. package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -1
  393. package/mobile/dist/components/Header/HeaderSubMenuItem.js +2 -2
  394. package/mobile/dist/components/Header/HeaderSubMenuItem.js.map +1 -1
  395. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  396. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.d.ts +2 -2
  397. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  398. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +1 -1
  399. package/mobile/dist/hooks/useLink.js +16 -12
  400. package/mobile/dist/hooks/useLink.js.map +1 -1
  401. package/mobile/dist/icons/IconName.d.ts +10 -2
  402. package/mobile/dist/icons/IconName.js +9 -1
  403. package/mobile/dist/icons/IconName.js.map +1 -1
  404. package/mobile/dist/services/sitemap/isHrefActive.d.ts +1 -2
  405. package/mobile/dist/services/sitemap/isHrefActive.js +2 -2
  406. package/mobile/dist/services/sitemap/isHrefActive.js.map +1 -1
  407. package/mobile/dist/services/sitemap/isSubItemActive.d.ts +3 -2
  408. package/mobile/dist/services/sitemap/isSubItemActive.js.map +1 -1
  409. package/mobile/dist/services/sitemap/isTopItemActive.d.ts +3 -2
  410. package/mobile/dist/services/sitemap/isTopItemActive.js +1 -6
  411. package/mobile/dist/services/sitemap/isTopItemActive.js.map +1 -1
  412. package/mobile/dist/setup-fixture.js +13 -6
  413. package/mobile/dist/setup-fixture.js.map +1 -1
  414. package/mobile/dist/ui-kit/HeaderItem/HeaderItem.js +1 -2
  415. package/mobile/dist/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  416. package/mobile/dist/ui-kit/TopItem/TopItem.d.ts +0 -1
  417. package/mobile/dist/ui-kit/TopItem/TopItem.js +2 -2
  418. package/mobile/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  419. package/mobile/dist/utils/adjustHref.d.ts +1 -4
  420. package/mobile/dist/utils/adjustHref.js +4 -8
  421. package/mobile/dist/utils/adjustHref.js.map +1 -1
  422. package/mobile/dist/utils/url.d.ts +4 -2
  423. package/mobile/dist/utils/url.js +15 -28
  424. package/mobile/dist/utils/url.js.map +1 -1
  425. package/mobile/lib/ProjectSettings.d.ts +4 -4
  426. package/mobile/lib/ProjectSettings.js +3 -5
  427. package/mobile/lib/ProjectSettings.js.map +1 -1
  428. package/mobile/lib/api/CorporateLeadAPI.d.ts +15 -0
  429. package/mobile/lib/api/CorporateLeadAPI.js +21 -0
  430. package/mobile/lib/api/CorporateLeadAPI.js.map +1 -0
  431. package/mobile/lib/components/ApplicationForm/ApplicationForm.d.ts +5 -0
  432. package/mobile/lib/components/ApplicationForm/ApplicationForm.js +28 -0
  433. package/mobile/lib/components/ApplicationForm/ApplicationForm.js.map +1 -0
  434. package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.d.ts +12 -0
  435. package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js +53 -0
  436. package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -0
  437. package/mobile/lib/components/ApplicationForm/ApplicationFormBusinessCard.d.ts +9 -0
  438. package/mobile/lib/components/ApplicationForm/ApplicationFormBusinessCard.js +37 -0
  439. package/mobile/lib/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -0
  440. package/mobile/lib/components/ApplicationForm/ApplicationFormContent.d.ts +18 -0
  441. package/mobile/lib/components/ApplicationForm/ApplicationFormContent.js +2 -0
  442. package/mobile/lib/components/ApplicationForm/ApplicationFormContent.js.map +1 -0
  443. package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.d.ts +20 -0
  444. package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js +57 -0
  445. package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -0
  446. package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.d.ts +6 -0
  447. package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js +24 -0
  448. package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -0
  449. package/mobile/lib/components/ApplicationForm/ApplicationFormWed.d.ts +12 -0
  450. package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js +39 -0
  451. package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -0
  452. package/mobile/lib/components/ApplicationForm/ApplicationFormsProps.d.ts +7 -0
  453. package/mobile/lib/components/ApplicationForm/ApplicationFormsProps.js +2 -0
  454. package/mobile/lib/components/ApplicationForm/ApplicationFormsProps.js.map +1 -0
  455. package/mobile/lib/components/ApplicationForm/Footnote.d.ts +6 -0
  456. package/mobile/lib/components/ApplicationForm/Footnote.js +7 -0
  457. package/mobile/lib/components/ApplicationForm/Footnote.js.map +1 -0
  458. package/mobile/lib/components/ApplicationForm/ResponseNotification.d.ts +5 -0
  459. package/mobile/lib/components/ApplicationForm/ResponseNotification.js +11 -0
  460. package/mobile/lib/components/ApplicationForm/ResponseNotification.js.map +1 -0
  461. package/mobile/lib/components/ApplicationForm/WrapperSelect.d.ts +11 -0
  462. package/mobile/lib/components/ApplicationForm/WrapperSelect.js +11 -0
  463. package/mobile/lib/components/ApplicationForm/WrapperSelect.js.map +1 -0
  464. package/mobile/lib/components/ApplicationForm/acquiringTypes.d.ts +2 -0
  465. package/mobile/lib/components/ApplicationForm/acquiringTypes.js +23 -0
  466. package/mobile/lib/components/ApplicationForm/acquiringTypes.js.map +1 -0
  467. package/mobile/lib/components/ApplicationForm/models.d.ts +6 -0
  468. package/mobile/lib/components/ApplicationForm/models.js +2 -0
  469. package/mobile/lib/components/ApplicationForm/models.js.map +1 -0
  470. package/mobile/lib/components/ApplicationForm/normalizeSelectedRegion.d.ts +2 -0
  471. package/mobile/lib/components/ApplicationForm/normalizeSelectedRegion.js +2 -0
  472. package/mobile/lib/components/ApplicationForm/normalizeSelectedRegion.js.map +1 -0
  473. package/mobile/lib/components/ApplicationForm/renderBankOffices.d.ts +13 -0
  474. package/mobile/lib/components/ApplicationForm/renderBankOffices.js +4 -0
  475. package/mobile/lib/components/ApplicationForm/renderBankOffices.js.map +1 -0
  476. package/mobile/lib/components/ApplicationForm/renderContacts.d.ts +2 -0
  477. package/mobile/lib/components/ApplicationForm/renderContacts.js +4 -0
  478. package/mobile/lib/components/ApplicationForm/renderContacts.js.map +1 -0
  479. package/mobile/lib/components/ApplicationForm/renderCreditParameters.d.ts +10 -0
  480. package/mobile/lib/components/ApplicationForm/renderCreditParameters.js +21 -0
  481. package/mobile/lib/components/ApplicationForm/renderCreditParameters.js.map +1 -0
  482. package/mobile/lib/components/ApplicationForm/renderDataOrganization.d.ts +14 -0
  483. package/mobile/lib/components/ApplicationForm/renderDataOrganization.js +4 -0
  484. package/mobile/lib/components/ApplicationForm/renderDataOrganization.js.map +1 -0
  485. package/mobile/lib/components/ApplicationForm/renderQuestionsInterested.d.ts +12 -0
  486. package/mobile/lib/components/ApplicationForm/renderQuestionsInterested.js +4 -0
  487. package/mobile/lib/components/ApplicationForm/renderQuestionsInterested.js.map +1 -0
  488. package/mobile/lib/components/ApplicationForm/renderSelects.d.ts +11 -0
  489. package/mobile/lib/components/ApplicationForm/renderSelects.js +5 -0
  490. package/mobile/lib/components/ApplicationForm/renderSelects.js.map +1 -0
  491. package/mobile/lib/components/ApplicationForm/renderSlideCheckboxes.d.ts +10 -0
  492. package/mobile/lib/components/ApplicationForm/renderSlideCheckboxes.js +4 -0
  493. package/mobile/lib/components/ApplicationForm/renderSlideCheckboxes.js.map +1 -0
  494. package/mobile/lib/components/ApplicationForm/renderSubmitButton.d.ts +3 -0
  495. package/mobile/lib/components/ApplicationForm/renderSubmitButton.js +10 -0
  496. package/mobile/lib/components/ApplicationForm/renderSubmitButton.js.map +1 -0
  497. package/mobile/lib/components/ApplicationForm/useFormHandlers.d.ts +13 -0
  498. package/mobile/lib/components/ApplicationForm/useFormHandlers.js +13 -0
  499. package/mobile/lib/components/ApplicationForm/useFormHandlers.js.map +1 -0
  500. package/mobile/lib/components/Header/HeaderSecondaryMenu.js +1 -2
  501. package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  502. package/mobile/lib/components/Header/HeaderSubMenu.js +2 -1
  503. package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -1
  504. package/mobile/lib/components/Header/HeaderSubMenuItem.js +2 -2
  505. package/mobile/lib/components/Header/HeaderSubMenuItem.js.map +1 -1
  506. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  507. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.d.ts +2 -2
  508. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  509. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +1 -1
  510. package/mobile/lib/hooks/useLink.js +17 -13
  511. package/mobile/lib/hooks/useLink.js.map +1 -1
  512. package/mobile/lib/icons/IconName.d.ts +10 -2
  513. package/mobile/lib/icons/IconName.js +9 -1
  514. package/mobile/lib/icons/IconName.js.map +1 -1
  515. package/mobile/lib/services/sitemap/isHrefActive.d.ts +1 -2
  516. package/mobile/lib/services/sitemap/isHrefActive.js +2 -2
  517. package/mobile/lib/services/sitemap/isHrefActive.js.map +1 -1
  518. package/mobile/lib/services/sitemap/isSubItemActive.d.ts +3 -2
  519. package/mobile/lib/services/sitemap/isSubItemActive.js.map +1 -1
  520. package/mobile/lib/services/sitemap/isTopItemActive.d.ts +3 -2
  521. package/mobile/lib/services/sitemap/isTopItemActive.js +1 -6
  522. package/mobile/lib/services/sitemap/isTopItemActive.js.map +1 -1
  523. package/mobile/lib/setup-fixture.js +14 -7
  524. package/mobile/lib/setup-fixture.js.map +1 -1
  525. package/mobile/lib/ui-kit/HeaderItem/HeaderItem.js +1 -2
  526. package/mobile/lib/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  527. package/mobile/lib/ui-kit/TopItem/TopItem.d.ts +0 -1
  528. package/mobile/lib/ui-kit/TopItem/TopItem.js +2 -2
  529. package/mobile/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  530. package/mobile/lib/utils/adjustHref.d.ts +1 -4
  531. package/mobile/lib/utils/adjustHref.js +5 -9
  532. package/mobile/lib/utils/adjustHref.js.map +1 -1
  533. package/mobile/lib/utils/url.d.ts +4 -2
  534. package/mobile/lib/utils/url.js +12 -26
  535. package/mobile/lib/utils/url.js.map +1 -1
  536. package/mobile/src/ProjectSettings.ts +6 -7
  537. package/mobile/src/api/CorporateLeadAPI.ts +36 -0
  538. package/mobile/src/components/ApplicationForm/ApplicationForm.tsx +45 -0
  539. package/mobile/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +138 -0
  540. package/mobile/src/components/ApplicationForm/ApplicationFormBusinessCard.tsx +134 -0
  541. package/mobile/src/components/ApplicationForm/ApplicationFormContent.ts +19 -0
  542. package/mobile/src/components/ApplicationForm/ApplicationFormCredit.tsx +91 -0
  543. package/mobile/src/components/ApplicationForm/ApplicationFormDeposit.tsx +74 -0
  544. package/mobile/src/components/ApplicationForm/ApplicationFormWed.tsx +143 -0
  545. package/mobile/src/components/ApplicationForm/ApplicationFormsProps.ts +8 -0
  546. package/mobile/src/components/ApplicationForm/Footnote.tsx +25 -0
  547. package/mobile/src/components/ApplicationForm/ResponseNotification.tsx +33 -0
  548. package/mobile/src/components/ApplicationForm/WrapperSelect.tsx +32 -0
  549. package/mobile/src/components/ApplicationForm/acquiringTypes.ts +24 -0
  550. package/mobile/src/components/ApplicationForm/models.ts +7 -0
  551. package/mobile/src/components/ApplicationForm/normalizeSelectedRegion.ts +4 -0
  552. package/mobile/src/components/ApplicationForm/renderBankOffices.tsx +45 -0
  553. package/mobile/src/components/ApplicationForm/renderContacts.tsx +22 -0
  554. package/mobile/src/components/ApplicationForm/renderCreditParameters.tsx +61 -0
  555. package/mobile/src/components/ApplicationForm/renderDataOrganization.tsx +78 -0
  556. package/mobile/src/components/ApplicationForm/renderQuestionsInterested.tsx +45 -0
  557. package/mobile/src/components/ApplicationForm/renderSelects.tsx +38 -0
  558. package/mobile/src/components/ApplicationForm/renderSlideCheckboxes.tsx +28 -0
  559. package/mobile/src/components/ApplicationForm/renderSubmitButton.tsx +15 -0
  560. package/mobile/src/components/ApplicationForm/useFormHandlers.ts +32 -0
  561. package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +1 -21
  562. package/mobile/src/components/Header/HeaderSubMenu.tsx +2 -1
  563. package/mobile/src/components/Header/HeaderSubMenuItem.tsx +2 -4
  564. package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +2 -2
  565. package/mobile/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +4 -4
  566. package/mobile/src/components/SafeDepositRental/SafeDepositRentalTypes.ts +1 -1
  567. package/mobile/src/hooks/useLink.ts +19 -15
  568. package/mobile/src/icons/IconName.ts +5 -5
  569. package/mobile/src/icons/MailIcon.svg +1 -0
  570. package/mobile/src/icons/PhoneIcon.svg +1 -0
  571. package/mobile/src/icons/ResponceFailIcon.svg +1 -0
  572. package/mobile/src/icons/ResponceOKIcon.svg +1 -0
  573. package/mobile/src/services/sitemap/isHrefActive.ts +4 -10
  574. package/mobile/src/services/sitemap/isSubItemActive.ts +1 -2
  575. package/mobile/src/services/sitemap/isTopItemActive.ts +2 -8
  576. package/mobile/src/setup-fixture.ts +19 -7
  577. package/mobile/src/ui-kit/HeaderItem/HeaderItem.tsx +7 -8
  578. package/mobile/src/ui-kit/TopItem/TopItem.tsx +16 -19
  579. package/mobile/src/utils/adjustHref.ts +6 -14
  580. package/mobile/src/utils/url.ts +18 -33
  581. package/package.json +2 -2
  582. package/src/ProjectSettings.ts +6 -7
  583. package/src/api/CorporateLeadAPI.ts +36 -0
  584. package/src/components/ApplicationForm/ApplicationForm.fixture.tsx +43 -0
  585. package/src/components/ApplicationForm/ApplicationForm.tsx +45 -0
  586. package/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +138 -0
  587. package/src/components/ApplicationForm/ApplicationFormBusinessCard.tsx +134 -0
  588. package/src/components/ApplicationForm/ApplicationFormContent.ts +19 -0
  589. package/src/components/ApplicationForm/ApplicationFormCredit.tsx +91 -0
  590. package/src/components/ApplicationForm/ApplicationFormDeposit.tsx +74 -0
  591. package/src/components/ApplicationForm/ApplicationFormWed.tsx +143 -0
  592. package/src/components/ApplicationForm/ApplicationFormsProps.ts +8 -0
  593. package/src/components/ApplicationForm/Footnote.tsx +25 -0
  594. package/src/components/ApplicationForm/ResponseNotification.tsx +33 -0
  595. package/src/components/ApplicationForm/WrapperSelect.tsx +32 -0
  596. package/src/components/ApplicationForm/acquiringTypes.ts +24 -0
  597. package/src/components/ApplicationForm/models.ts +7 -0
  598. package/src/components/ApplicationForm/normalizeSelectedRegion.ts +4 -0
  599. package/src/components/ApplicationForm/renderBankOffices.tsx +45 -0
  600. package/src/components/ApplicationForm/renderContacts.tsx +22 -0
  601. package/src/components/ApplicationForm/renderCreditParameters.tsx +61 -0
  602. package/src/components/ApplicationForm/renderDataOrganization.tsx +78 -0
  603. package/src/components/ApplicationForm/renderQuestionsInterested.tsx +45 -0
  604. package/src/components/ApplicationForm/renderSelects.tsx +38 -0
  605. package/src/components/ApplicationForm/renderSlideCheckboxes.tsx +28 -0
  606. package/src/components/ApplicationForm/renderSubmitButton.tsx +15 -0
  607. package/src/components/ApplicationForm/useFormHandlers.ts +32 -0
  608. package/src/components/Blocks.ts +2 -0
  609. package/src/components/Header/Header.tsx +3 -5
  610. package/src/components/Header/HeaderSecondaryMenu.tsx +1 -21
  611. package/src/components/Header/HeaderSubMenu.tsx +2 -1
  612. package/src/components/Header/HeaderSubMenuItem.tsx +2 -4
  613. package/src/components/SafeDepositRental/SafeDepositRental.tsx +2 -2
  614. package/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +4 -4
  615. package/src/components/SafeDepositRental/SafeDepositRentalTypes.ts +1 -1
  616. package/src/hooks/useLink.ts +19 -15
  617. package/src/icons/IconName.ts +5 -5
  618. package/src/icons/MailIcon.svg +1 -0
  619. package/src/icons/PhoneIcon.svg +1 -0
  620. package/src/icons/ResponceFailIcon.svg +1 -0
  621. package/src/icons/ResponceOKIcon.svg +1 -0
  622. package/src/services/sitemap/isHrefActive.ts +4 -10
  623. package/src/services/sitemap/isSubItemActive.ts +1 -2
  624. package/src/services/sitemap/isTopItemActive.ts +2 -8
  625. package/src/setup-fixture.ts +19 -7
  626. package/src/ui-kit/HeaderItem/HeaderItem.mobile.tsx +7 -8
  627. package/src/ui-kit/HeaderItem/HeaderItem.tsx +7 -8
  628. package/src/ui-kit/TopItem/TopItem.tsx +16 -19
  629. package/src/utils/adjustHref.ts +6 -14
  630. package/src/utils/url.ts +18 -33
  631. package/tailwind.config.cjs +5 -0
  632. package/bundle/services/sitemap/checkIsHrefSameOrigin.d.ts +0 -2
  633. package/bundle/utils/normalizeURLPath.d.ts +0 -1
  634. package/dist/services/sitemap/checkIsHrefSameOrigin.d.ts +0 -2
  635. package/dist/services/sitemap/checkIsHrefSameOrigin.js +0 -6
  636. package/dist/services/sitemap/checkIsHrefSameOrigin.js.map +0 -1
  637. package/dist/utils/normalizeURLPath.d.ts +0 -1
  638. package/dist/utils/normalizeURLPath.js +0 -12
  639. package/dist/utils/normalizeURLPath.js.map +0 -1
  640. package/lib/services/sitemap/checkIsHrefSameOrigin.d.ts +0 -2
  641. package/lib/services/sitemap/checkIsHrefSameOrigin.js +0 -3
  642. package/lib/services/sitemap/checkIsHrefSameOrigin.js.map +0 -1
  643. package/lib/utils/normalizeURLPath.d.ts +0 -1
  644. package/lib/utils/normalizeURLPath.js +0 -9
  645. package/lib/utils/normalizeURLPath.js.map +0 -1
  646. package/mobile/bundle/services/sitemap/checkIsHrefSameOrigin.d.ts +0 -2
  647. package/mobile/bundle/utils/normalizeURLPath.d.ts +0 -1
  648. package/mobile/dist/services/sitemap/checkIsHrefSameOrigin.d.ts +0 -2
  649. package/mobile/dist/services/sitemap/checkIsHrefSameOrigin.js +0 -6
  650. package/mobile/dist/services/sitemap/checkIsHrefSameOrigin.js.map +0 -1
  651. package/mobile/dist/utils/normalizeURLPath.d.ts +0 -1
  652. package/mobile/dist/utils/normalizeURLPath.js +0 -12
  653. package/mobile/dist/utils/normalizeURLPath.js.map +0 -1
  654. package/mobile/lib/services/sitemap/checkIsHrefSameOrigin.d.ts +0 -2
  655. package/mobile/lib/services/sitemap/checkIsHrefSameOrigin.js +0 -3
  656. package/mobile/lib/services/sitemap/checkIsHrefSameOrigin.js.map +0 -1
  657. package/mobile/lib/utils/normalizeURLPath.d.ts +0 -1
  658. package/mobile/lib/utils/normalizeURLPath.js +0 -9
  659. package/mobile/lib/utils/normalizeURLPath.js.map +0 -1
  660. package/mobile/src/services/sitemap/checkIsHrefSameOrigin.ts +0 -7
  661. package/mobile/src/utils/normalizeURLPath.ts +0 -10
  662. package/src/services/sitemap/checkIsHrefSameOrigin.ts +0 -7
  663. package/src/utils/normalizeURLPath.ts +0 -10
@@ -0,0 +1,5 @@
1
+ import type { UniBlockProps } from '../../model/JSXBlock';
2
+ import type { ApplicationFormContent } from './ApplicationFormContent';
3
+ export interface ApplicationFormProps extends ApplicationFormContent, UniBlockProps {
4
+ }
5
+ export declare const ApplicationForm: import("@redneckz/uni-jsx").UNIComponent<ApplicationFormProps, any, any>;
@@ -0,0 +1,12 @@
1
+ import type { ApplicationFormsProps } from './ApplicationFormsProps';
2
+ export interface AcquiringFormState {
3
+ acquiringType: string;
4
+ region: string;
5
+ fullName: string;
6
+ inn: string;
7
+ name: string;
8
+ phone: string;
9
+ onlineСheckout: boolean;
10
+ posTerminal: boolean;
11
+ }
12
+ export declare const ApplicationFormAcquiring: import("@redneckz/uni-jsx").UNIComponent<ApplicationFormsProps, any, any>;
@@ -0,0 +1,9 @@
1
+ import type { ApplicationFormsProps } from './ApplicationFormsProps';
2
+ export interface BusinessCardFormState {
3
+ region: string;
4
+ name: string;
5
+ phone: string;
6
+ inn: string;
7
+ mail: string;
8
+ }
9
+ export declare const ApplicationFormBusinessCard: import("@redneckz/uni-jsx").UNIComponent<ApplicationFormsProps, any, any>;
@@ -0,0 +1,18 @@
1
+ import type { HeadlineCommonProps } from '../../model/HeadlineType';
2
+ import type { LinkProps } from '../../model/LinkProps';
3
+ import type { ButtonProps } from '../../ui-kit/Button/ButtonProps';
4
+ /**
5
+ * @title Форма заявки
6
+ */
7
+ export declare type ApplicationFormContent = HeadlineCommonProps & {
8
+ /**
9
+ * @title Вид заявки
10
+ * @default credit
11
+ * @enumNames ["Бизнес-карта", "ВЭД", "Депозит", "Кредит", "Эквайринг"]
12
+ */
13
+ typeForm?: 'business-card' | 'wed' | 'deposit' | 'credit' | 'acquiring';
14
+ /** @title Кнопка */
15
+ button?: ButtonProps;
16
+ /** @title Условия передачи данных */
17
+ link?: LinkProps;
18
+ };
@@ -0,0 +1,20 @@
1
+ import type { ApplicationFormsProps } from './ApplicationFormsProps';
2
+ export interface CreditFormState {
3
+ amount: number;
4
+ term: number;
5
+ fullName: string;
6
+ inn: string;
7
+ name: string;
8
+ phone: string;
9
+ mail: string;
10
+ region: string;
11
+ department: string;
12
+ annualRevenue: string;
13
+ }
14
+ export declare const MIN_CREDIT_AMOUNT = 50000;
15
+ export declare const MAX_CREDIT_AMOUNT = 3000000;
16
+ export declare const ITEMS_CREDIT_AMOUNT: string[];
17
+ export declare const MIN_CREDIT_TERM = 1;
18
+ export declare const MAX_CREDIT_TERM = 60;
19
+ export declare const ITEMS_CREDIT_TERM: string[];
20
+ export declare const ApplicationFormCredit: import("@redneckz/uni-jsx").UNIComponent<ApplicationFormsProps, any, any>;
@@ -0,0 +1,6 @@
1
+ import type { ApplicationFormsProps } from './ApplicationFormsProps';
2
+ export interface DepositFormState {
3
+ name: string;
4
+ phone: string;
5
+ }
6
+ export declare const ApplicationFormDeposit: import("@redneckz/uni-jsx").UNIComponent<ApplicationFormsProps, any, any>;
@@ -0,0 +1,12 @@
1
+ import type { ApplicationFormsProps } from './ApplicationFormsProps';
2
+ export interface WedFormState {
3
+ fullName: string;
4
+ name: string;
5
+ phone: string;
6
+ mail: string;
7
+ currencyControl: boolean;
8
+ documentaryOperations: boolean;
9
+ conversionOperations: boolean;
10
+ text: string;
11
+ }
12
+ export declare const ApplicationFormWed: import("@redneckz/uni-jsx").UNIComponent<ApplicationFormsProps, any, any>;
@@ -0,0 +1,7 @@
1
+ import type { LinkProps } from '../../model/LinkProps';
2
+ import type { ButtonProps } from '../../ui-kit/Button/ButtonProps';
3
+ export interface ApplicationFormsProps {
4
+ button?: ButtonProps;
5
+ link?: LinkProps;
6
+ handleSubmit: (data: any) => void;
7
+ }
@@ -0,0 +1,6 @@
1
+ import type { LinkProps } from '../../model/LinkProps';
2
+ interface FootnoteProps {
3
+ link?: LinkProps;
4
+ }
5
+ export declare const Footnote: import("@redneckz/uni-jsx").UNIComponent<FootnoteProps, any, any>;
6
+ export {};
@@ -0,0 +1,5 @@
1
+ interface ResponseNotificationProps {
2
+ responceType?: 'OK' | 'Fail';
3
+ }
4
+ export declare const ResponseNotification: import("@redneckz/uni-jsx").UNIComponent<ResponseNotificationProps, any, any>;
5
+ export {};
@@ -0,0 +1,11 @@
1
+ interface WrapperSelectProps {
2
+ data: Record<string, any>[];
3
+ fieldLabel: string;
4
+ fieldValue?: string;
5
+ selected: string;
6
+ setSelected: (value: string) => void;
7
+ label: string;
8
+ placeholder?: string;
9
+ }
10
+ export declare const WrapperSelect: import("@redneckz/uni-jsx").UNIComponent<WrapperSelectProps, any, any>;
11
+ export {};
@@ -0,0 +1,2 @@
1
+ import { Select } from './models';
2
+ export declare const ACQUIRING_TYPES: Select[];
@@ -0,0 +1,6 @@
1
+ export interface Select {
2
+ id?: number;
3
+ code?: string;
4
+ name?: string;
5
+ }
6
+ export declare type HandleFormStateChange<T> = (state: Partial<T>) => void;
@@ -0,0 +1,2 @@
1
+ import { Region } from '../../hooks/useRegions';
2
+ export declare const normalizeSelectedRegion: (selectedRegion: string, regions?: Region[]) => string;
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ import { Branch } from '../../hooks/useSafeBoxes';
3
+ import type { CreditFormState } from './ApplicationFormCredit';
4
+ import type { HandleFormStateChange, Select } from './models';
5
+ interface RenderBankOfficesProps {
6
+ regions: Select[];
7
+ region: string;
8
+ branches: Branch[];
9
+ department: string;
10
+ handleChange: HandleFormStateChange<CreditFormState>;
11
+ }
12
+ export declare const renderBankOffices: ({ regions, region, branches, department, handleChange, }: RenderBankOfficesProps) => JSX.Element;
13
+ export {};
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const renderContacts: () => JSX.Element;
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ import { CreditFormState } from './ApplicationFormCredit';
3
+ import type { HandleFormStateChange } from './models';
4
+ interface RenderCreditParametersProps {
5
+ amount: number;
6
+ term: number;
7
+ handleChange: HandleFormStateChange<CreditFormState>;
8
+ }
9
+ export declare const renderCreditParameters: ({ amount, term, handleChange, }: RenderCreditParametersProps) => JSX.Element;
10
+ export {};
@@ -0,0 +1,14 @@
1
+ /// <reference types="react" />
2
+ import type { CreditFormState } from './ApplicationFormCredit';
3
+ import type { HandleFormStateChange } from './models';
4
+ interface RenderDataOrganizationProps {
5
+ fullName: string;
6
+ inn: string;
7
+ name: string;
8
+ phone: string;
9
+ mail: string;
10
+ annualRevenue: string;
11
+ handleChange: HandleFormStateChange<CreditFormState>;
12
+ }
13
+ export declare const renderDataOrganization: ({ fullName, inn, name, phone, mail, annualRevenue, handleChange, }: RenderDataOrganizationProps) => JSX.Element;
14
+ export {};
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ import { WedFormState } from './ApplicationFormWed';
3
+ import { HandleFormStateChange } from './models';
4
+ interface RenderQuestionsInterestedProps {
5
+ currencyControl: boolean;
6
+ documentaryOperations: boolean;
7
+ conversionOperations: boolean;
8
+ text: string;
9
+ handleChange: HandleFormStateChange<WedFormState>;
10
+ }
11
+ export declare const renderQuestionsInterested: ({ currencyControl, documentaryOperations, conversionOperations, text, handleChange, }: RenderQuestionsInterestedProps) => JSX.Element;
12
+ export {};
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ import type { AcquiringFormState } from './ApplicationFormAcquiring';
3
+ import type { HandleFormStateChange, Select } from './models';
4
+ interface SelectsProps {
5
+ acquiringType: string;
6
+ regions: Select[];
7
+ region: string;
8
+ handleChange: HandleFormStateChange<AcquiringFormState>;
9
+ }
10
+ export declare const renderSelects: ({ acquiringType, regions, region, handleChange }: SelectsProps) => JSX.Element;
11
+ export {};
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ import type { AcquiringFormState } from './ApplicationFormAcquiring';
3
+ import type { HandleFormStateChange } from './models';
4
+ declare type SlideCheckboxesProps = {
5
+ onlineСheckout: boolean;
6
+ posTerminal: boolean;
7
+ handleChange: HandleFormStateChange<AcquiringFormState>;
8
+ };
9
+ export declare const renderSlideCheckboxes: ({ onlineСheckout, posTerminal, handleChange, }: SlideCheckboxesProps) => JSX.Element;
10
+ export {};
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import type { ButtonProps } from '../../ui-kit/Button/ButtonProps';
3
+ export declare const renderSubmitButton: (button?: ButtonProps, className?: string) => JSX.Element;
@@ -0,0 +1,13 @@
1
+ import { Dispatch, SetStateAction } from 'react';
2
+ import type { HandleFormStateChange } from './models';
3
+ interface UseFormHandlersProps<T> {
4
+ formState: Partial<T>;
5
+ handleSubmit: (data: Partial<T>) => void;
6
+ setFormState: Dispatch<SetStateAction<T>>;
7
+ typeForm: string;
8
+ }
9
+ export declare const useFormHandlers: <T>({ formState, handleSubmit, setFormState, typeForm, }: UseFormHandlersProps<T>) => {
10
+ handleChange: HandleFormStateChange<T>;
11
+ onSubmit: (e: React.FormEvent<HTMLFormElement>) => Promise<void>;
12
+ };
13
+ export {};
@@ -1,5 +1,5 @@
1
1
  import type { Branch, SafeBoxCase, SafeBoxCaseVolume } from '../../hooks/useSafeBoxes';
2
- import type { HandleChangeState, SafeDepositRentalState } from './SafeDepositRentalTypes';
2
+ import type { HandleFormStateChange, SafeDepositRentalState } from './SafeDepositRentalTypes';
3
3
  import { Region } from './useGetRegions';
4
4
  export interface SafeDepositRentalFieldsProps extends SafeDepositRentalState {
5
5
  regions?: Region[];
@@ -7,6 +7,6 @@ export interface SafeDepositRentalFieldsProps extends SafeDepositRentalState {
7
7
  caseVolumes?: SafeBoxCaseVolume[];
8
8
  branches?: Branch[];
9
9
  onClick: () => void;
10
- onChange: HandleChangeState;
10
+ onChange: HandleFormStateChange;
11
11
  }
12
12
  export declare const SafeDepositRentalFields: import("@redneckz/uni-jsx").UNIComponent<SafeDepositRentalFieldsProps, any, any>;
@@ -5,4 +5,4 @@ export interface SafeDepositRentalState {
5
5
  selectedBoxSize: string;
6
6
  days: number;
7
7
  }
8
- export declare type HandleChangeState = (state: Partial<SafeDepositRentalState>) => void;
8
+ export declare type HandleFormStateChange = (state: Partial<SafeDepositRentalState>) => void;
@@ -56,6 +56,7 @@ export declare enum IconMap {
56
56
  JCBIcon = "JCBIcon",
57
57
  LogoIcon = "LogoIcon",
58
58
  LoupeIcon = "LoupeIcon",
59
+ MailIcon = "MailIcon",
59
60
  MapMarkerClusterIcon = "MapMarkerClusterIcon",
60
61
  MapMarkerSingleIcon = "MapMarkerSingleIcon",
61
62
  MasterCardIcon = "MasterCardIcon",
@@ -75,12 +76,15 @@ export declare enum IconMap {
75
76
  PercentageSquareIcon = "PercentageSquareIcon",
76
77
  PercentIcon = "PercentIcon",
77
78
  PersonalCardIcon = "PersonalCardIcon",
79
+ PhoneIcon = "PhoneIcon",
78
80
  PlayMarketIcon = "PlayMarketIcon",
79
81
  PlusIcon = "PlusIcon",
80
82
  PowerIcon = "PowerIcon",
81
83
  Profile2UserIcon = "Profile2UserIcon",
82
84
  ProfileIcon = "ProfileIcon",
83
85
  PumpkinIcon = "PumpkinIcon",
86
+ ResponceFailIcon = "ResponceFailIcon",
87
+ ResponceOKIcon = "ResponceOKIcon",
84
88
  RoundRubleIcon = "RoundRubleIcon",
85
89
  SafeIcon = "SafeIcon",
86
90
  ShieldTickIcon = "ShieldTickIcon",
@@ -159,6 +163,7 @@ export declare enum IconTitleMap {
159
163
  JCBIcon = "JCB",
160
164
  LogoIcon = "Logo",
161
165
  LoupeIcon = "\u041B\u0443\u043F\u0430",
166
+ MailIcon = "E-mail",
162
167
  MapMarkerClusterIcon = "\u041C\u0430\u0440\u043A\u0435\u0440 \u043A\u0430\u0440\u0442\u044B",
163
168
  MapMarkerSingleIcon = "\u041C\u0430\u0440\u043A\u0435\u0440 \u043A\u0430\u0440\u0442\u044B \u0420\u0421\u0425\u0411",
164
169
  MasterCardIcon = "MasterCard",
@@ -178,12 +183,15 @@ export declare enum IconTitleMap {
178
183
  PercentageSquareIcon = "\u041F\u0440\u043E\u0446\u0435\u043D\u0442\u044B",
179
184
  PercentIcon = "PercentIcon",
180
185
  PersonalCardIcon = "\u041F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u044C\u043D\u0430\u044F \u043A\u0430\u0440\u0442\u0430",
186
+ PhoneIcon = "\u0422\u0435\u043B\u0435\u0444\u043E\u043D",
181
187
  PlayMarketIcon = "\u041B\u043E\u0433\u043E \u00ABPlayMarket\u00BB",
182
188
  PlusIcon = "\u041F\u043B\u044E\u0441",
183
189
  PowerIcon = "\u0429\u0438\u0442",
184
190
  Profile2UserIcon = "\u041F\u0440\u043E\u0444\u0438\u043B\u044C, 2 \u043F\u0435\u0440\u0441\u043E\u043D\u044B",
185
191
  ProfileIcon = "\u041F\u0440\u043E\u0444\u0438\u043B\u044C",
186
192
  PumpkinIcon = "\u0422\u044B\u043A\u0432\u0430",
193
+ ResponceFailIcon = "\u041E\u0448\u0438\u0431\u043A\u0430",
194
+ ResponceOKIcon = "\u041E\u043A",
187
195
  RoundRubleIcon = "\u0420\u0443\u0431\u043B\u044C (\u043A\u0440\u0443\u0433.)",
188
196
  SafeIcon = "\u0421\u0435\u0439\u0444",
189
197
  ShieldTickIcon = "\u0411\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u043E\u0441\u0442\u044C",
@@ -210,7 +218,7 @@ export declare enum IconTitleMap {
210
218
  * @title Иконка
211
219
  * @enumNames [
212
220
  * "",
213
- * 'Деньги', 'Самолёт', 'Лого «Apple»', 'Стрелка \'Вниз\'', 'Стрелка \'Влево\'', 'Стрелка \'Вправо\'', 'Стрелка \'Вверх-право\'', 'Стрелка \'Вверх\'', 'Банкомат', 'Банк', 'Здание с деревом', 'Бургер', 'Календарь 2', 'Скруглённый календарь', 'Календарь', 'Календарь с галочкой', 'Машина2', 'Кред. карта', 'Кред. карта под наклоном', 'Кред. карта с галочкой', 'Карта с драгоценностями', 'Машина', 'Деньги внутри кошелька', 'Кинотеатр', 'Часы', 'Крестик', 'Кресло', 'Кредитные карты', 'Скидка', 'Скачать документ', 'Документ', 'Документ (одноцветный)', 'Документы', 'Документы-2', 'Документ с текстом', 'Доллар', 'Зелёная \'галочка\' в круге', 'Зелёная \'галочка\'', 'Земля', 'Пустой кошелёк с возвратом', 'Пустой кошелёк', 'Евро', 'FullScreenIcon', 'Геолокация', 'Зеркало', 'Глобус', 'Gps', 'Сетка (белая)', 'HeadphonesIcon', 'Сердце', 'Лого «Huawei»', 'Диаграмма роста', 'Скидка', 'JCB', 'Logo', 'Лупа', 'Маркер карты', 'Маркер карты РСХБ', 'MasterCard', 'Лого Метро', 'Минус', 'МИР', 'Деньги', 'Денежное страхование', 'Купюры', 'Монитор и мобильный', 'Новый документ', 'Офис', 'Лого «Одноклассники»', 'Пачка бумаги А4', 'Бизнес', 'Проценты (круг.)', 'Проценты', 'PercentIcon', 'Персональная карта', 'Лого «PlayMarket»', 'Плюс', 'Щит', 'Профиль, 2 персоны', 'Профиль', 'Тыква', 'Рубль (круг.)', 'Сейф', 'Безопасность', 'Подписанные документы', 'Маленькие часы', 'Звук', 'Ящик с замочной скважиной', 'Лого «Telegram»', 'UnionPay', 'UserGeoLocationIcon', 'Пользователь в рамке', 'Пользователь', 'Visa', 'Лого «VK»', 'Пополнение карты', 'Кошелёк с плюсом', 'Кошелёк', 'Кошелёк с деньгами', 'Добавить продукт', 'Лого «Youtube»'
221
+ * 'Деньги', 'Самолёт', 'Лого «Apple»', 'Стрелка \'Вниз\'', 'Стрелка \'Влево\'', 'Стрелка \'Вправо\'', 'Стрелка \'Вверх-право\'', 'Стрелка \'Вверх\'', 'Банкомат', 'Банк', 'Здание с деревом', 'Бургер', 'Календарь 2', 'Скруглённый календарь', 'Календарь', 'Календарь с галочкой', 'Машина2', 'Кред. карта', 'Кред. карта под наклоном', 'Кред. карта с галочкой', 'Карта с драгоценностями', 'Машина', 'Деньги внутри кошелька', 'Кинотеатр', 'Часы', 'Крестик', 'Кресло', 'Кредитные карты', 'Скидка', 'Скачать документ', 'Документ', 'Документ (одноцветный)', 'Документы', 'Документы-2', 'Документ с текстом', 'Доллар', 'Зелёная \'галочка\' в круге', 'Зелёная \'галочка\'', 'Земля', 'Пустой кошелёк с возвратом', 'Пустой кошелёк', 'Евро', 'FullScreenIcon', 'Геолокация', 'Зеркало', 'Глобус', 'Gps', 'Сетка (белая)', 'HeadphonesIcon', 'Сердце', 'Лого «Huawei»', 'Диаграмма роста', 'Скидка', 'JCB', 'Logo', 'Лупа', 'E-mail', 'Маркер карты', 'Маркер карты РСХБ', 'MasterCard', 'Лого Метро', 'Минус', 'МИР', 'Деньги', 'Денежное страхование', 'Купюры', 'Монитор и мобильный', 'Новый документ', 'Офис', 'Лого «Одноклассники»', 'Пачка бумаги А4', 'Бизнес', 'Проценты (круг.)', 'Проценты', 'PercentIcon', 'Персональная карта', 'Телефон', 'Лого «PlayMarket»', 'Плюс', 'Щит', 'Профиль, 2 персоны', 'Профиль', 'Тыква', 'Ошибка', 'Ок', 'Рубль (круг.)', 'Сейф', 'Безопасность', 'Подписанные документы', 'Маленькие часы', 'Звук', 'Ящик с замочной скважиной', 'Лого «Telegram»', 'UnionPay', 'UserGeoLocationIcon', 'Пользователь в рамке', 'Пользователь', 'Visa', 'Лого «VK»', 'Пополнение карты', 'Кошелёк с плюсом', 'Кошелёк', 'Кошелёк с деньгами', 'Добавить продукт', 'Лого «Youtube»'
214
222
  * ]
215
223
  */
216
- export declare type IconName = '' | 'ActualBalanceIcon' | 'AirPlaneIcon' | 'AppleIcon' | 'ArrowDownIcon' | 'ArrowLeftIcon' | 'ArrowRightIcon' | 'ArrowTopRightIcon' | 'ArrowUpIcon' | 'AtmIcon' | 'BankIcon' | 'BuildingIcon' | 'BurgerIcon' | 'Calendar2Icon' | 'CalendarCircleIcon' | 'CalendarIcon' | 'CalendarTickIcon' | 'Car2Icon' | 'CardIcon' | 'CardPosIcon' | 'CardTickIcon' | 'CardWithGemIcon' | 'CarIcon' | 'ChartSquareIcon' | 'CinemaIcon' | 'ClockIcon' | 'CloseIcon' | 'ComfortableCompIcon' | 'CreditCardsIcon' | 'DiscountShapeIcon' | 'DocDownloadIcon' | 'DocIcon' | 'DocIconMonoColor' | 'DocsIcon' | 'DocumentText2Icon' | 'DocumentTextIcon' | 'DollarIcon' | 'DoneIcon' | 'DoneSimpleIcon' | 'EarthIcon' | 'EmptyWalletChangeIcon' | 'EmptyWalletIcon' | 'EuroIcon' | 'FullScreenIcon' | 'GeolocationIcon' | 'GlassIcon' | 'GlobalIcon' | 'GpsIcon' | 'GridIcon' | 'HeadphonesIcon' | 'HeartIcon' | 'HuaweiIcon' | 'InterestGrowthIcon' | 'InterestIcon' | 'JCBIcon' | 'LogoIcon' | 'LoupeIcon' | 'MapMarkerClusterIcon' | 'MapMarkerSingleIcon' | 'MasterCardIcon' | 'MetroIcon' | 'MinusIcon' | 'MirIcon' | 'MoneyIcon' | 'MoneyInsuranceIcon' | 'MoneysIcon' | 'MonitorMobileIcon' | 'NewDocIcon' | 'OfficeIcon' | 'OkIcon' | 'PackA4Icon' | 'PassSendIcon' | 'PercentageRoundIcon' | 'PercentageSquareIcon' | 'PercentIcon' | 'PersonalCardIcon' | 'PlayMarketIcon' | 'PlusIcon' | 'PowerIcon' | 'Profile2UserIcon' | 'ProfileIcon' | 'PumpkinIcon' | 'RoundRubleIcon' | 'SafeIcon' | 'ShieldTickIcon' | 'SignDocsIcon' | 'SmallClockIcon' | 'SoundIcon' | 'StrongBoxIcon' | 'TelegramIcon' | 'UnionPayIcon' | 'UserGeoLocationIcon' | 'UserSquareIcon' | 'UserTickIcon' | 'VisaIcon' | 'VKIcon' | 'WalletAdd2Icon' | 'WalletAddIcon' | 'WalletIcon' | 'WalletWithMoneyIcon' | 'WateringCanIcon' | 'YoutubeIcon';
224
+ export declare type IconName = '' | 'ActualBalanceIcon' | 'AirPlaneIcon' | 'AppleIcon' | 'ArrowDownIcon' | 'ArrowLeftIcon' | 'ArrowRightIcon' | 'ArrowTopRightIcon' | 'ArrowUpIcon' | 'AtmIcon' | 'BankIcon' | 'BuildingIcon' | 'BurgerIcon' | 'Calendar2Icon' | 'CalendarCircleIcon' | 'CalendarIcon' | 'CalendarTickIcon' | 'Car2Icon' | 'CardIcon' | 'CardPosIcon' | 'CardTickIcon' | 'CardWithGemIcon' | 'CarIcon' | 'ChartSquareIcon' | 'CinemaIcon' | 'ClockIcon' | 'CloseIcon' | 'ComfortableCompIcon' | 'CreditCardsIcon' | 'DiscountShapeIcon' | 'DocDownloadIcon' | 'DocIcon' | 'DocIconMonoColor' | 'DocsIcon' | 'DocumentText2Icon' | 'DocumentTextIcon' | 'DollarIcon' | 'DoneIcon' | 'DoneSimpleIcon' | 'EarthIcon' | 'EmptyWalletChangeIcon' | 'EmptyWalletIcon' | 'EuroIcon' | 'FullScreenIcon' | 'GeolocationIcon' | 'GlassIcon' | 'GlobalIcon' | 'GpsIcon' | 'GridIcon' | 'HeadphonesIcon' | 'HeartIcon' | 'HuaweiIcon' | 'InterestGrowthIcon' | 'InterestIcon' | 'JCBIcon' | 'LogoIcon' | 'LoupeIcon' | 'MailIcon' | 'MapMarkerClusterIcon' | 'MapMarkerSingleIcon' | 'MasterCardIcon' | 'MetroIcon' | 'MinusIcon' | 'MirIcon' | 'MoneyIcon' | 'MoneyInsuranceIcon' | 'MoneysIcon' | 'MonitorMobileIcon' | 'NewDocIcon' | 'OfficeIcon' | 'OkIcon' | 'PackA4Icon' | 'PassSendIcon' | 'PercentageRoundIcon' | 'PercentageSquareIcon' | 'PercentIcon' | 'PersonalCardIcon' | 'PhoneIcon' | 'PlayMarketIcon' | 'PlusIcon' | 'PowerIcon' | 'Profile2UserIcon' | 'ProfileIcon' | 'PumpkinIcon' | 'ResponceFailIcon' | 'ResponceOKIcon' | 'RoundRubleIcon' | 'SafeIcon' | 'ShieldTickIcon' | 'SignDocsIcon' | 'SmallClockIcon' | 'SoundIcon' | 'StrongBoxIcon' | 'TelegramIcon' | 'UnionPayIcon' | 'UserGeoLocationIcon' | 'UserSquareIcon' | 'UserTickIcon' | 'VisaIcon' | 'VKIcon' | 'WalletAdd2Icon' | 'WalletAddIcon' | 'WalletIcon' | 'WalletWithMoneyIcon' | 'WateringCanIcon' | 'YoutubeIcon';
@@ -1,4 +1,3 @@
1
1
  export declare const isHrefActive: (href: string | undefined, router: {
2
- pathname?: string | undefined;
3
2
  href?: string | undefined;
4
- }, cmp?: (targetHref: string, baseHref: string) => boolean) => boolean;
3
+ }) => boolean;
@@ -1,3 +1,4 @@
1
- import type { Router } from '../../hooks/useRouter';
2
1
  import type { LinkProps } from '../../model/LinkProps';
3
- export declare const isSubItemActive: (router: Router) => (subItem: LinkProps) => boolean;
2
+ export declare const isSubItemActive: (router: {
3
+ href?: string;
4
+ }) => (subItem: LinkProps) => boolean;
@@ -1,3 +1,4 @@
1
- import type { Router } from '../../hooks/useRouter';
2
1
  import { TopMenuItem } from './SitemapProps';
3
- export declare const isTopItemActive: (router: Router) => (topItem: TopMenuItem) => boolean;
2
+ export declare const isTopItemActive: (router: {
3
+ href?: string;
4
+ }) => (topItem: TopMenuItem) => boolean;
@@ -5,7 +5,6 @@ export interface TopItemContent extends LinkProps {
5
5
  export interface TopItemProps extends TopItemContent {
6
6
  className?: string;
7
7
  flat?: boolean;
8
- ariaLabel?: string;
9
8
  dataItemName?: string;
10
9
  onClick?: () => void;
11
10
  }
@@ -1,4 +1 @@
1
- export declare const adjustHref: (href: string | undefined, router: {
2
- pathname: string;
3
- href?: string | undefined;
4
- }) => string | undefined;
1
+ export declare const adjustHref: (href: string | undefined) => string | undefined;
@@ -1,6 +1,8 @@
1
- export declare const isURL: (href?: string) => boolean | undefined;
1
+ import type { Target } from '../model/LinkProps';
2
+ export declare const isURL: (href?: string) => href is `${string}//${string}`;
3
+ export declare const isLocalURL: (href: string | undefined, target?: Target) => boolean;
4
+ export declare const isHash: (href?: string) => href is `#${string}`;
2
5
  export declare const withoutQuery: (href?: string) => string;
3
6
  export declare const getOrigin: (href?: string) => string | undefined;
4
7
  export declare const getPathname: (href?: string) => string | undefined;
5
8
  export declare const getHash: (href?: string) => string | undefined;
6
- export declare const isHash: (href?: string) => boolean | undefined;
@@ -0,0 +1 @@
1
+ <svg id="icon" xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path stroke="#7D7E7F" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2" d="M22 12.98v2.52c0 3.5-2 5-5 5H7c-3 0-5-1.5-5-5v-7c0-3.5 2-5 5-5h10c3 0 5 1.5 5 5"/><path stroke="#7D7E7F" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2" d="m17 9-3.13 2.5c-1.03.82-2.72.82-3.75 0L7 9"/></svg>
@@ -0,0 +1 @@
1
+ <svg id="icon" xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path stroke="#7D7E7F" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2" d="M9.39 6.01c.18.25.31.48.4.7.09.21.14.42.14.61 0 .24-.07.48-.21.71-.13.23-.32.47-.56.71l-.76.79c-.11.11-.16.24-.16.4 0 .08.01.15.03.23.03.08.06.14.08.2.18.33.49.76.93 1.28.45.52.93 1.05 1.45 1.58.54.53 1.06 1.02 1.59 1.47.52.44.95.74 1.29.92.05.02.11.05.18.08.08.03.16.04.25.04.17 0 .3-.06.41-.17l.76-.75c.25-.25.49-.44.72-.56.23-.14.46-.21.71-.21.19 0 .39.04.61.13.22.09.45.22.7.39l3.31 2.35c.26.18.44.39.55.64.1.25.16.5.16.78 0 .36-.08.73-.25 1.09-.17.36-.39.7-.68 1.02-.49.54-1.03.93-1.64 1.18-.6.25-1.25.38-1.95.38-1.02 0-2.11-.24-3.26-.73s-2.3-1.15-3.44-1.98a28.75 28.75 0 0 1-3.28-2.8 28.414 28.414 0 0 1-2.79-3.27c-.82-1.14-1.48-2.28-1.96-3.41C2.24 8.67 2 7.58 2 6.54c0-.68.12-1.33.36-1.93.24-.61.62-1.17 1.15-1.67C4.15 2.31 4.85 2 5.59 2c.28 0 .56.06.81.18.26.12.49.3.67.56"/></svg>
@@ -0,0 +1 @@
1
+ <svg id="icon" xmlns="http://www.w3.org/2000/svg" width="38" height="34" fill="none"><mask id="a" width="38" height="34" x="0" y="0" maskUnits="userSpaceOnUse" style="mask-type:alpha"><path fill="#898989" d="M20.494.178h-2.987C8.144.178.557 7.706.557 16.999c0 9.293 7.587 16.822 16.95 16.822h2.987c9.363 0 16.949-7.529 16.949-16.822S29.85.178 20.493.178Z"/></mask><g mask="url(#a)"><path fill="#FA552D" d="M20.494.178h-2.987C8.144.178.557 7.706.557 16.999c0 9.293 7.587 16.822 16.95 16.822h2.987c9.363 0 16.949-7.529 16.949-16.822S29.85.178 20.493.178Z"/><path fill="#542C4B" d="M37.447.178H15.39V33.82h22.057V.178Z"/><path fill="url(#b)" d="M37.447.178H15.39V33.82h22.057V.178Z"/></g><path fill="#FFECEC" d="M17.502 33.82c9.36 0 16.949-7.531 16.949-16.822C34.45 7.708 26.862.177 17.5.177 8.142.177.554 7.708.554 16.998c0 9.29 7.588 16.822 16.949 16.822Z"/><mask id="c" width="35" height="33" x="0" y="1" maskUnits="userSpaceOnUse" style="mask-type:alpha"><path fill="#898989" d="M34.445 16.997c0-1.14-.115-2.254-.332-3.33-2.05-7-8.56-12.115-16.273-12.115C8.477 1.552.89 9.08.89 18.373c0 1.14.115 2.255.332 3.331 2.05 7 8.56 12.115 16.274 12.115 9.363-.006 16.949-7.535 16.949-16.822Z"/></mask><g mask="url(#c)"><path fill="#FA552D" d="M34.445 16.997c0-1.14-.115-2.254-.332-3.33-2.05-7-8.56-12.115-16.273-12.115C8.477 1.552.89 9.08.89 18.373c0 1.14.115 2.255.332 3.331 2.05 7 8.56 12.115 16.274 12.115 9.363-.006 16.949-7.535 16.949-16.822Z"/><path fill="url(#d)" d="M34.445 16.997c0-1.14-.115-2.254-.332-3.33-2.05-7-8.56-12.115-16.273-12.115C8.477 1.552.89 9.08.89 18.373c0 1.14.115 2.255.332 3.331 2.05 7 8.56 12.115 16.274 12.115 9.363-.006 16.949-7.535 16.949-16.822Z"/></g><path fill="#542C4B" d="m21.56 17.679 4.777-4.777c.63-.63.63-1.656 0-2.293a1.602 1.602 0 0 0-1.096-.472h-2.267a1.591 1.591 0 0 0-1.21.472l-3.638 3.637-3.637-3.637a1.602 1.602 0 0 0-1.159-.472h-2.267c-.414 0-.828.16-1.147.472-.63.63-.63 1.656 0 2.293l4.777 4.777-4.777 4.777c-.63.63-.63 1.656 0 2.293a1.61 1.61 0 0 0 1.147.471h2.28c.414 0 .828-.16 1.146-.471l3.637-3.637 3.637 3.637a1.61 1.61 0 0 0 1.147.471h.064l2.267-.006c.395-.013.79-.166 1.096-.472.63-.63.63-1.656 0-2.293l-4.777-4.77Z"/><path fill="url(#e)" d="m21.56 17.679 4.777-4.777c.63-.63.63-1.656 0-2.293a1.602 1.602 0 0 0-1.096-.472h-2.267a1.591 1.591 0 0 0-1.21.472l-3.638 3.637-3.637-3.637a1.602 1.602 0 0 0-1.159-.472h-2.267c-.414 0-.828.16-1.147.472-.63.63-.63 1.656 0 2.293l4.777 4.777-4.777 4.777c-.63.63-.63 1.656 0 2.293a1.61 1.61 0 0 0 1.147.471h2.28c.414 0 .828-.16 1.146-.471l3.637-3.637 3.637 3.637a1.61 1.61 0 0 0 1.147.471h.064l2.267-.006c.395-.013.79-.166 1.096-.472.63-.63.63-1.656 0-2.293l-4.777-4.77Z"/><path fill="#fff" d="m19.28 17.679 4.776-4.777c.63-.63.63-1.656 0-2.293a1.626 1.626 0 0 0-2.293 0l-4.777 4.777-4.777-4.777a1.626 1.626 0 0 0-2.293 0c-.63.63-.63 1.656 0 2.293l4.777 4.777-4.777 4.777c-.63.63-.63 1.656 0 2.293a1.61 1.61 0 0 0 1.147.471c.414 0 .828-.16 1.146-.471l4.777-4.777 4.777 4.777a1.61 1.61 0 0 0 1.147.471c.414 0 .828-.16 1.146-.471.63-.63.63-1.656 0-2.293l-4.777-4.777Z"/><defs><linearGradient id="b" x1="31.96" x2="31.96" y1="33.821" y2="16.999" gradientUnits="userSpaceOnUse"><stop stop-color="#FA552D"/><stop offset=".472" stop-color="#0057D6"/><stop offset="1" stop-color="#0057D6" stop-opacity="0"/></linearGradient><linearGradient id="d" x1="6.357" x2="17.668" y1="5.974" y2="17.685" gradientUnits="userSpaceOnUse"><stop stop-color="#FFB571"/><stop offset="1" stop-color="#FFB571" stop-opacity="0"/></linearGradient><linearGradient id="e" x1="25.214" x2="25.214" y1="25.22" y2="22.692" gradientUnits="userSpaceOnUse"><stop stop-color="#0057D6"/><stop offset="1" stop-color="#0057D6" stop-opacity="0"/></linearGradient></defs></svg>
@@ -0,0 +1 @@
1
+ <svg id="icon" xmlns="http://www.w3.org/2000/svg" width="42" height="42" fill="none"><mask id="a" width="38" height="34" x="2" y="0" maskUnits="userSpaceOnUse" style="mask-type:alpha"><path fill="#fff" d="M22.507.254h-2.988c-9.363 0-16.954 7.533-16.954 16.82 0 9.287 7.59 16.821 16.954 16.821h2.988c9.363 0 16.953-7.534 16.953-16.82C39.46 7.786 31.87.253 22.507.253Z"/></mask><g mask="url(#a)"><path fill="#42AB44" d="M22.507.254h-2.988c-9.363 0-16.954 7.533-16.954 16.82 0 9.287 7.59 16.821 16.954 16.821h2.988c9.363 0 16.953-7.534 16.953-16.82C39.46 7.786 31.87.253 22.507.253Z"/><path fill="#44384D" d="M39.45.356H17.393V34H39.45V.356Z"/><path fill="url(#b)" d="M39.45.356H17.393V34H39.45V.356Z"/></g><path fill="#E2F6E2" d="M19.518 33.897c9.363 0 16.953-7.53 16.953-16.82S28.881.255 19.518.255 2.564 7.786 2.564 17.076s7.59 16.82 16.954 16.82Z"/><mask id="c" width="35" height="33" x="2" y="1" maskUnits="userSpaceOnUse" style="mask-type:alpha"><path fill="#fff" d="M36.478 17.07c0-1.14-.114-2.254-.335-3.33-2.051-7.002-8.56-12.117-16.276-12.117-9.364 0-16.954 7.534-16.954 16.82 0 1.14.114 2.254.336 3.337 2.05 7.002 8.559 12.117 16.276 12.117 9.363-.007 16.953-7.54 16.953-16.827Z"/></mask><g mask="url(#c)"><path fill="#7DC15D" d="M36.478 17.07c0-1.14-.114-2.254-.335-3.33-2.051-7.002-8.56-12.117-16.276-12.117-9.364 0-16.954 7.534-16.954 16.82 0 1.14.114 2.254.336 3.337 2.05 7.002 8.559 12.117 16.276 12.117 9.363-.007 16.953-7.54 16.953-16.827Z"/><path fill="url(#d)" d="M36.478 17.07c0-1.14-.114-2.254-.335-3.33-2.051-7.002-8.56-12.117-16.276-12.117-9.364 0-16.954 7.534-16.954 16.82 0 1.14.114 2.254.336 3.337 2.05 7.002 8.559 12.117 16.276 12.117 9.363-.007 16.953-7.54 16.953-16.827Z"/></g><path fill="#44384D" d="M30.659 10.89a1.502 1.502 0 0 0-.918-.323h-2.298c-.45-.007-.906.17-1.241.506l-8.857 8.933-4.59-4.654a1.567 1.567 0 0 0-1.152-.468H9.337c-.45 0-.893.19-1.21.57-.531.64-.423 1.595.16 2.184l7.457 7.565c.12.12.272.177.43.184l2.298.006a.628.628 0 0 0 .45-.19l11.863-11.971a1.572 1.572 0 0 0-.126-2.343Z"/><path fill="#fff" d="m15.744 25.2-7.458-7.564c-.582-.589-.69-1.545-.158-2.184a1.579 1.579 0 0 1 2.348-.102l5.546 5.622c.101.101.26.101.361 0l9.819-9.908c.582-.588 1.538-.702 2.177-.183.741.601.786 1.69.133 2.349L16.65 25.2a.634.634 0 0 1-.905 0Z"/><path fill="#582B4C" d="M36.386 38.591c0-.11-.105-.22-.31-.324-1.88-.689-7.86-1.187-14.946-1.187-8.598 0-15.571.741-15.571 1.65 0 .11.105.22.309.325 1.888.689 7.861 1.187 14.946 1.187 8.599 0 15.572-.741 15.572-1.65Z"/><path fill="url(#e)" d="M36.386 38.591c0-.11-.105-.22-.31-.324-1.88-.689-7.86-1.187-14.946-1.187-8.598 0-15.571.741-15.571 1.65 0 .11.105.22.309.325 1.888.689 7.861 1.187 14.946 1.187 8.599 0 15.572-.741 15.572-1.65Z"/><defs><linearGradient id="b" x1="33.963" x2="33.963" y1="33.999" y2="17.178" gradientUnits="userSpaceOnUse"><stop stop-color="#42AB44"/><stop offset=".472" stop-color="#0057D6"/><stop offset="1" stop-color="#0057D6" stop-opacity="0"/></linearGradient><linearGradient id="d" x1="6.863" x2="19.696" y1="4.815" y2="17.76" gradientUnits="userSpaceOnUse"><stop stop-color="#FFCA42"/><stop offset="1" stop-color="#FFCA42" stop-opacity="0"/></linearGradient><linearGradient id="e" x1="5.559" x2="36.386" y1="38.661" y2="38.661" gradientUnits="userSpaceOnUse"><stop stop-color="#FA552D"/><stop offset=".31" stop-color="#FA552D" stop-opacity="0"/><stop offset=".666" stop-color="#7DC15D" stop-opacity="0"/><stop offset="1" stop-color="#7DC15D"/></linearGradient></defs></svg>
@@ -1,8 +1,8 @@
1
1
  export interface ProjectSettings {
2
2
  TEST_BRANCH?: string;
3
3
  RC_BRANCH?: string;
4
- PROD_BRANCH: string;
5
- FORCED_DRAFT_FLOW: boolean;
4
+ PROD_BRANCH?: string;
5
+ FORCED_DRAFT_FLOW?: boolean;
6
6
  ASSIST_PROJECT_ID?: string;
7
7
  SITEMAP?: string;
8
8
  FOOTER?: string;
@@ -16,8 +16,8 @@ export declare const projectSettings: {
16
16
  setup(_: ProjectSettings): void;
17
17
  readonly TEST_BRANCH: string | undefined;
18
18
  readonly RC_BRANCH: string | undefined;
19
- readonly PROD_BRANCH: string;
20
- readonly FORCED_DRAFT_FLOW: boolean;
19
+ readonly PROD_BRANCH: string | undefined;
20
+ readonly FORCED_DRAFT_FLOW: boolean | undefined;
21
21
  readonly ASSIST_PROJECT_ID: string | undefined;
22
22
  readonly SITEMAP: string | undefined;
23
23
  readonly FOOTER: string | undefined;
@@ -1,10 +1,8 @@
1
1
  Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.projectSettings = void 0;
3
+ const DEFAULT_PROJECT_SETTINGS = { PROD_BRANCH: 'master' };
3
4
  exports.projectSettings = new (class {
4
- _ = {
5
- PROD_BRANCH: 'master',
6
- FORCED_DRAFT_FLOW: false,
7
- };
5
+ _ = DEFAULT_PROJECT_SETTINGS;
8
6
  setup(_) {
9
7
  this._ = _;
10
8
  }
@@ -15,7 +13,7 @@ exports.projectSettings = new (class {
15
13
  return this._.RC_BRANCH;
16
14
  }
17
15
  get PROD_BRANCH() {
18
- return this._.PROD_BRANCH;
16
+ return this._.PROD_BRANCH || DEFAULT_PROJECT_SETTINGS.PROD_BRANCH;
19
17
  }
20
18
  get FORCED_DRAFT_FLOW() {
21
19
  return this._.FORCED_DRAFT_FLOW;
@@ -1 +1 @@
1
- {"version":3,"file":"ProjectSettings.js","sourceRoot":"","sources":["../src/ProjectSettings.ts"],"names":[],"mappings":";;AAca,QAAA,eAAe,GAAG,IAAI,CAAC;IAClC,CAAC,GAAoB;QACnB,WAAW,EAAE,QAAQ;QACrB,iBAAiB,EAAE,KAAK;KACzB,CAAC;IAEF,KAAK,CAAC,CAAkB;QACtB,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;IAED,IAAI,WAAW;QACb,OAAO,IAAI,CAAC,CAAC,CAAC,WAAW,CAAC;IAC5B,CAAC;IACD,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;IAC1B,CAAC;IACD,IAAI,WAAW;QACb,OAAO,IAAI,CAAC,CAAC,CAAC,WAAW,CAAC;IAC5B,CAAC;IACD,IAAI,iBAAiB;QACnB,OAAO,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC;IAClC,CAAC;IACD,IAAI,iBAAiB;QACnB,OAAO,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC;IAClC,CAAC;IACD,IAAI,OAAO;QACT,OAAO,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC;IACxB,CAAC;IACD,IAAI,MAAM;QACR,OAAO,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC;IACvB,CAAC;IACD,IAAI,GAAG;QACL,OAAO,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC;IACpB,CAAC;IACD,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,CAAC,CAAC,SAAS,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,QAAQ,CAAC,GAAG,CAAC;YACxD,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,SAAS,GAAG;YACxB,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;IACvB,CAAC;IACD,IAAI,kBAAkB;QACpB,OAAO,IAAI,CAAC,CAAC,CAAC,kBAAkB,CAAC;IACnC,CAAC;IACD,IAAI,iBAAiB;QACnB,OAAO,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC;IAClC,CAAC;CACF,CAAC,EAAE,CAAC"}
1
+ {"version":3,"file":"ProjectSettings.js","sourceRoot":"","sources":["../src/ProjectSettings.ts"],"names":[],"mappings":";;AAcA,MAAM,wBAAwB,GAAoB,EAAE,WAAW,EAAE,QAAQ,EAAE,CAAC;AAE/D,QAAA,eAAe,GAAG,IAAI,CAAC;IAClC,CAAC,GAAoB,wBAAwB,CAAC;IAE9C,KAAK,CAAC,CAAkB;QACtB,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;IAED,IAAI,WAAW;QACb,OAAO,IAAI,CAAC,CAAC,CAAC,WAAW,CAAC;IAC5B,CAAC;IACD,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;IAC1B,CAAC;IACD,IAAI,WAAW;QACb,OAAO,IAAI,CAAC,CAAC,CAAC,WAAW,IAAI,wBAAwB,CAAC,WAAW,CAAC;IACpE,CAAC;IACD,IAAI,iBAAiB;QACnB,OAAO,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC;IAClC,CAAC;IACD,IAAI,iBAAiB;QACnB,OAAO,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC;IAClC,CAAC;IACD,IAAI,OAAO;QACT,OAAO,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC;IACxB,CAAC;IACD,IAAI,MAAM;QACR,OAAO,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC;IACvB,CAAC;IACD,IAAI,GAAG;QACL,OAAO,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC;IACpB,CAAC;IACD,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,CAAC,CAAC,SAAS,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,QAAQ,CAAC,GAAG,CAAC;YACxD,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,SAAS,GAAG;YACxB,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;IACvB,CAAC;IACD,IAAI,kBAAkB;QACpB,OAAO,IAAI,CAAC,CAAC,CAAC,kBAAkB,CAAC;IACnC,CAAC;IACD,IAAI,iBAAiB;QACnB,OAAO,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC;IAClC,CAAC;CACF,CAAC,EAAE,CAAC"}
@@ -0,0 +1,15 @@
1
+ interface DaDataSuggestion<T> {
2
+ value?: string;
3
+ unrestricted_value?: string;
4
+ data?: T;
5
+ }
6
+ interface DaDataAddress {
7
+ city?: string | null;
8
+ }
9
+ export interface DaDataResult {
10
+ suggestions?: DaDataSuggestion<DaDataAddress>[];
11
+ }
12
+ export declare function CorporateLeadAPI(): {
13
+ send: (body: any) => Promise<any>;
14
+ };
15
+ export {};
@@ -0,0 +1,24 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ exports.CorporateLeadAPI = void 0;
3
+ function CorporateLeadAPI() {
4
+ async function send(body) {
5
+ try {
6
+ const response = await fetch('/api/v1/sendCorporateLead', {
7
+ method: 'POST',
8
+ headers: { 'Content-Type': 'application/json' },
9
+ mode: 'cors',
10
+ body: JSON.stringify(body),
11
+ });
12
+ const data = (await response.json());
13
+ return data;
14
+ }
15
+ catch (e) {
16
+ return null;
17
+ }
18
+ }
19
+ return {
20
+ send,
21
+ };
22
+ }
23
+ exports.CorporateLeadAPI = CorporateLeadAPI;
24
+ //# sourceMappingURL=CorporateLeadAPI.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CorporateLeadAPI.js","sourceRoot":"","sources":["../../src/api/CorporateLeadAPI.ts"],"names":[],"mappings":";;AAcA,SAAgB,gBAAgB;IAC9B,KAAK,UAAU,IAAI,CAAC,IAAS;QAC3B,IAAI;YACF,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,2BAA2B,EAAE;gBACxD,MAAM,EAAE,MAAM;gBACd,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE;gBAC/C,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;aAC3B,CAAC,CAAC;YAEH,MAAM,IAAI,GAAG,CAAC,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAQ,CAAC;YAE5C,OAAO,IAAI,CAAC;SACb;QAAC,OAAO,CAAC,EAAE;YACV,OAAO,IAAI,CAAC;SACb;IACH,CAAC;IAED,OAAO;QACL,IAAI;KACL,CAAC;AACJ,CAAC;AArBD,4CAqBC"}
@@ -0,0 +1,5 @@
1
+ import type { UniBlockProps } from '../../model/JSXBlock';
2
+ import type { ApplicationFormContent } from './ApplicationFormContent';
3
+ export interface ApplicationFormProps extends ApplicationFormContent, UniBlockProps {
4
+ }
5
+ export declare const ApplicationForm: import("@redneckz/uni-jsx").UNIComponent<ApplicationFormProps, any, any>;
@@ -0,0 +1,30 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ exports.ApplicationForm = void 0;
3
+ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
+ const uni_jsx_1 = require("@redneckz/uni-jsx");
5
+ const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
6
+ const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
7
+ const Heading_1 = require("../../ui-kit/Heading/Heading");
8
+ const ApplicationFormAcquiring_1 = require("./ApplicationFormAcquiring");
9
+ const ApplicationFormBusinessCard_1 = require("./ApplicationFormBusinessCard");
10
+ const ApplicationFormCredit_1 = require("./ApplicationFormCredit");
11
+ const ApplicationFormDeposit_1 = require("./ApplicationFormDeposit");
12
+ const ApplicationFormWed_1 = require("./ApplicationFormWed");
13
+ const ResponseNotification_1 = require("./ResponseNotification");
14
+ const COMPONENTS_MAP = {
15
+ credit: (props) => (0, jsx_runtime_1.jsx)(ApplicationFormCredit_1.ApplicationFormCredit, { ...props }),
16
+ acquiring: (props) => (0, jsx_runtime_1.jsx)(ApplicationFormAcquiring_1.ApplicationFormAcquiring, { ...props }),
17
+ 'business-card': (props) => (0, jsx_runtime_1.jsx)(ApplicationFormBusinessCard_1.ApplicationFormBusinessCard, { ...props }),
18
+ deposit: (props) => (0, jsx_runtime_1.jsx)(ApplicationFormDeposit_1.ApplicationFormDeposit, { ...props }),
19
+ wed: (props) => (0, jsx_runtime_1.jsx)(ApplicationFormWed_1.ApplicationFormWed, { ...props }),
20
+ };
21
+ exports.ApplicationForm = (0, uni_jsx_1.JSX)((props) => {
22
+ const { className = '', title, typeForm = 'credit', button, link, ...rest } = props;
23
+ const [responceType, setResponceType] = (0, hooks_1.useState)('');
24
+ const handleSubmit = (0, hooks_1.useCallback)(() => {
25
+ setResponceType('OK');
26
+ return 'OK';
27
+ }, []);
28
+ return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: `font-sans bg-white p-[50px] pb-9 ${className}`, ...rest, children: (0, jsx_runtime_1.jsxs)("div", { className: "container max-w-[978px]", children: [title ? (0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h3", title: title, className: "text-center mb-8" }) : null, COMPONENTS_MAP[typeForm]({ button, link, handleSubmit }), responceType ? (0, jsx_runtime_1.jsx)(ResponseNotification_1.ResponseNotification, { responceType: responceType }) : null] }) }));
29
+ });
30
+ //# sourceMappingURL=ApplicationForm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ApplicationForm.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/ApplicationForm.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAoE;AAEpE,4DAAyD;AACzD,0DAAuD;AACvD,yEAAsE;AACtE,+EAA4E;AAE5E,mEAAgE;AAChE,qEAAkE;AAElE,6DAA0D;AAC1D,iEAA8D;AAI9D,MAAM,cAAc,GAAG;IACrB,MAAM,EAAE,CAAC,KAA4B,EAAE,EAAE,CAAC,uBAAC,6CAAqB,OAAK,KAAK,GAAI;IAC9E,SAAS,EAAE,CAAC,KAA4B,EAAE,EAAE,CAAC,uBAAC,mDAAwB,OAAK,KAAK,GAAI;IACpF,eAAe,EAAE,CAAC,KAA4B,EAAE,EAAE,CAAC,uBAAC,yDAA2B,OAAK,KAAK,GAAI;IAC7F,OAAO,EAAE,CAAC,KAA4B,EAAE,EAAE,CAAC,uBAAC,+CAAsB,OAAK,KAAK,GAAI;IAChF,GAAG,EAAE,CAAC,KAA4B,EAAE,EAAE,CAAC,uBAAC,uCAAkB,OAAK,KAAK,GAAI;CACzE,CAAC;AAEW,QAAA,eAAe,GAAG,IAAA,aAAG,EAAuB,CAAC,KAAK,EAAE,EAAE;IACjE,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,QAAQ,GAAG,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,CAAC;IAEpF,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,IAAA,gBAAQ,EAAqB,EAAE,CAAC,CAAC;IAEzE,MAAM,YAAY,GAAG,IAAA,mBAAW,EAAC,GAAG,EAAE;QACpC,eAAe,CAAC,IAAI,CAAC,CAAC;QAEtB,OAAO,IAAI,CAAC;IACd,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,CACL,uBAAC,2BAAY,IAAC,SAAS,EAAE,oCAAoC,SAAS,EAAE,KAAM,IAAI,YAChF,iCAAK,SAAS,EAAC,yBAAyB,aACrC,KAAK,CAAC,CAAC,CAAC,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAC,kBAAkB,GAAG,CAAC,CAAC,CAAC,IAAI,EACtF,cAAc,CAAC,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,EACxD,YAAY,CAAC,CAAC,CAAC,uBAAC,2CAAoB,IAAC,YAAY,EAAE,YAAY,GAAI,CAAC,CAAC,CAAC,IAAI,IACvE,GACO,CAChB,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -0,0 +1,12 @@
1
+ import type { ApplicationFormsProps } from './ApplicationFormsProps';
2
+ export interface AcquiringFormState {
3
+ acquiringType: string;
4
+ region: string;
5
+ fullName: string;
6
+ inn: string;
7
+ name: string;
8
+ phone: string;
9
+ onlineСheckout: boolean;
10
+ posTerminal: boolean;
11
+ }
12
+ export declare const ApplicationFormAcquiring: import("@redneckz/uni-jsx").UNIComponent<ApplicationFormsProps, any, any>;