@nivaro/react 0.3.116 → 0.3.118

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.
Files changed (142) hide show
  1. package/dist/full.css +1 -1
  2. package/dist/hooks/useSessionRecorder.js +1 -1
  3. package/dist/index.d.ts +140 -14
  4. package/dist/index.js +488 -485
  5. package/dist/shared/components/ActivityEntry.js +130 -125
  6. package/dist/shared/components/AgentPresenceChip.js +36 -26
  7. package/dist/shared/components/CellCopyLayer.js +50 -45
  8. package/dist/shared/components/CollectionBrowserView.js +3855 -3785
  9. package/dist/shared/components/FilePreviewLightbox.js +96 -58
  10. package/dist/shared/components/InStep.js +18 -17
  11. package/dist/shared/components/ItemEditForm.js +4220 -4175
  12. package/dist/shared/components/JobsTray.js +8 -8
  13. package/dist/shared/components/LiveNewMatchesPill.js +21 -14
  14. package/dist/shared/components/LiveOffNote.js +3 -2
  15. package/dist/shared/components/LiveRowMark.js +53 -23
  16. package/dist/shared/components/LiveTraceView.js +162 -123
  17. package/dist/shared/components/MyWorkView.js +320 -299
  18. package/dist/shared/components/NotificationBell.js +14 -14
  19. package/dist/shared/components/OverflowRail.js +1 -1
  20. package/dist/shared/components/PageRenderer.js +120 -116
  21. package/dist/shared/components/ProfileView.js +203 -202
  22. package/dist/shared/components/RealtimeStatusBanner.js +31 -29
  23. package/dist/shared/components/RecordDrilldownSheet.js +7 -7
  24. package/dist/shared/components/RecordHoverCard.js +102 -84
  25. package/dist/shared/components/RecordReadView.js +146 -146
  26. package/dist/shared/components/ReportView.js +1086 -1091
  27. package/dist/shared/components/ScreenRefreshButton.js +34 -32
  28. package/dist/shared/components/TipLayer.js +65 -58
  29. package/dist/shared/components/WidgetImageMenu.js +83 -43
  30. package/dist/shared/components/activity/RecordActivityStream.js +175 -173
  31. package/dist/shared/components/bulk/BulkSelectionNotices.js +142 -119
  32. package/dist/shared/components/cbv/column-totals.js +62 -57
  33. package/dist/shared/components/change-proposals/ChangeProposalsPanel.js +158 -143
  34. package/dist/shared/components/change-proposals/ProposeChangeButton.js +17 -11
  35. package/dist/shared/components/change-proposals/ProposeChangeDialog.js +201 -173
  36. package/dist/shared/components/charts/category-axis.js +93 -0
  37. package/dist/shared/components/chat/ChatAnalyticsView.js +27 -27
  38. package/dist/shared/components/chat/HuddleAnalyticsTab.js +17 -17
  39. package/dist/shared/components/collections-directory/CollectionsToolbar.js +39 -41
  40. package/dist/shared/components/collections-directory/page-model.js +72 -67
  41. package/dist/shared/components/integrations/RecordIntegrationPreview.js +48 -56
  42. package/dist/shared/components/integrations/SendStatus.js +65 -59
  43. package/dist/shared/components/integrations/console/ReadyToSendView.js +275 -209
  44. package/dist/shared/components/integrations/console/SignalCard.js +237 -230
  45. package/dist/shared/components/item-edit/CatalogPickerField.js +227 -205
  46. package/dist/shared/components/item-edit/ChangedAfterApprovalBadge.js +131 -92
  47. package/dist/shared/components/item-edit/CloneDialog.js +191 -161
  48. package/dist/shared/components/item-edit/DerivedCauseNote.js +44 -30
  49. package/dist/shared/components/item-edit/DraftRecoveryBanner.js +153 -134
  50. package/dist/shared/components/item-edit/FieldComments.js +54 -53
  51. package/dist/shared/components/item-edit/FieldPointer.js +82 -67
  52. package/dist/shared/components/item-edit/FieldRow.js +106 -100
  53. package/dist/shared/components/item-edit/FieldSourceBadge.js +58 -56
  54. package/dist/shared/components/item-edit/FilePickerField.js +452 -387
  55. package/dist/shared/components/item-edit/HeaderSummaryChip.js +78 -56
  56. package/dist/shared/components/item-edit/HeaderTools.js +94 -85
  57. package/dist/shared/components/item-edit/InlineTableField.js +1242 -1218
  58. package/dist/shared/components/item-edit/ListNeighborNav.js +47 -50
  59. package/dist/shared/components/item-edit/LiveTraceSheet.js +15 -10
  60. package/dist/shared/components/item-edit/MembershipSetField.js +285 -254
  61. package/dist/shared/components/item-edit/OutboxReviewTray.js +155 -144
  62. package/dist/shared/components/item-edit/QueueReturnChip.js +15 -36
  63. package/dist/shared/components/item-edit/RecalcValue.js +57 -32
  64. package/dist/shared/components/item-edit/RecordHelpChip.js +21 -22
  65. package/dist/shared/components/item-edit/RecordLiveSync.js +283 -231
  66. package/dist/shared/components/item-edit/RelationCombobox.js +439 -393
  67. package/dist/shared/components/item-edit/RemoteChangeUi.js +292 -224
  68. package/dist/shared/components/item-edit/RemoteUploads.js +26 -20
  69. package/dist/shared/components/item-edit/RemovedLineNote.js +77 -67
  70. package/dist/shared/components/item-edit/RichTextEditorImpl.js +184 -179
  71. package/dist/shared/components/item-edit/ScheduledChangeChip.js +168 -134
  72. package/dist/shared/components/item-edit/SectionPresence.js +18 -10
  73. package/dist/shared/components/item-edit/SplitLinesButton.js +163 -139
  74. package/dist/shared/components/item-edit/UserChip.js +1 -1
  75. package/dist/shared/components/item-edit/file-live.js +69 -54
  76. package/dist/shared/components/item-edit/layout-switch.js +98 -89
  77. package/dist/shared/components/item-edit/partner-needs.js +12 -12
  78. package/dist/shared/components/item-edit/removed-line.js +31 -25
  79. package/dist/shared/components/layout-editor/pickers/field-picker.js +112 -104
  80. package/dist/shared/components/list/ListViewers.js +46 -35
  81. package/dist/shared/components/notifications/NotificationCenterView.js +479 -437
  82. package/dist/shared/components/panels/AccessDeniedPanel.js +176 -101
  83. package/dist/shared/components/panels/AlertBanners.js +82 -72
  84. package/dist/shared/components/panels/BranchLanes.js +22 -22
  85. package/dist/shared/components/panels/CommentImages.js +123 -102
  86. package/dist/shared/components/panels/CommentPanel.js +186 -185
  87. package/dist/shared/components/panels/ExternalRequestsChip.js +111 -119
  88. package/dist/shared/components/panels/OwnerOpenedLine.js +31 -24
  89. package/dist/shared/components/panels/PipelinePanel.js +2037 -1885
  90. package/dist/shared/components/panels/ResubmissionDiff.js +163 -142
  91. package/dist/shared/components/pipeline/BindingStartStateSettings.js +163 -0
  92. package/dist/shared/components/pipeline/OwnerMatrixSheet.js +400 -288
  93. package/dist/shared/components/pipeline/PipelineEditorView.js +320 -299
  94. package/dist/shared/components/profile/AgentNameField.js +107 -81
  95. package/dist/shared/components/profile/AgentsPanel.js +184 -184
  96. package/dist/shared/components/profile/PersonAccess.js +599 -495
  97. package/dist/shared/components/profile/SignInTroubleshooter.js +160 -127
  98. package/dist/shared/components/profile/SignedInDevices.js +17 -17
  99. package/dist/shared/components/profile/primitives.js +1 -1
  100. package/dist/shared/components/queue/OwnerAvatars.js +91 -54
  101. package/dist/shared/components/queue/QueueTeamStrip.js +56 -46
  102. package/dist/shared/components/queue/QueueWorklist.js +1002 -983
  103. package/dist/shared/components/support/AssignRules.js +1733 -0
  104. package/dist/shared/components/support/PersonPick.js +88 -0
  105. package/dist/shared/components/support/RequestList.js +790 -0
  106. package/dist/shared/components/support/ScreenShare.js +158 -152
  107. package/dist/shared/components/support/SupportRequestDialog.js +50 -48
  108. package/dist/shared/components/support/SupportView.js +140 -246
  109. package/dist/shared/components/support/TicketDetailSheet.js +82 -75
  110. package/dist/shared/components/support/TicketSlowScreens.js +9 -9
  111. package/dist/shared/components/support/assign-rules-text.js +171 -0
  112. package/dist/shared/components/support/support-list.js +125 -0
  113. package/dist/shared/components/ui/SimpleSelect.js +28 -20
  114. package/dist/shared/components/ui/checkbox.js +6 -6
  115. package/dist/shared/components/ui/select.js +43 -39
  116. package/dist/shared/components/ui/sheet.js +9 -9
  117. package/dist/shared/components/ui/switch.js +12 -11
  118. package/dist/shared/components/watch-list/WatchDock.js +532 -459
  119. package/dist/shared/components/watch-list/WatchExtras.js +332 -286
  120. package/dist/shared/components/watch-list/WatchRows.js +164 -140
  121. package/dist/shared/lib/activity-sentence.js +103 -91
  122. package/dist/shared/lib/agent-presence.js +27 -21
  123. package/dist/shared/lib/approval-progress.js +2 -2
  124. package/dist/shared/lib/copy-rules.js +31 -24
  125. package/dist/shared/lib/derived-causes.js +113 -78
  126. package/dist/shared/lib/grid-cursors.js +26 -26
  127. package/dist/shared/lib/label-flash.js +27 -0
  128. package/dist/shared/lib/list-return.js +137 -125
  129. package/dist/shared/lib/live-deltas.js +40 -34
  130. package/dist/shared/lib/live-groups.js +56 -52
  131. package/dist/shared/lib/live-preference.js +64 -59
  132. package/dist/shared/lib/live-screen.js +223 -192
  133. package/dist/shared/lib/partner-failure.js +11 -11
  134. package/dist/shared/lib/rollup-recalc.js +68 -64
  135. package/dist/shared/lib/screen-refresh.js +74 -68
  136. package/dist/shared/lib/screen-share.js +108 -104
  137. package/dist/shared/lib/send-status.js +77 -61
  138. package/dist/shared/lib/text-diff-window.js +29 -0
  139. package/dist/shared/lib/use-query-entry.js +17 -0
  140. package/dist/shared/lib/watch-list.js +210 -209
  141. package/dist/shared/lib/widget-image-render.js +72 -49
  142. 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.116", V = 1e4, Ye = 150, xe = 3e3, je = 600, Ge = (o) => `nvr_replay_resume${o ? `:${o}` : ""}`, X = () => typeof navigator > "u" || navigator.onLine !== !1;
