@devtron-labs/devtron-fe-common-lib 0.3.14-beta-1 → 0.3.15
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/Helper.d.ts +0 -1
- package/dist/Common/Toggle/Toggle.d.ts +1 -2
- package/dist/Common/index.d.ts +0 -1
- package/dist/Pages/App/AppConfigurations/utils.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistoryConfigList.component.d.ts +3 -0
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistoryDetailedView.d.ts +3 -0
- package/dist/Shared/Components/CICDHistory/{DeploymentHistoryConfigDiff → DeploymentHistoryDiff}/DeploymentHistoryDiffView.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistoryHeader.d.ts +3 -0
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistorySidebar.d.ts +3 -0
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/index.d.ts +3 -0
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/types.d.ts +35 -0
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/utils.d.ts +11 -0
- package/dist/Shared/Components/CICDHistory/TriggerOutput.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/index.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/types.d.ts +4 -2
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.component.d.ts +1 -1
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.types.d.ts +10 -25
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.utils.d.ts +3 -10
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffAccordion.d.ts +2 -9
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffMain.d.ts +1 -1
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffNavigation.d.ts +1 -1
- package/dist/Shared/Components/ImageCardAccordion/ImageCardAccordion.d.ts +1 -1
- package/dist/Shared/Components/ImageCardAccordion/types.d.ts +4 -2
- package/dist/Shared/Components/Security/SecurityModal/SecurityModal.d.ts +14 -0
- package/dist/Shared/Components/Security/SecurityModal/components/IndexedTextDisplay.d.ts +4 -0
- package/dist/Shared/Components/Security/SecurityModal/components/InfoCard.d.ts +4 -0
- package/dist/Shared/Components/Security/SecurityModal/components/OpenDetailViewButton.d.ts +4 -0
- package/dist/Shared/Components/Security/SecurityModal/components/Table.d.ts +4 -0
- package/dist/Shared/Components/Security/SecurityModal/components/index.d.ts +3 -0
- package/dist/Shared/Components/Security/SecurityModal/config/CodeScan.d.ts +100 -0
- package/dist/Shared/Components/Security/SecurityModal/config/EmptyState.d.ts +2 -0
- package/dist/Shared/Components/Security/SecurityModal/config/ImageScan.d.ts +4 -0
- package/dist/Shared/Components/Security/SecurityModal/config/InfoCard.d.ts +2 -0
- package/dist/Shared/Components/Security/SecurityModal/config/KubernetesManifest.d.ts +4 -0
- package/dist/Shared/Components/Security/SecurityModal/config/Sidebar.d.ts +2 -0
- package/dist/Shared/Components/Security/SecurityModal/config/Table.d.ts +2 -0
- package/dist/Shared/Components/Security/SecurityModal/config/index.d.ts +3 -0
- package/dist/Shared/Components/Security/SecurityModal/constants.d.ts +56 -0
- package/dist/Shared/Components/Security/SecurityModal/index.d.ts +6 -0
- package/dist/Shared/Components/Security/SecurityModal/service.d.ts +3 -0
- package/dist/Shared/Components/Security/SecurityModal/types.d.ts +262 -0
- package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +34 -0
- package/dist/Shared/Components/Security/SecuritySummaryCard/SecuritySummaryCard.d.ts +3 -0
- package/dist/Shared/Components/Security/SecuritySummaryCard/index.d.ts +1 -0
- package/dist/Shared/Components/Security/SecuritySummaryCard/types.d.ts +11 -0
- package/dist/Shared/Components/{Vulnerabilities → Security/Vulnerabilities}/Vulnerabilities.d.ts +1 -1
- package/dist/Shared/Components/{Vulnerabilities → Security/Vulnerabilities}/index.d.ts +1 -0
- package/dist/Shared/Components/Security/Vulnerabilities/service.d.ts +2 -0
- package/dist/Shared/Components/Security/Vulnerabilities/types.d.ts +24 -0
- package/dist/Shared/Components/Security/Vulnerabilities/utils.d.ts +6 -0
- package/dist/Shared/Components/Security/index.d.ts +4 -0
- package/dist/Shared/Components/Security/utils.d.ts +4 -0
- package/dist/Shared/Components/SelectPicker/type.d.ts +0 -5
- package/dist/Shared/Components/index.d.ts +1 -1
- package/dist/Shared/Helpers.d.ts +0 -13
- package/dist/Shared/Services/app.service.d.ts +1 -7
- package/dist/Shared/Services/app.types.d.ts +7 -34
- package/dist/Shared/constants.d.ts +4 -0
- package/dist/Shared/types.d.ts +1 -0
- package/dist/assets/index.css +1 -1
- package/dist/{cssMode-IylcoDbx.js → cssMode-C3fkhVx5.js} +1 -1
- package/dist/{freemarker2-Dc0BAReS.js → freemarker2-BAGTwlAk.js} +1 -1
- package/dist/{handlebars-D8d3oeeL.js → handlebars-DT60fTDQ.js} +1 -1
- package/dist/{html-DHIUzE39.js → html-B5LxnBsS.js} +1 -1
- package/dist/{htmlMode-C8ZDw4HO.js → htmlMode-C8GqAvmp.js} +1 -1
- package/dist/{index-ByVomRMV.js → index-POmD5FX4.js} +130440 -128981
- package/dist/index.js +501 -496
- package/dist/{javascript-ietUe3zr.js → javascript-DOVIaELP.js} +1 -1
- package/dist/{jsonMode-D-2SVjtk.js → jsonMode-DV3sK4zw.js} +1 -1
- package/dist/{liquid-rTZVyZ7L.js → liquid-DlzcPJtV.js} +1 -1
- package/dist/{mdx-DlWEeuen.js → mdx-CYRLLMLN.js} +1 -1
- package/dist/{python-CoQh6-mN.js → python-DKhxQWXv.js} +1 -1
- package/dist/{razor-B7QZez8l.js → razor-DDkZgsRQ.js} +1 -1
- package/dist/{tsMode-PD0LurRg.js → tsMode-BYPk8zNm.js} +1 -1
- package/dist/{typescript-Cl3AgiB7.js → typescript-Bmk5c7SJ.js} +1 -1
- package/dist/{xml-DUme7BW4.js → xml-C7p_z4wg.js} +1 -1
- package/dist/{yaml-CZ5BQ0MU.js → yaml-DhKCr5Iw.js} +1 -1
- package/package.json +4 -3
- package/dist/Common/Security/ScanVulnerabilitiesTable.d.ts +0 -2
- package/dist/Common/Security/types.d.ts +0 -4
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/DeploymentHistoryConfigDiff.d.ts +0 -2
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/DeploymentHistoryConfigDiffCompare.d.ts +0 -2
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/helpers.d.ts +0 -3
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/index.d.ts +0 -2
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/types.d.ts +0 -34
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/utils.d.ts +0 -21
- package/dist/Shared/Components/Vulnerabilities/constants.d.ts +0 -4
- package/dist/Shared/Components/Vulnerabilities/service.d.ts +0 -2
- package/dist/Shared/Components/Vulnerabilities/types.d.ts +0 -7
- package/dist/Shared/Components/Vulnerabilities/utils.d.ts +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { conf as t, language as e } from "./typescript-
|
|
1
|
+
import { conf as t, language as e } from "./typescript-Bmk5c7SJ.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 Ge = (e, n, i) => n in e ? $e(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
|
|
3
3
|
var C = (e, n, i) => Ge(e, typeof n != "symbol" ? n + "" : n, i);
|
|
4
|
-
import { m as Qe } from "./index-
|
|
4
|
+
import { m as Qe } from "./index-POmD5FX4.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 l } from "./index-
|
|
1
|
+
import { m as l } from "./index-POmD5FX4.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-POmD5FX4.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-
|
|
1
|
+
import { m as i } from "./index-POmD5FX4.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 } from "./index-
|
|
1
|
+
import { m } from "./index-POmD5FX4.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 N = Object.defineProperty;
|
|
2
2
|
var M = (e, t, r) => t in e ? N(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
3
|
var _ = (e, t, r) => M(e, typeof t != "symbol" ? t + "" : t, r);
|
|
4
|
-
import { t as R, m as K } from "./index-
|
|
4
|
+
import { t as R, m as K } from "./index-POmD5FX4.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 s } from "./index-
|
|
1
|
+
import { m as s } from "./index-POmD5FX4.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 r } from "./index-
|
|
1
|
+
import { m as r } from "./index-POmD5FX4.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-POmD5FX4.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devtron-labs/devtron-fe-common-lib",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.15",
|
|
4
4
|
"description": "Supporting common component library",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -73,7 +73,6 @@
|
|
|
73
73
|
"vite-tsconfig-paths": "5.0.1"
|
|
74
74
|
},
|
|
75
75
|
"peerDependencies": {
|
|
76
|
-
"react-select": "5.8.0",
|
|
77
76
|
"@rjsf/core": "^5.13.3",
|
|
78
77
|
"@rjsf/utils": "^5.13.3",
|
|
79
78
|
"@rjsf/validator-ajv8": "^5.13.3",
|
|
@@ -87,6 +86,7 @@
|
|
|
87
86
|
"react-mde": "^11.5.0",
|
|
88
87
|
"react-router": "^5.3.0",
|
|
89
88
|
"react-router-dom": "^5.3.0",
|
|
89
|
+
"react-select": "5.8.0",
|
|
90
90
|
"react-keybind": "^0.9.4",
|
|
91
91
|
"rxjs": "^7.8.1",
|
|
92
92
|
"yaml": "^2.4.1"
|
|
@@ -94,9 +94,10 @@
|
|
|
94
94
|
"dependencies": {
|
|
95
95
|
"@types/react-dates": "^21.8.6",
|
|
96
96
|
"ansi_up": "^5.2.1",
|
|
97
|
+
"dayjs": "^1.11.12",
|
|
97
98
|
"fast-json-patch": "^3.1.1",
|
|
98
|
-
"react-dates": "^21.8.0",
|
|
99
99
|
"jsonpath-plus": "^9.0.0",
|
|
100
|
+
"react-dates": "^21.8.0",
|
|
100
101
|
"react-monaco-editor": "^0.54.0",
|
|
101
102
|
"sass": "^1.69.7",
|
|
102
103
|
"tslib": "2.7.0"
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { DeploymentHistoryDiffDetailedProps } from './types';
|
|
2
|
-
export declare const DeploymentHistoryConfigDiffCompare: ({ envName, setFullScreenView, pipelineDeployments, wfrId, previousWfrId, convertVariables, setConvertVariables, ...props }: DeploymentHistoryDiffDetailedProps) => JSX.Element;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { DeploymentConfigDiffProps } from '@Shared/Components/DeploymentConfigDiff';
|
|
2
|
-
export declare const renderDeploymentHistoryConfig: (config: DeploymentConfigDiffProps["configList"], heading: string, pathname: string) => JSX.Element;
|
|
3
|
-
export declare const renderPipelineDeploymentStatusIcon: (status: string) => JSX.Element;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { Dispatch, SetStateAction } from 'react';
|
|
2
|
-
import { DeploymentConfigDiffProps } from '@Shared/Components/DeploymentConfigDiff';
|
|
3
|
-
import { EnvResourceType } from '../../../Services';
|
|
4
|
-
import { History } from '../types';
|
|
5
|
-
export interface DeploymentHistoryConfigDiffProps {
|
|
6
|
-
appName: string;
|
|
7
|
-
envName: string;
|
|
8
|
-
pipelineId: number;
|
|
9
|
-
wfrId: number;
|
|
10
|
-
triggerHistory: Map<number, History>;
|
|
11
|
-
setFullScreenView: (fullscreen: boolean) => void;
|
|
12
|
-
}
|
|
13
|
-
export type DeploymentHistoryDiffDetailedProps = Pick<DeploymentConfigDiffProps, 'collapsibleNavList' | 'configList' | 'errorConfig' | 'isLoading' | 'navList'> & Pick<DeploymentHistoryConfigDiffProps, 'setFullScreenView' | 'wfrId' | 'envName'> & {
|
|
14
|
-
pipelineDeployments: History[];
|
|
15
|
-
previousWfrId: number;
|
|
16
|
-
convertVariables: boolean;
|
|
17
|
-
setConvertVariables: Dispatch<SetStateAction<boolean>>;
|
|
18
|
-
};
|
|
19
|
-
export interface DeploymentHistoryConfigDiffQueryParams {
|
|
20
|
-
compareWfrId: number;
|
|
21
|
-
}
|
|
22
|
-
export interface DeploymentHistoryConfigDiffRouteParams {
|
|
23
|
-
resourceType: EnvResourceType;
|
|
24
|
-
resourceName: string;
|
|
25
|
-
}
|
|
26
|
-
export interface DeploymentHistoryParamsType {
|
|
27
|
-
appId: string;
|
|
28
|
-
pipelineId?: string;
|
|
29
|
-
historyComponent?: string;
|
|
30
|
-
baseConfigurationId?: string;
|
|
31
|
-
historyComponentName?: string;
|
|
32
|
-
envId?: string;
|
|
33
|
-
triggerId?: string;
|
|
34
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { History } from '../types';
|
|
2
|
-
import { DeploymentHistoryConfigDiffProps } from './types';
|
|
3
|
-
export declare const getPipelineDeployments: (triggerHistory: DeploymentHistoryConfigDiffProps["triggerHistory"]) => History[];
|
|
4
|
-
export declare const getPipelineDeploymentsWfrIds: ({ pipelineDeployments, wfrId, }: {
|
|
5
|
-
pipelineDeployments: History[];
|
|
6
|
-
} & Pick<DeploymentHistoryConfigDiffProps, "wfrId">) => {
|
|
7
|
-
currentWfrId: number;
|
|
8
|
-
previousWfrId: number;
|
|
9
|
-
};
|
|
10
|
-
export declare const getPipelineDeploymentsOptions: (pipelineDeployments: History[], wfrId: number) => {
|
|
11
|
-
currentDeployment: string;
|
|
12
|
-
pipelineDeploymentsOptions: {
|
|
13
|
-
value: number;
|
|
14
|
-
label: string;
|
|
15
|
-
description: string;
|
|
16
|
-
startIcon: JSX.Element;
|
|
17
|
-
}[];
|
|
18
|
-
};
|
|
19
|
-
export declare const parseDeploymentHistoryDiffSearchParams: (compareWfrId: number) => (searchParams: URLSearchParams) => {
|
|
20
|
-
compareWfrId: number;
|
|
21
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { MaterialSecurityInfoType } from '../../types';
|
|
2
|
-
export interface VulnerabilitiesProps extends MaterialSecurityInfoType {
|
|
3
|
-
artifactId: number;
|
|
4
|
-
applicationId: number;
|
|
5
|
-
environmentId: number;
|
|
6
|
-
setVulnerabilityCount: React.Dispatch<React.SetStateAction<number>>;
|
|
7
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { LastExecutionResponseType, LastExecutionResultType } from '../../types';
|
|
2
|
-
export declare const getSortedVulnerabilities: (vulnerabilities: any) => any;
|
|
3
|
-
export declare const getParsedScanResult: (scanResult: any) => LastExecutionResultType;
|
|
4
|
-
export declare const parseLastExecutionResponse: (response: any) => LastExecutionResponseType;
|