@devtron-labs/devtron-fe-common-lib 0.0.91-beta-7 → 0.0.92-beta-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/Common/RJSF/common/FieldRow.d.ts +1 -4
- package/dist/Common/RJSF/common/types.d.ts +1 -1
- package/dist/Common/RJSF/constants.d.ts +4 -1
- package/dist/Common/RJSF/templates/ButtonTemplates/AddButton.d.ts +1 -1
- package/dist/Common/RJSF/templates/TitleField.d.ts +1 -1
- package/dist/Common/RJSF/templates/index.d.ts +0 -1
- package/dist/Common/RJSF/utils.d.ts +3 -1
- package/dist/Common/SortableTableHeaderCell/SortableTableHeaderCell.d.ts +1 -1
- package/dist/Common/SortableTableHeaderCell/types.d.ts +0 -5
- package/dist/Pages/GlobalConfigurations/BuildInfra/utils.d.ts +0 -2
- package/dist/Shared/Components/ReactSelect/utils.d.ts +0 -4
- package/dist/Shared/Components/index.d.ts +0 -1
- package/dist/Shared/index.d.ts +0 -1
- package/dist/Shared/types.d.ts +4 -46
- package/dist/assets/index.css +1 -1
- package/dist/{cssMode-10711ca4.js → cssMode-c12fc82c.js} +1 -1
- package/dist/{freemarker2-3c28550c.js → freemarker2-13bcce02.js} +1 -1
- package/dist/{handlebars-fc9c420f.js → handlebars-9d5b4ddd.js} +1 -1
- package/dist/{html-60370346.js → html-a33e70ef.js} +1 -1
- package/dist/{htmlMode-efbf16cc.js → htmlMode-dccacf10.js} +1 -1
- package/dist/{index-3b564bac.js → index-ddb64f30.js} +16385 -16449
- package/dist/index.js +401 -403
- package/dist/{javascript-78808417.js → javascript-aaaf29e8.js} +1 -1
- package/dist/{jsonMode-900328af.js → jsonMode-da2c663f.js} +1 -1
- package/dist/{liquid-f1a7cb7a.js → liquid-c0e3c2ae.js} +1 -1
- package/dist/{mdx-1e65c26b.js → mdx-85529d5b.js} +1 -1
- package/dist/{python-5b4a2603.js → python-c77c170d.js} +1 -1
- package/dist/{razor-9ad07b04.js → razor-ca39ff37.js} +1 -1
- package/dist/{tsMode-2484b2ad.js → tsMode-139e075c.js} +1 -1
- package/dist/{typescript-f3fd327c.js → typescript-cab8c9fe.js} +1 -1
- package/dist/{xml-34b27f33.js → xml-8627e817.js} +1 -1
- package/dist/{yaml-ce48b3d4.js → yaml-71329abe.js} +1 -1
- package/package.json +1 -1
- package/dist/Common/RJSF/templates/Description.d.ts +0 -3
- package/dist/Shared/API/APIQueuing.d.ts +0 -11
- package/dist/Shared/API/index.d.ts +0 -1
- package/dist/Shared/Components/EnvironmentSelector/EnvironmentSelector.component.d.ts +0 -4
- package/dist/Shared/Components/EnvironmentSelector/constants.d.ts +0 -5
- package/dist/Shared/Components/EnvironmentSelector/index.d.ts +0 -1
- package/dist/Shared/Components/EnvironmentSelector/service.d.ts +0 -3
- package/dist/Shared/Components/EnvironmentSelector/types.d.ts +0 -27
- package/dist/Shared/Components/EnvironmentSelector/utils.d.ts +0 -6
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { DO_NOT_SHOW_LABEL } from '../constants';
|
|
2
1
|
import { FieldRowProps } from './types';
|
|
3
2
|
|
|
4
|
-
export declare const FieldRowWithLabel: ({ showLabel, label, required, children, id, shouldAlignCenter, }:
|
|
5
|
-
label: FieldRowProps['label'] | typeof DO_NOT_SHOW_LABEL;
|
|
6
|
-
}) => JSX.Element;
|
|
3
|
+
export declare const FieldRowWithLabel: ({ showLabel, label, required, children, id, rawDescription, shouldAlignCenter, }: FieldRowProps) => JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FieldTemplateProps } from '@rjsf/utils';
|
|
2
2
|
|
|
3
|
-
export interface FieldRowProps extends Pick<FieldTemplateProps, 'children' | 'label' | 'required' | 'id'> {
|
|
3
|
+
export interface FieldRowProps extends Pick<FieldTemplateProps, 'children' | 'label' | 'required' | 'id' | 'rawDescription'> {
|
|
4
4
|
showLabel?: boolean;
|
|
5
5
|
/**
|
|
6
6
|
* @default true
|
|
@@ -4,4 +4,7 @@ export declare const PLACEHOLDERS: {
|
|
|
4
4
|
OBJECT_KEY: string;
|
|
5
5
|
};
|
|
6
6
|
export declare const DEFAULT_FIELD_TITLE = "Key not available";
|
|
7
|
-
export declare const
|
|
7
|
+
export declare const ADD_BUTTON_WIDTH: {
|
|
8
|
+
MAX_WIDTH_VALUE: number;
|
|
9
|
+
MAX_WIDTH_CLASSNAME: string;
|
|
10
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IconButtonProps } from '@rjsf/utils';
|
|
2
2
|
|
|
3
|
-
export declare const AddButton: ({ icon, iconType, registry, uiSchema, ...props }: IconButtonProps) => JSX.Element;
|
|
3
|
+
export declare const AddButton: ({ label, icon, iconType, registry, uiSchema, ...props }: IconButtonProps & Partial<Record<'label', string>>) => JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { TitleFieldProps } from '@rjsf/utils';
|
|
2
2
|
|
|
3
|
-
export declare const TitleField: ({ id, title, required }: TitleFieldProps) => JSX.Element;
|
|
3
|
+
export declare const TitleField: ({ id, title, required, description }: TitleFieldProps & Partial<Record<'description', string>>) => JSX.Element;
|
|
@@ -2,7 +2,6 @@ export { ArrayFieldTemplate } from './ArrayFieldTemplate';
|
|
|
2
2
|
export { ArrayFieldItemTemplate } from './ArrayFieldItemTemplate';
|
|
3
3
|
export { BaseInput as BaseInputTemplate } from './BaseInput';
|
|
4
4
|
export * from './ButtonTemplates';
|
|
5
|
-
export { Description as DescriptionFieldTemplate } from './Description';
|
|
6
5
|
export { Field as FieldTemplate } from './Field';
|
|
7
6
|
export { FieldErrorTemplate } from './FieldErrorTemplate';
|
|
8
7
|
export { ObjectFieldTemplate } from './ObjectFieldTemplate';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { default as Tippy } from '@tippyjs/react';
|
|
1
2
|
import { TranslatableString } from '@rjsf/utils';
|
|
2
3
|
|
|
3
4
|
/**
|
|
@@ -12,7 +13,7 @@ export declare const getCommonSelectStyle: (styleOverrides?: {}) => {
|
|
|
12
13
|
valueContainer: (base: any, state: any) => any;
|
|
13
14
|
loadingMessage: (base: any) => any;
|
|
14
15
|
noOptionsMessage: (base: any) => any;
|
|
15
|
-
multiValue: (base: any
|
|
16
|
+
multiValue: (base: any) => any;
|
|
16
17
|
};
|
|
17
18
|
/**
|
|
18
19
|
* Returns the redirection props for a url
|
|
@@ -24,3 +25,4 @@ export declare const getRedirectionProps: (url: string) => import('react').Ancho
|
|
|
24
25
|
* Infers the type for json schema from value type
|
|
25
26
|
*/
|
|
26
27
|
export declare const getInferredTypeFromValueType: (value: any) => "string" | "number" | "boolean" | "object" | "array" | "null";
|
|
28
|
+
export declare const getTippyWrapperWithContent: (content: any, placement?: React.ComponentProps<typeof Tippy>['placement']) => (children: any) => JSX.Element;
|
|
@@ -14,5 +14,5 @@ import { SortableTableHeaderCellProps } from './types';
|
|
|
14
14
|
* />
|
|
15
15
|
* ```
|
|
16
16
|
*/
|
|
17
|
-
declare const SortableTableHeaderCell: ({ isSorted, triggerSorting, sortOrder, title, disabled,
|
|
17
|
+
declare const SortableTableHeaderCell: ({ isSorted, triggerSorting, sortOrder, title, disabled, }: SortableTableHeaderCellProps) => JSX.Element;
|
|
18
18
|
export default SortableTableHeaderCell;
|
|
@@ -8,8 +8,6 @@ export declare const getCommonSelectStyle: (styleOverrides?: {}) => {
|
|
|
8
8
|
loadingMessage: (base: any) => any;
|
|
9
9
|
noOptionsMessage: (base: any) => any;
|
|
10
10
|
placeholder: (base: any) => any;
|
|
11
|
-
group: (base: any) => any;
|
|
12
|
-
groupHeading: (base: any) => any;
|
|
13
11
|
};
|
|
14
12
|
export declare const getCustomOptionSelectionStyle: (styleOverrides?: {}) => (base: any, state: any) => any;
|
|
15
13
|
export declare const SelectOption: (props: any) => JSX.Element;
|
|
@@ -25,6 +23,4 @@ export declare const commonSelectStyles: {
|
|
|
25
23
|
loadingMessage: (base: any) => any;
|
|
26
24
|
noOptionsMessage: (base: any) => any;
|
|
27
25
|
placeholder: (base: any) => any;
|
|
28
|
-
group: (base: any) => any;
|
|
29
|
-
groupHeading: (base: any) => any;
|
|
30
26
|
};
|
|
@@ -17,7 +17,6 @@ export * from './Header';
|
|
|
17
17
|
export * from './AnnouncementBanner';
|
|
18
18
|
export * from './ButtonWithLoader';
|
|
19
19
|
export * from './ButtonWithSelector';
|
|
20
|
-
export * from './EnvironmentSelector';
|
|
21
20
|
export * from './ModalSidebarPanel';
|
|
22
21
|
export * from './ImageWithFallback';
|
|
23
22
|
export * from './FeatureDescription';
|
package/dist/Shared/index.d.ts
CHANGED
package/dist/Shared/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EnvironmentTypeEnum, PatchOperationType } from './constants';
|
|
2
|
-
import { OptionType, CommonNodeAttr, ResponseType, UserApprovalConfigType, VulnerabilityType, DeploymentAppTypes
|
|
2
|
+
import { OptionType, CommonNodeAttr, ResponseType, UserApprovalConfigType, VulnerabilityType, DeploymentAppTypes } from '../Common';
|
|
3
3
|
|
|
4
4
|
export declare enum EnvType {
|
|
5
5
|
CHART = "helm_charts",
|
|
@@ -418,35 +418,6 @@ export declare enum AggregationKeys {
|
|
|
418
418
|
Namespaces = "Namespaces"
|
|
419
419
|
}
|
|
420
420
|
export type AggregationKeysType = keyof typeof AggregationKeys;
|
|
421
|
-
export interface AppInfoListType {
|
|
422
|
-
application: string;
|
|
423
|
-
appStatus: string;
|
|
424
|
-
deploymentStatus: string;
|
|
425
|
-
lastDeployed: string;
|
|
426
|
-
lastDeployedImage?: string;
|
|
427
|
-
lastDeployedBy?: string;
|
|
428
|
-
appId: number;
|
|
429
|
-
envId: number;
|
|
430
|
-
pipelineId?: number;
|
|
431
|
-
commits?: string[];
|
|
432
|
-
ciArtifactId?: number;
|
|
433
|
-
}
|
|
434
|
-
export interface EnvListMinDTO {
|
|
435
|
-
id: number;
|
|
436
|
-
active: boolean;
|
|
437
|
-
allowedDeploymentTypes: DeploymentAppTypes[] | null;
|
|
438
|
-
appCount: number;
|
|
439
|
-
cluster_id: number;
|
|
440
|
-
cluster_name: string;
|
|
441
|
-
default: boolean;
|
|
442
|
-
description: string;
|
|
443
|
-
environmentIdentifier: string;
|
|
444
|
-
environment_name: string;
|
|
445
|
-
isClusterCdActive: boolean;
|
|
446
|
-
isDigestEnforcedForEnv: boolean;
|
|
447
|
-
isVirtualEnvironment: boolean;
|
|
448
|
-
namespace: string;
|
|
449
|
-
}
|
|
450
421
|
export interface EnvironmentType {
|
|
451
422
|
/**
|
|
452
423
|
* Unique identifier for the environment
|
|
@@ -483,24 +454,11 @@ export declare enum DependencyType {
|
|
|
483
454
|
DOWNSTREAM = "downstream",
|
|
484
455
|
LEVEL = "level"
|
|
485
456
|
}
|
|
457
|
+
export interface scrollableInterface {
|
|
458
|
+
autoBottomScroll: boolean;
|
|
459
|
+
}
|
|
486
460
|
export declare enum PromiseAllStatusType {
|
|
487
461
|
FULFILLED = "fulfilled",
|
|
488
462
|
REJECTED = "rejected"
|
|
489
463
|
}
|
|
490
|
-
export type ApiQueuingWithBatchResponseItem<T> = {
|
|
491
|
-
status: PromiseAllStatusType.FULFILLED;
|
|
492
|
-
value: T;
|
|
493
|
-
} | {
|
|
494
|
-
status: PromiseAllStatusType.REJECTED;
|
|
495
|
-
reason: ServerErrors;
|
|
496
|
-
};
|
|
497
|
-
export interface BatchConfigType {
|
|
498
|
-
lastIndex: number;
|
|
499
|
-
results: any[];
|
|
500
|
-
concurrentCount: number;
|
|
501
|
-
completedCalls: number;
|
|
502
|
-
}
|
|
503
|
-
export interface scrollableInterface {
|
|
504
|
-
autoBottomScroll: boolean;
|
|
505
|
-
}
|
|
506
464
|
export {};
|