@devtron-labs/devtron-fe-common-lib 0.0.96-beta-2 → 0.0.97-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 (106) 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 +3 -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 +7 -36
  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 +3 -0
  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/Types.d.ts +4 -4
  29. package/dist/Common/index.d.ts +1 -1
  30. package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/UserRoleGroupTableRow.d.ts +1 -1
  31. package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/types.d.ts +1 -1
  32. package/dist/Pages/GlobalConfigurations/Authorization/types.d.ts +1 -1
  33. package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraConfigForm.d.ts +1 -1
  34. package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraDescriptionField.d.ts +1 -1
  35. package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraFormAction.d.ts +1 -1
  36. package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraFormItem.d.ts +1 -1
  37. package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraProfileNameField.d.ts +1 -1
  38. package/dist/Pages/GlobalConfigurations/BuildInfra/Footer.d.ts +1 -1
  39. package/dist/Pages/GlobalConfigurations/BuildInfra/constants.d.ts +1 -1
  40. package/dist/Pages/GlobalConfigurations/BuildInfra/services.d.ts +1 -1
  41. package/dist/Pages/GlobalConfigurations/BuildInfra/types.d.ts +3 -3
  42. package/dist/Shared/Components/APIResponseHandler/types.d.ts +2 -2
  43. package/dist/Shared/Components/ArtifactInfoModal/ArtifactInfoModal.component.d.ts +4 -0
  44. package/dist/Shared/Components/ArtifactInfoModal/index.d.ts +2 -0
  45. package/dist/Shared/Components/ArtifactInfoModal/types.d.ts +15 -0
  46. package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/types.d.ts +1 -1
  47. package/dist/Shared/Components/CICDHistory/Sidebar.d.ts +1 -1
  48. package/dist/Shared/Components/CICDHistory/TriggerOutput.d.ts +1 -1
  49. package/dist/Shared/Components/CICDHistory/service.d.ts +1 -1
  50. package/dist/Shared/Components/CICDHistory/types.d.ts +3 -3
  51. package/dist/Shared/Components/CommitChipCell/CommitChipCell.d.ts +4 -0
  52. package/dist/Shared/Components/CommitChipCell/index.d.ts +2 -0
  53. package/dist/Shared/Components/CommitChipCell/types.d.ts +6 -0
  54. package/dist/Shared/Components/DatePicker/DateTimePicker.d.ts +4 -0
  55. package/dist/Shared/Components/DatePicker/MonthlySelect.d.ts +3 -0
  56. package/dist/Shared/Components/DatePicker/SingleDatePickerComponent.d.ts +12 -0
  57. package/dist/Shared/Components/DatePicker/TimeSelect.d.ts +3 -0
  58. package/dist/Shared/Components/DatePicker/constants.d.ts +143 -0
  59. package/dist/Shared/Components/DatePicker/index.d.ts +7 -0
  60. package/dist/Shared/Components/DatePicker/types.d.ts +116 -0
  61. package/dist/Shared/Components/DatePicker/utils.d.ts +46 -0
  62. package/dist/Shared/Components/EnvironmentSelector/types.d.ts +2 -2
  63. package/dist/Shared/Components/EnvironmentSelector/utils.d.ts +2 -2
  64. package/dist/Shared/Components/FeatureDescription/types.d.ts +1 -1
  65. package/dist/Shared/Components/Header/service.d.ts +1 -1
  66. package/dist/Shared/Components/ImageCard/types.d.ts +2 -2
  67. package/dist/Shared/Components/ImageCardAccordion/types.d.ts +2 -2
  68. package/dist/Shared/Components/ImageChipCell/ImageChipCell.component.d.ts +4 -0
  69. package/dist/Shared/Components/ImageChipCell/index.d.ts +2 -0
  70. package/dist/Shared/Components/ImageChipCell/types.d.ts +9 -0
  71. package/dist/Shared/Components/MaterialHistory/MaterialHistory.component.d.ts +4 -0
  72. package/dist/Shared/Components/MaterialHistory/index.d.ts +2 -0
  73. package/dist/Shared/Components/MaterialHistory/types.d.ts +8 -0
  74. package/dist/Shared/Components/ReactSelect/constants.d.ts +14 -0
  75. package/dist/Shared/Components/ReactSelect/index.d.ts +1 -0
  76. package/dist/Shared/Components/ScannedByToolModal/ScannedByToolModal.d.ts +1 -1
  77. package/dist/Shared/Components/index.d.ts +5 -0
  78. package/dist/Shared/Helpers.d.ts +3 -3
  79. package/dist/Shared/Providers/UserEmailProvider/UserEmailProvider.d.ts +1 -1
  80. package/dist/Shared/Providers/types.d.ts +2 -2
  81. package/dist/Shared/Services/app.service.d.ts +7 -0
  82. package/dist/Shared/Services/app.types.d.ts +96 -0
  83. package/dist/Shared/Services/index.d.ts +2 -0
  84. package/dist/Shared/Services/types.d.ts +1 -1
  85. package/dist/Shared/Services/utils.d.ts +3 -0
  86. package/dist/Shared/types.d.ts +1 -1
  87. package/dist/assets/index.css +1 -1
  88. package/dist/assets/{yaml.worker-632eebb8.js → yaml.worker-9ae72aad.js} +237 -236
  89. package/dist/{cssMode-3a879c62.js → cssMode-062c5b85.js} +1 -1
  90. package/dist/{freemarker2-c100bd3c.js → freemarker2-07bbb999.js} +1 -1
  91. package/dist/{handlebars-49acdc0c.js → handlebars-4576d405.js} +1 -1
  92. package/dist/{html-a14c9542.js → html-1a17daac.js} +1 -1
  93. package/dist/{htmlMode-2d1abd6a.js → htmlMode-f22e8f1f.js} +1 -1
  94. package/dist/{index-7bca5b17.js → index-ac09b71e.js} +67009 -50317
  95. package/dist/index.js +439 -415
  96. package/dist/{javascript-966a9944.js → javascript-7d75d67b.js} +1 -1
  97. package/dist/{jsonMode-e1043735.js → jsonMode-644945b3.js} +1 -1
  98. package/dist/{liquid-49ca7c68.js → liquid-23193de7.js} +1 -1
  99. package/dist/{mdx-a1b5db5b.js → mdx-200250d7.js} +1 -1
  100. package/dist/{python-6837345e.js → python-86b6d698.js} +1 -1
  101. package/dist/{razor-d1b46f00.js → razor-0749b2e5.js} +1 -1
  102. package/dist/{tsMode-0e41a9db.js → tsMode-69e58d51.js} +1 -1
  103. package/dist/{typescript-166ee2dc.js → typescript-8e6c3542.js} +1 -1
  104. package/dist/{xml-c8179c9d.js → xml-42c77cc8.js} +1 -1
  105. package/dist/{yaml-0334b788.js → yaml-469a1616.js} +1 -1
  106. package/package.json +4 -2
