@redneckz/wildless-cms-uni-blocks 0.14.702 → 0.14.704

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 (99) hide show
  1. package/bundle/bundle.umd.js +117 -107
  2. package/bundle/bundle.umd.min.js +1 -1
  3. package/bundle/ui-kit/FormField/CustomFieldProps.d.ts +2 -1
  4. package/bundle/ui-kit/FormField/getPremium.d.ts +2 -0
  5. package/dist/components/ApplicationLeadForm/getInitialFormState.js +0 -1
  6. package/dist/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
  7. package/dist/components/CreditCardForm/getFourthStepData.js +3 -2
  8. package/dist/components/CreditCardForm/getFourthStepData.js.map +1 -1
  9. package/dist/components/CreditCardForm/getThirdStepData.js +0 -1
  10. package/dist/components/CreditCardForm/getThirdStepData.js.map +1 -1
  11. package/dist/ui-kit/FormField/CustomFieldProps.d.ts +2 -1
  12. package/dist/ui-kit/FormField/Fields/AddressBranchField.js +3 -1
  13. package/dist/ui-kit/FormField/Fields/AddressBranchField.js.map +1 -1
  14. package/dist/ui-kit/FormField/getField.js +108 -99
  15. package/dist/ui-kit/FormField/getField.js.map +1 -1
  16. package/dist/ui-kit/FormField/getObjectValidator.js +1 -1
  17. package/dist/ui-kit/FormField/getObjectValidator.js.map +1 -1
  18. package/dist/ui-kit/FormField/getPremium.d.ts +2 -0
  19. package/dist/ui-kit/FormField/getPremium.js +5 -0
  20. package/dist/ui-kit/FormField/getPremium.js.map +1 -0
  21. package/dist/ui-kit/FormField/validators.js +1 -1
  22. package/dist/ui-kit/FormField/validators.js.map +1 -1
  23. package/lib/components/ApplicationLeadForm/getInitialFormState.js +0 -1
  24. package/lib/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
  25. package/lib/components/CreditCardForm/getFourthStepData.js +3 -2
  26. package/lib/components/CreditCardForm/getFourthStepData.js.map +1 -1
  27. package/lib/components/CreditCardForm/getThirdStepData.js +0 -1
  28. package/lib/components/CreditCardForm/getThirdStepData.js.map +1 -1
  29. package/lib/ui-kit/FormField/CustomFieldProps.d.ts +2 -1
  30. package/lib/ui-kit/FormField/Fields/AddressBranchField.js +3 -1
  31. package/lib/ui-kit/FormField/Fields/AddressBranchField.js.map +1 -1
  32. package/lib/ui-kit/FormField/getField.js +108 -99
  33. package/lib/ui-kit/FormField/getField.js.map +1 -1
  34. package/lib/ui-kit/FormField/getObjectValidator.js +1 -1
  35. package/lib/ui-kit/FormField/getObjectValidator.js.map +1 -1
  36. package/lib/ui-kit/FormField/getPremium.d.ts +2 -0
  37. package/lib/ui-kit/FormField/getPremium.js +2 -0
  38. package/lib/ui-kit/FormField/getPremium.js.map +1 -0
  39. package/lib/ui-kit/FormField/validators.js +1 -1
  40. package/lib/ui-kit/FormField/validators.js.map +1 -1
  41. package/mobile/bundle/bundle.umd.js +117 -107
  42. package/mobile/bundle/bundle.umd.min.js +1 -1
  43. package/mobile/bundle/ui-kit/FormField/CustomFieldProps.d.ts +2 -1
  44. package/mobile/bundle/ui-kit/FormField/getPremium.d.ts +2 -0
  45. package/mobile/dist/components/ApplicationLeadForm/getInitialFormState.js +0 -1
  46. package/mobile/dist/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
  47. package/mobile/dist/components/CreditCardForm/getFourthStepData.js +3 -2
  48. package/mobile/dist/components/CreditCardForm/getFourthStepData.js.map +1 -1
  49. package/mobile/dist/components/CreditCardForm/getThirdStepData.js +0 -1
  50. package/mobile/dist/components/CreditCardForm/getThirdStepData.js.map +1 -1
  51. package/mobile/dist/ui-kit/FormField/CustomFieldProps.d.ts +2 -1
  52. package/mobile/dist/ui-kit/FormField/Fields/AddressBranchField.js +3 -1
  53. package/mobile/dist/ui-kit/FormField/Fields/AddressBranchField.js.map +1 -1
  54. package/mobile/dist/ui-kit/FormField/getField.js +108 -99
  55. package/mobile/dist/ui-kit/FormField/getField.js.map +1 -1
  56. package/mobile/dist/ui-kit/FormField/getObjectValidator.js +1 -1
  57. package/mobile/dist/ui-kit/FormField/getObjectValidator.js.map +1 -1
  58. package/mobile/dist/ui-kit/FormField/getPremium.d.ts +2 -0
  59. package/mobile/dist/ui-kit/FormField/getPremium.js +5 -0
  60. package/mobile/dist/ui-kit/FormField/getPremium.js.map +1 -0
  61. package/mobile/dist/ui-kit/FormField/validators.js +1 -1
  62. package/mobile/dist/ui-kit/FormField/validators.js.map +1 -1
  63. package/mobile/lib/components/ApplicationLeadForm/getInitialFormState.js +0 -1
  64. package/mobile/lib/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
  65. package/mobile/lib/components/CreditCardForm/getFourthStepData.js +3 -2
  66. package/mobile/lib/components/CreditCardForm/getFourthStepData.js.map +1 -1
  67. package/mobile/lib/components/CreditCardForm/getThirdStepData.js +0 -1
  68. package/mobile/lib/components/CreditCardForm/getThirdStepData.js.map +1 -1
  69. package/mobile/lib/ui-kit/FormField/CustomFieldProps.d.ts +2 -1
  70. package/mobile/lib/ui-kit/FormField/Fields/AddressBranchField.js +3 -1
  71. package/mobile/lib/ui-kit/FormField/Fields/AddressBranchField.js.map +1 -1
  72. package/mobile/lib/ui-kit/FormField/getField.js +108 -99
  73. package/mobile/lib/ui-kit/FormField/getField.js.map +1 -1
  74. package/mobile/lib/ui-kit/FormField/getObjectValidator.js +1 -1
  75. package/mobile/lib/ui-kit/FormField/getObjectValidator.js.map +1 -1
  76. package/mobile/lib/ui-kit/FormField/getPremium.d.ts +2 -0
  77. package/mobile/lib/ui-kit/FormField/getPremium.js +2 -0
  78. package/mobile/lib/ui-kit/FormField/getPremium.js.map +1 -0
  79. package/mobile/lib/ui-kit/FormField/validators.js +1 -1
  80. package/mobile/lib/ui-kit/FormField/validators.js.map +1 -1
  81. package/mobile/src/components/ApplicationLeadForm/getInitialFormState.tsx +0 -1
  82. package/mobile/src/components/CreditCardForm/getFourthStepData.ts +3 -1
  83. package/mobile/src/components/CreditCardForm/getThirdStepData.tsx +0 -1
  84. package/mobile/src/ui-kit/FormField/CustomFieldProps.ts +5 -1
  85. package/mobile/src/ui-kit/FormField/Fields/AddressBranchField.tsx +5 -1
  86. package/mobile/src/ui-kit/FormField/getField.tsx +126 -107
  87. package/mobile/src/ui-kit/FormField/getObjectValidator.tsx +1 -1
  88. package/mobile/src/ui-kit/FormField/getPremium.tsx +4 -0
  89. package/mobile/src/ui-kit/FormField/validators.ts +1 -1
  90. package/package.json +1 -1
  91. package/src/components/ApplicationLeadForm/getInitialFormState.tsx +0 -1
  92. package/src/components/CreditCardForm/getFourthStepData.ts +3 -1
  93. package/src/components/CreditCardForm/getThirdStepData.tsx +0 -1
  94. package/src/ui-kit/FormField/CustomFieldProps.ts +5 -1
  95. package/src/ui-kit/FormField/Fields/AddressBranchField.tsx +5 -1
  96. package/src/ui-kit/FormField/getField.tsx +126 -107
  97. package/src/ui-kit/FormField/getObjectValidator.tsx +1 -1
  98. package/src/ui-kit/FormField/getPremium.tsx +4 -0
  99. package/src/ui-kit/FormField/validators.ts +1 -1
