@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
@@ -1598,7 +1598,7 @@
1598
1598
  const addressDaDataValidator = () => validator(addressDaDataValidate)(ADDRESS_ERROR_MESSAGE);
1599
1599
  const addressOrganizationValidator = () => validator((address) => Boolean(address.fiasCode && address.city && address.house))(ADDRESS_ERROR_MESSAGE);
1600
1600
  const codeWordValidator = (errorMsg) => validator((_) => typeof _ === 'string' && _.length >= 3 && _.length <= 21 && isCyrillic(_))(errorMsg ?? ERROR_MESSAGE);
1601
- const cyrillicPattern = /^[\u0400-\u04FF\d]+$/u;
1601
+ const cyrillicPattern = /^[\u0400-\u04FF\d\s]+$/u;
1602
1602
  const isCyrillic = (_ = '') => cyrillicPattern.test(_);
1603
1603
  const limitedBirthdayValidate = (date) => {
1604
1604
  const today = new Date();
@@ -1638,7 +1638,7 @@
1638
1638
  dulSubdivisionCode: numberValidator('Укажите код подразделения'),
1639
1639
  dulIssuedBy: defaultValidator('Укажите организацию, выдавшую паспорт'),
1640
1640
  email: emailValidator('Укажите электронную почту'),
1641
- fullName: nameValidator(),
1641
+ fullName: defaultValidator(),
1642
1642
  inn: innValidator('Укажите ИНН'),
1643
1643
  legalForm: defaultValidator('Укажите ОПФ'),
1644
1644
  organizationName: defaultValidator('Укажите наименование организации'),
@@ -1822,7 +1822,10 @@
1822
1822
  return Array.isArray(data) ? data : [];
1823
1823
  }
1824
1824
 
