@devtron-labs/devtron-fe-common-lib 1.11.0-beta-8 → 1.11.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-BpjsMGeV.js → @code-editor-CwOIzAA5.js} +25169 -25174
- package/dist/{@common-rjsf-Dsu9Bg36.js → @common-rjsf-DyzjJJpj.js} +29 -29
- package/dist/{@framer-motion-fHDEQv6l.js → @framer-motion-BaOj5B1h.js} +3 -3
- package/dist/{@react-dates-DcvJfxWS.js → @react-dates-CdRpENvm.js} +853 -852
- package/dist/{@react-select-Cn-uZXHc.js → @react-select-BLSAqXV1.js} +1 -1
- package/dist/{@react-virtualized-sticky-tree-BJLK_tci.js → @react-virtualized-sticky-tree-BLmFnJWD.js} +1 -1
- package/dist/{@vendor-DORSSPJC.js → @vendor-SjXFleuT.js} +34001 -33965
- package/dist/Common/API/CoreAPI.d.ts +1 -1
- package/dist/Common/API/index.d.ts +1 -1
- package/dist/Common/CIPipeline.Types.d.ts +20 -19
- package/dist/Common/CodeMirror/Extensions/index.d.ts +3 -3
- package/dist/Common/CodeMirror/Extensions/yamlParseLinter.d.ts +1 -1
- package/dist/Common/CodeMirror/index.d.ts +1 -1
- package/dist/Common/CodeMirror/types.d.ts +3 -3
- package/dist/Common/CodeMirror/utils.d.ts +1 -1
- package/dist/Common/Constants.d.ts +1 -1
- package/dist/Common/CustomTagSelector/index.d.ts +2 -2
- package/dist/Common/DeleteCINodeButton/index.d.ts +1 -1
- package/dist/Common/DraggableWrapper/index.d.ts +1 -1
- package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +1 -1
- package/dist/Common/Hooks/index.d.ts +3 -3
- package/dist/Common/Hooks/useStateFilters/index.d.ts +1 -1
- package/dist/Common/Hooks/useUrlFilters/index.d.ts +1 -1
- package/dist/Common/RJSF/Form.d.ts +1 -1
- package/dist/Common/RJSF/index.d.ts +2 -2
- package/dist/Common/RJSF/templates/index.d.ts +1 -1
- package/dist/Common/SegmentedControl/types.d.ts +1 -1
- package/dist/Common/SortableTableHeaderCell/index.d.ts +1 -1
- package/dist/Common/Tooltip/index.d.ts +1 -1
- package/dist/Common/Tooltip/types.d.ts +1 -1
- package/dist/Common/index.d.ts +41 -41
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/ConfigMapSecret/utils.d.ts +1 -1
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/GUIView/index.d.ts +1 -1
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/index.d.ts +3 -3
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/types.d.ts +1 -1
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/index.d.ts +3 -3
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/types.d.ts +1 -1
- package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/index.d.ts +2 -2
- package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/services.d.ts +1 -1
- package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/types.d.ts +3 -2
- package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/components/index.d.ts +1 -1
- package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/index.d.ts +2 -2
- package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/services.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/Authorization/index.d.ts +3 -3
- package/dist/Pages/GlobalConfigurations/Authorization/service.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/UserRoleGroupTableRow.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/constants.d.ts +2 -2
- package/dist/Pages/GlobalConfigurations/BuildInfra/index.d.ts +6 -6
- package/dist/Pages/GlobalConfigurations/BuildInfra/types.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/validations.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/index.d.ts +2 -2
- package/dist/Pages/ResourceBrowser/ResourceBrowser.Types.d.ts +1 -1
- package/dist/Pages/ResourceBrowser/index.d.ts +5 -5
- package/dist/Pages/ResourceBrowser/types.d.ts +1 -1
- package/dist/Pages/index.d.ts +1 -1
- package/dist/Shared/Components/AnimatedTimer/AnimatedTimer.component.d.ts +3 -0
- package/dist/Shared/Components/AnimatedTimer/constants.d.ts +5 -0
- package/dist/Shared/Components/AnimatedTimer/index.d.ts +1 -0
- package/dist/Shared/Components/AnimatedTimer/types.d.ts +15 -0
- package/dist/Shared/Components/BulkOperations/index.d.ts +1 -1
- package/dist/Shared/Components/BulkOperations/types.d.ts +2 -2
- package/dist/Shared/Components/BulkSelection/index.d.ts +1 -1
- package/dist/Shared/Components/Button/index.d.ts +1 -1
- package/dist/Shared/Components/Button/types.d.ts +2 -2
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/types.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/constants.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/index.d.ts +11 -11
- package/dist/Shared/Components/CICDHistory/types.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/utils.d.ts +1 -1
- package/dist/Shared/Components/CMCS/constants.d.ts +2 -2
- package/dist/Shared/Components/CMCS/index.d.ts +2 -2
- package/dist/Shared/Components/CMCS/types.d.ts +1 -1
- package/dist/Shared/Components/CMCS/utils.d.ts +4 -3
- package/dist/Shared/Components/CMCS/validations.d.ts +1 -1
- package/dist/Shared/Components/CollapsibleList/CollapsibleList.types.d.ts +1 -1
- package/dist/Shared/Components/ConfirmationModal/index.d.ts +4 -4
- package/dist/Shared/Components/ConfirmationModal/utils.d.ts +1 -1
- package/dist/Shared/Components/CountrySelect/types.d.ts +1 -1
- package/dist/Shared/Components/CountrySelect/utils.d.ts +1 -1
- package/dist/Shared/Components/CustomInput/types.d.ts +1 -1
- package/dist/Shared/Components/DatePicker/index.d.ts +4 -4
- package/dist/Shared/Components/DatePicker/types.d.ts +2 -2
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.types.d.ts +1 -1
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.utils.d.ts +1 -1
- package/dist/Shared/Components/DeploymentConfigDiff/index.d.ts +1 -1
- package/dist/Shared/Components/DynamicDataTable/DynamicDataTableHeader.d.ts +1 -1
- package/dist/Shared/Components/DynamicDataTable/types.d.ts +6 -2
- package/dist/Shared/Components/FlagImage/types.d.ts +1 -1
- package/dist/Shared/Components/FloatingVariablesSuggestions/types.d.ts +1 -1
- package/dist/Shared/Components/FormFieldWrapper/index.d.ts +1 -1
- package/dist/Shared/Components/GenericInfoCard/index.d.ts +1 -1
- package/dist/Shared/Components/GraphVisualizer/components/index.d.ts +1 -1
- package/dist/Shared/Components/GraphVisualizer/index.d.ts +1 -1
- package/dist/Shared/Components/Header/index.d.ts +1 -1
- package/dist/Shared/Components/Icon/Icon.d.ts +8 -0
- package/dist/Shared/Components/Icon/types.d.ts +3 -2
- package/dist/Shared/Components/ImageCard/index.d.ts +1 -1
- package/dist/Shared/Components/ImageChipCell/types.d.ts +1 -1
- package/dist/Shared/Components/InfoBlock/types.d.ts +1 -1
- package/dist/Shared/Components/InvalidYAMLTippy/index.d.ts +1 -1
- package/dist/Shared/Components/KeyValueTable/KeyValueTable.component.d.ts +1 -1
- package/dist/Shared/Components/KeyValueTable/KeyValueTable.types.d.ts +75 -78
- package/dist/Shared/Components/KeyValueTable/index.d.ts +1 -1
- package/dist/Shared/Components/KeyValueTable/utils.d.ts +13 -0
- package/dist/Shared/Components/License/DevtronLicenseCard.d.ts +1 -1
- package/dist/Shared/Components/License/index.d.ts +3 -3
- package/dist/Shared/Components/License/types.d.ts +2 -1
- package/dist/Shared/Components/License/utils.d.ts +2 -1
- package/dist/Shared/Components/Plugin/index.d.ts +4 -4
- package/dist/Shared/Components/ReactSelect/index.d.ts +1 -1
- package/dist/Shared/Components/RegistryIcon/index.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/components/index.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/config/CodeScan.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/config/EmptyState.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/config/ImageScan.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/config/KubernetesManifest.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/config/Table.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/config/index.d.ts +2 -2
- package/dist/Shared/Components/Security/SecurityModal/constants.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/index.d.ts +5 -5
- package/dist/Shared/Components/Security/SecurityModal/types.d.ts +2 -2
- package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +2 -2
- package/dist/Shared/Components/Security/Vulnerabilities/index.d.ts +1 -1
- package/dist/Shared/Components/Security/index.d.ts +2 -2
- package/dist/Shared/Components/Security/utils.d.ts +1 -1
- package/dist/Shared/Components/SelectPicker/common.d.ts +1 -1
- package/dist/Shared/Components/SelectPicker/index.d.ts +1 -1
- package/dist/Shared/Components/SelectPicker/type.d.ts +5 -5
- package/dist/Shared/Components/SelectPicker/utils.d.ts +1 -1
- package/dist/Shared/Components/StatusComponent/index.d.ts +1 -1
- package/dist/Shared/Components/TabGroup/TabGroup.types.d.ts +1 -1
- package/dist/Shared/Components/Table/index.d.ts +1 -1
- package/dist/Shared/Components/Table/types.d.ts +2 -2
- package/dist/Shared/Components/TagsKeyValueTable/index.d.ts +2 -2
- package/dist/Shared/Components/WorkflowOptionsModal/constants.d.ts +1 -1
- package/dist/Shared/Components/WorkflowOptionsModal/types.d.ts +1 -1
- package/dist/Shared/Components/index.d.ts +65 -64
- package/dist/Shared/Helpers.d.ts +4 -4
- package/dist/Shared/Hooks/UseDownload/index.d.ts +1 -1
- package/dist/Shared/Hooks/index.d.ts +3 -3
- package/dist/Shared/Hooks/useForm/useForm.d.ts +1 -1
- package/dist/Shared/Hooks/useGetResourceKindsOptions/index.d.ts +1 -1
- package/dist/Shared/Hooks/useGetResourceKindsOptions/types.d.ts +1 -1
- package/dist/Shared/Hooks/useUserPreferences/index.d.ts +2 -2
- package/dist/Shared/Hooks/useUserPreferences/service.d.ts +1 -1
- package/dist/Shared/Hooks/useUserPreferences/types.d.ts +3 -2
- package/dist/Shared/Hooks/useUserPreferences/utils.d.ts +1 -1
- package/dist/Shared/Providers/ThemeProvider/index.d.ts +1 -1
- package/dist/Shared/Providers/ThemeProvider/utils.d.ts +1 -1
- package/dist/Shared/Providers/UserEmailProvider/index.d.ts +1 -1
- package/dist/Shared/Providers/index.d.ts +2 -2
- package/dist/Shared/Providers/types.d.ts +2 -1
- package/dist/Shared/Services/ToastManager/constants.d.ts +1 -1
- package/dist/Shared/Services/ToastManager/index.d.ts +1 -1
- package/dist/Shared/Services/ToastManager/types.d.ts +1 -1
- package/dist/Shared/Services/app.service.d.ts +1 -1
- package/dist/Shared/Services/app.types.d.ts +4 -8
- package/dist/Shared/Services/index.d.ts +3 -3
- package/dist/Shared/Services/types.d.ts +1 -1
- package/dist/Shared/Store/IndexStore.d.ts +2 -2
- package/dist/Shared/index.d.ts +6 -6
- package/dist/Shared/types.d.ts +17 -3
- package/dist/assets/@code-editor.css +1 -1
- package/dist/assets/ic-arrow-clockwise.b327e411.svg +3 -0
- package/dist/assets/ic-bg-cluster.9a4258b9.svg +6 -0
- package/dist/assets/ic-cpu.07ca0915.svg +3 -0
- package/dist/assets/ic-file-key.a67da7ec.svg +3 -0
- package/dist/assets/ic-help-filled.4468cdf1.svg +4 -0
- package/dist/assets/ic-memory.82ba7e9b.svg +3 -0
- package/dist/assets/ic-sliders-vertical.2db79ea4.svg +7 -0
- package/dist/assets/ic-terminal-fill.39b542cd.svg +3 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +847 -844
- package/package.json +5 -4
- package/dist/assets/ic-cpu.8be677ee.svg +0 -20
- package/dist/assets/ic-memory.c4159f96.svg +0 -19
@@ -0,0 +1,15 @@
|
|
1
|
+
import { animate } from 'framer-motion';
|
2
|
+
import { TooltipProps } from '../../../Common/Tooltip';
|
3
|
+
import { IconBaseSizeType } from '../../index';
|
4
|
+
export interface AnimatedTimerProps extends Pick<Parameters<typeof animate>[2], 'onComplete'> {
|
5
|
+
/**
|
6
|
+
* The time in seconds for the timer to animate.
|
7
|
+
*/
|
8
|
+
duration: number;
|
9
|
+
onComplete?: () => void;
|
10
|
+
/**
|
11
|
+
* @default 24
|
12
|
+
*/
|
13
|
+
size?: IconBaseSizeType;
|
14
|
+
tooltipContent?: TooltipProps['content'];
|
15
|
+
}
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export { default as BulkOperations } from './BulkOperations.component';
|
2
|
-
export type {
|
2
|
+
export type { BulkOperation, BulkOperationModalProps } from './types';
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import { SegmentedBarChartProps } from '../../../Common/SegmentedBarChart';
|
2
1
|
import { ReactNode } from 'react';
|
3
2
|
import { APIOptions, DrawerProps } from '../../../Common/index';
|
4
|
-
import {
|
3
|
+
import { SegmentedBarChartProps } from '../../../Common/SegmentedBarChart';
|
5
4
|
import { ConfirmationModalProps } from '../ConfirmationModal/types';
|
5
|
+
import { getProgressingStateForStatus } from '../Security';
|
6
6
|
interface BulkOperationAdditionalKeysType {
|
7
7
|
label: string;
|
8
8
|
value: string;
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { TooltipProps } from '@Common/Tooltip/types';
|
2
|
-
import { ComponentSizeType } from '../../constants';
|
3
1
|
import { AnchorHTMLAttributes, ButtonHTMLAttributes, ReactElement } from 'react';
|
4
2
|
import { LinkProps } from 'react-router-dom';
|
3
|
+
import { TooltipProps } from '@Common/Tooltip/types';
|
4
|
+
import { ComponentSizeType } from '../../constants';
|
5
5
|
export declare enum ButtonVariantType {
|
6
6
|
primary = "primary",
|
7
7
|
secondary = "secondary",
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Dispatch, SetStateAction } from 'react';
|
2
|
+
import { UseUrlFiltersReturnType } from '../../../../Common/Hooks';
|
2
3
|
import { DeploymentConfigDiffProps } from '@Shared/Components/DeploymentConfigDiff';
|
3
4
|
import { EnvResourceType } from '../../../Services';
|
4
|
-
import { UseUrlFiltersReturnType } from '../../../../Common/Hooks';
|
5
5
|
import { History, HistoryLogsProps } from '../types';
|
6
6
|
export interface DeploymentHistoryConfigDiffQueryParams {
|
7
7
|
compareWfrId: number;
|
@@ -81,6 +81,6 @@ export declare const TERMINAL_STATUS_COLOR_CLASS_MAP: {
|
|
81
81
|
readonly [x: string]: "cr-5" | "cg-5" | "co-5";
|
82
82
|
};
|
83
83
|
export declare const PROGRESSING_STATUS: {
|
84
|
-
readonly [x: string]: "
|
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>;
|
@@ -1,17 +1,17 @@
|
|
1
|
-
export { default as
|
1
|
+
export { default as AppStatusDetailsChart } from './AppStatusDetailsChart';
|
2
2
|
export { default as Artifacts } from './Artifacts';
|
3
|
-
export { default as TriggerOutput } from './TriggerOutput';
|
4
|
-
export { default as TriggerDetails } from './TriggerDetails';
|
5
3
|
export { default as CDEmptyState } from './CDEmptyState';
|
6
|
-
export
|
7
|
-
export {
|
4
|
+
export * from './CiPipelineSourceConfig';
|
5
|
+
export { statusColor } from './constants';
|
8
6
|
export { default as DeploymentDetailSteps } from './DeploymentDetailSteps';
|
9
|
-
export * from './
|
10
|
-
export
|
7
|
+
export * from './DeploymentHistoryConfigDiff';
|
8
|
+
export { default as DeploymentStatusDetailBreakdown } from './DeploymentStatusBreakdown';
|
11
9
|
export * from './History.components';
|
12
|
-
export * from './utils';
|
13
10
|
export { default as LogsRenderer } from './LogsRenderer';
|
14
|
-
export * from './
|
15
|
-
export
|
11
|
+
export * from './service';
|
12
|
+
export { default as Sidebar } from './Sidebar';
|
16
13
|
export * from './StatusFilterButtonComponent';
|
17
|
-
export {
|
14
|
+
export { default as TriggerDetails } from './TriggerDetails';
|
15
|
+
export { default as TriggerOutput } from './TriggerOutput';
|
16
|
+
export * from './types';
|
17
|
+
export * from './utils';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { CSSProperties, ReactElement, ReactNode } from 'react';
|
2
2
|
import { SupportedKeyboardKeysType } from '@Common/Hooks/UseRegisterShortcut/types';
|
3
|
-
import {
|
3
|
+
import { DeploymentAppTypes, FilterConditionsListType, ImageComment, OptionType, PaginationProps, PromotionApprovalMetadataType, ReleaseTag, ResponseType, UserApprovalMetadataType, useScrollable } from '../../../Common';
|
4
4
|
import { DeploymentStageType } from '../../constants';
|
5
5
|
import { AggregationKeys, GitTriggers, Node, NodeType, ResourceKindType, ResourceVersionType, TargetPlatformsDTO } from '../../types';
|
6
6
|
import { TargetPlatformBadgeListProps } from '../TargetPlatforms';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ReactElement } from 'react';
|
2
2
|
import { Node } from '../../types';
|
3
|
-
import {
|
3
|
+
import { DeploymentHistoryResultObject, ExecutionInfoType, NodeFilters, NodeStatus, StageStatusType, TriggerHistoryFilterCriteriaProps, TriggerHistoryFilterCriteriaType, WorkflowExecutionStagesMapDTO, WorkflowStageStatusType } from './types';
|
4
4
|
export declare const getTriggerHistoryFilterCriteria: ({ appId, envId, releaseId, showCurrentReleaseDeployments, }: TriggerHistoryFilterCriteriaProps) => TriggerHistoryFilterCriteriaType;
|
5
5
|
export declare const getParsedTriggerHistory: (result: any) => DeploymentHistoryResultObject;
|
6
6
|
export declare const buildHoverHtmlForWebhook: (eventName: any, condition: any, selectors: any) => JSX.Element;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { KeyValueTableData } from '../KeyValueTable';
|
2
2
|
import { ConfigMapSecretDataTypeOptionType } from './types';
|
3
3
|
export declare const CONFIG_MAP_SECRET_YAML_PARSE_ERROR = "Please provide valid YAML";
|
4
4
|
export declare const SECRET_TOAST_INFO: {
|
@@ -10,7 +10,7 @@ export declare const SECRET_TOAST_INFO: {
|
|
10
10
|
BOTH_ESO_DATA_AND_DATA_FROM_UNAVAILABLE: string;
|
11
11
|
};
|
12
12
|
export declare const configMapDataTypeOptions: ConfigMapSecretDataTypeOptionType[];
|
13
|
-
export declare const CONFIG_MAP_SECRET_DEFAULT_CURRENT_DATA:
|
13
|
+
export declare const CONFIG_MAP_SECRET_DEFAULT_CURRENT_DATA: KeyValueTableData[];
|
14
14
|
export declare const configMapSecretMountDataMap: {
|
15
15
|
environment: {
|
16
16
|
title: string;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
export { default as ConfigMapSecretReadyOnly } from './ConfigMapSecretReadyOnly';
|
2
|
-
export * from './
|
2
|
+
export * from './constants';
|
3
3
|
export * from './helpers';
|
4
4
|
export * from './types';
|
5
5
|
export * from './utils';
|
6
|
-
export * from './
|
6
|
+
export * from './validations';
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { OverrideMergeStrategyType } from '../../../Pages/index';
|
2
1
|
import { CM_SECRET_STATE, CMSecretComponentType, CMSecretConfigData } from '../../Services';
|
2
|
+
import { OverrideMergeStrategyType } from '../../../Pages/index';
|
3
3
|
import { SelectPickerOptionType } from '../SelectPicker';
|
4
4
|
export interface ConfigMapSecretReadyOnlyProps {
|
5
5
|
configMapSecretData: CMSecretConfigData;
|
@@ -1,8 +1,9 @@
|
|
1
1
|
import { GroupBase, OptionsOrGroups } from 'react-select';
|
2
|
-
import { CMSecretPayloadType,
|
2
|
+
import { CMSecretPayloadType, ConfigMapSecretUseFormProps, ESOSecretData, GetConfigMapSecretFormInitialValuesParamsType } from '../../Services';
|
3
|
+
import { KeyValueTableData } from '../KeyValueTable';
|
3
4
|
import { ConfigMapSecretDataTypeOptionType, GetConfigMapSecretReadOnlyValuesParamsType } from './types';
|
4
5
|
export declare const getSecretDataTypeOptions: (isJob: boolean, isHashiOrAWS: boolean) => ConfigMapSecretDataTypeOptionType[] | OptionsOrGroups<ConfigMapSecretDataTypeOptionType, GroupBase<ConfigMapSecretDataTypeOptionType>>;
|
5
|
-
export declare const convertKeyValuePairToYAML: (currentData:
|
6
|
+
export declare const convertKeyValuePairToYAML: (currentData: KeyValueTableData[]) => string;
|
6
7
|
export declare const getConfigMapSecretFormInitialValues: ({ isJob, configMapSecretData, cmSecretStateLabel, componentType, skipValidation, fallbackMergeStrategy, }: GetConfigMapSecretFormInitialValuesParamsType) => ConfigMapSecretUseFormProps;
|
7
8
|
export declare const getConfigMapSecretReadOnlyValues: ({ configMapSecretData, cmSecretStateLabel, componentType, isJob, fallbackMergeStrategy, displayKeys, }: GetConfigMapSecretReadOnlyValuesParamsType) => {
|
8
9
|
configData: {
|
@@ -12,6 +13,6 @@ export declare const getConfigMapSecretReadOnlyValues: ({ configMapSecretData, c
|
|
12
13
|
}[];
|
13
14
|
data: string;
|
14
15
|
};
|
15
|
-
export declare const convertYAMLToKeyValuePair: (yaml: string) =>
|
16
|
+
export declare const convertYAMLToKeyValuePair: (yaml: string) => KeyValueTableData[];
|
16
17
|
export declare const getESOSecretDataFromYAML: (yaml: string) => ESOSecretData;
|
17
18
|
export declare const getConfigMapSecretPayload: ({ isSecret, external, externalType, externalSubpathValues, yaml, yamlMode, currentData, esoSecretYaml, filePermission, name, selectedType, isFilePermissionChecked, roleARN, volumeMountPath, isSubPathChecked, mergeStrategy, }: ConfigMapSecretUseFormProps) => CMSecretPayloadType;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
import { ConfigMapSecretUseFormProps } from '../../Services';
|
2
1
|
import { UseFormValidations } from '../../Hooks';
|
2
|
+
import { ConfigMapSecretUseFormProps } from '../../Services';
|
3
3
|
export declare const getConfigMapSecretFormValidations: UseFormValidations<ConfigMapSecretUseFormProps>;
|
@@ -1,7 +1,7 @@
|
|
1
|
-
export { default as ConfirmationModal, BaseConfirmationModal } from './ConfirmationModal';
|
2
|
-
export { DeleteConfirmationModal } from './DeleteConfirmationModal';
|
3
|
-
export { ForceDeleteConfirmationModal } from './ForceDeleteConfirmationModal';
|
4
1
|
export { CannotDeleteModal } from './CannotDeleteModal';
|
5
|
-
export {
|
2
|
+
export { BaseConfirmationModal, default as ConfirmationModal } from './ConfirmationModal';
|
6
3
|
export { ConfirmationModalProvider } from './ConfirmationModalContext';
|
4
|
+
export { DeleteConfirmationModal } from './DeleteConfirmationModal';
|
5
|
+
export { ForceDeleteConfirmationModal } from './ForceDeleteConfirmationModal';
|
6
|
+
export { type ConfirmationModalProps, ConfirmationModalVariantType, type DeleteConfirmationModalProps } from './types';
|
7
7
|
export { getConfirmationLabel } from './utils';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ReactElement, ReactNode } from 'react';
|
2
|
-
import { ConfirmationModalVariantType } from './types';
|
3
2
|
import { ButtonStyleType } from '../Button';
|
3
|
+
import { ConfirmationModalVariantType } from './types';
|
4
4
|
export declare const getIconFromVariant: (variant: ConfirmationModalVariantType) => ReactElement;
|
5
5
|
export declare const getConfirmationLabel: (confirmationKeyword: string) => ReactNode;
|
6
6
|
export declare const getPrimaryButtonStyleFromVariant: (variant: ConfirmationModalVariantType) => ButtonStyleType;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { CountryISO2Type } from '../../
|
1
|
+
import { CountryISO2Type } from '../../types';
|
2
2
|
import { SelectPickerProps } from '../SelectPicker';
|
3
3
|
export interface CountrySelectProps extends Pick<SelectPickerProps, 'required' | 'label' | 'error' | 'placeholder' | 'size' | 'onMenuOpen' | 'onMenuClose'>, Required<Pick<SelectPickerProps, 'name'>> {
|
4
4
|
selectedCountry: CountryISO2Type;
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import { ParsedCountry } from 'react-international-phone';
|
2
|
-
import { CountrySelectProps } from './types';
|
3
2
|
import { SelectPickerOptionType } from '../SelectPicker';
|
3
|
+
import { CountrySelectProps } from './types';
|
4
4
|
export declare const getCountryOptions: (variant: CountrySelectProps["variant"]) => SelectPickerOptionType<ParsedCountry>[];
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { InputHTMLAttributes, MutableRefObject } from 'react';
|
2
2
|
import { ComponentSizeType } from '../../constants';
|
3
|
-
import { FormFieldWrapperProps } from '../FormFieldWrapper';
|
4
3
|
import { ButtonComponentType, ButtonProps } from '../Button';
|
4
|
+
import { FormFieldWrapperProps } from '../FormFieldWrapper';
|
5
5
|
export interface CustomInputProps extends Omit<FormFieldWrapperProps, 'children' | 'inputId'>, Pick<InputHTMLAttributes<HTMLInputElement>, 'onBlur' | 'disabled' | 'autoFocus' | 'onFocus' | 'onKeyDown'>, Required<Pick<InputHTMLAttributes<HTMLInputElement>, 'placeholder' | 'onChange' | 'value' | 'name'>> {
|
6
6
|
/**
|
7
7
|
* If false, the input is not trimmed on blur
|
@@ -1,7 +1,7 @@
|
|
1
|
-
export
|
2
|
-
export
|
1
|
+
export * from './constants';
|
2
|
+
export { default as DateTimePicker } from './DateTimePicker';
|
3
3
|
export * from './MonthlySelect';
|
4
|
+
export { default as SingleDatePickerComponent } from './SingleDatePickerComponent';
|
4
5
|
export * from './TimeSelect';
|
6
|
+
export * from './types';
|
5
7
|
export * from './utils';
|
6
|
-
export * from './constants';
|
7
|
-
export { default as DateTimePicker } from './DateTimePicker';
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { Moment } from 'moment';
|
2
|
-
import { SelectInstance } from 'react-select';
|
3
1
|
import { SingleDatePickerShape } from 'react-dates';
|
2
|
+
import { SelectInstance } from 'react-select';
|
3
|
+
import { Moment } from 'moment';
|
4
4
|
import { SelectPickerOptionType } from '../SelectPicker';
|
5
5
|
export interface SingleDatePickerProps {
|
6
6
|
/**
|
@@ -2,9 +2,9 @@ import { SortingOrder } from '../../../Common/Constants';
|
|
2
2
|
import { AppEnvDeploymentConfigDTO, ConfigMapSecretDataConfigDatumDTO, DeploymentTemplateDTO, EnvResourceType, TemplateListDTO } from '../../Services';
|
3
3
|
import { ManifestTemplateDTO } from '../../../Pages/Applications';
|
4
4
|
import { DeploymentHistoryDetail } from '../CICDHistory';
|
5
|
+
import { CollapseProps } from '../Collapse';
|
5
6
|
import { CollapsibleListConfig, CollapsibleListItem } from '../CollapsibleList';
|
6
7
|
import { SelectPickerProps } from '../SelectPicker';
|
7
|
-
import { CollapseProps } from '../Collapse';
|
8
8
|
export declare enum DeploymentConfigDiffState {
|
9
9
|
NO_DIFF = "noDiff",
|
10
10
|
HAS_DIFF = "hasDiff",
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { AppEnvDeploymentConfigListParams, DeploymentConfigDiffProps } from '..';
|
2
2
|
import { ConfigMapSecretDataConfigDatumDTO, DeploymentTemplateDTO, TemplateListDTO } from '../../Services/app.types';
|
3
3
|
import { DiffViewerProps } from '../DiffViewer/types';
|
4
4
|
export declare const getDeploymentTemplateData: (data: DeploymentTemplateDTO) => any;
|
@@ -1,2 +1,2 @@
|
|
1
1
|
import { DynamicDataTableHeaderProps } from './types';
|
2
|
-
export declare const DynamicDataTableHeader: <K extends string, CustomStateType = Record<string, unknown>>({ headers, rows, sortingConfig, onRowAdd, readOnly, isAdditionNotAllowed, isDeletionNotAllowed, headerComponent, actionButtonConfig, }: DynamicDataTableHeaderProps<K, CustomStateType>) => JSX.Element;
|
2
|
+
export declare const DynamicDataTableHeader: <K extends string, CustomStateType = Record<string, unknown>>({ headers, rows, sortingConfig, addBtnTooltip, onRowAdd, readOnly, isAdditionNotAllowed, isDeletionNotAllowed, headerComponent, actionButtonConfig, }: DynamicDataTableHeaderProps<K, CustomStateType>) => JSX.Element;
|
@@ -2,8 +2,8 @@ import { DetailedHTMLProps, ReactElement, ReactNode } from 'react';
|
|
2
2
|
import { ResizableTagTextAreaProps } from '../../../Common/CustomTagSelector';
|
3
3
|
import { UseStateFiltersReturnType } from '../../../Common/Hooks';
|
4
4
|
import { TooltipProps } from '@Common/Tooltip/types';
|
5
|
-
import { SelectPickerOptionType, SelectPickerProps, SelectPickerTextAreaProps } from '../SelectPicker';
|
6
5
|
import { FileUploadProps } from '../FileUpload';
|
6
|
+
import { SelectPickerOptionType, SelectPickerProps, SelectPickerTextAreaProps } from '../SelectPicker';
|
7
7
|
/**
|
8
8
|
* Interface representing header for a dynamic data table.
|
9
9
|
* @template K - A string representing the key type.
|
@@ -112,6 +112,10 @@ export type DynamicDataTableProps<K extends string, CustomStateType = Record<str
|
|
112
112
|
isDeletionNotAllowed?: boolean;
|
113
113
|
/** When true, data add or update is disabled. */
|
114
114
|
readOnly?: boolean;
|
115
|
+
/** Tooltip for add button.
|
116
|
+
* @default 'Add'
|
117
|
+
*/
|
118
|
+
addBtnTooltip?: string;
|
115
119
|
/** Function to handle the addition of a new row to the table. */
|
116
120
|
onRowAdd: () => void;
|
117
121
|
/**
|
@@ -163,7 +167,7 @@ export type DynamicDataTableProps<K extends string, CustomStateType = Record<str
|
|
163
167
|
*/
|
164
168
|
focusableFieldKey?: K;
|
165
169
|
};
|
166
|
-
export interface DynamicDataTableHeaderProps<K extends string, CustomStateType = Record<string, unknown>> extends Pick<DynamicDataTableProps<K, CustomStateType>, 'headers' | 'rows' | 'headerComponent' | 'sortingConfig' | 'onRowAdd' | 'readOnly' | 'isAdditionNotAllowed' | 'isDeletionNotAllowed' | 'actionButtonConfig'> {
|
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'> {
|
167
171
|
}
|
168
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'> {
|
169
173
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
+
export { default as FormFieldInfo } from './FormFieldInfo';
|
1
2
|
export { default as FormFieldWrapper } from './FormFieldWrapper';
|
2
3
|
export type { FormFieldWrapperProps } from './types';
|
3
4
|
export { getFormFieldAriaAttributes } from './utils';
|
4
|
-
export { default as FormFieldInfo } from './FormFieldInfo';
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export * from './GraphVisualizer';
|
2
|
-
export type {
|
2
|
+
export type { GraphVisualizerEdge, GraphVisualizerNode, GraphVisualizerProps } from './types';
|
@@ -5,10 +5,12 @@ export declare const iconMap: {
|
|
5
5
|
'ic-add': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
6
6
|
'ic-apica': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
7
7
|
'ic-app-group': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
8
|
+
'ic-arrow-clockwise': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
8
9
|
'ic-arrow-right': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
9
10
|
'ic-arrows-left-right': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
10
11
|
'ic-ather': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
11
12
|
'ic-azure': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
13
|
+
'ic-bg-cluster': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
12
14
|
'ic-bharatpe': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
13
15
|
'ic-bitbucket': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
14
16
|
'ic-book-open': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -31,6 +33,7 @@ export declare const iconMap: {
|
|
31
33
|
'ic-container': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
32
34
|
'ic-cookr': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
33
35
|
'ic-copy': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
36
|
+
'ic-cpu': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
34
37
|
'ic-crown': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
35
38
|
'ic-cube': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
36
39
|
'ic-delete-lightning': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -43,6 +46,7 @@ export declare const iconMap: {
|
|
43
46
|
'ic-env': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
44
47
|
'ic-error': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
45
48
|
'ic-failure': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
49
|
+
'ic-file-key': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
46
50
|
'ic-folder-user': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
47
51
|
'ic-gear': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
48
52
|
'ic-git': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -56,6 +60,7 @@ export declare const iconMap: {
|
|
56
60
|
'ic-heart-red-animated': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
57
61
|
'ic-heart-red': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
58
62
|
'ic-helm': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
63
|
+
'ic-help-filled': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
59
64
|
'ic-help-outline': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
60
65
|
'ic-hibernate': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
61
66
|
'ic-in-progress': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -71,6 +76,7 @@ export declare const iconMap: {
|
|
71
76
|
'ic-logout': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
72
77
|
'ic-medium-delete': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
73
78
|
'ic-medium-paintbucket': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
79
|
+
'ic-memory': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
74
80
|
'ic-microsoft': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
75
81
|
'ic-missing': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
76
82
|
'ic-monitoring': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -86,6 +92,7 @@ export declare const iconMap: {
|
|
86
92
|
'ic-quay': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
87
93
|
'ic-quote': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
88
94
|
'ic-shield-check': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
95
|
+
'ic-sliders-vertical': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
89
96
|
'ic-sort-ascending': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
90
97
|
'ic-sort-descending': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
91
98
|
'ic-sortable': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -95,6 +102,7 @@ export declare const iconMap: {
|
|
95
102
|
'ic-success': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
96
103
|
'ic-suspended': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
97
104
|
'ic-tata1mg': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
105
|
+
'ic-terminal-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
98
106
|
'ic-timeout-two-dash': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
99
107
|
'ic-timer': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
100
108
|
'ic-travclan': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { FC, SVGProps } from 'react';
|
2
2
|
import { TooltipProps } from '@Common/Tooltip/types';
|
3
|
+
import { IconBaseColorType, IconBaseSizeType } from '../../index';
|
3
4
|
type IconMap = Record<string, FC<SVGProps<SVGSVGElement>>>;
|
4
5
|
export interface IconBaseProps {
|
5
6
|
/** The name of the icon to render. */
|
@@ -10,7 +11,7 @@ export interface IconBaseProps {
|
|
10
11
|
* The size of the icon in pixels.
|
11
12
|
* @default 16
|
12
13
|
*/
|
13
|
-
size?:
|
14
|
+
size?: IconBaseSizeType;
|
14
15
|
/** Props to configure the tooltip when hovering over the icon. */
|
15
16
|
tooltipProps?: TooltipProps;
|
16
17
|
/**
|
@@ -18,6 +19,6 @@ export interface IconBaseProps {
|
|
18
19
|
* If `null`, the default color present in icon is used.
|
19
20
|
* @example `'B500'`, `'N200'`, `'G50'`, `'R700'`
|
20
21
|
*/
|
21
|
-
color:
|
22
|
+
color: IconBaseColorType;
|
22
23
|
}
|
23
24
|
export {};
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { default as Tippy } from '@tippyjs/react';
|
2
1
|
import { ComponentProps, SyntheticEvent } from 'react';
|
2
|
+
import { default as Tippy } from '@tippyjs/react';
|
3
3
|
import { RegistryType } from '../../types';
|
4
4
|
type ImageChipCellButtonActionProps = {
|
5
5
|
handleClick: (e: SyntheticEvent) => void;
|
@@ -1,6 +1,6 @@
|
|
1
|
+
import { ReactElement, ReactNode } from 'react';
|
1
2
|
import { ComponentSizeType } from '../../constants';
|
2
3
|
import { BorderConfigType, ComponentLayoutType } from '../../types';
|
3
|
-
import { ReactElement, ReactNode } from 'react';
|
4
4
|
import { ButtonComponentType, ButtonProps } from '../Button';
|
5
5
|
export type InfoBlockProps = {
|
6
6
|
/**
|
@@ -1,2 +1,2 @@
|
|
1
1
|
import { KeyValueTableProps } from './KeyValueTable.types';
|
2
|
-
export declare const KeyValueTable:
|
2
|
+
export declare const KeyValueTable: ({ headerLabel, rows: initialRows, placeholder, maskValue, isSortable, headerComponent, onChange, isAdditionNotAllowed, readOnly, showError, validationSchema: parentValidationSchema, onError, validateDuplicateKeys, validateEmptyKeys, }: KeyValueTableProps) => JSX.Element;
|