13
+ const ze = "nivaro-react@0.3.118", 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
- /** The whole phrase: "+3 since this morning". */
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: its 1-based position, the total and its neighbours. */
7112
- export declare function listNeighbors(stash: ListReturnStash | null, at: ListRef): {
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
- } | null;
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. It floats over the top of the results (no height of its own),
7393
- * so nothing the person is reading moves when it appears. Put it first inside the scrolling
7394
- * results container.
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
  /**
@@ -9164,6 +9205,10 @@ declare type PipelineBinding = {
9164
9205
  auto_start: boolean;
9165
9206
  auto_start_state: string | null;
9166
9207
  owner_fallback_field: string | null;
9208
+ /** Migration 531: JSON role ids that may create a record in a later step. */
9209
+ start_state_roles?: string | null;
9210
+ /** Migration 531: JSON state keys those roles may pick; empty = any. */
9211
+ start_state_allowed?: string | null;
9167
9212
  dimensions?: PipelineOwnerDimension[];
9168
9213
  };
9169
9214
 
@@ -9445,6 +9490,14 @@ declare interface PreviewFile {
9445
9490
  size?: number | null;
9446
9491
  }
9447
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
+
9448
9501
  /** Custom profile fields (#683) — admin-defined extras (cost center, skills…),
9449
9502
  * self-served here. Renders nothing when no definitions exist. */
