@redneckz/wildless-cms-uni-blocks 0.14.121 → 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 (283) hide show
  1. package/bundle/bundle.umd.js +25 -19
  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/lib/common.css +1 -1
  57. package/lib/components/ApplicationForm/ApplicationFieldsetLayout.d.ts +7 -0
  58. package/lib/components/ApplicationForm/ApplicationFieldsetLayout.js +5 -0
  59. package/lib/components/ApplicationForm/ApplicationFieldsetLayout.js.map +1 -0
  60. package/lib/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
  61. package/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  62. package/lib/components/ApplicationForm/ApplicationFormCredit.js +1 -1
  63. package/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  64. package/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  65. package/lib/components/ApplicationForm/ApplicationFormIndividuals.d.ts +9 -0
  66. package/lib/components/ApplicationForm/ApplicationFormIndividuals.js.map +1 -1
  67. package/lib/components/ApplicationForm/ApplicationFormWed.d.ts +11 -0
  68. package/lib/components/ApplicationForm/ApplicationFormWed.js +1 -1
  69. package/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  70. package/lib/components/ApplicationForm/DatePickerControl.js +2 -1
  71. package/lib/components/ApplicationForm/DatePickerControl.js.map +1 -1
  72. package/lib/components/ApplicationForm/InputControl.js +2 -2
  73. package/lib/components/ApplicationForm/InputControl.js.map +1 -1
  74. package/lib/components/ApplicationForm/PhoneInputControl.js +2 -2
  75. package/lib/components/ApplicationForm/PhoneInputControl.js.map +1 -1
  76. package/lib/components/ApplicationForm/ResponseNotification.js +2 -1
  77. package/lib/components/ApplicationForm/ResponseNotification.js.map +1 -1
  78. package/lib/components/ApplicationForm/SelectControl.js +2 -2
  79. package/lib/components/ApplicationForm/SelectControl.js.map +1 -1
  80. package/lib/components/ApplicationForm/renderAcquiringDataOrganization.js +2 -1
  81. package/lib/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
  82. package/lib/components/ApplicationForm/renderAcquiringRegion.js +3 -2
  83. package/lib/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
  84. package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js +2 -1
  85. package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
  86. package/lib/components/ApplicationForm/renderCreditDataOrganization.js +2 -1
  87. package/lib/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
  88. package/lib/components/ApplicationForm/renderErrorText.d.ts +1 -0
  89. package/lib/components/ApplicationForm/renderErrorText.js +4 -0
  90. package/lib/components/ApplicationForm/renderErrorText.js.map +1 -0
  91. package/lib/components/ApplicationForm/renderIndividualsFields.d.ts +1 -1
  92. package/lib/components/ApplicationForm/renderIndividualsFields.js +2 -1
  93. package/lib/components/ApplicationForm/renderIndividualsFields.js.map +1 -1
  94. package/lib/components/ApplicationForm/renderQuestionsInterested.d.ts +1 -1
  95. package/lib/components/ApplicationForm/renderQuestionsInterested.js +1 -1
  96. package/lib/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
  97. package/lib/components/ApplicationForm/renderRegionDepartment.js +6 -5
  98. package/lib/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
  99. package/lib/components/ApplicationForm/renderWedDataOrganization.d.ts +1 -1
  100. package/lib/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
  101. package/lib/components/ApplicationForm/renderWedTextarea.d.ts +1 -1
  102. package/mobile/bundle/bundle.umd.js +23 -17
  103. package/mobile/bundle/bundle.umd.min.js +1 -1
  104. package/mobile/bundle/components/ApplicationForm/ApplicationFieldsetLayout.d.ts +7 -0
  105. package/mobile/bundle/components/ApplicationForm/ApplicationFormIndividuals.d.ts +9 -0
  106. package/mobile/bundle/components/ApplicationForm/ApplicationFormWed.d.ts +11 -0
  107. package/mobile/bundle/components/ApplicationForm/renderErrorText.d.ts +2 -0
  108. package/mobile/bundle/components/ApplicationForm/renderIndividualsFields.d.ts +1 -1
  109. package/mobile/bundle/components/ApplicationForm/renderQuestionsInterested.d.ts +1 -1
  110. package/mobile/bundle/components/ApplicationForm/renderWedDataOrganization.d.ts +1 -1
  111. package/mobile/bundle/components/ApplicationForm/renderWedTextarea.d.ts +1 -1
  112. package/mobile/dist/components/ApplicationForm/ApplicationFieldsetLayout.d.ts +7 -0
  113. package/mobile/dist/components/ApplicationForm/ApplicationFieldsetLayout.js +7 -0
  114. package/mobile/dist/components/ApplicationForm/ApplicationFieldsetLayout.js.map +1 -0
  115. package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
  116. package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  117. package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js +1 -1
  118. package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  119. package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  120. package/mobile/dist/components/ApplicationForm/ApplicationFormIndividuals.d.ts +9 -0
  121. package/mobile/dist/components/ApplicationForm/ApplicationFormIndividuals.js.map +1 -1
  122. package/mobile/dist/components/ApplicationForm/ApplicationFormWed.d.ts +11 -0
  123. package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js +1 -1
  124. package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  125. package/mobile/dist/components/ApplicationForm/DatePickerControl.js +2 -1
  126. package/mobile/dist/components/ApplicationForm/DatePickerControl.js.map +1 -1
  127. package/mobile/dist/components/ApplicationForm/InputControl.js +2 -2
  128. package/mobile/dist/components/ApplicationForm/InputControl.js.map +1 -1
  129. package/mobile/dist/components/ApplicationForm/PhoneInputControl.js +2 -2
  130. package/mobile/dist/components/ApplicationForm/PhoneInputControl.js.map +1 -1
  131. package/mobile/dist/components/ApplicationForm/ResponseNotification.js +2 -1
  132. package/mobile/dist/components/ApplicationForm/ResponseNotification.js.map +1 -1
  133. package/mobile/dist/components/ApplicationForm/SelectControl.js +2 -2
  134. package/mobile/dist/components/ApplicationForm/SelectControl.js.map +1 -1
  135. package/mobile/dist/components/ApplicationForm/renderAcquiringRegion.js +2 -1
  136. package/mobile/dist/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
  137. package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js +2 -1
  138. package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
  139. package/mobile/dist/components/ApplicationForm/renderErrorText.d.ts +2 -0
  140. package/mobile/dist/components/ApplicationForm/renderErrorText.js +7 -0
  141. package/mobile/dist/components/ApplicationForm/renderErrorText.js.map +1 -0
  142. package/mobile/dist/components/ApplicationForm/renderIndividualsFields.d.ts +1 -1
  143. package/mobile/dist/components/ApplicationForm/renderIndividualsFields.js +2 -1
  144. package/mobile/dist/components/ApplicationForm/renderIndividualsFields.js.map +1 -1
  145. package/mobile/dist/components/ApplicationForm/renderQuestionsInterested.d.ts +1 -1
  146. package/mobile/dist/components/ApplicationForm/renderQuestionsInterested.js +1 -1
  147. package/mobile/dist/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
  148. package/mobile/dist/components/ApplicationForm/renderRegionDepartment.js +5 -4
  149. package/mobile/dist/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
  150. package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.d.ts +1 -1
  151. package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
  152. package/mobile/dist/components/ApplicationForm/renderWedTextarea.d.ts +1 -1
  153. package/mobile/lib/common.css +1 -1
  154. package/mobile/lib/components/ApplicationForm/ApplicationFieldsetLayout.d.ts +7 -0
  155. package/mobile/lib/components/ApplicationForm/ApplicationFieldsetLayout.js +5 -0
  156. package/mobile/lib/components/ApplicationForm/ApplicationFieldsetLayout.js.map +1 -0
  157. package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
  158. package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  159. package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js +1 -1
  160. package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  161. package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  162. package/mobile/lib/components/ApplicationForm/ApplicationFormIndividuals.d.ts +9 -0
  163. package/mobile/lib/components/ApplicationForm/ApplicationFormIndividuals.js.map +1 -1
  164. package/mobile/lib/components/ApplicationForm/ApplicationFormWed.d.ts +11 -0
  165. package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js +1 -1
  166. package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  167. package/mobile/lib/components/ApplicationForm/DatePickerControl.js +2 -1
  168. package/mobile/lib/components/ApplicationForm/DatePickerControl.js.map +1 -1
  169. package/mobile/lib/components/ApplicationForm/InputControl.js +2 -2
  170. package/mobile/lib/components/ApplicationForm/InputControl.js.map +1 -1
  171. package/mobile/lib/components/ApplicationForm/PhoneInputControl.js +2 -2
  172. package/mobile/lib/components/ApplicationForm/PhoneInputControl.js.map +1 -1
  173. package/mobile/lib/components/ApplicationForm/ResponseNotification.js +2 -1
  174. package/mobile/lib/components/ApplicationForm/ResponseNotification.js.map +1 -1
  175. package/mobile/lib/components/ApplicationForm/SelectControl.js +2 -2
  176. package/mobile/lib/components/ApplicationForm/SelectControl.js.map +1 -1
  177. package/mobile/lib/components/ApplicationForm/renderAcquiringRegion.js +3 -2
  178. package/mobile/lib/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
  179. package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js +2 -1
  180. package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
  181. package/mobile/lib/components/ApplicationForm/renderErrorText.d.ts +2 -0
  182. package/mobile/lib/components/ApplicationForm/renderErrorText.js +4 -0
  183. package/mobile/lib/components/ApplicationForm/renderErrorText.js.map +1 -0
  184. package/mobile/lib/components/ApplicationForm/renderIndividualsFields.d.ts +1 -1
  185. package/mobile/lib/components/ApplicationForm/renderIndividualsFields.js +2 -1
  186. package/mobile/lib/components/ApplicationForm/renderIndividualsFields.js.map +1 -1
  187. package/mobile/lib/components/ApplicationForm/renderQuestionsInterested.d.ts +1 -1
  188. package/mobile/lib/components/ApplicationForm/renderQuestionsInterested.js +1 -1
  189. package/mobile/lib/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
  190. package/mobile/lib/components/ApplicationForm/renderRegionDepartment.js +6 -5
  191. package/mobile/lib/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
  192. package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.d.ts +1 -1
  193. package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
  194. package/mobile/lib/components/ApplicationForm/renderWedTextarea.d.ts +1 -1
  195. package/mobile/src/components/ApplicationForm/ApplicationFieldsetLayout.tsx +18 -0
  196. package/mobile/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +1 -1
  197. package/mobile/src/components/ApplicationForm/ApplicationFormCredit.tsx +1 -1
  198. package/mobile/src/components/ApplicationForm/ApplicationFormDeposit.tsx +5 -1
  199. package/mobile/src/components/ApplicationForm/ApplicationFormIndividuals.tsx +10 -1
  200. package/mobile/src/components/ApplicationForm/ApplicationFormWed.tsx +13 -2
  201. package/mobile/src/components/ApplicationForm/DatePickerControl.tsx +2 -7
  202. package/mobile/src/components/ApplicationForm/InputControl.tsx +2 -8
  203. package/mobile/src/components/ApplicationForm/PhoneInputControl.tsx +2 -8
  204. package/mobile/src/components/ApplicationForm/ResponseNotification.tsx +7 -5
  205. package/mobile/src/components/ApplicationForm/SelectControl.tsx +2 -8
  206. package/mobile/src/components/ApplicationForm/renderAcquiringRegion.tsx +23 -18
  207. package/mobile/src/components/ApplicationForm/renderBusinessCardDataOrganization.tsx +31 -26
  208. package/mobile/src/components/ApplicationForm/renderErrorText.tsx +11 -0
  209. package/mobile/src/components/ApplicationForm/renderIndividualsFields.tsx +42 -37
  210. package/mobile/src/components/ApplicationForm/renderQuestionsInterested.tsx +3 -7
  211. package/mobile/src/components/ApplicationForm/renderRegionDepartment.tsx +27 -22
  212. package/mobile/src/components/ApplicationForm/renderWedDataOrganization.tsx +1 -1
  213. package/mobile/src/components/ApplicationForm/renderWedTextarea.tsx +1 -1
  214. package/package.json +1 -1
  215. package/src/components/ApplicationForm/ApplicationFieldsetLayout.tsx +18 -0
  216. package/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +1 -1
  217. package/src/components/ApplicationForm/ApplicationFormCredit.tsx +1 -1
  218. package/src/components/ApplicationForm/ApplicationFormDeposit.tsx +5 -1
  219. package/src/components/ApplicationForm/ApplicationFormIndividuals.tsx +10 -1
  220. package/src/components/ApplicationForm/ApplicationFormWed.tsx +13 -2
  221. package/src/components/ApplicationForm/DatePickerControl.tsx +2 -7
  222. package/src/components/ApplicationForm/InputControl.tsx +2 -8
  223. package/src/components/ApplicationForm/PhoneInputControl.tsx +2 -8
  224. package/src/components/ApplicationForm/ResponseNotification.tsx +7 -5
  225. package/src/components/ApplicationForm/SelectControl.tsx +2 -8
  226. package/src/components/ApplicationForm/renderAcquiringDataOrganization.tsx +31 -26
  227. package/src/components/ApplicationForm/renderAcquiringRegion.tsx +23 -18
  228. package/src/components/ApplicationForm/renderBusinessCardDataOrganization.tsx +31 -26
  229. package/src/components/ApplicationForm/renderCreditDataOrganization.tsx +37 -32
  230. package/src/components/ApplicationForm/renderErrorText.tsx +11 -0
  231. package/src/components/ApplicationForm/renderIndividualsFields.tsx +42 -37
  232. package/src/components/ApplicationForm/renderQuestionsInterested.tsx +3 -7
  233. package/src/components/ApplicationForm/renderRegionDepartment.tsx +27 -22
  234. package/src/components/ApplicationForm/renderWedDataOrganization.tsx +1 -1
  235. package/src/components/ApplicationForm/renderWedTextarea.tsx +1 -1
  236. package/bundle/components/ApplicationForm/DepositFormState.d.ts +0 -4
  237. package/bundle/components/ApplicationForm/IndividualsFormState.d.ts +0 -9
  238. package/bundle/components/ApplicationForm/WedFormState.d.ts +0 -11
  239. package/dist/components/ApplicationForm/DepositFormState.d.ts +0 -4
  240. package/dist/components/ApplicationForm/DepositFormState.js +0 -2
  241. package/dist/components/ApplicationForm/DepositFormState.js.map +0 -1
  242. package/dist/components/ApplicationForm/IndividualsFormState.d.ts +0 -9
  243. package/dist/components/ApplicationForm/IndividualsFormState.js +0 -2
  244. package/dist/components/ApplicationForm/IndividualsFormState.js.map +0 -1
  245. package/dist/components/ApplicationForm/WedFormState.d.ts +0 -11
  246. package/dist/components/ApplicationForm/WedFormState.js +0 -2
  247. package/dist/components/ApplicationForm/WedFormState.js.map +0 -1
  248. package/lib/components/ApplicationForm/DepositFormState.d.ts +0 -4
  249. package/lib/components/ApplicationForm/DepositFormState.js +0 -2
  250. package/lib/components/ApplicationForm/DepositFormState.js.map +0 -1
  251. package/lib/components/ApplicationForm/IndividualsFormState.d.ts +0 -9
  252. package/lib/components/ApplicationForm/IndividualsFormState.js +0 -2
  253. package/lib/components/ApplicationForm/IndividualsFormState.js.map +0 -1
  254. package/lib/components/ApplicationForm/WedFormState.d.ts +0 -11
  255. package/lib/components/ApplicationForm/WedFormState.js +0 -2
  256. package/lib/components/ApplicationForm/WedFormState.js.map +0 -1
  257. package/mobile/bundle/components/ApplicationForm/DepositFormState.d.ts +0 -4
  258. package/mobile/bundle/components/ApplicationForm/IndividualsFormState.d.ts +0 -9
  259. package/mobile/bundle/components/ApplicationForm/WedFormState.d.ts +0 -11
  260. package/mobile/dist/components/ApplicationForm/DepositFormState.d.ts +0 -4
  261. package/mobile/dist/components/ApplicationForm/DepositFormState.js +0 -2
  262. package/mobile/dist/components/ApplicationForm/DepositFormState.js.map +0 -1
  263. package/mobile/dist/components/ApplicationForm/IndividualsFormState.d.ts +0 -9
  264. package/mobile/dist/components/ApplicationForm/IndividualsFormState.js +0 -2
  265. package/mobile/dist/components/ApplicationForm/IndividualsFormState.js.map +0 -1
  266. package/mobile/dist/components/ApplicationForm/WedFormState.d.ts +0 -11
  267. package/mobile/dist/components/ApplicationForm/WedFormState.js +0 -2
  268. package/mobile/dist/components/ApplicationForm/WedFormState.js.map +0 -1
  269. package/mobile/lib/components/ApplicationForm/DepositFormState.d.ts +0 -4
  270. package/mobile/lib/components/ApplicationForm/DepositFormState.js +0 -2
  271. package/mobile/lib/components/ApplicationForm/DepositFormState.js.map +0 -1
  272. package/mobile/lib/components/ApplicationForm/IndividualsFormState.d.ts +0 -9
  273. package/mobile/lib/components/ApplicationForm/IndividualsFormState.js +0 -2
  274. package/mobile/lib/components/ApplicationForm/IndividualsFormState.js.map +0 -1
  275. package/mobile/lib/components/ApplicationForm/WedFormState.d.ts +0 -11
  276. package/mobile/lib/components/ApplicationForm/WedFormState.js +0 -2
  277. package/mobile/lib/components/ApplicationForm/WedFormState.js.map +0 -1
  278. package/mobile/src/components/ApplicationForm/DepositFormState.ts +0 -4
  279. package/mobile/src/components/ApplicationForm/IndividualsFormState.ts +0 -9
  280. package/mobile/src/components/ApplicationForm/WedFormState.ts +0 -12
  281. package/src/components/ApplicationForm/DepositFormState.ts +0 -4
  282. package/src/components/ApplicationForm/IndividualsFormState.ts +0 -9
  283. package/src/components/ApplicationForm/WedFormState.ts +0 -12
