@devtron-labs/devtron-fe-common-lib 1.10.17 → 1.10.19-beta-2
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-BvjrvTRt.js → @code-editor-DxP97mCy.js} +24305 -24184
- package/dist/{@common-rjsf-DM5WzH7I.js → @common-rjsf-jCWOV1Ik.js} +29 -29
- package/dist/{@framer-motion-DMD7dX-G.js → @framer-motion-3ACrfimm.js} +1 -1
- package/dist/{@react-dates-DxmDHBUI.js → @react-dates-C1YJpDXg.js} +990 -989
- package/dist/{@react-select-BR4eLpVa.js → @react-select-rJh4_EaU.js} +1 -1
- package/dist/{@react-virtualized-sticky-tree-Ca-pl6uN.js → @react-virtualized-sticky-tree-CMLds5Wa.js} +1 -1
- package/dist/{@vendor-DZHtXPTX.js → @vendor-HJw8T7OP.js} +29443 -29446
- 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 +2 -1
- package/dist/Common/Constants.d.ts +0 -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 +5 -1
- package/dist/Common/SortableTableHeaderCell/index.d.ts +1 -1
- package/dist/Common/Toggle/Toggle.d.ts +2 -1
- package/dist/Common/Tooltip/index.d.ts +1 -1
- package/dist/Common/Tooltip/types.d.ts +1 -1
- package/dist/Common/Types.d.ts +1 -0
- 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/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 +5 -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 +2 -1
- package/dist/Shared/Components/DevtronLicenseCard/utils.d.ts +2 -1
- 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/FramerComponents/MotionDiv.d.ts +2 -0
- package/dist/Shared/Components/FramerComponents/index.d.ts +3 -0
- 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 +14 -0
- package/dist/Shared/Components/Icon/types.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.helpers.d.ts +2 -2
- package/dist/Shared/Components/TabGroup/TabGroup.types.d.ts +6 -4
- package/dist/Shared/Components/TabGroup/TabGroup.utils.d.ts +2 -0
- 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 -62
- 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 -2
- package/dist/Shared/Hooks/useForm/useForm.d.ts +9 -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/useOneTimePrompt/constants.d.ts +1 -0
- package/dist/Shared/Hooks/useOneTimePrompt/index.d.ts +1 -0
- package/dist/Shared/Hooks/useOneTimePrompt/types.d.ts +3 -0
- package/dist/Shared/Hooks/useOneTimePrompt/useOneTimePrompt.d.ts +6 -0
- 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 +2 -2
- 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 +16 -7
- package/dist/assets/@code-editor.css +1 -1
- package/dist/assets/ic-arrows-left-right.2d4dda45.svg +3 -0
- package/dist/assets/ic-check.a0f5ee85.svg +3 -0
- package/dist/assets/ic-close-large.fb6095e0.svg +3 -0
- package/dist/assets/ic-delete-lightning.2a7545bd.svg +3 -0
- package/dist/assets/ic-folder-user.ff0670e8.svg +3 -0
- package/dist/assets/ic-hibernate.f75c1e70.svg +19 -0
- package/dist/assets/ic-lightning-fill.25ce980f.svg +3 -0
- package/dist/assets/ic-lightning.02da5bf8.svg +3 -0
- package/dist/assets/ic-medium-delete.f33a9cd7.svg +11 -0
- package/dist/assets/ic-pencil.3ea1c075.svg +3 -0
- package/dist/assets/ic-sort-ascending.45f474ff.svg +3 -0
- package/dist/assets/ic-sort-descending.0ee6b8dd.svg +3 -0
- package/dist/assets/ic-sortable.1d3308e1.svg +3 -0
- package/dist/assets/ic-stamp.23836e37.svg +3 -0
- package/dist/assets/ic-users.102d4732.svg +3 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +539 -534
- package/package.json +5 -4
- package/dist/assets/ic-hibernate.988d2323.svg +0 -28
@@ -1,3 +1,3 @@
|
|
1
1
|
export declare const post: <T = any, K = object>(url: string, data: K, options?: import('..').APIOptions, isMultipartRequest?: boolean) => Promise<import('..').ResponseType<T>>, put: <T = any, K = object>(url: string, data: K, options?: import('..').APIOptions) => Promise<import('..').ResponseType<T>>, patch: <T = any, K = object>(url: string, data: K, options?: import('..').APIOptions) => Promise<import('..').ResponseType<T>>, get: <T = any>(url: string, options?: import('..').APIOptions) => Promise<import('..').ResponseType<T>>, trash: <T = any, K = object>(url: string, data?: K, options?: import('..').APIOptions) => Promise<import('..').ResponseType<T>>;
|
2
|
-
export { getIsRequestAborted, abortPreviousRequests, handleRedirectToLicenseActivation } from './utils';
|
3
2
|
export { default as CoreAPI } from './CoreAPI';
|
3
|
+
export { abortPreviousRequests, getIsRequestAborted, handleRedirectToLicenseActivation } from './utils';
|
@@ -1,5 +1,5 @@
|
|
1
|
-
export * from './
|
2
|
-
export * from './readOnlyTooltip';
|
1
|
+
export * from './DiffMinimap';
|
3
2
|
export * from './findAndReplace';
|
3
|
+
export * from './readOnlyTooltip';
|
4
4
|
export * from './yamlHighlight';
|
5
|
-
export * from './
|
5
|
+
export * from './yamlParseLinter';
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export { default as CodeEditor } from './CodeEditor';
|
2
|
-
export type {
|
2
|
+
export type { CodeEditorHeaderProps, CodeEditorProps, CodeEditorStatusBarProps } from './types';
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { Dispatch, FunctionComponent, Key, MutableRefObject, ReactNode, SetStateAction, SVGProps } from 'react';
|
2
|
-
import { JSONSchema7 } from 'json-schema';
|
3
|
-
import { EditorView, Extension, ReactCodeMirrorProps } from '@uiw/react-codemirror';
|
4
2
|
import { MergeView } from '@codemirror/merge';
|
5
3
|
import { SearchQuery } from '@codemirror/search';
|
4
|
+
import { EditorView, Extension, ReactCodeMirrorProps } from '@uiw/react-codemirror';
|
5
|
+
import { JSONSchema7 } from 'json-schema';
|
6
6
|
import { MODES } from '../Constants';
|
7
|
-
import { Never } from '../../Shared/types';
|
8
7
|
import { AppThemeType } from '../../Shared/Providers';
|
8
|
+
import { Never } from '../../Shared/types';
|
9
9
|
export interface CodeEditorStatusBarProps {
|
10
10
|
text: string;
|
11
11
|
className?: string;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { EditorView, Extension, Transaction } from '@uiw/react-codemirror';
|
2
1
|
import { MergeView } from '@codemirror/merge';
|
3
2
|
import { SearchQuery } from '@codemirror/search';
|
3
|
+
import { EditorView, Extension, Transaction } from '@uiw/react-codemirror';
|
4
4
|
import { CodeEditorProps, FindReplaceToggleButtonProps, GetCodeEditorHeightReturnType } from './types';
|
5
5
|
export declare const parseValueToCode: (value: string, mode: string, tabSize: number) => string;
|
6
6
|
export declare const getCodeEditorHeight: (height: CodeEditorProps["height"]) => GetCodeEditorHeightReturnType;
|
@@ -10,6 +10,7 @@ export declare const getUpdatedSearchMatchesCount: (newQuery: SearchQuery, view:
|
|
10
10
|
current: number;
|
11
11
|
};
|
12
12
|
export declare const updateDiffMinimapValues: (view: MergeView, transactions: readonly Transaction[], side: "a" | "b") => void;
|
13
|
+
export declare const getScanLimit: (lhsValue: string, value: string) => 500 | 10000 | 5000 | 15000 | 20000;
|
13
14
|
export declare const getFoldGutterElement: (open: boolean) => HTMLSpanElement;
|
14
15
|
export declare const getReadOnlyElement: () => HTMLDivElement;
|
15
16
|
export declare const getRevertControlButton: () => HTMLButtonElement;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
export { default as PropagateTagInfo } from './PropagateTagInfo';
|
2
|
+
export * from './ResizableTagTextArea';
|
2
3
|
export * from './TagDetails';
|
3
4
|
export * from './TagLabelValueSelector';
|
4
|
-
export * from './ResizableTagTextArea';
|
5
|
-
export * from './Types';
|
6
5
|
export { validateTagKeyValue, validateTagValue } from './tags.utils';
|
6
|
+
export * from './Types';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ShortcutType } from './types';
|
2
2
|
export declare const preprocessKeys: (keys: ShortcutType["keys"]) => {
|
3
|
-
keys: ("
|
3
|
+
keys: ("Alt" | "F" | "E" | "R" | "K" | "X" | "A" | "Home" | "End" | "." | "Space" | "Control" | "Shift" | "Meta" | "Escape" | "Enter" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "ArrowDown" | "PageUp" | "PageDown" | "Backspace" | "Delete")[];
|
4
4
|
id: string;
|
5
5
|
};
|
6
6
|
export declare const verifyCallbackStack: (stack: ShortcutType["callbackStack"]) => void;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
export { useGetUserRoles } from './UseGetUserRoles';
|
2
1
|
export { useClickOutside } from './UseClickOutside/UseClickOutside';
|
3
|
-
export {
|
4
|
-
export * from './useUrlFilters';
|
2
|
+
export { useGetUserRoles } from './UseGetUserRoles';
|
5
3
|
export * from './UseRegisterShortcut';
|
6
4
|
export * from './useStateFilters';
|
5
|
+
export * from './useUrlFilters';
|
6
|
+
export { useWindowSize } from './UseWindowSize/UseWindowSize';
|
@@ -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" | "id" | "className" | "disabled" | "onChange" | "name" | "target" | "onFocus" | "onBlur" | "onSubmit" | "onError" | "autoComplete" | "action" | "method" | "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,4 @@
|
|
1
|
+
export { HIDE_SUBMIT_BUTTON_UI_SCHEMA } from './constants';
|
1
2
|
export { RJSFForm } from './Form';
|
2
3
|
export type * from './types';
|
3
|
-
export { getInferredTypeFromValueType, getRedirectionProps, getSchemaPathToUpdatePathMap,
|
4
|
-
export { HIDE_SUBMIT_BUTTON_UI_SCHEMA } from './constants';
|
4
|
+
export { conformPathToPointers, getInferredTypeFromValueType, getRedirectionProps, getSchemaPathToUpdatePathMap, } from './utils';
|
@@ -1,5 +1,5 @@
|
|
1
|
-
export { ArrayFieldTemplate } from './ArrayFieldTemplate';
|
2
1
|
export { ArrayFieldItemTemplate } from './ArrayFieldItemTemplate';
|
2
|
+
export { ArrayFieldTemplate } from './ArrayFieldTemplate';
|
3
3
|
export { BaseInput as BaseInputTemplate } from './BaseInput';
|
4
4
|
export * from './ButtonTemplates';
|
5
5
|
export { Field as FieldTemplate } from './Field';
|
@@ -1,13 +1,17 @@
|
|
1
|
+
import { RefObject } from 'react';
|
1
2
|
import { TooltipProps } from '../Tooltip';
|
2
3
|
import { IconsProps, SelectPickerOptionType } from '../../Shared/Components';
|
3
4
|
import { ComponentSizeType } from '../../Shared/constants';
|
4
|
-
import { RefObject } from 'react';
|
5
5
|
type SegmentTooltipProps = Omit<TooltipProps, 'alwaysShowTippyOnHover' | 'showOnTruncate' | 'shortcutKeyCombo' | 'placement'>;
|
6
6
|
export type SegmentType = Pick<SelectPickerOptionType, 'value'> & {
|
7
7
|
/**
|
8
8
|
* If true, the segment will be in error state with error icon
|
9
9
|
*/
|
10
10
|
isError?: boolean;
|
11
|
+
/**
|
12
|
+
* If true, the segment will be in disabled state
|
13
|
+
*/
|
14
|
+
isDisabled?: boolean;
|
11
15
|
} & (({
|
12
16
|
/**
|
13
17
|
* Label for the segment
|
@@ -1,3 +1,3 @@
|
|
1
1
|
export { default as SortableTableHeaderCell } from './SortableTableHeaderCell';
|
2
|
-
export { default as useResizableTableConfig } from './useResizableTableConfig';
|
3
2
|
export type { SortableTableHeaderCellProps } from './types';
|
3
|
+
export { default as useResizableTableConfig } from './useResizableTableConfig';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
declare const Toggle: ({ selected, onSelect, color, rootClassName, disabled, dataTestId, Icon, iconClass, throttleOnChange, shouldToggleValueOnLabelClick, ...props }: {
|
1
|
+
declare const Toggle: ({ selected, onSelect, color, rootClassName, disabled, dataTestId, Icon, iconClass, throttleOnChange, shouldToggleValueOnLabelClick, isLoading, ...props }: {
|
2
2
|
[x: string]: any;
|
3
3
|
selected?: boolean;
|
4
4
|
onSelect?: any;
|
@@ -10,5 +10,6 @@ declare const Toggle: ({ selected, onSelect, color, rootClassName, disabled, dat
|
|
10
10
|
iconClass?: string;
|
11
11
|
throttleOnChange?: boolean;
|
12
12
|
shouldToggleValueOnLabelClick?: boolean;
|
13
|
+
isLoading?: boolean;
|
13
14
|
}) => JSX.Element;
|
14
15
|
export default Toggle;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { SupportedKeyboardKeysType } from '@Common/Hooks/UseRegisterShortcut/types';
|
2
1
|
import { TippyProps } from '@tippyjs/react';
|
2
|
+
import { SupportedKeyboardKeysType } from '@Common/Hooks/UseRegisterShortcut/types';
|
3
3
|
type BaseTooltipProps = {
|
4
4
|
/**
|
5
5
|
* If true, show tippy on truncate
|
package/dist/Common/Types.d.ts
CHANGED
package/dist/Common/index.d.ts
CHANGED
@@ -1,54 +1,54 @@
|
|
1
|
+
export * from './AddCDButton';
|
2
|
+
export * from './API';
|
3
|
+
export { BreadCrumb, useBreadcrumb } from './BreadCrumb/BreadCrumb';
|
4
|
+
export { default as BreadcrumbStore, BreadcrumbText } from './BreadCrumb/BreadcrumbStore';
|
5
|
+
export { default as ChartVersionAndTypeSelector } from './ChartVersionAndTypeSelector';
|
6
|
+
export * from './Checkbox';
|
7
|
+
export * from './CIPipeline.Types';
|
8
|
+
export { ClipboardButton } from './ClipboardButton/ClipboardButton';
|
9
|
+
export * from './CodeEditor/types';
|
10
|
+
export * from './Common.service';
|
1
11
|
export * from './Constants';
|
2
|
-
export * from './
|
3
|
-
export
|
4
|
-
export
|
12
|
+
export * from './CustomTagSelector';
|
13
|
+
export { default as DebouncedSearch } from './DebouncedSearch/DebouncedSearch';
|
14
|
+
export * from './DeleteCINodeButton';
|
15
|
+
export { default as DevtronCopyright } from './DevtronCopyright';
|
16
|
+
export * from './DevtronProgressing';
|
17
|
+
export * from './Dialogs';
|
18
|
+
export * from './DraggableWrapper';
|
19
|
+
export * from './Drawer/Drawer';
|
20
|
+
export { default as GenericEmptyState } from './EmptyState/GenericEmptyState';
|
21
|
+
export { default as GenericFilterEmptyState } from './EmptyState/GenericFilterEmptyState';
|
5
22
|
export { default as ErrorScreenManager } from './ErrorScreenManager';
|
6
23
|
export { default as ErrorScreenNotAuthorized } from './ErrorScreenNotAuthorized';
|
24
|
+
export * from './GenericDescription';
|
25
|
+
export { default as Grid } from './Grid/Grid';
|
7
26
|
export * from './Helper';
|
8
|
-
export * from './
|
9
|
-
export * from './
|
27
|
+
export * from './Hooks';
|
28
|
+
export * from './ImageTags';
|
29
|
+
export * from './ImageTags.Types';
|
30
|
+
export { default as InfoColourBar } from './InfoColorBar/InfoColourbar';
|
31
|
+
export * from './Markdown';
|
10
32
|
export * from './Modals/Modal';
|
11
33
|
export * from './Modals/VisibleModal';
|
12
34
|
export * from './Modals/VisibleModal2';
|
13
|
-
export
|
14
|
-
export
|
35
|
+
export * from './MultiSelectCustomization';
|
36
|
+
export * from './Pagination';
|
37
|
+
export * from './Policy.Types';
|
38
|
+
export { default as PopupMenu } from './PopupMenu';
|
39
|
+
export * from './Progressing';
|
15
40
|
export { default as RadioGroup } from './RadioGroup';
|
41
|
+
export { default as StyledRadioGroup } from './RadioGroup/RadioGroup';
|
16
42
|
export { default as RadioGroupItem } from './RadioGroupItem';
|
17
|
-
export { default as
|
18
|
-
export * from './
|
19
|
-
export * from './CustomTagSelector';
|
20
|
-
export * from './Dialogs';
|
21
|
-
export * from './MultiSelectCustomization';
|
22
|
-
export { default as InfoColourBar } from './InfoColorBar/InfoColourbar';
|
23
|
-
export * from './Common.service';
|
24
|
-
export * from './Checkbox';
|
25
|
-
export { default as GenericEmptyState } from './EmptyState/GenericEmptyState';
|
26
|
-
export { default as GenericFilterEmptyState } from './EmptyState/GenericFilterEmptyState';
|
43
|
+
export { default as Reload } from './Reload';
|
44
|
+
export * from './RJSF';
|
27
45
|
export * from './SearchBar';
|
46
|
+
export * from './SegmentedBarChart';
|
47
|
+
export * from './SegmentedControl';
|
48
|
+
export { default as Select } from './Select/Select';
|
49
|
+
export * from './ServerError';
|
28
50
|
export * from './SortableTableHeaderCell';
|
51
|
+
export * from './TippyCustomized';
|
29
52
|
export { default as Toggle } from './Toggle/Toggle';
|
30
|
-
export { default as StyledRadioGroup } from './RadioGroup/RadioGroup';
|
31
|
-
export * from './CIPipeline.Types';
|
32
|
-
export * from './Policy.Types';
|
33
|
-
export * from './ImageTags';
|
34
|
-
export * from './ImageTags.Types';
|
35
|
-
export { default as DebouncedSearch } from './DebouncedSearch/DebouncedSearch';
|
36
|
-
export { default as Grid } from './Grid/Grid';
|
37
|
-
export { default as Select } from './Select/Select';
|
38
|
-
export { ClipboardButton } from './ClipboardButton/ClipboardButton';
|
39
|
-
export * from './Hooks';
|
40
|
-
export * from './RJSF';
|
41
|
-
export * from './DevtronProgressing';
|
42
|
-
export { default as ChartVersionAndTypeSelector } from './ChartVersionAndTypeSelector';
|
43
|
-
export * from './AddCDButton';
|
44
|
-
export * from './DraggableWrapper';
|
45
|
-
export * from './Pagination';
|
46
|
-
export * from './Markdown';
|
47
|
-
export * from './GenericDescription';
|
48
|
-
export * from './SegmentedBarChart';
|
49
|
-
export * from './CodeEditor/types';
|
50
53
|
export * from './Tooltip';
|
51
|
-
export * from './
|
52
|
-
export * from './API';
|
53
|
-
export * from './DeleteCINodeButton';
|
54
|
-
export { default as DevtronCopyright } from './DevtronCopyright';
|
54
|
+
export * from './Types';
|
package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/ConfigMapSecret/utils.d.ts
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
import { CMSecretExternalType } from '../../../../../../Shared/
|
1
|
+
import { CMSecretExternalType } from '../../../../../../Shared/Services';
|
2
2
|
export declare const hasHashiOrAWS: (externalType: CMSecretExternalType) => boolean;
|
3
3
|
export declare const hasESO: (externalType: CMSecretExternalType) => boolean;
|
package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/index.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
export * from './types';
|
2
|
-
export * from './service';
|
3
|
-
export { default as DTApplicationMetricsFormField } from './DTApplicationMetricsFormField';
|
4
1
|
export { GET_RESOLVED_DEPLOYMENT_TEMPLATE_EMPTY_RESPONSE } from './constants';
|
2
|
+
export { default as DTApplicationMetricsFormField } from './DTApplicationMetricsFormField';
|
5
3
|
export * from './GUIView';
|
4
|
+
export * from './service';
|
5
|
+
export * from './types';
|
package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/types.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { DraftMetadataDTO, TemplateListType } from '../../../../../../Shared/Services';
|
2
1
|
import { ServerErrors } from '../../../../../../Common/ServerError';
|
2
|
+
import { DraftMetadataDTO, TemplateListType } from '../../../../../../Shared/Services';
|
3
3
|
import { OverrideMergeStrategyType } from '../types';
|
4
4
|
export type DeploymentChartOptionkind = 'base' | 'env' | 'chartVersion' | 'deployment';
|
5
5
|
export interface DeploymentChartVersionType {
|
@@ -1,6 +1,6 @@
|
|
1
|
-
export * from './
|
2
|
-
export * from './types';
|
1
|
+
export * from './ConfigMapSecret';
|
3
2
|
export * from './constants';
|
3
|
+
export * from './DeploymentTemplate';
|
4
4
|
export { default as OverrideStrategyTippyContent } from './OverrideStrategyTippyContent';
|
5
|
+
export * from './types';
|
5
6
|
export { getDeploymentStageTitle } from './utils';
|
6
|
-
export * from './ConfigMapSecret';
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { ResourceKindType } from '../../../../../Shared/types';
|
2
1
|
import { ReactNode, SyntheticEvent } from 'react';
|
2
|
+
import { ResourceKindType } from '../../../../../Shared/types';
|
3
3
|
export declare enum ConfigHeaderTabType {
|
4
4
|
VALUES = "values",
|
5
5
|
INHERITED = "inherited",
|
@@ -1,5 +1,5 @@
|
|
1
|
-
export
|
1
|
+
export { STAGE_MAP } from './constants';
|
2
2
|
export * from './services';
|
3
|
+
export * from './types';
|
3
4
|
export { getAPIOptionsWithTriggerTimeout } from './utils';
|
4
|
-
export { STAGE_MAP } from './constants';
|
5
5
|
export { isImageActiveOnEnvironment } from './utils';
|
@@ -6,4 +6,4 @@ export declare const uploadCDPipelineFile: ({ file, appId, envId, allowedExtensi
|
|
6
6
|
envId: number;
|
7
7
|
abortControllerRef?: MutableRefObject<AbortController>;
|
8
8
|
}) => Promise<UploadFileDTO>;
|
9
|
-
export declare const triggerCDNode: ({ pipelineId, ciArtifactId, appId, stageType, deploymentWithConfig, wfrId, runtimeParamsPayload, abortControllerRef, isRollbackTrigger, }: TriggerCDNodeServiceProps) => Promise<import('../../../../../Common/Types').ResponseType<any>>;
|
9
|
+
export declare const triggerCDNode: ({ pipelineId, ciArtifactId, appId, stageType, deploymentWithConfig, wfrId, runtimeParamsPayload, abortControllerRef, skipIfHibernated, isRollbackTrigger, }: TriggerCDNodeServiceProps) => Promise<import('../../../../../Common/Types').ResponseType<any>>;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { BuildStageType, FormType } from '../../../../../Common/CIPipeline.Types';
|
2
2
|
import { APIOptions, DeploymentAppTypes, DeploymentNodeType } from '../../../../../Common/Types';
|
3
|
-
import { STAGE_MAP } from '../../../../index';
|
4
3
|
import { DeploymentStrategy } from '../../../../../Shared/Components';
|
5
4
|
import { EnvListMinDTO, RuntimeParamsTriggerPayloadType } from '../../../../../Shared/types';
|
5
|
+
import { STAGE_MAP } from '../../../../index';
|
6
6
|
interface ConfigSecretType {
|
7
7
|
label: string;
|
8
8
|
value: string;
|
@@ -100,6 +100,7 @@ export interface TriggerCDNodeServiceProps extends Pick<APIOptions, 'abortContro
|
|
100
100
|
ciArtifactId: number;
|
101
101
|
appId: number;
|
102
102
|
stageType: DeploymentNodeType;
|
103
|
+
skipIfHibernated: boolean;
|
103
104
|
deploymentWithConfig?: string;
|
104
105
|
wfrId?: number;
|
105
106
|
/**
|
@@ -108,7 +109,7 @@ export interface TriggerCDNodeServiceProps extends Pick<APIOptions, 'abortContro
|
|
108
109
|
runtimeParamsPayload?: RuntimeParamsTriggerPayloadType;
|
109
110
|
isRollbackTrigger?: boolean;
|
110
111
|
}
|
111
|
-
export interface TriggerCDPipelinePayloadType extends Pick<TriggerCDNodeServiceProps, 'pipelineId' | 'appId' | 'ciArtifactId' | 'runtimeParamsPayload' | 'deploymentWithConfig'
|
112
|
+
export interface TriggerCDPipelinePayloadType extends Pick<TriggerCDNodeServiceProps, 'pipelineId' | 'appId' | 'ciArtifactId' | 'runtimeParamsPayload' | 'deploymentWithConfig'>, Partial<Pick<TriggerCDNodeServiceProps, 'skipIfHibernated'>> {
|
112
113
|
cdWorkflowType: (typeof STAGE_MAP)[keyof typeof STAGE_MAP];
|
113
114
|
isRollbackDeployment: boolean;
|
114
115
|
wfrIdForDeploymentWithSpecificTrigger?: number;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { UploadFileDTO, UploadFileProps } from '../../../../../Shared/types';
|
2
1
|
import { APIOptions } from '../../../../../Common/Types';
|
2
|
+
import { UploadFileDTO, UploadFileProps } from '../../../../../Shared/types';
|
3
3
|
export declare const uploadCIPipelineFile: ({ file, appId, ciPipelineId, envId, allowedExtensions, maxUploadSize, abortControllerRef, }: {
|
4
4
|
appId: number;
|
5
5
|
ciPipelineId: number;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
export * from './constants';
|
2
|
-
export type { UserListFilterParams, UserRoleGroup, UserGroupDTO, UserGroupType } from './types';
|
3
|
-
export { UserTypeToFetchType } from './types';
|
4
|
-
export * from './shared';
|
5
2
|
export * from './service';
|
3
|
+
export * from './shared';
|
4
|
+
export type { UserGroupDTO, UserGroupType, UserListFilterParams, UserRoleGroup } from './types';
|
5
|
+
export { UserTypeToFetchType } from './types';
|
6
6
|
export { getUserAndApiTokenOption } from './utils';
|
@@ -1,3 +1,3 @@
|
|
1
|
-
import { SelectPickerOptionType } from '../../../Shared/Components';
|
2
1
|
import { GroupBase } from 'react-select';
|
2
|
+
import { SelectPickerOptionType } from '../../../Shared/Components';
|
3
3
|
export declare const getUserAndApiTokenOptions: () => Promise<GroupBase<SelectPickerOptionType<string>>[]>;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { UserRoleGroupsTableProps } from './types';
|
2
1
|
import { UserRoleGroup } from '../../../types';
|
2
|
+
import { UserRoleGroupsTableProps } from './types';
|
3
3
|
declare const UserRoleGroupTableRow: ({ id, name, description, status, timeToLive, modifierClassName, disableStatusComponent, handleStatusUpdate, handleDelete, statusComponent: StatusComponent, showStatus, showDelete, }: UserRoleGroup & Pick<UserRoleGroupsTableProps, "disableStatusComponent" | "handleStatusUpdate" | "handleDelete" | "statusComponent" | "showStatus"> & {
|
4
4
|
modifierClassName: string;
|
5
5
|
showDelete: boolean;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { UseBreadcrumbProps } from '@Common/BreadCrumb/Types';
|
2
|
-
import { CMSecretComponentType } from '../../../Shared/
|
3
|
-
import { BuildInfraConfigTypes, BuildInfraFormFieldType, BuildInfraLocators, BuildInfraMetaConfigTypes,
|
2
|
+
import { CMSecretComponentType } from '../../../Shared/Services';
|
3
|
+
import { BuildInfraAPIVersionType, BuildInfraConfigTypes, BuildInfraFormFieldType, BuildInfraInheritActionsOnSubValues, BuildInfraLocators, BuildInfraMetaConfigTypes, BuildInfraToleranceEffectType, BuildInfraToleranceOperatorType, HandleProfileInputChangeType, InfraConfigWithSubValues, ProfileInputErrorType, RequestLimitConfigType, TargetPlatformErrorFields, ValidateRequestLimitType } from './types';
|
4
4
|
export declare const BUILD_INFRA_INPUT_CONSTRAINTS: {
|
5
5
|
readonly STEP: "any";
|
6
6
|
readonly MIN: 0;
|
@@ -1,12 +1,12 @@
|
|
1
|
-
export { default as BuildInfraDescriptor } from './Descriptor';
|
2
|
-
export { default as BuildInfraFooter } from './Footer';
|
3
1
|
export { default as BuildInfraConfigForm } from './BuildInfraConfigForm';
|
4
|
-
export { default as BuildInfraProfileNameField } from './BuildInfraProfileNameField';
|
5
2
|
export { default as BuildInfraProfileDescriptionField } from './BuildInfraDescriptionField';
|
6
3
|
export { default as BuildInfraFormAction } from './BuildInfraFormAction';
|
7
|
-
export { default as
|
4
|
+
export { default as BuildInfraProfileNameField } from './BuildInfraProfileNameField';
|
8
5
|
export * from './BuildInfraUtilityContext';
|
6
|
+
export * from './constants';
|
7
|
+
export { default as BuildInfraDescriptor } from './Descriptor';
|
8
|
+
export { default as BuildInfraFooter } from './Footer';
|
9
9
|
export * from './services';
|
10
|
-
export * from './utils';
|
11
10
|
export * from './types';
|
12
|
-
export
|
11
|
+
export { default as useBuildInfraForm } from './UseBuildInfraForm';
|
12
|
+
export * from './utils';
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { FormEvent, FunctionComponent, ReactNode, SyntheticEvent } from 'react';
|
2
2
|
import { BUILD_INFRA_INHERIT_ACTIONS, useBuildInfraForm } from '../../index';
|
3
|
+
import { ServerErrors } from '../../../Common';
|
3
4
|
import { Breadcrumb } from '../../../Common/BreadCrumb/Types';
|
4
5
|
import { CMSecretComponentType, CMSecretConfigData, CMSecretPayloadType, ConfigMapSecretUseFormProps, getUniqueId, useForm, ValidationResponseType } from '../../../Shared';
|
5
|
-
import { ServerErrors } from '../../../Common';
|
6
6
|
/**
|
7
7
|
* Unique actions that will be dispatched and,
|
8
8
|
* Keeping values (cpu_limit, etc) in sync with backend
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { ValidateNodeSelectorParamsType, ValidateRequestLimitResponseType, ValidateRequestLimitType } from '../../index';
|
2
1
|
import { ValidationResponseType } from '../../../Shared/validations';
|
2
|
+
import { ValidateNodeSelectorParamsType, ValidateRequestLimitResponseType, ValidateRequestLimitType } from '../../index';
|
3
3
|
/**
|
4
4
|
* @description A valid platform name should not be empty and be less than 128 characters. Plus profile can not have duplicate platform names
|
5
5
|
*/
|
@@ -1,7 +1,7 @@
|
|
1
|
-
export * from './ResourceBrowser.Types';
|
2
|
-
export * from './Helper';
|
3
1
|
export * from './constants';
|
4
|
-
export * from './types';
|
5
|
-
export * from './service';
|
6
|
-
export { default as NodeDrainOptions } from './NodeDrainOptions';
|
7
2
|
export { default as ForceDeleteOption } from './ForceDeleteOption';
|
3
|
+
export * from './Helper';
|
4
|
+
export { default as NodeDrainOptions } from './NodeDrainOptions';
|
5
|
+
export * from './ResourceBrowser.Types';
|
6
|
+
export * from './service';
|
7
|
+
export * from './types';
|
package/dist/Pages/index.d.ts
CHANGED
@@ -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;
|