@dcloudio/uni-app-x 0.7.59 → 0.7.60

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 (149) hide show
  1. package/package.json +1 -1
  2. package/types/app.d.ts +16 -8
  3. package/types/native/IUniElement.d.ts +0 -2
  4. package/types/native/UniFormControl.d.ts +1 -1
  5. package/types/native/UniSwiperAnimationFinishEvent.d.ts +1 -0
  6. package/types/native/UniSwiperChangeEvent.d.ts +1 -0
  7. package/types/native/WebViewStyles.d.ts +1 -1
  8. package/types/native/global.d.ts +2 -0
  9. package/types/page.d.ts +134 -22
  10. package/types/uni/uni-camera-global.d.ts +4 -0
  11. package/types/uni/uni-camera.d.ts +10 -9
  12. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +3 -2
  13. package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +3 -2
  14. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +9 -6
  15. package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +3 -2
  16. package/types/uni/uts-plugin-api/lib/uni-chooseMedia/utssdk/interface.d.ts +4 -4
  17. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +10 -8
  18. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +10 -10
  19. package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +3 -2
  20. package/types/uni/uts-plugin-api/lib/uni-createRequestPermissionListener/utssdk/interface.d.ts +2 -2
  21. package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +2 -2
  22. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +7 -6
  23. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +5 -3
  24. package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +8 -8
  25. package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/interface.d.ts +4 -1
  26. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +26 -11
  27. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +2 -2
  28. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +3 -3
  29. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +11 -10
  30. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +2 -2
  31. package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/interface.d.ts +1 -1
  32. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +4 -4
  33. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +8 -8
  34. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +8 -6
  35. package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +1 -1
  36. package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/interface.d.ts +4 -4
  37. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +7 -7
  38. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +2 -2
  39. package/types/uni/uts-plugin-api/lib/uni-installApk/utssdk/interface.d.ts +1 -1
  40. package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/interface.d.ts +4 -4
  41. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +246 -236
  42. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +4 -4
  43. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +3 -2
  44. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +141 -243
  45. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/interface.d.ts +80 -696
  46. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +10 -8
  47. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +387 -95
  48. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +401 -344
  49. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +52 -52
  50. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +2 -2
  51. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +11 -11
  52. package/types/uni/uts-plugin-api/lib/uni-previewImage/utssdk/interface.d.ts +5 -5
  53. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +24 -24
  54. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +4 -4
  55. package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/interface.d.ts +39 -25
  56. package/types/uni/uts-plugin-api/lib/uni-requestMerchantTransfer/utssdk/interface.d.ts +3 -0
  57. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +10 -10
  58. package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/interface.d.ts +2 -2
  59. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +4 -4
  60. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +20 -20
  61. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +18 -18
  62. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +49 -49
  63. package/types/uni/uts-plugin-api/lib/uni-virtualPayment/utssdk/interface.d.ts +5 -5
  64. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +26 -26
  65. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +14 -14
  66. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/global.d.ts +16 -2
  67. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/index.d.ts +8 -1
  68. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/interface.d.ts +153 -6
  69. package/types/uni-cloud/interface.d.ts +13 -9
  70. package/types/uni/uts-plugin-api/.temp/uni-actionSheet/utssdk/interface.uts +0 -554
  71. package/types/uni/uts-plugin-api/.temp/uni-addPhoneContact/utssdk/interface.uts +0 -224
  72. package/types/uni/uts-plugin-api/.temp/uni-arrayBufferToBase64/utssdk/interface.uts +0 -77
  73. package/types/uni/uts-plugin-api/.temp/uni-authentication/utssdk/interface.uts +0 -365
  74. package/types/uni/uts-plugin-api/.temp/uni-base64ToArrayBuffer/utssdk/interface.uts +0 -77
  75. package/types/uni/uts-plugin-api/.temp/uni-canvas/utssdk/interface.uts +0 -972
  76. package/types/uni/uts-plugin-api/.temp/uni-chooseLocation/utssdk/interface.uts +0 -410
  77. package/types/uni/uts-plugin-api/.temp/uni-chooseMedia/utssdk/interface.uts +0 -459
  78. package/types/uni/uts-plugin-api/.temp/uni-clipboard/utssdk/interface.uts +0 -203
  79. package/types/uni/uts-plugin-api/.temp/uni-createInnerAudioContext/utssdk/interface.uts +0 -2613
  80. package/types/uni/uts-plugin-api/.temp/uni-createIntersectionObserver/utssdk/interface.uts +0 -152
  81. package/types/uni/uts-plugin-api/.temp/uni-createRequestPermissionListener/utssdk/interface.uts +0 -61
  82. package/types/uni/uts-plugin-api/.temp/uni-createSelectorQuery/utssdk/interface.uts +0 -548
  83. package/types/uni/uts-plugin-api/.temp/uni-createWebviewContext/utssdk/interface.uts +0 -137
  84. package/types/uni/uts-plugin-api/.temp/uni-dialogPage/utssdk/interface.uts +0 -1380
  85. package/types/uni/uts-plugin-api/.temp/uni-document/utssdk/interface.uts +0 -76
  86. package/types/uni/uts-plugin-api/.temp/uni-event/utssdk/interface.uts +0 -338
  87. package/types/uni/uts-plugin-api/.temp/uni-exit/utssdk/interface.uts +0 -102
  88. package/types/uni/uts-plugin-api/.temp/uni-file/utssdk/interface.uts +0 -384
  89. package/types/uni/uts-plugin-api/.temp/uni-fileSystemManager/utssdk/interface.uts +0 -5316
  90. package/types/uni/uts-plugin-api/.temp/uni-getAccessibilityInfo/utssdk/interface.uts +0 -35
  91. package/types/uni/uts-plugin-api/.temp/uni-getAppAuthorizeSetting/utssdk/interface.uts +0 -616
  92. package/types/uni/uts-plugin-api/.temp/uni-getAppBaseInfo/utssdk/interface.uts +0 -2157
  93. package/types/uni/uts-plugin-api/.temp/uni-getBackgroundAudioManager/utssdk/interface.uts +0 -895
  94. package/types/uni/uts-plugin-api/.temp/uni-getDeviceInfo/utssdk/interface.uts +0 -1755
  95. package/types/uni/uts-plugin-api/.temp/uni-getElementById/utssdk/interface.uts +0 -82
  96. package/types/uni/uts-plugin-api/.temp/uni-getEnterOptionsSync/utssdk/interface.uts +0 -295
  97. package/types/uni/uts-plugin-api/.temp/uni-getLaunchOptionsSync/utssdk/interface.uts +0 -299
  98. package/types/uni/uts-plugin-api/.temp/uni-getLocation/utssdk/interface.uts +0 -1764
  99. package/types/uni/uts-plugin-api/.temp/uni-getLocation-system/utssdk/interface.uts +0 -1
  100. package/types/uni/uts-plugin-api/.temp/uni-getLocation-tencent/utssdk/interface.uts +0 -1
  101. package/types/uni/uts-plugin-api/.temp/uni-getLocation-tencent-uni1/utssdk/interface.uts +0 -736
  102. package/types/uni/uts-plugin-api/.temp/uni-getNetworkType/utssdk/interface.uts +0 -274
  103. package/types/uni/uts-plugin-api/.temp/uni-getPerformance/utssdk/interface.uts +0 -198
  104. package/types/uni/uts-plugin-api/.temp/uni-getProvider/utssdk/interface.uts +0 -634
  105. package/types/uni/uts-plugin-api/.temp/uni-getRecorderManager/utssdk/interface.uts +0 -980
  106. package/types/uni/uts-plugin-api/.temp/uni-getSystemInfo/utssdk/interface.uts +0 -5550
  107. package/types/uni/uts-plugin-api/.temp/uni-getSystemSetting/utssdk/interface.uts +0 -501
  108. package/types/uni/uts-plugin-api/.temp/uni-installApk/utssdk/interface.uts +0 -83
  109. package/types/uni/uts-plugin-api/.temp/uni-interceptor/utssdk/interface.uts +0 -169
  110. package/types/uni/uts-plugin-api/.temp/uni-keyboard/utssdk/interface.uts +0 -102
  111. package/types/uni/uts-plugin-api/.temp/uni-loadFontFace/utssdk/interface.uts +0 -580
  112. package/types/uni/uts-plugin-api/.temp/uni-makePhoneCall/utssdk/interface.uts +0 -100
  113. package/types/uni/uts-plugin-api/.temp/uni-media/utssdk/interface.uts +0 -2980
  114. package/types/uni/uts-plugin-api/.temp/uni-modal/utssdk/interface.uts +0 -190
  115. package/types/uni/uts-plugin-api/.temp/uni-navigationBar/utssdk/interface.uts +0 -1002
  116. package/types/uni/uts-plugin-api/.temp/uni-network/utssdk/interface.uts +0 -3620
  117. package/types/uni/uts-plugin-api/.temp/uni-oauth/utssdk/interface.uts +0 -1592
  118. package/types/uni/uts-plugin-api/.temp/uni-oauth-huawei/utssdk/interface.uts +0 -1
  119. package/types/uni/uts-plugin-api/.temp/uni-openAppAuthorizeSetting/utssdk/interface.uts +0 -254
  120. package/types/uni/uts-plugin-api/.temp/uni-openDocument/utssdk/interface.uts +0 -112
  121. package/types/uni/uts-plugin-api/.temp/uni-pageScrollTo/utssdk/interface.uts +0 -153
  122. package/types/uni/uts-plugin-api/.temp/uni-payment/utssdk/interface.uts +0 -833
  123. package/types/uni/uts-plugin-api/.temp/uni-payment-alipay/utssdk/interface.uts +0 -1
  124. package/types/uni/uts-plugin-api/.temp/uni-payment-huawei/utssdk/interface.uts +0 -1
  125. package/types/uni/uts-plugin-api/.temp/uni-payment-wxpay/utssdk/interface.uts +0 -3
  126. package/types/uni/uts-plugin-api/.temp/uni-previewImage/utssdk/interface.uts +0 -518
  127. package/types/uni/uts-plugin-api/.temp/uni-privacy/utssdk/interface.uts +0 -560
  128. package/types/uni/uts-plugin-api/.temp/uni-prompt/utssdk/interface.uts +0 -2607
  129. package/types/uni/uts-plugin-api/.temp/uni-pullDownRefresh/utssdk/interface.uts +0 -189
  130. package/types/uni/uts-plugin-api/.temp/uni-requestMerchantTransfer/utssdk/interface.uts +0 -710
  131. package/types/uni/uts-plugin-api/.temp/uni-route/utssdk/interface.uts +0 -2695
  132. package/types/uni/uts-plugin-api/.temp/uni-rpx2px/utssdk/interface.uts +0 -80
  133. package/types/uni/uts-plugin-api/.temp/uni-scanCode/utssdk/interface.uts +0 -130
  134. package/types/uni/uts-plugin-api/.temp/uni-shareWithSystem/utssdk/interface.uts +0 -719
  135. package/types/uni/uts-plugin-api/.temp/uni-sse/utssdk/interface.uts +0 -277
  136. package/types/uni/uts-plugin-api/.temp/uni-storage/utssdk/interface.uts +0 -1020
  137. package/types/uni/uts-plugin-api/.temp/uni-tabBar/utssdk/interface.uts +0 -1148
  138. package/types/uni/uts-plugin-api/.temp/uni-theme/utssdk/interface.uts +0 -1059
  139. package/types/uni/uts-plugin-api/.temp/uni-virtualPayment/utssdk/interface.uts +0 -1660
  140. package/types/uni/uts-plugin-api/.temp/uni-websocket/utssdk/interface.uts +0 -1941
  141. package/types/uni/uts-plugin-biz/.temp/uni-ad/utssdk/interface.uts +0 -726
  142. package/types/uni/uts-plugin-biz/.temp/uni-crash/utssdk/interface.uts +0 -89
  143. package/types/uni/uts-plugin-biz/.temp/uni-facialRecognitionVerify/utssdk/interface.uts +0 -212
  144. package/types/uni/uts-plugin-biz/.temp/uni-map-tencent/utssdk/interface.uts +0 -2359
  145. package/types/uni/uts-plugin-biz/.temp/uni-push/utssdk/interface.uts +0 -960
  146. package/types/uni/uts-plugin-biz/.temp/uni-secure-network/utssdk/interface.uts +0 -204
  147. package/types/uni/uts-plugin-biz/.temp/uni-verify/utssdk/interface.uts +0 -730
  148. package/types/uni/uts-plugin-component/.temp/uni-camera/utssdk/interface.uts +0 -221
  149. package/types/uni/uts-plugin-component/.temp/uni-video/utssdk/interface.uts +0 -935
