@redneckz/wildless-cms-uni-blocks 0.14.120 → 0.14.122

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 (293) hide show
  1. package/bundle/bundle.umd.js +29 -23
  2. package/bundle/bundle.umd.min.js +1 -1
  3. package/bundle/components/ApplicationForm/ApplicationFieldsetLayout.d.ts +7 -0
  4. package/bundle/components/ApplicationForm/ApplicationFormIndividuals.d.ts +9 -0
  5. package/bundle/components/ApplicationForm/ApplicationFormWed.d.ts +11 -0
  6. package/bundle/components/ApplicationForm/renderErrorText.d.ts +2 -0
  7. package/bundle/components/ApplicationForm/renderIndividualsFields.d.ts +1 -1
  8. package/bundle/components/ApplicationForm/renderQuestionsInterested.d.ts +1 -1
  9. package/bundle/components/ApplicationForm/renderWedDataOrganization.d.ts +1 -1
  10. package/bundle/components/ApplicationForm/renderWedTextarea.d.ts +1 -1
  11. package/dist/components/ApplicationForm/ApplicationFieldsetLayout.d.ts +7 -0
  12. package/dist/components/ApplicationForm/ApplicationFieldsetLayout.js +7 -0
  13. package/dist/components/ApplicationForm/ApplicationFieldsetLayout.js.map +1 -0
  14. package/dist/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
  15. package/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  16. package/dist/components/ApplicationForm/ApplicationFormCredit.js +1 -1
  17. package/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  18. package/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  19. package/dist/components/ApplicationForm/ApplicationFormIndividuals.d.ts +9 -0
  20. package/dist/components/ApplicationForm/ApplicationFormIndividuals.js.map +1 -1
  21. package/dist/components/ApplicationForm/ApplicationFormWed.d.ts +11 -0
  22. package/dist/components/ApplicationForm/ApplicationFormWed.js +1 -1
  23. package/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  24. package/dist/components/ApplicationForm/DatePickerControl.js +2 -1
  25. package/dist/components/ApplicationForm/DatePickerControl.js.map +1 -1
  26. package/dist/components/ApplicationForm/InputControl.js +2 -2
  27. package/dist/components/ApplicationForm/InputControl.js.map +1 -1
  28. package/dist/components/ApplicationForm/PhoneInputControl.js +2 -2
  29. package/dist/components/ApplicationForm/PhoneInputControl.js.map +1 -1
  30. package/dist/components/ApplicationForm/ResponseNotification.js +2 -1
  31. package/dist/components/ApplicationForm/ResponseNotification.js.map +1 -1
  32. package/dist/components/ApplicationForm/SelectControl.js +2 -2
  33. package/dist/components/ApplicationForm/SelectControl.js.map +1 -1
  34. package/dist/components/ApplicationForm/renderAcquiringDataOrganization.js +2 -1
  35. package/dist/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
  36. package/dist/components/ApplicationForm/renderAcquiringRegion.js +2 -1
  37. package/dist/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
  38. package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js +2 -1
  39. package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
  40. package/dist/components/ApplicationForm/renderCreditDataOrganization.js +2 -1
  41. package/dist/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
  42. package/dist/components/ApplicationForm/renderErrorText.d.ts +2 -0
  43. package/dist/components/ApplicationForm/renderErrorText.js +7 -0
  44. package/dist/components/ApplicationForm/renderErrorText.js.map +1 -0
  45. package/dist/components/ApplicationForm/renderIndividualsFields.d.ts +1 -1
  46. package/dist/components/ApplicationForm/renderIndividualsFields.js +2 -1
  47. package/dist/components/ApplicationForm/renderIndividualsFields.js.map +1 -1
  48. package/dist/components/ApplicationForm/renderQuestionsInterested.d.ts +1 -1
  49. package/dist/components/ApplicationForm/renderQuestionsInterested.js +1 -1
  50. package/dist/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
  51. package/dist/components/ApplicationForm/renderRegionDepartment.js +5 -4
  52. package/dist/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
  53. package/dist/components/ApplicationForm/renderWedDataOrganization.d.ts +1 -1
  54. package/dist/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
  55. package/dist/components/ApplicationForm/renderWedTextarea.d.ts +1 -1
  56. package/dist/components/Footer/Contacts.js +5 -4
  57. package/dist/components/Footer/Contacts.js.map +1 -1
  58. package/lib/common.css +1 -1
  59. package/lib/components/ApplicationForm/ApplicationFieldsetLayout.d.ts +7 -0
  60. package/lib/components/ApplicationForm/ApplicationFieldsetLayout.js +5 -0
  61. package/lib/components/ApplicationForm/ApplicationFieldsetLayout.js.map +1 -0
  62. package/lib/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
  63. package/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  64. package/lib/components/ApplicationForm/ApplicationFormCredit.js +1 -1
  65. package/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  66. package/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  67. package/lib/components/ApplicationForm/ApplicationFormIndividuals.d.ts +9 -0
  68. package/lib/components/ApplicationForm/ApplicationFormIndividuals.js.map +1 -1
  69. package/lib/components/ApplicationForm/ApplicationFormWed.d.ts +11 -0
  70. package/lib/components/ApplicationForm/ApplicationFormWed.js +1 -1
  71. package/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  72. package/lib/components/ApplicationForm/DatePickerControl.js +2 -1
  73. package/lib/components/ApplicationForm/DatePickerControl.js.map +1 -1
  74. package/lib/components/ApplicationForm/InputControl.js +2 -2
  75. package/lib/components/ApplicationForm/InputControl.js.map +1 -1
  76. package/lib/components/ApplicationForm/PhoneInputControl.js +2 -2
  77. package/lib/components/ApplicationForm/PhoneInputControl.js.map +1 -1
  78. package/lib/components/ApplicationForm/ResponseNotification.js +2 -1
  79. package/lib/components/ApplicationForm/ResponseNotification.js.map +1 -1
  80. package/lib/components/ApplicationForm/SelectControl.js +2 -2
  81. package/lib/components/ApplicationForm/SelectControl.js.map +1 -1
  82. package/lib/components/ApplicationForm/renderAcquiringDataOrganization.js +2 -1
  83. package/lib/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
  84. package/lib/components/ApplicationForm/renderAcquiringRegion.js +3 -2
  85. package/lib/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
  86. package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js +2 -1
  87. package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
  88. package/lib/components/ApplicationForm/renderCreditDataOrganization.js +2 -1
  89. package/lib/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
  90. package/lib/components/ApplicationForm/renderErrorText.d.ts +1 -0
  91. package/lib/components/ApplicationForm/renderErrorText.js +4 -0
  92. package/lib/components/ApplicationForm/renderErrorText.js.map +1 -0
  93. package/lib/components/ApplicationForm/renderIndividualsFields.d.ts +1 -1
  94. package/lib/components/ApplicationForm/renderIndividualsFields.js +2 -1
  95. package/lib/components/ApplicationForm/renderIndividualsFields.js.map +1 -1
  96. package/lib/components/ApplicationForm/renderQuestionsInterested.d.ts +1 -1
  97. package/lib/components/ApplicationForm/renderQuestionsInterested.js +1 -1
  98. package/lib/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
  99. package/lib/components/ApplicationForm/renderRegionDepartment.js +6 -5
  100. package/lib/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
  101. package/lib/components/ApplicationForm/renderWedDataOrganization.d.ts +1 -1
  102. package/lib/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
  103. package/lib/components/ApplicationForm/renderWedTextarea.d.ts +1 -1
  104. package/lib/components/Footer/Contacts.js +5 -4
  105. package/lib/components/Footer/Contacts.js.map +1 -1
  106. package/mobile/bundle/bundle.umd.js +27 -21
  107. package/mobile/bundle/bundle.umd.min.js +1 -1
  108. package/mobile/bundle/components/ApplicationForm/ApplicationFieldsetLayout.d.ts +7 -0
  109. package/mobile/bundle/components/ApplicationForm/ApplicationFormIndividuals.d.ts +9 -0
  110. package/mobile/bundle/components/ApplicationForm/ApplicationFormWed.d.ts +11 -0
  111. package/mobile/bundle/components/ApplicationForm/renderErrorText.d.ts +2 -0
  112. package/mobile/bundle/components/ApplicationForm/renderIndividualsFields.d.ts +1 -1
  113. package/mobile/bundle/components/ApplicationForm/renderQuestionsInterested.d.ts +1 -1
  114. package/mobile/bundle/components/ApplicationForm/renderWedDataOrganization.d.ts +1 -1
  115. package/mobile/bundle/components/ApplicationForm/renderWedTextarea.d.ts +1 -1
  116. package/mobile/dist/components/ApplicationForm/ApplicationFieldsetLayout.d.ts +7 -0
  117. package/mobile/dist/components/ApplicationForm/ApplicationFieldsetLayout.js +7 -0
  118. package/mobile/dist/components/ApplicationForm/ApplicationFieldsetLayout.js.map +1 -0
  119. package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
  120. package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  121. package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js +1 -1
  122. package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  123. package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  124. package/mobile/dist/components/ApplicationForm/ApplicationFormIndividuals.d.ts +9 -0
  125. package/mobile/dist/components/ApplicationForm/ApplicationFormIndividuals.js.map +1 -1
  126. package/mobile/dist/components/ApplicationForm/ApplicationFormWed.d.ts +11 -0
  127. package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js +1 -1
  128. package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  129. package/mobile/dist/components/ApplicationForm/DatePickerControl.js +2 -1
  130. package/mobile/dist/components/ApplicationForm/DatePickerControl.js.map +1 -1
  131. package/mobile/dist/components/ApplicationForm/InputControl.js +2 -2
  132. package/mobile/dist/components/ApplicationForm/InputControl.js.map +1 -1
  133. package/mobile/dist/components/ApplicationForm/PhoneInputControl.js +2 -2
  134. package/mobile/dist/components/ApplicationForm/PhoneInputControl.js.map +1 -1
  135. package/mobile/dist/components/ApplicationForm/ResponseNotification.js +2 -1
  136. package/mobile/dist/components/ApplicationForm/ResponseNotification.js.map +1 -1
  137. package/mobile/dist/components/ApplicationForm/SelectControl.js +2 -2
  138. package/mobile/dist/components/ApplicationForm/SelectControl.js.map +1 -1
  139. package/mobile/dist/components/ApplicationForm/renderAcquiringRegion.js +2 -1
  140. package/mobile/dist/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
  141. package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js +2 -1
  142. package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
  143. package/mobile/dist/components/ApplicationForm/renderErrorText.d.ts +2 -0
  144. package/mobile/dist/components/ApplicationForm/renderErrorText.js +7 -0
  145. package/mobile/dist/components/ApplicationForm/renderErrorText.js.map +1 -0
  146. package/mobile/dist/components/ApplicationForm/renderIndividualsFields.d.ts +1 -1
  147. package/mobile/dist/components/ApplicationForm/renderIndividualsFields.js +2 -1
  148. package/mobile/dist/components/ApplicationForm/renderIndividualsFields.js.map +1 -1
  149. package/mobile/dist/components/ApplicationForm/renderQuestionsInterested.d.ts +1 -1
  150. package/mobile/dist/components/ApplicationForm/renderQuestionsInterested.js +1 -1
  151. package/mobile/dist/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
  152. package/mobile/dist/components/ApplicationForm/renderRegionDepartment.js +5 -4
  153. package/mobile/dist/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
  154. package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.d.ts +1 -1
  155. package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
  156. package/mobile/dist/components/ApplicationForm/renderWedTextarea.d.ts +1 -1
  157. package/mobile/dist/components/Footer/Contacts.js +5 -4
  158. package/mobile/dist/components/Footer/Contacts.js.map +1 -1
  159. package/mobile/lib/common.css +1 -1
  160. package/mobile/lib/components/ApplicationForm/ApplicationFieldsetLayout.d.ts +7 -0
  161. package/mobile/lib/components/ApplicationForm/ApplicationFieldsetLayout.js +5 -0
  162. package/mobile/lib/components/ApplicationForm/ApplicationFieldsetLayout.js.map +1 -0
  163. package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
  164. package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  165. package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js +1 -1
  166. package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  167. package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  168. package/mobile/lib/components/ApplicationForm/ApplicationFormIndividuals.d.ts +9 -0
  169. package/mobile/lib/components/ApplicationForm/ApplicationFormIndividuals.js.map +1 -1
  170. package/mobile/lib/components/ApplicationForm/ApplicationFormWed.d.ts +11 -0
  171. package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js +1 -1
  172. package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  173. package/mobile/lib/components/ApplicationForm/DatePickerControl.js +2 -1
  174. package/mobile/lib/components/ApplicationForm/DatePickerControl.js.map +1 -1
  175. package/mobile/lib/components/ApplicationForm/InputControl.js +2 -2
  176. package/mobile/lib/components/ApplicationForm/InputControl.js.map +1 -1
  177. package/mobile/lib/components/ApplicationForm/PhoneInputControl.js +2 -2
  178. package/mobile/lib/components/ApplicationForm/PhoneInputControl.js.map +1 -1
  179. package/mobile/lib/components/ApplicationForm/ResponseNotification.js +2 -1
  180. package/mobile/lib/components/ApplicationForm/ResponseNotification.js.map +1 -1
  181. package/mobile/lib/components/ApplicationForm/SelectControl.js +2 -2
  182. package/mobile/lib/components/ApplicationForm/SelectControl.js.map +1 -1
  183. package/mobile/lib/components/ApplicationForm/renderAcquiringRegion.js +3 -2
  184. package/mobile/lib/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
  185. package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js +2 -1
  186. package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
  187. package/mobile/lib/components/ApplicationForm/renderErrorText.d.ts +2 -0
  188. package/mobile/lib/components/ApplicationForm/renderErrorText.js +4 -0
  189. package/mobile/lib/components/ApplicationForm/renderErrorText.js.map +1 -0
  190. package/mobile/lib/components/ApplicationForm/renderIndividualsFields.d.ts +1 -1
  191. package/mobile/lib/components/ApplicationForm/renderIndividualsFields.js +2 -1
  192. package/mobile/lib/components/ApplicationForm/renderIndividualsFields.js.map +1 -1
  193. package/mobile/lib/components/ApplicationForm/renderQuestionsInterested.d.ts +1 -1
  194. package/mobile/lib/components/ApplicationForm/renderQuestionsInterested.js +1 -1
  195. package/mobile/lib/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
  196. package/mobile/lib/components/ApplicationForm/renderRegionDepartment.js +6 -5
  197. package/mobile/lib/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
  198. package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.d.ts +1 -1
  199. package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
  200. package/mobile/lib/components/ApplicationForm/renderWedTextarea.d.ts +1 -1
  201. package/mobile/lib/components/Footer/Contacts.js +5 -4
  202. package/mobile/lib/components/Footer/Contacts.js.map +1 -1
  203. package/mobile/src/components/ApplicationForm/ApplicationFieldsetLayout.tsx +18 -0
  204. package/mobile/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +1 -1
  205. package/mobile/src/components/ApplicationForm/ApplicationFormCredit.tsx +1 -1
  206. package/mobile/src/components/ApplicationForm/ApplicationFormDeposit.tsx +5 -1
  207. package/mobile/src/components/ApplicationForm/ApplicationFormIndividuals.tsx +10 -1
  208. package/mobile/src/components/ApplicationForm/ApplicationFormWed.tsx +13 -2
  209. package/mobile/src/components/ApplicationForm/DatePickerControl.tsx +2 -7
  210. package/mobile/src/components/ApplicationForm/InputControl.tsx +2 -8
  211. package/mobile/src/components/ApplicationForm/PhoneInputControl.tsx +2 -8
  212. package/mobile/src/components/ApplicationForm/ResponseNotification.tsx +7 -5
  213. package/mobile/src/components/ApplicationForm/SelectControl.tsx +2 -8
  214. package/mobile/src/components/ApplicationForm/renderAcquiringRegion.tsx +23 -18
  215. package/mobile/src/components/ApplicationForm/renderBusinessCardDataOrganization.tsx +31 -26
  216. package/mobile/src/components/ApplicationForm/renderErrorText.tsx +11 -0
  217. package/mobile/src/components/ApplicationForm/renderIndividualsFields.tsx +42 -37
  218. package/mobile/src/components/ApplicationForm/renderQuestionsInterested.tsx +3 -7
  219. package/mobile/src/components/ApplicationForm/renderRegionDepartment.tsx +27 -22
  220. package/mobile/src/components/ApplicationForm/renderWedDataOrganization.tsx +1 -1
  221. package/mobile/src/components/ApplicationForm/renderWedTextarea.tsx +1 -1
  222. package/mobile/src/components/Footer/Contacts.tsx +14 -9
  223. package/package.json +1 -1
  224. package/src/components/ApplicationForm/ApplicationFieldsetLayout.tsx +18 -0
  225. package/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +1 -1
  226. package/src/components/ApplicationForm/ApplicationFormCredit.tsx +1 -1
  227. package/src/components/ApplicationForm/ApplicationFormDeposit.tsx +5 -1
  228. package/src/components/ApplicationForm/ApplicationFormIndividuals.tsx +10 -1
  229. package/src/components/ApplicationForm/ApplicationFormWed.tsx +13 -2
  230. package/src/components/ApplicationForm/DatePickerControl.tsx +2 -7
  231. package/src/components/ApplicationForm/InputControl.tsx +2 -8
  232. package/src/components/ApplicationForm/PhoneInputControl.tsx +2 -8
  233. package/src/components/ApplicationForm/ResponseNotification.tsx +7 -5
  234. package/src/components/ApplicationForm/SelectControl.tsx +2 -8
  235. package/src/components/ApplicationForm/renderAcquiringDataOrganization.tsx +31 -26
  236. package/src/components/ApplicationForm/renderAcquiringRegion.tsx +23 -18
  237. package/src/components/ApplicationForm/renderBusinessCardDataOrganization.tsx +31 -26
  238. package/src/components/ApplicationForm/renderCreditDataOrganization.tsx +37 -32
  239. package/src/components/ApplicationForm/renderErrorText.tsx +11 -0
  240. package/src/components/ApplicationForm/renderIndividualsFields.tsx +42 -37
  241. package/src/components/ApplicationForm/renderQuestionsInterested.tsx +3 -7
  242. package/src/components/ApplicationForm/renderRegionDepartment.tsx +27 -22
  243. package/src/components/ApplicationForm/renderWedDataOrganization.tsx +1 -1
  244. package/src/components/ApplicationForm/renderWedTextarea.tsx +1 -1
  245. package/src/components/Footer/Contacts.tsx +14 -9
  246. package/bundle/components/ApplicationForm/DepositFormState.d.ts +0 -4
  247. package/bundle/components/ApplicationForm/IndividualsFormState.d.ts +0 -9
  248. package/bundle/components/ApplicationForm/WedFormState.d.ts +0 -11
  249. package/dist/components/ApplicationForm/DepositFormState.d.ts +0 -4
  250. package/dist/components/ApplicationForm/DepositFormState.js +0 -2
  251. package/dist/components/ApplicationForm/DepositFormState.js.map +0 -1
  252. package/dist/components/ApplicationForm/IndividualsFormState.d.ts +0 -9
  253. package/dist/components/ApplicationForm/IndividualsFormState.js +0 -2
  254. package/dist/components/ApplicationForm/IndividualsFormState.js.map +0 -1
  255. package/dist/components/ApplicationForm/WedFormState.d.ts +0 -11
  256. package/dist/components/ApplicationForm/WedFormState.js +0 -2
  257. package/dist/components/ApplicationForm/WedFormState.js.map +0 -1
  258. package/lib/components/ApplicationForm/DepositFormState.d.ts +0 -4
  259. package/lib/components/ApplicationForm/DepositFormState.js +0 -2
  260. package/lib/components/ApplicationForm/DepositFormState.js.map +0 -1
  261. package/lib/components/ApplicationForm/IndividualsFormState.d.ts +0 -9
  262. package/lib/components/ApplicationForm/IndividualsFormState.js +0 -2
  263. package/lib/components/ApplicationForm/IndividualsFormState.js.map +0 -1
  264. package/lib/components/ApplicationForm/WedFormState.d.ts +0 -11
  265. package/lib/components/ApplicationForm/WedFormState.js +0 -2
  266. package/lib/components/ApplicationForm/WedFormState.js.map +0 -1
  267. package/mobile/bundle/components/ApplicationForm/DepositFormState.d.ts +0 -4
  268. package/mobile/bundle/components/ApplicationForm/IndividualsFormState.d.ts +0 -9
  269. package/mobile/bundle/components/ApplicationForm/WedFormState.d.ts +0 -11
  270. package/mobile/dist/components/ApplicationForm/DepositFormState.d.ts +0 -4
  271. package/mobile/dist/components/ApplicationForm/DepositFormState.js +0 -2
  272. package/mobile/dist/components/ApplicationForm/DepositFormState.js.map +0 -1
  273. package/mobile/dist/components/ApplicationForm/IndividualsFormState.d.ts +0 -9
  274. package/mobile/dist/components/ApplicationForm/IndividualsFormState.js +0 -2
  275. package/mobile/dist/components/ApplicationForm/IndividualsFormState.js.map +0 -1
  276. package/mobile/dist/components/ApplicationForm/WedFormState.d.ts +0 -11
  277. package/mobile/dist/components/ApplicationForm/WedFormState.js +0 -2
  278. package/mobile/dist/components/ApplicationForm/WedFormState.js.map +0 -1
  279. package/mobile/lib/components/ApplicationForm/DepositFormState.d.ts +0 -4
  280. package/mobile/lib/components/ApplicationForm/DepositFormState.js +0 -2
  281. package/mobile/lib/components/ApplicationForm/DepositFormState.js.map +0 -1
  282. package/mobile/lib/components/ApplicationForm/IndividualsFormState.d.ts +0 -9
  283. package/mobile/lib/components/ApplicationForm/IndividualsFormState.js +0 -2
  284. package/mobile/lib/components/ApplicationForm/IndividualsFormState.js.map +0 -1
  285. package/mobile/lib/components/ApplicationForm/WedFormState.d.ts +0 -11
  286. package/mobile/lib/components/ApplicationForm/WedFormState.js +0 -2
  287. package/mobile/lib/components/ApplicationForm/WedFormState.js.map +0 -1
  288. package/mobile/src/components/ApplicationForm/DepositFormState.ts +0 -4
  289. package/mobile/src/components/ApplicationForm/IndividualsFormState.ts +0 -9
  290. package/mobile/src/components/ApplicationForm/WedFormState.ts +0 -12
  291. package/src/components/ApplicationForm/DepositFormState.ts +0 -4
  292. package/src/components/ApplicationForm/IndividualsFormState.ts +0 -9
  293. package/src/components/ApplicationForm/WedFormState.ts +0 -12
