@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.
@@ -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));