@devtron-labs/devtron-fe-common-lib 0.0.81-beta-6 → 0.0.81-beta-8

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.
@@ -1,4 +1,4 @@
1
1
  import { ErrorPageType } from './Types';
2
2
 
3
- declare const ErrorPage: ({ code, image, title, subTitle, imageType, heightToDeduct }: ErrorPageType) => JSX.Element;
3
+ declare const ErrorPage: ({ code, image, title, subTitle, imageType, heightToDeduct, redirectURL, reload }: ErrorPageType) => JSX.Element;
4
4
  export default ErrorPage;
@@ -1,4 +1,4 @@
1
1
  import { ErrorScreenManagerProps } from './Types';
2
2
 
3
- declare const ErrorScreenManager: ({ code, reload, subtitle, reloadClass, heightToDeduct }: ErrorScreenManagerProps) => JSX.Element;
3
+ declare const ErrorScreenManager: ({ code, reload, subtitle, reloadClass, heightToDeduct, redirectURL, }: ErrorScreenManagerProps) => JSX.Element;
4
4
  export default ErrorScreenManager;
@@ -119,6 +119,8 @@ export interface GenericEmptyStateType {
119
119
  export interface ErrorPageType extends Pick<GenericEmptyStateType, 'image' | 'title' | 'subTitle' | 'renderButton' | 'imageType'> {
120
120
  code: number;
121
121
  heightToDeduct?: number;
122
+ redirectURL?: string;
123
+ reload?: () => void;
122
124
  }
123
125
  export interface ErrorScreenManagerProps {
124
126
  code?: number;
@@ -126,6 +128,7 @@ export interface ErrorScreenManagerProps {
126
128
  subtitle?: React.ReactChild;
127
129
  reloadClass?: string;
128
130
  heightToDeduct?: number;
131
+ redirectURL?: string;
129
132
  }
130
133
  export interface ErrorScreenNotAuthorizedProps {
131
134
  subtitle?: React.ReactChild;
@@ -1,7 +1,7 @@
1
1
  var Le = Object.defineProperty;
2
2
  var je = (e, n, i) => n in e ? Le(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
3
3
  var k = (e, n, i) => (je(e, typeof n != "symbol" ? n + "" : n, i), i);
4
- import { m as Ne } from "./index-82b99cde.js";
4
+ import { m as Ne } from "./index-83e46ae3.js";
5
5
  /*!-----------------------------------------------------------------------------
6
6
  * Copyright (c) Microsoft Corporation. All rights reserved.
7
7
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
@@ -1,4 +1,4 @@
1
- import { m as F } from "./index-82b99cde.js";
1
+ import { m as F } from "./index-83e46ae3.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
@@ -1,4 +1,4 @@
1
- import { m as i } from "./index-82b99cde.js";
1
+ import { m as i } from "./index-83e46ae3.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
@@ -1,4 +1,4 @@
1
- import { m as d } from "./index-82b99cde.js";
1
+ import { m as d } from "./index-83e46ae3.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
@@ -1,7 +1,7 @@
1
1
  var $e = Object.defineProperty;
2
2
  var qe = (e, n, i) => n in e ? $e(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
3
3
  var k = (e, n, i) => (qe(e, typeof n != "symbol" ? n + "" : n, i), i);
4
- import { m as Qe } from "./index-82b99cde.js";
4
+ import { m as Qe } from "./index-83e46ae3.js";
5
5
  /*!-----------------------------------------------------------------------------
6
6
  * Copyright (c) Microsoft Corporation. All rights reserved.
7
7
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)