@redneckz/wildless-cms-uni-blocks 0.14.258 → 0.14.259

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 (354) hide show
  1. package/bin/migration-scripts/0.14.259.js +32 -0
  2. package/bundle/blocks.schema.json +1 -1
  3. package/bundle/bundle.umd.js +41 -44
  4. package/bundle/bundle.umd.min.js +1 -1
  5. package/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +4 -16
  6. package/bundle/components/ApplicationForm/ApplicationFormsProps.d.ts +0 -9
  7. package/bundle/components/ApplicationForm/EmbeddableForms.d.ts +0 -1
  8. package/{dist/components/ApplicationForm → bundle/components/ApplicationFormCustom}/Footnote.d.ts +3 -3
  9. package/{dist/components/ApplicationForm → bundle/components/ApplicationFormCustom}/renderAgreementSubmit.d.ts +1 -1
  10. package/bundle/components/{ApplicationForm → ApplicationFormCustom}/renderSubmitButton.d.ts +1 -1
  11. package/bundle/components/ApplicationFormGrantSupport/ApplicationFormGrantSupport.d.ts +6 -0
  12. package/bundle/components/ApplicationFormGrantSupport/ApplicationFormGrantSupportContent.d.ts +14 -0
  13. package/bundle/components/BenefitsBlock/BenefitsBlockContent.d.ts +0 -2
  14. package/bundle/components/Carousel/renderCardHighlight.d.ts +3 -3
  15. package/bundle/components/InvestmentInfo/InvestmentInfoContent.d.ts +2 -4
  16. package/bundle/components/LinkDocs/LinkDocsContent.d.ts +3 -5
  17. package/bundle/data/FooterData.d.ts +2 -4
  18. package/bundle/model/HeadlineType.d.ts +4 -0
  19. package/bundle/model/LinkProps.d.ts +2 -3
  20. package/bundle/ui-kit/BaseFiltration/HotFilterBase.d.ts +2 -4
  21. package/bundle/ui-kit/List/ListItem.d.ts +3 -3
  22. package/bundle/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +3 -3
  23. package/bundle/ui-kit/Select/Option.d.ts +3 -3
  24. package/bundle/ui-kit/SlideCheckbox/SlideCheckbox.d.ts +3 -3
  25. package/dist/components/ApplicationForm/ApplicationFormContent.d.ts +4 -16
  26. package/dist/components/ApplicationForm/ApplicationFormFeedback.js +3 -4
  27. package/dist/components/ApplicationForm/ApplicationFormFeedback.js.map +1 -1
  28. package/dist/components/ApplicationForm/ApplicationFormsProps.d.ts +0 -9
  29. package/dist/components/ApplicationForm/EmbeddableForms.d.ts +0 -1
  30. package/dist/components/ApplicationForm/EmbeddableForms.js +0 -2
  31. package/dist/components/ApplicationForm/EmbeddableForms.js.map +1 -1
  32. package/dist/components/ApplicationFormCustom/ApplicationFormCustom.js +2 -3
  33. package/dist/components/ApplicationFormCustom/ApplicationFormCustom.js.map +1 -1
  34. package/{bundle/components/ApplicationForm → dist/components/ApplicationFormCustom}/Footnote.d.ts +3 -3
  35. package/dist/components/ApplicationFormCustom/Footnote.js.map +1 -0
  36. package/dist/components/ApplicationFormCustom/UltraPremiumField.js +1 -1
  37. package/dist/components/ApplicationFormCustom/UltraPremiumField.js.map +1 -1
  38. package/dist/components/ApplicationFormCustom/getObjectValidator.js +1 -1
  39. package/dist/components/ApplicationFormCustom/getObjectValidator.js.map +1 -1
  40. package/{mobile/dist/components/ApplicationForm → dist/components/ApplicationFormCustom}/renderAgreementSubmit.d.ts +1 -1
  41. package/dist/components/ApplicationFormCustom/renderAgreementSubmit.js.map +1 -0
  42. package/{mobile/dist/components/ApplicationForm → dist/components/ApplicationFormCustom}/renderSubmitButton.d.ts +1 -1
  43. package/dist/components/ApplicationFormCustom/renderSubmitButton.js.map +1 -0
  44. package/dist/components/ApplicationFormCustom/validators.js.map +1 -0
  45. package/dist/components/ApplicationFormGrantSupport/ApplicationFormGrantSupport.d.ts +6 -0
  46. package/dist/components/ApplicationFormGrantSupport/ApplicationFormGrantSupport.js +23 -0
  47. package/dist/components/ApplicationFormGrantSupport/ApplicationFormGrantSupport.js.map +1 -0
  48. package/dist/components/ApplicationFormGrantSupport/ApplicationFormGrantSupportContent.d.ts +14 -0
  49. package/dist/components/ApplicationFormGrantSupport/ApplicationFormGrantSupportContent.js +2 -0
  50. package/dist/components/ApplicationFormGrantSupport/ApplicationFormGrantSupportContent.js.map +1 -0
  51. package/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +0 -2
  52. package/dist/components/Blocks.js +2 -0
  53. package/dist/components/Blocks.js.map +1 -1
  54. package/dist/components/Carousel/renderCardHighlight.d.ts +3 -3
  55. package/dist/components/Carousel/renderCardHighlight.js.map +1 -1
  56. package/dist/components/InvestmentInfo/InvestmentInfoContent.d.ts +2 -4
  57. package/dist/components/LinkDocs/LinkDocsContent.d.ts +3 -5
  58. package/dist/data/FooterData.d.ts +2 -4
  59. package/dist/model/HeadlineType.d.ts +4 -0
  60. package/dist/model/LinkProps.d.ts +2 -3
  61. package/dist/ui-kit/BaseFiltration/HotFilterBase.d.ts +2 -4
  62. package/dist/ui-kit/List/ListItem.d.ts +3 -3
  63. package/dist/ui-kit/List/ListItem.js.map +1 -1
  64. package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +3 -3
  65. package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
  66. package/dist/ui-kit/Select/Option.d.ts +3 -3
  67. package/dist/ui-kit/SlideCheckbox/SlideCheckbox.d.ts +3 -3
  68. package/dist/ui-kit/SlideCheckbox/SlideCheckbox.js.map +1 -1
  69. package/lib/components/ApplicationForm/ApplicationForm.fixture.d.ts +0 -1
  70. package/lib/components/ApplicationForm/ApplicationForm.fixture.mobile.d.ts +0 -1
  71. package/lib/components/ApplicationForm/ApplicationFormContent.d.ts +4 -16
  72. package/lib/components/ApplicationForm/ApplicationFormFeedback.js +3 -4
  73. package/lib/components/ApplicationForm/ApplicationFormFeedback.js.map +1 -1
  74. package/lib/components/ApplicationForm/ApplicationFormsProps.d.ts +0 -9
  75. package/lib/components/ApplicationForm/EmbeddableForms.d.ts +0 -1
  76. package/lib/components/ApplicationForm/EmbeddableForms.js +0 -2
  77. package/lib/components/ApplicationForm/EmbeddableForms.js.map +1 -1
  78. package/lib/components/ApplicationFormCustom/ApplicationFormCustom.js +2 -3
  79. package/lib/components/ApplicationFormCustom/ApplicationFormCustom.js.map +1 -1
  80. package/lib/components/{ApplicationForm → ApplicationFormCustom}/Footnote.d.ts +3 -3
  81. package/lib/components/ApplicationFormCustom/Footnote.js.map +1 -0
  82. package/lib/components/ApplicationFormCustom/UltraPremiumField.js +1 -1
  83. package/lib/components/ApplicationFormCustom/UltraPremiumField.js.map +1 -1
  84. package/lib/components/ApplicationFormCustom/getObjectValidator.js +1 -1
  85. package/lib/components/ApplicationFormCustom/getObjectValidator.js.map +1 -1
  86. package/lib/components/{ApplicationForm → ApplicationFormCustom}/renderAgreementSubmit.d.ts +1 -1
  87. package/lib/components/ApplicationFormCustom/renderAgreementSubmit.js.map +1 -0
  88. package/lib/components/{ApplicationForm → ApplicationFormCustom}/renderSubmitButton.d.ts +1 -1
  89. package/lib/components/ApplicationFormCustom/renderSubmitButton.js.map +1 -0
  90. package/lib/components/ApplicationFormCustom/validators.js.map +1 -0
  91. package/lib/components/ApplicationFormGrantSupport/ApplicationFormGrantSupport.d.ts +6 -0
  92. package/lib/components/ApplicationFormGrantSupport/ApplicationFormGrantSupport.fixture.d.ts +5 -0
  93. package/lib/components/ApplicationFormGrantSupport/ApplicationFormGrantSupport.js +21 -0
  94. package/lib/components/ApplicationFormGrantSupport/ApplicationFormGrantSupport.js.map +1 -0
  95. package/lib/components/ApplicationFormGrantSupport/ApplicationFormGrantSupportContent.d.ts +14 -0
  96. package/lib/components/ApplicationFormGrantSupport/ApplicationFormGrantSupportContent.js +2 -0
  97. package/lib/components/ApplicationFormGrantSupport/ApplicationFormGrantSupportContent.js.map +1 -0
  98. package/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +0 -2
  99. package/lib/components/Blocks.js +2 -0
  100. package/lib/components/Blocks.js.map +1 -1
  101. package/lib/components/Carousel/renderCardHighlight.d.ts +3 -3
  102. package/lib/components/Carousel/renderCardHighlight.js.map +1 -1
  103. package/lib/components/InvestmentInfo/InvestmentInfoContent.d.ts +2 -4
  104. package/lib/components/LinkDocs/LinkDocsContent.d.ts +3 -5
  105. package/lib/data/FooterData.d.ts +2 -4
  106. package/lib/model/HeadlineType.d.ts +4 -0
  107. package/lib/model/LinkProps.d.ts +2 -3
  108. package/lib/ui-kit/BaseFiltration/HotFilterBase.d.ts +2 -4
  109. package/lib/ui-kit/List/ListItem.d.ts +3 -3
  110. package/lib/ui-kit/List/ListItem.js.map +1 -1
  111. package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +3 -3
  112. package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
  113. package/lib/ui-kit/Select/Option.d.ts +3 -3
  114. package/lib/ui-kit/SlideCheckbox/SlideCheckbox.d.ts +3 -3
  115. package/lib/ui-kit/SlideCheckbox/SlideCheckbox.js.map +1 -1
  116. package/mobile/bundle/bundle.umd.js +28 -44
  117. package/mobile/bundle/bundle.umd.min.js +1 -1
  118. package/mobile/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +4 -16
  119. package/mobile/bundle/components/ApplicationForm/ApplicationFormsProps.d.ts +0 -9
  120. package/mobile/bundle/components/ApplicationForm/EmbeddableForms.d.ts +0 -1
  121. package/mobile/bundle/components/{ApplicationForm → ApplicationFormCustom}/Footnote.d.ts +3 -3
  122. package/mobile/bundle/components/{ApplicationForm → ApplicationFormCustom}/renderAgreementSubmit.d.ts +1 -1
  123. package/{dist/components/ApplicationForm → mobile/bundle/components/ApplicationFormCustom}/renderSubmitButton.d.ts +1 -1
  124. package/mobile/bundle/components/ApplicationFormGrantSupport/ApplicationFormGrantSupport.d.ts +6 -0
  125. package/mobile/bundle/components/ApplicationFormGrantSupport/ApplicationFormGrantSupportContent.d.ts +14 -0
  126. package/mobile/bundle/components/BenefitsBlock/BenefitsBlockContent.d.ts +0 -2
  127. package/mobile/bundle/components/Carousel/renderCardHighlight.d.ts +3 -3
  128. package/mobile/bundle/components/InvestmentInfo/InvestmentInfoContent.d.ts +2 -4
  129. package/mobile/bundle/components/LinkDocs/LinkDocsContent.d.ts +3 -5
  130. package/mobile/bundle/data/FooterData.d.ts +2 -4
  131. package/mobile/bundle/model/HeadlineType.d.ts +4 -0
  132. package/mobile/bundle/model/LinkProps.d.ts +2 -3
  133. package/mobile/bundle/ui-kit/BaseFiltration/HotFilterBase.d.ts +2 -4
  134. package/mobile/bundle/ui-kit/List/ListItem.d.ts +3 -3
  135. package/mobile/bundle/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +3 -3
  136. package/mobile/bundle/ui-kit/Select/Option.d.ts +3 -3
  137. package/mobile/bundle/ui-kit/SlideCheckbox/SlideCheckbox.d.ts +3 -3
  138. package/mobile/dist/components/ApplicationForm/ApplicationFormContent.d.ts +4 -16
  139. package/mobile/dist/components/ApplicationForm/ApplicationFormFeedback.js +3 -4
  140. package/mobile/dist/components/ApplicationForm/ApplicationFormFeedback.js.map +1 -1
  141. package/mobile/dist/components/ApplicationForm/ApplicationFormsProps.d.ts +0 -9
  142. package/mobile/dist/components/ApplicationForm/EmbeddableForms.d.ts +0 -1
  143. package/mobile/dist/components/ApplicationForm/EmbeddableForms.js +0 -2
  144. package/mobile/dist/components/ApplicationForm/EmbeddableForms.js.map +1 -1
  145. package/mobile/dist/components/ApplicationFormCustom/ApplicationFormCustom.js +2 -3
  146. package/mobile/dist/components/ApplicationFormCustom/ApplicationFormCustom.js.map +1 -1
  147. package/mobile/dist/components/ApplicationFormCustom/Footnote.d.ts +7 -0
  148. package/mobile/dist/components/ApplicationFormCustom/Footnote.js.map +1 -0
  149. package/mobile/dist/components/ApplicationFormCustom/UltraPremiumField.js +1 -1
  150. package/mobile/dist/components/ApplicationFormCustom/UltraPremiumField.js.map +1 -1
  151. package/mobile/dist/components/ApplicationFormCustom/getObjectValidator.js +1 -1
  152. package/mobile/dist/components/ApplicationFormCustom/getObjectValidator.js.map +1 -1
  153. package/{bundle/components/ApplicationForm → mobile/dist/components/ApplicationFormCustom}/renderAgreementSubmit.d.ts +1 -1
  154. package/mobile/dist/components/ApplicationFormCustom/renderAgreementSubmit.js.map +1 -0
  155. package/mobile/{bundle/components/ApplicationForm → dist/components/ApplicationFormCustom}/renderSubmitButton.d.ts +1 -1
  156. package/mobile/dist/components/ApplicationFormCustom/renderSubmitButton.js.map +1 -0
  157. package/mobile/dist/components/ApplicationFormCustom/validators.js.map +1 -0
  158. package/mobile/dist/components/ApplicationFormGrantSupport/ApplicationFormGrantSupport.d.ts +6 -0
  159. package/mobile/dist/components/ApplicationFormGrantSupport/ApplicationFormGrantSupport.js +23 -0
  160. package/mobile/dist/components/ApplicationFormGrantSupport/ApplicationFormGrantSupport.js.map +1 -0
  161. package/mobile/dist/components/ApplicationFormGrantSupport/ApplicationFormGrantSupportContent.d.ts +14 -0
  162. package/mobile/dist/components/ApplicationFormGrantSupport/ApplicationFormGrantSupportContent.js +2 -0
  163. package/mobile/dist/components/ApplicationFormGrantSupport/ApplicationFormGrantSupportContent.js.map +1 -0
  164. package/mobile/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +0 -2
  165. package/mobile/dist/components/Carousel/renderCardHighlight.d.ts +3 -3
  166. package/mobile/dist/components/Carousel/renderCardHighlight.js.map +1 -1
  167. package/mobile/dist/components/InvestmentInfo/InvestmentInfoContent.d.ts +2 -4
  168. package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +3 -5
  169. package/mobile/dist/data/FooterData.d.ts +2 -4
  170. package/mobile/dist/model/HeadlineType.d.ts +4 -0
  171. package/mobile/dist/model/LinkProps.d.ts +2 -3
  172. package/mobile/dist/ui-kit/BaseFiltration/HotFilterBase.d.ts +2 -4
  173. package/mobile/dist/ui-kit/List/ListItem.d.ts +3 -3
  174. package/mobile/dist/ui-kit/List/ListItem.js.map +1 -1
  175. package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +3 -3
  176. package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
  177. package/mobile/dist/ui-kit/Select/Option.d.ts +3 -3
  178. package/mobile/dist/ui-kit/SlideCheckbox/SlideCheckbox.d.ts +3 -3
  179. package/mobile/dist/ui-kit/SlideCheckbox/SlideCheckbox.js.map +1 -1
  180. package/mobile/lib/components/ApplicationForm/ApplicationFormContent.d.ts +4 -16
  181. package/mobile/lib/components/ApplicationForm/ApplicationFormFeedback.js +3 -4
  182. package/mobile/lib/components/ApplicationForm/ApplicationFormFeedback.js.map +1 -1
  183. package/mobile/lib/components/ApplicationForm/ApplicationFormsProps.d.ts +0 -9
  184. package/mobile/lib/components/ApplicationForm/EmbeddableForms.d.ts +0 -1
  185. package/mobile/lib/components/ApplicationForm/EmbeddableForms.js +0 -2
  186. package/mobile/lib/components/ApplicationForm/EmbeddableForms.js.map +1 -1
  187. package/mobile/lib/components/ApplicationFormCustom/ApplicationFormCustom.js +2 -3
  188. package/mobile/lib/components/ApplicationFormCustom/ApplicationFormCustom.js.map +1 -1
  189. package/mobile/lib/components/ApplicationFormCustom/Footnote.d.ts +7 -0
  190. package/mobile/lib/components/ApplicationFormCustom/Footnote.js.map +1 -0
  191. package/mobile/lib/components/ApplicationFormCustom/UltraPremiumField.js +1 -1
  192. package/mobile/lib/components/ApplicationFormCustom/UltraPremiumField.js.map +1 -1
  193. package/mobile/lib/components/ApplicationFormCustom/getObjectValidator.js +1 -1
  194. package/mobile/lib/components/ApplicationFormCustom/getObjectValidator.js.map +1 -1
  195. package/mobile/lib/components/ApplicationFormCustom/renderAgreementSubmit.d.ts +5 -0
  196. package/mobile/lib/components/ApplicationFormCustom/renderAgreementSubmit.js.map +1 -0
  197. package/mobile/lib/components/ApplicationFormCustom/renderSubmitButton.d.ts +3 -0
  198. package/mobile/lib/components/ApplicationFormCustom/renderSubmitButton.js.map +1 -0
  199. package/mobile/lib/components/ApplicationFormCustom/validators.js.map +1 -0
  200. package/mobile/lib/components/ApplicationFormGrantSupport/ApplicationFormGrantSupport.d.ts +6 -0
  201. package/mobile/lib/components/ApplicationFormGrantSupport/ApplicationFormGrantSupport.js +21 -0
  202. package/mobile/lib/components/ApplicationFormGrantSupport/ApplicationFormGrantSupport.js.map +1 -0
  203. package/mobile/lib/components/ApplicationFormGrantSupport/ApplicationFormGrantSupportContent.d.ts +14 -0
  204. package/mobile/lib/components/ApplicationFormGrantSupport/ApplicationFormGrantSupportContent.js +2 -0
  205. package/mobile/lib/components/ApplicationFormGrantSupport/ApplicationFormGrantSupportContent.js.map +1 -0
  206. package/mobile/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +0 -2
  207. package/mobile/lib/components/Carousel/renderCardHighlight.d.ts +3 -3
  208. package/mobile/lib/components/Carousel/renderCardHighlight.js.map +1 -1
  209. package/mobile/lib/components/InvestmentInfo/InvestmentInfoContent.d.ts +2 -4
  210. package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +3 -5
  211. package/mobile/lib/data/FooterData.d.ts +2 -4
  212. package/mobile/lib/model/HeadlineType.d.ts +4 -0
  213. package/mobile/lib/model/LinkProps.d.ts +2 -3
  214. package/mobile/lib/ui-kit/BaseFiltration/HotFilterBase.d.ts +2 -4
  215. package/mobile/lib/ui-kit/List/ListItem.d.ts +3 -3
  216. package/mobile/lib/ui-kit/List/ListItem.js.map +1 -1
  217. package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +3 -3
  218. package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
  219. package/mobile/lib/ui-kit/Select/Option.d.ts +3 -3
  220. package/mobile/lib/ui-kit/SlideCheckbox/SlideCheckbox.d.ts +3 -3
  221. package/mobile/lib/ui-kit/SlideCheckbox/SlideCheckbox.js.map +1 -1
  222. package/mobile/src/components/ApplicationForm/ApplicationFormContent.ts +4 -18
  223. package/mobile/src/components/ApplicationForm/ApplicationFormFeedback.tsx +5 -5
  224. package/mobile/src/components/ApplicationForm/ApplicationFormsProps.ts +0 -4
  225. package/mobile/src/components/ApplicationForm/EmbeddableForms.tsx +0 -2
  226. package/mobile/src/components/ApplicationFormCustom/ApplicationFormCustom.tsx +2 -3
  227. package/mobile/src/components/{ApplicationForm → ApplicationFormCustom}/Footnote.tsx +3 -3
  228. package/mobile/src/components/ApplicationFormCustom/UltraPremiumField.tsx +1 -1
  229. package/mobile/src/components/ApplicationFormCustom/getObjectValidator.tsx +3 -3
  230. package/mobile/src/components/{ApplicationForm → ApplicationFormCustom}/renderAgreementSubmit.tsx +1 -1
  231. package/{src/components/ApplicationForm → mobile/src/components/ApplicationFormCustom}/renderSubmitButton.tsx +1 -1
  232. package/mobile/src/components/ApplicationFormGrantSupport/ApplicationFormGrantSupport.example.json +1 -0
  233. package/mobile/src/components/ApplicationFormGrantSupport/ApplicationFormGrantSupport.tsx +57 -0
  234. package/mobile/src/components/ApplicationFormGrantSupport/ApplicationFormGrantSupport.ui.json +1 -0
  235. package/mobile/src/components/ApplicationFormGrantSupport/ApplicationFormGrantSupportContent.ts +10 -0
  236. package/mobile/src/components/BenefitsBlock/BenefitsBlockContent.ts +0 -2
  237. package/mobile/src/components/Carousel/renderCardHighlight.tsx +3 -3
  238. package/mobile/src/components/InvestmentInfo/InvestmentInfoContent.ts +2 -4
  239. package/mobile/src/components/LinkDocs/LinkDocsContent.ts +7 -5
  240. package/mobile/src/data/FooterData.ts +5 -6
  241. package/mobile/src/model/HeadlineType.ts +5 -0
  242. package/mobile/src/model/LinkProps.ts +3 -4
  243. package/mobile/src/ui-kit/BaseFiltration/HotFilterBase.ts +3 -4
  244. package/mobile/src/ui-kit/List/ListItem.tsx +3 -3
  245. package/mobile/src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx +3 -3
  246. package/mobile/src/ui-kit/Select/Option.ts +4 -3
  247. package/mobile/src/ui-kit/SlideCheckbox/SlideCheckbox.tsx +3 -3
  248. package/package.json +1 -1
  249. package/src/components/ApplicationForm/ApplicationForm.fixture.mobile.tsx +11 -32
  250. package/src/components/ApplicationForm/ApplicationForm.fixture.tsx +11 -32
  251. package/src/components/ApplicationForm/ApplicationFormContent.ts +4 -18
  252. package/src/components/ApplicationForm/ApplicationFormFeedback.tsx +5 -5
  253. package/src/components/ApplicationForm/ApplicationFormsProps.ts +0 -4
  254. package/src/components/ApplicationForm/EmbeddableForms.tsx +0 -2
  255. package/src/components/ApplicationFormCustom/ApplicationFormCustom.tsx +2 -3
  256. package/src/components/{ApplicationForm → ApplicationFormCustom}/Footnote.tsx +3 -3
  257. package/src/components/ApplicationFormCustom/UltraPremiumField.tsx +1 -1
  258. package/src/components/ApplicationFormCustom/getObjectValidator.tsx +3 -3
  259. package/src/components/{ApplicationForm → ApplicationFormCustom}/renderAgreementSubmit.tsx +1 -1
  260. package/{mobile/src/components/ApplicationForm → src/components/ApplicationFormCustom}/renderSubmitButton.tsx +1 -1
  261. package/src/components/ApplicationFormGrantSupport/ApplicationFormGrantSupport.example.json +1 -0
  262. package/src/components/ApplicationFormGrantSupport/ApplicationFormGrantSupport.fixture.tsx +20 -0
  263. package/src/components/ApplicationFormGrantSupport/ApplicationFormGrantSupport.tsx +57 -0
  264. package/src/components/ApplicationFormGrantSupport/ApplicationFormGrantSupport.ui.json +1 -0
  265. package/src/components/ApplicationFormGrantSupport/ApplicationFormGrantSupportContent.ts +10 -0
  266. package/src/components/BenefitsBlock/BenefitsBlockContent.ts +0 -2
  267. package/src/components/Blocks.ts +2 -0
  268. package/src/components/Carousel/renderCardHighlight.tsx +3 -3
  269. package/src/components/InvestmentInfo/InvestmentInfoContent.ts +2 -4
  270. package/src/components/LinkDocs/LinkDocsContent.ts +7 -5
  271. package/src/data/FooterData.ts +5 -6
  272. package/src/model/HeadlineType.ts +5 -0
  273. package/src/model/LinkProps.ts +3 -4
  274. package/src/ui-kit/BaseFiltration/HotFilterBase.ts +3 -4
  275. package/src/ui-kit/List/ListItem.tsx +3 -3
  276. package/src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx +3 -3
  277. package/src/ui-kit/Select/Option.ts +4 -3
  278. package/src/ui-kit/SlideCheckbox/SlideCheckbox.tsx +3 -3
  279. package/bundle/components/ApplicationForm/ApplicationFormGrantSupport.d.ts +0 -2
  280. package/bundle/components/ApplicationForm/formStyle.d.ts +0 -2
  281. package/dist/components/ApplicationForm/ApplicationFormGrantSupport.d.ts +0 -2
  282. package/dist/components/ApplicationForm/ApplicationFormGrantSupport.js +0 -21
  283. package/dist/components/ApplicationForm/ApplicationFormGrantSupport.js.map +0 -1
  284. package/dist/components/ApplicationForm/Footnote.js.map +0 -1
  285. package/dist/components/ApplicationForm/formStyle.d.ts +0 -2
  286. package/dist/components/ApplicationForm/formStyle.js +0 -5
  287. package/dist/components/ApplicationForm/formStyle.js.map +0 -1
  288. package/dist/components/ApplicationForm/renderAgreementSubmit.js.map +0 -1
  289. package/dist/components/ApplicationForm/renderSubmitButton.js.map +0 -1
  290. package/dist/components/ApplicationForm/validators.js.map +0 -1
  291. package/lib/components/ApplicationForm/ApplicationFormGrantSupport.d.ts +0 -2
  292. package/lib/components/ApplicationForm/ApplicationFormGrantSupport.js +0 -19
  293. package/lib/components/ApplicationForm/ApplicationFormGrantSupport.js.map +0 -1
  294. package/lib/components/ApplicationForm/Footnote.js.map +0 -1
  295. package/lib/components/ApplicationForm/formStyle.d.ts +0 -2
  296. package/lib/components/ApplicationForm/formStyle.js +0 -3
  297. package/lib/components/ApplicationForm/formStyle.js.map +0 -1
  298. package/lib/components/ApplicationForm/renderAgreementSubmit.js.map +0 -1
  299. package/lib/components/ApplicationForm/renderSubmitButton.js.map +0 -1
  300. package/lib/components/ApplicationForm/validators.js.map +0 -1
  301. package/mobile/bundle/components/ApplicationForm/ApplicationFormGrantSupport.d.ts +0 -2
  302. package/mobile/bundle/components/ApplicationForm/formStyle.d.ts +0 -2
  303. package/mobile/dist/components/ApplicationForm/ApplicationFormGrantSupport.d.ts +0 -2
  304. package/mobile/dist/components/ApplicationForm/ApplicationFormGrantSupport.js +0 -21
  305. package/mobile/dist/components/ApplicationForm/ApplicationFormGrantSupport.js.map +0 -1
  306. package/mobile/dist/components/ApplicationForm/Footnote.d.ts +0 -7
  307. package/mobile/dist/components/ApplicationForm/Footnote.js.map +0 -1
  308. package/mobile/dist/components/ApplicationForm/formStyle.d.ts +0 -2
  309. package/mobile/dist/components/ApplicationForm/formStyle.js +0 -5
  310. package/mobile/dist/components/ApplicationForm/formStyle.js.map +0 -1
  311. package/mobile/dist/components/ApplicationForm/renderAgreementSubmit.js.map +0 -1
  312. package/mobile/dist/components/ApplicationForm/renderSubmitButton.js.map +0 -1
  313. package/mobile/dist/components/ApplicationForm/validators.js.map +0 -1
  314. package/mobile/lib/components/ApplicationForm/ApplicationFormGrantSupport.d.ts +0 -2
  315. package/mobile/lib/components/ApplicationForm/ApplicationFormGrantSupport.js +0 -19
  316. package/mobile/lib/components/ApplicationForm/ApplicationFormGrantSupport.js.map +0 -1
  317. package/mobile/lib/components/ApplicationForm/Footnote.d.ts +0 -7
  318. package/mobile/lib/components/ApplicationForm/Footnote.js.map +0 -1
  319. package/mobile/lib/components/ApplicationForm/formStyle.d.ts +0 -2
  320. package/mobile/lib/components/ApplicationForm/formStyle.js +0 -3
  321. package/mobile/lib/components/ApplicationForm/formStyle.js.map +0 -1
  322. package/mobile/lib/components/ApplicationForm/renderAgreementSubmit.d.ts +0 -5
  323. package/mobile/lib/components/ApplicationForm/renderAgreementSubmit.js.map +0 -1
  324. package/mobile/lib/components/ApplicationForm/renderSubmitButton.d.ts +0 -3
  325. package/mobile/lib/components/ApplicationForm/renderSubmitButton.js.map +0 -1
  326. package/mobile/lib/components/ApplicationForm/validators.js.map +0 -1
  327. package/mobile/src/components/ApplicationForm/ApplicationFormGrantSupport.tsx +0 -45
  328. package/mobile/src/components/ApplicationForm/formStyle.ts +0 -3
  329. package/src/components/ApplicationForm/ApplicationFormGrantSupport.tsx +0 -45
  330. package/src/components/ApplicationForm/formStyle.ts +0 -3
  331. /package/bundle/components/{ApplicationForm → ApplicationFormCustom}/validators.d.ts +0 -0
  332. /package/dist/components/{ApplicationForm → ApplicationFormCustom}/Footnote.js +0 -0
  333. /package/dist/components/{ApplicationForm → ApplicationFormCustom}/renderAgreementSubmit.js +0 -0
  334. /package/dist/components/{ApplicationForm → ApplicationFormCustom}/renderSubmitButton.js +0 -0
  335. /package/dist/components/{ApplicationForm → ApplicationFormCustom}/validators.d.ts +0 -0
  336. /package/dist/components/{ApplicationForm → ApplicationFormCustom}/validators.js +0 -0
  337. /package/lib/components/{ApplicationForm → ApplicationFormCustom}/Footnote.js +0 -0
  338. /package/lib/components/{ApplicationForm → ApplicationFormCustom}/renderAgreementSubmit.js +0 -0
  339. /package/lib/components/{ApplicationForm → ApplicationFormCustom}/renderSubmitButton.js +0 -0
  340. /package/lib/components/{ApplicationForm → ApplicationFormCustom}/validators.d.ts +0 -0
  341. /package/lib/components/{ApplicationForm → ApplicationFormCustom}/validators.js +0 -0
  342. /package/mobile/bundle/components/{ApplicationForm → ApplicationFormCustom}/validators.d.ts +0 -0
  343. /package/mobile/dist/components/{ApplicationForm → ApplicationFormCustom}/Footnote.js +0 -0
  344. /package/mobile/dist/components/{ApplicationForm → ApplicationFormCustom}/renderAgreementSubmit.js +0 -0
  345. /package/mobile/dist/components/{ApplicationForm → ApplicationFormCustom}/renderSubmitButton.js +0 -0
  346. /package/mobile/dist/components/{ApplicationForm → ApplicationFormCustom}/validators.d.ts +0 -0
  347. /package/mobile/dist/components/{ApplicationForm → ApplicationFormCustom}/validators.js +0 -0
  348. /package/mobile/lib/components/{ApplicationForm → ApplicationFormCustom}/Footnote.js +0 -0
  349. /package/mobile/lib/components/{ApplicationForm → ApplicationFormCustom}/renderAgreementSubmit.js +0 -0
  350. /package/mobile/lib/components/{ApplicationForm → ApplicationFormCustom}/renderSubmitButton.js +0 -0
  351. /package/mobile/lib/components/{ApplicationForm → ApplicationFormCustom}/validators.d.ts +0 -0
  352. /package/mobile/lib/components/{ApplicationForm → ApplicationFormCustom}/validators.js +0 -0
  353. /package/mobile/src/components/{ApplicationForm → ApplicationFormCustom}/validators.ts +0 -0
  354. /package/src/components/{ApplicationForm → ApplicationFormCustom}/validators.ts +0 -0
