@nivaro/react 0.3.117 → 0.3.119
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/full.css +1 -1
- package/dist/hooks/useSessionRecorder.js +1 -1
- package/dist/index.d.ts +136 -14
- package/dist/index.js +488 -485
- package/dist/shared/components/ActivityEntry.js +130 -125
- package/dist/shared/components/AgentPresenceChip.js +36 -26
- package/dist/shared/components/CellCopyLayer.js +50 -45
- package/dist/shared/components/CollectionBrowserView.js +3757 -3695
- package/dist/shared/components/FilePreviewLightbox.js +96 -58
- package/dist/shared/components/InStep.js +18 -17
- package/dist/shared/components/ItemEditForm.js +4451 -4385
- package/dist/shared/components/JobsTray.js +8 -8
- package/dist/shared/components/LiveNewMatchesPill.js +21 -14
- package/dist/shared/components/LiveOffNote.js +3 -2
- package/dist/shared/components/LiveRowMark.js +53 -23
- package/dist/shared/components/LiveTraceView.js +162 -123
- package/dist/shared/components/MyWorkView.js +320 -299
- package/dist/shared/components/NotificationBell.js +14 -14
- package/dist/shared/components/OverflowRail.js +1 -1
- package/dist/shared/components/PageRenderer.js +120 -116
- package/dist/shared/components/ProfileView.js +203 -202
- package/dist/shared/components/RealtimeStatusBanner.js +31 -29
- package/dist/shared/components/RecordDrilldownSheet.js +7 -7
- package/dist/shared/components/RecordHoverCard.js +102 -84
- package/dist/shared/components/RecordReadView.js +146 -146
- package/dist/shared/components/ScreenRefreshButton.js +34 -32
- package/dist/shared/components/TipLayer.js +65 -58
- package/dist/shared/components/WidgetImageMenu.js +83 -43
- package/dist/shared/components/activity/RecordActivityStream.js +175 -173
- package/dist/shared/components/bulk/BulkSelectionNotices.js +142 -119
- package/dist/shared/components/change-proposals/ChangeProposalsPanel.js +158 -143
- package/dist/shared/components/change-proposals/ProposeChangeButton.js +17 -11
- package/dist/shared/components/change-proposals/ProposeChangeDialog.js +201 -173
- package/dist/shared/components/chat/ChatAnalyticsView.js +27 -27
- package/dist/shared/components/chat/HuddleAnalyticsTab.js +17 -17
- package/dist/shared/components/collections-directory/CollectionsToolbar.js +39 -41
- package/dist/shared/components/collections-directory/page-model.js +72 -67
- package/dist/shared/components/integrations/RecordIntegrationPreview.js +48 -56
- package/dist/shared/components/integrations/SendStatus.js +65 -59
- package/dist/shared/components/integrations/console/ReadyToSendView.js +275 -209
- package/dist/shared/components/integrations/console/SignalCard.js +237 -230
- package/dist/shared/components/item-edit/CatalogPickerField.js +227 -205
- package/dist/shared/components/item-edit/ChangedAfterApprovalBadge.js +135 -94
- package/dist/shared/components/item-edit/CloneDialog.js +191 -161
- package/dist/shared/components/item-edit/DerivedCauseNote.js +44 -30
- package/dist/shared/components/item-edit/DraftRecoveryBanner.js +153 -134
- package/dist/shared/components/item-edit/FieldComments.js +88 -85
- package/dist/shared/components/item-edit/FieldPointer.js +82 -67
- package/dist/shared/components/item-edit/FieldRow.js +106 -100
- package/dist/shared/components/item-edit/FieldSourceBadge.js +58 -56
- package/dist/shared/components/item-edit/FilePickerField.js +452 -387
- package/dist/shared/components/item-edit/HeaderSummaryChip.js +78 -56
- package/dist/shared/components/item-edit/HeaderTools.js +245 -141
- package/dist/shared/components/item-edit/InlineTableField.js +1242 -1218
- package/dist/shared/components/item-edit/ListNeighborNav.js +47 -50
- package/dist/shared/components/item-edit/LiveTraceSheet.js +15 -10
- package/dist/shared/components/item-edit/MembershipSetField.js +285 -254
- package/dist/shared/components/item-edit/OutboxReviewTray.js +155 -144
- package/dist/shared/components/item-edit/QueueReturnChip.js +15 -36
- package/dist/shared/components/item-edit/RecalcValue.js +57 -32
- package/dist/shared/components/item-edit/RecordHelpChip.js +15 -16
- package/dist/shared/components/item-edit/RecordLiveSync.js +283 -231
- package/dist/shared/components/item-edit/RelationCombobox.js +439 -393
- package/dist/shared/components/item-edit/RemoteChangeUi.js +292 -224
- package/dist/shared/components/item-edit/RemoteUploads.js +26 -20
- package/dist/shared/components/item-edit/RemovedLineNote.js +77 -67
- package/dist/shared/components/item-edit/RichTextEditorImpl.js +184 -179
- package/dist/shared/components/item-edit/ScheduledChangeChip.js +168 -134
- package/dist/shared/components/item-edit/SectionPresence.js +18 -10
- package/dist/shared/components/item-edit/SplitLinesButton.js +163 -139
- package/dist/shared/components/item-edit/UserChip.js +1 -1
- package/dist/shared/components/item-edit/addendum-view.js +6 -0
- package/dist/shared/components/item-edit/file-live.js +69 -54
- package/dist/shared/components/item-edit/layout-switch.js +98 -89
- package/dist/shared/components/item-edit/partner-needs.js +12 -12
- package/dist/shared/components/item-edit/removed-line.js +31 -25
- package/dist/shared/components/layout-editor/pickers/field-picker.js +151 -130
- package/dist/shared/components/list/ListViewers.js +46 -35
- package/dist/shared/components/notifications/NotificationCenterView.js +479 -437
- package/dist/shared/components/panels/AccessDeniedPanel.js +176 -101
- package/dist/shared/components/panels/AlertBanners.js +82 -72
- package/dist/shared/components/panels/BranchLanes.js +22 -22
- package/dist/shared/components/panels/CommentImages.js +123 -102
- package/dist/shared/components/panels/CommentPanel.js +186 -185
- package/dist/shared/components/panels/ExternalRequestsChip.js +111 -119
- package/dist/shared/components/panels/OwnerOpenedLine.js +31 -24
- package/dist/shared/components/panels/PipelinePanel.js +2037 -1885
- package/dist/shared/components/panels/ResubmissionDiff.js +163 -142
- package/dist/shared/components/pipeline/OwnerMatrixSheet.js +400 -288
- package/dist/shared/components/pipeline/PipelineEditorView.js +7 -2
- package/dist/shared/components/profile/AgentNameField.js +107 -81
- package/dist/shared/components/profile/AgentsPanel.js +184 -184
- package/dist/shared/components/profile/PersonAccess.js +599 -495
- package/dist/shared/components/profile/SignInTroubleshooter.js +160 -127
- package/dist/shared/components/profile/SignedInDevices.js +17 -17
- package/dist/shared/components/profile/primitives.js +1 -1
- package/dist/shared/components/queue/OwnerAvatars.js +91 -54
- package/dist/shared/components/queue/QueueTeamStrip.js +56 -46
- package/dist/shared/components/queue/QueueWorklist.js +1002 -983
- package/dist/shared/components/support/AssignRules.js +1733 -0
- package/dist/shared/components/support/PersonPick.js +88 -0
- package/dist/shared/components/support/RequestList.js +790 -0
- package/dist/shared/components/support/ScreenShare.js +158 -152
- package/dist/shared/components/support/SupportRequestDialog.js +50 -48
- package/dist/shared/components/support/SupportView.js +140 -246
- package/dist/shared/components/support/TicketDetailSheet.js +82 -75
- package/dist/shared/components/support/TicketSlowScreens.js +9 -9
- package/dist/shared/components/support/assign-rules-text.js +171 -0
- package/dist/shared/components/support/support-list.js +125 -0
- package/dist/shared/components/ui/SimpleSelect.js +28 -20
- package/dist/shared/components/ui/checkbox.js +6 -6
- package/dist/shared/components/ui/select.js +43 -39
- package/dist/shared/components/ui/sheet.js +9 -9
- package/dist/shared/components/ui/switch.js +12 -11
- package/dist/shared/components/watch-list/WatchDock.js +532 -459
- package/dist/shared/components/watch-list/WatchExtras.js +332 -286
- package/dist/shared/components/watch-list/WatchRows.js +164 -140
- package/dist/shared/lib/activity-sentence.js +103 -91
- package/dist/shared/lib/agent-presence.js +27 -21
- package/dist/shared/lib/approval-progress.js +2 -2
- package/dist/shared/lib/copy-rules.js +31 -24
- package/dist/shared/lib/derived-causes.js +113 -78
- package/dist/shared/lib/grid-cursors.js +26 -26
- package/dist/shared/lib/label-flash.js +27 -0
- package/dist/shared/lib/list-return.js +137 -125
- package/dist/shared/lib/live-deltas.js +40 -34
- package/dist/shared/lib/live-groups.js +56 -52
- package/dist/shared/lib/live-preference.js +64 -59
- package/dist/shared/lib/live-screen.js +223 -192
- package/dist/shared/lib/partner-failure.js +11 -11
- package/dist/shared/lib/rollup-recalc.js +68 -64
- package/dist/shared/lib/screen-refresh.js +74 -68
- package/dist/shared/lib/screen-share.js +108 -104
- package/dist/shared/lib/send-status.js +77 -61
- package/dist/shared/lib/text-diff-window.js +29 -0
- package/dist/shared/lib/watch-list.js +210 -209
- package/dist/shared/lib/widget-image-render.js +72 -49
- package/package.json +1 -1
|
@@ -10,7 +10,7 @@ import { noteReplayIdle as Me, createReplayIdleState as Ne, REPLAY_IDLE_RESTART_
|
|
|
10
10
|
import { noteReplayEvent as Ue, createReplayCheckoutState as We } from "../shared/lib/replay-checkout.js";
|
|
11
11
|
import { instrumentConsole as He, instrumentRequests as Ke, redactSecrets as $e } from "../shared/lib/replay-context.js";
|
|
12
12
|
import { instrumentSocket as Be } from "../shared/lib/replay-socket.js";
|
|
13
|
-
const ze = "nivaro-react@0.3.
|
|
13
|
+
const ze = "nivaro-react@0.3.119", V = 1e4, Ye = 150, xe = 3e3, je = 600, Ge = (o) => `nvr_replay_resume${o ? `:${o}` : ""}`, X = () => typeof navigator > "u" || navigator.onLine !== !1;
|
|
14
14
|
function Je(o) {
|
|
15
15
|
return typeof o.url != "string" || typeof fetch != "function" ? null : (f, u) => {
|
|
16
16
|
const l = typeof o.getToken == "function" ? o.getToken() : void 0, d = { "Content-Type": "application/json" };
|
package/dist/index.d.ts
CHANGED
|
@@ -2195,7 +2195,7 @@ export declare interface ClockSample {
|
|
|
2195
2195
|
received: number;
|
|
2196
2196
|
}
|
|
2197
2197
|
|
|
2198
|
-
export declare function CloneDialog({ collection, itemId, fields, relations, currentValues, onSuccess }: CloneDialogProps): JSX.Element;
|
|
2198
|
+
export declare function CloneDialog({ collection, itemId, fields, relations, currentValues, recordLabel, onSuccess }: CloneDialogProps): JSX.Element;
|
|
2199
2199
|
|
|
2200
2200
|
declare interface CloneDialogProps {
|
|
2201
2201
|
collection: string;
|
|
@@ -2204,6 +2204,8 @@ declare interface CloneDialogProps {
|
|
|
2204
2204
|
fields: CMSField[];
|
|
2205
2205
|
relations: CMSRelation[];
|
|
2206
2206
|
currentValues: Record<string, unknown>;
|
|
2207
|
+
/** The record's heading ("TP26-91116"), for the dialog title. */
|
|
2208
|
+
recordLabel?: string;
|
|
2207
2209
|
onSuccess: (newId: string | number) => void;
|
|
2208
2210
|
}
|
|
2209
2211
|
|
|
@@ -3123,8 +3125,11 @@ declare interface DeltaChip {
|
|
|
3123
3125
|
/** `+3` / `−2`, with a real minus sign. */
|
|
3124
3126
|
sign: string;
|
|
3125
3127
|
since: 'this morning' | 'earlier today' | 'yesterday';
|
|
3126
|
-
/**
|
|
3128
|
+
/** What the chip shows, short enough for a narrow tile: "+3 today" / "−2 vs yesterday".
|
|
3129
|
+
* The time anchor is part of it, so it is never the part a narrow tile cuts (rt6 review). */
|
|
3127
3130
|
text: string;
|
|
3131
|
+
/** The whole phrase for its tip: "+3 since this morning". */
|
|
3132
|
+
phrase: string;
|
|
3128
3133
|
}
|
|
3129
3134
|
|
|
3130
3135
|
/** What the author reads as while a clean recording runs. */
|
|
@@ -4199,9 +4204,13 @@ export declare type FieldState = {
|
|
|
4199
4204
|
*/
|
|
4200
4205
|
export declare function FileField({ field, value, onChange, error, disabled, readOnly, inputId, errorId }: FieldComponentProps): JSX.Element;
|
|
4201
4206
|
|
|
4202
|
-
export declare function FilePreviewLightbox({ file: opened, onClose, record: recordProp }: {
|
|
4207
|
+
export declare function FilePreviewLightbox({ file: opened, onClose, record: recordProp, caption, nav }: {
|
|
4203
4208
|
file: PreviewFile;
|
|
4204
4209
|
onClose: () => void;
|
|
4210
|
+
/** Says whose file this is ("Review Admin · just now") in place of a generic file name
|
|
4211
|
+
* such as every pasted "screenshot.png"; the name stays as the image's alt text. */
|
|
4212
|
+
caption?: string | null;
|
|
4213
|
+
nav?: PreviewNav | null;
|
|
4205
4214
|
/** The record the file was opened from: its `$files` notices say when the file changed
|
|
4206
4215
|
* (rt8 #19). Defaults to the record form the preview sits in. */
|
|
4207
4216
|
record?: {
|
|
@@ -7108,13 +7117,28 @@ export declare function ListNeighborNav({ collection, itemId, className }: {
|
|
|
7108
7117
|
className?: string;
|
|
7109
7118
|
}): JSX.Element | null;
|
|
7110
7119
|
|
|
7111
|
-
/** Where `at` sits in the stashed list
|
|
7112
|
-
|
|
7120
|
+
/** Where `at` sits in the stashed list. */
|
|
7121
|
+
declare interface ListNeighbors {
|
|
7122
|
+
/** 1-based position among the rows the list showed (what Previous / Next walk). */
|
|
7113
7123
|
index: number;
|
|
7124
|
+
/** Rows the list showed (Previous / Next never leave them). */
|
|
7114
7125
|
total: number;
|
|
7115
7126
|
prev: ListRef | null;
|
|
7116
7127
|
next: ListRef | null;
|
|
7117
|
-
|
|
7128
|
+
/** 1-based position in the WHOLE list (index + the page's offset). */
|
|
7129
|
+
position: number;
|
|
7130
|
+
/** The whole list's record count; null = unknown (only the rows shown are counted). */
|
|
7131
|
+
listTotal: number | null;
|
|
7132
|
+
/** listTotal is an estimate ("about 49"). */
|
|
7133
|
+
approx: boolean;
|
|
7134
|
+
/** The list goes on past the last row shown (a later page): Next stops here. */
|
|
7135
|
+
moreAfter: boolean;
|
|
7136
|
+
/** The list starts before the first row shown (an earlier page): Previous stops here. */
|
|
7137
|
+
moreBefore: boolean;
|
|
7138
|
+
}
|
|
7139
|
+
|
|
7140
|
+
/** Where `at` sits in the stashed list: its position, the list's total and its neighbours. */
|
|
7141
|
+
export declare function listNeighbors(stash: ListReturnStash | null, at: ListRef): ListNeighbors | null;
|
|
7118
7142
|
|
|
7119
7143
|
/** The query key a collection list (CollectionBrowserView) reads its metadata under. */
|
|
7120
7144
|
export declare function listQueryKeys(collection: string): {
|
|
@@ -7160,6 +7184,16 @@ declare interface ListReturnStash {
|
|
|
7160
7184
|
path: string;
|
|
7161
7185
|
/** The rows the list showed, in order. */
|
|
7162
7186
|
rows: ListRef[];
|
|
7187
|
+
/**
|
|
7188
|
+
* How many records the WHOLE list holds (all pages), when the list knows it; null/absent =
|
|
7189
|
+
* unknown, and the header counts only the rows shown ("3 of 25 shown"), never passing a page
|
|
7190
|
+
* size off as the list's total (rt-nav review: "3 of 25" under "1–25 of about 49").
|
|
7191
|
+
*/
|
|
7192
|
+
total?: number | null;
|
|
7193
|
+
/** The list's total is an estimate (`count=approx`): said as "about 49". */
|
|
7194
|
+
totalApprox?: boolean;
|
|
7195
|
+
/** Where `rows[0]` sits in the whole list, 0-based (page 2 of 25 → 25). */
|
|
7196
|
+
offset?: number;
|
|
7163
7197
|
/** The record the person is on now (moves with Previous / Next). */
|
|
7164
7198
|
current: ListRef;
|
|
7165
7199
|
/** The record the list opened (stays put). */
|
|
@@ -7389,9 +7423,11 @@ declare type LiveModeSource = 'own' | 'role' | 'default';
|
|
|
7389
7423
|
|
|
7390
7424
|
/**
|
|
7391
7425
|
* "2 new matches · Show" — the quiet pill a live results page raises when records start
|
|
7392
|
-
* matching after the page loaded.
|
|
7393
|
-
*
|
|
7394
|
-
*
|
|
7426
|
+
* matching after the page loaded. Put it first inside the scrolling results container.
|
|
7427
|
+
*
|
|
7428
|
+
* It is a sticky row of its own (pass the container's background in `className`), never a
|
|
7429
|
+
* float over a result: floating, it sat across a section heading and the selected row's
|
|
7430
|
+
* highlight (rt8 review). Nothing renders — and no room is taken — while there is nothing new.
|
|
7395
7431
|
*/
|
|
7396
7432
|
export declare function LiveNewMatchesPill({ count, onShow, className }: {
|
|
7397
7433
|
count: number;
|
|
@@ -8180,6 +8216,11 @@ export declare function noteListOpen(s: {
|
|
|
8180
8216
|
rows: ListRef[];
|
|
8181
8217
|
opened: ListRef;
|
|
8182
8218
|
entry?: string | null;
|
|
8219
|
+
/** The whole list's record count (all pages), when known. */
|
|
8220
|
+
total?: number | null;
|
|
8221
|
+
totalApprox?: boolean;
|
|
8222
|
+
/** 0-based position of the first row shown in the whole list. */
|
|
8223
|
+
offset?: number;
|
|
8183
8224
|
}): void;
|
|
8184
8225
|
|
|
8185
8226
|
/**
|
|
@@ -9449,6 +9490,14 @@ declare interface PreviewFile {
|
|
|
9449
9490
|
size?: number | null;
|
|
9450
9491
|
}
|
|
9451
9492
|
|
|
9493
|
+
/** Several files opened together (a comment's images): previous / next and "1 of 2". */
|
|
9494
|
+
declare interface PreviewNav {
|
|
9495
|
+
index: number;
|
|
9496
|
+
count: number;
|
|
9497
|
+
onPrev: () => void;
|
|
9498
|
+
onNext: () => void;
|
|
9499
|
+
}
|
|
9500
|
+
|
|
9452
9501
|
/** Custom profile fields (#683) — admin-defined extras (cost center, skills…),
|
|
9453
9502
|
* self-served here. Renders nothing when no definitions exist. */
|
|
9454
9503
|
export declare function ProfileFieldsCard(): JSX.Element | null;
|
|
@@ -10825,8 +10874,20 @@ export declare function RelatedRecordsPanel({ collection, itemId, title, default
|
|
|
10825
10874
|
defaultExpanded?: boolean;
|
|
10826
10875
|
}): JSX.Element;
|
|
10827
10876
|
|
|
10828
|
-
export declare function RelationCombobox({ collection, value, onChange, disabled, placeholder, extraFilter, autoSelectSingle, optionSort, requiredParent, facets, fieldKey, narrowedBy, pinned, missPlacement, defaultOpen, onClose, displayTemplate }: {
|
|
10877
|
+
export declare function RelationCombobox({ collection, value, onChange, disabled, placeholder, extraFilter, autoSelectSingle, optionSort, requiredParent, facets, fieldKey, narrowedBy, pinned, missPlacement, defaultOpen, onClose, displayTemplate, alreadyAdded }: {
|
|
10829
10878
|
collection: string;
|
|
10879
|
+
/** Records the caller already holds (a membership table's rows), which the picker's filter
|
|
10880
|
+
* hides. A search that matches one says so and offers to jump to it, instead of a silent
|
|
10881
|
+
* "No results" (BOM categories, 2026-11-16: CIFA 104838 "missing" — it was already a row). */
|
|
10882
|
+
alreadyAdded?: {
|
|
10883
|
+
items: Array<{
|
|
10884
|
+
id: string;
|
|
10885
|
+
label: string;
|
|
10886
|
+
}>;
|
|
10887
|
+
/** Ends the sentence: "<label> is already <where>." */
|
|
10888
|
+
where: string;
|
|
10889
|
+
onShow: (id: string) => void;
|
|
10890
|
+
};
|
|
10830
10891
|
/** Overrides the collection's display template for this picker's options —
|
|
10831
10892
|
* a catalog's "Add any item" shows the item number AND its description
|
|
10832
10893
|
* (army11 f1: bare numbers made people pick blind). */
|
|
@@ -10924,6 +10985,54 @@ export declare function releaseGatedReadsOnSharedFetch(cache: QueryCacheLike): (
|
|
|
10924
10985
|
|
|
10925
10986
|
export declare function releaseHeld(): HeldItem[];
|
|
10926
10987
|
|
|
10988
|
+
/**
|
|
10989
|
+
* The tiny mark beside a field's label after someone else's save changed it.
|
|
10990
|
+
* Hover or focus says who / when / old → new; a click clears it. Fades the
|
|
10991
|
+
* field once when it first appears.
|
|
10992
|
+
*/
|
|
10993
|
+
export declare function RemoteChangeMark({ change, now, field, relatedCollection, onDismiss }: {
|
|
10994
|
+
change: RemoteFieldChange;
|
|
10995
|
+
/** The value the field holds now (the other person's). */
|
|
10996
|
+
now: unknown;
|
|
10997
|
+
field: CMSField | null;
|
|
10998
|
+
relatedCollection?: string | null;
|
|
10999
|
+
onDismiss: () => void;
|
|
11000
|
+
}): JSX.Element;
|
|
11001
|
+
|
|
11002
|
+
/**
|
|
11003
|
+
* Under a field the person edited when someone else saved it: their value
|
|
11004
|
+
* stays; one calm line says what the other person saved and offers Keep mine
|
|
11005
|
+
* / Take theirs / Merge (Merge only where the field can merge — long text and
|
|
11006
|
+
* sets; a locked field only takes theirs).
|
|
11007
|
+
*/
|
|
11008
|
+
export declare function RemoteConflictNotice({ change, mine, field, relatedCollection, locked, onKeepMine, onTakeTheirs, onMerge }: {
|
|
11009
|
+
change: RemoteFieldChange;
|
|
11010
|
+
mine: unknown;
|
|
11011
|
+
field: CMSField | null;
|
|
11012
|
+
relatedCollection?: string | null;
|
|
11013
|
+
locked?: boolean;
|
|
11014
|
+
onKeepMine: () => void;
|
|
11015
|
+
onTakeTheirs?: () => void;
|
|
11016
|
+
onMerge?: (value: unknown) => void;
|
|
11017
|
+
}): JSX.Element;
|
|
11018
|
+
|
|
11019
|
+
/**
|
|
11020
|
+
* Per-field affordances the record form hands down to every FieldRow without
|
|
11021
|
+
* threading a dozen props through GroupSection: remote-change ghosts (#2),
|
|
11022
|
+
* read-only reasons (#7), the apply-to-lines button (#5) and the related-record
|
|
11023
|
+
* opener the field context menu (#9) uses. Absent context = plain FieldRow.
|
|
11024
|
+
*/
|
|
11025
|
+
declare interface RemoteFieldChange {
|
|
11026
|
+
/** The value this field held before the remote write. */
|
|
11027
|
+
was: unknown;
|
|
11028
|
+
by: string | null;
|
|
11029
|
+
at: string;
|
|
11030
|
+
/** Set when the user had ALSO edited this field: the remote value is kept
|
|
11031
|
+
* aside instead of overwriting their draft, and the ghost offers a choice. */
|
|
11032
|
+
theirs?: unknown;
|
|
11033
|
+
conflict?: boolean;
|
|
11034
|
+
}
|
|
11035
|
+
|
|
10927
11036
|
/** "Pat updated 40 workflows: Status → On Hold"; a group of one reads as its entry. */
|
|
10928
11037
|
export declare function renderActivityGroupSentence(entries: ActivityEntryInput[], labels?: ActivityLabels | null): string;
|
|
10929
11038
|
|
|
@@ -11580,7 +11689,8 @@ declare interface ScopeDimensionLite {
|
|
|
11580
11689
|
* shows its own error where it renders, and the button keeps a small amber dot with a tip.
|
|
11581
11690
|
*
|
|
11582
11691
|
* `variant`:
|
|
11583
|
-
* - `header` (default): beside a page or record header's actions, a
|
|
11692
|
+
* - `header` (default): beside a page or record header's actions, a 36 px bordered button
|
|
11693
|
+
* matching the toolbar boxes around it (44 px hit area).
|
|
11584
11694
|
* - `rail`: the admin sidebar's always-dark footer strip.
|
|
11585
11695
|
* - `bar`: a portal top bar (inherits the bar's text colour).
|
|
11586
11696
|
*
|
|
@@ -11639,6 +11749,8 @@ declare interface ScreenRefreshState {
|
|
|
11639
11749
|
at: number;
|
|
11640
11750
|
/** What asked for the last refresh ('button', 'palette', 'idle-…'). */
|
|
11641
11751
|
reason: string | null;
|
|
11752
|
+
/** In 'partial': how many parts of the screen did not refresh. */
|
|
11753
|
+
failed?: number;
|
|
11642
11754
|
}
|
|
11643
11755
|
|
|
11644
11756
|
export declare function ScreenShareHost(): JSX.Element;
|
|
@@ -12787,7 +12899,7 @@ export declare interface SupportCategory {
|
|
|
12787
12899
|
* that moment) and a text attachment with the page, the console tail and the
|
|
12788
12900
|
* last twenty requests. Nothing uploads unless the request is sent.
|
|
12789
12901
|
*/
|
|
12790
|
-
export declare function SupportRequestDialog({ open, onOpenChange, collection, item, recordLabel, initialTitle, initialDescription, onCreated }: {
|
|
12902
|
+
export declare function SupportRequestDialog({ open, onOpenChange, collection, item, recordLabel, initialTitle, initialDescription, source, onCreated }: {
|
|
12791
12903
|
open: boolean;
|
|
12792
12904
|
onOpenChange: (open: boolean) => void;
|
|
12793
12905
|
collection?: string | null;
|
|
@@ -12797,6 +12909,8 @@ export declare function SupportRequestDialog({ open, onOpenChange, collection, i
|
|
|
12797
12909
|
/** Prefill (an error's "Get help": what happened and its reference). */
|
|
12798
12910
|
initialTitle?: string;
|
|
12799
12911
|
initialDescription?: string;
|
|
12912
|
+
/** 'error' = opened from an error's Get help (assignment rules may route on it). */
|
|
12913
|
+
source?: 'error';
|
|
12800
12914
|
onCreated?: (ticket: SupportTicket) => void;
|
|
12801
12915
|
}): JSX.Element;
|
|
12802
12916
|
|
|
@@ -12843,6 +12957,9 @@ export declare interface SupportTicket {
|
|
|
12843
12957
|
created_at: string;
|
|
12844
12958
|
updated_at: string | null;
|
|
12845
12959
|
completed_at: string | null;
|
|
12960
|
+
/** When the requester last heard back (newest reply from anyone else), else when they asked.
|
|
12961
|
+
* Served by the list only (older APIs leave it out). */
|
|
12962
|
+
waiting_since?: string | null;
|
|
12846
12963
|
}
|
|
12847
12964
|
|
|
12848
12965
|
export declare interface SupportTicketDetail extends SupportTicket {
|
|
@@ -12875,6 +12992,8 @@ export declare interface SupportTicketDetail extends SupportTicket {
|
|
|
12875
12992
|
reply: boolean;
|
|
12876
12993
|
cancel: boolean;
|
|
12877
12994
|
reopen: boolean;
|
|
12995
|
+
/** The reader raised this request (older APIs leave it out). */
|
|
12996
|
+
requester?: boolean;
|
|
12878
12997
|
};
|
|
12879
12998
|
}
|
|
12880
12999
|
|
|
@@ -13613,7 +13732,7 @@ export declare function useChatRooms(): {
|
|
|
13613
13732
|
|
|
13614
13733
|
export declare function useChatSearch(q: string, filters?: ChatSearchFilters): {
|
|
13615
13734
|
hits: ChatSearchHit[];
|
|
13616
|
-
meaning: "
|
|
13735
|
+
meaning: "model" | "words" | null;
|
|
13617
13736
|
loading: boolean;
|
|
13618
13737
|
};
|
|
13619
13738
|
|
|
@@ -14491,6 +14610,7 @@ export declare function useUserSync(opts?: UserSyncOptions): void;
|
|
|
14491
14610
|
|
|
14492
14611
|
export declare function useWatchActions(): WatchActions & {
|
|
14493
14612
|
prefs: WatchPrefs;
|
|
14613
|
+
prefsReady: boolean;
|
|
14494
14614
|
};
|
|
14495
14615
|
|
|
14496
14616
|
export declare function useWatchFields(form: UseNivaroFormReturn, fields: string[]): Record<string, unknown>;
|
|
@@ -14920,11 +15040,13 @@ export declare interface WidgetImageLabel {
|
|
|
14920
15040
|
* `label` is read when the item is chosen, so it always carries the filters
|
|
14921
15041
|
* in effect right then.
|
|
14922
15042
|
*/
|
|
14923
|
-
export declare function WidgetImageMenu({ getTarget, label, className, align }: {
|
|
15043
|
+
export declare function WidgetImageMenu({ getTarget, label, className, align, loading }: {
|
|
14924
15044
|
getTarget: () => HTMLElement | null;
|
|
14925
15045
|
label: WidgetImageInput | (() => WidgetImageInput);
|
|
14926
15046
|
className?: string;
|
|
14927
15047
|
align?: 'start' | 'center' | 'end';
|
|
15048
|
+
/** The host knows its widget is (re)loading: the picture would show a spinner. */
|
|
15049
|
+
loading?: boolean;
|
|
14928
15050
|
}): JSX.Element;
|
|
14929
15051
|
|
|
14930
15052
|
export declare function WidgetSlot({ widgetId, inputBindings, itemDraft, itemCollection, ready, label, defaultExpanded, frameless, apiBase: apiBaseProp, compact, strip, onClientAction, onWidgetType, onContentChange }: WidgetSlotProps): JSX.Element | null;
|