@tarojs/runtime 3.7.0-canary.0 → 3.8.0-canary.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bom/URL.d.ts +61 -0
- package/dist/bom/URLSearchParams.d.ts +14 -0
- package/dist/bom/document.d.ts +2 -0
- package/dist/bom/getComputedStyle.d.ts +3 -0
- package/dist/bom/history.d.ts +29 -0
- package/dist/bom/location.d.ts +36 -0
- package/dist/bom/navigator.d.ts +1 -0
- package/dist/bom/raf.d.ts +5 -0
- package/dist/bom/window.d.ts +4 -0
- package/dist/constants/index.d.ts +59 -0
- package/dist/current.d.ts +19 -0
- package/dist/dom/anchor-element.d.ts +13 -0
- package/dist/dom/class-list.d.ts +16 -0
- package/dist/dom/document.d.ts +20 -0
- package/dist/dom/element.d.ts +39 -0
- package/dist/dom/event-source.d.ts +7 -0
- package/dist/dom/event-target.d.ts +7 -0
- package/dist/dom/event.d.ts +23 -0
- package/dist/dom/form.d.ts +9 -0
- package/dist/dom/node.d.ts +76 -0
- package/dist/dom/node_types.d.ts +10 -0
- package/dist/dom/root.d.ts +15 -0
- package/dist/dom/style.d.ts +14 -0
- package/dist/dom/style_properties.d.ts +3 -0
- package/dist/dom/svg.d.ts +3 -0
- package/dist/dom/text.d.ts +14 -0
- package/dist/dom/tree.d.ts +4 -0
- package/dist/dom-external/element.d.ts +3 -0
- package/dist/dom-external/index.d.ts +1 -0
- package/dist/dom-external/inner-html/html.d.ts +2 -0
- package/dist/dom-external/inner-html/parser.d.ts +25 -0
- package/dist/dom-external/inner-html/scaner.d.ts +30 -0
- package/dist/dom-external/inner-html/style.d.ts +27 -0
- package/dist/dom-external/inner-html/tags.d.ts +8 -0
- package/dist/dom-external/inner-html/utils.d.ts +1 -0
- package/dist/dom-external/mutation-observer/implements.d.ts +52 -0
- package/dist/dom-external/mutation-observer/index.d.ts +13 -0
- package/dist/dom-external/mutation-observer/record.d.ts +24 -0
- package/dist/dom-external/node.d.ts +11 -0
- package/dist/dsl/common.d.ts +16 -0
- package/dist/dsl/instance.d.ts +91 -0
- package/dist/emitter/emitter.d.ts +4 -0
- package/dist/env.d.ts +7 -0
- package/dist/hydrate.d.ts +10 -0
- package/dist/index.d.ts +33 -0
- package/dist/interface/element.d.ts +4 -0
- package/dist/interface/event-target.d.ts +10 -0
- package/dist/interface/event.d.ts +15 -0
- package/dist/interface/hydrate.d.ts +29 -0
- package/dist/interface/index.d.ts +7 -0
- package/dist/interface/node.d.ts +7 -0
- package/dist/interface/options.d.ts +16 -0
- package/dist/interface/utils.d.ts +2 -0
- package/dist/next-tick.d.ts +2 -0
- package/dist/options.d.ts +2 -0
- package/dist/perf.d.ts +7 -0
- package/dist/runtime.esm.d.ts +137 -66
- package/dist/runtime.esm.js +121 -64
- package/dist/runtime.esm.js.map +1 -1
- package/dist/utils/cache.d.ts +12 -0
- package/dist/utils/index.d.ts +23 -0
- package/package.json +6 -11
- package/dist/runtime.cjs.d.ts +0 -710
- package/dist/runtime.cjs.js +0 -4491
- package/dist/runtime.h5.d.ts +0 -710
- package/dist/runtime.h5.js +0 -3249
package/dist/runtime.esm.js
CHANGED
|
@@ -2,6 +2,8 @@ import { noop, isFunction, getComponentsAlias as getComponentsAlias$1, internalC
|
|
|
2
2
|
export { Events, hooks } from '@tarojs/shared';
|
|
3
3
|
|
|
4
4
|
const PROPERTY_THRESHOLD = 2046;
|
|
5
|
+
const TARO_RUNTIME = 'Taro runtime';
|
|
6
|
+
const HOOKS_APP_ID = 'taro-app';
|
|
5
7
|
const SET_DATA = '小程序 setData';
|
|
6
8
|
const PAGE_INIT = '页面初始化';
|
|
7
9
|
const ROOT_STR = 'root';
|
|
@@ -34,6 +36,9 @@ const CONFIRM = 'confirm';
|
|
|
34
36
|
const TIME_STAMP = 'timeStamp';
|
|
35
37
|
const KEY_CODE = 'keyCode';
|
|
36
38
|
const TOUCHMOVE = 'touchmove';
|
|
39
|
+
const DATE = 'Date';
|
|
40
|
+
const SET_TIMEOUT = 'setTimeout';
|
|
41
|
+
const COMPILE_MODE = 'compileMode';
|
|
37
42
|
const CATCHMOVE = 'catchMove';
|
|
38
43
|
const CATCH_VIEW = 'catch-view';
|
|
39
44
|
const COMMENT = 'comment';
|
|
@@ -396,41 +401,47 @@ const env = {
|
|
|
396
401
|
|
|
397
402
|
let SPECIAL_NODES;
|
|
398
403
|
let componentsAlias;
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
function
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
}
|
|
404
|
+
function initConfig() {
|
|
405
|
+
// 初始化 SPECIAL_NODES
|
|
406
|
+
SPECIAL_NODES || (SPECIAL_NODES = hooks.call('getSpecialNodes'));
|
|
407
|
+
// 初始化 componentsAlias
|
|
408
|
+
componentsAlias || (componentsAlias = getComponentsAlias());
|
|
409
|
+
}
|
|
410
|
+
function hydrateTextNode(node) {
|
|
411
|
+
var _a;
|
|
412
|
+
return {
|
|
413
|
+
["v" /* Shortcuts.Text */]: node.nodeValue,
|
|
414
|
+
["nn" /* Shortcuts.NodeName */]: ((_a = componentsAlias[node.nodeName]) === null || _a === void 0 ? void 0 : _a._num) || '8'
|
|
415
|
+
};
|
|
416
|
+
}
|
|
417
|
+
function hydrateElementNode(node) {
|
|
414
418
|
const nodeName = node.nodeName;
|
|
415
|
-
|
|
416
|
-
return {
|
|
417
|
-
["v" /* Shortcuts.Text */]: node.nodeValue,
|
|
418
|
-
["nn" /* Shortcuts.NodeName */]: componentsAlias[nodeName]._num
|
|
419
|
-
};
|
|
420
|
-
}
|
|
419
|
+
let isCompileMode = false;
|
|
421
420
|
const data = {
|
|
422
421
|
["nn" /* Shortcuts.NodeName */]: nodeName,
|
|
423
422
|
sid: node.sid
|
|
424
423
|
};
|
|
425
|
-
|
|
426
|
-
data.uid = node.uid;
|
|
427
|
-
}
|
|
424
|
+
// NodeName
|
|
428
425
|
if (!node.isAnyEventBinded() && SPECIAL_NODES.indexOf(nodeName) > -1) {
|
|
429
426
|
data["nn" /* Shortcuts.NodeName */] = `static-${nodeName}`;
|
|
430
427
|
if (nodeName === VIEW && !isHasExtractProp(node)) {
|
|
431
428
|
data["nn" /* Shortcuts.NodeName */] = PURE_VIEW;
|
|
432
429
|
}
|
|
433
430
|
}
|
|
431
|
+
// Id
|
|
432
|
+
if (node.uid !== node.sid) {
|
|
433
|
+
data.uid = node.uid;
|
|
434
|
+
}
|
|
435
|
+
// Class
|
|
436
|
+
if (node.className !== '') {
|
|
437
|
+
data["cl" /* Shortcuts.Class */] = node.className;
|
|
438
|
+
}
|
|
439
|
+
// Style
|
|
440
|
+
const cssText = node.cssText;
|
|
441
|
+
if (cssText !== '' && nodeName !== 'swiper-item') {
|
|
442
|
+
data["st" /* Shortcuts.Style */] = cssText;
|
|
443
|
+
}
|
|
444
|
+
// Attributes
|
|
434
445
|
const { props } = node;
|
|
435
446
|
for (const prop in props) {
|
|
436
447
|
const propInCamelCase = toCamelCase(prop);
|
|
@@ -438,30 +449,22 @@ function hydrate(node) {
|
|
|
438
449
|
prop !== CLASS &&
|
|
439
450
|
prop !== STYLE &&
|
|
440
451
|
prop !== ID &&
|
|
441
|
-
propInCamelCase !== CATCHMOVE
|
|
452
|
+
propInCamelCase !== CATCHMOVE &&
|
|
453
|
+
propInCamelCase !== COMPILE_MODE) {
|
|
442
454
|
data[propInCamelCase] = props[prop];
|
|
443
455
|
}
|
|
444
456
|
if (nodeName === VIEW && propInCamelCase === CATCHMOVE && props[prop] !== false) {
|
|
445
457
|
data["nn" /* Shortcuts.NodeName */] = CATCH_VIEW;
|
|
446
458
|
}
|
|
459
|
+
if (propInCamelCase === COMPILE_MODE) {
|
|
460
|
+
isCompileMode = true;
|
|
461
|
+
}
|
|
447
462
|
}
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
if (childNodes.length > 0) {
|
|
452
|
-
data["cn" /* Shortcuts.Childnodes */] = childNodes.map(hydrate);
|
|
453
|
-
}
|
|
454
|
-
else {
|
|
455
|
-
data["cn" /* Shortcuts.Childnodes */] = [];
|
|
456
|
-
}
|
|
457
|
-
if (node.className !== '') {
|
|
458
|
-
data["cl" /* Shortcuts.Class */] = node.className;
|
|
459
|
-
}
|
|
460
|
-
const cssText = node.cssText;
|
|
461
|
-
if (cssText !== '' && nodeName !== 'swiper-item') {
|
|
462
|
-
data["st" /* Shortcuts.Style */] = cssText;
|
|
463
|
-
}
|
|
463
|
+
// Children
|
|
464
|
+
data["cn" /* Shortcuts.Childnodes */] = node.childNodes.filter(n => !isComment(n)).map(hydrate);
|
|
465
|
+
// Custom behavior
|
|
464
466
|
hooks.call('modifyHydrateData', data);
|
|
467
|
+
// Turn in alias
|
|
465
468
|
const nn = data["nn" /* Shortcuts.NodeName */];
|
|
466
469
|
const componentAlias = componentsAlias[nn];
|
|
467
470
|
if (componentAlias) {
|
|
@@ -473,8 +476,26 @@ function hydrate(node) {
|
|
|
473
476
|
}
|
|
474
477
|
}
|
|
475
478
|
}
|
|
479
|
+
if (isCompileMode) {
|
|
480
|
+
data["nn" /* Shortcuts.NodeName */] = props[COMPILE_MODE];
|
|
481
|
+
}
|
|
476
482
|
return data;
|
|
477
483
|
}
|
|
484
|
+
/**
|
|
485
|
+
* React also has a fancy function's name for this: `hydrate()`.
|
|
486
|
+
* You may have been heard `hydrate` as a SSR-related function,
|
|
487
|
+
* actually, `hydrate` basicly do the `render()` thing, but ignore some properties,
|
|
488
|
+
* it's a vnode traverser and modifier: that's exactly what Taro's doing in here.
|
|
489
|
+
*/
|
|
490
|
+
function hydrate(node) {
|
|
491
|
+
initConfig();
|
|
492
|
+
if (isText(node)) {
|
|
493
|
+
return hydrateTextNode(node);
|
|
494
|
+
}
|
|
495
|
+
else {
|
|
496
|
+
return hydrateElementNode(node);
|
|
497
|
+
}
|
|
498
|
+
}
|
|
478
499
|
|
|
479
500
|
class TaroEventTarget {
|
|
480
501
|
constructor() {
|
|
@@ -573,6 +594,18 @@ class TaroNode extends TaroEventTarget {
|
|
|
573
594
|
value: isClean ? cleanChildNodes : rerenderChildNodes
|
|
574
595
|
});
|
|
575
596
|
}
|
|
597
|
+
updateSingleChild(index) {
|
|
598
|
+
this.childNodes.forEach((child, childIndex) => {
|
|
599
|
+
if (isComment(child))
|
|
600
|
+
return;
|
|
601
|
+
if (index && childIndex < index)
|
|
602
|
+
return;
|
|
603
|
+
this.enqueueUpdate({
|
|
604
|
+
path: child._path,
|
|
605
|
+
value: this.hydrate(child)
|
|
606
|
+
});
|
|
607
|
+
});
|
|
608
|
+
}
|
|
576
609
|
get _root() {
|
|
577
610
|
var _a;
|
|
578
611
|
return ((_a = this.parentNode) === null || _a === void 0 ? void 0 : _a._root) || null;
|
|
@@ -664,22 +697,24 @@ class TaroNode extends TaroEventTarget {
|
|
|
664
697
|
// - cleanRef: false (No need to clean eventSource, because newChild is about to be inserted)
|
|
665
698
|
// - update: true (Need to update parent.childNodes, because parent.childNodes is reordered)
|
|
666
699
|
newChild.remove({ cleanRef: false });
|
|
700
|
+
let index = 0;
|
|
667
701
|
// Data structure
|
|
668
702
|
newChild.parentNode = this;
|
|
669
703
|
if (refChild) {
|
|
670
704
|
// insertBefore & replaceChild
|
|
671
|
-
|
|
705
|
+
index = this.findIndex(refChild);
|
|
672
706
|
this.childNodes.splice(index, 0, newChild);
|
|
673
707
|
}
|
|
674
708
|
else {
|
|
675
709
|
// appendChild
|
|
676
710
|
this.childNodes.push(newChild);
|
|
677
711
|
}
|
|
712
|
+
const childNodesLength = this.childNodes.length;
|
|
678
713
|
// Serialization
|
|
679
714
|
if (this._root) {
|
|
680
715
|
if (!refChild) {
|
|
681
716
|
// appendChild
|
|
682
|
-
const isOnlyChild =
|
|
717
|
+
const isOnlyChild = childNodesLength === 1;
|
|
683
718
|
if (isOnlyChild) {
|
|
684
719
|
this.updateChildNodes();
|
|
685
720
|
}
|
|
@@ -698,8 +733,26 @@ class TaroNode extends TaroEventTarget {
|
|
|
698
733
|
});
|
|
699
734
|
}
|
|
700
735
|
else {
|
|
701
|
-
// insertBefore
|
|
702
|
-
|
|
736
|
+
// insertBefore 有两种更新模式
|
|
737
|
+
// 比方说有 A B C 三个节点,现在要在 C 前插入 D
|
|
738
|
+
// 1. 插入 D,然后更新整个父节点的 childNodes 数组
|
|
739
|
+
// setData({ cn: [A, B, D, C] })
|
|
740
|
+
// 2. 插入 D,然后更新 D 以及 D 之后每个节点的数据
|
|
741
|
+
// setData ({
|
|
742
|
+
// cn.[2]: D,
|
|
743
|
+
// cn.[3]: C,
|
|
744
|
+
// })
|
|
745
|
+
// 由于微信解析 ’cn.[2]‘ 这些路径的时候也需要消耗时间,
|
|
746
|
+
// 所以根据 insertBefore 插入的位置来做不同的处理
|
|
747
|
+
const mark = childNodesLength * 2 / 3;
|
|
748
|
+
if (mark > index) {
|
|
749
|
+
// 如果 insertBefore 的位置在 childNodes 的 2/3 前,则为了避免解析路径消耗过多的时间,采用第一种方式
|
|
750
|
+
this.updateChildNodes();
|
|
751
|
+
}
|
|
752
|
+
else {
|
|
753
|
+
// 如果 insertBefore 的位置在 childNodes 的 2/3 之后,则采用第二种方式,避免 childNodes 的全量更新
|
|
754
|
+
this.updateSingleChild(index);
|
|
755
|
+
}
|
|
703
756
|
}
|
|
704
757
|
}
|
|
705
758
|
MutationObserver.record({
|
|
@@ -2430,13 +2483,13 @@ class TaroEvent {
|
|
|
2430
2483
|
this.defaultPrevented = true;
|
|
2431
2484
|
}
|
|
2432
2485
|
get target() {
|
|
2433
|
-
var _a, _b;
|
|
2486
|
+
var _a, _b, _c;
|
|
2434
2487
|
const cacheTarget = this.cacheTarget;
|
|
2435
2488
|
if (!cacheTarget) {
|
|
2436
2489
|
const target = Object.create(((_a = this.mpEvent) === null || _a === void 0 ? void 0 : _a.target) || null);
|
|
2437
|
-
const element = env.document.getElementById(target.id);
|
|
2490
|
+
const element = env.document.getElementById(((_b = target.dataset) === null || _b === void 0 ? void 0 : _b.sid) || target.id || null);
|
|
2438
2491
|
target.dataset = element !== null ? element.dataset : EMPTY_OBJ;
|
|
2439
|
-
for (const key in (
|
|
2492
|
+
for (const key in (_c = this.mpEvent) === null || _c === void 0 ? void 0 : _c.detail) {
|
|
2440
2493
|
target[key] = this.mpEvent.detail[key];
|
|
2441
2494
|
}
|
|
2442
2495
|
this.cacheTarget = target;
|
|
@@ -2447,19 +2500,19 @@ class TaroEvent {
|
|
|
2447
2500
|
}
|
|
2448
2501
|
}
|
|
2449
2502
|
get currentTarget() {
|
|
2450
|
-
var _a, _b, _c, _d;
|
|
2503
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
2451
2504
|
const cacheCurrentTarget = this.cacheCurrentTarget;
|
|
2452
2505
|
if (!cacheCurrentTarget) {
|
|
2453
2506
|
const doc = env.document;
|
|
2454
2507
|
const currentTarget = Object.create(((_a = this.mpEvent) === null || _a === void 0 ? void 0 : _a.currentTarget) || null);
|
|
2455
|
-
const element = doc.getElementById(currentTarget.id);
|
|
2456
|
-
const targetElement = doc.getElementById(((_c = (
|
|
2508
|
+
const element = doc.getElementById(((_b = currentTarget.dataset) === null || _b === void 0 ? void 0 : _b.sid) || currentTarget.id || null);
|
|
2509
|
+
const targetElement = doc.getElementById(((_e = (_d = (_c = this.mpEvent) === null || _c === void 0 ? void 0 : _c.target) === null || _d === void 0 ? void 0 : _d.dataset) === null || _e === void 0 ? void 0 : _e.sid) || ((_g = (_f = this.mpEvent) === null || _f === void 0 ? void 0 : _f.target) === null || _g === void 0 ? void 0 : _g.id) || null);
|
|
2457
2510
|
if (element === null || (element && element === targetElement)) {
|
|
2458
2511
|
this.cacheCurrentTarget = this.target;
|
|
2459
2512
|
return this.target;
|
|
2460
2513
|
}
|
|
2461
2514
|
currentTarget.dataset = element.dataset;
|
|
2462
|
-
for (const key in (
|
|
2515
|
+
for (const key in (_h = this.mpEvent) === null || _h === void 0 ? void 0 : _h.detail) {
|
|
2463
2516
|
currentTarget[key] = this.mpEvent.detail[key];
|
|
2464
2517
|
}
|
|
2465
2518
|
this.cacheCurrentTarget = currentTarget;
|
|
@@ -2814,8 +2867,6 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
2814
2867
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
2815
2868
|
PERFORMANCE OF THIS SOFTWARE.
|
|
2816
2869
|
***************************************************************************** */
|
|
2817
|
-
/* global Reflect, Promise */
|
|
2818
|
-
|
|
2819
2870
|
|
|
2820
2871
|
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
2821
2872
|
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
@@ -3208,9 +3259,6 @@ class AnchorElement extends TaroElement {
|
|
|
3208
3259
|
}
|
|
3209
3260
|
}
|
|
3210
3261
|
|
|
3211
|
-
class CustomWrapperElement extends TaroElement {
|
|
3212
|
-
}
|
|
3213
|
-
|
|
3214
3262
|
class TaroDocument extends TaroElement {
|
|
3215
3263
|
constructor() {
|
|
3216
3264
|
super();
|
|
@@ -3231,9 +3279,6 @@ class TaroDocument extends TaroElement {
|
|
|
3231
3279
|
case nodeName === A:
|
|
3232
3280
|
element = new AnchorElement();
|
|
3233
3281
|
break;
|
|
3234
|
-
case nodeName === CUSTOM_WRAPPER:
|
|
3235
|
-
element = new CustomWrapperElement();
|
|
3236
|
-
break;
|
|
3237
3282
|
default:
|
|
3238
3283
|
element = new TaroElement();
|
|
3239
3284
|
break;
|
|
@@ -4024,8 +4069,19 @@ function createPageConfig(component, pageName, data, pageConfig) {
|
|
|
4024
4069
|
}
|
|
4025
4070
|
};
|
|
4026
4071
|
LIFECYCLES.forEach((lifecycle) => {
|
|
4072
|
+
let isDefer = false;
|
|
4073
|
+
lifecycle = lifecycle.replace(/^defer:/, () => {
|
|
4074
|
+
isDefer = true;
|
|
4075
|
+
return '';
|
|
4076
|
+
});
|
|
4027
4077
|
config[lifecycle] = function () {
|
|
4028
|
-
|
|
4078
|
+
const exec = () => safeExecute(this.$taroPath, lifecycle, ...arguments);
|
|
4079
|
+
if (isDefer) {
|
|
4080
|
+
hasLoaded.then(exec);
|
|
4081
|
+
}
|
|
4082
|
+
else {
|
|
4083
|
+
return exec();
|
|
4084
|
+
}
|
|
4029
4085
|
};
|
|
4030
4086
|
});
|
|
4031
4087
|
// onShareAppMessage 和 onShareTimeline 一样,会影响小程序右上方按钮的选项,因此不能默认注册。
|
|
@@ -4064,7 +4120,8 @@ function createComponentConfig(component, componentName, data) {
|
|
|
4064
4120
|
[ATTACHED]() {
|
|
4065
4121
|
var _a;
|
|
4066
4122
|
perf.start(PAGE_INIT);
|
|
4067
|
-
|
|
4123
|
+
this.pageIdCache = ((_a = this.getPageId) === null || _a === void 0 ? void 0 : _a.call(this)) || pageId();
|
|
4124
|
+
const path = getPath(id, { id: this.pageIdCache });
|
|
4068
4125
|
Current.app.mount(component, path, () => {
|
|
4069
4126
|
componentElement = env.document.getElementById(path);
|
|
4070
4127
|
ensure(componentElement !== null, '没有找到组件实例。');
|
|
@@ -4077,7 +4134,7 @@ function createComponentConfig(component, componentName, data) {
|
|
|
4077
4134
|
});
|
|
4078
4135
|
},
|
|
4079
4136
|
[DETACHED]() {
|
|
4080
|
-
const path = getPath(id, { id: this.
|
|
4137
|
+
const path = getPath(id, { id: this.pageIdCache });
|
|
4081
4138
|
Current.app.unmount(path, () => {
|
|
4082
4139
|
instances.delete(path);
|
|
4083
4140
|
if (componentElement) {
|
|
@@ -4188,5 +4245,5 @@ const nextTick = (cb, ctx) => {
|
|
|
4188
4245
|
next();
|
|
4189
4246
|
};
|
|
4190
4247
|
|
|
4191
|
-
export { Current, FormElement, History, Location, MutationObserver, SVGElement, Style, TaroElement, TaroEvent, TaroNode, TaroRootElement, TaroText, URL, URLSearchParams, addLeadingSlash, _caf as cancelAnimationFrame, createComponentConfig, createEvent, createPageConfig, createRecursiveComponentConfig, document$1 as document, eventCenter, eventHandler, eventSource, getComputedStyle, getCurrentInstance, getPageInstance, getPath, history, hydrate, incrementId, injectPageInstance, location, nav as navigator, nextTick, now, options, parseUrl, removePageInstance, _raf as requestAnimationFrame, safeExecute, stringify, window$1 as window };
|
|
4248
|
+
export { A, APP, BEHAVIORS, BODY, CATCHMOVE, CATCH_VIEW, CHANGE, CLASS, COMMENT, COMPILE_MODE, CONFIRM, CONTAINER, CONTEXT_ACTIONS, CURRENT_TARGET, CUSTOM_WRAPPER, Current, DATASET, DATE, DOCUMENT_ELEMENT_NAME, DOCUMENT_FRAGMENT, EVENT_CALLBACK_RESULT, EXTERNAL_CLASSES, FOCUS, FormElement, HEAD, HOOKS_APP_ID, HTML, History, ID, INPUT, KEY_CODE, Location, MutationObserver, OBJECT, ON_HIDE, ON_LOAD, ON_READY, ON_SHOW, OPTIONS, PAGE_INIT, PROPERTY_THRESHOLD, PROPS, PURE_VIEW, ROOT_STR, SET_DATA, SET_TIMEOUT, STATIC_VIEW, STYLE, SVGElement, Style, TARGET, TARO_RUNTIME, TIME_STAMP, TOUCHMOVE, TYPE, TaroElement, TaroEvent, TaroNode, TaroRootElement, TaroText, UID, URL, URLSearchParams, VALUE, VIEW, addLeadingSlash, _caf as cancelAnimationFrame, createComponentConfig, createEvent, createPageConfig, createRecursiveComponentConfig, document$1 as document, env, eventCenter, eventHandler, eventSource, getComputedStyle, getCurrentInstance, getOnHideEventKey, getOnReadyEventKey, getOnShowEventKey, getPageInstance, getPath, history, hydrate, incrementId, injectPageInstance, location, nav as navigator, nextTick, now, options, parseUrl, removePageInstance, _raf as requestAnimationFrame, safeExecute, stringify, window$1 as window };
|
|
4192
4249
|
//# sourceMappingURL=runtime.esm.js.map
|