@redneckz/wildless-cms-uni-blocks 0.8.16 → 0.8.18

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 (573) hide show
  1. package/bin/migration-scripts/0.8.8.js +9 -6
  2. package/bundle/ProjectSettings.d.ts +2 -0
  3. package/bundle/api/CorporateLeadAPI.d.ts +1 -1
  4. package/bundle/blocks.schema.json +1 -1
  5. package/bundle/bundle.umd.js +157 -81
  6. package/bundle/bundle.umd.min.js +1 -1
  7. package/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +15 -4
  8. package/bundle/components/ApplicationForm/ApplicationFormCredit.d.ts +0 -6
  9. package/bundle/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -2
  10. package/bundle/components/ApplicationForm/CreditParameters.d.ts +6 -0
  11. package/bundle/components/ApplicationForm/renderCreditParameters.d.ts +1 -1
  12. package/bundle/components/ApplicationForm/renderInputRange.d.ts +11 -0
  13. package/bundle/components/ApplicationForm/renderQuestionsInterested.d.ts +2 -2
  14. package/bundle/components/ApplicationForm/renderSubmitButton.d.ts +1 -1
  15. package/bundle/components/ApplicationForm/useFormHandlers.d.ts +1 -5
  16. package/bundle/components/CarouselCard/CarouselCardContent.d.ts +2 -2
  17. package/bundle/components/CarouselCard/constants.d.ts +3 -3
  18. package/bundle/components/CarouselEventCard/CarouselEventCard.d.ts +5 -0
  19. package/bundle/components/CarouselEventCard/CarouselEventCardContent.d.ts +9 -0
  20. package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +8 -9
  21. package/bundle/components/Header/HeaderChatBotButton.d.ts +1 -3
  22. package/bundle/components/Header/HeaderContent.d.ts +0 -6
  23. package/bundle/components/Header/HeaderSecondaryMenu.d.ts +0 -2
  24. package/bundle/components/Header/useChatBot.d.ts +1 -2
  25. package/bundle/components/TariffsTable/TariffsTableContent.d.ts +1 -0
  26. package/bundle/components/VerticalLayout/VerticalLayoutContent.d.ts +2 -2
  27. package/bundle/components/Video/VideoContent.d.ts +19 -4
  28. package/bundle/hooks/useLink.d.ts +1 -3
  29. package/bundle/model/AlignType.d.ts +10 -0
  30. package/bundle/model/PreventableEvent.d.ts +3 -0
  31. package/bundle/services/sitemap/isTopItemActive.d.ts +3 -2
  32. package/dist/ProjectSettings.d.ts +2 -0
  33. package/dist/ProjectSettings.js +3 -0
  34. package/dist/ProjectSettings.js.map +1 -1
  35. package/dist/api/CorporateLeadAPI.d.ts +1 -1
  36. package/dist/api/CorporateLeadAPI.js +1 -1
  37. package/dist/api/CorporateLeadAPI.js.map +1 -1
  38. package/dist/components/ApplicationForm/ApplicationForm.js +6 -3
  39. package/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
  40. package/dist/components/ApplicationForm/ApplicationFormAcquiring.js +16 -5
  41. package/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  42. package/dist/components/ApplicationForm/ApplicationFormBusinessCard.js +16 -7
  43. package/dist/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  44. package/dist/components/ApplicationForm/ApplicationFormContent.d.ts +15 -4
  45. package/dist/components/ApplicationForm/ApplicationFormCredit.d.ts +0 -6
  46. package/dist/components/ApplicationForm/ApplicationFormCredit.js +21 -13
  47. package/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  48. package/dist/components/ApplicationForm/ApplicationFormDeposit.js +11 -4
  49. package/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  50. package/dist/components/ApplicationForm/ApplicationFormWed.js +14 -4
  51. package/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  52. package/dist/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -2
  53. package/dist/components/ApplicationForm/CreditParameters.d.ts +6 -0
  54. package/dist/components/ApplicationForm/CreditParameters.js +9 -0
  55. package/dist/components/ApplicationForm/CreditParameters.js.map +1 -0
  56. package/dist/components/ApplicationForm/acquiringTypes.js +0 -5
  57. package/dist/components/ApplicationForm/acquiringTypes.js.map +1 -1
  58. package/dist/components/ApplicationForm/renderBankOffices.js +1 -1
  59. package/dist/components/ApplicationForm/renderCreditParameters.d.ts +1 -1
  60. package/dist/components/ApplicationForm/renderCreditParameters.js +10 -12
  61. package/dist/components/ApplicationForm/renderCreditParameters.js.map +1 -1
  62. package/dist/components/ApplicationForm/renderInputRange.d.ts +11 -0
  63. package/dist/components/ApplicationForm/renderInputRange.js +8 -0
  64. package/dist/components/ApplicationForm/renderInputRange.js.map +1 -0
  65. package/dist/components/ApplicationForm/renderQuestionsInterested.d.ts +2 -2
  66. package/dist/components/ApplicationForm/renderQuestionsInterested.js +1 -1
  67. package/dist/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
  68. package/dist/components/ApplicationForm/renderSelects.js +1 -1
  69. package/dist/components/ApplicationForm/renderSubmitButton.d.ts +1 -1
  70. package/dist/components/ApplicationForm/renderSubmitButton.js.map +1 -1
  71. package/dist/components/ApplicationForm/useFormHandlers.d.ts +1 -5
  72. package/dist/components/ApplicationForm/useFormHandlers.js +1 -6
  73. package/dist/components/ApplicationForm/useFormHandlers.js.map +1 -1
  74. package/dist/components/Blocks.js +2 -0
  75. package/dist/components/Blocks.js.map +1 -1
  76. package/dist/components/Carousel/Carousel.js +1 -0
  77. package/dist/components/Carousel/Carousel.js.map +1 -1
  78. package/dist/components/CarouselCard/CarouselCard.js +1 -1
  79. package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  80. package/dist/components/CarouselCard/CarouselCardContent.d.ts +2 -2
  81. package/dist/components/CarouselCard/constants.d.ts +3 -3
  82. package/dist/components/CarouselCard/constants.js +2 -2
  83. package/dist/components/CarouselCard/constants.js.map +1 -1
  84. package/dist/components/CarouselEventCard/CarouselEventCard.d.ts +5 -0
  85. package/dist/components/CarouselEventCard/CarouselEventCard.js +12 -0
  86. package/dist/components/CarouselEventCard/CarouselEventCard.js.map +1 -0
  87. package/dist/components/CarouselEventCard/CarouselEventCardContent.d.ts +9 -0
  88. package/dist/components/CarouselEventCard/CarouselEventCardContent.js +2 -0
  89. package/dist/components/CarouselEventCard/CarouselEventCardContent.js.map +1 -0
  90. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +3 -4
  91. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  92. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +8 -9
  93. package/dist/components/Footer/MediaButton.js +13 -10
  94. package/dist/components/Footer/MediaButton.js.map +1 -1
  95. package/dist/components/Header/Header.js +2 -2
  96. package/dist/components/Header/Header.js.map +1 -1
  97. package/dist/components/Header/HeaderChatBotButton.d.ts +1 -3
  98. package/dist/components/Header/HeaderChatBotButton.js.map +1 -1
  99. package/dist/components/Header/HeaderContent.d.ts +0 -6
  100. package/dist/components/Header/HeaderSecondaryMenu.d.ts +0 -2
  101. package/dist/components/Header/HeaderSecondaryMenu.js +3 -2
  102. package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  103. package/dist/components/Header/useChatBot.d.ts +1 -2
  104. package/dist/components/Header/useChatBot.js.map +1 -1
  105. package/dist/components/ProductBlock/ProductBlockInner.js +1 -1
  106. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  107. package/dist/components/ProductBlock/renderBackwardButton.js +3 -3
  108. package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  109. package/dist/components/ProductGallery/ProductGallery.js +1 -1
  110. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  111. package/dist/components/TariffsTable/TariffsTableContent.d.ts +1 -0
  112. package/dist/components/VerticalLayout/VerticalLayout.js +2 -1
  113. package/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
  114. package/dist/components/VerticalLayout/VerticalLayoutContent.d.ts +2 -2
  115. package/dist/components/Video/Video.js +6 -1
  116. package/dist/components/Video/Video.js.map +1 -1
  117. package/dist/components/Video/VideoContent.d.ts +19 -4
  118. package/dist/hooks/useLink.d.ts +1 -3
  119. package/dist/hooks/useLink.js +1 -1
  120. package/dist/hooks/useLink.js.map +1 -1
  121. package/dist/model/AlignType.d.ts +10 -0
  122. package/dist/model/PreventableEvent.d.ts +3 -0
  123. package/{mobile/dist/model/CarouselCardVersion.js → dist/model/PreventableEvent.js} +1 -1
  124. package/dist/model/PreventableEvent.js.map +1 -0
  125. package/dist/services/sitemap/isTopItemActive.d.ts +3 -2
  126. package/dist/services/sitemap/isTopItemActive.js +1 -3
  127. package/dist/services/sitemap/isTopItemActive.js.map +1 -1
  128. package/dist/wlc.json +3 -1
  129. package/lib/ProjectSettings.d.ts +2 -0
  130. package/lib/ProjectSettings.js +3 -0
  131. package/lib/ProjectSettings.js.map +1 -1
  132. package/lib/api/CorporateLeadAPI.d.ts +1 -1
  133. package/lib/api/CorporateLeadAPI.js +1 -1
  134. package/lib/api/CorporateLeadAPI.js.map +1 -1
  135. package/lib/common.css +1 -1
  136. package/lib/components/ApplicationForm/ApplicationForm.fixture.d.ts +0 -2
  137. package/lib/components/ApplicationForm/ApplicationForm.js +6 -3
  138. package/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
  139. package/lib/components/ApplicationForm/ApplicationFormAcquiring.js +16 -5
  140. package/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  141. package/lib/components/ApplicationForm/ApplicationFormBusinessCard.js +16 -7
  142. package/lib/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  143. package/lib/components/ApplicationForm/ApplicationFormContent.d.ts +15 -4
  144. package/lib/components/ApplicationForm/ApplicationFormCredit.d.ts +0 -6
  145. package/lib/components/ApplicationForm/ApplicationFormCredit.js +18 -10
  146. package/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  147. package/lib/components/ApplicationForm/ApplicationFormDeposit.js +11 -4
  148. package/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  149. package/lib/components/ApplicationForm/ApplicationFormWed.js +14 -4
  150. package/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  151. package/lib/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -2
  152. package/lib/components/ApplicationForm/CreditParameters.d.ts +6 -0
  153. package/lib/components/ApplicationForm/CreditParameters.js +7 -0
  154. package/lib/components/ApplicationForm/CreditParameters.js.map +1 -0
  155. package/lib/components/ApplicationForm/acquiringTypes.js +0 -5
  156. package/lib/components/ApplicationForm/acquiringTypes.js.map +1 -1
  157. package/lib/components/ApplicationForm/renderBankOffices.js +1 -1
  158. package/lib/components/ApplicationForm/renderCreditParameters.d.ts +1 -1
  159. package/lib/components/ApplicationForm/renderCreditParameters.js +3 -5
  160. package/lib/components/ApplicationForm/renderCreditParameters.js.map +1 -1
  161. package/lib/components/ApplicationForm/renderInputRange.d.ts +11 -0
  162. package/lib/components/ApplicationForm/renderInputRange.js +5 -0
  163. package/lib/components/ApplicationForm/renderInputRange.js.map +1 -0
  164. package/lib/components/ApplicationForm/renderQuestionsInterested.d.ts +2 -2
  165. package/lib/components/ApplicationForm/renderQuestionsInterested.js +1 -1
  166. package/lib/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
  167. package/lib/components/ApplicationForm/renderSelects.js +1 -1
  168. package/lib/components/ApplicationForm/renderSubmitButton.d.ts +1 -1
  169. package/lib/components/ApplicationForm/renderSubmitButton.js.map +1 -1
  170. package/lib/components/ApplicationForm/useFormHandlers.d.ts +1 -5
  171. package/lib/components/ApplicationForm/useFormHandlers.js +1 -6
  172. package/lib/components/ApplicationForm/useFormHandlers.js.map +1 -1
  173. package/lib/components/Blocks.js +2 -0
  174. package/lib/components/Blocks.js.map +1 -1
  175. package/lib/components/Carousel/Carousel.fixture.d.ts +1 -0
  176. package/lib/components/Carousel/Carousel.js +1 -0
  177. package/lib/components/Carousel/Carousel.js.map +1 -1
  178. package/lib/components/CarouselCard/CarouselCard.js +1 -1
  179. package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  180. package/lib/components/CarouselCard/CarouselCardContent.d.ts +2 -2
  181. package/lib/components/CarouselCard/constants.d.ts +3 -3
  182. package/lib/components/CarouselCard/constants.js +2 -2
  183. package/lib/components/CarouselCard/constants.js.map +1 -1
  184. package/lib/components/CarouselEventCard/CarouselEventCard.d.ts +5 -0
  185. package/lib/components/CarouselEventCard/CarouselEventCard.fixture.d.ts +7 -0
  186. package/lib/components/CarouselEventCard/CarouselEventCard.js +10 -0
  187. package/lib/components/CarouselEventCard/CarouselEventCard.js.map +1 -0
  188. package/lib/components/CarouselEventCard/CarouselEventCardContent.d.ts +9 -0
  189. package/lib/components/CarouselEventCard/CarouselEventCardContent.js +2 -0
  190. package/lib/components/CarouselEventCard/CarouselEventCardContent.js.map +1 -0
  191. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +3 -4
  192. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  193. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +8 -9
  194. package/lib/components/Footer/MediaButton.js +13 -10
  195. package/lib/components/Footer/MediaButton.js.map +1 -1
  196. package/lib/components/Header/Header.js +2 -2
  197. package/lib/components/Header/Header.js.map +1 -1
  198. package/lib/components/Header/HeaderChatBotButton.d.ts +1 -3
  199. package/lib/components/Header/HeaderChatBotButton.js.map +1 -1
  200. package/lib/components/Header/HeaderContent.d.ts +0 -6
  201. package/lib/components/Header/HeaderSecondaryMenu.d.ts +0 -2
  202. package/lib/components/Header/HeaderSecondaryMenu.js +3 -2
  203. package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  204. package/lib/components/Header/useChatBot.d.ts +1 -2
  205. package/lib/components/Header/useChatBot.js.map +1 -1
  206. package/lib/components/ProductBlock/ProductBlockInner.js +1 -1
  207. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  208. package/lib/components/ProductBlock/renderBackwardButton.js +3 -3
  209. package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  210. package/lib/components/ProductGallery/ProductGallery.js +1 -1
  211. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  212. package/lib/components/TariffsTable/TariffsTableContent.d.ts +1 -0
  213. package/lib/components/VerticalLayout/VerticalLayout.js +2 -1
  214. package/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
  215. package/lib/components/VerticalLayout/VerticalLayoutContent.d.ts +2 -2
  216. package/lib/components/Video/Video.js +6 -1
  217. package/lib/components/Video/Video.js.map +1 -1
  218. package/lib/components/Video/VideoContent.d.ts +19 -4
  219. package/lib/hooks/useLink.d.ts +1 -3
  220. package/lib/hooks/useLink.js +1 -1
  221. package/lib/hooks/useLink.js.map +1 -1
  222. package/lib/model/AlignType.d.ts +10 -0
  223. package/lib/model/PreventableEvent.d.ts +3 -0
  224. package/lib/model/PreventableEvent.js +2 -0
  225. package/lib/model/PreventableEvent.js.map +1 -0
  226. package/lib/services/sitemap/isTopItemActive.d.ts +3 -2
  227. package/lib/services/sitemap/isTopItemActive.js +1 -3
  228. package/lib/services/sitemap/isTopItemActive.js.map +1 -1
  229. package/lib/wlc.json +3 -1
  230. package/mobile/bundle/ProjectSettings.d.ts +2 -0
  231. package/mobile/bundle/api/CorporateLeadAPI.d.ts +1 -1
  232. package/mobile/bundle/bundle.umd.js +18 -14
  233. package/mobile/bundle/bundle.umd.min.js +1 -1
  234. package/mobile/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +15 -4
  235. package/mobile/bundle/components/ApplicationForm/ApplicationFormCredit.d.ts +0 -6
  236. package/mobile/bundle/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -2
  237. package/mobile/bundle/components/ApplicationForm/CreditParameters.d.ts +6 -0
  238. package/mobile/bundle/components/ApplicationForm/renderCreditParameters.d.ts +1 -1
  239. package/mobile/bundle/components/ApplicationForm/renderInputRange.d.ts +11 -0
  240. package/mobile/bundle/components/ApplicationForm/renderQuestionsInterested.d.ts +2 -2
  241. package/mobile/bundle/components/ApplicationForm/renderSubmitButton.d.ts +1 -1
  242. package/mobile/bundle/components/ApplicationForm/useFormHandlers.d.ts +1 -5
  243. package/mobile/bundle/components/CarouselCard/CarouselCardContent.d.ts +2 -2
  244. package/mobile/bundle/components/CarouselCard/constants.d.ts +3 -3
  245. package/mobile/bundle/components/CarouselEventCard/CarouselEventCard.d.ts +5 -0
  246. package/mobile/bundle/components/CarouselEventCard/CarouselEventCardContent.d.ts +9 -0
  247. package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +8 -9
  248. package/mobile/bundle/components/Header/HeaderChatBotButton.d.ts +1 -3
  249. package/mobile/bundle/components/Header/HeaderContent.d.ts +0 -6
  250. package/mobile/bundle/components/Header/HeaderSecondaryMenu.d.ts +0 -2
  251. package/mobile/bundle/components/Header/useChatBot.d.ts +1 -2
  252. package/mobile/bundle/components/TariffsTable/TariffsTableContent.d.ts +1 -0
  253. package/mobile/bundle/components/VerticalLayout/VerticalLayoutContent.d.ts +2 -2
  254. package/mobile/bundle/components/Video/VideoContent.d.ts +19 -4
  255. package/mobile/bundle/hooks/useLink.d.ts +1 -3
  256. package/mobile/bundle/model/AlignType.d.ts +10 -0
  257. package/mobile/bundle/model/PreventableEvent.d.ts +3 -0
  258. package/mobile/bundle/services/sitemap/isTopItemActive.d.ts +3 -2
  259. package/mobile/dist/ProjectSettings.d.ts +2 -0
  260. package/mobile/dist/ProjectSettings.js +3 -0
  261. package/mobile/dist/ProjectSettings.js.map +1 -1
  262. package/mobile/dist/api/CorporateLeadAPI.d.ts +1 -1
  263. package/mobile/dist/api/CorporateLeadAPI.js +1 -1
  264. package/mobile/dist/api/CorporateLeadAPI.js.map +1 -1
  265. package/mobile/dist/components/ApplicationForm/ApplicationForm.js +6 -3
  266. package/mobile/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
  267. package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js +16 -5
  268. package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  269. package/mobile/dist/components/ApplicationForm/ApplicationFormBusinessCard.js +16 -7
  270. package/mobile/dist/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  271. package/mobile/dist/components/ApplicationForm/ApplicationFormContent.d.ts +15 -4
  272. package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.d.ts +0 -6
  273. package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js +21 -13
  274. package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  275. package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js +11 -4
  276. package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  277. package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js +14 -4
  278. package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  279. package/mobile/dist/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -2
  280. package/mobile/dist/components/ApplicationForm/CreditParameters.d.ts +6 -0
  281. package/mobile/dist/components/ApplicationForm/CreditParameters.js +9 -0
  282. package/mobile/dist/components/ApplicationForm/CreditParameters.js.map +1 -0
  283. package/mobile/dist/components/ApplicationForm/acquiringTypes.js +0 -5
  284. package/mobile/dist/components/ApplicationForm/acquiringTypes.js.map +1 -1
  285. package/mobile/dist/components/ApplicationForm/renderBankOffices.js +1 -1
  286. package/mobile/dist/components/ApplicationForm/renderCreditParameters.d.ts +1 -1
  287. package/mobile/dist/components/ApplicationForm/renderCreditParameters.js +10 -12
  288. package/mobile/dist/components/ApplicationForm/renderCreditParameters.js.map +1 -1
  289. package/mobile/dist/components/ApplicationForm/renderInputRange.d.ts +11 -0
  290. package/mobile/dist/components/ApplicationForm/renderInputRange.js +8 -0
  291. package/mobile/dist/components/ApplicationForm/renderInputRange.js.map +1 -0
  292. package/mobile/dist/components/ApplicationForm/renderQuestionsInterested.d.ts +2 -2
  293. package/mobile/dist/components/ApplicationForm/renderQuestionsInterested.js +1 -1
  294. package/mobile/dist/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
  295. package/mobile/dist/components/ApplicationForm/renderSelects.js +1 -1
  296. package/mobile/dist/components/ApplicationForm/renderSubmitButton.d.ts +1 -1
  297. package/mobile/dist/components/ApplicationForm/renderSubmitButton.js.map +1 -1
  298. package/mobile/dist/components/ApplicationForm/useFormHandlers.d.ts +1 -5
  299. package/mobile/dist/components/ApplicationForm/useFormHandlers.js +1 -6
  300. package/mobile/dist/components/ApplicationForm/useFormHandlers.js.map +1 -1
  301. package/mobile/dist/components/Carousel/Carousel.js +1 -0
  302. package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
  303. package/mobile/dist/components/CarouselCard/CarouselCard.js +1 -1
  304. package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  305. package/mobile/dist/components/CarouselCard/CarouselCardContent.d.ts +2 -2
  306. package/mobile/dist/components/CarouselCard/constants.d.ts +3 -3
  307. package/mobile/dist/components/CarouselCard/constants.js +2 -2
  308. package/mobile/dist/components/CarouselCard/constants.js.map +1 -1
  309. package/mobile/dist/components/CarouselEventCard/CarouselEventCard.d.ts +5 -0
  310. package/mobile/dist/components/CarouselEventCard/CarouselEventCard.js +12 -0
  311. package/mobile/dist/components/CarouselEventCard/CarouselEventCard.js.map +1 -0
  312. package/mobile/dist/components/CarouselEventCard/CarouselEventCardContent.d.ts +9 -0
  313. package/mobile/dist/components/CarouselEventCard/CarouselEventCardContent.js +2 -0
  314. package/mobile/dist/components/CarouselEventCard/CarouselEventCardContent.js.map +1 -0
  315. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +3 -4
  316. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  317. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +8 -9
  318. package/mobile/dist/components/Footer/MediaButton.js +13 -10
  319. package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
  320. package/mobile/dist/components/Header/HeaderChatBotButton.d.ts +1 -3
  321. package/mobile/dist/components/Header/HeaderChatBotButton.js.map +1 -1
  322. package/mobile/dist/components/Header/HeaderContent.d.ts +0 -6
  323. package/mobile/dist/components/Header/HeaderSecondaryMenu.d.ts +0 -2
  324. package/mobile/dist/components/Header/HeaderSecondaryMenu.js +3 -2
  325. package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  326. package/mobile/dist/components/Header/useChatBot.d.ts +1 -2
  327. package/mobile/dist/components/Header/useChatBot.js.map +1 -1
  328. package/mobile/dist/components/ProductBlock/renderBackwardButton.js +3 -3
  329. package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  330. package/mobile/dist/components/ProductGallery/ProductGallery.js +1 -1
  331. package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  332. package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +1 -0
  333. package/mobile/dist/components/VerticalLayout/VerticalLayout.js +2 -1
  334. package/mobile/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
  335. package/mobile/dist/components/VerticalLayout/VerticalLayoutContent.d.ts +2 -2
  336. package/mobile/dist/components/Video/Video.js +6 -1
  337. package/mobile/dist/components/Video/Video.js.map +1 -1
  338. package/mobile/dist/components/Video/VideoContent.d.ts +19 -4
  339. package/mobile/dist/hooks/useLink.d.ts +1 -3
  340. package/mobile/dist/hooks/useLink.js +1 -1
  341. package/mobile/dist/hooks/useLink.js.map +1 -1
  342. package/mobile/dist/model/AlignType.d.ts +10 -0
  343. package/mobile/dist/model/PreventableEvent.d.ts +3 -0
  344. package/{dist/model/CarouselCardVersion.js → mobile/dist/model/PreventableEvent.js} +1 -1
  345. package/mobile/dist/model/PreventableEvent.js.map +1 -0
  346. package/mobile/dist/services/sitemap/isTopItemActive.d.ts +3 -2
  347. package/mobile/dist/services/sitemap/isTopItemActive.js +1 -3
  348. package/mobile/dist/services/sitemap/isTopItemActive.js.map +1 -1
  349. package/mobile/dist/wlc.json +3 -1
  350. package/mobile/lib/ProjectSettings.d.ts +2 -0
  351. package/mobile/lib/ProjectSettings.js +3 -0
  352. package/mobile/lib/ProjectSettings.js.map +1 -1
  353. package/mobile/lib/api/CorporateLeadAPI.d.ts +1 -1
  354. package/mobile/lib/api/CorporateLeadAPI.js +1 -1
  355. package/mobile/lib/api/CorporateLeadAPI.js.map +1 -1
  356. package/mobile/lib/components/ApplicationForm/ApplicationForm.js +6 -3
  357. package/mobile/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
  358. package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js +16 -5
  359. package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  360. package/mobile/lib/components/ApplicationForm/ApplicationFormBusinessCard.js +16 -7
  361. package/mobile/lib/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  362. package/mobile/lib/components/ApplicationForm/ApplicationFormContent.d.ts +15 -4
  363. package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.d.ts +0 -6
  364. package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js +18 -10
  365. package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  366. package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js +11 -4
  367. package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  368. package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js +14 -4
  369. package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  370. package/mobile/lib/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -2
  371. package/mobile/lib/components/ApplicationForm/CreditParameters.d.ts +6 -0
  372. package/mobile/lib/components/ApplicationForm/CreditParameters.js +7 -0
  373. package/mobile/lib/components/ApplicationForm/CreditParameters.js.map +1 -0
  374. package/mobile/lib/components/ApplicationForm/acquiringTypes.js +0 -5
  375. package/mobile/lib/components/ApplicationForm/acquiringTypes.js.map +1 -1
  376. package/mobile/lib/components/ApplicationForm/renderBankOffices.js +1 -1
  377. package/mobile/lib/components/ApplicationForm/renderCreditParameters.d.ts +1 -1
  378. package/mobile/lib/components/ApplicationForm/renderCreditParameters.js +3 -5
  379. package/mobile/lib/components/ApplicationForm/renderCreditParameters.js.map +1 -1
  380. package/mobile/lib/components/ApplicationForm/renderInputRange.d.ts +11 -0
  381. package/mobile/lib/components/ApplicationForm/renderInputRange.js +5 -0
  382. package/mobile/lib/components/ApplicationForm/renderInputRange.js.map +1 -0
  383. package/mobile/lib/components/ApplicationForm/renderQuestionsInterested.d.ts +2 -2
  384. package/mobile/lib/components/ApplicationForm/renderQuestionsInterested.js +1 -1
  385. package/mobile/lib/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
  386. package/mobile/lib/components/ApplicationForm/renderSelects.js +1 -1
  387. package/mobile/lib/components/ApplicationForm/renderSubmitButton.d.ts +1 -1
  388. package/mobile/lib/components/ApplicationForm/renderSubmitButton.js.map +1 -1
  389. package/mobile/lib/components/ApplicationForm/useFormHandlers.d.ts +1 -5
  390. package/mobile/lib/components/ApplicationForm/useFormHandlers.js +1 -6
  391. package/mobile/lib/components/ApplicationForm/useFormHandlers.js.map +1 -1
  392. package/mobile/lib/components/Carousel/Carousel.js +1 -0
  393. package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
  394. package/mobile/lib/components/CarouselCard/CarouselCard.js +1 -1
  395. package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  396. package/mobile/lib/components/CarouselCard/CarouselCardContent.d.ts +2 -2
  397. package/mobile/lib/components/CarouselCard/constants.d.ts +3 -3
  398. package/mobile/lib/components/CarouselCard/constants.js +2 -2
  399. package/mobile/lib/components/CarouselCard/constants.js.map +1 -1
  400. package/mobile/lib/components/CarouselEventCard/CarouselEventCard.d.ts +5 -0
  401. package/mobile/lib/components/CarouselEventCard/CarouselEventCard.js +10 -0
  402. package/mobile/lib/components/CarouselEventCard/CarouselEventCard.js.map +1 -0
  403. package/mobile/lib/components/CarouselEventCard/CarouselEventCardContent.d.ts +9 -0
  404. package/mobile/lib/components/CarouselEventCard/CarouselEventCardContent.js +2 -0
  405. package/mobile/lib/components/CarouselEventCard/CarouselEventCardContent.js.map +1 -0
  406. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +3 -4
  407. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  408. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +8 -9
  409. package/mobile/lib/components/Footer/MediaButton.js +13 -10
  410. package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
  411. package/mobile/lib/components/Header/HeaderChatBotButton.d.ts +1 -3
  412. package/mobile/lib/components/Header/HeaderChatBotButton.js.map +1 -1
  413. package/mobile/lib/components/Header/HeaderContent.d.ts +0 -6
  414. package/mobile/lib/components/Header/HeaderSecondaryMenu.d.ts +0 -2
  415. package/mobile/lib/components/Header/HeaderSecondaryMenu.js +3 -2
  416. package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  417. package/mobile/lib/components/Header/useChatBot.d.ts +1 -2
  418. package/mobile/lib/components/Header/useChatBot.js.map +1 -1
  419. package/mobile/lib/components/ProductBlock/renderBackwardButton.js +3 -3
  420. package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  421. package/mobile/lib/components/ProductGallery/ProductGallery.js +1 -1
  422. package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  423. package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +1 -0
  424. package/mobile/lib/components/VerticalLayout/VerticalLayout.js +2 -1
  425. package/mobile/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
  426. package/mobile/lib/components/VerticalLayout/VerticalLayoutContent.d.ts +2 -2
  427. package/mobile/lib/components/Video/Video.js +6 -1
  428. package/mobile/lib/components/Video/Video.js.map +1 -1
  429. package/mobile/lib/components/Video/VideoContent.d.ts +19 -4
  430. package/mobile/lib/hooks/useLink.d.ts +1 -3
  431. package/mobile/lib/hooks/useLink.js +1 -1
  432. package/mobile/lib/hooks/useLink.js.map +1 -1
  433. package/mobile/lib/model/AlignType.d.ts +10 -0
  434. package/mobile/lib/model/PreventableEvent.d.ts +3 -0
  435. package/mobile/lib/model/PreventableEvent.js +2 -0
  436. package/mobile/lib/model/PreventableEvent.js.map +1 -0
  437. package/mobile/lib/services/sitemap/isTopItemActive.d.ts +3 -2
  438. package/mobile/lib/services/sitemap/isTopItemActive.js +1 -3
  439. package/mobile/lib/services/sitemap/isTopItemActive.js.map +1 -1
  440. package/mobile/lib/wlc.json +3 -1
  441. package/mobile/src/ProjectSettings.ts +4 -0
  442. package/mobile/src/api/CorporateLeadAPI.ts +2 -2
  443. package/mobile/src/components/ApplicationForm/ApplicationForm.tsx +8 -4
  444. package/mobile/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +20 -5
  445. package/mobile/src/components/ApplicationForm/ApplicationFormBusinessCard.tsx +20 -7
  446. package/mobile/src/components/ApplicationForm/ApplicationFormContent.ts +16 -4
  447. package/mobile/src/components/ApplicationForm/ApplicationFormCredit.tsx +23 -12
  448. package/mobile/src/components/ApplicationForm/ApplicationFormDeposit.tsx +15 -4
  449. package/mobile/src/components/ApplicationForm/ApplicationFormWed.tsx +18 -4
  450. package/mobile/src/components/ApplicationForm/ApplicationFormsProps.ts +2 -2
  451. package/mobile/src/components/ApplicationForm/CreditParameters.ts +7 -0
  452. package/mobile/src/components/ApplicationForm/WrapperSelect.tsx +1 -1
  453. package/mobile/src/components/ApplicationForm/acquiringTypes.ts +0 -5
  454. package/mobile/src/components/ApplicationForm/renderBankOffices.tsx +1 -1
  455. package/mobile/src/components/ApplicationForm/renderCreditParameters.tsx +3 -22
  456. package/mobile/src/components/ApplicationForm/renderInputRange.tsx +20 -0
  457. package/mobile/src/components/ApplicationForm/renderQuestionsInterested.tsx +3 -3
  458. package/mobile/src/components/ApplicationForm/renderSelects.tsx +2 -2
  459. package/mobile/src/components/ApplicationForm/renderSubmitButton.tsx +1 -1
  460. package/mobile/src/components/ApplicationForm/useFormHandlers.ts +1 -15
  461. package/mobile/src/components/Carousel/Carousel.tsx +1 -0
  462. package/mobile/src/components/CarouselCard/CarouselCard.tsx +4 -4
  463. package/mobile/src/components/CarouselCard/CarouselCardContent.ts +2 -2
  464. package/mobile/src/components/CarouselCard/constants.ts +5 -5
  465. package/mobile/src/components/CarouselEventCard/CarouselEventCard.example.json +14 -0
  466. package/mobile/src/components/CarouselEventCard/CarouselEventCard.tsx +32 -0
  467. package/mobile/src/components/CarouselEventCard/CarouselEventCard.ui.json +1 -0
  468. package/mobile/src/components/CarouselEventCard/CarouselEventCardContent.ts +12 -0
  469. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.example.json +18 -18
  470. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +1 -4
  471. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.ui.json +1 -4
  472. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +9 -9
  473. package/mobile/src/components/Footer/MediaButton.tsx +19 -14
  474. package/mobile/src/components/Header/HeaderChatBotButton.tsx +1 -4
  475. package/mobile/src/components/Header/HeaderContent.ts +0 -7
  476. package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +8 -5
  477. package/mobile/src/components/Header/useChatBot.ts +2 -3
  478. package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +6 -4
  479. package/mobile/src/components/ProductGallery/ProductGallery.example.json +2 -3
  480. package/mobile/src/components/ProductGallery/ProductGallery.tsx +1 -1
  481. package/mobile/src/components/TariffsTable/TariffsTable.example.json +3 -0
  482. package/mobile/src/components/TariffsTable/TariffsTableContent.ts +1 -0
  483. package/mobile/src/components/VerticalLayout/VerticalLayout.example.json +1 -1
  484. package/mobile/src/components/VerticalLayout/VerticalLayout.tsx +4 -3
  485. package/mobile/src/components/VerticalLayout/VerticalLayoutContent.ts +2 -2
  486. package/mobile/src/components/Video/Video.example.json +5 -0
  487. package/mobile/src/components/Video/Video.tsx +23 -17
  488. package/mobile/src/components/Video/Video.ui.json +1 -1
  489. package/mobile/src/components/Video/VideoContent.ts +19 -4
  490. package/mobile/src/hooks/useLink.ts +2 -5
  491. package/mobile/src/model/AlignType.ts +11 -0
  492. package/mobile/src/model/PreventableEvent.ts +3 -0
  493. package/mobile/src/services/sitemap/isTopItemActive.ts +2 -7
  494. package/mobile/src/wlc.json +3 -1
  495. package/package.json +1 -1
  496. package/src/ProjectSettings.ts +4 -0
  497. package/src/api/CorporateLeadAPI.ts +2 -2
  498. package/src/components/ApplicationForm/ApplicationForm.fixture.tsx +1 -1
  499. package/src/components/ApplicationForm/ApplicationForm.tsx +8 -4
  500. package/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +20 -5
  501. package/src/components/ApplicationForm/ApplicationFormBusinessCard.tsx +20 -7
  502. package/src/components/ApplicationForm/ApplicationFormContent.ts +16 -4
  503. package/src/components/ApplicationForm/ApplicationFormCredit.tsx +23 -12
  504. package/src/components/ApplicationForm/ApplicationFormDeposit.tsx +15 -4
  505. package/src/components/ApplicationForm/ApplicationFormWed.tsx +18 -4
  506. package/src/components/ApplicationForm/ApplicationFormsProps.ts +2 -2
  507. package/src/components/ApplicationForm/CreditParameters.ts +7 -0
  508. package/src/components/ApplicationForm/WrapperSelect.tsx +1 -1
  509. package/src/components/ApplicationForm/acquiringTypes.ts +0 -5
  510. package/src/components/ApplicationForm/renderBankOffices.tsx +1 -1
  511. package/src/components/ApplicationForm/renderCreditParameters.tsx +3 -22
  512. package/src/components/ApplicationForm/renderInputRange.tsx +20 -0
  513. package/src/components/ApplicationForm/renderQuestionsInterested.tsx +3 -3
  514. package/src/components/ApplicationForm/renderSelects.tsx +2 -2
  515. package/src/components/ApplicationForm/renderSubmitButton.tsx +1 -1
  516. package/src/components/ApplicationForm/useFormHandlers.ts +1 -15
  517. package/src/components/Blocks.ts +2 -0
  518. package/src/components/Carousel/Carousel.fixture.tsx +19 -0
  519. package/src/components/Carousel/Carousel.tsx +1 -0
  520. package/src/components/CarouselCard/CarouselCard.fixture.tsx +1 -1
  521. package/src/components/CarouselCard/CarouselCard.tsx +4 -4
  522. package/src/components/CarouselCard/CarouselCardContent.ts +2 -2
  523. package/src/components/CarouselCard/constants.ts +5 -5
  524. package/src/components/CarouselEventCard/CarouselEventCard.example.json +14 -0
  525. package/src/components/CarouselEventCard/CarouselEventCard.fixture.tsx +21 -0
  526. package/src/components/CarouselEventCard/CarouselEventCard.tsx +32 -0
  527. package/src/components/CarouselEventCard/CarouselEventCard.ui.json +1 -0
  528. package/src/components/CarouselEventCard/CarouselEventCardContent.ts +12 -0
  529. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.example.json +18 -18
  530. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.tsx +8 -3
  531. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +1 -4
  532. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.ui.json +1 -4
  533. package/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +9 -9
  534. package/src/components/Footer/MediaButton.tsx +19 -14
  535. package/src/components/Header/Header.fixture.tsx +3 -3
  536. package/src/components/Header/Header.tsx +0 -2
  537. package/src/components/Header/HeaderChatBotButton.tsx +1 -4
  538. package/src/components/Header/HeaderContent.ts +0 -7
  539. package/src/components/Header/HeaderSecondaryMenu.tsx +8 -5
  540. package/src/components/Header/useChatBot.ts +2 -3
  541. package/src/components/ProductBlock/ProductBlockInner.tsx +1 -1
  542. package/src/components/ProductBlock/renderBackwardButton.tsx +6 -4
  543. package/src/components/ProductGallery/ProductGallery.example.json +2 -3
  544. package/src/components/ProductGallery/ProductGallery.tsx +1 -1
  545. package/src/components/TariffsTable/TariffsTable.example.json +3 -0
  546. package/src/components/TariffsTable/TariffsTableContent.ts +1 -0
  547. package/src/components/VerticalLayout/VerticalLayout.example.json +1 -1
  548. package/src/components/VerticalLayout/VerticalLayout.tsx +4 -3
  549. package/src/components/VerticalLayout/VerticalLayoutContent.ts +2 -2
  550. package/src/components/Video/Video.example.json +5 -0
  551. package/src/components/Video/Video.fixture.tsx +1 -1
  552. package/src/components/Video/Video.tsx +23 -17
  553. package/src/components/Video/Video.ui.json +1 -1
  554. package/src/components/Video/VideoContent.ts +19 -4
  555. package/src/hooks/useLink.ts +2 -5
  556. package/src/model/AlignType.ts +11 -0
  557. package/src/model/PreventableEvent.ts +3 -0
  558. package/src/services/sitemap/isTopItemActive.ts +2 -7
  559. package/src/wlc.json +3 -1
  560. package/bundle/model/CarouselCardVersion.d.ts +0 -1
  561. package/dist/model/CarouselCardVersion.d.ts +0 -1
  562. package/dist/model/CarouselCardVersion.js.map +0 -1
  563. package/lib/model/CarouselCardVersion.d.ts +0 -1
  564. package/lib/model/CarouselCardVersion.js +0 -2
  565. package/lib/model/CarouselCardVersion.js.map +0 -1
  566. package/mobile/bundle/model/CarouselCardVersion.d.ts +0 -1
  567. package/mobile/dist/model/CarouselCardVersion.d.ts +0 -1
  568. package/mobile/dist/model/CarouselCardVersion.js.map +0 -1
  569. package/mobile/lib/model/CarouselCardVersion.d.ts +0 -1
  570. package/mobile/lib/model/CarouselCardVersion.js +0 -2
  571. package/mobile/lib/model/CarouselCardVersion.js.map +0 -1
  572. package/mobile/src/model/CarouselCardVersion.ts +0 -1
  573. package/src/model/CarouselCardVersion.ts +0 -1
