@redneckz/wildless-cms-uni-blocks 0.14.710 → 0.14.711
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.
- package/bundle/bundle.umd.js +442 -761
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/CreditCardForm/{getSixthStepData.d.ts → getDeliveryCreditCardData.d.ts} +1 -1
- package/bundle/services/retail/adaptors/getAdditionalInfoData.d.ts +3 -0
- package/bundle/services/retail/adaptors/getCalculatorData.d.ts +3 -0
- package/bundle/services/retail/adaptors/getCardOptionsData.d.ts +3 -0
- package/{dist/components/CreditForm → bundle/services/retail/adaptors}/getCreditFormTaskData.d.ts +2 -2
- package/bundle/services/retail/adaptors/getDeliveryCreditData.d.ts +3 -0
- package/bundle/services/retail/adaptors/getEmploymentData.d.ts +3 -0
- package/bundle/services/retail/adaptors/getFamilyStatusAndIncomeData.d.ts +3 -0
- package/bundle/services/retail/adaptors/getPersonalInfoData.d.ts +3 -0
- package/bundle/services/retail/content.d.ts +6 -0
- package/dist/components/CreditCardForm/creditCardFormStepsData.js +4 -346
- package/dist/components/CreditCardForm/creditCardFormStepsData.js.map +1 -1
- package/dist/components/CreditCardForm/getCreditCardFormTaskData.js +14 -14
- package/dist/components/CreditCardForm/getCreditCardFormTaskData.js.map +1 -1
- package/{lib/components/CreditCardForm/getSixthStepData.d.ts → dist/components/CreditCardForm/getDeliveryCreditCardData.d.ts} +1 -1
- package/{mobile/dist/components/CreditCardForm/getSixthStepData.js → dist/components/CreditCardForm/getDeliveryCreditCardData.js} +4 -4
- package/dist/components/CreditCardForm/getDeliveryCreditCardData.js.map +1 -0
- package/dist/components/CreditForm/creditFormStepsData.js +4 -279
- package/dist/components/CreditForm/creditFormStepsData.js.map +1 -1
- package/dist/components/CreditForm/useCreditFormAPI.js +1 -1
- package/dist/components/CreditForm/useCreditFormAPI.js.map +1 -1
- package/dist/services/retail/adaptors/getAdditionalInfoData.d.ts +3 -0
- package/{mobile/dist/components/CreditCardForm/getFifthStepData.js → dist/services/retail/adaptors/getAdditionalInfoData.js} +4 -4
- package/dist/services/retail/adaptors/getAdditionalInfoData.js.map +1 -0
- package/dist/services/retail/adaptors/getCalculatorData.d.ts +3 -0
- package/{mobile/dist/components/CreditForm/getZeroStepData.js → dist/services/retail/adaptors/getCalculatorData.js} +4 -4
- package/dist/services/retail/adaptors/getCalculatorData.js.map +1 -0
- package/dist/services/retail/adaptors/getCardOptionsData.d.ts +3 -0
- package/{mobile/dist/components/CreditCardForm/getCardData.js → dist/services/retail/adaptors/getCardOptionsData.js} +4 -4
- package/dist/services/retail/adaptors/getCardOptionsData.js.map +1 -0
- package/{bundle/components/CreditForm → dist/services/retail/adaptors}/getCreditFormTaskData.d.ts +2 -2
- package/{mobile/dist/components/CreditForm → dist/services/retail/adaptors}/getCreditFormTaskData.js +14 -14
- package/dist/services/retail/adaptors/getCreditFormTaskData.js.map +1 -0
- package/dist/services/retail/adaptors/getDeliveryCreditData.d.ts +3 -0
- package/dist/{components/CreditForm/getFifthStepData.js → services/retail/adaptors/getDeliveryCreditData.js} +4 -4
- package/dist/services/retail/adaptors/getDeliveryCreditData.js.map +1 -0
- package/dist/services/retail/adaptors/getEmploymentData.d.ts +3 -0
- package/dist/{components/CreditForm/getSecondStepData.js → services/retail/adaptors/getEmploymentData.js} +7 -7
- package/dist/services/retail/adaptors/getEmploymentData.js.map +1 -0
- package/dist/services/retail/adaptors/getFamilyStatusAndIncomeData.d.ts +3 -0
- package/{mobile/dist/components/CreditCardForm/getFourthStepData.js → dist/services/retail/adaptors/getFamilyStatusAndIncomeData.js} +5 -5
- package/dist/services/retail/adaptors/getFamilyStatusAndIncomeData.js.map +1 -0
- package/dist/services/retail/adaptors/getPersonalInfoData.d.ts +3 -0
- package/{mobile/dist/components/CreditCardForm/getSecondStepData.js → dist/services/retail/adaptors/getPersonalInfoData.js} +7 -7
- package/dist/services/retail/adaptors/getPersonalInfoData.js.map +1 -0
- package/dist/services/retail/content.d.ts +6 -0
- package/dist/services/retail/content.js +389 -0
- package/dist/services/retail/content.js.map +1 -0
- package/lib/components/CreditCardForm/creditCardFormStepsData.js +4 -346
- package/lib/components/CreditCardForm/creditCardFormStepsData.js.map +1 -1
- package/lib/components/CreditCardForm/getCreditCardFormTaskData.js +12 -12
- package/lib/components/CreditCardForm/getCreditCardFormTaskData.js.map +1 -1
- package/{dist/components/CreditCardForm/getSixthStepData.d.ts → lib/components/CreditCardForm/getDeliveryCreditCardData.d.ts} +1 -1
- package/lib/components/CreditCardForm/{getSixthStepData.js → getDeliveryCreditCardData.js} +2 -2
- package/lib/components/CreditCardForm/getDeliveryCreditCardData.js.map +1 -0
- package/lib/components/CreditForm/creditFormStepsData.js +4 -279
- package/lib/components/CreditForm/creditFormStepsData.js.map +1 -1
- package/lib/components/CreditForm/useCreditFormAPI.js +1 -1
- package/lib/components/CreditForm/useCreditFormAPI.js.map +1 -1
- package/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +1 -1
- package/lib/services/retail/adaptors/getAdditionalInfoData.d.ts +3 -0
- package/lib/{components/CreditCardForm/getFifthStepData.js → services/retail/adaptors/getAdditionalInfoData.js} +2 -2
- package/lib/services/retail/adaptors/getAdditionalInfoData.js.map +1 -0
- package/lib/services/retail/adaptors/getCalculatorData.d.ts +3 -0
- package/{mobile/lib/components/CreditForm/getZeroStepData.js → lib/services/retail/adaptors/getCalculatorData.js} +2 -2
- package/lib/services/retail/adaptors/getCalculatorData.js.map +1 -0
- package/lib/services/retail/adaptors/getCardOptionsData.d.ts +3 -0
- package/{mobile/lib/components/CreditCardForm/getCardData.js → lib/services/retail/adaptors/getCardOptionsData.js} +2 -2
- package/lib/services/retail/adaptors/getCardOptionsData.js.map +1 -0
- package/lib/{components/CreditForm → services/retail/adaptors}/getCreditFormTaskData.d.ts +2 -2
- package/lib/{components/CreditForm → services/retail/adaptors}/getCreditFormTaskData.js +14 -14
- package/lib/services/retail/adaptors/getCreditFormTaskData.js.map +1 -0
- package/lib/services/retail/adaptors/getDeliveryCreditData.d.ts +3 -0
- package/lib/{components/CreditForm/getFifthStepData.js → services/retail/adaptors/getDeliveryCreditData.js} +2 -2
- package/lib/services/retail/adaptors/getDeliveryCreditData.js.map +1 -0
- package/lib/services/retail/adaptors/getEmploymentData.d.ts +3 -0
- package/lib/{components/CreditForm/getSecondStepData.js → services/retail/adaptors/getEmploymentData.js} +5 -5
- package/lib/services/retail/adaptors/getEmploymentData.js.map +1 -0
- package/lib/services/retail/adaptors/getFamilyStatusAndIncomeData.d.ts +3 -0
- package/{mobile/lib/components/CreditCardForm/getFourthStepData.js → lib/services/retail/adaptors/getFamilyStatusAndIncomeData.js} +3 -3
- package/lib/services/retail/adaptors/getFamilyStatusAndIncomeData.js.map +1 -0
- package/lib/services/retail/adaptors/getPersonalInfoData.d.ts +3 -0
- package/lib/{components/CreditCardForm/getSecondStepData.js → services/retail/adaptors/getPersonalInfoData.js} +5 -5
- package/lib/services/retail/adaptors/getPersonalInfoData.js.map +1 -0
- package/lib/services/retail/content.d.ts +6 -0
- package/lib/services/retail/content.js +387 -0
- package/lib/services/retail/content.js.map +1 -0
- package/mobile/bundle/bundle.umd.js +442 -761
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/CreditCardForm/{getSixthStepData.d.ts → getDeliveryCreditCardData.d.ts} +1 -1
- package/mobile/bundle/services/retail/adaptors/getAdditionalInfoData.d.ts +3 -0
- package/mobile/bundle/services/retail/adaptors/getCalculatorData.d.ts +3 -0
- package/mobile/bundle/services/retail/adaptors/getCardOptionsData.d.ts +3 -0
- package/mobile/bundle/{components/CreditForm → services/retail/adaptors}/getCreditFormTaskData.d.ts +2 -2
- package/mobile/bundle/services/retail/adaptors/getDeliveryCreditData.d.ts +3 -0
- package/mobile/bundle/services/retail/adaptors/getEmploymentData.d.ts +3 -0
- package/mobile/bundle/services/retail/adaptors/getFamilyStatusAndIncomeData.d.ts +3 -0
- package/mobile/bundle/services/retail/adaptors/getPersonalInfoData.d.ts +3 -0
- package/mobile/bundle/services/retail/content.d.ts +6 -0
- package/mobile/dist/components/CreditCardForm/creditCardFormStepsData.js +4 -346
- package/mobile/dist/components/CreditCardForm/creditCardFormStepsData.js.map +1 -1
- package/mobile/dist/components/CreditCardForm/getCreditCardFormTaskData.js +14 -14
- package/mobile/dist/components/CreditCardForm/getCreditCardFormTaskData.js.map +1 -1
- package/mobile/dist/components/CreditCardForm/getDeliveryCreditCardData.d.ts +24 -0
- package/{dist/components/CreditCardForm/getSixthStepData.js → mobile/dist/components/CreditCardForm/getDeliveryCreditCardData.js} +4 -4
- package/mobile/dist/components/CreditCardForm/getDeliveryCreditCardData.js.map +1 -0
- package/mobile/dist/components/CreditForm/creditFormStepsData.js +4 -279
- package/mobile/dist/components/CreditForm/creditFormStepsData.js.map +1 -1
- package/mobile/dist/components/CreditForm/useCreditFormAPI.js +1 -1
- package/mobile/dist/components/CreditForm/useCreditFormAPI.js.map +1 -1
- package/mobile/dist/services/retail/adaptors/getAdditionalInfoData.d.ts +3 -0
- package/{dist/components/CreditForm/getFourthStepData.js → mobile/dist/services/retail/adaptors/getAdditionalInfoData.js} +4 -4
- package/mobile/dist/services/retail/adaptors/getAdditionalInfoData.js.map +1 -0
- package/mobile/dist/services/retail/adaptors/getCalculatorData.d.ts +3 -0
- package/{dist/components/CreditForm/getZeroStepData.js → mobile/dist/services/retail/adaptors/getCalculatorData.js} +4 -4
- package/mobile/dist/services/retail/adaptors/getCalculatorData.js.map +1 -0
- package/mobile/dist/services/retail/adaptors/getCardOptionsData.d.ts +3 -0
- package/{dist/components/CreditCardForm/getCardData.js → mobile/dist/services/retail/adaptors/getCardOptionsData.js} +4 -4
- package/mobile/dist/services/retail/adaptors/getCardOptionsData.js.map +1 -0
- package/mobile/dist/services/retail/adaptors/getCreditFormTaskData.d.ts +11 -0
- package/{dist/components/CreditForm → mobile/dist/services/retail/adaptors}/getCreditFormTaskData.js +14 -14
- package/mobile/dist/services/retail/adaptors/getCreditFormTaskData.js.map +1 -0
- package/mobile/dist/services/retail/adaptors/getDeliveryCreditData.d.ts +3 -0
- package/mobile/dist/{components/CreditForm/getFifthStepData.js → services/retail/adaptors/getDeliveryCreditData.js} +4 -4
- package/mobile/dist/services/retail/adaptors/getDeliveryCreditData.js.map +1 -0
- package/mobile/dist/services/retail/adaptors/getEmploymentData.d.ts +3 -0
- package/mobile/dist/{components/CreditCardForm/getThirdStepData.js → services/retail/adaptors/getEmploymentData.js} +7 -7
- package/mobile/dist/services/retail/adaptors/getEmploymentData.js.map +1 -0
- package/mobile/dist/services/retail/adaptors/getFamilyStatusAndIncomeData.d.ts +3 -0
- package/{dist/components/CreditCardForm/getFourthStepData.js → mobile/dist/services/retail/adaptors/getFamilyStatusAndIncomeData.js} +5 -5
- package/mobile/dist/services/retail/adaptors/getFamilyStatusAndIncomeData.js.map +1 -0
- package/mobile/dist/services/retail/adaptors/getPersonalInfoData.d.ts +3 -0
- package/{dist/components/CreditCardForm/getSecondStepData.js → mobile/dist/services/retail/adaptors/getPersonalInfoData.js} +7 -7
- package/mobile/dist/services/retail/adaptors/getPersonalInfoData.js.map +1 -0
- package/mobile/dist/services/retail/content.d.ts +6 -0
- package/mobile/dist/services/retail/content.js +389 -0
- package/mobile/dist/services/retail/content.js.map +1 -0
- package/mobile/lib/components/CreditCardForm/creditCardFormStepsData.js +4 -346
- package/mobile/lib/components/CreditCardForm/creditCardFormStepsData.js.map +1 -1
- package/mobile/lib/components/CreditCardForm/getCreditCardFormTaskData.js +12 -12
- package/mobile/lib/components/CreditCardForm/getCreditCardFormTaskData.js.map +1 -1
- package/mobile/lib/components/CreditCardForm/getDeliveryCreditCardData.d.ts +24 -0
- package/mobile/lib/components/CreditCardForm/{getSixthStepData.js → getDeliveryCreditCardData.js} +2 -2
- package/mobile/lib/components/CreditCardForm/getDeliveryCreditCardData.js.map +1 -0
- package/mobile/lib/components/CreditForm/creditFormStepsData.js +4 -279
- package/mobile/lib/components/CreditForm/creditFormStepsData.js.map +1 -1
- package/mobile/lib/components/CreditForm/useCreditFormAPI.js +1 -1
- package/mobile/lib/components/CreditForm/useCreditFormAPI.js.map +1 -1
- package/mobile/lib/services/retail/adaptors/getAdditionalInfoData.d.ts +3 -0
- package/mobile/lib/{components/CreditCardForm/getFifthStepData.js → services/retail/adaptors/getAdditionalInfoData.js} +2 -2
- package/mobile/lib/services/retail/adaptors/getAdditionalInfoData.js.map +1 -0
- package/mobile/lib/services/retail/adaptors/getCalculatorData.d.ts +3 -0
- package/{lib/components/CreditForm/getZeroStepData.js → mobile/lib/services/retail/adaptors/getCalculatorData.js} +2 -2
- package/mobile/lib/services/retail/adaptors/getCalculatorData.js.map +1 -0
- package/mobile/lib/services/retail/adaptors/getCardOptionsData.d.ts +3 -0
- package/{lib/components/CreditCardForm/getCardData.js → mobile/lib/services/retail/adaptors/getCardOptionsData.js} +2 -2
- package/mobile/lib/services/retail/adaptors/getCardOptionsData.js.map +1 -0
- package/mobile/lib/services/retail/adaptors/getCreditFormTaskData.d.ts +11 -0
- package/mobile/lib/{components/CreditForm → services/retail/adaptors}/getCreditFormTaskData.js +14 -14
- package/mobile/lib/services/retail/adaptors/getCreditFormTaskData.js.map +1 -0
- package/mobile/lib/services/retail/adaptors/getDeliveryCreditData.d.ts +3 -0
- package/mobile/lib/{components/CreditForm/getFifthStepData.js → services/retail/adaptors/getDeliveryCreditData.js} +2 -2
- package/mobile/lib/services/retail/adaptors/getDeliveryCreditData.js.map +1 -0
- package/mobile/lib/services/retail/adaptors/getEmploymentData.d.ts +3 -0
- package/mobile/lib/{components/CreditCardForm/getThirdStepData.js → services/retail/adaptors/getEmploymentData.js} +5 -5
- package/mobile/lib/services/retail/adaptors/getEmploymentData.js.map +1 -0
- package/mobile/lib/services/retail/adaptors/getFamilyStatusAndIncomeData.d.ts +3 -0
- package/mobile/lib/{components/CreditForm/getThirdStepData.js → services/retail/adaptors/getFamilyStatusAndIncomeData.js} +3 -3
- package/mobile/lib/services/retail/adaptors/getFamilyStatusAndIncomeData.js.map +1 -0
- package/mobile/lib/services/retail/adaptors/getPersonalInfoData.d.ts +3 -0
- package/mobile/lib/{components/CreditCardForm/getSecondStepData.js → services/retail/adaptors/getPersonalInfoData.js} +5 -5
- package/mobile/lib/services/retail/adaptors/getPersonalInfoData.js.map +1 -0
- package/mobile/lib/services/retail/content.d.ts +6 -0
- package/mobile/lib/services/retail/content.js +387 -0
- package/mobile/lib/services/retail/content.js.map +1 -0
- package/mobile/src/components/CreditCardForm/creditCardFormStepsData.tsx +8 -347
- package/mobile/src/components/CreditCardForm/getCreditCardFormTaskData.ts +16 -12
- package/mobile/src/components/CreditCardForm/{getSixthStepData.ts → getDeliveryCreditCardData.ts} +1 -1
- package/mobile/src/components/CreditForm/creditFormStepsData.tsx +8 -280
- package/mobile/src/components/CreditForm/useCreditFormAPI.tsx +1 -1
- package/mobile/src/services/retail/adaptors/getAdditionalInfoData.ts +13 -0
- package/mobile/src/{components/CreditForm/getZeroStepData.ts → services/retail/adaptors/getCalculatorData.ts} +3 -3
- package/mobile/src/services/retail/adaptors/getCardOptionsData.tsx +13 -0
- package/{src/components/CreditForm → mobile/src/services/retail/adaptors}/getCreditFormTaskData.ts +16 -16
- package/mobile/src/services/retail/adaptors/getDeliveryCreditData.ts +12 -0
- package/mobile/src/{components/CreditForm/getSecondStepData.tsx → services/retail/adaptors/getEmploymentData.tsx} +9 -6
- package/mobile/src/{components/CreditCardForm/getFourthStepData.ts → services/retail/adaptors/getFamilyStatusAndIncomeData.ts} +4 -4
- package/{src/components/CreditCardForm/getSecondStepData.tsx → mobile/src/services/retail/adaptors/getPersonalInfoData.tsx} +9 -6
- package/mobile/src/services/retail/content.tsx +391 -0
- package/package.json +1 -1
- package/src/components/CreditCardForm/creditCardFormStepsData.tsx +8 -347
- package/src/components/CreditCardForm/getCreditCardFormTaskData.ts +16 -12
- package/src/components/CreditCardForm/{getSixthStepData.ts → getDeliveryCreditCardData.ts} +1 -1
- package/src/components/CreditForm/creditFormStepsData.tsx +8 -280
- package/src/components/CreditForm/useCreditFormAPI.tsx +1 -1
- package/src/services/retail/adaptors/getAdditionalInfoData.ts +13 -0
- package/src/{components/CreditForm/getZeroStepData.ts → services/retail/adaptors/getCalculatorData.ts} +3 -3
- package/src/services/retail/adaptors/getCardOptionsData.tsx +13 -0
- package/{mobile/src/components/CreditForm → src/services/retail/adaptors}/getCreditFormTaskData.ts +16 -16
- package/src/services/retail/adaptors/getDeliveryCreditData.ts +12 -0
- package/src/{components/CreditForm/getSecondStepData.tsx → services/retail/adaptors/getEmploymentData.tsx} +9 -6
- package/src/{components/CreditCardForm/getFourthStepData.ts → services/retail/adaptors/getFamilyStatusAndIncomeData.ts} +4 -4
- package/{mobile/src/components/CreditCardForm/getSecondStepData.tsx → src/services/retail/adaptors/getPersonalInfoData.tsx} +9 -6
- package/src/services/retail/content.tsx +391 -0
- package/bundle/components/CreditCardForm/getCardData.d.ts +0 -3
- package/bundle/components/CreditCardForm/getFifthStepData.d.ts +0 -3
- package/bundle/components/CreditCardForm/getFourthStepData.d.ts +0 -3
- package/bundle/components/CreditCardForm/getSecondStepData.d.ts +0 -3
- package/bundle/components/CreditCardForm/getThirdStepData.d.ts +0 -3
- package/bundle/components/CreditForm/getFifthStepData.d.ts +0 -3
- package/bundle/components/CreditForm/getFirstStepData.d.ts +0 -3
- package/bundle/components/CreditForm/getFourthStepData.d.ts +0 -3
- package/bundle/components/CreditForm/getSecondStepData.d.ts +0 -3
- package/bundle/components/CreditForm/getThirdStepData.d.ts +0 -3
- package/bundle/components/CreditForm/getZeroStepData.d.ts +0 -3
- package/dist/components/CreditCardForm/getCardData.d.ts +0 -3
- package/dist/components/CreditCardForm/getCardData.js.map +0 -1
- package/dist/components/CreditCardForm/getFifthStepData.d.ts +0 -3
- package/dist/components/CreditCardForm/getFifthStepData.js +0 -13
- package/dist/components/CreditCardForm/getFifthStepData.js.map +0 -1
- package/dist/components/CreditCardForm/getFourthStepData.d.ts +0 -3
- package/dist/components/CreditCardForm/getFourthStepData.js.map +0 -1
- package/dist/components/CreditCardForm/getSecondStepData.d.ts +0 -3
- package/dist/components/CreditCardForm/getSecondStepData.js.map +0 -1
- package/dist/components/CreditCardForm/getSixthStepData.js.map +0 -1
- package/dist/components/CreditCardForm/getThirdStepData.d.ts +0 -3
- package/dist/components/CreditCardForm/getThirdStepData.js +0 -30
- package/dist/components/CreditCardForm/getThirdStepData.js.map +0 -1
- package/dist/components/CreditForm/getCreditFormTaskData.js.map +0 -1
- package/dist/components/CreditForm/getFifthStepData.d.ts +0 -3
- package/dist/components/CreditForm/getFifthStepData.js.map +0 -1
- package/dist/components/CreditForm/getFirstStepData.d.ts +0 -3
- package/dist/components/CreditForm/getFirstStepData.js +0 -35
- package/dist/components/CreditForm/getFirstStepData.js.map +0 -1
- package/dist/components/CreditForm/getFourthStepData.d.ts +0 -3
- package/dist/components/CreditForm/getFourthStepData.js.map +0 -1
- package/dist/components/CreditForm/getSecondStepData.d.ts +0 -3
- package/dist/components/CreditForm/getSecondStepData.js.map +0 -1
- package/dist/components/CreditForm/getThirdStepData.d.ts +0 -3
- package/dist/components/CreditForm/getThirdStepData.js +0 -28
- package/dist/components/CreditForm/getThirdStepData.js.map +0 -1
- package/dist/components/CreditForm/getZeroStepData.d.ts +0 -3
- package/dist/components/CreditForm/getZeroStepData.js.map +0 -1
- package/lib/components/CreditCardForm/getCardData.d.ts +0 -3
- package/lib/components/CreditCardForm/getCardData.js.map +0 -1
- package/lib/components/CreditCardForm/getFifthStepData.d.ts +0 -3
- package/lib/components/CreditCardForm/getFifthStepData.js.map +0 -1
- package/lib/components/CreditCardForm/getFourthStepData.d.ts +0 -3
- package/lib/components/CreditCardForm/getFourthStepData.js +0 -25
- package/lib/components/CreditCardForm/getFourthStepData.js.map +0 -1
- package/lib/components/CreditCardForm/getSecondStepData.d.ts +0 -3
- package/lib/components/CreditCardForm/getSecondStepData.js.map +0 -1
- package/lib/components/CreditCardForm/getSixthStepData.js.map +0 -1
- package/lib/components/CreditCardForm/getThirdStepData.d.ts +0 -3
- package/lib/components/CreditCardForm/getThirdStepData.js +0 -27
- package/lib/components/CreditCardForm/getThirdStepData.js.map +0 -1
- package/lib/components/CreditForm/getCreditFormTaskData.js.map +0 -1
- package/lib/components/CreditForm/getFifthStepData.d.ts +0 -3
- package/lib/components/CreditForm/getFifthStepData.js.map +0 -1
- package/lib/components/CreditForm/getFirstStepData.d.ts +0 -3
- package/lib/components/CreditForm/getFirstStepData.js +0 -32
- package/lib/components/CreditForm/getFirstStepData.js.map +0 -1
- package/lib/components/CreditForm/getFourthStepData.d.ts +0 -3
- package/lib/components/CreditForm/getFourthStepData.js +0 -10
- package/lib/components/CreditForm/getFourthStepData.js.map +0 -1
- package/lib/components/CreditForm/getSecondStepData.d.ts +0 -3
- package/lib/components/CreditForm/getSecondStepData.js.map +0 -1
- package/lib/components/CreditForm/getThirdStepData.d.ts +0 -3
- package/lib/components/CreditForm/getThirdStepData.js +0 -25
- package/lib/components/CreditForm/getThirdStepData.js.map +0 -1
- package/lib/components/CreditForm/getZeroStepData.d.ts +0 -3
- package/lib/components/CreditForm/getZeroStepData.js.map +0 -1
- package/mobile/bundle/components/CreditCardForm/getCardData.d.ts +0 -3
- package/mobile/bundle/components/CreditCardForm/getFifthStepData.d.ts +0 -3
- package/mobile/bundle/components/CreditCardForm/getFourthStepData.d.ts +0 -3
- package/mobile/bundle/components/CreditCardForm/getSecondStepData.d.ts +0 -3
- package/mobile/bundle/components/CreditCardForm/getThirdStepData.d.ts +0 -3
- package/mobile/bundle/components/CreditForm/getFifthStepData.d.ts +0 -3
- package/mobile/bundle/components/CreditForm/getFirstStepData.d.ts +0 -3
- package/mobile/bundle/components/CreditForm/getFourthStepData.d.ts +0 -3
- package/mobile/bundle/components/CreditForm/getSecondStepData.d.ts +0 -3
- package/mobile/bundle/components/CreditForm/getThirdStepData.d.ts +0 -3
- package/mobile/bundle/components/CreditForm/getZeroStepData.d.ts +0 -3
- package/mobile/dist/components/CreditCardForm/getCardData.d.ts +0 -3
- package/mobile/dist/components/CreditCardForm/getCardData.js.map +0 -1
- package/mobile/dist/components/CreditCardForm/getFifthStepData.d.ts +0 -3
- package/mobile/dist/components/CreditCardForm/getFifthStepData.js.map +0 -1
- package/mobile/dist/components/CreditCardForm/getFourthStepData.d.ts +0 -3
- package/mobile/dist/components/CreditCardForm/getFourthStepData.js.map +0 -1
- package/mobile/dist/components/CreditCardForm/getSecondStepData.d.ts +0 -3
- package/mobile/dist/components/CreditCardForm/getSecondStepData.js.map +0 -1
- package/mobile/dist/components/CreditCardForm/getSixthStepData.d.ts +0 -24
- package/mobile/dist/components/CreditCardForm/getSixthStepData.js.map +0 -1
- package/mobile/dist/components/CreditCardForm/getThirdStepData.d.ts +0 -3
- package/mobile/dist/components/CreditCardForm/getThirdStepData.js.map +0 -1
- package/mobile/dist/components/CreditForm/getCreditFormTaskData.d.ts +0 -11
- package/mobile/dist/components/CreditForm/getCreditFormTaskData.js.map +0 -1
- package/mobile/dist/components/CreditForm/getFifthStepData.d.ts +0 -3
- package/mobile/dist/components/CreditForm/getFifthStepData.js.map +0 -1
- package/mobile/dist/components/CreditForm/getFirstStepData.d.ts +0 -3
- package/mobile/dist/components/CreditForm/getFirstStepData.js +0 -35
- package/mobile/dist/components/CreditForm/getFirstStepData.js.map +0 -1
- package/mobile/dist/components/CreditForm/getFourthStepData.d.ts +0 -3
- package/mobile/dist/components/CreditForm/getFourthStepData.js +0 -13
- package/mobile/dist/components/CreditForm/getFourthStepData.js.map +0 -1
- package/mobile/dist/components/CreditForm/getSecondStepData.d.ts +0 -3
- package/mobile/dist/components/CreditForm/getSecondStepData.js +0 -30
- package/mobile/dist/components/CreditForm/getSecondStepData.js.map +0 -1
- package/mobile/dist/components/CreditForm/getThirdStepData.d.ts +0 -3
- package/mobile/dist/components/CreditForm/getThirdStepData.js +0 -28
- package/mobile/dist/components/CreditForm/getThirdStepData.js.map +0 -1
- package/mobile/dist/components/CreditForm/getZeroStepData.d.ts +0 -3
- package/mobile/dist/components/CreditForm/getZeroStepData.js.map +0 -1
- package/mobile/lib/components/CreditCardForm/getCardData.d.ts +0 -3
- package/mobile/lib/components/CreditCardForm/getCardData.js.map +0 -1
- package/mobile/lib/components/CreditCardForm/getFifthStepData.d.ts +0 -3
- package/mobile/lib/components/CreditCardForm/getFifthStepData.js.map +0 -1
- package/mobile/lib/components/CreditCardForm/getFourthStepData.d.ts +0 -3
- package/mobile/lib/components/CreditCardForm/getFourthStepData.js.map +0 -1
- package/mobile/lib/components/CreditCardForm/getSecondStepData.d.ts +0 -3
- package/mobile/lib/components/CreditCardForm/getSecondStepData.js.map +0 -1
- package/mobile/lib/components/CreditCardForm/getSixthStepData.d.ts +0 -24
- package/mobile/lib/components/CreditCardForm/getSixthStepData.js.map +0 -1
- package/mobile/lib/components/CreditCardForm/getThirdStepData.d.ts +0 -3
- package/mobile/lib/components/CreditCardForm/getThirdStepData.js.map +0 -1
- package/mobile/lib/components/CreditForm/getCreditFormTaskData.d.ts +0 -11
- package/mobile/lib/components/CreditForm/getCreditFormTaskData.js.map +0 -1
- package/mobile/lib/components/CreditForm/getFifthStepData.d.ts +0 -3
- package/mobile/lib/components/CreditForm/getFifthStepData.js.map +0 -1
- package/mobile/lib/components/CreditForm/getFirstStepData.d.ts +0 -3
- package/mobile/lib/components/CreditForm/getFirstStepData.js +0 -32
- package/mobile/lib/components/CreditForm/getFirstStepData.js.map +0 -1
- package/mobile/lib/components/CreditForm/getFourthStepData.d.ts +0 -3
- package/mobile/lib/components/CreditForm/getFourthStepData.js +0 -10
- package/mobile/lib/components/CreditForm/getFourthStepData.js.map +0 -1
- package/mobile/lib/components/CreditForm/getSecondStepData.d.ts +0 -3
- package/mobile/lib/components/CreditForm/getSecondStepData.js +0 -27
- package/mobile/lib/components/CreditForm/getSecondStepData.js.map +0 -1
- package/mobile/lib/components/CreditForm/getThirdStepData.d.ts +0 -3
- package/mobile/lib/components/CreditForm/getThirdStepData.js.map +0 -1
- package/mobile/lib/components/CreditForm/getZeroStepData.d.ts +0 -3
- package/mobile/lib/components/CreditForm/getZeroStepData.js.map +0 -1
- package/mobile/src/components/CreditCardForm/getCardData.tsx +0 -13
- package/mobile/src/components/CreditCardForm/getFifthStepData.ts +0 -13
- package/mobile/src/components/CreditCardForm/getThirdStepData.tsx +0 -47
- package/mobile/src/components/CreditForm/getFifthStepData.ts +0 -10
- package/mobile/src/components/CreditForm/getFirstStepData.tsx +0 -54
- package/mobile/src/components/CreditForm/getFourthStepData.ts +0 -13
- package/mobile/src/components/CreditForm/getThirdStepData.ts +0 -45
- package/src/components/CreditCardForm/getCardData.tsx +0 -13
- package/src/components/CreditCardForm/getFifthStepData.ts +0 -13
- package/src/components/CreditCardForm/getThirdStepData.tsx +0 -47
- package/src/components/CreditForm/getFifthStepData.ts +0 -10
- package/src/components/CreditForm/getFirstStepData.tsx +0 -54
- package/src/components/CreditForm/getFourthStepData.ts +0 -13
- package/src/components/CreditForm/getThirdStepData.ts +0 -45
|
@@ -6963,7 +6963,17 @@
|
|
|
6963
6963
|
return (jsxs("div", { className: "flex justify-between gap-m", children: [jsx(Button, { onClick: onPrevStep, type: "button", version: "secondary", disabled: isFirstStep, children: "\u041D\u0430\u0437\u0430\u0434" }), jsx(Button, { type: "submit", children: isFinalStep ? 'Отправить заявку' : 'Далее' })] }));
|
|
6964
6964
|
});
|
|
6965
6965
|
|
|
6966
|
-
const
|
|
6966
|
+
const getAdditionalInfoData = (formData) => {
|
|
6967
|
+
const { bankruptcyFlg, shareholderFlg, legalEntityName, creditInRshbCd } = formData;
|
|
6968
|
+
return {
|
|
6969
|
+
bankruptcyFlg,
|
|
6970
|
+
shareholderFlg,
|
|
6971
|
+
nameLegalEntity: legalEntityName,
|
|
6972
|
+
creditInRshbCd,
|
|
6973
|
+
};
|
|
6974
|
+
};
|
|
6975
|
+
|
|
6976
|
+
const getCardOptionsData = (formData) => {
|
|
6967
6977
|
const { currency, paymentSystem, cardCategory, codeWord } = formData;
|
|
6968
6978
|
return {
|
|
6969
6979
|
currencyCode: currency ? { key: currency } : undefined,
|
|
@@ -6973,17 +6983,31 @@
|
|
|
6973
6983
|
};
|
|
6974
6984
|
};
|
|
6975
6985
|
|
|
6976
|
-
const
|
|
6977
|
-
const {
|
|
6986
|
+
const getEmploymentData = (formData) => {
|
|
6987
|
+
const { beginDate, employment, organizationName, inn, legalForm, organization, amountWorkers, employerActivities, employerOrganization, generalSeniority, lastJobExperience, experience5Years, jobsNumber, organizationPhone, organizationAddress, positionOrganization, } = formData;
|
|
6978
6988
|
return {
|
|
6979
|
-
|
|
6980
|
-
|
|
6981
|
-
|
|
6982
|
-
|
|
6989
|
+
employmentContractDate: formatDate(beginDate || '', true),
|
|
6990
|
+
employmentTypeCd: employment,
|
|
6991
|
+
organizationName,
|
|
6992
|
+
organizationInn: inn,
|
|
6993
|
+
organizationActivityTypeCd: employerActivities,
|
|
6994
|
+
organizationTypeCd: organization,
|
|
6995
|
+
organizationKindCd: employerOrganization,
|
|
6996
|
+
employeesNumberCd: amountWorkers,
|
|
6997
|
+
opf: legalForm,
|
|
6998
|
+
seniority: generalSeniority,
|
|
6999
|
+
generalSeniority: experience5Years,
|
|
7000
|
+
jobsNumber,
|
|
7001
|
+
lastWorkDuration: lastJobExperience,
|
|
7002
|
+
positionCd: positionOrganization,
|
|
7003
|
+
participantContacts: getParticipantContacts({
|
|
7004
|
+
organizationPhone: organizationPhone && formatPhone(organizationPhone),
|
|
7005
|
+
}),
|
|
7006
|
+
participantAddresses: getParticipantAddresses({ organizationAddress }),
|
|
6983
7007
|
};
|
|
6984
7008
|
};
|
|
6985
7009
|
|
|
6986
|
-
const
|
|
7010
|
+
const getFamilyStatusAndIncomeData = (formData) => {
|
|
6987
7011
|
const { familyStatus, dependents, familyMembers, children, confirmationIncome, wages, mandatoryPayments, incomeAverage, additionalIncome, otherIncome, otherPayments, rentalIncome, retirementIncome, snils, armyIdFlg, conscription, } = formData;
|
|
6988
7012
|
return {
|
|
6989
7013
|
maritalStatusCd: familyStatus,
|
|
@@ -7007,7 +7031,7 @@
|
|
|
7007
7031
|
};
|
|
7008
7032
|
};
|
|
7009
7033
|
|
|
7010
|
-
const
|
|
7034
|
+
const getPersonalInfoData = (formData) => {
|
|
7011
7035
|
const { name, surname, middleName, limitedBirthday = '', phone = '', email, sex, birthPlace, dulIssueDateField = '', dulIssuedBy, dulNumber, dulSerie, dulSubdivisionCode, education, participantDateRegistration = '', housing, addressRegistration, addressFact, } = formData;
|
|
7012
7036
|
return {
|
|
7013
7037
|
birthDate: formatDate(limitedBirthday, true),
|
|
@@ -7063,7 +7087,7 @@
|
|
|
7063
7087
|
}
|
|
7064
7088
|
: {};
|
|
7065
7089
|
};
|
|
7066
|
-
const
|
|
7090
|
+
const getDeliveryCreditCardData = (formData) => {
|
|
7067
7091
|
const { addressCourier, methodObtain } = formData;
|
|
7068
7092
|
const isCourierDelivery = methodObtain === 'courier';
|
|
7069
7093
|
return isCourierDelivery
|
|
@@ -7073,30 +7097,6 @@
|
|
|
7073
7097
|
: {};
|
|
7074
7098
|
};
|
|
7075
7099
|
|
|
7076
|
-
const getThirdStepData$1 = (formData) => {
|
|
7077
|
-
const { beginDate, employment, organizationName, inn, legalForm, organization, amountWorkers, employerActivities, employerOrganization, generalSeniority, lastJobExperience, experience5Years, jobsNumber, organizationPhone, organizationAddress, positionOrganization, } = formData;
|
|
7078
|
-
return {
|
|
7079
|
-
employmentContractDate: formatDate(beginDate || '', true),
|
|
7080
|
-
employmentTypeCd: employment,
|
|
7081
|
-
organizationName,
|
|
7082
|
-
organizationInn: inn,
|
|
7083
|
-
organizationActivityTypeCd: employerActivities,
|
|
7084
|
-
organizationTypeCd: organization,
|
|
7085
|
-
organizationKindCd: employerOrganization,
|
|
7086
|
-
employeesNumberCd: amountWorkers,
|
|
7087
|
-
opf: legalForm,
|
|
7088
|
-
seniority: generalSeniority,
|
|
7089
|
-
generalSeniority: experience5Years,
|
|
7090
|
-
jobsNumber,
|
|
7091
|
-
lastWorkDuration: lastJobExperience,
|
|
7092
|
-
positionCd: positionOrganization,
|
|
7093
|
-
participantContacts: getParticipantContacts({
|
|
7094
|
-
organizationPhone: organizationPhone && formatPhone(organizationPhone),
|
|
7095
|
-
}),
|
|
7096
|
-
participantAddresses: getParticipantAddresses({ organizationAddress }),
|
|
7097
|
-
};
|
|
7098
|
-
};
|
|
7099
|
-
|
|
7100
7100
|
const getCreditCardFormTaskData = ({ participantId, taskId, profileId, formData, step = 0, }) => {
|
|
7101
7101
|
const navigator = locationNavigator();
|
|
7102
7102
|
return {
|
|
@@ -7120,7 +7120,7 @@
|
|
|
7120
7120
|
...getCurrentStepData$1(step, formData),
|
|
7121
7121
|
},
|
|
7122
7122
|
],
|
|
7123
|
-
...
|
|
7123
|
+
...getCardOptionsData(formData),
|
|
7124
7124
|
...getDeliveryData(formData),
|
|
7125
7125
|
},
|
|
7126
7126
|
};
|
|
@@ -7130,15 +7130,15 @@
|
|
|
7130
7130
|
case 0:
|
|
7131
7131
|
return {};
|
|
7132
7132
|
case 1:
|
|
7133
|
-
return
|
|
7133
|
+
return getPersonalInfoData(formData);
|
|
7134
7134
|
case 2:
|
|
7135
|
-
return
|
|
7135
|
+
return getEmploymentData(formData);
|
|
7136
7136
|
case 3:
|
|
7137
|
-
return
|
|
7137
|
+
return getFamilyStatusAndIncomeData(formData);
|
|
7138
7138
|
case 4:
|
|
7139
|
-
return
|
|
7139
|
+
return getAdditionalInfoData(formData);
|
|
7140
7140
|
case 5:
|
|
7141
|
-
return
|
|
7141
|
+
return getDeliveryCreditCardData(formData);
|
|
7142
7142
|
default:
|
|
7143
7143
|
return {};
|
|
7144
7144
|
}
|
|
@@ -7312,353 +7312,397 @@
|
|
|
7312
7312
|
return isFormFinished ? (jsx(CreditCardFormStatusTracker, {})) : (jsxs("form", { onSubmit: handleSubmit, className: "space-y-m", children: [renderStep$1({ sections, field, step }), jsx(StepsNavigationButtons$1, { step: step, onPrevStep: onPrevStep })] }));
|
|
7313
7313
|
});
|
|
7314
7314
|
|
|
7315
|
-
|
|
7316
|
-
|
|
7317
|
-
|
|
7318
|
-
|
|
7319
|
-
|
|
7320
|
-
|
|
7321
|
-
|
|
7322
|
-
|
|
7323
|
-
|
|
7324
|
-
|
|
7325
|
-
|
|
7326
|
-
|
|
7327
|
-
|
|
7328
|
-
|
|
7329
|
-
|
|
7330
|
-
|
|
7331
|
-
|
|
7332
|
-
|
|
7333
|
-
|
|
7334
|
-
|
|
7335
|
-
|
|
7336
|
-
|
|
7337
|
-
|
|
7338
|
-
|
|
7339
|
-
|
|
7340
|
-
|
|
7341
|
-
|
|
7342
|
-
|
|
7343
|
-
|
|
7344
|
-
|
|
7345
|
-
|
|
7346
|
-
|
|
7347
|
-
|
|
7348
|
-
|
|
7349
|
-
|
|
7350
|
-
|
|
7351
|
-
|
|
7352
|
-
|
|
7353
|
-
|
|
7354
|
-
|
|
7355
|
-
|
|
7356
|
-
|
|
7357
|
-
|
|
7358
|
-
|
|
7359
|
-
|
|
7360
|
-
|
|
7361
|
-
|
|
7362
|
-
|
|
7363
|
-
|
|
7364
|
-
|
|
7365
|
-
|
|
7366
|
-
|
|
7367
|
-
|
|
7368
|
-
|
|
7369
|
-
|
|
7370
|
-
|
|
7371
|
-
|
|
7372
|
-
|
|
7373
|
-
|
|
7374
|
-
|
|
7375
|
-
|
|
7376
|
-
|
|
7377
|
-
|
|
7378
|
-
|
|
7379
|
-
|
|
7380
|
-
|
|
7381
|
-
|
|
7382
|
-
|
|
7383
|
-
|
|
7384
|
-
|
|
7385
|
-
|
|
7386
|
-
|
|
7387
|
-
|
|
7388
|
-
|
|
7389
|
-
|
|
7390
|
-
|
|
7391
|
-
|
|
7392
|
-
|
|
7393
|
-
|
|
7394
|
-
|
|
7395
|
-
|
|
7396
|
-
|
|
7397
|
-
|
|
7398
|
-
|
|
7399
|
-
|
|
7400
|
-
|
|
7401
|
-
|
|
7402
|
-
|
|
7403
|
-
|
|
7404
|
-
|
|
7405
|
-
|
|
7406
|
-
|
|
7407
|
-
|
|
7408
|
-
|
|
7409
|
-
|
|
7410
|
-
|
|
7411
|
-
|
|
7412
|
-
|
|
7413
|
-
|
|
7414
|
-
|
|
7415
|
-
|
|
7416
|
-
|
|
7417
|
-
|
|
7418
|
-
|
|
7419
|
-
|
|
7420
|
-
|
|
7421
|
-
|
|
7422
|
-
|
|
7423
|
-
|
|
7424
|
-
|
|
7425
|
-
|
|
7426
|
-
|
|
7427
|
-
|
|
7428
|
-
|
|
7429
|
-
|
|
7430
|
-
|
|
7431
|
-
|
|
7432
|
-
|
|
7433
|
-
|
|
7434
|
-
|
|
7435
|
-
|
|
7436
|
-
|
|
7437
|
-
|
|
7438
|
-
|
|
7439
|
-
|
|
7440
|
-
|
|
7441
|
-
|
|
7442
|
-
|
|
7443
|
-
|
|
7444
|
-
|
|
7445
|
-
|
|
7446
|
-
|
|
7447
|
-
|
|
7448
|
-
|
|
7449
|
-
|
|
7450
|
-
|
|
7451
|
-
|
|
7452
|
-
|
|
7453
|
-
|
|
7454
|
-
|
|
7455
|
-
|
|
7456
|
-
|
|
7457
|
-
|
|
7458
|
-
|
|
7459
|
-
|
|
7460
|
-
|
|
7461
|
-
|
|
7462
|
-
|
|
7463
|
-
|
|
7464
|
-
|
|
7465
|
-
|
|
7466
|
-
|
|
7467
|
-
|
|
7468
|
-
|
|
7469
|
-
|
|
7470
|
-
|
|
7471
|
-
|
|
7472
|
-
|
|
7473
|
-
|
|
7474
|
-
|
|
7475
|
-
|
|
7476
|
-
|
|
7477
|
-
|
|
7478
|
-
|
|
7479
|
-
|
|
7480
|
-
|
|
7481
|
-
|
|
7482
|
-
|
|
7483
|
-
|
|
7484
|
-
|
|
7485
|
-
|
|
7486
|
-
|
|
7487
|
-
|
|
7488
|
-
|
|
7489
|
-
|
|
7490
|
-
|
|
7491
|
-
|
|
7492
|
-
|
|
7493
|
-
|
|
7494
|
-
|
|
7495
|
-
|
|
7496
|
-
|
|
7497
|
-
|
|
7498
|
-
|
|
7499
|
-
|
|
7500
|
-
|
|
7501
|
-
|
|
7502
|
-
|
|
7503
|
-
|
|
7504
|
-
|
|
7505
|
-
|
|
7506
|
-
|
|
7507
|
-
|
|
7508
|
-
|
|
7509
|
-
|
|
7510
|
-
|
|
7511
|
-
|
|
7512
|
-
|
|
7513
|
-
|
|
7514
|
-
|
|
7515
|
-
|
|
7516
|
-
|
|
7517
|
-
|
|
7518
|
-
|
|
7519
|
-
|
|
7520
|
-
|
|
7521
|
-
|
|
7522
|
-
|
|
7523
|
-
|
|
7524
|
-
|
|
7525
|
-
|
|
7526
|
-
|
|
7527
|
-
|
|
7528
|
-
|
|
7529
|
-
|
|
7530
|
-
|
|
7531
|
-
|
|
7532
|
-
|
|
7533
|
-
|
|
7534
|
-
|
|
7535
|
-
|
|
7536
|
-
|
|
7537
|
-
|
|
7538
|
-
{
|
|
7539
|
-
|
|
7540
|
-
|
|
7541
|
-
},
|
|
7542
|
-
|
|
7543
|
-
|
|
7544
|
-
|
|
7545
|
-
|
|
7546
|
-
|
|
7547
|
-
|
|
7548
|
-
|
|
7549
|
-
|
|
7550
|
-
|
|
7551
|
-
|
|
7552
|
-
|
|
7553
|
-
|
|
7554
|
-
|
|
7555
|
-
|
|
7556
|
-
|
|
7557
|
-
|
|
7558
|
-
|
|
7559
|
-
|
|
7560
|
-
|
|
7561
|
-
|
|
7562
|
-
|
|
7563
|
-
|
|
7564
|
-
|
|
7565
|
-
|
|
7566
|
-
|
|
7567
|
-
|
|
7568
|
-
|
|
7569
|
-
},
|
|
7570
|
-
|
|
7571
|
-
|
|
7572
|
-
|
|
7573
|
-
|
|
7574
|
-
|
|
7575
|
-
|
|
7576
|
-
|
|
7577
|
-
|
|
7578
|
-
|
|
7579
|
-
|
|
7580
|
-
|
|
7581
|
-
|
|
7582
|
-
|
|
7583
|
-
|
|
7584
|
-
|
|
7585
|
-
|
|
7586
|
-
|
|
7587
|
-
|
|
7588
|
-
|
|
7589
|
-
|
|
7590
|
-
|
|
7591
|
-
|
|
7592
|
-
|
|
7593
|
-
|
|
7594
|
-
|
|
7595
|
-
|
|
7596
|
-
|
|
7597
|
-
|
|
7598
|
-
|
|
7599
|
-
|
|
7600
|
-
|
|
7601
|
-
|
|
7602
|
-
|
|
7603
|
-
|
|
7604
|
-
|
|
7605
|
-
|
|
7606
|
-
|
|
7607
|
-
|
|
7315
|
+
const PERSONAL_INFO_CONTENT = [
|
|
7316
|
+
{
|
|
7317
|
+
title: 'Персональные данные',
|
|
7318
|
+
columns: 2,
|
|
7319
|
+
inputs: [
|
|
7320
|
+
{
|
|
7321
|
+
fieldType: 'common',
|
|
7322
|
+
name: 'surname',
|
|
7323
|
+
required: true,
|
|
7324
|
+
dadata: true,
|
|
7325
|
+
filledByEsia: true,
|
|
7326
|
+
},
|
|
7327
|
+
{ fieldType: 'common', name: 'name', required: true, dadata: true, filledByEsia: true },
|
|
7328
|
+
{ fieldType: 'common', name: 'middleName', dadata: true, filledByEsia: true },
|
|
7329
|
+
{ fieldType: 'common', name: 'sex', required: true },
|
|
7330
|
+
{ fieldType: 'common', name: 'limitedBirthday', required: true, filledByEsia: true },
|
|
7331
|
+
{ fieldType: 'common', name: 'birthPlace', required: true, filledByEsia: true },
|
|
7332
|
+
{ fieldType: 'common', name: 'phone', required: true, filledByEsia: true },
|
|
7333
|
+
{ fieldType: 'common', name: 'email', required: true, dadata: true },
|
|
7334
|
+
],
|
|
7335
|
+
},
|
|
7336
|
+
{
|
|
7337
|
+
title: 'Паспортные данные',
|
|
7338
|
+
columns: 2,
|
|
7339
|
+
inputs: [
|
|
7340
|
+
{ fieldType: 'common', name: 'dulSerie', required: true, filledByEsia: true },
|
|
7341
|
+
{ fieldType: 'common', name: 'dulNumber', required: true, filledByEsia: true },
|
|
7342
|
+
{ fieldType: 'common', name: 'dulIssueDateField', required: true, filledByEsia: true },
|
|
7343
|
+
{
|
|
7344
|
+
fieldType: 'common',
|
|
7345
|
+
name: 'dulSubdivisionCode',
|
|
7346
|
+
required: true,
|
|
7347
|
+
dadata: true,
|
|
7348
|
+
filledByEsia: true,
|
|
7349
|
+
},
|
|
7350
|
+
],
|
|
7351
|
+
},
|
|
7352
|
+
{
|
|
7353
|
+
inputs: [
|
|
7354
|
+
{
|
|
7355
|
+
fieldType: 'common',
|
|
7356
|
+
name: 'dulIssuedBy',
|
|
7357
|
+
required: true,
|
|
7358
|
+
dadata: true,
|
|
7359
|
+
filledByEsia: true,
|
|
7360
|
+
},
|
|
7361
|
+
{
|
|
7362
|
+
fieldType: 'common',
|
|
7363
|
+
name: 'education',
|
|
7364
|
+
required: true,
|
|
7365
|
+
},
|
|
7366
|
+
],
|
|
7367
|
+
},
|
|
7368
|
+
{
|
|
7369
|
+
title: 'Адрес регистрации по месту жительства',
|
|
7370
|
+
columns: 1,
|
|
7371
|
+
inputs: [],
|
|
7372
|
+
},
|
|
7373
|
+
{
|
|
7374
|
+
inputs: [
|
|
7375
|
+
{
|
|
7376
|
+
fieldType: 'common',
|
|
7377
|
+
name: 'addressRegistration',
|
|
7378
|
+
required: true,
|
|
7379
|
+
dadata: true,
|
|
7380
|
+
filledByEsia: true,
|
|
7381
|
+
},
|
|
7382
|
+
{ fieldType: 'common', name: 'addressMatch' },
|
|
7383
|
+
],
|
|
7384
|
+
},
|
|
7385
|
+
{
|
|
7386
|
+
columns: 2,
|
|
7387
|
+
inputs: [{ fieldType: 'common', name: 'participantDateRegistration', required: true }],
|
|
7388
|
+
},
|
|
7389
|
+
{
|
|
7390
|
+
title: 'Адрес фактического проживания (место пребывания РФ)',
|
|
7391
|
+
inputs: [],
|
|
7392
|
+
},
|
|
7393
|
+
{
|
|
7394
|
+
columns: 2,
|
|
7395
|
+
inputs: [{ fieldType: 'common', name: 'housing', required: true }],
|
|
7396
|
+
},
|
|
7397
|
+
{
|
|
7398
|
+
inputs: [{ fieldType: 'common', name: 'addressFact', required: true, dadata: true }],
|
|
7399
|
+
},
|
|
7400
|
+
];
|
|
7401
|
+
const EMPLOYMENT_CONTENT = [
|
|
7402
|
+
{
|
|
7403
|
+
title: 'Данные о трудоустройстве',
|
|
7404
|
+
inputs: [],
|
|
7405
|
+
},
|
|
7406
|
+
{
|
|
7407
|
+
inputs: [
|
|
7408
|
+
{
|
|
7409
|
+
fieldType: 'info',
|
|
7410
|
+
text: 'Клиент на момент оформления заявки на кредит должен быть: официально трудоустроен более 6 месяцев, ' +
|
|
7411
|
+
'если Клиент получает з/п на счет РСХБ, то трудоустроен более 3 месяцев, не должен находиться в декретном отпуске',
|
|
7412
|
+
},
|
|
7413
|
+
],
|
|
7414
|
+
},
|
|
7415
|
+
{
|
|
7416
|
+
inputs: [
|
|
7417
|
+
{ fieldType: 'common', name: 'employment', required: true },
|
|
7418
|
+
{ fieldType: 'common', name: 'organizationName', required: true, dadata: true },
|
|
7419
|
+
],
|
|
7420
|
+
},
|
|
7421
|
+
{
|
|
7422
|
+
columns: 2,
|
|
7423
|
+
inputs: [
|
|
7424
|
+
{ fieldType: 'common', name: 'inn', required: true, dadata: true },
|
|
7425
|
+
{ fieldType: 'common', name: 'legalForm', required: true },
|
|
7426
|
+
],
|
|
7427
|
+
},
|
|
7428
|
+
{
|
|
7429
|
+
inputs: [
|
|
7430
|
+
{ fieldType: 'common', name: 'organization', required: true },
|
|
7431
|
+
{ fieldType: 'common', name: 'amountWorkers', required: true },
|
|
7432
|
+
],
|
|
7433
|
+
},
|
|
7434
|
+
{
|
|
7435
|
+
columns: 2,
|
|
7436
|
+
inputs: [
|
|
7437
|
+
{ fieldType: 'common', name: 'employerActivities', required: true },
|
|
7438
|
+
{ fieldType: 'common', name: 'employerOrganization', required: true },
|
|
7439
|
+
{ fieldType: 'common', name: 'generalSeniority', required: true },
|
|
7440
|
+
{ fieldType: 'common', name: 'lastJobExperience', required: true },
|
|
7441
|
+
{ fieldType: 'common', name: 'experience5Years', required: true },
|
|
7442
|
+
{ fieldType: 'common', name: 'jobsNumber', required: true },
|
|
7443
|
+
],
|
|
7444
|
+
},
|
|
7445
|
+
{
|
|
7446
|
+
inputs: [
|
|
7447
|
+
{
|
|
7448
|
+
fieldType: 'common',
|
|
7449
|
+
name: 'organizationPhone',
|
|
7450
|
+
label: 'Телефон работодателя',
|
|
7451
|
+
required: true,
|
|
7452
|
+
},
|
|
7453
|
+
{ fieldType: 'common', name: 'beginDate', required: true },
|
|
7454
|
+
],
|
|
7455
|
+
},
|
|
7456
|
+
{
|
|
7457
|
+
columns: 2,
|
|
7458
|
+
inputs: [
|
|
7459
|
+
{ fieldType: 'common', name: 'positionOrganization', required: true },
|
|
7460
|
+
{
|
|
7461
|
+
fieldType: 'common',
|
|
7462
|
+
name: 'partInBusiness',
|
|
7463
|
+
required: true,
|
|
7464
|
+
condition: { name: 'positionOrganization', values: ['BUSINESS_OWNER'] },
|
|
7465
|
+
},
|
|
7466
|
+
],
|
|
7467
|
+
},
|
|
7468
|
+
{
|
|
7469
|
+
title: 'Адрес работодателя',
|
|
7470
|
+
inputs: [],
|
|
7471
|
+
},
|
|
7472
|
+
{
|
|
7473
|
+
inputs: [{ fieldType: 'common', name: 'organizationAddress', required: true, dadata: true }],
|
|
7474
|
+
},
|
|
7475
|
+
];
|
|
7476
|
+
const FAMILY_STATUS_AND_INCOME_CONTENT = [
|
|
7477
|
+
{
|
|
7478
|
+
title: 'Семейное положение',
|
|
7479
|
+
},
|
|
7480
|
+
{
|
|
7481
|
+
columns: 1,
|
|
7482
|
+
inputs: [{ fieldType: 'common', name: 'familyStatus', required: true }],
|
|
7483
|
+
},
|
|
7484
|
+
{
|
|
7485
|
+
columns: 1,
|
|
7486
|
+
inputs: [{ fieldType: 'common', name: 'dependents', required: true }],
|
|
7487
|
+
},
|
|
7488
|
+
{
|
|
7489
|
+
columns: 2,
|
|
7490
|
+
inputs: [
|
|
7491
|
+
{ fieldType: 'common', name: 'familyMembers' },
|
|
7492
|
+
{ fieldType: 'common', name: 'children', required: true },
|
|
7493
|
+
],
|
|
7494
|
+
},
|
|
7495
|
+
{
|
|
7496
|
+
title: 'Совокупный доход',
|
|
7497
|
+
},
|
|
7498
|
+
{
|
|
7499
|
+
inputs: [
|
|
7500
|
+
{
|
|
7501
|
+
fieldType: 'info',
|
|
7502
|
+
text: 'Сумма основного и дополнительных доходов после вычета налога',
|
|
7503
|
+
},
|
|
7504
|
+
],
|
|
7505
|
+
},
|
|
7506
|
+
{
|
|
7507
|
+
columns: 1,
|
|
7508
|
+
inputs: [{ fieldType: 'common', name: 'confirmationIncome', required: true }],
|
|
7509
|
+
},
|
|
7510
|
+
{
|
|
7511
|
+
columns: 1,
|
|
7512
|
+
inputs: [{ fieldType: 'common', name: 'wages', required: true }],
|
|
7513
|
+
},
|
|
7514
|
+
{
|
|
7515
|
+
columns: 1,
|
|
7516
|
+
inputs: [{ fieldType: 'common', name: 'mandatoryPayments', required: true }],
|
|
7517
|
+
},
|
|
7518
|
+
{
|
|
7519
|
+
columns: 1,
|
|
7520
|
+
inputs: [{ fieldType: 'common', name: 'snils', required: true }],
|
|
7521
|
+
},
|
|
7522
|
+
{
|
|
7523
|
+
columns: 1,
|
|
7524
|
+
inputs: [{ fieldType: 'common', name: 'conscription', required: true }],
|
|
7525
|
+
},
|
|
7526
|
+
{
|
|
7527
|
+
columns: 2,
|
|
7528
|
+
inputs: [{ fieldType: 'common', name: 'armyIdFlg' }],
|
|
7529
|
+
},
|
|
7530
|
+
];
|
|
7531
|
+
const ADDITIONAL_CONTENT = [
|
|
7532
|
+
{
|
|
7533
|
+
title: 'Дополнительные сведения',
|
|
7534
|
+
columns: 1,
|
|
7535
|
+
inputs: [],
|
|
7536
|
+
},
|
|
7537
|
+
{
|
|
7538
|
+
inputs: [{ fieldType: 'common', name: 'disablePeopleFlg' }],
|
|
7539
|
+
},
|
|
7540
|
+
{
|
|
7541
|
+
inputs: [{ fieldType: 'common', name: 'bankruptcyFlg' }],
|
|
7542
|
+
},
|
|
7543
|
+
{
|
|
7544
|
+
inputs: [{ fieldType: 'common', name: 'shareholderFlg' }],
|
|
7545
|
+
},
|
|
7546
|
+
{
|
|
7547
|
+
inputs: [{ fieldType: 'common', name: 'legalEntityName' }],
|
|
7548
|
+
},
|
|
7549
|
+
{
|
|
7550
|
+
inputs: [{ fieldType: 'common', name: 'creditInRshbCd' }],
|
|
7551
|
+
},
|
|
7552
|
+
];
|
|
7553
|
+
const COMMON_RETAIL_CONTENT = [
|
|
7554
|
+
PERSONAL_INFO_CONTENT,
|
|
7555
|
+
EMPLOYMENT_CONTENT,
|
|
7556
|
+
FAMILY_STATUS_AND_INCOME_CONTENT,
|
|
7557
|
+
ADDITIONAL_CONTENT,
|
|
7558
|
+
];
|
|
7559
|
+
const DELIVERY_CREDIT_CONTENT = [
|
|
7560
|
+
{
|
|
7561
|
+
title: 'Отделение Банка',
|
|
7562
|
+
columns: 1,
|
|
7563
|
+
inputs: [],
|
|
7564
|
+
},
|
|
7565
|
+
{
|
|
7566
|
+
inputs: [{ fieldType: 'common', name: 'regionRetail', required: true }],
|
|
7567
|
+
},
|
|
7568
|
+
{
|
|
7569
|
+
inputs: [{ fieldType: 'common', name: 'addressRetail', required: true }],
|
|
7570
|
+
},
|
|
7571
|
+
{
|
|
7572
|
+
title: 'Код представителя Банка',
|
|
7573
|
+
columns: 1,
|
|
7574
|
+
inputs: [],
|
|
7575
|
+
},
|
|
7576
|
+
{
|
|
7577
|
+
inputs: [
|
|
7578
|
+
{
|
|
7579
|
+
fieldType: 'info',
|
|
7580
|
+
text: 'Если представитель Банка помогал Вам в заведении заявки, введите здесь его код',
|
|
7581
|
+
},
|
|
7582
|
+
],
|
|
7583
|
+
},
|
|
7584
|
+
{
|
|
7585
|
+
inputs: [{ fieldType: 'common', name: 'bankEmployeeCode' }],
|
|
7586
|
+
},
|
|
7587
|
+
];
|
|
7588
|
+
const DELIVERY_CREDIT_CARD_CONTENT = [
|
|
7589
|
+
{
|
|
7590
|
+
title: 'Способ получения',
|
|
7591
|
+
columns: 1,
|
|
7592
|
+
inputs: [],
|
|
7593
|
+
},
|
|
7594
|
+
{
|
|
7595
|
+
inputs: [{ fieldType: 'common', name: 'methodObtain' }],
|
|
7596
|
+
},
|
|
7597
|
+
{
|
|
7598
|
+
title: 'Адрес',
|
|
7599
|
+
columns: 1,
|
|
7600
|
+
inputs: [],
|
|
7601
|
+
},
|
|
7602
|
+
{
|
|
7603
|
+
inputs: [
|
|
7604
|
+
{
|
|
7605
|
+
fieldType: 'common',
|
|
7606
|
+
name: 'addressCourier',
|
|
7607
|
+
dadata: true,
|
|
7608
|
+
condition: {
|
|
7609
|
+
name: 'methodObtain',
|
|
7610
|
+
values: ['courier'],
|
|
7608
7611
|
},
|
|
7609
|
-
|
|
7610
|
-
|
|
7611
|
-
|
|
7612
|
-
|
|
7613
|
-
|
|
7614
|
-
|
|
7615
|
-
|
|
7612
|
+
required: true,
|
|
7613
|
+
},
|
|
7614
|
+
{
|
|
7615
|
+
fieldType: 'common',
|
|
7616
|
+
name: 'deliveryDate',
|
|
7617
|
+
condition: {
|
|
7618
|
+
name: 'methodObtain',
|
|
7619
|
+
values: ['courier'],
|
|
7616
7620
|
},
|
|
7617
|
-
|
|
7618
|
-
|
|
7619
|
-
|
|
7620
|
-
|
|
7621
|
-
|
|
7622
|
-
|
|
7623
|
-
name: '
|
|
7624
|
-
|
|
7625
|
-
condition: {
|
|
7626
|
-
name: 'methodObtain',
|
|
7627
|
-
values: ['office'],
|
|
7628
|
-
},
|
|
7621
|
+
required: true,
|
|
7622
|
+
},
|
|
7623
|
+
{
|
|
7624
|
+
fieldType: 'common',
|
|
7625
|
+
name: 'comment',
|
|
7626
|
+
condition: {
|
|
7627
|
+
name: 'methodObtain',
|
|
7628
|
+
values: ['courier'],
|
|
7629
7629
|
},
|
|
7630
|
-
|
|
7631
|
-
|
|
7632
|
-
|
|
7633
|
-
|
|
7634
|
-
|
|
7635
|
-
|
|
7636
|
-
|
|
7637
|
-
|
|
7630
|
+
},
|
|
7631
|
+
],
|
|
7632
|
+
},
|
|
7633
|
+
{
|
|
7634
|
+
inputs: [
|
|
7635
|
+
{
|
|
7636
|
+
fieldType: 'common',
|
|
7637
|
+
name: 'regionRetail',
|
|
7638
|
+
required: true,
|
|
7639
|
+
condition: {
|
|
7640
|
+
name: 'methodObtain',
|
|
7641
|
+
values: ['office'],
|
|
7638
7642
|
},
|
|
7639
|
-
|
|
7640
|
-
|
|
7641
|
-
|
|
7642
|
-
|
|
7643
|
-
|
|
7644
|
-
|
|
7645
|
-
|
|
7646
|
-
|
|
7647
|
-
name: 'methodObtain',
|
|
7648
|
-
values: ['office'],
|
|
7649
|
-
},
|
|
7643
|
+
},
|
|
7644
|
+
{
|
|
7645
|
+
fieldType: 'common',
|
|
7646
|
+
name: 'addressRetail',
|
|
7647
|
+
required: true,
|
|
7648
|
+
condition: {
|
|
7649
|
+
name: 'methodObtain',
|
|
7650
|
+
values: ['office'],
|
|
7650
7651
|
},
|
|
7651
|
-
|
|
7652
|
-
|
|
7653
|
-
|
|
7654
|
-
|
|
7655
|
-
|
|
7656
|
-
|
|
7657
|
-
|
|
7652
|
+
},
|
|
7653
|
+
],
|
|
7654
|
+
},
|
|
7655
|
+
{
|
|
7656
|
+
inputs: [
|
|
7657
|
+
{
|
|
7658
|
+
fieldType: 'info',
|
|
7659
|
+
text: 'Если представитель Банка помогал Вам в заведении заявки, введите здесь его код',
|
|
7660
|
+
condition: {
|
|
7661
|
+
name: 'methodObtain',
|
|
7662
|
+
values: ['office'],
|
|
7658
7663
|
},
|
|
7659
|
-
|
|
7660
|
-
|
|
7661
|
-
|
|
7664
|
+
},
|
|
7665
|
+
{
|
|
7666
|
+
fieldType: 'common',
|
|
7667
|
+
name: 'bankEmployeeCode',
|
|
7668
|
+
condition: {
|
|
7669
|
+
name: 'methodObtain',
|
|
7670
|
+
values: ['office'],
|
|
7671
|
+
},
|
|
7672
|
+
},
|
|
7673
|
+
],
|
|
7674
|
+
},
|
|
7675
|
+
];
|
|
7676
|
+
const CREDIT_CARD_CONTENT = [
|
|
7677
|
+
{
|
|
7678
|
+
title: 'Параметры карты',
|
|
7679
|
+
inputs: [],
|
|
7680
|
+
},
|
|
7681
|
+
{
|
|
7682
|
+
inputs: [
|
|
7683
|
+
{ fieldType: 'common', name: 'currency', required: true },
|
|
7684
|
+
{ fieldType: 'common', name: 'paymentSystem', required: true },
|
|
7685
|
+
{ fieldType: 'common', name: 'cardCategory', required: true },
|
|
7686
|
+
{ fieldType: 'common', name: 'codeWord', required: true },
|
|
7687
|
+
],
|
|
7688
|
+
},
|
|
7689
|
+
];
|
|
7690
|
+
const CALCULATOR_CONTENT = [
|
|
7691
|
+
{
|
|
7692
|
+
columns: 1,
|
|
7693
|
+
inputs: [
|
|
7694
|
+
{
|
|
7695
|
+
fieldType: 'common',
|
|
7696
|
+
name: 'calculator',
|
|
7697
|
+
},
|
|
7698
|
+
],
|
|
7699
|
+
},
|
|
7700
|
+
];
|
|
7701
|
+
|
|
7702
|
+
const stepsSectionsMap$1 = [
|
|
7703
|
+
CREDIT_CARD_CONTENT,
|
|
7704
|
+
...COMMON_RETAIL_CONTENT,
|
|
7705
|
+
DELIVERY_CREDIT_CARD_CONTENT,
|
|
7662
7706
|
];
|
|
7663
7707
|
|
|
7664
7708
|
const STEPS$1 = 6;
|
|
@@ -7879,105 +7923,18 @@
|
|
|
7879
7923
|
};
|
|
7880
7924
|
};
|
|
7881
7925
|
|
|
7882
|
-
const
|
|
7883
|
-
const {
|
|
7884
|
-
return {
|
|
7885
|
-
office: addressRetail?.key ? { id: addressRetail.key } : undefined,
|
|
7886
|
-
};
|
|
7887
|
-
};
|
|
7888
|
-
|
|
7889
|
-
const getFirstStepData = (formData) => {
|
|
7890
|
-
const { name, surname, middleName, limitedBirthday = '', phone = '', email, sex, birthPlace, dulIssueDateField = '', dulIssuedBy, dulNumber, dulSerie, dulSubdivisionCode, education, participantDateRegistration = '', housing, addressRegistration, addressFact, } = formData;
|
|
7891
|
-
return {
|
|
7892
|
-
birthDate: formatDate(limitedBirthday, true),
|
|
7893
|
-
midname: middleName,
|
|
7894
|
-
name,
|
|
7895
|
-
surname,
|
|
7896
|
-
birthPlace,
|
|
7897
|
-
dulIssueDate: formatDate(dulIssueDateField, true),
|
|
7898
|
-
dulIssuedBy,
|
|
7899
|
-
dulNumber,
|
|
7900
|
-
dulSerie,
|
|
7901
|
-
dulSubdivisionCode,
|
|
7902
|
-
educationLevelCd: education,
|
|
7903
|
-
registrationDate: formatDate(participantDateRegistration, true),
|
|
7904
|
-
houseTypeCd: housing,
|
|
7905
|
-
participantContacts: getParticipantContacts({
|
|
7906
|
-
phone: formatPhone(phone),
|
|
7907
|
-
email,
|
|
7908
|
-
}),
|
|
7909
|
-
participantAddresses: getParticipantAddresses({ addressRegistration, addressFact }),
|
|
7910
|
-
genderCd: sex
|
|
7911
|
-
? {
|
|
7912
|
-
key: sex === 'male' ? 'MAN' : 'WOMAN',
|
|
7913
|
-
}
|
|
7914
|
-
: undefined,
|
|
7915
|
-
};
|
|
7916
|
-
};
|
|
7917
|
-
|
|
7918
|
-
const getFourthStepData = (formData) => {
|
|
7919
|
-
const { bankruptcyFlg, shareholderFlg, legalEntityName, creditInRshbCd } = formData;
|
|
7920
|
-
return {
|
|
7921
|
-
bankruptcyFlg,
|
|
7922
|
-
shareholderFlg,
|
|
7923
|
-
nameLegalEntity: legalEntityName,
|
|
7924
|
-
creditInRshbCd,
|
|
7925
|
-
};
|
|
7926
|
-
};
|
|
7927
|
-
|
|
7928
|
-
const getSecondStepData = (formData) => {
|
|
7929
|
-
const { beginDate, employment, organizationName, inn, legalForm, organization, amountWorkers, employerActivities, employerOrganization, generalSeniority, lastJobExperience, experience5Years, jobsNumber, organizationPhone, organizationAddress, positionOrganization, } = formData;
|
|
7930
|
-
return {
|
|
7931
|
-
employmentContractDate: formatDate(beginDate || '', true),
|
|
7932
|
-
employmentTypeCd: employment,
|
|
7933
|
-
organizationName,
|
|
7934
|
-
organizationInn: inn,
|
|
7935
|
-
organizationActivityTypeCd: employerActivities,
|
|
7936
|
-
organizationTypeCd: organization,
|
|
7937
|
-
organizationKindCd: employerOrganization,
|
|
7938
|
-
employeesNumberCd: amountWorkers,
|
|
7939
|
-
opf: legalForm,
|
|
7940
|
-
seniority: generalSeniority,
|
|
7941
|
-
generalSeniority: experience5Years,
|
|
7942
|
-
jobsNumber,
|
|
7943
|
-
lastWorkDuration: lastJobExperience,
|
|
7944
|
-
positionCd: positionOrganization,
|
|
7945
|
-
participantContacts: getParticipantContacts({
|
|
7946
|
-
organizationPhone: organizationPhone && formatPhone(organizationPhone),
|
|
7947
|
-
}),
|
|
7948
|
-
participantAddresses: getParticipantAddresses({ organizationAddress }),
|
|
7949
|
-
};
|
|
7950
|
-
};
|
|
7951
|
-
|
|
7952
|
-
const getThirdStepData = (formData) => {
|
|
7953
|
-
const { familyStatus, dependents, familyMembers, children, confirmationIncome, wages, mandatoryPayments, incomeAverage, additionalIncome, otherIncome, otherPayments, rentalIncome, retirementIncome, snils, armyIdFlg, conscription, } = formData;
|
|
7926
|
+
const getCalculatorData = (formData) => {
|
|
7927
|
+
const { isInsurance, isSalaryClient } = formData?.calculator ?? {};
|
|
7954
7928
|
return {
|
|
7955
|
-
|
|
7956
|
-
|
|
7957
|
-
incomeCertificateCd: confirmationIncome,
|
|
7958
|
-
otherDependents: dependents,
|
|
7959
|
-
childrenDependents: children,
|
|
7960
|
-
militaryStatusCd: conscription,
|
|
7961
|
-
participantIncomes: getParticipantIncomes({
|
|
7962
|
-
wages,
|
|
7963
|
-
mandatoryPayments,
|
|
7964
|
-
incomeAverage,
|
|
7965
|
-
additionalIncome,
|
|
7966
|
-
otherIncome,
|
|
7967
|
-
otherPayments,
|
|
7968
|
-
rentalIncome,
|
|
7969
|
-
retirementIncome,
|
|
7970
|
-
}),
|
|
7971
|
-
snils: snils?.replaceAll(' ', '').replaceAll('-', ''),
|
|
7972
|
-
armyIdFlg,
|
|
7929
|
+
payrollCardRshbFlg: isInsurance,
|
|
7930
|
+
consentInsuranceFlg: isSalaryClient,
|
|
7973
7931
|
};
|
|
7974
7932
|
};
|
|
7975
7933
|
|
|
7976
|
-
const
|
|
7977
|
-
const {
|
|
7934
|
+
const getDeliveryCreditData = (formData) => {
|
|
7935
|
+
const { addressRetail } = formData;
|
|
7978
7936
|
return {
|
|
7979
|
-
|
|
7980
|
-
consentInsuranceFlg: isSalaryClient,
|
|
7937
|
+
office: addressRetail?.key ? { id: addressRetail.key } : undefined,
|
|
7981
7938
|
};
|
|
7982
7939
|
};
|
|
7983
7940
|
|
|
@@ -8004,7 +7961,7 @@
|
|
|
8004
7961
|
},
|
|
8005
7962
|
],
|
|
8006
7963
|
...getCalcData(formData),
|
|
8007
|
-
...
|
|
7964
|
+
...getDeliveryCreditData(formData),
|
|
8008
7965
|
esiaAccountTypeCd: {
|
|
8009
7966
|
key: formData?.esiaAccountTypeCd?.key,
|
|
8010
7967
|
},
|
|
@@ -8014,15 +7971,15 @@
|
|
|
8014
7971
|
const getCurrentStepData = (step, formData) => {
|
|
8015
7972
|
switch (step) {
|
|
8016
7973
|
case 0:
|
|
8017
|
-
return
|
|
7974
|
+
return getCalculatorData(formData);
|
|
8018
7975
|
case 1:
|
|
8019
|
-
return
|
|
7976
|
+
return getPersonalInfoData(formData);
|
|
8020
7977
|
case 2:
|
|
8021
|
-
return
|
|
7978
|
+
return getEmploymentData(formData);
|
|
8022
7979
|
case 3:
|
|
8023
|
-
return
|
|
7980
|
+
return getFamilyStatusAndIncomeData(formData);
|
|
8024
7981
|
case 4:
|
|
8025
|
-
return
|
|
7982
|
+
return getAdditionalInfoData(formData);
|
|
8026
7983
|
default:
|
|
8027
7984
|
return {};
|
|
8028
7985
|
}
|
|
@@ -8193,286 +8150,10 @@
|
|
|
8193
8150
|
return isFormFinished ? (jsx(CreditFormStatusTracker, {})) : (jsxs("form", { onSubmit: handleSubmit, className: "space-y-m", children: [renderStep({ sections, field, step, params: { calcData } }), jsx(StepsNavigationButtons, { step: step, onPrevStep: onPrevStep })] }));
|
|
8194
8151
|
});
|
|
8195
8152
|
|
|
8196
|
-
/* eslint-disable max-lines */
|
|
8197
|
-
/* eslint-disable max-len */
|
|
8198
8153
|
const stepsSectionsMap = [
|
|
8199
|
-
|
|
8200
|
-
|
|
8201
|
-
|
|
8202
|
-
inputs: [
|
|
8203
|
-
{
|
|
8204
|
-
fieldType: 'common',
|
|
8205
|
-
name: 'calculator',
|
|
8206
|
-
},
|
|
8207
|
-
],
|
|
8208
|
-
},
|
|
8209
|
-
],
|
|
8210
|
-
[
|
|
8211
|
-
{
|
|
8212
|
-
title: 'Персональные данные',
|
|
8213
|
-
columns: 2,
|
|
8214
|
-
inputs: [
|
|
8215
|
-
{
|
|
8216
|
-
fieldType: 'common',
|
|
8217
|
-
name: 'surname',
|
|
8218
|
-
required: true,
|
|
8219
|
-
dadata: true,
|
|
8220
|
-
filledByEsia: true,
|
|
8221
|
-
},
|
|
8222
|
-
{ fieldType: 'common', name: 'name', required: true, dadata: true, filledByEsia: true },
|
|
8223
|
-
{ fieldType: 'common', name: 'middleName', dadata: true, filledByEsia: true },
|
|
8224
|
-
{ fieldType: 'common', name: 'sex', required: true },
|
|
8225
|
-
{ fieldType: 'common', name: 'limitedBirthday', required: true, filledByEsia: true },
|
|
8226
|
-
{ fieldType: 'common', name: 'birthPlace', required: true, filledByEsia: true },
|
|
8227
|
-
{ fieldType: 'common', name: 'phone', required: true, filledByEsia: true },
|
|
8228
|
-
{ fieldType: 'common', name: 'email', required: true, dadata: true },
|
|
8229
|
-
],
|
|
8230
|
-
},
|
|
8231
|
-
{
|
|
8232
|
-
title: 'Паспортные данные',
|
|
8233
|
-
columns: 2,
|
|
8234
|
-
inputs: [
|
|
8235
|
-
{ fieldType: 'common', name: 'dulSerie', required: true, filledByEsia: true },
|
|
8236
|
-
{ fieldType: 'common', name: 'dulNumber', required: true, filledByEsia: true },
|
|
8237
|
-
{ fieldType: 'common', name: 'dulIssueDateField', required: true, filledByEsia: true },
|
|
8238
|
-
{
|
|
8239
|
-
fieldType: 'common',
|
|
8240
|
-
name: 'dulSubdivisionCode',
|
|
8241
|
-
required: true,
|
|
8242
|
-
dadata: true,
|
|
8243
|
-
filledByEsia: true,
|
|
8244
|
-
},
|
|
8245
|
-
],
|
|
8246
|
-
},
|
|
8247
|
-
{
|
|
8248
|
-
inputs: [
|
|
8249
|
-
{
|
|
8250
|
-
fieldType: 'common',
|
|
8251
|
-
name: 'dulIssuedBy',
|
|
8252
|
-
required: true,
|
|
8253
|
-
dadata: true,
|
|
8254
|
-
filledByEsia: true,
|
|
8255
|
-
},
|
|
8256
|
-
{
|
|
8257
|
-
fieldType: 'common',
|
|
8258
|
-
name: 'education',
|
|
8259
|
-
required: true,
|
|
8260
|
-
},
|
|
8261
|
-
],
|
|
8262
|
-
},
|
|
8263
|
-
{
|
|
8264
|
-
title: 'Адрес регистрации по месту жительства',
|
|
8265
|
-
columns: 1,
|
|
8266
|
-
inputs: [],
|
|
8267
|
-
},
|
|
8268
|
-
{
|
|
8269
|
-
inputs: [
|
|
8270
|
-
{
|
|
8271
|
-
fieldType: 'common',
|
|
8272
|
-
name: 'addressRegistration',
|
|
8273
|
-
required: true,
|
|
8274
|
-
dadata: true,
|
|
8275
|
-
filledByEsia: true,
|
|
8276
|
-
},
|
|
8277
|
-
{ fieldType: 'common', name: 'addressMatch' },
|
|
8278
|
-
],
|
|
8279
|
-
},
|
|
8280
|
-
{
|
|
8281
|
-
columns: 2,
|
|
8282
|
-
inputs: [{ fieldType: 'common', name: 'participantDateRegistration', required: true }],
|
|
8283
|
-
},
|
|
8284
|
-
{
|
|
8285
|
-
title: 'Адрес фактического проживания (место пребывания РФ)',
|
|
8286
|
-
inputs: [],
|
|
8287
|
-
},
|
|
8288
|
-
{
|
|
8289
|
-
columns: 2,
|
|
8290
|
-
inputs: [{ fieldType: 'common', name: 'housing', required: true }],
|
|
8291
|
-
},
|
|
8292
|
-
{
|
|
8293
|
-
inputs: [{ fieldType: 'common', name: 'addressFact', required: true, dadata: true }],
|
|
8294
|
-
},
|
|
8295
|
-
],
|
|
8296
|
-
[
|
|
8297
|
-
{
|
|
8298
|
-
title: 'Данные о трудоустройстве',
|
|
8299
|
-
inputs: [],
|
|
8300
|
-
},
|
|
8301
|
-
{
|
|
8302
|
-
inputs: [
|
|
8303
|
-
{
|
|
8304
|
-
fieldType: 'info',
|
|
8305
|
-
text: 'Клиент на момент оформления заявки на кредит должен быть: официально трудоустроен более 6 месяцев, если Клиент получает з/п на счет РСХБ, то трудоустроен более 3 месяцев, не должен находиться в декретном отпуске',
|
|
8306
|
-
},
|
|
8307
|
-
],
|
|
8308
|
-
},
|
|
8309
|
-
{
|
|
8310
|
-
inputs: [
|
|
8311
|
-
{ fieldType: 'common', name: 'employment', required: true },
|
|
8312
|
-
{ fieldType: 'common', name: 'organizationName', required: true, dadata: true },
|
|
8313
|
-
],
|
|
8314
|
-
},
|
|
8315
|
-
{
|
|
8316
|
-
columns: 2,
|
|
8317
|
-
inputs: [
|
|
8318
|
-
{ fieldType: 'common', name: 'inn', required: true, dadata: true },
|
|
8319
|
-
{ fieldType: 'common', name: 'legalForm', required: true },
|
|
8320
|
-
],
|
|
8321
|
-
},
|
|
8322
|
-
{
|
|
8323
|
-
inputs: [
|
|
8324
|
-
{ fieldType: 'common', name: 'organization', required: true },
|
|
8325
|
-
{ fieldType: 'common', name: 'amountWorkers', required: true },
|
|
8326
|
-
],
|
|
8327
|
-
},
|
|
8328
|
-
{
|
|
8329
|
-
columns: 2,
|
|
8330
|
-
inputs: [
|
|
8331
|
-
{ fieldType: 'common', name: 'employerActivities', required: true },
|
|
8332
|
-
{ fieldType: 'common', name: 'employerOrganization', required: true },
|
|
8333
|
-
{ fieldType: 'common', name: 'generalSeniority', required: true },
|
|
8334
|
-
{ fieldType: 'common', name: 'lastJobExperience', required: true },
|
|
8335
|
-
{ fieldType: 'common', name: 'experience5Years', required: true },
|
|
8336
|
-
{ fieldType: 'common', name: 'jobsNumber', required: true },
|
|
8337
|
-
],
|
|
8338
|
-
},
|
|
8339
|
-
{
|
|
8340
|
-
inputs: [
|
|
8341
|
-
{
|
|
8342
|
-
fieldType: 'common',
|
|
8343
|
-
name: 'organizationPhone',
|
|
8344
|
-
label: 'Телефон работодателя',
|
|
8345
|
-
required: true,
|
|
8346
|
-
},
|
|
8347
|
-
{ fieldType: 'common', name: 'beginDate', required: true },
|
|
8348
|
-
],
|
|
8349
|
-
},
|
|
8350
|
-
{
|
|
8351
|
-
columns: 2,
|
|
8352
|
-
inputs: [
|
|
8353
|
-
{ fieldType: 'common', name: 'positionOrganization', required: true },
|
|
8354
|
-
{
|
|
8355
|
-
fieldType: 'common',
|
|
8356
|
-
name: 'partInBusiness',
|
|
8357
|
-
required: true,
|
|
8358
|
-
condition: { name: 'positionOrganization', values: ['BUSINESS_OWNER'] },
|
|
8359
|
-
},
|
|
8360
|
-
],
|
|
8361
|
-
},
|
|
8362
|
-
{
|
|
8363
|
-
title: 'Адрес работодателя',
|
|
8364
|
-
inputs: [],
|
|
8365
|
-
},
|
|
8366
|
-
{
|
|
8367
|
-
inputs: [{ fieldType: 'common', name: 'organizationAddress', required: true, dadata: true }],
|
|
8368
|
-
},
|
|
8369
|
-
],
|
|
8370
|
-
[
|
|
8371
|
-
{
|
|
8372
|
-
title: 'Семейное положение',
|
|
8373
|
-
},
|
|
8374
|
-
{
|
|
8375
|
-
columns: 1,
|
|
8376
|
-
inputs: [{ fieldType: 'common', name: 'familyStatus', required: true }],
|
|
8377
|
-
},
|
|
8378
|
-
{
|
|
8379
|
-
columns: 1,
|
|
8380
|
-
inputs: [{ fieldType: 'common', name: 'dependents', required: true }],
|
|
8381
|
-
},
|
|
8382
|
-
{
|
|
8383
|
-
columns: 2,
|
|
8384
|
-
inputs: [
|
|
8385
|
-
{ fieldType: 'common', name: 'familyMembers' },
|
|
8386
|
-
{ fieldType: 'common', name: 'children', required: true },
|
|
8387
|
-
],
|
|
8388
|
-
},
|
|
8389
|
-
{
|
|
8390
|
-
title: 'Совокупный доход',
|
|
8391
|
-
},
|
|
8392
|
-
{
|
|
8393
|
-
inputs: [
|
|
8394
|
-
{
|
|
8395
|
-
fieldType: 'info',
|
|
8396
|
-
text: 'Сумма основного и дополнительных доходов после вычета налога',
|
|
8397
|
-
},
|
|
8398
|
-
],
|
|
8399
|
-
},
|
|
8400
|
-
{
|
|
8401
|
-
columns: 1,
|
|
8402
|
-
inputs: [{ fieldType: 'common', name: 'confirmationIncome', required: true }],
|
|
8403
|
-
},
|
|
8404
|
-
{
|
|
8405
|
-
columns: 1,
|
|
8406
|
-
inputs: [{ fieldType: 'common', name: 'wages', required: true }],
|
|
8407
|
-
},
|
|
8408
|
-
{
|
|
8409
|
-
columns: 1,
|
|
8410
|
-
inputs: [{ fieldType: 'common', name: 'mandatoryPayments', required: true }],
|
|
8411
|
-
},
|
|
8412
|
-
{
|
|
8413
|
-
columns: 1,
|
|
8414
|
-
inputs: [{ fieldType: 'common', name: 'snils', required: true }],
|
|
8415
|
-
},
|
|
8416
|
-
{
|
|
8417
|
-
columns: 1,
|
|
8418
|
-
inputs: [{ fieldType: 'common', name: 'conscription', required: true }],
|
|
8419
|
-
},
|
|
8420
|
-
{
|
|
8421
|
-
columns: 2,
|
|
8422
|
-
inputs: [{ fieldType: 'common', name: 'armyIdFlg' }],
|
|
8423
|
-
},
|
|
8424
|
-
],
|
|
8425
|
-
[
|
|
8426
|
-
{
|
|
8427
|
-
title: 'Дополнительные сведения',
|
|
8428
|
-
columns: 1,
|
|
8429
|
-
inputs: [],
|
|
8430
|
-
},
|
|
8431
|
-
{
|
|
8432
|
-
inputs: [{ fieldType: 'common', name: 'disablePeopleFlg' }],
|
|
8433
|
-
},
|
|
8434
|
-
{
|
|
8435
|
-
inputs: [{ fieldType: 'common', name: 'bankruptcyFlg' }],
|
|
8436
|
-
},
|
|
8437
|
-
{
|
|
8438
|
-
inputs: [{ fieldType: 'common', name: 'shareholderFlg' }],
|
|
8439
|
-
},
|
|
8440
|
-
{
|
|
8441
|
-
inputs: [{ fieldType: 'common', name: 'legalEntityName' }],
|
|
8442
|
-
},
|
|
8443
|
-
{
|
|
8444
|
-
inputs: [{ fieldType: 'common', name: 'creditInRshbCd' }],
|
|
8445
|
-
},
|
|
8446
|
-
],
|
|
8447
|
-
[
|
|
8448
|
-
{
|
|
8449
|
-
title: 'Отделение Банка',
|
|
8450
|
-
columns: 1,
|
|
8451
|
-
inputs: [],
|
|
8452
|
-
},
|
|
8453
|
-
{
|
|
8454
|
-
inputs: [{ fieldType: 'common', name: 'regionRetail', required: true }],
|
|
8455
|
-
},
|
|
8456
|
-
{
|
|
8457
|
-
inputs: [{ fieldType: 'common', name: 'addressRetail', required: true }],
|
|
8458
|
-
},
|
|
8459
|
-
{
|
|
8460
|
-
title: 'Код представителя Банка',
|
|
8461
|
-
columns: 1,
|
|
8462
|
-
inputs: [],
|
|
8463
|
-
},
|
|
8464
|
-
{
|
|
8465
|
-
inputs: [
|
|
8466
|
-
{
|
|
8467
|
-
fieldType: 'info',
|
|
8468
|
-
text: 'Если представитель Банка помогал Вам в заведении заявки, введите здесь его код',
|
|
8469
|
-
},
|
|
8470
|
-
],
|
|
8471
|
-
},
|
|
8472
|
-
{
|
|
8473
|
-
inputs: [{ fieldType: 'common', name: 'bankEmployeeCode' }],
|
|
8474
|
-
},
|
|
8475
|
-
],
|
|
8154
|
+
CALCULATOR_CONTENT,
|
|
8155
|
+
...COMMON_RETAIL_CONTENT,
|
|
8156
|
+
DELIVERY_CREDIT_CONTENT,
|
|
8476
8157
|
];
|
|
8477
8158
|
|
|
8478
8159
|
const STEPS = 5;
|
|
@@ -10409,7 +10090,7 @@
|
|
|
10409
10090
|
slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
|
|
10410
10091
|
});
|
|
10411
10092
|
|
|
10412
|
-
const packageVersion = "0.14.
|
|
10093
|
+
const packageVersion = "0.14.710";
|
|
10413
10094
|
|
|
10414
10095
|
exports.Blocks = Blocks;
|
|
10415
10096
|
exports.ContentPage = ContentPage;
|