hylid-bridge 4.0.26 → 4.0.28-alpha.0
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.
- package/README.md +170 -164
- package/canIUse.json +1 -1
- package/lib/bridges.d.ts +73 -13
- package/lib/bridges.js +80 -5
- package/lib/clients/mp/alipay/getEnterOptionsSync.d.ts +2 -0
- package/lib/clients/mp/alipay/getEnterOptionsSync.js +3 -0
- package/lib/clients/mp/alipay/index.d.ts +14 -2
- package/lib/clients/mp/alipay/index.js +4 -2
- package/lib/clients/mp/alipayhk/getEnterOptionsSync.d.ts +2 -0
- package/lib/clients/mp/alipayhk/getEnterOptionsSync.js +3 -0
- package/lib/clients/mp/alipayhk/index.d.ts +19 -2
- package/lib/clients/mp/alipayhk/index.js +7 -3
- package/lib/clients/mp/alipayhk/rpc.d.ts +2 -0
- package/lib/clients/mp/alipayhk/rpc.js +3 -0
- package/lib/clients/mp/dana/getEnterOptionsSync.d.ts +2 -0
- package/lib/clients/mp/dana/getEnterOptionsSync.js +3 -0
- package/lib/clients/mp/dana/index.d.ts +14 -2
- package/lib/clients/mp/dana/index.js +5 -3
- package/lib/clients/mp/gcash/getEnterOptionsSync.d.ts +2 -0
- package/lib/clients/mp/gcash/getEnterOptionsSync.js +3 -0
- package/lib/clients/mp/gcash/index.d.ts +14 -2
- package/lib/clients/mp/gcash/index.js +5 -3
- package/lib/clients/mp/tngd/getEnterOptionsSync.d.ts +2 -0
- package/lib/clients/mp/tngd/getEnterOptionsSync.js +3 -0
- package/lib/clients/mp/tngd/index.d.ts +14 -2
- package/lib/clients/mp/tngd/index.js +5 -3
- package/lib/clients/mp_web/alipay/getBackgroundFetchData.d.ts +2 -0
- package/lib/clients/mp_web/alipay/getBackgroundFetchData.js +3 -0
- package/lib/clients/mp_web/alipay/getEnterOptionsSync.d.ts +2 -0
- package/lib/clients/mp_web/alipay/getEnterOptionsSync.js +3 -0
- package/lib/clients/mp_web/alipay/index.d.ts +22 -2
- package/lib/clients/mp_web/alipay/index.js +6 -2
- package/lib/clients/mp_web/alipayhk/getBackgroundFetchData.d.ts +2 -0
- package/lib/clients/mp_web/alipayhk/getBackgroundFetchData.js +3 -0
- package/lib/clients/mp_web/alipayhk/getEnterOptionsSync.d.ts +2 -0
- package/lib/clients/mp_web/alipayhk/getEnterOptionsSync.js +3 -0
- package/lib/clients/mp_web/alipayhk/index.d.ts +27 -2
- package/lib/clients/mp_web/alipayhk/index.js +8 -2
- package/lib/clients/mp_web/alipayhk/rpc.d.ts +2 -0
- package/lib/clients/mp_web/alipayhk/rpc.js +3 -0
- package/lib/clients/mp_web/dana/getBackgroundFetchData.d.ts +2 -0
- package/lib/clients/mp_web/dana/getBackgroundFetchData.js +3 -0
- package/lib/clients/mp_web/dana/getEnterOptionsSync.d.ts +2 -0
- package/lib/clients/mp_web/dana/getEnterOptionsSync.js +3 -0
- package/lib/clients/mp_web/dana/index.d.ts +22 -2
- package/lib/clients/mp_web/dana/index.js +6 -2
- package/lib/clients/mp_web/gcash/getBackgroundFetchData.d.ts +2 -0
- package/lib/clients/mp_web/gcash/getBackgroundFetchData.js +3 -0
- package/lib/clients/mp_web/gcash/getEnterOptionsSync.d.ts +2 -0
- package/lib/clients/mp_web/gcash/getEnterOptionsSync.js +3 -0
- package/lib/clients/mp_web/gcash/index.d.ts +22 -2
- package/lib/clients/mp_web/gcash/index.js +6 -2
- package/lib/clients/mp_web/mpay/getBackgroundFetchData.d.ts +2 -0
- package/lib/clients/mp_web/mpay/getBackgroundFetchData.js +3 -0
- package/lib/clients/mp_web/mpay/getEnterOptionsSync.d.ts +2 -0
- package/lib/clients/mp_web/mpay/getEnterOptionsSync.js +3 -0
- package/lib/clients/mp_web/mpay/index.d.ts +22 -2
- package/lib/clients/mp_web/mpay/index.js +6 -2
- package/lib/clients/mp_web/tmn/getBackgroundFetchData.d.ts +2 -0
- package/lib/clients/mp_web/tmn/getBackgroundFetchData.js +3 -0
- package/lib/clients/mp_web/tmn/index.d.ts +10 -2
- package/lib/clients/mp_web/tmn/index.js +4 -2
- package/lib/clients/mp_web/tngd/getBackgroundFetchData.d.ts +2 -0
- package/lib/clients/mp_web/tngd/getBackgroundFetchData.js +3 -0
- package/lib/clients/mp_web/tngd/getEnterOptionsSync.d.ts +2 -0
- package/lib/clients/mp_web/tngd/getEnterOptionsSync.js +3 -0
- package/lib/clients/mp_web/tngd/index.d.ts +22 -2
- package/lib/clients/mp_web/tngd/index.js +6 -2
- package/lib/clients/mp_web/toss/getBackgroundFetchData.d.ts +2 -0
- package/lib/clients/mp_web/toss/getBackgroundFetchData.js +3 -0
- package/lib/clients/mp_web/toss/getEnterOptionsSync.d.ts +2 -0
- package/lib/clients/mp_web/toss/getEnterOptionsSync.js +3 -0
- package/lib/clients/mp_web/toss/index.d.ts +22 -2
- package/lib/clients/mp_web/toss/index.js +6 -2
- package/lib/common/apis/generated/mp/getEnterOptionsSync.d.ts +33 -0
- package/lib/common/apis/generated/mp/getEnterOptionsSync.js +8 -0
- package/lib/common/apis/generated/mp_web/getBackgroundFetchData.d.ts +21 -0
- package/lib/common/apis/generated/mp_web/getBackgroundFetchData.js +8 -0
- package/lib/common/apis/generated/mp_web/getEnterOptionsSync.d.ts +33 -0
- package/lib/common/apis/generated/mp_web/getEnterOptionsSync.js +8 -0
- package/lib/dsl.d.ts +42 -4
- package/lib/dsl.js +37 -5
- package/lib/umd/index.js +1 -1
- package/lib/umd/mp_web_alipay.js +1 -1
- package/lib/umd/mp_web_alipayhk.js +1 -1
- package/lib/umd/mp_web_dana.js +1 -1
- package/lib/umd/mp_web_gcash.js +1 -1
- package/lib/umd/mp_web_mpay.js +1 -1
- package/lib/umd/mp_web_tmn.js +1 -1
- package/lib/umd/mp_web_tngd.js +1 -1
- package/lib/umd/mp_web_toss.js +1 -1
- package/package.json +7 -7
package/lib/bridges.js
CHANGED
|
@@ -135,6 +135,7 @@ import mpCreateSelectorQuery from './common/apis/generated/mp/createSelectorQuer
|
|
|
135
135
|
import mpCanIUse from './common/apis/generated/mp/canIUse';
|
|
136
136
|
import mpGetStorageInfoSync from './common/apis/generated/mp/getStorageInfoSync';
|
|
137
137
|
import mpShowSharePanel from './common/apis/generated/mp/showSharePanel';
|
|
138
|
+
import mpGetEnterOptionsSync from './common/apis/generated/mp/getEnterOptionsSync';
|
|
138
139
|
import mpTradePay from './common/apis/generated/mp/tradePay';
|
|
139
140
|
import mpAddFatigueAction from './common/apis/generated/mp/addFatigueAction';
|
|
140
141
|
import mpApDisableJSAPI from './common/apis/generated/mp/apDisableJSAPI';
|
|
@@ -279,6 +280,8 @@ import mpWebShowSharePanel from './common/apis/generated/mp_web/showSharePanel';
|
|
|
279
280
|
import mpWebAlipayGetAppId from './clients/mp_web/alipay/getAppId';
|
|
280
281
|
import mpWebAlipayGetCurrentPages from './clients/mp_web/alipay/getCurrentPages';
|
|
281
282
|
import mpWebAlipayGetSDKVersion from './clients/mp_web/alipay/getSDKVersion';
|
|
283
|
+
import mpWebGetBackgroundFetchData from './common/apis/generated/mp_web/getBackgroundFetchData';
|
|
284
|
+
import mpWebGetEnterOptionsSync from './common/apis/generated/mp_web/getEnterOptionsSync';
|
|
282
285
|
import mpWebExitApp from './common/apis/generated/mp_web/exitApp';
|
|
283
286
|
import mpWebGetAppToken from './common/apis/generated/mp_web/getAppToken';
|
|
284
287
|
import mpWebNavigateToBizScene from './common/apis/generated/mp_web/navigateToBizScene';
|
|
@@ -4766,8 +4769,8 @@ export var requestAsync = /*#__PURE__*/promisify(request);
|
|
|
4766
4769
|
* @support
|
|
4767
4770
|
* | Platform | Apps |
|
|
4768
4771
|
* | ------------- | -------- |
|
|
4769
|
-
* | mp | alipay,demo |
|
|
4770
|
-
* | mp_web | alipay,demo,toss |
|
|
4772
|
+
* | mp | alipay,alipayhk,demo |
|
|
4773
|
+
* | mp_web | alipay,alipayhk,demo,toss |
|
|
4771
4774
|
* | web | alipay,demo,h5 |
|
|
4772
4775
|
*/
|
|
4773
4776
|
export var rpc = function rpc() {
|
|
@@ -4776,8 +4779,10 @@ export var rpc = function rpc() {
|
|
|
4776
4779
|
rest[_i] = arguments[_i];
|
|
4777
4780
|
}
|
|
4778
4781
|
if (appEnv.isMpAlipay) return mpRpc.apply(void 0, rest);
|
|
4782
|
+
if (appEnv.isMpAlipayhk) return mpRpc.apply(void 0, rest);
|
|
4779
4783
|
if (appEnv.isMpDemo) return mpRpc.apply(void 0, rest);
|
|
4780
4784
|
if (appEnv.isMpWebAlipay) return mpWebRpc.apply(void 0, rest);
|
|
4785
|
+
if (appEnv.isMpWebAlipayhk) return mpWebRpc.apply(void 0, rest);
|
|
4781
4786
|
if (appEnv.isMpWebDemo) return mpWebRpc.apply(void 0, rest);
|
|
4782
4787
|
if (appEnv.isMpWebToss) return mpWebRpc.apply(void 0, rest);
|
|
4783
4788
|
if (appEnv.isWebAlipay) return webRpc.apply(void 0, rest);
|
|
@@ -4789,8 +4794,8 @@ export var rpc = function rpc() {
|
|
|
4789
4794
|
* @support
|
|
4790
4795
|
* | Platform | Apps |
|
|
4791
4796
|
* | ------------- | -------- |
|
|
4792
|
-
* | mp | alipay,demo |
|
|
4793
|
-
* | mp_web | alipay,demo,toss |
|
|
4797
|
+
* | mp | alipay,alipayhk,demo |
|
|
4798
|
+
* | mp_web | alipay,alipayhk,demo,toss |
|
|
4794
4799
|
* | web | alipay,demo,h5 |
|
|
4795
4800
|
*/
|
|
4796
4801
|
// @ts-ignore
|
|
@@ -6805,4 +6810,74 @@ export var showTabBar = function showTabBar() {
|
|
|
6805
6810
|
* | web | alipay |
|
|
6806
6811
|
*/
|
|
6807
6812
|
// @ts-ignore
|
|
6808
|
-
export var showTabBarAsync = /*#__PURE__*/promisify(showTabBar);
|
|
6813
|
+
export var showTabBarAsync = /*#__PURE__*/promisify(showTabBar);
|
|
6814
|
+
/**
|
|
6815
|
+
* @support
|
|
6816
|
+
* | Platform | Apps |
|
|
6817
|
+
* | ------------- | -------- |
|
|
6818
|
+
* | mp | |
|
|
6819
|
+
* | mp_web | alipay,alipayhk,tngd,gcash,dana,tmn,mpay,toss |
|
|
6820
|
+
* | web | |
|
|
6821
|
+
*/
|
|
6822
|
+
export var getBackgroundFetchData = function getBackgroundFetchData() {
|
|
6823
|
+
var rest = [];
|
|
6824
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
6825
|
+
rest[_i] = arguments[_i];
|
|
6826
|
+
}
|
|
6827
|
+
if (appEnv.isMpWebAlipay) return mpWebGetBackgroundFetchData.apply(void 0, rest);
|
|
6828
|
+
if (appEnv.isMpWebAlipayhk) return mpWebGetBackgroundFetchData.apply(void 0, rest);
|
|
6829
|
+
if (appEnv.isMpWebDana) return mpWebGetBackgroundFetchData.apply(void 0, rest);
|
|
6830
|
+
if (appEnv.isMpWebGcash) return mpWebGetBackgroundFetchData.apply(void 0, rest);
|
|
6831
|
+
if (appEnv.isMpWebTngd) return mpWebGetBackgroundFetchData.apply(void 0, rest);
|
|
6832
|
+
if (appEnv.isMpWebTmn) return mpWebGetBackgroundFetchData.apply(void 0, rest);
|
|
6833
|
+
if (appEnv.isMpWebMpay) return mpWebGetBackgroundFetchData.apply(void 0, rest);
|
|
6834
|
+
if (appEnv.isMpWebToss) return mpWebGetBackgroundFetchData.apply(void 0, rest);
|
|
6835
|
+
return notFound.apply(void 0, __spreadArray(['getBackgroundFetchData'], rest, false));
|
|
6836
|
+
};
|
|
6837
|
+
/**
|
|
6838
|
+
* @support
|
|
6839
|
+
* | Platform | Apps |
|
|
6840
|
+
* | ------------- | -------- |
|
|
6841
|
+
* | mp | |
|
|
6842
|
+
* | mp_web | alipay,alipayhk,tngd,gcash,dana,tmn,mpay,toss |
|
|
6843
|
+
* | web | |
|
|
6844
|
+
*/
|
|
6845
|
+
// @ts-ignore
|
|
6846
|
+
export var getBackgroundFetchDataAsync = /*#__PURE__*/promisify(getBackgroundFetchData);
|
|
6847
|
+
/**
|
|
6848
|
+
* @support
|
|
6849
|
+
* | Platform | Apps |
|
|
6850
|
+
* | ------------- | -------- |
|
|
6851
|
+
* | mp | alipay,alipayhk,tngd,gcash,dana,mpay,toss |
|
|
6852
|
+
* | mp_web | alipay,alipayhk,tngd,gcash,dana,mpay,toss |
|
|
6853
|
+
* | web | |
|
|
6854
|
+
*/
|
|
6855
|
+
export var getEnterOptionsSync = function getEnterOptionsSync() {
|
|
6856
|
+
var rest = [];
|
|
6857
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
6858
|
+
rest[_i] = arguments[_i];
|
|
6859
|
+
}
|
|
6860
|
+
if (appEnv.isMpAlipay) return mpGetEnterOptionsSync.apply(void 0, rest);
|
|
6861
|
+
if (appEnv.isMpAlipayhk) return mpGetEnterOptionsSync.apply(void 0, rest);
|
|
6862
|
+
if (appEnv.isMpDana) return mpGetEnterOptionsSync.apply(void 0, rest);
|
|
6863
|
+
if (appEnv.isMpGcash) return mpGetEnterOptionsSync.apply(void 0, rest);
|
|
6864
|
+
if (appEnv.isMpTngd) return mpGetEnterOptionsSync.apply(void 0, rest);
|
|
6865
|
+
if (appEnv.isMpWebAlipay) return mpWebGetEnterOptionsSync.apply(void 0, rest);
|
|
6866
|
+
if (appEnv.isMpWebAlipayhk) return mpWebGetEnterOptionsSync.apply(void 0, rest);
|
|
6867
|
+
if (appEnv.isMpWebDana) return mpWebGetEnterOptionsSync.apply(void 0, rest);
|
|
6868
|
+
if (appEnv.isMpWebGcash) return mpWebGetEnterOptionsSync.apply(void 0, rest);
|
|
6869
|
+
if (appEnv.isMpWebTngd) return mpWebGetEnterOptionsSync.apply(void 0, rest);
|
|
6870
|
+
if (appEnv.isMpWebMpay) return mpWebGetEnterOptionsSync.apply(void 0, rest);
|
|
6871
|
+
if (appEnv.isMpWebToss) return mpWebGetEnterOptionsSync.apply(void 0, rest);
|
|
6872
|
+
return notFound.apply(void 0, __spreadArray(['getEnterOptionsSync'], rest, false));
|
|
6873
|
+
};
|
|
6874
|
+
/**
|
|
6875
|
+
* @support
|
|
6876
|
+
* | Platform | Apps |
|
|
6877
|
+
* | ------------- | -------- |
|
|
6878
|
+
* | mp | alipay,alipayhk,tngd,gcash,dana,mpay,toss |
|
|
6879
|
+
* | mp_web | alipay,alipayhk,tngd,gcash,dana,mpay,toss |
|
|
6880
|
+
* | web | |
|
|
6881
|
+
*/
|
|
6882
|
+
// @ts-ignore
|
|
6883
|
+
export var getEnterOptionsSyncAsync = /*#__PURE__*/promisify(getEnterOptionsSync);
|
|
@@ -123,6 +123,7 @@ import { createSelectorQuery } from '../../../common/apis/generated/mp/createSel
|
|
|
123
123
|
import { canIUse } from '../../../common/apis/generated/mp/canIUse';
|
|
124
124
|
import { getStorageInfoSync } from '../../../common/apis/generated/mp/getStorageInfoSync';
|
|
125
125
|
import { showSharePanel, showSharePanelAsync } from '../../../common/apis/generated/mp/showSharePanel';
|
|
126
|
+
import { getEnterOptionsSync, getEnterOptionsSyncAsync } from '../../../common/apis/generated/mp/getEnterOptionsSync';
|
|
126
127
|
import tradePay from './tradePay';
|
|
127
128
|
declare const _default: {
|
|
128
129
|
addPhoneContact: (args: Partial<AddPhoneContactArgs>) => void;
|
|
@@ -383,8 +384,19 @@ declare const _default: {
|
|
|
383
384
|
canIUse: (args: string) => boolean;
|
|
384
385
|
getStorageInfoSync: (args?: any) => void;
|
|
385
386
|
showSharePanel: (args?: any) => void;
|
|
387
|
+
getEnterOptionsSync: (args: import("@hylid/types").AsyncCallback<{
|
|
388
|
+
path?: string | undefined;
|
|
389
|
+
query?: Record<string, unknown> | undefined;
|
|
390
|
+
referrerInfo?: {
|
|
391
|
+
appId: string;
|
|
392
|
+
sourceServiceId?: string | undefined;
|
|
393
|
+
extraData: Record<string, unknown>;
|
|
394
|
+
} | undefined;
|
|
395
|
+
scene?: number | undefined;
|
|
396
|
+
apiCategory?: "default" | "embedded" | undefined;
|
|
397
|
+
}>) => void;
|
|
386
398
|
tradePay: (args: TradePayArgs) => void;
|
|
387
399
|
};
|
|
388
400
|
export default _default;
|
|
389
|
-
export { addPhoneContact, alert, chooseImage, choosePhoneContact, clearStorage, clearStorageSync, closeBluetoothAdapter, closeSocket, confirm, connectBLEDevice, connectSocket, createAnimation, createWebViewContext, datePicker, disconnectBLEDevice, downloadFile, getAppIdSync, getAuthCode, getBatteryInfo, getBLEDeviceCharacteristics, getBLEDeviceServices, getBluetoothAdapterState, getBluetoothDevices, getClipboard, getConnectedBluetoothDevices, getFileInfo, getImageInfo, getLocation, getNetworkType, getOpenUserInfo, getSavedFileInfo, getSavedFileList, getScreenBrightness, getServerTime, getSetting, getSiteInfo, getStorage, getStorageSync, getSystemInfo, getSystemInfoSync, hideBackHome, hideKeyboard, hideLoading, hideNavigationBarLoading, hideTabBar, hideToast, makePhoneCall, multiLevelSelect, navigateBack, navigateBackMiniProgram, navigateTo, navigateToMiniProgram, notifyBLECharacteristicValueChange, offAccelerometerChange, offBLECharacteristicValueChange, offBLEConnectionStateChanged, offBluetoothAdapterStateChange, offBluetoothDeviceFound, offCompassChange, offMemoryWarning, offSocketClose, offSocketError, offSocketMessage, offSocketOpen, offUserCaptureScreen, onAccelerometerChange, onBLECharacteristicValueChange, onBLEConnectionStateChanged, onBluetoothAdapterStateChange, onBluetoothDeviceFound, onCompassChange, onMemoryWarning, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, onUserCaptureScreen, openBluetoothAdapter, openDocument, openSetting, pageScrollTo, previewImage, prompt, readBLECharacteristicValue, redirectTo, reLaunch, removeSavedFile, removeStorage, removeStorageSync, request, rpc, saveFile, saveImage, scan, sendSocketMessage, setBackgroundColor, setCanPullDown, setClipboard, setKeepScreenOn, setNavigationBar, setScreenBrightness, setStorage, setStorageSync, setTabBarStyle, showActionSheet, showAuthGuide, showLoading, showNavigationBarLoading, showToast, signContract, startBluetoothDevicesDiscovery, startPullDownRefresh, stopBluetoothDevicesDiscovery, stopPullDownRefresh, switchTab, crossPay, uploadFile, vibrate, watchShake, writeBLECharacteristicValue, getLaunchOptionsSync, createSelectorQuery, canIUse, getStorageInfoSync, showSharePanel, tradePay, };
|
|
390
|
-
export { addPhoneContactAsync, alertAsync, chooseImageAsync, choosePhoneContactAsync, clearStorageAsync, closeBluetoothAdapterAsync, closeSocketAsync, confirmAsync, connectBLEDeviceAsync, connectSocketAsync, datePickerAsync, disconnectBLEDeviceAsync, downloadFileAsync, getAuthCodeAsync, getBatteryInfoAsync, getBLEDeviceCharacteristicsAsync, getBLEDeviceServicesAsync, getBluetoothAdapterStateAsync, getBluetoothDevicesAsync, getClipboardAsync, getConnectedBluetoothDevicesAsync, getFileInfoAsync, getImageInfoAsync, getLocationAsync, getNetworkTypeAsync, getOpenUserInfoAsync, getSavedFileInfoAsync, getSavedFileListAsync, getScreenBrightnessAsync, getServerTimeAsync, getSettingAsync, getSiteInfoAsync, getStorageAsync, getSystemInfoAsync, hideBackHomeAsync, hideKeyboardAsync, hideLoadingAsync, hideNavigationBarLoadingAsync, hideTabBarAsync, hideToastAsync, makePhoneCallAsync, multiLevelSelectAsync, navigateBackAsync, navigateBackMiniProgramAsync, navigateToAsync, navigateToMiniProgramAsync, notifyBLECharacteristicValueChangeAsync, openBluetoothAdapterAsync, openDocumentAsync, openSettingAsync, pageScrollToAsync, previewImageAsync, promptAsync, readBLECharacteristicValueAsync, redirectToAsync, reLaunchAsync, removeSavedFileAsync, removeStorageAsync, requestAsync, rpcAsync, saveFileAsync, saveImageAsync, scanAsync, sendSocketMessageAsync, setBackgroundColorAsync, setCanPullDownAsync, setClipboardAsync, setKeepScreenOnAsync, setNavigationBarAsync, setScreenBrightnessAsync, setStorageAsync, setTabBarStyleAsync, showActionSheetAsync, showAuthGuideAsync, showLoadingAsync, showNavigationBarLoadingAsync, showToastAsync, signContractAsync, startBluetoothDevicesDiscoveryAsync, startPullDownRefreshAsync, stopBluetoothDevicesDiscoveryAsync, stopPullDownRefreshAsync, switchTabAsync, crossPayAsync, uploadFileAsync, vibrateAsync, watchShakeAsync, writeBLECharacteristicValueAsync, showSharePanelAsync, };
|
|
401
|
+
export { addPhoneContact, alert, chooseImage, choosePhoneContact, clearStorage, clearStorageSync, closeBluetoothAdapter, closeSocket, confirm, connectBLEDevice, connectSocket, createAnimation, createWebViewContext, datePicker, disconnectBLEDevice, downloadFile, getAppIdSync, getAuthCode, getBatteryInfo, getBLEDeviceCharacteristics, getBLEDeviceServices, getBluetoothAdapterState, getBluetoothDevices, getClipboard, getConnectedBluetoothDevices, getFileInfo, getImageInfo, getLocation, getNetworkType, getOpenUserInfo, getSavedFileInfo, getSavedFileList, getScreenBrightness, getServerTime, getSetting, getSiteInfo, getStorage, getStorageSync, getSystemInfo, getSystemInfoSync, hideBackHome, hideKeyboard, hideLoading, hideNavigationBarLoading, hideTabBar, hideToast, makePhoneCall, multiLevelSelect, navigateBack, navigateBackMiniProgram, navigateTo, navigateToMiniProgram, notifyBLECharacteristicValueChange, offAccelerometerChange, offBLECharacteristicValueChange, offBLEConnectionStateChanged, offBluetoothAdapterStateChange, offBluetoothDeviceFound, offCompassChange, offMemoryWarning, offSocketClose, offSocketError, offSocketMessage, offSocketOpen, offUserCaptureScreen, onAccelerometerChange, onBLECharacteristicValueChange, onBLEConnectionStateChanged, onBluetoothAdapterStateChange, onBluetoothDeviceFound, onCompassChange, onMemoryWarning, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, onUserCaptureScreen, openBluetoothAdapter, openDocument, openSetting, pageScrollTo, previewImage, prompt, readBLECharacteristicValue, redirectTo, reLaunch, removeSavedFile, removeStorage, removeStorageSync, request, rpc, saveFile, saveImage, scan, sendSocketMessage, setBackgroundColor, setCanPullDown, setClipboard, setKeepScreenOn, setNavigationBar, setScreenBrightness, setStorage, setStorageSync, setTabBarStyle, showActionSheet, showAuthGuide, showLoading, showNavigationBarLoading, showToast, signContract, startBluetoothDevicesDiscovery, startPullDownRefresh, stopBluetoothDevicesDiscovery, stopPullDownRefresh, switchTab, crossPay, uploadFile, vibrate, watchShake, writeBLECharacteristicValue, getLaunchOptionsSync, createSelectorQuery, canIUse, getStorageInfoSync, showSharePanel, getEnterOptionsSync, tradePay, };
|
|
402
|
+
export { addPhoneContactAsync, alertAsync, chooseImageAsync, choosePhoneContactAsync, clearStorageAsync, closeBluetoothAdapterAsync, closeSocketAsync, confirmAsync, connectBLEDeviceAsync, connectSocketAsync, datePickerAsync, disconnectBLEDeviceAsync, downloadFileAsync, getAuthCodeAsync, getBatteryInfoAsync, getBLEDeviceCharacteristicsAsync, getBLEDeviceServicesAsync, getBluetoothAdapterStateAsync, getBluetoothDevicesAsync, getClipboardAsync, getConnectedBluetoothDevicesAsync, getFileInfoAsync, getImageInfoAsync, getLocationAsync, getNetworkTypeAsync, getOpenUserInfoAsync, getSavedFileInfoAsync, getSavedFileListAsync, getScreenBrightnessAsync, getServerTimeAsync, getSettingAsync, getSiteInfoAsync, getStorageAsync, getSystemInfoAsync, hideBackHomeAsync, hideKeyboardAsync, hideLoadingAsync, hideNavigationBarLoadingAsync, hideTabBarAsync, hideToastAsync, makePhoneCallAsync, multiLevelSelectAsync, navigateBackAsync, navigateBackMiniProgramAsync, navigateToAsync, navigateToMiniProgramAsync, notifyBLECharacteristicValueChangeAsync, openBluetoothAdapterAsync, openDocumentAsync, openSettingAsync, pageScrollToAsync, previewImageAsync, promptAsync, readBLECharacteristicValueAsync, redirectToAsync, reLaunchAsync, removeSavedFileAsync, removeStorageAsync, requestAsync, rpcAsync, saveFileAsync, saveImageAsync, scanAsync, sendSocketMessageAsync, setBackgroundColorAsync, setCanPullDownAsync, setClipboardAsync, setKeepScreenOnAsync, setNavigationBarAsync, setScreenBrightnessAsync, setStorageAsync, setTabBarStyleAsync, showActionSheetAsync, showAuthGuideAsync, showLoadingAsync, showNavigationBarLoadingAsync, showToastAsync, signContractAsync, startBluetoothDevicesDiscoveryAsync, startPullDownRefreshAsync, stopBluetoothDevicesDiscoveryAsync, stopPullDownRefreshAsync, switchTabAsync, crossPayAsync, uploadFileAsync, vibrateAsync, watchShakeAsync, writeBLECharacteristicValueAsync, showSharePanelAsync, getEnterOptionsSyncAsync, };
|
|
@@ -124,6 +124,7 @@ import { createSelectorQuery } from '../../../common/apis/generated/mp/createSel
|
|
|
124
124
|
import { canIUse } from '../../../common/apis/generated/mp/canIUse';
|
|
125
125
|
import { getStorageInfoSync } from '../../../common/apis/generated/mp/getStorageInfoSync';
|
|
126
126
|
import { showSharePanel, showSharePanelAsync } from '../../../common/apis/generated/mp/showSharePanel';
|
|
127
|
+
import { getEnterOptionsSync, getEnterOptionsSyncAsync } from '../../../common/apis/generated/mp/getEnterOptionsSync';
|
|
127
128
|
import tradePay from './tradePay';
|
|
128
129
|
export default {
|
|
129
130
|
addPhoneContact: addPhoneContact,
|
|
@@ -251,7 +252,8 @@ export default {
|
|
|
251
252
|
canIUse: canIUse,
|
|
252
253
|
getStorageInfoSync: getStorageInfoSync,
|
|
253
254
|
showSharePanel: showSharePanel,
|
|
255
|
+
getEnterOptionsSync: getEnterOptionsSync,
|
|
254
256
|
tradePay: tradePay
|
|
255
257
|
};
|
|
256
|
-
export { addPhoneContact, alert, chooseImage, choosePhoneContact, clearStorage, clearStorageSync, closeBluetoothAdapter, closeSocket, confirm, connectBLEDevice, connectSocket, createAnimation, createWebViewContext, datePicker, disconnectBLEDevice, downloadFile, getAppIdSync, getAuthCode, getBatteryInfo, getBLEDeviceCharacteristics, getBLEDeviceServices, getBluetoothAdapterState, getBluetoothDevices, getClipboard, getConnectedBluetoothDevices, getFileInfo, getImageInfo, getLocation, getNetworkType, getOpenUserInfo, getSavedFileInfo, getSavedFileList, getScreenBrightness, getServerTime, getSetting, getSiteInfo, getStorage, getStorageSync, getSystemInfo, getSystemInfoSync, hideBackHome, hideKeyboard, hideLoading, hideNavigationBarLoading, hideTabBar, hideToast, makePhoneCall, multiLevelSelect, navigateBack, navigateBackMiniProgram, navigateTo, navigateToMiniProgram, notifyBLECharacteristicValueChange, offAccelerometerChange, offBLECharacteristicValueChange, offBLEConnectionStateChanged, offBluetoothAdapterStateChange, offBluetoothDeviceFound, offCompassChange, offMemoryWarning, offSocketClose, offSocketError, offSocketMessage, offSocketOpen, offUserCaptureScreen, onAccelerometerChange, onBLECharacteristicValueChange, onBLEConnectionStateChanged, onBluetoothAdapterStateChange, onBluetoothDeviceFound, onCompassChange, onMemoryWarning, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, onUserCaptureScreen, openBluetoothAdapter, openDocument, openSetting, pageScrollTo, previewImage, prompt, readBLECharacteristicValue, redirectTo, reLaunch, removeSavedFile, removeStorage, removeStorageSync, request, rpc, saveFile, saveImage, scan, sendSocketMessage, setBackgroundColor, setCanPullDown, setClipboard, setKeepScreenOn, setNavigationBar, setScreenBrightness, setStorage, setStorageSync, setTabBarStyle, showActionSheet, showAuthGuide, showLoading, showNavigationBarLoading, showToast, signContract, startBluetoothDevicesDiscovery, startPullDownRefresh, stopBluetoothDevicesDiscovery, stopPullDownRefresh, switchTab, crossPay, uploadFile, vibrate, watchShake, writeBLECharacteristicValue, getLaunchOptionsSync, createSelectorQuery, canIUse, getStorageInfoSync, showSharePanel, tradePay };
|
|
257
|
-
export { addPhoneContactAsync, alertAsync, chooseImageAsync, choosePhoneContactAsync, clearStorageAsync, closeBluetoothAdapterAsync, closeSocketAsync, confirmAsync, connectBLEDeviceAsync, connectSocketAsync, datePickerAsync, disconnectBLEDeviceAsync, downloadFileAsync, getAuthCodeAsync, getBatteryInfoAsync, getBLEDeviceCharacteristicsAsync, getBLEDeviceServicesAsync, getBluetoothAdapterStateAsync, getBluetoothDevicesAsync, getClipboardAsync, getConnectedBluetoothDevicesAsync, getFileInfoAsync, getImageInfoAsync, getLocationAsync, getNetworkTypeAsync, getOpenUserInfoAsync, getSavedFileInfoAsync, getSavedFileListAsync, getScreenBrightnessAsync, getServerTimeAsync, getSettingAsync, getSiteInfoAsync, getStorageAsync, getSystemInfoAsync, hideBackHomeAsync, hideKeyboardAsync, hideLoadingAsync, hideNavigationBarLoadingAsync, hideTabBarAsync, hideToastAsync, makePhoneCallAsync, multiLevelSelectAsync, navigateBackAsync, navigateBackMiniProgramAsync, navigateToAsync, navigateToMiniProgramAsync, notifyBLECharacteristicValueChangeAsync, openBluetoothAdapterAsync, openDocumentAsync, openSettingAsync, pageScrollToAsync, previewImageAsync, promptAsync, readBLECharacteristicValueAsync, redirectToAsync, reLaunchAsync, removeSavedFileAsync, removeStorageAsync, requestAsync, rpcAsync, saveFileAsync, saveImageAsync, scanAsync, sendSocketMessageAsync, setBackgroundColorAsync, setCanPullDownAsync, setClipboardAsync, setKeepScreenOnAsync, setNavigationBarAsync, setScreenBrightnessAsync, setStorageAsync, setTabBarStyleAsync, showActionSheetAsync, showAuthGuideAsync, showLoadingAsync, showNavigationBarLoadingAsync, showToastAsync, signContractAsync, startBluetoothDevicesDiscoveryAsync, startPullDownRefreshAsync, stopBluetoothDevicesDiscoveryAsync, stopPullDownRefreshAsync, switchTabAsync, crossPayAsync, uploadFileAsync, vibrateAsync, watchShakeAsync, writeBLECharacteristicValueAsync, showSharePanelAsync };
|
|
258
|
+
export { addPhoneContact, alert, chooseImage, choosePhoneContact, clearStorage, clearStorageSync, closeBluetoothAdapter, closeSocket, confirm, connectBLEDevice, connectSocket, createAnimation, createWebViewContext, datePicker, disconnectBLEDevice, downloadFile, getAppIdSync, getAuthCode, getBatteryInfo, getBLEDeviceCharacteristics, getBLEDeviceServices, getBluetoothAdapterState, getBluetoothDevices, getClipboard, getConnectedBluetoothDevices, getFileInfo, getImageInfo, getLocation, getNetworkType, getOpenUserInfo, getSavedFileInfo, getSavedFileList, getScreenBrightness, getServerTime, getSetting, getSiteInfo, getStorage, getStorageSync, getSystemInfo, getSystemInfoSync, hideBackHome, hideKeyboard, hideLoading, hideNavigationBarLoading, hideTabBar, hideToast, makePhoneCall, multiLevelSelect, navigateBack, navigateBackMiniProgram, navigateTo, navigateToMiniProgram, notifyBLECharacteristicValueChange, offAccelerometerChange, offBLECharacteristicValueChange, offBLEConnectionStateChanged, offBluetoothAdapterStateChange, offBluetoothDeviceFound, offCompassChange, offMemoryWarning, offSocketClose, offSocketError, offSocketMessage, offSocketOpen, offUserCaptureScreen, onAccelerometerChange, onBLECharacteristicValueChange, onBLEConnectionStateChanged, onBluetoothAdapterStateChange, onBluetoothDeviceFound, onCompassChange, onMemoryWarning, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, onUserCaptureScreen, openBluetoothAdapter, openDocument, openSetting, pageScrollTo, previewImage, prompt, readBLECharacteristicValue, redirectTo, reLaunch, removeSavedFile, removeStorage, removeStorageSync, request, rpc, saveFile, saveImage, scan, sendSocketMessage, setBackgroundColor, setCanPullDown, setClipboard, setKeepScreenOn, setNavigationBar, setScreenBrightness, setStorage, setStorageSync, setTabBarStyle, showActionSheet, showAuthGuide, showLoading, showNavigationBarLoading, showToast, signContract, startBluetoothDevicesDiscovery, startPullDownRefresh, stopBluetoothDevicesDiscovery, stopPullDownRefresh, switchTab, crossPay, uploadFile, vibrate, watchShake, writeBLECharacteristicValue, getLaunchOptionsSync, createSelectorQuery, canIUse, getStorageInfoSync, showSharePanel, getEnterOptionsSync, tradePay };
|
|
259
|
+
export { addPhoneContactAsync, alertAsync, chooseImageAsync, choosePhoneContactAsync, clearStorageAsync, closeBluetoothAdapterAsync, closeSocketAsync, confirmAsync, connectBLEDeviceAsync, connectSocketAsync, datePickerAsync, disconnectBLEDeviceAsync, downloadFileAsync, getAuthCodeAsync, getBatteryInfoAsync, getBLEDeviceCharacteristicsAsync, getBLEDeviceServicesAsync, getBluetoothAdapterStateAsync, getBluetoothDevicesAsync, getClipboardAsync, getConnectedBluetoothDevicesAsync, getFileInfoAsync, getImageInfoAsync, getLocationAsync, getNetworkTypeAsync, getOpenUserInfoAsync, getSavedFileInfoAsync, getSavedFileListAsync, getScreenBrightnessAsync, getServerTimeAsync, getSettingAsync, getSiteInfoAsync, getStorageAsync, getSystemInfoAsync, hideBackHomeAsync, hideKeyboardAsync, hideLoadingAsync, hideNavigationBarLoadingAsync, hideTabBarAsync, hideToastAsync, makePhoneCallAsync, multiLevelSelectAsync, navigateBackAsync, navigateBackMiniProgramAsync, navigateToAsync, navigateToMiniProgramAsync, notifyBLECharacteristicValueChangeAsync, openBluetoothAdapterAsync, openDocumentAsync, openSettingAsync, pageScrollToAsync, previewImageAsync, promptAsync, readBLECharacteristicValueAsync, redirectToAsync, reLaunchAsync, removeSavedFileAsync, removeStorageAsync, requestAsync, rpcAsync, saveFileAsync, saveImageAsync, scanAsync, sendSocketMessageAsync, setBackgroundColorAsync, setCanPullDownAsync, setClipboardAsync, setKeepScreenOnAsync, setNavigationBarAsync, setScreenBrightnessAsync, setStorageAsync, setTabBarStyleAsync, showActionSheetAsync, showAuthGuideAsync, showLoadingAsync, showNavigationBarLoadingAsync, showToastAsync, signContractAsync, startBluetoothDevicesDiscoveryAsync, startPullDownRefreshAsync, stopBluetoothDevicesDiscoveryAsync, stopPullDownRefreshAsync, switchTabAsync, crossPayAsync, uploadFileAsync, vibrateAsync, watchShakeAsync, writeBLECharacteristicValueAsync, showSharePanelAsync, getEnterOptionsSyncAsync };
|
|
@@ -88,6 +88,7 @@ import { removeSavedFile, removeSavedFileAsync } from '../../../common/apis/gene
|
|
|
88
88
|
import { removeStorage, removeStorageAsync } from '../../../common/apis/generated/mp/removeStorage';
|
|
89
89
|
import { removeStorageSync } from '../../../common/apis/generated/mp/removeStorageSync';
|
|
90
90
|
import { request, requestAsync } from '../../../common/apis/generated/mp/request';
|
|
91
|
+
import { rpc, rpcAsync } from '../../../common/apis/generated/mp/rpc';
|
|
91
92
|
import { saveFile, saveFileAsync } from '../../../common/apis/generated/mp/saveFile';
|
|
92
93
|
import { saveImage, saveImageAsync } from '../../../common/apis/generated/mp/saveImage';
|
|
93
94
|
import { scan, scanAsync } from '../../../common/apis/generated/mp/scan';
|
|
@@ -120,6 +121,7 @@ import { writeBLECharacteristicValue, writeBLECharacteristicValueAsync } from '.
|
|
|
120
121
|
import { createSelectorQuery } from '../../../common/apis/generated/mp/createSelectorQuery';
|
|
121
122
|
import { canIUse } from '../../../common/apis/generated/mp/canIUse';
|
|
122
123
|
import { showSharePanel, showSharePanelAsync } from '../../../common/apis/generated/mp/showSharePanel';
|
|
124
|
+
import { getEnterOptionsSync, getEnterOptionsSyncAsync } from '../../../common/apis/generated/mp/getEnterOptionsSync';
|
|
123
125
|
declare const _default: {
|
|
124
126
|
addPhoneContact: (args: Partial<AddPhoneContactArgs>) => void;
|
|
125
127
|
alert: (args?: AlertArgs | undefined) => void;
|
|
@@ -331,6 +333,10 @@ declare const _default: {
|
|
|
331
333
|
status: number;
|
|
332
334
|
headers: any;
|
|
333
335
|
}>) => void;
|
|
336
|
+
rpc: (args: import("@hylid/types").IRPCArgs & import("@hylid/types").AsyncCallback<{
|
|
337
|
+
headers: Record<string, string>;
|
|
338
|
+
resData: object;
|
|
339
|
+
}>) => void;
|
|
334
340
|
saveFile: (args: SaveFileArgs) => void;
|
|
335
341
|
saveImage: (args: SaveImageArgs) => void;
|
|
336
342
|
scan: (args: ScanArgs) => void;
|
|
@@ -373,7 +379,18 @@ declare const _default: {
|
|
|
373
379
|
createSelectorQuery: () => SelectorQuery;
|
|
374
380
|
canIUse: (args: string) => boolean;
|
|
375
381
|
showSharePanel: (args?: any) => void;
|
|
382
|
+
getEnterOptionsSync: (args: import("@hylid/types").AsyncCallback<{
|
|
383
|
+
path?: string | undefined;
|
|
384
|
+
query?: Record<string, unknown> | undefined;
|
|
385
|
+
referrerInfo?: {
|
|
386
|
+
appId: string;
|
|
387
|
+
sourceServiceId?: string | undefined;
|
|
388
|
+
extraData: Record<string, unknown>;
|
|
389
|
+
} | undefined;
|
|
390
|
+
scene?: number | undefined;
|
|
391
|
+
apiCategory?: "default" | "embedded" | undefined;
|
|
392
|
+
}>) => void;
|
|
376
393
|
};
|
|
377
394
|
export default _default;
|
|
378
|
-
export { addPhoneContact, alert, chooseImage, choosePhoneContact, clearStorage, clearStorageSync, closeBluetoothAdapter, closeSocket, confirm, connectBLEDevice, connectSocket, createAnimation, createWebViewContext, datePicker, disconnectBLEDevice, downloadFile, getAppIdSync, getAuthCode, getBatteryInfo, getBLEDeviceCharacteristics, getBLEDeviceServices, getBluetoothAdapterState, getBluetoothDevices, getClipboard, getConnectedBluetoothDevices, getFileInfo, getImageInfo, getLocation, getNetworkType, getOpenUserInfo, getSavedFileInfo, getSavedFileList, getScreenBrightness, getServerTime, getSetting, getSiteInfo, getStorage, getStorageSync, getSystemInfo, getSystemInfoSync, hideBackHome, hideKeyboard, hideLoading, hideNavigationBarLoading, hideTabBar, hideToast, makePhoneCall, multiLevelSelect, navigateBack, navigateBackMiniProgram, navigateTo, navigateToMiniProgram, notifyBLECharacteristicValueChange, offAccelerometerChange, offBLECharacteristicValueChange, offBLEConnectionStateChanged, offBluetoothAdapterStateChange, offBluetoothDeviceFound, offCompassChange, offMemoryWarning, offSocketClose, offSocketError, offSocketMessage, offSocketOpen, offUserCaptureScreen, onAccelerometerChange, onBLECharacteristicValueChange, onBLEConnectionStateChanged, onBluetoothAdapterStateChange, onBluetoothDeviceFound, onCompassChange, onMemoryWarning, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, onUserCaptureScreen, openBluetoothAdapter, openDocument, openSetting, pageScrollTo, previewImage, prompt, readBLECharacteristicValue, redirectTo, reLaunch, removeSavedFile, removeStorage, removeStorageSync, request, saveFile, saveImage, scan, sendSocketMessage, setBackgroundColor, setCanPullDown, setClipboard, setKeepScreenOn, setNavigationBar, setScreenBrightness, setStorage, setStorageSync, setTabBarStyle, showActionSheet, showAuthGuide, showLoading, showNavigationBarLoading, showToast, signContract, startBluetoothDevicesDiscovery, startPullDownRefresh, stopBluetoothDevicesDiscovery, stopPullDownRefresh, switchTab, tradePay, uploadFile, vibrate, watchShake, writeBLECharacteristicValue, createSelectorQuery, canIUse, showSharePanel, };
|
|
379
|
-
export { addPhoneContactAsync, alertAsync, chooseImageAsync, choosePhoneContactAsync, clearStorageAsync, closeBluetoothAdapterAsync, closeSocketAsync, confirmAsync, connectBLEDeviceAsync, connectSocketAsync, datePickerAsync, disconnectBLEDeviceAsync, downloadFileAsync, getAuthCodeAsync, getBatteryInfoAsync, getBLEDeviceCharacteristicsAsync, getBLEDeviceServicesAsync, getBluetoothAdapterStateAsync, getBluetoothDevicesAsync, getClipboardAsync, getConnectedBluetoothDevicesAsync, getFileInfoAsync, getImageInfoAsync, getLocationAsync, getNetworkTypeAsync, getOpenUserInfoAsync, getSavedFileInfoAsync, getSavedFileListAsync, getScreenBrightnessAsync, getServerTimeAsync, getSettingAsync, getSiteInfoAsync, getStorageAsync, getSystemInfoAsync, hideBackHomeAsync, hideKeyboardAsync, hideLoadingAsync, hideNavigationBarLoadingAsync, hideTabBarAsync, hideToastAsync, makePhoneCallAsync, multiLevelSelectAsync, navigateBackAsync, navigateBackMiniProgramAsync, navigateToAsync, navigateToMiniProgramAsync, notifyBLECharacteristicValueChangeAsync, openBluetoothAdapterAsync, openDocumentAsync, openSettingAsync, pageScrollToAsync, previewImageAsync, promptAsync, readBLECharacteristicValueAsync, redirectToAsync, reLaunchAsync, removeSavedFileAsync, removeStorageAsync, requestAsync, saveFileAsync, saveImageAsync, scanAsync, sendSocketMessageAsync, setBackgroundColorAsync, setCanPullDownAsync, setClipboardAsync, setKeepScreenOnAsync, setNavigationBarAsync, setScreenBrightnessAsync, setStorageAsync, setTabBarStyleAsync, showActionSheetAsync, showAuthGuideAsync, showLoadingAsync, showNavigationBarLoadingAsync, showToastAsync, signContractAsync, startBluetoothDevicesDiscoveryAsync, startPullDownRefreshAsync, stopBluetoothDevicesDiscoveryAsync, stopPullDownRefreshAsync, switchTabAsync, tradePayAsync, uploadFileAsync, vibrateAsync, watchShakeAsync, writeBLECharacteristicValueAsync, showSharePanelAsync, };
|
|
395
|
+
export { addPhoneContact, alert, chooseImage, choosePhoneContact, clearStorage, clearStorageSync, closeBluetoothAdapter, closeSocket, confirm, connectBLEDevice, connectSocket, createAnimation, createWebViewContext, datePicker, disconnectBLEDevice, downloadFile, getAppIdSync, getAuthCode, getBatteryInfo, getBLEDeviceCharacteristics, getBLEDeviceServices, getBluetoothAdapterState, getBluetoothDevices, getClipboard, getConnectedBluetoothDevices, getFileInfo, getImageInfo, getLocation, getNetworkType, getOpenUserInfo, getSavedFileInfo, getSavedFileList, getScreenBrightness, getServerTime, getSetting, getSiteInfo, getStorage, getStorageSync, getSystemInfo, getSystemInfoSync, hideBackHome, hideKeyboard, hideLoading, hideNavigationBarLoading, hideTabBar, hideToast, makePhoneCall, multiLevelSelect, navigateBack, navigateBackMiniProgram, navigateTo, navigateToMiniProgram, notifyBLECharacteristicValueChange, offAccelerometerChange, offBLECharacteristicValueChange, offBLEConnectionStateChanged, offBluetoothAdapterStateChange, offBluetoothDeviceFound, offCompassChange, offMemoryWarning, offSocketClose, offSocketError, offSocketMessage, offSocketOpen, offUserCaptureScreen, onAccelerometerChange, onBLECharacteristicValueChange, onBLEConnectionStateChanged, onBluetoothAdapterStateChange, onBluetoothDeviceFound, onCompassChange, onMemoryWarning, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, onUserCaptureScreen, openBluetoothAdapter, openDocument, openSetting, pageScrollTo, previewImage, prompt, readBLECharacteristicValue, redirectTo, reLaunch, removeSavedFile, removeStorage, removeStorageSync, request, rpc, saveFile, saveImage, scan, sendSocketMessage, setBackgroundColor, setCanPullDown, setClipboard, setKeepScreenOn, setNavigationBar, setScreenBrightness, setStorage, setStorageSync, setTabBarStyle, showActionSheet, showAuthGuide, showLoading, showNavigationBarLoading, showToast, signContract, startBluetoothDevicesDiscovery, startPullDownRefresh, stopBluetoothDevicesDiscovery, stopPullDownRefresh, switchTab, tradePay, uploadFile, vibrate, watchShake, writeBLECharacteristicValue, createSelectorQuery, canIUse, showSharePanel, getEnterOptionsSync, };
|
|
396
|
+
export { addPhoneContactAsync, alertAsync, chooseImageAsync, choosePhoneContactAsync, clearStorageAsync, closeBluetoothAdapterAsync, closeSocketAsync, confirmAsync, connectBLEDeviceAsync, connectSocketAsync, datePickerAsync, disconnectBLEDeviceAsync, downloadFileAsync, getAuthCodeAsync, getBatteryInfoAsync, getBLEDeviceCharacteristicsAsync, getBLEDeviceServicesAsync, getBluetoothAdapterStateAsync, getBluetoothDevicesAsync, getClipboardAsync, getConnectedBluetoothDevicesAsync, getFileInfoAsync, getImageInfoAsync, getLocationAsync, getNetworkTypeAsync, getOpenUserInfoAsync, getSavedFileInfoAsync, getSavedFileListAsync, getScreenBrightnessAsync, getServerTimeAsync, getSettingAsync, getSiteInfoAsync, getStorageAsync, getSystemInfoAsync, hideBackHomeAsync, hideKeyboardAsync, hideLoadingAsync, hideNavigationBarLoadingAsync, hideTabBarAsync, hideToastAsync, makePhoneCallAsync, multiLevelSelectAsync, navigateBackAsync, navigateBackMiniProgramAsync, navigateToAsync, navigateToMiniProgramAsync, notifyBLECharacteristicValueChangeAsync, openBluetoothAdapterAsync, openDocumentAsync, openSettingAsync, pageScrollToAsync, previewImageAsync, promptAsync, readBLECharacteristicValueAsync, redirectToAsync, reLaunchAsync, removeSavedFileAsync, removeStorageAsync, requestAsync, rpcAsync, saveFileAsync, saveImageAsync, scanAsync, sendSocketMessageAsync, setBackgroundColorAsync, setCanPullDownAsync, setClipboardAsync, setKeepScreenOnAsync, setNavigationBarAsync, setScreenBrightnessAsync, setStorageAsync, setTabBarStyleAsync, showActionSheetAsync, showAuthGuideAsync, showLoadingAsync, showNavigationBarLoadingAsync, showToastAsync, signContractAsync, startBluetoothDevicesDiscoveryAsync, startPullDownRefreshAsync, stopBluetoothDevicesDiscoveryAsync, stopPullDownRefreshAsync, switchTabAsync, tradePayAsync, uploadFileAsync, vibrateAsync, watchShakeAsync, writeBLECharacteristicValueAsync, showSharePanelAsync, getEnterOptionsSyncAsync, };
|
|
@@ -89,6 +89,7 @@ import { removeSavedFile, removeSavedFileAsync } from '../../../common/apis/gene
|
|
|
89
89
|
import { removeStorage, removeStorageAsync } from '../../../common/apis/generated/mp/removeStorage';
|
|
90
90
|
import { removeStorageSync } from '../../../common/apis/generated/mp/removeStorageSync';
|
|
91
91
|
import { request, requestAsync } from '../../../common/apis/generated/mp/request';
|
|
92
|
+
import { rpc, rpcAsync } from '../../../common/apis/generated/mp/rpc';
|
|
92
93
|
import { saveFile, saveFileAsync } from '../../../common/apis/generated/mp/saveFile';
|
|
93
94
|
import { saveImage, saveImageAsync } from '../../../common/apis/generated/mp/saveImage';
|
|
94
95
|
import { scan, scanAsync } from '../../../common/apis/generated/mp/scan';
|
|
@@ -121,6 +122,7 @@ import { writeBLECharacteristicValue, writeBLECharacteristicValueAsync } from '.
|
|
|
121
122
|
import { createSelectorQuery } from '../../../common/apis/generated/mp/createSelectorQuery';
|
|
122
123
|
import { canIUse } from '../../../common/apis/generated/mp/canIUse';
|
|
123
124
|
import { showSharePanel, showSharePanelAsync } from '../../../common/apis/generated/mp/showSharePanel';
|
|
125
|
+
import { getEnterOptionsSync, getEnterOptionsSyncAsync } from '../../../common/apis/generated/mp/getEnterOptionsSync';
|
|
124
126
|
export default {
|
|
125
127
|
addPhoneContact: addPhoneContact,
|
|
126
128
|
alert: alert,
|
|
@@ -212,6 +214,7 @@ export default {
|
|
|
212
214
|
removeStorage: removeStorage,
|
|
213
215
|
removeStorageSync: removeStorageSync,
|
|
214
216
|
request: request,
|
|
217
|
+
rpc: rpc,
|
|
215
218
|
saveFile: saveFile,
|
|
216
219
|
saveImage: saveImage,
|
|
217
220
|
scan: scan,
|
|
@@ -243,7 +246,8 @@ export default {
|
|
|
243
246
|
writeBLECharacteristicValue: writeBLECharacteristicValue,
|
|
244
247
|
createSelectorQuery: createSelectorQuery,
|
|
245
248
|
canIUse: canIUse,
|
|
246
|
-
showSharePanel: showSharePanel
|
|
249
|
+
showSharePanel: showSharePanel,
|
|
250
|
+
getEnterOptionsSync: getEnterOptionsSync
|
|
247
251
|
};
|
|
248
|
-
export { addPhoneContact, alert, chooseImage, choosePhoneContact, clearStorage, clearStorageSync, closeBluetoothAdapter, closeSocket, confirm, connectBLEDevice, connectSocket, createAnimation, createWebViewContext, datePicker, disconnectBLEDevice, downloadFile, getAppIdSync, getAuthCode, getBatteryInfo, getBLEDeviceCharacteristics, getBLEDeviceServices, getBluetoothAdapterState, getBluetoothDevices, getClipboard, getConnectedBluetoothDevices, getFileInfo, getImageInfo, getLocation, getNetworkType, getOpenUserInfo, getSavedFileInfo, getSavedFileList, getScreenBrightness, getServerTime, getSetting, getSiteInfo, getStorage, getStorageSync, getSystemInfo, getSystemInfoSync, hideBackHome, hideKeyboard, hideLoading, hideNavigationBarLoading, hideTabBar, hideToast, makePhoneCall, multiLevelSelect, navigateBack, navigateBackMiniProgram, navigateTo, navigateToMiniProgram, notifyBLECharacteristicValueChange, offAccelerometerChange, offBLECharacteristicValueChange, offBLEConnectionStateChanged, offBluetoothAdapterStateChange, offBluetoothDeviceFound, offCompassChange, offMemoryWarning, offSocketClose, offSocketError, offSocketMessage, offSocketOpen, offUserCaptureScreen, onAccelerometerChange, onBLECharacteristicValueChange, onBLEConnectionStateChanged, onBluetoothAdapterStateChange, onBluetoothDeviceFound, onCompassChange, onMemoryWarning, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, onUserCaptureScreen, openBluetoothAdapter, openDocument, openSetting, pageScrollTo, previewImage, prompt, readBLECharacteristicValue, redirectTo, reLaunch, removeSavedFile, removeStorage, removeStorageSync, request, saveFile, saveImage, scan, sendSocketMessage, setBackgroundColor, setCanPullDown, setClipboard, setKeepScreenOn, setNavigationBar, setScreenBrightness, setStorage, setStorageSync, setTabBarStyle, showActionSheet, showAuthGuide, showLoading, showNavigationBarLoading, showToast, signContract, startBluetoothDevicesDiscovery, startPullDownRefresh, stopBluetoothDevicesDiscovery, stopPullDownRefresh, switchTab, tradePay, uploadFile, vibrate, watchShake, writeBLECharacteristicValue, createSelectorQuery, canIUse, showSharePanel };
|
|
249
|
-
export { addPhoneContactAsync, alertAsync, chooseImageAsync, choosePhoneContactAsync, clearStorageAsync, closeBluetoothAdapterAsync, closeSocketAsync, confirmAsync, connectBLEDeviceAsync, connectSocketAsync, datePickerAsync, disconnectBLEDeviceAsync, downloadFileAsync, getAuthCodeAsync, getBatteryInfoAsync, getBLEDeviceCharacteristicsAsync, getBLEDeviceServicesAsync, getBluetoothAdapterStateAsync, getBluetoothDevicesAsync, getClipboardAsync, getConnectedBluetoothDevicesAsync, getFileInfoAsync, getImageInfoAsync, getLocationAsync, getNetworkTypeAsync, getOpenUserInfoAsync, getSavedFileInfoAsync, getSavedFileListAsync, getScreenBrightnessAsync, getServerTimeAsync, getSettingAsync, getSiteInfoAsync, getStorageAsync, getSystemInfoAsync, hideBackHomeAsync, hideKeyboardAsync, hideLoadingAsync, hideNavigationBarLoadingAsync, hideTabBarAsync, hideToastAsync, makePhoneCallAsync, multiLevelSelectAsync, navigateBackAsync, navigateBackMiniProgramAsync, navigateToAsync, navigateToMiniProgramAsync, notifyBLECharacteristicValueChangeAsync, openBluetoothAdapterAsync, openDocumentAsync, openSettingAsync, pageScrollToAsync, previewImageAsync, promptAsync, readBLECharacteristicValueAsync, redirectToAsync, reLaunchAsync, removeSavedFileAsync, removeStorageAsync, requestAsync, saveFileAsync, saveImageAsync, scanAsync, sendSocketMessageAsync, setBackgroundColorAsync, setCanPullDownAsync, setClipboardAsync, setKeepScreenOnAsync, setNavigationBarAsync, setScreenBrightnessAsync, setStorageAsync, setTabBarStyleAsync, showActionSheetAsync, showAuthGuideAsync, showLoadingAsync, showNavigationBarLoadingAsync, showToastAsync, signContractAsync, startBluetoothDevicesDiscoveryAsync, startPullDownRefreshAsync, stopBluetoothDevicesDiscoveryAsync, stopPullDownRefreshAsync, switchTabAsync, tradePayAsync, uploadFileAsync, vibrateAsync, watchShakeAsync, writeBLECharacteristicValueAsync, showSharePanelAsync };
|
|
252
|
+
export { addPhoneContact, alert, chooseImage, choosePhoneContact, clearStorage, clearStorageSync, closeBluetoothAdapter, closeSocket, confirm, connectBLEDevice, connectSocket, createAnimation, createWebViewContext, datePicker, disconnectBLEDevice, downloadFile, getAppIdSync, getAuthCode, getBatteryInfo, getBLEDeviceCharacteristics, getBLEDeviceServices, getBluetoothAdapterState, getBluetoothDevices, getClipboard, getConnectedBluetoothDevices, getFileInfo, getImageInfo, getLocation, getNetworkType, getOpenUserInfo, getSavedFileInfo, getSavedFileList, getScreenBrightness, getServerTime, getSetting, getSiteInfo, getStorage, getStorageSync, getSystemInfo, getSystemInfoSync, hideBackHome, hideKeyboard, hideLoading, hideNavigationBarLoading, hideTabBar, hideToast, makePhoneCall, multiLevelSelect, navigateBack, navigateBackMiniProgram, navigateTo, navigateToMiniProgram, notifyBLECharacteristicValueChange, offAccelerometerChange, offBLECharacteristicValueChange, offBLEConnectionStateChanged, offBluetoothAdapterStateChange, offBluetoothDeviceFound, offCompassChange, offMemoryWarning, offSocketClose, offSocketError, offSocketMessage, offSocketOpen, offUserCaptureScreen, onAccelerometerChange, onBLECharacteristicValueChange, onBLEConnectionStateChanged, onBluetoothAdapterStateChange, onBluetoothDeviceFound, onCompassChange, onMemoryWarning, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, onUserCaptureScreen, openBluetoothAdapter, openDocument, openSetting, pageScrollTo, previewImage, prompt, readBLECharacteristicValue, redirectTo, reLaunch, removeSavedFile, removeStorage, removeStorageSync, request, rpc, saveFile, saveImage, scan, sendSocketMessage, setBackgroundColor, setCanPullDown, setClipboard, setKeepScreenOn, setNavigationBar, setScreenBrightness, setStorage, setStorageSync, setTabBarStyle, showActionSheet, showAuthGuide, showLoading, showNavigationBarLoading, showToast, signContract, startBluetoothDevicesDiscovery, startPullDownRefresh, stopBluetoothDevicesDiscovery, stopPullDownRefresh, switchTab, tradePay, uploadFile, vibrate, watchShake, writeBLECharacteristicValue, createSelectorQuery, canIUse, showSharePanel, getEnterOptionsSync };
|
|
253
|
+
export { addPhoneContactAsync, alertAsync, chooseImageAsync, choosePhoneContactAsync, clearStorageAsync, closeBluetoothAdapterAsync, closeSocketAsync, confirmAsync, connectBLEDeviceAsync, connectSocketAsync, datePickerAsync, disconnectBLEDeviceAsync, downloadFileAsync, getAuthCodeAsync, getBatteryInfoAsync, getBLEDeviceCharacteristicsAsync, getBLEDeviceServicesAsync, getBluetoothAdapterStateAsync, getBluetoothDevicesAsync, getClipboardAsync, getConnectedBluetoothDevicesAsync, getFileInfoAsync, getImageInfoAsync, getLocationAsync, getNetworkTypeAsync, getOpenUserInfoAsync, getSavedFileInfoAsync, getSavedFileListAsync, getScreenBrightnessAsync, getServerTimeAsync, getSettingAsync, getSiteInfoAsync, getStorageAsync, getSystemInfoAsync, hideBackHomeAsync, hideKeyboardAsync, hideLoadingAsync, hideNavigationBarLoadingAsync, hideTabBarAsync, hideToastAsync, makePhoneCallAsync, multiLevelSelectAsync, navigateBackAsync, navigateBackMiniProgramAsync, navigateToAsync, navigateToMiniProgramAsync, notifyBLECharacteristicValueChangeAsync, openBluetoothAdapterAsync, openDocumentAsync, openSettingAsync, pageScrollToAsync, previewImageAsync, promptAsync, readBLECharacteristicValueAsync, redirectToAsync, reLaunchAsync, removeSavedFileAsync, removeStorageAsync, requestAsync, rpcAsync, saveFileAsync, saveImageAsync, scanAsync, sendSocketMessageAsync, setBackgroundColorAsync, setCanPullDownAsync, setClipboardAsync, setKeepScreenOnAsync, setNavigationBarAsync, setScreenBrightnessAsync, setStorageAsync, setTabBarStyleAsync, showActionSheetAsync, showAuthGuideAsync, showLoadingAsync, showNavigationBarLoadingAsync, showToastAsync, signContractAsync, startBluetoothDevicesDiscoveryAsync, startPullDownRefreshAsync, stopBluetoothDevicesDiscoveryAsync, stopPullDownRefreshAsync, switchTabAsync, tradePayAsync, uploadFileAsync, vibrateAsync, watchShakeAsync, writeBLECharacteristicValueAsync, showSharePanelAsync, getEnterOptionsSyncAsync };
|
|
@@ -120,6 +120,7 @@ import { writeBLECharacteristicValue, writeBLECharacteristicValueAsync } from '.
|
|
|
120
120
|
import { createSelectorQuery } from '../../../common/apis/generated/mp/createSelectorQuery';
|
|
121
121
|
import { canIUse } from '../../../common/apis/generated/mp/canIUse';
|
|
122
122
|
import { showSharePanel, showSharePanelAsync } from '../../../common/apis/generated/mp/showSharePanel';
|
|
123
|
+
import { getEnterOptionsSync, getEnterOptionsSyncAsync } from '../../../common/apis/generated/mp/getEnterOptionsSync';
|
|
123
124
|
declare const _default: {
|
|
124
125
|
addPhoneContact: (args: Partial<AddPhoneContactArgs>) => void;
|
|
125
126
|
alert: (args?: AlertArgs | undefined) => void;
|
|
@@ -373,7 +374,18 @@ declare const _default: {
|
|
|
373
374
|
createSelectorQuery: () => SelectorQuery;
|
|
374
375
|
canIUse: (args: string) => boolean;
|
|
375
376
|
showSharePanel: (args?: any) => void;
|
|
377
|
+
getEnterOptionsSync: (args: import("@hylid/types").AsyncCallback<{
|
|
378
|
+
path?: string | undefined;
|
|
379
|
+
query?: Record<string, unknown> | undefined;
|
|
380
|
+
referrerInfo?: {
|
|
381
|
+
appId: string;
|
|
382
|
+
sourceServiceId?: string | undefined;
|
|
383
|
+
extraData: Record<string, unknown>;
|
|
384
|
+
} | undefined;
|
|
385
|
+
scene?: number | undefined;
|
|
386
|
+
apiCategory?: "default" | "embedded" | undefined;
|
|
387
|
+
}>) => void;
|
|
376
388
|
};
|
|
377
389
|
export default _default;
|
|
378
|
-
export { addPhoneContact, alert, chooseImage, choosePhoneContact, clearStorage, clearStorageSync, closeBluetoothAdapter, closeSocket, confirm, connectBLEDevice, connectSocket, createAnimation, createWebViewContext, datePicker, disconnectBLEDevice, downloadFile, getAppIdSync, getAuthCode, getBatteryInfo, getBLEDeviceCharacteristics, getBLEDeviceServices, getBluetoothAdapterState, getBluetoothDevices, getClipboard, getConnectedBluetoothDevices, getFileInfo, getImageInfo, getLocation, getNetworkType, getOpenUserInfo, getSavedFileInfo, getSavedFileList, getScreenBrightness, getServerTime, getSetting, getSiteInfo, getStorage, getStorageSync, getSystemInfo, getSystemInfoSync, hideBackHome, hideKeyboard, hideLoading, hideNavigationBarLoading, hideTabBar, hideToast, makePhoneCall, multiLevelSelect, navigateBack, navigateBackMiniProgram, navigateTo, navigateToMiniProgram, notifyBLECharacteristicValueChange, offAccelerometerChange, offBLECharacteristicValueChange, offBLEConnectionStateChanged, offBluetoothAdapterStateChange, offBluetoothDeviceFound, offCompassChange, offMemoryWarning, offSocketClose, offSocketError, offSocketMessage, offSocketOpen, offUserCaptureScreen, onAccelerometerChange, onBLECharacteristicValueChange, onBLEConnectionStateChanged, onBluetoothAdapterStateChange, onBluetoothDeviceFound, onCompassChange, onMemoryWarning, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, onUserCaptureScreen, openBluetoothAdapter, openDocument, openSetting, pageScrollTo, previewImage, prompt, readBLECharacteristicValue, redirectTo, reLaunch, removeSavedFile, removeStorage, removeStorageSync, request, saveFile, saveImage, scan, sendSocketMessage, setBackgroundColor, setCanPullDown, setClipboard, setKeepScreenOn, setNavigationBar, setScreenBrightness, setStorage, setStorageSync, setTabBarStyle, showActionSheet, showAuthGuide, showLoading, showNavigationBarLoading, showToast, signContract, startBluetoothDevicesDiscovery, startPullDownRefresh, stopBluetoothDevicesDiscovery, stopPullDownRefresh, switchTab, tradePay, uploadFile, vibrate, watchShake, writeBLECharacteristicValue, createSelectorQuery, canIUse, showSharePanel, };
|
|
379
|
-
export { addPhoneContactAsync, alertAsync, chooseImageAsync, choosePhoneContactAsync, clearStorageAsync, closeBluetoothAdapterAsync, closeSocketAsync, confirmAsync, connectBLEDeviceAsync, connectSocketAsync, datePickerAsync, disconnectBLEDeviceAsync, downloadFileAsync, getAuthCodeAsync, getBatteryInfoAsync, getBLEDeviceCharacteristicsAsync, getBLEDeviceServicesAsync, getBluetoothAdapterStateAsync, getBluetoothDevicesAsync, getClipboardAsync, getConnectedBluetoothDevicesAsync, getFileInfoAsync, getImageInfoAsync, getLocationAsync, getNetworkTypeAsync, getOpenUserInfoAsync, getSavedFileInfoAsync, getSavedFileListAsync, getScreenBrightnessAsync, getServerTimeAsync, getSettingAsync, getSiteInfoAsync, getStorageAsync, getSystemInfoAsync, hideBackHomeAsync, hideKeyboardAsync, hideLoadingAsync, hideNavigationBarLoadingAsync, hideTabBarAsync, hideToastAsync, makePhoneCallAsync, multiLevelSelectAsync, navigateBackAsync, navigateBackMiniProgramAsync, navigateToAsync, navigateToMiniProgramAsync, notifyBLECharacteristicValueChangeAsync, openBluetoothAdapterAsync, openDocumentAsync, openSettingAsync, pageScrollToAsync, previewImageAsync, promptAsync, readBLECharacteristicValueAsync, redirectToAsync, reLaunchAsync, removeSavedFileAsync, removeStorageAsync, requestAsync, saveFileAsync, saveImageAsync, scanAsync, sendSocketMessageAsync, setBackgroundColorAsync, setCanPullDownAsync, setClipboardAsync, setKeepScreenOnAsync, setNavigationBarAsync, setScreenBrightnessAsync, setStorageAsync, setTabBarStyleAsync, showActionSheetAsync, showAuthGuideAsync, showLoadingAsync, showNavigationBarLoadingAsync, showToastAsync, signContractAsync, startBluetoothDevicesDiscoveryAsync, startPullDownRefreshAsync, stopBluetoothDevicesDiscoveryAsync, stopPullDownRefreshAsync, switchTabAsync, tradePayAsync, uploadFileAsync, vibrateAsync, watchShakeAsync, writeBLECharacteristicValueAsync, showSharePanelAsync, };
|
|
390
|
+
export { addPhoneContact, alert, chooseImage, choosePhoneContact, clearStorage, clearStorageSync, closeBluetoothAdapter, closeSocket, confirm, connectBLEDevice, connectSocket, createAnimation, createWebViewContext, datePicker, disconnectBLEDevice, downloadFile, getAppIdSync, getAuthCode, getBatteryInfo, getBLEDeviceCharacteristics, getBLEDeviceServices, getBluetoothAdapterState, getBluetoothDevices, getClipboard, getConnectedBluetoothDevices, getFileInfo, getImageInfo, getLocation, getNetworkType, getOpenUserInfo, getSavedFileInfo, getSavedFileList, getScreenBrightness, getServerTime, getSetting, getSiteInfo, getStorage, getStorageSync, getSystemInfo, getSystemInfoSync, hideBackHome, hideKeyboard, hideLoading, hideNavigationBarLoading, hideTabBar, hideToast, makePhoneCall, multiLevelSelect, navigateBack, navigateBackMiniProgram, navigateTo, navigateToMiniProgram, notifyBLECharacteristicValueChange, offAccelerometerChange, offBLECharacteristicValueChange, offBLEConnectionStateChanged, offBluetoothAdapterStateChange, offBluetoothDeviceFound, offCompassChange, offMemoryWarning, offSocketClose, offSocketError, offSocketMessage, offSocketOpen, offUserCaptureScreen, onAccelerometerChange, onBLECharacteristicValueChange, onBLEConnectionStateChanged, onBluetoothAdapterStateChange, onBluetoothDeviceFound, onCompassChange, onMemoryWarning, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, onUserCaptureScreen, openBluetoothAdapter, openDocument, openSetting, pageScrollTo, previewImage, prompt, readBLECharacteristicValue, redirectTo, reLaunch, removeSavedFile, removeStorage, removeStorageSync, request, saveFile, saveImage, scan, sendSocketMessage, setBackgroundColor, setCanPullDown, setClipboard, setKeepScreenOn, setNavigationBar, setScreenBrightness, setStorage, setStorageSync, setTabBarStyle, showActionSheet, showAuthGuide, showLoading, showNavigationBarLoading, showToast, signContract, startBluetoothDevicesDiscovery, startPullDownRefresh, stopBluetoothDevicesDiscovery, stopPullDownRefresh, switchTab, tradePay, uploadFile, vibrate, watchShake, writeBLECharacteristicValue, createSelectorQuery, canIUse, showSharePanel, getEnterOptionsSync, };
|
|
391
|
+
export { addPhoneContactAsync, alertAsync, chooseImageAsync, choosePhoneContactAsync, clearStorageAsync, closeBluetoothAdapterAsync, closeSocketAsync, confirmAsync, connectBLEDeviceAsync, connectSocketAsync, datePickerAsync, disconnectBLEDeviceAsync, downloadFileAsync, getAuthCodeAsync, getBatteryInfoAsync, getBLEDeviceCharacteristicsAsync, getBLEDeviceServicesAsync, getBluetoothAdapterStateAsync, getBluetoothDevicesAsync, getClipboardAsync, getConnectedBluetoothDevicesAsync, getFileInfoAsync, getImageInfoAsync, getLocationAsync, getNetworkTypeAsync, getOpenUserInfoAsync, getSavedFileInfoAsync, getSavedFileListAsync, getScreenBrightnessAsync, getServerTimeAsync, getSettingAsync, getSiteInfoAsync, getStorageAsync, getSystemInfoAsync, hideBackHomeAsync, hideKeyboardAsync, hideLoadingAsync, hideNavigationBarLoadingAsync, hideTabBarAsync, hideToastAsync, makePhoneCallAsync, multiLevelSelectAsync, navigateBackAsync, navigateBackMiniProgramAsync, navigateToAsync, navigateToMiniProgramAsync, notifyBLECharacteristicValueChangeAsync, openBluetoothAdapterAsync, openDocumentAsync, openSettingAsync, pageScrollToAsync, previewImageAsync, promptAsync, readBLECharacteristicValueAsync, redirectToAsync, reLaunchAsync, removeSavedFileAsync, removeStorageAsync, requestAsync, saveFileAsync, saveImageAsync, scanAsync, sendSocketMessageAsync, setBackgroundColorAsync, setCanPullDownAsync, setClipboardAsync, setKeepScreenOnAsync, setNavigationBarAsync, setScreenBrightnessAsync, setStorageAsync, setTabBarStyleAsync, showActionSheetAsync, showAuthGuideAsync, showLoadingAsync, showNavigationBarLoadingAsync, showToastAsync, signContractAsync, startBluetoothDevicesDiscoveryAsync, startPullDownRefreshAsync, stopBluetoothDevicesDiscoveryAsync, stopPullDownRefreshAsync, switchTabAsync, tradePayAsync, uploadFileAsync, vibrateAsync, watchShakeAsync, writeBLECharacteristicValueAsync, showSharePanelAsync, getEnterOptionsSyncAsync, };
|
|
@@ -121,6 +121,7 @@ import { writeBLECharacteristicValue, writeBLECharacteristicValueAsync } from '.
|
|
|
121
121
|
import { createSelectorQuery } from '../../../common/apis/generated/mp/createSelectorQuery';
|
|
122
122
|
import { canIUse } from '../../../common/apis/generated/mp/canIUse';
|
|
123
123
|
import { showSharePanel, showSharePanelAsync } from '../../../common/apis/generated/mp/showSharePanel';
|
|
124
|
+
import { getEnterOptionsSync, getEnterOptionsSyncAsync } from '../../../common/apis/generated/mp/getEnterOptionsSync';
|
|
124
125
|
export default {
|
|
125
126
|
addPhoneContact: addPhoneContact,
|
|
126
127
|
alert: alert,
|
|
@@ -243,7 +244,8 @@ export default {
|
|
|
243
244
|
writeBLECharacteristicValue: writeBLECharacteristicValue,
|
|
244
245
|
createSelectorQuery: createSelectorQuery,
|
|
245
246
|
canIUse: canIUse,
|
|
246
|
-
showSharePanel: showSharePanel
|
|
247
|
+
showSharePanel: showSharePanel,
|
|
248
|
+
getEnterOptionsSync: getEnterOptionsSync
|
|
247
249
|
};
|
|
248
|
-
export { addPhoneContact, alert, chooseImage, choosePhoneContact, clearStorage, clearStorageSync, closeBluetoothAdapter, closeSocket, confirm, connectBLEDevice, connectSocket, createAnimation, createWebViewContext, datePicker, disconnectBLEDevice, downloadFile, getAppIdSync, getAuthCode, getBatteryInfo, getBLEDeviceCharacteristics, getBLEDeviceServices, getBluetoothAdapterState, getBluetoothDevices, getClipboard, getConnectedBluetoothDevices, getFileInfo, getImageInfo, getLocation, getNetworkType, getOpenUserInfo, getSavedFileInfo, getSavedFileList, getScreenBrightness, getServerTime, getSetting, getSiteInfo, getStorage, getStorageSync, getSystemInfo, getSystemInfoSync, hideBackHome, hideKeyboard, hideLoading, hideNavigationBarLoading, hideTabBar, hideToast, makePhoneCall, multiLevelSelect, navigateBack, navigateBackMiniProgram, navigateTo, navigateToMiniProgram, notifyBLECharacteristicValueChange, offAccelerometerChange, offBLECharacteristicValueChange, offBLEConnectionStateChanged, offBluetoothAdapterStateChange, offBluetoothDeviceFound, offCompassChange, offMemoryWarning, offSocketClose, offSocketError, offSocketMessage, offSocketOpen, offUserCaptureScreen, onAccelerometerChange, onBLECharacteristicValueChange, onBLEConnectionStateChanged, onBluetoothAdapterStateChange, onBluetoothDeviceFound, onCompassChange, onMemoryWarning, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, onUserCaptureScreen, openBluetoothAdapter, openDocument, openSetting, pageScrollTo, previewImage, prompt, readBLECharacteristicValue, redirectTo, reLaunch, removeSavedFile, removeStorage, removeStorageSync, request, saveFile, saveImage, scan, sendSocketMessage, setBackgroundColor, setCanPullDown, setClipboard, setKeepScreenOn, setNavigationBar, setScreenBrightness, setStorage, setStorageSync, setTabBarStyle, showActionSheet, showAuthGuide, showLoading, showNavigationBarLoading, showToast, signContract, startBluetoothDevicesDiscovery, startPullDownRefresh, stopBluetoothDevicesDiscovery, stopPullDownRefresh, switchTab, tradePay, uploadFile, vibrate, watchShake, writeBLECharacteristicValue, createSelectorQuery, canIUse, showSharePanel };
|
|
249
|
-
export { addPhoneContactAsync, alertAsync, chooseImageAsync, choosePhoneContactAsync, clearStorageAsync, closeBluetoothAdapterAsync, closeSocketAsync, confirmAsync, connectBLEDeviceAsync, connectSocketAsync, datePickerAsync, disconnectBLEDeviceAsync, downloadFileAsync, getAuthCodeAsync, getBatteryInfoAsync, getBLEDeviceCharacteristicsAsync, getBLEDeviceServicesAsync, getBluetoothAdapterStateAsync, getBluetoothDevicesAsync, getClipboardAsync, getConnectedBluetoothDevicesAsync, getFileInfoAsync, getImageInfoAsync, getLocationAsync, getNetworkTypeAsync, getOpenUserInfoAsync, getSavedFileInfoAsync, getSavedFileListAsync, getScreenBrightnessAsync, getServerTimeAsync, getSettingAsync, getSiteInfoAsync, getStorageAsync, getSystemInfoAsync, hideBackHomeAsync, hideKeyboardAsync, hideLoadingAsync, hideNavigationBarLoadingAsync, hideTabBarAsync, hideToastAsync, makePhoneCallAsync, multiLevelSelectAsync, navigateBackAsync, navigateBackMiniProgramAsync, navigateToAsync, navigateToMiniProgramAsync, notifyBLECharacteristicValueChangeAsync, openBluetoothAdapterAsync, openDocumentAsync, openSettingAsync, pageScrollToAsync, previewImageAsync, promptAsync, readBLECharacteristicValueAsync, redirectToAsync, reLaunchAsync, removeSavedFileAsync, removeStorageAsync, requestAsync, saveFileAsync, saveImageAsync, scanAsync, sendSocketMessageAsync, setBackgroundColorAsync, setCanPullDownAsync, setClipboardAsync, setKeepScreenOnAsync, setNavigationBarAsync, setScreenBrightnessAsync, setStorageAsync, setTabBarStyleAsync, showActionSheetAsync, showAuthGuideAsync, showLoadingAsync, showNavigationBarLoadingAsync, showToastAsync, signContractAsync, startBluetoothDevicesDiscoveryAsync, startPullDownRefreshAsync, stopBluetoothDevicesDiscoveryAsync, stopPullDownRefreshAsync, switchTabAsync, tradePayAsync, uploadFileAsync, vibrateAsync, watchShakeAsync, writeBLECharacteristicValueAsync, showSharePanelAsync };
|
|
250
|
+
export { addPhoneContact, alert, chooseImage, choosePhoneContact, clearStorage, clearStorageSync, closeBluetoothAdapter, closeSocket, confirm, connectBLEDevice, connectSocket, createAnimation, createWebViewContext, datePicker, disconnectBLEDevice, downloadFile, getAppIdSync, getAuthCode, getBatteryInfo, getBLEDeviceCharacteristics, getBLEDeviceServices, getBluetoothAdapterState, getBluetoothDevices, getClipboard, getConnectedBluetoothDevices, getFileInfo, getImageInfo, getLocation, getNetworkType, getOpenUserInfo, getSavedFileInfo, getSavedFileList, getScreenBrightness, getServerTime, getSetting, getSiteInfo, getStorage, getStorageSync, getSystemInfo, getSystemInfoSync, hideBackHome, hideKeyboard, hideLoading, hideNavigationBarLoading, hideTabBar, hideToast, makePhoneCall, multiLevelSelect, navigateBack, navigateBackMiniProgram, navigateTo, navigateToMiniProgram, notifyBLECharacteristicValueChange, offAccelerometerChange, offBLECharacteristicValueChange, offBLEConnectionStateChanged, offBluetoothAdapterStateChange, offBluetoothDeviceFound, offCompassChange, offMemoryWarning, offSocketClose, offSocketError, offSocketMessage, offSocketOpen, offUserCaptureScreen, onAccelerometerChange, onBLECharacteristicValueChange, onBLEConnectionStateChanged, onBluetoothAdapterStateChange, onBluetoothDeviceFound, onCompassChange, onMemoryWarning, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, onUserCaptureScreen, openBluetoothAdapter, openDocument, openSetting, pageScrollTo, previewImage, prompt, readBLECharacteristicValue, redirectTo, reLaunch, removeSavedFile, removeStorage, removeStorageSync, request, saveFile, saveImage, scan, sendSocketMessage, setBackgroundColor, setCanPullDown, setClipboard, setKeepScreenOn, setNavigationBar, setScreenBrightness, setStorage, setStorageSync, setTabBarStyle, showActionSheet, showAuthGuide, showLoading, showNavigationBarLoading, showToast, signContract, startBluetoothDevicesDiscovery, startPullDownRefresh, stopBluetoothDevicesDiscovery, stopPullDownRefresh, switchTab, tradePay, uploadFile, vibrate, watchShake, writeBLECharacteristicValue, createSelectorQuery, canIUse, showSharePanel, getEnterOptionsSync };
|
|
251
|
+
export { addPhoneContactAsync, alertAsync, chooseImageAsync, choosePhoneContactAsync, clearStorageAsync, closeBluetoothAdapterAsync, closeSocketAsync, confirmAsync, connectBLEDeviceAsync, connectSocketAsync, datePickerAsync, disconnectBLEDeviceAsync, downloadFileAsync, getAuthCodeAsync, getBatteryInfoAsync, getBLEDeviceCharacteristicsAsync, getBLEDeviceServicesAsync, getBluetoothAdapterStateAsync, getBluetoothDevicesAsync, getClipboardAsync, getConnectedBluetoothDevicesAsync, getFileInfoAsync, getImageInfoAsync, getLocationAsync, getNetworkTypeAsync, getOpenUserInfoAsync, getSavedFileInfoAsync, getSavedFileListAsync, getScreenBrightnessAsync, getServerTimeAsync, getSettingAsync, getSiteInfoAsync, getStorageAsync, getSystemInfoAsync, hideBackHomeAsync, hideKeyboardAsync, hideLoadingAsync, hideNavigationBarLoadingAsync, hideTabBarAsync, hideToastAsync, makePhoneCallAsync, multiLevelSelectAsync, navigateBackAsync, navigateBackMiniProgramAsync, navigateToAsync, navigateToMiniProgramAsync, notifyBLECharacteristicValueChangeAsync, openBluetoothAdapterAsync, openDocumentAsync, openSettingAsync, pageScrollToAsync, previewImageAsync, promptAsync, readBLECharacteristicValueAsync, redirectToAsync, reLaunchAsync, removeSavedFileAsync, removeStorageAsync, requestAsync, saveFileAsync, saveImageAsync, scanAsync, sendSocketMessageAsync, setBackgroundColorAsync, setCanPullDownAsync, setClipboardAsync, setKeepScreenOnAsync, setNavigationBarAsync, setScreenBrightnessAsync, setStorageAsync, setTabBarStyleAsync, showActionSheetAsync, showAuthGuideAsync, showLoadingAsync, showNavigationBarLoadingAsync, showToastAsync, signContractAsync, startBluetoothDevicesDiscoveryAsync, startPullDownRefreshAsync, stopBluetoothDevicesDiscoveryAsync, stopPullDownRefreshAsync, switchTabAsync, tradePayAsync, uploadFileAsync, vibrateAsync, watchShakeAsync, writeBLECharacteristicValueAsync, showSharePanelAsync, getEnterOptionsSyncAsync };
|
|
@@ -120,6 +120,7 @@ import { writeBLECharacteristicValue, writeBLECharacteristicValueAsync } from '.
|
|
|
120
120
|
import { createSelectorQuery } from '../../../common/apis/generated/mp/createSelectorQuery';
|
|
121
121
|
import { canIUse } from '../../../common/apis/generated/mp/canIUse';
|
|
122
122
|
import { showSharePanel, showSharePanelAsync } from '../../../common/apis/generated/mp/showSharePanel';
|
|
123
|
+
import { getEnterOptionsSync, getEnterOptionsSyncAsync } from '../../../common/apis/generated/mp/getEnterOptionsSync';
|
|
123
124
|
declare const _default: {
|
|
124
125
|
addPhoneContact: (args: Partial<AddPhoneContactArgs>) => void;
|
|
125
126
|
alert: (args?: AlertArgs | undefined) => void;
|
|
@@ -373,7 +374,18 @@ declare const _default: {
|
|
|
373
374
|
createSelectorQuery: () => SelectorQuery;
|
|
374
375
|
canIUse: (args: string) => boolean;
|
|
375
376
|
showSharePanel: (args?: any) => void;
|
|
377
|
+
getEnterOptionsSync: (args: import("@hylid/types").AsyncCallback<{
|
|
378
|
+
path?: string | undefined;
|
|
379
|
+
query?: Record<string, unknown> | undefined;
|
|
380
|
+
referrerInfo?: {
|
|
381
|
+
appId: string;
|
|
382
|
+
sourceServiceId?: string | undefined;
|
|
383
|
+
extraData: Record<string, unknown>;
|
|
384
|
+
} | undefined;
|
|
385
|
+
scene?: number | undefined;
|
|
386
|
+
apiCategory?: "default" | "embedded" | undefined;
|
|
387
|
+
}>) => void;
|
|
376
388
|
};
|
|
377
389
|
export default _default;
|
|
378
|
-
export { addPhoneContact, alert, chooseImage, choosePhoneContact, clearStorage, clearStorageSync, closeBluetoothAdapter, closeSocket, confirm, connectBLEDevice, connectSocket, createAnimation, createWebViewContext, datePicker, disconnectBLEDevice, downloadFile, getAppIdSync, getAuthCode, getBatteryInfo, getBLEDeviceCharacteristics, getBLEDeviceServices, getBluetoothAdapterState, getBluetoothDevices, getClipboard, getConnectedBluetoothDevices, getFileInfo, getImageInfo, getLocation, getNetworkType, getOpenUserInfo, getSavedFileInfo, getSavedFileList, getScreenBrightness, getServerTime, getSetting, getSiteInfo, getStorage, getStorageSync, getSystemInfo, getSystemInfoSync, hideBackHome, hideKeyboard, hideLoading, hideNavigationBarLoading, hideTabBar, hideToast, makePhoneCall, multiLevelSelect, navigateBack, navigateBackMiniProgram, navigateTo, navigateToMiniProgram, notifyBLECharacteristicValueChange, offAccelerometerChange, offBLECharacteristicValueChange, offBLEConnectionStateChanged, offBluetoothAdapterStateChange, offBluetoothDeviceFound, offCompassChange, offMemoryWarning, offSocketClose, offSocketError, offSocketMessage, offSocketOpen, offUserCaptureScreen, onAccelerometerChange, onBLECharacteristicValueChange, onBLEConnectionStateChanged, onBluetoothAdapterStateChange, onBluetoothDeviceFound, onCompassChange, onMemoryWarning, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, onUserCaptureScreen, openBluetoothAdapter, openDocument, openSetting, pageScrollTo, previewImage, prompt, readBLECharacteristicValue, redirectTo, reLaunch, removeSavedFile, removeStorage, removeStorageSync, request, saveFile, saveImage, scan, sendSocketMessage, setBackgroundColor, setCanPullDown, setClipboard, setKeepScreenOn, setNavigationBar, setScreenBrightness, setStorage, setStorageSync, setTabBarStyle, showActionSheet, showAuthGuide, showLoading, showNavigationBarLoading, showToast, signContract, startBluetoothDevicesDiscovery, startPullDownRefresh, stopBluetoothDevicesDiscovery, stopPullDownRefresh, switchTab, tradePay, uploadFile, vibrate, watchShake, writeBLECharacteristicValue, createSelectorQuery, canIUse, showSharePanel, };
|
|
379
|
-
export { addPhoneContactAsync, alertAsync, chooseImageAsync, choosePhoneContactAsync, clearStorageAsync, closeBluetoothAdapterAsync, closeSocketAsync, confirmAsync, connectBLEDeviceAsync, connectSocketAsync, datePickerAsync, disconnectBLEDeviceAsync, downloadFileAsync, getAuthCodeAsync, getBatteryInfoAsync, getBLEDeviceCharacteristicsAsync, getBLEDeviceServicesAsync, getBluetoothAdapterStateAsync, getBluetoothDevicesAsync, getClipboardAsync, getConnectedBluetoothDevicesAsync, getFileInfoAsync, getImageInfoAsync, getLocationAsync, getNetworkTypeAsync, getOpenUserInfoAsync, getSavedFileInfoAsync, getSavedFileListAsync, getScreenBrightnessAsync, getServerTimeAsync, getSettingAsync, getSiteInfoAsync, getStorageAsync, getSystemInfoAsync, hideBackHomeAsync, hideKeyboardAsync, hideLoadingAsync, hideNavigationBarLoadingAsync, hideTabBarAsync, hideToastAsync, makePhoneCallAsync, multiLevelSelectAsync, navigateBackAsync, navigateBackMiniProgramAsync, navigateToAsync, navigateToMiniProgramAsync, notifyBLECharacteristicValueChangeAsync, openBluetoothAdapterAsync, openDocumentAsync, openSettingAsync, pageScrollToAsync, previewImageAsync, promptAsync, readBLECharacteristicValueAsync, redirectToAsync, reLaunchAsync, removeSavedFileAsync, removeStorageAsync, requestAsync, saveFileAsync, saveImageAsync, scanAsync, sendSocketMessageAsync, setBackgroundColorAsync, setCanPullDownAsync, setClipboardAsync, setKeepScreenOnAsync, setNavigationBarAsync, setScreenBrightnessAsync, setStorageAsync, setTabBarStyleAsync, showActionSheetAsync, showAuthGuideAsync, showLoadingAsync, showNavigationBarLoadingAsync, showToastAsync, signContractAsync, startBluetoothDevicesDiscoveryAsync, startPullDownRefreshAsync, stopBluetoothDevicesDiscoveryAsync, stopPullDownRefreshAsync, switchTabAsync, tradePayAsync, uploadFileAsync, vibrateAsync, watchShakeAsync, writeBLECharacteristicValueAsync, showSharePanelAsync, };
|
|
390
|
+
export { addPhoneContact, alert, chooseImage, choosePhoneContact, clearStorage, clearStorageSync, closeBluetoothAdapter, closeSocket, confirm, connectBLEDevice, connectSocket, createAnimation, createWebViewContext, datePicker, disconnectBLEDevice, downloadFile, getAppIdSync, getAuthCode, getBatteryInfo, getBLEDeviceCharacteristics, getBLEDeviceServices, getBluetoothAdapterState, getBluetoothDevices, getClipboard, getConnectedBluetoothDevices, getFileInfo, getImageInfo, getLocation, getNetworkType, getOpenUserInfo, getSavedFileInfo, getSavedFileList, getScreenBrightness, getServerTime, getSetting, getSiteInfo, getStorage, getStorageSync, getSystemInfo, getSystemInfoSync, hideBackHome, hideKeyboard, hideLoading, hideNavigationBarLoading, hideTabBar, hideToast, makePhoneCall, multiLevelSelect, navigateBack, navigateBackMiniProgram, navigateTo, navigateToMiniProgram, notifyBLECharacteristicValueChange, offAccelerometerChange, offBLECharacteristicValueChange, offBLEConnectionStateChanged, offBluetoothAdapterStateChange, offBluetoothDeviceFound, offCompassChange, offMemoryWarning, offSocketClose, offSocketError, offSocketMessage, offSocketOpen, offUserCaptureScreen, onAccelerometerChange, onBLECharacteristicValueChange, onBLEConnectionStateChanged, onBluetoothAdapterStateChange, onBluetoothDeviceFound, onCompassChange, onMemoryWarning, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, onUserCaptureScreen, openBluetoothAdapter, openDocument, openSetting, pageScrollTo, previewImage, prompt, readBLECharacteristicValue, redirectTo, reLaunch, removeSavedFile, removeStorage, removeStorageSync, request, saveFile, saveImage, scan, sendSocketMessage, setBackgroundColor, setCanPullDown, setClipboard, setKeepScreenOn, setNavigationBar, setScreenBrightness, setStorage, setStorageSync, setTabBarStyle, showActionSheet, showAuthGuide, showLoading, showNavigationBarLoading, showToast, signContract, startBluetoothDevicesDiscovery, startPullDownRefresh, stopBluetoothDevicesDiscovery, stopPullDownRefresh, switchTab, tradePay, uploadFile, vibrate, watchShake, writeBLECharacteristicValue, createSelectorQuery, canIUse, showSharePanel, getEnterOptionsSync, };
|
|
391
|
+
export { addPhoneContactAsync, alertAsync, chooseImageAsync, choosePhoneContactAsync, clearStorageAsync, closeBluetoothAdapterAsync, closeSocketAsync, confirmAsync, connectBLEDeviceAsync, connectSocketAsync, datePickerAsync, disconnectBLEDeviceAsync, downloadFileAsync, getAuthCodeAsync, getBatteryInfoAsync, getBLEDeviceCharacteristicsAsync, getBLEDeviceServicesAsync, getBluetoothAdapterStateAsync, getBluetoothDevicesAsync, getClipboardAsync, getConnectedBluetoothDevicesAsync, getFileInfoAsync, getImageInfoAsync, getLocationAsync, getNetworkTypeAsync, getOpenUserInfoAsync, getSavedFileInfoAsync, getSavedFileListAsync, getScreenBrightnessAsync, getServerTimeAsync, getSettingAsync, getSiteInfoAsync, getStorageAsync, getSystemInfoAsync, hideBackHomeAsync, hideKeyboardAsync, hideLoadingAsync, hideNavigationBarLoadingAsync, hideTabBarAsync, hideToastAsync, makePhoneCallAsync, multiLevelSelectAsync, navigateBackAsync, navigateBackMiniProgramAsync, navigateToAsync, navigateToMiniProgramAsync, notifyBLECharacteristicValueChangeAsync, openBluetoothAdapterAsync, openDocumentAsync, openSettingAsync, pageScrollToAsync, previewImageAsync, promptAsync, readBLECharacteristicValueAsync, redirectToAsync, reLaunchAsync, removeSavedFileAsync, removeStorageAsync, requestAsync, saveFileAsync, saveImageAsync, scanAsync, sendSocketMessageAsync, setBackgroundColorAsync, setCanPullDownAsync, setClipboardAsync, setKeepScreenOnAsync, setNavigationBarAsync, setScreenBrightnessAsync, setStorageAsync, setTabBarStyleAsync, showActionSheetAsync, showAuthGuideAsync, showLoadingAsync, showNavigationBarLoadingAsync, showToastAsync, signContractAsync, startBluetoothDevicesDiscoveryAsync, startPullDownRefreshAsync, stopBluetoothDevicesDiscoveryAsync, stopPullDownRefreshAsync, switchTabAsync, tradePayAsync, uploadFileAsync, vibrateAsync, watchShakeAsync, writeBLECharacteristicValueAsync, showSharePanelAsync, getEnterOptionsSyncAsync, };
|
|
@@ -121,6 +121,7 @@ import { writeBLECharacteristicValue, writeBLECharacteristicValueAsync } from '.
|
|
|
121
121
|
import { createSelectorQuery } from '../../../common/apis/generated/mp/createSelectorQuery';
|
|
122
122
|
import { canIUse } from '../../../common/apis/generated/mp/canIUse';
|
|
123
123
|
import { showSharePanel, showSharePanelAsync } from '../../../common/apis/generated/mp/showSharePanel';
|
|
124
|
+
import { getEnterOptionsSync, getEnterOptionsSyncAsync } from '../../../common/apis/generated/mp/getEnterOptionsSync';
|
|
124
125
|
export default {
|
|
125
126
|
addPhoneContact: addPhoneContact,
|
|
126
127
|
alert: alert,
|
|
@@ -243,7 +244,8 @@ export default {
|
|
|
243
244
|
writeBLECharacteristicValue: writeBLECharacteristicValue,
|
|
244
245
|
createSelectorQuery: createSelectorQuery,
|
|
245
246
|
canIUse: canIUse,
|
|
246
|
-
showSharePanel: showSharePanel
|
|
247
|
+
showSharePanel: showSharePanel,
|
|
248
|
+
getEnterOptionsSync: getEnterOptionsSync
|
|
247
249
|
};
|
|
248
|
-
export { addPhoneContact, alert, chooseImage, choosePhoneContact, clearStorage, clearStorageSync, closeBluetoothAdapter, closeSocket, confirm, connectBLEDevice, connectSocket, createAnimation, createWebViewContext, datePicker, disconnectBLEDevice, downloadFile, getAppIdSync, getAuthCode, getBatteryInfo, getBLEDeviceCharacteristics, getBLEDeviceServices, getBluetoothAdapterState, getBluetoothDevices, getClipboard, getConnectedBluetoothDevices, getFileInfo, getImageInfo, getLocation, getNetworkType, getOpenUserInfo, getSavedFileInfo, getSavedFileList, getScreenBrightness, getServerTime, getSetting, getSiteInfo, getStorage, getStorageSync, getSystemInfo, getSystemInfoSync, hideBackHome, hideKeyboard, hideLoading, hideNavigationBarLoading, hideTabBar, hideToast, makePhoneCall, multiLevelSelect, navigateBack, navigateBackMiniProgram, navigateTo, navigateToMiniProgram, notifyBLECharacteristicValueChange, offAccelerometerChange, offBLECharacteristicValueChange, offBLEConnectionStateChanged, offBluetoothAdapterStateChange, offBluetoothDeviceFound, offCompassChange, offMemoryWarning, offSocketClose, offSocketError, offSocketMessage, offSocketOpen, offUserCaptureScreen, onAccelerometerChange, onBLECharacteristicValueChange, onBLEConnectionStateChanged, onBluetoothAdapterStateChange, onBluetoothDeviceFound, onCompassChange, onMemoryWarning, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, onUserCaptureScreen, openBluetoothAdapter, openDocument, openSetting, pageScrollTo, previewImage, prompt, readBLECharacteristicValue, redirectTo, reLaunch, removeSavedFile, removeStorage, removeStorageSync, request, saveFile, saveImage, scan, sendSocketMessage, setBackgroundColor, setCanPullDown, setClipboard, setKeepScreenOn, setNavigationBar, setScreenBrightness, setStorage, setStorageSync, setTabBarStyle, showActionSheet, showAuthGuide, showLoading, showNavigationBarLoading, showToast, signContract, startBluetoothDevicesDiscovery, startPullDownRefresh, stopBluetoothDevicesDiscovery, stopPullDownRefresh, switchTab, tradePay, uploadFile, vibrate, watchShake, writeBLECharacteristicValue, createSelectorQuery, canIUse, showSharePanel };
|
|
249
|
-
export { addPhoneContactAsync, alertAsync, chooseImageAsync, choosePhoneContactAsync, clearStorageAsync, closeBluetoothAdapterAsync, closeSocketAsync, confirmAsync, connectBLEDeviceAsync, connectSocketAsync, datePickerAsync, disconnectBLEDeviceAsync, downloadFileAsync, getAuthCodeAsync, getBatteryInfoAsync, getBLEDeviceCharacteristicsAsync, getBLEDeviceServicesAsync, getBluetoothAdapterStateAsync, getBluetoothDevicesAsync, getClipboardAsync, getConnectedBluetoothDevicesAsync, getFileInfoAsync, getImageInfoAsync, getLocationAsync, getNetworkTypeAsync, getOpenUserInfoAsync, getSavedFileInfoAsync, getSavedFileListAsync, getScreenBrightnessAsync, getServerTimeAsync, getSettingAsync, getSiteInfoAsync, getStorageAsync, getSystemInfoAsync, hideBackHomeAsync, hideKeyboardAsync, hideLoadingAsync, hideNavigationBarLoadingAsync, hideTabBarAsync, hideToastAsync, makePhoneCallAsync, multiLevelSelectAsync, navigateBackAsync, navigateBackMiniProgramAsync, navigateToAsync, navigateToMiniProgramAsync, notifyBLECharacteristicValueChangeAsync, openBluetoothAdapterAsync, openDocumentAsync, openSettingAsync, pageScrollToAsync, previewImageAsync, promptAsync, readBLECharacteristicValueAsync, redirectToAsync, reLaunchAsync, removeSavedFileAsync, removeStorageAsync, requestAsync, saveFileAsync, saveImageAsync, scanAsync, sendSocketMessageAsync, setBackgroundColorAsync, setCanPullDownAsync, setClipboardAsync, setKeepScreenOnAsync, setNavigationBarAsync, setScreenBrightnessAsync, setStorageAsync, setTabBarStyleAsync, showActionSheetAsync, showAuthGuideAsync, showLoadingAsync, showNavigationBarLoadingAsync, showToastAsync, signContractAsync, startBluetoothDevicesDiscoveryAsync, startPullDownRefreshAsync, stopBluetoothDevicesDiscoveryAsync, stopPullDownRefreshAsync, switchTabAsync, tradePayAsync, uploadFileAsync, vibrateAsync, watchShakeAsync, writeBLECharacteristicValueAsync, showSharePanelAsync };
|
|
250
|
+
export { addPhoneContact, alert, chooseImage, choosePhoneContact, clearStorage, clearStorageSync, closeBluetoothAdapter, closeSocket, confirm, connectBLEDevice, connectSocket, createAnimation, createWebViewContext, datePicker, disconnectBLEDevice, downloadFile, getAppIdSync, getAuthCode, getBatteryInfo, getBLEDeviceCharacteristics, getBLEDeviceServices, getBluetoothAdapterState, getBluetoothDevices, getClipboard, getConnectedBluetoothDevices, getFileInfo, getImageInfo, getLocation, getNetworkType, getOpenUserInfo, getSavedFileInfo, getSavedFileList, getScreenBrightness, getServerTime, getSetting, getSiteInfo, getStorage, getStorageSync, getSystemInfo, getSystemInfoSync, hideBackHome, hideKeyboard, hideLoading, hideNavigationBarLoading, hideTabBar, hideToast, makePhoneCall, multiLevelSelect, navigateBack, navigateBackMiniProgram, navigateTo, navigateToMiniProgram, notifyBLECharacteristicValueChange, offAccelerometerChange, offBLECharacteristicValueChange, offBLEConnectionStateChanged, offBluetoothAdapterStateChange, offBluetoothDeviceFound, offCompassChange, offMemoryWarning, offSocketClose, offSocketError, offSocketMessage, offSocketOpen, offUserCaptureScreen, onAccelerometerChange, onBLECharacteristicValueChange, onBLEConnectionStateChanged, onBluetoothAdapterStateChange, onBluetoothDeviceFound, onCompassChange, onMemoryWarning, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, onUserCaptureScreen, openBluetoothAdapter, openDocument, openSetting, pageScrollTo, previewImage, prompt, readBLECharacteristicValue, redirectTo, reLaunch, removeSavedFile, removeStorage, removeStorageSync, request, saveFile, saveImage, scan, sendSocketMessage, setBackgroundColor, setCanPullDown, setClipboard, setKeepScreenOn, setNavigationBar, setScreenBrightness, setStorage, setStorageSync, setTabBarStyle, showActionSheet, showAuthGuide, showLoading, showNavigationBarLoading, showToast, signContract, startBluetoothDevicesDiscovery, startPullDownRefresh, stopBluetoothDevicesDiscovery, stopPullDownRefresh, switchTab, tradePay, uploadFile, vibrate, watchShake, writeBLECharacteristicValue, createSelectorQuery, canIUse, showSharePanel, getEnterOptionsSync };
|
|
251
|
+
export { addPhoneContactAsync, alertAsync, chooseImageAsync, choosePhoneContactAsync, clearStorageAsync, closeBluetoothAdapterAsync, closeSocketAsync, confirmAsync, connectBLEDeviceAsync, connectSocketAsync, datePickerAsync, disconnectBLEDeviceAsync, downloadFileAsync, getAuthCodeAsync, getBatteryInfoAsync, getBLEDeviceCharacteristicsAsync, getBLEDeviceServicesAsync, getBluetoothAdapterStateAsync, getBluetoothDevicesAsync, getClipboardAsync, getConnectedBluetoothDevicesAsync, getFileInfoAsync, getImageInfoAsync, getLocationAsync, getNetworkTypeAsync, getOpenUserInfoAsync, getSavedFileInfoAsync, getSavedFileListAsync, getScreenBrightnessAsync, getServerTimeAsync, getSettingAsync, getSiteInfoAsync, getStorageAsync, getSystemInfoAsync, hideBackHomeAsync, hideKeyboardAsync, hideLoadingAsync, hideNavigationBarLoadingAsync, hideTabBarAsync, hideToastAsync, makePhoneCallAsync, multiLevelSelectAsync, navigateBackAsync, navigateBackMiniProgramAsync, navigateToAsync, navigateToMiniProgramAsync, notifyBLECharacteristicValueChangeAsync, openBluetoothAdapterAsync, openDocumentAsync, openSettingAsync, pageScrollToAsync, previewImageAsync, promptAsync, readBLECharacteristicValueAsync, redirectToAsync, reLaunchAsync, removeSavedFileAsync, removeStorageAsync, requestAsync, saveFileAsync, saveImageAsync, scanAsync, sendSocketMessageAsync, setBackgroundColorAsync, setCanPullDownAsync, setClipboardAsync, setKeepScreenOnAsync, setNavigationBarAsync, setScreenBrightnessAsync, setStorageAsync, setTabBarStyleAsync, showActionSheetAsync, showAuthGuideAsync, showLoadingAsync, showNavigationBarLoadingAsync, showToastAsync, signContractAsync, startBluetoothDevicesDiscoveryAsync, startPullDownRefreshAsync, stopBluetoothDevicesDiscoveryAsync, stopPullDownRefreshAsync, switchTabAsync, tradePayAsync, uploadFileAsync, vibrateAsync, watchShakeAsync, writeBLECharacteristicValueAsync, showSharePanelAsync, getEnterOptionsSyncAsync };
|
|
@@ -120,6 +120,7 @@ import { writeBLECharacteristicValue, writeBLECharacteristicValueAsync } from '.
|
|
|
120
120
|
import { createSelectorQuery } from '../../../common/apis/generated/mp/createSelectorQuery';
|
|
121
121
|
import { canIUse } from '../../../common/apis/generated/mp/canIUse';
|
|
122
122
|
import { showSharePanel, showSharePanelAsync } from '../../../common/apis/generated/mp/showSharePanel';
|
|
123
|
+
import { getEnterOptionsSync, getEnterOptionsSyncAsync } from '../../../common/apis/generated/mp/getEnterOptionsSync';
|
|
123
124
|
declare const _default: {
|
|
124
125
|
addPhoneContact: (args: Partial<AddPhoneContactArgs>) => void;
|
|
125
126
|
alert: (args?: AlertArgs | undefined) => void;
|
|
@@ -373,7 +374,18 @@ declare const _default: {
|
|
|
373
374
|
createSelectorQuery: () => SelectorQuery;
|
|
374
375
|
canIUse: (args: string) => boolean;
|
|
375
376
|
showSharePanel: (args?: any) => void;
|
|
377
|
+
getEnterOptionsSync: (args: import("@hylid/types").AsyncCallback<{
|
|
378
|
+
path?: string | undefined;
|
|
379
|
+
query?: Record<string, unknown> | undefined;
|
|
380
|
+
referrerInfo?: {
|
|
381
|
+
appId: string;
|
|
382
|
+
sourceServiceId?: string | undefined;
|
|
383
|
+
extraData: Record<string, unknown>;
|
|
384
|
+
} | undefined;
|
|
385
|
+
scene?: number | undefined;
|
|
386
|
+
apiCategory?: "default" | "embedded" | undefined;
|
|
387
|
+
}>) => void;
|
|
376
388
|
};
|
|
377
389
|
export default _default;
|
|
378
|
-
export { addPhoneContact, alert, chooseImage, choosePhoneContact, clearStorage, clearStorageSync, closeBluetoothAdapter, closeSocket, confirm, connectBLEDevice, connectSocket, createAnimation, createWebViewContext, datePicker, disconnectBLEDevice, downloadFile, getAppIdSync, getAuthCode, getBatteryInfo, getBLEDeviceCharacteristics, getBLEDeviceServices, getBluetoothAdapterState, getBluetoothDevices, getClipboard, getConnectedBluetoothDevices, getFileInfo, getImageInfo, getLocation, getNetworkType, getOpenUserInfo, getSavedFileInfo, getSavedFileList, getScreenBrightness, getServerTime, getSetting, getSiteInfo, getStorage, getStorageSync, getSystemInfo, getSystemInfoSync, hideBackHome, hideKeyboard, hideLoading, hideNavigationBarLoading, hideTabBar, hideToast, makePhoneCall, multiLevelSelect, navigateBack, navigateBackMiniProgram, navigateTo, navigateToMiniProgram, notifyBLECharacteristicValueChange, offAccelerometerChange, offBLECharacteristicValueChange, offBLEConnectionStateChanged, offBluetoothAdapterStateChange, offBluetoothDeviceFound, offCompassChange, offMemoryWarning, offSocketClose, offSocketError, offSocketMessage, offSocketOpen, offUserCaptureScreen, onAccelerometerChange, onBLECharacteristicValueChange, onBLEConnectionStateChanged, onBluetoothAdapterStateChange, onBluetoothDeviceFound, onCompassChange, onMemoryWarning, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, onUserCaptureScreen, openBluetoothAdapter, openDocument, openSetting, pageScrollTo, previewImage, prompt, readBLECharacteristicValue, redirectTo, reLaunch, removeSavedFile, removeStorage, removeStorageSync, request, saveFile, saveImage, scan, sendSocketMessage, setBackgroundColor, setCanPullDown, setClipboard, setKeepScreenOn, setNavigationBar, setScreenBrightness, setStorage, setStorageSync, setTabBarStyle, showActionSheet, showAuthGuide, showLoading, showNavigationBarLoading, showToast, signContract, startBluetoothDevicesDiscovery, startPullDownRefresh, stopBluetoothDevicesDiscovery, stopPullDownRefresh, switchTab, tradePay, uploadFile, vibrate, watchShake, writeBLECharacteristicValue, createSelectorQuery, canIUse, showSharePanel, };
|
|
379
|
-
export { addPhoneContactAsync, alertAsync, chooseImageAsync, choosePhoneContactAsync, clearStorageAsync, closeBluetoothAdapterAsync, closeSocketAsync, confirmAsync, connectBLEDeviceAsync, connectSocketAsync, datePickerAsync, disconnectBLEDeviceAsync, downloadFileAsync, getAuthCodeAsync, getBatteryInfoAsync, getBLEDeviceCharacteristicsAsync, getBLEDeviceServicesAsync, getBluetoothAdapterStateAsync, getBluetoothDevicesAsync, getClipboardAsync, getConnectedBluetoothDevicesAsync, getFileInfoAsync, getImageInfoAsync, getLocationAsync, getNetworkTypeAsync, getOpenUserInfoAsync, getSavedFileInfoAsync, getSavedFileListAsync, getScreenBrightnessAsync, getServerTimeAsync, getSettingAsync, getSiteInfoAsync, getStorageAsync, getSystemInfoAsync, hideBackHomeAsync, hideKeyboardAsync, hideLoadingAsync, hideNavigationBarLoadingAsync, hideTabBarAsync, hideToastAsync, makePhoneCallAsync, multiLevelSelectAsync, navigateBackAsync, navigateBackMiniProgramAsync, navigateToAsync, navigateToMiniProgramAsync, notifyBLECharacteristicValueChangeAsync, openBluetoothAdapterAsync, openDocumentAsync, openSettingAsync, pageScrollToAsync, previewImageAsync, promptAsync, readBLECharacteristicValueAsync, redirectToAsync, reLaunchAsync, removeSavedFileAsync, removeStorageAsync, requestAsync, saveFileAsync, saveImageAsync, scanAsync, sendSocketMessageAsync, setBackgroundColorAsync, setCanPullDownAsync, setClipboardAsync, setKeepScreenOnAsync, setNavigationBarAsync, setScreenBrightnessAsync, setStorageAsync, setTabBarStyleAsync, showActionSheetAsync, showAuthGuideAsync, showLoadingAsync, showNavigationBarLoadingAsync, showToastAsync, signContractAsync, startBluetoothDevicesDiscoveryAsync, startPullDownRefreshAsync, stopBluetoothDevicesDiscoveryAsync, stopPullDownRefreshAsync, switchTabAsync, tradePayAsync, uploadFileAsync, vibrateAsync, watchShakeAsync, writeBLECharacteristicValueAsync, showSharePanelAsync, };
|
|
390
|
+
export { addPhoneContact, alert, chooseImage, choosePhoneContact, clearStorage, clearStorageSync, closeBluetoothAdapter, closeSocket, confirm, connectBLEDevice, connectSocket, createAnimation, createWebViewContext, datePicker, disconnectBLEDevice, downloadFile, getAppIdSync, getAuthCode, getBatteryInfo, getBLEDeviceCharacteristics, getBLEDeviceServices, getBluetoothAdapterState, getBluetoothDevices, getClipboard, getConnectedBluetoothDevices, getFileInfo, getImageInfo, getLocation, getNetworkType, getOpenUserInfo, getSavedFileInfo, getSavedFileList, getScreenBrightness, getServerTime, getSetting, getSiteInfo, getStorage, getStorageSync, getSystemInfo, getSystemInfoSync, hideBackHome, hideKeyboard, hideLoading, hideNavigationBarLoading, hideTabBar, hideToast, makePhoneCall, multiLevelSelect, navigateBack, navigateBackMiniProgram, navigateTo, navigateToMiniProgram, notifyBLECharacteristicValueChange, offAccelerometerChange, offBLECharacteristicValueChange, offBLEConnectionStateChanged, offBluetoothAdapterStateChange, offBluetoothDeviceFound, offCompassChange, offMemoryWarning, offSocketClose, offSocketError, offSocketMessage, offSocketOpen, offUserCaptureScreen, onAccelerometerChange, onBLECharacteristicValueChange, onBLEConnectionStateChanged, onBluetoothAdapterStateChange, onBluetoothDeviceFound, onCompassChange, onMemoryWarning, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, onUserCaptureScreen, openBluetoothAdapter, openDocument, openSetting, pageScrollTo, previewImage, prompt, readBLECharacteristicValue, redirectTo, reLaunch, removeSavedFile, removeStorage, removeStorageSync, request, saveFile, saveImage, scan, sendSocketMessage, setBackgroundColor, setCanPullDown, setClipboard, setKeepScreenOn, setNavigationBar, setScreenBrightness, setStorage, setStorageSync, setTabBarStyle, showActionSheet, showAuthGuide, showLoading, showNavigationBarLoading, showToast, signContract, startBluetoothDevicesDiscovery, startPullDownRefresh, stopBluetoothDevicesDiscovery, stopPullDownRefresh, switchTab, tradePay, uploadFile, vibrate, watchShake, writeBLECharacteristicValue, createSelectorQuery, canIUse, showSharePanel, getEnterOptionsSync, };
|
|
391
|
+
export { addPhoneContactAsync, alertAsync, chooseImageAsync, choosePhoneContactAsync, clearStorageAsync, closeBluetoothAdapterAsync, closeSocketAsync, confirmAsync, connectBLEDeviceAsync, connectSocketAsync, datePickerAsync, disconnectBLEDeviceAsync, downloadFileAsync, getAuthCodeAsync, getBatteryInfoAsync, getBLEDeviceCharacteristicsAsync, getBLEDeviceServicesAsync, getBluetoothAdapterStateAsync, getBluetoothDevicesAsync, getClipboardAsync, getConnectedBluetoothDevicesAsync, getFileInfoAsync, getImageInfoAsync, getLocationAsync, getNetworkTypeAsync, getOpenUserInfoAsync, getSavedFileInfoAsync, getSavedFileListAsync, getScreenBrightnessAsync, getServerTimeAsync, getSettingAsync, getSiteInfoAsync, getStorageAsync, getSystemInfoAsync, hideBackHomeAsync, hideKeyboardAsync, hideLoadingAsync, hideNavigationBarLoadingAsync, hideTabBarAsync, hideToastAsync, makePhoneCallAsync, multiLevelSelectAsync, navigateBackAsync, navigateBackMiniProgramAsync, navigateToAsync, navigateToMiniProgramAsync, notifyBLECharacteristicValueChangeAsync, openBluetoothAdapterAsync, openDocumentAsync, openSettingAsync, pageScrollToAsync, previewImageAsync, promptAsync, readBLECharacteristicValueAsync, redirectToAsync, reLaunchAsync, removeSavedFileAsync, removeStorageAsync, requestAsync, saveFileAsync, saveImageAsync, scanAsync, sendSocketMessageAsync, setBackgroundColorAsync, setCanPullDownAsync, setClipboardAsync, setKeepScreenOnAsync, setNavigationBarAsync, setScreenBrightnessAsync, setStorageAsync, setTabBarStyleAsync, showActionSheetAsync, showAuthGuideAsync, showLoadingAsync, showNavigationBarLoadingAsync, showToastAsync, signContractAsync, startBluetoothDevicesDiscoveryAsync, startPullDownRefreshAsync, stopBluetoothDevicesDiscoveryAsync, stopPullDownRefreshAsync, switchTabAsync, tradePayAsync, uploadFileAsync, vibrateAsync, watchShakeAsync, writeBLECharacteristicValueAsync, showSharePanelAsync, getEnterOptionsSyncAsync, };
|