@dcloudio/uni-app-x 0.7.13 → 0.7.15

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 (187) hide show
  1. package/options.d.ts +1 -1
  2. package/package.json +1 -1
  3. package/types/app.d.ts +5 -6
  4. package/types/index.d.ts +1 -1
  5. package/types/native/CanvasRenderingContext2D.d.ts +378 -0
  6. package/types/native/IUniElement.d.ts +40 -12
  7. package/types/native/Path2D.d.ts +74 -0
  8. package/types/native/UniApp.d.ts +17 -1
  9. package/types/native/UniCanvasElement.d.ts +9 -0
  10. package/types/native/UniEvent.d.ts +30 -0
  11. package/types/native/UniNativePage.d.ts +31 -1
  12. package/types/native/UniPageManager.d.ts +4 -1
  13. package/types/native/UniProvider.d.ts +14 -0
  14. package/types/native/UniResizeObserver.d.ts +10 -10
  15. package/types/native/UniScrollEvent.d.ts +1 -1
  16. package/types/native/UniSwiperAnimationFinishEvent.d.ts +24 -2
  17. package/types/native/UniSwiperChangeEvent.d.ts +24 -2
  18. package/types/native/UniSwiperTransitionEvent.d.ts +2 -2
  19. package/types/native/UniWebViewErrorEvent.d.ts +3 -3
  20. package/types/native/UniWebViewLoadEvent.d.ts +2 -2
  21. package/types/native/UniWebViewLoadingEvent.d.ts +2 -2
  22. package/types/native/UniWebViewMessageEvent.d.ts +1 -1
  23. package/types/native/global.d.ts +40 -9
  24. package/types/native/index.d.ts +4 -0
  25. package/types/page.d.ts +85 -0
  26. package/types/shim-uts-basic.d.ts +4495 -0
  27. package/types/uni/env/index.d.ts +21 -0
  28. package/types/uni/global.d.ts +1 -0
  29. package/types/uni/index.d.ts +2 -1
  30. package/types/uni/uts-plugin-api/global.d.ts +14 -2
  31. package/types/uni/uts-plugin-api/index.d.ts +14 -2
  32. package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/global.d.ts +10 -0
  33. package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/index.d.ts +4 -0
  34. package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +77 -0
  35. package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/global.d.ts +10 -0
  36. package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/index.d.ts +4 -0
  37. package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +77 -0
  38. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/global.d.ts +40 -0
  39. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/index.d.ts +19 -0
  40. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +203 -0
  41. package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/global.d.ts +20 -0
  42. package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/index.d.ts +9 -0
  43. package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +152 -0
  44. package/types/uni/uts-plugin-api/lib/uni-createRequestPermissionListener/utssdk/interface.d.ts +20 -3
  45. package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +19 -8
  46. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +13 -6
  47. package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +30 -2
  48. package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/interface.d.ts +12 -3
  49. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/global.d.ts +6 -0
  50. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/index.d.ts +3 -0
  51. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +64 -8
  52. package/types/uni/uts-plugin-api/lib/uni-getAccessibilityInfo/utssdk/interface.d.ts +20 -17
  53. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +111 -27
  54. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +465 -45
  55. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +651 -115
  56. package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/interface.d.ts +7 -1
  57. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +10 -1
  58. package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/global.d.ts +24 -0
  59. package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/index.d.ts +11 -0
  60. package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/interface.d.ts +173 -0
  61. package/types/uni/uts-plugin-api/lib/uni-getLocation-system/utssdk/global.d.ts +2 -14
  62. package/types/uni/uts-plugin-api/lib/uni-getLocation-system/utssdk/index.d.ts +1 -6
  63. package/types/uni/uts-plugin-api/lib/uni-getLocation-system/utssdk/interface.d.ts +1 -151
  64. package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent/utssdk/global.d.ts +8 -0
  65. package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent/utssdk/index.d.ts +4 -0
  66. package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent/utssdk/interface.d.ts +1 -0
  67. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +12 -5
  68. package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +11 -5
  69. package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/global.d.ts +8 -0
  70. package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/index.d.ts +4 -0
  71. package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/interface.d.ts +176 -72
  72. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +1728 -59
  73. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +123 -16
  74. package/types/uni/uts-plugin-api/lib/uni-installApk/utssdk/interface.d.ts +9 -6
  75. package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/interface.d.ts +18 -2
  76. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/global.d.ts +22 -0
  77. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/index.d.ts +10 -0
  78. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +60 -0
  79. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +8 -1
  80. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/global.d.ts +24 -0
  81. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/index.d.ts +11 -0
  82. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +100 -0
  83. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/global.d.ts +2 -0
  84. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/index.d.ts +1 -0
  85. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +459 -67
  86. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +34 -5
  87. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +909 -101
  88. package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +20 -15
  89. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/global.d.ts +24 -0
  90. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/index.d.ts +11 -0
  91. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +70 -0
  92. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/global.d.ts +2 -0
  93. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/index.d.ts +1 -0
  94. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +16 -6
  95. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +26 -16
  96. package/types/uni/uts-plugin-api/lib/uni-payment-alipay/utssdk/global.d.ts +8 -0
  97. package/types/uni/uts-plugin-api/lib/uni-payment-alipay/utssdk/index.d.ts +4 -0
  98. package/types/uni/uts-plugin-api/lib/uni-payment-alipay/utssdk/interface.d.ts +1 -0
  99. package/types/uni/uts-plugin-api/lib/uni-payment-wxpay/utssdk/global.d.ts +8 -0
  100. package/types/uni/uts-plugin-api/lib/uni-payment-wxpay/utssdk/index.d.ts +4 -0
  101. package/types/uni/uts-plugin-api/lib/uni-payment-wxpay/utssdk/interface.d.ts +3 -0
  102. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +120 -42
  103. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/global.d.ts +2 -0
  104. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/index.d.ts +1 -0
  105. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +16 -1
  106. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +251 -42
  107. package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/interface.d.ts +7 -2
  108. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/global.d.ts +24 -0
  109. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/index.d.ts +11 -0
  110. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +73 -0
  111. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +114 -45
  112. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/global.d.ts +16 -0
  113. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/index.d.ts +8 -0
  114. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +167 -7
  115. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/global.d.ts +42 -0
  116. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/index.d.ts +20 -0
  117. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +516 -0
  118. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +320 -83
  119. package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/global.d.ts +4 -4
  120. package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/index.d.ts +2 -2
  121. package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/interface.d.ts +48 -39
  122. package/types/uni/uts-plugin-biz/lib/uni-facialRecognitionVerify/utssdk/interface.d.ts +33 -15
  123. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/global.d.ts +4 -0
  124. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/index.d.ts +2 -0
  125. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +777 -394
  126. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +19 -15
  127. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +132 -15
  128. package/types/uni/uts-plugin-extend/README.md +3 -0
  129. package/types/uni/uts-plugin-extend/global.d.ts +13 -0
  130. package/types/uni/uts-plugin-extend/index.d.ts +13 -0
  131. package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/global.d.ts +12 -0
  132. package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/index.d.ts +1 -0
  133. package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/interface.d.ts +365 -0
  134. package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/global.d.ts +23 -0
  135. package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/index.d.ts +10 -0
  136. package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/interface.d.ts +710 -0
  137. package/types/uni/uts-plugin-extend/lib/uni-chooseLocation/utssdk/global.d.ts +21 -0
  138. package/types/uni/uts-plugin-extend/lib/uni-chooseLocation/utssdk/index.d.ts +9 -0
  139. package/types/uni/uts-plugin-extend/lib/uni-chooseLocation/utssdk/interface.d.ts +151 -0
  140. package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/global.d.ts +25 -0
  141. package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/index.d.ts +11 -0
  142. package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/interface.d.ts +363 -0
  143. package/types/uni/uts-plugin-extend/lib/uni-createInnerAudioContext/utssdk/global.d.ts +11 -0
  144. package/types/uni/uts-plugin-extend/lib/uni-createInnerAudioContext/utssdk/index.d.ts +4 -0
  145. package/types/uni/uts-plugin-extend/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +224 -0
  146. package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/global.d.ts +53 -0
  147. package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/index.d.ts +25 -0
  148. package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/interface.d.ts +486 -0
  149. package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/global.d.ts +7 -0
  150. package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/index.d.ts +1 -0
  151. package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +296 -0
  152. package/types/uni/uts-plugin-extend/lib/uni-locale/utssdk/global.d.ts +15 -0
  153. package/types/uni/uts-plugin-extend/lib/uni-locale/utssdk/index.d.ts +1 -0
  154. package/types/uni/uts-plugin-extend/lib/uni-locale/utssdk/interface.d.ts +229 -0
  155. package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/global.d.ts +14 -0
  156. package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/index.d.ts +1 -0
  157. package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/interface.d.ts +559 -0
  158. package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/global.d.ts +9 -0
  159. package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/index.d.ts +1 -0
  160. package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/interface.d.ts +163 -0
  161. package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/global.d.ts +21 -0
  162. package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/index.d.ts +9 -0
  163. package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/interface.d.ts +143 -0
  164. package/types/uni/uts-plugin-extend/lib/uni-preloadPage/utssdk/global.d.ts +7 -0
  165. package/types/uni/uts-plugin-extend/lib/uni-preloadPage/utssdk/index.d.ts +1 -0
  166. package/types/uni/uts-plugin-extend/lib/uni-preloadPage/utssdk/interface.d.ts +106 -0
  167. package/types/uni/uts-plugin-extend/lib/uni-theme/utssdk/global.d.ts +9 -0
  168. package/types/uni/uts-plugin-extend/lib/uni-theme/utssdk/index.d.ts +1 -0
  169. package/types/uni/uts-plugin-extend/lib/uni-theme/utssdk/interface.d.ts +165 -0
  170. package/types/uni-cloud/index.d.ts +4 -0
  171. package/types/uni-cloud/interface.d.ts +163 -20
  172. package/types/vue/CheckboxGroupChangeEvent.d.ts +10 -13
  173. package/types/vue/LifeCycle.d.ts +32 -32
  174. package/types/vue/PickerViewChangeEvent.d.ts +10 -13
  175. package/types/vue/ProgressActiveendEvent.d.ts +9 -11
  176. package/types/vue/RadioGroupChangeEvent.d.ts +10 -13
  177. package/types/vue/SliderChangeEvent.d.ts +9 -10
  178. package/types/vue/SwitchChangeEvent.d.ts +11 -13
  179. package/types/vue/UniCloudDBElement.d.ts +72 -75
  180. package/types/vue/UniFormElement.d.ts +17 -19
  181. package/types/vue/UniNavigatorElement.d.ts +1 -2
  182. package/types/vue/global.d.ts +190 -0
  183. package/types/vue/index.d.ts +10 -11
  184. package/types/vue-global/index.d.ts +1 -0
  185. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/app-ios/global.d.ts +0 -78
  186. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/app-ios/index.d.ts +0 -38
  187. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/app-ios/interface.d.ts +0 -643
