@dcloudio/uni-app-x 0.7.12 → 0.7.14

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 (276) hide show
  1. package/.prettierrc +5 -5
  2. package/README.md +1 -1
  3. package/index.d.ts +1 -1
  4. package/options.d.ts +9 -9
  5. package/package.json +27 -27
  6. package/types/app.d.ts +842 -843
  7. package/types/index.d.ts +7 -7
  8. package/types/native/AsyncApiResult.d.ts +7 -7
  9. package/types/native/CSSStyleDeclaration.d.ts +97 -25
  10. package/types/native/DOMRect.d.ts +236 -56
  11. package/types/native/DrawableContext.d.ts +471 -4
  12. package/types/native/INavigationBar.d.ts +22 -22
  13. package/types/native/IUniElement.d.ts +2372 -760
  14. package/types/native/IUniError.d.ts +20 -20
  15. package/types/native/IUniForm.d.ts +9 -9
  16. package/types/native/NativeLoadFontFaceOptions.d.ts +11 -11
  17. package/types/native/NodeData.d.ts +22 -22
  18. package/types/native/PageNode.d.ts +6 -6
  19. package/types/native/SnapshotOptions.d.ts +62 -63
  20. package/types/native/SourceError.d.ts +46 -46
  21. package/types/native/UTSAndroidHookProxy.d.ts +14 -14
  22. package/types/native/UniAggregateError.d.ts +19 -19
  23. package/types/native/UniApp.d.ts +95 -79
  24. package/types/native/UniCallbackWrapper.d.ts +7 -7
  25. package/types/native/UniCustomEvent.d.ts +24 -24
  26. package/types/native/UniDocument.d.ts +83 -83
  27. package/types/native/UniElement.d.ts +74 -74
  28. package/types/native/UniError.d.ts +70 -70
  29. package/types/native/UniEvent.d.ts +92 -62
  30. package/types/native/UniFormControl.d.ts +8 -8
  31. package/types/native/UniFormControlElement.d.ts +14 -14
  32. package/types/native/UniImageErrorEvent.d.ts +33 -33
  33. package/types/native/UniImageLoadEvent.d.ts +37 -37
  34. package/types/native/UniInputBlurEvent.d.ts +36 -36
  35. package/types/native/UniInputConfirmEvent.d.ts +30 -30
  36. package/types/native/UniInputEvent.d.ts +38 -38
  37. package/types/native/UniInputFocusEvent.d.ts +53 -48
  38. package/types/native/UniNativePage.d.ts +223 -181
  39. package/types/native/UniNestedPreScrollEvent.d.ts +45 -45
  40. package/types/native/UniPageEvent.d.ts +10 -10
  41. package/types/native/UniPageManager.d.ts +17 -17
  42. package/types/native/UniPageScrollEvent.d.ts +13 -13
  43. package/types/native/UniPointerEvent.d.ts +74 -74
  44. package/types/native/UniProvider.d.ts +14 -0
  45. package/types/native/UniRefresherEvent.d.ts +18 -18
  46. package/types/native/UniResizeEvent.d.ts +34 -34
  47. package/types/native/UniResizeObserver.d.ts +274 -0
  48. package/types/native/UniRichTextItemClickEvent.d.ts +41 -41
  49. package/types/native/UniScrollEvent.d.ts +42 -42
  50. package/types/native/UniScrollToLowerEvent.d.ts +23 -23
  51. package/types/native/UniScrollToUpperEvent.d.ts +23 -23
  52. package/types/native/UniStartNestedScrollEvent.d.ts +33 -33
  53. package/types/native/UniStopNestedScrollEvent.d.ts +28 -28
  54. package/types/native/UniSwiperAnimationFinishEvent.d.ts +44 -22
  55. package/types/native/UniSwiperChangeEvent.d.ts +44 -22
  56. package/types/native/UniSwiperTransitionEvent.d.ts +24 -24
  57. package/types/native/UniTabTapEvent.d.ts +18 -18
  58. package/types/native/UniTabsElement.d.ts +59 -59
  59. package/types/native/UniTextElement.d.ts +34 -34
  60. package/types/native/UniTextareaFocusEvent.d.ts +54 -49
  61. package/types/native/UniTouchEvent.d.ts +64 -64
  62. package/types/native/UniVideoElement.d.ts +70 -70
  63. package/types/native/UniWebViewDownloadEvent.d.ts +52 -52
  64. package/types/native/UniWebViewElement.d.ts +10 -10
  65. package/types/native/UniWebViewErrorEvent.d.ts +59 -47
  66. package/types/native/UniWebViewLoadEvent.d.ts +41 -36
  67. package/types/native/UniWebViewLoadingEvent.d.ts +41 -36
  68. package/types/native/UniWebViewMessageEvent.d.ts +36 -36
  69. package/types/native/UniWebViewServiceMessageEvent.d.ts +8 -8
  70. package/types/native/ViewToTempFilePathOptions.d.ts +47 -47
  71. package/types/native/WebViewStyles.d.ts +20 -20
  72. package/types/native/global.d.ts +540 -519
  73. package/types/native/index.d.ts +67 -65
  74. package/types/native-global/index.d.ts +1 -1
  75. package/types/page.d.ts +1678 -1593
  76. package/types/process.d.ts +5 -5
  77. package/types/uni/base/index.d.ts +3 -3
  78. package/types/uni/env/index.d.ts +64 -64
  79. package/types/uni/global.d.ts +6 -5
  80. package/types/uni/index.d.ts +4 -3
  81. package/types/uni/uts-plugin-api/global.d.ts +36 -35
  82. package/types/uni/uts-plugin-api/index.d.ts +36 -35
  83. package/types/uni/uts-plugin-api/lib/uni-createRequestPermissionListener/utssdk/global.d.ts +18 -18
  84. package/types/uni/uts-plugin-api/lib/uni-createRequestPermissionListener/utssdk/index.d.ts +8 -8
  85. package/types/uni/uts-plugin-api/lib/uni-createRequestPermissionListener/utssdk/interface.d.ts +43 -43
  86. package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/global.d.ts +20 -20
  87. package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/index.d.ts +9 -9
  88. package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +412 -412
  89. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/global.d.ts +12 -12
  90. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/index.d.ts +5 -5
  91. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +129 -129
  92. package/types/uni/uts-plugin-api/lib/uni-event/utssdk/global.d.ts +16 -16
  93. package/types/uni/uts-plugin-api/lib/uni-event/utssdk/index.d.ts +7 -7
  94. package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +277 -277
  95. package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/global.d.ts +26 -26
  96. package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/index.d.ts +12 -12
  97. package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/interface.d.ts +86 -82
  98. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/global.d.ts +142 -66
  99. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/index.d.ts +70 -32
  100. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +1833 -450
  101. package/types/uni/uts-plugin-api/lib/uni-getAccessibilityInfo/utssdk/global.d.ts +10 -10
  102. package/types/uni/uts-plugin-api/lib/uni-getAccessibilityInfo/utssdk/index.d.ts +4 -4
  103. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/global.d.ts +12 -12
  104. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/index.d.ts +5 -5
  105. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +200 -120
  106. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/global.d.ts +14 -14
  107. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/index.d.ts +6 -6
  108. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +681 -350
  109. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/global.d.ts +14 -14
  110. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/index.d.ts +6 -6
  111. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +533 -118
  112. package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/global.d.ts +10 -10
  113. package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/index.d.ts +4 -4
  114. package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/interface.d.ts +73 -73
  115. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/global.d.ts +12 -12
  116. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/index.d.ts +5 -5
  117. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +39 -39
  118. package/types/uni/uts-plugin-api/lib/uni-getLocation-system/utssdk/global.d.ts +20 -20
  119. package/types/uni/uts-plugin-api/lib/uni-getLocation-system/utssdk/index.d.ts +9 -9
  120. package/types/uni/uts-plugin-api/lib/uni-getLocation-system/utssdk/interface.d.ts +151 -151
  121. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/global.d.ts +24 -24
  122. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/index.d.ts +11 -11
  123. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +2 -2
  124. package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/global.d.ts +22 -22
  125. package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/index.d.ts +10 -10
  126. package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +157 -157
  127. package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/global.d.ts +24 -24
  128. package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/index.d.ts +11 -11
  129. package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/interface.d.ts +98 -88
  130. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/global.d.ts +30 -30
  131. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/index.d.ts +14 -14
  132. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +1373 -55
  133. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/global.d.ts +12 -12
  134. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/index.d.ts +5 -5
  135. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +102 -6
  136. package/types/uni/uts-plugin-api/lib/uni-installApk/utssdk/global.d.ts +24 -24
  137. package/types/uni/uts-plugin-api/lib/uni-installApk/utssdk/index.d.ts +11 -11
  138. package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/global.d.ts +16 -16
  139. package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/index.d.ts +7 -7
  140. package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/interface.d.ts +152 -152
  141. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/global.d.ts +26 -26
  142. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/index.d.ts +12 -12
  143. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +557 -557
  144. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/global.d.ts +158 -158
  145. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/index.d.ts +78 -78
  146. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +1064 -906
  147. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/global.d.ts +44 -44
  148. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/index.d.ts +21 -21
  149. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +794 -794
  150. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/app-ios/global.d.ts +78 -78
  151. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/app-ios/index.d.ts +38 -38
  152. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/app-ios/interface.d.ts +17 -17
  153. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/global.d.ts +72 -72
  154. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/index.d.ts +35 -35
  155. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +668 -31
  156. package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/global.d.ts +24 -24
  157. package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/index.d.ts +11 -11
  158. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/global.d.ts +24 -24
  159. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/index.d.ts +11 -11
  160. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +143 -143
  161. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/global.d.ts +32 -30
  162. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/index.d.ts +15 -14
  163. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +14 -10
  164. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/global.d.ts +74 -74
  165. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/index.d.ts +36 -36
  166. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/global.d.ts +26 -26
  167. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/index.d.ts +12 -12
  168. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +174 -174
  169. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/global.d.ts +58 -58
  170. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/index.d.ts +28 -28
  171. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +2020 -2020
  172. package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/global.d.ts +10 -10
  173. package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/index.d.ts +4 -4
  174. package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/interface.d.ts +33 -33
  175. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/global.d.ts +78 -78
  176. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/index.d.ts +38 -38
  177. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +531 -531
  178. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/global.d.ts +132 -132
  179. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/index.d.ts +65 -65
  180. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +1009 -926
  181. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/global.d.ts +42 -0
  182. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/index.d.ts +20 -0
  183. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +466 -0
  184. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/global.d.ts +58 -58
  185. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/index.d.ts +28 -28
  186. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +204 -54
  187. package/types/uni/uts-plugin-biz/global.d.ts +4 -4
  188. package/types/uni/uts-plugin-biz/index.d.ts +4 -4
  189. package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/global.d.ts +36 -36
  190. package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/index.d.ts +17 -17
  191. package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/interface.d.ts +137 -132
  192. package/types/uni/uts-plugin-biz/lib/uni-facialRecognitionVerify/utssdk/global.d.ts +28 -28
  193. package/types/uni/uts-plugin-biz/lib/uni-facialRecognitionVerify/utssdk/index.d.ts +13 -13
  194. package/types/uni/uts-plugin-biz/lib/uni-facialRecognitionVerify/utssdk/interface.d.ts +141 -141
  195. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/global.d.ts +56 -56
  196. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/index.d.ts +27 -27
  197. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +193 -19
  198. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/global.d.ts +46 -46
  199. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/index.d.ts +22 -22
  200. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +203 -203
  201. package/types/uni/uts-plugin-component/global.d.ts +1 -1
  202. package/types/uni/uts-plugin-component/index.d.ts +1 -1
  203. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/global.d.ts +64 -64
  204. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/index.d.ts +31 -31
  205. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +404 -404
  206. package/types/uni/uts-plugin-extend/README.md +3 -0
  207. package/types/uni/uts-plugin-extend/global.d.ts +14 -0
  208. package/types/uni/uts-plugin-extend/index.d.ts +16 -0
  209. package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/global.d.ts +12 -0
  210. package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/index.d.ts +1 -0
  211. package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/interface.d.ts +365 -0
  212. package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/global.d.ts +23 -0
  213. package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/index.d.ts +10 -0
  214. package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/interface.d.ts +710 -0
  215. package/types/uni/uts-plugin-extend/lib/uni-chooseLocation/utssdk/global.d.ts +21 -0
  216. package/types/uni/uts-plugin-extend/lib/uni-chooseLocation/utssdk/index.d.ts +9 -0
  217. package/types/uni/uts-plugin-extend/lib/uni-chooseLocation/utssdk/interface.d.ts +151 -0
  218. package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/global.d.ts +25 -0
  219. package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/index.d.ts +11 -0
  220. package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/interface.d.ts +363 -0
  221. package/types/uni/uts-plugin-extend/lib/uni-createInnerAudioContext/utssdk/global.d.ts +11 -0
  222. package/types/uni/uts-plugin-extend/lib/uni-createInnerAudioContext/utssdk/index.d.ts +4 -0
  223. package/types/uni/uts-plugin-extend/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +224 -0
  224. package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/global.d.ts +53 -0
  225. package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/index.d.ts +25 -0
  226. package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/interface.d.ts +486 -0
  227. package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/global.d.ts +7 -0
  228. package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/index.d.ts +1 -0
  229. package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +296 -0
  230. package/types/uni/uts-plugin-extend/lib/uni-getClipboardData/utssdk/global.d.ts +21 -0
  231. package/types/uni/uts-plugin-extend/lib/uni-getClipboardData/utssdk/index.d.ts +9 -0
  232. package/types/uni/uts-plugin-extend/lib/uni-getClipboardData/utssdk/interface.d.ts +119 -0
  233. package/types/uni/uts-plugin-extend/lib/uni-locale/utssdk/global.d.ts +15 -0
  234. package/types/uni/uts-plugin-extend/lib/uni-locale/utssdk/index.d.ts +1 -0
  235. package/types/uni/uts-plugin-extend/lib/uni-locale/utssdk/interface.d.ts +229 -0
  236. package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/global.d.ts +14 -0
  237. package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/index.d.ts +1 -0
  238. package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/interface.d.ts +559 -0
  239. package/types/uni/uts-plugin-extend/lib/uni-makePhoneCall/utssdk/global.d.ts +21 -0
  240. package/types/uni/uts-plugin-extend/lib/uni-makePhoneCall/utssdk/index.d.ts +9 -0
  241. package/types/uni/uts-plugin-extend/lib/uni-makePhoneCall/utssdk/interface.d.ts +121 -0
  242. package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/global.d.ts +9 -0
  243. package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/index.d.ts +1 -0
  244. package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/interface.d.ts +163 -0
  245. package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/global.d.ts +21 -0
  246. package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/index.d.ts +9 -0
  247. package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/interface.d.ts +143 -0
  248. package/types/uni/uts-plugin-extend/lib/uni-preloadPage/utssdk/global.d.ts +7 -0
  249. package/types/uni/uts-plugin-extend/lib/uni-preloadPage/utssdk/index.d.ts +1 -0
  250. package/types/uni/uts-plugin-extend/lib/uni-preloadPage/utssdk/interface.d.ts +106 -0
  251. package/types/uni/uts-plugin-extend/lib/uni-setClipboardData/utssdk/global.d.ts +21 -0
  252. package/types/uni/uts-plugin-extend/lib/uni-setClipboardData/utssdk/index.d.ts +9 -0
  253. package/types/uni/uts-plugin-extend/lib/uni-setClipboardData/utssdk/interface.d.ts +122 -0
  254. package/types/uni/uts-plugin-extend/lib/uni-theme/utssdk/global.d.ts +9 -0
  255. package/types/uni/uts-plugin-extend/lib/uni-theme/utssdk/index.d.ts +1 -0
  256. package/types/uni/uts-plugin-extend/lib/uni-theme/utssdk/interface.d.ts +165 -0
  257. package/types/uni-cloud/index.d.ts +63 -59
  258. package/types/uni-cloud/interface.d.ts +937 -801
  259. package/types/uni-cloud/unicloud-db/index.d.ts +81 -0
  260. package/types/uni-cloud/unicloud-db/index.ts +313 -313
  261. package/types/uni-global/index.d.ts +1 -1
  262. package/types/vue/CheckboxGroupChangeEvent.d.ts +33 -36
  263. package/types/vue/LifeCycle.d.ts +55 -55
  264. package/types/vue/PickerViewChangeEvent.d.ts +33 -36
  265. package/types/vue/ProgressActiveendEvent.d.ts +28 -30
  266. package/types/vue/RadioGroupChangeEvent.d.ts +33 -36
  267. package/types/vue/SliderChangeEvent.d.ts +31 -32
  268. package/types/vue/SwitchChangeEvent.d.ts +28 -30
  269. package/types/vue/UniCanvasElement.d.ts +270 -270
  270. package/types/vue/UniCloudDBElement.d.ts +212 -215
  271. package/types/vue/UniFormElement.d.ts +49 -51
  272. package/types/vue/UniNavigatorElement.d.ts +6 -7
  273. package/types/vue/global.d.ts +190 -0
  274. package/types/vue/index.d.ts +10 -11
  275. package/types/vue-global/index.d.ts +1 -0
  276. package/uts-plugin.d.ts +27 -26
