@dcloudio/uni-app-x 0.7.112 → 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 (379) 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/native/CSSStyleDeclaration.d.ts +172 -172
  5. package/types/native/CanvasRenderingContext2D.d.ts +4720 -4720
  6. package/types/native/DrawableContext.d.ts +1893 -1893
  7. package/types/native/IUniElement.d.ts +7468 -7468
  8. package/types/native/IUniNativeViewElement.d.ts +327 -327
  9. package/types/native/SnapshotOptions.d.ts +337 -62
  10. package/types/native/UniPage.d.ts +1305 -1305
  11. package/types/native/UniResizeObserver.d.ts +749 -749
  12. package/types/native/UniSwiperAnimationFinishEvent.d.ts +59 -59
  13. package/types/native/UniSwiperChangeEvent.d.ts +58 -58
  14. package/types/page.d.ts +3154 -3112
  15. package/types/uni/uts-plugin-api/global.d.ts +8 -0
  16. package/types/uni/uts-plugin-api/index.d.ts +8 -0
  17. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/interface.d.ts +1672 -911
  18. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +126 -126
  19. package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +14 -14
  20. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +154 -154
  21. package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +14 -14
  22. package/types/uni/uts-plugin-api/lib/uni-camera/utssdk/global.d.ts +55 -0
  23. package/types/uni/uts-plugin-api/lib/uni-camera/utssdk/index.d.ts +27 -0
  24. package/types/uni/uts-plugin-api/lib/uni-camera/utssdk/interface.d.ts +1155 -0
  25. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/global.d.ts +9 -6
  26. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/index.d.ts +5 -3
  27. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/interface.d.ts +978 -972
  28. package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/global.d.ts +25 -0
  29. package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/index.d.ts +12 -0
  30. package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/interface.d.ts +978 -0
  31. package/types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/interface.d.ts +358 -358
  32. package/types/uni/uts-plugin-api/lib/uni-chooseMedia/utssdk/interface.d.ts +8 -8
  33. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +78 -78
  34. package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +490 -479
  35. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +214 -214
  36. package/types/uni/uts-plugin-api/lib/uni-createWorker/utssdk/interface.d.ts +126 -126
  37. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +30 -30
  38. package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/global.d.ts +39 -0
  39. package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/index.d.ts +19 -0
  40. package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/interface.d.ts +856 -0
  41. package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +338 -338
  42. package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/interface.d.ts +147 -147
  43. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +397 -397
  44. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +6363 -6359
  45. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +554 -554
  46. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +2149 -2149
  47. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +1340 -1340
  48. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +1707 -1707
  49. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +307 -307
  50. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +310 -310
  51. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +5 -5
  52. package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +129 -129
  53. package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/interface.d.ts +757 -757
  54. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +5881 -5879
  55. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +442 -442
  56. package/types/uni/uts-plugin-api/lib/uni-input/utssdk/global.d.ts +9 -0
  57. package/types/uni/uts-plugin-api/lib/uni-input/utssdk/index.d.ts +5 -0
  58. package/types/uni/uts-plugin-api/lib/uni-input/utssdk/interface.d.ts +0 -0
  59. package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/interface.d.ts +171 -171
  60. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +1 -1
  61. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +536 -536
  62. package/types/uni/uts-plugin-api/lib/uni-location/utssdk/interface.d.ts +2914 -2910
  63. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +24 -24
  64. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/interface.d.ts +208 -208
  65. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +785 -785
  66. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +4243 -4243
  67. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +1979 -1963
  68. package/types/uni/uts-plugin-api/lib/uni-oauth-weixin/utssdk/interface.d.ts +5 -3
  69. package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +229 -229
  70. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +753 -753
  71. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +84 -84
  72. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +790 -788
  73. package/types/uni/uts-plugin-api/lib/uni-previewImage/utssdk/interface.d.ts +447 -447
  74. package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/interface.d.ts +498 -498
  75. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +1552 -1548
  76. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +58 -58
  77. package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/interface.d.ts +30 -30
  78. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +2513 -2513
  79. package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/interface.d.ts +81 -81
  80. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +351 -351
  81. package/types/uni/uts-plugin-api/lib/uni-screenBrightness/utssdk/interface.d.ts +107 -107
  82. package/types/uni/uts-plugin-api/lib/uni-share/utssdk/interface.d.ts +584 -584
  83. package/types/uni/uts-plugin-api/lib/uni-shareWithSystem/utssdk/interface.d.ts +722 -722
  84. package/types/uni/uts-plugin-api/lib/uni-showLoading/utssdk/interface.d.ts +292 -292
  85. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +358 -358
  86. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +657 -657
  87. package/types/uni/uts-plugin-api/lib/uni-textarea/utssdk/global.d.ts +9 -0
  88. package/types/uni/uts-plugin-api/lib/uni-textarea/utssdk/index.d.ts +5 -0
  89. package/types/uni/uts-plugin-api/lib/uni-textarea/utssdk/interface.d.ts +0 -0
  90. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +1010 -1010
  91. package/types/uni/uts-plugin-api/lib/uni-video/utssdk/global.d.ts +47 -0
  92. package/types/uni/uts-plugin-api/lib/uni-video/utssdk/index.d.ts +23 -0
  93. package/types/uni/uts-plugin-api/lib/uni-video/utssdk/interface.d.ts +926 -0
  94. package/types/uni/uts-plugin-api/lib/uni-web-view/utssdk/global.d.ts +29 -0
  95. package/types/uni/uts-plugin-api/lib/uni-web-view/utssdk/index.d.ts +14 -0
  96. package/types/uni/uts-plugin-api/lib/uni-web-view/utssdk/interface.d.ts +452 -0
  97. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +1442 -1442
  98. package/types/uni/uts-plugin-biz/lib/uni-facialVerify/utssdk/interface.d.ts +220 -220
  99. package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/interface.d.ts +65 -65
  100. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +981 -981
  101. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +26 -26
  102. package/types/uni/uts-plugin-component/.temp/uni-camera/utssdk/interface.uts +1155 -0
  103. package/types/uni/uts-plugin-component/.temp/uni-camera.d.ts +38 -0
  104. package/types/uni/uts-plugin-component/.temp/uni-camera.ts +52 -0
  105. package/types/uni/uts-plugin-component/.temp/uni-canvas/utssdk/interface.uts +976 -0
  106. package/types/uni/uts-plugin-component/.temp/uni-canvas-dom2/utssdk/interface.uts +976 -0
  107. package/types/uni/uts-plugin-component/.temp/uni-editor.d.ts +171 -0
  108. package/types/uni/uts-plugin-component/.temp/uni-editor.ts +237 -0
  109. package/types/uni/uts-plugin-component/.temp/uni-form.d.ts +2 -0
  110. package/types/uni/uts-plugin-component/.temp/uni-form.ts +1 -0
  111. package/types/uni/uts-plugin-component/.temp/uni-input/utssdk/interface.uts +0 -0
  112. package/types/uni/uts-plugin-component/.temp/uni-map-tencent.d.ts +56 -0
  113. package/types/uni/uts-plugin-component/.temp/uni-map-tencent.ts +88 -0
  114. package/types/uni/uts-plugin-component/.temp/uni-match-media.d.ts +2 -0
  115. package/types/uni/uts-plugin-component/.temp/uni-match-media.ts +2 -0
  116. package/types/uni/uts-plugin-component/.temp/uni-navigator.d.ts +2 -0
  117. package/types/uni/uts-plugin-component/.temp/uni-navigator.ts +1 -0
  118. package/types/uni/uts-plugin-component/.temp/uni-page-container.d.ts +0 -0
  119. package/types/uni/uts-plugin-component/.temp/uni-page-container.ts +2 -0
  120. package/types/uni/uts-plugin-component/.temp/uni-progress.d.ts +2 -0
  121. package/types/uni/uts-plugin-component/.temp/uni-progress.ts +1 -0
  122. package/types/uni/uts-plugin-component/.temp/uni-rich-text.d.ts +7 -0
  123. package/types/uni/uts-plugin-component/.temp/uni-rich-text.ts +12 -0
  124. package/types/uni/uts-plugin-component/.temp/uni-textarea/utssdk/interface.uts +0 -0
  125. package/types/uni/uts-plugin-component/.temp/uni-video/utssdk/interface.uts +936 -0
  126. package/types/uni/uts-plugin-component/.temp/uni-video.d.ts +134 -0
  127. package/types/uni/uts-plugin-component/.temp/uni-video.ts +180 -0
  128. package/types/uni/uts-plugin-component/.temp/uni-web-view/utssdk/interface.uts +452 -0
  129. package/types/uni/uts-plugin-component/.temp/uni-web-view.d.ts +51 -0
  130. package/types/uni/uts-plugin-component/.temp/uni-web-view.ts +86 -0
  131. package/types/uni/uts-plugin-component/global.d.ts +79 -0
  132. package/types/uni/uts-plugin-component/index.d.ts +79 -0
  133. package/types/uni/uts-plugin-component/lib/uni-actionSheet/utssdk/global.d.ts +29 -0
  134. package/types/uni/uts-plugin-component/lib/uni-actionSheet/utssdk/index.d.ts +14 -0
  135. package/types/uni/uts-plugin-component/lib/uni-actionSheet/utssdk/interface.d.ts +1673 -0
  136. package/types/uni/uts-plugin-component/lib/uni-addPhoneContact/utssdk/global.d.ts +25 -0
  137. package/types/uni/uts-plugin-component/lib/uni-addPhoneContact/utssdk/index.d.ts +12 -0
  138. package/types/uni/uts-plugin-component/lib/uni-addPhoneContact/utssdk/interface.d.ts +226 -0
  139. package/types/uni/uts-plugin-component/lib/uni-arrayBufferToBase64/utssdk/global.d.ts +11 -0
  140. package/types/uni/uts-plugin-component/lib/uni-arrayBufferToBase64/utssdk/index.d.ts +5 -0
  141. package/types/uni/uts-plugin-component/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +79 -0
  142. package/types/uni/uts-plugin-component/lib/uni-authentication/utssdk/global.d.ts +59 -0
  143. package/types/uni/uts-plugin-component/lib/uni-authentication/utssdk/index.d.ts +29 -0
  144. package/types/uni/uts-plugin-component/lib/uni-authentication/utssdk/interface.d.ts +371 -0
  145. package/types/uni/uts-plugin-component/lib/uni-barcode-scanning/utssdk/global.d.ts +9 -0
  146. package/types/uni/uts-plugin-component/lib/uni-barcode-scanning/utssdk/index.d.ts +5 -0
  147. package/types/uni/uts-plugin-component/lib/uni-barcode-scanning/utssdk/interface.d.ts +0 -0
  148. package/types/uni/uts-plugin-component/lib/uni-base64ToArrayBuffer/utssdk/global.d.ts +11 -0
  149. package/types/uni/uts-plugin-component/lib/uni-base64ToArrayBuffer/utssdk/index.d.ts +5 -0
  150. package/types/uni/uts-plugin-component/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +79 -0
  151. package/types/uni/uts-plugin-component/lib/uni-canvas/utssdk/interface.d.ts +978 -976
  152. package/types/uni/uts-plugin-component/lib/uni-canvas-dom2/utssdk/interface.d.ts +978 -976
  153. package/types/uni/uts-plugin-component/lib/uni-chooseLocation/utssdk/global.d.ts +25 -0
  154. package/types/uni/uts-plugin-component/lib/uni-chooseLocation/utssdk/index.d.ts +12 -0
  155. package/types/uni/uts-plugin-component/lib/uni-chooseLocation/utssdk/interface.d.ts +423 -0
  156. package/types/uni/uts-plugin-component/lib/uni-chooseMedia/utssdk/global.d.ts +33 -0
  157. package/types/uni/uts-plugin-component/lib/uni-chooseMedia/utssdk/index.d.ts +16 -0
  158. package/types/uni/uts-plugin-component/lib/uni-chooseMedia/utssdk/interface.d.ts +499 -0
  159. package/types/uni/uts-plugin-component/lib/uni-clipboard/utssdk/global.d.ts +45 -0
  160. package/types/uni/uts-plugin-component/lib/uni-clipboard/utssdk/index.d.ts +22 -0
  161. package/types/uni/uts-plugin-component/lib/uni-clipboard/utssdk/interface.d.ts +217 -0
  162. package/types/uni/uts-plugin-component/lib/uni-createInnerAudioContext/utssdk/global.d.ts +33 -0
  163. package/types/uni/uts-plugin-component/lib/uni-createInnerAudioContext/utssdk/index.d.ts +16 -0
  164. package/types/uni/uts-plugin-component/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +3379 -0
  165. package/types/uni/uts-plugin-component/lib/uni-createIntersectionObserver/utssdk/global.d.ts +21 -0
  166. package/types/uni/uts-plugin-component/lib/uni-createIntersectionObserver/utssdk/index.d.ts +10 -0
  167. package/types/uni/uts-plugin-component/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +153 -0
  168. package/types/uni/uts-plugin-component/lib/uni-createRequestPermissionListener/utssdk/global.d.ts +19 -0
  169. package/types/uni/uts-plugin-component/lib/uni-createRequestPermissionListener/utssdk/index.d.ts +9 -0
  170. package/types/uni/uts-plugin-component/lib/uni-createRequestPermissionListener/utssdk/interface.d.ts +61 -0
  171. package/types/uni/uts-plugin-component/lib/uni-createSelectorQuery/utssdk/global.d.ts +21 -0
  172. package/types/uni/uts-plugin-component/lib/uni-createSelectorQuery/utssdk/index.d.ts +10 -0
  173. package/types/uni/uts-plugin-component/lib/uni-createSelectorQuery/utssdk/interface.d.ts +560 -0
  174. package/types/uni/uts-plugin-component/lib/uni-createWebviewContext/utssdk/global.d.ts +15 -0
  175. package/types/uni/uts-plugin-component/lib/uni-createWebviewContext/utssdk/index.d.ts +7 -0
  176. package/types/uni/uts-plugin-component/lib/uni-createWebviewContext/utssdk/interface.d.ts +214 -0
  177. package/types/uni/uts-plugin-component/lib/uni-createWorker/utssdk/global.d.ts +23 -0
  178. package/types/uni/uts-plugin-component/lib/uni-createWorker/utssdk/index.d.ts +11 -0
  179. package/types/uni/uts-plugin-component/lib/uni-createWorker/utssdk/interface.d.ts +158 -0
  180. package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/global.d.ts +29 -0
  181. package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/index.d.ts +14 -0
  182. package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/interface.d.ts +2304 -0
  183. package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/global.d.ts +39 -0
  184. package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/index.d.ts +19 -0
  185. package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/interface.d.ts +856 -0
  186. package/types/uni/uts-plugin-component/lib/uni-editor-global/utssdk/global.d.ts +25 -0
  187. package/types/uni/uts-plugin-component/lib/uni-editor-global/utssdk/index.d.ts +13 -0
  188. package/types/uni/uts-plugin-component/lib/uni-editor-global/utssdk/interface.d.ts +181 -0
  189. package/types/uni/uts-plugin-component/lib/uni-event/utssdk/global.d.ts +17 -0
  190. package/types/uni/uts-plugin-component/lib/uni-event/utssdk/index.d.ts +8 -0
  191. package/types/uni/uts-plugin-component/lib/uni-event/utssdk/interface.d.ts +338 -0
  192. package/types/uni/uts-plugin-component/lib/uni-exit/utssdk/global.d.ts +27 -0
  193. package/types/uni/uts-plugin-component/lib/uni-exit/utssdk/index.d.ts +13 -0
  194. package/types/uni/uts-plugin-component/lib/uni-exit/utssdk/interface.d.ts +147 -0
  195. package/types/uni/uts-plugin-component/lib/uni-file/utssdk/global.d.ts +81 -0
  196. package/types/uni/uts-plugin-component/lib/uni-file/utssdk/index.d.ts +40 -0
  197. package/types/uni/uts-plugin-component/lib/uni-file/utssdk/interface.d.ts +397 -0
  198. package/types/uni/uts-plugin-component/lib/uni-fileSystemManager/utssdk/global.d.ts +151 -0
  199. package/types/uni/uts-plugin-component/lib/uni-fileSystemManager/utssdk/index.d.ts +75 -0
  200. package/types/uni/uts-plugin-component/lib/uni-fileSystemManager/utssdk/interface.d.ts +6428 -0
  201. package/types/uni/uts-plugin-component/lib/uni-getAccessibilityInfo/utssdk/global.d.ts +11 -0
  202. package/types/uni/uts-plugin-component/lib/uni-getAccessibilityInfo/utssdk/index.d.ts +5 -0
  203. package/types/uni/uts-plugin-component/lib/uni-getAccessibilityInfo/utssdk/interface.d.ts +37 -0
  204. package/types/uni/uts-plugin-component/lib/uni-getAppAuthorizeSetting/utssdk/global.d.ts +13 -0
  205. package/types/uni/uts-plugin-component/lib/uni-getAppAuthorizeSetting/utssdk/index.d.ts +6 -0
  206. package/types/uni/uts-plugin-component/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +620 -0
  207. package/types/uni/uts-plugin-component/lib/uni-getAppBaseInfo/utssdk/global.d.ts +15 -0
  208. package/types/uni/uts-plugin-component/lib/uni-getAppBaseInfo/utssdk/index.d.ts +7 -0
  209. package/types/uni/uts-plugin-component/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +2220 -0
  210. package/types/uni/uts-plugin-component/lib/uni-getBackgroundAudioManager/utssdk/global.d.ts +17 -0
  211. package/types/uni/uts-plugin-component/lib/uni-getBackgroundAudioManager/utssdk/index.d.ts +8 -0
  212. package/types/uni/uts-plugin-component/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +1406 -0
  213. package/types/uni/uts-plugin-component/lib/uni-getDeviceInfo/utssdk/global.d.ts +15 -0
  214. package/types/uni/uts-plugin-component/lib/uni-getDeviceInfo/utssdk/index.d.ts +7 -0
  215. package/types/uni/uts-plugin-component/lib/uni-getDeviceInfo/utssdk/interface.d.ts +1774 -0
  216. package/types/uni/uts-plugin-component/lib/uni-getElementById/utssdk/global.d.ts +11 -0
  217. package/types/uni/uts-plugin-component/lib/uni-getElementById/utssdk/index.d.ts +5 -0
  218. package/types/uni/uts-plugin-component/lib/uni-getElementById/utssdk/interface.d.ts +82 -0
  219. package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/global.d.ts +13 -0
  220. package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/index.d.ts +6 -0
  221. package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +374 -0
  222. package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/global.d.ts +13 -0
  223. package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/index.d.ts +6 -0
  224. package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +377 -0
  225. package/types/uni/uts-plugin-component/lib/uni-getLocation-tencent-uni1/utssdk/global.d.ts +21 -0
  226. package/types/uni/uts-plugin-component/lib/uni-getLocation-tencent-uni1/utssdk/index.d.ts +11 -0
  227. package/types/uni/uts-plugin-component/lib/uni-getLocation-tencent-uni1/utssdk/interface.d.ts +736 -0
  228. package/types/uni/uts-plugin-component/lib/uni-getNetworkType/utssdk/global.d.ts +33 -0
  229. package/types/uni/uts-plugin-component/lib/uni-getNetworkType/utssdk/index.d.ts +16 -0
  230. package/types/uni/uts-plugin-component/lib/uni-getNetworkType/utssdk/interface.d.ts +420 -0
  231. package/types/uni/uts-plugin-component/lib/uni-getPerformance/utssdk/global.d.ts +23 -0
  232. package/types/uni/uts-plugin-component/lib/uni-getPerformance/utssdk/index.d.ts +11 -0
  233. package/types/uni/uts-plugin-component/lib/uni-getPerformance/utssdk/interface.d.ts +199 -0
  234. package/types/uni/uts-plugin-component/lib/uni-getProvider/utssdk/global.d.ts +37 -0
  235. package/types/uni/uts-plugin-component/lib/uni-getProvider/utssdk/index.d.ts +18 -0
  236. package/types/uni/uts-plugin-component/lib/uni-getProvider/utssdk/interface.d.ts +757 -0
  237. package/types/uni/uts-plugin-component/lib/uni-getSystemInfo/utssdk/global.d.ts +33 -0
  238. package/types/uni/uts-plugin-component/lib/uni-getSystemInfo/utssdk/index.d.ts +16 -0
  239. package/types/uni/uts-plugin-component/lib/uni-getSystemInfo/utssdk/interface.d.ts +6084 -0
  240. package/types/uni/uts-plugin-component/lib/uni-getSystemSetting/utssdk/global.d.ts +13 -0
  241. package/types/uni/uts-plugin-component/lib/uni-getSystemSetting/utssdk/index.d.ts +6 -0
  242. package/types/uni/uts-plugin-component/lib/uni-getSystemSetting/utssdk/interface.d.ts +508 -0
  243. package/types/uni/uts-plugin-component/lib/uni-installApk/utssdk/global.d.ts +25 -0
  244. package/types/uni/uts-plugin-component/lib/uni-installApk/utssdk/index.d.ts +12 -0
  245. package/types/uni/uts-plugin-component/lib/uni-installApk/utssdk/interface.d.ts +125 -0
  246. package/types/uni/uts-plugin-component/lib/uni-interceptor/utssdk/global.d.ts +17 -0
  247. package/types/uni/uts-plugin-component/lib/uni-interceptor/utssdk/index.d.ts +8 -0
  248. package/types/uni/uts-plugin-component/lib/uni-interceptor/utssdk/interface.d.ts +171 -0
  249. package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/global.d.ts +45 -0
  250. package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/index.d.ts +22 -0
  251. package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/interface.d.ts +234 -0
  252. package/types/uni/uts-plugin-component/lib/uni-loadFontFace/utssdk/global.d.ts +29 -0
  253. package/types/uni/uts-plugin-component/lib/uni-loadFontFace/utssdk/index.d.ts +14 -0
  254. package/types/uni/uts-plugin-component/lib/uni-loadFontFace/utssdk/interface.d.ts +603 -0
  255. package/types/uni/uts-plugin-component/lib/uni-location/utssdk/global.d.ts +61 -0
  256. package/types/uni/uts-plugin-component/lib/uni-location/utssdk/index.d.ts +30 -0
  257. package/types/uni/uts-plugin-component/lib/uni-location/utssdk/interface.d.ts +3443 -0
  258. package/types/uni/uts-plugin-component/lib/uni-location-system/utssdk/global.d.ts +9 -0
  259. package/types/uni/uts-plugin-component/lib/uni-location-system/utssdk/index.d.ts +5 -0
  260. package/types/uni/uts-plugin-component/lib/uni-location-system/utssdk/interface.d.ts +3 -0
  261. package/types/uni/uts-plugin-component/lib/uni-location-tencent/utssdk/global.d.ts +9 -0
  262. package/types/uni/uts-plugin-component/lib/uni-location-tencent/utssdk/index.d.ts +5 -0
  263. package/types/uni/uts-plugin-component/lib/uni-location-tencent/utssdk/interface.d.ts +3 -0
  264. package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/global.d.ts +29 -0
  265. package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/index.d.ts +14 -0
  266. package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/interface.d.ts +386 -0
  267. package/types/uni/uts-plugin-component/lib/uni-media/utssdk/global.d.ts +157 -0
  268. package/types/uni/uts-plugin-component/lib/uni-media/utssdk/index.d.ts +78 -0
  269. package/types/uni/uts-plugin-component/lib/uni-media/utssdk/interface.d.ts +5245 -0
  270. package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/global.d.ts +43 -0
  271. package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/index.d.ts +21 -0
  272. package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/interface.d.ts +291 -0
  273. package/types/uni/uts-plugin-component/lib/uni-navigationBar/utssdk/global.d.ts +69 -0
  274. package/types/uni/uts-plugin-component/lib/uni-navigationBar/utssdk/index.d.ts +34 -0
  275. package/types/uni/uts-plugin-component/lib/uni-navigationBar/utssdk/interface.d.ts +1047 -0
  276. package/types/uni/uts-plugin-component/lib/uni-network/utssdk/global.d.ts +109 -0
  277. package/types/uni/uts-plugin-component/lib/uni-network/utssdk/index.d.ts +54 -0
  278. package/types/uni/uts-plugin-component/lib/uni-network/utssdk/interface.d.ts +4462 -0
  279. package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/global.d.ts +71 -0
  280. package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/index.d.ts +35 -0
  281. package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/interface.d.ts +2142 -0
  282. package/types/uni/uts-plugin-component/lib/uni-oauth-huawei/utssdk/global.d.ts +9 -0
  283. package/types/uni/uts-plugin-component/lib/uni-oauth-huawei/utssdk/index.d.ts +5 -0
  284. package/types/uni/uts-plugin-component/lib/uni-oauth-huawei/utssdk/interface.d.ts +1 -0
  285. package/types/uni/uts-plugin-component/lib/uni-oauth-weixin/utssdk/global.d.ts +17 -0
  286. package/types/uni/uts-plugin-component/lib/uni-oauth-weixin/utssdk/index.d.ts +9 -0
  287. package/types/uni/uts-plugin-component/lib/uni-oauth-weixin/utssdk/interface.d.ts +48 -0
  288. package/types/uni/uts-plugin-component/lib/uni-openAppAuthorizeSetting/utssdk/global.d.ts +25 -0
  289. package/types/uni/uts-plugin-component/lib/uni-openAppAuthorizeSetting/utssdk/index.d.ts +12 -0
  290. package/types/uni/uts-plugin-component/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +256 -0
  291. package/types/uni/uts-plugin-component/lib/uni-openDocument/utssdk/global.d.ts +29 -0
  292. package/types/uni/uts-plugin-component/lib/uni-openDocument/utssdk/index.d.ts +14 -0
  293. package/types/uni/uts-plugin-component/lib/uni-openDocument/utssdk/interface.d.ts +823 -0
  294. package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/global.d.ts +27 -0
  295. package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/index.d.ts +13 -0
  296. package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/interface.d.ts +155 -0
  297. package/types/uni/uts-plugin-component/lib/uni-payment/utssdk/global.d.ts +33 -0
  298. package/types/uni/uts-plugin-component/lib/uni-payment/utssdk/index.d.ts +16 -0
  299. package/types/uni/uts-plugin-component/lib/uni-payment/utssdk/interface.d.ts +856 -0
  300. package/types/uni/uts-plugin-component/lib/uni-payment-alipay/utssdk/global.d.ts +9 -0
  301. package/types/uni/uts-plugin-component/lib/uni-payment-alipay/utssdk/index.d.ts +5 -0
  302. package/types/uni/uts-plugin-component/lib/uni-payment-alipay/utssdk/interface.d.ts +3 -0
  303. package/types/uni/uts-plugin-component/lib/uni-payment-huawei/utssdk/global.d.ts +9 -0
  304. package/types/uni/uts-plugin-component/lib/uni-payment-huawei/utssdk/index.d.ts +5 -0
  305. package/types/uni/uts-plugin-component/lib/uni-payment-huawei/utssdk/interface.d.ts +1 -0
  306. package/types/uni/uts-plugin-component/lib/uni-payment-wxpay/utssdk/global.d.ts +9 -0
  307. package/types/uni/uts-plugin-component/lib/uni-payment-wxpay/utssdk/index.d.ts +5 -0
  308. package/types/uni/uts-plugin-component/lib/uni-payment-wxpay/utssdk/interface.d.ts +5 -0
  309. package/types/uni/uts-plugin-component/lib/uni-picker-global/utssdk/global.d.ts +19 -0
  310. package/types/uni/uts-plugin-component/lib/uni-picker-global/utssdk/index.d.ts +10 -0
  311. package/types/uni/uts-plugin-component/lib/uni-picker-global/utssdk/interface.d.ts +26 -0
  312. package/types/uni/uts-plugin-component/lib/uni-previewImage/utssdk/global.d.ts +47 -0
  313. package/types/uni/uts-plugin-component/lib/uni-previewImage/utssdk/index.d.ts +23 -0
  314. package/types/uni/uts-plugin-component/lib/uni-previewImage/utssdk/interface.d.ts +520 -0
  315. package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/global.d.ts +31 -0
  316. package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/index.d.ts +15 -0
  317. package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/interface.d.ts +568 -0
  318. package/types/uni/uts-plugin-component/lib/uni-prompt/utssdk/global.d.ts +33 -0
  319. package/types/uni/uts-plugin-component/lib/uni-prompt/utssdk/index.d.ts +16 -0
  320. package/types/uni/uts-plugin-component/lib/uni-prompt/utssdk/interface.d.ts +1693 -0
  321. package/types/uni/uts-plugin-component/lib/uni-pullDownRefresh/utssdk/global.d.ts +29 -0
  322. package/types/uni/uts-plugin-component/lib/uni-pullDownRefresh/utssdk/index.d.ts +14 -0
  323. package/types/uni/uts-plugin-component/lib/uni-pullDownRefresh/utssdk/interface.d.ts +191 -0
  324. package/types/uni/uts-plugin-component/lib/uni-recorder/utssdk/global.d.ts +21 -0
  325. package/types/uni/uts-plugin-component/lib/uni-recorder/utssdk/index.d.ts +10 -0
  326. package/types/uni/uts-plugin-component/lib/uni-recorder/utssdk/interface.d.ts +2999 -0
  327. package/types/uni/uts-plugin-component/lib/uni-requestMerchantTransfer/utssdk/global.d.ts +21 -0
  328. package/types/uni/uts-plugin-component/lib/uni-requestMerchantTransfer/utssdk/index.d.ts +10 -0
  329. package/types/uni/uts-plugin-component/lib/uni-requestMerchantTransfer/utssdk/interface.d.ts +713 -0
  330. package/types/uni/uts-plugin-component/lib/uni-route/utssdk/global.d.ts +59 -0
  331. package/types/uni/uts-plugin-component/lib/uni-route/utssdk/index.d.ts +29 -0
  332. package/types/uni/uts-plugin-component/lib/uni-route/utssdk/interface.d.ts +2731 -0
  333. package/types/uni/uts-plugin-component/lib/uni-rpx2px/utssdk/global.d.ts +11 -0
  334. package/types/uni/uts-plugin-component/lib/uni-rpx2px/utssdk/index.d.ts +5 -0
  335. package/types/uni/uts-plugin-component/lib/uni-rpx2px/utssdk/interface.d.ts +81 -0
  336. package/types/uni/uts-plugin-component/lib/uni-scanCode/utssdk/global.d.ts +25 -0
  337. package/types/uni/uts-plugin-component/lib/uni-scanCode/utssdk/index.d.ts +12 -0
  338. package/types/uni/uts-plugin-component/lib/uni-scanCode/utssdk/interface.d.ts +429 -0
  339. package/types/uni/uts-plugin-component/lib/uni-screenBrightness/utssdk/global.d.ts +57 -0
  340. package/types/uni/uts-plugin-component/lib/uni-screenBrightness/utssdk/index.d.ts +28 -0
  341. package/types/uni/uts-plugin-component/lib/uni-screenBrightness/utssdk/interface.d.ts +314 -0
  342. package/types/uni/uts-plugin-component/lib/uni-share/utssdk/global.d.ts +41 -0
  343. package/types/uni/uts-plugin-component/lib/uni-share/utssdk/index.d.ts +20 -0
  344. package/types/uni/uts-plugin-component/lib/uni-share/utssdk/interface.d.ts +584 -0
  345. package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/global.d.ts +9 -0
  346. package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/index.d.ts +5 -0
  347. package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/interface.d.ts +3 -0
  348. package/types/uni/uts-plugin-component/lib/uni-shareWithSystem/utssdk/global.d.ts +27 -0
  349. package/types/uni/uts-plugin-component/lib/uni-shareWithSystem/utssdk/index.d.ts +13 -0
  350. package/types/uni/uts-plugin-component/lib/uni-shareWithSystem/utssdk/interface.d.ts +722 -0
  351. package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/global.d.ts +47 -0
  352. package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/index.d.ts +23 -0
  353. package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/interface.d.ts +446 -0
  354. package/types/uni/uts-plugin-component/lib/uni-sse/utssdk/global.d.ts +21 -0
  355. package/types/uni/uts-plugin-component/lib/uni-sse/utssdk/index.d.ts +10 -0
  356. package/types/uni/uts-plugin-component/lib/uni-sse/utssdk/interface.d.ts +330 -0
  357. package/types/uni/uts-plugin-component/lib/uni-storage/utssdk/global.d.ts +79 -0
  358. package/types/uni/uts-plugin-component/lib/uni-storage/utssdk/index.d.ts +39 -0
  359. package/types/uni/uts-plugin-component/lib/uni-storage/utssdk/interface.d.ts +1030 -0
  360. package/types/uni/uts-plugin-component/lib/uni-tabBar/utssdk/global.d.ts +149 -0
  361. package/types/uni/uts-plugin-component/lib/uni-tabBar/utssdk/index.d.ts +74 -0
  362. package/types/uni/uts-plugin-component/lib/uni-tabBar/utssdk/interface.d.ts +1221 -0
  363. package/types/uni/uts-plugin-component/lib/uni-theme/utssdk/global.d.ts +53 -0
  364. package/types/uni/uts-plugin-component/lib/uni-theme/utssdk/index.d.ts +26 -0
  365. package/types/uni/uts-plugin-component/lib/uni-theme/utssdk/interface.d.ts +1141 -0
  366. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/global.d.ts +0 -22
  367. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/index.d.ts +0 -11
  368. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +862 -872
  369. package/types/uni/uts-plugin-component/lib/uni-video-global/utssdk/global.d.ts +4 -14
  370. package/types/uni/uts-plugin-component/lib/uni-video-global/utssdk/index.d.ts +2 -7
  371. package/types/uni/uts-plugin-component/lib/uni-video-global/utssdk/interface.d.ts +14 -51
  372. package/types/uni/uts-plugin-component/lib/uni-virtualPayment/utssdk/global.d.ts +113 -0
  373. package/types/uni/uts-plugin-component/lib/uni-virtualPayment/utssdk/index.d.ts +56 -0
  374. package/types/uni/uts-plugin-component/lib/uni-virtualPayment/utssdk/interface.d.ts +1661 -0
  375. package/types/uni/uts-plugin-component/lib/uni-web-view/utssdk/interface.d.ts +17 -17
  376. package/types/uni/uts-plugin-component/lib/uni-websocket/utssdk/global.d.ts +59 -0
  377. package/types/uni/uts-plugin-component/lib/uni-websocket/utssdk/index.d.ts +29 -0
  378. package/types/uni/uts-plugin-component/lib/uni-websocket/utssdk/interface.d.ts +1939 -0
  379. package/types/vue/LifeCycle.d.ts +865 -854
