@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.
Files changed (42) hide show
  1. package/dist/Common/RJSF/common/FieldRow.d.ts +1 -4
  2. package/dist/Common/RJSF/common/types.d.ts +1 -1
  3. package/dist/Common/RJSF/constants.d.ts +4 -1
  4. package/dist/Common/RJSF/templates/ButtonTemplates/AddButton.d.ts +1 -1
  5. package/dist/Common/RJSF/templates/TitleField.d.ts +1 -1
  6. package/dist/Common/RJSF/templates/index.d.ts +0 -1
  7. package/dist/Common/RJSF/utils.d.ts +3 -1
  8. package/dist/Common/SortableTableHeaderCell/SortableTableHeaderCell.d.ts +1 -1
  9. package/dist/Common/SortableTableHeaderCell/types.d.ts +0 -5
  10. package/dist/Pages/GlobalConfigurations/BuildInfra/utils.d.ts +0 -2
  11. package/dist/Shared/Components/ReactSelect/utils.d.ts +0 -4
  12. package/dist/Shared/Components/index.d.ts +0 -1
  13. package/dist/Shared/index.d.ts +0 -1
  14. package/dist/Shared/types.d.ts +4 -46
  15. package/dist/assets/index.css +1 -1
  16. package/dist/{cssMode-10711ca4.js → cssMode-c12fc82c.js} +1 -1
  17. package/dist/{freemarker2-3c28550c.js → freemarker2-13bcce02.js} +1 -1
  18. package/dist/{handlebars-fc9c420f.js → handlebars-9d5b4ddd.js} +1 -1
  19. package/dist/{html-60370346.js → html-a33e70ef.js} +1 -1
  20. package/dist/{htmlMode-efbf16cc.js → htmlMode-dccacf10.js} +1 -1
  21. package/dist/{index-3b564bac.js → index-ddb64f30.js} +16385 -16449
  22. package/dist/index.js +401 -403
  23. package/dist/{javascript-78808417.js → javascript-aaaf29e8.js} +1 -1
  24. package/dist/{jsonMode-900328af.js → jsonMode-da2c663f.js} +1 -1
  25. package/dist/{liquid-f1a7cb7a.js → liquid-c0e3c2ae.js} +1 -1
  26. package/dist/{mdx-1e65c26b.js → mdx-85529d5b.js} +1 -1
  27. package/dist/{python-5b4a2603.js → python-c77c170d.js} +1 -1
  28. package/dist/{razor-9ad07b04.js → razor-ca39ff37.js} +1 -1
  29. package/dist/{tsMode-2484b2ad.js → tsMode-139e075c.js} +1 -1
  30. package/dist/{typescript-f3fd327c.js → typescript-cab8c9fe.js} +1 -1
  31. package/dist/{xml-34b27f33.js → xml-8627e817.js} +1 -1
  32. package/dist/{yaml-ce48b3d4.js → yaml-71329abe.js} +1 -1
  33. package/package.json +1 -1
  34. package/dist/Common/RJSF/templates/Description.d.ts +0 -3
  35. package/dist/Shared/API/APIQueuing.d.ts +0 -11
  36. package/dist/Shared/API/index.d.ts +0 -1
  37. package/dist/Shared/Components/EnvironmentSelector/EnvironmentSelector.component.d.ts +0 -4
  38. package/dist/Shared/Components/EnvironmentSelector/constants.d.ts +0 -5
  39. package/dist/Shared/Components/EnvironmentSelector/index.d.ts +0 -1
  40. package/dist/Shared/Components/EnvironmentSelector/service.d.ts +0 -3
  41. package/dist/Shared/Components/EnvironmentSelector/types.d.ts +0 -27
  42. package/dist/Shared/Components/EnvironmentSelector/utils.d.ts +0 -6
@@ -1,4 +1,4 @@
1
- import { conf as t, language as e } from "./typescript-f3fd327c.js";
1
+ import { conf as t, language as e } from "./typescript-cab8c9fe.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
@@ -1,7 +1,7 @@
1
1
  var Ge = Object.defineProperty;