@@ -1,5 +1,5 @@
1
- import { ResponseType, APIOptions } from './Types';
2
1
  import { MutableRefObject } from 'react';
2
+ import { ResponseType, APIOptions } from './Types';
3
3
 
4
4
  export declare const post: (url: string, data: object, options?: APIOptions, isMultipartRequest?: boolean) => Promise<ResponseType>;
5
5
  export declare const put: (url: string, data: object, options?: APIOptions) => Promise<ResponseType>;
@@ -1,5 +1,5 @@
1
- import { Breadcrumbs, UseBreadcrumbOptionalProps, UseBreadcrumbState } from './Types';
2
1
  import { default as React } from 'react';
2
+ import { Breadcrumbs, UseBreadcrumbOptionalProps, UseBreadcrumbState } from './Types';
3
3
 
4
4
  export declare const BreadcrumbContext: React.Context<any>;
5
5
  export declare function useBreadcrumb(props?: UseBreadcrumbOptionalProps, deps?: any[]): UseBreadcrumbState;
@@ -1,5 +1,7 @@
1
1
  import { default as React } from 'react';
2
+ import { BreadcrumbTextProps } from './Types';
2
3
 
4
+ export declare const BreadcrumbText: ({ heading, isActive }: BreadcrumbTextProps) => JSX.Element;
3
5
  declare const Store: ({ children }: {
4
6
  children: any;
5
7
  }) => JSX.Element;
@@ -26,3 +26,7 @@ export interface Breadcrumbs {
26
26
  className?: string;
27
27
  }
28
28
  export type UseBreadcrumbOptionalProps = UseBreadcrumbProps | null;
29
+ export interface BreadcrumbTextProps {
30
+ heading: string;
31
+ isActive?: boolean;
32
+ }
@@ -1,5 +1,5 @@
1
- import { CheckboxProps } from './Types';
2
1
  import { Component } from 'react';
2
+ import { CheckboxProps } from './Types';
3
3
 
