@wavemaker/angular-codegen 11.5.0-next.40003 → 11.5.0-next.40301
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.
- angular-codegen/angular-app/angular.json +0 -2
- angular-codegen/angular-app/package-lock.json +3 -3
- angular-codegen/angular-app/package.json +2 -2
- angular-codegen/angular-app/src/assets/styles/css/wm-style.css +1 -1
- angular-codegen/dependencies/pipe-provider.cjs.js +7 -12
- angular-codegen/dependencies/transpilation-mobile.cjs.js +7 -12
- angular-codegen/dependencies/transpilation-web.cjs.js +7 -12
- angular-codegen/package.json +1 -1
|
@@ -46992,7 +46992,7 @@ const VALIDATOR = {
|
|
|
46992
46992
|
EXCLUDEDAYS: 'excludedays'
|
|
46993
46993
|
};
|
|
46994
46994
|
const transformFileURI = (url) => {
|
|
46995
|
-
if (
|
|
46995
|
+
if (url && hasCordova() && url.startsWith('file://')) {
|
|
46996
46996
|
if (isIos()) {
|
|
46997
46997
|
return url.replace('file://', '/_app_file_');
|
|
46998
46998
|
}
|
|
@@ -47231,7 +47231,6 @@ 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;
|
|
47235
47234
|
class Viewport {
|
|
47236
47235
|
constructor() {
|
|
47237
47236
|
this.orientation = {
|
|
@@ -47298,14 +47297,12 @@ class Viewport {
|
|
|
47298
47297
|
else {
|
|
47299
47298
|
MINIMUM_MOBILE_WIDTH = parseInt(getComputedStyle(document.documentElement).getPropertyValue('--screen-xs')) || 480;
|
|
47300
47299
|
MINIMUM_TAB_WIDTH = parseInt(getComputedStyle(document.documentElement).getPropertyValue('--screen-sm')) || 768;
|
|
47301
|
-
|
|
47302
|
-
if (
|
|
47303
|
-
this.isTabletType = isAndroid() || isIos() || isAndroidTablet();
|
|
47304
|
-
this.isMobileType = false;
|
|
47305
|
-
}
|
|
47306
|
-
else if (this.screenWidth >= MINIMUM_TAB_WIDTH) {
|
|
47300
|
+
// Tablet specification: min >= 480 max >= 768
|
|
47301
|
+
if (minValue >= MINIMUM_MOBILE_WIDTH && maxValue >= MINIMUM_TAB_WIDTH) {
|
|
47307
47302
|
this.type = 1 /* TABLET */;
|
|
47308
|
-
|
|
47303
|
+
if (isAndroid() || isIos() || isAndroidTablet()) {
|
|
47304
|
+
this.isTabletType = true;
|
|
47305
|
+
}
|
|
47309
47306
|
}
|
|
47310
47307
|
else {
|
|
47311
47308
|
this.type = 0 /* MOBILE */;
|
|
@@ -47873,9 +47870,7 @@ class StatePersistence {
|
|
|
47873
47870
|
if (!_.get(parsedObj, [stateParam]) && !_.get(parsedObj, key)) {
|
|
47874
47871
|
return;
|
|
47875
47872
|
}
|
|
47876
|
-
|
|
47877
|
-
// _.get(parsedObj, stateParam + '.' + key) is undefined so using (parsedObj && parsedObj[stateParam] && parsedObj[stateParam][key]) condition.
|
|
47878
|
-
if (_.get(parsedObj, stateParam + '.' + key) || (parsedObj && parsedObj[stateParam] && parsedObj[stateParam][key])) {
|
|
47873
|
+
if (_.get(parsedObj, stateParam + '.' + key)) {
|
|
47879
47874
|
if (subParam) {
|
|
47880
47875
|
delete parsedObj[stateParam][key][subParam];
|
|
47881
47876
|
}
|
|
@@ -43070,7 +43070,7 @@ const VALIDATOR = {
|
|
|
43070
43070
|
EXCLUDEDAYS: 'excludedays'
|
|
43071
43071
|
};
|
|
43072
43072
|
const transformFileURI = (url) => {
|
|
43073
|
-
if (
|
|
43073
|
+
if (url && hasCordova() && url.startsWith('file://')) {
|
|
43074
43074
|
if (isIos()) {
|
|
43075
43075
|
return url.replace('file://', '/_app_file_');
|
|
43076
43076
|
}
|
|
@@ -43309,7 +43309,6 @@ 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;
|
|
43313
43312
|
class Viewport {
|
|
43314
43313
|
constructor() {
|
|
43315
43314
|
this.orientation = {
|
|
@@ -43376,14 +43375,12 @@ class Viewport {
|
|
|
43376
43375
|
else {
|
|
43377
43376
|
MINIMUM_MOBILE_WIDTH = parseInt(getComputedStyle(document.documentElement).getPropertyValue('--screen-xs')) || 480;
|
|
43378
43377
|
MINIMUM_TAB_WIDTH = parseInt(getComputedStyle(document.documentElement).getPropertyValue('--screen-sm')) || 768;
|
|
43379
|
-
|
|
43380
|
-
if (
|
|
43381
|
-
this.isTabletType = isAndroid() || isIos() || isAndroidTablet();
|
|
43382
|
-
this.isMobileType = false;
|
|
43383
|
-
}
|
|
43384
|
-
else if (this.screenWidth >= MINIMUM_TAB_WIDTH) {
|
|
43378
|
+
// Tablet specification: min >= 480 max >= 768
|
|
43379
|
+
if (minValue >= MINIMUM_MOBILE_WIDTH && maxValue >= MINIMUM_TAB_WIDTH) {
|
|
43385
43380
|
this.type = 1 /* TABLET */;
|
|
43386
|
-
|
|
43381
|
+
if (isAndroid() || isIos() || isAndroidTablet()) {
|
|
43382
|
+
this.isTabletType = true;
|
|
43383
|
+
}
|
|
43387
43384
|
}
|
|
43388
43385
|
else {
|
|
43389
43386
|
this.type = 0 /* MOBILE */;
|
|
@@ -43951,9 +43948,7 @@ class StatePersistence {
|
|
|
43951
43948
|
if (!_.get(parsedObj, [stateParam]) && !_.get(parsedObj, key)) {
|
|
43952
43949
|
return;
|
|
43953
43950
|
}
|
|
43954
|
-
|
|
43955
|
-
// _.get(parsedObj, stateParam + '.' + key) is undefined so using (parsedObj && parsedObj[stateParam] && parsedObj[stateParam][key]) condition.
|
|
43956
|
-
if (_.get(parsedObj, stateParam + '.' + key) || (parsedObj && parsedObj[stateParam] && parsedObj[stateParam][key])) {
|
|
43951
|
+
if (_.get(parsedObj, stateParam + '.' + key)) {
|
|
43957
43952
|
if (subParam) {
|
|
43958
43953
|
delete parsedObj[stateParam][key][subParam];
|
|
43959
43954
|
}
|
|
@@ -43070,7 +43070,7 @@ const VALIDATOR = {
|
|
|
43070
43070
|
EXCLUDEDAYS: 'excludedays'
|
|
43071
43071
|
};
|
|
43072
43072
|
const transformFileURI = (url) => {
|
|
43073
|
-
if (
|
|
43073
|
+
if (url && hasCordova() && url.startsWith('file://')) {
|
|
43074
43074
|
if (isIos()) {
|
|
43075
43075
|
return url.replace('file://', '/_app_file_');
|
|
43076
43076
|
}
|
|
@@ -43309,7 +43309,6 @@ 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;
|
|
43313
43312
|
class Viewport {
|
|
43314
43313
|
constructor() {
|
|
43315
43314
|
this.orientation = {
|
|
@@ -43376,14 +43375,12 @@ class Viewport {
|
|
|
43376
43375
|
else {
|
|
43377
43376
|
MINIMUM_MOBILE_WIDTH = parseInt(getComputedStyle(document.documentElement).getPropertyValue('--screen-xs')) || 480;
|
|
43378
43377
|
MINIMUM_TAB_WIDTH = parseInt(getComputedStyle(document.documentElement).getPropertyValue('--screen-sm')) || 768;
|
|
43379
|
-
|
|
43380
|
-
if (
|
|
43381
|
-
this.isTabletType = isAndroid() || isIos() || isAndroidTablet();
|
|
43382
|
-
this.isMobileType = false;
|
|
43383
|
-
}
|
|
43384
|
-
else if (this.screenWidth >= MINIMUM_TAB_WIDTH) {
|
|
43378
|
+
// Tablet specification: min >= 480 max >= 768
|
|
43379
|
+
if (minValue >= MINIMUM_MOBILE_WIDTH && maxValue >= MINIMUM_TAB_WIDTH) {
|
|
43385
43380
|
this.type = 1 /* TABLET */;
|
|
43386
|
-
|
|
43381
|
+
if (isAndroid() || isIos() || isAndroidTablet()) {
|
|
43382
|
+
this.isTabletType = true;
|
|
43383
|
+
}
|
|
43387
43384
|
}
|
|
43388
43385
|
else {
|
|
43389
43386
|
this.type = 0 /* MOBILE */;
|
|
@@ -43951,9 +43948,7 @@ class StatePersistence {
|
|
|
43951
43948
|
if (!_.get(parsedObj, [stateParam]) && !_.get(parsedObj, key)) {
|
|
43952
43949
|
return;
|
|
43953
43950
|
}
|
|
43954
|
-
|
|
43955
|
-
// _.get(parsedObj, stateParam + '.' + key) is undefined so using (parsedObj && parsedObj[stateParam] && parsedObj[stateParam][key]) condition.
|
|
43956
|
-
if (_.get(parsedObj, stateParam + '.' + key) || (parsedObj && parsedObj[stateParam] && parsedObj[stateParam][key])) {
|
|
43951
|
+
if (_.get(parsedObj, stateParam + '.' + key)) {
|
|
43957
43952
|
if (subParam) {
|
|
43958
43953
|
delete parsedObj[stateParam][key][subParam];
|
|
43959
43954
|
}
|