@tarojs/runtime 4.0.0-beta.5 → 4.0.0-beta.51
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/window.js.map +1 -1
- package/dist/index.cjs.d.ts +11 -1
- package/dist/index.cjs.js +31 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/instance-4c64b022.d.ts +1 -0
- package/dist/perf.d.ts +3 -1
- package/dist/perf.js +22 -3
- package/dist/perf.js.map +1 -1
- package/dist/runtime.esm.d.ts +11 -1
- package/dist/runtime.esm.js +30 -4
- package/dist/runtime.esm.js.map +1 -1
- package/dist/utils/lodash.d.ts +2 -1
- package/dist/utils/lodash.js +11 -1
- package/dist/utils/lodash.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ export * from "./emitter/emitter.js";
|
|
|
27
27
|
export { hydrate } from "./hydrate.js";
|
|
28
28
|
export { nextTick } from "./next-tick.js";
|
|
29
29
|
export { options } from "./options.js";
|
|
30
|
+
export * from "./perf.js";
|
|
30
31
|
export * from "./utils/index.js";
|
|
31
32
|
export * from "./instance-4c64b022.js";
|
|
32
33
|
export * from "./index-26658829.js";
|
package/dist/index.js
CHANGED
|
@@ -27,8 +27,9 @@ export { eventCenter } from './emitter/emitter.js';
|
|
|
27
27
|
export { hydrate } from './hydrate.js';
|
|
28
28
|
export { nextTick } from './next-tick.js';
|
|
29
29
|
export { options } from './options.js';
|
|
30
|
+
export { perf } from './perf.js';
|
|
30
31
|
export { convertNumber2PX, customWrapperCache, extend, getComponentsAlias, incrementId, isComment, isElement, isHasExtractProp, isParentBinded, isText, shortcutAttr } from './utils/index.js';
|
|
31
32
|
export { handlePolyfill } from './polyfill/index.js';
|
|
32
|
-
export { throttle } from './utils/lodash.js';
|
|
33
|
+
export { debounce, throttle } from './utils/lodash.js';
|
|
33
34
|
export { addLeadingSlash, getCurrentPage, getHomePage, hasBasename, stripBasename, stripSuffix, stripTrailing } from './utils/router.js';
|
|
34
35
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -85,6 +85,7 @@ interface AppInstance extends Show {
|
|
|
85
85
|
onPageNotFound?(res: any): void;
|
|
86
86
|
onUnhandledRejection?(error: any): void;
|
|
87
87
|
onShow?(options?: Record<string, unknown>): void;
|
|
88
|
+
onHide?(options?: Record<string, unknown>): void;
|
|
88
89
|
unmount?(id: string, cb?: () => void): void;
|
|
89
90
|
taroGlobalData?: Record<any, any>;
|
|
90
91
|
config?: Record<any, any>;
|
package/dist/perf.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
declare class Performance {
|
|
2
|
+
#private;
|
|
2
3
|
private recorder;
|
|
3
4
|
start(id: string): void;
|
|
4
|
-
stop(id: string): void;
|
|
5
|
+
stop(id: string, now?: number): void;
|
|
6
|
+
delayStop(id: string, delay?: number): ((...args: any[]) => void) | undefined;
|
|
5
7
|
}
|
|
6
8
|
declare const perf: Performance;
|
|
7
9
|
export { perf };
|
package/dist/perf.js
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
import { __classPrivateFieldGet } from 'tslib';
|
|
1
2
|
import { options } from './options.js';
|
|
3
|
+
import './utils/index.js';
|
|
4
|
+
import { debounce } from './utils/lodash.js';
|
|
2
5
|
|
|
6
|
+
var _Performance_instances, _Performance_parseTime;
|
|
3
7
|
class Performance {
|
|
4
8
|
constructor() {
|
|
9
|
+
_Performance_instances.add(this);
|
|
5
10
|
this.recorder = new Map();
|
|
6
11
|
}
|
|
7
12
|
start(id) {
|
|
@@ -10,18 +15,32 @@ class Performance {
|
|
|
10
15
|
}
|
|
11
16
|
this.recorder.set(id, Date.now());
|
|
12
17
|
}
|
|
13
|
-
stop(id) {
|
|
18
|
+
stop(id, now = Date.now()) {
|
|
14
19
|
if (!options.debug) {
|
|
15
20
|
return;
|
|
16
21
|
}
|
|
17
|
-
const now = Date.now();
|
|
18
22
|
const prev = this.recorder.get(id);
|
|
23
|
+
if (!(prev >= 0))
|
|
24
|
+
return;
|
|
19
25
|
this.recorder.delete(id);
|
|
20
26
|
const time = now - prev;
|
|
21
27
|
// eslint-disable-next-line no-console
|
|
22
|
-
console.log(`${id} 时长: ${time}ms`);
|
|
28
|
+
console.log(`${id} 时长: ${time}ms 开始时间:${__classPrivateFieldGet(this, _Performance_instances, "m", _Performance_parseTime).call(this, prev)} 结束时间:${__classPrivateFieldGet(this, _Performance_instances, "m", _Performance_parseTime).call(this, now)}`);
|
|
29
|
+
}
|
|
30
|
+
delayStop(id, delay = 500) {
|
|
31
|
+
if (!options.debug) {
|
|
32
|
+
return;
|
|
33
|
+
}
|
|
34
|
+
return debounce((now = Date.now(), cb) => {
|
|
35
|
+
this.stop(id, now);
|
|
36
|
+
cb === null || cb === void 0 ? void 0 : cb();
|
|
37
|
+
}, delay);
|
|
23
38
|
}
|
|
24
39
|
}
|
|
40
|
+
_Performance_instances = new WeakSet(), _Performance_parseTime = function _Performance_parseTime(time) {
|
|
41
|
+
const d = new Date(time);
|
|
42
|
+
return `${d.getHours()}:${d.getMinutes()}:${d.getSeconds()}.${`${d.getMilliseconds()}`.padStart(3, '0')}`;
|
|
43
|
+
};
|
|
25
44
|
const perf = new Performance();
|
|
26
45
|
|
|
27
46
|
export { perf };
|
package/dist/perf.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"perf.js","sources":["../src/perf.ts"],"sourcesContent":["import { options } from './options'\n\nclass Performance {\n private recorder = new Map<string, number>()\n\n public start (id: string) {\n if (!options.debug) {\n return\n }\n this.recorder.set(id, Date.now())\n }\n\n public stop (id: string) {\n if (!options.debug) {\n return\n }\n const
|
|
1
|
+
{"version":3,"file":"perf.js","sources":["../src/perf.ts"],"sourcesContent":["import { options } from './options'\nimport { debounce } from './utils'\n\nimport type { TFunc } from './interface'\n\nclass Performance {\n private recorder = new Map<string, number>()\n\n public start (id: string) {\n if (!options.debug) {\n return\n }\n this.recorder.set(id, Date.now())\n }\n\n public stop (id: string, now = Date.now()) {\n if (!options.debug) {\n return\n }\n const prev = this.recorder.get(id)!\n if (!(prev >= 0)) return\n\n this.recorder.delete(id)\n const time = now - prev\n // eslint-disable-next-line no-console\n console.log(`${id} 时长: ${time}ms 开始时间:${this.#parseTime(prev)} 结束时间:${this.#parseTime(now)}`)\n }\n\n public delayStop (id: string, delay = 500) {\n if (!options.debug) {\n return\n }\n\n return debounce((now = Date.now(), cb?: TFunc) => {\n this.stop(id, now)\n cb?.()\n }, delay)\n }\n\n #parseTime (time: number) {\n const d = new Date(time)\n return `${d.getHours()}:${d.getMinutes()}:${d.getSeconds()}.${`${d.getMilliseconds()}`.padStart(3, '0')}`\n }\n}\n\nexport const perf = new Performance()\n"],"names":[],"mappings":";;;;;;AAKA,MAAM,WAAW,CAAA;AAAjB,IAAA,WAAA,GAAA;;AACU,QAAA,IAAA,CAAA,QAAQ,GAAG,IAAI,GAAG,EAAkB,CAAA;KAqC7C;AAnCQ,IAAA,KAAK,CAAE,EAAU,EAAA;AACtB,QAAA,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE;YAClB,OAAM;AACP,SAAA;AACD,QAAA,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,EAAE,IAAI,CAAC,GAAG,EAAE,CAAC,CAAA;KAClC;IAEM,IAAI,CAAE,EAAU,EAAE,GAAG,GAAG,IAAI,CAAC,GAAG,EAAE,EAAA;AACvC,QAAA,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE;YAClB,OAAM;AACP,SAAA;QACD,MAAM,IAAI,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAE,CAAA;AACnC,QAAA,IAAI,EAAE,IAAI,IAAI,CAAC,CAAC;YAAE,OAAM;AAExB,QAAA,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC,CAAA;AACxB,QAAA,MAAM,IAAI,GAAG,GAAG,GAAG,IAAI,CAAA;;QAEvB,OAAO,CAAC,GAAG,CAAC,CAAG,EAAA,EAAE,CAAQ,KAAA,EAAA,IAAI,CAAW,QAAA,EAAA,sBAAA,CAAA,IAAI,EAAA,sBAAA,EAAA,GAAA,EAAA,sBAAA,CAAW,CAAf,IAAA,CAAA,IAAI,EAAY,IAAI,CAAC,CAAA,MAAA,EAAS,sBAAA,CAAA,IAAI,EAAW,sBAAA,EAAA,GAAA,EAAA,sBAAA,CAAA,CAAA,IAAA,CAAf,IAAI,EAAY,GAAG,CAAC,CAAE,CAAA,CAAC,CAAA;KAC9F;AAEM,IAAA,SAAS,CAAE,EAAU,EAAE,KAAK,GAAG,GAAG,EAAA;AACvC,QAAA,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE;YAClB,OAAM;AACP,SAAA;AAED,QAAA,OAAO,QAAQ,CAAC,CAAC,GAAG,GAAG,IAAI,CAAC,GAAG,EAAE,EAAE,EAAU,KAAI;AAC/C,YAAA,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,GAAG,CAAC,CAAA;AAClB,YAAA,EAAE,KAAF,IAAA,IAAA,EAAE,KAAF,KAAA,CAAA,GAAA,KAAA,CAAA,GAAA,EAAE,EAAI,CAAA;SACP,EAAE,KAAK,CAAC,CAAA;KACV;AAMF,CAAA;iGAJa,IAAY,EAAA;AACtB,IAAA,MAAM,CAAC,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,CAAA;AACxB,IAAA,OAAO,CAAG,EAAA,CAAC,CAAC,QAAQ,EAAE,CAAA,CAAA,EAAI,CAAC,CAAC,UAAU,EAAE,CAAI,CAAA,EAAA,CAAC,CAAC,UAAU,EAAE,CAAI,CAAA,EAAA,CAAA,EAAG,CAAC,CAAC,eAAe,EAAE,CAAE,CAAA,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE,CAAA;AAC3G,CAAC,CAAA;AAGU,MAAA,IAAI,GAAG,IAAI,WAAW;;;;"}
|
package/dist/runtime.esm.d.ts
CHANGED
|
@@ -722,6 +722,7 @@ interface AppInstance extends Show {
|
|
|
722
722
|
onPageNotFound?(res: any): void;
|
|
723
723
|
onUnhandledRejection?(error: any): void;
|
|
724
724
|
onShow?(options?: Record<string, unknown>): void;
|
|
725
|
+
onHide?(options?: Record<string, unknown>): void;
|
|
725
726
|
unmount?(id: string, cb?: () => void): void;
|
|
726
727
|
taroGlobalData?: Record<any, any>;
|
|
727
728
|
config?: Record<any, any>;
|
|
@@ -769,6 +770,14 @@ declare function createRecursiveComponentConfig(componentName?: string): any;
|
|
|
769
770
|
declare function hydrate(node: TaroElement | TaroText): MiniData;
|
|
770
771
|
declare const nextTick: (cb: TFunc, ctx?: Record<string, any>) => void;
|
|
771
772
|
declare const options: Options;
|
|
773
|
+
declare class Performance {
|
|
774
|
+
#private;
|
|
775
|
+
private recorder;
|
|
776
|
+
start(id: string): void;
|
|
777
|
+
stop(id: string, now?: number): void;
|
|
778
|
+
delayStop(id: string, delay?: number): ((...args: any[]) => void) | undefined;
|
|
779
|
+
}
|
|
780
|
+
declare const perf: Performance;
|
|
772
781
|
declare const incrementId: () => () => string;
|
|
773
782
|
declare function isElement(node: TaroNode): node is TaroElement;
|
|
774
783
|
declare function isText(node: TaroNode): node is TaroText;
|
|
@@ -789,6 +798,7 @@ declare function extend(ctor: Ctor, methodName: string, options: TFunc | Record<
|
|
|
789
798
|
declare function getComponentsAlias(): any;
|
|
790
799
|
declare function convertNumber2PX(value: number): string;
|
|
791
800
|
declare function throttle(fn: any, threshold?: number, scope?: any): (...args: any[]) => void;
|
|
801
|
+
declare function debounce(fn: any, ms?: number, scope?: any): (...args: any[]) => void;
|
|
792
802
|
// export const removeLeadingSlash = (str = '') => str.replace(/^\.?\//, '')
|
|
793
803
|
// export const removeTrailingSearch = (str = '') => str.replace(/\?[\s\S]*$/, '')
|
|
794
804
|
declare const addLeadingSlash: (url?: string) => string;
|
|
@@ -800,4 +810,4 @@ declare const getHomePage: (path?: string, basename?: string, customRoutes?: Rec
|
|
|
800
810
|
declare const getCurrentPage: (routerMode?: string, basename?: string) => string;
|
|
801
811
|
declare function handlePolyfill(): void;
|
|
802
812
|
export { hooks } from '@tarojs/shared';
|
|
803
|
-
export { document, getComputedStyle, History, Location, nav as navigator, _caf as cancelAnimationFrame, now, _raf as requestAnimationFrame, parseUrl, URL, URLSearchParams, history, location, window, TaroElement, createEvent, eventHandler, TaroEvent, FormElement, TaroNode, TaroRootElement, Style, SVGElement, TaroText, MutationObserver, env, PROPERTY_THRESHOLD, TARO_RUNTIME, HOOKS_APP_ID, SET_DATA, PAGE_INIT, ROOT_STR, HTML, HEAD, BODY, APP, CONTAINER, DOCUMENT_ELEMENT_NAME, DOCUMENT_FRAGMENT, ID, UID, CLASS, STYLE, FOCUS, VIEW, STATIC_VIEW, PURE_VIEW, PROPS, DATASET, OBJECT, VALUE, INPUT, CHANGE, CUSTOM_WRAPPER, TARGET, CURRENT_TARGET, TYPE, CONFIRM, TIME_STAMP, KEY_CODE, TOUCHMOVE, DATE, SET_TIMEOUT, COMPILE_MODE, CATCHMOVE, CATCH_VIEW, COMMENT, ON_LOAD, ON_READY, ON_SHOW, ON_HIDE, OPTIONS, EXTERNAL_CLASSES, EVENT_CALLBACK_RESULT, BEHAVIORS, A, CONTEXT_ACTIONS, Current, getCurrentInstance, eventSource, createComponentConfig, createPageConfig, createRecursiveComponentConfig, getOnHideEventKey, getOnReadyEventKey, getOnShowEventKey, getPageInstance, getPath, injectPageInstance, removePageInstance, safeExecute, stringify, EventsType, eventCenter, Events, hydrate, nextTick, options, incrementId, isElement, isText, isComment, isHasExtractProp, isParentBinded, shortcutAttr, customWrapperCache, extend, getComponentsAlias, convertNumber2PX, throttle, addLeadingSlash, hasBasename, stripBasename, stripTrailing, stripSuffix, getHomePage, getCurrentPage, Instance, VueAppInstance, VueInstance, PageProps, ReactPageComponent, ReactPageInstance, ReactAppInstance, PageLifeCycle, PageInstance, AppInstance, Attributes, EventOptions, MpEvent, EventListenerOptions, AddEventListenerOptions, EventHandler, MpInstance, MiniElementData, MiniTextData, MiniData, HydratedData, UpdatePayloadValue, DataTree, UpdatePayload, Options$1 as Options, TFunc, PageConfig, handlePolyfill };
|
|
813
|
+
export { document, getComputedStyle, History, Location, nav as navigator, _caf as cancelAnimationFrame, now, _raf as requestAnimationFrame, parseUrl, URL, URLSearchParams, history, location, window, TaroElement, createEvent, eventHandler, TaroEvent, FormElement, TaroNode, TaroRootElement, Style, SVGElement, TaroText, MutationObserver, env, PROPERTY_THRESHOLD, TARO_RUNTIME, HOOKS_APP_ID, SET_DATA, PAGE_INIT, ROOT_STR, HTML, HEAD, BODY, APP, CONTAINER, DOCUMENT_ELEMENT_NAME, DOCUMENT_FRAGMENT, ID, UID, CLASS, STYLE, FOCUS, VIEW, STATIC_VIEW, PURE_VIEW, PROPS, DATASET, OBJECT, VALUE, INPUT, CHANGE, CUSTOM_WRAPPER, TARGET, CURRENT_TARGET, TYPE, CONFIRM, TIME_STAMP, KEY_CODE, TOUCHMOVE, DATE, SET_TIMEOUT, COMPILE_MODE, CATCHMOVE, CATCH_VIEW, COMMENT, ON_LOAD, ON_READY, ON_SHOW, ON_HIDE, OPTIONS, EXTERNAL_CLASSES, EVENT_CALLBACK_RESULT, BEHAVIORS, A, CONTEXT_ACTIONS, Current, getCurrentInstance, eventSource, createComponentConfig, createPageConfig, createRecursiveComponentConfig, getOnHideEventKey, getOnReadyEventKey, getOnShowEventKey, getPageInstance, getPath, injectPageInstance, removePageInstance, safeExecute, stringify, EventsType, eventCenter, Events, hydrate, nextTick, options, perf, incrementId, isElement, isText, isComment, isHasExtractProp, isParentBinded, shortcutAttr, customWrapperCache, extend, getComponentsAlias, convertNumber2PX, throttle, debounce, addLeadingSlash, hasBasename, stripBasename, stripTrailing, stripSuffix, getHomePage, getCurrentPage, Instance, VueAppInstance, VueInstance, PageProps, ReactPageComponent, ReactPageInstance, ReactAppInstance, PageLifeCycle, PageInstance, AppInstance, Attributes, EventOptions, MpEvent, EventListenerOptions, AddEventListenerOptions, EventHandler, MpInstance, MiniElementData, MiniTextData, MiniData, HydratedData, UpdatePayloadValue, DataTree, UpdatePayload, Options$1 as Options, TFunc, PageConfig, handlePolyfill };
|
package/dist/runtime.esm.js
CHANGED
|
@@ -218,6 +218,16 @@ function throttle(fn, threshold = 250, scope) {
|
|
|
218
218
|
}
|
|
219
219
|
};
|
|
220
220
|
}
|
|
221
|
+
function debounce(fn, ms = 250, scope) {
|
|
222
|
+
let timer;
|
|
223
|
+
return function (...args) {
|
|
224
|
+
const context = scope || this;
|
|
225
|
+
clearTimeout(timer);
|
|
226
|
+
timer = setTimeout(function () {
|
|
227
|
+
fn.apply(context, args);
|
|
228
|
+
}, ms);
|
|
229
|
+
};
|
|
230
|
+
}
|
|
221
231
|
|
|
222
232
|
const eventCenter = hooks.call('getEventCenter', Events);
|
|
223
233
|
|
|
@@ -3502,8 +3512,10 @@ class FormElement extends TaroElement {
|
|
|
3502
3512
|
}
|
|
3503
3513
|
}
|
|
3504
3514
|
|
|
3515
|
+
var _Performance_instances, _Performance_parseTime;
|
|
3505
3516
|
class Performance {
|
|
3506
3517
|
constructor() {
|
|
3518
|
+
_Performance_instances.add(this);
|
|
3507
3519
|
this.recorder = new Map();
|
|
3508
3520
|
}
|
|
3509
3521
|
start(id) {
|
|
@@ -3512,18 +3524,32 @@ class Performance {
|
|
|
3512
3524
|
}
|
|
3513
3525
|
this.recorder.set(id, Date.now());
|
|
3514
3526
|
}
|
|
3515
|
-
stop(id) {
|
|
3527
|
+
stop(id, now = Date.now()) {
|
|
3516
3528
|
if (!options.debug) {
|
|
3517
3529
|
return;
|
|
3518
3530
|
}
|
|
3519
|
-
const now = Date.now();
|
|
3520
3531
|
const prev = this.recorder.get(id);
|
|
3532
|
+
if (!(prev >= 0))
|
|
3533
|
+
return;
|
|
3521
3534
|
this.recorder.delete(id);
|
|
3522
3535
|
const time = now - prev;
|
|
3523
3536
|
// eslint-disable-next-line no-console
|
|
3524
|
-
console.log(`${id} 时长: ${time}ms`);
|
|
3537
|
+
console.log(`${id} 时长: ${time}ms 开始时间:${__classPrivateFieldGet(this, _Performance_instances, "m", _Performance_parseTime).call(this, prev)} 结束时间:${__classPrivateFieldGet(this, _Performance_instances, "m", _Performance_parseTime).call(this, now)}`);
|
|
3538
|
+
}
|
|
3539
|
+
delayStop(id, delay = 500) {
|
|
3540
|
+
if (!options.debug) {
|
|
3541
|
+
return;
|
|
3542
|
+
}
|
|
3543
|
+
return debounce((now = Date.now(), cb) => {
|
|
3544
|
+
this.stop(id, now);
|
|
3545
|
+
cb === null || cb === void 0 ? void 0 : cb();
|
|
3546
|
+
}, delay);
|
|
3525
3547
|
}
|
|
3526
3548
|
}
|
|
3549
|
+
_Performance_instances = new WeakSet(), _Performance_parseTime = function _Performance_parseTime(time) {
|
|
3550
|
+
const d = new Date(time);
|
|
3551
|
+
return `${d.getHours()}:${d.getMinutes()}:${d.getSeconds()}.${`${d.getMilliseconds()}`.padStart(3, '0')}`;
|
|
3552
|
+
};
|
|
3527
3553
|
const perf = new Performance();
|
|
3528
3554
|
|
|
3529
3555
|
function findCustomWrapper(root, dataPathArr) {
|
|
@@ -5015,5 +5041,5 @@ if (process.env.SUPPORT_TARO_POLYFILL !== 'disabled' && process.env.TARO_PLATFOR
|
|
|
5015
5041
|
handlePolyfill();
|
|
5016
5042
|
}
|
|
5017
5043
|
|
|
5018
|
-
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$1 as 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, convertNumber2PX, createComponentConfig, createEvent, createPageConfig, createRecursiveComponentConfig, customWrapperCache, document$1 as document, env, eventCenter, eventHandler, eventSource, extend, getComponentsAlias, getComputedStyle, getCurrentInstance, getCurrentPage, getHomePage, getOnHideEventKey, getOnReadyEventKey, getOnShowEventKey, getPageInstance, getPath, handlePolyfill, hasBasename, history, hydrate, incrementId, injectPageInstance, isComment, isElement, isHasExtractProp, isParentBinded, isText, location, nav as navigator, nextTick, now, options, parseUrl, removePageInstance, _raf as requestAnimationFrame, safeExecute, shortcutAttr, stringify, stripBasename, stripSuffix, stripTrailing, throttle, window$1 as window };
|
|
5044
|
+
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$1 as 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, convertNumber2PX, createComponentConfig, createEvent, createPageConfig, createRecursiveComponentConfig, customWrapperCache, debounce, document$1 as document, env, eventCenter, eventHandler, eventSource, extend, getComponentsAlias, getComputedStyle, getCurrentInstance, getCurrentPage, getHomePage, getOnHideEventKey, getOnReadyEventKey, getOnShowEventKey, getPageInstance, getPath, handlePolyfill, hasBasename, history, hydrate, incrementId, injectPageInstance, isComment, isElement, isHasExtractProp, isParentBinded, isText, location, nav as navigator, nextTick, now, options, parseUrl, perf, removePageInstance, _raf as requestAnimationFrame, safeExecute, shortcutAttr, stringify, stripBasename, stripSuffix, stripTrailing, throttle, window$1 as window };
|
|
5019
5045
|
//# sourceMappingURL=runtime.esm.js.map
|