stream-chat-react 14.0.0-beta.5 → 14.0.0-beta.7
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/cjs/{WithAudioPlayback.0c10cb67.js → WithAudioPlayback.83ba0e35.js} +295 -183
- package/dist/cjs/WithAudioPlayback.83ba0e35.js.map +1 -0
- package/dist/cjs/emojis.js +5 -2
- package/dist/cjs/emojis.js.map +1 -1
- package/dist/cjs/index.js +1630 -1465
- package/dist/cjs/index.js.map +1 -1
- package/dist/css/emoji-picker.css +11 -0
- package/dist/css/emoji-picker.css.map +1 -0
- package/dist/css/index.css +707 -893
- package/dist/css/index.css.map +1 -1
- package/dist/es/{WithAudioPlayback.e7821fd4.mjs → WithAudioPlayback.21b7f35a.mjs} +442 -330
- package/dist/es/WithAudioPlayback.21b7f35a.mjs.map +1 -0
- package/dist/es/emojis.mjs +5 -2
- package/dist/es/emojis.mjs.map +1 -1
- package/dist/es/index.mjs +1711 -1546
- package/dist/es/index.mjs.map +1 -1
- package/dist/types/components/Attachment/Audio.d.ts.map +1 -1
- package/dist/types/components/Attachment/FileAttachment.d.ts.map +1 -1
- package/dist/types/components/Attachment/UnsupportedAttachment.d.ts +1 -1
- package/dist/types/components/Attachment/UnsupportedAttachment.d.ts.map +1 -1
- package/dist/types/components/Attachment/VoiceRecording.d.ts.map +1 -1
- package/dist/types/components/Attachment/components/FileSizeIndicator.d.ts +1 -2
- package/dist/types/components/Attachment/components/FileSizeIndicator.d.ts.map +1 -1
- package/dist/types/components/AudioPlayback/components/useInteractiveProgressBar.d.ts.map +1 -1
- package/dist/types/components/AudioPlayback/plugins/AudioPlayerNotificationsPlugin.d.ts +4 -4
- package/dist/types/components/AudioPlayback/plugins/AudioPlayerNotificationsPlugin.d.ts.map +1 -1
- package/dist/types/components/Avatar/Avatar.d.ts +1 -1
- package/dist/types/components/Avatar/Avatar.d.ts.map +1 -1
- package/dist/types/components/Avatar/AvatarStack.d.ts +2 -2
- package/dist/types/components/Avatar/AvatarStack.d.ts.map +1 -1
- package/dist/types/components/Avatar/ChannelAvatar.d.ts +2 -6
- package/dist/types/components/Avatar/ChannelAvatar.d.ts.map +1 -1
- package/dist/types/components/Avatar/GroupAvatar.d.ts +6 -7
- package/dist/types/components/Avatar/GroupAvatar.d.ts.map +1 -1
- package/dist/types/components/Badge/MediaBadge.d.ts +8 -0
- package/dist/types/components/Badge/MediaBadge.d.ts.map +1 -0
- package/dist/types/components/Channel/Channel.d.ts.map +1 -1
- package/dist/types/components/ChannelHeader/ChannelHeader.d.ts +0 -2
- package/dist/types/components/ChannelHeader/ChannelHeader.d.ts.map +1 -1
- package/dist/types/components/ChannelList/ChannelList.d.ts.map +1 -1
- package/dist/types/components/ChannelList/ChannelListHeader.d.ts +1 -5
- package/dist/types/components/ChannelList/ChannelListHeader.d.ts.map +1 -1
- package/dist/types/components/ChannelList/hooks/index.d.ts +0 -11
- package/dist/types/components/ChannelList/hooks/index.d.ts.map +1 -1
- package/dist/types/components/ChannelList/utils.d.ts +0 -9
- package/dist/types/components/ChannelList/utils.d.ts.map +1 -1
- package/dist/types/components/ChannelListItem/ChannelListItem.d.ts +0 -2
- package/dist/types/components/ChannelListItem/ChannelListItem.d.ts.map +1 -1
- package/dist/types/components/ChannelListItem/ChannelListItemActionButtons.defaults.d.ts.map +1 -1
- package/dist/types/components/ChannelListItem/ChannelListItemUI.d.ts.map +1 -1
- package/dist/types/components/ChannelListItem/utils.d.ts.map +1 -1
- package/dist/types/components/Chat/Chat.d.ts +1 -5
- package/dist/types/components/Chat/Chat.d.ts.map +1 -1
- package/dist/types/components/Chat/hooks/useChat.d.ts +1 -10
- package/dist/types/components/Chat/hooks/useChat.d.ts.map +1 -1
- package/dist/types/components/Chat/hooks/useCreateChatContext.d.ts.map +1 -1
- package/dist/types/components/Chat/hooks/useReportLostConnectionSystemNotification.d.ts +6 -0
- package/dist/types/components/Chat/hooks/useReportLostConnectionSystemNotification.d.ts.map +1 -0
- package/dist/types/components/Chat/index.d.ts +1 -0
- package/dist/types/components/Chat/index.d.ts.map +1 -1
- package/dist/types/components/ChatView/ChatView.d.ts.map +1 -1
- package/dist/types/components/Dialog/components/ContextMenu.d.ts +1 -1
- package/dist/types/components/Dialog/components/ContextMenu.d.ts.map +1 -1
- package/dist/types/components/Dialog/hooks/useDialog.d.ts.map +1 -1
- package/dist/types/components/Dialog/service/DialogManager.d.ts +3 -2
- package/dist/types/components/Dialog/service/DialogManager.d.ts.map +1 -1
- package/dist/types/components/Icons/createIcon.d.ts +1 -1
- package/dist/types/components/Icons/createIcon.d.ts.map +1 -1
- package/dist/types/components/Icons/icons.d.ts +21 -9
- package/dist/types/components/Icons/icons.d.ts.map +1 -1
- package/dist/types/components/InfiniteScrollPaginator/InfiniteScroll.d.ts +0 -20
- package/dist/types/components/InfiniteScrollPaginator/InfiniteScroll.d.ts.map +1 -1
- package/dist/types/components/LoadMore/LoadMoreButton.d.ts +1 -6
- package/dist/types/components/LoadMore/LoadMoreButton.d.ts.map +1 -1
- package/dist/types/components/LoadMore/LoadMorePaginator.d.ts.map +1 -1
- package/dist/types/components/Loading/UploadProgressIndicator.d.ts +5 -0
- package/dist/types/components/Loading/UploadProgressIndicator.d.ts.map +1 -0
- package/dist/types/components/Loading/UploadedSizeIndicator.d.ts +6 -0
- package/dist/types/components/Loading/UploadedSizeIndicator.d.ts.map +1 -0
- package/dist/types/components/Loading/index.d.ts +3 -0
- package/dist/types/components/Loading/index.d.ts.map +1 -1
- package/dist/types/components/Loading/progress-indicators.d.ts +7 -0
- package/dist/types/components/Loading/progress-indicators.d.ts.map +1 -0
- package/dist/types/components/Location/ShareLocationDialog.d.ts.map +1 -1
- package/dist/types/components/MediaRecorder/AudioRecorder/AudioRecorderRecordingControls.d.ts.map +1 -1
- package/dist/types/components/Message/Message.d.ts.map +1 -1
- package/dist/types/components/Message/MessageAlsoSentInChannelIndicator.d.ts.map +1 -1
- package/dist/types/components/Message/MessageUI.d.ts.map +1 -1
- package/dist/types/components/Message/hooks/useDeleteHandler.d.ts +1 -5
- package/dist/types/components/Message/hooks/useDeleteHandler.d.ts.map +1 -1
- package/dist/types/components/Message/hooks/useFlagHandler.d.ts +1 -6
- package/dist/types/components/Message/hooks/useFlagHandler.d.ts.map +1 -1
- package/dist/types/components/Message/hooks/useMarkUnreadHandler.d.ts +1 -6
- package/dist/types/components/Message/hooks/useMarkUnreadHandler.d.ts.map +1 -1
- package/dist/types/components/Message/hooks/useMuteHandler.d.ts +2 -7
- package/dist/types/components/Message/hooks/useMuteHandler.d.ts.map +1 -1
- package/dist/types/components/Message/hooks/usePinHandler.d.ts +1 -23
- package/dist/types/components/Message/hooks/usePinHandler.d.ts.map +1 -1
- package/dist/types/components/Message/hooks/useReactionsFetcher.d.ts +1 -6
- package/dist/types/components/Message/hooks/useReactionsFetcher.d.ts.map +1 -1
- package/dist/types/components/Message/hooks/useUserRole.d.ts +1 -1
- package/dist/types/components/Message/hooks/useUserRole.d.ts.map +1 -1
- package/dist/types/components/Message/types.d.ts +1 -23
- package/dist/types/components/Message/types.d.ts.map +1 -1
- package/dist/types/components/Message/utils.d.ts +1 -2
- package/dist/types/components/Message/utils.d.ts.map +1 -1
- package/dist/types/components/MessageActions/MessageActions.defaults.d.ts.map +1 -1
- package/dist/types/components/MessageActions/RemindMeSubmenu.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/AttachmentPreviewList/AttachmentUploadedSizeIndicator.d.ts +14 -0
- package/dist/types/components/MessageComposer/AttachmentPreviewList/AttachmentUploadedSizeIndicator.d.ts.map +1 -0
- package/dist/types/components/MessageComposer/AttachmentPreviewList/AudioAttachmentPreview.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/AttachmentPreviewList/FileAttachmentPreview.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/AttachmentPreviewList/MediaAttachmentPreview.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/AttachmentPreviewList/UnsupportedAttachmentPreview.d.ts +1 -1
- package/dist/types/components/MessageComposer/AttachmentPreviewList/UnsupportedAttachmentPreview.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/hooks/useSubmitHandler.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/icons.d.ts +0 -1
- package/dist/types/components/MessageComposer/icons.d.ts.map +1 -1
- package/dist/types/components/MessageList/MessageList.d.ts +1 -1
- package/dist/types/components/MessageList/MessageList.d.ts.map +1 -1
- package/dist/types/components/MessageList/hooks/MessageList/useScrollLocationLogic.d.ts.map +1 -1
- package/dist/types/components/MessageList/index.d.ts +0 -1
- package/dist/types/components/MessageList/index.d.ts.map +1 -1
- package/dist/types/components/MessageList/utils.d.ts +0 -1
- package/dist/types/components/MessageList/utils.d.ts.map +1 -1
- package/dist/types/components/Notifications/NotificationList.d.ts.map +1 -1
- package/dist/types/components/Notifications/hooks/index.d.ts +2 -0
- package/dist/types/components/Notifications/hooks/index.d.ts.map +1 -1
- package/dist/types/components/Notifications/hooks/useNotificationApi.d.ts +63 -0
- package/dist/types/components/Notifications/hooks/useNotificationApi.d.ts.map +1 -0
- package/dist/types/components/Notifications/hooks/useSystemNotifications.d.ts +14 -0
- package/dist/types/components/Notifications/hooks/useSystemNotifications.d.ts.map +1 -0
- package/dist/types/components/Notifications/notificationTarget.d.ts +1 -0
- package/dist/types/components/Notifications/notificationTarget.d.ts.map +1 -1
- package/dist/types/components/Poll/PollActions/EndPollAlert.d.ts.map +1 -1
- package/dist/types/components/ReactFileUtilities/UploadButton.d.ts +3 -11
- package/dist/types/components/ReactFileUtilities/UploadButton.d.ts.map +1 -1
- package/dist/types/components/Reactions/MessageReactions.d.ts.map +1 -1
- package/dist/types/components/Reactions/MessageReactionsDetail.d.ts +12 -2
- package/dist/types/components/Reactions/MessageReactionsDetail.d.ts.map +1 -1
- package/dist/types/components/Reactions/ReactionSelector.d.ts +3 -0
- package/dist/types/components/Reactions/ReactionSelector.d.ts.map +1 -1
- package/dist/types/components/Reactions/hooks/useFetchReactions.d.ts.map +1 -1
- package/dist/types/components/Reactions/index.d.ts +0 -1
- package/dist/types/components/Reactions/index.d.ts.map +1 -1
- package/dist/types/components/SummarizedMessagePreview/SummarizedMessagePreview.d.ts.map +1 -1
- package/dist/types/components/SummarizedMessagePreview/hooks/useLatestMessagePreview.d.ts +1 -1
- package/dist/types/components/SummarizedMessagePreview/hooks/useLatestMessagePreview.d.ts.map +1 -1
- package/dist/types/components/Thread/ThreadHeader.d.ts +0 -2
- package/dist/types/components/Thread/ThreadHeader.d.ts.map +1 -1
- package/dist/types/components/Threads/ThreadList/ThreadList.d.ts.map +1 -1
- package/dist/types/components/Threads/ThreadList/ThreadListHeader.d.ts +1 -5
- package/dist/types/components/Threads/ThreadList/ThreadListHeader.d.ts.map +1 -1
- package/dist/types/components/Threads/ThreadList/ThreadListItemUI.d.ts.map +1 -1
- package/dist/types/components/TypingIndicator/TypingIndicator.d.ts.map +1 -1
- package/dist/types/components/index.d.ts +2 -2
- package/dist/types/components/index.d.ts.map +1 -1
- package/dist/types/context/ChatContext.d.ts +0 -3
- package/dist/types/context/ChatContext.d.ts.map +1 -1
- package/dist/types/context/ComponentContext.d.ts +19 -3
- package/dist/types/context/ComponentContext.d.ts.map +1 -1
- package/dist/types/context/MessageContext.d.ts +0 -3
- package/dist/types/context/MessageContext.d.ts.map +1 -1
- package/dist/types/i18n/Streami18n.d.ts +21 -11
- package/dist/types/i18n/Streami18n.d.ts.map +1 -1
- package/dist/types/plugins/Emojis/EmojiPicker.d.ts +0 -6
- package/dist/types/plugins/Emojis/EmojiPicker.d.ts.map +1 -1
- package/dist/types/types/types.d.ts +0 -5
- package/dist/types/types/types.d.ts.map +1 -1
- package/package.json +4 -4
- package/dist/cjs/WithAudioPlayback.0c10cb67.js.map +0 -1
- package/dist/es/WithAudioPlayback.e7821fd4.mjs.map +0 -1
- package/dist/types/components/Button/ToggleSidebarButton.d.ts +0 -10
- package/dist/types/components/Button/ToggleSidebarButton.d.ts.map +0 -1
- package/dist/types/components/ChannelHeader/hooks/useIsMobileViewport.d.ts +0 -3
- package/dist/types/components/ChannelHeader/hooks/useIsMobileViewport.d.ts.map +0 -1
- package/dist/types/components/ChannelList/hooks/useChannelDeletedListener.d.ts +0 -3
- package/dist/types/components/ChannelList/hooks/useChannelDeletedListener.d.ts.map +0 -1
- package/dist/types/components/ChannelList/hooks/useChannelHiddenListener.d.ts +0 -3
- package/dist/types/components/ChannelList/hooks/useChannelHiddenListener.d.ts.map +0 -1
- package/dist/types/components/ChannelList/hooks/useChannelTruncatedListener.d.ts +0 -3
- package/dist/types/components/ChannelList/hooks/useChannelTruncatedListener.d.ts.map +0 -1
- package/dist/types/components/ChannelList/hooks/useChannelUpdatedListener.d.ts +0 -3
- package/dist/types/components/ChannelList/hooks/useChannelUpdatedListener.d.ts.map +0 -1
- package/dist/types/components/ChannelList/hooks/useChannelVisibleListener.d.ts +0 -3
- package/dist/types/components/ChannelList/hooks/useChannelVisibleListener.d.ts.map +0 -1
- package/dist/types/components/ChannelList/hooks/useMessageNewListener.d.ts +0 -3
- package/dist/types/components/ChannelList/hooks/useMessageNewListener.d.ts.map +0 -1
- package/dist/types/components/ChannelList/hooks/useMobileNavigation.d.ts +0 -2
- package/dist/types/components/ChannelList/hooks/useMobileNavigation.d.ts.map +0 -1
- package/dist/types/components/ChannelList/hooks/useNotificationAddedToChannelListener.d.ts +0 -3
- package/dist/types/components/ChannelList/hooks/useNotificationAddedToChannelListener.d.ts.map +0 -1
- package/dist/types/components/ChannelList/hooks/useNotificationMessageNewListener.d.ts +0 -3
- package/dist/types/components/ChannelList/hooks/useNotificationMessageNewListener.d.ts.map +0 -1
- package/dist/types/components/ChannelList/hooks/useNotificationRemovedFromChannelListener.d.ts +0 -3
- package/dist/types/components/ChannelList/hooks/useNotificationRemovedFromChannelListener.d.ts.map +0 -1
- package/dist/types/components/ChannelList/hooks/useUserPresenceChangedListener.d.ts +0 -3
- package/dist/types/components/ChannelList/hooks/useUserPresenceChangedListener.d.ts.map +0 -1
- package/dist/types/components/MessageList/ConnectionStatus.d.ts +0 -3
- package/dist/types/components/MessageList/ConnectionStatus.d.ts.map +0 -1
- package/dist/types/components/Reactions/StreamEmoji.d.ts +0 -19
- package/dist/types/components/Reactions/StreamEmoji.d.ts.map +0 -1
- package/dist/types/utils/deprecationWarning.d.ts +0 -2
- package/dist/types/utils/deprecationWarning.d.ts.map +0 -1
|
@@ -997,6 +997,33 @@ class AudioPlayerPool {
|
|
|
997
997
|
}
|
|
998
998
|
}
|
|
999
999
|
}
|
|
1000
|
+
const audioPlayerNotificationsPluginFactory = ({
|
|
1001
|
+
addNotification,
|
|
1002
|
+
panel = "channel",
|
|
1003
|
+
t
|
|
1004
|
+
}) => {
|
|
1005
|
+
const errors = {
|
|
1006
|
+
"failed-to-start": new Error(t("Failed to play the recording")),
|
|
1007
|
+
"not-playable": new Error(
|
|
1008
|
+
t("Recording format is not supported and cannot be reproduced")
|
|
1009
|
+
),
|
|
1010
|
+
"seek-not-supported": new Error(t("Cannot seek in the recording"))
|
|
1011
|
+
};
|
|
1012
|
+
return {
|
|
1013
|
+
id: "AudioPlayerNotificationsPlugin",
|
|
1014
|
+
onError: ({ errCode, error: e }) => {
|
|
1015
|
+
const error = (errCode && errors[errCode]) ?? e ?? new Error(t("Error reproducing the recording"));
|
|
1016
|
+
addNotification({
|
|
1017
|
+
emitter: "AudioPlayer",
|
|
1018
|
+
error,
|
|
1019
|
+
message: error.message,
|
|
1020
|
+
severity: "error",
|
|
1021
|
+
targetPanels: [panel],
|
|
1022
|
+
type: "browser:audio:playback:error"
|
|
1023
|
+
});
|
|
1024
|
+
}
|
|
1025
|
+
};
|
|
1026
|
+
};
|
|
1000
1027
|
const NOTIFICATION_TARGET_PANELS = [
|
|
1001
1028
|
"channel",
|
|
1002
1029
|
"thread",
|
|
@@ -1013,46 +1040,29 @@ const getNotificationTargetPanel = (notification) => {
|
|
|
1013
1040
|
const panel = notification.origin.context?.panel;
|
|
1014
1041
|
return isNotificationTargetPanel(panel) ? panel : void 0;
|
|
1015
1042
|
};
|
|
1043
|
+
const getNotificationTargetPanels = (notification) => {
|
|
1044
|
+
const targetPanels = (notification.tags ?? []).filter((tag) => tag.startsWith("target:")).map((tag) => tag.slice("target:".length)).filter(
|
|
1045
|
+
(value) => isNotificationTargetPanel(value)
|
|
1046
|
+
);
|
|
1047
|
+
if (targetPanels.length > 0) {
|
|
1048
|
+
return Array.from(new Set(targetPanels));
|
|
1049
|
+
}
|
|
1050
|
+
const panel = notification.origin.context?.panel;
|
|
1051
|
+
return isNotificationTargetPanel(panel) ? [panel] : [];
|
|
1052
|
+
};
|
|
1016
1053
|
const getNotificationTargetTag = (panel) => `target:${panel}`;
|
|
1017
1054
|
const addNotificationTargetTag = (panel, tags) => {
|
|
1018
1055
|
if (!panel) return tags ?? [];
|
|
1019
1056
|
return Array.from(/* @__PURE__ */ new Set([getNotificationTargetTag(panel), ...tags ?? []]));
|
|
1020
1057
|
};
|
|
1021
1058
|
const isNotificationForPanel = (notification, panel, options) => {
|
|
1022
|
-
const
|
|
1023
|
-
|
|
1059
|
+
const explicitTargetPanels = getNotificationTargetPanels(notification);
|
|
1060
|
+
if (explicitTargetPanels.length > 0) {
|
|
1061
|
+
return explicitTargetPanels.includes(panel);
|
|
1062
|
+
}
|
|
1063
|
+
const resolvedPanel = options?.fallbackPanel ?? "channel";
|
|
1024
1064
|
return resolvedPanel === panel;
|
|
1025
1065
|
};
|
|
1026
|
-
const audioPlayerNotificationsPluginFactory = ({
|
|
1027
|
-
client,
|
|
1028
|
-
panel = "channel",
|
|
1029
|
-
t
|
|
1030
|
-
}) => {
|
|
1031
|
-
const errors = {
|
|
1032
|
-
"failed-to-start": new Error(t("Failed to play the recording")),
|
|
1033
|
-
"not-playable": new Error(
|
|
1034
|
-
t("Recording format is not supported and cannot be reproduced")
|
|
1035
|
-
),
|
|
1036
|
-
"seek-not-supported": new Error(t("Cannot seek in the recording"))
|
|
1037
|
-
};
|
|
1038
|
-
return {
|
|
1039
|
-
id: "AudioPlayerNotificationsPlugin",
|
|
1040
|
-
onError: ({ errCode, error: e }) => {
|
|
1041
|
-
const error = (errCode && errors[errCode]) ?? e ?? new Error(t("Error reproducing the recording"));
|
|
1042
|
-
client?.notifications.addError({
|
|
1043
|
-
message: error.message,
|
|
1044
|
-
options: {
|
|
1045
|
-
originalError: error,
|
|
1046
|
-
tags: addNotificationTargetTag(panel),
|
|
1047
|
-
type: "browser:audio:playback:error"
|
|
1048
|
-
},
|
|
1049
|
-
origin: {
|
|
1050
|
-
emitter: "AudioPlayer"
|
|
1051
|
-
}
|
|
1052
|
-
});
|
|
1053
|
-
}
|
|
1054
|
-
};
|
|
1055
|
-
};
|
|
1056
1066
|
const variantToClass = {
|
|
1057
1067
|
danger: "str-chat__button--destructive",
|
|
1058
1068
|
primary: "str-chat__button--primary",
|
|
@@ -1161,7 +1171,8 @@ const IconArrowLeft = createIcon(
|
|
|
1161
1171
|
strokeLinejoin: "round",
|
|
1162
1172
|
strokeWidth: "1.5"
|
|
1163
1173
|
}
|
|
1164
|
-
)
|
|
1174
|
+
),
|
|
1175
|
+
{ "data-rtl-mirror": "" }
|
|
1165
1176
|
);
|
|
1166
1177
|
const IconArrowUpRight = createIcon(
|
|
1167
1178
|
"IconArrowUpRight",
|
|
@@ -1175,7 +1186,8 @@ const IconArrowUpRight = createIcon(
|
|
|
1175
1186
|
strokeLinejoin: "round",
|
|
1176
1187
|
strokeWidth: "1.5"
|
|
1177
1188
|
}
|
|
1178
|
-
)
|
|
1189
|
+
),
|
|
1190
|
+
{ "data-rtl-mirror": "" }
|
|
1179
1191
|
);
|
|
1180
1192
|
const IconRetry = createIcon(
|
|
1181
1193
|
"IconRetry",
|
|
@@ -1217,7 +1229,8 @@ const IconReply = createIcon(
|
|
|
1217
1229
|
strokeLinejoin: "round",
|
|
1218
1230
|
strokeWidth: "1.5"
|
|
1219
1231
|
}
|
|
1220
|
-
)
|
|
1232
|
+
),
|
|
1233
|
+
{ "data-rtl-mirror": "" }
|
|
1221
1234
|
);
|
|
1222
1235
|
const IconArrowUp = createIcon(
|
|
1223
1236
|
"IconArrowUp",
|
|
@@ -1261,8 +1274,8 @@ const IconBellOff = createIcon(
|
|
|
1261
1274
|
}
|
|
1262
1275
|
)
|
|
1263
1276
|
);
|
|
1264
|
-
const
|
|
1265
|
-
"
|
|
1277
|
+
const IconBookmark = createIcon(
|
|
1278
|
+
"IconBookmark",
|
|
1266
1279
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1267
1280
|
"path",
|
|
1268
1281
|
{
|
|
@@ -1275,8 +1288,8 @@ const IconSave = createIcon(
|
|
|
1275
1288
|
}
|
|
1276
1289
|
)
|
|
1277
1290
|
);
|
|
1278
|
-
const
|
|
1279
|
-
"
|
|
1291
|
+
const IconBookmarkRemove = createIcon(
|
|
1292
|
+
"IconBookmarkRemove",
|
|
1280
1293
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1281
1294
|
"path",
|
|
1282
1295
|
{
|
|
@@ -1462,7 +1475,8 @@ const IconChevronLeft = createIcon(
|
|
|
1462
1475
|
strokeLinejoin: "round",
|
|
1463
1476
|
strokeWidth: "1.5"
|
|
1464
1477
|
}
|
|
1465
|
-
)
|
|
1478
|
+
),
|
|
1479
|
+
{ "data-rtl-mirror": "" }
|
|
1466
1480
|
);
|
|
1467
1481
|
const IconChevronRight = createIcon(
|
|
1468
1482
|
"IconChevronRight",
|
|
@@ -1476,7 +1490,8 @@ const IconChevronRight = createIcon(
|
|
|
1476
1490
|
strokeLinejoin: "round",
|
|
1477
1491
|
strokeWidth: "1.5"
|
|
1478
1492
|
}
|
|
1479
|
-
)
|
|
1493
|
+
),
|
|
1494
|
+
{ "data-rtl-mirror": "" }
|
|
1480
1495
|
);
|
|
1481
1496
|
const IconNoSign = createIcon(
|
|
1482
1497
|
"IconNoSign",
|
|
@@ -1506,6 +1521,16 @@ const IconMinusCircle = createIcon(
|
|
|
1506
1521
|
}
|
|
1507
1522
|
)
|
|
1508
1523
|
);
|
|
1524
|
+
const IconMinus = createIcon(
|
|
1525
|
+
"IconMinus",
|
|
1526
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1527
|
+
"path",
|
|
1528
|
+
{
|
|
1529
|
+
d: "M16.875 9.40039C17.2064 9.40039 17.4746 9.66863 17.4746 10C17.4746 10.3314 17.2064 10.5996 16.875 10.5996H3.125C2.79363 10.5996 2.52539 10.3314 2.52539 10C2.52539 9.66863 2.79363 9.40039 3.125 9.40039H16.875Z",
|
|
1530
|
+
fill: "currentColor"
|
|
1531
|
+
}
|
|
1532
|
+
)
|
|
1533
|
+
);
|
|
1509
1534
|
const IconXCircle = createIcon(
|
|
1510
1535
|
"IconXCircle",
|
|
1511
1536
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -1558,16 +1583,16 @@ const IconXmark = createIcon(
|
|
|
1558
1583
|
stroke: "currentColor",
|
|
1559
1584
|
strokeLinecap: "round",
|
|
1560
1585
|
strokeLinejoin: "round",
|
|
1561
|
-
strokeWidth: "
|
|
1586
|
+
strokeWidth: "2"
|
|
1562
1587
|
}
|
|
1563
1588
|
)
|
|
1564
1589
|
);
|
|
1565
|
-
const
|
|
1566
|
-
"
|
|
1590
|
+
const IconXmarkSmall = createIcon(
|
|
1591
|
+
"IconXmarkSmall",
|
|
1567
1592
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1568
1593
|
"path",
|
|
1569
1594
|
{
|
|
1570
|
-
d: "
|
|
1595
|
+
d: "M13.5 6.5L6.5 13.5M13.5 13.5L6.5 6.5",
|
|
1571
1596
|
fill: "none",
|
|
1572
1597
|
stroke: "currentColor",
|
|
1573
1598
|
strokeLinecap: "round",
|
|
@@ -1625,6 +1650,46 @@ const IconEmoji = createIcon(
|
|
|
1625
1650
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12.4756 11.499C12.683 11.1407 13.1425 11.0182 13.501 11.2256C13.8593 11.433 13.9818 11.8925 13.7744 12.251C13.0125 13.568 11.6947 14.5 10 14.5C8.30531 14.5 6.98748 13.568 6.22559 12.251C6.01825 11.8925 6.14067 11.433 6.49902 11.2256C6.85749 11.0182 7.31695 11.1407 7.52441 11.499C8.05942 12.424 8.91824 13 10 13C11.0818 13 11.9406 12.424 12.4756 11.499Z" })
|
|
1626
1651
|
] })
|
|
1627
1652
|
);
|
|
1653
|
+
const IconEmojiAdd = createIcon(
|
|
1654
|
+
"IconEmojiAdd",
|
|
1655
|
+
/* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1656
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1657
|
+
"path",
|
|
1658
|
+
{
|
|
1659
|
+
d: "M1.75 10C1.75 5.44365 5.44365 1.75 10 1.75C10.4142 1.75 10.75 2.08579 10.75 2.5C10.75 2.91421 10.4142 3.25 10 3.25C6.27208 3.25 3.25 6.27208 3.25 10C3.25 13.7279 6.27208 16.75 10 16.75C13.7279 16.75 16.75 13.7279 16.75 10C16.75 9.58579 17.0858 9.25 17.5 9.25C17.9142 9.25 18.25 9.58579 18.25 10C18.25 14.5563 14.5563 18.25 10 18.25C5.44365 18.25 1.75 14.5563 1.75 10Z",
|
|
1660
|
+
fill: "currentColor"
|
|
1661
|
+
}
|
|
1662
|
+
),
|
|
1663
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1664
|
+
"path",
|
|
1665
|
+
{
|
|
1666
|
+
d: "M7.1875 9.375C7.70527 9.375 8.125 8.95527 8.125 8.4375C8.125 7.91973 7.70527 7.5 7.1875 7.5C6.66973 7.5 6.25 7.91973 6.25 8.4375C6.25 8.95527 6.66973 9.375 7.1875 9.375Z",
|
|
1667
|
+
fill: "currentColor"
|
|
1668
|
+
}
|
|
1669
|
+
),
|
|
1670
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1671
|
+
"path",
|
|
1672
|
+
{
|
|
1673
|
+
d: "M12.8125 9.375C13.3303 9.375 13.75 8.95527 13.75 8.4375C13.75 7.91973 13.3303 7.5 12.8125 7.5C12.2947 7.5 11.875 7.91973 11.875 8.4375C11.875 8.95527 12.2947 9.375 12.8125 9.375Z",
|
|
1674
|
+
fill: "currentColor"
|
|
1675
|
+
}
|
|
1676
|
+
),
|
|
1677
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1678
|
+
"path",
|
|
1679
|
+
{
|
|
1680
|
+
d: "M12.4756 11.499C12.683 11.1407 13.1425 11.0182 13.501 11.2256C13.8593 11.433 13.9818 11.8925 13.7744 12.251C13.0125 13.568 11.6947 14.5 10 14.5C8.30531 14.5 6.98748 13.568 6.22559 12.251C6.01825 11.8925 6.14067 11.433 6.49902 11.2256C6.85749 11.0182 7.31695 11.1407 7.52441 11.499C8.05942 12.424 8.91824 13 10 13C11.0818 13 11.9406 12.424 12.4756 11.499Z",
|
|
1681
|
+
fill: "currentColor"
|
|
1682
|
+
}
|
|
1683
|
+
),
|
|
1684
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1685
|
+
"path",
|
|
1686
|
+
{
|
|
1687
|
+
d: "M15.083 6.87524V4.91626H13.125C12.7108 4.91626 12.375 4.58047 12.375 4.16626C12.3752 3.7522 12.7109 3.41626 13.125 3.41626H15.083V1.45825C15.083 1.04415 15.4189 0.708427 15.833 0.708252C16.2472 0.708252 16.583 1.04404 16.583 1.45825V3.41626H18.542C18.9559 3.41644 19.2918 3.7523 19.292 4.16626C19.292 4.58036 18.9561 4.91608 18.542 4.91626H16.583V6.87524C16.5828 7.28931 16.2471 7.62524 15.833 7.62524C15.4191 7.62507 15.0832 7.2892 15.083 6.87524Z",
|
|
1688
|
+
fill: "currentColor"
|
|
1689
|
+
}
|
|
1690
|
+
)
|
|
1691
|
+
] })
|
|
1692
|
+
);
|
|
1628
1693
|
const IconExclamationMarkFill = createIcon(
|
|
1629
1694
|
"IconExclamationMarkFill",
|
|
1630
1695
|
/* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
@@ -1644,15 +1709,23 @@ const IconExclamationMark = createIcon(
|
|
|
1644
1709
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M10 14.375C10.5178 14.375 10.9375 13.9553 10.9375 13.4375C10.9375 12.9197 10.5178 12.5 10 12.5C9.48223 12.5 9.0625 12.9197 9.0625 13.4375C9.0625 13.9553 9.48223 14.375 10 14.375Z" })
|
|
1645
1710
|
] })
|
|
1646
1711
|
);
|
|
1647
|
-
const
|
|
1648
|
-
"
|
|
1649
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "
|
|
1650
|
-
{ viewBox: "0 0 16 16" }
|
|
1712
|
+
const IconExclamationTriangleFill = createIcon(
|
|
1713
|
+
"IconExclamationTriangleFill",
|
|
1714
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M18.4999 14.6946L11.6678 2.82974C11.4971 2.53906 11.2534 2.29803 10.9608 2.13057C10.6682 1.9631 10.337 1.875 9.99986 1.875C9.66275 1.875 9.33149 1.9631 9.03892 2.13057C8.74635 2.29803 8.50262 2.53906 8.33189 2.82974L1.49986 14.6946C1.33559 14.9757 1.24902 15.2955 1.24902 15.6211C1.24902 15.9468 1.33559 16.2665 1.49986 16.5477C1.6684 16.8401 1.91171 17.0825 2.20483 17.2498C2.49795 17.4172 2.83032 17.5036 3.16783 17.5001H16.8319C17.1691 17.5033 17.5012 17.4168 17.794 17.2494C18.0868 17.0821 18.3299 16.8399 18.4983 16.5477C18.6628 16.2667 18.7496 15.947 18.7499 15.6214C18.7502 15.2957 18.6639 14.9759 18.4999 14.6946ZM9.37486 8.12505C9.37486 7.95929 9.44071 7.80032 9.55792 7.68311C9.67513 7.5659 9.8341 7.50005 9.99986 7.50005C10.1656 7.50005 10.3246 7.5659 10.4418 7.68311C10.559 7.80032 10.6249 7.95929 10.6249 8.12505V11.2501C10.6249 11.4158 10.559 11.5748 10.4418 11.692C10.3246 11.8092 10.1656 11.8751 9.99986 11.8751C9.8341 11.8751 9.67513 11.8092 9.55792 11.692C9.44071 11.5748 9.37486 11.4158 9.37486 11.2501V8.12505ZM9.99986 15.0001C9.81444 15.0001 9.63319 14.9451 9.47901 14.8421C9.32484 14.739 9.20468 14.5926 9.13372 14.4213C9.06277 14.25 9.0442 14.0615 9.08038 13.8797C9.11655 13.6978 9.20584 13.5308 9.33695 13.3996C9.46806 13.2685 9.63511 13.1792 9.81696 13.1431C9.99882 13.1069 10.1873 13.1255 10.3586 13.1964C10.5299 13.2674 10.6764 13.3875 10.7794 13.5417C10.8824 13.6959 10.9374 13.8771 10.9374 14.0626C10.9374 14.3112 10.8386 14.5496 10.6628 14.7255C10.487 14.9013 10.2485 15.0001 9.99986 15.0001Z" })
|
|
1651
1715
|
);
|
|
1652
|
-
const
|
|
1653
|
-
"
|
|
1654
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "
|
|
1655
|
-
|
|
1716
|
+
const IconEyeFill = createIcon(
|
|
1717
|
+
"IconEyeFill",
|
|
1718
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M19.3211 9.74688C19.2937 9.68516 18.632 8.21719 17.1609 6.74609C15.2008 4.78594 12.725 3.75 9.99999 3.75C7.27499 3.75 4.79921 4.78594 2.83905 6.74609C1.36796 8.21719 0.703118 9.6875 0.678899 9.74688C0.643362 9.82681 0.625 9.91331 0.625 10.0008C0.625 10.0883 0.643362 10.1748 0.678899 10.2547C0.706243 10.3164 1.36796 11.7836 2.83905 13.2547C4.79921 15.2141 7.27499 16.25 9.99999 16.25C12.725 16.25 15.2008 15.2141 17.1609 13.2547C18.632 11.7836 19.2937 10.3164 19.3211 10.2547C19.3566 10.1748 19.375 10.0883 19.375 10.0008C19.375 9.91331 19.3566 9.82681 19.3211 9.74688ZM9.99999 13.125C9.38193 13.125 8.77774 12.9417 8.26384 12.5983C7.74993 12.255 7.34939 11.7669 7.11287 11.1959C6.87634 10.6249 6.81446 9.99653 6.93504 9.39034C7.05562 8.78415 7.35324 8.22733 7.79028 7.79029C8.22732 7.35325 8.78414 7.05562 9.39033 6.93505C9.99652 6.81447 10.6249 6.87635 11.1959 7.11288C11.7669 7.3494 12.255 7.74994 12.5983 8.26384C12.9417 8.77775 13.125 9.38193 13.125 10C13.125 10.8288 12.7958 11.6237 12.2097 12.2097C11.6236 12.7958 10.8288 13.125 9.99999 13.125Z" })
|
|
1719
|
+
);
|
|
1720
|
+
const IconUnsupportedAttachment = createIcon(
|
|
1721
|
+
"IconUnsupportedAttachment",
|
|
1722
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1723
|
+
"path",
|
|
1724
|
+
{
|
|
1725
|
+
d: "M4.5 16.75H15.5V7.625H11.875C11.4608 7.625 11.125 7.28921 11.125 6.875V3.25H4.5V16.75ZM11.3447 9.46973C11.6376 9.17683 12.1124 9.17683 12.4053 9.46973C12.6982 9.76262 12.6982 10.2374 12.4053 10.5303L11.0605 11.875L12.4053 13.2197C12.6982 13.5126 12.6982 13.9874 12.4053 14.2803C12.1124 14.5732 11.6376 14.5732 11.3447 14.2803L10 12.9355L8.65527 14.2803C8.36238 14.5732 7.88762 14.5732 7.59473 14.2803C7.30183 13.9874 7.30183 13.5126 7.59473 13.2197L8.93945 11.875L7.59473 10.5303C7.30183 10.2374 7.30183 9.76262 7.59473 9.46973C7.88762 9.17683 8.36238 9.17683 8.65527 9.46973L10 10.8145L11.3447 9.46973ZM12.625 6.125H14.4395L12.625 4.31055V6.125ZM17 16.875C17 17.2397 16.8555 17.5898 16.5977 17.8477C16.3398 18.1055 15.9897 18.25 15.625 18.25H4.375C4.01033 18.25 3.66021 18.1055 3.40234 17.8477C3.14448 17.5898 3 17.2397 3 16.875V3.125C3 2.76033 3.14448 2.41021 3.40234 2.15234L3.50391 2.06152C3.74856 1.86111 4.05597 1.75 4.375 1.75H11.875C12.0739 1.75 12.2646 1.82907 12.4053 1.96973L16.7803 6.34473C16.9209 6.48538 17 6.67609 17 6.875V16.875Z",
|
|
1726
|
+
fill: "currentColor"
|
|
1727
|
+
}
|
|
1728
|
+
)
|
|
1656
1729
|
);
|
|
1657
1730
|
const IconUpload = createIcon(
|
|
1658
1731
|
"IconUpload",
|
|
@@ -1710,20 +1783,6 @@ const IconImage = createIcon(
|
|
|
1710
1783
|
}
|
|
1711
1784
|
)
|
|
1712
1785
|
);
|
|
1713
|
-
const IconSidebar = createIcon(
|
|
1714
|
-
"IconSidebar",
|
|
1715
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1716
|
-
"path",
|
|
1717
|
-
{
|
|
1718
|
-
d: "M6.875 3.75V16.25M3.125 3.75H16.875C17.2202 3.75 17.5 4.02982 17.5 4.375V15.625C17.5 15.9702 17.2202 16.25 16.875 16.25H3.125C2.77982 16.25 2.5 15.9702 2.5 15.625V4.375C2.5 4.02982 2.77982 3.75 3.125 3.75Z",
|
|
1719
|
-
fill: "none",
|
|
1720
|
-
stroke: "currentColor",
|
|
1721
|
-
strokeLinecap: "round",
|
|
1722
|
-
strokeLinejoin: "round",
|
|
1723
|
-
strokeWidth: "1.5"
|
|
1724
|
-
}
|
|
1725
|
-
)
|
|
1726
|
-
);
|
|
1727
1786
|
const IconSearch = createIcon(
|
|
1728
1787
|
"IconSearch",
|
|
1729
1788
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -1736,7 +1795,8 @@ const IconSearch = createIcon(
|
|
|
1736
1795
|
strokeLinejoin: "round",
|
|
1737
1796
|
strokeWidth: "1.5"
|
|
1738
1797
|
}
|
|
1739
|
-
)
|
|
1798
|
+
),
|
|
1799
|
+
{ "data-rtl-mirror": "" }
|
|
1740
1800
|
);
|
|
1741
1801
|
const IconLocation = createIcon(
|
|
1742
1802
|
"IconLocation",
|
|
@@ -1779,6 +1839,16 @@ const IconVoice = createIcon(
|
|
|
1779
1839
|
}
|
|
1780
1840
|
)
|
|
1781
1841
|
);
|
|
1842
|
+
const IconMicrophoneSolid = createIcon(
|
|
1843
|
+
"IconMicrophoneSolid",
|
|
1844
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1845
|
+
"path",
|
|
1846
|
+
{
|
|
1847
|
+
d: "M6.25 10V5C6.25 4.00544 6.64509 3.05161 7.34835 2.34835C8.05161 1.64509 9.00544 1.25 10 1.25C10.9946 1.25 11.9484 1.64509 12.6517 2.34835C13.3549 3.05161 13.75 4.00544 13.75 5V10C13.75 10.9946 13.3549 11.9484 12.6517 12.6517C11.9484 13.3549 10.9946 13.75 10 13.75C9.00544 13.75 8.05161 13.3549 7.34835 12.6517C6.64509 11.9484 6.25 10.9946 6.25 10ZM16.25 10C16.25 9.83424 16.1842 9.67527 16.0669 9.55806C15.9497 9.44085 15.7908 9.375 15.625 9.375C15.4592 9.375 15.3003 9.44085 15.1831 9.55806C15.0658 9.67527 15 9.83424 15 10C15 11.3261 14.4732 12.5979 13.5355 13.5355C12.5979 14.4732 11.3261 15 10 15C8.67392 15 7.40215 14.4732 6.46447 13.5355C5.52678 12.5979 5 11.3261 5 10C5 9.83424 4.93415 9.67527 4.81694 9.55806C4.69973 9.44085 4.54076 9.375 4.375 9.375C4.20924 9.375 4.05027 9.44085 3.93306 9.55806C3.81585 9.67527 3.75 9.83424 3.75 10C3.7519 11.5489 4.32806 13.042 5.36707 14.1907C6.40607 15.3393 7.83409 16.062 9.375 16.2188V18.75C9.375 18.9158 9.44085 19.0747 9.55806 19.1919C9.67527 19.3092 9.83424 19.375 10 19.375C10.1658 19.375 10.3247 19.3092 10.4419 19.1919C10.5592 19.0747 10.625 18.9158 10.625 18.75V16.2188C12.1659 16.062 13.5939 15.3393 14.6329 14.1907C15.6719 13.042 16.2481 11.5489 16.25 10Z",
|
|
1848
|
+
fill: "currentColor"
|
|
1849
|
+
}
|
|
1850
|
+
)
|
|
1851
|
+
);
|
|
1782
1852
|
const IconMute = createIcon(
|
|
1783
1853
|
"IconMute",
|
|
1784
1854
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -1791,7 +1861,8 @@ const IconMute = createIcon(
|
|
|
1791
1861
|
strokeLinejoin: "round",
|
|
1792
1862
|
strokeWidth: "1.5"
|
|
1793
1863
|
}
|
|
1794
|
-
)
|
|
1864
|
+
),
|
|
1865
|
+
{ "data-rtl-mirror": "" }
|
|
1795
1866
|
);
|
|
1796
1867
|
const IconSend = createIcon(
|
|
1797
1868
|
"IconSend",
|
|
@@ -1805,7 +1876,8 @@ const IconSend = createIcon(
|
|
|
1805
1876
|
strokeLinejoin: "round",
|
|
1806
1877
|
strokeWidth: "1.5"
|
|
1807
1878
|
}
|
|
1808
|
-
)
|
|
1879
|
+
),
|
|
1880
|
+
{ "data-rtl-mirror": "" }
|
|
1809
1881
|
);
|
|
1810
1882
|
const IconAttachment = createIcon(
|
|
1811
1883
|
"IconAttachment",
|
|
@@ -1918,7 +1990,7 @@ const IconPlus = createIcon(
|
|
|
1918
1990
|
stroke: "currentColor",
|
|
1919
1991
|
strokeLinecap: "round",
|
|
1920
1992
|
strokeLinejoin: "round",
|
|
1921
|
-
strokeWidth: "
|
|
1993
|
+
strokeWidth: "2"
|
|
1922
1994
|
}
|
|
1923
1995
|
)
|
|
1924
1996
|
);
|
|
@@ -2039,14 +2111,16 @@ const IconVideo = createIcon(
|
|
|
2039
2111
|
}
|
|
2040
2112
|
) }),
|
|
2041
2113
|
/* @__PURE__ */ jsxRuntime.jsx("defs", { children: /* @__PURE__ */ jsxRuntime.jsx("clipPath", { id: "clip0_14111_491476", children: /* @__PURE__ */ jsxRuntime.jsx("rect", { fill: "white", height: "20", width: "20" }) }) })
|
|
2042
|
-
] })
|
|
2114
|
+
] }),
|
|
2115
|
+
{ "data-rtl-mirror": "" }
|
|
2043
2116
|
);
|
|
2044
2117
|
const IconVideoFill = createIcon(
|
|
2045
2118
|
"IconVideoFill",
|
|
2046
2119
|
/* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
2047
2120
|
/* @__PURE__ */ jsxRuntime.jsx("g", { clipPath: "url(#clip0_14064_467281)", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M15 5.625V14.375C15 14.7065 14.8683 15.0245 14.6339 15.2589C14.3995 15.4933 14.0815 15.625 13.75 15.625H2.5C2.16848 15.625 1.85054 15.4933 1.61612 15.2589C1.3817 15.0245 1.25 14.7065 1.25 14.375V5.625C1.25 5.29348 1.3817 4.97554 1.61612 4.74112C1.85054 4.5067 2.16848 4.375 2.5 4.375H13.75C14.0815 4.375 14.3995 4.5067 14.6339 4.74112C14.8683 4.97554 15 5.29348 15 5.625ZM19.5312 5.64453C19.4431 5.62295 19.3513 5.62029 19.2621 5.63672C19.1728 5.65315 19.088 5.68829 19.0133 5.73984L16.3891 7.48906C16.3463 7.51762 16.3112 7.55631 16.2869 7.6017C16.2626 7.64708 16.25 7.69776 16.25 7.74922V12.2508C16.25 12.3022 16.2626 12.3529 16.2869 12.3983C16.3112 12.4437 16.3463 12.4824 16.3891 12.5109L19.0281 14.2703C19.1269 14.3362 19.2424 14.3726 19.3611 14.3752C19.4798 14.3779 19.5968 14.3466 19.6984 14.2852C19.7924 14.2254 19.8695 14.1425 19.9223 14.0444C19.9751 13.9464 20.0019 13.8364 20 13.725V6.25C20.0001 6.11139 19.9541 5.97668 19.8692 5.86708C19.7843 5.75747 19.6655 5.67918 19.5312 5.64453Z" }) }),
|
|
2048
2121
|
/* @__PURE__ */ jsxRuntime.jsx("defs", { children: /* @__PURE__ */ jsxRuntime.jsx("clipPath", { id: "clip0_14064_467281", children: /* @__PURE__ */ jsxRuntime.jsx("rect", { fill: "white", height: "20", width: "20" }) }) })
|
|
2049
|
-
] })
|
|
2122
|
+
] }),
|
|
2123
|
+
{ "data-rtl-mirror": "" }
|
|
2050
2124
|
);
|
|
2051
2125
|
const IconAudio = createIcon(
|
|
2052
2126
|
"IconAudio",
|
|
@@ -2060,7 +2134,8 @@ const IconAudio = createIcon(
|
|
|
2060
2134
|
strokeLinejoin: "round",
|
|
2061
2135
|
strokeWidth: "1.5"
|
|
2062
2136
|
}
|
|
2063
|
-
)
|
|
2137
|
+
),
|
|
2138
|
+
{ "data-rtl-mirror": "" }
|
|
2064
2139
|
);
|
|
2065
2140
|
const IconArchive = createIcon(
|
|
2066
2141
|
"IconArchive",
|
|
@@ -2109,28 +2184,28 @@ const IconGiphy = createIcon(
|
|
|
2109
2184
|
"path",
|
|
2110
2185
|
{
|
|
2111
2186
|
clipRule: "evenodd",
|
|
2112
|
-
d: "M6.5997 5.
|
|
2187
|
+
d: "M6.5997 5.50024H13.4008V14.4999H6.59912L6.5997 5.50024Z",
|
|
2113
2188
|
fill: "black",
|
|
2114
2189
|
fillRule: "evenodd"
|
|
2115
2190
|
}
|
|
2116
2191
|
),
|
|
2117
2192
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M5.24023 5.1665H6.59998V14.8335H5.24023V5.1665Z", fill: "#04FF8E" }),
|
|
2118
2193
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M13.4004 7.8335H14.7601V14.8335H13.4004V7.8335Z", fill: "#8E2EFF" }),
|
|
2119
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M5.24023 14.
|
|
2120
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M5.24023 4.
|
|
2194
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M5.24023 14.4998H14.7602V15.8333H5.24023V14.4998Z", fill: "#00C5FF" }),
|
|
2195
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M5.24023 4.16675H10.6804V5.50025H5.24023V4.16675Z", fill: "#FFF152" }),
|
|
2121
2196
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2122
2197
|
"path",
|
|
2123
2198
|
{
|
|
2124
|
-
d: "M13.4003 6.
|
|
2199
|
+
d: "M13.4003 6.83316V5.50025H12.0399V4.16675H10.6802V8.16666H14.76V6.83316",
|
|
2125
2200
|
fill: "#FF5B5B"
|
|
2126
2201
|
}
|
|
2127
2202
|
),
|
|
2128
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M13.4004 9.
|
|
2203
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M13.4004 9.5V8.1665H14.7601", fill: "#551C99" }),
|
|
2129
2204
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2130
2205
|
"path",
|
|
2131
2206
|
{
|
|
2132
2207
|
clipRule: "evenodd",
|
|
2133
|
-
d: "M10.6802 4.
|
|
2208
|
+
d: "M10.6802 4.16675V5.50025H9.31982",
|
|
2134
2209
|
fill: "#999131",
|
|
2135
2210
|
fillRule: "evenodd"
|
|
2136
2211
|
}
|
|
@@ -2620,63 +2695,6 @@ const MESSAGE_ACTIONS = {
|
|
|
2620
2695
|
reply: "reply",
|
|
2621
2696
|
saveForLater: "saveForLater"
|
|
2622
2697
|
};
|
|
2623
|
-
const defaultPinPermissions = {
|
|
2624
|
-
commerce: {
|
|
2625
|
-
admin: true,
|
|
2626
|
-
anonymous: false,
|
|
2627
|
-
channel_member: false,
|
|
2628
|
-
channel_moderator: true,
|
|
2629
|
-
guest: false,
|
|
2630
|
-
member: false,
|
|
2631
|
-
moderator: true,
|
|
2632
|
-
owner: true,
|
|
2633
|
-
user: false
|
|
2634
|
-
},
|
|
2635
|
-
gaming: {
|
|
2636
|
-
admin: true,
|
|
2637
|
-
anonymous: false,
|
|
2638
|
-
channel_member: false,
|
|
2639
|
-
channel_moderator: true,
|
|
2640
|
-
guest: false,
|
|
2641
|
-
member: false,
|
|
2642
|
-
moderator: true,
|
|
2643
|
-
owner: false,
|
|
2644
|
-
user: false
|
|
2645
|
-
},
|
|
2646
|
-
livestream: {
|
|
2647
|
-
admin: true,
|
|
2648
|
-
anonymous: false,
|
|
2649
|
-
channel_member: false,
|
|
2650
|
-
channel_moderator: true,
|
|
2651
|
-
guest: false,
|
|
2652
|
-
member: false,
|
|
2653
|
-
moderator: true,
|
|
2654
|
-
owner: true,
|
|
2655
|
-
user: false
|
|
2656
|
-
},
|
|
2657
|
-
messaging: {
|
|
2658
|
-
admin: true,
|
|
2659
|
-
anonymous: false,
|
|
2660
|
-
channel_member: true,
|
|
2661
|
-
channel_moderator: true,
|
|
2662
|
-
guest: false,
|
|
2663
|
-
member: true,
|
|
2664
|
-
moderator: true,
|
|
2665
|
-
owner: true,
|
|
2666
|
-
user: false
|
|
2667
|
-
},
|
|
2668
|
-
team: {
|
|
2669
|
-
admin: true,
|
|
2670
|
-
anonymous: false,
|
|
2671
|
-
channel_member: true,
|
|
2672
|
-
channel_moderator: true,
|
|
2673
|
-
guest: false,
|
|
2674
|
-
member: true,
|
|
2675
|
-
moderator: true,
|
|
2676
|
-
owner: true,
|
|
2677
|
-
user: false
|
|
2678
|
-
}
|
|
2679
|
-
};
|
|
2680
2698
|
const getMessageActions = (actions, {
|
|
2681
2699
|
canDelete,
|
|
2682
2700
|
canEdit,
|
|
@@ -2783,6 +2801,7 @@ const areMessageUIPropsEqual = (prevProps, nextProps) => {
|
|
|
2783
2801
|
return areMessagesEqual(prevMessage, nextMessage);
|
|
2784
2802
|
};
|
|
2785
2803
|
const messageHasReactions = (message) => Object.values(message?.reaction_groups ?? {}).some(({ count }) => count > 0);
|
|
2804
|
+
const messageHasQuotedMessage = (message) => !!message?.quoted_message;
|
|
2786
2805
|
const messageHasAttachments = (message) => !!message?.attachments && !!message.attachments.length;
|
|
2787
2806
|
const messageHasSingleAttachment = (message) => message?.attachments?.length === 1;
|
|
2788
2807
|
const messageHasGiphyAttachment = (message) => !!message?.attachments?.some((att) => att.type === "giphy");
|
|
@@ -3102,7 +3121,6 @@ const getGroupStyles = (message, previousMessage, nextMessage, noGroupByUser, ma
|
|
|
3102
3121
|
return "";
|
|
3103
3122
|
};
|
|
3104
3123
|
const hasMoreMessagesProbably = (returnedCountMessages, limit) => returnedCountMessages >= limit;
|
|
3105
|
-
const hasNotMoreMessages = (returnedCountMessages, limit) => returnedCountMessages < limit;
|
|
3106
3124
|
function isIntroMessage(message) {
|
|
3107
3125
|
return message.customType === CUSTOM_MESSAGE_TYPE.intro;
|
|
3108
3126
|
}
|
|
@@ -3431,6 +3449,7 @@ const ChannelInner = (props) => {
|
|
|
3431
3449
|
LoadingIndicator = LoadingChannel
|
|
3432
3450
|
} = useComponentContext();
|
|
3433
3451
|
const { client, customClasses, latestMessageDatesByChannels, mutes, searchController } = useChatContext("Channel");
|
|
3452
|
+
const { addNotification } = useNotificationApi();
|
|
3434
3453
|
const { t } = useTranslationContext("Channel");
|
|
3435
3454
|
const chatContainerClass = getChatContainerClass(customClasses?.chatContainer);
|
|
3436
3455
|
const windowsEmojiClass = useImageFlagEmojisOnWindowsClass();
|
|
@@ -3676,18 +3695,15 @@ const ChannelInner = (props) => {
|
|
|
3676
3695
|
handleHighlightedMessageChange({ highlightedMessageId: jumpToMessageFromSearch.id });
|
|
3677
3696
|
}, [jumpToMessageFromSearch, handleHighlightedMessageChange]);
|
|
3678
3697
|
const notifyJumpToFirstUnreadError = React.useCallback(() => {
|
|
3679
|
-
|
|
3698
|
+
addNotification({
|
|
3699
|
+
context: { feature: "jumpToFirstUnread" },
|
|
3700
|
+
emitter: "Channel",
|
|
3680
3701
|
message: t("Failed to jump to the first unread message"),
|
|
3681
|
-
|
|
3682
|
-
|
|
3683
|
-
|
|
3684
|
-
},
|
|
3685
|
-
origin: {
|
|
3686
|
-
context: { feature: "jumpToFirstUnread" },
|
|
3687
|
-
emitter: "Channel"
|
|
3688
|
-
}
|
|
3702
|
+
severity: "error",
|
|
3703
|
+
targetPanels: ["channel"],
|
|
3704
|
+
type: "channel:jumpToFirstUnread:failed"
|
|
3689
3705
|
});
|
|
3690
|
-
}, [
|
|
3706
|
+
}, [addNotification, t]);
|
|
3691
3707
|
const loadMoreFinished = React.useCallback(
|
|
3692
3708
|
debounce(
|
|
3693
3709
|
(hasMore, messages) => {
|
|
@@ -4288,7 +4304,6 @@ const ChatViewChannelsSelectorButton = ({
|
|
|
4288
4304
|
iconOnly = true
|
|
4289
4305
|
}) => {
|
|
4290
4306
|
const { activeChatView, setActiveChatView } = useChatViewContext();
|
|
4291
|
-
const { openMobileNav } = useChatContext("ChatViewChannelsSelectorButton");
|
|
4292
4307
|
const { t } = useTranslationContext();
|
|
4293
4308
|
const isActive = activeChatView === "channels";
|
|
4294
4309
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -4299,10 +4314,7 @@ const ChatViewChannelsSelectorButton = ({
|
|
|
4299
4314
|
Icon: IconMessageBubble,
|
|
4300
4315
|
iconOnly,
|
|
4301
4316
|
isActive,
|
|
4302
|
-
onPointerDown: () =>
|
|
4303
|
-
openMobileNav();
|
|
4304
|
-
setActiveChatView("channels");
|
|
4305
|
-
},
|
|
4317
|
+
onPointerDown: () => setActiveChatView("channels"),
|
|
4306
4318
|
text: t("Channels")
|
|
4307
4319
|
}
|
|
4308
4320
|
);
|
|
@@ -4310,7 +4322,7 @@ const ChatViewChannelsSelectorButton = ({
|
|
|
4310
4322
|
const ChatViewThreadsSelectorButton = ({
|
|
4311
4323
|
iconOnly = true
|
|
4312
4324
|
}) => {
|
|
4313
|
-
const { client
|
|
4325
|
+
const { client } = useChatContext();
|
|
4314
4326
|
const { unreadThreadCount } = useStateStore(
|
|
4315
4327
|
client.threads.state,
|
|
4316
4328
|
unreadThreadCountSelector
|
|
@@ -4328,10 +4340,7 @@ const ChatViewThreadsSelectorButton = ({
|
|
|
4328
4340
|
Icon: IconThread,
|
|
4329
4341
|
iconOnly,
|
|
4330
4342
|
isActive,
|
|
4331
|
-
onPointerDown: () =>
|
|
4332
|
-
openMobileNav();
|
|
4333
|
-
setActiveChatView("threads");
|
|
4334
|
-
},
|
|
4343
|
+
onPointerDown: () => setActiveChatView("threads"),
|
|
4335
4344
|
text: t("Threads"),
|
|
4336
4345
|
children: /* @__PURE__ */ jsxRuntime.jsx(UnreadCountBadge, { count: unreadThreadCount, position: "top-right", children: isActive ? /* @__PURE__ */ jsxRuntime.jsx(IconThreadFill, {}) : /* @__PURE__ */ jsxRuntime.jsx(IconThread, {}) })
|
|
4337
4346
|
}
|
|
@@ -4350,19 +4359,7 @@ const defaultChatViewSelectorItemSet = [
|
|
|
4350
4359
|
const ChatViewSelector = ({
|
|
4351
4360
|
iconOnly = true,
|
|
4352
4361
|
itemSet = defaultChatViewSelectorItemSet
|
|
4353
|
-
}) => {
|
|
4354
|
-
const { navOpen } = useChatContext("ChatView.Selector");
|
|
4355
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
4356
|
-
"div",
|
|
4357
|
-
{
|
|
4358
|
-
className: clsx("str-chat__chat-view__selector", {
|
|
4359
|
-
"str-chat__chat-view__selector--nav-closed": navOpen === false,
|
|
4360
|
-
"str-chat__chat-view__selector--nav-open": navOpen === true
|
|
4361
|
-
}),
|
|
4362
|
-
children: itemSet.map(({ Component, type }) => /* @__PURE__ */ jsxRuntime.jsx(Component, { iconOnly }, type))
|
|
4363
|
-
}
|
|
4364
|
-
);
|
|
4365
|
-
};
|
|
4362
|
+
}) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: "str-chat__chat-view__selector", children: itemSet.map(({ Component, type }) => /* @__PURE__ */ jsxRuntime.jsx(Component, { iconOnly }, type)) });
|
|
4366
4363
|
ChatView.Channels = ChannelsView;
|
|
4367
4364
|
ChatView.Threads = ThreadsView;
|
|
4368
4365
|
ChatView.ThreadAdapter = ThreadAdapter;
|
|
@@ -4379,6 +4376,115 @@ const useNotificationTarget = () => {
|
|
|
4379
4376
|
if (channels) return "channel-list";
|
|
4380
4377
|
return void 0;
|
|
4381
4378
|
};
|
|
4379
|
+
const SYSTEM_NOTIFICATION_TAG = "system";
|
|
4380
|
+
const hasSystemNotificationTag = (notification) => notification.tags?.includes(SYSTEM_NOTIFICATION_TAG) ?? false;
|
|
4381
|
+
const getTargetTags = (targetPanels, inferredPanel, tags) => {
|
|
4382
|
+
if (targetPanels) {
|
|
4383
|
+
return Array.from(
|
|
4384
|
+
/* @__PURE__ */ new Set([...targetPanels.map(getNotificationTargetTag), ...tags ?? []])
|
|
4385
|
+
);
|
|
4386
|
+
}
|
|
4387
|
+
return addNotificationTargetTag(inferredPanel, tags);
|
|
4388
|
+
};
|
|
4389
|
+
const getTypeFromIncident = ({
|
|
4390
|
+
incident,
|
|
4391
|
+
severity,
|
|
4392
|
+
type
|
|
4393
|
+
}) => {
|
|
4394
|
+
if (type) return type;
|
|
4395
|
+
if (!incident) return void 0;
|
|
4396
|
+
const status = incident.status ?? (severity === "error" ? "failed" : severity === "success" ? "success" : severity);
|
|
4397
|
+
return [incident.domain, incident.entity, incident.operation, status].filter((segment) => !!segment).join(":");
|
|
4398
|
+
};
|
|
4399
|
+
const useNotificationApi = () => {
|
|
4400
|
+
const { client } = useChatContext();
|
|
4401
|
+
const inferredPanel = useNotificationTarget();
|
|
4402
|
+
const addNotification = React.useCallback(
|
|
4403
|
+
({
|
|
4404
|
+
actions,
|
|
4405
|
+
context,
|
|
4406
|
+
duration,
|
|
4407
|
+
emitter,
|
|
4408
|
+
error,
|
|
4409
|
+
incident,
|
|
4410
|
+
message,
|
|
4411
|
+
severity,
|
|
4412
|
+
tags,
|
|
4413
|
+
targetPanels,
|
|
4414
|
+
type
|
|
4415
|
+
}) => {
|
|
4416
|
+
const notificationTags = getTargetTags(targetPanels, inferredPanel, tags);
|
|
4417
|
+
const resolvedType = getTypeFromIncident({ incident, severity, type });
|
|
4418
|
+
const origin = context ? { context, emitter } : { emitter };
|
|
4419
|
+
const options = {
|
|
4420
|
+
...actions ? { actions } : {},
|
|
4421
|
+
...typeof duration === "number" ? { duration } : {},
|
|
4422
|
+
...error ? { originalError: error } : {},
|
|
4423
|
+
...notificationTags.length > 0 ? { tags: notificationTags } : {},
|
|
4424
|
+
...severity ? { severity } : {},
|
|
4425
|
+
...resolvedType ? { type: resolvedType } : {}
|
|
4426
|
+
};
|
|
4427
|
+
client.notifications.add({
|
|
4428
|
+
message,
|
|
4429
|
+
options,
|
|
4430
|
+
origin
|
|
4431
|
+
});
|
|
4432
|
+
},
|
|
4433
|
+
[client, inferredPanel]
|
|
4434
|
+
);
|
|
4435
|
+
const addSystemNotification = React.useCallback(
|
|
4436
|
+
({
|
|
4437
|
+
actions,
|
|
4438
|
+
context,
|
|
4439
|
+
duration,
|
|
4440
|
+
emitter,
|
|
4441
|
+
error,
|
|
4442
|
+
incident,
|
|
4443
|
+
message,
|
|
4444
|
+
severity,
|
|
4445
|
+
tags,
|
|
4446
|
+
type
|
|
4447
|
+
}) => {
|
|
4448
|
+
const notificationTags = Array.from(
|
|
4449
|
+
/* @__PURE__ */ new Set([SYSTEM_NOTIFICATION_TAG, ...tags ?? []])
|
|
4450
|
+
);
|
|
4451
|
+
const resolvedType = getTypeFromIncident({ incident, severity, type });
|
|
4452
|
+
const origin = context ? { context, emitter } : { emitter };
|
|
4453
|
+
const options = {
|
|
4454
|
+
...actions ? { actions } : {},
|
|
4455
|
+
...typeof duration === "number" ? { duration } : {},
|
|
4456
|
+
...error ? { originalError: error } : {},
|
|
4457
|
+
...notificationTags.length > 0 ? { tags: notificationTags } : {},
|
|
4458
|
+
...severity ? { severity } : {},
|
|
4459
|
+
...resolvedType ? { type: resolvedType } : {}
|
|
4460
|
+
};
|
|
4461
|
+
return client.notifications.add({
|
|
4462
|
+
message,
|
|
4463
|
+
options,
|
|
4464
|
+
origin
|
|
4465
|
+
});
|
|
4466
|
+
},
|
|
4467
|
+
[client]
|
|
4468
|
+
);
|
|
4469
|
+
const removeNotification = React.useCallback(
|
|
4470
|
+
(id) => {
|
|
4471
|
+
client.notifications.remove(id);
|
|
4472
|
+
},
|
|
4473
|
+
[client]
|
|
4474
|
+
);
|
|
4475
|
+
const startNotificationTimeout = React.useCallback(
|
|
4476
|
+
(id) => {
|
|
4477
|
+
client.notifications.startTimeout(id);
|
|
4478
|
+
},
|
|
4479
|
+
[client]
|
|
4480
|
+
);
|
|
4481
|
+
return {
|
|
4482
|
+
addNotification,
|
|
4483
|
+
addSystemNotification,
|
|
4484
|
+
removeNotification,
|
|
4485
|
+
startNotificationTimeout
|
|
4486
|
+
};
|
|
4487
|
+
};
|
|
4382
4488
|
const AudioPlayerContext = React.createContext({
|
|
4383
4489
|
audioPlayers: null
|
|
4384
4490
|
});
|
|
@@ -4407,7 +4513,7 @@ const useAudioPlayer = ({
|
|
|
4407
4513
|
title,
|
|
4408
4514
|
waveformData
|
|
4409
4515
|
}) => {
|
|
4410
|
-
const {
|
|
4516
|
+
const { addNotification } = useNotificationApi();
|
|
4411
4517
|
const panel = useNotificationTarget();
|
|
4412
4518
|
const { t } = useTranslationContext();
|
|
4413
4519
|
const { audioPlayers } = React.useContext(AudioPlayerContext);
|
|
@@ -4425,7 +4531,7 @@ const useAudioPlayer = ({
|
|
|
4425
4531
|
React.useEffect(() => {
|
|
4426
4532
|
if (!audioPlayer) return;
|
|
4427
4533
|
const notificationsPlugin = audioPlayerNotificationsPluginFactory({
|
|
4428
|
-
|
|
4534
|
+
addNotification,
|
|
4429
4535
|
panel,
|
|
4430
4536
|
t
|
|
4431
4537
|
});
|
|
@@ -4433,7 +4539,7 @@ const useAudioPlayer = ({
|
|
|
4433
4539
|
...currentPlugins.filter((plugin) => plugin.id !== notificationsPlugin.id),
|
|
4434
4540
|
notificationsPlugin
|
|
4435
4541
|
]);
|
|
4436
|
-
}, [
|
|
4542
|
+
}, [addNotification, audioPlayer, panel, t]);
|
|
4437
4543
|
return audioPlayer;
|
|
4438
4544
|
};
|
|
4439
4545
|
const activeAudioPlayerSelector = ({ activeAudioPlayer }) => ({
|
|
@@ -4479,6 +4585,8 @@ exports.IconAudio = IconAudio;
|
|
|
4479
4585
|
exports.IconBell = IconBell;
|
|
4480
4586
|
exports.IconBellOff = IconBellOff;
|
|
4481
4587
|
exports.IconBolt = IconBolt;
|
|
4588
|
+
exports.IconBookmark = IconBookmark;
|
|
4589
|
+
exports.IconBookmarkRemove = IconBookmarkRemove;
|
|
4482
4590
|
exports.IconCamera = IconCamera;
|
|
4483
4591
|
exports.IconCheckmark = IconCheckmark;
|
|
4484
4592
|
exports.IconCheckmark1Small = IconCheckmark1Small;
|
|
@@ -4489,15 +4597,15 @@ exports.IconChevronRight = IconChevronRight;
|
|
|
4489
4597
|
exports.IconClock = IconClock;
|
|
4490
4598
|
exports.IconCommand = IconCommand;
|
|
4491
4599
|
exports.IconCopy = IconCopy;
|
|
4492
|
-
exports.IconCrossSmall = IconCrossSmall;
|
|
4493
4600
|
exports.IconDelete = IconDelete;
|
|
4494
4601
|
exports.IconEdit = IconEdit;
|
|
4495
4602
|
exports.IconEmoji = IconEmoji;
|
|
4603
|
+
exports.IconEmojiAdd = IconEmojiAdd;
|
|
4496
4604
|
exports.IconExclamationCircleFill = IconExclamationCircleFill;
|
|
4497
4605
|
exports.IconExclamationMark = IconExclamationMark;
|
|
4498
4606
|
exports.IconExclamationMarkFill = IconExclamationMarkFill;
|
|
4499
|
-
exports.
|
|
4500
|
-
exports.
|
|
4607
|
+
exports.IconExclamationTriangleFill = IconExclamationTriangleFill;
|
|
4608
|
+
exports.IconEyeFill = IconEyeFill;
|
|
4501
4609
|
exports.IconFile = IconFile;
|
|
4502
4610
|
exports.IconFlag = IconFlag;
|
|
4503
4611
|
exports.IconGiphy = IconGiphy;
|
|
@@ -4509,6 +4617,8 @@ exports.IconLocation = IconLocation;
|
|
|
4509
4617
|
exports.IconMessageBubble = IconMessageBubble;
|
|
4510
4618
|
exports.IconMessageBubbleFill = IconMessageBubbleFill;
|
|
4511
4619
|
exports.IconMessageBubbles = IconMessageBubbles;
|
|
4620
|
+
exports.IconMicrophoneSolid = IconMicrophoneSolid;
|
|
4621
|
+
exports.IconMinus = IconMinus;
|
|
4512
4622
|
exports.IconMinusCircle = IconMinusCircle;
|
|
4513
4623
|
exports.IconMore = IconMore;
|
|
4514
4624
|
exports.IconMute = IconMute;
|
|
@@ -4525,16 +4635,14 @@ exports.IconRefresh = IconRefresh;
|
|
|
4525
4635
|
exports.IconReorder = IconReorder;
|
|
4526
4636
|
exports.IconReply = IconReply;
|
|
4527
4637
|
exports.IconRetry = IconRetry;
|
|
4528
|
-
exports.IconSave = IconSave;
|
|
4529
4638
|
exports.IconSearch = IconSearch;
|
|
4530
4639
|
exports.IconSend = IconSend;
|
|
4531
|
-
exports.IconSidebar = IconSidebar;
|
|
4532
4640
|
exports.IconThread = IconThread;
|
|
4533
4641
|
exports.IconThreadFill = IconThreadFill;
|
|
4534
4642
|
exports.IconTranslate = IconTranslate;
|
|
4535
4643
|
exports.IconTrophy = IconTrophy;
|
|
4536
4644
|
exports.IconUnpin = IconUnpin;
|
|
4537
|
-
exports.
|
|
4645
|
+
exports.IconUnsupportedAttachment = IconUnsupportedAttachment;
|
|
4538
4646
|
exports.IconUpload = IconUpload;
|
|
4539
4647
|
exports.IconUser = IconUser;
|
|
4540
4648
|
exports.IconUserAdd = IconUserAdd;
|
|
@@ -4545,6 +4653,7 @@ exports.IconVideoFill = IconVideoFill;
|
|
|
4545
4653
|
exports.IconVoice = IconVoice;
|
|
4546
4654
|
exports.IconXCircle = IconXCircle;
|
|
4547
4655
|
exports.IconXmark = IconXmark;
|
|
4656
|
+
exports.IconXmarkSmall = IconXmarkSmall;
|
|
4548
4657
|
exports.LegacyThreadContext = LegacyThreadContext;
|
|
4549
4658
|
exports.LoadingChannel = LoadingChannel;
|
|
4550
4659
|
exports.LoadingErrorIndicator = LoadingErrorIndicator;
|
|
@@ -4553,6 +4662,7 @@ exports.MESSAGE_ACTIONS = MESSAGE_ACTIONS;
|
|
|
4553
4662
|
exports.MessageComposerContext = MessageComposerContext;
|
|
4554
4663
|
exports.MessageComposerContextProvider = MessageComposerContextProvider;
|
|
4555
4664
|
exports.OPTIONAL_MESSAGE_ACTIONS = OPTIONAL_MESSAGE_ACTIONS;
|
|
4665
|
+
exports.SYSTEM_NOTIFICATION_TAG = SYSTEM_NOTIFICATION_TAG;
|
|
4556
4666
|
exports.ThreadContext = ThreadContext;
|
|
4557
4667
|
exports.ThreadProvider = ThreadProvider;
|
|
4558
4668
|
exports.TranslationContext = TranslationContext;
|
|
@@ -4568,7 +4678,6 @@ exports.countEmojis = countEmojis;
|
|
|
4568
4678
|
exports.createIcon = createIcon;
|
|
4569
4679
|
exports.defaultChatViewSelectorItemSet = defaultChatViewSelectorItemSet;
|
|
4570
4680
|
exports.defaultDateTimeParser = defaultDateTimeParser;
|
|
4571
|
-
exports.defaultPinPermissions = defaultPinPermissions;
|
|
4572
4681
|
exports.defaultRegisterAudioPlayerError = defaultRegisterAudioPlayerError;
|
|
4573
4682
|
exports.defaultTranslatorFunction = defaultTranslatorFunction;
|
|
4574
4683
|
exports.elementIsPlaying = elementIsPlaying;
|
|
@@ -4582,10 +4691,11 @@ exports.getLastReceived = getLastReceived;
|
|
|
4582
4691
|
exports.getMessageActions = getMessageActions;
|
|
4583
4692
|
exports.getNonImageAttachments = getNonImageAttachments;
|
|
4584
4693
|
exports.getNotificationTargetPanel = getNotificationTargetPanel;
|
|
4694
|
+
exports.getNotificationTargetPanels = getNotificationTargetPanels;
|
|
4585
4695
|
exports.getNotificationTargetTag = getNotificationTargetTag;
|
|
4586
4696
|
exports.getReadByTooltipText = getReadByTooltipText;
|
|
4587
4697
|
exports.hasMoreMessagesProbably = hasMoreMessagesProbably;
|
|
4588
|
-
exports.
|
|
4698
|
+
exports.hasSystemNotificationTag = hasSystemNotificationTag;
|
|
4589
4699
|
exports.insertIntro = insertIntro;
|
|
4590
4700
|
exports.isDate = isDate;
|
|
4591
4701
|
exports.isDateSeparatorMessage = isDateSeparatorMessage;
|
|
@@ -4607,6 +4717,7 @@ exports.makeIntroMessage = makeIntroMessage;
|
|
|
4607
4717
|
exports.mapToUserNameOrId = mapToUserNameOrId;
|
|
4608
4718
|
exports.messageHasAttachments = messageHasAttachments;
|
|
4609
4719
|
exports.messageHasGiphyAttachment = messageHasGiphyAttachment;
|
|
4720
|
+
exports.messageHasQuotedMessage = messageHasQuotedMessage;
|
|
4610
4721
|
exports.messageHasReactions = messageHasReactions;
|
|
4611
4722
|
exports.messageHasSingleAttachment = messageHasSingleAttachment;
|
|
4612
4723
|
exports.messageTextHasEmojisOnly = messageTextHasEmojisOnly;
|
|
@@ -4627,6 +4738,7 @@ exports.useLegacyThreadContext = useLegacyThreadContext;
|
|
|
4627
4738
|
exports.useMentionsHandlers = useMentionsHandlers;
|
|
4628
4739
|
exports.useMessageComposerContext = useMessageComposerContext;
|
|
4629
4740
|
exports.useMessageComposerController = useMessageComposerController;
|
|
4741
|
+
exports.useNotificationApi = useNotificationApi;
|
|
4630
4742
|
exports.useNotificationTarget = useNotificationTarget;
|
|
4631
4743
|
exports.usePopoverPosition = usePopoverPosition;
|
|
4632
4744
|
exports.useStateStore = useStateStore;
|
|
@@ -4635,4 +4747,4 @@ exports.useThreadsViewContext = useThreadsViewContext;
|
|
|
4635
4747
|
exports.useTranslationContext = useTranslationContext;
|
|
4636
4748
|
exports.useTypingContext = useTypingContext;
|
|
4637
4749
|
exports.validateAndGetMessage = validateAndGetMessage;
|
|
4638
|
-
//# sourceMappingURL=WithAudioPlayback.
|
|
4750
|
+
//# sourceMappingURL=WithAudioPlayback.83ba0e35.js.map
|