@devtron-labs/devtron-fe-common-lib 1.2.14-beta-2 → 1.2.15
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-Dq63qqN5.js → @code-editor-BogrfDse.js} +3949 -4005
- package/dist/{@common-rjsf-XvvYk5xT.js → @common-rjsf-DLiAZrnL.js} +1 -1
- package/dist/Common/Constants.d.ts +4 -1
- package/dist/Common/CustomTagSelector/TagLabelSelect.d.ts +2 -0
- package/dist/Common/CustomTagSelector/TagSelector.utils.d.ts +12 -0
- package/dist/Common/CustomTagSelector/Types.d.ts +14 -12
- package/dist/Common/CustomTagSelector/index.d.ts +1 -0
- package/dist/Common/Helper.d.ts +1 -2
- package/dist/Common/Types.d.ts +4 -20
- package/dist/Pages/ResourceBrowser/Helper.d.ts +11 -0
- package/dist/Pages/ResourceBrowser/ResourceBrowser.Types.d.ts +44 -1
- package/dist/Pages/ResourceBrowser/constants.d.ts +2 -0
- package/dist/Pages/ResourceBrowser/index.d.ts +1 -0
- package/dist/Pages/ResourceBrowser/service.d.ts +2 -1
- package/dist/Shared/Components/BulkSelection/BulkSelection.d.ts +1 -1
- package/dist/Shared/Components/BulkSelection/types.d.ts +4 -0
- package/dist/Shared/Components/DynamicDataTable/types.d.ts +0 -2
- package/dist/Shared/Components/NumbersCount/NumbersCount.component.d.ts +3 -0
- package/dist/Shared/Components/NumbersCount/index.d.ts +1 -0
- package/dist/Shared/Components/NumbersCount/types.d.ts +13 -0
- package/dist/Shared/Components/SelectPicker/SelectPicker.component.d.ts +1 -1
- package/dist/Shared/Components/SelectPicker/type.d.ts +1 -1
- package/dist/Shared/Components/index.d.ts +1 -1
- package/dist/Shared/types.d.ts +1 -19
- package/dist/assets/ic-tilde.0451dbd9.svg +3 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +476 -476
- package/package.json +1 -1
- package/dist/Shared/Components/TagsKeyValueTable/TagsContainer.d.ts +0 -3
- package/dist/Shared/Components/TagsKeyValueTable/constants.d.ts +0 -4
- package/dist/Shared/Components/TagsKeyValueTable/index.d.ts +0 -3
- package/dist/Shared/Components/TagsKeyValueTable/types.d.ts +0 -11
- package/dist/Shared/Components/TagsKeyValueTable/utils.d.ts +0 -7
@@ -2,7 +2,7 @@ import { j as n, J as A } from "./@vendor-BG3OpQCq.js";
|
|
2
2
|
import E, { forwardRef as $ } from "react";
|
3
3
|
import L, { getDefaultRegistry as k } from "@rjsf/core";
|
4
4
|
import D from "@rjsf/validator-ajv8";
|
5
|
-
import { T as y, c as H, a as J, d as w } from "./@code-editor-
|
5
|
+
import { T as y, c as H, a as J, d as w } from "./@code-editor-BogrfDse.js";
|
6
6
|
import M, { components as O } from "react-select";
|
7
7
|
import { getUiOptions as B, getTemplate as I, getSubmitButtonOptions as U, ADDITIONAL_PROPERTY_FLAG as P, errorId as W, englishStringTranslator as V, TranslatableString as q, titleId as K, canExpand as Y, deepEquals as z } from "@rjsf/utils";
|
8
8
|
import { ReactComponent as G } from "./assets/ic-chevron-down.fc70d7a7.svg";
|
@@ -13,7 +13,6 @@ export declare const DOCUMENTATION: {
|
|
13
13
|
GLOBAL_CONFIG_BUILD_INFRA: string;
|
14
14
|
};
|
15
15
|
export declare const PATTERNS: {
|
16
|
-
STRING: RegExp;
|
17
16
|
KUBERNETES_KEY_PREFIX: RegExp;
|
18
17
|
KUBERNETES_KEY_NAME: RegExp;
|
19
18
|
START_END_ALPHANUMERIC: RegExp;
|
@@ -49,6 +48,7 @@ export declare const URLS: {
|
|
49
48
|
NETWORK_STATUS_INTERFACE: string;
|
50
49
|
CONFIG_DRIFT: string;
|
51
50
|
RESOURCE_BROWSER: string;
|
51
|
+
COMPARE_CLUSTERS: string;
|
52
52
|
};
|
53
53
|
export declare const ROUTES: {
|
54
54
|
APP: string;
|
@@ -57,6 +57,8 @@ export declare const ROUTES: {
|
|
57
57
|
PROJECT_LIST_MIN: string;
|
58
58
|
USER_CHECK_ROLE: string;
|
59
59
|
IMAGE_TAGGING: string;
|
60
|
+
CREATE_RESOURCE: string;
|
61
|
+
K8S_RESOURCE_CREATE: string;
|
60
62
|
CI_CONFIG_GET: string;
|
61
63
|
CD_MATERIAL_GET: string;
|
62
64
|
DEPLOYMENT_TEMPLATE_LIST: string;
|
@@ -95,6 +97,7 @@ export declare const ROUTES: {
|
|
95
97
|
DEPLOYMENT_CHARTS_LIST: string;
|
96
98
|
USER_LIST_MIN: string;
|
97
99
|
CONFIG_DATA: string;
|
100
|
+
K8S_RESOURCE: string;
|
98
101
|
K8S_RESOURCE_LIST: string;
|
99
102
|
CONFIG_COMPARE_SECRET: string;
|
100
103
|
};
|
@@ -0,0 +1,12 @@
|
|
1
|
+
export declare const baseSelectStyles: {
|
2
|
+
control: (base: any, state: any) => any;
|
3
|
+
singleValue: (base: any, state: any) => any;
|
4
|
+
placeholder: (base: any, state: any) => any;
|
5
|
+
option: (base: any, state: any) => any;
|
6
|
+
dropdownIndicator: (styles: any) => any;
|
7
|
+
valueContainer: (base: any, state: any) => any;
|
8
|
+
indicatorsContainer: (base: any, state: any) => any;
|
9
|
+
menu: (base: any, state: any) => any;
|
10
|
+
};
|
11
|
+
export declare const validateKubernetesKey: (key: string) => void;
|
12
|
+
export declare const validateKubernetesValue: (value: string) => void;
|
@@ -5,16 +5,6 @@ export interface SuggestedTagOptionType extends OptionType {
|
|
5
5
|
description: string;
|
6
6
|
propagate: boolean;
|
7
7
|
}
|
8
|
-
export declare enum DeploymentPolicy {
|
9
|
-
ALLOW = "allow",
|
10
|
-
BLOCK = "block",
|
11
|
-
BLOCK_PROD = "block-prod",
|
12
|
-
BLOCK_NON_PROD = "block-non-prod"
|
13
|
-
}
|
14
|
-
export interface VariableValueConstraintTypes {
|
15
|
-
choices?: string[];
|
16
|
-
blockCustomValue?: boolean;
|
17
|
-
}
|
18
8
|
export interface TagType {
|
19
9
|
id?: number;
|
20
10
|
key: string;
|
@@ -26,8 +16,20 @@ export interface TagType {
|
|
26
16
|
isInvalidValue?: boolean;
|
27
17
|
isSuggested?: boolean;
|
28
18
|
isPropagateDisabled?: boolean;
|
29
|
-
|
30
|
-
|
19
|
+
}
|
20
|
+
export interface TagErrorType {
|
21
|
+
isValid: boolean;
|
22
|
+
messages: string[];
|
23
|
+
}
|
24
|
+
export interface TagLabelSelectType {
|
25
|
+
isCreateApp?: boolean;
|
26
|
+
labelTags: TagType[];
|
27
|
+
setLabelTags: (tagList: TagType[]) => void;
|
28
|
+
tabIndex?: number;
|
29
|
+
selectedProjectId?: number;
|
30
|
+
suggestedTagsOptions?: SuggestedTagOptionType[];
|
31
|
+
reloadProjectTags?: boolean;
|
32
|
+
hidePropagateTag?: boolean;
|
31
33
|
}
|
32
34
|
export interface TagDetailType {
|
33
35
|
index: number;
|
package/dist/Common/Helper.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { default as React, SyntheticEvent } from 'react';
|
2
2
|
import { JSONPathOptions } from 'jsonpath-plus';
|
3
|
-
import { AsyncOptions,
|
3
|
+
import { AsyncOptions, UseSearchString } from './Types';
|
4
4
|
import { scrollableInterface } from '../Shared';
|
5
5
|
import * as Sentry from '@sentry/browser';
|
6
6
|
export declare function showError(serverError: any, showToastOnUnknownError?: boolean, hideAccessError?: boolean): void;
|
@@ -135,5 +135,4 @@ export declare const getSanitizedIframe: (iframeString: string) => string;
|
|
135
135
|
* This method adds default attributes to iframe - title, loading ="lazy", width="100%", height="100%"
|
136
136
|
*/
|
137
137
|
export declare const getIframeWithDefaultAttributes: (iframeString: string, defaultName?: string) => string;
|
138
|
-
export declare const getStageTitle: (stageType: DeploymentNodeType) => string;
|
139
138
|
export {};
|
package/dist/Common/Types.d.ts
CHANGED
@@ -3,7 +3,7 @@ import { TippyProps } from '@tippyjs/react';
|
|
3
3
|
import { Placement } from 'tippy.js';
|
4
4
|
import { UserGroupDTO } from '../Pages/GlobalConfigurations';
|
5
5
|
import { ImageComment, ReleaseTag } from './ImageTags.Types';
|
6
|
-
import { MandatoryPluginBaseStateType,
|
6
|
+
import { MandatoryPluginBaseStateType, RegistryType, RuntimeParamsListItemType, Severity } from '../Shared';
|
7
7
|
import { ACTION_STATE, DEPLOYMENT_WINDOW_TYPE, DockerConfigOverrideType, SortingOrder, TaskErrorObj } from '.';
|
8
8
|
/**
|
9
9
|
* Generic response type object with support for overriding the result type
|
@@ -432,10 +432,6 @@ export interface CDMaterialType {
|
|
432
432
|
* Would currently only be received in case of release
|
433
433
|
*/
|
434
434
|
appWorkflowId: number;
|
435
|
-
/**
|
436
|
-
* Denotes trigger blocking due to mandatory tags, (might be used for plugins and other features in future)
|
437
|
-
*/
|
438
|
-
deploymentBlockedState?: PolicyBlockInfo;
|
439
435
|
}
|
440
436
|
export declare enum CDMaterialServiceEnum {
|
441
437
|
ROLLBACK = "rollback",
|
@@ -472,15 +468,6 @@ export interface DownstreamNodesEnvironmentsType {
|
|
472
468
|
environmentId: number;
|
473
469
|
environmentName: string;
|
474
470
|
}
|
475
|
-
export declare enum TriggerBlockType {
|
476
|
-
MANDATORY_TAG = "mandatory-tags",
|
477
|
-
MANDATORY_PLUGIN = "mandatory-plugins",
|
478
|
-
SECURITY_SCAN = "security-scan"
|
479
|
-
}
|
480
|
-
export interface TriggerBlockedInfo {
|
481
|
-
blockedBy: TriggerBlockType;
|
482
|
-
blockedReason?: string;
|
483
|
-
}
|
484
471
|
export interface CommonNodeAttr extends Pick<MandatoryPluginBaseStateType, 'isTriggerBlocked' | 'pluginBlockState'> {
|
485
472
|
connectingCiPipelineId?: number;
|
486
473
|
parents: string | number[] | string[];
|
@@ -543,7 +530,6 @@ export interface CommonNodeAttr extends Pick<MandatoryPluginBaseStateType, 'isTr
|
|
543
530
|
downstreamEnvironments?: DownstreamNodesEnvironmentsType[];
|
544
531
|
cipipelineId?: number;
|
545
532
|
isDeploymentBlocked?: boolean;
|
546
|
-
triggerBlockedInfo?: TriggerBlockedInfo;
|
547
533
|
}
|
548
534
|
export declare enum DeploymentAppTypes {
|
549
535
|
HELM = "helm",
|
@@ -607,7 +593,6 @@ export interface CDMaterialsMetaInfo {
|
|
607
593
|
*/
|
608
594
|
requestedUserId: number;
|
609
595
|
runtimeParams: RuntimeParamsListItemType[];
|
610
|
-
deploymentBlockedState?: PolicyBlockInfo;
|
611
596
|
}
|
612
597
|
export interface ImagePromotionMaterialInfo {
|
613
598
|
isApprovalPendingForPromotion: boolean;
|
@@ -685,7 +670,7 @@ export interface Strategy {
|
|
685
670
|
config: any;
|
686
671
|
default?: boolean;
|
687
672
|
}
|
688
|
-
export interface CDStage
|
673
|
+
export interface CDStage {
|
689
674
|
status: string;
|
690
675
|
name: string;
|
691
676
|
triggerType: 'AUTOMATIC' | 'MANUAL';
|
@@ -695,14 +680,14 @@ export interface CDStageConfigMapSecretNames {
|
|
695
680
|
configMaps: any[];
|
696
681
|
secrets: any[];
|
697
682
|
}
|
698
|
-
export interface PrePostDeployStageType extends MandatoryPluginBaseStateType
|
683
|
+
export interface PrePostDeployStageType extends MandatoryPluginBaseStateType {
|
699
684
|
isValid: boolean;
|
700
685
|
steps: TaskErrorObj[];
|
701
686
|
triggerType: string;
|
702
687
|
name: string;
|
703
688
|
status: string;
|
704
689
|
}
|
705
|
-
export interface CdPipeline
|
690
|
+
export interface CdPipeline {
|
706
691
|
id: number;
|
707
692
|
environmentId: number;
|
708
693
|
environmentName?: string;
|
@@ -734,7 +719,6 @@ export interface CdPipeline extends Partial<Pick<CommonNodeAttr, 'triggerBlocked
|
|
734
719
|
isProdEnv?: boolean;
|
735
720
|
isGitOpsRepoNotConfigured?: boolean;
|
736
721
|
isDeploymentBlocked?: boolean;
|
737
|
-
isTriggerBlocked?: boolean;
|
738
722
|
}
|
739
723
|
export interface ExternalCiConfig {
|
740
724
|
id: number;
|
@@ -1,2 +1,13 @@
|
|
1
1
|
import { AggregationKeys, NodeType } from '../../Shared';
|
2
|
+
import { ApiResourceGroupType, CreateResourceRequestBodyParamsType, CreateResourceRequestBodyType } from './ResourceBrowser.Types';
|
2
3
|
export declare function getAggregator(nodeType: NodeType, defaultAsOtherResources?: boolean): AggregationKeys;
|
4
|
+
export declare const getK8sResourceListPayload: (clusterId: string, namespace: string, selectedResource: ApiResourceGroupType, filters: object) => {
|
5
|
+
clusterId: number;
|
6
|
+
k8sRequest: {
|
7
|
+
resourceIdentifier: {
|
8
|
+
namespace: string;
|
9
|
+
groupVersionKind: import('./ResourceBrowser.Types').GVKType;
|
10
|
+
};
|
11
|
+
};
|
12
|
+
};
|
13
|
+
export declare const createResourceRequestBody: ({ clusterId, group, version, kind, name, namespace, updatedManifest, }: CreateResourceRequestBodyParamsType) => CreateResourceRequestBodyType;
|
@@ -49,12 +49,25 @@ export interface BulkSelectionActionWidgetProps {
|
|
49
49
|
parentRef: RefObject<HTMLDivElement>;
|
50
50
|
showBulkRestartOption: boolean;
|
51
51
|
}
|
52
|
+
interface BulkOperationAdditionalKeysType {
|
53
|
+
label: string;
|
54
|
+
value: string;
|
55
|
+
isSortable: boolean;
|
56
|
+
/**
|
57
|
+
* width to be given in gridTemplateColumns
|
58
|
+
*/
|
59
|
+
width: string;
|
60
|
+
}
|
52
61
|
export interface BulkOperation {
|
53
62
|
name: string;
|
63
|
+
/**
|
64
|
+
* Would these keys beside the name
|
65
|
+
*/
|
66
|
+
additionalKeys?: BulkOperationAdditionalKeysType[];
|
54
67
|
operation: (signal: AbortSignal, data?: unknown) => Promise<void>;
|
55
68
|
}
|
56
69
|
export type BulkOperationModalProps = {
|
57
|
-
operationType: 'restart' | 'delete';
|
70
|
+
operationType: 'restart' | 'delete' | 'creation';
|
58
71
|
clusterName: string;
|
59
72
|
operations: NonNullable<BulkOperation[]>;
|
60
73
|
handleModalClose: () => void;
|
@@ -64,4 +77,34 @@ export type BulkOperationModalProps = {
|
|
64
77
|
shouldAllowForceOperation?: true;
|
65
78
|
};
|
66
79
|
export type BulkOperationModalState = BulkOperationModalProps['operationType'] | 'closed';
|
80
|
+
export interface CreateResourceRequestBodyType {
|
81
|
+
appId: string;
|
82
|
+
clusterId: number;
|
83
|
+
k8sRequest: {
|
84
|
+
resourceIdentifier: Required<K8sRequestResourceIdentifierType>;
|
85
|
+
patch?: string;
|
86
|
+
};
|
87
|
+
}
|
88
|
+
export interface ResourceManifestDTO {
|
89
|
+
manifestResponse: {
|
90
|
+
manifest: Record<string, unknown>;
|
91
|
+
};
|
92
|
+
secretViewAccess: boolean;
|
93
|
+
}
|
94
|
+
export interface CreateResourceRequestBodyParamsType extends Pick<CreateResourceRequestBodyType, 'clusterId'>, Required<Pick<K8sRequestResourceIdentifierType, 'name' | 'namespace'>> {
|
95
|
+
updatedManifest?: string;
|
96
|
+
group: GVKType['Group'];
|
97
|
+
version: GVKType['Version'];
|
98
|
+
kind: GVKType['Kind'];
|
99
|
+
}
|
100
|
+
export interface CreateResourcePayload {
|
101
|
+
clusterId: number;
|
102
|
+
manifest: string;
|
103
|
+
}
|
104
|
+
export interface CreateResourceDTO {
|
105
|
+
kind: string;
|
106
|
+
name: string;
|
107
|
+
isUpdate: boolean;
|
108
|
+
error: string;
|
109
|
+
}
|
67
110
|
export {};
|
@@ -1,3 +1,4 @@
|
|
1
1
|
import { ResponseType } from '../../Common/Types';
|
2
|
-
import { K8sResourceDetailType, K8sResourceListPayloadType } from './ResourceBrowser.Types';
|
2
|
+
import { CreateResourceDTO, CreateResourcePayload, K8sResourceDetailType, K8sResourceListPayloadType } from './ResourceBrowser.Types';
|
3
3
|
export declare const getK8sResourceList: (resourceListPayload: K8sResourceListPayloadType, signal?: AbortSignal) => Promise<ResponseType<K8sResourceDetailType>>;
|
4
|
+
export declare const createNewResource: (resourceListPayload: CreateResourcePayload) => Promise<ResponseType<CreateResourceDTO[]>>;
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { BulkSelectionProps } from './types';
|
2
|
-
declare const BulkSelection: <T>({ showPagination, disabled }: BulkSelectionProps) => JSX.Element;
|
2
|
+
declare const BulkSelection: <T>({ showPagination, disabled, showChevronDownIcon }: BulkSelectionProps) => JSX.Element;
|
3
3
|
export default BulkSelection;
|
@@ -28,6 +28,10 @@ export interface UseBulkSelectionReturnType<T> extends GetBulkSelectionCheckboxV
|
|
28
28
|
}
|
29
29
|
export interface BulkSelectionProps {
|
30
30
|
showPagination: boolean;
|
31
|
+
/**
|
32
|
+
* @default true
|
33
|
+
*/
|
34
|
+
showChevronDownIcon?: boolean;
|
31
35
|
disabled?: boolean;
|
32
36
|
}
|
33
37
|
export interface BulkSelectionDropdownItemsType {
|
@@ -19,8 +19,6 @@ export type DynamicDataTableHeaderType<K extends string> = {
|
|
19
19
|
isSortable?: boolean;
|
20
20
|
/** An optional boolean to control the visibility of the column. */
|
21
21
|
isHidden?: boolean;
|
22
|
-
/** An optional boolean to show the column */
|
23
|
-
renderAdditionalContent?: () => ReactNode;
|
24
22
|
};
|
25
23
|
export declare enum DynamicDataTableRowDataType {
|
26
24
|
TEXT = "text",
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default as NumbersCount } from './NumbersCount.component';
|
@@ -0,0 +1,13 @@
|
|
1
|
+
export interface NumbersCountProps {
|
2
|
+
count: number;
|
3
|
+
/**
|
4
|
+
* @default false
|
5
|
+
* @description If true, it will change the bgColor to var(--B500)
|
6
|
+
*/
|
7
|
+
isSelected?: boolean;
|
8
|
+
/**
|
9
|
+
* @default false
|
10
|
+
* @description If true, it will show the count with tilde like ~number
|
11
|
+
*/
|
12
|
+
isApprox?: boolean;
|
13
|
+
}
|
@@ -134,5 +134,5 @@ import { SelectPickerProps } from './type';
|
|
134
134
|
* />
|
135
135
|
* ```
|
136
136
|
*/
|
137
|
-
declare const SelectPicker: <OptionValue, IsMulti extends boolean>({ error, icon, helperText, placeholder, label, showSelectedOptionIcon, size, disabledTippyContent, showSelectedOptionsCount, menuSize, optionListError, reloadOptionList, menuPosition, variant, disableDescriptionEllipsis, multiSelectProps, isMulti, name, classNamePrefix, shouldRenderCustomOptions, isSearchable, selectRef, shouldMenuAlignRight, fullWidth, customSelectedOptionsCount, renderMenuListFooter, inputValue, onInputChange, isCreatable, onCreateOption, closeMenuOnSelect, shouldShowNoOptionsMessage,
|
137
|
+
declare const SelectPicker: <OptionValue, IsMulti extends boolean>({ error, icon, helperText, placeholder, label, showSelectedOptionIcon, size, disabledTippyContent, showSelectedOptionsCount, menuSize, optionListError, reloadOptionList, menuPosition, variant, disableDescriptionEllipsis, multiSelectProps, isMulti, name, classNamePrefix, shouldRenderCustomOptions, isSearchable, selectRef, shouldMenuAlignRight, fullWidth, customSelectedOptionsCount, renderMenuListFooter, inputValue, onInputChange, isCreatable, onCreateOption, closeMenuOnSelect, shouldShowNoOptionsMessage, ...props }: SelectPickerProps<OptionValue, IsMulti>) => JSX.Element;
|
138
138
|
export default SelectPicker;
|
@@ -61,7 +61,7 @@ export declare enum SelectPickerVariantType {
|
|
61
61
|
DEFAULT = "default",
|
62
62
|
BORDER_LESS = "border-less"
|
63
63
|
}
|
64
|
-
export type SelectPickerProps<OptionValue = number | string, IsMulti extends boolean = false> = Pick<SelectProps<OptionValue, IsMulti>, 'name' | 'classNamePrefix' | 'options' | 'value' | 'onChange' | 'isSearchable' | 'isClearable' | 'hideSelectedOptions' | 'controlShouldRenderValue' | 'closeMenuOnSelect' | 'isDisabled' | 'isLoading' | 'required' | 'isOptionDisabled' | 'placeholder' | 'menuPosition' | 'getOptionLabel' | 'getOptionValue' | 'isOptionSelected' | 'menuIsOpen' | 'onMenuOpen' | 'onMenuClose' | 'autoFocus' | 'onBlur' | 'onKeyDown' | 'formatOptionLabel' | 'onInputChange' | 'inputValue'> & Partial<Pick<SelectProps<OptionValue, IsMulti>, 'renderMenuListFooter' | 'shouldRenderCustomOptions' | 'renderCustomOptions' | 'icon' | 'showSelectedOptionIcon'>> & Required<Pick<SelectProps<OptionValue, IsMulti>, 'inputId'>> & Partial<Pick<CreatableProps<SelectPickerOptionType<OptionValue>, IsMulti, GroupBase<SelectPickerOptionType<OptionValue>>>, 'onCreateOption'
|
64
|
+
export type SelectPickerProps<OptionValue = number | string, IsMulti extends boolean = false> = Pick<SelectProps<OptionValue, IsMulti>, 'name' | 'classNamePrefix' | 'options' | 'value' | 'onChange' | 'isSearchable' | 'isClearable' | 'hideSelectedOptions' | 'controlShouldRenderValue' | 'closeMenuOnSelect' | 'isDisabled' | 'isLoading' | 'required' | 'isOptionDisabled' | 'placeholder' | 'menuPosition' | 'getOptionLabel' | 'getOptionValue' | 'isOptionSelected' | 'menuIsOpen' | 'onMenuOpen' | 'onMenuClose' | 'autoFocus' | 'onBlur' | 'onKeyDown' | 'formatOptionLabel' | 'onInputChange' | 'inputValue'> & Partial<Pick<SelectProps<OptionValue, IsMulti>, 'renderMenuListFooter' | 'shouldRenderCustomOptions' | 'renderCustomOptions' | 'icon' | 'showSelectedOptionIcon'>> & Required<Pick<SelectProps<OptionValue, IsMulti>, 'inputId'>> & Partial<Pick<CreatableProps<SelectPickerOptionType<OptionValue>, IsMulti, GroupBase<SelectPickerOptionType<OptionValue>>>, 'onCreateOption'>> & {
|
65
65
|
/**
|
66
66
|
* Error message for the select
|
67
67
|
*/
|
@@ -41,8 +41,8 @@ export * from './Collapse';
|
|
41
41
|
export * from './Security';
|
42
42
|
export * from './Button';
|
43
43
|
export * from './InvalidYAMLTippy';
|
44
|
+
export * from './NumbersCount';
|
44
45
|
export * from './EnterpriseTag';
|
45
46
|
export * from './ConfirmationModal';
|
46
47
|
export * from './DiffViewer';
|
47
48
|
export * from './DynamicDataTable';
|
48
|
-
export * from './TagsKeyValueTable';
|
package/dist/Shared/types.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { Dayjs } from 'dayjs';
|
2
|
-
import { OptionType, CommonNodeAttr, ResponseType, UserApprovalConfigType, VulnerabilityType, DeploymentAppTypes, ServerErrors, SortingParams
|
2
|
+
import { OptionType, CommonNodeAttr, ResponseType, UserApprovalConfigType, VulnerabilityType, DeploymentAppTypes, ServerErrors, SortingParams } from '../Common';
|
3
3
|
import { KeyValueListType } from './Components';
|
4
4
|
import { EnvironmentTypeEnum, PatchOperationType } from './constants';
|
5
5
|
export declare enum EnvType {
|
@@ -740,22 +740,4 @@ export interface PreventOutsideFocusProps {
|
|
740
740
|
identifier: string;
|
741
741
|
preventFocus: boolean;
|
742
742
|
}
|
743
|
-
export interface PolicyBlockInfo {
|
744
|
-
isBlocked: boolean;
|
745
|
-
blockedBy: TriggerBlockType;
|
746
|
-
reason: string;
|
747
|
-
}
|
748
|
-
export interface PipelineStageBlockInfo {
|
749
|
-
node: PolicyBlockInfo;
|
750
|
-
pre: PolicyBlockInfo;
|
751
|
-
post: PolicyBlockInfo;
|
752
|
-
}
|
753
|
-
export interface PolicyConsequencesDTO {
|
754
|
-
cd: PipelineStageBlockInfo;
|
755
|
-
ci: PipelineStageBlockInfo;
|
756
|
-
}
|
757
|
-
export interface GetPolicyConsequencesProps {
|
758
|
-
appId: number;
|
759
|
-
envId: number;
|
760
|
-
}
|
761
743
|
export {};
|
@@ -0,0 +1,3 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
2
|
+
<path stroke="#3B444C" stroke-linecap="round" stroke-width="1.5" d="M21 10c-.095.47-.236.896-.422 1.28-.41.864-.981 1.512-1.716 1.947-.736.428-1.565.642-2.49.642-.758 0-1.463-.15-2.115-.45-.651-.299-1.383-.78-2.194-1.443-.833-.692-1.715-1.252-2.36-1.538A4.948 4.948 0 0 0 7.636 10c-.948 0-1.789.217-2.524.652-.728.428-1.296 1.074-1.705 1.936a5.5 5.5 0 0 0-.406 1.28" vector-effect="non-scaling-stroke"/>
|
3
|
+
</svg>
|
package/dist/index.d.ts
CHANGED
@@ -79,6 +79,7 @@ export interface customEnv {
|
|
79
79
|
FEATURE_PROMO_EMBEDDED_MODAL_TITLE?: string;
|
80
80
|
FEATURE_PROMO_EMBEDDED_IFRAME_URL?: string;
|
81
81
|
FEATURE_BULK_RESTART_WORKLOADS_FROM_RB: string;
|
82
|
+
FEATURE_RB_SYNC_CLUSTER_ENABLE?: boolean;
|
82
83
|
FEATURE_DEFAULT_MERGE_STRATEGY?: OverrideMergeStrategyType;
|
83
84
|
FEATURE_DEFAULT_LANDING_RB_ENABLE?: boolean;
|
84
85
|
FEATURE_CLUSTER_MAP_ENABLE?: boolean;
|