@wavemaker/app-ng-runtime 11.5.0-next.141088 → 11.5.0-next.141089
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/core/bundles/index.umd.js +2 -1
- app-ng-runtime/core/esm2020/utils/utils.mjs +3 -2
- app-ng-runtime/core/fesm2015/index.mjs +2 -1
- app-ng-runtime/core/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/core/fesm2020/index.mjs +2 -1
- app-ng-runtime/core/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/package.json +1 -1
|
@@ -2438,7 +2438,8 @@
|
|
|
2438
2438
|
const width = landScapeHeight || '1024px';
|
|
2439
2439
|
return window.matchMedia("only screen and (min-device-width : " + width + ") and (max-device-width : " + width + ") and (min-device-height : " + height + ") and (max-device-height : " + height + ") and (min-width: " + width + ") and (max-width: " + width + ")").matches;
|
|
2440
2440
|
};
|
|
2441
|
-
const isMobile = () => isAndroid() || isIos() || isAndroidTablet() || $('#wm-mobile-display:visible').length > 0;
|
|
2441
|
+
//export const isMobile = () => isAndroid() || isIos() || isAndroidTablet() || $('#wm-mobile-display:visible').length > 0;
|
|
2442
|
+
const isMobile = () => false;
|
|
2442
2443
|
const isTablet = () => {
|
|
2443
2444
|
const scope = document.querySelector('.app-page').widget;
|
|
2444
2445
|
return scope && scope.viewParent.Viewport.isTabletType;
|