@wavemaker/angular-codegen 11.2.6-rc.5456 → 11.2.6-rc.5468
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.
|
@@ -45630,6 +45630,7 @@ const REGEX = {
|
|
|
45630
45630
|
IPOD: /iPod/i,
|
|
45631
45631
|
IPAD: /iPad/i,
|
|
45632
45632
|
MAC: /Mac/i,
|
|
45633
|
+
MACINTEL: /MacIntel/i,
|
|
45633
45634
|
ANDROID_TABLET: /android|android 3.0|xoom|sch-i800|playbook|tablet|kindle/i,
|
|
45634
45635
|
MOBILE: /Mobile/i,
|
|
45635
45636
|
WINDOWS: /Windows Phone/i,
|
|
@@ -45673,7 +45674,7 @@ const isAndroidTablet = () => REGEX.ANDROID_TABLET.test(userAgent) && !((/Tablet
|
|
|
45673
45674
|
const isIphone = () => REGEX.IPHONE.test(userAgent);
|
|
45674
45675
|
const isIpod = () => REGEX.IPOD.test(userAgent);
|
|
45675
45676
|
const isIpad = () => {
|
|
45676
|
-
return REGEX.IPAD.test(userAgent) || (window.navigator.maxTouchPoints && window.navigator.maxTouchPoints > 2 && REGEX.MAC.test(window.navigator.platform));
|
|
45677
|
+
return REGEX.IPAD.test(userAgent) || (window.navigator.maxTouchPoints && window.navigator.maxTouchPoints > 2 && (REGEX.MAC.test(window.navigator.platform) || REGEX.MACINTEL.test(window.navigator.platform)));
|
|
45677
45678
|
};
|
|
45678
45679
|
const isIos = () => isIphone() || isIpod() || isIpad();
|
|
45679
45680
|
const isLargeTabletLandscape = () => window.matchMedia("only screen and (min-device-width : 1366px) and (max-device-width : 1366px) and (min-device-height : 1024px) and (max-device-height : 1024px) and (min-width: 1366px) and (max-width: 1366px)").matches;
|
|
@@ -41708,6 +41708,7 @@ const REGEX = {
|
|
|
41708
41708
|
IPOD: /iPod/i,
|
|
41709
41709
|
IPAD: /iPad/i,
|
|
41710
41710
|
MAC: /Mac/i,
|
|
41711
|
+
MACINTEL: /MacIntel/i,
|
|
41711
41712
|
ANDROID_TABLET: /android|android 3.0|xoom|sch-i800|playbook|tablet|kindle/i,
|
|
41712
41713
|
MOBILE: /Mobile/i,
|
|
41713
41714
|
WINDOWS: /Windows Phone/i,
|
|
@@ -41751,7 +41752,7 @@ const isAndroidTablet = () => REGEX.ANDROID_TABLET.test(userAgent) && !((/Tablet
|
|
|
41751
41752
|
const isIphone = () => REGEX.IPHONE.test(userAgent);
|
|
41752
41753
|
const isIpod = () => REGEX.IPOD.test(userAgent);
|
|
41753
41754
|
const isIpad = () => {
|
|
41754
|
-
return REGEX.IPAD.test(userAgent) || (window.navigator.maxTouchPoints && window.navigator.maxTouchPoints > 2 && REGEX.MAC.test(window.navigator.platform));
|
|
41755
|
+
return REGEX.IPAD.test(userAgent) || (window.navigator.maxTouchPoints && window.navigator.maxTouchPoints > 2 && (REGEX.MAC.test(window.navigator.platform) || REGEX.MACINTEL.test(window.navigator.platform)));
|
|
41755
41756
|
};
|
|
41756
41757
|
const isIos = () => isIphone() || isIpod() || isIpad();
|
|
41757
41758
|
const isLargeTabletLandscape = () => window.matchMedia("only screen and (min-device-width : 1366px) and (max-device-width : 1366px) and (min-device-height : 1024px) and (max-device-height : 1024px) and (min-width: 1366px) and (max-width: 1366px)").matches;
|
|
@@ -41708,6 +41708,7 @@ const REGEX = {
|
|
|
41708
41708
|
IPOD: /iPod/i,
|
|
41709
41709
|
IPAD: /iPad/i,
|
|
41710
41710
|
MAC: /Mac/i,
|
|
41711
|
+
MACINTEL: /MacIntel/i,
|
|
41711
41712
|
ANDROID_TABLET: /android|android 3.0|xoom|sch-i800|playbook|tablet|kindle/i,
|
|
41712
41713
|
MOBILE: /Mobile/i,
|
|
41713
41714
|
WINDOWS: /Windows Phone/i,
|
|
@@ -41751,7 +41752,7 @@ const isAndroidTablet = () => REGEX.ANDROID_TABLET.test(userAgent) && !((/Tablet
|
|
|
41751
41752
|
const isIphone = () => REGEX.IPHONE.test(userAgent);
|
|
41752
41753
|
const isIpod = () => REGEX.IPOD.test(userAgent);
|
|
41753
41754
|
const isIpad = () => {
|
|
41754
|
-
return REGEX.IPAD.test(userAgent) || (window.navigator.maxTouchPoints && window.navigator.maxTouchPoints > 2 && REGEX.MAC.test(window.navigator.platform));
|
|
41755
|
+
return REGEX.IPAD.test(userAgent) || (window.navigator.maxTouchPoints && window.navigator.maxTouchPoints > 2 && (REGEX.MAC.test(window.navigator.platform) || REGEX.MACINTEL.test(window.navigator.platform)));
|
|
41755
41756
|
};
|
|
41756
41757
|
const isIos = () => isIphone() || isIpod() || isIpad();
|
|
41757
41758
|
const isLargeTabletLandscape = () => window.matchMedia("only screen and (min-device-width : 1366px) and (max-device-width : 1366px) and (min-device-height : 1024px) and (max-device-height : 1024px) and (min-width: 1366px) and (max-width: 1366px)").matches;
|