@@ -1182,7 +1182,7 @@
1182
1182
  iconVersion: 'black',
1183
1183
  isBorder: false,
1184
1184
  };
1185
- const formStyle$1 = 'flex justify-between items-center h-14 px-m py-s border rounded-md cursor-pointer ' +
1185
+ const formStyle = 'flex justify-between items-center h-14 px-m py-s border rounded-md cursor-pointer ' +
1186
1186
  'hover:border-black active:border-black focus:border-black';
1187
1187
  const DatePicker = JSX(({ className = '', label = '', value, valid = true, minDate, maxDate, onChange }) => {
1188
1188
  const [showCalendar, { setValue }] = useBool(false);
@@ -1198,7 +1198,7 @@
1198
1198
  });
1199
1199
  return (jsxs("div", { className: style('space-y-xs', className), ref: ref, children: [renderLabel(label), jsxs("div", { className: "relative", children: [renderDatePickerForm(handleChangeVisibleCalendar, value, valid), showCalendar ? (jsxs("div", { className: "absolute bg-white z-20 select-none", children: [jsxs("div", { className: "flex gap-s", children: [jsx("div", { className: "my-auto", onClick: handlePrevMonth, children: jsx(Icon, { ...ICON_PROPS, className: "-rotate-90 cursor-pointer" }) }), jsx(Select, { onChange: handleSelectMonth, value: { key: months[selectedMonth] }, options: monthsOptions, ...SELECT_PROPS }), jsx(Select, { onChange: handleSelectYear, value: { key: String(selectedYear) }, options: yearsOptions, ...SELECT_PROPS }), jsx("div", { className: "my-auto", onClick: handleNextMonth, children: jsx(Icon, { ...ICON_PROPS, className: "rotate-90 cursor-pointer" }) })] }), jsx(Calendar, { today: value, currentMonth: selectedMonth, currentYear: selectedYear, onDateSelect: onChange, min: minDate, max: maxDate })] })) : null] })] }));
