@nivaro/react 0.3.112 → 0.3.113
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/hooks/useSessionRecorder.js +1 -1
- package/dist/index.d.ts +37 -1
- package/dist/shared/components/CollectionBrowserView.js +2559 -2505
- package/dist/shared/components/cbv/ColumnHeaderMenu.js +56 -39
- package/dist/shared/components/cbv/column-totals.js +137 -40
- package/dist/shared/components/item-edit/InlineTableField.js +858 -863
- package/dist/shared/components/item-edit/UserChip.js +262 -239
- package/dist/shared/components/item-edit/grid-search.js +164 -134
- package/dist/shared/components/panels/PipelinePanel.js +1136 -1130
- package/dist/shared/components/panels/StandInReason.js +69 -0
- package/package.json +1 -1
|
@@ -10,7 +10,7 @@ import { noteReplayEvent as Fe, createReplayCheckoutState as Me } from "../share
|
|
|
10
10
|
import { emitReplayTap as Ne, setReplayRecorderMode as O, registerReplayCapture as Oe, clipEndOffset as Ue, withClipKind as We } from "../shared/lib/replay-capture.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.113", Q = 1e4, Ye = 150, xe = 3e3, je = 600, Ge = (o) => `nvr_replay_resume${o ? `:${o}` : ""}`, V = () => 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
|
@@ -11288,6 +11288,39 @@ declare interface StaleChunkRecoveryOptions {
|
|
|
11288
11288
|
*/
|
|
11289
11289
|
export declare function staleChunkReloadJustTried(opts?: Pick<StaleChunkRecoveryOptions, 'storage' | 'now'>): boolean;
|
|
11290
11290
|
|
|
11291
|
+
/**
|
|
11292
|
+
* Why a stand-in holds the record's current step (Rob 2026-11-14) — the
|
|
11293
|
+
* `stand_in_reason` of GET /pipelines/instance/:collection/:item
|
|
11294
|
+
* (api services/stand-in-reason.ts). Said the same way in the pipeline
|
|
11295
|
+
* panel's Owners section and the record header's Owners roster.
|
|
11296
|
+
*/
|
|
11297
|
+
declare interface StandInReason {
|
|
11298
|
+
state: {
|
|
11299
|
+
id: string;
|
|
11300
|
+
label: string;
|
|
11301
|
+
};
|
|
11302
|
+
people: Array<{
|
|
11303
|
+
id: string;
|
|
11304
|
+
name: string;
|
|
11305
|
+
}>;
|
|
11306
|
+
why_unassigned: {
|
|
11307
|
+
kind: 'no_groups' | 'uncovered' | 'no_match' | 'empty_group' | 'not_required';
|
|
11308
|
+
sentence: string;
|
|
11309
|
+
values?: Array<{
|
|
11310
|
+
label: string;
|
|
11311
|
+
value: string;
|
|
11312
|
+
}>;
|
|
11313
|
+
};
|
|
11314
|
+
why_this_person: {
|
|
11315
|
+
kind: 'creator' | 'field';
|
|
11316
|
+
sentence: string;
|
|
11317
|
+
};
|
|
11318
|
+
/** Administrators only. */
|
|
11319
|
+
detail?: string;
|
|
11320
|
+
/** Administrators only — an admin path, resolved through the host's consoleUrl. */
|
|
11321
|
+
matrix_href?: string;
|
|
11322
|
+
}
|
|
11323
|
+
|
|
11291
11324
|
/**
|
|
11292
11325
|
* Idempotent; safe from an effect that runs more than once, and safe to call
|
|
11293
11326
|
* from several components — only the first call arms the timer.
|
|
@@ -12871,7 +12904,7 @@ export declare function userOptionFilter(isAdmin: boolean): {
|
|
|
12871
12904
|
*/
|
|
12872
12905
|
export declare function useRowPresence(rows: RowRef[], opts?: RowPresenceOptions): Record<string, RowViewers>;
|
|
12873
12906
|
|
|
12874
|
-
export declare function UserRosterCluster({ users, showSingleName, nameLabel }: {
|
|
12907
|
+
export declare function UserRosterCluster({ users, showSingleName, nameLabel, standIn }: {
|
|
12875
12908
|
users: Array<{
|
|
12876
12909
|
id: string;
|
|
12877
12910
|
name: string;
|
|
@@ -12880,6 +12913,9 @@ export declare function UserRosterCluster({ users, showSingleName, nameLabel }:
|
|
|
12880
12913
|
showSingleName?: boolean;
|
|
12881
12914
|
/** Always name the first owner who can act (+N), not just a single one. */
|
|
12882
12915
|
nameLabel?: boolean;
|
|
12916
|
+
/** Why a stand-in holds the step (the owners tile): its people are marked
|
|
12917
|
+
* "stand-in" and the roster says why (Rob 2026-11-14). */
|
|
12918
|
+
standIn?: StandInReason | null;
|
|
12883
12919
|
}): React_2.JSX.Element;
|
|
12884
12920
|
|
|
12885
12921
|
declare interface UserSyncOptions {
|