@dcloudio/uni-app-x 0.7.111 → 0.7.113

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 (380) hide show
  1. package/package.json +1 -1
  2. package/types/dom2-internal/UniNativeView.d.ts +1 -0
  3. package/types/dom2-internal/UniPage.d.ts +16 -0
  4. package/types/dom2-internal/sharedData.d.ts +9 -14
  5. package/types/native/CSSStyleDeclaration.d.ts +172 -172
  6. package/types/native/CanvasRenderingContext2D.d.ts +4720 -4720
  7. package/types/native/DrawableContext.d.ts +1893 -1893
  8. package/types/native/IUniElement.d.ts +7468 -7461
  9. package/types/native/IUniNativeViewElement.d.ts +327 -327
  10. package/types/native/SnapshotOptions.d.ts +337 -62
  11. package/types/native/UniPage.d.ts +1305 -1305
  12. package/types/native/UniResizeObserver.d.ts +749 -749
  13. package/types/native/UniSwiperAnimationFinishEvent.d.ts +59 -59
  14. package/types/native/UniSwiperChangeEvent.d.ts +58 -58
  15. package/types/page.d.ts +3154 -3112
  16. package/types/uni/uts-plugin-api/global.d.ts +8 -0
  17. package/types/uni/uts-plugin-api/index.d.ts +8 -0
  18. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/interface.d.ts +1672 -911
  19. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +126 -126
  20. package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +14 -14
  21. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +154 -154
  22. package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +14 -14
  23. package/types/uni/uts-plugin-api/lib/uni-camera/utssdk/global.d.ts +55 -0
  24. package/types/uni/uts-plugin-api/lib/uni-camera/utssdk/index.d.ts +27 -0
  25. package/types/uni/uts-plugin-api/lib/uni-camera/utssdk/interface.d.ts +1155 -0
  26. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/global.d.ts +9 -6
  27. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/index.d.ts +5 -3
  28. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/interface.d.ts +978 -972
  29. package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/global.d.ts +25 -0
  30. package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/index.d.ts +12 -0
  31. package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/interface.d.ts +978 -0
  32. package/types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/interface.d.ts +358 -358
  33. package/types/uni/uts-plugin-api/lib/uni-chooseMedia/utssdk/interface.d.ts +8 -8
  34. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +78 -78
  35. package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +490 -479
  36. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +214 -214
  37. package/types/uni/uts-plugin-api/lib/uni-createWorker/utssdk/interface.d.ts +126 -126
  38. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +30 -30
  39. package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/global.d.ts +39 -0
  40. package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/index.d.ts +19 -0
  41. package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/interface.d.ts +856 -0
  42. package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +338 -338
  43. package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/interface.d.ts +147 -147
  44. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +397 -397
  45. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +6363 -6359
  46. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +554 -554
  47. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +2149 -2149
  48. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +1340 -1340
  49. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +1707 -1707
  50. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +307 -307
  51. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +310 -310
  52. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +5 -5
  53. package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +129 -129
  54. package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/interface.d.ts +757 -757
  55. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +5881 -5879
  56. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +442 -442
  57. package/types/uni/uts-plugin-api/lib/uni-input/utssdk/global.d.ts +9 -0
  58. package/types/uni/uts-plugin-api/lib/uni-input/utssdk/index.d.ts +5 -0
  59. package/types/uni/uts-plugin-api/lib/uni-input/utssdk/interface.d.ts +0 -0
  60. package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/interface.d.ts +171 -171
  61. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +1 -1
  62. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +536 -536
  63. package/types/uni/uts-plugin-api/lib/uni-location/utssdk/interface.d.ts +2914 -2910
  64. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +24 -24
  65. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/interface.d.ts +208 -208
  66. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +785 -785
  67. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +4243 -4243
  68. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +1979 -1963
  69. package/types/uni/uts-plugin-api/lib/uni-oauth-weixin/utssdk/interface.d.ts +5 -3
  70. package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +229 -229
  71. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +753 -753
  72. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +84 -84
  73. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +790 -788
  74. package/types/uni/uts-plugin-api/lib/uni-previewImage/utssdk/interface.d.ts +447 -447
  75. package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/interface.d.ts +498 -498
  76. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +1552 -1548
  77. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +58 -58
  78. package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/interface.d.ts +30 -30
  79. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +2513 -2513
  80. package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/interface.d.ts +81 -81
  81. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +351 -351
  82. package/types/uni/uts-plugin-api/lib/uni-screenBrightness/utssdk/interface.d.ts +107 -107
  83. package/types/uni/uts-plugin-api/lib/uni-share/utssdk/interface.d.ts +584 -584
  84. package/types/uni/uts-plugin-api/lib/uni-shareWithSystem/utssdk/interface.d.ts +722 -722
  85. package/types/uni/uts-plugin-api/lib/uni-showLoading/utssdk/interface.d.ts +292 -292
  86. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +358 -358
  87. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +657 -657
  88. package/types/uni/uts-plugin-api/lib/uni-textarea/utssdk/global.d.ts +9 -0
  89. package/types/uni/uts-plugin-api/lib/uni-textarea/utssdk/index.d.ts +5 -0
  90. package/types/uni/uts-plugin-api/lib/uni-textarea/utssdk/interface.d.ts +0 -0
  91. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +1010 -1010
  92. package/types/uni/uts-plugin-api/lib/uni-video/utssdk/global.d.ts +47 -0
  93. package/types/uni/uts-plugin-api/lib/uni-video/utssdk/index.d.ts +23 -0
  94. package/types/uni/uts-plugin-api/lib/uni-video/utssdk/interface.d.ts +926 -0
  95. package/types/uni/uts-plugin-api/lib/uni-web-view/utssdk/global.d.ts +29 -0
  96. package/types/uni/uts-plugin-api/lib/uni-web-view/utssdk/index.d.ts +14 -0
  97. package/types/uni/uts-plugin-api/lib/uni-web-view/utssdk/interface.d.ts +452 -0
  98. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +1442 -1442
  99. package/types/uni/uts-plugin-biz/lib/uni-facialVerify/utssdk/interface.d.ts +220 -220
  100. package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/interface.d.ts +65 -65
  101. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +981 -981
  102. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +26 -26
  103. package/types/uni/uts-plugin-component/.temp/uni-camera/utssdk/interface.uts +1155 -0
  104. package/types/uni/uts-plugin-component/.temp/uni-camera.d.ts +38 -0
  105. package/types/uni/uts-plugin-component/.temp/uni-camera.ts +52 -0
  106. package/types/uni/uts-plugin-component/.temp/uni-canvas/utssdk/interface.uts +976 -0
  107. package/types/uni/uts-plugin-component/.temp/uni-canvas-dom2/utssdk/interface.uts +976 -0
  108. package/types/uni/uts-plugin-component/.temp/uni-editor.d.ts +171 -0
  109. package/types/uni/uts-plugin-component/.temp/uni-editor.ts +237 -0
  110. package/types/uni/uts-plugin-component/.temp/uni-form.d.ts +2 -0
  111. package/types/uni/uts-plugin-component/.temp/uni-form.ts +1 -0
  112. package/types/uni/uts-plugin-component/.temp/uni-input/utssdk/interface.uts +0 -0
  113. package/types/uni/uts-plugin-component/.temp/uni-map-tencent.d.ts +56 -0
  114. package/types/uni/uts-plugin-component/.temp/uni-map-tencent.ts +88 -0
  115. package/types/uni/uts-plugin-component/.temp/uni-match-media.d.ts +2 -0
  116. package/types/uni/uts-plugin-component/.temp/uni-match-media.ts +2 -0
  117. package/types/uni/uts-plugin-component/.temp/uni-navigator.d.ts +2 -0
  118. package/types/uni/uts-plugin-component/.temp/uni-navigator.ts +1 -0
  119. package/types/uni/uts-plugin-component/.temp/uni-page-container.d.ts +0 -0
  120. package/types/uni/uts-plugin-component/.temp/uni-page-container.ts +2 -0
  121. package/types/uni/uts-plugin-component/.temp/uni-progress.d.ts +2 -0
  122. package/types/uni/uts-plugin-component/.temp/uni-progress.ts +1 -0
  123. package/types/uni/uts-plugin-component/.temp/uni-rich-text.d.ts +7 -0
  124. package/types/uni/uts-plugin-component/.temp/uni-rich-text.ts +12 -0
  125. package/types/uni/uts-plugin-component/.temp/uni-textarea/utssdk/interface.uts +0 -0
  126. package/types/uni/uts-plugin-component/.temp/uni-video/utssdk/interface.uts +936 -0
  127. package/types/uni/uts-plugin-component/.temp/uni-video.d.ts +134 -0
  128. package/types/uni/uts-plugin-component/.temp/uni-video.ts +180 -0
  129. package/types/uni/uts-plugin-component/.temp/uni-web-view/utssdk/interface.uts +452 -0
  130. package/types/uni/uts-plugin-component/.temp/uni-web-view.d.ts +51 -0
  131. package/types/uni/uts-plugin-component/.temp/uni-web-view.ts +86 -0
  132. package/types/uni/uts-plugin-component/global.d.ts +79 -0
  133. package/types/uni/uts-plugin-component/index.d.ts +79 -0
  134. package/types/uni/uts-plugin-component/lib/uni-actionSheet/utssdk/global.d.ts +29 -0
  135. package/types/uni/uts-plugin-component/lib/uni-actionSheet/utssdk/index.d.ts +14 -0
  136. package/types/uni/uts-plugin-component/lib/uni-actionSheet/utssdk/interface.d.ts +1673 -0
  137. package/types/uni/uts-plugin-component/lib/uni-addPhoneContact/utssdk/global.d.ts +25 -0
  138. package/types/uni/uts-plugin-component/lib/uni-addPhoneContact/utssdk/index.d.ts +12 -0
  139. package/types/uni/uts-plugin-component/lib/uni-addPhoneContact/utssdk/interface.d.ts +226 -0
  140. package/types/uni/uts-plugin-component/lib/uni-arrayBufferToBase64/utssdk/global.d.ts +11 -0
  141. package/types/uni/uts-plugin-component/lib/uni-arrayBufferToBase64/utssdk/index.d.ts +5 -0
  142. package/types/uni/uts-plugin-component/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +79 -0
  143. package/types/uni/uts-plugin-component/lib/uni-authentication/utssdk/global.d.ts +59 -0
  144. package/types/uni/uts-plugin-component/lib/uni-authentication/utssdk/index.d.ts +29 -0
  145. package/types/uni/uts-plugin-component/lib/uni-authentication/utssdk/interface.d.ts +371 -0
  146. package/types/uni/uts-plugin-component/lib/uni-barcode-scanning/utssdk/global.d.ts +9 -0
  147. package/types/uni/uts-plugin-component/lib/uni-barcode-scanning/utssdk/index.d.ts +5 -0
  148. package/types/uni/uts-plugin-component/lib/uni-barcode-scanning/utssdk/interface.d.ts +0 -0
  149. package/types/uni/uts-plugin-component/lib/uni-base64ToArrayBuffer/utssdk/global.d.ts +11 -0
  150. package/types/uni/uts-plugin-component/lib/uni-base64ToArrayBuffer/utssdk/index.d.ts +5 -0
  151. package/types/uni/uts-plugin-component/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +79 -0
  152. package/types/uni/uts-plugin-component/lib/uni-canvas/utssdk/interface.d.ts +978 -976
  153. package/types/uni/uts-plugin-component/lib/uni-canvas-dom2/utssdk/interface.d.ts +978 -976
  154. package/types/uni/uts-plugin-component/lib/uni-chooseLocation/utssdk/global.d.ts +25 -0
  155. package/types/uni/uts-plugin-component/lib/uni-chooseLocation/utssdk/index.d.ts +12 -0
  156. package/types/uni/uts-plugin-component/lib/uni-chooseLocation/utssdk/interface.d.ts +423 -0
  157. package/types/uni/uts-plugin-component/lib/uni-chooseMedia/utssdk/global.d.ts +33 -0
  158. package/types/uni/uts-plugin-component/lib/uni-chooseMedia/utssdk/index.d.ts +16 -0
  159. package/types/uni/uts-plugin-component/lib/uni-chooseMedia/utssdk/interface.d.ts +499 -0
  160. package/types/uni/uts-plugin-component/lib/uni-clipboard/utssdk/global.d.ts +45 -0
  161. package/types/uni/uts-plugin-component/lib/uni-clipboard/utssdk/index.d.ts +22 -0
  162. package/types/uni/uts-plugin-component/lib/uni-clipboard/utssdk/interface.d.ts +217 -0
  163. package/types/uni/uts-plugin-component/lib/uni-createInnerAudioContext/utssdk/global.d.ts +33 -0
  164. package/types/uni/uts-plugin-component/lib/uni-createInnerAudioContext/utssdk/index.d.ts +16 -0
  165. package/types/uni/uts-plugin-component/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +3379 -0
  166. package/types/uni/uts-plugin-component/lib/uni-createIntersectionObserver/utssdk/global.d.ts +21 -0
  167. package/types/uni/uts-plugin-component/lib/uni-createIntersectionObserver/utssdk/index.d.ts +10 -0
  168. package/types/uni/uts-plugin-component/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +153 -0
  169. package/types/uni/uts-plugin-component/lib/uni-createRequestPermissionListener/utssdk/global.d.ts +19 -0
  170. package/types/uni/uts-plugin-component/lib/uni-createRequestPermissionListener/utssdk/index.d.ts +9 -0
  171. package/types/uni/uts-plugin-component/lib/uni-createRequestPermissionListener/utssdk/interface.d.ts +61 -0
  172. package/types/uni/uts-plugin-component/lib/uni-createSelectorQuery/utssdk/global.d.ts +21 -0
  173. package/types/uni/uts-plugin-component/lib/uni-createSelectorQuery/utssdk/index.d.ts +10 -0
  174. package/types/uni/uts-plugin-component/lib/uni-createSelectorQuery/utssdk/interface.d.ts +560 -0
  175. package/types/uni/uts-plugin-component/lib/uni-createWebviewContext/utssdk/global.d.ts +15 -0
  176. package/types/uni/uts-plugin-component/lib/uni-createWebviewContext/utssdk/index.d.ts +7 -0
  177. package/types/uni/uts-plugin-component/lib/uni-createWebviewContext/utssdk/interface.d.ts +214 -0
  178. package/types/uni/uts-plugin-component/lib/uni-createWorker/utssdk/global.d.ts +23 -0
  179. package/types/uni/uts-plugin-component/lib/uni-createWorker/utssdk/index.d.ts +11 -0
  180. package/types/uni/uts-plugin-component/lib/uni-createWorker/utssdk/interface.d.ts +158 -0
  181. package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/global.d.ts +29 -0
  182. package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/index.d.ts +14 -0
  183. package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/interface.d.ts +2304 -0
  184. package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/global.d.ts +39 -0
  185. package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/index.d.ts +19 -0
  186. package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/interface.d.ts +856 -0
  187. package/types/uni/uts-plugin-component/lib/uni-editor-global/utssdk/global.d.ts +25 -0
  188. package/types/uni/uts-plugin-component/lib/uni-editor-global/utssdk/index.d.ts +13 -0
  189. package/types/uni/uts-plugin-component/lib/uni-editor-global/utssdk/interface.d.ts +181 -0
  190. package/types/uni/uts-plugin-component/lib/uni-event/utssdk/global.d.ts +17 -0
  191. package/types/uni/uts-plugin-component/lib/uni-event/utssdk/index.d.ts +8 -0
  192. package/types/uni/uts-plugin-component/lib/uni-event/utssdk/interface.d.ts +338 -0
  193. package/types/uni/uts-plugin-component/lib/uni-exit/utssdk/global.d.ts +27 -0
  194. package/types/uni/uts-plugin-component/lib/uni-exit/utssdk/index.d.ts +13 -0
  195. package/types/uni/uts-plugin-component/lib/uni-exit/utssdk/interface.d.ts +147 -0
  196. package/types/uni/uts-plugin-component/lib/uni-file/utssdk/global.d.ts +81 -0
  197. package/types/uni/uts-plugin-component/lib/uni-file/utssdk/index.d.ts +40 -0
  198. package/types/uni/uts-plugin-component/lib/uni-file/utssdk/interface.d.ts +397 -0
  199. package/types/uni/uts-plugin-component/lib/uni-fileSystemManager/utssdk/global.d.ts +151 -0
  200. package/types/uni/uts-plugin-component/lib/uni-fileSystemManager/utssdk/index.d.ts +75 -0
  201. package/types/uni/uts-plugin-component/lib/uni-fileSystemManager/utssdk/interface.d.ts +6428 -0
  202. package/types/uni/uts-plugin-component/lib/uni-getAccessibilityInfo/utssdk/global.d.ts +11 -0
  203. package/types/uni/uts-plugin-component/lib/uni-getAccessibilityInfo/utssdk/index.d.ts +5 -0
  204. package/types/uni/uts-plugin-component/lib/uni-getAccessibilityInfo/utssdk/interface.d.ts +37 -0
  205. package/types/uni/uts-plugin-component/lib/uni-getAppAuthorizeSetting/utssdk/global.d.ts +13 -0
  206. package/types/uni/uts-plugin-component/lib/uni-getAppAuthorizeSetting/utssdk/index.d.ts +6 -0
  207. package/types/uni/uts-plugin-component/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +620 -0
  208. package/types/uni/uts-plugin-component/lib/uni-getAppBaseInfo/utssdk/global.d.ts +15 -0
  209. package/types/uni/uts-plugin-component/lib/uni-getAppBaseInfo/utssdk/index.d.ts +7 -0
  210. package/types/uni/uts-plugin-component/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +2220 -0
  211. package/types/uni/uts-plugin-component/lib/uni-getBackgroundAudioManager/utssdk/global.d.ts +17 -0
  212. package/types/uni/uts-plugin-component/lib/uni-getBackgroundAudioManager/utssdk/index.d.ts +8 -0
  213. package/types/uni/uts-plugin-component/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +1406 -0
  214. package/types/uni/uts-plugin-component/lib/uni-getDeviceInfo/utssdk/global.d.ts +15 -0
  215. package/types/uni/uts-plugin-component/lib/uni-getDeviceInfo/utssdk/index.d.ts +7 -0
  216. package/types/uni/uts-plugin-component/lib/uni-getDeviceInfo/utssdk/interface.d.ts +1774 -0
  217. package/types/uni/uts-plugin-component/lib/uni-getElementById/utssdk/global.d.ts +11 -0
  218. package/types/uni/uts-plugin-component/lib/uni-getElementById/utssdk/index.d.ts +5 -0
  219. package/types/uni/uts-plugin-component/lib/uni-getElementById/utssdk/interface.d.ts +82 -0
  220. package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/global.d.ts +13 -0
  221. package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/index.d.ts +6 -0
  222. package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +374 -0
  223. package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/global.d.ts +13 -0
  224. package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/index.d.ts +6 -0
  225. package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +377 -0
  226. package/types/uni/uts-plugin-component/lib/uni-getLocation-tencent-uni1/utssdk/global.d.ts +21 -0
  227. package/types/uni/uts-plugin-component/lib/uni-getLocation-tencent-uni1/utssdk/index.d.ts +11 -0
  228. package/types/uni/uts-plugin-component/lib/uni-getLocation-tencent-uni1/utssdk/interface.d.ts +736 -0
  229. package/types/uni/uts-plugin-component/lib/uni-getNetworkType/utssdk/global.d.ts +33 -0
  230. package/types/uni/uts-plugin-component/lib/uni-getNetworkType/utssdk/index.d.ts +16 -0
  231. package/types/uni/uts-plugin-component/lib/uni-getNetworkType/utssdk/interface.d.ts +420 -0
  232. package/types/uni/uts-plugin-component/lib/uni-getPerformance/utssdk/global.d.ts +23 -0
  233. package/types/uni/uts-plugin-component/lib/uni-getPerformance/utssdk/index.d.ts +11 -0
  234. package/types/uni/uts-plugin-component/lib/uni-getPerformance/utssdk/interface.d.ts +199 -0
  235. package/types/uni/uts-plugin-component/lib/uni-getProvider/utssdk/global.d.ts +37 -0
  236. package/types/uni/uts-plugin-component/lib/uni-getProvider/utssdk/index.d.ts +18 -0
  237. package/types/uni/uts-plugin-component/lib/uni-getProvider/utssdk/interface.d.ts +757 -0
  238. package/types/uni/uts-plugin-component/lib/uni-getSystemInfo/utssdk/global.d.ts +33 -0
  239. package/types/uni/uts-plugin-component/lib/uni-getSystemInfo/utssdk/index.d.ts +16 -0
  240. package/types/uni/uts-plugin-component/lib/uni-getSystemInfo/utssdk/interface.d.ts +6084 -0
  241. package/types/uni/uts-plugin-component/lib/uni-getSystemSetting/utssdk/global.d.ts +13 -0
  242. package/types/uni/uts-plugin-component/lib/uni-getSystemSetting/utssdk/index.d.ts +6 -0
  243. package/types/uni/uts-plugin-component/lib/uni-getSystemSetting/utssdk/interface.d.ts +508 -0
  244. package/types/uni/uts-plugin-component/lib/uni-installApk/utssdk/global.d.ts +25 -0
  245. package/types/uni/uts-plugin-component/lib/uni-installApk/utssdk/index.d.ts +12 -0
  246. package/types/uni/uts-plugin-component/lib/uni-installApk/utssdk/interface.d.ts +125 -0
  247. package/types/uni/uts-plugin-component/lib/uni-interceptor/utssdk/global.d.ts +17 -0
  248. package/types/uni/uts-plugin-component/lib/uni-interceptor/utssdk/index.d.ts +8 -0
  249. package/types/uni/uts-plugin-component/lib/uni-interceptor/utssdk/interface.d.ts +171 -0
  250. package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/global.d.ts +45 -0
  251. package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/index.d.ts +22 -0
  252. package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/interface.d.ts +234 -0
  253. package/types/uni/uts-plugin-component/lib/uni-loadFontFace/utssdk/global.d.ts +29 -0
  254. package/types/uni/uts-plugin-component/lib/uni-loadFontFace/utssdk/index.d.ts +14 -0
  255. package/types/uni/uts-plugin-component/lib/uni-loadFontFace/utssdk/interface.d.ts +603 -0
  256. package/types/uni/uts-plugin-component/lib/uni-location/utssdk/global.d.ts +61 -0
  257. package/types/uni/uts-plugin-component/lib/uni-location/utssdk/index.d.ts +30 -0
  258. package/types/uni/uts-plugin-component/lib/uni-location/utssdk/interface.d.ts +3443 -0
  259. package/types/uni/uts-plugin-component/lib/uni-location-system/utssdk/global.d.ts +9 -0
  260. package/types/uni/uts-plugin-component/lib/uni-location-system/utssdk/index.d.ts +5 -0
  261. package/types/uni/uts-plugin-component/lib/uni-location-system/utssdk/interface.d.ts +3 -0
  262. package/types/uni/uts-plugin-component/lib/uni-location-tencent/utssdk/global.d.ts +9 -0
  263. package/types/uni/uts-plugin-component/lib/uni-location-tencent/utssdk/index.d.ts +5 -0
  264. package/types/uni/uts-plugin-component/lib/uni-location-tencent/utssdk/interface.d.ts +3 -0
  265. package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/global.d.ts +29 -0
  266. package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/index.d.ts +14 -0
  267. package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/interface.d.ts +386 -0
  268. package/types/uni/uts-plugin-component/lib/uni-media/utssdk/global.d.ts +157 -0
  269. package/types/uni/uts-plugin-component/lib/uni-media/utssdk/index.d.ts +78 -0
  270. package/types/uni/uts-plugin-component/lib/uni-media/utssdk/interface.d.ts +5245 -0
  271. package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/global.d.ts +43 -0
  272. package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/index.d.ts +21 -0
  273. package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/interface.d.ts +291 -0
  274. package/types/uni/uts-plugin-component/lib/uni-navigationBar/utssdk/global.d.ts +69 -0
  275. package/types/uni/uts-plugin-component/lib/uni-navigationBar/utssdk/index.d.ts +34 -0
  276. package/types/uni/uts-plugin-component/lib/uni-navigationBar/utssdk/interface.d.ts +1047 -0
  277. package/types/uni/uts-plugin-component/lib/uni-network/utssdk/global.d.ts +109 -0
  278. package/types/uni/uts-plugin-component/lib/uni-network/utssdk/index.d.ts +54 -0
  279. package/types/uni/uts-plugin-component/lib/uni-network/utssdk/interface.d.ts +4462 -0
  280. package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/global.d.ts +71 -0
  281. package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/index.d.ts +35 -0
  282. package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/interface.d.ts +2142 -0
  283. package/types/uni/uts-plugin-component/lib/uni-oauth-huawei/utssdk/global.d.ts +9 -0
  284. package/types/uni/uts-plugin-component/lib/uni-oauth-huawei/utssdk/index.d.ts +5 -0
  285. package/types/uni/uts-plugin-component/lib/uni-oauth-huawei/utssdk/interface.d.ts +1 -0
  286. package/types/uni/uts-plugin-component/lib/uni-oauth-weixin/utssdk/global.d.ts +17 -0
  287. package/types/uni/uts-plugin-component/lib/uni-oauth-weixin/utssdk/index.d.ts +9 -0
  288. package/types/uni/uts-plugin-component/lib/uni-oauth-weixin/utssdk/interface.d.ts +48 -0
  289. package/types/uni/uts-plugin-component/lib/uni-openAppAuthorizeSetting/utssdk/global.d.ts +25 -0
  290. package/types/uni/uts-plugin-component/lib/uni-openAppAuthorizeSetting/utssdk/index.d.ts +12 -0
  291. package/types/uni/uts-plugin-component/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +256 -0
  292. package/types/uni/uts-plugin-component/lib/uni-openDocument/utssdk/global.d.ts +29 -0
  293. package/types/uni/uts-plugin-component/lib/uni-openDocument/utssdk/index.d.ts +14 -0
  294. package/types/uni/uts-plugin-component/lib/uni-openDocument/utssdk/interface.d.ts +823 -0
  295. package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/global.d.ts +27 -0
  296. package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/index.d.ts +13 -0
  297. package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/interface.d.ts +155 -0
  298. package/types/uni/uts-plugin-component/lib/uni-payment/utssdk/global.d.ts +33 -0
  299. package/types/uni/uts-plugin-component/lib/uni-payment/utssdk/index.d.ts +16 -0
  300. package/types/uni/uts-plugin-component/lib/uni-payment/utssdk/interface.d.ts +856 -0
  301. package/types/uni/uts-plugin-component/lib/uni-payment-alipay/utssdk/global.d.ts +9 -0
  302. package/types/uni/uts-plugin-component/lib/uni-payment-alipay/utssdk/index.d.ts +5 -0
  303. package/types/uni/uts-plugin-component/lib/uni-payment-alipay/utssdk/interface.d.ts +3 -0
  304. package/types/uni/uts-plugin-component/lib/uni-payment-huawei/utssdk/global.d.ts +9 -0
  305. package/types/uni/uts-plugin-component/lib/uni-payment-huawei/utssdk/index.d.ts +5 -0
  306. package/types/uni/uts-plugin-component/lib/uni-payment-huawei/utssdk/interface.d.ts +1 -0
  307. package/types/uni/uts-plugin-component/lib/uni-payment-wxpay/utssdk/global.d.ts +9 -0
  308. package/types/uni/uts-plugin-component/lib/uni-payment-wxpay/utssdk/index.d.ts +5 -0
  309. package/types/uni/uts-plugin-component/lib/uni-payment-wxpay/utssdk/interface.d.ts +5 -0
  310. package/types/uni/uts-plugin-component/lib/uni-picker-global/utssdk/global.d.ts +19 -0
  311. package/types/uni/uts-plugin-component/lib/uni-picker-global/utssdk/index.d.ts +10 -0
  312. package/types/uni/uts-plugin-component/lib/uni-picker-global/utssdk/interface.d.ts +26 -0
  313. package/types/uni/uts-plugin-component/lib/uni-previewImage/utssdk/global.d.ts +47 -0
  314. package/types/uni/uts-plugin-component/lib/uni-previewImage/utssdk/index.d.ts +23 -0
  315. package/types/uni/uts-plugin-component/lib/uni-previewImage/utssdk/interface.d.ts +520 -0
  316. package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/global.d.ts +31 -0
  317. package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/index.d.ts +15 -0
  318. package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/interface.d.ts +568 -0
  319. package/types/uni/uts-plugin-component/lib/uni-prompt/utssdk/global.d.ts +33 -0
  320. package/types/uni/uts-plugin-component/lib/uni-prompt/utssdk/index.d.ts +16 -0
  321. package/types/uni/uts-plugin-component/lib/uni-prompt/utssdk/interface.d.ts +1693 -0
  322. package/types/uni/uts-plugin-component/lib/uni-pullDownRefresh/utssdk/global.d.ts +29 -0
  323. package/types/uni/uts-plugin-component/lib/uni-pullDownRefresh/utssdk/index.d.ts +14 -0
  324. package/types/uni/uts-plugin-component/lib/uni-pullDownRefresh/utssdk/interface.d.ts +191 -0
  325. package/types/uni/uts-plugin-component/lib/uni-recorder/utssdk/global.d.ts +21 -0
  326. package/types/uni/uts-plugin-component/lib/uni-recorder/utssdk/index.d.ts +10 -0
  327. package/types/uni/uts-plugin-component/lib/uni-recorder/utssdk/interface.d.ts +2999 -0
  328. package/types/uni/uts-plugin-component/lib/uni-requestMerchantTransfer/utssdk/global.d.ts +21 -0
  329. package/types/uni/uts-plugin-component/lib/uni-requestMerchantTransfer/utssdk/index.d.ts +10 -0
  330. package/types/uni/uts-plugin-component/lib/uni-requestMerchantTransfer/utssdk/interface.d.ts +713 -0
  331. package/types/uni/uts-plugin-component/lib/uni-route/utssdk/global.d.ts +59 -0
  332. package/types/uni/uts-plugin-component/lib/uni-route/utssdk/index.d.ts +29 -0
  333. package/types/uni/uts-plugin-component/lib/uni-route/utssdk/interface.d.ts +2731 -0
  334. package/types/uni/uts-plugin-component/lib/uni-rpx2px/utssdk/global.d.ts +11 -0
  335. package/types/uni/uts-plugin-component/lib/uni-rpx2px/utssdk/index.d.ts +5 -0
  336. package/types/uni/uts-plugin-component/lib/uni-rpx2px/utssdk/interface.d.ts +81 -0
  337. package/types/uni/uts-plugin-component/lib/uni-scanCode/utssdk/global.d.ts +25 -0
  338. package/types/uni/uts-plugin-component/lib/uni-scanCode/utssdk/index.d.ts +12 -0
  339. package/types/uni/uts-plugin-component/lib/uni-scanCode/utssdk/interface.d.ts +429 -0
  340. package/types/uni/uts-plugin-component/lib/uni-screenBrightness/utssdk/global.d.ts +57 -0
  341. package/types/uni/uts-plugin-component/lib/uni-screenBrightness/utssdk/index.d.ts +28 -0
  342. package/types/uni/uts-plugin-component/lib/uni-screenBrightness/utssdk/interface.d.ts +314 -0
  343. package/types/uni/uts-plugin-component/lib/uni-share/utssdk/global.d.ts +41 -0
  344. package/types/uni/uts-plugin-component/lib/uni-share/utssdk/index.d.ts +20 -0
  345. package/types/uni/uts-plugin-component/lib/uni-share/utssdk/interface.d.ts +584 -0
  346. package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/global.d.ts +9 -0
  347. package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/index.d.ts +5 -0
  348. package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/interface.d.ts +3 -0
  349. package/types/uni/uts-plugin-component/lib/uni-shareWithSystem/utssdk/global.d.ts +27 -0
  350. package/types/uni/uts-plugin-component/lib/uni-shareWithSystem/utssdk/index.d.ts +13 -0
  351. package/types/uni/uts-plugin-component/lib/uni-shareWithSystem/utssdk/interface.d.ts +722 -0
  352. package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/global.d.ts +47 -0
  353. package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/index.d.ts +23 -0
  354. package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/interface.d.ts +446 -0
  355. package/types/uni/uts-plugin-component/lib/uni-sse/utssdk/global.d.ts +21 -0
  356. package/types/uni/uts-plugin-component/lib/uni-sse/utssdk/index.d.ts +10 -0
  357. package/types/uni/uts-plugin-component/lib/uni-sse/utssdk/interface.d.ts +330 -0
  358. package/types/uni/uts-plugin-component/lib/uni-storage/utssdk/global.d.ts +79 -0
  359. package/types/uni/uts-plugin-component/lib/uni-storage/utssdk/index.d.ts +39 -0
  360. package/types/uni/uts-plugin-component/lib/uni-storage/utssdk/interface.d.ts +1030 -0
  361. package/types/uni/uts-plugin-component/lib/uni-tabBar/utssdk/global.d.ts +149 -0
  362. package/types/uni/uts-plugin-component/lib/uni-tabBar/utssdk/index.d.ts +74 -0
  363. package/types/uni/uts-plugin-component/lib/uni-tabBar/utssdk/interface.d.ts +1221 -0
  364. package/types/uni/uts-plugin-component/lib/uni-theme/utssdk/global.d.ts +53 -0
  365. package/types/uni/uts-plugin-component/lib/uni-theme/utssdk/index.d.ts +26 -0
  366. package/types/uni/uts-plugin-component/lib/uni-theme/utssdk/interface.d.ts +1141 -0
  367. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/global.d.ts +0 -22
  368. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/index.d.ts +0 -11
  369. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +862 -872
  370. package/types/uni/uts-plugin-component/lib/uni-video-global/utssdk/global.d.ts +4 -14
  371. package/types/uni/uts-plugin-component/lib/uni-video-global/utssdk/index.d.ts +2 -7
  372. package/types/uni/uts-plugin-component/lib/uni-video-global/utssdk/interface.d.ts +14 -51
  373. package/types/uni/uts-plugin-component/lib/uni-virtualPayment/utssdk/global.d.ts +113 -0
  374. package/types/uni/uts-plugin-component/lib/uni-virtualPayment/utssdk/index.d.ts +56 -0
  375. package/types/uni/uts-plugin-component/lib/uni-virtualPayment/utssdk/interface.d.ts +1661 -0
  376. package/types/uni/uts-plugin-component/lib/uni-web-view/utssdk/interface.d.ts +17 -17
  377. package/types/uni/uts-plugin-component/lib/uni-websocket/utssdk/global.d.ts +59 -0
  378. package/types/uni/uts-plugin-component/lib/uni-websocket/utssdk/index.d.ts +29 -0
  379. package/types/uni/uts-plugin-component/lib/uni-websocket/utssdk/interface.d.ts +1939 -0
  380. package/types/vue/LifeCycle.d.ts +865 -854