1200
1200
  });
1201
- const renderDatePickerForm = (handleChangeVisibleCalendar, value, valid) => (jsxs("div", { onClick: handleChangeVisibleCalendar, className: style(formStyle$1, valid ? 'border-gray' : 'border-error'), children: [jsx(Paragraph, { children: value && formatDate(value) }), jsx(Icon, { ...ICON_PROPS, name: "CalendarIcon" })] }));
1201
+ const renderDatePickerForm = (handleChangeVisibleCalendar, value, valid) => (jsxs("div", { onClick: handleChangeVisibleCalendar, className: style(formStyle, valid ? 'border-gray' : 'border-error'), children: [jsx(Paragraph, { children: value && formatDate(value) }), jsx(Icon, { ...ICON_PROPS, name: "CalendarIcon" })] }));
1202
1202
 
1203
1203
  const DatePickerControl = JSX(({ className, label, error, ...rest }) => (jsxs("div", { className: style('shrink-0 w-full', className), children: [jsx(DatePicker, { label: label && rest?.errors ? `${label}*` : label, valid: Boolean(!error), ...rest }), renderErrorText(error)] })));
1204
1204
 
@@ -1327,6 +1327,8 @@
1327
1327
  return Array.isArray(data) ? data : [];
1328
1328
  }
