@cometchat/chat-uikit-react 6.0.7 → 6.1.1
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/dist/assets/audio_filter_icon.svg +3 -0
- package/dist/assets/chats_filter_icon.svg +1 -0
- package/dist/assets/file_filter_icon.svg +4 -0
- package/dist/assets/group_filter_icon.svg +3 -0
- package/dist/assets/link_filter_icon.svg +3 -0
- package/dist/assets/link_icon_2x.svg +3 -0
- package/dist/assets/messages_filter_icon.svg +1 -0
- package/dist/assets/photo_filter_icon.svg +3 -0
- package/dist/assets/search_message_icon.svg +14 -0
- package/dist/assets/unread_filter_icon.svg +7 -0
- package/dist/assets/video_filter_icon.svg +3 -0
- package/dist/index.d.ts +395 -6
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/styles/CometChatConversations.css +16 -1
- package/dist/styles/CometChatList.css +10 -1
- package/dist/styles/CometChatMessageHeader.css +39 -0
- package/dist/styles/CometChatMessageList.css +28 -13
- package/dist/styles/CometChatSearch.css +948 -0
- package/dist/styles/CometChatThreadHeader.css +16 -1
- package/dist/styles/components/CometChatConversations.css +16 -1
- package/dist/styles/components/CometChatList.css +10 -1
- package/dist/styles/components/CometChatMessageHeader.css +39 -0
- package/dist/styles/components/CometChatMessageList.css +28 -13
- package/dist/styles/components/CometChatSearch.css +948 -0
- package/dist/styles/components/CometChatThreadHeader.css +16 -1
- package/dist/styles/components/index.css +5 -0
- package/dist/styles/index.css +5 -0
- package/dist/types/Enums/Enums.d.ts +37 -0
- package/dist/types/components/BaseComponents/CometChatContextMenu/CometChatContextMenu.d.ts +1 -0
- package/dist/types/components/BaseComponents/CometChatList/CometChatList.d.ts +24 -4
- package/dist/types/components/CometChatConversations/CometChatConversations.d.ts +14 -1
- package/dist/types/components/CometChatMessageHeader/CometChatMessageHeader.d.ts +15 -0
- package/dist/types/components/CometChatMessageList/CometChatMessageList.d.ts +6 -0
- package/dist/types/components/CometChatMessageList/useCometChatMessageList.d.ts +1 -1
- package/dist/types/components/CometChatSearch/CometChatSearch.d.ts +240 -0
- package/dist/types/components/CometChatSearch/SearchConversationsManager.d.ts +50 -0
- package/dist/types/components/CometChatSearch/useCometChatSearchConversationsList.d.ts +207 -0
- package/dist/types/components/CometChatSearch/useCometChatSearchMessagesList.d.ts +127 -0
- package/dist/types/components/CometChatThreadHeader/CometChatThreadHeader.d.ts +8 -0
- package/dist/types/formatters/CometChatFormatters/CometChatTextHighlightFormatter/CometChatTextHighlightFormatter.d.ts +26 -0
- package/dist/types/formatters/index.d.ts +1 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/modals/CometChatSearchFilterOption.d.ts +34 -0
- package/dist/types/utils/SearchUtils.d.ts +30 -0
- package/dist/types/utils/util.d.ts +7 -0
- package/package.json +2 -2
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="17" viewBox="0 0 16 17" fill="none">
|
|
2
|
+
<path d="M12.6667 10.8337V12.8337C12.6667 13.2003 12.3667 13.5003 12 13.5003H11.3333V10.8337H12.6667ZM4.66667 10.8337V13.5003H4C3.63333 13.5003 3.33333 13.2003 3.33333 12.8337V10.8337H4.66667ZM8 2.16699C4.68667 2.16699 2 4.85366 2 8.16699V12.8337C2 13.9403 2.89333 14.8337 4 14.8337H6V9.50033H3.33333V8.16699C3.33333 5.58699 5.42 3.50033 8 3.50033C10.58 3.50033 12.6667 5.58699 12.6667 8.16699V9.50033H10V14.8337H12C13.1067 14.8337 14 13.9403 14 12.8337V8.16699C14 4.85366 11.3133 2.16699 8 2.16699Z" fill="#A1A1A1"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" height="16px" viewBox="0 -960 960 960" width="16px" fill="#e3e3e3"><path d="M240-384h336v-72H240v72Zm0-132h480v-72H240v72Zm0-132h480v-72H240v72ZM96-96v-696q0-29.7 21.15-50.85Q138.3-864 168-864h624q29.7 0 50.85 21.15Q864-821.7 864-792v480q0 29.7-21.15 50.85Q821.7-240 792-240H240L96-96Zm114-216h582v-480H168v522l42-42Zm-42 0v-480 480Z"/></svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="17" viewBox="0 0 16 17" fill="none">
|
|
2
|
+
<path d="M12.6667 3.83333V13.1667H3.33333V3.83333H12.6667ZM12.6667 2.5H3.33333C2.6 2.5 2 3.1 2 3.83333V13.1667C2 13.9 2.6 14.5 3.33333 14.5H12.6667C13.4 14.5 14 13.9 14 13.1667V3.83333C14 3.1 13.4 2.5 12.6667 2.5Z" fill="#A1A1A1"/>
|
|
3
|
+
<path d="M9.33333 11.8333H4.66667V10.5H9.33333V11.8333ZM11.3333 9.16667H4.66667V7.83333H11.3333V9.16667ZM11.3333 6.5H4.66667V5.16667H11.3333V6.5Z" fill="#A1A1A1"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="17" viewBox="0 0 16 17" fill="none">
|
|
2
|
+
<path d="M6.00004 9.66634C4.44004 9.66634 1.33337 10.4463 1.33337 11.9997V13.1663H10.6667V11.9997C10.6667 10.4463 7.56004 9.66634 6.00004 9.66634ZM2.89337 11.833C3.45337 11.4463 4.80671 10.9997 6.00004 10.9997C7.19337 10.9997 8.54671 11.4463 9.10671 11.833H2.89337ZM6.00004 8.49967C7.28671 8.49967 8.33337 7.45301 8.33337 6.16634C8.33337 4.87967 7.28671 3.83301 6.00004 3.83301C4.71337 3.83301 3.66671 4.87967 3.66671 6.16634C3.66671 7.45301 4.71337 8.49967 6.00004 8.49967ZM6.00004 5.16634C6.55337 5.16634 7.00004 5.61301 7.00004 6.16634C7.00004 6.71967 6.55337 7.16634 6.00004 7.16634C5.44671 7.16634 5.00004 6.71967 5.00004 6.16634C5.00004 5.61301 5.44671 5.16634 6.00004 5.16634ZM10.6934 9.70634C11.4667 10.2663 12 11.013 12 11.9997V13.1663H14.6667V11.9997C14.6667 10.653 12.3334 9.88634 10.6934 9.70634ZM10 8.49967C11.2867 8.49967 12.3334 7.45301 12.3334 6.16634C12.3334 4.87967 11.2867 3.83301 10 3.83301C9.64004 3.83301 9.30671 3.91967 9.00004 4.06634C9.42004 4.65967 9.66671 5.38634 9.66671 6.16634C9.66671 6.94634 9.42004 7.67301 9.00004 8.26634C9.30671 8.41301 9.64004 8.49967 10 8.49967Z" fill="#A1A1A1"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="17" viewBox="0 0 16 17" fill="none">
|
|
2
|
+
<path d="M11.3334 5.16699H8.66671V6.50033H11.3334C12.4334 6.50033 13.3334 7.40033 13.3334 8.50033C13.3334 9.60033 12.4334 10.5003 11.3334 10.5003H8.66671V11.8337H11.3334C13.1734 11.8337 14.6667 10.3403 14.6667 8.50033C14.6667 6.66033 13.1734 5.16699 11.3334 5.16699ZM7.33337 10.5003H4.66671C3.56671 10.5003 2.66671 9.60033 2.66671 8.50033C2.66671 7.40033 3.56671 6.50033 4.66671 6.50033H7.33337V5.16699H4.66671C2.82671 5.16699 1.33337 6.66033 1.33337 8.50033C1.33337 10.3403 2.82671 11.8337 4.66671 11.8337H7.33337V10.5003ZM5.33337 7.83366H10.6667V9.16699H5.33337V7.83366Z" fill="#A1A1A1"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none">
|
|
2
|
+
<path d="M11.3334 4.6665H8.66671V5.99984H11.3334C12.4334 5.99984 13.3334 6.89984 13.3334 7.99984C13.3334 9.09984 12.4334 9.99984 11.3334 9.99984H8.66671V11.3332H11.3334C13.1734 11.3332 14.6667 9.83984 14.6667 7.99984C14.6667 6.15984 13.1734 4.6665 11.3334 4.6665ZM7.33337 9.99984H4.66671C3.56671 9.99984 2.66671 9.09984 2.66671 7.99984C2.66671 6.89984 3.56671 5.99984 4.66671 5.99984H7.33337V4.6665H4.66671C2.82671 4.6665 1.33337 6.15984 1.33337 7.99984C1.33337 9.83984 2.82671 11.3332 4.66671 11.3332H7.33337V9.99984ZM5.33337 7.33317H10.6667V8.6665H5.33337V7.33317Z" fill="#A1A1A1"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" height="16px" viewBox="0 -960 960 960" width="16px" fill="#e3e3e3"><path d="M864-96 720-240H360q-29.7 0-50.85-21.15Q288-282.3 288-312v-48h384q29.7 0 50.85-21.15Q744-402.3 744-432v-240h48q29.7 0 50.85 21.15Q864-629.7 864-600v504ZM168-462l42-42h390v-288H168v330ZM96-288v-504q0-29.7 21.15-50.85Q138.3-864 168-864h432q29.7 0 50.85 21.15Q672-821.7 672-792v288q0 29.7-21.15 50.85Q629.7-432 600-432H240L96-288Zm72-216v-288 288Z"/></svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="17" viewBox="0 0 16 17" fill="none">
|
|
2
|
+
<path d="M12.6667 3.83333V13.1667H3.33333V3.83333H12.6667ZM12.6667 2.5H3.33333C2.6 2.5 2 3.1 2 3.83333V13.1667C2 13.9 2.6 14.5 3.33333 14.5H12.6667C13.4 14.5 14 13.9 14 13.1667V3.83333C14 3.1 13.4 2.5 12.6667 2.5ZM9.42667 8.40667L7.42667 10.9867L6 9.26L4 11.8333H12L9.42667 8.40667Z" fill="#A1A1A1"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120" viewBox="0 0 120 120" fill="none">
|
|
2
|
+
<g clip-path="url(#clip0_13442_134983)">
|
|
3
|
+
<path opacity="0.2" d="M105 45.2598H97.5V64.0098C97.5 74.3635 89.1037 82.7598 78.75 82.7598H45V90.2598C45 98.5435 51.7162 105.26 60 105.26H82.5L98.85 118.872C100.44 120.196 102.806 119.982 104.13 118.392C104.692 117.717 105 116.866 105 115.985V105.26C113.284 105.26 120 98.5435 120 90.2598V60.2598C120 51.976 113.284 45.2598 105 45.2598Z" fill="#DCDCDC"/>
|
|
4
|
+
<path opacity="0.2" d="M75 0.259766H15C6.71625 0.259766 0 6.97602 0 15.2598V60.2598C0 68.5435 6.71625 75.2598 15 75.2598V89.6223C15 91.6923 16.68 93.3723 18.75 93.3723C19.6425 93.3723 20.5088 93.0535 21.1875 92.4723L41.25 75.2598H75C83.2838 75.2598 90 68.5435 90 60.2598V15.2598C90 6.97602 83.2838 0.259766 75 0.259766ZM27.7875 43.0473C27.4575 43.411 27.0788 43.726 26.6625 43.9848C26.2575 44.2585 25.8337 44.4985 25.3875 44.6973C24.9225 44.8698 24.4462 45.0085 23.9625 45.1098C23.4825 45.2148 22.9912 45.2635 22.5 45.2598C18.3563 45.2598 15 41.9035 15 37.7598C14.9213 33.6198 18.2138 30.196 22.3538 30.1173C22.8937 30.106 23.4338 30.1548 23.9625 30.2598C24.4462 30.361 24.9225 30.4998 25.3875 30.6723C25.8412 30.8598 26.2688 31.096 26.6625 31.3848C27.0713 31.6435 27.4462 31.9435 27.7875 32.2848C29.2425 33.7323 30.0413 35.7085 30 37.7598C29.9925 39.7473 29.1975 41.6485 27.7875 43.0473ZM50.2875 43.0473C48.8887 44.4573 46.9875 45.2523 45 45.2598C44.5125 45.316 44.025 45.316 43.5375 45.2598C43.0537 45.1585 42.5775 45.0198 42.1125 44.8473C41.6662 44.6485 41.2425 44.4085 40.8375 44.1348C40.4175 43.8648 40.0275 43.5535 39.675 43.1973C38.2425 41.7535 37.4588 39.7923 37.5 37.7598C37.4437 37.2723 37.4437 36.7848 37.5 36.2973C37.6012 35.8135 37.74 35.3373 37.9125 34.8723C38.1 34.4185 38.3363 33.991 38.625 33.5973C38.8913 33.1848 39.195 32.7948 39.525 32.4348C39.885 32.1048 40.275 31.801 40.6875 31.5348C41.0813 31.246 41.5087 31.0098 41.9625 30.8223C42.4725 30.5898 42.9975 30.4023 43.5375 30.2598C47.5987 29.4498 51.5475 32.0898 52.3575 36.151C52.4625 36.6798 52.5112 37.2198 52.5 37.7598C52.5 39.7398 51.72 41.641 50.325 43.0473H50.2875ZM72.7875 43.0473C72.4575 43.411 72.0788 43.726 71.6625 43.9848C71.2575 44.2585 70.8338 44.4985 70.3875 44.6973C69.9225 44.8698 69.4463 45.0085 68.9625 45.1098C68.4825 45.2148 67.9912 45.2635 67.5 45.2598C63.3563 45.2598 60 41.9035 60 37.7598C59.9212 33.6198 63.2138 30.196 67.3538 30.1173C67.8938 30.106 68.4337 30.1548 68.9625 30.2598C69.4463 30.361 69.9225 30.4998 70.3875 30.6723C70.8413 30.8598 71.2688 31.096 71.6625 31.3848C72.0713 31.6435 72.4463 31.9435 72.7875 32.2848C74.2425 33.7323 75.0413 35.7085 75 37.7598C74.9925 39.7473 74.1975 41.6485 72.7875 43.0473Z" fill="#DCDCDC"/>
|
|
5
|
+
<path d="M47.7349 18.3633C41.9551 18.3602 36.3043 20.0713 31.497 23.2801C26.6898 26.4889 22.9422 31.0513 20.7283 36.3902C18.5143 41.7291 17.9334 47.6047 19.0591 53.2738C20.1847 58.9429 22.9664 64.1508 27.0522 68.2389C31.138 72.3269 36.3445 75.1114 42.013 76.2401C47.6815 77.3688 53.5574 76.7911 58.8975 74.58C64.2376 72.3688 68.802 68.6237 72.0134 63.8182C75.2248 59.0127 76.9389 53.3628 76.9389 47.583C76.9389 39.8362 73.8626 32.4064 68.3862 26.9271C62.9099 21.4478 55.4817 18.3674 47.7349 18.3633Z" fill="white" stroke="#A1A1A1" stroke-width="1.57011" stroke-linecap="round" stroke-linejoin="round"/>
|
|
6
|
+
<path d="M68.5233 68.7793L76.311 76.567" stroke="#A1A1A1" stroke-width="1.57011" stroke-linecap="round" stroke-linejoin="round"/>
|
|
7
|
+
<path d="M75.4307 72.7835L73.0113 75.3144C71.9267 76.4489 71.9672 78.2479 73.1017 79.3324L94.0982 99.4041C95.2328 100.489 97.0317 100.448 98.1163 99.3137L100.536 96.7827C101.62 95.6482 101.58 93.8493 100.445 92.7647L79.4487 72.693C78.3142 71.6084 76.5153 71.6489 75.4307 72.7835Z" fill="#A1A1A1"/>
|
|
8
|
+
</g>
|
|
9
|
+
<defs>
|
|
10
|
+
<clipPath id="clip0_13442_134983">
|
|
11
|
+
<rect width="120" height="120" fill="white"/>
|
|
12
|
+
</clipPath>
|
|
13
|
+
</defs>
|
|
14
|
+
</svg>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="17" viewBox="0 0 16 17" fill="none">
|
|
2
|
+
<path d="M13.3334 11.8337H2.66671V3.83366H9.40004C9.34671 3.57366 9.28004 3.09366 9.40004 2.50033H2.66671C1.93337 2.50033 1.33337 3.10033 1.33337 3.83366V15.8337L4.00004 13.167H13.3334C14.0667 13.167 14.6667 12.567 14.6667 11.8337V5.82033C14.28 6.11366 13.8267 6.33366 13.3334 6.43366V11.8337Z" fill="#A1A1A1"/>
|
|
3
|
+
<path d="M12.6667 5.16699C13.7713 5.16699 14.6667 4.27156 14.6667 3.16699C14.6667 2.06242 13.7713 1.16699 12.6667 1.16699C11.5621 1.16699 10.6667 2.06242 10.6667 3.16699C10.6667 4.27156 11.5621 5.16699 12.6667 5.16699Z" fill="#A1A1A1"/>
|
|
4
|
+
<path d="M9.33337 9.16699H4.00004V10.5003H9.33337V9.16699Z" fill="#A1A1A1"/>
|
|
5
|
+
<path d="M12 7.16699H4.00004V8.50033H12V7.16699Z" fill="#A1A1A1"/>
|
|
6
|
+
<path d="M4.00004 6.50033H12V6.43366C11.1934 6.26699 10.5 5.80033 10.02 5.16699H4.00004V6.50033Z" fill="#A1A1A1"/>
|
|
7
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="17" viewBox="0 0 16 17" fill="none">
|
|
2
|
+
<path d="M10 5.83333V11.1667H3.33333V5.83333H10ZM10.6667 4.5H2.66667C2.3 4.5 2 4.8 2 5.16667V11.8333C2 12.2 2.3 12.5 2.66667 12.5H10.6667C11.0333 12.5 11.3333 12.2 11.3333 11.8333V9.5L14 12.1667V4.83333L11.3333 7.5V5.16667C11.3333 4.8 11.0333 4.5 10.6667 4.5Z" fill="#A1A1A1"/>
|
|
3
|
+
</svg>
|
package/dist/index.d.ts
CHANGED
|
@@ -288,6 +288,43 @@ declare enum MentionsVisibility {
|
|
|
288
288
|
groupConversationOnly = 1,
|
|
289
289
|
both = 2
|
|
290
290
|
}
|
|
291
|
+
/**
|
|
292
|
+
* Specifies the scope of the search functionality.
|
|
293
|
+
*
|
|
294
|
+
* @remarks
|
|
295
|
+
* - `Conversations`: Limits the search to conversations only.
|
|
296
|
+
* - `Messages`: Limits the search to messages only.
|
|
297
|
+
*
|
|
298
|
+
*/
|
|
299
|
+
declare enum CometChatSearchScope {
|
|
300
|
+
Conversations = "conversations",
|
|
301
|
+
Messages = "messages"
|
|
302
|
+
}
|
|
303
|
+
/**
|
|
304
|
+
* Specifies the filters available for the search functionality.
|
|
305
|
+
*
|
|
306
|
+
* @remarks
|
|
307
|
+
* - `Messages`: Filters to search within messages.
|
|
308
|
+
* - `Conversations`: Filters to search within conversations.
|
|
309
|
+
* - `Unread`: Filters to search for unread messages.
|
|
310
|
+
* - `Groups`: Filters to search within groups.
|
|
311
|
+
* - `Photos`: Filters to search for photo messages.
|
|
312
|
+
* - `Videos`: Filters to search for video messages.
|
|
313
|
+
* - `Links`: Filters to search for links shared in messages.
|
|
314
|
+
* - `Documents`: Filters to search for document files.
|
|
315
|
+
* - `Audio`: Filters to search for audio messages.
|
|
316
|
+
*/
|
|
317
|
+
declare enum CometChatSearchFilter {
|
|
318
|
+
Messages = "messages",
|
|
319
|
+
Conversations = "conversations",
|
|
320
|
+
Unread = "unread",
|
|
321
|
+
Groups = "groups",
|
|
322
|
+
Photos = "photos",
|
|
323
|
+
Videos = "videos",
|
|
324
|
+
Links = "links",
|
|
325
|
+
Documents = "files",
|
|
326
|
+
Audio = "audio"
|
|
327
|
+
}
|
|
291
328
|
|
|
292
329
|
interface MentionsProps {
|
|
293
330
|
/**
|
|
@@ -1173,6 +1210,32 @@ declare class CometChatUrlsFormatter extends CometChatTextFormatter {
|
|
|
1173
1210
|
registerEventListeners(element: HTMLElement, classList: DOMTokenList): HTMLElement;
|
|
1174
1211
|
}
|
|
1175
1212
|
|
|
1213
|
+
/**
|
|
1214
|
+
* Class that handles the text highlighting for specific patterns.
|
|
1215
|
+
* CometChatTextHighlightFormatter is a child class of CometChatTextFormatter.
|
|
1216
|
+
* It extends the functionality of text formatting to specifically highlight text patterns.
|
|
1217
|
+
* It can be used to highlight specific words or patterns.
|
|
1218
|
+
*/
|
|
1219
|
+
declare class CometChatTextHighlightFormatter extends CometChatTextFormatter {
|
|
1220
|
+
constructor(pattern?: string | RegExp);
|
|
1221
|
+
/**
|
|
1222
|
+
* Sets the text pattern to highlight
|
|
1223
|
+
* @param pattern The text pattern (string or RegExp) to highlight
|
|
1224
|
+
*/
|
|
1225
|
+
setText(pattern: string | RegExp): void;
|
|
1226
|
+
/**
|
|
1227
|
+
* Generates a unique ID for the highlight span
|
|
1228
|
+
*/
|
|
1229
|
+
getUniqueId(): string;
|
|
1230
|
+
/**
|
|
1231
|
+
* Format the text by applying highlighting to matches of the regex pattern
|
|
1232
|
+
* @param inputText The text to format
|
|
1233
|
+
* @param params Optional parameters
|
|
1234
|
+
* @returns The formatted text with highlights
|
|
1235
|
+
*/
|
|
1236
|
+
getFormattedText(inputText: string | null): string | void;
|
|
1237
|
+
}
|
|
1238
|
+
|
|
1176
1239
|
/**
|
|
1177
1240
|
* CometChatMessageTemplate is a pre-defined structure for creating message views
|
|
1178
1241
|
* that can be used as a starting point or blueprint for creating message views,
|
|
@@ -2193,6 +2256,8 @@ interface ListProps<T> {
|
|
|
2193
2256
|
* Hide the search bar
|
|
2194
2257
|
*
|
|
2195
2258
|
* @defaulValue `false`
|
|
2259
|
+
* @remarks
|
|
2260
|
+
* This property is ignored when a custom `searchView` is provided
|
|
2196
2261
|
*/
|
|
2197
2262
|
hideSearch?: boolean;
|
|
2198
2263
|
/**
|
|
@@ -2291,11 +2356,29 @@ interface ListProps<T> {
|
|
|
2291
2356
|
*/
|
|
2292
2357
|
onError?: ((error: CometChat.CometChatException) => void) | null;
|
|
2293
2358
|
/**
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2359
|
+
* Title of the component
|
|
2360
|
+
*
|
|
2361
|
+
* @defaultValue `""`
|
|
2362
|
+
*/
|
|
2298
2363
|
title?: string;
|
|
2364
|
+
/**
|
|
2365
|
+
* A custom search bar component to display in the header.
|
|
2366
|
+
*
|
|
2367
|
+
* @remarks
|
|
2368
|
+
* When provided, this component overrides the default search bar and the `hideSearch` property.
|
|
2369
|
+
* The custom search view will be displayed even if `hideSearch` is set to true.
|
|
2370
|
+
*/
|
|
2371
|
+
searchView?: JSX.Element;
|
|
2372
|
+
/**
|
|
2373
|
+
* Callback triggered when the search bar is clicked.
|
|
2374
|
+
*/
|
|
2375
|
+
onSearchBarClicked?: () => void;
|
|
2376
|
+
/**
|
|
2377
|
+
* Show shimmer effect on top of the list
|
|
2378
|
+
*
|
|
2379
|
+
* @defaultValue `false`
|
|
2380
|
+
*/
|
|
2381
|
+
showShimmerOnTop?: boolean;
|
|
2299
2382
|
/**
|
|
2300
2383
|
* Controls the visibility of the scrollbar in the list.
|
|
2301
2384
|
* @defaultValue `false`
|
|
@@ -3561,9 +3644,22 @@ interface ConversationsProps {
|
|
|
3561
3644
|
*/
|
|
3562
3645
|
trailingView?: (conversation: CometChat.Conversation) => JSX.Element;
|
|
3563
3646
|
/**
|
|
3564
|
-
|
|
3647
|
+
* A custom search bar component to display in the Conversations header.
|
|
3648
|
+
*/
|
|
3649
|
+
searchView?: JSX.Element;
|
|
3650
|
+
/**
|
|
3651
|
+
* Callback triggered when the search bar is clicked.
|
|
3652
|
+
*/
|
|
3653
|
+
onSearchBarClicked?: () => void;
|
|
3654
|
+
/**
|
|
3655
|
+
* Determines whether to display the search bar in the Conversations header.
|
|
3656
|
+
*
|
|
3565
3657
|
* @defaultValue `false`
|
|
3566
3658
|
*/
|
|
3659
|
+
showSearchBar?: boolean;
|
|
3660
|
+
/** Controls the visibility of the scrollbar in the list.
|
|
3661
|
+
* @defaultValue `false`
|
|
3662
|
+
*/
|
|
3567
3663
|
showScrollbar?: boolean;
|
|
3568
3664
|
}
|
|
3569
3665
|
/**
|
|
@@ -4054,6 +4150,16 @@ interface MessageHeaderProps {
|
|
|
4054
4150
|
* @default false
|
|
4055
4151
|
*/
|
|
4056
4152
|
showConversationSummaryButton?: boolean;
|
|
4153
|
+
/**
|
|
4154
|
+
* Shows the search option.
|
|
4155
|
+
* @default false
|
|
4156
|
+
*/
|
|
4157
|
+
showSearchOption?: boolean;
|
|
4158
|
+
/**
|
|
4159
|
+
* Callback function triggered when search option is clicked.
|
|
4160
|
+
* @returns void
|
|
4161
|
+
*/
|
|
4162
|
+
onSearchOptionClicked?: () => void;
|
|
4057
4163
|
/**
|
|
4058
4164
|
* Hides the back button in the header in mobile view.
|
|
4059
4165
|
* @deprecated Use 'showBackButton' prop instead. This prop is deprecated and will be removed in future versions.
|
|
@@ -4140,6 +4246,11 @@ interface MessageHeaderProps {
|
|
|
4140
4246
|
* Format for displaying the "last active" timestamp in the message header.
|
|
4141
4247
|
*/
|
|
4142
4248
|
lastActiveAtDateTimeFormat?: CalendarObject;
|
|
4249
|
+
/**
|
|
4250
|
+
* Callback function triggered when the message header item is clicked.
|
|
4251
|
+
* @returns void
|
|
4252
|
+
*/
|
|
4253
|
+
onItemClick?: () => void;
|
|
4143
4254
|
}
|
|
4144
4255
|
/** Functional component for rendering the CometChatMessageHeader */
|
|
4145
4256
|
declare const CometChatMessageHeader: (props: MessageHeaderProps) => react_jsx_runtime.JSX.Element;
|
|
@@ -4355,6 +4466,12 @@ interface MessageListProps {
|
|
|
4355
4466
|
* Format for timestamps displayed in message details (e.g., delivery or read time).
|
|
4356
4467
|
*/
|
|
4357
4468
|
messageInfoDateTimeFormat?: CalendarObject;
|
|
4469
|
+
/**
|
|
4470
|
+
* ID of the message to automatically scroll to when the message list loads.
|
|
4471
|
+
* @type {string}
|
|
4472
|
+
* @optional
|
|
4473
|
+
*/
|
|
4474
|
+
goToMessageId?: string;
|
|
4358
4475
|
/**
|
|
4359
4476
|
* Controls the visibility of the scrollbar in the list.
|
|
4360
4477
|
* @defaultValue `false`
|
|
@@ -5101,6 +5218,7 @@ interface ContextMenuProps {
|
|
|
5101
5218
|
closeOnOutsideClick?: boolean;
|
|
5102
5219
|
disableBackgroundInteraction?: boolean;
|
|
5103
5220
|
useParentContainer?: boolean;
|
|
5221
|
+
useParentHeight?: boolean;
|
|
5104
5222
|
}
|
|
5105
5223
|
/**
|
|
5106
5224
|
* CometChatContextMenu is a composite component used to display menu data in required format.
|
|
@@ -5899,6 +6017,13 @@ declare function sanitizeCalendarObject(calendarObject?: CalendarObject): {
|
|
|
5899
6017
|
};
|
|
5900
6018
|
declare function fireClickEvent(): void;
|
|
5901
6019
|
declare const decodeHTML: (input: string) => string;
|
|
6020
|
+
/**
|
|
6021
|
+
* Custom React hook for creating debounced callbacks with automatic cleanup.
|
|
6022
|
+
*/
|
|
6023
|
+
declare const useDebouncedCallback: (callback: () => void, delay: number) => {
|
|
6024
|
+
debouncedCallback: () => void;
|
|
6025
|
+
cleanup: () => void;
|
|
6026
|
+
};
|
|
5902
6027
|
|
|
5903
6028
|
/**
|
|
5904
6029
|
* Utility class for managing local storage with change detection capabilities.
|
|
@@ -5992,6 +6117,14 @@ interface CometChatThreadHeaderProps {
|
|
|
5992
6117
|
* Array of text formatters for custom styling or formatting of message text bubbles.
|
|
5993
6118
|
*/
|
|
5994
6119
|
textFormatters?: CometChatTextFormatter[];
|
|
6120
|
+
/**
|
|
6121
|
+
* Callback function triggered when the subtitle is clicked.
|
|
6122
|
+
*/
|
|
6123
|
+
onSubtitleClicked?: () => void;
|
|
6124
|
+
/**
|
|
6125
|
+
* Custom subtitle view to display below the thread title.
|
|
6126
|
+
*/
|
|
6127
|
+
subtitleView?: JSX.Element;
|
|
5995
6128
|
/**
|
|
5996
6129
|
* Controls the visibility of the scrollbar in the list.
|
|
5997
6130
|
* @defaultValue `false`
|
|
@@ -6140,5 +6273,261 @@ declare function useRefSync<T>(value: T): React__default.MutableRefObject<T>;
|
|
|
6140
6273
|
declare function useStateRef<T>(initialValue: T): [T, (node: T) => void];
|
|
6141
6274
|
declare function useCometChatErrorHandler(onError?: ((error: CometChat.CometChatException) => void) | null): (error: unknown, source?: string) => void;
|
|
6142
6275
|
|
|
6143
|
-
|
|
6276
|
+
/**
|
|
6277
|
+
* Checks if two dates (timestamps) are from different months or years
|
|
6278
|
+
*
|
|
6279
|
+
* @param firstDate - First timestamp to compare in milliseconds
|
|
6280
|
+
* @param secondDate - Second timestamp to compare in milliseconds
|
|
6281
|
+
* @param errorHandler - Optional error handler function for exception handling
|
|
6282
|
+
* @returns boolean indicating if the dates belong to different months or years
|
|
6283
|
+
*/
|
|
6284
|
+
declare function isMonthDifferent(firstDate?: number, secondDate?: number, errorHandler?: (error: unknown, source?: string) => void): boolean;
|
|
6285
|
+
/**
|
|
6286
|
+
* Get common date format based on provided custom format
|
|
6287
|
+
* @returns CalendarObject with format specifications
|
|
6288
|
+
*/
|
|
6289
|
+
declare function getCommonDateFormat(customFormat?: CalendarObject): CalendarObject;
|
|
6290
|
+
/**
|
|
6291
|
+
* Checks if message search criteria are valid
|
|
6292
|
+
* Returns true if search keyword exists or if valid filters are active
|
|
6293
|
+
*/
|
|
6294
|
+
declare function hasValidMessageSearchCriteria(searchKeyword: string, filters: CometChatSearchFilter[]): boolean;
|
|
6295
|
+
/**
|
|
6296
|
+
* Checks if conversation search criteria are valid
|
|
6297
|
+
* Returns true if search keyword exists or if valid filters are active
|
|
6298
|
+
*/
|
|
6299
|
+
declare function hasValidConversationSearchCriteria(searchKeyword: string, filters: CometChatSearchFilter[]): boolean;
|
|
6300
|
+
/**
|
|
6301
|
+
* Checks if a message has link preview metadata
|
|
6302
|
+
*/
|
|
6303
|
+
declare function hasLink(metadata: any): boolean;
|
|
6304
|
+
|
|
6305
|
+
/**
|
|
6306
|
+
* Props for the CometChatSearch component
|
|
6307
|
+
*/
|
|
6308
|
+
interface SearchProps {
|
|
6309
|
+
/**
|
|
6310
|
+
* Callback triggered when the back button is clicked
|
|
6311
|
+
* Use this to handle navigation when user clicks the back button
|
|
6312
|
+
*
|
|
6313
|
+
* @defaultValue () => {}
|
|
6314
|
+
*/
|
|
6315
|
+
onBack?: () => void;
|
|
6316
|
+
/**
|
|
6317
|
+
* Whether to hide the back button
|
|
6318
|
+
*
|
|
6319
|
+
* @defaultValue false - back button is shown
|
|
6320
|
+
*/
|
|
6321
|
+
hideBackButton?: boolean;
|
|
6322
|
+
/**
|
|
6323
|
+
* Callback triggered when a conversation is clicked in search results
|
|
6324
|
+
* Receives the conversation object and the search keyword that was used
|
|
6325
|
+
*
|
|
6326
|
+
* @param conversation - The conversation that was clicked
|
|
6327
|
+
* @param searchKeyword - The keyword that was used in the search
|
|
6328
|
+
*/
|
|
6329
|
+
onConversationClicked?: (conversation: CometChat.Conversation, searchKeyword?: string) => void;
|
|
6330
|
+
/**
|
|
6331
|
+
* Callback triggered when a message is clicked in search results
|
|
6332
|
+
* Receives the message object and the search keyword that was used
|
|
6333
|
+
*
|
|
6334
|
+
* @param message - The message that was clicked
|
|
6335
|
+
* @param searchKeyword - The keyword that was used in the search
|
|
6336
|
+
*/
|
|
6337
|
+
onMessageClicked?: (message: CometChat.BaseMessage, searchKeyword?: string) => void;
|
|
6338
|
+
/**
|
|
6339
|
+
* Array of search filters to display in the filter bar
|
|
6340
|
+
* These allow users to narrow down their search results
|
|
6341
|
+
*
|
|
6342
|
+
* @defaultValue All available filters (Audio, Documents, Groups, Photos, Videos, Links, Unread)
|
|
6343
|
+
*/
|
|
6344
|
+
searchFilters?: Array<CometChatSearchFilter>;
|
|
6345
|
+
/**
|
|
6346
|
+
* Filter that should be active by default when the component loads
|
|
6347
|
+
* This allows pre-filtering the search results
|
|
6348
|
+
*/
|
|
6349
|
+
initialSearchFilter?: CometChatSearchFilter;
|
|
6350
|
+
/**
|
|
6351
|
+
* Scopes to search in (Conversations, Messages, or both)
|
|
6352
|
+
* Controls whether to search in conversations, messages, or both
|
|
6353
|
+
*
|
|
6354
|
+
* @defaultValue [CometChatSearchScope.All] - searches in both conversations and messages
|
|
6355
|
+
*/
|
|
6356
|
+
searchIn?: Array<CometChatSearchScope>;
|
|
6357
|
+
/**
|
|
6358
|
+
* Custom view for conversation items in the search results
|
|
6359
|
+
* Use this to completely customize how conversation items are rendered
|
|
6360
|
+
*
|
|
6361
|
+
* @param conversation - The conversation object to render
|
|
6362
|
+
* @returns JSX element representing the conversation item
|
|
6363
|
+
*/
|
|
6364
|
+
conversationItemView?: (conversation: CometChat.Conversation) => JSX.Element;
|
|
6365
|
+
/**
|
|
6366
|
+
* Custom leading view for conversation items (typically avatar/icon)
|
|
6367
|
+
* Use this to customize just the leading section of conversation items
|
|
6368
|
+
*
|
|
6369
|
+
* @param conversation - The conversation object to render the leading view for
|
|
6370
|
+
* @returns JSX element for the leading part of the conversation item
|
|
6371
|
+
*/
|
|
6372
|
+
conversationLeadingView?: (conversation: CometChat.Conversation) => JSX.Element;
|
|
6373
|
+
/**
|
|
6374
|
+
* Custom title view for conversation items
|
|
6375
|
+
* Use this to customize how the title of conversation items is displayed
|
|
6376
|
+
*
|
|
6377
|
+
* @param conversation - The conversation object to render the title for
|
|
6378
|
+
* @returns JSX element for the title of the conversation item
|
|
6379
|
+
*/
|
|
6380
|
+
conversationTitleView?: (conversation: CometChat.Conversation) => JSX.Element;
|
|
6381
|
+
/**
|
|
6382
|
+
* Custom subtitle view for conversation items
|
|
6383
|
+
* Use this to customize how the subtitle (typically last message) is displayed
|
|
6384
|
+
*
|
|
6385
|
+
* @param conversation - The conversation object to render the subtitle for
|
|
6386
|
+
* @returns JSX element for the subtitle of the conversation item
|
|
6387
|
+
*/
|
|
6388
|
+
conversationSubtitleView?: (conversation: CometChat.Conversation) => JSX.Element;
|
|
6389
|
+
/**
|
|
6390
|
+
* Custom trailing view for conversation items (typically timestamp)
|
|
6391
|
+
* Use this to customize what appears at the end of conversation items
|
|
6392
|
+
*
|
|
6393
|
+
* @param conversation - The conversation object to render the trailing view for
|
|
6394
|
+
* @returns JSX element for the trailing part of the conversation item
|
|
6395
|
+
*/
|
|
6396
|
+
conversationTrailingView?: (conversation: CometChat.Conversation) => JSX.Element;
|
|
6397
|
+
/**
|
|
6398
|
+
* Request builder for conversations search
|
|
6399
|
+
* Use this to customize the conversation search request parameters
|
|
6400
|
+
*
|
|
6401
|
+
* @defaultValue New instance with default parameters and search keyword
|
|
6402
|
+
*/
|
|
6403
|
+
conversationsRequestBuilder?: CometChat.ConversationsRequestBuilder;
|
|
6404
|
+
/**
|
|
6405
|
+
* Custom view for message items in the search results
|
|
6406
|
+
* Use this to completely customize how message items are rendered
|
|
6407
|
+
*
|
|
6408
|
+
* @param message - The message object to render
|
|
6409
|
+
* @returns JSX element representing the message item
|
|
6410
|
+
*/
|
|
6411
|
+
messageItemView?: (message: CometChat.BaseMessage) => JSX.Element;
|
|
6412
|
+
/**
|
|
6413
|
+
* Custom leading view for message items (typically sender avatar/icon)
|
|
6414
|
+
* Use this to customize just the leading section of message items
|
|
6415
|
+
*
|
|
6416
|
+
* @param message - The message object to render the leading view for
|
|
6417
|
+
* @returns JSX element for the leading part of the message item
|
|
6418
|
+
*/
|
|
6419
|
+
messageLeadingView?: (message: CometChat.BaseMessage) => JSX.Element;
|
|
6420
|
+
/**
|
|
6421
|
+
* Custom title view for message items (typically sender name)
|
|
6422
|
+
* Use this to customize how the title of message items is displayed
|
|
6423
|
+
*
|
|
6424
|
+
* @param message - The message object to render the title for
|
|
6425
|
+
* @returns JSX element for the title of the message item
|
|
6426
|
+
*/
|
|
6427
|
+
messageTitleView?: (message: CometChat.BaseMessage) => JSX.Element;
|
|
6428
|
+
/**
|
|
6429
|
+
* Custom subtitle view for message items (typically message content)
|
|
6430
|
+
* Use this to customize how the subtitle/content is displayed
|
|
6431
|
+
*
|
|
6432
|
+
* @param message - The message object to render the subtitle for
|
|
6433
|
+
* @returns JSX element for the subtitle of the message item
|
|
6434
|
+
*/
|
|
6435
|
+
messageSubtitleView?: (message: CometChat.BaseMessage) => JSX.Element;
|
|
6436
|
+
/**
|
|
6437
|
+
* Custom trailing view for message items (typically timestamp)
|
|
6438
|
+
* Use this to customize what appears at the end of message items
|
|
6439
|
+
*
|
|
6440
|
+
* @param message - The message object to render the trailing view for
|
|
6441
|
+
* @returns JSX element for the trailing part of the message item
|
|
6442
|
+
*/
|
|
6443
|
+
messageTrailingView?: (message: CometChat.BaseMessage) => JSX.Element;
|
|
6444
|
+
/**
|
|
6445
|
+
* Request builder for messages search
|
|
6446
|
+
* Use this to customize the message search request parameters
|
|
6447
|
+
*
|
|
6448
|
+
* @defaultValue New instance with default parameters and search keyword
|
|
6449
|
+
*/
|
|
6450
|
+
messagesRequestBuilder?: CometChat.MessagesRequestBuilder;
|
|
6451
|
+
/**
|
|
6452
|
+
* Custom view for empty state when no search results are found
|
|
6453
|
+
* This will be displayed when search returns no results
|
|
6454
|
+
*/
|
|
6455
|
+
emptyView?: JSX.Element;
|
|
6456
|
+
/**
|
|
6457
|
+
* Custom view for error state when search fails
|
|
6458
|
+
* This will be displayed when an error occurs during search
|
|
6459
|
+
*/
|
|
6460
|
+
errorView?: JSX.Element;
|
|
6461
|
+
/**
|
|
6462
|
+
* Custom view for loading state during search
|
|
6463
|
+
* This will be displayed while search is in progress
|
|
6464
|
+
*/
|
|
6465
|
+
loadingView?: JSX.Element;
|
|
6466
|
+
/**
|
|
6467
|
+
* Custom view for initial state before user enters a search query
|
|
6468
|
+
* This will be displayed when the search component first loads
|
|
6469
|
+
*
|
|
6470
|
+
* @defaultValue Basic prompt encouraging user to search
|
|
6471
|
+
*/
|
|
6472
|
+
initialView?: JSX.Element;
|
|
6473
|
+
/**
|
|
6474
|
+
* Format for message sent date/time in the UI
|
|
6475
|
+
* Customize how timestamps are displayed in message items
|
|
6476
|
+
*/
|
|
6477
|
+
messageSentAtDateTimeFormat?: CalendarObject;
|
|
6478
|
+
/**
|
|
6479
|
+
* Custom text formatters for message content
|
|
6480
|
+
* Use these to customize how message text is formatted (e.g., emoji, links, mentions)
|
|
6481
|
+
*/
|
|
6482
|
+
textFormatters?: CometChatTextFormatter[];
|
|
6483
|
+
/**
|
|
6484
|
+
* Whether to hide the group type icon in group conversations
|
|
6485
|
+
*
|
|
6486
|
+
* @defaultValue false - group type icons are shown
|
|
6487
|
+
*/
|
|
6488
|
+
hideGroupType?: boolean;
|
|
6489
|
+
/**
|
|
6490
|
+
* Whether to hide user online/offline status indicators
|
|
6491
|
+
*
|
|
6492
|
+
* @defaultValue false - user status is shown
|
|
6493
|
+
*/
|
|
6494
|
+
hideUserStatus?: boolean;
|
|
6495
|
+
/**
|
|
6496
|
+
* Whether to hide message receipt indicators (sent/delivered/read)
|
|
6497
|
+
*
|
|
6498
|
+
* @defaultValue false - receipts are shown
|
|
6499
|
+
*/
|
|
6500
|
+
hideReceipts?: boolean;
|
|
6501
|
+
/**
|
|
6502
|
+
* User ID to search within specific user's messages
|
|
6503
|
+
* When provided, search will be limited to messages with this user
|
|
6504
|
+
*/
|
|
6505
|
+
uid?: string;
|
|
6506
|
+
/**
|
|
6507
|
+
* Group ID to search within specific group's messages
|
|
6508
|
+
* When provided, search will be limited to messages in this group
|
|
6509
|
+
*/
|
|
6510
|
+
guid?: string;
|
|
6511
|
+
/**
|
|
6512
|
+
* Custom options for conversation items in search results
|
|
6513
|
+
* Function that returns array of options (e.g., for context menu)
|
|
6514
|
+
*
|
|
6515
|
+
* @param conversation - The conversation to generate options for
|
|
6516
|
+
* @returns Array of option objects or null for no options
|
|
6517
|
+
*/
|
|
6518
|
+
conversationOptions?: ((conversation: CometChat.Conversation) => CometChatOption[]) | null;
|
|
6519
|
+
/**
|
|
6520
|
+
* Custom error handler for search operations
|
|
6521
|
+
* Override the default error handling behavior
|
|
6522
|
+
*
|
|
6523
|
+
* @param error - The error that occurred during a search operation
|
|
6524
|
+
*/
|
|
6525
|
+
onError?: (error: CometChat.CometChatException) => void;
|
|
6526
|
+
}
|
|
6527
|
+
/**
|
|
6528
|
+
* CometChatSearch component for searching conversations and messages in CometChat
|
|
6529
|
+
*/
|
|
6530
|
+
declare function CometChatSearch(props: SearchProps): react_jsx_runtime.JSX.Element;
|
|
6531
|
+
|
|
6532
|
+
export { AuxiliaryButtonAlignment, ButtonAction, CalendarObject, CallButtonConfiguration, CallWorkflow, CallingConfiguration, CallingDetailsUtils, CallingExtension, CallingExtensionDecorator, ChatConfigurator, ChatSdkEventInitializer, CollaborativeDocumentConfiguration, CollaborativeDocumentExtension, CollaborativeDocumentExtensionDecorator, CollaborativeWhiteBoardExtensionDecorator, CollaborativeWhiteboardConfiguration, CollaborativeWhiteboardExtension, CometChatActionBubble, CometChatActionSheet, CometChatActions, CometChatActionsIcon, CometChatActionsView, CometChatAudioBubble, CometChatAvatar, CometChatButton, CometChatCallBubble, CometChatCallButtons, CometChatCallEvents, CometChatCallLogs, CometChatChangeScope, CometChatCheckbox, CometChatConfirmDialog, CometChatContextMenu, CometChatConversationEvents, CometChatConversations, CometChatDate, CometChatDeleteBubble, CometChatDocumentBubble, CometChatDropDown, CometChatEditPreview, CometChatEmojiKeyboard, CometChatFileBubble, CometChatFullScreenViewer, CometChatGroupEvents, CometChatGroupMembers, CometChatGroups, CometChatImageBubble, CometChatIncomingCall, CometChatList, CometChatListItem, CometChatLocalize, CometChatMediaRecorder, CometChatMentionsFormatter, CometChatMessageBubble, CometChatMessageComposer, CometChatMessageComposerAction, CometChatMessageEvents, CometChatMessageHeader, CometChatMessageInformation, CometChatMessageList, CometChatMessageOption, CometChatMessageTemplate, CometChatOngoingCall, CometChatOption, CometChatOutgoingCall, CometChatPopover, CometChatRadioButton, CometChatReactionInfo, CometChatReactionList, CometChatReactions, CometChatSearch, CometChatSearchBar, CometChatSearchFilter, CometChatSearchScope, CometChatTextBubble, CometChatTextFormatter, CometChatTextHighlightFormatter, CometChatThreadHeader, CometChatToast, CometChatUIEvents, CometChatUIKit, CometChatUIKitCalls, CometChatUIKitConstants, CometChatUIKitLoginListener, CometChatUIKitUtility, CometChatUrlsFormatter, CometChatUserEvents, CometChatUserMemberWrapper, CometChatUsers, CometChatUtilityConstants, CometChatVideoBubble, ConversationUtils, DataSource, DataSourceDecorator, DateTimePickerMode, DocumentIconAlignment, ElementType, EnterKeyBehavior, ExtensionsDataSource, GroupMemberUtils, HTTPSRequestMethods, IconButtonAlignment, LabelAlignment, LinkPreviewExtension, LinkPreviewExtensionDecorator, MentionsTargetElement, MentionsVisibility, MessageBubbleAlignment, MessageListAlignment, MessageReceiptUtils, MessageStatus, MessageTranslationExtension, MessageTranslationExtensionDecorator, MessageUtils, MessagesDataSource, MouseEventSource, OutgoingCallConfiguration, PanelAlignment, Placement$1 as Placement, PollsConfiguration, PollsExtension, PollsExtensionDecorator, PreviewMessageMode, Receipts, RecordingType, SelectionMode, States, StickersExtension, StickersExtensionDecorator, StorageUtils, TabAlignment, TabsVisibility, ThumbnailGenerationExtension, ThumbnailGenerationExtensionDecorator, TimestampAlignment, TitleAlignment, UIKitSettings, UIKitSettingsBuilder, UserMemberListType, closeCurrentMediaPlayer, convertMinutesToHoursMinutesSeconds, convertSecondsToHoursMinutesSeconds, currentAudioPlayer, currentMediaPlayer, decodeHTML, downloadRecordingFromURL, fireClickEvent, formatDateFromTimestamp, getCommonDateFormat, getLocalizedString, getThemeMode, getThemeVariable, hasLink, hasValidConversationSearchCriteria, hasValidMessageSearchCriteria, isMessageSentByMe, isMissedCall, isMobileDevice, isMonthDifferent, isSafari, isSentByMe, isURL, processFileForAudio, sanitizeCalendarObject, sanitizeHtml, useCometChatErrorHandler, useDebouncedCallback, useRefSync, useStateRef, verifyCallUser };
|
|
6144
6533
|
export type { IActiveChatChanged, IDialog, IGroupLeft, IGroupMemberAdded, IGroupMemberJoined, IGroupMemberKickedBanned, IGroupMemberScopeChanged, IGroupMemberUnBanned, IMentionsCountWarning, IMessages, IModal, IMouseEvent, IOpenChat, IOwnershipChanged, IPanel, IShowOngoingCall, LocalizationSettings, PollOptions };
|