@devtron-labs/devtron-fe-common-lib 1.12.0 → 1.13.0-beta-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{@code-editor-BX93G51P.js → @common-rjsf-CG-ZNO8_.js} +14811 -13821
- package/dist/{@framer-motion-BaOj5B1h.js → @framer-motion-vKlTvuNq.js} +1 -1
- package/dist/{@react-dates-CdRpENvm.js → @react-dates-DsYJWeMo.js} +1 -1
- package/dist/{@react-select-BLSAqXV1.js → @react-select-D3FsD2uq.js} +1 -1
- package/dist/{@react-virtualized-sticky-tree-BLmFnJWD.js → @react-virtualized-sticky-tree-DWN3dQyp.js} +1 -1
- package/dist/{@vendor-SjXFleuT.js → @vendor-BZ1WgRCl.js} +20730 -21550
- package/dist/Common/CIPipeline.Types.d.ts +20 -19
- package/dist/Common/Checkbox/Checkbox.d.ts +2 -0
- package/dist/Common/Checkbox/index.d.ts +1 -0
- package/dist/Common/Common.service.d.ts +2 -1
- package/dist/Common/Constants.d.ts +4 -2
- package/dist/Common/Drawer/index.d.ts +1 -0
- package/dist/Common/EmptyState/index.d.ts +2 -0
- package/dist/Common/Helper.d.ts +5 -1
- package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +1 -1
- package/dist/Common/RJSF/Form.d.ts +1 -1
- package/dist/Common/Toggle/Toggle.d.ts +4 -1
- package/dist/Common/Types.d.ts +16 -10
- package/dist/Common/index.d.ts +2 -4
- package/dist/Shared/Components/AboutDevtron/AboutDevtronBody.d.ts +4 -0
- package/dist/Shared/Components/AboutDevtron/AboutDevtronDialog.d.ts +5 -0
- package/dist/Shared/Components/AboutDevtron/index.d.ts +2 -0
- package/dist/Shared/Components/AnimatedDeployButton/AnimatedDeployButton.d.ts +1 -1
- package/dist/Shared/Components/AnimatedDeployButton/types.d.ts +6 -0
- package/dist/Shared/Components/AppStatusModal/AppStatusBody.d.ts +2 -0
- package/dist/Shared/Components/AppStatusModal/AppStatusContent.d.ts +3 -0
- package/dist/Shared/Components/AppStatusModal/AppStatusModal.component.d.ts +3 -0
- package/dist/Shared/Components/AppStatusModal/AppStatusModalTabList.d.ts +3 -0
- package/dist/Shared/Components/AppStatusModal/constants.d.ts +4 -0
- package/dist/Shared/Components/AppStatusModal/index.d.ts +3 -0
- package/dist/Shared/Components/AppStatusModal/service.d.ts +4 -0
- package/dist/Shared/Components/AppStatusModal/types.d.ts +78 -0
- package/dist/Shared/Components/AppStatusModal/utils.d.ts +8 -0
- package/dist/Shared/Components/Button/types.d.ts +3 -1
- package/dist/Shared/Components/CICDHistory/Artifacts.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/DeploymentDetailSteps.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/DeploymentStatusBreakdown.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/DeploymentStatusDetailRow.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/History.components.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/constants.d.ts +1 -0
- package/dist/Shared/Components/CICDHistory/index.d.ts +0 -1
- package/dist/Shared/Components/CICDHistory/service.d.ts +3 -0
- package/dist/Shared/Components/CICDHistory/types.d.ts +15 -79
- package/dist/Shared/Components/CICDHistory/utils.d.ts +7 -3
- package/dist/Shared/Components/CMCS/constants.d.ts +2 -2
- package/dist/Shared/Components/CMCS/utils.d.ts +4 -3
- package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/types.d.ts +3 -3
- package/dist/Shared/Components/DeploymentStatusBreakdown/constants.d.ts +10 -0
- package/dist/Shared/Components/DeploymentStatusBreakdown/index.d.ts +3 -0
- package/dist/Shared/Components/DeploymentStatusBreakdown/types.d.ts +22 -0
- package/dist/Shared/Components/DeploymentStatusBreakdown/utils.d.ts +20 -0
- package/dist/Shared/Components/DynamicDataTable/DynamicDataTable.d.ts +1 -1
- package/dist/Shared/Components/DynamicDataTable/DynamicDataTableHeader.d.ts +1 -1
- package/dist/Shared/Components/DynamicDataTable/DynamicDataTableRow.d.ts +1 -1
- package/dist/Shared/Components/DynamicDataTable/types.d.ts +8 -2
- package/dist/Shared/Components/Error/ErrorBar.d.ts +1 -1
- package/dist/Shared/Components/Error/types.d.ts +4 -0
- package/dist/Shared/Components/Error/utils.d.ts +1 -0
- package/dist/Shared/Components/FramerComponents/index.d.ts +2 -2
- package/dist/Shared/Components/Header/PageHeader.d.ts +1 -1
- package/dist/Shared/Components/Header/types.d.ts +0 -1
- package/dist/Shared/Components/Icon/Icon.d.ts +34 -1
- package/dist/Shared/Components/Icon/IconBase.d.ts +1 -1
- package/dist/Shared/Components/Icon/types.d.ts +2 -1
- package/dist/Shared/Components/InfoBlock/constants.d.ts +2 -2
- package/dist/Shared/Components/InfoBlock/types.d.ts +2 -2
- package/dist/Shared/Components/InfoIconTippy/InfoIconTippy.d.ts +1 -1
- package/dist/Shared/Components/KeyValueTable/KeyValueTable.component.d.ts +1 -1
- package/dist/Shared/Components/KeyValueTable/KeyValueTable.types.d.ts +75 -78
- package/dist/Shared/Components/KeyValueTable/index.d.ts +1 -1
- package/dist/Shared/Components/KeyValueTable/utils.d.ts +13 -0
- package/dist/Shared/Components/License/index.d.ts +1 -1
- package/dist/Shared/Components/License/utils.d.ts +2 -1
- package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +1 -1
- package/dist/Shared/Components/TabGroup/TabGroup.component.d.ts +1 -1
- package/dist/Shared/Components/TabGroup/TabGroup.helpers.d.ts +1 -1
- package/dist/Shared/Components/TabGroup/TabGroup.types.d.ts +36 -12
- package/dist/Shared/Components/TabGroup/TabGroup.utils.d.ts +1 -1
- package/dist/Shared/Components/UserIdentifier/UserIdentifier.d.ts +2 -0
- package/dist/Shared/Components/UserIdentifier/index.d.ts +2 -0
- package/dist/Shared/Components/UserIdentifier/types.d.ts +11 -0
- package/dist/Shared/Components/index.d.ts +5 -2
- package/dist/Shared/Helpers.d.ts +2 -2
- package/dist/Shared/Providers/index.d.ts +1 -1
- package/dist/Shared/Providers/types.d.ts +13 -1
- package/dist/Shared/Services/app.types.d.ts +2 -6
- package/dist/Shared/constants.d.ts +20 -24
- package/dist/Shared/types.d.ts +113 -2
- package/dist/assets/@common-rjsf.css +1 -1
- package/dist/assets/ic-amazon-eks.13404569.svg +5 -0
- package/dist/assets/ic-arrow-square-out.59bb549a.svg +3 -0
- package/dist/assets/ic-azure-aks.a9e437d5.svg +46 -0
- package/dist/assets/{ic-timeout-red.5eda1010.svg → ic-bulk-check.0f698efa.svg} +4 -4
- package/dist/assets/{ic-memory.c4159f96.svg → ic-bulk-check.99e92f7a.svg} +5 -3
- package/dist/assets/ic-caret-down-small.7c4f88bf.svg +3 -0
- package/dist/assets/ic-caret-right.0ff813c2.svg +3 -0
- package/dist/assets/ic-celebration.77350694.svg +238 -0
- package/dist/assets/ic-checkbox-hover.0151d832.svg +20 -0
- package/dist/assets/ic-checkbox-hover.93e8d66a.svg +20 -0
- package/dist/assets/ic-checkbox-intermediate.24c6d21d.svg +22 -0
- package/dist/assets/ic-checkbox-intermediate.2a2d6c49.svg +22 -0
- package/dist/assets/ic-checkbox-selected.47444fab.svg +20 -0
- package/dist/assets/ic-checkbox-selected.c5539d6f.svg +20 -0
- package/dist/assets/{ic-check-grey.f556e371.svg → ic-checkbox-unselected.8054e3d7.svg} +2 -4
- package/dist/assets/ic-checkbox-unselected.ab91cdba.svg +19 -0
- package/dist/assets/ic-checks.d276fd05.svg +3 -0
- package/dist/assets/ic-cloud-vms.27ea954e.svg +5 -0
- package/dist/assets/ic-cpu.07ca0915.svg +3 -0
- package/dist/assets/ic-disconnect.26bad827.svg +3 -0
- package/dist/assets/ic-expand-right-sm.9b347d49.svg +3 -0
- package/dist/assets/ic-expand-sm.a9a724f8.svg +3 -0
- package/dist/assets/ic-gift-gradient.7690a246.svg +9 -0
- package/dist/assets/ic-gift.9b048fc7.svg +3 -0
- package/dist/assets/ic-gitlab.ac331d67.svg +31 -0
- package/dist/assets/ic-google-gke.07314724.svg +9 -0
- package/dist/assets/ic-hand-pointing.aff70667.svg +4 -0
- package/dist/assets/ic-help-filled.4468cdf1.svg +4 -0
- package/dist/assets/{ic-info-filled.9277eb13.svg → ic-info-filled.763be331.svg} +1 -1
- package/dist/assets/ic-install.28c3beec.svg +3 -0
- package/dist/assets/ic-k3s.7f4bf72d.svg +3 -0
- package/dist/assets/ic-key.8c76fb61.svg +3 -0
- package/dist/assets/ic-kind.bd8ee992.svg +9 -0
- package/dist/assets/ic-laptop.485e21b4.svg +3 -0
- package/dist/assets/ic-man-on-rocket.7f67e914.svg +94 -0
- package/dist/assets/ic-megaphone-left.6b2a00b7.svg +3 -0
- package/dist/assets/ic-memory.82ba7e9b.svg +3 -0
- package/dist/assets/ic-minikube.d9ff1575.svg +9 -0
- package/dist/assets/ic-mobile.7c649251.svg +4 -0
- package/dist/assets/ic-rocket-launch.1d407c66.svg +3 -0
- package/dist/assets/{ic-timeout-two-dash.9a580698.svg → ic-selected.3a29e244.svg} +2 -3
- package/dist/assets/ic-sparkle-color.01c0be88.svg +1 -0
- package/dist/assets/ic-thumb-down.92d2c4d7.svg +3 -0
- package/dist/assets/ic-thumb-up.7c6f6896.svg +3 -0
- package/dist/assets/ic-timeout-dash.d8e2d62e.svg +21 -0
- package/dist/assets/ic-ubuntu.fa47508f.svg +4 -0
- package/dist/assets/ic-user-circle.7d7152fa.svg +3 -0
- package/dist/assets/ic-wifi-slash.d0390749.svg +3 -0
- package/dist/index.d.ts +5 -5
- package/dist/index.js +887 -858
- package/package.json +1 -7
- package/dist/@common-rjsf-CzK1frl5.js +0 -617
- package/dist/@monaco-editor-CVagbUeH.js +0 -138960
- package/dist/Common/Checkbox.d.ts +0 -5
- package/dist/Common/CodeEditor/CodeEditor.d.ts +0 -4
- package/dist/Common/CodeEditor/CodeEditor.reducer.d.ts +0 -48
- package/dist/Common/CodeEditor/index.d.ts +0 -2
- package/dist/Common/CodeEditor/types.d.ts +0 -110
- package/dist/Common/CodeEditor/utils.d.ts +0 -3
- package/dist/Shared/Components/AnnouncementBanner/AnnouncementBanner.d.ts +0 -6
- package/dist/Shared/Components/AnnouncementBanner/index.d.ts +0 -1
- package/dist/Shared/Components/CICDHistory/AppStatusDetailsChart.d.ts +0 -3
- package/dist/Shared/Components/CICDHistory/ErrorInfoStatusBar.d.ts +0 -2
- package/dist/Shared/Components/CodeEditorWrapper/CodeEditorWrapper.d.ts +0 -19
- package/dist/Shared/Components/CodeEditorWrapper/index.d.ts +0 -1
- package/dist/Shared/Components/CodeEditorWrapper/types.d.ts +0 -7
- package/dist/assets/@code-editor.css +0 -1
- package/dist/assets/@monaco-editor.css +0 -1
- package/dist/assets/codicon.ecfbfe4b.ttf +0 -0
- package/dist/assets/ic-cpu.8be677ee.svg +0 -20
- package/dist/assets/ic-disconnected.551d6161.svg +0 -29
- package/dist/assets/ic-megaphone.b9f9a901.svg +0 -19
- package/dist/assets/ic-nav-rocket.433c9706.svg +0 -19
- /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/CodeEditor.components.d.ts +0 -0
- /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/CodeEditor.constants.d.ts +0 -0
- /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/CodeEditor.context.d.ts +0 -0
- /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/CodeEditor.d.ts +0 -0
- /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/CodeEditor.theme.d.ts +0 -0
- /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/CodeEditorRenderer.d.ts +0 -0
- /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/Commands/findAndReplace.d.ts +0 -0
- /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/Commands/index.d.ts +0 -0
- /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/Commands/keyMaps.d.ts +0 -0
- /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/Extensions/DiffMinimap.d.ts +0 -0
- /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/Extensions/findAndReplace.d.ts +0 -0
- /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/Extensions/index.d.ts +0 -0
- /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/Extensions/readOnlyTooltip.d.ts +0 -0
- /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/Extensions/yamlHighlight.d.ts +0 -0
- /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/Extensions/yamlParseLinter.d.ts +0 -0
- /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/index.d.ts +0 -0
- /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/utils.d.ts +0 -0
@@ -2,7 +2,7 @@ import { CSSProperties, ReactElement, ReactNode } from 'react';
|
|
2
2
|
import { SupportedKeyboardKeysType } from '@Common/Hooks/UseRegisterShortcut/types';
|
3
3
|
import { DeploymentAppTypes, FilterConditionsListType, ImageComment, OptionType, PaginationProps, PromotionApprovalMetadataType, ReleaseTag, ResponseType, UserApprovalMetadataType, useScrollable } from '../../../Common';
|
4
4
|
import { DeploymentStageType } from '../../constants';
|
5
|
-
import { AggregationKeys, GitTriggers, Node, NodeType, ResourceKindType, ResourceVersionType, TargetPlatformsDTO } from '../../types';
|
5
|
+
import { AggregationKeys, AppDetails, DeploymentStatusDetailsBreakdownDataType, DeploymentStatusDetailsType, DeploymentStatusTimelineType, GitTriggers, Node, NodeType, ResourceKindType, ResourceVersionType, TargetPlatformsDTO } from '../../types';
|
6
6
|
import { TargetPlatformBadgeListProps } from '../TargetPlatforms';
|
7
7
|
export declare enum HistoryComponentType {
|
8
8
|
CI = "CI",
|
@@ -134,6 +134,7 @@ export interface History extends Pick<TargetPlatformsDTO, 'targetPlatforms'>, Wo
|
|
134
134
|
triggerMetadata?: string;
|
135
135
|
runSource?: RunSourceType;
|
136
136
|
targetConfig?: TargetConfigType;
|
137
|
+
isDeploymentWithoutApproval?: boolean;
|
137
138
|
}
|
138
139
|
export interface ExecutionInfoType {
|
139
140
|
/**
|
@@ -295,67 +296,8 @@ export type FinishedType = {
|
|
295
296
|
status?: never;
|
296
297
|
finishedOn?: never;
|
297
298
|
});
|
298
|
-
export
|
299
|
-
|
300
|
-
cdWorkflowRunnerId: number;
|
301
|
-
resourceGroup: string;
|
302
|
-
resourceKind: string;
|
303
|
-
resourceName: string;
|
304
|
-
resourcePhase: string;
|
305
|
-
resourceStatus: string;
|
306
|
-
statusMessage: string;
|
307
|
-
}
|
308
|
-
export interface DeploymentStatusDetailsTimelineType {
|
309
|
-
id: number;
|
310
|
-
cdWorkflowRunnerId: number;
|
311
|
-
status: string;
|
312
|
-
statusDetail: string;
|
313
|
-
statusTime: string;
|
314
|
-
resourceDetails?: SyncStageResourceDetail[];
|
315
|
-
}
|
316
|
-
export interface DeploymentStatusDetailsType {
|
317
|
-
deploymentFinishedOn: string;
|
318
|
-
deploymentStartedOn: string;
|
319
|
-
triggeredBy: string;
|
320
|
-
statusFetchCount: number;
|
321
|
-
statusLastFetchedAt: string;
|
322
|
-
timelines: DeploymentStatusDetailsTimelineType[];
|
323
|
-
wfrStatus?: string;
|
324
|
-
}
|
325
|
-
export interface DeploymentStatusDetailsResponse extends ResponseType {
|
326
|
-
result?: DeploymentStatusDetailsType;
|
327
|
-
}
|
328
|
-
interface DeploymentStatusDetailRow {
|
329
|
-
icon: string;
|
330
|
-
displayText: string;
|
331
|
-
displaySubText: string;
|
332
|
-
time: string;
|
333
|
-
resourceDetails?: any;
|
334
|
-
isCollapsed?: boolean;
|
335
|
-
kubeList?: {
|
336
|
-
icon: any;
|
337
|
-
message: string;
|
338
|
-
}[];
|
339
|
-
timelineStatus?: string;
|
340
|
-
}
|
341
|
-
export interface DeploymentStatusDetailsBreakdownDataType {
|
342
|
-
deploymentStatus: string;
|
343
|
-
deploymentStatusText: string;
|
344
|
-
deploymentTriggerTime: string;
|
345
|
-
deploymentEndTime: string;
|
346
|
-
deploymentError: string;
|
347
|
-
triggeredBy: string;
|
348
|
-
nonDeploymentError: string;
|
349
|
-
deploymentStatusBreakdown: {
|
350
|
-
DEPLOYMENT_INITIATED: DeploymentStatusDetailRow;
|
351
|
-
GIT_COMMIT?: DeploymentStatusDetailRow;
|
352
|
-
ARGOCD_SYNC?: DeploymentStatusDetailRow;
|
353
|
-
KUBECTL_APPLY?: DeploymentStatusDetailRow;
|
354
|
-
APP_HEALTH?: DeploymentStatusDetailRow;
|
355
|
-
HELM_PACKAGE_GENERATED?: DeploymentStatusDetailRow;
|
356
|
-
};
|
357
|
-
}
|
358
|
-
export interface DeploymentDetailStepsType {
|
299
|
+
export type DeploymentStatusDetailsResponse = ResponseType<DeploymentStatusDetailsType>;
|
300
|
+
export interface DeploymentDetailStepsType extends Pick<History, 'isDeploymentWithoutApproval'> {
|
359
301
|
deploymentStatus?: string;
|
360
302
|
deploymentAppType?: DeploymentAppTypes;
|
361
303
|
isHelmApps?: boolean;
|
@@ -366,7 +308,7 @@ export interface DeploymentDetailStepsType {
|
|
366
308
|
processVirtualEnvironmentDeploymentData: (data?: DeploymentStatusDetailsType) => DeploymentStatusDetailsBreakdownDataType;
|
367
309
|
renderDeploymentApprovalInfo: (userApprovalMetadata: UserApprovalMetadataType) => JSX.Element;
|
368
310
|
}
|
369
|
-
export interface RenderCIListHeaderProps {
|
311
|
+
export interface RenderCIListHeaderProps extends Required<Pick<History, 'isDeploymentWithoutApproval'>> {
|
370
312
|
userApprovalMetadata: UserApprovalMetadataType;
|
371
313
|
triggeredBy: string;
|
372
314
|
appliedFilters: FilterConditionsListType[];
|
@@ -384,7 +326,7 @@ export interface VirtualHistoryArtifactProps {
|
|
384
326
|
workflowId: number;
|
385
327
|
};
|
386
328
|
}
|
387
|
-
export type CIListItemType = Pick<History, 'promotionApprovalMetadata'> & {
|
329
|
+
export type CIListItemType = Pick<History, 'promotionApprovalMetadata' | 'isDeploymentWithoutApproval'> & {
|
388
330
|
userApprovalMetadata?: UserApprovalMetadataType;
|
389
331
|
triggeredBy?: string;
|
390
332
|
children: ReactNode;
|
@@ -455,19 +397,17 @@ export interface LogsRendererType extends Pick<HistoryLogsProps, 'fullScreenView
|
|
455
397
|
export interface DeploymentStatusDetailBreakdownType {
|
456
398
|
deploymentStatusDetailsBreakdownData: DeploymentStatusDetailsBreakdownDataType;
|
457
399
|
isVirtualEnvironment?: boolean;
|
400
|
+
/**
|
401
|
+
* Won't be available if coming directly to deployment history from url
|
402
|
+
*/
|
403
|
+
appDetails: AppDetails | null;
|
404
|
+
rootClassName?: string;
|
458
405
|
}
|
459
|
-
export interface DeploymentStatusDetailRowType {
|
460
|
-
type:
|
406
|
+
export interface DeploymentStatusDetailRowType extends Pick<DeploymentStatusDetailBreakdownType, 'appDetails'> {
|
407
|
+
type: DeploymentStatusTimelineType;
|
461
408
|
hideVerticalConnector?: boolean;
|
462
409
|
deploymentDetailedData: DeploymentStatusDetailsBreakdownDataType;
|
463
410
|
}
|
464
|
-
export interface ErrorInfoStatusBarType {
|
465
|
-
nonDeploymentError: string;
|
466
|
-
type: string;
|
467
|
-
errorMessage: string;
|
468
|
-
hideVerticalConnector?: boolean;
|
469
|
-
hideErrorIcon?: boolean;
|
470
|
-
}
|
471
411
|
export interface DeploymentConfigurationsRes extends ResponseType {
|
472
412
|
result?: DeploymentTemplateList[];
|
473
413
|
}
|
@@ -507,12 +447,6 @@ export interface DeploymentHistorySidebarType {
|
|
507
447
|
deploymentHistoryList: DeploymentTemplateList[];
|
508
448
|
setDeploymentHistoryList: React.Dispatch<React.SetStateAction<DeploymentTemplateList[]>>;
|
509
449
|
}
|
510
|
-
export interface AppStatusDetailsChartType {
|
511
|
-
filterRemoveHealth?: boolean;
|
512
|
-
showFooter: boolean;
|
513
|
-
showConfigDriftInfo?: boolean;
|
514
|
-
onClose?: () => void;
|
515
|
-
}
|
516
450
|
export interface StatusFilterButtonType {
|
517
451
|
nodes: Array<Node>;
|
518
452
|
selectedTab: string;
|
@@ -601,6 +535,7 @@ export type GitChangesType = {
|
|
601
535
|
appliedFilters?: never;
|
602
536
|
appliedFiltersTimestamp?: never;
|
603
537
|
renderCIListHeader?: never;
|
538
|
+
isDeploymentWithoutApproval?: never;
|
604
539
|
} | {
|
605
540
|
artifact: string;
|
606
541
|
promotionApprovalMetadata: History['promotionApprovalMetadata'];
|
@@ -618,6 +553,7 @@ export type GitChangesType = {
|
|
618
553
|
appliedFilters?: FilterConditionsListType[];
|
619
554
|
appliedFiltersTimestamp?: string;
|
620
555
|
renderCIListHeader: (renderCIListHeaderProps: RenderCIListHeaderProps) => JSX.Element;
|
556
|
+
isDeploymentWithoutApproval?: History['isDeploymentWithoutApproval'];
|
621
557
|
});
|
622
558
|
export interface ArtifactType extends Pick<TargetPlatformBadgeListProps, 'targetPlatforms'> {
|
623
559
|
status: string;
|
@@ -1,10 +1,11 @@
|
|
1
1
|
import { ReactElement } from 'react';
|
2
|
-
import {
|
3
|
-
import {
|
2
|
+
import { DeploymentAppTypes } from '../../../Common/Types';
|
3
|
+
import { DeploymentStatusBreakdownItemType, Node } from '../../types';
|
4
|
+
import { TabGroupProps } from '../TabGroup';
|
5
|
+
import { DeploymentHistoryResultObject, ExecutionInfoType, History, NodeFilters, NodeStatus, StageStatusType, TriggerHistoryFilterCriteriaProps, TriggerHistoryFilterCriteriaType, WorkflowExecutionStagesMapDTO, WorkflowStageStatusType } from './types';
|
4
6
|
export declare const getTriggerHistoryFilterCriteria: ({ appId, envId, releaseId, showCurrentReleaseDeployments, }: TriggerHistoryFilterCriteriaProps) => TriggerHistoryFilterCriteriaType;
|
5
7
|
export declare const getParsedTriggerHistory: (result: any) => DeploymentHistoryResultObject;
|
6
8
|
export declare const buildHoverHtmlForWebhook: (eventName: any, condition: any, selectors: any) => JSX.Element;
|
7
|
-
export declare const renderIcon: (iconState: string) => JSX.Element;
|
8
9
|
export declare const getStageStatusIcon: (status: StageStatusType) => JSX.Element;
|
9
10
|
export declare const getLogSearchIndex: ({ stageIndex, lineNumberInsideStage, }: Record<"stageIndex" | "lineNumberInsideStage", number>) => string;
|
10
11
|
export declare const sanitizeWorkflowExecutionStages: (workflowExecutionStages: WorkflowExecutionStagesMapDTO["workflowExecutionStages"]) => ExecutionInfoType | null;
|
@@ -36,3 +37,6 @@ export declare const getStatusFilters: ({ allNodeCount, missingNodeCount, failed
|
|
36
37
|
};
|
37
38
|
export declare const getAppStatusIcon: (status: NodeStatus | NodeFilters, hideMessage?: boolean) => JSX.Element;
|
38
39
|
export declare const getTriggerStatusIcon: (status: string) => string;
|
40
|
+
export declare const renderDeploymentTimelineIcon: (iconState: DeploymentStatusBreakdownItemType["icon"]) => JSX.Element;
|
41
|
+
export declare const getDeploymentTimelineBGColorFromIcon: (icon: DeploymentStatusBreakdownItemType["icon"]) => string;
|
42
|
+
export declare const getTriggerOutputTabs: (triggerDetails: History, deploymentAppType: DeploymentAppTypes) => TabGroupProps["tabs"];
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { KeyValueTableData } from '../KeyValueTable';
|
2
2
|
import { ConfigMapSecretDataTypeOptionType } from './types';
|
3
3
|
export declare const CONFIG_MAP_SECRET_YAML_PARSE_ERROR = "Please provide valid YAML";
|
4
4
|
export declare const SECRET_TOAST_INFO: {
|
@@ -10,7 +10,7 @@ export declare const SECRET_TOAST_INFO: {
|
|
10
10
|
BOTH_ESO_DATA_AND_DATA_FROM_UNAVAILABLE: string;
|
11
11
|
};
|
12
12
|
export declare const configMapDataTypeOptions: ConfigMapSecretDataTypeOptionType[];
|
13
|
-
export declare const CONFIG_MAP_SECRET_DEFAULT_CURRENT_DATA:
|
13
|
+
export declare const CONFIG_MAP_SECRET_DEFAULT_CURRENT_DATA: KeyValueTableData[];
|
14
14
|
export declare const configMapSecretMountDataMap: {
|
15
15
|
environment: {
|
16
16
|
title: string;
|
@@ -1,8 +1,9 @@
|
|
1
1
|
import { GroupBase, OptionsOrGroups } from 'react-select';
|
2
|
-
import { CMSecretPayloadType,
|
2
|
+
import { CMSecretPayloadType, ConfigMapSecretUseFormProps, ESOSecretData, GetConfigMapSecretFormInitialValuesParamsType } from '../../Services';
|
3
|
+
import { KeyValueTableData } from '../KeyValueTable';
|
3
4
|
import { ConfigMapSecretDataTypeOptionType, GetConfigMapSecretReadOnlyValuesParamsType } from './types';
|
4
5
|
export declare const getSecretDataTypeOptions: (isJob: boolean, isHashiOrAWS: boolean) => ConfigMapSecretDataTypeOptionType[] | OptionsOrGroups<ConfigMapSecretDataTypeOptionType, GroupBase<ConfigMapSecretDataTypeOptionType>>;
|
5
|
-
export declare const convertKeyValuePairToYAML: (currentData:
|
6
|
+
export declare const convertKeyValuePairToYAML: (currentData: KeyValueTableData[]) => string;
|
6
7
|
export declare const getConfigMapSecretFormInitialValues: ({ isJob, configMapSecretData, cmSecretStateLabel, componentType, skipValidation, fallbackMergeStrategy, }: GetConfigMapSecretFormInitialValuesParamsType) => ConfigMapSecretUseFormProps;
|
7
8
|
export declare const getConfigMapSecretReadOnlyValues: ({ configMapSecretData, cmSecretStateLabel, componentType, isJob, fallbackMergeStrategy, displayKeys, }: GetConfigMapSecretReadOnlyValuesParamsType) => {
|
8
9
|
configData: {
|
@@ -12,6 +13,6 @@ export declare const getConfigMapSecretReadOnlyValues: ({ configMapSecretData, c
|
|
12
13
|
}[];
|
13
14
|
data: string;
|
14
15
|
};
|
15
|
-
export declare const convertYAMLToKeyValuePair: (yaml: string) =>
|
16
|
+
export declare const convertYAMLToKeyValuePair: (yaml: string) => KeyValueTableData[];
|
16
17
|
export declare const getESOSecretDataFromYAML: (yaml: string) => ESOSecretData;
|
17
18
|
export declare const getConfigMapSecretPayload: ({ isSecret, external, externalType, externalSubpathValues, yaml, yamlMode, currentData, esoSecretYaml, filePermission, name, selectedType, isFilePermissionChecked, roleARN, volumeMountPath, isSubPathChecked, mergeStrategy, }: ConfigMapSecretUseFormProps) => CMSecretPayloadType;
|
@@ -3,9 +3,9 @@ import { MergeView } from '@codemirror/merge';
|
|
3
3
|
import { SearchQuery } from '@codemirror/search';
|
4
4
|
import { EditorView, Extension, ReactCodeMirrorProps } from '@uiw/react-codemirror';
|
5
5
|
import { JSONSchema7 } from 'json-schema';
|
6
|
-
import { MODES } from '
|
7
|
-
import { AppThemeType } from '../../
|
8
|
-
import { Never } from '../../
|
6
|
+
import { MODES } from '../../../Common/Constants';
|
7
|
+
import { AppThemeType } from '../../Providers';
|
8
|
+
import { Never } from '../../types';
|
9
9
|
export interface CodeEditorStatusBarProps {
|
10
10
|
text: string;
|
11
11
|
className?: string;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { DEPLOYMENT_STATUS } from '../../constants';
|
2
|
+
import { DeploymentPhaseType, DeploymentStatusTimelineType } from '../../types';
|
3
|
+
import { WorkflowRunnerStatusDTO } from './types';
|
4
|
+
export declare const DEPLOYMENT_STATUS_TEXT_MAP: Readonly<Record<(typeof DEPLOYMENT_STATUS)[keyof typeof DEPLOYMENT_STATUS], string>>;
|
5
|
+
export declare const WFR_STATUS_DTO_TO_DEPLOYMENT_STATUS_MAP: Readonly<Record<WorkflowRunnerStatusDTO, (typeof DEPLOYMENT_STATUS)[keyof typeof DEPLOYMENT_STATUS]>>;
|
6
|
+
export declare const PROGRESSING_DEPLOYMENT_STATUS: Readonly<(typeof DEPLOYMENT_STATUS)[keyof typeof DEPLOYMENT_STATUS][]>;
|
7
|
+
export declare const SUCCESSFUL_DEPLOYMENT_STATUS: typeof PROGRESSING_DEPLOYMENT_STATUS;
|
8
|
+
export declare const FAILED_DEPLOYMENT_STATUS: typeof PROGRESSING_DEPLOYMENT_STATUS;
|
9
|
+
export declare const PHYSICAL_ENV_DEPLOYMENT_TIMELINE_ORDER: Readonly<DeploymentStatusTimelineType[]>;
|
10
|
+
export declare const DEPLOYMENT_PHASES: Readonly<DeploymentPhaseType[]>;
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import { DEPLOYMENT_STATUS } from '../../constants';
|
2
|
+
import { DeploymentStatusBreakdownItemType, DeploymentStatusDetailsType, DeploymentStatusTimelineType } from '../../types';
|
3
|
+
export declare enum WorkflowRunnerStatusDTO {
|
4
|
+
PROGRESSING = "Progressing",
|
5
|
+
ABORTED = "Aborted",
|
6
|
+
FAILED = "Failed",
|
7
|
+
SUCCEEDED = "Succeeded",
|
8
|
+
TIMED_OUT = "TimedOut",
|
9
|
+
UNABLE_TO_FETCH = "UnableToFetch",
|
10
|
+
STARTING = "Starting",
|
11
|
+
QUEUED = "Queued",
|
12
|
+
INITIATING = "Initiating",
|
13
|
+
HEALTHY = "Healthy",
|
14
|
+
DEGRADED = "Degraded"
|
15
|
+
}
|
16
|
+
export interface ProcessUnableToFetchOrTimedOutStatusType {
|
17
|
+
timelineData: DeploymentStatusBreakdownItemType;
|
18
|
+
timelineStatusType: DeploymentStatusTimelineType;
|
19
|
+
deploymentStatus: typeof DEPLOYMENT_STATUS.UNABLE_TO_FETCH | typeof DEPLOYMENT_STATUS.TIMED_OUT;
|
20
|
+
statusLastFetchedAt: DeploymentStatusDetailsType['statusLastFetchedAt'] | null;
|
21
|
+
statusFetchCount: DeploymentStatusDetailsType['statusFetchCount'] | null;
|
22
|
+
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import { DeploymentStatusDetailsBreakdownDataType, DeploymentStatusDetailsType } from '../../types';
|
2
|
+
/**
|
3
|
+
* @description
|
4
|
+
* This function processes the deployment status details data and returns a breakdown of the deployment status.
|
5
|
+
* Cases it handles:
|
6
|
+
* 1. If timelines are not present, say the case of helm deployment, we will parse the wfrStatus and put the status and basic deployment info [triggeredBy, deploymentStartedOn, deploymentFinishedOn] into the breakdown data and return it.
|
7
|
+
* 2. In case of gitops:
|
8
|
+
* - There are five timelines in chronological order:
|
9
|
+
* - Deployment Initiated
|
10
|
+
* - Git commit
|
11
|
+
* - ArgoCD Sync
|
12
|
+
* - Kubectl Apply
|
13
|
+
* - App Health
|
14
|
+
* - Basic flow is we traverse the timelines in order, if find the last status for that specific timeline from response by traversing the timelines in reverse order.
|
15
|
+
* - If element is found, we will parse the status and set the icon, display text, time, etc. for that timeline and set the next timeline to inprogress.
|
16
|
+
* - If element is not found, we will parse on basis of factors like:
|
17
|
+
* - If this timeline is not inprogress and deploymentStatus is progressing, we will set the current timeline to waiting.
|
18
|
+
* - In similar fashion based on the deploymentStatus we will set the icon and display text for the timeline.
|
19
|
+
*/
|
20
|
+
export declare const processDeploymentStatusDetailsData: (data?: DeploymentStatusDetailsType) => DeploymentStatusDetailsBreakdownDataType;
|
@@ -1,2 +1,2 @@
|
|
1
1
|
import { DynamicDataTableProps } from './types';
|
2
|
-
export declare const DynamicDataTable: <K extends string, CustomStateType = Record<string, unknown>>({ headers, ...props }: DynamicDataTableProps<K, CustomStateType>) => JSX.Element;
|
2
|
+
export declare const DynamicDataTable: <K extends string, CustomStateType = Record<string, unknown>>({ headers, onRowAdd, ...props }: DynamicDataTableProps<K, CustomStateType>) => JSX.Element;
|
@@ -1,2 +1,2 @@
|
|
1
1
|
import { DynamicDataTableHeaderProps } from './types';
|
2
|
-
export declare const DynamicDataTableHeader: <K extends string, CustomStateType = Record<string, unknown>>({ headers, rows, sortingConfig, onRowAdd, readOnly, isAdditionNotAllowed, isDeletionNotAllowed, headerComponent, actionButtonConfig, }: DynamicDataTableHeaderProps<K, CustomStateType>) => JSX.Element;
|
2
|
+
export declare const DynamicDataTableHeader: <K extends string, CustomStateType = Record<string, unknown>>({ headers, rows, sortingConfig, addBtnTooltip, onRowAdd, readOnly, isAdditionNotAllowed, isDeletionNotAllowed, headerComponent, actionButtonConfig, }: DynamicDataTableHeaderProps<K, CustomStateType>) => JSX.Element;
|
@@ -1,2 +1,2 @@
|
|
1
1
|
import { DynamicDataTableRowProps } from './types';
|
2
|
-
export declare const DynamicDataTableRow: <K extends string, CustomStateType = Record<string, unknown>>({ rows, headers, readOnly, isDeletionNotAllowed, cellError, actionButtonConfig, onRowEdit, onRowDelete, leadingCellIcon, trailingCellIcon, buttonCellWrapComponent, focusableFieldKey, }: DynamicDataTableRowProps<K, CustomStateType>) => JSX.Element;
|
2
|
+
export declare const DynamicDataTableRow: <K extends string, CustomStateType = Record<string, unknown>>({ rows, headers, readOnly, isDeletionNotAllowed, cellError, actionButtonConfig, onRowEdit, onRowDelete, leadingCellIcon, trailingCellIcon, buttonCellWrapComponent, focusableFieldKey, isAddRowButtonClicked, setIsAddRowButtonClicked, }: DynamicDataTableRowProps<K, CustomStateType>) => JSX.Element;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { DetailedHTMLProps, ReactElement, ReactNode } from 'react';
|
1
|
+
import { DetailedHTMLProps, Dispatch, ReactElement, ReactNode, SetStateAction } from 'react';
|
2
2
|
import { ResizableTagTextAreaProps } from '../../../Common/CustomTagSelector';
|
3
3
|
import { UseStateFiltersReturnType } from '../../../Common/Hooks';
|
4
4
|
import { TooltipProps } from '@Common/Tooltip/types';
|
@@ -112,6 +112,10 @@ export type DynamicDataTableProps<K extends string, CustomStateType = Record<str
|
|
112
112
|
isDeletionNotAllowed?: boolean;
|
113
113
|
/** When true, data add or update is disabled. */
|
114
114
|
readOnly?: boolean;
|
115
|
+
/** Tooltip for add button.
|
116
|
+
* @default 'Add'
|
117
|
+
*/
|
118
|
+
addBtnTooltip?: string;
|
115
119
|
/** Function to handle the addition of a new row to the table. */
|
116
120
|
onRowAdd: () => void;
|
117
121
|
/**
|
@@ -163,8 +167,10 @@ export type DynamicDataTableProps<K extends string, CustomStateType = Record<str
|
|
163
167
|
*/
|
164
168
|
focusableFieldKey?: K;
|
165
169
|
};
|
166
|
-
export interface DynamicDataTableHeaderProps<K extends string, CustomStateType = Record<string, unknown>> extends Pick<DynamicDataTableProps<K, CustomStateType>, 'headers' | 'rows' | 'headerComponent' | 'sortingConfig' | 'onRowAdd' | 'readOnly' | 'isAdditionNotAllowed' | 'isDeletionNotAllowed' | 'actionButtonConfig'> {
|
170
|
+
export interface DynamicDataTableHeaderProps<K extends string, CustomStateType = Record<string, unknown>> extends Pick<DynamicDataTableProps<K, CustomStateType>, 'headers' | 'rows' | 'headerComponent' | 'sortingConfig' | 'addBtnTooltip' | 'onRowAdd' | 'readOnly' | 'isAdditionNotAllowed' | 'isDeletionNotAllowed' | 'actionButtonConfig'> {
|
167
171
|
}
|
168
172
|
export interface DynamicDataTableRowProps<K extends string, CustomStateType = Record<string, unknown>> extends Pick<DynamicDataTableProps<K, CustomStateType>, 'rows' | 'headers' | 'isAdditionNotAllowed' | 'isDeletionNotAllowed' | 'readOnly' | 'onRowEdit' | 'onRowDelete' | 'actionButtonConfig' | 'cellError' | 'leadingCellIcon' | 'trailingCellIcon' | 'buttonCellWrapComponent' | 'focusableFieldKey'> {
|
173
|
+
isAddRowButtonClicked: boolean;
|
174
|
+
setIsAddRowButtonClicked: Dispatch<SetStateAction<boolean>>;
|
169
175
|
}
|
170
176
|
export {};
|
@@ -1,3 +1,3 @@
|
|
1
|
-
import { AnimatePresence } from 'framer-motion';
|
1
|
+
import { AnimatePresence, motion } from 'framer-motion';
|
2
2
|
export * from './MotionDiv';
|
3
|
-
export { AnimatePresence };
|
3
|
+
export { AnimatePresence, motion };
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { PageHeaderType } from './types';
|
2
|
-
declare const PageHeader: ({ headerName, additionalHeaderInfo, showTabs, renderHeaderTabs, isBreadcrumbs, breadCrumbs, renderActionButtons, showCloseButton, onClose, markAsBeta,
|
2
|
+
declare const PageHeader: ({ headerName, additionalHeaderInfo, showTabs, renderHeaderTabs, isBreadcrumbs, breadCrumbs, renderActionButtons, showCloseButton, onClose, markAsBeta, tippyProps, }: PageHeaderType) => JSX.Element;
|
3
3
|
export default PageHeader;
|
@@ -16,7 +16,6 @@ export interface PageHeaderType {
|
|
16
16
|
showCloseButton?: boolean;
|
17
17
|
onClose?: () => void;
|
18
18
|
markAsBeta?: boolean;
|
19
|
-
showAnnouncementHeader?: boolean;
|
20
19
|
tippyProps?: Pick<TippyCustomizedProps, 'additionalContent'> & {
|
21
20
|
isTippyCustomized?: boolean;
|
22
21
|
tippyRedirectLink?: string;
|
@@ -3,12 +3,15 @@ export declare const iconMap: {
|
|
3
3
|
'ic-73strings': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
4
4
|
'ic-aborted': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
5
5
|
'ic-add': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
6
|
+
'ic-amazon-eks': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
6
7
|
'ic-apica': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
7
8
|
'ic-app-group': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
8
9
|
'ic-arrow-clockwise': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
9
10
|
'ic-arrow-right': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
11
|
+
'ic-arrow-square-out': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
10
12
|
'ic-arrows-left-right': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
11
13
|
'ic-ather': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
14
|
+
'ic-azure-aks': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
12
15
|
'ic-azure': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
13
16
|
'ic-bg-cluster': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
14
17
|
'ic-bharatpe': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -19,20 +22,25 @@ export declare const iconMap: {
|
|
19
22
|
'ic-calendar': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
20
23
|
'ic-cancelled': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
21
24
|
'ic-card-stack': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
25
|
+
'ic-caret-down-small': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
22
26
|
'ic-caret-left': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
27
|
+
'ic-caret-right': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
23
28
|
'ic-cd': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
24
29
|
'ic-chat-circle-dots': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
25
30
|
'ic-check': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
31
|
+
'ic-checks': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
26
32
|
'ic-ci-linked': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
27
33
|
'ic-ci-webhook': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
28
34
|
'ic-circle-loader': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
29
35
|
'ic-clock': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
30
36
|
'ic-close-large': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
31
37
|
'ic-close-small': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
38
|
+
'ic-cloud-vms': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
32
39
|
'ic-code': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
33
40
|
'ic-container': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
34
41
|
'ic-cookr': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
35
42
|
'ic-copy': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
43
|
+
'ic-cpu': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
36
44
|
'ic-crown': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
37
45
|
'ic-cube': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
38
46
|
'ic-delete-lightning': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -40,32 +48,45 @@ export declare const iconMap: {
|
|
40
48
|
'ic-delhivery': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
41
49
|
'ic-devtron-header-logo': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
42
50
|
'ic-devtron': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
51
|
+
'ic-disconnect': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
43
52
|
'ic-dockerhub': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
44
53
|
'ic-ecr': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
45
54
|
'ic-env': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
46
55
|
'ic-error': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
56
|
+
'ic-expand-right-sm': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
57
|
+
'ic-expand-sm': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
47
58
|
'ic-failure': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
48
59
|
'ic-file-key': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
49
60
|
'ic-folder-user': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
50
61
|
'ic-gear': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
62
|
+
'ic-gift-gradient': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
63
|
+
'ic-gift': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
51
64
|
'ic-git': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
52
65
|
'ic-github': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
53
66
|
'ic-gitlab': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
54
67
|
'ic-google-artifact-registry': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
55
68
|
'ic-google-container-registry': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
69
|
+
'ic-google-gke': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
56
70
|
'ic-google': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
57
71
|
'ic-grid-view': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
72
|
+
'ic-hand-pointing': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
58
73
|
'ic-heart-green': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
59
74
|
'ic-heart-red-animated': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
60
75
|
'ic-heart-red': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
61
76
|
'ic-helm': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
77
|
+
'ic-help-filled': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
62
78
|
'ic-help-outline': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
63
79
|
'ic-hibernate': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
64
80
|
'ic-in-progress': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
65
81
|
'ic-info-filled': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
66
82
|
'ic-info-outline': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
83
|
+
'ic-install': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
67
84
|
'ic-job-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
85
|
+
'ic-k3s': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
68
86
|
'ic-k8s-job': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
87
|
+
'ic-key': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
88
|
+
'ic-kind': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
89
|
+
'ic-laptop': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
69
90
|
'ic-ldap': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
70
91
|
'ic-lightning-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
71
92
|
'ic-lightning': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -74,8 +95,12 @@ export declare const iconMap: {
|
|
74
95
|
'ic-logout': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
75
96
|
'ic-medium-delete': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
76
97
|
'ic-medium-paintbucket': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
98
|
+
'ic-megaphone-left': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
99
|
+
'ic-memory': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
77
100
|
'ic-microsoft': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
101
|
+
'ic-minikube': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
78
102
|
'ic-missing': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
103
|
+
'ic-mobile': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
79
104
|
'ic-monitoring': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
80
105
|
'ic-new': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
81
106
|
'ic-node-script': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -88,11 +113,14 @@ export declare const iconMap: {
|
|
88
113
|
'ic-pencil': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
89
114
|
'ic-quay': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
90
115
|
'ic-quote': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
116
|
+
'ic-rocket-launch': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
117
|
+
'ic-selected': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
91
118
|
'ic-shield-check': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
92
119
|
'ic-sliders-vertical': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
93
120
|
'ic-sort-ascending': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
94
121
|
'ic-sort-descending': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
95
122
|
'ic-sortable': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
123
|
+
'ic-sparkle-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
96
124
|
'ic-spinny': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
97
125
|
'ic-stack': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
98
126
|
'ic-stamp': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -100,13 +128,18 @@ export declare const iconMap: {
|
|
100
128
|
'ic-suspended': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
101
129
|
'ic-tata1mg': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
102
130
|
'ic-terminal-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
103
|
-
'ic-
|
131
|
+
'ic-thumb-down': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
132
|
+
'ic-thumb-up': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
133
|
+
'ic-timeout-dash': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
104
134
|
'ic-timer': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
105
135
|
'ic-travclan': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
136
|
+
'ic-ubuntu': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
106
137
|
'ic-unknown': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
138
|
+
'ic-user-circle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
107
139
|
'ic-user-key': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
108
140
|
'ic-users': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
109
141
|
'ic-warning': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
142
|
+
'ic-wifi-slash': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
110
143
|
};
|
111
144
|
export type IconName = keyof typeof iconMap;
|
112
145
|
export interface IconsProps extends Omit<IconBaseProps, 'name' | 'iconMap'> {
|
@@ -1,2 +1,2 @@
|
|
1
1
|
import { IconBaseProps } from './types';
|
2
|
-
export declare const IconBase: ({ name, iconMap, size, tooltipProps, color }: IconBaseProps) => JSX.Element;
|
2
|
+
export declare const IconBase: ({ name, iconMap, size, tooltipProps, color, dataTestId }: IconBaseProps) => JSX.Element;
|
@@ -11,7 +11,7 @@ export interface IconBaseProps {
|
|
11
11
|
* The size of the icon in pixels.
|
12
12
|
* @default 16
|
13
13
|
*/
|
14
|
-
size?: IconBaseSizeType;
|
14
|
+
size?: IconBaseSizeType | null;
|
15
15
|
/** Props to configure the tooltip when hovering over the icon. */
|
16
16
|
tooltipProps?: TooltipProps;
|
17
17
|
/**
|
@@ -20,5 +20,6 @@ export interface IconBaseProps {
|
|
20
20
|
* @example `'B500'`, `'N200'`, `'G50'`, `'R700'`
|
21
21
|
*/
|
22
22
|
color: IconBaseColorType;
|
23
|
+
dataTestId?: string;
|
23
24
|
}
|
24
25
|
export {};
|
@@ -1,7 +1,7 @@
|
|
1
|
+
import { InfoBlockVariant } from '../../constants';
|
1
2
|
import { ButtonProps } from '../Button';
|
2
3
|
import { InfoBlockProps } from './types';
|
3
|
-
export declare const
|
4
|
-
export declare const VARIANT_TO_ICON_MAP: Record<InfoBlockProps['variant'], InfoBlockProps['customIcon']>;
|
4
|
+
export declare const VARIANT_TO_ICON_MAP: Record<InfoBlockVariant, InfoBlockProps['customIcon']>;
|
5
5
|
export declare const CONTAINER_SIZE_TO_CLASS_MAP: Record<InfoBlockProps['size'], string>;
|
6
6
|
export declare const SIZE_TO_ICON_CLASS_MAP: Record<InfoBlockProps['size'], string>;
|
7
7
|
export declare const CONTAINER_SIZE_TO_BUTTON_SIZE: Record<InfoBlockProps['size'], ButtonProps['size']>;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ReactElement, ReactNode } from 'react';
|
2
|
-
import { ComponentSizeType } from '../../constants';
|
2
|
+
import { ComponentSizeType, InfoBlockVariantType } from '../../constants';
|
3
3
|
import { BorderConfigType, ComponentLayoutType } from '../../types';
|
4
4
|
import { ButtonComponentType, ButtonProps } from '../Button';
|
5
5
|
export type InfoBlockProps = {
|
@@ -10,7 +10,7 @@ export type InfoBlockProps = {
|
|
10
10
|
/**
|
11
11
|
* @default 'information'
|
12
12
|
*/
|
13
|
-
variant?:
|
13
|
+
variant?: InfoBlockVariantType;
|
14
14
|
/**
|
15
15
|
* @default ComponentSizeType.large
|
16
16
|
*/
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { InfoIconTippyProps } from '../../../Common/Types';
|
2
|
-
declare const InfoIconTippy: ({ heading, infoText, iconClass, documentationLink, documentationLinkText, additionalContent, iconClassName, placement, dataTestid, children, headingInfo, }: InfoIconTippyProps) => JSX.Element;
|
2
|
+
declare const InfoIconTippy: ({ heading, infoText, iconClass, documentationLink, documentationLinkText, additionalContent, iconClassName, placement, dataTestid, children, headingInfo, buttonPadding, }: InfoIconTippyProps) => JSX.Element;
|
3
3
|
export default InfoIconTippy;
|
@@ -1,2 +1,2 @@
|
|
1
1
|
import { KeyValueTableProps } from './KeyValueTable.types';
|
2
|
-
export declare const KeyValueTable:
|
2
|
+
export declare const KeyValueTable: ({ headerLabel, rows: initialRows, placeholder, maskValue, isSortable, headerComponent, onChange, isAdditionNotAllowed, readOnly, showError, validationSchema: parentValidationSchema, onError, validateDuplicateKeys, validateEmptyKeys, }: KeyValueTableProps) => JSX.Element;
|