@devtron-labs/devtron-fe-common-lib 1.1.4-beta-7 → 1.1.4-beta-9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Common/CustomTagSelector/Types.d.ts +0 -12
- package/dist/Shared/Components/SelectPicker/type.d.ts +4 -5
- package/dist/Shared/Components/index.d.ts +0 -2
- package/dist/Shared/types.d.ts +3 -1
- package/dist/assets/index.css +1 -1
- package/dist/{cssMode-CUSFfBfL.js → cssMode-DGBtrSoC.js} +1 -1
- package/dist/{freemarker2-BK3Gopns.js → freemarker2-BucnuTqG.js} +1 -1
- package/dist/{handlebars-x0b5tlKl.js → handlebars-DWSEQOiW.js} +1 -1
- package/dist/{html-BVdf1OyY.js → html-BVfey8yR.js} +1 -1
- package/dist/{htmlMode-BXPbN7Zj.js → htmlMode-TxazuEvv.js} +1 -1
- package/dist/{index-BN1wFILc.js → index-BEHtWHHT.js} +26185 -26571
- package/dist/index.js +498 -502
- package/dist/{javascript-DZp4PKLh.js → javascript-CZPzv12T.js} +1 -1
- package/dist/{jsonMode-8uNr5Xas.js → jsonMode-Bq4ueiUo.js} +1 -1
- package/dist/{liquid-CBePG8fL.js → liquid-CIWxNcb2.js} +1 -1
- package/dist/{mdx-BU-A1f0c.js → mdx-DPULcbBf.js} +1 -1
- package/dist/{python-CdeMO2hp.js → python-D-oVmfPg.js} +1 -1
- package/dist/{razor-BjFuFugL.js → razor-Cn82lini.js} +1 -1
- package/dist/{tsMode-Dywyx4G5.js → tsMode-DfRr1XD_.js} +1 -1
- package/dist/{typescript-DSJN0IXZ.js → typescript-IvaRDcZ3.js} +1 -1
- package/dist/{xml-DYQ53opJ.js → xml-u9TRnaG4.js} +1 -1
- package/dist/{yaml-B1nZBi1N.js → yaml-CAjxnnOF.js} +1 -1
- package/package.json +1 -1
- package/dist/Shared/Components/DynamicDataTable/DynamicDataTable.d.ts +0 -2
- package/dist/Shared/Components/DynamicDataTable/DynamicDataTableHeader.d.ts +0 -2
- package/dist/Shared/Components/DynamicDataTable/DynamicDataTableRow.d.ts +0 -2
- package/dist/Shared/Components/DynamicDataTable/index.d.ts +0 -2
- package/dist/Shared/Components/DynamicDataTable/types.d.ts +0 -142
- package/dist/Shared/Components/DynamicDataTable/utils.d.ts +0 -4
- package/dist/Shared/Components/MultipleResizableTextArea/MultipleResizableTextArea.d.ts +0 -2
- package/dist/Shared/Components/MultipleResizableTextArea/index.d.ts +0 -2
- package/dist/Shared/Components/MultipleResizableTextArea/types.d.ts +0 -9
- package/dist/Shared/Components/SelectTextArea/SelectTextArea.d.ts +0 -2
- package/dist/Shared/Components/SelectTextArea/index.d.ts +0 -2
- package/dist/Shared/Components/SelectTextArea/types.d.ts +0 -12
|
@@ -4,16 +4,6 @@ export interface SuggestedTagOptionType extends OptionType {
|
|
|
4
4
|
description: string;
|
|
5
5
|
propagate: boolean;
|
|
6
6
|
}
|
|
7
|
-
export declare enum DeploymentPolicy {
|
|
8
|
-
ALLOW = "allow",
|
|
9
|
-
BLOCK = "block",
|
|
10
|
-
BLOCK_PROD = "block-prod",
|
|
11
|
-
BLOCK_NON_PROD = "block-non-prod"
|
|
12
|
-
}
|
|
13
|
-
export interface VariableValueConstraintTypes {
|
|
14
|
-
choices?: string[];
|
|
15
|
-
blockCustomValue?: boolean;
|
|
16
|
-
}
|
|
17
7
|
export interface TagType {
|
|
18
8
|
id?: number;
|
|
19
9
|
key: string;
|
|
@@ -25,8 +15,6 @@ export interface TagType {
|
|
|
25
15
|
isInvalidValue?: boolean;
|
|
26
16
|
isSuggested?: boolean;
|
|
27
17
|
isPropagateDisabled?: boolean;
|
|
28
|
-
deploymentPolicy?: DeploymentPolicy;
|
|
29
|
-
variableValueConstraint?: VariableValueConstraintTypes;
|
|
30
18
|
}
|
|
31
19
|
export interface TagErrorType {
|
|
32
20
|
isValid: boolean;
|
|
@@ -24,10 +24,6 @@ export interface SelectPickerOptionType<OptionValue = string | number> extends O
|
|
|
24
24
|
tooltipProps?: Omit<TooltipProps, 'alwaysShowTippyOnHover' | 'showOnTruncate' | 'shortcutKeyCombo'> | (Omit<TooltipProps, 'alwaysShowTippyOnHover' | 'showOnTruncate' | 'content'> & Required<Pick<TooltipProps, 'shortcutKeyCombo'>>);
|
|
25
25
|
}
|
|
26
26
|
type SelectProps<OptionValue, IsMulti extends boolean> = ReactSelectProps<SelectPickerOptionType<OptionValue>, IsMulti, GroupBase<SelectPickerOptionType<OptionValue>>>;
|
|
27
|
-
export declare enum SelectPickerVariantType {
|
|
28
|
-
DEFAULT = "default",
|
|
29
|
-
BORDER_LESS = "border-less"
|
|
30
|
-
}
|
|
31
27
|
declare module 'react-select/base' {
|
|
32
28
|
interface Props<Option, IsMulti extends boolean, Group extends GroupBase<Option>> {
|
|
33
29
|
/**
|
|
@@ -59,9 +55,12 @@ declare module 'react-select/base' {
|
|
|
59
55
|
* @default 'true'
|
|
60
56
|
*/
|
|
61
57
|
showSelectedOptionIcon?: boolean;
|
|
62
|
-
variant?: SelectPickerVariantType;
|
|
63
58
|
}
|
|
64
59
|
}
|
|
60
|
+
export declare enum SelectPickerVariantType {
|
|
61
|
+
DEFAULT = "default",
|
|
62
|
+
BORDER_LESS = "border-less"
|
|
63
|
+
}
|
|
65
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'>> & {
|
|
66
65
|
/**
|
|
67
66
|
* Error message for the select
|
package/dist/Shared/types.d.ts
CHANGED
|
@@ -85,6 +85,7 @@ export declare enum Nodes {
|
|
|
85
85
|
PodDisruptionBudget = "PodDisruptionBudget",
|
|
86
86
|
Event = "Event",
|
|
87
87
|
Namespace = "Namespace",
|
|
88
|
+
Node = "Node",
|
|
88
89
|
Overview = "Overview",
|
|
89
90
|
MonitoringDashboard = "MonitoringDashboard",
|
|
90
91
|
UpgradeCluster = "UpgradeCluster"
|
|
@@ -453,7 +454,8 @@ export declare enum AggregationKeys {
|
|
|
453
454
|
'Custom Resource' = "Custom Resource",
|
|
454
455
|
'Other Resources' = "Other Resources",
|
|
455
456
|
Events = "Events",
|
|
456
|
-
Namespaces = "Namespaces"
|
|
457
|
+
Namespaces = "Namespaces",
|
|
458
|
+
'Nodes' = "Nodes"
|
|
457
459
|
}
|
|
458
460
|
export type AggregationKeysType = keyof typeof AggregationKeys;
|
|
459
461
|
export declare enum GitOpsAuthModeType {
|