@redneckz/wildless-cms-uni-blocks 0.14.897 → 0.14.898
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 +9 -14
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/retail/components/DraftDialog/utils.d.ts +0 -6
- package/dist/components/ApplicationLeadForm/useInitApplicationLead.js +3 -2
- package/dist/components/ApplicationLeadForm/useInitApplicationLead.js.map +1 -1
- package/dist/retail/api/esiaRequestProfile.js +4 -2
- package/dist/retail/api/esiaRequestProfile.js.map +1 -1
- package/dist/retail/components/DraftDialog/parseDraftTask.js +1 -3
- package/dist/retail/components/DraftDialog/parseDraftTask.js.map +1 -1
- package/dist/retail/components/DraftDialog/utils.d.ts +0 -6
- package/dist/retail/components/DraftDialog/utils.js +1 -7
- package/dist/retail/components/DraftDialog/utils.js.map +1 -1
- package/lib/components/ApplicationLeadForm/useInitApplicationLead.js +3 -2
- package/lib/components/ApplicationLeadForm/useInitApplicationLead.js.map +1 -1
- package/lib/retail/api/esiaRequestProfile.js +4 -2
- package/lib/retail/api/esiaRequestProfile.js.map +1 -1
- package/lib/retail/components/DraftDialog/parseDraftTask.js +2 -4
- package/lib/retail/components/DraftDialog/parseDraftTask.js.map +1 -1
- package/lib/retail/components/DraftDialog/utils.d.ts +0 -6
- package/lib/retail/components/DraftDialog/utils.js +0 -6
- package/lib/retail/components/DraftDialog/utils.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +9 -14
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/retail/components/DraftDialog/utils.d.ts +0 -6
- package/mobile/dist/components/ApplicationLeadForm/useInitApplicationLead.js +3 -2
- package/mobile/dist/components/ApplicationLeadForm/useInitApplicationLead.js.map +1 -1
- package/mobile/dist/retail/api/esiaRequestProfile.js +4 -2
- package/mobile/dist/retail/api/esiaRequestProfile.js.map +1 -1
- package/mobile/dist/retail/components/DraftDialog/parseDraftTask.js +1 -3
- package/mobile/dist/retail/components/DraftDialog/parseDraftTask.js.map +1 -1
- package/mobile/dist/retail/components/DraftDialog/utils.d.ts +0 -6
- package/mobile/dist/retail/components/DraftDialog/utils.js +1 -7
- package/mobile/dist/retail/components/DraftDialog/utils.js.map +1 -1
- package/mobile/lib/components/ApplicationLeadForm/useInitApplicationLead.js +3 -2
- package/mobile/lib/components/ApplicationLeadForm/useInitApplicationLead.js.map +1 -1
- package/mobile/lib/retail/api/esiaRequestProfile.js +4 -2
- package/mobile/lib/retail/api/esiaRequestProfile.js.map +1 -1
- package/mobile/lib/retail/components/DraftDialog/parseDraftTask.js +2 -4
- package/mobile/lib/retail/components/DraftDialog/parseDraftTask.js.map +1 -1
- package/mobile/lib/retail/components/DraftDialog/utils.d.ts +0 -6
- package/mobile/lib/retail/components/DraftDialog/utils.js +0 -6
- package/mobile/lib/retail/components/DraftDialog/utils.js.map +1 -1
- package/mobile/src/components/ApplicationLeadForm/useInitApplicationLead.ts +3 -2
- package/mobile/src/retail/api/esiaRequestProfile.ts +4 -2
- package/mobile/src/retail/components/DraftDialog/parseDraftTask.ts +0 -5
- package/mobile/src/retail/components/DraftDialog/utils.ts +0 -7
- package/package.json +1 -1
- package/src/components/ApplicationLeadForm/useInitApplicationLead.ts +3 -2
- package/src/retail/api/esiaRequestProfile.ts +4 -2
- package/src/retail/components/DraftDialog/parseDraftTask.ts +0 -5
- package/src/retail/components/DraftDialog/utils.ts +0 -7
package/bundle/bundle.umd.js
CHANGED
|
@@ -5851,12 +5851,6 @@
|
|
|
5851
5851
|
WORK: 'Работаю',
|
|
5852
5852
|
RETIREE: 'Пенсионер',
|
|
5853
5853
|
};
|
|
5854
|
-
const INCOME_CERTIFICATE = {
|
|
5855
|
-
BANK_STATEMENT: 'Получаю зарплату на счет/карту в РСХБ',
|
|
5856
|
-
BANK_STATEMENT_PENS: 'Получаю пенсию на счет/карту в РСХБ',
|
|
5857
|
-
PFR_CERTIFICATE: 'Получаю зарплату на счет/карту в другом банке',
|
|
5858
|
-
OTHER: 'Другое',
|
|
5859
|
-
};
|
|
5860
5854
|
const getParticipantIncomes = (participantIncomes) => {
|
|
5861
5855
|
const wages = participantIncomes?.find((contact) => contact.incomeTypeCd.key === "WAGES" /* EIncomesType.WAGES */)?.value;
|
|
5862
5856
|
const mandatoryPayments = participantIncomes?.find((contact) => contact.incomeTypeCd.key === "MANDATORY_PAYMENTS" /* EIncomesType.MANDATORY_PAYMENTS */)?.value;
|
|
@@ -5938,7 +5932,7 @@
|
|
|
5938
5932
|
const participant = task.participants[0];
|
|
5939
5933
|
const { classCard: cardCategory, codeWord, paymentSystemTypeCd: paymentSystem, currencyCode: currency, } = task;
|
|
5940
5934
|
const { loanAmount: moneyValue, creditPeriod: monthsValue, paymentTypeCd } = task;
|
|
5941
|
-
const { birthDate: limitedBirthday, midname: middleName, name, surname, birthPlace, dulIssueDate: dulIssueDate, dulIssuedBy, dulNumber, dulSerie, dulSubdivisionCode, educationLevelCd: education, registrationDate: participantDateRegistration, houseTypeCd: housing, genderCd, participantContacts = [], participantAddresses = [], employmentContractDate: beginDate, employmentTypeCd: employment, organizationName, organizationInn: inn, organizationActivityTypeCd: employerActivities, organizationTypeCd: organization, organizationKindCd: employerOrganization, employeesNumberCd: amountWorkers, opf: legalForm, seniority: generalSeniority, generalSeniority: experience5Years, jobsNumber, lastWorkDuration: lastJobExperience, positionCd: positionOrganization, maritalStatusCd: familyStatus, childrenDependents: children, totalDependents: familyMembers, otherDependents: dependents, militaryStatusCd: conscription, participantIncomes, snils, armyIdFlg, bankruptcyFlg, shareholderFlg, nameLegalEntity: legalEntityName, creditInRshbCd, payrollCardRshbFlg: isInsurance, consentInsuranceFlg: isSalaryClient,
|
|
5935
|
+
const { birthDate: limitedBirthday, midname: middleName, name, surname, birthPlace, dulIssueDate: dulIssueDate, dulIssuedBy, dulNumber, dulSerie, dulSubdivisionCode, educationLevelCd: education, registrationDate: participantDateRegistration, houseTypeCd: housing, genderCd, participantContacts = [], participantAddresses = [], employmentContractDate: beginDate, employmentTypeCd: employment, organizationName, organizationInn: inn, organizationActivityTypeCd: employerActivities, organizationTypeCd: organization, organizationKindCd: employerOrganization, employeesNumberCd: amountWorkers, opf: legalForm, seniority: generalSeniority, generalSeniority: experience5Years, jobsNumber, lastWorkDuration: lastJobExperience, positionCd: positionOrganization, maritalStatusCd: familyStatus, childrenDependents: children, totalDependents: familyMembers, otherDependents: dependents, militaryStatusCd: conscription, participantIncomes, snils, armyIdFlg, bankruptcyFlg, shareholderFlg, nameLegalEntity: legalEntityName, creditInRshbCd, payrollCardRshbFlg: isInsurance, consentInsuranceFlg: isSalaryClient, } = participant;
|
|
5942
5936
|
return {
|
|
5943
5937
|
currency: currency?.key,
|
|
5944
5938
|
paymentSystem: getSelectValue(paymentSystem),
|
|
@@ -5976,7 +5970,6 @@
|
|
|
5976
5970
|
familyMembers: familyMembers?.toString(),
|
|
5977
5971
|
dependents: dependents?.toString(),
|
|
5978
5972
|
conscription: getSelectValue(conscription),
|
|
5979
|
-
confirmationIncome: getSelectValue(incomeCertificateCd, INCOME_CERTIFICATE),
|
|
5980
5973
|
snils,
|
|
5981
5974
|
armyIdFlg,
|
|
5982
5975
|
bankruptcyFlg,
|
|
@@ -5990,7 +5983,6 @@
|
|
|
5990
5983
|
monthsValue,
|
|
5991
5984
|
isAnnuity: paymentTypeCd?.key === 'ANNUITY',
|
|
5992
5985
|
},
|
|
5993
|
-
esiaAccountTypeCd: profile?.esiaAccountTypeCd,
|
|
5994
5986
|
...getParticipantIncomes(participantIncomes),
|
|
5995
5987
|
...getParticipantAddresses(participantAddresses),
|
|
5996
5988
|
...getParticipantContacts(participantContacts),
|
|
@@ -6381,8 +6373,10 @@
|
|
|
6381
6373
|
};
|
|
6382
6374
|
|
|
6383
6375
|
const esiaRequestProfile = (body) => fetchRetailJSON('/esia/requestProfile', 'POST', body).then((res) => {
|
|
6384
|
-
|
|
6385
|
-
|
|
6376
|
+
if (res?.access_token && res?.refresh_token) {
|
|
6377
|
+
saveToken(res);
|
|
6378
|
+
updateRefreshToken(true);
|
|
6379
|
+
}
|
|
6386
6380
|
return res;
|
|
6387
6381
|
});
|
|
6388
6382
|
|
|
@@ -6642,8 +6636,9 @@
|
|
|
6642
6636
|
const referalData = sessionStore.referalData;
|
|
6643
6637
|
const marketingInfoFromStorage = sessionStore.marketingInfo;
|
|
6644
6638
|
const queryStorage = new URLSearchParams(decodeURIComponent(queryFromStorage || ''));
|
|
6645
|
-
const
|
|
6646
|
-
const
|
|
6639
|
+
const params = new URLSearchParams(decodeURIComponent(globalThis.location?.search));
|
|
6640
|
+
const code = params.get('code');
|
|
6641
|
+
const state = params.get('state');
|
|
6647
6642
|
const referalCode = code ? referalData?.referalCode : queryStorage.get('referalCode');
|
|
6648
6643
|
const refererCode = code ? referalData?.refererCode : queryStorage.get('refererCode');
|
|
6649
6644
|
const productId = code ? referalData?.productId : queryStorage.get('productId');
|
|
@@ -11698,7 +11693,7 @@
|
|
|
11698
11693
|
slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
|
|
11699
11694
|
});
|
|
11700
11695
|
|
|
11701
|
-
const packageVersion = "0.14.
|
|
11696
|
+
const packageVersion = "0.14.897";
|
|
11702
11697
|
|
|
11703
11698
|
exports.Blocks = Blocks;
|
|
11704
11699
|
exports.ContentPage = ContentPage;
|