@redneckz/wildless-cms-uni-blocks 0.14.178 → 0.14.180
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.14.180.js +22 -0
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +29 -36
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/ApplicationForm/ApplicationForm.d.ts +1 -1
- package/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +3 -2
- package/bundle/components/ApplicationForm/ApplicationFormsProps.d.ts +8 -1
- package/bundle/components/ApplicationForm/{renderAgreementWithSubmit.d.ts → renderAgreementSubmit.d.ts} +1 -1
- package/bundle/components/ApplicationFormCustom/ApplicationFormCustomContent.d.ts +2 -2
- package/bundle/components/ApplicationFormCustom/getField.d.ts +1 -1
- package/dist/components/ApplicationForm/ApplicationForm.d.ts +1 -1
- package/dist/components/ApplicationForm/ApplicationForm.js +2 -3
- package/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
- package/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormContent.d.ts +3 -2
- package/dist/components/ApplicationForm/ApplicationFormFeedback.js +2 -2
- package/dist/components/ApplicationForm/ApplicationFormFeedback.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormGrantSupport.js +2 -3
- package/dist/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormIndividuals.js +2 -2
- package/dist/components/ApplicationForm/ApplicationFormIndividuals.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormSelfCollection.js +3 -2
- package/dist/components/ApplicationForm/ApplicationFormSelfCollection.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormUltraPremium.js +2 -2
- package/dist/components/ApplicationForm/ApplicationFormUltraPremium.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormsProps.d.ts +8 -1
- package/dist/components/ApplicationForm/Footnote.js +1 -1
- package/dist/components/ApplicationForm/Footnote.js.map +1 -1
- package/dist/components/ApplicationForm/{renderAgreementWithSubmit.d.ts → renderAgreementSubmit.d.ts} +1 -1
- package/dist/components/ApplicationForm/renderAgreementSubmit.js +13 -0
- package/dist/components/ApplicationForm/renderAgreementSubmit.js.map +1 -0
- package/dist/components/ApplicationFormCustom/ApplicationFormCustom.js +4 -5
- package/dist/components/ApplicationFormCustom/ApplicationFormCustom.js.map +1 -1
- package/dist/components/ApplicationFormCustom/ApplicationFormCustomContent.d.ts +2 -2
- package/dist/components/ApplicationFormCustom/columnStyle.js +1 -1
- package/dist/components/ApplicationFormCustom/columnStyle.js.map +1 -1
- package/dist/components/ApplicationFormCustom/getField.d.ts +1 -1
- package/dist/components/ApplicationFormCustom/getField.js +9 -9
- package/dist/components/ApplicationFormCustom/getField.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/ApplicationForm/ApplicationForm.d.ts +1 -1
- package/lib/components/ApplicationForm/ApplicationForm.js +2 -3
- package/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
- package/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormContent.d.ts +3 -2
- package/lib/components/ApplicationForm/ApplicationFormFeedback.js +2 -2
- package/lib/components/ApplicationForm/ApplicationFormFeedback.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormGrantSupport.js +2 -3
- package/lib/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormIndividuals.js +2 -2
- package/lib/components/ApplicationForm/ApplicationFormIndividuals.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormSelfCollection.js +4 -3
- package/lib/components/ApplicationForm/ApplicationFormSelfCollection.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormUltraPremium.js +2 -2
- package/lib/components/ApplicationForm/ApplicationFormUltraPremium.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormsProps.d.ts +8 -1
- package/lib/components/ApplicationForm/Footnote.js +1 -1
- package/lib/components/ApplicationForm/Footnote.js.map +1 -1
- package/lib/components/ApplicationForm/{renderAgreementWithSubmit.d.ts → renderAgreementSubmit.d.ts} +1 -1
- package/lib/components/ApplicationForm/renderAgreementSubmit.js +10 -0
- package/lib/components/ApplicationForm/renderAgreementSubmit.js.map +1 -0
- package/lib/components/ApplicationFormCustom/ApplicationFormCustom.fixture.d.ts +1 -0
- package/lib/components/ApplicationFormCustom/ApplicationFormCustom.js +5 -6
- package/lib/components/ApplicationFormCustom/ApplicationFormCustom.js.map +1 -1
- package/lib/components/ApplicationFormCustom/ApplicationFormCustomContent.d.ts +2 -2
- package/lib/components/ApplicationFormCustom/columnStyle.js +1 -1
- package/lib/components/ApplicationFormCustom/columnStyle.js.map +1 -1
- package/lib/components/ApplicationFormCustom/getField.d.ts +1 -1
- package/lib/components/ApplicationFormCustom/getField.js +9 -9
- package/lib/components/ApplicationFormCustom/getField.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +29 -36
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/ApplicationForm/ApplicationForm.d.ts +1 -1
- package/mobile/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +3 -2
- package/mobile/bundle/components/ApplicationForm/ApplicationFormsProps.d.ts +8 -1
- package/mobile/{dist/components/ApplicationForm/renderAgreementWithSubmit.d.ts → bundle/components/ApplicationForm/renderAgreementSubmit.d.ts} +1 -1
- package/mobile/bundle/components/ApplicationFormCustom/ApplicationFormCustomContent.d.ts +2 -2
- package/mobile/bundle/components/ApplicationFormCustom/getField.d.ts +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationForm.d.ts +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationForm.js +2 -3
- package/mobile/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormContent.d.ts +3 -2
- package/mobile/dist/components/ApplicationForm/ApplicationFormFeedback.js +2 -2
- package/mobile/dist/components/ApplicationForm/ApplicationFormFeedback.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormGrantSupport.js +2 -3
- package/mobile/dist/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormIndividuals.js +2 -2
- package/mobile/dist/components/ApplicationForm/ApplicationFormIndividuals.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormSelfCollection.js +3 -2
- package/mobile/dist/components/ApplicationForm/ApplicationFormSelfCollection.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormUltraPremium.js +2 -2
- package/mobile/dist/components/ApplicationForm/ApplicationFormUltraPremium.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormsProps.d.ts +8 -1
- package/mobile/dist/components/ApplicationForm/Footnote.js +1 -1
- package/mobile/dist/components/ApplicationForm/Footnote.js.map +1 -1
- package/mobile/{bundle/components/ApplicationForm/renderAgreementWithSubmit.d.ts → dist/components/ApplicationForm/renderAgreementSubmit.d.ts} +1 -1
- package/mobile/dist/components/ApplicationForm/renderAgreementSubmit.js +13 -0
- package/mobile/dist/components/ApplicationForm/renderAgreementSubmit.js.map +1 -0
- package/mobile/dist/components/ApplicationFormCustom/ApplicationFormCustom.js +4 -5
- package/mobile/dist/components/ApplicationFormCustom/ApplicationFormCustom.js.map +1 -1
- package/mobile/dist/components/ApplicationFormCustom/ApplicationFormCustomContent.d.ts +2 -2
- package/mobile/dist/components/ApplicationFormCustom/columnStyle.js +1 -1
- package/mobile/dist/components/ApplicationFormCustom/columnStyle.js.map +1 -1
- package/mobile/dist/components/ApplicationFormCustom/getField.d.ts +1 -1
- package/mobile/dist/components/ApplicationFormCustom/getField.js +9 -9
- package/mobile/dist/components/ApplicationFormCustom/getField.js.map +1 -1
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationForm.d.ts +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationForm.js +2 -3
- package/mobile/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormContent.d.ts +3 -2
- package/mobile/lib/components/ApplicationForm/ApplicationFormFeedback.js +2 -2
- package/mobile/lib/components/ApplicationForm/ApplicationFormFeedback.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormGrantSupport.js +2 -3
- package/mobile/lib/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormIndividuals.js +2 -2
- package/mobile/lib/components/ApplicationForm/ApplicationFormIndividuals.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormSelfCollection.js +4 -3
- package/mobile/lib/components/ApplicationForm/ApplicationFormSelfCollection.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormUltraPremium.js +2 -2
- package/mobile/lib/components/ApplicationForm/ApplicationFormUltraPremium.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormsProps.d.ts +8 -1
- package/mobile/lib/components/ApplicationForm/Footnote.js +1 -1
- package/mobile/lib/components/ApplicationForm/Footnote.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderAgreementSubmit.d.ts +5 -0
- package/mobile/lib/components/ApplicationForm/renderAgreementSubmit.js +10 -0
- package/mobile/lib/components/ApplicationForm/renderAgreementSubmit.js.map +1 -0
- package/mobile/lib/components/ApplicationFormCustom/ApplicationFormCustom.js +5 -6
- package/mobile/lib/components/ApplicationFormCustom/ApplicationFormCustom.js.map +1 -1
- package/mobile/lib/components/ApplicationFormCustom/ApplicationFormCustomContent.d.ts +2 -2
- package/mobile/lib/components/ApplicationFormCustom/columnStyle.js +1 -1
- package/mobile/lib/components/ApplicationFormCustom/columnStyle.js.map +1 -1
- package/mobile/lib/components/ApplicationFormCustom/getField.d.ts +1 -1
- package/mobile/lib/components/ApplicationFormCustom/getField.js +9 -9
- package/mobile/lib/components/ApplicationFormCustom/getField.js.map +1 -1
- package/mobile/src/components/ApplicationForm/ApplicationForm.tsx +29 -26
- package/mobile/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +1 -1
- package/mobile/src/components/ApplicationForm/ApplicationFormContent.ts +3 -2
- package/mobile/src/components/ApplicationForm/ApplicationFormFeedback.tsx +2 -2
- package/mobile/src/components/ApplicationForm/ApplicationFormGrantSupport.tsx +2 -9
- package/mobile/src/components/ApplicationForm/ApplicationFormIndividuals.tsx +2 -2
- package/mobile/src/components/ApplicationForm/ApplicationFormSelfCollection.tsx +4 -3
- package/mobile/src/components/ApplicationForm/ApplicationFormUltraPremium.tsx +2 -2
- package/mobile/src/components/ApplicationForm/ApplicationFormsProps.ts +3 -1
- package/mobile/src/components/ApplicationForm/Footnote.tsx +1 -1
- package/mobile/src/components/ApplicationForm/{renderAgreementWithSubmit.tsx → renderAgreementSubmit.tsx} +13 -8
- package/mobile/src/components/ApplicationFormAntiFraud/ApplicationFormAntiFraud.example.json +3 -3
- package/mobile/src/components/ApplicationFormCorruption/ApplicationFormCorruption.example.json +3 -3
- package/mobile/src/components/ApplicationFormCustom/ApplicationFormCustom.example.json +2 -2
- package/mobile/src/components/ApplicationFormCustom/ApplicationFormCustom.tsx +14 -7
- package/mobile/src/components/ApplicationFormCustom/ApplicationFormCustomContent.ts +2 -2
- package/mobile/src/components/ApplicationFormCustom/columnStyle.tsx +1 -1
- package/mobile/src/components/ApplicationFormCustom/getField.tsx +5 -13
- package/package.json +1 -1
- package/src/components/ApplicationForm/ApplicationForm.fixture.mobile.tsx +4 -2
- package/src/components/ApplicationForm/ApplicationForm.fixture.tsx +4 -2
- package/src/components/ApplicationForm/ApplicationForm.tsx +29 -26
- package/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +1 -1
- package/src/components/ApplicationForm/ApplicationFormContent.ts +3 -2
- package/src/components/ApplicationForm/ApplicationFormFeedback.tsx +2 -2
- package/src/components/ApplicationForm/ApplicationFormGrantSupport.tsx +2 -9
- package/src/components/ApplicationForm/ApplicationFormIndividuals.tsx +2 -2
- package/src/components/ApplicationForm/ApplicationFormSelfCollection.tsx +4 -3
- package/src/components/ApplicationForm/ApplicationFormUltraPremium.tsx +2 -2
- package/src/components/ApplicationForm/ApplicationFormsProps.ts +3 -1
- package/src/components/ApplicationForm/Footnote.tsx +1 -1
- package/src/components/ApplicationForm/{renderAgreementWithSubmit.tsx → renderAgreementSubmit.tsx} +13 -8
- package/src/components/ApplicationFormAntiFraud/ApplicationFormAntiFraud.example.json +3 -3
- package/src/components/ApplicationFormAntiFraud/ApplicationFormAntiFraud.fixture.tsx +3 -2
- package/src/components/ApplicationFormCorruption/ApplicationFormCorruption.example.json +3 -3
- package/src/components/ApplicationFormCorruption/ApplicationFormCorruption.fixture.tsx +3 -2
- package/src/components/ApplicationFormCustom/ApplicationFormCustom.example.json +2 -2
- package/src/components/ApplicationFormCustom/ApplicationFormCustom.fixture.tsx +24 -8
- package/src/components/ApplicationFormCustom/ApplicationFormCustom.tsx +14 -7
- package/src/components/ApplicationFormCustom/ApplicationFormCustomContent.ts +2 -2
- package/src/components/ApplicationFormCustom/columnStyle.tsx +1 -1
- package/src/components/ApplicationFormCustom/getField.tsx +5 -13
- package/dist/components/ApplicationForm/renderAgreementWithSubmit.js +0 -12
- package/dist/components/ApplicationForm/renderAgreementWithSubmit.js.map +0 -1
- package/lib/components/ApplicationForm/renderAgreementWithSubmit.js +0 -9
- package/lib/components/ApplicationForm/renderAgreementWithSubmit.js.map +0 -1
- package/mobile/dist/components/ApplicationForm/renderAgreementWithSubmit.js +0 -12
- package/mobile/dist/components/ApplicationForm/renderAgreementWithSubmit.js.map +0 -1
- package/mobile/lib/components/ApplicationForm/renderAgreementWithSubmit.d.ts +0 -5
- package/mobile/lib/components/ApplicationForm/renderAgreementWithSubmit.js +0 -9
- package/mobile/lib/components/ApplicationForm/renderAgreementWithSubmit.js.map +0 -1
package/bundle/bundle.umd.js
CHANGED
|
@@ -912,7 +912,7 @@
|
|
|
912
912
|
const isValidationSuccess = (info) => !info?.length;
|
|
913
913
|
const validator$1 = (predicate) => (message) => (_) => predicate(_) ? [] : [message];
|
|
914
914
|
|
|
915
|
-
const Footnote = JSX(({ text, link }) => (jsxs(Paragraph, { size: "text-s", font: "font-light", color: "text-secondary-text", children: [jsx(Text, { children: text
|
|
915
|
+
const Footnote = JSX(({ text, link }) => (jsxs(Paragraph, { size: "text-s", font: "font-light", color: "text-secondary-text", children: [jsx(Text, { children: text }), link ? (jsx(LinkButton, { href: link.href, ariaLabel: "\u0443\u0441\u043B\u043E\u0432\u0438\u044F \u043F\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0434\u0430\u043D\u043D\u044B\u0445", target: link.target || '', className: "text-primary-main", children: jsx(Text, { children: link.text }) })) : null] })));
|
|
916
916
|
|
|
917
917
|
const formStyle$1 = 'container space-y-lg';
|
|
918
918
|
const oneColumnFormStyle = 'w-full max-w-xl space-y-s m-auto';
|
|
@@ -1257,7 +1257,7 @@
|
|
|
1257
1257
|
}, [onSubmit]);
|
|
1258
1258
|
const [, { field, ...formProps }] = useForm(initialFormState$9, { onSubmit: handleSubmit });
|
|
1259
1259
|
const isSlideCheckboxes = getSlideCheckboxes(field('acquiringType').value?.key);
|
|
1260
|
-
return (jsxs("form", { className: formStyle$1, onSubmit: formProps.onSubmit, children: [renderAcquiringRegion({ field, title: 'Вид эквайринга и регион' }), renderAcquiringDataOrganization(field, 'Данные организации'), isSlideCheckboxes ? (jsxs("div", { children: [jsx(SlideCheckbox, { text: "\u0425\u043E\u0447\u0443 \
|
|
1260
|
+
return (jsxs("form", { className: formStyle$1, onSubmit: formProps.onSubmit, children: [renderAcquiringRegion({ field, title: 'Вид эквайринга и регион' }), renderAcquiringDataOrganization(field, 'Данные организации'), isSlideCheckboxes ? (jsxs("div", { children: [jsx(SlideCheckbox, { text: "\u0425\u043E\u0447\u0443 \u043E\u043D\u043B\u0430\u0439\u043D-\u043A\u0430\u0441\u0441\u0443", ...field('onlineCheckout') }), jsx(SlideCheckbox, { text: "\u0425\u043E\u0447\u0443 \u043A\u0443\u043F\u0438\u0442\u044C POS-\u0442\u0435\u0440\u043C\u0438\u043D\u0430\u043B", ...field('posTerminal') })] })) : null, renderSubmitButton(button), jsx(Footnote, { link: link })] }));
|
|
1261
1261
|
});
|
|
1262
1262
|
const getSlideCheckboxes = (type) => type === 'all' || type === 'trade';
|
|
1263
1263
|
|
|
@@ -1285,14 +1285,14 @@
|
|
|
1285
1285
|
});
|
|
1286
1286
|
|
|
1287
1287
|
const BRANCHES_URL = '/api/v1/branches';
|
|
1288
|
-
const EMPTY_VALUE$
|
|
1288
|
+
const EMPTY_VALUE$3 = [];
|
|
1289
1289
|
function useBranches(regionCode) {
|
|
1290
1290
|
const { data } = useAsyncData(regionCode ? `${BRANCHES_URL}?regionCode=${regionCode}` : null, fetchSafeBoxes$1);
|
|
1291
|
-
return data || EMPTY_VALUE$
|
|
1291
|
+
return data || EMPTY_VALUE$3;
|
|
1292
1292
|
}
|
|
1293
1293
|
const fetchSafeBoxes$1 = async (url) => {
|
|
1294
1294
|
const result = await fetchJSON(url, { method: 'GET' });
|
|
1295
|
-
return result || EMPTY_VALUE$
|
|
1295
|
+
return result || EMPTY_VALUE$3;
|
|
1296
1296
|
};
|
|
1297
1297
|
|
|
1298
1298
|
const REGIONS_URL = '/api/v1/premiumBranchesByRegions';
|
|
@@ -1513,7 +1513,8 @@
|
|
|
1513
1513
|
});
|
|
1514
1514
|
const checkboxStyle = (value) => style('rounded border', value ? 'bg-primary-main' : '');
|
|
1515
1515
|
|
|
1516
|
-
const
|
|
1516
|
+
const agreementText = 'Нажимая кнопку, вы подтверждаете согласие с';
|
|
1517
|
+
const renderAgreementSubmit = (consentDataProcessing, link, button) => (jsxs("div", { className: "flex col-span-2 gap-m flex-col lg:flex-row w-full justify-between items-baseline", children: [consentDataProcessing ? (jsxs("div", { children: [jsxs("div", { className: "flex gap-3", children: [jsx(Checkbox, { ...consentDataProcessing }), jsx(Footnote, { link: link })] }), renderErrorText(withValidator(consentDataProcessing, checkboxValidator).error)] })) : (jsx(Footnote, { text: agreementText, link: link })), renderSubmitButton(button)] }));
|
|
1517
1518
|
|
|
1518
1519
|
const formatDate = (date, toTimeStamp = false) => {
|
|
1519
1520
|
if (typeof date === 'string') {
|
|
@@ -1699,22 +1700,14 @@
|
|
|
1699
1700
|
const isLegalEntity = getLegalEntity(field('typeForm').value?.key, field('serviceDirection').value?.key);
|
|
1700
1701
|
return (jsx("form", { className: formStyle$1, onSubmit: formProps.onSubmit, children: jsx(ApplicationFieldsetLayout, { children: jsxs("div", { className: oneColumnFormStyle, children: [jsx(SelectControl, { label: "\u0422\u0435\u043C\u0430", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0442\u0435\u043C\u0443", options: FEEDBACK_TYPES, ...withValidator(field('typeForm'), defaultValidator) }), isQualityService ? (jsx(SelectControl, { label: "\u041D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u043E\u0431\u0441\u043B\u0443\u0436\u0438\u0432\u0430\u043D\u0438\u044F", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435", options: SERVICE_DIRECTIONS, ...withValidator(field('serviceDirection'), defaultValidator) })) : null, jsx(RegionField, { field: field }), isQualityService ? (jsx(AddressBranchField, { field: field, regionKey: formState?.region?.key })) : null, renderUserData(field, true), isLegalEntity ? (jsxs("div", { children: [jsx(InputControl, { label: "\u0418\u041D\u041D", ...withValidator(field('inn'), innValidator) }), jsx(InputControl, { label: "\u041D\u0430\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", ...field('fullName') })] })) : null, jsx(SelectControl, { label: "\u0421\u043F\u043E\u0441\u043E\u0431 \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u044F \u043E\u0442\u0432\u0435\u0442\u0430", options: FEEDBACK_METHOD, ...withValidator(field('feedbackMethod'), defaultValidator) }), jsx(PhoneInputControl, { label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phone'), phoneValidator) }), isQualityService ? (jsxs("div", { children: [jsx(PhoneInputControl, { label: "\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0439 \u0442\u0435\u043B\u0435\u0444\u043E\u043D", ...(!field('secondaryPhone').value || field('secondaryPhone').value === '+7 ('
|
|
1701
1702
|
? field('secondaryPhone')
|
|
1702
|
-
: withValidator(field('secondaryPhone'), phoneValidator)) }), jsx(InputControl, { label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", ...withValidator(field('email'), defaultValidator) }), jsx(InputControl, { label: "\u0424\u0418\u041E \u0438\u043B\u0438 \u0434\u043E\u043B\u0436\u043D\u043E\u0441\u0442\u044C \u043E\u0431\u0441\u043B\u0443\u0436\u0438\u0432\u0430\u0432\u0448\u0435\u0433\u043E \u0412\u0430\u0441 \u0441\u043E\u0442\u0440\u0443\u0434\u043D\u0438\u043A\u0430 \u0411\u0430\u043D\u043A\u0430", ...field('bankEmpolee') }), 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') })] })) : (jsx(InputControl, { label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", ...withValidator(field('email'), defaultValidator) })), jsx(InputControl, { ...withValidator(field('comment'), defaultValidator), placeholder: "\u0412\u0430\u0448\u0435 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435", isTextarea: true }),
|
|
1703
|
+
: withValidator(field('secondaryPhone'), phoneValidator)) }), jsx(InputControl, { label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", ...withValidator(field('email'), defaultValidator) }), jsx(InputControl, { label: "\u0424\u0418\u041E \u0438\u043B\u0438 \u0434\u043E\u043B\u0436\u043D\u043E\u0441\u0442\u044C \u043E\u0431\u0441\u043B\u0443\u0436\u0438\u0432\u0430\u0432\u0448\u0435\u0433\u043E \u0412\u0430\u0441 \u0441\u043E\u0442\u0440\u0443\u0434\u043D\u0438\u043A\u0430 \u0411\u0430\u043D\u043A\u0430", ...field('bankEmpolee') }), 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') })] })) : (jsx(InputControl, { label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", ...withValidator(field('email'), defaultValidator) })), jsx(InputControl, { ...withValidator(field('comment'), defaultValidator), placeholder: "\u0412\u0430\u0448\u0435 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435", isTextarea: true }), renderAgreementSubmit(field('consentDataProcessing'), link, button)] }) }) }));
|
|
1703
1704
|
});
|
|
1704
1705
|
const getLegalEntity = (typeFormKey = '', serviceDirectionKey = '') => typeFormKey === 'FEEDBACK_QS' && serviceDirectionKey === 'Юридическое лицо / ИП';
|
|
1705
1706
|
|
|
1706
|
-
const EMPTY_VALUE$3 = {};
|
|
1707
|
-
const DEFAULT_PATH_DIR = '/wcms-resources';
|
|
1708
|
-
function useSWRResource(filename, options = {}) {
|
|
1709
|
-
const { fallback = EMPTY_VALUE$3, pathDir = DEFAULT_PATH_DIR } = options;
|
|
1710
|
-
const { data } = useAsyncData(filename ? `${pathDir}/${filename}.json` : null, fetchJSONUnsafe, { fallback });
|
|
1711
|
-
return data || EMPTY_VALUE$3;
|
|
1712
|
-
}
|
|
1713
|
-
|
|
1714
1707
|
const ApplicationFormGrantSupport = JSX((props) => {
|
|
1715
|
-
const { button,
|
|
1716
|
-
const { regions } = useSWRResource(sourceBookDir || 'regions-grant-support');
|
|
1708
|
+
const { button, regionSource } = props;
|
|
1717
1709
|
const [region, setRegion] = useState({ key: '' });
|
|
1710
|
+
const regions = regionSource?.regions ?? [];
|
|
1718
1711
|
const buttonStyle = getRegularButtonClasses({
|
|
1719
1712
|
className: 'text-white',
|
|
1720
1713
|
version: button?.version,
|
|
@@ -1748,7 +1741,7 @@
|
|
|
1748
1741
|
}, true);
|
|
1749
1742
|
}, [onSubmit]);
|
|
1750
1743
|
const [, { field, ...formProps }] = useForm(initialFormState$4, { onSubmit: handleSubmit });
|
|
1751
|
-
return (jsxs("form", { className: formStyle$1, onSubmit: formProps.onSubmit, children: [jsxs(ApplicationFieldsetLayout, { children: [jsxs("div", { className: formChildrenStyle, children: [jsx(InputControl, { label: "\u0424\u0430\u043C\u0438\u043B\u0438\u044F", ...withValidator(field('surname'), nameValidator) }), jsx(InputControl, { label: "\u041E\u0442\u0447\u0435\u0441\u0442\u0432\u043E (\u041E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u043E, \u043F\u0440\u0438 \u043D\u0430\u043B\u0438\u0447\u0438\u0438)", ...field('middleName') }), jsx(PhoneInputControl, { label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phone'), phoneValidator) })] }), jsxs("div", { className: formChildrenStyle, children: [jsx(InputControl, { label: "\u0418\u043C\u044F", ...withValidator(field('name'), nameValidator) }), jsx(DatePickerControl, { label: "\u0414\u0430\u0442\u0430 \u0440\u043E\u0436\u0434\u0435\u043D\u0438\u044F", ...withValidator(field('birthday'), defaultValidator) }), jsx(InputControl, { label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", ...withValidator(field('email'), defaultValidator) })] })] }),
|
|
1744
|
+
return (jsxs("form", { className: formStyle$1, onSubmit: formProps.onSubmit, children: [jsxs(ApplicationFieldsetLayout, { children: [jsxs("div", { className: formChildrenStyle, children: [jsx(InputControl, { label: "\u0424\u0430\u043C\u0438\u043B\u0438\u044F", ...withValidator(field('surname'), nameValidator) }), jsx(InputControl, { label: "\u041E\u0442\u0447\u0435\u0441\u0442\u0432\u043E (\u041E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u043E, \u043F\u0440\u0438 \u043D\u0430\u043B\u0438\u0447\u0438\u0438)", ...field('middleName') }), jsx(PhoneInputControl, { label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phone'), phoneValidator) })] }), jsxs("div", { className: formChildrenStyle, children: [jsx(InputControl, { label: "\u0418\u043C\u044F", ...withValidator(field('name'), nameValidator) }), jsx(DatePickerControl, { label: "\u0414\u0430\u0442\u0430 \u0440\u043E\u0436\u0434\u0435\u043D\u0438\u044F", ...withValidator(field('birthday'), defaultValidator) }), jsx(InputControl, { label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", ...withValidator(field('email'), defaultValidator) })] })] }), renderAgreementSubmit(field('consentDataProcessing'), link, button)] }));
|
|
1752
1745
|
});
|
|
1753
1746
|
|
|
1754
1747
|
const initialFormState$3 = {
|
|
@@ -1762,13 +1755,14 @@
|
|
|
1762
1755
|
region: defaultValidator,
|
|
1763
1756
|
fullName: defaultValidator,
|
|
1764
1757
|
phone: phoneValidator,
|
|
1758
|
+
consentDataProcessing: checkboxValidator,
|
|
1765
1759
|
});
|
|
1766
1760
|
const ApplicationFormSelfCollection = JSX(({ button, link, onSubmit }) => {
|
|
1767
1761
|
const handleSubmit = useCallback((formState) => {
|
|
1768
1762
|
isValidationSuccess(feedbackValidator(formState)) && onSubmit(formState, false);
|
|
1769
1763
|
}, [onSubmit]);
|
|
1770
1764
|
const [, { field, ...formProps }] = useForm(initialFormState$3, { onSubmit: handleSubmit });
|
|
1771
|
-
return (jsx("form", { className: formStyle$1, onSubmit: formProps.onSubmit, children: jsx(ApplicationFieldsetLayout, { children: jsxs("div", { className: oneColumnFormStyle, children: [jsx(InputControl, { label: "\u0424\u0418\u041E", ...withValidator(field('fullName'), defaultValidator) }), jsx(RegionField, { field: field }), jsx(PhoneInputControl, { label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phone'), phoneValidator) }),
|
|
1765
|
+
return (jsx("form", { className: formStyle$1, onSubmit: formProps.onSubmit, children: jsx(ApplicationFieldsetLayout, { children: jsxs("div", { className: oneColumnFormStyle, children: [jsx(InputControl, { label: "\u0424\u0418\u041E", ...withValidator(field('fullName'), defaultValidator) }), jsx(RegionField, { field: field }), jsx(PhoneInputControl, { label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phone'), phoneValidator) }), renderAgreementSubmit(field('consentDataProcessing'), link, button)] }) }) }));
|
|
1772
1766
|
});
|
|
1773
1767
|
|
|
1774
1768
|
const RegionPremiumField = JSX(({ field }) => {
|
|
@@ -1808,7 +1802,7 @@
|
|
|
1808
1802
|
}, [onSubmit]);
|
|
1809
1803
|
const [formState, { field, ...formProps }] = useForm({ ...initialFormState$2, typeForm: getDefaultFormType(defaultType) }, { onSubmit: handleSubmit });
|
|
1810
1804
|
const regionKey = formState?.region?.key;
|
|
1811
|
-
return (jsxs("form", { className: formStyle$1, onSubmit: formProps.onSubmit, children: [jsxs(ApplicationFieldsetLayout, { title: "\u0412\u0430\u0448\u0438 \u0434\u0430\u043D\u043D\u044B\u0435", children: [jsxs("div", { className: formChildrenStyle, children: [jsx(InputControl, { label: "\u0424\u0430\u043C\u0438\u043B\u0438\u044F", ...withValidator(field('surname'), nameValidator) }), jsx(InputControl, { label: "\u041E\u0442\u0447\u0435\u0441\u0442\u0432\u043E (\u041E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u043E, \u043F\u0440\u0438 \u043D\u0430\u043B\u0438\u0447\u0438\u0438)", ...field('middleName') }), jsx(InputControl, { label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", ...withValidator(field('email'), defaultValidator) })] }), jsxs("div", { className: formChildrenStyle, children: [jsx(InputControl, { label: "\u0418\u043C\u044F", ...withValidator(field('name'), nameValidator) }), jsx(PhoneInputControl, { label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phone'), phoneValidator) }), jsx(SelectControl, { label: "\u0422\u0438\u043F \u043E\u0431\u0441\u043B\u0443\u0436\u0438\u0432\u0430\u043D\u0438\u044F", options: SERVICE_TYPES, ...withValidator(field('typeForm'), defaultValidator) })] })] }), jsxs(ApplicationFieldsetLayout, { title: "\u041E\u0444\u0438\u0441 \u0431\u0430\u043D\u043A\u0430", children: [jsx("div", { className: formChildrenStyle, children: jsx(RegionPremiumField, { field: field }) }), jsx("div", { className: formChildrenStyle, children: jsx(AddressBranchField, { field: field, regionKey: regionKey, isPremium: true }) })] }), jsx(InputControl, { ...field('comment'), placeholder: "\u041A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u0439, \u0443\u0434\u043E\u0431\u043D\u043E\u0435 \u0432\u0440\u0435\u043C\u044F \u0438 \u043F\u0440\u043E\u0447\u0435\u0435", isTextarea: true }),
|
|
1805
|
+
return (jsxs("form", { className: formStyle$1, onSubmit: formProps.onSubmit, children: [jsxs(ApplicationFieldsetLayout, { title: "\u0412\u0430\u0448\u0438 \u0434\u0430\u043D\u043D\u044B\u0435", children: [jsxs("div", { className: formChildrenStyle, children: [jsx(InputControl, { label: "\u0424\u0430\u043C\u0438\u043B\u0438\u044F", ...withValidator(field('surname'), nameValidator) }), jsx(InputControl, { label: "\u041E\u0442\u0447\u0435\u0441\u0442\u0432\u043E (\u041E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u043E, \u043F\u0440\u0438 \u043D\u0430\u043B\u0438\u0447\u0438\u0438)", ...field('middleName') }), jsx(InputControl, { label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", ...withValidator(field('email'), defaultValidator) })] }), jsxs("div", { className: formChildrenStyle, children: [jsx(InputControl, { label: "\u0418\u043C\u044F", ...withValidator(field('name'), nameValidator) }), jsx(PhoneInputControl, { label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phone'), phoneValidator) }), jsx(SelectControl, { label: "\u0422\u0438\u043F \u043E\u0431\u0441\u043B\u0443\u0436\u0438\u0432\u0430\u043D\u0438\u044F", options: SERVICE_TYPES, ...withValidator(field('typeForm'), defaultValidator) })] })] }), jsxs(ApplicationFieldsetLayout, { title: "\u041E\u0444\u0438\u0441 \u0431\u0430\u043D\u043A\u0430", children: [jsx("div", { className: formChildrenStyle, children: jsx(RegionPremiumField, { field: field }) }), jsx("div", { className: formChildrenStyle, children: jsx(AddressBranchField, { field: field, regionKey: regionKey, isPremium: true }) })] }), jsx(InputControl, { ...field('comment'), placeholder: "\u041A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u0439, \u0443\u0434\u043E\u0431\u043D\u043E\u0435 \u0432\u0440\u0435\u043C\u044F \u0438 \u043F\u0440\u043E\u0447\u0435\u0435", isTextarea: true }), renderAgreementSubmit(field('consentDataProcessing'), link, button)] }));
|
|
1812
1806
|
});
|
|
1813
1807
|
const getDefaultFormType = (defaultType) => SERVICE_TYPES.find((_) => _.key === defaultType);
|
|
1814
1808
|
|
|
@@ -1890,8 +1884,7 @@
|
|
|
1890
1884
|
};
|
|
1891
1885
|
|
|
1892
1886
|
const API$1 = LeadServiceAPI();
|
|
1893
|
-
const ApplicationForm =
|
|
1894
|
-
const { className, formBlock, ...rest } = props;
|
|
1887
|
+
const ApplicationForm = UniBlock(({ className, formBlock, ...rest }) => {
|
|
1895
1888
|
const [responseType, setResponseType] = useState('');
|
|
1896
1889
|
const handleSubmit = useCallback(async (data, isIndividualType = false) => {
|
|
1897
1890
|
const formatData = getFormatData$1(data);
|
|
@@ -1919,24 +1912,24 @@
|
|
|
1919
1912
|
const getFormatData = (data) => Object.fromEntries(Object.entries(data).map(([k, v]) => [k, (v?.region ? v?.text : v?.key) || v]));
|
|
1920
1913
|
|
|
1921
1914
|
const columnStyle = {
|
|
1922
|
-
1: 'space-y-s max-w-
|
|
1915
|
+
1: 'space-y-s max-w-2xl mx-auto',
|
|
1923
1916
|
2: 'grid @xl:grid-cols-2 gap-s',
|
|
1924
1917
|
};
|
|
1925
1918
|
|
|
1926
1919
|
const CheckboxWithError = JSX(({ className, text, value, key, disabled, error, onChange }) => (jsxs("div", { className: style('shrink-0 w-full', className), children: [jsx(Checkbox, { text: text, value: value, disabled: disabled, onChange: onChange }, key), renderErrorText(error)] })));
|
|
1927
1920
|
|
|
1928
|
-
const getField = (input, field
|
|
1921
|
+
const getField = (input, field) => {
|
|
1929
1922
|
const InputsMap = {
|
|
1930
|
-
surname: (jsx(InputControl, { label: "\u0424\u0430\u043C\u0438\u043B\u0438\u044F", ...getValidation(field('surname'), nameValidator, input?.required) }
|
|
1931
|
-
name: (jsx(InputControl, { label: "\u0418\u043C\u044F", ...getValidation(field('name'), nameValidator, input?.required) }
|
|
1932
|
-
middleName: (jsx(InputControl, { label: "\u041E\u0442\u0447\u0435\u0441\u0442\u0432\u043E (\u041E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u043E, \u043F\u0440\u0438 \u043D\u0430\u043B\u0438\u0447\u0438\u0438)", ...field('middleName') }
|
|
1933
|
-
phone: (jsx(PhoneInputControl, { label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...getValidation(field('phone'), phoneValidator, input?.required) }
|
|
1934
|
-
email: (jsx(InputControl, { label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", ...getValidation(field('email'), defaultValidator, input?.required) }
|
|
1935
|
-
comment: (jsx(InputControl, { className: "col-span-2", ...getValidation(field('comment'), defaultValidator, input?.required), placeholder: "\u0412\u0430\u0448\u0435 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435", isTextarea: true }
|
|
1936
|
-
region: jsx(RegionField, { field: field }
|
|
1923
|
+
surname: (jsx(InputControl, { label: "\u0424\u0430\u043C\u0438\u043B\u0438\u044F", ...getValidation(field('surname'), nameValidator, input?.required) })),
|
|
1924
|
+
name: (jsx(InputControl, { label: "\u0418\u043C\u044F", ...getValidation(field('name'), nameValidator, input?.required) })),
|
|
1925
|
+
middleName: (jsx(InputControl, { label: "\u041E\u0442\u0447\u0435\u0441\u0442\u0432\u043E (\u041E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u043E, \u043F\u0440\u0438 \u043D\u0430\u043B\u0438\u0447\u0438\u0438)", ...field('middleName') })),
|
|
1926
|
+
phone: (jsx(PhoneInputControl, { label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...getValidation(field('phone'), phoneValidator, input?.required) })),
|
|
1927
|
+
email: (jsx(InputControl, { label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", ...getValidation(field('email'), defaultValidator, input?.required) })),
|
|
1928
|
+
comment: (jsx(InputControl, { className: "col-span-2", ...getValidation(field('comment'), defaultValidator, input?.required), placeholder: "\u0412\u0430\u0448\u0435 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435", isTextarea: true })),
|
|
1929
|
+
region: jsx(RegionField, { field: field }),
|
|
1937
1930
|
client: (jsx(CheckboxWithError, { ...field('isClient'), text: '\u042F\u0432\u043B\u044F\u044E\u0441\u044C \u043A\u043B\u0438\u0435\u043D\u0442\u043E\u043C \u0431\u0430\u043D\u043A\u0430 \u0410\u041E "\u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A"' })),
|
|
1938
1931
|
birthday: (jsx(DatePickerControl, { label: "\u0414\u0430\u0442\u0430 \u0440\u043E\u0436\u0434\u0435\u043D\u0438\u044F", ...getValidation(field('birthday'), defaultValidator) })),
|
|
1939
|
-
legend: (jsx("legend", { className: "w-full col-span-2", children: jsx(Heading, { title: input.label, headingType: "h6", className: "@xl:text-center" }) }
|
|
1932
|
+
legend: (jsx("legend", { className: "w-full col-span-2", children: jsx(Heading, { title: input.label, headingType: "h6", className: "@xl:text-center" }) })),
|
|
1940
1933
|
};
|
|
1941
1934
|
return InputsMap[input.name];
|
|
1942
1935
|
};
|
|
@@ -1990,10 +1983,10 @@
|
|
|
1990
1983
|
return status;
|
|
1991
1984
|
}, []);
|
|
1992
1985
|
const [, { field, onSubmit }] = useForm(initialFormState, { onSubmit: handleSubmit });
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
: renderSubmitButton(button)] }) }));
|
|
1986
|
+
const fieldName = getConsentDataProcessing(inputs)?.name;
|
|
1987
|
+
return (jsx(ApplicationFormLayout, { className: style(formStyle$1, className), title: title, responseType: responseType, children: jsxs("form", { className: columnStyle[formColumns], onSubmit: onSubmit, children: [inputs.map((_, index) => (jsx("div", { children: getField(_, field) }, String(index)))), renderAgreementSubmit(fieldName ? field('consentDataProcessing') : undefined, link, button)] }) }));
|
|
1996
1988
|
});
|
|
1989
|
+
const getConsentDataProcessing = (inputs) => inputs.find((_) => _?.name === 'consentDataProcessing');
|
|
1997
1990
|
|
|
1998
1991
|
/** @deprecated */
|
|
1999
1992
|
const AlignStyles = 'text-center';
|
|
@@ -6011,7 +6004,7 @@
|
|
|
6011
6004
|
slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
|
|
6012
6005
|
});
|
|
6013
6006
|
|
|
6014
|
-
const packageVersion = "0.14.
|
|
6007
|
+
const packageVersion = "0.14.179";
|
|
6015
6008
|
|
|
6016
6009
|
exports.Blocks = Blocks;
|
|
6017
6010
|
exports.ContentPage = ContentPage;
|