@dcloudio/uni-app-x 0.7.44 → 0.7.46

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.
Files changed (48) hide show
  1. package/package.json +1 -1
  2. package/types/UniPage.d.ts +9 -9
  3. package/types/native/CanvasRenderingContext2D.d.ts +64 -1
  4. package/types/native/IUniElement.d.ts +3 -1
  5. package/types/native/IUniNativeViewElement.d.ts +2 -0
  6. package/types/native/UniAnimation.d.ts +9 -4
  7. package/types/native/UniNativePage.d.ts +3 -20
  8. package/types/native/UniPageBody.d.ts +110 -0
  9. package/types/native/global.d.ts +2 -0
  10. package/types/native/index.d.ts +1 -0
  11. package/types/uni/uts-plugin-api/global.d.ts +1 -0
  12. package/types/uni/uts-plugin-api/index.d.ts +1 -0
  13. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +1 -1
  14. package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +2 -2
  15. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +3 -3
  16. package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +2 -2
  17. package/types/uni/uts-plugin-api/lib/uni-chooseMedia/utssdk/interface.d.ts +3 -3
  18. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +2 -2
  19. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +1 -1
  20. package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +1 -1
  21. package/types/uni/uts-plugin-api/lib/uni-createRequestPermissionListener/utssdk/interface.d.ts +1 -1
  22. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +1 -1
  23. package/types/uni/uts-plugin-api/lib/uni-document/utssdk/interface.d.ts +1 -1
  24. package/types/uni/uts-plugin-api/lib/uni-getAccessibilityInfo/utssdk/interface.d.ts +30 -30
  25. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +246 -92
  26. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +2 -2
  27. package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +1 -1
  28. package/types/uni/uts-plugin-api/lib/uni-getRecorderManager/utssdk/interface.d.ts +1 -1
  29. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +1 -1
  30. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +1 -1
  31. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/global.d.ts +4 -2
  32. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/index.d.ts +2 -1
  33. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +101 -415
  34. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +2 -2
  35. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +1 -1
  36. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +2 -2
  37. package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +249 -335
  38. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +1 -1
  39. package/types/uni/uts-plugin-api/lib/uni-previewImage/utssdk/interface.d.ts +615 -76
  40. package/types/uni/uts-plugin-api/lib/uni-sse/utssdk/global.d.ts +18 -0
  41. package/types/uni/uts-plugin-api/lib/uni-sse/utssdk/index.d.ts +8 -0
  42. package/types/uni/uts-plugin-api/lib/uni-sse/utssdk/interface.d.ts +277 -0
  43. package/types/uni/uts-plugin-biz/lib/uni-crash/utssdk/interface.d.ts +40 -12
  44. package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/interface.d.ts +244 -244
  45. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/global.d.ts +0 -2
  46. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/index.d.ts +0 -1
  47. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +84 -87
  48. package/types/uni/uts-plugin-extend/README.md +0 -3
