@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,59 @@
1
+ // 本文件为自动构建生成
2
+ import {
3
+ StartSoterAuthentication as StartSoterAuthenticationOrigin,
4
+ SoterAuthMode as SoterAuthModeOrigin,
5
+ StartSoterAuthenticationSuccess as StartSoterAuthenticationSuccessOrigin,
6
+ StartSoterAuthenticationSuccessCallback as StartSoterAuthenticationSuccessCallbackOrigin,
7
+ StartSoterAuthenticationFail as StartSoterAuthenticationFailOrigin,
8
+ StartSoterAuthenticationFailCallback as StartSoterAuthenticationFailCallbackOrigin,
9
+ StartSoterAuthenticationComplete as StartSoterAuthenticationCompleteOrigin,
10
+ StartSoterAuthenticationCompleteCallback as StartSoterAuthenticationCompleteCallbackOrigin,
11
+ StartSoterAuthenticationOptions as StartSoterAuthenticationOptionsOrigin,
12
+ CheckIsSupportSoterAuthentication as CheckIsSupportSoterAuthenticationOrigin,
13
+ CheckIsSupportSoterAuthenticationSuccess as CheckIsSupportSoterAuthenticationSuccessOrigin,
14
+ CheckIsSupportSoterAuthenticationSuccessCallback as CheckIsSupportSoterAuthenticationSuccessCallbackOrigin,
15
+ CheckIsSupportSoterAuthenticationFail as CheckIsSupportSoterAuthenticationFailOrigin,
16
+ CheckIsSupportSoterAuthenticationFailCallback as CheckIsSupportSoterAuthenticationFailCallbackOrigin,
17
+ CheckIsSupportSoterAuthenticationComplete as CheckIsSupportSoterAuthenticationCompleteOrigin,
18
+ CheckIsSupportSoterAuthenticationCompleteCallback as CheckIsSupportSoterAuthenticationCompleteCallbackOrigin,
19
+ CheckIsSupportSoterAuthenticationOptions as CheckIsSupportSoterAuthenticationOptionsOrigin,
20
+ CheckIsSoterEnrolledInDevice as CheckIsSoterEnrolledInDeviceOrigin,
21
+ CheckIsSoterEnrolledInDeviceSuccess as CheckIsSoterEnrolledInDeviceSuccessOrigin,
22
+ CheckIsSoterEnrolledInDeviceSuccessCallback as CheckIsSoterEnrolledInDeviceSuccessCallbackOrigin,
23
+ CheckIsSoterEnrolledInDeviceFail as CheckIsSoterEnrolledInDeviceFailOrigin,
24
+ CheckIsSoterEnrolledInDeviceFailCallback as CheckIsSoterEnrolledInDeviceFailCallbackOrigin,
25
+ CheckIsSoterEnrolledInDeviceComplete as CheckIsSoterEnrolledInDeviceCompleteOrigin,
26
+ CheckIsSoterEnrolledInDeviceCompleteCallback as CheckIsSoterEnrolledInDeviceCompleteCallbackOrigin,
27
+ CheckIsSoterEnrolledInDeviceOptions as CheckIsSoterEnrolledInDeviceOptionsOrigin,
28
+ Uni as UniOrigin
29
+ } from './interface'
30
+
31
+ declare global {
32
+ type StartSoterAuthentication = StartSoterAuthenticationOrigin
33
+ type SoterAuthMode = SoterAuthModeOrigin
34
+ type StartSoterAuthenticationSuccess = StartSoterAuthenticationSuccessOrigin
35
+ type StartSoterAuthenticationSuccessCallback = StartSoterAuthenticationSuccessCallbackOrigin
36
+ type StartSoterAuthenticationFail = StartSoterAuthenticationFailOrigin
37
+ type StartSoterAuthenticationFailCallback = StartSoterAuthenticationFailCallbackOrigin
38
+ type StartSoterAuthenticationComplete = StartSoterAuthenticationCompleteOrigin
39
+ type StartSoterAuthenticationCompleteCallback = StartSoterAuthenticationCompleteCallbackOrigin
40
+ type StartSoterAuthenticationOptions = StartSoterAuthenticationOptionsOrigin
41
+ type CheckIsSupportSoterAuthentication = CheckIsSupportSoterAuthenticationOrigin
42
+ type CheckIsSupportSoterAuthenticationSuccess = CheckIsSupportSoterAuthenticationSuccessOrigin
43
+ type CheckIsSupportSoterAuthenticationSuccessCallback = CheckIsSupportSoterAuthenticationSuccessCallbackOrigin
44
+ type CheckIsSupportSoterAuthenticationFail = CheckIsSupportSoterAuthenticationFailOrigin
45
+ type CheckIsSupportSoterAuthenticationFailCallback = CheckIsSupportSoterAuthenticationFailCallbackOrigin
46
+ type CheckIsSupportSoterAuthenticationComplete = CheckIsSupportSoterAuthenticationCompleteOrigin
47
+ type CheckIsSupportSoterAuthenticationCompleteCallback = CheckIsSupportSoterAuthenticationCompleteCallbackOrigin
48
+ type CheckIsSupportSoterAuthenticationOptions = CheckIsSupportSoterAuthenticationOptionsOrigin
49
+ type CheckIsSoterEnrolledInDevice = CheckIsSoterEnrolledInDeviceOrigin
50
+ type CheckIsSoterEnrolledInDeviceSuccess = CheckIsSoterEnrolledInDeviceSuccessOrigin
51
+ type CheckIsSoterEnrolledInDeviceSuccessCallback = CheckIsSoterEnrolledInDeviceSuccessCallbackOrigin
52
+ type CheckIsSoterEnrolledInDeviceFail = CheckIsSoterEnrolledInDeviceFailOrigin
53
+ type CheckIsSoterEnrolledInDeviceFailCallback = CheckIsSoterEnrolledInDeviceFailCallbackOrigin
54
+ type CheckIsSoterEnrolledInDeviceComplete = CheckIsSoterEnrolledInDeviceCompleteOrigin
55
+ type CheckIsSoterEnrolledInDeviceCompleteCallback = CheckIsSoterEnrolledInDeviceCompleteCallbackOrigin
56
+ type CheckIsSoterEnrolledInDeviceOptions = CheckIsSoterEnrolledInDeviceOptionsOrigin
57
+ interface Uni extends UniOrigin { }
58
+ }
59
+
@@ -0,0 +1,29 @@
1
+ // 本文件为自动构建生成
2
+ export {
3
+ StartSoterAuthentication,
4
+ SoterAuthMode,
5
+ StartSoterAuthenticationSuccess,
6
+ StartSoterAuthenticationSuccessCallback,
7
+ StartSoterAuthenticationFail,
8
+ StartSoterAuthenticationFailCallback,
9
+ StartSoterAuthenticationComplete,
10
+ StartSoterAuthenticationCompleteCallback,
11
+ StartSoterAuthenticationOptions,
12
+ CheckIsSupportSoterAuthentication,
13
+ CheckIsSupportSoterAuthenticationSuccess,
14
+ CheckIsSupportSoterAuthenticationSuccessCallback,
15
+ CheckIsSupportSoterAuthenticationFail,
16
+ CheckIsSupportSoterAuthenticationFailCallback,
17
+ CheckIsSupportSoterAuthenticationComplete,
18
+ CheckIsSupportSoterAuthenticationCompleteCallback,
19
+ CheckIsSupportSoterAuthenticationOptions,
20
+ CheckIsSoterEnrolledInDevice,
21
+ CheckIsSoterEnrolledInDeviceSuccess,
22
+ CheckIsSoterEnrolledInDeviceSuccessCallback,
23
+ CheckIsSoterEnrolledInDeviceFail,
24
+ CheckIsSoterEnrolledInDeviceFailCallback,
25
+ CheckIsSoterEnrolledInDeviceComplete,
26
+ CheckIsSoterEnrolledInDeviceCompleteCallback,
27
+ CheckIsSoterEnrolledInDeviceOptions,
28
+ } from './interface'
29
+
@@ -0,0 +1,371 @@
1
+
2
+ export interface Uni {
3
+ /**
4
+ * 开始 生物认证
5
+ *
6
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/bio-auth.html#startsoterauthentication
7
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/system/authentication.html#startsoterauthentication
8
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/bio-auth.html#startsoterauthentication
9
+ *
10
+ * @uniPlatform {
11
+ * "app": {
12
+ * "android": {
13
+ * "osVer": "5.0",
14
+ * "uniVer": "2.3.8",
15
+ * "unixVer": "5.08"
16
+ * },
17
+ * "ios": {
18
+ * "osVer": "12.0",
19
+ * "uniVer": "2.3.8",
20
+ * "unixVer": "5.08"
21
+ * },
22
+ * "harmony": {
23
+ * "osVer": "3.0",
24
+ * "uniVer": "4.31",
25
+ * "unixVer": "4.61",
26
+ * "unixVaporVer": "5.0"
27
+ * }
28
+ * },
29
+ * "web": {
30
+ * "uniVer": "x",
31
+ * "unixVer": "x"
32
+ * },
33
+ * "mp":{
34
+ * "weixin": {
35
+ * "hostVer": "√",
36
+ * "uniVer": "√",
37
+ * "unixVer": "4.41"
38
+ * },
39
+ * "alipay": {
40
+ * "hostVer": "x",
41
+ * "uniVer": "x",
42
+ * "unixVer": "x"
43
+ * },
44
+ * "baidu": {
45
+ * "hostVer": "x",
46
+ * "uniVer": "x",
47
+ * "unixVer": "x"
48
+ * },
49
+ * "toutiao": {
50
+ * "hostVer": "x",
51
+ * "uniVer": "x",
52
+ * "unixVer": "x"
53
+ * },
54
+ * "lark": {
55
+ * "hostVer": "x",
56
+ * "uniVer": "x",
57
+ * "unixVer": "x"
58
+ * },
59
+ * "qq": {
60
+ * "hostVer": "x",
61
+ * "uniVer": "x",
62
+ * "unixVer": "x"
63
+ * },
64
+ * "kuaishou": {
65
+ * "hostVer": "x",
66
+ * "uniVer": "x",
67
+ * "unixVer": "x"
68
+ * },
69
+ * "jd": {
70
+ * "hostVer": "x",
71
+ * "uniVer": "x",
72
+ * "unixVer": "x"
73
+ * }
74
+ * }
75
+ * }
76
+ */
77
+ startSoterAuthentication(options: StartSoterAuthenticationOptions): void;
78
+ /**
79
+ * 获取本机支持的 生物认证方式
80
+ *
81
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/bio-auth.html#checkissupportsoterauthentication
82
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/bio-auth.html#checkissupportsoterauthentication
83
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/system/authentication.html#checkissupportsoterauthentication
84
+ *
85
+ * @uniPlatform {
86
+ * "app": {
87
+ * "android": {
88
+ * "osVer": "5.0",
89
+ * "uniVer": "2.3.8",
90
+ * "unixVer": "5.08"
91
+ * },
92
+ * "ios": {
93
+ * "osVer": "12.0",
94
+ * "uniVer": "2.3.8",
95
+ * "unixVer": "5.08"
96
+ * },
97
+ * "harmony": {
98
+ * "osVer": "3.0",
99
+ * "uniVer": "4.31",
100
+ * "unixVer": "4.61",
101
+ * "unixVaporVer": "5.0"
102
+ * }
103
+ * },
104
+ * "web": {
105
+ * "uniVer": "x",
106
+ * "unixVer": "x"
107
+ * },
108
+ * "mp":{
109
+ * "weixin": {
110
+ * "hostVer": "√",
111
+ * "uniVer": "√",
112
+ * "unixVer": "4.41"
113
+ * },
114
+ * "alipay": {
115
+ * "hostVer": "x",
116
+ * "uniVer": "x",
117
+ * "unixVer": "x"
118
+ * },
119
+ * "baidu": {
120
+ * "hostVer": "x",
121
+ * "uniVer": "x",
122
+ * "unixVer": "x"
123
+ * },
124
+ * "toutiao": {
125
+ * "hostVer": "x",
126
+ * "uniVer": "x",
127
+ * "unixVer": "x"
128
+ * },
129
+ * "lark": {
130
+ * "hostVer": "x",
131
+ * "uniVer": "x",
132
+ * "unixVer": "x"
133
+ * },
134
+ * "qq": {
135
+ * "hostVer": "x",
136
+ * "uniVer": "x",
137
+ * "unixVer": "x"
138
+ * },
139
+ * "kuaishou": {
140
+ * "hostVer": "x",
141
+ * "uniVer": "x",
142
+ * "unixVer": "x"
143
+ * },
144
+ * "jd": {
145
+ * "hostVer": "x",
146
+ * "uniVer": "x",
147
+ * "unixVer": "x"
148
+ * }
149
+ * }
150
+ * }
151
+ */
152
+ checkIsSupportSoterAuthentication(options: CheckIsSupportSoterAuthenticationOptions): void;
153
+ /**
154
+ * 获取设备内是否录入如指纹等生物信息
155
+ *
156
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/bio-auth.html#checkissoterenrolledindevice
157
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/bio-auth.html#checkissoterenrolledindevice
158
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/system/authentication.html#checkissoterenrolledindevice
159
+ *
160
+ * @uniPlatform {
161
+ * "app": {
162
+ * "android": {
163
+ * "osVer": "5.0",
164
+ * "uniVer": "2.3.8",
165
+ * "unixVer": "5.08"
166
+ * },
167
+ * "ios": {
168
+ * "osVer": "12.0",
169
+ * "uniVer": "2.3.8",
170
+ * "unixVer": "5.08"
171
+ * },
172
+ * "harmony": {
173
+ * "osVer": "3.0",
174
+ * "uniVer": "4.31",
175
+ * "unixVer": "4.61",
176
+ * "unixVaporVer": "5.0"
177
+ * }
178
+ * },
179
+ * "web": {
180
+ * "uniVer": "x",
181
+ * "unixVer": "x"
182
+ * },
183
+ * "mp":{
184
+ * "weixin": {
185
+ * "hostVer": "√",
186
+ * "uniVer": "√",
187
+ * "unixVer": "4.41"
188
+ * },
189
+ * "alipay": {
190
+ * "hostVer": "x",
191
+ * "uniVer": "x",
192
+ * "unixVer": "x"
193
+ * },
194
+ * "baidu": {
195
+ * "hostVer": "x",
196
+ * "uniVer": "x",
197
+ * "unixVer": "x"
198
+ * },
199
+ * "toutiao": {
200
+ * "hostVer": "x",
201
+ * "uniVer": "x",
202
+ * "unixVer": "x"
203
+ * },
204
+ * "lark": {
205
+ * "hostVer": "x",
206
+ * "uniVer": "x",
207
+ * "unixVer": "x"
208
+ * },
209
+ * "qq": {
210
+ * "hostVer": "x",
211
+ * "uniVer": "x",
212
+ * "unixVer": "x"
213
+ * },
214
+ * "kuaishou": {
215
+ * "hostVer": "x",
216
+ * "uniVer": "x",
217
+ * "unixVer": "x"
218
+ * },
219
+ * "jd": {
220
+ * "hostVer": "x",
221
+ * "uniVer": "x",
222
+ * "unixVer": "x"
223
+ * }
224
+ * }
225
+ * }
226
+ */
227
+ checkIsSoterEnrolledInDevice(options: CheckIsSoterEnrolledInDeviceOptions): void;
228
+ }
229
+
230
+ export type StartSoterAuthentication = (options: StartSoterAuthenticationOptions) => void;
231
+ /**
232
+ * 生物认证方式
233
+ */
234
+ export type SoterAuthMode =
235
+ /**
236
+ * 指纹识别
237
+ */
238
+ 'fingerPrint' |
239
+ /**
240
+ * 人脸识别
241
+ */
242
+ 'facial' |
243
+ /**
244
+ * 声纹识别(暂未支持)
245
+ */
246
+ 'speech';
247
+
248
+ export type StartSoterAuthenticationSuccess = {
249
+ /**
250
+ * 错误码
251
+ */
252
+ errCode: number,
253
+ /**
254
+ * 生物认证方式
255
+ * - fingerPrint: 指纹识别
256
+ * - facial: 人脸识别
257
+ * - speech: 声纹识别(暂未支持)
258
+ */
259
+ authMode: SoterAuthMode,
260
+ /**
261
+ * 在设备安全区域(TEE)内获得的本机安全信息以及本次认证信息
262
+ */
263
+ resultJSON?: string | null,
264
+ /**
265
+ * 用安全密钥对 resultJSON 的签名(SHA256 with RSA/PSS, saltlen=20)
266
+ */
267
+ resultJSONSignature?: string | null,
268
+ /**
269
+ * 接口调用结果
270
+ */
271
+ errMsg: string
272
+ };
273
+ export type StartSoterAuthenticationSuccessCallback = (result: StartSoterAuthenticationSuccess) => void;
274
+ export type StartSoterAuthenticationFail = UniError;
275
+ export type StartSoterAuthenticationFailCallback = (result: StartSoterAuthenticationFail) => void;
276
+ export type StartSoterAuthenticationComplete = any;
277
+ export type StartSoterAuthenticationCompleteCallback = (result: StartSoterAuthenticationComplete) => void;
278
+ export type StartSoterAuthenticationOptions = {
279
+ /**
280
+ * 请求使用的可接受的生物认证方式
281
+ */
282
+ requestAuthModes: SoterAuthMode[],
283
+ /**
284
+ * 挑战因子
285
+ */
286
+ challenge?: string | null,
287
+ /**
288
+ * 验证描述,即识别过程中显示在界面上的对话框提示内容
289
+ */
290
+ authContent?: string | null,
291
+ /**
292
+ * 接口调用成功的回调函数
293
+ */
294
+ success?: StartSoterAuthenticationSuccessCallback | null,
295
+ /**
296
+ * 接口调用失败的回调函数
297
+ */
298
+ fail?: StartSoterAuthenticationFailCallback | null,
299
+ /**
300
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
301
+ */
302
+ complete?: StartSoterAuthenticationCompleteCallback | null
303
+ };
304
+ export type CheckIsSupportSoterAuthentication = (options: CheckIsSupportSoterAuthenticationOptions) => void;
305
+ export type CheckIsSupportSoterAuthenticationSuccess = {
306
+ /**
307
+ * 接口调用成功的回调函数
308
+ */
309
+ supportMode: SoterAuthMode[],
310
+ /**
311
+ * 接口调用结果
312
+ */
313
+ errMsg: string
314
+ };
315
+ export type CheckIsSupportSoterAuthenticationSuccessCallback = (result: CheckIsSupportSoterAuthenticationSuccess) => void;
316
+ export type CheckIsSupportSoterAuthenticationFail = UniError;
317
+ export type CheckIsSupportSoterAuthenticationFailCallback = (result: CheckIsSupportSoterAuthenticationFail) => void;
318
+ export type CheckIsSupportSoterAuthenticationComplete = any;
319
+ export type CheckIsSupportSoterAuthenticationCompleteCallback = (result: CheckIsSupportSoterAuthenticationComplete) => void;
320
+ export type CheckIsSupportSoterAuthenticationOptions = {
321
+ /**
322
+ * 接口调用成功的回调函数
323
+ */
324
+ success?: CheckIsSupportSoterAuthenticationSuccessCallback | null,
325
+ /**
326
+ * 接口调用失败的回调函数
327
+ */
328
+ fail?: CheckIsSupportSoterAuthenticationFailCallback | null,
329
+ /**
330
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
331
+ */
332
+ complete?: CheckIsSupportSoterAuthenticationCompleteCallback | null
333
+ };
334
+ export type CheckIsSoterEnrolledInDevice = (options: CheckIsSoterEnrolledInDeviceOptions) => void;
335
+ export type CheckIsSoterEnrolledInDeviceSuccess = {
336
+ /**
337
+ * 是否已录入信息
338
+ * @type boolean
339
+ */
340
+ isEnrolled: boolean,
341
+ /**
342
+ * 错误信息
343
+ */
344
+ errMsg: string
345
+ };
346
+ export type CheckIsSoterEnrolledInDeviceSuccessCallback = (result: CheckIsSoterEnrolledInDeviceSuccess) => void;
347
+ export type CheckIsSoterEnrolledInDeviceFail = UniError;
348
+ export type CheckIsSoterEnrolledInDeviceFailCallback = (result: CheckIsSoterEnrolledInDeviceFail) => void;
349
+ export type CheckIsSoterEnrolledInDeviceComplete = any;
350
+ export type CheckIsSoterEnrolledInDeviceCompleteCallback = (result: CheckIsSoterEnrolledInDeviceComplete) => void;
351
+ export type CheckIsSoterEnrolledInDeviceOptions = {
352
+ /**
353
+ * 生物认证方式
354
+ * - fingerPrint: 指纹识别
355
+ * - facial: 人脸识别(暂未支持)
356
+ * - speech: 声纹识别(暂未支持)
357
+ */
358
+ checkAuthMode: SoterAuthMode,
359
+ /**
360
+ * 接口调用成功的回调函数
361
+ */
362
+ success?: CheckIsSoterEnrolledInDeviceSuccessCallback | null,
363
+ /**
364
+ * 接口调用失败的回调函数
365
+ */
366
+ fail?: CheckIsSoterEnrolledInDeviceFailCallback | null,
367
+ /**
368
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
369
+ */
370
+ complete?: CheckIsSoterEnrolledInDeviceCompleteCallback | null
371
+ };
@@ -0,0 +1,35 @@
1
+ // 本文件为自动构建生成
2
+ import {
3
+ CalendarRepeatInterval as CalendarRepeatIntervalOrigin,
4
+ CalendarErrorCode as CalendarErrorCodeOrigin,
5
+ ICalendarError as ICalendarErrorOrigin,
6
+ CalendarSuccess as CalendarSuccessOrigin,
7
+ CalendarFail as CalendarFailOrigin,
8
+ CalendarSuccessCallback as CalendarSuccessCallbackOrigin,
9
+ CalendarFailCallback as CalendarFailCallbackOrigin,
10
+ CalendarComplete as CalendarCompleteOrigin,
11
+ CalendarCompleteCallback as CalendarCompleteCallbackOrigin,
12
+ AddPhoneCalendarOptions as AddPhoneCalendarOptionsOrigin,
13
+ AddPhoneRepeatCalendarOptions as AddPhoneRepeatCalendarOptionsOrigin,
14
+ AddPhoneCalendar as AddPhoneCalendarOrigin,
15
+ AddPhoneRepeatCalendar as AddPhoneRepeatCalendarOrigin,
16
+ Uni as UniOrigin
17
+ } from './interface'
18
+
19
+ declare global {
20
+ type CalendarRepeatInterval = CalendarRepeatIntervalOrigin
21
+ type CalendarErrorCode = CalendarErrorCodeOrigin
22
+ type ICalendarError = ICalendarErrorOrigin
23
+ type CalendarSuccess = CalendarSuccessOrigin
24
+ type CalendarFail = CalendarFailOrigin
25
+ type CalendarSuccessCallback = CalendarSuccessCallbackOrigin
26
+ type CalendarFailCallback = CalendarFailCallbackOrigin
27
+ type CalendarComplete = CalendarCompleteOrigin
28
+ type CalendarCompleteCallback = CalendarCompleteCallbackOrigin
29
+ type AddPhoneCalendarOptions = AddPhoneCalendarOptionsOrigin
30
+ type AddPhoneRepeatCalendarOptions = AddPhoneRepeatCalendarOptionsOrigin
31
+ type AddPhoneCalendar = AddPhoneCalendarOrigin
32
+ type AddPhoneRepeatCalendar = AddPhoneRepeatCalendarOrigin
33
+ interface Uni extends UniOrigin { }
34
+ }
35
+
@@ -0,0 +1,17 @@
1
+ // 本文件为自动构建生成
2
+ export {
3
+ CalendarRepeatInterval,
4
+ CalendarErrorCode,
5
+ ICalendarError,
6
+ CalendarSuccess,
7
+ CalendarFail,
8
+ CalendarSuccessCallback,
9
+ CalendarFailCallback,
10
+ CalendarComplete,
11
+ CalendarCompleteCallback,
12
+ AddPhoneCalendarOptions,
13
+ AddPhoneRepeatCalendarOptions,
14
+ AddPhoneCalendar,
15
+ AddPhoneRepeatCalendar,
16
+ } from './interface'
17
+