1 | import taro from './api/taro.js';
|
2 | export { Behavior, Current, ENV_TYPE, Events, Link, canIUseWebp, eventCenter, getAppInfo, getEnv, initPxTransform, interceptorify, interceptors, options, preload, pxTransform, requirePlugin } from './api/taro.js';
|
3 | import './api/index.js';
|
4 | export { createInterstitialAd, createRewardedVideoAd } from './api/ad/index.js';
|
5 | export { faceDetect, initFaceDetect, stopFaceDetect } from './api/ai/facial.js';
|
6 | export { createInferenceSession, getInferenceEnvInfo } from './api/ai/inference.js';
|
7 | export { createVKSession, isVKSupport } from './api/ai/visual.js';
|
8 | export { getOpenUserInfo, tradePay } from './api/alipay/index.js';
|
9 | export { getUserCryptoManager } from './api/base/crypto.js';
|
10 | export { getLogManager, getRealtimeLogManager, setEnableDebug } from './api/base/debug.js';
|
11 | export { getPerformance, preloadAssets, preloadSkylineView, preloadWebview, reportPerformance } from './api/base/performance.js';
|
12 | export { getAppAuthorizeSetting, getAppBaseInfo, getDeviceInfo, getRendererUserAgent, getSkylineInfo, getSkylineInfoSync, getSystemInfo, getSystemInfoAsync, getSystemInfoSync, getSystemSetting, getWindowInfo, openAppAuthorizeSetting, openSystemBluetoothSetting } from './api/base/system.js';
|
13 | export { getUpdateManager, updateWeChatApp } from './api/base/update.js';
|
14 | export { offAppHide, offAppShow, offAudioInterruptionBegin, offAudioInterruptionEnd, offError, offLazyLoadError, offPageNotFound, offThemeChange, offUnhandledRejection, onAppHide, onAppShow, onAudioInterruptionBegin, onAudioInterruptionEnd, onError, onLazyLoadError, onPageNotFound, onThemeChange, onUnhandledRejection } from './api/base/weapp/app-event.js';
|
15 | export { getEnterOptionsSync, getLaunchOptionsSync } from './api/base/weapp/life-cycle.js';
|
16 | export { arrayBufferToBase64, base64ToArrayBuffer, env } from './api/base/index.js';
|
17 | export { createCanvasContext } from './api/canvas/createCanvasContext.js';
|
18 | export { canvasToTempFilePath } from './api/canvas/canvasToTempFilePath.js';
|
19 | export { canvasPutImageData } from './api/canvas/canvasPutImageData.js';
|
20 | export { canvasGetImageData } from './api/canvas/canvasGetImageData.js';
|
21 | export { createOffscreenCanvas } from './api/canvas/index.js';
|
22 | export { cloud } from './api/cloud/index.js';
|
23 | export { getExptInfoSync, reportAnalytics, reportEvent, reportMonitor } from './api/data-analysis/index.js';
|
24 | export { offAccelerometerChange, onAccelerometerChange, startAccelerometer, stopAccelerometer } from './api/device/accelerometer.js';
|
25 | export { checkIsOpenAccessibility } from './api/device/accessibility.js';
|
26 | export { getBatteryInfo, getBatteryInfoSync } from './api/device/battery.js';
|
27 | export { closeBluetoothAdapter, getBluetoothAdapterState, getBluetoothDevices, getConnectedBluetoothDevices, isBluetoothDevicePaired, makeBluetoothPair, offBluetoothAdapterStateChange, offBluetoothDeviceFound, onBluetoothAdapterStateChange, onBluetoothDeviceFound, openBluetoothAdapter, startBluetoothDevicesDiscovery, stopBluetoothDevicesDiscovery } from './api/device/bluetooth.js';
|
28 | export { closeBLEConnection, createBLEConnection, getBLEDeviceCharacteristics, getBLEDeviceRSSI, getBLEDeviceServices, getBLEMTU, notifyBLECharacteristicValueChange, offBLECharacteristicValueChange, offBLEConnectionStateChange, offBLEMTUChange, onBLECharacteristicValueChange, onBLEConnectionStateChange, onBLEMTUChange, readBLECharacteristicValue, setBLEMTU, writeBLECharacteristicValue } from './api/device/bluetooth-ble.js';
|
29 | export { createBLEPeripheralServer, offBLEPeripheralConnectionStateChanged, onBLEPeripheralConnectionStateChanged } from './api/device/bluetooth-peripheral.js';
|
30 | export { addPhoneCalendar, addPhoneRepeatCalendar } from './api/device/calendar.js';
|
31 | export { getClipboardData, setClipboardData } from './api/device/clipboard.js';
|
32 | export { offCompassChange, onCompassChange, startCompass, stopCompass } from './api/device/compass.js';
|
33 | export { addPhoneContact, chooseContact } from './api/device/contact.js';
|
34 | export { getRandomValues } from './api/device/crypto.js';
|
35 | export { offGyroscopeChange, onGyroscopeChange, startGyroscope, stopGyroscope } from './api/device/gyroscope.js';
|
36 | export { getBeacons, offBeaconServiceChange, offBeaconUpdate, onBeaconServiceChange, onBeaconUpdate, startBeaconDiscovery, stopBeaconDiscovery } from './api/device/iBeacon.js';
|
37 | export { getSelectedTextRange, hideKeyboard, offKeyboardHeightChange, onKeyboardHeightChange } from './api/device/keyboard.js';
|
38 | export { offMemoryWarning, onMemoryWarning } from './api/device/memory.js';
|
39 | export { offDeviceMotionChange, onDeviceMotionChange, startDeviceMotionListening, stopDeviceMotionListening } from './api/device/motion.js';
|
40 | export { getLocalIPAddress, getNetworkType, offNetworkStatusChange, offNetworkWeakChange, onNetworkStatusChange, onNetworkWeakChange } from './api/device/network.js';
|
41 | export { getHCEState, getNFCAdapter, offHCEMessage, onHCEMessage, sendHCEMessage, startHCE, stopHCE } from './api/device/nfc.js';
|
42 | export { makePhoneCall } from './api/device/phone.js';
|
43 | export { scanCode } from './api/device/scan.js';
|
44 | export { getScreenBrightness, getScreenRecordingState, offScreenRecordingStateChanged, offUserCaptureScreen, onScreenRecordingStateChanged, onUserCaptureScreen, setKeepScreenOn, setScreenBrightness, setVisualEffectOnCapture } from './api/device/screen.js';
|
45 | export { sendSms } from './api/device/sms.js';
|
46 | export { vibrateLong, vibrateShort } from './api/device/vibrate.js';
|
47 | export { connectWifi, getConnectedWifi, getWifiList, offGetWifiList, offWifiConnected, offWifiConnectedWithPartialInfo, onGetWifiList, onWifiConnected, onWifiConnectedWithPartialInfo, setWifiList, startWifi, stopWifi } from './api/device/wifi.js';
|
48 | export { getExtConfig, getExtConfigSync } from './api/ext/index.js';
|
49 | export { getFileInfo, getFileSystemManager, getSavedFileInfo, getSavedFileList, openDocument, removeSavedFile, saveFile, saveFileToDisk } from './api/files/index.js';
|
50 | export { getCurrentPages, history, navigateBack, navigateTo, reLaunch, redirectTo, switchTab } from '@tarojs/router';
|
51 | export { getApp, getCurrentInstance } from './api/framework/index.js';
|
52 | export { getLocation } from './api/location/getLocation.js';
|
53 | export { chooseLocation } from './api/location/chooseLocation.js';
|
54 | export { offLocationChange, offLocationChangeError, onLocationChange, onLocationChangeError, startLocationUpdate, stopLocationUpdate } from './api/location/locationChange.js';
|
55 | export { choosePoi, getFuzzyLocation, openLocation, startLocationUpdateBackground } from './api/location/index.js';
|
56 | export { createAudioContext, createInnerAudioContext, createMediaAudioPlayer, createWebAudioContext, getAvailableAudioSources, pauseVoice, playVoice, setInnerAudioOption, stopVoice } from './api/media/audio/index.js';
|
57 | export { getBackgroundAudioManager, getBackgroundAudioPlayerState, onBackgroundAudioPause, onBackgroundAudioPlay, onBackgroundAudioStop, pauseBackgroundAudio, playBackgroundAudio, seekBackgroundAudio, stopBackgroundAudio } from './api/media/background-audio/index.js';
|
58 | export { createCameraContext } from './api/media/camera.js';
|
59 | export { saveImageToPhotosAlbum } from './api/media/image/saveImageToPhotosAlbum.js';
|
60 | export { getImageInfo } from './api/media/image/getImageInfo.js';
|
61 | export { previewImage } from './api/media/image/previewImage.js';
|
62 | export { chooseImage } from './api/media/image/chooseImage.js';
|
63 | export { chooseMessageFile, compressImage, cropImage, editImage, previewMedia } from './api/media/image/index.js';
|
64 | export { createLivePlayerContext, createLivePusherContext } from './api/media/live.js';
|
65 | export { createMapContext } from './api/media/map.js';
|
66 | export { createMediaRecorder } from './api/media/media-recorder.js';
|
67 | export { getRecorderManager, startRecord, stopRecord } from './api/media/recorder.js';
|
68 | export { saveVideoToPhotosAlbum } from './api/media/video/saveVideoToPhotosAlbum.js';
|
69 | export { getVideoInfo } from './api/media/video/getVideoInfo.js';
|
70 | export { chooseMedia } from './api/media/video/chooseMedia.js';
|
71 | export { chooseVideo } from './api/media/video/chooseVideo.js';
|
72 | export { compressVideo, createVideoContext, openVideoEditor } from './api/media/video/index.js';
|
73 | export { createVideoDecoder } from './api/media/video-decoder.js';
|
74 | export { createMediaContainer } from './api/media/video-processing.js';
|
75 | export { exitVoIPChat, join1v1Chat, joinVoIPChat, offVoIPChatInterrupted, offVoIPChatMembersChanged, offVoIPChatSpeakersChanged, offVoIPChatStateChanged, offVoIPVideoMembersChanged, onVoIPChatInterrupted, onVoIPChatMembersChanged, onVoIPChatSpeakersChanged, onVoIPChatStateChanged, onVoIPVideoMembersChanged, setEnable1v1Chat, subscribeVoIPVideoMembers, updateVoIPChatMuteConfig } from './api/media/voip.js';
|
76 | export { exitMiniProgram, navigateBackMiniProgram, navigateToMiniProgram, openBusinessView, openEmbeddedMiniProgram } from './api/navigate/index.js';
|
77 | export { downloadFile } from './api/network/download.js';
|
78 | export { offLocalServiceDiscoveryStop, offLocalServiceFound, offLocalServiceLost, offLocalServiceResolveFail, onLocalServiceDiscoveryStop, onLocalServiceFound, onLocalServiceLost, onLocalServiceResolveFail, startLocalServiceDiscovery, stopLocalServiceDiscovery } from './api/network/mdns.js';
|
79 | export { addInterceptor, cleanInterceptors, request } from './api/network/request/index.js';
|
80 | export { createTCPSocket } from './api/network/tcp.js';
|
81 | export { createUDPSocket } from './api/network/udp.js';
|
82 | export { uploadFile } from './api/network/upload.js';
|
83 | export { closeSocket, connectSocket, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, sendSocketMessage } from './api/network/websocket/index.js';
|
84 | export { SocketTask } from './api/network/websocket/socketTask.js';
|
85 | export { getAccountInfoSync } from './api/open-api/account.js';
|
86 | export { chooseAddress } from './api/open-api/address.js';
|
87 | export { authorize, authorizeForMiniProgram } from './api/open-api/authorize.js';
|
88 | export { addCard, openCard } from './api/open-api/card.js';
|
89 | export { getChannelsLiveInfo, getChannelsLiveNoticeInfo, getChannelsShareKey, openChannelsActivity, openChannelsEvent, openChannelsLive, openChannelsUserProfile, reserveChannelsLive } from './api/open-api/channels-live.js';
|
90 | export { openCustomerServiceChat } from './api/open-api/customer-service.js';
|
91 | export { getDeviceVoIPList, requestDeviceVoIP } from './api/open-api/device-voip.js';
|
92 | export { checkIsSupportFacialRecognition, faceVerifyForPay, startFacialRecognitionVerify, startFacialRecognitionVerifyAndUploadVideo } from './api/open-api/facial.js';
|
93 | export { addFileToFavorites, addVideoToFavorites } from './api/open-api/favorites.js';
|
94 | export { getGroupEnterInfo } from './api/open-api/group.js';
|
95 | export { chooseInvoice, chooseInvoiceTitle } from './api/open-api/invoice.js';
|
96 | export { chooseLicensePlate } from './api/open-api/license-plate.js';
|
97 | export { checkSession, login, pluginLogin } from './api/open-api/login.js';
|
98 | export { checkIsAddedToMyMiniProgram } from './api/open-api/my-miniprogram.js';
|
99 | export { getPrivacySetting, onNeedPrivacyAuthorization, openPrivacyContract, requirePrivacyAuthorize } from './api/open-api/privacy.js';
|
100 | export { showRedPackage } from './api/open-api/red-package.js';
|
101 | export { getSetting, openSetting } from './api/open-api/settings.js';
|
102 | export { checkIsSoterEnrolledInDevice, checkIsSupportSoterAuthentication, startSoterAuthentication } from './api/open-api/soter.js';
|
103 | export { requestSubscribeDeviceMessage, requestSubscribeMessage } from './api/open-api/subscribe-message.js';
|
104 | export { getUserInfo, getUserProfile } from './api/open-api/user-info.js';
|
105 | export { getWeRunData, shareToWeRun } from './api/open-api/werun.js';
|
106 | export { requestOrderPayment, requestPayment, requestPluginPayment } from './api/payment/index.js';
|
107 | export { addRecentColorSign, applyAddToMyApps, getGuildInfo, getQQRunData, isAddedToMyApps, openQzonePublish, setCustomDress, setOfficialDress, updateQQApp } from './api/qq/index.js';
|
108 | export { authPrivateMessage, getShareInfo, hideShareMenu, offCopyUrl, onCopyUrl, shareFileMessage, shareVideoMessage, showShareImageMenu, showShareMenu, updateShareMenu } from './api/share/index.js';
|
109 | export { getBackgroundFetchData, getBackgroundFetchToken, onBackgroundFetchData, setBackgroundFetchToken } from './api/storage/background-fetch.js';
|
110 | export { createCacheManager } from './api/storage/cache-manager.js';
|
111 | export { batchGetStorage, batchGetStorageSync, batchSetStorage, batchSetStorageSync, clearStorage, clearStorageSync, createBufferURL, getStorage, getStorageInfo, getStorageInfoSync, getStorageSync, removeStorage, removeStorageSync, revokeBufferURL, setStorage, setStorageSync } from './api/storage/index.js';
|
112 | export { advancedGeneralIdentify, animalClassify, carClassify, dishClassify, getSwanId, imageAudit, logoClassify, navigateBackSmartProgram, navigateToSmartGameProgram, navigateToSmartProgram, objectDetectIdentify, ocrBankCard, ocrDrivingLicense, ocrIdCard, ocrVehicleLicense, plantClassify, preloadSubPackage, requestPolymerPayment, setPageInfo, textReview, textToAudio } from './api/swan/index.js';
|
113 | export { createAnimation } from './api/ui/animation/index.js';
|
114 | export { setBackgroundColor, setBackgroundTextStyle } from './api/ui/background.js';
|
115 | export { nextTick } from './api/ui/custom-component.js';
|
116 | export { loadFontFace } from './api/ui/fonts.js';
|
117 | export { disableAlertBeforeUnload, enableAlertBeforeUnload, hideLoading, hideToast, showActionSheet, showLoading, showModal, showToast } from './api/ui/interaction/index.js';
|
118 | export { getMenuButtonBoundingClientRect } from './api/ui/menu.js';
|
119 | export { hideHomeButton, hideNavigationBarLoading, setNavigationBarColor, setNavigationBarTitle, showNavigationBarLoading } from './api/ui/navigation-bar/index.js';
|
120 | export { startPullDownRefresh, stopPullDownRefresh } from './api/ui/pull-down-refresh.js';
|
121 | export { pageScrollTo } from './api/ui/scroll/index.js';
|
122 | export { setTopBarText } from './api/ui/sticky.js';
|
123 | export { hideTabBar, hideTabBarRedDot, initTabBarApis, removeTabBarBadge, setTabBarBadge, setTabBarItem, setTabBarStyle, showTabBar, showTabBarRedDot } from './api/ui/tab-bar.js';
|
124 | export { checkIsPictureInPictureActive, offWindowResize, onWindowResize, setWindowSize } from './api/ui/window.js';
|
125 | export { createWorker } from './api/worker/index.js';
|
126 | export { createIntersectionObserver, createMediaQueryObserver, createSelectorQuery } from './api/wxml/index.js';
|
127 | export { NodesRef } from './api/wxml/nodesRef.js';
|
128 |
|
129 |
|
130 |
|
131 | export { taro as default };
|
132 |
|