@@ -1,7 +1,8 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { withValidator } from '../../validation/withValidator.js';
3
+ import { ApplicationFieldsetLayout, childrenClassName } from './ApplicationFieldsetLayout.js';
3
4
  import { InputControl } from './InputControl.js';
4
5
  import { PhoneInputControl } from './PhoneInputControl.js';
5
6
  import { defaultValidator, innValidator, nameValidator, phoneValidator } from './validators.js';
6
- export 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) })] })] }));
7
+ export 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) })] }) }));
7
8
  //# sourceMappingURL=renderBusinessCardDataOrganization.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"renderBusinessCardDataOrganization.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderBusinessCardDataOrganization.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAE/D,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE7F,MAAM,CAAC,MAAM,kCAAkC,GAAG,CAChD,KAAiD,EACjD,EAAE,CAAC,CACH,eAAK,SAAS,EAAC,yCAAyC,aACtD,eAAK,SAAS,EAAC,qBAAqB,aAClC,KAAC,YAAY,IACX,SAAS,EAAC,iBAAiB,EAC3B,KAAK,EAAC,uFAAiB,KACnB,aAAa,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC,GAC/C,EACF,KAAC,YAAY,IACX,SAAS,EAAC,iBAAiB,EAC3B,KAAK,EAAC,oBAAK,KACP,aAAa,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,YAAY,CAAC,GAC7C,IACE,EACN,eAAK,SAAS,EAAC,qBAAqB,aAClC,KAAC,iBAAiB,IAChB,SAAS,EAAC,iBAAiB,EAC3B,KAAK,EAAC,4CAAS,KACX,aAAa,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE,cAAc,CAAC,GACjD,EACF,KAAC,YAAY,IACX,SAAS,EAAC,iBAAiB,EAC3B,KAAK,EAAC,mGAAmB,KACrB,aAAa,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,gBAAgB,CAAC,GAClD,IACE,IACF,CACP,CAAC"}