2
2
  var Qe = (e, n, i) => n in e ? Ge(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
3
3
  var C = (e, n, i) => (Qe(e, typeof n != "symbol" ? n + "" : n, i), i);
4
- import { m as Ze } from "./index-3b564bac.js";
4
+ import { m as Ze } from "./index-ddb64f30.js";
5
5
  /*!-----------------------------------------------------------------------------
6
6
  * Copyright (c) Microsoft Corporation. All rights reserved.
7
7
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
@@ -1,4 +1,4 @@
1
- import { m as d } from "./index-3b564bac.js";
1
+ import { m as d } from "./index-ddb64f30.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
@@ -1,4 +1,4 @@
1
- import { m as d } from "./index-3b564bac.js";
1
+ import { m as d } from "./index-ddb64f30.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
@@ -1,4 +1,4 @@
1
- import { m as a } from "./index-3b564bac.js";
1
+ import { m as a } from "./index-ddb64f30.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
@@ -1,4 +1,4 @@
1
- import { m as s } from "./index-3b564bac.js";
1
+ import { m as s } from "./index-ddb64f30.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
@@ -1,7 +1,7 @@
1
1
  var M = Object.defineProperty;
2
2
  var R = (e, t, r) => t in e ? M(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
3
  var _ = (e, t, r) => (R(e, typeof t != "symbol" ? t + "" : t, r), r);
4
- import { t as K, m as E } from "./index-3b564bac.js";
4
+ import { t as K, m as E } from "./index-ddb64f30.js";
5
5
  /*!-----------------------------------------------------------------------------
6
6
  * Copyright (c) Microsoft Corporation. All rights reserved.
7
7
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
@@ -1,4 +1,4 @@
1
- import { m as a } from "./index-3b564bac.js";
1
+ import { m as a } from "./index-ddb64f30.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
@@ -1,4 +1,4 @@
1
- import { m } from "./index-3b564bac.js";
1
+ import { m } from "./index-ddb64f30.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
@@ -1,4 +1,4 @@
1
- import { m as i } from "./index-3b564bac.js";
1
+ import { m as i } from "./index-ddb64f30.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devtron-labs/devtron-fe-common-lib",
3
- "version": "0.0.91-beta-7",
3
+ "version": "0.0.92-beta-1",
4
4
  "description": "Supporting common component library",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -1,3 +0,0 @@
1
- import { DescriptionFieldProps } from '@rjsf/utils';
2
-
3
- export declare const Description: ({ id, description }: DescriptionFieldProps) => JSX.Element;
@@ -1,11 +0,0 @@
1
- import { ApiQueuingWithBatchResponseItem } from '../types';
2
-
3
- /**
4
- * Executes a batch of function calls concurrently with queuing.
5
- * @param functionCalls The array of function calls returning promise to be executed.
6
- * @param batchSize The maximum number of function calls to be executed concurrently. Defaults to the value of `window._env_.API_BATCH_SIZE`.
7
- * @param shouldRejectOnError If set to true, the promise will reject if any of the function calls rejects, i.e, acts like Promise.all else Promise.allSettled . Defaults to false.
8
- * @returns A promise that resolves to a array of objects containing the status and value of the batch execution.
9
- */
10
- declare const ApiQueuingWithBatch: <T>(functionCalls: any, httpProtocol: string, shouldRejectOnError?: boolean, batchSize?: number) => Promise<ApiQueuingWithBatchResponseItem<T>[]>;
11
- export default ApiQueuingWithBatch;
@@ -1 +0,0 @@
1
- export { default as ApiQueuingWithBatch } from './APIQueuing';
@@ -1,4 +0,0 @@
1
- import { EnvironmentSelectorProps } from './types';
2
-
3
- declare const EnvironmentSelector: <T>({ handleEnvironmentChange, selectedEnvironmentsMap, isMulti, placeholder, processOptions, styles, isClearable, autoFocus, }: EnvironmentSelectorProps<T>) => JSX.Element;
4
- export default EnvironmentSelector;
@@ -1,5 +0,0 @@
1
- export declare const ENVIRONMENT_SELECTOR_TEXT: {
2
- DEFAULT_PLACEHOLDER: string;
3
- GROUP_HEADING_PREFIX: string;
4
- NO_ENVIRONMENTS_AVAILABLE: string;
5
- };
@@ -1 +0,0 @@
1
- export { default as EnvironmentSelector } from './EnvironmentSelector.component';
@@ -1,3 +0,0 @@
1
- import { GroupedOptionsType } from '../../types';
2
-
3
- export declare const getEnvironmentsGroupedByCluster: () => Promise<GroupedOptionsType[]>;
@@ -1,27 +0,0 @@
1
- import { commonSelectStyles } from '../ReactSelect';
2
- import { GroupedOptionsType } from '../../types';
3
- import { OptionType } from '../../../Common';
4
-
5
- export type SelectedEnvironmentsMapType<T> = Record<string, T>;
6
- export type BaseSelectorType = {
7
- isMulti: true;
8
- handleEnvironmentChange: (options: OptionType[]) => void;
9
- } | {
10
- isMulti: false;
11
- handleEnvironmentChange: (option: OptionType) => void;
12
- };
13
- export type EnvironmentSelectorProps<T> = BaseSelectorType & {
14
- /**
15
- * Would expect selected option to be like {[selectedOption1.label] = <any value we want to store>, ...}
16
- */
17
- selectedEnvironmentsMap?: SelectedEnvironmentsMapType<T>;
18
- placeholder?: string;
19
- /**
20
- * This is a HEAVY operation, so make sure to wrap it in useCallback
21
- * In case we want to process (filter, rename label, etc) the options before displaying them
22
- */
23
- processOptions?: (options: GroupedOptionsType[]) => GroupedOptionsType[];
24
- styles?: typeof commonSelectStyles;
25
- isClearable?: boolean;
26
- autoFocus?: boolean;
27
- };
@@ -1,6 +0,0 @@
1
- import { SelectedEnvironmentsMapType } from './types';
2
- import { EnvListMinDTO, GroupedOptionsType } from '../../types';
3
- import { OptionType } from '../../../Common';
4
-
5
- export declare const parseEnvironmentClusterListToOptions: (environmentClusterList: EnvListMinDTO[]) => GroupedOptionsType[];
6
- export declare const getSelectedOptions: <T>(selectedEnvironmentsMap: SelectedEnvironmentsMapType<T>, options: GroupedOptionsType[]) => OptionType[];