@devtron-labs/devtron-fe-common-lib 1.19.4 → 1.20.0
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/{@code-editor-D2U9F6h2.js → @code-editor-3C-BQlAW.js} +8066 -7920
- package/dist/{@common-rjsf-BQSkXbLx.js → @common-rjsf-Bka55zwe.js} +1 -1
- package/dist/Common/CIPipeline.Types.d.ts +1 -0
- package/dist/Common/Common.service.d.ts +1 -1
- package/dist/Common/Constants.d.ts +3 -0
- package/dist/Common/ErrorPage.d.ts +1 -1
- package/dist/Common/ErrorScreenManager.d.ts +1 -1
- package/dist/Common/Helper.d.ts +1 -1
- package/dist/Common/Hooks/UseRegisterShortcut/index.d.ts +1 -0
- package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +1 -1
- package/dist/Common/InteractiveCellText/InteractiveCellText.d.ts +27 -0
- package/dist/Common/InteractiveCellText/index.d.ts +2 -0
- package/dist/Common/InteractiveCellText/types.d.ts +10 -0
- package/dist/Common/RJSF/Form.d.ts +1 -1
- package/dist/Common/RJSF/utils.d.ts +1 -1
- package/dist/Common/Types.d.ts +13 -2
- package/dist/Common/index.d.ts +1 -0
- package/dist/Shared/Components/ActionMenu/useActionMenu.hook.d.ts +8 -8
- package/dist/Shared/Components/Button/Button.component.d.ts +68 -68
- package/dist/Shared/Components/CICDHistory/Artifacts.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/types.d.ts +2 -0
- package/dist/Shared/Components/CodeEditor/utils.d.ts +1 -1
- package/dist/Shared/Components/GitProviderIcon/utils.d.ts +1 -0
- package/dist/Shared/Components/Icon/Icon.d.ts +13 -0
- package/dist/Shared/Components/Illustration/Illustration.d.ts +1 -0
- package/dist/Shared/Components/MaterialHistory/MaterialHistory.component.d.ts +1 -1
- package/dist/Shared/Components/MaterialHistory/types.d.ts +1 -2
- package/dist/Shared/Components/Popover/utils.d.ts +1 -1
- package/dist/Shared/Components/RegistryIcon/RegistryIcon.d.ts +1 -1
- package/dist/Shared/Components/RegistryIcon/types.d.ts +17 -2
- package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +1 -1
- package/dist/Shared/Components/Table/TableContent.d.ts +1 -1
- package/dist/Shared/Components/Table/types.d.ts +8 -4
- package/dist/Shared/Components/Table/utils.d.ts +1 -1
- package/dist/Shared/Services/ToastManager/ToastContent.d.ts +2 -1
- package/dist/Shared/Services/ToastManager/constants.d.ts +2 -2
- package/dist/Shared/Services/ToastManager/toastManager.service.d.ts +1 -1
- package/dist/Shared/Services/ToastManager/types.d.ts +23 -3
- package/dist/Shared/Services/app.service.d.ts +3 -3
- package/dist/assets/@code-editor.css +1 -1
- package/dist/assets/ic-aws-codecommit.236f850c.svg +10 -0
- package/dist/assets/ic-diff-added.6ef6f938.svg +3 -0
- package/dist/assets/ic-diff-deleted.54eb24dd.svg +3 -0
- package/dist/assets/ic-diff-updated.294b925e.svg +4 -0
- package/dist/assets/ic-group-filter-applied.2cdb11e7.svg +20 -0
- package/dist/assets/{ic-folder.051cd30d.svg → ic-group-filter.ed1869f5.svg} +3 -3
- package/dist/assets/ic-input.57281408.svg +3 -0
- package/dist/assets/ic-locked.dd40e181.svg +3 -0
- package/dist/assets/ic-storage.03f282b6.svg +21 -0
- package/dist/assets/ic-tag.5fdc7834.svg +3 -0
- package/dist/assets/ic-warning-fill.bfea8b38.svg +4 -0
- package/dist/assets/img-mechanical-operation.04a318d6.svg +17 -0
- package/dist/index.js +901 -898
- package/package.json +1 -1
@@ -1,7 +1,7 @@
|
|
1
1
|
import { j as n, au as T, aw as J, av as K } from "./@vendor-3ORIJA0h.js";
|
2
2
|
import V, { useState as q, useEffect as Y, forwardRef as G, useMemo as E } from "react";
|
3
3
|
import z, { getDefaultRegistry as Q } from "@rjsf/core";
|
4
|
-
import { T as O, j as F, c as w, b as N, S as X, i as Z, g as ee, a as te, d as R, e as ne } from "./@code-editor-
|
4
|
+
import { T as O, j as F, c as w, b as N, S as X, i as Z, g as ee, a as te, d as R, e as ne } from "./@code-editor-3C-BQlAW.js";
|
5
5
|
import { getUiOptions as B, getTemplate as $, getSubmitButtonOptions as re, ADDITIONAL_PROPERTY_FLAG as L, errorId as se, englishStringTranslator as ae, TranslatableString as oe, titleId as le, canExpand as ie, deepEquals as ce } from "@rjsf/utils";
|
6
6
|
import { ReactComponent as de } from "./assets/ic-add.cfaa779b.svg";
|
7
7
|
import { ReactComponent as ue } from "./assets/ic-warning.ecf7ff97.svg";
|
@@ -18,7 +18,7 @@ export declare function extractImage(image: string): string;
|
|
18
18
|
export declare function createGitCommitUrl(url: string, revision: string): string;
|
19
19
|
export declare function fetchChartTemplateVersions(): Promise<ResponseType<any>>;
|
20
20
|
export declare const getDefaultConfig: () => Promise<ResponseType>;
|
21
|
-
export declare function getEnvironmentListMinPublic(includeAllowedDeploymentTypes?: boolean): Promise<ResponseType<any>>;
|
21
|
+
export declare function getEnvironmentListMinPublic(includeAllowedDeploymentTypes?: boolean, options?: APIOptions): Promise<ResponseType<any>>;
|
22
22
|
export declare function getClusterListMin(): Promise<ResponseType<any>>;
|
23
23
|
export declare const getResourceGroupListRaw: (clusterId: string) => Promise<ResponseType<ApiResourceType>>;
|
24
24
|
export declare function getNamespaceListMin(clusterIdsCsv: string, abortControllerRef?: APIOptions['abortControllerRef']): Promise<EnvironmentListHelmResponse>;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { SelectPickerOptionType } from '../Shared/Components';
|
1
2
|
export declare const FALLBACK_REQUEST_TIMEOUT = 60000;
|
2
3
|
export declare const Host: string;
|
3
4
|
export declare const DOCUMENTATION_HOME_PAGE = "https://docs.devtron.ai";
|
@@ -364,3 +365,5 @@ export declare enum SSOProvider {
|
|
364
365
|
oidc = "oidc",
|
365
366
|
openshift = "openshift"
|
366
367
|
}
|
368
|
+
export declare const BULK_DEPLOY_LATEST_IMAGE_TAG: SelectPickerOptionType<string>;
|
369
|
+
export declare const BULK_DEPLOY_ACTIVE_IMAGE_TAG: SelectPickerOptionType<string>;
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { ErrorPageType } from './Types';
|
2
|
-
declare const ErrorPage: ({ code, image, title, subTitle, imageType, redirectURL, reload }: ErrorPageType) => JSX.Element;
|
2
|
+
declare const ErrorPage: ({ code, image, title, subTitle, imageType, redirectURL, reload, on404Redirect }: ErrorPageType) => JSX.Element;
|
3
3
|
export default ErrorPage;
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { ErrorScreenManagerProps } from './Types';
|
2
|
-
declare const ErrorScreenManager: ({ code, reload, subtitle, reloadClass, redirectURL, imageType, }: ErrorScreenManagerProps) => JSX.Element;
|
2
|
+
declare const ErrorScreenManager: ({ code, reload, subtitle, reloadClass, redirectURL, on404Redirect, imageType, }: ErrorScreenManagerProps) => JSX.Element;
|
3
3
|
export default ErrorScreenManager;
|
package/dist/Common/Helper.d.ts
CHANGED
@@ -10,7 +10,7 @@ interface ConditionalWrapper<T> {
|
|
10
10
|
children: T;
|
11
11
|
}
|
12
12
|
export declare const ConditionalWrap: React.FC<ConditionalWrapper<any>>;
|
13
|
-
export declare function sortCallback(key: string, a: any, b: any, isCaseSensitive?: boolean): 1 |
|
13
|
+
export declare function sortCallback(key: string, a: any, b: any, isCaseSensitive?: boolean): 1 | -1 | 0;
|
14
14
|
export declare const stopPropagation: (event: any) => void;
|
15
15
|
export declare const preventDefault: (event: SyntheticEvent) => void;
|
16
16
|
export declare function useThrottledEffect(callback: any, delay: any, deps?: any[]): void;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ShortcutType } from './types';
|
2
2
|
export declare const preprocessKeys: (keys: ShortcutType["keys"]) => {
|
3
|
-
keys: ("N" | "R" | "Alt" | "F" | "E" | "K" | "X" | "A" | "S" | "
|
3
|
+
keys: ("N" | "R" | "Enter" | "/" | "Alt" | "F" | "E" | "K" | "X" | "A" | "S" | "Home" | "End" | "." | "Space" | "Control" | "Shift" | "Meta" | "Escape" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "ArrowDown" | "PageUp" | "PageDown" | "Backspace" | "Delete")[];
|
4
4
|
id: string;
|
5
5
|
};
|
6
6
|
export declare const verifyCallbackStack: (stack: ShortcutType["callbackStack"]) => void;
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import { InteractiveCellTextProps } from './types';
|
2
|
+
/**
|
3
|
+
* A reusable component for rendering text within a tooltip. The text can be interactive (clickable) or static.
|
4
|
+
*
|
5
|
+
* @param {Object} props - The props for the component.
|
6
|
+
* @param {string} props.text - The text to display inside the component. Defaults to `'-'` if not provided.
|
7
|
+
* @param {function} [props.onClickHandler] - Optional click handler function. If provided, the text will be rendered as a button.
|
8
|
+
* @param {string} [props.dataTestId] - Optional test ID for the component, useful for testing purposes.
|
9
|
+
* @param {string} [props.rootClassName] - Additional CSS class names to apply to the root element.
|
10
|
+
* @param {boolean} [props.interactive=false] - Whether the tooltip content is interactive.
|
11
|
+
* @param {number} [props.fontSize=13] - Font size for the text. Defaults to `13`.
|
12
|
+
* @param {React.ReactNode} [props.tippyContent=null] - Custom content for the tooltip. If not provided, `text` will be used.
|
13
|
+
* @returns {JSX.Element} The rendered `InteractiveCellText` component.
|
14
|
+
*
|
15
|
+
* @example
|
16
|
+
* // Example usage:
|
17
|
+
* <InteractiveCellText
|
18
|
+
* text="Click me"
|
19
|
+
* onClickHandler={() => alert('Clicked!')}
|
20
|
+
* dataTestId="interactive-cell"
|
21
|
+
* rootClassName="custom-class"
|
22
|
+
* interactive={true}
|
23
|
+
* fontSize={14}
|
24
|
+
* tippyContent="Tooltip content"
|
25
|
+
* />
|
26
|
+
*/
|
27
|
+
export declare const InteractiveCellText: ({ text, onClickHandler, dataTestId, rootClassName, interactive, fontSize, tippyContent, }: InteractiveCellTextProps) => JSX.Element;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { TippyCustomizedProps } from '../Types';
|
2
|
+
export interface InteractiveCellTextProps {
|
3
|
+
text: string;
|
4
|
+
onClickHandler?: () => void;
|
5
|
+
dataTestId?: string;
|
6
|
+
rootClassName?: string;
|
7
|
+
interactive?: boolean;
|
8
|
+
fontSize?: number;
|
9
|
+
tippyContent?: TippyCustomizedProps<false>['additionalContent'];
|
10
|
+
}
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { default as RJSF } from '@rjsf/core';
|
2
2
|
import { FormProps } from './types';
|
3
|
-
export declare const RJSFForm: import('react').ForwardRefExoticComponent<Pick<FormProps, "children" | "className" | "name" | "id" | "disabled" | "target" | "onFocus" | "onBlur" | "onChange" | "onSubmit" | "onError" | "autoComplete" | "acceptCharset" | "action" | "method" | "noValidate" | "
|
3
|
+
export declare const RJSFForm: import('react').ForwardRefExoticComponent<Pick<FormProps, "children" | "className" | "name" | "id" | "disabled" | "tagName" | "target" | "onFocus" | "onBlur" | "onChange" | "onSubmit" | "onError" | "autoComplete" | "acceptCharset" | "action" | "method" | "noValidate" | "readonly" | "uiSchema" | "schema" | "formContext" | "formData" | "idPrefix" | "idSeparator" | "fields" | "templates" | "widgets" | "translateString" | "acceptcharset" | "enctype" | "customValidate" | "extraErrors" | "extraErrorsBlockSubmit" | "noHtml5Validate" | "liveValidate" | "liveOmit" | "omitExtraData" | "showErrorList" | "transformErrors" | "focusOnFirstError" | "experimental_defaultFormStateBehavior" | "_internalFormWrapper"> & import('react').RefAttributes<RJSF<any, import('./types').RJSFFormSchema, any>>>;
|
@@ -13,7 +13,7 @@ export declare const getRedirectionProps: (url: string) => React.AnchorHTMLAttri
|
|
13
13
|
/**
|
14
14
|
* Infers the type for json schema from value type
|
15
15
|
*/
|
16
|
-
export declare const getInferredTypeFromValueType: (value: any) => "string" | "number" | "boolean" | "object" | "
|
16
|
+
export declare const getInferredTypeFromValueType: (value: any) => "string" | "number" | "boolean" | "object" | "array" | "null";
|
17
17
|
export declare const conformPathToPointers: (path: string) => string;
|
18
18
|
export declare const parseSchemaHiddenType: (hiddenSchema: HiddenType) => MetaHiddenType;
|
19
19
|
export declare const getSchemaPathToUpdatePathMap: (schema: RJSFFormSchema) => Record<string, string>;
|
package/dist/Common/Types.d.ts
CHANGED
@@ -141,20 +141,29 @@ export interface GenericEmptyStateType {
|
|
141
141
|
export interface ErrorPageType extends Pick<GenericEmptyStateType, 'image' | 'title' | 'subTitle' | 'renderButton' | 'imageType'>, Pick<ErrorScreenManagerProps, 'reload' | 'redirectURL'> {
|
142
142
|
code: number;
|
143
143
|
redirectURL?: string;
|
144
|
+
on404Redirect?: () => void;
|
144
145
|
reload?: () => void;
|
145
146
|
}
|
146
|
-
export
|
147
|
+
export type ErrorScreenManagerProps = {
|
147
148
|
code?: number;
|
148
149
|
imageType?: ImageType;
|
149
150
|
reload?: (...args: any[]) => any;
|
150
151
|
subtitle?: React.ReactChild;
|
151
152
|
reloadClass?: string;
|
153
|
+
} & ({
|
152
154
|
/**
|
153
155
|
* Would be used to redirect URL in case of 404
|
154
156
|
* @default - APP_LIST
|
155
157
|
*/
|
156
158
|
redirectURL?: string;
|
157
|
-
|
159
|
+
on404Redirect?: never;
|
160
|
+
} | {
|
161
|
+
redirectURL?: never;
|
162
|
+
on404Redirect: () => void;
|
163
|
+
} | {
|
164
|
+
redirectURL?: never;
|
165
|
+
on404Redirect?: never;
|
166
|
+
});
|
158
167
|
export interface ErrorScreenNotAuthorizedProps {
|
159
168
|
subtitle?: React.ReactChild;
|
160
169
|
title?: string;
|
@@ -384,6 +393,8 @@ export interface CDMaterialListModalServiceUtilProps {
|
|
384
393
|
artifactId?: number;
|
385
394
|
artifactStatus?: string;
|
386
395
|
disableDefaultSelection?: boolean;
|
396
|
+
isExceptionUser: boolean;
|
397
|
+
isApprovalConfigured: boolean;
|
387
398
|
}
|
388
399
|
export interface CDMaterialType {
|
389
400
|
index: number;
|
package/dist/Common/index.d.ts
CHANGED
@@ -25,6 +25,7 @@ export * from './Helper';
|
|
25
25
|
export * from './Hooks';
|
26
26
|
export * from './ImageTags';
|
27
27
|
export * from './ImageTags.Types';
|
28
|
+
export * from './InteractiveCellText';
|
28
29
|
export * from './Markdown';
|
29
30
|
export * from './Modals/Modal';
|
30
31
|
export * from './Modals/VisibleModal';
|
@@ -9,7 +9,7 @@ export declare const useActionMenu: <T extends string | number>({ id, position,
|
|
9
9
|
}[];
|
10
10
|
filteredOptions: import('./types').ActionMenuOptionType<T>[];
|
11
11
|
focusedIndex: number;
|
12
|
-
itemsRef: import('react').MutableRefObject<RefObject<
|
12
|
+
itemsRef: import('react').MutableRefObject<RefObject<HTMLButtonElement | HTMLAnchorElement>[]>;
|
13
13
|
triggerProps: import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & {
|
14
14
|
bounds: Pick<DOMRect, "left" | "top" | "height" | "width">;
|
15
15
|
};
|
@@ -26,12 +26,16 @@ export declare const useActionMenu: <T extends string | number>({ id, position,
|
|
26
26
|
about?: string;
|
27
27
|
is?: string;
|
28
28
|
security?: string;
|
29
|
+
hidden?: boolean;
|
30
|
+
prefix?: string;
|
31
|
+
resource?: string;
|
32
|
+
draggable?: boolean | "true" | "false";
|
33
|
+
onClick?: import('react').MouseEventHandler<HTMLDivElement>;
|
29
34
|
onMouseEnter?: import('react').MouseEventHandler<HTMLDivElement>;
|
30
35
|
"aria-describedby"?: string;
|
31
36
|
"aria-errormessage"?: string;
|
32
37
|
"aria-label"?: string;
|
33
38
|
"aria-labelledby"?: string;
|
34
|
-
onClick?: import('react').MouseEventHandler<HTMLDivElement>;
|
35
39
|
defaultChecked?: boolean;
|
36
40
|
suppressContentEditableWarning?: boolean;
|
37
41
|
suppressHydrationWarning?: boolean;
|
@@ -39,8 +43,6 @@ export declare const useActionMenu: <T extends string | number>({ id, position,
|
|
39
43
|
contentEditable?: "inherit" | (boolean | "true" | "false");
|
40
44
|
contextMenu?: string;
|
41
45
|
dir?: string;
|
42
|
-
draggable?: boolean | "true" | "false";
|
43
|
-
hidden?: boolean;
|
44
46
|
lang?: string;
|
45
47
|
placeholder?: string;
|
46
48
|
spellCheck?: boolean | "true" | "false";
|
@@ -49,9 +51,7 @@ export declare const useActionMenu: <T extends string | number>({ id, position,
|
|
49
51
|
radioGroup?: string;
|
50
52
|
datatype?: string;
|
51
53
|
inlist?: any;
|
52
|
-
prefix?: string;
|
53
54
|
property?: string;
|
54
|
-
resource?: string;
|
55
55
|
typeof?: string;
|
56
56
|
vocab?: string;
|
57
57
|
autoCapitalize?: string;
|
@@ -67,14 +67,14 @@ export declare const useActionMenu: <T extends string | number>({ id, position,
|
|
67
67
|
inputMode?: "search" | "text" | "none" | "url" | "tel" | "email" | "numeric" | "decimal";
|
68
68
|
"aria-activedescendant"?: string;
|
69
69
|
"aria-atomic"?: boolean | "true" | "false";
|
70
|
-
"aria-autocomplete"?: "
|
70
|
+
"aria-autocomplete"?: "none" | "list" | "inline" | "both";
|
71
71
|
"aria-busy"?: boolean | "true" | "false";
|
72
72
|
"aria-checked"?: boolean | "true" | "false" | "mixed";
|
73
73
|
"aria-colcount"?: number;
|
74
74
|
"aria-colindex"?: number;
|
75
75
|
"aria-colspan"?: number;
|
76
76
|
"aria-controls"?: string;
|
77
|
-
"aria-current"?: boolean | "time" | "
|
77
|
+
"aria-current"?: boolean | "time" | "location" | "true" | "false" | "page" | "step" | "date";
|
78
78
|
"aria-details"?: string;
|
79
79
|
"aria-disabled"?: boolean | "true" | "false";
|
80
80
|
"aria-dropeffect"?: "link" | "none" | "popup" | "copy" | "execute" | "move";
|
@@ -66,12 +66,12 @@ import { ButtonComponentType, ButtonStyleType, ButtonVariantType } from './types
|
|
66
66
|
* ```
|
67
67
|
*/
|
68
68
|
declare const Button: import('react').ForwardRefExoticComponent<(Pick<{
|
69
|
-
ref?: import('react').Ref<
|
70
|
-
component
|
69
|
+
ref?: import('react').Ref<HTMLButtonElement>;
|
70
|
+
component?: ButtonComponentType.button;
|
71
|
+
buttonProps?: Omit<import('react').ButtonHTMLAttributes<HTMLButtonElement>, "children" | "styles" | "className" | "disabled" | "onClick">;
|
71
72
|
linkProps?: never;
|
72
|
-
|
73
|
-
|
74
|
-
onClick?: import('react').AnchorHTMLAttributes<HTMLAnchorElement>["onClick"];
|
73
|
+
anchorProps?: never;
|
74
|
+
onClick?: import('react').ButtonHTMLAttributes<HTMLButtonElement>["onClick"];
|
75
75
|
} & {
|
76
76
|
id?: string;
|
77
77
|
variant?: ButtonVariantType;
|
@@ -100,13 +100,13 @@ declare const Button: import('react').ForwardRefExoticComponent<(Pick<{
|
|
100
100
|
startIcon?: import('react').ReactElement;
|
101
101
|
endIcon?: import('react').ReactElement;
|
102
102
|
fontWeight?: "bold" | "normal";
|
103
|
-
}, "style" | "text" | "id" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "
|
104
|
-
ref?: import('react').Ref<
|
105
|
-
component
|
103
|
+
}, "style" | "text" | "id" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "ariaLabel" | "icon" | "buttonProps" | "isLoading" | "onClick" | "fullWidth" | "fontWeight" | "component" | "linkProps" | "anchorProps" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
|
104
|
+
ref?: import('react').Ref<HTMLButtonElement>;
|
105
|
+
component?: ButtonComponentType.button;
|
106
|
+
buttonProps?: Omit<import('react').ButtonHTMLAttributes<HTMLButtonElement>, "children" | "styles" | "className" | "disabled" | "onClick">;
|
106
107
|
linkProps?: never;
|
107
|
-
|
108
|
-
|
109
|
-
onClick?: import('react').AnchorHTMLAttributes<HTMLAnchorElement>["onClick"];
|
108
|
+
anchorProps?: never;
|
109
|
+
onClick?: import('react').ButtonHTMLAttributes<HTMLButtonElement>["onClick"];
|
110
110
|
} & {
|
111
111
|
id?: string;
|
112
112
|
variant?: ButtonVariantType;
|
@@ -135,13 +135,13 @@ declare const Button: import('react').ForwardRefExoticComponent<(Pick<{
|
|
135
135
|
startIcon?: never;
|
136
136
|
endIcon?: never;
|
137
137
|
fontWeight?: never;
|
138
|
-
}, "style" | "text" | "id" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "
|
139
|
-
ref?: import('react').Ref<
|
140
|
-
component
|
138
|
+
}, "style" | "text" | "id" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "ariaLabel" | "icon" | "buttonProps" | "isLoading" | "onClick" | "fullWidth" | "fontWeight" | "component" | "linkProps" | "anchorProps" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
|
139
|
+
ref?: import('react').Ref<HTMLButtonElement>;
|
140
|
+
component?: ButtonComponentType.button;
|
141
|
+
buttonProps?: Omit<import('react').ButtonHTMLAttributes<HTMLButtonElement>, "children" | "styles" | "className" | "disabled" | "onClick">;
|
141
142
|
linkProps?: never;
|
142
|
-
|
143
|
-
|
144
|
-
onClick?: import('react').AnchorHTMLAttributes<HTMLAnchorElement>["onClick"];
|
143
|
+
anchorProps?: never;
|
144
|
+
onClick?: import('react').ButtonHTMLAttributes<HTMLButtonElement>["onClick"];
|
145
145
|
} & {
|
146
146
|
id?: string;
|
147
147
|
variant?: ButtonVariantType;
|
@@ -164,13 +164,13 @@ declare const Button: import('react').ForwardRefExoticComponent<(Pick<{
|
|
164
164
|
startIcon?: import('react').ReactElement;
|
165
165
|
endIcon?: import('react').ReactElement;
|
166
166
|
fontWeight?: "bold" | "normal";
|
167
|
-
}, "style" | "text" | "id" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "
|
168
|
-
ref?: import('react').Ref<
|
169
|
-
component
|
167
|
+
}, "style" | "text" | "id" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "ariaLabel" | "icon" | "buttonProps" | "isLoading" | "onClick" | "fullWidth" | "fontWeight" | "component" | "linkProps" | "anchorProps" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
|
168
|
+
ref?: import('react').Ref<HTMLButtonElement>;
|
169
|
+
component?: ButtonComponentType.button;
|
170
|
+
buttonProps?: Omit<import('react').ButtonHTMLAttributes<HTMLButtonElement>, "children" | "styles" | "className" | "disabled" | "onClick">;
|
170
171
|
linkProps?: never;
|
171
|
-
|
172
|
-
|
173
|
-
onClick?: import('react').AnchorHTMLAttributes<HTMLAnchorElement>["onClick"];
|
172
|
+
anchorProps?: never;
|
173
|
+
onClick?: import('react').ButtonHTMLAttributes<HTMLButtonElement>["onClick"];
|
174
174
|
} & {
|
175
175
|
id?: string;
|
176
176
|
variant?: ButtonVariantType;
|
@@ -193,13 +193,13 @@ declare const Button: import('react').ForwardRefExoticComponent<(Pick<{
|
|
193
193
|
startIcon?: never;
|
194
194
|
endIcon?: never;
|
195
195
|
fontWeight?: never;
|
196
|
-
}, "style" | "text" | "id" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "
|
197
|
-
ref?: import('react').Ref<
|
198
|
-
component
|
199
|
-
|
200
|
-
|
196
|
+
}, "style" | "text" | "id" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "ariaLabel" | "icon" | "buttonProps" | "isLoading" | "onClick" | "fullWidth" | "fontWeight" | "component" | "linkProps" | "anchorProps" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
|
197
|
+
ref?: import('react').Ref<HTMLAnchorElement>;
|
198
|
+
component: ButtonComponentType.link;
|
199
|
+
linkProps: Omit<import('react-router-dom').LinkProps, "children" | "styles" | "className" | "onClick">;
|
200
|
+
buttonProps?: never;
|
201
201
|
anchorProps?: never;
|
202
|
-
onClick?: import('react').
|
202
|
+
onClick?: import('react-router-dom').LinkProps["onClick"];
|
203
203
|
} & {
|
204
204
|
id?: string;
|
205
205
|
variant?: ButtonVariantType;
|
@@ -228,13 +228,13 @@ declare const Button: import('react').ForwardRefExoticComponent<(Pick<{
|
|
228
228
|
startIcon?: import('react').ReactElement;
|
229
229
|
endIcon?: import('react').ReactElement;
|
230
230
|
fontWeight?: "bold" | "normal";
|
231
|
-
}, "style" | "text" | "id" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "
|
232
|
-
ref?: import('react').Ref<
|
233
|
-
component
|
234
|
-
|
235
|
-
|
231
|
+
}, "style" | "text" | "id" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "ariaLabel" | "icon" | "buttonProps" | "isLoading" | "onClick" | "fullWidth" | "fontWeight" | "component" | "linkProps" | "anchorProps" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
|
232
|
+
ref?: import('react').Ref<HTMLAnchorElement>;
|
233
|
+
component: ButtonComponentType.link;
|
234
|
+
linkProps: Omit<import('react-router-dom').LinkProps, "children" | "styles" | "className" | "onClick">;
|
235
|
+
buttonProps?: never;
|
236
236
|
anchorProps?: never;
|
237
|
-
onClick?: import('react').
|
237
|
+
onClick?: import('react-router-dom').LinkProps["onClick"];
|
238
238
|
} & {
|
239
239
|
id?: string;
|
240
240
|
variant?: ButtonVariantType;
|
@@ -263,13 +263,13 @@ declare const Button: import('react').ForwardRefExoticComponent<(Pick<{
|
|
263
263
|
startIcon?: never;
|
264
264
|
endIcon?: never;
|
265
265
|
fontWeight?: never;
|
266
|
-
}, "style" | "text" | "id" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "
|
267
|
-
ref?: import('react').Ref<
|
268
|
-
component
|
269
|
-
|
270
|
-
|
266
|
+
}, "style" | "text" | "id" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "ariaLabel" | "icon" | "buttonProps" | "isLoading" | "onClick" | "fullWidth" | "fontWeight" | "component" | "linkProps" | "anchorProps" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
|
267
|
+
ref?: import('react').Ref<HTMLAnchorElement>;
|
268
|
+
component: ButtonComponentType.link;
|
269
|
+
linkProps: Omit<import('react-router-dom').LinkProps, "children" | "styles" | "className" | "onClick">;
|
270
|
+
buttonProps?: never;
|
271
271
|
anchorProps?: never;
|
272
|
-
onClick?: import('react').
|
272
|
+
onClick?: import('react-router-dom').LinkProps["onClick"];
|
273
273
|
} & {
|
274
274
|
id?: string;
|
275
275
|
variant?: ButtonVariantType;
|
@@ -292,13 +292,13 @@ declare const Button: import('react').ForwardRefExoticComponent<(Pick<{
|
|
292
292
|
startIcon?: import('react').ReactElement;
|
293
293
|
endIcon?: import('react').ReactElement;
|
294
294
|
fontWeight?: "bold" | "normal";
|
295
|
-
}, "style" | "text" | "id" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "
|
296
|
-
ref?: import('react').Ref<
|
297
|
-
component
|
298
|
-
|
299
|
-
|
295
|
+
}, "style" | "text" | "id" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "ariaLabel" | "icon" | "buttonProps" | "isLoading" | "onClick" | "fullWidth" | "fontWeight" | "component" | "linkProps" | "anchorProps" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
|
296
|
+
ref?: import('react').Ref<HTMLAnchorElement>;
|
297
|
+
component: ButtonComponentType.link;
|
298
|
+
linkProps: Omit<import('react-router-dom').LinkProps, "children" | "styles" | "className" | "onClick">;
|
299
|
+
buttonProps?: never;
|
300
300
|
anchorProps?: never;
|
301
|
-
onClick?: import('react').
|
301
|
+
onClick?: import('react-router-dom').LinkProps["onClick"];
|
302
302
|
} & {
|
303
303
|
id?: string;
|
304
304
|
variant?: ButtonVariantType;
|
@@ -321,13 +321,13 @@ declare const Button: import('react').ForwardRefExoticComponent<(Pick<{
|
|
321
321
|
startIcon?: never;
|
322
322
|
endIcon?: never;
|
323
323
|
fontWeight?: never;
|
324
|
-
}, "style" | "text" | "id" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "
|
324
|
+
}, "style" | "text" | "id" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "ariaLabel" | "icon" | "buttonProps" | "isLoading" | "onClick" | "fullWidth" | "fontWeight" | "component" | "linkProps" | "anchorProps" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
|
325
325
|
ref?: import('react').Ref<HTMLAnchorElement>;
|
326
|
-
component: ButtonComponentType.
|
327
|
-
linkProps
|
326
|
+
component: ButtonComponentType.anchor;
|
327
|
+
linkProps?: never;
|
328
328
|
buttonProps?: never;
|
329
|
-
anchorProps
|
330
|
-
onClick?: import('react
|
329
|
+
anchorProps: Omit<import('react').AnchorHTMLAttributes<HTMLAnchorElement>, "children" | "styles" | "className" | "onClick">;
|
330
|
+
onClick?: import('react').AnchorHTMLAttributes<HTMLAnchorElement>["onClick"];
|
331
331
|
} & {
|
332
332
|
id?: string;
|
333
333
|
variant?: ButtonVariantType;
|
@@ -356,13 +356,13 @@ declare const Button: import('react').ForwardRefExoticComponent<(Pick<{
|
|
356
356
|
startIcon?: import('react').ReactElement;
|
357
357
|
endIcon?: import('react').ReactElement;
|
358
358
|
fontWeight?: "bold" | "normal";
|
359
|
-
}, "style" | "text" | "id" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "
|
359
|
+
}, "style" | "text" | "id" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "ariaLabel" | "icon" | "buttonProps" | "isLoading" | "onClick" | "fullWidth" | "fontWeight" | "component" | "linkProps" | "anchorProps" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
|
360
360
|
ref?: import('react').Ref<HTMLAnchorElement>;
|
361
|
-
component: ButtonComponentType.
|
362
|
-
linkProps
|
361
|
+
component: ButtonComponentType.anchor;
|
362
|
+
linkProps?: never;
|
363
363
|
buttonProps?: never;
|
364
|
-
anchorProps
|
365
|
-
onClick?: import('react
|
364
|
+
anchorProps: Omit<import('react').AnchorHTMLAttributes<HTMLAnchorElement>, "children" | "styles" | "className" | "onClick">;
|
365
|
+
onClick?: import('react').AnchorHTMLAttributes<HTMLAnchorElement>["onClick"];
|
366
366
|
} & {
|
367
367
|
id?: string;
|
368
368
|
variant?: ButtonVariantType;
|
@@ -391,13 +391,13 @@ declare const Button: import('react').ForwardRefExoticComponent<(Pick<{
|
|
391
391
|
startIcon?: never;
|
392
392
|
endIcon?: never;
|
393
393
|
fontWeight?: never;
|
394
|
-
}, "style" | "text" | "id" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "
|
394
|
+
}, "style" | "text" | "id" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "ariaLabel" | "icon" | "buttonProps" | "isLoading" | "onClick" | "fullWidth" | "fontWeight" | "component" | "linkProps" | "anchorProps" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
|
395
395
|
ref?: import('react').Ref<HTMLAnchorElement>;
|
396
|
-
component: ButtonComponentType.
|
397
|
-
linkProps
|
396
|
+
component: ButtonComponentType.anchor;
|
397
|
+
linkProps?: never;
|
398
398
|
buttonProps?: never;
|
399
|
-
anchorProps
|
400
|
-
onClick?: import('react
|
399
|
+
anchorProps: Omit<import('react').AnchorHTMLAttributes<HTMLAnchorElement>, "children" | "styles" | "className" | "onClick">;
|
400
|
+
onClick?: import('react').AnchorHTMLAttributes<HTMLAnchorElement>["onClick"];
|
401
401
|
} & {
|
402
402
|
id?: string;
|
403
403
|
variant?: ButtonVariantType;
|
@@ -420,13 +420,13 @@ declare const Button: import('react').ForwardRefExoticComponent<(Pick<{
|
|
420
420
|
startIcon?: import('react').ReactElement;
|
421
421
|
endIcon?: import('react').ReactElement;
|
422
422
|
fontWeight?: "bold" | "normal";
|
423
|
-
}, "style" | "text" | "id" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "
|
423
|
+
}, "style" | "text" | "id" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "ariaLabel" | "icon" | "buttonProps" | "isLoading" | "onClick" | "fullWidth" | "fontWeight" | "component" | "linkProps" | "anchorProps" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
|
424
424
|
ref?: import('react').Ref<HTMLAnchorElement>;
|
425
|
-
component: ButtonComponentType.
|
426
|
-
linkProps
|
425
|
+
component: ButtonComponentType.anchor;
|
426
|
+
linkProps?: never;
|
427
427
|
buttonProps?: never;
|
428
|
-
anchorProps
|
429
|
-
onClick?: import('react
|
428
|
+
anchorProps: Omit<import('react').AnchorHTMLAttributes<HTMLAnchorElement>, "children" | "styles" | "className" | "onClick">;
|
429
|
+
onClick?: import('react').AnchorHTMLAttributes<HTMLAnchorElement>["onClick"];
|
430
430
|
} & {
|
431
431
|
id?: string;
|
432
432
|
variant?: ButtonVariantType;
|
@@ -449,5 +449,5 @@ declare const Button: import('react').ForwardRefExoticComponent<(Pick<{
|
|
449
449
|
startIcon?: never;
|
450
450
|
endIcon?: never;
|
451
451
|
fontWeight?: never;
|
452
|
-
}, "style" | "text" | "id" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "
|
452
|
+
}, "style" | "text" | "id" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "ariaLabel" | "icon" | "buttonProps" | "isLoading" | "onClick" | "fullWidth" | "fontWeight" | "component" | "linkProps" | "anchorProps" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy">) & import('react').RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
|
453
453
|
export default Button;
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import { ArtifactType, CIListItemType } from './types';
|
2
|
-
export declare const CIListItem: ({ type, userApprovalMetadata, triggeredBy, children, ciPipelineId, artifactId, imageComment, imageReleaseTags, appReleaseTagNames, tagsEditable, hideImageTaggingHardDelete, appliedFilters, isSuperAdmin, promotionApprovalMetadata, appliedFiltersTimestamp, selectedEnvironmentName, renderCIListHeader, targetPlatforms, isDeploymentWithoutApproval, }: CIListItemType) => JSX.Element;
|
2
|
+
export declare const CIListItem: ({ type, userApprovalMetadata, triggeredBy, children, ciPipelineId, artifactId, imageComment, imageReleaseTags, appReleaseTagNames, tagsEditable, hideImageTaggingHardDelete, appliedFilters, isSuperAdmin, promotionApprovalMetadata, appliedFiltersTimestamp, selectedEnvironmentName, renderCIListHeader, targetPlatforms, isDeploymentWithoutApproval, artifact, }: CIListItemType) => JSX.Element;
|
3
3
|
declare const Artifacts: ({ status, artifact, blobStorageEnabled, isArtifactUploaded, downloadArtifactUrl, ciPipelineId, artifactId, isJobCI, imageComment, imageReleaseTags, appReleaseTagNames, tagsEditable, hideImageTaggingHardDelete, rootClassName, renderCIListHeader, targetPlatforms, }: ArtifactType) => JSX.Element;
|
4
4
|
export default Artifacts;
|
@@ -345,6 +345,7 @@ export type CIListItemType = Pick<History, 'promotionApprovalMetadata' | 'isDepl
|
|
345
345
|
tagsEditable: boolean;
|
346
346
|
hideImageTaggingHardDelete: boolean;
|
347
347
|
isSuperAdmin: boolean;
|
348
|
+
artifact: string;
|
348
349
|
} | {
|
349
350
|
type: 'report';
|
350
351
|
targetPlatforms?: never;
|
@@ -356,6 +357,7 @@ export type CIListItemType = Pick<History, 'promotionApprovalMetadata' | 'isDepl
|
|
356
357
|
tagsEditable?: never;
|
357
358
|
hideImageTaggingHardDelete?: never;
|
358
359
|
isSuperAdmin?: never;
|
360
|
+
artifact?: never;
|
359
361
|
});
|
360
362
|
export interface TriggerOutputProps extends RenderRunSourceType, Pick<TriggerDetailsType, 'renderTargetConfigInfo'> {
|
361
363
|
fullScreenView: boolean;
|
@@ -10,7 +10,7 @@ export declare const getUpdatedSearchMatchesCount: (newQuery: SearchQuery, view:
|
|
10
10
|
current: number;
|
11
11
|
};
|
12
12
|
export declare const updateDiffMinimapValues: (view: MergeView, transactions: readonly Transaction[], side: "a" | "b") => void;
|
13
|
-
export declare const getScanLimit: (lhsValue: string, value: string) =>
|
13
|
+
export declare const getScanLimit: (lhsValue: string, value: string) => 10000 | 500 | 5000 | 15000 | 20000;
|
14
14
|
export declare const getFoldGutterElement: (open: boolean) => HTMLSpanElement;
|
15
15
|
export declare const getReadOnlyElement: () => HTMLDivElement;
|
16
16
|
export declare const getRevertControlButton: () => HTMLButtonElement;
|