@openmrs/ngx-formentry 4.0.1-pre.293 → 4.0.1-pre.297

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.
@@ -5693,7 +5693,7 @@ class OwlDateTimeContainerComponent {
5693
5693
  handleContainerAnimationDone(event) {
5694
5694
  const toState = event.toState;
5695
5695
  if (toState === 'enter') {
5696
- this.pickerOpened$.next();
5696
+ this.pickerOpened$.next(true);
5697
5697
  }
5698
5698
  }
5699
5699
  get hidePickerStream() {
@@ -6259,7 +6259,7 @@ class OwlDialogRef {
6259
6259
  this.container.animationStateChanged
6260
6260
  .pipe(filter((event) => event.phaseName === 'done' && event.toState === 'enter'), take(1))
6261
6261
  .subscribe(() => {
6262
- this._afterOpen$.next();
6262
+ this._afterOpen$.next(true);
6263
6263
  this._afterOpen$.complete();
6264
6264
  });
6265
6265
  this.container.animationStateChanged
@@ -7384,13 +7384,13 @@ class OwlDateTimeTriggerDirective {
7384
7384
  }
7385
7385
  watchStateChanges() {
7386
7386
  this.stateChanges.unsubscribe();
7387
- const inputDisabled = this.dtPicker && this.dtPicker.dtInput
7387
+ const inputDisabled$ = this.dtPicker && this.dtPicker.dtInput
7388
7388
  ? this.dtPicker.dtInput.disabledChange
7389
- : of();
7390
- const pickerDisabled = this.dtPicker
7389
+ : of(false);
7390
+ const pickerDisabled$ = this.dtPicker
7391
7391
  ? this.dtPicker.disabledChange
7392
- : of();
7393
- this.stateChanges = merge(pickerDisabled, inputDisabled).subscribe(() => {
7392
+ : of(false);
7393
+ this.stateChanges = merge(pickerDisabled$, inputDisabled$).subscribe(() => {
7394
7394
  this.changeDetector.markForCheck();
7395
7395
  });
7396
7396
  }