@@ -976,6 +976,9 @@
976
976
  };
977
977
  };
978
978
 
979
+ const ApplicationFieldsetLayout = JSX(({ firstChildren, secondChildren }) => (jsxs("fieldset", { className: "grig @xl:flex @xl:justify-between gap-lg border-b border-b-main-divider @xl:border-none", children: [firstChildren, secondChildren] })));
980
+ const childrenClassName = '@xl:w-1/2 space-y-s';
981
+
979
982
  const Input = JSX(({ key, className = '', inputClassName = '', id, name, type = 'text', label, placeholder, value = '', valid = true, children, onChange, onFocus, onBlur, pattern, autoFocus = false, }) => {
980
983
  const inputRef = useRef(null);
981
984
  const handleChange = useCallback((e) => {
@@ -993,7 +996,9 @@
993
996
  return (jsxs("div", { className: style('relative', className), children: [jsxs("label", { children: [label ? (jsx("div", { className: "mb-xs", children: jsx(Text, { size: "text-m", font: "font-light", children: label }) })) : null, jsx("input", { ref: inputRef, className: style('w-full h-14 border rounded-md text-primary-text outline-none p-m', paddingStyle, validStyle, inputClassName), id: id, name: name || id, placeholder: placeholder, type: type, value: value, onInput: handleChange, onFocus: onFocus, onBlur: onBlur, pattern: pattern }, key)] }), children] }));
994
997
  });
995
998
 
996
- const InputControl = JSX(({ className, label, value = '', error, onChange, onBlur }) => (jsxs("div", { className: className, children: [jsx(Input, { type: "text", "aria-label": label, label: label, valid: Boolean(!error), value: value, onChange: onChange, onBlur: onBlur }), jsx("div", { className: "h-2", children: error ? (jsx(Text, { size: "text-xs", font: "font-light", color: "text-error", children: error })) : null })] })));
999
+ const renderErrorText = (error) => (jsx("div", { className: "h-4", children: error ? (jsx(Text, { size: "text-xs", font: "font-light", color: "text-error", children: error })) : null }));
1000
+
1001
+ const InputControl = JSX(({ className, label, value = '', error, onChange, onBlur }) => (jsxs("div", { className: className, children: [jsx(Input, { type: "text", "aria-label": label, label: label, valid: Boolean(!error), value: value, onChange: onChange, onBlur: onBlur }), renderErrorText(error)] })));
997
1002
 
998
1003
  const isPlaceholder = (_) => _ === '_';
999
1004
  const isDigit = (_) => /\d/.test(_);
@@ -1014,7 +1019,7 @@
1014
1019
  return (jsx(Input, { onChange: handleChange, onFocus: (event) => handleChange(event?.target?.value || ''), ...inputProps, children: children }));
1015
1020
  });
