@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.
Files changed (117) hide show
  1. package/dist/Common/Api.d.ts +1 -1
  2. package/dist/Common/BreadCrumb/BreadCrumb.d.ts +1 -1
  3. package/dist/Common/BreadCrumb/BreadcrumbStore.d.ts +2 -0
  4. package/dist/Common/BreadCrumb/Types.d.ts +4 -0
  5. package/dist/Common/Checkbox.d.ts +1 -1
  6. package/dist/Common/CodeEditor/CodeEditor.d.ts +1 -1
  7. package/dist/Common/CodeEditor/CodeEditor.reducer.d.ts +1 -1
  8. package/dist/Common/Common.service.d.ts +1 -1
  9. package/dist/Common/Constants.d.ts +2 -3
  10. package/dist/Common/CustomTagSelector/Types.d.ts +1 -1
  11. package/dist/Common/Dialogs/DeleteDialog.d.ts +1 -1
  12. package/dist/Common/Dialogs/DialogForm.d.ts +1 -1
  13. package/dist/Common/Helper.d.ts +2 -2
  14. package/dist/Common/Hooks/useStateFilters/types.d.ts +4 -1
  15. package/dist/Common/Modals/Modal.d.ts +1 -1
  16. package/dist/Common/MultiSelectCustomization.d.ts +8 -0
  17. package/dist/Common/Policy.Types.d.ts +1 -1
  18. package/dist/Common/RJSF/config.d.ts +1 -1
  19. package/dist/Common/RJSF/types.d.ts +1 -1
  20. package/dist/Common/RJSF/utils.d.ts +1 -1
  21. package/dist/Common/RadioGroup/RadioGroup.d.ts +1 -1
  22. package/dist/Common/Reload.d.ts +0 -3
  23. package/dist/Common/ResizableTextarea.d.ts +1 -1
  24. package/dist/Common/SearchBar/SearchBar.component.d.ts +1 -1
  25. package/dist/Common/SearchBar/types.d.ts +4 -0
  26. package/dist/Common/SegmentedBarChart/SegmentedBarChart.d.ts +1 -1
  27. package/dist/Common/Select/Select.d.ts +1 -1
  28. package/dist/Common/SortableTableHeaderCell/SortableTableHeaderCell.d.ts +1 -1
  29. package/dist/Common/SortableTableHeaderCell/types.d.ts +5 -0
  30. package/dist/Common/Types.d.ts +4 -4
  31. package/dist/Common/index.d.ts +1 -1
  32. package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/UserRoleGroupTableRow.d.ts +1 -1
  33. package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/types.d.ts +1 -1
  34. package/dist/Pages/GlobalConfigurations/Authorization/types.d.ts +1 -1
  35. package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraConfigForm.d.ts +1 -1
  36. package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraDescriptionField.d.ts +1 -1
  37. package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraFormAction.d.ts +1 -1
  38. package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraFormItem.d.ts +1 -1
  39. package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraProfileNameField.d.ts +1 -1
  40. package/dist/Pages/GlobalConfigurations/BuildInfra/Footer.d.ts +1 -1
  41. package/dist/Pages/GlobalConfigurations/BuildInfra/constants.d.ts +1 -1
  42. package/dist/Pages/GlobalConfigurations/BuildInfra/services.d.ts +1 -1
  43. package/dist/Pages/GlobalConfigurations/BuildInfra/types.d.ts +3 -3
  44. package/dist/Pages/GlobalConfigurations/BuildInfra/utils.d.ts +2 -0
  45. package/dist/Shared/API/APIQueuing.d.ts +11 -0
  46. package/dist/Shared/API/index.d.ts +1 -0
  47. package/dist/Shared/Components/APIResponseHandler/types.d.ts +2 -2
  48. package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/types.d.ts +1 -1
  49. package/dist/Shared/Components/CICDHistory/Sidebar.d.ts +1 -1
  50. package/dist/Shared/Components/CICDHistory/TriggerOutput.d.ts +1 -1
  51. package/dist/Shared/Components/CICDHistory/service.d.ts +1 -1
  52. package/dist/Shared/Components/CICDHistory/types.d.ts +3 -3
  53. package/dist/Shared/Components/DatePicker/DateTimePicker.d.ts +4 -0
  54. package/dist/Shared/Components/DatePicker/MonthlySelect.d.ts +3 -0
  55. package/dist/Shared/Components/DatePicker/SingleDatePickerComponent.d.ts +12 -0
  56. package/dist/Shared/Components/DatePicker/TimeSelect.d.ts +3 -0
  57. package/dist/Shared/Components/DatePicker/constants.d.ts +143 -0
  58. package/dist/Shared/Components/DatePicker/index.d.ts +7 -0
  59. package/dist/Shared/Components/DatePicker/types.d.ts +124 -0
  60. package/dist/Shared/Components/DatePicker/utils.d.ts +46 -0
  61. package/dist/Shared/Components/EnvironmentSelector/EnvironmentSelector.component.d.ts +4 -0
  62. package/dist/Shared/Components/EnvironmentSelector/constants.d.ts +5 -0
  63. package/dist/Shared/Components/EnvironmentSelector/index.d.ts +1 -0
  64. package/dist/Shared/Components/EnvironmentSelector/service.d.ts +3 -0
  65. package/dist/Shared/Components/EnvironmentSelector/types.d.ts +27 -0
  66. package/dist/Shared/Components/EnvironmentSelector/utils.d.ts +6 -0
  67. package/dist/Shared/Components/FeatureDescription/types.d.ts +1 -1
  68. package/dist/Shared/Components/Header/service.d.ts +1 -1
  69. package/dist/Shared/Components/ImageCard/types.d.ts +2 -2
  70. package/dist/Shared/Components/ImageCardAccordion/types.d.ts +2 -2
  71. package/dist/Shared/Components/ReactSelect/constants.d.ts +14 -0
  72. package/dist/Shared/Components/ReactSelect/index.d.ts +1 -0
  73. package/dist/Shared/Components/ReactSelect/utils.d.ts +4 -0
  74. package/dist/Shared/Components/ScannedByToolModal/ScannedByToolModal.d.ts +1 -1
  75. package/dist/Shared/Components/index.d.ts +2 -4
  76. package/dist/Shared/Helpers.d.ts +3 -3
  77. package/dist/Shared/Providers/UserEmailProvider/UserEmailProvider.d.ts +1 -1
  78. package/dist/Shared/Providers/types.d.ts +2 -2
  79. package/dist/Shared/Services/index.d.ts +0 -2
  80. package/dist/Shared/Services/types.d.ts +1 -1
  81. package/dist/Shared/index.d.ts +1 -0
  82. package/dist/Shared/types.d.ts +46 -4
  83. package/dist/assets/index.css +1 -1
  84. package/dist/assets/{yaml.worker-632eebb8.js → yaml.worker-9ae72aad.js} +237 -236
  85. package/dist/{cssMode-b6f0ce28.js → cssMode-dfb0d982.js} +1 -1
  86. package/dist/{freemarker2-89c73b42.js → freemarker2-d08834c8.js} +1 -1
  87. package/dist/{handlebars-7036ebc3.js → handlebars-76f68555.js} +1 -1
  88. package/dist/{html-58c5c2ae.js → html-c8c86592.js} +1 -1
  89. package/dist/{htmlMode-055f30ba.js → htmlMode-caf65bab.js} +1 -1
  90. package/dist/{index-fbb83f4c.js → index-0a351b25.js} +75307 -59851
  91. package/dist/index.js +423 -407
  92. package/dist/{javascript-af328488.js → javascript-0d05c53f.js} +1 -1
  93. package/dist/{jsonMode-451249f8.js → jsonMode-c2d78321.js} +1 -1
  94. package/dist/{liquid-83f9886e.js → liquid-5a4a3c98.js} +1 -1
  95. package/dist/{mdx-c5de7484.js → mdx-98abe49f.js} +1 -1
  96. package/dist/{python-c8f245d5.js → python-94dc2257.js} +1 -1
  97. package/dist/{razor-64a81ed9.js → razor-98cbd621.js} +1 -1
  98. package/dist/{tsMode-7279b789.js → tsMode-603375d4.js} +1 -1
  99. package/dist/{typescript-a7692d5c.js → typescript-bf86c918.js} +1 -1
  100. package/dist/{xml-d9b2bff0.js → xml-10f7c255.js} +1 -1
  101. package/dist/{yaml-a2b5d521.js → yaml-f13d0768.js} +1 -1
  102. package/package.json +3 -2
  103. package/dist/Shared/Components/ArtifactInfoModal/ArtifactInfoModal.component.d.ts +0 -4
  104. package/dist/Shared/Components/ArtifactInfoModal/index.d.ts +0 -2
  105. package/dist/Shared/Components/ArtifactInfoModal/types.d.ts +0 -15
  106. package/dist/Shared/Components/CommitChipCell/CommitChipCell.d.ts +0 -4
  107. package/dist/Shared/Components/CommitChipCell/index.d.ts +0 -2
  108. package/dist/Shared/Components/CommitChipCell/types.d.ts +0 -6
  109. package/dist/Shared/Components/ImageChipCell/ImageChipCell.component.d.ts +0 -4
  110. package/dist/Shared/Components/ImageChipCell/index.d.ts +0 -2
  111. package/dist/Shared/Components/ImageChipCell/types.d.ts +0 -9
  112. package/dist/Shared/Components/MaterialHistory/MaterialHistory.component.d.ts +0 -4
  113. package/dist/Shared/Components/MaterialHistory/index.d.ts +0 -2
  114. package/dist/Shared/Components/MaterialHistory/types.d.ts +0 -8
  115. package/dist/Shared/Services/app.service.d.ts +0 -7
  116. package/dist/Shared/Services/app.types.d.ts +0 -95
  117. package/dist/Shared/Services/utils.d.ts +0 -3
