@wavemaker/angular-codegen 11.2.6-rc.5370 → 11.2.6-rc.5432
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/package-lock.json +3 -3
- angular-codegen/angular-app/package.json +1 -1
- angular-codegen/dependencies/pipe-provider.cjs.js +13 -8
- angular-codegen/dependencies/transpilation-mobile.cjs.js +14 -9
- angular-codegen/dependencies/transpilation-web.cjs.js +14 -9
- angular-codegen/package.json +1 -1
|
@@ -23165,9 +23165,9 @@
|
|
|
23165
23165
|
}
|
|
23166
23166
|
},
|
|
23167
23167
|
"yarn": {
|
|
23168
|
-
"version": "1.22.
|
|
23169
|
-
"resolved": "https://registry.npmjs.org/yarn/-/yarn-1.22.
|
|
23170
|
-
"integrity": "sha512
|
|
23168
|
+
"version": "1.22.21",
|
|
23169
|
+
"resolved": "https://registry.npmjs.org/yarn/-/yarn-1.22.21.tgz",
|
|
23170
|
+
"integrity": "sha512-ynXaJsADJ9JiZ84zU25XkPGOvVMmZ5b7tmTSpKURYwgELdjucAOydqIOrOfTxVYcNXe91xvLZwcRh68SR3liCg=="
|
|
23171
23171
|
},
|
|
23172
23172
|
"yauzl": {
|
|
23173
23173
|
"version": "2.10.0",
|
|
@@ -46983,7 +46983,7 @@ const VALIDATOR = {
|
|
|
46983
46983
|
EXCLUDEDAYS: 'excludedays'
|
|
46984
46984
|
};
|
|
46985
46985
|
const transformFileURI = (url) => {
|
|
46986
|
-
if (url && hasCordova() && url.startsWith('file://')) {
|
|
46986
|
+
if (_.isString(url) && hasCordova() && url.startsWith('file://')) {
|
|
46987
46987
|
if (isIos()) {
|
|
46988
46988
|
return url.replace('file://', '/_app_file_');
|
|
46989
46989
|
}
|
|
@@ -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 */;
|
|
@@ -43061,7 +43061,7 @@ const VALIDATOR = {
|
|
|
43061
43061
|
EXCLUDEDAYS: 'excludedays'
|
|
43062
43062
|
};
|
|
43063
43063
|
const transformFileURI = (url) => {
|
|
43064
|
-
if (url && hasCordova() && url.startsWith('file://')) {
|
|
43064
|
+
if (_.isString(url) && hasCordova() && url.startsWith('file://')) {
|
|
43065
43065
|
if (isIos()) {
|
|
43066
43066
|
return url.replace('file://', '/_app_file_');
|
|
43067
43067
|
}
|
|
@@ -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 */;
|
|
@@ -46051,7 +46056,7 @@ const registerFormField = (isFormField) => {
|
|
|
46051
46056
|
const dataRole = isFormField ? 'form-field' : 'filter-field';
|
|
46052
46057
|
const formFieldErrorMsgId = 'wmform-field-error-' + generateGUId();
|
|
46053
46058
|
const validationMsg = isFormField ? `<p *ngIf="${counter}._control?.invalid && ${counter}._control?.touched && ${pCounter}.isUpdateMode"
|
|
46054
|
-
class="help-block text-danger" aria-hidden="false"
|
|
46059
|
+
class="help-block text-danger" aria-hidden="false"
|
|
46055
46060
|
aria-live="assertive" [attr.aria-label]="${counter}.validationmessage" id="${formFieldErrorMsgId}"><span aria-hidden="true" [textContent]="${counter}.validationmessage"></span></p>` : '';
|
|
46056
46061
|
const eventsTmpl = widgetType === FormWidgetType.UPLOAD ? '' : getEventsTemplate(attrs);
|
|
46057
46062
|
const controlLayout = isMobileApp() ? 'col-xs-12' : 'col-sm-12';
|
|
@@ -43061,7 +43061,7 @@ const VALIDATOR = {
|
|
|
43061
43061
|
EXCLUDEDAYS: 'excludedays'
|
|
43062
43062
|
};
|
|
43063
43063
|
const transformFileURI = (url) => {
|
|
43064
|
-
if (url && hasCordova() && url.startsWith('file://')) {
|
|
43064
|
+
if (_.isString(url) && hasCordova() && url.startsWith('file://')) {
|
|
43065
43065
|
if (isIos()) {
|
|
43066
43066
|
return url.replace('file://', '/_app_file_');
|
|
43067
43067
|
}
|
|
@@ -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 */;
|
|
@@ -46051,7 +46056,7 @@ const registerFormField = (isFormField) => {
|
|
|
46051
46056
|
const dataRole = isFormField ? 'form-field' : 'filter-field';
|
|
46052
46057
|
const formFieldErrorMsgId = 'wmform-field-error-' + generateGUId();
|
|
46053
46058
|
const validationMsg = isFormField ? `<p *ngIf="${counter}._control?.invalid && ${counter}._control?.touched && ${pCounter}.isUpdateMode"
|
|
46054
|
-
class="help-block text-danger" aria-hidden="false"
|
|
46059
|
+
class="help-block text-danger" aria-hidden="false"
|
|
46055
46060
|
aria-live="assertive" [attr.aria-label]="${counter}.validationmessage" id="${formFieldErrorMsgId}"><span aria-hidden="true" [textContent]="${counter}.validationmessage"></span></p>` : '';
|
|
46056
46061
|
const eventsTmpl = widgetType === FormWidgetType.UPLOAD ? '' : getEventsTemplate(attrs);
|
|
46057
46062
|
const controlLayout = isMobileApp() ? 'col-xs-12' : 'col-sm-12';
|