@nivaro/react 0.3.13 → 0.3.14
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/components/slots/pipeline/OwnersSection.js +79 -75
- package/dist/full.css +1 -1
- package/dist/hooks/useSessionRecorder.js +1 -1
- package/dist/index.d.ts +33 -2
- package/dist/index.js +520 -516
- package/dist/shared/components/CollectionBrowserView.js +2373 -2298
- package/dist/shared/components/DataTable.js +347 -335
- package/dist/shared/components/ItemEditForm.js +5278 -5149
- package/dist/shared/components/ListLoadError.js +33 -0
- package/dist/shared/components/PageRenderer.js +562 -529
- package/dist/shared/components/ProfileView.js +53 -51
- package/dist/shared/components/RecordReadView.js +119 -117
- package/dist/shared/components/ReportView.js +1268 -1241
- package/dist/shared/components/cbv/export-rows.js +69 -0
- package/dist/shared/components/cbv/saved-view-risk.js +35 -0
- package/dist/shared/components/cbv/unknown-fields.js +18 -0
- package/dist/shared/components/integrations/console/AlertsView.js +27 -25
- package/dist/shared/components/integrations/console/EventsView.js +244 -209
- package/dist/shared/components/item-edit/CatalogPickerField.js +946 -878
- package/dist/shared/components/item-edit/DraftRecoveryBanner.js +84 -57
- package/dist/shared/components/item-edit/FieldAffordances.js +63 -61
- package/dist/shared/components/item-edit/FieldRow.js +195 -179
- package/dist/shared/components/item-edit/FilePickerField.js +257 -254
- package/dist/shared/components/item-edit/HeaderTools.js +139 -95
- package/dist/shared/components/item-edit/InlineTableField.js +2087 -2075
- package/dist/shared/components/item-edit/RowComments.js +1 -3
- package/dist/shared/components/item-edit/SummaryPanel.js +62 -62
- package/dist/shared/components/item-edit/UserChip.js +113 -113
- package/dist/shared/components/item-edit/file-download.js +18 -0
- package/dist/shared/components/item-edit/line-qty.js +67 -32
- package/dist/shared/components/item-edit/save-refusal.js +23 -0
- package/dist/shared/components/monitoring/TrafficMiniMap.js +9 -9
- package/dist/shared/components/panels/CommentPanel.js +30 -30
- package/dist/shared/components/panels/ItemLockBanner.js +207 -185
- package/dist/shared/components/panels/PipelinePanel.js +915 -786
- package/dist/shared/components/pipeline/PipelineEditorView.js +45 -25
- package/dist/shared/components/profile/DelegationCard.js +1 -1
- package/dist/shared/components/profile/session-actions.js +24 -24
- package/dist/shared/components/queue/QueueItemSheet.js +18 -18
- package/dist/shared/components/queue/QueueWorklist.js +517 -504
- package/dist/shared/components/ui/dropdown-menu.js +8 -7
- package/dist/shared/lib/draft-store.js +60 -33
- package/dist/shared/lib/leave-guard.js +38 -0
- package/dist/shared/lib/load-error.js +38 -17
- package/dist/shared/lib/summary-mode.js +25 -25
- package/dist/shared/lib/table-pins.js +23 -0
- package/dist/shared/lib/validation-rules.js +55 -51
- package/package.json +1 -1
|
@@ -9,7 +9,7 @@ import { noteReplayEvent as _e, createReplayCheckoutState as De } from "../share
|
|
|
9
9
|
import { emitReplayTap as Te, setReplayRecorderMode as N, registerReplayCapture as qe, clipEndOffset as Le, withClipKind as Pe } from "../shared/lib/replay-capture.js";
|
|
10
10
|
import { instrumentConsole as Ne, instrumentRequests as Fe, redactSecrets as Me } from "../shared/lib/replay-context.js";
|
|
11
11
|
import { instrumentSocket as Oe } from "../shared/lib/replay-socket.js";
|
|
12
|
-
const Ue = "nivaro-react@0.3.
|
|
12
|
+
const Ue = "nivaro-react@0.3.14", j = 1e4, We = 150, He = 3e3, Ke = 600, $e = (n) => `nvr_replay_resume${n ? `:${n}` : ""}`, G = () => typeof navigator > "u" || navigator.onLine !== !1;
|
|
13
13
|
function Be(n) {
|
|
14
14
|
return typeof n.url != "string" || typeof fetch != "function" ? null : (f, a) => {
|
|
15
15
|
const u = typeof n.getToken == "function" ? n.getToken() : void 0, d = { "Content-Type": "application/json" };
|
package/dist/index.d.ts
CHANGED
|
@@ -4833,6 +4833,14 @@ export declare function isCleanRecording(): boolean;
|
|
|
4833
4833
|
/** A bug in our own code (not the server's answer, not the network). */
|
|
4834
4834
|
export declare function isCodeError(err: unknown): boolean;
|
|
4835
4835
|
|
|
4836
|
+
/**
|
|
4837
|
+
* A list or search the server gave up on: 503 with code LIST_TIMEOUT, or (5xx
|
|
4838
|
+
* bodies carry no code) its "took too long" sentence. Distinct from the busy
|
|
4839
|
+
* pool's 503 SERVER_BUSY only in wording — both read as "try again", never as
|
|
4840
|
+
* an empty list.
|
|
4841
|
+
*/
|
|
4842
|
+
export declare function isListTimeout(err: unknown): boolean;
|
|
4843
|
+
|
|
4836
4844
|
/** True once a 401 said this tab is signed out, until a sign-in is heard. */
|
|
4837
4845
|
export declare function isSignedOut(): boolean;
|
|
4838
4846
|
|
|
@@ -5360,6 +5368,26 @@ declare type Listener = (...args: any[]) => void;
|
|
|
5360
5368
|
|
|
5361
5369
|
export declare function listFieldInterfaces(): string[];
|
|
5362
5370
|
|
|
5371
|
+
/**
|
|
5372
|
+
* A list read that failed — a 503 list timeout ("This search took too long to
|
|
5373
|
+
* finish…"), a busy server, anything else — said in place of the rows, with
|
|
5374
|
+
* Retry. Never the empty sentence: a failed read has no answer to borrow one
|
|
5375
|
+
* from. Rendered by the list itself above its table, not through the table's
|
|
5376
|
+
* empty slot.
|
|
5377
|
+
*/
|
|
5378
|
+
export declare function ListLoadError({ error, onRetry, className }: {
|
|
5379
|
+
error: unknown;
|
|
5380
|
+
onRetry: () => void;
|
|
5381
|
+
className?: string;
|
|
5382
|
+
}): JSX.Element;
|
|
5383
|
+
|
|
5384
|
+
/**
|
|
5385
|
+
* What a list shows in place of its rows when the read failed: a 503's own
|
|
5386
|
+
* words ("This search took too long to finish…", "The server is busy right
|
|
5387
|
+
* now…"), else the plain load-error sentence. Never "0 items".
|
|
5388
|
+
*/
|
|
5389
|
+
export declare function listLoadErrorText(err: unknown): string;
|
|
5390
|
+
|
|
5363
5391
|
/**
|
|
5364
5392
|
* "Copy as …" (#654): the request a list or record view is making, rendered
|
|
5365
5393
|
* as a curl command, an SDK call and a GraphQL document. Pure — no client,
|
|
@@ -6939,7 +6967,9 @@ export declare function PipelineTransitionButtons({ collection, item, onBeforeTr
|
|
|
6939
6967
|
item: string;
|
|
6940
6968
|
onBeforeTransition?: () => boolean | Promise<boolean>;
|
|
6941
6969
|
/** false = single-line buttons (header hosting): wrapping would absorb the
|
|
6942
|
-
* width pressure the header's overflow-collapse logic needs to see.
|
|
6970
|
+
* width pressure the header's overflow-collapse logic needs to see. When
|
|
6971
|
+
* the header row still overflows with its tool strip folded, the buttons
|
|
6972
|
+
* fold into one "Actions" menu so every step stays reachable. */
|
|
6943
6973
|
wrap?: boolean;
|
|
6944
6974
|
}): JSX.Element | null;
|
|
6945
6975
|
|
|
@@ -9831,7 +9861,8 @@ export declare function trackActivity(): void;
|
|
|
9831
9861
|
export declare function TrafficMiniMap({ window: win, tone, href, refreshMs, className }: {
|
|
9832
9862
|
window?: 60 | 300 | 900;
|
|
9833
9863
|
tone?: 'auto' | 'dark';
|
|
9834
|
-
/** Where "Open" goes. An absolute URL (another app's admin) opens in a new tab; default
|
|
9864
|
+
/** Where "Open" goes. An absolute URL (another app's admin) opens in a new tab; default
|
|
9865
|
+
* /traffic-map; '' = no link (the host does not know where the map lives). */
|
|
9835
9866
|
href?: string;
|
|
9836
9867
|
refreshMs?: number;
|
|
9837
9868
|
className?: string;
|