@devtron-labs/devtron-fe-common-lib 1.10.19 → 1.11.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-B1nhzehZ.js → @code-editor-DdSJQRDu.js} +24560 -24561
- package/dist/{@common-rjsf-v20lsyFO.js → @common-rjsf-BSElpl3x.js} +29 -29
- package/dist/{@framer-motion-3ACrfimm.js → @framer-motion-DMD7dX-G.js} +1 -1
- package/dist/{@react-dates-C1YJpDXg.js → @react-dates-DxmDHBUI.js} +995 -996
- package/dist/{@react-select-rJh4_EaU.js → @react-select-BR4eLpVa.js} +1 -1
- package/dist/{@react-virtualized-sticky-tree-CMLds5Wa.js → @react-virtualized-sticky-tree-Ca-pl6uN.js} +1 -1
- package/dist/{@vendor-HJw8T7OP.js → @vendor-DZHtXPTX.js} +52757 -52754
- package/dist/Common/API/CoreAPI.d.ts +1 -1
- package/dist/Common/API/index.d.ts +1 -1
- 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/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/types.d.ts +1 -1
- 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/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/index.d.ts +2 -2
- package/dist/Shared/Components/CMCS/types.d.ts +1 -1
- 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/DevtronLicenseCard/DevtronLicenseCard.d.ts +1 -1
- package/dist/Shared/Components/DevtronLicenseCard/index.d.ts +1 -1
- package/dist/Shared/Components/DevtronLicenseCard/types.d.ts +1 -2
- package/dist/Shared/Components/DevtronLicenseCard/utils.d.ts +1 -2
- package/dist/Shared/Components/DynamicDataTable/types.d.ts +1 -1
- 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/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/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 +63 -63
- package/dist/Shared/Helpers.d.ts +3 -3
- 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 +2 -3
- 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 +1 -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 +2 -2
- package/dist/Shared/Services/index.d.ts +3 -3
- package/dist/Shared/Store/IndexStore.d.ts +2 -2
- package/dist/Shared/index.d.ts +6 -6
- package/dist/Shared/types.d.ts +3 -3
- package/dist/assets/@code-editor.css +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/package.json +4 -5
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { default as ConfigMapSecretReadyOnly } from './ConfigMapSecretReadyOnly';
|
|
2
|
-
export * from './
|
|
2
|
+
export * from './validations';
|
|
3
3
|
export * from './helpers';
|
|
4
4
|
export * from './types';
|
|
5
5
|
export * from './utils';
|
|
6
|
-
export * from './
|
|
6
|
+
export * from './constants';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CM_SECRET_STATE, CMSecretComponentType, CMSecretConfigData } from '../../Services';
|
|
2
1
|
import { OverrideMergeStrategyType } from '../../../Pages/index';
|
|
2
|
+
import { CM_SECRET_STATE, CMSecretComponentType, CMSecretConfigData } from '../../Services';
|
|
3
3
|
import { SelectPickerOptionType } from '../SelectPicker';
|
|
4
4
|
export interface ConfigMapSecretReadyOnlyProps {
|
|
5
5
|
configMapSecretData: CMSecretConfigData;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export { BaseConfirmationModal, default as ConfirmationModal } from './ConfirmationModal';
|
|
3
|
-
export { ConfirmationModalProvider } from './ConfirmationModalContext';
|
|
1
|
+
export { default as ConfirmationModal, BaseConfirmationModal } from './ConfirmationModal';
|
|
4
2
|
export { DeleteConfirmationModal } from './DeleteConfirmationModal';
|
|
5
3
|
export { ForceDeleteConfirmationModal } from './ForceDeleteConfirmationModal';
|
|
6
|
-
export {
|
|
4
|
+
export { CannotDeleteModal } from './CannotDeleteModal';
|
|
5
|
+
export { ConfirmationModalVariantType, type ConfirmationModalProps, type DeleteConfirmationModalProps } from './types';
|
|
6
|
+
export { ConfirmationModalProvider } from './ConfirmationModalContext';
|
|
7
7
|
export { getConfirmationLabel } from './utils';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactElement, ReactNode } from 'react';
|
|
2
|
-
import { ButtonStyleType } from '../Button';
|
|
3
2
|
import { ConfirmationModalVariantType } from './types';
|
|
3
|
+
import { ButtonStyleType } from '../Button';
|
|
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 '../../index';
|
|
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 { SelectPickerOptionType } from '../SelectPicker';
|
|
3
2
|
import { CountrySelectProps } from './types';
|
|
3
|
+
import { SelectPickerOptionType } from '../SelectPicker';
|
|
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 { ButtonComponentType, ButtonProps } from '../Button';
|
|
4
3
|
import { FormFieldWrapperProps } from '../FormFieldWrapper';
|
|
4
|
+
import { ButtonComponentType, ButtonProps } from '../Button';
|
|
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 * from './constants';
|
|
2
|
-
export { default as DateTimePicker } from './DateTimePicker';
|
|
3
|
-
export * from './MonthlySelect';
|
|
4
1
|
export { default as SingleDatePickerComponent } from './SingleDatePickerComponent';
|
|
5
|
-
export * from './TimeSelect';
|
|
6
2
|
export * from './types';
|
|
3
|
+
export * from './MonthlySelect';
|
|
4
|
+
export * from './TimeSelect';
|
|
7
5
|
export * from './utils';
|
|
6
|
+
export * from './constants';
|
|
7
|
+
export { default as DateTimePicker } from './DateTimePicker';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { SingleDatePickerShape } from 'react-dates';
|
|
2
|
-
import { SelectInstance } from 'react-select';
|
|
3
1
|
import { Moment } from 'moment';
|
|
2
|
+
import { SelectInstance } from 'react-select';
|
|
3
|
+
import { SingleDatePickerShape } from 'react-dates';
|
|
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';
|
|
6
5
|
import { CollapsibleListConfig, CollapsibleListItem } from '../CollapsibleList';
|
|
7
6
|
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 { DeploymentConfigDiffProps, AppEnvDeploymentConfigListParams } 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,3 +1,3 @@
|
|
|
1
|
-
import { DevtronLicenseCardProps } from '
|
|
1
|
+
import { DevtronLicenseCardProps } from '../../index';
|
|
2
2
|
export declare const DevtronLicenseCard: ({ enterpriseName, licenseKey, licenseSuffix, expiryDate, licenseStatus, isTrial, ttl, appTheme, handleCopySuccess, }: DevtronLicenseCardProps) => JSX.Element;
|
|
3
3
|
export default DevtronLicenseCard;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { default as DevtronLicenseCard } from './DevtronLicenseCard';
|
|
2
|
+
export { parseDevtronLicenseDTOIntoLicenseCardData } from './utils';
|
|
2
3
|
export { default as InstallationFingerprintInfo } from './InstallationFingerprintInfo';
|
|
3
4
|
export * from './types';
|
|
4
|
-
export { parseDevtronLicenseDTOIntoLicenseCardData } from './utils';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { AppThemeType } from '../../
|
|
2
|
-
import { DevtronLicenseBaseDTO, DevtronLicenseDTO } from '../../types';
|
|
1
|
+
import { AppThemeType, DevtronLicenseBaseDTO, DevtronLicenseDTO } from '../../index';
|
|
3
2
|
export declare enum LicenseStatus {
|
|
4
3
|
ACTIVE = "ACTIVE",
|
|
5
4
|
EXPIRED = "EXPIRED",
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { DevtronLicenseDTO } from '../../
|
|
2
|
-
import { DevtronLicenseCardProps, LicenseStatus } from './types';
|
|
1
|
+
import { DevtronLicenseCardProps, DevtronLicenseDTO, LicenseStatus } from '../../index';
|
|
3
2
|
export declare const getLicenseColorsAccordingToStatus: (licenseStatus: LicenseStatus) => {
|
|
4
3
|
bgColor: string;
|
|
5
4
|
textColor: string;
|
|
@@ -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 { FileUploadProps } from '../FileUpload';
|
|
6
5
|
import { SelectPickerOptionType, SelectPickerProps, SelectPickerTextAreaProps } from '../SelectPicker';
|
|
6
|
+
import { FileUploadProps } from '../FileUpload';
|
|
7
7
|
/**
|
|
8
8
|
* Interface representing header for a dynamic data table.
|
|
9
9
|
* @template K - A string representing the key type.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { default as FormFieldInfo } from './FormFieldInfo';
|
|
2
1
|
export { default as FormFieldWrapper } from './FormFieldWrapper';
|
|
3
2
|
export type { FormFieldWrapperProps } from './types';
|
|
4
3
|
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 { GraphVisualizerProps, GraphVisualizerNode, GraphVisualizerEdge } from './types';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ComponentProps, SyntheticEvent } from 'react';
|
|
2
1
|
import { default as Tippy } from '@tippyjs/react';
|
|
2
|
+
import { ComponentProps, SyntheticEvent } from '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';
|
|
2
1
|
import { ComponentSizeType } from '../../constants';
|
|
3
2
|
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,7 +1,7 @@
|
|
|
1
|
+
export * from './types';
|
|
2
|
+
export * from './service';
|
|
3
|
+
export * from './utils';
|
|
1
4
|
export * from './constants';
|
|
2
|
-
export { default as PluginImageContainer } from './PluginImageContainer';
|
|
3
5
|
export { default as PluginListContainer } from './PluginListContainer';
|
|
4
6
|
export { default as PluginTagsContainer } from './PluginTagsContainer';
|
|
5
|
-
export
|
|
6
|
-
export * from './types';
|
|
7
|
-
export * from './utils';
|
|
7
|
+
export { default as PluginImageContainer } from './PluginImageContainer';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CodeScan, DetailViewDataType, EmptyStateType, InfoCardPropsType, OpenDetailViewButtonProps,
|
|
1
|
+
import { ScanResultDTO, CodeScan, DetailViewDataType, EmptyStateType, InfoCardPropsType, OpenDetailViewButtonProps, SecurityModalStateType, StatusType, TablePropsType } from '../types';
|
|
2
2
|
export declare const getCodeScanVulnerabilities: (data: CodeScan["vulnerability"], hidePolicy: boolean) => {
|
|
3
3
|
headers: ({
|
|
4
4
|
headerText: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ScanResultDTO, DetailViewDataType, SecurityModalStateType } from '../types';
|
|
2
2
|
export declare const getEmptyStateValues: (data: ScanResultDTO, category: SecurityModalStateType["category"], subCategory: SecurityModalStateType["subCategory"], detailViewData: DetailViewDataType) => import('../types').EmptyStateType;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DetailViewDataType,
|
|
1
|
+
import { DetailViewDataType, ImageScan, SecurityModalStateType, TablePropsType, StatusType, InfoCardPropsType, EmptyStateType, ScanResultDTO, OpenDetailViewButtonProps } from '../types';
|
|
2
2
|
export declare const getProgressingStateForStatus: (status: StatusType["status"]) => JSX.Element;
|
|
3
3
|
export declare const getImageScanTableData: (data: ImageScan, subCategory: SecurityModalStateType["subCategory"], setDetailViewData: OpenDetailViewButtonProps["setDetailViewData"], hidePolicy: boolean) => TablePropsType;
|
|
4
4
|
export declare const getImageScanInfoCardData: (data: ImageScan, subCategory: SecurityModalStateType["subCategory"]) => InfoCardPropsType;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DetailViewDataType, EmptyStateType, InfoCardPropsType, KubernetesManifest, OpenDetailViewButtonProps,
|
|
1
|
+
import { ScanResultDTO, DetailViewDataType, EmptyStateType, InfoCardPropsType, KubernetesManifest, OpenDetailViewButtonProps, SecurityModalStateType, TablePropsType } from '../types';
|
|
2
2
|
export declare const getKubernetesManifestTableData: (data: KubernetesManifest, subCategory: SecurityModalStateType["subCategory"], setDetailViewData: OpenDetailViewButtonProps["setDetailViewData"]) => TablePropsType;
|
|
3
3
|
export declare const getKubernetesManifestInfoCardData: (data: KubernetesManifest, subCategory: SecurityModalStateType["subCategory"]) => InfoCardPropsType;
|
|
4
4
|
export declare const getKubernetesManifestEmptyState: (data: ScanResultDTO, subCategory: SecurityModalStateType["subCategory"], detailViewData: DetailViewDataType) => EmptyStateType;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ScanResultDTO, OpenDetailViewButtonProps, SecurityModalStateType, TablePropsType } from '../types';
|
|
2
2
|
export declare const getTableData: (data: ScanResultDTO, category: SecurityModalStateType["category"], subCategory: SecurityModalStateType["subCategory"], setDetailViewData: OpenDetailViewButtonProps["setDetailViewData"], hidePolicy: boolean) => TablePropsType;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { getTableData } from './Table';
|
|
2
2
|
export { getInfoCardData } from './InfoCard';
|
|
3
3
|
export { getSidebarData } from './Sidebar';
|
|
4
|
-
export {
|
|
4
|
+
export { getProgressingStateForStatus } from './ImageScan';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { SeveritiesDTO, SortOrderEnum, EmptyStateType, SecurityModalStateType } from './types';
|
|
1
2
|
import { ScanCategoriesWithLicense } from '../types';
|
|
2
|
-
import { EmptyStateType, SecurityModalStateType, SeveritiesDTO, SortOrderEnum } from './types';
|
|
3
3
|
export declare const DEFAULT_SECURITY_MODAL_IMAGE_STATE: {
|
|
4
4
|
category: "imageScan";
|
|
5
5
|
subCategory: "vulnerability";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { getProgressingStateForStatus, getSidebarData } from './config';
|
|
2
|
-
export { CATEGORY_LABELS } from './constants';
|
|
3
1
|
export { default as SecurityModal } from './SecurityModal';
|
|
4
|
-
export { getSecurityScan } from './service';
|
|
5
|
-
export type { GetResourceScanDetailsPayloadType, GetResourceScanDetailsResponseType, ScanResultDTO, SidebarDataChildType, SidebarDataType, SidebarPropsType, } from './types';
|
|
6
|
-
export { SeveritiesDTO } from './types';
|
|
7
2
|
export { getSecurityScanSeveritiesCount, getTotalVulnerabilityCount, parseGetResourceScanDetailsResponse, } from './utils';
|
|
3
|
+
export type { ScanResultDTO, SidebarPropsType, SidebarDataChildType, SidebarDataType, GetResourceScanDetailsPayloadType, GetResourceScanDetailsResponseType, } from './types';
|
|
4
|
+
export { SeveritiesDTO } from './types';
|
|
5
|
+
export { getSidebarData, getProgressingStateForStatus } from './config';
|
|
6
|
+
export { CATEGORY_LABELS } from './constants';
|
|
7
|
+
export { getSecurityScan } from './service';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
+
import { GenericEmptyStateType } from '../../../../Common/Types';
|
|
3
|
+
import { LastExecutionResultType, NodeType, Nodes } from '../../../types';
|
|
2
4
|
import { SegmentedBarChartProps } from '../../../../Common/SegmentedBarChart';
|
|
3
5
|
import { ServerErrors } from '../../../../Common/ServerError';
|
|
4
|
-
import { GenericEmptyStateType } from '../../../../Common/Types';
|
|
5
|
-
import { LastExecutionResultType, Nodes, NodeType } from '../../../types';
|
|
6
6
|
import { ScanCategories, ScanSubCategories } from '../types';
|
|
7
7
|
export interface GetResourceScanDetailsPayloadType {
|
|
8
8
|
name: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { ScanResultDTO, SeveritiesDTO, GetResourceScanDetailsResponseType, ImageScanVulnerabilityType, ImageVulnerabilityType, VulnerabilityCountType } from './types';
|
|
1
2
|
import { SEVERITIES } from './constants';
|
|
2
|
-
import { GetResourceScanDetailsResponseType, ImageScanVulnerabilityType, ImageVulnerabilityType, ScanResultDTO, SeveritiesDTO, VulnerabilityCountType } from './types';
|
|
3
3
|
export declare const mapSeveritiesToSegmentedBarChartEntities: (severities: Partial<Record<keyof typeof SEVERITIES, number>>) => {
|
|
4
|
-
color: "var(--
|
|
4
|
+
color: "var(--G500)" | "var(--N300)" | "var(--R700)" | "var(--R500)" | "var(--O500)" | "var(--Y500)";
|
|
5
5
|
label: "Unknown" | "Critical" | "High" | "Medium" | "Low" | "Failures" | "Successes" | "Exceptions";
|
|
6
6
|
value: number;
|
|
7
7
|
}[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ImageScanLicenseListType, ImageScanVulnerabilityListType, StatusType } from './SecurityModal/types';
|
|
2
1
|
import { ScanResultDTO, SeveritiesDTO } from './SecurityModal';
|
|
2
|
+
import { ImageScanLicenseListType, ImageScanVulnerabilityListType, StatusType } from './SecurityModal/types';
|
|
3
3
|
import { CategoriesConfig, SecurityConfigType } from './types';
|
|
4
4
|
export declare const getCVEUrlFromCVEName: (cveName: string) => string;
|
|
5
5
|
export declare const getTotalSeverities: (severityCount: Partial<Record<SeveritiesDTO, number>>) => number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DropdownIndicatorProps, ControlProps, OptionProps, ClearIndicatorProps, ValueContainerProps, MenuListProps, MultiValueRemoveProps, MultiValueProps, InputProps } from 'react-select';
|
|
2
2
|
import { TooltipProps } from '@Common/Tooltip/types';
|
|
3
3
|
import { SelectPickerGroupHeadingProps, SelectPickerOptionType, SelectPickerProps } from './type';
|
|
4
4
|
export declare const getTooltipProps: (tooltipProps?: SelectPickerOptionType["tooltipProps"]) => TooltipProps;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { default as FilterSelectPicker } from './FilterSelectPicker';
|
|
2
1
|
export { default as SelectPicker } from './SelectPicker.component';
|
|
3
2
|
export * from './SelectPickerTextArea.component';
|
|
3
|
+
export { default as FilterSelectPicker } from './FilterSelectPicker';
|
|
4
4
|
export * from './type';
|
|
5
5
|
export { getSelectPickerOptionByValue } from './utils';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
+
import { ServerErrors } from '../../../Common/ServerError';
|
|
2
|
+
import { OptionType } from '../../../Common/Types';
|
|
3
|
+
import { ComponentSizeType } from '../../constants';
|
|
1
4
|
import { MutableRefObject, ReactElement, ReactNode } from 'react';
|
|
2
5
|
import { GroupBase, GroupHeadingProps, Props as ReactSelectProps, SelectInstance } from 'react-select';
|
|
3
6
|
import { CreatableProps } from 'react-select/creatable';
|
|
4
|
-
import { ResizableTagTextAreaProps } from '../../../Common/CustomTagSelector';
|
|
5
|
-
import { ServerErrors } from '../../../Common/ServerError';
|
|
6
7
|
import { TooltipProps } from '@Common/Tooltip/types';
|
|
7
|
-
import {
|
|
8
|
-
import { ComponentSizeType } from '../../constants';
|
|
9
|
-
import { ButtonComponentType, ButtonProps, ButtonVariantType } from '../Button';
|
|
8
|
+
import { ResizableTagTextAreaProps } from '../../../Common/CustomTagSelector';
|
|
10
9
|
import { FormFieldWrapperProps } from '../FormFieldWrapper/types';
|
|
10
|
+
import { ButtonComponentType, ButtonProps, ButtonVariantType } from '../Button';
|
|
11
11
|
export interface SelectPickerOptionType<OptionValue = string | number> extends OptionType<OptionValue, ReactNode> {
|
|
12
12
|
/**
|
|
13
13
|
* Description to be displayed for the option
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { GroupBase, MultiValue, OptionsOrGroups, StylesConfig } from 'react-select';
|
|
2
1
|
import { CHECKBOX_VALUE } from '../../../Common/Types';
|
|
2
|
+
import { GroupBase, MultiValue, OptionsOrGroups, StylesConfig } from 'react-select';
|
|
3
3
|
import { SelectPickerOptionType, SelectPickerProps } from './type';
|
|
4
4
|
export declare const getCommonSelectStyle: <OptionValue, IsMulti extends boolean>({ error, size, menuSize, variant, getIsOptionValid, isGroupHeadingSelectable, shouldMenuAlignRight, }: Pick<SelectPickerProps<OptionValue, IsMulti>, "error" | "size" | "menuSize" | "variant" | "shouldMenuAlignRight"> & Pick<SelectPickerProps<OptionValue, IsMulti>["multiSelectProps"], "getIsOptionValid" | "isGroupHeadingSelectable">) => StylesConfig<SelectPickerOptionType<OptionValue>>;
|
|
5
5
|
export declare const getGroupCheckboxValue: <OptionValue>(groupHeadingOptions: readonly SelectPickerOptionType<OptionValue>[], selectedOptions: MultiValue<SelectPickerOptionType<OptionValue>>, getOptionValue: (option: SelectPickerOptionType<OptionValue>) => string) => CHECKBOX_VALUE.CHECKED | CHECKBOX_VALUE.INTERMEDIATE;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { LinkProps, NavLinkProps } from 'react-router-dom';
|
|
2
|
-
import { TooltipProps } from '@Common/Tooltip/types';
|
|
3
2
|
import { ComponentSizeType } from '../../constants';
|
|
4
3
|
import { DataAttributes } from '../../types';
|
|
4
|
+
import { TooltipProps } from '@Common/Tooltip/types';
|
|
5
5
|
import { IconName } from '../Icon';
|
|
6
6
|
type TabComponentProps<TabTypeProps> = TabTypeProps & DataAttributes;
|
|
7
7
|
type ConditionalTabType = {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { default as Table } from './Table.component';
|
|
2
|
-
export type { CellComponentProps as TableCellComponentProps, Column as TableColumnType, TableProps, ViewWrapperProps as TableViewWrapperProps, } from './types';
|
|
3
2
|
export { FiltersTypeEnum, PaginationEnum, SignalEnum as TableSignalEnum } from './types';
|
|
3
|
+
export type { ViewWrapperProps as TableViewWrapperProps, Column as TableColumnType, TableProps, CellComponentProps as TableCellComponentProps, } from './types';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Dispatch, FunctionComponent, PropsWithChildren, SetStateAction } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { SortableTableHeaderCellProps, useResizableTableConfig } from '../../../Common/SortableTableHeaderCell';
|
|
3
3
|
import { UseStateFiltersProps, UseStateFiltersReturnType, UseUrlFiltersProps } from '../../../Common/Hooks';
|
|
4
4
|
import { GenericEmptyStateType } from '../../../Common/index';
|
|
5
|
-
import {
|
|
5
|
+
import { GenericFilterEmptyStateProps } from '@Common/EmptyState/types';
|
|
6
6
|
import { useBulkSelection, UseBulkSelectionProps } from '../BulkSelection';
|
|
7
7
|
export interface UseFiltersReturnType extends UseStateFiltersReturnType<string> {
|
|
8
8
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { DEVTRON_AI_URL } from './constants';
|
|
2
1
|
export { default as TagsContainer } from './TagsContainer';
|
|
3
|
-
export type { TagsTableColumnsType } from './types';
|
|
4
2
|
export { getEmptyTagTableRow } from './utils';
|
|
3
|
+
export type { TagsTableColumnsType } from './types';
|
|
4
|
+
export { DEVTRON_AI_URL } from './constants';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ChangeCIPayloadType, CIPipelineNodeType, WorkflowType } from '../../types';
|
|
2
1
|
import { AppConfigProps } from '../../../Pages/index';
|
|
2
|
+
import { ChangeCIPayloadType, CIPipelineNodeType, WorkflowType } from '../../types';
|
|
3
3
|
interface LinkedCDSourceVariant {
|
|
4
4
|
title: string;
|
|
5
5
|
subtitle: string;
|