@mcurros2/microm 1.1.85-0 → 1.1.88-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 +3 -3
- 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>, modals?: ModalContextType) => 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>, modals?: ModalContextType) => void;
|
|
1765
1765
|
onModalCancelled?: () => void;
|
|
1766
1766
|
onModalClosed?: () => void;
|
|
1767
1767
|
modalFormSize?: MicroMModalSize;
|
|
@@ -3310,7 +3310,6 @@ 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;
|
|
3314
3313
|
withBorder: boolean;
|
|
3315
3314
|
renderOnlyWhenVisible: boolean;
|
|
3316
3315
|
viewName: string;
|
|
@@ -3324,6 +3323,7 @@ export function useMultiDataMapGrid({ dataMapView, viewState, selectionMode, map
|
|
|
3324
3323
|
autoSelectFirstRow: boolean;
|
|
3325
3324
|
notExportableColumns: number[];
|
|
3326
3325
|
withModalFullscreenButton: boolean;
|
|
3326
|
+
onModalCancelled: () => void;
|
|
3327
3327
|
labels: import("src").DataGridLabels;
|
|
3328
3328
|
onRecordsDeleted: () => void;
|
|
3329
3329
|
onActionRefreshOnClose: () => void;
|