@redneckz/wildless-cms-uni-blocks 0.14.603 → 0.14.605

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 (375) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +367 -56
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +9 -1
  5. package/bundle/components/ApplicationForm/renderInputs.d.ts +3 -0
  6. package/bundle/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +11 -3
  7. package/bundle/components/ApplicationLeadForm/getInitialFormState.d.ts +10 -0
  8. package/bundle/components/CreditForm/CreditForm.d.ts +13 -0
  9. package/bundle/components/CreditForm/CreditFormContent.d.ts +28 -0
  10. package/bundle/components/CreditForm/CreditFormProgress.d.ts +6 -0
  11. package/bundle/components/CreditForm/StepsNavigationButtons.d.ts +6 -0
  12. package/bundle/components/CreditForm/creditFormStepsData.d.ts +140 -0
  13. package/bundle/ui-kit/FormField/Fields/BankEmployeeCodeField.d.ts +2 -0
  14. package/bundle/ui-kit/FormField/Fields/BankruptcyFlgField.d.ts +2 -0
  15. package/bundle/ui-kit/FormField/Fields/CreditInRshbCdField.d.ts +2 -0
  16. package/bundle/ui-kit/FormField/Fields/DisablePeopleFlgField.d.ts +2 -0
  17. package/bundle/ui-kit/FormField/Fields/LegalEntityNameField.d.ts +2 -0
  18. package/bundle/ui-kit/FormField/Fields/MandatoryIncome.d.ts +2 -0
  19. package/bundle/ui-kit/FormField/Fields/OtherIncomeField.d.ts +2 -0
  20. package/bundle/ui-kit/FormField/Fields/OtherPayments.d.ts +2 -0
  21. package/bundle/ui-kit/FormField/Fields/RetirementIncomeField.d.ts +2 -0
  22. package/bundle/ui-kit/FormField/Fields/ShareholderFlgField.d.ts +2 -0
  23. package/bundle/ui-kit/FormField/NameFieldDef.d.ts +1 -1
  24. package/bundle/ui-kit/ProgressBar/ProgressBar.d.ts +1 -0
  25. package/dist/components/ApplicationForm/ApplicationFormContent.d.ts +9 -1
  26. package/dist/components/ApplicationForm/renderInputs.d.ts +3 -0
  27. package/dist/components/ApplicationForm/renderInputs.js +16 -0
  28. package/dist/components/ApplicationForm/renderInputs.js.map +1 -0
  29. package/dist/components/ApplicationLeadForm/ApplicationLeadForm.js +2 -12
  30. package/dist/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
  31. package/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +11 -3
  32. package/dist/components/ApplicationLeadForm/getInitialFormState.d.ts +10 -0
  33. package/dist/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
  34. package/dist/components/Blocks.js +2 -0
  35. package/dist/components/Blocks.js.map +1 -1
  36. package/dist/components/Blocks.mobile.js +2 -0
  37. package/dist/components/Blocks.mobile.js.map +1 -1
  38. package/dist/components/CreditForm/CreditForm.d.ts +13 -0
  39. package/dist/components/CreditForm/CreditForm.js +40 -0
  40. package/dist/components/CreditForm/CreditForm.js.map +1 -0
  41. package/dist/components/CreditForm/CreditFormContent.d.ts +28 -0
  42. package/dist/components/CreditForm/CreditFormContent.js +2 -0
  43. package/dist/components/CreditForm/CreditFormContent.js.map +1 -0
  44. package/dist/components/CreditForm/CreditFormProgress.d.ts +6 -0
  45. package/dist/components/CreditForm/CreditFormProgress.js +11 -0
  46. package/dist/components/CreditForm/CreditFormProgress.js.map +1 -0
  47. package/dist/components/CreditForm/StepsNavigationButtons.d.ts +6 -0
  48. package/dist/components/CreditForm/StepsNavigationButtons.js +20 -0
  49. package/dist/components/CreditForm/StepsNavigationButtons.js.map +1 -0
  50. package/dist/components/CreditForm/creditFormStepsData.d.ts +140 -0
  51. package/dist/components/CreditForm/creditFormStepsData.js +217 -0
  52. package/dist/components/CreditForm/creditFormStepsData.js.map +1 -0
  53. package/dist/ui-kit/FormField/Fields/BankEmployeeCodeField.d.ts +2 -0
  54. package/dist/ui-kit/FormField/Fields/BankEmployeeCodeField.js +9 -0
  55. package/dist/ui-kit/FormField/Fields/BankEmployeeCodeField.js.map +1 -0
  56. package/dist/ui-kit/FormField/Fields/BankruptcyFlgField.d.ts +2 -0
  57. package/dist/ui-kit/FormField/Fields/BankruptcyFlgField.js +9 -0
  58. package/dist/ui-kit/FormField/Fields/BankruptcyFlgField.js.map +1 -0
  59. package/dist/ui-kit/FormField/Fields/CreditInRshbCdField.d.ts +2 -0
  60. package/dist/ui-kit/FormField/Fields/CreditInRshbCdField.js +14 -0
  61. package/dist/ui-kit/FormField/Fields/CreditInRshbCdField.js.map +1 -0
  62. package/dist/ui-kit/FormField/Fields/DisablePeopleFlgField.d.ts +2 -0
  63. package/dist/ui-kit/FormField/Fields/DisablePeopleFlgField.js +9 -0
  64. package/dist/ui-kit/FormField/Fields/DisablePeopleFlgField.js.map +1 -0
  65. package/dist/ui-kit/FormField/Fields/LegalEntityNameField.d.ts +2 -0
  66. package/dist/ui-kit/FormField/Fields/LegalEntityNameField.js +11 -0
  67. package/dist/ui-kit/FormField/Fields/LegalEntityNameField.js.map +1 -0
  68. package/dist/ui-kit/FormField/Fields/MandatoryIncome.d.ts +2 -0
  69. package/dist/ui-kit/FormField/Fields/MandatoryIncome.js +9 -0
  70. package/dist/ui-kit/FormField/Fields/MandatoryIncome.js.map +1 -0
  71. package/dist/ui-kit/FormField/Fields/OtherIncomeField.d.ts +2 -0
  72. package/dist/ui-kit/FormField/Fields/OtherIncomeField.js +9 -0
  73. package/dist/ui-kit/FormField/Fields/OtherIncomeField.js.map +1 -0
  74. package/dist/ui-kit/FormField/Fields/OtherPayments.d.ts +2 -0
  75. package/dist/ui-kit/FormField/Fields/OtherPayments.js +9 -0
  76. package/dist/ui-kit/FormField/Fields/OtherPayments.js.map +1 -0
  77. package/dist/ui-kit/FormField/Fields/RetirementIncomeField.d.ts +2 -0
  78. package/dist/ui-kit/FormField/Fields/RetirementIncomeField.js +9 -0
  79. package/dist/ui-kit/FormField/Fields/RetirementIncomeField.js.map +1 -0
  80. package/dist/ui-kit/FormField/Fields/ShareholderFlgField.d.ts +2 -0
  81. package/dist/ui-kit/FormField/Fields/ShareholderFlgField.js +9 -0
  82. package/dist/ui-kit/FormField/Fields/ShareholderFlgField.js.map +1 -0
  83. package/dist/ui-kit/FormField/NameFieldDef.d.ts +1 -1
  84. package/dist/ui-kit/FormField/getField.js +20 -0
  85. package/dist/ui-kit/FormField/getField.js.map +1 -1
  86. package/dist/ui-kit/FormField/getObjectValidator.js +9 -0
  87. package/dist/ui-kit/FormField/getObjectValidator.js.map +1 -1
  88. package/dist/ui-kit/InfoCard/InfoCard.js +1 -1
  89. package/dist/ui-kit/InfoCard/InfoCard.js.map +1 -1
  90. package/dist/ui-kit/ProgressBar/ProgressBar.d.ts +1 -0
  91. package/dist/ui-kit/ProgressBar/ProgressBar.js +1 -1
  92. package/dist/ui-kit/ProgressBar/ProgressBar.js.map +1 -1
  93. package/lib/common.css +1 -1
  94. package/lib/components/ApplicationForm/ApplicationFormContent.d.ts +9 -1
  95. package/lib/components/ApplicationForm/renderInputs.d.ts +2 -0
  96. package/lib/components/ApplicationForm/renderInputs.js +13 -0
  97. package/lib/components/ApplicationForm/renderInputs.js.map +1 -0
  98. package/lib/components/ApplicationLeadForm/ApplicationLeadForm.js +1 -11
  99. package/lib/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
  100. package/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +11 -3
  101. package/lib/components/ApplicationLeadForm/getInitialFormState.d.ts +10 -0
  102. package/lib/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
  103. package/lib/components/Blocks.js +2 -0
  104. package/lib/components/Blocks.js.map +1 -1
  105. package/lib/components/Blocks.mobile.js +2 -0
  106. package/lib/components/Blocks.mobile.js.map +1 -1
  107. package/lib/components/CreditForm/CreditForm.d.ts +13 -0
  108. package/lib/components/CreditForm/CreditForm.fixture.d.ts +6 -0
  109. package/lib/components/CreditForm/CreditForm.js +38 -0
  110. package/lib/components/CreditForm/CreditForm.js.map +1 -0
  111. package/lib/components/CreditForm/CreditFormContent.d.ts +28 -0
  112. package/lib/components/CreditForm/CreditFormContent.js +2 -0
  113. package/lib/components/CreditForm/CreditFormContent.js.map +1 -0
  114. package/lib/components/CreditForm/CreditFormProgress.d.ts +6 -0
  115. package/lib/components/CreditForm/CreditFormProgress.js +9 -0
  116. package/lib/components/CreditForm/CreditFormProgress.js.map +1 -0
  117. package/lib/components/CreditForm/StepsNavigationButtons.d.ts +6 -0
  118. package/lib/components/CreditForm/StepsNavigationButtons.js +18 -0
  119. package/lib/components/CreditForm/StepsNavigationButtons.js.map +1 -0
  120. package/lib/components/CreditForm/creditFormStepsData.d.ts +140 -0
  121. package/lib/components/CreditForm/creditFormStepsData.js +215 -0
  122. package/lib/components/CreditForm/creditFormStepsData.js.map +1 -0
  123. package/lib/ui-kit/FormField/Fields/BankEmployeeCodeField.d.ts +2 -0
  124. package/lib/ui-kit/FormField/Fields/BankEmployeeCodeField.js +7 -0
  125. package/lib/ui-kit/FormField/Fields/BankEmployeeCodeField.js.map +1 -0
  126. package/lib/ui-kit/FormField/Fields/BankruptcyFlgField.d.ts +2 -0
  127. package/lib/ui-kit/FormField/Fields/BankruptcyFlgField.js +7 -0
  128. package/lib/ui-kit/FormField/Fields/BankruptcyFlgField.js.map +1 -0
  129. package/lib/ui-kit/FormField/Fields/CreditInRshbCdField.d.ts +2 -0
  130. package/lib/ui-kit/FormField/Fields/CreditInRshbCdField.js +12 -0
  131. package/lib/ui-kit/FormField/Fields/CreditInRshbCdField.js.map +1 -0
  132. package/lib/ui-kit/FormField/Fields/DisablePeopleFlgField.d.ts +2 -0
  133. package/lib/ui-kit/FormField/Fields/DisablePeopleFlgField.js +7 -0
  134. package/lib/ui-kit/FormField/Fields/DisablePeopleFlgField.js.map +1 -0
  135. package/lib/ui-kit/FormField/Fields/LegalEntityNameField.d.ts +2 -0
  136. package/lib/ui-kit/FormField/Fields/LegalEntityNameField.js +9 -0
  137. package/lib/ui-kit/FormField/Fields/LegalEntityNameField.js.map +1 -0
  138. package/lib/ui-kit/FormField/Fields/MandatoryIncome.d.ts +2 -0
  139. package/lib/ui-kit/FormField/Fields/MandatoryIncome.js +7 -0
  140. package/lib/ui-kit/FormField/Fields/MandatoryIncome.js.map +1 -0
  141. package/lib/ui-kit/FormField/Fields/OtherIncomeField.d.ts +2 -0
  142. package/lib/ui-kit/FormField/Fields/OtherIncomeField.js +7 -0
  143. package/lib/ui-kit/FormField/Fields/OtherIncomeField.js.map +1 -0
  144. package/lib/ui-kit/FormField/Fields/OtherPayments.d.ts +2 -0
  145. package/lib/ui-kit/FormField/Fields/OtherPayments.js +7 -0
  146. package/lib/ui-kit/FormField/Fields/OtherPayments.js.map +1 -0
  147. package/lib/ui-kit/FormField/Fields/RetirementIncomeField.d.ts +2 -0
  148. package/lib/ui-kit/FormField/Fields/RetirementIncomeField.js +7 -0
  149. package/lib/ui-kit/FormField/Fields/RetirementIncomeField.js.map +1 -0
  150. package/lib/ui-kit/FormField/Fields/ShareholderFlgField.d.ts +2 -0
  151. package/lib/ui-kit/FormField/Fields/ShareholderFlgField.js +7 -0
  152. package/lib/ui-kit/FormField/Fields/ShareholderFlgField.js.map +1 -0
  153. package/lib/ui-kit/FormField/NameFieldDef.d.ts +1 -1
  154. package/lib/ui-kit/FormField/getField.js +20 -0
  155. package/lib/ui-kit/FormField/getField.js.map +1 -1
  156. package/lib/ui-kit/FormField/getObjectValidator.js +9 -0
  157. package/lib/ui-kit/FormField/getObjectValidator.js.map +1 -1
  158. package/lib/ui-kit/InfoCard/InfoCard.js +1 -1
  159. package/lib/ui-kit/InfoCard/InfoCard.js.map +1 -1
  160. package/lib/ui-kit/ProgressBar/ProgressBar.d.ts +1 -0
  161. package/lib/ui-kit/ProgressBar/ProgressBar.js +1 -1
  162. package/lib/ui-kit/ProgressBar/ProgressBar.js.map +1 -1
  163. package/mobile/bundle/bundle.umd.js +367 -56
  164. package/mobile/bundle/bundle.umd.min.js +1 -1
  165. package/mobile/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +9 -1
  166. package/mobile/bundle/components/ApplicationForm/renderInputs.d.ts +3 -0
  167. package/mobile/bundle/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +11 -3
  168. package/mobile/bundle/components/ApplicationLeadForm/getInitialFormState.d.ts +10 -0
  169. package/mobile/bundle/components/CreditForm/CreditForm.d.ts +13 -0
  170. package/mobile/bundle/components/CreditForm/CreditFormContent.d.ts +28 -0
  171. package/mobile/bundle/components/CreditForm/CreditFormProgress.d.ts +6 -0
  172. package/mobile/bundle/components/CreditForm/StepsNavigationButtons.d.ts +6 -0
  173. package/mobile/bundle/components/CreditForm/creditFormStepsData.d.ts +140 -0
  174. package/mobile/bundle/ui-kit/FormField/Fields/BankEmployeeCodeField.d.ts +2 -0
  175. package/mobile/bundle/ui-kit/FormField/Fields/BankruptcyFlgField.d.ts +2 -0
  176. package/mobile/bundle/ui-kit/FormField/Fields/CreditInRshbCdField.d.ts +2 -0
  177. package/mobile/bundle/ui-kit/FormField/Fields/DisablePeopleFlgField.d.ts +2 -0
  178. package/mobile/bundle/ui-kit/FormField/Fields/LegalEntityNameField.d.ts +2 -0
  179. package/mobile/bundle/ui-kit/FormField/Fields/MandatoryIncome.d.ts +2 -0
  180. package/mobile/bundle/ui-kit/FormField/Fields/OtherIncomeField.d.ts +2 -0
  181. package/mobile/bundle/ui-kit/FormField/Fields/OtherPayments.d.ts +2 -0
  182. package/mobile/bundle/ui-kit/FormField/Fields/RetirementIncomeField.d.ts +2 -0
  183. package/mobile/bundle/ui-kit/FormField/Fields/ShareholderFlgField.d.ts +2 -0
  184. package/mobile/bundle/ui-kit/FormField/NameFieldDef.d.ts +1 -1
  185. package/mobile/bundle/ui-kit/ProgressBar/ProgressBar.d.ts +1 -0
  186. package/mobile/dist/components/ApplicationForm/ApplicationFormContent.d.ts +9 -1
  187. package/mobile/dist/components/ApplicationForm/renderInputs.d.ts +3 -0
  188. package/mobile/dist/components/ApplicationForm/renderInputs.js +16 -0
  189. package/mobile/dist/components/ApplicationForm/renderInputs.js.map +1 -0
  190. package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadForm.js +2 -12
  191. package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
  192. package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +11 -3
  193. package/mobile/dist/components/ApplicationLeadForm/getInitialFormState.d.ts +10 -0
  194. package/mobile/dist/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
  195. package/mobile/dist/components/Blocks.js +2 -0
  196. package/mobile/dist/components/Blocks.js.map +1 -1
  197. package/mobile/dist/components/CreditForm/CreditForm.d.ts +13 -0
  198. package/mobile/dist/components/CreditForm/CreditForm.js +40 -0
  199. package/mobile/dist/components/CreditForm/CreditForm.js.map +1 -0
  200. package/mobile/dist/components/CreditForm/CreditFormContent.d.ts +28 -0
  201. package/mobile/dist/components/CreditForm/CreditFormContent.js +2 -0
  202. package/mobile/dist/components/CreditForm/CreditFormContent.js.map +1 -0
  203. package/mobile/dist/components/CreditForm/CreditFormProgress.d.ts +6 -0
  204. package/mobile/dist/components/CreditForm/CreditFormProgress.js +11 -0
  205. package/mobile/dist/components/CreditForm/CreditFormProgress.js.map +1 -0
  206. package/mobile/dist/components/CreditForm/StepsNavigationButtons.d.ts +6 -0
  207. package/mobile/dist/components/CreditForm/StepsNavigationButtons.js +20 -0
  208. package/mobile/dist/components/CreditForm/StepsNavigationButtons.js.map +1 -0
  209. package/mobile/dist/components/CreditForm/creditFormStepsData.d.ts +140 -0
  210. package/mobile/dist/components/CreditForm/creditFormStepsData.js +217 -0
  211. package/mobile/dist/components/CreditForm/creditFormStepsData.js.map +1 -0
  212. package/mobile/dist/ui-kit/FormField/Fields/BankEmployeeCodeField.d.ts +2 -0
  213. package/mobile/dist/ui-kit/FormField/Fields/BankEmployeeCodeField.js +9 -0
  214. package/mobile/dist/ui-kit/FormField/Fields/BankEmployeeCodeField.js.map +1 -0
  215. package/mobile/dist/ui-kit/FormField/Fields/BankruptcyFlgField.d.ts +2 -0
  216. package/mobile/dist/ui-kit/FormField/Fields/BankruptcyFlgField.js +9 -0
  217. package/mobile/dist/ui-kit/FormField/Fields/BankruptcyFlgField.js.map +1 -0
  218. package/mobile/dist/ui-kit/FormField/Fields/CreditInRshbCdField.d.ts +2 -0
  219. package/mobile/dist/ui-kit/FormField/Fields/CreditInRshbCdField.js +14 -0
  220. package/mobile/dist/ui-kit/FormField/Fields/CreditInRshbCdField.js.map +1 -0
  221. package/mobile/dist/ui-kit/FormField/Fields/DisablePeopleFlgField.d.ts +2 -0
  222. package/mobile/dist/ui-kit/FormField/Fields/DisablePeopleFlgField.js +9 -0
  223. package/mobile/dist/ui-kit/FormField/Fields/DisablePeopleFlgField.js.map +1 -0
  224. package/mobile/dist/ui-kit/FormField/Fields/LegalEntityNameField.d.ts +2 -0
  225. package/mobile/dist/ui-kit/FormField/Fields/LegalEntityNameField.js +11 -0
  226. package/mobile/dist/ui-kit/FormField/Fields/LegalEntityNameField.js.map +1 -0
  227. package/mobile/dist/ui-kit/FormField/Fields/MandatoryIncome.d.ts +2 -0
  228. package/mobile/dist/ui-kit/FormField/Fields/MandatoryIncome.js +9 -0
  229. package/mobile/dist/ui-kit/FormField/Fields/MandatoryIncome.js.map +1 -0
  230. package/mobile/dist/ui-kit/FormField/Fields/OtherIncomeField.d.ts +2 -0
  231. package/mobile/dist/ui-kit/FormField/Fields/OtherIncomeField.js +9 -0
  232. package/mobile/dist/ui-kit/FormField/Fields/OtherIncomeField.js.map +1 -0
  233. package/mobile/dist/ui-kit/FormField/Fields/OtherPayments.d.ts +2 -0
  234. package/mobile/dist/ui-kit/FormField/Fields/OtherPayments.js +9 -0
  235. package/mobile/dist/ui-kit/FormField/Fields/OtherPayments.js.map +1 -0
  236. package/mobile/dist/ui-kit/FormField/Fields/RetirementIncomeField.d.ts +2 -0
  237. package/mobile/dist/ui-kit/FormField/Fields/RetirementIncomeField.js +9 -0
  238. package/mobile/dist/ui-kit/FormField/Fields/RetirementIncomeField.js.map +1 -0
  239. package/mobile/dist/ui-kit/FormField/Fields/ShareholderFlgField.d.ts +2 -0
  240. package/mobile/dist/ui-kit/FormField/Fields/ShareholderFlgField.js +9 -0
  241. package/mobile/dist/ui-kit/FormField/Fields/ShareholderFlgField.js.map +1 -0
  242. package/mobile/dist/ui-kit/FormField/NameFieldDef.d.ts +1 -1
  243. package/mobile/dist/ui-kit/FormField/getField.js +20 -0
  244. package/mobile/dist/ui-kit/FormField/getField.js.map +1 -1
  245. package/mobile/dist/ui-kit/FormField/getObjectValidator.js +9 -0
  246. package/mobile/dist/ui-kit/FormField/getObjectValidator.js.map +1 -1
  247. package/mobile/dist/ui-kit/InfoCard/InfoCard.js +1 -1
  248. package/mobile/dist/ui-kit/InfoCard/InfoCard.js.map +1 -1
  249. package/mobile/dist/ui-kit/ProgressBar/ProgressBar.d.ts +1 -0
  250. package/mobile/dist/ui-kit/ProgressBar/ProgressBar.js +1 -1
  251. package/mobile/dist/ui-kit/ProgressBar/ProgressBar.js.map +1 -1
  252. package/mobile/lib/common.css +1 -1
  253. package/mobile/lib/components/ApplicationForm/ApplicationFormContent.d.ts +9 -1
  254. package/mobile/lib/components/ApplicationForm/renderInputs.d.ts +3 -0
  255. package/mobile/lib/components/ApplicationForm/renderInputs.js +13 -0
  256. package/mobile/lib/components/ApplicationForm/renderInputs.js.map +1 -0
  257. package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadForm.js +1 -11
  258. package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
  259. package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +11 -3
  260. package/mobile/lib/components/ApplicationLeadForm/getInitialFormState.d.ts +10 -0
  261. package/mobile/lib/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
  262. package/mobile/lib/components/Blocks.js +2 -0
  263. package/mobile/lib/components/Blocks.js.map +1 -1
  264. package/mobile/lib/components/CreditForm/CreditForm.d.ts +13 -0
  265. package/mobile/lib/components/CreditForm/CreditForm.js +38 -0
  266. package/mobile/lib/components/CreditForm/CreditForm.js.map +1 -0
  267. package/mobile/lib/components/CreditForm/CreditFormContent.d.ts +28 -0
  268. package/mobile/lib/components/CreditForm/CreditFormContent.js +2 -0
  269. package/mobile/lib/components/CreditForm/CreditFormContent.js.map +1 -0
  270. package/mobile/lib/components/CreditForm/CreditFormProgress.d.ts +6 -0
  271. package/mobile/lib/components/CreditForm/CreditFormProgress.js +9 -0
  272. package/mobile/lib/components/CreditForm/CreditFormProgress.js.map +1 -0
  273. package/mobile/lib/components/CreditForm/StepsNavigationButtons.d.ts +6 -0
  274. package/mobile/lib/components/CreditForm/StepsNavigationButtons.js +18 -0
  275. package/mobile/lib/components/CreditForm/StepsNavigationButtons.js.map +1 -0
  276. package/mobile/lib/components/CreditForm/creditFormStepsData.d.ts +140 -0
  277. package/mobile/lib/components/CreditForm/creditFormStepsData.js +215 -0
  278. package/mobile/lib/components/CreditForm/creditFormStepsData.js.map +1 -0
  279. package/mobile/lib/ui-kit/FormField/Fields/BankEmployeeCodeField.d.ts +2 -0
  280. package/mobile/lib/ui-kit/FormField/Fields/BankEmployeeCodeField.js +7 -0
  281. package/mobile/lib/ui-kit/FormField/Fields/BankEmployeeCodeField.js.map +1 -0
  282. package/mobile/lib/ui-kit/FormField/Fields/BankruptcyFlgField.d.ts +2 -0
  283. package/mobile/lib/ui-kit/FormField/Fields/BankruptcyFlgField.js +7 -0
  284. package/mobile/lib/ui-kit/FormField/Fields/BankruptcyFlgField.js.map +1 -0
  285. package/mobile/lib/ui-kit/FormField/Fields/CreditInRshbCdField.d.ts +2 -0
  286. package/mobile/lib/ui-kit/FormField/Fields/CreditInRshbCdField.js +12 -0
  287. package/mobile/lib/ui-kit/FormField/Fields/CreditInRshbCdField.js.map +1 -0
  288. package/mobile/lib/ui-kit/FormField/Fields/DisablePeopleFlgField.d.ts +2 -0
  289. package/mobile/lib/ui-kit/FormField/Fields/DisablePeopleFlgField.js +7 -0
  290. package/mobile/lib/ui-kit/FormField/Fields/DisablePeopleFlgField.js.map +1 -0
  291. package/mobile/lib/ui-kit/FormField/Fields/LegalEntityNameField.d.ts +2 -0
  292. package/mobile/lib/ui-kit/FormField/Fields/LegalEntityNameField.js +9 -0
  293. package/mobile/lib/ui-kit/FormField/Fields/LegalEntityNameField.js.map +1 -0
  294. package/mobile/lib/ui-kit/FormField/Fields/MandatoryIncome.d.ts +2 -0
  295. package/mobile/lib/ui-kit/FormField/Fields/MandatoryIncome.js +7 -0
  296. package/mobile/lib/ui-kit/FormField/Fields/MandatoryIncome.js.map +1 -0
  297. package/mobile/lib/ui-kit/FormField/Fields/OtherIncomeField.d.ts +2 -0
  298. package/mobile/lib/ui-kit/FormField/Fields/OtherIncomeField.js +7 -0
  299. package/mobile/lib/ui-kit/FormField/Fields/OtherIncomeField.js.map +1 -0
  300. package/mobile/lib/ui-kit/FormField/Fields/OtherPayments.d.ts +2 -0
  301. package/mobile/lib/ui-kit/FormField/Fields/OtherPayments.js +7 -0
  302. package/mobile/lib/ui-kit/FormField/Fields/OtherPayments.js.map +1 -0
  303. package/mobile/lib/ui-kit/FormField/Fields/RetirementIncomeField.d.ts +2 -0
  304. package/mobile/lib/ui-kit/FormField/Fields/RetirementIncomeField.js +7 -0
  305. package/mobile/lib/ui-kit/FormField/Fields/RetirementIncomeField.js.map +1 -0
  306. package/mobile/lib/ui-kit/FormField/Fields/ShareholderFlgField.d.ts +2 -0
  307. package/mobile/lib/ui-kit/FormField/Fields/ShareholderFlgField.js +7 -0
  308. package/mobile/lib/ui-kit/FormField/Fields/ShareholderFlgField.js.map +1 -0
  309. package/mobile/lib/ui-kit/FormField/NameFieldDef.d.ts +1 -1
  310. package/mobile/lib/ui-kit/FormField/getField.js +20 -0
  311. package/mobile/lib/ui-kit/FormField/getField.js.map +1 -1
  312. package/mobile/lib/ui-kit/FormField/getObjectValidator.js +9 -0
  313. package/mobile/lib/ui-kit/FormField/getObjectValidator.js.map +1 -1
  314. package/mobile/lib/ui-kit/InfoCard/InfoCard.js +1 -1
  315. package/mobile/lib/ui-kit/InfoCard/InfoCard.js.map +1 -1
  316. package/mobile/lib/ui-kit/ProgressBar/ProgressBar.d.ts +1 -0
  317. package/mobile/lib/ui-kit/ProgressBar/ProgressBar.js +1 -1
  318. package/mobile/lib/ui-kit/ProgressBar/ProgressBar.js.map +1 -1
  319. package/mobile/src/components/ApplicationForm/ApplicationFormContent.ts +11 -1
  320. package/mobile/src/components/ApplicationForm/renderInputs.tsx +25 -0
  321. package/mobile/src/components/ApplicationLeadForm/ApplicationLeadForm.tsx +2 -26
  322. package/mobile/src/components/ApplicationLeadForm/ApplicationLeadFormContent.ts +12 -2
  323. package/mobile/src/components/ApplicationLeadForm/getInitialFormState.tsx +10 -0
  324. package/mobile/src/components/Blocks.ts +2 -0
  325. package/mobile/src/components/CreditForm/CreditForm.tsx +76 -0
  326. package/mobile/src/components/CreditForm/CreditFormContent.ts +34 -0
  327. package/mobile/src/components/CreditForm/CreditFormProgress.tsx +27 -0
  328. package/mobile/src/components/CreditForm/StepsNavigationButtons.tsx +47 -0
  329. package/mobile/src/components/CreditForm/creditFormStepsData.tsx +215 -0
  330. package/mobile/src/ui-kit/FormField/Fields/BankEmployeeCodeField.tsx +15 -0
  331. package/mobile/src/ui-kit/FormField/Fields/BankruptcyFlgField.tsx +12 -0
  332. package/mobile/src/ui-kit/FormField/Fields/CreditInRshbCdField.tsx +22 -0
  333. package/mobile/src/ui-kit/FormField/Fields/DisablePeopleFlgField.tsx +12 -0
  334. package/mobile/src/ui-kit/FormField/Fields/LegalEntityNameField.tsx +15 -0
  335. package/mobile/src/ui-kit/FormField/Fields/MandatoryIncome.tsx +15 -0
  336. package/mobile/src/ui-kit/FormField/Fields/OtherIncomeField.tsx +15 -0
  337. package/mobile/src/ui-kit/FormField/Fields/OtherPayments.tsx +15 -0
  338. package/mobile/src/ui-kit/FormField/Fields/RetirementIncomeField.tsx +15 -0
  339. package/mobile/src/ui-kit/FormField/Fields/ShareholderFlgField.tsx +12 -0
  340. package/mobile/src/ui-kit/FormField/NameFieldDef.ts +11 -1
  341. package/mobile/src/ui-kit/FormField/getField.tsx +21 -0
  342. package/mobile/src/ui-kit/FormField/getObjectValidator.tsx +9 -0
  343. package/mobile/src/ui-kit/InfoCard/InfoCard.tsx +9 -7
  344. package/mobile/src/ui-kit/ProgressBar/ProgressBar.tsx +13 -10
  345. package/package.json +2 -2
  346. package/src/components/ApplicationForm/ApplicationFormContent.ts +11 -1
  347. package/src/components/ApplicationForm/renderInputs.tsx +25 -0
  348. package/src/components/ApplicationLeadForm/ApplicationLeadForm.tsx +2 -26
  349. package/src/components/ApplicationLeadForm/ApplicationLeadFormContent.ts +12 -2
  350. package/src/components/ApplicationLeadForm/getInitialFormState.tsx +10 -0
  351. package/src/components/Blocks.mobile.ts +2 -0
  352. package/src/components/Blocks.ts +2 -0
  353. package/src/components/CreditForm/CreditForm.fixture.tsx +6 -0
  354. package/src/components/CreditForm/CreditForm.tsx +76 -0
  355. package/src/components/CreditForm/CreditFormContent.ts +34 -0
  356. package/src/components/CreditForm/CreditFormProgress.tsx +27 -0
  357. package/src/components/CreditForm/StepsNavigationButtons.tsx +47 -0
  358. package/src/components/CreditForm/creditFormStepsData.tsx +215 -0
  359. package/src/icons/IconName.ts +6 -356
  360. package/src/ui-kit/FormField/Fields/BankEmployeeCodeField.tsx +15 -0
  361. package/src/ui-kit/FormField/Fields/BankruptcyFlgField.tsx +12 -0
  362. package/src/ui-kit/FormField/Fields/CreditInRshbCdField.tsx +22 -0
  363. package/src/ui-kit/FormField/Fields/DisablePeopleFlgField.tsx +12 -0
  364. package/src/ui-kit/FormField/Fields/LegalEntityNameField.tsx +15 -0
  365. package/src/ui-kit/FormField/Fields/MandatoryIncome.tsx +15 -0
  366. package/src/ui-kit/FormField/Fields/OtherIncomeField.tsx +15 -0
  367. package/src/ui-kit/FormField/Fields/OtherPayments.tsx +15 -0
  368. package/src/ui-kit/FormField/Fields/RetirementIncomeField.tsx +15 -0
  369. package/src/ui-kit/FormField/Fields/ShareholderFlgField.tsx +12 -0
  370. package/src/ui-kit/FormField/NameFieldDef.ts +11 -1
  371. package/src/ui-kit/FormField/getField.tsx +21 -0
  372. package/src/ui-kit/FormField/getObjectValidator.tsx +9 -0
  373. package/src/ui-kit/InfoCard/InfoCard.fixture.tsx +1 -1
  374. package/src/ui-kit/InfoCard/InfoCard.tsx +9 -7
  375. package/src/ui-kit/ProgressBar/ProgressBar.tsx +13 -10