@@ -1,854 +1,865 @@
1
- // type OnLaunchOptions = {
2
- // path: string
3
- // }
4
- type OnHide = () => void
5
- export function onHide(hook: OnHide, target?: ComponentInternalInstance | null): void
6
- type OnAppLaunch = (options: OnLaunchOptions) => void
7
- export function onLaunch(hook: OnAppLaunch, target?: ComponentInternalInstance | null): void
8
- // type OnShowOptions = {
9
- // path: string;
10
- // };
11
- type OnAppShow = (options: OnShowOptions) => void
12
- export function onAppShow(hook: OnAppShow, target?: ComponentInternalInstance | null): void
13
- type OnAppHide = () => void
14
- export function onAppHide(hook: OnAppHide, target?: ComponentInternalInstance | null): void
15
- type OnLastPageBackPress = () => void
16
- export function onLastPageBackPress(hook: OnLastPageBackPress, target?: ComponentInternalInstance | null): void
17
- type OnExit = () => void
18
- export function onExit(hook: OnExit, target?: ComponentInternalInstance | null): void
19
- type OnLoadOptions = UTSJSONObject;
20
- type OnLoad = (options: OnLoadOptions) => void
21
- /**
22
- * 生命周期回调 监听页面加载
23
- *
24
- * 页面加载时触发。一个页面只会调用一次,可以在 onLoad 的参数中获取打开当前页面路径中的参数。
25
- * @param query 打开当前页面路径中的参数
26
- *
27
- * @tutorial [https://doc.dcloud.net.cn/uni-app-x/page.html#lifecycle](https://doc.dcloud.net.cn/uni-app-x/page.html#lifecycle)
28
- * @uniPlatform {
29
- * "app": {
30
- * "android": {
31
- * "osVer": "5.0",
32
- * "uniVer": "√",
33
- * "unixVer": "3.9"
34
- * },
35
- * "ios": {
36
- * "osVer": "10.0",
37
- * "uniVer": "√",
38
- * "unixVer": "4.11"
39
- * },
40
- * "harmony": {
41
- * "osVer": "3.0",
42
- * "uniVer": "4.23",
43
- * "unixVer": "4.61"
44
- * }
45
- * },
46
- * "mp": {
47
- * "weixin": {
48
- * "hostVer": "√",
49
- * "uniVer": "√",
50
- * "unixVer": "4.41"
51
- * },
52
- * "alipay": {
53
- * "hostVer": "√",
54
- * "uniVer": "√",
55
- * "unixVer": "x"
56
- * },
57
- * "baidu": {
58
- * "hostVer": "√",
59
- * "uniVer": "√",
60
- * "unixVer": "x"
61
- * },
62
- * "toutiao": {
63
- * "hostVer": "√",
64
- * "uniVer": "√",
65
- * "unixVer": "x"
66
- * },
67
- * "lark": {
68
- * "hostVer": "√",
69
- * "uniVer": "√",
70
- * "unixVer": "x"
71
- * },
72
- * "qq": {
73
- * "hostVer": "√",
74
- * "uniVer": "√",
75
- * "unixVer": "x"
76
- * },
77
- * "kuaishou": {
78
- * "hostVer": "√",
79
- * "uniVer": "√",
80
- * "unixVer": "x"
81
- * },
82
- * "jd": {
83
- * "hostVer": "√",
84
- * "uniVer": "√",
85
- * "unixVer": "x"
86
- * }
87
- * },
88
- * "web": {
89
- * "uniVer": "√",
90
- * "unixVer": "4.0"
91
- * }
92
- *}
93
- */
94
- export function onLoad(hook: OnLoad, target?: ComponentInternalInstance | null): void
95
- type OnPageShow = () => void
96
- /**
97
- * 生命周期回调 监听页面显示
98
- *
99
- * 页面显示/切入前台时触发。
100
- *
101
- * @tutorial [https://doc.dcloud.net.cn/uni-app-x/page.html#lifecycle](https://doc.dcloud.net.cn/uni-app-x/page.html#lifecycle)
102
- * @uniPlatform {
103
- * "app": {
104
- * "android": {
105
- * "osVer": "5.0",
106
- * "uniVer": "",
107
- * "unixVer": "3.9"
108
- * },
109
- * "ios": {
110
- * "osVer": "10.0",
111
- * "uniVer": "",
112
- * "unixVer": "4.11"
113
- * },
114
- * "harmony": {
115
- * "osVer": "3.0",
116
- * "uniVer": "4.23",
117
- * "unixVer": "4.61"
118
- * }
119
- * },
120
- * "mp": {
121
- * "weixin": {
122
- * "hostVer": "√",
123
- * "uniVer": "√",
124
- * "unixVer": "4.41"
125
- * },
126
- * "alipay": {
127
- * "hostVer": "√",
128
- * "uniVer": "√",
129
- * "unixVer": "x"
130
- * },
131
- * "baidu": {
132
- * "hostVer": "√",
133
- * "uniVer": "√",
134
- * "unixVer": "x"
135
- * },
136
- * "toutiao": {
137
- * "hostVer": "√",
138
- * "uniVer": "√",
139
- * "unixVer": "x"
140
- * },
141
- * "lark": {
142
- * "hostVer": "√",
143
- * "uniVer": "√",
144
- * "unixVer": "x"
145
- * },
146
- * "qq": {
147
- * "hostVer": "√",
148
- * "uniVer": "√",
149
- * "unixVer": "x"
150
- * },
151
- * "kuaishou": {
152
- * "hostVer": "√",
153
- * "uniVer": "√",
154
- * "unixVer": "x"
155
- * },
156
- * "jd": {
157
- * "hostVer": "√",
158
- * "uniVer": "√",
159
- * "unixVer": "x"
160
- * }
161
- * },
162
- * "web": {
163
- * "uniVer": "√",
164
- * "unixVer": "4.0"
165
- * }
166
- *}
167
- */
168
- export function onPageShow(hook: OnPageShow, target?: ComponentInternalInstance | null): void
169
- type OnPageHide = () => void
170
- /**
171
- * 生命周期回调 监听页面隐藏
172
- *
173
- * 页面隐藏/切入后台时触发。 如 `navigateTo` 或底部 `tab` 切换到其他页面,应用切入后台等。
174
- *
175
- * @tutorial [https://doc.dcloud.net.cn/uni-app-x/page.html#lifecycle](https://doc.dcloud.net.cn/uni-app-x/page.html#lifecycle)
176
- * @uniPlatform {
177
- * "app": {
178
- * "android": {
179
- * "osVer": "5.0",
180
- * "uniVer": "√",
181
- * "unixVer": "3.9"
182
- * },
183
- * "ios": {
184
- * "osVer": "10.0",
185
- * "uniVer": "√",
186
- * "unixVer": "4.11"
187
- * },
188
- * "harmony": {
189
- * "osVer": "3.0",
190
- * "uniVer": "4.23",
191
- * "unixVer": "4.61"
192
- * }
193
- * },
194
- * "mp": {
195
- * "weixin": {
196
- * "hostVer": "√",
197
- * "uniVer": "√",
198
- * "unixVer": "4.41"
199
- * },
200
- * "alipay": {
201
- * "hostVer": "",
202
- * "uniVer": "√",
203
- * "unixVer": "x"
204
- * },
205
- * "baidu": {
206
- * "hostVer": "",
207
- * "uniVer": "√",
208
- * "unixVer": "x"
209
- * },
210
- * "toutiao": {
211
- * "hostVer": "",
212
- * "uniVer": "√",
213
- * "unixVer": "x"
214
- * },
215
- * "lark": {
216
- * "hostVer": "",
217
- * "uniVer": "√",
218
- * "unixVer": "x"
219
- * },
220
- * "qq": {
221
- * "hostVer": "",
222
- * "uniVer": "√",
223
- * "unixVer": "x"
224
- * },
225
- * "kuaishou": {
226
- * "hostVer": "",
227
- * "uniVer": "√",
228
- * "unixVer": "x"
229
- * },
230
- * "jd": {
231
- * "hostVer": "",
232
- * "uniVer": "√",
233
- * "unixVer": "x"
234
- * }
235
- * },
236
- * "web": {
237
- * "uniVer": "√",
238
- * "unixVer": "4.0"
239
- * }
240
- *}
241
- */
242
- export function onPageHide(hook: OnPageHide, target?: ComponentInternalInstance | null): void
243
- type OnReady = () => void
244
- /**
245
- * 生命周期回调 监听页面初次渲染完成
246
- *
247
- * 页面初次渲染完成时触发。一个页面只会调用一次,代表页面已经准备妥当,可以和视图层进行交互。
248
- *
249
- * @tutorial [https://doc.dcloud.net.cn/uni-app-x/page.html#lifecycle](https://doc.dcloud.net.cn/uni-app-x/page.html#lifecycle)
250
- * @uniPlatform {
251
- * "app": {
252
- * "android": {
253
- * "osVer": "5.0",
254
- * "uniVer": "√",
255
- * "unixVer": "3.9"
256
- * },
257
- * "ios": {
258
- * "osVer": "10.0",
259
- * "uniVer": "√",
260
- * "unixVer": "4.11"
261
- * },
262
- * "harmony": {
263
- * "osVer": "3.0",
264
- * "uniVer": "4.23",
265
- * "unixVer": "4.61"
266
- * }
267
- * },
268
- * "mp": {
269
- * "weixin": {
270
- * "hostVer": "√",
271
- * "uniVer": "√",
272
- * "unixVer": "4.41"
273
- * },
274
- * "alipay": {
275
- * "hostVer": "√",
276
- * "uniVer": "",
277
- * "unixVer": "x"
278
- * },
279
- * "baidu": {
280
- * "hostVer": "√",
281
- * "uniVer": "",
282
- * "unixVer": "x"
283
- * },
284
- * "toutiao": {
285
- * "hostVer": "√",
286
- * "uniVer": "",
287
- * "unixVer": "x"
288
- * },
289
- * "lark": {
290
- * "hostVer": "√",
291
- * "uniVer": "",
292
- * "unixVer": "x"
293
- * },
294
- * "qq": {
295
- * "hostVer": "√",
296
- * "uniVer": "",
297
- * "unixVer": "x"
298
- * },
299
- * "kuaishou": {
300
- * "hostVer": "√",
301
- * "uniVer": "",
302
- * "unixVer": "x"
303
- * },
304
- * "jd": {
305
- * "hostVer": "√",
306
- * "uniVer": "",
307
- * "unixVer": "x"
308
- * }
309
- * },
310
- * "web": {
311
- * "uniVer": "",
312
- * "unixVer": "4.0"
313
- * }
314
- *}
315
- */
316
- export function onReady(hook: OnReady, target?: ComponentInternalInstance | null): void
317
- type OnUnload = () => void
318
- /**
319
- * 生命周期回调 监听页面卸载
320
- *
321
- * 页面卸载时触发。如 `redirectTo` `navigateBack` 到其他页面时。
322
- *
323
- * @tutorial [https://doc.dcloud.net.cn/uni-app-x/page.html#lifecycle](https://doc.dcloud.net.cn/uni-app-x/page.html#lifecycle)
324
- * @uniPlatform {
325
- * "app": {
326
- * "android": {
327
- * "osVer": "5.0",
328
- * "uniVer": "√",
329
- * "unixVer": "3.9"
330
- * },
331
- * "ios": {
332
- * "osVer": "10.0",
333
- * "uniVer": "",
334
- * "unixVer": "4.11"
335
- * },
336
- * "harmony": {
337
- * "osVer": "3.0",
338
- * "uniVer": "4.23",
339
- * "unixVer": "4.61"
340
- * }
341
- * },
342
- * "mp": {
343
- * "weixin": {
344
- * "hostVer": "",
345
- * "uniVer": "√",
346
- * "unixVer": "4.41"
347
- * },
348
- * "alipay": {
349
- * "hostVer": "√",
350
- * "uniVer": "√",
351
- * "unixVer": "x"
352
- * },
353
- * "baidu": {
354
- * "hostVer": "√",
355
- * "uniVer": "√",
356
- * "unixVer": "x"
357
- * },
358
- * "toutiao": {
359
- * "hostVer": "√",
360
- * "uniVer": "√",
361
- * "unixVer": "x"
362
- * },
363
- * "lark": {
364
- * "hostVer": "√",
365
- * "uniVer": "√",
366
- * "unixVer": "x"
367
- * },
368
- * "qq": {
369
- * "hostVer": "√",
370
- * "uniVer": "√",
371
- * "unixVer": "x"
372
- * },
373
- * "kuaishou": {
374
- * "hostVer": "√",
375
- * "uniVer": "√",
376
- * "unixVer": "x"
377
- * },
378
- * "jd": {
379
- * "hostVer": "√",
380
- * "uniVer": "√",
381
- * "unixVer": "x"
382
- * }
383
- * },
384
- * "web": {
385
- * "uniVer": "√",
386
- * "unixVer": "4.0"
387
- * }
388
- *}
389
- */
390
- export function onUnload(hook: OnUnload, target?: ComponentInternalInstance | null): void
391
- type OnPullDownRefresh = () => void
392
- /**
393
- * 监听用户下拉动作
394
- * - 需要在 `pages.json` 的页面配置中开启 `enablePullDownRefresh` 。
395
- * - 可以通过 `uni.startPullDownRefresh` 触发下拉刷新,调用后触发下拉刷新动画,效果与用户手动下拉刷新一致。
396
- * - 当处理完数据刷新后,`uni.stopPullDownRefresh` 可以停止当前页面的下拉刷新。
397
- *
398
- * @tutorial [https://doc.dcloud.net.cn/uni-app-x/page.html#lifecycle](https://doc.dcloud.net.cn/uni-app-x/page.html#lifecycle)
399
- * @uniPlatform {
400
- * "app": {
401
- * "android": {
402
- * "osVer": "5.0",
403
- * "uniVer": "√",
404
- * "unixVer": "3.9"
405
- * },
406
- * "ios": {
407
- * "osVer": "10.0",
408
- * "uniVer": "√",
409
- * "unixVer": "4.11"
410
- * },
411
- * "harmony": {
412
- * "osVer": "3.0",
413
- * "uniVer": "4.23",
414
- * "unixVer": "4.61"
415
- * }
416
- * },
417
- * "mp": {
418
- * "weixin": {
419
- * "hostVer": "",
420
- * "uniVer": "",
421
- * "unixVer": "4.41"
422
- * },
423
- * "alipay": {
424
- * "hostVer": "√",
425
- * "uniVer": "√",
426
- * "unixVer": "x"
427
- * },
428
- * "baidu": {
429
- * "hostVer": "√",
430
- * "uniVer": "√",
431
- * "unixVer": "x"
432
- * },
433
- * "toutiao": {
434
- * "hostVer": "√",
435
- * "uniVer": "√",
436
- * "unixVer": "x"
437
- * },
438
- * "lark": {
439
- * "hostVer": "√",
440
- * "uniVer": "√",
441
- * "unixVer": "x"
442
- * },
443
- * "qq": {
444
- * "hostVer": "√",
445
- * "uniVer": "√",
446
- * "unixVer": "x"
447
- * },
448
- * "kuaishou": {
449
- * "hostVer": "√",
450
- * "uniVer": "√",
451
- * "unixVer": "x"
452
- * },
453
- * "jd": {
454
- * "hostVer": "√",
455
- * "uniVer": "√",
456
- * "unixVer": "x"
457
- * }
458
- * },
459
- * "web": {
460
- * "uniVer": "√",
461
- * "unixVer": "4.0"
462
- * }
463
- *}
464
- */
465
- export function onPullDownRefresh(hook: OnPullDownRefresh, target?: ComponentInternalInstance | null): void
466
- // type OnPageScrollOptions = {
467
- // scrollTop: number;
468
- // };
469
- type OnPageScroll = (options: OnPageScrollOptions) => void
470
- /**
471
- * 页面滚动触发事件的处理函数
472
- *
473
- * 监听用户滑动页面事件。
474
- * @param options 页面滚动参数
475
- *
476
- * @tutorial [https://doc.dcloud.net.cn/uni-app-x/page.html#lifecycle](https://doc.dcloud.net.cn/uni-app-x/page.html#lifecycle)
477
- * @uniPlatform {
478
- * "app": {
479
- * "android": {
480
- * "osVer": "5.0",
481
- * "uniVer": "√",
482
- * "unixVer": "3.9"
483
- * },
484
- * "ios": {
485
- * "osVer": "10.0",
486
- * "uniVer": "",
487
- * "unixVer": "4.13"
488
- * },
489
- * "harmony": {
490
- * "osVer": "3.0",
491
- * "uniVer": "4.23",
492
- * "unixVer": "4.61"
493
- * }
494
- * },
495
- * "mp": {
496
- * "weixin": {
497
- * "hostVer": "",
498
- * "uniVer": "",
499
- * "unixVer": "4.41"
500
- * },
501
- * "alipay": {
502
- * "hostVer": "√",
503
- * "uniVer": "√",
504
- * "unixVer": "x"
505
- * },
506
- * "baidu": {
507
- * "hostVer": "√",
508
- * "uniVer": "√",
509
- * "unixVer": "x"
510
- * },
511
- * "toutiao": {
512
- * "hostVer": "√",
513
- * "uniVer": "√",
514
- * "unixVer": "x"
515
- * },
516
- * "lark": {
517
- * "hostVer": "√",
518
- * "uniVer": "√",
519
- * "unixVer": "x"
520
- * },
521
- * "qq": {
522
- * "hostVer": "√",
523
- * "uniVer": "√",
524
- * "unixVer": "x"
525
- * },
526
- * "kuaishou": {
527
- * "hostVer": "√",
528
- * "uniVer": "√",
529
- * "unixVer": "x"
530
- * },
531
- * "jd": {
532
- * "hostVer": "√",
533
- * "uniVer": "√",
534
- * "unixVer": "x"
535
- * }
536
- * },
537
- * "web": {
538
- * "uniVer": "√",
539
- * "unixVer": "4.0"
540
- * }
541
- *}
542
- */
543
- export function onPageScroll(hook: OnPageScroll, target?: ComponentInternalInstance | null): void
544
- type OnReachBottom = () => void
545
- /**
546
- * 页面上拉触底事件的处理函数
547
- * - 可以在 `pages.json` 的页面配置中设置触发距离 `onReachBottomDistance` 。
548
- * - 在触发距离内滑动期间,本事件只会被触发一次。
549
- *
550
- * @tutorial [https://doc.dcloud.net.cn/uni-app-x/page.html#lifecycle](https://doc.dcloud.net.cn/uni-app-x/page.html#lifecycle)
551
- * @uniPlatform {
552
- * "app": {
553
- * "android": {
554
- * "osVer": "5.0",
555
- * "uniVer": "√",
556
- * "unixVer": "3.9"
557
- * },
558
- * "ios": {
559
- * "osVer": "10.0",
560
- * "uniVer": "√",
561
- * "unixVer": "4.11"
562
- * },
563
- * "harmony": {
564
- * "osVer": "3.0",
565
- * "uniVer": "4.23",
566
- * "unixVer": "4.61"
567
- * }
568
- * },
569
- * "mp": {
570
- * "weixin": {
571
- * "hostVer": "",
572
- * "uniVer": "",
573
- * "unixVer": "4.41"
574
- * },
575
- * "alipay": {
576
- * "hostVer": "√",
577
- * "uniVer": "√",
578
- * "unixVer": "x"
579
- * },
580
- * "baidu": {
581
- * "hostVer": "",
582
- * "uniVer": "√",
583
- * "unixVer": "x"
584
- * },
585
- * "toutiao": {
586
- * "hostVer": "",
587
- * "uniVer": "√",
588
- * "unixVer": "x"
589
- * },
590
- * "lark": {
591
- * "hostVer": "",
592
- * "uniVer": "√",
593
- * "unixVer": "x"
594
- * },
595
- * "qq": {
596
- * "hostVer": "",
597
- * "uniVer": "√",
598
- * "unixVer": "x"
599
- * },
600
- * "kuaishou": {
601
- * "hostVer": "",
602
- * "uniVer": "√",
603
- * "unixVer": "x"
604
- * },
605
- * "jd": {
606
- * "hostVer": "",
607
- * "uniVer": "√",
608
- * "unixVer": "x"
609
- * }
610
- * },
611
- * "web": {
612
- * "uniVer": "√",
613
- * "unixVer": "4.0"
614
- * }
615
- *}
616
- */
617
- export function onReachBottom(hook: OnReachBottom, target?: ComponentInternalInstance | null): void
618
- // type OnBackPressOptions = {
619
- // from: 'backbutton' | 'navigateBack';
620
- // };
621
- type OnBackPress = (options: OnBackPressOptions) => boolean | null
622
- /**
623
- * 监听页面返回
624
- * @param options tab 点击参数
625
- * @return 返回 `true` 时阻止页面返回
626
- *
627
- * @tutorial [https://doc.dcloud.net.cn/uni-app-x/page.html#lifecycle](https://doc.dcloud.net.cn/uni-app-x/page.html#lifecycle)
628
- * @uniPlatform {
629
- * "app": {
630
- * "android": {
631
- * "osVer": "5.0",
632
- * "uniVer": "√",
633
- * "unixVer": "3.9"
634
- * },
635
- * "ios": {
636
- * "osVer": "10.0",
637
- * "uniVer": "√",
638
- * "unixVer": "4.11"
639
- * },
640
- * "harmony": {
641
- * "osVer": "3.0",
642
- * "uniVer": "4.23",
643
- * "unixVer": "4.61"
644
- * }
645
- * },
646
- * "mp": {
647
- * "weixin": {
648
- * "hostVer": "x",
649
- * "uniVer": "x",
650
- * "unixVer": "4.41"
651
- * },
652
- * "alipay": {
653
- * "hostVer": "√",
654
- * "uniVer": "√",
655
- * "unixVer": "x"
656
- * },
657
- * "baidu": {
658
- * "hostVer": "x",
659
- * "uniVer": "x",
660
- * "unixVer": "x"
661
- * },
662
- * "toutiao": {
663
- * "hostVer": "x",
664
- * "uniVer": "x",
665
- * "unixVer": "x"
666
- * },
667
- * "lark": {
668
- * "hostVer": "x",
669
- * "uniVer": "x",
670
- * "unixVer": "x"
671
- * },
672
- * "qq": {
673
- * "hostVer": "x",
674
- * "uniVer": "x",
675
- * "unixVer": "x"
676
- * },
677
- * "kuaishou": {
678
- * "hostVer": "x",
679
- * "uniVer": "x",
680
- * "unixVer": "x"
681
- * },
682
- * "jd": {
683
- * "hostVer": "x",
684
- * "uniVer": "x",
685
- * "unixVer": "x"
686
- * }
687
- * },
688
- * "web": {
689
- * "uniVer": "",
690
- * "unixVer": "4.0"
691
- * }
692
- *}
693
- */
694
- export function onBackPress(hook: OnBackPress, target?: ComponentInternalInstance | null): void
695
- // type OnResizeSize = {
696
- // screenHeight: number;
697
- // screenWidth: number;
698
- // windowHeight: number;
699
- // windowWidth: number;
700
- // };
701
- // type OnResizeOptions = {
702
- // deviceOrientation: string;
703
- // size: OnResizeSize;
704
- // };
705
- type OnResize = (options: OnResizeOptions) => void
706
- /**
707
- * 页面尺寸改变时触发
708
- * @param options 页面滚动参数
709
- *
710
- * @tutorial [https://doc.dcloud.net.cn/uni-app-x/page.html#lifecycle](https://doc.dcloud.net.cn/uni-app-x/page.html#lifecycle)
711
- * @uniPlatform {
712
- * "app": {
713
- * "android": {
714
- * "osVer": "5.0",
715
- * "uniVer": "√",
716
- * "unixVer": "3.9"
717
- * },
718
- * "ios": {
719
- * "osVer": "10.0",
720
- * "uniVer": "√",
721
- * "unixVer": "4.11"
722
- * },
723
- * "harmony": {
724
- * "osVer": "3.0",
725
- * "uniVer": "4.23",
726
- * "unixVer": "4.61"
727
- * }
728
- * },
729
- * "mp": {
730
- * "weixin": {
731
- * "hostVer": "√",
732
- * "uniVer": "√",
733
- * "unixVer": "4.41"
734
- * },
735
- * "alipay": {
736
- * "hostVer": "x",
737
- * "uniVer": "x",
738
- * "unixVer": "x"
739
- * },
740
- * "baidu": {
741
- * "hostVer": "x",
742
- * "uniVer": "x",
743
- * "unixVer": "x"
744
- * },
745
- * "toutiao": {
746
- * "hostVer": "x",
747
- * "uniVer": "x",
748
- * "unixVer": "x"
749
- * },
750
- * "lark": {
751
- * "hostVer": "x",
752
- * "uniVer": "x",
753
- * "unixVer": "x"
754
- * },
755
- * "qq": {
756
- * "hostVer": "x",
757
- * "uniVer": "x",
758
- * "unixVer": "x"
759
- * },
760
- * "kuaishou": {
761
- * "hostVer": "",
762
- * "uniVer": "",
763
- * "unixVer": "x"
764
- * },
765
- * "jd": {
766
- * "hostVer": "x",
767
- * "uniVer": "x",
768
- * "unixVer": "x"
769
- * }
770
- * },
771
- * "web": {
772
- * "uniVer": "√",
773
- * "unixVer": "4.0"
774
- * }
775
- *}
776
- */
777
- export function onResize(hook: OnResize, target?: ComponentInternalInstance | null): void
778
-
779
- type OnErrorOptions = any
780
- type OnError = (err: OnErrorOptions) => void
781
- /**
782
- * 应用报错时触发
783
- *
784
- * @tutorial [https://doc.dcloud.net.cn/uni-app-x/page.html#lifecycle](https://doc.dcloud.net.cn/uni-app-x/page.html#lifecycle)
785
- * @uniPlatform {
786
- * "app": {
787
- * "android": {
788
- * "osVer": "5.0",
789
- * "uniVer": "√",
790
- * "unixVer": "3.9"
791
- * },
792
- * "ios": {
793
- * "osVer": "10.0",
794
- * "uniVer": "√",
795
- * "unixVer": "4.11"
796
- * },
797
- * "harmony": {
798
- * "osVer": "3.0",
799
- * "uniVer": "4.23",
800
- * "unixVer": "4.61"
801
- * }
802
- * },
803
- * "mp": {
804
- * "weixin": {
805
- * "hostVer": "",
806
- * "uniVer": "√",
807
- * "unixVer": "4.41"
808
- * },
809
- * "alipay": {
810
- * "hostVer": "x",
811
- * "uniVer": "x",
812
- * "unixVer": "x"
813
- * },
814
- * "baidu": {
815
- * "hostVer": "x",
816
- * "uniVer": "x",
817
- * "unixVer": "x"
818
- * },
819
- * "toutiao": {
820
- * "hostVer": "x",
821
- * "uniVer": "x",
822
- * "unixVer": "x"
823
- * },
824
- * "lark": {
825
- * "hostVer": "x",
826
- * "uniVer": "x",
827
- * "unixVer": "x"
828
- * },
829
- * "qq": {
830
- * "hostVer": "x",
831
- * "uniVer": "x",
832
- * "unixVer": "x"
833
- * },
834
- * "kuaishou": {
835
- * "hostVer": "√",
836
- * "uniVer": "",
837
- * "unixVer": "x"
838
- * },
839
- * "jd": {
840
- * "hostVer": "x",
841
- * "uniVer": "x",
842
- * "unixVer": "x"
843
- * }
844
- * },
845
- * "web": {
846
- * "uniVer": "√",
847
- * "unixVer": "4.0"
848
- * }
849
- *}
850
- */
851
- export function onError(
852
- hook: OnError,
853
- target?: GenericComponentInstance | null
854
- ): void;
1
+ // type OnLaunchOptions = {
2
+ // path: string
3
+ // }
4
+ type OnHide = () => void
5
+ export function onHide(hook: OnHide, target?: ComponentInternalInstance | null): void
6
+ type OnAppLaunch = (options: OnLaunchOptions) => void
7
+ export function onLaunch(hook: OnAppLaunch, target?: ComponentInternalInstance | null): void
8
+ // type OnShowOptions = {
9
+ // path: string;
10
+ // };
11
+ type OnAppShow = (options: OnShowOptions) => void
12
+ export function onAppShow(hook: OnAppShow, target?: ComponentInternalInstance | null): void
13
+ type OnAppHide = () => void
14
+ export function onAppHide(hook: OnAppHide, target?: ComponentInternalInstance | null): void
15
+ type OnLastPageBackPress = () => void
16
+ export function onLastPageBackPress(hook: OnLastPageBackPress, target?: ComponentInternalInstance | null): void
17
+ type OnExit = () => void
18
+ export function onExit(hook: OnExit, target?: ComponentInternalInstance | null): void
19
+ type OnLoadOptions = UTSJSONObject;
20
+ type OnLoad = (options: OnLoadOptions) => void
21
+ /**
22
+ * 生命周期回调 监听页面加载
23
+ *
24
+ * 页面加载时触发。一个页面只会调用一次,可以在 onLoad 的参数中获取打开当前页面路径中的参数。
25
+ * @param query 打开当前页面路径中的参数
26
+ *
27
+ * @tutorial [https://doc.dcloud.net.cn/uni-app-x/page.html#lifecycle](https://doc.dcloud.net.cn/uni-app-x/page.html#lifecycle)
28
+ * @uniPlatform {
29
+ * "app": {
30
+ * "android": {
31
+ * "osVer": "5.0",
32
+ * "uniVer": "√",
33
+ * "unixVer": "3.9"
34
+ * },
35
+ * "ios": {
36
+ * "osVer": "10.0",
37
+ * "uniVer": "√",
38
+ * "unixVer": "4.11"
39
+ * },
40
+ * "harmony": {
41
+ * "osVer": "3.0",
42
+ * "uniVer": "4.23",
43
+ * "unixVer": "4.61",
44
+ * "unixVaporVer": "5.0"
45
+ * }
46
+ * },
47
+ * "mp": {
48
+ * "weixin": {
49
+ * "hostVer": "√",
50
+ * "uniVer": "",
51
+ * "unixVer": "4.41"
52
+ * },
53
+ * "alipay": {
54
+ * "hostVer": "√",
55
+ * "uniVer": "",
56
+ * "unixVer": "x"
57
+ * },
58
+ * "baidu": {
59
+ * "hostVer": "√",
60
+ * "uniVer": "",
61
+ * "unixVer": "x"
62
+ * },
63
+ * "toutiao": {
64
+ * "hostVer": "√",
65
+ * "uniVer": "",
66
+ * "unixVer": "x"
67
+ * },
68
+ * "lark": {
69
+ * "hostVer": "√",
70
+ * "uniVer": "",
71
+ * "unixVer": "x"
72
+ * },
73
+ * "qq": {
74
+ * "hostVer": "√",
75
+ * "uniVer": "",
76
+ * "unixVer": "x"
77
+ * },
78
+ * "kuaishou": {
79
+ * "hostVer": "√",
80
+ * "uniVer": "",
81
+ * "unixVer": "x"
82
+ * },
83
+ * "jd": {
84
+ * "hostVer": "√",
85
+ * "uniVer": "",
86
+ * "unixVer": "x"
87
+ * }
88
+ * },
89
+ * "web": {
90
+ * "uniVer": "",
91
+ * "unixVer": "4.0"
92
+ * }
93
+ *}
94
+ */
95
+ export function onLoad(hook: OnLoad, target?: ComponentInternalInstance | null): void
96
+ type OnPageShow = () => void
97
+ /**
98
+ * 生命周期回调 监听页面显示
99
+ *
100
+ * 页面显示/切入前台时触发。
101
+ *
102
+ * @tutorial [https://doc.dcloud.net.cn/uni-app-x/page.html#lifecycle](https://doc.dcloud.net.cn/uni-app-x/page.html#lifecycle)
103
+ * @uniPlatform {
104
+ * "app": {
105
+ * "android": {
106
+ * "osVer": "5.0",
107
+ * "uniVer": "",
108
+ * "unixVer": "3.9"
109
+ * },
110
+ * "ios": {
111
+ * "osVer": "10.0",
112
+ * "uniVer": "",
113
+ * "unixVer": "4.11"
114
+ * },
115
+ * "harmony": {
116
+ * "osVer": "3.0",
117
+ * "uniVer": "4.23",
118
+ * "unixVer": "4.61",
119
+ * "unixVaporVer": "5.0"
120
+ * }
121
+ * },
122
+ * "mp": {
123
+ * "weixin": {
124
+ * "hostVer": "",
125
+ * "uniVer": "√",
126
+ * "unixVer": "4.41"
127
+ * },
128
+ * "alipay": {
129
+ * "hostVer": "",
130
+ * "uniVer": "√",
131
+ * "unixVer": "x"
132
+ * },
133
+ * "baidu": {
134
+ * "hostVer": "",
135
+ * "uniVer": "√",
136
+ * "unixVer": "x"
137
+ * },
138
+ * "toutiao": {
139
+ * "hostVer": "",
140
+ * "uniVer": "√",
141
+ * "unixVer": "x"
142
+ * },
143
+ * "lark": {
144
+ * "hostVer": "",
145
+ * "uniVer": "√",
146
+ * "unixVer": "x"
147
+ * },
148
+ * "qq": {
149
+ * "hostVer": "",
150
+ * "uniVer": "√",
151
+ * "unixVer": "x"
152
+ * },
153
+ * "kuaishou": {
154
+ * "hostVer": "",
155
+ * "uniVer": "√",
156
+ * "unixVer": "x"
157
+ * },
158
+ * "jd": {
159
+ * "hostVer": "",
160
+ * "uniVer": "√",
161
+ * "unixVer": "x"
162
+ * }
163
+ * },
164
+ * "web": {
165
+ * "uniVer": "√",
166
+ * "unixVer": "4.0"
167
+ * }
168
+ *}
169
+ */
170
+ export function onPageShow(hook: OnPageShow, target?: ComponentInternalInstance | null): void
171
+ type OnPageHide = () => void
172
+ /**
173
+ * 生命周期回调 监听页面隐藏
174
+ *
175
+ * 页面隐藏/切入后台时触发。 如 `navigateTo` 或底部 `tab` 切换到其他页面,应用切入后台等。
176
+ *
177
+ * @tutorial [https://doc.dcloud.net.cn/uni-app-x/page.html#lifecycle](https://doc.dcloud.net.cn/uni-app-x/page.html#lifecycle)
178
+ * @uniPlatform {
179
+ * "app": {
180
+ * "android": {
181
+ * "osVer": "5.0",
182
+ * "uniVer": "√",
183
+ * "unixVer": "3.9"
184
+ * },
185
+ * "ios": {
186
+ * "osVer": "10.0",
187
+ * "uniVer": "√",
188
+ * "unixVer": "4.11"
189
+ * },
190
+ * "harmony": {
191
+ * "osVer": "3.0",
192
+ * "uniVer": "4.23",
193
+ * "unixVer": "4.61",
194
+ * "unixVaporVer": "5.0"
195
+ * }
196
+ * },
197
+ * "mp": {
198
+ * "weixin": {
199
+ * "hostVer": "√",
200
+ * "uniVer": "√",
201
+ * "unixVer": "4.41"
202
+ * },
203
+ * "alipay": {
204
+ * "hostVer": "√",
205
+ * "uniVer": "√",
206
+ * "unixVer": "x"
207
+ * },
208
+ * "baidu": {
209
+ * "hostVer": "√",
210
+ * "uniVer": "√",
211
+ * "unixVer": "x"
212
+ * },
213
+ * "toutiao": {
214
+ * "hostVer": "√",
215
+ * "uniVer": "√",
216
+ * "unixVer": "x"
217
+ * },
218
+ * "lark": {
219
+ * "hostVer": "√",
220
+ * "uniVer": "√",
221
+ * "unixVer": "x"
222
+ * },
223
+ * "qq": {
224
+ * "hostVer": "√",
225
+ * "uniVer": "√",
226
+ * "unixVer": "x"
227
+ * },
228
+ * "kuaishou": {
229
+ * "hostVer": "√",
230
+ * "uniVer": "√",
231
+ * "unixVer": "x"
232
+ * },
233
+ * "jd": {
234
+ * "hostVer": "√",
235
+ * "uniVer": "√",
236
+ * "unixVer": "x"
237
+ * }
238
+ * },
239
+ * "web": {
240
+ * "uniVer": "√",
241
+ * "unixVer": "4.0"
242
+ * }
243
+ *}
244
+ */
245
+ export function onPageHide(hook: OnPageHide, target?: ComponentInternalInstance | null): void
246
+ type OnReady = () => void
247
+ /**
248
+ * 生命周期回调 监听页面初次渲染完成
249
+ *
250
+ * 页面初次渲染完成时触发。一个页面只会调用一次,代表页面已经准备妥当,可以和视图层进行交互。
251
+ *
252
+ * @tutorial [https://doc.dcloud.net.cn/uni-app-x/page.html#lifecycle](https://doc.dcloud.net.cn/uni-app-x/page.html#lifecycle)
253
+ * @uniPlatform {
254
+ * "app": {
255
+ * "android": {
256
+ * "osVer": "5.0",
257
+ * "uniVer": "√",
258
+ * "unixVer": "3.9"
259
+ * },
260
+ * "ios": {
261
+ * "osVer": "10.0",
262
+ * "uniVer": "√",
263
+ * "unixVer": "4.11"
264
+ * },
265
+ * "harmony": {
266
+ * "osVer": "3.0",
267
+ * "uniVer": "4.23",
268
+ * "unixVer": "4.61",
269
+ * "unixVaporVer": "5.0"
270
+ * }
271
+ * },
272
+ * "mp": {
273
+ * "weixin": {
274
+ * "hostVer": "√",
275
+ * "uniVer": "√",
276
+ * "unixVer": "4.41"
277
+ * },
278
+ * "alipay": {
279
+ * "hostVer": "√",
280
+ * "uniVer": "√",
281
+ * "unixVer": "x"
282
+ * },
283
+ * "baidu": {
284
+ * "hostVer": "√",
285
+ * "uniVer": "√",
286
+ * "unixVer": "x"
287
+ * },
288
+ * "toutiao": {
289
+ * "hostVer": "√",
290
+ * "uniVer": "√",
291
+ * "unixVer": "x"
292
+ * },
293
+ * "lark": {
294
+ * "hostVer": "√",
295
+ * "uniVer": "√",
296
+ * "unixVer": "x"
297
+ * },
298
+ * "qq": {
299
+ * "hostVer": "√",
300
+ * "uniVer": "√",
301
+ * "unixVer": "x"
302
+ * },
303
+ * "kuaishou": {
304
+ * "hostVer": "√",
305
+ * "uniVer": "√",
306
+ * "unixVer": "x"
307
+ * },
308
+ * "jd": {
309
+ * "hostVer": "√",
310
+ * "uniVer": "√",
311
+ * "unixVer": "x"
312
+ * }
313
+ * },
314
+ * "web": {
315
+ * "uniVer": "√",
316
+ * "unixVer": "4.0"
317
+ * }
318
+ *}
319
+ */
320
+ export function onReady(hook: OnReady, target?: ComponentInternalInstance | null): void
321
+ type OnUnload = () => void
322
+ /**
323
+ * 生命周期回调 监听页面卸载
324
+ *
325
+ * 页面卸载时触发。如 `redirectTo` 或 `navigateBack` 到其他页面时。
326
+ *
327
+ * @tutorial [https://doc.dcloud.net.cn/uni-app-x/page.html#lifecycle](https://doc.dcloud.net.cn/uni-app-x/page.html#lifecycle)
328
+ * @uniPlatform {
329
+ * "app": {
330
+ * "android": {
331
+ * "osVer": "5.0",
332
+ * "uniVer": "",
333
+ * "unixVer": "3.9"
334
+ * },
335
+ * "ios": {
336
+ * "osVer": "10.0",
337
+ * "uniVer": "",
338
+ * "unixVer": "4.11"
339
+ * },
340
+ * "harmony": {
341
+ * "osVer": "3.0",
342
+ * "uniVer": "4.23",
343
+ * "unixVer": "4.61",
344
+ * "unixVaporVer": "5.0"
345
+ * }
346
+ * },
347
+ * "mp": {
348
+ * "weixin": {
349
+ * "hostVer": "√",
350
+ * "uniVer": "√",
351
+ * "unixVer": "4.41"
352
+ * },
353
+ * "alipay": {
354
+ * "hostVer": "√",
355
+ * "uniVer": "√",
356
+ * "unixVer": "x"
357
+ * },
358
+ * "baidu": {
359
+ * "hostVer": "√",
360
+ * "uniVer": "√",
361
+ * "unixVer": "x"
362
+ * },
363
+ * "toutiao": {
364
+ * "hostVer": "√",
365
+ * "uniVer": "√",
366
+ * "unixVer": "x"
367
+ * },
368
+ * "lark": {
369
+ * "hostVer": "√",
370
+ * "uniVer": "√",
371
+ * "unixVer": "x"
372
+ * },
373
+ * "qq": {
374
+ * "hostVer": "√",
375
+ * "uniVer": "√",
376
+ * "unixVer": "x"
377
+ * },
378
+ * "kuaishou": {
379
+ * "hostVer": "√",
380
+ * "uniVer": "√",
381
+ * "unixVer": "x"
382
+ * },
383
+ * "jd": {
384
+ * "hostVer": "√",
385
+ * "uniVer": "√",
386
+ * "unixVer": "x"
387
+ * }
388
+ * },
389
+ * "web": {
390
+ * "uniVer": "√",
391
+ * "unixVer": "4.0"
392
+ * }
393
+ *}
394
+ */
395
+ export function onUnload(hook: OnUnload, target?: ComponentInternalInstance | null): void
396
+ type OnPullDownRefresh = () => void
397
+ /**
398
+ * 监听用户下拉动作
399
+ * - 需要在 `pages.json` 的页面配置中开启 `enablePullDownRefresh` 。
400
+ * - 可以通过 `uni.startPullDownRefresh` 触发下拉刷新,调用后触发下拉刷新动画,效果与用户手动下拉刷新一致。
401
+ * - 当处理完数据刷新后,`uni.stopPullDownRefresh` 可以停止当前页面的下拉刷新。
402
+ *
403
+ * @tutorial [https://doc.dcloud.net.cn/uni-app-x/page.html#lifecycle](https://doc.dcloud.net.cn/uni-app-x/page.html#lifecycle)
404
+ * @uniPlatform {
405
+ * "app": {
406
+ * "android": {
407
+ * "osVer": "5.0",
408
+ * "uniVer": "√",
409
+ * "unixVer": "3.9"
410
+ * },
411
+ * "ios": {
412
+ * "osVer": "10.0",
413
+ * "uniVer": "",
414
+ * "unixVer": "4.11"
415
+ * },
416
+ * "harmony": {
417
+ * "osVer": "3.0",
418
+ * "uniVer": "4.23",
419
+ * "unixVer": "4.61",
420
+ * "unixVaporVer": "x"
421
+ * }
422
+ * },
423
+ * "mp": {
424
+ * "weixin": {
425
+ * "hostVer": "√",
426
+ * "uniVer": "",
427
+ * "unixVer": "4.41"
428
+ * },
429
+ * "alipay": {
430
+ * "hostVer": "√",
431
+ * "uniVer": "",
432
+ * "unixVer": "x"
433
+ * },
434
+ * "baidu": {
435
+ * "hostVer": "√",
436
+ * "uniVer": "",
437
+ * "unixVer": "x"
438
+ * },
439
+ * "toutiao": {
440
+ * "hostVer": "√",
441
+ * "uniVer": "",
442
+ * "unixVer": "x"
443
+ * },
444
+ * "lark": {
445
+ * "hostVer": "√",
446
+ * "uniVer": "",
447
+ * "unixVer": "x"
448
+ * },
449
+ * "qq": {
450
+ * "hostVer": "√",
451
+ * "uniVer": "",
452
+ * "unixVer": "x"
453
+ * },
454
+ * "kuaishou": {
455
+ * "hostVer": "√",
456
+ * "uniVer": "",
457
+ * "unixVer": "x"
458
+ * },
459
+ * "jd": {
460
+ * "hostVer": "√",
461
+ * "uniVer": "",
462
+ * "unixVer": "x"
463
+ * }
464
+ * },
465
+ * "web": {
466
+ * "uniVer": "√",
467
+ * "unixVer": "4.0"
468
+ * }
469
+ *}
470
+ */
471
+ export function onPullDownRefresh(hook: OnPullDownRefresh, target?: ComponentInternalInstance | null): void
472
+ // type OnPageScrollOptions = {
473
+ // scrollTop: number;
474
+ // };
475
+ type OnPageScroll = (options: OnPageScrollOptions) => void
476
+ /**
477
+ * 页面滚动触发事件的处理函数
478
+ *
479
+ * 监听用户滑动页面事件。
480
+ * @param options 页面滚动参数
481
+ *
482
+ * @tutorial [https://doc.dcloud.net.cn/uni-app-x/page.html#lifecycle](https://doc.dcloud.net.cn/uni-app-x/page.html#lifecycle)
483
+ * @uniPlatform {
484
+ * "app": {
485
+ * "android": {
486
+ * "osVer": "5.0",
487
+ * "uniVer": "",
488
+ * "unixVer": "3.9"
489
+ * },
490
+ * "ios": {
491
+ * "osVer": "10.0",
492
+ * "uniVer": "",
493
+ * "unixVer": "4.13"
494
+ * },
495
+ * "harmony": {
496
+ * "osVer": "3.0",
497
+ * "uniVer": "4.23",
498
+ * "unixVer": "4.61",
499
+ * "unixVaporVer": "x"
500
+ * }
501
+ * },
502
+ * "mp": {
503
+ * "weixin": {
504
+ * "hostVer": "",
505
+ * "uniVer": "√",
506
+ * "unixVer": "4.41"
507
+ * },
508
+ * "alipay": {
509
+ * "hostVer": "",
510
+ * "uniVer": "√",
511
+ * "unixVer": "x"
512
+ * },
513
+ * "baidu": {
514
+ * "hostVer": "",
515
+ * "uniVer": "√",
516
+ * "unixVer": "x"
517
+ * },
518
+ * "toutiao": {
519
+ * "hostVer": "",
520
+ * "uniVer": "√",
521
+ * "unixVer": "x"
522
+ * },
523
+ * "lark": {
524
+ * "hostVer": "",
525
+ * "uniVer": "√",
526
+ * "unixVer": "x"
527
+ * },
528
+ * "qq": {
529
+ * "hostVer": "",
530
+ * "uniVer": "√",
531
+ * "unixVer": "x"
532
+ * },
533
+ * "kuaishou": {
534
+ * "hostVer": "",
535
+ * "uniVer": "√",
536
+ * "unixVer": "x"
537
+ * },
538
+ * "jd": {
539
+ * "hostVer": "",
540
+ * "uniVer": "√",
541
+ * "unixVer": "x"
542
+ * }
543
+ * },
544
+ * "web": {
545
+ * "uniVer": "√",
546
+ * "unixVer": "4.0"
547
+ * }
548
+ *}
549
+ */
550
+ export function onPageScroll(hook: OnPageScroll, target?: ComponentInternalInstance | null): void
551
+ type OnReachBottom = () => void
552
+ /**
553
+ * 页面上拉触底事件的处理函数
554
+ * - 可以在 `pages.json` 的页面配置中设置触发距离 `onReachBottomDistance` 。
555
+ * - 在触发距离内滑动期间,本事件只会被触发一次。
556
+ *
557
+ * @tutorial [https://doc.dcloud.net.cn/uni-app-x/page.html#lifecycle](https://doc.dcloud.net.cn/uni-app-x/page.html#lifecycle)
558
+ * @uniPlatform {
559
+ * "app": {
560
+ * "android": {
561
+ * "osVer": "5.0",
562
+ * "uniVer": "√",
563
+ * "unixVer": "3.9"
564
+ * },
565
+ * "ios": {
566
+ * "osVer": "10.0",
567
+ * "uniVer": "√",
568
+ * "unixVer": "4.11"
569
+ * },
570
+ * "harmony": {
571
+ * "osVer": "3.0",
572
+ * "uniVer": "4.23",
573
+ * "unixVer": "4.61",
574
+ * "unixVaporVer": "x"
575
+ * }
576
+ * },
577
+ * "mp": {
578
+ * "weixin": {
579
+ * "hostVer": "√",
580
+ * "uniVer": "√",
581
+ * "unixVer": "4.41"
582
+ * },
583
+ * "alipay": {
584
+ * "hostVer": "√",
585
+ * "uniVer": "√",
586
+ * "unixVer": "x"
587
+ * },
588
+ * "baidu": {
589
+ * "hostVer": "√",
590
+ * "uniVer": "√",
591
+ * "unixVer": "x"
592
+ * },
593
+ * "toutiao": {
594
+ * "hostVer": "√",
595
+ * "uniVer": "√",
596
+ * "unixVer": "x"
597
+ * },
598
+ * "lark": {
599
+ * "hostVer": "√",
600
+ * "uniVer": "√",
601
+ * "unixVer": "x"
602
+ * },
603
+ * "qq": {
604
+ * "hostVer": "√",
605
+ * "uniVer": "√",
606
+ * "unixVer": "x"
607
+ * },
608
+ * "kuaishou": {
609
+ * "hostVer": "√",
610
+ * "uniVer": "√",
611
+ * "unixVer": "x"
612
+ * },
613
+ * "jd": {
614
+ * "hostVer": "√",
615
+ * "uniVer": "√",
616
+ * "unixVer": "x"
617
+ * }
618
+ * },
619
+ * "web": {
620
+ * "uniVer": "√",
621
+ * "unixVer": "4.0"
622
+ * }
623
+ *}
624
+ */
625
+ export function onReachBottom(hook: OnReachBottom, target?: ComponentInternalInstance | null): void
626
+ // type OnBackPressOptions = {
627
+ // from: 'backbutton' | 'navigateBack';
628
+ // };
629
+ type OnBackPress = (options: OnBackPressOptions) => boolean | null
630
+ /**
631
+ * 监听页面返回
632
+ * @param options tab 点击参数
633
+ * @return 返回 `true` 时阻止页面返回
634
+ *
635
+ * @tutorial [https://doc.dcloud.net.cn/uni-app-x/page.html#lifecycle](https://doc.dcloud.net.cn/uni-app-x/page.html#lifecycle)
636
+ * @uniPlatform {
637
+ * "app": {
638
+ * "android": {
639
+ * "osVer": "5.0",
640
+ * "uniVer": "√",
641
+ * "unixVer": "3.9"
642
+ * },
643
+ * "ios": {
644
+ * "osVer": "10.0",
645
+ * "uniVer": "√",
646
+ * "unixVer": "4.11"
647
+ * },
648
+ * "harmony": {
649
+ * "osVer": "3.0",
650
+ * "uniVer": "4.23",
651
+ * "unixVer": "4.61",
652
+ * "unixVaporVer": "5.0"
653
+ * }
654
+ * },
655
+ * "mp": {
656
+ * "weixin": {
657
+ * "hostVer": "x",
658
+ * "uniVer": "x",
659
+ * "unixVer": "4.41"
660
+ * },
661
+ * "alipay": {
662
+ * "hostVer": "√",
663
+ * "uniVer": "",
664
+ * "unixVer": "x"
665
+ * },
666
+ * "baidu": {
667
+ * "hostVer": "x",
668
+ * "uniVer": "x",
669
+ * "unixVer": "x"
670
+ * },
671
+ * "toutiao": {
672
+ * "hostVer": "x",
673
+ * "uniVer": "x",
674
+ * "unixVer": "x"
675
+ * },
676
+ * "lark": {
677
+ * "hostVer": "x",
678
+ * "uniVer": "x",
679
+ * "unixVer": "x"
680
+ * },
681
+ * "qq": {
682
+ * "hostVer": "x",
683
+ * "uniVer": "x",
684
+ * "unixVer": "x"
685
+ * },
686
+ * "kuaishou": {
687
+ * "hostVer": "x",
688
+ * "uniVer": "x",
689
+ * "unixVer": "x"
690
+ * },
691
+ * "jd": {
692
+ * "hostVer": "x",
693
+ * "uniVer": "x",
694
+ * "unixVer": "x"
695
+ * }
696
+ * },
697
+ * "web": {
698
+ * "uniVer": "√",
699
+ * "unixVer": "4.0"
700
+ * }
701
+ *}
702
+ */
703
+ export function onBackPress(hook: OnBackPress, target?: ComponentInternalInstance | null): void
704
+ // type OnResizeSize = {
705
+ // screenHeight: number;
706
+ // screenWidth: number;
707
+ // windowHeight: number;
708
+ // windowWidth: number;
709
+ // };
710
+ // type OnResizeOptions = {
711
+ // deviceOrientation: string;
712
+ // size: OnResizeSize;
713
+ // };
714
+ type OnResize = (options: OnResizeOptions) => void
715
+ /**
716
+ * 页面尺寸改变时触发
717
+ * @param options 页面滚动参数
718
+ *
719
+ * @tutorial [https://doc.dcloud.net.cn/uni-app-x/page.html#lifecycle](https://doc.dcloud.net.cn/uni-app-x/page.html#lifecycle)
720
+ * @uniPlatform {
721
+ * "app": {
722
+ * "android": {
723
+ * "osVer": "5.0",
724
+ * "uniVer": "",
725
+ * "unixVer": "3.9"
726
+ * },
727
+ * "ios": {
728
+ * "osVer": "10.0",
729
+ * "uniVer": "√",
730
+ * "unixVer": "4.11"
731
+ * },
732
+ * "harmony": {
733
+ * "osVer": "3.0",
734
+ * "uniVer": "4.23",
735
+ * "unixVer": "4.61",
736
+ * "unixVaporVer": "5.0"
737
+ * }
738
+ * },
739
+ * "mp": {
740
+ * "weixin": {
741
+ * "hostVer": "",
742
+ * "uniVer": "",
743
+ * "unixVer": "4.41"
744
+ * },
745
+ * "alipay": {
746
+ * "hostVer": "x",
747
+ * "uniVer": "x",
748
+ * "unixVer": "x"
749
+ * },
750
+ * "baidu": {
751
+ * "hostVer": "x",
752
+ * "uniVer": "x",
753
+ * "unixVer": "x"
754
+ * },
755
+ * "toutiao": {
756
+ * "hostVer": "x",
757
+ * "uniVer": "x",
758
+ * "unixVer": "x"
759
+ * },
760
+ * "lark": {
761
+ * "hostVer": "x",
762
+ * "uniVer": "x",
763
+ * "unixVer": "x"
764
+ * },
765
+ * "qq": {
766
+ * "hostVer": "x",
767
+ * "uniVer": "x",
768
+ * "unixVer": "x"
769
+ * },
770
+ * "kuaishou": {
771
+ * "hostVer": "√",
772
+ * "uniVer": "√",
773
+ * "unixVer": "x"
774
+ * },
775
+ * "jd": {
776
+ * "hostVer": "x",
777
+ * "uniVer": "x",
778
+ * "unixVer": "x"
779
+ * }
780
+ * },
781
+ * "web": {
782
+ * "uniVer": "√",
783
+ * "unixVer": "4.0"
784
+ * }
785
+ *}
786
+ */
787
+ export function onResize(hook: OnResize, target?: ComponentInternalInstance | null): void
788
+
789
+ type OnErrorOptions = any
790
+ type OnError = (err: OnErrorOptions) => void
791
+ /**
792
+ * 应用报错时触发
793
+ *
794
+ * @tutorial [https://doc.dcloud.net.cn/uni-app-x/page.html#lifecycle](https://doc.dcloud.net.cn/uni-app-x/page.html#lifecycle)
795
+ * @uniPlatform {
796
+ * "app": {
797
+ * "android": {
798
+ * "osVer": "5.0",
799
+ * "uniVer": "",
800
+ * "unixVer": "3.9"
801
+ * },
802
+ * "ios": {
803
+ * "osVer": "10.0",
804
+ * "uniVer": "√",
805
+ * "unixVer": "4.11"
806
+ * },
807
+ * "harmony": {
808
+ * "osVer": "3.0",
809
+ * "uniVer": "4.23",
810
+ * "unixVer": "4.61",
811
+ * "unixVaporVer": "5.0"
812
+ * }
813
+ * },
814
+ * "mp": {
815
+ * "weixin": {
816
+ * "hostVer": "",
817
+ * "uniVer": "",
818
+ * "unixVer": "4.41"
819
+ * },
820
+ * "alipay": {
821
+ * "hostVer": "x",
822
+ * "uniVer": "x",
823
+ * "unixVer": "x"
824
+ * },
825
+ * "baidu": {
826
+ * "hostVer": "x",
827
+ * "uniVer": "x",
828
+ * "unixVer": "x"
829
+ * },
830
+ * "toutiao": {
831
+ * "hostVer": "x",
832
+ * "uniVer": "x",
833
+ * "unixVer": "x"
834
+ * },
835
+ * "lark": {
836
+ * "hostVer": "x",
837
+ * "uniVer": "x",
838
+ * "unixVer": "x"
839
+ * },
840
+ * "qq": {
841
+ * "hostVer": "x",
842
+ * "uniVer": "x",
843
+ * "unixVer": "x"
844
+ * },
845
+ * "kuaishou": {
846
+ * "hostVer": "√",
847
+ * "uniVer": "",
848
+ * "unixVer": "x"
849
+ * },
850
+ * "jd": {
851
+ * "hostVer": "x",
852
+ * "uniVer": "x",
853
+ * "unixVer": "x"
854
+ * }
855
+ * },
856
+ * "web": {
857
+ * "uniVer": "√",
858
+ * "unixVer": "4.0"
859
+ * }
860
+ *}
861
+ */
862
+ export function onError(
863
+ hook: OnError,
864
+ target?: GenericComponentInstance | null
865
+ ): void;