@mcurros2/microm 1.1.88-0 → 1.1.89-0
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 +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -403,7 +403,7 @@ export interface EntityFormModalProps {
|
|
|
403
403
|
openState: boolean;
|
|
404
404
|
setOpenState: (open: boolean) => void;
|
|
405
405
|
onModalClosed?: () => void;
|
|
406
|
-
onModalSaved?: (status: OperationStatus<DBStatusResult | null
|
|
406
|
+
onModalSaved?: (status: OperationStatus<DBStatusResult | null>) => Promise<void>;
|
|
407
407
|
modalFormSize?: MicroMModalSize;
|
|
408
408
|
}
|
|
409
409
|
export const EntityFormModalDefaultProps: Partial<EntityFormModalProps>;
|
|
@@ -1761,7 +1761,7 @@ export interface OpenFormProps {
|
|
|
1761
1761
|
title?: string;
|
|
1762
1762
|
element?: HTMLElement;
|
|
1763
1763
|
getDataOnInit?: boolean;
|
|
1764
|
-
onModalSaved?: (new_status: OperationStatus<DBStatusResult | null
|
|
1764
|
+
onModalSaved?: (new_status: OperationStatus<DBStatusResult | null>) => void;
|
|
1765
1765
|
onModalCancelled?: () => void;
|
|
1766
1766
|
onModalClosed?: () => void;
|
|
1767
1767
|
modalFormSize?: MicroMModalSize;
|
|
@@ -3310,6 +3310,7 @@ export function useMultiDataMapGrid({ dataMapView, viewState, selectionMode, map
|
|
|
3310
3310
|
onModalClosed: (cancelled?: boolean) => void;
|
|
3311
3311
|
onModalSaved: (new_status: import("src").OperationStatus<import("src").DBStatusResult | null>) => void;
|
|
3312
3312
|
modalFormSize: string | number | undefined;
|
|
3313
|
+
onModalCancelled: () => void;
|
|
3313
3314
|
withBorder: boolean;
|
|
3314
3315
|
renderOnlyWhenVisible: boolean;
|
|
3315
3316
|
viewName: string;
|
|
@@ -3323,7 +3324,6 @@ export function useMultiDataMapGrid({ dataMapView, viewState, selectionMode, map
|
|
|
3323
3324
|
autoSelectFirstRow: boolean;
|
|
3324
3325
|
notExportableColumns: number[];
|
|
3325
3326
|
withModalFullscreenButton: boolean;
|
|
3326
|
-
onModalCancelled: () => void;
|
|
3327
3327
|
labels: import("src").DataGridLabels;
|
|
3328
3328
|
onRecordsDeleted: () => void;
|
|
3329
3329
|
onActionRefreshOnClose: () => void;
|