@dcloudio/uni-app-x 0.7.121 → 0.7.123

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 (417) hide show
  1. package/README.md +87 -0
  2. package/package.json +1 -1
  3. package/types/dom2-internal/UniCommon.d.ts +7 -2
  4. package/types/dom2-internal/UniNativeDefines.d.ts +7 -2
  5. package/types/dom2-internal/UniTextLayout.d.ts +5 -0
  6. package/types/native/IUniElement.d.ts +253 -13
  7. package/types/native/UniAnimation.d.ts +63 -9
  8. package/types/page.d.ts +3 -3
  9. package/types/uni/uts-plugin-api/global.d.ts +8 -1
  10. package/types/uni/uts-plugin-api/index.d.ts +8 -1
  11. package/types/uni/uts-plugin-api/lib/uni-accelerometer/utssdk/global.d.ts +59 -0
  12. package/types/uni/uts-plugin-api/lib/uni-accelerometer/utssdk/index.d.ts +29 -0
  13. package/types/uni/uts-plugin-api/lib/uni-accelerometer/utssdk/interface.d.ts +430 -0
  14. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/global.d.ts +6 -0
  15. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/index.d.ts +3 -0
  16. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +339 -1294
  17. package/types/uni/uts-plugin-api/lib/uni-calendar/utssdk/global.d.ts +51 -0
  18. package/types/uni/uts-plugin-api/lib/uni-calendar/utssdk/index.d.ts +25 -0
  19. package/types/uni/uts-plugin-api/lib/uni-calendar/utssdk/interface.d.ts +969 -0
  20. package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/global.d.ts +0 -2
  21. package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/index.d.ts +0 -1
  22. package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/interface.d.ts +8 -559
  23. package/types/uni/uts-plugin-api/lib/uni-compass/utssdk/global.d.ts +59 -0
  24. package/types/uni/uts-plugin-api/lib/uni-compass/utssdk/index.d.ts +29 -0
  25. package/types/uni/uts-plugin-api/lib/uni-compass/utssdk/interface.d.ts +418 -0
  26. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/global.d.ts +4 -2
  27. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/index.d.ts +2 -1
  28. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +75 -23
  29. package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/global.d.ts +2 -0
  30. package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/index.d.ts +1 -0
  31. package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/interface.d.ts +864 -110
  32. package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/interface.d.ts +154 -20
  33. package/types/uni/uts-plugin-api/lib/uni-gyroscope/utssdk/global.d.ts +59 -0
  34. package/types/uni/uts-plugin-api/lib/uni-gyroscope/utssdk/index.d.ts +29 -0
  35. package/types/uni/uts-plugin-api/lib/uni-gyroscope/utssdk/interface.d.ts +437 -0
  36. package/types/uni/uts-plugin-api/lib/uni-memory/utssdk/global.d.ts +21 -0
  37. package/types/uni/uts-plugin-api/lib/uni-memory/utssdk/index.d.ts +10 -0
  38. package/types/uni/uts-plugin-api/lib/uni-memory/utssdk/interface.d.ts +178 -0
  39. package/types/uni/uts-plugin-api/lib/uni-memorywarning/utssdk/global.d.ts +21 -0
  40. package/types/uni/uts-plugin-api/lib/uni-memorywarning/utssdk/index.d.ts +10 -0
  41. package/types/uni/uts-plugin-api/lib/uni-memorywarning/utssdk/interface.d.ts +20 -0
  42. package/types/uni/uts-plugin-api/lib/uni-openLocation/utssdk/global.d.ts +23 -0
  43. package/types/uni/uts-plugin-api/lib/uni-openLocation/utssdk/index.d.ts +11 -0
  44. package/types/uni/uts-plugin-api/lib/uni-openLocation/utssdk/interface.d.ts +418 -0
  45. package/types/uni/uts-plugin-api/lib/uni-phoneContact/utssdk/global.d.ts +49 -0
  46. package/types/uni/uts-plugin-api/lib/uni-phoneContact/utssdk/index.d.ts +24 -0
  47. package/types/uni/{uts-plugin-component/lib/uni-addPhoneContact → uts-plugin-api/lib/uni-phoneContact}/utssdk/interface.d.ts +359 -226
  48. package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/global.d.ts +2 -0
  49. package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/index.d.ts +1 -0
  50. package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/interface.d.ts +83 -124
  51. package/types/uni/uts-plugin-api/lib/uni-screenBrightness/utssdk/global.d.ts +6 -0
  52. package/types/uni/uts-plugin-api/lib/uni-screenBrightness/utssdk/index.d.ts +3 -0
  53. package/types/uni/uts-plugin-api/lib/uni-screenBrightness/utssdk/interface.d.ts +18 -6
  54. package/types/uni/uts-plugin-api/lib/uni-vibrate/utssdk/global.d.ts +49 -0
  55. package/types/uni/uts-plugin-api/lib/uni-vibrate/utssdk/index.d.ts +24 -0
  56. package/types/uni/uts-plugin-api/lib/uni-vibrate/utssdk/interface.d.ts +199 -0
  57. package/types/uni/uts-plugin-biz/global.d.ts +10 -0
  58. package/types/uni/uts-plugin-biz/index.d.ts +10 -0
  59. package/types/uni/uts-plugin-biz/lib/uni-accelerometer/utssdk/global.d.ts +59 -0
  60. package/types/uni/uts-plugin-biz/lib/uni-accelerometer/utssdk/index.d.ts +29 -0
  61. package/types/uni/uts-plugin-biz/lib/uni-accelerometer/utssdk/interface.d.ts +874 -0
  62. package/types/uni/uts-plugin-biz/lib/uni-ad-dom2/utssdk/global.d.ts +45 -0
  63. package/types/uni/uts-plugin-biz/lib/uni-ad-dom2/utssdk/index.d.ts +22 -0
  64. package/types/uni/uts-plugin-biz/lib/uni-ad-dom2/utssdk/interface.d.ts +732 -0
  65. package/types/uni/{uts-plugin-component → uts-plugin-biz}/lib/uni-authentication/utssdk/global.d.ts +6 -0
  66. package/types/uni/{uts-plugin-component → uts-plugin-biz}/lib/uni-authentication/utssdk/index.d.ts +3 -0
  67. package/types/uni/{uts-plugin-component → uts-plugin-biz}/lib/uni-authentication/utssdk/interface.d.ts +387 -371
  68. package/types/uni/uts-plugin-biz/lib/uni-calendar/utssdk/global.d.ts +51 -0
  69. package/types/uni/uts-plugin-biz/lib/uni-calendar/utssdk/index.d.ts +25 -0
  70. package/types/uni/uts-plugin-biz/lib/uni-calendar/utssdk/interface.d.ts +969 -0
  71. package/types/uni/uts-plugin-biz/lib/uni-compass/utssdk/global.d.ts +59 -0
  72. package/types/uni/uts-plugin-biz/lib/uni-compass/utssdk/index.d.ts +29 -0
  73. package/types/uni/uts-plugin-biz/lib/uni-compass/utssdk/interface.d.ts +418 -0
  74. package/types/uni/uts-plugin-biz/lib/uni-gyroscope/utssdk/global.d.ts +59 -0
  75. package/types/uni/uts-plugin-biz/lib/uni-gyroscope/utssdk/index.d.ts +29 -0
  76. package/types/uni/uts-plugin-biz/lib/uni-gyroscope/utssdk/interface.d.ts +437 -0
  77. package/types/uni/uts-plugin-biz/lib/uni-memory/utssdk/global.d.ts +21 -0
  78. package/types/uni/uts-plugin-biz/lib/uni-memory/utssdk/index.d.ts +10 -0
  79. package/types/uni/uts-plugin-biz/lib/uni-memory/utssdk/interface.d.ts +178 -0
  80. package/types/uni/uts-plugin-biz/lib/uni-memorywarning/utssdk/global.d.ts +21 -0
  81. package/types/uni/uts-plugin-biz/lib/uni-memorywarning/utssdk/index.d.ts +10 -0
  82. package/types/uni/uts-plugin-biz/lib/uni-memorywarning/utssdk/interface.d.ts +20 -0
  83. package/types/uni/uts-plugin-biz/lib/uni-phoneContact/utssdk/global.d.ts +49 -0
  84. package/types/uni/uts-plugin-biz/lib/uni-phoneContact/utssdk/index.d.ts +24 -0
  85. package/types/uni/uts-plugin-biz/lib/uni-phoneContact/utssdk/interface.d.ts +359 -0
  86. package/types/uni/{uts-plugin-component → uts-plugin-biz}/lib/uni-screenBrightness/utssdk/global.d.ts +6 -0
  87. package/types/uni/{uts-plugin-component → uts-plugin-biz}/lib/uni-screenBrightness/utssdk/index.d.ts +3 -0
  88. package/types/uni/{uts-plugin-component → uts-plugin-biz}/lib/uni-screenBrightness/utssdk/interface.d.ts +216 -207
  89. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +6 -1
  90. package/types/uni/uts-plugin-biz/lib/uni-vibrate/utssdk/global.d.ts +49 -0
  91. package/types/uni/uts-plugin-biz/lib/uni-vibrate/utssdk/index.d.ts +24 -0
  92. package/types/uni/uts-plugin-biz/lib/uni-vibrate/utssdk/interface.d.ts +201 -0
  93. package/types/uni/uts-plugin-component/global.d.ts +23 -105
  94. package/types/uni/uts-plugin-component/index.d.ts +23 -105
  95. package/types/uni/uts-plugin-component/lib/{uni-editor-global → uni-editor-editor-global}/utssdk/interface.d.ts +15 -4
  96. package/types/uni/uts-plugin-component/lib/uni-form-checkbox-global/utssdk/global.d.ts +9 -0
  97. package/types/uni/uts-plugin-component/lib/uni-form-checkbox-global/utssdk/index.d.ts +5 -0
  98. package/types/uni/uts-plugin-component/lib/uni-form-checkbox-global/utssdk/interface.d.ts +7 -0
  99. package/types/uni/uts-plugin-component/lib/uni-form-checkbox-group-global/utssdk/global.d.ts +9 -0
  100. package/types/uni/uts-plugin-component/lib/uni-form-checkbox-group-global/utssdk/index.d.ts +5 -0
  101. package/types/uni/uts-plugin-component/lib/uni-form-checkbox-group-global/utssdk/interface.d.ts +2 -0
  102. package/types/uni/uts-plugin-component/lib/uni-form-form-global/utssdk/global.d.ts +9 -0
  103. package/types/uni/uts-plugin-component/lib/{uni-page-container-global → uni-form-form-global}/utssdk/index.d.ts +1 -1
  104. package/types/uni/uts-plugin-component/lib/uni-form-form-global/utssdk/interface.d.ts +2 -0
  105. package/types/uni/uts-plugin-component/lib/uni-form-label-global/utssdk/global.d.ts +9 -0
  106. package/types/uni/uts-plugin-component/lib/{uni-getElementById → uni-form-label-global}/utssdk/index.d.ts +1 -1
  107. package/types/uni/uts-plugin-component/lib/uni-form-label-global/utssdk/interface.d.ts +2 -0
  108. package/types/uni/uts-plugin-component/lib/uni-form-picker-global/utssdk/global.d.ts +9 -0
  109. package/types/uni/uts-plugin-component/lib/uni-form-picker-global/utssdk/index.d.ts +5 -0
  110. package/types/uni/uts-plugin-component/lib/uni-form-picker-global/utssdk/interface.d.ts +2 -0
  111. package/types/uni/uts-plugin-component/lib/uni-form-picker-view-column-global/utssdk/global.d.ts +9 -0
  112. package/types/uni/uts-plugin-component/lib/uni-form-picker-view-column-global/utssdk/index.d.ts +5 -0
  113. package/types/uni/uts-plugin-component/lib/uni-form-picker-view-column-global/utssdk/interface.d.ts +2 -0
  114. package/types/uni/uts-plugin-component/lib/uni-form-picker-view-global/utssdk/global.d.ts +9 -0
  115. package/types/uni/uts-plugin-component/lib/{uni-base64ToArrayBuffer → uni-form-picker-view-global}/utssdk/index.d.ts +1 -1
  116. package/types/uni/uts-plugin-component/lib/uni-form-picker-view-global/utssdk/interface.d.ts +2 -0
  117. package/types/uni/uts-plugin-component/lib/uni-form-radio-global/utssdk/global.d.ts +9 -0
  118. package/types/uni/uts-plugin-component/lib/{uni-input → uni-form-radio-global}/utssdk/index.d.ts +1 -1
  119. package/types/uni/uts-plugin-component/lib/uni-form-radio-global/utssdk/interface.d.ts +7 -0
  120. package/types/uni/uts-plugin-component/lib/uni-form-radio-group-global/utssdk/global.d.ts +9 -0
  121. package/types/uni/uts-plugin-component/lib/{uni-arrayBufferToBase64 → uni-form-radio-group-global}/utssdk/index.d.ts +1 -1
  122. package/types/uni/uts-plugin-component/lib/uni-form-radio-group-global/utssdk/interface.d.ts +2 -0
  123. package/types/uni/uts-plugin-component/lib/uni-form-slider-global/utssdk/global.d.ts +13 -0
  124. package/types/uni/uts-plugin-component/lib/uni-form-slider-global/utssdk/index.d.ts +7 -0
  125. package/types/uni/uts-plugin-component/lib/uni-form-slider-global/utssdk/interface.d.ts +18 -0
  126. package/types/uni/uts-plugin-component/lib/uni-form-switch-global/utssdk/global.d.ts +9 -0
  127. package/types/uni/uts-plugin-component/lib/uni-form-switch-global/utssdk/index.d.ts +5 -0
  128. package/types/uni/uts-plugin-component/lib/uni-form-switch-global/utssdk/interface.d.ts +7 -0
  129. package/types/vue/LifeCycle.d.ts +2 -2
  130. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/global.d.ts +0 -25
  131. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/index.d.ts +0 -12
  132. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +0 -1767
  133. package/types/uni/uts-plugin-component/lib/uni-actionSheet/utssdk/global.d.ts +0 -29
  134. package/types/uni/uts-plugin-component/lib/uni-actionSheet/utssdk/index.d.ts +0 -14
  135. package/types/uni/uts-plugin-component/lib/uni-actionSheet/utssdk/interface.d.ts +0 -1673
  136. package/types/uni/uts-plugin-component/lib/uni-addPhoneContact/utssdk/global.d.ts +0 -25
  137. package/types/uni/uts-plugin-component/lib/uni-addPhoneContact/utssdk/index.d.ts +0 -12
  138. package/types/uni/uts-plugin-component/lib/uni-arrayBufferToBase64/utssdk/global.d.ts +0 -11
  139. package/types/uni/uts-plugin-component/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +0 -79
  140. package/types/uni/uts-plugin-component/lib/uni-base64ToArrayBuffer/utssdk/global.d.ts +0 -11
  141. package/types/uni/uts-plugin-component/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +0 -79
  142. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/global.d.ts +0 -55
  143. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/index.d.ts +0 -27
  144. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/interface.d.ts +0 -1330
  145. package/types/uni/uts-plugin-component/lib/uni-canvas/utssdk/global.d.ts +0 -25
  146. package/types/uni/uts-plugin-component/lib/uni-canvas/utssdk/index.d.ts +0 -12
  147. package/types/uni/uts-plugin-component/lib/uni-canvas/utssdk/interface.d.ts +0 -978
  148. package/types/uni/uts-plugin-component/lib/uni-canvas-dom2/utssdk/global.d.ts +0 -25
  149. package/types/uni/uts-plugin-component/lib/uni-canvas-dom2/utssdk/index.d.ts +0 -12
  150. package/types/uni/uts-plugin-component/lib/uni-canvas-dom2/utssdk/interface.d.ts +0 -978
  151. package/types/uni/uts-plugin-component/lib/uni-chooseLocation/utssdk/global.d.ts +0 -25
  152. package/types/uni/uts-plugin-component/lib/uni-chooseLocation/utssdk/index.d.ts +0 -12
  153. package/types/uni/uts-plugin-component/lib/uni-chooseLocation/utssdk/interface.d.ts +0 -423
  154. package/types/uni/uts-plugin-component/lib/uni-chooseMedia/utssdk/global.d.ts +0 -33
  155. package/types/uni/uts-plugin-component/lib/uni-chooseMedia/utssdk/index.d.ts +0 -16
  156. package/types/uni/uts-plugin-component/lib/uni-chooseMedia/utssdk/interface.d.ts +0 -499
  157. package/types/uni/uts-plugin-component/lib/uni-clipboard/utssdk/global.d.ts +0 -45
  158. package/types/uni/uts-plugin-component/lib/uni-clipboard/utssdk/index.d.ts +0 -22
  159. package/types/uni/uts-plugin-component/lib/uni-clipboard/utssdk/interface.d.ts +0 -217
  160. package/types/uni/uts-plugin-component/lib/uni-createInnerAudioContext/utssdk/global.d.ts +0 -33
  161. package/types/uni/uts-plugin-component/lib/uni-createInnerAudioContext/utssdk/index.d.ts +0 -16
  162. package/types/uni/uts-plugin-component/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +0 -3379
  163. package/types/uni/uts-plugin-component/lib/uni-createIntersectionObserver/utssdk/global.d.ts +0 -21
  164. package/types/uni/uts-plugin-component/lib/uni-createIntersectionObserver/utssdk/index.d.ts +0 -10
  165. package/types/uni/uts-plugin-component/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +0 -153
  166. package/types/uni/uts-plugin-component/lib/uni-createRequestPermissionListener/utssdk/global.d.ts +0 -19
  167. package/types/uni/uts-plugin-component/lib/uni-createRequestPermissionListener/utssdk/index.d.ts +0 -9
  168. package/types/uni/uts-plugin-component/lib/uni-createRequestPermissionListener/utssdk/interface.d.ts +0 -61
  169. package/types/uni/uts-plugin-component/lib/uni-createSelectorQuery/utssdk/global.d.ts +0 -21
  170. package/types/uni/uts-plugin-component/lib/uni-createSelectorQuery/utssdk/index.d.ts +0 -10
  171. package/types/uni/uts-plugin-component/lib/uni-createSelectorQuery/utssdk/interface.d.ts +0 -560
  172. package/types/uni/uts-plugin-component/lib/uni-createWebviewContext/utssdk/global.d.ts +0 -15
  173. package/types/uni/uts-plugin-component/lib/uni-createWebviewContext/utssdk/index.d.ts +0 -7
  174. package/types/uni/uts-plugin-component/lib/uni-createWebviewContext/utssdk/interface.d.ts +0 -214
  175. package/types/uni/uts-plugin-component/lib/uni-createWorker/utssdk/global.d.ts +0 -23
  176. package/types/uni/uts-plugin-component/lib/uni-createWorker/utssdk/index.d.ts +0 -11
  177. package/types/uni/uts-plugin-component/lib/uni-createWorker/utssdk/interface.d.ts +0 -158
  178. package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/global.d.ts +0 -27
  179. package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/index.d.ts +0 -13
  180. package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/interface.d.ts +0 -2303
  181. package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/global.d.ts +0 -41
  182. package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/index.d.ts +0 -20
  183. package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/interface.d.ts +0 -909
  184. package/types/uni/uts-plugin-component/lib/uni-event/utssdk/global.d.ts +0 -17
  185. package/types/uni/uts-plugin-component/lib/uni-event/utssdk/index.d.ts +0 -8
  186. package/types/uni/uts-plugin-component/lib/uni-event/utssdk/interface.d.ts +0 -338
  187. package/types/uni/uts-plugin-component/lib/uni-exit/utssdk/global.d.ts +0 -27
  188. package/types/uni/uts-plugin-component/lib/uni-exit/utssdk/index.d.ts +0 -13
  189. package/types/uni/uts-plugin-component/lib/uni-exit/utssdk/interface.d.ts +0 -147
  190. package/types/uni/uts-plugin-component/lib/uni-file/utssdk/global.d.ts +0 -81
  191. package/types/uni/uts-plugin-component/lib/uni-file/utssdk/index.d.ts +0 -40
  192. package/types/uni/uts-plugin-component/lib/uni-file/utssdk/interface.d.ts +0 -397
  193. package/types/uni/uts-plugin-component/lib/uni-fileSystemManager/utssdk/global.d.ts +0 -151
  194. package/types/uni/uts-plugin-component/lib/uni-fileSystemManager/utssdk/index.d.ts +0 -75
  195. package/types/uni/uts-plugin-component/lib/uni-fileSystemManager/utssdk/interface.d.ts +0 -6428
  196. package/types/uni/uts-plugin-component/lib/uni-getAccessibilityInfo/utssdk/global.d.ts +0 -11
  197. package/types/uni/uts-plugin-component/lib/uni-getAccessibilityInfo/utssdk/index.d.ts +0 -5
  198. package/types/uni/uts-plugin-component/lib/uni-getAccessibilityInfo/utssdk/interface.d.ts +0 -37
  199. package/types/uni/uts-plugin-component/lib/uni-getAppAuthorizeSetting/utssdk/global.d.ts +0 -13
  200. package/types/uni/uts-plugin-component/lib/uni-getAppAuthorizeSetting/utssdk/index.d.ts +0 -6
  201. package/types/uni/uts-plugin-component/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +0 -620
  202. package/types/uni/uts-plugin-component/lib/uni-getAppBaseInfo/utssdk/global.d.ts +0 -15
  203. package/types/uni/uts-plugin-component/lib/uni-getAppBaseInfo/utssdk/index.d.ts +0 -7
  204. package/types/uni/uts-plugin-component/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +0 -2220
  205. package/types/uni/uts-plugin-component/lib/uni-getBackgroundAudioManager/utssdk/global.d.ts +0 -17
  206. package/types/uni/uts-plugin-component/lib/uni-getBackgroundAudioManager/utssdk/index.d.ts +0 -8
  207. package/types/uni/uts-plugin-component/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +0 -1406
  208. package/types/uni/uts-plugin-component/lib/uni-getDeviceInfo/utssdk/global.d.ts +0 -15
  209. package/types/uni/uts-plugin-component/lib/uni-getDeviceInfo/utssdk/index.d.ts +0 -7
  210. package/types/uni/uts-plugin-component/lib/uni-getDeviceInfo/utssdk/interface.d.ts +0 -1774
  211. package/types/uni/uts-plugin-component/lib/uni-getElementById/utssdk/global.d.ts +0 -11
  212. package/types/uni/uts-plugin-component/lib/uni-getElementById/utssdk/interface.d.ts +0 -83
  213. package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/global.d.ts +0 -13
  214. package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/index.d.ts +0 -6
  215. package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +0 -833
  216. package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/global.d.ts +0 -13
  217. package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/index.d.ts +0 -6
  218. package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +0 -836
  219. package/types/uni/uts-plugin-component/lib/uni-getLocation-tencent-uni1/utssdk/global.d.ts +0 -21
  220. package/types/uni/uts-plugin-component/lib/uni-getLocation-tencent-uni1/utssdk/index.d.ts +0 -11
  221. package/types/uni/uts-plugin-component/lib/uni-getLocation-tencent-uni1/utssdk/interface.d.ts +0 -736
  222. package/types/uni/uts-plugin-component/lib/uni-getNetworkType/utssdk/global.d.ts +0 -33
  223. package/types/uni/uts-plugin-component/lib/uni-getNetworkType/utssdk/index.d.ts +0 -16
  224. package/types/uni/uts-plugin-component/lib/uni-getNetworkType/utssdk/interface.d.ts +0 -420
  225. package/types/uni/uts-plugin-component/lib/uni-getPerformance/utssdk/global.d.ts +0 -23
  226. package/types/uni/uts-plugin-component/lib/uni-getPerformance/utssdk/index.d.ts +0 -11
  227. package/types/uni/uts-plugin-component/lib/uni-getPerformance/utssdk/interface.d.ts +0 -199
  228. package/types/uni/uts-plugin-component/lib/uni-getProvider/utssdk/global.d.ts +0 -37
  229. package/types/uni/uts-plugin-component/lib/uni-getProvider/utssdk/index.d.ts +0 -18
  230. package/types/uni/uts-plugin-component/lib/uni-getProvider/utssdk/interface.d.ts +0 -757
  231. package/types/uni/uts-plugin-component/lib/uni-getSystemInfo/utssdk/global.d.ts +0 -33
  232. package/types/uni/uts-plugin-component/lib/uni-getSystemInfo/utssdk/index.d.ts +0 -16
  233. package/types/uni/uts-plugin-component/lib/uni-getSystemInfo/utssdk/interface.d.ts +0 -6084
  234. package/types/uni/uts-plugin-component/lib/uni-getSystemSetting/utssdk/global.d.ts +0 -13
  235. package/types/uni/uts-plugin-component/lib/uni-getSystemSetting/utssdk/index.d.ts +0 -6
  236. package/types/uni/uts-plugin-component/lib/uni-getSystemSetting/utssdk/interface.d.ts +0 -508
  237. package/types/uni/uts-plugin-component/lib/uni-input/utssdk/global.d.ts +0 -9
  238. package/types/uni/uts-plugin-component/lib/uni-input/utssdk/interface.d.ts +0 -0
  239. package/types/uni/uts-plugin-component/lib/uni-installApk/utssdk/global.d.ts +0 -25
  240. package/types/uni/uts-plugin-component/lib/uni-installApk/utssdk/index.d.ts +0 -12
  241. package/types/uni/uts-plugin-component/lib/uni-installApk/utssdk/interface.d.ts +0 -125
  242. package/types/uni/uts-plugin-component/lib/uni-interceptor/utssdk/global.d.ts +0 -17
  243. package/types/uni/uts-plugin-component/lib/uni-interceptor/utssdk/index.d.ts +0 -8
  244. package/types/uni/uts-plugin-component/lib/uni-interceptor/utssdk/interface.d.ts +0 -171
  245. package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/global.d.ts +0 -45
  246. package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/index.d.ts +0 -22
  247. package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/interface.d.ts +0 -693
  248. package/types/uni/uts-plugin-component/lib/uni-loadFontFace/utssdk/global.d.ts +0 -29
  249. package/types/uni/uts-plugin-component/lib/uni-loadFontFace/utssdk/index.d.ts +0 -14
  250. package/types/uni/uts-plugin-component/lib/uni-loadFontFace/utssdk/interface.d.ts +0 -603
  251. package/types/uni/uts-plugin-component/lib/uni-loading-global/utssdk/global.d.ts +0 -9
  252. package/types/uni/uts-plugin-component/lib/uni-loading-global/utssdk/index.d.ts +0 -5
  253. package/types/uni/uts-plugin-component/lib/uni-loading-global/utssdk/interface.d.ts +0 -5
  254. package/types/uni/uts-plugin-component/lib/uni-location/utssdk/global.d.ts +0 -61
  255. package/types/uni/uts-plugin-component/lib/uni-location/utssdk/index.d.ts +0 -30
  256. package/types/uni/uts-plugin-component/lib/uni-location/utssdk/interface.d.ts +0 -3443
  257. package/types/uni/uts-plugin-component/lib/uni-location-system/utssdk/global.d.ts +0 -9
  258. package/types/uni/uts-plugin-component/lib/uni-location-system/utssdk/index.d.ts +0 -5
  259. package/types/uni/uts-plugin-component/lib/uni-location-system/utssdk/interface.d.ts +0 -3
  260. package/types/uni/uts-plugin-component/lib/uni-location-tencent/utssdk/global.d.ts +0 -9
  261. package/types/uni/uts-plugin-component/lib/uni-location-tencent/utssdk/index.d.ts +0 -5
  262. package/types/uni/uts-plugin-component/lib/uni-location-tencent/utssdk/interface.d.ts +0 -3
  263. package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/global.d.ts +0 -29
  264. package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/index.d.ts +0 -14
  265. package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/interface.d.ts +0 -392
  266. package/types/uni/uts-plugin-component/lib/uni-media/utssdk/global.d.ts +0 -157
  267. package/types/uni/uts-plugin-component/lib/uni-media/utssdk/index.d.ts +0 -78
  268. package/types/uni/uts-plugin-component/lib/uni-media/utssdk/interface.d.ts +0 -5245
  269. package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/global.d.ts +0 -39
  270. package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/index.d.ts +0 -19
  271. package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/interface.d.ts +0 -1743
  272. package/types/uni/uts-plugin-component/lib/uni-navigationBar/utssdk/global.d.ts +0 -69
  273. package/types/uni/uts-plugin-component/lib/uni-navigationBar/utssdk/index.d.ts +0 -34
  274. package/types/uni/uts-plugin-component/lib/uni-navigationBar/utssdk/interface.d.ts +0 -1047
  275. package/types/uni/uts-plugin-component/lib/uni-network/utssdk/global.d.ts +0 -109
  276. package/types/uni/uts-plugin-component/lib/uni-network/utssdk/index.d.ts +0 -54
  277. package/types/uni/uts-plugin-component/lib/uni-network/utssdk/interface.d.ts +0 -4462
  278. package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/global.d.ts +0 -71
  279. package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/index.d.ts +0 -35
  280. package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/interface.d.ts +0 -3031
  281. package/types/uni/uts-plugin-component/lib/uni-oauth-huawei/utssdk/global.d.ts +0 -9
  282. package/types/uni/uts-plugin-component/lib/uni-oauth-huawei/utssdk/index.d.ts +0 -5
  283. package/types/uni/uts-plugin-component/lib/uni-oauth-huawei/utssdk/interface.d.ts +0 -1
  284. package/types/uni/uts-plugin-component/lib/uni-oauth-weixin/utssdk/global.d.ts +0 -17
  285. package/types/uni/uts-plugin-component/lib/uni-oauth-weixin/utssdk/index.d.ts +0 -9
  286. package/types/uni/uts-plugin-component/lib/uni-oauth-weixin/utssdk/interface.d.ts +0 -48
  287. package/types/uni/uts-plugin-component/lib/uni-openAppAuthorizeSetting/utssdk/global.d.ts +0 -25
  288. package/types/uni/uts-plugin-component/lib/uni-openAppAuthorizeSetting/utssdk/index.d.ts +0 -12
  289. package/types/uni/uts-plugin-component/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +0 -256
  290. package/types/uni/uts-plugin-component/lib/uni-openDocument/utssdk/global.d.ts +0 -29
  291. package/types/uni/uts-plugin-component/lib/uni-openDocument/utssdk/index.d.ts +0 -14
  292. package/types/uni/uts-plugin-component/lib/uni-openDocument/utssdk/interface.d.ts +0 -823
  293. package/types/uni/uts-plugin-component/lib/uni-page-container-global/utssdk/global.d.ts +0 -9
  294. package/types/uni/uts-plugin-component/lib/uni-page-container-global/utssdk/interface.d.ts +0 -0
  295. package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/global.d.ts +0 -27
  296. package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/index.d.ts +0 -13
  297. package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/interface.d.ts +0 -618
  298. package/types/uni/uts-plugin-component/lib/uni-payment/utssdk/global.d.ts +0 -33
  299. package/types/uni/uts-plugin-component/lib/uni-payment/utssdk/index.d.ts +0 -16
  300. package/types/uni/uts-plugin-component/lib/uni-payment/utssdk/interface.d.ts +0 -856
  301. package/types/uni/uts-plugin-component/lib/uni-payment-alipay/utssdk/global.d.ts +0 -9
  302. package/types/uni/uts-plugin-component/lib/uni-payment-alipay/utssdk/index.d.ts +0 -5
  303. package/types/uni/uts-plugin-component/lib/uni-payment-alipay/utssdk/interface.d.ts +0 -3
  304. package/types/uni/uts-plugin-component/lib/uni-payment-huawei/utssdk/global.d.ts +0 -9
  305. package/types/uni/uts-plugin-component/lib/uni-payment-huawei/utssdk/index.d.ts +0 -5
  306. package/types/uni/uts-plugin-component/lib/uni-payment-huawei/utssdk/interface.d.ts +0 -1
  307. package/types/uni/uts-plugin-component/lib/uni-payment-wxpay/utssdk/global.d.ts +0 -9
  308. package/types/uni/uts-plugin-component/lib/uni-payment-wxpay/utssdk/index.d.ts +0 -5
  309. package/types/uni/uts-plugin-component/lib/uni-payment-wxpay/utssdk/interface.d.ts +0 -5
  310. package/types/uni/uts-plugin-component/lib/uni-previewImage/utssdk/global.d.ts +0 -47
  311. package/types/uni/uts-plugin-component/lib/uni-previewImage/utssdk/index.d.ts +0 -23
  312. package/types/uni/uts-plugin-component/lib/uni-previewImage/utssdk/interface.d.ts +0 -520
  313. package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/global.d.ts +0 -31
  314. package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/index.d.ts +0 -15
  315. package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/interface.d.ts +0 -568
  316. package/types/uni/uts-plugin-component/lib/uni-prompt/utssdk/global.d.ts +0 -33
  317. package/types/uni/uts-plugin-component/lib/uni-prompt/utssdk/index.d.ts +0 -16
  318. package/types/uni/uts-plugin-component/lib/uni-prompt/utssdk/interface.d.ts +0 -1693
  319. package/types/uni/uts-plugin-component/lib/uni-pullDownRefresh/utssdk/global.d.ts +0 -29
  320. package/types/uni/uts-plugin-component/lib/uni-pullDownRefresh/utssdk/index.d.ts +0 -14
  321. package/types/uni/uts-plugin-component/lib/uni-pullDownRefresh/utssdk/interface.d.ts +0 -191
  322. package/types/uni/uts-plugin-component/lib/uni-recorder/utssdk/global.d.ts +0 -21
  323. package/types/uni/uts-plugin-component/lib/uni-recorder/utssdk/index.d.ts +0 -10
  324. package/types/uni/uts-plugin-component/lib/uni-recorder/utssdk/interface.d.ts +0 -2999
  325. package/types/uni/uts-plugin-component/lib/uni-requestMerchantTransfer/utssdk/global.d.ts +0 -21
  326. package/types/uni/uts-plugin-component/lib/uni-requestMerchantTransfer/utssdk/index.d.ts +0 -10
  327. package/types/uni/uts-plugin-component/lib/uni-requestMerchantTransfer/utssdk/interface.d.ts +0 -713
  328. package/types/uni/uts-plugin-component/lib/uni-route/utssdk/global.d.ts +0 -59
  329. package/types/uni/uts-plugin-component/lib/uni-route/utssdk/index.d.ts +0 -29
  330. package/types/uni/uts-plugin-component/lib/uni-route/utssdk/interface.d.ts +0 -2731
  331. package/types/uni/uts-plugin-component/lib/uni-rpx2px/utssdk/global.d.ts +0 -11
  332. package/types/uni/uts-plugin-component/lib/uni-rpx2px/utssdk/index.d.ts +0 -5
  333. package/types/uni/uts-plugin-component/lib/uni-rpx2px/utssdk/interface.d.ts +0 -81
  334. package/types/uni/uts-plugin-component/lib/uni-scanCode/utssdk/global.d.ts +0 -25
  335. package/types/uni/uts-plugin-component/lib/uni-scanCode/utssdk/index.d.ts +0 -12
  336. package/types/uni/uts-plugin-component/lib/uni-scanCode/utssdk/interface.d.ts +0 -429
  337. package/types/uni/uts-plugin-component/lib/uni-share/utssdk/global.d.ts +0 -41
  338. package/types/uni/uts-plugin-component/lib/uni-share/utssdk/index.d.ts +0 -20
  339. package/types/uni/uts-plugin-component/lib/uni-share/utssdk/interface.d.ts +0 -1192
  340. package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/global.d.ts +0 -9
  341. package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/index.d.ts +0 -5
  342. package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/interface.d.ts +0 -5
  343. package/types/uni/uts-plugin-component/lib/uni-shareWithSystem/utssdk/global.d.ts +0 -27
  344. package/types/uni/uts-plugin-component/lib/uni-shareWithSystem/utssdk/index.d.ts +0 -13
  345. package/types/uni/uts-plugin-component/lib/uni-shareWithSystem/utssdk/interface.d.ts +0 -722
  346. package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/global.d.ts +0 -55
  347. package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/index.d.ts +0 -27
  348. package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/interface.d.ts +0 -1617
  349. package/types/uni/uts-plugin-component/lib/uni-sse/utssdk/global.d.ts +0 -21
  350. package/types/uni/uts-plugin-component/lib/uni-sse/utssdk/index.d.ts +0 -10
  351. package/types/uni/uts-plugin-component/lib/uni-sse/utssdk/interface.d.ts +0 -330
  352. package/types/uni/uts-plugin-component/lib/uni-storage/utssdk/global.d.ts +0 -79
  353. package/types/uni/uts-plugin-component/lib/uni-storage/utssdk/index.d.ts +0 -39
  354. package/types/uni/uts-plugin-component/lib/uni-storage/utssdk/interface.d.ts +0 -1030
  355. package/types/uni/uts-plugin-component/lib/uni-tabBar/utssdk/global.d.ts +0 -149
  356. package/types/uni/uts-plugin-component/lib/uni-tabBar/utssdk/index.d.ts +0 -74
  357. package/types/uni/uts-plugin-component/lib/uni-tabBar/utssdk/interface.d.ts +0 -1221
  358. package/types/uni/uts-plugin-component/lib/uni-textarea/utssdk/global.d.ts +0 -9
  359. package/types/uni/uts-plugin-component/lib/uni-textarea/utssdk/index.d.ts +0 -5
  360. package/types/uni/uts-plugin-component/lib/uni-textarea/utssdk/interface.d.ts +0 -0
  361. package/types/uni/uts-plugin-component/lib/uni-theme/utssdk/global.d.ts +0 -53
  362. package/types/uni/uts-plugin-component/lib/uni-theme/utssdk/index.d.ts +0 -26
  363. package/types/uni/uts-plugin-component/lib/uni-theme/utssdk/interface.d.ts +0 -1141
  364. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/global.d.ts +0 -47
  365. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/index.d.ts +0 -23
  366. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +0 -926
  367. package/types/uni/uts-plugin-component/lib/uni-virtualPayment/utssdk/global.d.ts +0 -113
  368. package/types/uni/uts-plugin-component/lib/uni-virtualPayment/utssdk/index.d.ts +0 -56
  369. package/types/uni/uts-plugin-component/lib/uni-virtualPayment/utssdk/interface.d.ts +0 -1661
  370. package/types/uni/uts-plugin-component/lib/uni-web-view/utssdk/global.d.ts +0 -29
  371. package/types/uni/uts-plugin-component/lib/uni-web-view/utssdk/index.d.ts +0 -14
  372. package/types/uni/uts-plugin-component/lib/uni-web-view/utssdk/interface.d.ts +0 -452
  373. package/types/uni/uts-plugin-component/lib/uni-websocket/utssdk/global.d.ts +0 -59
  374. package/types/uni/uts-plugin-component/lib/uni-websocket/utssdk/index.d.ts +0 -29
  375. package/types/uni/uts-plugin-component/lib/uni-websocket/utssdk/interface.d.ts +0 -1939
  376. package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/global.d.ts +0 -12
  377. package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/index.d.ts +0 -1
  378. package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/interface.d.ts +0 -917
  379. package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/global.d.ts +0 -25
  380. package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/index.d.ts +0 -11
  381. package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/interface.d.ts +0 -1095
  382. package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/interface.d.ts +0 -253
  383. /package/types/uni/uts-plugin-component/lib/{uni-camera-global → uni-camera-camera-global}/utssdk/global.d.ts +0 -0
  384. /package/types/uni/uts-plugin-component/lib/{uni-camera-global → uni-camera-camera-global}/utssdk/index.d.ts +0 -0
  385. /package/types/uni/uts-plugin-component/lib/{uni-camera-global → uni-camera-camera-global}/utssdk/interface.d.ts +0 -0
  386. /package/types/uni/uts-plugin-component/lib/{uni-editor-global → uni-editor-editor-global}/utssdk/global.d.ts +0 -0
  387. /package/types/uni/uts-plugin-component/lib/{uni-editor-global → uni-editor-editor-global}/utssdk/index.d.ts +0 -0
  388. /package/types/uni/uts-plugin-component/lib/{uni-form-global → uni-form-button-global}/utssdk/global.d.ts +0 -0
  389. /package/types/uni/uts-plugin-component/lib/{uni-form-global → uni-form-button-global}/utssdk/index.d.ts +0 -0
  390. /package/types/uni/uts-plugin-component/lib/{uni-form-global → uni-form-button-global}/utssdk/interface.d.ts +0 -0
  391. /package/types/uni/uts-plugin-component/lib/{uni-map-tencent-global → uni-map-tencent-map-global}/utssdk/global.d.ts +0 -0
  392. /package/types/uni/uts-plugin-component/lib/{uni-map-tencent-global → uni-map-tencent-map-global}/utssdk/index.d.ts +0 -0
  393. /package/types/uni/uts-plugin-component/lib/{uni-map-tencent-global → uni-map-tencent-map-global}/utssdk/interface.d.ts +0 -0
  394. /package/types/uni/uts-plugin-component/lib/{uni-match-media-global → uni-match-media-match-media-global}/utssdk/global.d.ts +0 -0
  395. /package/types/uni/uts-plugin-component/lib/{uni-match-media-global → uni-match-media-match-media-global}/utssdk/index.d.ts +0 -0
  396. /package/types/uni/uts-plugin-component/lib/{uni-match-media-global → uni-match-media-match-media-global}/utssdk/interface.d.ts +0 -0
  397. /package/types/uni/uts-plugin-component/lib/{uni-navigator-global → uni-navigator-navigator-global}/utssdk/global.d.ts +0 -0
  398. /package/types/uni/uts-plugin-component/lib/{uni-navigator-global → uni-navigator-navigator-global}/utssdk/index.d.ts +0 -0
  399. /package/types/uni/uts-plugin-component/lib/{uni-navigator-global → uni-navigator-navigator-global}/utssdk/interface.d.ts +0 -0
  400. /package/types/uni/uts-plugin-component/lib/{uni-barcode-scanning → uni-page-container-page-container-global}/utssdk/global.d.ts +0 -0
  401. /package/types/uni/uts-plugin-component/lib/{uni-barcode-scanning → uni-page-container-page-container-global}/utssdk/index.d.ts +0 -0
  402. /package/types/uni/uts-plugin-component/lib/{uni-barcode-scanning → uni-page-container-page-container-global}/utssdk/interface.d.ts +0 -0
  403. /package/types/uni/uts-plugin-component/lib/{uni-picker-global → uni-picker-picker-global}/utssdk/global.d.ts +0 -0
  404. /package/types/uni/uts-plugin-component/lib/{uni-picker-global → uni-picker-picker-global}/utssdk/index.d.ts +0 -0
  405. /package/types/uni/uts-plugin-component/lib/{uni-picker-global → uni-picker-picker-global}/utssdk/interface.d.ts +0 -0
  406. /package/types/uni/uts-plugin-component/lib/{uni-progress-global → uni-progress-progress-global}/utssdk/global.d.ts +0 -0
  407. /package/types/uni/uts-plugin-component/lib/{uni-progress-global → uni-progress-progress-global}/utssdk/index.d.ts +0 -0
  408. /package/types/uni/uts-plugin-component/lib/{uni-progress-global → uni-progress-progress-global}/utssdk/interface.d.ts +0 -0
  409. /package/types/uni/uts-plugin-component/lib/{uni-rich-text-global → uni-rich-text-rich-text-global}/utssdk/global.d.ts +0 -0
  410. /package/types/uni/uts-plugin-component/lib/{uni-rich-text-global → uni-rich-text-rich-text-global}/utssdk/index.d.ts +0 -0
  411. /package/types/uni/uts-plugin-component/lib/{uni-rich-text-global → uni-rich-text-rich-text-global}/utssdk/interface.d.ts +0 -0
  412. /package/types/uni/uts-plugin-component/lib/{uni-video-global → uni-video-video-global}/utssdk/global.d.ts +0 -0
  413. /package/types/uni/uts-plugin-component/lib/{uni-video-global → uni-video-video-global}/utssdk/index.d.ts +0 -0
  414. /package/types/uni/uts-plugin-component/lib/{uni-video-global → uni-video-video-global}/utssdk/interface.d.ts +0 -0
  415. /package/types/uni/uts-plugin-component/lib/{uni-web-view-global → uni-web-view-web-view-global}/utssdk/global.d.ts +0 -0
  416. /package/types/uni/uts-plugin-component/lib/{uni-web-view-global → uni-web-view-web-view-global}/utssdk/index.d.ts +0 -0
  417. /package/types/uni/uts-plugin-component/lib/{uni-web-view-global → uni-web-view-web-view-global}/utssdk/interface.d.ts +0 -0