@@ -883,133 +883,47 @@ export type ChooseImage = (options: ChooseImageOptions) => void
883
883
  export type PreviewImageSuccess = {
884
884
  /**
885
885
  * 调用API的名称
886
- * @uniPlatform {
887
- * "mp": {
888
- * "weixin": {
889
- * "hostVer": "√",
890
- * "uniVer": "√",
891
- * "unixVer": "4.41"
892
- * },
893
- * "alipay": {
894
- * "hostVer": "-",
895
- * "uniVer": "-",
896
- * "unixVer": "-"
897
- * },
898
- * "baidu": {
899
- * "hostVer": "-",
900
- * "uniVer": "-",
901
- * "unixVer": "-"
902
- * },
903
- * "toutiao": {
904
- * "hostVer": "-",
905
- * "uniVer": "-",
906
- * "unixVer": "-"
907
- * },
908
- * "lark": {
909
- * "hostVer": "-",
910
- * "uniVer": "-",
911
- * "unixVer": "-"
912
- * },
913
- * "qq": {
914
- * "hostVer": "-",
915
- * "uniVer": "-",
916
- * "unixVer": "-"
917
- * },
918
- * "kuaishou": {
919
- * "hostVer": "-",
920
- * "uniVer": "-",
921
- * "unixVer": "-"
922
- * },
923
- * "jd": {
924
- * "hostVer": "-",
925
- * "uniVer": "-",
926
- * "unixVer": "-"
927
- * }
928
- * }
929
- * }
930
886
  */
931
887
  errSubject: string,
932
888
  /**
933
889
  * 描述信息
934
- * @uniPlatform {
935
- * "mp": {
936
- * "weixin": {
937
- * "hostVer": "√",
938
- * "uniVer": "√",
939
- * "unixVer": "4.41"
940
- * },
941
- * "alipay": {
942
- * "hostVer": "-",
943
- * "uniVer": "-",
944
- * "unixVer": "-"
945
- * },
946
- * "baidu": {
947
- * "hostVer": "-",
948
- * "uniVer": "-",
949
- * "unixVer": "-"
950
- * },
951
- * "toutiao": {
952
- * "hostVer": "-",
953
- * "uniVer": "-",
954
- * "unixVer": "-"
955
- * },
956
- * "lark": {
957
- * "hostVer": "-",
958
- * "uniVer": "-",
959
- * "unixVer": "-"
960
- * },
961
- * "qq": {
962
- * "hostVer": "-",
963
- * "uniVer": "-",
964
- * "unixVer": "-"
965
- * },
966
- * "kuaishou": {
967
- * "hostVer": "-",
968
- * "uniVer": "-",
969
- * "unixVer": "-"
970
- * },
971
- * "jd": {
972
- * "hostVer": "-",
973
- * "uniVer": "-",
974
- * "unixVer": "-"
975
- * }
976
- * }
977
- * }
978
890
  */
979
891
  errMsg: string
980
892
  }
981
893
 
