@cometchat/chat-uikit-react 5.0.4 → 5.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/dist/assets/missedCallIcon.svg +10 -0
  2. package/dist/index.d.ts +111 -11
  3. package/dist/index.js +1 -10
  4. package/dist/index.js.map +1 -1
  5. package/dist/styles/CometChatCallLogs.css +2 -2
  6. package/dist/styles/CometChatConversationStarter.css +2 -1
  7. package/dist/styles/CometChatMediaRecorder.css +76 -4
  8. package/dist/styles/CometChatMessageBubble.css +4 -1
  9. package/dist/styles/CometChatMessageComposer.css +19 -2
  10. package/dist/styles/CometChatMessageInformation.css +7 -1
  11. package/dist/styles/CometChatMessageList.css +20 -8
  12. package/dist/styles/CometChatOngoingCall.css +1 -1
  13. package/dist/styles/CometChatReactionList.css +3 -4
  14. package/dist/styles/CometChatThreadedMessagePreview.css +1 -1
  15. package/dist/styles/PollsBubble.css +5 -0
  16. package/dist/styles/StickersKeyboard.css +0 -6
  17. package/dist/styles/components/CometChatCallLogs.css +2 -2
  18. package/dist/styles/components/CometChatConversationStarter.css +2 -1
  19. package/dist/styles/components/CometChatMediaRecorder.css +76 -4
  20. package/dist/styles/components/CometChatMessageBubble.css +4 -1
  21. package/dist/styles/components/CometChatMessageComposer.css +19 -2
  22. package/dist/styles/components/CometChatMessageInformation.css +7 -1
  23. package/dist/styles/components/CometChatMessageList.css +20 -8
  24. package/dist/styles/components/CometChatOngoingCall.css +1 -1
  25. package/dist/styles/components/CometChatReactionList.css +3 -4
  26. package/dist/styles/components/CometChatThreadedMessagePreview.css +1 -1
  27. package/dist/styles/components/PollsBubble.css +5 -0
  28. package/dist/styles/components/StickersKeyboard.css +0 -6
  29. package/dist/styles/components/index.css +3 -0
  30. package/dist/styles/index.css +3 -0
  31. package/dist/types/components/BaseComponents/CometChatContextMenu/CometChatContextMenu.d.ts +2 -0
  32. package/dist/types/components/BaseComponents/CometChatListItem/CometChatListItem.d.ts +1 -0
  33. package/dist/types/components/BaseComponents/CometChatListItem/useCometChatListItem.d.ts +9 -6
  34. package/dist/types/components/BaseComponents/CometChatPopover/CometChatPopover.d.ts +3 -0
  35. package/dist/types/components/Extensions/Stickers/StickersExtensionDecorator.d.ts +1 -4
  36. package/dist/types/constants/CometChatUIKitConstants.d.ts +5 -1
  37. package/dist/types/events/CometChatMessageEvents.d.ts +4 -0
  38. package/dist/types/resources/CometChatLocalize/cometchat-localize.d.ts +57 -0
  39. package/dist/types/utils/DataSource.d.ts +9 -0
  40. package/dist/types/utils/DataSourceDecorator.d.ts +9 -0
  41. package/dist/types/utils/MessagesDataSource.d.ts +9 -0
  42. package/dist/types/utils/util.d.ts +1 -0
  43. package/package.json +7 -2
  44. package/rollup.config.js +1 -1
