@dcloudio/uni-app-plus 3.0.0-alpha-3041020220516002 → 3.0.0-alpha-3041220220523001
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 +17 -0
- package/package.json +10 -8
package/dist/uni.runtime.esm.js
CHANGED
|
@@ -11135,6 +11135,15 @@ const offPushMessage = (fn) => {
|
|
|
11135
11135
|
}
|
|
11136
11136
|
};
|
|
11137
11137
|
|
|
11138
|
+
const API_CAN_I_USE = 'canIUse';
|
|
11139
|
+
const CanIUseProtocol = [
|
|
11140
|
+
{
|
|
11141
|
+
name: 'schema',
|
|
11142
|
+
type: String,
|
|
11143
|
+
required: true,
|
|
11144
|
+
},
|
|
11145
|
+
];
|
|
11146
|
+
|
|
11138
11147
|
const API_GET_BACKGROUND_AUDIO_MANAGER = 'getBackgroundAudioManager';
|
|
11139
11148
|
|
|
11140
11149
|
const API_MAKE_PHONE_CALL = 'makePhoneCall';
|
|
@@ -12982,6 +12991,13 @@ const openDocument = defineAsyncApi(API_OPEN_DOCUMENT, ({ filePath, fileType },
|
|
|
12982
12991
|
plus.runtime.openDocument(getRealPath(filePath), undefined, resolve, errorCallback);
|
|
12983
12992
|
}, OpenDocumentProtocol, OpenDocumentOptions);
|
|
12984
12993
|
|
|
12994
|
+
const canIUse = defineSyncApi(API_CAN_I_USE, (schema) => {
|
|
12995
|
+
if (hasOwn$1(uni, schema)) {
|
|
12996
|
+
return true;
|
|
12997
|
+
}
|
|
12998
|
+
return false;
|
|
12999
|
+
}, CanIUseProtocol);
|
|
13000
|
+
|
|
12985
13001
|
const isIOS = plus.os.name === 'iOS';
|
|
12986
13002
|
let config;
|
|
12987
13003
|
/**
|
|
@@ -19000,6 +19016,7 @@ var uni$1 = {
|
|
|
19000
19016
|
getSavedFileInfo: getSavedFileInfo,
|
|
19001
19017
|
removeSavedFile: removeSavedFile,
|
|
19002
19018
|
openDocument: openDocument,
|
|
19019
|
+
canIUse: canIUse,
|
|
19003
19020
|
getSystemInfoSync: getSystemInfoSync,
|
|
19004
19021
|
getSystemInfo: getSystemInfo,
|
|
19005
19022
|
onCompassChange: onCompassChange,
|
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-3041220220523001",
|
|
4
4
|
"description": "@dcloudio/uni-app-plus",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -28,18 +28,20 @@
|
|
|
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-3041220220523001",
|
|
32
|
+
"@dcloudio/uni-components": "3.0.0-alpha-3041220220523001",
|
|
33
|
+
"@dcloudio/uni-h5": "3.0.0-alpha-3041220220523001",
|
|
34
|
+
"@dcloudio/uni-i18n": "3.0.0-alpha-3041220220523001",
|
|
35
|
+
"@dcloudio/uni-shared": "3.0.0-alpha-3041220220523001",
|
|
36
36
|
"@types/pako": "1.0.2",
|
|
37
37
|
"@vue/compiler-sfc": "3.2.33",
|
|
38
|
+
"autoprefixer": "^10.4.7",
|
|
38
39
|
"pako": "^1.0.11",
|
|
40
|
+
"postcss": "^8.4.13",
|
|
39
41
|
"vue": "3.2.33"
|
|
40
42
|
},
|
|
41
43
|
"dependencies": {
|
|
42
|
-
"@dcloudio/uni-app-vite": "3.0.0-alpha-
|
|
43
|
-
"@dcloudio/uni-app-vue": "3.0.0-alpha-
|
|
44
|
+
"@dcloudio/uni-app-vite": "3.0.0-alpha-3041220220523001",
|
|
45
|
+
"@dcloudio/uni-app-vue": "3.0.0-alpha-3041220220523001"
|
|
44
46
|
}
|
|
45
47
|
}
|