1825
- const AddressBranchField = JSX(({ field, input, isPremium = false }) => {
1825
+ const getPremium = (typeForm = '') => typeForm === 'ULTRASERVICE' || typeForm === 'PREMIUMSERVICE';
1826
+
1827
+ const AddressBranchField = JSX(({ field, input, params }) => {
1828
+ const isPremium = getPremium(params?.typeForm);
1826
1829
  const fieldRegion = field('region');
1827
1830
  const regionKey = fieldRegion?.value?.key;
1828
1831
  const regionText = fieldRegion?.value?.text;
@@ -4146,107 +4149,115 @@
4146
4149
  const PRODUCT_REF = {
4147
4150
  $ref: '/wcms-resources/outservice-productlist.json',
4148
4151
  };
4152
+ const InputsMap = {
4153
+ fullName: (props) => jsx(FullNameField, { ...props }),
4154
+ addressBranch: (props) => jsx(AddressBranchField, { ...props }),
4155
+ desiredMeetingDate: (props) => jsx(DesiredMeetingDateField, { ...props }),
4156
+ product: (props) => jsx(ProductField, { ...props, source: PRODUCT_REF }),
4157
+ localities: (props) => jsx(LocalitiesField, { ...props }),
4158
+ isClient: (props) => jsx(IsClientField, { ...props }),
4159
+ partnerComments: (props) => jsx(PartnerCommentsField, { ...props }),
4160
+ collectionCount: (props) => jsx(CollectionCountField, { ...props }),
4161
+ acquiringType: (props) => jsx(AcquiringField, { ...props }),
4162
+ onlineCheckout: (props) => jsx(OnlineCheckoutField, { ...props }),
4163
+ posTerminal: (props) => jsx(PosTerminalField, { ...props }),
4164
+ serviceType: (props) => jsx(UltraPremiumField, { ...props }),
4165
+ term: (props) => jsx(TermField, { ...props }),
4166
+ amount: (props) => jsx(AmountField, { ...props }),
4167
+ annualRevenue: (props) => jsx(AnnualRevenueField, { ...props }),
4168
+ vedTypes: (props) => jsx(VedField, { ...props }),
4169
+ feedbackMethod: (props) => jsx(FeedbackMethodField, { ...props }),
4170
+ serviceDirection: (props) => jsx(ServiceDirectionField, { ...props }),
4171
+ bankEmpolee: (props) => jsx(BankEmpoleeField, { ...props }),
4172
+ secondaryPhone: (props) => jsx(SecondaryPhoneField, { ...props }),
4173
+ 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 })),
4174
+ region: (props) => getPremium(props?.params?.typeForm) ? (jsx(RegionPremiumField, { ...props })) : (jsx(RegionField, { ...props })),
4175
+ consentToReceiveMaterials: (props) => jsx(ConsentField, { ...props }),
4176
+ surname: (props) => jsx(SurnameField, { ...props }),
4177
+ name: (props) => jsx(NameField, { ...props }),
4178
+ middleName: (props) => jsx(MiddleNameField, { ...props }),
4179
+ birthday: (props) => jsx(BirthdayField, { ...props }),
4180
+ phone: (props) => jsx(PhoneField, { ...props }),
4181
+ email: (props) => jsx(EmailField, { ...props }),
4182
+ inn: (props) => jsx(InnField, { ...props }),
4183
+ comment: (props) => jsx(CommentField, { ...props }),
4184
+ };
4185
+ const InputsRetailMap = {
4186
+ processPersonalDataFlg: (props) => jsx(ConsentField, { ...props }),
4187
+ consentProviderFlg: (props) => jsx(ConsentField, { ...props }),
4188
+ consentOthersFlg: (props) => jsx(ConsentField, { ...props }),
4189
+ consentInformFlg: (props) => jsx(ConsentField, { ...props }),
4190
+ consentPfrFlg: (props) => jsx(ConsentField, { ...props }),
4191
+ organizationPhone: (props) => jsx(PhoneField, { ...props }),
4192
+ legalForm: (props) => jsx(LegalFormField, { ...props }),
4193
+ organizationName: (props) => jsx(OrganizationNameField, { ...props }),
4194
+ generalSeniority: (props) => jsx(GeneralSeniorityField, { ...props }),
4195
+ lastJobExperience: (props) => jsx(LastJobExperienceField, { ...props }),
4196
+ experience5Years: (props) => jsx(Experience5YearsField, { ...props }),
4197
+ jobsNumber: (props) => jsx(JobsNumberField, { ...props }),
4198
+ beginDate: (props) => jsx(BeginDateField, { ...props }),
4199
+ addressFact: (props) => jsx(AddressFactField, { ...props }),
4200
+ organizationAddress: (props) => jsx(AddressField, { ...props }),
4201
+ sex: (props) => jsx(SexField, { ...props }),
4202
+ limitedBirthday: (props) => jsx(LimitedBirthdayField, { ...props }),
4203
+ birthPlace: (props) => jsx(BirthPlaceField, { ...props }),
4204
+ education: (props) => jsx(EducationField, { ...props }),
4205
+ housing: (props) => jsx(HousingField, { ...props }),
4206
+ employment: (props) => jsx(EmploymentField, { ...props }),
4207
+ organization: (props) => jsx(OrganizationField, { ...props }),
4208
+ amountWorkers: (props) => jsx(AmountWorkersField, { ...props }),
4209
+ employerActivities: (props) => jsx(EmployerActivitiesField, { ...props }),
4210
+ employerOrganization: (props) => jsx(EmployerOrganizationField, { ...props }),
4211
+ positionOrganization: (props) => jsx(PositionOrganizationField, { ...props }),
4212
+ familyStatus: (props) => jsx(FamilyStatusField, { ...props }),
4213
+ children: (props) => jsx(ChildrenField, { ...props }),
4214
+ familyMembers: (props) => jsx(FamilyMembersField, { ...props }),
4215
+ dependents: (props) => jsx(DependentsField, { ...props }),
4216
+ totalIncome: (props) => jsx(TotalIncomeField, { ...props }),
4217
+ expenses: (props) => jsx(ExpensesField, { ...props }),
4218
+ snils: (props) => jsx(SnilsField, { ...props }),
4219
+ conscription: (props) => jsx(ConscriptionField, { ...props }),
4220
+ armyIdFlg: (props) => jsx(ArmyIdFlgField, { ...props }),
4221
+ dulSerie: (props) => jsx(DulSerieField, { ...props }),
4222
+ dulNumber: (props) => jsx(DulNumberField, { ...props }),
4223
+ dulIssueDateField: (props) => jsx(DulIssueDateField, { ...props }),
4224
+ dulSubdivisionCode: (props) => jsx(DulSubdivisionCodeField, { ...props }),
4225
+ dulIssuedBy: (props) => jsx(DulIssuedByField, { ...props }),
4226
+ addressRegistration: (props) => jsx(AddressField, { ...props }),
4227
+ addressCourier: (props) => jsx(AddressField, { ...props }),
4228
+ participantDateRegistration: (props) => (jsx(ParticipantDateRegistrationField, { ...props })),
4229
+ retirementIncome: (props) => jsx(RetirementIncomeField, { ...props }),
4230
+ otherIncome: (props) => jsx(OtherIncomeField, { ...props }),
4231
+ wages: (props) => jsx(WagesField, { ...props }),
4232
+ mandatoryPayments: (props) => jsx(MandatoryPaymentsField, { ...props }),
4233
+ disablePeopleFlg: (props) => jsx(DisablePeopleFlgField, { ...props }),
4234
+ bankruptcyFlg: (props) => jsx(BankruptcyFlgField, { ...props }),
4235
+ shareholderFlg: (props) => jsx(ShareholderFlgField, { ...props }),
4236
+ legalEntityName: (props) => jsx(LegalEntityNameField, { ...props }),
4237
+ creditInRshbCd: (props) => jsx(CreditInRshbCdField, { ...props }),
4238
+ bankEmployeeCode: (props) => jsx(BankEmpoleeCodeField, { ...props }),
4239
+ partInBusiness: (props) => jsx(PartInBusinessField, { ...props }),
4240
+ regionRetail: (props) => jsx(RegionRetailField, { ...props }),
4241
+ addressRetail: (props) => jsx(AddressRetailField, { ...props }),
4242
+ addressMatch: (props) => jsx(AddressMatchField, { ...props }),
4243
+ calculator: (props) => jsx(CreditCalcField, { ...props }),
4244
+ };
4245
+ const InputRetailCardMap = {
4246
+ paymentSystem: (props) => jsx(PaymentSystemField, { ...props }),
4247
+ currency: (props) => jsx(CurrencyField, { ...props }),
4248
+ cardCategory: (props) => jsx(CardCategoryField, { ...props }),
4249
+ codeWord: (props) => jsx(CodeWordField, { ...props }),
4250
+ confirmationIncome: (props) => jsx(ConfirmationIncomeField, { ...props }),
4251
+ methodObtain: (props) => jsx(MethodObtainField, { ...props }),
4252
+ deliveryDate: (props) => jsx(DeliveryDateFiels, { ...props }),
4253
+ };
4149
4254
  const getField = (field, params) => (input, i) => {
4150
- const isPremium = params?.typeForm === 'ULTRASERVICE' || params?.typeForm === 'PREMIUMSERVICE';
4151
- const InputsMap = {
4152
- surname: jsx(SurnameField, { field: field, input: input }),
4153
- name: jsx(NameField, { field: field, input: input }),
4154
- middleName: jsx(MiddleNameField, { field: field, input: input }),
4155
- phone: jsx(PhoneField, { field: field, input: input }),
4156
- organizationPhone: jsx(PhoneField, { field: field, input: input }),
4157
- email: jsx(EmailField, { field: field, input: input }),
4158
- fullName: jsx(FullNameField, { field: field, input: input }),
4159
- inn: jsx(InnField, { field: field, input: input }),
4160
- legalForm: jsx(LegalFormField, { field: field, input: input }),
4161
- organizationName: jsx(OrganizationNameField, { field: field, input: input }),
4162
- generalSeniority: jsx(GeneralSeniorityField, { field: field, input: input }),
4163
- lastJobExperience: jsx(LastJobExperienceField, { field: field, input: input }),
4164
- experience5Years: jsx(Experience5YearsField, { field: field, input: input }),
4165
- jobsNumber: jsx(JobsNumberField, { field: field, input: input }),
4166
- beginDate: jsx(BeginDateField, { field: field, input: input }),
4167
- addressFact: jsx(AddressFactField, { field: field, input: input }),
4168
- organizationAddress: jsx(AddressField, { field: field, input: input }),
4169
- comment: jsx(CommentField, { field: field, input: input }),
4170
- addressBranch: jsx(AddressBranchField, { field: field, input: input, isPremium: isPremium }),
4171
- sex: jsx(SexField, { field: field, input: input }),
4172
- birthday: jsx(BirthdayField, { field: field, input: input }),
4173
- limitedBirthday: jsx(LimitedBirthdayField, { field: field, input: input }),
4174
- birthPlace: jsx(BirthPlaceField, { field: field, input: input }),
4175
- desiredMeetingDate: jsx(DesiredMeetingDateField, { field: field, input: input }),
4176
- product: jsx(ProductField, { field: field, source: PRODUCT_REF }),
4177
- localities: jsx(LocalitiesField, { field: field, input: input }),
4178
- isClient: jsx(IsClientField, { field: field }),
4179
- partnerComments: jsx(PartnerCommentsField, { field: field, input: input }),
4180
- collectionCount: jsx(CollectionCountField, { field: field, input: input }),
4181
- acquiringType: jsx(AcquiringField, { field: field, input: input }),
4182
- onlineCheckout: jsx(OnlineCheckoutField, { field: field }),
4183
- posTerminal: jsx(PosTerminalField, { field: field }),
4184
- serviceType: jsx(UltraPremiumField, { field: field, input: input }),
4185
- term: jsx(TermField, { field: field }),
4186
- amount: jsx(AmountField, { field: field }),
4187
- annualRevenue: jsx(AnnualRevenueField, { field: field, input: input }),
4188
- vedTypes: jsx(VedField, { field: field }),
4189
- feedbackMethod: jsx(FeedbackMethodField, { field: field, input: input }),
4190
- serviceDirection: jsx(ServiceDirectionField, { field: field, input: input }),
4191
- bankEmpolee: jsx(BankEmpoleeField, { field: field }),
4192
- secondaryPhone: jsx(SecondaryPhoneField, { field: field }),
4193
- consentToReceiveMaterials: jsx(ConsentField, { field: field, input: input }),
4194
- processPersonalDataFlg: jsx(ConsentField, { field: field, input: input }),
4195
- consentProviderFlg: jsx(ConsentField, { field: field, input: input }),
4196
- consentOthersFlg: jsx(ConsentField, { field: field, input: input }),
4197
- consentInformFlg: jsx(ConsentField, { field: field, input: input }),
4198
- consentPfrFlg: jsx(ConsentField, { field: field, input: input }),
4199
- 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') })),
4200
- region: isPremium ? (jsx(RegionPremiumField, { field: field })) : (jsx(RegionField, { field: field, input: input, params: params })),
4201
- education: jsx(EducationField, { field: field, input: input }),
4202
- housing: jsx(HousingField, { field: field, input: input }),
4203
- employment: jsx(EmploymentField, { field: field, input: input }),
4204
- organization: jsx(OrganizationField, { field: field, input: input }),
4205
- amountWorkers: jsx(AmountWorkersField, { field: field, input: input }),
4206
- employerActivities: jsx(EmployerActivitiesField, { field: field, input: input }),
4207
- employerOrganization: jsx(EmployerOrganizationField, { field: field, input: input }),
4208
- positionOrganization: jsx(PositionOrganizationField, { field: field, input: input }),
4209
- familyStatus: jsx(FamilyStatusField, { field: field, input: input }),
4210
- children: jsx(ChildrenField, { field: field, input: input }),
4211
- familyMembers: jsx(FamilyMembersField, { field: field, input: input }),
4212
- dependents: jsx(DependentsField, { field: field, input: input }),
4213
- totalIncome: jsx(TotalIncomeField, { field: field, input: input }),
4214
- expenses: jsx(ExpensesField, { field: field, input: input }),
4215
- snils: jsx(SnilsField, { field: field, input: input }),
4216
- conscription: jsx(ConscriptionField, { field: field, input: input }),
4217
- armyIdFlg: jsx(ArmyIdFlgField, { field: field, input: input }),
4218
- dulSerie: jsx(DulSerieField, { field: field, input: input }),
4219
- dulNumber: jsx(DulNumberField, { field: field, input: input }),
4220
- dulIssueDateField: jsx(DulIssueDateField, { field: field, input: input }),
4221
- dulSubdivisionCode: jsx(DulSubdivisionCodeField, { field: field, input: input }),
4222
- dulIssuedBy: jsx(DulIssuedByField, { field: field, input: input }),
4223
- addressRegistration: jsx(AddressField, { field: field, input: input }),
4224
- addressCourier: jsx(AddressField, { field: field, input: input }),
4225
- participantDateRegistration: jsx(ParticipantDateRegistrationField, { field: field, input: input }),
4226
- retirementIncome: jsx(RetirementIncomeField, { field: field, input: input }),
4227
- otherIncome: jsx(OtherIncomeField, { field: field, input: input }),
4228
- wages: jsx(WagesField, { field: field, input: input }),
4229
- mandatoryPayments: jsx(MandatoryPaymentsField, { field: field, input: input }),
4230
- disablePeopleFlg: jsx(DisablePeopleFlgField, { field: field, input: input }),
4231
- bankruptcyFlg: jsx(BankruptcyFlgField, { field: field, input: input }),
4232
- shareholderFlg: jsx(ShareholderFlgField, { field: field, input: input }),
4233
- legalEntityName: jsx(LegalEntityNameField, { field: field, input: input }),
4234
- creditInRshbCd: jsx(CreditInRshbCdField, { field: field, input: input }),
4235
- bankEmployeeCode: jsx(BankEmpoleeCodeField, { field: field, input: input }),
4236
- partInBusiness: jsx(PartInBusinessField, { field: field, input: input }),
4237
- regionRetail: jsx(RegionRetailField, { field: field, input: input }),
4238
- addressRetail: jsx(AddressRetailField, { field: field, input: input }),
4239
- addressMatch: jsx(AddressMatchField, { field: field, input: input }),
4240
- paymentSystem: jsx(PaymentSystemField, { field: field, input: input }),
4241
- currency: jsx(CurrencyField, { field: field, input: input }),
4242
- cardCategory: jsx(CardCategoryField, { field: field, input: input }),
4243
- codeWord: jsx(CodeWordField, { field: field, input: input }),
4244
- confirmationIncome: jsx(ConfirmationIncomeField, { field: field, input: input }),
4245
- methodObtain: jsx(MethodObtainField, { field: field, input: input }),
4246
- deliveryDate: jsx(DeliveryDateFiels, { field: field, input: input }),
4247
- calculator: jsx(CreditCalcField, { field: field, params: params }),
4255
+ const resultInputsMap = {
4256
+ ...InputsMap,
4257
+ ...InputsRetailMap,
4258
+ ...InputRetailCardMap,
4248
4259
  };
4249
- return isRenderField({ input, field }) ? (jsx("div", { children: InputsMap[input?.name || ''] }, String(i))) : null;
4260
+ return isRenderField({ input, field }) ? (jsx("div", { children: resultInputsMap[input?.name || '']?.({ field, input, params }) }, String(i))) : null;
4250
4261
  };
4251
4262
 
4252
4263
  const inputColumnStyles = (column) => column === 2 ? '@xl:grid-cols-2' : '';
@@ -5209,7 +5220,6 @@
5209
5220
  const initialFormState = {
5210
5221
  typeForm: '',
5211
5222
  region: { key: '', text: '' },
5212
- addressBranch: { key: '', text: '' },
5213
5223
  surname: '',
5214
5224
  name: '',
5215
5225
  phone: '',
@@ -7080,12 +7090,13 @@
7080
7090
  };
7081
7091
 
7082
7092
  const getFourthStepData$1 = (formData) => {
7083
- const { familyStatus, dependents, familyMembers, children, wages, mandatoryPayments, incomeAverage, additionalIncome, otherIncome, otherPayments, rentalIncome, retirementIncome, snils, armyIdFlg, conscription, } = formData;
7093
+ const { familyStatus, dependents, familyMembers, children, confirmationIncome, wages, mandatoryPayments, incomeAverage, additionalIncome, otherIncome, otherPayments, rentalIncome, retirementIncome, snils, armyIdFlg, conscription, } = formData;
7084
7094
  return {
7085
7095
  maritalStatusCd: familyStatus,
7086
- childrenDependents: children,
7087
7096
  totalDependents: familyMembers,
7097
+ incomeCertificateCd: confirmationIncome,
7088
7098
  otherDependents: dependents,
7099
+ childrenDependents: children,
7089
7100
  militaryStatusCd: conscription,
7090
7101
  participantIncomes: getParticipantIncomes({
7091
7102
  wages,
@@ -7184,7 +7195,6 @@
7184
7195
  generalSeniority: experience5Years,
7185
7196
  jobsNumber,
7186
7197
  lastWorkDuration: lastJobExperience,
7187
- payrollCardRshbFlg: true,
7188
7198
  positionCd: positionOrganization,
7189
7199
  participantContacts: getParticipantContacts({
7190
7200
  organizationPhone: organizationPhone && formatPhone(organizationPhone),
@@ -10766,7 +10776,7 @@
10766
10776
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
10767
10777
  });
10768
10778
 
10769
- const packageVersion = "0.14.701";
10779
+ const packageVersion = "0.14.703";
10770
10780
 
10771
10781
  exports.Blocks = Blocks;
10772
10782
  exports.ContentPage = ContentPage;