1
+ {"version":3,"file":"renderBusinessCardDataOrganization.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderBusinessCardDataOrganization.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,yBAAyB,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAE3F,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE7F,MAAM,CAAC,MAAM,kCAAkC,GAAG,CAChD,KAAiD,EACjD,EAAE,CAAC,CACH,KAAC,yBAAyB,IACxB,aAAa,EACX,eAAK,SAAS,EAAE,iBAAiB,aAC/B,KAAC,YAAY,IACX,SAAS,EAAC,iBAAiB,EAC3B,KAAK,EAAC,uFAAiB,KACnB,aAAa,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC,GAC/C,EACF,KAAC,YAAY,IACX,SAAS,EAAC,iBAAiB,EAC3B,KAAK,EAAC,oBAAK,KACP,aAAa,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,YAAY,CAAC,GAC7C,IACE,EAER,cAAc,EACZ,eAAK,SAAS,EAAE,iBAAiB,aAC/B,KAAC,iBAAiB,IAChB,SAAS,EAAC,iBAAiB,EAC3B,KAAK,EAAC,4CAAS,KACX,aAAa,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE,cAAc,CAAC,GACjD,EACF,KAAC,YAAY,IACX,SAAS,EAAC,iBAAiB,EAC3B,KAAK,EAAC,mGAAmB,KACrB,aAAa,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,gBAAgB,CAAC,GAClD,IACE,GAER,CACH,CAAC"}
@@ -1,7 +1,8 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { withValidator } from '../../validation/withValidator.js';
3
+ import { ApplicationFieldsetLayout, childrenClassName } from './ApplicationFieldsetLayout.js';
3
4
  import { InputControl } from './InputControl.js';
