@wavemaker/angular-codegen 11.4.2-next.25751 → 11.4.2-next.25753

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.
@@ -5960,9 +5960,9 @@
5960
5960
  }
5961
5961
  },
5962
5962
  "@wavemaker/variables": {
5963
- "version": "11.4.2-next.25751",
5964
- "resolved": "https://registry.npmjs.org/@wavemaker/variables/-/variables-11.4.2-next.25751.tgz",
5965
- "integrity": "sha512-3e4SLOEZE9pVLXC+dFr5it0rMHGSziZfZx2EJauhFjtkHPXdQuZ/rhLkM28WeOXwPOH++WVeegOqlMXoDdjWgA==",
5963
+ "version": "11.4.2-next.25753",
5964
+ "resolved": "https://registry.npmjs.org/@wavemaker/variables/-/variables-11.4.2-next.25753.tgz",
5965
+ "integrity": "sha512-ZmE7QvmaJ6iGZ7fEZH0pxKnPRaoy+QcD3wuanTKFlo9mMKnuVnTYa4ix7M8lLOW9Kyno0bAjc8+vFWyy5VCrqQ==",
5966
5966
  "requires": {
5967
5967
  "@metrichor/jmespath": "^0.3.1",
5968
5968
  "he": "^1.2.0",
@@ -47,7 +47,7 @@
47
47
  "@metrichor/jmespath": "^0.3.1",
48
48
  "@wavemaker.com/nvd3": "1.0.0",
49
49
  "@wavemaker/focus-trap": "^1.0.0",
50
- "@wavemaker/variables": "11.4.2-next.25751",
50
+ "@wavemaker/variables": "11.4.2-next.25753",
51
51
  "@ztree/ztree_v3": "^3.5.48",
52
52
  "angular-imask": "6.0.4",
53
53
  "angular2-websocket": "0.9.7",
@@ -72,7 +72,7 @@
72
72
  "tslib": "^2.0.0",
73
73
  "x2js": "3.2.6",
74
74
  "zone.js": "~0.11.4",
75
- "@wavemaker/app-ng-runtime": "11.4.2-next.25751"
75
+ "@wavemaker/app-ng-runtime": "11.4.2-next.25753"
76
76
  },
77
77
  "devDependencies": {
78
78
  "@ampproject/rollup-plugin-closure-compiler": "0.8.5",
@@ -47231,6 +47231,7 @@ class EventNotifier {
47231
47231
 
47232
47232
  let MINIMUM_MOBILE_WIDTH = 480;
47233
47233
  let MINIMUM_TAB_WIDTH = 768;
47234
+ let MINIMUM_LARGE_SCREEN_WIDTH = 1200;
47234
47235
  class Viewport {
47235
47236
  constructor() {
47236
47237
  this.orientation = {
@@ -47297,12 +47298,14 @@ class Viewport {
47297
47298
  else {
47298
47299
  MINIMUM_MOBILE_WIDTH = parseInt(getComputedStyle(document.documentElement).getPropertyValue('--screen-xs')) || 480;
47299
47300
  MINIMUM_TAB_WIDTH = parseInt(getComputedStyle(document.documentElement).getPropertyValue('--screen-sm')) || 768;
47300
- // Tablet specification: min >= 480 max >= 768
47301
- if (minValue >= MINIMUM_MOBILE_WIDTH && maxValue >= MINIMUM_TAB_WIDTH) {
47301
+ MINIMUM_LARGE_SCREEN_WIDTH = parseInt(getComputedStyle(document.documentElement).getPropertyValue('--screen-lg')) || 1200;
47302
+ if (this.screenWidth >= MINIMUM_LARGE_SCREEN_WIDTH) {
47303
+ this.isTabletType = isAndroid() || isIos() || isAndroidTablet();
47304
+ this.isMobileType = false;
47305
+ }
47306
+ else if (this.screenWidth >= MINIMUM_TAB_WIDTH) {
47302
47307
  this.type = 1 /* TABLET */;
47303
- if (isAndroid() || isIos() || isAndroidTablet()) {
47304
- this.isTabletType = true;
47305
- }
47308
+ this.isTabletType = true;
47306
47309
  }
47307
47310
  else {
47308
47311
  this.type = 0 /* MOBILE */;
@@ -43309,6 +43309,7 @@ class EventNotifier {
43309
43309
 
43310
43310
  let MINIMUM_MOBILE_WIDTH = 480;
43311
43311
  let MINIMUM_TAB_WIDTH = 768;
43312
+ let MINIMUM_LARGE_SCREEN_WIDTH = 1200;
43312
43313
  class Viewport {
43313
43314
  constructor() {
43314
43315
  this.orientation = {
@@ -43375,12 +43376,14 @@ class Viewport {
43375
43376
  else {
43376
43377
  MINIMUM_MOBILE_WIDTH = parseInt(getComputedStyle(document.documentElement).getPropertyValue('--screen-xs')) || 480;
43377
43378
  MINIMUM_TAB_WIDTH = parseInt(getComputedStyle(document.documentElement).getPropertyValue('--screen-sm')) || 768;
43378
- // Tablet specification: min >= 480 max >= 768
43379
- if (minValue >= MINIMUM_MOBILE_WIDTH && maxValue >= MINIMUM_TAB_WIDTH) {
43379
+ MINIMUM_LARGE_SCREEN_WIDTH = parseInt(getComputedStyle(document.documentElement).getPropertyValue('--screen-lg')) || 1200;
43380
+ if (this.screenWidth >= MINIMUM_LARGE_SCREEN_WIDTH) {
43381
+ this.isTabletType = isAndroid() || isIos() || isAndroidTablet();
43382
+ this.isMobileType = false;
43383
+ }
43384
+ else if (this.screenWidth >= MINIMUM_TAB_WIDTH) {
43380
43385
  this.type = 1 /* TABLET */;
43381
- if (isAndroid() || isIos() || isAndroidTablet()) {
43382
- this.isTabletType = true;
43383
- }
43386
+ this.isTabletType = true;
43384
43387
  }
43385
43388
  else {
43386
43389
  this.type = 0 /* MOBILE */;
@@ -43309,6 +43309,7 @@ class EventNotifier {
43309
43309
 
43310
43310
  let MINIMUM_MOBILE_WIDTH = 480;
43311
43311
  let MINIMUM_TAB_WIDTH = 768;
43312
+ let MINIMUM_LARGE_SCREEN_WIDTH = 1200;
43312
43313
  class Viewport {
43313
43314
  constructor() {
43314
43315
  this.orientation = {
@@ -43375,12 +43376,14 @@ class Viewport {
43375
43376
  else {
43376
43377
  MINIMUM_MOBILE_WIDTH = parseInt(getComputedStyle(document.documentElement).getPropertyValue('--screen-xs')) || 480;
43377
43378
  MINIMUM_TAB_WIDTH = parseInt(getComputedStyle(document.documentElement).getPropertyValue('--screen-sm')) || 768;
43378
- // Tablet specification: min >= 480 max >= 768
43379
- if (minValue >= MINIMUM_MOBILE_WIDTH && maxValue >= MINIMUM_TAB_WIDTH) {
43379
+ MINIMUM_LARGE_SCREEN_WIDTH = parseInt(getComputedStyle(document.documentElement).getPropertyValue('--screen-lg')) || 1200;
43380
+ if (this.screenWidth >= MINIMUM_LARGE_SCREEN_WIDTH) {
43381
+ this.isTabletType = isAndroid() || isIos() || isAndroidTablet();
43382
+ this.isMobileType = false;
43383
+ }
43384
+ else if (this.screenWidth >= MINIMUM_TAB_WIDTH) {
43380
43385
  this.type = 1 /* TABLET */;
43381
- if (isAndroid() || isIos() || isAndroidTablet()) {
43382
- this.isTabletType = true;
43383
- }
43386
+ this.isTabletType = true;
43384
43387
  }
43385
43388
  else {
43386
43389
  this.type = 0 /* MOBILE */;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wavemaker/angular-codegen",
3
- "version": "11.4.2-next.25751",
3
+ "version": "11.4.2-next.25753",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {