@devtron-labs/devtron-fe-common-lib 0.0.74 → 0.0.75-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/Common.service.d.ts +1 -0
- package/dist/Common/Constants.d.ts +45 -1
- package/dist/Common/Helper.d.ts +1 -1
- package/dist/Common/ImageTags.Types.d.ts +1 -1
- package/dist/Common/Security/ScanVulnerabilitiesTable.d.ts +1 -1
- package/dist/Common/Types.d.ts +65 -6
- package/dist/Shared/Components/APIResponseHandler/APIResponseHandler.d.ts +1 -1
- package/dist/Shared/Components/APIResponseHandler/types.d.ts +9 -0
- package/dist/Shared/Components/ActivityIndicator/ActivityIndicator.d.ts +3 -0
- package/dist/Shared/Components/ActivityIndicator/index.d.ts +1 -0
- package/dist/Shared/Components/ActivityIndicator/types.d.ts +3 -0
- package/dist/Shared/Components/AnnouncementBanner/AnnouncementBanner.d.ts +6 -0
- package/dist/Shared/Components/AnnouncementBanner/index.d.ts +1 -0
- package/dist/Shared/Components/ButtonWithLoader/ButtonWithLoader.d.ts +15 -0
- package/dist/Shared/Components/ButtonWithLoader/index.d.ts +1 -0
- package/dist/Shared/Components/EditableTextArea/EditableTextArea.d.ts +3 -0
- package/dist/Shared/Components/EditableTextArea/index.d.ts +1 -0
- package/dist/Shared/Components/EditableTextArea/types.d.ts +25 -0
- package/dist/Shared/Components/ExcludedImageNode/ExcludedImageNode.d.ts +3 -0
- package/dist/Shared/Components/ExcludedImageNode/index.d.ts +1 -0
- package/dist/Shared/Components/ExcludedImageNode/types.d.ts +3 -0
- package/dist/Shared/Components/GenericSectionErrorState/GenericSectionErrorState.component.d.ts +1 -1
- package/dist/Shared/Components/GenericSectionErrorState/types.d.ts +21 -1
- package/dist/Shared/Components/GettingStartedCard/GettingStarted.d.ts +3 -0
- package/dist/Shared/Components/GettingStartedCard/service.d.ts +3 -0
- package/dist/Shared/Components/GettingStartedCard/types.d.ts +15 -0
- package/dist/Shared/Components/Header/HeaderWithCreateButton/HeaderWithCreateButon.d.ts +5 -0
- package/dist/Shared/Components/Header/HeaderWithCreateButton/constants.d.ts +22 -0
- package/dist/Shared/Components/Header/HeaderWithCreateButton/index.d.ts +1 -0
- package/dist/Shared/Components/Header/HelpNav.d.ts +3 -0
- package/dist/Shared/Components/Header/PageHeader.d.ts +3 -0
- package/dist/Shared/Components/Header/constants.d.ts +3 -0
- package/dist/Shared/Components/Header/index.d.ts +2 -0
- package/dist/Shared/Components/Header/service.d.ts +4 -0
- package/dist/Shared/Components/Header/types.d.ts +60 -0
- package/dist/Shared/Components/Header/utils.d.ts +3 -0
- package/dist/Shared/Components/ImageCard/ArtifactInfo/ArtifactInfo.d.ts +3 -0
- package/dist/Shared/Components/ImageCard/ArtifactInfo/index.d.ts +1 -0
- package/dist/Shared/Components/ImageCard/ArtifactInfo/types.d.ts +3 -0
- package/dist/Shared/Components/ImageCard/ImageCard.d.ts +3 -0
- package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/DeploymentEnvState/DeploymentEnvState.d.ts +3 -0
- package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/DeploymentEnvState/constants.d.ts +6 -0
- package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/DeploymentEnvState/index.d.ts +1 -0
- package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/DeploymentEnvState/types.d.ts +10 -0
- package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/DeploymentEnvState/utils.d.ts +2 -0
- package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/SequentialCDCardTitle.d.ts +3 -0
- package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/index.d.ts +1 -0
- package/dist/Shared/Components/ImageCard/index.d.ts +3 -0
- package/dist/Shared/Components/ImageCard/types.d.ts +40 -0
- package/dist/Shared/Components/ImageCardAccordion/ImageCardAccordion.d.ts +3 -0
- package/dist/Shared/Components/ImageCardAccordion/index.d.ts +1 -0
- package/dist/Shared/Components/ImageCardAccordion/types.d.ts +23 -0
- package/dist/Shared/Components/LogoutCard.d.ts +9 -0
- package/dist/Shared/Components/ReactSelect/utils.d.ts +1 -0
- package/dist/Shared/Components/ScannedByToolModal/ScannedByToolModal.d.ts +3 -0
- package/dist/Shared/Components/ScannedByToolModal/index.d.ts +1 -0
- package/dist/Shared/Components/ScannedByToolModal/types.d.ts +3 -0
- package/dist/Shared/Components/ScannedObjectBar/ScannedObjectBar.d.ts +3 -0
- package/dist/Shared/Components/ScannedObjectBar/index.d.ts +1 -0
- package/dist/Shared/Components/ScannedObjectBar/types.d.ts +7 -0
- package/dist/Shared/Components/Vulnerabilities/Vulnerabilities.d.ts +3 -0
- package/dist/Shared/Components/Vulnerabilities/constants.d.ts +4 -0
- package/dist/Shared/Components/Vulnerabilities/index.d.ts +2 -0
- package/dist/Shared/Components/Vulnerabilities/service.d.ts +2 -0
- package/dist/Shared/Components/Vulnerabilities/types.d.ts +8 -0
- package/dist/Shared/Components/Vulnerabilities/utils.d.ts +3 -0
- package/dist/Shared/Components/index.d.ts +11 -0
- package/dist/Shared/Helpers.d.ts +7 -0
- package/dist/Shared/Providers/MainContextProvider.d.ts +3 -0
- package/dist/Shared/Providers/index.d.ts +1 -0
- package/dist/Shared/Providers/types.d.ts +29 -0
- package/dist/Shared/constants.d.ts +31 -0
- package/dist/Shared/index.d.ts +2 -0
- package/dist/Shared/types.d.ts +157 -0
- package/dist/assets/index.css +1 -1
- package/dist/index.d.ts +53 -0
- package/dist/index.js +12724 -11607
- package/package.json +7 -2
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { ImageTaggingContainerType } from '../../../Common';
|
|
3
|
+
import { RegistryType } from '../..';
|
|
4
|
+
export interface ArtifactInfoProps {
|
|
5
|
+
imagePath: string;
|
|
6
|
+
registryName: string;
|
|
7
|
+
registryType: RegistryType;
|
|
8
|
+
image: string;
|
|
9
|
+
deployedTime: string;
|
|
10
|
+
deployedBy: string;
|
|
11
|
+
isRollbackTrigger: boolean;
|
|
12
|
+
excludedImagePathNode: ReactNode;
|
|
13
|
+
approvalChecksNode?: ReactNode;
|
|
14
|
+
approvalInfoTippy?: ReactNode;
|
|
15
|
+
}
|
|
16
|
+
export interface SequentialCDCardTitleProps {
|
|
17
|
+
isLatest: boolean;
|
|
18
|
+
isRunningOnParentCD: boolean;
|
|
19
|
+
artifactStatus: string;
|
|
20
|
+
stageType: string;
|
|
21
|
+
showLatestTag: boolean;
|
|
22
|
+
isVirtualEnvironment: boolean;
|
|
23
|
+
deployedOn?: string[];
|
|
24
|
+
environmentName?: string;
|
|
25
|
+
parentEnvironmentName?: string;
|
|
26
|
+
additionalInfo?: ReactNode;
|
|
27
|
+
}
|
|
28
|
+
export interface ImageCardProps {
|
|
29
|
+
testIdLocator: string;
|
|
30
|
+
sequentialCDCardTitleProps: SequentialCDCardTitleProps;
|
|
31
|
+
cta: ReactNode;
|
|
32
|
+
artifactInfoProps: ArtifactInfoProps;
|
|
33
|
+
imageTagContainerProps: ImageTaggingContainerType;
|
|
34
|
+
/**
|
|
35
|
+
* Meant for ImageCardAccordion
|
|
36
|
+
*/
|
|
37
|
+
children?: ReactNode;
|
|
38
|
+
rootClassName?: string;
|
|
39
|
+
materialInfoRootClassName?: string;
|
|
40
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { ImageCardAccordionProps } from './types';
|
|
2
|
+
declare const ImageCardAccordion: ({ isSecurityModuleInstalled, artifactId, applicationId, environmentId, changesCard, isScanned, isScanEnabled, }: ImageCardAccordionProps) => JSX.Element;
|
|
3
|
+
export default ImageCardAccordion;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ImageCardAccordion } from './ImageCardAccordion';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
import { CDModalTabType, VulnerabilityType } from '../../../Common';
|
|
3
|
+
import { MaterialSecurityInfoType } from '../../types';
|
|
4
|
+
export interface ImageCardAccordionProps extends MaterialSecurityInfoType {
|
|
5
|
+
isSecurityModuleInstalled: boolean;
|
|
6
|
+
artifactId: number;
|
|
7
|
+
applicationId: number;
|
|
8
|
+
environmentId: number;
|
|
9
|
+
changesCard: ReactNode;
|
|
10
|
+
isScanned: boolean;
|
|
11
|
+
isScanEnabled: boolean;
|
|
12
|
+
}
|
|
13
|
+
export interface SecurityDetailsType {
|
|
14
|
+
vulnerabilities: VulnerabilityType[];
|
|
15
|
+
scanToolId: number;
|
|
16
|
+
lastExecution: string;
|
|
17
|
+
}
|
|
18
|
+
export interface AccordionItemProps {
|
|
19
|
+
currentTab: CDModalTabType;
|
|
20
|
+
activeTab: CDModalTabType;
|
|
21
|
+
setActiveTab: React.Dispatch<React.SetStateAction<CDModalTabType>>;
|
|
22
|
+
buttonText: string;
|
|
23
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface LogoutCardType {
|
|
3
|
+
className: string;
|
|
4
|
+
userFirstLetter: string;
|
|
5
|
+
setShowLogOutCard: React.Dispatch<React.SetStateAction<boolean>>;
|
|
6
|
+
showLogOutCard: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare const LogoutCard: ({ className, userFirstLetter, setShowLogOutCard, showLogOutCard }: LogoutCardType) => JSX.Element;
|
|
9
|
+
export default LogoutCard;
|
|
@@ -12,3 +12,4 @@ export declare const getCommonSelectStyle: (styleOverrides?: {}) => {
|
|
|
12
12
|
export declare const getCustomOptionSelectionStyle: (styleOverrides?: {}) => (base: any, state: any) => any;
|
|
13
13
|
export declare const SelectOption: (props: any) => JSX.Element;
|
|
14
14
|
export declare const LoadingIndicator: () => JSX.Element;
|
|
15
|
+
export declare const GroupHeading: (props: any) => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ScannedByToolModal } from './ScannedByToolModal';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { ScannedObjectBarProps } from './types';
|
|
2
|
+
declare const ScannedObjectBar: ({ criticalVulnerabilitiesCount, moderateVulnerabilitiesCount, lowVulnerabilitiesCount, objectBarClassName, removeObjectCountMargin, }: ScannedObjectBarProps) => JSX.Element;
|
|
3
|
+
export default ScannedObjectBar;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ScannedObjectBar } from './ScannedObjectBar';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { MaterialSecurityInfoType } from '../../types';
|
|
3
|
+
export interface VulnerabilitiesProps extends MaterialSecurityInfoType {
|
|
4
|
+
artifactId: number;
|
|
5
|
+
applicationId: number;
|
|
6
|
+
environmentId: number;
|
|
7
|
+
setVulnerabilityCount: React.Dispatch<React.SetStateAction<number>>;
|
|
8
|
+
}
|
|
@@ -1,6 +1,17 @@
|
|
|
1
1
|
export * from './APIResponseHandler';
|
|
2
2
|
export * from './ReactSelect';
|
|
3
3
|
export * from './BulkSelection';
|
|
4
|
+
export * from './ImageCard';
|
|
5
|
+
export * from './ImageCardAccordion';
|
|
6
|
+
export * from './ExcludedImageNode';
|
|
7
|
+
export * from './ScannedByToolModal';
|
|
8
|
+
export * from './Vulnerabilities';
|
|
4
9
|
export * from './FilterChips';
|
|
10
|
+
export * from './ActivityIndicator';
|
|
5
11
|
export * from './GenericSectionErrorState';
|
|
6
12
|
export * from './KeyValueList';
|
|
13
|
+
export * from './ScannedObjectBar';
|
|
14
|
+
export * from './EditableTextArea';
|
|
15
|
+
export * from './Header';
|
|
16
|
+
export * from './AnnouncementBanner';
|
|
17
|
+
export * from './ButtonWithLoader';
|
package/dist/Shared/Helpers.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { MaterialInfo } from '../Common';
|
|
2
|
+
import { GitTriggers } from './types';
|
|
1
3
|
interface HighlightSearchTextProps {
|
|
2
4
|
/**
|
|
3
5
|
* The text to be highlighted
|
|
@@ -13,4 +15,9 @@ interface HighlightSearchTextProps {
|
|
|
13
15
|
highlightClasses?: string;
|
|
14
16
|
}
|
|
15
17
|
export declare const highlightSearchText: ({ searchText, text, highlightClasses }: HighlightSearchTextProps) => string;
|
|
18
|
+
export declare const preventBodyScroll: (lock: boolean) => void;
|
|
19
|
+
export declare const getIsMaterialInfoAvailable: (materialInfo: MaterialInfo[]) => boolean;
|
|
20
|
+
export declare const getGitCommitInfo: (materialInfo: MaterialInfo) => GitTriggers;
|
|
21
|
+
export declare const caseInsensitiveStringComparator: (a: string, b: string) => number;
|
|
22
|
+
export declare const isNullOrUndefined: (value: unknown) => boolean;
|
|
16
23
|
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './MainContextProvider';
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { MutableRefObject, ReactNode } from 'react';
|
|
2
|
+
import { ServerInfo } from '../Components/Header/types';
|
|
3
|
+
import { SERVER_MODE } from '../../Common';
|
|
4
|
+
export interface MainContext {
|
|
5
|
+
serverMode: SERVER_MODE;
|
|
6
|
+
setServerMode: (serverMode: SERVER_MODE) => void;
|
|
7
|
+
isHelpGettingStartedClicked: boolean;
|
|
8
|
+
setPageOverflowEnabled: (isPageOverflowEnabled: boolean) => void;
|
|
9
|
+
showCloseButtonAfterGettingStartedClicked: () => void;
|
|
10
|
+
loginCount: number;
|
|
11
|
+
setLoginCount: (loginCount: number) => void;
|
|
12
|
+
showGettingStartedCard: boolean;
|
|
13
|
+
setShowGettingStartedCard: (showGettingStartedCard: boolean) => void;
|
|
14
|
+
isGettingStartedClicked: boolean;
|
|
15
|
+
setGettingStartedClicked: (isGettingStartedClicked: boolean) => void;
|
|
16
|
+
moduleInInstallingState: string;
|
|
17
|
+
setModuleInInstallingState: (moduleInInstallingState: string) => void;
|
|
18
|
+
installedModuleMap: MutableRefObject<Record<string, boolean>>;
|
|
19
|
+
currentServerInfo: {
|
|
20
|
+
serverInfo: ServerInfo;
|
|
21
|
+
fetchingServerInfo: boolean;
|
|
22
|
+
};
|
|
23
|
+
isAirgapped: boolean;
|
|
24
|
+
isSuperAdmin: boolean;
|
|
25
|
+
}
|
|
26
|
+
export interface MainContextProviderProps {
|
|
27
|
+
children: ReactNode;
|
|
28
|
+
value: MainContext;
|
|
29
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare const ARTIFACT_STATUS: {
|
|
2
|
+
PROGRESSING: string;
|
|
3
|
+
DEGRADED: string;
|
|
4
|
+
FAILED: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const STAGE_TYPE: {
|
|
7
|
+
CD: string;
|
|
8
|
+
CI: string;
|
|
9
|
+
GIT: string;
|
|
10
|
+
PRECD: string;
|
|
11
|
+
POSTCD: string;
|
|
12
|
+
ROLLBACK: string;
|
|
13
|
+
};
|
|
14
|
+
export declare const SCAN_TOOL_ID_TRIVY = 3;
|
|
15
|
+
export declare const IMAGE_SCAN_TOOL: {
|
|
16
|
+
Clair: string;
|
|
17
|
+
Trivy: string;
|
|
18
|
+
};
|
|
19
|
+
export declare const EXCLUDED_IMAGE_TOOLTIP = "This image is excluded for new deployment as it does not match the filter conditions configured for this environment.";
|
|
20
|
+
export declare const ModuleNameMap: {
|
|
21
|
+
ARGO_CD: string;
|
|
22
|
+
CICD: string;
|
|
23
|
+
SECURITY: string;
|
|
24
|
+
BLOB_STORAGE: string;
|
|
25
|
+
GRAFANA: string;
|
|
26
|
+
NOTIFICATION: string;
|
|
27
|
+
SECURITY_TRIVY: string;
|
|
28
|
+
SECURITY_CLAIR: string;
|
|
29
|
+
};
|
|
30
|
+
export declare const DATE_TIME_FORMAT_STRING = "ddd DD MMM YYYY HH:mm:ss";
|
|
31
|
+
export declare const API_TOKEN_PREFIX = "API-TOKEN:";
|
package/dist/Shared/index.d.ts
CHANGED
package/dist/Shared/types.d.ts
CHANGED
|
@@ -1,3 +1,89 @@
|
|
|
1
|
+
import { CommonNodeAttr, ResponseType, UserApprovalConfigType, VulnerabilityType } from '../Common';
|
|
2
|
+
export declare enum RegistryType {
|
|
3
|
+
GIT = "git",
|
|
4
|
+
GITHUB = "github",
|
|
5
|
+
GITLAB = "gitlab",
|
|
6
|
+
BITBUCKET = "bitbucket",
|
|
7
|
+
DOCKER = "docker",
|
|
8
|
+
DOCKER_HUB = "docker-hub",
|
|
9
|
+
ACR = "acr",
|
|
10
|
+
QUAY = "quay",
|
|
11
|
+
ECR = "ecr",
|
|
12
|
+
ARTIFACT_REGISTRY = "artifact-registry",
|
|
13
|
+
GCR = "gcr",
|
|
14
|
+
OTHER = "other"
|
|
15
|
+
}
|
|
16
|
+
export declare enum DefaultUserKey {
|
|
17
|
+
system = "system",
|
|
18
|
+
admin = "admin"
|
|
19
|
+
}
|
|
20
|
+
export declare enum Severity {
|
|
21
|
+
CRITICAL = "critical",
|
|
22
|
+
MODERATE = "moderate",
|
|
23
|
+
LOW = "low"
|
|
24
|
+
}
|
|
25
|
+
export declare enum ImagePromotionTabs {
|
|
26
|
+
REQUEST = "request",
|
|
27
|
+
PENDING = "pending"
|
|
28
|
+
}
|
|
29
|
+
export interface ArtifactPromotionMetadata {
|
|
30
|
+
isConfigured: boolean;
|
|
31
|
+
isApprovalPendingForPromotion: boolean;
|
|
32
|
+
}
|
|
33
|
+
export interface Material {
|
|
34
|
+
gitMaterialId: number;
|
|
35
|
+
materialName: string;
|
|
36
|
+
}
|
|
37
|
+
export interface WorkflowType {
|
|
38
|
+
id: string;
|
|
39
|
+
name: string;
|
|
40
|
+
gitMaterials?: Material[];
|
|
41
|
+
ciConfiguredGitMaterialId?: number;
|
|
42
|
+
startX: number;
|
|
43
|
+
startY: number;
|
|
44
|
+
width: number;
|
|
45
|
+
height: number;
|
|
46
|
+
nodes: CommonNodeAttr[];
|
|
47
|
+
dag: any;
|
|
48
|
+
showTippy?: boolean;
|
|
49
|
+
appId?: number;
|
|
50
|
+
isSelected?: boolean;
|
|
51
|
+
approvalConfiguredIdsMap?: Record<number, UserApprovalConfigType>;
|
|
52
|
+
imageReleaseTags: string[];
|
|
53
|
+
appReleaseTags?: string[];
|
|
54
|
+
tagsEditable?: boolean;
|
|
55
|
+
hideImageTaggingHardDelete?: boolean;
|
|
56
|
+
artifactPromotionMetadata?: ArtifactPromotionMetadata;
|
|
57
|
+
}
|
|
58
|
+
export declare enum ModuleStatus {
|
|
59
|
+
HEALTHY = "healthy",
|
|
60
|
+
NONE = "none",
|
|
61
|
+
UNKNOWN = "unknown",
|
|
62
|
+
UPGRADING = "upgrading",
|
|
63
|
+
UPGRADE_FAILED = "upgradeFailed",
|
|
64
|
+
INSTALLED = "installed",
|
|
65
|
+
INSTALLING = "installing",
|
|
66
|
+
INSTALL_FAILED = "installFailed",
|
|
67
|
+
NOT_INSTALLED = "notInstalled",
|
|
68
|
+
TIMEOUT = "timeout"
|
|
69
|
+
}
|
|
70
|
+
export interface WebHookData {
|
|
71
|
+
Id: number;
|
|
72
|
+
EventActionType: string;
|
|
73
|
+
Data: any;
|
|
74
|
+
}
|
|
75
|
+
export interface GitTriggers {
|
|
76
|
+
Commit: string;
|
|
77
|
+
Author: string;
|
|
78
|
+
Date: Date | string;
|
|
79
|
+
Message: string;
|
|
80
|
+
Changes: string[];
|
|
81
|
+
WebhookData: WebHookData;
|
|
82
|
+
GitRepoUrl: string;
|
|
83
|
+
GitRepoName: string;
|
|
84
|
+
CiConfigureSourceType: string;
|
|
85
|
+
CiConfigureSourceValue: string;
|
|
86
|
+
}
|
|
1
87
|
export interface RuntimeParamsAPIResponseType {
|
|
2
88
|
envVariables: Record<string, string>;
|
|
3
89
|
}
|
|
@@ -8,3 +94,74 @@ export declare enum CIMaterialSidebarType {
|
|
|
8
94
|
CODE_SOURCE = "Code Source",
|
|
9
95
|
PARAMETERS = "Parameters"
|
|
10
96
|
}
|
|
97
|
+
export interface LastExecutionResultType {
|
|
98
|
+
lastExecution: string;
|
|
99
|
+
severityCount: {
|
|
100
|
+
critical: number;
|
|
101
|
+
moderate: number;
|
|
102
|
+
low: number;
|
|
103
|
+
};
|
|
104
|
+
vulnerabilities: VulnerabilityType[];
|
|
105
|
+
scanExecutionId?: number;
|
|
106
|
+
appId?: number;
|
|
107
|
+
appName?: string;
|
|
108
|
+
envId?: number;
|
|
109
|
+
envName?: string;
|
|
110
|
+
pod?: string;
|
|
111
|
+
replicaSet?: string;
|
|
112
|
+
image?: string;
|
|
113
|
+
objectType?: 'app' | 'chart';
|
|
114
|
+
scanned?: boolean;
|
|
115
|
+
scanEnabled?: boolean;
|
|
116
|
+
scanToolId?: number;
|
|
117
|
+
}
|
|
118
|
+
export interface LastExecutionResponseType extends ResponseType<LastExecutionResultType> {
|
|
119
|
+
}
|
|
120
|
+
export interface MaterialSecurityInfoType {
|
|
121
|
+
isScanned: boolean;
|
|
122
|
+
isScanEnabled: boolean;
|
|
123
|
+
}
|
|
124
|
+
export declare enum Nodes {
|
|
125
|
+
Service = "Service",
|
|
126
|
+
Alertmanager = "Alertmanager",
|
|
127
|
+
PodSecurity = "PodSecurityPolicy",
|
|
128
|
+
ConfigMap = "ConfigMap",
|
|
129
|
+
ServiceAccount = "ServiceAccount",
|
|
130
|
+
ClusterRoleBinding = "ClusterRoleBinding",
|
|
131
|
+
RoleBinding = "RoleBinding",
|
|
132
|
+
ClusterRole = "ClusterRole",
|
|
133
|
+
Role = "Role",
|
|
134
|
+
Prometheus = "Prometheus",
|
|
135
|
+
ServiceMonitor = "ServiceMonitor",
|
|
136
|
+
Deployment = "Deployment",
|
|
137
|
+
MutatingWebhookConfiguration = "MutatingWebhookConfiguration",
|
|
138
|
+
DaemonSet = "DaemonSet",
|
|
139
|
+
Secret = "Secret",
|
|
140
|
+
ValidatingWebhookConfiguration = "ValidatingWebhookConfiguration",
|
|
141
|
+
Pod = "Pod",
|
|
142
|
+
Ingress = "Ingress",
|
|
143
|
+
ReplicaSet = "ReplicaSet",
|
|
144
|
+
Endpoints = "Endpoints",
|
|
145
|
+
Cluster = "ClusterRoleBinding",
|
|
146
|
+
PodSecurityPolicy = "PodSecurityPolicy",
|
|
147
|
+
CronJob = "CronJob",
|
|
148
|
+
Job = "Job",
|
|
149
|
+
ReplicationController = "ReplicationController",
|
|
150
|
+
StatefulSet = "StatefulSet",
|
|
151
|
+
Rollout = "Rollout",
|
|
152
|
+
PersistentVolumeClaim = "PersistentVolumeClaim",
|
|
153
|
+
PersistentVolume = "PersistentVolume",
|
|
154
|
+
Containers = "Containers",
|
|
155
|
+
InitContainers = "InitContainers",
|
|
156
|
+
EndpointSlice = "EndpointSlice",
|
|
157
|
+
NetworkPolicy = "NetworkPolicy",
|
|
158
|
+
StorageClass = "StorageClass",
|
|
159
|
+
VolumeSnapshot = "VolumeSnapshot",
|
|
160
|
+
VolumeSnapshotContent = "VolumeSnapshotContent",
|
|
161
|
+
VolumeSnapshotClass = "VolumeSnapshotClass",
|
|
162
|
+
PodDisruptionBudget = "PodDisruptionBudget",
|
|
163
|
+
Event = "Event",
|
|
164
|
+
Namespace = "Namespace",
|
|
165
|
+
Overview = "Overview"
|
|
166
|
+
}
|
|
167
|
+
export type NodeType = keyof typeof Nodes;
|
package/dist/assets/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.empty-state{height:100%}.empty-state img{height:40%;max-height:200px;width:auto;max-width:250px}.empty-state svg{height:40%;max-height:200px;width:auto}.empty-state h1,.empty-state h2,.empty-state h3,.empty-state h4,.empty-state h5,.empty-state h6{color:var(--N900)}.empty-state .subtitle{font-size:13px;font-weight:400;text-align:center;line-height:1.5;margin-bottom:6px}.empty-state .subtitle--text-start{text-align:start}.empty-state .cta{height:36px}.empty-state p{text-align:center;font-size:13px;color:var(--N700)}.empty-state strong{font-size:16px;margin-bottom:4px;color:var(--N900);font-weight:400}.empty-state .select-popup{height:min-content;max-height:250px;overflow:auto;padding:8px 0}.empty-state .empty-state__loader{width:34px;height:34px;margin-bottom:16px}.empty-state .empty-state__loading-text{font-size:12px;width:200px;font-weight:400;font-stretch:normal;font-style:normal;line-height:1.5;letter-spacing:normal;text-align:center;color:var(--N900)}.empty-state .button__icon{width:16px;height:16px;margin-left:8px}.drawer{position:absolute;overflow:hidden}.drawer.left,.drawer.right{top:0;bottom:0;width:0;transition:width .2s}.drawer.left.show,.drawer.right.show{min-width:var(--minWidth);width:var(--width);max-width:var(--maxWidth)}.drawer.top,.drawer.bottom{left:0;right:0;height:0;transition:height .2s}.drawer.top.show,.drawer.bottom.show{height:var(--height)}.drawer.right{right:0}.drawer.left{left:0}.drawer.top{top:0}.drawer.bottom{bottom:0}.tippy-box[data-animation=shift-toward-subtle][data-state=hidden]{opacity:0}.tippy-box[data-animation=shift-toward-subtle][data-state=hidden][data-placement^=top][data-state=hidden]{transform:translateY(-5px)}.tippy-box[data-animation=shift-toward-subtle][data-state=hidden][data-placement^=bottom][data-state=hidden]{transform:translateY(5px)}.tippy-box[data-animation=shift-toward-subtle][data-state=hidden][data-placement^=left][data-state=hidden]{transform:translate(-5px)}.tippy-box[data-animation=shift-toward-subtle][data-state=hidden][data-placement^=right][data-state=hidden]{transform:translate(5px)}.info-bar-container .info_text .success{background-color:var(--G100)}.info-bar-container .warn{background:var(--Y100);border:solid var(--Y200)}.info-bar-container .warn .warning-icon path:nth-child(2){fill:var(--Y700)}.info-bar-container .info_bar{background-color:var(--B100);border:1px solid var(--B200)}.info-bar-container .error_bar{background-color:var(--R100);border:1px solid var(--R200)}.info-bar-container .question-bar{background-color:var(--V100);border:1px solid var(--V200)}.search-bar:focus,.search-bar:focus-within{outline:none;border:solid 1px var(--B500)!important}.search-bar__input:focus,.search-bar__input:focus-visible{border:none;outline:none}.search-bar__icon{z-index:1;top:50%;left:8px;transform:translateY(-50%)}.search-bar__clear-button{right:0;top:50%;transform:translateY(-50%);z-index:1}.toggle__switch{position:relative;display:inline-block;width:100%;height:100%}.toggle__switch.disabled,.toggle__switch.disabled .toggle__slider{cursor:not-allowed}.toggle__switch input{opacity:0;width:0;height:0}.toggle__slider{position:absolute;cursor:pointer;inset:0;background-color:#ccc;transition:all .4s ease}.toggle__slider.round{border-radius:34px}.toggle__slider.round:before{border-radius:50%}.toggle__slider:before{position:absolute;content:"";height:calc(100% - 8px);width:calc(50% - 4px);left:4px;bottom:4px;background-color:#fff;transition:all .4s ease}.toggle__slider.with-icon{background-color:var(--N000)!important}.toggle__slider.with-icon svg{position:absolute;content:"";top:-1px;left:-1px;background-color:var(--N300);transition:all .4s ease}input:checked+.toggle__slider{background-color:var(--color)}input:checked+.toggle__slider:before{transform:translate(100%)}input:checked+.toggle__slider.with-icon svg{transform:translate(100%);background-color:var(--color)}input:focus+.toggle__slider{box-shadow:0 0 1px var(--color)}.modal-body--scan-details{position:fixed;top:0;right:0;background:var(--N000);width:800px}.security-tab__table{width:100%}.security-tab__table-header{border-bottom:solid 1px var(--N200)}.security-cell-header{font-size:12px;font-weight:600;line-height:1.5;letter-spacing:normal;text-transform:uppercase;color:var(--N500)}.dc__security-tab__table-row{font-size:13px;font-weight:400;line-height:1.54;letter-spacing:normal;color:var(--N900);box-shadow:inset 0 -1px #f5f5f5}.security-tab__cell-cve,.security-tab__cell-severity,.security-tab__cell-package,.security-tab__cell-current-ver,.security-tab__cell-fixed-ver,.security-tab__cell-policy{padding:10px;max-width:120px;word-wrap:break-word}.security-tab__cell-cve{padding-left:0;text-align:left;width:20%}.security-tab__cell-policy{padding-right:0}.security-tab__cell-policy--whitelist,.security-tab__cell-policy--whitelisted{color:var(--G500);text-transform:capitalize}.security-tab__cell-policy--block{color:var(--R500);text-transform:capitalize}.scanned-object__results{margin:0 20px}.radio-group{height:30px;background:white;display:flex;justify-content:center;align-items:center;padding:4px;border-radius:4px}.radio-group .label,.radio-group .radio,.radio-group .checkbox{margin:0}.radio-group .radio{height:100%;width:auto;color:var(--N400);display:flex;align-items:center}.radio-group .radio+.radio{margin-top:0}.radio-group input[type=checkbox]{display:contents;overflow:hidden;max-width:0px;height:0;opacity:0;margin:unset}.radio-group input+.radio__item-label{padding:4px 6px;height:100%;width:100%;display:flex;align-items:center;transition:all .5s;cursor:pointer}.radio-group input[type=checkbox]:checked+.radio__item-label{background:#2c3354;color:#fff;border-radius:4px}.select-button__arrow{position:absolute;right:5px}.select-button{border-radius:4px;justify-content:space-between}.select-button.default{height:40px;padding:12px 10px;background-color:#fff}.select-button:disabled{background-color:var(--N100)}.select-button--default{padding:8px 8px 8px 10px;width:100%;font-weight:500;background-color:var(--N000)}.select__label-container{display:inline-block;margin-left:auto}.select__options-container{max-height:220px;overflow:auto;color:var(--N900)}.select__option-with-subtitle{padding:9px 12px;margin-top:2px;display:flex;cursor:pointer;align-items:center}.select__option-with-subtitle--empty-state{color:var(--N500)}.select-popup{max-height:220px;overflow:auto;padding:4px 0;border-radius:4px;border:1px solid var(--N100)}.select__option{padding:10px 12px;line-height:1.5;display:flex;align-items:center;justify-content:flex-start;cursor:pointer;background-color:var(--N000)}.select__option.selected{color:var(--B500);background-color:var(--B100)}.select-button__selected-option{display:inline-block;white-space:nowrap;text-align:left}.select__check-icon{width:16px;height:16px;margin-right:12px}.option-with-subtitle__subtitle{font-size:10px;font-weight:400;font-stretch:normal;line-height:1.33;letter-spacing:normal;color:#404040}.option-group__label{padding:8px 16px;font-size:12px;font-weight:600;font-stretch:normal;font-style:normal;line-height:1.67;letter-spacing:normal;color:var(--N400);text-transform:uppercase}.select__sticky-bottom{position:sticky;bottom:-8px;margin-bottom:-8px;box-shadow:0 -1px 0 0 var(--N200);background-color:inherit;padding:11px 12px;width:100%;display:flex;align-items:center;cursor:pointer;color:var(--B500);font-size:13px}.select__sticky-bottom svg path{fill:var(--B500)}.select__all{height:36px;padding:4px 12px 4px 40px;display:flex;align-items:center;justify-content:flex-start;cursor:pointer;background-color:#f5f5f5}.popup-button:disabled .select-button{background-color:var(--N100)}.select__option-with-subtitle:hover,.select__option:hover{background-color:var(--window-bg)}.select__option-with-subtitle--empty-state:hover{background-color:unset}.rjsf-form-template__field{grid-template-columns:250px 1fr}.rjsf-form-template__additional-fields{grid-template-columns:1fr 1fr minmax(20px,auto)}.rjsf-form-template__array-field-item{grid-template-columns:1fr auto}.rjsf-form-template__array-field-item>:first-child{margin:0}.pagination-wrapper{display:flex;align-items:center;padding:0 24px;justify-content:space-between;margin:0;background-color:var(--white)}.pagination{margin-top:16px;margin-bottom:16px;padding:0}.select{display:flex;align-items:center;position:relative}.select__placeholder{font-size:12px;font-weight:400;font-style:normal;font-stretch:normal;line-height:1.5;letter-spacing:normal;color:var(--N700);margin-right:8px}.pagination__select-menu{padding:0;list-style:none;overflow:hidden;border:solid 1px var(--N200);border-radius:4px;width:64px;position:absolute;bottom:31px;background-color:var(--white)}.select__button{width:64px;background-color:transparent;border-radius:4px;border:solid 1px var(--N200);padding:5px 10px;text-align:left}.select__item{padding:5px 10px;cursor:pointer}.select__icon{margin-left:18px}.page{margin:0 8px;display:inline-block}.page-number{font-size:12px;font-weight:400;font-style:normal;font-stretch:normal;line-height:1.5;letter-spacing:normal;color:var(--N700)}.page__button{width:24px;height:24px;border-radius:8px;color:var(--B500);background-color:var(--white);padding:0;user-select:none}.page__button--icon{background-color:var(--white);color:var(--B500)}.page__button--selected{color:var(--white);background-color:var(--B500)}.page__button:disabled{opacity:.5}.select__item:hover{background-color:var(--N50)}.page__button:hover~:disabled{background-color:var(--B100)}.page__button--selected:hover{color:var(--white);background-color:var(--B500)}@media (min-width: 1024px){.pagination{margin:16px auto}}.user-role-groups__table-row{grid-template-rows:36px}.user-role-groups__table-header,.user-role-groups__table-row{grid-template-columns:20px 200px minmax(300px,1fr);column-gap:16px}.user-role-groups__table-header--with-status,.user-role-groups__table-row--with-status{grid-template-columns:20px 200px minmax(300px,1fr) 185px}.user-role-groups__table-header--with-delete,.user-role-groups__table-row--with-delete{grid-template-columns:20px 200px minmax(300px,1fr) 24px}.user-role-groups__table-header--with-status-and-delete,.user-role-groups__table-row--with-status-and-delete{grid-template-columns:20px 200px minmax(300px,1fr) 185px 24px}
|
|
1
|
+
.empty-state{height:100%}.empty-state img{height:40%;max-height:200px;width:auto;max-width:250px}.empty-state svg{height:40%;max-height:200px;width:auto}.empty-state h1,.empty-state h2,.empty-state h3,.empty-state h4,.empty-state h5,.empty-state h6{color:var(--N900)}.empty-state .subtitle{font-size:13px;font-weight:400;text-align:center;line-height:1.5;margin-bottom:6px}.empty-state .subtitle--text-start{text-align:start}.empty-state .cta{height:36px}.empty-state p{text-align:center;font-size:13px;color:var(--N700)}.empty-state strong{font-size:16px;margin-bottom:4px;color:var(--N900);font-weight:400}.empty-state .select-popup{height:min-content;max-height:250px;overflow:auto;padding:8px 0}.empty-state .empty-state__loader{width:34px;height:34px;margin-bottom:16px}.empty-state .empty-state__loading-text{font-size:12px;width:200px;font-weight:400;font-stretch:normal;font-style:normal;line-height:1.5;letter-spacing:normal;text-align:center;color:var(--N900)}.empty-state .button__icon{width:16px;height:16px;margin-left:8px}.scanned-object__bar{height:8px;width:100%;display:flex;background-color:#e7635d}.scanned-object__critical-count{background-color:#e7635d}.scanned-object__moderate-count{background-color:#f0aa65}.scanned-object__low-count{background-color:var(--Y500)}.scanned-object__counts{font-size:13px;font-weight:400;line-height:1.54;letter-spacing:normal;color:var(--N900)}.scanned-object__icon{border-radius:50%;width:10px;height:10px;display:inline-block;margin-right:5px}.help-card__more-option{top:42px;right:56px}.help-card__more-option.k8s-client-view{right:20px;grid-template-rows:36px 1px 36px 1px 36px 1px 36px auto}.logout-card__more-option{top:42px;right:20px}.getting-started-card{background-color:var(--tippy-card-black-bg);position:fixed;z-index:6;right:20px;top:54px}.arrow-up{width:0;height:0;border-left:12px solid transparent;border-right:12px solid transparent;border-bottom:12px solid var(--tippy-card-black-bg);right:64px;position:fixed;top:42px}.getting_tippy__position{position:fixed}.create-modal-wrapper{position:fixed;right:24px;top:50px;overflow:hidden}.create-modal-wrapper .create-modal-child{padding:10px 15px;display:flex}.create-modal-wrapper .create-modal-child:first-child{border-bottom:1px solid var(--N100)}.create-modal-wrapper .create-modal-child:hover{background-color:var(--N100)}.drawer{position:absolute;overflow:hidden}.drawer.left,.drawer.right{top:0;bottom:0;width:0;transition:width .2s}.drawer.left.show,.drawer.right.show{min-width:var(--minWidth);width:var(--width);max-width:var(--maxWidth)}.drawer.top,.drawer.bottom{left:0;right:0;height:0;transition:height .2s}.drawer.top.show,.drawer.bottom.show{height:var(--height)}.drawer.right{right:0}.drawer.left{left:0}.drawer.top{top:0}.drawer.bottom{bottom:0}.tippy-box[data-animation=shift-toward-subtle][data-state=hidden]{opacity:0}.tippy-box[data-animation=shift-toward-subtle][data-state=hidden][data-placement^=top][data-state=hidden]{transform:translateY(-5px)}.tippy-box[data-animation=shift-toward-subtle][data-state=hidden][data-placement^=bottom][data-state=hidden]{transform:translateY(5px)}.tippy-box[data-animation=shift-toward-subtle][data-state=hidden][data-placement^=left][data-state=hidden]{transform:translate(-5px)}.tippy-box[data-animation=shift-toward-subtle][data-state=hidden][data-placement^=right][data-state=hidden]{transform:translate(5px)}.info-bar-container .info_text .success{background-color:var(--G100)}.info-bar-container .warn{background:var(--Y100);border:solid var(--Y200)}.info-bar-container .warn .warning-icon path:nth-child(2){fill:var(--Y700)}.info-bar-container .info_bar{background-color:var(--B100);border:1px solid var(--B200)}.info-bar-container .error_bar{background-color:var(--R100);border:1px solid var(--R200)}.info-bar-container .question-bar{background-color:var(--V100);border:1px solid var(--V200)}.search-bar:focus,.search-bar:focus-within{outline:none;border:solid 1px var(--B500)!important}.search-bar__input:focus,.search-bar__input:focus-visible{border:none;outline:none}.search-bar__icon{z-index:1;top:50%;left:8px;transform:translateY(-50%)}.search-bar__clear-button{right:0;top:50%;transform:translateY(-50%);z-index:1}.toggle__switch{position:relative;display:inline-block;width:100%;height:100%}.toggle__switch.disabled,.toggle__switch.disabled .toggle__slider{cursor:not-allowed}.toggle__switch input{opacity:0;width:0;height:0}.toggle__slider{position:absolute;cursor:pointer;inset:0;background-color:#ccc;transition:all .4s ease}.toggle__slider.round{border-radius:34px}.toggle__slider.round:before{border-radius:50%}.toggle__slider:before{position:absolute;content:"";height:calc(100% - 8px);width:calc(50% - 4px);left:4px;bottom:4px;background-color:#fff;transition:all .4s ease}.toggle__slider.with-icon{background-color:var(--N000)!important}.toggle__slider.with-icon svg{position:absolute;content:"";top:-1px;left:-1px;background-color:var(--N300);transition:all .4s ease}input:checked+.toggle__slider{background-color:var(--color)}input:checked+.toggle__slider:before{transform:translate(100%)}input:checked+.toggle__slider.with-icon svg{transform:translate(100%);background-color:var(--color)}input:focus+.toggle__slider{box-shadow:0 0 1px var(--color)}.modal-body--scan-details{position:fixed;top:0;right:0;background:var(--N000);width:800px}.security-tab__table{width:100%}.security-tab__table-header{border-bottom:solid 1px var(--N200)}.security-cell-header{font-size:12px;font-weight:600;line-height:1.5;letter-spacing:normal;text-transform:uppercase;color:var(--N500)}.dc__security-tab__table-row{font-size:13px;font-weight:400;line-height:1.54;letter-spacing:normal;color:var(--N900);box-shadow:inset 0 -1px #f5f5f5}.security-tab__cell-cve,.security-tab__cell-severity,.security-tab__cell-package,.security-tab__cell-current-ver,.security-tab__cell-fixed-ver,.security-tab__cell-policy{padding:10px;max-width:120px;word-wrap:break-word}.security-tab__cell-cve{padding-left:0;text-align:left;width:20%}.security-tab__cell-policy{padding-right:0}.security-tab__cell-policy--whitelist,.security-tab__cell-policy--whitelisted{color:var(--G500);text-transform:capitalize}.security-tab__cell-policy--block{color:var(--R500);text-transform:capitalize}.scanned-object__results{margin:0 20px}.radio-group{height:30px;background:white;display:flex;justify-content:center;align-items:center;padding:4px;border-radius:4px}.radio-group .label,.radio-group .radio,.radio-group .checkbox{margin:0}.radio-group .radio{height:100%;width:auto;color:var(--N400);display:flex;align-items:center}.radio-group .radio+.radio{margin-top:0}.radio-group input[type=checkbox]{display:contents;overflow:hidden;max-width:0px;height:0;opacity:0;margin:unset}.radio-group input+.radio__item-label{padding:4px 6px;height:100%;width:100%;display:flex;align-items:center;transition:all .5s;cursor:pointer}.radio-group input[type=checkbox]:checked+.radio__item-label{background:#2c3354;color:#fff;border-radius:4px}.select-button__arrow{position:absolute;right:5px}.select-button{border-radius:4px;justify-content:space-between}.select-button.default{height:40px;padding:12px 10px;background-color:#fff}.select-button:disabled{background-color:var(--N100)}.select-button--default{padding:8px 8px 8px 10px;width:100%;font-weight:500;background-color:var(--N000)}.select__label-container{display:inline-block;margin-left:auto}.select__options-container{max-height:220px;overflow:auto;color:var(--N900)}.select__option-with-subtitle{padding:9px 12px;margin-top:2px;display:flex;cursor:pointer;align-items:center}.select__option-with-subtitle--empty-state{color:var(--N500)}.select-popup{max-height:220px;overflow:auto;padding:4px 0;border-radius:4px;border:1px solid var(--N100)}.select__option{padding:10px 12px;line-height:1.5;display:flex;align-items:center;justify-content:flex-start;cursor:pointer;background-color:var(--N000)}.select__option.selected{color:var(--B500);background-color:var(--B100)}.select-button__selected-option{display:inline-block;white-space:nowrap;text-align:left}.select__check-icon{width:16px;height:16px;margin-right:12px}.option-with-subtitle__subtitle{font-size:10px;font-weight:400;font-stretch:normal;line-height:1.33;letter-spacing:normal;color:#404040}.option-group__label{padding:8px 16px;font-size:12px;font-weight:600;font-stretch:normal;font-style:normal;line-height:1.67;letter-spacing:normal;color:var(--N400);text-transform:uppercase}.select__sticky-bottom{position:sticky;bottom:-8px;margin-bottom:-8px;box-shadow:0 -1px 0 0 var(--N200);background-color:inherit;padding:11px 12px;width:100%;display:flex;align-items:center;cursor:pointer;color:var(--B500);font-size:13px}.select__sticky-bottom svg path{fill:var(--B500)}.select__all{height:36px;padding:4px 12px 4px 40px;display:flex;align-items:center;justify-content:flex-start;cursor:pointer;background-color:#f5f5f5}.popup-button:disabled .select-button{background-color:var(--N100)}.select__option-with-subtitle:hover,.select__option:hover{background-color:var(--window-bg)}.select__option-with-subtitle--empty-state:hover{background-color:unset}.rjsf-form-template__field{grid-template-columns:250px 1fr}.rjsf-form-template__additional-fields{grid-template-columns:1fr 1fr minmax(20px,auto)}.rjsf-form-template__array-field-item{grid-template-columns:1fr auto}.rjsf-form-template__array-field-item>:first-child{margin:0}.pagination-wrapper{display:flex;align-items:center;padding:0 24px;justify-content:space-between;margin:0;background-color:var(--white)}.pagination{margin-top:16px;margin-bottom:16px;padding:0}.select{display:flex;align-items:center;position:relative}.select__placeholder{font-size:12px;font-weight:400;font-style:normal;font-stretch:normal;line-height:1.5;letter-spacing:normal;color:var(--N700);margin-right:8px}.pagination__select-menu{padding:0;list-style:none;overflow:hidden;border:solid 1px var(--N200);border-radius:4px;width:64px;position:absolute;bottom:31px;background-color:var(--white)}.select__button{width:64px;background-color:transparent;border-radius:4px;border:solid 1px var(--N200);padding:5px 10px;text-align:left}.select__item{padding:5px 10px;cursor:pointer}.select__icon{margin-left:18px}.page{margin:0 8px;display:inline-block}.page-number{font-size:12px;font-weight:400;font-style:normal;font-stretch:normal;line-height:1.5;letter-spacing:normal;color:var(--N700)}.page__button{width:24px;height:24px;border-radius:8px;color:var(--B500);background-color:var(--white);padding:0;user-select:none}.page__button--icon{background-color:var(--white);color:var(--B500)}.page__button--selected{color:var(--white);background-color:var(--B500)}.page__button:disabled{opacity:.5}.select__item:hover{background-color:var(--N50)}.page__button:hover~:disabled{background-color:var(--B100)}.page__button--selected:hover{color:var(--white);background-color:var(--B500)}@media (min-width: 1024px){.pagination{margin:16px auto}}.user-role-groups__table-row{grid-template-rows:36px}.user-role-groups__table-header,.user-role-groups__table-row{grid-template-columns:20px 200px minmax(300px,1fr);column-gap:16px}.user-role-groups__table-header--with-status,.user-role-groups__table-row--with-status{grid-template-columns:20px 200px minmax(300px,1fr) 185px}.user-role-groups__table-header--with-delete,.user-role-groups__table-row--with-delete{grid-template-columns:20px 200px minmax(300px,1fr) 24px}.user-role-groups__table-header--with-status-and-delete,.user-role-groups__table-row--with-status-and-delete{grid-template-columns:20px 200px minmax(300px,1fr) 185px 24px}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,60 @@
|
|
|
1
|
+
export interface customEnv {
|
|
2
|
+
SENTRY_ENV?: string;
|
|
3
|
+
SENTRY_ERROR_ENABLED?: boolean;
|
|
4
|
+
SENTRY_PERFORMANCE_ENABLED?: boolean;
|
|
5
|
+
SENTRY_DSN?: string;
|
|
6
|
+
SENTRY_TRACES_SAMPLE_RATE?: number;
|
|
7
|
+
HOTJAR_ENABLED?: boolean;
|
|
8
|
+
CLUSTER_NAME?: boolean;
|
|
9
|
+
APPLICATION_METRICS_ENABLED?: boolean;
|
|
10
|
+
GA_ENABLED?: boolean;
|
|
11
|
+
GA_TRACKING_ID?: string;
|
|
12
|
+
GTM_ENABLED?: boolean;
|
|
13
|
+
GTM_ID?: string;
|
|
14
|
+
RECOMMEND_SECURITY_SCANNING?: boolean;
|
|
15
|
+
FORCE_SECURITY_SCANNING?: boolean;
|
|
16
|
+
ENABLE_CI_JOB?: boolean;
|
|
17
|
+
HIDE_DISCORD?: boolean;
|
|
18
|
+
POSTHOG_ENABLED?: boolean;
|
|
19
|
+
POSTHOG_TOKEN?: string;
|
|
20
|
+
DEVTRON_APP_DETAILS_POLLING_INTERVAL?: number;
|
|
21
|
+
HELM_APP_DETAILS_POLLING_INTERVAL?: number;
|
|
22
|
+
EA_APP_DETAILS_POLLING_INTERVAL?: number;
|
|
23
|
+
CENTRAL_API_ENDPOINT?: string;
|
|
24
|
+
HIDE_DEPLOYMENT_GROUPS?: boolean;
|
|
25
|
+
HIDE_GITOPS_OR_HELM_OPTION?: boolean;
|
|
26
|
+
CONFIGURABLE_TIMEOUT?: string;
|
|
27
|
+
HIDE_APPLICATION_GROUPS?: boolean;
|
|
28
|
+
K8S_CLIENT?: boolean;
|
|
29
|
+
CLUSTER_TERMINAL_CONNECTION_POLLING_INTERVAL?: number;
|
|
30
|
+
CLUSTER_TERMINAL_CONNECTION_RETRY_COUNT?: number;
|
|
31
|
+
ENABLE_CHART_SEARCH_IN_HELM_DEPLOY?: boolean;
|
|
32
|
+
HIDE_EXCLUDE_INCLUDE_GIT_COMMITS?: boolean;
|
|
33
|
+
ENABLE_BUILD_CONTEXT?: boolean;
|
|
34
|
+
CLAIR_TOOL_VERSION?: string;
|
|
35
|
+
ENABLE_RESTART_WORKLOAD?: boolean;
|
|
36
|
+
ENABLE_SCOPED_VARIABLES?: boolean;
|
|
37
|
+
DEFAULT_CI_TRIGGER_TYPE_MANUAL: boolean;
|
|
38
|
+
ANNOUNCEMENT_BANNER_MSG?: string;
|
|
39
|
+
LOGIN_PAGE_IMAGE?: string;
|
|
40
|
+
LOGIN_PAGE_IMAGE_BG?: string;
|
|
41
|
+
HIDE_DEFAULT_CLUSTER?: boolean;
|
|
42
|
+
GLOBAL_API_TIMEOUT?: number;
|
|
43
|
+
TRIGGER_API_TIMEOUT?: number;
|
|
44
|
+
NODE_REACT_APP_GIT_SHA?: string;
|
|
45
|
+
REACT_APP_GIT_SHA?: string;
|
|
46
|
+
NODE_ENV?: string;
|
|
47
|
+
LOGIN_DT_LOGO?: string;
|
|
48
|
+
SIDEBAR_DT_LOGO?: string;
|
|
49
|
+
ENABLE_EXTERNAL_ARGO_CD: boolean;
|
|
50
|
+
API_BATCH_SIZE: number;
|
|
51
|
+
SERVICE_WORKER_TIMEOUT?: string;
|
|
52
|
+
}
|
|
1
53
|
declare global {
|
|
2
54
|
interface Window {
|
|
3
55
|
__BASE_URL__: string;
|
|
4
56
|
__ORCHESTRATOR_ROOT__: string;
|
|
57
|
+
_env_: customEnv;
|
|
5
58
|
}
|
|
6
59
|
}
|
|
7
60
|
export * from './Common';
|