@wizishop/angular-components 14.4.15 → 14.4.20

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.
@@ -524,10 +524,7 @@ class ValueChangeService {
524
524
  }
525
525
  handleInitialSelectedOption() {
526
526
  setTimeout(() => {
527
- if (!this.value) {
528
- this.findInitialSelectedOption();
529
- return;
530
- }
527
+ this.findInitialSelectedOption();
531
528
  if (this.disabled) {
532
529
  this.optionChildren.forEach((option) => option.setDisabledState(true));
533
530
  }
@@ -565,7 +562,7 @@ class ValueChangeService {
565
562
  }
566
563
  changeSelectedOption() {
567
564
  this.optionChildren.forEach((optionComponent, index) => {
568
- optionComponent.setSelected(this.value == undefined ? false : optionComponent.value === this.value);
565
+ optionComponent.setSelected(typeof this.value === undefined ? false : optionComponent.value === this.value);
569
566
  if (optionComponent.selected) {
570
567
  this.indexSelectedOption = index;
571
568
  }
@@ -1947,7 +1944,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImpor
1947
1944
  class CalendarComponent {
1948
1945
  constructor(datePipe) {
1949
1946
  this.datePipe = datePipe;
1950
- this.boldLabel = false;
1947
+ this.boldLabel = false; // todo remove when label will be a ng-content
1951
1948
  this.type = 'input';
1952
1949
  this._options = {
1953
1950
  displayMode: 'inline',