isometrik-plugin-chat-sdk 1.0.7 → 1.0.9

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 (244) hide show
  1. package/dist/cjs/attachment-preview_22.cjs.entry.js +10 -9
  2. package/dist/cjs/attachment-preview_22.cjs.entry.js.map +1 -1
  3. package/dist/cjs/audio-bubble_4.cjs.entry.js +1 -1
  4. package/dist/cjs/chat-assets-e32e80c0.js +73 -0
  5. package/dist/cjs/chat-assets-e32e80c0.js.map +1 -0
  6. package/dist/cjs/chat-tile_3.cjs.entry.js +1 -1
  7. package/dist/cjs/forward-memebers.cjs.entry.js +1 -1
  8. package/dist/cjs/isometrik-webchat.cjs.js +1 -1
  9. package/dist/cjs/loader.cjs.js +1 -1
  10. package/dist/cjs/login-page_3.cjs.entry.js +14 -4
  11. package/dist/cjs/login-page_3.cjs.entry.js.map +1 -1
  12. package/dist/cjs/member-add.cjs.entry.js +1 -1
  13. package/dist/cjs/new-chat-sidebar.cjs.entry.js +1 -1
  14. package/dist/collection/components/ChatUIComponent/ChatSidebar/ChatSidebar.js +6 -7
  15. package/dist/collection/components/ChatUIComponent/ChatSidebar/ChatSidebar.js.map +1 -1
  16. package/dist/collection/components/ChatUIComponent/WebChatBody/WebChatBody.js +12 -12
  17. package/dist/collection/components/ChatUIComponent/WebChatBody/WebChatBody.js.map +1 -1
  18. package/dist/collection/components/my-component/web-chat/WebChat.js +39 -6
  19. package/dist/collection/components/my-component/web-chat/WebChat.js.map +1 -1
  20. package/dist/collection/components/my-component/web-chat/shell-render.js +4 -2
  21. package/dist/collection/components/my-component/web-chat/shell-render.js.map +1 -1
  22. package/dist/collection/constants/chat-assets.js +39 -103
  23. package/dist/components/ChatSidebar.js +2 -2
  24. package/dist/components/ChatSidebar.js.map +1 -1
  25. package/dist/components/WebChat.js +15 -4
  26. package/dist/components/WebChat.js.map +1 -1
  27. package/dist/components/WebChatBody.js +9 -8
  28. package/dist/components/WebChatBody.js.map +1 -1
  29. package/dist/components/chat-assets.js +34 -62
  30. package/dist/components/chat-assets.js.map +1 -1
  31. package/dist/esm/attachment-preview_22.entry.js +10 -9
  32. package/dist/esm/attachment-preview_22.entry.js.map +1 -1
  33. package/dist/esm/audio-bubble_4.entry.js +1 -1
  34. package/dist/esm/chat-assets-4dfb1106.js +38 -0
  35. package/dist/esm/chat-assets-4dfb1106.js.map +1 -0
  36. package/dist/esm/chat-tile_3.entry.js +1 -1
  37. package/dist/esm/forward-memebers.entry.js +1 -1
  38. package/dist/esm/isometrik-webchat.js +1 -1
  39. package/dist/esm/loader.js +1 -1
  40. package/dist/esm/login-page_3.entry.js +14 -4
  41. package/dist/esm/login-page_3.entry.js.map +1 -1
  42. package/dist/esm/member-add.entry.js +1 -1
  43. package/dist/esm/new-chat-sidebar.entry.js +1 -1
  44. package/dist/isometrik-webchat/isometrik-webchat.esm.js +1 -1
  45. package/dist/isometrik-webchat/isometrik-webchat.esm.js.map +1 -1
  46. package/dist/isometrik-webchat/{p-db88e29f.entry.js → p-0085b397.entry.js} +2 -2
  47. package/dist/isometrik-webchat/{p-87cafbe1.entry.js → p-1ad1127f.entry.js} +2 -2
  48. package/dist/isometrik-webchat/p-6d9f8cec.entry.js +2 -0
  49. package/dist/isometrik-webchat/p-6d9f8cec.entry.js.map +1 -0
  50. package/dist/isometrik-webchat/{p-ccab7fc4.entry.js → p-6ec350aa.entry.js} +2 -2
  51. package/dist/isometrik-webchat/{p-4a5f6807.entry.js → p-6ffeb379.entry.js} +2 -2
  52. package/dist/isometrik-webchat/p-6ffeb379.entry.js.map +1 -0
  53. package/dist/isometrik-webchat/{p-4e2fc241.entry.js → p-71cc96a3.entry.js} +2 -2
  54. package/dist/isometrik-webchat/{p-7a63e947.entry.js → p-b8cef5e4.entry.js} +2 -2
  55. package/dist/isometrik-webchat/p-d424871c.js +2 -0
  56. package/dist/isometrik-webchat/p-d424871c.js.map +1 -0
  57. package/dist/types/components/ChatUIComponent/ChatSidebar/ChatSidebar.d.ts +2 -1
  58. package/dist/types/components/ChatUIComponent/WebChatBody/WebChatBody.d.ts +2 -2
  59. package/dist/types/components.d.ts +26 -8
  60. package/package.json +5 -13
  61. package/dist/cjs/chat-assets-c88eaa76.js +0 -101
  62. package/dist/cjs/chat-assets-c88eaa76.js.map +0 -1
  63. package/dist/collection/assets/ExcelDocument.js +0 -2
  64. package/dist/collection/assets/IsometrikLogo.js +0 -38
  65. package/dist/collection/assets/Moon.svg +0 -1
  66. package/dist/collection/assets/New-Chat.svg +0 -5
  67. package/dist/collection/assets/NoChatPlaceholder.js +0 -16
  68. package/dist/collection/assets/NoContactsPlaceholder.js +0 -9
  69. package/dist/collection/assets/NoMessagePlaceholder.svg +0 -13
  70. package/dist/collection/assets/PdfDocument.js +0 -2
  71. package/dist/collection/assets/ProfilePlaceholder.js +0 -1
  72. package/dist/collection/assets/SelectChatPlaceholder.js +0 -13
  73. package/dist/collection/assets/Sun.svg +0 -1
  74. package/dist/collection/assets/add-user.svg +0 -6
  75. package/dist/collection/assets/attachment.svg +0 -4
  76. package/dist/collection/assets/avatar.svg +0 -1
  77. package/dist/collection/assets/block-user.svg +0 -4
  78. package/dist/collection/assets/camera-add.svg +0 -4
  79. package/dist/collection/assets/camera.svg +0 -17
  80. package/dist/collection/assets/cancel.svg +0 -12
  81. package/dist/collection/assets/chatBG.png +0 -0
  82. package/dist/collection/assets/chatdefaultbg.svg +0 -6140
  83. package/dist/collection/assets/clear-chat.svg +0 -4
  84. package/dist/collection/assets/close.svg +0 -4
  85. package/dist/collection/assets/dark-theme.svg +0 -12
  86. package/dist/collection/assets/delete.svg +0 -8
  87. package/dist/collection/assets/doc.png +0 -0
  88. package/dist/collection/assets/documents.svg +0 -15
  89. package/dist/collection/assets/doublecheck.svg +0 -1
  90. package/dist/collection/assets/download.svg +0 -4
  91. package/dist/collection/assets/drop-down.svg +0 -5
  92. package/dist/collection/assets/edit.svg +0 -4
  93. package/dist/collection/assets/equalizer.svg +0 -1
  94. package/dist/collection/assets/excel.svg +0 -2
  95. package/dist/collection/assets/forward.svg +0 -4
  96. package/dist/collection/assets/group-cast.svg +0 -1
  97. package/dist/collection/assets/group.svg +0 -13
  98. package/dist/collection/assets/imagePlaceholder.png +0 -0
  99. package/dist/collection/assets/imagePlaceholder.svg +0 -2
  100. package/dist/collection/assets/info.svg +0 -4
  101. package/dist/collection/assets/left-arrow.svg +0 -4
  102. package/dist/collection/assets/link.svg +0 -1
  103. package/dist/collection/assets/login.svg +0 -3051
  104. package/dist/collection/assets/logout.svg +0 -5
  105. package/dist/collection/assets/message-outline.svg +0 -5
  106. package/dist/collection/assets/message.svg +0 -1
  107. package/dist/collection/assets/microphone.svg +0 -2
  108. package/dist/collection/assets/new_group.svg +0 -9
  109. package/dist/collection/assets/odt-file.png +0 -0
  110. package/dist/collection/assets/onboarding.webp +0 -0
  111. package/dist/collection/assets/paper.svg +0 -5
  112. package/dist/collection/assets/pause.svg +0 -4
  113. package/dist/collection/assets/pdf.svg +0 -11
  114. package/dist/collection/assets/photos.svg +0 -4
  115. package/dist/collection/assets/play.svg +0 -19
  116. package/dist/collection/assets/profilePlaceholderImage.png +0 -0
  117. package/dist/collection/assets/reply.svg +0 -4
  118. package/dist/collection/assets/rtf.png +0 -0
  119. package/dist/collection/assets/search.svg +0 -4
  120. package/dist/collection/assets/send.svg +0 -4
  121. package/dist/collection/assets/singlecheck.svg +0 -1
  122. package/dist/collection/assets/smile.svg +0 -2
  123. package/dist/collection/assets/three-dots.svg +0 -5
  124. package/dist/collection/assets/txt.png +0 -0
  125. package/dist/collection/assets/videoPlaceholder.svg +0 -4
  126. package/dist/collection/assets/videoThumbnail.svg +0 -1
  127. package/dist/collection/components/ChatUIComponent/AudioBubble.js +0 -315
  128. package/dist/collection/components/ChatUIComponent/BlockChatList.js +0 -177
  129. package/dist/collection/components/ChatUIComponent/ForwardMessageList.js +0 -152
  130. package/dist/collection/components/ChatUIComponent/GroupCast.js +0 -461
  131. package/dist/collection/components/ChatUIComponent/shared/attachment-preview.js +0 -230
  132. package/dist/collection/components/ChatUIComponent/shared/chat-loading-placeholder.js +0 -70
  133. package/dist/collection/components/ChatUIComponent/shared/confirm-dialog.js +0 -51
  134. package/dist/collection/components/ChatUIComponent/shared/contact-info.js +0 -255
  135. package/dist/collection/components/ChatUIComponent/shared/context-menu.js +0 -112
  136. package/dist/collection/components/ChatUIComponent/shared/delete-message.js +0 -49
  137. package/dist/collection/components/ChatUIComponent/shared/document-message.js +0 -161
  138. package/dist/collection/components/ChatUIComponent/shared/forward-message.js +0 -139
  139. package/dist/collection/components/ChatUIComponent/shared/group-chat-contacts.js +0 -201
  140. package/dist/collection/components/ChatUIComponent/shared/group-info.js +0 -170
  141. package/dist/collection/components/ChatUIComponent/shared/image-message.js +0 -156
  142. package/dist/collection/components/ChatUIComponent/shared/incoming-text-message-bubble.js +0 -98
  143. package/dist/collection/components/ChatUIComponent/shared/link-preview.js +0 -125
  144. package/dist/collection/components/ChatUIComponent/shared/media-gallery.js +0 -152
  145. package/dist/collection/components/ChatUIComponent/shared/message-body-render.js +0 -19
  146. package/dist/collection/components/ChatUIComponent/shared/message-bubble.js +0 -189
  147. package/dist/collection/components/ChatUIComponent/shared/message-date-pill.js +0 -86
  148. package/dist/collection/components/ChatUIComponent/shared/message-info.js +0 -188
  149. package/dist/collection/components/ChatUIComponent/shared/message-search.js +0 -125
  150. package/dist/collection/components/ChatUIComponent/shared/new-chat-sidebar.js +0 -181
  151. package/dist/collection/components/ChatUIComponent/shared/outgoing-text-message-bubble.js +0 -98
  152. package/dist/collection/components/ChatUIComponent/shared/profile-avatar.js +0 -136
  153. package/dist/collection/components/ChatUIComponent/shared/profile-info.js +0 -220
  154. package/dist/collection/components/ChatUIComponent/shared/reply-block.js +0 -162
  155. package/dist/collection/components/ChatUIComponent/shared/reply-message-container.js +0 -193
  156. package/dist/collection/components/ChatUIComponent/shared/share-popup.js +0 -69
  157. package/dist/collection/components/ChatUIComponent/shared/spinner-loader.js +0 -74
  158. package/dist/collection/components/ChatUIComponent/shared/toast-notification.js +0 -106
  159. package/dist/collection/components/ChatUIComponent/shared/video-message.js +0 -165
  160. package/dist/collection/components/my-component/my-component.e2e.js +0 -25
  161. package/dist/collection/components/my-component/my-component.spec.js +0 -34
  162. package/dist/collection/components/my-component/web-chat/web-chat-split.spec.js +0 -40
  163. package/dist/collection/lib/chat/chat.spec.js +0 -28
  164. package/dist/collection/lib/custom-ui/custom-ui.spec.js +0 -49
  165. package/dist/collection/lib/message-body-segments.spec.js +0 -21
  166. package/dist/collection/lib/message-dedup.spec.js +0 -17
  167. package/dist/collection/lib/mqtt/mqtt.spec.js +0 -39
  168. package/dist/collection/utils/utils.spec.js +0 -15
  169. package/dist/esm/chat-assets-64245cf9.js +0 -66
  170. package/dist/esm/chat-assets-64245cf9.js.map +0 -1
  171. package/dist/isometrik-webchat/assets/ExcelDocument.js +0 -2
  172. package/dist/isometrik-webchat/assets/IsometrikLogo.js +0 -38
  173. package/dist/isometrik-webchat/assets/Moon.svg +0 -1
  174. package/dist/isometrik-webchat/assets/New-Chat.svg +0 -5
  175. package/dist/isometrik-webchat/assets/NoChatPlaceholder.js +0 -16
  176. package/dist/isometrik-webchat/assets/NoContactsPlaceholder.js +0 -9
  177. package/dist/isometrik-webchat/assets/NoMessagePlaceholder.svg +0 -13
  178. package/dist/isometrik-webchat/assets/PdfDocument.js +0 -2
  179. package/dist/isometrik-webchat/assets/ProfilePlaceholder.js +0 -1
  180. package/dist/isometrik-webchat/assets/SelectChatPlaceholder.js +0 -13
  181. package/dist/isometrik-webchat/assets/Sun.svg +0 -1
  182. package/dist/isometrik-webchat/assets/add-user.svg +0 -6
  183. package/dist/isometrik-webchat/assets/attachment.svg +0 -4
  184. package/dist/isometrik-webchat/assets/avatar.svg +0 -1
  185. package/dist/isometrik-webchat/assets/block-user.svg +0 -4
  186. package/dist/isometrik-webchat/assets/camera-add.svg +0 -4
  187. package/dist/isometrik-webchat/assets/camera.svg +0 -17
  188. package/dist/isometrik-webchat/assets/cancel.svg +0 -12
  189. package/dist/isometrik-webchat/assets/chatBG.png +0 -0
  190. package/dist/isometrik-webchat/assets/chatdefaultbg.svg +0 -6140
  191. package/dist/isometrik-webchat/assets/clear-chat.svg +0 -4
  192. package/dist/isometrik-webchat/assets/close.svg +0 -4
  193. package/dist/isometrik-webchat/assets/dark-theme.svg +0 -12
  194. package/dist/isometrik-webchat/assets/delete.svg +0 -8
  195. package/dist/isometrik-webchat/assets/doc.png +0 -0
  196. package/dist/isometrik-webchat/assets/documents.svg +0 -15
  197. package/dist/isometrik-webchat/assets/doublecheck.svg +0 -1
  198. package/dist/isometrik-webchat/assets/download.svg +0 -4
  199. package/dist/isometrik-webchat/assets/drop-down.svg +0 -5
  200. package/dist/isometrik-webchat/assets/edit.svg +0 -4
  201. package/dist/isometrik-webchat/assets/equalizer.svg +0 -1
  202. package/dist/isometrik-webchat/assets/excel.svg +0 -2
  203. package/dist/isometrik-webchat/assets/forward.svg +0 -4
  204. package/dist/isometrik-webchat/assets/group-cast.svg +0 -1
  205. package/dist/isometrik-webchat/assets/group.svg +0 -13
  206. package/dist/isometrik-webchat/assets/imagePlaceholder.png +0 -0
  207. package/dist/isometrik-webchat/assets/imagePlaceholder.svg +0 -2
  208. package/dist/isometrik-webchat/assets/info.svg +0 -4
  209. package/dist/isometrik-webchat/assets/left-arrow.svg +0 -4
  210. package/dist/isometrik-webchat/assets/link.svg +0 -1
  211. package/dist/isometrik-webchat/assets/login.svg +0 -3051
  212. package/dist/isometrik-webchat/assets/logout.svg +0 -5
  213. package/dist/isometrik-webchat/assets/message-outline.svg +0 -5
  214. package/dist/isometrik-webchat/assets/message.svg +0 -1
  215. package/dist/isometrik-webchat/assets/microphone.svg +0 -2
  216. package/dist/isometrik-webchat/assets/new_group.svg +0 -9
  217. package/dist/isometrik-webchat/assets/odt-file.png +0 -0
  218. package/dist/isometrik-webchat/assets/onboarding.webp +0 -0
  219. package/dist/isometrik-webchat/assets/paper.svg +0 -5
  220. package/dist/isometrik-webchat/assets/pause.svg +0 -4
  221. package/dist/isometrik-webchat/assets/pdf.svg +0 -11
  222. package/dist/isometrik-webchat/assets/photos.svg +0 -4
  223. package/dist/isometrik-webchat/assets/play.svg +0 -19
  224. package/dist/isometrik-webchat/assets/profilePlaceholderImage.png +0 -0
  225. package/dist/isometrik-webchat/assets/reply.svg +0 -4
  226. package/dist/isometrik-webchat/assets/rtf.png +0 -0
  227. package/dist/isometrik-webchat/assets/search.svg +0 -4
  228. package/dist/isometrik-webchat/assets/send.svg +0 -4
  229. package/dist/isometrik-webchat/assets/singlecheck.svg +0 -1
  230. package/dist/isometrik-webchat/assets/smile.svg +0 -2
  231. package/dist/isometrik-webchat/assets/three-dots.svg +0 -5
  232. package/dist/isometrik-webchat/assets/txt.png +0 -0
  233. package/dist/isometrik-webchat/assets/videoPlaceholder.svg +0 -4
  234. package/dist/isometrik-webchat/assets/videoThumbnail.svg +0 -1
  235. package/dist/isometrik-webchat/p-1ccc5a49.js +0 -2
  236. package/dist/isometrik-webchat/p-1ccc5a49.js.map +0 -1
  237. package/dist/isometrik-webchat/p-4a5f6807.entry.js.map +0 -1
  238. package/dist/isometrik-webchat/p-7216e380.entry.js +0 -2
  239. package/dist/isometrik-webchat/p-7216e380.entry.js.map +0 -1
  240. /package/dist/isometrik-webchat/{p-db88e29f.entry.js.map → p-0085b397.entry.js.map} +0 -0
  241. /package/dist/isometrik-webchat/{p-87cafbe1.entry.js.map → p-1ad1127f.entry.js.map} +0 -0
  242. /package/dist/isometrik-webchat/{p-ccab7fc4.entry.js.map → p-6ec350aa.entry.js.map} +0 -0
  243. /package/dist/isometrik-webchat/{p-4e2fc241.entry.js.map → p-71cc96a3.entry.js.map} +0 -0
  244. /package/dist/isometrik-webchat/{p-7a63e947.entry.js.map → p-b8cef5e4.entry.js.map} +0 -0
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-f624fc47.js');
6
- const chatAssets = require('./chat-assets-c88eaa76.js');
6
+ const chatAssets = require('./chat-assets-e32e80c0.js');
7
7
  const cancel = require('./cancel-1ffd86d3.js');
