@redneckz/wildless-cms-uni-blocks 0.14.1021 → 0.14.1022
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 +8 -2
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/components/ApplicationLeadForm/getLeadFormTaskData.js +3 -0
- package/dist/components/ApplicationLeadForm/getLeadFormTaskData.js.map +1 -1
- package/dist/components/DebitForm/DebitFormStatus.js +5 -1
- package/dist/components/DebitForm/DebitFormStatus.js.map +1 -1
- package/lib/components/ApplicationLeadForm/getLeadFormTaskData.js +3 -0
- package/lib/components/ApplicationLeadForm/getLeadFormTaskData.js.map +1 -1
- package/lib/components/DebitForm/DebitFormStatus.js +5 -1
- package/lib/components/DebitForm/DebitFormStatus.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +8 -2
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/components/ApplicationLeadForm/getLeadFormTaskData.js +3 -0
- package/mobile/dist/components/ApplicationLeadForm/getLeadFormTaskData.js.map +1 -1
- package/mobile/dist/components/DebitForm/DebitFormStatus.js +5 -1
- package/mobile/dist/components/DebitForm/DebitFormStatus.js.map +1 -1
- package/mobile/lib/components/ApplicationLeadForm/getLeadFormTaskData.js +3 -0
- package/mobile/lib/components/ApplicationLeadForm/getLeadFormTaskData.js.map +1 -1
- package/mobile/lib/components/DebitForm/DebitFormStatus.js +5 -1
- package/mobile/lib/components/DebitForm/DebitFormStatus.js.map +1 -1
- package/mobile/src/components/ApplicationLeadForm/getLeadFormTaskData.ts +3 -0
- package/mobile/src/components/DebitForm/DebitFormStatus.tsx +11 -5
- package/package.json +1 -1
- package/src/components/ApplicationLeadForm/getLeadFormTaskData.ts +3 -0
- package/src/components/DebitForm/DebitFormStatus.tsx +11 -5
package/bundle/bundle.umd.js
CHANGED
|
@@ -7375,6 +7375,9 @@
|
|
|
7375
7375
|
};
|
|
7376
7376
|
const getTaskSource = (source) => {
|
|
7377
7377
|
switch (source) {
|
|
7378
|
+
case 'banki_ru': {
|
|
7379
|
+
return 'banki_ru';
|
|
7380
|
+
}
|
|
7378
7381
|
case 'referal_sf': {
|
|
7379
7382
|
return 'ReferalSF';
|
|
7380
7383
|
}
|
|
@@ -11667,8 +11670,11 @@
|
|
|
11667
11670
|
|
|
11668
11671
|
const INTERNET_BANK_LINK = 'https://online.rshb.ru/d?l=dcNqSvOE';
|
|
11669
11672
|
const PRELOGIN_LINK = 'https://online.rshb.ru/rshb-mbfl/webmodules/prelogin-zone';
|
|
11673
|
+
const openLink = (url) => {
|
|
11674
|
+
window.location.href = url;
|
|
11675
|
+
};
|
|
11670
11676
|
const DebitFormStatus = JSX(({ title, description: dsc, sectionInfo, buttonText, isDboClient, isOffice, ...props }) => {
|
|
11671
|
-
return (jsxs(BlockWrapper, { ...props, children: [jsx("div", { className: "flex flex-col md:flex-row items-center", children: jsx(Headline, { headlineVersion: "M", title: title, description: dsc, align: "text-left", padding: "p-xl", className: "w-full" }) }), jsx(SectionInfo, { items: sectionInfo }), isOffice ? (jsxs("div", { className: "flex flex-col md:flex-row md:gap-lg", children: [jsx(
|
|
11677
|
+
return (jsxs(BlockWrapper, { ...props, children: [jsx("div", { className: "flex flex-col md:flex-row items-center", children: jsx(Headline, { headlineVersion: "M", title: title, description: dsc, align: "text-left", padding: "p-xl", className: "w-full" }) }), jsx(SectionInfo, { items: sectionInfo }), isOffice ? (jsxs("div", { className: "flex flex-col md:flex-row md:gap-lg", children: [jsx(Button, { onClick: () => openLink(PRELOGIN_LINK), className: "w-full mt-lg", version: "primary", children: "\u0423\u0437\u043D\u0430\u0442\u044C \u0441\u0442\u0430\u0442\u0443\u0441 \u0437\u0430\u044F\u0432\u043A\u0438" }), jsx(LinkButton, { href: "/natural", text: "\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u043D\u0430 \u0433\u043B\u0430\u0432\u043D\u0443\u044E", version: "primary", className: "w-full mt-lg" })] })) : null, !isOffice && buttonText ? (jsx(LinkButton, { href: "/natural", text: buttonText, version: "primary", className: "w-full mt-lg" })) : null, isDboClient ? (jsxs("div", { className: "flex flex-col md:flex-row md:gap-lg", children: [jsx(LinkButton, { href: "/natural/debetcards", text: "\u0417\u0430\u043F\u043E\u043B\u043D\u0438\u0442\u044C \u0437\u0430\u043D\u043E\u0432\u043E", version: "primary", className: "w-full mt-lg" }), jsx(LinkButton, { href: INTERNET_BANK_LINK, text: "\u0412\u044B\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u043A\u0430\u0440\u0442\u0443 \u0432 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438", version: "primary", className: "w-full mt-lg" })] })) : null] }));
|
|
11672
11678
|
});
|
|
11673
11679
|
const SectionInfo = ({ title, items, }) => {
|
|
11674
11680
|
if (!items) {
|
|
@@ -14323,7 +14329,7 @@
|
|
|
14323
14329
|
slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
|
|
14324
14330
|
});
|
|
14325
14331
|
|
|
14326
|
-
const packageVersion = "0.14.
|
|
14332
|
+
const packageVersion = "0.14.1021";
|
|
14327
14333
|
|
|
14328
14334
|
exports.Blocks = Blocks;
|
|
14329
14335
|
exports.ContentPage = ContentPage;
|