@devtron-labs/devtron-fe-common-lib 1.2.4 → 1.2.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.
@@ -2,7 +2,7 @@ import { j as n, J as A } from "./@vendor-RU8AW1bK.js";
2
2
  import E, { forwardRef as $ } from "react";
3
3
  import L, { getDefaultRegistry as k } from "@rjsf/core";
4
4
  import D from "@rjsf/validator-ajv8";
5
- import { T as y, c as H, a as J, d as w } from "./@code-editor-BJnp-BE4.js";
5
+ import { T as y, c as H, a as J, d as w } from "./@code-editor-BXzLnnOG.js";
6
6
  import M, { components as O } from "react-select";
7
7
  import { getUiOptions as B, getTemplate as I, getSubmitButtonOptions as U, ADDITIONAL_PROPERTY_FLAG as P, errorId as W, englishStringTranslator as V, TranslatableString as q, titleId as K, canExpand as Y, deepEquals as z } from "@rjsf/utils";
8
8
  import { ReactComponent as G } from "./assets/ic-chevron-down.fc70d7a7.svg";
@@ -94,6 +94,7 @@ export declare const ROUTES: {
94
94
  USER_LIST_MIN: string;
95
95
  CONFIG_DATA: string;
96
96
  K8S_RESOURCE_LIST: string;
97
+ CONFIG_COMPARE_SECRET: string;
97
98
  };
98
99
  export declare enum KEY_VALUE {
99
100
  KEY = "key",
@@ -0,0 +1,3 @@
1
+ import { SegmentedControlProps } from './types';
2
+ declare const SegmentedControl: ({ tabs, initialTab, onChange, tooltips, disabled, rootClassName, }: SegmentedControlProps) => JSX.Element;
3
+ export default SegmentedControl;
@@ -0,0 +1,2 @@
1
+ export type { SegmentedControlProps } from './types';
2
+ export { default as SegmentedControl } from './SegmentedControl.component';
@@ -0,0 +1,9 @@
1
+ import { OptionType } from '../Types';
2
+ export interface SegmentedControlProps {
3
+ tabs: OptionType[];
4
+ initialTab: string;
5
+ onChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
6
+ tooltips?: string[];
7
+ disabled?: boolean;
8
+ rootClassName?: string;
9
+ }
@@ -53,3 +53,4 @@ export * from './SegmentedBarChart';
53
53
  export * from './CodeEditor';
54
54
  export * from './AppStatus';
55
55
  export * from './Tooltip';
56
+ export * from './SegmentedControl';
@@ -9,3 +9,4 @@ export declare const getAppEnvDeploymentConfig: ({ params, signal, }: {
9
9
  params: AppEnvDeploymentConfigPayloadType;
10
10
  signal?: AbortSignal;
11
11
  }) => Promise<ResponseType<AppEnvDeploymentConfigDTO>>;
12
+ export declare const getCompareSecretsData: (params: AppEnvDeploymentConfigPayloadType[]) => Promise<AppEnvDeploymentConfigDTO[]>;
@@ -213,7 +213,7 @@ export type AppEnvDeploymentConfigPayloadType = {
213
213
  appName: string;
214
214
  envName: string;
215
215
  configType: AppEnvDeploymentConfigType;
216
- identifierId?: number;
216
+ wfrId?: number;
217
217
  pipelineId?: number;
218
218
  resourceType?: ConfigResourceType;
219
219
  resourceId?: number;
@@ -585,6 +585,7 @@ export declare enum ConfigurationType {
585
585
  GUI = "GUI",
586
586
  YAML = "YAML"
587
587
  }
588
+ export declare const CONFIGURATION_TYPE_OPTIONS: OptionType<ConfigurationType, ConfigurationType>[];
588
589
  export interface BaseURLParams {
589
590
  appId: string;
590
591
  envId: string;