4
5
  import { PhoneInputControl } from './PhoneInputControl.js';
5
6
  import { defaultValidator, innValidator, nameValidator, phoneValidator } from './validators.js';
6
- export 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') })] })] }));
7
+ export 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') })] }) }));
7
8
  //# sourceMappingURL=renderCreditDataOrganization.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"renderCreditDataOrganization.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderCreditDataOrganization.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAE/D,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE7F,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,KAA2C,EAAE,EAAE,CAAC,CAC3F,eAAK,SAAS,EAAC,wGAAwG,aACrH,eAAK,SAAS,EAAC,qBAAqB,aAClC,KAAC,YAAY,IACX,SAAS,EAAC,iBAAiB,EAC3B,KAAK,EAAC,6IAA0B,KAC5B,aAAa,CAAC,KAAK,CAAC,UAAU,CAAC,EAAE,gBAAgB,CAAC,GACtD,EACF,KAAC,YAAY,IACX,SAAS,EAAC,iBAAiB,EAC3B,KAAK,EAAC,oBAAK,KACP,aAAa,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,YAAY,CAAC,GAC7C,EACF,KAAC,iBAAiB,IAChB,SAAS,EAAC,iBAAiB,EAC3B,KAAK,EAAC,4CAAS,KACX,aAAa,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE,cAAc,CAAC,GACjD,IACE,EACN,eAAK,SAAS,EAAC,qBAAqB,aAClC,KAAC,YAAY,IACX,SAAS,EAAC,iBAAiB,EAC3B,KAAK,EAAC,+FAAoB,KACtB,aAAa,CAAC,KAAK,CAAC,eAAe,CAAC,EAAE,gBAAgB,CAAC,GAC3D,EACF,KAAC,YAAY,IACX,SAAS,EAAC,iBAAiB,EAC3B,KAAK,EAAC,uFAAiB,KACnB,aAAa,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC,GAC/C,EACF,KAAC,YAAY,IAAC,SAAS,EAAC,iBAAiB,EAAC,KAAK,EAAC,mGAAmB,KAAK,KAAK,CAAC,MAAM,CAAC,GAAI,IACrF,IACF,CACP,CAAC"}
1
+ {"version":3,"file":"renderCreditDataOrganization.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderCreditDataOrganization.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,yBAAyB,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAE3F,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE7F,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,KAA2C,EAAE,EAAE,CAAC,CAC3F,KAAC,yBAAyB,IACxB,aAAa,EACX,eAAK,SAAS,EAAE,iBAAiB,aAC/B,KAAC,YAAY,IACX,SAAS,EAAC,iBAAiB,EAC3B,KAAK,EAAC,6IAA0B,KAC5B,aAAa,CAAC,KAAK,CAAC,UAAU,CAAC,EAAE,gBAAgB,CAAC,GACtD,EACF,KAAC,YAAY,IACX,SAAS,EAAC,iBAAiB,EAC3B,KAAK,EAAC,oBAAK,KACP,aAAa,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,YAAY,CAAC,GAC7C,EACF,KAAC,iBAAiB,IAChB,SAAS,EAAC,iBAAiB,EAC3B,KAAK,EAAC,4CAAS,KACX,aAAa,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE,cAAc,CAAC,GACjD,IACE,EAER,cAAc,EACZ,eAAK,SAAS,EAAE,iBAAiB,aAC/B,KAAC,YAAY,IACX,SAAS,EAAC,iBAAiB,EAC3B,KAAK,EAAC,+FAAoB,KACtB,aAAa,CAAC,KAAK,CAAC,eAAe,CAAC,EAAE,gBAAgB,CAAC,GAC3D,EACF,KAAC,YAAY,IACX,SAAS,EAAC,iBAAiB,EAC3B,KAAK,EAAC,uFAAiB,KACnB,aAAa,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC,GAC/C,EACF,KAAC,YAAY,IAAC,SAAS,EAAC,iBAAiB,EAAC,KAAK,EAAC,mGAAmB,KAAK,KAAK,CAAC,MAAM,CAAC,GAAI,IACrF,GAER,CACH,CAAC"}
@@ -0,0 +1 @@
1
+ export declare const renderErrorText: (error: string | undefined) => JSX.Element;
@@ -0,0 +1,4 @@
1
+ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
+ import { Text } from '../../ui-kit/Text/Text.js';
3
+ export const renderErrorText = (error) => (_jsx("div", { className: "h-4", children: error ? (_jsx(Text, { size: "text-xs", font: "font-light", color: "text-error", children: error })) : null }));
4
+ //# sourceMappingURL=renderErrorText.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"renderErrorText.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderErrorText.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAE9C,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,KAAyB,EAAE,EAAE,CAAC,CAC5D,cAAK,SAAS,EAAC,KAAK,YACjB,KAAK,CAAC,CAAC,CAAC,CACP,KAAC,IAAI,IAAC,IAAI,EAAC,SAAS,EAAC,IAAI,EAAC,YAAY,EAAC,KAAK,EAAC,YAAY,YACtD,KAAK,GACD,CACR,CAAC,CAAC,CAAC,IAAI,GACJ,CACP,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import { type FormFieldRegisterer } from '../../hooks/useForm';
2
- import { type IndividualsFormState } from './IndividualsFormState';
2
+ import { type IndividualsFormState } from './ApplicationFormIndividuals';
3
3
  export declare const renderIndividualsFields: (field: FormFieldRegisterer<IndividualsFormState>) => JSX.Element;