9450
9503
  export declare function ProfileFieldsCard(): JSX.Element | null;
@@ -10821,8 +10874,20 @@ export declare function RelatedRecordsPanel({ collection, itemId, title, default
10821
10874
  defaultExpanded?: boolean;
10822
10875
  }): JSX.Element;
10823
10876
 
10824
- 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 }: {
10825
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
+ };
10826
10891
  /** Overrides the collection's display template for this picker's options —
10827
10892
  * a catalog's "Add any item" shows the item number AND its description
10828
10893
  * (army11 f1: bare numbers made people pick blind). */
@@ -10920,6 +10985,54 @@ export declare function releaseGatedReadsOnSharedFetch(cache: QueryCacheLike): (
10920
10985
 
10921
10986
  export declare function releaseHeld(): HeldItem[];
10922
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
+
10923
11036
  /** "Pat updated 40 workflows: Status → On Hold"; a group of one reads as its entry. */
10924
11037
  export declare function renderActivityGroupSentence(entries: ActivityEntryInput[], labels?: ActivityLabels | null): string;
10925
11038
 
@@ -11576,7 +11689,8 @@ declare interface ScopeDimensionLite {
11576
11689
  * shows its own error where it renders, and the button keeps a small amber dot with a tip.
11577
11690
  *
11578
11691
  * `variant`:
11579
- * - `header` (default): beside a page or record header's actions, a 32 px ghost button.
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).
11580
11694
  * - `rail`: the admin sidebar's always-dark footer strip.
11581
11695
  * - `bar`: a portal top bar (inherits the bar's text colour).
11582
11696
  *
@@ -11635,6 +11749,8 @@ declare interface ScreenRefreshState {
11635
11749
  at: number;
11636
11750
  /** What asked for the last refresh ('button', 'palette', 'idle-…'). */
11637
11751
  reason: string | null;
11752
+ /** In 'partial': how many parts of the screen did not refresh. */
11753
+ failed?: number;
11638
11754
  }
11639
11755
 
11640
11756
  export declare function ScreenShareHost(): JSX.Element;
@@ -12783,7 +12899,7 @@ export declare interface SupportCategory {
12783
12899
  * that moment) and a text attachment with the page, the console tail and the
12784
12900
  * last twenty requests. Nothing uploads unless the request is sent.
12785
12901
  */
12786
- 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 }: {
12787
12903
  open: boolean;
12788
12904
  onOpenChange: (open: boolean) => void;
12789
12905
  collection?: string | null;
@@ -12793,6 +12909,8 @@ export declare function SupportRequestDialog({ open, onOpenChange, collection, i
12793
12909
  /** Prefill (an error's "Get help": what happened and its reference). */
12794
12910
  initialTitle?: string;
12795
12911
  initialDescription?: string;
12912
+ /** 'error' = opened from an error's Get help (assignment rules may route on it). */
12913
+ source?: 'error';
12796
12914
  onCreated?: (ticket: SupportTicket) => void;
12797
12915
  }): JSX.Element;
12798
12916
 
@@ -12839,6 +12957,9 @@ export declare interface SupportTicket {
12839
12957
  created_at: string;
12840
12958
  updated_at: string | null;
12841
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;
12842
12963
  }
12843
12964
 
12844
12965
  export declare interface SupportTicketDetail extends SupportTicket {
@@ -12871,6 +12992,8 @@ export declare interface SupportTicketDetail extends SupportTicket {
12871
12992
  reply: boolean;
12872
12993
  cancel: boolean;
12873
12994
  reopen: boolean;
12995
+ /** The reader raised this request (older APIs leave it out). */
12996
+ requester?: boolean;
12874
12997
  };
12875
12998
  }
12876
12999
 
@@ -13609,7 +13732,7 @@ export declare function useChatRooms(): {
13609
13732
 
13610
13733
  export declare function useChatSearch(q: string, filters?: ChatSearchFilters): {
13611
13734
  hits: ChatSearchHit[];
13612
- meaning: "words" | "model" | null;
13735
+ meaning: "model" | "words" | null;
13613
13736
  loading: boolean;
13614
13737
  };
13615
13738
 
@@ -14487,6 +14610,7 @@ export declare function useUserSync(opts?: UserSyncOptions): void;
14487
14610
 
14488
14611
  export declare function useWatchActions(): WatchActions & {
14489
14612
  prefs: WatchPrefs;
14613
+ prefsReady: boolean;
14490
14614
  };
14491
14615
 
14492
14616
  export declare function useWatchFields(form: UseNivaroFormReturn, fields: string[]): Record<string, unknown>;
@@ -14916,11 +15040,13 @@ export declare interface WidgetImageLabel {
14916
15040
  * `label` is read when the item is chosen, so it always carries the filters
14917
15041
  * in effect right then.
14918
15042
  */
14919
- export declare function WidgetImageMenu({ getTarget, label, className, align }: {
15043
+ export declare function WidgetImageMenu({ getTarget, label, className, align, loading }: {
14920
15044
  getTarget: () => HTMLElement | null;
14921
15045
  label: WidgetImageInput | (() => WidgetImageInput);
14922
15046
  className?: string;
14923
15047
  align?: 'start' | 'center' | 'end';
15048
+ /** The host knows its widget is (re)loading: the picture would show a spinner. */
15049
+ loading?: boolean;
14924
15050
  }): JSX.Element;
14925
15051
 
14926
15052
  export declare function WidgetSlot({ widgetId, inputBindings, itemDraft, itemCollection, ready, label, defaultExpanded, frameless, apiBase: apiBaseProp, compact, strip, onClientAction, onWidgetType, onContentChange }: WidgetSlotProps): JSX.Element | null;