hylid-bridge 4.0.0 → 4.0.3
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 +3 -3
- package/canIUse.json +1 -1
- package/lib/bridges.d.ts +5 -3
- package/lib/bridges.js +37 -7
- package/lib/clients/mp/alipay/defineRuntimeConfig.d.ts +2 -0
- package/lib/clients/mp/alipay/defineRuntimeConfig.js +3 -0
- package/lib/clients/mp/alipay/index.d.ts +3 -1
- package/lib/clients/mp/alipay/index.js +4 -2
- package/lib/clients/mp/alipayhk/defineRuntimeConfig.d.ts +2 -0
- package/lib/clients/mp/alipayhk/defineRuntimeConfig.js +3 -0
- package/lib/clients/mp/alipayhk/index.d.ts +3 -1
- package/lib/clients/mp/alipayhk/index.js +4 -2
- package/lib/clients/mp/dana/defineRuntimeConfig.d.ts +2 -0
- package/lib/clients/mp/dana/defineRuntimeConfig.js +3 -0
- package/lib/clients/mp/dana/index.d.ts +3 -1
- package/lib/clients/mp/dana/index.js +4 -2
- package/lib/clients/mp/gcash/defineRuntimeConfig.d.ts +2 -0
- package/lib/clients/mp/gcash/defineRuntimeConfig.js +3 -0
- package/lib/clients/mp/gcash/index.d.ts +3 -1
- package/lib/clients/mp/gcash/index.js +4 -2
- package/lib/clients/mp/tngd/defineRuntimeConfig.d.ts +2 -0
- package/lib/clients/mp/tngd/defineRuntimeConfig.js +3 -0
- package/lib/clients/mp/tngd/index.d.ts +3 -1
- package/lib/clients/mp/tngd/index.js +4 -2
- package/lib/clients/mp/truemoney/defineRuntimeConfig.d.ts +2 -0
- package/lib/clients/mp/truemoney/defineRuntimeConfig.js +3 -0
- package/lib/clients/mp/truemoney/index.d.ts +3 -1
- package/lib/clients/mp/truemoney/index.js +4 -2
- package/lib/clients/mp_web/alipayhk/index.d.ts +6 -1
- package/lib/clients/mp_web/alipayhk/index.js +3 -1
- package/lib/clients/mp_web/alipayhk/rpcWithAuth.d.ts +2 -0
- package/lib/clients/mp_web/alipayhk/rpcWithAuth.js +3 -0
- package/lib/clients/mp_web/dana/index.d.ts +6 -1
- package/lib/clients/mp_web/dana/index.js +3 -1
- package/lib/clients/mp_web/dana/rpcWithAuth.d.ts +2 -0
- package/lib/clients/mp_web/dana/rpcWithAuth.js +3 -0
- package/lib/clients/mp_web/gcash/index.d.ts +6 -1
- package/lib/clients/mp_web/gcash/index.js +3 -1
- package/lib/clients/mp_web/gcash/rpcWithAuth.d.ts +2 -0
- package/lib/clients/mp_web/gcash/rpcWithAuth.js +3 -0
- package/lib/clients/mp_web/tngd/index.d.ts +6 -1
- package/lib/clients/mp_web/tngd/index.js +3 -1
- package/lib/clients/mp_web/tngd/rpcWithAuth.d.ts +2 -0
- package/lib/clients/mp_web/tngd/rpcWithAuth.js +3 -0
- package/lib/clients/mp_web/truemoney/index.d.ts +6 -1
- package/lib/clients/mp_web/truemoney/index.js +3 -1
- package/lib/clients/mp_web/truemoney/rpcWithAuth.d.ts +2 -0
- package/lib/clients/mp_web/truemoney/rpcWithAuth.js +3 -0
- package/lib/clients/web/alipay/index.d.ts +11 -6
- package/lib/clients/web/alipay/index.js +8 -6
- package/lib/clients/web/alipay/rpcWithAuth.d.ts +2 -0
- package/lib/clients/web/alipay/rpcWithAuth.js +3 -0
- package/lib/clients/web/alipay/saveImage.d.ts +1 -1
- package/lib/clients/web/alipay/saveImage.js +1 -1
- package/lib/clients/web/alipay/tradePay.d.ts +1 -1
- package/lib/clients/web/alipay/tradePay.js +1 -1
- package/lib/clients/web/h5/index.d.ts +6 -1
- package/lib/clients/web/h5/index.js +3 -1
- package/lib/clients/web/h5/rpcWithAuth.d.ts +2 -0
- package/lib/clients/web/h5/rpcWithAuth.js +3 -0
- package/lib/common/apis/custom/mp/alipay/tradePay.js +1 -1
- package/lib/common/apis/custom/web/showToast.js +14 -2
- package/lib/dsl.d.ts +9 -0
- package/lib/dsl.js +28 -1
- package/lib/internal/apis/custom/mp_web/alipayhk/rpcWithAuth.d.ts +3 -0
- package/lib/internal/apis/custom/mp_web/alipayhk/rpcWithAuth.js +32 -0
- package/lib/internal/apis/custom/web/defineRuntimeConfig.js +4 -1
- 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_tngd.js +1 -1
- package/lib/umd/mp_web_truemoney.js +1 -1
- package/lib/umd/web_alipay.js +1 -1
- package/lib/umd/web_demo.js +1 -1
- package/lib/umd/web_h5.js +1 -1
- package/lib/umd/web_tngdh5ng.js +1 -1
- package/package.json +6 -6
package/lib/bridges.js
CHANGED
|
@@ -135,7 +135,10 @@ 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 mpAlipayDefineRuntimeConfig from './clients/mp/alipay/defineRuntimeConfig';
|
|
138
139
|
import mpTradePay from './common/apis/generated/mp/tradePay';
|
|
140
|
+
import mpAlipayhkDefineRuntimeConfig from './clients/mp/alipayhk/defineRuntimeConfig';
|
|
141
|
+
import mpDanaDefineRuntimeConfig from './clients/mp/dana/defineRuntimeConfig';
|
|
139
142
|
import mpAddFatigueAction from './common/apis/generated/mp/addFatigueAction';
|
|
140
143
|
import mpApDisableJSAPI from './common/apis/generated/mp/apDisableJSAPI';
|
|
141
144
|
import mpAppxrpc from './common/apis/generated/mp/appxrpc';
|
|
@@ -160,6 +163,9 @@ import mpThirdPartyAuthForAc from './common/apis/generated/mp/thirdPartyAuthForA
|
|
|
160
163
|
import mpUploadApdidToken from './common/apis/generated/mp/uploadApdidToken';
|
|
161
164
|
import mpGetStorageInfo from './common/apis/generated/mp/getStorageInfo';
|
|
162
165
|
import mpHideOptionButton from './common/apis/generated/mp/hideOptionButton';
|
|
166
|
+
import mpGcashDefineRuntimeConfig from './clients/mp/gcash/defineRuntimeConfig';
|
|
167
|
+
import mpTngdDefineRuntimeConfig from './clients/mp/tngd/defineRuntimeConfig';
|
|
168
|
+
import mpTruemoneyDefineRuntimeConfig from './clients/mp/truemoney/defineRuntimeConfig';
|
|
163
169
|
import mpWechatShowToast from './clients/mp/wechat/showToast';
|
|
164
170
|
import mpWebAddPhoneContact from './common/apis/generated/mp_web/addPhoneContact';
|
|
165
171
|
import mpWebAlert from './common/apis/generated/mp_web/alert';
|
|
@@ -293,6 +299,7 @@ import mpWebAlipayhkOpenPayCodePage from './clients/mp_web/alipayhk/openPayCodeP
|
|
|
293
299
|
import mpWebAlipayhkOpenApPayCodePage from './clients/mp_web/alipayhk/openApPayCodePage';
|
|
294
300
|
import mpWebAlipayhkOpenScanPage from './clients/mp_web/alipayhk/openScanPage';
|
|
295
301
|
import mpWebAlipayhkCreateWithoutAuthRpc from './clients/mp_web/alipayhk/createWithoutAuthRpc';
|
|
302
|
+
import mpWebAlipayhkRpcWithAuth from './clients/mp_web/alipayhk/rpcWithAuth';
|
|
296
303
|
import mpWebAlipayhkGetAppId from './clients/mp_web/alipayhk/getAppId';
|
|
297
304
|
import mpWebAlipayhkGetCurrentPages from './clients/mp_web/alipayhk/getCurrentPages';
|
|
298
305
|
import mpWebAlipayhkGetSDKVersion from './clients/mp_web/alipayhk/getSDKVersion';
|
|
@@ -313,6 +320,7 @@ import mpWebDanaOpenPayCodePage from './clients/mp_web/dana/openPayCodePage';
|
|
|
313
320
|
import mpWebDanaOpenApPayCodePage from './clients/mp_web/dana/openApPayCodePage';
|
|
314
321
|
import mpWebDanaOpenScanPage from './clients/mp_web/dana/openScanPage';
|
|
315
322
|
import mpWebDanaCreateWithoutAuthRpc from './clients/mp_web/dana/createWithoutAuthRpc';
|
|
323
|
+
import mpWebDanaRpcWithAuth from './clients/mp_web/dana/rpcWithAuth';
|
|
316
324
|
import mpWebDanaGetAppId from './clients/mp_web/dana/getAppId';
|
|
317
325
|
import mpWebDanaGetCurrentPages from './clients/mp_web/dana/getCurrentPages';
|
|
318
326
|
import mpWebDanaGetSDKVersion from './clients/mp_web/dana/getSDKVersion';
|
|
@@ -352,6 +360,7 @@ import mpWebGcashOpenPayCodePage from './clients/mp_web/gcash/openPayCodePage';
|
|
|
352
360
|
import mpWebGcashOpenApPayCodePage from './clients/mp_web/gcash/openApPayCodePage';
|
|
353
361
|
import mpWebGcashOpenScanPage from './clients/mp_web/gcash/openScanPage';
|
|
354
362
|
import mpWebGcashCreateWithoutAuthRpc from './clients/mp_web/gcash/createWithoutAuthRpc';
|
|
363
|
+
import mpWebGcashRpcWithAuth from './clients/mp_web/gcash/rpcWithAuth';
|
|
355
364
|
import mpWebGcashGetAppId from './clients/mp_web/gcash/getAppId';
|
|
356
365
|
import mpWebGcashGetCurrentPages from './clients/mp_web/gcash/getCurrentPages';
|
|
357
366
|
import mpWebGcashGetSDKVersion from './clients/mp_web/gcash/getSDKVersion';
|
|
@@ -367,6 +376,7 @@ import mpWebTngdOpenPayCodePage from './clients/mp_web/tngd/openPayCodePage';
|
|
|
367
376
|
import mpWebTngdOpenApPayCodePage from './clients/mp_web/tngd/openApPayCodePage';
|
|
368
377
|
import mpWebTngdOpenScanPage from './clients/mp_web/tngd/openScanPage';
|
|
369
378
|
import mpWebTngdCreateWithoutAuthRpc from './clients/mp_web/tngd/createWithoutAuthRpc';
|
|
379
|
+
import mpWebTngdRpcWithAuth from './clients/mp_web/tngd/rpcWithAuth';
|
|
370
380
|
import mpWebTngdGetAppId from './clients/mp_web/tngd/getAppId';
|
|
371
381
|
import mpWebTngdGetCurrentPages from './clients/mp_web/tngd/getCurrentPages';
|
|
372
382
|
import mpWebTngdGetSDKVersion from './clients/mp_web/tngd/getSDKVersion';
|
|
@@ -382,6 +392,7 @@ import mpWebTruemoneyOpenPayCodePage from './clients/mp_web/truemoney/openPayCod
|
|
|
382
392
|
import mpWebTruemoneyOpenApPayCodePage from './clients/mp_web/truemoney/openApPayCodePage';
|
|
383
393
|
import mpWebTruemoneyOpenScanPage from './clients/mp_web/truemoney/openScanPage';
|
|
384
394
|
import mpWebTruemoneyCreateWithoutAuthRpc from './clients/mp_web/truemoney/createWithoutAuthRpc';
|
|
395
|
+
import mpWebTruemoneyRpcWithAuth from './clients/mp_web/truemoney/rpcWithAuth';
|
|
385
396
|
import mpWebTruemoneyGetAppId from './clients/mp_web/truemoney/getAppId';
|
|
386
397
|
import mpWebTruemoneyGetCurrentPages from './clients/mp_web/truemoney/getCurrentPages';
|
|
387
398
|
import mpWebTruemoneyGetSDKVersion from './clients/mp_web/truemoney/getSDKVersion';
|
|
@@ -461,7 +472,7 @@ import webAlipayRemoveStorage from './clients/web/alipay/removeStorage';
|
|
|
461
472
|
import webAlipayRequest from './clients/web/alipay/request';
|
|
462
473
|
import webRpc from './common/apis/generated/web/rpc';
|
|
463
474
|
import webSaveFile from './common/apis/generated/web/saveFile';
|
|
464
|
-
import
|
|
475
|
+
import webAlipaySaveImage from './clients/web/alipay/saveImage';
|
|
465
476
|
import webScan from './common/apis/generated/web/scan';
|
|
466
477
|
import webSetClipboard from './common/apis/generated/web/setClipboard';
|
|
467
478
|
import webSetKeepScreenOn from './common/apis/generated/web/setKeepScreenOn';
|
|
@@ -475,7 +486,7 @@ import webAlipayShowNavigationBarLoading from './clients/web/alipay/showNavigati
|
|
|
475
486
|
import webAlipayShowToast from './clients/web/alipay/showToast';
|
|
476
487
|
import webSignContract from './common/apis/generated/web/signContract';
|
|
477
488
|
import webStartApp from './common/apis/generated/web/startApp';
|
|
478
|
-
import
|
|
489
|
+
import webAlipayTradePay from './clients/web/alipay/tradePay';
|
|
479
490
|
import webCrossPay from './common/apis/generated/web/crossPay';
|
|
480
491
|
import webAlipayUploadFile from './clients/web/alipay/uploadFile';
|
|
481
492
|
import webVibrate from './common/apis/generated/web/vibrate';
|
|
@@ -489,6 +500,7 @@ import webAlipayOpenPayCodePage from './clients/web/alipay/openPayCodePage';
|
|
|
489
500
|
import webAlipayOpenApPayCodePage from './clients/web/alipay/openApPayCodePage';
|
|
490
501
|
import webAlipayOpenScanPage from './clients/web/alipay/openScanPage';
|
|
491
502
|
import webAlipayCreateWithoutAuthRpc from './clients/web/alipay/createWithoutAuthRpc';
|
|
503
|
+
import webAlipayRpcWithAuth from './clients/web/alipay/rpcWithAuth';
|
|
492
504
|
import webAlipayDefineRuntimeConfig from './clients/web/alipay/defineRuntimeConfig';
|
|
493
505
|
import webAlipayRpcWithAuthAPlus from './clients/web/alipay/rpcWithAuthAPlus';
|
|
494
506
|
import webEasyShare from './common/apis/generated/web/easyShare';
|
|
@@ -535,6 +547,7 @@ import webRegionFetchAllApps from './common/apis/generated/web/regionFetchAllApp
|
|
|
535
547
|
import webRegionSearchAppsByKeywords from './common/apis/generated/web/regionSearchAppsByKeywords';
|
|
536
548
|
import webDemoRemoveStorage from './clients/web/demo/removeStorage';
|
|
537
549
|
import webDemoRequest from './clients/web/demo/request';
|
|
550
|
+
import webSaveImage from './common/apis/generated/web/saveImage';
|
|
538
551
|
import webDemoSetNavigationBar from './clients/web/demo/setNavigationBar';
|
|
539
552
|
import webDemoSetStorage from './clients/web/demo/setStorage';
|
|
540
553
|
import webDemoShowActionSheet from './clients/web/demo/showActionSheet';
|
|
@@ -543,6 +556,7 @@ import webDemoShowNavigationBarLoading from './clients/web/demo/showNavigationBa
|
|
|
543
556
|
import webDemoShowToast from './clients/web/demo/showToast';
|
|
544
557
|
import webStartBizService from './common/apis/generated/web/startBizService';
|
|
545
558
|
import webThirdPartyAuthForAc from './common/apis/generated/web/thirdPartyAuthForAc';
|
|
559
|
+
import webTradePay from './common/apis/generated/web/tradePay';
|
|
546
560
|
import webUploadApdidToken from './common/apis/generated/web/uploadApdidToken';
|
|
547
561
|
import webDemoUploadFile from './clients/web/demo/uploadFile';
|
|
548
562
|
import webWriteBLECharacteristicValue from './common/apis/generated/web/writeBLECharacteristicValue';
|
|
@@ -582,6 +596,7 @@ import webH5CreateSelectorQuery from './clients/web/h5/createSelectorQuery';
|
|
|
582
596
|
import webH5GetCurrentLanguage from './clients/web/h5/getCurrentLanguage';
|
|
583
597
|
import webH5OpenURL from './clients/web/h5/openURL';
|
|
584
598
|
import webH5CreateWithoutAuthRpc from './clients/web/h5/createWithoutAuthRpc';
|
|
599
|
+
import webH5RpcWithAuth from './clients/web/h5/rpcWithAuth';
|
|
585
600
|
import webH5DefineRuntimeConfig from './clients/web/h5/defineRuntimeConfig';
|
|
586
601
|
import webH5PopWindow from './clients/web/h5/popWindow';
|
|
587
602
|
import webTngdh5ngAlert from './clients/web/tngdh5ng/alert';
|
|
@@ -4765,7 +4780,7 @@ export var saveImage = function saveImage() {
|
|
|
4765
4780
|
if (appEnv.isMpWebGcash) return mpWebSaveImage.apply(void 0, rest);
|
|
4766
4781
|
if (appEnv.isMpWebTngd) return mpWebSaveImage.apply(void 0, rest);
|
|
4767
4782
|
if (appEnv.isMpWebTruemoney) return mpWebSaveImage.apply(void 0, rest);
|
|
4768
|
-
if (appEnv.isWebAlipay) return
|
|
4783
|
+
if (appEnv.isWebAlipay) return webAlipaySaveImage.apply(void 0, rest);
|
|
4769
4784
|
if (appEnv.isWebDemo) return webSaveImage.apply(void 0, rest);
|
|
4770
4785
|
return notFound.apply(void 0, __spreadArray(['saveImage'], rest, false));
|
|
4771
4786
|
};
|
|
@@ -5883,7 +5898,7 @@ export var tradePay = function tradePay() {
|
|
|
5883
5898
|
if (appEnv.isMpWebGcash) return mpWebTradePay.apply(void 0, rest);
|
|
5884
5899
|
if (appEnv.isMpWebTngd) return mpWebTradePay.apply(void 0, rest);
|
|
5885
5900
|
if (appEnv.isMpWebTruemoney) return mpWebTradePay.apply(void 0, rest);
|
|
5886
|
-
if (appEnv.isWebAlipay) return
|
|
5901
|
+
if (appEnv.isWebAlipay) return webAlipayTradePay.apply(void 0, rest);
|
|
5887
5902
|
if (appEnv.isWebDemo) return webTradePay.apply(void 0, rest);
|
|
5888
5903
|
return notFound.apply(void 0, __spreadArray(['tradePay'], rest, false));
|
|
5889
5904
|
};
|
|
@@ -6546,15 +6561,23 @@ export var createWithoutAuthRpc = function createWithoutAuthRpc() {
|
|
|
6546
6561
|
* | Platform | Apps |
|
|
6547
6562
|
* | ------------- | -------- |
|
|
6548
6563
|
* | mp | |
|
|
6549
|
-
* | mp_web | toss,mpay |
|
|
6564
|
+
* | mp_web | toss,mpay,alipayhk,gcash,dana,tngd,truemoney |
|
|
6565
|
+
* | web | alipay,h5 |
|
|
6550
6566
|
*/
|
|
6551
6567
|
export var rpcWithAuth = function rpcWithAuth() {
|
|
6552
6568
|
var rest = [];
|
|
6553
6569
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
6554
6570
|
rest[_i] = arguments[_i];
|
|
6555
6571
|
}
|
|
6572
|
+
if (appEnv.isMpWebAlipayhk) return mpWebAlipayhkRpcWithAuth.apply(void 0, rest);
|
|
6573
|
+
if (appEnv.isMpWebDana) return mpWebDanaRpcWithAuth.apply(void 0, rest);
|
|
6574
|
+
if (appEnv.isMpWebGcash) return mpWebGcashRpcWithAuth.apply(void 0, rest);
|
|
6575
|
+
if (appEnv.isMpWebTngd) return mpWebTngdRpcWithAuth.apply(void 0, rest);
|
|
6576
|
+
if (appEnv.isMpWebTruemoney) return mpWebTruemoneyRpcWithAuth.apply(void 0, rest);
|
|
6556
6577
|
if (appEnv.isMpWebMpay) return mpWebMpayRpcWithAuth.apply(void 0, rest);
|
|
6557
6578
|
if (appEnv.isMpWebToss) return mpWebTossRpcWithAuth.apply(void 0, rest);
|
|
6579
|
+
if (appEnv.isWebAlipay) return webAlipayRpcWithAuth.apply(void 0, rest);
|
|
6580
|
+
if (appEnv.isWebH5) return webH5RpcWithAuth.apply(void 0, rest);
|
|
6558
6581
|
return notFound.apply(void 0, __spreadArray(['rpcWithAuth'], rest, false));
|
|
6559
6582
|
};
|
|
6560
6583
|
/**
|
|
@@ -6562,7 +6585,8 @@ export var rpcWithAuth = function rpcWithAuth() {
|
|
|
6562
6585
|
* | Platform | Apps |
|
|
6563
6586
|
* | ------------- | -------- |
|
|
6564
6587
|
* | mp | |
|
|
6565
|
-
* | mp_web | toss,mpay |
|
|
6588
|
+
* | mp_web | toss,mpay,alipayhk,gcash,dana,tngd,truemoney |
|
|
6589
|
+
* | web | alipay,h5 |
|
|
6566
6590
|
*/
|
|
6567
6591
|
// @ts-ignore
|
|
6568
6592
|
export var rpcWithAuthAsync = /*#__PURE__*/promisify(rpcWithAuth);
|
|
@@ -6669,7 +6693,7 @@ export var getSDKVersionAsync = /*#__PURE__*/promisify(getSDKVersion);
|
|
|
6669
6693
|
* @support
|
|
6670
6694
|
* | Platform | Apps |
|
|
6671
6695
|
* | ------------- | -------- |
|
|
6672
|
-
* | mp |
|
|
6696
|
+
* | mp | gcash,tngd,alipay,alipayhk,dana,truemoney |
|
|
6673
6697
|
* | mp_web | alipayhk,dana,gcash,tngd,truemoney,toss,mpay |
|
|
6674
6698
|
* | web | alipay,h5 |
|
|
6675
6699
|
*/
|
|
@@ -6678,6 +6702,12 @@ export var defineRuntimeConfig = function defineRuntimeConfig() {
|
|
|
6678
6702
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
6679
6703
|
rest[_i] = arguments[_i];
|
|
6680
6704
|
}
|
|
6705
|
+
if (appEnv.isMpAlipay) return mpAlipayDefineRuntimeConfig.apply(void 0, rest);
|
|
6706
|
+
if (appEnv.isMpAlipayhk) return mpAlipayhkDefineRuntimeConfig.apply(void 0, rest);
|
|
6707
|
+
if (appEnv.isMpDana) return mpDanaDefineRuntimeConfig.apply(void 0, rest);
|
|
6708
|
+
if (appEnv.isMpGcash) return mpGcashDefineRuntimeConfig.apply(void 0, rest);
|
|
6709
|
+
if (appEnv.isMpTngd) return mpTngdDefineRuntimeConfig.apply(void 0, rest);
|
|
6710
|
+
if (appEnv.isMpTruemoney) return mpTruemoneyDefineRuntimeConfig.apply(void 0, rest);
|
|
6681
6711
|
if (appEnv.isMpWebAlipayhk) return mpWebAlipayhkDefineRuntimeConfig.apply(void 0, rest);
|
|
6682
6712
|
if (appEnv.isMpWebDana) return mpWebDanaDefineRuntimeConfig.apply(void 0, rest);
|
|
6683
6713
|
if (appEnv.isMpWebGcash) return mpWebGcashDefineRuntimeConfig.apply(void 0, rest);
|
|
@@ -124,6 +124,7 @@ 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
126
|
import tradePay from './tradePay';
|
|
127
|
+
import defineRuntimeConfig from './defineRuntimeConfig';
|
|
127
128
|
declare const _default: {
|
|
128
129
|
addPhoneContact: (args: Partial<AddPhoneContactArgs>) => void;
|
|
129
130
|
alert: (args?: AlertArgs | undefined) => void;
|
|
@@ -384,7 +385,8 @@ declare const _default: {
|
|
|
384
385
|
getStorageInfoSync: (args?: any) => void;
|
|
385
386
|
showSharePanel: (args?: any) => void;
|
|
386
387
|
tradePay: (args: TradePayArgs) => void;
|
|
388
|
+
defineRuntimeConfig: (args: Record<string, any>) => Record<string, any>;
|
|
387
389
|
};
|
|
388
390
|
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, };
|
|
391
|
+
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, defineRuntimeConfig, };
|
|
390
392
|
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, };
|
|
@@ -125,6 +125,7 @@ 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
127
|
import tradePay from './tradePay';
|
|
128
|
+
import defineRuntimeConfig from './defineRuntimeConfig';
|
|
128
129
|
export default {
|
|
129
130
|
addPhoneContact: addPhoneContact,
|
|
130
131
|
alert: alert,
|
|
@@ -251,7 +252,8 @@ export default {
|
|
|
251
252
|
canIUse: canIUse,
|
|
252
253
|
getStorageInfoSync: getStorageInfoSync,
|
|
253
254
|
showSharePanel: showSharePanel,
|
|
254
|
-
tradePay: tradePay
|
|
255
|
+
tradePay: tradePay,
|
|
256
|
+
defineRuntimeConfig: defineRuntimeConfig
|
|
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 };
|
|
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, tradePay, defineRuntimeConfig };
|
|
257
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 };
|
|
@@ -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 defineRuntimeConfig from './defineRuntimeConfig';
|
|
123
124
|
declare const _default: {
|
|
124
125
|
addPhoneContact: (args: Partial<AddPhoneContactArgs>) => void;
|
|
125
126
|
alert: (args?: AlertArgs | undefined) => void;
|
|
@@ -373,7 +374,8 @@ declare const _default: {
|
|
|
373
374
|
createSelectorQuery: () => SelectorQuery;
|
|
374
375
|
canIUse: (args: string) => boolean;
|
|
375
376
|
showSharePanel: (args?: any) => void;
|
|
377
|
+
defineRuntimeConfig: (args: Record<string, any>) => Record<string, any>;
|
|
376
378
|
};
|
|
377
379
|
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, };
|
|
380
|
+
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, defineRuntimeConfig, };
|
|
379
381
|
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, };
|
|
@@ -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 defineRuntimeConfig from './defineRuntimeConfig';
|
|
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
|
+
defineRuntimeConfig: defineRuntimeConfig
|
|
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 };
|
|
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, defineRuntimeConfig };
|
|
249
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 };
|
|
@@ -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 defineRuntimeConfig from './defineRuntimeConfig';
|
|
123
124
|
declare const _default: {
|
|
124
125
|
addPhoneContact: (args: Partial<AddPhoneContactArgs>) => void;
|
|
125
126
|
alert: (args?: AlertArgs | undefined) => void;
|
|
@@ -373,7 +374,8 @@ declare const _default: {
|
|
|
373
374
|
createSelectorQuery: () => SelectorQuery;
|
|
374
375
|
canIUse: (args: string) => boolean;
|
|
375
376
|
showSharePanel: (args?: any) => void;
|
|
377
|
+
defineRuntimeConfig: (args: Record<string, any>) => Record<string, any>;
|
|
376
378
|
};
|
|
377
379
|
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, };
|
|
380
|
+
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, defineRuntimeConfig, };
|
|
379
381
|
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, };
|
|
@@ -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 defineRuntimeConfig from './defineRuntimeConfig';
|
|
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
|
+
defineRuntimeConfig: defineRuntimeConfig
|
|
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 };
|
|
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, defineRuntimeConfig };
|
|
249
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 };
|
|
@@ -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 defineRuntimeConfig from './defineRuntimeConfig';
|
|
123
124
|
declare const _default: {
|
|
124
125
|
addPhoneContact: (args: Partial<AddPhoneContactArgs>) => void;
|
|
125
126
|
alert: (args?: AlertArgs | undefined) => void;
|
|
@@ -373,7 +374,8 @@ declare const _default: {
|
|
|
373
374
|
createSelectorQuery: () => SelectorQuery;
|
|
374
375
|
canIUse: (args: string) => boolean;
|
|
375
376
|
showSharePanel: (args?: any) => void;
|
|
377
|
+
defineRuntimeConfig: (args: Record<string, any>) => Record<string, any>;
|
|
376
378
|
};
|
|
377
379
|
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, };
|
|
380
|
+
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, defineRuntimeConfig, };
|
|
379
381
|
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, };
|
|
@@ -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 defineRuntimeConfig from './defineRuntimeConfig';
|
|
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
|
+
defineRuntimeConfig: defineRuntimeConfig
|
|
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 };
|
|
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, defineRuntimeConfig };
|
|
249
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 };
|
|
@@ -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 defineRuntimeConfig from './defineRuntimeConfig';
|
|
123
124
|
declare const _default: {
|
|
124
125
|
addPhoneContact: (args: Partial<AddPhoneContactArgs>) => void;
|
|
125
126
|
alert: (args?: AlertArgs | undefined) => void;
|
|
@@ -373,7 +374,8 @@ declare const _default: {
|
|
|
373
374
|
createSelectorQuery: () => SelectorQuery;
|
|
374
375
|
canIUse: (args: string) => boolean;
|
|
375
376
|
showSharePanel: (args?: any) => void;
|
|
377
|
+
defineRuntimeConfig: (args: Record<string, any>) => Record<string, any>;
|
|
376
378
|
};
|
|
377
379
|
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, };
|
|
380
|
+
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, defineRuntimeConfig, };
|
|
379
381
|
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, };
|
|
@@ -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 defineRuntimeConfig from './defineRuntimeConfig';
|
|
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
|
+
defineRuntimeConfig: defineRuntimeConfig
|
|
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 };
|
|
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, defineRuntimeConfig };
|
|
249
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 };
|
|
@@ -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 defineRuntimeConfig from './defineRuntimeConfig';
|
|
123
124
|
declare const _default: {
|
|
124
125
|
addPhoneContact: (args: Partial<AddPhoneContactArgs>) => void;
|
|
125
126
|
alert: (args?: AlertArgs | undefined) => void;
|
|
@@ -373,7 +374,8 @@ declare const _default: {
|
|
|
373
374
|
createSelectorQuery: () => SelectorQuery;
|
|
374
375
|
canIUse: (args: string) => boolean;
|
|
375
376
|
showSharePanel: (args?: any) => void;
|
|
377
|
+
defineRuntimeConfig: (args: Record<string, any>) => Record<string, any>;
|
|
376
378
|
};
|
|
377
379
|
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, };
|
|
380
|
+
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, defineRuntimeConfig, };
|
|
379
381
|
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, };
|