@devtron-labs/devtron-fe-common-lib 1.22.4 → 1.22.5-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/{@code-editor-D_GmEg50.js → @code-editor-CHdP-tRL.js} +4598 -4524
- package/dist/{@common-rjsf-DJ2WVYIO.js → @common-rjsf-DlabFjrd.js} +2 -2
- package/dist/{@framer-motion-LZK2bgCK.js → @framer-motion-Bi7d_Mil.js} +64 -64
- package/dist/{@react-dates-CbpfVsC0.js → @react-dates-CR-uCH60.js} +1 -1
- package/dist/{@react-select-BuPEYnTv.js → @react-select-C5q5RdNV.js} +1 -1
- package/dist/{@react-virtualized-sticky-tree-DX7VkyTZ.js → @react-virtualized-sticky-tree-LXSXNrbc.js} +1 -1
- package/dist/{@vendor-BsABdDGm.js → @vendor-CtCMPfdc.js} +9266 -9181
- package/dist/Common/API/reactQueryHooks.d.ts +2 -1
- package/dist/Common/Constants.d.ts +3 -0
- package/dist/Pages-Devtron-2.0/Navigation/types.d.ts +1 -1
- package/dist/Shared/Components/AppStatusModal/AppStatusBody.d.ts +1 -1
- package/dist/Shared/Components/AppStatusModal/types.d.ts +4 -1
- package/dist/Shared/Components/Charts/types.d.ts +0 -2
- package/dist/Shared/Components/DocLink/constants.d.ts +0 -1
- package/dist/Shared/Components/GenericModal/GenericModal.component.d.ts +1 -1
- package/dist/Shared/Components/GenericModal/constants.d.ts +2 -1
- package/dist/Shared/Components/GenericModal/types.d.ts +4 -1
- package/dist/Shared/Components/Icon/Icon.d.ts +13 -0
- package/dist/Shared/Components/Illustration/Illustration.d.ts +1 -0
- package/dist/Shared/Providers/MainContextProvider/index.d.ts +1 -1
- package/dist/Shared/Providers/MainContextProvider/types.d.ts +43 -4
- package/dist/Shared/Services/types.d.ts +1 -0
- package/dist/Shared/types.d.ts +1 -1
- package/dist/assets/cmd-bar-visual.340d6226.webp +0 -0
- package/dist/assets/ic-bell.d2aa01ec.svg +3 -0
- package/dist/assets/ic-bulb.3906a732.svg +7 -0
- package/dist/assets/ic-close-circle.b39dd87d.svg +3 -0
- package/dist/assets/ic-comment.cc141b33.svg +3 -0
- package/dist/assets/ic-curved-arrow.3f3ca92c.svg +3 -0
- package/dist/assets/ic-dot-circle.5ce1fccf.svg +3 -0
- package/dist/assets/ic-nav-cursor.691e4db7.svg +10 -0
- package/dist/assets/ic-new-chat.f7c90f8e.svg +5 -0
- package/dist/assets/ic-piggybank.3a4839d7.svg +3 -0
- package/dist/assets/ic-priority-high-fill.53755d8f.svg +3 -0
- package/dist/assets/ic-priority-low-fill.79e781ae.svg +4 -0
- package/dist/assets/ic-priority-urgent-fill.78d42fa0.svg +10 -0
- package/dist/assets/ic-red-bulb.25e01bfc.svg +9 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1005 -1003
- package/package.json +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { QueryKey, UseMutationOptions, UseMutationResult, useQueryClient, UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
|
|
1
|
+
import { QueryKey, UseInfiniteQueryOptions, UseInfiniteQueryResult, UseMutationOptions, UseMutationResult, useQueryClient, UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
|
|
2
2
|
import { ServerErrors } from '../ServerError';
|
|
3
3
|
import { ResponseType } from '../Types';
|
|
4
4
|
export declare const useQuery: <TQueryFnData = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey, WrapWithResponseType extends boolean = true>(options: UseQueryOptions<WrapWithResponseType extends true ? ResponseType<TQueryFnData> : TQueryFnData, ServerErrors, TData, TQueryKey>) => UseQueryResult<TData, ServerErrors>;
|
|
5
5
|
export declare const useMutation: <TData = unknown, TVariables = void, TContext = unknown>(options: UseMutationOptions<ResponseType<TData>, ServerErrors, TVariables, TContext>) => UseMutationResult<ResponseType<TData>, ServerErrors, TVariables, TContext>;
|
|
6
|
+
export declare const useInfiniteQuery: <TQueryFnData = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey, WrapWithResponseType extends boolean = true>(options: UseInfiniteQueryOptions<WrapWithResponseType extends true ? ResponseType<TQueryFnData> : TQueryFnData, ServerErrors, TData, WrapWithResponseType extends true ? ResponseType<TQueryFnData> : TQueryFnData, TQueryKey>) => UseInfiniteQueryResult<TData, ServerErrors>;
|
|
6
7
|
export { useQueryClient };
|
|
@@ -42,6 +42,8 @@ export declare const URLS: {
|
|
|
42
42
|
readonly APP_DEPLOYMNENT_HISTORY: "deployments";
|
|
43
43
|
readonly APP_DETAILS: "details";
|
|
44
44
|
readonly APP_DETAILS_K8: "k8s-resources";
|
|
45
|
+
readonly EXTERNAL_ARGO_APP: "eaa";
|
|
46
|
+
readonly EXTERNAL_FLUX_APP: "external-flux";
|
|
45
47
|
readonly DETAILS: "/details";
|
|
46
48
|
readonly CD_DETAILS: "cd-details";
|
|
47
49
|
readonly APP_TRIGGER: "trigger";
|
|
@@ -109,6 +111,7 @@ export declare const URLS: {
|
|
|
109
111
|
};
|
|
110
112
|
export declare const ROUTES: {
|
|
111
113
|
readonly APP: "app";
|
|
114
|
+
readonly ATHENA: "athena";
|
|
112
115
|
readonly APP_ARTIFACT_PROMOTE_MATERIAL: "app/artifact/promotion-request/material";
|
|
113
116
|
readonly APP_TEMPLATE_DATA: "app/template/data";
|
|
114
117
|
readonly ENVIRONMENT_CATEGORIES: "env/categories";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { customEnv, Never } from 'src';
|
|
2
2
|
import { IconsProps } from '../../Shared/Components';
|
|
3
|
-
export type NavigationItemID = 'application-management-overview' | 'application-management-devtron-applications' | 'application-management-application-groups' | 'application-management-bulk-edit' | 'application-management-application-templates' | 'application-management-projects' | 'application-management-configurations' | 'application-management-policies' | 'infrastructure-management-overview' | 'infrastructure-management-applications' | 'infrastructure-management-chart-store' | 'infrastructure-management-resource-browser' | 'infrastructure-management-resource-watcher' | 'infrastructure-management-catalog-framework' | 'software-release-management-overview' | 'software-release-management-release-hub' | 'software-release-management-tenants' | 'cost-visibility-overview' | 'cost-visibility-cost-breakdown' | 'cost-visibility-configurations' | 'security-center-overview' | 'security-center-security-vulnerabilities' | 'security-center-security-enablement' | 'security-center-security-policy' | 'automation-and-enablement-jobs' | 'automation-and-enablement-alerting' | 'automation-and-enablement-incident-response' | 'automation-and-enablement-api-portal' | '
|
|
3
|
+
export type NavigationItemID = 'application-management-overview' | 'application-management-devtron-applications' | 'application-management-application-groups' | 'application-management-bulk-edit' | 'application-management-application-templates' | 'application-management-projects' | 'application-management-configurations' | 'application-management-policies' | 'infrastructure-management-overview' | 'infrastructure-management-applications' | 'infrastructure-management-chart-store' | 'infrastructure-management-resource-browser' | 'infrastructure-management-resource-watcher' | 'infrastructure-management-catalog-framework' | 'software-release-management-overview' | 'software-release-management-release-hub' | 'software-release-management-tenants' | 'cost-visibility-overview' | 'cost-visibility-cost-breakdown' | 'cost-visibility-configurations' | 'security-center-overview' | 'security-center-security-vulnerabilities' | 'security-center-security-enablement' | 'security-center-security-policy' | 'automation-and-enablement-jobs' | 'automation-and-enablement-alerting' | 'automation-and-enablement-incident-response' | 'automation-and-enablement-api-portal' | 'global-configuration-sso-login-services' | 'global-configuration-host-urls' | 'global-configuration-external-links' | 'global-configuration-chart-repository' | 'global-configuration-cluster-and-environments' | 'global-configuration-container-oci-registry' | 'global-configuration-authorization' | 'data-protection-overview' | 'data-protection-backup-and-schedule' | 'data-protection-restores' | 'data-protection-backup-repositories' | 'data-protection-backup-locations' | 'data-protection-history-and-logs';
|
|
4
4
|
export type NavigationSubMenuItemID = 'application-management-configurations-gitops' | 'application-management-configurations-git-accounts' | 'application-management-configurations-deployment-charts' | 'application-management-configurations-notifications' | 'application-management-configurations-catalog-frameworks' | 'application-management-configurations-scoped-variables' | 'application-management-configurations-build-infra' | 'application-management-policies-deployment-window' | 'application-management-policies-approval-policy' | 'application-management-policies-plugin-policy' | 'application-management-policies-pull-image-digest' | 'application-management-policies-tag-policy' | 'application-management-policies-filter-conditions' | 'application-management-policies-image-promotion' | 'application-management-policies-lock-deployment-configuration' | 'cost-visibility-cost-breakdown-clusters' | 'cost-visibility-cost-breakdown-environments' | 'cost-visibility-cost-breakdown-projects' | 'cost-visibility-cost-breakdown-applications' | 'global-configuration-authorization-user-permissions' | 'global-configuration-authorization-permission-groups' | 'global-configuration-authorization-api-tokens';
|
|
5
5
|
export type NavigationRootItemID = 'application-management' | 'infrastructure-management' | 'software-release-management' | 'cost-visibility' | 'security-center' | 'automation-and-enablement' | 'data-protection-management' | 'global-configuration';
|
|
6
6
|
export type CommonNavigationItemType = {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { AppStatusBodyProps } from './types';
|
|
2
|
-
export declare const AppStatusBody: ({ appDetails, type, handleShowConfigDriftModal, deploymentStatusDetailsBreakdownData, selectedTab, debugWithAIButton: ExplainWithAIButton, }: AppStatusBodyProps) => JSX.Element;
|
|
2
|
+
export declare const AppStatusBody: ({ appDetails, type, handleShowConfigDriftModal, deploymentStatusDetailsBreakdownData, selectedTab, debugWithAIButton: ExplainWithAIButton, handleClose, }: AppStatusBodyProps) => JSX.Element;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { FunctionComponent, PropsWithChildren, ReactNode } from 'react';
|
|
2
2
|
import { APIOptions, DeploymentAppTypes } from '../../../Common/Types';
|
|
3
|
+
import { MainContext } from '../../Providers';
|
|
3
4
|
import { AppDetails, ConfigDriftModalProps, DeploymentStatusDetailsBreakdownDataType, DeploymentStatusDetailsType, IntelligenceConfig } from '../../types';
|
|
4
5
|
export declare enum AppStatusModalTabType {
|
|
5
6
|
APP_STATUS = "appStatus",
|
|
@@ -13,6 +14,8 @@ export type AppStatusModalProps = {
|
|
|
13
14
|
processVirtualEnvironmentDeploymentData: (data?: DeploymentStatusDetailsType) => DeploymentStatusDetailsBreakdownDataType;
|
|
14
15
|
debugWithAIButton: FunctionComponent<{
|
|
15
16
|
intelligenceConfig: IntelligenceConfig;
|
|
17
|
+
debugAgentContext: MainContext['debugAgentContext'];
|
|
18
|
+
onClick?: () => void;
|
|
16
19
|
}>;
|
|
17
20
|
} & ({
|
|
18
21
|
type: 'release';
|
|
@@ -29,7 +32,7 @@ export type AppStatusModalProps = {
|
|
|
29
32
|
appId?: never;
|
|
30
33
|
envId?: never;
|
|
31
34
|
});
|
|
32
|
-
export interface AppStatusBodyProps extends Required<Pick<AppStatusModalProps, 'appDetails' | 'type' | 'debugWithAIButton'>> {
|
|
35
|
+
export interface AppStatusBodyProps extends Required<Pick<AppStatusModalProps, 'appDetails' | 'type' | 'debugWithAIButton' | 'handleClose'>> {
|
|
33
36
|
handleShowConfigDriftModal: () => void;
|
|
34
37
|
selectedTab: AppStatusModalTabType;
|
|
35
38
|
deploymentStatusDetailsBreakdownData: DeploymentStatusDetailsBreakdownDataType;
|
|
@@ -93,9 +93,7 @@ export type ChartProps = {
|
|
|
93
93
|
placement?: TooltipProps['placement'];
|
|
94
94
|
datasetValueFormatter?: (value: number) => string | number;
|
|
95
95
|
};
|
|
96
|
-
/** A title for x axis */
|
|
97
96
|
xScaleTitle?: string;
|
|
98
|
-
/** A title for y axis */
|
|
99
97
|
yScaleTitle?: string;
|
|
100
98
|
} & TypeAndDatasetsType;
|
|
101
99
|
export type TransformDatasetProps = {
|
|
@@ -104,6 +104,5 @@ export declare const DOCUMENTATION: {
|
|
|
104
104
|
readonly COST_CALCULATION: "docs/user-guide/finops/overview-cost-visibility#how-is-the-cost-calculated";
|
|
105
105
|
readonly COST_VISIBILITY_OVERVIEW: "docs/user-guide/finops/overview-cost-visibility";
|
|
106
106
|
readonly SECURITY_CENTER: "docs/user-guide/security-features";
|
|
107
|
-
readonly AI_RECOMMENDATIONS: "docs/user-guide/ai-recommendations";
|
|
108
107
|
readonly AUTOMATION_AND_ENABLEMENT: "docs/user-guide/automation";
|
|
109
108
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
|
2
2
|
import { GenericModalFooterProps, GenericModalHeaderProps, GenericModalProps } from './types';
|
|
3
3
|
declare const GenericModal: {
|
|
4
|
-
({ name, open, width, borderRadius, onClose, onEscape, closeOnBackdropClick, children, }: PropsWithChildren<GenericModalProps>): JSX.Element;
|
|
4
|
+
({ name, open, width, borderRadius, onClose, onEscape, closeOnBackdropClick, children, avoidFocusTrap, borderVariant, alignCenter, }: PropsWithChildren<GenericModalProps>): JSX.Element;
|
|
5
5
|
Header: ({ title }: GenericModalHeaderProps) => JSX.Element;
|
|
6
6
|
Body: ({ children }: PropsWithChildren<{}>) => JSX.Element;
|
|
7
7
|
Footer: ({ leftSideElement, buttonConfig, children, }: PropsWithChildren<GenericModalFooterProps>) => JSX.Element;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import { GenericModalProps } from './types';
|
|
1
|
+
import { BorderVariantType, GenericModalProps } from './types';
|
|
2
2
|
export declare const MODAL_WIDTH_TO_CLASS_NAME_MAP: Record<GenericModalProps['width'], string>;
|
|
3
|
+
export declare const BORDER_VARIANT_TO_CLASS_NAME_MAP: Record<BorderVariantType, string>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { BackdropProps } from '../Backdrop';
|
|
2
2
|
import { ButtonProps } from '../Button';
|
|
3
|
-
export
|
|
3
|
+
export type BorderVariantType = 'secondary' | 'none' | 'secondary-translucent';
|
|
4
|
+
export interface GenericModalProps extends Partial<Pick<BackdropProps, 'onEscape' | 'avoidFocusTrap'>> {
|
|
4
5
|
/** Unique identifier for the modal */
|
|
5
6
|
name: string;
|
|
6
7
|
/** Controls whether the modal is visible or hidden */
|
|
@@ -18,6 +19,8 @@ export interface GenericModalProps extends Partial<Pick<BackdropProps, 'onEscape
|
|
|
18
19
|
* @default false
|
|
19
20
|
*/
|
|
20
21
|
closeOnBackdropClick?: boolean;
|
|
22
|
+
borderVariant?: BorderVariantType;
|
|
23
|
+
alignCenter?: boolean;
|
|
21
24
|
}
|
|
22
25
|
export interface GenericModalContextType extends Pick<GenericModalProps, 'name' | 'onClose'> {
|
|
23
26
|
}
|
|
@@ -30,6 +30,7 @@ export declare const iconMap: {
|
|
|
30
30
|
'ic-backup-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
31
31
|
'ic-backup-location': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
32
32
|
'ic-backup-schedule-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
33
|
+
'ic-bell': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
33
34
|
'ic-bg-backup-schedule': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
34
35
|
'ic-bg-backups': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
35
36
|
'ic-bg-build': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -56,6 +57,7 @@ export declare const iconMap: {
|
|
|
56
57
|
'ic-bug': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
57
58
|
'ic-build-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
58
59
|
'ic-building': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
60
|
+
'ic-bulb': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
59
61
|
'ic-calendar': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
60
62
|
'ic-cancelled': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
61
63
|
'ic-card-stack': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -79,6 +81,7 @@ export declare const iconMap: {
|
|
|
79
81
|
'ic-clipboard': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
80
82
|
'ic-clock-counterclockwise': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
81
83
|
'ic-clock': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
84
|
+
'ic-close-circle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
82
85
|
'ic-close-large': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
83
86
|
'ic-close-small': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
84
87
|
'ic-cloud-upload': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -88,6 +91,7 @@ export declare const iconMap: {
|
|
|
88
91
|
'ic-code': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
89
92
|
'ic-coins-color-animated': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
90
93
|
'ic-coins': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
94
|
+
'ic-comment': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
91
95
|
'ic-container-registry': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
92
96
|
'ic-container': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
93
97
|
'ic-cookr': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -96,6 +100,7 @@ export declare const iconMap: {
|
|
|
96
100
|
'ic-cpu': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
97
101
|
'ic-crown': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
98
102
|
'ic-cube': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
103
|
+
'ic-curved-arrow': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
99
104
|
'ic-database-backup': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
100
105
|
'ic-delete-dots': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
101
106
|
'ic-delete-lightning': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -115,6 +120,7 @@ export declare const iconMap: {
|
|
|
115
120
|
'ic-disconnect': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
116
121
|
'ic-discord-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
117
122
|
'ic-dockerhub': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
123
|
+
'ic-dot-circle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
118
124
|
'ic-download': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
119
125
|
'ic-ecr': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
120
126
|
'ic-edit-lines': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -217,6 +223,8 @@ export declare const iconMap: {
|
|
|
217
223
|
'ic-monitoring': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
218
224
|
'ic-more-vertical': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
219
225
|
'ic-namespace': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
226
|
+
'ic-nav-cursor': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
227
|
+
'ic-new-chat': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
220
228
|
'ic-new': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
221
229
|
'ic-node-script': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
222
230
|
'ic-oidc': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -234,11 +242,16 @@ export declare const iconMap: {
|
|
|
234
242
|
'ic-pause-circle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
235
243
|
'ic-pause': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
236
244
|
'ic-pencil': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
245
|
+
'ic-piggybank': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
237
246
|
'ic-play-outline': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
247
|
+
'ic-priority-high-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
248
|
+
'ic-priority-low-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
238
249
|
'ic-priority-medium-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
250
|
+
'ic-priority-urgent-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
239
251
|
'ic-quay': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
240
252
|
'ic-quote': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
241
253
|
'ic-ratings': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
254
|
+
'ic-red-bulb': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
242
255
|
'ic-release-hub': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
243
256
|
'ic-resize-handle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
244
257
|
'ic-resource-browser': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -9,6 +9,7 @@ export declare const illustrationMap: {
|
|
|
9
9
|
'img-no-backup-location': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
10
10
|
'img-no-restores': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
11
11
|
'img-page-not-found': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
12
|
+
'cmd-bar-visual': string;
|
|
12
13
|
'create-backup-schedule': string;
|
|
13
14
|
'create-backup-snapshot': string;
|
|
14
15
|
'img-code': string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export * from './MainContextProvider';
|
|
2
2
|
export type { MainContext, ReloadVersionConfigTypes, SidePanelConfig, TempAppWindowConfig } from './types';
|
|
3
|
-
export { SidePanelTab } from './types';
|
|
3
|
+
export { AIAgentContextSourceType, type AIAgentContextType, SidePanelTab } from './types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Dispatch, MutableRefObject, ReactNode, SetStateAction } from 'react';
|
|
1
|
+
import { Dispatch, FunctionComponent, MutableRefObject, ReactNode, SetStateAction } from 'react';
|
|
2
2
|
import { SERVER_MODE } from '../../../Common';
|
|
3
3
|
import { DevtronLicenseInfo, EnvironmentDataValuesDTO, IntelligenceConfig, LicenseInfoDialogType, ToastManager } from '../..';
|
|
4
4
|
import { ServerInfo } from '../../Components/Header/types';
|
|
@@ -22,10 +22,43 @@ export interface SidePanelConfig {
|
|
|
22
22
|
/** URL to documentation that should be displayed in the panel */
|
|
23
23
|
docLink: string | null;
|
|
24
24
|
aiSessionId?: string;
|
|
25
|
+
isExpandedView?: boolean;
|
|
25
26
|
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
export declare enum AIAgentContextSourceType {
|
|
28
|
+
APP_DETAILS = "app-details",
|
|
29
|
+
RESOURCE_BROWSER_CLUSTER = "resource-browser-cluster"
|
|
30
|
+
}
|
|
31
|
+
export type AIAgentAppType = 'devtronApp' | 'devtronHelmChart' | 'externalHelmChart' | 'externalArgoApp' | 'externalFluxApp';
|
|
32
|
+
type AIAgentAppDataMasterType = {
|
|
33
|
+
appId: number | string;
|
|
34
|
+
appName: string;
|
|
35
|
+
envId: number;
|
|
36
|
+
envName: string;
|
|
37
|
+
clusterId: number;
|
|
38
|
+
namespace: string;
|
|
39
|
+
appType: AIAgentAppType;
|
|
40
|
+
fluxAppDeploymentType: string;
|
|
41
|
+
};
|
|
42
|
+
type AIAgentAppDataType<TAppType extends AIAgentAppType, TRequiredFields extends keyof AIAgentAppDataMasterType> = Pick<AIAgentAppDataMasterType, TRequiredFields> & {
|
|
43
|
+
[K in Exclude<keyof AIAgentAppDataMasterType, TRequiredFields | 'appType'>]?: never;
|
|
44
|
+
} & {
|
|
45
|
+
appType: TAppType;
|
|
46
|
+
};
|
|
47
|
+
type CommonContextDataType = Record<string, unknown> & {
|
|
48
|
+
uiMarkup?: string;
|
|
49
|
+
};
|
|
50
|
+
export type AIAgentContextType = {
|
|
51
|
+
source: AIAgentContextSourceType.APP_DETAILS;
|
|
52
|
+
data: AIAgentAppDataType<'devtronApp' | 'devtronHelmChart', 'appId' | 'appName' | 'envId' | 'envName' | 'clusterId'> | AIAgentAppDataType<'externalHelmChart', 'appId' | 'appName' | 'clusterId' | 'namespace'> | AIAgentAppDataType<'externalArgoApp', 'appName' | 'clusterId' | 'namespace'> | (AIAgentAppDataType<'externalFluxApp', 'appName' | 'clusterId' | 'namespace' | 'fluxAppDeploymentType'> & CommonContextDataType);
|
|
53
|
+
} | {
|
|
54
|
+
source: AIAgentContextSourceType.RESOURCE_BROWSER_CLUSTER;
|
|
55
|
+
data: {
|
|
56
|
+
clusterId: number;
|
|
57
|
+
clusterName: string;
|
|
58
|
+
} & CommonContextDataType;
|
|
59
|
+
};
|
|
60
|
+
export type DebugAgentContextType = AIAgentContextType & {
|
|
61
|
+
prompt?: string;
|
|
29
62
|
};
|
|
30
63
|
export interface TempAppWindowConfig {
|
|
31
64
|
/** Whether the temporary window is open */
|
|
@@ -87,6 +120,8 @@ type CommonMainContextProps = {
|
|
|
87
120
|
setLicenseData: Dispatch<SetStateAction<DevtronLicenseInfo>>;
|
|
88
121
|
canFetchHelmAppStatus: boolean;
|
|
89
122
|
setIntelligenceConfig: Dispatch<SetStateAction<IntelligenceConfig>>;
|
|
123
|
+
debugAgentContext: DebugAgentContextType | null;
|
|
124
|
+
setDebugAgentContext: (aiAgentContext: DebugAgentContextType | null) => void;
|
|
90
125
|
setAIAgentContext: (aiAgentContext: AIAgentContextType) => void;
|
|
91
126
|
setSidePanelConfig: Dispatch<SetStateAction<SidePanelConfig>>;
|
|
92
127
|
} & Pick<EnvironmentDataValuesDTO, 'isResourceRecommendationEnabled'>;
|
|
@@ -115,6 +150,8 @@ export type MainContext = CommonMainContextProps & ({
|
|
|
115
150
|
aiAgentContext: AIAgentContextType;
|
|
116
151
|
tempAppWindowConfig: TempAppWindowConfig;
|
|
117
152
|
setTempAppWindowConfig: Dispatch<SetStateAction<TempAppWindowConfig>>;
|
|
153
|
+
AIRecommendations?: FunctionComponent;
|
|
154
|
+
featureAskDevtronExpert: EnvironmentDataValuesDTO['featureAskDevtronExpert'];
|
|
118
155
|
} | {
|
|
119
156
|
isLicenseDashboard: true;
|
|
120
157
|
serverMode: null;
|
|
@@ -132,6 +169,8 @@ export type MainContext = CommonMainContextProps & ({
|
|
|
132
169
|
aiAgentContext: null;
|
|
133
170
|
tempAppWindowConfig: null;
|
|
134
171
|
setTempAppWindowConfig: null;
|
|
172
|
+
AIRecommendations?: null;
|
|
173
|
+
featureAskDevtronExpert?: null;
|
|
135
174
|
});
|
|
136
175
|
export interface MainContextProviderProps {
|
|
137
176
|
children: ReactNode;
|
|
@@ -39,6 +39,7 @@ export interface EnvironmentDataValuesDTO extends Pick<MainContext, 'featureGitO
|
|
|
39
39
|
canOnlyViewPermittedEnvOrgLevel: boolean;
|
|
40
40
|
devtronManagedLicensingEnabled: boolean;
|
|
41
41
|
isResourceRecommendationEnabled?: boolean;
|
|
42
|
+
featureAskDevtronExpert: boolean;
|
|
42
43
|
}
|
|
43
44
|
export interface ClusterMinDTO {
|
|
44
45
|
id: number;
|
package/dist/Shared/types.d.ts
CHANGED
|
@@ -1119,7 +1119,7 @@ export interface DeploymentStatusDetailsBreakdownDataType {
|
|
|
1119
1119
|
}
|
|
1120
1120
|
export interface IntelligenceConfig {
|
|
1121
1121
|
clusterId: number;
|
|
1122
|
-
metadata: Record<string, string>;
|
|
1122
|
+
metadata: Record<string, string | number>;
|
|
1123
1123
|
prompt: string;
|
|
1124
1124
|
analyticsCategory: string;
|
|
1125
1125
|
}
|
|
Binary file
|
|
@@ -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="M12 4a7 7 0 0 1 7 7v4.333c0 .368.299.667.667.667.736 0 1.333.597 1.333 1.333v.167a1.5 1.5 0 0 1-1.5 1.5H14M12 4a7 7 0 0 0-7 7v4.333a.667.667 0 0 1-.667.667C3.597 16 3 16.597 3 17.333v.167A1.5 1.5 0 0 0 4.5 19H10m2-15V2m-2 17v1a2 2 0 1 0 4 0v-1m-4 0h4" vector-effect="non-scaling-stroke"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M14.8421 17.2609H9.10294C8.7069 17.2609 8.38554 16.9398 8.38554 16.5435C8.38554 15.5545 7.9647 14.1655 7.26087 13.5534C5.33243 11.8779 4.45806 9.3649 4.92191 6.83159C5.53937 3.45579 8.50185 1.00327 11.9664 1C11.9683 1 11.9706 1 11.973 1C13.8879 1 15.6884 1.74516 17.0433 3.09894C18.3996 4.45435 19.1464 6.25667 19.1464 8.17389C19.1464 10.235 18.2473 12.1973 16.6799 13.5574C15.9784 14.1659 15.5595 15.5535 15.5595 16.5435C15.5595 16.9398 15.2381 17.2609 14.8421 17.2609Z" fill="#FFB549"/>
|
|
3
|
+
<path d="M12 4C12.267 5.24934 12.8054 6.6222 13.5915 7.40851C14.3778 8.1945 15.7507 8.73299 17 9C15.751 9.26754 14.3775 9.80491 13.5915 10.5908C12.8056 11.377 12.2677 12.7505 12.0007 14C11.7333 12.7507 11.1952 11.3774 10.4092 10.5915C9.62315 9.80516 8.24968 9.2677 7 9.00071C8.2491 8.73319 9.62241 8.19491 10.4085 7.40922C11.1949 6.62292 11.7326 5.24959 12 4Z" fill="#FFE5BE"/>
|
|
4
|
+
<path d="M13.4078 18.6958H10.5382C10.1413 18.6958 9.8208 19.0162 9.8208 19.4132V20.848C9.8208 22.034 10.7869 23.0002 11.973 23.0002C13.0826 23.0002 13.996 22.1584 14.1156 21.0776C14.1203 21.001 14.1252 20.9245 14.1252 20.848V19.4132C14.1252 19.0162 13.8047 18.6958 13.4078 18.6958Z" fill="#596168"/>
|
|
5
|
+
<path d="M13.4075 20.1304H10.5379C9.34932 20.1304 8.38574 19.1669 8.38574 17.9782V16.5435H15.5597V17.9782C15.5597 19.1669 14.5961 20.1304 13.4075 20.1304Z" fill="#767D84"/>
|
|
6
|
+
<path d="M16.6499 1C16.7834 1.6245 17.0528 2.31136 17.4454 2.70423C17.8385 3.09705 18.5255 3.36613 19.1499 3.49963C18.5255 3.63356 17.8383 3.90221 17.4454 4.29503C17.0525 4.68812 16.7841 5.3752 16.6506 6C16.5169 5.37547 16.2475 4.68866 15.8544 4.29577C15.4612 3.9027 14.7747 3.63407 14.1499 3.50037C14.7745 3.36665 15.4612 3.09688 15.8544 2.70423C16.2475 2.31112 16.5162 1.62451 16.6499 1Z" fill="white"/>
|
|
7
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M16.6666 11.3334L13.9999 14M13.9999 14L11.3333 16.6667M13.9999 14L16.6666 16.6667M13.9999 14L11.3333 11.3334M20.6666 14C20.6666 17.6819 17.6818 20.6667 13.9999 20.6667C10.318 20.6667 7.33325 17.6819 7.33325 14C7.33325 10.3181 10.318 7.33337 13.9999 7.33337C17.6818 7.33337 20.6666 10.3181 20.6666 14Z" stroke="#3B444C" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
</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="M7.75 8.75h8.5m-8.5 4h5.5M12 22l-3-4H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-4l-3 4Z" vector-effect="non-scaling-stroke"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="53" height="21" viewBox="0 0 53 21" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M46.2255 0.22242C46.6477 -0.113982 47.2786 -0.0629385 47.6347 0.335899L52.7646 6.0809C53.1174 6.47605 53.0679 7.06547 52.6542 7.4039L46.6533 12.3149C46.2358 12.6565 45.6037 12.6133 45.2421 12.2189C44.8809 11.8246 44.9265 11.2282 45.3437 10.8867L49.3818 7.58196C47.635 7.51392 46.053 7.3873 44.5869 7.24798C42.4017 7.04034 40.5366 6.81492 38.7138 6.71011C35.5905 6.53052 32.7029 6.71525 29.1308 8.04787C32.4094 10.5614 33.8796 13.4105 33.6347 15.901C33.4948 17.3229 32.7913 18.5661 31.6308 19.4428C30.4777 20.3139 28.9285 20.7842 27.1435 20.7843C23.5629 20.7843 20.4845 18.6903 19.8867 15.7248C19.3427 13.026 20.9219 10.1029 25.0097 7.8246C22.4035 6.79533 18.671 6.41683 14.6982 6.80606C9.86565 7.27955 4.94392 8.86481 1.64447 11.4919C1.22218 11.8282 0.591222 11.7774 0.235295 11.3784C-0.120416 10.9795 -0.0668062 10.3833 0.355412 10.0471C4.05586 7.1007 9.40364 5.42527 14.4912 4.92673C19.2933 4.45621 24.1052 5.01396 27.2216 6.76177C31.6633 4.88626 35.1445 4.61215 38.8349 4.82432C40.7093 4.93209 42.6751 5.16797 44.7871 5.36865C46.3282 5.51509 47.9815 5.64458 49.8134 5.70632L46.1064 1.55372C45.7503 1.1549 45.8034 0.558826 46.2255 0.22242ZM27.0507 8.92341C22.5183 11.0747 21.4977 13.6208 21.8505 15.3714C22.2329 17.2682 24.3181 18.8948 27.1435 18.8948C28.5613 18.8948 29.6455 18.5238 30.3818 17.9676C31.1106 17.4171 31.553 16.6463 31.6435 15.7257C31.8187 13.9423 30.6534 11.3718 27.0507 8.92341Z" fill="var(--N900)"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M8.00016 7.33325C8.36835 7.33325 8.66683 7.63173 8.66683 7.99992C8.66683 8.36811 8.36835 8.66659 8.00016 8.66659M8.00016 7.33325C7.63197 7.33325 7.3335 7.63173 7.3335 7.99992C7.3335 8.36811 7.63197 8.66659 8.00016 8.66659M8.00016 7.33325V8.66659M8.00016 14.6666C4.32016 14.6666 1.3335 11.6799 1.3335 7.99992C1.3335 4.31992 4.32016 1.33325 8.00016 1.33325C11.6802 1.33325 14.6668 4.31992 14.6668 7.99992C14.6668 11.6799 11.6802 14.6666 8.00016 14.6666Z" stroke="#596168" stroke-width="1.5"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<rect width="48" height="48" rx="12" fill="url(#paint0_radial_11318_10497)"/>
|
|
3
|
+
<path d="M19.2412 12.683C18.0917 11.7888 16.4167 12.608 16.4167 14.0643V33.9079C16.4167 35.5671 18.5103 36.2948 19.5395 34.9932L24.4289 28.8097C24.7941 28.348 25.3504 28.0786 25.939 28.0786H33.9334C35.5997 28.0786 36.3231 25.9704 35.0079 24.9474L19.2412 12.683Z" fill="white"/>
|
|
4
|
+
<defs>
|
|
5
|
+
<radialGradient id="paint0_radial_11318_10497" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="rotate(90) scale(48)">
|
|
6
|
+
<stop stop-color="#ABCFF3"/>
|
|
7
|
+
<stop offset="1" stop-color="#3385D6"/>
|
|
8
|
+
</radialGradient>
|
|
9
|
+
</defs>
|
|
10
|
+
</svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<rect width="32" height="32" rx="4" fill="#1E1F28"/>
|
|
3
|
+
<rect x="0.5" y="0.5" width="31" height="31" rx="3.5" stroke="white" stroke-opacity="0.2"/>
|
|
4
|
+
<path d="M14 11.3333H11.3333C10.597 11.3333 10 11.9303 10 12.6667V20.6667C10 21.403 10.597 22 11.3333 22H19.3333C20.0697 22 20.6667 21.403 20.6667 20.6667V18M18.2505 11.2701L20.7299 13.7495M16.4794 18H14.3542C14.2603 18 14.1702 17.9627 14.1037 17.8963C14.0373 17.8298 14 17.7397 14 17.6458V15.6673C14 15.6208 14.0092 15.5747 14.027 15.5317C14.0448 15.4888 14.0709 15.4497 14.1037 15.4168L19.4168 10.1037C19.4832 10.0373 19.5733 10 19.6673 10C19.7612 10 19.8513 10.0373 19.9177 10.1037L21.8963 12.0823C21.9627 12.1487 22 12.2388 22 12.3327C22 12.4267 21.9627 12.5168 21.8963 12.5832L16.4794 18Z" stroke="#C8CBCE" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" fill="none" viewBox="0 0 14 14">
|
|
2
|
+
<path stroke="#3B444C" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.25" d="M6.39 4.03h2.121m1.415 2.121v.283m1.98-4.1h-3.82m0 0H6.39a4.242 4.242 0 0 0-4.242 4.242m5.94-4.243a4.242 4.242 0 0 1 4.048 2.97h.194a.848.848 0 0 1 .848.848v1.697a.849.849 0 0 1-.849.849h-.424l-.96 2.688a.424.424 0 0 1-.4.282h-.674a.425.425 0 0 1-.4-.282l-.202-.567H5.632l-.202.567a.424.424 0 0 1-.4.282h-.674a.425.425 0 0 1-.4-.282l-.695-1.946a4.226 4.226 0 0 1-1.113-2.863M.875 7.848a1.273 1.273 0 0 1 1.273-1.272"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" fill="none" viewBox="0 0 14 14">
|
|
2
|
+
<path fill="#B23412" d="M3.063 7h-.876a.875.875 0 0 0-.874.875v3.5c0 .483.391.875.875.875h.874a.875.875 0 0 0 .876-.875v-3.5A.875.875 0 0 0 3.062 7Zm4.375-2.625h-.875a.875.875 0 0 0-.875.875v6.125c0 .483.391.875.875.875h.875a.875.875 0 0 0 .875-.875V5.25a.875.875 0 0 0-.876-.875Zm4.375-2.625h-.876a.875.875 0 0 0-.874.875v8.75c0 .483.391.875.874.875h.876a.875.875 0 0 0 .874-.875v-8.75a.875.875 0 0 0-.874-.875Z"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" fill="none" viewBox="0 0 14 14">
|
|
2
|
+
<path fill="#106240" d="M3.063 7h-.876a.875.875 0 0 0-.874.875v3.5c0 .483.391.875.875.875h.874a.875.875 0 0 0 .876-.875v-3.5A.875.875 0 0 0 3.062 7Z"/>
|
|
3
|
+
<path fill="#106240" d="M7.438 4.375h-.875a.875.875 0 0 0-.875.875v6.125c0 .483.391.875.875.875h.875a.875.875 0 0 0 .875-.875V5.25a.875.875 0 0 0-.876-.875Zm4.375-2.625h-.876a.875.875 0 0 0-.874.875v8.75c0 .483.391.875.874.875h.876a.875.875 0 0 0 .874-.875v-8.75a.875.875 0 0 0-.874-.875Z" opacity=".4"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" fill="none" viewBox="0 0 14 14">
|
|
2
|
+
<g clip-path="url(#a)">
|
|
3
|
+
<path fill="#B21212" d="M2.625.875c-.953 0-1.75.797-1.75 1.75v8.75c0 .953.797 1.75 1.75 1.75h8.75c.953 0 1.75-.797 1.75-1.75v-8.75c0-.953-.797-1.75-1.75-1.75h-8.75Zm3.5 2.625h1.75L7.66 7.874H6.344L6.125 3.5Zm1.75 6.125a.875.875 0 1 1-1.75 0 .875.875 0 0 1 1.75 0Z"/>
|
|
4
|
+
</g>
|
|
5
|
+
<defs>
|
|
6
|
+
<clipPath id="a">
|
|
7
|
+
<path fill="#fff" d="M0 0h14v14H0z"/>
|
|
8
|
+
</clipPath>
|
|
9
|
+
</defs>
|
|
10
|
+
</svg>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M0 8C0 3.58172 3.58172 0 8 0H24C28.4183 0 32 3.58172 32 8V24C32 28.4183 28.4183 32 24 32H8C3.58172 32 0 28.4183 0 24V8Z" fill="#EDF1F5"/>
|
|
3
|
+
<path d="M18.8421 21.2609H13.1029C12.7069 21.2609 12.3855 20.9398 12.3855 20.5435C12.3855 19.5545 11.9647 18.1655 11.2609 17.5534C9.33243 15.8779 8.45806 13.3649 8.92191 10.8316C9.53937 7.45579 12.5019 5.00327 15.9664 5C15.9683 5 15.9706 5 15.973 5C17.8879 5 19.6884 5.74516 21.0433 7.09894C22.3996 8.45435 23.1464 10.2567 23.1464 12.1739C23.1464 14.235 22.2473 16.1973 20.6799 17.5574C19.9784 18.1659 19.5595 19.5535 19.5595 20.5435C19.5595 20.9398 19.2381 21.2609 18.8421 21.2609Z" fill="#FFB549"/>
|
|
4
|
+
<path d="M16 8C16.267 9.24934 16.8054 10.6222 17.5915 11.4085C18.3778 12.1945 19.7507 12.733 21 13C19.751 13.2675 18.3775 13.8049 17.5915 14.5908C16.8056 15.377 16.2677 16.7505 16.0007 18C15.7333 16.7507 15.1952 15.3774 14.4092 14.5915C13.6232 13.8052 12.2497 13.2677 11 13.0007C12.2491 12.7332 13.6224 12.1949 14.4085 11.4092C15.1949 10.6229 15.7326 9.24959 16 8Z" fill="#FFE5BE"/>
|
|
5
|
+
<path d="M17.4078 22.6958H14.5382C14.1413 22.6958 13.8208 23.0162 13.8208 23.4132V24.848C13.8208 26.034 14.7869 27.0002 15.973 27.0002C17.0826 27.0002 17.996 26.1584 18.1156 25.0776C18.1203 25.001 18.1252 24.9245 18.1252 24.848V23.4132C18.1252 23.0162 17.8047 22.6958 17.4078 22.6958Z" fill="#596168"/>
|
|
6
|
+
<path d="M17.4075 24.1304H14.5379C13.3493 24.1304 12.3857 23.1669 12.3857 21.9782V20.5435H19.5597V21.9782C19.5597 23.1669 18.5961 24.1304 17.4075 24.1304Z" fill="#767D84"/>
|
|
7
|
+
<path d="M20.6499 5C20.7834 5.6245 21.0528 6.31136 21.4454 6.70423C21.8385 7.09705 22.5255 7.36613 23.1499 7.49963C22.5255 7.63356 21.8383 7.90221 21.4454 8.29503C21.0525 8.68812 20.7841 9.3752 20.6506 10C20.5169 9.37547 20.2475 8.68866 19.8544 8.29577C19.4612 7.9027 18.7747 7.63407 18.1499 7.50037C18.7745 7.36665 19.4612 7.09688 19.8544 6.70423C20.2475 6.31112 20.5162 5.62451 20.6499 5Z" fill="white"/>
|
|
8
|
+
<circle cx="24" cy="8" r="5" fill="#F33E3E" stroke="#EDF1F5" stroke-width="2"/>
|
|
9
|
+
</svg>
|
package/dist/index.d.ts
CHANGED
|
@@ -135,7 +135,6 @@ export interface customEnv {
|
|
|
135
135
|
GATEKEEPER_URL?: string;
|
|
136
136
|
FEATURE_AI_INTEGRATION_ENABLE?: boolean;
|
|
137
137
|
LOGIN_PAGE_IMAGE?: string;
|
|
138
|
-
FEATURE_ASK_DEVTRON_EXPERT?: boolean;
|
|
139
138
|
/**
|
|
140
139
|
* If true, the manage traffic feature is enabled in apps & app groups.
|
|
141
140
|
*
|
|
@@ -168,6 +167,7 @@ export interface customEnv {
|
|
|
168
167
|
* @default false
|
|
169
168
|
*/
|
|
170
169
|
FEATURE_STORAGE_ENABLE?: boolean;
|
|
170
|
+
FEATURE_ATHENA_DEBUG_MODE_ENABLE?: boolean;
|
|
171
171
|
}
|
|
172
172
|
declare global {
|
|
173
173
|
interface Window {
|