@dcloudio/uni-app-x 0.7.12 → 0.7.14

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 (276) hide show
  1. package/.prettierrc +5 -5
  2. package/README.md +1 -1
  3. package/index.d.ts +1 -1
  4. package/options.d.ts +9 -9
  5. package/package.json +27 -27
  6. package/types/app.d.ts +842 -843
  7. package/types/index.d.ts +7 -7
  8. package/types/native/AsyncApiResult.d.ts +7 -7
  9. package/types/native/CSSStyleDeclaration.d.ts +97 -25
  10. package/types/native/DOMRect.d.ts +236 -56
  11. package/types/native/DrawableContext.d.ts +471 -4
  12. package/types/native/INavigationBar.d.ts +22 -22
  13. package/types/native/IUniElement.d.ts +2372 -760
  14. package/types/native/IUniError.d.ts +20 -20
  15. package/types/native/IUniForm.d.ts +9 -9
  16. package/types/native/NativeLoadFontFaceOptions.d.ts +11 -11
  17. package/types/native/NodeData.d.ts +22 -22
  18. package/types/native/PageNode.d.ts +6 -6
  19. package/types/native/SnapshotOptions.d.ts +62 -63
  20. package/types/native/SourceError.d.ts +46 -46
  21. package/types/native/UTSAndroidHookProxy.d.ts +14 -14
  22. package/types/native/UniAggregateError.d.ts +19 -19
  23. package/types/native/UniApp.d.ts +95 -79
  24. package/types/native/UniCallbackWrapper.d.ts +7 -7
  25. package/types/native/UniCustomEvent.d.ts +24 -24
  26. package/types/native/UniDocument.d.ts +83 -83
  27. package/types/native/UniElement.d.ts +74 -74
  28. package/types/native/UniError.d.ts +70 -70
  29. package/types/native/UniEvent.d.ts +92 -62
  30. package/types/native/UniFormControl.d.ts +8 -8
  31. package/types/native/UniFormControlElement.d.ts +14 -14
  32. package/types/native/UniImageErrorEvent.d.ts +33 -33
  33. package/types/native/UniImageLoadEvent.d.ts +37 -37
  34. package/types/native/UniInputBlurEvent.d.ts +36 -36
  35. package/types/native/UniInputConfirmEvent.d.ts +30 -30
  36. package/types/native/UniInputEvent.d.ts +38 -38
  37. package/types/native/UniInputFocusEvent.d.ts +53 -48
  38. package/types/native/UniNativePage.d.ts +223 -181
  39. package/types/native/UniNestedPreScrollEvent.d.ts +45 -45
  40. package/types/native/UniPageEvent.d.ts +10 -10
  41. package/types/native/UniPageManager.d.ts +17 -17
  42. package/types/native/UniPageScrollEvent.d.ts +13 -13
  43. package/types/native/UniPointerEvent.d.ts +74 -74
  44. package/types/native/UniProvider.d.ts +14 -0
  45. package/types/native/UniRefresherEvent.d.ts +18 -18
  46. package/types/native/UniResizeEvent.d.ts +34 -34
  47. package/types/native/UniResizeObserver.d.ts +274 -0
  48. package/types/native/UniRichTextItemClickEvent.d.ts +41 -41
  49. package/types/native/UniScrollEvent.d.ts +42 -42
  50. package/types/native/UniScrollToLowerEvent.d.ts +23 -23
  51. package/types/native/UniScrollToUpperEvent.d.ts +23 -23
  52. package/types/native/UniStartNestedScrollEvent.d.ts +33 -33
  53. package/types/native/UniStopNestedScrollEvent.d.ts +28 -28
  54. package/types/native/UniSwiperAnimationFinishEvent.d.ts +44 -22
  55. package/types/native/UniSwiperChangeEvent.d.ts +44 -22
  56. package/types/native/UniSwiperTransitionEvent.d.ts +24 -24
  57. package/types/native/UniTabTapEvent.d.ts +18 -18
  58. package/types/native/UniTabsElement.d.ts +59 -59
  59. package/types/native/UniTextElement.d.ts +34 -34
  60. package/types/native/UniTextareaFocusEvent.d.ts +54 -49
  61. package/types/native/UniTouchEvent.d.ts +64 -64
  62. package/types/native/UniVideoElement.d.ts +70 -70
  63. package/types/native/UniWebViewDownloadEvent.d.ts +52 -52
  64. package/types/native/UniWebViewElement.d.ts +10 -10
  65. package/types/native/UniWebViewErrorEvent.d.ts +59 -47
  66. package/types/native/UniWebViewLoadEvent.d.ts +41 -36
  67. package/types/native/UniWebViewLoadingEvent.d.ts +41 -36
  68. package/types/native/UniWebViewMessageEvent.d.ts +36 -36
  69. package/types/native/UniWebViewServiceMessageEvent.d.ts +8 -8
  70. package/types/native/ViewToTempFilePathOptions.d.ts +47 -47
  71. package/types/native/WebViewStyles.d.ts +20 -20
  72. package/types/native/global.d.ts +540 -519
  73. package/types/native/index.d.ts +67 -65
  74. package/types/native-global/index.d.ts +1 -1
  75. package/types/page.d.ts +1678 -1593
  76. package/types/process.d.ts +5 -5
  77. package/types/uni/base/index.d.ts +3 -3
  78. package/types/uni/env/index.d.ts +64 -64
  79. package/types/uni/global.d.ts +6 -5
  80. package/types/uni/index.d.ts +4 -3
  81. package/types/uni/uts-plugin-api/global.d.ts +36 -35
  82. package/types/uni/uts-plugin-api/index.d.ts +36 -35
  83. package/types/uni/uts-plugin-api/lib/uni-createRequestPermissionListener/utssdk/global.d.ts +18 -18
  84. package/types/uni/uts-plugin-api/lib/uni-createRequestPermissionListener/utssdk/index.d.ts +8 -8
  85. package/types/uni/uts-plugin-api/lib/uni-createRequestPermissionListener/utssdk/interface.d.ts +43 -43
  86. package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/global.d.ts +20 -20
  87. package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/index.d.ts +9 -9
  88. package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +412 -412
  89. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/global.d.ts +12 -12
  90. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/index.d.ts +5 -5
  91. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +129 -129
  92. package/types/uni/uts-plugin-api/lib/uni-event/utssdk/global.d.ts +16 -16
  93. package/types/uni/uts-plugin-api/lib/uni-event/utssdk/index.d.ts +7 -7
  94. package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +277 -277
  95. package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/global.d.ts +26 -26
  96. package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/index.d.ts +12 -12
  97. package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/interface.d.ts +86 -82
  98. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/global.d.ts +142 -66
  99. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/index.d.ts +70 -32
  100. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +1833 -450
  101. package/types/uni/uts-plugin-api/lib/uni-getAccessibilityInfo/utssdk/global.d.ts +10 -10
  102. package/types/uni/uts-plugin-api/lib/uni-getAccessibilityInfo/utssdk/index.d.ts +4 -4
  103. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/global.d.ts +12 -12
  104. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/index.d.ts +5 -5
  105. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +200 -120
  106. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/global.d.ts +14 -14
  107. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/index.d.ts +6 -6
  108. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +681 -350
  109. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/global.d.ts +14 -14
  110. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/index.d.ts +6 -6
  111. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +533 -118
  112. package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/global.d.ts +10 -10
  113. package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/index.d.ts +4 -4
  114. package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/interface.d.ts +73 -73
  115. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/global.d.ts +12 -12
  116. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/index.d.ts +5 -5
  117. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +39 -39
  118. package/types/uni/uts-plugin-api/lib/uni-getLocation-system/utssdk/global.d.ts +20 -20
  119. package/types/uni/uts-plugin-api/lib/uni-getLocation-system/utssdk/index.d.ts +9 -9
  120. package/types/uni/uts-plugin-api/lib/uni-getLocation-system/utssdk/interface.d.ts +151 -151
  121. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/global.d.ts +24 -24
  122. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/index.d.ts +11 -11
  123. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +2 -2
  124. package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/global.d.ts +22 -22
  125. package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/index.d.ts +10 -10
  126. package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +157 -157
  127. package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/global.d.ts +24 -24
  128. package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/index.d.ts +11 -11
  129. package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/interface.d.ts +98 -88
  130. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/global.d.ts +30 -30
  131. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/index.d.ts +14 -14
  132. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +1373 -55
  133. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/global.d.ts +12 -12
  134. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/index.d.ts +5 -5
  135. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +102 -6
  136. package/types/uni/uts-plugin-api/lib/uni-installApk/utssdk/global.d.ts +24 -24
  137. package/types/uni/uts-plugin-api/lib/uni-installApk/utssdk/index.d.ts +11 -11
  138. package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/global.d.ts +16 -16
  139. package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/index.d.ts +7 -7
  140. package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/interface.d.ts +152 -152
  141. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/global.d.ts +26 -26
  142. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/index.d.ts +12 -12
  143. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +557 -557
  144. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/global.d.ts +158 -158
  145. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/index.d.ts +78 -78
  146. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +1064 -906
  147. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/global.d.ts +44 -44
  148. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/index.d.ts +21 -21
  149. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +794 -794
  150. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/app-ios/global.d.ts +78 -78
  151. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/app-ios/index.d.ts +38 -38
  152. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/app-ios/interface.d.ts +17 -17
  153. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/global.d.ts +72 -72
  154. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/index.d.ts +35 -35
  155. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +668 -31
  156. package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/global.d.ts +24 -24
  157. package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/index.d.ts +11 -11
  158. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/global.d.ts +24 -24
  159. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/index.d.ts +11 -11
  160. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +143 -143
  161. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/global.d.ts +32 -30
  162. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/index.d.ts +15 -14
  163. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +14 -10
  164. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/global.d.ts +74 -74
  165. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/index.d.ts +36 -36
  166. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/global.d.ts +26 -26
  167. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/index.d.ts +12 -12
  168. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +174 -174
  169. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/global.d.ts +58 -58
  170. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/index.d.ts +28 -28
  171. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +2020 -2020
  172. package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/global.d.ts +10 -10
  173. package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/index.d.ts +4 -4
  174. package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/interface.d.ts +33 -33
  175. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/global.d.ts +78 -78
  176. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/index.d.ts +38 -38
  177. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +531 -531
  178. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/global.d.ts +132 -132
  179. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/index.d.ts +65 -65
  180. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +1009 -926
  181. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/global.d.ts +42 -0
  182. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/index.d.ts +20 -0
  183. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +466 -0
  184. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/global.d.ts +58 -58
  185. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/index.d.ts +28 -28
  186. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +204 -54
  187. package/types/uni/uts-plugin-biz/global.d.ts +4 -4
  188. package/types/uni/uts-plugin-biz/index.d.ts +4 -4
  189. package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/global.d.ts +36 -36
  190. package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/index.d.ts +17 -17
  191. package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/interface.d.ts +137 -132
  192. package/types/uni/uts-plugin-biz/lib/uni-facialRecognitionVerify/utssdk/global.d.ts +28 -28
  193. package/types/uni/uts-plugin-biz/lib/uni-facialRecognitionVerify/utssdk/index.d.ts +13 -13
  194. package/types/uni/uts-plugin-biz/lib/uni-facialRecognitionVerify/utssdk/interface.d.ts +141 -141
  195. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/global.d.ts +56 -56
  196. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/index.d.ts +27 -27
  197. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +193 -19
  198. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/global.d.ts +46 -46
  199. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/index.d.ts +22 -22
  200. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +203 -203
  201. package/types/uni/uts-plugin-component/global.d.ts +1 -1
  202. package/types/uni/uts-plugin-component/index.d.ts +1 -1
  203. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/global.d.ts +64 -64
  204. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/index.d.ts +31 -31
  205. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +404 -404
  206. package/types/uni/uts-plugin-extend/README.md +3 -0
  207. package/types/uni/uts-plugin-extend/global.d.ts +14 -0
  208. package/types/uni/uts-plugin-extend/index.d.ts +16 -0
  209. package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/global.d.ts +12 -0
  210. package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/index.d.ts +1 -0
  211. package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/interface.d.ts +365 -0
  212. package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/global.d.ts +23 -0
  213. package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/index.d.ts +10 -0
  214. package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/interface.d.ts +710 -0
  215. package/types/uni/uts-plugin-extend/lib/uni-chooseLocation/utssdk/global.d.ts +21 -0
  216. package/types/uni/uts-plugin-extend/lib/uni-chooseLocation/utssdk/index.d.ts +9 -0
  217. package/types/uni/uts-plugin-extend/lib/uni-chooseLocation/utssdk/interface.d.ts +151 -0
  218. package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/global.d.ts +25 -0
  219. package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/index.d.ts +11 -0
  220. package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/interface.d.ts +363 -0
  221. package/types/uni/uts-plugin-extend/lib/uni-createInnerAudioContext/utssdk/global.d.ts +11 -0
  222. package/types/uni/uts-plugin-extend/lib/uni-createInnerAudioContext/utssdk/index.d.ts +4 -0
  223. package/types/uni/uts-plugin-extend/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +224 -0
  224. package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/global.d.ts +53 -0
  225. package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/index.d.ts +25 -0
  226. package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/interface.d.ts +486 -0
  227. package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/global.d.ts +7 -0
  228. package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/index.d.ts +1 -0
  229. package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +296 -0
  230. package/types/uni/uts-plugin-extend/lib/uni-getClipboardData/utssdk/global.d.ts +21 -0
  231. package/types/uni/uts-plugin-extend/lib/uni-getClipboardData/utssdk/index.d.ts +9 -0
  232. package/types/uni/uts-plugin-extend/lib/uni-getClipboardData/utssdk/interface.d.ts +119 -0
  233. package/types/uni/uts-plugin-extend/lib/uni-locale/utssdk/global.d.ts +15 -0
  234. package/types/uni/uts-plugin-extend/lib/uni-locale/utssdk/index.d.ts +1 -0
  235. package/types/uni/uts-plugin-extend/lib/uni-locale/utssdk/interface.d.ts +229 -0
  236. package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/global.d.ts +14 -0
  237. package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/index.d.ts +1 -0
  238. package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/interface.d.ts +559 -0
  239. package/types/uni/uts-plugin-extend/lib/uni-makePhoneCall/utssdk/global.d.ts +21 -0
  240. package/types/uni/uts-plugin-extend/lib/uni-makePhoneCall/utssdk/index.d.ts +9 -0
  241. package/types/uni/uts-plugin-extend/lib/uni-makePhoneCall/utssdk/interface.d.ts +121 -0
  242. package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/global.d.ts +9 -0
  243. package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/index.d.ts +1 -0
  244. package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/interface.d.ts +163 -0
  245. package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/global.d.ts +21 -0
  246. package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/index.d.ts +9 -0
  247. package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/interface.d.ts +143 -0
  248. package/types/uni/uts-plugin-extend/lib/uni-preloadPage/utssdk/global.d.ts +7 -0
  249. package/types/uni/uts-plugin-extend/lib/uni-preloadPage/utssdk/index.d.ts +1 -0
  250. package/types/uni/uts-plugin-extend/lib/uni-preloadPage/utssdk/interface.d.ts +106 -0
  251. package/types/uni/uts-plugin-extend/lib/uni-setClipboardData/utssdk/global.d.ts +21 -0
  252. package/types/uni/uts-plugin-extend/lib/uni-setClipboardData/utssdk/index.d.ts +9 -0
  253. package/types/uni/uts-plugin-extend/lib/uni-setClipboardData/utssdk/interface.d.ts +122 -0
  254. package/types/uni/uts-plugin-extend/lib/uni-theme/utssdk/global.d.ts +9 -0
  255. package/types/uni/uts-plugin-extend/lib/uni-theme/utssdk/index.d.ts +1 -0
  256. package/types/uni/uts-plugin-extend/lib/uni-theme/utssdk/interface.d.ts +165 -0
  257. package/types/uni-cloud/index.d.ts +63 -59
  258. package/types/uni-cloud/interface.d.ts +937 -801
  259. package/types/uni-cloud/unicloud-db/index.d.ts +81 -0
  260. package/types/uni-cloud/unicloud-db/index.ts +313 -313
  261. package/types/uni-global/index.d.ts +1 -1
  262. package/types/vue/CheckboxGroupChangeEvent.d.ts +33 -36
  263. package/types/vue/LifeCycle.d.ts +55 -55
  264. package/types/vue/PickerViewChangeEvent.d.ts +33 -36
  265. package/types/vue/ProgressActiveendEvent.d.ts +28 -30
  266. package/types/vue/RadioGroupChangeEvent.d.ts +33 -36
  267. package/types/vue/SliderChangeEvent.d.ts +31 -32
  268. package/types/vue/SwitchChangeEvent.d.ts +28 -30
  269. package/types/vue/UniCanvasElement.d.ts +270 -270
  270. package/types/vue/UniCloudDBElement.d.ts +212 -215
  271. package/types/vue/UniFormElement.d.ts +49 -51
  272. package/types/vue/UniNavigatorElement.d.ts +6 -7
  273. package/types/vue/global.d.ts +190 -0
  274. package/types/vue/index.d.ts +10 -11
  275. package/types/vue-global/index.d.ts +1 -0
  276. package/uts-plugin.d.ts +27 -26
