@devtron-labs/devtron-fe-common-lib 1.11.0-pre-8-beta-1 → 1.11.0-pre-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.
@@ -1,7 +1,7 @@
1
1
  import { j as n, av as y, ax as k, aw as W } from "./@vendor-SjXFleuT.js";
2
2
  import V, { forwardRef as J, useMemo as P } from "react";
3
3
  import K, { getDefaultRegistry as q } from "@rjsf/core";
4
- import { T as F, j as N, c as v, b as S, a as Y, i as z, d as w, e as E, S as G } from "./@code-editor-BSb8rmrz.js";
4
+ import { T as F, j as N, c as v, b as S, a as Y, i as z, d as w, e as E, S as G } from "./@code-editor-BsJ5rbhn.js";
5
5
  import Q, { components as D } from "react-select";
6
6
  import { ReactComponent as X } from "./assets/ic-chevron-down.fc70d7a7.svg";
7
7
  import { getUiOptions as B, getTemplate as $, getSubmitButtonOptions as Z, ADDITIONAL_PROPERTY_FLAG as L, errorId as ee, englishStringTranslator as te, TranslatableString as ne, titleId as re, canExpand as se, deepEquals as ae } from "@rjsf/utils";
@@ -1,6 +1,6 @@
1
1
  import { MutableRefObject } from 'react';
2
2
  import { RuntimeParamsAPIResponseType, RuntimePluginVariables } from '../Shared/types';
3
- import { TeamList, ResponseType, DeploymentNodeType, CDMaterialServiceEnum, CDMaterialServiceQueryParams, CDMaterialResponseType, CDMaterialFilterQuery, EnvironmentListHelmResponse, UserApprovalMetadataType, GlobalVariableOptionType, UserRole, EnvAppsMetaDTO, GetAppsInfoForEnvProps } from './Types';
3
+ import { TeamList, ResponseType, DeploymentNodeType, CDMaterialServiceEnum, CDMaterialServiceQueryParams, CDMaterialResponseType, CDMaterialFilterQuery, EnvironmentListHelmResponse, UserApprovalMetadataType, GlobalVariableOptionType, UserRole } from './Types';
4
4
  import { ApiResourceType } from '../Pages';
5
5
  export declare const getTeamListMin: () => Promise<TeamList>;
6
6
  export declare const SourceTypeMap: {
@@ -35,4 +35,3 @@ export declare const getGlobalVariables: ({ appId, isCD, abortControllerRef, }:
35
35
  isCD?: boolean;
36
36
  abortControllerRef?: MutableRefObject<AbortController>;
37
37
  }) => Promise<GlobalVariableOptionType[]>;
38
- export declare const getAppsInfoForEnv: ({ envId, appIds }: GetAppsInfoForEnvProps) => Promise<EnvAppsMetaDTO>;
@@ -133,8 +133,6 @@ export declare const ROUTES: {
133
133
  readonly ENVIRONMENT_DATA: "global/environment-variables";
134
134
  readonly DASHBOARD_EVENT: "dashboard-event";
135
135
  readonly LICENSE_DATA: "license/data";
136
- readonly ENV: "env";
137
- readonly APP_METADATA: "app-metadata";
138
136
  };
