@devtron-labs/devtron-fe-common-lib 0.0.87 → 0.0.88-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/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 -3
- 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/common/FieldRow.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/RadioGroup/RadioGroup.d.ts +1 -1
- 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 +6 -5
- 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/DateSelect.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 +122 -0
- package/dist/Shared/Components/DatePicker/index.d.ts +4 -0
- package/dist/Shared/Components/DatePicker/types.d.ts +58 -0
- package/dist/Shared/Components/DatePicker/utils.d.ts +47 -0
- package/dist/Shared/Components/FeatureDescription/FeatureDescriptionModal.d.ts +3 -0
- package/dist/Shared/Components/FeatureDescription/FeatureTitleWithInfo.d.ts +4 -0
- package/dist/Shared/Components/FeatureDescription/constant.d.ts +8 -0
- package/dist/Shared/Components/FeatureDescription/index.d.ts +2 -0
- package/dist/Shared/Components/FeatureDescription/types.d.ts +19 -0
- package/dist/Shared/Components/FeatureDescription/utils.d.ts +6 -0
- 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 -0
- package/dist/Shared/Helpers.d.ts +2 -2
- package/dist/Shared/Providers/UserEmailProvider/UserEmailProvider.d.ts +6 -0
- package/dist/Shared/Providers/UserEmailProvider/index.d.ts +2 -0
- package/dist/Shared/Providers/UserEmailProvider/types.d.ts +5 -0
- package/dist/Shared/Providers/index.d.ts +1 -0
- package/dist/Shared/Providers/types.d.ts +2 -2
- package/dist/Shared/types.d.ts +1 -1
- package/dist/assets/index.css +1 -1
- package/dist/assets/{yaml.worker-cc1a551a.js → yaml.worker-23754585.js} +28 -28
- package/dist/{cssMode-63d9bd89.js → cssMode-737c2ae4.js} +1 -1
- package/dist/{freemarker2-c9e6bf9d.js → freemarker2-8fa6ffb9.js} +1 -1
- package/dist/{handlebars-c42d536d.js → handlebars-446e0789.js} +1 -1
- package/dist/{html-7321fa0e.js → html-fd748031.js} +1 -1
- package/dist/{htmlMode-b76e1633.js → htmlMode-3ded316b.js} +1 -1
- package/dist/{index-c805c847.js → index-894b7670.js} +65486 -50242
- package/dist/index.js +396 -385
- package/dist/{javascript-70a74eed.js → javascript-12c768f4.js} +1 -1
- package/dist/{jsonMode-3116eac3.js → jsonMode-3d012233.js} +1 -1
- package/dist/{liquid-a735aa52.js → liquid-fd922791.js} +1 -1
- package/dist/{mdx-a32983e7.js → mdx-5e8fa3a5.js} +1 -1
- package/dist/{python-e6b65f83.js → python-c82dbf5c.js} +1 -1
- package/dist/{razor-a3f06242.js → razor-e8be9cf0.js} +1 -1
- package/dist/{tsMode-38fdbf53.js → tsMode-029b3084.js} +1 -1
- package/dist/{typescript-e547feb1.js → typescript-f5b8955d.js} +1 -1
- package/dist/{xml-6a016af6.js → xml-7b502d63.js} +1 -1
- package/dist/{yaml-b0c851ba.js → yaml-f7bc54f5.js} +1 -1
- package/package.json +11 -3
package/dist/Common/Api.d.ts
CHANGED
|
@@ -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;
|
|
@@ -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 {
|
package/dist/Common/Helper.d.ts
CHANGED
|
@@ -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> {
|
|
@@ -22,7 +22,6 @@ export declare const refresh: () => void;
|
|
|
22
22
|
export declare const reportIssue: () => void;
|
|
23
23
|
export declare function useEffectAfterMount(cb: any, dependencies: any): void;
|
|
24
24
|
export declare function getCookie(sKey: any): string;
|
|
25
|
-
export declare function getLoginInfo(): any;
|
|
26
25
|
export declare function useForm(stateSchema: any, validationSchema: {}, callback: any): {
|
|
27
26
|
state: any;
|
|
28
27
|
disable: boolean;
|
|
@@ -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'> {
|
|
5
|
+
export interface UseStateFiltersReturnType<T> extends Pick<UseUrlFiltersReturnType<T>, 'sortBy' | 'sortOrder' | 'handleSorting' | 'clearFilters' | 'changePage' | 'changePageSize' | 'offset' | 'pageSize'> {
|
|
6
|
+
}
|
|
7
|
+
export interface PaginationType<T> extends Pick<UseUrlFiltersReturnType<T>, 'pageSize'> {
|
|
8
|
+
pageNumber: number;
|
|
6
9
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ModalType } from '../Types';
|
|
2
1
|
import { default as React } from 'react';
|
|
2
|
+
import { ModalType } from '../Types';
|
|
3
3
|
|
|
4
4
|
export declare const Modal: ({ style, children, modal, rootClassName, onClick, callbackRef, preventWheelDisable, noBackDrop, }: ModalType) => React.ReactPortal;
|
|
@@ -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 { DO_NOT_SHOW_LABEL } from '../constants';
|
|
2
1
|
import { FieldRowProps } from './types';
|
|
2
|
+
import { DO_NOT_SHOW_LABEL } from '../constants';
|
|
3
3
|
|
|
4
4
|
export declare const FieldRowWithLabel: ({ showLabel, label, required, children, id, shouldAlignCenter, }: Omit<FieldRowProps, "label"> & {
|
|
5
5
|
label: FieldRowProps['label'] | typeof DO_NOT_SHOW_LABEL;
|
|
@@ -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;
|
|
@@ -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
|
*/
|
package/dist/Common/Types.d.ts
CHANGED
|
@@ -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
|
|
@@ -140,7 +140,8 @@ export interface ErrorScreenNotAuthorizedProps {
|
|
|
140
140
|
}
|
|
141
141
|
export declare enum ImageType {
|
|
142
142
|
Large = "large",
|
|
143
|
-
Medium = "medium"
|
|
143
|
+
Medium = "medium",
|
|
144
|
+
SMALL = "small"
|
|
144
145
|
}
|
|
145
146
|
export interface InfoColourBarType {
|
|
146
147
|
message: React.ReactNode;
|
package/dist/Common/index.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export * from './Modals/OpaqueModal';
|
|
|
14
14
|
export * from './Modals/VisibleModal';
|
|
15
15
|
export * from './Modals/VisibleModal2';
|
|
16
16
|
export { BreadCrumb, useBreadcrumb } from './BreadCrumb/BreadCrumb';
|
|
17
|
-
export { default as BreadcrumbStore } from './BreadCrumb/BreadcrumbStore';
|
|
17
|
+
export { default as BreadcrumbStore, BreadcrumbText } from './BreadCrumb/BreadcrumbStore';
|
|
18
18
|
export { default as RadioGroup } from './RadioGroup';
|
|
19
19
|
export { default as RadioGroupItem } from './RadioGroupItem';
|
|
20
20
|
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 { 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 { 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 { 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'];
|
|
@@ -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,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 }: SingleDatePickerProps) => JSX.Element;
|
|
12
|
+
export default SingleDatePickerComponent;
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
export declare const customDayStyles: {
|
|
2
|
+
selectedStartStyles: {
|
|
3
|
+
background: string;
|
|
4
|
+
color: string;
|
|
5
|
+
hover: {
|
|
6
|
+
background: string;
|
|
7
|
+
color: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
selectedEndStyles: {
|
|
11
|
+
background: string;
|
|
12
|
+
color: string;
|
|
13
|
+
hover: {
|
|
14
|
+
background: string;
|
|
15
|
+
color: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
hoveredSpanStyles: {
|
|
19
|
+
background: string;
|
|
20
|
+
color: string;
|
|
21
|
+
};
|
|
22
|
+
selectedSpanStyles: {
|
|
23
|
+
background: string;
|
|
24
|
+
color: string;
|
|
25
|
+
hover: {
|
|
26
|
+
background: string;
|
|
27
|
+
color: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
selectedStyles: {
|
|
31
|
+
background: string;
|
|
32
|
+
color: string;
|
|
33
|
+
hover: {
|
|
34
|
+
background: string;
|
|
35
|
+
color: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
border: string;
|
|
39
|
+
};
|
|
40
|
+
export declare const MONTHLY_DATES_CONFIG: {
|
|
41
|
+
'Day 1': string;
|
|
42
|
+
'Day 2': string;
|
|
43
|
+
'Day 3': string;
|
|
44
|
+
'Day 4': string;
|
|
45
|
+
'Day 5': string;
|
|
46
|
+
'Day 6': string;
|
|
47
|
+
'Day 7': string;
|
|
48
|
+
'Day 8': string;
|
|
49
|
+
'Day 9': string;
|
|
50
|
+
'Day 10': string;
|
|
51
|
+
'Day 11': string;
|
|
52
|
+
'Day 12': string;
|
|
53
|
+
'Day 13': string;
|
|
54
|
+
'Day 14': string;
|
|
55
|
+
'Day 15': string;
|
|
56
|
+
'Day 16': string;
|
|
57
|
+
'Day 17': string;
|
|
58
|
+
'Day 18': string;
|
|
59
|
+
'Day 19': string;
|
|
60
|
+
'Day 20': string;
|
|
61
|
+
'Day 21': string;
|
|
62
|
+
'Day 22': string;
|
|
63
|
+
'Day 23': string;
|
|
64
|
+
'Day 24': string;
|
|
65
|
+
'Day 25': string;
|
|
66
|
+
'Day 26': string;
|
|
67
|
+
'Day 27': string;
|
|
68
|
+
'Day 28': string;
|
|
69
|
+
'Third Last Day': string;
|
|
70
|
+
'Second Last Day': string;
|
|
71
|
+
'Last Day': string;
|
|
72
|
+
};
|
|
73
|
+
export declare const TIME_OPTIONS_CONFIG: {
|
|
74
|
+
'12:00 AM': string;
|
|
75
|
+
'12:30 AM': string;
|
|
76
|
+
'01:00 AM': string;
|
|
77
|
+
'01:30 AM': string;
|
|
78
|
+
'02:00 AM': string;
|
|
79
|
+
'02:30 AM': string;
|
|
80
|
+
'03:00 AM': string;
|
|
81
|
+
'03:30 AM': string;
|
|
82
|
+
'04:00 AM': string;
|
|
83
|
+
'04:30 AM': string;
|
|
84
|
+
'05:00 AM': string;
|
|
85
|
+
'05:30 AM': string;
|
|
86
|
+
'06:00 AM': string;
|
|
87
|
+
'06:30 AM': string;
|
|
88
|
+
'07:00 AM': string;
|
|
89
|
+
'07:30 AM': string;
|
|
90
|
+
'08:00 AM': string;
|
|
91
|
+
'08:30 AM': string;
|
|
92
|
+
'09:00 AM': string;
|
|
93
|
+
'09:30 AM': string;
|
|
94
|
+
'10:00 AM': string;
|
|
95
|
+
'10:30 AM': string;
|
|
96
|
+
'11:00 AM': string;
|
|
97
|
+
'11:30 AM': string;
|
|
98
|
+
'12:00 PM': string;
|
|
99
|
+
'12:30 PM': string;
|
|
100
|
+
'01:00 PM': string;
|
|
101
|
+
'01:30 PM': string;
|
|
102
|
+
'02:00 PM': string;
|
|
103
|
+
'02:30 PM': string;
|
|
104
|
+
'03:00 PM': string;
|
|
105
|
+
'03:30 PM': string;
|
|
106
|
+
'04:00 PM': string;
|
|
107
|
+
'04:30 PM': string;
|
|
108
|
+
'05:00 PM': string;
|
|
109
|
+
'05:30 PM': string;
|
|
110
|
+
'06:00 PM': string;
|
|
111
|
+
'06:30 PM': string;
|
|
112
|
+
'07:00 PM': string;
|
|
113
|
+
'07:30 PM': string;
|
|
114
|
+
'08:00 PM': string;
|
|
115
|
+
'08:30 PM': string;
|
|
116
|
+
'09:00 PM': string;
|
|
117
|
+
'09:30 PM': string;
|
|
118
|
+
'10:00 PM': string;
|
|
119
|
+
'10:30 PM': string;
|
|
120
|
+
'11:00 PM': string;
|
|
121
|
+
'11:30 PM': string;
|
|
122
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { Moment } from 'moment';
|
|
2
|
+
import { SelectInstance } from 'react-select';
|
|
3
|
+
import { OptionType } from '../../../Common';
|
|
4
|
+
|
|
5
|
+
export interface SingleDatePickerProps {
|
|
6
|
+
/**
|
|
7
|
+
* Date value to be displayed
|
|
8
|
+
*/
|
|
9
|
+
date: Moment;
|
|
10
|
+
/**
|
|
11
|
+
* Function to handle date change
|
|
12
|
+
*/
|
|
13
|
+
handleDatesChange: (e: any) => void;
|
|
14
|
+
/**
|
|
15
|
+
* Value to make date picker read only
|
|
16
|
+
*/
|
|
17
|
+
readOnly?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Value to block today's date
|
|
20
|
+
*/
|
|
21
|
+
isTodayBlocked?: boolean;
|
|
22
|
+
}
|
|
23
|
+
export interface DateSelectProps {
|
|
24
|
+
/**
|
|
25
|
+
* Current selected date object
|
|
26
|
+
*
|
|
27
|
+
* @default 'new Date()'
|
|
28
|
+
*/
|
|
29
|
+
selectedDate: OptionType;
|
|
30
|
+
/**
|
|
31
|
+
* Handler for updating the date from the parent component
|
|
32
|
+
*/
|
|
33
|
+
handleOnChange: (date: OptionType) => void;
|
|
34
|
+
}
|
|
35
|
+
export interface TimeSelectProps {
|
|
36
|
+
/**
|
|
37
|
+
* Current selected date object
|
|
38
|
+
*
|
|
39
|
+
* @default 'new Date()'
|
|
40
|
+
*/
|
|
41
|
+
date?: Date;
|
|
42
|
+
/**
|
|
43
|
+
* Handler for updating the date from the parent component
|
|
44
|
+
*/
|
|
45
|
+
onChange: (date: Date) => void;
|
|
46
|
+
/**
|
|
47
|
+
* Props for the time picker
|
|
48
|
+
*/
|
|
49
|
+
timePickerProps?: SelectInstance;
|
|
50
|
+
/**
|
|
51
|
+
* Error message for the DateTime picker component
|
|
52
|
+
*/
|
|
53
|
+
error?: string;
|
|
54
|
+
/**
|
|
55
|
+
* If true, both the date and time picker are disabled
|
|
56
|
+
*/
|
|
57
|
+
disabled?: boolean;
|
|
58
|
+
}
|