@mpxjs/api-proxy 2.9.11-test.0 → 2.9.13

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 (109) hide show
  1. package/package.json +2 -2
  2. package/src/common/js/ToPromise.js +25 -0
  3. package/src/common/js/index.js +1 -0
  4. package/src/common/js/utils.js +1 -32
  5. package/src/index.js +75 -4
  6. package/src/index.web.js +24 -0
  7. package/src/mini/platform/wxToAli.js +667 -0
  8. package/src/mini/platform/wxToQq.js +20 -0
  9. package/src/mini/platform/wxToTt.js +9 -0
  10. package/src/{common/js → mini}/promisify.js +3 -4
  11. package/src/mini/transform.js +71 -0
  12. package/src/{platform → web}/api/action-sheet/ActionSheet.js +6 -6
  13. package/src/web/api/index.js +68 -0
  14. package/src/{platform → web}/api/modal/Modal.js +7 -2
  15. package/src/{platform/api/pull-down/index.web.js → web/api/pull-down/index.js} +22 -14
  16. package/src/{platform/api/request/index.web.js → web/api/request/index.js} +5 -2
  17. package/src/{platform/api/route/index.web.js → web/api/route/index.js} +80 -59
  18. package/src/{platform/api/set-navigation-bar/index.web.js → web/api/set-navigation-bar/index.js} +1 -0
  19. package/src/{platform → web}/api/socket/SocketTask.js +1 -1
  20. package/src/{platform/api/storage/index.web.js → web/api/storage/index.js} +10 -0
  21. package/src/{platform/api/system/index.web.js → web/api/system/index.js} +1 -0
  22. package/src/{platform/api/tab-bar/index.web.js → web/api/tab-bar/index.js} +8 -0
  23. package/src/{platform → web}/api/toast/Toast.js +3 -1
  24. package/src/install.js +0 -62
  25. package/src/platform/api/action-sheet/index.ali.js +0 -28
  26. package/src/platform/api/action-sheet/index.js +0 -9
  27. package/src/platform/api/add-phone-contact/index.ali.js +0 -13
  28. package/src/platform/api/add-phone-contact/index.js +0 -9
  29. package/src/platform/api/animation/index.js +0 -9
  30. package/src/platform/api/app/index.js +0 -24
  31. package/src/platform/api/audio/index.js +0 -9
  32. package/src/platform/api/base/index.js +0 -12
  33. package/src/platform/api/ble-connection/index.ali.js +0 -17
  34. package/src/platform/api/ble-connection/index.js +0 -15
  35. package/src/platform/api/canvas/index.ali.js +0 -16
  36. package/src/platform/api/canvas/index.js +0 -15
  37. package/src/platform/api/check-session/index.js +0 -9
  38. package/src/platform/api/clipboard-data/index.ali.js +0 -30
  39. package/src/platform/api/clipboard-data/index.js +0 -12
  40. package/src/platform/api/create-intersection-observer/index.ali.js +0 -7
  41. package/src/platform/api/create-intersection-observer/index.js +0 -9
  42. package/src/platform/api/create-selector-query/index.ali.js +0 -35
  43. package/src/platform/api/create-selector-query/index.js +0 -9
  44. package/src/platform/api/device/network/index.js +0 -15
  45. package/src/platform/api/file/index.ali.js +0 -35
  46. package/src/platform/api/file/index.js +0 -12
  47. package/src/platform/api/get-user-info/index.ali.js +0 -18
  48. package/src/platform/api/get-user-info/index.js +0 -9
  49. package/src/platform/api/image/index.ali.js +0 -36
  50. package/src/platform/api/image/index.js +0 -12
  51. package/src/platform/api/login/index.ali.js +0 -15
  52. package/src/platform/api/login/index.js +0 -9
  53. package/src/platform/api/make-phone-call/index.ali.js +0 -12
  54. package/src/platform/api/make-phone-call/index.js +0 -9
  55. package/src/platform/api/modal/index.ali.js +0 -32
  56. package/src/platform/api/modal/index.js +0 -9
  57. package/src/platform/api/next-tick/index.ali.js +0 -7
  58. package/src/platform/api/next-tick/index.js +0 -9
  59. package/src/platform/api/next-tick/index.tt.js +0 -7
  60. package/src/platform/api/page-scroll-to/index.js +0 -9
  61. package/src/platform/api/pull-down/index.js +0 -12
  62. package/src/platform/api/request/index.ali.js +0 -26
  63. package/src/platform/api/request/index.js +0 -9
  64. package/src/platform/api/request-payment/index.ali.js +0 -45
  65. package/src/platform/api/request-payment/index.js +0 -9
  66. package/src/platform/api/route/index.js +0 -21
  67. package/src/platform/api/scan-code/index.ali.js +0 -17
  68. package/src/platform/api/scan-code/index.js +0 -9
  69. package/src/platform/api/screen-brightness/index.ali.js +0 -26
  70. package/src/platform/api/screen-brightness/index.js +0 -12
  71. package/src/platform/api/set-navigation-bar/index.ali.js +0 -25
  72. package/src/platform/api/set-navigation-bar/index.js +0 -12
  73. package/src/platform/api/socket/index.js +0 -9
  74. package/src/platform/api/storage/index.ali.js +0 -59
  75. package/src/platform/api/storage/index.js +0 -36
  76. package/src/platform/api/system/index.ali.js +0 -38
  77. package/src/platform/api/system/index.js +0 -12
  78. package/src/platform/api/tab-bar/index.js +0 -18
  79. package/src/platform/api/toast/index.ali.js +0 -39
  80. package/src/platform/api/toast/index.js +0 -18
  81. package/src/platform/api/video/index.js +0 -9
  82. package/src/platform/api/window/index.js +0 -12
  83. package/src/platform/index.js +0 -106
  84. /package/src/{platform/api/action-sheet/index.web.js → web/api/action-sheet/index.js} +0 -0
  85. /package/src/{platform → web}/api/animation/animation.js +0 -0
  86. /package/src/{platform/api/animation/index.web.js → web/api/animation/index.js} +0 -0
  87. /package/src/{platform/api/app/index.web.js → web/api/app/index.js} +0 -0
  88. /package/src/{platform/api/audio/index.web.js → web/api/audio/index.js} +0 -0
  89. /package/src/{platform → web}/api/base/base64.js +0 -0
  90. /package/src/{platform/api/base/index.web.js → web/api/base/index.js} +0 -0
  91. /package/src/{platform → web}/api/create-intersection-observer/IntersectionObserver.js +0 -0
  92. /package/src/{platform/api/create-intersection-observer/index.web.js → web/api/create-intersection-observer/index.js} +0 -0
  93. /package/src/{platform → web}/api/create-selector-query/NodesRef.js +0 -0
  94. /package/src/{platform → web}/api/create-selector-query/SelectQuery.js +0 -0
  95. /package/src/{platform/api/create-selector-query/index.web.js → web/api/create-selector-query/index.js} +0 -0
  96. /package/src/{platform → web}/api/device/network/getNetworkType.js +0 -0
  97. /package/src/{platform/api/device/network/index.web.js → web/api/device/network/index.js} +0 -0
  98. /package/src/{platform → web}/api/device/network/onNetworkStatusChange.js +0 -0
  99. /package/src/{platform/api/event-channel/index.web.js → web/api/event-channel/index.js} +0 -0
  100. /package/src/{platform/api/modal/index.web.js → web/api/modal/index.js} +0 -0
  101. /package/src/{platform/api/next-tick/index.web.js → web/api/next-tick/index.js} +0 -0
  102. /package/src/{platform/api/page-scroll-to/index.web.js → web/api/page-scroll-to/index.js} +0 -0
  103. /package/src/{platform/api/image → web/api/preview-image}/Preview.js +0 -0
  104. /package/src/{platform/api/image/index.web.js → web/api/preview-image/index.js} +0 -0
  105. /package/src/{platform → web}/api/request/RequestTask.js +0 -0
  106. /package/src/{platform/api/socket/index.web.js → web/api/socket/index.js} +0 -0
  107. /package/src/{platform/api/toast/index.web.js → web/api/toast/index.js} +0 -0
  108. /package/src/{platform/api/video/index.web.js → web/api/video/index.js} +0 -0
  109. /package/src/{platform/api/window/index.web.js → web/api/window/index.js} +0 -0
