@dcloudio/uni-app-plus 3.0.0-alpha-3041720220614002 → 3.0.0-alpha-3041820220617001
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/uni.runtime.esm.js
CHANGED
|
@@ -9147,7 +9147,7 @@ const Upx2pxProtocol = [
|
|
|
9147
9147
|
|
|
9148
9148
|
const EPS = 1e-4;
|
|
9149
9149
|
const BASE_DEVICE_WIDTH = 750;
|
|
9150
|
-
let isIOS = false;
|
|
9150
|
+
let isIOS$1 = false;
|
|
9151
9151
|
let deviceWidth = 0;
|
|
9152
9152
|
let deviceDPR = 0;
|
|
9153
9153
|
let maxWidth = 960;
|
|
@@ -9156,7 +9156,7 @@ function checkDeviceWidth() {
|
|
|
9156
9156
|
const { platform, pixelRatio, windowWidth } = getBaseSystemInfo();
|
|
9157
9157
|
deviceWidth = windowWidth;
|
|
9158
9158
|
deviceDPR = pixelRatio;
|
|
9159
|
-
isIOS = platform === 'ios';
|
|
9159
|
+
isIOS$1 = platform === 'ios';
|
|
9160
9160
|
}
|
|
9161
9161
|
function checkValue(value, defaultValue) {
|
|
9162
9162
|
const newValue = Number(value);
|
|
@@ -9189,7 +9189,7 @@ const upx2px = defineSyncApi(API_UPX2PX, (number, newDeviceWidth) => {
|
|
|
9189
9189
|
}
|
|
9190
9190
|
result = Math.floor(result + EPS);
|
|
9191
9191
|
if (result === 0) {
|
|
9192
|
-
if (deviceDPR === 1 || !isIOS) {
|
|
9192
|
+
if (deviceDPR === 1 || !isIOS$1) {
|
|
9193
9193
|
result = 1;
|
|
9194
9194
|
}
|
|
9195
9195
|
else {
|
|
@@ -11115,7 +11115,7 @@ function invokeGetPushCidCallbacks(cid, errMsg) {
|
|
|
11115
11115
|
});
|
|
11116
11116
|
getPushCidCallbacks.length = 0;
|
|
11117
11117
|
}
|
|
11118
|
-
function
|
|
11118
|
+
function getPushClientId(args) {
|
|
11119
11119
|
if (!isPlainObject(args)) {
|
|
11120
11120
|
args = {};
|
|
11121
11121
|
}
|
|
@@ -11126,11 +11126,11 @@ function getPushClientid(args) {
|
|
|
11126
11126
|
getPushCidCallbacks.push((cid, errMsg) => {
|
|
11127
11127
|
let res;
|
|
11128
11128
|
if (cid) {
|
|
11129
|
-
res = { errMsg: '
|
|
11129
|
+
res = { errMsg: 'getPushClientId:ok', cid };
|
|
11130
11130
|
hasSuccess && success(res);
|
|
11131
11131
|
}
|
|
11132
11132
|
else {
|
|
11133
|
-
res = { errMsg: '
|
|
11133
|
+
res = { errMsg: 'getPushClientId:fail' + (errMsg ? ' ' + errMsg : '') };
|
|
11134
11134
|
hasFail && fail(res);
|
|
11135
11135
|
}
|
|
11136
11136
|
hasComplete && complete(res);
|
|
@@ -13027,6 +13027,7 @@ function deviceId$1 () {
|
|
|
13027
13027
|
return deviceId;
|
|
13028
13028
|
}
|
|
13029
13029
|
|
|
13030
|
+
const isIOS = plus.os.name === 'iOS';
|
|
13030
13031
|
let config;
|
|
13031
13032
|
/**
|
|
13032
13033
|
* tabbar显示状态
|
|
@@ -13201,7 +13202,7 @@ var tabBarInstance = {
|
|
|
13201
13202
|
// tabBar是否遮挡内容区域
|
|
13202
13203
|
get cover() {
|
|
13203
13204
|
const array = ['extralight', 'light', 'dark'];
|
|
13204
|
-
return array.indexOf(config.blurEffect) >= 0;
|
|
13205
|
+
return isIOS && array.indexOf(config.blurEffect) >= 0;
|
|
13205
13206
|
},
|
|
13206
13207
|
setStyle({ mask }) {
|
|
13207
13208
|
tabBar.setMask({
|
|
@@ -19038,7 +19039,7 @@ var uni$1 = {
|
|
|
19038
19039
|
setPageMeta: setPageMeta,
|
|
19039
19040
|
getEnterOptionsSync: getEnterOptionsSync,
|
|
19040
19041
|
getLaunchOptionsSync: getLaunchOptionsSync,
|
|
19041
|
-
|
|
19042
|
+
getPushClientId: getPushClientId,
|
|
19042
19043
|
onPushMessage: onPushMessage,
|
|
19043
19044
|
offPushMessage: offPushMessage,
|
|
19044
19045
|
onAppHide: onAppHide,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcloudio/uni-app-plus",
|
|
3
|
-
"version": "3.0.0-alpha-
|
|
3
|
+
"version": "3.0.0-alpha-3041820220617001",
|
|
4
4
|
"description": "@dcloudio/uni-app-plus",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
"main": "dist/uni.compiler.js"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@dcloudio/uni-cli-shared": "3.0.0-alpha-
|
|
32
|
-
"@dcloudio/uni-components": "3.0.0-alpha-
|
|
33
|
-
"@dcloudio/uni-h5": "3.0.0-alpha-
|
|
34
|
-
"@dcloudio/uni-i18n": "3.0.0-alpha-
|
|
35
|
-
"@dcloudio/uni-shared": "3.0.0-alpha-
|
|
31
|
+
"@dcloudio/uni-cli-shared": "3.0.0-alpha-3041820220617001",
|
|
32
|
+
"@dcloudio/uni-components": "3.0.0-alpha-3041820220617001",
|
|
33
|
+
"@dcloudio/uni-h5": "3.0.0-alpha-3041820220617001",
|
|
34
|
+
"@dcloudio/uni-i18n": "3.0.0-alpha-3041820220617001",
|
|
35
|
+
"@dcloudio/uni-shared": "3.0.0-alpha-3041820220617001",
|
|
36
36
|
"@types/pako": "1.0.2",
|
|
37
37
|
"@vue/compiler-sfc": "3.2.37",
|
|
38
38
|
"autoprefixer": "^10.4.7",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"vue": "3.2.37"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@dcloudio/uni-app-vite": "3.0.0-alpha-
|
|
45
|
-
"@dcloudio/uni-app-vue": "3.0.0-alpha-
|
|
44
|
+
"@dcloudio/uni-app-vite": "3.0.0-alpha-3041820220617001",
|
|
45
|
+
"@dcloudio/uni-app-vue": "3.0.0-alpha-3041820220617001"
|
|
46
46
|
}
|
|
47
47
|
}
|