@dcloudio/uni-app-x 0.7.111 → 0.7.113

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (380) hide show
  1. package/package.json +1 -1
  2. package/types/dom2-internal/UniNativeView.d.ts +1 -0
  3. package/types/dom2-internal/UniPage.d.ts +16 -0
  4. package/types/dom2-internal/sharedData.d.ts +9 -14
  5. package/types/native/CSSStyleDeclaration.d.ts +172 -172
  6. package/types/native/CanvasRenderingContext2D.d.ts +4720 -4720
  7. package/types/native/DrawableContext.d.ts +1893 -1893
  8. package/types/native/IUniElement.d.ts +7468 -7461
  9. package/types/native/IUniNativeViewElement.d.ts +327 -327
  10. package/types/native/SnapshotOptions.d.ts +337 -62
  11. package/types/native/UniPage.d.ts +1305 -1305
  12. package/types/native/UniResizeObserver.d.ts +749 -749
  13. package/types/native/UniSwiperAnimationFinishEvent.d.ts +59 -59
  14. package/types/native/UniSwiperChangeEvent.d.ts +58 -58
  15. package/types/page.d.ts +3154 -3112
  16. package/types/uni/uts-plugin-api/global.d.ts +8 -0
  17. package/types/uni/uts-plugin-api/index.d.ts +8 -0
  18. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/interface.d.ts +1672 -911
  19. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +126 -126
  20. package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +14 -14
  21. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +154 -154
  22. package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +14 -14
  23. package/types/uni/uts-plugin-api/lib/uni-camera/utssdk/global.d.ts +55 -0
  24. package/types/uni/uts-plugin-api/lib/uni-camera/utssdk/index.d.ts +27 -0
  25. package/types/uni/uts-plugin-api/lib/uni-camera/utssdk/interface.d.ts +1155 -0
  26. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/global.d.ts +9 -6
  27. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/index.d.ts +5 -3
  28. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/interface.d.ts +978 -972
  29. package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/global.d.ts +25 -0
  30. package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/index.d.ts +12 -0
  31. package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/interface.d.ts +978 -0
  32. package/types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/interface.d.ts +358 -358
  33. package/types/uni/uts-plugin-api/lib/uni-chooseMedia/utssdk/interface.d.ts +8 -8
  34. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +78 -78
  35. package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +490 -479
  36. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +214 -214
  37. package/types/uni/uts-plugin-api/lib/uni-createWorker/utssdk/interface.d.ts +126 -126
  38. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +30 -30
  39. package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/global.d.ts +39 -0
  40. package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/index.d.ts +19 -0
  41. package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/interface.d.ts +856 -0
  42. package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +338 -338
  43. package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/interface.d.ts +147 -147
  44. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +397 -397
  45. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +6363 -6359
  46. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +554 -554
  47. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +2149 -2149
  48. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +1340 -1340
  49. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +1707 -1707
  50. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +307 -307
  51. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +310 -310
  52. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +5 -5
  53. package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +129 -129
  54. package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/interface.d.ts +757 -757
  55. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +5881 -5879
  56. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +442 -442
  57. package/types/uni/uts-plugin-api/lib/uni-input/utssdk/global.d.ts +9 -0
  58. package/types/uni/uts-plugin-api/lib/uni-input/utssdk/index.d.ts +5 -0
  59. package/types/uni/uts-plugin-api/lib/uni-input/utssdk/interface.d.ts +0 -0
  60. package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/interface.d.ts +171 -171
  61. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +1 -1
  62. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +536 -536
  63. package/types/uni/uts-plugin-api/lib/uni-location/utssdk/interface.d.ts +2914 -2910
  64. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +24 -24
  65. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/interface.d.ts +208 -208
  66. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +785 -785
  67. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +4243 -4243
  68. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +1979 -1963
  69. package/types/uni/uts-plugin-api/lib/uni-oauth-weixin/utssdk/interface.d.ts +5 -3
  70. package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +229 -229
  71. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +753 -753
  72. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +84 -84
  73. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +790 -788
  74. package/types/uni/uts-plugin-api/lib/uni-previewImage/utssdk/interface.d.ts +447 -447
  75. package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/interface.d.ts +498 -498
  76. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +1552 -1548
  77. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +58 -58
  78. package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/interface.d.ts +30 -30
  79. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +2513 -2513
  80. package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/interface.d.ts +81 -81
  81. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +351 -351
  82. package/types/uni/uts-plugin-api/lib/uni-screenBrightness/utssdk/interface.d.ts +107 -107
  83. package/types/uni/uts-plugin-api/lib/uni-share/utssdk/interface.d.ts +584 -584
  84. package/types/uni/uts-plugin-api/lib/uni-shareWithSystem/utssdk/interface.d.ts +722 -722
  85. package/types/uni/uts-plugin-api/lib/uni-showLoading/utssdk/interface.d.ts +292 -292
  86. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +358 -358
  87. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +657 -657
  88. package/types/uni/uts-plugin-api/lib/uni-textarea/utssdk/global.d.ts +9 -0
  89. package/types/uni/uts-plugin-api/lib/uni-textarea/utssdk/index.d.ts +5 -0
  90. package/types/uni/uts-plugin-api/lib/uni-textarea/utssdk/interface.d.ts +0 -0
  91. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +1010 -1010
  92. package/types/uni/uts-plugin-api/lib/uni-video/utssdk/global.d.ts +47 -0
  93. package/types/uni/uts-plugin-api/lib/uni-video/utssdk/index.d.ts +23 -0
  94. package/types/uni/uts-plugin-api/lib/uni-video/utssdk/interface.d.ts +926 -0
  95. package/types/uni/uts-plugin-api/lib/uni-web-view/utssdk/global.d.ts +29 -0
  96. package/types/uni/uts-plugin-api/lib/uni-web-view/utssdk/index.d.ts +14 -0
  97. package/types/uni/uts-plugin-api/lib/uni-web-view/utssdk/interface.d.ts +452 -0
  98. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +1442 -1442
  99. package/types/uni/uts-plugin-biz/lib/uni-facialVerify/utssdk/interface.d.ts +220 -220
  100. package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/interface.d.ts +65 -65
  101. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +981 -981
  102. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +26 -26
  103. package/types/uni/uts-plugin-component/.temp/uni-camera/utssdk/interface.uts +1155 -0
  104. package/types/uni/uts-plugin-component/.temp/uni-camera.d.ts +38 -0
  105. package/types/uni/uts-plugin-component/.temp/uni-camera.ts +52 -0
  106. package/types/uni/uts-plugin-component/.temp/uni-canvas/utssdk/interface.uts +976 -0
  107. package/types/uni/uts-plugin-component/.temp/uni-canvas-dom2/utssdk/interface.uts +976 -0
  108. package/types/uni/uts-plugin-component/.temp/uni-editor.d.ts +171 -0
  109. package/types/uni/uts-plugin-component/.temp/uni-editor.ts +237 -0
  110. package/types/uni/uts-plugin-component/.temp/uni-form.d.ts +2 -0
  111. package/types/uni/uts-plugin-component/.temp/uni-form.ts +1 -0
  112. package/types/uni/uts-plugin-component/.temp/uni-input/utssdk/interface.uts +0 -0
  113. package/types/uni/uts-plugin-component/.temp/uni-map-tencent.d.ts +56 -0
  114. package/types/uni/uts-plugin-component/.temp/uni-map-tencent.ts +88 -0
  115. package/types/uni/uts-plugin-component/.temp/uni-match-media.d.ts +2 -0
  116. package/types/uni/uts-plugin-component/.temp/uni-match-media.ts +2 -0
  117. package/types/uni/uts-plugin-component/.temp/uni-navigator.d.ts +2 -0
  118. package/types/uni/uts-plugin-component/.temp/uni-navigator.ts +1 -0
  119. package/types/uni/uts-plugin-component/.temp/uni-page-container.d.ts +0 -0
  120. package/types/uni/uts-plugin-component/.temp/uni-page-container.ts +2 -0
  121. package/types/uni/uts-plugin-component/.temp/uni-progress.d.ts +2 -0
  122. package/types/uni/uts-plugin-component/.temp/uni-progress.ts +1 -0
  123. package/types/uni/uts-plugin-component/.temp/uni-rich-text.d.ts +7 -0
  124. package/types/uni/uts-plugin-component/.temp/uni-rich-text.ts +12 -0
  125. package/types/uni/uts-plugin-component/.temp/uni-textarea/utssdk/interface.uts +0 -0
  126. package/types/uni/uts-plugin-component/.temp/uni-video/utssdk/interface.uts +936 -0
  127. package/types/uni/uts-plugin-component/.temp/uni-video.d.ts +134 -0
  128. package/types/uni/uts-plugin-component/.temp/uni-video.ts +180 -0
  129. package/types/uni/uts-plugin-component/.temp/uni-web-view/utssdk/interface.uts +452 -0
  130. package/types/uni/uts-plugin-component/.temp/uni-web-view.d.ts +51 -0
  131. package/types/uni/uts-plugin-component/.temp/uni-web-view.ts +86 -0
  132. package/types/uni/uts-plugin-component/global.d.ts +79 -0
  133. package/types/uni/uts-plugin-component/index.d.ts +79 -0
  134. package/types/uni/uts-plugin-component/lib/uni-actionSheet/utssdk/global.d.ts +29 -0
  135. package/types/uni/uts-plugin-component/lib/uni-actionSheet/utssdk/index.d.ts +14 -0
  136. package/types/uni/uts-plugin-component/lib/uni-actionSheet/utssdk/interface.d.ts +1673 -0
  137. package/types/uni/uts-plugin-component/lib/uni-addPhoneContact/utssdk/global.d.ts +25 -0
  138. package/types/uni/uts-plugin-component/lib/uni-addPhoneContact/utssdk/index.d.ts +12 -0
  139. package/types/uni/uts-plugin-component/lib/uni-addPhoneContact/utssdk/interface.d.ts +226 -0
  140. package/types/uni/uts-plugin-component/lib/uni-arrayBufferToBase64/utssdk/global.d.ts +11 -0
  141. package/types/uni/uts-plugin-component/lib/uni-arrayBufferToBase64/utssdk/index.d.ts +5 -0
  142. package/types/uni/uts-plugin-component/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +79 -0
  143. package/types/uni/uts-plugin-component/lib/uni-authentication/utssdk/global.d.ts +59 -0
  144. package/types/uni/uts-plugin-component/lib/uni-authentication/utssdk/index.d.ts +29 -0
  145. package/types/uni/uts-plugin-component/lib/uni-authentication/utssdk/interface.d.ts +371 -0
  146. package/types/uni/uts-plugin-component/lib/uni-barcode-scanning/utssdk/global.d.ts +9 -0
  147. package/types/uni/uts-plugin-component/lib/uni-barcode-scanning/utssdk/index.d.ts +5 -0
  148. package/types/uni/uts-plugin-component/lib/uni-barcode-scanning/utssdk/interface.d.ts +0 -0
  149. package/types/uni/uts-plugin-component/lib/uni-base64ToArrayBuffer/utssdk/global.d.ts +11 -0
  150. package/types/uni/uts-plugin-component/lib/uni-base64ToArrayBuffer/utssdk/index.d.ts +5 -0
  151. package/types/uni/uts-plugin-component/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +79 -0
  152. package/types/uni/uts-plugin-component/lib/uni-canvas/utssdk/interface.d.ts +978 -976
  153. package/types/uni/uts-plugin-component/lib/uni-canvas-dom2/utssdk/interface.d.ts +978 -976
  154. package/types/uni/uts-plugin-component/lib/uni-chooseLocation/utssdk/global.d.ts +25 -0
  155. package/types/uni/uts-plugin-component/lib/uni-chooseLocation/utssdk/index.d.ts +12 -0
  156. package/types/uni/uts-plugin-component/lib/uni-chooseLocation/utssdk/interface.d.ts +423 -0
  157. package/types/uni/uts-plugin-component/lib/uni-chooseMedia/utssdk/global.d.ts +33 -0
  158. package/types/uni/uts-plugin-component/lib/uni-chooseMedia/utssdk/index.d.ts +16 -0
  159. package/types/uni/uts-plugin-component/lib/uni-chooseMedia/utssdk/interface.d.ts +499 -0
  160. package/types/uni/uts-plugin-component/lib/uni-clipboard/utssdk/global.d.ts +45 -0
  161. package/types/uni/uts-plugin-component/lib/uni-clipboard/utssdk/index.d.ts +22 -0
  162. package/types/uni/uts-plugin-component/lib/uni-clipboard/utssdk/interface.d.ts +217 -0
  163. package/types/uni/uts-plugin-component/lib/uni-createInnerAudioContext/utssdk/global.d.ts +33 -0
  164. package/types/uni/uts-plugin-component/lib/uni-createInnerAudioContext/utssdk/index.d.ts +16 -0
  165. package/types/uni/uts-plugin-component/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +3379 -0
  166. package/types/uni/uts-plugin-component/lib/uni-createIntersectionObserver/utssdk/global.d.ts +21 -0
  167. package/types/uni/uts-plugin-component/lib/uni-createIntersectionObserver/utssdk/index.d.ts +10 -0
  168. package/types/uni/uts-plugin-component/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +153 -0
  169. package/types/uni/uts-plugin-component/lib/uni-createRequestPermissionListener/utssdk/global.d.ts +19 -0
  170. package/types/uni/uts-plugin-component/lib/uni-createRequestPermissionListener/utssdk/index.d.ts +9 -0
  171. package/types/uni/uts-plugin-component/lib/uni-createRequestPermissionListener/utssdk/interface.d.ts +61 -0
  172. package/types/uni/uts-plugin-component/lib/uni-createSelectorQuery/utssdk/global.d.ts +21 -0
  173. package/types/uni/uts-plugin-component/lib/uni-createSelectorQuery/utssdk/index.d.ts +10 -0
  174. package/types/uni/uts-plugin-component/lib/uni-createSelectorQuery/utssdk/interface.d.ts +560 -0
  175. package/types/uni/uts-plugin-component/lib/uni-createWebviewContext/utssdk/global.d.ts +15 -0
  176. package/types/uni/uts-plugin-component/lib/uni-createWebviewContext/utssdk/index.d.ts +7 -0
  177. package/types/uni/uts-plugin-component/lib/uni-createWebviewContext/utssdk/interface.d.ts +214 -0
  178. package/types/uni/uts-plugin-component/lib/uni-createWorker/utssdk/global.d.ts +23 -0
  179. package/types/uni/uts-plugin-component/lib/uni-createWorker/utssdk/index.d.ts +11 -0
  180. package/types/uni/uts-plugin-component/lib/uni-createWorker/utssdk/interface.d.ts +158 -0
  181. package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/global.d.ts +29 -0
  182. package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/index.d.ts +14 -0
  183. package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/interface.d.ts +2304 -0
  184. package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/global.d.ts +39 -0
  185. package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/index.d.ts +19 -0
  186. package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/interface.d.ts +856 -0
  187. package/types/uni/uts-plugin-component/lib/uni-editor-global/utssdk/global.d.ts +25 -0
  188. package/types/uni/uts-plugin-component/lib/uni-editor-global/utssdk/index.d.ts +13 -0
  189. package/types/uni/uts-plugin-component/lib/uni-editor-global/utssdk/interface.d.ts +181 -0
  190. package/types/uni/uts-plugin-component/lib/uni-event/utssdk/global.d.ts +17 -0
  191. package/types/uni/uts-plugin-component/lib/uni-event/utssdk/index.d.ts +8 -0
  192. package/types/uni/uts-plugin-component/lib/uni-event/utssdk/interface.d.ts +338 -0
  193. package/types/uni/uts-plugin-component/lib/uni-exit/utssdk/global.d.ts +27 -0
  194. package/types/uni/uts-plugin-component/lib/uni-exit/utssdk/index.d.ts +13 -0
  195. package/types/uni/uts-plugin-component/lib/uni-exit/utssdk/interface.d.ts +147 -0
  196. package/types/uni/uts-plugin-component/lib/uni-file/utssdk/global.d.ts +81 -0
  197. package/types/uni/uts-plugin-component/lib/uni-file/utssdk/index.d.ts +40 -0
  198. package/types/uni/uts-plugin-component/lib/uni-file/utssdk/interface.d.ts +397 -0
  199. package/types/uni/uts-plugin-component/lib/uni-fileSystemManager/utssdk/global.d.ts +151 -0
  200. package/types/uni/uts-plugin-component/lib/uni-fileSystemManager/utssdk/index.d.ts +75 -0
  201. package/types/uni/uts-plugin-component/lib/uni-fileSystemManager/utssdk/interface.d.ts +6428 -0
  202. package/types/uni/uts-plugin-component/lib/uni-getAccessibilityInfo/utssdk/global.d.ts +11 -0
  203. package/types/uni/uts-plugin-component/lib/uni-getAccessibilityInfo/utssdk/index.d.ts +5 -0
  204. package/types/uni/uts-plugin-component/lib/uni-getAccessibilityInfo/utssdk/interface.d.ts +37 -0
  205. package/types/uni/uts-plugin-component/lib/uni-getAppAuthorizeSetting/utssdk/global.d.ts +13 -0
  206. package/types/uni/uts-plugin-component/lib/uni-getAppAuthorizeSetting/utssdk/index.d.ts +6 -0
  207. package/types/uni/uts-plugin-component/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +620 -0
  208. package/types/uni/uts-plugin-component/lib/uni-getAppBaseInfo/utssdk/global.d.ts +15 -0
  209. package/types/uni/uts-plugin-component/lib/uni-getAppBaseInfo/utssdk/index.d.ts +7 -0
  210. package/types/uni/uts-plugin-component/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +2220 -0
  211. package/types/uni/uts-plugin-component/lib/uni-getBackgroundAudioManager/utssdk/global.d.ts +17 -0
  212. package/types/uni/uts-plugin-component/lib/uni-getBackgroundAudioManager/utssdk/index.d.ts +8 -0
  213. package/types/uni/uts-plugin-component/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +1406 -0
  214. package/types/uni/uts-plugin-component/lib/uni-getDeviceInfo/utssdk/global.d.ts +15 -0
  215. package/types/uni/uts-plugin-component/lib/uni-getDeviceInfo/utssdk/index.d.ts +7 -0
  216. package/types/uni/uts-plugin-component/lib/uni-getDeviceInfo/utssdk/interface.d.ts +1774 -0
  217. package/types/uni/uts-plugin-component/lib/uni-getElementById/utssdk/global.d.ts +11 -0
  218. package/types/uni/uts-plugin-component/lib/uni-getElementById/utssdk/index.d.ts +5 -0
  219. package/types/uni/uts-plugin-component/lib/uni-getElementById/utssdk/interface.d.ts +82 -0
  220. package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/global.d.ts +13 -0
  221. package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/index.d.ts +6 -0
  222. package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +374 -0
  223. package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/global.d.ts +13 -0
  224. package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/index.d.ts +6 -0
  225. package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +377 -0
  226. package/types/uni/uts-plugin-component/lib/uni-getLocation-tencent-uni1/utssdk/global.d.ts +21 -0
  227. package/types/uni/uts-plugin-component/lib/uni-getLocation-tencent-uni1/utssdk/index.d.ts +11 -0
  228. package/types/uni/uts-plugin-component/lib/uni-getLocation-tencent-uni1/utssdk/interface.d.ts +736 -0
  229. package/types/uni/uts-plugin-component/lib/uni-getNetworkType/utssdk/global.d.ts +33 -0
  230. package/types/uni/uts-plugin-component/lib/uni-getNetworkType/utssdk/index.d.ts +16 -0
  231. package/types/uni/uts-plugin-component/lib/uni-getNetworkType/utssdk/interface.d.ts +420 -0
  232. package/types/uni/uts-plugin-component/lib/uni-getPerformance/utssdk/global.d.ts +23 -0
  233. package/types/uni/uts-plugin-component/lib/uni-getPerformance/utssdk/index.d.ts +11 -0
  234. package/types/uni/uts-plugin-component/lib/uni-getPerformance/utssdk/interface.d.ts +199 -0
  235. package/types/uni/uts-plugin-component/lib/uni-getProvider/utssdk/global.d.ts +37 -0
  236. package/types/uni/uts-plugin-component/lib/uni-getProvider/utssdk/index.d.ts +18 -0
  237. package/types/uni/uts-plugin-component/lib/uni-getProvider/utssdk/interface.d.ts +757 -0
  238. package/types/uni/uts-plugin-component/lib/uni-getSystemInfo/utssdk/global.d.ts +33 -0
  239. package/types/uni/uts-plugin-component/lib/uni-getSystemInfo/utssdk/index.d.ts +16 -0
  240. package/types/uni/uts-plugin-component/lib/uni-getSystemInfo/utssdk/interface.d.ts +6084 -0
  241. package/types/uni/uts-plugin-component/lib/uni-getSystemSetting/utssdk/global.d.ts +13 -0
  242. package/types/uni/uts-plugin-component/lib/uni-getSystemSetting/utssdk/index.d.ts +6 -0
  243. package/types/uni/uts-plugin-component/lib/uni-getSystemSetting/utssdk/interface.d.ts +508 -0
  244. package/types/uni/uts-plugin-component/lib/uni-installApk/utssdk/global.d.ts +25 -0
  245. package/types/uni/uts-plugin-component/lib/uni-installApk/utssdk/index.d.ts +12 -0
  246. package/types/uni/uts-plugin-component/lib/uni-installApk/utssdk/interface.d.ts +125 -0
  247. package/types/uni/uts-plugin-component/lib/uni-interceptor/utssdk/global.d.ts +17 -0
  248. package/types/uni/uts-plugin-component/lib/uni-interceptor/utssdk/index.d.ts +8 -0
  249. package/types/uni/uts-plugin-component/lib/uni-interceptor/utssdk/interface.d.ts +171 -0
  250. package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/global.d.ts +45 -0
  251. package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/index.d.ts +22 -0
  252. package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/interface.d.ts +234 -0
  253. package/types/uni/uts-plugin-component/lib/uni-loadFontFace/utssdk/global.d.ts +29 -0
  254. package/types/uni/uts-plugin-component/lib/uni-loadFontFace/utssdk/index.d.ts +14 -0
  255. package/types/uni/uts-plugin-component/lib/uni-loadFontFace/utssdk/interface.d.ts +603 -0
  256. package/types/uni/uts-plugin-component/lib/uni-location/utssdk/global.d.ts +61 -0
  257. package/types/uni/uts-plugin-component/lib/uni-location/utssdk/index.d.ts +30 -0
  258. package/types/uni/uts-plugin-component/lib/uni-location/utssdk/interface.d.ts +3443 -0
  259. package/types/uni/uts-plugin-component/lib/uni-location-system/utssdk/global.d.ts +9 -0
  260. package/types/uni/uts-plugin-component/lib/uni-location-system/utssdk/index.d.ts +5 -0
  261. package/types/uni/uts-plugin-component/lib/uni-location-system/utssdk/interface.d.ts +3 -0
  262. package/types/uni/uts-plugin-component/lib/uni-location-tencent/utssdk/global.d.ts +9 -0
  263. package/types/uni/uts-plugin-component/lib/uni-location-tencent/utssdk/index.d.ts +5 -0
  264. package/types/uni/uts-plugin-component/lib/uni-location-tencent/utssdk/interface.d.ts +3 -0
  265. package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/global.d.ts +29 -0
  266. package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/index.d.ts +14 -0
  267. package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/interface.d.ts +386 -0
  268. package/types/uni/uts-plugin-component/lib/uni-media/utssdk/global.d.ts +157 -0
  269. package/types/uni/uts-plugin-component/lib/uni-media/utssdk/index.d.ts +78 -0
  270. package/types/uni/uts-plugin-component/lib/uni-media/utssdk/interface.d.ts +5245 -0
  271. package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/global.d.ts +43 -0
  272. package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/index.d.ts +21 -0
  273. package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/interface.d.ts +291 -0
  274. package/types/uni/uts-plugin-component/lib/uni-navigationBar/utssdk/global.d.ts +69 -0
  275. package/types/uni/uts-plugin-component/lib/uni-navigationBar/utssdk/index.d.ts +34 -0
  276. package/types/uni/uts-plugin-component/lib/uni-navigationBar/utssdk/interface.d.ts +1047 -0
  277. package/types/uni/uts-plugin-component/lib/uni-network/utssdk/global.d.ts +109 -0
  278. package/types/uni/uts-plugin-component/lib/uni-network/utssdk/index.d.ts +54 -0
  279. package/types/uni/uts-plugin-component/lib/uni-network/utssdk/interface.d.ts +4462 -0
  280. package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/global.d.ts +71 -0
  281. package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/index.d.ts +35 -0
  282. package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/interface.d.ts +2142 -0
  283. package/types/uni/uts-plugin-component/lib/uni-oauth-huawei/utssdk/global.d.ts +9 -0
  284. package/types/uni/uts-plugin-component/lib/uni-oauth-huawei/utssdk/index.d.ts +5 -0
  285. package/types/uni/uts-plugin-component/lib/uni-oauth-huawei/utssdk/interface.d.ts +1 -0
  286. package/types/uni/uts-plugin-component/lib/uni-oauth-weixin/utssdk/global.d.ts +17 -0
  287. package/types/uni/uts-plugin-component/lib/uni-oauth-weixin/utssdk/index.d.ts +9 -0
  288. package/types/uni/uts-plugin-component/lib/uni-oauth-weixin/utssdk/interface.d.ts +48 -0
  289. package/types/uni/uts-plugin-component/lib/uni-openAppAuthorizeSetting/utssdk/global.d.ts +25 -0
  290. package/types/uni/uts-plugin-component/lib/uni-openAppAuthorizeSetting/utssdk/index.d.ts +12 -0
  291. package/types/uni/uts-plugin-component/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +256 -0
  292. package/types/uni/uts-plugin-component/lib/uni-openDocument/utssdk/global.d.ts +29 -0
  293. package/types/uni/uts-plugin-component/lib/uni-openDocument/utssdk/index.d.ts +14 -0
  294. package/types/uni/uts-plugin-component/lib/uni-openDocument/utssdk/interface.d.ts +823 -0
  295. package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/global.d.ts +27 -0
  296. package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/index.d.ts +13 -0
  297. package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/interface.d.ts +155 -0
  298. package/types/uni/uts-plugin-component/lib/uni-payment/utssdk/global.d.ts +33 -0
  299. package/types/uni/uts-plugin-component/lib/uni-payment/utssdk/index.d.ts +16 -0
  300. package/types/uni/uts-plugin-component/lib/uni-payment/utssdk/interface.d.ts +856 -0
  301. package/types/uni/uts-plugin-component/lib/uni-payment-alipay/utssdk/global.d.ts +9 -0
  302. package/types/uni/uts-plugin-component/lib/uni-payment-alipay/utssdk/index.d.ts +5 -0
  303. package/types/uni/uts-plugin-component/lib/uni-payment-alipay/utssdk/interface.d.ts +3 -0
  304. package/types/uni/uts-plugin-component/lib/uni-payment-huawei/utssdk/global.d.ts +9 -0
  305. package/types/uni/uts-plugin-component/lib/uni-payment-huawei/utssdk/index.d.ts +5 -0
  306. package/types/uni/uts-plugin-component/lib/uni-payment-huawei/utssdk/interface.d.ts +1 -0
  307. package/types/uni/uts-plugin-component/lib/uni-payment-wxpay/utssdk/global.d.ts +9 -0
  308. package/types/uni/uts-plugin-component/lib/uni-payment-wxpay/utssdk/index.d.ts +5 -0
  309. package/types/uni/uts-plugin-component/lib/uni-payment-wxpay/utssdk/interface.d.ts +5 -0
  310. package/types/uni/uts-plugin-component/lib/uni-picker-global/utssdk/global.d.ts +19 -0
  311. package/types/uni/uts-plugin-component/lib/uni-picker-global/utssdk/index.d.ts +10 -0
  312. package/types/uni/uts-plugin-component/lib/uni-picker-global/utssdk/interface.d.ts +26 -0
  313. package/types/uni/uts-plugin-component/lib/uni-previewImage/utssdk/global.d.ts +47 -0
  314. package/types/uni/uts-plugin-component/lib/uni-previewImage/utssdk/index.d.ts +23 -0
  315. package/types/uni/uts-plugin-component/lib/uni-previewImage/utssdk/interface.d.ts +520 -0
  316. package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/global.d.ts +31 -0
  317. package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/index.d.ts +15 -0
  318. package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/interface.d.ts +568 -0
  319. package/types/uni/uts-plugin-component/lib/uni-prompt/utssdk/global.d.ts +33 -0
  320. package/types/uni/uts-plugin-component/lib/uni-prompt/utssdk/index.d.ts +16 -0
  321. package/types/uni/uts-plugin-component/lib/uni-prompt/utssdk/interface.d.ts +1693 -0
  322. package/types/uni/uts-plugin-component/lib/uni-pullDownRefresh/utssdk/global.d.ts +29 -0
  323. package/types/uni/uts-plugin-component/lib/uni-pullDownRefresh/utssdk/index.d.ts +14 -0
  324. package/types/uni/uts-plugin-component/lib/uni-pullDownRefresh/utssdk/interface.d.ts +191 -0
  325. package/types/uni/uts-plugin-component/lib/uni-recorder/utssdk/global.d.ts +21 -0
  326. package/types/uni/uts-plugin-component/lib/uni-recorder/utssdk/index.d.ts +10 -0
  327. package/types/uni/uts-plugin-component/lib/uni-recorder/utssdk/interface.d.ts +2999 -0
  328. package/types/uni/uts-plugin-component/lib/uni-requestMerchantTransfer/utssdk/global.d.ts +21 -0
  329. package/types/uni/uts-plugin-component/lib/uni-requestMerchantTransfer/utssdk/index.d.ts +10 -0
  330. package/types/uni/uts-plugin-component/lib/uni-requestMerchantTransfer/utssdk/interface.d.ts +713 -0
  331. package/types/uni/uts-plugin-component/lib/uni-route/utssdk/global.d.ts +59 -0
  332. package/types/uni/uts-plugin-component/lib/uni-route/utssdk/index.d.ts +29 -0
  333. package/types/uni/uts-plugin-component/lib/uni-route/utssdk/interface.d.ts +2731 -0
  334. package/types/uni/uts-plugin-component/lib/uni-rpx2px/utssdk/global.d.ts +11 -0
  335. package/types/uni/uts-plugin-component/lib/uni-rpx2px/utssdk/index.d.ts +5 -0
  336. package/types/uni/uts-plugin-component/lib/uni-rpx2px/utssdk/interface.d.ts +81 -0
  337. package/types/uni/uts-plugin-component/lib/uni-scanCode/utssdk/global.d.ts +25 -0
  338. package/types/uni/uts-plugin-component/lib/uni-scanCode/utssdk/index.d.ts +12 -0
  339. package/types/uni/uts-plugin-component/lib/uni-scanCode/utssdk/interface.d.ts +429 -0
  340. package/types/uni/uts-plugin-component/lib/uni-screenBrightness/utssdk/global.d.ts +57 -0
  341. package/types/uni/uts-plugin-component/lib/uni-screenBrightness/utssdk/index.d.ts +28 -0
  342. package/types/uni/uts-plugin-component/lib/uni-screenBrightness/utssdk/interface.d.ts +314 -0
  343. package/types/uni/uts-plugin-component/lib/uni-share/utssdk/global.d.ts +41 -0
  344. package/types/uni/uts-plugin-component/lib/uni-share/utssdk/index.d.ts +20 -0
  345. package/types/uni/uts-plugin-component/lib/uni-share/utssdk/interface.d.ts +584 -0
  346. package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/global.d.ts +9 -0
  347. package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/index.d.ts +5 -0
  348. package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/interface.d.ts +3 -0
  349. package/types/uni/uts-plugin-component/lib/uni-shareWithSystem/utssdk/global.d.ts +27 -0
  350. package/types/uni/uts-plugin-component/lib/uni-shareWithSystem/utssdk/index.d.ts +13 -0
  351. package/types/uni/uts-plugin-component/lib/uni-shareWithSystem/utssdk/interface.d.ts +722 -0
  352. package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/global.d.ts +47 -0
  353. package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/index.d.ts +23 -0
  354. package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/interface.d.ts +446 -0
  355. package/types/uni/uts-plugin-component/lib/uni-sse/utssdk/global.d.ts +21 -0
  356. package/types/uni/uts-plugin-component/lib/uni-sse/utssdk/index.d.ts +10 -0
  357. package/types/uni/uts-plugin-component/lib/uni-sse/utssdk/interface.d.ts +330 -0
  358. package/types/uni/uts-plugin-component/lib/uni-storage/utssdk/global.d.ts +79 -0
  359. package/types/uni/uts-plugin-component/lib/uni-storage/utssdk/index.d.ts +39 -0
  360. package/types/uni/uts-plugin-component/lib/uni-storage/utssdk/interface.d.ts +1030 -0
  361. package/types/uni/uts-plugin-component/lib/uni-tabBar/utssdk/global.d.ts +149 -0
  362. package/types/uni/uts-plugin-component/lib/uni-tabBar/utssdk/index.d.ts +74 -0
  363. package/types/uni/uts-plugin-component/lib/uni-tabBar/utssdk/interface.d.ts +1221 -0
  364. package/types/uni/uts-plugin-component/lib/uni-theme/utssdk/global.d.ts +53 -0
  365. package/types/uni/uts-plugin-component/lib/uni-theme/utssdk/index.d.ts +26 -0
  366. package/types/uni/uts-plugin-component/lib/uni-theme/utssdk/interface.d.ts +1141 -0
  367. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/global.d.ts +0 -22
  368. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/index.d.ts +0 -11
  369. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +862 -872
  370. package/types/uni/uts-plugin-component/lib/uni-video-global/utssdk/global.d.ts +4 -14
  371. package/types/uni/uts-plugin-component/lib/uni-video-global/utssdk/index.d.ts +2 -7
  372. package/types/uni/uts-plugin-component/lib/uni-video-global/utssdk/interface.d.ts +14 -51
  373. package/types/uni/uts-plugin-component/lib/uni-virtualPayment/utssdk/global.d.ts +113 -0
  374. package/types/uni/uts-plugin-component/lib/uni-virtualPayment/utssdk/index.d.ts +56 -0
  375. package/types/uni/uts-plugin-component/lib/uni-virtualPayment/utssdk/interface.d.ts +1661 -0
  376. package/types/uni/uts-plugin-component/lib/uni-web-view/utssdk/interface.d.ts +17 -17
  377. package/types/uni/uts-plugin-component/lib/uni-websocket/utssdk/global.d.ts +59 -0
  378. package/types/uni/uts-plugin-component/lib/uni-websocket/utssdk/index.d.ts +29 -0
  379. package/types/uni/uts-plugin-component/lib/uni-websocket/utssdk/interface.d.ts +1939 -0
  380. package/types/vue/LifeCycle.d.ts +865 -854
