@wavemaker/app-ng-runtime 11.3.4-rc.5301 → 11.3.4-rc.5310

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.
@@ -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 = lgWidth.replace(lgWidthMin.toString(), '').trim();
2346
+ var lgUnit = lgWidthMin + "px";
2347
2347
  var mdWidthMin = parseFloat(mdWidth) - 1;
2348
- var mdUnit = mdWidth.replace(mdWidthMin.toString(), '').trim();
2348
+ var mdUnit = mdWidthMin + "px";
2349
2349
  var smWidthMin = parseFloat(smWidth) - 1;
2350
- var smUnit = smWidth.replace(smWidthMin.toString(), '').trim();
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: " + lgWidthMin + lgUnit + ")").matches && !core$1.isLargeTabletPortrait(lgTabLandScapeWidth, lgTabPortraitWidth))))
2353
- || (this.devices.indexOf('sm') > -1 && (window.matchMedia("(min-width: " + smWidth + ") and (max-width: " + mdWidthMin + mdUnit + ")").matches || core$1.isLargeTabletPortrait(lgTabLandScapeWidth, lgTabPortraitWidth)))
2354
- || (this.devices.indexOf('xs') > -1 && window.matchMedia("(max-width: " + smWidthMin + smUnit + ")").matches)
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);