@poolse/react-ui 3.9.0 → 3.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +50 -0
- package/README.md +108 -0
- package/dist/index.cjs +4017 -263
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +824 -16
- package/dist/index.d.ts +824 -16
- package/dist/index.js +3954 -262
- package/dist/index.js.map +1 -1
- package/dist/styles.css +2710 -0
- package/package.json +17 -5
package/dist/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { CallParticipant, CallDevice, CallDeviceKind, Message, Poolse, Uuid, LiveCall, Conversation, RecordingMode, ConsentDecision, PresenceState, Presence, Membership,
|
|
2
|
+
import { CallParticipant, CallAgent, CallDevice, CallDeviceKind, Message, Poolse, Uuid, MessageCreateRequest, LiveCall, Citation, MeetingMoment, Conversation, RecordingMode, ConsentDecision, AgentEscalation, EscalationReply, AgentApproval, Attachment, CallSummary, CallBackground, CallConnectionQuality, GuestLobbyStatus, CallQualityReport, CallNetworkIssue, CallReaction, RoomPresenceEntry, MeetingCard as MeetingCard$1, RsvpResponse, WhiteboardItem, WhiteboardShapeKind, PresenceState, Presence, Membership, LinkPreview, Block, BlockActionRequest, CatchUp, Poll } from '@poolse/sdk';
|
|
3
3
|
import * as react from 'react';
|
|
4
4
|
import { SVGProps, ReactElement, ReactNode, CSSProperties } from 'react';
|
|
5
|
-
import { GroupPosition, UseRoom, UploadItem, ReactionMap } from '@poolse/react';
|
|
5
|
+
import { GroupPosition, UseRoom, UseCallAgents, UseWhisper, UseAgenda, UseBreakouts, UseCaptions, UseLiveTranscript, UseLobby, UseMoments, UseQuestions, UseCallReactions, UseStage, CallAgent as CallAgent$1, UseScreenAnnotations, UseWhiteboard, FormatKind, SlashCommand, DlpOutcome, CustomEmoji, UploadItem, ReactionMap, MentionGroup } from '@poolse/react';
|
|
6
6
|
import { ThemeInput, ColorSchemePreference, ResolvedTheme, ColorScheme } from '@poolse/theme';
|
|
7
7
|
export { BUILT_IN_THEME_IDS, BuiltInThemeId, ColorScheme, ColorSchemePreference, DEFAULT_THEME_ID, FlatThemeTokens, Theme, ThemeInput, createTheme, decodeTheme, encodeTheme, tokensFromFlat } from '@poolse/theme';
|
|
8
8
|
|
|
@@ -12,8 +12,13 @@ interface CallVideoGridProps {
|
|
|
12
12
|
className?: string;
|
|
13
13
|
/** Clicking your own preview. Left unset, the tile is not interactive. */
|
|
14
14
|
onLocalClick?: (() => void) | undefined;
|
|
15
|
+
/**
|
|
16
|
+
* The call's agents (`useCallAgents().agents`): their tiles get the
|
|
17
|
+
* Agent badge and label even before the token metadata is read.
|
|
18
|
+
*/
|
|
19
|
+
agents?: readonly CallAgent[] | undefined;
|
|
15
20
|
}
|
|
16
|
-
declare function CallVideoGrid({ participants, labelFor, className, onLocalClick, }: CallVideoGridProps): react_jsx_runtime.JSX.Element | null;
|
|
21
|
+
declare function CallVideoGrid({ participants, labelFor, className, onLocalClick, agents, }: CallVideoGridProps): react_jsx_runtime.JSX.Element | null;
|
|
17
22
|
|
|
18
23
|
declare const ICONS: {
|
|
19
24
|
readonly attachment: {
|
|
@@ -616,6 +621,11 @@ interface RenderMessageContext {
|
|
|
616
621
|
|
|
617
622
|
interface ConversationViewProps {
|
|
618
623
|
conversationId: Uuid;
|
|
624
|
+
/**
|
|
625
|
+
* Merged into every message this view sends — `{ call_id }` tags the
|
|
626
|
+
* in-call chat (CL6, `InCallChatPanel`).
|
|
627
|
+
*/
|
|
628
|
+
sendDefaults?: Partial<Omit<MessageCreateRequest, 'id' | 'body'>>;
|
|
619
629
|
/**
|
|
620
630
|
* What an empty conversation shows. Defaults to "No messages yet"
|
|
621
631
|
* with a hint to write the first one (or none, read-only). A
|
|
@@ -831,6 +841,19 @@ interface ConversationViewProps {
|
|
|
831
841
|
onJoinCall?: (call: LiveCall) => void;
|
|
832
842
|
/** The call this client is already on, if any — its banner is hidden. */
|
|
833
843
|
currentCallId?: string | null;
|
|
844
|
+
/**
|
|
845
|
+
* A source under an assistant's answer was pressed (AG5). Without it,
|
|
846
|
+
* message sources in this conversation are focused here; anything
|
|
847
|
+
* else needs this handler (open the other conversation, the file, or
|
|
848
|
+
* the call at `citation.startMs`).
|
|
849
|
+
*/
|
|
850
|
+
onOpenCitation?: (citation: Citation, message: Message) => void;
|
|
851
|
+
/**
|
|
852
|
+
* A point in a call was pressed — a line or moment of a summary (RT6):
|
|
853
|
+
* open its recording at `moment.recordingMs` (with `recordingId`) or
|
|
854
|
+
* its transcript at `moment.startMs`. Without it they are plain text.
|
|
855
|
+
*/
|
|
856
|
+
onOpenMoment?: (moment: MeetingMoment) => void;
|
|
834
857
|
/**
|
|
835
858
|
* Keep an unsent draft per conversation — the composer's text and the
|
|
836
859
|
* message being quoted (not files) — across conversation switches
|
|
@@ -845,7 +868,7 @@ interface ConversationViewProps {
|
|
|
845
868
|
*/
|
|
846
869
|
draftStorage?: DraftStorage;
|
|
847
870
|
}
|
|
848
|
-
declare function ConversationView({ conversationId, emptyState, renderMessage, labelFor, loadFonts, reactions, mentions, attachments, maxFileSize, acceptFileTypes, emojiPicker, actions, threads, quotations, readReceipts, linkPreviews, markdown, maxBodyLength, grouping, groupingWindowMs, groupWindowMinutes, layout, density, showAvatars, showPresence, timeFormat, slots, daySeparators, senderLabels, avatars, onMarkedRead, focusMessageId, onFocusMessageNotFound, onSenderPress, onAvatarPress, composer, readOnly, onCallBack, onJoinCall, currentCallId, persistDrafts, draftStorage, keymap: keymapOverrides, sendOn, keyboardShortcuts, confirmDelete, }: ConversationViewProps): react_jsx_runtime.JSX.Element;
|
|
871
|
+
declare function ConversationView({ conversationId, sendDefaults, emptyState, renderMessage, labelFor, loadFonts, reactions, mentions, attachments, maxFileSize, acceptFileTypes, emojiPicker, actions, threads, quotations, readReceipts, linkPreviews, markdown, maxBodyLength, grouping, groupingWindowMs, groupWindowMinutes, layout, density, showAvatars, showPresence, timeFormat, slots, daySeparators, senderLabels, avatars, onMarkedRead, focusMessageId, onFocusMessageNotFound, onSenderPress, onAvatarPress, composer, readOnly, onCallBack, onJoinCall, currentCallId, onOpenCitation, onOpenMoment, persistDrafts, draftStorage, keymap: keymapOverrides, sendOn, keyboardShortcuts, confirmDelete, }: ConversationViewProps): react_jsx_runtime.JSX.Element;
|
|
849
872
|
|
|
850
873
|
interface ChatHeaderProps {
|
|
851
874
|
/** Conversation id — used to fetch the row + members for the title / presence dot. */
|
|
@@ -1170,6 +1193,531 @@ interface TranscriptViewerProps {
|
|
|
1170
1193
|
*/
|
|
1171
1194
|
declare function TranscriptViewer({ callId, canRename, onSeek, title, className, }: TranscriptViewerProps): react_jsx_runtime.JSX.Element | null;
|
|
1172
1195
|
|
|
1196
|
+
interface AgentBadgeProps {
|
|
1197
|
+
/** `sm` (default) beside names in lists; `xs` in dense rows. */
|
|
1198
|
+
size?: 'xs' | 'sm';
|
|
1199
|
+
/** Defaults to "Agent". */
|
|
1200
|
+
label?: string;
|
|
1201
|
+
className?: string;
|
|
1202
|
+
}
|
|
1203
|
+
declare function AgentBadge({ size, label, className }: AgentBadgeProps): react_jsx_runtime.JSX.Element;
|
|
1204
|
+
|
|
1205
|
+
interface CallAgentTagProps {
|
|
1206
|
+
agent: CallAgent;
|
|
1207
|
+
/** Show what it's doing ("Taking notes"). Defaults to true. */
|
|
1208
|
+
showState?: boolean;
|
|
1209
|
+
/** LiveKit's speaking flag for its participant: overrides the state with "Speaking". */
|
|
1210
|
+
speaking?: boolean;
|
|
1211
|
+
className?: string;
|
|
1212
|
+
}
|
|
1213
|
+
/** The Agent badge with the agent's state — beside its name wherever it's listed in a call. */
|
|
1214
|
+
declare function CallAgentTag({ agent, showState, speaking, className }: CallAgentTagProps): react_jsx_runtime.JSX.Element;
|
|
1215
|
+
interface InviteAgentMenuProps {
|
|
1216
|
+
/** `useCallAgents(conversationId, callId)`. */
|
|
1217
|
+
callAgents: UseCallAgents;
|
|
1218
|
+
/** After an invite or remove went through. */
|
|
1219
|
+
onDone?: () => void;
|
|
1220
|
+
className?: string;
|
|
1221
|
+
}
|
|
1222
|
+
/**
|
|
1223
|
+
* Bring a note-taker (silent: transcript, summary and tasks) or an
|
|
1224
|
+
* assistant (answers when addressed by name) into the call, or send one
|
|
1225
|
+
* out. Lists the agents you can see that may join calls.
|
|
1226
|
+
*/
|
|
1227
|
+
declare function InviteAgentMenu({ callAgents, onDone, className }: InviteAgentMenuProps): react_jsx_runtime.JSX.Element;
|
|
1228
|
+
interface WhisperPanelProps {
|
|
1229
|
+
/** `useWhisper(callId)`. */
|
|
1230
|
+
whisper: UseWhisper;
|
|
1231
|
+
className?: string;
|
|
1232
|
+
}
|
|
1233
|
+
/**
|
|
1234
|
+
* Private hints during a call — facts, what you promised last time,
|
|
1235
|
+
* questions to raise. Only you see them; the panel says so.
|
|
1236
|
+
*/
|
|
1237
|
+
declare function WhisperPanel({ whisper, className }: WhisperPanelProps): react_jsx_runtime.JSX.Element;
|
|
1238
|
+
interface EscalationCardProps {
|
|
1239
|
+
escalation: AgentEscalation;
|
|
1240
|
+
/** The agent's name; defaults to the directory's, else "Your agent". */
|
|
1241
|
+
agentName?: string | null;
|
|
1242
|
+
/** The meeting's title, when the host knows it. */
|
|
1243
|
+
meetingTitle?: string | null;
|
|
1244
|
+
/** Defaults to `poolse.escalations.reply`. */
|
|
1245
|
+
reply?: (id: string, reply: EscalationReply) => Promise<unknown>;
|
|
1246
|
+
onReplied?: (escalation: AgentEscalation) => void;
|
|
1247
|
+
className?: string;
|
|
1248
|
+
}
|
|
1249
|
+
/**
|
|
1250
|
+
* Your agent, in a meeting for you, asking something its brief doesn't
|
|
1251
|
+
* cover ("They ask for 10% off — accept?"): Approve, Decline, or write
|
|
1252
|
+
* an answer. Answered ones show what you said.
|
|
1253
|
+
*/
|
|
1254
|
+
declare function EscalationCard({ escalation: e, agentName, meetingTitle, reply, onReplied, className, }: EscalationCardProps): react_jsx_runtime.JSX.Element;
|
|
1255
|
+
interface EscalationListProps {
|
|
1256
|
+
/** Only this call's. */
|
|
1257
|
+
callId?: string | null;
|
|
1258
|
+
/** Shown when nothing waits. Defaults to nothing. */
|
|
1259
|
+
empty?: string | null;
|
|
1260
|
+
className?: string;
|
|
1261
|
+
}
|
|
1262
|
+
/** Everything your agents wait for you to answer, live. */
|
|
1263
|
+
declare function EscalationList({ callId, empty, className }: EscalationListProps): react_jsx_runtime.JSX.Element | null;
|
|
1264
|
+
|
|
1265
|
+
interface ApprovalCardProps {
|
|
1266
|
+
/** The request — from `useApprovals()` or `useApproval(id)`. */
|
|
1267
|
+
approval: AgentApproval;
|
|
1268
|
+
/** The agent's name when the request leaves it out (e.g. the message's sender). */
|
|
1269
|
+
agentName?: string | null;
|
|
1270
|
+
/** After an answer went through. */
|
|
1271
|
+
onDecided?: (approval: AgentApproval) => void;
|
|
1272
|
+
/** How many detail lines show before "Show all". Defaults to 4. */
|
|
1273
|
+
maxDetails?: number;
|
|
1274
|
+
className?: string;
|
|
1275
|
+
}
|
|
1276
|
+
/**
|
|
1277
|
+
* An agent asking before it does something outside the chat — send an
|
|
1278
|
+
* email, create an issue, book a meeting. One tap approves or denies; a
|
|
1279
|
+
* reason is optional. Follows the shared approvals store, so an answer
|
|
1280
|
+
* given anywhere (another device, the pending list) shows here at once.
|
|
1281
|
+
*/
|
|
1282
|
+
declare function ApprovalCard({ approval: initial, agentName, onDecided, maxDetails, className, }: ApprovalCardProps): react_jsx_runtime.JSX.Element;
|
|
1283
|
+
interface MessageApprovalProps {
|
|
1284
|
+
/** `approvalIdOf(message)`. */
|
|
1285
|
+
approvalId: string;
|
|
1286
|
+
/** The asking agent's name (the message's sender) when the directory doesn't know it. */
|
|
1287
|
+
agentName?: string | null;
|
|
1288
|
+
className?: string;
|
|
1289
|
+
}
|
|
1290
|
+
/**
|
|
1291
|
+
* The approval an agent's message waits for (`agent_meta.approval_id`),
|
|
1292
|
+
* loaded and kept live. Nothing shows for someone else's approval —
|
|
1293
|
+
* only the person asked can see and answer it.
|
|
1294
|
+
*/
|
|
1295
|
+
declare function MessageApproval({ approvalId, agentName, className }: MessageApprovalProps): react_jsx_runtime.JSX.Element | null;
|
|
1296
|
+
interface ApprovalListProps {
|
|
1297
|
+
/** Shown when nothing is waiting. */
|
|
1298
|
+
emptyState?: ReactNode;
|
|
1299
|
+
/** Re-list every so often as a fallback to live events (ms; 0 = never). Defaults to 60 s. */
|
|
1300
|
+
pollMs?: number;
|
|
1301
|
+
className?: string;
|
|
1302
|
+
}
|
|
1303
|
+
/** Everything waiting for your approval, newest first, live. */
|
|
1304
|
+
declare function ApprovalList({ emptyState, pollMs, className }: ApprovalListProps): react_jsx_runtime.JSX.Element;
|
|
1305
|
+
interface MessageCitationsProps {
|
|
1306
|
+
message: Message;
|
|
1307
|
+
/** Defaults to `citationsOf(message)`. */
|
|
1308
|
+
citations?: Citation[];
|
|
1309
|
+
/** Defaults to the `MessageExtrasProvider`'s `onOpenCitation`. */
|
|
1310
|
+
onOpenCitation?: (citation: Citation, message: Message) => void;
|
|
1311
|
+
className?: string;
|
|
1312
|
+
}
|
|
1313
|
+
/**
|
|
1314
|
+
* The sources of an assistant's answer as links: a message (focus it),
|
|
1315
|
+
* a file, or a moment of a meeting (with its time). Plain text when
|
|
1316
|
+
* nothing handles a press.
|
|
1317
|
+
*/
|
|
1318
|
+
declare function MessageCitations({ message, citations, onOpenCitation, className, }: MessageCitationsProps): react_jsx_runtime.JSX.Element | null;
|
|
1319
|
+
|
|
1320
|
+
interface SummaryCardProps {
|
|
1321
|
+
/** From `parseCallSummary(message)` or `meetings.summary(callId)`. */
|
|
1322
|
+
summary: CallSummary;
|
|
1323
|
+
/**
|
|
1324
|
+
* A point of the call was pressed: open its recording (`recordingId` +
|
|
1325
|
+
* `recordingMs`) or transcript (`startMs`). Defaults to the
|
|
1326
|
+
* `MessageExtrasProvider`'s; without one, times are plain text.
|
|
1327
|
+
*/
|
|
1328
|
+
onOpenMoment?: (moment: MeetingMoment) => void;
|
|
1329
|
+
/** A poolse user id → name, for assignees. Defaults to the provider's, then the conversation's members. */
|
|
1330
|
+
nameForUserId?: (userId: string) => string | null | undefined;
|
|
1331
|
+
/**
|
|
1332
|
+
* Fetch the full summary when this copy is `shortened`, and follow
|
|
1333
|
+
* `summary:ready` (regenerated, failed, deleted). Defaults to true.
|
|
1334
|
+
*/
|
|
1335
|
+
live?: boolean;
|
|
1336
|
+
className?: string;
|
|
1337
|
+
}
|
|
1338
|
+
/**
|
|
1339
|
+
* A call's summary: overview, decisions, action items (who and when),
|
|
1340
|
+
* open questions, the style's own sections and key moments — every line
|
|
1341
|
+
* the model tied to a moment links to it. Empty sections are left out.
|
|
1342
|
+
*/
|
|
1343
|
+
declare function SummaryCard({ summary: initial, onOpenMoment, nameForUserId, live, className, }: SummaryCardProps): react_jsx_runtime.JSX.Element;
|
|
1344
|
+
interface SummaryMessageRowProps {
|
|
1345
|
+
msg: Message;
|
|
1346
|
+
meId: string | null;
|
|
1347
|
+
nameForUserId?: (userId: string) => string | null | undefined;
|
|
1348
|
+
}
|
|
1349
|
+
/** A `kind: "call_summary"` message in a list: who posted it, then the card. */
|
|
1350
|
+
declare function SummaryMessageRow({ msg, nameForUserId }: SummaryMessageRowProps): react_jsx_runtime.JSX.Element | null;
|
|
1351
|
+
interface AskMeetingsProps {
|
|
1352
|
+
/** Ask about one call; omit for all of them. */
|
|
1353
|
+
callId?: string | null;
|
|
1354
|
+
/** Ask about one conversation's meetings. */
|
|
1355
|
+
conversationId?: string | null;
|
|
1356
|
+
/** A source in the answer was pressed. Defaults to the provider's `onOpenMoment`. */
|
|
1357
|
+
onOpenMoment?: (moment: MeetingMoment) => void;
|
|
1358
|
+
placeholder?: string;
|
|
1359
|
+
className?: string;
|
|
1360
|
+
}
|
|
1361
|
+
/**
|
|
1362
|
+
* "What did we agree with Acme about pricing?" — a question box and its
|
|
1363
|
+
* answer, with links to the moments it comes from. Only meetings the
|
|
1364
|
+
* viewer could see are searched.
|
|
1365
|
+
*/
|
|
1366
|
+
declare function AskMeetings({ callId, conversationId, onOpenMoment, placeholder, className, }: AskMeetingsProps): react_jsx_runtime.JSX.Element;
|
|
1367
|
+
interface ClipPlayerProps {
|
|
1368
|
+
/** A clip shared in chat (an attachment) — plays its own file. */
|
|
1369
|
+
attachment?: Attachment | null;
|
|
1370
|
+
/** A clip by id (`meetings.createClip`) — shows "Cutting…" until `clip:ready`. */
|
|
1371
|
+
clipId?: string | null;
|
|
1372
|
+
/** Or a range of a recording, without a cut: plays it from `startMs` to `endMs`. */
|
|
1373
|
+
clip?: {
|
|
1374
|
+
recordingId: string;
|
|
1375
|
+
startMs: number;
|
|
1376
|
+
endMs: number;
|
|
1377
|
+
} | null;
|
|
1378
|
+
/** "Open the recording" — at the clip's start (recording time). */
|
|
1379
|
+
onOpenRecording?: (recordingId: string, startMs: number) => void;
|
|
1380
|
+
/** A slimmer layout, inside a message. */
|
|
1381
|
+
compact?: boolean;
|
|
1382
|
+
className?: string;
|
|
1383
|
+
}
|
|
1384
|
+
/** A short piece of a call's recording. */
|
|
1385
|
+
declare function ClipPlayer({ attachment, clipId, clip: rangeClip, onOpenRecording, compact, className, }: ClipPlayerProps): react_jsx_runtime.JSX.Element;
|
|
1386
|
+
interface RecordingPlayerProps {
|
|
1387
|
+
/** The recording (`useRecordings(conversationId)` items carry `id`). */
|
|
1388
|
+
recordingId: string;
|
|
1389
|
+
/** The transcript beside it, following playback. Defaults to true. */
|
|
1390
|
+
showTranscript?: boolean;
|
|
1391
|
+
/** Start here (recording ms — a moment's `recordingMs`); a new value seeks. */
|
|
1392
|
+
startMs?: number | null;
|
|
1393
|
+
/** Skip silence starts on. Defaults to false. */
|
|
1394
|
+
defaultSkipSilence?: boolean;
|
|
1395
|
+
className?: string;
|
|
1396
|
+
}
|
|
1397
|
+
/** Control the player from outside (e.g. a citation seeking it). */
|
|
1398
|
+
interface RecordingPlayerHandle {
|
|
1399
|
+
/** Seek to recording time `ms` and play. */
|
|
1400
|
+
seek: (ms: number) => void;
|
|
1401
|
+
/** Seek to transcript time `ms` (a summary item's `startMs`) and play. */
|
|
1402
|
+
seekTranscript: (ms: number) => void;
|
|
1403
|
+
play: () => void;
|
|
1404
|
+
pause: () => void;
|
|
1405
|
+
}
|
|
1406
|
+
/**
|
|
1407
|
+
* A finished recording (`GET /v1/recordings/:id/playback`): play at 1×,
|
|
1408
|
+
* 1.25×, 1.5× or 2×, skip silence (the recording's silences, else the
|
|
1409
|
+
* gaps between transcript lines), jump by chapter, and read the
|
|
1410
|
+
* transcript as it scrolls along — press a line to play from there.
|
|
1411
|
+
* Expired links (they last five minutes) are renewed by themselves.
|
|
1412
|
+
*/
|
|
1413
|
+
declare const RecordingPlayer: react.ForwardRefExoticComponent<RecordingPlayerProps & react.RefAttributes<RecordingPlayerHandle>>;
|
|
1414
|
+
|
|
1415
|
+
/** Resolves a poolse user id to a name. */
|
|
1416
|
+
type NameFor = (userId: string) => string | null | undefined;
|
|
1417
|
+
interface StagePanelProps {
|
|
1418
|
+
stage: UseStage;
|
|
1419
|
+
/** Who is in the call now (`useCallRoom().participants`) — everyone listed is here. */
|
|
1420
|
+
participants: readonly CallParticipant[];
|
|
1421
|
+
nameFor?: NameFor;
|
|
1422
|
+
/** The call's agents (`useCallAgents().agents`), listed with the Agent badge. */
|
|
1423
|
+
agents?: readonly CallAgent$1[];
|
|
1424
|
+
className?: string;
|
|
1425
|
+
}
|
|
1426
|
+
/**
|
|
1427
|
+
* Speakers and audience, raised hands oldest first, your own hand
|
|
1428
|
+
* button; moderators bring people up, send them back and lower hands.
|
|
1429
|
+
* In a `meeting`-mode call (no audience) it shows only raised hands.
|
|
1430
|
+
*/
|
|
1431
|
+
declare function StagePanel({ stage, participants, nameFor, agents, className }: StagePanelProps): react_jsx_runtime.JSX.Element;
|
|
1432
|
+
interface QuestionsPanelProps {
|
|
1433
|
+
questions: UseQuestions;
|
|
1434
|
+
/** Moderators mark questions answered or dismiss them. */
|
|
1435
|
+
canModerate?: boolean;
|
|
1436
|
+
/** Offer asking anonymously. Defaults to true. */
|
|
1437
|
+
allowAnonymous?: boolean;
|
|
1438
|
+
nameFor?: NameFor;
|
|
1439
|
+
className?: string;
|
|
1440
|
+
}
|
|
1441
|
+
/** Ask, upvote and (moderators) answer questions, most voted first. */
|
|
1442
|
+
declare function QuestionsPanel({ questions, canModerate, allowAnonymous, nameFor, className, }: QuestionsPanelProps): react_jsx_runtime.JSX.Element;
|
|
1443
|
+
interface BreakoutBannerProps {
|
|
1444
|
+
breakouts: UseBreakouts;
|
|
1445
|
+
/** Connect to your room's session (`breakouts.join` resolved). */
|
|
1446
|
+
onJoinRoom?: (roomId: string) => void;
|
|
1447
|
+
/** Back to the main call. */
|
|
1448
|
+
onReturn?: () => void;
|
|
1449
|
+
/** You are in your breakout room right now (hides Join, shows Return). */
|
|
1450
|
+
inRoom?: boolean;
|
|
1451
|
+
className?: string;
|
|
1452
|
+
}
|
|
1453
|
+
/**
|
|
1454
|
+
* "You're in Room 2 · 4:59 left · Join room" while breakouts run;
|
|
1455
|
+
* "Returning to the main call in 0:45" while they close. Nothing when
|
|
1456
|
+
* none are open or you are not assigned.
|
|
1457
|
+
*/
|
|
1458
|
+
declare function BreakoutBanner({ breakouts, onJoinRoom, onReturn, inRoom, className, }: BreakoutBannerProps): react_jsx_runtime.JSX.Element | null;
|
|
1459
|
+
interface BreakoutHostPanelProps {
|
|
1460
|
+
breakouts: UseBreakouts;
|
|
1461
|
+
/** Who can be split (everyone in the call but you, usually). */
|
|
1462
|
+
userIds: readonly string[];
|
|
1463
|
+
nameFor?: NameFor;
|
|
1464
|
+
className?: string;
|
|
1465
|
+
}
|
|
1466
|
+
/**
|
|
1467
|
+
* The host's breakout controls: how many rooms and for how long, a
|
|
1468
|
+
* preview of who goes where, Open; then the room list with who is in
|
|
1469
|
+
* each, and "Bring everyone back".
|
|
1470
|
+
*/
|
|
1471
|
+
declare function BreakoutHostPanel({ breakouts, userIds, nameFor, className, }: BreakoutHostPanelProps): react_jsx_runtime.JSX.Element;
|
|
1472
|
+
interface LobbyWaitingProps {
|
|
1473
|
+
/** From `waitInLobby`'s `onStatus`. */
|
|
1474
|
+
status: GuestLobbyStatus['status'];
|
|
1475
|
+
/** The name the guest typed. */
|
|
1476
|
+
name?: string | null;
|
|
1477
|
+
meetingTitle?: string | null;
|
|
1478
|
+
onLeave?: () => void;
|
|
1479
|
+
/** Camera preview or anything else to show while waiting. */
|
|
1480
|
+
children?: ReactNode;
|
|
1481
|
+
className?: string;
|
|
1482
|
+
}
|
|
1483
|
+
/** The guest's waiting screen: "Waiting for the host to let you in". */
|
|
1484
|
+
declare function LobbyWaiting({ status, name, meetingTitle, onLeave, children, className, }: LobbyWaitingProps): react_jsx_runtime.JSX.Element;
|
|
1485
|
+
interface LobbyAdmitListProps {
|
|
1486
|
+
lobby: UseLobby;
|
|
1487
|
+
className?: string;
|
|
1488
|
+
}
|
|
1489
|
+
/** Members' view of the lobby: who is waiting, with Admit and Deny. Nothing when nobody waits. */
|
|
1490
|
+
declare function LobbyAdmitList({ lobby, className }: LobbyAdmitListProps): react_jsx_runtime.JSX.Element | null;
|
|
1491
|
+
interface CaptionsOverlayProps {
|
|
1492
|
+
/** `useLiveTranscript(callId)` — captions are the live transcript. */
|
|
1493
|
+
transcript: Pick<UseLiveTranscript, 'segments' | 'live'>;
|
|
1494
|
+
/** How many lines to show. Defaults to 2. */
|
|
1495
|
+
lines?: number;
|
|
1496
|
+
className?: string;
|
|
1497
|
+
}
|
|
1498
|
+
/** The last few lines of the live transcript over the call, speaker first. */
|
|
1499
|
+
declare function CaptionsOverlay({ transcript, lines, className }: CaptionsOverlayProps): react_jsx_runtime.JSX.Element | null;
|
|
1500
|
+
interface CaptionsButtonProps {
|
|
1501
|
+
/** `useCaptions(conversationId, callId, me.id)`. */
|
|
1502
|
+
captions: UseCaptions;
|
|
1503
|
+
}
|
|
1504
|
+
/** "Captions" call control: turns your captions on and off. */
|
|
1505
|
+
declare function CaptionsButton({ captions }: CaptionsButtonProps): react_jsx_runtime.JSX.Element;
|
|
1506
|
+
interface MarkMomentButtonProps {
|
|
1507
|
+
moments: UseMoments;
|
|
1508
|
+
}
|
|
1509
|
+
/**
|
|
1510
|
+
* "Mark": tap when something important is said; that moment is
|
|
1511
|
+
* highlighted in the recording and the summary. Shows "Marked" for a
|
|
1512
|
+
* moment after. A round call control, to sit with the others.
|
|
1513
|
+
*/
|
|
1514
|
+
declare function MarkMomentButton({ moments }: MarkMomentButtonProps): react_jsx_runtime.JSX.Element;
|
|
1515
|
+
interface ConnectionIndicatorProps {
|
|
1516
|
+
quality: CallConnectionQuality | 'good' | 'poor' | 'lost' | 'unknown' | undefined;
|
|
1517
|
+
className?: string;
|
|
1518
|
+
}
|
|
1519
|
+
/** Three signal bars for one person's link; a label for screen readers and the tooltip. */
|
|
1520
|
+
declare function ConnectionIndicator({ quality, className }: ConnectionIndicatorProps): react_jsx_runtime.JSX.Element;
|
|
1521
|
+
interface NetworkBannerProps {
|
|
1522
|
+
/** `useCallQuality(room)`, or issues of your own (`diagnoseCallNetwork`). */
|
|
1523
|
+
report?: CallQualityReport | null;
|
|
1524
|
+
issues?: readonly CallNetworkIssue[];
|
|
1525
|
+
/** Let the person hide the current warning (it comes back when it changes). */
|
|
1526
|
+
dismissible?: boolean;
|
|
1527
|
+
className?: string;
|
|
1528
|
+
}
|
|
1529
|
+
/** "Your network is dropping packets — others may hear you break up." Nothing while all is well. */
|
|
1530
|
+
declare function NetworkBanner({ report, issues, dismissible, className, }: NetworkBannerProps): react_jsx_runtime.JSX.Element | null;
|
|
1531
|
+
interface RoomPresenceProps {
|
|
1532
|
+
/** `useRoomPresence().presence[conversationId]`, or `useLiveCall(id).call`. */
|
|
1533
|
+
call: RoomPresenceEntry | LiveCall | null | undefined;
|
|
1534
|
+
/** Avatars before "+N". Defaults to 3. */
|
|
1535
|
+
max?: number;
|
|
1536
|
+
className?: string;
|
|
1537
|
+
}
|
|
1538
|
+
/** Who's in a room, for a sidebar row: a few faces and the count. Nothing when empty. */
|
|
1539
|
+
declare function RoomPresence({ call, max, className }: RoomPresenceProps): react_jsx_runtime.JSX.Element | null;
|
|
1540
|
+
interface AgendaPanelProps {
|
|
1541
|
+
agenda: UseAgenda;
|
|
1542
|
+
/** May check items off (the organizer, or everyone). Defaults to true. */
|
|
1543
|
+
canEdit?: boolean;
|
|
1544
|
+
nameFor?: NameFor;
|
|
1545
|
+
className?: string;
|
|
1546
|
+
}
|
|
1547
|
+
/** The meeting's agenda during the call: the current item highlighted, check items off, an over-time nudge. */
|
|
1548
|
+
declare function AgendaPanel({ agenda, canEdit, nameFor, className }: AgendaPanelProps): react_jsx_runtime.JSX.Element | null;
|
|
1549
|
+
interface ReactionsOverlayProps {
|
|
1550
|
+
reactions: readonly CallReaction[];
|
|
1551
|
+
nameFor?: NameFor;
|
|
1552
|
+
className?: string;
|
|
1553
|
+
}
|
|
1554
|
+
/** Emoji floating up over the call, with who sent them. Decorative: hidden from screen readers. */
|
|
1555
|
+
declare function ReactionsOverlay({ reactions, nameFor, className }: ReactionsOverlayProps): react_jsx_runtime.JSX.Element;
|
|
1556
|
+
interface ReactionBarProps {
|
|
1557
|
+
send: UseCallReactions['send'];
|
|
1558
|
+
emoji?: readonly string[];
|
|
1559
|
+
className?: string;
|
|
1560
|
+
}
|
|
1561
|
+
/** A row of reaction buttons for the call controls. */
|
|
1562
|
+
declare function ReactionBar({ send, emoji, className }: ReactionBarProps): react_jsx_runtime.JSX.Element;
|
|
1563
|
+
interface InCallChatPanelProps {
|
|
1564
|
+
/** The call's conversation: its chat stays with the meeting afterwards. */
|
|
1565
|
+
conversationId: string;
|
|
1566
|
+
/** The live call: messages sent here are tagged with it (`call_id`). */
|
|
1567
|
+
callId?: string | null;
|
|
1568
|
+
onClose?: () => void;
|
|
1569
|
+
className?: string;
|
|
1570
|
+
}
|
|
1571
|
+
/** The call's chat beside the video: the conversation itself, in a narrow panel. */
|
|
1572
|
+
declare function InCallChatPanel({ conversationId, callId, onClose, className, }: InCallChatPanelProps): react_jsx_runtime.JSX.Element;
|
|
1573
|
+
interface BackgroundMenuProps {
|
|
1574
|
+
/** `useCallRoom(…)`: `background`, `setBackground`, `backgroundSupported`, noise suppression. */
|
|
1575
|
+
media: {
|
|
1576
|
+
background: CallBackground;
|
|
1577
|
+
setBackground: (effect: CallBackground) => Promise<boolean>;
|
|
1578
|
+
backgroundSupported: boolean;
|
|
1579
|
+
noiseSuppression: boolean;
|
|
1580
|
+
setNoiseSuppression: (enabled: boolean) => Promise<void>;
|
|
1581
|
+
};
|
|
1582
|
+
/** Pictures to offer as backgrounds (URLs the page can load). */
|
|
1583
|
+
images?: ReadonlyArray<{
|
|
1584
|
+
url: string;
|
|
1585
|
+
label: string;
|
|
1586
|
+
}>;
|
|
1587
|
+
className?: string;
|
|
1588
|
+
}
|
|
1589
|
+
/** Camera background (none, blur, a picture) and the noise suppression switch. */
|
|
1590
|
+
declare function BackgroundMenu({ media, images, className }: BackgroundMenuProps): react_jsx_runtime.JSX.Element;
|
|
1591
|
+
interface MoveCallHereBarProps {
|
|
1592
|
+
/** `inCallElsewhere(live, me.id, connectedHere)`. */
|
|
1593
|
+
visible: boolean;
|
|
1594
|
+
onMove: () => void;
|
|
1595
|
+
pending?: boolean;
|
|
1596
|
+
className?: string;
|
|
1597
|
+
}
|
|
1598
|
+
/** "You're in this call on another device · Move here". */
|
|
1599
|
+
declare function MoveCallHereBar({ visible, onMove, pending, className }: MoveCallHereBarProps): react_jsx_runtime.JSX.Element | null;
|
|
1600
|
+
|
|
1601
|
+
interface MeetingCardProps {
|
|
1602
|
+
card: MeetingCard$1;
|
|
1603
|
+
/** Your poolse user id, to find your answer in the lists. */
|
|
1604
|
+
selfUserId?: string | null;
|
|
1605
|
+
/**
|
|
1606
|
+
* Record an answer yourself; resolve false (or throw) to show it
|
|
1607
|
+
* failed. Default: `poolse.live.meetings.rsvp` when inside a
|
|
1608
|
+
* `PoolseProvider`. `false` hides the buttons.
|
|
1609
|
+
*/
|
|
1610
|
+
onRsvp?: ((response: RsvpResponse, card: MeetingCard$1) => Promise<boolean | void> | void) | false;
|
|
1611
|
+
/** Join the meeting (its room or live call). */
|
|
1612
|
+
onJoin?: (card: MeetingCard$1) => void;
|
|
1613
|
+
/** Locale for the date and time. Defaults to the browser's. */
|
|
1614
|
+
locale?: string;
|
|
1615
|
+
className?: string;
|
|
1616
|
+
}
|
|
1617
|
+
/** "Tue 25 Nov · 10:00–10:30" — same day shown once. */
|
|
1618
|
+
declare function formatMeetingTime(startsAt: string | null, endsAt: string | null, locale?: string): string | null;
|
|
1619
|
+
/** The invite card with Accept / Maybe / Decline and Join. */
|
|
1620
|
+
declare function MeetingCard({ card, selfUserId, onRsvp, onJoin, locale, className, }: MeetingCardProps): react_jsx_runtime.JSX.Element;
|
|
1621
|
+
|
|
1622
|
+
type WhiteboardTool = 'pen' | WhiteboardShapeKind | 'text' | 'eraser';
|
|
1623
|
+
/** The pen colours offered; any `#rrggbb` works through the API. */
|
|
1624
|
+
declare const WHITEBOARD_COLORS: readonly ["#1f2328", "#e5484d", "#f76b15", "#30a46c", "#0090ff", "#8e4ec6"];
|
|
1625
|
+
/** One board item as SVG. Exported for a read-only render of your own. */
|
|
1626
|
+
declare function WhiteboardItemSvg({ item }: {
|
|
1627
|
+
item: WhiteboardItem;
|
|
1628
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1629
|
+
interface WhiteboardProps {
|
|
1630
|
+
/** `useWhiteboard(callId, Y)`. */
|
|
1631
|
+
board: UseWhiteboard;
|
|
1632
|
+
/** Force view-only (the relay's rights already decide). */
|
|
1633
|
+
readOnly?: boolean;
|
|
1634
|
+
className?: string;
|
|
1635
|
+
}
|
|
1636
|
+
/**
|
|
1637
|
+
* The call's shared board: pen, line, arrow, rectangle, ellipse, text and
|
|
1638
|
+
* eraser in six colours, undo / redo and clear. Everyone sees every line
|
|
1639
|
+
* as it is drawn; the server saves the board with the meeting.
|
|
1640
|
+
*/
|
|
1641
|
+
declare function Whiteboard({ board, readOnly, className }: WhiteboardProps): react_jsx_runtime.JSX.Element;
|
|
1642
|
+
interface AnnotationOverlayProps {
|
|
1643
|
+
/** `useScreenAnnotations(media.room, sharerUserId)`. */
|
|
1644
|
+
ink: UseScreenAnnotations;
|
|
1645
|
+
/** Draw (and point) on the screen; off, only show what others draw. Defaults to true. */
|
|
1646
|
+
interactive?: boolean;
|
|
1647
|
+
color?: string;
|
|
1648
|
+
/** Names for the pointer labels. */
|
|
1649
|
+
nameFor?: (userId: string) => string | null | undefined;
|
|
1650
|
+
className?: string;
|
|
1651
|
+
}
|
|
1652
|
+
/**
|
|
1653
|
+
* Lay over the shared screen's video, same box: a pointer for everyone,
|
|
1654
|
+
* and a pen. Coordinates are fractions of the picture, so it lines up on
|
|
1655
|
+
* any screen size; keep the video `object-fit: contain` and this overlay
|
|
1656
|
+
* the size of the picture, not the letterbox.
|
|
1657
|
+
*/
|
|
1658
|
+
declare function AnnotationOverlay({ ink, interactive, color, nameFor, className, }: AnnotationOverlayProps): react_jsx_runtime.JSX.Element | null;
|
|
1659
|
+
|
|
1660
|
+
/** Which kind of picture-in-picture this browser offers. */
|
|
1661
|
+
type PictureInPictureKind = 'document' | 'video' | 'none';
|
|
1662
|
+
/** What this browser can do: `document` (any UI), `video` (one video element) or `none`. */
|
|
1663
|
+
declare function pictureInPictureSupport(): PictureInPictureKind;
|
|
1664
|
+
interface UsePictureInPicture {
|
|
1665
|
+
kind: PictureInPictureKind;
|
|
1666
|
+
/** The call is floating. */
|
|
1667
|
+
active: boolean;
|
|
1668
|
+
/** The PiP window's body while Document PiP is open — portal target for `<CallPictureInPicture>`. */
|
|
1669
|
+
container: HTMLElement | null;
|
|
1670
|
+
/**
|
|
1671
|
+
* Float the call. Document PiP opens a window of `width` × `height`
|
|
1672
|
+
* (default 360 × 240); video PiP floats `video` (required there).
|
|
1673
|
+
* Must run from a click. Resolves false when nothing could be opened.
|
|
1674
|
+
*/
|
|
1675
|
+
open: (opts?: {
|
|
1676
|
+
video?: HTMLVideoElement | null;
|
|
1677
|
+
width?: number;
|
|
1678
|
+
height?: number;
|
|
1679
|
+
}) => Promise<boolean>;
|
|
1680
|
+
close: () => void;
|
|
1681
|
+
}
|
|
1682
|
+
/** Picture-in-picture for a call screen. Closes itself on unmount. */
|
|
1683
|
+
declare function usePictureInPicture(): UsePictureInPicture;
|
|
1684
|
+
interface CallPictureInPictureProps {
|
|
1685
|
+
pip: UsePictureInPicture;
|
|
1686
|
+
/** What floats: the tiles and controls. Rendered only while Document PiP is open. */
|
|
1687
|
+
children: ReactNode;
|
|
1688
|
+
}
|
|
1689
|
+
/** Renders `children` into the Document PiP window while it is open; nothing otherwise. */
|
|
1690
|
+
declare function CallPictureInPicture({ pip, children }: CallPictureInPictureProps): react.ReactPortal | null;
|
|
1691
|
+
|
|
1692
|
+
interface MessageExtrasHandlers {
|
|
1693
|
+
/**
|
|
1694
|
+
* A citation was pressed. A `message` citation: focus that message;
|
|
1695
|
+
* `transcript`: open the call at `startMs`; `file`: open the file.
|
|
1696
|
+
* `<ConversationView>` focuses messages of its own conversation by
|
|
1697
|
+
* itself when this isn't given.
|
|
1698
|
+
*/
|
|
1699
|
+
onOpenCitation?: (citation: Citation, message: Message) => void;
|
|
1700
|
+
/**
|
|
1701
|
+
* A point in a call was pressed (a summary line or moment, a source of
|
|
1702
|
+
* an answer): open its recording at `recordingMs` (when `recordingId`
|
|
1703
|
+
* is set) or its transcript at `startMs`.
|
|
1704
|
+
*/
|
|
1705
|
+
onOpenMoment?: (moment: MeetingMoment) => void;
|
|
1706
|
+
/** A poolse user id → display name (assignees in summaries). Unknown: null. */
|
|
1707
|
+
nameForUserId?: (userId: string) => string | null | undefined;
|
|
1708
|
+
/**
|
|
1709
|
+
* A poolse user id → their `external_id`, so a name can be resolved
|
|
1710
|
+
* (and kept live) with `useUser`. `<ConversationView>` maps its members.
|
|
1711
|
+
*/
|
|
1712
|
+
externalIdForUserId?: (userId: string) => string | null | undefined;
|
|
1713
|
+
}
|
|
1714
|
+
declare function MessageExtrasProvider({ value, children, }: {
|
|
1715
|
+
value: MessageExtrasHandlers;
|
|
1716
|
+
children: ReactNode;
|
|
1717
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1718
|
+
/** The nearest `MessageExtrasProvider`'s handlers (empty without one). */
|
|
1719
|
+
declare function useMessageExtras(): MessageExtrasHandlers;
|
|
1720
|
+
|
|
1173
1721
|
interface EditedLabelProps {
|
|
1174
1722
|
messageId: Uuid;
|
|
1175
1723
|
/** The label. Defaults to `"edited"`. */
|
|
@@ -1211,10 +1759,7 @@ interface MessageComposerProps {
|
|
|
1211
1759
|
* files were attached. Return value is awaited so the composer can
|
|
1212
1760
|
* stay disabled until send completes.
|
|
1213
1761
|
*/
|
|
1214
|
-
onSend: (body: string, opts?:
|
|
1215
|
-
quoted_message_id?: Uuid;
|
|
1216
|
-
attachment_ids?: Uuid[];
|
|
1217
|
-
}) => Promise<unknown> | void;
|
|
1762
|
+
onSend: (body: string, opts?: ComposerSendOptions) => Promise<unknown> | void;
|
|
1218
1763
|
/** Called on every keystroke. Hook this to `useTyping().signalTyping`. */
|
|
1219
1764
|
onTyping?: () => void;
|
|
1220
1765
|
placeholder?: string;
|
|
@@ -1263,6 +1808,29 @@ interface MessageComposerProps {
|
|
|
1263
1808
|
* when there's none to edit (the caret then moves as usual).
|
|
1264
1809
|
*/
|
|
1265
1810
|
onEditLast?: () => boolean | void;
|
|
1811
|
+
/**
|
|
1812
|
+
* Show the Markdown formatting toolbar (bold, italic, strike, code,
|
|
1813
|
+
* link, quote, lists, checklist, code block, table) above the input.
|
|
1814
|
+
* The Mod+B / I / E / K and Mod+Shift+X shortcuts work either way.
|
|
1815
|
+
* Default `false`. Pass an array to choose the buttons and their order.
|
|
1816
|
+
*/
|
|
1817
|
+
formattingToolbar?: boolean | readonly FormatKind[];
|
|
1818
|
+
/**
|
|
1819
|
+
* Slash commands to suggest when the message starts with `/` (IN3):
|
|
1820
|
+
* the apps' commands from the Workspace API. Picking one inserts
|
|
1821
|
+
* `/name `; the message is sent as typed (`parseSlashCommand` splits it).
|
|
1822
|
+
*/
|
|
1823
|
+
commands?: readonly SlashCommand[];
|
|
1824
|
+
}
|
|
1825
|
+
/** The second argument of `onSend`. */
|
|
1826
|
+
interface ComposerSendOptions {
|
|
1827
|
+
quoted_message_id?: Uuid;
|
|
1828
|
+
attachment_ids?: Uuid[];
|
|
1829
|
+
/**
|
|
1830
|
+
* Set when the sender chose "Send anyway" on a data-loss-prevention
|
|
1831
|
+
* warning (AD6): pass it on to `messages.send`.
|
|
1832
|
+
*/
|
|
1833
|
+
dlp_acknowledged?: true;
|
|
1266
1834
|
}
|
|
1267
1835
|
/**
|
|
1268
1836
|
* Imperative handle exposed via `ref` for parents that want to forward
|
|
@@ -1291,6 +1859,27 @@ interface MessageComposerHandle {
|
|
|
1291
1859
|
*/
|
|
1292
1860
|
declare const MessageComposer: react.ForwardRefExoticComponent<MessageComposerProps & react.RefAttributes<MessageComposerHandle>>;
|
|
1293
1861
|
|
|
1862
|
+
/** A row of Markdown formatting buttons above the input. */
|
|
1863
|
+
declare function FormattingToolbar({ onFormat, disabled, actions, }: {
|
|
1864
|
+
onFormat: (kind: FormatKind) => void;
|
|
1865
|
+
disabled?: boolean;
|
|
1866
|
+
/** Which buttons, in order. Defaults to all of `FORMAT_ACTIONS`. */
|
|
1867
|
+
actions?: readonly FormatKind[];
|
|
1868
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1869
|
+
interface DlpWarningDialogProps {
|
|
1870
|
+
outcome: DlpOutcome;
|
|
1871
|
+
/** "Send anyway" (only offered for a warning, never for a block). */
|
|
1872
|
+
onSendAnyway?: () => void;
|
|
1873
|
+
/** "Edit message": back to the composer with the text kept. */
|
|
1874
|
+
onEdit: () => void;
|
|
1875
|
+
}
|
|
1876
|
+
/**
|
|
1877
|
+
* The dialog the composer shows when the server's data-loss-prevention
|
|
1878
|
+
* check warns about (or blocks) a message: which rules matched, and
|
|
1879
|
+
* "Edit message" / "Send anyway".
|
|
1880
|
+
*/
|
|
1881
|
+
declare function DlpWarningDialog({ outcome, onSendAnyway, onEdit }: DlpWarningDialogProps): react_jsx_runtime.JSX.Element;
|
|
1882
|
+
|
|
1294
1883
|
interface MessageActionsProps {
|
|
1295
1884
|
/** Triggered when the user picks an emoji. */
|
|
1296
1885
|
onReact?: (emoji: string) => void;
|
|
@@ -1310,6 +1899,16 @@ interface MessageActionsProps {
|
|
|
1310
1899
|
onEdit?: () => void;
|
|
1311
1900
|
/** Triggered when the user wants to delete. Only show on own messages. */
|
|
1312
1901
|
onDelete?: () => void;
|
|
1902
|
+
/** Pin or unpin (MS13); `pinned` says which the button does. */
|
|
1903
|
+
onTogglePin?: () => void;
|
|
1904
|
+
pinned?: boolean;
|
|
1905
|
+
/** Forward to other conversations (MS13): open your target picker (`<ForwardDialog>`). */
|
|
1906
|
+
onForward?: () => void;
|
|
1907
|
+
/** Translate (MS21), or back to the original when `translated`. */
|
|
1908
|
+
onTranslate?: () => void;
|
|
1909
|
+
translated?: boolean;
|
|
1910
|
+
/** The workspace's own emoji for the reaction picker (MS10). */
|
|
1911
|
+
customEmoji?: readonly CustomEmoji[];
|
|
1313
1912
|
/**
|
|
1314
1913
|
* Slack-style toolbar: React, Reply, Thread, then a "More" button
|
|
1315
1914
|
* whose menu holds Copy / Edit / Delete. Defaults to `false` (every
|
|
@@ -1319,7 +1918,7 @@ interface MessageActionsProps {
|
|
|
1319
1918
|
/** Render any extra trailing action buttons (e.g. "Pin"). */
|
|
1320
1919
|
children?: ReactNode;
|
|
1321
1920
|
}
|
|
1322
|
-
declare function MessageActions({ onReact, onReply, onQuote, onCopy, onMarkUnread, onEdit, onDelete, moreMenu, children, }: MessageActionsProps): react_jsx_runtime.JSX.Element;
|
|
1921
|
+
declare function MessageActions({ onReact, onReply, onQuote, onCopy, onMarkUnread, onEdit, onDelete, moreMenu, onTogglePin, pinned, onForward, onTranslate, translated, customEmoji, children, }: MessageActionsProps): react_jsx_runtime.JSX.Element;
|
|
1323
1922
|
|
|
1324
1923
|
interface TypingIndicatorProps {
|
|
1325
1924
|
/** Set of `external_id`s currently typing — what `useTyping` returns. */
|
|
@@ -1370,8 +1969,18 @@ interface ThreadViewProps {
|
|
|
1370
1969
|
maxFileSize?: number;
|
|
1371
1970
|
/** Accepted attachment types (see `MessageComposer`). */
|
|
1372
1971
|
acceptFileTypes?: string[];
|
|
1972
|
+
/**
|
|
1973
|
+
* A Follow / Following button in the header (MS19): who gets a push for
|
|
1974
|
+
* the thread's replies. Default `true`.
|
|
1975
|
+
*/
|
|
1976
|
+
follow?: boolean;
|
|
1977
|
+
/**
|
|
1978
|
+
* An "Also send to channel" checkbox under the composer (MS19). Default
|
|
1979
|
+
* `true`; turn it off in a direct message.
|
|
1980
|
+
*/
|
|
1981
|
+
alsoSendToChannel?: boolean;
|
|
1373
1982
|
}
|
|
1374
|
-
declare function ThreadView({ conversationId, rootMessage, onClose, renderMessage, layout, timeFormat, density, showAvatars, showPresence, linkPreviews, maxFileSize, acceptFileTypes, }: ThreadViewProps): react_jsx_runtime.JSX.Element;
|
|
1983
|
+
declare function ThreadView({ conversationId, rootMessage, onClose, renderMessage, layout, timeFormat, density, showAvatars, showPresence, linkPreviews, maxFileSize, acceptFileTypes, follow, alsoSendToChannel, }: ThreadViewProps): react_jsx_runtime.JSX.Element;
|
|
1375
1984
|
|
|
1376
1985
|
interface ThreadSummaryProps {
|
|
1377
1986
|
/** The thread's root message. Renders nothing without replies. */
|
|
@@ -1408,9 +2017,14 @@ interface AvatarProps {
|
|
|
1408
2017
|
userId?: string | null;
|
|
1409
2018
|
/** Size variant; defaults to `md` (40px). `xs` is 20px. */
|
|
1410
2019
|
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
2020
|
+
/**
|
|
2021
|
+
* An agent, not a person (AG1): a rounded-square avatar with a small
|
|
2022
|
+
* agent mark, and "(agent)" in its label. Pass `useUser(id).agent`.
|
|
2023
|
+
*/
|
|
2024
|
+
agent?: boolean;
|
|
1411
2025
|
className?: string;
|
|
1412
2026
|
}
|
|
1413
|
-
declare function Avatar({ src, name, online, presence, userId, size, className, }: AvatarProps): react_jsx_runtime.JSX.Element;
|
|
2027
|
+
declare function Avatar({ src, name, online, presence, userId, size, agent, className, }: AvatarProps): react_jsx_runtime.JSX.Element;
|
|
1414
2028
|
|
|
1415
2029
|
interface PresenceBadgeProps {
|
|
1416
2030
|
/** `online`, `away`, `in_call` or `offline` (offline renders nothing). */
|
|
@@ -1448,9 +2062,11 @@ interface UserNameProps {
|
|
|
1448
2062
|
labelFor?: (externalId: string) => string;
|
|
1449
2063
|
/** What to render when `externalId` itself is null (e.g. system messages). */
|
|
1450
2064
|
emptyFallback?: string;
|
|
2065
|
+
/** The Agent badge after an agent's name (AG1). Defaults to `true`. */
|
|
2066
|
+
agentBadge?: boolean;
|
|
1451
2067
|
className?: string;
|
|
1452
2068
|
}
|
|
1453
|
-
declare function UserName({ externalId, labelFor, emptyFallback, className, }: UserNameProps): react_jsx_runtime.JSX.Element;
|
|
2069
|
+
declare function UserName({ externalId, labelFor, emptyFallback, agentBadge, className, }: UserNameProps): react_jsx_runtime.JSX.Element;
|
|
1454
2070
|
/**
|
|
1455
2071
|
* Same priority chain as the component but as a plain hook so callers
|
|
1456
2072
|
* that need the resolved name in a string context (aria-label,
|
|
@@ -1634,20 +2250,24 @@ interface ReactionStripProps {
|
|
|
1634
2250
|
* to true; set false to render reactions as a read-only display.
|
|
1635
2251
|
*/
|
|
1636
2252
|
picker?: boolean;
|
|
2253
|
+
/** The workspace's own emoji (MS10); defaults to the nearest `<CustomEmojiProvider>`. */
|
|
2254
|
+
customEmoji?: readonly CustomEmoji[];
|
|
1637
2255
|
}
|
|
1638
2256
|
/**
|
|
1639
2257
|
* Inline strip of reaction pills with optional emoji picker. Clicking
|
|
1640
2258
|
* a pill the user already reacted with REMOVES that reaction;
|
|
1641
2259
|
* clicking one they haven't, ADDS it.
|
|
1642
2260
|
*/
|
|
1643
|
-
declare function ReactionStrip({ messageId, conversationId, initialReactions, currentUserId, picker, }: ReactionStripProps): react_jsx_runtime.JSX.Element | null;
|
|
2261
|
+
declare function ReactionStrip({ messageId, conversationId, initialReactions, currentUserId, picker, customEmoji, }: ReactionStripProps): react_jsx_runtime.JSX.Element | null;
|
|
1644
2262
|
/**
|
|
1645
2263
|
* Reaction picker popover: the six common reactions and a "+" that
|
|
1646
2264
|
* opens the full `<EmojiPicker>` (search, recently used, categories).
|
|
1647
2265
|
*/
|
|
1648
|
-
declare function ReactionPicker({ onPick, onClose, }: {
|
|
2266
|
+
declare function ReactionPicker({ onPick, onClose, customEmoji, }: {
|
|
1649
2267
|
onPick: (emoji: string) => void;
|
|
1650
2268
|
onClose?: () => void;
|
|
2269
|
+
/** The workspace's own emoji, offered in the full picker. */
|
|
2270
|
+
customEmoji?: readonly CustomEmoji[];
|
|
1651
2271
|
}): react_jsx_runtime.JSX.Element;
|
|
1652
2272
|
|
|
1653
2273
|
interface EmojiCategoryData {
|
|
@@ -1665,10 +2285,25 @@ interface EmojiPickerProps {
|
|
|
1665
2285
|
/** Focus the search field on open. Defaults to `true`. */
|
|
1666
2286
|
autoFocus?: boolean;
|
|
1667
2287
|
className?: string;
|
|
2288
|
+
/**
|
|
2289
|
+
* The workspace's own emoji (MS10), shown first as "Workspace" and in
|
|
2290
|
+
* search. Picking one gives its `:name:` token. Defaults to the nearest
|
|
2291
|
+
* `<CustomEmojiProvider>`.
|
|
2292
|
+
*/
|
|
2293
|
+
customEmoji?: readonly CustomEmoji[];
|
|
1668
2294
|
}
|
|
2295
|
+
/**
|
|
2296
|
+
* One emoji: the image of a known `:name:` custom emoji, else the text.
|
|
2297
|
+
* Unknown tokens show as their text.
|
|
2298
|
+
*/
|
|
2299
|
+
declare function EmojiGlyph({ emoji, size, customEmoji, }: {
|
|
2300
|
+
emoji: string;
|
|
2301
|
+
size?: number;
|
|
2302
|
+
customEmoji?: readonly CustomEmoji[];
|
|
2303
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1669
2304
|
/** Load the emoji list (once). Call it early to warm the picker. */
|
|
1670
2305
|
declare function loadEmojiData(): Promise<ReadonlyArray<EmojiCategoryData>>;
|
|
1671
|
-
declare function EmojiPicker({ onPick, onClose, autoFocus, className }: EmojiPickerProps): react_jsx_runtime.JSX.Element;
|
|
2306
|
+
declare function EmojiPicker({ onPick, onClose, autoFocus, className, customEmoji, }: EmojiPickerProps): react_jsx_runtime.JSX.Element;
|
|
1672
2307
|
|
|
1673
2308
|
interface MentionInputProps {
|
|
1674
2309
|
conversationId: Uuid;
|
|
@@ -1728,6 +2363,17 @@ interface MentionInputProps {
|
|
|
1728
2363
|
* when there's none to edit (the caret then moves as usual).
|
|
1729
2364
|
*/
|
|
1730
2365
|
onEditLast?: () => boolean | void;
|
|
2366
|
+
/** Same as `<MessageComposer formattingToolbar>`. Default `false`. */
|
|
2367
|
+
formattingToolbar?: boolean | readonly FormatKind[];
|
|
2368
|
+
/** Same as `<MessageComposer commands>`: `/command` suggestions. */
|
|
2369
|
+
commands?: readonly SlashCommand[];
|
|
2370
|
+
/**
|
|
2371
|
+
* User groups to offer next to members (MS9): `@design`, `@oncall`.
|
|
2372
|
+
* Picking one inserts `@handle`; the Workspace expands it when the
|
|
2373
|
+
* message arrives, so nothing extra is sent. Listed after matching
|
|
2374
|
+
* members, names first.
|
|
2375
|
+
*/
|
|
2376
|
+
groups?: readonly MentionGroup[];
|
|
1731
2377
|
}
|
|
1732
2378
|
declare const MentionInput: react.ForwardRefExoticComponent<MentionInputProps & react.RefAttributes<MessageComposerHandle>>;
|
|
1733
2379
|
|
|
@@ -1781,4 +2427,166 @@ declare function usePoolseFonts(enabled?: boolean): void;
|
|
|
1781
2427
|
*/
|
|
1782
2428
|
declare function PoolseFonts(): null;
|
|
1783
2429
|
|
|
1784
|
-
|
|
2430
|
+
interface PollCardProps {
|
|
2431
|
+
/** The question (the message's `body`). */
|
|
2432
|
+
question: string;
|
|
2433
|
+
poll: Poll;
|
|
2434
|
+
myOptionIds: readonly string[];
|
|
2435
|
+
/** Tap an option (`usePoll().toggle`). */
|
|
2436
|
+
onToggle?: (optionId: string) => void;
|
|
2437
|
+
/** Shows "Close poll" (its sender or an owner/admin). */
|
|
2438
|
+
onClose?: () => void;
|
|
2439
|
+
pending?: boolean;
|
|
2440
|
+
/** Show the results before you vote. Default: after voting, or once closed. */
|
|
2441
|
+
showResults?: boolean;
|
|
2442
|
+
className?: string;
|
|
2443
|
+
}
|
|
2444
|
+
declare function PollCard({ question, poll, myOptionIds, onToggle, onClose, pending, showResults, className, }: PollCardProps): react_jsx_runtime.JSX.Element;
|
|
2445
|
+
interface BlockRendererProps {
|
|
2446
|
+
blocks: readonly Block[];
|
|
2447
|
+
/** A button, a select or a form submit (`chat.messages.one(id).action(req)`). */
|
|
2448
|
+
onAction?: (req: BlockActionRequest) => Promise<unknown> | void;
|
|
2449
|
+
disabled?: boolean;
|
|
2450
|
+
className?: string;
|
|
2451
|
+
}
|
|
2452
|
+
/** Renders a `type: "blocks"` message: sections, context, dividers, images, buttons, menus and forms. */
|
|
2453
|
+
declare function BlockRenderer({ blocks, onAction, disabled, className, }: BlockRendererProps): react_jsx_runtime.JSX.Element;
|
|
2454
|
+
interface PinsListProps {
|
|
2455
|
+
pins: readonly Message[];
|
|
2456
|
+
/** Display name for a sender (`external_id`). Never shows the id itself. */
|
|
2457
|
+
labelFor?: (externalId: string) => string;
|
|
2458
|
+
onOpen?: (message: Message) => void;
|
|
2459
|
+
onUnpin?: (message: Message) => void;
|
|
2460
|
+
loading?: boolean;
|
|
2461
|
+
}
|
|
2462
|
+
declare function PinsList({ pins, labelFor, onOpen, onUnpin, loading }: PinsListProps): react_jsx_runtime.JSX.Element;
|
|
2463
|
+
interface ForwardTarget {
|
|
2464
|
+
id: Uuid;
|
|
2465
|
+
/** Channel or person name. */
|
|
2466
|
+
name: string;
|
|
2467
|
+
}
|
|
2468
|
+
interface ForwardDialogProps {
|
|
2469
|
+
targets: readonly ForwardTarget[];
|
|
2470
|
+
/** `chat.messages.one(id).forward({conversation_ids, comment})`. */
|
|
2471
|
+
onForward: (conversationIds: Uuid[], comment: string) => Promise<unknown> | void;
|
|
2472
|
+
onClose: () => void;
|
|
2473
|
+
/** Most targets at once (the server takes 10). */
|
|
2474
|
+
max?: number;
|
|
2475
|
+
}
|
|
2476
|
+
declare function ForwardDialog({ targets, onForward, onClose, max }: ForwardDialogProps): react_jsx_runtime.JSX.Element;
|
|
2477
|
+
/** "Forwarded from Ana" line for a forwarded copy. */
|
|
2478
|
+
declare function ForwardedLabel({ message, labelFor, }: {
|
|
2479
|
+
message: Pick<Message, 'forwarded_from'>;
|
|
2480
|
+
labelFor?: (externalId: string) => string;
|
|
2481
|
+
}): react_jsx_runtime.JSX.Element | null;
|
|
2482
|
+
interface FilesListProps {
|
|
2483
|
+
files: readonly Attachment[];
|
|
2484
|
+
/** Open (download or preview) a file. */
|
|
2485
|
+
onOpen?: (file: Attachment) => void;
|
|
2486
|
+
/** Its thumbnail URL when `has_thumbnail` (`chat.attachments.thumbnailUrl`, cached by the app). */
|
|
2487
|
+
thumbnailFor?: (file: Attachment) => string | null | undefined;
|
|
2488
|
+
/** Show its versions. */
|
|
2489
|
+
onVersions?: (file: Attachment) => void;
|
|
2490
|
+
hasMore?: boolean;
|
|
2491
|
+
onLoadMore?: () => void;
|
|
2492
|
+
loading?: boolean;
|
|
2493
|
+
}
|
|
2494
|
+
declare function FilesList({ files, onOpen, thumbnailFor, onVersions, hasMore, onLoadMore, loading, }: FilesListProps): react_jsx_runtime.JSX.Element;
|
|
2495
|
+
/** A post as the Workspace lists it (`GET /channels/:id/posts`), with names resolved by the app. */
|
|
2496
|
+
interface ForumPost {
|
|
2497
|
+
messageId: Uuid;
|
|
2498
|
+
/** The post's first line or snippet. */
|
|
2499
|
+
title: string;
|
|
2500
|
+
authorName: string;
|
|
2501
|
+
replyCount: number;
|
|
2502
|
+
lastActivityAt: string;
|
|
2503
|
+
tags?: readonly {
|
|
2504
|
+
name: string;
|
|
2505
|
+
color?: string | null;
|
|
2506
|
+
}[];
|
|
2507
|
+
}
|
|
2508
|
+
interface ForumPostListProps {
|
|
2509
|
+
posts: readonly ForumPost[];
|
|
2510
|
+
onOpen?: (post: ForumPost) => void;
|
|
2511
|
+
hasMore?: boolean;
|
|
2512
|
+
onLoadMore?: () => void;
|
|
2513
|
+
loading?: boolean;
|
|
2514
|
+
}
|
|
2515
|
+
declare function ForumPostList({ posts, onOpen, hasMore, onLoadMore, loading }: ForumPostListProps): react_jsx_runtime.JSX.Element;
|
|
2516
|
+
interface CatchUpCardProps {
|
|
2517
|
+
result: CatchUp | null;
|
|
2518
|
+
loading?: boolean;
|
|
2519
|
+
/** Shown as a short line ("Couldn't summarise right now"). */
|
|
2520
|
+
error?: unknown;
|
|
2521
|
+
/** "What did I miss?" (`useCatchUp().run`). */
|
|
2522
|
+
onRun?: () => void;
|
|
2523
|
+
/** Jump to a highlighted message. */
|
|
2524
|
+
onOpenMessage?: (messageId: Uuid, sequence: number) => void;
|
|
2525
|
+
onDismiss?: () => void;
|
|
2526
|
+
}
|
|
2527
|
+
declare function CatchUpCard({ result, loading, error, onRun, onOpenMessage, onDismiss, }: CatchUpCardProps): react_jsx_runtime.JSX.Element;
|
|
2528
|
+
interface TranslatedTextProps {
|
|
2529
|
+
/** The translated text, or `null` to show the original. */
|
|
2530
|
+
translation: string | null;
|
|
2531
|
+
/** Language name to show, e.g. "German" (not the tag). */
|
|
2532
|
+
languageName?: string;
|
|
2533
|
+
loading?: boolean;
|
|
2534
|
+
/** "Show original" / "Translate". */
|
|
2535
|
+
onToggle?: () => void;
|
|
2536
|
+
/** The original body, rendered as the app renders bodies. */
|
|
2537
|
+
children: ReactNode;
|
|
2538
|
+
}
|
|
2539
|
+
declare function TranslatedText({ translation, languageName, loading, onToggle, children, }: TranslatedTextProps): react_jsx_runtime.JSX.Element;
|
|
2540
|
+
/** The note id in a Workspace note link (`https://<address>/workspace/l/note/<id>`), or `null`. */
|
|
2541
|
+
declare function noteIdFromLink(url: string): string | null;
|
|
2542
|
+
interface NoteCardProps {
|
|
2543
|
+
/** Decrypted title; `null` while locked or for someone without access. */
|
|
2544
|
+
title: string | null;
|
|
2545
|
+
/** End-to-end encrypted: the title can only be read on your devices. */
|
|
2546
|
+
encrypted?: boolean;
|
|
2547
|
+
/** "Shared by Ana". */
|
|
2548
|
+
sharedByName?: string;
|
|
2549
|
+
updatedAt?: string;
|
|
2550
|
+
/** Has changed since you last opened it. */
|
|
2551
|
+
updated?: boolean;
|
|
2552
|
+
/** No access (revoked, expired, never shared). */
|
|
2553
|
+
unavailable?: boolean;
|
|
2554
|
+
onOpen?: () => void;
|
|
2555
|
+
}
|
|
2556
|
+
declare function NoteCard({ title, encrypted, sharedByName, updatedAt, updated, unavailable, onOpen, }: NoteCardProps): react_jsx_runtime.JSX.Element;
|
|
2557
|
+
/** `512 B`, `48 KB`, `3.2 MB`. */
|
|
2558
|
+
declare function formatBytes(n: number): string;
|
|
2559
|
+
|
|
2560
|
+
interface VoiceMessagePlayerProps {
|
|
2561
|
+
/** A playable URL (`chat.attachments.downloadUrl`). */
|
|
2562
|
+
src: string;
|
|
2563
|
+
/** For the duration (when the file has none yet) and the transcript. */
|
|
2564
|
+
attachment?: Attachment | null;
|
|
2565
|
+
/** Amplitude samples 0–1 for the waveform, if the app has them. */
|
|
2566
|
+
waveform?: readonly number[];
|
|
2567
|
+
className?: string;
|
|
2568
|
+
}
|
|
2569
|
+
declare function VoiceMessagePlayer({ src, attachment, waveform, className, }: VoiceMessagePlayerProps): react_jsx_runtime.JSX.Element;
|
|
2570
|
+
interface VideoMessagePlayerProps {
|
|
2571
|
+
src: string;
|
|
2572
|
+
/** Thumbnail URL (`chat.attachments.thumbnailUrl`). */
|
|
2573
|
+
poster?: string;
|
|
2574
|
+
attachment?: Attachment | null;
|
|
2575
|
+
className?: string;
|
|
2576
|
+
}
|
|
2577
|
+
/** A video message with its short summary, the transcript and 1×/1.5×/2×. */
|
|
2578
|
+
declare function VideoMessagePlayer({ src, poster, attachment, className, }: VideoMessagePlayerProps): react_jsx_runtime.JSX.Element;
|
|
2579
|
+
interface VoiceRecorderProps {
|
|
2580
|
+
/** The finished recording (webm/opus or mp4/aac, whatever the browser makes) and its length. */
|
|
2581
|
+
onRecorded: (blob: Blob, durationMs: number) => void | Promise<unknown>;
|
|
2582
|
+
/** Longest recording; it stops by itself. Default 15 minutes. */
|
|
2583
|
+
maxMs?: number;
|
|
2584
|
+
/** Record video (a video message, MS16) instead of audio. Capped at 5 minutes. */
|
|
2585
|
+
video?: boolean | 'screen';
|
|
2586
|
+
disabled?: boolean;
|
|
2587
|
+
onError?: (err: unknown) => void;
|
|
2588
|
+
}
|
|
2589
|
+
/** Press to record, press again to send; Cancel throws it away. MediaRecorder-based. */
|
|
2590
|
+
declare function VoiceRecorder({ onRecorded, maxMs, video, disabled, onError, }: VoiceRecorderProps): react_jsx_runtime.JSX.Element;
|
|
2591
|
+
|
|
2592
|
+
export { AgendaPanel, type AgendaPanelProps, AgentBadge, type AgentBadgeProps, AnnotationOverlay, type AnnotationOverlayProps, ApprovalCard, type ApprovalCardProps, ApprovalList, type ApprovalListProps, AskMeetings, type AskMeetingsProps, AttachmentPreview, type AttachmentPreviewProps, Avatar, type AvatarProps, BackgroundMenu, type BackgroundMenuProps, BlockRenderer, type BlockRendererProps, BreakoutBanner, type BreakoutBannerProps, BreakoutHostPanel, type BreakoutHostPanelProps, CallAgentTag, type CallAgentTagProps, CallControlButton, type CallControlButtonProps, CallDeviceMenu, type CallDeviceMenuProps, CallLogRow, type CallLogRowProps, CallPictureInPicture, type CallPictureInPictureProps, CallVideoGrid, type CallVideoGridProps, CaptionsButton, type CaptionsButtonProps, CaptionsOverlay, type CaptionsOverlayProps, CatchUpCard, type CatchUpCardProps, type ChatDensity, ChatHeader, type ChatHeaderProps, type ChatLayout, ClipPlayer, type ClipPlayerProps, type ComposerKeymap, type ComposerSendOptions, ConnectionIndicator, type ConnectionIndicatorProps, ConsentPrompt, type ConsentPromptProps, type ConversationDraft, ConversationList, type ConversationListProps, type ConversationListSection, ConversationView, type ConversationViewProps, DEFAULT_KEYMAP, DlpWarningDialog, type DlpWarningDialogProps, DraftScope, type DraftStorage, EditableMessageBubble, type EditableMessageBubbleProps, EditedLabel, type EditedLabelProps, EmojiGlyph, EmojiPicker, type EmojiPickerProps, EmptyState, type EmptyStateProps, EscalationCard, type EscalationCardProps, EscalationList, type EscalationListProps, FilesList, type FilesListProps, FormattingToolbar, type ForumPost, ForumPostList, type ForumPostListProps, ForwardDialog, type ForwardDialogProps, type ForwardTarget, ForwardedLabel, GroupDetailsSheet, type GroupDetailsSheetProps, type IconName, InCallChatPanel, type InCallChatPanelProps, type InboxUser, InviteAgentMenu, type InviteAgentMenuProps, type KeyBinding, LinkPreviewCard, type LinkPreviewCardProps, LiveCallBanner, type LiveCallBannerProps, LiveTranscriptPanel, type LiveTranscriptPanelProps, LobbyAdmitList, type LobbyAdmitListProps, LobbyWaiting, type LobbyWaitingProps, MOD_ENTER_COMPOSER, MarkMomentButton, type MarkMomentButtonProps, MeetingCard, type MeetingCardProps, MemberList, type MemberListProps, MentionInput, type MentionInputProps, MessageActions, type MessageActionsProps, MessageApproval, type MessageApprovalProps, MessageBubble, type MessageBubbleProps, MessageCitations, type MessageCitationsProps, MessageComposer, type MessageComposerProps, type MessageExtrasHandlers, MessageExtrasProvider, type MessageListKeymap, type MessageSlot, type MessageSlotProps, type MessageSlots, type MessageUser, MoveCallHereBar, type MoveCallHereBarProps, type NameFor, NetworkBanner, type NetworkBannerProps, NoteCard, type NoteCardProps, type PictureInPictureKind, PinsList, type PinsListProps, PollCard, type PollCardProps, PoolseFonts, PoolseIcon, type PoolseIconProps, PoolseInbox, type PoolseInboxHandle, type PoolseInboxProps, type PoolseKeymap, type PoolseKeymapOverrides, PoolseLogo, type PoolseLogoProps, type PoolseLogoVariant, PoolseTheme, type PoolseThemeProps, type PoolseThemeValue, PresenceBadge, type PresenceBadgeProps, QuestionsPanel, type QuestionsPanelProps, ReactionBar, type ReactionBarProps, ReactionPicker, ReactionStrip, type ReactionStripProps, ReactionsOverlay, type ReactionsOverlayProps, RecordingBanner, type RecordingBannerProps, RecordingIndicator, type RecordingIndicatorProps, RecordingNoticeRow, type RecordingNoticeRowProps, RecordingPlayer, type RecordingPlayerHandle, type RecordingPlayerProps, type RenderMessageContext, RoomJoinBar, type RoomJoinBarProps, RoomPresence, type RoomPresenceProps, RoomStage, type RoomStageProps, SendStatus, type SendStatusProps, StagePanel, type StagePanelProps, SummaryCard, type SummaryCardProps, SummaryMessageRow, type SummaryMessageRowProps, ThreadSummary, type ThreadSummaryProps, ThreadView, type ThreadViewProps, type TimeFormat, TranscriptViewer, type TranscriptViewerProps, TranslatedText, type TranslatedTextProps, TypingIndicator, type TypingIndicatorProps, UploadQueueStrip, type UploadQueueStripProps, type UsePictureInPicture, UserName, type UserNameProps, UserPickerSheet, type UserPickerSheetProps, VideoMessagePlayer, type VideoMessagePlayerProps, VoiceMessagePlayer, type VoiceMessagePlayerProps, VoiceRecorder, type VoiceRecorderProps, WHITEBOARD_COLORS, WhisperPanel, type WhisperPanelProps, Whiteboard, WhiteboardItemSvg, type WhiteboardProps, type WhiteboardTool, draftsOf, formatBytes, formatMeetingTime, formatRelativeTime, loadEmojiData, localDraftStorage, matchesAny, matchesKey, noteIdFromLink, pictureInPictureSupport, presenceStateLabel, presenceText, resolveKeymap, useDisplayName, useEditHistory, useMessageExtras, usePictureInPicture, usePoolseFonts, useSystemColorScheme, useTheme };
|