139
137
  export declare enum KEY_VALUE {
140
138
  KEY = "key",
@@ -2,7 +2,7 @@ import { default as React, ReactNode, CSSProperties, ReactElement, MutableRefObj
2
2
  import { TippyProps } from '@tippyjs/react';
3
3
  import { UserGroupDTO } from '../Pages/GlobalConfigurations';
4
4
  import { ImageComment, ReleaseTag } from './ImageTags.Types';
5
- import { MandatoryPluginBaseStateType, RegistryType, RuntimePluginVariables, Severity, PolicyBlockInfo, TargetPlatformItemDTO, ButtonProps, ComponentLayoutType, StatusType } from '../Shared';
5
+ import { MandatoryPluginBaseStateType, RegistryType, RuntimePluginVariables, Severity, PolicyBlockInfo, TargetPlatformItemDTO, ButtonProps, ComponentLayoutType } from '../Shared';
6
6
  import { ACTION_STATE, DEPLOYMENT_WINDOW_TYPE, DockerConfigOverrideType, RefVariableType, SortingOrder, TaskErrorObj, VariableTypeFormat } from '.';
7
7
  /**
8
8
  * Generic response type object with support for overriding the result type
@@ -949,17 +949,4 @@ export declare enum ActionTypes {
949
949
  EDIT = "edit",
950
950
  APPROVER = "approver"
951
951
  }
952
- export interface GetAppsInfoForEnvProps {
953
- envId: number;
954
- appIds?: number[];
955
- }
956
- interface AppMeta {
957
- appId: number;
958
- appStatus: StatusType;
959
- appName: string;
960
- }
961
- export interface EnvAppsMetaDTO {
962
- appCount: number;
963
- apps: AppMeta[];
964
- }
965
952
  export {};
@@ -33,6 +33,7 @@ export declare const iconMap: {
33
33
  'ic-container': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
34
34
  'ic-cookr': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
35
35
  'ic-copy': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
36
+ 'ic-cpu': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
36
37
  'ic-crown': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
37
38
  'ic-cube': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
38
39
  'ic-delete-lightning': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -59,6 +60,7 @@ export declare const iconMap: {
59
60
  'ic-heart-red-animated': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
60
61
  'ic-heart-red': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
61
62
  'ic-helm': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
63
+ 'ic-help-filled': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
62
64
  'ic-help-outline': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
63
65
  'ic-hibernate': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
64
66
  'ic-in-progress': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -74,6 +76,7 @@ export declare const iconMap: {
74
76
  'ic-logout': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
75
77
  'ic-medium-delete': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
76
78
  'ic-medium-paintbucket': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
79
+ 'ic-memory': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
77
80
  'ic-microsoft': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
78
81
  'ic-missing': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
79
82
  'ic-monitoring': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -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="M19.5 9.75h2.25m-2.25 4.5h2.25m-19.5-4.5H4.5m-2.25 4.5H4.5m9.75 5.25v2.25m-4.5-2.25v2.25m4.5-19.5V4.5m-4.5-2.25V4.5m-.375 4.875h5.25v5.25h-5.25v-5.25ZM5.25 4.5h13.5a.75.75 0 0 1 .75.75v13.5a.75.75 0 0 1-.75.75H5.25a.75.75 0 0 1-.75-.75V5.25a.75.75 0 0 1 .75-.75Z" vector-effect="non-scaling-stroke"/>
3
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2
+ <circle cx="12" cy="12" r="10" fill="#3B444C"/>
3
+ <path fill="#fff" d="M12.84 5.583A4.3 4.3 0 0 0 7.7 9.8a1 1 0 1 0 2 0 2.3 2.3 0 1 1 2.3 2.3 1 1 0 0 0-1 1v1.4a1 1 0 1 0 2 0v-.518a4.299 4.299 0 0 0-.16-8.4ZM12 18.5a.983.983 0 0 0 1-1 .968.968 0 0 0-.291-.705A.959.959 0 0 0 12 16.5a.959.959 0 0 0-.709.295.968.968 0 0 0-.291.705c0 .282.093.521.278.718A.996.996 0 0 0 12 18.5Z"/>
4
+ </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="M22.5 16.5V6.75a.75.75 0 0 0-.75-.75H2.25a.75.75 0 0 0-.75.75v9.75m21 0h-21m21 0v2.25m-21-2.25v2.25m3-2.25v2.25m3-2.25v2.25m3-2.25v2.25m3-2.25v2.25m3-2.25v2.25m3-2.25v2.25M4.5 9h6v4.5h-6V9Zm9 0h6v4.5h-6V9Z" vector-effect="non-scaling-stroke"/>
3
+ </svg>