@devtron-labs/devtron-fe-common-lib 1.21.0-beta-2 → 1.21.0-beta-4
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-BeRIvMlJ.js → @code-editor-BfqG9Eov.js} +17535 -18946
- package/dist/{@common-rjsf-DlmUYaoA.js → @common-rjsf-B20unqUl.js} +30 -30
- package/dist/{@framer-motion-DiccRE_m.js → @framer-motion-DZveCoIL.js} +194 -196
- package/dist/{@moment-CwOqp704.js → @moment-CGWt8tF2.js} +524 -493
- package/dist/@react-dates-CZ1bNWJM.js +7634 -0
- package/dist/{@react-select-C8Ggns2W.js → @react-select-DS68hCUM.js} +1 -1
- package/dist/{@react-virtualized-sticky-tree-ecV8cl3B.js → @react-virtualized-sticky-tree-V-8klKy9.js} +1 -1
- package/dist/{@vendor-CIVr12Xb.js → @vendor-3ORIJA0h.js} +28715 -33811
- package/dist/Common/API/types.d.ts +1 -1
- package/dist/Common/BreadCrumb/Types.d.ts +0 -20
- package/dist/Common/ClipboardButton/ClipboardButton.d.ts +2 -2
- package/dist/Common/ClipboardButton/types.d.ts +2 -12
- package/dist/Common/Common.service.d.ts +1 -4
- package/dist/Common/Constants.d.ts +16 -69
- package/dist/Common/Hooks/UseRegisterShortcut/types.d.ts +0 -1
- package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +1 -1
- package/dist/Common/SearchBar/SearchBar.component.d.ts +1 -1
- package/dist/Common/SearchBar/types.d.ts +0 -8
- package/dist/Common/SegmentedBarChart/types.d.ts +2 -10
- package/dist/Common/SegmentedControl/Segment.d.ts +1 -1
- package/dist/Common/SegmentedControl/SegmentedControl.component.d.ts +1 -1
- package/dist/Common/SegmentedControl/index.d.ts +1 -1
- package/dist/Common/SegmentedControl/types.d.ts +9 -13
- package/dist/Common/Tooltip/Tooltip.d.ts +1 -1
- package/dist/Common/Types.d.ts +5 -64
- package/dist/Common/index.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/Descriptor.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/constants.d.ts +2 -0
- package/dist/Pages/GlobalConfigurations/BuildInfra/types.d.ts +7 -13
- package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/index.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/types.d.ts +8 -0
- package/dist/Pages/ResourceBrowser/ResourceBrowser.Types.d.ts +3 -3
- package/dist/Pages/ResourceBrowser/constants.d.ts +8 -8
- package/dist/Pages/ResourceBrowser/types.d.ts +1 -2
- package/dist/Shared/Components/ActionMenu/types.d.ts +0 -3
- package/dist/Shared/Components/ActionMenu/useActionMenu.hook.d.ts +2 -2
- package/dist/Shared/Components/Backdrop/Backdrop.d.ts +1 -1
- package/dist/Shared/Components/Backdrop/types.d.ts +1 -1
- package/dist/Shared/Components/Badge/utils.d.ts +1 -2
- package/dist/Shared/Components/Button/Button.component.d.ts +12 -12
- package/dist/Shared/Components/CICDHistory/ConflictedResourcesTable.d.ts +3 -0
- package/dist/Shared/Components/CICDHistory/ResourceConflictDeployDialog.d.ts +3 -0
- package/dist/Shared/Components/CICDHistory/ResourceConflictDetailsModal.d.ts +3 -0
- package/dist/Shared/Components/CICDHistory/TriggerDetails.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/WorkerStatus.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/constants.d.ts +4 -1
- package/dist/Shared/Components/CICDHistory/service.d.ts +3 -1
- package/dist/Shared/Components/CICDHistory/types.d.ts +65 -1
- package/dist/Shared/Components/CICDHistory/utils.d.ts +1 -0
- package/dist/Shared/Components/DTFocusTrap/DTFocusTrap.d.ts +1 -1
- package/dist/Shared/Components/DTFocusTrap/types.d.ts +1 -2
- package/dist/Shared/Components/DatePicker/DateTimePicker.d.ts +1 -1
- package/dist/Shared/Components/DatePicker/DayPickerRangeController.d.ts +2 -0
- package/dist/Shared/Components/DatePicker/SingleDatePickerComponent.d.ts +11 -0
- package/dist/Shared/Components/DatePicker/constants.d.ts +112 -2
- package/dist/Shared/Components/DatePicker/index.d.ts +2 -0
- package/dist/Shared/Components/DatePicker/types.d.ts +29 -34
- package/dist/Shared/Components/DatePicker/utils.d.ts +1 -1
- package/dist/Shared/Components/DocLink/constants.d.ts +0 -3
- package/dist/Shared/Components/FeatureDescription/types.d.ts +1 -1
- package/dist/Shared/Components/FramerComponents/index.d.ts +2 -2
- package/dist/Shared/Components/GenericSectionErrorState/GenericSectionErrorState.component.d.ts +1 -2
- package/dist/Shared/Components/GenericSectionErrorState/types.d.ts +5 -21
- package/dist/Shared/Components/Header/HeaderWithCreateButton/HeaderWithCreateButon.d.ts +1 -1
- package/dist/Shared/Components/Header/HeaderWithCreateButton/types.d.ts +3 -1
- package/dist/Shared/Components/Header/PageHeader.d.ts +1 -1
- package/dist/Shared/Components/Header/types.d.ts +0 -2
- package/dist/Shared/Components/Icon/Icon.d.ts +0 -69
- package/dist/Shared/Components/Icon/IconBase.d.ts +1 -1
- package/dist/Shared/Components/Icon/types.d.ts +0 -6
- package/dist/Shared/Components/Illustration/Illustration.d.ts +0 -6
- package/dist/Shared/Components/Security/SecurityModal/constants.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/index.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +3 -3
- package/dist/Shared/Components/Security/constants.d.ts +0 -2
- package/dist/Shared/Components/Security/index.d.ts +0 -3
- package/dist/Shared/Components/Security/types.d.ts +0 -10
- package/dist/Shared/Components/SelectPicker/SelectPicker.component.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 +1 -3
- package/dist/Shared/Components/SelectPicker/utils.d.ts +0 -1
- package/dist/Shared/Components/Table/InternalTable.d.ts +1 -1
- package/dist/Shared/Components/Table/TableContent.d.ts +1 -1
- package/dist/Shared/Components/Table/types.d.ts +6 -12
- package/dist/Shared/Components/TrailingItem/types.d.ts +0 -4
- package/dist/Shared/Components/TreeView/TreeView.component.d.ts +1 -1
- package/dist/Shared/Components/TreeView/TreeViewNodeContent.d.ts +1 -1
- package/dist/Shared/Components/TreeView/constants.d.ts +0 -3
- package/dist/Shared/Components/TreeView/types.d.ts +3 -17
- package/dist/Shared/Components/WorkflowOptionsModal/utils.d.ts +3 -3
- package/dist/Shared/Components/index.d.ts +0 -7
- package/dist/Shared/Helpers.d.ts +2 -11
- package/dist/Shared/Hooks/useGetResourceKindsOptions/service.d.ts +5 -0
- package/dist/Shared/Hooks/useGetResourceKindsOptions/types.d.ts +20 -5
- package/dist/Shared/Hooks/useUserPreferences/service.d.ts +1 -1
- package/dist/Shared/Hooks/useUserPreferences/types.d.ts +2 -32
- package/dist/Shared/Providers/MainContextProvider/types.d.ts +0 -9
- package/dist/Shared/Services/common.service.d.ts +0 -3
- package/dist/Shared/Services/types.d.ts +1 -10
- package/dist/Shared/constants.d.ts +16 -3
- package/dist/Shared/types.d.ts +0 -20
- package/dist/Shared/validations.d.ts +0 -2
- package/dist/assets/@code-editor.css +1 -1
- package/dist/assets/@react-dates.css +1 -0
- package/dist/assets/@vendor.css +1 -1
- package/dist/assets/ic-calender-blank.963e3423.svg +19 -0
- package/dist/index.d.ts +6 -5
- package/dist/index.js +970 -1020
- package/package.json +7 -7
- package/dist/Common/BreadCrumb/NestedBreadCrumb.d.ts +0 -2
- package/dist/Common/SegmentedBarChart/utils.d.ts +0 -2
- package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/VirtualClusterSidebar.d.ts +0 -2
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/ApplicationManagementIcon/ApplicationManagementIcon.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/ApplicationManagementIcon/index.d.ts +0 -2
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/ApplicationManagementIcon/utils.d.ts +0 -6
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/index.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/ApplicationManagement/index.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/Automation&Enablement/Overview/Overview.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/Automation&Enablement/Overview/index.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/Automation&Enablement/index.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/CostVisibility/Overview/Overview.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/CostVisibility/Overview/index.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/CostVisibility/Shared/constants.d.ts +0 -4
- package/dist/Pages-Devtron-2.0/CostVisibility/Shared/index.d.ts +0 -2
- package/dist/Pages-Devtron-2.0/CostVisibility/Shared/types.d.ts +0 -31
- package/dist/Pages-Devtron-2.0/CostVisibility/index.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/DataProtectionManagement/index.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/DataProtectionManagement/types.d.ts +0 -8
- package/dist/Pages-Devtron-2.0/GlobalConfiguration/Overview/Overview.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/GlobalConfiguration/Overview/index.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/GlobalConfiguration/index.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/GlobalOverview/GlobalOverview.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/GlobalOverview/index.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/InfrastructureManagementIcon.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/index.d.ts +0 -2
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/utils.d.ts +0 -6
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/index.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/index.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/utils.d.ts +0 -11
- package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/SecurityCenterIcon/SecurityCenterIcon.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/SecurityCenterIcon/index.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/SecurityCenterIcon/utils.d.ts +0 -6
- package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/index.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/SecurityCenter/index.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/Overview/Overview.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/Overview/index.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/index.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/index.d.ts +0 -5
- package/dist/Shared/Components/Card/Card.component.d.ts +0 -3
- package/dist/Shared/Components/Card/constants.d.ts +0 -4
- package/dist/Shared/Components/Card/index.d.ts +0 -2
- package/dist/Shared/Components/Card/types.d.ts +0 -25
- package/dist/Shared/Components/Charts/Chart.component.d.ts +0 -121
- package/dist/Shared/Components/Charts/constants.d.ts +0 -10
- package/dist/Shared/Components/Charts/index.d.ts +0 -4
- package/dist/Shared/Components/Charts/plugins.d.ts +0 -7
- package/dist/Shared/Components/Charts/types.d.ts +0 -135
- package/dist/Shared/Components/Charts/utils.d.ts +0 -30
- package/dist/Shared/Components/ClusterStatusIcon/ClusterStatusIcon.d.ts +0 -3
- package/dist/Shared/Components/ClusterStatusIcon/index.d.ts +0 -1
- package/dist/Shared/Components/ClusterStatusIcon/types.d.ts +0 -5
- package/dist/Shared/Components/ClusterStatusIcon/utils.d.ts +0 -2
- package/dist/Shared/Components/ExportToCsv/ExportToCsv.d.ts +0 -3
- package/dist/Shared/Components/ExportToCsv/ExportToCsvDialog.d.ts +0 -3
- package/dist/Shared/Components/ExportToCsv/index.d.ts +0 -2
- package/dist/Shared/Components/ExportToCsv/types.d.ts +0 -64
- package/dist/Shared/Components/KeyboardShortcut/KeyboardShortcut.component.d.ts +0 -3
- package/dist/Shared/Components/KeyboardShortcut/constants.d.ts +0 -3
- package/dist/Shared/Components/KeyboardShortcut/index.d.ts +0 -1
- package/dist/Shared/Components/KeyboardShortcut/types.d.ts +0 -4
- package/dist/Shared/Components/PrometheusConfigurations/PrometheusConfigCard.d.ts +0 -3
- package/dist/Shared/Components/PrometheusConfigurations/index.d.ts +0 -2
- package/dist/Shared/Components/PrometheusConfigurations/types.d.ts +0 -20
- package/dist/Shared/Components/SideNavigation/SideNavigation.d.ts +0 -2
- package/dist/Shared/Components/SideNavigation/index.d.ts +0 -2
- package/dist/Shared/Components/SideNavigation/types.d.ts +0 -19
- package/dist/assets/create-backup-schedule.bbac4a86.webp +0 -0
- package/dist/assets/create-backup-snapshot.c794f612.webp +0 -0
- package/dist/assets/ic-ai.25e44e0c.svg +0 -3
- package/dist/assets/ic-alibaba.518d61a4.svg +0 -3
- package/dist/assets/ic-application-group.4b448cca.svg +0 -3
- package/dist/assets/ic-application-management.7fb9e3a0.svg +0 -3
- package/dist/assets/ic-application-template.212d14f1.svg +0 -3
- package/dist/assets/ic-application.4c80bfcf.svg +0 -3
- package/dist/assets/ic-argocd-app.9c5eba79.svg +0 -61
- package/dist/assets/ic-arrow-line-down.b6a98848.svg +0 -3
- package/dist/assets/ic-aws.eb2d0124.svg +0 -12
- package/dist/assets/ic-backup-and-schedule.51b7d3dd.svg +0 -3
- package/dist/assets/ic-backup-color.dc62e9d5.svg +0 -6
- package/dist/assets/ic-backup-location.ebaf1148.svg +0 -3
- package/dist/assets/ic-backup-schedule-color.a16c34b0.svg +0 -5
- package/dist/assets/ic-bg-backup-schedule.9ef9bc39.svg +0 -19
- package/dist/assets/ic-bg-backups.396e99bd.svg +0 -19
- package/dist/assets/ic-bg-build.8609d0ea.svg +0 -13
- package/dist/assets/ic-bg-cpu.15ec70f0.svg +0 -11
- package/dist/assets/ic-bg-deploy.266711fe.svg +0 -22
- package/dist/assets/ic-bg-memory.5373a125.svg +0 -11
- package/dist/assets/ic-bg-pause-schedule.6edcc1d4.svg +0 -14
- package/dist/assets/ic-bg-production-pipelines.2951cdc0.svg +0 -22
- package/dist/assets/ic-bg-project.84658405.svg +0 -12
- package/dist/assets/ic-bg-ransomware-vulnerable-cluster.1b25a5d0.svg +0 -7
- package/dist/assets/ic-bg-restore.4fa13869.svg +0 -33
- package/dist/assets/ic-bg-scan.2249360c.svg +0 -28
- package/dist/assets/ic-bg-storage-locations.894070b0.svg +0 -22
- package/dist/assets/ic-bg-webhook.b455152d.svg +0 -13
- package/dist/assets/ic-bot.65f403dd.svg +0 -3
- package/dist/assets/ic-building.2405d07b.svg +0 -3
- package/dist/assets/ic-chart-line-up.7ab47f4e.svg +0 -3
- package/dist/assets/ic-check-circle.af18cd7e.svg +0 -3
- package/dist/assets/ic-circle-small.a0740b0e.svg +0 -3
- package/dist/assets/ic-clipboard.2869fa7d.svg +0 -3
- package/dist/assets/ic-clock-counterclockwise.3d7c2ef1.svg +0 -3
- package/dist/assets/ic-cloud-upload.55d9c163.svg +0 -3
- package/dist/assets/ic-coins-color-animated.fe11cdc3.svg +0 -112
- package/dist/assets/ic-coins.2c15f406.svg +0 -3
- package/dist/assets/ic-cost-visibility.5595009f.svg +0 -3
- package/dist/assets/ic-database-backup.b9e7c558.svg +0 -3
- package/dist/assets/ic-devtron-text.67a413b6.svg +0 -3
- package/dist/assets/ic-edit-lines.57927b07.svg +0 -3
- package/dist/assets/ic-file-download.ca57c068.svg +0 -5
- package/dist/assets/ic-files-changed.04e6de3f.svg +0 -3
- package/dist/assets/ic-floppy-disk.6d392bcd.svg +0 -3
- package/dist/assets/ic-fluxcd-app.7bf7dce5.svg +0 -22
- package/dist/assets/ic-global-overview.56ba9dc0.svg +0 -3
- package/dist/assets/ic-google-cloud.3077a8dd.svg +0 -6
- package/dist/assets/ic-infrastructure-management.4b052d41.svg +0 -3
- package/dist/assets/ic-kubernetes.7e04c3d2.svg +0 -4
- package/dist/assets/ic-magic-wand.2c29cd4e.svg +0 -10
- package/dist/assets/ic-oracle-cloud.5a8ee45d.svg +0 -3
- package/dist/assets/ic-otc-cloud.43b31bd8.svg +0 -5
- package/dist/assets/ic-party.cfc7e7c6.svg +0 -4
- package/dist/assets/ic-pause.4e5c6056.svg +0 -4
- package/dist/assets/ic-priority-medium-fill.7bab0ff8.svg +0 -4
- package/dist/assets/ic-release-hub.25b9707a.svg +0 -3
- package/dist/assets/ic-resource-browser.4ff3e571.svg +0 -3
- package/dist/assets/ic-resource-watcher.7cce5305.svg +0 -3
- package/dist/assets/ic-right-panel-collapse.0ecf8ceb.svg +0 -3
- package/dist/assets/ic-security-fixable.168b5bf8.svg +0 -12
- package/dist/assets/ic-security-not-fixable.be099f65.svg +0 -12
- package/dist/assets/ic-security-policy.874568da.svg +0 -3
- package/dist/assets/ic-security-scan.3ae78d50.svg +0 -3
- package/dist/assets/ic-security-vulnerability.c954b87a.svg +0 -4
- package/dist/assets/ic-software-release-management.dceedf80.svg +0 -3
- package/dist/assets/ic-symbol-greater-than.8f71342d.svg +0 -3
- package/dist/assets/ic-tenants.4f997b9a.svg +0 -3
- package/dist/assets/ic-trend-up.5752ef30.svg +0 -3
- package/dist/assets/ic-warning-stroke.fc850a4a.svg +0 -3
- package/dist/assets/img-folder-empty.8e898c33.svg +0 -33
- package/dist/assets/img-no-backup-location.0e8699c5.svg +0 -180
- package/dist/assets/img-no-restores.f26cb7db.svg +0 -114
- package/dist/assets/no-cluster-cost-enabled.038c73db.webp +0 -0
package/dist/Shared/Components/GenericSectionErrorState/GenericSectionErrorState.component.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ButtonComponentType } from '../Button';
|
|
2
1
|
import { GenericSectionErrorStateProps } from './types';
|
|
3
|
-
declare const GenericSectionErrorState:
|
|
2
|
+
declare const GenericSectionErrorState: ({ reload, withBorder, title, subTitle, description, buttonText, rootClassName, useInfoIcon, progressingProps, }: GenericSectionErrorStateProps) => JSX.Element;
|
|
4
3
|
export default GenericSectionErrorState;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { ButtonComponentType, ButtonProps } from '../Button';
|
|
3
2
|
import { IconsProps } from '../Icon';
|
|
4
|
-
export type GenericSectionErrorStateProps
|
|
3
|
+
export type GenericSectionErrorStateProps = {
|
|
4
|
+
/**
|
|
5
|
+
* Handler for reloading the section
|
|
6
|
+
*/
|
|
7
|
+
reload?: () => void;
|
|
5
8
|
/**
|
|
6
9
|
* If true, border is added to the section
|
|
7
10
|
*
|
|
@@ -34,7 +37,6 @@ export type GenericSectionErrorStateProps<ButtonType extends ButtonComponentType
|
|
|
34
37
|
*/
|
|
35
38
|
progressingProps: Omit<IconsProps, 'name'>;
|
|
36
39
|
useInfoIcon?: false;
|
|
37
|
-
customIcon?: never;
|
|
38
40
|
} | {
|
|
39
41
|
progressingProps?: never;
|
|
40
42
|
/**
|
|
@@ -43,25 +45,7 @@ export type GenericSectionErrorStateProps<ButtonType extends ButtonComponentType
|
|
|
43
45
|
* @default false
|
|
44
46
|
*/
|
|
45
47
|
useInfoIcon: true;
|
|
46
|
-
customIcon?: never;
|
|
47
|
-
} | {
|
|
48
|
-
progressingProps?: never;
|
|
49
|
-
useInfoIcon?: never;
|
|
50
|
-
customIcon?: never;
|
|
51
48
|
} | {
|
|
52
|
-
customIcon: JSX.Element;
|
|
53
49
|
progressingProps?: never;
|
|
54
50
|
useInfoIcon?: never;
|
|
55
|
-
}) & ({
|
|
56
|
-
/**
|
|
57
|
-
* Handler for reloading the section
|
|
58
|
-
*/
|
|
59
|
-
reload: () => void;
|
|
60
|
-
buttonProps?: never;
|
|
61
|
-
} | {
|
|
62
|
-
reload?: never;
|
|
63
|
-
buttonProps: ButtonProps<ButtonType>;
|
|
64
|
-
} | {
|
|
65
|
-
reload?: never;
|
|
66
|
-
buttonProps?: never;
|
|
67
51
|
});
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { HeaderWithCreateButtonProps } from './types';
|
|
2
|
-
export declare const HeaderWithCreateButton: ({
|
|
2
|
+
export declare const HeaderWithCreateButton: ({ headerName, additionalHeaderInfo }: HeaderWithCreateButtonProps) => JSX.Element;
|
|
3
3
|
export default HeaderWithCreateButton;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { ActionMenuProps } from '../../ActionMenu';
|
|
2
|
+
import { PageHeaderType } from '../types';
|
|
2
3
|
export interface HeaderWithCreateButtonProps {
|
|
3
|
-
|
|
4
|
+
headerName: string;
|
|
5
|
+
additionalHeaderInfo: PageHeaderType['additionalHeaderInfo'];
|
|
4
6
|
}
|
|
5
7
|
export declare enum CreateActionMenuItems {
|
|
6
8
|
CUSTOM_APP = "create-custom-app",
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { PageHeaderType } from './types';
|
|
2
|
-
declare const PageHeader: ({ headerName, headerImage, additionalHeaderInfo, showTabs, renderHeaderTabs, isBreadcrumbs, breadCrumbs, renderActionButtons, onClose, tippyProps,
|
|
2
|
+
declare const PageHeader: ({ headerName, headerImage, additionalHeaderInfo, showTabs, renderHeaderTabs, isBreadcrumbs, breadCrumbs, renderActionButtons, onClose, tippyProps, }: PageHeaderType) => JSX.Element;
|
|
3
3
|
export default PageHeader;
|
|
@@ -17,10 +17,8 @@ export interface PageHeaderType {
|
|
|
17
17
|
TippyIcon?: React.FunctionComponent<any>;
|
|
18
18
|
tippyMessage?: string;
|
|
19
19
|
onClickTippyButton?: () => void;
|
|
20
|
-
tippyHeader?: string;
|
|
21
20
|
};
|
|
22
21
|
onClose?: () => void;
|
|
23
|
-
closeIcon?: JSX.Element;
|
|
24
22
|
}
|
|
25
23
|
export interface ServerInfo {
|
|
26
24
|
currentVersion: string;
|
|
@@ -4,18 +4,10 @@ export declare const iconMap: {
|
|
|
4
4
|
'ic-aborted': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
5
5
|
'ic-activity': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
6
6
|
'ic-add': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
7
|
-
'ic-ai': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
8
|
-
'ic-alibaba': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
9
7
|
'ic-amazon-eks': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
10
8
|
'ic-app-group': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
11
9
|
'ic-app-template': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
12
|
-
'ic-application-group': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
13
|
-
'ic-application-management': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
14
|
-
'ic-application-template': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
15
|
-
'ic-application': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
16
|
-
'ic-argocd-app': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
17
10
|
'ic-arrow-clockwise': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
18
|
-
'ic-arrow-line-down': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
19
11
|
'ic-arrow-right': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
20
12
|
'ic-arrow-square-out': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
21
13
|
'ic-arrows-clockwise': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -23,39 +15,18 @@ export declare const iconMap: {
|
|
|
23
15
|
'ic-asterisk': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
24
16
|
'ic-ather': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
25
17
|
'ic-aws-codecommit': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
26
|
-
'ic-aws': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
27
18
|
'ic-azure-aks': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
28
19
|
'ic-azure': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
29
|
-
'ic-backup-and-schedule': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
30
|
-
'ic-backup-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
31
|
-
'ic-backup-location': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
32
|
-
'ic-backup-schedule-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
33
|
-
'ic-bg-backup-schedule': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
34
|
-
'ic-bg-backups': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
35
|
-
'ic-bg-build': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
36
20
|
'ic-bg-cluster': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
37
|
-
'ic-bg-cpu': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
38
|
-
'ic-bg-deploy': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
39
21
|
'ic-bg-environment': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
40
|
-
'ic-bg-memory': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
41
|
-
'ic-bg-pause-schedule': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
42
|
-
'ic-bg-production-pipelines': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
43
|
-
'ic-bg-project': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
44
|
-
'ic-bg-ransomware-vulnerable-cluster': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
45
|
-
'ic-bg-restore': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
46
|
-
'ic-bg-scan': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
47
|
-
'ic-bg-storage-locations': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
48
|
-
'ic-bg-webhook': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
49
22
|
'ic-bharatpe': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
50
23
|
'ic-binoculars': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
51
24
|
'ic-bitbucket': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
52
25
|
'ic-book-open': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
53
|
-
'ic-bot': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
54
26
|
'ic-brain': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
55
27
|
'ic-browser': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
56
28
|
'ic-bug': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
57
29
|
'ic-build-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
58
|
-
'ic-building': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
59
30
|
'ic-calendar': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
60
31
|
'ic-cancelled': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
61
32
|
'ic-card-stack': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -63,39 +34,29 @@ export declare const iconMap: {
|
|
|
63
34
|
'ic-caret-left': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
64
35
|
'ic-caret-right': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
65
36
|
'ic-cd': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
66
|
-
'ic-chart-line-up': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
67
37
|
'ic-chat-circle-dots': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
68
38
|
'ic-chat-circle-online': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
69
39
|
'ic-check-all': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
70
|
-
'ic-check-circle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
71
40
|
'ic-check-square': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
72
41
|
'ic-check': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
73
42
|
'ic-checks': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
74
43
|
'ic-ci-linked': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
75
44
|
'ic-circle-loader': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
76
|
-
'ic-circle-small': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
77
45
|
'ic-clean-brush': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
78
|
-
'ic-clipboard': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
79
|
-
'ic-clock-counterclockwise': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
80
46
|
'ic-clock': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
81
47
|
'ic-close-large': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
82
48
|
'ic-close-small': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
83
|
-
'ic-cloud-upload': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
84
49
|
'ic-cloud-vms': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
85
50
|
'ic-cluster-isolated': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
86
51
|
'ic-cluster': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
87
52
|
'ic-code': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
88
|
-
'ic-coins-color-animated': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
89
|
-
'ic-coins': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
90
53
|
'ic-container-registry': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
91
54
|
'ic-container': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
92
55
|
'ic-cookr': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
93
56
|
'ic-copy': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
94
|
-
'ic-cost-visibility': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
95
57
|
'ic-cpu': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
96
58
|
'ic-crown': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
97
59
|
'ic-cube': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
98
|
-
'ic-database-backup': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
99
60
|
'ic-delete-dots': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
100
61
|
'ic-delete-lightning': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
101
62
|
'ic-delete': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -106,7 +67,6 @@ export declare const iconMap: {
|
|
|
106
67
|
'ic-devtron-app': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
107
68
|
'ic-devtron-header-logo': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
108
69
|
'ic-devtron-job': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
109
|
-
'ic-devtron-text': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
110
70
|
'ic-devtron': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
111
71
|
'ic-diff-added': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
112
72
|
'ic-diff-deleted': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -116,7 +76,6 @@ export declare const iconMap: {
|
|
|
116
76
|
'ic-dockerhub': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
117
77
|
'ic-download': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
118
78
|
'ic-ecr': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
119
|
-
'ic-edit-lines': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
120
79
|
'ic-edit': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
121
80
|
'ic-email': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
122
81
|
'ic-enter-fullscreen': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -132,17 +91,13 @@ export declare const iconMap: {
|
|
|
132
91
|
'ic-failure': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
133
92
|
'ic-fast-forward': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
134
93
|
'ic-file-code': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
135
|
-
'ic-file-download': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
136
94
|
'ic-file-edit': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
137
95
|
'ic-file-key': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
138
96
|
'ic-file': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
139
|
-
'ic-files-changed': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
140
97
|
'ic-files': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
141
98
|
'ic-filter-applied': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
142
99
|
'ic-filter': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
143
100
|
'ic-flask': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
144
|
-
'ic-floppy-disk': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
145
|
-
'ic-fluxcd-app': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
146
101
|
'ic-folder-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
147
102
|
'ic-folder-user': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
148
103
|
'ic-folder': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -155,9 +110,7 @@ export declare const iconMap: {
|
|
|
155
110
|
'ic-git': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
156
111
|
'ic-github': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
157
112
|
'ic-gitlab': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
158
|
-
'ic-global-overview': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
159
113
|
'ic-google-artifact-registry': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
160
|
-
'ic-google-cloud': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
161
114
|
'ic-google-container-registry': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
162
115
|
'ic-google-gke': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
163
116
|
'ic-google': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -178,7 +131,6 @@ export declare const iconMap: {
|
|
|
178
131
|
'ic-info-filled-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
179
132
|
'ic-info-filled': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
180
133
|
'ic-info-outline': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
181
|
-
'ic-infrastructure-management': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
182
134
|
'ic-input': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
183
135
|
'ic-install': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
184
136
|
'ic-job-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -187,7 +139,6 @@ export declare const iconMap: {
|
|
|
187
139
|
'ic-key-enter': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
188
140
|
'ic-key': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
189
141
|
'ic-kind': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
190
|
-
'ic-kubernetes': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
191
142
|
'ic-laptop': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
192
143
|
'ic-ldap': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
193
144
|
'ic-lego': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -200,7 +151,6 @@ export declare const iconMap: {
|
|
|
200
151
|
'ic-locked': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
201
152
|
'ic-logout': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
202
153
|
'ic-logs': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
203
|
-
'ic-magic-wand': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
204
154
|
'ic-magnifying-glass': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
205
155
|
'ic-medium-delete': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
206
156
|
'ic-medium-paintbucket': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -222,38 +172,23 @@ export declare const iconMap: {
|
|
|
222
172
|
'ic-open-in-new': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
223
173
|
'ic-openai': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
224
174
|
'ic-openshift': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
225
|
-
'ic-oracle-cloud': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
226
|
-
'ic-otc-cloud': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
227
175
|
'ic-out-of-sync': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
228
176
|
'ic-paper-plane-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
229
177
|
'ic-paper-plane': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
230
|
-
'ic-party': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
231
178
|
'ic-path': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
232
179
|
'ic-pause-circle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
233
|
-
'ic-pause': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
234
180
|
'ic-pencil': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
235
181
|
'ic-play-outline': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
236
|
-
'ic-priority-medium-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
237
182
|
'ic-quay': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
238
183
|
'ic-quote': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
239
184
|
'ic-ratings': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
240
|
-
'ic-release-hub': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
241
185
|
'ic-resize-handle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
242
|
-
'ic-resource-browser': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
243
|
-
'ic-resource-watcher': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
244
|
-
'ic-right-panel-collapse': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
245
186
|
'ic-rocket-gear': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
246
187
|
'ic-rocket-launch': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
247
|
-
'ic-security-fixable': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
248
|
-
'ic-security-not-fixable': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
249
|
-
'ic-security-policy': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
250
|
-
'ic-security-scan': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
251
|
-
'ic-security-vulnerability': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
252
188
|
'ic-selected': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
253
189
|
'ic-shapes': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
254
190
|
'ic-shield-check': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
255
191
|
'ic-sliders-vertical': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
256
|
-
'ic-software-release-management': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
257
192
|
'ic-sort-ascending': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
258
193
|
'ic-sort-descending': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
259
194
|
'ic-sortable': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -278,10 +213,8 @@ export declare const iconMap: {
|
|
|
278
213
|
'ic-success': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
279
214
|
'ic-sun': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
280
215
|
'ic-suspended': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
281
|
-
'ic-symbol-greater-than': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
282
216
|
'ic-tag': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
283
217
|
'ic-tata1mg': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
284
|
-
'ic-tenants': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
285
218
|
'ic-terminal-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
286
219
|
'ic-terminal': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
287
220
|
'ic-thermometer': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -291,7 +224,6 @@ export declare const iconMap: {
|
|
|
291
224
|
'ic-timer': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
292
225
|
'ic-traffic-signal': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
293
226
|
'ic-travclan': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
294
|
-
'ic-trend-up': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
295
227
|
'ic-two-cubes': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
296
228
|
'ic-ubuntu': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
297
229
|
'ic-unknown': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -303,7 +235,6 @@ export declare const iconMap: {
|
|
|
303
235
|
'ic-visibility-off': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
304
236
|
'ic-visibility-on': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
305
237
|
'ic-warning-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
306
|
-
'ic-warning-stroke': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
307
238
|
'ic-warning': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
308
239
|
'ic-webhook': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
309
240
|
'ic-wifi-slash': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { IconBaseProps } from './types';
|
|
2
|
-
export declare const IconBase: ({ name, iconMap, size, tooltipProps, color, dataTestId, rotateBy, fillSpace,
|
|
2
|
+
export declare const IconBase: ({ name, iconMap, size, tooltipProps, color, dataTestId, rotateBy, fillSpace, }: IconBaseProps) => JSX.Element;
|
|
@@ -38,12 +38,6 @@ export interface IconBaseProps {
|
|
|
38
38
|
* @example 90, 180, 270
|
|
39
39
|
*/
|
|
40
40
|
rotateBy?: number;
|
|
41
|
-
/**
|
|
42
|
-
* Flips the icon in the specified direction
|
|
43
|
-
*
|
|
44
|
-
* @default undefined
|
|
45
|
-
*/
|
|
46
|
-
flip?: 'horizontal' | 'vertical';
|
|
47
41
|
/**
|
|
48
42
|
* If true, the icon will expand to fill the available space of its container.
|
|
49
43
|
*/
|
|
@@ -1,16 +1,10 @@
|
|
|
1
1
|
import { IllustrationBaseProps } from './types';
|
|
2
2
|
export declare const illustrationMap: {
|
|
3
|
-
'img-folder-empty': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
4
3
|
'img-mechanical-operation': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
5
|
-
'img-no-backup-location': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
6
|
-
'img-no-restores': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
7
|
-
'create-backup-schedule': string;
|
|
8
|
-
'create-backup-snapshot': string;
|
|
9
4
|
'img-code': string;
|
|
10
5
|
'img-devtron-freemium': string;
|
|
11
6
|
'img-man-on-rocket': string;
|
|
12
7
|
'img-no-result': string;
|
|
13
|
-
'no-cluster-cost-enabled': string;
|
|
14
8
|
};
|
|
15
9
|
export type IllustrationName = keyof typeof illustrationMap;
|
|
16
10
|
export interface IllustrationProps extends Omit<IllustrationBaseProps, 'name' | 'illustrationMap'> {
|
|
@@ -17,7 +17,7 @@ export declare const SUB_CATEGORY_LABELS: {
|
|
|
17
17
|
readonly MISCONFIGURATIONS: "Misconfigurations";
|
|
18
18
|
readonly EXPOSED_SECRETS: "Exposed Secrets";
|
|
19
19
|
};
|
|
20
|
-
export declare const
|
|
20
|
+
export declare const SEVERITIES: {
|
|
21
21
|
readonly critical: {
|
|
22
22
|
readonly label: "Critical";
|
|
23
23
|
readonly color: "var(--R700)";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { getProgressingStateForStatus, getSecurityModalSidebarChildFromId, getSecurityModalSidebarId, getSidebarData, } from './config';
|
|
2
|
-
export { CATEGORY_LABELS
|
|
2
|
+
export { CATEGORY_LABELS } from './constants';
|
|
3
3
|
export { default as SecurityModal } from './SecurityModal';
|
|
4
4
|
export { getSecurityScan } from './service';
|
|
5
5
|
export type { GetResourceScanDetailsPayloadType, GetResourceScanDetailsResponseType, ScanResultDTO, SidebarDataChildType, SidebarPropsType, } from './types';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SEVERITIES } from './constants';
|
|
2
2
|
import { GetResourceScanDetailsResponseType, ImageScanVulnerabilityType, ImageVulnerabilityType, ScanResultDTO, SeveritiesDTO, VulnerabilityCountType } from './types';
|
|
3
|
-
export declare const mapSeveritiesToSegmentedBarChartEntities: (severities: Partial<Record<keyof typeof
|
|
3
|
+
export declare const mapSeveritiesToSegmentedBarChartEntities: (severities: Partial<Record<keyof typeof SEVERITIES, number>>) => {
|
|
4
4
|
color: "var(--Y500)" | "var(--R700)" | "var(--R500)" | "var(--G500)" | "var(--N300)" | "var(--O500)";
|
|
5
5
|
label: "Unknown" | "Critical" | "High" | "Medium" | "Low" | "Failures" | "Successes" | "Exceptions";
|
|
6
6
|
value: number;
|
|
7
7
|
}[];
|
|
8
|
-
export declare const stringifySeverities: (severities: Partial<Record<keyof typeof
|
|
8
|
+
export declare const stringifySeverities: (severities: Partial<Record<keyof typeof SEVERITIES, number>>) => string;
|
|
9
9
|
export declare const getSeverityWeight: (severity: SeveritiesDTO) => number;
|
|
10
10
|
export declare const compareSeverity: (a: SeveritiesDTO, b: SeveritiesDTO) => number;
|
|
11
11
|
export declare const getSecurityScanSeveritiesCount: (data: ScanResultDTO) => {
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
export { SEVERITY_LABEL_MAP } from './constants';
|
|
2
1
|
export * from './SecurityDetailsCards';
|
|
3
2
|
export * from './SecurityModal';
|
|
4
|
-
export { default as SeverityChip } from './SeverityChip';
|
|
5
|
-
export { FixAvailabilityOptions, VulnerabilityDiscoveryAgeOptions } from './types';
|
|
6
3
|
export * from './utils';
|
|
7
4
|
export * from './Vulnerabilities';
|
|
@@ -20,14 +20,4 @@ export interface GetSidebarDataParamsType extends Record<ScanCategoriesWithLicen
|
|
|
20
20
|
selectedId: string;
|
|
21
21
|
scanResult: ScanResultDTO;
|
|
22
22
|
}
|
|
23
|
-
export declare enum VulnerabilityDiscoveryAgeOptions {
|
|
24
|
-
LESS_THAN_30_DAYS = "lt_30d",
|
|
25
|
-
BETWEEN_30_AND_60_DAYS = "30_60d",
|
|
26
|
-
BETWEEN_60_AND_90_DAYS = "60_90d",
|
|
27
|
-
GREATER_THAN_90_DAYS = "gt_90d"
|
|
28
|
-
}
|
|
29
|
-
export declare enum FixAvailabilityOptions {
|
|
30
|
-
FIX_AVAILABLE = "fixAvailable",
|
|
31
|
-
FIX_NOT_AVAILABLE = "fixNotAvailable"
|
|
32
|
-
}
|
|
33
23
|
export {};
|
|
@@ -133,5 +133,5 @@ import { SelectPickerProps } from './type';
|
|
|
133
133
|
* />
|
|
134
134
|
* ```
|
|
135
135
|
*/
|
|
136
|
-
declare const SelectPicker: <OptionValue, IsMulti extends boolean>({ error, icon, keyboardShortcut, helperText, placeholder, label, showSelectedOptionIcon, size, disabledTippyContent, showSelectedOptionsCount, menuSize, optionListError, reloadOptionList, menuPosition, variant, disableDescriptionEllipsis,
|
|
136
|
+
declare const SelectPicker: <OptionValue, IsMulti extends boolean>({ error, icon, keyboardShortcut, helperText, placeholder, label, showSelectedOptionIcon, size, disabledTippyContent, showSelectedOptionsCount, menuSize, optionListError, reloadOptionList, menuPosition, variant, disableDescriptionEllipsis, multiSelectProps, isMulti, name, classNamePrefix, shouldRenderCustomOptions, isSearchable, selectRef: refFromConsumer, shouldMenuAlignRight, fullWidth, customSelectedOptionsCount, menuListFooterConfig, isCreatable, onCreateOption, closeMenuOnSelect: _closeMenuOnSelect, shouldShowNoOptionsMessage, shouldRenderTextArea, onKeyDown, shouldHideMenu, warningText, layout, ariaLabel, borderConfig, borderRadiusConfig, labelTippyCustomizedConfig, labelTooltipConfig, hideFormFieldInfo, autoFocus, showCheckboxForMultiSelect, ...props }: SelectPickerProps<OptionValue, IsMulti>) => JSX.Element;
|
|
137
137
|
export default SelectPicker;
|
|
@@ -7,7 +7,7 @@ export declare const SelectPickerClearIndicator: <OptionValue>(props: ClearIndic
|
|
|
7
7
|
export declare const SelectPickerControl: <OptionValue>(props: ControlProps<SelectPickerOptionType<OptionValue>>) => JSX.Element;
|
|
8
8
|
export declare const SelectPickerInput: <OptionValue>(props: InputProps<SelectPickerOptionType<OptionValue>>) => JSX.Element;
|
|
9
9
|
export declare const SelectPickerValueContainer: <OptionValue, IsMulti extends boolean>({ showSelectedOptionsCount, customSelectedOptionsCount, ...props }: ValueContainerProps<SelectPickerOptionType<OptionValue>> & Pick<SelectPickerProps<OptionValue, IsMulti>, "showSelectedOptionsCount" | "customSelectedOptionsCount">) => JSX.Element;
|
|
10
|
-
export declare const SelectPickerOption: <OptionValue, IsMulti extends boolean>({ disableDescriptionEllipsis,
|
|
10
|
+
export declare const SelectPickerOption: <OptionValue, IsMulti extends boolean>({ disableDescriptionEllipsis, ...props }: OptionProps<SelectPickerOptionType<OptionValue>> & Pick<SelectPickerProps<OptionValue, IsMulti>, "disableDescriptionEllipsis">) => JSX.Element;
|
|
11
11
|
export declare const SelectPickerMenuListFooter: ({ menuListFooterConfig, }: Required<Pick<SelectPickerProps, "menuListFooterConfig">>) => JSX.Element;
|
|
12
12
|
export declare const SelectPickerMenuList: <OptionValue>(props: MenuListProps<SelectPickerOptionType<OptionValue>>) => JSX.Element;
|
|
13
13
|
export declare const SelectPickerMultiValue: <OptionValue, IsMulti extends boolean>({ getIsOptionValid, ...props }: MultiValueProps<SelectPickerOptionType<OptionValue>, true> & Pick<SelectPickerProps<OptionValue, IsMulti>["multiSelectProps"], "getIsOptionValid">) => JSX.Element;
|
|
@@ -4,4 +4,4 @@ export * from './GroupedFilterSelectPicker';
|
|
|
4
4
|
export { default as SelectPicker } from './SelectPicker.component';
|
|
5
5
|
export * from './SelectPickerTextArea.component';
|
|
6
6
|
export * from './type';
|
|
7
|
-
export { getSelectPickerOptionByValue
|
|
7
|
+
export { getSelectPickerOptionByValue } from './utils';
|
|
@@ -206,7 +206,6 @@ export type SelectPickerProps<OptionValue = number | string, IsMulti extends boo
|
|
|
206
206
|
shouldHideMenu?: boolean;
|
|
207
207
|
} & (IsMulti extends true ? {
|
|
208
208
|
isMulti: IsMulti | boolean;
|
|
209
|
-
isUserIdentifier?: boolean;
|
|
210
209
|
multiSelectProps?: Partial<Pick<SelectProps<OptionValue, IsMulti>, 'customDisplayText'>> & {
|
|
211
210
|
/**
|
|
212
211
|
* If true, the group heading can be selected
|
|
@@ -224,12 +223,11 @@ export type SelectPickerProps<OptionValue = number | string, IsMulti extends boo
|
|
|
224
223
|
} : {
|
|
225
224
|
isMulti?: never;
|
|
226
225
|
multiSelectProps?: never;
|
|
227
|
-
isUserIdentifier?: never;
|
|
228
226
|
});
|
|
229
227
|
export type SelectPickerGroupHeadingProps<OptionValue> = GroupHeadingProps<SelectPickerOptionType<OptionValue>> & {
|
|
230
228
|
isGroupHeadingSelectable: boolean;
|
|
231
229
|
};
|
|
232
|
-
export interface FilterSelectPickerProps extends Required<Pick<SelectPickerProps<number | string, true>, 'options' | 'isDisabled' | 'placeholder' | 'isLoading'>>, Pick<SelectPickerProps<number | string, true>, 'selectRef' | 'inputId' | 'menuPosition' | 'autoFocus' | 'shouldMenuAlignRight' | 'optionListError' | 'reloadOptionList' | 'getOptionValue' | 'isOptionDisabled' | 'onMenuClose' | 'menuIsOpen' | 'onKeyDown'
|
|
230
|
+
export interface FilterSelectPickerProps extends Required<Pick<SelectPickerProps<number | string, true>, 'options' | 'isDisabled' | 'placeholder' | 'isLoading'>>, Pick<SelectPickerProps<number | string, true>, 'selectRef' | 'inputId' | 'menuPosition' | 'autoFocus' | 'shouldMenuAlignRight' | 'optionListError' | 'reloadOptionList' | 'getOptionValue' | 'isOptionDisabled' | 'onMenuClose' | 'menuIsOpen' | 'onKeyDown'> {
|
|
233
231
|
appliedFilterOptions: SelectPickerOptionType[];
|
|
234
232
|
handleApplyFilter: (filtersToApply: SelectPickerOptionType<number | string>[]) => void;
|
|
235
233
|
}
|
|
@@ -13,4 +13,3 @@ export declare const getGroupCheckboxValue: <OptionValue>(groupHeadingOptions: r
|
|
|
13
13
|
* @returns The matched option or the default option if no match is found.
|
|
14
14
|
*/
|
|
15
15
|
export declare const getSelectPickerOptionByValue: <OptionValue>(optionsList: OptionsOrGroups<SelectPickerOptionType<OptionValue>, GroupBase<SelectPickerOptionType<OptionValue>>>, value: OptionValue, defaultOption?: SelectPickerOptionType<OptionValue>, getOptionValue?: SelectPickerProps<OptionValue>["getOptionValue"]) => SelectPickerOptionType<OptionValue>;
|
|
16
|
-
export declare const getSelectPickerOptionsByValue: <OptionValue>(optionsList: OptionsOrGroups<SelectPickerOptionType<OptionValue>, GroupBase<SelectPickerOptionType<OptionValue>>>, values: OptionValue[]) => SelectPickerOptionType<OptionValue>[];
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { FiltersTypeEnum, InternalTableProps } from './types';
|
|
2
|
-
declare const InternalTable: <RowData extends unknown, FilterVariant extends FiltersTypeEnum, AdditionalProps extends Record<string, any>>({ filtersVariant, filterData, rows, getRows, columns, ViewWrapper, resizableConfig, emptyStateConfig, additionalProps, areColumnsConfigurable, filter, setVisibleColumns, visibleColumns, stylesConfig, loading, bulkSelectionConfig, bulkSelectionReturnValue,
|
|
2
|
+
declare const InternalTable: <RowData extends unknown, FilterVariant extends FiltersTypeEnum, AdditionalProps extends Record<string, any>>({ filtersVariant, filterData, rows, getRows, columns, ViewWrapper, resizableConfig, emptyStateConfig, additionalProps, areColumnsConfigurable, filter, setVisibleColumns, visibleColumns, stylesConfig, loading, bulkSelectionConfig, bulkSelectionReturnValue, handleClearBulkSelection, handleToggleBulkSelectionOnRow, paginationVariant, RowActionsOnHoverComponent, pageSizeOptions, clearFilters: userGivenUrlClearFilters, }: InternalTableProps<RowData, FilterVariant, AdditionalProps>) => JSX.Element;
|
|
3
3
|
export default InternalTable;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { FiltersTypeEnum, TableContentProps } from './types';
|
|
2
|
-
declare const TableContent: <RowData extends unknown, FilterVariant extends FiltersTypeEnum, AdditionalProps extends Record<string, any>>({ filterData, rows, resizableConfig, additionalProps, visibleColumns, stylesConfig, loading, bulkSelectionConfig, bulkSelectionReturnValue, handleClearBulkSelection, handleToggleBulkSelectionOnRow, paginationVariant,
|
|
2
|
+
declare const TableContent: <RowData extends unknown, FilterVariant extends FiltersTypeEnum, AdditionalProps extends Record<string, any>>({ filterData, rows, resizableConfig, additionalProps, visibleColumns, stylesConfig, loading, bulkSelectionConfig, bulkSelectionReturnValue, handleClearBulkSelection, handleToggleBulkSelectionOnRow, paginationVariant, RowActionsOnHoverComponent, pageSizeOptions, filteredRows, areFilteredRowsLoading, getRows, totalRows, }: TableContentProps<RowData, FilterVariant, AdditionalProps>) => JSX.Element;
|
|
3
3
|
export default TableContent;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Dispatch, FunctionComponent, MouseEvent, PropsWithChildren, SetStateAction } from 'react';
|
|
2
2
|
import { GenericFilterEmptyStateProps } from '../../../Common/EmptyState/types';
|
|
3
3
|
import { UseStateFiltersProps, UseStateFiltersReturnType, UseUrlFiltersProps, UseUrlFiltersReturnType } from '../../../Common/Hooks';
|
|
4
|
-
import { GenericEmptyStateType } from '../../../Common/index';
|
|
4
|
+
import { APIOptions, GenericEmptyStateType } from '../../../Common/index';
|
|
5
5
|
import { PageSizeOption } from '../../../Common/Pagination/types';
|
|
6
6
|
import { SortableTableHeaderCellProps, useResizableTableConfig } from '../../../Common/SortableTableHeaderCell';
|
|
7
7
|
import { useBulkSelection, UseBulkSelectionProps } from '../BulkSelection';
|
|
@@ -91,7 +91,6 @@ export interface BulkOperationModalProps<T extends string = string, RowData exte
|
|
|
91
91
|
type BulkSelectionConfigType = Pick<UseBulkSelectionProps<unknown>, 'getSelectAllDialogStatus'> & {
|
|
92
92
|
BulkActionsComponent: FunctionComponent<BulkActionsComponentProps>;
|
|
93
93
|
BulkOperationModal: FunctionComponent<BulkOperationModalProps>;
|
|
94
|
-
disableSelectAllAcrossEvenIfPaginated?: boolean;
|
|
95
94
|
} & Pick<BulkActionsComponentProps, 'bulkActionsData'> & Pick<BulkOperationModalProps, 'bulkOperationModalData'>;
|
|
96
95
|
export declare enum PaginationEnum {
|
|
97
96
|
PAGINATED = "paginated",
|
|
@@ -161,10 +160,7 @@ export type InternalTableProps<RowData extends unknown, FilterVariant extends Fi
|
|
|
161
160
|
/**
|
|
162
161
|
* Use this component to display additional content at the end of a row when it is hovered over.
|
|
163
162
|
*/
|
|
164
|
-
|
|
165
|
-
Component: FunctionComponent<RowActionsOnHoverComponentProps<RowData, AdditionalProps>>;
|
|
166
|
-
width: string | number;
|
|
167
|
-
};
|
|
163
|
+
RowActionsOnHoverComponent?: FunctionComponent<RowActionsOnHoverComponentProps<RowData, AdditionalProps>>;
|
|
168
164
|
bulkSelectionReturnValue: BulkSelectionReturnValueType | null;
|
|
169
165
|
handleClearBulkSelection: () => void;
|
|
170
166
|
handleToggleBulkSelectionOnRow: (row: RowType<RowData>) => void;
|
|
@@ -181,7 +177,7 @@ export type InternalTableProps<RowData extends unknown, FilterVariant extends Fi
|
|
|
181
177
|
} | {
|
|
182
178
|
rows?: never;
|
|
183
179
|
/** NOTE: Sorting on frontend is only handled if rows is provided instead of getRows */
|
|
184
|
-
getRows: (props: GetRowsProps,
|
|
180
|
+
getRows: (props: GetRowsProps, abortControllerRef: APIOptions['abortControllerRef']) => Promise<{
|
|
185
181
|
rows: RowsType<RowData>;
|
|
186
182
|
totalRows: number;
|
|
187
183
|
}>;
|
|
@@ -196,7 +192,7 @@ export type UseResizableTableConfigWrapperProps<RowData extends unknown, FilterV
|
|
|
196
192
|
export type TableWithBulkSelectionProps<RowData extends unknown, FilterVariant extends FiltersTypeEnum, AdditionalProps extends Record<string, any>> = Omit<UseResizableTableConfigWrapperProps<RowData, FilterVariant, AdditionalProps>, 'bulkSelectionReturnValue' | 'handleClearBulkSelection' | 'handleToggleBulkSelectionOnRow'>;
|
|
197
193
|
export type VisibleColumnsWrapperProps<RowData extends unknown, FilterVariant extends FiltersTypeEnum, AdditionalProps extends Record<string, any>> = Omit<TableWithBulkSelectionProps<RowData, FilterVariant, AdditionalProps>, 'visibleColumns' | 'setVisibleColumns'>;
|
|
198
194
|
export type FilterWrapperProps<RowData extends unknown, FilterVariant extends FiltersTypeEnum, AdditionalProps extends Record<string, any>> = Omit<VisibleColumnsWrapperProps<RowData, FilterVariant, AdditionalProps>, 'filterData'>;
|
|
199
|
-
export type TableProps<RowData extends unknown = unknown, FilterVariant extends FiltersTypeEnum = FiltersTypeEnum.NONE, AdditionalProps extends Record<string, any> = {}> = Pick<FilterWrapperProps<RowData, FilterVariant, AdditionalProps>, 'additionalFilterProps' | 'bulkSelectionConfig' | 'areColumnsConfigurable' | 'emptyStateConfig' | 'filtersVariant' | 'filter' | 'additionalProps' | 'columns' | 'getRows' | 'rows' | 'paginationVariant' | 'stylesConfig' | 'id' | '
|
|
195
|
+
export type TableProps<RowData extends unknown = unknown, FilterVariant extends FiltersTypeEnum = FiltersTypeEnum.NONE, AdditionalProps extends Record<string, any> = {}> = Pick<FilterWrapperProps<RowData, FilterVariant, AdditionalProps>, 'additionalFilterProps' | 'bulkSelectionConfig' | 'areColumnsConfigurable' | 'emptyStateConfig' | 'filtersVariant' | 'filter' | 'additionalProps' | 'columns' | 'getRows' | 'rows' | 'paginationVariant' | 'stylesConfig' | 'id' | 'RowActionsOnHoverComponent' | 'loading' | 'ViewWrapper' | 'pageSizeOptions' | 'clearFilters'>;
|
|
200
196
|
export type BulkActionStateType = string | null;
|
|
201
197
|
export interface BulkSelectionActionWidgetProps extends Pick<BulkSelectionConfigType, 'BulkActionsComponent' | 'bulkActionsData'> {
|
|
202
198
|
count: number;
|
|
@@ -210,11 +206,9 @@ export interface GetFilteringPromiseProps<RowData extends unknown> {
|
|
|
210
206
|
searchSortTimeoutRef: React.MutableRefObject<number>;
|
|
211
207
|
callback: () => Promise<RowsType<RowData>> | RowsType<RowData>;
|
|
212
208
|
}
|
|
213
|
-
export interface
|
|
209
|
+
export interface TableContentProps<RowData extends unknown, FilterVariant extends FiltersTypeEnum, AdditionalProps extends Record<string, any>> extends Pick<InternalTableProps<RowData, FilterVariant, AdditionalProps>, 'filterData' | 'rows' | 'resizableConfig' | 'additionalProps' | 'visibleColumns' | 'stylesConfig' | 'loading' | 'bulkSelectionConfig' | 'bulkSelectionReturnValue' | 'handleClearBulkSelection' | 'handleToggleBulkSelectionOnRow' | 'paginationVariant' | 'RowActionsOnHoverComponent' | 'pageSizeOptions' | 'getRows'> {
|
|
214
210
|
filteredRows: RowsType<RowData>;
|
|
215
|
-
totalRows: number;
|
|
216
|
-
}
|
|
217
|
-
export interface TableContentProps<RowData extends unknown, FilterVariant extends FiltersTypeEnum, AdditionalProps extends Record<string, any>> extends Pick<InternalTableProps<RowData, FilterVariant, AdditionalProps>, 'filterData' | 'rows' | 'resizableConfig' | 'additionalProps' | 'visibleColumns' | 'stylesConfig' | 'loading' | 'bulkSelectionConfig' | 'bulkSelectionReturnValue' | 'handleClearBulkSelection' | 'handleToggleBulkSelectionOnRow' | 'paginationVariant' | 'rowActionOnHoverConfig' | 'pageSizeOptions' | 'getRows'>, RowsResultType<RowData> {
|
|
218
211
|
areFilteredRowsLoading: boolean;
|
|
212
|
+
totalRows: number;
|
|
219
213
|
}
|
|
220
214
|
export {};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
2
|
import { OmitNever } from '../../types';
|
|
3
|
-
import { ActionMenuProps } from '../ActionMenu';
|
|
4
3
|
import { ButtonProps } from '../Button';
|
|
5
4
|
import { IconsProps } from '../Icon';
|
|
6
5
|
import { NumbersCountProps } from '../NumbersCount';
|
|
@@ -31,9 +30,6 @@ export type TrailingItemType = {
|
|
|
31
30
|
config: OmitNever<Omit<Extract<ButtonProps, {
|
|
32
31
|
icon: ReactElement;
|
|
33
32
|
}>, 'size' | 'variant'>>;
|
|
34
|
-
} | {
|
|
35
|
-
type: 'action-menu';
|
|
36
|
-
config: ActionMenuProps;
|
|
37
33
|
};
|
|
38
34
|
export type TrailingItemProps = TrailingItemType & {
|
|
39
35
|
/**
|