@devtron-labs/devtron-fe-common-lib 1.12.0-beta-8 → 1.12.0-beta-10
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-Bvc6gB-1.js → @common-rjsf-DEJF-ChY.js} +14141 -13581
- package/dist/{@framer-motion-BaOj5B1h.js → @framer-motion-Hh5HoZEj.js} +1 -1
- package/dist/{@react-dates-CdRpENvm.js → @react-dates-RAg1eRYJ.js} +14 -14
- package/dist/{@react-select-BLSAqXV1.js → @react-select-Cyc43HrK.js} +1 -1
- package/dist/{@react-virtualized-sticky-tree-BLmFnJWD.js → @react-virtualized-sticky-tree-Cby7tsJ8.js} +1 -1
- package/dist/{@vendor-SjXFleuT.js → @vendor-BZpoz8Ez.js} +18390 -19220
- package/dist/Common/Checkbox.d.ts +5 -0
- package/dist/Common/Constants.d.ts +2 -1
- package/dist/Common/Drawer/index.d.ts +1 -0
- package/dist/Common/EmptyState/index.d.ts +2 -0
- package/dist/Common/Helper.d.ts +4 -1
- package/dist/Common/RJSF/Form.d.ts +1 -1
- package/dist/Common/Toggle/Toggle.d.ts +4 -1
- package/dist/Common/Types.d.ts +1 -10
- package/dist/Common/index.d.ts +2 -4
- package/dist/Shared/Components/AboutDevtron/AboutDevtronBody.d.ts +4 -0
- package/dist/Shared/Components/AboutDevtron/AboutDevtronDialog.d.ts +5 -0
- package/dist/Shared/Components/AboutDevtron/index.d.ts +2 -0
- package/dist/Shared/Components/AnimatedDeployButton/AnimatedDeployButton.d.ts +1 -1
- package/dist/Shared/Components/AnimatedDeployButton/types.d.ts +6 -0
- package/dist/Shared/Components/AppStatusModal/AppStatusBody.d.ts +2 -0
- package/dist/Shared/Components/AppStatusModal/AppStatusContent.d.ts +3 -0
- package/dist/Shared/Components/AppStatusModal/AppStatusModal.component.d.ts +3 -0
- package/dist/Shared/Components/AppStatusModal/constants.d.ts +4 -0
- package/dist/Shared/Components/AppStatusModal/index.d.ts +2 -0
- package/dist/Shared/Components/AppStatusModal/service.d.ts +3 -0
- package/dist/Shared/Components/AppStatusModal/types.d.ts +38 -0
- package/dist/Shared/Components/AppStatusModal/utils.d.ts +5 -0
- package/dist/Shared/Components/CICDHistory/Artifacts.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/DeploymentDetailSteps.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/History.components.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/constants.d.ts +1 -0
- package/dist/Shared/Components/CICDHistory/index.d.ts +0 -1
- package/dist/Shared/Components/CICDHistory/types.d.ts +8 -11
- package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/types.d.ts +3 -3
- package/dist/Shared/Components/DynamicDataTable/DynamicDataTable.d.ts +1 -1
- package/dist/Shared/Components/DynamicDataTable/DynamicDataTableRow.d.ts +1 -1
- package/dist/Shared/Components/DynamicDataTable/types.d.ts +3 -1
- package/dist/Shared/Components/Error/ErrorBar.d.ts +1 -1
- package/dist/Shared/Components/Error/types.d.ts +4 -0
- package/dist/Shared/Components/Error/utils.d.ts +1 -0
- package/dist/Shared/Components/FramerComponents/index.d.ts +2 -2
- package/dist/Shared/Components/Icon/Icon.d.ts +7 -19
- package/dist/Shared/Components/Icon/types.d.ts +1 -1
- package/dist/Shared/Components/InfoIconTippy/InfoIconTippy.d.ts +1 -1
- package/dist/Shared/Components/License/index.d.ts +1 -1
- package/dist/Shared/Components/License/utils.d.ts +1 -2
- package/dist/Shared/Components/TabGroup/TabGroup.component.d.ts +1 -1
- package/dist/Shared/Components/TabGroup/TabGroup.helpers.d.ts +2 -0
- package/dist/Shared/Components/TabGroup/TabGroup.types.d.ts +3 -5
- package/dist/Shared/Components/TabGroup/TabGroup.utils.d.ts +1 -1
- package/dist/Shared/Components/UserIdentifier/UserIdentifier.d.ts +2 -0
- package/dist/Shared/Components/UserIdentifier/index.d.ts +2 -0
- package/dist/Shared/Components/UserIdentifier/types.d.ts +11 -0
- package/dist/Shared/Components/index.d.ts +4 -1
- package/dist/Shared/Providers/types.d.ts +3 -1
- package/dist/Shared/constants.d.ts +4 -1
- package/dist/Shared/types.d.ts +13 -0
- package/dist/assets/@common-rjsf.css +1 -1
- package/dist/assets/{ic-caret-down-small.7c4f88bf.svg → ic-checks.d276fd05.svg} +1 -1
- package/dist/assets/ic-expand-sm.a9a724f8.svg +3 -0
- package/dist/assets/ic-key.8c76fb61.svg +3 -0
- package/dist/assets/{ic-timeout-two-dash.9a580698.svg → ic-selected.3a29e244.svg} +2 -3
- package/dist/assets/ic-thumb-down.92d2c4d7.svg +3 -0
- package/dist/assets/ic-thumb-up.7c6f6896.svg +3 -0
- package/dist/assets/{ic-checkbox-hover.93e8d66a.svg → ic-timeout-dash.d8e2d62e.svg} +3 -2
- package/dist/index.d.ts +1 -5
- package/dist/index.js +859 -855
- package/package.json +1 -7
- package/dist/@common-rjsf-BfjjNQoV.js +0 -617
- package/dist/@monaco-editor-CVagbUeH.js +0 -138960
- package/dist/Common/Checkbox/Checkbox.d.ts +0 -2
- package/dist/Common/Checkbox/index.d.ts +0 -1
- package/dist/Common/CodeEditor/CodeEditor.d.ts +0 -4
- package/dist/Common/CodeEditor/CodeEditor.reducer.d.ts +0 -48
- package/dist/Common/CodeEditor/index.d.ts +0 -2
- package/dist/Common/CodeEditor/types.d.ts +0 -110
- package/dist/Common/CodeEditor/utils.d.ts +0 -3
- package/dist/Shared/Components/CICDHistory/AppStatusDetailsChart.d.ts +0 -3
- package/dist/Shared/Components/CodeEditorWrapper/CodeEditorWrapper.d.ts +0 -19
- package/dist/Shared/Components/CodeEditorWrapper/index.d.ts +0 -1
- package/dist/Shared/Components/CodeEditorWrapper/types.d.ts +0 -7
- package/dist/assets/@code-editor.css +0 -1
- package/dist/assets/@monaco-editor.css +0 -1
- package/dist/assets/codicon.ecfbfe4b.ttf +0 -0
- package/dist/assets/ic-14-day-trial-chip.0fbc1bf7.svg +0 -36
- package/dist/assets/ic-amazon-eks.13404569.svg +0 -5
- package/dist/assets/ic-arrow-square-out.59bb549a.svg +0 -3
- package/dist/assets/ic-azure-aks.a9e437d5.svg +0 -46
- package/dist/assets/ic-bulk-check.0f698efa.svg +0 -21
- package/dist/assets/ic-bulk-check.99e92f7a.svg +0 -21
- package/dist/assets/ic-caret-right.0ff813c2.svg +0 -3
- package/dist/assets/ic-checkbox-hover.0151d832.svg +0 -20
- package/dist/assets/ic-checkbox-intermediate.24c6d21d.svg +0 -22
- package/dist/assets/ic-checkbox-intermediate.2a2d6c49.svg +0 -22
- package/dist/assets/ic-checkbox-selected.47444fab.svg +0 -20
- package/dist/assets/ic-checkbox-selected.c5539d6f.svg +0 -20
- package/dist/assets/ic-checkbox-unselected.8054e3d7.svg +0 -19
- package/dist/assets/ic-checkbox-unselected.ab91cdba.svg +0 -19
- package/dist/assets/ic-cloud-vms.27ea954e.svg +0 -5
- package/dist/assets/ic-expand-right-sm.9b347d49.svg +0 -3
- package/dist/assets/ic-google-gke.07314724.svg +0 -9
- package/dist/assets/ic-install.28c3beec.svg +0 -3
- package/dist/assets/ic-k3s.7f4bf72d.svg +0 -3
- package/dist/assets/ic-kind.bd8ee992.svg +0 -9
- package/dist/assets/ic-laptop.485e21b4.svg +0 -3
- package/dist/assets/ic-minikube.d9ff1575.svg +0 -9
- package/dist/assets/ic-mobile.7c649251.svg +0 -4
- package/dist/assets/ic-ubuntu.fa47508f.svg +0 -4
- package/dist/assets/ic-user-circle.7d7152fa.svg +0 -3
- package/dist/assets/ic-wifi-slash.d0390749.svg +0 -3
- /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/CodeEditor.components.d.ts +0 -0
- /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/CodeEditor.constants.d.ts +0 -0
- /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/CodeEditor.context.d.ts +0 -0
- /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/CodeEditor.d.ts +0 -0
- /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/CodeEditor.theme.d.ts +0 -0
- /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/CodeEditorRenderer.d.ts +0 -0
- /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/Commands/findAndReplace.d.ts +0 -0
- /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/Commands/index.d.ts +0 -0
- /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/Commands/keyMaps.d.ts +0 -0
- /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/Extensions/DiffMinimap.d.ts +0 -0
- /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/Extensions/findAndReplace.d.ts +0 -0
- /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/Extensions/index.d.ts +0 -0
- /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/Extensions/readOnlyTooltip.d.ts +0 -0
- /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/Extensions/yamlHighlight.d.ts +0 -0
- /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/Extensions/yamlParseLinter.d.ts +0 -0
- /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/index.d.ts +0 -0
- /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/utils.d.ts +0 -0
@@ -13,6 +13,7 @@ export declare const DOCUMENTATION: {
|
|
13
13
|
GLOBAL_CONFIG_BUILD_INFRA: string;
|
14
14
|
ENTERPRISE_LICENSE: string;
|
15
15
|
KUBE_CONFIG: string;
|
16
|
+
TENANT_INSTALLATION: string;
|
16
17
|
};
|
17
18
|
export declare const PATTERNS: {
|
18
19
|
STRING: RegExp;
|
@@ -64,7 +65,6 @@ export declare const URLS: {
|
|
64
65
|
readonly COMPARE_CLUSTERS: "/compare-clusters";
|
65
66
|
readonly APP_CONFIG: "edit";
|
66
67
|
readonly GLOBAL_CONFIG: "/global-config";
|
67
|
-
readonly CONFIG_DRIFT: "config-drift";
|
68
68
|
readonly GLOBAL_CONFIG_TEMPLATES_DEVTRON_APP: "/global-config/templates/devtron-apps";
|
69
69
|
readonly GLOBAL_CONFIG_TEMPLATES_DEVTRON_APP_CREATE: "/global-config/templates/devtron-apps/create";
|
70
70
|
readonly GLOBAL_CONFIG_TEMPLATES_DEVTRON_APP_DETAIL: "/global-config/templates/devtron-apps/detail/:appId";
|
@@ -111,6 +111,7 @@ export declare const ROUTES: {
|
|
111
111
|
readonly ATTRIBUTES_CREATE: "attributes/create";
|
112
112
|
readonly ATTRIBUTES_UPDATE: "attributes/update";
|
113
113
|
readonly APP_LIST_MIN: "app/min";
|
114
|
+
readonly APP_DETAIL: "app/detail";
|
114
115
|
readonly CLUSTER_LIST_MIN: "cluster/autocomplete";
|
115
116
|
readonly CLUSTER_LIST_RAW: "k8s/capacity/cluster/list/raw";
|
116
117
|
readonly PLUGIN_GLOBAL_LIST_DETAIL_V2: "plugin/global/list/detail/v2";
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './Drawer';
|
package/dist/Common/Helper.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { default as React, SyntheticEvent } from 'react';
|
2
2
|
import { JSONPathOptions } from 'jsonpath-plus';
|
3
3
|
import { AsyncOptions, DeploymentNodeType, UseSearchString } from './Types';
|
4
|
-
import { scrollableInterface } from '../Shared';
|
4
|
+
import { scrollableInterface, AppType } from '../Shared';
|
5
5
|
import * as Sentry from '@sentry/browser';
|
6
6
|
export declare function showError(serverError: any, showToastOnUnknownError?: boolean, hideAccessError?: boolean): void;
|
7
7
|
interface ConditionalWrapper<T> {
|
@@ -95,8 +95,10 @@ export declare const flatMapOfJSONPaths: (paths: string[], json: object, resultT
|
|
95
95
|
export declare const applyCompareDiffOnUneditedDocument: (uneditedDocument: object, editedDocument: object) => any;
|
96
96
|
/**
|
97
97
|
* Returns a debounced variant of the function
|
98
|
+
* @deprecated - It should use useRef instead, pls use useDebounce
|
98
99
|
*/
|
99
100
|
export declare const debounce: (func: any, timeout?: number) => (this: any, ...args: any[]) => void;
|
101
|
+
export declare const useDebounce: <Callback extends (...args: any[]) => void>(cb: Callback, delay: number) => (...args: Parameters<Callback>) => void;
|
100
102
|
/**
|
101
103
|
* Returns a capitalized string with first letter in uppercase and rest in lowercase
|
102
104
|
*/
|
@@ -144,4 +146,5 @@ export declare const getGoLangFormattedDateWithTimezone: (dateFormat: string) =>
|
|
144
146
|
*/
|
145
147
|
export declare const getHashedValue: (value: string) => Promise<string | null>;
|
146
148
|
export declare const getTTLInHumanReadableFormat: (ttl: number) => string;
|
149
|
+
export declare const getAIAnalyticsEvents: (context: string, appType?: AppType) => string;
|
147
150
|
export {};
|
@@ -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, "
|
3
|
+
export declare const RJSFForm: import('react').ForwardRefExoticComponent<Pick<FormProps, "children" | "className" | "name" | "id" | "disabled" | "action" | "target" | "onFocus" | "onBlur" | "onChange" | "onSubmit" | "onError" | "method" | "autoComplete" | "tagName" | "noValidate" | "readonly" | "uiSchema" | "schema" | "formContext" | "formData" | "idPrefix" | "idSeparator" | "fields" | "templates" | "widgets" | "translateString" | "acceptcharset" | "acceptCharset" | "enctype" | "customValidate" | "extraErrors" | "extraErrorsBlockSubmit" | "noHtml5Validate" | "liveValidate" | "liveOmit" | "omitExtraData" | "showErrorList" | "transformErrors" | "focusOnFirstError" | "experimental_defaultFormStateBehavior" | "_internalFormWrapper"> & import('react').RefAttributes<RJSF<any, import('./types').RJSFFormSchema, any>>>;
|
@@ -1,4 +1,5 @@
|
|
1
|
-
|
1
|
+
import { CHECKBOX_VALUE } from '../Types';
|
2
|
+
declare const Toggle: ({ selected, onSelect, color, rootClassName, disabled, dataTestId, Icon, iconClass, throttleOnChange, shouldToggleValueOnLabelClick, isLoading, value, isControlled, ...props }: {
|
2
3
|
[x: string]: any;
|
3
4
|
selected?: boolean;
|
4
5
|
onSelect?: any;
|
@@ -11,5 +12,7 @@ declare const Toggle: ({ selected, onSelect, color, rootClassName, disabled, dat
|
|
11
12
|
throttleOnChange?: boolean;
|
12
13
|
shouldToggleValueOnLabelClick?: boolean;
|
13
14
|
isLoading?: boolean;
|
15
|
+
value?: CHECKBOX_VALUE;
|
16
|
+
isControlled?: boolean;
|
14
17
|
}) => JSX.Element;
|
15
18
|
export default Toggle;
|
package/dist/Common/Types.d.ts
CHANGED
@@ -75,7 +75,6 @@ export interface CheckboxProps {
|
|
75
75
|
onClick?: (event: any) => void;
|
76
76
|
id?: string;
|
77
77
|
dataTestId?: string;
|
78
|
-
children?: ReactNode;
|
79
78
|
}
|
80
79
|
export interface TippyCustomizedProps extends Pick<TippyProps, 'appendTo'> {
|
81
80
|
theme: TippyTheme;
|
@@ -111,6 +110,7 @@ export interface InfoIconTippyProps extends Pick<TippyCustomizedProps, 'heading'
|
|
111
110
|
dataTestid?: string;
|
112
111
|
children?: TippyCustomizedProps['children'];
|
113
112
|
iconClassName?: string;
|
113
|
+
buttonPadding?: string;
|
114
114
|
}
|
115
115
|
export interface GenericEmptyStateType {
|
116
116
|
title: ReactNode;
|
@@ -911,15 +911,6 @@ export interface EnvironmentHelmResult {
|
|
911
911
|
allowedDeploymentTypes?: DeploymentAppTypes[];
|
912
912
|
}
|
913
913
|
export type EnvironmentListHelmResponse = ResponseType<EnvironmentListHelmResult[]>;
|
914
|
-
export interface WidgetEventDetails {
|
915
|
-
message: string;
|
916
|
-
namespace: string;
|
917
|
-
object: string;
|
918
|
-
source: string;
|
919
|
-
count: number;
|
920
|
-
age: string;
|
921
|
-
lastSeen: string;
|
922
|
-
}
|
923
914
|
export interface GlobalVariableDTO {
|
924
915
|
name: string;
|
925
916
|
format: VariableTypeFormat;
|
package/dist/Common/index.d.ts
CHANGED
@@ -6,7 +6,6 @@ export { default as ChartVersionAndTypeSelector } from './ChartVersionAndTypeSel
|
|
6
6
|
export * from './Checkbox';
|
7
7
|
export * from './CIPipeline.Types';
|
8
8
|
export { ClipboardButton } from './ClipboardButton/ClipboardButton';
|
9
|
-
export * from './CodeEditor/types';
|
10
9
|
export * from './Common.service';
|
11
10
|
export * from './Constants';
|
12
11
|
export * from './CustomTagSelector';
|
@@ -16,9 +15,8 @@ export { default as DevtronCopyright } from './DevtronCopyright';
|
|
16
15
|
export * from './DevtronProgressing';
|
17
16
|
export * from './Dialogs';
|
18
17
|
export * from './DraggableWrapper';
|
19
|
-
export * from './Drawer
|
20
|
-
export
|
21
|
-
export { default as GenericFilterEmptyState } from './EmptyState/GenericFilterEmptyState';
|
18
|
+
export * from './Drawer';
|
19
|
+
export * from './EmptyState';
|
22
20
|
export { default as ErrorScreenManager } from './ErrorScreenManager';
|
23
21
|
export { default as ErrorScreenNotAuthorized } from './ErrorScreenNotAuthorized';
|
24
22
|
export * from './GenericDescription';
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { AnimatedDeployButtonProps } from './types';
|
2
|
-
declare const AnimatedDeployButton: ({ isVirtualEnvironment, onButtonClick }: AnimatedDeployButtonProps) => JSX.Element;
|
2
|
+
declare const AnimatedDeployButton: ({ isLoading, isVirtualEnvironment, onButtonClick, exceptionUserConfig, isBulkCDTrigger, }: AnimatedDeployButtonProps) => JSX.Element;
|
3
3
|
export default AnimatedDeployButton;
|
@@ -1,4 +1,10 @@
|
|
1
1
|
export interface AnimatedDeployButtonProps {
|
2
|
+
isLoading?: boolean;
|
2
3
|
isVirtualEnvironment: boolean;
|
3
4
|
onButtonClick: (e: any, disableDeployButton: boolean) => void;
|
5
|
+
exceptionUserConfig?: {
|
6
|
+
canDeploy: boolean;
|
7
|
+
isImageApprover: boolean;
|
8
|
+
};
|
9
|
+
isBulkCDTrigger?: boolean;
|
4
10
|
}
|
@@ -0,0 +1,3 @@
|
|
1
|
+
import { AppStatusModalProps } from './types';
|
2
|
+
declare const AppStatusModal: ({ titleSegments, handleClose, type, appDetails: appDetailsProp, isConfigDriftEnabled, configDriftModal: ConfigDriftModal, appId, envId, debugWithAIButton, }: AppStatusModalProps) => JSX.Element;
|
3
|
+
export default AppStatusModal;
|
@@ -0,0 +1,38 @@
|
|
1
|
+
import { FunctionComponent } from 'react';
|
2
|
+
import { AppDetails, ConfigDriftModalProps, IntelligenceConfig } from '../../types';
|
3
|
+
export type AppStatusModalProps = {
|
4
|
+
titleSegments: string[];
|
5
|
+
handleClose: () => void;
|
6
|
+
/**
|
7
|
+
* If given would not poll for app details and resource tree, Polling for gitops timeline would still be done
|
8
|
+
*/
|
9
|
+
appDetails?: AppDetails;
|
10
|
+
isConfigDriftEnabled: boolean;
|
11
|
+
configDriftModal: FunctionComponent<ConfigDriftModalProps>;
|
12
|
+
debugWithAIButton: FunctionComponent<{
|
13
|
+
intelligenceConfig: IntelligenceConfig;
|
14
|
+
}>;
|
15
|
+
} & ({
|
16
|
+
type: 'release';
|
17
|
+
appId: number;
|
18
|
+
envId: number;
|
19
|
+
} | {
|
20
|
+
type: 'devtron-app' | 'other-apps' | 'stack-manager';
|
21
|
+
appId?: never;
|
22
|
+
envId?: never;
|
23
|
+
});
|
24
|
+
export interface AppStatusBodyProps extends Required<Pick<AppStatusModalProps, 'appDetails' | 'type' | 'debugWithAIButton'>> {
|
25
|
+
handleShowConfigDriftModal: () => void;
|
26
|
+
}
|
27
|
+
export interface AppStatusContentProps extends Required<Pick<AppStatusBodyProps, 'appDetails'>>, Partial<Pick<AppStatusBodyProps, 'handleShowConfigDriftModal'>> {
|
28
|
+
/**
|
29
|
+
* @default false
|
30
|
+
*/
|
31
|
+
filterHealthyNodes?: boolean;
|
32
|
+
/**
|
33
|
+
* @default true
|
34
|
+
*/
|
35
|
+
isCardLayout?: boolean;
|
36
|
+
}
|
37
|
+
export interface GetFilteredFlattenedNodesFromAppDetailsParamsType extends Pick<AppStatusContentProps, 'appDetails' | 'filterHealthyNodes'> {
|
38
|
+
}
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import { AppDetails, Node } from '../../types';
|
2
|
+
import { GetFilteredFlattenedNodesFromAppDetailsParamsType as GetFlattenedNodesFromAppDetailsParamsType } from './types';
|
3
|
+
export declare const getAppStatusMessageFromAppDetails: (appDetails: AppDetails) => string;
|
4
|
+
export declare const getFlattenedNodesFromAppDetails: ({ appDetails, filterHealthyNodes, }: GetFlattenedNodesFromAppDetailsParamsType) => Node[];
|
5
|
+
export declare const getResourceKey: (nodeDetails: Node) => string;
|
@@ -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, }: 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, }: 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;
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { DeploymentDetailStepsType } from './types';
|
2
|
-
declare const DeploymentDetailSteps: ({ deploymentStatus, deploymentAppType, isHelmApps, installedAppVersionHistoryId, isGitops, userApprovalMetadata, isVirtualEnvironment, processVirtualEnvironmentDeploymentData, renderDeploymentApprovalInfo, }: DeploymentDetailStepsType) => JSX.Element;
|
2
|
+
declare const DeploymentDetailSteps: ({ deploymentStatus, deploymentAppType, isHelmApps, installedAppVersionHistoryId, isGitops, userApprovalMetadata, isVirtualEnvironment, processVirtualEnvironmentDeploymentData, renderDeploymentApprovalInfo, isDeploymentWithoutApproval, }: DeploymentDetailStepsType) => JSX.Element;
|
3
3
|
export default DeploymentDetailSteps;
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import { GitChangesType, LogResizeButtonType, ScrollerType } from './types';
|
2
2
|
export declare const LogResizeButton: ({ shortcutCombo, showOnlyWhenPathIncludesLogs, fullScreenView, setFullScreenView, }: LogResizeButtonType) => JSX.Element;
|
3
3
|
export declare const Scroller: ({ scrollToTop, scrollToBottom, style }: ScrollerType) => JSX.Element;
|
4
|
-
export declare const GitChanges: ({ gitTriggers, ciMaterials, artifact, userApprovalMetadata, triggeredByEmail, ciPipelineId, artifactId, imageComment, imageReleaseTags, appReleaseTagNames, tagsEditable, hideImageTaggingHardDelete, appliedFilters, appliedFiltersTimestamp, promotionApprovalMetadata, selectedEnvironmentName, renderCIListHeader, targetPlatforms, }: GitChangesType) => JSX.Element;
|
4
|
+
export declare const GitChanges: ({ gitTriggers, ciMaterials, artifact, userApprovalMetadata, triggeredByEmail, ciPipelineId, artifactId, imageComment, imageReleaseTags, appReleaseTagNames, tagsEditable, hideImageTaggingHardDelete, appliedFilters, appliedFiltersTimestamp, promotionApprovalMetadata, selectedEnvironmentName, renderCIListHeader, targetPlatforms, isDeploymentWithoutApproval, }: GitChangesType) => JSX.Element;
|
@@ -84,3 +84,4 @@ export declare const PROGRESSING_STATUS: {
|
|
84
84
|
readonly [x: string]: "progressing" | "starting" | "initiating" | "queued" | "running";
|
85
85
|
};
|
86
86
|
export declare const FAILED_WORKFLOW_STAGE_STATUS_MAP: Record<Extract<WorkflowStageStatusType, WorkflowStageStatusType.ABORTED | WorkflowStageStatusType.FAILED | WorkflowStageStatusType.TIMEOUT>, true>;
|
87
|
+
export declare const APP_HEALTH_DROP_DOWN_LIST: string[];
|
@@ -134,6 +134,7 @@ export interface History extends Pick<TargetPlatformsDTO, 'targetPlatforms'>, Wo
|
|
134
134
|
triggerMetadata?: string;
|
135
135
|
runSource?: RunSourceType;
|
136
136
|
targetConfig?: TargetConfigType;
|
137
|
+
isDeploymentWithoutApproval?: boolean;
|
137
138
|
}
|
138
139
|
export interface ExecutionInfoType {
|
139
140
|
/**
|
@@ -313,7 +314,7 @@ export interface DeploymentStatusDetailsTimelineType {
|
|
313
314
|
statusTime: string;
|
314
315
|
resourceDetails?: SyncStageResourceDetail[];
|
315
316
|
}
|
316
|
-
export interface DeploymentStatusDetailsType {
|
317
|
+
export interface DeploymentStatusDetailsType extends Pick<History, 'isDeploymentWithoutApproval'> {
|
317
318
|
deploymentFinishedOn: string;
|
318
319
|
deploymentStartedOn: string;
|
319
320
|
triggeredBy: string;
|
@@ -327,7 +328,7 @@ export interface DeploymentStatusDetailsResponse extends ResponseType {
|
|
327
328
|
}
|
328
329
|
interface DeploymentStatusDetailRow {
|
329
330
|
icon: string;
|
330
|
-
displayText:
|
331
|
+
displayText: ReactNode;
|
331
332
|
displaySubText: string;
|
332
333
|
time: string;
|
333
334
|
resourceDetails?: any;
|
@@ -355,7 +356,7 @@ export interface DeploymentStatusDetailsBreakdownDataType {
|
|
355
356
|
HELM_PACKAGE_GENERATED?: DeploymentStatusDetailRow;
|
356
357
|
};
|
357
358
|
}
|
358
|
-
export interface DeploymentDetailStepsType {
|
359
|
+
export interface DeploymentDetailStepsType extends Pick<History, 'isDeploymentWithoutApproval'> {
|
359
360
|
deploymentStatus?: string;
|
360
361
|
deploymentAppType?: DeploymentAppTypes;
|
361
362
|
isHelmApps?: boolean;
|
@@ -366,7 +367,7 @@ export interface DeploymentDetailStepsType {
|
|
366
367
|
processVirtualEnvironmentDeploymentData: (data?: DeploymentStatusDetailsType) => DeploymentStatusDetailsBreakdownDataType;
|
367
368
|
renderDeploymentApprovalInfo: (userApprovalMetadata: UserApprovalMetadataType) => JSX.Element;
|
368
369
|
}
|
369
|
-
export interface RenderCIListHeaderProps {
|
370
|
+
export interface RenderCIListHeaderProps extends Required<Pick<History, 'isDeploymentWithoutApproval'>> {
|
370
371
|
userApprovalMetadata: UserApprovalMetadataType;
|
371
372
|
triggeredBy: string;
|
372
373
|
appliedFilters: FilterConditionsListType[];
|
@@ -384,7 +385,7 @@ export interface VirtualHistoryArtifactProps {
|
|
384
385
|
workflowId: number;
|
385
386
|
};
|
386
387
|
}
|
387
|
-
export type CIListItemType = Pick<History, 'promotionApprovalMetadata'> & {
|
388
|
+
export type CIListItemType = Pick<History, 'promotionApprovalMetadata' | 'isDeploymentWithoutApproval'> & {
|
388
389
|
userApprovalMetadata?: UserApprovalMetadataType;
|
389
390
|
triggeredBy?: string;
|
390
391
|
children: ReactNode;
|
@@ -507,12 +508,6 @@ export interface DeploymentHistorySidebarType {
|
|
507
508
|
deploymentHistoryList: DeploymentTemplateList[];
|
508
509
|
setDeploymentHistoryList: React.Dispatch<React.SetStateAction<DeploymentTemplateList[]>>;
|
509
510
|
}
|
510
|
-
export interface AppStatusDetailsChartType {
|
511
|
-
filterRemoveHealth?: boolean;
|
512
|
-
showFooter: boolean;
|
513
|
-
showConfigDriftInfo?: boolean;
|
514
|
-
onClose?: () => void;
|
515
|
-
}
|
516
511
|
export interface StatusFilterButtonType {
|
517
512
|
nodes: Array<Node>;
|
518
513
|
selectedTab: string;
|
@@ -601,6 +596,7 @@ export type GitChangesType = {
|
|
601
596
|
appliedFilters?: never;
|
602
597
|
appliedFiltersTimestamp?: never;
|
603
598
|
renderCIListHeader?: never;
|
599
|
+
isDeploymentWithoutApproval?: never;
|
604
600
|
} | {
|
605
601
|
artifact: string;
|
606
602
|
promotionApprovalMetadata: History['promotionApprovalMetadata'];
|
@@ -618,6 +614,7 @@ export type GitChangesType = {
|
|
618
614
|
appliedFilters?: FilterConditionsListType[];
|
619
615
|
appliedFiltersTimestamp?: string;
|
620
616
|
renderCIListHeader: (renderCIListHeaderProps: RenderCIListHeaderProps) => JSX.Element;
|
617
|
+
isDeploymentWithoutApproval?: History['isDeploymentWithoutApproval'];
|
621
618
|
});
|
622
619
|
export interface ArtifactType extends Pick<TargetPlatformBadgeListProps, 'targetPlatforms'> {
|
623
620
|
status: string;
|
@@ -3,9 +3,9 @@ import { MergeView } from '@codemirror/merge';
|
|
3
3
|
import { SearchQuery } from '@codemirror/search';
|
4
4
|
import { EditorView, Extension, ReactCodeMirrorProps } from '@uiw/react-codemirror';
|
5
5
|
import { JSONSchema7 } from 'json-schema';
|
6
|
-
import { MODES } from '
|
7
|
-
import { AppThemeType } from '../../
|
8
|
-
import { Never } from '../../
|
6
|
+
import { MODES } from '../../../Common/Constants';
|
7
|
+
import { AppThemeType } from '../../Providers';
|
8
|
+
import { Never } from '../../types';
|
9
9
|
export interface CodeEditorStatusBarProps {
|
10
10
|
text: string;
|
11
11
|
className?: string;
|
@@ -1,2 +1,2 @@
|
|
1
1
|
import { DynamicDataTableProps } from './types';
|
2
|
-
export declare const DynamicDataTable: <K extends string, CustomStateType = Record<string, unknown>>({ headers, ...props }: DynamicDataTableProps<K, CustomStateType>) => JSX.Element;
|
2
|
+
export declare const DynamicDataTable: <K extends string, CustomStateType = Record<string, unknown>>({ headers, onRowAdd, ...props }: DynamicDataTableProps<K, CustomStateType>) => JSX.Element;
|
@@ -1,2 +1,2 @@
|
|
1
1
|
import { DynamicDataTableRowProps } from './types';
|
2
|
-
export declare const DynamicDataTableRow: <K extends string, CustomStateType = Record<string, unknown>>({ rows, headers, readOnly, isDeletionNotAllowed, cellError, actionButtonConfig, onRowEdit, onRowDelete, leadingCellIcon, trailingCellIcon, buttonCellWrapComponent, focusableFieldKey, }: DynamicDataTableRowProps<K, CustomStateType>) => JSX.Element;
|
2
|
+
export declare const DynamicDataTableRow: <K extends string, CustomStateType = Record<string, unknown>>({ rows, headers, readOnly, isDeletionNotAllowed, cellError, actionButtonConfig, onRowEdit, onRowDelete, leadingCellIcon, trailingCellIcon, buttonCellWrapComponent, focusableFieldKey, isAddRowButtonClicked, setIsAddRowButtonClicked, }: DynamicDataTableRowProps<K, CustomStateType>) => JSX.Element;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { DetailedHTMLProps, ReactElement, ReactNode } from 'react';
|
1
|
+
import { DetailedHTMLProps, Dispatch, ReactElement, ReactNode, SetStateAction } from 'react';
|
2
2
|
import { ResizableTagTextAreaProps } from '../../../Common/CustomTagSelector';
|
3
3
|
import { UseStateFiltersReturnType } from '../../../Common/Hooks';
|
4
4
|
import { TooltipProps } from '@Common/Tooltip/types';
|
@@ -170,5 +170,7 @@ export type DynamicDataTableProps<K extends string, CustomStateType = Record<str
|
|
170
170
|
export interface DynamicDataTableHeaderProps<K extends string, CustomStateType = Record<string, unknown>> extends Pick<DynamicDataTableProps<K, CustomStateType>, 'headers' | 'rows' | 'headerComponent' | 'sortingConfig' | 'addBtnTooltip' | 'onRowAdd' | 'readOnly' | 'isAdditionNotAllowed' | 'isDeletionNotAllowed' | 'actionButtonConfig'> {
|
171
171
|
}
|
172
172
|
export interface DynamicDataTableRowProps<K extends string, CustomStateType = Record<string, unknown>> extends Pick<DynamicDataTableProps<K, CustomStateType>, 'rows' | 'headers' | 'isAdditionNotAllowed' | 'isDeletionNotAllowed' | 'readOnly' | 'onRowEdit' | 'onRowDelete' | 'actionButtonConfig' | 'cellError' | 'leadingCellIcon' | 'trailingCellIcon' | 'buttonCellWrapComponent' | 'focusableFieldKey'> {
|
173
|
+
isAddRowButtonClicked: boolean;
|
174
|
+
setIsAddRowButtonClicked: Dispatch<SetStateAction<boolean>>;
|
173
175
|
}
|
174
176
|
export {};
|
@@ -1,3 +1,3 @@
|
|
1
|
-
import { AnimatePresence
|
1
|
+
import { AnimatePresence } from 'framer-motion';
|
2
2
|
export * from './MotionDiv';
|
3
|
-
export { AnimatePresence
|
3
|
+
export { AnimatePresence };
|
@@ -1,18 +1,14 @@
|
|
1
1
|
import { IconBaseProps } from './types';
|
2
2
|
export declare const iconMap: {
|
3
|
-
'ic-14-day-trial-chip': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
4
3
|
'ic-73strings': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
5
4
|
'ic-aborted': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
6
5
|
'ic-add': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
7
|
-
'ic-amazon-eks': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
8
6
|
'ic-apica': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
9
7
|
'ic-app-group': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
10
8
|
'ic-arrow-clockwise': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
11
9
|
'ic-arrow-right': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
12
|
-
'ic-arrow-square-out': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
13
10
|
'ic-arrows-left-right': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
14
11
|
'ic-ather': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
15
|
-
'ic-azure-aks': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
16
12
|
'ic-azure': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
17
13
|
'ic-bg-cluster': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
18
14
|
'ic-bharatpe': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -23,19 +19,17 @@ export declare const iconMap: {
|
|
23
19
|
'ic-calendar': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
24
20
|
'ic-cancelled': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
25
21
|
'ic-card-stack': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
26
|
-
'ic-caret-down-small': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
27
22
|
'ic-caret-left': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
28
|
-
'ic-caret-right': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
29
23
|
'ic-cd': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
30
24
|
'ic-chat-circle-dots': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
31
25
|
'ic-check': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
26
|
+
'ic-checks': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
32
27
|
'ic-ci-linked': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
33
28
|
'ic-ci-webhook': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
34
29
|
'ic-circle-loader': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
35
30
|
'ic-clock': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
36
31
|
'ic-close-large': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
37
32
|
'ic-close-small': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
38
|
-
'ic-cloud-vms': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
39
33
|
'ic-code': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
40
34
|
'ic-container': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
41
35
|
'ic-cookr': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -52,7 +46,7 @@ export declare const iconMap: {
|
|
52
46
|
'ic-ecr': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
53
47
|
'ic-env': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
54
48
|
'ic-error': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
55
|
-
'ic-expand-
|
49
|
+
'ic-expand-sm': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
56
50
|
'ic-failure': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
57
51
|
'ic-file-key': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
58
52
|
'ic-folder-user': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -62,7 +56,6 @@ export declare const iconMap: {
|
|
62
56
|
'ic-gitlab': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
63
57
|
'ic-google-artifact-registry': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
64
58
|
'ic-google-container-registry': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
65
|
-
'ic-google-gke': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
66
59
|
'ic-google': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
67
60
|
'ic-grid-view': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
68
61
|
'ic-hand-pointing': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -76,12 +69,9 @@ export declare const iconMap: {
|
|
76
69
|
'ic-in-progress': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
77
70
|
'ic-info-filled': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
78
71
|
'ic-info-outline': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
79
|
-
'ic-install': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
80
72
|
'ic-job-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
81
|
-
'ic-k3s': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
82
73
|
'ic-k8s-job': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
83
|
-
'ic-
|
84
|
-
'ic-laptop': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
74
|
+
'ic-key': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
85
75
|
'ic-ldap': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
86
76
|
'ic-lightning-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
87
77
|
'ic-lightning': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -92,9 +82,7 @@ export declare const iconMap: {
|
|
92
82
|
'ic-medium-paintbucket': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
93
83
|
'ic-memory': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
94
84
|
'ic-microsoft': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
95
|
-
'ic-minikube': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
96
85
|
'ic-missing': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
97
|
-
'ic-mobile': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
98
86
|
'ic-monitoring': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
99
87
|
'ic-new': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
100
88
|
'ic-node-script': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -108,6 +96,7 @@ export declare const iconMap: {
|
|
108
96
|
'ic-quay': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
109
97
|
'ic-quote': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
110
98
|
'ic-rocket-launch': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
99
|
+
'ic-selected': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
111
100
|
'ic-shield-check': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
112
101
|
'ic-sliders-vertical': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
113
102
|
'ic-sort-ascending': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -120,16 +109,15 @@ export declare const iconMap: {
|
|
120
109
|
'ic-suspended': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
121
110
|
'ic-tata1mg': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
122
111
|
'ic-terminal-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
123
|
-
'ic-
|
112
|
+
'ic-thumb-down': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
113
|
+
'ic-thumb-up': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
114
|
+
'ic-timeout-dash': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
124
115
|
'ic-timer': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
125
116
|
'ic-travclan': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
126
|
-
'ic-ubuntu': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
127
117
|
'ic-unknown': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
128
|
-
'ic-user-circle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
129
118
|
'ic-user-key': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
130
119
|
'ic-users': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
131
120
|
'ic-warning': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
132
|
-
'ic-wifi-slash': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
133
121
|
};
|
134
122
|
export type IconName = keyof typeof iconMap;
|
135
123
|
export interface IconsProps extends Omit<IconBaseProps, 'name' | 'iconMap'> {
|
@@ -11,7 +11,7 @@ export interface IconBaseProps {
|
|
11
11
|
* The size of the icon in pixels.
|
12
12
|
* @default 16
|
13
13
|
*/
|
14
|
-
size?: IconBaseSizeType
|
14
|
+
size?: IconBaseSizeType;
|
15
15
|
/** Props to configure the tooltip when hovering over the icon. */
|
16
16
|
tooltipProps?: TooltipProps;
|
17
17
|
/**
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { InfoIconTippyProps } from '../../../Common/Types';
|
2
|
-
declare const InfoIconTippy: ({ heading, infoText, iconClass, documentationLink, documentationLinkText, additionalContent, iconClassName, placement, dataTestid, children, headingInfo, }: InfoIconTippyProps) => JSX.Element;
|
2
|
+
declare const InfoIconTippy: ({ heading, infoText, iconClass, documentationLink, documentationLinkText, additionalContent, iconClassName, placement, dataTestid, children, headingInfo, buttonPadding, }: InfoIconTippyProps) => JSX.Element;
|
3
3
|
export default InfoIconTippy;
|
@@ -2,4 +2,4 @@ export { default as ActivateLicenseDialog } from './ActivateLicenseDialog';
|
|
2
2
|
export { default as DevtronLicenseCard } from './DevtronLicenseCard';
|
3
3
|
export { ICDevtronWithBorder, default as InstallationFingerprintInfo } from './License.components';
|
4
4
|
export * from './types';
|
5
|
-
export { parseDevtronLicenseData
|
5
|
+
export { parseDevtronLicenseData } from './utils';
|
@@ -1,9 +1,8 @@
|
|
1
1
|
import { DevtronLicenseDTO } from '../../types';
|
2
|
-
import {
|
2
|
+
import { DevtronLicenseInfo, LicenseStatus } from './types';
|
3
3
|
export declare const getLicenseColorsAccordingToStatus: (licenseStatus: LicenseStatus) => {
|
4
4
|
bgColor: string;
|
5
5
|
textColor: string;
|
6
6
|
};
|
7
|
-
export declare const parseDevtronLicenseDTOIntoLicenseCardData: <isCentralDashboard extends boolean = false>(licenseDTO: DevtronLicenseDTO<isCentralDashboard>, currentUserEmail?: isCentralDashboard extends true ? string : never) => Omit<DevtronLicenseCardProps, "appTheme">;
|
8
7
|
export declare const parseDevtronLicenseData: (result: DevtronLicenseDTO) => DevtronLicenseInfo;
|
9
8
|
export declare const getGateKeeperUrl: (fingerprint: string) => string;
|
@@ -1,2 +1,2 @@
|
|
1
1
|
import { TabGroupProps } from './TabGroup.types';
|
2
|
-
export declare const TabGroup: ({ tabs, size, rightComponent,
|
2
|
+
export declare const TabGroup: ({ tabs, size, rightComponent, hideTopPadding, }: TabGroupProps) => JSX.Element;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { LinkProps, NavLinkProps } from 'react-router-dom';
|
1
2
|
import { TabGroupProps, TabProps } from './TabGroup.types';
|
2
3
|
export declare const getTabIcon: ({ icon, showError, showWarning, className, size, active, }: Pick<TabProps, "showError" | "showWarning" | "icon" | "active"> & Pick<TabGroupProps, "size"> & {
|
3
4
|
className: string;
|
@@ -5,3 +6,4 @@ export declare const getTabIcon: ({ icon, showError, showWarning, className, siz
|
|
5
6
|
export declare const getTabBadge: (badge: TabProps["badge"], className: string) => JSX.Element;
|
6
7
|
export declare const getTabIndicator: (showIndicator: TabProps["showIndicator"]) => JSX.Element;
|
7
8
|
export declare const getTabDescription: (description: TabProps["description"]) => JSX.Element;
|
9
|
+
export declare const getPathnameToMatch: (to: NavLinkProps["to"] | LinkProps["to"], currentPathname: string) => string;
|