@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.
- package/dist/Common/Constants.d.ts +1 -0
- package/dist/Common/ErrorScreenManager.d.ts +1 -1
- package/dist/Common/Types.d.ts +1 -0
- package/dist/Shared/constants.d.ts +3 -0
- package/dist/Shared/types.d.ts +12 -0
- package/dist/{cssMode-DqgoAsfz.js → cssMode-w7hOCM0k.js} +1 -1
- package/dist/{freemarker2-CEpnHSz-.js → freemarker2-DozH2J0x.js} +1 -1
- package/dist/{handlebars-CqEeLRD2.js → handlebars-dN0ZVyA3.js} +1 -1
- package/dist/{html-DFTHYjce.js → html-NJLCqk0N.js} +1 -1
- package/dist/{htmlMode-DgaO5fic.js → htmlMode-CTo9GHtC.js} +1 -1
- package/dist/{index-ri-cQmfI.js → index-dmW9GcCO.js} +4992 -4987
- package/dist/index.js +386 -383
- package/dist/{javascript-B4BGuvGB.js → javascript-BhJoD1Q4.js} +1 -1
- package/dist/{jsonMode-CoC90oe8.js → jsonMode-C0A--CGI.js} +1 -1
- package/dist/{liquid-Du6Lnlrg.js → liquid-ByhVZdgf.js} +1 -1
- package/dist/{mdx-CW6spHTf.js → mdx-C_dgBpbD.js} +1 -1
- package/dist/{python-rKDYUtSh.js → python-C1VMAcSn.js} +1 -1
- package/dist/{razor-B3aspFSw.js → razor-BEtIbemt.js} +1 -1
- package/dist/{tsMode-Ch11Nli2.js → tsMode-QYFD9xGf.js} +1 -1
- package/dist/{typescript-C01AH-qj.js → typescript-DiZk29SG.js} +1 -1
- package/dist/{xml-DTUVGyRD.js → xml-BGXmaQy0.js} +1 -1
- package/dist/{yaml-DjxWRzgQ.js → yaml-DInrU7r8.js} +1 -1
- package/package.json +1 -1
|
@@ -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;
|
package/dist/Common/Types.d.ts
CHANGED
|
@@ -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";
|
package/dist/Shared/types.d.ts
CHANGED
|
@@ -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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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)
|