@@ -905,98 +905,56 @@ export type PreviewImageCompleteCallback = ChooseImageCompleteCallback
905
905
  export type PreviewImageOptions = {
906
906
  /**
907
907
  * current 为当前显示图片的链接/索引值,不填或填写的值无效则为 urls 的第一张。
908
- * @uniPlatform {
909
- * "mp": {
910
- * "weixin": {
911
- * "hostVer": "",
912
- * "uniVer": "√",
913
- * "unixVer": "4.41"
914
- * },
915
- * "alipay": {
916
- * "hostVer": "-",
917
- * "uniVer": "-",
918
- * "unixVer": "-"
919
- * },
920
- * "baidu": {
921
- * "hostVer": "-",
922
- * "uniVer": "-",
923
- * "unixVer": "-"
924
- * },
925
- * "toutiao": {
926
- * "hostVer": "-",
927
- * "uniVer": "-",
928
- * "unixVer": "-"
929
- * },
930
- * "lark": {
931
- * "hostVer": "-",
932
- * "uniVer": "-",
933
- * "unixVer": "-"
934
- * },
935
- * "qq": {
936
- * "hostVer": "-",
937
- * "uniVer": "-",
938
- * "unixVer": "-"
939
- * },
940
- * "kuaishou": {
941
- * "hostVer": "-",
942
- * "uniVer": "-",
943
- * "unixVer": "-"
944
- * },
945
- * "jd": {
946
- * "hostVer": "-",
947
- * "uniVer": "-",
948
- * "unixVer": "-"
949
- * }
950
- * }
951
- * }
908
+ * @uniPlatform {
909
+ * "app": {
910
+ * "android": {
911
+ * "osVer": "5.0",
912
+ * "uniVer": "√",
913
+ * "unixVer": "3.9"
914
+ * },
915
+ * "ios": {
916
+ * "osVer": "10.0",
917
+ * "uniVer": "",
918
+ * "unixVer": "4.11"
919
+ * },
920
+ * "harmony": {
921
+ * "osVer": "5.0.0",
922
+ * "uniVer": "4.23",
923
+ * "unixVer": "4.61"
924
+ * }
925
+ * },
926
+ * "web": {
927
+ * "uniVer": "",
928
+ * "unixVer": ""
929
+ * }
930
+ *}
952
931
  */
953
932
  current?: any | null,
954
933
  /**
955
934
  * 需要预览的图片链接列表
956
- * @uniPlatform {
957
- * "mp": {
958
- * "weixin": {
959
- * "hostVer": "",
960
- * "uniVer": "√",
961
- * "unixVer": "4.41"
962
- * },
963
- * "alipay": {
964
- * "hostVer": "-",
965
- * "uniVer": "-",
966
- * "unixVer": "-"
967
- * },
968
- * "baidu": {
969
- * "hostVer": "-",
970
- * "uniVer": "-",
971
- * "unixVer": "-"
972
- * },
973
- * "toutiao": {
974
- * "hostVer": "-",
975
- * "uniVer": "-",
976
- * "unixVer": "-"
977
- * },
978
- * "lark": {
979
- * "hostVer": "-",
980
- * "uniVer": "-",
981
- * "unixVer": "-"
982
- * },
983
- * "qq": {
984
- * "hostVer": "-",
985
- * "uniVer": "-",
986
- * "unixVer": "-"
987
- * },
988
- * "kuaishou": {
989
- * "hostVer": "-",
990
- * "uniVer": "-",
991
- * "unixVer": "-"
992
- * },
993
- * "jd": {
994
- * "hostVer": "-",
995
- * "uniVer": "-",
996
- * "unixVer": "-"
997
- * }
998
- * }
999
- * }
935
+ * @uniPlatform {
936
+ * "app": {
937
+ * "android": {
938
+ * "osVer": "5.0",
939
+ * "uniVer": "√",
940
+ * "unixVer": "3.9"
941
+ * },
942
+ * "ios": {
943
+ * "osVer": "10.0",
944
+ * "uniVer": "",
945
+ * "unixVer": "4.11"
946
+ * },
947
+ * "harmony": {
948
+ * "osVer": "5.0.0",
949
+ * "uniVer": "4.23",
950
+ * "unixVer": "4.61"
951
+ * }
952
+ * },
953
+ * "web": {
954
+ * "uniVer": "",
955
+ * "unixVer": ""
956
+ * }
957
+ *}
1000
958
  */
1001
959
  urls: Array<string.ImageURIString>,
1002
960
  /**
@@ -1149,7 +1107,7 @@ export type PreviewImageOptions = {
1149
1107
  * "ios": {
1150
1108
  * "osVer": "5.0",
1151
1109
  * "uniVer": "√",
1152
- * "unixVer": "x"
1110
+ * "unixVer": "4.71"
1153
1111
  * },
1154
1112
  * "harmony": {
1155
1113
  * "osVer": "x",
@@ -1209,146 +1167,85 @@ export type PreviewImageOptions = {
1209
1167
  longPressActions ?: LongPressActionsOptions | null,
1210
1168
  /**
1211
1169
  * 接口调用成功的回调函数
1212
- * @uniPlatform {
1213
- * "mp": {
1214
- * "weixin": {
1215
- * "hostVer": "",
1216
- * "uniVer": "√",
1217
- * "unixVer": "4.41"
1218
- * },
1219
- * "alipay": {
1220
- * "hostVer": "-",
1221
- * "uniVer": "-",
1222
- * "unixVer": "-"
1223
- * },
1224
- * "baidu": {
1225
- * "hostVer": "-",
1226
- * "uniVer": "-",
1227
- * "unixVer": "-"
1228
- * },
1229
- * "toutiao": {
1230
- * "hostVer": "-",
1231
- * "uniVer": "-",
1232
- * "unixVer": "-"
1233
- * },
1234
- * "lark": {
1235
- * "hostVer": "-",
1236
- * "uniVer": "-",
1237
- * "unixVer": "-"
1238
- * },
1239
- * "qq": {
1240
- * "hostVer": "-",
1241
- * "uniVer": "-",
1242
- * "unixVer": "-"
1243
- * },
1244
- * "kuaishou": {
1245
- * "hostVer": "-",
1246
- * "uniVer": "-",
1247
- * "unixVer": "-"
1248
- * },
1249
- * "jd": {
1250
- * "hostVer": "-",
1251
- * "uniVer": "-",
1252
- * "unixVer": "-"
1253
- * }
1254
- * }
1255
- * }
1170
+ * @uniPlatform {
1171
+ * "app": {
1172
+ * "android": {
1173
+ * "osVer": "5.0",
1174
+ * "uniVer": "√",
1175
+ * "unixVer": "3.9"
1176
+ * },
1177
+ * "ios": {
1178
+ * "osVer": "10.0",
1179
+ * "uniVer": "",
1180
+ * "unixVer": "4.11"
1181
+ * },
1182
+ * "harmony": {
1183
+ * "osVer": "5.0.0",
1184
+ * "uniVer": "4.23",
1185
+ * "unixVer": "4.61"
1186
+ * }
1187
+ * },
1188
+ * "web": {
1189
+ * "uniVer": "",
1190
+ * "unixVer": ""
1191
+ * }
1192
+ *}
1256
1193
  */
1257
1194
  success?: (PreviewImageSuccessCallback) | null,
1258
1195
  /**
1259
1196
  * 接口调用失败的回调函数
1260
- * @uniPlatform {
1261
- * "mp": {
1262
- * "weixin": {
1263
- * "hostVer": "√",
1264
- * "uniVer": "",
1265
- * "unixVer": "4.41"
1266
- * },
1267
- * "alipay": {
1268
- * "hostVer": "-",
1269
- * "uniVer": "-",
1270
- * "unixVer": "-"
1271
- * },
1272
- * "baidu": {
1273
- * "hostVer": "-",
1274
- * "uniVer": "-",
1275
- * "unixVer": "-"
1276
- * },
1277
- * "toutiao": {
1278
- * "hostVer": "-",
1279
- * "uniVer": "-",
1280
- * "unixVer": "-"
1281
- * },
1282
- * "lark": {
1283
- * "hostVer": "-",
1284
- * "uniVer": "-",
1285
- * "unixVer": "-"
1286
- * },
1287
- * "qq": {
1288
- * "hostVer": "-",
1289
- * "uniVer": "-",
1290
- * "unixVer": "-"
1291
- * },
1292
- * "kuaishou": {
1293
- * "hostVer": "-",
1294
- * "uniVer": "-",
1295
- * "unixVer": "-"
1296
- * },
1297
- * "jd": {
1298
- * "hostVer": "-",
1299
- * "uniVer": "-",
1300
- * "unixVer": "-"
1301
- * }
1302
- * }
1303
- * }
1197
+ *
1198
+ * @uniPlatform {
1199
+ * "app": {
1200
+ * "android": {
1201
+ * "osVer": "5.0",
1202
+ * "uniVer": "",
1203
+ * "unixVer": "3.9"
1204
+ * },
1205
+ * "ios": {
1206
+ * "osVer": "10.0",
1207
+ * "uniVer": "",
1208
+ * "unixVer": "4.11"
1209
+ * },
1210
+ * "harmony": {
1211
+ * "osVer": "5.0.0",
1212
+ * "uniVer": "4.23",
1213
+ * "unixVer": "4.61"
1214
+ * }
1215
+ * },
1216
+ * "web": {
1217
+ * "uniVer": "",
1218
+ * "unixVer": "√"
1219
+ * }
1220
+ *}
1304
1221
  */
1305
1222
  fail?: (PreviewImageFailCallback) | null,
1306
1223
  /**
1307
1224
  * 接口调用结束的回调函数(调用成功、失败都会执行)
1308
- * @uniPlatform {
1309
- * "mp": {
1310
- * "weixin": {
1311
- * "hostVer": "√",
1312
- * "uniVer": "",
1313
- * "unixVer": "4.41"
1314
- * },
1315
- * "alipay": {
1316
- * "hostVer": "-",
1317
- * "uniVer": "-",
1318
- * "unixVer": "-"
1319
- * },
1320
- * "baidu": {
1321
- * "hostVer": "-",
1322
- * "uniVer": "-",
1323
- * "unixVer": "-"
1324
- * },
1325
- * "toutiao": {
1326
- * "hostVer": "-",
1327
- * "uniVer": "-",
1328
- * "unixVer": "-"
1329
- * },
1330
- * "lark": {
1331
- * "hostVer": "-",
1332
- * "uniVer": "-",
1333
- * "unixVer": "-"
1334
- * },
1335
- * "qq": {
1336
- * "hostVer": "-",
1337
- * "uniVer": "-",
1338
- * "unixVer": "-"
1339
- * },
1340
- * "kuaishou": {
1341
- * "hostVer": "-",
1342
- * "uniVer": "-",
1343
- * "unixVer": "-"
1344
- * },
1345
- * "jd": {
1346
- * "hostVer": "-",
1347
- * "uniVer": "-",
1348
- * "unixVer": "-"
1349
- * }
1350
- * }
1351
- * }
1225
+ *
1226
+ * @uniPlatform {
1227
+ * "app": {
1228
+ * "android": {
1229
+ * "osVer": "5.0",
1230
+ * "uniVer": "",
1231
+ * "unixVer": "3.9"
1232
+ * },
1233
+ * "ios": {
1234
+ * "osVer": "10.0",
1235
+ * "uniVer": "",
1236
+ * "unixVer": "4.11"
1237
+ * },
1238
+ * "harmony": {
1239
+ * "osVer": "5.0.0",
1240
+ * "uniVer": "4.23",
1241
+ * "unixVer": "4.61"
1242
+ * }
1243
+ * },
1244
+ * "web": {
1245
+ * "uniVer": "",
1246
+ * "unixVer": "√"
1247
+ * }
1248
+ *}
1352
1249
  */
1353
1250
  complete?: (PreviewImageCompleteCallback) | null
1354
1251
  /**
@@ -5204,9 +5101,9 @@ export interface Uni {
5204
5101
  * }
5205
5102
  * })
5206
5103
  * ```
5207
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/media/image.html#chooseimage
5208
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/choose-image.html
5209
5104
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/choose-image.html
5105
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/choose-image.html
5106
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/media/image.html#chooseimage
5210
5107
  * @autotest {
5211
5108
  generated:false
5212
5109
  }
@@ -5292,8 +5189,8 @@ export interface Uni {
5292
5189
  * }
5293
5190
  * })
5294
5191
  * ```
5295
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/media/image.html#unipreviewimageobject
5296
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/preview-image.html
5192
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/media/image.html#unipreviewimageobject
5193
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/preview-image.html
5297
5194
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/preview-image.html
5298
5195
  * @autotest {
5299
5196
  generated:false
@@ -5378,8 +5275,8 @@ export interface Uni {
5378
5275
  * }
5379
5276
  * })
5380
5277
  * ```
5381
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/media/image.html#closepreviewimage
5382
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/preview-image.html#closepreviewimage
5278
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/media/image.html#closepreviewimage
5279
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/preview-image.html#closepreviewimage
5383
5280
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/preview-image.html#closepreviewimage
5384
5281
  * @autotest {
5385
5282
  generated:false
@@ -5465,8 +5362,8 @@ export interface Uni {
5465
5362
  * },
5466
5363
  * })
5467
5364
  * ```
5468
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/media/image.html#getimageinfo
5469
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-image-info.html
5365
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/media/image.html#getimageinfo
5366
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-image-info.html
5470
5367
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-image-info.html
5471
5368
  * @autotest {
5472
5369
  generated:false,
@@ -5557,8 +5454,8 @@ export interface Uni {
5557
5454
  * },
5558
5455
  * })
5559
5456
  * ```
5560
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/media/image.html#saveimagetophotosalbum
5561
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/save-image-to-photos-album.html
5457
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/media/image.html#saveimagetophotosalbum
5458
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/save-image-to-photos-album.html
5562
5459
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/save-image-to-photos-album.html
5563
5460
  * @autotest {
5564
5461
  generated:false,
@@ -5650,8 +5547,8 @@ export interface Uni {
5650
5547
  * },
5651
5548
  * })
5652
5549
  * ```
5653
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/media/image.html#compressimage
5654
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/compress-image.html
5550
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/media/image.html#compressimage
5551
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/compress-image.html
5655
5552
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/compress-image.html
5656
5553
  * @autotest {
5657
5554
  generated:false,
@@ -5741,8 +5638,8 @@ export interface Uni {
5741
5638
  * },
5742
5639
  * })
5743
5640
  * ```
5744
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/media/video.html
5745
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/choose-video.html
5641
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/media/video.html
5642
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/choose-video.html
5746
5643
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/choose-video.html
5747
5644
  * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/media/video/wx.chooseVideo.html
5748
5645
  */
@@ -5825,8 +5722,8 @@ export interface Uni {
5825
5722
  * },
5826
5723
  * })
