@devtron-labs/devtron-fe-common-lib 0.0.81 → 0.0.82
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 -0
- package/dist/Common/Common.service.d.ts +3 -1
- package/dist/Common/Constants.d.ts +11 -0
- package/dist/Common/ErrorPage.d.ts +1 -1
- package/dist/Common/GenericDescription/GenericDescription.d.ts +4 -0
- package/dist/Common/GenericDescription/constant.d.ts +2 -0
- package/dist/Common/GenericDescription/index.d.ts +2 -0
- package/dist/Common/GenericDescription/types.d.ts +14 -0
- package/dist/Common/Helper.d.ts +11 -2
- package/dist/Common/Markdown/constant.d.ts +28 -0
- package/dist/Common/Types.d.ts +1 -1
- package/dist/Common/index.d.ts +1 -0
- package/dist/Shared/Components/ActivityIndicator/ActivityIndicator.d.ts +1 -1
- package/dist/Shared/Components/ActivityIndicator/types.d.ts +2 -0
- package/dist/Shared/Components/BulkSelection/BulkSelection.d.ts +1 -1
- package/dist/Shared/Components/BulkSelection/types.d.ts +1 -0
- package/dist/Shared/Components/ButtonWithSelector/ButtonWithSelector.d.ts +18 -0
- package/dist/Shared/Components/ButtonWithSelector/index.d.ts +1 -0
- package/dist/Shared/Components/ButtonWithSelector/types.d.ts +10 -0
- package/dist/Shared/Components/ReactSelect/utils.d.ts +11 -0
- package/dist/Shared/Components/index.d.ts +1 -0
- package/dist/Shared/Helpers.d.ts +2 -1
- package/dist/Shared/Providers/ImageSelectionUtility/ImageSelectionUtility.d.ts +5 -0
- package/dist/Shared/Providers/ImageSelectionUtility/index.d.ts +1 -0
- package/dist/Shared/Providers/ImageSelectionUtility/types.d.ts +9 -0
- package/dist/Shared/Providers/index.d.ts +1 -0
- package/dist/Shared/constants.d.ts +14 -0
- package/dist/Shared/index.d.ts +1 -0
- package/dist/Shared/types.d.ts +88 -1
- package/dist/Shared/validations.d.ts +10 -0
- package/dist/assets/index.css +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +7196 -6776
- package/package.json +7 -4
package/dist/Common/Api.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { MutableRefObject } from 'react';
|
|
|
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>;
|
|
6
|
+
export declare const patch: (url: string, data: object, options?: APIOptions) => Promise<ResponseType>;
|
|
6
7
|
export declare const get: (url: string, options?: APIOptions) => Promise<ResponseType>;
|
|
7
8
|
export declare const trash: (url: string, data?: object, options?: APIOptions) => Promise<ResponseType>;
|
|
8
9
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TeamList, ResponseType, DeploymentNodeType, CDMaterialServiceEnum, CDMaterialServiceQueryParams, CDMaterialResponseType } from './Types';
|
|
1
|
+
import { TeamList, ResponseType, DeploymentNodeType, CDMaterialServiceEnum, CDMaterialServiceQueryParams, CDMaterialResponseType, CDMaterialFilterQuery } from './Types';
|
|
2
2
|
|
|
3
3
|
export declare const getTeamListMin: () => Promise<TeamList>;
|
|
4
4
|
interface UserRole extends ResponseType {
|
|
@@ -14,9 +14,11 @@ export declare const SourceTypeMap: {
|
|
|
14
14
|
};
|
|
15
15
|
export declare function getUserRole(appName?: string): Promise<UserRole>;
|
|
16
16
|
export declare function setImageTags(request: any, pipelineId: number, artifactId: number): Promise<ResponseType<any>>;
|
|
17
|
+
export declare const processCDMaterialServiceResponse: (cdMaterialsResult: any, stage: DeploymentNodeType, offset: number, filter: CDMaterialFilterQuery, disableDefaultSelection?: boolean) => CDMaterialResponseType;
|
|
17
18
|
export declare const genericCDMaterialsService: (serviceType: CDMaterialServiceEnum, cdMaterialID: number, stage: DeploymentNodeType, signal: AbortSignal, queryParams?: CDMaterialServiceQueryParams) => Promise<CDMaterialResponseType>;
|
|
18
19
|
export declare function extractImage(image: string): string;
|
|
19
20
|
export declare function createGitCommitUrl(url: string, revision: string): string;
|
|
20
21
|
export declare function fetchChartTemplateVersions(): Promise<ResponseType<any>>;
|
|
21
22
|
export declare const getDefaultConfig: () => Promise<ResponseType>;
|
|
23
|
+
export declare function getWebhookEventsForEventId(eventId: string | number): Promise<ResponseType<any>>;
|
|
22
24
|
export {};
|
|
@@ -25,6 +25,8 @@ export declare const URLS: {
|
|
|
25
25
|
GETTING_STARTED: string;
|
|
26
26
|
STACK_MANAGER_ABOUT: string;
|
|
27
27
|
APP_LIST_HELM: string;
|
|
28
|
+
CREATE: string;
|
|
29
|
+
RELEASES: string;
|
|
28
30
|
};
|
|
29
31
|
export declare const ROUTES: {
|
|
30
32
|
APP_ARTIFACT_PROMOTE_MATERIAL: string;
|
|
@@ -41,6 +43,9 @@ export declare const ROUTES: {
|
|
|
41
43
|
SERVER_INFO_API: string;
|
|
42
44
|
ATTRIBUTES_USER: string;
|
|
43
45
|
UPDATE: string;
|
|
46
|
+
CLUSTER_NOTE: string;
|
|
47
|
+
APPLICATION_NOTE: string;
|
|
48
|
+
GIT_HOST_EVENT: string;
|
|
44
49
|
};
|
|
45
50
|
export declare enum KEY_VALUE {
|
|
46
51
|
KEY = "key",
|
|
@@ -197,6 +202,7 @@ export declare enum ReactSelectInputAction {
|
|
|
197
202
|
export declare const ZERO_TIME_STRING = "0001-01-01T00:00:00Z";
|
|
198
203
|
export declare const EXCLUDED_FALSY_VALUES: readonly [any, any, "", number];
|
|
199
204
|
export declare const API_STATUS_CODES: {
|
|
205
|
+
BAD_REQUEST: number;
|
|
200
206
|
UNAUTHORIZED: number;
|
|
201
207
|
PERMISSION_DENIED: number;
|
|
202
208
|
NOT_FOUND: number;
|
|
@@ -222,3 +228,8 @@ export declare const POSTHOG_EVENT_ONBOARDING: {
|
|
|
222
228
|
export declare const MAX_LOGIN_COUNT = 5;
|
|
223
229
|
export declare const BULK_EDIT_HEADER = "Bulk Edit";
|
|
224
230
|
export declare const LOGIN_COUNT = "login-count";
|
|
231
|
+
export declare const DATE_TIME_FORMATS: {
|
|
232
|
+
TWELVE_HOURS_FORMAT: string;
|
|
233
|
+
TWELVE_HOURS_FORMAT_WITHOUT_WEEKDAY: string;
|
|
234
|
+
TWELVE_HOURS_EXPORT_FORMAT: string;
|
|
235
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ErrorPageType } from './Types';
|
|
2
2
|
|
|
3
|
-
declare const ErrorPage: ({ code, image, title, subTitle, imageType, heightToDeduct }: ErrorPageType) => JSX.Element;
|
|
3
|
+
declare const ErrorPage: ({ code, image, title, subTitle, imageType, heightToDeduct, reload }: ErrorPageType) => JSX.Element;
|
|
4
4
|
export default ErrorPage;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { GenericDescriptionProps } from './types';
|
|
2
|
+
|
|
3
|
+
declare const GenericDescription: ({ text, updatedBy, updatedOn, isDescriptionPreview, tabIndex, updateDescription, title, minEditorHeight, }: GenericDescriptionProps) => JSX.Element;
|
|
4
|
+
export default GenericDescription;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface GenericDescriptionProps {
|
|
2
|
+
text?: string;
|
|
3
|
+
updatedBy?: string;
|
|
4
|
+
updatedOn?: string;
|
|
5
|
+
isDescriptionPreview: boolean;
|
|
6
|
+
updateDescription: (string: any) => Promise<void>;
|
|
7
|
+
title: string;
|
|
8
|
+
tabIndex?: number;
|
|
9
|
+
minEditorHeight?: number;
|
|
10
|
+
}
|
|
11
|
+
export declare enum MDEditorSelectedTabType {
|
|
12
|
+
WRITE = "write",
|
|
13
|
+
PREVIEW = "preview"
|
|
14
|
+
}
|
package/dist/Common/Helper.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AsyncOptions, UseSearchString } from './Types';
|
|
2
|
-
import { default as React } from 'react';
|
|
2
|
+
import { default as React, SyntheticEvent } from 'react';
|
|
3
3
|
|
|
4
4
|
export declare function showError(serverError: any, showToastOnUnknownError?: boolean, hideAccessError?: boolean): void;
|
|
5
5
|
interface ConditionalWrapper<T> {
|
|
@@ -10,6 +10,7 @@ interface ConditionalWrapper<T> {
|
|
|
10
10
|
export declare const ConditionalWrap: React.FC<ConditionalWrapper<any>>;
|
|
11
11
|
export declare function sortCallback(key: string, a: any, b: any, isCaseSensitive?: boolean): 0 | 1 | -1;
|
|
12
12
|
export declare const stopPropagation: (event: any) => void;
|
|
13
|
+
export declare const preventDefault: (event: SyntheticEvent) => void;
|
|
13
14
|
export declare function useThrottledEffect(callback: any, delay: any, deps?: any[]): void;
|
|
14
15
|
export declare function getRandomColor(email: string): string;
|
|
15
16
|
export declare const getAlphabetIcon: (str: string, rootClassName?: string) => JSX.Element;
|
|
@@ -47,7 +48,7 @@ export declare const processDeployedTime: (lastDeployed: any, isArgoInstalled: a
|
|
|
47
48
|
* @param url URL to which the search params needs to be added
|
|
48
49
|
* @param params Object for the search parameters
|
|
49
50
|
*/
|
|
50
|
-
export declare const getUrlWithSearchParams: (url: string, params
|
|
51
|
+
export declare const getUrlWithSearchParams: (url: string, params?: Record<string | number, any>) => string;
|
|
51
52
|
/**
|
|
52
53
|
* Custom exception logger function for logging errors to sentry
|
|
53
54
|
*/
|
|
@@ -77,4 +78,12 @@ export declare const handleRelativeDateSorting: (dateStringA: any, dateStringB:
|
|
|
77
78
|
* Returns a stringified YAML with default indentation & line width
|
|
78
79
|
*/
|
|
79
80
|
export declare const YAMLStringify: (obj: object | unknown, option?: object) => string;
|
|
81
|
+
/**
|
|
82
|
+
* compare Object Length of the object
|
|
83
|
+
*/
|
|
84
|
+
export declare const compareObjectLength: (objA: any, objB: any) => boolean;
|
|
85
|
+
/**
|
|
86
|
+
* Return deep copy of the object
|
|
87
|
+
*/
|
|
88
|
+
export declare function deepEqual(configA: any, configB: any): boolean;
|
|
80
89
|
export {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export declare const DEFAULT_MARKDOWN_EDITOR_PREVIEW_MESSAGE = "\n<br>\nNothing to preview\n";
|
|
2
|
+
export declare const MARKDOWN_EDITOR_COMMANDS: string[][];
|
|
3
|
+
export declare enum MARKDOWN_EDITOR_COMMAND_TITLE {
|
|
4
|
+
HEADER = "header",
|
|
5
|
+
BOLD = "bold",
|
|
6
|
+
ITALIC = "italic",
|
|
7
|
+
STRIKETHROUGH = "strikethrough",
|
|
8
|
+
LINK = "link",
|
|
9
|
+
QUOTE = "quote",
|
|
10
|
+
CODE = "code",
|
|
11
|
+
IMAGE = "image",
|
|
12
|
+
UNORDERED_LIST = "unordered-list",
|
|
13
|
+
ORDERED_LIST = "ordered-list",
|
|
14
|
+
CHECKED_LIST = "checked-list"
|
|
15
|
+
}
|
|
16
|
+
export declare const MARKDOWN_EDITOR_COMMAND_ICON_TIPPY_CONTENT: {
|
|
17
|
+
header: string;
|
|
18
|
+
bold: string;
|
|
19
|
+
italic: string;
|
|
20
|
+
strikethrough: string;
|
|
21
|
+
link: string;
|
|
22
|
+
quote: string;
|
|
23
|
+
code: string;
|
|
24
|
+
image: string;
|
|
25
|
+
"unordered-list": string;
|
|
26
|
+
"ordered-list": string;
|
|
27
|
+
"checked-list": string;
|
|
28
|
+
};
|
package/dist/Common/Types.d.ts
CHANGED
|
@@ -116,7 +116,7 @@ export interface GenericEmptyStateType {
|
|
|
116
116
|
layout?: 'row' | 'column';
|
|
117
117
|
contentClassName?: string;
|
|
118
118
|
}
|
|
119
|
-
export interface ErrorPageType extends Pick<GenericEmptyStateType, 'image' | 'title' | 'subTitle' | 'renderButton' | 'imageType'> {
|
|
119
|
+
export interface ErrorPageType extends Pick<GenericEmptyStateType, 'image' | 'title' | 'subTitle' | 'renderButton' | 'imageType'>, Pick<ErrorScreenManagerProps, 'reload'> {
|
|
120
120
|
code: number;
|
|
121
121
|
heightToDeduct?: number;
|
|
122
122
|
}
|
package/dist/Common/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ActivityIndicatorProps } from './types';
|
|
2
2
|
|
|
3
|
-
declare const ActivityIndicator: ({ rootClassName }: ActivityIndicatorProps) => JSX.Element;
|
|
3
|
+
declare const ActivityIndicator: ({ rootClassName, backgroundColorClass, iconSizeClass, }: ActivityIndicatorProps) => JSX.Element;
|
|
4
4
|
export default ActivityIndicator;
|
|
@@ -28,6 +28,7 @@ export interface UseBulkSelectionReturnType<T> extends GetBulkSelectionCheckboxV
|
|
|
28
28
|
}
|
|
29
29
|
export interface BulkSelectionProps {
|
|
30
30
|
showPagination: boolean;
|
|
31
|
+
disabled?: boolean;
|
|
31
32
|
}
|
|
32
33
|
export interface BulkSelectionDropdownItemsType {
|
|
33
34
|
locator: BulkSelectionEvents;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ButtonWithSelectorProps } from './types';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Button With Selector
|
|
5
|
+
* @param content Content to show in button
|
|
6
|
+
* @param onClick Handler Function for button click
|
|
7
|
+
* @param children Dropdown Content
|
|
8
|
+
* @param className Other Classes to be applied
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx
|
|
12
|
+
* <ButtonWithSelector content='Create Job' onClick={() => {}} className=''>
|
|
13
|
+
* {dropdownOptions}
|
|
14
|
+
* </ButtonWithSelector>
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
declare const ButtonWithSelector: ({ content, onClick, children, className, popUpBodyClassName, showPopUp, }: ButtonWithSelectorProps) => JSX.Element;
|
|
18
|
+
export default ButtonWithSelector;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ButtonWithSelector } from './ButtonWithSelector';
|
|
@@ -13,3 +13,14 @@ export declare const getCustomOptionSelectionStyle: (styleOverrides?: {}) => (ba
|
|
|
13
13
|
export declare const SelectOption: (props: any) => JSX.Element;
|
|
14
14
|
export declare const LoadingIndicator: () => JSX.Element;
|
|
15
15
|
export declare const GroupHeading: (props: any) => JSX.Element;
|
|
16
|
+
export declare const commonSelectStyles: {
|
|
17
|
+
container: (base: any, state: any) => any;
|
|
18
|
+
menuList: (base: any) => any;
|
|
19
|
+
control: (base: any, state: any) => any;
|
|
20
|
+
option: (base: any, state: any) => any;
|
|
21
|
+
dropdownIndicator: (base: any, state: any) => any;
|
|
22
|
+
valueContainer: (base: any) => any;
|
|
23
|
+
loadingMessage: (base: any) => any;
|
|
24
|
+
noOptionsMessage: (base: any) => any;
|
|
25
|
+
placeholder: (base: any) => any;
|
|
26
|
+
};
|
package/dist/Shared/Helpers.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GitTriggers } from './types';
|
|
1
|
+
import { GitTriggers, WebhookEventNameType } from './types';
|
|
2
2
|
import { MaterialInfo } from '../Common';
|
|
3
3
|
|
|
4
4
|
interface HighlightSearchTextProps {
|
|
@@ -20,5 +20,6 @@ export declare const preventBodyScroll: (lock: boolean) => void;
|
|
|
20
20
|
export declare const getIsMaterialInfoAvailable: (materialInfo: MaterialInfo[]) => boolean;
|
|
21
21
|
export declare const getGitCommitInfo: (materialInfo: MaterialInfo) => GitTriggers;
|
|
22
22
|
export declare const caseInsensitiveStringComparator: (a: string, b: string) => number;
|
|
23
|
+
export declare const getWebhookEventIcon: (eventName: WebhookEventNameType) => JSX.Element;
|
|
23
24
|
export declare const isNullOrUndefined: (value: unknown) => boolean;
|
|
24
25
|
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ImageSelectionUtilityContextType, ImageSelectionUtilityProviderProps } from './types';
|
|
2
|
+
|
|
3
|
+
export declare const ImageSelectionUtilityContext: import('react').Context<ImageSelectionUtilityContextType>;
|
|
4
|
+
export declare const useImageSelectionUtilityContext: () => ImageSelectionUtilityContextType;
|
|
5
|
+
export declare const ImageSelectionUtilityProvider: ({ children, value }: ImageSelectionUtilityProviderProps) => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ImageSelectionUtility';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface ImageSelectionUtilityContextType {
|
|
3
|
+
gitCommitInfoGeneric: (...props: any[]) => JSX.Element;
|
|
4
|
+
getModuleInfo: (moduleName: string) => Promise<any>;
|
|
5
|
+
}
|
|
6
|
+
export interface ImageSelectionUtilityProviderProps {
|
|
7
|
+
children: React.ReactNode;
|
|
8
|
+
value: ImageSelectionUtilityContextType;
|
|
9
|
+
}
|
|
@@ -29,3 +29,17 @@ export declare const ModuleNameMap: {
|
|
|
29
29
|
};
|
|
30
30
|
export declare const DATE_TIME_FORMAT_STRING = "ddd DD MMM YYYY HH:mm:ss";
|
|
31
31
|
export declare const API_TOKEN_PREFIX = "API-TOKEN:";
|
|
32
|
+
export declare enum PatchOperationType {
|
|
33
|
+
replace = "replace",
|
|
34
|
+
remove = "remove"
|
|
35
|
+
}
|
|
36
|
+
export declare enum DeploymentStageType {
|
|
37
|
+
PRE = "PRE",
|
|
38
|
+
DEPLOY = "DEPLOY",
|
|
39
|
+
POST = "POST"
|
|
40
|
+
}
|
|
41
|
+
export declare enum DeploymentWithConfigType {
|
|
42
|
+
LAST_SAVED_CONFIG = "LAST_SAVED_CONFIG",
|
|
43
|
+
LATEST_TRIGGER_CONFIG = "LATEST_TRIGGER_CONFIG",
|
|
44
|
+
SPECIFIC_TRIGGER_CONFIG = "SPECIFIC_TRIGGER_CONFIG"
|
|
45
|
+
}
|
package/dist/Shared/index.d.ts
CHANGED
package/dist/Shared/types.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PatchOperationType } from './constants';
|
|
2
|
+
import { OptionType, CommonNodeAttr, ResponseType, UserApprovalConfigType, VulnerabilityType } from '../Common';
|
|
2
3
|
|
|
3
4
|
export declare enum RegistryType {
|
|
4
5
|
GIT = "git",
|
|
@@ -95,6 +96,88 @@ export declare enum CIMaterialSidebarType {
|
|
|
95
96
|
CODE_SOURCE = "Code Source",
|
|
96
97
|
PARAMETERS = "Parameters"
|
|
97
98
|
}
|
|
99
|
+
/**
|
|
100
|
+
* @example Usage with specific enum for path & `unknown` type for value
|
|
101
|
+
* ```ts
|
|
102
|
+
* enum PatchKeys {
|
|
103
|
+
* name = 'name',
|
|
104
|
+
* description = 'description',
|
|
105
|
+
* }
|
|
106
|
+
*
|
|
107
|
+
* const query: PatchQueryType<PatchKeys> = {
|
|
108
|
+
* op: PatchOperationType.replace,
|
|
109
|
+
* path: PatchKeys.name,
|
|
110
|
+
* value: '1'
|
|
111
|
+
* }
|
|
112
|
+
* ```
|
|
113
|
+
*
|
|
114
|
+
* @example Usage with specific enum for path & custom type for value
|
|
115
|
+
* ```ts
|
|
116
|
+
* enum PatchKeys {
|
|
117
|
+
* name = 'name',
|
|
118
|
+
* description = 'description',
|
|
119
|
+
* }
|
|
120
|
+
*
|
|
121
|
+
* const query: PatchQueryType<PatchKeys, number> = {
|
|
122
|
+
* op: PatchOperationType.replace,
|
|
123
|
+
* path: PatchKeys.name,
|
|
124
|
+
* value: 1
|
|
125
|
+
* }
|
|
126
|
+
* ```
|
|
127
|
+
*
|
|
128
|
+
* @example Usage with `PatchOperationType.remove`
|
|
129
|
+
* Note: Value is not allowed for remove operation
|
|
130
|
+
*
|
|
131
|
+
* ```ts
|
|
132
|
+
* const query: PatchQueryType<string> = {
|
|
133
|
+
* op: PatchOperationType.remove,
|
|
134
|
+
* path: 'name'
|
|
135
|
+
* }
|
|
136
|
+
* ```
|
|
137
|
+
*/
|
|
138
|
+
export type PatchQueryType<T extends string, K = unknown> = {
|
|
139
|
+
/**
|
|
140
|
+
* The path of the json to be patched
|
|
141
|
+
*/
|
|
142
|
+
path: T;
|
|
143
|
+
} & ({
|
|
144
|
+
/**
|
|
145
|
+
* Operation type for patch
|
|
146
|
+
*/
|
|
147
|
+
op: PatchOperationType.replace;
|
|
148
|
+
/**
|
|
149
|
+
* Corresponding value for the operation
|
|
150
|
+
*/
|
|
151
|
+
value: K;
|
|
152
|
+
} | {
|
|
153
|
+
/**
|
|
154
|
+
* Operation type for patch
|
|
155
|
+
*/
|
|
156
|
+
op: PatchOperationType.remove;
|
|
157
|
+
value?: never;
|
|
158
|
+
});
|
|
159
|
+
export interface GroupedOptionsType {
|
|
160
|
+
label: string;
|
|
161
|
+
options: OptionType[];
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* Enum for devtron resources
|
|
165
|
+
*/
|
|
166
|
+
export declare enum ResourceKindType {
|
|
167
|
+
devtronApplication = "application/devtron-application",
|
|
168
|
+
helmChart = "application/helm-application",
|
|
169
|
+
job = "job",
|
|
170
|
+
cluster = "cluster",
|
|
171
|
+
release = "release",
|
|
172
|
+
releaseTrack = "release-track"
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* Versions support for the resources on BE
|
|
176
|
+
*/
|
|
177
|
+
export declare enum ResourceVersionType {
|
|
178
|
+
v1 = "v1",
|
|
179
|
+
alpha1 = "alpha1"
|
|
180
|
+
}
|
|
98
181
|
export interface LastExecutionResultType {
|
|
99
182
|
lastExecution: string;
|
|
100
183
|
severityCount: {
|
|
@@ -122,6 +205,10 @@ export interface MaterialSecurityInfoType {
|
|
|
122
205
|
isScanned: boolean;
|
|
123
206
|
isScanEnabled: boolean;
|
|
124
207
|
}
|
|
208
|
+
export declare enum WebhookEventNameType {
|
|
209
|
+
PULL_REQUEST = "Pull Request",
|
|
210
|
+
TAG_CREATION = "Tag Creation"
|
|
211
|
+
}
|
|
125
212
|
export declare enum Nodes {
|
|
126
213
|
Service = "Service",
|
|
127
214
|
Alertmanager = "Alertmanager",
|
|
@@ -2,6 +2,16 @@ export interface ValidationResponseType {
|
|
|
2
2
|
isValid: boolean;
|
|
3
3
|
message?: string;
|
|
4
4
|
}
|
|
5
|
+
export declare const MESSAGES: {
|
|
6
|
+
PROVIDE_A_NUMBER: string;
|
|
7
|
+
LOWERCASE_ALPHANUMERIC: string;
|
|
8
|
+
CAN_NOT_START_END_WITH_SEPARATORS: string;
|
|
9
|
+
getMinMaxCharMessage: (min: number, max: number) => string;
|
|
10
|
+
getMaxCharMessage: (max: number) => string;
|
|
11
|
+
VALID_POSITIVE_NUMBER: string;
|
|
12
|
+
VALID_POSITIVE_INTEGER: string;
|
|
13
|
+
MAX_SAFE_INTEGER: string;
|
|
14
|
+
};
|
|
5
15
|
export declare const validateName: (name: string) => ValidationResponseType;
|
|
6
16
|
export declare const validateDescription: (description: string) => ValidationResponseType;
|
|
7
17
|
export declare const validateRequiredPositiveNumber: (value: string | number) => ValidationResponseType;
|
package/dist/assets/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.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}.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)}.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)}.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:20px;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}.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}}.markdown{padding:0 20px 20px}.markdown .table-container{width:100%;overflow-x:auto}.markdown table{border-spacing:0;border-collapse:collapse}.markdown table tbody td,.markdown table tbody th{padding:6px 13px;border:1px solid #dfe2e5}.markdown table tbody tr{height:37px}.markdown table tbody tr:nth-child(2n+3){background:#f6f8fa}.markdown table tbody tr:first-child th{text-align:center}.markdown table code{background-color:#1b1f230d}.markdown pre{padding:16px;border:unset;overflow:auto;font-size:85%;line-height:1.45;background-color:#f7f7f7;border-radius:3px}.markdown pre code{display:inline;margin:0;overflow:visible;line-height:inherit;word-wrap:normal;white-space:pre;border:0}.markdown a.anchor{color:var(--N900)}.rounded-ends:first-child{border-radius:100% 0 0 100%}.rounded-ends:last-child{border-radius:0 100% 100% 0}.dot{border-radius:100%}.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
|
+
.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}.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)}.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)}.button-with-selector{border-left:1px solid rgba(255,255,255,.2)}.button-with-selector:hover,.button-with-selector:active,.button-with-selector:focus{border:none;border-left:1px solid rgba(255,255,255,.2);background-color:var(--B600)}.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:20px;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}.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}}.markdown{padding:0 20px 20px}.markdown .table-container{width:100%;overflow-x:auto}.markdown table{border-spacing:0;border-collapse:collapse}.markdown table tbody td,.markdown table tbody th{padding:6px 13px;border:1px solid #dfe2e5}.markdown table tbody tr{height:37px}.markdown table tbody tr:nth-child(2n+3){background:#f6f8fa}.markdown table tbody tr:first-child th{text-align:center}.markdown table code{background-color:#1b1f230d}.markdown pre{padding:16px;border:unset;overflow:auto;font-size:85%;line-height:1.45;background-color:#f7f7f7;border-radius:3px}.markdown pre code{display:inline;margin:0;overflow:visible;line-height:inherit;word-wrap:normal;white-space:pre;border:0}.markdown a.anchor{color:var(--N900)}.mde-header{flex-shrink:0;display:flex;flex-wrap:wrap;align-items:stretch;border-bottom:1px solid #c8ccd0;border-radius:2px 2px 0 0;background:#f9f9f9}.mde-header .mde-tabs{display:flex;flex-direction:row}.mde-header .mde-tabs button{border-radius:2px;margin:6px 3px;background-color:transparent;border:1px solid transparent;cursor:pointer}.mde-header .mde-tabs button:first-child{margin-left:6px}.mde-header .mde-tabs button.selected{border:1px solid #c8ccd0}.mde-header .svg-icon{width:1em;height:1em;display:inline-block;font-size:inherit;overflow:visible;vertical-align:-.125em}.mde-header ul.mde-header-group{margin:0;padding:10px;list-style:none;display:flex;flex-wrap:nowrap}.mde-header ul.mde-header-group.hidden{visibility:hidden}.mde-header ul.mde-header-group li.mde-header-item{display:inline-block;position:relative;margin:0 4px}.mde-header ul.mde-header-group li.mde-header-item button{text-align:left;cursor:pointer;height:22px;padding:4px;margin:0;border:none;background:none;color:#242729}@keyframes tooltip-appear{0%{opacity:0}to{opacity:1}}.mde-header ul.mde-header-group li.mde-header-item button.tooltipped:hover:before{animation-name:tooltip-appear;animation-duration:.2s;animation-delay:.5s;animation-fill-mode:forwards;opacity:0;position:absolute;z-index:1000001;width:0;height:0;color:#000c;pointer-events:none;content:"";border:5px solid transparent;top:-5px;right:50%;bottom:auto;margin-right:-5px;border-top-color:#000c}.mde-header ul.mde-header-group li.mde-header-item button.tooltipped:hover:after{animation-name:tooltip-appear;animation-duration:.2s;animation-delay:.5s;animation-fill-mode:forwards;font-size:11px;opacity:0;position:absolute;z-index:1000000;padding:5px 8px;color:#fff;pointer-events:none;content:attr(aria-label);background:rgba(0,0,0,.8);border-radius:3px;right:50%;bottom:100%;transform:translate(50%);margin-bottom:5px;white-space:nowrap}.mde-textarea-wrapper{position:relative}.mde-textarea-wrapper textarea.mde-text{width:100%;border:0;padding:10px;vertical-align:top;resize:vertical;overflow-y:auto}.mde-preview .mde-preview-content{padding:10px}.mde-preview .mde-preview-content p,.mde-preview .mde-preview-content blockquote,.mde-preview .mde-preview-content ul,.mde-preview .mde-preview-content ol,.mde-preview .mde-preview-content dl,.mde-preview .mde-preview-content table,.mde-preview .mde-preview-content pre{margin-top:0;margin-bottom:16px}.mde-preview .mde-preview-content h1,.mde-preview .mde-preview-content h2,.mde-preview .mde-preview-content h3{margin-top:24px;margin-bottom:16px;font-weight:600;line-height:1.25;border-bottom:1px solid #eee;padding-bottom:.3em}.mde-preview .mde-preview-content h1{font-size:1.6em}.mde-preview .mde-preview-content h2{font-size:1.4em}.mde-preview .mde-preview-content h3{font-size:1.2em}.mde-preview .mde-preview-content ul,.mde-preview .mde-preview-content ol{padding-left:2em}.mde-preview .mde-preview-content blockquote{margin-left:0;padding:0 1em;color:#777;border-left:.25em solid #ddd}.mde-preview .mde-preview-content blockquote>:first-child{margin-top:0}.mde-preview .mde-preview-content blockquote>:last-child{margin-bottom:0}.mde-preview .mde-preview-content code{padding:.2em 0;margin:0;font-size:90%;background-color:#0000000a;border-radius:3px}.mde-preview .mde-preview-content code:before,.mde-preview .mde-preview-content code:after{letter-spacing:-.2em;content:" "}.mde-preview .mde-preview-content pre{padding:16px;overflow:auto;font-size:85%;line-height:1.45;background-color:#f7f7f7;border-radius:3px}.mde-preview .mde-preview-content pre code{display:inline;padding:0;margin:0;overflow:visible;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}.mde-preview .mde-preview-content pre code:before,.mde-preview .mde-preview-content pre code:after{content:none}.mde-preview .mde-preview-content pre>code{padding:0;margin:0;font-size:100%;word-break:normal;white-space:pre;background:transparent;border:0}.mde-preview .mde-preview-content a{color:#4078c0;text-decoration:none}.mde-preview .mde-preview-content a:hover{text-decoration:underline}.mde-preview .mde-preview-content>*:first-child{margin-top:0!important}.mde-preview .mde-preview-content>*:last-child{margin-bottom:0!important}.mde-preview .mde-preview-content:after{display:table;clear:both;content:""}.mde-preview .mde-preview-content table{display:block;width:100%;border-spacing:0;border-collapse:collapse}.mde-preview .mde-preview-content table thead th{font-weight:700}.mde-preview .mde-preview-content table th,.mde-preview .mde-preview-content table td{padding:6px 13px;border:1px solid #c8ccd0}.react-mde{border:1px solid #c8ccd0;border-radius:2px}.react-mde *{box-sizing:border-box}.react-mde .invisible{display:none}.react-mde .image-tip{user-select:none;display:flex!important;padding:7px 10px;margin:0;font-size:13px;line-height:16px;color:gray;background-color:#f9f9f9;border-top:1px solid #c8ccd0;position:relative}.react-mde .image-tip .image-input{min-height:0;opacity:.01;width:100%!important;position:absolute;top:0;left:0;padding:5px;cursor:pointer}ul.mde-suggestions{position:absolute;min-width:180px;padding:0;margin:20px 0 0;list-style:none;cursor:pointer;background:#fff;border:1px solid #c8ccd0;border-radius:3px;box-shadow:0 1px 5px #1b1f2326}ul.mde-suggestions li{padding:4px 8px;border-bottom:1px solid #e1e4e8}ul.mde-suggestions li:first-child{border-top-left-radius:2px;border-top-right-radius:2px}ul.mde-suggestions li:last-child{border-bottom-right-radius:2px;border-bottom-left-radius:2px}ul.mde-suggestions li:hover,ul.mde-suggestions li[aria-selected=true]{color:#fff;background-color:#0366d6}.tab-description .tab-list__tab .tab-hover:hover,.tab-description .tab-list__tab .tab-hover.active{color:var(--B500)}.tab-description .tab-list__tab .tab-hover:hover .edit-yaml-icon path,.tab-description .tab-list__tab .tab-hover.active .edit-yaml-icon path{stroke:var(--B500)}.tab-description .tab-list__tab .tab-hover:hover .terminal-icon path,.tab-description .tab-list__tab .tab-hover.active .terminal-icon path{fill:var(--B500)}.tab-description .tab-list__tab .node-details__active-tab{height:2px;background-color:var(--B500);border-radius:2px 2px 0 0;margin-top:-1px}.cluster__body-details{flex-basis:100%}.cluster__body-details .pencil-icon:hover{color:var(--B500);text-decoration:none}.cluster__body-details .pencil-icon:hover svg path{stroke:var(--B500)}.cluster__body-details .mark-down-editor-container{border-bottom:1px solid var(--N200);border-radius:3px 3px 0 0;font-family:Open Sans,Arial,sans-serif!important;font-size:13px!important;line-height:1.67}.cluster__body-details .mark-down-editor-container .mark-down-editor-preview{background-color:#fff!important}.cluster__body-details .mark-down-editor-container .mark-down-editor-textarea-wrapper{border-radius:3px!important;border:1px solid var(--N200)!important;background-color:var(--N50)!important}.cluster__body-details .mark-down-editor-container .mde-textarea-wrapper{background-color:#fff!important;padding:10px!important}.cluster__body-details .mark-down-editor-container .mark-down-editor-toolbar{justify-content:space-between!important;padding-left:16px!important;padding-right:16px!important;background-color:#fff!important}.cluster__body-details .mark-down-editor-container .mde-header{height:36px!important}.cluster__body-details .mark-down-editor-container .mde-header .mde-tabs{height:inherit!important}.cluster__body-details .mark-down-editor-container .mde-header .mde-tabs button{padding-left:0!important;padding-right:0!important;margin:0 16px 0 0!important;padding-top:4px!important}.cluster__body-details .mark-down-editor-container .mde-header .mde-tabs .active-tab{border-bottom:2px solid var(--B500)!important;border-radius:0!important}.cluster__body-details .mark-down-editor-container .mde-header ul.mde-header-group{height:inherit!important;display:flex!important;justify-content:center!important;align-items:center!important;padding-top:0!important;padding-bottom:0!important;padding-right:0!important}.cluster__body-details .mark-down-editor-container .mde-header ul.mde-header-group .mde-header-item button{padding:10px 4px!important;height:inherit!important}.cluster__body-details .mark-down-editor-container .mde-preview .mde-preview-content{padding:0!important}.cluster__body-details .mark-down-editor-container .mde-preview .mde-preview-content a.anchor{color:var(--N900)}.cluster__body-details .mark-down-editor-container .mark-down-editor__hidden{display:none!important}.cluster__body-details .mark-down-editor__no-border{border:0px}.cluster__body-details .cluster__description-footer{border-radius:0 0 3px 3px;border:1px solid var(--N200);border-top:0px}.cluster__description-footer{border-radius:0 0 3px 3px;border:1px solid var(--N200)}.create-app-description{border-bottom:1px solid var(--N200)!important;border-radius:3px!important}.rounded-ends:first-child{border-radius:100% 0 0 100%}.rounded-ends:last-child{border-radius:0 100% 100% 0}.dot{border-radius:100%}.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
|
@@ -49,6 +49,7 @@ export interface customEnv {
|
|
|
49
49
|
ENABLE_EXTERNAL_ARGO_CD: boolean;
|
|
50
50
|
API_BATCH_SIZE: number;
|
|
51
51
|
SERVICE_WORKER_TIMEOUT?: string;
|
|
52
|
+
HIDE_RELEASES?: boolean;
|
|
52
53
|
ENABLE_RESOURCE_SCAN?: boolean;
|
|
53
54
|
FEATURE_USER_DEFINED_GITOPS_REPO_ENABLE: boolean;
|
|
54
55
|
ENABLE_RESOURCE_SCAN_V2?: boolean;
|