982
- export type LongPressActionsSuccessData = {
983
- /**
984
- * 接口调用失败的回调函数
985
- */
986
- tapIndex: number,
987
- /**
988
- * 接口调用结束的回调函数(调用成功、失败都会执行)
989
- */
990
- index: number
894
+ export type LongPressActionsSuccessResult = {
895
+ /**
896
+ * 接口调用失败的回调函数
897
+ */
898
+ tapIndex : number,
899
+ /**
900
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
901
+ */
902
+ index : number
991
903
  };
904
+
905
+ export type LongPressActionsFailResult = IMediaError
992
906
  export type LongPressActionsOptions = {
993
- /**
994
- * 按钮的文字数组
995
- */
996
- itemList: string[],
997
- /**
998
- * 按钮的文字颜色,字符串格式,默认为"#000000"
999
- */
1000
- itemColor: string | null,
1001
- /**
1002
- * 接口调用成功的回调函数
1003
- */
1004
- success: ((result: LongPressActionsSuccessData) => void) | null,
1005
- /**
1006
- * 接口调用失败的回调函数
1007
- */
1008
- fail: ((result: any) => void) | null,
1009
- /**
1010
- * 接口调用结束的回调函数(调用成功、失败都会执行)
1011
- */
1012
- complete: ((result: any) => void) | null
907
+ /**
908
+ * 按钮的文字数组
909
+ */
910
+ itemList : string[],
911
+ /**
912
+ * 按钮的文字颜色,字符串格式,默认为"#000000"
913
+ */
914
+ itemColor : string | null,
915
+ /**
916
+ * 接口调用成功的回调函数
917
+ */
918
+ success : ((result : LongPressActionsSuccessResult) => void) | null,
919
+ /**
920
+ * 接口调用失败的回调函数
921
+ */
922
+ fail : ((result : LongPressActionsFailResult) => void) | null,
923
+ /**
924
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
925
+ */
926
+ complete : ((result : any) => void) | null
1013
927
  };
1014
928
 
1015
929
 
@@ -1020,100 +934,12 @@ export type PreviewImageCompleteCallback = ChooseImageCompleteCallback
1020
934
 
1021
935
  export type PreviewImageOptions = {
1022
936
  /**
1023
- * current 为当前显示图片的链接/索引值,不填或填写的值无效则为 urls 的第一张。APP平台仅支持索引值。
937
+ * current 为当前显示图片的链接/索引值,不填或填写的值无效则为 urls 的第一张。
1024
938
  * @type string | number
1025
- * @uniPlatform {
1026
- * "mp": {
1027
- * "weixin": {
1028
- * "hostVer": "√",
1029
- * "uniVer": "√",
1030
- * "unixVer": "4.41"
1031
- * },
1032
- * "alipay": {
1033
- * "hostVer": "-",
1034
- * "uniVer": "-",
1035
- * "unixVer": "-"
1036
- * },
1037
- * "baidu": {
1038
- * "hostVer": "-",
1039
- * "uniVer": "-",
1040
- * "unixVer": "-"
1041
- * },
1042
- * "toutiao": {
1043
- * "hostVer": "-",
1044
- * "uniVer": "-",
1045
- * "unixVer": "-"
1046
- * },
1047
- * "lark": {
1048
- * "hostVer": "-",
1049
- * "uniVer": "-",
1050
- * "unixVer": "-"
1051
- * },
1052
- * "qq": {
1053
- * "hostVer": "-",
1054
- * "uniVer": "-",
1055
- * "unixVer": "-"
1056
- * },
1057
- * "kuaishou": {
1058
- * "hostVer": "-",
1059
- * "uniVer": "-",
1060
- * "unixVer": "-"
1061
- * },
1062
- * "jd": {
1063
- * "hostVer": "-",
1064
- * "uniVer": "-",
1065
- * "unixVer": "-"
1066
- * }
1067
- * }
1068
- * }
1069
939
  */
1070
940
  current?: any | null,
1071
941
  /**
1072
942
  * 需要预览的图片链接列表
1073
- * @uniPlatform {
1074
- * "mp": {
1075
- * "weixin": {
1076
- * "hostVer": "√",
1077
- * "uniVer": "√",
1078
- * "unixVer": "4.41"
1079
- * },
1080
- * "alipay": {
1081
- * "hostVer": "-",
1082
- * "uniVer": "-",
1083
- * "unixVer": "-"
1084
- * },
1085
- * "baidu": {
1086
- * "hostVer": "-",
1087
- * "uniVer": "-",
1088
- * "unixVer": "-"
1089
- * },
1090
- * "toutiao": {
1091
- * "hostVer": "-",
1092
- * "uniVer": "-",
1093
- * "unixVer": "-"
1094
- * },
1095
- * "lark": {
1096
- * "hostVer": "-",
1097
- * "uniVer": "-",
1098
- * "unixVer": "-"
1099
- * },
1100
- * "qq": {
1101
- * "hostVer": "-",
1102
- * "uniVer": "-",
1103
- * "unixVer": "-"
1104
- * },
1105
- * "kuaishou": {
1106
- * "hostVer": "-",
1107
- * "uniVer": "-",
1108
- * "unixVer": "-"
1109
- * },
1110
- * "jd": {
1111
- * "hostVer": "-",
1112
- * "uniVer": "-",
1113
- * "unixVer": "-"
1114
- * }
1115
- * }
1116
- * }
1117
943
  */
1118
944
  urls: Array<string.ImageURIString>,
1119
945
  /**
@@ -1256,13 +1082,13 @@ export type PreviewImageOptions = {
1256
1082
  */
1257
1083
  loop?: boolean | null,
1258
1084
  /**
1259
- * 长按图片显示操作菜单,如不填默认为保存相册。
1085
+ * 长按图片显示操作菜单。
1260
1086
  * @uniPlatform {
1261
1087
  * "app": {
1262
1088
  * "android": {
1263
1089
  * "osVer": "5.0",
1264
1090
  * "uniVer": "√",
1265
- * "unixVer": "x"
1091
+ * "unixVer": "4.51"
1266
1092
  * },
1267
1093
  * "ios": {
1268
1094
  * "osVer": "5.0",
@@ -1324,158 +1150,19 @@ export type PreviewImageOptions = {
1324
1150
  * }
1325
1151
  * }
1326
1152
  */
1327
- // longPressActions ?: LongPressActionsOptions | null,
1153
+ longPressActions ?: LongPressActionsOptions | null,
1328
1154
  /**
1329
1155
  * 接口调用成功的回调函数
1330
1156
  */
1331
1157
  success?: (PreviewImageSuccessCallback) | null,
1332
1158
  /**
1333
1159
  * 接口调用失败的回调函数
1334
- * @uniPlatform {
1335
- * "mp": {
1336
- * "weixin": {
1337
- * "hostVer": "√",
1338
- * "uniVer": "√",
1339
- * "unixVer": "4.41"
1340
- * },
1341
- * "alipay": {
1342
- * "hostVer": "-",
1343
- * "uniVer": "-",
1344
- * "unixVer": "-"
1345
- * },
1346
- * "baidu": {
1347
- * "hostVer": "-",
1348
- * "uniVer": "-",
1349
- * "unixVer": "-"
1350
- * },
1351
- * "toutiao": {
1352
- * "hostVer": "-",
1353
- * "uniVer": "-",
1354
- * "unixVer": "-"
1355
- * },
1356
- * "lark": {
1357
- * "hostVer": "-",
1358
- * "uniVer": "-",
1359
- * "unixVer": "-"
1360
- * },
1361
- * "qq": {
1362
- * "hostVer": "-",
1363
- * "uniVer": "-",
1364
- * "unixVer": "-"
1365
- * },
1366
- * "kuaishou": {
1367
- * "hostVer": "-",
1368
- * "uniVer": "-",
1369
- * "unixVer": "-"
1370
- * },
1371
- * "jd": {
1372
- * "hostVer": "-",
1373
- * "uniVer": "-",
1374
- * "unixVer": "-"
1375
- * }
1376
- * }
1377
- * }
1378
1160
  */
1379
1161
  fail?: (PreviewImageFailCallback) | null,
1380
1162
  /**
1381
1163
  * 接口调用结束的回调函数(调用成功、失败都会执行)
1382
- * @uniPlatform {
1383
- * "mp": {
1384
- * "weixin": {
1385
- * "hostVer": "√",
1386
- * "uniVer": "√",
1387
- * "unixVer": "4.41"
1388
- * },
1389
- * "alipay": {
1390
- * "hostVer": "-",
1391
- * "uniVer": "-",
1392
- * "unixVer": "-"
1393
- * },
1394
- * "baidu": {
1395
- * "hostVer": "-",
1396
- * "uniVer": "-",
1397
- * "unixVer": "-"
1398
- * },
1399
- * "toutiao": {
1400
- * "hostVer": "-",
1401
- * "uniVer": "-",
1402
- * "unixVer": "-"
1403
- * },
1404
- * "lark": {
1405
- * "hostVer": "-",
1406
- * "uniVer": "-",
1407
- * "unixVer": "-"
1408
- * },
1409
- * "qq": {
1410
- * "hostVer": "-",
1411
- * "uniVer": "-",
1412
- * "unixVer": "-"
1413
- * },
1414
- * "kuaishou": {
1415
- * "hostVer": "-",
1416
- * "uniVer": "-",
1417
- * "unixVer": "-"
1418
- * },
1419
- * "jd": {
1420
- * "hostVer": "-",
1421
- * "uniVer": "-",
1422
- * "unixVer": "-"
1423
- * }
1424
- * }
1425
- * }
1426
1164
  */
1427
1165
  complete?: (PreviewImageCompleteCallback) | null
1428
- /**
1429
- * 需要基础库: `2.13.0`
1430
- *
1431
- * `origin`: 发送完整的referrer; `no-referrer`: 不发送。格式固定为 `https://servicewechat.com/{appid}/{version}/page-frame.html`,其中 {appid} 为小程序的 appid,{version} 为小程序的版本号,版本号为 0 表示为开发版、体验版以及审核版本,版本号为 devtools 表示为开发者工具,其余为正式版本;
1432
- *
1433
- * @uniPlatform {
1434
- * "mp": {
1435
- * "weixin": {
1436
- * "hostVer": "2.13.0",
1437
- * "uniVer": "√",
1438
- * "unixVer": "4.41"
1439
- * },
1440
- * "alipay": {
1441
- * "hostVer": "-",
1442
- * "uniVer": "-",
1443
- * "unixVer": "-"
1444
- * },
1445
- * "baidu": {
1446
- * "hostVer": "-",
1447
- * "uniVer": "-",
1448
- * "unixVer": "-"
1449
- * },
1450
- * "toutiao": {
1451
- * "hostVer": "-",
1452
- * "uniVer": "-",
1453
- * "unixVer": "-"
1454
- * },
1455
- * "lark": {
1456
- * "hostVer": "-",
1457
- * "uniVer": "-",
1458
- * "unixVer": "-"
1459
- * },
1460
- * "qq": {
1461
- * "hostVer": "-",
1462
- * "uniVer": "-",
1463
- * "unixVer": "-"
1464
- * },
1465
- * "kuaishou": {
1466
- * "hostVer": "-",
1467
- * "uniVer": "-",
1468
- * "unixVer": "-"
1469
- * },
1470
- * "jd": {
1471
- * "hostVer": "-",
1472
- * "uniVer": "-",
1473
- * "unixVer": "-"
1474
- * }
1475
- * }
1476
- * }
1477
- */
1478
- referrerPolicy?: string | null;
1479
1166
  };
1480
1167
 
1481
1168
  export type PreviewImage = (options: PreviewImageOptions) => void;
@@ -4942,7 +4629,7 @@ export type ChooseFileSuccess = {
4942
4629
  */
4943
4630
  tempFilePaths: string[],
4944
4631
  /**
4945
- * 文件的本地文件列表,每一项是一个 File 对象, Android平台不支持
4632
+ * 文件的本地文件列表,每一项是一个 File 对象
4946
4633
  * @type ChooseFileSuccessCallbackResultFile | ChooseFileSuccessCallbackResultFile [] | File | File []
4947
4634
  */
4948
4635
  tempFiles: ChooseFileTempFile[],
@@ -4973,7 +4660,7 @@ export type ChooseFileOptions = {
4973
4660
  */
4974
4661
  count?: number | null,
4975
4662
  /**
4976
- * 选择文件的类型,默认all,可选image、audio
4663
+ * 选择文件的类型,默认all,可选
4977
4664
  * - image: 选择图片文件
4978
4665
  * - video: 选择视频文件
4979
4666
  * - audio: 选择音频文件
@@ -5100,69 +4787,69 @@ export interface Uni {
5100
4787
  * 预览图片
5101
4788
  * @description 预览图片
5102
4789
  * @uniPlatform {
5103
- * "app": {
5104
- * "android": {
5105
- * "osVer": "5.0",
5106
- * "uniVer": "√",
5107
- * "unixVer": "3.9+"
5108
- * },
5109
- * "ios": {
5110
- * "osVer": "12.0",
5111
- * "uniVer": "√",
5112
- * "unixVer": "4.11"
5113
- * },
5114
- * "harmony": {
5115
- * "osVer": "3.0",
5116
- * "uniVer": "4.23",
5117
- * "unixVer": "x"
5118
- * }
5119
- * },
5120
- * "web": {
5121
- * "uniVer": "√",
5122
- * "unixVer": "4.0"
5123
- * },
5124
- * "mp": {
5125
- * "weixin": {
5126
- * "hostVer": "1.9.6",
5127
- * "uniVer": "√",
5128
- * "unixVer": "4.41"
5129
- * },
5130
- * "alipay": {
5131
- * "hostVer": "√",
5132
- * "uniVer": "√",
5133
- * "unixVer": "x"
5134
- * },
5135
- * "baidu": {
5136
- * "hostVer": "√",
5137
- * "uniVer": "√",
5138
- * "unixVer": "x"
5139
- * },
5140
- * "toutiao": {
5141
- * "hostVer": "√",
5142
- * "uniVer": "√",
5143
- * "unixVer": "x"
5144
- * },
5145
- * "lark": {
5146
- * "hostVer": "√",
5147
- * "uniVer": "√",
5148
- * "unixVer": "x"
5149
- * },
5150
- * "qq": {
5151
- * "hostVer": "√",
5152
- * "uniVer": "√",
5153
- * "unixVer": "x"
5154
- * },
5155
- * "kuaishou": {
5156
- * "hostVer": "√",
5157
- * "uniVer": "√",
5158
- * "unixVer": "x"
5159
- * },
5160
- * "jd": {
5161
- * "hostVer": "x",
5162
- * "uniVer": "x",
5163
- * "unixVer": "x"
5164
- * }
5165
- * }
4790
+ * "app": {
4791
+ * "android": {
4792
+ * "osVer": "5.0",
4793
+ * "uniVer": "√",
4794
+ * "unixVer": "3.9+"
4795
+ * },
4796
+ * "ios": {
4797
+ * "osVer": "12.0",
4798
+ * "uniVer": "√",
4799
+ * "unixVer": "4.11"
4800
+ * },
4801
+ * "harmony": {
4802
+ * "osVer": "3.0",
4803
+ * "uniVer": "4.23",
4804
+ * "unixVer": "x"
4805
+ * }
4806
+ * },
4807
+ * "web": {
4808
+ * "uniVer": "√",
4809
+ * "unixVer": "4.0"
4810
+ * },
4811
+ * "mp": {
4812
+ * "weixin": {
4813
+ * "hostVer": "",
4814
+ * "uniVer": "√",
4815
+ * "unixVer": "4.41"
4816
+ * },
4817
+ * "alipay": {
4818
+ * "hostVer": "√",
4819
+ * "uniVer": "√",
4820
+ * "unixVer": "x"
4821
+ * },
4822
+ * "baidu": {
4823
+ * "hostVer": "√",
4824
+ * "uniVer": "√",
4825
+ * "unixVer": "x"
4826
+ * },
4827
+ * "toutiao": {
4828
+ * "hostVer": "√",
4829
+ * "uniVer": "√",
4830
+ * "unixVer": "x"
4831
+ * },
4832
+ * "lark": {
4833
+ * "hostVer": "√",
4834
+ * "uniVer": "√",
4835
+ * "unixVer": "x"
4836
+ * },
4837
+ * "qq": {
4838
+ * "hostVer": "√",
4839
+ * "uniVer": "√",
4840
+ * "unixVer": "x"
4841
+ * },
4842
+ * "kuaishou": {
4843
+ * "hostVer": "√",
4844
+ * "uniVer": "√",
4845
+ * "unixVer": "x"
4846
+ * },
4847
+ * "jd": {
4848
+ * "hostVer": "x",
4849
+ * "uniVer": "x",
4850
+ * "unixVer": "x"
4851
+ * }
4852
+ * }
5166
4853
  * }
5167
4854
  * @uniVueVersion 2,3
5168
4855
  * @example
@@ -5180,7 +4867,6 @@ export interface Uni {
5180
4867
  * @autotest {
5181
4868
  generated:false
5182
4869
  }
5183
- * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/media/image/wx.previewImage.html
5184
4870
  */
5185
4871
  previewImage(options: PreviewImageOptions): void;
5186
4872
  /**
@@ -5953,5 +5639,5 @@ export interface Uni {
5953
5639
  * }
5954
5640
  * }
5955
5641
  */
5956
- chooseFile: ChooseFile;
5642
+ chooseFile(options: ChooseFileOptions): void;
5957
5643
  }
@@ -977,7 +977,7 @@ export interface Uni {
977
977
  * }
978
978
  * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/ui/navigation-bar/wx.showNavigationBarLoading.html
979
979
  */
980
- showNavigationBarLoading: ShowNavigationBarLoading;
980
+ showNavigationBarLoading(options?: ShowNavigationBarLoadingOptions | null): void
981
981
 
982
982
  /**
983
983
  * 隐藏导航条加载动画
@@ -1051,7 +1051,7 @@ export interface Uni {
1051
1051
  * }
1052
1052
  * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/ui/navigation-bar/wx.hideNavigationBarLoading.html
1053
1053
  */
1054
- hideNavigationBarLoading: HideNavigationBarLoading;
1054
+ hideNavigationBarLoading(options?: HideNavigationBarLoadingOptions | null): void
1055
1055
  }
1056
1056
 
1057
1057
  /**
@@ -4421,7 +4421,7 @@ export interface Uni {
4421
4421
  }
4422
4422
  }
4423
4423
  */
4424
- configMTLS: ConfigMTLS;
4424
+ configMTLS(options: ConfigMTLSOptions): void;
4425
4425
  }
4426
4426
 
4427
4427
  /**
@@ -81,7 +81,7 @@ export interface Uni {
81
81
  * }
82
82
  * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/open-api/login/wx.login.html
83
83
  */
84
- login: Login;
84
+ login(options: LoginOptions): void;
85
85
  /**
86
86
  * 获取用户信息
87
87
  *
@@ -164,7 +164,7 @@ export interface Uni {
164
164
  * }
165
165
  * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/open-api/user-info/wx.getUserInfo.html
166
166
  */
167
- getUserInfo: GetUserInfo;
167
+ getUserInfo(options: GetUserInfoOptions): void;
168
168
  }
169
169
  export interface UniOAuthProvider extends UniProvider {
170
170
  login(options: LoginOptions): void;