1016
1021
 
1017
- const PhoneInputControl = JSX(({ className, label, value, error, onChange, onBlur }) => (jsxs("div", { className: className, children: [jsx(PhoneInput, { "aria-label": label, label: label, valid: Boolean(!error), value: value, onChange: onChange, onBlur: onBlur, placeholder: "+7 (___) ___-__-__" }), jsx("div", { className: "h-2", children: error ? (jsx(Text, { size: "text-xs", font: "font-light", color: "text-error", children: error })) : null })] })));
1022
+ const PhoneInputControl = JSX(({ className, label, value, error, onChange, onBlur }) => (jsxs("div", { className: className, children: [jsx(PhoneInput, { "aria-label": label, label: label, valid: Boolean(!error), value: value, onChange: onChange, onBlur: onBlur, placeholder: "+7 (___) ___-__-__" }), renderErrorText(error)] })));
1018
1023
 
1019
1024
  const pattern = (regexp) => validator((_) => typeof _ === 'string' && regexp.test(_));
1020
1025
 
@@ -1026,7 +1031,7 @@
1026
1031
  const innValidator = validator((_) => typeof _ === 'string' && (_.length === 10 || _.length === 12))(ERROR_MESSAGE);
1027
1032
  const phoneValidator = pattern(/^(\+7)?[\s-]?\(?[0-9]{3}\)?[\s-]?[0-9]{3}[\s-]?[0-9]{2}[\s-]?[0-9]{2}$/)(ERROR_MESSAGE);
