@osovitny/anatoly 3.19.48 → 3.19.49
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.
|
@@ -21,9 +21,8 @@ import { TranslateHttpLoader } from '@ngx-translate/http-loader';
|
|
|
21
21
|
import Swal from 'sweetalert2';
|
|
22
22
|
import * as i1$5 from 'ngx-toastr';
|
|
23
23
|
import { ToastrModule } from 'ngx-toastr';
|
|
24
|
-
import * as i2 from '@angular/cdk/layout';
|
|
25
|
-
import { Breakpoints } from '@angular/cdk/layout';
|
|
26
24
|
import * as i1$6 from '@angular/cdk/platform';
|
|
25
|
+
import * as i2 from '@angular/cdk/layout';
|
|
27
26
|
import * as i1$7 from '@angular/platform-browser';
|
|
28
27
|
import * as i2$1 from '@angular/forms';
|
|
29
28
|
import { FormControl, Validators, ReactiveFormsModule, FormsModule } from '@angular/forms';
|
|
@@ -3497,24 +3496,29 @@ class BrowserService {
|
|
|
3497
3496
|
constructor(platform, breakpointObserver) {
|
|
3498
3497
|
this.platform = platform;
|
|
3499
3498
|
this.breakpointObserver = breakpointObserver;
|
|
3500
|
-
|
|
3501
|
-
|
|
3502
|
-
|
|
3503
|
-
|
|
3499
|
+
/*
|
|
3500
|
+
private isMobileScreen = false;
|
|
3501
|
+
private isTabletScreen = false;
|
|
3502
|
+
*/
|
|
3503
|
+
//updated
|
|
3504
3504
|
this._updated = new BehaviorSubject(null);
|
|
3505
3505
|
this.updated$ = this._updated.asObservable();
|
|
3506
3506
|
this.init();
|
|
3507
3507
|
}
|
|
3508
3508
|
init() {
|
|
3509
|
-
|
|
3509
|
+
/*
|
|
3510
3510
|
this.breakpointObserver
|
|
3511
|
-
|
|
3512
|
-
|
|
3511
|
+
.observe([Breakpoints.Handset, Breakpoints.Tablet])
|
|
3512
|
+
.subscribe(result => {
|
|
3513
3513
|
const breakpoints = result.breakpoints;
|
|
3514
|
+
|
|
3514
3515
|
this.isMobileScreen = breakpoints[Breakpoints.Handset] || false;
|
|
3515
3516
|
this.isTabletScreen = breakpoints[Breakpoints.Tablet] || false;
|
|
3517
|
+
|
|
3516
3518
|
this.fireUpdated();
|
|
3517
|
-
|
|
3519
|
+
});
|
|
3520
|
+
*/
|
|
3521
|
+
this.fireUpdated();
|
|
3518
3522
|
}
|
|
3519
3523
|
fireUpdated() {
|
|
3520
3524
|
this._updated.next(null);
|