@@ -1,1305 +1,1305 @@
1
- import { UniSafeAreaInsets } from './UniSafeAreaInsets'
2
- import { FullscreenError } from './IUniElement'
3
- import { UniPageBody } from './UniPageBody'
4
- import { UniElement } from './index'
5
-
6
- // export type UniPageBody = {
7
- // /**
8
- // * 页面可使用区域左上角纵坐标,单位为px
9
- // */
10
- // top: number,
11
- // /**
12
- // * 页面可使用区域右下角纵坐标,单位为px
13
- // */
14
- // bottom: number,
15
- // /**
16
- // * 页面可使用区域左上角横坐标,单位为px
17
- // */
18
- // left: number,
19
- // /**
20
- // * 页面可使用区域右下角横坐标,单位为px
21
- // */
22
- // right: number,
23
- // /**
24
- // * 页面可使用区域的宽度,单位为px
25
- // */
26
- // width: number,
27
- // /**
28
- // * 页面可使用区域的高度,单位为px
29
- // */
30
- // height: number
31
- // }
32
-
33
- declare global {
34
-
35
- interface UniPage {
36
- /**
37
- * 页面的路由地址
38
- * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
39
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
40
- * @uniPlatform {
41
- * "app": {
42
- * "android": {
43
- * "osVer": "5.0",
44
- * "uniVer": "x",
45
- * "unixVer": "4.31"
46
- * },
47
- * "ios": {
48
- * "osVer": "x",
49
- * "uniVer": "x",
50
- * "unixVer": "4.31",
51
- * "unixUtsPlugin": "4.31"
52
- * },
53
- * "harmony": {
54
- * "osVer": "5.0.0",
55
- * "uniVer": "x",
56
- * "unixVer": "4.61"
57
- * }
58
- * },
59
- * "mp": {
60
- * "weixin": {
61
- * "hostVer": "√",
62
- * "uniVer": "x",
63
- * "unixVer": "x"
64
- * },
65
- * },
66
- * "web": {
67
- * "uniVer": "x",
68
- * "unixVer": "4.31"
69
- * }
70
- * }
71
- */
72
- route: string
73
- /**
74
- * 页面的路由参数信息
75
- * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
76
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
77
- * @uniPlatform {
78
- * "app": {
79
- * "android": {
80
- * "osVer": "5.0",
81
- * "uniVer": "x",
82
- * "unixVer": "4.31"
83
- * },
84
- * "ios": {
85
- * "osVer": "x",
86
- * "uniVer": "x",
87
- * "unixVer": "4.31",
88
- * "unixUtsPlugin": "4.31"
89
- * },
90
- * "harmony": {
91
- * "osVer": "x",
92
- * "uniVer": "x",
93
- * "unixVer": "x"
94
- * }
95
- * },
96
- * "mp": {
97
- * "weixin": {
98
- * "hostVer": "√",
99
- * "uniVer": "x",
100
- * "unixVer": "x"
101
- * },
102
- * },
103
- * "web": {
104
- * "uniVer": "x",
105
- * "unixVer": "4.31"
106
- * }
107
- * }
108
- */
109
- options: UTSJSONObject
110
- /**
111
- * UniPage vue 实例对象
112
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
113
- * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
114
- * @uniPlatform {
115
- * "app": {
116
- * "android": {
117
- * "osVer": "5.0",
118
- * "uniVer": "x",
119
- * "unixVer": "4.31"
120
- * },
121
- * "ios": {
122
- * "osVer": "x",
123
- * "uniVer": "x",
124
- * "unixVer": "4.31",
125
- * "unixUtsPlugin": "x"
126
- * },
127
- * "harmony": {
128
- * "osVer": "5.0.0",
129
- * "uniVer": "x",
130
- * "unixVer": "4.61"
131
- * }
132
- * },
133
- * "mp": {
134
- * "weixin": {
135
- * "hostVer": "√",
136
- * "uniVer": "x",
137
- * "unixVer": "x"
138
- * },
139
- * },
140
- * "web": {
141
- * "uniVer": "x",
142
- * "unixVer": "4.31"
143
- * }
144
- * }
145
- */
146
- vm?: ComponentPublicInstance | null
147
- /**
148
- * UniPage vue 实例对象
149
- * @deprecated 已废弃,仅为了向下兼容保留
150
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
151
- * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
152
- * @uniPlatform {
153
- * "app": {
154
- * "android": {
155
- * "osVer": "5.0",
156
- * "uniVer": "x",
157
- * "unixVer": "4.31"
158
- * },
159
- * "ios": {
160
- * "osVer": "x",
161
- * "uniVer": "x",
162
- * "unixVer": "4.31",
163
- * "unixUtsPlugin": "x"
164
- * },
165
- * "harmony": {
166
- * "osVer": "5.0.0",
167
- * "uniVer": "x",
168
- * "unixVer": "4.61"
169
- * }
170
- * },
171
- * "mp": {
172
- * "weixin": {
173
- * "hostVer": "√",
174
- * "uniVer": "x",
175
- * "unixVer": "x"
176
- * },
177
- * },
178
- * "web": {
179
- * "uniVer": "x",
180
- * "unixVer": "4.31"
181
- * }
182
- * }
183
- */
184
- $vm?: ComponentPublicInstance | null
185
- /**
186
- * UniPage 页面可使用区域信息,单位为px
187
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
188
- * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
189
- * @uniPlatform {
190
- * "app": {
191
- * "android": {
192
- * "osVer": "5.0",
193
- * "uniVer": "x",
194
- * "unixVer": "4.51"
195
- * },
196
- * "ios": {
197
- * "osVer": "x",
198
- * "uniVer": "x",
199
- * "unixVer": "4.51"
200
- * },
201
- * "harmony": {
202
- * "osVer": "5.0.0",
203
- * "uniVer": "x",
204
- * "unixVer": "4.61"
205
- * }
206
- * },
207
- * "mp": {
208
- * "weixin": {
209
- * "hostVer": "√",
210
- * "uniVer": "x",
211
- * "unixVer": "x"
212
- * },
213
- * },
214
- * "web": {
215
- * "uniVer": "x",
216
- * "unixVer": "4.51"
217
- * }
218
- * }
219
- */
220
- pageBody: UniPageBody
221
- /**
222
- * UniPage 安全区域插入位置(与屏幕边界的距离)信息
223
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
224
- * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
225
- * @uniPlatform {
226
- * "app": {
227
- * "android": {
228
- * "osVer": "5.0",
229
- * "uniVer": "x",
230
- * "unixVer": "4.51"
231
- * },
232
- * "ios": {
233
- * "osVer": "x",
234
- * "uniVer": "x",
235
- * "unixVer": "4.51"
236
- * },
237
- * "harmony": {
238
- * "osVer": "5.0.0",
239
- * "uniVer": "x",
240
- * "unixVer": "4.61"
241
- * }
242
- * },
243
- * "mp": {
244
- * "weixin": {
245
- * "hostVer": "√",
246
- * "uniVer": "x",
247
- * "unixVer": "x"
248
- * },
249
- * },
250
- * "web": {
251
- * "uniVer": "x",
252
- * "unixVer": "4.51"
253
- * }
254
- * }
255
- */
256
- safeAreaInsets: UniSafeAreaInsets
257
- /**
258
- * 已经进入全屏状态的元素
259
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
260
- * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
261
- * @uniPlatform {
262
- * "app": {
263
- * "android": {
264
- * "osVer": "5.0",
265
- * "uniVer": "x",
266
- * "unixVer": "4.61"
267
- * },
268
- * "ios": {
269
- * "osVer": "x",
270
- * "uniVer": "x",
271
- * "unixVer": "4.61"
272
- * },
273
- * "harmony": {
274
- * "osVer": "5.0.0",
275
- * "uniVer": "x",
276
- * "unixVer": "4.61"
277
- * }
278
- * },
279
- * "mp": {
280
- * "weixin": {
281
- * "hostVer": "√",
282
- * "uniVer": "x",
283
- * "unixVer": "x"
284
- * },
285
- * },
286
- * "web": {
287
- * "uniVer": "x",
288
- * "unixVer": "x"
289
- * }
290
- * }
291
- */
292
- readonly fullscreenElement?: UniElement | null
293
- /**
294
- * 页面窗口宽度
295
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
296
- * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
297
- * @uniPlatform {
298
- * "app": {
299
- * "android": {
300
- * "osVer": "5.0",
301
- * "uniVer": "x",
302
- * "unixVer": "4.61"
303
- * },
304
- * "ios": {
305
- * "osVer": "x",
306
- * "unixVer": "4.61",
307
- * "unixUtsPlugin": "4.61"
308
- * },
309
- * "harmony": {
310
- * "osVer": "x",
311
- * "uniVer": "x",
312
- * "unixVer": "4.63"
313
- * }
314
- * },
315
- * "mp": {
316
- * "weixin": {
317
- * "hostVer": "√",
318
- * "uniVer": "x",
319
- * "unixVer": "4.63"
320
- * },
321
- * },
322
- * "web": {
323
- * "uniVer": "x",
324
- * "unixVer": "4.63"
325
- * }
326
- * }
327
- */
328
- readonly width: number
329
- /**
330
- * 页面窗口高度
331
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
332
- * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
333
- * @uniPlatform {
334
- * "app": {
335
- * "android": {
336
- * "osVer": "5.0",
337
- * "uniVer": "x",
338
- * "unixVer": "4.61"
339
- * },
340
- * "ios": {
341
- * "osVer": "x",
342
- * "unixVer": "4.61",
343
- * "unixUtsPlugin": "4.61"
344
- * },
345
- * "harmony": {
346
- * "osVer": "x",
347
- * "uniVer": "x",
348
- * "unixVer": "4.63"
349
- * }
350
- * },
351
- * "mp": {
352
- * "weixin": {
353
- * "hostVer": "√",
354
- * "uniVer": "x",
355
- * "unixVer": "4.63"
356
- * },
357
- * },
358
- * "web": {
359
- * "uniVer": "x",
360
- * "unixVer": "4.63"
361
- * }
362
- * }
363
- */
364
- readonly height: number
365
- /**
366
- * 页面状态栏高度
367
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
368
- * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
369
- * @uniPlatform {
370
- * "app": {
371
- * "android": {
372
- * "osVer": "5.0",
373
- * "uniVer": "x",
374
- * "unixVer": "4.61"
375
- * },
376
- * "ios": {
377
- * "osVer": "x",
378
- * "unixVer": "4.61",
379
- * "unixUtsPlugin": "4.61"
380
- * },
381
- * "harmony": {
382
- * "osVer": "x",
383
- * "uniVer": "x",
384
- * "unixVer": "4.63"
385
- * }
386
- * },
387
- * "mp": {
388
- * "weixin": {
389
- * "hostVer": "√",
390
- * "uniVer": "x",
391
- * "unixVer": "4.63"
392
- * },
393
- * },
394
- * "web": {
395
- * "uniVer": "x",
396
- * "unixVer": "4.63"
397
- * }
398
- * }
399
- */
400
- readonly statusBarHeight: number
401
- /**
402
- * 获取当前页面样式。详细属性配置请参考PageStyle
403
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#getpagestyle
404
- * @uniPlatform {
405
- * "app": {
406
- * "android": {
407
- * "osVer": "5.0",
408
- * "uniVer": "x",
409
- * "unixVer": "4.31"
410
- * },
411
- * "ios": {
412
- * "osVer": "x",
413
- * "uniVer": "x",
414
- * "unixVer": "4.31",
415
- * "unixUtsPlugin": "4.31"
416
- * },
417
- * "harmony": {
418
- * "osVer": "5.0.0",
419
- * "uniVer": "x",
420
- * "unixVer": "4.61"
421
- * }
422
- * },
423
- * "mp": {
424
- * "weixin": {
425
- * "hostVer": "√",
426
- * "uniVer": "x",
427
- * "unixVer": "x"
428
- * },
429
- * },
430
- * "web": {
431
- * "uniVer": "x",
432
- * "unixVer": "4.31"
433
- * }
434
- * }
435
- */
436
- getPageStyle(): UTSJSONObject
437
- /**
438
- * 获取当前页面样式。详细属性配置请参考PageStyle
439
- * @deprecated 已废弃,仅为了向下兼容保留
440
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#getpagestyle-2
441
- * @uniPlatform {
442
- * "app": {
443
- * "android": {
444
- * "osVer": "5.0",
445
- * "uniVer": "x",
446
- * "unixVer": "4.13"
447
- * },
448
- * "ios": {
449
- * "osVer": "x",
450
- * "uniVer": "x",
451
- * "unixVer": "4.13"
452
- * },
453
- * "harmony": {
454
- * "osVer": "5.0.0",
455
- * "uniVer": "x",
456
- * "unixVer": "4.61"
457
- * }
458
- * },
459
- * "mp": {
460
- * "weixin": {
461
- * "hostVer": "√",
462
- * "uniVer": "x",
463
- * "unixVer": "x"
464
- * },
465
- * },
466
- * "web": {
467
- * "uniVer": "x",
468
- * "unixVer": "4.13"
469
- * }
470
- * }
471
- */
472
- $getPageStyle(): UTSJSONObject
473
- /**
474
- * 设置当前页面样式。详细属性配置请参考PageStyle
475
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#setpagestyle
476
- * @uniPlatform {
477
- * "app": {
478
- * "android": {
479
- * "osVer": "5.0",
480
- * "uniVer": "x",
481
- * "unixVer": "4.31"
482
- * },
483
- * "ios": {
484
- * "osVer": "x",
485
- * "uniVer": "x",
486
- * "unixVer": "4.31",
487
- * "unixUtsPlugin": "4.31"
488
- * },
489
- * "harmony": {
490
- * "osVer": "5.0.0",
491
- * "uniVer": "x",
492
- * "unixVer": "4.61"
493
- * }
494
- * },
495
- * "mp": {
496
- * "weixin": {
497
- * "hostVer": "√",
498
- * "uniVer": "x",
499
- * "unixVer": "x"
500
- * },
501
- * },
502
- * "web": {
503
- * "uniVer": "x",
504
- * "unixVer": "4.31"
505
- * }
506
- * }
507
- */
508
- setPageStyle(style: UTSJSONObject): void
509
- /**
510
- * 设置当前页面样式。详细属性配置请参考PageStyle
511
- * @deprecated 已废弃,仅为了向下兼容保留
512
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#setpagestyle-2
513
- * @uniPlatform {
514
- * "app": {
515
- * "android": {
516
- * "osVer": "5.0",
517
- * "uniVer": "x",
518
- * "unixVer": "4.13"
519
- * },
520
- * "ios": {
521
- * "osVer": "x",
522
- * "uniVer": "x",
523
- * "unixVer": "4.13"
524
- * },
525
- * "harmony": {
526
- * "osVer": "5.0.0",
527
- * "uniVer": "x",
528
- * "unixVer": "4.61"
529
- * }
530
- * },
531
- * "mp": {
532
- * "weixin": {
533
- * "hostVer": "√",
534
- * "uniVer": "x",
535
- * "unixVer": "x"
536
- * },
537
- * },
538
- * "web": {
539
- * "uniVer": "x",
540
- * "unixVer": "4.13"
541
- * }
542
- * }
543
- */
544
- $setPageStyle(style: UTSJSONObject): void
545
- /**
546
- * 用于 dialogPage 获取所属父页面
547
- * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/event-bus.html#emit
548
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/event-bus.html#emit
549
- * @uniPlatform {
550
- * "app": {
551
- * "android": {
552
- * "osVer": "5.0",
553
- * "uniVer": "x",
554
- * "unixVer": "4.31"
555
- * },
556
- * "ios": {
557
- * "osVer": "x",
558
- * "uniVer": "x",
559
- * "unixVer": "4.31",
560
- * "unixUtsPlugin": "4.31"
561
- * },
562
- * "harmony": {
563
- * "osVer": "5.0.0",
564
- * "uniVer": "x",
565
- * "unixVer": "4.61"
566
- * }
567
- * },
568
- * "mp": {
569
- * "weixin": {
570
- * "hostVer": "√",
571
- * "uniVer": "x",
572
- * "unixVer": "x"
573
- * },
574
- * },
575
- * "web": {
576
- * "uniVer": "x",
577
- * "unixVer": "4.31"
578
- * }
579
- * }
580
- */
581
- getParentPage(): UniPage | null
582
- /**
583
- * 获取当前页面的 dialog 子页面集合
584
- * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/event-bus.html#emit
585
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/event-bus.html#emit
586
- * @uniPlatform {
587
- * "app": {
588
- * "android": {
589
- * "osVer": "5.0",
590
- * "uniVer": "x",
591
- * "unixVer": "4.31"
592
- * },
593
- * "ios": {
594
- * "osVer": "x",
595
- * "uniVer": "x",
596
- * "unixVer": "4.31",
597
- * "unixUtsPlugin": "4.31"
598
- * },
599
- * "harmony": {
600
- * "osVer": "5.0.0",
601
- * "uniVer": "x",
602
- * "unixVer": "4.61"
603
- * }
604
- * },
605
- * "mp": {
606
- * "weixin": {
607
- * "hostVer": "√",
608
- * "uniVer": "x",
609
- * "unixVer": "x"
610
- * },
611
- * },
612
- * "web": {
613
- * "uniVer": "x",
614
- * "unixVer": "4.31"
615
- * }
616
- * }
617
- */
618
- getDialogPages(): UniPage[]
619
- /**
620
- * 返回一个匹配特定 ID 的元素, 如果不存在,返回 null。\
621
- * 如果需要获取指定的节点类型,需要使用 as 进行类型转换。\
622
- * ID 区分大小写,且应该是唯一的。如果存在多个匹配的元素,则返回第一个匹配的元素。
623
- *
624
- * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#getelementbyid
625
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#getelementbyid
626
- * @uniPlatform {
627
- * "app": {
628
- * "android": {
629
- * "osVer": "5.0",
630
- * "uniVer": "x",
631
- * "unixVer": "4.31"
632
- * },
633
- * "ios": {
634
- * "osVer": "x",
635
- * "uniVer": "x",
636
- * "unixVer": "4.31"
637
- * },
638
- * "harmony": {
639
- * "osVer": "5.0.0",
640
- * "uniVer": "x",
641
- * "unixVer": "4.61"
642
- * }
643
- * },
644
- * "mp": {
645
- * "weixin": {
646
- * "hostVer": "√",
647
- * "uniVer": "x",
648
- * "unixVer": "x"
649
- * },
650
- * },
651
- * "web": {
652
- * "uniVer": "x",
653
- * "unixVer": "4.31"
654
- * }
655
- * }
656
- */
657
- getElementById(id: string.IDString | string): UniElement | null
658
- /**
659
- * 返回 android 平台页面根 view
660
- *
661
- * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#getandroidview
662
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#getandroidview
663
- * @uniPlatform {
664
- * "app": {
665
- * "android": {
666
- * "osVer": "5.0",
667
- * "uniVer": "x",
668
- * "unixVer": "4.31"
669
- * },
670
- * "ios": {
671
- * "osVer": "x",
672
- * "uniVer": "x",
673
- * "unixVer": "x"
674
- * },
675
- * "harmony": {
676
- * "osVer": "x",
677
- * "uniVer": "x",
678
- * "unixVer": "x"
679
- * }
680
- * },
681
- * "mp": {
682
- * "weixin": {
683
- * "hostVer": "√",
684
- * "uniVer": "x",
685
- * "unixVer": "x"
686
- * },
687
- * },
688
- * "web": {
689
- * "uniVer": "x",
690
- * "unixVer": "x"
691
- * }
692
- * }
693
- */
694
- getAndroidView(): View | null
695
- /**
696
- * 返回 android 平台加载页面内容的Activity
697
- *
698
- * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#getandroidactivity
699
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#getandroidactivity
700
- * @uniPlatform {
701
- * "app": {
702
- * "android": {
703
- * "osVer": "5.0",
704
- * "uniVer": "x",
705
- * "unixVer": "4.61"
706
- * },
707
- * "ios": {
708
- * "osVer": "x",
709
- * "uniVer": "x",
710
- * "unixVer": "x"
711
- * },
712
- * "harmony": {
713
- * "osVer": "x",
714
- * "uniVer": "x",
715
- * "unixVer": "x"
716
- * }
717
- * },
718
- * "mp": {
719
- * "weixin": {
720
- * "hostVer": "x",
721
- * "uniVer": "x",
722
- * "unixVer": "x"
723
- * },
724
- * },
725
- * "web": {
726
- * "uniVer": "x",
727
- * "unixVer": "x"
728
- * }
729
- * }
730
- */
731
- getAndroidActivity(): Activity | null
732
- /**
733
- * 返回 ios 平台页面根 view
734
- *
735
- * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#getiosview
736
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#getiosview
737
- * @uniPlatform {
738
- * "app": {
739
- * "android": {
740
- * "osVer": "x",
741
- * "uniVer": "x",
742
- * "unixVer": "x"
743
- * },
744
- * "ios": {
745
- * "osVer": "12",
746
- * "uniVer": "x",
747
- * "unixVer": "x",
748
- * "unixUtsPlugin": "4.33"
749
- * },
750
- * "harmony": {
751
- * "osVer": "x",
752
- * "uniVer": "x",
753
- * "unixVer": "x"
754
- * }
755
- * },
756
- * "mp": {
757
- * "weixin": {
758
- * "hostVer": "√",
759
- * "uniVer": "x",
760
- * "unixVer": "x"
761
- * },
762
- * },
763
- * "web": {
764
- * "uniVer": "x",
765
- * "unixVer": "x"
766
- * }
767
- * }
768
- */
769
- getIOSView(): UIView | null
770
- /**
771
- * 返回页面 HTML Element 对象
772
- *
773
- * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#gethtmlelement
774
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#gethtmlelement
775
- * @uniPlatform {
776
- * "app": {
777
- * "android": {
778
- * "osVer": "5.0",
779
- * "uniVer": "x",
780
- * "unixVer": "x"
781
- * },
782
- * "ios": {
783
- * "osVer": "x",
784
- * "uniVer": "x",
785
- * "unixVer": "x"
786
- * },
787
- * "harmony": {
788
- * "osVer": "x",
789
- * "uniVer": "x",
790
- * "unixVer": "x"
791
- * }
792
- * },
793
- * "mp": {
794
- * "weixin": {
795
- * "hostVer": "√",
796
- * "uniVer": "x",
797
- * "unixVer": "x"
798
- * },
799
- * },
800
- * "web": {
801
- * "uniVer": "x",
802
- * "unixVer": "4.31"
803
- * }
804
- * }
805
- */
806
- getHTMLElement(): UniElement | null
807
-
808
- /**
809
- * 将当前在全屏模式下显示的元素退出全屏模式,恢复全屏之前的状态
810
- *
811
- * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#exitfullscreen
812
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#exitfullscreen
813
- * @uniPlatform {
814
- * "app": {
815
- * "android": {
816
- * "osVer": "5.0",
817
- * "uniVer": "x",
818
- * "unixVer": "4.61"
819
- * },
820
- * "ios": {
821
- * "osVer": "x",
822
- * "uniVer": "x",
823
- * "unixVer": "x"
824
- * },
825
- * "harmony": {
826
- * "osVer": "5.0.0",
827
- * "uniVer": "x",
828
- * "unixVer": "4.61"
829
- * }
830
- * },
831
- * "mp": {
832
- * "weixin": {
833
- * "hostVer": "√",
834
- * "uniVer": "x",
835
- * "unixVer": "x"
836
- * },
837
- * },
838
- * "web": {
839
- * "uniVer": "x",
840
- * "unixVer": "x"
841
- * }
842
- * }
843
- */
844
- exitFullscreen(options: ExitFullscreenOptions | null): void
845
-
846
- /**
847
- * 创建组件
848
- *
849
- * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#createelement
850
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#createelement
851
- * @uniPlatform {
852
- * "app": {
853
- * "android": {
854
- * "osVer": "5.0",
855
- * "uniVer": "x",
856
- * "unixVer": "x"
857
- * },
858
- * "ios": {
859
- * "osVer": "x",
860
- * "uniVer": "x",
861
- * "unixVer": "x"
862
- * },
863
- * "harmony": {
864
- * "osVer": "5.0.0",
865
- * "uniVer": "x",
866
- * "unixVer": "4.63"
867
- * "unixvVer": "x"
868
- * }
869
- * },
870
- * "mp": {
871
- * "weixin": {
872
- * "hostVer": "√",
873
- * "uniVer": "x",
874
- * "unixVer": "x"
875
- * },
876
- * },
877
- * "web": {
878
- * "uniVer": "x",
879
- * "unixVer": "x"
880
- * }
881
- * }
882
- */
883
- createElement(tagName: string): UniElement
884
-
885
- /**
886
- * @internal
887
- * web android harmony 获取当前页面 dialogPage 创建的 API 弹框集合
888
- */
889
- $getSystemDialogPages(): UniPage[]
890
- /**
891
- * @internal
892
- * ios 获取当前页面 dialogPage 创建的 API 弹框集合
893
- */
894
- __$$getSystemDialogPages(): UniPage[]
895
-
896
- /**
897
- * 监听页面布局变化更新事件
898
- * @uniPlatform {
899
- * "app": {
900
- * "android": {
901
- * "osVer": "5.0",
902
- * "uniVer": "x",
903
- * "unixVer": "x",
904
- * "unixvVer": "x"
905
- * },
906
- * "ios": {
907
- * "osVer": "12.0",
908
- * "uniVer": "x",
909
- * "unixVer": "x",
910
- * "unixvVer": "x"
911
- * },
912
- * "harmony": {
913
- * "osVer": "6.0",
914
- * "uniVer": "x",
915
- * "unixVer": "x",
916
- * "unixvVer": "5.0"
917
- * }
918
- * }
919
- * }
920
- */
921
- onLayoutChange(callback: UniPageOnLayoutChangeCallback): number
922
- /**
923
- * 取消监听页面布局变化更新事件
924
- * @uniPlatform {
925
- * "app": {
926
- * "android": {
927
- * "osVer": "5.0",
928
- * "uniVer": "x",
929
- * "unixVer": "x",
930
- * "unixvVer": "x"
931
- * },
932
- * "ios": {
933
- * "osVer": "12.0",
934
- * "uniVer": "x",
935
- * "unixVer": "x",
936
- * "unixvVer": "x"
937
- * },
938
- * "harmony": {
939
- * "osVer": "6.0",
940
- * "uniVer": "x",
941
- * "unixVer": "x",
942
- * "unixvVer": "5.0"
943
- * }
944
- * }
945
- * }
946
- */
947
- offLayoutChange(id: number): void
948
- /**
949
- * 监听页面渲染变化更新事件
950
- * @uniPlatform {
951
- * "app": {
952
- * "android": {
953
- * "osVer": "5.0",
954
- * "uniVer": "x",
955
- * "unixVer": "x",
956
- * "unixvVer": "x"
957
- * },
958
- * "ios": {
959
- * "osVer": "12.0",
960
- * "uniVer": "x",
961
- * "unixVer": "x",
962
- * "unixvVer": "x"
963
- * },
964
- * "harmony": {
965
- * "osVer": "6.0",
966
- * "uniVer": "x",
967
- * "unixVer": "x",
968
- * "unixvVer": "5.0"
969
- * }
970
- * }
971
- * }
972
- */
973
- onRenderChange(callback: UniPageOnRenderChangeCallback): number
974
- /**
975
- * 取消监听页面渲染变化更新事件
976
- * @uniPlatform {
977
- * "app": {
978
- * "android": {
979
- * "osVer": "5.0",
980
- * "uniVer": "x",
981
- * "unixVer": "x",
982
- * "unixvVer": "x"
983
- * },
984
- * "ios": {
985
- * "osVer": "12.0",
986
- * "uniVer": "x",
987
- * "unixVer": "x",
988
- * "unixvVer": "x"
989
- * },
990
- * "harmony": {
991
- * "osVer": "6.0",
992
- * "uniVer": "x",
993
- * "unixVer": "x",
994
- * "unixvVer": "5.0"
995
- * }
996
- * }
997
- * }
998
- */
999
- offRenderChange(id: number): void
1000
-
1001
- /**
1002
- * 监听页面触摸开始事件
1003
- * @uniPlatform {
1004
- * "app": {
1005
- * "android": {
1006
- * "osVer": "5.0",
1007
- * "uniVer": "x",
1008
- * "unixVer": "x",
1009
- * "unixvVer": "x"
1010
- * },
1011
- * "ios": {
1012
- * "osVer": "12.0",
1013
- * "uniVer": "x",
1014
- * "unixVer": "x",
1015
- * "unixvVer": "x"
1016
- * },
1017
- * "harmony": {
1018
- * "osVer": "6.0",
1019
- * "uniVer": "x",
1020
- * "unixVer": "x",
1021
- * "unixvVer": "5.0"
1022
- * }
1023
- * }
1024
- * }
1025
- */
1026
- onTouchStart(callback: UniPageOnTouchEventCallback): number
1027
- /**
1028
- * 取消监听页面触摸开始事件
1029
- * @uniPlatform {
1030
- * "app": {
1031
- * "android": {
1032
- * "osVer": "5.0",
1033
- * "uniVer": "x",
1034
- * "unixVer": "x",
1035
- * "unixvVer": "x"
1036
- * },
1037
- * "ios": {
1038
- * "osVer": "12.0",
1039
- * "uniVer": "x",
1040
- * "unixVer": "x",
1041
- * "unixvVer": "x"
1042
- * },
1043
- * "harmony": {
1044
- * "osVer": "6.0",
1045
- * "uniVer": "x",
1046
- * "unixVer": "x",
1047
- * "unixvVer": "5.0"
1048
- * }
1049
- * }
1050
- * }
1051
- */
1052
- offTouchStart(id: number): void
1053
- /**
1054
- * 监听页面触摸结束事件
1055
- * @uniPlatform {
1056
- * "app": {
1057
- * "android": {
1058
- * "osVer": "5.0",
1059
- * "uniVer": "x",
1060
- * "unixVer": "x",
1061
- * "unixvVer": "x"
1062
- * },
1063
- * "ios": {
1064
- * "osVer": "12.0",
1065
- * "uniVer": "x",
1066
- * "unixVer": "x",
1067
- * "unixvVer": "x"
1068
- * },
1069
- * "harmony": {
1070
- * "osVer": "6.0",
1071
- * "uniVer": "x",
1072
- * "unixVer": "x",
1073
- * "unixvVer": "5.0"
1074
- * }
1075
- * }
1076
- * }
1077
- */
1078
- onTouchEnd(callback: UniPageOnTouchEventCallback): number
1079
- /**
1080
- * 取消监听页面触摸结束事件
1081
- * @uniPlatform {
1082
- * "app": {
1083
- * "android": {
1084
- * "osVer": "5.0",
1085
- * "uniVer": "x",
1086
- * "unixVer": "x",
1087
- * "unixvVer": "x"
1088
- * },
1089
- * "ios": {
1090
- * "osVer": "12.0",
1091
- * "uniVer": "x",
1092
- * "unixVer": "x",
1093
- * "unixvVer": "x"
1094
- * },
1095
- * "harmony": {
1096
- * "osVer": "6.0",
1097
- * "uniVer": "x",
1098
- * "unixVer": "x",
1099
- * "unixvVer": "5.0"
1100
- * }
1101
- * }
1102
- * }
1103
- */
1104
- offTouchEnd(id: number): void
1105
- /**
1106
- * 返回页面中与指定选择器或选择器组匹配的第一个 Element对象。如果找不到匹配项,则返回null
1107
- * @param {string.cssSelectorString}selector CSS 选择器字符串
1108
- * @uniPlatform {
1109
- * "app": {
1110
- * "android": {
1111
- * "osVer": "5.0",
1112
- * "uniVer": "x",
1113
- * "unixVer": "5.0"
1114
- * },
1115
- * "ios": {
1116
- * "osVer": "12.0",
1117
- * "uniVer": "x",
1118
- * "unixVer": "5.0",
1119
- * "unixUtsPlugin": "x"
1120
- * },
1121
- * "harmony": {
1122
- * "osVer": "5.0",
1123
- * "uniVer": "x",
1124
- * "unixVer": "5.0",
1125
- * "unixUtsPlugin": "x",
1126
- * "unixvVer": "5.0"
1127
- * }
1128
- * },
1129
- * "mp": {
1130
- * "weixin": {
1131
- * "osVer": "x",
1132
- * "uniVer": "x",
1133
- * "unixVer": "x"
1134
- * }
1135
- * },
1136
- * "web": {
1137
- * "uniVer": "x",
1138
- * "unixVer": "5.0"
1139
- * }
1140
- * }
1141
- */
1142
- querySelector(selector: string.cssSelectorString): UniElement | null
1143
- /**
1144
- * 返回页面中与指定选择器或选择器组匹配的元素列表。
1145
- * @param {string.cssSelectorString}selector CSS 选择器字符串
1146
- * @uniPlatform {
1147
- * "app": {
1148
- * "android": {
1149
- * "osVer": "5.0",
1150
- * "uniVer": "x",
1151
- * "unixVer": "5.0"
1152
- * },
1153
- * "ios": {
1154
- * "osVer": "12.0",
1155
- * "uniVer": "x",
1156
- * "unixVer": "5.0",
1157
- * "unixUtsPlugin": "x"
1158
- * },
1159
- * "harmony": {
1160
- * "osVer": "5.0",
1161
- * "uniVer": "x",
1162
- * "unixVer": "5.0",
1163
- * "unixUtsPlugin": "x",
1164
- * "unixvVer": "5.0"
1165
- * }
1166
- * },
1167
- * "mp": {
1168
- * "weixin": {
1169
- * "osVer": "x",
1170
- * "uniVer": "x",
1171
- * "unixVer": "x"
1172
- * }
1173
- * },
1174
- * "web": {
1175
- * "uniVer": "x",
1176
- * "unixVer": "x"
1177
- * }
1178
- * }
1179
- */
1180
- querySelectorAll(selector: string.cssSelectorString): UniElement[]
1181
-
1182
- /**
1183
- * 对当前页面进行截图
1184
- * @param options 截图的参数对象
1185
- * @uniPlatform {
1186
- * "app": {
1187
- * "android": {
1188
- * "osVer": "5.0",
1189
- * "uniVer": "x",
1190
- * "unixVer": "5.02"
1191
- * },
1192
- * "ios": {
1193
- * "osVer": "12.0",
1194
- * "uniVer": "x",
1195
- * "unixVer": "5.02",
1196
- * "unixUtsPlugin": "x"
1197
- * },
1198
- * "harmony": {
1199
- * "osVer": "5.0",
1200
- * "uniVer": "x",
1201
- * "unixVer": "5.02",
1202
- * "unixUtsPlugin": "x",
1203
- * "unixvVer": "5.02"
1204
- * }
1205
- * },
1206
- * "mp": {
1207
- * "weixin": {
1208
- * "osVer": "x",
1209
- * "uniVer": "x",
1210
- * "unixVer": "x"
1211
- * }
1212
- * },
1213
- * "web": {
1214
- * "uniVer": "x",
1215
- * "unixVer": "x"
1216
- * }
1217
- * }
1218
- */
1219
- takeSnapshot(options: TakeSnapshotOptions): void;
1220
- }
1221
- }
1222
-
1223
- export type ExitFullscreenSuccessCallback = () => void
1224
-
1225
- export type ExitFullscreenFailCallback = (error: FullscreenError) => void
1226
-
1227
- export type ExitFullscreenCompleteCallback = (result: any | null) => void
1228
-
1229
- export type ExitFullscreenOptions = {
1230
- /**
1231
- * 成功回调
1232
- */
1233
- success: ExitFullscreenSuccessCallback | null
1234
- /**
1235
- * 失败回调
1236
- */
1237
- fail: ExitFullscreenFailCallback | null
1238
- /**
1239
- * 完成回调
1240
- */
1241
- complete: ExitFullscreenCompleteCallback | null
1242
- }
1243
-
1244
- /**
1245
- * 监听页面布局变化更新事件回调函数
1246
- */
1247
- type UniPageOnLayoutChangeCallback = (res: UniPageOnLayoutChangeCallbackResult) => void
1248
- /**
1249
- * 监听页面布局变化更新事件回调参数
1250
- */
1251
- type UniPageOnLayoutChangeCallbackResult = UniPagePerformanceTiming
1252
-
1253
- /**
1254
- * 监听页面布局变化更新事件回调函数
1255
- */
1256
- type UniPageOnRenderChangeCallback = (res: UniPageOnRenderChangeCallbackResult) => void
1257
- /**
1258
- * 监听页面布局变化更新事件回调参数
1259
- */
1260
- type UniPageOnRenderChangeCallbackResult = UniPagePerformanceRenderTiming
1261
-
1262
- /**
1263
- * 页面性能计时信息
1264
- */
1265
- interface UniPagePerformanceTiming {
1266
- /**
1267
- * 性能计时持续的时间,单位为ms
1268
- */
1269
- duration: number
1270
- }
1271
- /**
1272
- * 渲染性能计时信息
1273
- * UniPagePerformanceTiming基类的duration属性为渲染到屏幕的总时间
1274
- */
1275
- interface UniPagePerformanceRenderTiming extends UniPagePerformanceTiming {
1276
- /**
1277
- * 更新渲染属性的总时间,单位为ms
1278
- */
1279
- updateDuration: number
1280
- }
1281
-
1282
- /**
1283
- * 监听页面触摸事件回调函数
1284
- */
1285
- type UniPageOnTouchEventCallback = (event: UniTouchEvent) => void
1286
-
1287
-
1288
- export interface UniNormalPage extends UniPage {
1289
-
1290
- }
1291
-
1292
- export interface UniDialogPage extends UniPage {
1293
- /**
1294
- * @internal
1295
- */
1296
- $component: any | null
1297
- /**
1298
- * @internal
1299
- */
1300
- $disableEscBack: boolean
1301
- /**
1302
- * @internal
1303
- */
1304
- $triggerParentHide: boolean
1305
- }
1
+ import { UniSafeAreaInsets } from './UniSafeAreaInsets'
2
+ import { FullscreenError } from './IUniElement'
3
+ import { UniPageBody } from './UniPageBody'
4
+ import { UniElement } from './index'
5
+
6
+ // export type UniPageBody = {
7
+ // /**
8
+ // * 页面可使用区域左上角纵坐标,单位为px
9
+ // */
10
+ // top: number,
11
+ // /**
12
+ // * 页面可使用区域右下角纵坐标,单位为px
13
+ // */
14
+ // bottom: number,
15
+ // /**
16
+ // * 页面可使用区域左上角横坐标,单位为px
17
+ // */
18
+ // left: number,
19
+ // /**
20
+ // * 页面可使用区域右下角横坐标,单位为px
21
+ // */
22
+ // right: number,
23
+ // /**
24
+ // * 页面可使用区域的宽度,单位为px
25
+ // */
26
+ // width: number,
27
+ // /**
28
+ // * 页面可使用区域的高度,单位为px
29
+ // */
30
+ // height: number
31
+ // }
32
+
33
+ declare global {
34
+
35
+ interface UniPage {
36
+ /**
37
+ * 页面的路由地址
38
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
39
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
40
+ * @uniPlatform {
41
+ * "app": {
42
+ * "android": {
43
+ * "osVer": "5.0",
44
+ * "uniVer": "x",
45
+ * "unixVer": "4.31"
46
+ * },
47
+ * "ios": {
48
+ * "osVer": "x",
49
+ * "uniVer": "x",
50
+ * "unixVer": "4.31",
51
+ * "unixUtsPlugin": "4.31"
52
+ * },
53
+ * "harmony": {
54
+ * "osVer": "5.0.0",
55
+ * "uniVer": "x",
56
+ * "unixVer": "4.61"
57
+ * }
58
+ * },
59
+ * "mp": {
60
+ * "weixin": {
61
+ * "hostVer": "√",
62
+ * "uniVer": "x",
63
+ * "unixVer": "x"
64
+ * },
65
+ * },
66
+ * "web": {
67
+ * "uniVer": "x",
68
+ * "unixVer": "4.31"
69
+ * }
70
+ * }
71
+ */
72
+ route: string
73
+ /**
74
+ * 页面的路由参数信息
75
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
76
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
77
+ * @uniPlatform {
78
+ * "app": {
79
+ * "android": {
80
+ * "osVer": "5.0",
81
+ * "uniVer": "x",
82
+ * "unixVer": "4.31"
83
+ * },
84
+ * "ios": {
85
+ * "osVer": "x",
86
+ * "uniVer": "x",
87
+ * "unixVer": "4.31",
88
+ * "unixUtsPlugin": "4.31"
89
+ * },
90
+ * "harmony": {
91
+ * "osVer": "x",
92
+ * "uniVer": "x",
93
+ * "unixVer": "x"
94
+ * }
95
+ * },
96
+ * "mp": {
97
+ * "weixin": {
98
+ * "hostVer": "√",
99
+ * "uniVer": "x",
100
+ * "unixVer": "x"
101
+ * },
102
+ * },
103
+ * "web": {
104
+ * "uniVer": "x",
105
+ * "unixVer": "4.31"
106
+ * }
107
+ * }
108
+ */
109
+ options: UTSJSONObject
110
+ /**
111
+ * UniPage vue 实例对象
112
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
113
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
114
+ * @uniPlatform {
115
+ * "app": {
116
+ * "android": {
117
+ * "osVer": "5.0",
118
+ * "uniVer": "x",
119
+ * "unixVer": "4.31"
120
+ * },
121
+ * "ios": {
122
+ * "osVer": "x",
123
+ * "uniVer": "x",
124
+ * "unixVer": "4.31",
125
+ * "unixUtsPlugin": "x"
126
+ * },
127
+ * "harmony": {
128
+ * "osVer": "5.0.0",
129
+ * "uniVer": "x",
130
+ * "unixVer": "4.61"
131
+ * }
132
+ * },
133
+ * "mp": {
134
+ * "weixin": {
135
+ * "hostVer": "√",
136
+ * "uniVer": "x",
137
+ * "unixVer": "x"
138
+ * },
139
+ * },
140
+ * "web": {
141
+ * "uniVer": "x",
142
+ * "unixVer": "4.31"
143
+ * }
144
+ * }
145
+ */
146
+ vm?: ComponentPublicInstance | null
147
+ /**
148
+ * UniPage vue 实例对象
149
+ * @deprecated 已废弃,仅为了向下兼容保留
150
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
151
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
152
+ * @uniPlatform {
153
+ * "app": {
154
+ * "android": {
155
+ * "osVer": "5.0",
156
+ * "uniVer": "x",
157
+ * "unixVer": "4.31"
158
+ * },
159
+ * "ios": {
160
+ * "osVer": "x",
161
+ * "uniVer": "x",
162
+ * "unixVer": "4.31",
163
+ * "unixUtsPlugin": "x"
164
+ * },
165
+ * "harmony": {
166
+ * "osVer": "5.0.0",
167
+ * "uniVer": "x",
168
+ * "unixVer": "4.61"
169
+ * }
170
+ * },
171
+ * "mp": {
172
+ * "weixin": {
173
+ * "hostVer": "√",
174
+ * "uniVer": "x",
175
+ * "unixVer": "x"
176
+ * },
177
+ * },
178
+ * "web": {
179
+ * "uniVer": "x",
180
+ * "unixVer": "4.31"
181
+ * }
182
+ * }
183
+ */
184
+ $vm?: ComponentPublicInstance | null
185
+ /**
186
+ * UniPage 页面可使用区域信息,单位为px
187
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
188
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
189
+ * @uniPlatform {
190
+ * "app": {
191
+ * "android": {
192
+ * "osVer": "5.0",
193
+ * "uniVer": "x",
194
+ * "unixVer": "4.51"
195
+ * },
196
+ * "ios": {
197
+ * "osVer": "x",
198
+ * "uniVer": "x",
199
+ * "unixVer": "4.51"
200
+ * },
201
+ * "harmony": {
202
+ * "osVer": "5.0.0",
203
+ * "uniVer": "x",
204
+ * "unixVer": "4.61"
205
+ * }
206
+ * },
207
+ * "mp": {
208
+ * "weixin": {
209
+ * "hostVer": "√",
210
+ * "uniVer": "x",
211
+ * "unixVer": "x"
212
+ * },
213
+ * },
214
+ * "web": {
215
+ * "uniVer": "x",
216
+ * "unixVer": "4.51"
217
+ * }
218
+ * }
219
+ */
220
+ pageBody: UniPageBody
221
+ /**
222
+ * UniPage 安全区域插入位置(与屏幕边界的距离)信息
223
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
224
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
225
+ * @uniPlatform {
226
+ * "app": {
227
+ * "android": {
228
+ * "osVer": "5.0",
229
+ * "uniVer": "x",
230
+ * "unixVer": "4.51"
231
+ * },
232
+ * "ios": {
233
+ * "osVer": "x",
234
+ * "uniVer": "x",
235
+ * "unixVer": "4.51"
236
+ * },
237
+ * "harmony": {
238
+ * "osVer": "5.0.0",
239
+ * "uniVer": "x",
240
+ * "unixVer": "4.61"
241
+ * }
242
+ * },
243
+ * "mp": {
244
+ * "weixin": {
245
+ * "hostVer": "√",
246
+ * "uniVer": "x",
247
+ * "unixVer": "x"
248
+ * },
249
+ * },
250
+ * "web": {
251
+ * "uniVer": "x",
252
+ * "unixVer": "4.51"
253
+ * }
254
+ * }
255
+ */
256
+ safeAreaInsets: UniSafeAreaInsets
257
+ /**
258
+ * 已经进入全屏状态的元素
259
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
260
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
261
+ * @uniPlatform {
262
+ * "app": {
263
+ * "android": {
264
+ * "osVer": "5.0",
265
+ * "uniVer": "x",
266
+ * "unixVer": "4.61"
267
+ * },
268
+ * "ios": {
269
+ * "osVer": "x",
270
+ * "uniVer": "x",
271
+ * "unixVer": "4.61"
272
+ * },
273
+ * "harmony": {
274
+ * "osVer": "5.0.0",
275
+ * "uniVer": "x",
276
+ * "unixVer": "4.61"
277
+ * }
278
+ * },
279
+ * "mp": {
280
+ * "weixin": {
281
+ * "hostVer": "√",
282
+ * "uniVer": "x",
283
+ * "unixVer": "x"
284
+ * },
285
+ * },
286
+ * "web": {
287
+ * "uniVer": "x",
288
+ * "unixVer": "x"
289
+ * }
290
+ * }
291
+ */
292
+ readonly fullscreenElement?: UniElement | null
293
+ /**
294
+ * 页面窗口宽度
295
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
296
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
297
+ * @uniPlatform {
298
+ * "app": {
299
+ * "android": {
300
+ * "osVer": "5.0",
301
+ * "uniVer": "x",
302
+ * "unixVer": "4.61"
303
+ * },
304
+ * "ios": {
305
+ * "osVer": "x",
306
+ * "unixVer": "4.61",
307
+ * "unixUtsPlugin": "4.61"
308
+ * },
309
+ * "harmony": {
310
+ * "osVer": "x",
311
+ * "uniVer": "x",
312
+ * "unixVer": "4.63"
313
+ * }
314
+ * },
315
+ * "mp": {
316
+ * "weixin": {
317
+ * "hostVer": "√",
318
+ * "uniVer": "x",
319
+ * "unixVer": "4.63"
320
+ * },
321
+ * },
322
+ * "web": {
323
+ * "uniVer": "x",
324
+ * "unixVer": "4.63"
325
+ * }
326
+ * }
327
+ */
328
+ readonly width: number
329
+ /**
330
+ * 页面窗口高度
331
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
332
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
333
+ * @uniPlatform {
334
+ * "app": {
335
+ * "android": {
336
+ * "osVer": "5.0",
337
+ * "uniVer": "x",
338
+ * "unixVer": "4.61"
339
+ * },
340
+ * "ios": {
341
+ * "osVer": "x",
342
+ * "unixVer": "4.61",
343
+ * "unixUtsPlugin": "4.61"
344
+ * },
345
+ * "harmony": {
346
+ * "osVer": "x",
347
+ * "uniVer": "x",
348
+ * "unixVer": "4.63"
349
+ * }
350
+ * },
351
+ * "mp": {
352
+ * "weixin": {
353
+ * "hostVer": "√",
354
+ * "uniVer": "x",
355
+ * "unixVer": "4.63"
356
+ * },
357
+ * },
358
+ * "web": {
359
+ * "uniVer": "x",
360
+ * "unixVer": "4.63"
361
+ * }
362
+ * }
363
+ */
364
+ readonly height: number
365
+ /**
366
+ * 页面状态栏高度
367
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
368
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
369
+ * @uniPlatform {
370
+ * "app": {
371
+ * "android": {
372
+ * "osVer": "5.0",
373
+ * "uniVer": "x",
374
+ * "unixVer": "4.61"
375
+ * },
376
+ * "ios": {
377
+ * "osVer": "x",
378
+ * "unixVer": "4.61",
379
+ * "unixUtsPlugin": "4.61"
380
+ * },
381
+ * "harmony": {
382
+ * "osVer": "x",
383
+ * "uniVer": "x",
384
+ * "unixVer": "4.63"
385
+ * }
386
+ * },
387
+ * "mp": {
388
+ * "weixin": {
389
+ * "hostVer": "√",
390
+ * "uniVer": "x",
391
+ * "unixVer": "4.63"
392
+ * },
393
+ * },
394
+ * "web": {
395
+ * "uniVer": "x",
396
+ * "unixVer": "4.63"
397
+ * }
398
+ * }
399
+ */
400
+ readonly statusBarHeight: number
401
+ /**
402
+ * 获取当前页面样式。详细属性配置请参考PageStyle
403
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#getpagestyle
404
+ * @uniPlatform {
405
+ * "app": {
406
+ * "android": {
407
+ * "osVer": "5.0",
408
+ * "uniVer": "x",
409
+ * "unixVer": "4.31"
410
+ * },
411
+ * "ios": {
412
+ * "osVer": "x",
413
+ * "uniVer": "x",
414
+ * "unixVer": "4.31",
415
+ * "unixUtsPlugin": "4.31"
416
+ * },
417
+ * "harmony": {
418
+ * "osVer": "5.0.0",
419
+ * "uniVer": "x",
420
+ * "unixVer": "4.61"
421
+ * }
422
+ * },
423
+ * "mp": {
424
+ * "weixin": {
425
+ * "hostVer": "√",
426
+ * "uniVer": "x",
427
+ * "unixVer": "x"
428
+ * },
429
+ * },
430
+ * "web": {
431
+ * "uniVer": "x",
432
+ * "unixVer": "4.31"
433
+ * }
434
+ * }
435
+ */
436
+ getPageStyle(): UTSJSONObject
437
+ /**
438
+ * 获取当前页面样式。详细属性配置请参考PageStyle
439
+ * @deprecated 已废弃,仅为了向下兼容保留
440
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#getpagestyle-2
441
+ * @uniPlatform {
442
+ * "app": {
443
+ * "android": {
444
+ * "osVer": "5.0",
445
+ * "uniVer": "x",
446
+ * "unixVer": "4.13"
447
+ * },
448
+ * "ios": {
449
+ * "osVer": "x",
450
+ * "uniVer": "x",
451
+ * "unixVer": "4.13"
452
+ * },
453
+ * "harmony": {
454
+ * "osVer": "5.0.0",
455
+ * "uniVer": "x",
456
+ * "unixVer": "4.61"
457
+ * }
458
+ * },
459
+ * "mp": {
460
+ * "weixin": {
461
+ * "hostVer": "√",
462
+ * "uniVer": "x",
463
+ * "unixVer": "x"
464
+ * },
465
+ * },
466
+ * "web": {
467
+ * "uniVer": "x",
468
+ * "unixVer": "4.13"
469
+ * }
470
+ * }
471
+ */
472
+ $getPageStyle(): UTSJSONObject
473
+ /**
474
+ * 设置当前页面样式。详细属性配置请参考PageStyle
475
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#setpagestyle
476
+ * @uniPlatform {
477
+ * "app": {
478
+ * "android": {
479
+ * "osVer": "5.0",
480
+ * "uniVer": "x",
481
+ * "unixVer": "4.31"
482
+ * },
483
+ * "ios": {
484
+ * "osVer": "x",
485
+ * "uniVer": "x",
486
+ * "unixVer": "4.31",
487
+ * "unixUtsPlugin": "4.31"
488
+ * },
489
+ * "harmony": {
490
+ * "osVer": "5.0.0",
491
+ * "uniVer": "x",
492
+ * "unixVer": "4.61"
493
+ * }
494
+ * },
495
+ * "mp": {
496
+ * "weixin": {
497
+ * "hostVer": "√",
498
+ * "uniVer": "x",
499
+ * "unixVer": "x"
500
+ * },
501
+ * },
502
+ * "web": {
503
+ * "uniVer": "x",
504
+ * "unixVer": "4.31"
505
+ * }
506
+ * }
507
+ */
508
+ setPageStyle(style: UTSJSONObject): void
509
+ /**
510
+ * 设置当前页面样式。详细属性配置请参考PageStyle
511
+ * @deprecated 已废弃,仅为了向下兼容保留
512
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#setpagestyle-2
513
+ * @uniPlatform {
514
+ * "app": {
515
+ * "android": {
516
+ * "osVer": "5.0",
517
+ * "uniVer": "x",
518
+ * "unixVer": "4.13"
519
+ * },
520
+ * "ios": {
521
+ * "osVer": "x",
522
+ * "uniVer": "x",
523
+ * "unixVer": "4.13"
524
+ * },
525
+ * "harmony": {
526
+ * "osVer": "5.0.0",
527
+ * "uniVer": "x",
528
+ * "unixVer": "4.61"
529
+ * }
530
+ * },
531
+ * "mp": {
532
+ * "weixin": {
533
+ * "hostVer": "√",
534
+ * "uniVer": "x",
535
+ * "unixVer": "x"
536
+ * },
537
+ * },
538
+ * "web": {
539
+ * "uniVer": "x",
540
+ * "unixVer": "4.13"
541
+ * }
542
+ * }
543
+ */
544
+ $setPageStyle(style: UTSJSONObject): void
545
+ /**
546
+ * 用于 dialogPage 获取所属父页面
547
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/event-bus.html#emit
548
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/event-bus.html#emit
549
+ * @uniPlatform {
550
+ * "app": {
551
+ * "android": {
552
+ * "osVer": "5.0",
553
+ * "uniVer": "x",
554
+ * "unixVer": "4.31"
555
+ * },
556
+ * "ios": {
557
+ * "osVer": "x",
558
+ * "uniVer": "x",
559
+ * "unixVer": "4.31",
560
+ * "unixUtsPlugin": "4.31"
561
+ * },
562
+ * "harmony": {
563
+ * "osVer": "5.0.0",
564
+ * "uniVer": "x",
565
+ * "unixVer": "4.61"
566
+ * }
567
+ * },
568
+ * "mp": {
569
+ * "weixin": {
570
+ * "hostVer": "√",
571
+ * "uniVer": "x",
572
+ * "unixVer": "x"
573
+ * },
574
+ * },
575
+ * "web": {
576
+ * "uniVer": "x",
577
+ * "unixVer": "4.31"
578
+ * }
579
+ * }
580
+ */
581
+ getParentPage(): UniPage | null
582
+ /**
583
+ * 获取当前页面的 dialog 子页面集合
584
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/event-bus.html#emit
585
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/event-bus.html#emit
586
+ * @uniPlatform {
587
+ * "app": {
588
+ * "android": {
589
+ * "osVer": "5.0",
590
+ * "uniVer": "x",
591
+ * "unixVer": "4.31"
592
+ * },
593
+ * "ios": {
594
+ * "osVer": "x",
595
+ * "uniVer": "x",
596
+ * "unixVer": "4.31",
597
+ * "unixUtsPlugin": "4.31"
598
+ * },
599
+ * "harmony": {
600
+ * "osVer": "5.0.0",
601
+ * "uniVer": "x",
602
+ * "unixVer": "4.61"
603
+ * }
604
+ * },
605
+ * "mp": {
606
+ * "weixin": {
607
+ * "hostVer": "√",
608
+ * "uniVer": "x",
609
+ * "unixVer": "x"
610
+ * },
611
+ * },
612
+ * "web": {
613
+ * "uniVer": "x",
614
+ * "unixVer": "4.31"
615
+ * }
616
+ * }
617
+ */
618
+ getDialogPages(): UniPage[]
619
+ /**
620
+ * 返回一个匹配特定 ID 的元素, 如果不存在,返回 null。\
621
+ * 如果需要获取指定的节点类型,需要使用 as 进行类型转换。\
622
+ * ID 区分大小写,且应该是唯一的。如果存在多个匹配的元素,则返回第一个匹配的元素。
623
+ *
624
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#getelementbyid
625
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#getelementbyid
626
+ * @uniPlatform {
627
+ * "app": {
628
+ * "android": {
629
+ * "osVer": "5.0",
630
+ * "uniVer": "x",
631
+ * "unixVer": "4.31"
632
+ * },
633
+ * "ios": {
634
+ * "osVer": "x",
635
+ * "uniVer": "x",
636
+ * "unixVer": "4.31"
637
+ * },
638
+ * "harmony": {
639
+ * "osVer": "5.0.0",
640
+ * "uniVer": "x",
641
+ * "unixVer": "4.61"
642
+ * }
643
+ * },
644
+ * "mp": {
645
+ * "weixin": {
646
+ * "hostVer": "√",
647
+ * "uniVer": "x",
648
+ * "unixVer": "x"
649
+ * },
650
+ * },
651
+ * "web": {
652
+ * "uniVer": "x",
653
+ * "unixVer": "4.31"
654
+ * }
655
+ * }
656
+ */
657
+ getElementById(id: string.IDString | string): UniElement | null
658
+ /**
659
+ * 返回 android 平台页面根 view
660
+ *
661
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#getandroidview
662
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#getandroidview
663
+ * @uniPlatform {
664
+ * "app": {
665
+ * "android": {
666
+ * "osVer": "5.0",
667
+ * "uniVer": "x",
668
+ * "unixVer": "4.31"
669
+ * },
670
+ * "ios": {
671
+ * "osVer": "x",
672
+ * "uniVer": "x",
673
+ * "unixVer": "x"
674
+ * },
675
+ * "harmony": {
676
+ * "osVer": "x",
677
+ * "uniVer": "x",
678
+ * "unixVer": "x"
679
+ * }
680
+ * },
681
+ * "mp": {
682
+ * "weixin": {
683
+ * "hostVer": "√",
684
+ * "uniVer": "x",
685
+ * "unixVer": "x"
686
+ * },
687
+ * },
688
+ * "web": {
689
+ * "uniVer": "x",
690
+ * "unixVer": "x"
691
+ * }
692
+ * }
693
+ */
694
+ getAndroidView(): View | null
695
+ /**
696
+ * 返回 android 平台加载页面内容的Activity
697
+ *
698
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#getandroidactivity
699
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#getandroidactivity
700
+ * @uniPlatform {
701
+ * "app": {
702
+ * "android": {
703
+ * "osVer": "5.0",
704
+ * "uniVer": "x",
705
+ * "unixVer": "4.61"
706
+ * },
707
+ * "ios": {
708
+ * "osVer": "x",
709
+ * "uniVer": "x",
710
+ * "unixVer": "x"
711
+ * },
712
+ * "harmony": {
713
+ * "osVer": "x",
714
+ * "uniVer": "x",
715
+ * "unixVer": "x"
716
+ * }
717
+ * },
718
+ * "mp": {
719
+ * "weixin": {
720
+ * "hostVer": "x",
721
+ * "uniVer": "x",
722
+ * "unixVer": "x"
723
+ * },
724
+ * },
725
+ * "web": {
726
+ * "uniVer": "x",
727
+ * "unixVer": "x"
728
+ * }
729
+ * }
730
+ */
731
+ getAndroidActivity(): Activity | null
732
+ /**
733
+ * 返回 ios 平台页面根 view
734
+ *
735
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#getiosview
736
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#getiosview
737
+ * @uniPlatform {
738
+ * "app": {
739
+ * "android": {
740
+ * "osVer": "x",
741
+ * "uniVer": "x",
742
+ * "unixVer": "x"
743
+ * },
744
+ * "ios": {
745
+ * "osVer": "12",
746
+ * "uniVer": "x",
747
+ * "unixVer": "x",
748
+ * "unixUtsPlugin": "4.33"
749
+ * },
750
+ * "harmony": {
751
+ * "osVer": "x",
752
+ * "uniVer": "x",
753
+ * "unixVer": "x"
754
+ * }
755
+ * },
756
+ * "mp": {
757
+ * "weixin": {
758
+ * "hostVer": "√",
759
+ * "uniVer": "x",
760
+ * "unixVer": "x"
761
+ * },
762
+ * },
763
+ * "web": {
764
+ * "uniVer": "x",
765
+ * "unixVer": "x"
766
+ * }
767
+ * }
768
+ */
769
+ getIOSView(): UIView | null
770
+ /**
771
+ * 返回页面 HTML Element 对象
772
+ *
773
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#gethtmlelement
774
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#gethtmlelement
775
+ * @uniPlatform {
776
+ * "app": {
777
+ * "android": {
778
+ * "osVer": "5.0",
779
+ * "uniVer": "x",
780
+ * "unixVer": "x"
781
+ * },
782
+ * "ios": {
783
+ * "osVer": "x",
784
+ * "uniVer": "x",
785
+ * "unixVer": "x"
786
+ * },
787
+ * "harmony": {
788
+ * "osVer": "x",
789
+ * "uniVer": "x",
790
+ * "unixVer": "x"
791
+ * }
792
+ * },
793
+ * "mp": {
794
+ * "weixin": {
795
+ * "hostVer": "√",
796
+ * "uniVer": "x",
797
+ * "unixVer": "x"
798
+ * },
799
+ * },
800
+ * "web": {
801
+ * "uniVer": "x",
802
+ * "unixVer": "4.31"
803
+ * }
804
+ * }
805
+ */
806
+ getHTMLElement(): UniElement | null
807
+
808
+ /**
809
+ * 将当前在全屏模式下显示的元素退出全屏模式,恢复全屏之前的状态
810
+ *
811
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#exitfullscreen
812
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#exitfullscreen
813
+ * @uniPlatform {
814
+ * "app": {
815
+ * "android": {
816
+ * "osVer": "5.0",
817
+ * "uniVer": "x",
818
+ * "unixVer": "4.61"
819
+ * },
820
+ * "ios": {
821
+ * "osVer": "x",
822
+ * "uniVer": "x",
823
+ * "unixVer": "x"
824
+ * },
825
+ * "harmony": {
826
+ * "osVer": "5.0.0",
827
+ * "uniVer": "x",
828
+ * "unixVer": "4.61"
829
+ * }
830
+ * },
831
+ * "mp": {
832
+ * "weixin": {
833
+ * "hostVer": "√",
834
+ * "uniVer": "x",
835
+ * "unixVer": "x"
836
+ * },
837
+ * },
838
+ * "web": {
839
+ * "uniVer": "x",
840
+ * "unixVer": "x"
841
+ * }
842
+ * }
843
+ */
844
+ exitFullscreen(options: ExitFullscreenOptions | null): void
845
+
846
+ /**
847
+ * 创建组件
848
+ *
849
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#createelement
850
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#createelement
851
+ * @uniPlatform {
852
+ * "app": {
853
+ * "android": {
854
+ * "osVer": "5.0",
855
+ * "uniVer": "x",
856
+ * "unixVer": "x"
857
+ * },
858
+ * "ios": {
859
+ * "osVer": "x",
860
+ * "uniVer": "x",
861
+ * "unixVer": "x"
862
+ * },
863
+ * "harmony": {
864
+ * "osVer": "5.0.0",
865
+ * "uniVer": "x",
866
+ * "unixVer": "4.63"
867
+ * "unixVaporVer": "x"
868
+ * }
869
+ * },
870
+ * "mp": {
871
+ * "weixin": {
872
+ * "hostVer": "√",
873
+ * "uniVer": "x",
874
+ * "unixVer": "x"
875
+ * },
876
+ * },
877
+ * "web": {
878
+ * "uniVer": "x",
879
+ * "unixVer": "x"
880
+ * }
881
+ * }
882
+ */
883
+ createElement(tagName: string): UniElement
884
+
885
+ /**
886
+ * @internal
887
+ * web android harmony 获取当前页面 dialogPage 创建的 API 弹框集合
888
+ */
889
+ $getSystemDialogPages(): UniPage[]
890
+ /**
891
+ * @internal
892
+ * ios 获取当前页面 dialogPage 创建的 API 弹框集合
893
+ */
894
+ __$$getSystemDialogPages(): UniPage[]
895
+
896
+ /**
897
+ * 监听页面布局变化更新事件
898
+ * @uniPlatform {
899
+ * "app": {
900
+ * "android": {
901
+ * "osVer": "5.0",
902
+ * "uniVer": "x",
903
+ * "unixVer": "x",
904
+ * "unixVaporVer": "x"
905
+ * },
906
+ * "ios": {
907
+ * "osVer": "12.0",
908
+ * "uniVer": "x",
909
+ * "unixVer": "x",
910
+ * "unixVaporVer": "x"
911
+ * },
912
+ * "harmony": {
913
+ * "osVer": "6.0",
914
+ * "uniVer": "x",
915
+ * "unixVer": "x",
916
+ * "unixVaporVer": "5.0"
917
+ * }
918
+ * }
919
+ * }
920
+ */
921
+ onLayoutChange(callback: UniPageOnLayoutChangeCallback): number
922
+ /**
923
+ * 取消监听页面布局变化更新事件
924
+ * @uniPlatform {
925
+ * "app": {
926
+ * "android": {
927
+ * "osVer": "5.0",
928
+ * "uniVer": "x",
929
+ * "unixVer": "x",
930
+ * "unixVaporVer": "x"
931
+ * },
932
+ * "ios": {
933
+ * "osVer": "12.0",
934
+ * "uniVer": "x",
935
+ * "unixVer": "x",
936
+ * "unixVaporVer": "x"
937
+ * },
938
+ * "harmony": {
939
+ * "osVer": "6.0",
940
+ * "uniVer": "x",
941
+ * "unixVer": "x",
942
+ * "unixVaporVer": "5.0"
943
+ * }
944
+ * }
945
+ * }
946
+ */
947
+ offLayoutChange(id: number): void
948
+ /**
949
+ * 监听页面渲染变化更新事件
950
+ * @uniPlatform {
951
+ * "app": {
952
+ * "android": {
953
+ * "osVer": "5.0",
954
+ * "uniVer": "x",
955
+ * "unixVer": "x",
956
+ * "unixVaporVer": "x"
957
+ * },
958
+ * "ios": {
959
+ * "osVer": "12.0",
960
+ * "uniVer": "x",
961
+ * "unixVer": "x",
962
+ * "unixVaporVer": "x"
963
+ * },
964
+ * "harmony": {
965
+ * "osVer": "6.0",
966
+ * "uniVer": "x",
967
+ * "unixVer": "x",
968
+ * "unixVaporVer": "5.0"
969
+ * }
970
+ * }
971
+ * }
972
+ */
973
+ onRenderChange(callback: UniPageOnRenderChangeCallback): number
974
+ /**
975
+ * 取消监听页面渲染变化更新事件
976
+ * @uniPlatform {
977
+ * "app": {
978
+ * "android": {
979
+ * "osVer": "5.0",
980
+ * "uniVer": "x",
981
+ * "unixVer": "x",
982
+ * "unixVaporVer": "x"
983
+ * },
984
+ * "ios": {
985
+ * "osVer": "12.0",
986
+ * "uniVer": "x",
987
+ * "unixVer": "x",
988
+ * "unixVaporVer": "x"
989
+ * },
990
+ * "harmony": {
991
+ * "osVer": "6.0",
992
+ * "uniVer": "x",
993
+ * "unixVer": "x",
994
+ * "unixVaporVer": "5.0"
995
+ * }
996
+ * }
997
+ * }
998
+ */
999
+ offRenderChange(id: number): void
1000
+
1001
+ /**
1002
+ * 监听页面触摸开始事件
1003
+ * @uniPlatform {
1004
+ * "app": {
1005
+ * "android": {
1006
+ * "osVer": "5.0",
1007
+ * "uniVer": "x",
1008
+ * "unixVer": "x",
1009
+ * "unixVaporVer": "x"
1010
+ * },
1011
+ * "ios": {
1012
+ * "osVer": "12.0",
1013
+ * "uniVer": "x",
1014
+ * "unixVer": "x",
1015
+ * "unixVaporVer": "x"
1016
+ * },
1017
+ * "harmony": {
1018
+ * "osVer": "6.0",
1019
+ * "uniVer": "x",
1020
+ * "unixVer": "x",
1021
+ * "unixVaporVer": "5.0"
1022
+ * }
1023
+ * }
1024
+ * }
1025
+ */
1026
+ onTouchStart(callback: UniPageOnTouchEventCallback): number
1027
+ /**
1028
+ * 取消监听页面触摸开始事件
1029
+ * @uniPlatform {
1030
+ * "app": {
1031
+ * "android": {
1032
+ * "osVer": "5.0",
1033
+ * "uniVer": "x",
1034
+ * "unixVer": "x",
1035
+ * "unixVaporVer": "x"
1036
+ * },
1037
+ * "ios": {
1038
+ * "osVer": "12.0",
1039
+ * "uniVer": "x",
1040
+ * "unixVer": "x",
1041
+ * "unixVaporVer": "x"
1042
+ * },
1043
+ * "harmony": {
1044
+ * "osVer": "6.0",
1045
+ * "uniVer": "x",
1046
+ * "unixVer": "x",
1047
+ * "unixVaporVer": "5.0"
1048
+ * }
1049
+ * }
1050
+ * }
1051
+ */
1052
+ offTouchStart(id: number): void
1053
+ /**
1054
+ * 监听页面触摸结束事件
1055
+ * @uniPlatform {
1056
+ * "app": {
1057
+ * "android": {
1058
+ * "osVer": "5.0",
1059
+ * "uniVer": "x",
1060
+ * "unixVer": "x",
1061
+ * "unixVaporVer": "x"
1062
+ * },
1063
+ * "ios": {
1064
+ * "osVer": "12.0",
1065
+ * "uniVer": "x",
1066
+ * "unixVer": "x",
1067
+ * "unixVaporVer": "x"
1068
+ * },
1069
+ * "harmony": {
1070
+ * "osVer": "6.0",
1071
+ * "uniVer": "x",
1072
+ * "unixVer": "x",
1073
+ * "unixVaporVer": "5.0"
1074
+ * }
1075
+ * }
1076
+ * }
1077
+ */
1078
+ onTouchEnd(callback: UniPageOnTouchEventCallback): number
1079
+ /**
1080
+ * 取消监听页面触摸结束事件
1081
+ * @uniPlatform {
1082
+ * "app": {
1083
+ * "android": {
1084
+ * "osVer": "5.0",
1085
+ * "uniVer": "x",
1086
+ * "unixVer": "x",
1087
+ * "unixVaporVer": "x"
1088
+ * },
1089
+ * "ios": {
1090
+ * "osVer": "12.0",
1091
+ * "uniVer": "x",
1092
+ * "unixVer": "x",
1093
+ * "unixVaporVer": "x"
1094
+ * },
1095
+ * "harmony": {
1096
+ * "osVer": "6.0",
1097
+ * "uniVer": "x",
1098
+ * "unixVer": "x",
1099
+ * "unixVaporVer": "5.0"
1100
+ * }
1101
+ * }
1102
+ * }
1103
+ */
1104
+ offTouchEnd(id: number): void
1105
+ /**
1106
+ * 返回页面中与指定选择器或选择器组匹配的第一个 Element对象。如果找不到匹配项,则返回null
1107
+ * @param {string.cssSelectorString}selector CSS 选择器字符串
1108
+ * @uniPlatform {
1109
+ * "app": {
1110
+ * "android": {
1111
+ * "osVer": "5.0",
1112
+ * "uniVer": "x",
1113
+ * "unixVer": "5.0"
1114
+ * },
1115
+ * "ios": {
1116
+ * "osVer": "12.0",
1117
+ * "uniVer": "x",
1118
+ * "unixVer": "5.0",
1119
+ * "unixUtsPlugin": "x"
1120
+ * },
1121
+ * "harmony": {
1122
+ * "osVer": "5.0",
1123
+ * "uniVer": "x",
1124
+ * "unixVer": "5.0",
1125
+ * "unixUtsPlugin": "x",
1126
+ * "unixVaporVer": "5.0"
1127
+ * }
1128
+ * },
1129
+ * "mp": {
1130
+ * "weixin": {
1131
+ * "osVer": "x",
1132
+ * "uniVer": "x",
1133
+ * "unixVer": "x"
1134
+ * }
1135
+ * },
1136
+ * "web": {
1137
+ * "uniVer": "x",
1138
+ * "unixVer": "5.0"
1139
+ * }
1140
+ * }
1141
+ */
1142
+ querySelector(selector: string.cssSelectorString): UniElement | null
1143
+ /**
1144
+ * 返回页面中与指定选择器或选择器组匹配的元素列表。
1145
+ * @param {string.cssSelectorString}selector CSS 选择器字符串
1146
+ * @uniPlatform {
1147
+ * "app": {
1148
+ * "android": {
1149
+ * "osVer": "5.0",
1150
+ * "uniVer": "x",
1151
+ * "unixVer": "5.0"
1152
+ * },
1153
+ * "ios": {
1154
+ * "osVer": "12.0",
1155
+ * "uniVer": "x",
1156
+ * "unixVer": "5.0",
1157
+ * "unixUtsPlugin": "x"
1158
+ * },
1159
+ * "harmony": {
1160
+ * "osVer": "5.0",
1161
+ * "uniVer": "x",
1162
+ * "unixVer": "5.0",
1163
+ * "unixUtsPlugin": "x",
1164
+ * "unixVaporVer": "5.0"
1165
+ * }
1166
+ * },
1167
+ * "mp": {
1168
+ * "weixin": {
1169
+ * "osVer": "x",
1170
+ * "uniVer": "x",
1171
+ * "unixVer": "x"
1172
+ * }
1173
+ * },
1174
+ * "web": {
1175
+ * "uniVer": "x",
1176
+ * "unixVer": "x"
1177
+ * }
1178
+ * }
1179
+ */
1180
+ querySelectorAll(selector: string.cssSelectorString): UniElement[]
1181
+
1182
+ /**
1183
+ * 对当前页面进行截图
1184
+ * @param options 截图的参数对象
1185
+ * @uniPlatform {
1186
+ * "app": {
1187
+ * "android": {
1188
+ * "osVer": "5.0",
1189
+ * "uniVer": "x",
1190
+ * "unixVer": "5.02"
1191
+ * },
1192
+ * "ios": {
1193
+ * "osVer": "12.0",
1194
+ * "uniVer": "x",
1195
+ * "unixVer": "5.02",
1196
+ * "unixUtsPlugin": "x"
1197
+ * },
1198
+ * "harmony": {
1199
+ * "osVer": "5.0",
1200
+ * "uniVer": "x",
1201
+ * "unixVer": "5.02",
1202
+ * "unixUtsPlugin": "x",
1203
+ * "unixVaporVer": "5.02"
1204
+ * }
1205
+ * },
1206
+ * "mp": {
1207
+ * "weixin": {
1208
+ * "osVer": "x",
1209
+ * "uniVer": "x",
1210
+ * "unixVer": "x"
1211
+ * }
1212
+ * },
1213
+ * "web": {
1214
+ * "uniVer": "x",
1215
+ * "unixVer": "x"
1216
+ * }
1217
+ * }
1218
+ */
1219
+ takeSnapshot(options: TakeSnapshotOptions): void;
1220
+ }
1221
+ }
1222
+
1223
+ export type ExitFullscreenSuccessCallback = () => void
1224
+
1225
+ export type ExitFullscreenFailCallback = (error: FullscreenError) => void
1226
+
1227
+ export type ExitFullscreenCompleteCallback = (result: any | null) => void
1228
+
1229
+ export type ExitFullscreenOptions = {
1230
+ /**
1231
+ * 成功回调
1232
+ */
1233
+ success: ExitFullscreenSuccessCallback | null
1234
+ /**
1235
+ * 失败回调
1236
+ */
1237
+ fail: ExitFullscreenFailCallback | null
1238
+ /**
1239
+ * 完成回调
1240
+ */
1241
+ complete: ExitFullscreenCompleteCallback | null
1242
+ }
1243
+
1244
+ /**
1245
+ * 监听页面布局变化更新事件回调函数
1246
+ */
1247
+ type UniPageOnLayoutChangeCallback = (res: UniPageOnLayoutChangeCallbackResult) => void
1248
+ /**
1249
+ * 监听页面布局变化更新事件回调参数
1250
+ */
1251
+ type UniPageOnLayoutChangeCallbackResult = UniPagePerformanceTiming
1252
+
1253
+ /**
1254
+ * 监听页面布局变化更新事件回调函数
1255
+ */
1256
+ type UniPageOnRenderChangeCallback = (res: UniPageOnRenderChangeCallbackResult) => void
1257
+ /**
1258
+ * 监听页面布局变化更新事件回调参数
1259
+ */
1260
+ type UniPageOnRenderChangeCallbackResult = UniPagePerformanceRenderTiming
1261
+
1262
+ /**
1263
+ * 页面性能计时信息
1264
+ */
1265
+ interface UniPagePerformanceTiming {
1266
+ /**
1267
+ * 性能计时持续的时间,单位为ms
1268
+ */
1269
+ duration: number
1270
+ }
1271
+ /**
1272
+ * 渲染性能计时信息
1273
+ * UniPagePerformanceTiming基类的duration属性为渲染到屏幕的总时间
1274
+ */
1275
+ interface UniPagePerformanceRenderTiming extends UniPagePerformanceTiming {
1276
+ /**
1277
+ * 更新渲染属性的总时间,单位为ms
1278
+ */
1279
+ updateDuration: number
1280
+ }
1281
+
1282
+ /**
1283
+ * 监听页面触摸事件回调函数
1284
+ */
1285
+ type UniPageOnTouchEventCallback = (event: UniTouchEvent) => void
1286
+
1287
+
1288
+ export interface UniNormalPage extends UniPage {
1289
+
1290
+ }
1291
+
1292
+ export interface UniDialogPage extends UniPage {
1293
+ /**
1294
+ * @internal
1295
+ */
1296
+ $component: any | null
1297
+ /**
1298
+ * @internal
1299
+ */
1300
+ $disableEscBack: boolean
1301
+ /**
1302
+ * @internal
1303
+ */
1304
+ $triggerParentHide: boolean
1305
+ }