@devtron-labs/devtron-fe-common-lib 1.20.6-pre-48 → 1.20.7-pre-1
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-MJy65vkd.js → @code-editor-BXUMy12o.js} +9557 -11537
- package/dist/{@common-rjsf-Me4k--kI.js → @common-rjsf-DMKxjzgm.js} +30 -30
- package/dist/{@framer-motion-BbD0XILR.js → @framer-motion-DZveCoIL.js} +90 -92
- package/dist/{@react-dates-DLCF81bK.js → @react-dates-CZ1bNWJM.js} +1 -1
- package/dist/{@react-select-CK9Bxd-k.js → @react-select-DS68hCUM.js} +1 -1
- package/dist/{@react-virtualized-sticky-tree-J61SX97M.js → @react-virtualized-sticky-tree-V-8klKy9.js} +1 -1
- package/dist/{@vendor-DEAetXNs.js → @vendor-3ORIJA0h.js} +18074 -26323
- package/dist/Common/API/reactQueryHooks.d.ts +1 -1
- package/dist/Common/API/types.d.ts +1 -1
- package/dist/Common/BreadCrumb/BreadcrumbStore.d.ts +0 -1
- package/dist/Common/BreadCrumb/Types.d.ts +0 -20
- package/dist/Common/CIPipeline.Types.d.ts +1 -0
- 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 +15 -66
- 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 +0 -2
- package/dist/Common/Tooltip/Tooltip.d.ts +1 -1
- package/dist/Common/Types.d.ts +5 -63
- package/dist/Common/index.d.ts +0 -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 +3 -3
- package/dist/Shared/Components/ActionMenu/types.d.ts +0 -3
- package/dist/Shared/Components/ActionMenu/useActionMenu.hook.d.ts +1 -1
- 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/DTFocusTrap/DTFocusTrap.d.ts +1 -1
- package/dist/Shared/Components/DTFocusTrap/types.d.ts +1 -2
- package/dist/Shared/Components/DocLink/constants.d.ts +0 -4
- 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/constants.d.ts +0 -1
- package/dist/Shared/Components/Header/types.d.ts +0 -2
- package/dist/Shared/Components/Icon/Icon.d.ts +0 -92
- 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/constants.d.ts +0 -2
- package/dist/Shared/Components/Security/index.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 -11
- 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/index.d.ts +0 -7
- package/dist/Shared/Helpers.d.ts +0 -2
- 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 +1 -13
- 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/index.d.ts +6 -7
- package/dist/index.js +957 -1016
- package/package.json +1 -4
- 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 -123
- 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 -145
- 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-arrow-white.be4aea3f.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-bell.e03a0783.svg +0 -3
- 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-book-gear.bb9bca1f.svg +0 -9
- package/dist/assets/ic-bot.65f403dd.svg +0 -3
- package/dist/assets/ic-building.2405d07b.svg +0 -3
- package/dist/assets/ic-bulb.3906a732.svg +0 -7
- 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-check-green.b03d325d.svg +0 -3
- package/dist/assets/ic-circle-progress.0875625d.svg +0 -6
- 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-close-circle-red.72e0a495.svg +0 -3
- package/dist/assets/ic-close-circle.b39dd87d.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-confirm.f6b1c31c.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-dot-circle.5ce1fccf.svg +0 -3
- package/dist/assets/ic-edit-lines.57927b07.svg +0 -3
- package/dist/assets/ic-failure-color.e167df98.svg +0 -4
- 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-info-filled-new.28815384.svg +0 -8
- package/dist/assets/ic-infrastructure-management.4b052d41.svg +0 -3
- package/dist/assets/ic-kubernetes.7e04c3d2.svg +0 -4
- package/dist/assets/ic-line.4e8fa046.svg +0 -3
- package/dist/assets/ic-magic-wand.2c29cd4e.svg +0 -10
- package/dist/assets/ic-new-chat.f7c90f8e.svg +0 -5
- 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-pencil-white.369e78d9.svg +0 -3
- package/dist/assets/ic-piggybank.3a4839d7.svg +0 -3
- package/dist/assets/ic-priority-high-fill.53755d8f.svg +0 -3
- package/dist/assets/ic-priority-low-fill.79e781ae.svg +0 -4
- package/dist/assets/ic-priority-medium-fill.7bab0ff8.svg +0 -4
- package/dist/assets/ic-priority-urgent-fill.78d42fa0.svg +0 -10
- package/dist/assets/ic-red-bulb.25e01bfc.svg +0 -9
- 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-spider.99b77bd8.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-timer-green.00bf295e.svg +0 -3
- package/dist/assets/ic-timer-red.656bee16.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
|
@@ -31,7 +31,7 @@ type FeatureDescriptionModalWithTabsConfig = {
|
|
|
31
31
|
imageStyles?: never;
|
|
32
32
|
};
|
|
33
33
|
export type FeatureDescriptionModalProps = {
|
|
34
|
-
title:
|
|
34
|
+
title: string;
|
|
35
35
|
closeModalText?: string;
|
|
36
36
|
closeModal?: () => void;
|
|
37
37
|
} & ((BaseFeatureDescriptionModalProps & {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { animate, AnimatePresence, motion,
|
|
2
|
-
export { animate, AnimatePresence, motion,
|
|
1
|
+
import { animate, AnimatePresence, motion, useAnimationControls, useMotionTemplate, useMotionValue } from 'framer-motion';
|
|
2
|
+
export { animate, AnimatePresence, motion, useAnimationControls, useMotionTemplate, useMotionValue };
|
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;
|
|
@@ -3,4 +3,3 @@ export declare const COMMON_HELP_ACTION_MENU_ITEMS: HelpButtonActionMenuProps['o
|
|
|
3
3
|
export declare const OSS_HELP_ACTION_MENU_ITEMS: HelpButtonActionMenuProps['options'][number]['items'];
|
|
4
4
|
export declare const ENTERPRISE_TRIAL_HELP_ACTION_MENU_ITEMS: HelpButtonActionMenuProps['options'][number]['items'];
|
|
5
5
|
export declare const ENTERPRISE_HELP_ACTION_MENU_ITEMS: HelpButtonActionMenuProps['options'][number]['items'];
|
|
6
|
-
export declare const NOTIFICATIONS_TEMP_WINDOW_TITLE = "Notifications";
|
|
@@ -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,61 +4,28 @@ 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
|
-
'ic-arrow-white': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
22
13
|
'ic-arrows-clockwise': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
23
14
|
'ic-arrows-left-right': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
24
15
|
'ic-asterisk': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
25
16
|
'ic-ather': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
26
17
|
'ic-aws-codecommit': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
27
|
-
'ic-aws': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
28
18
|
'ic-azure-aks': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
29
19
|
'ic-azure': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
30
|
-
'ic-backup-and-schedule': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
31
|
-
'ic-backup-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
32
|
-
'ic-backup-location': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
33
|
-
'ic-backup-schedule-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
34
|
-
'ic-bell': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
35
|
-
'ic-bg-backup-schedule': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
36
|
-
'ic-bg-backups': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
37
|
-
'ic-bg-build': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
38
20
|
'ic-bg-cluster': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
39
|
-
'ic-bg-cpu': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
40
|
-
'ic-bg-deploy': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
41
21
|
'ic-bg-environment': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
42
|
-
'ic-bg-memory': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
43
|
-
'ic-bg-pause-schedule': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
44
|
-
'ic-bg-production-pipelines': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
45
|
-
'ic-bg-project': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
46
|
-
'ic-bg-ransomware-vulnerable-cluster': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
47
|
-
'ic-bg-restore': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
48
|
-
'ic-bg-scan': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
49
|
-
'ic-bg-storage-locations': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
50
|
-
'ic-bg-webhook': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
51
22
|
'ic-bharatpe': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
52
23
|
'ic-bitbucket': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
53
|
-
'ic-book-gear': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
54
24
|
'ic-book-open': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
55
|
-
'ic-bot': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
56
25
|
'ic-brain': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
57
26
|
'ic-browser': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
58
27
|
'ic-bug': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
59
28
|
'ic-build-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
60
|
-
'ic-building': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
61
|
-
'ic-bulb': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
62
29
|
'ic-calendar': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
63
30
|
'ic-cancelled': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
64
31
|
'ic-card-stack': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -66,44 +33,29 @@ export declare const iconMap: {
|
|
|
66
33
|
'ic-caret-left': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
67
34
|
'ic-caret-right': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
68
35
|
'ic-cd': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
69
|
-
'ic-chart-line-up': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
70
36
|
'ic-chat-circle-dots': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
71
37
|
'ic-chat-circle-online': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
72
38
|
'ic-check-all': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
73
|
-
'ic-check-circle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
74
|
-
'ic-check-green': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
75
39
|
'ic-check-square': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
76
40
|
'ic-check': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
77
41
|
'ic-checks': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
78
42
|
'ic-ci-linked': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
79
43
|
'ic-circle-loader': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
80
|
-
'ic-circle-progress': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
81
|
-
'ic-circle-small': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
82
44
|
'ic-clean-brush': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
83
|
-
'ic-clipboard': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
84
|
-
'ic-clock-counterclockwise': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
85
45
|
'ic-clock': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
86
|
-
'ic-close-circle-red': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
87
|
-
'ic-close-circle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
88
46
|
'ic-close-large': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
89
47
|
'ic-close-small': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
90
|
-
'ic-cloud-upload': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
91
48
|
'ic-cloud-vms': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
92
49
|
'ic-cluster-isolated': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
93
50
|
'ic-cluster': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
94
51
|
'ic-code': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
95
|
-
'ic-coins-color-animated': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
96
|
-
'ic-coins': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
97
|
-
'ic-confirm': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
98
52
|
'ic-container-registry': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
99
53
|
'ic-container': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
100
54
|
'ic-cookr': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
101
55
|
'ic-copy': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
102
|
-
'ic-cost-visibility': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
103
56
|
'ic-cpu': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
104
57
|
'ic-crown': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
105
58
|
'ic-cube': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
106
|
-
'ic-database-backup': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
107
59
|
'ic-delete-dots': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
108
60
|
'ic-delete-lightning': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
109
61
|
'ic-delete': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -114,7 +66,6 @@ export declare const iconMap: {
|
|
|
114
66
|
'ic-devtron-app': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
115
67
|
'ic-devtron-header-logo': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
116
68
|
'ic-devtron-job': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
117
|
-
'ic-devtron-text': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
118
69
|
'ic-devtron': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
119
70
|
'ic-diff-added': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
120
71
|
'ic-diff-deleted': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -122,10 +73,8 @@ export declare const iconMap: {
|
|
|
122
73
|
'ic-disconnect': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
123
74
|
'ic-discord-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
124
75
|
'ic-dockerhub': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
125
|
-
'ic-dot-circle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
126
76
|
'ic-download': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
127
77
|
'ic-ecr': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
128
|
-
'ic-edit-lines': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
129
78
|
'ic-edit': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
130
79
|
'ic-email': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
131
80
|
'ic-enterprise-feat': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -136,21 +85,16 @@ export declare const iconMap: {
|
|
|
136
85
|
'ic-error': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
137
86
|
'ic-expand-right-sm': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
138
87
|
'ic-expand-sm': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
139
|
-
'ic-failure-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
140
88
|
'ic-failure': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
141
89
|
'ic-fast-forward': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
142
90
|
'ic-file-code': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
143
|
-
'ic-file-download': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
144
91
|
'ic-file-edit': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
145
92
|
'ic-file-key': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
146
93
|
'ic-file': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
147
|
-
'ic-files-changed': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
148
94
|
'ic-files': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
149
95
|
'ic-filter-applied': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
150
96
|
'ic-filter': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
151
97
|
'ic-flask': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
152
|
-
'ic-floppy-disk': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
153
|
-
'ic-fluxcd-app': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
154
98
|
'ic-folder-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
155
99
|
'ic-folder-user': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
156
100
|
'ic-folder': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -163,9 +107,7 @@ export declare const iconMap: {
|
|
|
163
107
|
'ic-git': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
164
108
|
'ic-github': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
165
109
|
'ic-gitlab': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
166
|
-
'ic-global-overview': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
167
110
|
'ic-google-artifact-registry': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
168
|
-
'ic-google-cloud': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
169
111
|
'ic-google-container-registry': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
170
112
|
'ic-google-gke': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
171
113
|
'ic-google': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -184,10 +126,8 @@ export declare const iconMap: {
|
|
|
184
126
|
'ic-hibernate': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
185
127
|
'ic-in-progress': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
186
128
|
'ic-info-filled-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
187
|
-
'ic-info-filled-new': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
188
129
|
'ic-info-filled': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
189
130
|
'ic-info-outline': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
190
|
-
'ic-infrastructure-management': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
191
131
|
'ic-input': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
192
132
|
'ic-install': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
193
133
|
'ic-job-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -196,13 +136,11 @@ export declare const iconMap: {
|
|
|
196
136
|
'ic-key-enter': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
197
137
|
'ic-key': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
198
138
|
'ic-kind': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
199
|
-
'ic-kubernetes': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
200
139
|
'ic-laptop': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
201
140
|
'ic-ldap': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
202
141
|
'ic-lego': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
203
142
|
'ic-lightning-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
204
143
|
'ic-lightning': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
205
|
-
'ic-line': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
206
144
|
'ic-link': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
207
145
|
'ic-linked-build-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
208
146
|
'ic-list-bullets': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -210,7 +148,6 @@ export declare const iconMap: {
|
|
|
210
148
|
'ic-locked': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
211
149
|
'ic-logout': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
212
150
|
'ic-logs': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
213
|
-
'ic-magic-wand': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
214
151
|
'ic-magnifying-glass': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
215
152
|
'ic-medium-delete': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
216
153
|
'ic-medium-paintbucket': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -225,7 +162,6 @@ export declare const iconMap: {
|
|
|
225
162
|
'ic-monitoring': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
226
163
|
'ic-more-vertical': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
227
164
|
'ic-namespace': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
228
|
-
'ic-new-chat': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
229
165
|
'ic-new': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
230
166
|
'ic-node-script': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
231
167
|
'ic-oidc': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -233,51 +169,29 @@ export declare const iconMap: {
|
|
|
233
169
|
'ic-open-in-new': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
234
170
|
'ic-openai': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
235
171
|
'ic-openshift': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
236
|
-
'ic-oracle-cloud': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
237
|
-
'ic-otc-cloud': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
238
172
|
'ic-out-of-sync': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
239
173
|
'ic-paper-plane-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
240
174
|
'ic-paper-plane': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
241
|
-
'ic-party': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
242
175
|
'ic-path': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
243
176
|
'ic-pause-circle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
244
|
-
'ic-pause': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
245
|
-
'ic-pencil-white': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
246
177
|
'ic-pencil': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
247
|
-
'ic-piggybank': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
248
178
|
'ic-play-outline': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
249
|
-
'ic-priority-high-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
250
|
-
'ic-priority-low-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
251
|
-
'ic-priority-medium-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
252
|
-
'ic-priority-urgent-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
253
179
|
'ic-quay': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
254
180
|
'ic-quote': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
255
181
|
'ic-ratings': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
256
|
-
'ic-red-bulb': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
257
|
-
'ic-release-hub': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
258
182
|
'ic-resize-handle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
259
|
-
'ic-resource-browser': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
260
|
-
'ic-resource-watcher': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
261
|
-
'ic-right-panel-collapse': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
262
183
|
'ic-rocket-gear': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
263
184
|
'ic-rocket-launch': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
264
|
-
'ic-security-fixable': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
265
|
-
'ic-security-not-fixable': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
266
|
-
'ic-security-policy': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
267
|
-
'ic-security-scan': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
268
|
-
'ic-security-vulnerability': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
269
185
|
'ic-selected': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
270
186
|
'ic-shapes': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
271
187
|
'ic-shield-check': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
272
188
|
'ic-sliders-vertical': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
273
|
-
'ic-software-release-management': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
274
189
|
'ic-sort-ascending': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
275
190
|
'ic-sort-descending': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
276
191
|
'ic-sortable': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
277
192
|
'ic-sparkle-ai-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
278
193
|
'ic-sparkle-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
279
194
|
'ic-speedometer': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
280
|
-
'ic-spider': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
281
195
|
'ic-spinny': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
282
196
|
'ic-spray-can': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
283
197
|
'ic-stack': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -296,22 +210,17 @@ export declare const iconMap: {
|
|
|
296
210
|
'ic-success': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
297
211
|
'ic-sun': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
298
212
|
'ic-suspended': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
299
|
-
'ic-symbol-greater-than': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
300
213
|
'ic-tag': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
301
214
|
'ic-tata1mg': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
302
|
-
'ic-tenants': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
303
215
|
'ic-terminal-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
304
216
|
'ic-terminal': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
305
217
|
'ic-thermometer': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
306
218
|
'ic-thumb-down': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
307
219
|
'ic-thumb-up': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
308
220
|
'ic-timeout-dash': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
309
|
-
'ic-timer-green': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
310
|
-
'ic-timer-red': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
311
221
|
'ic-timer': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
312
222
|
'ic-traffic-signal': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
313
223
|
'ic-travclan': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
314
|
-
'ic-trend-up': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
315
224
|
'ic-two-cubes': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
316
225
|
'ic-ubuntu': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
317
226
|
'ic-unknown': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -323,7 +232,6 @@ export declare const iconMap: {
|
|
|
323
232
|
'ic-visibility-off': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
324
233
|
'ic-visibility-on': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
325
234
|
'ic-warning-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
326
|
-
'ic-warning-stroke': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
327
235
|
'ic-warning': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
328
236
|
'ic-webhook': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
329
237
|
'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'> {
|
|
@@ -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';
|
|
@@ -160,10 +160,7 @@ export type InternalTableProps<RowData extends unknown, FilterVariant extends Fi
|
|
|
160
160
|
/**
|
|
161
161
|
* Use this component to display additional content at the end of a row when it is hovered over.
|
|
162
162
|
*/
|
|
163
|
-
|
|
164
|
-
Component: FunctionComponent<RowActionsOnHoverComponentProps<RowData, AdditionalProps>>;
|
|
165
|
-
width: string | number;
|
|
166
|
-
};
|
|
163
|
+
RowActionsOnHoverComponent?: FunctionComponent<RowActionsOnHoverComponentProps<RowData, AdditionalProps>>;
|
|
167
164
|
bulkSelectionReturnValue: BulkSelectionReturnValueType | null;
|
|
168
165
|
handleClearBulkSelection: () => void;
|
|
169
166
|
handleToggleBulkSelectionOnRow: (row: RowType<RowData>) => void;
|
|
@@ -180,7 +177,7 @@ export type InternalTableProps<RowData extends unknown, FilterVariant extends Fi
|
|
|
180
177
|
} | {
|
|
181
178
|
rows?: never;
|
|
182
179
|
/** NOTE: Sorting on frontend is only handled if rows is provided instead of getRows */
|
|
183
|
-
getRows: (props: GetRowsProps,
|
|
180
|
+
getRows: (props: GetRowsProps, abortControllerRef: APIOptions['abortControllerRef']) => Promise<{
|
|
184
181
|
rows: RowsType<RowData>;
|
|
185
182
|
totalRows: number;
|
|
186
183
|
}>;
|
|
@@ -195,7 +192,7 @@ export type UseResizableTableConfigWrapperProps<RowData extends unknown, FilterV
|
|
|
195
192
|
export type TableWithBulkSelectionProps<RowData extends unknown, FilterVariant extends FiltersTypeEnum, AdditionalProps extends Record<string, any>> = Omit<UseResizableTableConfigWrapperProps<RowData, FilterVariant, AdditionalProps>, 'bulkSelectionReturnValue' | 'handleClearBulkSelection' | 'handleToggleBulkSelectionOnRow'>;
|
|
196
193
|
export type VisibleColumnsWrapperProps<RowData extends unknown, FilterVariant extends FiltersTypeEnum, AdditionalProps extends Record<string, any>> = Omit<TableWithBulkSelectionProps<RowData, FilterVariant, AdditionalProps>, 'visibleColumns' | 'setVisibleColumns'>;
|
|
197
194
|
export type FilterWrapperProps<RowData extends unknown, FilterVariant extends FiltersTypeEnum, AdditionalProps extends Record<string, any>> = Omit<VisibleColumnsWrapperProps<RowData, FilterVariant, AdditionalProps>, 'filterData'>;
|
|
198
|
-
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'>;
|
|
199
196
|
export type BulkActionStateType = string | null;
|
|
200
197
|
export interface BulkSelectionActionWidgetProps extends Pick<BulkSelectionConfigType, 'BulkActionsComponent' | 'bulkActionsData'> {
|
|
201
198
|
count: number;
|
|
@@ -209,11 +206,9 @@ export interface GetFilteringPromiseProps<RowData extends unknown> {
|
|
|
209
206
|
searchSortTimeoutRef: React.MutableRefObject<number>;
|
|
210
207
|
callback: () => Promise<RowsType<RowData>> | RowsType<RowData>;
|
|
211
208
|
}
|
|
212
|
-
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'> {
|
|
213
210
|
filteredRows: RowsType<RowData>;
|
|
214
|
-
totalRows: number;
|
|
215
|
-
}
|
|
216
|
-
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> {
|
|
217
211
|
areFilteredRowsLoading: boolean;
|
|
212
|
+
totalRows: number;
|
|
218
213
|
}
|
|
219
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
|
/**
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { TreeViewProps } from './types';
|
|
2
|
-
declare const TreeView: <DataAttributeType = null>({ nodes, isControlled, expandedMap: expandedMapProp, selectedId, onToggle: onToggleProp, onSelect, depth, mode, flatNodeList: flatNodeListProp, getUpdateItemsRefMap: getUpdateItemsRefMapProp, variant, defaultExpandedMap,
|
|
2
|
+
declare const TreeView: <DataAttributeType = null>({ nodes, isControlled, expandedMap: expandedMapProp, selectedId, onToggle: onToggleProp, onSelect, depth, mode, flatNodeList: flatNodeListProp, getUpdateItemsRefMap: getUpdateItemsRefMapProp, variant, defaultExpandedMap, }: TreeViewProps<DataAttributeType>) => JSX.Element;
|
|
3
3
|
export default TreeView;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { TreeViewNodeContentProps } from './types';
|
|
2
|
-
declare const TreeViewNodeContent: ({ startIconConfig, title, subtitle, type, customTooltipConfig, strikeThrough, isSelected,
|
|
2
|
+
declare const TreeViewNodeContent: ({ startIconConfig, title, subtitle, type, customTooltipConfig, strikeThrough, isSelected, }: TreeViewNodeContentProps) => JSX.Element;
|
|
3
3
|
export default TreeViewNodeContent;
|
|
@@ -2,6 +2,3 @@ import { TreeViewProps } from './types';
|
|
|
2
2
|
export declare const DEFAULT_NO_ITEMS_TEXT = "No items found";
|
|
3
3
|
export declare const VARIANT_TO_BG_CLASS_MAP: Record<TreeViewProps['variant'], string>;
|
|
4
4
|
export declare const VARIANT_TO_HOVER_CLASS_MAP: Record<TreeViewProps['variant'], string>;
|
|
5
|
-
export declare const VARIANT_TO_SELECTED_CLASS_MAP: Record<TreeViewProps['variant'], string>;
|
|
6
|
-
export declare const VARIANT_TO_TEXT_CLASS_MAP: Record<TreeViewProps['variant'], string>;
|
|
7
|
-
export declare const VARIANT_TO_TREE_ITEM_ACTIVE_BG_CLASS_MAP: Record<TreeViewProps['variant'], string>;
|