@oliasoft-open-source/charts-library 3.5.1-beta-3 → 3.5.1-beta-5
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.
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ILineRange } from '../line-chart.interface';
|
|
1
2
|
export declare const toNum: (value: string | number) => any;
|
|
2
3
|
export declare const isLessThanMax: (value: string | number, max: string | number) => boolean;
|
|
3
4
|
export declare const isGreaterThanMin: (value: string | number, min: string | number) => boolean;
|
|
@@ -29,3 +30,10 @@ export declare const generateKey: (values: Array<any>) => string;
|
|
|
29
30
|
* @returns {boolean} - Returns true if the value is a primitive value, otherwise false.
|
|
30
31
|
*/
|
|
31
32
|
export declare const isPrimitiveValue: (value: any) => boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Validates a range object to ensure none of its properties are null, undefined, or empty strings.
|
|
35
|
+
*
|
|
36
|
+
* @param {Object} r - The range object to validate.
|
|
37
|
+
* @returns {boolean} True if all properties of the range are valid, otherwise false.
|
|
38
|
+
*/
|
|
39
|
+
export declare const isRangeValid: (r: ILineRange) => boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oliasoft-open-source/charts-library",
|
|
3
|
-
"version": "3.5.1-beta-
|
|
3
|
+
"version": "3.5.1-beta-5",
|
|
4
4
|
"description": "React Chart Library (based on Chart.js and react-chart-js-2)",
|
|
5
5
|
"homepage": "https://gitlab.com/oliasoft-open-source/charts-library",
|
|
6
6
|
"bugs": {
|