5827
5724
  * ```
5828
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/media/video.html#getvideoinfo
5829
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-video-info.html
5725
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/media/video.html#getvideoinfo
5726
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-video-info.html
5830
5727
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-video-info.html
5831
5728
  * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/media/video/wx.getVideoInfo.html
5832
5729
  */
@@ -5909,8 +5806,8 @@ export interface Uni {
5909
5806
  * },
5910
5807
  * })
5911
5808
  * ```
5912
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/media/video.html#savevideotophotosalbum
5913
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/save-video-to-photos-album.html
5809
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/media/video.html#savevideotophotosalbum
5810
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/save-video-to-photos-album.html
5914
5811
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/save-video-to-photos-album.html
5915
5812
  * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/media/video/wx.saveVideoToPhotosAlbum.html
5916
5813
  */
@@ -5994,8 +5891,8 @@ export interface Uni {
5994
5891
  * },
5995
5892
  * })
5996
5893
  * ```
5997
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/media/video.html#compressvideo
5998
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/compress-video.html
5894
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/media/video.html#compressvideo
5895
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/compress-video.html
5999
5896
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/compress-video.html
6000
5897
  * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/media/video/wx.compressVideo.html
6001
5898
  */
@@ -6003,8 +5900,9 @@ export interface Uni {
6003
5900
  /**
6004
5901
  * 从本地选择文件
6005
5902
  *
6006
- * @tutorial https://uniapp.dcloud.net.cn/api/media/file.html#choosefile
6007
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/media/file.html#choosefile
5903
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/choose-file.html#choosefile
5904
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/choose-file.html#choosefile
5905
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/media/file.html#choosefile
6008
5906
  * @uniPlatform {
6009
5907
  * "app": {
6010
5908
  * "android": {