@nivaro/react 0.1.200 → 0.1.202

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/index.d.ts CHANGED
@@ -1759,7 +1759,7 @@ declare interface ImportValidationReport {
1759
1759
  truncated: boolean;
1760
1760
  }
1761
1761
 
1762
- export declare function InlineTableField({ relatedCollection, manyField, parentId, parentCollection, layoutId, showRowRevisions, rowComments, allowRevisionRestore, saveMode, showLineNumbers, enableReorder, parentCascades, rowRules, columnPresets, defaultPreset, drawerRelations, parentContextFields, uniqueBy, sortField, sortDir, sectionGroupBy, freezeFirstColumn, rowFilter, rowDefaults, allocateDrawer, autoAllocate, rowBulkActions, uploadTemplate, rowMatchPanel, submissionErrors, prefillParentId, parentFieldKey, readOnly, emptyLabel }: {
1762
+ export declare function InlineTableField({ relatedCollection, manyField, parentId, parentCollection, layoutId, showRowRevisions, rowComments, allowRevisionRestore, saveMode, showLineNumbers, enableReorder, parentCascades, rowRules, columnPresets, defaultPreset, drawerRelations, parentContextFields, uniqueBy, sortField, sortDir, sectionGroupBy, freezeFirstColumn, rowFilter, rowDefaults, allocateDrawer, autoAllocate, rowBulkActions, uploadTemplate, rowMatchPanel, lineSla, submissionErrors, prefillParentId, parentFieldKey, readOnly, emptyLabel }: {
1763
1763
  relatedCollection: string;
1764
1764
  manyField: string;
1765
1765
  parentId: string;
@@ -1811,6 +1811,11 @@ export declare function InlineTableField({ relatedCollection, manyField, parentI
1811
1811
  /** "Which related record is this row matched to, and if not, why" — see
1812
1812
  * RowMatchPanel (options.row_match_panel). Rendered in the row editor. */
1813
1813
  rowMatchPanel?: RowMatchPanelConfig;
1814
+ /** options.line_sla — OFF unless enabled; the server reads the real config. */
1815
+ lineSla?: {
1816
+ enabled?: boolean;
1817
+ field?: string;
1818
+ } | null;
1814
1819
  /** Flag rows a failed ERP push rejected (options.submission_errors) — the
1815
1820
  * latest failed nivaro_erp_submissions row for the PARENT record is parsed
1816
1821
  * for "LineNumber N: reason" entries and matching rows tint red with the
@@ -3659,6 +3664,16 @@ declare interface RowMatchPanelConfig {
3659
3664
  };
3660
3665
  no_parent_message?: string;
3661
3666
  empty_message?: string;
3667
+ /** Banner above the grid for candidates no row matches ("2 PO lines have
3668
+ * no workflow line") with a one-click add that stages rows from them. */
3669
+ unmatched_banner?: {
3670
+ /** "PO line" — used in "2 PO lines have no workflow line". */
3671
+ label?: string;
3672
+ /** Row field ← candidate column or dotted path (`purchase_order.number`). */
3673
+ field_map: Record<string, string>;
3674
+ /** Literal values every added row gets. */
3675
+ defaults?: Record<string, unknown>;
3676
+ };
3662
3677
  }
3663
3678
 
3664
3679
  declare interface RowRule {