@arbidocs/blocks 0.4.108 → 0.4.110
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/{NativeDocxEditor-UAZUKZ77.js → NativeDocxEditor-4PY4YZYC.js} +3 -3
- package/dist/{NativeDocxEditor-UAZUKZ77.js.map → NativeDocxEditor-4PY4YZYC.js.map} +1 -1
- package/dist/{NativeDocxEditor-YX7B7OFH.cjs → NativeDocxEditor-WODZAURG.cjs} +7 -7
- package/dist/{NativeDocxEditor-YX7B7OFH.cjs.map → NativeDocxEditor-WODZAURG.cjs.map} +1 -1
- package/dist/agents/index.cjs +286 -286
- package/dist/agents/index.js +10 -10
- package/dist/agents/tasks/ConversationListView.d.ts +5 -1
- package/dist/agents/tasks/TaskActivityTimeline.d.ts +5 -1
- package/dist/calendar/EventDetails.d.ts +1 -1
- package/dist/calendar/index.cjs +13 -0
- package/dist/calendar/index.cjs.map +1 -1
- package/dist/calendar/index.js +13 -0
- package/dist/calendar/index.js.map +1 -1
- package/dist/calendar/types.d.ts +3 -0
- package/dist/calls/CallSidePanel.d.ts +17 -0
- package/dist/calls/CallStage.d.ts +57 -0
- package/dist/calls/ControlBar.d.ts +91 -0
- package/dist/calls/ControlButton.d.ts +44 -0
- package/dist/calls/PreJoin.d.ts +31 -0
- package/dist/calls/cards.d.ts +54 -0
- package/dist/calls/hooks.d.ts +20 -0
- package/dist/calls/index.cjs +1853 -0
- package/dist/calls/index.cjs.map +1 -0
- package/dist/calls/index.d.ts +20 -0
- package/dist/calls/index.js +1737 -0
- package/dist/calls/index.js.map +1 -0
- package/dist/calls/join-choices.d.ts +11 -0
- package/dist/calls/layout.d.ts +106 -0
- package/dist/calls/panels.d.ts +55 -0
- package/dist/calls/status.d.ts +69 -0
- package/dist/calls/tiles.d.ts +59 -0
- package/dist/chat/Message.d.ts +17 -2
- package/dist/chat/TranscriptLine.d.ts +50 -0
- package/dist/chat/index.cjs +147 -126
- package/dist/chat/index.d.ts +3 -1
- package/dist/chat/index.js +5 -4
- package/dist/chat/transcript-runs.d.ts +6 -0
- package/dist/{chunk-QT6EGMAJ.cjs → chunk-2NIL2ASF.cjs} +38 -294
- package/dist/chunk-2NIL2ASF.cjs.map +1 -0
- package/dist/{chunk-XMBYDLZQ.cjs → chunk-2UAJVK3C.cjs} +4 -4
- package/dist/{chunk-XMBYDLZQ.cjs.map → chunk-2UAJVK3C.cjs.map} +1 -1
- package/dist/{chunk-TTXK62YI.cjs → chunk-54WBIVHV.cjs} +5 -5
- package/dist/{chunk-TTXK62YI.cjs.map → chunk-54WBIVHV.cjs.map} +1 -1
- package/dist/{chunk-7C35WXYB.js → chunk-5HFPRI3W.js} +5 -5
- package/dist/chunk-5HFPRI3W.js.map +1 -0
- package/dist/{chunk-S7RHJI5Q.js → chunk-6RHHMBZ5.js} +158 -5
- package/dist/chunk-6RHHMBZ5.js.map +1 -0
- package/dist/{chunk-3Y6NQIDE.js → chunk-A35KT2II.js} +37 -19
- package/dist/chunk-A35KT2II.js.map +1 -0
- package/dist/{chunk-PGDL26TQ.js → chunk-AY32GGKU.js} +10 -4
- package/dist/{chunk-PGDL26TQ.js.map → chunk-AY32GGKU.js.map} +1 -1
- package/dist/{chunk-IXALYQT7.cjs → chunk-C2CWWEHO.cjs} +2 -2
- package/dist/chunk-C2CWWEHO.cjs.map +1 -0
- package/dist/{chunk-S55VDTX3.js → chunk-CECWAIHL.js} +3 -3
- package/dist/{chunk-S55VDTX3.js.map → chunk-CECWAIHL.js.map} +1 -1
- package/dist/{chunk-XQDM6T6C.js → chunk-CXZ7FPTQ.js} +3 -3
- package/dist/{chunk-XQDM6T6C.js.map → chunk-CXZ7FPTQ.js.map} +1 -1
- package/dist/{chunk-C2HRZSAT.cjs → chunk-DJM7DLCT.cjs} +5 -5
- package/dist/chunk-DJM7DLCT.cjs.map +1 -0
- package/dist/{chunk-XQKGYGCJ.js → chunk-DQCYCEDR.js} +3 -3
- package/dist/{chunk-XQKGYGCJ.js.map → chunk-DQCYCEDR.js.map} +1 -1
- package/dist/{chunk-ZYSY4L5L.cjs → chunk-ELDUWTRR.cjs} +4 -4
- package/dist/{chunk-ZYSY4L5L.cjs.map → chunk-ELDUWTRR.cjs.map} +1 -1
- package/dist/{chunk-A2MN2ZLX.js → chunk-GKDWQLVU.js} +13 -274
- package/dist/chunk-GKDWQLVU.js.map +1 -0
- package/dist/{chunk-24ND4S6Y.cjs → chunk-HBBJYRGI.cjs} +162 -5
- package/dist/{chunk-S7RHJI5Q.js.map → chunk-HBBJYRGI.cjs.map} +1 -1
- package/dist/{chunk-P2KPDPFF.js → chunk-IXTQYFIF.js} +23 -15
- package/dist/chunk-IXTQYFIF.js.map +1 -0
- package/dist/{chunk-JQVPGMLU.js → chunk-JB32KYAH.js} +3 -3
- package/dist/{chunk-JQVPGMLU.js.map → chunk-JB32KYAH.js.map} +1 -1
- package/dist/{chunk-PBS5MFIY.cjs → chunk-JK45LSIH.cjs} +3 -3
- package/dist/{chunk-PBS5MFIY.cjs.map → chunk-JK45LSIH.cjs.map} +1 -1
- package/dist/chunk-MWDW5UBW.cjs +199 -0
- package/dist/chunk-MWDW5UBW.cjs.map +1 -0
- package/dist/{chunk-ZPLG7QYF.js → chunk-N5YEF3LC.js} +2 -2
- package/dist/chunk-N5YEF3LC.js.map +1 -0
- package/dist/{chunk-EWSEQEPL.js → chunk-NRUPUDWB.js} +17 -7
- package/dist/chunk-NRUPUDWB.js.map +1 -0
- package/dist/{chunk-DDF5GPIJ.js → chunk-P5ST47VY.js} +3 -3
- package/dist/{chunk-DDF5GPIJ.js.map → chunk-P5ST47VY.js.map} +1 -1
- package/dist/{chunk-EGDWNEAG.js → chunk-PEHLUB52.js} +3 -3
- package/dist/{chunk-EGDWNEAG.js.map → chunk-PEHLUB52.js.map} +1 -1
- package/dist/{chunk-W7NZRZ54.js → chunk-SQNAJPNR.js} +4 -4
- package/dist/{chunk-W7NZRZ54.js.map → chunk-SQNAJPNR.js.map} +1 -1
- package/dist/{chunk-DTBSGG36.cjs → chunk-U6MPHCEB.cjs} +24 -16
- package/dist/chunk-U6MPHCEB.cjs.map +1 -0
- package/dist/{chunk-MP6FK43E.cjs → chunk-VP4KJ4LK.cjs} +17 -6
- package/dist/chunk-VP4KJ4LK.cjs.map +1 -0
- package/dist/{chunk-LLFW2T6S.cjs → chunk-VZKBI2KJ.cjs} +85 -67
- package/dist/chunk-VZKBI2KJ.cjs.map +1 -0
- package/dist/{chunk-5YXG342J.cjs → chunk-W7ZDBPJ3.cjs} +4 -4
- package/dist/{chunk-5YXG342J.cjs.map → chunk-W7ZDBPJ3.cjs.map} +1 -1
- package/dist/{chunk-SKSE4OT6.cjs → chunk-WPVIOGDG.cjs} +5 -5
- package/dist/{chunk-SKSE4OT6.cjs.map → chunk-WPVIOGDG.cjs.map} +1 -1
- package/dist/{chunk-3US5OIDQ.cjs → chunk-XSUOEJB3.cjs} +9 -3
- package/dist/chunk-XSUOEJB3.cjs.map +1 -0
- package/dist/chunk-Z3AZ7Q5X.js +177 -0
- package/dist/chunk-Z3AZ7Q5X.js.map +1 -0
- package/dist/{chunk-Z5VUZ6YD.cjs → chunk-ZV3BKLFY.cjs} +3 -3
- package/dist/{chunk-Z5VUZ6YD.cjs.map → chunk-ZV3BKLFY.cjs.map} +1 -1
- package/dist/citations/index.cjs +10 -10
- package/dist/citations/index.js +1 -1
- package/dist/collaboration/index.cjs +57 -57
- package/dist/collaboration/index.js +3 -3
- package/dist/connect/docx.cjs +6 -6
- package/dist/connect/docx.js +4 -4
- package/dist/connect/index.cjs +87 -87
- package/dist/connect/index.js +16 -16
- package/dist/databases/index.cjs +2 -2
- package/dist/databases/index.js +1 -1
- package/dist/docx/definitions/fragment.d.ts +2 -6
- package/dist/docx/definitions/port.d.ts +2 -57
- package/dist/docx/index.cjs +46 -46
- package/dist/docx/index.js +3 -3
- package/dist/docx/references/commands.d.ts +3 -31
- package/dist/docx/references/numbering.d.ts +3 -47
- package/dist/facts/index.cjs +5 -5
- package/dist/facts/index.js +4 -4
- package/dist/files/GridView.d.ts +4 -1
- package/dist/files/TagPassagePanel.d.ts +2 -0
- package/dist/files/index.cjs +89 -79
- package/dist/files/index.cjs.map +1 -1
- package/dist/files/index.js +88 -78
- package/dist/files/index.js.map +1 -1
- package/dist/home/index.cjs +17 -17
- package/dist/home/index.js +3 -3
- package/dist/index.cjs +739 -718
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +22 -21
- package/dist/index.js.map +1 -1
- package/dist/retrieval/index.cjs +1 -1
- package/dist/retrieval/index.js +1 -1
- package/dist/settings/FirmPool.d.ts +45 -0
- package/dist/settings/index.cjs +134 -37
- package/dist/settings/index.cjs.map +1 -1
- package/dist/settings/index.d.ts +1 -0
- package/dist/settings/index.js +100 -6
- package/dist/settings/index.js.map +1 -1
- package/dist/shell/index.cjs +12 -12
- package/dist/shell/index.js +4 -4
- package/dist/site/index.cjs +5 -5
- package/dist/site/index.js +1 -1
- package/dist/studio/index.cjs +5 -5
- package/dist/studio/index.js +4 -4
- package/dist/workflow-canvas/index.cjs +53 -53
- package/dist/workflow-canvas/index.js +10 -10
- package/dist/workspaces/index.cjs +3 -3
- package/dist/workspaces/index.cjs.map +1 -1
- package/dist/workspaces/index.js +3 -3
- package/dist/workspaces/index.js.map +1 -1
- package/node_modules/@arbidocs/coedit/dist/commands.cjs +356 -0
- package/node_modules/@arbidocs/coedit/dist/commands.cjs.map +1 -0
- package/node_modules/@arbidocs/coedit/dist/commands.d.cts +235 -0
- package/node_modules/@arbidocs/coedit/dist/commands.d.ts +235 -0
- package/node_modules/@arbidocs/coedit/dist/commands.js +338 -0
- package/node_modules/@arbidocs/coedit/dist/commands.js.map +1 -0
- package/node_modules/@arbidocs/coedit/package.json +6 -1
- package/package.json +15 -5
- package/src/calls/calls.css +157 -0
- package/dist/chunk-24ND4S6Y.cjs.map +0 -1
- package/dist/chunk-3US5OIDQ.cjs.map +0 -1
- package/dist/chunk-3Y6NQIDE.js.map +0 -1
- package/dist/chunk-7C35WXYB.js.map +0 -1
- package/dist/chunk-A2MN2ZLX.js.map +0 -1
- package/dist/chunk-C2HRZSAT.cjs.map +0 -1
- package/dist/chunk-DTBSGG36.cjs.map +0 -1
- package/dist/chunk-EWSEQEPL.js.map +0 -1
- package/dist/chunk-IXALYQT7.cjs.map +0 -1
- package/dist/chunk-LLFW2T6S.cjs.map +0 -1
- package/dist/chunk-MP6FK43E.cjs.map +0 -1
- package/dist/chunk-P2KPDPFF.js.map +0 -1
- package/dist/chunk-QT6EGMAJ.cjs.map +0 -1
- package/dist/chunk-ZPLG7QYF.js.map +0 -1
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The call stage's tiles: one participant tile (with a voice-level ring, so it is plain who is
|
|
3
|
+
* talking), the gallery grid (fills the stage: 1, 2 side by side, 2 + 1, 2 × 2, 3 + 2, …), and the
|
|
4
|
+
* spotlight layout — the speaker (or a shared screen) large, everyone else in a filmstrip.
|
|
5
|
+
*
|
|
6
|
+
* Media-library free: the app hands each tile its `<video>` (or nothing, for initials) and its
|
|
7
|
+
* state. Extra props (data attributes the app's recorder reads, say) land on the tile's root.
|
|
8
|
+
* Styles: `@arbidocs/blocks/calls.css`.
|
|
9
|
+
*/
|
|
10
|
+
import { type HTMLAttributes, type ReactElement, type ReactNode } from 'react';
|
|
11
|
+
export interface CallTileProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
12
|
+
/**
|
|
13
|
+
* The name, once, at the bottom left: a node (the app's person pill, say), or a string shown in
|
|
14
|
+
* a small dark chip.
|
|
15
|
+
*/
|
|
16
|
+
name: ReactNode;
|
|
17
|
+
/** Shown large while there is no video (camera off). */
|
|
18
|
+
initials: string;
|
|
19
|
+
/** The `<video>` element; omit while the camera is off. */
|
|
20
|
+
video?: ReactNode;
|
|
21
|
+
source?: 'camera' | 'screen';
|
|
22
|
+
/** My own tile: the name says "(me)". */
|
|
23
|
+
local?: boolean;
|
|
24
|
+
/** Mirror the video (my own camera, as a selfie). Only the <video> flips; labels never do. */
|
|
25
|
+
mirror?: boolean;
|
|
26
|
+
/** Talking now: a ring (thicker with `level`) and a sound icon by the name — never colour alone. */
|
|
27
|
+
speaking?: boolean;
|
|
28
|
+
/** Voice level 0..1, updated fast (~60 ms): drives the ring's size. */
|
|
29
|
+
level?: number;
|
|
30
|
+
micMuted?: boolean;
|
|
31
|
+
poorConnection?: boolean;
|
|
32
|
+
/** Small tiles (filmstrip, picture-in-picture) use a smaller avatar. */
|
|
33
|
+
size?: 'normal' | 'small';
|
|
34
|
+
/** Text after my own name when `name` is a string (a pill says "(me)" itself). */
|
|
35
|
+
youLabel?: string;
|
|
36
|
+
}
|
|
37
|
+
/** One participant (or screen-share) tile. */
|
|
38
|
+
export declare const CallTile: import("react").ForwardRefExoticComponent<CallTileProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
39
|
+
/** The adaptive grid. Tiles keep 16:9 and the largest size the stage allows. */
|
|
40
|
+
export declare function CallGrid<T>({ items, getKey, renderTile, moreLabel, className, }: {
|
|
41
|
+
items: T[];
|
|
42
|
+
getKey(item: T): string;
|
|
43
|
+
/** The tile for one item; it fills a box the grid sizes. */
|
|
44
|
+
renderTile(item: T): ReactElement;
|
|
45
|
+
moreLabel?(hidden: number): string;
|
|
46
|
+
className?: string;
|
|
47
|
+
}): ReactElement;
|
|
48
|
+
/**
|
|
49
|
+
* Spotlight: one tile large (the speaker, or a shared screen), everyone else in a filmstrip
|
|
50
|
+
* beside it — below it on a narrow stage such as the docked call panel.
|
|
51
|
+
*/
|
|
52
|
+
export declare function CallFocus<T>({ focus, others, getKey, renderTile, className, testId, }: {
|
|
53
|
+
focus: T;
|
|
54
|
+
others: T[];
|
|
55
|
+
getKey(item: T): string;
|
|
56
|
+
renderTile(item: T, size: 'normal' | 'small'): ReactElement;
|
|
57
|
+
className?: string;
|
|
58
|
+
testId?: string;
|
|
59
|
+
}): ReactElement;
|
package/dist/chat/Message.d.ts
CHANGED
|
@@ -30,14 +30,27 @@ export interface MessageRootProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
30
30
|
}
|
|
31
31
|
/** One message row: centred column, role + id as data attributes for scroll/deep-link lookups. */
|
|
32
32
|
export declare function MessageRoot({ role, messageId, tone, testId, className, children, ...rest }: MessageRootProps): import("react").JSX.Element;
|
|
33
|
+
/**
|
|
34
|
+
* Who wrote the run of messages below (someone else's, left-aligned): the app's person pill,
|
|
35
|
+
* shown each time the author changes.
|
|
36
|
+
*/
|
|
37
|
+
export declare function MessageAuthor({ children, className, }: {
|
|
38
|
+
children: ReactNode;
|
|
39
|
+
className?: string;
|
|
40
|
+
}): import("react").JSX.Element;
|
|
33
41
|
export interface MessageContentProps extends HTMLAttributes<HTMLDivElement> {
|
|
34
42
|
role: MessageRole;
|
|
35
43
|
messageId: string;
|
|
44
|
+
/**
|
|
45
|
+
* Which side a person's message sits on: `end` (right) for my own, `start` (left) for other
|
|
46
|
+
* people's. Defaults to `end` for the user role; the assistant is full width either way.
|
|
47
|
+
*/
|
|
48
|
+
align?: 'start' | 'end';
|
|
36
49
|
/** Overrides the default test id. A `data-testid` in the rest props still wins over both. */
|
|
37
50
|
testId?: string;
|
|
38
51
|
}
|
|
39
52
|
/** Column that holds the bubble and (for the user) the footer under it, right-aligned. */
|
|
40
|
-
export declare function MessageContent({ role, messageId, testId, className, children, ...rest }: MessageContentProps): import("react").JSX.Element;
|
|
53
|
+
export declare function MessageContent({ role, messageId, align, testId, className, children, ...rest }: MessageContentProps): import("react").JSX.Element;
|
|
41
54
|
export interface MessageBubbleProps extends HTMLAttributes<HTMLDivElement> {
|
|
42
55
|
role: MessageRole;
|
|
43
56
|
messageId: string;
|
|
@@ -148,12 +161,14 @@ export interface MessageFooterProps {
|
|
|
148
161
|
labels?: Partial<MessageLabels>;
|
|
149
162
|
/** Test id of the steps toggle. */
|
|
150
163
|
stepsToggleTestId?: string;
|
|
164
|
+
/** A person's message: `end` (mine, right) or `start` (someone else's, left). */
|
|
165
|
+
align?: 'start' | 'end';
|
|
151
166
|
}
|
|
152
167
|
/**
|
|
153
168
|
* Footer row of a settled message. The whole row anchors the steps popover so the trace is as
|
|
154
169
|
* wide as the card.
|
|
155
170
|
*/
|
|
156
|
-
export declare function MessageFooter({ role, leading, actions, revealActionsOnHover, steps, className, labels, stepsToggleTestId, }: MessageFooterProps): import("react").JSX.Element;
|
|
171
|
+
export declare function MessageFooter({ role, leading, actions, revealActionsOnHover, steps, className, labels, stepsToggleTestId, align, }: MessageFooterProps): import("react").JSX.Element;
|
|
157
172
|
export interface MessageActionButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
158
173
|
/** Success tint (copied, saved). */
|
|
159
174
|
isDone?: boolean;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A call's transcript in its conversation: attributed lines in a lighter style than chat bubbles
|
|
3
|
+
* (no bubble, muted text), consecutive lines of one speaker grouped under one name, and the line
|
|
4
|
+
* being spoken right now highlighted in the speaker's colour — with a "speaking" tag, so colour is
|
|
5
|
+
* never the only sign. Plus the small "All · Chat · Transcript" filter the conversation shows.
|
|
6
|
+
*/
|
|
7
|
+
import type { ReactElement, ReactNode } from 'react';
|
|
8
|
+
export interface TranscriptLineProps {
|
|
9
|
+
speakerId: string;
|
|
10
|
+
/** Shown on the first line of a run ("Me" for my own lines); also the screen-reader name. */
|
|
11
|
+
speakerName: string;
|
|
12
|
+
/** The speaker as the app shows people (a pill); else `speakerName` in the speaker's colour. */
|
|
13
|
+
speaker?: ReactNode;
|
|
14
|
+
/** Formatted time of the line (the first of a run shows it). */
|
|
15
|
+
time?: string;
|
|
16
|
+
text: string;
|
|
17
|
+
/** A further line of the same speaker's run: no name, no icon. */
|
|
18
|
+
continued?: boolean;
|
|
19
|
+
/** This speaker is talking now and this is their latest line. */
|
|
20
|
+
live?: boolean;
|
|
21
|
+
liveLabel?: string;
|
|
22
|
+
className?: string;
|
|
23
|
+
}
|
|
24
|
+
export declare function TranscriptLine({ speakerId, speakerName, speaker, time, text, continued, live, liveLabel, className, }: TranscriptLineProps): ReactElement;
|
|
25
|
+
export interface ConversationFilterOption<V extends string> {
|
|
26
|
+
value: V;
|
|
27
|
+
label: string;
|
|
28
|
+
count?: number;
|
|
29
|
+
testId?: string;
|
|
30
|
+
}
|
|
31
|
+
/** A small segmented filter ("All · Chat · Transcript"), sticky at the top of a message list. */
|
|
32
|
+
export declare function ConversationFilter<V extends string>({ value, options, onChange, label, className, }: {
|
|
33
|
+
value: V;
|
|
34
|
+
options: ConversationFilterOption<V>[];
|
|
35
|
+
onChange(value: V): void;
|
|
36
|
+
label?: string;
|
|
37
|
+
className?: string;
|
|
38
|
+
}): ReactElement;
|
|
39
|
+
/**
|
|
40
|
+
* Someone is talking and their line has not arrived yet: "<speaker> is speaking…" in the
|
|
41
|
+
* transcript style, with quiet animated dots. Never stored; the real line replaces it.
|
|
42
|
+
*/
|
|
43
|
+
export declare function ProvisionalTranscriptLine({ speakerId, speakerName, speaker, label, className, }: {
|
|
44
|
+
speakerId: string;
|
|
45
|
+
speakerName: string;
|
|
46
|
+
/** The speaker as the app shows people (a pill); else `speakerName`. */
|
|
47
|
+
speaker?: ReactNode;
|
|
48
|
+
label?: string;
|
|
49
|
+
className?: string;
|
|
50
|
+
}): ReactElement;
|