@@ -1,8 +1,9 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { withValidator } from '../../validation/withValidator.js';
3
+ import { ApplicationFieldsetLayout, childrenClassName } from './ApplicationFieldsetLayout.js';
3
4
  import { DatePickerControl } from './DatePickerControl.js';
4
5
  import { InputControl } from './InputControl.js';
5
6
  import { PhoneInputControl } from './PhoneInputControl.js';
6
7
  import { defaultValidator, nameValidator, phoneValidator } from './validators.js';
7
- export 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) })] })] }));
8
+ export 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) })] }) }));
8
9
  //# sourceMappingURL=renderIndividualsFields.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"renderIndividualsFields.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderIndividualsFields.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE/E,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,KAAgD,EAAE,EAAE,CAAC,CAC3F,eAAK,SAAS,EAAC,yCAAyC,aACtD,eAAK,SAAS,EAAC,qBAAqB,aAClC,KAAC,YAAY,IACX,SAAS,EAAC,iBAAiB,EAC3B,KAAK,EAAC,4CAAS,KACX,aAAa,CAAC,KAAK,CAAC,SAAS,CAAC,EAAE,aAAa,CAAC,GAClD,EACF,KAAC,YAAY,IACX,SAAS,EAAC,iBAAiB,EAC3B,KAAK,EAAC,kDAAU,KACZ,aAAa,CAAC,KAAK,CAAC,YAAY,CAAC,EAAE,aAAa,CAAC,GACrD,EACF,KAAC,iBAAiB,IAChB,SAAS,EAAC,iBAAiB,EAC3B,KAAK,EAAC,4CAAS,KACX,aAAa,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE,cAAc,CAAC,GACjD,IACE,EACN,eAAK,SAAS,EAAC,qBAAqB,aAClC,KAAC,YAAY,IACX,SAAS,EAAC,iBAAiB,EAC3B,KAAK,EAAC,oBAAK,KACP,aAAa,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC,GAC/C,EACF,KAAC,iBAAiB,IAChB,SAAS,EAAC,iBAAiB,EAC3B,KAAK,EAAC,2EAAe,KACjB,aAAa,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,gBAAgB,CAAC,GAClD,EACF,KAAC,YAAY,IACX,SAAS,EAAC,iBAAiB,EAC3B,KAAK,EAAC,mGAAmB,KACrB,aAAa,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,gBAAgB,CAAC,GAClD,IACE,IACF,CACP,CAAC"}
1
+ {"version":3,"file":"renderIndividualsFields.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderIndividualsFields.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,yBAAyB,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAE3F,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE/E,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,KAAgD,EAAE,EAAE,CAAC,CAC3F,KAAC,yBAAyB,IACxB,aAAa,EACX,eAAK,SAAS,EAAE,iBAAiB,aAC/B,KAAC,YAAY,IACX,SAAS,EAAC,iBAAiB,EAC3B,KAAK,EAAC,4CAAS,KACX,aAAa,CAAC,KAAK,CAAC,SAAS,CAAC,EAAE,aAAa,CAAC,GAClD,EACF,KAAC,YAAY,IACX,SAAS,EAAC,iBAAiB,EAC3B,KAAK,EAAC,kDAAU,KACZ,aAAa,CAAC,KAAK,CAAC,YAAY,CAAC,EAAE,aAAa,CAAC,GACrD,EACF,KAAC,iBAAiB,IAChB,SAAS,EAAC,iBAAiB,EAC3B,KAAK,EAAC,4CAAS,KACX,aAAa,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE,cAAc,CAAC,GACjD,IACE,EAER,cAAc,EACZ,eAAK,SAAS,EAAE,iBAAiB,aAC/B,KAAC,YAAY,IACX,SAAS,EAAC,iBAAiB,EAC3B,KAAK,EAAC,oBAAK,KACP,aAAa,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC,GAC/C,EACF,KAAC,iBAAiB,IAChB,SAAS,EAAC,iBAAiB,EAC3B,KAAK,EAAC,2EAAe,KACjB,aAAa,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,gBAAgB,CAAC,GAClD,EACF,KAAC,YAAY,IACX,SAAS,EAAC,iBAAiB,EAC3B,KAAK,EAAC,mGAAmB,KACrB,aAAa,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,gBAAgB,CAAC,GAClD,IACE,GAER,CACH,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import { type FormFieldRegisterer } from '../../hooks/useForm';
2
- import { type WedFormState } from './WedFormState';
2
+ import { type WedFormState } from './ApplicationFormWed';
3
3
  export declare const renderQuestionsInterested: (field: FormFieldRegisterer<WedFormState>) => JSX.Element;
@@ -2,6 +2,6 @@ import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { Radio } from '../../ui-kit/Radio/Radio.js';
3
3
  export const renderQuestionsInterested = (field) => {
4
4
  const { value, onChange } = field('vedTypes');
5
- 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(_) })] }) }));
5
+ 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(_) })] }) }));
6
6
  };
