@devtron-labs/devtron-fe-common-lib 0.0.58-beta-22 → 0.0.58-beta-25

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 (71) hide show
  1. package/dist/Common/Api.d.ts +0 -9
  2. package/dist/Common/Constants.d.ts +0 -1
  3. package/dist/Common/Helper.d.ts +4 -1
  4. package/dist/Common/Types.d.ts +2 -3
  5. package/dist/index.d.ts +1 -3
  6. package/dist/index.js +188 -1150
  7. package/package.json +1 -1
  8. package/src/Common/Api.ts +0 -21
  9. package/src/Common/BreadCrumb/Types.ts +1 -0
  10. package/src/Common/Checkbox.tsx +0 -1
  11. package/src/Common/Constants.ts +1 -2
  12. package/src/Common/CustomInput/CustomInput.tsx +1 -2
  13. package/src/Common/DraggableWrapper/DraggableWrapper.tsx +1 -3
  14. package/src/Common/Helper.tsx +30 -16
  15. package/src/Common/RJSF/utils.ts +0 -2
  16. package/src/Common/SearchBar/SearchBar.component.tsx +13 -24
  17. package/src/Common/SearchBar/searchBar.scss +1 -1
  18. package/src/Common/Types.ts +1 -2
  19. package/src/index.ts +1 -3
  20. package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraConfigForm.d.ts +0 -4
  21. package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraDescriptionField.d.ts +0 -4
  22. package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraFormAction.d.ts +0 -7
  23. package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraFormItem.d.ts +0 -4
  24. package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraProfileNameField.d.ts +0 -4
  25. package/dist/Pages/GlobalConfigurations/BuildInfra/Descriptor.d.ts +0 -4
  26. package/dist/Pages/GlobalConfigurations/BuildInfra/Footer.d.ts +0 -4
  27. package/dist/Pages/GlobalConfigurations/BuildInfra/constants.d.ts +0 -52
  28. package/dist/Pages/GlobalConfigurations/BuildInfra/index.d.ts +0 -7
  29. package/dist/Pages/GlobalConfigurations/BuildInfra/services.d.ts +0 -6
  30. package/dist/Pages/GlobalConfigurations/BuildInfra/types.d.ts +0 -286
  31. package/dist/Pages/GlobalConfigurations/BuildInfra/utils.d.ts +0 -12
  32. package/dist/Pages/GlobalConfigurations/index.d.ts +0 -1
  33. package/dist/Pages/index.d.ts +0 -1
  34. package/dist/Shared/Components/APIResponseHandler/APIResponseHandler.d.ts +0 -4
  35. package/dist/Shared/Components/APIResponseHandler/constants.d.ts +0 -4
  36. package/dist/Shared/Components/APIResponseHandler/index.d.ts +0 -2
  37. package/dist/Shared/Components/APIResponseHandler/types.d.ts +0 -37
  38. package/dist/Shared/Components/ReactSelect/index.d.ts +0 -1
  39. package/dist/Shared/Components/ReactSelect/utils.d.ts +0 -12
  40. package/dist/Shared/Components/index.d.ts +0 -2
  41. package/dist/Shared/Helpers.d.ts +0 -16
  42. package/dist/Shared/index.d.ts +0 -3
  43. package/dist/Shared/validations.d.ts +0 -7
  44. package/src/Assets/Icon/ic-cpu.svg +0 -4
  45. package/src/Assets/Icon/ic-memory.svg +0 -3
  46. package/src/Assets/Icon/ic-timer.svg +0 -3
  47. package/src/Pages/GlobalConfigurations/BuildInfra/BuildInfraConfigForm.tsx +0 -128
  48. package/src/Pages/GlobalConfigurations/BuildInfra/BuildInfraDescriptionField.tsx +0 -44
  49. package/src/Pages/GlobalConfigurations/BuildInfra/BuildInfraFormAction.tsx +0 -106
  50. package/src/Pages/GlobalConfigurations/BuildInfra/BuildInfraFormItem.tsx +0 -55
  51. package/src/Pages/GlobalConfigurations/BuildInfra/BuildInfraProfileNameField.tsx +0 -32
  52. package/src/Pages/GlobalConfigurations/BuildInfra/Descriptor.tsx +0 -45
  53. package/src/Pages/GlobalConfigurations/BuildInfra/Footer.tsx +0 -55
  54. package/src/Pages/GlobalConfigurations/BuildInfra/Readme.md +0 -4
  55. package/src/Pages/GlobalConfigurations/BuildInfra/constants.tsx +0 -141
  56. package/src/Pages/GlobalConfigurations/BuildInfra/index.ts +0 -7
  57. package/src/Pages/GlobalConfigurations/BuildInfra/services.tsx +0 -167
  58. package/src/Pages/GlobalConfigurations/BuildInfra/types.tsx +0 -339
  59. package/src/Pages/GlobalConfigurations/BuildInfra/utils.tsx +0 -508
  60. package/src/Pages/GlobalConfigurations/index.ts +0 -1
  61. package/src/Pages/index.ts +0 -1
  62. package/src/Shared/Components/APIResponseHandler/APIResponseHandler.tsx +0 -41
  63. package/src/Shared/Components/APIResponseHandler/constants.tsx +0 -5
  64. package/src/Shared/Components/APIResponseHandler/index.ts +0 -2
  65. package/src/Shared/Components/APIResponseHandler/types.tsx +0 -39
  66. package/src/Shared/Components/ReactSelect/index.ts +0 -1
  67. package/src/Shared/Components/ReactSelect/utils.tsx +0 -97
  68. package/src/Shared/Components/index.ts +0 -2
  69. package/src/Shared/Helpers.tsx +0 -29
  70. package/src/Shared/index.ts +0 -3
  71. package/src/Shared/validations.tsx +0 -72
