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

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 (72) hide show
  1. package/dist/Common/Api.d.ts +0 -9
  2. package/dist/Common/Constants.d.ts +0 -1
  3. package/dist/Common/CustomInput/CustomInput.d.ts +1 -1
  4. package/dist/Common/CustomInput/Types.d.ts +2 -1
  5. package/dist/Common/Types.d.ts +2 -3
  6. package/dist/index.d.ts +1 -3
  7. package/dist/index.js +158 -1137
  8. package/package.json +1 -1
  9. package/src/Common/Api.ts +0 -21
  10. package/src/Common/BreadCrumb/Types.ts +1 -0
  11. package/src/Common/Checkbox.tsx +0 -1
  12. package/src/Common/Constants.ts +1 -2
  13. package/src/Common/CustomInput/CustomInput.tsx +4 -3
  14. package/src/Common/CustomInput/Types.ts +4 -3
  15. package/src/Common/DraggableWrapper/DraggableWrapper.tsx +1 -3
  16. package/src/Common/RJSF/utils.ts +0 -2
  17. package/src/Common/SearchBar/SearchBar.component.tsx +14 -26
  18. package/src/Common/SearchBar/searchBar.scss +1 -1
  19. package/src/Common/Types.ts +1 -2
  20. package/src/index.ts +1 -3
  21. package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraConfigForm.d.ts +0 -4
  22. package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraDescriptionField.d.ts +0 -4
  23. package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraFormAction.d.ts +0 -7
  24. package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraFormItem.d.ts +0 -4
  25. package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraProfileNameField.d.ts +0 -4
  26. package/dist/Pages/GlobalConfigurations/BuildInfra/Descriptor.d.ts +0 -4
  27. package/dist/Pages/GlobalConfigurations/BuildInfra/Footer.d.ts +0 -4
  28. package/dist/Pages/GlobalConfigurations/BuildInfra/constants.d.ts +0 -52
  29. package/dist/Pages/GlobalConfigurations/BuildInfra/index.d.ts +0 -7
  30. package/dist/Pages/GlobalConfigurations/BuildInfra/services.d.ts +0 -6
  31. package/dist/Pages/GlobalConfigurations/BuildInfra/types.d.ts +0 -286
  32. package/dist/Pages/GlobalConfigurations/BuildInfra/utils.d.ts +0 -12
  33. package/dist/Pages/GlobalConfigurations/index.d.ts +0 -1
  34. package/dist/Pages/index.d.ts +0 -1
  35. package/dist/Shared/Components/APIResponseHandler/APIResponseHandler.d.ts +0 -4
  36. package/dist/Shared/Components/APIResponseHandler/constants.d.ts +0 -4
  37. package/dist/Shared/Components/APIResponseHandler/index.d.ts +0 -2
  38. package/dist/Shared/Components/APIResponseHandler/types.d.ts +0 -37
  39. package/dist/Shared/Components/ReactSelect/index.d.ts +0 -1
  40. package/dist/Shared/Components/ReactSelect/utils.d.ts +0 -12
  41. package/dist/Shared/Components/index.d.ts +0 -2
  42. package/dist/Shared/Helpers.d.ts +0 -16
  43. package/dist/Shared/index.d.ts +0 -3
  44. package/dist/Shared/validations.d.ts +0 -7
  45. package/src/Assets/Icon/ic-cpu.svg +0 -4
  46. package/src/Assets/Icon/ic-memory.svg +0 -3
  47. package/src/Assets/Icon/ic-timer.svg +0 -3
  48. package/src/Pages/GlobalConfigurations/BuildInfra/BuildInfraConfigForm.tsx +0 -128
  49. package/src/Pages/GlobalConfigurations/BuildInfra/BuildInfraDescriptionField.tsx +0 -44
  50. package/src/Pages/GlobalConfigurations/BuildInfra/BuildInfraFormAction.tsx +0 -106
  51. package/src/Pages/GlobalConfigurations/BuildInfra/BuildInfraFormItem.tsx +0 -55
  52. package/src/Pages/GlobalConfigurations/BuildInfra/BuildInfraProfileNameField.tsx +0 -32
  53. package/src/Pages/GlobalConfigurations/BuildInfra/Descriptor.tsx +0 -45
  54. package/src/Pages/GlobalConfigurations/BuildInfra/Footer.tsx +0 -55
  55. package/src/Pages/GlobalConfigurations/BuildInfra/Readme.md +0 -4
  56. package/src/Pages/GlobalConfigurations/BuildInfra/constants.tsx +0 -141
  57. package/src/Pages/GlobalConfigurations/BuildInfra/index.ts +0 -7
  58. package/src/Pages/GlobalConfigurations/BuildInfra/services.tsx +0 -167
  59. package/src/Pages/GlobalConfigurations/BuildInfra/types.tsx +0 -339
  60. package/src/Pages/GlobalConfigurations/BuildInfra/utils.tsx +0 -508
  61. package/src/Pages/GlobalConfigurations/index.ts +0 -1
  62. package/src/Pages/index.ts +0 -1
  63. package/src/Shared/Components/APIResponseHandler/APIResponseHandler.tsx +0 -41
  64. package/src/Shared/Components/APIResponseHandler/constants.tsx +0 -5
  65. package/src/Shared/Components/APIResponseHandler/index.ts +0 -2
  66. package/src/Shared/Components/APIResponseHandler/types.tsx +0 -39
  67. package/src/Shared/Components/ReactSelect/index.ts +0 -1
  68. package/src/Shared/Components/ReactSelect/utils.tsx +0 -97
  69. package/src/Shared/Components/index.ts +0 -2
  70. package/src/Shared/Helpers.tsx +0 -29
  71. package/src/Shared/index.ts +0 -3
  72. 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",
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
2
  import { CustomInputProps } from './Types';
3
- export declare function CustomInput({ name, value, error, onChange, onFocus, label, type, disabled, labelClassName, placeholder, tabIndex, dataTestid, isRequiredField, autoFocus, rootClassName, autoComplete, helperText, handleOnBlur, readOnly, noTrim, ref, onKeyPress, defaultValue, onKeyDown, required, additionalErrorInfo, inputWrapClassName, }: CustomInputProps): JSX.Element;
3
+ export declare function CustomInput({ name, value, error, onChange, onFocus, label, type, disabled, labelClassName, placeholder, tabIndex, dataTestid, isRequiredField, autoFocus, rootClassName, autoComplete, helperText, handleOnBlur, readOnly, noTrim, ref, onKeyPress, defaultValue, onKeyDown, required, additionalErrorInfo, inputWrapClassName, inputProps, }: CustomInputProps): JSX.Element;
@@ -1,4 +1,4 @@
1
- import React, { HTMLInputTypeAttribute } from 'react';
1
+ import React, { HTMLInputTypeAttribute, InputHTMLAttributes } from 'react';
2
2
  export interface CustomInputProps {
3
3
  name: string;
4
4
  value: string | number;
@@ -27,4 +27,5 @@ export interface CustomInputProps {
27
27
  required?: boolean;
28
28
  additionalErrorInfo?: React.ReactNode;
29
29
  inputWrapClassName?: string;
30
+ inputProps?: InputHTMLAttributes<HTMLInputElement>;
30
31
  }
@@ -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";