@@ -1606,7 +1606,7 @@
1606
1606
  const addressDaDataValidator = () => validator(addressDaDataValidate)(ADDRESS_ERROR_MESSAGE);
1607
1607
  const addressOrganizationValidator = () => validator((address) => Boolean(address.fiasCode && address.city && address.house))(ADDRESS_ERROR_MESSAGE);
1608
1608
  const codeWordValidator = (errorMsg) => validator((_) => typeof _ === 'string' && _.length >= 3 && _.length <= 21 && isCyrillic(_))(errorMsg ?? ERROR_MESSAGE);
1609
- const cyrillicPattern = /^[\u0400-\u04FF\d]+$/u;
1609
+ const cyrillicPattern = /^[\u0400-\u04FF\d\s]+$/u;
1610
1610
  const isCyrillic = (_ = '') => cyrillicPattern.test(_);
1611
1611
  const limitedBirthdayValidate = (date) => {
1612
1612
  const today = new Date();
@@ -1646,7 +1646,7 @@
1646
1646
  dulSubdivisionCode: numberValidator('Укажите код подразделения'),
1647
1647
  dulIssuedBy: defaultValidator('Укажите организацию, выдавшую паспорт'),
1648
1648
  email: emailValidator('Укажите электронную почту'),
1649
- fullName: nameValidator(),
1649
+ fullName: defaultValidator(),
1650
1650
  inn: innValidator('Укажите ИНН'),
1651
1651
  legalForm: defaultValidator('Укажите ОПФ'),
1652
1652
  organizationName: defaultValidator('Укажите наименование организации'),
@@ -1830,7 +1830,10 @@
1830
1830
  return Array.isArray(data) ? data : [];
1831
1831
  }
