@xyo-network/react-error 2.82.0 → 2.83.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/browser/index.d.ts +62 -3
- package/package.json +7 -23
- package/xy.config.ts +12 -0
- package/dist/browser/components/ErrorBoundary/ThrownErrorBoundary.d.cts +0 -23
- package/dist/browser/components/ErrorBoundary/ThrownErrorBoundary.d.cts.map +0 -1
- package/dist/browser/components/ErrorBoundary/ThrownErrorBoundary.d.mts +0 -23
- package/dist/browser/components/ErrorBoundary/ThrownErrorBoundary.d.mts.map +0 -1
- package/dist/browser/components/ErrorBoundary/ThrownErrorBoundary.d.ts +0 -23
- package/dist/browser/components/ErrorBoundary/ThrownErrorBoundary.d.ts.map +0 -1
- package/dist/browser/components/ErrorBoundary/index.d.cts +0 -2
- package/dist/browser/components/ErrorBoundary/index.d.cts.map +0 -1
- package/dist/browser/components/ErrorBoundary/index.d.mts +0 -2
- package/dist/browser/components/ErrorBoundary/index.d.mts.map +0 -1
- package/dist/browser/components/ErrorBoundary/index.d.ts +0 -2
- package/dist/browser/components/ErrorBoundary/index.d.ts.map +0 -1
- package/dist/browser/components/ErrorRender/ErrorAlert.d.cts +0 -11
- package/dist/browser/components/ErrorRender/ErrorAlert.d.cts.map +0 -1
- package/dist/browser/components/ErrorRender/ErrorAlert.d.mts +0 -11
- package/dist/browser/components/ErrorRender/ErrorAlert.d.mts.map +0 -1
- package/dist/browser/components/ErrorRender/ErrorAlert.d.ts +0 -11
- package/dist/browser/components/ErrorRender/ErrorAlert.d.ts.map +0 -1
- package/dist/browser/components/ErrorRender/Props.d.cts +0 -15
- package/dist/browser/components/ErrorRender/Props.d.cts.map +0 -1
- package/dist/browser/components/ErrorRender/Props.d.mts +0 -15
- package/dist/browser/components/ErrorRender/Props.d.mts.map +0 -1
- package/dist/browser/components/ErrorRender/Props.d.ts +0 -15
- package/dist/browser/components/ErrorRender/Props.d.ts.map +0 -1
- package/dist/browser/components/ErrorRender/Render.d.cts +0 -4
- package/dist/browser/components/ErrorRender/Render.d.cts.map +0 -1
- package/dist/browser/components/ErrorRender/Render.d.mts +0 -4
- package/dist/browser/components/ErrorRender/Render.d.mts.map +0 -1
- package/dist/browser/components/ErrorRender/Render.d.ts +0 -4
- package/dist/browser/components/ErrorRender/Render.d.ts.map +0 -1
- package/dist/browser/components/ErrorRender/index.d.cts +0 -4
- package/dist/browser/components/ErrorRender/index.d.cts.map +0 -1
- package/dist/browser/components/ErrorRender/index.d.mts +0 -4
- package/dist/browser/components/ErrorRender/index.d.mts.map +0 -1
- package/dist/browser/components/ErrorRender/index.d.ts +0 -4
- package/dist/browser/components/ErrorRender/index.d.ts.map +0 -1
- package/dist/browser/components/index.d.cts +0 -3
- package/dist/browser/components/index.d.cts.map +0 -1
- package/dist/browser/components/index.d.mts +0 -3
- package/dist/browser/components/index.d.mts.map +0 -1
- package/dist/browser/components/index.d.ts +0 -3
- package/dist/browser/components/index.d.ts.map +0 -1
- package/dist/browser/contexts/ErrorReporter/Context.d.cts +0 -3
- package/dist/browser/contexts/ErrorReporter/Context.d.cts.map +0 -1
- package/dist/browser/contexts/ErrorReporter/Context.d.mts +0 -3
- package/dist/browser/contexts/ErrorReporter/Context.d.mts.map +0 -1
- package/dist/browser/contexts/ErrorReporter/Context.d.ts +0 -3
- package/dist/browser/contexts/ErrorReporter/Context.d.ts.map +0 -1
- package/dist/browser/contexts/ErrorReporter/Provider.d.cts +0 -9
- package/dist/browser/contexts/ErrorReporter/Provider.d.cts.map +0 -1
- package/dist/browser/contexts/ErrorReporter/Provider.d.mts +0 -9
- package/dist/browser/contexts/ErrorReporter/Provider.d.mts.map +0 -1
- package/dist/browser/contexts/ErrorReporter/Provider.d.ts +0 -9
- package/dist/browser/contexts/ErrorReporter/Provider.d.ts.map +0 -1
- package/dist/browser/contexts/ErrorReporter/State.d.cts +0 -5
- package/dist/browser/contexts/ErrorReporter/State.d.cts.map +0 -1
- package/dist/browser/contexts/ErrorReporter/State.d.mts +0 -5
- package/dist/browser/contexts/ErrorReporter/State.d.mts.map +0 -1
- package/dist/browser/contexts/ErrorReporter/State.d.ts +0 -5
- package/dist/browser/contexts/ErrorReporter/State.d.ts.map +0 -1
- package/dist/browser/contexts/ErrorReporter/index.d.cts +0 -4
- package/dist/browser/contexts/ErrorReporter/index.d.cts.map +0 -1
- package/dist/browser/contexts/ErrorReporter/index.d.mts +0 -4
- package/dist/browser/contexts/ErrorReporter/index.d.mts.map +0 -1
- package/dist/browser/contexts/ErrorReporter/index.d.ts +0 -4
- package/dist/browser/contexts/ErrorReporter/index.d.ts.map +0 -1
- package/dist/browser/contexts/ErrorReporter/useRollbar.d.cts +0 -3
- package/dist/browser/contexts/ErrorReporter/useRollbar.d.cts.map +0 -1
- package/dist/browser/contexts/ErrorReporter/useRollbar.d.mts +0 -3
- package/dist/browser/contexts/ErrorReporter/useRollbar.d.mts.map +0 -1
- package/dist/browser/contexts/ErrorReporter/useRollbar.d.ts +0 -3
- package/dist/browser/contexts/ErrorReporter/useRollbar.d.ts.map +0 -1
- package/dist/browser/contexts/index.d.cts +0 -2
- package/dist/browser/contexts/index.d.cts.map +0 -1
- package/dist/browser/contexts/index.d.mts +0 -2
- package/dist/browser/contexts/index.d.mts.map +0 -1
- package/dist/browser/contexts/index.d.ts +0 -2
- package/dist/browser/contexts/index.d.ts.map +0 -1
- package/dist/browser/index.cjs +0 -194
- package/dist/browser/index.cjs.map +0 -1
- package/dist/browser/index.d.cts +0 -3
- package/dist/browser/index.d.cts.map +0 -1
- package/dist/browser/index.d.mts +0 -3
- package/dist/browser/index.d.mts.map +0 -1
- package/dist/browser/index.d.ts.map +0 -1
- package/dist/neutral/components/ErrorBoundary/ThrownErrorBoundary.d.cts +0 -23
- package/dist/neutral/components/ErrorBoundary/ThrownErrorBoundary.d.cts.map +0 -1
- package/dist/neutral/components/ErrorBoundary/ThrownErrorBoundary.d.mts +0 -23
- package/dist/neutral/components/ErrorBoundary/ThrownErrorBoundary.d.mts.map +0 -1
- package/dist/neutral/components/ErrorBoundary/ThrownErrorBoundary.d.ts +0 -23
- package/dist/neutral/components/ErrorBoundary/ThrownErrorBoundary.d.ts.map +0 -1
- package/dist/neutral/components/ErrorBoundary/index.d.cts +0 -2
- package/dist/neutral/components/ErrorBoundary/index.d.cts.map +0 -1
- package/dist/neutral/components/ErrorBoundary/index.d.mts +0 -2
- package/dist/neutral/components/ErrorBoundary/index.d.mts.map +0 -1
- package/dist/neutral/components/ErrorBoundary/index.d.ts +0 -2
- package/dist/neutral/components/ErrorBoundary/index.d.ts.map +0 -1
- package/dist/neutral/components/ErrorRender/ErrorAlert.d.cts +0 -11
- package/dist/neutral/components/ErrorRender/ErrorAlert.d.cts.map +0 -1
- package/dist/neutral/components/ErrorRender/ErrorAlert.d.mts +0 -11
- package/dist/neutral/components/ErrorRender/ErrorAlert.d.mts.map +0 -1
- package/dist/neutral/components/ErrorRender/ErrorAlert.d.ts +0 -11
- package/dist/neutral/components/ErrorRender/ErrorAlert.d.ts.map +0 -1
- package/dist/neutral/components/ErrorRender/Props.d.cts +0 -15
- package/dist/neutral/components/ErrorRender/Props.d.cts.map +0 -1
- package/dist/neutral/components/ErrorRender/Props.d.mts +0 -15
- package/dist/neutral/components/ErrorRender/Props.d.mts.map +0 -1
- package/dist/neutral/components/ErrorRender/Props.d.ts +0 -15
- package/dist/neutral/components/ErrorRender/Props.d.ts.map +0 -1
- package/dist/neutral/components/ErrorRender/Render.d.cts +0 -4
- package/dist/neutral/components/ErrorRender/Render.d.cts.map +0 -1
- package/dist/neutral/components/ErrorRender/Render.d.mts +0 -4
- package/dist/neutral/components/ErrorRender/Render.d.mts.map +0 -1
- package/dist/neutral/components/ErrorRender/Render.d.ts +0 -4
- package/dist/neutral/components/ErrorRender/Render.d.ts.map +0 -1
- package/dist/neutral/components/ErrorRender/index.d.cts +0 -4
- package/dist/neutral/components/ErrorRender/index.d.cts.map +0 -1
- package/dist/neutral/components/ErrorRender/index.d.mts +0 -4
- package/dist/neutral/components/ErrorRender/index.d.mts.map +0 -1
- package/dist/neutral/components/ErrorRender/index.d.ts +0 -4
- package/dist/neutral/components/ErrorRender/index.d.ts.map +0 -1
- package/dist/neutral/components/index.d.cts +0 -3
- package/dist/neutral/components/index.d.cts.map +0 -1
- package/dist/neutral/components/index.d.mts +0 -3
- package/dist/neutral/components/index.d.mts.map +0 -1
- package/dist/neutral/components/index.d.ts +0 -3
- package/dist/neutral/components/index.d.ts.map +0 -1
- package/dist/neutral/contexts/ErrorReporter/Context.d.cts +0 -3
- package/dist/neutral/contexts/ErrorReporter/Context.d.cts.map +0 -1
- package/dist/neutral/contexts/ErrorReporter/Context.d.mts +0 -3
- package/dist/neutral/contexts/ErrorReporter/Context.d.mts.map +0 -1
- package/dist/neutral/contexts/ErrorReporter/Context.d.ts +0 -3
- package/dist/neutral/contexts/ErrorReporter/Context.d.ts.map +0 -1
- package/dist/neutral/contexts/ErrorReporter/Provider.d.cts +0 -9
- package/dist/neutral/contexts/ErrorReporter/Provider.d.cts.map +0 -1
- package/dist/neutral/contexts/ErrorReporter/Provider.d.mts +0 -9
- package/dist/neutral/contexts/ErrorReporter/Provider.d.mts.map +0 -1
- package/dist/neutral/contexts/ErrorReporter/Provider.d.ts +0 -9
- package/dist/neutral/contexts/ErrorReporter/Provider.d.ts.map +0 -1
- package/dist/neutral/contexts/ErrorReporter/State.d.cts +0 -5
- package/dist/neutral/contexts/ErrorReporter/State.d.cts.map +0 -1
- package/dist/neutral/contexts/ErrorReporter/State.d.mts +0 -5
- package/dist/neutral/contexts/ErrorReporter/State.d.mts.map +0 -1
- package/dist/neutral/contexts/ErrorReporter/State.d.ts +0 -5
- package/dist/neutral/contexts/ErrorReporter/State.d.ts.map +0 -1
- package/dist/neutral/contexts/ErrorReporter/index.d.cts +0 -4
- package/dist/neutral/contexts/ErrorReporter/index.d.cts.map +0 -1
- package/dist/neutral/contexts/ErrorReporter/index.d.mts +0 -4
- package/dist/neutral/contexts/ErrorReporter/index.d.mts.map +0 -1
- package/dist/neutral/contexts/ErrorReporter/index.d.ts +0 -4
- package/dist/neutral/contexts/ErrorReporter/index.d.ts.map +0 -1
- package/dist/neutral/contexts/ErrorReporter/useRollbar.d.cts +0 -3
- package/dist/neutral/contexts/ErrorReporter/useRollbar.d.cts.map +0 -1
- package/dist/neutral/contexts/ErrorReporter/useRollbar.d.mts +0 -3
- package/dist/neutral/contexts/ErrorReporter/useRollbar.d.mts.map +0 -1
- package/dist/neutral/contexts/ErrorReporter/useRollbar.d.ts +0 -3
- package/dist/neutral/contexts/ErrorReporter/useRollbar.d.ts.map +0 -1
- package/dist/neutral/contexts/index.d.cts +0 -2
- package/dist/neutral/contexts/index.d.cts.map +0 -1
- package/dist/neutral/contexts/index.d.mts +0 -2
- package/dist/neutral/contexts/index.d.mts.map +0 -1
- package/dist/neutral/contexts/index.d.ts +0 -2
- package/dist/neutral/contexts/index.d.ts.map +0 -1
- package/dist/neutral/index.cjs +0 -194
- package/dist/neutral/index.cjs.map +0 -1
- package/dist/neutral/index.d.cts +0 -3
- package/dist/neutral/index.d.cts.map +0 -1
- package/dist/neutral/index.d.mts +0 -3
- package/dist/neutral/index.d.mts.map +0 -1
- package/dist/neutral/index.d.ts +0 -3
- package/dist/neutral/index.d.ts.map +0 -1
- package/dist/neutral/index.mjs +0 -163
- package/dist/neutral/index.mjs.map +0 -1
- package/dist/node/components/ErrorBoundary/ThrownErrorBoundary.d.cts +0 -23
- package/dist/node/components/ErrorBoundary/ThrownErrorBoundary.d.cts.map +0 -1
- package/dist/node/components/ErrorBoundary/ThrownErrorBoundary.d.mts +0 -23
- package/dist/node/components/ErrorBoundary/ThrownErrorBoundary.d.mts.map +0 -1
- package/dist/node/components/ErrorBoundary/ThrownErrorBoundary.d.ts +0 -23
- package/dist/node/components/ErrorBoundary/ThrownErrorBoundary.d.ts.map +0 -1
- package/dist/node/components/ErrorBoundary/index.d.cts +0 -2
- package/dist/node/components/ErrorBoundary/index.d.cts.map +0 -1
- package/dist/node/components/ErrorBoundary/index.d.mts +0 -2
- package/dist/node/components/ErrorBoundary/index.d.mts.map +0 -1
- package/dist/node/components/ErrorBoundary/index.d.ts +0 -2
- package/dist/node/components/ErrorBoundary/index.d.ts.map +0 -1
- package/dist/node/components/ErrorRender/ErrorAlert.d.cts +0 -11
- package/dist/node/components/ErrorRender/ErrorAlert.d.cts.map +0 -1
- package/dist/node/components/ErrorRender/ErrorAlert.d.mts +0 -11
- package/dist/node/components/ErrorRender/ErrorAlert.d.mts.map +0 -1
- package/dist/node/components/ErrorRender/ErrorAlert.d.ts +0 -11
- package/dist/node/components/ErrorRender/ErrorAlert.d.ts.map +0 -1
- package/dist/node/components/ErrorRender/Props.d.cts +0 -15
- package/dist/node/components/ErrorRender/Props.d.cts.map +0 -1
- package/dist/node/components/ErrorRender/Props.d.mts +0 -15
- package/dist/node/components/ErrorRender/Props.d.mts.map +0 -1
- package/dist/node/components/ErrorRender/Props.d.ts +0 -15
- package/dist/node/components/ErrorRender/Props.d.ts.map +0 -1
- package/dist/node/components/ErrorRender/Render.d.cts +0 -4
- package/dist/node/components/ErrorRender/Render.d.cts.map +0 -1
- package/dist/node/components/ErrorRender/Render.d.mts +0 -4
- package/dist/node/components/ErrorRender/Render.d.mts.map +0 -1
- package/dist/node/components/ErrorRender/Render.d.ts +0 -4
- package/dist/node/components/ErrorRender/Render.d.ts.map +0 -1
- package/dist/node/components/ErrorRender/index.d.cts +0 -4
- package/dist/node/components/ErrorRender/index.d.cts.map +0 -1
- package/dist/node/components/ErrorRender/index.d.mts +0 -4
- package/dist/node/components/ErrorRender/index.d.mts.map +0 -1
- package/dist/node/components/ErrorRender/index.d.ts +0 -4
- package/dist/node/components/ErrorRender/index.d.ts.map +0 -1
- package/dist/node/components/index.d.cts +0 -3
- package/dist/node/components/index.d.cts.map +0 -1
- package/dist/node/components/index.d.mts +0 -3
- package/dist/node/components/index.d.mts.map +0 -1
- package/dist/node/components/index.d.ts +0 -3
- package/dist/node/components/index.d.ts.map +0 -1
- package/dist/node/contexts/ErrorReporter/Context.d.cts +0 -3
- package/dist/node/contexts/ErrorReporter/Context.d.cts.map +0 -1
- package/dist/node/contexts/ErrorReporter/Context.d.mts +0 -3
- package/dist/node/contexts/ErrorReporter/Context.d.mts.map +0 -1
- package/dist/node/contexts/ErrorReporter/Context.d.ts +0 -3
- package/dist/node/contexts/ErrorReporter/Context.d.ts.map +0 -1
- package/dist/node/contexts/ErrorReporter/Provider.d.cts +0 -9
- package/dist/node/contexts/ErrorReporter/Provider.d.cts.map +0 -1
- package/dist/node/contexts/ErrorReporter/Provider.d.mts +0 -9
- package/dist/node/contexts/ErrorReporter/Provider.d.mts.map +0 -1
- package/dist/node/contexts/ErrorReporter/Provider.d.ts +0 -9
- package/dist/node/contexts/ErrorReporter/Provider.d.ts.map +0 -1
- package/dist/node/contexts/ErrorReporter/State.d.cts +0 -5
- package/dist/node/contexts/ErrorReporter/State.d.cts.map +0 -1
- package/dist/node/contexts/ErrorReporter/State.d.mts +0 -5
- package/dist/node/contexts/ErrorReporter/State.d.mts.map +0 -1
- package/dist/node/contexts/ErrorReporter/State.d.ts +0 -5
- package/dist/node/contexts/ErrorReporter/State.d.ts.map +0 -1
- package/dist/node/contexts/ErrorReporter/index.d.cts +0 -4
- package/dist/node/contexts/ErrorReporter/index.d.cts.map +0 -1
- package/dist/node/contexts/ErrorReporter/index.d.mts +0 -4
- package/dist/node/contexts/ErrorReporter/index.d.mts.map +0 -1
- package/dist/node/contexts/ErrorReporter/index.d.ts +0 -4
- package/dist/node/contexts/ErrorReporter/index.d.ts.map +0 -1
- package/dist/node/contexts/ErrorReporter/useRollbar.d.cts +0 -3
- package/dist/node/contexts/ErrorReporter/useRollbar.d.cts.map +0 -1
- package/dist/node/contexts/ErrorReporter/useRollbar.d.mts +0 -3
- package/dist/node/contexts/ErrorReporter/useRollbar.d.mts.map +0 -1
- package/dist/node/contexts/ErrorReporter/useRollbar.d.ts +0 -3
- package/dist/node/contexts/ErrorReporter/useRollbar.d.ts.map +0 -1
- package/dist/node/contexts/index.d.cts +0 -2
- package/dist/node/contexts/index.d.cts.map +0 -1
- package/dist/node/contexts/index.d.mts +0 -2
- package/dist/node/contexts/index.d.mts.map +0 -1
- package/dist/node/contexts/index.d.ts +0 -2
- package/dist/node/contexts/index.d.ts.map +0 -1
- package/dist/node/index.cjs +0 -201
- package/dist/node/index.cjs.map +0 -1
- package/dist/node/index.d.cts +0 -3
- package/dist/node/index.d.cts.map +0 -1
- package/dist/node/index.d.mts +0 -3
- package/dist/node/index.d.mts.map +0 -1
- package/dist/node/index.d.ts +0 -3
- package/dist/node/index.d.ts.map +0 -1
- package/dist/node/index.mjs +0 -162
- package/dist/node/index.mjs.map +0 -1
package/dist/browser/index.d.ts
CHANGED
@@ -1,3 +1,62 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
2
|
+
import { ModuleError } from '@xyo-network/payload-model';
|
3
|
+
import React, { ReactNode, Component, ErrorInfo } from 'react';
|
4
|
+
import Rollbar from 'rollbar';
|
5
|
+
import { AlertProps } from '@mui/material';
|
6
|
+
import { FlexBoxProps } from '@xylabs/react-flexbox';
|
7
|
+
import { Location } from 'react-router-dom';
|
8
|
+
import { WithChildren } from '@xylabs/react-shared';
|
9
|
+
|
10
|
+
interface ThrownErrorBoundaryProps {
|
11
|
+
boundaryName?: string;
|
12
|
+
children: ReactNode;
|
13
|
+
errorComponent?: (e: ModuleError, boundaryName?: string) => ReactNode;
|
14
|
+
rethrow?: boolean;
|
15
|
+
rollbar?: Rollbar;
|
16
|
+
scope?: string;
|
17
|
+
title?: string;
|
18
|
+
}
|
19
|
+
interface ThrownErrorBoundaryState {
|
20
|
+
xyoError?: ModuleError;
|
21
|
+
}
|
22
|
+
declare class ThrownErrorBoundary extends Component<ThrownErrorBoundaryProps, ThrownErrorBoundaryState> {
|
23
|
+
state: ThrownErrorBoundaryState;
|
24
|
+
static getDerivedStateFromError(error: Error): ThrownErrorBoundaryState;
|
25
|
+
static normalizeError(error: Error | ModuleError): ModuleError;
|
26
|
+
componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
|
27
|
+
render(): string | number | boolean | react_jsx_runtime.JSX.Element | Iterable<React.ReactNode> | null | undefined;
|
28
|
+
}
|
29
|
+
|
30
|
+
interface ErrorAlertProps extends AlertProps {
|
31
|
+
error?: ModuleError | Error | string;
|
32
|
+
errorContext?: string;
|
33
|
+
onCancel?: () => void;
|
34
|
+
scope?: string;
|
35
|
+
}
|
36
|
+
declare const ErrorAlert: React.FC<ErrorAlertProps>;
|
37
|
+
|
38
|
+
interface ErrorRenderProps extends FlexBoxProps {
|
39
|
+
customError?: ReactNode;
|
40
|
+
error?: ModuleError | Error;
|
41
|
+
errorContext?: string;
|
42
|
+
noErrorDisplay?: boolean;
|
43
|
+
noReAuth?: boolean;
|
44
|
+
onCancel?: () => void;
|
45
|
+
scope?: string;
|
46
|
+
useLocation?: () => Location;
|
47
|
+
}
|
48
|
+
|
49
|
+
declare const ErrorRender: React.FC<ErrorRenderProps>;
|
50
|
+
|
51
|
+
interface ErrorReporterProviderProps {
|
52
|
+
rollbar: Rollbar;
|
53
|
+
}
|
54
|
+
declare const ErrorReporterProvider: React.FC<WithChildren<ErrorReporterProviderProps>>;
|
55
|
+
|
56
|
+
interface ErrorReporterContextState {
|
57
|
+
rollbar?: Rollbar;
|
58
|
+
}
|
59
|
+
|
60
|
+
declare const useRollbar: () => ErrorReporterContextState;
|
61
|
+
|
62
|
+
export { ErrorAlert, type ErrorAlertProps, ErrorRender, type ErrorRenderProps, type ErrorReporterContextState, ErrorReporterProvider, type ErrorReporterProviderProps, ThrownErrorBoundary, type ThrownErrorBoundaryProps, type ThrownErrorBoundaryState, useRollbar };
|
package/package.json
CHANGED
@@ -26,8 +26,8 @@
|
|
26
26
|
},
|
27
27
|
"devDependencies": {
|
28
28
|
"@storybook/react": "^8.2.7",
|
29
|
-
"@xylabs/ts-scripts-yarn3": "^
|
30
|
-
"@xylabs/tsconfig-react": "^
|
29
|
+
"@xylabs/ts-scripts-yarn3": "^4.0.0-rc.7",
|
30
|
+
"@xylabs/tsconfig-react": "^4.0.0-rc.7",
|
31
31
|
"typescript": "^5.5.4"
|
32
32
|
},
|
33
33
|
"peerDependenciesMeta": {
|
@@ -39,31 +39,15 @@
|
|
39
39
|
"docs": "dist/docs.json",
|
40
40
|
"exports": {
|
41
41
|
".": {
|
42
|
-
"
|
43
|
-
"
|
44
|
-
|
45
|
-
"default": "./dist/node/index.mjs"
|
46
|
-
},
|
47
|
-
"require": {
|
48
|
-
"types": "./dist/node/index.d.cts",
|
49
|
-
"default": "./dist/node/index.cjs"
|
50
|
-
}
|
51
|
-
},
|
52
|
-
"browser": {
|
53
|
-
"import": {
|
54
|
-
"types": "./dist/browser/index.d.mts",
|
55
|
-
"default": "./dist/browser/index.mjs"
|
56
|
-
},
|
57
|
-
"require": {
|
58
|
-
"types": "./dist/browser/index.d.cts",
|
59
|
-
"default": "./dist/browser/index.cjs"
|
60
|
-
}
|
42
|
+
"import": {
|
43
|
+
"types": "./dist/browser/index.d.ts",
|
44
|
+
"default": "./dist/browser/index.mjs"
|
61
45
|
},
|
46
|
+
"types": "./dist/browser/index.d.ts",
|
62
47
|
"default": "./dist/browser/index.mjs"
|
63
48
|
},
|
64
49
|
"./package.json": "./package.json"
|
65
50
|
},
|
66
|
-
"main": "dist/browser/index.cjs",
|
67
51
|
"module": "dist/browser/index.mjs",
|
68
52
|
"homepage": "https://xyo.network",
|
69
53
|
"keywords": [
|
@@ -86,6 +70,6 @@
|
|
86
70
|
},
|
87
71
|
"sideEffects": false,
|
88
72
|
"types": "dist/browser/index.d.ts",
|
89
|
-
"version": "2.
|
73
|
+
"version": "2.83.0",
|
90
74
|
"type": "module"
|
91
75
|
}
|
package/xy.config.ts
ADDED
@@ -1,23 +0,0 @@
|
|
1
|
-
import { ModuleError } from '@xyo-network/payload-model';
|
2
|
-
import React, { Component, ErrorInfo, ReactNode } from 'react';
|
3
|
-
import Rollbar from 'rollbar';
|
4
|
-
export interface ThrownErrorBoundaryProps {
|
5
|
-
boundaryName?: string;
|
6
|
-
children: ReactNode;
|
7
|
-
errorComponent?: (e: ModuleError, boundaryName?: string) => ReactNode;
|
8
|
-
rethrow?: boolean;
|
9
|
-
rollbar?: Rollbar;
|
10
|
-
scope?: string;
|
11
|
-
title?: string;
|
12
|
-
}
|
13
|
-
export interface ThrownErrorBoundaryState {
|
14
|
-
xyoError?: ModuleError;
|
15
|
-
}
|
16
|
-
export declare class ThrownErrorBoundary extends Component<ThrownErrorBoundaryProps, ThrownErrorBoundaryState> {
|
17
|
-
state: ThrownErrorBoundaryState;
|
18
|
-
static getDerivedStateFromError(error: Error): ThrownErrorBoundaryState;
|
19
|
-
static normalizeError(error: Error | ModuleError): ModuleError;
|
20
|
-
componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
|
21
|
-
render(): string | number | boolean | import("react/jsx-runtime").JSX.Element | Iterable<React.ReactNode> | null | undefined;
|
22
|
-
}
|
23
|
-
//# sourceMappingURL=ThrownErrorBoundary.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ThrownErrorBoundary.d.ts","sourceRoot":"","sources":["../../../../src/components/ErrorBoundary/ThrownErrorBoundary.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAqB,MAAM,4BAA4B,CAAA;AAC3E,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAC9D,OAAO,OAAO,MAAM,SAAS,CAAA;AAI7B,MAAM,WAAW,wBAAwB;IACvC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,EAAE,SAAS,CAAA;IACnB,cAAc,CAAC,EAAE,CAAC,CAAC,EAAE,WAAW,EAAE,YAAY,CAAC,EAAE,MAAM,KAAK,SAAS,CAAA;IACrE,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,EAAE,WAAW,CAAA;CACvB;AAED,qBAAa,mBAAoB,SAAQ,SAAS,CAAC,wBAAwB,EAAE,wBAAwB,CAAC;IAC3F,KAAK,EAAE,wBAAwB,CAEvC;IAED,MAAM,CAAC,wBAAwB,CAAC,KAAK,EAAE,KAAK,GACwC,wBAAwB;IAG5G,MAAM,CAAC,cAAc,CAAC,KAAK,EAAE,KAAK,GAAG,WAAW,GAAG,WAAW;IAOrD,iBAAiB,CAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS;IAYpD,MAAM;CAYhB"}
|
@@ -1,23 +0,0 @@
|
|
1
|
-
import { ModuleError } from '@xyo-network/payload-model';
|
2
|
-
import React, { Component, ErrorInfo, ReactNode } from 'react';
|
3
|
-
import Rollbar from 'rollbar';
|
4
|
-
export interface ThrownErrorBoundaryProps {
|
5
|
-
boundaryName?: string;
|
6
|
-
children: ReactNode;
|
7
|
-
errorComponent?: (e: ModuleError, boundaryName?: string) => ReactNode;
|
8
|
-
rethrow?: boolean;
|
9
|
-
rollbar?: Rollbar;
|
10
|
-
scope?: string;
|
11
|
-
title?: string;
|
12
|
-
}
|
13
|
-
export interface ThrownErrorBoundaryState {
|
14
|
-
xyoError?: ModuleError;
|
15
|
-
}
|
16
|
-
export declare class ThrownErrorBoundary extends Component<ThrownErrorBoundaryProps, ThrownErrorBoundaryState> {
|
17
|
-
state: ThrownErrorBoundaryState;
|
18
|
-
static getDerivedStateFromError(error: Error): ThrownErrorBoundaryState;
|
19
|
-
static normalizeError(error: Error | ModuleError): ModuleError;
|
20
|
-
componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
|
21
|
-
render(): string | number | boolean | import("react/jsx-runtime").JSX.Element | Iterable<React.ReactNode> | null | undefined;
|
22
|
-
}
|
23
|
-
//# sourceMappingURL=ThrownErrorBoundary.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ThrownErrorBoundary.d.ts","sourceRoot":"","sources":["../../../../src/components/ErrorBoundary/ThrownErrorBoundary.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAqB,MAAM,4BAA4B,CAAA;AAC3E,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAC9D,OAAO,OAAO,MAAM,SAAS,CAAA;AAI7B,MAAM,WAAW,wBAAwB;IACvC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,EAAE,SAAS,CAAA;IACnB,cAAc,CAAC,EAAE,CAAC,CAAC,EAAE,WAAW,EAAE,YAAY,CAAC,EAAE,MAAM,KAAK,SAAS,CAAA;IACrE,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,EAAE,WAAW,CAAA;CACvB;AAED,qBAAa,mBAAoB,SAAQ,SAAS,CAAC,wBAAwB,EAAE,wBAAwB,CAAC;IAC3F,KAAK,EAAE,wBAAwB,CAEvC;IAED,MAAM,CAAC,wBAAwB,CAAC,KAAK,EAAE,KAAK,GACwC,wBAAwB;IAG5G,MAAM,CAAC,cAAc,CAAC,KAAK,EAAE,KAAK,GAAG,WAAW,GAAG,WAAW;IAOrD,iBAAiB,CAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS;IAYpD,MAAM;CAYhB"}
|
@@ -1,23 +0,0 @@
|
|
1
|
-
import { ModuleError } from '@xyo-network/payload-model';
|
2
|
-
import React, { Component, ErrorInfo, ReactNode } from 'react';
|
3
|
-
import Rollbar from 'rollbar';
|
4
|
-
export interface ThrownErrorBoundaryProps {
|
5
|
-
boundaryName?: string;
|
6
|
-
children: ReactNode;
|
7
|
-
errorComponent?: (e: ModuleError, boundaryName?: string) => ReactNode;
|
8
|
-
rethrow?: boolean;
|
9
|
-
rollbar?: Rollbar;
|
10
|
-
scope?: string;
|
11
|
-
title?: string;
|
12
|
-
}
|
13
|
-
export interface ThrownErrorBoundaryState {
|
14
|
-
xyoError?: ModuleError;
|
15
|
-
}
|
16
|
-
export declare class ThrownErrorBoundary extends Component<ThrownErrorBoundaryProps, ThrownErrorBoundaryState> {
|
17
|
-
state: ThrownErrorBoundaryState;
|
18
|
-
static getDerivedStateFromError(error: Error): ThrownErrorBoundaryState;
|
19
|
-
static normalizeError(error: Error | ModuleError): ModuleError;
|
20
|
-
componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
|
21
|
-
render(): string | number | boolean | import("react/jsx-runtime").JSX.Element | Iterable<React.ReactNode> | null | undefined;
|
22
|
-
}
|
23
|
-
//# sourceMappingURL=ThrownErrorBoundary.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ThrownErrorBoundary.d.ts","sourceRoot":"","sources":["../../../../src/components/ErrorBoundary/ThrownErrorBoundary.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAqB,MAAM,4BAA4B,CAAA;AAC3E,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAC9D,OAAO,OAAO,MAAM,SAAS,CAAA;AAI7B,MAAM,WAAW,wBAAwB;IACvC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,EAAE,SAAS,CAAA;IACnB,cAAc,CAAC,EAAE,CAAC,CAAC,EAAE,WAAW,EAAE,YAAY,CAAC,EAAE,MAAM,KAAK,SAAS,CAAA;IACrE,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,EAAE,WAAW,CAAA;CACvB;AAED,qBAAa,mBAAoB,SAAQ,SAAS,CAAC,wBAAwB,EAAE,wBAAwB,CAAC;IAC3F,KAAK,EAAE,wBAAwB,CAEvC;IAED,MAAM,CAAC,wBAAwB,CAAC,KAAK,EAAE,KAAK,GACwC,wBAAwB;IAG5G,MAAM,CAAC,cAAc,CAAC,KAAK,EAAE,KAAK,GAAG,WAAW,GAAG,WAAW;IAOrD,iBAAiB,CAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS;IAYpD,MAAM;CAYhB"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ErrorBoundary/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ErrorBoundary/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ErrorBoundary/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAA"}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import { AlertProps } from '@mui/material';
|
2
|
-
import { ModuleError } from '@xyo-network/payload-model';
|
3
|
-
import React from 'react';
|
4
|
-
export interface ErrorAlertProps extends AlertProps {
|
5
|
-
error?: ModuleError | Error | string;
|
6
|
-
errorContext?: string;
|
7
|
-
onCancel?: () => void;
|
8
|
-
scope?: string;
|
9
|
-
}
|
10
|
-
export declare const ErrorAlert: React.FC<ErrorAlertProps>;
|
11
|
-
//# sourceMappingURL=ErrorAlert.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ErrorAlert.d.ts","sourceRoot":"","sources":["../../../../src/components/ErrorRender/ErrorAlert.tsx"],"names":[],"mappings":"AACA,OAAO,EAAS,UAAU,EAA0B,MAAM,eAAe,CAAA;AAEzE,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AACxD,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,MAAM,WAAW,eAAgB,SAAQ,UAAU;IACjD,KAAK,CAAC,EAAE,WAAW,GAAG,KAAK,GAAG,MAAM,CAAA;IAEpC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAqChD,CAAA"}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import { AlertProps } from '@mui/material';
|
2
|
-
import { ModuleError } from '@xyo-network/payload-model';
|
3
|
-
import React from 'react';
|
4
|
-
export interface ErrorAlertProps extends AlertProps {
|
5
|
-
error?: ModuleError | Error | string;
|
6
|
-
errorContext?: string;
|
7
|
-
onCancel?: () => void;
|
8
|
-
scope?: string;
|
9
|
-
}
|
10
|
-
export declare const ErrorAlert: React.FC<ErrorAlertProps>;
|
11
|
-
//# sourceMappingURL=ErrorAlert.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ErrorAlert.d.ts","sourceRoot":"","sources":["../../../../src/components/ErrorRender/ErrorAlert.tsx"],"names":[],"mappings":"AACA,OAAO,EAAS,UAAU,EAA0B,MAAM,eAAe,CAAA;AAEzE,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AACxD,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,MAAM,WAAW,eAAgB,SAAQ,UAAU;IACjD,KAAK,CAAC,EAAE,WAAW,GAAG,KAAK,GAAG,MAAM,CAAA;IAEpC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAqChD,CAAA"}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import { AlertProps } from '@mui/material';
|
2
|
-
import { ModuleError } from '@xyo-network/payload-model';
|
3
|
-
import React from 'react';
|
4
|
-
export interface ErrorAlertProps extends AlertProps {
|
5
|
-
error?: ModuleError | Error | string;
|
6
|
-
errorContext?: string;
|
7
|
-
onCancel?: () => void;
|
8
|
-
scope?: string;
|
9
|
-
}
|
10
|
-
export declare const ErrorAlert: React.FC<ErrorAlertProps>;
|
11
|
-
//# sourceMappingURL=ErrorAlert.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ErrorAlert.d.ts","sourceRoot":"","sources":["../../../../src/components/ErrorRender/ErrorAlert.tsx"],"names":[],"mappings":"AACA,OAAO,EAAS,UAAU,EAA0B,MAAM,eAAe,CAAA;AAEzE,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AACxD,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,MAAM,WAAW,eAAgB,SAAQ,UAAU;IACjD,KAAK,CAAC,EAAE,WAAW,GAAG,KAAK,GAAG,MAAM,CAAA;IAEpC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAqChD,CAAA"}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import { FlexBoxProps } from '@xylabs/react-flexbox';
|
2
|
-
import { ModuleError } from '@xyo-network/payload-model';
|
3
|
-
import { ReactNode } from 'react';
|
4
|
-
import { Location } from 'react-router-dom';
|
5
|
-
export interface ErrorRenderProps extends FlexBoxProps {
|
6
|
-
customError?: ReactNode;
|
7
|
-
error?: ModuleError | Error;
|
8
|
-
errorContext?: string;
|
9
|
-
noErrorDisplay?: boolean;
|
10
|
-
noReAuth?: boolean;
|
11
|
-
onCancel?: () => void;
|
12
|
-
scope?: string;
|
13
|
-
useLocation?: () => Location;
|
14
|
-
}
|
15
|
-
//# sourceMappingURL=Props.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Props.d.ts","sourceRoot":"","sources":["../../../../src/components/ErrorRender/Props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAE3C,MAAM,WAAW,gBAAiB,SAAQ,YAAY;IACpD,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB,KAAK,CAAC,EAAE,WAAW,GAAG,KAAK,CAAA;IAC3B,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,QAAQ,CAAA;CAC7B"}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import { FlexBoxProps } from '@xylabs/react-flexbox';
|
2
|
-
import { ModuleError } from '@xyo-network/payload-model';
|
3
|
-
import { ReactNode } from 'react';
|
4
|
-
import { Location } from 'react-router-dom';
|
5
|
-
export interface ErrorRenderProps extends FlexBoxProps {
|
6
|
-
customError?: ReactNode;
|
7
|
-
error?: ModuleError | Error;
|
8
|
-
errorContext?: string;
|
9
|
-
noErrorDisplay?: boolean;
|
10
|
-
noReAuth?: boolean;
|
11
|
-
onCancel?: () => void;
|
12
|
-
scope?: string;
|
13
|
-
useLocation?: () => Location;
|
14
|
-
}
|
15
|
-
//# sourceMappingURL=Props.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Props.d.ts","sourceRoot":"","sources":["../../../../src/components/ErrorRender/Props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAE3C,MAAM,WAAW,gBAAiB,SAAQ,YAAY;IACpD,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB,KAAK,CAAC,EAAE,WAAW,GAAG,KAAK,CAAA;IAC3B,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,QAAQ,CAAA;CAC7B"}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import { FlexBoxProps } from '@xylabs/react-flexbox';
|
2
|
-
import { ModuleError } from '@xyo-network/payload-model';
|
3
|
-
import { ReactNode } from 'react';
|
4
|
-
import { Location } from 'react-router-dom';
|
5
|
-
export interface ErrorRenderProps extends FlexBoxProps {
|
6
|
-
customError?: ReactNode;
|
7
|
-
error?: ModuleError | Error;
|
8
|
-
errorContext?: string;
|
9
|
-
noErrorDisplay?: boolean;
|
10
|
-
noReAuth?: boolean;
|
11
|
-
onCancel?: () => void;
|
12
|
-
scope?: string;
|
13
|
-
useLocation?: () => Location;
|
14
|
-
}
|
15
|
-
//# sourceMappingURL=Props.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Props.d.ts","sourceRoot":"","sources":["../../../../src/components/ErrorRender/Props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAE3C,MAAM,WAAW,gBAAiB,SAAQ,YAAY;IACpD,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB,KAAK,CAAC,EAAE,WAAW,GAAG,KAAK,CAAA;IAC3B,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,QAAQ,CAAA;CAC7B"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Render.d.ts","sourceRoot":"","sources":["../../../../src/components/ErrorRender/Render.tsx"],"names":[],"mappings":"AACA,OAAO,KAAoB,MAAM,OAAO,CAAA;AAGxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAE7C,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAoClD,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Render.d.ts","sourceRoot":"","sources":["../../../../src/components/ErrorRender/Render.tsx"],"names":[],"mappings":"AACA,OAAO,KAAoB,MAAM,OAAO,CAAA;AAGxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAE7C,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAoClD,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Render.d.ts","sourceRoot":"","sources":["../../../../src/components/ErrorRender/Render.tsx"],"names":[],"mappings":"AACA,OAAO,KAAoB,MAAM,OAAO,CAAA;AAGxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAE7C,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAoClD,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ErrorRender/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,YAAY,CAAA;AAC1B,cAAc,cAAc,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ErrorRender/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,YAAY,CAAA;AAC1B,cAAc,cAAc,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ErrorRender/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,YAAY,CAAA;AAC1B,cAAc,cAAc,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAA;AACxC,cAAc,wBAAwB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAA;AACxC,cAAc,wBAAwB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAA;AACxC,cAAc,wBAAwB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Context.d.ts","sourceRoot":"","sources":["../../../../src/contexts/ErrorReporter/Context.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAA;AAEtD,eAAO,MAAM,oBAAoB,oDAA+C,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Context.d.ts","sourceRoot":"","sources":["../../../../src/contexts/ErrorReporter/Context.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAA;AAEtD,eAAO,MAAM,oBAAoB,oDAA+C,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Context.d.ts","sourceRoot":"","sources":["../../../../src/contexts/ErrorReporter/Context.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAA;AAEtD,eAAO,MAAM,oBAAoB,oDAA+C,CAAA"}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { WithChildren } from '@xylabs/react-shared';
|
2
|
-
import React from 'react';
|
3
|
-
import Rollbar from 'rollbar';
|
4
|
-
export interface ErrorReporterProviderProps {
|
5
|
-
rollbar: Rollbar;
|
6
|
-
}
|
7
|
-
declare const ErrorReporterProvider: React.FC<WithChildren<ErrorReporterProviderProps>>;
|
8
|
-
export { ErrorReporterProvider };
|
9
|
-
//# sourceMappingURL=Provider.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../../src/contexts/ErrorReporter/Provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AACnD,OAAO,KAA8B,MAAM,OAAO,CAAA;AAClD,OAAO,OAAO,MAAM,SAAS,CAAA;AAI7B,MAAM,WAAW,0BAA0B;IACzC,OAAO,EAAE,OAAO,CAAA;CACjB;AAED,QAAA,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,0BAA0B,CAAC,CAW7E,CAAA;AAED,OAAO,EAAE,qBAAqB,EAAE,CAAA"}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { WithChildren } from '@xylabs/react-shared';
|
2
|
-
import React from 'react';
|
3
|
-
import Rollbar from 'rollbar';
|
4
|
-
export interface ErrorReporterProviderProps {
|
5
|
-
rollbar: Rollbar;
|
6
|
-
}
|
7
|
-
declare const ErrorReporterProvider: React.FC<WithChildren<ErrorReporterProviderProps>>;
|
8
|
-
export { ErrorReporterProvider };
|
9
|
-
//# sourceMappingURL=Provider.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../../src/contexts/ErrorReporter/Provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AACnD,OAAO,KAA8B,MAAM,OAAO,CAAA;AAClD,OAAO,OAAO,MAAM,SAAS,CAAA;AAI7B,MAAM,WAAW,0BAA0B;IACzC,OAAO,EAAE,OAAO,CAAA;CACjB;AAED,QAAA,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,0BAA0B,CAAC,CAW7E,CAAA;AAED,OAAO,EAAE,qBAAqB,EAAE,CAAA"}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { WithChildren } from '@xylabs/react-shared';
|
2
|
-
import React from 'react';
|
3
|
-
import Rollbar from 'rollbar';
|
4
|
-
export interface ErrorReporterProviderProps {
|
5
|
-
rollbar: Rollbar;
|
6
|
-
}
|
7
|
-
declare const ErrorReporterProvider: React.FC<WithChildren<ErrorReporterProviderProps>>;
|
8
|
-
export { ErrorReporterProvider };
|
9
|
-
//# sourceMappingURL=Provider.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../../src/contexts/ErrorReporter/Provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AACnD,OAAO,KAA8B,MAAM,OAAO,CAAA;AAClD,OAAO,OAAO,MAAM,SAAS,CAAA;AAI7B,MAAM,WAAW,0BAA0B;IACzC,OAAO,EAAE,OAAO,CAAA;CACjB;AAED,QAAA,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,0BAA0B,CAAC,CAW7E,CAAA;AAED,OAAO,EAAE,qBAAqB,EAAE,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"State.d.ts","sourceRoot":"","sources":["../../../../src/contexts/ErrorReporter/State.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,SAAS,CAAA;AAE7B,MAAM,WAAW,yBAAyB;IACxC,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"State.d.ts","sourceRoot":"","sources":["../../../../src/contexts/ErrorReporter/State.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,SAAS,CAAA;AAE7B,MAAM,WAAW,yBAAyB;IACxC,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"State.d.ts","sourceRoot":"","sources":["../../../../src/contexts/ErrorReporter/State.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,SAAS,CAAA;AAE7B,MAAM,WAAW,yBAAyB;IACxC,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/contexts/ErrorReporter/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,YAAY,CAAA;AAC1B,cAAc,kBAAkB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/contexts/ErrorReporter/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,YAAY,CAAA;AAC1B,cAAc,kBAAkB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/contexts/ErrorReporter/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,YAAY,CAAA;AAC1B,cAAc,kBAAkB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"useRollbar.d.ts","sourceRoot":"","sources":["../../../../src/contexts/ErrorReporter/useRollbar.tsx"],"names":[],"mappings":"AAIA,QAAA,MAAM,UAAU,sDAOf,CAAA;AAED,OAAO,EAAE,UAAU,EAAE,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"useRollbar.d.ts","sourceRoot":"","sources":["../../../../src/contexts/ErrorReporter/useRollbar.tsx"],"names":[],"mappings":"AAIA,QAAA,MAAM,UAAU,sDAOf,CAAA;AAED,OAAO,EAAE,UAAU,EAAE,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"useRollbar.d.ts","sourceRoot":"","sources":["../../../../src/contexts/ErrorReporter/useRollbar.tsx"],"names":[],"mappings":"AAIA,QAAA,MAAM,UAAU,sDAOf,CAAA;AAED,OAAO,EAAE,UAAU,EAAE,CAAA"}
|