@nivaro/react 0.3.49 → 0.3.50
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/InlineGridField.js +166 -105
- package/dist/full.css +1 -1
- package/dist/hooks/useSessionRecorder.js +1 -1
- package/dist/index.d.ts +25 -1
- package/dist/shared/components/ItemEditForm.js +4676 -4579
- package/dist/shared/components/QueryTable.js +461 -332
- package/dist/shared/components/item-edit/CatalogPickerField.js +1144 -1127
- package/dist/shared/components/item-edit/CloneDialog.js +192 -142
- package/dist/shared/components/item-edit/FieldRenderer.js +127 -126
- package/dist/shared/components/item-edit/FieldRow.js +236 -226
- package/dist/shared/components/item-edit/InlineGridField.js +92 -90
- package/dist/shared/components/item-edit/InlineTableField.js +3088 -2945
- package/dist/shared/components/item-edit/MidairCollisionDialog.js +175 -0
- package/dist/shared/components/item-edit/PlanGrid.js +162 -162
- package/dist/shared/components/item-edit/PolishFields.js +169 -162
- package/dist/shared/components/item-edit/RelationCombobox.js +186 -181
- package/dist/shared/components/item-edit/SummaryPanel.js +148 -135
- package/dist/shared/components/item-edit/ValidationSummary.js +64 -47
- package/dist/shared/components/item-edit/helpers.js +181 -155
- package/dist/shared/components/item-edit/line-midair.js +201 -0
- package/dist/shared/components/item-edit/soft-rules.js +27 -0
- package/dist/shared/components/layout-editor/parity-keys.json.js +1 -1
- package/dist/shared/components/panels/ItemLockBanner.js +414 -358
- package/dist/shared/components/panels/PipelinePanel.js +1157 -963
- package/dist/shared/components/panels/RecordIntegrityBanner.js +1 -1
- package/dist/shared/components/queue/QueueWorklist.js +870 -827
- package/dist/shared/components/queue/column-chooser.js +21 -0
- package/dist/shared/components/queue/live-state-aspect.js +6 -0
- package/dist/shared/components/ui/number-draft-input.js +93 -0
- package/dist/shared/components/widgets/ReviewListWidget.js +191 -166
- package/dist/shared/lib/error-hints.js +1 -0
- 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.50", 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
|
@@ -8355,6 +8355,24 @@ declare interface QueryTableConfig {
|
|
|
8355
8355
|
sticky?: boolean;
|
|
8356
8356
|
/** Render zeroes as an em dash — de-noises mostly-empty month grids. */
|
|
8357
8357
|
zero_dash?: boolean;
|
|
8358
|
+
/** Header clicks sort the rows (asc → desc → data order). Flat tables only:
|
|
8359
|
+
* ignored with tree_group_by. Off by default. */
|
|
8360
|
+
sortable?: boolean;
|
|
8361
|
+
/** A search box above the table — shows the rows whose text (any column,
|
|
8362
|
+
* raw or formatted) contains what was typed. Off by default. */
|
|
8363
|
+
search?: boolean;
|
|
8364
|
+
/** A CSV button above the table: the rows and columns as shown (search,
|
|
8365
|
+
* sort and hidden rows applied). Off by default. */
|
|
8366
|
+
export_csv?: boolean | {
|
|
8367
|
+
filename?: string;
|
|
8368
|
+
};
|
|
8369
|
+
/** A "Hide empty rows" pill: hides rows whose `fields` are all blank or 0.
|
|
8370
|
+
* Off by default; `default_on` starts with the rows hidden. */
|
|
8371
|
+
hide_empty?: {
|
|
8372
|
+
fields: string[];
|
|
8373
|
+
label?: string;
|
|
8374
|
+
default_on?: boolean;
|
|
8375
|
+
};
|
|
8358
8376
|
/** Column show/hide toggle pills above the table (e.g. Actuals / Forecasts /
|
|
8359
8377
|
* Calendar Year). A toggle turned OFF hides columns matched by exact
|
|
8360
8378
|
* `fields` or a field-name `suffix` — unless `hide_when_on` inverts it
|
|
@@ -9641,7 +9659,8 @@ declare interface ReviewListStatusOption {
|
|
|
9641
9659
|
value: string;
|
|
9642
9660
|
label: string;
|
|
9643
9661
|
color: string;
|
|
9644
|
-
/**
|
|
9662
|
+
/** The confirm asks for a note and will not send without one. Every option
|
|
9663
|
+
* is confirmed first either way; without this the note is optional. */
|
|
9645
9664
|
require_note?: boolean;
|
|
9646
9665
|
}
|
|
9647
9666
|
|
|
@@ -11665,6 +11684,11 @@ export declare function useItemLock(collection: string | undefined, item: string
|
|
|
11665
11684
|
lazy?: boolean;
|
|
11666
11685
|
/** False = mounted but not on screen (a background workspace tab). */
|
|
11667
11686
|
active?: boolean;
|
|
11687
|
+
/** Whether the form holds unsaved work (lazy mode). A form that turns
|
|
11688
|
+
* clean (saved, or every edit undone) lets its lock go and takes it
|
|
11689
|
+
* again on the next real edit; while clean, nothing re-takes it on its
|
|
11690
|
+
* own (heartbeat, coming back to the tab). Absent = not tracked. */
|
|
11691
|
+
dirty?: boolean;
|
|
11668
11692
|
}): {
|
|
11669
11693
|
lockHolder: LockHolder | null;
|
|
11670
11694
|
acquired: boolean;
|