@@ -0,0 +1,10 @@
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g id="Base_Icon">
3
+ <mask id="mask0_10861_545568" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="16" height="16">
4
+ <rect id="Bounding box" width="16" height="16" fill="#D9D9D9"/>
5
+ </mask>
6
+ <g mask="url(#mask0_10861_545568)">
7
+ <path id="call_missed" d="M3.33325 6.68044V9.46777C3.33325 9.60966 3.28536 9.72844 3.18959 9.82411C3.09392 9.91988 2.97514 9.96777 2.83325 9.96777C2.69136 9.96777 2.57259 9.91988 2.47692 9.82411C2.38114 9.72844 2.33325 9.60966 2.33325 9.46777V5.57027C2.33325 5.3985 2.39075 5.25511 2.50575 5.14011C2.62064 5.02522 2.76403 4.96777 2.93592 4.96777H6.83325C6.97514 4.96777 7.09392 5.01561 7.18959 5.11127C7.28536 5.20705 7.33325 5.32588 7.33325 5.46777C7.33325 5.60966 7.28536 5.72844 7.18959 5.82411C7.09392 5.91988 6.97514 5.96777 6.83325 5.96777H4.03575L7.88459 9.81644C7.92303 9.85488 7.97214 9.87411 8.03192 9.87411C8.09181 9.87411 8.14097 9.85488 8.17942 9.81644L12.6191 5.37677C12.7183 5.27755 12.8344 5.22861 12.9673 5.22994C13.1001 5.23116 13.2183 5.2835 13.3218 5.38694C13.4183 5.49038 13.4683 5.6075 13.4718 5.73827C13.4751 5.86905 13.4251 5.98611 13.3218 6.08944L8.88575 10.5254C8.76531 10.6459 8.63031 10.7352 8.48075 10.7933C8.33109 10.8515 8.18147 10.8806 8.03192 10.8806C7.88236 10.8806 7.73281 10.8515 7.58325 10.7933C7.4337 10.7352 7.29864 10.6459 7.17809 10.5254L3.33325 6.68044Z" fill="#F44649"/>
8
+ </g>
9
+ </g>
10
+ </svg>
package/dist/index.d.ts CHANGED
@@ -792,6 +792,10 @@ declare class CometChatLocalize {
792
792
  NO_USERS_FOUND: string;
793
793
  USERS_EMPTY_STATE_MESSAGE: string;
794
794
  SAVE: string;
795
+ MESSAGE_TYPE_NOT_SUPPORTED: string;
796
+ MESSAGE_ALREADY_TRANSLATED: string;
797
+ MEDIA_RECORDER_ERROR_TITLE: string;
798
+ MEDIA_RECORDER_ERROR_SUBTITLE: string;
795
799
  };
