@cometchat/chat-uikit-react 6.3.13 → 6.4.0
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/bin.svg +1 -0
- package/dist/assets/format_blockquote.svg +3 -0
- package/dist/assets/format_bold.svg +5 -0
- package/dist/assets/format_code.svg +3 -0
- package/dist/assets/format_code_block.svg +5 -0
- package/dist/assets/format_italic.svg +3 -0
- package/dist/assets/format_link.svg +3 -0
- package/dist/assets/format_ordered_list.svg +5 -0
- package/dist/assets/format_strikethrough.svg +5 -0
- package/dist/assets/format_toggle.svg +1 -0
- package/dist/assets/format_underline.svg +5 -0
- package/dist/assets/format_unordered_list.svg +5 -0
- package/dist/assets/pause_circle.svg +1 -0
- package/dist/assets/warning-small.svg +0 -0
- package/dist/index.d.ts +360 -6
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/styles/CometChatCompactMessageComposer.css +1111 -0
- package/dist/styles/CometChatConversations.css +37 -1
- package/dist/styles/CometChatDocumentBubble.css +0 -1
- package/dist/styles/CometChatFormattingToolbar.css +257 -0
- package/dist/styles/CometChatLinkDialog.css +191 -0
- package/dist/styles/CometChatLinkPopover.css +128 -0
- package/dist/styles/CometChatMarkdownFormatter.css +141 -0
- package/dist/styles/CometChatMediaRecorder.css +73 -1
- package/dist/styles/CometChatMessageComposer.css +210 -3
- package/dist/styles/CometChatMessagePreview.css +10 -0
- package/dist/styles/CometChatSearch.css +11 -0
- package/dist/styles/CometChatTextBubble.css +267 -3
- package/dist/styles/LinkPreview.css +1 -1
- package/dist/styles/components/CometChatCompactMessageComposer.css +1111 -0
- package/dist/styles/components/CometChatConversations.css +37 -1
- package/dist/styles/components/CometChatDocumentBubble.css +0 -1
- package/dist/styles/components/CometChatFormattingToolbar.css +257 -0
- package/dist/styles/components/CometChatLinkDialog.css +191 -0
- package/dist/styles/components/CometChatLinkPopover.css +128 -0
- package/dist/styles/components/CometChatMarkdownFormatter.css +141 -0
- package/dist/styles/components/CometChatMediaRecorder.css +73 -1
- package/dist/styles/components/CometChatMessageComposer.css +210 -3
- package/dist/styles/components/CometChatMessagePreview.css +10 -0
- package/dist/styles/components/CometChatSearch.css +11 -0
- package/dist/styles/components/CometChatTextBubble.css +267 -3
- package/dist/styles/components/LinkPreview.css +1 -1
- package/dist/styles/components/index.css +6 -5
- package/dist/styles/css-variables.css +1 -0
- package/dist/styles/index.css +6 -5
- package/dist/types/CometChatUIKit/CometChatUIKitUtility.d.ts +13 -0
- package/dist/types/components/CometChatCompactMessageComposer/CometChatCompactMessageComposer.d.ts +247 -0
- package/dist/types/components/CometChatFormattingToolbar/CometChatFormattingToolbar.d.ts +29 -0
- package/dist/types/components/CometChatLinkDialog/CometChatLinkDialog.d.ts +22 -0
- package/dist/types/components/CometChatLinkPopover/CometChatLinkPopover.d.ts +24 -0
- package/dist/types/components/CometChatLinkPopover/index.d.ts +1 -0
- package/dist/types/components/useRichTextComposer/useRichTextComposer.d.ts +138 -0
- package/dist/types/formatters/CometChatFormatters/CometChatMarkdownFormatter/CometChatMarkdownFormatter.d.ts +109 -0
- package/dist/types/formatters/CometChatFormatters/CometChatRichTextFormatter.d.ts +32 -0
- package/dist/types/formatters/CometChatFormatters/CometChatUrlsFormatter/CometChatUrlsFormatter.d.ts +9 -3
- package/dist/types/formatters/index.d.ts +2 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/utils/EmojiShortcodeUtils.d.ts +11 -0
- package/dist/types/utils/HtmlToMarkdown.d.ts +52 -0
- package/dist/types/utils/MarkdownPatternDetector.d.ts +108 -0
- package/dist/types/utils/RichTextFormatting.d.ts +143 -0
- package/dist/types/utils/util.d.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M6.73364 20.833C6.29731 20.833 5.92431 20.6783 5.61464 20.3688C5.30514 20.0593 5.15039 19.6863 5.15039 19.2498V5.54975H4.94614C4.72397 5.54975 4.53581 5.47242 4.38164 5.31775C4.22747 5.16292 4.15039 4.97542 4.15039 4.75525C4.15039 4.53492 4.22747 4.34834 4.38164 4.1955C4.53581 4.04284 4.72397 3.9665 4.94614 3.9665H8.83689V3.954C8.83689 3.73534 8.91339 3.54942 9.06639 3.39625C9.21956 3.24309 9.40731 3.1665 9.62964 3.1665H14.3961C14.612 3.1665 14.7972 3.24375 14.9519 3.39825C15.1064 3.55292 15.1836 3.73817 15.1836 3.954V3.9665H19.0831C19.2975 3.9665 19.4817 4.044 19.6359 4.199C19.7901 4.35417 19.8671 4.54009 19.8671 4.75675C19.8671 4.97992 19.7898 5.16784 19.6351 5.3205C19.4806 5.47334 19.2955 5.54975 19.0796 5.54975H18.8671V19.2498C18.8671 19.6863 18.7123 20.0593 18.4026 20.3688C18.0931 20.6783 17.7201 20.833 17.2836 20.833H6.73364ZM17.2836 5.54975H6.73364V19.2498H17.2836V5.54975ZM9.99489 17.1705C10.2127 17.1705 10.3986 17.0948 10.5526 16.9435C10.7066 16.7922 10.7836 16.6053 10.7836 16.383V8.39975C10.7836 8.17759 10.7061 7.98942 10.5509 7.83525C10.3959 7.68109 10.2101 7.604 9.99339 7.604C9.77022 7.604 9.58231 7.68109 9.42964 7.83525C9.27681 7.98942 9.20039 8.17759 9.20039 8.39975V16.383C9.20039 16.6053 9.27839 16.7922 9.43439 16.9435C9.59022 17.0948 9.77706 17.1705 9.99489 17.1705ZM14.0284 17.1705C14.2462 17.1705 14.4321 17.0948 14.5861 16.9435C14.7401 16.7922 14.8171 16.6053 14.8171 16.383V8.39975C14.8171 8.17759 14.7396 7.98942 14.5844 7.83525C14.4292 7.68109 14.2433 7.604 14.0266 7.604C13.8036 7.604 13.6157 7.68109 13.4629 7.83525C13.3101 7.98942 13.2336 8.17759 13.2336 8.39975V16.383C13.2336 16.6053 13.3116 16.7922 13.4676 16.9435C13.6236 17.0948 13.8106 17.1705 14.0284 17.1705Z" fill="#A1A1A1"/></svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
|
|
2
|
+
<path d="M4.25 20.5C4.0375 20.5 3.85942 20.4281 3.71575 20.2843C3.57192 20.1404 3.5 19.9622 3.5 19.7498C3.5 19.5371 3.57192 19.359 3.71575 19.2155C3.85942 19.0718 4.0375 19 4.25 19H19.75C19.9625 19 20.1406 19.0719 20.2843 19.2158C20.4281 19.3596 20.5 19.5378 20.5 19.7502C20.5 19.9629 20.4281 20.141 20.2843 20.2845C20.1406 20.4282 19.9625 20.5 19.75 20.5H4.25ZM4.25 16.625C4.0375 16.625 3.85942 16.5531 3.71575 16.4093C3.57192 16.2654 3.5 16.0872 3.5 15.8748C3.5 15.6621 3.57192 15.484 3.71575 15.3405C3.85942 15.1968 4.0375 15.125 4.25 15.125H13.75C13.9625 15.125 14.1406 15.1969 14.2843 15.3408C14.4281 15.4846 14.5 15.6628 14.5 15.8753C14.5 16.0879 14.4281 16.266 14.2843 16.4095C14.1406 16.5532 13.9625 16.625 13.75 16.625H4.25ZM4.25 12.75C4.0375 12.75 3.85942 12.6781 3.71575 12.5343C3.57192 12.3904 3.5 12.2122 3.5 11.9998C3.5 11.7871 3.57192 11.609 3.71575 11.4655C3.85942 11.3218 4.0375 11.25 4.25 11.25H19.75C19.9625 11.25 20.1406 11.3219 20.2843 11.4658C20.4281 11.6096 20.5 11.7878 20.5 12.0003C20.5 12.2129 20.4281 12.391 20.2843 12.5345C20.1406 12.6782 19.9625 12.75 19.75 12.75H4.25ZM4.25 8.875C4.0375 8.875 3.85942 8.80308 3.71575 8.65925C3.57192 8.51542 3.5 8.33725 3.5 8.12475C3.5 7.91208 3.57192 7.734 3.71575 7.5905C3.85942 7.44683 4.0375 7.375 4.25 7.375H13.75C13.9625 7.375 14.1406 7.44692 14.2843 7.59075C14.4281 7.73458 14.5 7.91275 14.5 8.12525C14.5 8.33792 14.4281 8.516 14.2843 8.6595C14.1406 8.80317 13.9625 8.875 13.75 8.875H4.25ZM4.25 5C4.0375 5 3.85942 4.92808 3.71575 4.78425C3.57192 4.64042 3.5 4.46225 3.5 4.24975C3.5 4.03708 3.57192 3.859 3.71575 3.7155C3.85942 3.57183 4.0375 3.5 4.25 3.5H19.75C19.9625 3.5 20.1406 3.57192 20.2843 3.71575C20.4281 3.85958 20.5 4.03775 20.5 4.25025C20.5 4.46292 20.4281 4.641 20.2843 4.7845C20.1406 4.92817 19.9625 5 19.75 5H4.25Z" fill="#A1A1A1"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
|
|
2
|
+
<g transform="translate(7, 5)">
|
|
3
|
+
<path d="M1.51925 13.25C1.09742 13.25 0.73875 13.1023 0.44325 12.8068C0.14775 12.5113 0 12.1526 0 11.7308V1.51925C0 1.09742 0.14775 0.73875 0.44325 0.44325C0.73875 0.14775 1.09742 0 1.51925 0H4.8615C5.88067 0 6.80217 0.317334 7.626 0.952C8.44967 1.5865 8.8615 2.441 8.8615 3.5155C8.8615 4.26283 8.681 4.87208 8.32 5.34325C7.95917 5.81442 7.57042 6.15642 7.15375 6.36925C7.66658 6.54608 8.15633 6.89575 8.623 7.41825C9.08967 7.94075 9.323 8.64425 9.323 9.52875C9.323 10.8069 8.85183 11.7467 7.9095 12.348C6.96717 12.9493 6.01783 13.25 5.0615 13.25H1.51925ZM2.15 11.2578H4.98075C5.76792 11.2578 6.32433 11.0392 6.65 10.602C6.97567 10.1648 7.1385 9.74558 7.1385 9.34425C7.1385 8.94292 6.97567 8.52367 6.65 8.0865C6.32433 7.64933 5.7525 7.43075 4.9345 7.43075H2.15V11.2578ZM2.15 5.5H4.74425C5.35192 5.5 5.83367 5.32625 6.1895 4.97875C6.54517 4.63142 6.723 4.21542 6.723 3.73075C6.723 3.21542 6.53492 2.79425 6.15875 2.46725C5.78242 2.14042 5.32117 1.977 4.775 1.977H2.15V5.5Z" fill="#A1A1A1"/>
|
|
4
|
+
</g>
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
|
|
2
|
+
<path d="M4.46891 12.0149L8.52666 16.0724C8.66499 16.2109 8.73582 16.385 8.73916 16.5946C8.74232 16.8041 8.67149 16.9814 8.52666 17.1264C8.38166 17.2712 8.20599 17.3436 7.99966 17.3436C7.79332 17.3436 7.61766 17.2712 7.47266 17.1264L2.97841 12.6321C2.88491 12.5385 2.81891 12.4397 2.78041 12.3359C2.74191 12.232 2.72266 12.1199 2.72266 11.9994C2.72266 11.8789 2.74191 11.7667 2.78041 11.6629C2.81891 11.559 2.88491 11.4603 2.97841 11.3666L7.47266 6.87238C7.62149 6.72371 7.79816 6.64779 8.00266 6.64463C8.20699 6.64146 8.38674 6.71738 8.54191 6.87238C8.69707 7.02754 8.77466 7.20579 8.77466 7.40713C8.77466 7.60829 8.69707 7.78646 8.54191 7.94163L4.46891 12.0149ZM19.5304 11.9839L15.4727 7.92638C15.3343 7.78788 15.2635 7.61379 15.2602 7.40413C15.257 7.19463 15.3278 7.01738 15.4727 6.87238C15.6177 6.72754 15.7933 6.65513 15.9997 6.65513C16.206 6.65513 16.3817 6.72754 16.5267 6.87238L21.0209 11.3666C21.1144 11.4603 21.1804 11.559 21.2189 11.6629C21.2574 11.7667 21.2767 11.8789 21.2767 11.9994C21.2767 12.1199 21.2574 12.232 21.2189 12.3359C21.1804 12.4397 21.1144 12.5385 21.0209 12.6321L16.5267 17.1264C16.3778 17.275 16.2037 17.3484 16.0044 17.3464C15.8051 17.3445 15.6278 17.266 15.4727 17.1109C15.3177 16.9557 15.2402 16.7775 15.2402 16.5764C15.2402 16.375 15.3177 16.1968 15.4727 16.0416L19.5304 11.9839Z" fill="#A1A1A1"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
|
|
2
|
+
<g transform="translate(3.5, 3.5)">
|
|
3
|
+
<path d="M4.96925 8.5L6.61725 6.852C6.76592 6.70317 6.84192 6.52908 6.84525 6.32975C6.84842 6.13042 6.77242 5.95317 6.61725 5.798C6.46208 5.643 6.28392 5.5655 6.08275 5.5655C5.88142 5.5655 5.70317 5.643 5.548 5.798L3.47875 7.86725C3.38525 7.96092 3.31925 8.05967 3.28075 8.1635C3.24225 8.26733 3.223 8.3795 3.223 8.5C3.223 8.6205 3.24225 8.73267 3.28075 8.8365C3.31925 8.94033 3.38525 9.03908 3.47875 9.13275L5.55775 11.2115C5.70642 11.3602 5.883 11.4362 6.0875 11.4395C6.292 11.4427 6.47183 11.3667 6.627 11.2115C6.782 11.0563 6.8595 10.8807 6.8595 10.6845C6.8595 10.4885 6.782 10.3129 6.627 10.1578L4.96925 8.5ZM12.0307 8.5L10.373 10.1578C10.2243 10.3064 10.1484 10.4804 10.1453 10.6798C10.1421 10.8791 10.218 11.0563 10.373 11.2115C10.5282 11.3667 10.7064 11.4443 10.9078 11.4443C11.1089 11.4443 11.2871 11.3667 11.4423 11.2115L13.5212 9.13275C13.6147 9.03908 13.6808 8.94033 13.7193 8.8365C13.7578 8.73267 13.777 8.6205 13.777 8.5C13.777 8.3795 13.7578 8.26733 13.7193 8.1635C13.6808 8.05967 13.6147 7.96092 13.5212 7.86725L11.4423 5.7885C11.3679 5.71417 11.2843 5.65842 11.1913 5.62125C11.0984 5.58408 11.0055 5.5655 10.9125 5.5655C10.8195 5.5655 10.7249 5.58408 10.6288 5.62125C10.5328 5.65842 10.4475 5.71417 10.373 5.7885C10.218 5.94367 10.1405 6.11933 10.1405 6.3155C10.1405 6.5115 10.218 6.68708 10.373 6.84225L12.0307 8.5ZM1.80775 17C1.30258 17 0.875 16.825 0.525 16.475C0.175 16.125 0 15.6974 0 15.1923V1.80775C0 1.30258 0.175 0.875 0.525 0.525C0.875 0.175 1.30258 0 1.80775 0H15.1923C15.6974 0 16.125 0.175 16.475 0.525C16.825 0.875 17 1.30258 17 1.80775V15.1923C17 15.6974 16.825 16.125 16.475 16.475C16.125 16.825 15.6974 17 15.1923 17H1.80775ZM1.80775 15.5H15.1923C15.2692 15.5 15.3398 15.4679 15.4038 15.4038C15.4679 15.3398 15.5 15.2692 15.5 15.1923V1.80775C15.5 1.73075 15.4679 1.66025 15.4038 1.59625C15.3398 1.53208 15.2692 1.5 15.1923 1.5H1.80775C1.73075 1.5 1.66025 1.53208 1.59625 1.59625C1.53208 1.66025 1.5 1.73075 1.5 1.80775V15.1923C1.5 15.2692 1.53208 15.3398 1.59625 15.4038C1.66025 15.4679 1.73075 15.5 1.80775 15.5Z" fill="#A1A1A1"/>
|
|
4
|
+
</g>
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
|
|
2
|
+
<path d="M6.29828 18.625C6.04528 18.625 5.83136 18.5376 5.65653 18.3628C5.48186 18.1878 5.39453 17.9736 5.39453 17.7203C5.39453 17.4671 5.48186 17.2533 5.65653 17.0787C5.83136 16.9044 6.04528 16.8173 6.29828 16.8173H9.21178L12.4523 7.18275H9.53878C9.28578 7.18275 9.07186 7.09525 8.89703 6.92025C8.72236 6.74542 8.63503 6.53133 8.63503 6.278C8.63503 6.02467 8.72236 5.81083 8.89703 5.6365C9.07186 5.46217 9.28578 5.375 9.53878 5.375H16.885C17.138 5.375 17.3519 5.46242 17.5265 5.63725C17.7014 5.81225 17.7888 6.02642 17.7888 6.27975C17.7888 6.53292 17.7014 6.74675 17.5265 6.92125C17.3519 7.09558 17.138 7.18275 16.885 7.18275H14.279L11.0388 16.8173H13.6445C13.8975 16.8173 14.1114 16.9047 14.2863 17.0798C14.4609 17.2546 14.5483 17.4687 14.5483 17.722C14.5483 17.9753 14.4609 18.1892 14.2863 18.3635C14.1114 18.5378 13.8975 18.625 13.6445 18.625H6.29828Z" fill="#A1A1A1"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
|
|
2
|
+
<path d="M7.04822 16.8837C5.69739 16.8837 4.5463 16.408 3.59497 15.4567C2.64364 14.5054 2.16797 13.3533 2.16797 12.0004C2.16797 10.6476 2.64364 9.49552 3.59497 8.54419C4.5463 7.59285 5.69739 7.11719 7.04822 7.11719H10.3637C10.5796 7.11719 10.7648 7.19477 10.9195 7.34994C11.074 7.50494 11.1512 7.69077 11.1512 7.90744C11.1512 8.13061 11.074 8.31852 10.9195 8.47119C10.7648 8.62402 10.5796 8.70044 10.3637 8.70044H7.05122C6.13739 8.70044 5.35889 9.02169 4.71572 9.66419C4.07272 10.3067 3.75122 11.0844 3.75122 11.9974C3.75122 12.9106 4.07272 13.6894 4.71572 14.3337C5.35889 14.9782 6.13739 15.3004 7.05122 15.3004H10.3637C10.5796 15.3004 10.7648 15.378 10.9195 15.5332C11.074 15.6884 11.1512 15.8743 11.1512 16.0909C11.1512 16.3139 11.074 16.5019 10.9195 16.6547C10.7648 16.8074 10.5796 16.8837 10.3637 16.8837H7.04822ZM8.94697 12.7837C8.7248 12.7837 8.53664 12.7064 8.38247 12.5517C8.2283 12.397 8.15122 12.2095 8.15122 11.9892C8.15122 11.7689 8.2283 11.5824 8.38247 11.4297C8.53664 11.2769 8.7248 11.2004 8.94697 11.2004H15.0637C15.2796 11.2004 15.4647 11.278 15.6192 11.4332C15.7739 11.5884 15.8512 11.7743 15.8512 11.9909C15.8512 12.2139 15.7739 12.4019 15.6192 12.5547C15.4647 12.7074 15.2796 12.7837 15.0637 12.7837H8.94697ZM13.647 16.8837C13.4248 16.8837 13.2366 16.8064 13.0825 16.6517C12.9283 16.497 12.8512 16.3095 12.8512 16.0892C12.8512 15.8689 12.9283 15.6824 13.0825 15.5297C13.2366 15.3769 13.4248 15.3004 13.647 15.3004H16.9555C17.8681 15.3004 18.6456 14.9792 19.288 14.3367C19.9301 13.6942 20.2512 12.9164 20.2512 12.0034C20.2512 11.0903 19.9301 10.3115 19.288 9.66719C18.6456 9.02269 17.8681 8.70044 16.9555 8.70044H13.647C13.4248 8.70044 13.2366 8.6231 13.0825 8.46844C12.9283 8.3136 12.8512 8.1261 12.8512 7.90594C12.8512 7.6856 12.9283 7.49902 13.0825 7.34619C13.2366 7.19352 13.4248 7.11719 13.647 7.11719H16.9512C18.3041 7.11719 19.4561 7.59285 20.4075 8.54419C21.3588 9.49552 21.8345 10.6476 21.8345 12.0004C21.8345 13.3533 21.3588 14.5054 20.4075 15.4567C19.4561 16.408 18.3041 16.8837 16.9512 16.8837H13.647Z" fill="#A1A1A1"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
|
|
2
|
+
<g transform="translate(3.5, 2.5)">
|
|
3
|
+
<path d="M0.59625 19C0.423917 19 0.2815 18.9438 0.169 18.8313C0.0563332 18.7188 0 18.5764 0 18.4042C0 18.2323 0.0563332 18.0898 0.169 17.977C0.2815 17.8642 0.423917 17.8078 0.59625 17.8078H2.5V16.75H1.59625C1.42392 16.75 1.2815 16.6938 1.169 16.5813C1.05633 16.4688 1 16.3264 1 16.1542C1 15.9823 1.05633 15.8398 1.169 15.727C1.2815 15.6142 1.42392 15.5577 1.59625 15.5577H2.5V14.5H0.59625C0.423917 14.5 0.2815 14.4438 0.169 14.3313C0.0563332 14.2188 0 14.0764 0 13.9043C0 13.7323 0.0563332 13.5898 0.169 13.477C0.2815 13.3642 0.423917 13.3077 0.59625 13.3077H2.84625C3.08592 13.3077 3.28683 13.3888 3.449 13.551C3.61117 13.7132 3.69225 13.9141 3.69225 14.1538V15.3462C3.69225 15.5859 3.61117 15.7868 3.449 15.949C3.28683 16.1112 3.08592 16.1923 2.84625 16.1923C3.08592 16.1923 3.28683 16.2733 3.449 16.4355C3.61117 16.5977 3.69225 16.7987 3.69225 17.0385V18.1538C3.69225 18.3936 3.61117 18.5946 3.449 18.7568C3.28683 18.9189 3.08592 19 2.84625 19H0.59625ZM0.68275 12.3463C0.49175 12.3463 0.330167 12.2802 0.198 12.148C0.0659999 12.016 0 11.8545 0 11.6635V9.75C0 9.51033 0.0810832 9.30933 0.24325 9.147C0.405417 8.98483 0.606417 8.90375 0.84625 8.90375H2.5V7.84625H0.59625C0.423917 7.84625 0.2815 7.78992 0.169 7.67725C0.0563332 7.56475 0 7.4225 0 7.2505C0 7.07833 0.0563332 6.93583 0.169 6.823C0.2815 6.71017 0.423917 6.65375 0.59625 6.65375H2.84625C3.08592 6.65375 3.28683 6.73483 3.449 6.897C3.61117 7.05933 3.69225 7.26033 3.69225 7.5V9.25C3.69225 9.48967 3.61117 9.69067 3.449 9.853C3.28683 10.0152 3.08592 10.0963 2.84625 10.0963H1.19225V11.1538H3.09625C3.26842 11.1538 3.41083 11.2101 3.5235 11.3228C3.636 11.4353 3.69225 11.5775 3.69225 11.7495C3.69225 11.9217 3.636 12.0642 3.5235 12.177C3.41083 12.2898 3.26842 12.3463 3.09625 12.3463H0.68275ZM2.09675 5.69225C1.92458 5.69225 1.78208 5.636 1.66925 5.5235C1.55642 5.41083 1.5 5.26842 1.5 5.09625V1.19225H0.59625C0.423917 1.19225 0.2815 1.136 0.169 1.0235C0.0563332 0.911 0 0.76875 0 0.59675C0 0.424583 0.0563332 0.282084 0.169 0.16925C0.2815 0.0564172 0.423917 0 0.59625 0H2.01925C2.21025 0 2.37017 0.0644162 2.499 0.19325C2.62783 0.322083 2.69225 0.482 2.69225 0.673V5.09625C2.69225 5.26842 2.636 5.41083 2.5235 5.5235C2.411 5.636 2.26875 5.69225 2.09675 5.69225ZM6.55775 16.25C6.34525 16.25 6.16708 16.1781 6.02325 16.0343C5.87958 15.8904 5.80775 15.7122 5.80775 15.4998C5.80775 15.2871 5.87958 15.109 6.02325 14.9655C6.16708 14.8218 6.34525 14.75 6.55775 14.75H16.25C16.4625 14.75 16.6406 14.8219 16.7843 14.9658C16.9281 15.1096 17 15.2878 17 15.5003C17 15.7129 16.9281 15.891 16.7843 16.0345C16.6406 16.1782 16.4625 16.25 16.25 16.25H6.55775ZM6.55775 10.25C6.34525 10.25 6.16708 10.1781 6.02325 10.0343C5.87958 9.89042 5.80775 9.71225 5.80775 9.49975C5.80775 9.28708 5.87958 9.109 6.02325 8.9655C6.16708 8.82183 6.34525 8.75 6.55775 8.75H16.25C16.4625 8.75 16.6406 8.82192 16.7843 8.96575C16.9281 9.10958 17 9.28775 17 9.50025C17 9.71292 16.9281 9.891 16.7843 10.0345C16.6406 10.1782 16.4625 10.25 16.25 10.25H6.55775ZM6.55775 4.25C6.34525 4.25 6.16708 4.17808 6.02325 4.03425C5.87958 3.89042 5.80775 3.71225 5.80775 3.49975C5.80775 3.28708 5.87958 3.109 6.02325 2.9655C6.16708 2.82183 6.34525 2.75 6.55775 2.75H16.25C16.4625 2.75 16.6406 2.82192 16.7843 2.96575C16.9281 3.10958 17 3.28775 17 3.50025C17 3.71292 16.9281 3.891 16.7843 4.0345C16.6406 4.17817 16.4625 4.25 16.25 4.25H6.55775Z" fill="#A1A1A1"/>
|
|
4
|
+
</g>
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
|
|
2
|
+
<g transform="translate(2, 4)">
|
|
3
|
+
<path d="M9.9 15.496C8.90133 15.496 7.97858 15.2313 7.13175 14.7018C6.28492 14.1723 5.61925 13.4633 5.13475 12.575C5.02958 12.3788 5.01675 12.1733 5.09625 11.9585C5.17575 11.7438 5.31867 11.5839 5.525 11.4788C5.74167 11.3634 5.96758 11.3455 6.20275 11.425C6.43808 11.5045 6.62175 11.6526 6.75375 11.8693C7.08592 12.4461 7.53342 12.9038 8.09625 13.2423C8.65892 13.5808 9.27042 13.75 9.93075 13.75C10.7603 13.75 11.4875 13.5058 12.1125 13.0173C12.7375 12.5288 13.05 11.8961 13.05 11.1193C13.05 11.0103 13.0404 10.9013 13.0212 10.7923C13.0019 10.6833 12.9634 10.5807 12.9057 10.4845C12.8866 10.2473 12.9552 10.0409 13.1115 9.86525C13.268 9.68958 13.4648 9.59217 13.702 9.573C13.9392 9.55367 14.1497 9.62225 14.3335 9.77875C14.5175 9.93508 14.6192 10.1318 14.6385 10.369C14.709 10.5088 14.7554 10.6598 14.7778 10.822C14.8003 10.9842 14.8115 11.1448 14.8115 11.3038C14.8115 12.5371 14.3179 13.5442 13.3307 14.325C12.3436 15.1057 11.2 15.496 9.9 15.496ZM0.75 7.55375C0.537167 7.55375 0.359 7.48192 0.2155 7.33825C0.0718334 7.19475 0 7.01658 0 6.80375C0 6.59092 0.0718334 6.41275 0.2155 6.26925C0.359 6.12558 0.537167 6.05375 0.75 6.05375H18.75C18.9628 6.05375 19.141 6.12558 19.2845 6.26925C19.4282 6.41275 19.5 6.59092 19.5 6.80375C19.5 7.01658 19.4282 7.19475 19.2845 7.33825C19.141 7.48192 18.9628 7.55375 18.75 7.55375H0.75ZM5.998 3.97675C5.78517 3.87425 5.63517 3.71017 5.548 3.4845C5.46083 3.25883 5.46858 3.03967 5.57125 2.827C5.81475 1.9475 6.33617 1.25642 7.1355 0.753751C7.93483 0.251251 8.823 0 9.8 0C10.5552 0 11.2661 0.158668 11.9327 0.476001C12.5994 0.793168 13.1583 1.24925 13.6095 1.84425C13.7417 2.01975 13.7856 2.2175 13.7413 2.4375C13.6971 2.65733 13.5821 2.83325 13.3962 2.96525C13.1897 3.10758 12.9689 3.16017 12.7337 3.123C12.4984 3.08583 12.2962 2.96917 12.127 2.773C11.8448 2.4255 11.5051 2.1675 11.1077 1.999C10.7102 1.83033 10.2846 1.746 9.83075 1.746C9.20775 1.746 8.63817 1.90342 8.122 2.21825C7.606 2.53292 7.28133 2.97167 7.148 3.5345C7.0455 3.75767 6.88142 3.91283 6.65575 4C6.43008 4.08717 6.21083 4.07942 5.998 3.97675Z" fill="#A1A1A1"/>
|
|
4
|
+
</g>
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M6.17479 14.8992L5.37479 17.1242C5.30812 17.3076 5.19979 17.4492 5.04979 17.5492C4.89979 17.6492 4.73312 17.6992 4.54979 17.6992C4.23312 17.6992 3.98729 17.5701 3.81229 17.3117C3.63729 17.0534 3.60812 16.7826 3.72479 16.4992L7.17479 7.29922C7.24145 7.11589 7.35395 6.97005 7.51229 6.86172C7.67062 6.75339 7.84145 6.69922 8.02479 6.69922H8.72479C8.90812 6.69922 9.08312 6.75339 9.24979 6.86172C9.41645 6.97005 9.53312 7.11589 9.59979 7.29922L13.0498 16.5242C13.1665 16.8076 13.1331 17.0742 12.9498 17.3242C12.7665 17.5742 12.5248 17.6992 12.2248 17.6992C12.0415 17.6992 11.8748 17.6451 11.7248 17.5367C11.5748 17.4284 11.4665 17.2826 11.3998 17.0992L10.6248 14.8992H6.17479ZM6.74979 13.2992H10.0248L8.42479 8.74922H8.32479L6.74979 13.2992ZM16.6248 17.9492C15.7748 17.9492 15.0998 17.7201 14.5998 17.2617C14.0998 16.8034 13.8498 16.1992 13.8498 15.4492C13.8498 14.7159 14.1373 14.1117 14.7123 13.6367C15.2873 13.1617 16.0248 12.9242 16.9248 12.9242C17.3081 12.9242 17.6831 12.9576 18.0498 13.0242C18.4165 13.0909 18.7331 13.1826 18.9998 13.2992V12.9992C18.9998 12.5159 18.829 12.1242 18.4873 11.8242C18.1456 11.5242 17.6915 11.3742 17.1248 11.3742C16.8748 11.3742 16.629 11.4117 16.3873 11.4867C16.1456 11.5617 15.9248 11.6742 15.7248 11.8242C15.5081 11.9909 15.304 12.0492 15.1123 11.9992C14.9206 11.9492 14.7665 11.8576 14.6498 11.7242C14.5331 11.5909 14.4748 11.4326 14.4748 11.2492C14.4748 11.0659 14.5665 10.9076 14.7498 10.7742C15.0831 10.5076 15.4581 10.3117 15.8748 10.1867C16.2915 10.0617 16.7165 9.99922 17.1498 9.99922C18.2998 9.99922 19.1581 10.2701 19.7248 10.8117C20.2915 11.3534 20.5748 12.1659 20.5748 13.2492V16.9242C20.5748 17.1409 20.4956 17.3242 20.3373 17.4742C20.179 17.6242 19.9915 17.6992 19.7748 17.6992C19.5581 17.6992 19.3748 17.6201 19.2248 17.4617C19.0748 17.3034 18.9998 17.1159 18.9998 16.8992V16.7742H18.8998C18.6665 17.1576 18.3498 17.4492 17.9498 17.6492C17.5498 17.8492 17.1081 17.9492 16.6248 17.9492ZM16.9248 16.5992C17.5081 16.5992 18.004 16.3992 18.4123 15.9992C18.8206 15.5992 19.0248 15.1326 19.0248 14.5992C18.7915 14.4659 18.5123 14.3617 18.1873 14.2867C17.8623 14.2117 17.5415 14.1742 17.2248 14.1742C16.6915 14.1742 16.2748 14.2909 15.9748 14.5242C15.6748 14.7576 15.5248 15.0659 15.5248 15.4492C15.5248 15.7826 15.6581 16.0576 15.9248 16.2742C16.1915 16.4909 16.5248 16.5992 16.9248 16.5992Z" fill="#6852D6"/></svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
|
|
2
|
+
<g transform="translate(5, 3.5)">
|
|
3
|
+
<path d="M0.75 16.7115C0.5375 16.7115 0.359333 16.6396 0.2155 16.4957C0.0718332 16.3519 0 16.1737 0 15.961C0 15.7485 0.0718332 15.5704 0.2155 15.4267C0.359333 15.2832 0.5375 15.2115 0.75 15.2115H12.5575C12.77 15.2115 12.9482 15.2834 13.092 15.4272C13.2357 15.5711 13.3075 15.7492 13.3075 15.9618C13.3075 16.1744 13.2357 16.3525 13.092 16.496C12.9482 16.6397 12.77 16.7115 12.5575 16.7115H0.75ZM6.65375 13.1152C5.09858 13.1152 3.88483 12.6432 3.0125 11.699C2.14 10.7548 1.70375 9.48975 1.70375 7.90375V0.91925C1.70375 0.666917 1.79683 0.450583 1.983 0.27025C2.16917 0.0900833 2.38842 0 2.64075 0C2.89292 0 3.10875 0.0900833 3.28825 0.27025C3.46775 0.450583 3.5575 0.666917 3.5575 0.91925V7.996C3.5575 9.00633 3.82608 9.816 4.36325 10.425C4.90042 11.034 5.66392 11.3385 6.65375 11.3385C7.64358 11.3385 8.40708 11.034 8.94425 10.425C9.48142 9.816 9.75 9.00633 9.75 7.996V0.91925C9.75 0.666917 9.84308 0.450583 10.0293 0.27025C10.2154 0.0900833 10.4347 0 10.687 0C10.9392 0 11.155 0.0900833 11.3345 0.27025C11.514 0.450583 11.6038 0.666917 11.6038 0.91925V7.90375C11.6038 9.48975 11.1675 10.7548 10.295 11.699C9.42267 12.6432 8.20892 13.1152 6.65375 13.1152Z" fill="#A1A1A1"/>
|
|
4
|
+
</g>
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
|
|
2
|
+
<g transform="translate(3.5, 4)">
|
|
3
|
+
<path d="M6.55775 14.4135C6.34525 14.4135 6.16708 14.3416 6.02325 14.1977C5.87958 14.0539 5.80775 13.8757 5.80775 13.6632C5.80775 13.4506 5.87958 13.2725 6.02325 13.129C6.16708 12.9853 6.34525 12.9135 6.55775 12.9135H16.25C16.4625 12.9135 16.6406 12.9854 16.7843 13.1292C16.9281 13.2731 17 13.4513 17 13.6637C17 13.8764 16.9281 14.0545 16.7843 14.198C16.6406 14.3417 16.4625 14.4135 16.25 14.4135H6.55775ZM6.55775 8.4135C6.34525 8.4135 6.16708 8.34158 6.02325 8.19775C5.87958 8.05392 5.80775 7.87575 5.80775 7.66325C5.80775 7.45058 5.87958 7.2725 6.02325 7.129C6.16708 6.98533 6.34525 6.9135 6.55775 6.9135H16.25C16.4625 6.9135 16.6406 6.98542 16.7843 7.12925C16.9281 7.27308 17 7.45125 17 7.66375C17 7.87642 16.9281 8.0545 16.7843 8.198C16.6406 8.34167 16.4625 8.4135 16.25 8.4135H6.55775ZM6.55775 2.4135C6.34525 2.4135 6.16708 2.34158 6.02325 2.19775C5.87958 2.05392 5.80775 1.87575 5.80775 1.66325C5.80775 1.45058 5.87958 1.2725 6.02325 1.129C6.16708 0.985333 6.34525 0.913499 6.55775 0.913499H16.25C16.4625 0.913499 16.6406 0.985416 16.7843 1.12925C16.9281 1.27308 17 1.45125 17 1.66375C17 1.87642 16.9281 2.0545 16.7843 2.198C16.6406 2.34167 16.4625 2.4135 16.25 2.4135H6.55775ZM1.6635 15.327C1.206 15.327 0.814417 15.1641 0.48875 14.8382C0.162917 14.5126 0 14.121 0 13.6635C0 13.206 0.162917 12.8144 0.48875 12.4887C0.814417 12.1629 1.206 12 1.6635 12C2.121 12 2.51258 12.1629 2.83825 12.4887C3.16408 12.8144 3.327 13.206 3.327 13.6635C3.327 14.121 3.16408 14.5126 2.83825 14.8382C2.51258 15.1641 2.121 15.327 1.6635 15.327ZM1.6635 9.327C1.206 9.327 0.814417 9.16408 0.48875 8.83825C0.162917 8.51258 0 8.121 0 7.6635C0 7.206 0.162917 6.81442 0.48875 6.48875C0.814417 6.16292 1.206 6 1.6635 6C2.121 6 2.51258 6.16292 2.83825 6.48875C3.16408 6.81442 3.327 7.206 3.327 7.6635C3.327 8.121 3.16408 8.51258 2.83825 8.83825C2.51258 9.16408 2.121 9.327 1.6635 9.327ZM1.6635 3.327C1.206 3.327 0.814417 3.16408 0.48875 2.83825C0.162917 2.51258 0 2.121 0 1.6635C0 1.206 0.162917 0.814416 0.48875 0.48875C0.814417 0.162916 1.206 0 1.6635 0C2.121 0 2.51258 0.162916 2.83825 0.48875C3.16408 0.814416 3.327 1.206 3.327 1.6635C3.327 2.121 3.16408 2.51258 2.83825 2.83825C2.51258 3.16408 2.121 3.327 1.6635 3.327Z" fill="#A1A1A1"/>
|
|
4
|
+
</g>
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M9.404 15.75H10.9038V8.25H9.404V15.75ZM13.0962 15.75H14.596V8.25H13.0962V15.75ZM12.0017 21.5C10.6877 21.5 9.45267 21.2507 8.2965 20.752C7.14033 20.2533 6.13467 19.5766 5.2795 18.7218C4.42433 17.8669 3.74725 16.8617 3.24825 15.706C2.74942 14.5503 2.5 13.3156 2.5 12.0017C2.5 10.6877 2.74933 9.45267 3.248 8.2965C3.74667 7.14033 4.42342 6.13467 5.27825 5.2795C6.13308 4.42433 7.13833 3.74725 8.294 3.24825C9.44967 2.74942 10.6844 2.5 11.9983 2.5C13.3123 2.5 14.5473 2.74933 15.7035 3.248C16.8597 3.74667 17.8653 4.42342 18.7205 5.27825C19.5757 6.13308 20.2528 7.13833 20.7518 8.294C21.2506 9.44967 21.5 10.6844 21.5 11.9983C21.5 13.3123 21.2507 14.5473 20.752 15.7035C20.2533 16.8597 19.5766 17.8653 18.7218 18.7205C17.8669 19.5757 16.8617 20.2528 15.706 20.7518C14.5503 21.2506 13.3156 21.5 12.0017 21.5ZM12 20C14.2333 20 16.125 19.225 17.675 17.675C19.225 16.125 20 14.2333 20 12C20 9.76667 19.225 7.875 17.675 6.325C16.125 4.775 14.2333 4 12 4C9.76667 4 7.875 4.775 6.325 6.325C4.775 7.875 4 9.76667 4 12C4 14.2333 4.775 16.125 6.325 17.675C7.875 19.225 9.76667 20 12 20Z" fill="#141414"/></svg>
|
|
File without changes
|
package/dist/index.d.ts
CHANGED
|
@@ -1236,14 +1236,20 @@ declare class CometChatMessageOption extends CometChatOption {
|
|
|
1236
1236
|
|
|
1237
1237
|
/**
|
|
1238
1238
|
* Class that handles the text formatting for URLs in CometChat.
|
|
1239
|
-
* CometChatUrlsFormatter is a child class of CometChatTextFormatter.
|
|
1240
|
-
* It extends the functionality of text formatting to specifically handle URLs.
|
|
1241
|
-
* It is used in extension decorators like link preview, message translation, and dataSource utils.
|
|
1242
1239
|
*/
|
|
1243
1240
|
declare class CometChatUrlsFormatter extends CometChatTextFormatter {
|
|
1244
1241
|
constructor(regexPatterns: Array<RegExp>);
|
|
1242
|
+
onKeyUp(event: KeyboardEvent): void;
|
|
1243
|
+
/**
|
|
1244
|
+
* DOM-based URL linkification for message bubbles.
|
|
1245
|
+
* Walks ALL text nodes and wraps URLs in clickable spans.
|
|
1246
|
+
* Never breaks HTML structure. URLs inside code blocks become clickable.
|
|
1247
|
+
* Only skips text inside <a> tags.
|
|
1248
|
+
*/
|
|
1245
1249
|
protected onRegexMatch(inputText?: string | null): string;
|
|
1246
1250
|
registerEventListeners(element: HTMLElement, classList: DOMTokenList): HTMLElement;
|
|
1251
|
+
formatComposerContent(_element: HTMLElement): void;
|
|
1252
|
+
getOriginalText(inputText: string | null | undefined): string;
|
|
1247
1253
|
}
|
|
1248
1254
|
|
|
1249
1255
|
/**
|
|
@@ -1272,6 +1278,145 @@ declare class CometChatTextHighlightFormatter extends CometChatTextFormatter {
|
|
|
1272
1278
|
getFormattedText(inputText: string | null): string | void;
|
|
1273
1279
|
}
|
|
1274
1280
|
|
|
1281
|
+
/**
|
|
1282
|
+
* CometChatRichTextFormatter
|
|
1283
|
+
*
|
|
1284
|
+
* Handles rich text formatting for CometChat messages.
|
|
1285
|
+
* - COMPOSER SIDE: Converts HTML from contenteditable to markdown for storage
|
|
1286
|
+
* - BUBBLE SIDE: Passes through text as-is (markdown rendering handled by CometChatMarkdownFormatter)
|
|
1287
|
+
*/
|
|
1288
|
+
declare class CometChatRichTextFormatter extends CometChatTextFormatter {
|
|
1289
|
+
constructor();
|
|
1290
|
+
/**
|
|
1291
|
+
* BUBBLE SIDE: Pass through text as-is
|
|
1292
|
+
* The CometChatMarkdownFormatter handles converting markdown to HTML for display
|
|
1293
|
+
*/
|
|
1294
|
+
getFormattedText(inputText: string, _params?: {
|
|
1295
|
+
mentionsTargetElement?: MentionsTargetElement;
|
|
1296
|
+
}): string;
|
|
1297
|
+
/**
|
|
1298
|
+
* COMPOSER SIDE: Convert HTML from contenteditable to markdown
|
|
1299
|
+
* This is called before sending the message to convert the rich HTML to markdown format
|
|
1300
|
+
*/
|
|
1301
|
+
getOriginalText(inputText: string | null | undefined): string;
|
|
1302
|
+
/**
|
|
1303
|
+
* Check if the input contains HTML tags that need conversion
|
|
1304
|
+
*/
|
|
1305
|
+
private containsHtmlTags;
|
|
1306
|
+
/**
|
|
1307
|
+
* Register click handlers for links in bubbles
|
|
1308
|
+
*/
|
|
1309
|
+
registerEventListeners(span: Element, _classList: DOMTokenList): Element;
|
|
1310
|
+
}
|
|
1311
|
+
|
|
1312
|
+
/**
|
|
1313
|
+
* CometChatMarkdownFormatter
|
|
1314
|
+
*
|
|
1315
|
+
* Handles bidirectional conversion between HTML and markdown:
|
|
1316
|
+
*
|
|
1317
|
+
* BUBBLE SIDE (getFormattedText): Markdown → HTML for display
|
|
1318
|
+
* - **bold** → <b>bold</b>
|
|
1319
|
+
* - _italic_ → <i>italic</i>
|
|
1320
|
+
* - <u>underline</u> → <u>underline</u> (pass-through)
|
|
1321
|
+
* - ~~strikethrough~~ → <s>strikethrough</s>
|
|
1322
|
+
* - `inline code` → <code>inline code</code>
|
|
1323
|
+
* - ```code block``` → <pre><code>code block</code></pre>
|
|
1324
|
+
* - > blockquote → <blockquote>blockquote</blockquote>
|
|
1325
|
+
* - [text](url) → <a href="url">text</a>
|
|
1326
|
+
*
|
|
1327
|
+
* COMPOSER SIDE (getOriginalText): HTML → Markdown for storage
|
|
1328
|
+
* - <b>bold</b> → **bold**
|
|
1329
|
+
* - <i>italic</i> → _italic_
|
|
1330
|
+
* - <u>underline</u> → <u>underline</u>
|
|
1331
|
+
* - <s>strikethrough</s> → ~~strikethrough~~
|
|
1332
|
+
* - <code>code</code> → `code`
|
|
1333
|
+
* - <pre><code>code</code></pre> → ```code```
|
|
1334
|
+
* - <blockquote>text</blockquote> → > text
|
|
1335
|
+
* - <a href="url">text</a> → [text](url)
|
|
1336
|
+
*/
|
|
1337
|
+
declare class CometChatMarkdownFormatter extends CometChatTextFormatter {
|
|
1338
|
+
constructor();
|
|
1339
|
+
/**
|
|
1340
|
+
* BUBBLE SIDE: Convert markdown syntax to styled HTML for display
|
|
1341
|
+
*/
|
|
1342
|
+
getFormattedText(inputText: string, params?: {
|
|
1343
|
+
mentionsTargetElement?: MentionsTargetElement;
|
|
1344
|
+
}): string;
|
|
1345
|
+
/**
|
|
1346
|
+
* COMPOSER SIDE: Pass through unchanged.
|
|
1347
|
+
* HTML→Markdown conversion is handled exclusively by CometChatRichTextFormatter
|
|
1348
|
+
* (via HtmlToMarkdown.ts). Running a second conversion here would double-process
|
|
1349
|
+
* the text and corrupt mention spans before CometChatMentionsFormatter can replace
|
|
1350
|
+
* them with <@uid:xxx> tokens.
|
|
1351
|
+
*/
|
|
1352
|
+
getOriginalText(inputText: string | null | undefined): string;
|
|
1353
|
+
/**
|
|
1354
|
+
* Format code blocks: ```code``` → <pre><code>code</code></pre>
|
|
1355
|
+
*/
|
|
1356
|
+
private formatCodeBlocks;
|
|
1357
|
+
/**
|
|
1358
|
+
* Apply a formatting function only to text segments outside of code blocks.
|
|
1359
|
+
* Unlike formatOutsideCode, this does NOT split on inline <code> tags or mention placeholders.
|
|
1360
|
+
* Used for blockquote processing which runs before inline code conversion.
|
|
1361
|
+
*/
|
|
1362
|
+
private formatOutsideCodeBlocks;
|
|
1363
|
+
/**
|
|
1364
|
+
* Apply a formatting function only to text segments outside of code blocks and inline code.
|
|
1365
|
+
* Splits the text by <pre><code>...</code></pre> and <code>...</code> segments,
|
|
1366
|
+
* applies the formatter only to non-code parts, then reassembles.
|
|
1367
|
+
*/
|
|
1368
|
+
private formatOutsideCode;
|
|
1369
|
+
/**
|
|
1370
|
+
* Format inline code: `code` → <code>code</code>
|
|
1371
|
+
*/
|
|
1372
|
+
private formatInlineCode;
|
|
1373
|
+
/**
|
|
1374
|
+
* Format bold: **text** → <b>text</b>
|
|
1375
|
+
*/
|
|
1376
|
+
private formatBold;
|
|
1377
|
+
/**
|
|
1378
|
+
* Format italic: _text_ → <i>text</i>
|
|
1379
|
+
*/
|
|
1380
|
+
private formatItalic;
|
|
1381
|
+
/**
|
|
1382
|
+
* Format underline: <u>text</u> → <u>text</u>
|
|
1383
|
+
* The markdown syntax uses HTML-style <u> tags directly.
|
|
1384
|
+
* Also supports legacy ++text++ and __text__ for backward compatibility.
|
|
1385
|
+
*/
|
|
1386
|
+
private formatUnderline;
|
|
1387
|
+
/**
|
|
1388
|
+
* Format strikethrough: ~~text~~ → <s>text</s>
|
|
1389
|
+
*/
|
|
1390
|
+
private formatStrikethrough;
|
|
1391
|
+
/**
|
|
1392
|
+
* Format links: [text](url) → <a href="url">text</a>
|
|
1393
|
+
*/
|
|
1394
|
+
private formatLinks;
|
|
1395
|
+
/**
|
|
1396
|
+
* Format blockquotes: > text → <blockquote>text</blockquote>
|
|
1397
|
+
*/
|
|
1398
|
+
private formatBlockquotes;
|
|
1399
|
+
/**
|
|
1400
|
+
* Format ordered lists: 1. item → <li>item</li>
|
|
1401
|
+
*/
|
|
1402
|
+
/**
|
|
1403
|
+
* Format ordered lists: consecutive "N. item" lines → <ol><li>item</li></ol>
|
|
1404
|
+
*/
|
|
1405
|
+
private formatOrderedLists;
|
|
1406
|
+
/**
|
|
1407
|
+
* Format unordered lists: • item or - item → <li>item</li>
|
|
1408
|
+
*/
|
|
1409
|
+
/**
|
|
1410
|
+
* Format unordered lists: consecutive "• item" or "- item" lines → <ul><li>item</li></ul>
|
|
1411
|
+
*/
|
|
1412
|
+
private formatUnorderedLists;
|
|
1413
|
+
/**
|
|
1414
|
+
* Register click handlers for links
|
|
1415
|
+
*/
|
|
1416
|
+
registerEventListeners(span: Element, classList: DOMTokenList): Element;
|
|
1417
|
+
stripMarkdownForConversation(text: string): string;
|
|
1418
|
+
}
|
|
1419
|
+
|
|
1275
1420
|
/**
|
|
1276
1421
|
* CometChatMessageTemplate is a pre-defined structure for creating message views
|
|
1277
1422
|
* that can be used as a starting point or blueprint for creating message views,
|
|
@@ -4135,7 +4280,7 @@ interface MessageBubbleProps {
|
|
|
4135
4280
|
*/
|
|
4136
4281
|
declare const CometChatMessageBubble: (props: MessageBubbleProps) => react_jsx_runtime.JSX.Element;
|
|
4137
4282
|
|
|
4138
|
-
interface MessageComposerProps {
|
|
4283
|
+
interface MessageComposerProps$1 {
|
|
4139
4284
|
/**
|
|
4140
4285
|
* The initial text pre-filled in the message input when the component mounts.
|
|
4141
4286
|
* @defaultValue ""
|
|
@@ -4315,7 +4460,203 @@ interface MessageComposerProps {
|
|
|
4315
4460
|
/**
|
|
4316
4461
|
* Renders a message composer to send messages to a user or group of a CometChat App
|
|
4317
4462
|
*/
|
|
4318
|
-
declare function CometChatMessageComposer(props: MessageComposerProps): react_jsx_runtime.JSX.Element;
|
|
4463
|
+
declare function CometChatMessageComposer(props: MessageComposerProps$1): react_jsx_runtime.JSX.Element;
|
|
4464
|
+
|
|
4465
|
+
interface MessageComposerProps {
|
|
4466
|
+
/**
|
|
4467
|
+
* The initial text pre-filled in the message input when the component mounts.
|
|
4468
|
+
* @defaultValue ""
|
|
4469
|
+
*/
|
|
4470
|
+
initialComposerText?: string;
|
|
4471
|
+
/**
|
|
4472
|
+
* Disables the typing indicator for the current message composer.
|
|
4473
|
+
* @defaultValue `false`
|
|
4474
|
+
*/
|
|
4475
|
+
disableTypingEvents?: boolean;
|
|
4476
|
+
/**
|
|
4477
|
+
* Disables the mentions functionality in the message composer.
|
|
4478
|
+
* @defaultValue `false`
|
|
4479
|
+
*/
|
|
4480
|
+
disableMentions?: boolean;
|
|
4481
|
+
/**
|
|
4482
|
+
* Hides the image attachment option in the message composer.
|
|
4483
|
+
* @defaultValue `false`
|
|
4484
|
+
*/
|
|
4485
|
+
hideImageAttachmentOption?: boolean;
|
|
4486
|
+
/**
|
|
4487
|
+
* Hides the video attachment option in the message composer.
|
|
4488
|
+
* @defaultValue `false`
|
|
4489
|
+
*/
|
|
4490
|
+
hideVideoAttachmentOption?: boolean;
|
|
4491
|
+
/**
|
|
4492
|
+
* Hides the audio attachment option in the message composer.
|
|
4493
|
+
* @defaultValue `false`
|
|
4494
|
+
*/
|
|
4495
|
+
hideAudioAttachmentOption?: boolean;
|
|
4496
|
+
/**
|
|
4497
|
+
* Hides the file attachment option in the message composer.
|
|
4498
|
+
* @defaultValue `false`
|
|
4499
|
+
*/
|
|
4500
|
+
hideFileAttachmentOption?: boolean;
|
|
4501
|
+
/**
|
|
4502
|
+
* Hides the polls option in the message composer.
|
|
4503
|
+
* @defaultValue `false`
|
|
4504
|
+
*/
|
|
4505
|
+
hidePollsOption?: boolean;
|
|
4506
|
+
/**
|
|
4507
|
+
* Hides the collaborative document option in the message composer.
|
|
4508
|
+
* @defaultValue `false`
|
|
4509
|
+
*/
|
|
4510
|
+
hideCollaborativeDocumentOption?: boolean;
|
|
4511
|
+
/**
|
|
4512
|
+
* Hides the collaborative whiteboard option in the message composer.
|
|
4513
|
+
* @defaultValue `false`
|
|
4514
|
+
*/
|
|
4515
|
+
hideCollaborativeWhiteboardOption?: boolean;
|
|
4516
|
+
/**
|
|
4517
|
+
* Hides the attachment button in the message composer.
|
|
4518
|
+
* @defaultValue `false`
|
|
4519
|
+
*/
|
|
4520
|
+
hideAttachmentButton?: boolean;
|
|
4521
|
+
/**
|
|
4522
|
+
* Hides the voice recording button in the message composer.
|
|
4523
|
+
* @defaultValue `false`
|
|
4524
|
+
*/
|
|
4525
|
+
hideVoiceRecordingButton?: boolean;
|
|
4526
|
+
/**
|
|
4527
|
+
* Hides the emoji keyboard button in the message composer.
|
|
4528
|
+
* @defaultValue `false`
|
|
4529
|
+
*/
|
|
4530
|
+
hideEmojiKeyboardButton?: boolean;
|
|
4531
|
+
/**
|
|
4532
|
+
* Hides the stickers button in the message composer.
|
|
4533
|
+
* @defaultValue `false`
|
|
4534
|
+
*/
|
|
4535
|
+
hideStickersButton?: boolean;
|
|
4536
|
+
/**
|
|
4537
|
+
* Hides the send button in the message composer.
|
|
4538
|
+
* @defaultValue `false`
|
|
4539
|
+
*/
|
|
4540
|
+
hideSendButton?: boolean;
|
|
4541
|
+
/**
|
|
4542
|
+
* The user to send messages to. This prop specifies the recipient of the message.
|
|
4543
|
+
*/
|
|
4544
|
+
user?: CometChat.User;
|
|
4545
|
+
/**
|
|
4546
|
+
* The group to send messages to.
|
|
4547
|
+
* @remarks This prop is used if the `user` prop is not provided.
|
|
4548
|
+
*/
|
|
4549
|
+
group?: CometChat.Group;
|
|
4550
|
+
/**
|
|
4551
|
+
* The ID of the parent message. This is used for threading or replying to a specific message.
|
|
4552
|
+
*/
|
|
4553
|
+
parentMessageId?: number;
|
|
4554
|
+
/**
|
|
4555
|
+
* Options for default attachments, including various attachment types available in the composer.
|
|
4556
|
+
*/
|
|
4557
|
+
attachmentOptions?: CometChatMessageComposerAction[];
|
|
4558
|
+
/**
|
|
4559
|
+
* Array of text formatters to apply to the message text for customization and styling.
|
|
4560
|
+
*/
|
|
4561
|
+
textFormatters?: Array<CometChatTextFormatter>;
|
|
4562
|
+
/**
|
|
4563
|
+
* Determines the behavior of the Enter key in the composer (e.g., send message or add a new line).
|
|
4564
|
+
* @default EnterKeyBehavior.SendMessage
|
|
4565
|
+
*/
|
|
4566
|
+
enterKeyBehavior?: EnterKeyBehavior;
|
|
4567
|
+
/**
|
|
4568
|
+
* Disables sound for incoming messages.
|
|
4569
|
+
* @defaultValue `false`
|
|
4570
|
+
*/
|
|
4571
|
+
disableSoundForMessage?: boolean;
|
|
4572
|
+
/**
|
|
4573
|
+
* Custom audio sound for incoming messages.
|
|
4574
|
+
*/
|
|
4575
|
+
customSoundForMessage?: string;
|
|
4576
|
+
/**
|
|
4577
|
+
* Callback function triggered when the message input text changes.
|
|
4578
|
+
* @param text - The current text value of the message input.
|
|
4579
|
+
* @returns void
|
|
4580
|
+
*/
|
|
4581
|
+
onTextChange?: (text: string) => void;
|
|
4582
|
+
/**
|
|
4583
|
+
* Callback function triggered when the message composer encounters an error.
|
|
4584
|
+
* @param error - An instance of `CometChat.CometChatException` representing the error.
|
|
4585
|
+
* @returns void
|
|
4586
|
+
*/
|
|
4587
|
+
onError?: ((error: CometChat.CometChatException) => void) | null;
|
|
4588
|
+
/**
|
|
4589
|
+
* Callback function triggered when the send button is clicked.
|
|
4590
|
+
* @param message - The message that was sent.
|
|
4591
|
+
* @param previewMessageMode - Optionally, specify if the message is in preview mode.
|
|
4592
|
+
*/
|
|
4593
|
+
onSendButtonClick?: (message: CometChat.BaseMessage, previewMessageMode?: PreviewMessageMode) => void;
|
|
4594
|
+
/**
|
|
4595
|
+
* A custom view for the send button to customize its appearance or behavior.
|
|
4596
|
+
*/
|
|
4597
|
+
sendButtonView?: JSX$1.Element;
|
|
4598
|
+
/**
|
|
4599
|
+
* A custom view for an auxiliary button, which can be used alongside the send button.
|
|
4600
|
+
*/
|
|
4601
|
+
auxiliaryButtonView?: JSX$1.Element;
|
|
4602
|
+
/**
|
|
4603
|
+
* A custom header section displayed at the top of the message composer.
|
|
4604
|
+
*/
|
|
4605
|
+
headerView?: JSX$1.Element;
|
|
4606
|
+
/**
|
|
4607
|
+
* Controls the visibility of the scrollbar in the list.
|
|
4608
|
+
* @defaultValue `false`
|
|
4609
|
+
*/
|
|
4610
|
+
showScrollbar?: boolean;
|
|
4611
|
+
/**
|
|
4612
|
+
* The placeholder text to display in the message input field when it is empty.
|
|
4613
|
+
* @defaultValue ""
|
|
4614
|
+
*/
|
|
4615
|
+
placeholderText?: string;
|
|
4616
|
+
/**
|
|
4617
|
+
* Boolean to show or hide "@all" mention functionality in group chats.
|
|
4618
|
+
* @defaultValue `false`
|
|
4619
|
+
*/
|
|
4620
|
+
disableMentionAll?: boolean;
|
|
4621
|
+
/**
|
|
4622
|
+
* The mentionAll label for the app used to render "@all" mentions
|
|
4623
|
+
* @defaultValue "all"
|
|
4624
|
+
*/
|
|
4625
|
+
mentionAllLabel?: string;
|
|
4626
|
+
/**
|
|
4627
|
+
* Custom request builder for mentions user list.
|
|
4628
|
+
* @defaultValue `undefined` - Uses default internal request builder.
|
|
4629
|
+
*/
|
|
4630
|
+
mentionsUsersRequestBuilder?: CometChat.UsersRequestBuilder;
|
|
4631
|
+
/**
|
|
4632
|
+
* Custom request builder for mentions group members list.
|
|
4633
|
+
* @defaultValue `undefined` - Uses default internal request builder
|
|
4634
|
+
*/
|
|
4635
|
+
mentionsGroupMembersRequestBuilder?: CometChat.GroupMembersRequestBuilder;
|
|
4636
|
+
/**
|
|
4637
|
+
* Enables rich text editing capabilities in the message composer.
|
|
4638
|
+
* @defaultValue `true`
|
|
4639
|
+
*/
|
|
4640
|
+
enableRichTextEditor?: boolean;
|
|
4641
|
+
/**
|
|
4642
|
+
* Show floating toolbar when text is selected.
|
|
4643
|
+
* NOTE: Ignored on mobile devices - falls back to fixed toolbar.
|
|
4644
|
+
* @defaultValue false
|
|
4645
|
+
*/
|
|
4646
|
+
showToolbarOnSelection?: boolean;
|
|
4647
|
+
/**
|
|
4648
|
+
* Hides the rich text formatting options (e.g., bold, italic, lists, links)
|
|
4649
|
+
* in the message composer.
|
|
4650
|
+
* @defaultValue false
|
|
4651
|
+
*/
|
|
4652
|
+
hideRichTextFormattingOptions?: boolean;
|
|
4653
|
+
}
|
|
4654
|
+
/**
|
|
4655
|
+
* CometChatCompactMessageComposer - A single-line horizontal layout variant of the message composer.
|
|
4656
|
+
* All UI elements (attachment button, text input, emoji button, voice recording button, stickers button,
|
|
4657
|
+
* and send button) are arranged horizontally in one line.
|
|
4658
|
+
*/
|
|
4659
|
+
declare function CometChatCompactMessageComposer(props: MessageComposerProps): react_jsx_runtime.JSX.Element;
|
|
4319
4660
|
|
|
4320
4661
|
/**
|
|
4321
4662
|
* Interface for the props accepted by the CometChatMessageHeader component.
|
|
@@ -6584,12 +6925,25 @@ declare class CometChatUIKitUtility {
|
|
|
6584
6925
|
* @returns The extension data if found.
|
|
6585
6926
|
*/
|
|
6586
6927
|
static checkMessageForExtensionsData: (message: CometChat.BaseMessage | null, extensionKey: string) => (object & MessageExtensionType) | undefined;
|
|
6928
|
+
/**
|
|
6929
|
+
* Convert known rich-text HTML formatting tags to markdown.
|
|
6930
|
+
* This handles messages that arrive with raw HTML (from other platforms or older clients)
|
|
6931
|
+
* so they can be processed by the markdown formatter on the bubble side.
|
|
6932
|
+
* Also handles HTML-entity-escaped tags (e.g., <i>text</i>).
|
|
6933
|
+
* Only converts recognized formatting tags; unknown/dangerous HTML is left for sanitizeText.
|
|
6934
|
+
*/
|
|
6935
|
+
static convertFormattingHtmlToMarkdown(text: string): string;
|
|
6587
6936
|
/**
|
|
6588
6937
|
* Process and sanitize text to escape dangerous HTML while preserving mention formatting
|
|
6589
6938
|
* @param text The text string that may contain HTML and mentions
|
|
6590
6939
|
* @returns Sanitized string with dangerous HTML escaped but mentions preserved
|
|
6591
6940
|
*/
|
|
6592
6941
|
static sanitizeText(text: string): string;
|
|
6942
|
+
/**
|
|
6943
|
+
* Strips markdown formatting syntax from text, leaving only the plain text content.
|
|
6944
|
+
* Preserves mention tokens (<@uid:...> and <@all:...>) and line breaks.
|
|
6945
|
+
*/
|
|
6946
|
+
static stripMarkdownFormatting(text: string): string;
|
|
6593
6947
|
static convertBlobToWav: (audioBlob: {
|
|
6594
6948
|
arrayBuffer: () => any;
|
|
6595
6949
|
}) => Promise<{
|
|
@@ -7072,5 +7426,5 @@ interface CometChatAIAssistantChatHistoryProps {
|
|
|
7072
7426
|
}
|
|
7073
7427
|
declare const CometChatAIAssistantChatHistory: (props: CometChatAIAssistantChatHistoryProps) => react_jsx_runtime.JSX.Element;
|
|
7074
7428
|
|
|
7075
|
-
export { AuxiliaryButtonAlignment, ButtonAction, CalendarObject, CallButtonConfiguration, CallWorkflow, CallingConfiguration, CallingDetailsUtils, CallingExtension, CallingExtensionDecorator, ChatConfigurator, ChatSdkEventInitializer, CollaborativeDocumentConfiguration, CollaborativeDocumentExtension, CollaborativeDocumentExtensionDecorator, CollaborativeWhiteBoardExtensionDecorator, CollaborativeWhiteboardConfiguration, CollaborativeWhiteboardExtension, CometChatAIAssistantChat, CometChatAIAssistantChatHistory, CometChatAIAssistantMessageBubble, CometChatAIAssistantTools, CometChatActionBubble, CometChatActionSheet, CometChatActions, CometChatActionsIcon, CometChatActionsView, CometChatAudioBubble, CometChatAvatar, CometChatButton, CometChatCallBubble, CometChatCallButtons, CometChatCallEvents, CometChatCallLogs, CometChatChangeScope, CometChatCheckbox, CometChatConfirmDialog, CometChatContextMenu, CometChatConversationEvents, CometChatConversations, CometChatDate, CometChatDeleteBubble, CometChatDocumentBubble, CometChatDropDown, CometChatEditPreview, CometChatEmojiKeyboard, CometChatErrorView, CometChatFileBubble, CometChatFlagMessageDialog, CometChatFrameProvider, CometChatFullScreenViewer, CometChatGroupEvents, CometChatGroupMembers, CometChatGroups, CometChatImageBubble, CometChatIncomingCall, CometChatList, CometChatListItem, CometChatLocalize, CometChatMediaRecorder, CometChatMentionsFormatter, CometChatMessageBubble, CometChatMessageComposer, CometChatMessageComposerAction, CometChatMessageEvents, CometChatMessageHeader, CometChatMessageInformation, CometChatMessageList, CometChatMessageOption, CometChatMessagePreview, CometChatMessageTemplate, CometChatOngoingCall, CometChatOption, CometChatOutgoingCall, CometChatPopover, CometChatRadioButton, CometChatReactionInfo, CometChatReactionList, CometChatReactions, CometChatSearch, CometChatSearchBar, CometChatSearchFilter, CometChatSearchScope, CometChatStreamMessageBubble, 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, createMessageCopy, createMessageCopyFromBaseMessage, currentAudioPlayer, currentMediaPlayer, decodeHTML, downloadRecordingFromURL, emitStreamingState, fireClickEvent, formatDateFromTimestamp, getAIAssistantTools, getCommonDateFormat, getLocalizedString, getStreamSpeed, getThemeMode, getThemeVariable, handleWebsocketMessage, hasLink, hasValidConversationSearchCriteria, hasValidMessageSearchCriteria, isDarkMode, isMessageSentByMe, isMissedCall, isMobileDevice, isMonthDifferent, isSafari, isSentByMe, isURL, messageStream, processFileForAudio, sanitizeCalendarObject, sanitizeHtmlStringToFragment, setAIAssistantTools, setStreamSpeed, shouldShowCustomMimeTypes, startStreamingMessage, stopStreamingMessage, streamingState$, useCometChatErrorHandler, useCometChatFrameContext, useDebouncedCallback, useRefSync, useStateRef, verifyCallUser };
|
|
7429
|
+
export { AuxiliaryButtonAlignment, ButtonAction, CalendarObject, CallButtonConfiguration, CallWorkflow, CallingConfiguration, CallingDetailsUtils, CallingExtension, CallingExtensionDecorator, ChatConfigurator, ChatSdkEventInitializer, CollaborativeDocumentConfiguration, CollaborativeDocumentExtension, CollaborativeDocumentExtensionDecorator, CollaborativeWhiteBoardExtensionDecorator, CollaborativeWhiteboardConfiguration, CollaborativeWhiteboardExtension, CometChatAIAssistantChat, CometChatAIAssistantChatHistory, CometChatAIAssistantMessageBubble, CometChatAIAssistantTools, CometChatActionBubble, CometChatActionSheet, CometChatActions, CometChatActionsIcon, CometChatActionsView, CometChatAudioBubble, CometChatAvatar, CometChatButton, CometChatCallBubble, CometChatCallButtons, CometChatCallEvents, CometChatCallLogs, CometChatChangeScope, CometChatCheckbox, CometChatCompactMessageComposer, CometChatConfirmDialog, CometChatContextMenu, CometChatConversationEvents, CometChatConversations, CometChatDate, CometChatDeleteBubble, CometChatDocumentBubble, CometChatDropDown, CometChatEditPreview, CometChatEmojiKeyboard, CometChatErrorView, CometChatFileBubble, CometChatFlagMessageDialog, CometChatFrameProvider, CometChatFullScreenViewer, CometChatGroupEvents, CometChatGroupMembers, CometChatGroups, CometChatImageBubble, CometChatIncomingCall, CometChatList, CometChatListItem, CometChatLocalize, CometChatMarkdownFormatter, CometChatMediaRecorder, CometChatMentionsFormatter, CometChatMessageBubble, CometChatMessageComposer, CometChatMessageComposerAction, CometChatMessageEvents, CometChatMessageHeader, CometChatMessageInformation, CometChatMessageList, CometChatMessageOption, CometChatMessagePreview, CometChatMessageTemplate, CometChatOngoingCall, CometChatOption, CometChatOutgoingCall, CometChatPopover, CometChatRadioButton, CometChatReactionInfo, CometChatReactionList, CometChatReactions, CometChatRichTextFormatter, CometChatSearch, CometChatSearchBar, CometChatSearchFilter, CometChatSearchScope, CometChatStreamMessageBubble, 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, createMessageCopy, createMessageCopyFromBaseMessage, currentAudioPlayer, currentMediaPlayer, decodeHTML, downloadRecordingFromURL, emitStreamingState, fireClickEvent, formatDateFromTimestamp, getAIAssistantTools, getCommonDateFormat, getLocalizedString, getStreamSpeed, getThemeMode, getThemeVariable, handleWebsocketMessage, hasLink, hasValidConversationSearchCriteria, hasValidMessageSearchCriteria, isDarkMode, isMessageSentByMe, isMissedCall, isMobileDevice, isMonthDifferent, isSafari, isSentByMe, isURL, messageStream, processFileForAudio, sanitizeCalendarObject, sanitizeHtmlStringToFragment, setAIAssistantTools, setStreamSpeed, shouldShowCustomMimeTypes, startStreamingMessage, stopStreamingMessage, streamingState$, useCometChatErrorHandler, useCometChatFrameContext, useDebouncedCallback, useRefSync, useStateRef, verifyCallUser };
|
|
7076
7430
|
export type { IActiveChatChanged, IDialog, IGroupLeft, IGroupMemberAdded, IGroupMemberJoined, IGroupMemberKickedBanned, IGroupMemberScopeChanged, IGroupMemberUnBanned, IMentionsCountWarning, IMessages, IModal, IMouseEvent, IOpenChat, IOwnershipChanged, IPanel, IShowOngoingCall, IStreamData, LocalizationSettings, PollOptions };
|