@devtron-labs/devtron-fe-common-lib 0.0.76-beta-1 → 0.0.76-beta-3
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/Common/AddCDButton/AddCDButton.d.ts +1 -1
- package/dist/Common/AddCDButton/types.d.ts +1 -0
- package/dist/Common/AddCDButton/utils.d.ts +1 -0
- package/dist/Common/Api.d.ts +2 -1
- package/dist/Common/AppStatus/AppStatus.d.ts +1 -1
- package/dist/Common/BreadCrumb/BreadCrumb.d.ts +2 -1
- package/dist/Common/BreadCrumb/BreadcrumbStore.d.ts +2 -1
- package/dist/Common/ChartVersionAndTypeSelector.d.ts +1 -0
- package/dist/Common/Checkbox.d.ts +2 -1
- package/dist/Common/ClipboardButton/ClipboardButton.d.ts +2 -2
- package/dist/Common/CodeEditor/CodeEditor.d.ts +2 -1
- package/dist/Common/Common.service.d.ts +1 -1
- package/dist/Common/Constants.d.ts +27 -8
- package/dist/Common/CustomInput/CustomInput.d.ts +1 -0
- package/dist/Common/CustomInput/Types.d.ts +2 -1
- package/dist/Common/CustomTagSelector/ResizableTagTextArea.d.ts +1 -0
- package/dist/Common/CustomTagSelector/TagDetails.d.ts +1 -0
- package/dist/Common/CustomTagSelector/TagLabelSelect.d.ts +1 -0
- package/dist/Common/CustomTagSelector/TagLabelValueSelector.d.ts +1 -0
- package/dist/Common/CustomTagSelector/Types.d.ts +2 -2
- package/dist/Common/DebouncedSearch/DebouncedSearch.d.ts +1 -1
- package/dist/Common/DeleteComponentModal/DeleteComponent.d.ts +1 -0
- package/dist/Common/DevtronProgressing/DevtronProgressing.d.ts +1 -0
- package/dist/Common/Dialogs/ConfirmationDialog.d.ts +1 -0
- package/dist/Common/Dialogs/DeleteDialog.d.ts +2 -1
- package/dist/Common/Dialogs/DialogForm.d.ts +2 -1
- package/dist/Common/Dialogs/ForceDeleteDialog.d.ts +1 -1
- package/dist/Common/Dialogs/Types.d.ts +1 -0
- package/dist/Common/DraggableWrapper/DraggableButton.d.ts +1 -1
- package/dist/Common/DraggableWrapper/DraggableWrapper.d.ts +1 -1
- package/dist/Common/DraggableWrapper/types.d.ts +1 -0
- package/dist/Common/Drawer/Drawer.d.ts +1 -0
- package/dist/Common/EmptyState/GenericEmptyState.d.ts +1 -0
- package/dist/Common/ErrorPage.d.ts +4 -0
- package/dist/Common/ErrorScreenManager.d.ts +4 -0
- package/dist/Common/ErrorScreenNotAuthorized.d.ts +4 -0
- package/dist/Common/Grid/Grid.d.ts +1 -1
- package/dist/Common/Grid/types.d.ts +1 -0
- package/dist/Common/Helper.d.ts +5 -2
- package/dist/Common/Hooks/UseSuperAdmin/UseSuperAdmin.d.ts +1 -0
- package/dist/Common/Hooks/index.d.ts +0 -1
- package/dist/Common/Hooks/useUrlFilters/types.d.ts +1 -0
- package/dist/Common/Hooks/useUrlFilters/useUrlFilters.d.ts +1 -0
- package/dist/Common/ImageTags.Types.d.ts +1 -1
- package/dist/Common/ImageTags.d.ts +1 -0
- package/dist/Common/InfoColorBar/InfoColourbar.d.ts +1 -0
- package/dist/Common/Modals/Modal.d.ts +2 -1
- package/dist/Common/Modals/OpaqueModal.d.ts +2 -1
- package/dist/Common/Modals/VisibleModal.d.ts +2 -1
- package/dist/Common/Modals/VisibleModal2.d.ts +2 -1
- package/dist/Common/MultiSelectCustomization.d.ts +2 -1
- package/dist/Common/Pagination/PageSizeSelector.d.ts +1 -0
- package/dist/Common/Pagination/Pagination.d.ts +1 -0
- package/dist/Common/Pagination/utils.d.ts +1 -0
- package/dist/Common/Policy.Types.d.ts +2 -1
- package/dist/Common/PopupMenu.d.ts +1 -0
- package/dist/Common/Progressing.d.ts +1 -0
- package/dist/Common/RJSF/Form.d.ts +1 -0
- package/dist/Common/RJSF/common/FieldRow.d.ts +2 -1
- package/dist/Common/RJSF/common/types.d.ts +1 -0
- package/dist/Common/RJSF/config.d.ts +2 -1
- package/dist/Common/RJSF/templates/ArrayFieldItemTemplate.d.ts +1 -0
- package/dist/Common/RJSF/templates/ArrayFieldTemplate.d.ts +1 -0
- package/dist/Common/RJSF/templates/BaseInput.d.ts +1 -0
- package/dist/Common/RJSF/templates/ButtonTemplates/AddButton.d.ts +1 -0
- package/dist/Common/RJSF/templates/ButtonTemplates/RemoveButton.d.ts +1 -0
- package/dist/Common/RJSF/templates/ButtonTemplates/SubmitButton.d.ts +1 -0
- package/dist/Common/RJSF/templates/Description.d.ts +1 -0
- package/dist/Common/RJSF/templates/Field.d.ts +1 -0
- package/dist/Common/RJSF/templates/FieldErrorTemplate.d.ts +1 -0
- package/dist/Common/RJSF/templates/ObjectFieldTemplate.d.ts +1 -0
- package/dist/Common/RJSF/templates/TitleField.d.ts +1 -0
- package/dist/Common/RJSF/templates/WrapIfAdditionalTemplate.d.ts +1 -0
- package/dist/Common/RJSF/types.d.ts +2 -1
- package/dist/Common/RJSF/utils.d.ts +2 -1
- package/dist/Common/RJSF/widgets/Checkbox.d.ts +1 -0
- package/dist/Common/RJSF/widgets/Select.d.ts +1 -0
- package/dist/Common/RadioGroup/RadioGroup.d.ts +2 -1
- package/dist/Common/RadioGroup.d.ts +2 -2
- package/dist/Common/RadioGroupItem.d.ts +1 -0
- package/dist/Common/Reload.d.ts +2 -2
- package/dist/Common/ResizableTextarea.d.ts +2 -1
- package/dist/Common/SearchBar/SearchBar.component.d.ts +1 -0
- package/dist/Common/Security/ScanVulnerabilitiesTable.d.ts +2 -2
- package/dist/Common/Select/Select.d.ts +2 -1
- package/dist/Common/SortableTableHeaderCell/SortableTableHeaderCell.d.ts +1 -0
- package/dist/Common/SortableTableHeaderCell/types.d.ts +1 -0
- package/dist/Common/TippyCustomized.d.ts +1 -0
- package/dist/Common/ToastBody.d.ts +2 -1
- package/dist/Common/Toggle/Toggle.d.ts +1 -0
- package/dist/Common/Types.d.ts +26 -68
- package/dist/Common/index.d.ts +2 -2
- package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/UserRoleGroupTableRow.d.ts +2 -1
- package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/UserRoleGroupsTable.component.d.ts +1 -0
- package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/types.d.ts +2 -1
- package/dist/Pages/GlobalConfigurations/Authorization/types.d.ts +2 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraConfigForm.d.ts +2 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraDescriptionField.d.ts +2 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraFormAction.d.ts +2 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraFormItem.d.ts +2 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraProfileNameField.d.ts +2 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/Descriptor.d.ts +1 -0
- package/dist/Pages/GlobalConfigurations/BuildInfra/Footer.d.ts +2 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/constants.d.ts +2 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/services.d.ts +2 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/types.d.ts +4 -3
- package/dist/Pages/GlobalConfigurations/BuildInfra/utils.d.ts +1 -0
- package/dist/Shared/Components/APIResponseHandler/APIResponseHandler.d.ts +2 -1
- package/dist/Shared/Components/APIResponseHandler/types.d.ts +2 -10
- package/dist/Shared/Components/BulkSelection/BulkSelection.d.ts +1 -0
- package/dist/Shared/Components/BulkSelection/BulkSelectionDropdownItems.d.ts +1 -0
- package/dist/Shared/Components/BulkSelection/BulkSelectionProvider.d.ts +1 -0
- package/dist/Shared/Components/BulkSelection/types.d.ts +1 -1
- package/dist/Shared/Components/ButtonWithLoader/ButtonWithLoader.d.ts +2 -1
- package/dist/Shared/Components/EditableTextArea/EditableTextArea.d.ts +2 -1
- package/dist/Shared/Components/FilterChips/FilterChips.component.d.ts +1 -0
- package/dist/Shared/Components/FilterChips/types.d.ts +1 -0
- package/dist/Shared/Components/GenericSectionErrorState/GenericSectionErrorState.component.d.ts +2 -1
- package/dist/Shared/Components/GenericSectionErrorState/types.d.ts +1 -21
- package/dist/Shared/Components/GettingStartedCard/GettingStarted.d.ts +1 -0
- package/dist/Shared/Components/GettingStartedCard/service.d.ts +1 -0
- package/dist/Shared/Components/GettingStartedCard/types.d.ts +1 -0
- package/dist/Shared/Components/Header/HeaderWithCreateButton/HeaderWithCreateButon.d.ts +1 -0
- package/dist/Shared/Components/Header/HelpNav.d.ts +1 -0
- package/dist/Shared/Components/Header/PageHeader.d.ts +1 -0
- package/dist/Shared/Components/Header/constants.d.ts +1 -0
- package/dist/Shared/Components/Header/service.d.ts +2 -1
- package/dist/Shared/Components/Header/types.d.ts +1 -1
- package/dist/Shared/Components/KeyValueList/KeyValueList.d.ts +1 -0
- package/dist/Shared/Components/LogoutCard.d.ts +2 -1
- package/dist/Shared/Components/ReactSelect/utils.d.ts +0 -1
- package/dist/Shared/Components/index.d.ts +0 -7
- package/dist/Shared/Helpers.d.ts +0 -7
- package/dist/Shared/Providers/MainContextProvider.d.ts +1 -0
- package/dist/Shared/Providers/types.d.ts +3 -2
- package/dist/Shared/index.d.ts +0 -1
- package/dist/Shared/types.d.ts +0 -157
- package/dist/assets/index.css +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +15358 -15426
- package/package.json +3 -5
- package/dist/Common/Error.d.ts +0 -17
- package/dist/Common/ErrorScreenNotFound.d.ts +0 -2
- package/dist/Common/Hooks/UseRegisterShortcut/UseRegisterShortcut.d.ts +0 -2
- package/dist/Common/Hooks/UseRegisterShortcut/UseRegisterShortcutContext.d.ts +0 -3
- package/dist/Common/Hooks/UseRegisterShortcut/UseRegisterShortcutProvider.d.ts +0 -3
- package/dist/Common/Hooks/UseRegisterShortcut/index.d.ts +0 -2
- package/dist/Common/Hooks/UseRegisterShortcut/types.d.ts +0 -8
- package/dist/Common/Markdown/MarkDown.d.ts +0 -3
- package/dist/Common/Markdown/Types.d.ts +0 -7
- package/dist/Common/Markdown/index.d.ts +0 -1
- package/dist/Shared/Components/ActivityIndicator/ActivityIndicator.d.ts +0 -3
- package/dist/Shared/Components/ActivityIndicator/index.d.ts +0 -1
- package/dist/Shared/Components/ActivityIndicator/types.d.ts +0 -3
- package/dist/Shared/Components/ExcludedImageNode/ExcludedImageNode.d.ts +0 -3
- package/dist/Shared/Components/ExcludedImageNode/index.d.ts +0 -1
- package/dist/Shared/Components/ExcludedImageNode/types.d.ts +0 -3
- package/dist/Shared/Components/ImageCard/ArtifactInfo/ArtifactInfo.d.ts +0 -3
- package/dist/Shared/Components/ImageCard/ArtifactInfo/index.d.ts +0 -1
- package/dist/Shared/Components/ImageCard/ArtifactInfo/types.d.ts +0 -3
- package/dist/Shared/Components/ImageCard/ImageCard.d.ts +0 -3
- package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/DeploymentEnvState/DeploymentEnvState.d.ts +0 -3
- package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/DeploymentEnvState/constants.d.ts +0 -6
- package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/DeploymentEnvState/index.d.ts +0 -1
- package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/DeploymentEnvState/types.d.ts +0 -10
- package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/DeploymentEnvState/utils.d.ts +0 -2
- package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/SequentialCDCardTitle.d.ts +0 -3
- package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/index.d.ts +0 -1
- package/dist/Shared/Components/ImageCard/index.d.ts +0 -3
- package/dist/Shared/Components/ImageCard/types.d.ts +0 -40
- package/dist/Shared/Components/ImageCardAccordion/ImageCardAccordion.d.ts +0 -3
- package/dist/Shared/Components/ImageCardAccordion/index.d.ts +0 -1
- package/dist/Shared/Components/ImageCardAccordion/types.d.ts +0 -23
- package/dist/Shared/Components/ScannedByToolModal/ScannedByToolModal.d.ts +0 -3
- package/dist/Shared/Components/ScannedByToolModal/index.d.ts +0 -1
- package/dist/Shared/Components/ScannedByToolModal/types.d.ts +0 -3
- package/dist/Shared/Components/ScannedObjectBar/ScannedObjectBar.d.ts +0 -3
- package/dist/Shared/Components/ScannedObjectBar/index.d.ts +0 -1
- package/dist/Shared/Components/ScannedObjectBar/types.d.ts +0 -7
- package/dist/Shared/Components/Vulnerabilities/Vulnerabilities.d.ts +0 -3
- package/dist/Shared/Components/Vulnerabilities/constants.d.ts +0 -4
- package/dist/Shared/Components/Vulnerabilities/index.d.ts +0 -2
- package/dist/Shared/Components/Vulnerabilities/service.d.ts +0 -2
- package/dist/Shared/Components/Vulnerabilities/types.d.ts +0 -8
- package/dist/Shared/Components/Vulnerabilities/utils.d.ts +0 -3
- package/dist/Shared/constants.d.ts +0 -31
package/dist/Common/Api.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { MutableRefObject } from 'react';
|
|
2
1
|
import { ResponseType, APIOptions } from './Types';
|
|
2
|
+
import { MutableRefObject } from 'react';
|
|
3
|
+
|
|
3
4
|
export declare const post: (url: string, data: object, options?: APIOptions, isMultipartRequest?: boolean) => Promise<ResponseType>;
|
|
4
5
|
export declare const put: (url: string, data: object, options?: APIOptions) => Promise<ResponseType>;
|
|
5
6
|
export declare const get: (url: string, options?: APIOptions) => Promise<ResponseType>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { Breadcrumbs, UseBreadcrumbOptionalProps, UseBreadcrumbState } from './Types';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
|
|
3
4
|
export declare const BreadcrumbContext: React.Context<any>;
|
|
4
5
|
export declare function useBreadcrumb(props?: UseBreadcrumbOptionalProps, deps?: any[]): UseBreadcrumbState;
|
|
5
6
|
export declare const BreadCrumb: React.FC<Breadcrumbs>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { default as ClipboardProps } from './types';
|
|
2
|
+
|
|
3
3
|
/**
|
|
4
4
|
* @param content - Content to be copied
|
|
5
5
|
* @param copiedTippyText - Text to be shown in the tippy when the content is copied, default 'Copied!'
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { TeamList, ResponseType, DeploymentNodeType, CDMaterialServiceEnum, CDMaterialServiceQueryParams, CDMaterialResponseType } from './Types';
|
|
2
|
+
|
|
2
3
|
export declare const getTeamListMin: () => Promise<TeamList>;
|
|
3
4
|
interface UserRole extends ResponseType {
|
|
4
5
|
result?: {
|
|
@@ -17,5 +18,4 @@ export declare const genericCDMaterialsService: (serviceType: CDMaterialServiceE
|
|
|
17
18
|
export declare function extractImage(image: string): string;
|
|
18
19
|
export declare function createGitCommitUrl(url: string, revision: string): string;
|
|
19
20
|
export declare function fetchChartTemplateVersions(): Promise<ResponseType<any>>;
|
|
20
|
-
export declare const getDefaultConfig: () => Promise<ResponseType>;
|
|
21
21
|
export {};
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { RegistryTypeDetailType } from './Types';
|
|
2
|
+
|
|
2
3
|
export declare const FALLBACK_REQUEST_TIMEOUT = 60000;
|
|
3
4
|
export declare const Host: string;
|
|
4
5
|
export declare const DOCUMENTATION_HOME_PAGE = "https://docs.devtron.ai";
|
|
6
|
+
export declare const DISCORD_LINK = "https://discord.devtron.ai/";
|
|
5
7
|
export declare const DOCUMENTATION: {
|
|
6
8
|
APP_TAGS: string;
|
|
7
9
|
APP_OVERVIEW_TAGS: string;
|
|
@@ -25,15 +27,13 @@ export declare const URLS: {
|
|
|
25
27
|
APP_LIST_HELM: string;
|
|
26
28
|
};
|
|
27
29
|
export declare const ROUTES: {
|
|
28
|
-
APP_ARTIFACT_PROMOTE_MATERIAL: string;
|
|
29
30
|
PROJECT_LIST_MIN: string;
|
|
30
31
|
USER_CHECK_ROLE: string;
|
|
31
32
|
IMAGE_TAGGING: string;
|
|
32
33
|
CD_MATERIAL_GET: string;
|
|
33
34
|
DEPLOYMENT_TEMPLATE_LIST: string;
|
|
34
35
|
INFRA_CONFIG_PROFILE: string;
|
|
35
|
-
|
|
36
|
-
NOTIFIER: string;
|
|
36
|
+
APP_LIST: string;
|
|
37
37
|
TELEMETRY_EVENT: string;
|
|
38
38
|
SERVER_INFO_API: string;
|
|
39
39
|
ATTRIBUTES_USER: string;
|
|
@@ -51,6 +51,16 @@ export declare const DEFAULT_TAG_DATA: {
|
|
|
51
51
|
isInvalidValue: boolean;
|
|
52
52
|
isSuggested: boolean;
|
|
53
53
|
};
|
|
54
|
+
export declare enum ERROR_STATUS_CODE {
|
|
55
|
+
BAD_REQUEST = 400,
|
|
56
|
+
UNAUTHORIZED = 401,
|
|
57
|
+
PERMISSION_DENIED = 403,
|
|
58
|
+
NOT_FOUND = 404,
|
|
59
|
+
EXPECTATION_FAILED = 417,
|
|
60
|
+
INTERNAL_SERVER_ERROR = 500,
|
|
61
|
+
BAD_GATEWAY = 502,
|
|
62
|
+
SERVICE_TEMPORARY_UNAVAILABLE = 503
|
|
63
|
+
}
|
|
54
64
|
export declare const TOAST_ACCESS_DENIED: {
|
|
55
65
|
TITLE: string;
|
|
56
66
|
SUBTITLE: string;
|
|
@@ -59,11 +69,23 @@ export declare const ERROR_EMPTY_SCREEN: {
|
|
|
59
69
|
PAGE_NOT_FOUND: string;
|
|
60
70
|
PAGE_NOT_EXIST: string;
|
|
61
71
|
TAKE_BACK_HOME: string;
|
|
72
|
+
REPORT_ISSUE: string;
|
|
62
73
|
ONLY_FOR_SUPERADMIN: string;
|
|
63
74
|
NOT_AUTHORIZED: string;
|
|
75
|
+
REQUIRED_MANAGER_ACCESS: string;
|
|
76
|
+
BAD_REQUEST: string;
|
|
77
|
+
BAD_REQUEST_MESSAGE: string;
|
|
78
|
+
TRY_AGAIN: string;
|
|
64
79
|
UNAUTHORIZED: string;
|
|
80
|
+
UNAUTHORIZED_MESSAGE: string;
|
|
65
81
|
FORBIDDEN: string;
|
|
66
|
-
|
|
82
|
+
FORBIDDEN_MESSAGE: string;
|
|
83
|
+
INTERNAL_SERVER_ERROR: string;
|
|
84
|
+
INTERNAL_SERVER_ERROR_MESSAGE: string;
|
|
85
|
+
BAD_GATEWAY: string;
|
|
86
|
+
BAD_GATEWAY_MESSAGE: string;
|
|
87
|
+
SERVICE_TEMPORARY_UNAVAILABLE: string;
|
|
88
|
+
SERVICE_TEMPORARY_UNAVAILABLE_MESSAGE: string;
|
|
67
89
|
};
|
|
68
90
|
export declare const TOKEN_COOKIE_NAME = "argocd.token";
|
|
69
91
|
export declare const TriggerTypeMap: {
|
|
@@ -89,8 +111,7 @@ export declare enum MODES {
|
|
|
89
111
|
}
|
|
90
112
|
export declare enum APPROVAL_MODAL_TYPE {
|
|
91
113
|
CONFIG = "CONFIG",
|
|
92
|
-
DEPLOYMENT = "DEPLOYMENT"
|
|
93
|
-
IMAGE_PROMOTION = "IMAGE-PROMOTION"
|
|
114
|
+
DEPLOYMENT = "DEPLOYMENT"
|
|
94
115
|
}
|
|
95
116
|
export declare const MAX_Z_INDEX = 2147483647;
|
|
96
117
|
export declare const SELECTED_APPROVAL_TAB_STATE: {
|
|
@@ -170,7 +191,6 @@ export declare enum ReactSelectInputAction {
|
|
|
170
191
|
removeValue = "remove-value"
|
|
171
192
|
}
|
|
172
193
|
export declare const ZERO_TIME_STRING = "0001-01-01T00:00:00Z";
|
|
173
|
-
export declare const EXCLUDED_FALSY_VALUES: readonly [any, any, "", number];
|
|
174
194
|
export declare const API_STATUS_CODES: {
|
|
175
195
|
UNAUTHORIZED: number;
|
|
176
196
|
PERMISSION_DENIED: number;
|
|
@@ -181,7 +201,6 @@ export declare enum SERVER_MODE {
|
|
|
181
201
|
EA_ONLY = "EA_ONLY",
|
|
182
202
|
FULL = "FULL"
|
|
183
203
|
}
|
|
184
|
-
export declare const DISCORD_LINK = "https://discord.devtron.ai/";
|
|
185
204
|
export declare const POSTHOG_EVENT_ONBOARDING: {
|
|
186
205
|
PREVIEW: string;
|
|
187
206
|
DEPLOY_CUSTOM_APP_CI_CD: string;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import { CustomInputProps } from './Types';
|
|
2
|
+
|
|
2
3
|
export declare const CustomInput: ({ name, value, error, onChange, onFocus, label, type, disabled, labelClassName, placeholder, tabIndex, dataTestid, isRequiredField, autoFocus, rootClassName, autoComplete, helperText, handleOnBlur, readOnly, noTrim, ref, onKeyPress, defaultValue, onKeyDown, required, additionalErrorInfo, inputWrapClassName, inputProps, }: CustomInputProps) => JSX.Element;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import { ResizableTagTextAreaProps } from './Types';
|
|
2
|
+
|
|
2
3
|
export declare const ResizableTagTextArea: ({ className, minHeight, maxHeight, value, onChange, onBlur, onFocus, placeholder, tabIndex, refVar, dependentRef, dataTestId, handleKeyDown, }: ResizableTagTextAreaProps) => JSX.Element;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import { TagLabelValueSelectorType } from './Types';
|
|
2
|
+
|
|
2
3
|
export declare const TagLabelValueSelector: ({ selectedTagIndex, tagData, setTagData, tagOptions, isRequired, tagInputType, placeholder, tabIndex, refVar, dependentRef, noBackDrop, }: TagLabelValueSelectorType) => JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { KEY_VALUE } from '../Constants';
|
|
3
1
|
import { OptionType } from '../Types';
|
|
2
|
+
import { KEY_VALUE } from '../Constants';
|
|
3
|
+
|
|
4
4
|
export interface SuggestedTagOptionType extends OptionType {
|
|
5
5
|
description: string;
|
|
6
6
|
propagate: boolean;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { DeleteComponentProps } from './types';
|
|
2
|
+
|
|
2
3
|
declare const DeleteComponent: ({ setDeleting, toggleConfirmation, deleteComponent, title, component, payload, confirmationDialogDescription, redirectTo, url, reload, configuration, closeCustomComponent, }: DeleteComponentProps) => JSX.Element;
|
|
3
4
|
export default DeleteComponent;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ConfirmationDialogBodyType, ConfirmationDialogButtonGroupType, ConfirmationDialogIconType, ConfirmationDialogType } from './Types';
|
|
2
|
+
|
|
2
3
|
declare const ConfirmationDialog: {
|
|
3
4
|
({ className, children }: ConfirmationDialogType): JSX.Element;
|
|
4
5
|
Icon: ({ src, className }: ConfirmationDialogIconType) => JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { GenericEmptyStateType } from '../Types';
|
|
2
|
+
|
|
2
3
|
declare const GenericEmptyState: ({ title, image, subTitle, isButtonAvailable, classname, styles, heightToDeduct, imageType, renderButton, imageClassName, children, SvgImage, noImage, layout, contentClassName, imageStyles, }: GenericEmptyStateType) => JSX.Element;
|
|
3
4
|
export default GenericEmptyState;
|
package/dist/Common/Helper.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { AsyncOptions, UseSearchString } from './Types';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
|
|
3
4
|
export declare function showError(serverError: any, showToastOnUnknownError?: boolean, hideAccessError?: boolean): void;
|
|
4
5
|
interface ConditionalWrapper<T> {
|
|
5
6
|
condition: boolean;
|
|
@@ -7,7 +8,7 @@ interface ConditionalWrapper<T> {
|
|
|
7
8
|
children: T;
|
|
8
9
|
}
|
|
9
10
|
export declare const ConditionalWrap: React.FC<ConditionalWrapper<any>>;
|
|
10
|
-
export declare function sortCallback(key: string, a: any, b: any, isCaseSensitive?: boolean):
|
|
11
|
+
export declare function sortCallback(key: string, a: any, b: any, isCaseSensitive?: boolean): 1 | 0 | -1;
|
|
11
12
|
export declare const stopPropagation: (event: any) => void;
|
|
12
13
|
export declare function useThrottledEffect(callback: any, delay: any, deps?: any[]): void;
|
|
13
14
|
export declare function getRandomColor(email: string): string;
|
|
@@ -15,6 +16,8 @@ export declare const getAlphabetIcon: (str: string, rootClassName?: string) => J
|
|
|
15
16
|
export declare const getEmptyArrayOfLength: (length: number) => unknown[];
|
|
16
17
|
export declare function noop(...args: any[]): any;
|
|
17
18
|
export declare function not(e: any): boolean;
|
|
19
|
+
export declare const refresh: () => void;
|
|
20
|
+
export declare const reportIssue: () => void;
|
|
18
21
|
export declare function useEffectAfterMount(cb: any, dependencies: any): void;
|
|
19
22
|
export declare function getCookie(sKey: any): string;
|
|
20
23
|
export declare function getLoginInfo(): any;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { ImageButtonType, ImageTaggingContainerType } from './ImageTags.Types';
|
|
2
|
+
|
|
2
3
|
export declare const ImageTagsContainer: ({ ciPipelineId, artifactId, imageComment, imageReleaseTags, updateCurrentAppMaterial, appReleaseTagNames, setAppReleaseTagNames, tagsEditable, setTagsEditable, toggleCardMode, hideHardDelete, forceReInit, isSuperAdmin, }: ImageTaggingContainerType) => JSX.Element;
|
|
3
4
|
export declare const ImageTagButton: ({ text, isSoftDeleted, isEditing, onSoftDeleteClick, onHardDeleteClick, tagId, softDeleteTags, isSuperAdmin, duplicateTag, hideHardDelete, }: ImageButtonType) => JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { InfoColourBarType } from '../Types';
|
|
2
|
+
|
|
2
3
|
declare const InfoColourBar: ({ message, classname, Icon, iconClass, iconSize, renderActionButton, linkText, redirectLink, linkOnClick, linkClass, internalLink, styles, }: InfoColourBarType) => JSX.Element;
|
|
3
4
|
export default InfoColourBar;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { ModalType } from '../Types';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
|
|
3
4
|
export declare const Modal: ({ style, children, modal, rootClassName, onClick, callbackRef, preventWheelDisable, noBackDrop, }: ModalType) => React.ReactPortal;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
2
3
|
export declare const Option: (props: any) => JSX.Element;
|
|
3
4
|
export declare const SingleSelectOption: (props: any) => JSX.Element;
|
|
4
5
|
export declare const MultiValueContainer: (props: any) => JSX.Element;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PopupMenuBodyType, PopupMenuButtonType, PopupMenuType } from './Types';
|
|
2
|
+
|
|
2
3
|
declare const PopupMenu: {
|
|
3
4
|
({ children, onToggleCallback, autoClose, autoPosition, }: PopupMenuType): any;
|
|
4
5
|
Button: ({ children, disabled, rootClassName, tabIndex, onHover, isKebab, dataTestId, }: PopupMenuButtonType) => JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { ProgressingProps } from './Types';
|
|
2
|
+
|
|
2
3
|
export declare const Progressing: ({ pageLoader, size, theme, styles, fillColor }: ProgressingProps) => JSX.Element;
|
|
3
4
|
export declare const DetailsProgressing: ({ loadingText, size, fullHeight, styles, fillColor, children, }: ProgressingProps) => JSX.Element;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { FieldRowProps } from './types';
|
|
2
1
|
import { DO_NOT_SHOW_LABEL } from '../constants';
|
|
2
|
+
import { FieldRowProps } from './types';
|
|
3
|
+
|
|
3
4
|
export declare const FieldRowWithLabel: ({ showLabel, label, required, children, id, shouldAlignCenter, }: Omit<FieldRowProps, "label"> & {
|
|
4
5
|
label: FieldRowProps['label'] | typeof DO_NOT_SHOW_LABEL;
|
|
5
6
|
}) => JSX.Element;
|