4
4
  export declare class Checkbox extends Component<CheckboxProps> {
5
5
  render(): JSX.Element;
@@ -1,5 +1,5 @@
1
- import { CodeEditorComposition, CodeEditorInterface } from './types';
2
1
  import { default as React } from 'react';
2
+ import { CodeEditorComposition, CodeEditorInterface } from './types';
3
3
 
4
4
  declare const CodeEditor: React.FC<CodeEditorInterface> & CodeEditorComposition;
5
5
  export default CodeEditor;
@@ -1,5 +1,5 @@
1
- import { Action, CodeEditorInitialValueType, CodeEditorState, CodeEditorThemesKeys } from './types';
2
1
  import { MODES } from '../Constants';
2
+ import { Action, CodeEditorInitialValueType, CodeEditorState, CodeEditorThemesKeys } from './types';
3
3
 
4
4
  export declare const CodeEditorReducer: (state: CodeEditorState, action: Action) => {
5
5
  mode: any;
@@ -1,5 +1,5 @@
1
- import { ApiResourceType } from '../Pages';
2
1
  import { TeamList, ResponseType, DeploymentNodeType, CDMaterialServiceEnum, CDMaterialServiceQueryParams, CDMaterialResponseType, CDMaterialFilterQuery, EnvironmentListHelmResponse } from './Types';
2
+ import { ApiResourceType } from '../Pages';
3
3
 
4
4
  export declare const getTeamListMin: () => Promise<TeamList>;
5
5
  interface UserRole extends ResponseType {
@@ -3,6 +3,7 @@ import { RegistryTypeDetailType } from './Types';
3
3
  export declare const FALLBACK_REQUEST_TIMEOUT = 60000;
4
4
  export declare const Host: string;
5
5
  export declare const DOCUMENTATION_HOME_PAGE = "https://docs.devtron.ai";
6
+ export declare const DOCUMENTATION_VERSION = "/v/v0.7";
6
7
  export declare const DISCORD_LINK = "https://discord.devtron.ai/";
7
8
  export declare const DOCUMENTATION: {
8
9
  APP_TAGS: string;
@@ -209,9 +210,6 @@ export declare enum FREQUENCY_ENUM {
209
210
  YEARLY = "YEARLY",
210
211
  WEEKLY_RANGE = "WEEKLY_RANGE"
211
212
  }
212
- export declare const TIME_FORMAT: {
213
- DD_MMM_YYYY_HH_MM: string;
214
- };
215
213
  export declare function getOrdinal(number: any): string;
216
214
  export declare const TIME_HOUR_SUFFIX_FOR_12_HOUR_FORMAT: {
217
215
  AM: string;
@@ -259,4 +257,6 @@ export declare const DATE_TIME_FORMATS: {
259
257
  TWELVE_HOURS_FORMAT: string;
260
258
  TWELVE_HOURS_FORMAT_WITHOUT_WEEKDAY: string;
261
259
  TWELVE_HOURS_EXPORT_FORMAT: string;
260
+ DD_MMM_YYYY_HH_MM: string;
261
+ DD_MMM_YYYY: string;
262
262
  };
@@ -1,5 +1,5 @@
1
- import { OptionType } from '../Types';
2
1
  import { KEY_VALUE } from '../Constants';
2
+ import { OptionType } from '../Types';
3
3
 
4
4
  export interface SuggestedTagOptionType extends OptionType {
5
5
  description: string;
@@ -1,5 +1,5 @@
1
- import { DeleteDialogProps } from './Types';
2
1
  import { default as React } from 'react';
2
+ import { DeleteDialogProps } from './Types';
3
3
 
4
4
  export declare const DeleteDialog: React.FC<DeleteDialogProps> & {
5
5
  Description?: React.FC<any>;
@@ -1,5 +1,5 @@
1
- import { DialogFormProps } from './Types';
2
1
  import { Component } from 'react';
2
+ import { DialogFormProps } from './Types';
3
3
 
4
4
  export declare class DialogForm extends Component<DialogFormProps> {
5
5
  constructor(props: any);
@@ -1,6 +1,6 @@
1
- import { scrollableInterface } from '../Shared';
2
- import { AsyncOptions, UseSearchString } from './Types';
3
1
  import { default as React, SyntheticEvent } from 'react';
2
+ import { AsyncOptions, UseSearchString } from './Types';
3
+ import { scrollableInterface } from '../Shared';
4
4
 
5
5
  export declare function showError(serverError: any, showToastOnUnknownError?: boolean, hideAccessError?: boolean): void;
6
6
  interface ConditionalWrapper<T> {
@@ -60,40 +60,11 @@ export declare const customStyles: {
60
60
  dropdownIndicator: (base: any, state: any) => any;
61
61
  };
62
62
  export declare const getFilteredChartVersions: (charts: any, selectedChartType: any) => any;
63
- /**
64
- * Removes nulls from the arrays in the provided object
65
- * @param {object} object from which we need to delete nulls in its arrays
66
- * @returns object after removing (in-place) the null items in arrays
67
- */
68
- export declare const recursivelyRemoveNullsFromArraysInObject: (object: object) => object;
69
- /**
70
- * Merges the objects into one object
71
- * @param {object[]} objects list of js objects
72
- * @returns object after the merge
73
- */
74
- export declare const joinObjects: (objects: object[]) => {};
75
- /**
76
- * Builds an object from the provided path
77
- * @param {string} path JSON pointer path of the form /path/to/1/...
78
- * @param {any} value property value
79
- * @returns final object formed from the path
80
- */
81
- export declare const buildObjectFromPath: (path: string, value: any) => any;
82
- /**
83
- * Returns the list of indices at which the regex matched
84
- * @param string the string to process
85
- * @param regex @RegExp
86
- * @returns array of indices where the @regex matched in @string
87
- */
88
- export declare const getRegexMatchPositions: (string: string, regex: RegExp) => number[];
89
- /**
90
- * Returns all the substrings from 0th index to progressively next regex match position
91
- * Eg. Suppose a string is /path/to/folder then it will return [/path, /path/to, /path/to/folder]
92
- * @param strings list of strings
93
- * @param regex that matches the separators for the substrings
94
- * @returns set of substrings
95
- */
96
- export declare const powerSetOfSubstringsFromStart: (strings: string[], regex: RegExp) => string[];
63
+ export declare function getUnlockedJSON(json: any, jsonPathArray: any, removeParentKeysAndEmptyArrays?: boolean): {
64
+ newDocument: any;
65
+ removedPatches: any[];
66
+ };
67
+ export declare function getLockedJSON(json: any, jsonPathArray: string[]): any;
97
68
  /**
98
69
  * Returns a debounced variant of the function
99
70
  */
@@ -2,5 +2,8 @@ import { UseUrlFiltersProps, UseUrlFiltersReturnType } from '../useUrlFilters';
2
2
 
3
3
  export interface UseStateFiltersProps<T> extends Pick<UseUrlFiltersProps<T, never>, 'initialSortKey'> {
4
4
  }
5
- export interface UseStateFiltersReturnType<T> extends Pick<UseUrlFiltersReturnType<T>, 'sortBy' | 'sortOrder' | 'handleSorting' | 'clearFilters' | 'searchKey' | 'handleSearch'> {
5
+ export interface UseStateFiltersReturnType<T> extends Pick<UseUrlFiltersReturnType<T>, 'sortBy' | 'sortOrder' | 'handleSorting' | 'clearFilters' | 'changePage' | 'changePageSize' | 'offset' | 'pageSize' | 'searchKey' | 'handleSearch'> {
6
+ }
7
+ export interface PaginationType<T> extends Pick<UseUrlFiltersReturnType<T>, 'pageSize'> {
8
+ pageNumber: number;
6
9
  }
@@ -1,5 +1,5 @@
1
- import { ModalType } from '../Types';
2
1
  import { default as React } from 'react';
2
+ import { ModalType } from '../Types';
3
3
 
4
4
  /**
5
5
  * @deprecated Use VisibleModal instead
@@ -2,7 +2,15 @@ import { default as React } from 'react';
2
2
 
3
3
  export declare const Option: (props: any) => JSX.Element;
4
4
  export declare const SingleSelectOption: (props: any) => JSX.Element;
5
+ /**
6
+ * Multi value container
7
+ */
5
8
  export declare const MultiValueContainer: (props: any) => JSX.Element;
9
+ /**
10
+ *
11
+ * Multi value container with count
12
+ */
13
+ export declare const MultiValueContainerWithCount: (props: any) => JSX.Element;
6
14
  export declare const ClearIndicator: (props: any) => JSX.Element;
7
15
  export declare const MultiValueRemove: (props: any) => JSX.Element;
8
16
  export declare const MultiValueChipContainer: ({ validator, isAllSelected, ...props }: {
@@ -1,5 +1,5 @@
1
- import { ResponseType } from './Types';
2
1
  import { VariableType } from './CIPipeline.Types';
2
+ import { ResponseType } from './Types';
3
3
 
4
4
  export declare enum ApplyPolicyToStage {
5
5
  PRE_CI = "PRE_CI",
@@ -1,5 +1,5 @@
1
- import { FormProps } from './types';
2
1
  import { RegistryWidgetsType } from '@rjsf/utils';
2
+ import { FormProps } from './types';
3
3
 
4
4
  export declare const widgets: RegistryWidgetsType;
5
5
  export declare const templates: FormProps['templates'];
@@ -1,4 +1,4 @@
1
- import { default as RJSFForm } from '@rjsf/core';
2
1
  import { ComponentProps } from 'react';
2
+ import { default as RJSFForm } from '@rjsf/core';
3
3
 
4
4
  export type FormProps = Omit<ComponentProps<typeof RJSFForm>, 'validator'>;
@@ -1,5 +1,5 @@
1
- import { default as Tippy } from '@tippyjs/react';
2
1
  import { TranslatableString } from '@rjsf/utils';
2
+ import { default as Tippy } from '@tippyjs/react';
3
3
 
4
4
  /**
5
5
  * Override for the TranslatableString from RJSF
@@ -1,5 +1,5 @@
1
- import { RadioGroupComposition, RadioGroupInterface } from '../Types';
2
1
  import { default as React } from 'react';
2
+ import { RadioGroupComposition, RadioGroupInterface } from '../Types';
3
3
 
4
4
  declare const RadioGroup: React.FC<RadioGroupInterface> & RadioGroupComposition;
5
5
  export default RadioGroup;
@@ -1,3 +1,6 @@
1
1
  import { ReloadType } from './Types';
2
2
 
3
+ /**
4
+ * @deprecated Use APIResponseHandler (Preferred) or error screen manager instead
5
+ */
3
6
  export default function Reload({ reload, className, heightToDeduct }: ReloadType): JSX.Element;
@@ -1,4 +1,4 @@
1
- import { ResizableTextareaProps } from './Types';
2
1
  import { default as React } from 'react';
2
+ import { ResizableTextareaProps } from './Types';
3
3
 
4
4
  export declare const ResizableTextarea: React.FC<ResizableTextareaProps>;
@@ -34,5 +34,5 @@ import { SearchBarProps } from './types';
34
34
  * <SearchBar inputProps={{ placeholder: 'Enter search text' }} />
35
35
  * ```
36
36
  */
37
- declare const SearchBar: ({ initialSearchText, handleSearchChange, handleEnter, inputProps, containerClassName, shouldDebounce, debounceTimeout, noBackgroundAndBorder, }: SearchBarProps) => JSX.Element;
37
+ declare const SearchBar: ({ initialSearchText, handleSearchChange, handleEnter, inputProps, containerClassName, shouldDebounce, debounceTimeout, dataTestId, noBackgroundAndBorder, }: SearchBarProps) => JSX.Element;
38
38
  export default SearchBar;
@@ -32,6 +32,10 @@ export interface SearchBarProps {
32
32
  * Timeout for the debounce handler to be triggered
33
33
  */
34
34
  debounceTimeout?: number;
35
+ /**
36
+ * Data test id for the search input
37
+ */
38
+ dataTestId?: string;
35
39
  /**
36
40
  * Hide the background and border of the search
37
41
  */
@@ -1,5 +1,5 @@
1
- import { SegmentedBarChartProps } from './types';
2
1
  import { default as React } from 'react';
2
+ import { SegmentedBarChartProps } from './types';
3
3
 
4
4
  declare const SegmentedBarChart: React.FC<SegmentedBarChartProps>;
5
5
  export default SegmentedBarChart;
@@ -1,5 +1,5 @@
1
- import { SelectComposition, SelectProps } from './types';
2
1
  import { default as React } from 'react';
2
+ import { SelectComposition, SelectProps } from './types';
3
3
 
4
4
  declare const Select: React.FC<SelectProps> & SelectComposition;
5
5
  export default Select;
@@ -1,8 +1,8 @@
1
- import { RegistryType } from '../Shared';
2
- import { ACTION_STATE, DEPLOYMENT_WINDOW_TYPE, DockerConfigOverrideType, SortingOrder, TaskErrorObj } from '.';
3
- import { ImageComment, ReleaseTag } from './ImageTags.Types';
4
- import { Placement } from 'tippy.js';
5
1
  import { default as React, ReactNode, CSSProperties } from 'react';
2
+ import { Placement } from 'tippy.js';
3
+ import { ImageComment, ReleaseTag } from './ImageTags.Types';
4
+ import { ACTION_STATE, DEPLOYMENT_WINDOW_TYPE, DockerConfigOverrideType, SortingOrder, TaskErrorObj } from '.';
5
+ import { RegistryType } from '../Shared';
6
6
 
7
7
  /**
8
8
  * Generic response type object with support for overriding the result type
@@ -13,7 +13,7 @@ export * from './Modals/Modal';
13
13
  export * from './Modals/VisibleModal';
14
14
  export * from './Modals/VisibleModal2';
15
15
  export { BreadCrumb, useBreadcrumb } from './BreadCrumb/BreadCrumb';
16
- export { default as BreadcrumbStore } from './BreadCrumb/BreadcrumbStore';
16
+ export { default as BreadcrumbStore, BreadcrumbText } from './BreadCrumb/BreadcrumbStore';
17
17
  export { default as RadioGroup } from './RadioGroup';
18
18
  export { default as RadioGroupItem } from './RadioGroupItem';
19
19
  export { default as PopupMenu } from './PopupMenu';
@@ -1,5 +1,5 @@
1
- import { UserRoleGroup } from '../../../types';
2
1
  import { UserRoleGroupsTableProps } from './types';
2
+ import { UserRoleGroup } from '../../../types';
3
3
 
4
4
  declare const UserRoleGroupTableRow: ({ id, name, description, status, timeToLive, modifierClassName, disableStatusComponent, handleStatusUpdate, handleDelete, statusComponent: StatusComponent, showStatus, showDelete, }: UserRoleGroup & Pick<UserRoleGroupsTableProps, "disableStatusComponent" | "handleStatusUpdate" | "handleDelete" | "statusComponent" | "showStatus"> & {
5
5
  modifierClassName: string;
@@ -1,5 +1,5 @@
1
- import { UserRoleGroup } from '../../../types';
2
1
  import { FC } from 'react';
2
+ import { UserRoleGroup } from '../../../types';
3
3
 
4
4
  export type UserRoleGroupsTableProps = {
5
5
  roleGroups: UserRoleGroup[];
@@ -1,5 +1,5 @@
1
- import { UserListSortableKeys, UserStatus } from './constants';
2
1
  import { SortingParams } from '../../../Common';
2
+ import { UserListSortableKeys, UserStatus } from './constants';
3
3
 
4
4
  export type BaseFilterQueryParams<T> = {
5
5
  /**
@@ -1,5 +1,5 @@
1
- import { BuildInfraConfigFormProps } from './types';
2
1
  import { FunctionComponent } from 'react';
2
+ import { BuildInfraConfigFormProps } from './types';
3
3
 
4
4
  declare const BuildInfraConfigForm: FunctionComponent<BuildInfraConfigFormProps>;
5
5
  export default BuildInfraConfigForm;
@@ -1,5 +1,5 @@
1
- import { BuildInfraInputFieldComponentProps } from './types';
2
1
  import { FunctionComponent } from 'react';
2
+ import { BuildInfraInputFieldComponentProps } from './types';
3
3
 
4
4
  declare const BuildInfraProfileDescriptionField: FunctionComponent<BuildInfraInputFieldComponentProps>;
5
5
  export default BuildInfraProfileDescriptionField;
@@ -1,5 +1,5 @@
1
- import { BuildInfraFormActionProps } from './types';
2
1
  import { FunctionComponent } from 'react';
2
+ import { BuildInfraFormActionProps } from './types';
3
3
 
4
4
  /**
5
5
  * In case need arise for variants break this CustomInput and Select as a separate component
@@ -1,5 +1,5 @@
1
- import { BuildInfraFormItemProps } from './types';
2
1
  import { FunctionComponent } from 'react';
2
+ import { BuildInfraFormItemProps } from './types';
3
3
 
4
4
  declare const BuildInfraFormItem: FunctionComponent<BuildInfraFormItemProps>;
5
5
  export default BuildInfraFormItem;
@@ -1,5 +1,5 @@
1
- import { BuildInfraInputFieldComponentProps } from './types';
2
1
  import { FunctionComponent } from 'react';
2
+ import { BuildInfraInputFieldComponentProps } from './types';
3
3
 
4
4
  declare const BuildInfraProfileNameField: FunctionComponent<BuildInfraInputFieldComponentProps>;
5
5
  export default BuildInfraProfileNameField;
@@ -1,5 +1,5 @@
1
- import { FooterProps } from './types';
2
1
  import { FunctionComponent } from 'react';
2
+ import { FooterProps } from './types';
3
3
 
4
4
  declare const Footer: FunctionComponent<FooterProps>;
5
5
  export default Footer;
@@ -1,5 +1,5 @@
1
- import { BuildInfraFormFieldType, BuildInfraMetaConfigTypes, ProfileInputErrorType, BuildInfraProfileBase, HandleProfileInputChangeType } from './types';
2
1
  import { UseBreadcrumbProps } from '../../../Common/BreadCrumb/Types';
2
+ import { BuildInfraFormFieldType, BuildInfraMetaConfigTypes, ProfileInputErrorType, BuildInfraProfileBase, HandleProfileInputChangeType } from './types';
3
3
 
4
4
  export declare const BUILD_INFRA_INPUT_CONSTRAINTS: {
5
5
  readonly STEP: "any";
@@ -1,5 +1,5 @@
1
- import { BuildInfraProfileResponseType, BuildInfraProfileTransformerType, CreateBuildInfraProfileType, GetBuildInfraProfileType, UpdateBuildInfraProfileType } from './types';
2
1
  import { ResponseType } from '../../../Common';
2
+ import { BuildInfraProfileResponseType, BuildInfraProfileTransformerType, CreateBuildInfraProfileType, GetBuildInfraProfileType, UpdateBuildInfraProfileType } from './types';
3
3
 
4
4
  export declare const getTransformedBuildInfraProfileResponse: ({ configurationUnits, defaultConfigurations, profile, fromCreateView, }: BuildInfraProfileTransformerType) => BuildInfraProfileResponseType;
5
5
  export declare const getBuildInfraProfileByName: ({ name, fromCreateView, }: GetBuildInfraProfileType) => Promise<BuildInfraProfileResponseType>;
@@ -1,7 +1,7 @@
1
- import { ServerErrors } from '../../../Common';
2
- import { ValidationResponseType } from '../../../Shared';
3
- import { Breadcrumb } from '../../../Common/BreadCrumb/Types';
4
1
  import { FormEvent, FunctionComponent, ReactNode } from 'react';
2
+ import { Breadcrumb } from '../../../Common/BreadCrumb/Types';
3
+ import { ValidationResponseType } from '../../../Shared';
4
+ import { ServerErrors } from '../../../Common';
5
5
 
6
6
  /**
7
7
  * Unique actions that will be dispatched and,
@@ -1,6 +1,6 @@
1
- import { GenericSectionErrorStateProps } from '../GenericSectionErrorState/types';
2
- import { ErrorScreenManagerProps, GenericEmptyStateType, ProgressingProps, ReloadType, ServerErrors } from '../../../Common';
3
1
  import { ReactNode } from 'react';
2
+ import { ErrorScreenManagerProps, GenericEmptyStateType, ProgressingProps, ReloadType, ServerErrors } from '../../../Common';
3
+ import { GenericSectionErrorStateProps } from '../GenericSectionErrorState/types';
4
4
 
5
5
  export interface EmptyPageTextType {
6
6
  title?: GenericEmptyStateType['title'];
@@ -0,0 +1,4 @@
1
+ import { ArtifactInfoModalProps } from './types';
2
+
3
+ declare const ArtifactInfoModal: ({ envId, ciArtifactId, handleClose, renderCIListHeader, fetchOnlyArtifactInfo, }: ArtifactInfoModalProps) => JSX.Element;
4
+ export default ArtifactInfoModal;
@@ -0,0 +1,2 @@
1
+ export { default as ArtifactInfoModal } from './ArtifactInfoModal.component';
2
+ export type { ArtifactInfoModalProps } from './types';
@@ -0,0 +1,15 @@
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,5 +1,5 @@
1
- import { DeploymentTemplateList, RunSourceType, RenderRunSourceType } from '../types';
2
1
  import { OptionType } from '../../../../Common';
2
+ import { DeploymentTemplateList, RunSourceType, RenderRunSourceType } from '../types';
3
3
 
4
4
  export interface DeploymentHistoryParamsType {
5
5
  appId: string;
@@ -1,5 +1,5 @@
1
- import { SidebarType } from './types';
2
1
  import { default as React } from 'react';
2
+ import { SidebarType } from './types';
3
3
 
4
4
  declare const Sidebar: React.MemoExoticComponent<({ type, filterOptions, triggerHistory, hasMore, setPagination, fetchIdData, handleViewAllHistory, children, renderRunSource, resourceId, }: SidebarType) => JSX.Element>;
5
5
  export default Sidebar;
@@ -1,5 +1,5 @@
1
- import { TriggerDetailsType, TriggerOutputProps } from './types';
2
1
  import { default as React } from 'react';
2
+ import { TriggerDetailsType, TriggerOutputProps } from './types';
3
3
 
4
4
  export declare const TriggerDetails: React.MemoExoticComponent<({ status, startedOn, finishedOn, triggeredBy, triggeredByEmail, ciMaterials, gitTriggers, message, podStatus, type, stage, artifact, environmentName, isJobView, workerPodName, triggerMetadata, renderDeploymentHistoryTriggerMetaText, }: TriggerDetailsType) => JSX.Element>;
5
5
  declare const TriggerOutput: ({ fullScreenView, triggerHistory, setTriggerHistory, setFullScreenView, setDeploymentHistoryList, deploymentHistoryList, deploymentAppType, isBlobStorageConfigured, appReleaseTags, tagsEditable, hideImageTaggingHardDelete, fetchIdData, setFetchTriggerIdData, selectedEnvironmentName, deploymentHistoryResult, renderRunSource, renderCIListHeader, renderDeploymentApprovalInfo, processVirtualEnvironmentDeploymentData, renderVirtualHistoryArtifacts, renderDeploymentHistoryTriggerMetaText, resourceId, }: TriggerOutputProps) => JSX.Element;
@@ -1,5 +1,5 @@
1
- import { DeploymentConfigurationsRes, DeploymentHistoryDetail, DeploymentHistoryDetailRes, DeploymentHistoryResult, DeploymentHistorySingleValue, DeploymentStatusDetailsResponse, HistoryDiffSelectorRes, ModuleConfigResponse, TriggerDetailsResponseType, TriggerHistoryParamsType } from './types';
2
1
  import { ResponseType } from '../../../Common';
2
+ import { DeploymentConfigurationsRes, DeploymentHistoryDetail, DeploymentHistoryDetailRes, DeploymentHistoryResult, DeploymentHistorySingleValue, DeploymentStatusDetailsResponse, HistoryDiffSelectorRes, ModuleConfigResponse, TriggerDetailsResponseType, TriggerHistoryParamsType } from './types';
3
3
 
4
4
  export declare function getTriggerDetails({ appId, envId, pipelineId, triggerId, fetchIdData, }: {
5
5
  appId: any;
@@ -1,7 +1,7 @@
1
- import { AggregationKeys, GitTriggers, Node, NodeType, ResourceKindType, ResourceVersionType } from '../../types';
2
- import { DeploymentStageType } from '../../constants';
3
- import { OptionType, UserApprovalMetadataType, ReleaseTag, ImageComment, PromotionApprovalMetadataType, FilterConditionsListType, DeploymentAppTypes, ResponseType, PaginationProps } from '../../../Common';
4
1
  import { CSSProperties } from 'react';
2
+ import { OptionType, UserApprovalMetadataType, ReleaseTag, ImageComment, PromotionApprovalMetadataType, FilterConditionsListType, DeploymentAppTypes, ResponseType, PaginationProps } from '../../../Common';
3
+ import { DeploymentStageType } from '../../constants';
4
+ import { AggregationKeys, GitTriggers, Node, NodeType, ResourceKindType, ResourceVersionType } from '../../types';
5
5
 
6
6
  export declare enum HistoryComponentType {
7
7
  CI = "CI",
@@ -0,0 +1,4 @@
1
+ import { CommitChipCellProps } from './types';
2
+
3
+ declare const CommitChipCell: ({ handleClick, commits }: CommitChipCellProps) => JSX.Element;
4
+ export default CommitChipCell;
@@ -0,0 +1,2 @@
1
+ export { default as CommitChipCell } from './CommitChipCell';
2
+ export type { CommitChipCellProps } from './types';
@@ -0,0 +1,6 @@
1
+ import { SyntheticEvent } from 'react';
2
+
3
+ export interface CommitChipCellProps {
4
+ handleClick: (e: SyntheticEvent) => void;
5
+ commits?: string[];
6
+ }
@@ -0,0 +1,4 @@
1
+ import { DateTimePickerProps } from './types';
2
+
3
+ declare const DateTimePicker: ({ date: dateObject, onChange, timePickerProps, disabled, id, label, required, hideTimeSelect, readOnly, isTodayBlocked, dataTestIdForTime, dataTestidForDate, }: DateTimePickerProps) => JSX.Element;
4
+ export default DateTimePicker;
@@ -0,0 +1,3 @@
1
+ import { MonthlySelectProps } from './types';
2
+
3
+ export declare const MonthlySelect: ({ selectedMonthlyDate, onChange, dataTestId, }: MonthlySelectProps) => JSX.Element;
@@ -0,0 +1,12 @@
1
+ import { SingleDatePickerProps } from './types';
2
+
3
+ /**
4
+ *
5
+ * @param date Date value to be displayed
6
+ * @param handleDatesChange Function to handle date change
7
+ * @param readOnly Value to make date picker read only
8
+ * @param isTodayBlocked Value to block today's date
9
+ * @returns
10
+ */
11
+ declare const SingleDatePickerComponent: ({ date, handleDatesChange, readOnly, isTodayBlocked, displayFormat, dataTestId, }: SingleDatePickerProps) => JSX.Element;
12
+ export default SingleDatePickerComponent;
@@ -0,0 +1,3 @@
1
+ import { TimeSelectProps } from './types';
2
+
3
+ export declare const TimePickerSelect: ({ disabled, onChange, timePickerProps, error, selectedTimeOption, }: TimeSelectProps) => JSX.Element;