@@ -26,7 +26,7 @@ export type SetStorageOptions = {
26
26
  */
27
27
  key: string,
28
28
  /**
29
- * 需要存储的内容,只支持原生类型、及能够通过 JSON.stringify 序列化的对象
29
+ * 需要存储的内容,只支持能通过 JSON.stringify 序列化的对象
30
30
  */
31
31
  data: any,
32
32
  /**
@@ -244,10 +244,12 @@ export type ClearStorageSync = () => void
244
244
  export interface Uni {
245
245
  /**
246
246
  * uni.setStorage函数定义
247
- * 将数据存储在本地storage存储中指定的 key 中,会覆盖掉原来该 key 对应的内容,这是一个异步接口。
248
- *
249
- * @param {SetStorageOptions} options
250
- * @tutorial https://uniapp.dcloud.net.cn/api/storage/storage.html#setstorage
247
+ * 将数据存储在本地storage存储中指定的 key 中,会覆盖掉原来该 key 对应的内容,这是一个异步接口。
248
+ *
249
+ * @param {SetStorageOptions} options
250
+ * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/storage/storage.html#setstorage
251
+ * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#setstorage
252
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#setstorage
251
253
  * @uniPlatform {
252
254
  * "app": {
253
255
  * "android": {
@@ -259,7 +261,12 @@ export interface Uni {
259
261
  * "osVer": "12.0",
260
262
  * "uniVer": "2.0.3",
261
263
  * "unixVer": "4.11"
262
- * }
264
+ * },
265
+ * "harmony": {
266
+ * "osVer": "3.0",
267
+ * "uniVer": "4.23",
268
+ * "unixVer": "x"
269
+ * }
263
270
  * },
264
271
  * "web": {
265
272
  * "uniVer": "√",
@@ -273,10 +280,12 @@ export interface Uni {
273
280
  /**
274
281
  * uni.setStorageSync函数定义
275
282
  * 将 data 存储在本地storage存储中指定的 key 中,会覆盖掉原来该 key 对应的内容,这是一个同步接口。
276
- *
283
+ *
277
284
  * @param {string} key 本地storage存储中的指定的 key
278
- * @param {any} data 需要存储的内容,只支持原生类型、及能够通过 JSON.stringify 序列化的对象
279
- * @tutorial https://uniapp.dcloud.net.cn/api/storage/storage.html#setstoragesync
285
+ * @param {any} data 需要存储的内容,只支持能通过 JSON.stringify 序列化的对象
286
+ * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/storage/storage.html#setstoragesync
287
+ * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#setstoragesync
288
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#setstoragesync
280
289
  * @uniPlatform {
281
290
  * "app": {
282
291
  * "android": {
@@ -288,7 +297,12 @@ export interface Uni {
288
297
  * "osVer": "12.0",
289
298
  * "uniVer": "2.0.3",
290
299
  * "unixVer": "4.11"
291
- * }
300
+ * },
301
+ * "harmony": {
302
+ * "osVer": "3.0",
303
+ * "uniVer": "4.23",
304
+ * "unixVer": "x"
305
+ * }
292
306
  * },
293
307
  * "web": {
294
308
  * "uniVer": "√",
@@ -302,9 +316,11 @@ export interface Uni {
302
316
  /**
303
317
  * uni.getStorage函数定义
304
318
  * 从本地存储中异步获取指定 key 对应的内容。
305
- *
306
- * @param {GetStorageOptions} options
307
- * @tutorial https://uniapp.dcloud.net.cn/api/storage/storage.html#getstorage
319
+ *
320
+ * @param {GetStorageOptions} options
321
+ * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/storage/storage.html#getstorage
322
+ * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#getstorage
323
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#getstorage
308
324
  * @uniPlatform {
309
325
  * "app": {
310
326
  * "android": {
@@ -316,7 +332,12 @@ export interface Uni {
316
332
  * "osVer": "12.0",
317
333
  * "uniVer": "2.0.3",
318
334
  * "unixVer": "4.11"
319
- * }
335
+ * },
336
+ * "harmony": {
337
+ * "osVer": "3.0",
338
+ * "uniVer": "4.23",
339
+ * "unixVer": "x"
340
+ * }
320
341
  * },
321
342
  * "web": {
322
343
  * "uniVer": "√",
@@ -330,9 +351,11 @@ export interface Uni {
330
351
  /**
331
352
  * uni.getStorageSync函数定义
332
353
  * 从本地存储中同步获取指定 key 对应的内容。
333
- *
354
+ *
334
355
  * @param {string} key 本地存储中的指定的 key
335
- * @tutorial https://uniapp.dcloud.net.cn/api/storage/storage.html#getstoragesync
356
+ * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/storage/storage.html#getstoragesync
357
+ * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#getstoragesync
358
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#getstoragesync
336
359
  * @uniPlatform {
337
360
  * "app": {
338
361
  * "android": {
@@ -344,7 +367,12 @@ export interface Uni {
344
367
  * "osVer": "12.0",
345
368
  * "uniVer": "2.0.3",
346
369
  * "unixVer": "4.11"
347
- * }
370
+ * },
371
+ * "harmony": {
372
+ * "osVer": "3.0",
373
+ * "uniVer": "4.23",
374
+ * "unixVer": "x"
375
+ * }
348
376
  * },
349
377
  * "web": {
350
378
  * "uniVer": "√",
@@ -358,9 +386,11 @@ export interface Uni {
358
386
  /**
359
387
  * uni.getStorageInfo函数定义
360
388
  * 异步获取当前 storage 的相关信息。
361
- *
362
- * @param {GetStorageInfoOptions} options
363
- * @tutorial https://uniapp.dcloud.net.cn/api/storage/storage.html#getstorageinfo
389
+ *
390
+ * @param {GetStorageInfoOptions} options
391
+ * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/storage/storage.html#getstorageinfo
392
+ * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#getstorageinfo
393
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#getstorageinfo
364
394
  * @uniPlatform {
365
395
  * "app": {
366
396
  * "android": {
@@ -372,7 +402,12 @@ export interface Uni {
372
402
  * "osVer": "12.0",
373
403
  * "uniVer": "2.0.3",
374
404
  * "unixVer": "4.11"
375
- * }
405
+ * },
406
+ * "harmony": {
407
+ * "osVer": "3.0",
408
+ * "uniVer": "4.23",
409
+ * "unixVer": "x"
410
+ * }
376
411
  * },
377
412
  * "web": {
378
413
  * "uniVer": "√",
@@ -386,10 +421,11 @@ export interface Uni {
386
421
  /**
387
422
  * uni.getStorageInfoSync函数定义
388
423
  * 同步获取当前 storage 的相关信息。
389
- *
390
- *
391
- * @tutorial https://uniapp.dcloud.net.cn/api/storage/storage.html#getstorageinfosync
392
- *
424
+ *
425
+ * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/storage/storage.html#getstorageinfosync
426
+ * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#getstorageinfosync
427
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#getstorageinfosync
428
+ *
393
429
  * @uniPlatform {
394
430
  * "app": {
395
431
  * "android": {
@@ -401,7 +437,12 @@ export interface Uni {
401
437
  * "osVer": "12.0",
402
438
  * "uniVer": "2.0.3",
403
439
  * "unixVer": "4.11"
404
- * }
440
+ * },
441
+ * "harmony": {
442
+ * "osVer": "3.0",
443
+ * "uniVer": "4.23",
444
+ * "unixVer": "x"
445
+ * }
405
446
  * },
406
447
  * "web": {
407
448
  * "uniVer": "√",
@@ -415,11 +456,13 @@ export interface Uni {
415
456
  /**
416
457
  * uni.removeStorage函数定义
417
458
  * 从本地存储中异步移除指定 key。
418
- *
419
- * @param {RemoveStorageOptions} options
420
- *
421
- * @tutorial hhttps://uniapp.dcloud.net.cn/api/storage/storage.html#removestorage
422
- *
459
+ *
460
+ * @param {RemoveStorageOptions} options
461
+ *
462
+ * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/storage/storage.html#removestorage
463
+ * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#removestorage
464
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#removestorage
465
+ *
423
466
  * @uniPlatform {
424
467
  * "app": {
425
468
  * "android": {
@@ -431,7 +474,12 @@ export interface Uni {
431
474
  * "osVer": "12.0",
432
475
  * "uniVer": "2.0.3",
433
476
  * "unixVer": "4.11"
434
- * }
477
+ * },
478
+ * "harmony": {
479
+ * "osVer": "3.0",
480
+ * "uniVer": "4.23",
481
+ * "unixVer": "x"
482
+ * }
435
483
  * },
436
484
  * "web": {
437
485
  * "uniVer": "√",
@@ -445,11 +493,13 @@ export interface Uni {
445
493
  /**
446
494
  * uni.removeStorageSync函数定义
447
495
  * 从本地存储中同步移除指定 key。
448
- *
496
+ *
449
497
  * @param {string} key 本地存储中的指定的 key
450
- *
451
- * @tutorial https://uniapp.dcloud.net.cn/api/storage/storage.html#removestoragesync
452
- *
498
+ *
499
+ * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/storage/storage.html#removestoragesync
500
+ * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#removestoragesync
501
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#removestoragesync
502
+ *
453
503
  * @uniPlatform {
454
504
  * "app": {
455
505
  * "android": {
@@ -461,7 +511,12 @@ export interface Uni {
461
511
  * "osVer": "12.0",
462
512
  * "uniVer": "2.0.3",
463
513
  * "unixVer": "4.11"
464
- * }
514
+ * },
515
+ * "harmony": {
516
+ * "osVer": "3.0",
517
+ * "uniVer": "4.23",
518
+ * "unixVer": "x"
519
+ * }
465
520
  * },
466
521
  * "web": {
467
522
  * "uniVer": "√",
@@ -475,9 +530,11 @@ export interface Uni {
475
530
  /**
476
531
  * uni.clearStorage函数定义
477
532
  * 清除本地数据存储。
478
- *
479
- * @tutorial https://uniapp.dcloud.net.cn/api/storage/storage.html#clearstorage
480
- *
533
+ *
534
+ * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/storage/storage.html#clearstorage
535
+ * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#clearstorage
536
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#clearstorage
537
+ *
481
538
  * @uniPlatform {
482
539
  * "app": {
483
540
  * "android": {
@@ -489,7 +546,12 @@ export interface Uni {
489
546
  * "osVer": "12.0",
490
547
  * "uniVer": "2.0.3",
491
548
  * "unixVer": "4.11"
492
- * }
549
+ * },
550
+ * "harmony": {
551
+ * "osVer": "3.0",
552
+ * "uniVer": "4.23",
553
+ * "unixVer": "x"
554
+ * }
493
555
  * },
494
556
  * "web": {
495
557
  * "uniVer": "√",
@@ -503,9 +565,11 @@ export interface Uni {
503
565
  /**
504
566
  * uni.clearStorageSync函数定义
505
567
  * 清除本地数据存储。
506
- *
507
- * @tutorial https://uniapp.dcloud.net.cn/api/storage/storage.html#clearstoragesync
508
- *
568
+ *
569
+ * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/storage/storage.html#clearstoragesync
570
+ * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#clearstoragesync
571
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#clearstoragesync
572
+ *
509
573
  * @uniPlatform {
510
574
  * "app": {
511
575
  * "android": {
@@ -517,7 +581,12 @@ export interface Uni {
517
581
  * "osVer": "12.0",
518
582
  * "uniVer": "2.0.3",
519
583
  * "unixVer": "4.11"
520
- * }
584
+ * },
585
+ * "harmony": {
586
+ * "osVer": "3.0",
587
+ * "uniVer": "4.23",
588
+ * "unixVer": "x"
589
+ * }
521
590
  * },
522
591
  * "web": {
523
592
  * "uniVer": "√",
@@ -62,6 +62,14 @@ import {
62
62
  HideTabBarRedDotCompleteCallback as HideTabBarRedDotCompleteCallbackOrigin,
63
63
  HideTabBarRedDotOptions as HideTabBarRedDotOptionsOrigin,
64
64
  OnTabBarMidButtonTapCallback as OnTabBarMidButtonTapCallbackOrigin,
65
+ SetTabBarBadge as SetTabBarBadgeOrigin,
66
+ RemoveTabBarBadge as RemoveTabBarBadgeOrigin,
67
+ SetTabBarItem as SetTabBarItemOrigin,
68
+ SetTabBarStyle as SetTabBarStyleOrigin,
69
+ ShowTabBar as ShowTabBarOrigin,
70
+ HideTabBar as HideTabBarOrigin,
71
+ ShowTabBarRedDot as ShowTabBarRedDotOrigin,
72
+ HideTabBarRedDot as HideTabBarRedDotOrigin,
65
73
  Uni as UniOrigin
66
74
  } from './interface'
67
75
 
@@ -128,5 +136,13 @@ declare global {
128
136
  type HideTabBarRedDotCompleteCallback = HideTabBarRedDotCompleteCallbackOrigin
129
137
  type HideTabBarRedDotOptions = HideTabBarRedDotOptionsOrigin
130
138
  type OnTabBarMidButtonTapCallback = OnTabBarMidButtonTapCallbackOrigin
139
+ type SetTabBarBadge = SetTabBarBadgeOrigin
140
+ type RemoveTabBarBadge = RemoveTabBarBadgeOrigin
141
+ type SetTabBarItem = SetTabBarItemOrigin
142
+ type SetTabBarStyle = SetTabBarStyleOrigin
143
+ type ShowTabBar = ShowTabBarOrigin
144
+ type HideTabBar = HideTabBarOrigin
145
+ type ShowTabBarRedDot = ShowTabBarRedDotOrigin
146
+ type HideTabBarRedDot = HideTabBarRedDotOrigin
131
147
  interface Uni extends UniOrigin { }
132
148
  }
@@ -62,4 +62,12 @@ export {
62
62
  HideTabBarRedDotCompleteCallback,
63
63
  HideTabBarRedDotOptions,
64
64
  OnTabBarMidButtonTapCallback,
65
+ SetTabBarBadge,
66
+ RemoveTabBarBadge,
67
+ SetTabBarItem,
68
+ SetTabBarStyle,
69
+ ShowTabBar,
70
+ HideTabBar,
71
+ ShowTabBarRedDot,
72
+ HideTabBarRedDot,
65
73
  } from './interface'
@@ -235,10 +235,38 @@ export type SetTabBarStyleOptions = {
235
235
  * - no-repeat: 背景图片在垂直方向和水平方向都拉伸
236
236
  */
237
237
  backgroundRepeat?: 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat'
238
+ /**
239
+ * tabbar上边框的颜色(优先级高于 borderStyle)
240
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#settabbarstyle
241
+ * @uniPlatform {
242
+ * "app": {
243
+ * "android": {
244
+ * "osVer": "5.0",
245
+ * "uniVer": "x",
246
+ * "unixVer": "x"
247
+ * },
248
+ * "ios": {
249
+ * "osVer": "12.0",
250
+ * "uniVer": "x",
251
+ * "unixVer": "4.23"
252
+ * },
253
+ * "harmony": {
254
+ * "osVer": "3.0",
255
+ * "uniVer": "4.23",
256
+ * "unixVer": "x"
257
+ * }
258
+ * },
259
+ * "web": {
260
+ * "uniVer": "x",
261
+ * "unixVer": "4.23"
262
+ * }
263
+ * }
264
+ */
265
+ borderColor?: string | string.ColorString
238
266
  /**
239
267
  * tabbar上边框的颜色
240
268
  */
241
- borderStyle?: string
269
+ borderStyle?: 'black' | 'white'
242
270
  /**
243
271
  * tabbar 中间按钮 仅在 list 项为偶数时有效
244
272
  * @internal
@@ -372,10 +400,22 @@ export type HideTabBarRedDotOptions = {
372
400
 
373
401
  export type OnTabBarMidButtonTapCallback = () => void
374
402
 
403
+
404
+ export type SetTabBarBadge = (options: SetTabBarBadgeOptions) => void
405
+ export type RemoveTabBarBadge = (options: RemoveTabBarBadgeOptions) => void
406
+ export type SetTabBarItem = (options: SetTabBarItemOptions) => void
407
+ export type SetTabBarStyle = (options: SetTabBarStyleOptions) => void
408
+ export type ShowTabBar = (options?: ShowTabBarOptions | null) => void
409
+ export type HideTabBar = (options?: HideTabBarOptions | null) => void
410
+ export type ShowTabBarRedDot = (options: ShowTabBarRedDotOptions) => void
411
+ export type HideTabBarRedDot = (options: HideTabBarRedDotOptions) => void
412
+
375
413
  export interface Uni {
376
414
  /**
377
415
  * 为 tabBar 某一项的右上角添加文本
378
416
  *
417
+ * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/ui/tabbar.html#settabbarbadge
418
+ * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#settabbarbadge
379
419
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#settabbarbadge
380
420
  * @uniPlatform {
381
421
  * "app": {
@@ -388,6 +428,11 @@ export interface Uni {
388
428
  * "osVer": "12.0",
389
429
  * "uniVer": "√",
390
430
  * "unixVer": "4.11"
431
+ * },
432
+ * "harmony": {
433
+ * "osVer": "3.0",
434
+ * "uniVer": "4.23",
435
+ * "unixVer": "x"
391
436
  * }
392
437
  * },
393
438
  * "mp": {
@@ -444,6 +489,8 @@ export interface Uni {
444
489
  /**
445
490
  * 移除 tabBar 某一项右上角的文本
446
491
  *
492
+ * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/ui/tabbar.html#removetabbarbadge
493
+ * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#removetabbarbadge
447
494
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#removetabbarbadge
448
495
  * @uniPlatform {
449
496
  * "app": {
@@ -456,6 +503,11 @@ export interface Uni {
456
503
  * "osVer": "12.0",
457
504
  * "uniVer": "√",
458
505
  * "unixVer": "4.11"
506
+ * },
507
+ * "harmony": {
508
+ * "osVer": "3.0",
509
+ * "uniVer": "4.23",
510
+ * "unixVer": "x"
459
511
  * }
460
512
  * },
461
513
  * "mp": {
@@ -512,6 +564,8 @@ export interface Uni {
512
564
  /**
513
565
  * 动态设置 tabBar 某一项的内容
514
566
  *
567
+ * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/ui/tabbar.html#settabbaritem
568
+ * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#settabbaritem
515
569
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#settabbaritem
516
570
  * @uniPlatform {
517
571
  * "app": {
@@ -524,6 +578,11 @@ export interface Uni {
524
578
  * "osVer": "12.0",
525
579
  * "uniVer": "√",
526
580
  * "unixVer": "4.11"
581
+ * },
582
+ * "harmony": {
583
+ * "osVer": "3.0",
584
+ * "uniVer": "4.23",
585
+ * "unixVer": "x"
527
586
  * }
528
587
  * },
529
588
  * "mp": {
@@ -580,6 +639,8 @@ export interface Uni {
580
639
  /**
581
640
  * 动态设置 tabBar 的整体样式
582
641
  *
642
+ * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/ui/tabbar.html#settabbarstyle
643
+ * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#settabbarstyle
583
644
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#settabbarstyle
584
645
  * @uniPlatform {
585
646
  * "app": {
@@ -592,6 +653,11 @@ export interface Uni {
592
653
  * "osVer": "12.0",
593
654
  * "uniVer": "√",
594
655
  * "unixVer": "4.11"
656
+ * },
657
+ * "harmony": {
658
+ * "osVer": "3.0",
659
+ * "uniVer": "4.23",
660
+ * "unixVer": "x"
595
661
  * }
596
662
  * },
597
663
  * "mp": {
@@ -648,6 +714,8 @@ export interface Uni {
648
714
  /**
649
715
  * 隐藏 tabBar
650
716
  *
717
+ * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/ui/tabbar.html#hidetabbar
718
+ * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#hidetabbar
651
719
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#hidetabbar
652
720
  * @uniPlatform {
653
721
  * "app": {
@@ -660,6 +728,11 @@ export interface Uni {
660
728
  * "osVer": "12.0",
661
729
  * "uniVer": "√",
662
730
  * "unixVer": "4.11"
731
+ * },
732
+ * "harmony": {
733
+ * "osVer": "3.0",
734
+ * "uniVer": "4.23",
735
+ * "unixVer": "x"
663
736
  * }
664
737
  * },
665
738
  * "mp": {
@@ -716,6 +789,8 @@ export interface Uni {
716
789
  /**
717
790
  * 显示 tabBar
718
791
  *
792
+ * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/ui/tabbar.html#showtabbar
793
+ * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#showtabbar
719
794
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#showtabbar
720
795
  * @uniPlatform {
721
796
  * "app": {
@@ -728,6 +803,11 @@ export interface Uni {
728
803
  * "osVer": "12.0",
729
804
  * "uniVer": "√",
730
805
  * "unixVer": "4.11"
806
+ * },
807
+ * "harmony": {
808
+ * "osVer": "3.0",
809
+ * "uniVer": "4.23",
810
+ * "unixVer": "x"
731
811
  * }
732
812
  * },
733
813
  * "mp": {
@@ -784,6 +864,8 @@ export interface Uni {
784
864
  /**
785
865
  * 显示 tabBar 某一项的右上角的红点
786
866
  *
867
+ * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/ui/tabbar.html#showtabbarreddot
868
+ * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#showtabbarreddot
787
869
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#showtabbarreddot
788
870
  * @uniPlatform {
789
871
  * "app": {
@@ -796,6 +878,11 @@ export interface Uni {
796
878
  * "osVer": "12.0",
797
879
  * "uniVer": "√",
798
880
  * "unixVer": "4.11"
881
+ * },
882
+ * "harmony": {
883
+ * "osVer": "3.0",
884
+ * "uniVer": "4.23",
885
+ * "unixVer": "x"
799
886
  * }
800
887
  * },
801
888
  * "mp": {
@@ -852,6 +939,8 @@ export interface Uni {
852
939
  /**
853
940
  * 隐藏 tabBar 某一项的右上角的红点
854
941
  *
942
+ * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/ui/tabbar.html#hidetabbarreddot
943
+ * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#hidetabbarreddot
855
944
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#hidetabbarreddot
856
945
  * @uniPlatform {
857
946
  * "app": {
@@ -864,6 +953,11 @@ export interface Uni {
864
953
  * "osVer": "12.0",
865
954
  * "uniVer": "√",
866
955
  * "unixVer": "4.11"
956
+ * },
957
+ * "harmony": {
958
+ * "osVer": "3.0",
959
+ * "uniVer": "4.23",
960
+ * "unixVer": "x"
867
961
  * }
868
962
  * },
869
963
  * "mp": {
@@ -917,10 +1011,76 @@ export interface Uni {
917
1011
  hideTabBarRedDot(
918
1012
  options: HideTabBarRedDotOptions,
919
1013
  ): Promise<HideTabBarRedDotSuccess> | null
920
- // /**
921
- // * 监听中间按钮的点击事件
922
- // *
923
- // * @tutorial https://doc.dcloud.net.cn/uni-app-x/tabbar?id=ontabbarmidbuttontap
924
- // */
925
- // onTabBarMidButtonTap(options: OnTabBarMidButtonTapCallback): void
1014
+ /**
1015
+ * 监听中间按钮的点击事件
1016
+ * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/ui/tabbar.html#ontabbarmidbuttontap
1017
+ * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/on-tab-bar-mid-button-tap.html
1018
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/on-tab-bar-mid-button-tap.html
1019
+ * @uniPlatform {
1020
+ * "app": {
1021
+ * "android": {
1022
+ * "osVer": "5.0",
1023
+ * "uniVer": "√",
1024
+ * "unixVer": "x"
1025
+ * },
1026
+ * "ios": {
1027
+ * "osVer": "12.0",
1028
+ * "uniVer": "√",
1029
+ * "unixVer": "x"
1030
+ * },
1031
+ * "harmony": {
1032
+ * "osVer": "x",
1033
+ * "uniVer": "x",
1034
+ * "unixVer": "x"
1035
+ * }
1036
+ * },
1037
+ * "mp": {
1038
+ * "weixin": {
1039
+ * "hostVer": "x",
1040
+ * "uniVer": "x",
1041
+ * "unixVer": "x"
1042
+ * },
1043
+ * "alipay": {
1044
+ * "hostVer": "x",
1045
+ * "uniVer": "x",
1046
+ * "unixVer": "x"
1047
+ * },
1048
+ * "baidu": {
1049
+ * "hostVer": "x",
1050
+ * "uniVer": "x",
1051
+ * "unixVer": "x"
1052
+ * },
1053
+ * "toutiao": {
1054
+ * "hostVer": "√",
1055
+ * "uniVer": "√",
1056
+ * "unixVer": "x"
1057
+ * },
1058
+ * "lark": {
1059
+ * "hostVer": "x",
1060
+ * "uniVer": "x",
1061
+ * "unixVer": "x"
1062
+ * },
1063
+ * "qq": {
1064
+ * "hostVer": "√",
1065
+ * "uniVer": "√",
1066
+ * "unixVer": "x"
1067
+ * },
1068
+ * "kuaishou": {
1069
+ * "hostVer": "x",
1070
+ * "uniVer": "x",
1071
+ * "unixVer": "x"
1072
+ * },
1073
+ * "jd": {
1074
+ * "hostVer": "x",
1075
+ * "uniVer": "x",
1076
+ * "unixVer": "x"
1077
+ * }
1078
+ * },
1079
+ * "web": {
1080
+ * "uniVer": "√",
1081
+ * "unixVer": "4.0"
1082
+ * }
1083
+ * }
1084
+ */
1085
+ onTabBarMidButtonTap(options: OnTabBarMidButtonTapCallback): void
926
1086
  }
@@ -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
+ }