7
7
  //# sourceMappingURL=renderQuestionsInterested.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"renderQuestionsInterested.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderQuestionsInterested.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AAGjD,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,KAAwC,EAAE,EAAE;IACpF,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC,UAAU,CAAC,CAAC;IAE9C,OAAO,CACL,cAAK,SAAS,EAAC,WAAW,YACxB,eAAK,SAAS,EAAC,sCAAsC,aACnD,KAAC,KAAK,IACJ,SAAS,EAAC,OAAO,EACjB,IAAI,EAAC,UAAU,EACf,IAAI,EAAC,mGAAmB,EACxB,KAAK,EAAC,iBAAiB,EACvB,OAAO,EAAE,KAAK,KAAK,iBAAiB,EACpC,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,QAAQ,IAAI,QAAQ,CAAC,CAAC,CAAC,GACxC,EACF,KAAC,KAAK,IACJ,SAAS,EAAC,OAAO,EACjB,IAAI,EAAC,UAAU,EACf,IAAI,EAAC,iIAAwB,EAC7B,KAAK,EAAC,oBAAoB,EAC1B,OAAO,EAAE,KAAK,KAAK,oBAAoB,EACvC,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,QAAQ,IAAI,QAAQ,CAAC,CAAC,CAAC,GACxC,EACF,KAAC,KAAK,IACJ,SAAS,EAAC,OAAO,EACjB,IAAI,EAAC,UAAU,EACf,IAAI,EAAC,iIAAwB,EAC7B,KAAK,EAAC,wBAAwB,EAC9B,OAAO,EAAE,KAAK,KAAK,wBAAwB,EAC3C,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,QAAQ,IAAI,QAAQ,CAAC,CAAC,CAAC,GACxC,EACF,KAAC,KAAK,IACJ,SAAS,EAAC,OAAO,EACjB,IAAI,EAAC,UAAU,EACf,IAAI,EAAC,wFAAkB,EACvB,KAAK,EAAC,aAAa,EACnB,OAAO,EAAE,KAAK,KAAK,aAAa,EAChC,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,QAAQ,IAAI,QAAQ,CAAC,CAAC,CAAC,GACxC,IACE,GACF,CACP,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"renderQuestionsInterested.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderQuestionsInterested.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AAGjD,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,KAAwC,EAAE,EAAE;IACpF,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC,UAAU,CAAC,CAAC;IAE9C,OAAO,CACL,cAAK,SAAS,EAAC,YAAY,YACzB,eAAK,SAAS,EAAC,iDAAiD,aAC9D,KAAC,KAAK,IACJ,IAAI,EAAC,UAAU,EACf,IAAI,EAAC,mGAAmB,EACxB,KAAK,EAAC,iBAAiB,EACvB,OAAO,EAAE,KAAK,KAAK,iBAAiB,EACpC,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,QAAQ,IAAI,QAAQ,CAAC,CAAC,CAAC,GACxC,EACF,KAAC,KAAK,IACJ,IAAI,EAAC,UAAU,EACf,IAAI,EAAC,iIAAwB,EAC7B,KAAK,EAAC,oBAAoB,EAC1B,OAAO,EAAE,KAAK,KAAK,oBAAoB,EACvC,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,QAAQ,IAAI,QAAQ,CAAC,CAAC,CAAC,GACxC,EACF,KAAC,KAAK,IACJ,IAAI,EAAC,UAAU,EACf,IAAI,EAAC,iIAAwB,EAC7B,KAAK,EAAC,wBAAwB,EAC9B,OAAO,EAAE,KAAK,KAAK,wBAAwB,EAC3C,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,QAAQ,IAAI,QAAQ,CAAC,CAAC,CAAC,GACxC,EACF,KAAC,KAAK,IACJ,IAAI,EAAC,UAAU,EACf,IAAI,EAAC,wFAAkB,EACvB,KAAK,EAAC,aAAa,EACnB,OAAO,EAAE,KAAK,KAAK,aAAa,EAChC,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,QAAQ,IAAI,QAAQ,CAAC,CAAC,CAAC,GACxC,IACE,GACF,CACP,CAAC;AACJ,CAAC,CAAC"}
@@ -1,9 +1,10 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
1
+ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { withValidator } from '../../validation/withValidator.js';
3
+ import { ApplicationFieldsetLayout, childrenClassName } from './ApplicationFieldsetLayout.js';
3
4
  import { SelectControl } from './SelectControl.js';
4
5
  import { defaultValidator } from './validators.js';
5
- export 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 = '' }) => ({
6
- key: branchCode,
7
- text: address,
8
- })), ...withValidator(field('department'), defaultValidator) }) })] }));
6
+ export 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 = '' }) => ({
7
+ key: branchCode,
8
+ text: address,
9
+ })), ...withValidator(field('department'), defaultValidator) }) }) }));
9
10
  //# sourceMappingURL=renderRegionDepartment.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"renderRegionDepartment.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderRegionDepartment.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAI/D,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAQhD,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAyB,EAAE,EAAE,CAAC,CAC7F,eAAK,SAAS,EAAC,6EAA6E,aAC1F,cAAK,SAAS,EAAC,WAAW,YACxB,KAAC,aAAa,IACZ,KAAK,EAAC,sCAAQ,EACd,WAAW,EAAC,uFAAiB,EAC7B,QAAQ,EAAE,IAAI,EACd,OAAO,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,GAAG,EAAE,EAAE,IAAI,GAAG,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,KAC3E,aAAa,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAE,gBAAgB,CAAC,GACpD,GACE,EACN,cAAK,SAAS,EAAC,WAAW,YACxB,KAAC,aAAa,IACZ,KAAK,EAAC,gCAAO,EACb,WAAW,EAAC,iFAAgB,EAC5B,OAAO,EAAE,QAAQ,CAAC,GAAG,CAAC,CAAC,EAAE,UAAU,GAAG,EAAE,EAAE,OAAO,GAAG,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;oBAC5D,GAAG,EAAE,UAAU;oBACf,IAAI,EAAE,OAAO;iBACd,CAAC,CAAC,KACC,aAAa,CAAC,KAAK,CAAC,YAAY,CAAC,EAAE,gBAAgB,CAAC,GACxD,GACE,IACF,CACP,CAAC"}
