@dcloudio/uni-app-x 0.7.120 → 0.7.122

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 (279) hide show
  1. package/README.md +87 -0
  2. package/package.json +1 -1
  3. package/types/app.d.ts +2 -1
  4. package/types/dom2-internal/UniCommon.d.ts +7 -2
  5. package/types/dom2-internal/UniNativeDefines.d.ts +7 -2
  6. package/types/dom2-internal/UniPage.d.ts +6 -0
  7. package/types/native/DrawableContext.d.ts +104 -52
  8. package/types/native/IUniElement.d.ts +4 -2
  9. package/types/node_modules/.package-lock.json +20 -0
  10. package/types/node_modules/typescript/LICENSE.txt +55 -0
  11. package/types/node_modules/typescript/ThirdPartyNoticeText.txt +193 -0
  12. package/types/node_modules/typescript/bin/tsc +2 -0
  13. package/types/node_modules/typescript/bin/tsserver +2 -0
  14. package/types/node_modules/typescript/lib/cancellationToken.js +90 -0
  15. package/types/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +1880 -0
  16. package/types/node_modules/typescript/lib/de/diagnosticMessages.generated.json +1880 -0
  17. package/types/node_modules/typescript/lib/es/diagnosticMessages.generated.json +1880 -0
  18. package/types/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +1880 -0
  19. package/types/node_modules/typescript/lib/it/diagnosticMessages.generated.json +1880 -0
  20. package/types/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +1880 -0
  21. package/types/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +1880 -0
  22. package/types/node_modules/typescript/lib/lib.d.ts +22 -0
  23. package/types/node_modules/typescript/lib/lib.decorators.d.ts +386 -0
  24. package/types/node_modules/typescript/lib/lib.decorators.legacy.d.ts +22 -0
  25. package/types/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +33 -0
  26. package/types/node_modules/typescript/lib/lib.dom.d.ts +28596 -0
  27. package/types/node_modules/typescript/lib/lib.dom.iterable.d.ts +475 -0
  28. package/types/node_modules/typescript/lib/lib.es2015.collection.d.ts +147 -0
  29. package/types/node_modules/typescript/lib/lib.es2015.core.d.ts +597 -0
  30. package/types/node_modules/typescript/lib/lib.es2015.d.ts +28 -0
  31. package/types/node_modules/typescript/lib/lib.es2015.generator.d.ts +77 -0
  32. package/types/node_modules/typescript/lib/lib.es2015.iterable.d.ts +495 -0
  33. package/types/node_modules/typescript/lib/lib.es2015.promise.d.ts +81 -0
  34. package/types/node_modules/typescript/lib/lib.es2015.proxy.d.ts +128 -0
  35. package/types/node_modules/typescript/lib/lib.es2015.reflect.d.ts +144 -0
  36. package/types/node_modules/typescript/lib/lib.es2015.symbol.d.ts +46 -0
  37. package/types/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +326 -0
  38. package/types/node_modules/typescript/lib/lib.es2016.array.include.d.ts +116 -0
  39. package/types/node_modules/typescript/lib/lib.es2016.d.ts +21 -0
  40. package/types/node_modules/typescript/lib/lib.es2016.full.d.ts +23 -0
  41. package/types/node_modules/typescript/lib/lib.es2016.intl.d.ts +31 -0
  42. package/types/node_modules/typescript/lib/lib.es2017.d.ts +25 -0
  43. package/types/node_modules/typescript/lib/lib.es2017.date.d.ts +31 -0
  44. package/types/node_modules/typescript/lib/lib.es2017.full.d.ts +23 -0
  45. package/types/node_modules/typescript/lib/lib.es2017.intl.d.ts +44 -0
  46. package/types/node_modules/typescript/lib/lib.es2017.object.d.ts +49 -0
  47. package/types/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +135 -0
  48. package/types/node_modules/typescript/lib/lib.es2017.string.d.ts +45 -0
  49. package/types/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +53 -0
  50. package/types/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +77 -0
  51. package/types/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +43 -0
  52. package/types/node_modules/typescript/lib/lib.es2018.d.ts +24 -0
  53. package/types/node_modules/typescript/lib/lib.es2018.full.d.ts +24 -0
  54. package/types/node_modules/typescript/lib/lib.es2018.intl.d.ts +83 -0
  55. package/types/node_modules/typescript/lib/lib.es2018.promise.d.ts +30 -0
  56. package/types/node_modules/typescript/lib/lib.es2018.regexp.d.ts +37 -0
  57. package/types/node_modules/typescript/lib/lib.es2019.array.d.ts +79 -0
  58. package/types/node_modules/typescript/lib/lib.es2019.d.ts +24 -0
  59. package/types/node_modules/typescript/lib/lib.es2019.full.d.ts +24 -0
  60. package/types/node_modules/typescript/lib/lib.es2019.intl.d.ts +23 -0
  61. package/types/node_modules/typescript/lib/lib.es2019.object.d.ts +33 -0
  62. package/types/node_modules/typescript/lib/lib.es2019.string.d.ts +37 -0
  63. package/types/node_modules/typescript/lib/lib.es2019.symbol.d.ts +24 -0
  64. package/types/node_modules/typescript/lib/lib.es2020.bigint.d.ts +727 -0
  65. package/types/node_modules/typescript/lib/lib.es2020.d.ts +27 -0
  66. package/types/node_modules/typescript/lib/lib.es2020.date.d.ts +42 -0
  67. package/types/node_modules/typescript/lib/lib.es2020.full.d.ts +24 -0
  68. package/types/node_modules/typescript/lib/lib.es2020.intl.d.ts +474 -0
  69. package/types/node_modules/typescript/lib/lib.es2020.number.d.ts +28 -0
  70. package/types/node_modules/typescript/lib/lib.es2020.promise.d.ts +47 -0
  71. package/types/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +97 -0
  72. package/types/node_modules/typescript/lib/lib.es2020.string.d.ts +42 -0
  73. package/types/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +37 -0
  74. package/types/node_modules/typescript/lib/lib.es2021.d.ts +23 -0
  75. package/types/node_modules/typescript/lib/lib.es2021.full.d.ts +24 -0
  76. package/types/node_modules/typescript/lib/lib.es2021.intl.d.ts +166 -0
  77. package/types/node_modules/typescript/lib/lib.es2021.promise.d.ts +48 -0
  78. package/types/node_modules/typescript/lib/lib.es2021.string.d.ts +33 -0
  79. package/types/node_modules/typescript/lib/lib.es2021.weakref.d.ts +76 -0
  80. package/types/node_modules/typescript/lib/lib.es2022.array.d.ts +121 -0
  81. package/types/node_modules/typescript/lib/lib.es2022.d.ts +26 -0
  82. package/types/node_modules/typescript/lib/lib.es2022.error.d.ts +73 -0
  83. package/types/node_modules/typescript/lib/lib.es2022.full.d.ts +24 -0
  84. package/types/node_modules/typescript/lib/lib.es2022.intl.d.ts +117 -0
  85. package/types/node_modules/typescript/lib/lib.es2022.object.d.ts +26 -0
  86. package/types/node_modules/typescript/lib/lib.es2022.regexp.d.ts +39 -0
  87. package/types/node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts +39 -0
  88. package/types/node_modules/typescript/lib/lib.es2022.string.d.ts +25 -0
  89. package/types/node_modules/typescript/lib/lib.es2023.array.d.ts +924 -0
  90. package/types/node_modules/typescript/lib/lib.es2023.collection.d.ts +21 -0
  91. package/types/node_modules/typescript/lib/lib.es2023.d.ts +22 -0
  92. package/types/node_modules/typescript/lib/lib.es2023.full.d.ts +24 -0
  93. package/types/node_modules/typescript/lib/lib.es2023.intl.d.ts +56 -0
  94. package/types/node_modules/typescript/lib/lib.es5.d.ts +4585 -0
  95. package/types/node_modules/typescript/lib/lib.es6.d.ts +23 -0
  96. package/types/node_modules/typescript/lib/lib.esnext.array.d.ts +35 -0
  97. package/types/node_modules/typescript/lib/lib.esnext.collection.d.ts +106 -0
  98. package/types/node_modules/typescript/lib/lib.esnext.d.ts +28 -0
  99. package/types/node_modules/typescript/lib/lib.esnext.decorators.d.ts +28 -0
  100. package/types/node_modules/typescript/lib/lib.esnext.disposable.d.ts +185 -0
  101. package/types/node_modules/typescript/lib/lib.esnext.full.d.ts +24 -0
  102. package/types/node_modules/typescript/lib/lib.esnext.intl.d.ts +21 -0
  103. package/types/node_modules/typescript/lib/lib.esnext.object.d.ts +29 -0
  104. package/types/node_modules/typescript/lib/lib.esnext.promise.d.ts +35 -0
  105. package/types/node_modules/typescript/lib/lib.esnext.regexp.d.ts +25 -0
  106. package/types/node_modules/typescript/lib/lib.esnext.string.d.ts +29 -0
  107. package/types/node_modules/typescript/lib/lib.scripthost.d.ts +322 -0
  108. package/types/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +33 -0
  109. package/types/node_modules/typescript/lib/lib.webworker.d.ts +9431 -0
  110. package/types/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +23 -0
  111. package/types/node_modules/typescript/lib/lib.webworker.iterable.d.ts +276 -0
  112. package/types/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +1880 -0
  113. package/types/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +1880 -0
  114. package/types/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +1880 -0
  115. package/types/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +1880 -0
  116. package/types/node_modules/typescript/lib/tsc.js +129741 -0
  117. package/types/node_modules/typescript/lib/tsserver.js +621 -0
  118. package/types/node_modules/typescript/lib/tsserverlibrary.d.ts +17 -0
  119. package/types/node_modules/typescript/lib/tsserverlibrary.js +21 -0
  120. package/types/node_modules/typescript/lib/typesMap.json +497 -0
  121. package/types/node_modules/typescript/lib/typescript.d.ts +11240 -0
  122. package/types/node_modules/typescript/lib/typescript.js +194910 -0
  123. package/types/node_modules/typescript/lib/typingsInstaller.js +236 -0
  124. package/types/node_modules/typescript/lib/watchGuard.js +53 -0
  125. package/types/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +1880 -0
  126. package/types/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +1880 -0
  127. package/types/node_modules/typescript/package.json +116 -0
  128. package/types/page.d.ts +2 -2
  129. package/types/uni/env/index.d.ts +2 -1
  130. package/types/uni/uts-plugin-api/global.d.ts +8 -0
  131. package/types/uni/uts-plugin-api/index.d.ts +8 -0
  132. package/types/uni/uts-plugin-api/lib/uni-accelerometer/utssdk/global.d.ts +35 -0
  133. package/types/uni/uts-plugin-api/lib/uni-accelerometer/utssdk/index.d.ts +17 -0
  134. package/types/uni/uts-plugin-api/lib/uni-accelerometer/utssdk/interface.d.ts +359 -0
  135. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +323 -1294
  136. package/types/uni/uts-plugin-api/lib/uni-calendar/utssdk/global.d.ts +35 -0
  137. package/types/uni/uts-plugin-api/lib/uni-calendar/utssdk/index.d.ts +17 -0
  138. package/types/uni/uts-plugin-api/lib/uni-calendar/utssdk/interface.d.ts +944 -0
  139. package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/interface.d.ts +2 -1
  140. package/types/uni/{uts-plugin-extend → uts-plugin-api}/lib/uni-compass/utssdk/global.d.ts +16 -6
  141. package/types/uni/{uts-plugin-extend → uts-plugin-api}/lib/uni-compass/utssdk/index.d.ts +9 -3
  142. package/types/uni/uts-plugin-api/lib/uni-compass/utssdk/interface.d.ts +353 -0
  143. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/global.d.ts +0 -2
  144. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/index.d.ts +0 -1
  145. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +0 -1
  146. package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/global.d.ts +2 -0
  147. package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/index.d.ts +1 -0
  148. package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/interface.d.ts +144 -110
  149. package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/interface.d.ts +1 -0
  150. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +72 -531
  151. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +72 -531
  152. package/types/uni/uts-plugin-api/lib/uni-gyroscope/utssdk/global.d.ts +35 -0
  153. package/types/uni/uts-plugin-api/lib/uni-gyroscope/utssdk/index.d.ts +17 -0
  154. package/types/uni/uts-plugin-api/lib/uni-gyroscope/utssdk/interface.d.ts +362 -0
  155. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +6 -6
  156. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +72 -68
  157. package/types/uni/uts-plugin-api/lib/uni-memorywarning/utssdk/global.d.ts +21 -0
  158. package/types/uni/uts-plugin-api/lib/uni-memorywarning/utssdk/index.d.ts +10 -0
  159. package/types/uni/uts-plugin-api/lib/uni-memorywarning/utssdk/interface.d.ts +20 -0
  160. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/global.d.ts +8 -12
  161. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/index.d.ts +4 -6
  162. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/interface.d.ts +1741 -905
  163. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +12 -12
  164. package/types/uni/uts-plugin-api/lib/uni-openLocation/utssdk/global.d.ts +23 -0
  165. package/types/uni/uts-plugin-api/lib/uni-openLocation/utssdk/index.d.ts +11 -0
  166. package/types/uni/uts-plugin-api/lib/uni-openLocation/utssdk/interface.d.ts +418 -0
  167. package/types/uni/uts-plugin-api/lib/uni-phoneContact/utssdk/global.d.ts +49 -0
  168. package/types/uni/uts-plugin-api/lib/uni-phoneContact/utssdk/index.d.ts +24 -0
  169. package/types/uni/uts-plugin-api/lib/uni-phoneContact/utssdk/interface.d.ts +349 -0
  170. package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/global.d.ts +2 -0
  171. package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/index.d.ts +1 -0
  172. package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/interface.d.ts +83 -124
  173. package/types/uni/uts-plugin-api/lib/uni-screenBrightness/utssdk/interface.d.ts +1157 -830
  174. package/types/uni/uts-plugin-api/lib/uni-share/utssdk/interface.d.ts +936 -335
  175. package/types/uni/uts-plugin-api/lib/uni-showLoading/utssdk/global.d.ts +8 -0
  176. package/types/uni/uts-plugin-api/lib/uni-showLoading/utssdk/index.d.ts +4 -0
  177. package/types/uni/uts-plugin-api/lib/uni-showLoading/utssdk/interface.d.ts +1155 -1142
  178. package/types/uni/uts-plugin-api/lib/uni-vibrate/utssdk/global.d.ts +27 -0
  179. package/types/uni/uts-plugin-api/lib/uni-vibrate/utssdk/index.d.ts +13 -0
  180. package/types/uni/uts-plugin-api/lib/uni-vibrate/utssdk/interface.d.ts +88 -0
  181. package/types/uni/uts-plugin-api/lib/uni-web-view/utssdk/interface.d.ts +6 -6
  182. package/types/uni/uts-plugin-biz/global.d.ts +9 -0
  183. package/types/uni/uts-plugin-biz/index.d.ts +9 -0
  184. package/types/uni/uts-plugin-biz/lib/uni-accelerometer/utssdk/global.d.ts +35 -0
  185. package/types/uni/uts-plugin-biz/lib/uni-accelerometer/utssdk/index.d.ts +17 -0
  186. package/types/uni/uts-plugin-biz/lib/uni-accelerometer/utssdk/interface.d.ts +359 -0
  187. package/types/uni/uts-plugin-biz/lib/uni-authentication/utssdk/global.d.ts +59 -0
  188. package/types/uni/uts-plugin-biz/lib/uni-authentication/utssdk/index.d.ts +29 -0
  189. package/types/uni/uts-plugin-biz/lib/uni-authentication/utssdk/interface.d.ts +371 -0
  190. package/types/uni/uts-plugin-biz/lib/uni-calendar/utssdk/global.d.ts +35 -0
  191. package/types/uni/uts-plugin-biz/lib/uni-calendar/utssdk/index.d.ts +17 -0
  192. package/types/uni/uts-plugin-biz/lib/uni-calendar/utssdk/interface.d.ts +944 -0
  193. package/types/uni/uts-plugin-biz/lib/uni-compass/utssdk/global.d.ts +35 -0
  194. package/types/uni/uts-plugin-biz/lib/uni-compass/utssdk/index.d.ts +17 -0
  195. package/types/uni/uts-plugin-biz/lib/uni-compass/utssdk/interface.d.ts +353 -0
  196. package/types/uni/uts-plugin-biz/lib/uni-gyroscope/utssdk/global.d.ts +35 -0
  197. package/types/uni/uts-plugin-biz/lib/uni-gyroscope/utssdk/index.d.ts +17 -0
  198. package/types/uni/uts-plugin-biz/lib/uni-gyroscope/utssdk/interface.d.ts +362 -0
  199. package/types/uni/uts-plugin-biz/lib/uni-memorywarning/utssdk/global.d.ts +21 -0
  200. package/types/uni/uts-plugin-biz/lib/uni-memorywarning/utssdk/index.d.ts +10 -0
  201. package/types/uni/uts-plugin-biz/lib/uni-memorywarning/utssdk/interface.d.ts +20 -0
  202. package/types/uni/uts-plugin-biz/lib/uni-phoneContact/utssdk/global.d.ts +49 -0
  203. package/types/uni/uts-plugin-biz/lib/uni-phoneContact/utssdk/index.d.ts +24 -0
  204. package/types/uni/uts-plugin-biz/lib/uni-phoneContact/utssdk/interface.d.ts +349 -0
  205. package/types/uni/uts-plugin-biz/lib/uni-screenBrightness/utssdk/global.d.ts +57 -0
  206. package/types/uni/uts-plugin-biz/lib/uni-screenBrightness/utssdk/index.d.ts +28 -0
  207. package/types/uni/uts-plugin-biz/lib/uni-screenBrightness/utssdk/interface.d.ts +1172 -0
  208. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +6 -1
  209. package/types/uni/uts-plugin-biz/lib/uni-vibrate/utssdk/global.d.ts +27 -0
  210. package/types/uni/uts-plugin-biz/lib/uni-vibrate/utssdk/index.d.ts +13 -0
  211. package/types/uni/uts-plugin-biz/lib/uni-vibrate/utssdk/interface.d.ts +88 -0
  212. package/types/uni/uts-plugin-component/global.d.ts +8 -1
  213. package/types/uni/uts-plugin-component/index.d.ts +8 -1
  214. package/types/uni/uts-plugin-component/lib/uni-accelerometer/utssdk/global.d.ts +35 -0
  215. package/types/uni/uts-plugin-component/lib/uni-accelerometer/utssdk/index.d.ts +17 -0
  216. package/types/uni/uts-plugin-component/lib/uni-accelerometer/utssdk/interface.d.ts +359 -0
  217. package/types/uni/uts-plugin-component/lib/uni-authentication/utssdk/interface.d.ts +1342 -371
  218. package/types/uni/uts-plugin-component/lib/uni-calendar/utssdk/global.d.ts +35 -0
  219. package/types/uni/uts-plugin-component/lib/uni-calendar/utssdk/index.d.ts +17 -0
  220. package/types/uni/uts-plugin-component/lib/uni-calendar/utssdk/interface.d.ts +944 -0
  221. package/types/uni/uts-plugin-component/lib/uni-canvas-dom2/utssdk/interface.d.ts +2 -1
  222. package/types/uni/uts-plugin-component/lib/uni-compass/utssdk/global.d.ts +35 -0
  223. package/types/uni/uts-plugin-component/lib/uni-compass/utssdk/index.d.ts +17 -0
  224. package/types/uni/uts-plugin-component/lib/uni-compass/utssdk/interface.d.ts +353 -0
  225. package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/global.d.ts +0 -2
  226. package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/index.d.ts +0 -1
  227. package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/interface.d.ts +0 -1
  228. package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/global.d.ts +2 -0
  229. package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/index.d.ts +1 -0
  230. package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/interface.d.ts +144 -110
  231. package/types/uni/uts-plugin-component/lib/uni-editor-global/utssdk/interface.d.ts +15 -5
  232. package/types/uni/uts-plugin-component/lib/uni-form-global/utssdk/interface.d.ts +1 -1
  233. package/types/uni/uts-plugin-component/lib/uni-getElementById/utssdk/interface.d.ts +1 -0
  234. package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +531 -72
  235. package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +531 -72
  236. package/types/uni/uts-plugin-component/lib/uni-gyroscope/utssdk/global.d.ts +35 -0
  237. package/types/uni/uts-plugin-component/lib/uni-gyroscope/utssdk/index.d.ts +17 -0
  238. package/types/uni/uts-plugin-component/lib/uni-gyroscope/utssdk/interface.d.ts +362 -0
  239. package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/interface.d.ts +6 -6
  240. package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/interface.d.ts +73 -67
  241. package/types/uni/uts-plugin-component/lib/uni-match-media-global/utssdk/interface.d.ts +1 -1
  242. package/types/uni/uts-plugin-component/lib/uni-memorywarning/utssdk/global.d.ts +21 -0
  243. package/types/uni/uts-plugin-component/lib/uni-memorywarning/utssdk/index.d.ts +10 -0
  244. package/types/uni/uts-plugin-component/lib/uni-memorywarning/utssdk/interface.d.ts +20 -0
  245. package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/global.d.ts +8 -12
  246. package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/index.d.ts +4 -6
  247. package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/interface.d.ts +1743 -291
  248. package/types/uni/uts-plugin-component/lib/uni-navigator-global/utssdk/interface.d.ts +1 -1
  249. package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/interface.d.ts +12 -12
  250. package/types/uni/uts-plugin-component/lib/uni-openLocation/utssdk/global.d.ts +23 -0
  251. package/types/uni/uts-plugin-component/lib/uni-openLocation/utssdk/index.d.ts +11 -0
  252. package/types/uni/uts-plugin-component/lib/uni-openLocation/utssdk/interface.d.ts +420 -0
  253. package/types/uni/uts-plugin-component/lib/uni-phoneContact/utssdk/global.d.ts +49 -0
  254. package/types/uni/uts-plugin-component/lib/uni-phoneContact/utssdk/index.d.ts +24 -0
  255. package/types/uni/uts-plugin-component/lib/uni-phoneContact/utssdk/interface.d.ts +349 -0
  256. package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/global.d.ts +2 -0
  257. package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/index.d.ts +1 -0
  258. package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/interface.d.ts +132 -75
  259. package/types/uni/uts-plugin-component/lib/uni-progress-global/utssdk/interface.d.ts +1 -1
  260. package/types/uni/uts-plugin-component/lib/uni-screenBrightness/utssdk/interface.d.ts +1175 -314
  261. package/types/uni/uts-plugin-component/lib/uni-share/utssdk/interface.d.ts +936 -335
  262. package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/global.d.ts +8 -0
  263. package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/index.d.ts +4 -0
  264. package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/interface.d.ts +1617 -446
  265. package/types/uni/uts-plugin-component/lib/uni-vibrate/utssdk/global.d.ts +27 -0
  266. package/types/uni/uts-plugin-component/lib/uni-vibrate/utssdk/index.d.ts +13 -0
  267. package/types/uni/uts-plugin-component/lib/uni-vibrate/utssdk/interface.d.ts +88 -0
  268. package/types/uni/uts-plugin-component/lib/uni-web-view/utssdk/interface.d.ts +6 -6
  269. package/types/uni/uts-plugin-extend/global.d.ts +0 -1
  270. package/types/uni/uts-plugin-extend/index.d.ts +0 -1
  271. package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/interface.d.ts +2 -1
  272. package/types/vue/LifeCycle.d.ts +2 -2
  273. package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/global.d.ts +0 -12
  274. package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/index.d.ts +0 -1
  275. package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/interface.d.ts +0 -917
  276. package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/interface.d.ts +0 -1095
  277. package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/global.d.ts +0 -9
  278. package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/index.d.ts +0 -1
  279. package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/interface.d.ts +0 -253
