@tarojs/runtime 4.0.0-beta.1 → 4.0.0-beta.2

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.
Files changed (177) hide show
  1. package/LICENSE +14 -0
  2. package/dist/bom/URL.d.ts +54 -0
  3. package/dist/bom/URL.js +221 -0
  4. package/dist/bom/URL.js.map +1 -0
  5. package/dist/bom/URLSearchParams.d.ts +2 -0
  6. package/dist/bom/URLSearchParams.js +123 -0
  7. package/dist/bom/URLSearchParams.js.map +1 -0
  8. package/dist/bom/document.d.ts +3 -0
  9. package/dist/bom/document.js +39 -0
  10. package/dist/bom/document.js.map +1 -0
  11. package/dist/bom/getComputedStyle.d.ts +5 -0
  12. package/dist/bom/getComputedStyle.js +8 -0
  13. package/dist/bom/getComputedStyle.js.map +1 -0
  14. package/dist/bom/history.d.ts +32 -0
  15. package/dist/bom/history.js +121 -0
  16. package/dist/bom/history.js.map +1 -0
  17. package/dist/bom/location.d.ts +39 -0
  18. package/dist/bom/location.js +240 -0
  19. package/dist/bom/location.js.map +1 -0
  20. package/dist/bom/navigator.d.ts +2 -0
  21. package/dist/bom/navigator.js +24 -0
  22. package/dist/bom/navigator.js.map +1 -0
  23. package/dist/bom/raf.d.ts +4 -0
  24. package/dist/bom/raf.js +33 -0
  25. package/dist/bom/raf.js.map +1 -0
  26. package/dist/bom/window.d.ts +25 -0
  27. package/dist/bom/window.js +92 -0
  28. package/dist/bom/window.js.map +1 -0
  29. package/dist/constants/index.d.ts +60 -0
  30. package/dist/constants/index.js +63 -0
  31. package/dist/constants/index.js.map +1 -0
  32. package/dist/current.d.ts +19 -0
  33. package/dist/current.js +9 -0
  34. package/dist/current.js.map +1 -0
  35. package/dist/dom/anchor-element.d.ts +14 -0
  36. package/dist/dom/anchor-element.js +54 -0
  37. package/dist/dom/anchor-element.js.map +1 -0
  38. package/dist/dom/class-list.d.ts +17 -0
  39. package/dist/dom/class-list.js +92 -0
  40. package/dist/dom/class-list.js.map +1 -0
  41. package/dist/dom/document.d.ts +25 -0
  42. package/dist/dom/document.js +80 -0
  43. package/dist/dom/document.js.map +1 -0
  44. package/dist/dom/element.d.ts +40 -0
  45. package/dist/dom/element.js +315 -0
  46. package/dist/dom/element.js.map +1 -0
  47. package/dist/dom/event-source.d.ts +7 -0
  48. package/dist/dom/event-source.js +17 -0
  49. package/dist/dom/event-source.js.map +1 -0
  50. package/dist/dom/event-target.d.ts +8 -0
  51. package/dist/dom/event-target.js +78 -0
  52. package/dist/dom/event-target.js.map +1 -0
  53. package/dist/dom/event.d.ts +24 -0
  54. package/dist/dom/event.js +151 -0
  55. package/dist/dom/event.js.map +1 -0
  56. package/dist/dom/form.d.ts +10 -0
  57. package/dist/dom/form.js +38 -0
  58. package/dist/dom/form.js.map +1 -0
  59. package/dist/dom/node.d.ts +107 -0
  60. package/dist/dom/node.js +292 -0
  61. package/dist/dom/node.js.map +1 -0
  62. package/dist/dom/root.d.ts +16 -0
  63. package/dist/dom/root.js +169 -0
  64. package/dist/dom/root.js.map +1 -0
  65. package/dist/dom/style.d.ts +15 -0
  66. package/dist/dom/style.js +168 -0
  67. package/dist/dom/style.js.map +1 -0
  68. package/dist/dom/style_properties.d.ts +3 -0
  69. package/dist/dom/style_properties.js +186 -0
  70. package/dist/dom/style_properties.js.map +1 -0
  71. package/dist/dom/svg.d.ts +4 -0
  72. package/dist/dom/svg.js +8 -0
  73. package/dist/dom/svg.js.map +1 -0
  74. package/dist/dom/text.d.ts +15 -0
  75. package/dist/dom/text.js +41 -0
  76. package/dist/dom/text.js.map +1 -0
  77. package/dist/dom/transfer.d.ts +8 -0
  78. package/dist/dom/transfer.js +15 -0
  79. package/dist/dom/transfer.js.map +1 -0
  80. package/dist/dom/tree.d.ts +4 -0
  81. package/dist/dom/tree.js +38 -0
  82. package/dist/dom/tree.js.map +1 -0
  83. package/dist/dom-external/element.d.ts +4 -0
  84. package/dist/dom-external/element.js +29 -0
  85. package/dist/dom-external/element.js.map +1 -0
  86. package/dist/dom-external/index.d.ts +1 -0
  87. package/dist/dom-external/index.js +40 -0
  88. package/dist/dom-external/index.js.map +1 -0
  89. package/dist/dom-external/inner-html/html.d.ts +3 -0
  90. package/dist/dom-external/inner-html/html.js +28 -0
  91. package/dist/dom-external/inner-html/html.js.map +1 -0
  92. package/dist/dom-external/inner-html/parser.d.ts +25 -0
  93. package/dist/dom-external/inner-html/parser.js +216 -0
  94. package/dist/dom-external/inner-html/parser.js.map +1 -0
  95. package/dist/dom-external/inner-html/scaner.d.ts +30 -0
  96. package/dist/dom-external/inner-html/scaner.js +304 -0
  97. package/dist/dom-external/inner-html/scaner.js.map +1 -0
  98. package/dist/dom-external/inner-html/style.d.ts +27 -0
  99. package/dist/dom-external/inner-html/style.js +235 -0
  100. package/dist/dom-external/inner-html/style.js.map +1 -0
  101. package/dist/dom-external/inner-html/tags.d.ts +9 -0
  102. package/dist/dom-external/inner-html/tags.js +26 -0
  103. package/dist/dom-external/inner-html/tags.js.map +1 -0
  104. package/dist/dom-external/inner-html/utils.d.ts +2 -0
  105. package/dist/dom-external/inner-html/utils.js +12 -0
  106. package/dist/dom-external/inner-html/utils.js.map +1 -0
  107. package/dist/dom-external/mutation-observer/implements.d.ts +71 -0
  108. package/dist/dom-external/mutation-observer/implements.js +108 -0
  109. package/dist/dom-external/mutation-observer/implements.js.map +1 -0
  110. package/dist/dom-external/mutation-observer/index.d.ts +12 -0
  111. package/dist/dom-external/mutation-observer/index.js +35 -0
  112. package/dist/dom-external/mutation-observer/index.js.map +1 -0
  113. package/dist/dom-external/node.d.ts +12 -0
  114. package/dist/dom-external/node.js +74 -0
  115. package/dist/dom-external/node.js.map +1 -0
  116. package/dist/dsl/common.d.ts +15 -0
  117. package/dist/dsl/common.js +332 -0
  118. package/dist/dsl/common.js.map +1 -0
  119. package/dist/emitter/emitter.d.ts +4 -0
  120. package/dist/emitter/emitter.js +7 -0
  121. package/dist/emitter/emitter.js.map +1 -0
  122. package/dist/env.d.ts +7 -0
  123. package/dist/env.js +9 -0
  124. package/dist/env.js.map +1 -0
  125. package/dist/hydrate.d.ts +11 -0
  126. package/dist/hydrate.js +84 -0
  127. package/dist/hydrate.js.map +1 -0
  128. package/dist/index-26658829.d.ts +23 -0
  129. package/dist/{runtime.cjs.d.ts → index.cjs.d.ts} +92 -89
  130. package/dist/{runtime.h5.js → index.cjs.js} +4251 -2493
  131. package/dist/index.cjs.js.map +1 -0
  132. package/dist/index.d.ts +33 -0
  133. package/dist/index.js +34 -0
  134. package/dist/index.js.map +1 -0
  135. package/dist/instance-4c64b022.d.ts +92 -0
  136. package/dist/next-tick.d.ts +3 -0
  137. package/dist/next-tick.js +47 -0
  138. package/dist/next-tick.js.map +1 -0
  139. package/dist/node_types-9ac5b4dd.d.ts +11 -0
  140. package/dist/options-4c64b022.d.ts +17 -0
  141. package/dist/options.d.ts +3 -0
  142. package/dist/options.js +7 -0
  143. package/dist/options.js.map +1 -0
  144. package/dist/perf.d.ts +7 -0
  145. package/dist/perf.js +28 -0
  146. package/dist/perf.js.map +1 -0
  147. package/dist/polyfill/array.d.ts +3 -0
  148. package/dist/polyfill/array.js +56 -0
  149. package/dist/polyfill/array.js.map +1 -0
  150. package/dist/polyfill/index.d.ts +2 -0
  151. package/dist/polyfill/index.js +34 -0
  152. package/dist/polyfill/index.js.map +1 -0
  153. package/dist/polyfill/intersection-observer.d.ts +2 -0
  154. package/dist/polyfill/intersection-observer.js +599 -0
  155. package/dist/polyfill/intersection-observer.js.map +1 -0
  156. package/dist/polyfill/object.d.ts +4 -0
  157. package/dist/polyfill/object.js +102 -0
  158. package/dist/polyfill/object.js.map +1 -0
  159. package/dist/record-32b054d8.d.ts +25 -0
  160. package/dist/runtime.esm.d.ts +92 -89
  161. package/dist/runtime.esm.js +4077 -3317
  162. package/dist/runtime.esm.js.map +1 -1
  163. package/dist/utils/cache.d.ts +13 -0
  164. package/dist/utils/cache.js +27 -0
  165. package/dist/utils/cache.js.map +1 -0
  166. package/dist/utils/index.d.ts +26 -0
  167. package/dist/utils/index.js +99 -0
  168. package/dist/utils/index.js.map +1 -0
  169. package/dist/utils/lodash.d.ts +2 -0
  170. package/dist/utils/lodash.js +22 -0
  171. package/dist/utils/lodash.js.map +1 -0
  172. package/dist/utils/router.d.ts +8 -0
  173. package/dist/utils/router.js +24 -0
  174. package/dist/utils/router.js.map +1 -0
  175. package/package.json +16 -11
  176. package/dist/runtime.cjs.js +0 -4628
  177. package/dist/runtime.h5.d.ts +0 -800