@@ -1,1141 +0,0 @@
1
- export interface Uni {
2
- /**
3
- * 开启监听系统主题变化
4
- * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/theme.html#onosthemechange
5
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/theme.html#onosthemechange
6
- * @uniPlatform
7
- {
8
- "app": {
9
- "android": {
10
- "osVer": "5.0",
11
- "uniVer": "x",
12
- "uniUtsPlugin": "x",
13
- "unixVer": "4.18"
14
- },
15
- "ios": {
16
- "osVer": "12.0",
17
- "uniVer": "x",
18
- "uniUtsPlugin": "x",
19
- "unixVer": "4.18",
20
- "unixUtsPlugin": "4.18"
21
- },
22
- "harmony": {
23
- "osVer": "5.0.0",
24
- "uniVer": "4.71",
25
- "unixVer": "4.71",
26
- "unixVaporVer": "5.0"
27
- }
28
- },
29
- "mp": {
30
- "weixin": {
31
- "hostVer": "x",
32
- "uniVer": "x",
33
- "unixVer": "x"
34
- },
35
- "alipay": {
36
- "hostVer": "x",
37
- "uniVer": "x",
38
- "unixVer": "x"
39
- },
40
- "baidu": {
41
- "hostVer": "x",
42
- "uniVer": "x",
43
- "unixVer": "x"
44
- },
45
- "toutiao": {
46
- "hostVer": "x",
47
- "uniVer": "x",
48
- "unixVer": "x"
49
- },
50
- "lark": {
51
- "hostVer": "x",
52
- "uniVer": "x",
53
- "unixVer": "x"
54
- },
55
- "qq": {
56
- "hostVer": "x",
57
- "uniVer": "x",
58
- "unixVer": "x"
59
- },
60
- "kuaishou": {
61
- "hostVer": "x",
62
- "uniVer": "x",
63
- "unixVer": "x"
64
- },
65
- "jd": {
66
- "hostVer": "x",
67
- "uniVer": "x",
68
- "unixVer": "x"
69
- }
70
- },
71
- "web": {
72
- "uniVer": "x",
73
- "unixVer": "x"
74
- }
75
- }
76
- * @example
77
- ```typescript
78
- const id = uni.onOsThemeChange((res) => {
79
- console.log(res.osTheme)
80
- })
81
- ```
82
- */
83
- onOsThemeChange(callback: OnOsThemeChangeCallback): number
84
-
85
- /**
86
- * 取消监听系统主题变化
87
- * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/theme.html#offosthemechange
88
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/theme.html#offosthemechange
89
- * @uniPlatform
90
- {
91
- "app": {
92
- "android": {
93
- "osVer": "5.0",
94
- "uniVer": "x",
95
- "uniUtsPlugin": "x",
96
- "unixVer": "4.18"
97
- },
98
- "ios": {
99
- "osVer": "12.0",
100
- "uniVer": "x",
101
- "uniUtsPlugin": "x",
102
- "unixVer": "4.18",
103
- "unixUtsPlugin": "4.18"
104
- },
105
- "harmony": {
106
- "osVer": "5.0.0",
107
- "uniVer": "4.71",
108
- "unixVer": "4.71",
109
- "unixVaporVer": "5.0"
110
- }
111
- },
112
- "mp": {
113
- "weixin": {
114
- "hostVer": "x",
115
- "uniVer": "x",
116
- "unixVer": "x"
117
- },
118
- "alipay": {
119
- "hostVer": "x",
120
- "uniVer": "x",
121
- "unixVer": "x"
122
- },
123
- "baidu": {
124
- "hostVer": "x",
125
- "uniVer": "x",
126
- "unixVer": "x"
127
- },
128
- "toutiao": {
129
- "hostVer": "x",
130
- "uniVer": "x",
131
- "unixVer": "x"
132
- },
133
- "lark": {
134
- "hostVer": "x",
135
- "uniVer": "x",
136
- "unixVer": "x"
137
- },
138
- "qq": {
139
- "hostVer": "x",
140
- "uniVer": "x",
141
- "unixVer": "x"
142
- },
143
- "kuaishou": {
144
- "hostVer": "x",
145
- "uniVer": "x",
146
- "unixVer": "x"
147
- },
148
- "jd": {
149
- "hostVer": "x",
150
- "uniVer": "x",
151
- "unixVer": "x"
152
- }
153
- },
154
- "web": {
155
- "uniVer": "x",
156
- "unixVer": "x"
157
- }
158
- }
159
- * @example
160
- ```typescript
161
- uni.offOsThemeChange(id)
162
- ```
163
- */
164
- offOsThemeChange(id: number): void
165
-
166
- /**
167
- * 设置应用主题
168
- * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/theme.html#setapptheme
169
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/theme.html#setapptheme
170
- * @uniPlatform
171
- {
172
- "app": {
173
- "android": {
174
- "osVer": "5.0",
175
- "uniVer": "x",
176
- "uniUtsPlugin": "x",
177
- "unixVer": "4.18"
178
- },
179
- "ios": {
180
- "osVer": "12.0",
181
- "uniVer": "x",
182
- "uniUtsPlugin": "x",
183
- "unixVer": "4.18",
184
- "unixUtsPlugin": "4.18"
185
- },
186
- "harmony": {
187
- "osVer": "5.0.0",
188
- "uniVer": "4.71",
189
- "unixVer": "4.71",
190
- "unixVaporVer": "5.0"
191
- }
192
- },
193
- "mp": {
194
- "weixin": {
195
- "hostVer": "x",
196
- "uniVer": "x",
197
- "unixVer": "x"
198
- },
199
- "alipay": {
200
- "hostVer": "x",
201
- "uniVer": "x",
202
- "unixVer": "x"
203
- },
204
- "baidu": {
205
- "hostVer": "x",
206
- "uniVer": "x",
207
- "unixVer": "x"
208
- },
209
- "toutiao": {
210
- "hostVer": "x",
211
- "uniVer": "x",
212
- "unixVer": "x"
213
- },
214
- "lark": {
215
- "hostVer": "x",
216
- "uniVer": "x",
217
- "unixVer": "x"
218
- },
219
- "qq": {
220
- "hostVer": "x",
221
- "uniVer": "x",
222
- "unixVer": "x"
223
- },
224
- "kuaishou": {
225
- "hostVer": "x",
226
- "uniVer": "x",
227
- "unixVer": "x"
228
- },
229
- "jd": {
230
- "hostVer": "x",
231
- "uniVer": "x",
232
- "unixVer": "x"
233
- }
234
- },
235
- "web": {
236
- "uniVer": "x",
237
- "unixVer": "x"
238
- }
239
- }
240
- * @example
241
- ```typescript
242
- uni.setAppTheme({
243
- theme: 'dark',
244
- success: (res) => {
245
- console.log('success')
246
- },
247
- fail: (err) => {
248
- console.log(err)
249
- },
250
- complete: (res) => {
251
- console.log('complete')
252
- }
253
- })
254
- ```
255
- */
256
- setAppTheme(options: SetAppThemeOptions): void
257
-
258
- /**
259
- * 开启监听应用主题变化
260
- * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/theme.html#onappthemechange
261
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/theme.html#onappthemechange
262
- * @uniPlatform
263
- {
264
- "app": {
265
- "android": {
266
- "osVer": "5.0",
267
- "uniVer": "x",
268
- "uniUtsPlugin": "x",
269
- "unixVer": "4.18"
270
- },
271
- "ios": {
272
- "osVer": "12.0",
273
- "uniVer": "x",
274
- "uniUtsPlugin": "x",
275
- "unixVer": "4.18",
276
- "unixUtsPlugin": "4.18"
277
- },
278
- "harmony": {
279
- "osVer": "5.0.0",
280
- "uniVer": "4.71",
281
- "unixVer": "4.71",
282
- "unixVaporVer": "5.0"
283
- }
284
- },
285
- "mp": {
286
- "weixin": {
287
- "hostVer": "x",
288
- "uniVer": "x",
289
- "unixVer": "x"
290
- },
291
- "alipay": {
292
- "hostVer": "x",
293
- "uniVer": "x",
294
- "unixVer": "x"
295
- },
296
- "baidu": {
297
- "hostVer": "x",
298
- "uniVer": "x",
299
- "unixVer": "x"
300
- },
301
- "toutiao": {
302
- "hostVer": "x",
303
- "uniVer": "x",
304
- "unixVer": "x"
305
- },
306
- "lark": {
307
- "hostVer": "x",
308
- "uniVer": "x",
309
- "unixVer": "x"
310
- },
311
- "qq": {
312
- "hostVer": "x",
313
- "uniVer": "x",
314
- "unixVer": "x"
315
- },
316
- "kuaishou": {
317
- "hostVer": "x",
318
- "uniVer": "x",
319
- "unixVer": "x"
320
- },
321
- "jd": {
322
- "hostVer": "x",
323
- "uniVer": "x",
324
- "unixVer": "x"
325
- }
326
- },
327
- "web": {
328
- "uniVer": "x",
329
- "unixVer": "x"
330
- }
331
- }
332
- * @example
333
- ```typescript
334
- const id = uni.onAppThemeChange((res) => {
335
- console.log(res.appTheme)
336
- })
337
- ```
338
- */
339
- onAppThemeChange(callback: OnAppThemeChangeCallback): number
340
-
341
- /**
342
- * 取消监听应用主题变化
343
- * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/theme.html#offappthemechange
344
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/theme.html#offappthemechange
345
- * @uniPlatform
346
- {
347
- "app": {
348
- "android": {
349
- "osVer": "5.0",
350
- "uniVer": "x",
351
- "uniUtsPlugin": "x",
352
- "unixVer": "4.18"
353
- },
354
- "ios": {
355
- "osVer": "12.0",
356
- "uniVer": "x",
357
- "uniUtsPlugin": "x",
358
- "unixVer": "4.18",
359
- "unixUtsPlugin": "4.18"
360
- },
361
- "harmony": {
362
- "osVer": "5.0.0",
363
- "uniVer": "4.71",
364
- "unixVer": "4.71",
365
- "unixVaporVer": "5.0"
366
- }
367
- },
368
- "web": {
369
- "uniVer": "x",
370
- "unixVer": "x"
371
- }
372
- }
373
- * @example
374
- ```typescript
375
- uni.offAppThemeChange(id)
376
- ```
377
- */
378
- offAppThemeChange(id: number): void
379
-
380
- /**
381
- * 监听宿主题状态变化。
382
- * @tutorial https://uniapp.dcloud.io/api/system/theme.html#onhostthemechange
383
- * @tutorial_uni_app https://uniapp.dcloud.io/api/system/theme.html#onhostthemechange
384
- * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/theme-change.html#onhostthemechange
385
- * @uniPlatform {
386
- * "app": {
387
- * "android": {
388
- * "osVer": "5.0",
389
- * "uniVer": "x",
390
- * "unixVer": "x"
391
- * },
392
- * "ios": {
393
- * "osVer": "9.0",
394
- * "uniVer": "x",
395
- * "unixVer": "x"
396
- * },
397
- * "harmony": {
398
- "osVer": "5.0.0",
399
- "uniVer": "4.71",
400
- "unixVer": "4.71",
401
- "unixVaporVer": "5.0"
402
- * }
403
- * },
404
- * "mp": {
405
- * "weixin": {
406
- * "hostVer": "√",
407
- * "uniVer": "x",
408
- * "unixVer": "4.41"
409
- * },
410
- * "alipay": {
411
- * "hostVer": "x",
412
- * "uniVer": "x",
413
- * "unixVer": "x"
414
- * },
415
- * "baidu": {
416
- * "hostVer": "x",
417
- * "uniVer": "x",
418
- * "unixVer": "x"
419
- * },
420
- * "toutiao": {
421
- * "hostVer": "x",
422
- * "uniVer": "x",
423
- * "unixVer": "x"
424
- * },
425
- * "lark": {
426
- * "hostVer": "x",
427
- * "uniVer": "x",
428
- * "unixVer": "x"
429
- * },
430
- * "qq": {
431
- * "hostVer": "x",
432
- * "uniVer": "x",
433
- * "unixVer": "x"
434
- * },
435
- * "kuaishou": {
436
- * "hostVer": "x",
437
- * "uniVer": "x",
438
- * "unixVer": "x"
439
- * },
440
- * "jd": {
441
- * "hostVer": "x",
442
- * "uniVer": "x",
443
- * "unixVer": "x"
444
- * }
445
- * },
446
- * "web": {
447
- * "uniVer": "x",
448
- * "unixVer": "4.35"
449
- * }
450
- * }
451
- */
452
- onHostThemeChange(callback: OnHostThemeChangeCallback): number;
453
-
454
- /**
455
- * 取消监听宿主题状态变化。
456
- * @tutorial https://uniapp.dcloud.io/api/system/theme.html#offhostthemechange
457
- * @tutorial_uni_app https://uniapp.dcloud.io/api/system/theme.html#offhostthemechange
458
- * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/theme-change.html#offhostthemechange
459
- * @uniPlatform {
460
- * "app": {
461
- * "android": {
462
- * "osVer": "5.0",
463
- * "uniVer": "x",
464
- * "unixVer": "x"
465
- * },
466
- * "ios": {
467
- * "osVer": "9.0",
468
- * "uniVer": "x",
469
- * "unixVer": "x"
470
- * },
471
- * "harmony": {
472
- "osVer": "5.0.0",
473
- "uniVer": "4.71",
474
- "unixVer": "4.71",
475
- "unixVaporVer": "5.0"
476
- * }
477
- * },
478
- * "mp": {
479
- * "weixin": {
480
- * "hostVer": "x",
481
- * "uniVer": "x",
482
- * "unixVer": "4.41"
483
- * },
484
- * "alipay": {
485
- * "hostVer": "x",
486
- * "uniVer": "x",
487
- * "unixVer": "x"
488
- * },
489
- * "baidu": {
490
- * "hostVer": "x",
491
- * "uniVer": "x",
492
- * "unixVer": "x"
493
- * },
494
- * "toutiao": {
495
- * "hostVer": "x",
496
- * "uniVer": "x",
497
- * "unixVer": "x"
498
- * },
499
- * "lark": {
500
- * "hostVer": "x",
501
- * "uniVer": "x",
502
- * "unixVer": "x"
503
- * },
504
- * "qq": {
505
- * "hostVer": "x",
506
- * "uniVer": "x",
507
- * "unixVer": "x"
508
- * },
509
- * "kuaishou": {
510
- * "hostVer": "x",
511
- * "uniVer": "x",
512
- * "unixVer": "x"
513
- * },
514
- * "jd": {
515
- * "hostVer": "x",
516
- * "uniVer": "x",
517
- * "unixVer": "x"
518
- * }
519
- * },
520
- * "web": {
521
- * "uniVer": "x",
522
- * "unixVer": "4.35"
523
- * }
524
- * }
525
- */
526
- offHostThemeChange(id: number): void;
527
-
528
- /**
529
- * 监听系统主题状态变化。
530
- * @deprecated 已废弃,在web、小程序上推荐使用 onHostThemeChange
531
- * @tutorial https://uniapp.dcloud.io/api/system/theme.html#onthemechange
532
- * @tutorial_uni_app https://uniapp.dcloud.io/api/system/theme.html#onthemechange
533
- * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/theme-change.html#onthemechange
534
- * @uniPlatform {
535
- * "app": {
536
- * "android": {
537
- * "osVer": "5.0",
538
- * "uniVer": "3.6.9",
539
- * "unixVer": "x"
540
- * },
541
- * "ios": {
542
- * "osVer": "9.0",
543
- * "uniVer": "2.6.5",
544
- * "unixVer": "x"
545
- * },
546
- * "harmony": {
547
- "osVer": "5.0.0",
548
- "uniVer": "4.71",
549
- "unixVer": "4.71",
550
- "unixVaporVer": "5.0"
551
- * }
552
- * },
553
- * "mp": {
554
- * "weixin": {
555
- * "hostVer": "√",
556
- * "uniVer": "2.11.0",
557
- * "unixVer": "4.41"
558
- * },
559
- * "alipay": {
560
- * "hostVer": "x",
561
- * "uniVer": "x",
562
- * "unixVer": "x"
563
- * },
564
- * "baidu": {
565
- * "hostVer": "x",
566
- * "uniVer": "x",
567
- * "unixVer": "x"
568
- * },
569
- * "toutiao": {
570
- * "hostVer": "x",
571
- * "uniVer": "x",
572
- * "unixVer": "x"
573
- * },
574
- * "lark": {
575
- * "hostVer": "√",
576
- * "uniVer": "5.3.0",
577
- * "unixVer": "x"
578
- * },
579
- * "qq": {
580
- * "hostVer": "x",
581
- * "uniVer": "x",
582
- * "unixVer": "x"
583
- * },
584
- * "kuaishou": {
585
- * "hostVer": "x",
586
- * "uniVer": "x",
587
- * "unixVer": "x"
588
- * },
589
- * "jd": {
590
- * "hostVer": "x",
591
- * "uniVer": "x",
592
- * "unixVer": "x"
593
- * }
594
- * },
595
- * "web": {
596
- * "uniVer": "3.6.9",
597
- * "unixVer": "4.0"
598
- * }
599
- * }
600
- */
601
- onThemeChange(callback: OnThemeChangeCallback): void;
602
-
603
- /**
604
- * 取消监听系统主题状态变化。
605
- * @deprecated 已废弃,在web、小程序上推荐使用 offHostThemeChange
606
- * @tutorial https://uniapp.dcloud.io/api/system/theme.html#offthemechange
607
- * @tutorial_uni_app https://uniapp.dcloud.io/api/system/theme.html#offthemechange
608
- * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/theme-change.html#offthemechange
609
- * @uniPlatform {
610
- * "app": {
611
- * "android": {
612
- * "osVer": "5.0",
613
- * "uniVer": "3.6.9",
614
- * "unixVer": "x"
615
- * },
616
- * "ios": {
617
- * "osVer": "9.0",
618
- * "uniVer": "2.6.5",
619
- * "unixVer": "x"
620
- * },
621
- * "harmony": {
622
- "osVer": "5.0.0",
623
- "uniVer": "4.71",
624
- "unixVer": "4.71",
625
- "unixVaporVer": "5.0"
626
- * }
627
- * },
628
- * "mp": {
629
- * "weixin": {
630
- * "hostVer": "√",
631
- * "uniVer": "2.11.0",
632
- * "unixVer": "4.41"
633
- * },
634
- * "alipay": {
635
- * "hostVer": "x",
636
- * "uniVer": "x",
637
- * "unixVer": "x"
638
- * },
639
- * "baidu": {
640
- * "hostVer": "x",
641
- * "uniVer": "x",
642
- * "unixVer": "x"
643
- * },
644
- * "toutiao": {
645
- * "hostVer": "x",
646
- * "uniVer": "x",
647
- * "unixVer": "x"
648
- * },
649
- * "lark": {
650
- * "hostVer": "√",
651
- * "uniVer": "5.3.0",
652
- * "unixVer": "x"
653
- * },
654
- * "qq": {
655
- * "hostVer": "x",
656
- * "uniVer": "x",
657
- * "unixVer": "x"
658
- * },
659
- * "kuaishou": {
660
- * "hostVer": "x",
661
- * "uniVer": "x",
662
- * "unixVer": "x"
663
- * },
664
- * "jd": {
665
- * "hostVer": "x",
666
- * "uniVer": "x",
667
- * "unixVer": "x"
668
- * }
669
- * },
670
- * "web": {
671
- * "uniVer": "3.6.9",
672
- * "unixVer": "4.0"
673
- * }
674
- * }
675
- */
676
- offThemeChange(callback: OnThemeChangeCallback): void;
677
- }
678
-
679
- /**
680
- * @uniPlatform
681
- {
682
- "app": {
683
- "android": {
684
- "osVer": "5.0",
685
- "uniVer": "x",
686
- "uniUtsPlugin": "x",
687
- "unixVer": "4.18"
688
- },
689
- "ios": {
690
- "osVer": "12.0",
691
- "uniVer": "x",
692
- "uniUtsPlugin": "x",
693
- "unixVer": "4.18",
694
- "unixUtsPlugin": "4.18"
695
- },
696
- "harmony": {
697
- "osVer": "5.0.0",
698
- "uniVer": "4.71",
699
- "unixVer": "4.71",
700
- "unixVaporVer": "5.0"
701
- }
702
- },
703
- "web": {
704
- "uniVer": "x",
705
- "unixVer": "x"
706
- }
707
- }
708
- */
709
- export type OsThemeChangeResult = {
710
- /**
711
- * 系统主题
712
- * @uniPlatform
713
- {
714
- "app": {
715
- "android": {
716
- "osVer": "5.0",
717
- "uniVer": "x",
718
- "uniUtsPlugin": "x",
719
- "unixVer": "4.18"
720
- },
721
- "ios": {
722
- "osVer": "12.0",
723
- "uniVer": "x",
724
- "uniUtsPlugin": "x",
725
- "unixVer": "4.18",
726
- "unixUtsPlugin": "4.18"
727
- },
728
- "harmony": {
729
- "osVer": "5.0.0",
730
- "uniVer": "4.71",
731
- "unixVer": "4.71",
732
- "unixVaporVer": "5.0"
733
- }
734
- },
735
- "web": {
736
- "uniVer": "x",
737
- "unixVer": "x"
738
- }
739
- }
740
- */
741
- osTheme:
742
- /**
743
- * 亮色模式
744
- */
745
- 'light' |
746
- /**
747
- * 深色模式
748
- */
749
- 'dark'
750
-
751
- }
752
-
753
- /**
754
- * @uniPlatform
755
- {
756
- "app": {
757
- "android": {
758
- "osVer": "5.0",
759
- "uniVer": "x",
760
- "uniUtsPlugin": "x",
761
- "unixVer": "4.18"
762
- },
763
- "ios": {
764
- "osVer": "12.0",
765
- "uniVer": "x",
766
- "uniUtsPlugin": "x",
767
- "unixVer": "4.18",
768
- "unixUtsPlugin": "4.18"
769
- },
770
- "harmony": {
771
- "osVer": "5.0.0",
772
- "uniVer": "4.71",
773
- "unixVer": "4.71",
774
- "unixVaporVer": "5.0"
775
- }
776
- },
777
- "web": {
778
- "uniVer": "x",
779
- "unixVer": "x"
780
- }
781
- }
782
- */
783
- export type AppThemeChangeResult = {
784
- /**
785
- * 应用主题
786
- * @uniPlatform
787
- {
788
- "app": {
789
- "android": {
790
- "osVer": "5.0",
791
- "uniVer": "x",
792
- "uniUtsPlugin": "x",
793
- "unixVer": "4.18"
794
- },
795
- "ios": {
796
- "osVer": "12.0",
797
- "uniVer": "x",
798
- "uniUtsPlugin": "x",
799
- "unixVer": "4.18",
800
- "unixUtsPlugin": "4.18"
801
- },
802
- "harmony": {
803
- "osVer": "5.0.0",
804
- "uniVer": "4.71",
805
- "unixVer": "4.71",
806
- "unixVaporVer": "5.0"
807
- }
808
- },
809
- "web": {
810
- "uniVer": "x",
811
- "unixVer": "x"
812
- }
813
- }
814
- */
815
- appTheme:
816
- /**
817
- * 亮色模式
818
- */
819
- 'light' |
820
- /**
821
- * 深色模式
822
- */
823
- 'dark'
824
-
825
- }
826
-
827
- /*
828
- * 系统主题相关类型定义
829
- */
830
- export type OnOsThemeChangeCallback = (res: OsThemeChangeResult) => void
831
- export type OnOsThemeChange = (callback: OnOsThemeChangeCallback) => number
832
- export type OffOsThemeChange = (id: number) => void
833
-
834
- export type OnHostThemeChange = (callback: OnHostThemeChangeCallback) => number
835
- export type OffHostThemeChange = (id: number) => void;
836
- /*
837
- * 应用主题相关类型定义
838
- */
839
- export type SetAppTheme = (options: SetAppThemeOptions) => void
840
- export type OnAppThemeChangeCallback = (res: AppThemeChangeResult) => void
841
- export type OnAppThemeChange = (callback: OnAppThemeChangeCallback) => number
842
- export type OffAppThemeChange = (id: number) => void
843
- export type SetAppThemeSuccessResult = {
844
- theme: string
845
- }
846
- export type SetAppThemeSuccessCallback = (result: SetAppThemeSuccessResult) => void;
847
- export type SetAppThemeFailCallback = (result: AppThemeFail) => void;
848
- export type SetAppThemeCompleteCallback = (result: any) => void;
849
-
850
- /**
851
- * @uniPlatform
852
- {
853
- "app": {
854
- "android": {
855
- "osVer": "5.0",
856
- "uniVer": "x",
857
- "uniUtsPlugin": "x",
858
- "unixVer": "4.18"
859
- },
860
- "ios": {
861
- "osVer": "12.0",
862
- "uniVer": "x",
863
- "uniUtsPlugin": "x",
864
- "unixVer": "4.18",
865
- "unixUtsPlugin": "4.18"
866
- },
867
- "harmony": {
868
- "osVer": "5.0.0",
869
- "uniVer": "4.71",
870
- "unixVer": "4.71",
871
- "unixVaporVer": "5.0"
872
- }
873
- },
874
- "web": {
875
- "uniVer": "x",
876
- "unixVer": "x"
877
- }
878
- }
879
- */
880
- export type SetAppThemeOptions = {
881
- /**
882
- * 主题
883
- * @uniPlatform
884
- {
885
- "app": {
886
- "android": {
887
- "osVer": "5.0",
888
- "uniVer": "x",
889
- "uniUtsPlugin": "x",
890
- "unixVer": "4.18"
891
- },
892
- "ios": {
893
- "osVer": "12.0",
894
- "uniVer": "x",
895
- "uniUtsPlugin": "x",
896
- "unixVer": "4.18",
897
- "unixUtsPlugin": "4.18"
898
- },
899
- "harmony": {
900
- "osVer": "5.0.0",
901
- "uniVer": "4.71",
902
- "unixVer": "4.71",
903
- "unixVaporVer": "5.0"
904
- }
905
- },
906
- "web": {
907
- "uniVer": "x",
908
- "unixVer": "x"
909
- }
910
- }
911
- */
912
- theme:
913
- /**
914
- * 亮色模式
915
- */
916
- 'light' |
917
- /**
918
- * 深色模式
919
- */
920
- 'dark' |
921
- /**
922
- * 跟随系统模式
923
- */
924
- 'auto'
925
-
926
- /**
927
- * 接口调用成功的回调函数
928
- * @defaultValue null
929
- * @uniPlatform
930
- {
931
- "app": {
932
- "android": {
933
- "osVer": "5.0",
934
- "uniVer": "x",
935
- "uniUtsPlugin": "x",
936
- "unixVer": "4.18"
937
- },
938
- "ios": {
939
- "osVer": "12.0",
940
- "uniVer": "x",
941
- "uniUtsPlugin": "x",
942
- "unixVer": "4.18",
943
- "unixUtsPlugin": "4.18"
944
- },
945
- "harmony": {
946
- "osVer": "5.0.0",
947
- "uniVer": "4.71",
948
- "unixVer": "4.71",
949
- "unixVaporVer": "5.0"
950
- }
951
- },
952
- "web": {
953
- "uniVer": "x",
954
- "unixVer": "x"
955
- }
956
- }
957
- */
958
- success?: SetAppThemeSuccessCallback
959
-
960
- /**
961
- * 接口调用失败的回调函数
962
- * @defaultValue null
963
- * @uniPlatform
964
- {
965
- "app": {
966
- "android": {
967
- "osVer": "5.0",
968
- "uniVer": "x",
969
- "uniUtsPlugin": "x",
970
- "unixVer": "4.18"
971
- },
972
- "ios": {
973
- "osVer": "12.0",
974
- "uniVer": "x",
975
- "uniUtsPlugin": "x",
976
- "unixVer": "4.18",
977
- "unixUtsPlugin": "4.18"
978
- },
979
- "harmony": {
980
- "osVer": "5.0.0",
981
- "uniVer": "4.71",
982
- "unixVer": "4.71",
983
- "unixVaporVer": "5.0"
984
- }
985
- },
986
- "web": {
987
- "uniVer": "x",
988
- "unixVer": "x"
989
- }
990
- }
991
- */
992
- fail?: SetAppThemeFailCallback
993
-
994
- /**
995
- * 接口调用结束的回调函数(调用成功、失败都会执行)
996
- * @defaultValue null
997
- * @uniPlatform
998
- {
999
- "app": {
1000
- "android": {
1001
- "osVer": "5.0",
1002
- "uniVer": "x",
1003
- "uniUtsPlugin": "x",
1004
- "unixVer": "4.18"
1005
- },
1006
- "ios": {
1007
- "osVer": "12.0",
1008
- "uniVer": "x",
1009
- "uniUtsPlugin": "x",
1010
- "unixVer": "4.18",
1011
- "unixUtsPlugin": "4.18"
1012
- },
1013
- "harmony": {
1014
- "osVer": "5.0.0",
1015
- "uniVer": "4.71",
1016
- "unixVer": "4.71",
1017
- "unixVaporVer": "5.0"
1018
- }
1019
- },
1020
- "web": {
1021
- "uniVer": "x",
1022
- "unixVer": "x"
1023
- }
1024
- }
1025
- */
1026
- complete?: SetAppThemeCompleteCallback
1027
- }
1028
-
1029
- /**
1030
- * 错误码
1031
- * - 702001 参数错误
1032
- * - 2002000 未知错误
1033
- * @uniPlatform
1034
- {
1035
- "app": {
1036
- "android": {
1037
- "osVer": "5.0",
1038
- "uniVer": "x",
1039
- "uniUtsPlugin": "x",
1040
- "unixVer": "4.18"
1041
- },
1042
- "ios": {
1043
- "osVer": "12.0",
1044
- "uniVer": "x",
1045
- "uniUtsPlugin": "x",
1046
- "unixVer": "4.18",
1047
- "unixUtsPlugin": "4.18"
1048
- },
1049
- "harmony": {
1050
- "osVer": "5.0.0",
1051
- "uniVer": "4.71",
1052
- "unixVer": "4.71",
1053
- "unixVaporVer": "5.0"
1054
- }
1055
- },
1056
- "web": {
1057
- "uniVer": "x",
1058
- "unixVer": "x"
1059
- }
1060
- }
1061
- */
1062
- export type AppThemeErrorCode =
1063
- /**
1064
- * 参数错误
1065
- */
1066
- 702001 |
1067
- /**
1068
- * 未知错误
1069
- */
1070
- 2002000;
1071
-
1072
- export type AppThemeFail = IAppThemeFail;
1073
-
1074
- /**
1075
- * @uniPlatform
1076
- {
1077
- "app": {
1078
- "android": {
1079
- "osVer": "5.0",
1080
- "uniVer": "x",
1081
- "uniUtsPlugin": "x",
1082
- "unixVer": "4.18"
1083
- },
1084
- "ios": {
1085
- "osVer": "12.0",
1086
- "uniVer": "x",
1087
- "uniUtsPlugin": "x",
1088
- "unixVer": "4.18",
1089
- "unixUtsPlugin": "4.18"
1090
- },
1091
- "harmony": {
1092
- "osVer": "5.0.0",
1093
- "uniVer": "4.71",
1094
- "unixVer": "4.71",
1095
- "unixVaporVer": "5.0"
1096
- }
1097
- },
1098
- "web": {
1099
- "uniVer": "x",
1100
- "unixVer": "x"
1101
- }
1102
- }
1103
- */
1104
- export interface IAppThemeFail extends IUniError {
1105
- errCode: AppThemeErrorCode
1106
- };
1107
-
1108
- export type OnHostThemeChangeCallbackResult = {
1109
- /**
1110
- * 主题名称
1111
- */
1112
- hostTheme:
1113
- /**
1114
- * 亮色模式
1115
- */
1116
- 'light' |
1117
- /**
1118
- * 深色模式
1119
- */
1120
- 'dark'
1121
- };
1122
-
1123
- export type OnHostThemeChangeCallback = (result: OnHostThemeChangeCallbackResult) => void;
1124
-
1125
-
1126
- export type OnThemeChangeCallbackResult = {
1127
- /**
1128
- * 主题名称
1129
- */
1130
- theme:
1131
- /**
1132
- * 亮色模式
1133
- */
1134
- 'light' |
1135
- /**
1136
- * 深色模式
1137
- */
1138
- 'dark'
1139
- };
1140
-
1141
- type OnThemeChangeCallback = (result: OnThemeChangeCallbackResult) => void;