@redneckz/wildless-cms-uni-blocks 0.14.802 → 0.14.803
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 +3 -3
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/components/Header/useChatBot.js +2 -2
- package/dist/components/Header/useChatBot.js.map +1 -1
- package/lib/components/Header/useChatBot.js +2 -2
- package/lib/components/Header/useChatBot.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +3 -3
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/components/Header/useChatBot.js +2 -2
- package/mobile/dist/components/Header/useChatBot.js.map +1 -1
- package/mobile/lib/components/Header/useChatBot.js +2 -2
- package/mobile/lib/components/Header/useChatBot.js.map +1 -1
- package/mobile/src/components/Header/useChatBot.ts +4 -3
- package/package.json +1 -1
- package/src/components/Header/useChatBot.ts +4 -3
package/bundle/bundle.umd.js
CHANGED
|
@@ -9940,6 +9940,7 @@
|
|
|
9940
9940
|
const CHAT_FRAME_ID = 'webchat-js-container:webchat_rshb';
|
|
9941
9941
|
const CHAT_STORAGE_NAME = 'webchat-keep-open';
|
|
9942
9942
|
const BUSINESS_CHAT_PREFIX = '/webchat-api';
|
|
9943
|
+
const BUSINESS_CHAT_CLASSNAME = '@container fixed right-0 bottom-0 h-full w-full z-[100] @3xl:w-auto h-fit';
|
|
9943
9944
|
const CHATBOT_URL = {
|
|
9944
9945
|
personal: '//chat.mes.rshb.ru/assets/js/webchat_rshb',
|
|
9945
9946
|
business: '/webchat',
|
|
@@ -9981,13 +9982,12 @@
|
|
|
9981
9982
|
}
|
|
9982
9983
|
else {
|
|
9983
9984
|
createChatFrame();
|
|
9984
|
-
businessChat?.render?.(CHAT_FRAME_ID, true, BUSINESS_CHAT_PREFIX);
|
|
9985
|
+
businessChat?.render?.(CHAT_FRAME_ID, true, BUSINESS_CHAT_PREFIX, BUSINESS_CHAT_CLASSNAME);
|
|
9985
9986
|
}
|
|
9986
9987
|
};
|
|
9987
9988
|
const createChatFrame = () => {
|
|
9988
9989
|
const chatFrame = globalThis.document.createElement('div');
|
|
9989
9990
|
chatFrame.id = CHAT_FRAME_ID;
|
|
9990
|
-
chatFrame.className = 'fixed right-0 bottom-0 h-full w-full z-[100] @3xl:w-auto h-fit';
|
|
9991
9991
|
globalThis.document.body.appendChild(chatFrame);
|
|
9992
9992
|
};
|
|
9993
9993
|
|
|
@@ -11461,7 +11461,7 @@
|
|
|
11461
11461
|
slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
|
|
11462
11462
|
});
|
|
11463
11463
|
|
|
11464
|
-
const packageVersion = "0.14.
|
|
11464
|
+
const packageVersion = "0.14.802";
|
|
11465
11465
|
|
|
11466
11466
|
exports.Blocks = Blocks;
|
|
11467
11467
|
exports.ContentPage = ContentPage;
|