@nivaro/react 0.1.188 → 0.1.189
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 +7 -1
- package/dist/index.js +20094 -20033
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1826,12 +1826,18 @@ export declare type ItemEditAuthContextValue = {
|
|
|
1826
1826
|
userId: string;
|
|
1827
1827
|
};
|
|
1828
1828
|
|
|
1829
|
-
export declare function ItemEditForm({ collection, itemId: itemIdProp, layoutSlug, onBack, onSaved, onDeleted, showHeader, headerExtra, focusField, showItemActions, onDirtyChange, documentTitle, registerSaveHandler, onDuplicate, showRevisions, showClone, showPipeline, showWorkflow, showComments, showTasks, showLockBanner, className, headerClassName, renderField, extraTopContent, extraBottomContent, onHeaderWidgets, initialImportResult, initialValues, initialLinks, initialRows }: ItemEditFormProps): JSX.Element;
|
|
1829
|
+
export declare function ItemEditForm({ collection, itemId: itemIdProp, layoutSlug, initialAddendumViewId, onAddendumViewChange, onBack, onSaved, onDeleted, showHeader, headerExtra, focusField, showItemActions, onDirtyChange, documentTitle, registerSaveHandler, onDuplicate, showRevisions, showClone, showPipeline, showWorkflow, showComments, showTasks, showLockBanner, className, headerClassName, renderField, extraTopContent, extraBottomContent, onHeaderWidgets, initialImportResult, initialValues, initialLinks, initialRows }: ItemEditFormProps): JSX.Element;
|
|
1830
1830
|
|
|
1831
1831
|
export declare interface ItemEditFormProps {
|
|
1832
1832
|
collection: string;
|
|
1833
1833
|
itemId?: string;
|
|
1834
1834
|
layoutSlug?: string;
|
|
1835
|
+
/** Open with this addendum's view selected (the `?addendum=` deep link that
|
|
1836
|
+
* My Work rows, digest lines and notifications carry). */
|
|
1837
|
+
initialAddendumViewId?: string | null;
|
|
1838
|
+
/** Fires whenever the selected view changes: an addendum id, or null for the
|
|
1839
|
+
* current record — hosts mirror it into the URL / tab chrome. */
|
|
1840
|
+
onAddendumViewChange?: (addendumId: string | null) => void;
|
|
1835
1841
|
onBack?: () => void;
|
|
1836
1842
|
onSaved?: (id: string) => void;
|
|
1837
1843
|
onDeleted?: () => void;
|