@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
@@ -1,1095 +0,0 @@
1
- export interface ICompassError extends IUniError {
2
- errCode: number
3
- /**
4
- * 错误信息
5
- *
6
- * @uniPlatform {
7
- * "mp": {
8
- * "weixin": {
9
- * "hostVer": "√",
10
- * "uniVer": "√",
11
- * "unixVer": "4.41"
12
- * },
13
- * "alipay": {
14
- * "hostVer": "x",
15
- * "uniVer": "x",
16
- * "unixVer": "x"
17
- * },
18
- * "baidu": {
19
- * "hostVer": "x",
20
- * "uniVer": "x",
21
- * "unixVer": "x"
22
- * },
23
- * "toutiao": {
24
- * "hostVer": "x",
25
- * "uniVer": "x",
26
- * "unixVer": "x"
27
- * },
28
- * "lark": {
29
- * "hostVer": "x",
30
- * "uniVer": "x",
31
- * "unixVer": "x"
32
- * },
33
- * "qq": {
34
- * "hostVer": "x",
35
- * "uniVer": "x",
36
- * "unixVer": "x"
37
- * },
38
- * "kuaishou": {
39
- * "hostVer": "x",
40
- * "uniVer": "x",
41
- * "unixVer": "x"
42
- * },
43
- * "jd": {
44
- * "hostVer": "x",
45
- * "uniVer": "x",
46
- * "unixVer": "x"
47
- * }
48
- * }
49
- * }
50
- */
51
- errMsg?: string;
52
- }
53
- /**
54
- * uni.startCompass成功回调参数
55
- */
56
- export type CompassSuccess = {
57
- /**
58
- * 错误信息
59
- *
60
- * @uniPlatform {
61
- * "mp": {
62
- * "weixin": {
63
- * "hostVer": "√",
64
- * "uniVer": "√",
65
- * "unixVer": "4.41"
66
- * },
67
- * "alipay": {
68
- * "hostVer": "x",
69
- * "uniVer": "x",
70
- * "unixVer": "x"
71
- * },
72
- * "baidu": {
73
- * "hostVer": "x",
74
- * "uniVer": "x",
75
- * "unixVer": "x"
76
- * },
77
- * "toutiao": {
78
- * "hostVer": "x",
79
- * "uniVer": "x",
80
- * "unixVer": "x"
81
- * },
82
- * "lark": {
83
- * "hostVer": "x",
84
- * "uniVer": "x",
85
- * "unixVer": "x"
86
- * },
87
- * "qq": {
88
- * "hostVer": "x",
89
- * "uniVer": "x",
90
- * "unixVer": "x"
91
- * },
92
- * "kuaishou": {
93
- * "hostVer": "x",
94
- * "uniVer": "x",
95
- * "unixVer": "x"
96
- * },
97
- * "jd": {
98
- * "hostVer": "x",
99
- * "uniVer": "x",
100
- * "unixVer": "x"
101
- * }
102
- * }
103
- * }
104
- */
105
- errMsg?: string;
106
- }
107
- /**
108
- * uni.startCompass失败回调参数
109
- */
110
- export type CompassFail = ICompassError;
111
- /**
112
- * uni.startCompass成功回调函数定义
113
- * @uniPlatform {
114
- * "mp": {
115
- * "weixin": {
116
- * "hostVer": "√",
117
- * "uniVer": "√",
118
- * "unixVer": "4.41"
119
- * },
120
- * "alipay": {
121
- * "hostVer": "x",
122
- * "uniVer": "x",
123
- * "unixVer": "x"
124
- * },
125
- * "baidu": {
126
- * "hostVer": "x",
127
- * "uniVer": "x",
128
- * "unixVer": "x"
129
- * },
130
- * "toutiao": {
131
- * "hostVer": "x",
132
- * "uniVer": "x",
133
- * "unixVer": "x"
134
- * },
135
- * "lark": {
136
- * "hostVer": "x",
137
- * "uniVer": "x",
138
- * "unixVer": "x"
139
- * },
140
- * "qq": {
141
- * "hostVer": "x",
142
- * "uniVer": "x",
143
- * "unixVer": "x"
144
- * },
145
- * "kuaishou": {
146
- * "hostVer": "x",
147
- * "uniVer": "x",
148
- * "unixVer": "x"
149
- * },
150
- * "jd": {
151
- * "hostVer": "x",
152
- * "uniVer": "x",
153
- * "unixVer": "x"
154
- * }
155
- * }
156
- * }
157
- */
158
- export type CompassSuccessCallback = (res: CompassSuccess) => void
159
- /**
160
- * uni.startCompass失败回调函数定义
161
- * @uniPlatform {
162
- * "mp": {
163
- * "weixin": {
164
- * "hostVer": "√",
165
- * "uniVer": "√",
166
- * "unixVer": "4.41"
167
- * },
168
- * "alipay": {
169
- * "hostVer": "x",
170
- * "uniVer": "x",
171
- * "unixVer": "x"
172
- * },
173
- * "baidu": {
174
- * "hostVer": "x",
175
- * "uniVer": "x",
176
- * "unixVer": "x"
177
- * },
178
- * "toutiao": {
179
- * "hostVer": "x",
180
- * "uniVer": "x",
181
- * "unixVer": "x"
182
- * },
183
- * "lark": {
184
- * "hostVer": "x",
185
- * "uniVer": "x",
186
- * "unixVer": "x"
187
- * },
188
- * "qq": {
189
- * "hostVer": "x",
190
- * "uniVer": "x",
191
- * "unixVer": "x"
192
- * },
193
- * "kuaishou": {
194
- * "hostVer": "x",
195
- * "uniVer": "x",
196
- * "unixVer": "x"
197
- * },
198
- * "jd": {
199
- * "hostVer": "x",
200
- * "uniVer": "x",
201
- * "unixVer": "x"
202
- * }
203
- * }
204
- * }
205
- */
206
- export type CompassFailCallback = (res: CompassFail) => void
207
- /**
208
- * uni.startCompass完成回调函数定义
209
- * @uniPlatform {
210
- * "mp": {
211
- * "weixin": {
212
- * "hostVer": "√",
213
- * "uniVer": "√",
214
- * "unixVer": "4.41"
215
- * },
216
- * "alipay": {
217
- * "hostVer": "x",
218
- * "uniVer": "x",
219
- * "unixVer": "x"
220
- * },
221
- * "baidu": {
222
- * "hostVer": "x",
223
- * "uniVer": "x",
224
- * "unixVer": "x"
225
- * },
226
- * "toutiao": {
227
- * "hostVer": "x",
228
- * "uniVer": "x",
229
- * "unixVer": "x"
230
- * },
231
- * "lark": {
232
- * "hostVer": "x",
233
- * "uniVer": "x",
234
- * "unixVer": "x"
235
- * },
236
- * "qq": {
237
- * "hostVer": "x",
238
- * "uniVer": "x",
239
- * "unixVer": "x"
240
- * },
241
- * "kuaishou": {
242
- * "hostVer": "x",
243
- * "uniVer": "x",
244
- * "unixVer": "x"
245
- * },
246
- * "jd": {
247
- * "hostVer": "x",
248
- * "uniVer": "x",
249
- * "unixVer": "x"
250
- * }
251
- * }
252
- * }
253
- */
254
- export type CompassCompleteCallback = (res: any) => void
255
-
256
-
257
- /**
258
- * uni.startCompass
259
- * @uniPlatform {
260
- * "mp": {
261
- * "weixin": {
262
- * "hostVer": "√",
263
- * "uniVer": "√",
264
- * "unixVer": "4.41"
265
- * },
266
- * "alipay": {
267
- * "hostVer": "x",
268
- * "uniVer": "x",
269
- * "unixVer": "x"
270
- * },
271
- * "baidu": {
272
- * "hostVer": "x",
273
- * "uniVer": "x",
274
- * "unixVer": "x"
275
- * },
276
- * "toutiao": {
277
- * "hostVer": "x",
278
- * "uniVer": "x",
279
- * "unixVer": "x"
280
- * },
281
- * "lark": {
282
- * "hostVer": "x",
283
- * "uniVer": "x",
284
- * "unixVer": "x"
285
- * },
286
- * "qq": {
287
- * "hostVer": "x",
288
- * "uniVer": "x",
289
- * "unixVer": "x"
290
- * },
291
- * "kuaishou": {
292
- * "hostVer": "x",
293
- * "uniVer": "x",
294
- * "unixVer": "x"
295
- * },
296
- * "jd": {
297
- * "hostVer": "x",
298
- * "uniVer": "x",
299
- * "unixVer": "x"
300
- * }
301
- * }
302
- * }
303
- */
304
- interface StartCompassOptions {
305
- /**
306
- * 成功返回的回调函数
307
- * @uniPlatform {
308
- * "mp": {
309
- * "weixin": {
310
- * "hostVer": "√",
311
- * "uniVer": "√",
312
- * "unixVer": "4.41"
313
- * },
314
- * "alipay": {
315
- * "hostVer": "x",
316
- * "uniVer": "x",
317
- * "unixVer": "x"
318
- * },
319
- * "baidu": {
320
- * "hostVer": "x",
321
- * "uniVer": "x",
322
- * "unixVer": "x"
323
- * },
324
- * "toutiao": {
325
- * "hostVer": "x",
326
- * "uniVer": "x",
327
- * "unixVer": "x"
328
- * },
329
- * "lark": {
330
- * "hostVer": "x",
331
- * "uniVer": "x",
332
- * "unixVer": "x"
333
- * },
334
- * "qq": {
335
- * "hostVer": "x",
336
- * "uniVer": "x",
337
- * "unixVer": "x"
338
- * },
339
- * "kuaishou": {
340
- * "hostVer": "x",
341
- * "uniVer": "x",
342
- * "unixVer": "x"
343
- * },
344
- * "jd": {
345
- * "hostVer": "x",
346
- * "uniVer": "x",
347
- * "unixVer": "x"
348
- * }
349
- * }
350
- * }
351
- */
352
- success?: CompassSuccessCallback;
353
- /**
354
- * 失败的回调函数
355
- * @uniPlatform {
356
- * "mp": {
357
- * "weixin": {
358
- * "hostVer": "√",
359
- * "uniVer": "√",
360
- * "unixVer": "4.41"
361
- * },
362
- * "alipay": {
363
- * "hostVer": "x",
364
- * "uniVer": "x",
365
- * "unixVer": "x"
366
- * },
367
- * "baidu": {
368
- * "hostVer": "x",
369
- * "uniVer": "x",
370
- * "unixVer": "x"
371
- * },
372
- * "toutiao": {
373
- * "hostVer": "x",
374
- * "uniVer": "x",
375
- * "unixVer": "x"
376
- * },
377
- * "lark": {
378
- * "hostVer": "x",
379
- * "uniVer": "x",
380
- * "unixVer": "x"
381
- * },
382
- * "qq": {
383
- * "hostVer": "x",
384
- * "uniVer": "x",
385
- * "unixVer": "x"
386
- * },
387
- * "kuaishou": {
388
- * "hostVer": "x",
389
- * "uniVer": "x",
390
- * "unixVer": "x"
391
- * },
392
- * "jd": {
393
- * "hostVer": "x",
394
- * "uniVer": "x",
395
- * "unixVer": "x"
396
- * }
397
- * }
398
- * }
399
- */
400
- fail?: CompassFailCallback;
401
- /**
402
- * 结束的回调函数(调用成功、失败都会执行)
403
- * @uniPlatform {
404
- * "mp": {
405
- * "weixin": {
406
- * "hostVer": "√",
407
- * "uniVer": "√",
408
- * "unixVer": "4.41"
409
- * },
410
- * "alipay": {
411
- * "hostVer": "x",
412
- * "uniVer": "x",
413
- * "unixVer": "x"
414
- * },
415
- * "baidu": {
416
- * "hostVer": "x",
417
- * "uniVer": "x",
418
- * "unixVer": "x"
419
- * },
420
- * "toutiao": {
421
- * "hostVer": "x",
422
- * "uniVer": "x",
423
- * "unixVer": "x"
424
- * },
425
- * "lark": {
426
- * "hostVer": "x",
427
- * "uniVer": "x",
428
- * "unixVer": "x"
429
- * },
430
- * "qq": {
431
- * "hostVer": "x",
432
- * "uniVer": "x",
433
- * "unixVer": "x"
434
- * },
435
- * "kuaishou": {
436
- * "hostVer": "x",
437
- * "uniVer": "x",
438
- * "unixVer": "x"
439
- * },
440
- * "jd": {
441
- * "hostVer": "x",
442
- * "uniVer": "x",
443
- * "unixVer": "x"
444
- * }
445
- * }
446
- * }
447
- */
448
- complete?: CompassCompleteCallback;
449
- }
450
-
451
-
452
- interface StopCompassOptions {
453
- /**
454
- * 成功返回的回调函数
455
- * @uniPlatform {
456
- * "mp": {
457
- * "weixin": {
458
- * "hostVer": "√",
459
- * "uniVer": "√",
460
- * "unixVer": "4.41"
461
- * },
462
- * "alipay": {
463
- * "hostVer": "x",
464
- * "uniVer": "x",
465
- * "unixVer": "x"
466
- * },
467
- * "baidu": {
468
- * "hostVer": "x",
469
- * "uniVer": "x",
470
- * "unixVer": "x"
471
- * },
472
- * "toutiao": {
473
- * "hostVer": "x",
474
- * "uniVer": "x",
475
- * "unixVer": "x"
476
- * },
477
- * "lark": {
478
- * "hostVer": "x",
479
- * "uniVer": "x",
480
- * "unixVer": "x"
481
- * },
482
- * "qq": {
483
- * "hostVer": "x",
484
- * "uniVer": "x",
485
- * "unixVer": "x"
486
- * },
487
- * "kuaishou": {
488
- * "hostVer": "x",
489
- * "uniVer": "x",
490
- * "unixVer": "x"
491
- * },
492
- * "jd": {
493
- * "hostVer": "x",
494
- * "uniVer": "x",
495
- * "unixVer": "x"
496
- * }
497
- * }
498
- * }
499
- */
500
- success?: CompassSuccessCallback;
501
- /**
502
- * 失败的回调函数
503
- * @uniPlatform {
504
- * "mp": {
505
- * "weixin": {
506
- * "hostVer": "√",
507
- * "uniVer": "√",
508
- * "unixVer": "4.41"
509
- * },
510
- * "alipay": {
511
- * "hostVer": "x",
512
- * "uniVer": "x",
513
- * "unixVer": "x"
514
- * },
515
- * "baidu": {
516
- * "hostVer": "x",
517
- * "uniVer": "x",
518
- * "unixVer": "x"
519
- * },
520
- * "toutiao": {
521
- * "hostVer": "x",
522
- * "uniVer": "x",
523
- * "unixVer": "x"
524
- * },
525
- * "lark": {
526
- * "hostVer": "x",
527
- * "uniVer": "x",
528
- * "unixVer": "x"
529
- * },
530
- * "qq": {
531
- * "hostVer": "x",
532
- * "uniVer": "x",
533
- * "unixVer": "x"
534
- * },
535
- * "kuaishou": {
536
- * "hostVer": "x",
537
- * "uniVer": "x",
538
- * "unixVer": "x"
539
- * },
540
- * "jd": {
541
- * "hostVer": "x",
542
- * "uniVer": "x",
543
- * "unixVer": "x"
544
- * }
545
- * }
546
- * }
547
- */
548
- fail?: CompassFailCallback;
549
- /**
550
- * 结束的回调函数(调用成功、失败都会执行)
551
- * @uniPlatform {
552
- * "mp": {
553
- * "weixin": {
554
- * "hostVer": "√",
555
- * "uniVer": "√",
556
- * "unixVer": "4.41"
557
- * },
558
- * "alipay": {
559
- * "hostVer": "x",
560
- * "uniVer": "x",
561
- * "unixVer": "x"
562
- * },
563
- * "baidu": {
564
- * "hostVer": "x",
565
- * "uniVer": "x",
566
- * "unixVer": "x"
567
- * },
568
- * "toutiao": {
569
- * "hostVer": "x",
570
- * "uniVer": "x",
571
- * "unixVer": "x"
572
- * },
573
- * "lark": {
574
- * "hostVer": "x",
575
- * "uniVer": "x",
576
- * "unixVer": "x"
577
- * },
578
- * "qq": {
579
- * "hostVer": "x",
580
- * "uniVer": "x",
581
- * "unixVer": "x"
582
- * },
583
- * "kuaishou": {
584
- * "hostVer": "x",
585
- * "uniVer": "x",
586
- * "unixVer": "x"
587
- * },
588
- * "jd": {
589
- * "hostVer": "x",
590
- * "uniVer": "x",
591
- * "unixVer": "x"
592
- * }
593
- * }
594
- * }
595
- */
596
- complete?: CompassCompleteCallback;
597
- }
598
-
599
- /**
600
- * uni.onCompassChange
601
- * @uniPlatform {
602
- * "mp": {
603
- * "weixin": {
604
- * "hostVer": "√",
605
- * "uniVer": "√",
606
- * "unixVer": "4.41"
607
- * },
608
- * "alipay": {
609
- * "hostVer": "x",
610
- * "uniVer": "x",
611
- * "unixVer": "x"
612
- * },
613
- * "baidu": {
614
- * "hostVer": "x",
615
- * "uniVer": "x",
616
- * "unixVer": "x"
617
- * },
618
- * "toutiao": {
619
- * "hostVer": "x",
620
- * "uniVer": "x",
621
- * "unixVer": "x"
622
- * },
623
- * "lark": {
624
- * "hostVer": "x",
625
- * "uniVer": "x",
626
- * "unixVer": "x"
627
- * },
628
- * "qq": {
629
- * "hostVer": "x",
630
- * "uniVer": "x",
631
- * "unixVer": "x"
632
- * },
633
- * "kuaishou": {
634
- * "hostVer": "x",
635
- * "uniVer": "x",
636
- * "unixVer": "x"
637
- * },
638
- * "jd": {
639
- * "hostVer": "x",
640
- * "uniVer": "x",
641
- * "unixVer": "x"
642
- * }
643
- * }
644
- * }
645
- */
646
- interface OnCompassChangeSuccess {
647
- /**
648
- * 面对的方向度数
649
- * @uniPlatform {
650
- * "mp": {
651
- * "weixin": {
652
- * "hostVer": "√",
653
- * "uniVer": "√",
654
- * "unixVer": "4.41"
655
- * },
656
- * "alipay": {
657
- * "hostVer": "x",
658
- * "uniVer": "x",
659
- * "unixVer": "x"
660
- * },
661
- * "baidu": {
662
- * "hostVer": "x",
663
- * "uniVer": "x",
664
- * "unixVer": "x"
665
- * },
666
- * "toutiao": {
667
- * "hostVer": "x",
668
- * "uniVer": "x",
669
- * "unixVer": "x"
670
- * },
671
- * "lark": {
672
- * "hostVer": "x",
673
- * "uniVer": "x",
674
- * "unixVer": "x"
675
- * },
676
- * "qq": {
677
- * "hostVer": "x",
678
- * "uniVer": "x",
679
- * "unixVer": "x"
680
- * },
681
- * "kuaishou": {
682
- * "hostVer": "x",
683
- * "uniVer": "x",
684
- * "unixVer": "x"
685
- * },
686
- * "jd": {
687
- * "hostVer": "x",
688
- * "uniVer": "x",
689
- * "unixVer": "x"
690
- * }
691
- * }
692
- * }
693
- */
694
- direction: number;
695
- /**
696
- * 需要基础库: `2.4.0`
697
- *
698
- * 精度
699
- *
700
- * @uniPlatform {
701
- * "mp": {
702
- * "weixin": {
703
- * "hostVer": "2.4.0",
704
- * "uniVer": "√",
705
- * "unixVer": "4.41"
706
- * },
707
- * "alipay": {
708
- * "hostVer": "x",
709
- * "uniVer": "x",
710
- * "unixVer": "x"
711
- * },
712
- * "baidu": {
713
- * "hostVer": "x",
714
- * "uniVer": "x",
715
- * "unixVer": "x"
716
- * },
717
- * "toutiao": {
718
- * "hostVer": "x",
719
- * "uniVer": "x",
720
- * "unixVer": "x"
721
- * },
722
- * "lark": {
723
- * "hostVer": "x",
724
- * "uniVer": "x",
725
- * "unixVer": "x"
726
- * },
727
- * "qq": {
728
- * "hostVer": "x",
729
- * "uniVer": "x",
730
- * "unixVer": "x"
731
- * },
732
- * "kuaishou": {
733
- * "hostVer": "x",
734
- * "uniVer": "x",
735
- * "unixVer": "x"
736
- * },
737
- * "jd": {
738
- * "hostVer": "x",
739
- * "uniVer": "x",
740
- * "unixVer": "x"
741
- * }
742
- * }
743
- * }
744
- *
745
- * @type any
746
- */
747
- accuracy?: any;
748
- /**
749
- * 错误信息
750
- *
751
- * @uniPlatform {
752
- * "mp": {
753
- * "weixin": {
754
- * "hostVer": "√",
755
- * "uniVer": "√",
756
- * "unixVer": "4.41"
757
- * },
758
- * "alipay": {
759
- * "hostVer": "x",
760
- * "uniVer": "x",
761
- * "unixVer": "x"
762
- * },
763
- * "baidu": {
764
- * "hostVer": "x",
765
- * "uniVer": "x",
766
- * "unixVer": "x"
767
- * },
768
- * "toutiao": {
769
- * "hostVer": "x",
770
- * "uniVer": "x",
771
- * "unixVer": "x"
772
- * },
773
- * "lark": {
774
- * "hostVer": "x",
775
- * "uniVer": "x",
776
- * "unixVer": "x"
777
- * },
778
- * "qq": {
779
- * "hostVer": "x",
780
- * "uniVer": "x",
781
- * "unixVer": "x"
782
- * },
783
- * "kuaishou": {
784
- * "hostVer": "x",
785
- * "uniVer": "x",
786
- * "unixVer": "x"
787
- * },
788
- * "jd": {
789
- * "hostVer": "x",
790
- * "uniVer": "x",
791
- * "unixVer": "x"
792
- * }
793
- * }
794
- * }
795
- */
796
- errMsg?: string;
797
- }
798
-
799
- export type OnCompassChange = (result: OnCompassChangeSuccess) => void
800
-
801
-
802
- export interface Uni {
803
- /**
804
- * 监听罗盘数据
805
- *
806
- * @tutorial https://uniapp.dcloud.io/api/system/compass.html#oncompasschange
807
- * @tutorial_uni_app https://uniapp.dcloud.io/api/system/compass.html#oncompasschange
808
- * @uniPlatform {
809
- * "app": {
810
- * "android": {
811
- * "osVer": "5.0",
812
- * "uniVer": "√",
813
- * "unixVer": "x"
814
- * },
815
- * "ios": {
816
- * "osVer": "12.0",
817
- * "uniVer": "√",
818
- * "unixVer": "x"
819
- * },
820
- * "harmony": {
821
- * "osVer": "x",
822
- * "uniVer": "x",
823
- * "unixVer": "x"
824
- * }
825
- * },
826
- * "mp": {
827
- * "weixin": {
828
- * "hostVer": "√",
829
- * "uniVer": "√",
830
- * "unixVer": "4.41"
831
- * },
832
- * "alipay": {
833
- * "hostVer": "√",
834
- * "uniVer": "x",
835
- * "unixVer": "x"
836
- * },
837
- * "baidu": {
838
- * "hostVer": "√",
839
- * "uniVer": "x",
840
- * "unixVer": "x"
841
- * },
842
- * "toutiao": {
843
- * "hostVer": "√",
844
- * "uniVer": "x",
845
- * "unixVer": "x"
846
- * },
847
- * "lark": {
848
- * "hostVer": "√",
849
- * "uniVer": "x",
850
- * "unixVer": "x"
851
- * },
852
- * "qq": {
853
- * "hostVer": "√",
854
- * "uniVer": "x",
855
- * "unixVer": "x"
856
- * },
857
- * "kuaishou": {
858
- * "hostVer": "√",
859
- * "uniVer": "√",
860
- * "unixVer": "x"
861
- * },
862
- * "jd": {
863
- * "hostVer": "√",
864
- * "uniVer": "x",
865
- * "unixVer": "x"
866
- * }
867
- * },
868
- * "web": {
869
- * "uniVer": "√",
870
- * "unixVer": "4.0"
871
- * }
872
- * }
873
- * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/device/compass/wx.onCompassChange.html
874
- */
875
- onCompassChange(callback: OnCompassChange): void;
876
- /**
877
- * 取消监听罗盘数据
878
- *
879
- * @tutorial https://uniapp.dcloud.io/api/system/compass.html#offcompasschange
880
- * @tutorial_uni_app https://uniapp.dcloud.io/api/system/compass.html#offcompasschange
881
- * @uniPlatform {
882
- * "app": {
883
- * "android": {
884
- * "osVer": "5.0",
885
- * "uniVer": "√",
886
- * "unixVer": "x"
887
- * },
888
- * "ios": {
889
- * "osVer": "12.0",
890
- * "uniVer": "√",
891
- * "unixVer": "x"
892
- * },
893
- * "harmony": {
894
- * "osVer": "x",
895
- * "uniVer": "x",
896
- * "unixVer": "x"
897
- * }
898
- * },
899
- * "mp": {
900
- * "weixin": {
901
- * "hostVer": "2.9.3",
902
- * "uniVer": "√",
903
- * "unixVer": "4.41"
904
- * },
905
- * "alipay": {
906
- * "hostVer": "√",
907
- * "uniVer": "x",
908
- * "unixVer": "x"
909
- * },
910
- * "baidu": {
911
- * "hostVer": "√",
912
- * "uniVer": "x",
913
- * "unixVer": "x"
914
- * },
915
- * "toutiao": {
916
- * "hostVer": "√",
917
- * "uniVer": "x",
918
- * "unixVer": "x"
919
- * },
920
- * "lark": {
921
- * "hostVer": "√",
922
- * "uniVer": "x",
923
- * "unixVer": "x"
924
- * },
925
- * "qq": {
926
- * "hostVer": "√",
927
- * "uniVer": "x",
928
- * "unixVer": "x"
929
- * },
930
- * "kuaishou": {
931
- * "hostVer": "√",
932
- * "uniVer": "√",
933
- * "unixVer": "x"
934
- * },
935
- * "jd": {
936
- * "hostVer": "√",
937
- * "uniVer": "x",
938
- * "unixVer": "x"
939
- * }
940
- * },
941
- * "web": {
942
- * "uniVer": "√",
943
- * "unixVer": "4.0"
944
- * }
945
- * }
946
- * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/device/compass/wx.offCompassChange.html
947
- */
948
- offCompassChange(callback: OnCompassChange): void;
949
- /**
950
- * 开始监听罗盘数据
951
- *
952
- * @tutorial https://uniapp.dcloud.io/api/system/compass.html#startcompass
953
- * @tutorial_uni_app https://uniapp.dcloud.io/api/system/compass.html#startcompass
954
- * @uniPlatform {
955
- * "app": {
956
- * "android": {
957
- * "osVer": "5.0",
958
- * "uniVer": "√",
959
- * "unixVer": "x"
960
- * },
961
- * "ios": {
962
- * "osVer": "12.0",
963
- * "uniVer": "√",
964
- * "unixVer": "x"
965
- * },
966
- * "harmony": {
967
- * "osVer": "x",
968
- * "uniVer": "x",
969
- * "unixVer": "x"
970
- * }
971
- * },
972
- * "mp": {
973
- * "weixin": {
974
- * "hostVer": "1.1.0",
975
- * "uniVer": "√",
976
- * "unixVer": "4.41"
977
- * },
978
- * "alipay": {
979
- * "hostVer": "√",
980
- * "uniVer": "x",
981
- * "unixVer": "x"
982
- * },
983
- * "baidu": {
984
- * "hostVer": "√",
985
- * "uniVer": "√",
986
- * "unixVer": "x"
987
- * },
988
- * "toutiao": {
989
- * "hostVer": "√",
990
- * "uniVer": "√",
991
- * "unixVer": "x"
992
- * },
993
- * "lark": {
994
- * "hostVer": "√",
995
- * "uniVer": "√",
996
- * "unixVer": "x"
997
- * },
998
- * "qq": {
999
- * "hostVer": "√",
1000
- * "uniVer": "√",
1001
- * "unixVer": "x"
1002
- * },
1003
- * "kuaishou": {
1004
- * "hostVer": "√",
1005
- * "uniVer": "√",
1006
- * "unixVer": "x"
1007
- * },
1008
- * "jd": {
1009
- * "hostVer": "√",
1010
- * "uniVer": "x",
1011
- * "unixVer": "x"
1012
- * }
1013
- * },
1014
- * "web": {
1015
- * "uniVer": "√",
1016
- * "unixVer": "4.0"
1017
- * }
1018
- * }
1019
- * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/device/compass/wx.startCompass.html
1020
- */
1021
- startCompass(options?: StartCompassOptions): void;
1022
- /**
1023
- * 停止监听罗盘数据
1024
- *
1025
- * @tutorial https://uniapp.dcloud.io/api/system/compass.html#stopcompass
1026
- * @tutorial_uni_app https://uniapp.dcloud.io/api/system/compass.html#stopcompass
1027
- * @uniPlatform {
1028
- * "app": {
1029
- * "android": {
1030
- * "osVer": "5.0",
1031
- * "uniVer": "√",
1032
- * "unixVer": "x"
1033
- * },
1034
- * "ios": {
1035
- * "osVer": "12.0",
1036
- * "uniVer": "√",
1037
- * "unixVer": "x"
1038
- * },
1039
- * "harmony": {
1040
- * "osVer": "x",
1041
- * "uniVer": "x",
1042
- * "unixVer": "x"
1043
- * }
1044
- * },
1045
- * "mp": {
1046
- * "weixin": {
1047
- * "hostVer": "1.1.0",
1048
- * "uniVer": "√",
1049
- * "unixVer": "4.41"
1050
- * },
1051
- * "alipay": {
1052
- * "hostVer": "√",
1053
- * "uniVer": "x",
1054
- * "unixVer": "x"
1055
- * },
1056
- * "baidu": {
1057
- * "hostVer": "√",
1058
- * "uniVer": "√",
1059
- * "unixVer": "x"
1060
- * },
1061
- * "toutiao": {
1062
- * "hostVer": "√",
1063
- * "uniVer": "√",
1064
- * "unixVer": "x"
1065
- * },
1066
- * "lark": {
1067
- * "hostVer": "√",
1068
- * "uniVer": "√",
1069
- * "unixVer": "x"
1070
- * },
1071
- * "qq": {
1072
- * "hostVer": "√",
1073
- * "uniVer": "√",
1074
- * "unixVer": "x"
1075
- * },
1076
- * "kuaishou": {
1077
- * "hostVer": "√",
1078
- * "uniVer": "√",
1079
- * "unixVer": "x"
1080
- * },
1081
- * "jd": {
1082
- * "hostVer": "√",
1083
- * "uniVer": "x",
1084
- * "unixVer": "x"
1085
- * }
1086
- * },
1087
- * "web": {
1088
- * "uniVer": "√",
1089
- * "unixVer": "4.0"
1090
- * }
1091
- * }
1092
- * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/device/compass/wx.stopCompass.html
1093
- */
1094
- stopCompass(options?: StopCompassOptions): void;
1095
- }