@@ -1,5 +1,6 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import { useState } from '@redneckz/uni-jsx/lib/hooks';
3
+ import type { PreventableEvent } from '../../model/PreventableEvent';
3
4
  import { Heading } from '../../ui-kit/Heading/Heading';
4
5
  import { Input } from '../../ui-kit/Input/Input';
5
6
  import type { ApplicationFormsProps } from './ApplicationFormsProps';
@@ -46,13 +47,26 @@ export const ApplicationFormWed = JSX<ApplicationFormsProps>((props) => {
46
47
  text,
47
48
  } = formState;
48
49
 
49
- const { handleChange, onSubmit } = useFormHandlers<WedFormState>({
50
- formState,
51
- handleSubmit,
50
+ const { handleChange } = useFormHandlers<WedFormState>({
52
51
  setFormState,
53
- typeForm: 'kved',
54
52
  });
55
53
 
54
+ const onSubmit = async (e: PreventableEvent) => {
55
+ e.preventDefault();
56
+
57
+ const PartnerComments = `Валютный контроль=${currencyControl}/Документарные операции=${documentaryOperations}/Конверсионные операции=${conversionOperations}/Доп инф=${text}`;
58
+
59
+ handleSubmit &&
60
+ (await handleSubmit({
61
+ typeForm: 'kved',
62
+ fullName,
63
+ name,
64
+ phone,
65
+ mail,
66
+ PartnerComments,
67
+ }));
68
+ };
69
+
56
70
  return (
57
71
  <form onSubmit={onSubmit} className="container">
58
72
  <Heading headingType="h6" title="Данные организации" className="text-center mb-4" />
@@ -1,8 +1,8 @@
1
1
  import type { LinkProps } from '../../model/LinkProps';
2
- import type { ButtonProps } from '../../ui-kit/Button/ButtonProps';
2
+ import type { ButtonProps } from './ApplicationFormContent';
3
3
 
4
4
  export interface ApplicationFormsProps {
5
5
  button?: ButtonProps;
6
6
  link?: LinkProps;
7
- handleSubmit: (data: any) => void;
7
+ handleSubmit: (data: Record<string, string>) => Promise<string>;
8
8
  }
@@ -0,0 +1,7 @@
1
+ export const MIN_CREDIT_AMOUNT = 50000;
2
+ export const MAX_CREDIT_AMOUNT = 3000000;
3
+ export const ITEMS_CREDIT_AMOUNT = ['От 50 000 ₽', 'До 3 000 000 ₽'];
4
+
5
+ export const MIN_CREDIT_TERM = 1;
6
+ export const MAX_CREDIT_TERM = 60;
7
+ export const ITEMS_CREDIT_TERM = ['От 1 года', 'До 5 лет'];
@@ -1,6 +1,6 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import { OptionProps, Select } from '../../ui-kit/Select/Select';
3
- import { Currency } from '../ExchangeRateTile/CurrencyProps';
3
+ import type { Currency } from '../ExchangeRateTile/CurrencyProps';
4
4
 
5
5
  interface WrapperSelectProps {
6
6
  data: Record<string, any>[];
@@ -2,23 +2,18 @@ import { Select } from './models';
2
2
 
3
3
  export const ACQUIRING_TYPES: Select[] = [
4
4
  {
5
- code: '1',
6
5
  name: 'Торговый эквайринг',
7
6
  },
8
7
  {
9
- code: '2',
10
8
  name: 'Мобильный эквайринг',
11
9
  },
12
10
  {
13
- code: '3',
14
11
  name: 'Интернет-эквайринг',
15
12
  },
16
13
  {
17
- code: '4',
18
14
  name: 'QR-эквайринг (СБП)',
19
15
  },
20
16
  {
21
- code: '5',
22
17
  name: 'Все виды эквайринга',
23
18
  },
24
19
  ];
@@ -22,7 +22,7 @@ export const renderBankOffices = ({
22
22
  <div className="w-1/2">
23
23
  <WrapperSelect
24
24
  data={regions}
25
- fieldValue="code"
25
+ fieldValue="name"
26
26
  fieldLabel="name"
27
27
  selected={region}
28
28
  setSelected={(value) => handleChange({ region: value })}
@@ -1,15 +1,14 @@
1
- import { InputRange } from '../../ui-kit/InputRange/InputRange';
2
- import { Text } from '../../ui-kit/Text/Text';
1
+ import type { CreditFormState } from './ApplicationFormCredit';
3
2
  import {
4
- CreditFormState,
5
3
  ITEMS_CREDIT_AMOUNT,
6
4
  ITEMS_CREDIT_TERM,
7
5
  MAX_CREDIT_AMOUNT,
8
6
  MAX_CREDIT_TERM,
9
7
  MIN_CREDIT_AMOUNT,
10
8
  MIN_CREDIT_TERM,
11
- } from './ApplicationFormCredit';
9
+ } from './CreditParameters';
12
10
  import type { HandleFormStateChange } from './models';
11
+ import { renderInputRange } from './renderInputRange';
13
12
 
14
13
  interface RenderCreditParametersProps {
15
14
  amount: number;
@@ -41,21 +40,3 @@ export const renderCreditParameters = ({
41
40
  })}
42
41
  </div>
43
42
  );
44
-
45
- interface RenderInputRangeProps {
46
- label: string;
47
- value: number;
48
- onChange: (value: number) => void;
49
- min: number;
50
- max: number;
51
- items: string[];
52
- }
53
-
54
- const renderInputRange = (props: RenderInputRangeProps) => (
55
- <div className="w-1/2">
56
- <label>
57
- <Text size="text-m-light">{props.label}</Text>
58
- </label>
59
- <InputRange {...props} />
60
- </div>
61
- );
@@ -0,0 +1,20 @@
1
+ import { InputRange } from '../../ui-kit/InputRange/InputRange';
2
+ import { Text } from '../../ui-kit/Text/Text';
3
+
4
+ interface RenderInputRangeProps {
5
+ label: string;
6
+ value: number;
7
+ onChange: (value: number) => void;
8
+ min: number;
9
+ max: number;
10
+ items: string[];
11
+ }
12
+
13
+ export const renderInputRange = (props: RenderInputRangeProps) => (
14
+ <div className="w-1/2">
15
+ <label>
16
+ <Text size="text-m-light">{props.label}</Text>
17
+ </label>
18
+ <InputRange {...props} />
19
+ </div>
20
+ );
@@ -1,6 +1,6 @@
1
1
  import { Checkbox } from '../../ui-kit/Checkbox/Checkbox';
2
- import { WedFormState } from './ApplicationFormWed';
3
- import { HandleFormStateChange } from './models';
2
+ import type { WedFormState } from './ApplicationFormWed';
3
+ import type { HandleFormStateChange } from './models';
4
4
 
5
5
  interface RenderQuestionsInterestedProps {
6
6
  currencyControl: boolean;
@@ -37,7 +37,7 @@ export const renderQuestionsInterested = ({
37
37
  </div>
38
38
  <textarea
39
39
  placeholder="Укажите интересующий Вас вопрос, место ведения бизнеса и удобное время для телефонного звонка"
40
- className="block w-full resize-y min-h-24 p-4 outline-none border rounded-md border-main-stroke hover:border-primary-hover active:border-primary-text focus:border-primary-text"
40
+ className="block w-full resize-y min-h-24 p-4 outline-none border rounded-md border-main-stroke hover:border-primary-hover active:focus:border-primary-text"
41
41
  value={text}
42
42
  onChange={(e) => handleChange({ text: e.target.value })}
43
43
  />
@@ -15,7 +15,7 @@ export const renderSelects = ({ acquiringType, regions, region, handleChange }:
15
15
  <div className="w-1/2">
16
16
  <WrapperSelect
17
17
  data={ACQUIRING_TYPES}
18
- fieldValue="code"
18
+ fieldValue="name"
19
19
  fieldLabel="name"
20
20
  selected={acquiringType}
21
21
  setSelected={(value) => handleChange({ acquiringType: value })}
@@ -26,7 +26,7 @@ export const renderSelects = ({ acquiringType, regions, region, handleChange }:
26
26
  <div className="w-1/2">
27
27
  <WrapperSelect
28
28
  data={regions}
29
- fieldValue="code"
29
+ fieldValue="name"
30
30
  fieldLabel="name"
31
31
  selected={region}
32
32
  setSelected={(value) => handleChange({ region: value })}
@@ -1,5 +1,5 @@
1
- import type { ButtonProps } from '../../ui-kit/Button/ButtonProps';
2
1
  import { getRegularButtonClasses } from '../../ui-kit/Button/getRegularButtonClasses';
2
+ import type { ButtonProps } from './ApplicationFormContent';
3
3
 
4
4
  export const renderSubmitButton = (button?: ButtonProps, className?: string) => {
5
5
  const buttonStyle = getRegularButtonClasses({
@@ -3,30 +3,16 @@ import { Dispatch, SetStateAction } from 'react';
3
3
  import type { HandleFormStateChange } from './models';
4
4
 
5
5
  interface UseFormHandlersProps<T> {
6
- formState: Partial<T>;
7
- handleSubmit: (data: Partial<T>) => void;
8
6
  setFormState: Dispatch<SetStateAction<T>>;
9
- typeForm: string;
10
7
  }
11
8
 
12
- export const useFormHandlers = <T>({
13
- formState,
14
- handleSubmit,
15
- setFormState,
16
- typeForm,
17
- }: UseFormHandlersProps<T>) => {
9
+ export const useFormHandlers = <T>({ setFormState }: UseFormHandlersProps<T>) => {
18
10
  const handleChange: HandleFormStateChange<T> = useCallback(
19
11
  (state) => setFormState((oldState) => ({ ...oldState, ...state })),
20
12
  [],
21
13
  );
22
14
 
23
- const onSubmit = useCallback(async (e: React.FormEvent<HTMLFormElement>) => {
24
- e.preventDefault();
25
- handleSubmit && (await handleSubmit({ ...formState, typeForm }));
26
- }, []);
27
-
28
15
  return {
29
16
  handleChange,
30
- onSubmit,
31
17
  };
32
18
  };
@@ -13,6 +13,7 @@ import { Carousel } from './Carousel/Carousel';
13
13
  import { CarouselBankHistoryCard } from './CarouselBankHistoryCard/CarouselBankHistoryCard';
14
14
  import { CarouselCard } from './CarouselCard/CarouselCard';
15
15
  import { CarouselCatalogCard } from './CarouselCatalogCard/CarouselCatalogCard';
16
+ import { CarouselEventCard } from './CarouselEventCard/CarouselEventCard';
16
17
  import { CarouselInvestmentCard } from './CarouselInvestmentCard/CarouselInvestmentCard';
17
18
  import { CarouselLinks } from './CarouselLinks/CarouselLinks';
18
19
  import { CarouselProductCard } from './CarouselProductCard/CarouselProductCard';
@@ -72,6 +73,7 @@ export const Blocks: BlocksRegistry = {
72
73
  CarouselBankHistoryCard,
73
74
  CarouselCard,
74
75
  CarouselCatalogCard,
76
+ CarouselEventCard,
75
77
  CarouselInvestmentCard,
76
78
  CarouselLinks,
77
79
  CarouselProductCard,
@@ -4,6 +4,7 @@ import { Blocks } from '../Blocks';
4
4
  import { BANK_HISTORY_CARD } from '../CarouselBankHistoryCard/CarouselBankHistoryCard.fixture';
5
5
  import { CARD, CARD_MINI, CARD_NEW } from '../CarouselCard/CarouselCard.fixture';
6
6
  import { CATALOG_CARD } from '../CarouselCatalogCard/CarouselCatalogCard.fixture';
7
+ import { CAROUSEL_EVENT_CARD } from '../CarouselEventCard/CarouselEventCard.fixture';
7
8
  import { INVESTMENT_CARD_WITH_SINGLE_COLUMN } from '../CarouselInvestmentCard/CarouselInvestmentCard.fixture';
8
9
  import { PRODUCT_CARD } from '../CarouselProductCard/CarouselProductCard.fixture';
9
10
  import { BUSINESS_CARD } from '../CarouselProgramsCard/CarouselProgramsCard.fixture';
@@ -176,6 +177,24 @@ export default {
176
177
  />
177
178
  </div>
178
179
  ),
180
+ events: (
181
+ <div className="container grid grid-cols-12">
182
+ <Carousel
183
+ className="col-span-12"
184
+ isBlur={false}
185
+ isCyclic={false}
186
+ block={{
187
+ type: 'Carousel',
188
+ blocks: new Array(6).fill({
189
+ type: 'CarouselEventCard',
190
+ content: CAROUSEL_EVENT_CARD,
191
+ style: ['col-span-4'],
192
+ }),
193
+ }}
194
+ options={options}
195
+ />
196
+ </div>
197
+ ),
179
198
  'bank-history': (
180
199
  <div className="container grid grid-cols-12">
181
200
  <Carousel
@@ -91,6 +91,7 @@ Carousel.childrenTypes = [
91
91
  'CarouselRecommendationCard',
92
92
  'CarouselTariffsCard',
93
93
  'CarouselInvestmentCard',
94
+ 'CarouselEventCard',
94
95
  ];
95
96
 
96
97
  const getPaddingStyle = (isPadding: boolean): string => (isPadding ? 'p-12' : '');
@@ -27,7 +27,7 @@ export const CARD_MINI: CarouselCardContent = {
27
27
  title: 'Хочешь попасть на практику в РСХБ?',
28
28
  description: 'Стажировка в Россельхозбанке — это возможность реализовать смелые идеи и проекты.',
29
29
  button,
30
- carouselVersion: 'mini',
30
+ carouselVersion: 'small',
31
31
  };
32
32
 
33
33
  export default {
@@ -1,17 +1,17 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
- import type { CarouselCardVersion } from '../../model/CarouselCardVersion';
3
- import type { UniBlockProps } from '../../model/JSXBlock';
4
2
  import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection';
5
3
  import { Headline } from '../Headline/Headline';
4
+ import type { UniBlockProps } from '../../model/JSXBlock';
6
5
  import type { CarouselCardContent } from './CarouselCardContent';
6
+ import type { SizeVersion } from '../../model/SizeVersion';
7
7
 
8
8
  export interface CarouselCardProps extends CarouselCardContent, UniBlockProps {}
9
9
 
10
10
  const BLOCK_CLASSES = 'absolute border border-solid border-gray w-full h-full';
11
11
 
12
- const CARD_WIDTH_MAP: Record<CarouselCardVersion, string> = {
12
+ const CARD_WIDTH_MAP: Record<SizeVersion, string> = {
13
13
  normal: 'min-w-[970px]',
14
- mini: 'min-w-[355px]',
14
+ small: 'min-w-[355px]',
15
15
  };
16
16
 
17
17
  export const CarouselCard = JSX<CarouselCardProps>(
@@ -1,4 +1,4 @@
1
- import type { CarouselCardVersion } from '../../model/CarouselCardVersion';
1
+ import type { SizeVersion } from '../../model/SizeVersion';
2
2
  import type { HeadlineCommonProps } from '../../model/HeadlineType';
3
3
  import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
4
4
 
@@ -14,5 +14,5 @@ export interface CarouselCardContent extends HeadlineCommonProps {
14
14
  * }
15
15
  */
16
16
  button?: ButtonWithIconProps;
17
- carouselVersion?: CarouselCardVersion;
17
+ carouselVersion?: SizeVersion;
18
18
  }
@@ -1,11 +1,11 @@
1
- import type { CarouselCardVersion } from '../../model/CarouselCardVersion';
1
+ import type { SizeVersion } from '../../model/SizeVersion';
2
2
 
3
- export const cardStyleMap: Record<CarouselCardVersion, string> = {
3
+ export const cardStyleMap: Record<SizeVersion, string> = {
4
4
  normal: 'min-w-[100%] justify-center items-center m-7 col-span-12',
5
- mini: 'min-w-auto justify-center items-center m-9 col-span-4',
5
+ small: 'min-w-auto justify-center items-center m-9 col-span-4',
6
6
  };
7
7
 
8
- export const cardWidthMap: Record<CarouselCardVersion, string> = {
8
+ export const cardWidthMap: Record<SizeVersion, string> = {
9
9
  normal: 'w-[1007px]',
10
- mini: 'w-[350px]',
10
+ small: 'w-[350px]',
11
11
  };
@@ -0,0 +1,14 @@
1
+ {
2
+ "icon": {
3
+ "icon": "SignDocsIcon",
4
+ "format": "webp",
5
+ "size": {
6
+ "width": 365,
7
+ "height": 195
8
+ }
9
+ },
10
+ "title": "Заголовок",
11
+ "description": "Описание",
12
+ "target": null,
13
+ "href": null
14
+ }
@@ -0,0 +1,21 @@
1
+ import { CarouselEventCard } from './CarouselEventCard';
2
+ import type { Picture } from '../../model/Picture';
3
+ import type { CarouselEventCardContent } from './CarouselEventCardContent';
4
+
5
+ const image: Picture = {
6
+ src: 'event.png',
7
+ format: 'webp',
8
+ title: 'business',
9
+ };
10
+
11
+ export const CAROUSEL_EVENT_CARD: CarouselEventCardContent = {
12
+ title: 'ПЕРСОНАЛ В АПК',
13
+ description: '22-23 ноября 2022',
14
+ icon: image,
15
+ };
16
+
17
+ const CAROUSEL_EVENT = <CarouselEventCard {...CAROUSEL_EVENT_CARD} />;
18
+
19
+ export default {
20
+ default: <div className="container grid grid-cols-12">{CAROUSEL_EVENT}</div>,
21
+ };
@@ -0,0 +1,32 @@
1
+ import { JSX } from '@redneckz/uni-jsx';
2
+ import { BlockWrapper } from '../../ui-kit/BlockWrapper';
3
+ import { Heading } from '../../ui-kit/Heading/Heading';
4
+ import { Img } from '../../ui-kit/Img/Img';
5
+ import { Text } from '../../ui-kit/Text/Text';
6
+ import { getIconWithVersion } from '../../utils/getIconWithVersion';
7
+ import { style } from '../../utils/style';
8
+ import type { UniBlockProps } from '../../model/JSXBlock';
9
+ import type { CarouselEventCardContent } from './CarouselEventCardContent';
10
+
11
+ export interface CarouselEventCardProps extends CarouselEventCardContent, UniBlockProps {}
12
+
13
+ export const CarouselEventCard = JSX<CarouselEventCardProps>(
14
+ ({ className = '', icon, title, description, href, target, ...rest }) => (
15
+ <BlockWrapper className={style('flex flex-col w-[365px]', className)} {...rest}>
16
+ <a href={href} target={target} role="link">
17
+ {icon?.icon ? <Img image={getIconWithVersion(icon)} asSVG /> : null}
18
+ {icon?.src ? <Img image={icon} /> : null}
19
+ {title ? (
20
+ <Heading headingType="h6" as="h4" className="text-left mb-2" title={title} />
21
+ ) : null}
22
+ {description ? (
23
+ <div className="mb-4">
24
+ <Text font="font-light" size="text-s" color="text-secondary-text">
25
+ {description}
26
+ </Text>
27
+ </div>
28
+ ) : null}
29
+ </a>
30
+ </BlockWrapper>
31
+ ),
32
+ );
@@ -0,0 +1,12 @@
1
+ import type { DescriptionProps, TitleProps } from '../../model/HeadlineType';
2
+ import type { LinkCommonProps } from '../../model/LinkProps';
3
+ import type { Picture } from '../../model/Picture';
4
+
5
+ /**
6
+ * @title Карточка мероприятия в карусели
7
+ */
8
+ export type CarouselEventCardContent = TitleProps &
9
+ DescriptionProps &
10
+ LinkCommonProps & {
11
+ icon?: Picture;
12
+ };
@@ -1,22 +1,22 @@
1
1
  {
2
2
  "content": {
3
- "image": {
4
- "format": "webp",
5
- "size": {
6
- "width": 180,
7
- "height": 180
8
- }
9
- },
10
- "title": "Заголовок 1",
11
- "description": "Описание 1",
12
- "socialMedia": [
13
- {
14
- "href": "https://t.me",
15
- "target": "_blank",
16
- "version": "gray",
17
- "rounded": false
18
- }
19
- ],
20
- "version": "primary"
3
+ "image": {
4
+ "format": "webp",
5
+ "size": {
6
+ "width": 180,
7
+ "height": 180
8
+ }
9
+ },
10
+ "title": "Заголовок 1",
11
+ "description": "Описание 1",
12
+ "socialMedia": [
13
+ {
14
+ "href": "https://t.me",
15
+ "target": "_blank",
16
+ "version": "gray",
17
+ "rounded": false
18
+ }
19
+ ],
20
+ "version": "primary"
21
21
  }
22
22
  }
@@ -1,8 +1,10 @@
1
- import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
2
1
  import type { Picture } from '../../model/Picture';
3
2
  import '../../setup-fixture';
4
3
  import { CarouselRecommendationCard } from './CarouselRecommendationCard';
5
- import type { CarouselRecommendationCardContent } from './CarouselRecommendationCardContent';
4
+ import type {
5
+ CarouselRecommendationCardContent,
6
+ RecommendationSocialMedia,
7
+ } from './CarouselRecommendationCardContent';
6
8
 
7
9
  const image: Picture = {
8
10
  src: 'product-basket.png',
@@ -14,7 +16,7 @@ const image: Picture = {
14
16
  title: 'product-basket',
15
17
  };
16
18
 
17
- const socialMedia: ButtonWithIconProps[] = [
19
+ const socialMedia: RecommendationSocialMedia[] = [
18
20
  {
19
21
  href: 'https://t.me',
20
22
  target: '_blank',
@@ -32,6 +34,9 @@ const socialMedia: ButtonWithIconProps[] = [
32
34
  target: '_blank',
33
35
  version: 'gray',
34
36
  rounded: false,
37
+ icon: {
38
+ icon: 'OkIcon',
39
+ },
35
40
  },
36
41
  ];
37
42
 
@@ -1,20 +1,18 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import type { UniBlockProps } from '../../model/JSXBlock';
3
3
  import { BlockWrapper } from '../../ui-kit/BlockWrapper';
4
- import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection';
5
4
  import { Heading } from '../../ui-kit/Heading/Heading';
6
5
  import { Img } from '../../ui-kit/Img/Img';
7
6
  import { List } from '../../ui-kit/List/List';
7
+ import { style } from '../../utils/style';
8
8
  import { BaseTile } from '../BaseTile/BaseTile';
9
9
  import { SocialMedia } from '../Footer/SocialMedia';
10
10
  import type { CarouselRecommendationCardContent } from './CarouselRecommendationCardContent';
11
- import { style } from '../../utils/style';
12
11
 
13
12
  export interface RecommendationCardProps extends CarouselRecommendationCardContent, UniBlockProps {}
14
13
 
15
14
  export const CarouselRecommendationCard = JSX<RecommendationCardProps>(
16
15
  ({
17
- button,
18
16
  className = '',
19
17
  description,
20
18
  image,
@@ -57,7 +55,6 @@ export const CarouselRecommendationCard = JSX<RecommendationCardProps>(
57
55
  />
58
56
  ) : null}
59
57
  {socialMedia.length ? <SocialMedia className="pt-10 pb-0" media={socialMedia} /> : null}
60
- {renderButtonsSection([button], { className: 'pt-2 mt-16' })}
61
58
  </div>
62
59
  </BaseTile>
63
60
  </BlockWrapper>
@@ -2,14 +2,11 @@
2
2
  "content": {
3
3
  "image": {
4
4
  "ui:field": "picture"
5
- },
5
+ },
6
6
  "socialMedia": {
7
7
  "items": {
8
8
  "icon": {
9
9
  "ui:field": "icon"
10
- },
11
- "iconRight": {
12
- "ui:field": "icon"
13
10
  }
14
11
  }
15
12
  }
@@ -1,9 +1,16 @@
1
1
  import type { BlockVersion } from '../../model/BlockVersion';
2
+ import type { ButtonVersion } from '../../model/ButtonVersion';
2
3
  import type { HeadlineCommonProps } from '../../model/HeadlineType';
4
+ import type { LinkCommonProps } from '../../model/LinkProps';
3
5
  import type { Picture } from '../../model/Picture';
4
- import type { ButtonWithIconProps, ButtonProps } from '../../ui-kit/Button/ButtonProps';
5
6
  import type { ListContent } from '../../ui-kit/List/ListContent';
6
7
 
8
+ export type RecommendationSocialMedia = LinkCommonProps & {
9
+ version: ButtonVersion;
10
+ icon?: Picture;
11
+ rounded?: boolean;
12
+ };
13
+
7
14
  /**
8
15
  * @title Карточка рекомендаций
9
16
  */
@@ -11,7 +18,7 @@ export interface CarouselRecommendationCardContent extends HeadlineCommonProps,
11
18
  /**
12
19
  * @title Соц сети
13
20
  */
14
- socialMedia?: ButtonWithIconProps[];
21
+ socialMedia?: RecommendationSocialMedia[];
15
22
  /**
16
23
  * @default {
17
24
  * "format": "webp",
@@ -27,12 +34,5 @@ export interface CarouselRecommendationCardContent extends HeadlineCommonProps,
27
34
  * }
28
35
  */
29
36
  image?: Picture;
30
- /**
31
- * @default {
32
- * "text": "",
33
- * "version": "secondary"
34
- * }
35
- */
36
- button?: ButtonProps;
37
37
  version?: BlockVersion;
38
38
  }