@devtron-labs/devtron-fe-common-lib 1.20.2-alpha-1 → 1.20.2-alpha-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-Djl-GbX9.js → @code-editor-Cb0brOh2.js} +4524 -4536
- package/dist/{@common-rjsf-C8EXLkP0.js → @common-rjsf-1wi-E5u1.js} +1 -1
- package/dist/Common/API/CoreAPI.d.ts +1 -0
- package/dist/Common/API/index.d.ts +1 -1
- package/dist/Common/Constants.d.ts +1 -1
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/index.d.ts +1 -1
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/index.d.ts +0 -1
- package/dist/Shared/Components/ConfirmationModal/ForceDeleteConfirmationModal.d.ts +1 -1
- package/dist/Shared/Components/ConfirmationModal/types.d.ts +1 -1
- package/dist/Shared/Components/Icon/Icon.d.ts +3 -1
- package/dist/assets/{ic-bg-build.7de825b3.svg → ic-bg-build.8609d0ea.svg} +1 -1
- package/dist/assets/{ic-bg-production-pipelines.5965401c.svg → ic-bg-production-pipelines.2951cdc0.svg} +3 -2
- package/dist/assets/ic-bg-webhook.b455152d.svg +13 -0
- package/dist/assets/ic-edit-lines.57927b07.svg +3 -0
- package/dist/assets/{ic-graph-negative.d49ba2b7.svg → ic-priority-medium-fill.7bab0ff8.svg} +2 -2
- package/dist/index.js +998 -1017
- package/package.json +1 -1
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/PageHeader/PageHeader.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/PageHeader/constants.d.ts +0 -2
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/PageHeader/index.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/PageHeader/types.d.ts +0 -12
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/PageHeader/utils.d.ts +0 -2
- /package/dist/Pages-Devtron-2.0/{InfrastructureManagement → ApplicationManagement}/Shared/ApplicationManagementIcon/ApplicationManagementIcon.d.ts +0 -0
- /package/dist/Pages-Devtron-2.0/{InfrastructureManagement → ApplicationManagement}/Shared/ApplicationManagementIcon/index.d.ts +0 -0
- /package/dist/Pages-Devtron-2.0/{InfrastructureManagement → ApplicationManagement}/Shared/ApplicationManagementIcon/utils.d.ts +0 -0
@@ -1,7 +1,7 @@
|
|
1
1
|
import { j as n, aI as v, aK as W, aJ as K } from "./@vendor-DMIFbFhR.js";
|
2
2
|
import V, { useState as q, useEffect as Y, forwardRef as G, useMemo as E } from "react";
|
3
3
|
import z, { getDefaultRegistry as Q } from "@rjsf/core";
|
4
|
-
import { T as O, j as F, c as S, b as N, S as X, i as Z, g as ee, a as te, d as I, e as ne } from "./@code-editor-
|
4
|
+
import { T as O, j as F, c as S, b as N, S as X, i as Z, g as ee, a as te, d as I, e as ne } from "./@code-editor-Cb0brOh2.js";
|
5
5
|
import { getUiOptions as B, getTemplate as $, getSubmitButtonOptions as re, ADDITIONAL_PROPERTY_FLAG as L, errorId as se, englishStringTranslator as ae, TranslatableString as oe, titleId as le, canExpand as ie, deepEquals as ce } from "@rjsf/utils";
|
6
6
|
import { ReactComponent as de } from "./assets/ic-add.cfaa779b.svg";
|
7
7
|
import { ReactComponent as ue } from "./assets/ic-warning.ecf7ff97.svg";
|
@@ -24,5 +24,6 @@ declare class CoreAPI {
|
|
24
24
|
patch: <T = any, K = object>(url: string, data: K, options?: APIOptions) => Promise<ResponseType<T>>;
|
25
25
|
get: <T = any>(url: string, options?: APIOptions) => Promise<ResponseType<T>>;
|
26
26
|
trash: <T = any, K = object>(url: string, data?: K, options?: APIOptions) => Promise<ResponseType<T>>;
|
27
|
+
setGlobalAPITimeout: (timeout: number) => void;
|
27
28
|
}
|
28
29
|
export default CoreAPI;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const post: <T = any, K = object>(url: string, data: K, options?: import('..').APIOptions, isMultipartRequest?: boolean) => Promise<import('..').ResponseType<T>>, put: <T = any, K = object>(url: string, data: K, options?: import('..').APIOptions) => Promise<import('..').ResponseType<T>>, patch: <T = any, K = object>(url: string, data: K, options?: import('..').APIOptions) => Promise<import('..').ResponseType<T>>, get: <T = any>(url: string, options?: import('..').APIOptions) => Promise<import('..').ResponseType<T>>, trash: <T = any, K = object>(url: string, data?: K, options?: import('..').APIOptions) => Promise<import('..').ResponseType<T
|
1
|
+
export declare const post: <T = any, K = object>(url: string, data: K, options?: import('..').APIOptions, isMultipartRequest?: boolean) => Promise<import('..').ResponseType<T>>, put: <T = any, K = object>(url: string, data: K, options?: import('..').APIOptions) => Promise<import('..').ResponseType<T>>, patch: <T = any, K = object>(url: string, data: K, options?: import('..').APIOptions) => Promise<import('..').ResponseType<T>>, get: <T = any>(url: string, options?: import('..').APIOptions) => Promise<import('..').ResponseType<T>>, trash: <T = any, K = object>(url: string, data?: K, options?: import('..').APIOptions) => Promise<import('..').ResponseType<T>>, setGlobalAPITimeout: (timeout: number) => void;
|
2
2
|
export { default as CoreAPI } from './CoreAPI';
|
3
3
|
export { QueryClientProvider } from './QueryClientProvider';
|
4
4
|
export * from './reactQueryHooks';
|
@@ -62,7 +62,6 @@ export declare const URLS: {
|
|
62
62
|
readonly APPLICATION_MANAGEMENT_PROJECTS: "/application-management/projects";
|
63
63
|
readonly APPLICATION_MANAGEMENT_CONFIGURATIONS: "/application-management/configurations";
|
64
64
|
readonly APPLICATION_MANAGEMENT_CONFIGURATIONS_DEPLOYMENT_CHARTS: "/application-management/configurations/deployment-charts";
|
65
|
-
readonly APPLICATION_MANAGEMENT_CONFIGURATIONS_CATALOG_FRAMEWORK: "/application-management/configurations/catalog-framework";
|
66
65
|
readonly APPLICATION_MANAGEMENT_CONFIGURATIONS_SCOPED_VARIABLES: "/application-management/configurations/scoped-variables";
|
67
66
|
readonly APPLICATION_MANAGEMENT_CONFIGURATIONS_BUILD_INFRA: "/application-management/configurations/build-infra";
|
68
67
|
readonly APPLICATION_MANAGEMENT_CONFIGURATIONS_NOTIFICATIONS: "/application-management/configurations/notifications";
|
@@ -354,6 +353,7 @@ export declare const DATE_TIME_FORMATS: {
|
|
354
353
|
DD_MMM_YYYY_HH_MM: string;
|
355
354
|
DD_MMM_YYYY: string;
|
356
355
|
'DD/MM/YYYY': string;
|
356
|
+
DD_MMM: string;
|
357
357
|
};
|
358
358
|
export declare const SEMANTIC_VERSION_DOCUMENTATION_LINK = "https://semver.org/";
|
359
359
|
export declare const VULNERABILITIES_SORT_PRIORITY: {
|
@@ -1 +1 @@
|
|
1
|
-
export * from './
|
1
|
+
export * from './ApplicationManagementIcon';
|
@@ -1,2 +1,2 @@
|
|
1
1
|
import { ForceDeleteConfirmationProps } from './types';
|
2
|
-
export declare const ForceDeleteConfirmationModal: ({ title, subtitle, onDelete, closeConfirmationModal, }: ForceDeleteConfirmationProps) => JSX.Element;
|
2
|
+
export declare const ForceDeleteConfirmationModal: ({ title, subtitle, onDelete, closeConfirmationModal, isDeleting, }: ForceDeleteConfirmationProps) => JSX.Element;
|
@@ -135,7 +135,7 @@ export interface CannotDeleteModalProps extends Partial<Pick<DeleteConfirmationM
|
|
135
135
|
* This interface extends selected properties from `DeleteConfirmationModalProps`
|
136
136
|
* and `ConfirmationModalProps` to configure the force delete confirmation modal.
|
137
137
|
*/
|
138
|
-
export interface ForceDeleteConfirmationProps extends Partial<Pick<DeleteConfirmationModalProps, 'onDelete' | 'closeConfirmationModal'>>, Partial<Pick<ConfirmationModalProps, 'title' | 'subtitle'>> {
|
138
|
+
export interface ForceDeleteConfirmationProps extends Partial<Pick<DeleteConfirmationModalProps, 'onDelete' | 'closeConfirmationModal' | 'isDeleting'>>, Partial<Pick<ConfirmationModalProps, 'title' | 'subtitle'>> {
|
139
139
|
}
|
140
140
|
export interface ConfirmationModalContextType {
|
141
141
|
settersRef: MutableRefObject<{
|
@@ -27,6 +27,7 @@ export declare const iconMap: {
|
|
27
27
|
'ic-bg-production-pipelines': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
28
28
|
'ic-bg-project': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
29
29
|
'ic-bg-scan': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
30
|
+
'ic-bg-webhook': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
30
31
|
'ic-bharatpe': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
31
32
|
'ic-bitbucket': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
32
33
|
'ic-book-open': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -91,6 +92,7 @@ export declare const iconMap: {
|
|
91
92
|
'ic-dockerhub': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
92
93
|
'ic-download': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
93
94
|
'ic-ecr': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
95
|
+
'ic-edit-lines': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
94
96
|
'ic-edit': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
95
97
|
'ic-email': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
96
98
|
'ic-enterprise-feat': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -131,7 +133,6 @@ export declare const iconMap: {
|
|
131
133
|
'ic-google-container-registry': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
132
134
|
'ic-google-gke': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
133
135
|
'ic-google': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
134
|
-
'ic-graph-negative': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
135
136
|
'ic-grid-view': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
136
137
|
'ic-group-filter-applied': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
137
138
|
'ic-group-filter': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -201,6 +202,7 @@ export declare const iconMap: {
|
|
201
202
|
'ic-pause-circle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
202
203
|
'ic-pencil': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
203
204
|
'ic-play-outline': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
205
|
+
'ic-priority-medium-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
204
206
|
'ic-quay': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
205
207
|
'ic-quote': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
206
208
|
'ic-ratings': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
2
2
|
<g clip-path="url(#a)">
|
3
|
-
<rect width="24" height="24" fill="
|
3
|
+
<rect width="24" height="24" fill="var(--O100)" rx="6"/>
|
4
4
|
<path fill="#8898A6" fill-rule="evenodd" d="M17.396 6.271 15.98 7.67a.452.452 0 0 0 0 .643l1.052 1.04c.18.177.47.177.65 0l1.416-1.4a.18.18 0 0 1 .298.08c.268.98.014 2.07-.764 2.838a2.986 2.986 0 0 1-3.13.672l-6.125 6.62a1.646 1.646 0 0 1-2.362.052 1.603 1.603 0 0 1 .06-2.343l6.713-5.984a2.902 2.902 0 0 1 .656-3.156 2.986 2.986 0 0 1 2.871-.755.175.175 0 0 1 .08.294Zm-9.679 10.79c0 .267.22.484.49.484s.49-.217.49-.485a.487.487 0 0 0-.49-.483c-.27 0-.49.216-.49.483Z" clip-rule="evenodd"/>
|
5
5
|
<path fill="#F4910D" fill-rule="evenodd" d="m8.355 10.166 1.679-1.659 8.104 8.011c.32.316.32.829 0 1.145l-.52.514a.826.826 0 0 1-1.158 0l-8.105-8.011Z" clip-rule="evenodd"/>
|
6
6
|
<path fill="#66757F" fill-rule="evenodd" d="m7.1 11.927.47-.465.044-.31a.485.485 0 0 1 .654-.38l2.098-2.074-.083-.655a1.49 1.49 0 0 1 .432-1.246 1.8 1.8 0 0 1 1.266-.518h.833c-1.312-1.296-2.55-1.368-3.716-.216L6.212 8.916a.826.826 0 0 1-.627.236L5.21 9.13l-.47.464a.803.803 0 0 0 0 1.145l1.201 1.188a.826.826 0 0 0 1.158 0Z" clip-rule="evenodd"/>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<rect width="24" height="24" fill="#E9FBF4" rx="6"/>
|
4
4
|
<path fill="#FF6B6B" d="M7.273 13.64c-1.055.055-2.858.653-2.684 1.903.44 3.172-3.027 4.19 1.588 4.19 2.321 0 3.785-1.018 4.006-3.155l-.627-2.423-2.283-.515Z"/>
|
5
5
|
<path fill="#FFC266" d="M8.103 14.479c-.49.025-1.327.303-1.247.884.205 1.473-1.406 1.946.738 1.946 1.078 0 1.759-.473 1.861-1.466l-.237-1.197-1.115-.168Z"/>
|
6
|
-
<path fill="#
|
6
|
+
<path fill="#C73232" d="M9.162 16.672c-.627 1.14-1.87 1.69-3.576 1.69-.668 0-1.167-.021-1.532-.067-.493 1.05-.733 1.44 2.123 1.44 2.321 0 3.785-1.019 4.006-3.156l-.527-.532-.18-.182a3.64 3.64 0 0 1-.052.182 1.569 1.569 0 0 1-.262.625Z"/>
|
7
7
|
<path fill="#FFB549" d="M8.964 15.349c-.23.712-.859 1.053-1.776 1.053a8.38 8.38 0 0 1-.47-.01c-.27.676-.657.918.876.918.715 0 1.255-.208 1.568-.638.125-.173.214-.38.262-.625a1.87 1.87 0 0 0 .031-.203l-.49-.495Z"/>
|
8
8
|
<path fill="#B6E9D3" d="m8.55 11.901-1.377.808c-.276.162-.23.597-.01.82l.11.11.83.84 1.352 1.364.728.735.38.383c.22.222.651.268.812-.01l.8-1.39-.905-3.519-2.72-.14Zm11.148-8.108c-.662-.122-1.867.006-3.335.508l.66 2.45 2.683.916c.5-1.491.625-2.713.498-3.376-.073-.387-.12-.426-.506-.498Z"/>
|
9
9
|
<path fill="#1DAD70" d="M12.14 6.521c-1.838-.67-3.26-.364-4.703.954-.67.65-1.783 1.504-.863 2.432l1.143 1.154 3.286-1.675L12.14 6.52Zm5.365 5.416-3.09 1.289-1.408 3.175 1.143 1.155c.92.928 1.766-.196 2.41-.871.667-.745 1.855-2.163.945-4.748Z"/>
|
@@ -11,7 +11,8 @@
|
|
11
11
|
<path fill="#7ACCAA" d="M19.49 3.765c.065.695-.08 1.815-.528 3.152l.744.75c.5-1.491.624-2.713.498-3.376-.073-.387-.12-.427-.506-.498a2.132 2.132 0 0 0-.208-.028Z"/>
|
12
12
|
<path fill="#D0D4D9" d="M18.7 7.634a16.87 16.87 0 0 1-1.94 3.553 18.227 18.227 0 0 1-1.27 1.59 18.82 18.82 0 0 1-1.566 1.559c-.511.452-1.064.893-1.66 1.315l.516.522.227.229a18.857 18.857 0 0 0 4.497-4.465 16.884 16.884 0 0 0 1.942-3.553c.096-.244.183-.484.26-.717l-.744-.75a13.42 13.42 0 0 1-.261.717Z"/>
|
13
13
|
<path fill="#7ACCAA" d="m11.268 14.646-.799 1.39c-.16.279-.592.233-.813.01l.527.533.38.383c.22.222.651.268.812-.01l.8-1.39-.907-.915Z"/>
|
14
|
-
<path fill="#168859" d="M17.504 11.937c-.151.213-.31.427-.476.64.215 1.812-.691 2.887-1.243 3.502-.529.554-1.192 1.41-1.922 1.187l.287.29c.92.928 1.766-.196 2.41-.871.667-.745 1.855-2.163.944-4.748ZM10.975 6.22A18.879 18.879 0 0 0 7 10.338l.718.725a18.877 18.877 0 0 1 4.422-4.54 5.755 5.755 0 0 0-1.164-.
|
14
|
+
<path fill="#168859" d="M17.504 11.937c-.151.213-.31.427-.476.64.215 1.812-.691 2.887-1.243 3.502-.529.554-1.192 1.41-1.922 1.187l.287.29c.92.928 1.766-.196 2.41-.871.667-.745 1.855-2.163.944-4.748ZM10.975 6.22A18.879 18.879 0 0 0 7 10.338l.718.725a18.877 18.877 0 0 1 4.422-4.54 5.755 5.755 0 0 0-1.164-.301Z"/>
|
15
|
+
<path fill="#95D199" d="m11.822 12.615-1.282 1.294h-.002l-.176-.177-.177-.179 1.281-1.292a.25.25 0 1 1 .356.354Z"/>
|
15
16
|
</g>
|
16
17
|
<defs>
|
17
18
|
<clipPath id="a">
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
2
|
+
<g clip-path="url(#a)">
|
3
|
+
<rect width="24" height="24" fill="#EDF1F5" rx="6"/>
|
4
|
+
<path fill="#3B444C" fill-rule="evenodd" d="M12 6.273a1.636 1.636 0 0 1 1.43 2.433l2.115 3.529.053-.02a4.08 4.08 0 0 1 1.086-.208L16.91 12a4.09 4.09 0 1 1-2.782 7.09.818.818 0 0 1 1.113-1.2 2.454 2.454 0 1 0 .404-3.904.818.818 0 0 1-1.07-.2l-.054-.08-2.494-4.162-.026.001c-.863 0-1.57-.667-1.632-1.514l-.004-.122c0-.904.732-1.637 1.636-1.637Z" clip-rule="evenodd"/>
|
5
|
+
<path fill="#EB456D" d="M12 3.818a4.09 4.09 0 0 1 4.09 4.091.818.818 0 0 1-1.63.096l-.005-.096a2.455 2.455 0 1 0-3.584 2.18.818.818 0 0 1 .31 1.17l-2.634 4.085a1.636 1.636 0 1 1-1.376-.887l2.201-3.413-.03-.024A4.087 4.087 0 0 1 7.914 8.1l-.005-.192A4.09 4.09 0 0 1 12 3.82Z"/>
|
6
|
+
<path fill="#3B444C" fill-rule="evenodd" d="M6.746 12.734a.818.818 0 0 1-.491 1.048 2.456 2.456 0 1 0 3.286 2.453l.004-.144c0-.42.316-.766.723-.813l.096-.005h5.128a1.636 1.636 0 1 1 0 1.636h-4.394l-.008.048a4.093 4.093 0 0 1-3.822 3.22l-.177.005a4.09 4.09 0 0 1-1.393-7.938.818.818 0 0 1 1.048.49Z" clip-rule="evenodd"/>
|
7
|
+
</g>
|
8
|
+
<defs>
|
9
|
+
<clipPath id="a">
|
10
|
+
<path fill="#fff" d="M0 0h24v24H0z"/>
|
11
|
+
</clipPath>
|
12
|
+
</defs>
|
13
|
+
</svg>
|
@@ -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-linejoin="round" stroke-width="1.5" d="M3 15h6m7-1.5 2.834 2.765M3 9h10M3 3h17.5M3 21h3.938m7.161 0h-2.656a.442.442 0 0 1-.443-.443v-2.473a.444.444 0 0 1 .13-.313l6.641-6.641a.443.443 0 0 1 .626 0l2.473 2.473a.443.443 0 0 1 0 .626L14.1 21Z" vector-effect="non-scaling-stroke"/>
|
3
|
+
</svg>
|
@@ -1,4 +1,4 @@
|
|
1
1
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
2
|
-
<path fill="#
|
3
|
-
<path fill="#
|
2
|
+
<path fill="#3B444C" d="M5.25 12h-1.5a1.5 1.5 0 0 0-1.5 1.5v6a1.5 1.5 0 0 0 1.5 1.5h1.5a1.5 1.5 0 0 0 1.5-1.5v-6a1.5 1.5 0 0 0-1.5-1.5Zm7.5-4.5h-1.5A1.5 1.5 0 0 0 9.75 9v10.5a1.5 1.5 0 0 0 1.5 1.5h1.5a1.5 1.5 0 0 0 1.5-1.5V9a1.5 1.5 0 0 0-1.5-1.5Z"/>
|
3
|
+
<path fill="#3B444C" d="M20.25 3h-1.5a1.5 1.5 0 0 0-1.5 1.5v15a1.5 1.5 0 0 0 1.5 1.5h1.5a1.5 1.5 0 0 0 1.5-1.5v-15a1.5 1.5 0 0 0-1.5-1.5Z" opacity=".4"/>
|
4
4
|
</svg>
|