1
+ {"version":3,"file":"renderRegionDepartment.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderRegionDepartment.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAE/D,OAAO,EAAE,yBAAyB,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAG3F,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAQhD,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAyB,EAAE,EAAE,CAAC,CAC7F,KAAC,yBAAyB,IACxB,aAAa,EACX,cAAK,SAAS,EAAE,iBAAiB,YAC/B,KAAC,aAAa,IACZ,KAAK,EAAC,sCAAQ,EACd,WAAW,EAAC,uFAAiB,EAC7B,QAAQ,EAAE,IAAI,EACd,OAAO,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,GAAG,EAAE,EAAE,IAAI,GAAG,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,KAC3E,aAAa,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAE,gBAAgB,CAAC,GACpD,GACE,EAER,cAAc,EACZ,cAAK,SAAS,EAAE,iBAAiB,YAC/B,KAAC,aAAa,IACZ,KAAK,EAAC,gCAAO,EACb,WAAW,EAAC,iFAAgB,EAC5B,OAAO,EAAE,QAAQ,CAAC,GAAG,CAAC,CAAC,EAAE,UAAU,GAAG,EAAE,EAAE,OAAO,GAAG,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;gBAC5D,GAAG,EAAE,UAAU;gBACf,IAAI,EAAE,OAAO;aACd,CAAC,CAAC,KACC,aAAa,CAAC,KAAK,CAAC,YAAY,CAAC,EAAE,gBAAgB,CAAC,GACxD,GACE,GAER,CACH,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import { type FormFieldRegisterer } from '../../hooks/useForm';
2
+ import { type WedFormState } from './ApplicationFormWed';
2
3
  import { type Select } from './models';
3
- import { type WedFormState } from './WedFormState';
4
4
  export declare const renderWedDataOrganization: (field: FormFieldRegisterer<WedFormState>, regions: Select[]) => JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"renderWedDataOrganization.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderWedDataOrganization.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAG7F,MAAM,CAAC,MAAM,yBAAyB,GAAG,CACvC,KAAwC,EACxC,OAAiB,EACjB,EAAE;IACF,MAAM,iBAAiB,GAAG,KAAK,CAAC,UAAU,CAAC,CAAC,KAAK,KAAK,iBAAiB,CAAC;IAExE,OAAO,CACL,0BACG,iBAAiB,CAAC,CAAC,CAAC,CACnB,KAAC,aAAa,IACZ,SAAS,EAAC,MAAM,EAChB,KAAK,EAAC,sCAAQ,EACd,WAAW,EAAC,uFAAiB,EAC7B,QAAQ,EAAE,IAAI,EACd,OAAO,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,GAAG,EAAE,EAAE,IAAI,GAAG,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,KAC3E,aAAa,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAE,gBAAgB,CAAC,GACpD,CACH,CAAC,CAAC,CAAC,IAAI,EACR,eAAK,SAAS,EAAC,uCAAuC,aACnD,iBAAiB,CAAC,CAAC,CAAC,CACnB,KAAC,YAAY,IACX,SAAS,EAAC,aAAa,EACvB,KAAK,EAAC,oBAAK,KACP,aAAa,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,YAAY,CAAC,GAC7C,CACH,CAAC,CAAC,CAAC,IAAI,EACR,KAAC,YAAY,IACX,SAAS,EAAC,aAAa,EACvB,KAAK,EAAC,6IAA0B,KAC5B,aAAa,CAAC,KAAK,CAAC,UAAU,CAAC,EAAE,gBAAgB,CAAC,GACtD,EACF,KAAC,YAAY,IACX,SAAS,EAAC,aAAa,EACvB,KAAK,EAAC,oBAAK,KACP,aAAa,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC,GAC/C,EACF,KAAC,iBAAiB,IAChB,SAAS,EAAC,aAAa,EACvB,KAAK,EAAC,4CAAS,KACX,aAAa,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE,cAAc,CAAC,GACjD,EACD,CAAC,iBAAiB,CAAC,CAAC,CAAC,CACpB,KAAC,YAAY,IACX,SAAS,EAAC,aAAa,EACvB,KAAK,EAAC,mGAAmB,KACrB,aAAa,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,gBAAgB,CAAC,GAClD,CACH,CAAC,CAAC,CAAC,IAAI,IACJ,IACF,CACP,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"renderWedDataOrganization.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderWedDataOrganization.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAE/D,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE7F,MAAM,CAAC,MAAM,yBAAyB,GAAG,CACvC,KAAwC,EACxC,OAAiB,EACjB,EAAE;IACF,MAAM,iBAAiB,GAAG,KAAK,CAAC,UAAU,CAAC,CAAC,KAAK,KAAK,iBAAiB,CAAC;IAExE,OAAO,CACL,0BACG,iBAAiB,CAAC,CAAC,CAAC,CACnB,KAAC,aAAa,IACZ,SAAS,EAAC,MAAM,EAChB,KAAK,EAAC,sCAAQ,EACd,WAAW,EAAC,uFAAiB,EAC7B,QAAQ,EAAE,IAAI,EACd,OAAO,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,GAAG,EAAE,EAAE,IAAI,GAAG,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,KAC3E,aAAa,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAE,gBAAgB,CAAC,GACpD,CACH,CAAC,CAAC,CAAC,IAAI,EACR,eAAK,SAAS,EAAC,uCAAuC,aACnD,iBAAiB,CAAC,CAAC,CAAC,CACnB,KAAC,YAAY,IACX,SAAS,EAAC,aAAa,EACvB,KAAK,EAAC,oBAAK,KACP,aAAa,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,YAAY,CAAC,GAC7C,CACH,CAAC,CAAC,CAAC,IAAI,EACR,KAAC,YAAY,IACX,SAAS,EAAC,aAAa,EACvB,KAAK,EAAC,6IAA0B,KAC5B,aAAa,CAAC,KAAK,CAAC,UAAU,CAAC,EAAE,gBAAgB,CAAC,GACtD,EACF,KAAC,YAAY,IACX,SAAS,EAAC,aAAa,EACvB,KAAK,EAAC,oBAAK,KACP,aAAa,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC,GAC/C,EACF,KAAC,iBAAiB,IAChB,SAAS,EAAC,aAAa,EACvB,KAAK,EAAC,4CAAS,KACX,aAAa,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE,cAAc,CAAC,GACjD,EACD,CAAC,iBAAiB,CAAC,CAAC,CAAC,CACpB,KAAC,YAAY,IACX,SAAS,EAAC,aAAa,EACvB,KAAK,EAAC,mGAAmB,KACrB,aAAa,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,gBAAgB,CAAC,GAClD,CACH,CAAC,CAAC,CAAC,IAAI,IACJ,IACF,CACP,CAAC;AACJ,CAAC,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import { type FormFieldRegisterer } from '../../hooks/useForm';
2
- import { type WedFormState } from './WedFormState';
2
+ import { type WedFormState } from './ApplicationFormWed';
3
3
  export declare const renderWedTextarea: (field: FormFieldRegisterer<WedFormState>) => JSX.Element;
@@ -1001,7 +1001,9 @@
1001
1001
  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] }));