@@ -1,45 +0,0 @@
1
- import { changeOpts, error, noop } from '../../../common/js'
2
-
3
- const TIPS_NAME = '支付宝环境 mpx'
4
-
5
- function requestPayment (options = {}) {
6
- if (!options.tradeNO) {
7
- error(`请在支付函数 ${TIPS_NAME}.requestPayment 中添加 tradeNO 参数用于支付宝支付`)
8
- }
9
-
10
- const opts = changeOpts(options, {
11
- timeStamp: '',
12
- nonceStr: '',
13
- package: '',
14
- signType: '',
15
- paySign: ''
16
- })
17
-
18
- const cacheSuc = opts.success || noop
19
- const cacheFail = opts.fail || noop
20
-
21
- // 抹平用微信的 complete
22
- if (typeof opts.complete === 'function') {
23
- const cacheComplete = opts.complete
24
- opts.complete = function (res) {
25
- if (+res.resultCode === 9000) {
26
- res.errMsg = 'requestPayment:ok'
27
- cacheComplete.call(this, res)
28
- }
29
- }
30
- }
31
-
32
- opts.success = function (res) {
33
- if (+res.resultCode === 9000) {
34
- cacheSuc.call(this, res)
35
- } else {
36
- cacheFail.call(this, res)
37
- }
38
- }
39
-
40
- my.tradePay(opts)
41
- }
42
-
43
- export {
44
- requestPayment
45
- }
@@ -1,9 +0,0 @@
1
- import { getEnvObj, envError } from '../../../common/js'
2
-
3
- const ENV_OBJ = getEnvObj()
4
-
5
- const requestPayment = ENV_OBJ.requestPayment || envError('requestPayment')
6
-
7
- export {
8
- requestPayment
9
- }
@@ -1,21 +0,0 @@
1
- import { getEnvObj, envError } from '../../../common/js'
2
-
3
- const ENV_OBJ = getEnvObj()
4
-
5
- const redirectTo = ENV_OBJ.redirectTo || envError('redirectTo')
6
-
7
- const navigateTo = ENV_OBJ.navigateTo || envError('navigateTo')
8
-
9
- const navigateBack = ENV_OBJ.navigateBack || envError('navigateBack')
10
-
11
- const reLaunch = ENV_OBJ.reLaunch || envError('reLaunch')
12
-
13
- const switchTab = ENV_OBJ.switchTab || envError('switchTab')
14
-
15
- export {
16
- redirectTo,
17
- navigateTo,
18
- navigateBack,
19
- reLaunch,
20
- switchTab
21
- }
@@ -1,17 +0,0 @@
1
- import { changeOpts, handleSuccess } from '../../../common/js'
2
-
3
- function scanCode (options = {}) {
4
- const opts = changeOpts(options, {
5
- onlyFromCamera: 'hideAlbum'
6
- })
7
-
8
- handleSuccess(opts, res => {
9
- return changeOpts(res, { code: 'result' })
10
- })
11
-
12
- my.scan(opts)
13
- }
14
-
15
- export {
16
- scanCode
17
- }
@@ -1,9 +0,0 @@
1
- import { getEnvObj, envError } from '../../../common/js'
2
-
3
- const ENV_OBJ = getEnvObj()
4
-
5
- const scanCode = ENV_OBJ.scanCode || envError('scanCode')
6
-
7
- export {
8
- scanCode
9
- }
@@ -1,26 +0,0 @@
1
- import { changeOpts, handleSuccess } from '../../../common/js'
2
-
3
- function setScreenBrightness (options = {}) {
4
- const opts = changeOpts(options, {
5
- value: 'brightness'
6
- })
7
- handleSuccess(opts, res => {
8
- return changeOpts(res, {}, { errMsg: 'setScreenBrightness:ok' })
9
- })
10
- my.setScreenBrightness(opts)
11
- }
12
-
13
- function getScreenBrightness (options = {}) {
14
- const opts = changeOpts(options)
15
-
16
- handleSuccess(opts, res => {
17
- return changeOpts(res, { brightness: 'value' }, { errMsg: 'getScreenBrightness:ok' })
18
- })
19
-
20
- my.getScreenBrightness(opts)
21
- }
22
-
23
- export {
24
- setScreenBrightness,
25
- getScreenBrightness
26
- }
@@ -1,12 +0,0 @@
1
- import { getEnvObj, envError } from '../../../common/js'
2
-
3
- const ENV_OBJ = getEnvObj()
4
-
5
- const setScreenBrightness = ENV_OBJ.setScreenBrightness || envError('setScreenBrightness')
6
-
7
- const getScreenBrightness = ENV_OBJ.getScreenBrightness || envError('getScreenBrightness')
8
-
9
- export {
10
- setScreenBrightness,
11
- getScreenBrightness
12
- }
@@ -1,25 +0,0 @@
1
- import { changeOpts, handleSuccess } from '../../../common/js'
2
-
3
- function setNavigationBarTitle (options = {}) {
4
- handleSuccess(options, res => {
5
- return changeOpts(res, {}, { errMsg: 'setScreenBrightness:ok' })
6
- })
7
- if (my.canIUse('setNavigationBarTitle')) {
8
- my.setNavigationBarTitle(options)
9
- return
10
- }
11
- my.setNavigationBar(options)
12
- }
13
-
14
- function setNavigationBarColor (options = {}) {
15
- if (my.canIUse('setNavigationBarColor')) {
16
- my.setNavigationBarColor(options)
17
- return
18
- }
19
- my.setNavigationBar(options)
20
- }
21
-
22
- export {
23
- setNavigationBarTitle,
24
- setNavigationBarColor
25
- }
@@ -1,12 +0,0 @@
1
- import { getEnvObj, envError } from '../../../common/js'
2
-
3
- const ENV_OBJ = getEnvObj()
4
-
5
- const setNavigationBarTitle = ENV_OBJ.setNavigationBarTitle || envError('setNavigationBarTitle')
6
-
7
- const setNavigationBarColor = ENV_OBJ.setNavigationBarColor || envError('setNavigationBarColor')
8
-
9
- export {
10
- setNavigationBarTitle,
11
- setNavigationBarColor
12
- }
@@ -1,9 +0,0 @@
1
- import { getEnvObj, envError } from '../../../common/js'
2
-
3
- const ENV_OBJ = getEnvObj()
4
-
5
- const connectSocket = ENV_OBJ.connectSocket || envError('connectSocket')
6
-
7
- export {
8
- connectSocket
9
- }
@@ -1,59 +0,0 @@
1
- function setStorage (options) {
2
- my.setStorage(options)
3
- }
4
-
5
- function setStorageSync (key, data) {
6
- my.setStorageSync({
7
- key,
8
- data
9
- })
10
- }
11
-
12
- function getStorage (options) {
13
- my.getStorage(options)
14
- }
15
-
16
- function getStorageSync (key) {
17
- return my.getStorageSync({
18
- key
19
- }).data
20
- }
21
-
22
- function getStorageInfo (options) {
23
- return my.getStorageInfo(options)
24
- }
25
-
26
- function getStorageInfoSync () {
27
- return my.getStorageInfoSync()
28
- }
29
-
30
- function removeStorage (options) {
31
- return my.removeStorage(options)
32
- }
33
-
34
- function removeStorageSync (key) {
35
- my.removeStorageSync({
36
- key
37
- })
38
- }
39
-
40
- function clearStorage (options) {
41
- my.clearStorage(options)
42
- }
43
-
44
- function clearStorageSync (options) {
45
- my.clearStorageSync(options)
46
- }
47
-
48
- export {
49
- setStorage,
50
- setStorageSync,
51
- getStorage,
52
- getStorageSync,
53
- getStorageInfo,
54
- getStorageInfoSync,
55
- removeStorage,
56
- removeStorageSync,
57
- clearStorage,
58
- clearStorageSync
59
- }
@@ -1,36 +0,0 @@
1
- import { getEnvObj, envError } from '../../../common/js'
2
-
3
- const ENV_OBJ = getEnvObj()
4
-
5
- const setStorage = ENV_OBJ.setStorage || envError('setStorage')
6
-
7
- const setStorageSync = ENV_OBJ.setStorageSync || envError('setStorageSync')
8
-
9
- const getStorage = ENV_OBJ.getStorage || envError('getStorage')
10
-
11
- const getStorageSync = ENV_OBJ.getStorageSync || envError('getStorageSync')
12
-
13
- const getStorageInfo = ENV_OBJ.getStorageInfo || envError('getStorageInfo')
14
-
15
- const getStorageInfoSync = ENV_OBJ.getStorageInfoSync || envError('getStorageInfoSync')
16
-
17
- const removeStorage = ENV_OBJ.removeStorage || envError('removeStorage')
18
-
19
- const removeStorageSync = ENV_OBJ.removeStorageSync || envError('removeStorageSync')
20
-
21
- const clearStorage = ENV_OBJ.clearStorage || envError('clearStorage')
22
-
23
- const clearStorageSync = ENV_OBJ.clearStorageSync || envError('clearStorageSync')
24
-
25
- export {
26
- setStorage,
27
- setStorageSync,
28
- getStorage,
29
- getStorageSync,
30
- getStorageInfo,
31
- getStorageInfoSync,
32
- removeStorage,
33
- removeStorageSync,
34
- clearStorage,
35
- clearStorageSync
36
- }
@@ -1,38 +0,0 @@
1
- import { changeOpts, handleSuccess } from '../../../common/js'
2
-
3
- function getSystemInfo (options = {}) {
4
- const opts = changeOpts(options)
5
-
6
- handleSuccess(opts, res => {
7
- res.system = `${res.platform} ${res.system}`
8
- res.SDKVersion = my.SDKVersion
9
-
10
- // 支付宝 windowHeight 可能为 0
11
- if (!res.windowHeight) {
12
- res.windowHeight = Math.floor(res.screenHeight * res.windowWidth / res.screenWidth) - 50
13
- }
14
-
15
- return res
16
- })
17
-
18
- my.getSystemInfo(opts)
19
- }
20
-
21
- function getSystemInfoSync () {
22
- const res = my.getSystemInfoSync() || {}
23
-
24
- res.system = `${res.platform} ${res.system}`
25
- res.SDKVersion = my.SDKVersion
26
-
27
- // 支付宝 windowHeight 可能为 0
28
- if (!res.windowHeight) {
29
- res.windowHeight = Math.floor(res.screenHeight * res.windowWidth / res.screenWidth) - 50
30
- }
31
-
32
- return res
33
- }
34
-
35
- export {
36
- getSystemInfo,
37
- getSystemInfoSync
38
- }
@@ -1,12 +0,0 @@
1
- import { getEnvObj, envError } from '../../../common/js'
2
-
3
- const ENV_OBJ = getEnvObj()
4
-
5
- const getSystemInfo = ENV_OBJ.getSystemInfo || envError('getSystemInfo')
6
-
7
- const getSystemInfoSync = ENV_OBJ.getSystemInfoSync || envError('getSystemInfoSync')
8
-
9
- export {
10
- getSystemInfo,
11
- getSystemInfoSync
12
- }
@@ -1,18 +0,0 @@
1
- import { getEnvObj, envError } from '../../../common/js'
2
-
3
- const ENV_OBJ = getEnvObj()
4
-
5
- const setTabBarItem = ENV_OBJ.setTabBarItem || envError('setTabBarItem')
6
-
7
- const setTabBarStyle = ENV_OBJ.setTabBarStyle || envError('setTabBarStyle')
8
-
9
- const showTabBar = ENV_OBJ.showTabBar || envError('showTabBar')
10
-
11
- const hideTabBar = ENV_OBJ.hideTabBar || envError('hideTabBar')
12
-
13
- export {
14
- setTabBarItem,
15
- setTabBarStyle,
16
- showTabBar,
17
- hideTabBar
18
- }
@@ -1,39 +0,0 @@
1
- import { changeOpts, warn } from '../../../common/js'
2
-
3
- const TIPS_NAME = '支付宝环境 mpx'
4
-
5
- function showToast (options = {}) {
6
- const opts = changeOpts(options, {
7
- title: 'content',
8
- icon: 'type'
9
- })
10
- my.showToast(opts)
11
- }
12
-
13
- function hideToast (options = {}) {
14
- if (options.success || options.fail || options.complete) {
15
- warn(`${TIPS_NAME}.hideToast 不支持 success/fail/complete 参数`)
16
- }
17
- my.hideToast(options)
18
- }
19
-
20
- function showLoading (options = {}) {
21
- const opts = changeOpts(options, {
22
- title: 'content'
23
- })
24
- my.showLoading(opts)
25
- }
26
-
27
- function hideLoading (options = {}) {
28
- if (options.success || options.fail || options.complete) {
29
- warn(`${TIPS_NAME}.hideLoading 不支持 success/fail/complete 参数`)
30
- }
31
- my.hideLoading(options)
32
- }
33
-
34
- export {
35
- showToast,
36
- hideToast,
37
- showLoading,
38
- hideLoading
39
- }
@@ -1,18 +0,0 @@
1
- import { getEnvObj, envError } from '../../../common/js'
2
-
3
- const ENV_OBJ = getEnvObj()
4
-
5
- const showToast = ENV_OBJ.showToast || envError('showToast')
6
-
7
- const hideToast = ENV_OBJ.hideToast || envError('hideToast')
8
-
9
- const showLoading = ENV_OBJ.showLoading || envError('showLoading')
10
-
11
- const hideLoading = ENV_OBJ.hideLoading || envError('hideLoading')
12
-
13
- export {
14
- showToast,
15
- hideToast,
16
- showLoading,
17
- hideLoading
18
- }
@@ -1,9 +0,0 @@
1
- import { getEnvObj, envError } from '../../../common/js'
2
-
3
- const ENV_OBJ = getEnvObj()
4
-
5
- const createVideoContext = ENV_OBJ.createVideoContext || envError('createVideoContext')
6
-
7
- export {
8
- createVideoContext
9
- }
@@ -1,12 +0,0 @@
1
- import { getEnvObj, envError } from '../../../common/js'
2
-
3
- const ENV_OBJ = getEnvObj()
4
-
5
- const onWindowResize = ENV_OBJ.onWindowResize || envError('onWindowResize')
6
-
7
- const offWindowResize = ENV_OBJ.offWindowResize || envError('offWindowResize')
8
-
9
- export {
10
- onWindowResize,
11
- offWindowResize
12
- }
@@ -1,106 +0,0 @@
1
- // showActionSheet
2
- export * from './api/action-sheet'
3
-
4
- // addPhoneContact
5
- export * from './api/add-phone-contact'
6
-
7
- // createAnimation
8
- export * from './api/animation'
9
-
10
- // onAppShow, onAppHide, offAppShow, offAppHide, onError, offError
11
- export * from './api/app'
12
-
13
- // createInnerAudioContext
14
- export * from './api/audio'
15
-
16
- // base64ToArrayBuffer, arrayBufferToBase64
17
- export * from './api/base'
18
-
19
- // closeBLEConnection, createBLEConnection, onBLEConnectionStateChange
20
- export * from './api/ble-connection'
21
-
22
- // createCanvasContext, canvasToTempFilePath, canvasGetImageData
23
- export * from './api/canvas'
24
-
25
- // checkSession
26
- export * from './api/check-session'
27
-
28
- // setClipboardData, getClipboardData
29
- export * from './api/clipboard-data'
30
-
31
- // createIntersectionObserver
32
- export * from './api/create-intersection-observer'
33
-
34
- // createSelectorQuery
35
- export * from './api/create-selector-query'
36
-
37
- // getNetworkType, onNetworkStatusChange, offNetworkStatusChange
38
- export * from './api/device/network'
39
-
40
- // downloadFile, uploadFile
41
- export * from './api/file'
42
-
43
- // getUserInfo
44
- export * from './api/get-user-info'
45
-
46
- // previewImage, compressImage
47
- export * from './api/image'
48
-
49
- // login
50
- export * from './api/login'
51
-
52
- // makePhoneCall
53
- export * from './api/make-phone-call'
54
-
55
- // showModal
56
- export * from './api/modal'
57
-
58
- // nextTick
59
- export * from './api/next-tick'
60
-
61
- // pageScrollTo
62
- export * from './api/page-scroll-to'
63
-
64
- // stopPullDownRefresh
65
- export * from './api/pull-down'
66
-
67
- // request
68
- export * from './api/request'
69
-
70
- // requestPayment
71
- export * from './api/request-payment'
72
-
73
- // redirectTo, navigateTo, navigateBack, reLaunch, switchTab
74
- export * from './api/route'
75
-
76
- // scanCode
77
- export * from './api/scan-code'
78
-
79
- // setScreenBrightness, getScreenBrightness
80
- export * from './api/screen-brightness'
81
-
82
- // setNavigationBarTitle, setNavigationBarColor
83
- export * from './api/set-navigation-bar'
84
-
85
- // connectSocket
86
- export * from './api/socket'
87
-
88
- // setStorage, setStorageSync, getStorage, getStorageSync
89
- // getStorageInfo, getStorageInfoSync, removeStorage, removeStorageSync
90
- // clearStorage, clearStorageSync
91
- export * from './api/storage'
92
-
93
- // getSystemInfo, getSystemInfoSync
94
- export * from './api/system'
95
-
96
- // setTabBarItem, setTabBarStyle, showTabBar, hideTabBar
97
- export * from './api/tab-bar'
98
-
99
- // showToast, hideToast, showLoading, hideLoading
100
- export * from './api/toast'
101
-
102
- // createVideoContext
103
- export * from './api/video'
104
-
105
- // onWindowResize, offWindowResize
106
- export * from './api/window'
File without changes