@devtron-labs/devtron-fe-common-lib 0.0.95-beta-3 → 0.0.95-beta-4

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 +29 -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-66f743a1.js → cssMode-1862716e.js} +1 -1
  7. package/dist/{freemarker2-224483a0.js → freemarker2-caab396c.js} +1 -1
  8. package/dist/{handlebars-ef5ff4d4.js → handlebars-edc8271e.js} +1 -1
  9. package/dist/{html-5b2a32ce.js → html-bb99dd0b.js} +1 -1
  10. package/dist/{htmlMode-e8b04ecd.js → htmlMode-bd81806d.js} +1 -1
  11. package/dist/{index-d1dc748d.js → index-059e8326.js} +22615 -23738
  12. package/dist/index.js +407 -410
  13. package/dist/{javascript-9dd25075.js → javascript-a86cbb28.js} +1 -1
  14. package/dist/{jsonMode-f9949caf.js → jsonMode-253de276.js} +1 -1
  15. package/dist/{liquid-4b43b6c4.js → liquid-ef9d9dc0.js} +1 -1
  16. package/dist/{mdx-e9c38b5b.js → mdx-7b723dd9.js} +1 -1
  17. package/dist/{python-88a4d8d9.js → python-7da494be.js} +1 -1
  18. package/dist/{razor-288862b7.js → razor-a95b4e87.js} +1 -1
  19. package/dist/{tsMode-2bd8b23b.js → tsMode-9446e987.js} +1 -1
  20. package/dist/{typescript-98fe116f.js → typescript-b4d69083.js} +1 -1
  21. package/dist/{xml-ce345a71.js → xml-aff24292.js} +1 -1
  22. package/dist/{yaml-21566792.js → yaml-e747eb9a.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,35 @@ 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
+ * This function takes a list of strings and checks if the strings
65
+ * have prefix matches in the list of prefixes
66
+ * @param strings check if a @string has a prefix match in @prefixes
67
+ * @param prefixes list of prefixes
68
+ * @returns array of booleans corresponding to each string in @strings
69
+ */
70
+ export declare const getPrefixMatches: (strings: string[], prefixes: string[]) => boolean[];
71
+ /**
72
+ * Merges @objects into one
73
+ * @param objects list of js objects
74
+ * @returns object after the merge
75
+ */
76
+ export declare const joinObjects: (objects: object[]) => {};
77
+ /**
78
+ * Builds an object from the provided @path
79
+ * @param path JSON pointer path of the form /path/to/1/...
80
+ * @param value property value
81
+ * @returns final object formed from the path
82
+ */
83
+ export declare const buildObjectFromPath: (path: string, value: any) => any;
84
+ /**
85
+ * Returns the list of indices at which the regex matched
86
+ * @param string the string to process
87
+ * @param regex @RegExp
88
+ * @returns array of indices where the @regex matched in @string
89
+ */
90
+ export declare const getRegexMatchPositions: (string: string, regex: RegExp) => number[];
91
+ export declare const powerSetOfSubstringsFromStart: (strings: string[]) => string[];
68
92
  /**
69
93
  * Returns a debounced variant of the function
70
94
  */
@@ -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';