@sumaris-net/ngx-components 1.15.5 → 1.15.6
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.
- package/bundles/sumaris-net.ngx-components.umd.js +3 -12
- package/bundles/sumaris-net.ngx-components.umd.js.map +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js.map +1 -1
- package/esm2015/src/app/shared/platforms.js +3 -11
- package/fesm2015/sumaris-net.ngx-components.js +3 -11
- package/fesm2015/sumaris-net.ngx-components.js.map +1 -1
- package/package.json +1 -1
- package/src/app/shared/platforms.d.ts +1 -6
- package/sumaris-net.ngx-components.metadata.json +1 -1
|
@@ -4687,17 +4687,9 @@
|
|
|
4687
4687
|
var userAgent = win.navigator.userAgent || win.navigator.vendor || window.opera;
|
|
4688
4688
|
return expr.test(userAgent);
|
|
4689
4689
|
};
|
|
4690
|
-
var
|
|
4691
|
-
var userAgent = win.navigator.userAgent || win.navigator.vendor || window.opera;
|
|
4692
|
-
return /windows/i.test(userAgent);
|
|
4693
|
-
};
|
|
4694
|
-
/**
|
|
4695
|
-
* Detect desktop, by fine cursor. See https://github.com/ionic-team/ionic-framework/issues/19942
|
|
4696
|
-
* @param win
|
|
4697
|
-
*/
|
|
4698
|
-
var isDesktop = function (win) { return matchMedia(win, '(any-pointer:fine)'); };
|
|
4690
|
+
var isWindows = function (win) { return testUserAgent(win, /windows/i); };
|
|
4699
4691
|
var isTouchUi = function (win) { return matchMedia(win, '(any-pointer:coarse)'); };
|
|
4700
|
-
var isMobile = function (win) { return isTouchUi(win) && !
|
|
4692
|
+
var isMobile = function (win) { return isTouchUi(win) && !isWindows(win); };
|
|
4701
4693
|
var isIpad = function (win) {
|
|
4702
4694
|
// iOS 12 and below
|
|
4703
4695
|
if (testUserAgent(win, /iPad/i)) {
|
|
@@ -31526,7 +31518,6 @@
|
|
|
31526
31518
|
exports.isAndroid = isAndroid;
|
|
31527
31519
|
exports.isControlHasInput = isControlHasInput;
|
|
31528
31520
|
exports.isCordova = isCordova;
|
|
31529
|
-
exports.isDesktop = isDesktop;
|
|
31530
31521
|
exports.isEmptyArray = isEmptyArray;
|
|
31531
31522
|
exports.isIOS = isIOS;
|
|
31532
31523
|
exports.isInputElement = isInputElement;
|
|
@@ -31546,7 +31537,7 @@
|
|
|
31546
31537
|
exports.isProgressEvent = isProgressEvent;
|
|
31547
31538
|
exports.isResponseEvent = isResponseEvent;
|
|
31548
31539
|
exports.isTouchUi = isTouchUi;
|
|
31549
|
-
exports.
|
|
31540
|
+
exports.isWindows = isWindows;
|
|
31550
31541
|
exports.joinProperties = joinProperties;
|
|
31551
31542
|
exports.joinPropertiesPath = joinPropertiesPath;
|
|
31552
31543
|
exports.logFormErrors = logFormErrors;
|