@nivaro/react 0.3.50 → 0.3.51
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 +13 -3
- package/dist/shared/components/ItemEditForm.js +4720 -4593
- package/dist/shared/components/QueryTable.js +337 -324
- package/dist/shared/components/ReportView.js +105 -99
- package/dist/shared/components/alerts/AlertManagerView.js +327 -301
- package/dist/shared/components/item-edit/CatalogPickerField.js +1149 -1111
- package/dist/shared/components/item-edit/DraftRecoveryBanner.js +58 -53
- package/dist/shared/components/item-edit/FieldRenderer.js +227 -223
- package/dist/shared/components/item-edit/FieldRow.js +287 -265
- package/dist/shared/components/item-edit/FilePickerField.js +315 -307
- package/dist/shared/components/item-edit/InlineTableField.js +491 -466
- package/dist/shared/components/item-edit/RecordHeaderActions.js +76 -75
- package/dist/shared/components/item-edit/RecordLiveSync.js +93 -91
- package/dist/shared/components/item-edit/RelationCombobox.js +62 -60
- package/dist/shared/components/item-edit/SummaryPanel.js +287 -277
- package/dist/shared/components/item-edit/UserChip.js +233 -200
- package/dist/shared/components/item-edit/header-midair.js +51 -0
- package/dist/shared/components/item-edit/line-midair.js +76 -70
- package/dist/shared/components/panels/CommentPanel.js +290 -284
- package/dist/shared/components/panels/ItemLockBanner.js +30 -30
- package/dist/shared/components/panels/PipelinePanel.js +956 -901
- package/dist/shared/components/panels/TaskPanel.js +71 -61
- package/dist/shared/components/panels/TransitionRequirementsDialog.js +569 -439
- package/dist/shared/components/panels/requirement-side-effects.js +40 -0
- package/dist/shared/components/queue/QueueWorklist.js +141 -130
- package/dist/shared/lib/draft-store.js +48 -34
- package/dist/shared/lib/query-stats.js +60 -60
- 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.51", 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
|
@@ -2223,13 +2223,16 @@ export declare function CommandCenterView({
|
|
|
2223
2223
|
urlAdapter?: BoardUrlAdapter;
|
|
2224
2224
|
}): JSX.Element;
|
|
2225
2225
|
|
|
2226
|
-
export declare function CommentPanel({ collection, item, title, defaultExpanded, queuedComments, onQueueComment }: {
|
|
2226
|
+
export declare function CommentPanel({ collection, item, title, defaultExpanded, queuedComments, onQueueComment, onUnsentDraft }: {
|
|
2227
2227
|
collection: string;
|
|
2228
2228
|
item: string | number;
|
|
2229
2229
|
title?: string;
|
|
2230
2230
|
defaultExpanded?: boolean;
|
|
2231
2231
|
queuedComments?: string[];
|
|
2232
2232
|
onQueueComment?: (text: string) => void;
|
|
2233
|
+
/** A new record: the text still in the box (not Queued yet), so Create can
|
|
2234
|
+
* post it too instead of dropping it (army5 b01-N13). */
|
|
2235
|
+
onUnsentDraft?: (text: string) => void;
|
|
2233
2236
|
}): React_2.JSX.Element;
|
|
2234
2237
|
|
|
2235
2238
|
/** Everything every view can lean on: the AI gateway, partners and the realtime socket. */
|
|
@@ -3509,8 +3512,6 @@ export declare interface FieldInterfaceProps {
|
|
|
3509
3512
|
itemId: string | null;
|
|
3510
3513
|
}
|
|
3511
3514
|
|
|
3512
|
-
/** Memoized: rows pass it stable props, so a row re-render that changes
|
|
3513
|
-
* nothing about this field's control skips it. */
|
|
3514
3515
|
export declare const FieldRenderer: NamedExoticComponent< {
|
|
3515
3516
|
field: CMSField;
|
|
3516
3517
|
value: unknown;
|
|
@@ -3524,6 +3525,8 @@ requiredParentLabel?: string | null;
|
|
|
3524
3525
|
narrowedBy?: {
|
|
3525
3526
|
labels: string[];
|
|
3526
3527
|
keys: string[];
|
|
3528
|
+
/** Keys offered for clearing; absent = all of `keys`. */
|
|
3529
|
+
clearable?: string[];
|
|
3527
3530
|
onClear?: (key: string) => void;
|
|
3528
3531
|
};
|
|
3529
3532
|
onCountChange?: (count: number) => void;
|
|
@@ -8319,6 +8322,11 @@ declare interface QueryTableColumn {
|
|
|
8319
8322
|
empty_label?: string;
|
|
8320
8323
|
/** Cap a long text column (px); the full text shows on hover. */
|
|
8321
8324
|
max_width?: number;
|
|
8325
|
+
/** Totals footer: when NO row holds a number in this column, the total is
|
|
8326
|
+
* "no figure" (—), not 0. Default on for currency columns — a column of
|
|
8327
|
+
* missing CAPEX targets totalled "$0" beside rows that said "—" (army 5
|
|
8328
|
+
* b04-N-1). false keeps the 0. */
|
|
8329
|
+
null_when_empty?: boolean;
|
|
8322
8330
|
}
|
|
8323
8331
|
|
|
8324
8332
|
declare interface QueryTableConfig {
|
|
@@ -9316,6 +9324,8 @@ export declare function RelationCombobox({ collection, value, onChange, disabled
|
|
|
9316
9324
|
narrowedBy?: {
|
|
9317
9325
|
labels: string[];
|
|
9318
9326
|
keys: string[];
|
|
9327
|
+
/** Keys offered for clearing; absent = all of `keys`. */
|
|
9328
|
+
clearable?: string[];
|
|
9319
9329
|
onClear?: (key: string) => void;
|
|
9320
9330
|
};
|
|
9321
9331
|
/** When the filtered option set has EXACTLY one option and the field is
|