@wavemaker/app-runtime-wm-build 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.
|
@@ -10377,12 +10377,12 @@
|
|
|
10377
10377
|
var lgTabLandScapeWidth = getComputedStyle(document.documentElement).getPropertyValue("--screen-lg-tab-landscape") || "1366px";
|
|
10378
10378
|
var lgTabPortraitWidth = getComputedStyle(document.documentElement).getPropertyValue("--screen-lg-tab-portrait") || "1024px";
|
|
10379
10379
|
var lgWidthMin = parseFloat(lgWidth) - 1;
|
|
10380
|
-
var lgUnit =
|
|
10380
|
+
var lgUnit = lgWidthMin + "px";
|
|
10381
10381
|
var mdWidthMin = parseFloat(mdWidth) - 1;
|
|
10382
|
-
var mdUnit =
|
|
10382
|
+
var mdUnit = mdWidthMin + "px";
|
|
10383
10383
|
var smWidthMin = parseFloat(smWidth) - 1;
|
|
10384
|
-
var smUnit =
|
|
10385
|
-
if (this.devices.indexOf("lg") > -1 && window.matchMedia("(min-width: " + lgWidth + ")").matches && !core$1.isLargeTabletLandscape(lgTabLandScapeWidth, lgTabPortraitWidth) || this.devices.indexOf("md") > -1 && (core$1.isLargeTabletLandscape(lgTabLandScapeWidth, lgTabPortraitWidth) || window.matchMedia("(min-width: " + mdWidth + ") and (max-width: " +
|
|
10384
|
+
var smUnit = smWidthMin + "px";
|
|
10385
|
+
if (this.devices.indexOf("lg") > -1 && window.matchMedia("(min-width: " + lgWidth + ")").matches && !core$1.isLargeTabletLandscape(lgTabLandScapeWidth, lgTabPortraitWidth) || 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)) || this.devices.indexOf("sm") > -1 && (window.matchMedia("(min-width: " + smWidth + ") and (max-width: " + mdUnit + ")").matches || core$1.isLargeTabletPortrait(lgTabLandScapeWidth, lgTabPortraitWidth)) || this.devices.indexOf("xs") > -1 && window.matchMedia("(max-width: " + smUnit + ")").matches || this.devices.indexOf("all") > -1) {
|
|
10386
10386
|
if (!this.embeddedView) {
|
|
10387
10387
|
this.embeddedView = this.viewContainerRef.createEmbeddedView(this.templateRef, this.context);
|
|
10388
10388
|
}
|