dce-reactkit 3.7.10 → 3.7.12
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/cjs/index.js +58 -27944
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/AppWrapper.d.ts +0 -21
- package/dist/cjs/types/components/Modal/index.d.ts +2 -1
- package/dist/cjs/types/constants/NUM_MODAL_PORTALS.d.ts +6 -0
- package/dist/esm/index.js +57 -27944
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/AppWrapper.d.ts +0 -21
- package/dist/esm/types/components/Modal/index.d.ts +2 -1
- package/dist/esm/types/constants/NUM_MODAL_PORTALS.d.ts +6 -0
- package/dist/index.d.ts +81 -80
- package/package.json +3 -2
- package/src/components/AppWrapper.tsx +14 -116
- package/src/components/IntelliTable.tsx +1 -1
- package/src/components/Modal/index.tsx +489 -36
- package/src/constants/NUM_MODAL_PORTALS.ts +7 -0
- package/dist/cjs/types/components/Modal/ModalForWrapper.d.ts +0 -9
- package/dist/esm/types/components/Modal/ModalForWrapper.d.ts +0 -9
- package/src/components/Modal/ModalForWrapper.tsx +0 -520
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import Variant from '../types/Variant';
|
|
8
|
-
import ModalProps from './Modal/ModalProps';
|
|
9
8
|
type Props = {
|
|
10
9
|
children: React.ReactNode;
|
|
11
10
|
};
|
|
@@ -62,25 +61,5 @@ export declare const addFatalErrorHandler: (handler: () => void) => void;
|
|
|
62
61
|
* @author Gabe Abrams
|
|
63
62
|
*/
|
|
64
63
|
export declare const showSessionExpiredMessage: () => Promise<void>;
|
|
65
|
-
/**
|
|
66
|
-
* Add a modal to the screen
|
|
67
|
-
* @author Gabe Abrams
|
|
68
|
-
* @param id the uniqueId of the modal
|
|
69
|
-
* @param props the props for the modal
|
|
70
|
-
*/
|
|
71
|
-
export declare const addModal: (id: number, props: ModalProps) => Promise<void>;
|
|
72
|
-
/**
|
|
73
|
-
* Update a modal on the screen by id (if it exists) with new props
|
|
74
|
-
* @author Gabe Abrams
|
|
75
|
-
* @param id the uniqueId of the modal
|
|
76
|
-
* @param props the new props for the modal
|
|
77
|
-
*/
|
|
78
|
-
export declare const updateModal: (id: number, props: ModalProps) => Promise<void>;
|
|
79
|
-
/**
|
|
80
|
-
* Remove a modal from the screen by id (if it exists)
|
|
81
|
-
* @author Gabe Abrams
|
|
82
|
-
* @param id the uniqueId of the modal
|
|
83
|
-
*/
|
|
84
|
-
export declare const removeModal: (id: number) => Promise<void>;
|
|
85
64
|
declare const AppWrapper: React.FC<Props>;
|
|
86
65
|
export default AppWrapper;
|