@@ -1,350 +1,681 @@
1
- export type GetAppBaseInfoOptions = {
2
- /**
3
- * @description 过滤字段的字符串数组,假如要获取指定字段,传入此数组。
4
- */
5
- filter: Array<string>
6
- };
7
-
8
- export type GetAppBaseInfoResult = {
9
- /**
10
- * manifest.json 中应用appid,即DCloud appid。
11
- */
12
- appId?: string,
13
- /**
14
- * `manifest.json` 中应用名称。
15
- */
16
- appName?: string,
17
- /**
18
- * `manifest.json` 中应用版本名称。
19
- */
20
- appVersion?: string,
21
- /**
22
- * `manifest.json` 中应用版本名号。
23
- */
24
- appVersionCode?: string,
25
- /**
26
- * 应用设置的语言en、zh-Hans、zh-Hant、fr、es
27
- */
28
- appLanguage?: string,
29
- /**
30
- * 应用设置的语言
31
- */
32
- language?: string,
33
- /**
34
- * 引擎版本号。已废弃,仅为了向下兼容保留
35
- * @deprecated 已废弃,仅为了向下兼容保留
36
- */
37
- version?: string,
38
- /**
39
- * 应用资源(wgt)的版本名称。
40
- *
41
- * @uniPlatform
42
- * {
43
- * "app": {
44
- * "android": {
45
- * "osVer": "5.0",
46
- * "uniVer": "√",
47
- * "unixVer": "x"
48
- * },
49
- * "ios": {
50
- * "osVer": "12.0",
51
- * "uniVer": "√",
52
- * "unixVer": "x"
53
- * }
54
- * }
55
- * }
56
- */
57
- appWgtVersion?: string,
58
- /**
59
- * 小程序宿主语言
60
- *
61
- * @uniPlatform
62
- * {
63
- * "app": {
64
- * "android": {
65
- * "osVer": "5.0",
66
- * "uniVer": "",
67
- * "unixVer": "x"
68
- * },
69
- * "ios": {
70
- * "osVer": "12.0",
71
- * "uniVer": "",
72
- * "unixVer": "x"
73
- * }
74
- * }
75
- * }
76
- */
77
- hostLanguage?: string,
78
- /**
79
- * App、小程序宿主版本。
80
- *
81
- * @uniPlatform
82
- * {
83
- * "app": {
84
- * "android": {
85
- * "osVer": "5.0",
86
- * "uniVer": "√",
87
- * "unixVer": "x"
88
- * },
89
- * "ios": {
90
- * "osVer": "12.0",
91
- * "uniVer": "√",
92
- * "unixVer": "x"
93
- * }
94
- * }
95
- * }
96
- */
97
- hostVersion?: string,
98
- /**
99
- * 小程序宿主名称
100
- *
101
- * @uniPlatform
102
- * {
103
- * "app": {
104
- * "android": {
105
- * "osVer": "5.0",
106
- * "uniVer": "√",
107
- * "unixVer": "x"
108
- * },
109
- * "ios": {
110
- * "osVer": "12.0",
111
- * "uniVer": "√",
112
- * "unixVer": "x"
113
- * }
114
- * }
115
- * }
116
- */
117
- hostName?: string,
118
- /**
119
- * 小程序宿主包名
120
- *
121
- * @uniPlatform
122
- * {
123
- * "app": {
124
- * "android": {
125
- * "osVer": "5.0",
126
- * "uniVer": "√",
127
- * "unixVer": "x"
128
- * },
129
- * "ios": {
130
- * "osVer": "12.0",
131
- * "uniVer": "√",
132
- * "unixVer": "x"
133
- * }
134
- * }
135
- * }
136
- */
137
- hostPackageName?: string,
138
- /**
139
- * uni小程序SDK版本、小程序客户端基础库版本
140
- *
141
- * @uniPlatform
142
- * {
143
- * "app": {
144
- * "android": {
145
- * "osVer": "5.0",
146
- * "uniVer": "√",
147
- * "unixVer": "x"
148
- * },
149
- * "ios": {
150
- * "osVer": "12.0",
151
- * "uniVer": "√",
152
- * "unixVer": "x"
153
- * }
154
- * }
155
- * }
156
- */
157
- hostSDKVersion?: string,
158
- /**
159
- * 系统当前主题,取值为light或dark。微信小程序全局配置"darkmode":true时才能获取,否则为 undefined (不支持小游戏)
160
- *
161
- * @uniPlatform
162
- * {
163
- * "app": {
164
- * "android": {
165
- * "osVer": "5.0",
166
- * "uniVer": "",
167
- * "unixVer": "x"
168
- * },
169
- * "ios": {
170
- * "osVer": "12.0",
171
- * "uniVer": "√",
172
- * "unixVer": "x"
173
- * }
174
- * }
175
- * }
176
- */
177
- hostTheme?: string,
178
- /**
179
- * 是否uni-app x
180
- */
181
- isUniAppX ?: boolean,
182
-
183
- /**
184
- * uni 编译器版本
185
- * @deprecated 已废弃,仅为了向下兼容保留
186
- */
187
- uniCompileVersion ?: string,
188
- /**
189
- * uni 编译器版本
190
- *
191
- * @uniPlatform
192
- * {
193
- * "app": {
194
- * "android": {
195
- * "osVer": "5.0",
196
- * "uniVer": "x",
197
- * "unixVer": "4.0"
198
- * },
199
- * "ios": {
200
- * "osVer": "12.0",
201
- * "uniVer": "x",
202
- * "unixVer": "x"
203
- * }
204
- * }
205
- * }
206
- */
207
- uniCompilerVersion ?: string,
208
- /**
209
- * uni-app 运行平台。
210
- */
211
- uniPlatform ?: 'app' | 'web' | 'mp-weixin' | 'mp-alipay' | 'mp-baidu' | 'mp-toutiao' | 'mp-lark' | 'mp-qq' | 'mp-kuaishou' | 'mp-jd' | 'mp-360' | 'quickapp-webview' | 'quickapp-webview-union' | 'quickapp-webview-huawei',
212
- /**
213
- * uni 运行时版本
214
- */
215
- uniRuntimeVersion ?: string,
216
- /**
217
- * uni 编译器版本号
218
- * @deprecated 已废弃,仅为了向下兼容保留
219
- */
220
- uniCompileVersionCode?: number,
221
- /**
222
- * uni 编译器版本号
223
- *
224
- * @uniPlatform
225
- * {
226
- * "app": {
227
- * "android": {
228
- * "osVer": "5.0",
229
- * "uniVer": "x",
230
- * "unixVer": "4.0"
231
- * },
232
- * "ios": {
233
- * "osVer": "12.0",
234
- * "uniVer": "x",
235
- * "unixVer": "x"
236
- * }
237
- * }
238
- * }
239
- */
240
- uniCompilerVersionCode?: number,
241
- /**
242
- * uni 运行时版本号
243
- */
244
- uniRuntimeVersionCode?: number,
245
- /**
246
- * Android的包名
247
- *
248
- * @uniPlatform
249
- * {
250
- * "app": {
251
- * "android": {
252
- * "osVer": "5.0",
253
- * "uniVer": "x",
254
- * "unixVer": "3.97"
255
- * },
256
- * "ios": {
257
- * "osVer": "x",
258
- * "uniVer": "x",
259
- * "unixVer": "x"
260
- * }
261
- * }
262
- * }
263
- */
264
- packageName?: string,
265
- /**
266
- * iOS的bundleId
267
- *
268
- * @uniPlatform
269
- * {
270
- * "app": {
271
- * "android": {
272
- * "osVer": "x",
273
- * "uniVer": "x",
274
- * "unixVer": "x"
275
- * },
276
- * "ios": {
277
- * "osVer": "12.0",
278
- * "uniVer": "x",
279
- * "unixVer": "4.11"
280
- * }
281
- * }
282
- * }
283
- * @autodoc false
284
- */
285
- bundleId?: string,
286
- /**
287
- * Android: 应用签名证书的SHA1值(全部为小写,中间不包含“:”)。 为了保证应用的安全性,请使用自己生成的证书(不要使用公共测试证书)。
288
- * iOS: 应用签名证书中绑定的Bundle ID(AppleID)的md5值(全部为小写)。
289
- *
290
- * @uniPlatform
291
- * {
292
- * "app": {
293
- * "android": {
294
- * "osVer": "5.0",
295
- * "uniVer": "x",
296
- * "unixVer": "3.97"
297
- * },
298
- * "ios": {
299
- * "osVer": "12.0",
300
- * "uniVer": "x",
301
- * "unixVer": "4.11"
302
- * }
303
- * }
304
- * }
305
- */
306
- signature?: string,
307
- }
308
-
309
- /**
310
- * @param{GetAppBaseInfoOptions} [options=包含所有字段的过滤对象] 过滤的字段对象, 不传参数默认为获取全部字段。
311
- */
312
- export type GetAppBaseInfo = (options?: GetAppBaseInfoOptions | null) => GetAppBaseInfoResult;
313
-
314
-
315
- export interface Uni {
316
- /**
317
- * GetAppBaseInfo(Object object)
318
- * @description
319
- * 获取app基本信息
320
- * @param {GetAppBaseInfoOptions} options [options=包含所有字段的过滤对象] 过滤的字段对象, 不传参数默认为获取全部字段。
321
- * @return {object}
322
- * @tutorial https://uniapp.dcloud.net.cn/api/system/getAppBaseInfo.html
323
- * @uniPlatform
324
- * {
325
- * "app": {
326
- * "android": {
327
- * "osVer": "5.0",
328
- * "uniVer": "√",
329
- * "unixVer": "3.9+"
330
- * },
331
- * "ios": {
332
- * "osVer": "12.0",
333
- * "uniVer": "√",
334
- * "unixVer": "4.11"
335
- * }
336
- * },
337
- * "web": {
338
- * "uniVer": "√",
339
- * "unixVer": "4.0"
340
- * }
341
- * }
342
- * @example
343
- ```typescript
344
- uni.getAppBaseInfo({
345
- filter:[]
346
- })
347
- ```
348
- */
349
- getAppBaseInfo(options?: GetAppBaseInfoOptions | null): GetAppBaseInfoResult;
350
- }
1
+ export type GetAppBaseInfoOptions = {
2
+ /**
3
+ * @description 过滤字段的字符串数组,假如要获取指定字段,传入此数组。
4
+ */
5
+ filter: Array<string>
6
+ };
7
+
8
+ export type GetAppBaseInfoResult = {
9
+ /**
10
+ * manifest.json 中应用appid,即DCloud appid。
11
+ *
12
+ * @uniPlatform
13
+ * {
14
+ * "app": {
15
+ * "android": {
16
+ * "osVer": "5.0",
17
+ * "uniVer": "√",
18
+ * "unixVer": "3.9+"
19
+ * },
20
+ * "ios": {
21
+ * "osVer": "12.0",
22
+ * "uniVer": "√",
23
+ * "unixVer": "4.11"
24
+ * }
25
+ * },
26
+ * "web": {
27
+ * "uniVer": "√",
28
+ * "unixVer": "4.0"
29
+ * }
30
+ * }
31
+ */
32
+ appId?: string,
33
+ /**
34
+ * `manifest.json` 中应用名称。
35
+ *
36
+ * @uniPlatform
37
+ * {
38
+ * "app": {
39
+ * "android": {
40
+ * "osVer": "5.0",
41
+ * "uniVer": "√",
42
+ * "unixVer": "3.9+"
43
+ * },
44
+ * "ios": {
45
+ * "osVer": "12.0",
46
+ * "uniVer": "√",
47
+ * "unixVer": "4.11"
48
+ * }
49
+ * },
50
+ * "web": {
51
+ * "uniVer": "√",
52
+ * "unixVer": "4.0"
53
+ * }
54
+ * }
55
+ */
56
+ appName?: string,
57
+ /**
58
+ * `manifest.json` 中应用版本名称。
59
+ *
60
+ * @uniPlatform
61
+ * {
62
+ * "app": {
63
+ * "android": {
64
+ * "osVer": "5.0",
65
+ * "uniVer": "",
66
+ * "unixVer": "3.9+"
67
+ * },
68
+ * "ios": {
69
+ * "osVer": "12.0",
70
+ * "uniVer": "",
71
+ * "unixVer": "4.11"
72
+ * }
73
+ * },
74
+ * "web": {
75
+ * "uniVer": "√",
76
+ * "unixVer": "4.0"
77
+ * }
78
+ * }
79
+ */
80
+ appVersion?: string,
81
+ /**
82
+ * `manifest.json` 中应用版本名号。
83
+ *
84
+ * @uniPlatform
85
+ * {
86
+ * "app": {
87
+ * "android": {
88
+ * "osVer": "5.0",
89
+ * "uniVer": "√",
90
+ * "unixVer": "3.9+"
91
+ * },
92
+ * "ios": {
93
+ * "osVer": "12.0",
94
+ * "uniVer": "√",
95
+ * "unixVer": "4.11"
96
+ * }
97
+ * },
98
+ * "web": {
99
+ * "uniVer": "√",
100
+ * "unixVer": "4.0"
101
+ * }
102
+ * }
103
+ */
104
+ appVersionCode?: string,
105
+ /**
106
+ * 应用设置的语言en、zh-Hans、zh-Hant、fr、es
107
+ *
108
+ * @uniPlatform
109
+ * {
110
+ * "app": {
111
+ * "android": {
112
+ * "osVer": "5.0",
113
+ * "uniVer": "√",
114
+ * "unixVer": "3.9+"
115
+ * },
116
+ * "ios": {
117
+ * "osVer": "12.0",
118
+ * "uniVer": "√",
119
+ * "unixVer": "4.11"
120
+ * }
121
+ * },
122
+ * "web": {
123
+ * "uniVer": "√",
124
+ * "unixVer": "4.0"
125
+ * }
126
+ * }
127
+ */
128
+ appLanguage?: string,
129
+ /**
130
+ * 应用设置的语言
131
+ *
132
+ * @uniPlatform
133
+ * {
134
+ * "app": {
135
+ * "android": {
136
+ * "osVer": "5.0",
137
+ * "uniVer": "√",
138
+ * "unixVer": "3.9+"
139
+ * },
140
+ * "ios": {
141
+ * "osVer": "12.0",
142
+ * "uniVer": "√",
143
+ * "unixVer": "4.11"
144
+ * }
145
+ * },
146
+ * "web": {
147
+ * "uniVer": "",
148
+ * "unixVer": "4.0"
149
+ * }
150
+ * }
151
+ */
152
+ language?: string,
153
+ /**
154
+ * 引擎版本号。已废弃,仅为了向下兼容保留
155
+ * @deprecated 已废弃,仅为了向下兼容保留
156
+ *
157
+ * @uniPlatform
158
+ * {
159
+ * "app": {
160
+ * "android": {
161
+ * "osVer": "5.0",
162
+ * "uniVer": "√",
163
+ * "unixVer": "3.9+"
164
+ * },
165
+ * "ios": {
166
+ * "osVer": "12.0",
167
+ * "uniVer": "",
168
+ * "unixVer": "4.11"
169
+ * }
170
+ * },
171
+ * "web": {
172
+ * "uniVer": "x",
173
+ * "unixVer": "x"
174
+ * }
175
+ * }
176
+ */
177
+ version?: string,
178
+ /**
179
+ * 应用资源(wgt)的版本名称。
180
+ *
181
+ * @uniPlatform
182
+ * {
183
+ * "app": {
184
+ * "android": {
185
+ * "osVer": "5.0",
186
+ * "uniVer": "√",
187
+ * "unixVer": "x"
188
+ * },
189
+ * "ios": {
190
+ * "osVer": "12.0",
191
+ * "uniVer": "√",
192
+ * "unixVer": "x"
193
+ * }
194
+ * },
195
+ * "web": {
196
+ * "uniVer": "x",
197
+ * "unixVer": "x"
198
+ * }
199
+ * }
200
+ */
201
+ appWgtVersion?: string,
202
+ /**
203
+ * 小程序宿主语言
204
+ *
205
+ * @uniPlatform
206
+ * {
207
+ * "app": {
208
+ * "android": {
209
+ * "osVer": "5.0",
210
+ * "uniVer": "√",
211
+ * "unixVer": "x"
212
+ * },
213
+ * "ios": {
214
+ * "osVer": "12.0",
215
+ * "uniVer": "√",
216
+ * "unixVer": "x"
217
+ * }
218
+ * },
219
+ * "web": {
220
+ * "uniVer": "x",
221
+ * "unixVer": "x"
222
+ * }
223
+ * }
224
+ */
225
+ hostLanguage?: string,
226
+ /**
227
+ * App、小程序宿主版本。
228
+ *
229
+ * @uniPlatform
230
+ * {
231
+ * "app": {
232
+ * "android": {
233
+ * "osVer": "5.0",
234
+ * "uniVer": "",
235
+ * "unixVer": "x"
236
+ * },
237
+ * "ios": {
238
+ * "osVer": "12.0",
239
+ * "uniVer": "√",
240
+ * "unixVer": "x"
241
+ * }
242
+ * },
243
+ * "web": {
244
+ * "uniVer": "x",
245
+ * "unixVer": "x"
246
+ * }
247
+ * }
248
+ */
249
+ hostVersion?: string,
250
+ /**
251
+ * 小程序宿主名称
252
+ *
253
+ * @uniPlatform
254
+ * {
255
+ * "app": {
256
+ * "android": {
257
+ * "osVer": "5.0",
258
+ * "uniVer": "",
259
+ * "unixVer": "x"
260
+ * },
261
+ * "ios": {
262
+ * "osVer": "12.0",
263
+ * "uniVer": "√",
264
+ * "unixVer": "x"
265
+ * }
266
+ * },
267
+ * "web": {
268
+ * "uniVer": "x",
269
+ * "unixVer": "x"
270
+ * }
271
+ * }
272
+ */
273
+ hostName?: string,
274
+ /**
275
+ * 小程序宿主包名
276
+ *
277
+ * @uniPlatform
278
+ * {
279
+ * "app": {
280
+ * "android": {
281
+ * "osVer": "5.0",
282
+ * "uniVer": "√",
283
+ * "unixVer": "x"
284
+ * },
285
+ * "ios": {
286
+ * "osVer": "12.0",
287
+ * "uniVer": "√",
288
+ * "unixVer": "x"
289
+ * }
290
+ * },
291
+ * "web": {
292
+ * "uniVer": "x",
293
+ * "unixVer": "x"
294
+ * }
295
+ * }
296
+ */
297
+ hostPackageName?: string,
298
+ /**
299
+ * uni小程序SDK版本、小程序客户端基础库版本
300
+ *
301
+ * @uniPlatform
302
+ * {
303
+ * "app": {
304
+ * "android": {
305
+ * "osVer": "5.0",
306
+ * "uniVer": "√",
307
+ * "unixVer": "x"
308
+ * },
309
+ * "ios": {
310
+ * "osVer": "12.0",
311
+ * "uniVer": "√",
312
+ * "unixVer": "x"
313
+ * }
314
+ * },
315
+ * "web": {
316
+ * "uniVer": "x",
317
+ * "unixVer": "x"
318
+ * }
319
+ * }
320
+ */
321
+ hostSDKVersion?: string,
322
+ /**
323
+ * 系统当前主题,取值为light或dark。微信小程序全局配置"darkmode":true时才能获取,否则为 undefined (不支持小游戏)
324
+ *
325
+ * @uniPlatform
326
+ * {
327
+ * "app": {
328
+ * "android": {
329
+ * "osVer": "5.0",
330
+ * "uniVer": "√",
331
+ * "unixVer": "x"
332
+ * },
333
+ * "ios": {
334
+ * "osVer": "12.0",
335
+ * "uniVer": "√",
336
+ * "unixVer": "x"
337
+ * }
338
+ * },
339
+ * "web": {
340
+ * "uniVer": "x",
341
+ * "unixVer": "x"
342
+ * }
343
+ * }
344
+ */
345
+ hostTheme?: string,
346
+ /**
347
+ * 是否uni-app x
348
+ *
349
+ * @uniPlatform
350
+ * {
351
+ * "app": {
352
+ * "android": {
353
+ * "osVer": "5.0",
354
+ * "uniVer": "√",
355
+ * "unixVer": "3.9+"
356
+ * },
357
+ * "ios": {
358
+ * "osVer": "12.0",
359
+ * "uniVer": "√",
360
+ * "unixVer": "4.11"
361
+ * }
362
+ * },
363
+ * "web": {
364
+ * "uniVer": "x",
365
+ * "unixVer": "4.18"
366
+ * }
367
+ * }
368
+ */
369
+ isUniAppX ?: boolean,
370
+
371
+ /**
372
+ * uni 编译器版本
373
+ * @deprecated 已废弃,仅为了向下兼容保留
374
+ *
375
+ * @uniPlatform
376
+ * {
377
+ * "app": {
378
+ * "android": {
379
+ * "osVer": "5.0",
380
+ * "uniVer": "√",
381
+ * "unixVer": "3.9+"
382
+ * },
383
+ * "ios": {
384
+ * "osVer": "12.0",
385
+ * "uniVer": "√",
386
+ * "unixVer": "4.11"
387
+ * }
388
+ * },
389
+ * "web": {
390
+ * "uniVer": "x",
391
+ * "unixVer": "x"
392
+ * }
393
+ * }
394
+ */
395
+ uniCompileVersion ?: string,
396
+ /**
397
+ * uni 编译器版本
398
+ *
399
+ * @uniPlatform
400
+ * {
401
+ * "app": {
402
+ * "android": {
403
+ * "osVer": "5.0",
404
+ * "uniVer": "x",
405
+ * "unixVer": "4.0"
406
+ * },
407
+ * "ios": {
408
+ * "osVer": "12.0",
409
+ * "uniVer": "x",
410
+ * "unixVer": "4.11"
411
+ * }
412
+ * },
413
+ * "web": {
414
+ * "uniVer": "x",
415
+ * "unixVer": "4.18"
416
+ * }
417
+ * }
418
+ */
419
+ uniCompilerVersion ?: string,
420
+ /**
421
+ * uni-app 运行平台。
422
+ *
423
+ * @uniPlatform
424
+ * {
425
+ * "app": {
426
+ * "android": {
427
+ * "osVer": "5.0",
428
+ * "uniVer": "√",
429
+ * "unixVer": "3.9+"
430
+ * },
431
+ * "ios": {
432
+ * "osVer": "12.0",
433
+ * "uniVer": "√",
434
+ * "unixVer": "4.11"
435
+ * }
436
+ * },
437
+ * "web": {
438
+ * "uniVer": "√",
439
+ * "unixVer": "4.0"
440
+ * }
441
+ * }
442
+ */
443
+ uniPlatform ?: 'app' | 'web' | 'mp-weixin' | 'mp-alipay' | 'mp-baidu' | 'mp-toutiao' | 'mp-lark' | 'mp-qq' | 'mp-kuaishou' | 'mp-jd' | 'mp-360' | 'quickapp-webview' | 'quickapp-webview-union' | 'quickapp-webview-huawei',
444
+ /**
445
+ * uni 运行时版本
446
+ *
447
+ * @uniPlatform
448
+ * {
449
+ * "app": {
450
+ * "android": {
451
+ * "osVer": "5.0",
452
+ * "uniVer": "√",
453
+ * "unixVer": "3.9+"
454
+ * },
455
+ * "ios": {
456
+ * "osVer": "12.0",
457
+ * "uniVer": "√",
458
+ * "unixVer": "4.11"
459
+ * }
460
+ * },
461
+ * "web": {
462
+ * "uniVer": "x",
463
+ * "unixVer": "4.18"
464
+ * }
465
+ * }
466
+ */
467
+ uniRuntimeVersion ?: string,
468
+ /**
469
+ * uni 编译器版本号
470
+ * @deprecated 已废弃,仅为了向下兼容保留
471
+ *
472
+ * @uniPlatform
473
+ * {
474
+ * "app": {
475
+ * "android": {
476
+ * "osVer": "5.0",
477
+ * "uniVer": "√",
478
+ * "unixVer": "3.9+"
479
+ * },
480
+ * "ios": {
481
+ * "osVer": "12.0",
482
+ * "uniVer": "√",
483
+ * "unixVer": "4.11"
484
+ * }
485
+ * },
486
+ * "web": {
487
+ * "uniVer": "x",
488
+ * "unixVer": "x"
489
+ * }
490
+ * }
491
+ */
492
+ uniCompileVersionCode?: number,
493
+ /**
494
+ * uni 编译器版本号
495
+ *
496
+ * @uniPlatform
497
+ * {
498
+ * "app": {
499
+ * "android": {
500
+ * "osVer": "5.0",
501
+ * "uniVer": "x",
502
+ * "unixVer": "4.0"
503
+ * },
504
+ * "ios": {
505
+ * "osVer": "12.0",
506
+ * "uniVer": "x",
507
+ * "unixVer": "4.11"
508
+ * }
509
+ * },
510
+ * "web": {
511
+ * "uniVer": "x",
512
+ * "unixVer": "4.18"
513
+ * }
514
+ * }
515
+ */
516
+ uniCompilerVersionCode?: number,
517
+ /**
518
+ * uni 运行时版本号
519
+ *
520
+ * @uniPlatform
521
+ * {
522
+ * "app": {
523
+ * "android": {
524
+ * "osVer": "5.0",
525
+ * "uniVer": "√",
526
+ * "unixVer": "3.9+"
527
+ * },
528
+ * "ios": {
529
+ * "osVer": "12.0",
530
+ * "uniVer": "√",
531
+ * "unixVer": "4.11"
532
+ * }
533
+ * },
534
+ * "web": {
535
+ * "uniVer": "x",
536
+ * "unixVer": "x"
537
+ * }
538
+ * }
539
+ */
540
+ uniRuntimeVersionCode?: number,
541
+ /**
542
+ * Android的包名
543
+ *
544
+ * @uniPlatform
545
+ * {
546
+ * "app": {
547
+ * "android": {
548
+ * "osVer": "5.0",
549
+ * "uniVer": "x",
550
+ * "unixVer": "3.97"
551
+ * },
552
+ * "ios": {
553
+ * "osVer": "x",
554
+ * "uniVer": "x",
555
+ * "unixVer": "x"
556
+ * }
557
+ * },
558
+ * "web": {
559
+ * "uniVer": "x",
560
+ * "unixVer": "x"
561
+ * }
562
+ * }
563
+ */
564
+ packageName?: string,
565
+ /**
566
+ * iOS的bundleId
567
+ *
568
+ * @uniPlatform
569
+ * {
570
+ * "app": {
571
+ * "android": {
572
+ * "osVer": "x",
573
+ * "uniVer": "x",
574
+ * "unixVer": "x"
575
+ * },
576
+ * "ios": {
577
+ * "osVer": "12.0",
578
+ * "uniVer": "x",
579
+ * "unixVer": "4.11"
580
+ * }
581
+ * },
582
+ * "web": {
583
+ * "uniVer": "x",
584
+ * "unixVer": "x"
585
+ * }
586
+ * }
587
+ */
588
+ bundleId?: string,
589
+ /**
590
+ * Android: 应用签名证书的SHA1值(全部为小写,中间不包含“:”)。 为了保证应用的安全性,请使用自己生成的证书(不要使用公共测试证书)。
591
+ * iOS: 应用签名证书中绑定的Bundle ID(AppleID)的md5值(全部为小写)。
592
+ *
593
+ * @uniPlatform
594
+ * {
595
+ * "app": {
596
+ * "android": {
597
+ * "osVer": "5.0",
598
+ * "uniVer": "x",
599
+ * "unixVer": "3.97"
600
+ * },
601
+ * "ios": {
602
+ * "osVer": "12.0",
603
+ * "uniVer": "x",
604
+ * "unixVer": "4.11"
605
+ * }
606
+ * },
607
+ * "web": {
608
+ * "uniVer": "x",
609
+ * "unixVer": "x"
610
+ * }
611
+ * }
612
+ */
613
+ signature?: string,
614
+ /**
615
+ * 当前App的主题
616
+ *
617
+ * @uniPlatform
618
+ * {
619
+ * "app": {
620
+ * "android": {
621
+ * "osVer": "5.0",
622
+ * "uniVer": "x",
623
+ * "unixVer": "4.18"
624
+ * },
625
+ * "ios": {
626
+ * "osVer": "12.0",
627
+ * "uniVer": "x",
628
+ * "unixVer": "4.18"
629
+ * }
630
+ * },
631
+ * "web": {
632
+ * "uniVer": "x",
633
+ * "unixVer": "x"
634
+ * }
635
+ * }
636
+ */
637
+ appTheme?: 'light' | 'dark' | 'auto' | null,
638
+ }
639
+
640
+ /**
641
+ * @param{GetAppBaseInfoOptions} [options=包含所有字段的过滤对象] 过滤的字段对象, 不传参数默认为获取全部字段。
642
+ */
643
+ export type GetAppBaseInfo = (options?: GetAppBaseInfoOptions | null) => GetAppBaseInfoResult;
644
+
645
+
646
+ export interface Uni {
647
+ /**
648
+ * GetAppBaseInfo(Object object)
649
+ * @description
650
+ * 获取app基本信息
651
+ * @param {GetAppBaseInfoOptions} options [options=包含所有字段的过滤对象] 过滤的字段对象, 不传参数默认为获取全部字段。
652
+ * @return {object}
653
+ * @tutorial https://uniapp.dcloud.net.cn/api/system/getAppBaseInfo.html
654
+ * @uniPlatform
655
+ * {
656
+ * "app": {
657
+ * "android": {
658
+ * "osVer": "5.0",
659
+ * "uniVer": "√",
660
+ * "unixVer": "3.9+"
661
+ * },
662
+ * "ios": {
663
+ * "osVer": "12.0",
664
+ * "uniVer": "√",
665
+ * "unixVer": "4.11"
666
+ * }
667
+ * },
668
+ * "web": {
669
+ * "uniVer": "√",
670
+ * "unixVer": "4.0"
671
+ * }
672
+ * }
673
+ * @example
674
+ ```typescript
675
+ uni.getAppBaseInfo({
676
+ filter:[]
677
+ })
678
+ ```
679
+ */
680
+ getAppBaseInfo(options?: GetAppBaseInfoOptions | null): GetAppBaseInfoResult;
681
+ }