@@ -0,0 +1,42 @@
1
+ // 本文件为自动构建生成
2
+ import {
3
+ OsThemeChangeResult as OsThemeChangeResultOrigin,
4
+ AppThemeChangeResult as AppThemeChangeResultOrigin,
5
+ OnOsThemeChangeCallback as OnOsThemeChangeCallbackOrigin,
6
+ OnOsThemeChange as OnOsThemeChangeOrigin,
7
+ OffOsThemeChange as OffOsThemeChangeOrigin,
8
+ SetAppTheme as SetAppThemeOrigin,
9
+ OnAppThemeChangeCallback as OnAppThemeChangeCallbackOrigin,
10
+ OnAppThemeChange as OnAppThemeChangeOrigin,
11
+ OffAppThemeChange as OffAppThemeChangeOrigin,
12
+ SetAppThemeSuccessResult as SetAppThemeSuccessResultOrigin,
13
+ SetAppThemeSuccessCallback as SetAppThemeSuccessCallbackOrigin,
14
+ SetAppThemeFailCallback as SetAppThemeFailCallbackOrigin,
15
+ SetAppThemeCompleteCallback as SetAppThemeCompleteCallbackOrigin,
16
+ SetAppThemeOptions as SetAppThemeOptionsOrigin,
17
+ AppThemeErrorCode as AppThemeErrorCodeOrigin,
18
+ AppThemeFail as AppThemeFailOrigin,
19
+ IAppThemeFail as IAppThemeFailOrigin,
20
+ Uni as UniOrigin
21
+ } from './interface'
22
+
23
+ declare global {
24
+ type OsThemeChangeResult = OsThemeChangeResultOrigin
25
+ type AppThemeChangeResult = AppThemeChangeResultOrigin
26
+ type OnOsThemeChangeCallback = OnOsThemeChangeCallbackOrigin
27
+ type OnOsThemeChange = OnOsThemeChangeOrigin
28
+ type OffOsThemeChange = OffOsThemeChangeOrigin
29
+ type SetAppTheme = SetAppThemeOrigin
30
+ type OnAppThemeChangeCallback = OnAppThemeChangeCallbackOrigin
31
+ type OnAppThemeChange = OnAppThemeChangeOrigin
32
+ type OffAppThemeChange = OffAppThemeChangeOrigin
33
+ type SetAppThemeSuccessResult = SetAppThemeSuccessResultOrigin
34
+ type SetAppThemeSuccessCallback = SetAppThemeSuccessCallbackOrigin
35
+ type SetAppThemeFailCallback = SetAppThemeFailCallbackOrigin
36
+ type SetAppThemeCompleteCallback = SetAppThemeCompleteCallbackOrigin
37
+ type SetAppThemeOptions = SetAppThemeOptionsOrigin
38
+ type AppThemeErrorCode = AppThemeErrorCodeOrigin
39
+ type AppThemeFail = AppThemeFailOrigin
40
+ type IAppThemeFail = IAppThemeFailOrigin
41
+ interface Uni extends UniOrigin { }
42
+ }
@@ -0,0 +1,20 @@
1
+ // 本文件为自动构建生成
2
+ export {
3
+ OsThemeChangeResult,
4
+ AppThemeChangeResult,
5
+ OnOsThemeChangeCallback,
6
+ OnOsThemeChange,
7
+ OffOsThemeChange,
8
+ SetAppTheme,
9
+ OnAppThemeChangeCallback,
10
+ OnAppThemeChange,
11
+ OffAppThemeChange,
12
+ SetAppThemeSuccessResult,
13
+ SetAppThemeSuccessCallback,
14
+ SetAppThemeFailCallback,
15
+ SetAppThemeCompleteCallback,
16
+ SetAppThemeOptions,
17
+ AppThemeErrorCode,
18
+ AppThemeFail,
19
+ IAppThemeFail,
20
+ } from './interface'
@@ -0,0 +1,466 @@
1
+ export interface Uni {
2
+ /**
3
+ * @description
4
+ * 开启监听系统主题变化
5
+ *
6
+ * @param {OnOsThemeChangeCallback} callback
7
+ * @return {number}
8
+ * @tutorial
9
+ * @uniPlatform
10
+ * {
11
+ * "app": {
12
+ * "android": {
13
+ * "osVer": "5.0",
14
+ * "uniVer": "x",
15
+ * "unixVer": "4.18"
16
+ * },
17
+ * "ios": {
18
+ * "osVer": "12.0",
19
+ * "uniVer": "x",
20
+ * "unixVer": "4.18"
21
+ * }
22
+ * },
23
+ * "web": {
24
+ * "uniVer": "x",
25
+ * "unixVer": "x"
26
+ * }
27
+ * }
28
+ * @example
29
+ ```typescript
30
+ const id = uni.onOsThemeChange((res) => {
31
+ console.log(res.osTheme)
32
+ })
33
+ ```
34
+ */
35
+ onOsThemeChange(callback : OnOsThemeChangeCallback): number
36
+
37
+ /**
38
+ * @description
39
+ * 取消监听系统主题变化
40
+ *
41
+ * @param {number} id
42
+ * @return {void}
43
+ * @tutorial
44
+ * @uniPlatform
45
+ * {
46
+ * "app": {
47
+ * "android": {
48
+ * "osVer": "5.0",
49
+ * "uniVer": "x",
50
+ * "unixVer": "4.18"
51
+ * },
52
+ * "ios": {
53
+ * "osVer": "12.0",
54
+ * "uniVer": "x",
55
+ * "unixVer": "4.18"
56
+ * }
57
+ * },
58
+ * "web": {
59
+ * "uniVer": "x",
60
+ * "unixVer": "x"
61
+ * }
62
+ * }
63
+ * @example
64
+ ```typescript
65
+ uni.offOsThemeChange(id)
66
+ ```
67
+ */
68
+ offOsThemeChange(id : number): void
69
+
70
+ /**
71
+ * @description
72
+ * 设置应用主题
73
+ *
74
+ * @param {SetAppThemeOptions} options
75
+ * @return {void}
76
+ * @tutorial
77
+ * @uniPlatform
78
+ * {
79
+ * "app": {
80
+ * "android": {
81
+ * "osVer": "5.0",
82
+ * "uniVer": "x",
83
+ * "unixVer": "4.18"
84
+ * },
85
+ * "ios": {
86
+ * "osVer": "12.0",
87
+ * "uniVer": "x",
88
+ * "unixVer": "4.18"
89
+ * }
90
+ * },
91
+ * "web": {
92
+ * "uniVer": "x",
93
+ * "unixVer": "x"
94
+ * }
95
+ * }
96
+ * @example
97
+ ```typescript
98
+ uni.setAppTheme({
99
+ theme: 'dark',
100
+ success: (res) => {
101
+ console.log('success')
102
+ },
103
+ fail: (err) => {
104
+ console.log(err)
105
+ },
106
+ complete: (res) => {
107
+ console.log('complete')
108
+ }
109
+ })
110
+ ```
111
+ */
112
+ setAppTheme(options : SetAppThemeOptions): void
113
+
114
+ /**
115
+ * @description
116
+ * 开启监听应用主题变化
117
+ *
118
+ * @param {OnAppThemeChangeCallback} callback
119
+ * @return {number}
120
+ * @tutorial
121
+ * @uniPlatform
122
+ * {
123
+ * "app": {
124
+ * "android": {
125
+ * "osVer": "5.0",
126
+ * "uniVer": "x",
127
+ * "unixVer": "4.18"
128
+ * },
129
+ * "ios": {
130
+ * "osVer": "12.0",
131
+ * "uniVer": "x",
132
+ * "unixVer": "4.18"
133
+ * }
134
+ * },
135
+ * "web": {
136
+ * "uniVer": "x",
137
+ * "unixVer": "x"
138
+ * }
139
+ * }
140
+ * @example
141
+ ```typescript
142
+ const id = uni.onAppThemeChange((res) => {
143
+ console.log(res.appTheme)
144
+ })
145
+ ```
146
+ */
147
+ onAppThemeChange(callback : OnAppThemeChangeCallback): number
148
+
149
+ /**
150
+ * @description
151
+ * 取消监听应用主题变化
152
+ *
153
+ * @param {number} id
154
+ * @return {void}
155
+ * @tutorial
156
+ * @uniPlatform
157
+ * {
158
+ * "app": {
159
+ * "android": {
160
+ * "osVer": "5.0",
161
+ * "uniVer": "x",
162
+ * "unixVer": "4.18"
163
+ * },
164
+ * "ios": {
165
+ * "osVer": "12.0",
166
+ * "uniVer": "x",
167
+ * "unixVer": "4.18"
168
+ * }
169
+ * },
170
+ * "web": {
171
+ * "uniVer": "x",
172
+ * "unixVer": "x"
173
+ * }
174
+ * }
175
+ * @example
176
+ ```typescript
177
+ uni.offAppThemeChange(id)
178
+ ```
179
+ */
180
+ offAppThemeChange(id : number): void
181
+ }
182
+
183
+ /**
184
+ * @uniPlatform
185
+ * {
186
+ * "app": {
187
+ * "android": {
188
+ * "osVer": "5.0",
189
+ * "uniVer": "x",
190
+ * "unixVer": "4.18"
191
+ * },
192
+ * "ios": {
193
+ * "osVer": "12.0",
194
+ * "uniVer": "x",
195
+ * "unixVer": "4.18"
196
+ * }
197
+ * },
198
+ * "web": {
199
+ * "uniVer": "x",
200
+ * "unixVer": "x"
201
+ * }
202
+ * }
203
+ */
204
+ export type OsThemeChangeResult = {
205
+ /**
206
+ * 系统主题
207
+ * @uniPlatform
208
+ * {
209
+ * "app": {
210
+ * "android": {
211
+ * "osVer": "5.0",
212
+ * "uniVer": "x",
213
+ * "unixVer": "4.18"
214
+ * },
215
+ * "ios": {
216
+ * "osVer": "12.0",
217
+ * "uniVer": "x",
218
+ * "unixVer": "4.18"
219
+ * }
220
+ * },
221
+ * "web": {
222
+ * "uniVer": "x",
223
+ * "unixVer": "x"
224
+ * }
225
+ * }
226
+ */
227
+ osTheme : string
228
+ }
229
+
230
+ /**
231
+ * @uniPlatform
232
+ * {
233
+ * "app": {
234
+ * "android": {
235
+ * "osVer": "5.0",
236
+ * "uniVer": "x",
237
+ * "unixVer": "4.18"
238
+ * },
239
+ * "ios": {
240
+ * "osVer": "12.0",
241
+ * "uniVer": "x",
242
+ * "unixVer": "4.18"
243
+ * }
244
+ * },
245
+ * "web": {
246
+ * "uniVer": "x",
247
+ * "unixVer": "x"
248
+ * }
249
+ * }
250
+ */
251
+ export type AppThemeChangeResult = {
252
+ /**
253
+ * 应用主题
254
+ * @uniPlatform
255
+ * {
256
+ * "app": {
257
+ * "android": {
258
+ * "osVer": "5.0",
259
+ * "uniVer": "x",
260
+ * "unixVer": "4.18"
261
+ * },
262
+ * "ios": {
263
+ * "osVer": "12.0",
264
+ * "uniVer": "x",
265
+ * "unixVer": "4.18"
266
+ * }
267
+ * },
268
+ * "web": {
269
+ * "uniVer": "x",
270
+ * "unixVer": "x"
271
+ * }
272
+ * }
273
+ */
274
+ appTheme : string
275
+ }
276
+
277
+ /*
278
+ * 系统主题相关类型定义
279
+ */
280
+ export type OnOsThemeChangeCallback = (res : OsThemeChangeResult) => void
281
+ export type OnOsThemeChange = (callback : OnOsThemeChangeCallback) => number
282
+ export type OffOsThemeChange = (id : number) => void
283
+
284
+ /*
285
+ * 应用主题相关类型定义
286
+ */
287
+ export type SetAppTheme = (options : SetAppThemeOptions) => void
288
+ export type OnAppThemeChangeCallback = (res : AppThemeChangeResult) => void
289
+ export type OnAppThemeChange = (callback : OnAppThemeChangeCallback) => number
290
+ export type OffAppThemeChange = (id : number) => void
291
+ export type SetAppThemeSuccessResult = {
292
+ theme : string
293
+ }
294
+ export type SetAppThemeSuccessCallback = (result : SetAppThemeSuccessResult) => void;
295
+ export type SetAppThemeFailCallback = (result : AppThemeFail) => void;
296
+ export type SetAppThemeCompleteCallback = (result : any) => void;
297
+
298
+ /**
299
+ * @uniPlatform
300
+ * {
301
+ * "app": {
302
+ * "android": {
303
+ * "osVer": "5.0",
304
+ * "uniVer": "x",
305
+ * "unixVer": "4.18"
306
+ * },
307
+ * "ios": {
308
+ * "osVer": "12.0",
309
+ * "uniVer": "x",
310
+ * "unixVer": "4.18"
311
+ * }
312
+ * },
313
+ * "web": {
314
+ * "uniVer": "x",
315
+ * "unixVer": "x"
316
+ * }
317
+ * }
318
+ */
319
+ export type SetAppThemeOptions = {
320
+ /**
321
+ * 主题
322
+ * @uniPlatform
323
+ * {
324
+ * "app": {
325
+ * "android": {
326
+ * "osVer": "5.0",
327
+ * "uniVer": "x",
328
+ * "unixVer": "4.18"
329
+ * },
330
+ * "ios": {
331
+ * "osVer": "12.0",
332
+ * "uniVer": "x",
333
+ * "unixVer": "4.18"
334
+ * }
335
+ * },
336
+ * "web": {
337
+ * "uniVer": "x",
338
+ * "unixVer": "x"
339
+ * }
340
+ * }
341
+ */
342
+ theme : 'light' | 'dark' | 'auto'
343
+ /**
344
+ * 接口调用成功的回调函数
345
+ * @defaultValue null
346
+ * @uniPlatform
347
+ * {
348
+ * "app": {
349
+ * "android": {
350
+ * "osVer": "5.0",
351
+ * "uniVer": "x",
352
+ * "unixVer": "4.18"
353
+ * },
354
+ * "ios": {
355
+ * "osVer": "12.0",
356
+ * "uniVer": "x",
357
+ * "unixVer": "4.18"
358
+ * }
359
+ * },
360
+ * "web": {
361
+ * "uniVer": "x",
362
+ * "unixVer": "x"
363
+ * }
364
+ * }
365
+ */
366
+ success? : SetAppThemeSuccessCallback
367
+ /**
368
+ * 接口调用失败的回调函数
369
+ * @defaultValue null
370
+ * @uniPlatform
371
+ * {
372
+ * "app": {
373
+ * "android": {
374
+ * "osVer": "5.0",
375
+ * "uniVer": "x",
376
+ * "unixVer": "4.18"
377
+ * },
378
+ * "ios": {
379
+ * "osVer": "12.0",
380
+ * "uniVer": "x",
381
+ * "unixVer": "4.18"
382
+ * }
383
+ * },
384
+ * "web": {
385
+ * "uniVer": "x",
386
+ * "unixVer": "x"
387
+ * }
388
+ * }
389
+ */
390
+ fail? : SetAppThemeFailCallback
391
+ /**
392
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
393
+ * @defaultValue null
394
+ * @uniPlatform
395
+ * {
396
+ * "app": {
397
+ * "android": {
398
+ * "osVer": "5.0",
399
+ * "uniVer": "x",
400
+ * "unixVer": "4.18"
401
+ * },
402
+ * "ios": {
403
+ * "osVer": "12.0",
404
+ * "uniVer": "x",
405
+ * "unixVer": "4.18"
406
+ * }
407
+ * },
408
+ * "web": {
409
+ * "uniVer": "x",
410
+ * "unixVer": "x"
411
+ * }
412
+ * }
413
+ */
414
+ complete? : SetAppThemeCompleteCallback
415
+ }
416
+
417
+ /**
418
+ * 错误码
419
+ * - 702001 参数错误
420
+ * - 2002000 未知错误
421
+ * @uniPlatform
422
+ * {
423
+ * "app": {
424
+ * "android": {
425
+ * "osVer": "5.0",
426
+ * "uniVer": "x",
427
+ * "unixVer": "4.18"
428
+ * },
429
+ * "ios": {
430
+ * "osVer": "12.0",
431
+ * "uniVer": "x",
432
+ * "unixVer": "4.18"
433
+ * }
434
+ * },
435
+ * "web": {
436
+ * "uniVer": "x",
437
+ * "unixVer": "x"
438
+ * }
439
+ * }
440
+ */
441
+ export type AppThemeErrorCode = 702001 | 2002000;
442
+ export type AppThemeFail = IAppThemeFail;
443
+ /**
444
+ * @uniPlatform
445
+ * {
446
+ * "app": {
447
+ * "android": {
448
+ * "osVer": "5.0",
449
+ * "uniVer": "x",
450
+ * "unixVer": "4.18"
451
+ * },
452
+ * "ios": {
453
+ * "osVer": "12.0",
454
+ * "uniVer": "x",
455
+ * "unixVer": "4.18"
456
+ * }
457
+ * },
458
+ * "web": {
459
+ * "uniVer": "x",
460
+ * "unixVer": "x"
461
+ * }
462
+ * }
463
+ */
464
+ export interface IAppThemeFail extends IUniError {
465
+ errCode : AppThemeErrorCode
466
+ };
@@ -1,58 +1,58 @@
1
- // 本文件为自动构建生成
2
- import {
3
- ConnectSocket as ConnectSocketOrigin,
4
- ConnectSocketSuccess as ConnectSocketSuccessOrigin,
5
- ConnectSocketErrorCode as ConnectSocketErrorCodeOrigin,
6
- ConnectSocketFail as ConnectSocketFailOrigin,
7
- ConnectSocketOptions as ConnectSocketOptionsOrigin,
8
- GeneralCallbackResult as GeneralCallbackResultOrigin,
9
- SendSocketMessageErrorCode as SendSocketMessageErrorCodeOrigin,
10
- SendSocketMessageFail as SendSocketMessageFailOrigin,
11
- SendSocketMessageOptions as SendSocketMessageOptionsOrigin,
12
- CloseSocketOptions as CloseSocketOptionsOrigin,
13
- OnSocketOpenCallbackResult as OnSocketOpenCallbackResultOrigin,
14
- OnSocketMessageCallbackResult as OnSocketMessageCallbackResultOrigin,
15
- SocketTask as SocketTaskOrigin,
16
- OnSocketOpenCallback as OnSocketOpenCallbackOrigin,
17
- OnSocketOpen as OnSocketOpenOrigin,
18
- OnSocketErrorCallbackResult as OnSocketErrorCallbackResultOrigin,
19
- OnSocketErrorCallback as OnSocketErrorCallbackOrigin,
20
- OnSocketError as OnSocketErrorOrigin,
21
- SendSocketMessage as SendSocketMessageOrigin,
22
- OnSocketMessageCallback as OnSocketMessageCallbackOrigin,
23
- OnSocketMessage as OnSocketMessageOrigin,
24
- CloseSocket as CloseSocketOrigin,
25
- OnSocketCloseCallbackResult as OnSocketCloseCallbackResultOrigin,
26
- OnSocketCloseCallback as OnSocketCloseCallbackOrigin,
27
- OnSocketClose as OnSocketCloseOrigin,
28
- Uni as UniOrigin
29
- } from './interface'
30
-
31
- declare global {
32
- type ConnectSocket = ConnectSocketOrigin
33
- type ConnectSocketSuccess = ConnectSocketSuccessOrigin
34
- type ConnectSocketErrorCode = ConnectSocketErrorCodeOrigin
35
- type ConnectSocketFail = ConnectSocketFailOrigin
36
- type ConnectSocketOptions = ConnectSocketOptionsOrigin
37
- type GeneralCallbackResult = GeneralCallbackResultOrigin
38
- type SendSocketMessageErrorCode = SendSocketMessageErrorCodeOrigin
39
- type SendSocketMessageFail = SendSocketMessageFailOrigin
40
- type SendSocketMessageOptions = SendSocketMessageOptionsOrigin
41
- type CloseSocketOptions = CloseSocketOptionsOrigin
42
- type OnSocketOpenCallbackResult = OnSocketOpenCallbackResultOrigin
43
- type OnSocketMessageCallbackResult = OnSocketMessageCallbackResultOrigin
44
- type SocketTask = SocketTaskOrigin
45
- type OnSocketOpenCallback = OnSocketOpenCallbackOrigin
46
- type OnSocketOpen = OnSocketOpenOrigin
47
- type OnSocketErrorCallbackResult = OnSocketErrorCallbackResultOrigin
48
- type OnSocketErrorCallback = OnSocketErrorCallbackOrigin
49
- type OnSocketError = OnSocketErrorOrigin
50
- type SendSocketMessage = SendSocketMessageOrigin
51
- type OnSocketMessageCallback = OnSocketMessageCallbackOrigin
52
- type OnSocketMessage = OnSocketMessageOrigin
53
- type CloseSocket = CloseSocketOrigin
54
- type OnSocketCloseCallbackResult = OnSocketCloseCallbackResultOrigin
55
- type OnSocketCloseCallback = OnSocketCloseCallbackOrigin
56
- type OnSocketClose = OnSocketCloseOrigin
57
- interface Uni extends UniOrigin { }
58
- }
1
+ // 本文件为自动构建生成
2
+ import {
3
+ ConnectSocket as ConnectSocketOrigin,
4
+ ConnectSocketSuccess as ConnectSocketSuccessOrigin,
5
+ ConnectSocketErrorCode as ConnectSocketErrorCodeOrigin,
6
+ ConnectSocketFail as ConnectSocketFailOrigin,
7
+ ConnectSocketOptions as ConnectSocketOptionsOrigin,
8
+ GeneralCallbackResult as GeneralCallbackResultOrigin,
9
+ SendSocketMessageErrorCode as SendSocketMessageErrorCodeOrigin,
10
+ SendSocketMessageFail as SendSocketMessageFailOrigin,
11
+ SendSocketMessageOptions as SendSocketMessageOptionsOrigin,
12
+ CloseSocketOptions as CloseSocketOptionsOrigin,
13
+ OnSocketOpenCallbackResult as OnSocketOpenCallbackResultOrigin,
14
+ OnSocketMessageCallbackResult as OnSocketMessageCallbackResultOrigin,
15
+ SocketTask as SocketTaskOrigin,
16
+ OnSocketOpenCallback as OnSocketOpenCallbackOrigin,
17
+ OnSocketOpen as OnSocketOpenOrigin,
18
+ OnSocketErrorCallbackResult as OnSocketErrorCallbackResultOrigin,
19
+ OnSocketErrorCallback as OnSocketErrorCallbackOrigin,
20
+ OnSocketError as OnSocketErrorOrigin,
21
+ SendSocketMessage as SendSocketMessageOrigin,
22
+ OnSocketMessageCallback as OnSocketMessageCallbackOrigin,
23
+ OnSocketMessage as OnSocketMessageOrigin,
24
+ CloseSocket as CloseSocketOrigin,
25
+ OnSocketCloseCallbackResult as OnSocketCloseCallbackResultOrigin,
26
+ OnSocketCloseCallback as OnSocketCloseCallbackOrigin,
27
+ OnSocketClose as OnSocketCloseOrigin,
28
+ Uni as UniOrigin
29
+ } from './interface'
30
+
31
+ declare global {
32
+ type ConnectSocket = ConnectSocketOrigin
33
+ type ConnectSocketSuccess = ConnectSocketSuccessOrigin
34
+ type ConnectSocketErrorCode = ConnectSocketErrorCodeOrigin
35
+ type ConnectSocketFail = ConnectSocketFailOrigin
36
+ type ConnectSocketOptions = ConnectSocketOptionsOrigin
37
+ type GeneralCallbackResult = GeneralCallbackResultOrigin
38
+ type SendSocketMessageErrorCode = SendSocketMessageErrorCodeOrigin
39
+ type SendSocketMessageFail = SendSocketMessageFailOrigin
40
+ type SendSocketMessageOptions = SendSocketMessageOptionsOrigin
41
+ type CloseSocketOptions = CloseSocketOptionsOrigin
42
+ type OnSocketOpenCallbackResult = OnSocketOpenCallbackResultOrigin
43
+ type OnSocketMessageCallbackResult = OnSocketMessageCallbackResultOrigin
44
+ type SocketTask = SocketTaskOrigin
45
+ type OnSocketOpenCallback = OnSocketOpenCallbackOrigin
46
+ type OnSocketOpen = OnSocketOpenOrigin
47
+ type OnSocketErrorCallbackResult = OnSocketErrorCallbackResultOrigin
48
+ type OnSocketErrorCallback = OnSocketErrorCallbackOrigin
49
+ type OnSocketError = OnSocketErrorOrigin
50
+ type SendSocketMessage = SendSocketMessageOrigin
51
+ type OnSocketMessageCallback = OnSocketMessageCallbackOrigin
52
+ type OnSocketMessage = OnSocketMessageOrigin
53
+ type CloseSocket = CloseSocketOrigin
54
+ type OnSocketCloseCallbackResult = OnSocketCloseCallbackResultOrigin
55
+ type OnSocketCloseCallback = OnSocketCloseCallbackOrigin
56
+ type OnSocketClose = OnSocketCloseOrigin
57
+ interface Uni extends UniOrigin { }
58
+ }
@@ -1,28 +1,28 @@
1
- // 本文件为自动构建生成
2
- export {
3
- ConnectSocket,
4
- ConnectSocketSuccess,
5
- ConnectSocketErrorCode,
6
- ConnectSocketFail,
7
- ConnectSocketOptions,
8
- GeneralCallbackResult,
9
- SendSocketMessageErrorCode,
10
- SendSocketMessageFail,
11
- SendSocketMessageOptions,
12
- CloseSocketOptions,
13
- OnSocketOpenCallbackResult,
14
- OnSocketMessageCallbackResult,
15
- SocketTask,
16
- OnSocketOpenCallback,
17
- OnSocketOpen,
18
- OnSocketErrorCallbackResult,
19
- OnSocketErrorCallback,
20
- OnSocketError,
21
- SendSocketMessage,
22
- OnSocketMessageCallback,
23
- OnSocketMessage,
24
- CloseSocket,
25
- OnSocketCloseCallbackResult,
26
- OnSocketCloseCallback,
27
- OnSocketClose,
28
- } from './interface'
1
+ // 本文件为自动构建生成
2
+ export {
3
+ ConnectSocket,
4
+ ConnectSocketSuccess,
5
+ ConnectSocketErrorCode,
6
+ ConnectSocketFail,
7
+ ConnectSocketOptions,
8
+ GeneralCallbackResult,
9
+ SendSocketMessageErrorCode,
10
+ SendSocketMessageFail,
11
+ SendSocketMessageOptions,
12
+ CloseSocketOptions,
13
+ OnSocketOpenCallbackResult,
14
+ OnSocketMessageCallbackResult,
15
+ SocketTask,
16
+ OnSocketOpenCallback,
17
+ OnSocketOpen,
18
+ OnSocketErrorCallbackResult,
19
+ OnSocketErrorCallback,
20
+ OnSocketError,
21
+ SendSocketMessage,
22
+ OnSocketMessageCallback,
23
+ OnSocketMessage,
24
+ CloseSocket,
25
+ OnSocketCloseCallbackResult,
26
+ OnSocketCloseCallback,
27
+ OnSocketClose,
28
+ } from './interface'