@bizy/core 19.10.3 → 19.10.5

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.
@@ -4602,7 +4602,7 @@ class BizyPopupService {
4602
4602
  autoFocus: true,
4603
4603
  hasBackdrop: true,
4604
4604
  disableClose: data.disableClose ?? true,
4605
- panelClass: ['bizy-popup', data.customClass]
4605
+ panelClass: [!data.fullScreen ? 'bizy-popup' : '', data.customClass]
4606
4606
  }));
4607
4607
  BizyPopupService.dialogs.add(dialogRef);
4608
4608
  dialogRef.closed.pipe(take(1)).subscribe(response => {
@@ -4624,8 +4624,10 @@ class BizyPopupService {
4624
4624
  dialogRef = Array.from(BizyPopupService.dialogs).pop();
4625
4625
  }
4626
4626
  if (dialogRef) {
4627
- const nativeElement = dialogRef.overlayRef.overlayElement;
4628
- await this.#animation.setAnimation(nativeElement, BIZY_ANIMATION.SLIDE_OUT_DOWN);
4627
+ if (dialogRef.componentInstance instanceof BizyFullScreenPopupWrapperComponent) {
4628
+ const nativeElement = dialogRef.overlayRef.overlayElement;
4629
+ await this.#animation.setAnimation(nativeElement, BIZY_ANIMATION.SLIDE_OUT_DOWN);
4630
+ }
4629
4631
  dialogRef.close(data ? data.response : null);
4630
4632
  BizyPopupService.dialogs.delete(dialogRef);
4631
4633
  }