@wavemaker/app-ng-runtime 11.3.4-rc.5300 → 11.3.4-rc.5301
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 +15 -4
- app-ng-runtime/components/base/bundles/index.umd.js.map +1 -1
- app-ng-runtime/components/base/esm2015/directives/show-in-device.directive.js +16 -5
- app-ng-runtime/components/base/fesm2015/index.js +15 -4
- app-ng-runtime/components/base/fesm2015/index.js.map +1 -1
- app-ng-runtime/core/bundles/index.umd.js +10 -2
- app-ng-runtime/core/bundles/index.umd.js.map +1 -1
- app-ng-runtime/core/esm2015/utils/utils.js +11 -3
- app-ng-runtime/core/fesm2015/index.js +10 -2
- app-ng-runtime/core/fesm2015/index.js.map +1 -1
- app-ng-runtime/core/index.metadata.json +1 -1
- app-ng-runtime/core/utils/utils.d.ts +2 -2
- app-ng-runtime/package.json +1 -1
|
@@ -2898,8 +2898,16 @@
|
|
|
2898
2898
|
return REGEX.IPAD.test(userAgent) || (window.navigator.maxTouchPoints && window.navigator.maxTouchPoints > 2 && REGEX.MAC.test(window.navigator.platform));
|
|
2899
2899
|
};
|
|
2900
2900
|
var isIos = function () { return isIphone() || isIpod() || isIpad(); };
|
|
2901
|
-
var isLargeTabletLandscape = function () {
|
|
2902
|
-
|
|
2901
|
+
var isLargeTabletLandscape = function (landScapeWidth, landScapeHeight) {
|
|
2902
|
+
var width = landScapeWidth || '1366px';
|
|
2903
|
+
var height = landScapeHeight || '1024px';
|
|
2904
|
+
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;
|
|
2905
|
+
};
|
|
2906
|
+
var isLargeTabletPortrait = function (landScapeWidth, landScapeHeight) {
|
|
2907
|
+
var height = landScapeWidth || '1366px';
|
|
2908
|
+
var width = landScapeHeight || '1024px';
|
|
2909
|
+
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;
|
|
2910
|
+
};
|
|
2903
2911
|
var isMobile = function () { return isAndroid() || isIos() || isAndroidTablet() || $('#wm-mobile-display:visible').length > 0; };
|
|
2904
2912
|
var isTablet = function () {
|
|
2905
2913
|
var scope = document.querySelector('.app-page').widget;
|