@@ -0,0 +1,116 @@
1
+ {
2
+ "name": "typescript",
3
+ "author": "Microsoft Corp.",
4
+ "homepage": "https://www.typescriptlang.org/",
5
+ "version": "5.5.2",
6
+ "license": "Apache-2.0",
7
+ "description": "TypeScript is a language for application scale JavaScript development",
8
+ "keywords": [
9
+ "TypeScript",
10
+ "Microsoft",
11
+ "compiler",
12
+ "language",
13
+ "javascript"
14
+ ],
15
+ "bugs": {
16
+ "url": "https://github.com/Microsoft/TypeScript/issues"
17
+ },
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "https://github.com/Microsoft/TypeScript.git"
21
+ },
22
+ "main": "./lib/typescript.js",
23
+ "typings": "./lib/typescript.d.ts",
24
+ "bin": {
25
+ "tsc": "./bin/tsc",
26
+ "tsserver": "./bin/tsserver"
27
+ },
28
+ "engines": {
29
+ "node": ">=14.17"
30
+ },
31
+ "files": [
32
+ "bin",
33
+ "lib",
34
+ "!lib/enu",
35
+ "LICENSE.txt",
36
+ "README.md",
37
+ "SECURITY.md",
38
+ "ThirdPartyNoticeText.txt",
39
+ "!**/.gitattributes"
40
+ ],
41
+ "devDependencies": {
42
+ "@dprint/formatter": "^0.3.0",
43
+ "@dprint/typescript": "0.91.0",
44
+ "@esfx/canceltoken": "^1.0.0",
45
+ "@octokit/rest": "^20.1.1",
46
+ "@types/chai": "^4.3.16",
47
+ "@types/microsoft__typescript-etw": "^0.1.3",
48
+ "@types/minimist": "^1.2.5",
49
+ "@types/mocha": "^10.0.6",
50
+ "@types/ms": "^0.7.34",
51
+ "@types/node": "latest",
52
+ "@types/source-map-support": "^0.5.10",
53
+ "@types/which": "^3.0.3",
54
+ "@typescript-eslint/eslint-plugin": "^7.11.0",
55
+ "@typescript-eslint/parser": "^7.11.0",
56
+ "@typescript-eslint/utils": "^7.11.0",
57
+ "azure-devops-node-api": "^13.0.0",
58
+ "c8": "^9.1.0",
59
+ "chai": "^4.4.1",
60
+ "chalk": "^4.1.2",
61
+ "chokidar": "^3.6.0",
62
+ "diff": "^5.2.0",
63
+ "dprint": "^0.46.1",
64
+ "esbuild": "^0.21.4",
65
+ "eslint": "^8.57.0",
66
+ "eslint-formatter-autolinkable-stylish": "^1.3.0",
67
+ "eslint-plugin-local": "^4.2.2",
68
+ "fast-xml-parser": "^4.4.0",
69
+ "glob": "^10.4.1",
70
+ "hereby": "^1.8.9",
71
+ "jsonc-parser": "^3.2.1",
72
+ "minimist": "^1.2.8",
73
+ "mocha": "^10.4.0",
74
+ "mocha-fivemat-progress-reporter": "^0.1.0",
75
+ "ms": "^2.1.3",
76
+ "node-fetch": "^3.3.2",
77
+ "playwright": "^1.44.1",
78
+ "source-map-support": "^0.5.21",
79
+ "tslib": "^2.6.2",
80
+ "typescript": "^5.4.5",
81
+ "which": "^3.0.1"
82
+ },
83
+ "overrides": {
84
+ "typescript@*": "$typescript"
85
+ },
86
+ "scripts": {
87
+ "test": "hereby runtests-parallel --light=false",
88
+ "test:eslint-rules": "hereby run-eslint-rules-tests",
89
+ "build": "npm run build:compiler && npm run build:tests",
90
+ "build:compiler": "hereby local",
91
+ "build:tests": "hereby tests",
92
+ "build:tests:notypecheck": "hereby tests --no-typecheck",
93
+ "clean": "hereby clean",
94
+ "gulp": "hereby",
95
+ "lint": "hereby lint",
96
+ "format": "dprint fmt",
97
+ "setup-hooks": "node scripts/link-hooks.mjs"
98
+ },
99
+ "browser": {
100
+ "fs": false,
101
+ "os": false,
102
+ "path": false,
103
+ "crypto": false,
104
+ "buffer": false,
105
+ "@microsoft/typescript-etw": false,
106
+ "source-map-support": false,
107
+ "inspector": false,
108
+ "perf_hooks": false
109
+ },
110
+ "packageManager": "npm@8.19.4",
111
+ "volta": {
112
+ "node": "20.1.0",
113
+ "npm": "8.19.4"
114
+ },
115
+ "gitHead": "ce2e60e4ea15a65992e54a9e8877d16be9d42abb"
116
+ }
package/types/page.d.ts CHANGED
@@ -1238,7 +1238,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
1238
1238
  * "osVer": "3.0",