@@ -1,5 +1,4 @@
1
1
  import { Shortcuts, Events } from "@tarojs/shared";
2
- import { PageConfig } from "@tarojs/taro";
3
2
  import VueCtor from "vue";
4
3
  import { ComponentOptions, VNode } from "vue";
5
4
  import { Component as Vue3Component } from "@vue/runtime-core";
@@ -49,6 +48,9 @@ interface EventHandler<T = any, R = void> {
49
48
  (...args: T[]): R;
50
49
  _stop?: boolean;
51
50
  }
51
+ // Note: @tarojs/runtime 不依赖 @tarojs/taro, 所以不能改为从 @tarojs/taro 引入 (可能导致循环依赖)
52
+ type TFunc = (...args: any[]) => any;
53
+ type PageConfig = Record<string, any>;
52
54
  interface MpInstance {
53
55
  config: PageConfig;
54
56
  setData: (data: unknown, cb: () => void) => void;
@@ -135,8 +137,6 @@ interface Options {
135
137
  };
136
138
  miniGlobal?: any;
137
139
  }
138
- type Func = (...args: any[]) => any;
139
- type Ctx = Record<string, any>;
140
140
  declare class TaroEventTarget {
141
141
  __handlers: Record<string, EventHandler[]>;
142
142
  addEventListener(type: string, handler: EventHandler, options?: boolean | AddEventListenerOptions): void;
@@ -152,8 +152,8 @@ declare class TaroRootElement extends TaroElement {
152
152
  get _path(): string;
153
153
  get _root(): TaroRootElement;
154
154
  enqueueUpdate(payload: UpdatePayload): void;
155
- performUpdate(initRender?: boolean, prerender?: Func): void;
156
- enqueueUpdateCallback(cb: Func, ctx?: Record<string, any>): void;
155
+ performUpdate(initRender?: boolean, prerender?: TFunc): void;
156
+ enqueueUpdateCallback(cb: TFunc, ctx?: Record<string, any>): void;
157
157
  flushUpdateCallback(): void;
158
158
  }
159
159
  interface RemoveChildOptions {
@@ -224,7 +224,7 @@ declare class TaroNode extends TaroEventTarget {
224
224
  hasChildNodes(): boolean;
225
225
  enqueueUpdate(payload: UpdatePayload): void;
226
226
  get ownerDocument(): TaroDocument;
227
- static extend(methodName: string, options: Func | Record<string, any>): void;
227
+ static extend(methodName: string, options: TFunc | Record<string, any>): void;
228
228
  }
229
229
  declare class Style {
230
230
  _pending: boolean;
@@ -298,7 +298,7 @@ declare class TaroElement extends TaroNode {
298
298
  dispatchEvent(event: TaroEvent): boolean;
299
299
  addEventListener(type: any, handler: any, options: any): void;
300
300
  removeEventListener(type: any, handler: any, sideEffect?: boolean): void;
301
- static extend(methodName: string, options: Func | Record<string, any>): void;
301
+ static extend(methodName: string, options: TFunc | Record<string, any>): void;
302
302
  }
303
303
  declare class FormElement extends TaroElement {
304
304
  get type(): string;
@@ -312,6 +312,7 @@ declare class TaroDocument extends TaroElement {
312
312
  head: TaroElement;
313
313
  body: TaroElement;
314
314
  createEvent: typeof createEvent;
315
+ cookie?: string;
315
316
  constructor();
316
317
  createElement(type: string): TaroElement | TaroRootElement | FormElement;
317
318
  // an ugly fake createElementNS to deal with @vue/runtime-dom's
@@ -330,8 +331,9 @@ interface Env {
330
331
  document: TaroDocument;
331
332
  }
332
333
  declare const env: Env;
333
- declare let document: any;
334
- declare function getComputedStyle(element: TaroElement): Style;
334
+ declare const document: TaroDocument;
335
+ type TGetComputedStyle = typeof window.getComputedStyle | ((el: TaroElement) => Style);
336
+ declare const getComputedStyle: TGetComputedStyle;
335
337
  declare const eventCenter: Events;
336
338
  type EventsType = typeof Events;
337
339
  /**
@@ -346,75 +348,60 @@ declare class RuntimeCache<T> {
346
348
  get(identifier: string): T | undefined;
347
349
  delete(identifier: string): void;
348
350
  }
349
- declare namespace LocationType {
350
- const eventCenter: Events;
351
- type EventsType = typeof Events;
352
- /**
353
- * 一个小型缓存池,用于在切换页面时,存储一些上下文信息
354
- */
355
- class RuntimeCache<T> {
356
- name: string;
357
- cache: Map<string, T>;
358
- constructor(name: string);
359
- has(identifier: string): boolean;
360
- set(identifier: string, ctx: T): void;
361
- get(identifier: string): T | undefined;
362
- delete(identifier: string): void;
363
- }
364
- type Options = {
365
- window: any;
366
- };
367
- type LocationContext = {
368
- lastHref: string;
369
- };
370
- class Location extends Events {
371
- #private;
372
- constructor(options: Options);
373
- /* public property */
374
- get protocol(): string;
375
- set protocol(val: string);
376
- get host(): string;
377
- set host(val: string);
378
- get hostname(): string;
379
- set hostname(val: string);
380
- get port(): string;
381
- set port(val: string);
382
- get pathname(): string;
383
- set pathname(val: string);
384
- get search(): string;
385
- set search(val: string);
386
- get hash(): string;
387
- // 小程序的navigateTo存在截断hash字符串的问题
388
- set hash(val: string);
389
- get href(): string;
390
- set href(val: string);
391
- get origin(): string;
392
- set origin(val: string);
393
- /* public method */
394
- assign(): void;
395
- reload(): void;
396
- replace(url: string): void;
397
- toString(): string;
398
- // For debug
399
- get cache(): RuntimeCache<LocationContext>;
400
- }
351
+ type Options$0 = {
352
+ window: any;
353
+ };
354
+ type LocationContext = {
355
+ lastHref: string;
356
+ };
357
+ declare class TaroLocation extends Events {
358
+ #private;
359
+ constructor(options: Options$0);
360
+ /* public property */
361
+ get protocol(): string;
362
+ set protocol(val: string);
363
+ get host(): string;
364
+ set host(val: string);
365
+ get hostname(): string;
366
+ set hostname(val: string);
367
+ get port(): string;
368
+ set port(val: string);
369
+ get pathname(): string;
370
+ set pathname(val: string);
371
+ get search(): string;
372
+ set search(val: string);
373
+ get hash(): string;
374
+ // 小程序的navigateTo存在截断hash字符串的问题
375
+ set hash(val: string);
376
+ get href(): string;
377
+ set href(val: string);
378
+ get origin(): string;
379
+ set origin(val: string);
380
+ /* public method */
381
+ assign(): void;
382
+ reload(): void;
383
+ replace(url: string): void;
384
+ toString(): string;
385
+ // For debug
386
+ get cache(): RuntimeCache<LocationContext>;
401
387
  }
388
+ declare const Location: typeof TaroLocation;
402
389
  interface HistoryState {
403
390
  state: Record<string, any> | null;
404
391
  title: string;
405
392
  url: string;
406
393
  }
407
- type Options$0 = {
394
+ type Options$1 = {
408
395
  window: any;
409
396
  };
410
397
  type HistoryContext = {
411
- location: LocationType.Location;
398
+ location: TaroLocation;
412
399
  stack: HistoryState[];
413
400
  cur: number;
414
401
  };
415
- declare class History extends Events {
402
+ declare class TaroHistory extends Events {
416
403
  #private;
417
- constructor(location: LocationType.Location, options: Options$0);
404
+ constructor(location: TaroLocation, options: Options$1);
418
405
  /* public property */
419
406
  get length(): number;
420
407
  get state(): Record<string, any> | null;
@@ -427,28 +414,15 @@ declare class History extends Events {
427
414
  // For debug
428
415
  get cache(): RuntimeCache<HistoryContext>;
429
416
  }
430
- declare const nav: any;
417
+ declare const History: typeof TaroHistory;
418
+ declare const nav: typeof window.navigator;
431
419
  // https://github.com/myrne/performance-now
432
420
  declare let now: () => number;
433
421
  // https://gist.github.com/paulirish/1579671
434
422
  // https://gist.github.com/jalbam/5fe05443270fa6d8136238ec72accbc0
435
423
  declare const _raf: typeof requestAnimationFrame | ((callback: any) => NodeJS.Timeout);
436
424
  declare const _caf: typeof cancelAnimationFrame;
437
- declare class URLSearchParams {
438
- #private;
439
- constructor(query: any);
440
- append(name: string, value: string): void;
441
- delete(name: string): void;
442
- get(name: string): any;
443
- getAll(name: string): any;
444
- has(name: string): boolean;
445
- keys(): string[];
446
- set(name: string, value: string): void;
447
- forEach(callback: any, thisArg: any): void;
448
- toJSON(): {};
449
- toString(): string;
450
- }
451
- declare class URL {
425
+ declare class TaroURL {
452
426
  #private;
453
427
  static createObjectURL(): void;
454
428
  static revokeObjectURL(): void;
@@ -489,6 +463,7 @@ declare class URL {
489
463
  href: string;
490
464
  };
491
465
  }
466
+ declare const URL: typeof TaroURL;
492
467
  declare function parseUrl(url?: string): {
493
468
  href: string;
494
469
  origin: string;
@@ -500,9 +475,27 @@ declare function parseUrl(url?: string): {
500
475
  search: string;
501
476
  hash: string;
502
477
  };
503
- declare let window: any;
504
- declare const location: any;
505
- declare const history: any;
478
+ declare const URLSearchParams: any;
479
+ declare class TaroWindow extends Events {
480
+ navigator: Navigator;
481
+ requestAnimationFrame: typeof requestAnimationFrame | ((callback: any) => NodeJS.Timeout);
482
+ cancelAnimationFrame: typeof cancelAnimationFrame;
483
+ getComputedStyle: TGetComputedStyle;
484
+ Date: DateConstructor;
485
+ location: TaroLocation;
486
+ history: TaroHistory;
487
+ XMLHttpRequest?: Partial<XMLHttpRequest>;
488
+ constructor();
489
+ initEvent(): void;
490
+ get document(): TaroDocument;
491
+ addEventListener(event: string, callback: (arg: any) => void): void;
492
+ removeEventListener(event: string, callback: (arg: any) => void): void;
493
+ setTimeout(...args: Parameters<typeof setTimeout>): NodeJS.Timeout;
494
+ clearTimeout(...args: Parameters<typeof clearTimeout>): void;
495
+ }
496
+ declare const window: TaroWindow;
497
+ declare const location: TaroLocation;
498
+ declare const history: TaroHistory;
506
499
  // for Vue3
507
500
  declare class SVGElement extends TaroElement {
508
501
  }
@@ -678,7 +671,7 @@ interface ReactAppInstance<T = AppInstance> extends Component<T>, AppInstance {
678
671
  interface PageLifeCycle extends Show {
679
672
  eh?(event: MpEvent): void;
680
673
  onAddToFavorites?(): void;
681
- onLoad?(options: Record<string, unknown>, cb?: Func): void;
674
+ onLoad?(options: Record<string, unknown>, cb?: TFunc): void;
682
675
  onOptionMenuClick?(): void;
683
676
  onPageScroll?(obj: {
684
677
  scrollTop: number;
@@ -758,7 +751,6 @@ declare const eventSource: IEventSource;
758
751
  declare function injectPageInstance(inst: Instance<PageProps>, id: string): void;
759
752
  declare function getPageInstance(id: string): Instance | undefined;
760
753
  declare function removePageInstance(id: string): void;
761
- declare function addLeadingSlash(path?: string): string;
762
754
  declare function safeExecute(path: string, lifecycle: string, ...args: unknown[]): any;
763
755
  declare function stringify(obj?: Record<string, unknown>): string;
764
756
  declare function getPath(id: string, options?: Record<string, unknown>): string;
@@ -775,7 +767,7 @@ declare function createRecursiveComponentConfig(componentName?: string): any;
775
767
  * it's a vnode traverser and modifier: that's exactly what Taro's doing in here.
776
768
  */
777
769
  declare function hydrate(node: TaroElement | TaroText): MiniData;
778
- declare const nextTick: (cb: Func, ctx?: Record<string, any>) => void;
770
+ declare const nextTick: (cb: TFunc, ctx?: Record<string, any>) => void;
779
771
  declare const options: Options;
780
772
  declare const incrementId: () => () => string;
781
773
  declare function isElement(node: TaroNode): node is TaroElement;
@@ -793,8 +785,19 @@ declare const customWrapperCache: Map<string, Record<string, any>>;
793
785
  interface Ctor {
794
786
  new (...args: any[]): any;
795
787
  }
796
- declare function extend(ctor: Ctor, methodName: string, options: Func | Record<string, any>): void;
788
+ declare function extend(ctor: Ctor, methodName: string, options: TFunc | Record<string, any>): void;
797
789
  declare function getComponentsAlias(): any;
798
790
  declare function convertNumber2PX(value: number): string;
791
+ declare function throttle(fn: any, threshold?: number, scope?: any): (...args: any[]) => void;
792
+ // export const removeLeadingSlash = (str = '') => str.replace(/^\.?\//, '')
793
+ // export const removeTrailingSearch = (str = '') => str.replace(/\?[\s\S]*$/, '')
794
+ declare const addLeadingSlash: (url?: string) => string;
795
+ declare const hasBasename: (path?: string, prefix?: string) => boolean;
796
+ declare const stripBasename: (path?: string, prefix?: string) => string;
797
+ declare const stripTrailing: (str?: string) => string;
798
+ declare const stripSuffix: (path?: string, suffix?: string) => string;
799
+ declare const getHomePage: (path?: string, basename?: string, customRoutes?: Record<string, string | string[]>, entryPagePath?: string) => string;
800
+ declare const getCurrentPage: (routerMode?: string, basename?: string) => string;
801
+ declare function handlePolyfill(): void;
799
802
  export { hooks } from '@tarojs/shared';
800
- 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, addLeadingSlash, 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, 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$0 as Options, Func, Ctx };
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 };