@devtron-labs/devtron-fe-common-lib 0.0.95-beta-3 → 0.0.95-beta-5
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/Api.d.ts +1 -1
- package/dist/Common/BreadCrumb/BreadCrumb.d.ts +1 -1
- package/dist/Common/BreadCrumb/BreadcrumbStore.d.ts +2 -0
- package/dist/Common/BreadCrumb/Types.d.ts +4 -0
- package/dist/Common/Checkbox.d.ts +1 -1
- package/dist/Common/CodeEditor/CodeEditor.d.ts +1 -1
- package/dist/Common/CodeEditor/CodeEditor.reducer.d.ts +1 -1
- package/dist/Common/Common.service.d.ts +1 -1
- package/dist/Common/Constants.d.ts +2 -3
- package/dist/Common/CustomTagSelector/Types.d.ts +1 -1
- package/dist/Common/Dialogs/DeleteDialog.d.ts +1 -1
- package/dist/Common/Dialogs/DialogForm.d.ts +1 -1
- package/dist/Common/Helper.d.ts +2 -2
- package/dist/Common/Hooks/useStateFilters/types.d.ts +4 -1
- package/dist/Common/Modals/Modal.d.ts +1 -1
- package/dist/Common/MultiSelectCustomization.d.ts +8 -0
- package/dist/Common/Policy.Types.d.ts +1 -1
- package/dist/Common/RJSF/config.d.ts +1 -1
- package/dist/Common/RJSF/types.d.ts +1 -1
- package/dist/Common/RJSF/utils.d.ts +1 -1
- package/dist/Common/RadioGroup/RadioGroup.d.ts +1 -1
- package/dist/Common/Reload.d.ts +0 -3
- package/dist/Common/ResizableTextarea.d.ts +1 -1
- package/dist/Common/SearchBar/SearchBar.component.d.ts +1 -1
- package/dist/Common/SearchBar/types.d.ts +4 -0
- package/dist/Common/SegmentedBarChart/SegmentedBarChart.d.ts +1 -1
- package/dist/Common/Select/Select.d.ts +1 -1
- package/dist/Common/Types.d.ts +4 -4
- package/dist/Common/index.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/UserRoleGroupTableRow.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/types.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/Authorization/types.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraConfigForm.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraDescriptionField.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraFormAction.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraFormItem.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraProfileNameField.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/Footer.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/constants.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/services.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/types.d.ts +3 -3
- package/dist/Shared/Components/APIResponseHandler/types.d.ts +2 -2
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/types.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/Sidebar.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/TriggerOutput.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/service.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/types.d.ts +3 -3
- package/dist/Shared/Components/DatePicker/DateTimePicker.d.ts +4 -0
- package/dist/Shared/Components/DatePicker/MonthlySelect.d.ts +3 -0
- package/dist/Shared/Components/DatePicker/SingleDatePickerComponent.d.ts +12 -0
- package/dist/Shared/Components/DatePicker/TimeSelect.d.ts +3 -0
- package/dist/Shared/Components/DatePicker/constants.d.ts +143 -0
- package/dist/Shared/Components/DatePicker/index.d.ts +7 -0
- package/dist/Shared/Components/DatePicker/types.d.ts +124 -0
- package/dist/Shared/Components/DatePicker/utils.d.ts +46 -0
- package/dist/Shared/Components/EnvironmentSelector/types.d.ts +2 -2
- package/dist/Shared/Components/EnvironmentSelector/utils.d.ts +2 -2
- package/dist/Shared/Components/FeatureDescription/types.d.ts +1 -1
- package/dist/Shared/Components/Header/service.d.ts +1 -1
- package/dist/Shared/Components/ImageCard/types.d.ts +2 -2
- package/dist/Shared/Components/ImageCardAccordion/types.d.ts +2 -2
- package/dist/Shared/Components/ReactSelect/constants.d.ts +14 -0
- package/dist/Shared/Components/ReactSelect/index.d.ts +1 -0
- package/dist/Shared/Components/ScannedByToolModal/ScannedByToolModal.d.ts +1 -1
- package/dist/Shared/Components/index.d.ts +1 -4
- package/dist/Shared/Helpers.d.ts +3 -3
- package/dist/Shared/Providers/UserEmailProvider/UserEmailProvider.d.ts +1 -1
- package/dist/Shared/Providers/types.d.ts +2 -2
- package/dist/Shared/Services/index.d.ts +0 -2
- package/dist/Shared/Services/types.d.ts +1 -1
- package/dist/Shared/types.d.ts +1 -1
- package/dist/assets/index.css +1 -1
- package/dist/assets/{yaml.worker-632eebb8.js → yaml.worker-9ae72aad.js} +237 -236
- package/dist/{cssMode-66f743a1.js → cssMode-9870bdd0.js} +1 -1
- package/dist/{freemarker2-224483a0.js → freemarker2-09139506.js} +1 -1
- package/dist/{handlebars-ef5ff4d4.js → handlebars-c1604b3f.js} +1 -1
- package/dist/{html-5b2a32ce.js → html-b2bf1348.js} +1 -1
- package/dist/{htmlMode-e8b04ecd.js → htmlMode-9e8fa9aa.js} +1 -1
- package/dist/{index-d1dc748d.js → index-2866f7b7.js} +65998 -50656
- package/dist/index.js +392 -378
- package/dist/{javascript-9dd25075.js → javascript-7f0591f3.js} +1 -1
- package/dist/{jsonMode-f9949caf.js → jsonMode-884d8a03.js} +1 -1
- package/dist/{liquid-4b43b6c4.js → liquid-9a44be58.js} +1 -1
- package/dist/{mdx-e9c38b5b.js → mdx-33ed7834.js} +1 -1
- package/dist/{python-88a4d8d9.js → python-9d61a4f6.js} +1 -1
- package/dist/{razor-288862b7.js → razor-f4b1d649.js} +1 -1
- package/dist/{tsMode-2bd8b23b.js → tsMode-694611ad.js} +1 -1
- package/dist/{typescript-98fe116f.js → typescript-64f2bf80.js} +1 -1
- package/dist/{xml-ce345a71.js → xml-add1dee9.js} +1 -1
- package/dist/{yaml-21566792.js → yaml-ae432852.js} +1 -1
- package/package.json +3 -2
- package/dist/Shared/Components/ArtifactInfoModal/ArtifactInfoModal.component.d.ts +0 -4
- package/dist/Shared/Components/ArtifactInfoModal/index.d.ts +0 -2
- package/dist/Shared/Components/ArtifactInfoModal/types.d.ts +0 -15
- package/dist/Shared/Components/CommitChipCell/CommitChipCell.d.ts +0 -4
- package/dist/Shared/Components/CommitChipCell/index.d.ts +0 -2
- package/dist/Shared/Components/CommitChipCell/types.d.ts +0 -6
- package/dist/Shared/Components/ImageChipCell/ImageChipCell.component.d.ts +0 -4
- package/dist/Shared/Components/ImageChipCell/index.d.ts +0 -2
- package/dist/Shared/Components/ImageChipCell/types.d.ts +0 -9
- package/dist/Shared/Components/MaterialHistory/MaterialHistory.component.d.ts +0 -4
- package/dist/Shared/Components/MaterialHistory/index.d.ts +0 -2
- package/dist/Shared/Components/MaterialHistory/types.d.ts +0 -8
- package/dist/Shared/Services/app.service.d.ts +0 -7
- package/dist/Shared/Services/app.types.d.ts +0 -96
- package/dist/Shared/Services/utils.d.ts +0 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { conf as t, language as e } from "./typescript-
|
|
1
|
+
import { conf as t, language as e } from "./typescript-64f2bf80.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 Ge = Object.defineProperty;
|
|
2
2
|
var Qe = (e, n, i) => n in e ? Ge(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
|
|
3
3
|
var C = (e, n, i) => (Qe(e, typeof n != "symbol" ? n + "" : n, i), i);
|
|
4
|
-
import { m as Ze } from "./index-
|
|
4
|
+
import { m as Ze } from "./index-2866f7b7.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 d } from "./index-
|
|
1
|
+
import { m as d } from "./index-2866f7b7.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-
|
|
1
|
+
import { m as d } from "./index-2866f7b7.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 a } from "./index-
|
|
1
|
+
import { m as a } from "./index-2866f7b7.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-2866f7b7.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 M = Object.defineProperty;
|
|
2
2
|
var R = (e, t, r) => t in e ? M(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
3
|
var _ = (e, t, r) => (R(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
4
|
-
import { t as K, m as E } from "./index-
|
|
4
|
+
import { t as K, m as E } from "./index-2866f7b7.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 a } from "./index-
|
|
1
|
+
import { m as a } from "./index-2866f7b7.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-2866f7b7.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-2866f7b7.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.0.95-beta-
|
|
3
|
+
"version": "0.0.95-beta-5",
|
|
4
4
|
"description": "Supporting common component library",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -60,7 +60,6 @@
|
|
|
60
60
|
"moment": "^2.29.4",
|
|
61
61
|
"monaco-editor": "0.44.0",
|
|
62
62
|
"monaco-yaml": "5.1.1",
|
|
63
|
-
"react-monaco-editor": "^0.55.0",
|
|
64
63
|
"prettier": "^3.1.1",
|
|
65
64
|
"react-ga4": "^1.4.1",
|
|
66
65
|
"react-mde": "^11.5.0",
|
|
@@ -94,6 +93,8 @@
|
|
|
94
93
|
"fast-json-patch": "^3.1.1",
|
|
95
94
|
"jsonpath-plus": "^7.2.0",
|
|
96
95
|
"react-monaco-editor": "^0.54.0",
|
|
96
|
+
"@types/react-dates": "^21.8.6",
|
|
97
|
+
"react-dates": "^21.8.0",
|
|
97
98
|
"sass": "^1.69.7",
|
|
98
99
|
"tslib": "^2.4.1"
|
|
99
100
|
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ArtifactType } from '../CICDHistory';
|
|
2
|
-
|
|
3
|
-
export type ArtifactInfoModalProps = Pick<ArtifactType, 'renderCIListHeader'> & {
|
|
4
|
-
ciArtifactId: number;
|
|
5
|
-
handleClose: () => void;
|
|
6
|
-
} & ({
|
|
7
|
-
envId: number | string;
|
|
8
|
-
fetchOnlyArtifactInfo?: false;
|
|
9
|
-
} | {
|
|
10
|
-
envId?: never;
|
|
11
|
-
/**
|
|
12
|
-
* If true, the env and trigger meta data is not fetched
|
|
13
|
-
*/
|
|
14
|
-
fetchOnlyArtifactInfo: true;
|
|
15
|
-
});
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { CIMaterialType } from '../../Services/app.types';
|
|
2
|
-
|
|
3
|
-
export interface MaterialHistoryProps {
|
|
4
|
-
material: CIMaterialType;
|
|
5
|
-
pipelineName: string;
|
|
6
|
-
ciPipelineId?: string;
|
|
7
|
-
selectCommit?: (materialId: string, commit: string, ciPipelineId?: string) => void;
|
|
8
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { CIMaterialInfoType, GetCITriggerInfoParamsType } from './app.types';
|
|
2
|
-
|
|
3
|
-
export declare const getCITriggerInfo: (params: GetCITriggerInfoParamsType) => Promise<CIMaterialInfoType>;
|
|
4
|
-
/**
|
|
5
|
-
* The only difference between this and getCITriggerInfo is it doesn't have env and trigger related meta info
|
|
6
|
-
*/
|
|
7
|
-
export declare const getArtifactInfo: (params: Pick<GetCITriggerInfoParamsType, 'ciArtifactId'>) => Promise<CIMaterialInfoType>;
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { ReleaseTag } from '../../Common';
|
|
2
|
-
|
|
3
|
-
interface WebhookDataType {
|
|
4
|
-
id: number;
|
|
5
|
-
eventActionType: string;
|
|
6
|
-
data: any;
|
|
7
|
-
}
|
|
8
|
-
interface MaterialHistoryDTO {
|
|
9
|
-
Commit: string;
|
|
10
|
-
Author: string;
|
|
11
|
-
Date: string;
|
|
12
|
-
Message: string;
|
|
13
|
-
Changes: unknown[];
|
|
14
|
-
WebhookData: WebhookDataType;
|
|
15
|
-
}
|
|
16
|
-
interface MaterialHistoryType {
|
|
17
|
-
commitURL: string;
|
|
18
|
-
commit: MaterialHistoryDTO['Commit'];
|
|
19
|
-
author: MaterialHistoryDTO['Author'];
|
|
20
|
-
date: MaterialHistoryDTO['Date'];
|
|
21
|
-
message: MaterialHistoryDTO['Message'];
|
|
22
|
-
changes: MaterialHistoryDTO['Changes'];
|
|
23
|
-
webhookData: MaterialHistoryDTO['WebhookData'];
|
|
24
|
-
showChanges: boolean;
|
|
25
|
-
isSelected: boolean;
|
|
26
|
-
excluded?: boolean;
|
|
27
|
-
}
|
|
28
|
-
interface CIMaterialDTO {
|
|
29
|
-
id: number;
|
|
30
|
-
gitMaterialId: number;
|
|
31
|
-
gitMaterialName: string;
|
|
32
|
-
type: string;
|
|
33
|
-
value: string;
|
|
34
|
-
active: boolean;
|
|
35
|
-
history: MaterialHistoryDTO[];
|
|
36
|
-
lastFetchTime: string;
|
|
37
|
-
url: string;
|
|
38
|
-
}
|
|
39
|
-
interface CIMaterialMetaType {
|
|
40
|
-
isRepoError?: boolean;
|
|
41
|
-
repoErrorMsg?: string;
|
|
42
|
-
isBranchError?: boolean;
|
|
43
|
-
branchErrorMsg?: string;
|
|
44
|
-
isMaterialLoading?: boolean;
|
|
45
|
-
regex?: string;
|
|
46
|
-
searchText?: string;
|
|
47
|
-
noSearchResultsMsg?: string;
|
|
48
|
-
noSearchResult?: boolean;
|
|
49
|
-
isRegex?: boolean;
|
|
50
|
-
isDockerFileError?: boolean;
|
|
51
|
-
dockerFileErrorMsg?: string;
|
|
52
|
-
showAllCommits?: boolean;
|
|
53
|
-
isMaterialSelectionError?: boolean;
|
|
54
|
-
materialSelectionErrorMsg?: string;
|
|
55
|
-
}
|
|
56
|
-
export interface CIMaterialType extends Pick<CIMaterialDTO, 'id' | 'gitMaterialId' | 'gitMaterialName' | 'type' | 'value' | 'active' | 'lastFetchTime'>, CIMaterialMetaType {
|
|
57
|
-
gitURL: CIMaterialDTO['url'];
|
|
58
|
-
history: MaterialHistoryType[];
|
|
59
|
-
isSelected: boolean;
|
|
60
|
-
}
|
|
61
|
-
interface ImageCommentDTO {
|
|
62
|
-
id: number;
|
|
63
|
-
comment: string;
|
|
64
|
-
artifactId: number;
|
|
65
|
-
}
|
|
66
|
-
interface ImageCommentType extends ImageCommentDTO {
|
|
67
|
-
}
|
|
68
|
-
interface ImageTaggingDataDTO {
|
|
69
|
-
imageReleaseTags: ReleaseTag[];
|
|
70
|
-
appReleaseTags: string[];
|
|
71
|
-
imageComment: ImageCommentDTO;
|
|
72
|
-
tagsEditable: boolean;
|
|
73
|
-
}
|
|
74
|
-
interface ImageTaggingDataType extends Pick<ImageTaggingDataDTO, 'imageReleaseTags' | 'appReleaseTags' | 'tagsEditable'> {
|
|
75
|
-
imageComment: ImageCommentType;
|
|
76
|
-
}
|
|
77
|
-
export interface CIMaterialInfoDTO {
|
|
78
|
-
ciPipelineId: number;
|
|
79
|
-
ciMaterials: CIMaterialDTO[];
|
|
80
|
-
triggeredByEmail: string;
|
|
81
|
-
lastDeployedTime: string;
|
|
82
|
-
appId: number;
|
|
83
|
-
appName: string;
|
|
84
|
-
environmentId: number;
|
|
85
|
-
environmentName: string;
|
|
86
|
-
imageTaggingData: ImageTaggingDataDTO;
|
|
87
|
-
image: string;
|
|
88
|
-
}
|
|
89
|
-
export interface CIMaterialInfoType extends Pick<CIMaterialInfoDTO, 'triggeredByEmail' | 'lastDeployedTime' | 'appId' | 'appName' | 'environmentId' | 'environmentName' | 'image' | 'ciPipelineId'>, ImageTaggingDataType {
|
|
90
|
-
materials: CIMaterialType[];
|
|
91
|
-
}
|
|
92
|
-
export interface GetCITriggerInfoParamsType {
|
|
93
|
-
envId: number | string;
|
|
94
|
-
ciArtifactId: number | string;
|
|
95
|
-
}
|
|
96
|
-
export {};
|