1832
1832
 
1833
- const AddressBranchField = JSX(({ field, input, isPremium = false }) => {
1833
+ const getPremium = (typeForm = '') => typeForm === 'ULTRASERVICE' || typeForm === 'PREMIUMSERVICE';
1834
+
1835
+ const AddressBranchField = JSX(({ field, input, params }) => {
1836
+ const isPremium = getPremium(params?.typeForm);
1834
1837
  const fieldRegion = field('region');
1835
1838
  const regionKey = fieldRegion?.value?.key;
1836
1839
  const regionText = fieldRegion?.value?.text;
@@ -4154,107 +4157,115 @@
4154
4157
  const PRODUCT_REF = {
4155
4158
  $ref: '/wcms-resources/outservice-productlist.json',
4156
4159
  };
4160
+ const InputsMap = {
4161
+ fullName: (props) => jsx(FullNameField, { ...props }),
4162
+ addressBranch: (props) => jsx(AddressBranchField, { ...props }),
4163
+ desiredMeetingDate: (props) => jsx(DesiredMeetingDateField, { ...props }),
4164
+ product: (props) => jsx(ProductField, { ...props, source: PRODUCT_REF }),
4165
+ localities: (props) => jsx(LocalitiesField, { ...props }),
4166
+ isClient: (props) => jsx(IsClientField, { ...props }),
4167
+ partnerComments: (props) => jsx(PartnerCommentsField, { ...props }),
4168
+ collectionCount: (props) => jsx(CollectionCountField, { ...props }),
4169
+ acquiringType: (props) => jsx(AcquiringField, { ...props }),
4170
+ onlineCheckout: (props) => jsx(OnlineCheckoutField, { ...props }),
4171
+ posTerminal: (props) => jsx(PosTerminalField, { ...props }),
4172
+ serviceType: (props) => jsx(UltraPremiumField, { ...props }),
4173
+ term: (props) => jsx(TermField, { ...props }),
4174
+ amount: (props) => jsx(AmountField, { ...props }),
4175
+ annualRevenue: (props) => jsx(AnnualRevenueField, { ...props }),
4176
+ vedTypes: (props) => jsx(VedField, { ...props }),
4177
+ feedbackMethod: (props) => jsx(FeedbackMethodField, { ...props }),
4178
+ serviceDirection: (props) => jsx(ServiceDirectionField, { ...props }),
4179
+ bankEmpolee: (props) => jsx(BankEmpoleeField, { ...props }),
4180
+ secondaryPhone: (props) => jsx(SecondaryPhoneField, { ...props }),
4181
+ applicationDate: (props) => (jsx(InputControl, { label: "\u0414\u0430\u0442\u0430 \u0438 \u0432\u0440\u0435\u043C\u044F \u043E\u0431\u0440\u0430\u0449\u0435\u043D\u0438\u044F \u0432 \u0411\u0430\u043D\u043A", ...props })),
4182
+ region: (props) => getPremium(props?.params?.typeForm) ? (jsx(RegionPremiumField, { ...props })) : (jsx(RegionField, { ...props })),
4183
+ consentToReceiveMaterials: (props) => jsx(ConsentField, { ...props }),
4184
+ surname: (props) => jsx(SurnameField, { ...props }),
4185
+ name: (props) => jsx(NameField, { ...props }),
4186
+ middleName: (props) => jsx(MiddleNameField, { ...props }),
4187
+ birthday: (props) => jsx(BirthdayField, { ...props }),
4188
+ phone: (props) => jsx(PhoneField, { ...props }),
4189
+ email: (props) => jsx(EmailField, { ...props }),
4190
+ inn: (props) => jsx(InnField, { ...props }),
4191
+ comment: (props) => jsx(CommentField, { ...props }),
4192
+ };
4193
+ const InputsRetailMap = {
4194
+ processPersonalDataFlg: (props) => jsx(ConsentField, { ...props }),
4195
+ consentProviderFlg: (props) => jsx(ConsentField, { ...props }),
4196
+ consentOthersFlg: (props) => jsx(ConsentField, { ...props }),
4197
+ consentInformFlg: (props) => jsx(ConsentField, { ...props }),
4198
+ consentPfrFlg: (props) => jsx(ConsentField, { ...props }),
4199
+ organizationPhone: (props) => jsx(PhoneField, { ...props }),
4200
+ legalForm: (props) => jsx(LegalFormField, { ...props }),
4201
+ organizationName: (props) => jsx(OrganizationNameField, { ...props }),
4202
+ generalSeniority: (props) => jsx(GeneralSeniorityField, { ...props }),
4203
+ lastJobExperience: (props) => jsx(LastJobExperienceField, { ...props }),
4204
+ experience5Years: (props) => jsx(Experience5YearsField, { ...props }),
4205
+ jobsNumber: (props) => jsx(JobsNumberField, { ...props }),
4206
+ beginDate: (props) => jsx(BeginDateField, { ...props }),
4207
+ addressFact: (props) => jsx(AddressFactField, { ...props }),
4208
+ organizationAddress: (props) => jsx(AddressField, { ...props }),
4209
+ sex: (props) => jsx(SexField, { ...props }),
4210
+ limitedBirthday: (props) => jsx(LimitedBirthdayField, { ...props }),
4211
+ birthPlace: (props) => jsx(BirthPlaceField, { ...props }),
4212
+ education: (props) => jsx(EducationField, { ...props }),
4213
+ housing: (props) => jsx(HousingField, { ...props }),
4214
+ employment: (props) => jsx(EmploymentField, { ...props }),
4215
+ organization: (props) => jsx(OrganizationField, { ...props }),
4216
+ amountWorkers: (props) => jsx(AmountWorkersField, { ...props }),
4217
+ employerActivities: (props) => jsx(EmployerActivitiesField, { ...props }),
4218
+ employerOrganization: (props) => jsx(EmployerOrganizationField, { ...props }),
4219
+ positionOrganization: (props) => jsx(PositionOrganizationField, { ...props }),
4220
+ familyStatus: (props) => jsx(FamilyStatusField, { ...props }),
4221
+ children: (props) => jsx(ChildrenField, { ...props }),
4222
+ familyMembers: (props) => jsx(FamilyMembersField, { ...props }),
4223
+ dependents: (props) => jsx(DependentsField, { ...props }),
4224
+ totalIncome: (props) => jsx(TotalIncomeField, { ...props }),
4225
+ expenses: (props) => jsx(ExpensesField, { ...props }),
4226
+ snils: (props) => jsx(SnilsField, { ...props }),
4227
+ conscription: (props) => jsx(ConscriptionField, { ...props }),
4228
+ armyIdFlg: (props) => jsx(ArmyIdFlgField, { ...props }),
4229
+ dulSerie: (props) => jsx(DulSerieField, { ...props }),
4230
+ dulNumber: (props) => jsx(DulNumberField, { ...props }),
4231
+ dulIssueDateField: (props) => jsx(DulIssueDateField, { ...props }),
4232
+ dulSubdivisionCode: (props) => jsx(DulSubdivisionCodeField, { ...props }),
4233
+ dulIssuedBy: (props) => jsx(DulIssuedByField, { ...props }),
4234
+ addressRegistration: (props) => jsx(AddressField, { ...props }),
4235
+ addressCourier: (props) => jsx(AddressField, { ...props }),
4236
+ participantDateRegistration: (props) => (jsx(ParticipantDateRegistrationField, { ...props })),
4237
+ retirementIncome: (props) => jsx(RetirementIncomeField, { ...props }),
4238
+ otherIncome: (props) => jsx(OtherIncomeField, { ...props }),
4239
+ wages: (props) => jsx(WagesField, { ...props }),
4240
+ mandatoryPayments: (props) => jsx(MandatoryPaymentsField, { ...props }),
4241
+ disablePeopleFlg: (props) => jsx(DisablePeopleFlgField, { ...props }),
4242
+ bankruptcyFlg: (props) => jsx(BankruptcyFlgField, { ...props }),
4243
+ shareholderFlg: (props) => jsx(ShareholderFlgField, { ...props }),
4244
+ legalEntityName: (props) => jsx(LegalEntityNameField, { ...props }),
4245
+ creditInRshbCd: (props) => jsx(CreditInRshbCdField, { ...props }),
4246
+ bankEmployeeCode: (props) => jsx(BankEmpoleeCodeField, { ...props }),
4247
+ partInBusiness: (props) => jsx(PartInBusinessField, { ...props }),
4248
+ regionRetail: (props) => jsx(RegionRetailField, { ...props }),
4249
+ addressRetail: (props) => jsx(AddressRetailField, { ...props }),
4250
+ addressMatch: (props) => jsx(AddressMatchField, { ...props }),
4251
+ calculator: (props) => jsx(CreditCalcField, { ...props }),
4252
+ };
4253
+ const InputRetailCardMap = {
4254
+ paymentSystem: (props) => jsx(PaymentSystemField, { ...props }),
4255
+ currency: (props) => jsx(CurrencyField, { ...props }),
4256
+ cardCategory: (props) => jsx(CardCategoryField, { ...props }),
4257
+ codeWord: (props) => jsx(CodeWordField, { ...props }),
4258
+ confirmationIncome: (props) => jsx(ConfirmationIncomeField, { ...props }),
4259
+ methodObtain: (props) => jsx(MethodObtainField, { ...props }),
4260
+ deliveryDate: (props) => jsx(DeliveryDateFiels, { ...props }),
4261
+ };
4157
4262
  const getField = (field, params) => (input, i) => {
4158
- const isPremium = params?.typeForm === 'ULTRASERVICE' || params?.typeForm === 'PREMIUMSERVICE';
4159
- const InputsMap = {
4160
- surname: jsx(SurnameField, { field: field, input: input }),
4161
- name: jsx(NameField, { field: field, input: input }),
4162
- middleName: jsx(MiddleNameField, { field: field, input: input }),
4163
- phone: jsx(PhoneField, { field: field, input: input }),
4164
- organizationPhone: jsx(PhoneField, { field: field, input: input }),
4165
- email: jsx(EmailField, { field: field, input: input }),
4166
- fullName: jsx(FullNameField, { field: field, input: input }),
4167
- inn: jsx(InnField, { field: field, input: input }),
4168
- legalForm: jsx(LegalFormField, { field: field, input: input }),
4169
- organizationName: jsx(OrganizationNameField, { field: field, input: input }),
4170
- generalSeniority: jsx(GeneralSeniorityField, { field: field, input: input }),
4171
- lastJobExperience: jsx(LastJobExperienceField, { field: field, input: input }),
4172
- experience5Years: jsx(Experience5YearsField, { field: field, input: input }),
4173
- jobsNumber: jsx(JobsNumberField, { field: field, input: input }),
4174
- beginDate: jsx(BeginDateField, { field: field, input: input }),
4175
- addressFact: jsx(AddressFactField, { field: field, input: input }),
4176
- organizationAddress: jsx(AddressField, { field: field, input: input }),
4177
- comment: jsx(CommentField, { field: field, input: input }),
4178
- addressBranch: jsx(AddressBranchField, { field: field, input: input, isPremium: isPremium }),
4179
- sex: jsx(SexField, { field: field, input: input }),
4180
- birthday: jsx(BirthdayField, { field: field, input: input }),
4181
- limitedBirthday: jsx(LimitedBirthdayField, { field: field, input: input }),
4182
- birthPlace: jsx(BirthPlaceField, { field: field, input: input }),
4183
- desiredMeetingDate: jsx(DesiredMeetingDateField, { field: field, input: input }),
4184
- product: jsx(ProductField, { field: field, source: PRODUCT_REF }),
4185
- localities: jsx(LocalitiesField, { field: field, input: input }),
4186
- isClient: jsx(IsClientField, { field: field }),
4187
- partnerComments: jsx(PartnerCommentsField, { field: field, input: input }),
4188
- collectionCount: jsx(CollectionCountField, { field: field, input: input }),
4189
- acquiringType: jsx(AcquiringField, { field: field, input: input }),
4190
- onlineCheckout: jsx(OnlineCheckoutField, { field: field }),
4191
- posTerminal: jsx(PosTerminalField, { field: field }),
4192
- serviceType: jsx(UltraPremiumField, { field: field, input: input }),
4193
- term: jsx(TermField, { field: field }),
4194
- amount: jsx(AmountField, { field: field }),
4195
- annualRevenue: jsx(AnnualRevenueField, { field: field, input: input }),
4196
- vedTypes: jsx(VedField, { field: field }),
4197
- feedbackMethod: jsx(FeedbackMethodField, { field: field, input: input }),
4198
- serviceDirection: jsx(ServiceDirectionField, { field: field, input: input }),
4199
- bankEmpolee: jsx(BankEmpoleeField, { field: field }),
4200
- secondaryPhone: jsx(SecondaryPhoneField, { field: field }),
4201
- consentToReceiveMaterials: jsx(ConsentField, { field: field, input: input }),
4202
- processPersonalDataFlg: jsx(ConsentField, { field: field, input: input }),
4203
- consentProviderFlg: jsx(ConsentField, { field: field, input: input }),
4204
- consentOthersFlg: jsx(ConsentField, { field: field, input: input }),
4205
- consentInformFlg: jsx(ConsentField, { field: field, input: input }),
4206
- consentPfrFlg: jsx(ConsentField, { field: field, input: input }),
4207
- applicationDate: (jsx(InputControl, { label: "\u0414\u0430\u0442\u0430 \u0438 \u0432\u0440\u0435\u043C\u044F \u043E\u0431\u0440\u0430\u0449\u0435\u043D\u0438\u044F \u0432 \u0411\u0430\u043D\u043A", ...field('applicationDate') })),
4208
- region: isPremium ? (jsx(RegionPremiumField, { field: field })) : (jsx(RegionField, { field: field, input: input, params: params })),
4209
- education: jsx(EducationField, { field: field, input: input }),
4210
- housing: jsx(HousingField, { field: field, input: input }),
4211
- employment: jsx(EmploymentField, { field: field, input: input }),
4212
- organization: jsx(OrganizationField, { field: field, input: input }),
4213
- amountWorkers: jsx(AmountWorkersField, { field: field, input: input }),
4214
- employerActivities: jsx(EmployerActivitiesField, { field: field, input: input }),
4215
- employerOrganization: jsx(EmployerOrganizationField, { field: field, input: input }),
4216
- positionOrganization: jsx(PositionOrganizationField, { field: field, input: input }),
4217
- familyStatus: jsx(FamilyStatusField, { field: field, input: input }),
4218
- children: jsx(ChildrenField, { field: field, input: input }),
4219
- familyMembers: jsx(FamilyMembersField, { field: field, input: input }),
4220
- dependents: jsx(DependentsField, { field: field, input: input }),
4221
- totalIncome: jsx(TotalIncomeField, { field: field, input: input }),
4222
- expenses: jsx(ExpensesField, { field: field, input: input }),
4223
- snils: jsx(SnilsField, { field: field, input: input }),
4224
- conscription: jsx(ConscriptionField, { field: field, input: input }),
4225
- armyIdFlg: jsx(ArmyIdFlgField, { field: field, input: input }),
4226
- dulSerie: jsx(DulSerieField, { field: field, input: input }),
4227
- dulNumber: jsx(DulNumberField, { field: field, input: input }),
4228
- dulIssueDateField: jsx(DulIssueDateField, { field: field, input: input }),
4229
- dulSubdivisionCode: jsx(DulSubdivisionCodeField, { field: field, input: input }),
4230
- dulIssuedBy: jsx(DulIssuedByField, { field: field, input: input }),
4231
- addressRegistration: jsx(AddressField, { field: field, input: input }),
4232
- addressCourier: jsx(AddressField, { field: field, input: input }),
4233
- participantDateRegistration: jsx(ParticipantDateRegistrationField, { field: field, input: input }),
4234
- retirementIncome: jsx(RetirementIncomeField, { field: field, input: input }),
4235
- otherIncome: jsx(OtherIncomeField, { field: field, input: input }),
4236
- wages: jsx(WagesField, { field: field, input: input }),
4237
- mandatoryPayments: jsx(MandatoryPaymentsField, { field: field, input: input }),
4238
- disablePeopleFlg: jsx(DisablePeopleFlgField, { field: field, input: input }),
4239
- bankruptcyFlg: jsx(BankruptcyFlgField, { field: field, input: input }),
4240
- shareholderFlg: jsx(ShareholderFlgField, { field: field, input: input }),
4241
- legalEntityName: jsx(LegalEntityNameField, { field: field, input: input }),
4242
- creditInRshbCd: jsx(CreditInRshbCdField, { field: field, input: input }),
4243
- bankEmployeeCode: jsx(BankEmpoleeCodeField, { field: field, input: input }),
4244
- partInBusiness: jsx(PartInBusinessField, { field: field, input: input }),
4245
- regionRetail: jsx(RegionRetailField, { field: field, input: input }),
4246
- addressRetail: jsx(AddressRetailField, { field: field, input: input }),
4247
- addressMatch: jsx(AddressMatchField, { field: field, input: input }),
4248
- paymentSystem: jsx(PaymentSystemField, { field: field, input: input }),
4249
- currency: jsx(CurrencyField, { field: field, input: input }),
4250
- cardCategory: jsx(CardCategoryField, { field: field, input: input }),
4251
- codeWord: jsx(CodeWordField, { field: field, input: input }),
4252
- confirmationIncome: jsx(ConfirmationIncomeField, { field: field, input: input }),
4253
- methodObtain: jsx(MethodObtainField, { field: field, input: input }),
4254
- deliveryDate: jsx(DeliveryDateFiels, { field: field, input: input }),
4255
- calculator: jsx(CreditCalcField, { field: field, params: params }),
4263
+ const resultInputsMap = {
4264
+ ...InputsMap,
4265
+ ...InputsRetailMap,
4266
+ ...InputRetailCardMap,
4256
4267
  };
4257
- return isRenderField({ input, field }) ? (jsx("div", { children: InputsMap[input?.name || ''] }, String(i))) : null;
4268
+ return isRenderField({ input, field }) ? (jsx("div", { children: resultInputsMap[input?.name || '']?.({ field, input, params }) }, String(i))) : null;
4258
4269
  };
4259
4270
 
4260
4271
  const inputColumnStyles = (column) => column === 2 ? '@xl:grid-cols-2' : '';
@@ -5217,7 +5228,6 @@
5217
5228
  const initialFormState = {
5218
5229
  typeForm: '',
5219
5230
  region: { key: '', text: '' },
5220
- addressBranch: { key: '', text: '' },
5221
5231
  surname: '',
5222
5232
  name: '',
5223
5233
  phone: '',
@@ -7072,12 +7082,13 @@
7072
7082
  };
7073
7083
 
7074
7084
  const getFourthStepData$1 = (formData) => {
7075
- const { familyStatus, dependents, familyMembers, children, wages, mandatoryPayments, incomeAverage, additionalIncome, otherIncome, otherPayments, rentalIncome, retirementIncome, snils, armyIdFlg, conscription, } = formData;
7085
+ const { familyStatus, dependents, familyMembers, children, confirmationIncome, wages, mandatoryPayments, incomeAverage, additionalIncome, otherIncome, otherPayments, rentalIncome, retirementIncome, snils, armyIdFlg, conscription, } = formData;
7076
7086
  return {
7077
7087
  maritalStatusCd: familyStatus,
7078
- childrenDependents: children,
7079
7088
  totalDependents: familyMembers,
7089
+ incomeCertificateCd: confirmationIncome,
7080
7090
  otherDependents: dependents,
7091
+ childrenDependents: children,
7081
7092
  militaryStatusCd: conscription,
7082
7093
  participantIncomes: getParticipantIncomes({
7083
7094
  wages,
@@ -7176,7 +7187,6 @@
7176
7187
  generalSeniority: experience5Years,
7177
7188
  jobsNumber,
7178
7189
  lastWorkDuration: lastJobExperience,
7179
- payrollCardRshbFlg: true,
7180
7190
  positionCd: positionOrganization,
7181
7191
  participantContacts: getParticipantContacts({
7182
7192
  organizationPhone: organizationPhone && formatPhone(organizationPhone),
@@ -10389,7 +10399,7 @@
10389
10399
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
10390
10400
  });
10391
10401
 
10392
- const packageVersion = "0.14.701";
10402
+ const packageVersion = "0.14.703";
10393
10403
 
10394
10404
  exports.Blocks = Blocks;
10395
10405
  exports.ContentPage = ContentPage;