@redneckz/wildless-cms-uni-blocks 0.8.25 → 0.8.27
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/bin/migration-scripts/0.6.43.js +4 -1
- package/bin/migration-scripts/0.7.8.js +4 -1
- package/bin/migration-scripts/0.8.15.js +4 -1
- package/bin/migration-scripts/0.8.17.js +4 -2
- package/bundle/bundle.umd.js +7 -7
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/ui-kit/BenefitItem/BenefitItemProps.d.ts +1 -1
- package/dist/components/ApplicationForm/ApplicationFormAcquiring.js +2 -2
- package/dist/components/ApplicationForm/ApplicationFormCredit.js +2 -2
- package/dist/components/ApplicationForm/ApplicationFormWed.js +2 -2
- package/dist/ui-kit/BenefitItem/BenefitItemProps.d.ts +1 -1
- package/lib/components/ApplicationForm/ApplicationFormAcquiring.js +2 -2
- package/lib/components/ApplicationForm/ApplicationFormCredit.js +2 -2
- package/lib/components/ApplicationForm/ApplicationFormWed.js +2 -2
- package/lib/ui-kit/BenefitItem/BenefitItemProps.d.ts +1 -1
- package/mobile/bundle/bundle.umd.js +1 -1
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/ui-kit/BenefitItem/BenefitItemProps.d.ts +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js +2 -2
- package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js +2 -2
- package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js +2 -2
- package/mobile/dist/ui-kit/BenefitItem/BenefitItemProps.d.ts +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js +2 -2
- package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js +2 -2
- package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js +2 -2
- package/mobile/lib/ui-kit/BenefitItem/BenefitItemProps.d.ts +1 -1
- package/mobile/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +2 -2
- package/mobile/src/components/ApplicationForm/ApplicationFormCredit.tsx +2 -2
- package/mobile/src/components/ApplicationForm/ApplicationFormWed.tsx +2 -2
- package/mobile/src/components/PictureText/PictureText.example.json +2 -0
- package/mobile/src/components/StepsBlock/StepsBlock.example.json +4 -1
- package/mobile/src/ui-kit/BenefitItem/BenefitItemProps.ts +1 -1
- package/package.json +1 -1
- package/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +2 -2
- package/src/components/ApplicationForm/ApplicationFormCredit.tsx +2 -2
- package/src/components/ApplicationForm/ApplicationFormWed.tsx +2 -2
- package/src/components/PictureText/PictureText.example.json +2 -0
- package/src/components/StepsBlock/StepsBlock.example.json +4 -1
- package/src/ui-kit/BenefitItem/BenefitItemProps.ts +1 -1
|
@@ -24,6 +24,9 @@ function adjustProductTile(block) {
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
if (block.content?.benefits?.length) {
|
|
27
|
-
block.content.benefits = block.content.benefits.map((b) => ({
|
|
27
|
+
block.content.benefits = block.content.benefits.map((b) => ({
|
|
28
|
+
...b,
|
|
29
|
+
type: b.type ? b.type : 'default',
|
|
30
|
+
}));
|
|
28
31
|
}
|
|
29
32
|
}
|
|
@@ -24,6 +24,9 @@ function adjustPictureText(block) {
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
if (block.content?.benefits?.length) {
|
|
27
|
-
block.content.benefits = block.content.benefits.map((b) => ({
|
|
27
|
+
block.content.benefits = block.content.benefits.map((b) => ({
|
|
28
|
+
...b,
|
|
29
|
+
type: b.type ? b.type : 'default',
|
|
30
|
+
}));
|
|
28
31
|
}
|
|
29
32
|
}
|
|
@@ -24,6 +24,9 @@ function adjustStepsBlock(block) {
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
if (block.content?.steps?.length) {
|
|
27
|
-
block.content.steps = block.content.steps.map((s) => ({
|
|
27
|
+
block.content.steps = block.content.steps.map((s) => ({
|
|
28
|
+
...s,
|
|
29
|
+
type: s.type ? s.type : 'default',
|
|
30
|
+
}));
|
|
28
31
|
}
|
|
29
32
|
}
|
|
@@ -19,8 +19,10 @@ function adjustBonusBenefitsBlock(block) {
|
|
|
19
19
|
const bonusBenefits = block?.content?.bonusBenefits;
|
|
20
20
|
if (bonusBenefits) {
|
|
21
21
|
for (const benefit of bonusBenefits) {
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
if (benefit.label) {
|
|
23
|
+
renameProp(benefit, 'description', 'title');
|
|
24
|
+
renameProp(benefit, 'label', 'description');
|
|
25
|
+
}
|
|
24
26
|
}
|
|
25
27
|
}
|
|
26
28
|
}
|
package/bundle/bundle.umd.js
CHANGED
|
@@ -807,12 +807,12 @@
|
|
|
807
807
|
}, []);
|
|
808
808
|
const onSubmit = async (e) => {
|
|
809
809
|
e.preventDefault();
|
|
810
|
-
const
|
|
810
|
+
const partnerComments = `Вид эквайринга=${acquiringType}/Онлайн касса=${onlineСheckout}/POS-терминал=${posTerminal}`;
|
|
811
811
|
handleSubmit &&
|
|
812
812
|
(await handleSubmit({
|
|
813
813
|
typeForm: 'acqr',
|
|
814
814
|
region: regions.find((_) => _.code === selectedRegion)?.name || '',
|
|
815
|
-
|
|
815
|
+
partnerComments,
|
|
816
816
|
fullName,
|
|
817
817
|
inn,
|
|
818
818
|
name,
|
|
@@ -960,7 +960,7 @@
|
|
|
960
960
|
}, [formState.region, handleChange]);
|
|
961
961
|
const onSubmit = async (e) => {
|
|
962
962
|
e.preventDefault();
|
|
963
|
-
const
|
|
963
|
+
const partnerComments = `Сумма=${amount}/Срок=${term}/Выручка=${annualRevenue}`;
|
|
964
964
|
handleSubmit &&
|
|
965
965
|
(await handleSubmit({
|
|
966
966
|
typeForm: 'cred',
|
|
@@ -971,7 +971,7 @@
|
|
|
971
971
|
mail,
|
|
972
972
|
region: regions.find((_) => _.code === selectedRegion)?.name || '',
|
|
973
973
|
department: branches.find((_) => _.branchCode === department)?.address || '',
|
|
974
|
-
|
|
974
|
+
partnerComments,
|
|
975
975
|
}));
|
|
976
976
|
};
|
|
977
977
|
return (jsxs("form", { onSubmit: onSubmit, className: "container", children: [jsx(Heading, { headingType: "h6", title: "\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u043A\u0440\u0435\u0434\u0438\u0442\u0430", className: "text-center mb-4" }), renderCreditParameters({ amount, term, handleChange }), jsx(Heading, { headingType: "h6", title: "\u0414\u0430\u043D\u043D\u044B\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", className: "text-center mb-4" }), renderDataOrganization$2({ fullName, inn, name, phone, mail, annualRevenue, handleChange }), jsx(Heading, { headingType: "h6", title: "\u041E\u0444\u0438\u0441 \u0431\u0430\u043D\u043A\u0430", className: "text-center mb-4" }), renderBankOffices({
|
|
@@ -1079,7 +1079,7 @@
|
|
|
1079
1079
|
});
|
|
1080
1080
|
const onSubmit = async (e) => {
|
|
1081
1081
|
e.preventDefault();
|
|
1082
|
-
const
|
|
1082
|
+
const partnerComments = `Валютный контроль=${currencyControl}/Документарные операции=${documentaryOperations}/Конверсионные операции=${conversionOperations}/Доп инф=${text}`;
|
|
1083
1083
|
handleSubmit &&
|
|
1084
1084
|
(await handleSubmit({
|
|
1085
1085
|
typeForm: 'kved',
|
|
@@ -1087,7 +1087,7 @@
|
|
|
1087
1087
|
name,
|
|
1088
1088
|
phone,
|
|
1089
1089
|
mail,
|
|
1090
|
-
|
|
1090
|
+
partnerComments,
|
|
1091
1091
|
}));
|
|
1092
1092
|
};
|
|
1093
1093
|
return (jsxs("form", { onSubmit: onSubmit, className: "container", children: [jsx(Heading, { headingType: "h6", title: "\u0414\u0430\u043D\u043D\u044B\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", className: "text-center mb-4" }), renderDataOrganization({ fullName, name, phone, mail, handleChange }), jsx(Heading, { headingType: "h6", title: "\u0418\u043D\u0442\u0435\u0440\u0435\u0441\u0443\u044E\u0449\u0438\u0439 \u0432\u043E\u043F\u0440\u043E\u0441", className: "text-center mb-4" }), renderQuestionsInterested({
|
|
@@ -4547,7 +4547,7 @@
|
|
|
4547
4547
|
return (jsx("div", { className: "flex items-end absolute bottom-0 right-0 h-full pointer-events-none", children: jsx(LikeControl, { className: "rounded-tl-lg sticky bottom-0 pointer-events-auto" }) }));
|
|
4548
4548
|
}
|
|
4549
4549
|
|
|
4550
|
-
const packageVersion = "0.8.
|
|
4550
|
+
const packageVersion = "0.8.27";
|
|
4551
4551
|
|
|
4552
4552
|
exports.Blocks = Blocks;
|
|
4553
4553
|
exports.ContentPage = ContentPage;
|