1329
1329
 
1330
+ const getNamesFromInput = (inputs) => Object.values(inputs.filter((_) => _))?.map((_) => _.name);
1331
+
1330
1332
  const pattern = (regexp) => validator((_) => typeof _ === 'string' && regexp.test(_));
1331
1333
 
1332
1334
  const required = validator((_) => _ !== null && _ !== undefined && _ !== '');
@@ -1339,8 +1341,6 @@
1339
1341
  const phoneValidator = pattern(/^(\+7)?[\s-]?\(?[0-9]{3}\)?[\s-]?[0-9]{3}[\s-]?[0-9]{2}[\s-]?[0-9]{2}$/)(ERROR_MESSAGE);
1340
1342
  const agreementValidator = validator((_) => typeof _ === 'boolean' && _)('Согласие обязательно');
1341
1343
 
1342
- const getNamesFromInput = (inputs) => Object.values(inputs.filter((_) => _))?.map((_) => _.name);
1343
-
1344
1344
  const validatorObj = {
1345
1345
  typeForm: defaultValidator,
1346
1346
  surname: nameValidator,
@@ -1395,30 +1395,6 @@
1395
1395
  return (jsx(SelectControl, { label: "\u0424\u0438\u043B\u0438\u0430\u043B", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0438\u043B\u0438\u0430\u043B", isSearch: true, options: useMemo(() => regions?.map(({ code = '', name = '' }) => ({ key: code, text: name })), [regions]), ...getValidation(field('region'), validatorObj.region, input?.required) }));
1396
1396
  });
1397
1397
 
1398
- const ApplicationFieldsetLayout = JSX(({ title, children }) => (jsxs("fieldset", { className: "grid @xl:flex @xl:justify-between gap-m border-b border-b-main-divider @xl:border-none", children: [title ? (jsx("legend", { className: "w-full", children: jsx(Heading, { title: title, headingType: "h6", className: "@xl:text-center" }) })) : null, children] })));
1399
-
1400
- const FEEDBACK_TYPES = [
1401
- {
1402
- text: 'Задать вопрос по продуктам и услугам',
1403
- key: 'FEEDBACK',
1404
- },
1405
- {
1406
- text: 'Качество обслуживания',
1407
- key: 'FEEDBACK_QS',
1408
- },
1409
- ];
1410
- const FEEDBACK_METHOD = [
1411
- { key: 'phone', text: 'Телефонный звонок' },
1412
- { key: 'email', text: 'Электронное сообщение' },
1413
- ];
1414
- const SERVICE_DIRECTIONS = [
1415
- { key: 'Физическое лицо' },
1416
- { key: 'Юридическое лицо / ИП' },
1417
- ];
1418
-
1419
- const formStyle = 'container space-y-m';
1420
- const oneColumnFormStyle = 'w-full max-w-xl space-y-s m-auto';
1421
-
1422
1398
  const SVG = JSX(({ className, viewBox, fill = 'none', width, height, paths, ...commonOptions }) => {
1423
1399
  return (jsx("svg", { xmlns: "http://www.w3.org/2000/svg", className: className, viewBox: viewBox, fill: fill, width: width, height: height, children: paths.map(({ d, fill: pathFill, ...options }, i) => {
1424
1400
  const resultOptions = { ...commonOptions, ...options };
@@ -1485,6 +1461,27 @@
1485
1461
  const agreementText = 'Нажимая кнопку, вы подтверждаете согласие с ';
1486
1462
  const renderAgreementSubmit = (consentDataProcessing, link, button) => (jsxs("div", { className: "flex col-span-2 gap-m flex-col lg:flex-row w-full justify-between items-baseline", children: [consentDataProcessing ? (jsxs("div", { children: [jsxs("div", { className: "flex gap-3", children: [jsx(Checkbox, { ...consentDataProcessing }), jsx(Footnote, { link: link })] }), renderErrorText(withValidator(consentDataProcessing, agreementValidator).error)] })) : (jsx(Footnote, { text: agreementText, link: link })), renderSubmitButton(button)] }));
1487
1463
 
1464
+ const ApplicationFieldsetLayout = JSX(({ title, children }) => (jsxs("fieldset", { className: "grid @xl:flex @xl:justify-between gap-m border-b border-b-main-divider @xl:border-none", children: [title ? (jsx("legend", { className: "w-full", children: jsx(Heading, { title: title, headingType: "h6", className: "@xl:text-center" }) })) : null, children] })));
1465
+
1466
+ const FEEDBACK_TYPES = [
1467
+ {
1468
+ text: 'Задать вопрос по продуктам и услугам',
1469
+ key: 'FEEDBACK',
1470
+ },
1471
+ {
1472
+ text: 'Качество обслуживания',
1473
+ key: 'FEEDBACK_QS',
1474
+ },
1475
+ ];
1476
+ const FEEDBACK_METHOD = [
1477
+ { key: 'phone', text: 'Телефонный звонок' },
1478
+ { key: 'email', text: 'Электронное сообщение' },
1479
+ ];
1480
+ const SERVICE_DIRECTIONS = [
1481
+ { key: 'Физическое лицо' },
1482
+ { key: 'Юридическое лицо / ИП' },
1483
+ ];
1484
+
1488
1485
  const initialFormState$1 = {
1489
1486
  surname: '',
1490
1487
  name: '',
@@ -1518,7 +1515,7 @@
1518
1515
  });
1519
1516
  const isQualityService = field('typeForm').value?.key === 'FEEDBACK_QS';
1520
1517
  const isLegalEntity = getLegalEntity(field('typeForm').value?.key, field('serviceDirection').value?.key);
1521
- return (jsx("form", { className: formStyle, onSubmit: formProps.onSubmit, children: jsx(ApplicationFieldsetLayout, { children: jsxs("div", { className: oneColumnFormStyle, children: [jsx(SelectControl, { label: "\u0422\u0435\u043C\u0430", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0442\u0435\u043C\u0443", options: FEEDBACK_TYPES, ...withValidator(field('typeForm'), defaultValidator) }), isQualityService ? (jsx(SelectControl, { label: "\u041D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u043E\u0431\u0441\u043B\u0443\u0436\u0438\u0432\u0430\u043D\u0438\u044F", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435", options: SERVICE_DIRECTIONS, ...withValidator(field('serviceDirection'), defaultValidator) })) : null, jsx(RegionField, { field: field }), isQualityService ? jsx(AddressBranchField, { field: field }) : null, jsxs("div", { className: "space-y-s", children: [jsx(InputControl, { label: "\u0424\u0430\u043C\u0438\u043B\u0438\u044F", ...withValidator(field('surname'), nameValidator) }), jsx(InputControl, { label: "\u0418\u043C\u044F", ...withValidator(field('name'), nameValidator) }), jsx(InputControl, { label: "\u041E\u0442\u0447\u0435\u0441\u0442\u0432\u043E (\u041E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u043E, \u043F\u0440\u0438 \u043D\u0430\u043B\u0438\u0447\u0438\u0438)", ...field('middleName') }), jsx(DatePickerControl, { label: "\u0414\u0430\u0442\u0430 \u0440\u043E\u0436\u0434\u0435\u043D\u0438\u044F", ...withValidator(field('birthday'), defaultValidator) })] }), isLegalEntity ? (jsxs("div", { children: [jsx(InputControl, { label: "\u0418\u041D\u041D", ...withValidator(field('inn'), innValidator) }), jsx(InputControl, { label: "\u041D\u0430\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", ...field('fullName') })] })) : null, jsx(SelectControl, { label: "\u0421\u043F\u043E\u0441\u043E\u0431 \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u044F \u043E\u0442\u0432\u0435\u0442\u0430", options: FEEDBACK_METHOD, ...withValidator(field('feedbackMethod'), defaultValidator) }), jsx(InputPhoneControl, { label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phone'), phoneValidator) }), isQualityService ? (jsxs("div", { children: [jsx(InputPhoneControl, { label: "\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0439 \u0442\u0435\u043B\u0435\u0444\u043E\u043D", ...(!field('secondaryPhone').value || field('secondaryPhone').value === '+7 ('
1518
+ return (jsx("form", { className: "container space-y-m", onSubmit: formProps.onSubmit, children: jsx(ApplicationFieldsetLayout, { children: jsxs("div", { className: "w-full max-w-xl space-y-s m-auto", children: [jsx(SelectControl, { label: "\u0422\u0435\u043C\u0430", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0442\u0435\u043C\u0443", options: FEEDBACK_TYPES, ...withValidator(field('typeForm'), defaultValidator) }), isQualityService ? (jsx(SelectControl, { label: "\u041D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u043E\u0431\u0441\u043B\u0443\u0436\u0438\u0432\u0430\u043D\u0438\u044F", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435", options: SERVICE_DIRECTIONS, ...withValidator(field('serviceDirection'), defaultValidator) })) : null, jsx(RegionField, { field: field }), isQualityService ? jsx(AddressBranchField, { field: field }) : null, jsxs("div", { className: "space-y-s", children: [jsx(InputControl, { label: "\u0424\u0430\u043C\u0438\u043B\u0438\u044F", ...withValidator(field('surname'), nameValidator) }), jsx(InputControl, { label: "\u0418\u043C\u044F", ...withValidator(field('name'), nameValidator) }), jsx(InputControl, { label: "\u041E\u0442\u0447\u0435\u0441\u0442\u0432\u043E (\u041E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u043E, \u043F\u0440\u0438 \u043D\u0430\u043B\u0438\u0447\u0438\u0438)", ...field('middleName') }), jsx(DatePickerControl, { label: "\u0414\u0430\u0442\u0430 \u0440\u043E\u0436\u0434\u0435\u043D\u0438\u044F", ...withValidator(field('birthday'), defaultValidator) })] }), isLegalEntity ? (jsxs("div", { children: [jsx(InputControl, { label: "\u0418\u041D\u041D", ...withValidator(field('inn'), innValidator) }), jsx(InputControl, { label: "\u041D\u0430\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", ...field('fullName') })] })) : null, jsx(SelectControl, { label: "\u0421\u043F\u043E\u0441\u043E\u0431 \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u044F \u043E\u0442\u0432\u0435\u0442\u0430", options: FEEDBACK_METHOD, ...withValidator(field('feedbackMethod'), defaultValidator) }), jsx(InputPhoneControl, { label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phone'), phoneValidator) }), isQualityService ? (jsxs("div", { children: [jsx(InputPhoneControl, { label: "\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0439 \u0442\u0435\u043B\u0435\u0444\u043E\u043D", ...(!field('secondaryPhone').value || field('secondaryPhone').value === '+7 ('
1522
1519
  ? field('secondaryPhone')
1523
1520
  : withValidator(field('secondaryPhone'), phoneValidator)) }), jsx(InputControl, { label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", ...withValidator(field('email'), defaultValidator) }), jsx(InputControl, { label: "\u0424\u0418\u041E \u0438\u043B\u0438 \u0434\u043E\u043B\u0436\u043D\u043E\u0441\u0442\u044C \u043E\u0431\u0441\u043B\u0443\u0436\u0438\u0432\u0430\u0432\u0448\u0435\u0433\u043E \u0412\u0430\u0441 \u0441\u043E\u0442\u0440\u0443\u0434\u043D\u0438\u043A\u0430 \u0411\u0430\u043D\u043A\u0430", ...field('bankEmpolee') }), jsx(InputControl, { label: "\u0414\u0430\u0442\u0430 \u0438 \u0432\u0440\u0435\u043C\u044F \u043E\u0431\u0440\u0430\u0449\u0435\u043D\u0438\u044F \u0432 \u0411\u0430\u043D\u043A", ...field('applicationDate') })] })) : (jsx(InputControl, { label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", ...withValidator(field('email'), defaultValidator) })), jsx(InputControl, { ...withValidator(field('comment'), defaultValidator), placeholder: "\u0412\u0430\u0448\u0435 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435", isTextarea: true }), renderAgreementSubmit(field('consentDataProcessing'), link, button)] }) }) }));
1524
1521
  });
@@ -1543,20 +1540,7 @@
1543
1540
  };
1544
1541
  const getLegalEntity = (typeFormKey = '', serviceDirectionKey = '') => typeFormKey === 'FEEDBACK_QS' && serviceDirectionKey === 'Юридическое лицо / ИП';
1545
1542
 
1546
- const ApplicationFormGrantSupport = JSX((props) => {
1547
- const { button, regionSource } = props;
1548
- const [region, setRegion] = useState({ key: '' });
1549
- const regions = regionSource?.regions ?? [];
1550
- const buttonStyle = getRegularButtonClasses({
1551
- className: 'text-white',
1552
- version: button?.version,
1553
- });
1554
- const regionHref = regions?.find((_) => _.name === region.key)?.href;
1555
- return (jsxs("div", { className: "container space-y-s", children: [regions ? (jsx(SelectControl, { label: "\u0412\u0430\u0448 \u0440\u0435\u0433\u0438\u043E\u043D", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0440\u0435\u0433\u0438\u043E\u043D", isSearch: true, options: regions.map(({ name = '' }) => ({ key: name, text: name })), value: region, onChange: setRegion })) : null, regionHref ? (jsx("div", { className: "text-center", children: jsx(LinkButton, { href: regionHref, target: "_blank", className: style('p-m w-full @xl:w-auto', buttonStyle), children: button?.text ? button.text : 'Перейти' }) })) : null] }));
1556
- });
1557
-
1558
1543
  const EmbeddableForms = {
1559
- ApplicationFormGrantSupport,
1560
1544
  ApplicationFormFeedback,
1561
1545
  };
1562
1546
 
@@ -1840,7 +1824,7 @@
1840
1824
  }, []);
1841
1825
  const [, { field, onSubmit }] = useForm(initialFormState, { onSubmit: handleSubmit });
1842
1826
  const fieldName = getConsentDataProcessing(inputs)?.name;
1843
- return (jsxs(ApplicationFormLayout, { className: style(formStyle, className), title: title, responseType: responseType, ...rest, children: [jsxs("form", { onSubmit: onSubmit, children: [sections.map((_, i) => (jsxs("div", { className: style(inputColumnStyles(_.columns), 'grid gap-x-m'), children: [_?.title ? jsx("div", { className: "@xl:text-center @xl:col-span-2", children: _.title }) : null, (_?.inputs || [])?.map(getField(field, typeForm))] }, `section-${i}`))), renderAgreementSubmit(fieldName ? field('consentDataProcessing') : undefined, link, button)] }), isContacts ? renderContacts() : null] }));
1827
+ return (jsxs(ApplicationFormLayout, { className: style('container space-y-m', className), title: title, responseType: responseType, ...rest, children: [jsxs("form", { onSubmit: onSubmit, children: [sections.map((_, i) => (jsxs("div", { className: style(inputColumnStyles(_.columns), 'grid gap-x-m'), children: [_?.title ? jsx("div", { className: "@xl:text-center @xl:col-span-2", children: _.title }) : null, (_?.inputs || [])?.map(getField(field, typeForm))] }, `section-${i}`))), renderAgreementSubmit(fieldName ? field('consentDataProcessing') : undefined, link, button)] }), isContacts ? renderContacts() : null] }));
1844
1828
  });
1845
1829
  const inputColumnStyles = (column) => column === 2 ? '@xl:grid-cols-2' : '';
1846
1830
  const getConsentDataProcessing = (inputs) => inputs?.find((_) => _?.name === 'consentDataProcessing');
@@ -1849,6 +1833,18 @@
1849
1833
  .filter((input) => !input?.condition ||
1850
1834
  input?.condition.values.find((_) => _ === data?.[input?.condition?.name]));
1851
1835
 
1836
+ const ApplicationFormGrantSupport = UniBlock(({ className, title, button, regionSource, ...rest }) => {
1837
+ const [region, setRegion] = useState({ key: '' });
1838
+ const regions = regionSource?.regions ?? [];
1839
+ const buttonStyle = getRegularButtonClasses({
1840
+ className: 'text-white',
1841
+ version: button?.version || 'primary',
1842
+ });
1843
+ const regionHref = regions?.find((_) => _.name === region.key)?.href;
1844
+ const buttonText = button?.text ? button.text : 'Перейти';
1845
+ return (jsx(BlockWrapper, { className: className, defaultPadding: "p-6xl", ...rest, children: jsxs("div", { className: "container max-w-[978px] space-y-m", children: [title ? jsx(Heading, { headingType: "h3", title: title, className: "@xl:text-center" }) : null, regions ? (jsx(SelectControl, { label: "\u0412\u0430\u0448 \u0440\u0435\u0433\u0438\u043E\u043D", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0440\u0435\u0433\u0438\u043E\u043D", isSearch: true, options: regions.map(({ name = '' }) => ({ key: name, text: name })), value: region, onChange: setRegion })) : null, regionHref ? (jsx("div", { className: "text-center", children: jsx(LinkButton, { href: regionHref, target: "_blank", className: style('p-m w-full @xl:w-auto', buttonStyle), children: buttonText }) })) : null] }) }));
1846
+ });
1847
+
1852
1848
  const joinList = (sep) => (list) => list.reduce((acc, el, i) => (acc.length ? acc.concat({ ...sep, key: `sep-${i}` }, el) : [el]), []);
1853
1849
 
1854
1850
  const SlideCheckboxGroup = JSX(({ value, onChange, items = [], multiple }) => {
@@ -5866,6 +5862,7 @@
5866
5862
  AdTile,
5867
5863
  ApplicationForm,
5868
5864
  ApplicationFormCustom,
5865
+ ApplicationFormGrantSupport,
5869
5866
  BankAccountFiltration,
5870
5867
  BenefitsBlock,
5871
5868
  BonusBenefitsBlock,
@@ -6138,7 +6135,7 @@
6138
6135
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
6139
6136
  });
6140
6137
 
6141
- const packageVersion = "0.14.257";
6138
+ const packageVersion = "0.14.258";
6142
6139
 
6143
6140
  exports.Blocks = Blocks;
6144
6141
  exports.ContentPage = ContentPage;