@wavemaker/angular-codegen 11.2.5-rc.5364 → 11.2.5-rc.5371
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.
|
@@ -47220,8 +47220,9 @@ class EventNotifier {
|
|
|
47220
47220
|
}
|
|
47221
47221
|
}
|
|
47222
47222
|
|
|
47223
|
-
|
|
47224
|
-
|
|
47223
|
+
let MINIMUM_MOBILE_WIDTH = 480;
|
|
47224
|
+
let MINIMUM_TAB_WIDTH = 768;
|
|
47225
|
+
let MINIMUM_LARGE_SCREEN_WIDTH = 1200;
|
|
47225
47226
|
class Viewport {
|
|
47226
47227
|
constructor() {
|
|
47227
47228
|
this.orientation = {
|
|
@@ -47286,12 +47287,16 @@ class Viewport {
|
|
|
47286
47287
|
}
|
|
47287
47288
|
}
|
|
47288
47289
|
else {
|
|
47289
|
-
|
|
47290
|
-
|
|
47290
|
+
MINIMUM_MOBILE_WIDTH = parseInt(getComputedStyle(document.documentElement).getPropertyValue('--screen-xs')) || 480;
|
|
47291
|
+
MINIMUM_TAB_WIDTH = parseInt(getComputedStyle(document.documentElement).getPropertyValue('--screen-sm')) || 768;
|
|
47292
|
+
MINIMUM_LARGE_SCREEN_WIDTH = parseInt(getComputedStyle(document.documentElement).getPropertyValue('--screen-lg')) || 1200;
|
|
47293
|
+
if (this.screenWidth >= MINIMUM_LARGE_SCREEN_WIDTH) {
|
|
47294
|
+
this.isTabletType = isAndroid() || isIos() || isAndroidTablet();
|
|
47295
|
+
this.isMobileType = false;
|
|
47296
|
+
}
|
|
47297
|
+
else if (this.screenWidth >= MINIMUM_TAB_WIDTH) {
|
|
47291
47298
|
this.type = 1 /* TABLET */;
|
|
47292
|
-
|
|
47293
|
-
this.isTabletType = true;
|
|
47294
|
-
}
|
|
47299
|
+
this.isTabletType = true;
|
|
47295
47300
|
}
|
|
47296
47301
|
else {
|
|
47297
47302
|
this.type = 0 /* MOBILE */;
|
|
@@ -43298,8 +43298,9 @@ class EventNotifier {
|
|
|
43298
43298
|
}
|
|
43299
43299
|
}
|
|
43300
43300
|
|
|
43301
|
-
|
|
43302
|
-
|
|
43301
|
+
let MINIMUM_MOBILE_WIDTH = 480;
|
|
43302
|
+
let MINIMUM_TAB_WIDTH = 768;
|
|
43303
|
+
let MINIMUM_LARGE_SCREEN_WIDTH = 1200;
|
|
43303
43304
|
class Viewport {
|
|
43304
43305
|
constructor() {
|
|
43305
43306
|
this.orientation = {
|
|
@@ -43364,12 +43365,16 @@ class Viewport {
|
|
|
43364
43365
|
}
|
|
43365
43366
|
}
|
|
43366
43367
|
else {
|
|
43367
|
-
|
|
43368
|
-
|
|
43368
|
+
MINIMUM_MOBILE_WIDTH = parseInt(getComputedStyle(document.documentElement).getPropertyValue('--screen-xs')) || 480;
|
|
43369
|
+
MINIMUM_TAB_WIDTH = parseInt(getComputedStyle(document.documentElement).getPropertyValue('--screen-sm')) || 768;
|
|
43370
|
+
MINIMUM_LARGE_SCREEN_WIDTH = parseInt(getComputedStyle(document.documentElement).getPropertyValue('--screen-lg')) || 1200;
|
|
43371
|
+
if (this.screenWidth >= MINIMUM_LARGE_SCREEN_WIDTH) {
|
|
43372
|
+
this.isTabletType = isAndroid() || isIos() || isAndroidTablet();
|
|
43373
|
+
this.isMobileType = false;
|
|
43374
|
+
}
|
|
43375
|
+
else if (this.screenWidth >= MINIMUM_TAB_WIDTH) {
|
|
43369
43376
|
this.type = 1 /* TABLET */;
|
|
43370
|
-
|
|
43371
|
-
this.isTabletType = true;
|
|
43372
|
-
}
|
|
43377
|
+
this.isTabletType = true;
|
|
43373
43378
|
}
|
|
43374
43379
|
else {
|
|
43375
43380
|
this.type = 0 /* MOBILE */;
|
|
@@ -43298,8 +43298,9 @@ class EventNotifier {
|
|
|
43298
43298
|
}
|
|
43299
43299
|
}
|
|
43300
43300
|
|
|
43301
|
-
|
|
43302
|
-
|
|
43301
|
+
let MINIMUM_MOBILE_WIDTH = 480;
|
|
43302
|
+
let MINIMUM_TAB_WIDTH = 768;
|
|
43303
|
+
let MINIMUM_LARGE_SCREEN_WIDTH = 1200;
|
|
43303
43304
|
class Viewport {
|
|
43304
43305
|
constructor() {
|
|
43305
43306
|
this.orientation = {
|
|
@@ -43364,12 +43365,16 @@ class Viewport {
|
|
|
43364
43365
|
}
|
|
43365
43366
|
}
|
|
43366
43367
|
else {
|
|
43367
|
-
|
|
43368
|
-
|
|
43368
|
+
MINIMUM_MOBILE_WIDTH = parseInt(getComputedStyle(document.documentElement).getPropertyValue('--screen-xs')) || 480;
|
|
43369
|
+
MINIMUM_TAB_WIDTH = parseInt(getComputedStyle(document.documentElement).getPropertyValue('--screen-sm')) || 768;
|
|
43370
|
+
MINIMUM_LARGE_SCREEN_WIDTH = parseInt(getComputedStyle(document.documentElement).getPropertyValue('--screen-lg')) || 1200;
|
|
43371
|
+
if (this.screenWidth >= MINIMUM_LARGE_SCREEN_WIDTH) {
|
|
43372
|
+
this.isTabletType = isAndroid() || isIos() || isAndroidTablet();
|
|
43373
|
+
this.isMobileType = false;
|
|
43374
|
+
}
|
|
43375
|
+
else if (this.screenWidth >= MINIMUM_TAB_WIDTH) {
|
|
43369
43376
|
this.type = 1 /* TABLET */;
|
|
43370
|
-
|
|
43371
|
-
this.isTabletType = true;
|
|
43372
|
-
}
|
|
43377
|
+
this.isTabletType = true;
|
|
43373
43378
|
}
|
|
43374
43379
|
else {
|
|
43375
43380
|
this.type = 0 /* MOBILE */;
|