@c8y/ngx-components 1011.0.8 → 1011.0.12
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/bundles/c8y-ngx-components.umd.js +2 -2
- package/bundles/c8y-ngx-components.umd.js.map +1 -1
- package/bundles/c8y-ngx-components.umd.min.js +1 -1
- package/bundles/c8y-ngx-components.umd.min.js.map +1 -1
- package/esm2015/core/range-display/range-display.component.js +3 -3
- package/fesm2015/c8y-ngx-components.js +2 -2
- package/fesm2015/c8y-ngx-components.js.map +1 -1
- package/locales/es.po +499 -109
- package/locales/fr.po +462 -71
- package/locales/ja_JP.po +458 -68
- package/locales/ko.po +460 -70
- package/locales/nl.po +461 -70
- package/locales/pl.po +493 -101
- package/locales/pt_BR.po +469 -78
- package/locales/ru.po +477 -85
- package/locales/zh_CN.po +453 -63
- package/locales/zh_TW.po +453 -64
- package/package.json +2 -2
|
@@ -18224,7 +18224,7 @@
|
|
|
18224
18224
|
if (!this.config.max) {
|
|
18225
18225
|
this.config.max = 100;
|
|
18226
18226
|
}
|
|
18227
|
-
if (this.config.fractionSize) {
|
|
18227
|
+
if (this.config.fractionSize !== undefined) {
|
|
18228
18228
|
this.config.current = parseFloat(this.config.current.toFixed(this.config.fractionSize));
|
|
18229
18229
|
}
|
|
18230
18230
|
return this.sanitizer.bypassSecurityTrustStyle("\n --range-min: " + this.config.min + ";\n --range-max: " + this.config.max + ";\n --full-range: " + (this.config.max - this.config.min) + ";\n --measurement-target: " + ((this.config.target - this.config.min) * 100) /
|
|
@@ -18246,7 +18246,7 @@
|
|
|
18246
18246
|
};
|
|
18247
18247
|
RangeDisplayComponent.prototype.rulerCalc = function (index) {
|
|
18248
18248
|
var num = this.config.min + ((this.config.max - this.config.min) / 10) * index;
|
|
18249
|
-
if (this.config.fractionSize) {
|
|
18249
|
+
if (this.config.fractionSize !== undefined) {
|
|
18250
18250
|
return parseFloat(num.toFixed(this.config.fractionSize));
|
|
18251
18251
|
}
|
|
18252
18252
|
return parseFloat(num.toFixed(2));
|