@@ -1,14 +1,5 @@
1
1
  import { ResponseType, APIOptions } from './Types';
2
- import { MutableRefObject } from 'react';
3
2
  export declare const post: (url: string, data: object, options?: APIOptions, isMultipartRequest?: boolean) => Promise<ResponseType>;
4
3
  export declare const put: (url: string, data: object, options?: APIOptions) => Promise<ResponseType>;
5
4
  export declare const get: (url: string, options?: APIOptions) => Promise<ResponseType>;
6
5
  export declare const trash: (url: string, data?: object, options?: APIOptions) => Promise<ResponseType>;
7
- /**
8
- * Aborts the previous request before triggering next request
9
- */
10
- export declare const abortPreviousRequests: <T>(callback: () => Promise<T>, abortControllerRef: MutableRefObject<AbortController>) => Promise<T>;
11
- /**
12
- * Returns true if the error is due to a aborted request
13
- */
14
- export declare const getIsRequestAborted: (error: any) => boolean;
@@ -21,7 +21,6 @@ export declare const ROUTES: {
21
21
  IMAGE_TAGGING: string;
22
22
  CD_MATERIAL_GET: string;
23
23
  DEPLOYMENT_TEMPLATE_LIST: string;
24
- INFRA_CONFIG_PROFILE: string;
25
24
  };
26
25
  export declare enum KEY_VALUE {
27
26
  KEY = "key",
@@ -55,7 +55,10 @@ export declare const customStyles: {
55
55
  dropdownIndicator: (base: any, state: any) => any;
56
56
  };
57
57
  export declare const getFilteredChartVersions: (charts: any, selectedChartType: any) => any;
58
- export declare function getUnlockedJSON(json: any, jsonPathArray: any): any;
58
+ export declare function getUnlockedJSON(json: any, jsonPathArray: any, removeParentKeysAndEmptyArrays?: boolean): {
59
+ newDocument: any;
60
+ removedPatches: any[];
61
+ };
59
62
  export declare function getLockedJSON(json: any, jsonPathArray: string[]): any;
60
63
  /**
61
64
  * Returns a debounced variant of the function
@@ -44,13 +44,12 @@ export interface Teams {
44
44
  }
45
45
  export declare enum CHECKBOX_VALUE {
46
46
  CHECKED = "CHECKED",
47
- INTERMEDIATE = "INTERMEDIATE",
48
- BULK_CHECKED = "BULK_CHECKED"
47
+ INTERMEDIATE = "INTERMEDIATE"
49
48
  }
50
49
  export interface CheckboxProps {
51
50
  onChange: (event: any) => void;
52
51
  isChecked: boolean;
53
- value: 'CHECKED' | 'INTERMEDIATE' | 'BULK_CHECKED';
52
+ value: 'CHECKED' | 'INTERMEDIATE';
54
53
  disabled?: boolean;
55
54
  tabIndex?: number;
56
55
  rootClassName?: string;
package/dist/index.d.ts CHANGED
@@ -1,3 +1 @@
1
- export * from './Common';
2
- export * from './Pages';
3
- export * from './Shared';
1
+ export * from "./Common";