@@ -1524,6 +1524,15 @@
1524
1524
  sex: defaultValidator('Укажите свой пол'),
1525
1525
  participantAddress: defaultValidator('Необходимо выбрать адрес'),
1526
1526
  participantDateRegistration: defaultValidator('Укажите дату регистрации'),
1527
+ retirementIncome: defaultValidator(),
1528
+ otherIncome: defaultValidator(),
1529
+ mandatoryIncome: defaultValidator(),
1530
+ otherPayments: defaultValidator(),
1531
+ disablePeopleFlg: defaultValidator(),
1532
+ bankruptcyFlg: defaultValidator(),
1533
+ shareholderFlg: defaultValidator(),
1534
+ legalEntityName: defaultValidator(),
1535
+ bankEmployeeCode: defaultValidator(),
1527
1536
  };
1528
1537
  const getObjectValidator = (inputs) => {
1529
1538
  const requiredInputs = getNamesFromInput(inputs.filter((_) => ('required' in _ ? _.required : false)));
@@ -1790,8 +1799,12 @@
1790
1799
 
1791
1800
  const ArmyIdFlgField = JSX(({ field }) => (jsx(CheckboxWithError, { text: "\u041D\u0430\u043B\u0438\u0447\u0438\u0435 \u0432\u043E\u0435\u043D\u043D\u043E\u0433\u043E \u0431\u0438\u043B\u0435\u0442\u0430", ...getValidation(field('armyIdFlg'), validatorObj.armyIdFlg) })));
1792
1801
 
1802
+ const BankEmpoleeCodeField = JSX(({ field, input }) => (jsx(InputControl, { label: "\u041A\u043E\u0434 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u0435\u043B\u044F \u0411\u0430\u043D\u043A\u0430", placeholder: "\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u043E\u0434", type: "number", ...getValidation(field('bankEmployeeCode'), validatorObj.bankEmployeeCode, input?.required), ...input })));
1803
+
1793
1804
  const BankEmpoleeField = JSX(({ field }) => (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') })));
1794
1805
 
1806
+ const BankruptcyFlgField = JSX(({ field }) => (jsx(CheckboxWithError, { text: "\u0412 \u043E\u0442\u043D\u043E\u0448\u0435\u043D\u0438\u0438 \u043C\u0435\u043D\u044F \u0432\u0435\u0434\u0451\u0442\u0441\u044F \u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0441\u0442\u0432\u043E \u043F\u043E \u0434\u0435\u043B\u0443 \u043E \u0431\u0430\u043D\u043A\u0440\u043E\u0442\u0441\u0442\u0432\u0435", ...getValidation(field('bankruptcyFlg'), validatorObj.bankruptcyFlg) })));
1807
+
1795
1808
  const useElementSpace = (ref, heightEl) => {
1796
1809
  const [spaceAbove, setSpaceAbove] = useState(false);
1797
1810
  useEffect(() => {
@@ -2077,10 +2090,20 @@
2077
2090
 
2078
2091
  const ConsentField = JSX(({ field, input }) => input && input.name ? (jsx(CheckboxWithDoc, { text: CONSENTS[input.name]?.text, docId: CONSENTS[input.name]?.docId, ...getValidation(field(input.name), validatorObj[input.name], input?.required) })) : null);
2079
2092
 
2093
+ const LABEL_TEXT =
2094
+ // eslint-disable-next-line max-len
2095
+ 'Имеет ли юридическое лицо, акционером / участником / членом / пайщиком / вкладчиком с долей участия более 20% уставного капитала руководителем, которого Вы являетесь, кредит в АО «Россельзбанк»';
2096
+ const CreditInRshbCdField = JSX(({ field, input }) => {
2097
+ const { data: creditInRshbCd } = useLeadFormData('creditInRshbCd');
2098
+ return (jsx(SelectField, { field: field, source: creditInRshbCd, label: LABEL_TEXT, fieldName: "creditInRshbCd", input: input }));
2099
+ });
2100
+
2080
2101
  const DependentsField = JSX(({ field, input }) => (jsx(InputControl, { label: "\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u0438\u0436\u0434\u0438\u0432\u0435\u043D\u0446\u0435\u0432", placeholder: "\u0417\u0430 \u0438\u0441\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0434\u0435\u0442\u0435\u0439 \u0434\u043E 18 \u043B\u0435\u0442", type: "number", ...getValidation(field('dependents'), validatorObj.dependents, input?.required), ...input })));
2081
2102
 
2082
2103
  const DesiredMeetingDateField = JSX(({ field, input }) => (jsx(DatePickerControl, { label: "\u0416\u0435\u043B\u0430\u0435\u043C\u0430\u044F \u0434\u0430\u0442\u0430 \u0432\u0441\u0442\u0440\u0435\u0447\u0438", ...getValidation(field('desiredMeetingDate'), validatorObj.meetingDay, input?.required) })));
2083
2104
 
2105
+ const DisablePeopleFlgField = JSX(({ field }) => (jsx(CheckboxWithError, { text: "\u042F\u0432\u043B\u044F\u044E\u0441\u044C \u0438\u043D\u0432\u0430\u043B\u0438\u0434\u043E\u043C", ...getValidation(field('disablePeopleFlg'), validatorObj.disablePeopleFlg) })));
2106
+
2084
2107
  const DulIssueDateField = JSX(({ field, input }) => (jsx(DatePickerControl, { label: "\u0414\u0430\u0442\u0430 \u0432\u044B\u0434\u0430\u0447\u0438", ...getValidation(field('dulIssueDateField'), validatorObj.dulIssueDateField, input?.required) })));
2085
2108
 
2086
2109
  const DulIssuedByField = JSX(({ field, input }) => {
@@ -2165,6 +2188,10 @@
2165
2188
 
2166
2189
  const LastJobExperienceField = JSX(({ field, input }) => (jsx(InputControl, { label: "\u0421\u0442\u0430\u0436 \u043D\u0430 \u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0435\u043C \u0440\u0430\u0431\u043E\u0447\u0435\u043C \u043C\u0435\u0441\u0442\u0435", placeholder: "\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u043B\u0435\u0442", ...getValidation(field('lastJobExperience'), validatorObj.lastJobExperience, input?.required), ...input })));
2167
2190
 
2191
+ const LegalEntityNameField = JSX(({ field, input }) => {
2192
+ return (jsx(InputControl, { label: "\u041D\u0430\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u0435 \u044E\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043A\u043E\u0433\u043E \u043B\u0438\u0446\u0430", ...input, ...getValidation(field('legalEntityName'), validatorObj.legalEntityName, input?.required) }));
2193
+ });
2194
+
2168
2195
  const LegalFormField = JSX(({ field, input }) => (jsx(InputControl, { label: "\u041E\u041F\u0424", placeholder: "\u041E\u041E\u041E, \u041F\u0410\u041E \u0438 \u0434\u0440.", ...getValidation(field('legalForm'), validatorObj.legalForm, input?.required), ...input })));
2169
2196
 
2170
2197
  const REGIONS_URL = '/api/v1/regions';
@@ -2187,6 +2214,8 @@
2187
2214
  return (jsx(SelectControl, { label: "\u041D\u0430\u0441\u0435\u043B\u0435\u043D\u043D\u044B\u0439 \u043F\u0443\u043D\u043A\u0442", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0433\u043E\u0440\u043E\u0434, \u0433\u0434\u0435 \u0434\u043E\u0441\u0442\u0443\u043F\u0435\u043D \u0441\u0435\u0440\u0432\u0438\u0441", options: localities, ...getValidation(field('localities'), validatorObj.localities, input?.required), isSearch: true }));
2188
2215
  });
2189
2216
 
2217
+ const MandatoryIncomeField = JSX(({ field, input }) => (jsx(InputControl, { label: "\u0421\u043E\u0432\u043E\u043A\u0443\u043F\u043D\u044B\u0439 \u0434\u043E\u0445\u043E\u0434 \u0432 \u043C\u0435\u0441\u044F\u0446 \u043F\u043E\u0441\u043B\u0435 \u0432\u044B\u0447\u0435\u0442\u0430 \u043D\u0430\u043B\u043E\u0433\u043E\u0432 (\u0437\u0430\u0440\u043F\u043B\u0430\u0442\u0430, \u043F\u0440\u0435\u043C\u0438\u0438)", placeholder: "\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435", type: "number", ...getValidation(field('mandatoryIncome'), validatorObj.mandatoryIncome, input?.required), ...input })));
2218
+
2190
2219
  const MiddleNameField = JSX(({ field, input }) => (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)", ...getValidation(field('middleName'), validatorObj.middleName), ...input })));
2191
2220
 
2192
2221
  const NameField = JSX(({ field, input }) => (jsx(InputControl, { label: "\u0418\u043C\u044F", ...getValidation(field('name'), validatorObj.name, input?.required), ...input })));
@@ -2208,6 +2237,10 @@
2208
2237
  return (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", ...input, ...getValidation(field('organizationName'), validatorObj.organizationName, input?.required), onDaDataChange: onDaDataChange }));
2209
2238
  });
2210
2239
 
2240
+ const OtherIncomeField = JSX(({ field, input }) => (jsx(InputControl, { label: "\u0418\u043D\u044B\u0435 \u0434\u043E\u0445\u043E\u0434\u044B", placeholder: "\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435", type: "number", ...getValidation(field('otherIncome'), validatorObj.otherIncome, input?.required), ...input })));
2241
+
2242
+ const OtherPaymentsField = JSX(({ field, input }) => (jsx(InputControl, { label: "\u041E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u0432\u044B\u043F\u043B\u0430\u0442\u044B", placeholder: "\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435", type: "number", ...getValidation(field('otherPayments'), validatorObj.otherPayments, input?.required), ...input })));
2243
+
2211
2244
  const ParticipantAddressField = JSX(({ field, input }) => (jsx(InputControl, { label: "\u0410\u0434\u0440\u0435\u0441", ...getValidation(field('participantAddress'), validatorObj.participantAddress, input?.required), ...input })));
2212
2245
 
2213
2246
  const ParticipantDateRegistrationField = JSX(({ field, input }) => (jsx(DatePickerControl, { label: "\u0414\u0430\u0442\u0430 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043F\u043E \u043C\u0435\u0441\u0442\u0443 \u0436\u0438\u0442\u0435\u043B\u044C\u0441\u0442\u0432\u0430", ...getValidation(field('participantDateRegistration'), validatorObj.participantDateRegistration, input?.required) })));
@@ -2269,6 +2302,8 @@
2269
2302
  return (jsx(SelectControl, { label: "\u0420\u0435\u0433\u0438\u043E\u043D", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0440\u0435\u0433\u0438\u043E\u043D", options: regions, ...getValidation(field('region'), validatorObj.region, input?.required) }));
2270
2303
  });
2271
2304
 
2305
+ const RetirementIncomeField = JSX(({ field, input }) => (jsx(InputControl, { label: "\u041F\u0435\u043D\u0441\u0438\u043E\u043D\u043D\u044B\u0435 \u0434\u043E\u0445\u043E\u0434\u044B", placeholder: "\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435", type: "number", ...getValidation(field('retirementIncome'), validatorObj.retirementIncome, input?.required), ...input })));
2306
+
2272
2307
  const SecondaryPhoneField = JSX(({ field }) => {
2273
2308
  const fieldPhone = field('secondaryPhone');
2274
2309
  return (jsx(InputPhoneControl, { label: "\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0439 \u0442\u0435\u043B\u0435\u0444\u043E\u043D", ...(!fieldPhone.value || fieldPhone.value === '+7 ('
@@ -2292,6 +2327,8 @@
2292
2327
  ];
2293
2328
  const SexField = JSX(({ field, input }) => (jsx(RadioButtonGroupControl, { label: "\u041F\u043E\u043B", orientation: "horizontal", items: SEX_TYPES, ...getValidation(field('sex'), validatorObj.sex, input?.required) })));
2294
2329
 
2330
+ const ShareholderFlgField = JSX(({ field }) => (jsx(CheckboxWithError, { text: "\u042F \u044F\u0432\u043B\u044F\u044E\u0441\u044C \u0430\u043A\u0446\u0438\u043E\u043D\u0435\u0440\u043E\u043C / \u0443\u0447\u0430\u0441\u0442\u043D\u0438\u043A\u043E\u043C / \u0447\u043B\u0435\u043D\u043E\u043C / \u043F\u0430\u0439\u0449\u0438\u043A\u043E\u043C / \u0432\u043A\u043B\u0430\u0434\u0447\u0438\u043A\u043E\u043C \u0441 \u0434\u043E\u043B\u0435\u0439 \u0443\u0447\u0430\u0441\u0442\u0438\u044F \u0431\u043E\u043B\u0435\u0435 20% \u0443\u0441\u0442\u0430\u0432\u043D\u043E\u0433\u043E \u043A\u0430\u043F\u0438\u0442\u0430\u043B\u0430 \u044E\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043A\u043E\u0433\u043E \u043B\u0438\u0446\u0430", ...getValidation(field('shareholderFlg'), validatorObj.shareholderFlg) })));
2331
+
2295
2332
  const isPlaceholder = (_) => _ === '_';
2296
2333
  const isDigit = (_) => /\d/.test(_);
2297
2334
  const isWildcard = (_) => isPlaceholder(_) || isDigit(_);
@@ -2441,6 +2478,16 @@
2441
2478
  dulIssuedBy: jsx(DulIssuedByField, { field: field, input: input }),
2442
2479
  participantAddress: jsx(ParticipantAddressField, { field: field, input: input }),
2443
2480
  participantDateRegistration: jsx(ParticipantDateRegistrationField, { field: field, input: input }),
2481
+ retirementIncome: jsx(RetirementIncomeField, { field: field, input: input }),
2482
+ otherIncome: jsx(OtherIncomeField, { field: field, input: input }),
2483
+ mandatoryIncome: jsx(MandatoryIncomeField, { field: field, input: input }),
2484
+ otherPayments: jsx(OtherPaymentsField, { field: field, input: input }),
2485
+ disablePeopleFlg: jsx(DisablePeopleFlgField, { field: field, input: input }),
2486
+ bankruptcyFlg: jsx(BankruptcyFlgField, { field: field, input: input }),
2487
+ shareholderFlg: jsx(ShareholderFlgField, { field: field, input: input }),
2488
+ legalEntityName: jsx(LegalEntityNameField, { field: field, input: input }),
2489
+ creditInRshbCd: jsx(CreditInRshbCdField, { field: field, input: input }),
2490
+ bankEmployeeCode: jsx(BankEmpoleeCodeField, { field: field, input: input }),
2444
2491
  };
2445
2492
  return isRenderField({ input, field }) ? (jsx("div", { children: InputsMap[input?.name] }, String(i))) : null;
2446
2493
  };
@@ -2641,53 +2688,6 @@
2641
2688
  return [storedValue, setValue];
2642
2689
  }
2643
2690
 
2644
- const initialFormState = {
2645
- typeForm: '',
2646
- region: { key: '', text: '' },
2647
- addressBranch: { key: '', text: '' },
2648
- surname: '',
2649
- name: '',
2650
- phone: '',
2651
- secondaryPhone: '',
2652
- comment: '',
2653
- product: '',
2654
- partnerComments: '',
2655
- annualRevenue: '',
2656
- term: 12,
2657
- amount: 100000,
2658
- acquiringType: ACQUIRING_TYPES[0],
2659
- serviceType: SERVICE_TYPES[0],
2660
- feedbackMethod: FEEDBACK_METHOD[0],
2661
- serviceDirection: SERVICE_DIRECTIONS[0],
2662
- vedTypes: VED_TYPES[0],
2663
- birthday: undefined,
2664
- isClient: false,
2665
- onlineCheckout: false,
2666
- posTerminal: false,
2667
- consentToReceiveMaterials: false,
2668
- consentDataProcessing: false,
2669
- processPersonalDataLeadFlg: false,
2670
- consentProviderFlg: false,
2671
- consentPhotoFlg: false,
2672
- consentAssignmentClaimsFlg: false,
2673
- consentCollectionFlg: false,
2674
- consentInformFlg: false,
2675
- participantAddress: '',
2676
- participantDateRegistration: undefined,
2677
- };
2678
- const getInitialFormState = (inputs, savedForm, typeForm = '') => {
2679
- if (savedForm) {
2680
- const formState = JSON.parse(savedForm);
2681
- formState.birthday = new Date(formState?.birthday || 0);
2682
- return formState;
2683
- }
2684
- const formState = Object.fromEntries(inputs.map((_) => [
2685
- _.name,
2686
- (_.fieldType === 'ved' && _?.defaultValue) || initialFormState[_.name],
2687
- ]));
2688
- return { ...formState, typeForm: { key: typeForm, text: '' } };
2689
- };
2690
-
2691
2691
  const Foldable = JSX(({ className = '', isFoldButtonOnTop = false, unfoldedByDefault = false, renderFoldableSection, renderFoldButton, }) => {
2692
2692
  const [isUnfolded, setIsUnfolded] = useState(unfoldedByDefault);
2693
2693
  const onToggle = useCallback(() => {
@@ -2745,6 +2745,62 @@
2745
2745
  });
2746
2746
  const renderGeneralCheckbox = (generalCheckBox) => (foldableData) => (jsxs("div", { className: "flex items-start", children: [generalCheckBox, jsx("button", { onClick: foldableData.onToggle, className: "px-m py-2xs", children: jsx(Icon, { className: "text-primary-text", name: foldableData.isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', width: "16", height: "16" }) })] }));
2747
2747
 
2748
+ const renderInputs = ({ field, typeForm = '', inputs }) => {
2749
+ const { consentInputs, restInputs } = splitInputs(inputs || []);
2750
+ return consentInputs.length > 2 ? (jsxs("div", { children: [restInputs.map(getField(field, typeForm)), jsx(GroupedConsents, { inputs: consentInputs, field: field })] })) : ((inputs || [])?.map(getField(field, typeForm)));
2751
+ };
2752
+ const splitInputs = (inputs) => ({
2753
+ consentInputs: inputs?.filter((_) => Object.keys(CONSENTS).includes(_.name)) || [],
2754
+ restInputs: inputs?.filter((_) => !Object.keys(CONSENTS).includes(_.name)) || [],
2755
+ });
2756
+
2757
+ const initialFormState = {
2758
+ typeForm: '',
2759
+ region: { key: '', text: '' },
2760
+ addressBranch: { key: '', text: '' },
2761
+ surname: '',
2762
+ name: '',
2763
+ phone: '',
2764
+ secondaryPhone: '',
2765
+ comment: '',
2766
+ product: '',
2767
+ partnerComments: '',
2768
+ annualRevenue: '',
2769
+ term: 12,
2770
+ amount: 100000,
2771
+ acquiringType: ACQUIRING_TYPES[0],
2772
+ serviceType: SERVICE_TYPES[0],
2773
+ feedbackMethod: FEEDBACK_METHOD[0],
2774
+ serviceDirection: SERVICE_DIRECTIONS[0],
2775
+ vedTypes: VED_TYPES[0],
2776
+ birthday: undefined,
2777
+ isClient: false,
2778
+ onlineCheckout: false,
2779
+ posTerminal: false,
2780
+ consentToReceiveMaterials: false,
2781
+ consentDataProcessing: false,
2782
+ processPersonalDataLeadFlg: false,
2783
+ consentProviderFlg: false,
2784
+ consentPhotoFlg: false,
2785
+ consentAssignmentClaimsFlg: false,
2786
+ consentCollectionFlg: false,
2787
+ consentInformFlg: false,
2788
+ participantAddress: '',
2789
+ participantDateRegistration: undefined,
2790
+ };
2791
+ const getInitialFormState = (inputs, savedForm, typeForm = '') => {
2792
+ if (savedForm) {
2793
+ const formState = JSON.parse(savedForm);
2794
+ formState.birthday = new Date(formState?.birthday || 0);
2795
+ return formState;
2796
+ }
2797
+ const formState = Object.fromEntries(inputs.map((_) => [
2798
+ _.name,
2799
+ (_.fieldType === 'ved' && _?.defaultValue) || initialFormState[_.name],
2800
+ ]));
2801
+ return { ...formState, typeForm: { key: typeForm, text: '' } };
2802
+ };
2803
+
2748
2804
  const renderSubmitButton = (button, className) => (jsx(Button, { className: style('w-full @xl:w-auto', className), type: "submit", children: button?.text ? button.text : 'Отправить заявку' }));
2749
2805
 
2750
2806
  const getUpdateUserProfileData = (profileId, formData) => {
@@ -3140,14 +3196,6 @@
3140
3196
  }, [responseType]);
3141
3197
  return (jsx(ApplicationFormLayout, { className: style('container space-y-m', className), title: title, ...rest, children: jsxs("form", { onSubmit: onSubmit, className: "space-y-m", children: [sections.map((_, i) => (jsxs("div", { className: style(inputColumnStyles(_.columns), 'grid gap-x-m'), children: [renderTitle(_.title), renderInputs({ field, typeForm, inputs: _?.inputs })] }, `section-${i}`))), renderSubmitButton(button)] }) }));
3142
3198
  });
3143
- const renderInputs = ({ field, typeForm = '', inputs }) => {
3144
- const { consentInputs, restInputs } = splitInputs(inputs || []);
3145
- return consentInputs.length > 2 ? (jsxs("div", { children: [restInputs.map(getField(field, typeForm)), jsx(GroupedConsents, { inputs: consentInputs, field: field })] })) : ((inputs || [])?.map(getField(field, typeForm)));
3146
- };
3147
- const splitInputs = (inputs) => ({
3148
- consentInputs: inputs?.filter((_) => Object.keys(CONSENTS).includes(_.name)) || [],
3149
- restInputs: inputs?.filter((_) => !Object.keys(CONSENTS).includes(_.name)) || [],
3150
- });
3151
3199
 
3152
3200
  const NotFound = JSX(({ title, description }) => {
3153
3201
  const isMobileMode = useMobileMode();
@@ -4769,6 +4817,268 @@
4769
4817
  }
4770
4818
  }, type: "button", ...(isUnfolded ? getAspectsAttributes(data) : {}), children: [jsx("div", { children: isUnfolded ? 'Скрыть' : 'Подробнее о тарифе' }), jsx(Icon, { className: "text-primary-text", name: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', width: "16", height: "16" })] }));
4771
4819
 
4820
+ const InfoCard = JSX(({ __html, icon = 'InfoCircleIcon', iconVersion = 'black' }) => (jsxs("div", { className: "flex flex-row items-center w-full min-h-14 bg-main-gray rounded-lg gap-m p-m", children: [jsx("div", { className: "rounded-full bg-white p-xs", children: jsx(Icon, { name: icon, width: "24", height: "24", iconVersion: iconVersion }) }), jsx(RichText, { __html: __html })] })));
4821
+
4822
+ const ProgressBar = JSX(({ step = 10, description, showPercentage = true }) => (jsxs("div", { children: [jsx("div", { className: "h-4 w-full bg-gray relative", children: jsx("div", { className: "h-4 bg-green", style: { width: `${step}%` } }) }), jsxs("div", { className: "relative", children: [showPercentage ? jsxs("div", { className: "absolute left-2/4 text-green", children: [step, "%"] }) : null, description ? jsx("div", { className: "text-right mr-4 text-gray", children: description }) : null] })] })));
4823
+
4824
+ const CreditFormProgress = JSX(({ step = 1, totalSteps = 5, stepsTitles = [] }) => {
4825
+ const progress = useMemo(() => (step / totalSteps) * 100, [step, totalSteps]);
4826
+ return (jsx("div", { className: "py-lg px-5xl bg-white col-span-12", children: jsxs("div", { children: [jsxs("span", { className: "font-bold", children: ["\u0428\u0430\u0433 ", step, " \u0438\u0437 ", totalSteps, "."] }), ' ', stepsTitles[step - 1] || null, jsx(ProgressBar, { step: progress, showPercentage: false })] }) }));
4827
+ });
4828
+
4829
+ /* eslint-disable max-lines */
4830
+ /* eslint-disable max-len */
4831
+ const stepsSectionsMap = {
4832
+ 1: [
4833
+ {
4834
+ title: 'Персональные данные',
4835
+ columns: 2,
4836
+ inputs: [
4837
+ { fieldType: 'common', name: 'surname', required: true, dadata: true },
4838
+ { fieldType: 'common', name: 'name', required: true, dadata: true },
4839
+ { fieldType: 'common', name: 'middleName', dadata: true },
4840
+ { fieldType: 'common', name: 'sex', required: true },
4841
+ { fieldType: 'common', name: 'birthday', required: true },
4842
+ { fieldType: 'common', name: 'birthPlace', required: true },
4843
+ { fieldType: 'common', name: 'phone', required: true },
4844
+ { fieldType: 'common', name: 'email', required: true, dadata: true },
4845
+ ],
4846
+ },
4847
+ {
4848
+ title: 'Паспортные данные',
4849
+ columns: 2,
4850
+ inputs: [
4851
+ { fieldType: 'common', name: 'dulSerie', required: true },
4852
+ { fieldType: 'common', name: 'dulNumber', required: true },
4853
+ { fieldType: 'common', name: 'dulIssueDateField', required: true },
4854
+ { fieldType: 'common', name: 'dulSubdivisionCode', required: true, dadata: true },
4855
+ ],
4856
+ },
4857
+ {
4858
+ inputs: [
4859
+ { fieldType: 'common', name: 'dulIssuedBy', required: true, dadata: true },
4860
+ {
4861
+ fieldType: 'common',
4862
+ name: 'education',
4863
+ required: true,
4864
+ },
4865
+ ],
4866
+ },
4867
+ {
4868
+ title: 'Адрес регистрации по месту жительства',
4869
+ columns: 2,
4870
+ inputs: [
4871
+ { fieldType: 'common', name: 'participantAddress', required: true },
4872
+ { fieldType: 'common', name: 'participantAddress', required: true, dadata: true },
4873
+ ],
4874
+ },
4875
+ {
4876
+ title: 'Адрес фактического проживания (место пребывания РФ)',
4877
+ columns: 2,
4878
+ inputs: [
4879
+ { fieldType: 'common', name: 'fullAddress', required: true, dadata: true },
4880
+ { fieldType: 'common', name: 'housing', required: true },
4881
+ ],
4882
+ },
4883
+ ],
4884
+ 2: [
4885
+ {
4886
+ title: 'Данные о трудоустройстве',
4887
+ inputs: [],
4888
+ },
4889
+ {
4890
+ inputs: [
4891
+ {
4892
+ fieldType: 'info',
4893
+ text: 'Клиент на момент оформления заявки на кредит должен быть: официально трудоустроен более 6 месяцев, если Клиент получает з/п на счет РСХБ, то трудоустроен более 3 месяцев, не должен находиться в декретном отпуске',
4894
+ },
4895
+ ],
4896
+ },
4897
+ {
4898
+ inputs: [
4899
+ { fieldType: 'common', name: 'employment', required: true },
4900
+ { fieldType: 'common', name: 'organizationName', required: true, dadata: true },
4901
+ ],
4902
+ },
4903
+ {
4904
+ columns: 2,
4905
+ inputs: [
4906
+ { fieldType: 'common', name: 'inn', required: true, dadata: true },
4907
+ { fieldType: 'common', name: 'legalForm', required: true },
4908
+ ],
4909
+ },
4910
+ {
4911
+ inputs: [
4912
+ { fieldType: 'common', name: 'organization', required: true },
4913
+ { fieldType: 'common', name: 'amountWorkers', required: true },
4914
+ ],
4915
+ },
4916
+ {
4917
+ columns: 2,
4918
+ inputs: [
4919
+ { fieldType: 'common', name: 'employerActivities', required: true },
4920
+ { fieldType: 'common', name: 'employerOrganization', required: true },
4921
+ { fieldType: 'common', name: 'generalSeniority', required: true },
4922
+ { fieldType: 'common', name: 'lastJobExperience', required: true },
4923
+ { fieldType: 'common', name: 'experience5Years', required: true },
4924
+ { fieldType: 'common', name: 'jobsNumber', required: true },
4925
+ ],
4926
+ },
4927
+ {
4928
+ inputs: [
4929
+ { fieldType: 'common', name: 'phone', label: 'Телефон работодателя', required: true },
4930
+ { fieldType: 'common', name: 'beginDate', required: true },
4931
+ { fieldType: 'common', name: 'positionOrganization', required: true },
4932
+ ],
4933
+ },
4934
+ {
4935
+ title: 'Адрес работодателя',
4936
+ inputs: [],
4937
+ },
4938
+ {
4939
+ inputs: [{ fieldType: 'common', name: 'fullAddress', required: true }],
4940
+ },
4941
+ ],
4942
+ 3: [
4943
+ {
4944
+ title: 'Семейное положение',
4945
+ },
4946
+ {
4947
+ columns: 1,
4948
+ inputs: [{ fieldType: 'common', name: 'familyStatus' }],
4949
+ },
4950
+ {
4951
+ columns: 1,
4952
+ inputs: [{ fieldType: 'common', name: 'dependents' }],
4953
+ },
4954
+ {
4955
+ columns: 2,
4956
+ inputs: [
4957
+ { fieldType: 'common', name: 'familyMembers' },
4958
+ { fieldType: 'common', name: 'familyMembers' },
4959
+ { fieldType: 'common', name: 'retirementIncome' },
4960
+ { fieldType: 'common', name: 'otherIncome' },
4961
+ ],
4962
+ },
4963
+ {
4964
+ title: 'Совокупный доход',
4965
+ },
4966
+ {
4967
+ inputs: [
4968
+ {
4969
+ fieldType: 'info',
4970
+ text: 'Сумма основного и дополнительных доходов после вычета налога',
4971
+ },
4972
+ ],
4973
+ },
4974
+ {
4975
+ columns: 1,
4976
+ inputs: [{ fieldType: 'common', name: 'mandatoryIncome' }],
4977
+ },
4978
+ {
4979
+ columns: 1,
4980
+ inputs: [{ fieldType: 'common', name: 'otherPayments' }],
4981
+ },
4982
+ {
4983
+ columns: 1,
4984
+ inputs: [{ fieldType: 'common', name: 'snils' }],
4985
+ },
4986
+ {
4987
+ columns: 2,
4988
+ inputs: [{ fieldType: 'common', name: 'armyIdFlg' }],
4989
+ },
4990
+ ],
4991
+ 4: [
4992
+ {
4993
+ title: 'Дополнительные сведения',
4994
+ columns: 1,
4995
+ inputs: [],
4996
+ },
4997
+ {
4998
+ inputs: [{ fieldType: 'common', name: 'disablePeopleFlg' }],
4999
+ },
5000
+ {
5001
+ inputs: [{ fieldType: 'common', name: 'bankruptcyFlg' }],
5002
+ },
5003
+ {
5004
+ inputs: [{ fieldType: 'common', name: 'shareholderFlg' }],
5005
+ },
5006
+ {
5007
+ inputs: [{ fieldType: 'common', name: 'legalEntityName' }],
5008
+ },
5009
+ {
5010
+ inputs: [{ fieldType: 'common', name: 'creditInRshbCd' }],
5011
+ },
5012
+ ],
5013
+ 5: [
5014
+ {
5015
+ title: 'Отделение Банка',
5016
+ columns: 1,
5017
+ inputs: [],
5018
+ },
5019
+ {
5020
+ inputs: [{ fieldType: 'common', name: 'region' }],
5021
+ },
5022
+ {
5023
+ inputs: [{ fieldType: 'common', name: 'addressBranch' }],
5024
+ },
5025
+ {
5026
+ title: 'Код представителя Банка',
5027
+ columns: 1,
5028
+ inputs: [],
5029
+ },
5030
+ {
5031
+ inputs: [
5032
+ {
5033
+ fieldType: 'info',
5034
+ text: 'Если представитель Банка помогал Вам в заведении заявки, введите здесь его код',
5035
+ },
5036
+ ],
5037
+ },
5038
+ {
5039
+ inputs: [{ fieldType: 'common', name: 'bankEmployeeCode' }],
5040
+ },
5041
+ ],
5042
+ };
5043
+
5044
+ const StepsNavigationButtons = JSX(({ step, setStep, totalSteps }) => {
5045
+ const handleNext = () => {
5046
+ if (step < totalSteps) {
5047
+ setStep(step + 1);
5048
+ }
5049
+ };
5050
+ const handlePrev = () => {
5051
+ if (step > 1) {
5052
+ setStep(step - 1);
5053
+ }
5054
+ };
5055
+ return (jsxs("div", { className: 'flex justify-between', children: [jsx(Button, { onClick: handlePrev, className: style('w-full @xl:w-auto'), type: "button", version: "secondary", disabled: step === 1, children: "\u041D\u0430\u0437\u0430\u0434" }), jsx(Button, { onClick: handleNext, className: style('w-full @xl:w-auto'), type: "button", disabled: step === totalSteps, children: "\u0414\u0430\u043B\u0435\u0435" })] }));
5056
+ });
5057
+
5058
+ const STEPS_COUNT = 5;
5059
+ const STEPS_TITLES = [
5060
+ 'Персональные данные',
5061
+ 'Данные о трудоустройстве',
5062
+ 'Данные о доходах и расходах',
5063
+ 'Дополнительные сведения',
5064
+ 'Отделение Банка',
5065
+ ];
5066
+ const CreditForm = JSX(({ className, typeForm = '', sections = [], ...rest }) => {
5067
+ const [step, setStep] = useState(1);
5068
+ const inputs = (sections?.flatMap((_) => _?.inputs) || []);
5069
+ const initialFormState = getInitialFormState(inputs, typeForm);
5070
+ const handleSubmit = () => false;
5071
+ const [, { field, onSubmit }] = useForm(initialFormState, { onSubmit: handleSubmit });
5072
+ return (jsx(BlockWrapper, { className: style('bg-transparent', className), defaultPadding: "p-6xl", ...rest, children: jsxs("div", { className: "container grid grid-cols-12", children: [jsx(CreditFormProgress, { stepsTitles: STEPS_TITLES, step: step, totalSteps: STEPS_COUNT }), jsx("div", { className: "py-lg px-5xl mt-2xs bg-white col-span-12", children: jsxs("form", { onSubmit: onSubmit, className: "space-y-m", children: [renderStep({ sections: stepsSectionsMap[step], typeForm, field }), jsx(StepsNavigationButtons, { step: step, setStep: setStep, totalSteps: STEPS_COUNT })] }) })] }) }));
5073
+ });
5074
+ const renderStep = ({ sections, field, typeForm }) => {
5075
+ return sections.map((_, i) => (jsxs("div", { className: style(inputColumnStyles(_.columns), 'grid gap-x-m'), children: [renderInfo$1(_?.inputs), renderTitle(_?.title), renderInputs({ field, typeForm, inputs: _?.inputs })] }, `section-${i}`)));
5076
+ };
5077
+ const renderInfo$1 = (inputs = []) => {
5078
+ const infoInputs = inputs.filter((_) => _.fieldType === 'info');
5079
+ return infoInputs.length ? infoInputs.map(({ text }) => jsx(InfoCard, { __html: text })) : null;
5080
+ };
5081
+
4772
5082
  const isRateRow = (rateRow) => typeof rateRow?.minMonths === 'number' && typeof rateRow?.maxMonths === 'number';
4773
5083
 
4774
5084
  const numberRange = (start, end) => Array.from({ length: end - start + 1 }, (_, i) => start + i);
@@ -7025,6 +7335,7 @@
7025
7335
  CarouselLinks,
7026
7336
  CarouselRecommendationCard,
7027
7337
  CarouselTariffsCard,
7338
+ CreditForm,
7028
7339
  DepositFiltration,
7029
7340
  Depository,
7030
7341
  ErrorBlock,
@@ -7193,7 +7504,7 @@
7193
7504
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
7194
7505
  });
7195
7506
 
7196
- const packageVersion = "0.14.602";
7507
+ const packageVersion = "0.14.604";
7197
7508
 
7198
7509
  exports.Blocks = Blocks;
7199
7510
  exports.ContentPage = ContentPage;