@nivaro/react 0.3.65 → 0.3.66
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 +13 -4
- package/dist/shared/components/CollectionBrowserView.js +2509 -2668
- package/dist/shared/components/ItemEditForm.js +3910 -3771
- package/dist/shared/components/MyWorkView.js +124 -113
- package/dist/shared/components/ProfileView.js +483 -472
- package/dist/shared/components/ReportView.js +1100 -1094
- package/dist/shared/components/bulk/BulkCompareButton.js +62 -0
- package/dist/shared/components/bulk/MessageStakeholders.js +235 -0
- package/dist/shared/components/item-edit/CatalogPickerField.js +240 -238
- package/dist/shared/components/item-edit/GroupSection.js +555 -538
- package/dist/shared/components/item-edit/M2MCombobox.js +414 -349
- package/dist/shared/components/item-edit/MidairCollisionDialog.js +211 -187
- package/dist/shared/components/item-edit/RelationCombobox.js +327 -311
- package/dist/shared/components/item-edit/SummaryPanel.js +146 -144
- package/dist/shared/components/item-edit/UserChip.js +264 -229
- package/dist/shared/components/item-edit/cascade-clear-notice.js +23 -19
- package/dist/shared/components/item-edit/header-path-preview.js +52 -0
- package/dist/shared/components/item-edit/line-merge.js +73 -47
- package/dist/shared/components/item-edit/picker-search.js +25 -21
- package/dist/shared/components/queue/QueueWorklist.js +799 -772
- package/dist/shared/lib/obligation-reason-text.js +1 -1
- package/dist/shared/lib/quick-filter-cascade.js +29 -19
- 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.66", 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
|
@@ -121,6 +121,9 @@ declare interface ActiveLayoutData {
|
|
|
121
121
|
groups: FieldGroup[];
|
|
122
122
|
assignments: SlotAssignment[];
|
|
123
123
|
ungrouped_sort?: number | null;
|
|
124
|
+
/** The `?layout=` this page was opened with names no form the person may
|
|
125
|
+
* open: the answer is the usual form, and the page says so (army11 f3). */
|
|
126
|
+
requested_form_unavailable?: boolean;
|
|
124
127
|
}
|
|
125
128
|
|
|
126
129
|
/** Who really did it (nivaro_activity.actor, migration 516; derived for older rows). */
|
|
@@ -9923,6 +9926,12 @@ export declare interface RoomInfo {
|
|
|
9923
9926
|
*/
|
|
9924
9927
|
declare type RoomOpener = (room: string, label?: string) => void;
|
|
9925
9928
|
|
|
9929
|
+
/** Stacked avatar cluster (+N) with a hover/pinnable portal roster whose rows
|
|
9930
|
+
* are UserChips — the single user-display primitive for owners/user lists.
|
|
9931
|
+
* Reused by the item-header Owners chip and the collection browser. */
|
|
9932
|
+
/** A person who can no longer act, as the header says it. */
|
|
9933
|
+
declare type RosterInactive = 'suspended' | 'former';
|
|
9934
|
+
|
|
9926
9935
|
declare interface Row {
|
|
9927
9936
|
id: number;
|
|
9928
9937
|
api: string;
|
|
@@ -12298,15 +12307,15 @@ export declare function userOptionFilter(isAdmin: boolean): {
|
|
|
12298
12307
|
*/
|
|
12299
12308
|
export declare function useRowPresence(rows: RowRef[], opts?: RowPresenceOptions): Record<string, RowViewers>;
|
|
12300
12309
|
|
|
12301
|
-
|
|
12302
|
-
* are UserChips — the single user-display primitive for owners/user lists.
|
|
12303
|
-
* Reused by the item-header Owners chip and the collection browser. */
|
|
12304
|
-
export declare function UserRosterCluster({ users, showSingleName }: {
|
|
12310
|
+
export declare function UserRosterCluster({ users, showSingleName, nameLabel }: {
|
|
12305
12311
|
users: Array<{
|
|
12306
12312
|
id: string;
|
|
12307
12313
|
name: string;
|
|
12314
|
+
inactive?: RosterInactive;
|
|
12308
12315
|
}>;
|
|
12309
12316
|
showSingleName?: boolean;
|
|
12317
|
+
/** Always name the first owner who can act (+N), not just a single one. */
|
|
12318
|
+
nameLabel?: boolean;
|
|
12310
12319
|
}): React_2.JSX.Element;
|
|
12311
12320
|
|
|
12312
12321
|
declare interface UserSyncOptions {
|