@wavemaker/app-ng-runtime 11.4.2-next.25752 → 11.4.2-next.25754

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.
@@ -4518,7 +4518,7 @@
4518
4518
 
4519
4519
  var MINIMUM_MOBILE_WIDTH = 480;
4520
4520
  var MINIMUM_TAB_WIDTH = 768;
4521
- var MINIMUM_LARGE_SCREEN_WIDTH = 1280;
4521
+ var MINIMUM_LARGE_SCREEN_WIDTH = 1200;
4522
4522
  var IViewportService = /** @class */ (function () {
4523
4523
  function IViewportService() {
4524
4524
  }
@@ -4595,12 +4595,14 @@
4595
4595
  else {
4596
4596
  MINIMUM_MOBILE_WIDTH = parseInt(getComputedStyle(document.documentElement).getPropertyValue('--screen-xs')) || 480;
4597
4597
  MINIMUM_TAB_WIDTH = parseInt(getComputedStyle(document.documentElement).getPropertyValue('--screen-sm')) || 768;
4598
- // Tablet specification: min >= 480 max >= 768
4599
- if (minValue >= MINIMUM_MOBILE_WIDTH && maxValue >= MINIMUM_TAB_WIDTH) {
4598
+ MINIMUM_LARGE_SCREEN_WIDTH = parseInt(getComputedStyle(document.documentElement).getPropertyValue('--screen-lg')) || 1200;
4599
+ if (this.screenWidth >= MINIMUM_LARGE_SCREEN_WIDTH) {
4600
+ this.isTabletType = isAndroid() || isIos() || isAndroidTablet();
4601
+ this.isMobileType = false;
4602
+ }
4603
+ else if (this.screenWidth >= MINIMUM_TAB_WIDTH) {
4600
4604
  this.type = 1 /* TABLET */;
4601
- if (isAndroid() || isIos() || isAndroidTablet()) {
4602
- this.isTabletType = true;
4603
- }
4605
+ this.isTabletType = true;
4604
4606
  }
4605
4607
  else {
4606
4608
  this.type = 0 /* MOBILE */;