1239
1239
  * "uniVer": "4.23",
1240
1240
  * "unixVer": "4.61",
1241
- * "unixVaporVer": "x"
1241
+ * "unixVaporVer": "5.09"
1242
1242
  * }
1243
1243
  * },
1244
1244
  * "mp": {
@@ -1313,7 +1313,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
1313
1313
  * "osVer": "3.0",
1314
1314
  * "uniVer": "4.23",
1315
1315
  * "unixVer": "4.61",
1316
- * "unixVaporVer": "x"
1316
+ * "unixVaporVer": "5.09"
1317
1317
  * }
1318
1318
  * },
1319
1319
  * "mp": {
@@ -17,7 +17,8 @@ interface Uni {
17
17
  * "harmony": {
18
18
  * "osVer": "5.0.0",
19
19
  * "uniVer": "x",
20
- * "unixVer": "4.61"
20
+ * "unixVer": "4.61",
21
+ * "unixVaporVer": "5.0"
21
22
  * }
22
23
  * },
23
24
  * "mp": {
@@ -1,15 +1,18 @@
1
+ /// <reference path='./lib/uni-accelerometer/utssdk/global.d.ts' />
1
2
  /// <reference path='./lib/uni-actionSheet/utssdk/global.d.ts' />
2
3
  /// <reference path='./lib/uni-addPhoneContact/utssdk/global.d.ts' />
3
4
  /// <reference path='./lib/uni-arrayBufferToBase64/utssdk/global.d.ts' />
4
5
  /// <reference path='./lib/uni-authentication/utssdk/global.d.ts' />
5
6
  /// <reference path='./lib/uni-barcode-scanning/utssdk/global.d.ts' />
6
7
  /// <reference path='./lib/uni-base64ToArrayBuffer/utssdk/global.d.ts' />
8
+ /// <reference path='./lib/uni-calendar/utssdk/global.d.ts' />
7
9
  /// <reference path='./lib/uni-camera/utssdk/global.d.ts' />
8
10
  /// <reference path='./lib/uni-canvas-dom2/utssdk/global.d.ts' />
9
11
  /// <reference path='./lib/uni-canvas/utssdk/global.d.ts' />
10
12
  /// <reference path='./lib/uni-chooseLocation/utssdk/global.d.ts' />
11
13
  /// <reference path='./lib/uni-chooseMedia/utssdk/global.d.ts' />
12
14
  /// <reference path='./lib/uni-clipboard/utssdk/global.d.ts' />
15
+ /// <reference path='./lib/uni-compass/utssdk/global.d.ts' />
13
16
  /// <reference path='./lib/uni-createInnerAudioContext/utssdk/global.d.ts' />
14
17
  /// <reference path='./lib/uni-createIntersectionObserver/utssdk/global.d.ts' />
15
18
  /// <reference path='./lib/uni-createRequestPermissionListener/utssdk/global.d.ts' />
@@ -36,6 +39,7 @@
36
39
  /// <reference path='./lib/uni-getProvider/utssdk/global.d.ts' />
37
40
  /// <reference path='./lib/uni-getSystemInfo/utssdk/global.d.ts' />
38
41
  /// <reference path='./lib/uni-getSystemSetting/utssdk/global.d.ts' />
42
+ /// <reference path='./lib/uni-gyroscope/utssdk/global.d.ts' />
39
43
  /// <reference path='./lib/uni-installApk/utssdk/global.d.ts' />
40
44
  /// <reference path='./lib/uni-interceptor/utssdk/global.d.ts' />
41
45
  /// <reference path='./lib/uni-keyboard/utssdk/global.d.ts' />
@@ -45,6 +49,7 @@
45
49
  /// <reference path='./lib/uni-location/utssdk/global.d.ts' />
46
50
  /// <reference path='./lib/uni-makePhoneCall/utssdk/global.d.ts' />
47
51
  /// <reference path='./lib/uni-media/utssdk/global.d.ts' />
52
+ /// <reference path='./lib/uni-memorywarning/utssdk/global.d.ts' />
48
53
  /// <reference path='./lib/uni-modal/utssdk/global.d.ts' />
49
54
  /// <reference path='./lib/uni-navigationBar/utssdk/global.d.ts' />
50
55
  /// <reference path='./lib/uni-network/utssdk/global.d.ts' />
@@ -53,11 +58,13 @@
53
58
  /// <reference path='./lib/uni-oauth/utssdk/global.d.ts' />
54
59
  /// <reference path='./lib/uni-openAppAuthorizeSetting/utssdk/global.d.ts' />
55
60
  /// <reference path='./lib/uni-openDocument/utssdk/global.d.ts' />
61
+ /// <reference path='./lib/uni-openLocation/utssdk/global.d.ts' />
56
62
  /// <reference path='./lib/uni-pageScrollTo/utssdk/global.d.ts' />
57
63
  /// <reference path='./lib/uni-payment-alipay/utssdk/global.d.ts' />
58
64
  /// <reference path='./lib/uni-payment-huawei/utssdk/global.d.ts' />
59
65
  /// <reference path='./lib/uni-payment-wxpay/utssdk/global.d.ts' />
60
66
  /// <reference path='./lib/uni-payment/utssdk/global.d.ts' />
67
+ /// <reference path='./lib/uni-phoneContact/utssdk/global.d.ts' />
61
68
  /// <reference path='./lib/uni-previewImage/utssdk/global.d.ts' />
62
69
  /// <reference path='./lib/uni-privacy/utssdk/global.d.ts' />
63
70
  /// <reference path='./lib/uni-prompt/utssdk/global.d.ts' />
@@ -76,6 +83,7 @@
76
83
  /// <reference path='./lib/uni-storage/utssdk/global.d.ts' />
77
84
  /// <reference path='./lib/uni-tabBar/utssdk/global.d.ts' />
78
85
  /// <reference path='./lib/uni-theme/utssdk/global.d.ts' />
86
+ /// <reference path='./lib/uni-vibrate/utssdk/global.d.ts' />
79
87
  /// <reference path='./lib/uni-video/utssdk/global.d.ts' />
80
88
  /// <reference path='./lib/uni-virtualPayment/utssdk/global.d.ts' />
81
89
  /// <reference path='./lib/uni-web-view/utssdk/global.d.ts' />
@@ -1,15 +1,18 @@
1
+ export * from './lib/uni-accelerometer/utssdk'
1
2
  export * from './lib/uni-actionSheet/utssdk'
2
3
  export * from './lib/uni-addPhoneContact/utssdk'
3
4
  export * from './lib/uni-arrayBufferToBase64/utssdk'
4
5
  export * from './lib/uni-authentication/utssdk'
5
6
  export * from './lib/uni-barcode-scanning/utssdk'
6
7
  export * from './lib/uni-base64ToArrayBuffer/utssdk'
8
+ export * from './lib/uni-calendar/utssdk'
7
9
  export * from './lib/uni-camera/utssdk'
8
10
  export * from './lib/uni-canvas-dom2/utssdk'
9
11
  export * from './lib/uni-canvas/utssdk'
10
12
  export * from './lib/uni-chooseLocation/utssdk'
11
13
  export * from './lib/uni-chooseMedia/utssdk'
12
14
  export * from './lib/uni-clipboard/utssdk'
15
+ export * from './lib/uni-compass/utssdk'
13
16
  export * from './lib/uni-createInnerAudioContext/utssdk'
14
17
  export * from './lib/uni-createIntersectionObserver/utssdk'
15
18
  export * from './lib/uni-createRequestPermissionListener/utssdk'
@@ -36,6 +39,7 @@ export * from './lib/uni-getPerformance/utssdk'
36
39
  export * from './lib/uni-getProvider/utssdk'
37
40
  export * from './lib/uni-getSystemInfo/utssdk'
38
41
  export * from './lib/uni-getSystemSetting/utssdk'
42
+ export * from './lib/uni-gyroscope/utssdk'
39
43
  export * from './lib/uni-installApk/utssdk'
40
44
  export * from './lib/uni-interceptor/utssdk'
41
45
  export * from './lib/uni-keyboard/utssdk'
@@ -45,6 +49,7 @@ export * from './lib/uni-location-tencent/utssdk'
45
49
  export * from './lib/uni-location/utssdk'
46
50
  export * from './lib/uni-makePhoneCall/utssdk'
47
51
  export * from './lib/uni-media/utssdk'
52
+ export * from './lib/uni-memorywarning/utssdk'
48
53
  export * from './lib/uni-modal/utssdk'
49
54
  export * from './lib/uni-navigationBar/utssdk'
50
55
  export * from './lib/uni-network/utssdk'
@@ -53,11 +58,13 @@ export * from './lib/uni-oauth-weixin/utssdk'
53
58
  export * from './lib/uni-oauth/utssdk'
54
59
  export * from './lib/uni-openAppAuthorizeSetting/utssdk'
55
60
  export * from './lib/uni-openDocument/utssdk'
61
+ export * from './lib/uni-openLocation/utssdk'
56
62
  export * from './lib/uni-pageScrollTo/utssdk'
57
63
  export * from './lib/uni-payment-alipay/utssdk'
58
64
  export * from './lib/uni-payment-huawei/utssdk'
59
65
  export * from './lib/uni-payment-wxpay/utssdk'
60
66
  export * from './lib/uni-payment/utssdk'
67
+ export * from './lib/uni-phoneContact/utssdk'
61
68
  export * from './lib/uni-previewImage/utssdk'
62
69
  export * from './lib/uni-privacy/utssdk'
63
70
  export * from './lib/uni-prompt/utssdk'
@@ -76,6 +83,7 @@ export * from './lib/uni-sse/utssdk'
76
83
  export * from './lib/uni-storage/utssdk'
77
84
  export * from './lib/uni-tabBar/utssdk'
78
85
  export * from './lib/uni-theme/utssdk'
86
+ export * from './lib/uni-vibrate/utssdk'
79
87
  export * from './lib/uni-video/utssdk'
80
88
  export * from './lib/uni-virtualPayment/utssdk'
81
89
  export * from './lib/uni-web-view/utssdk'
@@ -0,0 +1,35 @@
1
+ // 本文件为自动构建生成
2
+ import {
3
+ AccelerometerInterval as AccelerometerIntervalOrigin,
4
+ AccelerometerErrorCode as AccelerometerErrorCodeOrigin,
5
+ IAccelerometerError as IAccelerometerErrorOrigin,
6
+ AccelerometerSuccess as AccelerometerSuccessOrigin,
7
+ AccelerometerFail as AccelerometerFailOrigin,
8
+ AccelerometerSuccessCallback as AccelerometerSuccessCallbackOrigin,
9
+ AccelerometerFailCallback as AccelerometerFailCallbackOrigin,
10
+ AccelerometerComplete as AccelerometerCompleteOrigin,
11
+ AccelerometerCompleteCallback as AccelerometerCompleteCallbackOrigin,
12
+ StartAccelerometerOptions as StartAccelerometerOptionsOrigin,
13
+ StopAccelerometerOptions as StopAccelerometerOptionsOrigin,
14
+ OnAccelerometerChangeCallbackResult as OnAccelerometerChangeCallbackResultOrigin,
15
+ OnAccelerometerChangeCallback as OnAccelerometerChangeCallbackOrigin,
16
+ Uni as UniOrigin
17
+ } from './interface'
18
+
19
+ declare global {
20
+ type AccelerometerInterval = AccelerometerIntervalOrigin
21
+ type AccelerometerErrorCode = AccelerometerErrorCodeOrigin
22
+ type IAccelerometerError = IAccelerometerErrorOrigin
23
+ type AccelerometerSuccess = AccelerometerSuccessOrigin
24
+ type AccelerometerFail = AccelerometerFailOrigin
25
+ type AccelerometerSuccessCallback = AccelerometerSuccessCallbackOrigin
26
+ type AccelerometerFailCallback = AccelerometerFailCallbackOrigin
27
+ type AccelerometerComplete = AccelerometerCompleteOrigin
28
+ type AccelerometerCompleteCallback = AccelerometerCompleteCallbackOrigin
29
+ type StartAccelerometerOptions = StartAccelerometerOptionsOrigin
30
+ type StopAccelerometerOptions = StopAccelerometerOptionsOrigin
31
+ type OnAccelerometerChangeCallbackResult = OnAccelerometerChangeCallbackResultOrigin
32
+ type OnAccelerometerChangeCallback = OnAccelerometerChangeCallbackOrigin
33
+ interface Uni extends UniOrigin { }
34
+ }
35
+
@@ -0,0 +1,17 @@
1
+ // 本文件为自动构建生成
2
+ export {
3
+ AccelerometerInterval,
4
+ AccelerometerErrorCode,
5
+ IAccelerometerError,
6
+ AccelerometerSuccess,
7
+ AccelerometerFail,
8
+ AccelerometerSuccessCallback,
9
+ AccelerometerFailCallback,
10
+ AccelerometerComplete,
11
+ AccelerometerCompleteCallback,
12
+ StartAccelerometerOptions,
13
+ StopAccelerometerOptions,
14
+ OnAccelerometerChangeCallbackResult,
15
+ OnAccelerometerChangeCallback,
16
+ } from './interface'
17
+
@@ -0,0 +1,359 @@
1
+ export type AccelerometerInterval =
2
+ 'game' |
3
+ 'ui' |
4
+ 'normal'
5
+
6
+ export type AccelerometerErrorCode =
7
+ 601 |
8
+ 602 |
9
+ 603 |
10
+ 604 |
11
+ 701 |
12
+ 702 |
13
+ 703 |
14
+ 801 |
15
+ 802 |
16
+ 803 |
17
+ 804 |
18
+ 501 |
19
+ 502 |
20
+ 503 |
21
+ 901
22
+
23
+ export interface IAccelerometerError extends IUniError {
24
+ errCode : AccelerometerErrorCode
25
+ }
26
+
27
+ export type AccelerometerSuccess = {
28
+ errMsg ?: string | null
29
+ }
30
+
31
+ export type AccelerometerFail = IAccelerometerError
32
+ export type AccelerometerSuccessCallback = (res : AccelerometerSuccess) => void
33
+ export type AccelerometerFailCallback = (res : AccelerometerFail) => void
34
+ export type AccelerometerComplete = AccelerometerSuccess | AccelerometerFail
35
+ export type AccelerometerCompleteCallback = (res : AccelerometerComplete) => void
36
+
37
+ export type StartAccelerometerOptions = {
38
+ interval ?: AccelerometerInterval | null
39
+ success ?: AccelerometerSuccessCallback | null
40
+ fail ?: AccelerometerFailCallback | null
41
+ complete ?: AccelerometerCompleteCallback | null
42
+ }
43
+
44
+ export type StopAccelerometerOptions = {
45
+ success ?: AccelerometerSuccessCallback | null
46
+ fail ?: AccelerometerFailCallback | null
47
+ complete ?: AccelerometerCompleteCallback | null
48
+ }
49
+
50
+ export type OnAccelerometerChangeCallbackResult = {
51
+ x : number
52
+ y : number
53
+ z : number
54
+ }
55
+
56
+ export type OnAccelerometerChangeCallback = (result : OnAccelerometerChangeCallbackResult) => void
57
+
58
+ export interface Uni {
59
+ /**
60
+ * 监听加速度数据变化事件
61
+ *
62
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/accelerometer.html#onaccelerometerchange
63
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/accelerometer.html#onaccelerometerchange
64
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/system/accelerometer.html#onaccelerometerchange
65
+ *
66
+ * @uniPlatform {
67
+ * "app": {
68
+ * "android": {
69
+ * "osVer": "5.0",
70
+ * "uniVer": "2.9.6",
71
+ * "unixVer": "5.08"
72
+ * },
73
+ * "ios": {
74
+ * "osVer": "12.0",
75
+ * "uniVer": "2.9.6",
76
+ * "unixVer": "5.08"
77
+ * },
78
+ * "harmony": {
79
+ * "osVer": "5.0.0",
80
+ * "uniVer": "5.08",
81
+ * "unixVer": "5.08",
82
+ * "unixvVer": "5.08"
83
+ * }
84
+ * },
85
+ * "web": {
86
+ * "uniVer": "2.9.6",
87
+ * "unixVer": "4.0"
88
+ * },
89
+ * "mp":{
90
+ * "weixin": {
91
+ * "hostVer": "√",
92
+ * "uniVer": "√",
93
+ * "unixVer": "4.41"
94
+ * },
95
+ * "alipay": {
96
+ * "hostVer": "√",
97
+ * "uniVer": "√",
98
+ * "unixVer": "x"
99
+ * },
100
+ * "baidu": {
101
+ * "hostVer": "√",
102
+ * "uniVer": "√",
103
+ * "unixVer": "x"
104
+ * },
105
+ * "toutiao": {
106
+ * "hostVer": "x",
107
+ * "uniVer": "x",
108
+ * "unixVer": "x"
109
+ * },
110
+ * "lark": {
111
+ * "hostVer": "x",
112
+ * "uniVer": "x",
113
+ * "unixVer": "x"
114
+ * },
115
+ * "qq": {
116
+ * "hostVer": "x",
117
+ * "uniVer": "x",
118
+ * "unixVer": "x"
119
+ * },
120
+ * "kuaishou": {
121
+ * "hostVer": "√",
122
+ * "uniVer": "√",
123
+ * "unixVer": "x"
124
+ * },
125
+ * "jd": {
126
+ * "hostVer": "x",
127
+ * "uniVer": "x",
128
+ * "unixVer": "x"
129
+ * }
130
+ * }
131
+ * }
132
+ */
133
+ onAccelerometerChange(callback : OnAccelerometerChangeCallback) : void;
134
+ /**
135
+ * 监听加速度数据变化事件
136
+ *
137
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/accelerometer.html#offaccelerometerchange
138
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/accelerometer.html#offaccelerometerchange
139
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/system/accelerometer.html#offaccelerometerchange
140
+ *
141
+ * @uniPlatform {
142
+ * "app": {
143
+ * "android": {
144
+ * "osVer": "5.0",
145
+ * "uniVer": "2.9.6",
146
+ * "unixVer": "5.08"
147
+ * },
148
+ * "ios": {
149
+ * "osVer": "12.0",
150
+ * "uniVer": "2.9.6",
151
+ * "unixVer": "5.08"
152
+ * },
153
+ * "harmony": {
154
+ * "osVer": "5.0.0",
155
+ * "uniVer": "5.08",
156
+ * "unixVer": "5.08",
157
+ * "unixvVer": "5.08"
158
+ * }
159
+ * },
160
+ * "web": {
161
+ * "uniVer": "2.9.6",
162
+ * "unixVer": "4.0"
163
+ * },
164
+ * "mp":{
165
+ * "weixin": {
166
+ * "hostVer": "2.9.3",
167
+ * "uniVer": "√",
168
+ * "unixVer": "4.41"
169
+ * },
170
+ * "alipay": {
171
+ * "hostVer": "√",
172
+ * "uniVer": "√",
173
+ * "unixVer": "x"
174
+ * },
175
+ * "baidu": {
176
+ * "hostVer": "√",
177
+ * "uniVer": "√",
178
+ * "unixVer": "x"
179
+ * },
180
+ * "toutiao": {
181
+ * "hostVer": "x",
182
+ * "uniVer": "x",
183
+ * "unixVer": "x"
184
+ * },
185
+ * "lark": {
186
+ * "hostVer": "x",
187
+ * "uniVer": "x",
188
+ * "unixVer": "x"
189
+ * },
190
+ * "qq": {
191
+ * "hostVer": "x",
192
+ * "uniVer": "x",
193
+ * "unixVer": "x"
194
+ * },
195
+ * "kuaishou": {
196
+ * "hostVer": "√",
197
+ * "uniVer": "√",
198
+ * "unixVer": "x"
199
+ * },
200
+ * "jd": {
201
+ * "hostVer": "x",
202
+ * "uniVer": "x",
203
+ * "unixVer": "x"
204
+ * }
205
+ * }
206
+ * }
207
+ */
208
+ offAccelerometerChange(callback : OnAccelerometerChangeCallback) : void;
209
+ /**
210
+ * 开始监听加速度数据变化事件
211
+ *
212
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/accelerometer.html#startaccelerometer
213
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/accelerometer.html#startaccelerometer
214
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/system/accelerometer.html#startaccelerometer
215
+ *
216
+ * @uniPlatform {
217
+ * "app": {
218
+ * "android": {
219
+ * "osVer": "5.0",
220
+ * "uniVer": "2.9.6",
221
+ * "unixVer": "5.08"
222
+ * },
223
+ * "ios": {
224
+ * "osVer": "12.0",
225
+ * "uniVer": "2.9.6",
226
+ * "unixVer": "5.08"
227
+ * },
228
+ * "harmony": {
229
+ * "osVer": "5.0.0",
230
+ * "uniVer": "5.08",
231
+ * "unixVer": "5.08",
232
+ * "unixvVer": "5.08"
233
+ * }
234
+ * },
235
+ * "web": {
236
+ * "uniVer": "2.9.6",
237
+ * "unixVer": "4.0"
238
+ * },
239
+ * "mp":{
240
+ * "weixin": {
241
+ * "hostVer": "2.9.3",
242
+ * "uniVer": "√",
243
+ * "unixVer": "4.41"
244
+ * },
245
+ * "alipay": {
246
+ * "hostVer": "√",
247
+ * "uniVer": "√",
248
+ * "unixVer": "x"
249
+ * },
250
+ * "baidu": {
251
+ * "hostVer": "√",
252
+ * "uniVer": "√",
253
+ * "unixVer": "x"
254
+ * },
255
+ * "toutiao": {
256
+ * "hostVer": "x",
257
+ * "uniVer": "x",
258
+ * "unixVer": "x"
259
+ * },
260
+ * "lark": {
261
+ * "hostVer": "x",
262
+ * "uniVer": "x",
263
+ * "unixVer": "x"
264
+ * },
265
+ * "qq": {
266
+ * "hostVer": "x",
267
+ * "uniVer": "x",
268
+ * "unixVer": "x"
269
+ * },
270
+ * "kuaishou": {
271
+ * "hostVer": "√",
272
+ * "uniVer": "√",
273
+ * "unixVer": "x"
274
+ * },
275
+ * "jd": {
276
+ * "hostVer": "x",
277
+ * "uniVer": "x",
278
+ * "unixVer": "x"
279
+ * }
280
+ * }
281
+ * }
282
+ */
283
+ startAccelerometer(options ?: StartAccelerometerOptions | null) : void;
284
+ /**
285
+ * 停止监听加速度数据变化事件
286
+ *
287
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/accelerometer.html#stopaccelerometer
288
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/accelerometer.html#stopaccelerometer
289
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/system/accelerometer.html#stopaccelerometer
290
+ *
291
+ * @uniPlatform {
292
+ * "app": {
293
+ * "android": {
294
+ * "osVer": "5.0",
295
+ * "uniVer": "2.9.6",
296
+ * "unixVer": "5.08"
297
+ * },
298
+ * "ios": {
299
+ * "osVer": "12.0",
300
+ * "uniVer": "2.9.6",
301
+ * "unixVer": "5.08"
302
+ * },
303
+ * "harmony": {
304
+ * "osVer": "5.0.0",
305
+ * "uniVer": "5.08",
306
+ * "unixVer": "5.08",
307
+ * "unixvVer": "5.08"
308
+ * }
309
+ * },
310
+ * "web": {
311
+ * "uniVer": "2.9.6",
312
+ * "unixVer": "4.0"
313
+ * },
314
+ * "mp":{
315
+ * "weixin": {
316
+ * "hostVer": "2.9.3",
317
+ * "uniVer": "√",
318
+ * "unixVer": "4.41"
319
+ * },
320
+ * "alipay": {
321
+ * "hostVer": "√",
322
+ * "uniVer": "√",
323
+ * "unixVer": "x"
324
+ * },
325
+ * "baidu": {
326
+ * "hostVer": "√",
327
+ * "uniVer": "√",
328
+ * "unixVer": "x"
329
+ * },
330
+ * "toutiao": {
331
+ * "hostVer": "x",
332
+ * "uniVer": "x",
333
+ * "unixVer": "x"
334
+ * },
335
+ * "lark": {
336
+ * "hostVer": "x",
337
+ * "uniVer": "x",
338
+ * "unixVer": "x"
339
+ * },
340
+ * "qq": {
341
+ * "hostVer": "x",
342
+ * "uniVer": "x",
343
+ * "unixVer": "x"
344
+ * },
345
+ * "kuaishou": {
346
+ * "hostVer": "√",
347
+ * "uniVer": "√",
348
+ * "unixVer": "x"
349
+ * },
350
+ * "jd": {
351
+ * "hostVer": "x",
352
+ * "uniVer": "x",
353
+ * "unixVer": "x"
354
+ * }
355
+ * }
356
+ * }
357
+ */
358
+ stopAccelerometer(options ?: StopAccelerometerOptions | null) : void;
359
+ }