stream-chat-react 14.0.0-beta.1 → 14.0.0-beta.2
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/{WithAudioPlayback-BcKZ5Lbh.mjs → WithAudioPlayback-C1hfFIcu.mjs} +349 -256
- package/dist/WithAudioPlayback-C1hfFIcu.mjs.map +1 -0
- package/dist/{WithAudioPlayback-TERIQpZ6.js → WithAudioPlayback-myzUS2m6.js} +101 -8
- package/dist/WithAudioPlayback-myzUS2m6.js.map +1 -0
- package/dist/cjs/emojis.js +1 -1
- package/dist/cjs/index.js +703 -769
- package/dist/cjs/index.js.map +1 -1
- package/dist/css/index.css +51 -36
- package/dist/css/index.css.map +1 -1
- package/dist/es/emojis.mjs +1 -1
- package/dist/es/index.mjs +827 -893
- package/dist/es/index.mjs.map +1 -1
- package/dist/types/components/Badge/Badge.d.ts +1 -0
- package/dist/types/components/Badge/Badge.d.ts.map +1 -1
- package/dist/types/components/Channel/Channel.d.ts.map +1 -1
- package/dist/types/components/Channel/utils.d.ts +7 -1
- package/dist/types/components/Channel/utils.d.ts.map +1 -1
- package/dist/types/components/ChatView/ChatView.d.ts.map +1 -1
- package/dist/types/components/Gallery/Gallery.d.ts.map +1 -1
- package/dist/types/components/Icons/icons.d.ts +4 -0
- package/dist/types/components/Icons/icons.d.ts.map +1 -1
- package/dist/types/components/MediaRecorder/AudioRecorder/AudioRecorderRecordingControls.d.ts.map +1 -1
- package/dist/types/components/Message/MessageErrorText.d.ts +0 -5
- package/dist/types/components/Message/MessageErrorText.d.ts.map +1 -1
- package/dist/types/components/Message/MessageText.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.map +1 -1
- package/dist/types/components/Message/index.d.ts +0 -1
- package/dist/types/components/Message/index.d.ts.map +1 -1
- package/dist/types/components/Message/utils.d.ts +1 -0
- package/dist/types/components/Message/utils.d.ts.map +1 -1
- package/dist/types/components/MessageActions/MessageActions.d.ts.map +1 -1
- package/dist/types/components/MessageActions/MessageActions.defaults.d.ts.map +1 -1
- package/dist/types/components/MessageActions/hooks/useBaseMessageActionSetFilter.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/AttachmentPreviewList/AttachmentPreviewList.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/AttachmentPreviewList/ImageAttachmentPreview.d.ts +3 -1
- package/dist/types/components/MessageComposer/AttachmentPreviewList/ImageAttachmentPreview.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/AttachmentPreviewList/MediaAttachmentPreview.d.ts +4 -2
- package/dist/types/components/MessageComposer/AttachmentPreviewList/MediaAttachmentPreview.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/AttachmentPreviewList/utils/AttachmentPreviewRoot.d.ts +6 -1
- package/dist/types/components/MessageComposer/AttachmentPreviewList/utils/AttachmentPreviewRoot.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/AttachmentSelector/AttachmentSelector.d.ts +9 -2
- package/dist/types/components/MessageComposer/AttachmentSelector/AttachmentSelector.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/CommandChip.d.ts +5 -1
- package/dist/types/components/MessageComposer/CommandChip.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/MessageComposerUI.d.ts.map +1 -1
- package/dist/types/components/Notifications/Notification.d.ts.map +1 -1
- package/dist/types/components/Notifications/hooks/useNotificationTarget.d.ts +1 -1
- package/dist/types/components/Notifications/hooks/useNotificationTarget.d.ts.map +1 -1
- package/dist/types/components/Notifications/notificationTarget.d.ts +1 -1
- package/dist/types/components/Notifications/notificationTarget.d.ts.map +1 -1
- package/dist/types/components/Poll/PollOptionSelector.d.ts.map +1 -1
- package/dist/types/components/TextareaComposer/TextareaComposer.d.ts +1 -2
- package/dist/types/components/TextareaComposer/TextareaComposer.d.ts.map +1 -1
- package/dist/types/context/ComponentContext.d.ts +5 -2
- package/dist/types/context/ComponentContext.d.ts.map +1 -1
- package/dist/types/i18n/Streami18n.d.ts +11 -6
- package/dist/types/i18n/Streami18n.d.ts.map +1 -1
- package/package.json +11 -41
- package/dist/WithAudioPlayback-BcKZ5Lbh.mjs.map +0 -1
- package/dist/WithAudioPlayback-TERIQpZ6.js.map +0 -1
- package/dist/types/components/Message/icons.d.ts +0 -7
- package/dist/types/components/Message/icons.d.ts.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
|
-
import React, { useContext, useCallback, useMemo,
|
|
2
|
+
import React, { useContext, createContext, useCallback, useMemo, forwardRef, useRef, useEffect, createElement, useState, useReducer, useLayoutEffect } from "react";
|
|
3
3
|
import { flip, shift, size, useFloating, autoUpdate, autoPlacement, offset } from "@floating-ui/react";
|
|
4
|
-
import { StateStore, MessageComposer, FixedSizeQueueCache, localMessageToNewMessagePayload } from "stream-chat";
|
|
4
|
+
import { StateStore, MessageComposer, FixedSizeQueueCache, ErrorFromResponse, localMessageToNewMessagePayload } from "stream-chat";
|
|
5
5
|
import throttle from "lodash.throttle";
|
|
6
6
|
import { useSyncExternalStore } from "use-sync-external-store/shim";
|
|
7
7
|
import clsx from "clsx";
|
|
@@ -26,6 +26,23 @@ const useChannelActionContext = (componentName) => {
|
|
|
26
26
|
}
|
|
27
27
|
return contextValue;
|
|
28
28
|
};
|
|
29
|
+
const ChannelListContext = createContext(
|
|
30
|
+
void 0
|
|
31
|
+
);
|
|
32
|
+
const ChannelListContextProvider = ({
|
|
33
|
+
children,
|
|
34
|
+
value
|
|
35
|
+
}) => /* @__PURE__ */ jsx(ChannelListContext.Provider, { value, children });
|
|
36
|
+
const useChannelListContext = (componentName) => {
|
|
37
|
+
const contextValue = useContext(ChannelListContext);
|
|
38
|
+
if (!contextValue) {
|
|
39
|
+
console.warn(
|
|
40
|
+
`The useChannelListContext hook was called outside of the ChannelListContext provider. Make sure this hook is called within the ChannelList component. The errored call is located in the ${componentName} component.`
|
|
41
|
+
);
|
|
42
|
+
return {};
|
|
43
|
+
}
|
|
44
|
+
return contextValue;
|
|
45
|
+
};
|
|
29
46
|
const ChannelStateContext = React.createContext(void 0);
|
|
30
47
|
const ChannelStateProvider = ({
|
|
31
48
|
children,
|
|
@@ -984,7 +1001,10 @@ const getNotificationTargetPanel = (notification) => {
|
|
|
984
1001
|
return isNotificationTargetPanel(panel) ? panel : void 0;
|
|
985
1002
|
};
|
|
986
1003
|
const getNotificationTargetTag = (panel) => `target:${panel}`;
|
|
987
|
-
const addNotificationTargetTag = (panel, tags) =>
|
|
1004
|
+
const addNotificationTargetTag = (panel, tags) => {
|
|
1005
|
+
if (!panel) return tags ?? [];
|
|
1006
|
+
return Array.from(/* @__PURE__ */ new Set([getNotificationTargetTag(panel), ...tags ?? []]));
|
|
1007
|
+
};
|
|
988
1008
|
const isNotificationForPanel = (notification, panel, options) => {
|
|
989
1009
|
const fallbackPanel = options?.fallbackPanel ?? "channel";
|
|
990
1010
|
const resolvedPanel = getNotificationTargetPanel(notification) ?? fallbackPanel;
|
|
@@ -1562,6 +1582,13 @@ const IconEmojiSmile = createIcon(
|
|
|
1562
1582
|
/* @__PURE__ */ jsx("path", { d: "M10.8333 6.59998C10.8333 7.33638 10.3856 7.83331 9.83334 7.83331C9.28108 7.83331 8.83334 7.33638 8.83334 6.59998C8.83334 5.8636 9.28108 5.33331 9.83334 5.33331C10.3856 5.33331 10.8333 5.8636 10.8333 6.59998Z" })
|
|
1563
1583
|
] })
|
|
1564
1584
|
);
|
|
1585
|
+
const IconExclamation = createIcon(
|
|
1586
|
+
"IconExclamation",
|
|
1587
|
+
/* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs("g", { transform: "translate(6.2222 0) scale(1.7778)", children: [
|
|
1588
|
+
/* @__PURE__ */ jsx("path", { d: "M0 7.5C0 6.9477 0.4477 6.5 1 6.5C1.5523 6.5 2 6.9477 2 7.5C1.99989 8.05211 1.55223 8.5 1 8.5C0.447768 8.5 0.000110293 8.05211 0 7.5Z" }),
|
|
1589
|
+
/* @__PURE__ */ jsx("path", { d: "M0.25 0.75C0.25 0.33578 0.5858 0 1 0C1.4142 0 1.75 0.33578 1.75 0.75V4.75C1.74989 5.16411 1.41413 5.5 1 5.5C0.585868 5.5 0.25011 5.16411 0.25 4.75V0.75Z" })
|
|
1590
|
+
] }) })
|
|
1591
|
+
);
|
|
1565
1592
|
const IconExclamationCircle1 = createIcon(
|
|
1566
1593
|
"IconExclamationCircle1",
|
|
1567
1594
|
/* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -2817,6 +2844,7 @@ const messageTextHasEmojisOnly = (message) => {
|
|
|
2817
2844
|
return !noSpace;
|
|
2818
2845
|
};
|
|
2819
2846
|
const isMessageErrorRetryable = (message) => message.status === "failed" && message.error?.status !== 403;
|
|
2847
|
+
const isNetworkSendFailure = (message) => message.status === "failed" && message.error?.status === 0;
|
|
2820
2848
|
const isMessageBounced = (message) => message.type === "error" && (message.moderation_details?.action === "MESSAGE_RESPONSE_ACTION_BOUNCE" || message.moderation?.action === "bounce");
|
|
2821
2849
|
const isMessageBlocked = (message) => message.type === "error" && (message.moderation_details?.action === "MESSAGE_RESPONSE_ACTION_REMOVE" || message.moderation?.action === "remove");
|
|
2822
2850
|
const isMessageEdited = (message) => !!message.message_text_updated_at;
|
|
@@ -3149,6 +3177,64 @@ const findInMsgSetByDate = (targetDate, msgSet, exact = false) => {
|
|
|
3149
3177
|
}
|
|
3150
3178
|
return { index: -1 };
|
|
3151
3179
|
};
|
|
3180
|
+
const adaptMessageSendErrorToErrorFromResponse = (error) => {
|
|
3181
|
+
if (error instanceof ErrorFromResponse) {
|
|
3182
|
+
return error;
|
|
3183
|
+
}
|
|
3184
|
+
const fallbackMessage = error instanceof Error ? error.message : "Message send failed";
|
|
3185
|
+
let message = fallbackMessage;
|
|
3186
|
+
let status = 0;
|
|
3187
|
+
let code = null;
|
|
3188
|
+
if (typeof error === "object" && error !== null) {
|
|
3189
|
+
const maybeAxiosError = error;
|
|
3190
|
+
if (maybeAxiosError.name === "AxiosError" && maybeAxiosError.code === "ERR_NETWORK") {
|
|
3191
|
+
message = typeof maybeAxiosError.message === "string" ? maybeAxiosError.message : "Network Error";
|
|
3192
|
+
status = maybeAxiosError.response?.status ?? 0;
|
|
3193
|
+
return new ErrorFromResponse(message, {
|
|
3194
|
+
code: null,
|
|
3195
|
+
response: maybeAxiosError.response ?? {
|
|
3196
|
+
// Compatibility shim: this is an intentionally incomplete AxiosResponse-like object.
|
|
3197
|
+
data: {
|
|
3198
|
+
duration: "",
|
|
3199
|
+
message,
|
|
3200
|
+
more_info: "",
|
|
3201
|
+
StatusCode: status
|
|
3202
|
+
},
|
|
3203
|
+
status
|
|
3204
|
+
},
|
|
3205
|
+
status
|
|
3206
|
+
});
|
|
3207
|
+
}
|
|
3208
|
+
try {
|
|
3209
|
+
const stringError = JSON.stringify(error);
|
|
3210
|
+
const parsedError = stringError ? JSON.parse(stringError) : {};
|
|
3211
|
+
if (typeof parsedError.message === "string") {
|
|
3212
|
+
message = parsedError.message;
|
|
3213
|
+
}
|
|
3214
|
+
if (typeof parsedError.status === "number") {
|
|
3215
|
+
status = parsedError.status;
|
|
3216
|
+
}
|
|
3217
|
+
if (typeof parsedError.code === "number") {
|
|
3218
|
+
code = parsedError.code;
|
|
3219
|
+
}
|
|
3220
|
+
} catch {
|
|
3221
|
+
}
|
|
3222
|
+
}
|
|
3223
|
+
return new ErrorFromResponse(message, {
|
|
3224
|
+
code,
|
|
3225
|
+
response: {
|
|
3226
|
+
// Compatibility shim: this is an intentionally incomplete AxiosResponse-like object.
|
|
3227
|
+
data: {
|
|
3228
|
+
duration: "",
|
|
3229
|
+
message,
|
|
3230
|
+
more_info: "",
|
|
3231
|
+
StatusCode: status
|
|
3232
|
+
},
|
|
3233
|
+
status
|
|
3234
|
+
},
|
|
3235
|
+
status
|
|
3236
|
+
});
|
|
3237
|
+
};
|
|
3152
3238
|
const WATCH_QUERY_IN_PROGRESS_FOR_CHANNEL = {};
|
|
3153
3239
|
const getChannel = async ({
|
|
3154
3240
|
channel,
|
|
@@ -3878,8 +3964,7 @@ const ChannelInner = (props) => {
|
|
|
3878
3964
|
});
|
|
3879
3965
|
}
|
|
3880
3966
|
} catch (error) {
|
|
3881
|
-
const
|
|
3882
|
-
const parsedError = stringError ? JSON.parse(stringError) : {};
|
|
3967
|
+
const parsedError = adaptMessageSendErrorToErrorFromResponse(error);
|
|
3883
3968
|
if (parsedError.code === 4 && error instanceof Error && error.message.includes("already exists")) {
|
|
3884
3969
|
updateMessage({
|
|
3885
3970
|
...localMessage,
|
|
@@ -4075,9 +4160,10 @@ const ChatViewContext = createContext(void 0);
|
|
|
4075
4160
|
const useChatViewContext = () => {
|
|
4076
4161
|
const value = useContext(ChatViewContext);
|
|
4077
4162
|
if (!value) {
|
|
4078
|
-
|
|
4163
|
+
console.warn(
|
|
4079
4164
|
"The useChatViewContext hook was called outside of the ChatView provider."
|
|
4080
4165
|
);
|
|
4166
|
+
return {};
|
|
4081
4167
|
}
|
|
4082
4168
|
return value;
|
|
4083
4169
|
};
|
|
@@ -4278,14 +4364,16 @@ ChatView.Threads = ThreadsView;
|
|
|
4278
4364
|
ChatView.ThreadAdapter = ThreadAdapter;
|
|
4279
4365
|
ChatView.Selector = ChatViewSelector;
|
|
4280
4366
|
const useNotificationTarget = () => {
|
|
4281
|
-
const
|
|
4367
|
+
const chatViewContext = useContext(ChatViewContext);
|
|
4368
|
+
const { channels } = useChannelListContext();
|
|
4282
4369
|
const { channel } = useChannelStateContext();
|
|
4283
4370
|
const threadInstance = useThreadContext();
|
|
4284
4371
|
const { legacyThread } = useLegacyThreadContext();
|
|
4285
4372
|
if (threadInstance || legacyThread) return "thread";
|
|
4286
4373
|
if (channel) return "channel";
|
|
4287
|
-
if (activeChatView === "threads") return "thread-list";
|
|
4288
|
-
return "channel-list";
|
|
4374
|
+
if (chatViewContext?.activeChatView === "threads") return "thread-list";
|
|
4375
|
+
if (channels) return "channel-list";
|
|
4376
|
+
return void 0;
|
|
4289
4377
|
};
|
|
4290
4378
|
const AudioPlayerContext = React.createContext({
|
|
4291
4379
|
audioPlayers: null
|
|
@@ -4353,250 +4441,255 @@ const useActiveAudioPlayer = () => {
|
|
|
4353
4441
|
return activeAudioPlayer;
|
|
4354
4442
|
};
|
|
4355
4443
|
export {
|
|
4356
|
-
|
|
4357
|
-
|
|
4444
|
+
IconImages1Alt as $,
|
|
4445
|
+
IconChevronLeft as A,
|
|
4358
4446
|
BaseIcon as B,
|
|
4359
4447
|
ComponentContext as C,
|
|
4360
|
-
|
|
4361
|
-
|
|
4362
|
-
|
|
4363
|
-
|
|
4364
|
-
|
|
4448
|
+
IconArrowLeft as D,
|
|
4449
|
+
IconExclamationCircle as E,
|
|
4450
|
+
IconCircleBanSign as F,
|
|
4451
|
+
isMessageErrorRetryable as G,
|
|
4452
|
+
ACTIONS_NOT_WORKING_IN_THREAD as H,
|
|
4365
4453
|
IconPause as I,
|
|
4366
|
-
|
|
4367
|
-
|
|
4454
|
+
useNotificationTarget as J,
|
|
4455
|
+
IconArrowRightUp as K,
|
|
4368
4456
|
LocalizedFormat as L,
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
|
|
4380
|
-
|
|
4381
|
-
|
|
4382
|
-
|
|
4383
|
-
|
|
4457
|
+
addNotificationTargetTag as M,
|
|
4458
|
+
IconPin as N,
|
|
4459
|
+
mapToUserNameOrId as O,
|
|
4460
|
+
IconClock as P,
|
|
4461
|
+
IconCheckmark1Small as Q,
|
|
4462
|
+
IconDoubleCheckmark1Small as R,
|
|
4463
|
+
getReadByTooltipText as S,
|
|
4464
|
+
messageHasAttachments as T,
|
|
4465
|
+
messageTextHasEmojisOnly as U,
|
|
4466
|
+
isDate as V,
|
|
4467
|
+
getDateString as W,
|
|
4468
|
+
IconTranslate as X,
|
|
4469
|
+
useMessageComposerContext as Y,
|
|
4470
|
+
useIsCooldownActive as Z,
|
|
4471
|
+
IconCrossSmall as _,
|
|
4384
4472
|
useMessageComposerController as a,
|
|
4385
|
-
|
|
4386
|
-
|
|
4387
|
-
|
|
4388
|
-
|
|
4389
|
-
|
|
4390
|
-
|
|
4391
|
-
|
|
4392
|
-
|
|
4393
|
-
|
|
4394
|
-
|
|
4395
|
-
|
|
4396
|
-
|
|
4397
|
-
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
|
|
4406
|
-
|
|
4407
|
-
|
|
4408
|
-
|
|
4409
|
-
|
|
4410
|
-
|
|
4411
|
-
|
|
4412
|
-
|
|
4413
|
-
|
|
4414
|
-
|
|
4415
|
-
|
|
4416
|
-
|
|
4417
|
-
|
|
4418
|
-
|
|
4419
|
-
|
|
4420
|
-
|
|
4421
|
-
|
|
4422
|
-
|
|
4423
|
-
|
|
4424
|
-
|
|
4425
|
-
|
|
4426
|
-
|
|
4427
|
-
|
|
4428
|
-
|
|
4429
|
-
|
|
4430
|
-
|
|
4431
|
-
|
|
4432
|
-
|
|
4433
|
-
|
|
4434
|
-
|
|
4435
|
-
|
|
4436
|
-
|
|
4437
|
-
|
|
4438
|
-
|
|
4439
|
-
|
|
4440
|
-
|
|
4441
|
-
|
|
4442
|
-
|
|
4443
|
-
|
|
4444
|
-
|
|
4445
|
-
|
|
4446
|
-
|
|
4447
|
-
|
|
4448
|
-
|
|
4473
|
+
processMessages as a$,
|
|
4474
|
+
IconChart5 as a0,
|
|
4475
|
+
IconMapPin as a1,
|
|
4476
|
+
IconFileBend as a2,
|
|
4477
|
+
IconChainLink as a3,
|
|
4478
|
+
IconVideo as a4,
|
|
4479
|
+
IconVideoSolid as a5,
|
|
4480
|
+
IconMicrophone as a6,
|
|
4481
|
+
IconBookmark as a7,
|
|
4482
|
+
IconBellNotification as a8,
|
|
4483
|
+
IconChevronDown as a9,
|
|
4484
|
+
isLanguageSupported as aA,
|
|
4485
|
+
IconLayoutAlignLeft as aB,
|
|
4486
|
+
useChatViewContext as aC,
|
|
4487
|
+
MESSAGE_ACTIONS as aD,
|
|
4488
|
+
LegacyThreadContext as aE,
|
|
4489
|
+
IconArrowShareLeft as aF,
|
|
4490
|
+
IconEmojiSmile as aG,
|
|
4491
|
+
IconPeopleAdded as aH,
|
|
4492
|
+
IconBookmarkRemove as aI,
|
|
4493
|
+
IconBellOff as aJ,
|
|
4494
|
+
IconBubbleWideNotificationChatMessage as aK,
|
|
4495
|
+
IconEditBig as aL,
|
|
4496
|
+
IconSquareBehindSquare2_Copy as aM,
|
|
4497
|
+
IconUnpin as aN,
|
|
4498
|
+
IconCloseQuote2 as aO,
|
|
4499
|
+
IconBubbleText6ChatMessage as aP,
|
|
4500
|
+
IconDotGrid1x3Horizontal as aQ,
|
|
4501
|
+
areMessageUIPropsEqual as aR,
|
|
4502
|
+
isDateSeparatorMessage as aS,
|
|
4503
|
+
isMessageBlocked as aT,
|
|
4504
|
+
messageHasSingleAttachment as aU,
|
|
4505
|
+
messageHasGiphyAttachment as aV,
|
|
4506
|
+
messageHasReactions as aW,
|
|
4507
|
+
isMessageEdited as aX,
|
|
4508
|
+
countEmojis as aY,
|
|
4509
|
+
areMessagePropsEqual as aZ,
|
|
4510
|
+
getMessageActions as a_,
|
|
4511
|
+
IconPlusSmall as aa,
|
|
4512
|
+
IconCheckmark2 as ab,
|
|
4513
|
+
DEFAULT_LOAD_PAGE_SCROLL_THRESHOLD as ac,
|
|
4514
|
+
IconTrophy as ad,
|
|
4515
|
+
IconDotGrid2x3 as ae,
|
|
4516
|
+
IconCircleMinus as af,
|
|
4517
|
+
IconPaperPlane as ag,
|
|
4518
|
+
IconVolumeFull as ah,
|
|
4519
|
+
IconPeopleAdd as ai,
|
|
4520
|
+
IconMute as aj,
|
|
4521
|
+
IconFlag2 as ak,
|
|
4522
|
+
IconPeopleRemove as al,
|
|
4523
|
+
IconPaperclip as am,
|
|
4524
|
+
IconRunShortcut as an,
|
|
4525
|
+
CHANNEL_CONTAINER_ID as ao,
|
|
4526
|
+
IconPlusLarge as ap,
|
|
4527
|
+
IconExclamationTriangle as aq,
|
|
4528
|
+
useAudioPlayer as ar,
|
|
4529
|
+
IconArrowRotateClockwise as as,
|
|
4530
|
+
IconArrowDownCircle as at,
|
|
4531
|
+
IconThunder as au,
|
|
4532
|
+
IconTrashBin as av,
|
|
4533
|
+
IconFileArrowLeftIn as aw,
|
|
4534
|
+
MessageComposerContextProvider as ax,
|
|
4535
|
+
useTypingContext as ay,
|
|
4536
|
+
defaultDateTimeParser as az,
|
|
4449
4537
|
useChannelActionContext as b,
|
|
4450
|
-
|
|
4451
|
-
|
|
4452
|
-
|
|
4453
|
-
|
|
4454
|
-
|
|
4455
|
-
|
|
4456
|
-
|
|
4457
|
-
|
|
4458
|
-
|
|
4459
|
-
|
|
4460
|
-
|
|
4461
|
-
|
|
4462
|
-
|
|
4463
|
-
|
|
4464
|
-
|
|
4465
|
-
|
|
4466
|
-
|
|
4467
|
-
|
|
4468
|
-
|
|
4469
|
-
|
|
4470
|
-
|
|
4471
|
-
|
|
4472
|
-
|
|
4473
|
-
|
|
4474
|
-
|
|
4475
|
-
|
|
4476
|
-
|
|
4477
|
-
|
|
4478
|
-
|
|
4479
|
-
|
|
4480
|
-
|
|
4481
|
-
|
|
4482
|
-
|
|
4483
|
-
|
|
4484
|
-
|
|
4485
|
-
|
|
4486
|
-
|
|
4487
|
-
|
|
4488
|
-
|
|
4489
|
-
|
|
4490
|
-
|
|
4491
|
-
|
|
4492
|
-
|
|
4493
|
-
|
|
4494
|
-
|
|
4495
|
-
|
|
4496
|
-
|
|
4497
|
-
|
|
4498
|
-
|
|
4499
|
-
|
|
4500
|
-
|
|
4501
|
-
|
|
4502
|
-
|
|
4503
|
-
|
|
4504
|
-
|
|
4505
|
-
|
|
4506
|
-
|
|
4507
|
-
|
|
4508
|
-
|
|
4509
|
-
|
|
4510
|
-
|
|
4511
|
-
|
|
4512
|
-
|
|
4513
|
-
|
|
4538
|
+
IconChevronTop as b$,
|
|
4539
|
+
insertIntro as b0,
|
|
4540
|
+
getGroupStyles as b1,
|
|
4541
|
+
getLastReceived as b2,
|
|
4542
|
+
IconArrowUp as b3,
|
|
4543
|
+
isIntroMessage as b4,
|
|
4544
|
+
isLocalMessage as b5,
|
|
4545
|
+
getIsFirstUnreadMessage as b6,
|
|
4546
|
+
IconArrowDown as b7,
|
|
4547
|
+
DEFAULT_NEXT_CHANNEL_PAGE_SIZE as b8,
|
|
4548
|
+
EmptyStateIndicator as b9,
|
|
4549
|
+
useActiveThread as bA,
|
|
4550
|
+
ChatViewSelectorButton as bB,
|
|
4551
|
+
ChatViewChannelsSelectorButton as bC,
|
|
4552
|
+
ChatViewThreadsSelectorButton as bD,
|
|
4553
|
+
defaultChatViewSelectorItemSet as bE,
|
|
4554
|
+
createIcon as bF,
|
|
4555
|
+
IconApiAggregate as bG,
|
|
4556
|
+
IconApples as bH,
|
|
4557
|
+
IconArrowRight as bI,
|
|
4558
|
+
IconArrowsRepeatLeftRight as bJ,
|
|
4559
|
+
IconAt as bK,
|
|
4560
|
+
IconAtSolid as bL,
|
|
4561
|
+
IconBrowserAISparkle as bM,
|
|
4562
|
+
IconBubble2ChatMessage as bN,
|
|
4563
|
+
IconBubble2Solid as bO,
|
|
4564
|
+
IconBubble3ChatMessage as bP,
|
|
4565
|
+
IconBubble3Solid as bQ,
|
|
4566
|
+
IconBubbleAnnotation2ChatMessage as bR,
|
|
4567
|
+
IconBubbleText6SolidChatMessage as bS,
|
|
4568
|
+
IconBubbleText6Solid as bT,
|
|
4569
|
+
IconBubbleWideSparkleChatMessage as bU,
|
|
4570
|
+
IconCalendar1 as bV,
|
|
4571
|
+
IconCallCancel as bW,
|
|
4572
|
+
IconCar1 as bX,
|
|
4573
|
+
IconCat as bY,
|
|
4574
|
+
IconCheckmark2Small as bZ,
|
|
4575
|
+
IconChevronGrabberVerticalSelector as b_,
|
|
4576
|
+
getChannel as ba,
|
|
4577
|
+
IconMagnifyingGlassSearch as bb,
|
|
4578
|
+
IconCircleX as bc,
|
|
4579
|
+
useChannelListContext as bd,
|
|
4580
|
+
DEFAULT_JUMP_TO_PAGE_SIZE as be,
|
|
4581
|
+
ChannelListContextProvider as bf,
|
|
4582
|
+
IconArchive as bg,
|
|
4583
|
+
IconArrowBoxLeft as bh,
|
|
4584
|
+
IconCamera1 as bi,
|
|
4585
|
+
IconExclamationCircle1 as bj,
|
|
4586
|
+
ChatProvider as bk,
|
|
4587
|
+
TranslationProvider as bl,
|
|
4588
|
+
useThreadsViewContext as bm,
|
|
4589
|
+
IconBubbles as bn,
|
|
4590
|
+
IconArrowRotateRightLeftRepeatRefresh as bo,
|
|
4591
|
+
IconEyeOpen as bp,
|
|
4592
|
+
useActiveAudioPlayer as bq,
|
|
4593
|
+
WithAudioPlayback as br,
|
|
4594
|
+
defaultRegisterAudioPlayerError as bs,
|
|
4595
|
+
elementIsPlaying as bt,
|
|
4596
|
+
AudioPlayer as bu,
|
|
4597
|
+
useEditMessageHandler as bv,
|
|
4598
|
+
useMentionsHandlers as bw,
|
|
4599
|
+
Channel as bx,
|
|
4600
|
+
ChatViewContext as by,
|
|
4601
|
+
ChatView as bz,
|
|
4514
4602
|
useTranslationContext as c,
|
|
4515
|
-
|
|
4516
|
-
|
|
4517
|
-
|
|
4518
|
-
|
|
4519
|
-
|
|
4520
|
-
|
|
4521
|
-
|
|
4522
|
-
|
|
4523
|
-
|
|
4524
|
-
|
|
4525
|
-
|
|
4526
|
-
|
|
4527
|
-
|
|
4528
|
-
|
|
4529
|
-
|
|
4530
|
-
|
|
4531
|
-
|
|
4532
|
-
|
|
4533
|
-
|
|
4534
|
-
|
|
4535
|
-
|
|
4536
|
-
|
|
4537
|
-
|
|
4538
|
-
|
|
4539
|
-
|
|
4540
|
-
|
|
4541
|
-
|
|
4542
|
-
|
|
4543
|
-
|
|
4544
|
-
|
|
4545
|
-
|
|
4546
|
-
|
|
4547
|
-
|
|
4548
|
-
|
|
4549
|
-
|
|
4550
|
-
|
|
4551
|
-
|
|
4552
|
-
|
|
4553
|
-
|
|
4554
|
-
|
|
4555
|
-
|
|
4556
|
-
|
|
4557
|
-
|
|
4558
|
-
|
|
4559
|
-
|
|
4560
|
-
|
|
4561
|
-
|
|
4562
|
-
|
|
4563
|
-
|
|
4564
|
-
|
|
4565
|
-
|
|
4566
|
-
|
|
4567
|
-
|
|
4568
|
-
|
|
4569
|
-
|
|
4570
|
-
|
|
4571
|
-
|
|
4572
|
-
|
|
4573
|
-
|
|
4574
|
-
|
|
4575
|
-
|
|
4576
|
-
|
|
4577
|
-
|
|
4578
|
-
|
|
4603
|
+
OPTIONAL_MESSAGE_ACTIONS as c$,
|
|
4604
|
+
IconCircleCheck as c0,
|
|
4605
|
+
IconCircleInfoTooltip as c1,
|
|
4606
|
+
IconCircleQuestionmark as c2,
|
|
4607
|
+
IconCircleQuestionmarkFilled as c3,
|
|
4608
|
+
IconClockSolid as c4,
|
|
4609
|
+
IconCode as c5,
|
|
4610
|
+
IconCodeBrackets as c6,
|
|
4611
|
+
IconCodeEditorInsert as c7,
|
|
4612
|
+
IconCompass as c8,
|
|
4613
|
+
IconCreditCard2Billing as c9,
|
|
4614
|
+
IconPencil as cA,
|
|
4615
|
+
IconPeople2 as cB,
|
|
4616
|
+
IconPeopleCircle as cC,
|
|
4617
|
+
IconPeopleCopy as cD,
|
|
4618
|
+
IconPeopleEditUserRights as cE,
|
|
4619
|
+
IconPersona as cF,
|
|
4620
|
+
IconSearchText as cG,
|
|
4621
|
+
IconSettingsGear2 as cH,
|
|
4622
|
+
IconSettingsSliderVer as cI,
|
|
4623
|
+
IconShapesPlusCloseSquareCircle as cJ,
|
|
4624
|
+
IconShapesTriangleSquareCircle as cK,
|
|
4625
|
+
IconShareRedirectLink as cL,
|
|
4626
|
+
IconShield as cM,
|
|
4627
|
+
IconSquareCircleTopRightFeeds as cN,
|
|
4628
|
+
IconStop as cO,
|
|
4629
|
+
IconTable as cP,
|
|
4630
|
+
IconTeam as cQ,
|
|
4631
|
+
IconTennis as cR,
|
|
4632
|
+
IconTextToImageURLEnrichment as cS,
|
|
4633
|
+
IconTrending4 as cT,
|
|
4634
|
+
IconUnlocked as cU,
|
|
4635
|
+
IconUsers as cV,
|
|
4636
|
+
IconVoiceAndVideo as cW,
|
|
4637
|
+
IconVoiceHigh as cX,
|
|
4638
|
+
IconWebhook as cY,
|
|
4639
|
+
LoadingChannel as cZ,
|
|
4640
|
+
LoadingErrorIndicator as c_,
|
|
4641
|
+
IconDotsGrid1x3Vertical as ca,
|
|
4642
|
+
IconEditBigSolid as cb,
|
|
4643
|
+
IconEmojiAddReaction as cc,
|
|
4644
|
+
IconEmojiSad as cd,
|
|
4645
|
+
IconExclamationTriangle1 as ce,
|
|
4646
|
+
IconFilledCircleInfoTooltip as cf,
|
|
4647
|
+
IconFilter1 as cg,
|
|
4648
|
+
IconGauge as ch,
|
|
4649
|
+
IconGoogle as ci,
|
|
4650
|
+
IconHashtagChannel as cj,
|
|
4651
|
+
IconHeart2 as ck,
|
|
4652
|
+
IconHistory as cl,
|
|
4653
|
+
IconInvite as cm,
|
|
4654
|
+
IconLayersBehind as cn,
|
|
4655
|
+
IconLayoutGrid1 as co,
|
|
4656
|
+
IconLightBulbSimple as cp,
|
|
4657
|
+
IconLimits as cq,
|
|
4658
|
+
IconLineChart3 as cr,
|
|
4659
|
+
IconLock as cs,
|
|
4660
|
+
IconMicrophoneSolid as ct,
|
|
4661
|
+
IconMinusLarge as cu,
|
|
4662
|
+
IconMinusSmall as cv,
|
|
4663
|
+
IconNewspaper2 as cw,
|
|
4664
|
+
IconOrganization as cx,
|
|
4665
|
+
IconPaperPlaneTopRight as cy,
|
|
4666
|
+
IconParagraphsText as cz,
|
|
4579
4667
|
useChannelStateContext as d,
|
|
4580
|
-
|
|
4581
|
-
|
|
4582
|
-
|
|
4583
|
-
|
|
4584
|
-
|
|
4585
|
-
|
|
4586
|
-
|
|
4587
|
-
|
|
4588
|
-
|
|
4589
|
-
|
|
4590
|
-
|
|
4591
|
-
|
|
4592
|
-
|
|
4593
|
-
|
|
4594
|
-
|
|
4595
|
-
|
|
4596
|
-
|
|
4597
|
-
|
|
4598
|
-
|
|
4599
|
-
|
|
4668
|
+
getImages as d0,
|
|
4669
|
+
getNonImageAttachments as d1,
|
|
4670
|
+
makeIntroMessage as d2,
|
|
4671
|
+
makeDateMessageId as d3,
|
|
4672
|
+
hasMoreMessagesProbably as d4,
|
|
4673
|
+
hasNotMoreMessages as d5,
|
|
4674
|
+
isNotificationTargetPanel as d6,
|
|
4675
|
+
getNotificationTargetPanel as d7,
|
|
4676
|
+
getNotificationTargetTag as d8,
|
|
4677
|
+
useLegacyThreadContext as d9,
|
|
4678
|
+
ThreadContext as da,
|
|
4679
|
+
ThreadProvider as db,
|
|
4680
|
+
ChannelActionContext as dc,
|
|
4681
|
+
ChannelActionProvider as dd,
|
|
4682
|
+
ChannelListContext as de,
|
|
4683
|
+
ChannelStateContext as df,
|
|
4684
|
+
ChannelStateProvider as dg,
|
|
4685
|
+
ChatContext as dh,
|
|
4686
|
+
ComponentProvider as di,
|
|
4687
|
+
MessageComposerContext as dj,
|
|
4688
|
+
TranslationContext as dk,
|
|
4689
|
+
TypingContext as dl,
|
|
4690
|
+
TypingProvider as dm,
|
|
4691
|
+
isDayOrMoment as dn,
|
|
4692
|
+
isNumberOrString as dp,
|
|
4600
4693
|
useChatContext as e,
|
|
4601
4694
|
isNotificationForPanel as f,
|
|
4602
4695
|
Button as g,
|
|
@@ -4606,18 +4699,18 @@ export {
|
|
|
4606
4699
|
defaultTranslatorFunction as k,
|
|
4607
4700
|
calendar as l,
|
|
4608
4701
|
IconLoadingCircle as m,
|
|
4609
|
-
|
|
4610
|
-
|
|
4702
|
+
isNetworkSendFailure as n,
|
|
4703
|
+
isUserMuted as o,
|
|
4611
4704
|
predefinedFormatters as p,
|
|
4612
|
-
|
|
4613
|
-
|
|
4614
|
-
|
|
4615
|
-
|
|
4705
|
+
defaultPinPermissions as q,
|
|
4706
|
+
useThreadContext as r,
|
|
4707
|
+
usePopoverPosition as s,
|
|
4708
|
+
useComponentContext as t,
|
|
4616
4709
|
useStateStore as u,
|
|
4617
4710
|
validateAndGetMessage as v,
|
|
4618
|
-
|
|
4619
|
-
|
|
4620
|
-
|
|
4621
|
-
|
|
4711
|
+
IconCrossMedium as w,
|
|
4712
|
+
IconPeople as x,
|
|
4713
|
+
IconExclamation as y,
|
|
4714
|
+
IconChevronRight as z
|
|
4622
4715
|
};
|
|
4623
|
-
//# sourceMappingURL=WithAudioPlayback-
|
|
4716
|
+
//# sourceMappingURL=WithAudioPlayback-C1hfFIcu.mjs.map
|