1028
1033
 
1029
- const renderAcquiringDataOrganization = (field) => (jsxs("div", { className: "@xl:flex @xl:justify-between @xl:gap-lg", children: [jsxs("div", { className: "@xl:w-1/2 space-y-s", children: [jsx(InputControl, { className: "shrink-0 w-full", label: "\u041D\u0430\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", ...withValidator(field('fullName'), defaultValidator) }), jsx(InputControl, { className: "shrink-0 w-full", label: "\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0435 \u043B\u0438\u0446\u043E", ...withValidator(field('name'), nameValidator) })] }), jsxs("div", { className: "@xl:w-1/2 space-y-s", children: [jsx(InputControl, { className: "shrink-0 w-full", label: "\u0418\u041D\u041D", ...withValidator(field('inn'), innValidator) }), jsx(PhoneInputControl, { className: "shrink-0 w-full", label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phone'), phoneValidator) })] })] }));
1034
+ const renderAcquiringDataOrganization = (field) => (jsx(ApplicationFieldsetLayout, { firstChildren: jsxs("div", { className: childrenClassName, children: [jsx(InputControl, { className: "shrink-0 w-full", label: "\u041D\u0430\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", ...withValidator(field('fullName'), defaultValidator) }), jsx(InputControl, { className: "shrink-0 w-full", label: "\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0435 \u043B\u0438\u0446\u043E", ...withValidator(field('name'), nameValidator) })] }), secondChildren: jsxs("div", { className: childrenClassName, children: [jsx(InputControl, { className: "shrink-0 w-full", label: "\u0418\u041D\u041D", ...withValidator(field('inn'), innValidator) }), jsx(PhoneInputControl, { className: "shrink-0 w-full", label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phone'), phoneValidator) })] }) }));
1030
1035
 
1031
1036
  const ACQUIRING_TYPES = [
1032
1037
  {
@@ -1148,9 +1153,9 @@
1148
1153
  const renderIcon$1 = (isOpen, iconVersion) => (jsx(Icon, { className: style('absolute right-3', isOpen ? '' : 'rotate-180'), iconVersion: iconVersion, name: "ArrowUpIcon", width: "16", height: "16" }));
1149
1154
  const getBorderStyle$1 = (isBorder, valid) => style(isBorder ? 'border rounded-md hover:border-primary-hover' : '', valid ? ' border-gray' : 'border-error');
1150
1155
 
1151
- const SelectControl = JSX(({ className = '', error, ...rest }) => (jsxs("div", { className: className, children: [jsx(Select, { ...rest, valid: !error }), jsx("div", { className: "h-2", children: error ? (jsx(Text, { size: "text-xs", font: "font-light", color: "text-error", children: error })) : null })] })));
1156
+ const SelectControl = JSX(({ className = '', error, ...rest }) => (jsxs("div", { className: className, children: [jsx(Select, { ...rest, valid: !error }), renderErrorText(error)] })));
1152
1157
 
1153
- const renderAcquiringRegion = ({ regions, field }) => (jsxs("div", { className: "border-b border-b-main-divider @xl:border-none @xl:flex @xl:justify-between gap-lg ", children: [jsx("div", { className: "@xl:w-1/2", children: jsx(SelectControl, { label: "\u0412\u0438\u0434 \u044D\u043A\u0432\u0430\u0439\u0440\u0438\u043D\u0433\u0430", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u044D\u043A\u0432\u0430\u0439\u0440\u0438\u043D\u0433", options: ACQUIRING_TYPES.map(({ name: key = '' }) => ({ key, text: key })), ...withValidator(field('acquiringType'), defaultValidator) }) }), jsx("div", { className: "@xl:w-1/2", children: jsx(SelectControl, { label: "\u0410\u0434\u0440\u0435\u0441", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441", options: regions.map(({ code = '', name = '' }) => ({ key: code, text: name })), ...withValidator(field('region'), defaultValidator) }) })] }));
1158
+ const renderAcquiringRegion = ({ regions, field }) => (jsx(ApplicationFieldsetLayout, { firstChildren: jsx("div", { className: childrenClassName, children: jsx(SelectControl, { label: "\u0412\u0438\u0434 \u044D\u043A\u0432\u0430\u0439\u0440\u0438\u043D\u0433\u0430", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u044D\u043A\u0432\u0430\u0439\u0440\u0438\u043D\u0433", options: ACQUIRING_TYPES.map(({ name: key = '' }) => ({ key, text: key })), ...withValidator(field('acquiringType'), defaultValidator) }) }), secondChildren: jsx("div", { className: childrenClassName, children: jsx(SelectControl, { label: "\u0410\u0434\u0440\u0435\u0441", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441", options: regions.map(({ code = '', name = '' }) => ({ key: code, text: name })), ...withValidator(field('region'), defaultValidator) }) }) }));
1154
1159
 
1155
1160
  const SlideCheckbox = JSX(({ value = false, text, type = 'checkbox', onChange }) => (jsxs("div", { role: type, "aria-checked": value, className: "flex justify-start items-center w-full cursor-pointer mb-s", onClick: () => onChange && onChange(!value), children: [jsx("div", { className: style('relative flex-shrink-0 duration-300 w-9 h-5 mr-s rounded-2xl', value ? 'bg-primary-main' : 'bg-main-divider'), children: jsx("div", { className: style('absolute opacity-80 duration-500 top-0.5 w-4 h-4 bg-white rounded-full', value ? 'left-1/2' : 'left-[5%]') }) }), text ? (jsx(Text, { size: "text-l", font: "font-light", color: "text-primary-text", children: text })) : null] })));
1156
1161
 
@@ -1222,10 +1227,10 @@
1222
1227
  }, [onSubmit]);
1223
1228
  const [, { field, ...formProps }] = useForm(initialFormState$5, handleSubmit);
1224
1229
  const regions = useGetRegions();
1225
- return (jsxs("form", { className: "container space-y-m", onSubmit: formProps.onSubmit, children: [jsx(Heading, { headingType: "h6", title: "\u0412\u0438\u0434 \u044D\u043A\u0432\u0430\u0439\u0440\u0438\u043D\u0433\u0430 \u0438 \u0440\u0435\u0433\u0438\u043E\u043D", className: "@xl:text-center" }), renderAcquiringRegion({ regions, field }), jsx(Heading, { headingType: "h6", title: "\u0414\u0430\u043D\u043D\u044B\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", className: "@xl:text-center" }), renderAcquiringDataOrganization(field), renderSlideCheckboxes(field), renderSubmitButton(button), jsx(Footnote, { link: link })] }));
1230
+ return (jsxs("form", { className: "container space-y-lg", onSubmit: formProps.onSubmit, children: [jsx(Heading, { headingType: "h6", title: "\u0412\u0438\u0434 \u044D\u043A\u0432\u0430\u0439\u0440\u0438\u043D\u0433\u0430 \u0438 \u0440\u0435\u0433\u0438\u043E\u043D", className: "@xl:text-center" }), renderAcquiringRegion({ regions, field }), jsx(Heading, { headingType: "h6", title: "\u0414\u0430\u043D\u043D\u044B\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", className: "@xl:text-center" }), renderAcquiringDataOrganization(field), renderSlideCheckboxes(field), renderSubmitButton(button), jsx(Footnote, { link: link })] }));
1226
1231
  });
1227
1232
 
1228
- const renderBusinessCardDataOrganization = (field) => (jsxs("div", { className: "@xl:flex @xl:justify-between @xl:gap-lg", children: [jsxs("div", { className: "@xl:w-1/2 space-y-s", children: [jsx(InputControl, { className: "shrink-0 w-full", label: "\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0435 \u043B\u0438\u0446\u043E", ...withValidator(field('name'), nameValidator) }), jsx(InputControl, { className: "shrink-0 w-full", label: "\u0418\u041D\u041D", ...withValidator(field('inn'), innValidator) })] }), jsxs("div", { className: "@xl:w-1/2 space-y-s", children: [jsx(PhoneInputControl, { className: "shrink-0 w-full", label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phone'), phoneValidator) }), jsx(InputControl, { className: "shrink-0 w-full", label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", ...withValidator(field('mail'), defaultValidator) })] })] }));
1233
+ const renderBusinessCardDataOrganization = (field) => (jsx(ApplicationFieldsetLayout, { firstChildren: jsxs("div", { className: childrenClassName, children: [jsx(InputControl, { className: "shrink-0 w-full", label: "\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0435 \u043B\u0438\u0446\u043E", ...withValidator(field('name'), nameValidator) }), jsx(InputControl, { className: "shrink-0 w-full", label: "\u0418\u041D\u041D", ...withValidator(field('inn'), innValidator) })] }), secondChildren: jsxs("div", { className: childrenClassName, children: [jsx(PhoneInputControl, { className: "shrink-0 w-full", label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phone'), phoneValidator) }), jsx(InputControl, { className: "shrink-0 w-full", label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", ...withValidator(field('mail'), defaultValidator) })] }) }));
1229
1234
 
1230
1235
  const renderRegion$1 = ({ regions, field }) => (jsx(SelectControl, { className: "w-full", 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: regions.map(({ code = '', name = '' }) => ({ key: code, text: name })), ...withValidator(field('region'), defaultValidator) }));
1231
1236
 
@@ -1279,7 +1284,7 @@
1279
1284
  const MAX_CREDIT_TERM = 180;
1280
1285
  const ITEMS_CREDIT_TERM = ['От 1 мес', 'До 15 лет'];
1281
1286
 
1282
- const renderCreditDataOrganization = (field) => (jsxs("div", { className: "pb-2xs border-b border-b-main-divider @xl:flex @xl:justify-between @xl:gap-lg @xl:border-none @xl:pb-0", children: [jsxs("div", { className: "@xl:w-1/2 space-y-s", children: [jsx(InputControl, { className: "shrink-0 w-full", label: "\u041D\u0430\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", ...withValidator(field('fullName'), defaultValidator) }), jsx(InputControl, { className: "shrink-0 w-full", label: "\u0418\u041D\u041D", ...withValidator(field('inn'), innValidator) }), jsx(PhoneInputControl, { className: "shrink-0 w-full", label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phone'), phoneValidator) })] }), jsxs("div", { className: "@xl:w-1/2 space-y-s", children: [jsx(InputControl, { className: "shrink-0 w-full", label: "\u0413\u043E\u0434\u043E\u0432\u0430\u044F \u0432\u044B\u0440\u0443\u0447\u043A\u0430, \u20BD", ...withValidator(field('annualRevenue'), defaultValidator) }), jsx(InputControl, { className: "shrink-0 w-full", label: "\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0435 \u043B\u0438\u0446\u043E", ...withValidator(field('name'), nameValidator) }), jsx(InputControl, { className: "shrink-0 w-full", label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", ...field('mail') })] })] }));
1287
+ const renderCreditDataOrganization = (field) => (jsx(ApplicationFieldsetLayout, { firstChildren: jsxs("div", { className: childrenClassName, children: [jsx(InputControl, { className: "shrink-0 w-full", label: "\u041D\u0430\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", ...withValidator(field('fullName'), defaultValidator) }), jsx(InputControl, { className: "shrink-0 w-full", label: "\u0418\u041D\u041D", ...withValidator(field('inn'), innValidator) }), jsx(PhoneInputControl, { className: "shrink-0 w-full", label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phone'), phoneValidator) })] }), secondChildren: jsxs("div", { className: childrenClassName, children: [jsx(InputControl, { className: "shrink-0 w-full", label: "\u0413\u043E\u0434\u043E\u0432\u0430\u044F \u0432\u044B\u0440\u0443\u0447\u043A\u0430, \u20BD", ...withValidator(field('annualRevenue'), defaultValidator) }), jsx(InputControl, { className: "shrink-0 w-full", label: "\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0435 \u043B\u0438\u0446\u043E", ...withValidator(field('name'), nameValidator) }), jsx(InputControl, { className: "shrink-0 w-full", label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", ...field('mail') })] }) }));
1283
1288
 
1284
1289
  const useNormalizedInput = (props, { normalize, format }) => {
1285
1290
  const { value, onFocus, onBlur, onChange } = props;
@@ -1341,10 +1346,10 @@
1341
1346
 
1342
1347
  const renderCreditParameters = (field) => (jsxs("div", { className: "border-b border-b-main-divider @xl:border-none @xl:flex @xl:justify-between gap-lg", children: [jsxs("div", { className: "@xl:w-1/2", children: [jsx("label", { children: jsx(Text, { size: "text-m", font: "font-light", children: "\u0421\u0443\u043C\u043C\u0430, \u20BD" }) }), jsx(InputRange, { items: ITEMS_CREDIT_AMOUNT, min: MIN_CREDIT_AMOUNT, max: MAX_CREDIT_AMOUNT, ...field('amount') })] }), jsxs("div", { className: "@xl:w-1/2", children: [jsx("label", { children: jsx(Text, { size: "text-m", font: "font-light", children: "\u0421\u0440\u043E\u043A, \u043C\u0435\u0441\u044F\u0446\u0435\u0432" }) }), jsx(InputRange, { items: ITEMS_CREDIT_TERM, min: MIN_CREDIT_TERM, max: MAX_CREDIT_TERM, ...field('term') })] })] }));
1343
1348
 
1344
- const renderRegionDepartment = ({ regions, branches, field }) => (jsxs("div", { className: "@xl:flex @xl:justify-between @xl:gap-lg @xl:mb-2xl @xl:border-none @xl:pb-0", children: [jsx("div", { className: "@xl:w-1/2", children: 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: regions.map(({ code = '', name = '' }) => ({ key: code, text: name })), ...withValidator(field('region'), defaultValidator) }) }), jsx("div", { className: "@xl:w-1/2", children: jsx(SelectControl, { label: "\u0410\u0434\u0440\u0435\u0441", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441", options: branches.map(({ branchCode = '', address = '' }) => ({
1345
- key: branchCode,
1346
- text: address,
1347
- })), ...withValidator(field('department'), defaultValidator) }) })] }));
1349
+ const renderRegionDepartment = ({ regions, branches, field }) => (jsx(ApplicationFieldsetLayout, { firstChildren: jsx("div", { className: childrenClassName, children: 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: regions.map(({ code = '', name = '' }) => ({ key: code, text: name })), ...withValidator(field('region'), defaultValidator) }) }), secondChildren: jsx("div", { className: childrenClassName, children: jsx(SelectControl, { label: "\u0410\u0434\u0440\u0435\u0441", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441", options: branches.map(({ branchCode = '', address = '' }) => ({
1350
+ key: branchCode,
1351
+ text: address,
1352
+ })), ...withValidator(field('department'), defaultValidator) }) }) }));
1348
1353
 
1349
1354
  const initialFormState$3 = {
1350
1355
  amount: MIN_CREDIT_AMOUNT,
@@ -1384,7 +1389,7 @@
1384
1389
  const [formState, { field, ...formProps }] = useForm(initialFormState$3, handleSubmit);
1385
1390
  const regions = useGetRegions();
1386
1391
  const branches = useBranches(formState.region?.key).filter((branch) => branch?.address);
1387
- return (jsxs("form", { className: "container space-y-m", onSubmit: formProps.onSubmit, children: [jsx(Heading, { headingType: "h6", title: "\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B", className: "@xl:text-center" }), renderCreditParameters(field), jsx(Heading, { headingType: "h6", title: "\u0414\u0430\u043D\u043D\u044B\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", className: "@xl:text-center" }), renderCreditDataOrganization(field), jsx(Heading, { headingType: "h6", title: "\u041E\u0444\u0438\u0441 \u0431\u0430\u043D\u043A\u0430", className: "@xl:text-center" }), renderRegionDepartment({ regions, branches, field }), renderSubmitButton(button), jsx(Footnote, { link: link })] }));
1392
+ return (jsxs("form", { className: "container space-y-lg", onSubmit: formProps.onSubmit, children: [jsx(Heading, { headingType: "h6", title: "\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B", className: "@xl:text-center" }), renderCreditParameters(field), jsx(Heading, { headingType: "h6", title: "\u0414\u0430\u043D\u043D\u044B\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", className: "@xl:text-center" }), renderCreditDataOrganization(field), jsx(Heading, { headingType: "h6", title: "\u041E\u0444\u0438\u0441 \u0431\u0430\u043D\u043A\u0430", className: "@xl:text-center" }), renderRegionDepartment({ regions, branches, field }), renderSubmitButton(button), jsx(Footnote, { link: link })] }));
1388
1393
  });
1389
1394
 
1390
1395
  const initialFormState$2 = {
@@ -1602,9 +1607,9 @@
1602
1607
  });
1603
1608
  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" })] }));
1604
1609
 
1605
- const DatePickerControl = JSX(({ className, label, value = undefined, error, onChange }) => (jsxs("div", { className: className, children: [label ? (jsx("div", { className: "mb-xs", children: jsx(Text, { size: "text-m", font: "font-light", children: label }) })) : null, jsx(DatePicker, { value: value, onChange: onChange, valid: Boolean(!error) }), jsx("div", { className: "h-2", children: error ? (jsx(Text, { size: "text-xs", font: "font-light", color: "text-error", children: error })) : null })] })));
1610
+ const DatePickerControl = JSX(({ className, label, value = undefined, error, onChange }) => (jsxs("div", { className: className, children: [label ? (jsx("div", { className: "mb-xs", children: jsx(Text, { size: "text-m", font: "font-light", children: label }) })) : null, jsx(DatePicker, { value: value, onChange: onChange, valid: Boolean(!error) }), renderErrorText(error)] })));
1606
1611
 
1607
- const renderIndividualsFields = (field) => (jsxs("div", { className: "@xl:flex @xl:justify-between @xl:gap-lg", children: [jsxs("div", { className: "@xl:w-1/2 space-y-s", children: [jsx(InputControl, { className: "shrink-0 w-full", label: "\u0424\u0430\u043C\u0438\u043B\u0438\u044F", ...withValidator(field('surname'), nameValidator) }), jsx(InputControl, { className: "shrink-0 w-full", label: "\u041E\u0442\u0447\u0435\u0441\u0442\u0432\u043E", ...withValidator(field('middleName'), nameValidator) }), jsx(PhoneInputControl, { className: "shrink-0 w-full", label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phone'), phoneValidator) })] }), jsxs("div", { className: "@xl:w-1/2 space-y-s", children: [jsx(InputControl, { className: "shrink-0 w-full", label: "\u0418\u043C\u044F", ...withValidator(field('name'), nameValidator) }), jsx(DatePickerControl, { className: "shrink-0 w-full", label: "\u0414\u0430\u0442\u0430 \u0440\u043E\u0436\u0434\u0435\u043D\u0438\u044F", ...withValidator(field('date'), defaultValidator) }), jsx(InputControl, { className: "shrink-0 w-full", label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", ...withValidator(field('mail'), defaultValidator) })] })] }));
1612
+ const renderIndividualsFields = (field) => (jsx(ApplicationFieldsetLayout, { firstChildren: jsxs("div", { className: childrenClassName, children: [jsx(InputControl, { className: "shrink-0 w-full", label: "\u0424\u0430\u043C\u0438\u043B\u0438\u044F", ...withValidator(field('surname'), nameValidator) }), jsx(InputControl, { className: "shrink-0 w-full", label: "\u041E\u0442\u0447\u0435\u0441\u0442\u0432\u043E", ...withValidator(field('middleName'), nameValidator) }), jsx(PhoneInputControl, { className: "shrink-0 w-full", label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phone'), phoneValidator) })] }), secondChildren: jsxs("div", { className: childrenClassName, children: [jsx(InputControl, { className: "shrink-0 w-full", label: "\u0418\u043C\u044F", ...withValidator(field('name'), nameValidator) }), jsx(DatePickerControl, { className: "shrink-0 w-full", label: "\u0414\u0430\u0442\u0430 \u0440\u043E\u0436\u0434\u0435\u043D\u0438\u044F", ...withValidator(field('date'), defaultValidator) }), jsx(InputControl, { className: "shrink-0 w-full", label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", ...withValidator(field('mail'), defaultValidator) })] }) }));
1608
1613
 
1609
1614
  const initialFormState$1 = {
1610
1615
  surname: '',
@@ -1650,7 +1655,7 @@
1650
1655
 
1651
1656
  const renderQuestionsInterested = (field) => {
1652
1657
  const { value, onChange } = field('vedTypes');
1653
- return (jsx("div", { className: "space-y-m", children: jsxs("div", { className: "@xl:flex @xl:items-center @xl:gap-xl", children: [jsx(Radio, { className: "mb-xs", name: "vedTypes", text: "\u0412\u0430\u043B\u044E\u0442\u043D\u044B\u0439 \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u044C", value: "currencyControl", checked: value === 'currencyControl', onChange: (_) => onChange && onChange(_) }), jsx(Radio, { className: "mb-xs", name: "vedTypes", text: "\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430\u0440\u043D\u044B\u0435 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438", value: "documentOperations", checked: value === 'documentOperations', onChange: (_) => onChange && onChange(_) }), jsx(Radio, { className: "mb-xs", name: "vedTypes", text: "\u041A\u043E\u043D\u0432\u0435\u0440\u0441\u0438\u043E\u043D\u043D\u044B\u0435 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438", value: "conversionTransactions", checked: value === 'conversionTransactions', onChange: (_) => onChange && onChange(_) }), jsx(Radio, { className: "mb-xs", name: "vedTypes", text: "\u0418\u043D\u044B\u0435 \u0432\u043E\u043F\u0440\u043E\u0441\u044B \u0412\u042D\u0414", value: "otherIssues", checked: value === 'otherIssues', onChange: (_) => onChange && onChange(_) })] }) }));
1658
+ return (jsx("div", { className: "space-y-lg", children: jsxs("div", { className: "space-y-xs @xl:flex @xl:items-center @xl:gap-xl", children: [jsx(Radio, { name: "vedTypes", text: "\u0412\u0430\u043B\u044E\u0442\u043D\u044B\u0439 \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u044C", value: "currencyControl", checked: value === 'currencyControl', onChange: (_) => onChange && onChange(_) }), jsx(Radio, { name: "vedTypes", text: "\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430\u0440\u043D\u044B\u0435 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438", value: "documentOperations", checked: value === 'documentOperations', onChange: (_) => onChange && onChange(_) }), jsx(Radio, { name: "vedTypes", text: "\u041A\u043E\u043D\u0432\u0435\u0440\u0441\u0438\u043E\u043D\u043D\u044B\u0435 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438", value: "conversionTransactions", checked: value === 'conversionTransactions', onChange: (_) => onChange && onChange(_) }), jsx(Radio, { name: "vedTypes", text: "\u0418\u043D\u044B\u0435 \u0432\u043E\u043F\u0440\u043E\u0441\u044B \u0412\u042D\u0414", value: "otherIssues", checked: value === 'otherIssues', onChange: (_) => onChange && onChange(_) })] }) }));
1654
1659
  };
1655
1660
 
1656
1661
  const renderWedDataOrganization = (field, regions) => {
@@ -1712,7 +1717,7 @@
1712
1717
  }, [onSubmit]);
1713
1718
  const [, { field, ...formProps }] = useForm(initialFormState, handleSubmit);
1714
1719
  const regions = useGetRegions();
1715
- return (jsxs("form", { className: "container space-y-m", onSubmit: formProps.onSubmit, children: [renderQuestionsInterested(field), jsx(Heading, { headingType: "h6", title: "\u0414\u0430\u043D\u043D\u044B\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", className: "@xl:text-center" }), renderWedDataOrganization(field, regions), renderWedTextarea(field), jsxs("div", { className: "flex flex-col gap-m border-b border-main-divider pb-lg @xl:items-center @xl:flex-row @xl:pb-4xl", children: [renderSubmitButton(button), jsx(Footnote, { link: link })] }), jsx(Heading, { headingType: "h6", title: "\u0418\u043B\u0438 \u0441\u0432\u044F\u0436\u0438\u0442\u0435\u0441\u044C \u0441 \u043D\u0430\u043C\u0438 \u0443\u0434\u043E\u0431\u043D\u044B\u043C \u0441\u043F\u043E\u0441\u043E\u0431\u043E\u043C", className: "@xl:text-center" }), renderContacts()] }));
1720
+ return (jsxs("form", { className: "container space-y-lg", onSubmit: formProps.onSubmit, children: [renderQuestionsInterested(field), jsx(Heading, { headingType: "h6", title: "\u0414\u0430\u043D\u043D\u044B\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", className: "@xl:text-center" }), renderWedDataOrganization(field, regions), renderWedTextarea(field), jsxs("div", { className: "flex flex-col gap-m border-b border-main-divider pb-lg @xl:items-center @xl:flex-row @xl:pb-4xl", children: [renderSubmitButton(button), jsx(Footnote, { link: link })] }), jsx(Heading, { headingType: "h6", title: "\u0418\u043B\u0438 \u0441\u0432\u044F\u0436\u0438\u0442\u0435\u0441\u044C \u0441 \u043D\u0430\u043C\u0438 \u0443\u0434\u043E\u0431\u043D\u044B\u043C \u0441\u043F\u043E\u0441\u043E\u0431\u043E\u043C", className: "@xl:text-center" }), renderContacts()] }));
1716
1721
  });
1717
1722
 
1718
1723
  const EmbeddableForms = {
@@ -1728,7 +1733,8 @@
1728
1733
  const ResponseNotification = JSX(({ responseType }) => {
1729
1734
  const responseOK = responseType === 'OK';
1730
1735
  const backgroundColor = responseOK ? 'bg-ok' : 'bg-fail';
1731
- return (jsxs("div", { className: `flex items-center p-lg rounded-md space-x-m ${backgroundColor}`, children: [responseOK ? (jsx(Img, { image: { icon: 'ResponseOKIcon' }, width: "42", height: "42" })) : (jsx(Img, { image: { icon: 'ResponseFailIcon' }, width: "37", height: "34" })), jsxs("div", { children: [jsx(Heading, { headingType: "h6", title: responseOK ? 'Ваша заявка отправлена' : 'Не удалось отправить заявку', className: "mb-2xs" }), jsx(Text, { size: "text-l", font: "font-light", color: "text-secondary-text", children: responseOK ? 'Совсем скоро мы с вами свяжемся' : 'Пожалуйста, повторите позднее' })] })] }));
1736
+ const statusIcon = responseOK ? 'ResponseOKIcon' : 'ResponseFailIcon';
1737
+ return (jsxs("div", { className: `flex items-center p-lg rounded-md space-x-m ${backgroundColor}`, children: [jsx(Img, { image: { icon: statusIcon ? 'ResponseOKIcon' : 'ResponseFailIcon', iconVersion: 'normal' }, width: "42", height: "42" }), jsxs("div", { children: [jsx(Heading, { headingType: "h6", title: responseOK ? 'Ваша заявка отправлена' : 'Не удалось отправить заявку', className: "mb-2xs" }), jsx(Text, { size: "text-l", font: "font-light", color: "text-secondary-text", children: responseOK ? 'Совсем скоро мы с вами свяжемся' : 'Пожалуйста, повторите позднее' })] })] }));
1732
1738
  });
1733
1739
 
1734
1740
  const API = LeadServiceAPI();
@@ -3979,14 +3985,14 @@
3979
3985
  };
3980
3986
 
3981
3987
  const Contacts = JSX(({ className = '', items }) => (jsxs("div", { className: className, children: [items?.length ? items.map(renderContactsGroup) : null, jsx(LinkButton, { version: "primary", className: "w-full", href: "https://old.rshb.ru/feedback/question/", target: "_blank", ariaLabel: "\u041E\u0431\u0440\u0430\u0442\u043D\u0430\u044F \u0441\u0432\u044F\u0437\u044C", text: "\u041E\u0431\u0440\u0430\u0442\u043D\u0430\u044F \u0441\u0432\u044F\u0437\u044C" })] })));
3982
- const renderContactsGroup = (item, i) => (jsxs("div", { className: "mb-m", children: [jsx("div", { className: "mb-m", children: jsx(Text, { size: "text-l", font: "font-medium", children: item?.title }) }), jsx("div", { children: item.items?.map(renderContact) })] }, String(i)));
3983
- const renderContact = (item, index) => (jsxs("div", { className: "mb-m", children: [jsx("div", { children: renderText(item.type, item.text) }), jsx("div", { className: "mt-2xs text-s font-light text-secondary-text", children: item.description })] }, String(index)));
3988
+ const renderContactsGroup = (item, i) => (jsxs("div", { className: "mb-m space-y-m", children: [jsx("div", { children: jsx(Text, { size: "text-l", font: "font-medium", children: item?.title }) }), jsx("div", { className: "space-y-m", children: item.items?.map(renderContact) })] }, String(i)));
3989
+ const renderContact = (item, index) => (jsxs("div", { className: "space-y-2xs", children: [jsx("div", { children: renderText(item.type, item.text) }), jsx(Paragraph, { size: "text-s", font: "font-light", color: "text-secondary-text", children: item.description })] }, String(index)));
3984
3990
  const renderText = (type, text = '') => {
3985
3991
  switch (type) {
3986
3992
  case 'tel':
3987
- return (jsx("a", { className: "text-h6 text-primary-text hover:text-primary-main no-underline", href: `tel:${formatTel(text)}`, children: text }));
3993
+ return (jsx("a", { className: "text-primary-text hover:text-primary-main no-underline", href: `tel:${formatTel(text)}`, children: jsx(Text, { size: "text-h6", children: text }) }));
3988
3994
  case 'email':
3989
- return (jsx("a", { className: "text-xl font-light text-primary-text no-underline", href: `mailto:${text}`, children: text }));
3995
+ return (jsx("a", { className: "no-underline", href: `mailto:${text}`, children: jsx(Paragraph, { size: "text-xl", font: "font-light", color: "text-primary-text", children: text }) }));
3990
3996
  default:
3991
3997
  return jsx("span", { children: text });
3992
3998
  }
@@ -5792,7 +5798,7 @@
5792
5798
  return (jsx("div", { className: "flex items-end absolute bottom-0 right-0 h-full pointer-events-none", children: jsx(LikeControl, { className: "rounded-tl-3xl sticky bottom-0 pointer-events-auto" }) }));
5793
5799
  }
5794
5800
 
5795
- const packageVersion = "0.14.119";
5801
+ const packageVersion = "0.14.121";
5796
5802
 
5797
5803
  exports.Blocks = Blocks;
5798
5804
  exports.ContentPage = ContentPage;