@devtron-labs/devtron-fe-common-lib 0.0.96-beta-1 → 0.0.96-beta-2

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.
@@ -86,6 +86,14 @@ export declare const buildObjectFromPath: (path: string, value: any) => any;
86
86
  * @returns array of indices where the @regex matched in @string
87
87
  */
88
88
  export declare const getRegexMatchPositions: (string: string, regex: RegExp) => number[];
89
+ /**
90
+ * Returns all the substrings from 0th index to progressively next regex match position
91
+ * Eg. Suppose a string is /path/to/folder then it will return [/path, /path/to, /path/to/folder]
92
+ * @param strings list of strings
93
+ * @param regex that matches the separators for the substrings
94
+ * @returns set of substrings
95
+ */
96
+ export declare const powerSetOfSubstringsFromStart: (strings: string[], regex: RegExp) => string[];
89
97
  /**
90
98
  * Returns a debounced variant of the function
91
99
  */
@@ -1,7 +1,7 @@
1
1
  var Le = Object.defineProperty;
2
2
  var je = (e, n, i) => n in e ? Le(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
3
3
  var k = (e, n, i) => (je(e, typeof n != "symbol" ? n + "" : n, i), i);
4
- import { m as Ne } from "./index-1afb6f33.js";
4
+ import { m as Ne } from "./index-7bca5b17.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 F } from "./index-1afb6f33.js";
1
+ import { m as F } from "./index-7bca5b17.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-1afb6f33.js";
1
+ import { m as i } from "./index-7bca5b17.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-1afb6f33.js";
1
+ import { m as d } from "./index-7bca5b17.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 $e = Object.defineProperty;
2
2
  var qe = (e, n, i) => n in e ? $e(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
3
3
  var k = (e, n, i) => (qe(e, typeof n != "symbol" ? n + "" : n, i), i);
4
- import { m as Qe } from "./index-1afb6f33.js";
4
+ import { m as Qe } from "./index-7bca5b17.js";
5
5
  /*!-----------------------------------------------------------------------------
6
6
  * Copyright (c) Microsoft Corporation. All rights reserved.
7
7
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)