@wavemaker/app-ng-runtime 11.3.4-rc.5297 → 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/components/containers/wizard/bundles/index.umd.js +3 -2
- app-ng-runtime/components/containers/wizard/bundles/index.umd.js.map +1 -1
- app-ng-runtime/components/containers/wizard/esm2015/wizard-step/wizard-step.props.js +3 -2
- app-ng-runtime/components/containers/wizard/esm2015/wizard.component.js +2 -2
- app-ng-runtime/components/containers/wizard/fesm2015/index.js +3 -2
- app-ng-runtime/components/containers/wizard/fesm2015/index.js.map +1 -1
- app-ng-runtime/components/containers/wizard/index.metadata.json +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
|
@@ -2425,8 +2425,16 @@ const isIpad = () => {
|
|
|
2425
2425
|
return REGEX.IPAD.test(userAgent) || (window.navigator.maxTouchPoints && window.navigator.maxTouchPoints > 2 && REGEX.MAC.test(window.navigator.platform));
|
|
2426
2426
|
};
|
|
2427
2427
|
const isIos = () => isIphone() || isIpod() || isIpad();
|
|
2428
|
-
const isLargeTabletLandscape = () =>
|
|
2429
|
-
const
|
|
2428
|
+
const isLargeTabletLandscape = (landScapeWidth, landScapeHeight) => {
|
|
2429
|
+
const width = landScapeWidth || '1366px';
|
|
2430
|
+
const height = landScapeHeight || '1024px';
|
|
2431
|
+
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;
|
|
2432
|
+
};
|
|
2433
|
+
const isLargeTabletPortrait = (landScapeWidth, landScapeHeight) => {
|
|
2434
|
+
const height = landScapeWidth || '1366px';
|
|
2435
|
+
const width = landScapeHeight || '1024px';
|
|
2436
|
+
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;
|
|
2437
|
+
};
|
|
2430
2438
|
const isMobile = () => isAndroid() || isIos() || isAndroidTablet() || $('#wm-mobile-display:visible').length > 0;
|
|
2431
2439
|
const isTablet = () => {
|
|
2432
2440
|
const scope = document.querySelector('.app-page').widget;
|