@ardium-ui/ui 5.0.0-alpha.103 → 5.0.0-alpha.105

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.
@@ -700,7 +700,7 @@ class NumberInputModel {
700
700
  v = v.replace(/^0+/, '');
701
701
  }
702
702
  // apply fixed decimal places if configured
703
- if (this._ardHostCmp.fixedDecimalPlaces()) {
703
+ if (this._ardHostCmp.allowFloat() && this._ardHostCmp.fixedDecimalPlaces()) {
704
704
  v = this._fixDecimalPlaces(v);
705
705
  }
706
706
  this.setValue(v);
@@ -9621,11 +9621,13 @@ class ArdiumMultipageDateRangeInputComponent extends _AbstractDateInput {
9621
9621
  }
9622
9622
  }
9623
9623
  return {
9624
- location: i === 0
9625
- ? ArdMultiCalendarLocation.Left
9626
- : i === arr.length - 1
9627
- ? ArdMultiCalendarLocation.Right
9628
- : ArdMultiCalendarLocation.Inner,
9624
+ location: arr.length === 1
9625
+ ? ArdMultiCalendarLocation.Only
9626
+ : i === 0
9627
+ ? ArdMultiCalendarLocation.Left
9628
+ : i === arr.length - 1
9629
+ ? ArdMultiCalendarLocation.Right
9630
+ : ArdMultiCalendarLocation.Inner,
9629
9631
  activeDate,
9630
9632
  highlightedDay,
9631
9633
  };