stream-chat-react 14.0.0-beta.3 → 14.0.0-beta.4
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.236d404c.js +4670 -0
- package/dist/cjs/WithAudioPlayback.236d404c.js.map +1 -0
- package/dist/cjs/emojis.js +2 -2
- package/dist/cjs/emojis.js.map +1 -1
- package/dist/cjs/index.js +191 -264
- package/dist/cjs/index.js.map +1 -1
- package/dist/css/emoji-replacement.css +34 -0
- package/dist/css/emoji-replacement.css.map +1 -0
- package/dist/css/index.css +9 -25
- package/dist/css/index.css.map +1 -1
- package/dist/es/WithAudioPlayback.89700cb5.mjs +4654 -0
- package/dist/es/WithAudioPlayback.89700cb5.mjs.map +1 -0
- package/dist/es/emojis.mjs +2 -2
- package/dist/es/emojis.mjs.map +1 -1
- package/dist/es/index.mjs +230 -303
- package/dist/es/index.mjs.map +1 -1
- package/dist/types/components/Form/TextInput.d.ts +2 -2
- package/dist/types/components/Form/TextInput.d.ts.map +1 -1
- package/dist/types/components/Icons/IconGiphy.d.ts.map +1 -1
- package/dist/types/components/Icons/icons.d.ts +56 -340
- package/dist/types/components/Icons/icons.d.ts.map +1 -1
- package/dist/types/components/Loading/LoadingIndicator.d.ts +2 -2
- package/dist/types/components/Loading/LoadingIndicator.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/AttachmentPreviewList/MediaAttachmentPreview.d.ts.map +1 -1
- package/dist/types/components/Poll/PollCreationDialog/OptionFieldSet.d.ts.map +1 -1
- package/package.json +3 -4
- package/dist/assets/icons/stream-chat-icons.eot +0 -0
- package/dist/assets/icons/stream-chat-icons.svg +0 -50
- package/dist/assets/icons/stream-chat-icons.ttf +0 -0
- package/dist/assets/icons/stream-chat-icons.woff +0 -0
- package/dist/assets/icons/stream-chat-icons.woff2 +0 -0
- package/dist/cjs/WithAudioPlayback.4a84360f.js +0 -4727
- package/dist/cjs/WithAudioPlayback.4a84360f.js.map +0 -1
- package/dist/css/v2/emoji-mart.css +0 -1
- package/dist/css/v2/emoji-replacement.css +0 -1
- package/dist/css/v2/index.css +0 -1
- package/dist/css/v2/index.layout.css +0 -1
- package/dist/es/WithAudioPlayback.a3d5a2fc.mjs +0 -4711
- package/dist/es/WithAudioPlayback.a3d5a2fc.mjs.map +0 -1
- package/dist/scss/v2/AIStateIndicator/AIStateIndicator-layout.scss +0 -3
- package/dist/scss/v2/AIStateIndicator/AIStateIndicator-theme.scss +0 -7
- package/dist/scss/v2/AttachmentList/AttachmentList-layout.scss +0 -701
- package/dist/scss/v2/AttachmentList/AttachmentList-theme.scss +0 -605
- package/dist/scss/v2/AttachmentPreviewList/AttachmentPreviewList-layout.scss +0 -141
- package/dist/scss/v2/AttachmentPreviewList/AttachmentPreviewList-theme.scss +0 -190
- package/dist/scss/v2/AudioRecorder/AudioRecorder-layout.scss +0 -139
- package/dist/scss/v2/AudioRecorder/AudioRecorder-theme.scss +0 -61
- package/dist/scss/v2/Autocomplete/Autocomplete-layout.scss +0 -94
- package/dist/scss/v2/Autocomplete/Autocomplete-theme.scss +0 -220
- package/dist/scss/v2/Avatar/Avatar-layout.scss +0 -137
- package/dist/scss/v2/Avatar/Avatar-theme.scss +0 -64
- package/dist/scss/v2/BaseImage/BaseImage-layout.scss +0 -21
- package/dist/scss/v2/BaseImage/BaseImage-theme.scss +0 -35
- package/dist/scss/v2/BaseImage/index.scss +0 -2
- package/dist/scss/v2/Channel/Channel-layout.scss +0 -141
- package/dist/scss/v2/Channel/Channel-theme.scss +0 -100
- package/dist/scss/v2/ChannelHeader/ChannelHeader-layout.scss +0 -27
- package/dist/scss/v2/ChannelHeader/ChannelHeader-theme.scss +0 -43
- package/dist/scss/v2/ChannelList/ChannelList-layout.scss +0 -65
- package/dist/scss/v2/ChannelList/ChannelList-theme.scss +0 -89
- package/dist/scss/v2/ChannelPreview/ChannelPreview-layout.scss +0 -126
- package/dist/scss/v2/ChannelPreview/ChannelPreview-theme.scss +0 -148
- package/dist/scss/v2/ChannelSearch/ChannelSearch-layout.scss +0 -122
- package/dist/scss/v2/ChannelSearch/ChannelSearch-theme.scss +0 -238
- package/dist/scss/v2/ChatView/ChatView-layout.scss +0 -43
- package/dist/scss/v2/ChatView/ChatView-theme.scss +0 -32
- package/dist/scss/v2/Dialog/Dialog-layout.scss +0 -70
- package/dist/scss/v2/Dialog/Dialog-theme.scss +0 -103
- package/dist/scss/v2/DragAndDropContainer/DragAndDropContainer-layout.scss +0 -5
- package/dist/scss/v2/DragAndDropContainer/DragAndDropContainer-theme.scss +0 -47
- package/dist/scss/v2/DropzoneContainer/DropzoneContainer-layout.scss +0 -14
- package/dist/scss/v2/DropzoneContainer/DropzoneContainer-theme.scss +0 -17
- package/dist/scss/v2/EditMessageForm/EditMessageForm-layout.scss +0 -51
- package/dist/scss/v2/EditMessageForm/EditMessageForm-theme.scss +0 -50
- package/dist/scss/v2/Form/Form-layout.scss +0 -49
- package/dist/scss/v2/Form/Form-theme.scss +0 -82
- package/dist/scss/v2/Icon/Icon-layout.scss +0 -98
- package/dist/scss/v2/Icon/Icon-theme.scss +0 -17
- package/dist/scss/v2/ImageCarousel/ImageCarousel-layout.scss +0 -51
- package/dist/scss/v2/ImageCarousel/ImageCarousel-theme.scss +0 -30
- package/dist/scss/v2/InfiniteScrollPaginator/InfiniteScrollPaginator-layout.scss +0 -4
- package/dist/scss/v2/LinkPreview/LinkPreview-layout.scss +0 -67
- package/dist/scss/v2/LinkPreview/LinkPreview-theme.scss +0 -32
- package/dist/scss/v2/LinkPreview/index.scss +0 -2
- package/dist/scss/v2/LoadingIndicator/LoadingIndicator-layout.scss +0 -64
- package/dist/scss/v2/LoadingIndicator/LoadingIndicator-theme.scss +0 -14
- package/dist/scss/v2/Location/Location-layout.scss +0 -52
- package/dist/scss/v2/Location/Location-theme.scss +0 -32
- package/dist/scss/v2/Message/Message-layout.scss +0 -619
- package/dist/scss/v2/Message/Message-theme.scss +0 -483
- package/dist/scss/v2/MessageActionsBox/MessageActionsBox-layout.scss +0 -21
- package/dist/scss/v2/MessageActionsBox/MessageActionsBox-theme.scss +0 -85
- package/dist/scss/v2/MessageBouncePrompt/MessageBouncePrompt-layout.scss +0 -19
- package/dist/scss/v2/MessageBouncePrompt/MessageBouncePrompt-theme.scss +0 -51
- package/dist/scss/v2/MessageInput/MessageInput-layout.scss +0 -268
- package/dist/scss/v2/MessageInput/MessageInput-theme.scss +0 -359
- package/dist/scss/v2/MessageList/MessageList-layout.scss +0 -65
- package/dist/scss/v2/MessageList/MessageList-theme.scss +0 -107
- package/dist/scss/v2/MessageList/VirtualizedMessageList-layout.scss +0 -57
- package/dist/scss/v2/MessageList/VirtualizedMessageList-theme.scss +0 -41
- package/dist/scss/v2/MessageReactions/MessageReactions-layout.scss +0 -143
- package/dist/scss/v2/MessageReactions/MessageReactions-theme.scss +0 -92
- package/dist/scss/v2/MessageReactions/MessageReactionsSelector-layout.scss +0 -86
- package/dist/scss/v2/MessageReactions/MessageReactionsSelector-theme.scss +0 -94
- package/dist/scss/v2/Modal/Modal-layout.scss +0 -74
- package/dist/scss/v2/Modal/Modal-theme.scss +0 -109
- package/dist/scss/v2/Notification/MessageNotification-layout.scss +0 -12
- package/dist/scss/v2/Notification/MessageNotification-theme.scss +0 -34
- package/dist/scss/v2/Notification/Notification-layout.scss +0 -7
- package/dist/scss/v2/Notification/Notification-theme.scss +0 -32
- package/dist/scss/v2/Notification/NotificationList-layout.scss +0 -11
- package/dist/scss/v2/Notification/NotificationList-theme.scss +0 -31
- package/dist/scss/v2/Poll/Poll-layout.scss +0 -493
- package/dist/scss/v2/Poll/Poll-theme.scss +0 -178
- package/dist/scss/v2/Search/Search-layout.scss +0 -148
- package/dist/scss/v2/Search/Search-theme.scss +0 -222
- package/dist/scss/v2/Thread/Thread-layout.scss +0 -65
- package/dist/scss/v2/Thread/Thread-theme.scss +0 -82
- package/dist/scss/v2/ThreadList/ThreadList-layout.scss +0 -152
- package/dist/scss/v2/ThreadList/ThreadList-theme.scss +0 -75
- package/dist/scss/v2/Tooltip/Tooltip-layout.scss +0 -10
- package/dist/scss/v2/Tooltip/Tooltip-theme.scss +0 -36
- package/dist/scss/v2/TypingIndicator/TypingIndicator-layout.scss +0 -31
- package/dist/scss/v2/TypingIndicator/TypingIndicator-theme.scss +0 -68
- package/dist/scss/v2/UnreadCountBadge/UnreadCountBadge-layout.scss +0 -49
- package/dist/scss/v2/UnreadCountBadge/UnreadCountBadge-theme.scss +0 -11
- package/dist/scss/v2/_base.scss +0 -65
- package/dist/scss/v2/_emoji-replacement.scss +0 -45
- package/dist/scss/v2/_global-layout-variables.scss +0 -65
- package/dist/scss/v2/_global-theme-variables.scss +0 -173
- package/dist/scss/v2/_icons.scss +0 -36
- package/dist/scss/v2/_palette-variables.scss +0 -55
- package/dist/scss/v2/_utils.scss +0 -212
- package/dist/scss/v2/_variables.scss +0 -2
- package/dist/scss/v2/common/CTAButton/CTAButton-layout.scss +0 -4
- package/dist/scss/v2/common/CTAButton/CTAButton-theme.scss +0 -42
- package/dist/scss/v2/common/CircleFAButton/CircleFAButton-layout.scss +0 -14
- package/dist/scss/v2/common/CircleFAButton/CircleFAButton-theme.scss +0 -35
- package/dist/scss/v2/index.layout.scss +0 -49
- package/dist/scss/v2/index.scss +0 -50
- package/dist/scss/v2/vendor/emoji-mart.scss +0 -514
- package/dist/scss/v2/vendor/react-image-gallery.scss +0 -258
- /package/dist/{assets → css/assets}/EmojiOneColor.woff2 +0 -0
- /package/dist/{assets → css/assets}/NotoColorEmoji-flags.woff2 +0 -0
package/dist/es/index.mjs
CHANGED
|
@@ -3,8 +3,8 @@ import clsx from "clsx";
|
|
|
3
3
|
import { nanoid } from "nanoid";
|
|
4
4
|
import React, { useState, useEffect, useCallback, useLayoutEffect, useMemo, useContext, createContext, useRef, forwardRef, createElement, Component, Fragment as Fragment$1 } from "react";
|
|
5
5
|
import { u as useHandleFileChangeWrapper, d as dataTransferItemsToFiles, r as renderAudio, t as toAudioBuffer, c as createFileFromBlobs, g as getExtensionFromMimeType, a as getRecordedMediaTypeFromMimeType } from "./audioProcessing.21cb49e1.mjs";
|
|
6
|
-
import { u as useStateStore, a as useMessageComposerController, i as isMessageBounced, b as useChannelActionContext, C as ComponentContext, c as useTranslationContext, d as useChannelStateContext, e as useChatContext, f as isNotificationForPanel, B as BaseIcon, g as Button, I as
|
|
7
|
-
import { bu, bx,
|
|
6
|
+
import { u as useStateStore, a as useMessageComposerController, i as isMessageBounced, b as useChannelActionContext, C as ComponentContext, c as useTranslationContext, d as useChannelStateContext, e as useChatContext, f as isNotificationForPanel, B as BaseIcon, g as Button, I as IconPauseFill, h as IconPlayFill, j as getDefaultExportFromCjs, k as defaultTranslatorFunction, p as predefinedFormatters, L as LocalizedFormat, l as calendar, m as IconLoading, n as isNetworkSendFailure, v as validateAndGetMessage, o as isUserMuted, q as defaultPinPermissions, r as useThreadContext, s as usePopoverPosition, t as useComponentContext, w as IconXmark, x as IconUser, y as IconExclamationMarkFill, z as IconChevronRight, A as IconChevronLeft, D as IconArrowLeft, E as IconExclamationMark, F as IconNoSign, G as isMessageErrorRetryable, H as ACTIONS_NOT_WORKING_IN_THREAD, J as useNotificationTarget, K as IconArrowUpRight, M as addNotificationTargetTag, N as IconPin, O as mapToUserNameOrId, P as IconClock, Q as IconCheckmark1Small, R as IconChecks, S as getReadByTooltipText, T as messageHasAttachments, U as messageTextHasEmojisOnly, V as isDate, W as getDateString, X as IconTranslate, Y as useMessageComposerContext, Z as useIsCooldownActive, _ as IconCrossSmall, $ as IconImage, a0 as IconPoll, a1 as IconLocation, a2 as IconFile, a3 as IconLink, a4 as IconVideo, a5 as IconVideoFill, a6 as IconVoice, a7 as IconSave, a8 as IconBell, a9 as IconChevronDown, aa as IconPlusSmall, ab as IconCheckmark, ac as DEFAULT_LOAD_PAGE_SCROLL_THRESHOLD, ad as IconTrophy, ae as IconReorder, af as IconMinusCircle, ag as IconSend, ah as IconAudio, ai as IconUserAdd, aj as IconMute, ak as IconFlag, al as IconUserRemove, am as IconAttachment, an as IconCommand, ao as CHANNEL_CONTAINER_ID, ap as IconPlus, aq as IconExclamationTriangle, ar as useAudioPlayer, as as IconRetry, at as IconArrowDownCircle, au as IconThunder, av as IconDelete, aw as IconUpload, ax as MessageComposerContextProvider, ay as useTypingContext, az as defaultDateTimeParser, aA as isLanguageSupported, aB as IconLayoutAlignLeft, aC as useChatViewContext, aD as MESSAGE_ACTIONS, aE as LegacyThreadContext, aF as IconReply, aG as IconEmoji, aH as IconMore, aI as IconUserCheck, aJ as IconUnsave, aK as IconBellOff, aL as IconNotification, aM as IconEdit, aN as IconCopy, aO as IconUnpin, aP as IconQuote, aQ as IconThread, aR as areMessageUIPropsEqual, aS as isDateSeparatorMessage, aT as isMessageBlocked, aU as messageHasSingleAttachment, aV as messageHasGiphyAttachment, aW as messageHasReactions, aX as isMessageEdited, aY as countEmojis, aZ as areMessagePropsEqual, a_ as getMessageActions, a$ as processMessages, b0 as insertIntro, b1 as getGroupStyles, b2 as getLastReceived, b3 as IconArrowUp, b4 as isIntroMessage, b5 as isLocalMessage, b6 as getIsFirstUnreadMessage, b7 as IconArrowDown, b8 as DEFAULT_NEXT_CHANNEL_PAGE_SIZE, b9 as EmptyStateIndicator, ba as getChannel, bb as IconSearch, bc as IconXCircle, bd as useChannelListContext, be as DEFAULT_JUMP_TO_PAGE_SIZE, bf as ChannelListContextProvider, bg as IconArchive, bh as IconLeave, bi as IconCamera, bj as IconExclamationCircleFill, bk as ChatProvider, bl as TranslationProvider, bm as useThreadsViewContext, bn as IconMessageBubbles, bo as IconRefresh, bp as IconEyeOpen } from "./WithAudioPlayback.89700cb5.mjs";
|
|
7
|
+
import { bu, bx, c5, c6, c7, c8, c9, ca, bz, bC, by, bB, bD, cb, bG, bJ, bK, bM, bN, bH, bI, bP, bQ, bR, bL, bO, bS, bT, cc, bU, c3, c4, cd, ce, cf, br, bF, bE, bs, bt, bV, bW, c0, c1, bZ, b_, cg, b$, ch, bY, bX, bq, bA, bv, bw, c2 } from "./WithAudioPlayback.89700cb5.mjs";
|
|
8
8
|
import { StateStore, formatMessage, MessageComposer as MessageComposer$1, isGiphyAttachment, isScrapedContent, isLocalVideoAttachment, isVideoAttachment, isLocalImageAttachment, isImageAttachment, isAudioAttachment, isVoiceRecordingAttachment, isFileAttachment, isVoteAnswer, VotingVisibility, isLocalVoiceRecordingAttachment, isLocalAudioAttachment, isLocalFileAttachment, isLocalAttachment, LinkPreviewsManager, SearchController, ChannelSearchSource, UserSearchSource, MessageSearchSource, StreamChat, isSharedLocationResponse, LiveLocationManager } from "stream-chat";
|
|
9
9
|
import throttle from "lodash.throttle";
|
|
10
10
|
import * as linkify from "linkifyjs";
|
|
@@ -717,39 +717,37 @@ const IconGiphy = ({ className, ...props }) => /* @__PURE__ */ jsxs(
|
|
|
717
717
|
className: clsx("str-chat__icon--giphy", className),
|
|
718
718
|
viewBox: "0 0 16 16",
|
|
719
719
|
children: [
|
|
720
|
-
/* @__PURE__ */
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
] }),
|
|
752
|
-
/* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", { id: "clip0_4197_15218", children: /* @__PURE__ */ jsx("rect", { fill: "white", height: "16", width: "16" }) }) })
|
|
720
|
+
/* @__PURE__ */ jsx("rect", { fill: "black", height: "16", rx: "8", width: "16" }),
|
|
721
|
+
/* @__PURE__ */ jsx(
|
|
722
|
+
"path",
|
|
723
|
+
{
|
|
724
|
+
clipRule: "evenodd",
|
|
725
|
+
d: "M5.27976 4.40015H10.7206V11.5999H5.2793L5.27976 4.40015Z",
|
|
726
|
+
fill: "black",
|
|
727
|
+
fillRule: "evenodd"
|
|
728
|
+
}
|
|
729
|
+
),
|
|
730
|
+
/* @__PURE__ */ jsx("path", { d: "M4.19189 4.1333H5.27969V11.8669H4.19189V4.1333Z", fill: "#04FF8E" }),
|
|
731
|
+
/* @__PURE__ */ jsx("path", { d: "M10.7202 6.26685H11.808V11.8668H10.7202V6.26685Z", fill: "#8E2EFF" }),
|
|
732
|
+
/* @__PURE__ */ jsx("path", { d: "M4.19189 11.5999H11.8079V12.6667H4.19189V11.5999Z", fill: "#00C5FF" }),
|
|
733
|
+
/* @__PURE__ */ jsx("path", { d: "M4.19189 3.33325H8.54403V4.40005H4.19189V3.33325Z", fill: "#FFF152" }),
|
|
734
|
+
/* @__PURE__ */ jsx(
|
|
735
|
+
"path",
|
|
736
|
+
{
|
|
737
|
+
d: "M10.72 5.46638V4.40005H9.63174V3.33325H8.54395V6.53318H11.8078V5.46638",
|
|
738
|
+
fill: "#FF5B5B"
|
|
739
|
+
}
|
|
740
|
+
),
|
|
741
|
+
/* @__PURE__ */ jsx("path", { d: "M10.7202 7.6V6.5332H11.808", fill: "#551C99" }),
|
|
742
|
+
/* @__PURE__ */ jsx(
|
|
743
|
+
"path",
|
|
744
|
+
{
|
|
745
|
+
clipRule: "evenodd",
|
|
746
|
+
d: "M8.54432 3.33325V4.40005H7.45605",
|
|
747
|
+
fill: "#999131",
|
|
748
|
+
fillRule: "evenodd"
|
|
749
|
+
}
|
|
750
|
+
)
|
|
753
751
|
]
|
|
754
752
|
}
|
|
755
753
|
);
|
|
@@ -763,7 +761,7 @@ const PlayButton = ({ className, isPlaying, ...props }) => /* @__PURE__ */ jsx(
|
|
|
763
761
|
size: "sm",
|
|
764
762
|
variant: "secondary",
|
|
765
763
|
...props,
|
|
766
|
-
children: isPlaying ? /* @__PURE__ */ jsx(
|
|
764
|
+
children: isPlaying ? /* @__PURE__ */ jsx(IconPauseFill, {}) : /* @__PURE__ */ jsx(IconPlayFill, {})
|
|
767
765
|
}
|
|
768
766
|
);
|
|
769
767
|
const Anonymous$b = "Anonym";
|
|
@@ -7287,10 +7285,10 @@ function requireRelativeTime() {
|
|
|
7287
7285
|
function i(r2, t2, e2, o2) {
|
|
7288
7286
|
return n.fromToBase(r2, t2, e2, o2);
|
|
7289
7287
|
}
|
|
7290
|
-
e.en.relativeTime = o, n.fromToBase = function(t2, n2, i2,
|
|
7288
|
+
e.en.relativeTime = o, n.fromToBase = function(t2, n2, i2, d2, u2) {
|
|
7291
7289
|
for (var a, f, s, l = i2.$locale().relativeTime || o, h = r.thresholds || [{ l: "s", r: 44, d: "second" }, { l: "m", r: 89 }, { l: "mm", r: 44, d: "minute" }, { l: "h", r: 89 }, { l: "hh", r: 21, d: "hour" }, { l: "d", r: 35 }, { l: "dd", r: 25, d: "day" }, { l: "M", r: 45 }, { l: "MM", r: 10, d: "month" }, { l: "y", r: 17 }, { l: "yy", d: "year" }], m = h.length, c = 0; c < m; c += 1) {
|
|
7292
7290
|
var y = h[c];
|
|
7293
|
-
y.d && (a =
|
|
7291
|
+
y.d && (a = d2 ? e(t2).diff(i2, y.d, true) : i2.diff(t2, y.d, true));
|
|
7294
7292
|
var p = (r.rounding || Math.round)(Math.abs(a));
|
|
7295
7293
|
if (s = a > 0, p <= y.r || !y.r) {
|
|
7296
7294
|
p <= 1 && c > 0 && (y = h[c - 1]);
|
|
@@ -7785,7 +7783,7 @@ class NotificationTranslationTopic extends TranslationTopic {
|
|
|
7785
7783
|
}
|
|
7786
7784
|
}
|
|
7787
7785
|
var de$1 = { exports: {} };
|
|
7788
|
-
var
|
|
7786
|
+
var de = de$1.exports;
|
|
7789
7787
|
var hasRequiredDe;
|
|
7790
7788
|
function requireDe() {
|
|
7791
7789
|
if (hasRequiredDe) return de$1.exports;
|
|
@@ -7793,7 +7791,7 @@ function requireDe() {
|
|
|
7793
7791
|
(function(module, exports$1) {
|
|
7794
7792
|
!(function(e, n) {
|
|
7795
7793
|
module.exports = n(Dayjs);
|
|
7796
|
-
})(
|
|
7794
|
+
})(de, function(e) {
|
|
7797
7795
|
e = e && e.hasOwnProperty("default") ? e.default : e;
|
|
7798
7796
|
var n = { s: "ein paar Sekunden", m: ["eine Minute", "einer Minute"], mm: "%d Minuten", h: ["eine Stunde", "einer Stunde"], hh: "%d Stunden", d: ["ein Tag", "einem Tag"], dd: ["%d Tage", "%d Tagen"], M: ["ein Monat", "einem Monat"], MM: ["%d Monate", "%d Monaten"], y: ["ein Jahr", "einem Jahr"], yy: ["%d Jahre", "%d Jahren"] };
|
|
7799
7797
|
function t(e2, t2, a2) {
|
|
@@ -8502,7 +8500,7 @@ const LoadingChannels = () => /* @__PURE__ */ jsxs("div", { className: "str-chat
|
|
|
8502
8500
|
/* @__PURE__ */ jsx(LoadingItems, {}),
|
|
8503
8501
|
/* @__PURE__ */ jsx(LoadingItems, {})
|
|
8504
8502
|
] });
|
|
8505
|
-
const LoadingIndicator = (props) => /* @__PURE__ */ jsx(
|
|
8503
|
+
const LoadingIndicator = (props) => /* @__PURE__ */ jsx(IconLoading, { ...props, className: "str-chat__loading-indicator" });
|
|
8506
8504
|
const UnMemoizedCustomNotification = (props) => {
|
|
8507
8505
|
const { active, children, className, type } = props;
|
|
8508
8506
|
if (!active) return null;
|
|
@@ -9214,7 +9212,7 @@ const DefaultCalloutDialog = ({ children, className, onClose }) => /* @__PURE__
|
|
|
9214
9212
|
onClick: onClose,
|
|
9215
9213
|
size: "sm",
|
|
9216
9214
|
variant: "secondary",
|
|
9217
|
-
children: /* @__PURE__ */ jsx(
|
|
9215
|
+
children: /* @__PURE__ */ jsx(IconXmark, {})
|
|
9218
9216
|
}
|
|
9219
9217
|
)
|
|
9220
9218
|
] });
|
|
@@ -9284,7 +9282,7 @@ const Avatar = ({
|
|
|
9284
9282
|
}
|
|
9285
9283
|
) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
9286
9284
|
!!sizeAwareInitials.length && /* @__PURE__ */ jsx("div", { className: "str-chat__avatar-initials", "data-testid": "avatar-fallback", children: sizeAwareInitials }),
|
|
9287
|
-
!sizeAwareInitials.length && /* @__PURE__ */ jsx(
|
|
9285
|
+
!sizeAwareInitials.length && /* @__PURE__ */ jsx(IconUser, {})
|
|
9288
9286
|
] })
|
|
9289
9287
|
]
|
|
9290
9288
|
}
|
|
@@ -9313,7 +9311,7 @@ const ErrorBadge = ({
|
|
|
9313
9311
|
className,
|
|
9314
9312
|
size = "sm",
|
|
9315
9313
|
...rest
|
|
9316
|
-
}) => /* @__PURE__ */ jsx(Badge, { ...rest, className, size, variant: "error", children: /* @__PURE__ */ jsx(
|
|
9314
|
+
}) => /* @__PURE__ */ jsx(Badge, { ...rest, className, size, variant: "error", children: /* @__PURE__ */ jsx(IconExclamationMarkFill, {}) });
|
|
9317
9315
|
function AvatarStack({
|
|
9318
9316
|
badgeSize,
|
|
9319
9317
|
component: Component2 = "div",
|
|
@@ -9929,7 +9927,7 @@ const PromptHeader = ({ className, close, description, title }) => /* @__PURE__
|
|
|
9929
9927
|
onClick: close,
|
|
9930
9928
|
size: "sm",
|
|
9931
9929
|
variant: "secondary",
|
|
9932
|
-
children: /* @__PURE__ */ jsx(
|
|
9930
|
+
children: /* @__PURE__ */ jsx(IconXmark, {})
|
|
9933
9931
|
}
|
|
9934
9932
|
)
|
|
9935
9933
|
] });
|
|
@@ -9998,7 +9996,7 @@ const ViewerHeader = ({
|
|
|
9998
9996
|
onClick: close,
|
|
9999
9997
|
size: "sm",
|
|
10000
9998
|
variant: "secondary",
|
|
10001
|
-
children: /* @__PURE__ */ jsx(
|
|
9999
|
+
children: /* @__PURE__ */ jsx(IconXmark, {})
|
|
10002
10000
|
}
|
|
10003
10001
|
)
|
|
10004
10002
|
] });
|
|
@@ -10135,7 +10133,7 @@ function MessageBouncePrompt({ children }) {
|
|
|
10135
10133
|
Alert.Header,
|
|
10136
10134
|
{
|
|
10137
10135
|
className: "str-chat__message-bounce-alert-header",
|
|
10138
|
-
Icon:
|
|
10136
|
+
Icon: IconExclamationMark,
|
|
10139
10137
|
title: !children ? t("This message did not meet our content guidelines") : void 0,
|
|
10140
10138
|
children
|
|
10141
10139
|
}
|
|
@@ -10186,7 +10184,7 @@ const MessageBubble = ({ className, ...props }) => /* @__PURE__ */ jsx("div", {
|
|
|
10186
10184
|
const MessageDeletedBubble = () => {
|
|
10187
10185
|
const { t } = useTranslationContext();
|
|
10188
10186
|
return /* @__PURE__ */ jsx(MessageBubble, { "data-testid": "message-deleted-bubble", children: /* @__PURE__ */ jsxs("div", { className: "str-chat__message-text", children: [
|
|
10189
|
-
/* @__PURE__ */ jsx(
|
|
10187
|
+
/* @__PURE__ */ jsx(IconNoSign, {}),
|
|
10190
10188
|
/* @__PURE__ */ jsx("span", { children: t("Message deleted") })
|
|
10191
10189
|
] }) });
|
|
10192
10190
|
};
|
|
@@ -10329,7 +10327,7 @@ const MessageAlsoSentInChannelIndicator = () => {
|
|
|
10329
10327
|
};
|
|
10330
10328
|
if (!message?.show_in_channel) return null;
|
|
10331
10329
|
return /* @__PURE__ */ jsxs("div", { className: "str-chat__message-also-sent-in-channel", role: "status", children: [
|
|
10332
|
-
/* @__PURE__ */ jsx(
|
|
10330
|
+
/* @__PURE__ */ jsx(IconArrowUpRight, {}),
|
|
10333
10331
|
/* @__PURE__ */ jsx("span", { children: threadList ? t("Also sent in channel") : t("Replied to a thread") }),
|
|
10334
10332
|
/* @__PURE__ */ jsx("span", { children: " · " }),
|
|
10335
10333
|
/* @__PURE__ */ jsx(
|
|
@@ -10543,7 +10541,7 @@ const UnMemoizedMessageStatus = (props) => {
|
|
|
10543
10541
|
children: t("Delivered")
|
|
10544
10542
|
}
|
|
10545
10543
|
),
|
|
10546
|
-
/* @__PURE__ */ jsx(
|
|
10544
|
+
/* @__PURE__ */ jsx(IconChecks, { className: "str-chat__message-status-delivered" })
|
|
10547
10545
|
] })),
|
|
10548
10546
|
read && (MessageReadStatus ? /* @__PURE__ */ jsx(MessageReadStatus, {}) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
10549
10547
|
/* @__PURE__ */ jsx(
|
|
@@ -10555,7 +10553,7 @@ const UnMemoizedMessageStatus = (props) => {
|
|
|
10555
10553
|
children: getReadByTooltipText(readBy, t, client, tooltipUserNameMapper)
|
|
10556
10554
|
}
|
|
10557
10555
|
),
|
|
10558
|
-
/* @__PURE__ */ jsx(
|
|
10556
|
+
/* @__PURE__ */ jsx(IconChecks, { className: "str-chat__message-status-read" }),
|
|
10559
10557
|
readersWithoutOwnUser.length > 1 && /* @__PURE__ */ jsx(
|
|
10560
10558
|
"span",
|
|
10561
10559
|
{
|
|
@@ -12047,7 +12045,7 @@ const ImagePlaceholder = ({ className }) => {
|
|
|
12047
12045
|
className: clsx("str-chat__image-placeholder", className),
|
|
12048
12046
|
"data-testid": "str-chat__base-image-placeholder",
|
|
12049
12047
|
role: "img",
|
|
12050
|
-
children: /* @__PURE__ */ jsx(
|
|
12048
|
+
children: /* @__PURE__ */ jsx(IconImage, {})
|
|
12051
12049
|
}
|
|
12052
12050
|
);
|
|
12053
12051
|
};
|
|
@@ -13109,16 +13107,16 @@ const getAttachmentIconWithType = (quotedMessage, giphyVersionName) => {
|
|
|
13109
13107
|
};
|
|
13110
13108
|
if (!groupedAttachments.total) return result;
|
|
13111
13109
|
if (groupedAttachments.polls.length > 0)
|
|
13112
|
-
return { ...result, Icon:
|
|
13110
|
+
return { ...result, Icon: IconPoll, previewType: "poll" };
|
|
13113
13111
|
if (groupedAttachments.locations.length > 0)
|
|
13114
|
-
return { ...result, Icon:
|
|
13112
|
+
return { ...result, Icon: IconLocation, previewType: "location" };
|
|
13115
13113
|
if (groupedAttachments.giphies.length > 0 && groupedAttachments.giphies.length === groupedAttachments.total) {
|
|
13116
13114
|
const giphyAttachment = groupedAttachments.giphies[0];
|
|
13117
13115
|
const giphyVersion = giphyAttachment.giphy?.[giphyVersionName];
|
|
13118
13116
|
const src = giphyVersion?.url || giphyAttachment.thumb_url || giphyAttachment.image_url || "";
|
|
13119
13117
|
return {
|
|
13120
13118
|
...result,
|
|
13121
|
-
Icon:
|
|
13119
|
+
Icon: IconFile,
|
|
13122
13120
|
PreviewImage: /* @__PURE__ */ jsx(
|
|
13123
13121
|
BaseImage,
|
|
13124
13122
|
{
|
|
@@ -13135,7 +13133,7 @@ const getAttachmentIconWithType = (quotedMessage, giphyVersionName) => {
|
|
|
13135
13133
|
const fileAttachment = groupedAttachments.documents[0];
|
|
13136
13134
|
return {
|
|
13137
13135
|
...result,
|
|
13138
|
-
Icon:
|
|
13136
|
+
Icon: IconFile,
|
|
13139
13137
|
PreviewImage: /* @__PURE__ */ jsx(FileIcon, { fileName: fileAttachment.title, mimeType: fileAttachment.mime_type }),
|
|
13140
13138
|
previewType: "file"
|
|
13141
13139
|
};
|
|
@@ -13144,7 +13142,7 @@ const getAttachmentIconWithType = (quotedMessage, giphyVersionName) => {
|
|
|
13144
13142
|
const linkAttachment = groupedAttachments.links[0];
|
|
13145
13143
|
return {
|
|
13146
13144
|
...result,
|
|
13147
|
-
Icon:
|
|
13145
|
+
Icon: IconLink,
|
|
13148
13146
|
PreviewImage: /* @__PURE__ */ jsx(
|
|
13149
13147
|
BaseImage,
|
|
13150
13148
|
{
|
|
@@ -13172,7 +13170,7 @@ const getAttachmentIconWithType = (quotedMessage, giphyVersionName) => {
|
|
|
13172
13170
|
title: videoAttachment.title
|
|
13173
13171
|
}
|
|
13174
13172
|
),
|
|
13175
|
-
/* @__PURE__ */ jsx("div", { className: "str-chat__attachment-preview__thumbnail__play-indicator", children: /* @__PURE__ */ jsx(
|
|
13173
|
+
/* @__PURE__ */ jsx("div", { className: "str-chat__attachment-preview__thumbnail__play-indicator", children: /* @__PURE__ */ jsx(IconPlayFill, {}) })
|
|
13176
13174
|
] }),
|
|
13177
13175
|
previewType: "video"
|
|
13178
13176
|
};
|
|
@@ -13181,7 +13179,7 @@ const getAttachmentIconWithType = (quotedMessage, giphyVersionName) => {
|
|
|
13181
13179
|
const imageAttachment = groupedAttachments.images[0];
|
|
13182
13180
|
return {
|
|
13183
13181
|
...result,
|
|
13184
|
-
Icon:
|
|
13182
|
+
Icon: IconVideoFill,
|
|
13185
13183
|
PreviewImage: /* @__PURE__ */ jsx(
|
|
13186
13184
|
BaseImage,
|
|
13187
13185
|
{
|
|
@@ -13195,8 +13193,8 @@ const getAttachmentIconWithType = (quotedMessage, giphyVersionName) => {
|
|
|
13195
13193
|
};
|
|
13196
13194
|
}
|
|
13197
13195
|
if (groupedAttachments.voiceRecordings.length === groupedAttachments.total)
|
|
13198
|
-
return { ...result, Icon:
|
|
13199
|
-
return { ...result, Icon:
|
|
13196
|
+
return { ...result, Icon: IconVoice, previewType: "voice" };
|
|
13197
|
+
return { ...result, Icon: IconFile, previewType: "mixed" };
|
|
13200
13198
|
};
|
|
13201
13199
|
const QuotedMessagePreview = ({
|
|
13202
13200
|
getQuotedMessageAuthor,
|
|
@@ -13347,7 +13345,7 @@ const reminderStateSelector = (state) => ({
|
|
|
13347
13345
|
function SavedForLaterContent() {
|
|
13348
13346
|
const { t } = useTranslationContext();
|
|
13349
13347
|
return /* @__PURE__ */ jsxs("p", { className: "str-chat__message-saved-for-later", children: [
|
|
13350
|
-
/* @__PURE__ */ jsx(
|
|
13348
|
+
/* @__PURE__ */ jsx(IconSave, {}),
|
|
13351
13349
|
/* @__PURE__ */ jsx("span", { children: t("Saved for later") })
|
|
13352
13350
|
] });
|
|
13353
13351
|
}
|
|
@@ -13391,7 +13389,7 @@ function RemindMeContent({ reminder }) {
|
|
|
13391
13389
|
});
|
|
13392
13390
|
};
|
|
13393
13391
|
return /* @__PURE__ */ jsxs("p", { className: "str-chat__message-reminder", children: [
|
|
13394
|
-
/* @__PURE__ */ jsx(
|
|
13392
|
+
/* @__PURE__ */ jsx(IconBell, {}),
|
|
13395
13393
|
/* @__PURE__ */ jsx("span", { children: t("Reminder set") }),
|
|
13396
13394
|
/* @__PURE__ */ jsx("span", { children: " · " }),
|
|
13397
13395
|
/* @__PURE__ */ jsx("span", { className: "str-chat__message-reminder__time-left", children: renderTime() })
|
|
@@ -14104,10 +14102,10 @@ const TextInput = forwardRef(function TextInput2({
|
|
|
14104
14102
|
const displayMessage = displayError || displaySuccess || displayNeutralMessage;
|
|
14105
14103
|
const messageId = displayMessage ? `${id}-message` : void 0;
|
|
14106
14104
|
const messageContent = displayError ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
14107
|
-
/* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "str-chat__form-text-input__message-icon", children: errorMessageIcon ?? /* @__PURE__ */ jsx(
|
|
14105
|
+
/* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "str-chat__form-text-input__message-icon", children: errorMessageIcon ?? /* @__PURE__ */ jsx(IconExclamationMark, {}) }),
|
|
14108
14106
|
errorMessage ?? message
|
|
14109
14107
|
] }) : displaySuccess ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
14110
|
-
/* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "str-chat__form-text-input__message-icon", children: successMessageIcon ?? /* @__PURE__ */ jsx(
|
|
14108
|
+
/* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "str-chat__form-text-input__message-icon", children: successMessageIcon ?? /* @__PURE__ */ jsx(IconCheckmark, {}) }),
|
|
14111
14109
|
successMessage
|
|
14112
14110
|
] }) : displayNeutralMessage ? message : null;
|
|
14113
14111
|
return /* @__PURE__ */ jsxs(
|
|
@@ -15551,7 +15549,7 @@ const OptionFieldSet = () => {
|
|
|
15551
15549
|
className: "str-chat__form__input-field__value",
|
|
15552
15550
|
error: !!error,
|
|
15553
15551
|
id: option.id,
|
|
15554
|
-
leading: draggable ? /* @__PURE__ */ jsx(
|
|
15552
|
+
leading: draggable ? /* @__PURE__ */ jsx(IconReorder, { className: "str-chat__drag-handle" }) : void 0,
|
|
15555
15553
|
message: error ? /* @__PURE__ */ jsx("span", { "data-testid": "poll-option-input-field-error", children: knownValidationErrors[error] ?? t("Error") }) : void 0,
|
|
15556
15554
|
onBlur: () => {
|
|
15557
15555
|
pollComposer.handleFieldBlur("options");
|
|
@@ -15590,7 +15588,7 @@ const RemoveOptionButton = ({ className, ...props }) => /* @__PURE__ */ jsx(
|
|
|
15590
15588
|
size: "sm",
|
|
15591
15589
|
variant: "secondary",
|
|
15592
15590
|
...props,
|
|
15593
|
-
children: /* @__PURE__ */ jsx(
|
|
15591
|
+
children: /* @__PURE__ */ jsx(IconMinusCircle, {})
|
|
15594
15592
|
}
|
|
15595
15593
|
);
|
|
15596
15594
|
const PollCreationDialogControls = ({
|
|
@@ -15626,7 +15624,7 @@ const PollCreationDialogControls = ({
|
|
|
15626
15624
|
},
|
|
15627
15625
|
type: "submit",
|
|
15628
15626
|
children: [
|
|
15629
|
-
/* @__PURE__ */ jsx(
|
|
15627
|
+
/* @__PURE__ */ jsx(IconSend, {}),
|
|
15630
15628
|
t("Send poll")
|
|
15631
15629
|
]
|
|
15632
15630
|
}
|
|
@@ -15708,12 +15706,12 @@ const AttachmentSelectorContextProvider = ({
|
|
|
15708
15706
|
}) => /* @__PURE__ */ jsx(AttachmentSelectorContext.Provider, { value, children });
|
|
15709
15707
|
const useAttachmentSelectorContext = () => useContext(AttachmentSelectorContext);
|
|
15710
15708
|
const icons = {
|
|
15711
|
-
ban:
|
|
15712
|
-
flag:
|
|
15709
|
+
ban: IconUserRemove,
|
|
15710
|
+
flag: IconFlag,
|
|
15713
15711
|
giphy: IconGiphy,
|
|
15714
15712
|
mute: IconMute,
|
|
15715
|
-
unban:
|
|
15716
|
-
unmute:
|
|
15713
|
+
unban: IconUserAdd,
|
|
15714
|
+
unmute: IconAudio
|
|
15717
15715
|
};
|
|
15718
15716
|
const CommandsMenuClassName = "str-chat__context-menu--commands";
|
|
15719
15717
|
const CommandsSubmenuHeader = () => {
|
|
@@ -15805,7 +15803,7 @@ const AttachmentSelectorMenuInitButtonIcon = ({ className }) => {
|
|
|
15805
15803
|
return /* @__PURE__ */ jsx("span", { className, children: /* @__PURE__ */ jsx(AttachmentSelectorInitiationButtonContents, {}) });
|
|
15806
15804
|
}
|
|
15807
15805
|
return /* @__PURE__ */ jsx(
|
|
15808
|
-
|
|
15806
|
+
IconPlus,
|
|
15809
15807
|
{
|
|
15810
15808
|
className: clsx("str-chat__attachment-selector__menu-button__icon", className)
|
|
15811
15809
|
}
|
|
@@ -15868,7 +15866,7 @@ const DefaultAttachmentSelectorComponents = {
|
|
|
15868
15866
|
{
|
|
15869
15867
|
className: "str-chat__attachment-selector-actions-menu__button str-chat__attachment-selector-actions-menu__create-poll-button",
|
|
15870
15868
|
hasSubMenu: hasSubmenu,
|
|
15871
|
-
Icon:
|
|
15869
|
+
Icon: IconCommand,
|
|
15872
15870
|
onClick: () => {
|
|
15873
15871
|
if (!hasSubmenu) return;
|
|
15874
15872
|
openSubmenu({
|
|
@@ -15889,7 +15887,7 @@ const DefaultAttachmentSelectorComponents = {
|
|
|
15889
15887
|
ContextMenuButton,
|
|
15890
15888
|
{
|
|
15891
15889
|
className: "str-chat__attachment-selector-actions-menu__button str-chat__attachment-selector-actions-menu__upload-file-button",
|
|
15892
|
-
Icon:
|
|
15890
|
+
Icon: IconAttachment,
|
|
15893
15891
|
onClick: () => {
|
|
15894
15892
|
fileInput?.click();
|
|
15895
15893
|
closeMenu();
|
|
@@ -15905,7 +15903,7 @@ const DefaultAttachmentSelectorComponents = {
|
|
|
15905
15903
|
ContextMenuButton,
|
|
15906
15904
|
{
|
|
15907
15905
|
className: "str-chat__attachment-selector-actions-menu__button str-chat__attachment-selector-actions-menu__add-location-button",
|
|
15908
|
-
Icon:
|
|
15906
|
+
Icon: IconLocation,
|
|
15909
15907
|
onClick: () => {
|
|
15910
15908
|
openModalForAction("addLocation");
|
|
15911
15909
|
closeMenu();
|
|
@@ -15921,7 +15919,7 @@ const DefaultAttachmentSelectorComponents = {
|
|
|
15921
15919
|
ContextMenuButton,
|
|
15922
15920
|
{
|
|
15923
15921
|
className: "str-chat__attachment-selector-actions-menu__button str-chat__attachment-selector-actions-menu__create-poll-button",
|
|
15924
|
-
Icon:
|
|
15922
|
+
Icon: IconPoll,
|
|
15925
15923
|
onClick: () => {
|
|
15926
15924
|
openModalForAction("createPoll");
|
|
15927
15925
|
closeMenu();
|
|
@@ -16254,7 +16252,7 @@ const FileAttachmentPreview = ({
|
|
|
16254
16252
|
uploadState === "uploading" && /* @__PURE__ */ jsx(LoadingIndicatorIcon, {}),
|
|
16255
16253
|
!hasError && /* @__PURE__ */ jsx(FileSizeIndicator, { fileSize: attachment.file_size }),
|
|
16256
16254
|
hasFatalError && /* @__PURE__ */ jsxs("div", { className: "str-chat__attachment-preview-file__fatal-error", children: [
|
|
16257
|
-
/* @__PURE__ */ jsx(
|
|
16255
|
+
/* @__PURE__ */ jsx(IconExclamationMark, {}),
|
|
16258
16256
|
/* @__PURE__ */ jsx("span", { children: hasSizeLimitError ? t("File too large") : uploadState === "blocked" ? t("Upload blocked") : t("Upload failed") })
|
|
16259
16257
|
] }),
|
|
16260
16258
|
hasRetriableError && /* @__PURE__ */ jsxs("div", { className: "str-chat__attachment-preview-file__retriable-error", children: [
|
|
@@ -16810,7 +16808,7 @@ const AudioAttachmentPreview = ({
|
|
|
16810
16808
|
}
|
|
16811
16809
|
)
|
|
16812
16810
|
] }) : hasFatalError ? /* @__PURE__ */ jsxs("div", { className: "str-chat__attachment-preview-file__fatal-error", children: [
|
|
16813
|
-
/* @__PURE__ */ jsx(
|
|
16811
|
+
/* @__PURE__ */ jsx(IconExclamationMark, {}),
|
|
16814
16812
|
/* @__PURE__ */ jsx("span", { children: hasSizeLimitError ? t("File too large") : uploadState === "blocked" ? t("Upload blocked") : t("Upload failed") })
|
|
16815
16813
|
] }) : /* @__PURE__ */ jsxs("div", { className: "str-chat__attachment-preview-file__retriable-error", children: [
|
|
16816
16814
|
/* @__PURE__ */ jsx(IconExclamationTriangle, {}),
|
|
@@ -16909,10 +16907,10 @@ const MediaAttachmentPreview = ({
|
|
|
16909
16907
|
/* @__PURE__ */ jsxs("div", { className: clsx("str-chat__attachment-preview-media__overlay"), children: [
|
|
16910
16908
|
isUploading && /* @__PURE__ */ jsx(LoadingIndicator2, {}),
|
|
16911
16909
|
isVideoAttachment(attachment) && !hasUploadError && uploadState !== "uploading" && /* @__PURE__ */ jsxs("div", { className: "str-chat__attachment-preview-media__video-indicator", children: [
|
|
16912
|
-
/* @__PURE__ */ jsx(
|
|
16910
|
+
/* @__PURE__ */ jsx(IconVideoFill, {}),
|
|
16913
16911
|
attachment.duration && /* @__PURE__ */ jsx("div", { children: attachment.duration })
|
|
16914
16912
|
] }),
|
|
16915
|
-
hasFatalError && /* @__PURE__ */ jsx(
|
|
16913
|
+
hasFatalError && /* @__PURE__ */ jsx(IconExclamationMark, {}),
|
|
16916
16914
|
hasRetriableError && /* @__PURE__ */ jsx(
|
|
16917
16915
|
Button,
|
|
16918
16916
|
{
|
|
@@ -16924,7 +16922,7 @@ const MediaAttachmentPreview = ({
|
|
|
16924
16922
|
onClick: retry,
|
|
16925
16923
|
size: "sm",
|
|
16926
16924
|
variant: "danger",
|
|
16927
|
-
children: /* @__PURE__ */ jsx(
|
|
16925
|
+
children: /* @__PURE__ */ jsx(IconRetry, {})
|
|
16928
16926
|
}
|
|
16929
16927
|
)
|
|
16930
16928
|
] })
|
|
@@ -16995,7 +16993,7 @@ const GalleryHeader = ({ currentItem }) => {
|
|
|
16995
16993
|
className: "str-chat__gallery__action-button str-chat__gallery__action-button--close",
|
|
16996
16994
|
onClick: modalContext.close,
|
|
16997
16995
|
title: t("Close"),
|
|
16998
|
-
children: /* @__PURE__ */ jsx(
|
|
16996
|
+
children: /* @__PURE__ */ jsx(IconXmark, {})
|
|
16999
16997
|
}
|
|
17000
16998
|
) : null
|
|
17001
16999
|
] })
|
|
@@ -17042,9 +17040,9 @@ const VideoThumbnail = ({
|
|
|
17042
17040
|
onClick: onPlay,
|
|
17043
17041
|
size: "lg",
|
|
17044
17042
|
variant: "secondary",
|
|
17045
|
-
children: /* @__PURE__ */ jsx(
|
|
17043
|
+
children: /* @__PURE__ */ jsx(IconPlayFill, {})
|
|
17046
17044
|
}
|
|
17047
|
-
) : /* @__PURE__ */ jsx("div", { className: "str-chat__message-attachment__video-thumbnail__play-indicator", children: /* @__PURE__ */ jsx(
|
|
17045
|
+
) : /* @__PURE__ */ jsx("div", { className: "str-chat__message-attachment__video-thumbnail__play-indicator", children: /* @__PURE__ */ jsx(IconPlayFill, {}) })
|
|
17048
17046
|
] });
|
|
17049
17047
|
};
|
|
17050
17048
|
const SWIPE_THRESHOLD = 50;
|
|
@@ -17468,7 +17466,7 @@ const CommandChip = ({ command }) => {
|
|
|
17468
17466
|
textComposer.setCommand(null);
|
|
17469
17467
|
textareaRef.current?.focus();
|
|
17470
17468
|
},
|
|
17471
|
-
children: /* @__PURE__ */ jsx(
|
|
17469
|
+
children: /* @__PURE__ */ jsx(IconXmark, {})
|
|
17472
17470
|
}
|
|
17473
17471
|
)
|
|
17474
17472
|
] });
|
|
@@ -17533,7 +17531,7 @@ const LinkPreviewCard = ({ linkPreview }) => {
|
|
|
17533
17531
|
/* @__PURE__ */ jsx("div", { className: "str-chat__link-preview-card__content-title", children: linkPreview.title }),
|
|
17534
17532
|
/* @__PURE__ */ jsx("div", { className: "str-chat__link-preview-card__content-description", children: linkPreview.text }),
|
|
17535
17533
|
/* @__PURE__ */ jsxs("div", { className: "str-chat__link-preview-card__content__url", children: [
|
|
17536
|
-
/* @__PURE__ */ jsx(
|
|
17534
|
+
/* @__PURE__ */ jsx(IconLink, {}),
|
|
17537
17535
|
/* @__PURE__ */ jsx("span", { children: linkPreview.og_scrape_url })
|
|
17538
17536
|
] })
|
|
17539
17537
|
] }),
|
|
@@ -17611,7 +17609,7 @@ const AudioRecordingPlayback = ({
|
|
|
17611
17609
|
onClick: audioPlayer.togglePlay,
|
|
17612
17610
|
size: "sm",
|
|
17613
17611
|
variant: "secondary",
|
|
17614
|
-
children: isPlaying ? /* @__PURE__ */ jsx(
|
|
17612
|
+
children: isPlaying ? /* @__PURE__ */ jsx(IconPauseFill, {}) : /* @__PURE__ */ jsx(IconPlayFill, {})
|
|
17615
17613
|
}
|
|
17616
17614
|
),
|
|
17617
17615
|
/* @__PURE__ */ jsx(
|
|
@@ -17729,7 +17727,7 @@ const AudioRecordingPreview = () => {
|
|
|
17729
17727
|
};
|
|
17730
17728
|
}, [recorder, startCounter, stopCounter]);
|
|
17731
17729
|
return /* @__PURE__ */ jsxs("div", { className: "str-chat__audio-recorder__recording-preview", children: [
|
|
17732
|
-
/* @__PURE__ */ jsx(
|
|
17730
|
+
/* @__PURE__ */ jsx(IconVoice, {}),
|
|
17733
17731
|
/* @__PURE__ */ jsx(RecordingTimer, { durationSeconds: secondsElapsed }),
|
|
17734
17732
|
/* @__PURE__ */ jsx(AudioRecordingWaveform, {})
|
|
17735
17733
|
] });
|
|
@@ -17749,7 +17747,7 @@ const ToggleRecordingButton = () => {
|
|
|
17749
17747
|
onClick: () => isRecording(recordingState) ? recorder?.pause() : recorder?.resume(),
|
|
17750
17748
|
size: "sm",
|
|
17751
17749
|
variant: "secondary",
|
|
17752
|
-
children: isRecording(recordingState) ? /* @__PURE__ */ jsx(
|
|
17750
|
+
children: isRecording(recordingState) ? /* @__PURE__ */ jsx(IconPauseFill, {}) : /* @__PURE__ */ jsx(IconVoice, {})
|
|
17753
17751
|
}
|
|
17754
17752
|
);
|
|
17755
17753
|
};
|
|
@@ -17784,7 +17782,7 @@ const AudioRecorderRecordingControls = () => {
|
|
|
17784
17782
|
},
|
|
17785
17783
|
size: "sm",
|
|
17786
17784
|
variant: "secondary",
|
|
17787
|
-
children: /* @__PURE__ */ jsx(
|
|
17785
|
+
children: /* @__PURE__ */ jsx(IconDelete, {})
|
|
17788
17786
|
}
|
|
17789
17787
|
),
|
|
17790
17788
|
/* @__PURE__ */ jsx(ToggleRecordingButton, {}),
|
|
@@ -17881,7 +17879,7 @@ const DefaultStartRecordingAudioButton = forwardRef(function StartRecordingAudio
|
|
|
17881
17879
|
variant: "secondary",
|
|
17882
17880
|
...props,
|
|
17883
17881
|
ref,
|
|
17884
|
-
children: /* @__PURE__ */ jsx(
|
|
17882
|
+
children: /* @__PURE__ */ jsx(IconVoice, {})
|
|
17885
17883
|
}
|
|
17886
17884
|
);
|
|
17887
17885
|
});
|
|
@@ -17922,7 +17920,7 @@ const SendToChannelCheckbox = () => {
|
|
|
17922
17920
|
type: "checkbox"
|
|
17923
17921
|
}
|
|
17924
17922
|
),
|
|
17925
|
-
/* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "str-chat__send-to-channel-checkbox__visual", children: /* @__PURE__ */ jsx("span", { className: "str-chat__send-to-channel-checkbox__checkmark", children: /* @__PURE__ */ jsx(
|
|
17923
|
+
/* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "str-chat__send-to-channel-checkbox__visual", children: /* @__PURE__ */ jsx("span", { className: "str-chat__send-to-channel-checkbox__checkmark", children: /* @__PURE__ */ jsx(IconCheckmark, {}) }) }),
|
|
17926
17924
|
/* @__PURE__ */ jsx("span", { className: "str-chat__send-to-channel-checkbox__label", children: labelText })
|
|
17927
17925
|
]
|
|
17928
17926
|
}
|
|
@@ -18582,7 +18580,7 @@ const FileDragAndDropContent = ({
|
|
|
18582
18580
|
}) => {
|
|
18583
18581
|
const { t } = useTranslationContext();
|
|
18584
18582
|
return /* @__PURE__ */ jsx("div", { className: "str-chat__dropzone-container__content", children: isDragRejected ? /* @__PURE__ */ jsx("p", { children: t("Some of the files will not be accepted") }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
18585
|
-
/* @__PURE__ */ jsx(
|
|
18583
|
+
/* @__PURE__ */ jsx(IconUpload, {}),
|
|
18586
18584
|
/* @__PURE__ */ jsx("p", { children: t("Drag your files here") })
|
|
18587
18585
|
] }) });
|
|
18588
18586
|
};
|
|
@@ -18618,7 +18616,7 @@ const SendButton = ({ children, sendMessage, ...rest }) => {
|
|
|
18618
18616
|
size: "sm",
|
|
18619
18617
|
variant: "primary",
|
|
18620
18618
|
...rest,
|
|
18621
|
-
children: children ?? /* @__PURE__ */ jsx(
|
|
18619
|
+
children: children ?? /* @__PURE__ */ jsx(IconSend, {})
|
|
18622
18620
|
}
|
|
18623
18621
|
);
|
|
18624
18622
|
};
|
|
@@ -18654,7 +18652,7 @@ const MessageComposerActions = () => {
|
|
|
18654
18652
|
const stopGenerating = useCallback(() => channel?.stopAIResponse(), [channel]);
|
|
18655
18653
|
const shouldDisplayStopAIGeneration = [AIStates.Thinking, AIStates.Generating].includes(aiState) && !!StopAIGenerationButton$1;
|
|
18656
18654
|
const recordingEnabled = !!(recordingController.recorder && navigator.mediaDevices);
|
|
18657
|
-
let content = SendButton$1 ? /* @__PURE__ */ jsx(SendButton$1, { sendMessage: handleSubmit }) : /* @__PURE__ */ jsx(SendButton, { sendMessage: handleSubmit, children: editedMessage || command ? /* @__PURE__ */ jsx(
|
|
18655
|
+
let content = SendButton$1 ? /* @__PURE__ */ jsx(SendButton$1, { sendMessage: handleSubmit }) : /* @__PURE__ */ jsx(SendButton, { sendMessage: handleSubmit, children: editedMessage || command ? /* @__PURE__ */ jsx(IconCheckmark, {}) : /* @__PURE__ */ jsx(IconSend, {}) });
|
|
18658
18656
|
if (shouldDisplayStopAIGeneration) {
|
|
18659
18657
|
content = /* @__PURE__ */ jsx(StopAIGenerationButton$1, { onClick: stopGenerating });
|
|
18660
18658
|
} else if (hideSendButton) return null;
|
|
@@ -18670,7 +18668,7 @@ const AdditionalMessageComposerActions = () => {
|
|
|
18670
18668
|
const isCooldownActive = useIsCooldownActive();
|
|
18671
18669
|
return /* @__PURE__ */ jsx("div", { className: "str-chat__message-composer__additional-actions", children: !isCooldownActive && EmojiPicker ? /* @__PURE__ */ jsx(EmojiPicker, {}) : null });
|
|
18672
18670
|
};
|
|
18673
|
-
const GeolocationPreviewImage = () => /* @__PURE__ */ jsx("div", { className: "str-chat__location-preview-image", children: /* @__PURE__ */ jsx(
|
|
18671
|
+
const GeolocationPreviewImage = () => /* @__PURE__ */ jsx("div", { className: "str-chat__location-preview-image", children: /* @__PURE__ */ jsx(IconLocation, {}) });
|
|
18674
18672
|
const GeolocationPreview = ({
|
|
18675
18673
|
location,
|
|
18676
18674
|
PreviewImage = GeolocationPreviewImage,
|
|
@@ -19206,7 +19204,7 @@ const useChat = ({
|
|
|
19206
19204
|
};
|
|
19207
19205
|
useEffect(() => {
|
|
19208
19206
|
if (!client) return;
|
|
19209
|
-
const version = "14.0.0-beta.
|
|
19207
|
+
const version = "14.0.0-beta.4";
|
|
19210
19208
|
const userAgent = client.getUserAgent();
|
|
19211
19209
|
if (!userAgent.includes("stream-chat-react")) {
|
|
19212
19210
|
client.setUserAgent(`stream-chat-react-${version}-${userAgent}`);
|
|
@@ -19373,7 +19371,7 @@ const ThreadHeader = (props) => {
|
|
|
19373
19371
|
onClick: closeThread,
|
|
19374
19372
|
size: "md",
|
|
19375
19373
|
variant: "secondary",
|
|
19376
|
-
children: /* @__PURE__ */ jsx(
|
|
19374
|
+
children: /* @__PURE__ */ jsx(IconXmark, {})
|
|
19377
19375
|
}
|
|
19378
19376
|
)
|
|
19379
19377
|
] });
|
|
@@ -19681,7 +19679,7 @@ const ReactionSelector = (props) => {
|
|
|
19681
19679
|
onClick: () => setExtendedListOpen(true),
|
|
19682
19680
|
size: "sm",
|
|
19683
19681
|
variant: "secondary",
|
|
19684
|
-
children: /* @__PURE__ */ jsx(
|
|
19682
|
+
children: /* @__PURE__ */ jsx(IconPlus, {})
|
|
19685
19683
|
}
|
|
19686
19684
|
)
|
|
19687
19685
|
] }),
|
|
@@ -19862,7 +19860,7 @@ const DefaultMessageActionComponents = {
|
|
|
19862
19860
|
"aria-label": t("aria/Open Thread"),
|
|
19863
19861
|
className: msgActionsBoxButtonClassName,
|
|
19864
19862
|
"data-testid": "thread-action",
|
|
19865
|
-
Icon:
|
|
19863
|
+
Icon: IconThread,
|
|
19866
19864
|
onClick: (e) => {
|
|
19867
19865
|
handleOpenThread(e);
|
|
19868
19866
|
closeMenu();
|
|
@@ -19889,7 +19887,7 @@ const DefaultMessageActionComponents = {
|
|
|
19889
19887
|
{
|
|
19890
19888
|
"aria-label": t("aria/Quote Message"),
|
|
19891
19889
|
className: msgActionsBoxButtonClassName,
|
|
19892
|
-
Icon:
|
|
19890
|
+
Icon: IconQuote,
|
|
19893
19891
|
onClick: () => {
|
|
19894
19892
|
handleQuote();
|
|
19895
19893
|
closeMenu();
|
|
@@ -19926,7 +19924,7 @@ const DefaultMessageActionComponents = {
|
|
|
19926
19924
|
{
|
|
19927
19925
|
"aria-label": t("aria/Copy Message Text"),
|
|
19928
19926
|
className: msgActionsBoxButtonClassName,
|
|
19929
|
-
Icon:
|
|
19927
|
+
Icon: IconCopy,
|
|
19930
19928
|
onClick: () => {
|
|
19931
19929
|
if (message.text) navigator.clipboard.writeText(message.text);
|
|
19932
19930
|
closeMenu();
|
|
@@ -19944,7 +19942,7 @@ const DefaultMessageActionComponents = {
|
|
|
19944
19942
|
{
|
|
19945
19943
|
"aria-label": t("aria/Resend Message"),
|
|
19946
19944
|
className: msgActionsBoxButtonClassName,
|
|
19947
|
-
Icon:
|
|
19945
|
+
Icon: IconRetry,
|
|
19948
19946
|
onClick: () => {
|
|
19949
19947
|
handleRetry(message);
|
|
19950
19948
|
closeMenu();
|
|
@@ -19963,7 +19961,7 @@ const DefaultMessageActionComponents = {
|
|
|
19963
19961
|
{
|
|
19964
19962
|
"aria-label": t("aria/Edit Message"),
|
|
19965
19963
|
className: msgActionsBoxButtonClassName,
|
|
19966
|
-
Icon:
|
|
19964
|
+
Icon: IconEdit,
|
|
19967
19965
|
onClick: () => {
|
|
19968
19966
|
messageComposer.initState({ composition: message });
|
|
19969
19967
|
closeMenu();
|
|
@@ -19981,7 +19979,7 @@ const DefaultMessageActionComponents = {
|
|
|
19981
19979
|
{
|
|
19982
19980
|
"aria-label": t("aria/Mark Message Unread"),
|
|
19983
19981
|
className: msgActionsBoxButtonClassName,
|
|
19984
|
-
Icon:
|
|
19982
|
+
Icon: IconNotification,
|
|
19985
19983
|
onClick: (event) => {
|
|
19986
19984
|
handleMarkUnread(event);
|
|
19987
19985
|
closeMenu();
|
|
@@ -20004,7 +20002,7 @@ const DefaultMessageActionComponents = {
|
|
|
20004
20002
|
"aria-label": reminder ? t("aria/Remind Me Message") : t("aria/Remove Reminder"),
|
|
20005
20003
|
className: msgActionsBoxButtonClassName,
|
|
20006
20004
|
hasSubMenu: !reminder,
|
|
20007
|
-
Icon: reminder ? IconBellOff :
|
|
20005
|
+
Icon: reminder ? IconBellOff : IconBell,
|
|
20008
20006
|
onClick: () => {
|
|
20009
20007
|
if (reminder) {
|
|
20010
20008
|
client.reminders.deleteReminder(reminder.id);
|
|
@@ -20033,7 +20031,7 @@ const DefaultMessageActionComponents = {
|
|
|
20033
20031
|
{
|
|
20034
20032
|
"aria-label": reminder ? t("aria/Remove Save For Later") : t("aria/Bookmark Message"),
|
|
20035
20033
|
className: msgActionsBoxButtonClassName,
|
|
20036
|
-
Icon: reminder ?
|
|
20034
|
+
Icon: reminder ? IconUnsave : IconSave,
|
|
20037
20035
|
onClick: () => {
|
|
20038
20036
|
if (reminder) client.reminders.deleteReminder(reminder.id);
|
|
20039
20037
|
else client.reminders.createReminder({ messageId: message.id });
|
|
@@ -20052,7 +20050,7 @@ const DefaultMessageActionComponents = {
|
|
|
20052
20050
|
{
|
|
20053
20051
|
"aria-label": t("aria/Flag Message"),
|
|
20054
20052
|
className: msgActionsBoxButtonClassName,
|
|
20055
|
-
Icon:
|
|
20053
|
+
Icon: IconFlag,
|
|
20056
20054
|
onClick: (event) => {
|
|
20057
20055
|
handleFlag(event);
|
|
20058
20056
|
closeMenu();
|
|
@@ -20072,7 +20070,7 @@ const DefaultMessageActionComponents = {
|
|
|
20072
20070
|
{
|
|
20073
20071
|
"aria-label": isMuted ? t("aria/Unmute User") : t("aria/Mute User"),
|
|
20074
20072
|
className: msgActionsBoxButtonClassName,
|
|
20075
|
-
Icon: isMuted ?
|
|
20073
|
+
Icon: isMuted ? IconAudio : IconMute,
|
|
20076
20074
|
onClick: (event) => {
|
|
20077
20075
|
handleMute(event);
|
|
20078
20076
|
closeMenu();
|
|
@@ -20095,7 +20093,7 @@ const DefaultMessageActionComponents = {
|
|
|
20095
20093
|
{
|
|
20096
20094
|
"aria-label": t("aria/Delete Message"),
|
|
20097
20095
|
className: msgActionsBoxButtonClassName,
|
|
20098
|
-
Icon:
|
|
20096
|
+
Icon: IconDelete,
|
|
20099
20097
|
onClick: () => {
|
|
20100
20098
|
setOpenModal(true);
|
|
20101
20099
|
},
|
|
@@ -20141,7 +20139,7 @@ const DefaultMessageActionComponents = {
|
|
|
20141
20139
|
{
|
|
20142
20140
|
"aria-label": isBlocked ? t("aria/Unblock User") : t("aria/Block User"),
|
|
20143
20141
|
className: clsx(msgActionsBoxButtonClassName),
|
|
20144
|
-
Icon: isBlocked ?
|
|
20142
|
+
Icon: isBlocked ? IconUserCheck : IconNoSign,
|
|
20145
20143
|
onClick: () => {
|
|
20146
20144
|
const targetId = message.user?.id;
|
|
20147
20145
|
if (targetId) {
|
|
@@ -20178,12 +20176,12 @@ const DefaultMessageActionComponents = {
|
|
|
20178
20176
|
dialog?.toggle();
|
|
20179
20177
|
},
|
|
20180
20178
|
ref,
|
|
20181
|
-
children: /* @__PURE__ */ jsx(
|
|
20179
|
+
children: /* @__PURE__ */ jsx(IconMore, { className: "str-chat__message-action-icon" })
|
|
20182
20180
|
}
|
|
20183
20181
|
);
|
|
20184
20182
|
}),
|
|
20185
20183
|
React() {
|
|
20186
|
-
return /* @__PURE__ */ jsx(ReactionSelectorWithButton, { ReactionIcon:
|
|
20184
|
+
return /* @__PURE__ */ jsx(ReactionSelectorWithButton, { ReactionIcon: IconEmoji });
|
|
20187
20185
|
},
|
|
20188
20186
|
Reply() {
|
|
20189
20187
|
const { handleOpenThread } = useMessageContext();
|
|
@@ -20195,7 +20193,7 @@ const DefaultMessageActionComponents = {
|
|
|
20195
20193
|
className: "str-chat__message-reply-in-thread-button",
|
|
20196
20194
|
"data-testid": "thread-action",
|
|
20197
20195
|
onClick: handleOpenThread,
|
|
20198
|
-
children: /* @__PURE__ */ jsx(
|
|
20196
|
+
children: /* @__PURE__ */ jsx(IconReply, { className: "str-chat__message-action-icon" })
|
|
20199
20197
|
}
|
|
20200
20198
|
);
|
|
20201
20199
|
}
|
|
@@ -22003,7 +22001,7 @@ const UnreadMessagesSeparator = ({
|
|
|
22003
22001
|
onClick: () => markRead(),
|
|
22004
22002
|
size: "sm",
|
|
22005
22003
|
variant: "secondary",
|
|
22006
|
-
children: /* @__PURE__ */ jsx(
|
|
22004
|
+
children: /* @__PURE__ */ jsx(IconXmark, {})
|
|
22007
22005
|
}
|
|
22008
22006
|
)
|
|
22009
22007
|
]
|
|
@@ -22223,7 +22221,7 @@ const UnreadMessagesNotification = ({
|
|
|
22223
22221
|
]
|
|
22224
22222
|
}
|
|
22225
22223
|
),
|
|
22226
|
-
/* @__PURE__ */ jsx(Button, { appearance: "outline", onClick: () => markRead(), variant: "secondary", children: /* @__PURE__ */ jsx(
|
|
22224
|
+
/* @__PURE__ */ jsx(Button, { appearance: "outline", onClick: () => markRead(), variant: "secondary", children: /* @__PURE__ */ jsx(IconXmark, {}) })
|
|
22227
22225
|
]
|
|
22228
22226
|
}
|
|
22229
22227
|
);
|
|
@@ -24596,7 +24594,7 @@ const SearchBar = () => {
|
|
|
24596
24594
|
"str-chat__search-bar__input-wrapper--active": isActive
|
|
24597
24595
|
}),
|
|
24598
24596
|
children: [
|
|
24599
|
-
/* @__PURE__ */ jsx(
|
|
24597
|
+
/* @__PURE__ */ jsx(IconSearch, {}),
|
|
24600
24598
|
/* @__PURE__ */ jsx(
|
|
24601
24599
|
"input",
|
|
24602
24600
|
{
|
|
@@ -24640,7 +24638,7 @@ const SearchBar = () => {
|
|
|
24640
24638
|
ref: clearButtonRef,
|
|
24641
24639
|
size: "xs",
|
|
24642
24640
|
variant: "secondary",
|
|
24643
|
-
children: /* @__PURE__ */ jsx(
|
|
24641
|
+
children: /* @__PURE__ */ jsx(IconXCircle, {})
|
|
24644
24642
|
}
|
|
24645
24643
|
)
|
|
24646
24644
|
]
|
|
@@ -25665,7 +25663,7 @@ const defaultChannelActionSet = [
|
|
|
25665
25663
|
ref,
|
|
25666
25664
|
size: "sm",
|
|
25667
25665
|
variant: "secondary",
|
|
25668
|
-
children: /* @__PURE__ */ jsx(
|
|
25666
|
+
children: /* @__PURE__ */ jsx(IconMore, {})
|
|
25669
25667
|
}
|
|
25670
25668
|
);
|
|
25671
25669
|
}),
|
|
@@ -25758,7 +25756,7 @@ const defaultChannelActionSet = [
|
|
|
25758
25756
|
{
|
|
25759
25757
|
"aria-label": title,
|
|
25760
25758
|
disabled: inProgress,
|
|
25761
|
-
Icon:
|
|
25759
|
+
Icon: IconNoSign,
|
|
25762
25760
|
onClick: async () => {
|
|
25763
25761
|
try {
|
|
25764
25762
|
setInProgress(true);
|
|
@@ -25864,7 +25862,7 @@ const defaultChannelActionSet = [
|
|
|
25864
25862
|
{
|
|
25865
25863
|
"aria-label": title,
|
|
25866
25864
|
disabled: inProgress,
|
|
25867
|
-
Icon:
|
|
25865
|
+
Icon: IconLeave,
|
|
25868
25866
|
onClick: async (e) => {
|
|
25869
25867
|
e.stopPropagation();
|
|
25870
25868
|
try {
|
|
@@ -26123,21 +26121,21 @@ const useLatestMessagePreview = ({
|
|
|
26123
26121
|
]);
|
|
26124
26122
|
};
|
|
26125
26123
|
const deliveryStatusIconMap = {
|
|
26126
|
-
delivered:
|
|
26127
|
-
read:
|
|
26124
|
+
delivered: IconChecks,
|
|
26125
|
+
read: IconChecks,
|
|
26128
26126
|
sending: IconClock,
|
|
26129
26127
|
sent: IconCheckmark1Small
|
|
26130
26128
|
};
|
|
26131
26129
|
const contentTypeIconMap = {
|
|
26132
|
-
deleted:
|
|
26133
|
-
error:
|
|
26134
|
-
file:
|
|
26135
|
-
giphy:
|
|
26136
|
-
image:
|
|
26137
|
-
link:
|
|
26138
|
-
location:
|
|
26130
|
+
deleted: IconNoSign,
|
|
26131
|
+
error: IconExclamationCircleFill,
|
|
26132
|
+
file: IconFile,
|
|
26133
|
+
giphy: IconFile,
|
|
26134
|
+
image: IconCamera,
|
|
26135
|
+
link: IconLink,
|
|
26136
|
+
location: IconLocation,
|
|
26139
26137
|
video: IconVideo,
|
|
26140
|
-
voice:
|
|
26138
|
+
voice: IconVoice
|
|
26141
26139
|
};
|
|
26142
26140
|
const SummarizedMessagePreview = ({
|
|
26143
26141
|
latestMessage,
|
|
@@ -26733,7 +26731,7 @@ const ThreadListItem = ({
|
|
|
26733
26731
|
const ThreadListEmptyPlaceholder = () => {
|
|
26734
26732
|
const { t } = useTranslationContext("ThreadListEmptyPlaceholder");
|
|
26735
26733
|
return /* @__PURE__ */ jsxs("div", { className: "str-chat__thread-list-empty-placeholder", children: [
|
|
26736
|
-
/* @__PURE__ */ jsx(
|
|
26734
|
+
/* @__PURE__ */ jsx(IconMessageBubbles, {}),
|
|
26737
26735
|
/* @__PURE__ */ jsx("p", { children: t("Reply to a message to start a thread") })
|
|
26738
26736
|
] });
|
|
26739
26737
|
};
|
|
@@ -26756,7 +26754,7 @@ const ThreadListUnseenThreadsBanner = () => {
|
|
|
26756
26754
|
onClick: () => client.threads.reload(),
|
|
26757
26755
|
children: [
|
|
26758
26756
|
!isLoading && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
26759
|
-
/* @__PURE__ */ jsx(
|
|
26757
|
+
/* @__PURE__ */ jsx(IconRefresh, {}),
|
|
26760
26758
|
/* @__PURE__ */ jsx("span", { children: t("ThreadListUnseenThreadsBanner/unreadThreads", {
|
|
26761
26759
|
count: unseenThreadIds.length
|
|
26762
26760
|
}) })
|
|
@@ -26911,11 +26909,11 @@ const ThreadList = ({ virtuosoProps }) => {
|
|
|
26911
26909
|
);
|
|
26912
26910
|
};
|
|
26913
26911
|
const IconsBySeverity = {
|
|
26914
|
-
error:
|
|
26912
|
+
error: IconExclamationMark,
|
|
26915
26913
|
info: null,
|
|
26916
|
-
//
|
|
26917
|
-
loading:
|
|
26918
|
-
success:
|
|
26914
|
+
// IconInfo,
|
|
26915
|
+
loading: IconRefresh,
|
|
26916
|
+
success: IconCheckmark,
|
|
26919
26917
|
warning: IconExclamationTriangle
|
|
26920
26918
|
};
|
|
26921
26919
|
const DefaultNotificationIcon = ({ notification }) => {
|
|
@@ -26994,7 +26992,7 @@ const Notification = forwardRef(
|
|
|
26994
26992
|
onClick: handleDismiss,
|
|
26995
26993
|
size: "sm",
|
|
26996
26994
|
variant: "secondary",
|
|
26997
|
-
children: /* @__PURE__ */ jsx(
|
|
26995
|
+
children: /* @__PURE__ */ jsx(IconXmark, {})
|
|
26998
26996
|
}
|
|
26999
26997
|
)
|
|
27000
26998
|
]
|
|
@@ -27556,7 +27554,7 @@ const ThumbnailButton = ({
|
|
|
27556
27554
|
"aria-hidden": "true",
|
|
27557
27555
|
className: "str-chat__modal-gallery__image-load-failed-overlay",
|
|
27558
27556
|
"data-testid": "str-chat__modal-gallery__image-load-failed-overlay",
|
|
27559
|
-
children: /* @__PURE__ */ jsx("div", { className: "str-chat__modal-gallery__image-retry-indicator", children: /* @__PURE__ */ jsx(
|
|
27557
|
+
children: /* @__PURE__ */ jsx("div", { className: "str-chat__modal-gallery__image-retry-indicator", children: /* @__PURE__ */ jsx(IconRetry, {}) })
|
|
27560
27558
|
}
|
|
27561
27559
|
),
|
|
27562
27560
|
showOverlay && /* @__PURE__ */ jsxs("div", { className: "str-chat__modal-gallery__placeholder", children: [
|
|
@@ -27647,7 +27645,7 @@ const CardContent = (props) => {
|
|
|
27647
27645
|
className: "str-chat__message-attachment-card--source-link",
|
|
27648
27646
|
"data-testid": "card-source-link",
|
|
27649
27647
|
children: [
|
|
27650
|
-
/* @__PURE__ */ jsx(
|
|
27648
|
+
/* @__PURE__ */ jsx(IconLink, {}),
|
|
27651
27649
|
/* @__PURE__ */ jsx("div", { className: "str-chat__message-attachment-card--url", children: url })
|
|
27652
27650
|
]
|
|
27653
27651
|
}
|
|
@@ -27818,7 +27816,7 @@ const DefaultGeolocationAttachmentMapPlaceholder = ({
|
|
|
27818
27816
|
className: "str-chat__message-attachment-geolocation__placeholder",
|
|
27819
27817
|
"data-testid": "geolocation-attachment-map-placeholder",
|
|
27820
27818
|
children: [
|
|
27821
|
-
/* @__PURE__ */ jsx(
|
|
27819
|
+
/* @__PURE__ */ jsx(IconLocation, {}),
|
|
27822
27820
|
/* @__PURE__ */ jsx(
|
|
27823
27821
|
"a",
|
|
27824
27822
|
{
|
|
@@ -28370,12 +28368,12 @@ export {
|
|
|
28370
28368
|
Card,
|
|
28371
28369
|
CardContainer,
|
|
28372
28370
|
bx as Channel,
|
|
28373
|
-
|
|
28374
|
-
|
|
28371
|
+
c5 as ChannelActionContext,
|
|
28372
|
+
c6 as ChannelActionProvider,
|
|
28375
28373
|
ChannelAvatar,
|
|
28376
28374
|
ChannelHeader,
|
|
28377
28375
|
ChannelList,
|
|
28378
|
-
|
|
28376
|
+
c7 as ChannelListContext,
|
|
28379
28377
|
ChannelListContextProvider,
|
|
28380
28378
|
ChannelListItem,
|
|
28381
28379
|
ChannelListItemActionButtons,
|
|
@@ -28383,10 +28381,10 @@ export {
|
|
|
28383
28381
|
ChannelListItemUI,
|
|
28384
28382
|
ChannelListUI,
|
|
28385
28383
|
ChannelSearchResultItem,
|
|
28386
|
-
|
|
28387
|
-
|
|
28384
|
+
c8 as ChannelStateContext,
|
|
28385
|
+
c9 as ChannelStateProvider,
|
|
28388
28386
|
Chat,
|
|
28389
|
-
|
|
28387
|
+
ca as ChatContext,
|
|
28390
28388
|
ChatProvider,
|
|
28391
28389
|
bz as ChatView,
|
|
28392
28390
|
bC as ChatViewChannelsSelectorButton,
|
|
@@ -28398,7 +28396,7 @@ export {
|
|
|
28398
28396
|
CommandChip,
|
|
28399
28397
|
CommandItem,
|
|
28400
28398
|
ComponentContext,
|
|
28401
|
-
|
|
28399
|
+
cb as ComponentProvider,
|
|
28402
28400
|
ConnectionStatus,
|
|
28403
28401
|
ContextMenu,
|
|
28404
28402
|
ContextMenuBackButton,
|
|
@@ -28444,163 +28442,92 @@ export {
|
|
|
28444
28442
|
GlobalModal,
|
|
28445
28443
|
GroupAvatar,
|
|
28446
28444
|
Header$1 as Header,
|
|
28447
|
-
bG as IconApiAggregate,
|
|
28448
|
-
bH as IconApples,
|
|
28449
28445
|
IconArchive,
|
|
28450
|
-
IconArrowBoxLeft,
|
|
28451
28446
|
IconArrowDown,
|
|
28452
28447
|
IconArrowDownCircle,
|
|
28453
28448
|
IconArrowLeft,
|
|
28454
|
-
|
|
28455
|
-
IconArrowRightUp,
|
|
28456
|
-
IconArrowRotateClockwise,
|
|
28457
|
-
IconArrowRotateRightLeftRepeatRefresh,
|
|
28458
|
-
IconArrowShareLeft,
|
|
28449
|
+
bG as IconArrowRight,
|
|
28459
28450
|
IconArrowUp,
|
|
28460
|
-
|
|
28461
|
-
|
|
28462
|
-
|
|
28463
|
-
|
|
28451
|
+
IconArrowUpRight,
|
|
28452
|
+
IconAttachment,
|
|
28453
|
+
IconAudio,
|
|
28454
|
+
IconBell,
|
|
28464
28455
|
IconBellOff,
|
|
28465
|
-
|
|
28466
|
-
|
|
28467
|
-
|
|
28468
|
-
|
|
28469
|
-
bO as IconBubble2Solid,
|
|
28470
|
-
bP as IconBubble3ChatMessage,
|
|
28471
|
-
bQ as IconBubble3Solid,
|
|
28472
|
-
bR as IconBubbleAnnotation2ChatMessage,
|
|
28473
|
-
IconBubbleText6ChatMessage,
|
|
28474
|
-
bT as IconBubbleText6Solid,
|
|
28475
|
-
bS as IconBubbleText6SolidChatMessage,
|
|
28476
|
-
IconBubbleWideNotificationChatMessage,
|
|
28477
|
-
bU as IconBubbleWideSparkleChatMessage,
|
|
28478
|
-
IconBubbles,
|
|
28479
|
-
bV as IconCalendar1,
|
|
28480
|
-
bW as IconCallCancel,
|
|
28481
|
-
IconCamera1,
|
|
28482
|
-
bX as IconCar1,
|
|
28483
|
-
bY as IconCat,
|
|
28484
|
-
IconChainLink,
|
|
28485
|
-
IconChart5,
|
|
28456
|
+
bJ as IconBubble3ChatMessage,
|
|
28457
|
+
bK as IconBubbleText6SolidChatMessage,
|
|
28458
|
+
IconCamera,
|
|
28459
|
+
IconCheckmark,
|
|
28486
28460
|
IconCheckmark1Small,
|
|
28487
|
-
|
|
28488
|
-
bZ as IconCheckmark2Small,
|
|
28461
|
+
IconChecks,
|
|
28489
28462
|
IconChevronDown,
|
|
28490
|
-
b_ as IconChevronGrabberVerticalSelector,
|
|
28491
28463
|
IconChevronLeft,
|
|
28492
28464
|
IconChevronRight,
|
|
28493
|
-
b$ as IconChevronTop,
|
|
28494
|
-
IconCircleBanSign,
|
|
28495
|
-
c0 as IconCircleCheck,
|
|
28496
|
-
c1 as IconCircleInfoTooltip,
|
|
28497
|
-
IconCircleMinus,
|
|
28498
|
-
c2 as IconCircleQuestionmark,
|
|
28499
|
-
c3 as IconCircleQuestionmarkFilled,
|
|
28500
|
-
IconCircleX,
|
|
28501
28465
|
IconClock,
|
|
28502
|
-
|
|
28503
|
-
|
|
28504
|
-
c5 as IconCode,
|
|
28505
|
-
c6 as IconCodeBrackets,
|
|
28506
|
-
c7 as IconCodeEditorInsert,
|
|
28507
|
-
c8 as IconCompass,
|
|
28508
|
-
c9 as IconCreditCard2Billing,
|
|
28509
|
-
IconCrossMedium,
|
|
28466
|
+
IconCommand,
|
|
28467
|
+
IconCopy,
|
|
28510
28468
|
IconCrossSmall,
|
|
28511
|
-
|
|
28512
|
-
|
|
28513
|
-
|
|
28514
|
-
|
|
28515
|
-
|
|
28516
|
-
|
|
28517
|
-
cc as IconEmojiAddReaction,
|
|
28518
|
-
cd as IconEmojiSad,
|
|
28519
|
-
IconEmojiSmile,
|
|
28520
|
-
IconExclamation,
|
|
28521
|
-
IconExclamationCircle,
|
|
28522
|
-
IconExclamationCircle1,
|
|
28469
|
+
IconDelete,
|
|
28470
|
+
IconEdit,
|
|
28471
|
+
IconEmoji,
|
|
28472
|
+
IconExclamationCircleFill,
|
|
28473
|
+
IconExclamationMark,
|
|
28474
|
+
IconExclamationMarkFill,
|
|
28523
28475
|
IconExclamationTriangle,
|
|
28524
|
-
ce as IconExclamationTriangle1,
|
|
28525
28476
|
IconEyeOpen,
|
|
28526
|
-
|
|
28527
|
-
|
|
28528
|
-
cf as IconFilledCircleInfoTooltip,
|
|
28529
|
-
cg as IconFilter1,
|
|
28530
|
-
IconFlag2,
|
|
28531
|
-
ch as IconGauge,
|
|
28477
|
+
IconFile,
|
|
28478
|
+
IconFlag,
|
|
28532
28479
|
IconGiphy,
|
|
28533
|
-
|
|
28534
|
-
|
|
28535
|
-
ck as IconHeart2,
|
|
28536
|
-
cl as IconHistory,
|
|
28537
|
-
IconImages1Alt,
|
|
28538
|
-
cm as IconInvite,
|
|
28539
|
-
cn as IconLayersBehind,
|
|
28480
|
+
IconImage,
|
|
28481
|
+
bM as IconInfo,
|
|
28540
28482
|
IconLayoutAlignLeft,
|
|
28541
|
-
|
|
28542
|
-
|
|
28543
|
-
|
|
28544
|
-
|
|
28545
|
-
|
|
28546
|
-
|
|
28547
|
-
|
|
28548
|
-
|
|
28549
|
-
|
|
28550
|
-
|
|
28551
|
-
|
|
28552
|
-
|
|
28483
|
+
IconLeave,
|
|
28484
|
+
bN as IconLightBulbSimple,
|
|
28485
|
+
IconLink,
|
|
28486
|
+
IconLoading,
|
|
28487
|
+
IconLocation,
|
|
28488
|
+
bH as IconMessageBubble,
|
|
28489
|
+
bI as IconMessageBubbleFill,
|
|
28490
|
+
IconMessageBubbles,
|
|
28491
|
+
bP as IconMinus,
|
|
28492
|
+
IconMinusCircle,
|
|
28493
|
+
bQ as IconMinusSmall,
|
|
28494
|
+
IconMore,
|
|
28553
28495
|
IconMute,
|
|
28554
|
-
|
|
28555
|
-
|
|
28556
|
-
|
|
28557
|
-
cy as IconPaperPlaneTopRight,
|
|
28558
|
-
IconPaperclip,
|
|
28559
|
-
cz as IconParagraphsText,
|
|
28560
|
-
IconPause,
|
|
28561
|
-
cA as IconPencil,
|
|
28562
|
-
IconPeople,
|
|
28563
|
-
cB as IconPeople2,
|
|
28564
|
-
IconPeopleAdd,
|
|
28565
|
-
IconPeopleAdded,
|
|
28566
|
-
cC as IconPeopleCircle,
|
|
28567
|
-
cD as IconPeopleCopy,
|
|
28568
|
-
cE as IconPeopleEditUserRights,
|
|
28569
|
-
IconPeopleRemove,
|
|
28570
|
-
cF as IconPersona,
|
|
28496
|
+
IconNoSign,
|
|
28497
|
+
IconNotification,
|
|
28498
|
+
IconPauseFill,
|
|
28571
28499
|
IconPin,
|
|
28572
|
-
|
|
28573
|
-
|
|
28500
|
+
IconPlayFill,
|
|
28501
|
+
IconPlus,
|
|
28574
28502
|
IconPlusSmall,
|
|
28575
|
-
|
|
28576
|
-
|
|
28577
|
-
|
|
28578
|
-
|
|
28579
|
-
|
|
28580
|
-
|
|
28581
|
-
|
|
28582
|
-
|
|
28583
|
-
|
|
28584
|
-
|
|
28585
|
-
|
|
28586
|
-
|
|
28587
|
-
cQ as IconTeam,
|
|
28588
|
-
cR as IconTennis,
|
|
28589
|
-
cS as IconTextToImageURLEnrichment,
|
|
28503
|
+
IconPoll,
|
|
28504
|
+
IconQuote,
|
|
28505
|
+
IconRefresh,
|
|
28506
|
+
IconReorder,
|
|
28507
|
+
IconReply,
|
|
28508
|
+
IconRetry,
|
|
28509
|
+
IconSave,
|
|
28510
|
+
IconSearch,
|
|
28511
|
+
IconSend,
|
|
28512
|
+
bR as IconSettingsGear2,
|
|
28513
|
+
IconThread,
|
|
28514
|
+
bL as IconThreadFill,
|
|
28590
28515
|
IconThunder,
|
|
28591
28516
|
IconTranslate,
|
|
28592
|
-
IconTrashBin,
|
|
28593
|
-
cT as IconTrending4,
|
|
28594
28517
|
IconTrophy,
|
|
28595
|
-
cU as IconUnlocked,
|
|
28596
28518
|
IconUnpin,
|
|
28597
|
-
|
|
28519
|
+
IconUnsave,
|
|
28520
|
+
IconUpload,
|
|
28521
|
+
IconUser,
|
|
28522
|
+
IconUserAdd,
|
|
28523
|
+
IconUserCheck,
|
|
28524
|
+
IconUserRemove,
|
|
28598
28525
|
IconVideo,
|
|
28599
|
-
|
|
28600
|
-
|
|
28601
|
-
|
|
28602
|
-
|
|
28603
|
-
|
|
28526
|
+
IconVideoFill,
|
|
28527
|
+
IconVoice,
|
|
28528
|
+
bO as IconVoiceFill,
|
|
28529
|
+
IconXCircle,
|
|
28530
|
+
IconXmark,
|
|
28604
28531
|
ImageComponent,
|
|
28605
28532
|
ImageContainer,
|
|
28606
28533
|
ImagePlaceholder,
|
|
@@ -28609,9 +28536,9 @@ export {
|
|
|
28609
28536
|
LinkPreviewList,
|
|
28610
28537
|
LoadMoreButton,
|
|
28611
28538
|
LoadMorePaginator,
|
|
28612
|
-
|
|
28539
|
+
bS as LoadingChannel,
|
|
28613
28540
|
LoadingChannels,
|
|
28614
|
-
|
|
28541
|
+
bT as LoadingErrorIndicator,
|
|
28615
28542
|
LoadingIndicator,
|
|
28616
28543
|
LoadingIndicatorIcon,
|
|
28617
28544
|
MAX_MESSAGE_REACTIONS_TO_FETCH,
|
|
@@ -28626,7 +28553,7 @@ export {
|
|
|
28626
28553
|
MessageBouncePrompt,
|
|
28627
28554
|
MessageBounceProvider,
|
|
28628
28555
|
MessageComposer,
|
|
28629
|
-
|
|
28556
|
+
cc as MessageComposerContext,
|
|
28630
28557
|
MessageComposerContextProvider,
|
|
28631
28558
|
MessageComposerUI,
|
|
28632
28559
|
MessageContext,
|
|
@@ -28659,7 +28586,7 @@ export {
|
|
|
28659
28586
|
NotificationList,
|
|
28660
28587
|
NotificationTranslationTopic,
|
|
28661
28588
|
NumericInput,
|
|
28662
|
-
|
|
28589
|
+
bU as OPTIONAL_MESSAGE_ACTIONS,
|
|
28663
28590
|
OtherFilesContainer,
|
|
28664
28591
|
PauseIcon,
|
|
28665
28592
|
PinIndicator,
|
|
@@ -28726,22 +28653,22 @@ export {
|
|
|
28726
28653
|
TextInputFieldSet,
|
|
28727
28654
|
TextareaComposer,
|
|
28728
28655
|
Thread,
|
|
28729
|
-
|
|
28656
|
+
c3 as ThreadContext,
|
|
28730
28657
|
ThreadHeader,
|
|
28731
28658
|
ThreadList,
|
|
28732
28659
|
ThreadListItem,
|
|
28733
28660
|
ThreadListItemUI,
|
|
28734
|
-
|
|
28661
|
+
c4 as ThreadProvider,
|
|
28735
28662
|
ThreadStart,
|
|
28736
28663
|
Tooltip,
|
|
28737
28664
|
TranslationBuilder,
|
|
28738
|
-
|
|
28665
|
+
cd as TranslationContext,
|
|
28739
28666
|
TranslationProvider,
|
|
28740
28667
|
TranslationTopic,
|
|
28741
|
-
|
|
28668
|
+
ce as TypingContext,
|
|
28742
28669
|
TypingIndicator,
|
|
28743
28670
|
TypingIndicatorHeader,
|
|
28744
|
-
|
|
28671
|
+
cf as TypingProvider,
|
|
28745
28672
|
UNREAD_MESSAGE_SEPARATOR_CLASS,
|
|
28746
28673
|
UnMemoizedLoadMorePaginator,
|
|
28747
28674
|
UnreadMessagesNotification,
|
|
@@ -28799,21 +28726,21 @@ export {
|
|
|
28799
28726
|
getCssDimensionsVariables,
|
|
28800
28727
|
getGroupChannelDisplayInfo,
|
|
28801
28728
|
getGroupStyles,
|
|
28802
|
-
|
|
28729
|
+
bV as getImages,
|
|
28803
28730
|
getIsFirstUnreadMessage,
|
|
28804
28731
|
getLastReceived,
|
|
28805
28732
|
getLatestMessagePreview,
|
|
28806
28733
|
getMessageActions,
|
|
28807
|
-
|
|
28808
|
-
|
|
28809
|
-
|
|
28734
|
+
bW as getNonImageAttachments,
|
|
28735
|
+
c0 as getNotificationTargetPanel,
|
|
28736
|
+
c1 as getNotificationTargetTag,
|
|
28810
28737
|
getReadByTooltipText,
|
|
28811
28738
|
getTextareaCaretRect,
|
|
28812
28739
|
getTranslatedMessageText,
|
|
28813
28740
|
getWholeChar,
|
|
28814
28741
|
handleActionWarning,
|
|
28815
|
-
|
|
28816
|
-
|
|
28742
|
+
bZ as hasMoreMessagesProbably,
|
|
28743
|
+
b_ as hasNotMoreMessages,
|
|
28817
28744
|
hiTranslations,
|
|
28818
28745
|
htmlToTextPlugin,
|
|
28819
28746
|
imageToLink,
|
|
@@ -28823,7 +28750,7 @@ export {
|
|
|
28823
28750
|
isChrome,
|
|
28824
28751
|
isDate,
|
|
28825
28752
|
isDateSeparatorMessage,
|
|
28826
|
-
|
|
28753
|
+
cg as isDayOrMoment,
|
|
28827
28754
|
isFirefox,
|
|
28828
28755
|
isGalleryAttachmentType,
|
|
28829
28756
|
isIntroMessage,
|
|
@@ -28835,8 +28762,8 @@ export {
|
|
|
28835
28762
|
isMessageErrorRetryable,
|
|
28836
28763
|
isNetworkSendFailure,
|
|
28837
28764
|
isNotificationForPanel,
|
|
28838
|
-
|
|
28839
|
-
|
|
28765
|
+
b$ as isNotificationTargetPanel,
|
|
28766
|
+
ch as isNumberOrString,
|
|
28840
28767
|
isSafari,
|
|
28841
28768
|
isSvgAttachment,
|
|
28842
28769
|
isUserMuted,
|
|
@@ -28844,8 +28771,8 @@ export {
|
|
|
28844
28771
|
jaTranslations,
|
|
28845
28772
|
keepLineBreaksPlugin,
|
|
28846
28773
|
koTranslations,
|
|
28847
|
-
|
|
28848
|
-
|
|
28774
|
+
bY as makeDateMessageId,
|
|
28775
|
+
bX as makeIntroMessage,
|
|
28849
28776
|
mapEmojiMartData,
|
|
28850
28777
|
mapToUserNameOrId,
|
|
28851
28778
|
markDownRenderers,
|
|
@@ -28923,7 +28850,7 @@ export {
|
|
|
28923
28850
|
useFlagHandler,
|
|
28924
28851
|
useGalleryContext,
|
|
28925
28852
|
useLastReadData,
|
|
28926
|
-
|
|
28853
|
+
c2 as useLegacyThreadContext,
|
|
28927
28854
|
useLiveLocationSharingManager,
|
|
28928
28855
|
useMarkUnreadHandler,
|
|
28929
28856
|
useMentionsHandler,
|