@redneckz/wildless-cms-uni-blocks 0.14.940 → 0.14.943
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/api/getSubmitBody.d.ts +96 -96
- package/bundle/bundle.umd.js +5 -3
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/api/getSubmitBody.d.ts +96 -96
- package/dist/api/getSubmitBody.js +3 -1
- package/dist/api/getSubmitBody.js.map +1 -1
- package/dist/components/ApplicationForm/getFormatData.js +1 -1
- package/dist/components/ApplicationForm/getFormatData.js.map +1 -1
- package/lib/api/getSubmitBody.d.ts +96 -96
- package/lib/api/getSubmitBody.js +3 -1
- package/lib/api/getSubmitBody.js.map +1 -1
- package/lib/components/ApplicationForm/getFormatData.js +1 -1
- package/lib/components/ApplicationForm/getFormatData.js.map +1 -1
- package/mobile/bundle/api/getSubmitBody.d.ts +96 -96
- package/mobile/bundle/bundle.umd.js +5 -3
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/api/getSubmitBody.d.ts +96 -96
- package/mobile/dist/api/getSubmitBody.js +3 -1
- package/mobile/dist/api/getSubmitBody.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/getFormatData.js +1 -1
- package/mobile/dist/components/ApplicationForm/getFormatData.js.map +1 -1
- package/mobile/lib/api/getSubmitBody.d.ts +96 -96
- package/mobile/lib/api/getSubmitBody.js +3 -1
- package/mobile/lib/api/getSubmitBody.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/getFormatData.js +1 -1
- package/mobile/lib/components/ApplicationForm/getFormatData.js.map +1 -1
- package/mobile/src/api/getSubmitBody.ts +4 -0
- package/mobile/src/components/ApplicationForm/getFormatData.tsx +0 -1
- package/package.json +1 -1
- package/src/api/getSubmitBody.ts +4 -0
- package/src/components/ApplicationForm/ApplicationForm.tsx +2 -0
- package/src/components/ApplicationForm/getFormatData.tsx +0 -1
- package/src/components/ApplicationForm/handlers.ts +3 -1
|
@@ -1638,7 +1638,7 @@
|
|
|
1638
1638
|
|
|
1639
1639
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
1640
1640
|
const getFormatData = (data) => {
|
|
1641
|
-
const { acquiringType, onlineCheckout, posTerminal, amount, term, annualRevenue, serviceType, vedTypes, region, inn, sufferedFrom, situationDescription, applierType, isPremium, dadataPartyNameSelect,
|
|
1641
|
+
const { acquiringType, onlineCheckout, posTerminal, amount, term, annualRevenue, serviceType, vedTypes, region, inn, sufferedFrom, situationDescription, applierType, isPremium, dadataPartyNameSelect, dadataPartyInnSelect, ...usedData } = data;
|
|
1642
1642
|
const partnerComments = acquiringType || annualRevenue ? getPartnerComments(data) : null;
|
|
1643
1643
|
const formatData = {
|
|
1644
1644
|
...usedData,
|
|
@@ -1745,7 +1745,7 @@
|
|
|
1745
1745
|
const formatPhone = (phone) => phone?.replace(/[^+\d]/g, '');
|
|
1746
1746
|
|
|
1747
1747
|
const getSubmitBody = (body, isNaturalPerson, router) => {
|
|
1748
|
-
const { typeForm, region, phone = '', email, birthday, desiredMeetingDate, inn, fullRegion, addressBranch, secondaryPhone = '', bankEmpolee, applicationDate, partnerName, russianPhone, ...staticBody } = body;
|
|
1748
|
+
const { typeForm, region, phone = '', email, birthday, desiredMeetingDate, inn, fullRegion, addressBranch, secondaryPhone = '', bankEmpolee, applicationDate, partnerName, russianPhone, partnerSymbolCode, ...staticBody } = body;
|
|
1749
1749
|
return {
|
|
1750
1750
|
typeForm,
|
|
1751
1751
|
...getRegion(region, isNaturalPerson),
|
|
@@ -1766,6 +1766,7 @@
|
|
|
1766
1766
|
...formatPFForm(typeForm, {
|
|
1767
1767
|
fullRegion,
|
|
1768
1768
|
partnerName,
|
|
1769
|
+
partnerSymbolCode,
|
|
1769
1770
|
}),
|
|
1770
1771
|
...staticBody,
|
|
1771
1772
|
};
|
|
@@ -1790,6 +1791,7 @@
|
|
|
1790
1791
|
? {
|
|
1791
1792
|
region: data?.fullRegion,
|
|
1792
1793
|
partner: data?.partnerName,
|
|
1794
|
+
partnerId: data?.partnerSymbolCode,
|
|
1793
1795
|
}
|
|
1794
1796
|
: {};
|
|
1795
1797
|
const addPageSlug = (typeForm, router) => typeForm === 'UNIVERSAL'
|
|
@@ -12371,7 +12373,7 @@
|
|
|
12371
12373
|
slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
|
|
12372
12374
|
});
|
|
12373
12375
|
|
|
12374
|
-
const packageVersion = "0.14.
|
|
12376
|
+
const packageVersion = "0.14.940";
|
|
12375
12377
|
|
|
12376
12378
|
exports.Blocks = Blocks;
|
|
12377
12379
|
exports.ContentPage = ContentPage;
|