1002
1002
  });
1003
1003
 
1004
- 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 })] })));
1004
+ const renderErrorText = (error) => (jsx("div", { className: "h-4", children: error ? (jsx(Text, { size: "text-xs", font: "font-light", color: "text-error", children: error })) : null }));
1005
+
1006
+ 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)] })));
1005
1007
 
1006
1008
  const isPlaceholder = (_) => _ === '_';
1007
1009
  const isDigit = (_) => /\d/.test(_);
@@ -1022,7 +1024,7 @@
1022
1024
  return (jsx(Input, { onChange: handleChange, onFocus: (event) => handleChange(event?.target?.value || ''), ...inputProps, children: children }));
1023
1025
  });
1024
1026
 
1025
- 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 })] })));
1027
+ 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)] })));
1026
1028
 
1027
1029
  const pattern = (regexp) => validator((_) => typeof _ === 'string' && regexp.test(_));
1028
1030
 
@@ -1054,6 +1056,9 @@
1054
1056
  },
1055
1057
  ];
1056
1058
 
1059
+ 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] })));
1060
+ const childrenClassName = '@xl:w-1/2 space-y-s';
1061
+
1057
1062
  function useBool(defaultValue = false) {
1058
1063
  const [value, setValue] = useState(defaultValue);
1059
1064
  const setTrue = useCallback(() => setValue(true), []);
@@ -1156,9 +1161,9 @@
1156
1161
  const renderIcon$1 = (isOpen, iconVersion) => (jsx(Icon, { className: style('absolute right-3', isOpen ? '' : 'rotate-180'), iconVersion: iconVersion, name: "ArrowUpIcon", width: "16", height: "16" }));
1157
1162
  const getBorderStyle$1 = (isBorder, valid) => style(isBorder ? 'border rounded-md hover:border-primary-hover' : '', valid ? ' border-gray' : 'border-error');
1158
1163
 
1159
- 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 })] })));
1164
+ const SelectControl = JSX(({ className = '', error, ...rest }) => (jsxs("div", { className: className, children: [jsx(Select, { ...rest, valid: !error }), renderErrorText(error)] })));
1160
1165
 
1161
- 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) }) })] }));
1166
+ 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) }) }) }));
1162
1167
 
1163
1168
  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] })));
1164
1169
 
@@ -1230,10 +1235,10 @@
1230
1235
  }, [onSubmit]);
1231
1236
  const [, { field, ...formProps }] = useForm(initialFormState$5, handleSubmit);
1232
1237
  const regions = useGetRegions();
1233
- 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 })] }));
1238
+ 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 })] }));
1234
1239
  });
1235
1240
 
1236
- 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) })] })] }));
1241
+ 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) })] }) }));
1237
1242
 
1238
1243
  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) }));
1239
1244
 
@@ -1349,10 +1354,10 @@
1349
1354
 
1350
1355
  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') })] })] }));
1351
1356
 
1352
- 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 = '' }) => ({
1353
- key: branchCode,
1354
- text: address,
1355
- })), ...withValidator(field('department'), defaultValidator) }) })] }));
1357
+ 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 = '' }) => ({
1358
+ key: branchCode,
1359
+ text: address,
1360
+ })), ...withValidator(field('department'), defaultValidator) }) }) }));
1356
1361
 
1357
1362
  const initialFormState$3 = {
1358
1363
  amount: MIN_CREDIT_AMOUNT,
@@ -1392,7 +1397,7 @@
1392
1397
  const [formState, { field, ...formProps }] = useForm(initialFormState$3, handleSubmit);
1393
1398
  const regions = useGetRegions();
1394
1399
  const branches = useBranches(formState.region?.key).filter((branch) => branch?.address);
1395
- 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 })] }));
1400
+ 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 })] }));
1396
1401
  });
1397
1402
 
1398
1403
  const initialFormState$2 = {
@@ -1610,9 +1615,9 @@
1610
1615
  });
1611
1616
  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" })] }));
1612
1617
 
1613
- 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 })] })));
1618
+ 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)] })));
1614
1619
 
1615
- 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) })] })] }));
1620
+ 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) })] }) }));
1616
1621
 
1617
1622
  const initialFormState$1 = {
1618
1623
  surname: '',
@@ -1658,7 +1663,7 @@
1658
1663
 
1659
1664
  const renderQuestionsInterested = (field) => {
1660
1665
  const { value, onChange } = field('vedTypes');
1661
- 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(_) })] }) }));
1666
+ 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(_) })] }) }));
1662
1667
  };
1663
1668
 
1664
1669
  const renderWedDataOrganization = (field, regions) => {
@@ -1720,7 +1725,7 @@
1720
1725
  }, [onSubmit]);
1721
1726
  const [, { field, ...formProps }] = useForm(initialFormState, handleSubmit);
1722
1727
  const regions = useGetRegions();
1723
- 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()] }));
1728
+ 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()] }));
1724
1729
  });
1725
1730
 
1726
1731
  const EmbeddableForms = {
@@ -1736,7 +1741,8 @@
1736
1741
  const ResponseNotification = JSX(({ responseType }) => {
1737
1742
  const responseOK = responseType === 'OK';
1738
1743
  const backgroundColor = responseOK ? 'bg-ok' : 'bg-fail';
1739
- 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 ? 'Совсем скоро мы с вами свяжемся' : 'Пожалуйста, повторите позднее' })] })] }));
1744
+ const statusIcon = responseOK ? 'ResponseOKIcon' : 'ResponseFailIcon';
1745
+ 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 ? 'Совсем скоро мы с вами свяжемся' : 'Пожалуйста, повторите позднее' })] })] }));
1740
1746
  });
1741
1747
 
1742
1748
  const API = LeadServiceAPI();
@@ -5410,7 +5416,7 @@
5410
5416
 
5411
5417
  const joinList = (sep) => (list) => list.reduce((acc, el, i) => (acc.length ? acc.concat({ ...sep, key: `sep-${i}` }, el) : [el]), []);
5412
5418
 
5413
- const packageVersion = "0.14.120";
5419
+ const packageVersion = "0.14.121";
5414
5420
 
5415
5421
  exports.Blocks = Blocks;
5416
5422
  exports.ContentPage = ContentPage;