@devtron-labs/devtron-fe-common-lib 1.0.3 → 1.0.4-beta-2

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.
@@ -255,6 +255,7 @@ export declare const API_STATUS_CODES: {
255
255
  PERMISSION_DENIED: number;
256
256
  NOT_FOUND: number;
257
257
  EXPECTATION_FAILED: number;
258
+ UNPROCESSABLE_ENTITY: number;
258
259
  LOCKED: number;
259
260
  };
260
261
  export declare enum SERVER_MODE {
@@ -1,3 +1,3 @@
1
1
  import { ErrorScreenManagerProps } from './Types';
2
- declare const ErrorScreenManager: ({ code, reload, subtitle, reloadClass, heightToDeduct, redirectURL, }: ErrorScreenManagerProps) => JSX.Element;
2
+ declare const ErrorScreenManager: ({ code, reload, subtitle, reloadClass, heightToDeduct, redirectURL, imageType, }: ErrorScreenManagerProps) => JSX.Element;
3
3
  export default ErrorScreenManager;
@@ -124,6 +124,7 @@ export interface ErrorPageType extends Pick<GenericEmptyStateType, 'image' | 'ti
124
124
  }
125
125
  export interface ErrorScreenManagerProps {
126
126
  code?: number;
127
+ imageType?: ImageType;
127
128
  reload?: (...args: any[]) => any;
128
129
  subtitle?: React.ReactChild;
129
130
  reloadClass?: string;
@@ -414,3 +414,6 @@ export declare const TRIGGER_STATUS_PROGRESSING: string[];
414
414
  export declare const CONFIGURATION_TYPE_VALUES: ConfigurationType[];
415
415
  export declare const DEFAULT_LOCKED_KEYS_CONFIG: Readonly<ConfigKeysWithLockType>;
416
416
  export declare const ALL_RESOURCE_KIND_FILTER = "all";
417
+ export declare const OPEN_NEW_TICKET = "https://enterprise.devtron.ai/portal/en/newticket";
418
+ export declare const VIEW_ALL_TICKETS = "https://enterprise.devtron.ai/portal/en/myarea";
419
+ export declare const RAISE_ISSUE = "https://github.com/devtron-labs/devtron/issues/new/choose";
@@ -658,11 +658,23 @@ interface CommonTabArgsType {
658
658
  value: string;
659
659
  }[];
660
660
  };
661
+ /**
662
+ * If true, the fixed tab remains mounted on initial load of the component
663
+ *
664
+ * Note: Not for dynamic tabs atm
665
+ *
666
+ * @default false
667
+ */
668
+ shouldRemainMounted?: boolean;
661
669
  }
662
670
  export interface InitTabType extends CommonTabArgsType {
663
671
  idPrefix: string;
664
672
  }
665
673
  export interface DynamicTabType extends CommonTabArgsType {
666
674
  id: string;
675
+ /**
676
+ * Id of the tab from which the current tab is opened
677
+ */
678
+ lastActiveTabId: string | null;
667
679
  }
668
680
  export {};
@@ -1,7 +1,7 @@
1
1
  var Fe = Object.defineProperty;
2
2
  var Le = (e, n, i) => n in e ? Fe(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
3
3
  var k = (e, n, i) => Le(e, typeof n != "symbol" ? n + "" : n, i);
4
- import { m as je } from "./index-ri-cQmfI.js";
4
+ import { m as je } from "./index-dmW9GcCO.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-ri-cQmfI.js";
1
+ import { m as f } from "./index-dmW9GcCO.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 l } from "./index-ri-cQmfI.js";
1
+ import { m as l } from "./index-dmW9GcCO.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 s } from "./index-ri-cQmfI.js";
1
+ import { m as s } from "./index-dmW9GcCO.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 Be = Object.defineProperty;
2
2
  var $e = (e, n, i) => n in e ? Be(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
3
3
  var k = (e, n, i) => $e(e, typeof n != "symbol" ? n + "" : n, i);
4
- import { m as qe } from "./index-ri-cQmfI.js";
4
+ import { m as qe } from "./index-dmW9GcCO.js";
5
5
  /*!-----------------------------------------------------------------------------
6
6
  * Copyright (c) Microsoft Corporation. All rights reserved.
7
7
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)