@masterteam/properties 0.0.78 → 0.0.79
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.
|
@@ -1920,9 +1920,9 @@ const PERCENTAGE_MAX_VALUE = 100;
|
|
|
1920
1920
|
*/
|
|
1921
1921
|
const PERCENTAGE_DEFAULT_COLOR_RULES = [
|
|
1922
1922
|
{ minValue: 0, maxValue: 25, color: '#ed2517' },
|
|
1923
|
-
{ minValue:
|
|
1924
|
-
{ minValue:
|
|
1925
|
-
{ minValue:
|
|
1923
|
+
{ minValue: 26, maxValue: 50, color: '#FFB300' },
|
|
1924
|
+
{ minValue: 51, maxValue: 75, color: '#0A5EBE' },
|
|
1925
|
+
{ minValue: 76, maxValue: 100, color: '#4caf50' },
|
|
1926
1926
|
];
|
|
1927
1927
|
const HEX_COLOR_PATTERN = /^#([0-9a-fA-F]{6}|[0-9a-fA-F]{3})$/;
|
|
1928
1928
|
function toFiniteNumber(value) {
|