@wizishop/angular-components 15.1.135 → 15.1.136
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.
- package/angular-components.scss +11 -11
- package/esm2020/lib/components/alert-popup/alert-popup.component.mjs +6 -6
- package/fesm2015/wizishop-angular-components.mjs +5 -5
- package/fesm2015/wizishop-angular-components.mjs.map +1 -1
- package/fesm2020/wizishop-angular-components.mjs +5 -5
- package/fesm2020/wizishop-angular-components.mjs.map +1 -1
- package/lib/components/alert-popup/alert-popup.component.d.ts +3 -3
- package/package.json +1 -1
- package/wizishop-angular-components-15.1.136.tgz +0 -0
- package/wizishop-angular-components-15.1.135.tgz +0 -0
|
@@ -4599,13 +4599,13 @@ class AlertPopupComponent {
|
|
|
4599
4599
|
this.afterClosedPopup = new Subject();
|
|
4600
4600
|
this.open = false;
|
|
4601
4601
|
}
|
|
4602
|
-
|
|
4602
|
+
ngAfterViewInit() {
|
|
4603
4603
|
setTimeout(() => {
|
|
4604
4604
|
this.open = true;
|
|
4605
|
-
|
|
4606
|
-
|
|
4607
|
-
|
|
4608
|
-
}
|
|
4605
|
+
if (this.config.duration > 0) {
|
|
4606
|
+
this.timer = setTimeout(() => this.dismiss(), this.config.duration);
|
|
4607
|
+
}
|
|
4608
|
+
}, 700);
|
|
4609
4609
|
}
|
|
4610
4610
|
dismiss() {
|
|
4611
4611
|
this.open = false;
|