@@ -0,0 +1,856 @@
1
+ export type UniEditorElementOptionsSuccessRes = {
2
+ errMsg : string
3
+ }
4
+ export type UniEditorElementOptionsFailRes = {
5
+ errMsg : string
6
+ }
7
+ export type UniEditorElementOptionsCompleteRes = {
8
+ errMsg : string
9
+ }
10
+
11
+ export type UniEditorElementOptions = {
12
+ success ?: ((res : UniEditorElementOptionsSuccessRes) => void) | null
13
+ fail ?: ((res : UniEditorElementOptionsFailRes) => void) | null
14
+ complete ?: ((res : UniEditorElementOptionsCompleteRes) => void) | null
15
+ }
16
+
17
+ export type UniEditorElementInsertImageOptions = {
18
+ src ?: string | null,
19
+ alt ?: string | null,
20
+ width ?: string | null,
21
+ height ?: string | null,
22
+ extClass ?: string | null,
23
+ data ?: any | null,
24
+ success ?: ((res : UniEditorElementOptionsSuccessRes) => void) | null
25
+ fail ?: ((res : UniEditorElementOptionsFailRes) => void) | null
26
+ complete ?: ((res : UniEditorElementOptionsCompleteRes) => void) | null
27
+ }
28
+
29
+ export type UniEditorElementInsertTextOptions = {
30
+ text ?: string | null,
31
+ success ?: ((res : UniEditorElementOptionsSuccessRes) => void) | null
32
+ fail ?: ((res : UniEditorElementOptionsFailRes) => void) | null
33
+ complete ?: ((res : UniEditorElementOptionsCompleteRes) => void) | null
34
+ }
35
+
36
+ export type UniEditorElementSetContentsOptions = {
37
+ delta ?: any | null,
38
+ html ?: string | null,
39
+ success ?: ((res : UniEditorElementOptionsSuccessRes) => void) | null
40
+ fail ?: ((res : UniEditorElementOptionsFailRes) => void) | null
41
+ complete ?: ((res : UniEditorElementOptionsCompleteRes) => void) | null
42
+ }
43
+
44
+ export type UniEditorElementGetSelectionTextOptionsRes = {
45
+ errMsg : string,
46
+ text : string
47
+ }
48
+
49
+ export type UniEditorElementGetSelectionTextOptions = {
50
+ success ?: ((res : UniEditorElementGetSelectionTextOptionsRes) => void) | null
51
+ fail ?: ((res : UniEditorElementOptionsFailRes) => void) | null
52
+ complete ?: ((res : UniEditorElementOptionsCompleteRes) => void) | null
53
+ }
54
+
55
+ export type UniEditorElementGetContentsOptionsRes = {
56
+ errMsg : string,
57
+ delta : any,
58
+ html : string,
59
+ text : string
60
+ }
61
+
62
+ export type UniEditorElementGetContentsOptions = {
63
+ success ?: ((res : UniEditorElementGetContentsOptionsRes) => void) | null
64
+ fail ?: ((res : UniEditorElementOptionsFailRes) => void) | null
65
+ complete ?: ((res : UniEditorElementOptionsCompleteRes) => void) | null
66
+ }
67
+
68
+ export interface IUniEditorElement extends UniElement {
69
+ format(name : string, value ?: string | number | null) : void
70
+ insertDivider(options : UniEditorElementOptions | null) : void
71
+ insertImage(options : UniEditorElementInsertImageOptions | null) : void
72
+ insertText(options : UniEditorElementInsertTextOptions | null) : void
73
+ setContents(options : UniEditorElementSetContentsOptions | null) : void
74
+ getContents(options : UniEditorElementGetContentsOptions | null) : void
75
+ clear(options : UniEditorElementOptions | null) : void
76
+ removeFormat(options : UniEditorElementOptions | null) : void
77
+ undo(options : UniEditorElementOptions | null) : void
78
+ redo(options : UniEditorElementOptions | null) : void
79
+ getSelectionText(options : UniEditorElementGetSelectionTextOptions | null) : void
80
+ scrollIntoView(options : UniEditorElementOptions | null) : void
81
+ }
82
+
83
+ type CreateEditorContextAsyncSuccessCallback = (context : EditorContext) => void
84
+ type CreateEditorContextAsyncFailCallback = (error : UniError) => void
85
+ type CreateEditorContextAsyncCompleteCallback = () => void
86
+
87
+ export type CreateEditorContextAsyncOptions = {
88
+ /**
89
+ * editor 元素的 id 属性
90
+ * @uniPlatform {
91
+ * "app": {
92
+ * "android": {
93
+ * "osVer": "5.0",
94
+ * "uniVer": "x",
95
+ * "unixVer": "5.05",
96
+ * "unixVaporVer": "x"
97
+ * },
98
+ * "ios": {
99
+ * "osVer": "10.0",
100
+ * "uniVer": "x",
101
+ * "unixVer": "5.05",
102
+ * "unixVaporVer": "x"
103
+ * },
104
+ * "harmony": {
105
+ * "osVer": "5.0.0",
106
+ * "uniVer": "x",
107
+ * "unixVer": "5.05",
108
+ * "unixVaporVer": "5.05"
109
+ * }
110
+ * },
111
+ * "web": {
112
+ * "uniVer": "√",
113
+ * "unixVer": "5.05",
114
+ * "unixVaporVer": "5.05"
115
+ * },
116
+ * "mp":{
117
+ * "weixin": {
118
+ * "hostVer": "√",
119
+ * "uniVer": "5.05",
120
+ * "unixVer": "5.05",
121
+ * "unixVaporVer": "5.05"
122
+ * },
123
+ * "alipay": {
124
+ * "hostVer": "x",
125
+ * "uniVer": "x",
126
+ * "unixVer": "x"
127
+ * },
128
+ * "baidu": {
129
+ * "hostVer": "x",
130
+ * "uniVer": "x",
131
+ * "unixVer": "x"
132
+ * },
133
+ * "toutiao": {
134
+ * "hostVer": "x",
135
+ * "uniVer": "x",
136
+ * "unixVer": "x"
137
+ * },
138
+ * "lark": {
139
+ * "hostVer": "x",
140
+ * "uniVer": "x",
141
+ * "unixVer": "x"
142
+ * },
143
+ * "qq": {
144
+ * "hostVer": "x",
145
+ * "uniVer": "x",
146
+ * "unixVer": "x"
147
+ * },
148
+ * "kuaishou": {
149
+ * "hostVer": "x",
150
+ * "uniVer": "x",
151
+ * "unixVer": "x"
152
+ * },
153
+ * "jd": {
154
+ * "hostVer": "x",
155
+ * "uniVer": "x",
156
+ * "unixVer": "x"
157
+ * }
158
+ * }
159
+ * }
160
+ */
161
+ id : string.IDString
162
+ /**
163
+ * 组件或页面实例,限定在什么范围内查找id
164
+ * @uniPlatform {
165
+ * "app": {
166
+ * "android": {
167
+ * "osVer": "5.0",
168
+ * "uniVer": "x",
169
+ * "unixVer": "5.05",
170
+ * "unixVaporVer": "x"
171
+ * },
172
+ * "ios": {
173
+ * "osVer": "10.0",
174
+ * "uniVer": "x",
175
+ * "unixVer": "5.05",
176
+ * "unixVaporVer": "x"
177
+ * },
178
+ * "harmony": {
179
+ * "osVer": "5.0.0",
180
+ * "uniVer": "x",
181
+ * "unixVer": "5.05",
182
+ * "unixVaporVer": "5.05"
183
+ * }
184
+ * },
185
+ * "web": {
186
+ * "uniVer": "√",
187
+ * "unixVer": "5.05",
188
+ * "unixVaporVer": "5.05"
189
+ * },
190
+ * "mp":{
191
+ * "weixin": {
192
+ * "hostVer": "√",
193
+ * "uniVer": "5.05",
194
+ * "unixVer": "5.05",
195
+ * "unixVaporVer": "5.05"
196
+ * },
197
+ * "alipay": {
198
+ * "hostVer": "x",
199
+ * "uniVer": "x",
200
+ * "unixVer": "x"
201
+ * },
202
+ * "baidu": {
203
+ * "hostVer": "x",
204
+ * "uniVer": "x",
205
+ * "unixVer": "x"
206
+ * },
207
+ * "toutiao": {
208
+ * "hostVer": "x",
209
+ * "uniVer": "x",
210
+ * "unixVer": "x"
211
+ * },
212
+ * "lark": {
213
+ * "hostVer": "x",
214
+ * "uniVer": "x",
215
+ * "unixVer": "x"
216
+ * },
217
+ * "qq": {
218
+ * "hostVer": "x",
219
+ * "uniVer": "x",
220
+ * "unixVer": "x"
221
+ * },
222
+ * "kuaishou": {
223
+ * "hostVer": "x",
224
+ * "uniVer": "x",
225
+ * "unixVer": "x"
226
+ * },
227
+ * "jd": {
228
+ * "hostVer": "x",
229
+ * "uniVer": "x",
230
+ * "unixVer": "x"
231
+ * }
232
+ * }
233
+ * }
234
+ */
235
+ component ?: ComponentPublicInstance
236
+ /**
237
+ * 接口调用成功的回调函数
238
+ * @uniPlatform {
239
+ * "app": {
240
+ * "android": {
241
+ * "osVer": "5.0",
242
+ * "uniVer": "x",
243
+ * "unixVer": "5.05",
244
+ * "unixVaporVer": "x"
245
+ * },
246
+ * "ios": {
247
+ * "osVer": "10.0",
248
+ * "uniVer": "x",
249
+ * "unixVer": "5.05",
250
+ * "unixVaporVer": "x"
251
+ * },
252
+ * "harmony": {
253
+ * "osVer": "5.0.0",
254
+ * "uniVer": "x",
255
+ * "unixVer": "5.05",
256
+ * "unixVaporVer": "5.05"
257
+ * }
258
+ * },
259
+ * "web": {
260
+ * "uniVer": "√",
261
+ * "unixVer": "5.05",
262
+ * "unixVaporVer": "5.05"
263
+ * },
264
+ * "mp":{
265
+ * "weixin": {
266
+ * "hostVer": "√",
267
+ * "uniVer": "5.05",
268
+ * "unixVer": "5.05",
269
+ * "unixVaporVer": "5.05"
270
+ * },
271
+ * "alipay": {
272
+ * "hostVer": "x",
273
+ * "uniVer": "x",
274
+ * "unixVer": "x"
275
+ * },
276
+ * "baidu": {
277
+ * "hostVer": "x",
278
+ * "uniVer": "x",
279
+ * "unixVer": "x"
280
+ * },
281
+ * "toutiao": {
282
+ * "hostVer": "x",
283
+ * "uniVer": "x",
284
+ * "unixVer": "x"
285
+ * },
286
+ * "lark": {
287
+ * "hostVer": "x",
288
+ * "uniVer": "x",
289
+ * "unixVer": "x"
290
+ * },
291
+ * "qq": {
292
+ * "hostVer": "x",
293
+ * "uniVer": "x",
294
+ * "unixVer": "x"
295
+ * },
296
+ * "kuaishou": {
297
+ * "hostVer": "x",
298
+ * "uniVer": "x",
299
+ * "unixVer": "x"
300
+ * },
301
+ * "jd": {
302
+ * "hostVer": "x",
303
+ * "uniVer": "x",
304
+ * "unixVer": "x"
305
+ * }
306
+ * }
307
+ * }
308
+ */
309
+ success ?: CreateEditorContextAsyncSuccessCallback
310
+ /**
311
+ * 接口调用失败的回调函数
312
+ * @uniPlatform {
313
+ * "app": {
314
+ * "android": {
315
+ * "osVer": "5.0",
316
+ * "uniVer": "x",
317
+ * "unixVer": "5.05",
318
+ * "unixVaporVer": "x"
319
+ * },
320
+ * "ios": {
321
+ * "osVer": "10.0",
322
+ * "uniVer": "x",
323
+ * "unixVer": "5.05",
324
+ * "unixVaporVer": "x"
325
+ * },
326
+ * "harmony": {
327
+ * "osVer": "5.0.0",
328
+ * "uniVer": "x",
329
+ * "unixVer": "5.05",
330
+ * "unixVaporVer": "5.05"
331
+ * }
332
+ * },
333
+ * "web": {
334
+ * "uniVer": "√",
335
+ * "unixVer": "5.05",
336
+ * "unixVaporVer": "5.05"
337
+ * },
338
+ * "mp":{
339
+ * "weixin": {
340
+ * "hostVer": "√",
341
+ * "uniVer": "5.05",
342
+ * "unixVer": "5.05",
343
+ * "unixVaporVer": "5.05"
344
+ * },
345
+ * "alipay": {
346
+ * "hostVer": "x",
347
+ * "uniVer": "x",
348
+ * "unixVer": "x"
349
+ * },
350
+ * "baidu": {
351
+ * "hostVer": "x",
352
+ * "uniVer": "x",
353
+ * "unixVer": "x"
354
+ * },
355
+ * "toutiao": {
356
+ * "hostVer": "x",
357
+ * "uniVer": "x",
358
+ * "unixVer": "x"
359
+ * },
360
+ * "lark": {
361
+ * "hostVer": "x",
362
+ * "uniVer": "x",
363
+ * "unixVer": "x"
364
+ * },
365
+ * "qq": {
366
+ * "hostVer": "x",
367
+ * "uniVer": "x",
368
+ * "unixVer": "x"
369
+ * },
370
+ * "kuaishou": {
371
+ * "hostVer": "x",
372
+ * "uniVer": "x",
373
+ * "unixVer": "x"
374
+ * },
375
+ * "jd": {
376
+ * "hostVer": "x",
377
+ * "uniVer": "x",
378
+ * "unixVer": "x"
379
+ * }
380
+ * }
381
+ * }
382
+ */
383
+ fail ?: CreateEditorContextAsyncFailCallback
384
+ /**
385
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
386
+ * @uniPlatform {
387
+ * "app": {
388
+ * "android": {
389
+ * "osVer": "5.0",
390
+ * "uniVer": "x",
391
+ * "unixVer": "5.05",
392
+ * "unixVaporVer": "x"
393
+ * },
394
+ * "ios": {
395
+ * "osVer": "10.0",
396
+ * "uniVer": "x",
397
+ * "unixVer": "5.05",
398
+ * "unixVaporVer": "x"
399
+ * },
400
+ * "harmony": {
401
+ * "osVer": "5.0.0",
402
+ * "uniVer": "x",
403
+ * "unixVer": "5.05",
404
+ * "unixVaporVer": "5.05"
405
+ * }
406
+ * },
407
+ * "web": {
408
+ * "uniVer": "√",
409
+ * "unixVer": "5.05",
410
+ * "unixVaporVer": "5.05"
411
+ * },
412
+ * "mp":{
413
+ * "weixin": {
414
+ * "hostVer": "√",
415
+ * "uniVer": "5.05",
416
+ * "unixVer": "5.05",
417
+ * "unixVaporVer": "5.05"
418
+ * },
419
+ * "alipay": {
420
+ * "hostVer": "x",
421
+ * "uniVer": "x",
422
+ * "unixVer": "x"
423
+ * },
424
+ * "baidu": {
425
+ * "hostVer": "x",
426
+ * "uniVer": "x",
427
+ * "unixVer": "x"
428
+ * },
429
+ * "toutiao": {
430
+ * "hostVer": "x",
431
+ * "uniVer": "x",
432
+ * "unixVer": "x"
433
+ * },
434
+ * "lark": {
435
+ * "hostVer": "x",
436
+ * "uniVer": "x",
437
+ * "unixVer": "x"
438
+ * },
439
+ * "qq": {
440
+ * "hostVer": "x",
441
+ * "uniVer": "x",
442
+ * "unixVer": "x"
443
+ * },
444
+ * "kuaishou": {
445
+ * "hostVer": "x",
446
+ * "uniVer": "x",
447
+ * "unixVer": "x"
448
+ * },
449
+ * "jd": {
450
+ * "hostVer": "x",
451
+ * "uniVer": "x",
452
+ * "unixVer": "x"
453
+ * }
454
+ * }
455
+ * }
456
+ */
457
+ complete ?: CreateEditorContextAsyncCompleteCallback
458
+ }
459
+
460
+ export interface EditorContext {
461
+ /**
462
+ * 修改样式
463
+ * @uniPlatform {
464
+ * "app": {
465
+ * "android": {
466
+ * "osVer": "4.4",
467
+ * "uniVer": "x",
468
+ * "unixVer": "5.04"
469
+ * },
470
+ * "ios": {
471
+ * "osVer": "12.0",
472
+ * "uniVer": "x",
473
+ * "unixVer": "5.04"
474
+ * },
475
+ * "harmony": {
476
+ * "osVer": "√",
477
+ * "uniVer": "x",
478
+ * "unixVer": "5.04",
479
+ * "unixVaporVer": "5.04"
480
+ * }
481
+ * },
482
+ * }
483
+ */
484
+ format(name : string, value ?: string | number | null) : void
485
+ /**
486
+ * 插入分割线
487
+ * @uniPlatform {
488
+ * "app": {
489
+ * "android": {
490
+ * "osVer": "4.4",
491
+ * "uniVer": "x",
492
+ * "unixVer": "5.04"
493
+ * },
494
+ * "ios": {
495
+ * "osVer": "12.0",
496
+ * "uniVer": "x",
497
+ * "unixVer": "5.04"
498
+ * },
499
+ * "harmony": {
500
+ * "osVer": "√",
501
+ * "uniVer": "x",
502
+ * "unixVer": "5.04",
503
+ * "unixVaporVer": "5.04"
504
+ * }
505
+ * },
506
+ * }
507
+ */
508
+ insertDivider(options ?: UniEditorElementOptions | null) : void
509
+ /**
510
+ * 插入图片
511
+ * @uniPlatform {
512
+ * "app": {
513
+ * "android": {
514
+ * "osVer": "4.4",
515
+ * "uniVer": "x",
516
+ * "unixVer": "5.04"
517
+ * },
518
+ * "ios": {
519
+ * "osVer": "12.0",
520
+ * "uniVer": "x",
521
+ * "unixVer": "5.04"
522
+ * },
523
+ * "harmony": {
524
+ * "osVer": "√",
525
+ * "uniVer": "x",
526
+ * "unixVer": "5.04",
527
+ * "unixVaporVer": "5.04"
528
+ * }
529
+ * },
530
+ * }
531
+ */
532
+ insertImage(options ?: UniEditorElementInsertImageOptions | null) : void
533
+ /**
534
+ * 覆盖当前选区,设置一段文本
535
+ * @uniPlatform {
536
+ * "app": {
537
+ * "android": {
538
+ * "osVer": "4.4",
539
+ * "uniVer": "x",
540
+ * "unixVer": "5.04"
541
+ * },
542
+ * "ios": {
543
+ * "osVer": "12.0",
544
+ * "uniVer": "x",
545
+ * "unixVer": "5.04"
546
+ * },
547
+ * "harmony": {
548
+ * "osVer": "√",
549
+ * "uniVer": "x",
550
+ * "unixVer": "5.04",
551
+ * "unixVaporVer": "5.04"
552
+ * }
553
+ * },
554
+ * }
555
+ */
556
+ insertText(options ?: UniEditorElementInsertTextOptions | null) : void
557
+ /**
558
+ * 初始化编辑器内容,html和delta同时存在时仅delta生效
559
+ * @uniPlatform {
560
+ * "app": {
561
+ * "android": {
562
+ * "osVer": "4.4",
563
+ * "uniVer": "x",
564
+ * "unixVer": "5.04"
565
+ * },
566
+ * "ios": {
567
+ * "osVer": "12.0",
568
+ * "uniVer": "x",
569
+ * "unixVer": "5.04"
570
+ * },
571
+ * "harmony": {
572
+ * "osVer": "√",
573
+ * "uniVer": "x",
574
+ * "unixVer": "5.04",
575
+ * "unixVaporVer": "5.04"
576
+ * }
577
+ * },
578
+ * }
579
+ */
580
+ setContents(options ?: UniEditorElementSetContentsOptions | null) : void
581
+ /**
582
+ * 获取编辑器内容
583
+ * @uniPlatform {
584
+ * "app": {
585
+ * "android": {
586
+ * "osVer": "4.4",
587
+ * "uniVer": "x",
588
+ * "unixVer": "5.04"
589
+ * },
590
+ * "ios": {
591
+ * "osVer": "12.0",
592
+ * "uniVer": "x",
593
+ * "unixVer": "5.04"
594
+ * },
595
+ * "harmony": {
596
+ * "osVer": "√",
597
+ * "uniVer": "x",
598
+ * "unixVer": "5.04",
599
+ * "unixVaporVer": "5.04"
600
+ * }
601
+ * },
602
+ * }
603
+ */
604
+ getContents(options ?: UniEditorElementGetContentsOptions | null) : void
605
+ /**
606
+ * 清空编辑器内容
607
+ * @uniPlatform {
608
+ * "app": {
609
+ * "android": {
610
+ * "osVer": "4.4",
611
+ * "uniVer": "x",
612
+ * "unixVer": "5.04"
613
+ * },
614
+ * "ios": {
615
+ * "osVer": "12.0",
616
+ * "uniVer": "x",
617
+ * "unixVer": "5.04"
618
+ * },
619
+ * "harmony": {
620
+ * "osVer": "√",
621
+ * "uniVer": "x",
622
+ * "unixVer": "5.04",
623
+ * "unixVaporVer": "5.04"
624
+ * }
625
+ * },
626
+ * }
627
+ */
628
+ clear(options ?: UniEditorElementOptions | null) : void
629
+ /**
630
+ * 清除当前选区的样式
631
+ * @uniPlatform {
632
+ * "app": {
633
+ * "android": {
634
+ * "osVer": "4.4",
635
+ * "uniVer": "x",
636
+ * "unixVer": "5.04"
637
+ * },
638
+ * "ios": {
639
+ * "osVer": "12.0",
640
+ * "uniVer": "x",
641
+ * "unixVer": "5.04"
642
+ * },
643
+ * "harmony": {
644
+ * "osVer": "√",
645
+ * "uniVer": "x",
646
+ * "unixVer": "5.04",
647
+ * "unixVaporVer": "5.04"
648
+ * }
649
+ * },
650
+ * }
651
+ */
652
+ removeFormat(options ?: UniEditorElementOptions | null) : void
653
+ /**
654
+ * 撤销
655
+ * @uniPlatform {
656
+ * "app": {
657
+ * "android": {
658
+ * "osVer": "4.4",
659
+ * "uniVer": "x",
660
+ * "unixVer": "5.04"
661
+ * },
662
+ * "ios": {
663
+ * "osVer": "12.0",
664
+ * "uniVer": "x",
665
+ * "unixVer": "5.04"
666
+ * },
667
+ * "harmony": {
668
+ * "osVer": "√",
669
+ * "uniVer": "x",
670
+ * "unixVer": "5.04",
671
+ * "unixVaporVer": "5.04"
672
+ * }
673
+ * },
674
+ * }
675
+ */
676
+ undo(options ?: UniEditorElementOptions | null) : void
677
+ /**
678
+ * 恢复
679
+ * @uniPlatform {
680
+ * "app": {
681
+ * "android": {
682
+ * "osVer": "4.4",
683
+ * "uniVer": "x",
684
+ * "unixVer": "5.04"
685
+ * },
686
+ * "ios": {
687
+ * "osVer": "12.0",
688
+ * "uniVer": "x",
689
+ * "unixVer": "5.04"
690
+ * },
691
+ * "harmony": {
692
+ * "osVer": "√",
693
+ * "uniVer": "x",
694
+ * "unixVer": "5.04",
695
+ * "unixVaporVer": "5.04"
696
+ * }
697
+ * },
698
+ * }
699
+ */
700
+ redo(options ?: UniEditorElementOptions | null) : void
701
+ /**
702
+ * 获取编辑器已选区域内的纯文本内容。当编辑器失焦或未选中一段区间时,返回内容为空。
703
+ * @uniPlatform {
704
+ * "app": {
705
+ * "android": {
706
+ * "osVer": "4.4",
707
+ * "uniVer": "x",
708
+ * "unixVer": "5.04"
709
+ * },
710
+ * "ios": {
711
+ * "osVer": "12.0",
712
+ * "uniVer": "x",
713
+ * "unixVer": "5.04"
714
+ * },
715
+ * "harmony": {
716
+ * "osVer": "√",
717
+ * "uniVer": "x",
718
+ * "unixVer": "5.04",
719
+ * "unixVaporVer": "5.04"
720
+ * }
721
+ * },
722
+ * }
723
+ */
724
+ getSelectionText(options ?: UniEditorElementGetSelectionTextOptions | null) : void
725
+ /**
726
+ * 使得编辑器光标处滚动到窗口可视区域内。
727
+ * @uniPlatform {
728
+ * "app": {
729
+ * "android": {
730
+ * "osVer": "4.4",
731
+ * "uniVer": "x",
732
+ * "unixVer": "5.04"
733
+ * },
734
+ * "ios": {
735
+ * "osVer": "12.0",
736
+ * "uniVer": "x",
737
+ * "unixVer": "5.04"
738
+ * },
739
+ * "harmony": {
740
+ * "osVer": "√",
741
+ * "uniVer": "x",
742
+ * "unixVer": "5.04",
743
+ * "unixVaporVer": "5.04"
744
+ * }
745
+ * },
746
+ * }
747
+ */
748
+ scrollIntoView(options ?: UniEditorElementOptions | null) : void
749
+ /**
750
+ * 编辑器失焦,同时收起键盘
751
+ * @uniPlatform {
752
+ * "app": {
753
+ * "android": {
754
+ * "osVer": "4.4",
755
+ * "uniVer": "x",
756
+ * "unixVer": "5.04"
757
+ * },
758
+ * "ios": {
759
+ * "osVer": "12.0",
760
+ * "uniVer": "x",
761
+ * "unixVer": "5.04"
762
+ * },
763
+ * "harmony": {
764
+ * "osVer": "√",
765
+ * "uniVer": "x",
766
+ * "unixVer": "5.04",
767
+ * "unixVaporVer": "5.04"
768
+ * }
769
+ * },
770
+ * }
771
+ */
772
+ blur(options ?: UniEditorElementOptions | null) : void
773
+ }
774
+
775
+ export type CreateEditorContextAsync = (options: CreateEditorContextAsyncOptions) => void
776
+
777
+ export interface Uni {
778
+ /**
779
+ * 创建并返回 editor 上下文 editorContext 对象
780
+ * @uniPlatform {
781
+ * "app": {
782
+ * "android": {
783
+ * "osVer": "5.0",
784
+ * "uniVer": "x",
785
+ * "unixVer": "5.05",
786
+ * "unixVaporVer": "x"
787
+ * },
788
+ * "ios": {
789
+ * "osVer": "10.0",
790
+ * "uniVer": "x",
791
+ * "unixVer": "5.05",
792
+ * "unixVaporVer": "x"
793
+ * },
794
+ * "harmony": {
795
+ * "osVer": "5.0.0",
796
+ * "uniVer": "x",
797
+ * "unixVer": "5.05",
798
+ * "unixVaporVer": "5.05"
799
+ * }
800
+ * },
801
+ * "web": {
802
+ * "uniVer": "√",
803
+ * "unixVer": "5.05",
804
+ * "unixVaporVer": "5.05"
805
+ * },
806
+ * "mp":{
807
+ * "weixin": {
808
+ * "hostVer": "√",
809
+ * "uniVer": "5.05",
810
+ * "unixVer": "5.05",
811
+ * "unixVaporVer": "5.05"
812
+ * },
813
+ * "alipay": {
814
+ * "hostVer": "x",
815
+ * "uniVer": "x",
816
+ * "unixVer": "x"
817
+ * },
818
+ * "baidu": {
819
+ * "hostVer": "x",
820
+ * "uniVer": "x",
821
+ * "unixVer": "x"
822
+ * },
823
+ * "toutiao": {
824
+ * "hostVer": "x",
825
+ * "uniVer": "x",
826
+ * "unixVer": "x"
827
+ * },
828
+ * "lark": {
829
+ * "hostVer": "x",
830
+ * "uniVer": "x",
831
+ * "unixVer": "x"
832
+ * },
833
+ * "qq": {
834
+ * "hostVer": "x",
835
+ * "uniVer": "x",
836
+ * "unixVer": "x"
837
+ * },
838
+ * "kuaishou": {
839
+ * "hostVer": "x",
840
+ * "uniVer": "x",
841
+ * "unixVer": "x"
842
+ * },
843
+ * "jd": {
844
+ * "hostVer": "x",
845
+ * "uniVer": "x",
846
+ * "unixVer": "x"
847
+ * }
848
+ * }
849
+ * }
850
+ *
851
+ * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/location/editor.html#createeditorcontext
852
+ * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/create-editor-context.html
853
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/create-editor-context.html
854
+ */
855
+ createEditorContextAsync : CreateEditorContextAsync
856
+ }