@banta/sdk 4.6.11 → 4.6.12
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/bundles/banta-sdk.umd.js +3 -5
- package/bundles/banta-sdk.umd.js.map +1 -1
- package/bundles/banta-sdk.umd.min.js +1 -1
- package/bundles/banta-sdk.umd.min.js.map +1 -1
- package/esm2015/lib/comments/banta-comments/banta-comments.component.js +4 -2
- package/fesm2015/banta-sdk.js +3 -1
- package/fesm2015/banta-sdk.js.map +1 -1
- package/lib/comments/banta-comments/banta-comments.component.d.ts +1 -1
- package/package.json +1 -1
package/bundles/banta-sdk.umd.js
CHANGED
|
@@ -9224,6 +9224,7 @@
|
|
|
9224
9224
|
this.activatedRoute = activatedRoute;
|
|
9225
9225
|
this.matSnackBar = matSnackBar;
|
|
9226
9226
|
this.ngZone = ngZone;
|
|
9227
|
+
this.isMobileSized = false;
|
|
9227
9228
|
this.viewReady = new Promise(function (r) { return _this.markViewReady = r; });
|
|
9228
9229
|
// Loading Screen
|
|
9229
9230
|
this._loadingMessage = '';
|
|
@@ -9381,11 +9382,6 @@
|
|
|
9381
9382
|
}
|
|
9382
9383
|
}
|
|
9383
9384
|
};
|
|
9384
|
-
Object.defineProperty(BantaCommentsComponent.prototype, "isMobileSized", {
|
|
9385
|
-
get: function () { return this.width < 500; },
|
|
9386
|
-
enumerable: false,
|
|
9387
|
-
configurable: true
|
|
9388
|
-
});
|
|
9389
9385
|
BantaCommentsComponent.prototype.ngAfterViewInit = function () {
|
|
9390
9386
|
var _this = this;
|
|
9391
9387
|
if (typeof window !== 'undefined') {
|
|
@@ -9394,6 +9390,7 @@
|
|
|
9394
9390
|
_this.ngZone.run(function () {
|
|
9395
9391
|
_this.width = size.width;
|
|
9396
9392
|
_this.height = size.height;
|
|
9393
|
+
_this.isMobileSized = _this.width < 500;
|
|
9397
9394
|
});
|
|
9398
9395
|
};
|
|
9399
9396
|
if (typeof ResizeObserver !== 'undefined') {
|
|
@@ -9405,6 +9402,7 @@
|
|
|
9405
9402
|
setTimeout(function () {
|
|
9406
9403
|
_this.width = _this.elementRef.nativeElement.clientWidth;
|
|
9407
9404
|
_this.height = _this.elementRef.nativeElement.clientHeight;
|
|
9405
|
+
_this.isMobileSized = _this.width < 500;
|
|
9408
9406
|
}, 1000);
|
|
9409
9407
|
}
|
|
9410
9408
|
callback();
|