@redneckz/wildless-cms-uni-blocks 0.14.1071 → 0.14.1072
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 +12 -1
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/Header/HeaderQuickActionsMenu.d.ts +1 -0
- package/dist/components/Header/HeaderQuickActionsMenu.d.ts +1 -0
- package/dist/components/Header/HeaderQuickActionsMenu.js +11 -0
- package/dist/components/Header/HeaderQuickActionsMenu.js.map +1 -1
- package/lib/components/Header/HeaderQuickActionsMenu.d.ts +1 -0
- package/lib/components/Header/HeaderQuickActionsMenu.js +11 -0
- package/lib/components/Header/HeaderQuickActionsMenu.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +12 -1
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/Header/HeaderQuickActionsMenu.d.ts +1 -0
- package/mobile/dist/components/Header/HeaderQuickActionsMenu.d.ts +1 -0
- package/mobile/dist/components/Header/HeaderQuickActionsMenu.js +11 -0
- package/mobile/dist/components/Header/HeaderQuickActionsMenu.js.map +1 -1
- package/mobile/lib/components/Header/HeaderQuickActionsMenu.d.ts +1 -0
- package/mobile/lib/components/Header/HeaderQuickActionsMenu.js +11 -0
- package/mobile/lib/components/Header/HeaderQuickActionsMenu.js.map +1 -1
- package/mobile/src/components/Header/HeaderQuickActionsMenu.tsx +12 -0
- package/package.json +1 -1
- package/src/components/Header/HeaderQuickActionsMenu.tsx +12 -0
package/bundle/bundle.umd.js
CHANGED
|
@@ -13957,6 +13957,13 @@
|
|
|
13957
13957
|
},
|
|
13958
13958
|
text: 'Написать в чат',
|
|
13959
13959
|
},
|
|
13960
|
+
phone: {
|
|
13961
|
+
handler: (ev) => {
|
|
13962
|
+
handlers?.phone(ev);
|
|
13963
|
+
closeDropdown();
|
|
13964
|
+
},
|
|
13965
|
+
text: 'Позвонить в Банк',
|
|
13966
|
+
},
|
|
13960
13967
|
};
|
|
13961
13968
|
return (jsx("button", { className: style('text-l font-light pb-m hover:text-primary-main text-left'), role: "link", onClick: quickActionsMapping[item?.text ?? ''].handler, children: quickActionsMapping[item?.text ?? ''].text }, item?.text ?? ''));
|
|
13962
13969
|
};
|
|
@@ -13973,9 +13980,13 @@
|
|
|
13973
13980
|
openChatBot(ev).finally();
|
|
13974
13981
|
}
|
|
13975
13982
|
}, []);
|
|
13983
|
+
const handlePhoneClick = useCallback(() => {
|
|
13984
|
+
globalThis.location.href = 'tel:88001007870';
|
|
13985
|
+
}, []);
|
|
13976
13986
|
return {
|
|
13977
13987
|
call: handleCallClick,
|
|
13978
13988
|
chat: handleChatClick,
|
|
13989
|
+
phone: handlePhoneClick,
|
|
13979
13990
|
};
|
|
13980
13991
|
};
|
|
13981
13992
|
|
|
@@ -15030,7 +15041,7 @@
|
|
|
15030
15041
|
slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
|
|
15031
15042
|
});
|
|
15032
15043
|
|
|
15033
|
-
const packageVersion = "0.14.
|
|
15044
|
+
const packageVersion = "0.14.1071";
|
|
15034
15045
|
|
|
15035
15046
|
exports.Blocks = Blocks;
|
|
15036
15047
|
exports.ContentPage = ContentPage;
|