8
8
  const index_m = require('./index.m-ff115b26.js');
9
9
  const drawer = require('./drawer-28cc94a4.js');
@@ -341,7 +341,7 @@ const ChatSidebar = class {
341
341
  this.isConversationLoading = undefined;
342
342
  this.hasMoreConversations = undefined;
343
343
  this.unreadConversationsCount = undefined;
344
- this.customParts = {};
344
+ this.customParts = undefined;
345
345
  this.conversationDetails = undefined;
346
346
  this.sortedConversationList = [];
347
347
  this.numberOfConversations = 0;
@@ -7208,7 +7208,7 @@ const WebChatBody = class {
7208
7208
  this.conversationDetails = {};
7209
7209
  this.newMessageNotification = null;
7210
7210
  this.loadingMediaGallery = undefined;
7211
- this.customParts = {};
7211
+ this.customParts = undefined;
7212
7212
  this.previousTotalScrollHeight = 0;
7213
7213
  this.deviceId = '';
7214
7214
  this.scrollTimeout = null;
@@ -7569,7 +7569,7 @@ const WebChatBody = class {
7569
7569
  var _a, _b, _c, _d, _e, _f, _g, _h;
7570
7570
  const currentConversation = (_a = this.conversationList) === null || _a === void 0 ? void 0 : _a.find(conversation => (conversation === null || conversation === void 0 ? void 0 : conversation.conversationId) === this.selectedConversationId);
7571
7571
  const shouldShowPlaceholder = ((_b = this.allMessages) === null || _b === void 0 ? void 0 : _b.length) === 1 && ((_d = (_c = this.allMessages) === null || _c === void 0 ? void 0 : _c[0]) === null || _d === void 0 ? void 0 : _d.action) !== 'clearConversation' && ((_e = this.allMessages) === null || _e === void 0 ? void 0 : _e.some(message => (message === null || message === void 0 ? void 0 : message.action) === 'clearConversation'));
7572
- return (index.h("div", { key: 'c721c9339c30b738e9e33f57e9dd1b914a909897', class: `chat-body ${this.isChatBodyUnscrollable ? 'unscrollable' : null}` }, this.showScrollButton || this.newMessageNotification && (index.h("div", { key: '6f10ee228fde9310c175f9fa66ef6f0888cc927e', onClick: this.scrollToBottom, style: {
7572
+ return (index.h("div", { key: '9f147a27411d99e67478ed1169154738a7684075', class: `chat-body ${this.isChatBodyUnscrollable ? 'unscrollable' : null}` }, this.showScrollButton || this.newMessageNotification && (index.h("div", { key: '84a43fa0addeb46e253ab844844722360ba8e683', onClick: this.scrollToBottom, style: {
7573
7573
  position: 'sticky',
7574
7574
  top: '90%',
7575
7575
  left: '95%',
@@ -7583,7 +7583,7 @@ const WebChatBody = class {
7583
7583
  cursor: 'pointer',
7584
7584
  boxShadow: '0 2px 5px rgba(0,0,0,0.2)',
7585
7585
  zIndex: '100',
7586
- } }, ((_f = this.newMessageNotification) === null || _f === void 0 ? void 0 : _f.count) > 0 && (index.h("div", { key: '0c77fa0f0f8d7bc166ac1c1eeb56245d64ffe606', style: {
7586
+ } }, ((_f = this.newMessageNotification) === null || _f === void 0 ? void 0 : _f.count) > 0 && (index.h("div", { key: 'd7cd08ce123942a40e9e86c89cb77aef57e9bcd7', style: {
7587
7587
  position: 'absolute',
7588
7588
  bottom: '22px',
7589
7589
  right: '-2px',
@@ -7597,7 +7597,7 @@ const WebChatBody = class {
7597
7597
  justifyContent: 'center',
7598
7598
  fontSize: '12px',
7599
7599
  padding: '0 4px',
7600
- } })), index.h("svg", { key: 'ac275aca10a08458aaaa63cabc23084d032698d6', width: "20px", height: "30px", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { key: '91b7208cfc45380d7303f8088966e63fdbdd0107', d: "M12 5V19M12 19L19 12M12 19L5 12", stroke: "var(--text-primary-color)", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" })))), shouldShowPlaceholder && (index.h("div", { key: '6a9a7f891c3ee01a5a031aef5d46818cf5f96891', style: {
7600
+ } })), index.h("svg", { key: '8f4bef505984399f6f378e7aff14ef51c7d0de90', width: "20px", height: "30px", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { key: '0f501f068f298a4a340d72ec772d0bdc534729a8', d: "M12 5V19M12 19L19 12M12 19L5 12", stroke: "var(--text-primary-color)", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" })))), shouldShowPlaceholder && (index.h("div", { key: 'c83d267957e4f0bab55a6da876ef00606f0c57b3', style: {
7601
7601
  display: 'flex',
7602
7602
  flexDirection: 'column',
7603
7603
  alignItems: 'center',
@@ -7607,7 +7607,7 @@ const WebChatBody = class {
7607
7607
  textAlign: 'center',
7608
7608
  color: 'var(--text-secondary-color)',
7609
7609
  marginTop: '20px',
7610
- } }, index.h("img", { key: '410c1d6b6a7cb7338871641c4c4905e0342d3933', src: NoMessagePlaceholder, alt: "No messages", style: { width: '200px', height: '200px' } }), index.h("div", { key: 'cc2d64e3d33a2ad116b0b10188cfd5c7a34d6cce', style: { display: 'flex', flexDirection: 'column', alignItems: 'center', gap: '10px' } }, index.h("span", { key: 'b0a34a97764d84b70ead9def5f6eaf1d90635b69', style: { fontSize: '24px', color: 'var(--text-primary-color)' } }, "No messages"), index.h("span", { key: 'c1e104cd1808c269578cb5980617e28c288eb343', style: { fontSize: '16px', color: 'var(--text-secondary-color)' } }, "Send a \"Hi\" and make someone's day brighter!")))), this.isMessagesLoading && (index.h("spinner-loader", { key: '70c468fe8cabe79d007e47f91d1ac3417d23877c', height: "20px", width: "20px", spinTime: "1s", spinnerPrimaryColor: "#000", spinnerSecondaryColor: "var(--bg-grey-color)", spinnerBorderWidth: "3px" })), ((_g = this.allMessages) === null || _g === void 0 ? void 0 : _g.length) > 0 &&
7610
+ } }, index.h("img", { key: '9bb44052d7b4dd104f1af44c80a8a23ef3761d6a', src: NoMessagePlaceholder, alt: "No messages", style: { width: '200px', height: '200px' } }), index.h("div", { key: '64542179541d638dd8bb3ae71fd9de2bde666224', style: { display: 'flex', flexDirection: 'column', alignItems: 'center', gap: '10px' } }, index.h("span", { key: '3c843966b9a49b25edfc7d981fbf7037ca8ef32a', style: { fontSize: '24px', color: 'var(--text-primary-color)' } }, "No messages"), index.h("span", { key: '3c2ff4f8a47055a0297a2e62846c0d785d98187d', style: { fontSize: '16px', color: 'var(--text-secondary-color)' } }, "Send a \"Hi\" and make someone's day brighter!")))), this.isMessagesLoading && (index.h("spinner-loader", { key: '5a8ac1823d00c7f4199a8eabc7c7db7ce4dc34f5', height: "20px", width: "20px", spinTime: "1s", spinnerPrimaryColor: "#000", spinnerSecondaryColor: "var(--bg-grey-color)", spinnerBorderWidth: "3px" })), ((_g = this.allMessages) === null || _g === void 0 ? void 0 : _g.length) > 0 &&
7611
7611
  ((_h = this.userMetaData) === null || _h === void 0 ? void 0 : _h.userId) &&
7612
7612
  (() => {
7613
7613
  const total = this.allMessages.length;
@@ -7627,10 +7627,11 @@ const WebChatBody = class {
7627
7627
  const showDatePill = currentMessageDate !== previousMessageDate;
7628
7628
  let isSelf = ((message === null || message === void 0 ? void 0 : message.senderId) || ((_e = message === null || message === void 0 ? void 0 : message.senderInfo) === null || _e === void 0 ? void 0 : _e.userId)) === ((_f = this.userMetaData) === null || _f === void 0 ? void 0 : _f.userId);
7629
7629
  // Rounit model: host CE + SDK props/callbacks (functionality stays in SDK)
7630
- if ((_g = this.customParts) === null || _g === void 0 ? void 0 : _g.messageBubble) {
7630
+ const bubbleTag = (_g = this.customParts) === null || _g === void 0 ? void 0 : _g.messageBubble;
7631
+ if (bubbleTag) {
7631
7632
  const status = contracts.deriveMessageStatus(message);
7632
7633
  const msgId = message.messageId;
7633
- return (index.h("div", { style: { display: 'flex', width: '100%', flexDirection: 'column', gap: '15px', position: 'relative' }, "data-message-id": msgId, key: msgId }, showDatePill && (index.h("div", { style: { display: 'flex', width: '100%', justifyContent: 'center' } }, this.renderDatePill(currentMessageDate))), index.h("div", { style: { display: 'flex', width: '100%', flexDirection: 'column', alignItems: isSelf ? 'flex-end' : 'flex-start', position: 'relative' } }, index.h(this.customParts.messageBubble, {
7634
+ return (index.h("div", { style: { display: 'flex', width: '100%', flexDirection: 'column', gap: '15px', position: 'relative' }, "data-message-id": msgId, key: msgId }, showDatePill && (index.h("div", { style: { display: 'flex', width: '100%', justifyContent: 'center' } }, this.renderDatePill(currentMessageDate))), index.h("div", { style: { display: 'flex', width: '100%', flexDirection: 'column', alignItems: isSelf ? 'flex-end' : 'flex-start', position: 'relative' } }, index.h(bubbleTag, {
7634
7635
  message,
7635
7636
  isSelf,
7636
7637
  status,