[ADF-4713] Add new DecimalNumber Pipe to transform and localize numbers (#4926)

* [ADF-4713] Add new DecimalNumber Pipe to transform and localize numbers

* Unsubscribe from userPreference service

* Make Pipe impure

* Add documentation in localization page
This commit is contained in:
davidcanonieto
2019-07-18 11:09:50 +01:00
committed by Eugenio Romano
parent 8ee5cd1908
commit a0d4160c11
25 changed files with 457 additions and 66 deletions

View File

@@ -541,6 +541,29 @@
}
}
},
"decimalValues": {
"description": "Configuration of date formats in the app",
"type": "object",
"required": [
"minIntegerDigits",
"minFractionDigits",
"maxFractionDigits"
],
"properties": {
"minIntegerDigits": {
"description": "Minimum integer digits in number",
"type": "number"
},
"minFractionDigits": {
"description": "Minimum decimal digits in number",
"type": "number"
},
"maxFractionDigits": {
"description": "Maximum decimal digits in number",
"type": "number"
}
}
},
"files": {
"description": "Configuration of rules applied to file upload",
"type": "object",