x-essential-lib 0.9.4 → 0.9.5
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/dist/composables/system.d.ts +1 -1
- package/dist/index.js +3 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -460,16 +460,13 @@ function Wt() {
|
|
|
460
460
|
return { verifyPermission: t };
|
|
461
461
|
}
|
|
462
462
|
function Xt() {
|
|
463
|
-
const e = V(() => !!window.cordova), t = Ve(), a = V(() => t.width.value <= 1280 ? t.width.value + "px" : t.width.value <= 1920 ? 1920 / 2.5 + "px" : 2560 / 2.5 + "px");
|
|
464
|
-
function
|
|
463
|
+
const e = V(() => !!window.cordova), t = Ve(), a = V(() => t.width.value <= 1280 ? t.width.value + "px" : t.width.value <= 1920 ? 1920 / 2.5 + "px" : 2560 / 2.5 + "px"), o = V(() => t.xs.value);
|
|
464
|
+
function l() {
|
|
465
465
|
return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(
|
|
466
466
|
navigator.userAgent
|
|
467
467
|
);
|
|
468
468
|
}
|
|
469
|
-
|
|
470
|
-
return !!t.xs.value;
|
|
471
|
-
}
|
|
472
|
-
return { sysBarAvail: e, compactWidth: a, isMobile: o, isCurvedScreen: l };
|
|
469
|
+
return { sysBarAvail: e, compactWidth: a, isCurvedScreen: o, isMobile: l };
|
|
473
470
|
}
|
|
474
471
|
function J(e, t) {
|
|
475
472
|
const a = Ge(), o = V({
|