@wavemaker/app-ng-runtime 11.3.4-rc.5301 → 11.3.4-rc.5309
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.
- app-ng-runtime/components/base/bundles/index.umd.js +6 -6
- app-ng-runtime/components/base/bundles/index.umd.js.map +1 -1
- app-ng-runtime/components/base/esm2015/directives/show-in-device.directive.js +7 -7
- app-ng-runtime/components/base/fesm2015/index.js +6 -6
- app-ng-runtime/components/base/fesm2015/index.js.map +1 -1
- app-ng-runtime/package.json +1 -1
|
@@ -2343,15 +2343,15 @@
|
|
|
2343
2343
|
var lgTabLandScapeWidth = getComputedStyle(document.documentElement).getPropertyValue('--screen-lg-tab-landscape') || '1366px';
|
|
2344
2344
|
var lgTabPortraitWidth = getComputedStyle(document.documentElement).getPropertyValue('--screen-lg-tab-portrait') || '1024px';
|
|
2345
2345
|
var lgWidthMin = parseFloat(lgWidth) - 1;
|
|
2346
|
-
var lgUnit =
|
|
2346
|
+
var lgUnit = lgWidthMin + "px";
|
|
2347
2347
|
var mdWidthMin = parseFloat(mdWidth) - 1;
|
|
2348
|
-
var mdUnit =
|
|
2348
|
+
var mdUnit = mdWidthMin + "px";
|
|
2349
2349
|
var smWidthMin = parseFloat(smWidth) - 1;
|
|
2350
|
-
var smUnit =
|
|
2350
|
+
var smUnit = smWidthMin + "px";
|
|
2351
2351
|
if ((this.devices.indexOf('lg') > -1 && window.matchMedia("(min-width: " + lgWidth + ")").matches && !core$1.isLargeTabletLandscape(lgTabLandScapeWidth, lgTabPortraitWidth))
|
|
2352
|
-
|| (this.devices.indexOf('md') > -1 && (core$1.isLargeTabletLandscape(lgTabLandScapeWidth, lgTabPortraitWidth) || (window.matchMedia("(min-width: " + mdWidth + ") and (max-width: " +
|
|
2353
|
-
|| (this.devices.indexOf('sm') > -1 && (window.matchMedia("(min-width: " + smWidth + ") and (max-width: " +
|
|
2354
|
-
|| (this.devices.indexOf('xs') > -1 && window.matchMedia("(max-width: " +
|
|
2352
|
+
|| (this.devices.indexOf('md') > -1 && (core$1.isLargeTabletLandscape(lgTabLandScapeWidth, lgTabPortraitWidth) || (window.matchMedia("(min-width: " + mdWidth + ") and (max-width: " + lgUnit + ")").matches && !core$1.isLargeTabletPortrait(lgTabLandScapeWidth, lgTabPortraitWidth))))
|
|
2353
|
+
|| (this.devices.indexOf('sm') > -1 && (window.matchMedia("(min-width: " + smWidth + ") and (max-width: " + mdUnit + ")").matches || core$1.isLargeTabletPortrait(lgTabLandScapeWidth, lgTabPortraitWidth)))
|
|
2354
|
+
|| (this.devices.indexOf('xs') > -1 && window.matchMedia("(max-width: " + smUnit + ")").matches)
|
|
2355
2355
|
|| (this.devices.indexOf('all') > -1)) {
|
|
2356
2356
|
if (!this.embeddedView) {
|
|
2357
2357
|
this.embeddedView = this.viewContainerRef.createEmbeddedView(this.templateRef, this.context);
|