@redneckz/wildless-cms-uni-blocks 0.14.801 → 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.
Files changed (25) hide show
  1. package/bundle/bundle.umd.js +4 -4
  2. package/bundle/bundle.umd.min.js +1 -1
  3. package/dist/components/ApplicationLeadForm/parseEsiaProfile.js +1 -1
  4. package/dist/components/ApplicationLeadForm/parseEsiaProfile.js.map +1 -1
  5. package/dist/components/Header/useChatBot.js +2 -2
  6. package/dist/components/Header/useChatBot.js.map +1 -1
  7. package/lib/components/ApplicationLeadForm/parseEsiaProfile.js +1 -1
  8. package/lib/components/ApplicationLeadForm/parseEsiaProfile.js.map +1 -1
  9. package/lib/components/Header/useChatBot.js +2 -2
  10. package/lib/components/Header/useChatBot.js.map +1 -1
  11. package/mobile/bundle/bundle.umd.js +4 -4
  12. package/mobile/bundle/bundle.umd.min.js +1 -1
  13. package/mobile/dist/components/ApplicationLeadForm/parseEsiaProfile.js +1 -1
  14. package/mobile/dist/components/ApplicationLeadForm/parseEsiaProfile.js.map +1 -1
  15. package/mobile/dist/components/Header/useChatBot.js +2 -2
  16. package/mobile/dist/components/Header/useChatBot.js.map +1 -1
  17. package/mobile/lib/components/ApplicationLeadForm/parseEsiaProfile.js +1 -1
  18. package/mobile/lib/components/ApplicationLeadForm/parseEsiaProfile.js.map +1 -1
  19. package/mobile/lib/components/Header/useChatBot.js +2 -2
  20. package/mobile/lib/components/Header/useChatBot.js.map +1 -1
  21. package/mobile/src/components/ApplicationLeadForm/parseEsiaProfile.ts +1 -1
  22. package/mobile/src/components/Header/useChatBot.ts +4 -3
  23. package/package.json +1 -1
  24. package/src/components/ApplicationLeadForm/parseEsiaProfile.ts +1 -1
  25. package/src/components/Header/useChatBot.ts +4 -3
@@ -5961,7 +5961,7 @@
5961
5961
  };
5962
5962
  const getYearFromMonth = (month) => Math.floor(month / 12);
5963
5963
  const saveDocument = async ({ document, taskId, category, files, }) => {
5964
- await fetch(`data:'application/pdf';base64,${document}`)
5964
+ await fetch(`data:application/pdf;base64,${document}`)
5965
5965
  .then((res) => res.blob())
5966
5966
  .then((value) => uploadFile(value, taskId, category))
5967
5967
  .then((file) => files.push(file));
@@ -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.800";
11464
+ const packageVersion = "0.14.802";
11465
11465
 
11466
11466
  exports.Blocks = Blocks;
11467
11467
  exports.ContentPage = ContentPage;