@tarojs/taro-h5 3.5.0-beta.4 → 3.5.0-beta.5
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/dist/index.cjs.js +43 -72
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +29 -59
- package/dist/index.esm.js.map +1 -1
- package/dist/{api → src/api}/ad/index.js +0 -0
- package/dist/{api → src/api}/ai/facial.js +0 -0
- package/dist/{api → src/api}/ai/index.js +0 -0
- package/dist/{api → src/api}/ai/visual.js +0 -0
- package/dist/{api → src/api}/alipay/index.js +0 -0
- package/dist/{api → src/api}/base/crypto.js +0 -0
- package/dist/{api → src/api}/base/debug.js +0 -0
- package/dist/{api → src/api}/base/index.js +0 -0
- package/dist/{api → src/api}/base/performance.js +0 -0
- package/dist/{api → src/api}/base/system.js +0 -0
- package/dist/{api → src/api}/base/update.js +0 -0
- package/dist/{api → src/api}/base/weapp/app-event.js +0 -0
- package/dist/{api → src/api}/base/weapp/life-cycle.js +0 -0
- package/dist/{api → src/api}/canvas/CanvasContext.js +0 -0
- package/dist/{api → src/api}/canvas/canvasGetImageData.js +0 -0
- package/dist/{api → src/api}/canvas/canvasPutImageData.js +0 -0
- package/dist/{api → src/api}/canvas/canvasToTempFilePath.js +0 -0
- package/dist/{api → src/api}/canvas/createCanvasContext.js +0 -0
- package/dist/{api → src/api}/canvas/index.js +0 -0
- package/dist/{api → src/api}/cloud/index.js +0 -0
- package/dist/{api → src/api}/data-analysis/index.js +0 -0
- package/dist/{api → src/api}/device/accelerometer.js +0 -0
- package/dist/{api → src/api}/device/accessibility.js +0 -0
- package/dist/{api → src/api}/device/battery.js +0 -0
- package/dist/{api → src/api}/device/bluetooth-ble.js +0 -0
- package/dist/{api → src/api}/device/bluetooth-peripheral.js +0 -0
- package/dist/{api → src/api}/device/bluetooth.js +0 -0
- package/dist/{api → src/api}/device/calendar.js +0 -0
- package/dist/{api → src/api}/device/clipboard.js +0 -0
- package/dist/{api → src/api}/device/compass.js +0 -0
- package/dist/{api → src/api}/device/contact.js +0 -0
- package/dist/{api → src/api}/device/crypto.js +0 -0
- package/dist/{api → src/api}/device/gyroscope.js +0 -0
- package/dist/{api → src/api}/device/iBeacon.js +0 -0
- package/dist/{api → src/api}/device/index.js +0 -0
- package/dist/{api → src/api}/device/keyboard.js +0 -0
- package/dist/{api → src/api}/device/memory.js +0 -0
- package/dist/{api → src/api}/device/motion.js +0 -0
- package/dist/{api → src/api}/device/network.js +0 -0
- package/dist/{api → src/api}/device/nfc.js +0 -0
- package/dist/{api → src/api}/device/phone.js +0 -0
- package/dist/{api → src/api}/device/scan.js +0 -0
- package/dist/{api → src/api}/device/screen.js +0 -0
- package/dist/{api → src/api}/device/vibrate.js +5 -7
- package/dist/{api → src/api}/device/wifi.js +0 -0
- package/dist/{api → src/api}/ext/index.js +0 -0
- package/dist/{api → src/api}/files/index.js +0 -0
- package/dist/{api → src/api}/framework/index.js +0 -0
- package/dist/{api → src/api}/index.js +0 -0
- package/dist/{api → src/api}/location/chooseLocation.js +0 -0
- package/dist/{api → src/api}/location/getLocation.js +0 -0
- package/dist/{api → src/api}/location/index.js +1 -0
- package/dist/{api → src/api}/media/EditorContext.js +0 -0
- package/dist/{api → src/api}/media/audio/InnerAudioContext.js +0 -0
- package/dist/{api → src/api}/media/audio/index.js +0 -0
- package/dist/{api → src/api}/media/background-audio/BackgroundAudioManager.js +0 -0
- package/dist/{api → src/api}/media/background-audio/index.js +0 -0
- package/dist/{api → src/api}/media/camera.js +0 -0
- package/dist/{api → src/api}/media/image/chooseImage.js +0 -0
- package/dist/{api → src/api}/media/image/getImageInfo.js +0 -0
- package/dist/{api → src/api}/media/image/index.js +0 -0
- package/dist/{api → src/api}/media/image/previewImage.js +0 -0
- package/dist/{api → src/api}/media/index.js +0 -0
- package/dist/{api → src/api}/media/live.js +0 -0
- package/dist/{api → src/api}/media/map.js +0 -0
- package/dist/{api → src/api}/media/media-recorder.js +0 -0
- package/dist/{api → src/api}/media/recorder.js +0 -0
- package/dist/{api → src/api}/media/video/index.js +0 -0
- package/dist/{api → src/api}/media/video-decoder.js +0 -0
- package/dist/{api → src/api}/media/video-processing.js +0 -0
- package/dist/{api → src/api}/media/voip.js +0 -0
- package/dist/{api → src/api}/navigate/index.js +0 -0
- package/dist/{api → src/api}/network/download.js +0 -0
- package/dist/{api → src/api}/network/index.js +0 -0
- package/dist/{api → src/api}/network/mdns.js +0 -0
- package/dist/{api → src/api}/network/request/index.js +0 -0
- package/dist/{api → src/api}/network/tcp.js +0 -0
- package/dist/{api → src/api}/network/udp.js +0 -0
- package/dist/{api → src/api}/network/upload.js +0 -0
- package/dist/{api → src/api}/network/utils.js +0 -0
- package/dist/{api → src/api}/network/websocket/index.js +0 -0
- package/dist/{api → src/api}/network/websocket/socketTask.js +0 -0
- package/dist/{api → src/api}/open-api/account.js +0 -0
- package/dist/{api → src/api}/open-api/address.js +0 -0
- package/dist/{api → src/api}/open-api/authorize.js +0 -0
- package/dist/{api → src/api}/open-api/card.js +0 -0
- package/dist/{api → src/api}/open-api/channels-live.js +0 -0
- package/dist/{api → src/api}/open-api/customer-service.js +0 -0
- package/dist/{api → src/api}/open-api/facial.js +0 -0
- package/dist/{api → src/api}/open-api/favorites.js +0 -0
- package/dist/{api → src/api}/open-api/group.js +0 -0
- package/dist/{api → src/api}/open-api/index.js +0 -0
- package/dist/{api → src/api}/open-api/invoice.js +0 -0
- package/dist/{api → src/api}/open-api/license-plate.js +0 -0
- package/dist/{api → src/api}/open-api/login.js +0 -0
- package/dist/{api → src/api}/open-api/red-package.js +0 -0
- package/dist/{api → src/api}/open-api/settings.js +0 -0
- package/dist/{api → src/api}/open-api/soter.js +0 -0
- package/dist/{api → src/api}/open-api/subscribe-message.js +0 -0
- package/dist/{api → src/api}/open-api/user-info.js +0 -0
- package/dist/{api → src/api}/open-api/werun.js +0 -0
- package/dist/{api → src/api}/payment/index.js +0 -0
- package/dist/{api → src/api}/route/index.js +0 -0
- package/dist/{api → src/api}/share/index.js +0 -0
- package/dist/{api → src/api}/storage/background-fetch.js +0 -0
- package/dist/{api → src/api}/storage/index.js +0 -0
- package/dist/{api → src/api}/swan/index.js +0 -0
- package/dist/{api → src/api}/taro.js +0 -0
- package/dist/{api → src/api}/ui/animation/index.js +0 -0
- package/dist/{api → src/api}/ui/background.js +0 -0
- package/dist/{api → src/api}/ui/custom-component.js +0 -0
- package/dist/{api → src/api}/ui/fonts.js +0 -0
- package/dist/{api → src/api}/ui/index.js +0 -0
- package/dist/{api → src/api}/ui/interaction/actionSheet.js +0 -0
- package/dist/{api → src/api}/ui/interaction/index.js +0 -0
- package/dist/{api → src/api}/ui/interaction/modal.js +1 -0
- package/dist/{api → src/api}/ui/interaction/toast.js +0 -0
- package/dist/{api → src/api}/ui/menu.js +0 -0
- package/dist/{api → src/api}/ui/navigation-bar/index.js +0 -0
- package/dist/{api → src/api}/ui/pull-down-refresh.js +0 -0
- package/dist/{api → src/api}/ui/scroll/index.js +0 -0
- package/dist/{api → src/api}/ui/sticky.js +0 -0
- package/dist/{api → src/api}/ui/tab-bar.js +0 -0
- package/dist/{api → src/api}/ui/window.js +0 -0
- package/dist/{api → src/api}/worker/index.js +0 -0
- package/dist/{api → src/api}/wxml/index.js +0 -0
- package/dist/{api → src/api}/wxml/nodesRef.js +0 -0
- package/dist/{api → src/api}/wxml/selectorQuery.js +1 -1
- package/dist/{index.js → src/index.js} +0 -0
- package/dist/{utils → src/utils}/animation.js +0 -0
- package/dist/{utils → src/utils}/handler.js +0 -0
- package/dist/{utils → src/utils}/index.js +0 -0
- package/dist/{utils → src/utils}/lodash.js +0 -0
- package/dist/{utils → src/utils}/valid.js +0 -0
- package/dist/taroApis.js +1 -1
- package/dist/types/type.js +2 -0
- package/package.json +16 -16
- package/src/api/device/vibrate.ts +6 -8
- package/src/api/location/index.ts +1 -0
- package/src/api/ui/interaction/modal.ts +1 -0
- package/src/api/wxml/selectorQuery.ts +1 -1
- package/types/api.d.ts +4 -0
- package/types/define.d.ts +2 -0
- package/types/index.d.ts +3 -0
- package/types/overlay.d.ts +9 -0
- package/types/type.ts +32 -0
- package/LICENSE +0 -21
package/dist/index.esm.js
CHANGED
|
@@ -241,7 +241,7 @@ const getLogManager = temporarilyNotSupport('getLogManager');
|
|
|
241
241
|
const reportPerformance = temporarilyNotSupport('reportPerformance');
|
|
242
242
|
const getPerformance = temporarilyNotSupport('getPerformance');
|
|
243
243
|
|
|
244
|
-
|
|
244
|
+
/*! *****************************************************************************
|
|
245
245
|
Copyright (c) Microsoft Corporation.
|
|
246
246
|
|
|
247
247
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -260,13 +260,11 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
260
260
|
var extendStatics = function(d, b) {
|
|
261
261
|
extendStatics = Object.setPrototypeOf ||
|
|
262
262
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
263
|
-
function (d, b) { for (var p in b) if (
|
|
263
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
264
264
|
return extendStatics(d, b);
|
|
265
265
|
};
|
|
266
266
|
|
|
267
267
|
function __extends(d, b) {
|
|
268
|
-
if (typeof b !== "function" && b !== null)
|
|
269
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
270
268
|
extendStatics(d, b);
|
|
271
269
|
function __() { this.constructor = d; }
|
|
272
270
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -348,20 +346,13 @@ function __generator(thisArg, body) {
|
|
|
348
346
|
}
|
|
349
347
|
}
|
|
350
348
|
|
|
351
|
-
|
|
352
|
-
if (k2 === undefined) k2 = k;
|
|
353
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
354
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
355
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
356
|
-
}
|
|
357
|
-
Object.defineProperty(o, k2, desc);
|
|
358
|
-
}) : (function(o, m, k, k2) {
|
|
349
|
+
function __createBinding(o, m, k, k2) {
|
|
359
350
|
if (k2 === undefined) k2 = k;
|
|
360
351
|
o[k2] = m[k];
|
|
361
|
-
}
|
|
352
|
+
}
|
|
362
353
|
|
|
363
|
-
function __exportStar(m,
|
|
364
|
-
for (var p in m) if (p !== "default" && !
|
|
354
|
+
function __exportStar(m, exports) {
|
|
355
|
+
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
365
356
|
}
|
|
366
357
|
|
|
367
358
|
function __values(o) {
|
|
@@ -393,31 +384,19 @@ function __read(o, n) {
|
|
|
393
384
|
return ar;
|
|
394
385
|
}
|
|
395
386
|
|
|
396
|
-
/** @deprecated */
|
|
397
387
|
function __spread() {
|
|
398
388
|
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
399
389
|
ar = ar.concat(__read(arguments[i]));
|
|
400
390
|
return ar;
|
|
401
391
|
}
|
|
402
392
|
|
|
403
|
-
/** @deprecated */
|
|
404
393
|
function __spreadArrays() {
|
|
405
394
|
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
|
|
406
395
|
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
407
396
|
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
408
397
|
r[k] = a[j];
|
|
409
398
|
return r;
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
function __spreadArray(to, from, pack) {
|
|
413
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
414
|
-
if (ar || !(i in from)) {
|
|
415
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
416
|
-
ar[i] = from[i];
|
|
417
|
-
}
|
|
418
|
-
}
|
|
419
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
420
|
-
}
|
|
399
|
+
};
|
|
421
400
|
|
|
422
401
|
function __await(v) {
|
|
423
402
|
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
@@ -454,17 +433,11 @@ function __makeTemplateObject(cooked, raw) {
|
|
|
454
433
|
return cooked;
|
|
455
434
|
};
|
|
456
435
|
|
|
457
|
-
var __setModuleDefault = Object.create ? (function(o, v) {
|
|
458
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
459
|
-
}) : function(o, v) {
|
|
460
|
-
o["default"] = v;
|
|
461
|
-
};
|
|
462
|
-
|
|
463
436
|
function __importStar(mod) {
|
|
464
437
|
if (mod && mod.__esModule) return mod;
|
|
465
438
|
var result = {};
|
|
466
|
-
if (mod != null) for (var k in mod) if (
|
|
467
|
-
|
|
439
|
+
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
|
|
440
|
+
result.default = mod;
|
|
468
441
|
return result;
|
|
469
442
|
}
|
|
470
443
|
|
|
@@ -472,22 +445,19 @@ function __importDefault(mod) {
|
|
|
472
445
|
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
473
446
|
}
|
|
474
447
|
|
|
475
|
-
function __classPrivateFieldGet(receiver,
|
|
476
|
-
if (
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
482
|
-
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
483
|
-
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
|
484
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
485
|
-
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
448
|
+
function __classPrivateFieldGet(receiver, privateMap) {
|
|
449
|
+
if (!privateMap.has(receiver)) {
|
|
450
|
+
throw new TypeError("attempted to get private field on non-instance");
|
|
451
|
+
}
|
|
452
|
+
return privateMap.get(receiver);
|
|
486
453
|
}
|
|
487
454
|
|
|
488
|
-
function
|
|
489
|
-
if (
|
|
490
|
-
|
|
455
|
+
function __classPrivateFieldSet(receiver, privateMap, value) {
|
|
456
|
+
if (!privateMap.has(receiver)) {
|
|
457
|
+
throw new TypeError("attempted to set private field on non-instance");
|
|
458
|
+
}
|
|
459
|
+
privateMap.set(receiver, value);
|
|
460
|
+
return value;
|
|
491
461
|
}
|
|
492
462
|
|
|
493
463
|
class MethodHandler {
|
|
@@ -1814,7 +1784,7 @@ const vibrator = function vibrator(mm) {
|
|
|
1814
1784
|
return window.navigator.vibrate(mm);
|
|
1815
1785
|
}
|
|
1816
1786
|
catch (e) {
|
|
1817
|
-
console.warn('当前浏览器不支持vibrate');
|
|
1787
|
+
console.warn('当前浏览器不支持 vibrate。');
|
|
1818
1788
|
}
|
|
1819
1789
|
};
|
|
1820
1790
|
/**
|
|
@@ -1822,12 +1792,11 @@ const vibrator = function vibrator(mm) {
|
|
|
1822
1792
|
*/
|
|
1823
1793
|
const vibrateShort = ({ success, fail, complete } = {}) => {
|
|
1824
1794
|
const handle = new MethodHandler({ name: 'vibrateShort', success, fail, complete });
|
|
1825
|
-
if (vibrator) {
|
|
1826
|
-
vibrator(15);
|
|
1795
|
+
if (vibrator(15)) {
|
|
1827
1796
|
return handle.success();
|
|
1828
1797
|
}
|
|
1829
1798
|
else {
|
|
1830
|
-
return handle.fail();
|
|
1799
|
+
return handle.fail({ errMsg: 'style is not support' });
|
|
1831
1800
|
}
|
|
1832
1801
|
};
|
|
1833
1802
|
/**
|
|
@@ -1835,12 +1804,11 @@ const vibrateShort = ({ success, fail, complete } = {}) => {
|
|
|
1835
1804
|
*/
|
|
1836
1805
|
const vibrateLong = ({ success, fail, complete } = {}) => {
|
|
1837
1806
|
const handle = new MethodHandler({ name: 'vibrateLong', success, fail, complete });
|
|
1838
|
-
if (vibrator) {
|
|
1839
|
-
vibrator(400);
|
|
1807
|
+
if (vibrator(400)) {
|
|
1840
1808
|
return handle.success();
|
|
1841
1809
|
}
|
|
1842
1810
|
else {
|
|
1843
|
-
return handle.fail();
|
|
1811
|
+
return handle.fail({ errMsg: 'style is not support' });
|
|
1844
1812
|
}
|
|
1845
1813
|
};
|
|
1846
1814
|
|
|
@@ -2078,6 +2046,7 @@ const onLocationChange = temporarilyNotSupport('onLocationChange');
|
|
|
2078
2046
|
const offLocationChangeError = temporarilyNotSupport('offLocationChangeError');
|
|
2079
2047
|
const offLocationChange = temporarilyNotSupport('offLocationChange');
|
|
2080
2048
|
const choosePoi = temporarilyNotSupport('choosePoi');
|
|
2049
|
+
const getFuzzyLocation = temporarilyNotSupport('getFuzzyLocation');
|
|
2081
2050
|
|
|
2082
2051
|
class InnerAudioContext {
|
|
2083
2052
|
constructor() {
|
|
@@ -3995,6 +3964,7 @@ class Modal {
|
|
|
3995
3964
|
this.text.setAttribute('style', inlineStyle(textStyle));
|
|
3996
3965
|
}
|
|
3997
3966
|
else {
|
|
3967
|
+
this.title.textContent = '';
|
|
3998
3968
|
// block => none
|
|
3999
3969
|
this.title.style.display = 'none';
|
|
4000
3970
|
const textCSS = Object.assign(Object.assign({}, textStyle), { padding: '40px 20px 26px', color: '#353535' });
|
|
@@ -5001,7 +4971,7 @@ function filter(fields, dom, selector) {
|
|
|
5001
4971
|
}
|
|
5002
4972
|
}
|
|
5003
4973
|
else {
|
|
5004
|
-
// TODO https://developers.weixin.qq.com/miniprogram/dev/
|
|
4974
|
+
// TODO https://developers.weixin.qq.com/miniprogram/dev/api/ui/scroll/ScrollViewContext.html
|
|
5005
4975
|
// if (/^taro-scroll-view-core/i.test(tagName))
|
|
5006
4976
|
res.nodeCanvasType = '';
|
|
5007
4977
|
res.node = dom;
|
|
@@ -5222,5 +5192,5 @@ taro.initPxTransform = initPxTransform;
|
|
|
5222
5192
|
// @ts-ignore
|
|
5223
5193
|
taro.canIUseWebp = canIUseWebp;
|
|
5224
5194
|
|
|
5225
|
-
export { Behavior, Current, ENV_TYPE, Events, Link, addCard, addFileToFavorites, addInterceptor, addPhoneCalendar, addPhoneContact, addPhoneRepeatCalendar, addVideoToFavorites, advancedGeneralIdentify, animalClassify, arrayBufferToBase64, authPrivateMessage, authorize, authorizeForMiniProgram, base64ToArrayBuffer, canIUse, canIUseWebp, canvasGetImageData, canvasPutImageData, canvasToTempFilePath, carClassify, checkIsOpenAccessibility, checkIsSoterEnrolledInDevice, checkIsSupportFacialRecognition, checkIsSupportSoterAuthentication, checkSession, chooseAddress, chooseContact, chooseImage, chooseInvoice, chooseInvoiceTitle, chooseLicensePlate, chooseLocation, chooseMedia, chooseMessageFile, choosePoi, chooseVideo, clearStorage, clearStorageSync, closeBLEConnection, closeBluetoothAdapter, closeSocket, cloud, compressImage, compressVideo, connectSocket, connectWifi, createAnimation, createAudioContext, createBLEConnection, createBLEPeripheralServer, createBufferURL, createCameraContext, createCanvasContext, createInnerAudioContext, createIntersectionObserver, createInterstitialAd, createLivePlayerContext, createLivePusherContext, createMapContext, createMediaAudioPlayer, createMediaContainer, createMediaRecorder, createOffscreenCanvas, createRewardedVideoAd, createSelectorQuery, createTCPSocket, createUDPSocket, createVKSession, createVideoContext, createVideoDecoder, createWebAudioContext, createWorker, taro as default, disableAlertBeforeUnload, dishClassify, downloadFile, enableAlertBeforeUnload, eventCenter, exitMiniProgram, exitVoIPChat, faceDetect, faceVerifyForPay, getAccountInfoSync, getApp, getAppAuthorizeSetting, getAppBaseInfo, getAvailableAudioSources, getBLEDeviceCharacteristics, getBLEDeviceRSSI, getBLEDeviceServices, getBLEMTU, getBackgroundAudioManager, getBackgroundAudioPlayerState, getBackgroundFetchData, getBackgroundFetchToken, getBatteryInfo, getBatteryInfoSync, getBeacons, getBluetoothAdapterState, getBluetoothDevices, getChannelsLiveInfo, getChannelsLiveNoticeInfo, getClipboardData, getConnectedBluetoothDevices, getConnectedWifi, getCurrentInstance, getDeviceInfo, getEnterOptionsSync, getEnv, getExptInfoSync, getExtConfig, getExtConfigSync, getFileInfo, getFileSystemManager, getGroupEnterInfo, getHCEState, getImageInfo, getLaunchOptionsSync, getLocalIPAddress, getLocation, getLogManager, getMenuButtonBoundingClientRect, getNFCAdapter, getNetworkType, getOpenUserInfo, getPerformance, getRandomValues, getRealtimeLogManager, getRecorderManager, getSavedFileInfo, getSavedFileList, getScreenBrightness, getSelectedTextRange, getSetting, getShareInfo, getStorage, getStorageInfo, getStorageInfoSync, getStorageSync, getSwanId, getSystemInfo, getSystemInfoAsync, getSystemInfoSync, getSystemSetting, getUpdateManager, getUserCryptoManager, getUserInfo, getUserProfile, getVideoInfo, getWeRunData, getWifiList, getWindowInfo, hideHomeButton, hideKeyboard, hideLoading, hideNavigationBarLoading, hideShareMenu, hideTabBar, hideTabBarRedDot, hideToast, imageAudit, initFaceDetect, initPxTransform, initTabBarApis, interceptors, isBluetoothDevicePaired, isVKSupport, joinVoIPChat, loadFontFace, login, logoClassify, makeBluetoothPair, makePhoneCall, navigateBackMiniProgram, navigateBackSmartProgram, navigateToMiniProgram, navigateToSmartGameProgram, navigateToSmartProgram, nextTick, notifyBLECharacteristicValueChange, objectDetectIdentify, ocrBankCard, ocrDrivingLicense, ocrIdCard, ocrVehicleLicense, offAccelerometerChange, offAppHide, offAppShow, offAudioInterruptionBegin, offAudioInterruptionEnd, offBLECharacteristicValueChange, offBLEConnectionStateChange, offBLEMTUChange, offBLEPeripheralConnectionStateChanged, offBeaconServiceChange, offBeaconUpdate, offBluetoothAdapterStateChange, offBluetoothDeviceFound, offCompassChange, offCopyUrl, offDeviceMotionChange, offError, offGetWifiList, offGyroscopeChange, offHCEMessage, offKeyboardHeightChange, offLocalServiceDiscoveryStop, offLocalServiceFound, offLocalServiceLost, offLocalServiceResolveFail, offLocationChange, offLocationChangeError, offMemoryWarning, offNetworkStatusChange, offNetworkWeakChange, offPageNotFound, offThemeChange, offUnhandledRejection, offUserCaptureScreen, offVoIPChatInterrupted, offVoIPChatMembersChanged, offVoIPChatStateChanged, offVoIPVideoMembersChanged, offWifiConnected, offWindowResize, onAccelerometerChange, onAppHide, onAppShow, onAudioInterruptionBegin, onAudioInterruptionEnd, onBLECharacteristicValueChange, onBLEConnectionStateChange, onBLEMTUChange, onBLEPeripheralConnectionStateChanged, onBackgroundAudioPause, onBackgroundAudioPlay, onBackgroundAudioStop, onBackgroundFetchData, onBeaconServiceChange, onBeaconUpdate, onBluetoothAdapterStateChange, onBluetoothDeviceFound, onCompassChange, onCopyUrl, onDeviceMotionChange, onError, onGetWifiList, onGyroscopeChange, onHCEMessage, onKeyboardHeightChange, onLocalServiceDiscoveryStop, onLocalServiceFound, onLocalServiceLost, onLocalServiceResolveFail, onLocationChange, onLocationChangeError, onMemoryWarning, onNetworkStatusChange, onNetworkWeakChange, onPageNotFound, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, onThemeChange, onUnhandledRejection, onUserCaptureScreen, onVoIPChatInterrupted, onVoIPChatMembersChanged, onVoIPChatSpeakersChanged, onVoIPChatStateChanged, onVoIPVideoMembersChanged, onWifiConnected, onWifiConnectedWithPartialInfo, onWindowResize, openAppAuthorizeSetting, openBluetoothAdapter, openCard, openChannelsActivity, openChannelsEvent, openChannelsLive, openCustomerServiceChat, openDocument, openEmbeddedMiniProgram, openLocation, openSetting, openSystemBluetoothSetting, openVideoEditor, options, pageScrollTo, pauseBackgroundAudio, pauseVoice, plantClassify, playBackgroundAudio, playVoice, pluginLogin, preload, preloadSubPackage, previewImage, previewMedia, pxTransform, readBLECharacteristicValue, removeSavedFile, removeStorage, removeStorageSync, removeTabBarBadge, reportAnalytics, reportEvent, reportMonitor, reportPerformance, request, requestOrderPayment, requestPayment, requestPolymerPayment, requestSubscribeMessage, requirePlugin, reserveChannelsLive, revokeBufferURL, saveFile, saveFileToDisk, saveImageToPhotosAlbum, saveVideoToPhotosAlbum, scanCode, seekBackgroundAudio, sendHCEMessage, sendSocketMessage, setBLEMTU, setBackgroundColor, setBackgroundFetchToken, setBackgroundTextStyle, setClipboardData, setEnable1v1Chat, setEnableDebug, setInnerAudioOption, setKeepScreenOn, setNavigationBarColor, setNavigationBarTitle, setPageInfo, setScreenBrightness, setStorage, setStorageSync, setTabBarBadge, setTabBarItem, setTabBarStyle, setTopBarText, setVisualEffectOnCapture, setWifiList, setWindowSize, shareFileMessage, shareToWeRun, shareVideoMessage, showActionSheet, showLoading, showModal, showNavigationBarLoading, showRedPackage, showShareImageMenu, showShareMenu, showTabBar, showTabBarRedDot, showToast, startAccelerometer, startBeaconDiscovery, startBluetoothDevicesDiscovery, startCompass, startDeviceMotionListening, startFacialRecognitionVerify, startFacialRecognitionVerifyAndUploadVideo, startGyroscope, startHCE, startLocalServiceDiscovery, startLocationUpdate, startLocationUpdateBackground, startPullDownRefresh, startRecord, startSoterAuthentication, startWifi, stopAccelerometer, stopBackgroundAudio, stopBeaconDiscovery, stopBluetoothDevicesDiscovery, stopCompass, stopDeviceMotionListening, stopFaceDetect, stopGyroscope, stopHCE, stopLocalServiceDiscovery, stopLocationUpdate, stopPullDownRefresh, stopRecord, stopVoice, stopWifi, subscribeVoIPVideoMembers, textReview, textToAudio, updateShareMenu, updateVoIPChatMuteConfig, updateWeChatApp, uploadFile, vibrateLong, vibrateShort, writeBLECharacteristicValue };
|
|
5195
|
+
export { Behavior, Current, ENV_TYPE, Events, Link, addCard, addFileToFavorites, addInterceptor, addPhoneCalendar, addPhoneContact, addPhoneRepeatCalendar, addVideoToFavorites, advancedGeneralIdentify, animalClassify, arrayBufferToBase64, authPrivateMessage, authorize, authorizeForMiniProgram, base64ToArrayBuffer, canIUse, canIUseWebp, canvasGetImageData, canvasPutImageData, canvasToTempFilePath, carClassify, checkIsOpenAccessibility, checkIsSoterEnrolledInDevice, checkIsSupportFacialRecognition, checkIsSupportSoterAuthentication, checkSession, chooseAddress, chooseContact, chooseImage, chooseInvoice, chooseInvoiceTitle, chooseLicensePlate, chooseLocation, chooseMedia, chooseMessageFile, choosePoi, chooseVideo, clearStorage, clearStorageSync, closeBLEConnection, closeBluetoothAdapter, closeSocket, cloud, compressImage, compressVideo, connectSocket, connectWifi, createAnimation, createAudioContext, createBLEConnection, createBLEPeripheralServer, createBufferURL, createCameraContext, createCanvasContext, createInnerAudioContext, createIntersectionObserver, createInterstitialAd, createLivePlayerContext, createLivePusherContext, createMapContext, createMediaAudioPlayer, createMediaContainer, createMediaRecorder, createOffscreenCanvas, createRewardedVideoAd, createSelectorQuery, createTCPSocket, createUDPSocket, createVKSession, createVideoContext, createVideoDecoder, createWebAudioContext, createWorker, taro as default, disableAlertBeforeUnload, dishClassify, downloadFile, enableAlertBeforeUnload, eventCenter, exitMiniProgram, exitVoIPChat, faceDetect, faceVerifyForPay, getAccountInfoSync, getApp, getAppAuthorizeSetting, getAppBaseInfo, getAvailableAudioSources, getBLEDeviceCharacteristics, getBLEDeviceRSSI, getBLEDeviceServices, getBLEMTU, getBackgroundAudioManager, getBackgroundAudioPlayerState, getBackgroundFetchData, getBackgroundFetchToken, getBatteryInfo, getBatteryInfoSync, getBeacons, getBluetoothAdapterState, getBluetoothDevices, getChannelsLiveInfo, getChannelsLiveNoticeInfo, getClipboardData, getConnectedBluetoothDevices, getConnectedWifi, getCurrentInstance, getDeviceInfo, getEnterOptionsSync, getEnv, getExptInfoSync, getExtConfig, getExtConfigSync, getFileInfo, getFileSystemManager, getFuzzyLocation, getGroupEnterInfo, getHCEState, getImageInfo, getLaunchOptionsSync, getLocalIPAddress, getLocation, getLogManager, getMenuButtonBoundingClientRect, getNFCAdapter, getNetworkType, getOpenUserInfo, getPerformance, getRandomValues, getRealtimeLogManager, getRecorderManager, getSavedFileInfo, getSavedFileList, getScreenBrightness, getSelectedTextRange, getSetting, getShareInfo, getStorage, getStorageInfo, getStorageInfoSync, getStorageSync, getSwanId, getSystemInfo, getSystemInfoAsync, getSystemInfoSync, getSystemSetting, getUpdateManager, getUserCryptoManager, getUserInfo, getUserProfile, getVideoInfo, getWeRunData, getWifiList, getWindowInfo, hideHomeButton, hideKeyboard, hideLoading, hideNavigationBarLoading, hideShareMenu, hideTabBar, hideTabBarRedDot, hideToast, imageAudit, initFaceDetect, initPxTransform, initTabBarApis, interceptors, isBluetoothDevicePaired, isVKSupport, joinVoIPChat, loadFontFace, login, logoClassify, makeBluetoothPair, makePhoneCall, navigateBackMiniProgram, navigateBackSmartProgram, navigateToMiniProgram, navigateToSmartGameProgram, navigateToSmartProgram, nextTick, notifyBLECharacteristicValueChange, objectDetectIdentify, ocrBankCard, ocrDrivingLicense, ocrIdCard, ocrVehicleLicense, offAccelerometerChange, offAppHide, offAppShow, offAudioInterruptionBegin, offAudioInterruptionEnd, offBLECharacteristicValueChange, offBLEConnectionStateChange, offBLEMTUChange, offBLEPeripheralConnectionStateChanged, offBeaconServiceChange, offBeaconUpdate, offBluetoothAdapterStateChange, offBluetoothDeviceFound, offCompassChange, offCopyUrl, offDeviceMotionChange, offError, offGetWifiList, offGyroscopeChange, offHCEMessage, offKeyboardHeightChange, offLocalServiceDiscoveryStop, offLocalServiceFound, offLocalServiceLost, offLocalServiceResolveFail, offLocationChange, offLocationChangeError, offMemoryWarning, offNetworkStatusChange, offNetworkWeakChange, offPageNotFound, offThemeChange, offUnhandledRejection, offUserCaptureScreen, offVoIPChatInterrupted, offVoIPChatMembersChanged, offVoIPChatStateChanged, offVoIPVideoMembersChanged, offWifiConnected, offWindowResize, onAccelerometerChange, onAppHide, onAppShow, onAudioInterruptionBegin, onAudioInterruptionEnd, onBLECharacteristicValueChange, onBLEConnectionStateChange, onBLEMTUChange, onBLEPeripheralConnectionStateChanged, onBackgroundAudioPause, onBackgroundAudioPlay, onBackgroundAudioStop, onBackgroundFetchData, onBeaconServiceChange, onBeaconUpdate, onBluetoothAdapterStateChange, onBluetoothDeviceFound, onCompassChange, onCopyUrl, onDeviceMotionChange, onError, onGetWifiList, onGyroscopeChange, onHCEMessage, onKeyboardHeightChange, onLocalServiceDiscoveryStop, onLocalServiceFound, onLocalServiceLost, onLocalServiceResolveFail, onLocationChange, onLocationChangeError, onMemoryWarning, onNetworkStatusChange, onNetworkWeakChange, onPageNotFound, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, onThemeChange, onUnhandledRejection, onUserCaptureScreen, onVoIPChatInterrupted, onVoIPChatMembersChanged, onVoIPChatSpeakersChanged, onVoIPChatStateChanged, onVoIPVideoMembersChanged, onWifiConnected, onWifiConnectedWithPartialInfo, onWindowResize, openAppAuthorizeSetting, openBluetoothAdapter, openCard, openChannelsActivity, openChannelsEvent, openChannelsLive, openCustomerServiceChat, openDocument, openEmbeddedMiniProgram, openLocation, openSetting, openSystemBluetoothSetting, openVideoEditor, options, pageScrollTo, pauseBackgroundAudio, pauseVoice, plantClassify, playBackgroundAudio, playVoice, pluginLogin, preload, preloadSubPackage, previewImage, previewMedia, pxTransform, readBLECharacteristicValue, removeSavedFile, removeStorage, removeStorageSync, removeTabBarBadge, reportAnalytics, reportEvent, reportMonitor, reportPerformance, request, requestOrderPayment, requestPayment, requestPolymerPayment, requestSubscribeMessage, requirePlugin, reserveChannelsLive, revokeBufferURL, saveFile, saveFileToDisk, saveImageToPhotosAlbum, saveVideoToPhotosAlbum, scanCode, seekBackgroundAudio, sendHCEMessage, sendSocketMessage, setBLEMTU, setBackgroundColor, setBackgroundFetchToken, setBackgroundTextStyle, setClipboardData, setEnable1v1Chat, setEnableDebug, setInnerAudioOption, setKeepScreenOn, setNavigationBarColor, setNavigationBarTitle, setPageInfo, setScreenBrightness, setStorage, setStorageSync, setTabBarBadge, setTabBarItem, setTabBarStyle, setTopBarText, setVisualEffectOnCapture, setWifiList, setWindowSize, shareFileMessage, shareToWeRun, shareVideoMessage, showActionSheet, showLoading, showModal, showNavigationBarLoading, showRedPackage, showShareImageMenu, showShareMenu, showTabBar, showTabBarRedDot, showToast, startAccelerometer, startBeaconDiscovery, startBluetoothDevicesDiscovery, startCompass, startDeviceMotionListening, startFacialRecognitionVerify, startFacialRecognitionVerifyAndUploadVideo, startGyroscope, startHCE, startLocalServiceDiscovery, startLocationUpdate, startLocationUpdateBackground, startPullDownRefresh, startRecord, startSoterAuthentication, startWifi, stopAccelerometer, stopBackgroundAudio, stopBeaconDiscovery, stopBluetoothDevicesDiscovery, stopCompass, stopDeviceMotionListening, stopFaceDetect, stopGyroscope, stopHCE, stopLocalServiceDiscovery, stopLocationUpdate, stopPullDownRefresh, stopRecord, stopVoice, stopWifi, subscribeVoIPVideoMembers, textReview, textToAudio, updateShareMenu, updateVoIPChatMuteConfig, updateWeChatApp, uploadFile, vibrateLong, vibrateShort, writeBLECharacteristicValue };
|
|
5226
5196
|
//# sourceMappingURL=index.esm.js.map
|