@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,944 @@
1
+ export type CalendarRepeatInterval =
2
+ /**
3
+ * 每天重复
4
+ */
5
+ 'day' |
6
+ /**
7
+ * 每周重复
8
+ */
9
+ 'week' |
10
+ /**
11
+ * 每月重复。该模式日期不能大于 28 日
12
+ */
13
+ 'month' |
14
+ /**
15
+ * 每年重复
16
+ */
17
+ 'year'
18
+
19
+ /**
20
+ * 错误码
21
+ */
22
+ export type CalendarErrorCode =
23
+ /**
24
+ * title is required
25
+ */
26
+ 601 |
27
+ /**
28
+ * startTime is invalid
29
+ */
30
+ 602 |
31
+ /**
32
+ * endTime is invalid
33
+ */
34
+ 603 |
35
+ /**
36
+ * alarmOffset requires alarm
37
+ */
38
+ 604 |
39
+ /**
40
+ * repeat rule is invalid
41
+ */
42
+ 606 |
43
+ /**
44
+ * calendar service is unavailable
45
+ */
46
+ 607 |
47
+ /**
48
+ * add calendar event failed
49
+ */
50
+ 608 |
51
+ /**
52
+ * calendar creation canceled
53
+ */
54
+ 609
55
+
56
+ export interface ICalendarError extends IUniError {
57
+ errCode : CalendarErrorCode
58
+ }
59
+
60
+ export type CalendarSuccess = {
61
+ errMsg ?: string | null
62
+ }
63
+
64
+ export type CalendarFail = ICalendarError
65
+ export type CalendarSuccessCallback = (res : CalendarSuccess) => void
66
+ export type CalendarFailCallback = (res : CalendarFail) => void
67
+ export type CalendarComplete = CalendarSuccess | CalendarFail
68
+ export type CalendarCompleteCallback = (res : CalendarComplete) => void
69
+
70
+ export type AddPhoneCalendarOptions = {
71
+ /**
72
+ * 日历事件标题
73
+ * @uniPlatform {
74
+ "app": {
75
+ "android": {
76
+ "uniVer": "x",
77
+ "unixVer": "5.08"
78
+ },
79
+ "ios": {
80
+ "uniVer": "x",
81
+ "unixVer": "5.08",
82
+ },
83
+ "harmony": {
84
+ "uniVer": "x",
85
+ "unixVer": "5.08",
86
+ "unixVaporVer": "5.08"
87
+ }
88
+ },
89
+ "mp": {
90
+ "weixin": {
91
+ "uniVer": "√",
92
+ "unixVer": "√"
93
+ }
94
+ },
95
+ "web": {
96
+ "uniVer": "x",
97
+ "unixVer": "x"
98
+ }
99
+ * }
100
+ */
101
+ title : string
102
+ /**
103
+ * 开始时间的 unix 时间戳
104
+ * @uniPlatform {
105
+ "app": {
106
+ "android": {
107
+ "uniVer": "x",
108
+ "unixVer": "5.09"
109
+ },
110
+ "ios": {
111
+ "uniVer": "x",
112
+ "unixVer": "5.09",
113
+ },
114
+ "harmony": {
115
+ "uniVer": "x",
116
+ "unixVer": "5.09",
117
+ "unixVaporVer": "5.09"
118
+ }
119
+ },
120
+ "mp": {
121
+ "weixin": {
122
+ "uniVer": "√",
123
+ "unixVer": "√"
124
+ }
125
+ },
126
+ "web": {
127
+ "uniVer": "x",
128
+ "unixVer": "x"
129
+ }
130
+ * }
131
+ */
132
+ startTime : number
133
+ /**
134
+ * 是否全天事件,默认 false
135
+ * @defaultValue false
136
+ * @uniPlatform {
137
+ "app": {
138
+ "android": {
139
+ "uniVer": "x",
140
+ "unixVer": "5.09"
141
+ },
142
+ "ios": {
143
+ "uniVer": "x",
144
+ "unixVer": "5.09",
145
+ },
146
+ "harmony": {
147
+ "uniVer": "x",
148
+ "unixVer": "5.09",
149
+ "unixVaporVer": "5.09"
150
+ }
151
+ },
152
+ "mp": {
153
+ "weixin": {
154
+ "uniVer": "√",
155
+ "unixVer": "√"
156
+ }
157
+ },
158
+ "web": {
159
+ "uniVer": "x",
160
+ "unixVer": "x"
161
+ }
162
+ * }
163
+ */
164
+ allDay ?: boolean | null
165
+ /**
166
+ * 事件说明
167
+ * @uniPlatform {
168
+ "app": {
169
+ "android": {
170
+ "uniVer": "x",
171
+ "unixVer": "5.09"
172
+ },
173
+ "ios": {
174
+ "uniVer": "x",
175
+ "unixVer": "5.09",
176
+ },
177
+ "harmony": {
178
+ "uniVer": "x",
179
+ "unixVer": "5.09",
180
+ "unixVaporVer": "5.09"
181
+ }
182
+ },
183
+ "mp": {
184
+ "weixin": {
185
+ "uniVer": "√",
186
+ "unixVer": "√"
187
+ }
188
+ },
189
+ "web": {
190
+ "uniVer": "x",
191
+ "unixVer": "x"
192
+ }
193
+ * }
194
+ */
195
+ notes ?: string | null
196
+ /**
197
+ * 事件位置
198
+ * @uniPlatform {
199
+ "app": {
200
+ "android": {
201
+ "uniVer": "x",
202
+ "unixVer": "5.09"
203
+ },
204
+ "ios": {
205
+ "uniVer": "x",
206
+ "unixVer": "5.09",
207
+ },
208
+ "harmony": {
209
+ "uniVer": "x",
210
+ "unixVer": "5.09",
211
+ "unixVaporVer": "5.09"
212
+ }
213
+ },
214
+ "mp": {
215
+ "weixin": {
216
+ "uniVer": "√",
217
+ "unixVer": "√"
218
+ }
219
+ },
220
+ "web": {
221
+ "uniVer": "x",
222
+ "unixVer": "x"
223
+ }
224
+ * }
225
+ */
226
+ location ?: string | null
227
+ /**
228
+ * 结束时间的 unix 时间戳,默认与开始时间相同
229
+ * @uniPlatform {
230
+ "app": {
231
+ "android": {
232
+ "uniVer": "x",
233
+ "unixVer": "5.09"
234
+ },
235
+ "ios": {
236
+ "uniVer": "x",
237
+ "unixVer": "5.09",
238
+ },
239
+ "harmony": {
240
+ "uniVer": "x",
241
+ "unixVer": "5.09",
242
+ "unixVaporVer": "5.09"
243
+ }
244
+ },
245
+ "mp": {
246
+ "weixin": {
247
+ "uniVer": "√",
248
+ "unixVer": "√"
249
+ }
250
+ },
251
+ "web": {
252
+ "uniVer": "x",
253
+ "unixVer": "x"
254
+ }
255
+ * }
256
+ */
257
+ endTime ?: number | null
258
+ /**
259
+ * 结束时间的 unix 时间戳,默认与开始时间相同
260
+ * @uniPlatform {
261
+ "app": {
262
+ "android": {
263
+ "uniVer": "x",
264
+ "unixVer": "5.09"
265
+ },
266
+ "ios": {
267
+ "uniVer": "x",
268
+ "unixVer": "5.09",
269
+ },
270
+ "harmony": {
271
+ "uniVer": "x",
272
+ "unixVer": "5.09",
273
+ "unixVaporVer": "5.09"
274
+ }
275
+ },
276
+ "mp": {
277
+ "weixin": {
278
+ "uniVer": "√",
279
+ "unixVer": "√"
280
+ }
281
+ },
282
+ "web": {
283
+ "uniVer": "x",
284
+ "unixVer": "x"
285
+ }
286
+ * }
287
+ */
288
+ alarm ?: boolean | null
289
+ /**
290
+ * 提醒提前量,单位秒,默认 0 表示开始时提醒
291
+ * @defaultValue 0
292
+ * @uniPlatform {
293
+ "app": {
294
+ "android": {
295
+ "uniVer": "x",
296
+ "unixVer": "5.09"
297
+ },
298
+ "ios": {
299
+ "uniVer": "x",
300
+ "unixVer": "5.09",
301
+ },
302
+ "harmony": {
303
+ "uniVer": "x",
304
+ "unixVer": "5.09",
305
+ "unixVaporVer": "5.09"
306
+ }
307
+ },
308
+ "mp": {
309
+ "weixin": {
310
+ "uniVer": "√",
311
+ "unixVer": "√"
312
+ }
313
+ },
314
+ "web": {
315
+ "uniVer": "x",
316
+ "unixVer": "x"
317
+ }
318
+ * }
319
+ */
320
+ alarmOffset ?: number | null
321
+ /**
322
+ * 跳转小程序路径,必须要和 signature 一起使用,填入后会自动生成跳转链接拼接在事件说明中
323
+ * @uniPlatform {
324
+ "app": {
325
+ "android": {
326
+ "uniVer": "x",
327
+ "unixVer": "5.09"
328
+ },
329
+ "ios": {
330
+ "uniVer": "x",
331
+ "unixVer": "5.09",
332
+ },
333
+ "harmony": {
334
+ "uniVer": "x",
335
+ "unixVer": "5.09",
336
+ "unixVaporVer": "5.09"
337
+ }
338
+ },
339
+ "mp": {
340
+ "weixin": {
341
+ "uniVer": "√",
342
+ "unixVer": "√"
343
+ }
344
+ },
345
+ "web": {
346
+ "uniVer": "x",
347
+ "unixVer": "x"
348
+ }
349
+ * }
350
+ */
351
+ path ?: string | null
352
+ /**
353
+ * 仅微信小程序支持,App 平台保留该字段但不会使用,跳转小程序路径签名,必须要和 path 一起使用,用 session_key 对 path 签名得到的结果,即 hmac_sha256(session_key, path)。
354
+ * @uniPlatform {
355
+ "app": {
356
+ "android": {
357
+ "uniVer": "x",
358
+ "unixVer": "5.09"
359
+ },
360
+ "ios": {
361
+ "uniVer": "x",
362
+ "unixVer": "5.09",
363
+ },
364
+ "harmony": {
365
+ "uniVer": "x",
366
+ "unixVer": "5.09",
367
+ "unixVaporVer": "5.09"
368
+ }
369
+ },
370
+ "mp": {
371
+ "weixin": {
372
+ "uniVer": "√",
373
+ "unixVer": "√"
374
+ }
375
+ },
376
+ "web": {
377
+ "uniVer": "x",
378
+ "unixVer": "x"
379
+ }
380
+ * }
381
+ */
382
+ signature ?: string | null
383
+ /**
384
+ * 接口调用成功的回调函数
385
+ */
386
+ success ?: CalendarSuccessCallback | null
387
+ /**
388
+ * 接口调用失败的回调函数
389
+ */
390
+ fail ?: CalendarFailCallback | null
391
+ /**
392
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
393
+ */
394
+ complete ?: CalendarCompleteCallback | null
395
+ }
396
+
397
+ export type AddPhoneRepeatCalendarOptions = {
398
+ /**
399
+ * 日历事件标题
400
+ * @uniPlatform {
401
+ "app": {
402
+ "android": {
403
+ "uniVer": "x",
404
+ "unixVer": "5.09"
405
+ },
406
+ "ios": {
407
+ "uniVer": "x",
408
+ "unixVer": "5.09",
409
+ },
410
+ "harmony": {
411
+ "uniVer": "x",
412
+ "unixVer": "5.09",
413
+ "unixVaporVer": "5.09"
414
+ }
415
+ },
416
+ "mp": {
417
+ "weixin": {
418
+ "uniVer": "√",
419
+ "unixVer": "√"
420
+ }
421
+ },
422
+ "web": {
423
+ "uniVer": "x",
424
+ "unixVer": "x"
425
+ }
426
+ * }
427
+ */
428
+ title : string
429
+ /**
430
+ * 开始时间的 unix 时间戳 (1970年1月1日开始所经过的秒数)
431
+ * @uniPlatform {
432
+ "app": {
433
+ "android": {
434
+ "uniVer": "x",
435
+ "unixVer": "5.09"
436
+ },
437
+ "ios": {
438
+ "uniVer": "x",
439
+ "unixVer": "5.09",
440
+ },
441
+ "harmony": {
442
+ "uniVer": "x",
443
+ "unixVer": "5.09",
444
+ "unixVaporVer": "5.09"
445
+ }
446
+ },
447
+ "mp": {
448
+ "weixin": {
449
+ "uniVer": "√",
450
+ "unixVer": "√"
451
+ }
452
+ },
453
+ "web": {
454
+ "uniVer": "x",
455
+ "unixVer": "x"
456
+ }
457
+ * }
458
+ */
459
+ startTime : number
460
+ /**
461
+ * 是否全天事件,默认 false
462
+ * @defaultValue false
463
+ * @uniPlatform {
464
+ "app": {
465
+ "android": {
466
+ "uniVer": "x",
467
+ "unixVer": "5.09"
468
+ },
469
+ "ios": {
470
+ "uniVer": "x",
471
+ "unixVer": "5.09",
472
+ },
473
+ "harmony": {
474
+ "uniVer": "x",
475
+ "unixVer": "5.09",
476
+ "unixVaporVer": "5.09"
477
+ }
478
+ },
479
+ "mp": {
480
+ "weixin": {
481
+ "uniVer": "√",
482
+ "unixVer": "√"
483
+ }
484
+ },
485
+ "web": {
486
+ "uniVer": "x",
487
+ "unixVer": "x"
488
+ }
489
+ * }
490
+ */
491
+ allDay ?: boolean | null
492
+ /**
493
+ * 事件说明
494
+ * @uniPlatform {
495
+ "app": {
496
+ "android": {
497
+ "uniVer": "x",
498
+ "unixVer": "5.09"
499
+ },
500
+ "ios": {
501
+ "uniVer": "x",
502
+ "unixVer": "5.09",
503
+ },
504
+ "harmony": {
505
+ "uniVer": "x",
506
+ "unixVer": "5.09",
507
+ "unixVaporVer": "5.09"
508
+ }
509
+ },
510
+ "mp": {
511
+ "weixin": {
512
+ "uniVer": "√",
513
+ "unixVer": "√"
514
+ }
515
+ },
516
+ "web": {
517
+ "uniVer": "x",
518
+ "unixVer": "x"
519
+ }
520
+ * }
521
+ */
522
+ notes ?: string | null
523
+ /**
524
+ * 事件位置
525
+ * @uniPlatform {
526
+ "app": {
527
+ "android": {
528
+ "uniVer": "x",
529
+ "unixVer": "5.09"
530
+ },
531
+ "ios": {
532
+ "uniVer": "x",
533
+ "unixVer": "5.09",
534
+ },
535
+ "harmony": {
536
+ "uniVer": "x",
537
+ "unixVer": "5.09",
538
+ "unixVaporVer": "5.09"
539
+ }
540
+ },
541
+ "mp": {
542
+ "weixin": {
543
+ "uniVer": "√",
544
+ "unixVer": "√"
545
+ }
546
+ },
547
+ "web": {
548
+ "uniVer": "x",
549
+ "unixVer": "x"
550
+ }
551
+ * }
552
+ */
553
+ location ?: string | null
554
+ /**
555
+ * 结束时间的 unix 时间戳,默认与开始时间相同
556
+ * @uniPlatform {
557
+ "app": {
558
+ "android": {
559
+ "uniVer": "x",
560
+ "unixVer": "5.09"
561
+ },
562
+ "ios": {
563
+ "uniVer": "x",
564
+ "unixVer": "5.09",
565
+ },
566
+ "harmony": {
567
+ "uniVer": "x",
568
+ "unixVer": "5.09",
569
+ "unixVaporVer": "5.09"
570
+ }
571
+ },
572
+ "mp": {
573
+ "weixin": {
574
+ "uniVer": "√",
575
+ "unixVer": "√"
576
+ }
577
+ },
578
+ "web": {
579
+ "uniVer": "x",
580
+ "unixVer": "x"
581
+ }
582
+ * }
583
+ */
584
+ endTime ?: number | null
585
+ /**
586
+ * 是否提醒,默认 true
587
+ * @uniPlatform {
588
+ "app": {
589
+ "android": {
590
+ "uniVer": "x",
591
+ "unixVer": "5.09"
592
+ },
593
+ "ios": {
594
+ "uniVer": "x",
595
+ "unixVer": "5.09",
596
+ },
597
+ "harmony": {
598
+ "uniVer": "x",
599
+ "unixVer": "5.09",
600
+ "unixVaporVer": "5.09"
601
+ }
602
+ },
603
+ "mp": {
604
+ "weixin": {
605
+ "uniVer": "√",
606
+ "unixVer": "√"
607
+ }
608
+ },
609
+ "web": {
610
+ "uniVer": "x",
611
+ "unixVer": "x"
612
+ }
613
+ * }
614
+ */
615
+ alarm ?: boolean | null
616
+ /**
617
+ * 提醒提前量,单位秒,默认 0 表示开始时提醒
618
+ * @defaultValue 0
619
+ * @uniPlatform {
620
+ "app": {
621
+ "android": {
622
+ "uniVer": "x",
623
+ "unixVer": "5.09"
624
+ },
625
+ "ios": {
626
+ "uniVer": "x",
627
+ "unixVer": "5.09",
628
+ },
629
+ "harmony": {
630
+ "uniVer": "x",
631
+ "unixVer": "5.09",
632
+ "unixVaporVer": "5.09"
633
+ }
634
+ },
635
+ "mp": {
636
+ "weixin": {
637
+ "uniVer": "√",
638
+ "unixVer": "√"
639
+ }
640
+ },
641
+ "web": {
642
+ "uniVer": "x",
643
+ "unixVer": "x"
644
+ }
645
+ * }
646
+ */
647
+ alarmOffset ?: number | null
648
+ /**
649
+ * 跳转小程序路径,必须要和 signature 一起使用,填入后会自动生成跳转链接拼接在事件说明中
650
+ * @uniPlatform {
651
+ "app": {
652
+ "android": {
653
+ "uniVer": "x",
654
+ "unixVer": "5.09"
655
+ },
656
+ "ios": {
657
+ "uniVer": "x",
658
+ "unixVer": "5.09",
659
+ },
660
+ "harmony": {
661
+ "uniVer": "x",
662
+ "unixVer": "5.09",
663
+ "unixVaporVer": "5.09"
664
+ }
665
+ },
666
+ "mp": {
667
+ "weixin": {
668
+ "uniVer": "√",
669
+ "unixVer": "√"
670
+ }
671
+ },
672
+ "web": {
673
+ "uniVer": "x",
674
+ "unixVer": "x"
675
+ }
676
+ * }
677
+ */
678
+ path ?: string | null
679
+ /**
680
+ * 仅微信小程序支持,App 平台保留该字段但不会使用,跳转小程序路径签名,必须要和 path 一起使用,用 session_key 对 path 签名得到的结果,即 hmac_sha256(session_key, path)。
681
+ * @uniPlatform {
682
+ "app": {
683
+ "android": {
684
+ "uniVer": "x",
685
+ "unixVer": "5.09"
686
+ },
687
+ "ios": {
688
+ "uniVer": "x",
689
+ "unixVer": "5.09",
690
+ },
691
+ "harmony": {
692
+ "uniVer": "x",
693
+ "unixVer": "5.09",
694
+ "unixVaporVer": "5.09"
695
+ }
696
+ },
697
+ "mp": {
698
+ "weixin": {
699
+ "uniVer": "√",
700
+ "unixVer": "√"
701
+ }
702
+ },
703
+ "web": {
704
+ "uniVer": "x",
705
+ "unixVer": "x"
706
+ }
707
+ * }
708
+ */
709
+ signature ?: string | null
710
+ /**
711
+ * 重复周期,默认 month 每月重复
712
+ * @defaultValue month
713
+ * @uniPlatform {
714
+ "app": {
715
+ "android": {
716
+ "uniVer": "x",
717
+ "unixVer": "5.09"
718
+ },
719
+ "ios": {
720
+ "uniVer": "x",
721
+ "unixVer": "5.09",
722
+ },
723
+ "harmony": {
724
+ "uniVer": "x",
725
+ "unixVer": "5.09",
726
+ "unixVaporVer": "5.09"
727
+ }
728
+ },
729
+ "mp": {
730
+ "weixin": {
731
+ "uniVer": "√",
732
+ "unixVer": "√"
733
+ }
734
+ },
735
+ "web": {
736
+ "uniVer": "x",
737
+ "unixVer": "x"
738
+ }
739
+ * }
740
+ */
741
+ repeatInterval : CalendarRepeatInterval
742
+ /**
743
+ * 重复周期结束时间的 unix 时间戳,不填表示一直重复
744
+ * @uniPlatform {
745
+ "app": {
746
+ "android": {
747
+ "uniVer": "x",
748
+ "unixVer": "5.09"
749
+ },
750
+ "ios": {
751
+ "uniVer": "x",
752
+ "unixVer": "5.09",
753
+ },
754
+ "harmony": {
755
+ "uniVer": "x",
756
+ "unixVer": "5.09",
757
+ "unixVaporVer": "5.09"
758
+ }
759
+ },
760
+ "mp": {
761
+ "weixin": {
762
+ "uniVer": "√",
763
+ "unixVer": "√"
764
+ }
765
+ },
766
+ "web": {
767
+ "uniVer": "x",
768
+ "unixVer": "x"
769
+ }
770
+ * }
771
+ */
772
+ repeatEndTime ?: number | null
773
+ /**
774
+ * 接口调用成功的回调函数
775
+ */
776
+ success ?: CalendarSuccessCallback | null
777
+ /**
778
+ * 接口调用失败的回调函数
779
+ */
780
+ fail ?: CalendarFailCallback | null
781
+ /**
782
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
783
+ */
784
+ complete ?: CalendarCompleteCallback | null
785
+ }
786
+
787
+ export type AddPhoneCalendar = (options : AddPhoneCalendarOptions) => void;
788
+ export type AddPhoneRepeatCalendar = (options : AddPhoneRepeatCalendarOptions) => void;
789
+
790
+
791
+ export interface Uni {
792
+ /**
793
+ * addPhoneCalendar()
794
+ * @description
795
+ * 向系统日历添加事件
796
+ * @param {AddPhoneCalendarOptions}
797
+ * @return {void}
798
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/uni-calender.html#addPhoneCalendar
799
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/uni-calender.html#addPhoneCalendar
800
+ * @uniPlatform {
801
+ * "app": {
802
+ * "android": {
803
+ * "osVer": "4.4",
804
+ * "uniVer": "x",
805
+ * "unixVer": "5.09"
806
+ * },
807
+ * "ios": {
808
+ * "osVer": "12.0",
809
+ * "uniVer": "x",
810
+ * "unixVer": "5.09"
811
+ * },
812
+ * "harmony": {
813
+ * "osVer": "3.0",
814
+ * "uniVer": "x",
815
+ * "unixVer": "5.09",
816
+ * "unixVaporVer": "5.09"
817
+ * }
818
+ * },
819
+ * "mp": {
820
+ * "weixin": {
821
+ * "hostVer": "x",
822
+ * "uniVer": "x",
823
+ * "unixVer": "5.09"
824
+ * },
825
+ * "alipay": {
826
+ * "hostVer": "x",
827
+ * "uniVer": "x",
828
+ * "unixVer": "x"
829
+ * },
830
+ * "baidu": {
831
+ * "hostVer": "x",
832
+ * "uniVer": "x",
833
+ * "unixVer": "x"
834
+ * },
835
+ * "toutiao": {
836
+ * "hostVer": "x",
837
+ * "uniVer": "x",
838
+ * "unixVer": "x"
839
+ * },
840
+ * "lark": {
841
+ * "hostVer": "x",
842
+ * "uniVer": "x",
843
+ * "unixVer": "x"
844
+ * },
845
+ * "qq": {
846
+ * "hostVer": "x",
847
+ * "uniVer": "x",
848
+ * "unixVer": "x"
849
+ * },
850
+ * "kuaishou": {
851
+ * "hostVer": "x",
852
+ * "uniVer": "x",
853
+ * "unixVer": "x"
854
+ * },
855
+ * "jd": {
856
+ * "hostVer": "x",
857
+ * "uniVer": "x",
858
+ * "unixVer": "x"
859
+ * }
860
+ * },
861
+ * "web": {
862
+ * "uniVer": "x",
863
+ * "unixVer": "x"
864
+ * }
865
+ * }
866
+ */
867
+ addPhoneCalendar(options : AddPhoneCalendarOptions) : void;
868
+ /**
869
+ * getPushClientId()
870
+ * @description
871
+ * 获取客户端唯一的推送标识
872
+ * @param {AddPhoneRepeatCalendarOptions}
873
+ * @return {void}
874
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/uni-calender.html#addPhoneRepeatCalendar
875
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/uni-calender.html#addPhoneRepeatCalendar
876
+ * @uniPlatform {
877
+ * "app": {
878
+ * "android": {
879
+ * "osVer": "4.4",
880
+ * "uniVer": "x",
881
+ * "unixVer": "5.09"
882
+ * },
883
+ * "ios": {
884
+ * "osVer": "12.0",
885
+ * "uniVer": "x",
886
+ * "unixVer": "5.09"
887
+ * },
888
+ * "harmony": {
889
+ * "osVer": "3.0",
890
+ * "uniVer": "x",
891
+ * "unixVer": "5.09",
892
+ * "unixVaporVer": "5.09"
893
+ * }
894
+ * },
895
+ * "mp": {
896
+ * "weixin": {
897
+ * "hostVer": "x",
898
+ * "uniVer": "x",
899
+ * "unixVer": "5.09"
900
+ * },
901
+ * "alipay": {
902
+ * "hostVer": "x",
903
+ * "uniVer": "x",
904
+ * "unixVer": "x"
905
+ * },
906
+ * "baidu": {
907
+ * "hostVer": "x",
908
+ * "uniVer": "x",
909
+ * "unixVer": "x"
910
+ * },
911
+ * "toutiao": {
912
+ * "hostVer": "x",
913
+ * "uniVer": "x",
914
+ * "unixVer": "x"
915
+ * },
916
+ * "lark": {
917
+ * "hostVer": "x",
918
+ * "uniVer": "x",
919
+ * "unixVer": "x"
920
+ * },
921
+ * "qq": {
922
+ * "hostVer": "x",
923
+ * "uniVer": "x",
924
+ * "unixVer": "x"
925
+ * },
926
+ * "kuaishou": {
927
+ * "hostVer": "x",
928
+ * "uniVer": "x",
929
+ * "unixVer": "x"
930
+ * },
931
+ * "jd": {
932
+ * "hostVer": "x",
933
+ * "uniVer": "x",
934
+ * "unixVer": "x"
935
+ * }
936
+ * },
937
+ * "web": {
938
+ * "uniVer": "x",
939
+ * "unixVer": "x"
940
+ * }
941
+ * }
942
+ */
943
+ addPhoneRepeatCalendar(options : AddPhoneRepeatCalendarOptions) : void;
944
+ }