dce-reactkit 2.0.8 → 2.0.11
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/lib/components/AppWrapper.d.ts +16 -1
- package/lib/components/AppWrapper.js +156 -12
- package/lib/components/AppWrapper.js.map +1 -1
- package/lib/components/Modal.d.ts +2 -0
- package/lib/components/Modal.js +9 -3
- package/lib/components/Modal.js.map +1 -1
- package/lib/components/TabBox.d.ts +11 -0
- package/lib/components/TabBox.js +42 -0
- package/lib/components/TabBox.js.map +1 -0
- package/lib/helpers/alert.d.ts +2 -0
- package/lib/helpers/alert.js +5 -0
- package/lib/helpers/alert.js.map +1 -0
- package/lib/helpers/confirm.d.ts +2 -0
- package/lib/helpers/confirm.js +5 -0
- package/lib/helpers/confirm.js.map +1 -0
- package/package.json +1 -1
- package/src/components/AppWrapper.tsx +191 -11
- package/src/components/Modal.tsx +16 -2
- package/src/components/TabBox.tsx +136 -0
- package/src/helpers/alert.tsx +3 -0
- package/src/helpers/confirm.tsx +3 -0
- package/lib/components/AppWrapper.tsx +0 -181
- package/lib/components/ErrorBox.tsx +0 -124
- package/lib/components/LoadingSpinner.tsx +0 -105
- package/lib/components/Modal.tsx +0 -447
- package/lib/errors/ErrorWithCode.tsx +0 -15
- package/lib/helpers/abbreviate.tsx +0 -23
- package/lib/helpers/avg.tsx +0 -22
- package/lib/helpers/ceilToNumDecimals.tsx +0 -13
- package/lib/helpers/floorToNumDecimals.tsx +0 -13
- package/lib/helpers/forceNumIntoBounds.tsx +0 -19
- package/lib/helpers/handleError.ts +0 -65
- package/lib/helpers/handleSuccess.ts +0 -18
- package/lib/helpers/padDecimalZeros.tsx +0 -32
- package/lib/helpers/padZerosLeft.tsx +0 -21
- package/lib/helpers/parseRequest.ts +0 -299
- package/lib/helpers/roundToNumDecimals.tsx +0 -13
- package/lib/helpers/showFatalError.tsx +0 -3
- package/lib/helpers/sum.tsx +0 -16
- package/lib/helpers/visitServerEndpoint.tsx +0 -110
- package/lib/helpers/waitMs.tsx +0 -12
- package/lib/types/ParamType.ts +0 -18
- package/lib/types/ReactKitErrorCode.tsx +0 -16
- package/lib/types/Variant.tsx +0 -16
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
// Highest error code = DRK2
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* List of error codes built into the react kit
|
|
5
|
-
* @author Gabe Abrams
|
|
6
|
-
*/
|
|
7
|
-
enum ReactKitErrorCode {
|
|
8
|
-
NoResponse = 'DRK1',
|
|
9
|
-
NoCode = 'DRK2',
|
|
10
|
-
SessionExpired = 'DRK3',
|
|
11
|
-
MissingParameter = 'DRK4',
|
|
12
|
-
InvalidParameter = 'DRK5',
|
|
13
|
-
WrongCourse = 'DRK6',
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
export default ReactKitErrorCode;
|
package/lib/types/Variant.tsx
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Bootstrap variants
|
|
3
|
-
* @author Gabe Abrams
|
|
4
|
-
*/
|
|
5
|
-
enum Variant {
|
|
6
|
-
Primary = 'primary',
|
|
7
|
-
Secondary = 'secondary',
|
|
8
|
-
Success = 'success',
|
|
9
|
-
Warning = 'warning',
|
|
10
|
-
Info = 'info',
|
|
11
|
-
Danger = 'danger',
|
|
12
|
-
Light = 'light',
|
|
13
|
-
Dark = 'dark',
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
export default Variant;
|