@nivaro/react 0.1.247 → 0.1.248
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 +10 -1
- package/dist/index.js +19005 -18972
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3829,7 +3829,7 @@ export declare function RecordGridWidgetBody({ widget }: {
|
|
|
3829
3829
|
widget: PageRendererWidget;
|
|
3830
3830
|
}): JSX.Element;
|
|
3831
3831
|
|
|
3832
|
-
export declare function RecordReadView({ collection, itemId, layoutData, flush, renderSlot, integrityMarks }: {
|
|
3832
|
+
export declare function RecordReadView({ collection, itemId, layoutData, flush, renderSlot, integrityMarks, renderGrid, gridCounts }: {
|
|
3833
3833
|
collection: string;
|
|
3834
3834
|
itemId: string;
|
|
3835
3835
|
layoutData: ReadViewLayout;
|
|
@@ -3849,6 +3849,15 @@ export declare function RecordReadView({ collection, itemId, layoutData, flush,
|
|
|
3849
3849
|
* finding gets an amber mark whose tip lists the messages.
|
|
3850
3850
|
*/
|
|
3851
3851
|
integrityMarks?: boolean;
|
|
3852
|
+
/**
|
|
3853
|
+
* Host-rendered child grid for an O2M alias — the record form passes its
|
|
3854
|
+
* real inline grid in read-only mode so Summary keeps everything the edit
|
|
3855
|
+
* grid decorates (PO match dots, row lints, submission errors, presets,
|
|
3856
|
+
* aggregate footer). Return null to fall back to the plain child table.
|
|
3857
|
+
*/
|
|
3858
|
+
renderGrid?: (assignment: LayoutAssignment) => ReactNode;
|
|
3859
|
+
/** Row counts per O2M alias when the host renders the grids (hide_empty). */
|
|
3860
|
+
gridCounts?: Record<string, number>;
|
|
3852
3861
|
}): JSX.Element;
|
|
3853
3862
|
|
|
3854
3863
|
/**
|