@@ -1,4 +1,4 @@
1
- import { conf as t, language as e } from "./typescript-a7692d5c.js";
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-fbb83f4c.js";
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-fbb83f4c.js";
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-fbb83f4c.js";
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-fbb83f4c.js";
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-fbb83f4c.js";
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-fbb83f4c.js";
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-fbb83f4c.js";
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-fbb83f4c.js";
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-fbb83f4c.js";
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.94-beta-4",
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,4 +0,0 @@
1
- import { ArtifactInfoModalProps } from './types';
2
-
3
- declare const ArtifactInfoModal: ({ envId, ciArtifactId, handleClose, renderCIListHeader, fetchOnlyArtifactInfo, }: ArtifactInfoModalProps) => JSX.Element;
4
- export default ArtifactInfoModal;
@@ -1,2 +0,0 @@
1
- export { default as ArtifactInfoModal } from './ArtifactInfoModal.component';
2
- export type { ArtifactInfoModalProps } from './types';
@@ -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,4 +0,0 @@
1
- import { CommitChipCellProps } from './types';
2
-
3
- declare const CommitChipCell: ({ handleClick, commits }: CommitChipCellProps) => JSX.Element;
4
- export default CommitChipCell;
@@ -1,2 +0,0 @@
1
- export { default as CommitChipCell } from './CommitChipCell';
2
- export type { CommitChipCellProps } from './types';
@@ -1,6 +0,0 @@
1
- import { SyntheticEvent } from 'react';
2
-
3
- export interface CommitChipCellProps {
4
- handleClick: (e: SyntheticEvent) => void;
5
- commits?: string[];
6
- }
@@ -1,4 +0,0 @@
1
- import { ImageChipCellProps } from './types';
2
-
3
- declare const ImageChipCell: ({ handleClick, imagePath, isExpanded, registryType }: ImageChipCellProps) => JSX.Element;
4
- export default ImageChipCell;
@@ -1,2 +0,0 @@
1
- export { default as ImageChipCell } from './ImageChipCell.component';
2
- export type { ImageChipCellProps } from './types';
@@ -1,9 +0,0 @@
1
- import { RegistryType } from '../../types';
2
- import { SyntheticEvent } from 'react';
3
-
4
- export interface ImageChipCellProps {
5
- handleClick: (e: SyntheticEvent) => void;
6
- imagePath: string;
7
- isExpanded: boolean;
8
- registryType: RegistryType;
9
- }
@@ -1,4 +0,0 @@
1
- import { MaterialHistoryProps } from './types';
2
-
3
- declare const MaterialHistory: ({ material, pipelineName, ciPipelineId, selectCommit }: MaterialHistoryProps) => JSX.Element;
4
- export default MaterialHistory;
@@ -1,2 +0,0 @@
1
- export { default as MaterialHistory } from './MaterialHistory.component';
2
- export type { MaterialHistoryProps } from './types';
@@ -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 {};
@@ -1,3 +0,0 @@
1
- import { CIMaterialInfoDTO, CIMaterialInfoType } from './app.types';
2
-
3
- export declare const getParsedCIMaterialInfo: (ciMaterialData: CIMaterialInfoDTO) => CIMaterialInfoType;