@devtron-labs/devtron-fe-common-lib 0.0.94-beta-4 → 0.0.95-beta-1
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/SortableTableHeaderCell/SortableTableHeaderCell.d.ts +1 -1
- package/dist/Common/SortableTableHeaderCell/types.d.ts +5 -0
- 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/Pages/GlobalConfigurations/BuildInfra/utils.d.ts +2 -0
- package/dist/Shared/API/APIQueuing.d.ts +11 -0
- package/dist/Shared/API/index.d.ts +1 -0
- 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/EnvironmentSelector.component.d.ts +4 -0
- package/dist/Shared/Components/EnvironmentSelector/constants.d.ts +5 -0
- package/dist/Shared/Components/EnvironmentSelector/index.d.ts +1 -0
- package/dist/Shared/Components/EnvironmentSelector/service.d.ts +3 -0
- package/dist/Shared/Components/EnvironmentSelector/types.d.ts +27 -0
- package/dist/Shared/Components/EnvironmentSelector/utils.d.ts +6 -0
- 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/ReactSelect/utils.d.ts +4 -0
- package/dist/Shared/Components/ScannedByToolModal/ScannedByToolModal.d.ts +1 -1
- package/dist/Shared/Components/index.d.ts +2 -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/index.d.ts +1 -0
- package/dist/Shared/types.d.ts +46 -4
- package/dist/assets/index.css +1 -1
- package/dist/assets/{yaml.worker-632eebb8.js → yaml.worker-9ae72aad.js} +237 -236
- package/dist/{cssMode-b6f0ce28.js → cssMode-dfb0d982.js} +1 -1
- package/dist/{freemarker2-89c73b42.js → freemarker2-d08834c8.js} +1 -1
- package/dist/{handlebars-7036ebc3.js → handlebars-76f68555.js} +1 -1
- package/dist/{html-58c5c2ae.js → html-c8c86592.js} +1 -1
- package/dist/{htmlMode-055f30ba.js → htmlMode-caf65bab.js} +1 -1
- package/dist/{index-fbb83f4c.js → index-0a351b25.js} +75307 -59851
- package/dist/index.js +423 -407
- package/dist/{javascript-af328488.js → javascript-0d05c53f.js} +1 -1
- package/dist/{jsonMode-451249f8.js → jsonMode-c2d78321.js} +1 -1
- package/dist/{liquid-83f9886e.js → liquid-5a4a3c98.js} +1 -1
- package/dist/{mdx-c5de7484.js → mdx-98abe49f.js} +1 -1
- package/dist/{python-c8f245d5.js → python-94dc2257.js} +1 -1
- package/dist/{razor-64a81ed9.js → razor-98cbd621.js} +1 -1
- package/dist/{tsMode-7279b789.js → tsMode-603375d4.js} +1 -1
- package/dist/{typescript-a7692d5c.js → typescript-bf86c918.js} +1 -1
- package/dist/{xml-d9b2bff0.js → xml-10f7c255.js} +1 -1
- package/dist/{yaml-a2b5d521.js → yaml-f13d0768.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 -95
- 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-bf86c918.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-0a351b25.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-0a351b25.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-0a351b25.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-0a351b25.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-0a351b25.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-0a351b25.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-0a351b25.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-0a351b25.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-0a351b25.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.
|
|
3
|
+
"version": "0.0.95-beta-1",
|
|
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,95 +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
|
-
ciMaterials: CIMaterialDTO[];
|
|
79
|
-
triggeredByEmail: string;
|
|
80
|
-
lastDeployedTime: string;
|
|
81
|
-
appId: number;
|
|
82
|
-
appName: string;
|
|
83
|
-
environmentId: number;
|
|
84
|
-
environmentName: string;
|
|
85
|
-
imageTaggingData: ImageTaggingDataDTO;
|
|
86
|
-
image: string;
|
|
87
|
-
}
|
|
88
|
-
export interface CIMaterialInfoType extends Pick<CIMaterialInfoDTO, 'triggeredByEmail' | 'lastDeployedTime' | 'appId' | 'appName' | 'environmentId' | 'environmentName' | 'image'>, ImageTaggingDataType {
|
|
89
|
-
materials: CIMaterialType[];
|
|
90
|
-
}
|
|
91
|
-
export interface GetCITriggerInfoParamsType {
|
|
92
|
-
envId: number | string;
|
|
93
|
-
ciArtifactId: number | string;
|
|
94
|
-
}
|
|
95
|
-
export {};
|