@devtron-labs/devtron-fe-common-lib 0.0.95 → 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.
- package/dist/Common/Helper.d.ts +26 -5
- package/dist/{cssMode-9f91c15d.js → cssMode-a32c8906.js} +1 -1
- package/dist/{freemarker2-3b257b98.js → freemarker2-7d5f01d1.js} +1 -1
- package/dist/{handlebars-2a7d73ad.js → handlebars-c2dee640.js} +1 -1
- package/dist/{html-f6a51312.js → html-d17b1070.js} +1 -1
- package/dist/{htmlMode-e5edfcc6.js → htmlMode-1b133b78.js} +1 -1
- package/dist/{index-e596a083.js → index-1afb6f33.js} +20736 -21655
- package/dist/index.js +164 -162
- package/dist/{javascript-1403cbce.js → javascript-44504b59.js} +1 -1
- package/dist/{jsonMode-03f21445.js → jsonMode-e2dfd3f2.js} +1 -1
- package/dist/{liquid-59666598.js → liquid-72bb7213.js} +1 -1
- package/dist/{mdx-5029cce6.js → mdx-833cc2df.js} +1 -1
- package/dist/{python-ff767a2a.js → python-c2589493.js} +1 -1
- package/dist/{razor-d6c00a9a.js → razor-75bfa36c.js} +1 -1
- package/dist/{tsMode-c8c29dbb.js → tsMode-ad9463be.js} +1 -1
- package/dist/{typescript-dbd1fce9.js → typescript-ce6399e9.js} +1 -1
- package/dist/{xml-dd6977f4.js → xml-81fc5ee1.js} +1 -1
- package/dist/{yaml-9c0c9c9c.js → yaml-55745872.js} +1 -1
- package/package.json +1 -1
package/dist/Common/Helper.d.ts
CHANGED
|
@@ -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
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
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,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-
|
|
4
|
+
import { m as Ne } from "./index-1afb6f33.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-
|
|
1
|
+
import { m as F } from "./index-1afb6f33.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-
|
|
1
|
+
import { m as i } from "./index-1afb6f33.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-
|
|
1
|
+
import { m as d } from "./index-1afb6f33.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-
|
|
4
|
+
import { m as Qe } from "./index-1afb6f33.js";
|
|
5
5
|
/*!-----------------------------------------------------------------------------
|
|
6
6
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7
7
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|