796
800
  de: {
797
801
  INFO: string;
@@ -1185,6 +1189,10 @@ declare class CometChatLocalize {
1185
1189
  NO_USERS_FOUND: string;
1186
1190
  USERS_EMPTY_STATE_MESSAGE: string;
1187
1191
  SAVE: string;
1192
+ MESSAGE_TYPE_NOT_SUPPORTED: string;
1193
+ MESSAGE_ALREADY_TRANSLATED: string;
1194
+ MEDIA_RECORDER_ERROR_TITLE: string;
1195
+ MEDIA_RECORDER_ERROR_SUBTITLE: string;
1188
1196
  };
1189
1197
  en: {
1190
1198
  INFO: string;
@@ -1582,6 +1590,10 @@ declare class CometChatLocalize {
1582
1590
  NO_USERS_FOUND: string;
1583
1591
  USERS_EMPTY_STATE_MESSAGE: string;
1584
1592
  SAVE: string;
1593
+ MESSAGE_TYPE_NOT_SUPPORTED: string;
1594
+ MESSAGE_ALREADY_TRANSLATED: string;
1595
+ MEDIA_RECORDER_ERROR_TITLE: string;
1596
+ MEDIA_RECORDER_ERROR_SUBTITLE: string;
1585
1597
  };
1586
1598
  es: {
1587
1599
  INFO: string;
@@ -1983,6 +1995,10 @@ declare class CometChatLocalize {
1983
1995
  NO_USERS_FOUND: string;
1984
1996
  USERS_EMPTY_STATE_MESSAGE: string;
1985
1997
  SAVE: string;
1998
+ MESSAGE_TYPE_NOT_SUPPORTED: string;
1999
+ MESSAGE_ALREADY_TRANSLATED: string;
2000
+ MEDIA_RECORDER_ERROR_TITLE: string;
2001
+ MEDIA_RECORDER_ERROR_SUBTITLE: string;
1986
2002
  };
1987
2003
  fr: {
1988
2004
  INFO: string;
@@ -2379,6 +2395,10 @@ declare class CometChatLocalize {
2379
2395
  NO_USERS_FOUND: string;
2380
2396
  USERS_EMPTY_STATE_MESSAGE: string;
2381
2397
  SAVE: string;
2398
+ MESSAGE_TYPE_NOT_SUPPORTED: string;
2399
+ MESSAGE_ALREADY_TRANSLATED: string;
2400
+ MEDIA_RECORDER_ERROR_TITLE: string;
2401
+ MEDIA_RECORDER_ERROR_SUBTITLE: string;
2382
2402
  };
2383
2403
  hi: {
2384
2404
  INFO: string;
@@ -2775,6 +2795,10 @@ declare class CometChatLocalize {
2775
2795
  NO_USERS_FOUND: string;
2776
2796
  USERS_EMPTY_STATE_MESSAGE: string;
2777
2797
  SAVE: string;
2798
+ MESSAGE_TYPE_NOT_SUPPORTED: string;
2799
+ MESSAGE_ALREADY_TRANSLATED: string;
2800
+ MEDIA_RECORDER_ERROR_TITLE: string;
2801
+ MEDIA_RECORDER_ERROR_SUBTITLE: string;
2778
2802
  };
2779
2803
  ms: {
2780
2804
  INFO: string;
@@ -3175,6 +3199,10 @@ declare class CometChatLocalize {
3175
3199
  NO_USERS_FOUND: string;
3176
3200
  USERS_EMPTY_STATE_MESSAGE: string;
3177
3201
  SAVE: string;
3202
+ MESSAGE_TYPE_NOT_SUPPORTED: string;
3203
+ MESSAGE_ALREADY_TRANSLATED: string;
3204
+ MEDIA_RECORDER_ERROR_TITLE: string;
3205
+ MEDIA_RECORDER_ERROR_SUBTITLE: string;
3178
3206
  };
3179
3207
  pt: {
3180
3208
  INFO: string;
@@ -3570,6 +3598,10 @@ declare class CometChatLocalize {
3570
3598
  NO_USERS_FOUND: string;
3571
3599
  USERS_EMPTY_STATE_MESSAGE: string;
3572
3600
  SAVE: string;
3601
+ MESSAGE_TYPE_NOT_SUPPORTED: string;
3602
+ MESSAGE_ALREADY_TRANSLATED: string;
3603
+ MEDIA_RECORDER_ERROR_TITLE: string;
3604
+ MEDIA_RECORDER_ERROR_SUBTITLE: string;
3573
3605
  };
3574
3606
  ru: {
3575
3607
  INFO: string;
@@ -3963,6 +3995,10 @@ declare class CometChatLocalize {
3963
3995
  NO_USERS_FOUND: string;
3964
3996
  USERS_EMPTY_STATE_MESSAGE: string;
3965
3997
  SAVE: string;
3998
+ MESSAGE_TYPE_NOT_SUPPORTED: string;
3999
+ MESSAGE_ALREADY_TRANSLATED: string;
4000
+ MEDIA_RECORDER_ERROR_TITLE: string;
4001
+ MEDIA_RECORDER_ERROR_SUBTITLE: string;
3966
4002
  };
3967
4003
  zh: {
3968
4004
  INCOMING_CALL: string;
@@ -4369,6 +4405,10 @@ declare class CometChatLocalize {
4369
4405
  NO_USERS_FOUND: string;
4370
4406
  USERS_EMPTY_STATE_MESSAGE: string;
4371
4407
  SAVE: string;
4408
+ MESSAGE_TYPE_NOT_SUPPORTED: string;
4409
+ MESSAGE_ALREADY_TRANSLATED: string;
4410
+ MEDIA_RECORDER_ERROR_TITLE: string;
4411
+ MEDIA_RECORDER_ERROR_SUBTITLE: string;
4372
4412
  };
4373
4413
  "zh-tw": {
4374
4414
  INFO: string;
@@ -4762,6 +4802,11 @@ declare class CometChatLocalize {
4762
4802
  NO_USERS_FOUND: string;
4763
4803
  USERS_EMPTY_STATE_MESSAGE: string;
4764
4804
  SAVE: string;
4805
+ MESSAGE_TYPE_NOT_SUPPORTED: string;
4806
+ MESSAGE_ALREADY_TRANSLATED: string;
4807
+ MEDIA_RECORDER_ERROR_TITLE: string;
4808
+ MEDIA_RECORDER_ERROR_SUBTITLE: string;
4809
+ media_recorder_error_button: string;
4765
4810
  };
4766
4811
  sv: {
4767
4812
  INFO: string;
@@ -5158,6 +5203,10 @@ declare class CometChatLocalize {
5158
5203
  NO_USERS_FOUND: string;
5159
5204
  USERS_EMPTY_STATE_MESSAGE: string;
5160
5205
  SAVE: string;
5206
+ MESSAGE_TYPE_NOT_SUPPORTED: string;
5207
+ MESSAGE_ALREADY_TRANSLATED: string;
5208
+ MEDIA_RECORDER_ERROR_TITLE: string;
5209
+ MEDIA_RECORDER_ERROR_SUBTITLE: string;
5161
5210
  };
5162
5211
  lt: {
5163
5212
  INFO: string;
@@ -5555,6 +5604,10 @@ declare class CometChatLocalize {
5555
5604
  NO_USERS_FOUND: string;
5556
5605
  USERS_EMPTY_STATE_MESSAGE: string;
5557
5606
  SAVE: string;
5607
+ MESSAGE_TYPE_NOT_SUPPORTED: string;
5608
+ MESSAGE_ALREADY_TRANSLATED: string;
5609
+ MEDIA_RECORDER_ERROR_TITLE: string;
5610
+ MEDIA_RECORDER_ERROR_SUBTITLE: string;
5558
5611
  };
5559
5612
  hu: {
5560
5613
  INFO: string;
@@ -5955,6 +6008,10 @@ declare class CometChatLocalize {
5955
6008
  NO_USERS_FOUND: string;
5956
6009
  USERS_EMPTY_STATE_MESSAGE: string;
5957
6010
  SAVE: string;
6011
+ MESSAGE_TYPE_NOT_SUPPORTED: string;
6012
+ MESSAGE_ALREADY_TRANSLATED: string;
6013
+ MEDIA_RECORDER_ERROR_TITLE: string;
6014
+ MEDIA_RECORDER_ERROR_SUBTITLE: string;
5958
6015
  };
5959
6016
  };
5960
6017
  /**
@@ -6804,7 +6861,7 @@ declare class MessagesDataSource implements DataSource {
6804
6861
  getVideoMessageOptions(loggedInUser: CometChat$1.User, messageObject: CometChat$1.BaseMessage, group?: CometChat$1.Group, additionalParams?: Object | undefined): Array<CometChatActionsIcon | CometChatActionsView>;
6805
6862
  getAudioMessageOptions(loggedInUser: CometChat$1.User, messageObject: CometChat$1.BaseMessage, group?: CometChat$1.Group, additionalParams?: Object | undefined): Array<CometChatActionsIcon | CometChatActionsView>;
6806
6863
  getFileMessageOptions(loggedInUser: CometChat$1.User, messageObject: CometChat$1.BaseMessage, group?: CometChat$1.Group, additionalParams?: Object | undefined): Array<CometChatActionsIcon | CometChatActionsView>;
6807
- getReceiptClass(status?: number): "error" | "wait" | "read" | "delivered" | "sent" | undefined;
6864
+ getReceiptClass(status?: number): "error" | "read" | "delivered" | "sent" | "wait" | undefined;
6808
6865
  /**
6809
6866
  * Function to get receipt for message bubble
6810
6867
  * @param {CometChat.BaseMessage} item - The message bubble for which the receipt needs to be fetched
@@ -6883,6 +6940,15 @@ declare class MessagesDataSource implements DataSource {
6883
6940
  getAllTextFormatters(formatterParams: additionalParams): CometChatTextFormatter[];
6884
6941
  getMentionsTextFormatter(params: additionalParams): CometChatMentionsFormatter;
6885
6942
  getUrlTextFormatter(params?: additionalParams): CometChatUrlsFormatter;
6943
+ getFormMessageBubble(message: CometChat$1.InteractiveMessage, alignment: MessageBubbleAlignment): Element | JSX.Element;
6944
+ getSchedulerMessageBubble(message: CometChat$1.InteractiveMessage, alignment: MessageBubbleAlignment): Element | JSX.Element;
6945
+ getCardMessageBubble(message: CometChat$1.InteractiveMessage, alignment: MessageBubbleAlignment): Element | JSX.Element;
6946
+ getFormMessageTemplate(): CometChatMessageTemplate;
6947
+ getSchedulerMessageTemplate(): CometChatMessageTemplate;
6948
+ getCardMessageTemplate(): CometChatMessageTemplate;
6949
+ getFormMessageContentView(message: CometChat$1.InteractiveMessage, _alignment: MessageBubbleAlignment): Element | JSX.Element;
6950
+ getSchedulerMessageContentView(message: CometChat$1.InteractiveMessage, _alignment: MessageBubbleAlignment): Element | JSX.Element;
6951
+ getCardMessageContentView(message: CometChat$1.InteractiveMessage, _alignment: MessageBubbleAlignment): Element | JSX.Element;
6886
6952
  }
6887
6953
 
6888
6954
  /**
@@ -7406,6 +7472,15 @@ declare abstract class DataSource {
7406
7472
  abstract getMentionsTextFormatter(params: Object): CometChatMentionsFormatter;
7407
7473
  abstract getUrlTextFormatter(params: Object): CometChatUrlsFormatter;
7408
7474
  abstract getMentionsFormattedText(message: CometChat.TextMessage, subtitle: string, additionalConfigurations?: Object | undefined): string;
7475
+ abstract getFormMessageContentView(message: CometChat.InteractiveMessage, alignment: MessageBubbleAlignment): Element | JSX.Element;
7476
+ abstract getSchedulerMessageContentView(message: CometChat.InteractiveMessage, alignment: MessageBubbleAlignment): Element | JSX.Element;
7477
+ abstract getCardMessageContentView(message: CometChat.InteractiveMessage, alignment: MessageBubbleAlignment): Element | JSX.Element;
7478
+ abstract getFormMessageTemplate(): CometChatMessageTemplate;
7479
+ abstract getSchedulerMessageTemplate(): CometChatMessageTemplate;
7480
+ abstract getCardMessageTemplate(): CometChatMessageTemplate;
7481
+ abstract getFormMessageBubble(message: CometChat.InteractiveMessage, alignment: MessageBubbleAlignment): Element | JSX.Element;
7482
+ abstract getSchedulerMessageBubble(message: CometChat.InteractiveMessage, alignment: MessageBubbleAlignment): Element | JSX.Element;
7483
+ abstract getCardMessageBubble(message: CometChat.InteractiveMessage, alignment: MessageBubbleAlignment): Element | JSX.Element;
7409
7484
  }
7410
7485
 
7411
7486
  interface CometChatUiKit {
@@ -7601,6 +7676,15 @@ declare abstract class DataSourceDecorator implements DataSource {
7601
7676
  getMentionsTextFormatter(params?: Object): CometChatMentionsFormatter;
7602
7677
  getUrlTextFormatter(params?: Object): CometChatUrlsFormatter;
7603
7678
  getMentionsFormattedText(message: CometChat.TextMessage, subtitle: string, additionalConfigurations: Object): string;
7679
+ getFormMessageContentView(message: CometChat.InteractiveMessage, alignment: MessageBubbleAlignment): JSX.Element | Element;
7680
+ getSchedulerMessageContentView(message: CometChat.InteractiveMessage, alignment: MessageBubbleAlignment): JSX.Element | Element;
7681
+ getCardMessageContentView(message: CometChat.InteractiveMessage, alignment: MessageBubbleAlignment): JSX.Element | Element;
7682
+ getFormMessageTemplate(): CometChatMessageTemplate;
7683
+ getSchedulerMessageTemplate(): CometChatMessageTemplate;
7684
+ getCardMessageTemplate(): CometChatMessageTemplate;
7685
+ getFormMessageBubble(message: CometChat.InteractiveMessage, alignment: MessageBubbleAlignment): JSX.Element | Element;
7686
+ getSchedulerMessageBubble(message: CometChat.InteractiveMessage, alignment: MessageBubbleAlignment): JSX.Element | Element;
7687
+ getCardMessageBubble(message: CometChat.InteractiveMessage, alignment: MessageBubbleAlignment): JSX.Element | Element;
7604
7688
  }
7605
7689
 
7606
7690
  interface ListProps<T> {
@@ -8123,7 +8207,7 @@ declare class LinkPreviewExtensionDecorator extends DataSourceDecorator {
8123
8207
  * @param {any} [additionalConfigurations] - Additional configurations for formatting.
8124
8208
  * @returns {JSX.Element} The JSX element representing the message content view.
8125
8209
  */
8126
- getTextMessageContentView(message: CometChat.TextMessage, alignment: MessageBubbleAlignment, additionalConfigurations?: any): react_jsx_runtime.JSX.Element | Element;
8210
+ getTextMessageContentView(message: CometChat.TextMessage, alignment: MessageBubbleAlignment, additionalConfigurations?: any): JSX.Element | Element;
8127
8211
  /**
8128
8212
  * Retrieves the style for the link preview wrapper.
8129
8213
  * @returns {object} The style object for the link preview wrapper.
@@ -8217,7 +8301,7 @@ declare class MessageTranslationExtensionDecorator extends DataSourceDecorator {
8217
8301
  * @param {any} [additionalConfigurations] - Optional additional configurations for the content view.
8218
8302
  * @returns {JSX.Element} The content view for the text message.
8219
8303
  */
8220
- getTextMessageContentView(message: CometChat.TextMessage, alignment: MessageBubbleAlignment, additionalConfigurations?: any): react_jsx_runtime.JSX.Element | Element;
8304
+ getTextMessageContentView(message: CometChat.TextMessage, alignment: MessageBubbleAlignment, additionalConfigurations?: any): JSX.Element | Element;
8221
8305
  /**
8222
8306
  * Checks if an option with the specified ID already exists in the options list.
8223
8307
  *
@@ -8424,9 +8508,6 @@ declare class StickersExtensionDecorator extends DataSourceDecorator {
8424
8508
  * @default false
8425
8509
  */
8426
8510
  showStickerKeyboard: boolean;
8427
- private id;
8428
- private user?;
8429
- private group?;
8430
8511
  /**
8431
8512
  * Constructs a new instance of StickersExtensionDecorator.
8432
8513
  * @param dataSource - The data source to be decorated.
@@ -8466,7 +8547,7 @@ declare class StickersExtensionDecorator extends DataSourceDecorator {
8466
8547
  * Sends a sticker message.
8467
8548
  * @param event - The event object containing sticker details.
8468
8549
  */
8469
- sendSticker(event: any, closeSticker: Function): void;
8550
+ sendSticker(event: any, closeSticker: Function, id: ComposerId): void;
8470
8551
  /**
8471
8552
  * Sends a sticker message.
8472
8553
  * @param event - The event object containing sticker details.
@@ -9905,6 +9986,7 @@ declare class CometChatUIKitConstants {
9905
9986
  custom: string;
9906
9987
  action: string;
9907
9988
  call: string;
9989
+ interactive: string;
9908
9990
  }>;
9909
9991
  static MessageTypes: Readonly<{
9910
9992
  text: string;
@@ -9915,6 +9997,10 @@ declare class CometChatUIKitConstants {
9915
9997
  delete: "delete";
9916
9998
  edited: "edited";
9917
9999
  groupMember: "groupMember";
10000
+ form: "form";
10001
+ card: "card";
10002
+ customInteractive: "customInteractive";
10003
+ scheduler: "scheduler";
9918
10004
  }>;
9919
10005
  static groupMemberAction: Readonly<{
9920
10006
  ROLE: "role";
@@ -9997,7 +10083,6 @@ declare class CometChatUIKitConstants {
9997
10083
  CUSTOM_MESSAGE_RECEIVED: "onCustomMessageReceived";
9998
10084
  TRANSIENT_MESSAGE_RECEIVED: "onTransientMessageReceived";
9999
10085
  INTERACTIVE_MESSAGE_RECEIVED: "onInteractiveMessageReceived";
10000
- INTERACTION_GOAL_COMPLETED: "onInteractionGoalCompleted";
10001
10086
  DELIVERY: "delivery";
10002
10087
  READ: "read";
10003
10088
  APP_SYSTEM: "app_system";
@@ -10234,6 +10319,10 @@ declare class CometChatMessageEvents {
10234
10319
  static onTransientMessageReceived: Subject<CometChat.TransientMessage>;
10235
10320
  static onMessageReactionAdded: Subject<CometChat.ReactionEvent>;
10236
10321
  static onMessageReactionRemoved: Subject<CometChat.ReactionEvent>;
10322
+ static onCustomInteractiveMessageReceived: Subject<CometChat.InteractiveMessage>;
10323
+ static onFormMessageReceived: Subject<CometChat.InteractiveMessage>;
10324
+ static onCardMessageReceived: Subject<CometChat.InteractiveMessage>;
10325
+ static onSchedulerMessageReceived: Subject<CometChat.InteractiveMessage>;
10237
10326
  }
10238
10327
  /**
10239
10328
  * Interface for message-related events
@@ -10426,6 +10515,8 @@ interface ContextMenuProps {
10426
10515
  onOptionClicked?: (option: CometChatActionsIcon | CometChatActionsView | CometChatOption) => void;
10427
10516
  placement?: Placement$1;
10428
10517
  closeOnOutsideClick?: boolean;
10518
+ disableBackgroundInteraction?: boolean;
10519
+ useParentContainer?: boolean;
10429
10520
  }
10430
10521
  /**
10431
10522
  * CometChatContextMenu is a composite component used to display menu data in required format.
@@ -10488,6 +10579,9 @@ interface PopoverProps {
10488
10579
  content: ReactNode;
10489
10580
  childClickHandler?: (openContent: Function, event: Event) => void;
10490
10581
  onOutsideClick?: () => void;
10582
+ disableBackgroundInteraction?: boolean;
10583
+ useParentContainer?: boolean;
10584
+ useParentHeight?: boolean;
10491
10585
  }
10492
10586
  declare const CometChatPopover: React.ForwardRefExoticComponent<PopoverProps & React.RefAttributes<{
10493
10587
  openPopover: () => void;
@@ -10514,6 +10608,7 @@ interface ListItemProps {
10514
10608
  trailingView?: ReactNode;
10515
10609
  titleView?: ReactNode;
10516
10610
  leadingView?: ReactNode;
10611
+ stopEventPropagation?: boolean;
10517
10612
  }
10518
10613
  declare const CometChatListItem: (props: ListItemProps) => react_jsx_runtime.JSX.Element;
10519
10614
 
@@ -10922,7 +11017,10 @@ declare function createElement(tagName: string, content?: TreeNode, container?:
10922
11017
 
10923
11018
  declare const dom_createElement: typeof createElement;
10924
11019
  declare namespace dom {
10925
- export { dom_createElement as createElement, createElement as default };
11020
+ export {
11021
+ dom_createElement as createElement,
11022
+ createElement as default,
11023
+ };
10926
11024
  }
10927
11025
 
10928
11026
  type PlayerOptions = {
@@ -11226,7 +11324,7 @@ declare function isSafari(): boolean;
11226
11324
  */
11227
11325
  declare function isURL(text: string): boolean;
11228
11326
  declare function getThemeVariable(name: string): string;
11229
- declare function getThemeMode(): "dark" | "light";
11327
+ declare function getThemeMode(): "light" | "dark";
11230
11328
  /**
11231
11329
  * Function to convert audio forat from webm to wav
11232
11330
  * @param file
@@ -11241,6 +11339,7 @@ declare function processFileForAudio(file: File): Promise<File>;
11241
11339
  */
11242
11340
  declare function formatDateFromTimestamp(timestamp: number): string;
11243
11341
  declare function isMobileDevice(): boolean;
11342
+ declare function fireClickEvent(): void;
11244
11343
 
11245
11344
  /**
11246
11345
  * Utility class for managing local storage with change detection capabilities.
@@ -11457,4 +11556,5 @@ declare function useRefSync<T>(value: T): React__default.MutableRefObject<T>;
11457
11556
  declare function useStateRef<T>(initialValue: T): [T, (node: T) => void];
11458
11557
  declare function useCometChatErrorHandler(onError?: ((error: CometChat.CometChatException) => void) | null): (error: unknown, source?: string) => void;
11459
11558
 
11460
- export { AuxiliaryButtonAlignment, ButtonAction, 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, CometChatSearchBar, CometChatTextBubble, CometChatTextFormatter, CometChatThreadedMessagePreview, CometChatToast, CometChatUIEvents, CometChatUIKit, CometChatUIKitCalls, CometChatUIKitConstants, CometChatUIKitLoginListener, CometChatUIKitUtility, CometChatUrlsFormatter, CometChatUserEvents, CometChatUserMemberWrapper, CometChatUsers, CometChatUtilityConstants, CometChatVideoBubble, ConversationUtils, DataSource, DataSourceDecorator, DatePatterns, DateTimePickerMode, DocumentIconAlignment, ElementType, EnterKeyBehavior, ExtensionsDataSource, GroupMemberUtils, HTTPSRequestMethods, type IActiveChatChanged, type IDialog, type IGroupLeft, type IGroupMemberAdded, type IGroupMemberJoined, type IGroupMemberKickedBanned, type IGroupMemberScopeChanged, type IGroupMemberUnBanned, type IMentionsCountWarning, type IMessages, type IModal, type IMouseEvent, type IOpenChat, type IOwnershipChanged, type IPanel, type IShowOngoingCall, IconButtonAlignment, LabelAlignment, LinkPreviewExtension, LinkPreviewExtensionDecorator, MentionsTargetElement, MentionsVisibility, MessageBubbleAlignment, MessageListAlignment, MessageReceiptUtils, MessageStatus, MessageTranslationExtension, MessageTranslationExtensionDecorator, MessageUtils, MessagesDataSource, MouseEventSource, OutgoingCallConfiguration, PanelAlignment, Placement$1 as Placement, type PollOptions, 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, downloadRecordingFromURL, formatDateFromTimestamp, getCallStatusWithType, getThemeMode, getThemeVariable, isMessageSentByMe, isMissedCall, isMobileDevice, isSafari, isSentByMe, isURL, localize, processFileForAudio, sanitizeHtml, useCometChatErrorHandler, useRefSync, useStateRef, verifyCallUser };
11559
+ export { AuxiliaryButtonAlignment, ButtonAction, 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, CometChatSearchBar, CometChatTextBubble, CometChatTextFormatter, CometChatThreadedMessagePreview, CometChatToast, CometChatUIEvents, CometChatUIKit, CometChatUIKitCalls, CometChatUIKitConstants, CometChatUIKitLoginListener, CometChatUIKitUtility, CometChatUrlsFormatter, CometChatUserEvents, CometChatUserMemberWrapper, CometChatUsers, CometChatUtilityConstants, CometChatVideoBubble, ConversationUtils, DataSource, DataSourceDecorator, DatePatterns, 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, downloadRecordingFromURL, fireClickEvent, formatDateFromTimestamp, getCallStatusWithType, getThemeMode, getThemeVariable, isMessageSentByMe, isMissedCall, isMobileDevice, isSafari, isSentByMe, isURL, localize, processFileForAudio, sanitizeHtml, useCometChatErrorHandler, useRefSync, useStateRef, verifyCallUser };
11560
+ export type { IActiveChatChanged, IDialog, IGroupLeft, IGroupMemberAdded, IGroupMemberJoined, IGroupMemberKickedBanned, IGroupMemberScopeChanged, IGroupMemberUnBanned, IMentionsCountWarning, IMessages, IModal, IMouseEvent, IOpenChat, IOwnershipChanged, IPanel, IShowOngoingCall, PollOptions };