index.ts 3.1 KB
Newer Older
fxy060608's avatar
fxy060608 已提交
1 2 3
export * from './service/base/base64'
export * from './service/base/upx2px'
export * from './service/base/interceptor'
4
export * from './service/base/eventBus'
fxy060608's avatar
fxy060608 已提交
5

fxy060608's avatar
fxy060608 已提交
6
export * from './service/context/createVideoContext'
Q
qiang 已提交
7
export * from './service/context/createMapContext'
8
export * from './service/context/canvas'
9
export * from './service/context/innerAudio'
fxy060608's avatar
fxy060608 已提交
10

fxy060608's avatar
fxy060608 已提交
11
export * from './service/ui/createIntersectionObserver'
inkwalk's avatar
inkwalk 已提交
12
export * from './service/ui/createMediaQueryObserver'
fxy060608's avatar
fxy060608 已提交
13
export * from './service/ui/createSelectorQuery'
D
DCloud_LXH 已提交
14
export * from './service/ui/createAnimation'
fxy060608's avatar
fxy060608 已提交
15
export * from './service/ui/tabBar'
fxy060608's avatar
fxy060608 已提交
16

D
DCloud_LXH 已提交
17 18
export * from './service/keyboard/getSelectedTextRange'

fxy060608's avatar
fxy060608 已提交
19
// protocols
fxy060608's avatar
fxy060608 已提交
20
export * from './protocols/base/canIUse'
fxy060608's avatar
fxy060608 已提交
21

22
export * from './protocols/context/context'
23
export * from './protocols/context/canvas'
24

fxy060608's avatar
fxy060608 已提交
25 26
export * from './protocols/device/makePhoneCall'
export * from './protocols/device/setClipboardData'
Q
qiang 已提交
27
export * from './protocols/device/accelerometer'
Q
qiang 已提交
28
export * from './protocols/device/compass'
D
DCloud_LXH 已提交
29
export * from './protocols/device/vibrate'
Q
qiang 已提交
30
export * from './protocols/device/bluetooth'
fxy060608's avatar
fxy060608 已提交
31

Q
qiang 已提交
32 33
export * from './protocols/storage/storage'

Q
qiang 已提交
34
export * from './protocols/file/getFileInfo'
fxy060608's avatar
fxy060608 已提交
35 36
export * from './protocols/file/openDocument'

37
export * from './protocols/keyboard/keyboard'
D
DCloud_LXH 已提交
38
export * from './protocols/keyboard/getSelectedTextRange'
39

fxy060608's avatar
fxy060608 已提交
40 41 42 43
export * from './protocols/location/chooseLocation'
export * from './protocols/location/getLocation'
export * from './protocols/location/openLocation'

fxy060608's avatar
fxy060608 已提交
44 45
export * from './protocols/media/chooseImage'
export * from './protocols/media/chooseVideo'
D
DCloud_LXH 已提交
46
export * from './protocols/media/chooseFile'
fxy060608's avatar
fxy060608 已提交
47
export * from './protocols/media/getImageInfo'
Q
qiang 已提交
48
export * from './protocols/media/previewImage'
Q
qiang 已提交
49
export * from './protocols/media/getVideoInfo'
fxy060608's avatar
fxy060608 已提交
50 51
export * from './protocols/media/saveImageToPhotosAlbum'
export * from './protocols/media/saveVideoToPhotosAlbum'
fxy060608's avatar
fxy060608 已提交
52 53

export * from './protocols/network/request'
Q
qiang 已提交
54
export * from './protocols/network/downloadFile'
Q
qiang 已提交
55
export * from './protocols/network/uploadFile'
Q
qiang 已提交
56
export * from './protocols/network/socket'
fxy060608's avatar
fxy060608 已提交
57

Q
qiang 已提交
58 59
export * from './protocols/location/getLocation'

fxy060608's avatar
fxy060608 已提交
60
export * from './protocols/route/route'
fxy060608's avatar
fxy060608 已提交
61

fxy060608's avatar
fxy060608 已提交
62 63
export * from './protocols/ui/hideLoading'
export * from './protocols/ui/hideToast'
fxy060608's avatar
fxy060608 已提交
64
export * from './protocols/ui/loadFontFace'
65
export * from './protocols/ui/navigationBar'
fxy060608's avatar
fxy060608 已提交
66 67 68 69 70
export * from './protocols/ui/pageScrollTo'
export * from './protocols/ui/showActionSheet'
export * from './protocols/ui/showLoading'
export * from './protocols/ui/showModal'
export * from './protocols/ui/showToast'
71 72
export * from './protocols/ui/startPullDownRefresh'
export * from './protocols/ui/stopPullDownRefresh'
fxy060608's avatar
fxy060608 已提交
73
export * from './protocols/ui/tabBar'
74
export * from './protocols/ui/window'
fxy060608's avatar
fxy060608 已提交
75
// helpers
fxy060608's avatar
fxy060608 已提交
76
export {
fxy060608's avatar
fxy060608 已提交
77
  defineOnApi,
fxy060608's avatar
fxy060608 已提交
78
  defineOffApi,
fxy060608's avatar
fxy060608 已提交
79 80 81
  defineTaskApi,
  defineSyncApi,
  defineAsyncApi,
fxy060608's avatar
fxy060608 已提交
82 83 84 85 86
  createUnsupportedOnApi,
  createUnsupportedOffApi,
  createUnsupportedTaskApi,
  createUnsupportedSyncApi,
  createUnsupportedAsyncApi,
fxy060608's avatar
fxy060608 已提交
87
} from './helpers/api'
fxy060608's avatar
fxy060608 已提交
88 89 90

export { handlePromise } from './helpers/api/promise'
export { invokeApi, wrapperReturnValue } from './helpers/interceptor'
fxy060608's avatar
fxy060608 已提交
91
export { requestComponentObserver } from './helpers/requestComponentObserver'