@devtron-labs/devtron-fe-common-lib 0.0.95-beta-7 → 0.0.96-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 (38) hide show
  1. package/dist/Common/Helper.d.ts +26 -5
  2. package/dist/Common/Reload.d.ts +0 -3
  3. package/dist/Shared/Components/index.d.ts +0 -4
  4. package/dist/Shared/Services/index.d.ts +0 -2
  5. package/dist/assets/index.css +1 -1
  6. package/dist/{cssMode-55540cfb.js → cssMode-a32c8906.js} +1 -1
  7. package/dist/{freemarker2-2f7d677e.js → freemarker2-7d5f01d1.js} +1 -1
  8. package/dist/{handlebars-037c7ae3.js → handlebars-c2dee640.js} +1 -1
  9. package/dist/{html-1c36e1c4.js → html-d17b1070.js} +1 -1
  10. package/dist/{htmlMode-1f090173.js → htmlMode-1b133b78.js} +1 -1
  11. package/dist/{index-e5a62975.js → index-1afb6f33.js} +22601 -23739
  12. package/dist/index.js +406 -410
  13. package/dist/{javascript-26438d0f.js → javascript-44504b59.js} +1 -1
  14. package/dist/{jsonMode-e0fe3517.js → jsonMode-e2dfd3f2.js} +1 -1
  15. package/dist/{liquid-19e45287.js → liquid-72bb7213.js} +1 -1
  16. package/dist/{mdx-8d7ca125.js → mdx-833cc2df.js} +1 -1
  17. package/dist/{python-5cb1b3c0.js → python-c2589493.js} +1 -1
  18. package/dist/{razor-74d3225d.js → razor-75bfa36c.js} +1 -1
  19. package/dist/{tsMode-d3cd0798.js → tsMode-ad9463be.js} +1 -1
  20. package/dist/{typescript-1dbc960c.js → typescript-ce6399e9.js} +1 -1
  21. package/dist/{xml-d94b1f08.js → xml-81fc5ee1.js} +1 -1
  22. package/dist/{yaml-701af79d.js → yaml-55745872.js} +1 -1
  23. package/package.json +1 -1
  24. package/dist/Shared/Components/ArtifactInfoModal/ArtifactInfoModal.component.d.ts +0 -4
  25. package/dist/Shared/Components/ArtifactInfoModal/index.d.ts +0 -2
  26. package/dist/Shared/Components/ArtifactInfoModal/types.d.ts +0 -15
  27. package/dist/Shared/Components/CommitChipCell/CommitChipCell.d.ts +0 -4
  28. package/dist/Shared/Components/CommitChipCell/index.d.ts +0 -2
  29. package/dist/Shared/Components/CommitChipCell/types.d.ts +0 -6
  30. package/dist/Shared/Components/ImageChipCell/ImageChipCell.component.d.ts +0 -4
  31. package/dist/Shared/Components/ImageChipCell/index.d.ts +0 -2
  32. package/dist/Shared/Components/ImageChipCell/types.d.ts +0 -9
  33. package/dist/Shared/Components/MaterialHistory/MaterialHistory.component.d.ts +0 -4
  34. package/dist/Shared/Components/MaterialHistory/index.d.ts +0 -2
  35. package/dist/Shared/Components/MaterialHistory/types.d.ts +0 -8
  36. package/dist/Shared/Services/app.service.d.ts +0 -7
  37. package/dist/Shared/Services/app.types.d.ts +0 -96
  38. package/dist/Shared/Services/utils.d.ts +0 -3
@@ -60,11 +60,32 @@ export declare const customStyles: {
60
60
  dropdownIndicator: (base: any, state: any) => any;
61
61
  };
62
62
  export declare const getFilteredChartVersions: (charts: any, selectedChartType: any) => any;
63
- export declare function getUnlockedJSON(json: any, jsonPathArray: any, removeParentKeysAndEmptyArrays?: boolean): {
64
- newDocument: any;
65
- removedPatches: any[];
66
- };
67
- export declare function getLockedJSON(json: any, jsonPathArray: string[]): any;
63
+ /**
64
+ * Removes nulls from the arrays in the provided object
65
+ * @param {object} object from which we need to delete nulls in its arrays
66
+ * @returns object after removing (in-place) the null items in arrays
67
+ */
68
+ export declare const recursivelyRemoveNullsFromArraysInObject: (object: object) => object;
69
+ /**
70
+ * Merges the objects into one object
71
+ * @param {object[]} objects list of js objects
72
+ * @returns object after the merge
73
+ */
74
+ export declare const joinObjects: (objects: object[]) => {};
75
+ /**
76
+ * Builds an object from the provided path
77
+ * @param {string} path JSON pointer path of the form /path/to/1/...
78
+ * @param {any} value property value
79
+ * @returns final object formed from the path
80
+ */
81
+ export declare const buildObjectFromPath: (path: string, value: any) => any;
82
+ /**
83
+ * Returns the list of indices at which the regex matched
84
+ * @param string the string to process
85
+ * @param regex @RegExp
86
+ * @returns array of indices where the @regex matched in @string
87
+ */
88
+ export declare const getRegexMatchPositions: (string: string, regex: RegExp) => number[];
68
89
  /**
69
90
  * Returns a debounced variant of the function
70
91
  */
@@ -1,6 +1,3 @@
1
1
  import { ReloadType } from './Types';
2
2
 
3
- /**
4
- * @deprecated Use APIResponseHandler (Preferred) or error screen manager instead
5
- */
6
3
  export default function Reload({ reload, className, heightToDeduct }: ReloadType): JSX.Element;
@@ -24,8 +24,4 @@ export * from './FeatureDescription';
24
24
  export * from './CICDHistory';
25
25
  export * from './GitCommitInfoGeneric';
26
26
  export * from './Error';
27
- export * from './CommitChipCell';
28
- export * from './ImageChipCell';
29
- export * from './ArtifactInfoModal';
30
- export * from './MaterialHistory';
31
27
  export * from './IframeContainer';
@@ -1,4 +1,2 @@
1
1
  export * from './types';
2
- export * from './app.types';
3
- export * from './app.service';
4
2
  export * from './common.service';