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

fxy060608's avatar
fxy060608 已提交
5 6
export * from './service/context/createVideoContext'

fxy060608's avatar
fxy060608 已提交
7
export * from './service/ui/createIntersectionObserver'
fxy060608's avatar
fxy060608 已提交
8
export * from './service/ui/createSelectorQuery'
fxy060608's avatar
fxy060608 已提交
9
export * from './service/ui/tabBar'
fxy060608's avatar
fxy060608 已提交
10

fxy060608's avatar
fxy060608 已提交
11
// protocols
fxy060608's avatar
fxy060608 已提交
12
export * from './protocols/base/canIUse'
fxy060608's avatar
fxy060608 已提交
13

14 15
export * from './protocols/context/context'

fxy060608's avatar
fxy060608 已提交
16 17
export * from './protocols/device/makePhoneCall'
export * from './protocols/device/setClipboardData'
Q
qiang 已提交
18
export * from './protocols/device/accelerometer'
Q
qiang 已提交
19
export * from './protocols/device/compass'
D
DCloud_LXH 已提交
20
export * from './protocols/device/vibrate'
fxy060608's avatar
fxy060608 已提交
21

Q
qiang 已提交
22 23
export * from './protocols/storage/storage'

Q
qiang 已提交
24
export * from './protocols/file/getFileInfo'
fxy060608's avatar
fxy060608 已提交
25 26
export * from './protocols/file/openDocument'

27 28
export * from './protocols/keyboard/keyboard'

fxy060608's avatar
fxy060608 已提交
29 30 31 32
export * from './protocols/location/chooseLocation'
export * from './protocols/location/getLocation'
export * from './protocols/location/openLocation'

fxy060608's avatar
fxy060608 已提交
33 34
export * from './protocols/media/chooseImage'
export * from './protocols/media/chooseVideo'
D
DCloud_LXH 已提交
35
export * from './protocols/media/chooseFile'
fxy060608's avatar
fxy060608 已提交
36
export * from './protocols/media/getImageInfo'
Q
qiang 已提交
37
export * from './protocols/media/getVideoInfo'
fxy060608's avatar
fxy060608 已提交
38 39

export * from './protocols/network/request'
Q
qiang 已提交
40
export * from './protocols/network/downloadFile'
Q
qiang 已提交
41
export * from './protocols/network/uploadFile'
Q
qiang 已提交
42
export * from './protocols/network/socket'
fxy060608's avatar
fxy060608 已提交
43

Q
qiang 已提交
44 45
export * from './protocols/location/getLocation'

fxy060608's avatar
fxy060608 已提交
46
export * from './protocols/route/route'
fxy060608's avatar
fxy060608 已提交
47

fxy060608's avatar
fxy060608 已提交
48 49
export * from './protocols/ui/hideLoading'
export * from './protocols/ui/hideToast'
fxy060608's avatar
fxy060608 已提交
50
export * from './protocols/ui/loadFontFace'
51
export * from './protocols/ui/navigationBar'
fxy060608's avatar
fxy060608 已提交
52 53 54 55 56
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'
57 58
export * from './protocols/ui/startPullDownRefresh'
export * from './protocols/ui/stopPullDownRefresh'
fxy060608's avatar
fxy060608 已提交
59
export * from './protocols/ui/tabBar'
fxy060608's avatar
fxy060608 已提交
60
// helpers
fxy060608's avatar
fxy060608 已提交
61
export {
fxy060608's avatar
fxy060608 已提交
62
  defineOnApi,
fxy060608's avatar
fxy060608 已提交
63
  defineOffApi,
fxy060608's avatar
fxy060608 已提交
64 65 66
  defineTaskApi,
  defineSyncApi,
  defineAsyncApi,
fxy060608's avatar
fxy060608 已提交
67
} from './helpers/api'
fxy060608's avatar
fxy060608 已提交
68 69 70

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