@tarojs/taro-h5 4.0.0-beta.8 → 4.0.0-beta.80

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 (63) hide show
  1. package/dist/api/base/index.d.ts +1 -1
  2. package/dist/api/base/index.js +1 -1
  3. package/dist/api/base/index.js.map +1 -1
  4. package/dist/api/device/clipboard.js +6 -0
  5. package/dist/api/device/clipboard.js.map +1 -1
  6. package/dist/api/device/network.js.map +1 -1
  7. package/dist/api/device/sms.js.map +1 -1
  8. package/dist/api/index.js +3 -1
  9. package/dist/api/index.js.map +1 -1
  10. package/dist/api/location/chooseLocation.js +2 -2
  11. package/dist/api/location/chooseLocation.js.map +1 -1
  12. package/dist/api/location/getLocation.js +2 -2
  13. package/dist/api/location/getLocation.js.map +1 -1
  14. package/dist/api/location/index.d.ts +2 -7
  15. package/dist/api/location/index.js +2 -8
  16. package/dist/api/location/index.js.map +1 -1
  17. package/dist/api/location/locationChange.d.ts +7 -0
  18. package/dist/api/location/locationChange.js +130 -0
  19. package/dist/api/location/locationChange.js.map +1 -0
  20. package/dist/api/location/utils.d.ts +2 -0
  21. package/dist/api/location/utils.js +4 -0
  22. package/dist/api/location/utils.js.map +1 -0
  23. package/dist/api/network/request/index.js +9 -7
  24. package/dist/api/network/request/index.js.map +1 -1
  25. package/dist/api/network/websocket/index.d.ts +2 -1
  26. package/dist/api/network/websocket/index.js +1 -1
  27. package/dist/api/network/websocket/index.js.map +1 -1
  28. package/dist/api/storage/index.js.map +1 -1
  29. package/dist/api/taro.js +2 -2
  30. package/dist/api/taro.js.map +1 -1
  31. package/dist/api/ui/animation/index.js +68 -38
  32. package/dist/api/ui/animation/index.js.map +1 -1
  33. package/dist/api/ui/interaction/actionSheet.d.ts +12 -0
  34. package/dist/api/ui/interaction/actionSheet.js +34 -12
  35. package/dist/api/ui/interaction/actionSheet.js.map +1 -1
  36. package/dist/api/ui/interaction/index.js +2 -1
  37. package/dist/api/ui/interaction/index.js.map +1 -1
  38. package/dist/api/ui/interaction/modal.d.ts +2 -0
  39. package/dist/api/ui/interaction/modal.js +3 -1
  40. package/dist/api/ui/interaction/modal.js.map +1 -1
  41. package/dist/api/ui/navigation-bar/index.d.ts +8 -2
  42. package/dist/api/ui/navigation-bar/index.js +22 -5
  43. package/dist/api/ui/navigation-bar/index.js.map +1 -1
  44. package/dist/api/wxml/IntersectionObserver.js +2 -1
  45. package/dist/api/wxml/IntersectionObserver.js.map +1 -1
  46. package/dist/api/wxml/MediaQueryObserver.js.map +1 -1
  47. package/dist/api/wxml/index.js.map +1 -1
  48. package/dist/api/wxml/nodesRef.js +5 -2
  49. package/dist/api/wxml/nodesRef.js.map +1 -1
  50. package/dist/index.cjs.d.ts +42 -11
  51. package/dist/index.cjs.js +2238 -2029
  52. package/dist/index.cjs.js.map +1 -1
  53. package/dist/index.esm.d.ts +42 -11
  54. package/dist/index.esm.js +2239 -2031
  55. package/dist/index.esm.js.map +1 -1
  56. package/dist/index.js +3 -1
  57. package/dist/index.js.map +1 -1
  58. package/dist/utils/handler.d.ts +2 -0
  59. package/dist/utils/handler.js +8 -0
  60. package/dist/utils/handler.js.map +1 -1
  61. package/dist/utils/index.js +1 -1
  62. package/dist/utils/index.js.map +1 -1
  63. package/package.json +7 -8
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../src/api/wxml/index.ts"],"sourcesContent":["import Taro from '@tarojs/api'\n\nimport { TaroH5IntersectionObserver } from './IntersectionObserver'\nimport { MediaQueryObserver } from './MediaQueryObserver'\nimport { NodesRef } from './nodesRef'\nimport { SelectorQuery } from './selectorQuery'\n\nexport const createSelectorQuery: typeof Taro.createSelectorQuery = () => {\n return new SelectorQuery()\n}\n\nexport const createIntersectionObserver: typeof Taro.createIntersectionObserver = (component, options) => {\n return new TaroH5IntersectionObserver(component, options)\n}\n\nexport const createMediaQueryObserver: typeof Taro.createMediaQueryObserver = () => {\n return new MediaQueryObserver()\n}\n \nexport { NodesRef }"],"names":[],"mappings":";;;;;AAOO,MAAM,mBAAmB,GAAoC,MAAK;IACvE,OAAO,IAAI,aAAa,EAAE,CAAA;AAC5B,EAAC;MAEY,0BAA0B,GAA2C,CAAC,SAAS,EAAE,OAAO,KAAI;AACvG,IAAA,OAAO,IAAI,0BAA0B,CAAC,SAAS,EAAE,OAAO,CAAC,CAAA;AAC3D,EAAC;AAEM,MAAM,wBAAwB,GAAyC,MAAK;IACjF,OAAO,IAAI,kBAAkB,EAAE,CAAA;AACjC;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../../../src/api/wxml/index.ts"],"sourcesContent":["import Taro from '@tarojs/api'\n\nimport { TaroH5IntersectionObserver } from './IntersectionObserver'\nimport { MediaQueryObserver } from './MediaQueryObserver'\nimport { NodesRef } from './nodesRef'\nimport { SelectorQuery } from './selectorQuery'\n\nexport const createSelectorQuery: typeof Taro.createSelectorQuery = () => {\n return new SelectorQuery()\n}\n\nexport const createIntersectionObserver: typeof Taro.createIntersectionObserver = (component, options) => {\n return new TaroH5IntersectionObserver(component, options)\n}\n\nexport const createMediaQueryObserver: typeof Taro.createMediaQueryObserver = () => {\n return new MediaQueryObserver()\n}\n\nexport { NodesRef }\n"],"names":[],"mappings":";;;;;AAOO,MAAM,mBAAmB,GAAoC,MAAK;IACvE,OAAO,IAAI,aAAa,EAAE,CAAA;AAC5B,EAAC;MAEY,0BAA0B,GAA2C,CAAC,SAAS,EAAE,OAAO,KAAI;AACvG,IAAA,OAAO,IAAI,0BAA0B,CAAC,SAAS,EAAE,OAAO,CAAC,CAAA;AAC3D,EAAC;AAEM,MAAM,wBAAwB,GAAyC,MAAK;IACjF,OAAO,IAAI,kBAAkB,EAAE,CAAA;AACjC;;;;"}
@@ -27,15 +27,18 @@ class NodesRef {
27
27
  }
28
28
  fields(fields, cb) {
29
29
  const { _selector, _component, _single, _selectorQuery } = this;
30
- const { id, dataset, rect, size, scrollOffset, properties = [], computedStyle = [] } = fields;
30
+ const { id, dataset, rect, size, scrollOffset, context, node, properties = [], computedStyle = [] } = fields;
31
31
  _selectorQuery._push(_selector, _component, _single, {
32
32
  id,
33
33
  dataset,
34
34
  rect,
35
35
  size,
36
36
  scrollOffset,
37
+ context,
38
+ node,
39
+ nodeCanvasType: node,
37
40
  properties,
38
- computedStyle
41
+ computedStyle,
39
42
  }, cb);
40
43
  return _selectorQuery;
41
44
  }
@@ -1 +1 @@
1
- {"version":3,"file":"nodesRef.js","sources":["../../../src/api/wxml/nodesRef.ts"],"sourcesContent":["import Taro from '@tarojs/api'\n\nimport { SelectorQuery } from './selectorQuery'\n\nexport class NodesRef implements Taro.NodesRef {\n _component?: TaroGeneral.IAnyObject\n _selector: string\n _selectorQuery: SelectorQuery\n _single: boolean\n\n constructor (selector: string, querySelectorQuery: SelectorQuery, single: boolean) {\n this._component = querySelectorQuery._component\n this._selector = selector\n this._selectorQuery = querySelectorQuery\n this._single = single\n }\n\n context (cb) {\n const { _selector, _component, _single, _selectorQuery } = this\n _selectorQuery._push(_selector, _component, _single, { context: !0 }, cb)\n return _selectorQuery\n }\n\n node (cb) {\n const { _selector, _component, _single, _selectorQuery } = this\n _selectorQuery._push(_selector, _component, _single, { nodeCanvasType: !0, node: !0 }, cb)\n return _selectorQuery\n }\n\n boundingClientRect (cb) {\n const { _selector, _component, _single, _selectorQuery } = this\n _selectorQuery._push(_selector, _component, _single, { id: !0, dataset: !0, rect: !0, size: !0 }, cb)\n return _selectorQuery\n }\n\n scrollOffset (cb) {\n const { _selector, _component, _single, _selectorQuery } = this\n _selectorQuery._push(_selector, _component, _single, { id: !0, dataset: !0, scrollOffset: !0 }, cb)\n return _selectorQuery\n }\n\n fields (fields, cb) {\n const { _selector, _component, _single, _selectorQuery } = this\n const { id, dataset, rect, size, scrollOffset, properties = [], computedStyle = [] } = fields\n\n _selectorQuery._push(_selector, _component, _single, {\n id,\n dataset,\n rect,\n size,\n scrollOffset,\n properties,\n computedStyle\n }, cb)\n\n return _selectorQuery\n }\n}\n"],"names":[],"mappings":"MAIa,QAAQ,CAAA;AAMnB,IAAA,WAAA,CAAa,QAAgB,EAAE,kBAAiC,EAAE,MAAe,EAAA;AAC/E,QAAA,IAAI,CAAC,UAAU,GAAG,kBAAkB,CAAC,UAAU,CAAA;AAC/C,QAAA,IAAI,CAAC,SAAS,GAAG,QAAQ,CAAA;AACzB,QAAA,IAAI,CAAC,cAAc,GAAG,kBAAkB,CAAA;AACxC,QAAA,IAAI,CAAC,OAAO,GAAG,MAAM,CAAA;KACtB;AAED,IAAA,OAAO,CAAE,EAAE,EAAA;QACT,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,cAAc,EAAE,GAAG,IAAI,CAAA;AAC/D,QAAA,cAAc,CAAC,KAAK,CAAC,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,CAAA;AACzE,QAAA,OAAO,cAAc,CAAA;KACtB;AAED,IAAA,IAAI,CAAE,EAAE,EAAA;QACN,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,cAAc,EAAE,GAAG,IAAI,CAAA;QAC/D,cAAc,CAAC,KAAK,CAAC,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE,cAAc,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,CAAA;AAC1F,QAAA,OAAO,cAAc,CAAA;KACtB;AAED,IAAA,kBAAkB,CAAE,EAAE,EAAA;QACpB,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,cAAc,EAAE,GAAG,IAAI,CAAA;AAC/D,QAAA,cAAc,CAAC,KAAK,CAAC,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,CAAA;AACrG,QAAA,OAAO,cAAc,CAAA;KACtB;AAED,IAAA,YAAY,CAAE,EAAE,EAAA;QACd,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,cAAc,EAAE,GAAG,IAAI,CAAA;AAC/D,QAAA,cAAc,CAAC,KAAK,CAAC,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC,EAAE,YAAY,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,CAAA;AACnG,QAAA,OAAO,cAAc,CAAA;KACtB;IAED,MAAM,CAAE,MAAM,EAAE,EAAE,EAAA;QAChB,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,cAAc,EAAE,GAAG,IAAI,CAAA;QAC/D,MAAM,EAAE,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,YAAY,EAAE,UAAU,GAAG,EAAE,EAAE,aAAa,GAAG,EAAE,EAAE,GAAG,MAAM,CAAA;QAE7F,cAAc,CAAC,KAAK,CAAC,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE;YACnD,EAAE;YACF,OAAO;YACP,IAAI;YACJ,IAAI;YACJ,YAAY;YACZ,UAAU;YACV,aAAa;SACd,EAAE,EAAE,CAAC,CAAA;AAEN,QAAA,OAAO,cAAc,CAAA;KACtB;AACF;;;;"}
1
+ {"version":3,"file":"nodesRef.js","sources":["../../../src/api/wxml/nodesRef.ts"],"sourcesContent":["import Taro from '@tarojs/api'\n\nimport { SelectorQuery } from './selectorQuery'\n\nexport class NodesRef implements Taro.NodesRef {\n _component?: TaroGeneral.IAnyObject\n _selector: string\n _selectorQuery: SelectorQuery\n _single: boolean\n\n constructor (selector: string, querySelectorQuery: SelectorQuery, single: boolean) {\n this._component = querySelectorQuery._component\n this._selector = selector\n this._selectorQuery = querySelectorQuery\n this._single = single\n }\n\n context (cb) {\n const { _selector, _component, _single, _selectorQuery } = this\n _selectorQuery._push(_selector, _component, _single, { context: !0 }, cb)\n return _selectorQuery\n }\n\n node (cb) {\n const { _selector, _component, _single, _selectorQuery } = this\n _selectorQuery._push(_selector, _component, _single, { nodeCanvasType: !0, node: !0 }, cb)\n return _selectorQuery\n }\n\n boundingClientRect (cb) {\n const { _selector, _component, _single, _selectorQuery } = this\n _selectorQuery._push(_selector, _component, _single, { id: !0, dataset: !0, rect: !0, size: !0 }, cb)\n return _selectorQuery\n }\n\n scrollOffset (cb) {\n const { _selector, _component, _single, _selectorQuery } = this\n _selectorQuery._push(_selector, _component, _single, { id: !0, dataset: !0, scrollOffset: !0 }, cb)\n return _selectorQuery\n }\n\n fields (fields, cb) {\n const { _selector, _component, _single, _selectorQuery } = this\n const { id, dataset, rect, size, scrollOffset, context, node, properties = [], computedStyle = [] } = fields\n\n _selectorQuery._push(\n _selector,\n _component,\n _single,\n {\n id,\n dataset,\n rect,\n size,\n scrollOffset,\n context,\n node,\n nodeCanvasType: node,\n properties,\n computedStyle,\n },\n cb\n )\n\n return _selectorQuery\n }\n}\n"],"names":[],"mappings":"MAIa,QAAQ,CAAA;AAMnB,IAAA,WAAA,CAAa,QAAgB,EAAE,kBAAiC,EAAE,MAAe,EAAA;AAC/E,QAAA,IAAI,CAAC,UAAU,GAAG,kBAAkB,CAAC,UAAU,CAAA;AAC/C,QAAA,IAAI,CAAC,SAAS,GAAG,QAAQ,CAAA;AACzB,QAAA,IAAI,CAAC,cAAc,GAAG,kBAAkB,CAAA;AACxC,QAAA,IAAI,CAAC,OAAO,GAAG,MAAM,CAAA;KACtB;AAED,IAAA,OAAO,CAAE,EAAE,EAAA;QACT,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,cAAc,EAAE,GAAG,IAAI,CAAA;AAC/D,QAAA,cAAc,CAAC,KAAK,CAAC,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,CAAA;AACzE,QAAA,OAAO,cAAc,CAAA;KACtB;AAED,IAAA,IAAI,CAAE,EAAE,EAAA;QACN,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,cAAc,EAAE,GAAG,IAAI,CAAA;QAC/D,cAAc,CAAC,KAAK,CAAC,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE,cAAc,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,CAAA;AAC1F,QAAA,OAAO,cAAc,CAAA;KACtB;AAED,IAAA,kBAAkB,CAAE,EAAE,EAAA;QACpB,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,cAAc,EAAE,GAAG,IAAI,CAAA;AAC/D,QAAA,cAAc,CAAC,KAAK,CAAC,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,CAAA;AACrG,QAAA,OAAO,cAAc,CAAA;KACtB;AAED,IAAA,YAAY,CAAE,EAAE,EAAA;QACd,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,cAAc,EAAE,GAAG,IAAI,CAAA;AAC/D,QAAA,cAAc,CAAC,KAAK,CAAC,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC,EAAE,YAAY,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,CAAA;AACnG,QAAA,OAAO,cAAc,CAAA;KACtB;IAED,MAAM,CAAE,MAAM,EAAE,EAAE,EAAA;QAChB,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,cAAc,EAAE,GAAG,IAAI,CAAA;QAC/D,MAAM,EAAE,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,YAAY,EAAE,OAAO,EAAE,IAAI,EAAE,UAAU,GAAG,EAAE,EAAE,aAAa,GAAG,EAAE,EAAE,GAAG,MAAM,CAAA;QAE5G,cAAc,CAAC,KAAK,CAClB,SAAS,EACT,UAAU,EACV,OAAO,EACP;YACE,EAAE;YACF,OAAO;YACP,IAAI;YACJ,IAAI;YACJ,YAAY;YACZ,OAAO;YACP,IAAI;AACJ,YAAA,cAAc,EAAE,IAAI;YACpB,UAAU;YACV,aAAa;SACd,EACD,EAAE,CACH,CAAA;AAED,QAAA,OAAO,cAAc,CAAA;KACtB;AACF;;;;"}
@@ -44,7 +44,7 @@ declare const env: {
44
44
  // Note: 该方法由 taro-plugin-platform-h5 实现
45
45
  // export const canIUse = /* @__PURE__ */ temporarilyNotSupport('canIUse')
46
46
  declare function arrayBufferToBase64(arrayBuffer: ArrayBuffer): string;
47
- declare function base64ToArrayBuffer(base64: string): Uint8Array;
47
+ declare function base64ToArrayBuffer(base64: string): ArrayBufferLike;
48
48
  // 加密
49
49
  declare const getUserCryptoManager: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
50
50
  declare const setEnableDebug: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
@@ -348,17 +348,10 @@ declare const getFileInfo: (option?: {}, ...args: any[]) => Promise<Partial<Taro
348
348
  declare const getApp: typeof Taro.getApp;
349
349
  // 自定义组件
350
350
  declare const getCurrentInstance: () => Taro.getCurrentInstance.Current;
351
- // 位置
352
- declare const stopLocationUpdate: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
353
351
  declare const startLocationUpdateBackground: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
354
- declare const startLocationUpdate: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
355
352
  declare const openLocation: (options?: Partial<{
356
353
  scale: number;
357
354
  }>, ...args: any[]) => Promise<any>;
358
- declare const onLocationChangeError: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
359
- declare const onLocationChange: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
360
- declare const offLocationChangeError: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
361
- declare const offLocationChange: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
362
355
  declare const getLocation: (options?: Partial<Taro.getLocation.Option>, ...args: any[]) => Promise<Taro.getLocation.SuccessCallbackResult>;
363
356
  declare const choosePoi: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
364
357
  declare const getFuzzyLocation: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
@@ -366,6 +359,12 @@ declare const getFuzzyLocation: (option?: {}, ...args: any[]) => Promise<Partial
366
359
  * 打开地图选择位置。
367
360
  */
368
361
  declare const chooseLocation: typeof Taro.chooseLocation;
362
+ declare function onLocationChange(callback: Taro.onLocationChange.Callback): void;
363
+ declare function offLocationChange(callback: Taro.onLocationChange.Callback): void;
364
+ declare function onLocationChangeError(callback: Taro.onLocationChange.Callback): void;
365
+ declare function offLocationChangeError(callback: Taro.onLocationChange.Callback): void;
366
+ declare const stopLocationUpdate: (options?: Partial<import("@tarojs/taro").stopLocationUpdate.Option>, ...args: any[]) => Promise<TaroGeneral.CallbackResult>;
367
+ declare const startLocationUpdate: (options?: Partial<import("@tarojs/taro").startLocationUpdate.Option>, ...args: any[]) => Promise<TaroGeneral.CallbackResult>;
369
368
  // 音频
370
369
  declare const stopVoice: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
371
370
  declare const setInnerAudioOption: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
@@ -396,6 +395,8 @@ declare class CallbackManager<T extends unknown[] = unknown[]> {
396
395
  count: () => number;
397
396
  /** 触发回调 */
398
397
  trigger: (...args: T) => void;
398
+ /** 清空所有回调 */
399
+ clear: () => void;
399
400
  }
400
401
  declare class BackgroundAudioManager implements Taro.BackgroundAudioManager {
401
402
  Instance?: HTMLAudioElement;
@@ -577,6 +578,30 @@ declare const createUDPSocket: (option?: {}, ...args: any[]) => Promise<Partial<
577
578
  * 将本地资源上传到服务器。客户端发起一个 HTTPS POST 请求,其中 content-type 为 multipart/form-data。使用前请注意阅读相关说明。
578
579
  */
579
580
  declare const uploadFile: typeof Taro.uploadFile;
581
+ declare class SocketTask {
582
+ ws: WebSocket;
583
+ CONNECTING: number;
584
+ OPEN: number;
585
+ CLOSING: number;
586
+ CLOSED: number;
587
+ closeDetail: {
588
+ code: any;
589
+ reason: any;
590
+ };
591
+ _destroyWhenClose?: () => void;
592
+ constructor(url: any, protocols: any);
593
+ get readyState(): number;
594
+ send(opts?: Partial<Taro.SocketTask.SendOption>): Promise<{
595
+ errMsg: string;
596
+ }>;
597
+ close(opts?: Partial<Taro.SocketTask.CloseOption>): Promise<{
598
+ errMsg: string;
599
+ }>;
600
+ onOpen(func: any): void;
601
+ onMessage(func: any): void;
602
+ onClose(func: any): void;
603
+ onError(func: any): void;
604
+ }
580
605
  declare function sendSocketMessage(): void;
581
606
  declare function onSocketOpen(): void;
582
607
  declare function onSocketMessage(): void;
@@ -757,13 +782,19 @@ declare const disableAlertBeforeUnload: (option?: {}, ...args: any[]) => Promise
757
782
  // 菜单
758
783
  declare const getMenuButtonBoundingClientRect: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
759
784
  // 导航栏
760
- declare const showNavigationBarLoading: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
785
+ /**
786
+ * 展示导航栏 loading 状态
787
+ */
788
+ declare function showNavigationBarLoading(options?: Taro.showNavigationBarLoading.Option): Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
761
789
  declare function setNavigationBarTitle(options?: Taro.setNavigationBarTitle.Option): Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
762
790
  /**
763
791
  * 设置页面导航条颜色
764
792
  */
765
793
  declare const setNavigationBarColor: typeof Taro.setNavigationBarColor;
766
- declare const hideNavigationBarLoading: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
794
+ /**
795
+ * 隐藏导航栏 loading 状态
796
+ */
797
+ declare function hideNavigationBarLoading(options?: Taro.hideNavigationBarLoading.Option): Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
767
798
  declare const hideHomeButton: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
768
799
  /**
769
800
  * 开始下拉刷新。调用后触发下拉刷新动画,效果与用户手动下拉刷新一致。
@@ -863,5 +894,5 @@ declare class NodesRef implements Taro.NodesRef {
863
894
  declare const createSelectorQuery: typeof Taro.createSelectorQuery;
864
895
  declare const createIntersectionObserver: typeof Taro.createIntersectionObserver;
865
896
  declare const createMediaQueryObserver: typeof Taro.createMediaQueryObserver;
866
- export { taro as default, taro, createRewardedVideoAd, createInterstitialAd, stopFaceDetect, initFaceDetect, faceDetect, getInferenceEnvInfo, createInferenceSession, isVKSupport, createVKSession, getOpenUserInfo, tradePay, env, arrayBufferToBase64, base64ToArrayBuffer, getUserCryptoManager, setEnableDebug, getRealtimeLogManager, getLogManager, reportPerformance, getPerformance, preloadWebview, preloadSkylineView, preloadAssets, openSystemBluetoothSetting, openAppAuthorizeSetting, getWindowInfo, getSystemSetting, getDeviceInfo, getAppBaseInfo, getAppAuthorizeSetting, getSystemInfoSync, getSystemInfoAsync, getSystemInfo, getSkylineInfoSync, getSkylineInfo, getRendererUserAgent, updateWeChatApp, getUpdateManager, onUnhandledRejection, onThemeChange, onPageNotFound, onLazyLoadError, onError, onAudioInterruptionEnd, onAudioInterruptionBegin, onAppShow, onAppHide, offUnhandledRejection, offThemeChange, offPageNotFound, offLazyLoadError, offError, offAudioInterruptionEnd, offAudioInterruptionBegin, offAppShow, offAppHide, getLaunchOptionsSync, getEnterOptionsSync, createOffscreenCanvas, createCanvasContext, canvasToTempFilePath, canvasPutImageData, canvasGetImageData, cloud, reportMonitor, reportAnalytics, reportEvent, getExptInfoSync, stopAccelerometer, startAccelerometer, onAccelerometerChange, offAccelerometerChange, checkIsOpenAccessibility, getBatteryInfoSync, getBatteryInfo, stopBluetoothDevicesDiscovery, startBluetoothDevicesDiscovery, openBluetoothAdapter, onBluetoothDeviceFound, onBluetoothAdapterStateChange, offBluetoothDeviceFound, offBluetoothAdapterStateChange, makeBluetoothPair, isBluetoothDevicePaired, getConnectedBluetoothDevices, getBluetoothDevices, getBluetoothAdapterState, closeBluetoothAdapter, writeBLECharacteristicValue, setBLEMTU, readBLECharacteristicValue, onBLEMTUChange, onBLEConnectionStateChange, onBLECharacteristicValueChange, offBLEMTUChange, offBLEConnectionStateChange, offBLECharacteristicValueChange, notifyBLECharacteristicValueChange, getBLEMTU, getBLEDeviceServices, getBLEDeviceRSSI, getBLEDeviceCharacteristics, createBLEConnection, closeBLEConnection, onBLEPeripheralConnectionStateChanged, offBLEPeripheralConnectionStateChanged, createBLEPeripheralServer, addPhoneRepeatCalendar, addPhoneCalendar, setClipboardData, getClipboardData, stopCompass, startCompass, onCompassChange, offCompassChange, chooseContact, addPhoneContact, getRandomValues, stopGyroscope, startGyroscope, onGyroscopeChange, offGyroscopeChange, stopBeaconDiscovery, startBeaconDiscovery, onBeaconUpdate, onBeaconServiceChange, offBeaconUpdate, offBeaconServiceChange, getBeacons, onKeyboardHeightChange, offKeyboardHeightChange, hideKeyboard, getSelectedTextRange, onMemoryWarning, offMemoryWarning, stopDeviceMotionListening, startDeviceMotionListening, onDeviceMotionChange, offDeviceMotionChange, getNetworkType, onNetworkWeakChange, onNetworkStatusChange, offNetworkWeakChange, offNetworkStatusChange, getLocalIPAddress, stopHCE, startHCE, sendHCEMessage, onHCEMessage, offHCEMessage, getNFCAdapter, getHCEState, makePhoneCall, scanCode, setVisualEffectOnCapture, setScreenBrightness, setKeepScreenOn, onUserCaptureScreen, offUserCaptureScreen, getScreenBrightness, onScreenRecordingStateChanged, offScreenRecordingStateChanged, getScreenRecordingState, sendSms, vibrateShort, vibrateLong, stopWifi, startWifi, setWifiList, onWifiConnectedWithPartialInfo, onWifiConnected, onGetWifiList, offWifiConnectedWithPartialInfo, offWifiConnected, offGetWifiList, getWifiList, getConnectedWifi, connectWifi, getExtConfigSync, getExtConfig, saveFileToDisk, saveFile, removeSavedFile, openDocument, getSavedFileList, getSavedFileInfo, getFileSystemManager, getFileInfo, getApp, getCurrentInstance, stopLocationUpdate, startLocationUpdateBackground, startLocationUpdate, openLocation, onLocationChangeError, onLocationChange, offLocationChangeError, offLocationChange, getLocation, choosePoi, getFuzzyLocation, chooseLocation, stopVoice, setInnerAudioOption, playVoice, pauseVoice, getAvailableAudioSources, createWebAudioContext, createMediaAudioPlayer, createInnerAudioContext, createAudioContext, stopBackgroundAudio, seekBackgroundAudio, playBackgroundAudio, pauseBackgroundAudio, onBackgroundAudioStop, onBackgroundAudioPlay, onBackgroundAudioPause, getBackgroundAudioPlayerState, getBackgroundAudioManager, createCameraContext, saveImageToPhotosAlbum, previewMedia, getImageInfo, previewImage, compressImage, chooseMessageFile, chooseImage, editImage, cropImage, createLivePusherContext, createLivePlayerContext, createMapContext, createMediaRecorder, stopRecord, startRecord, getRecorderManager, saveVideoToPhotosAlbum, openVideoEditor, getVideoInfo, createVideoContext, compressVideo, chooseMedia, chooseVideo, createVideoDecoder, createMediaContainer, updateVoIPChatMuteConfig, subscribeVoIPVideoMembers, setEnable1v1Chat, onVoIPVideoMembersChanged, onVoIPChatStateChanged, onVoIPChatSpeakersChanged, onVoIPChatMembersChanged, onVoIPChatInterrupted, offVoIPChatSpeakersChanged, offVoIPVideoMembersChanged, offVoIPChatStateChanged, offVoIPChatMembersChanged, offVoIPChatInterrupted, joinVoIPChat, join1v1Chat, exitVoIPChat, openEmbeddedMiniProgram, navigateToMiniProgram, navigateBackMiniProgram, exitMiniProgram, openBusinessView, downloadFile, stopLocalServiceDiscovery, startLocalServiceDiscovery, onLocalServiceResolveFail, onLocalServiceLost, onLocalServiceFound, onLocalServiceDiscoveryStop, offLocalServiceResolveFail, offLocalServiceLost, offLocalServiceFound, offLocalServiceDiscoveryStop, request, addInterceptor, cleanInterceptors, createTCPSocket, createUDPSocket, uploadFile, sendSocketMessage, onSocketOpen, onSocketMessage, onSocketError, onSocketClose, connectSocket, closeSocket, getAccountInfoSync, chooseAddress, authorizeForMiniProgram, authorize, openCard, addCard, reserveChannelsLive, openChannelsUserProfile, openChannelsLive, openChannelsEvent, openChannelsActivity, getChannelsShareKey, getChannelsLiveNoticeInfo, getChannelsLiveInfo, openCustomerServiceChat, requestDeviceVoIP, getDeviceVoIPList, checkIsSupportFacialRecognition, startFacialRecognitionVerify, startFacialRecognitionVerifyAndUploadVideo, faceVerifyForPay, addVideoToFavorites, addFileToFavorites, getGroupEnterInfo, chooseInvoiceTitle, chooseInvoice, chooseLicensePlate, pluginLogin, login, checkSession, checkIsAddedToMyMiniProgram, requirePrivacyAuthorize, openPrivacyContract, onNeedPrivacyAuthorization, getPrivacySetting, showRedPackage, openSetting, getSetting, startSoterAuthentication, checkIsSupportSoterAuthentication, checkIsSoterEnrolledInDevice, requestSubscribeMessage, requestSubscribeDeviceMessage, getUserProfile, getUserInfo, shareToWeRun, getWeRunData, requestPayment, requestPluginPayment, requestOrderPayment, openQzonePublish, getQQRunData, setOfficialDress, setCustomDress, updateQQApp, addRecentColorSign, getGuildInfo, applyAddToMyApps, isAddedToMyApps, updateShareMenu, showShareMenu, showShareImageMenu, shareVideoMessage, shareFileMessage, onCopyUrl, offCopyUrl, hideShareMenu, getShareInfo, authPrivateMessage, setStorageSync, setStorage, revokeBufferURL, removeStorageSync, removeStorage, getStorageSync, getStorageInfoSync, getStorageInfo, getStorage, createBufferURL, clearStorageSync, clearStorage, batchSetStorageSync, batchSetStorage, batchGetStorageSync, batchGetStorage, setBackgroundFetchToken, onBackgroundFetchData, getBackgroundFetchToken, getBackgroundFetchData, createCacheManager, setPageInfo, ocrIdCard, ocrBankCard, ocrDrivingLicense, ocrVehicleLicense, textReview, textToAudio, imageAudit, advancedGeneralIdentify, objectDetectIdentify, carClassify, dishClassify, logoClassify, animalClassify, plantClassify, getSwanId, requestPolymerPayment, navigateToSmartGameProgram, navigateToSmartProgram, navigateBackSmartProgram, preloadSubPackage, createAnimation, setBackgroundTextStyle, setBackgroundColor, nextTick, loadFontFace, disableAlertBeforeUnload, enableAlertBeforeUnload, hideLoading, hideToast, showActionSheet, showLoading, showModal, showToast, getMenuButtonBoundingClientRect, showNavigationBarLoading, setNavigationBarTitle, setNavigationBarColor, hideNavigationBarLoading, hideHomeButton, startPullDownRefresh, stopPullDownRefresh, pageScrollTo, setTopBarText, initTabBarApis, showTabBarRedDot, showTabBar, setTabBarStyle, setTabBarItem, setTabBarBadge, removeTabBarBadge, hideTabBarRedDot, hideTabBar, setWindowSize, onWindowResize, offWindowResize, checkIsPictureInPictureActive, createWorker, createSelectorQuery, createIntersectionObserver, createMediaQueryObserver, NodesRef, Behavior, canIUseWebp, Current, ENV_TYPE, eventCenter, Events, getAppInfo, getEnv, history, initPxTransform, interceptorify, interceptors, Link, options, preload, pxTransform, requirePlugin };
897
+ export { taro as default, taro, createRewardedVideoAd, createInterstitialAd, stopFaceDetect, initFaceDetect, faceDetect, getInferenceEnvInfo, createInferenceSession, isVKSupport, createVKSession, getOpenUserInfo, tradePay, env, arrayBufferToBase64, base64ToArrayBuffer, getUserCryptoManager, setEnableDebug, getRealtimeLogManager, getLogManager, reportPerformance, getPerformance, preloadWebview, preloadSkylineView, preloadAssets, openSystemBluetoothSetting, openAppAuthorizeSetting, getWindowInfo, getSystemSetting, getDeviceInfo, getAppBaseInfo, getAppAuthorizeSetting, getSystemInfoSync, getSystemInfoAsync, getSystemInfo, getSkylineInfoSync, getSkylineInfo, getRendererUserAgent, updateWeChatApp, getUpdateManager, onUnhandledRejection, onThemeChange, onPageNotFound, onLazyLoadError, onError, onAudioInterruptionEnd, onAudioInterruptionBegin, onAppShow, onAppHide, offUnhandledRejection, offThemeChange, offPageNotFound, offLazyLoadError, offError, offAudioInterruptionEnd, offAudioInterruptionBegin, offAppShow, offAppHide, getLaunchOptionsSync, getEnterOptionsSync, createOffscreenCanvas, createCanvasContext, canvasToTempFilePath, canvasPutImageData, canvasGetImageData, cloud, reportMonitor, reportAnalytics, reportEvent, getExptInfoSync, stopAccelerometer, startAccelerometer, onAccelerometerChange, offAccelerometerChange, checkIsOpenAccessibility, getBatteryInfoSync, getBatteryInfo, stopBluetoothDevicesDiscovery, startBluetoothDevicesDiscovery, openBluetoothAdapter, onBluetoothDeviceFound, onBluetoothAdapterStateChange, offBluetoothDeviceFound, offBluetoothAdapterStateChange, makeBluetoothPair, isBluetoothDevicePaired, getConnectedBluetoothDevices, getBluetoothDevices, getBluetoothAdapterState, closeBluetoothAdapter, writeBLECharacteristicValue, setBLEMTU, readBLECharacteristicValue, onBLEMTUChange, onBLEConnectionStateChange, onBLECharacteristicValueChange, offBLEMTUChange, offBLEConnectionStateChange, offBLECharacteristicValueChange, notifyBLECharacteristicValueChange, getBLEMTU, getBLEDeviceServices, getBLEDeviceRSSI, getBLEDeviceCharacteristics, createBLEConnection, closeBLEConnection, onBLEPeripheralConnectionStateChanged, offBLEPeripheralConnectionStateChanged, createBLEPeripheralServer, addPhoneRepeatCalendar, addPhoneCalendar, setClipboardData, getClipboardData, stopCompass, startCompass, onCompassChange, offCompassChange, chooseContact, addPhoneContact, getRandomValues, stopGyroscope, startGyroscope, onGyroscopeChange, offGyroscopeChange, stopBeaconDiscovery, startBeaconDiscovery, onBeaconUpdate, onBeaconServiceChange, offBeaconUpdate, offBeaconServiceChange, getBeacons, onKeyboardHeightChange, offKeyboardHeightChange, hideKeyboard, getSelectedTextRange, onMemoryWarning, offMemoryWarning, stopDeviceMotionListening, startDeviceMotionListening, onDeviceMotionChange, offDeviceMotionChange, getNetworkType, onNetworkWeakChange, onNetworkStatusChange, offNetworkWeakChange, offNetworkStatusChange, getLocalIPAddress, stopHCE, startHCE, sendHCEMessage, onHCEMessage, offHCEMessage, getNFCAdapter, getHCEState, makePhoneCall, scanCode, setVisualEffectOnCapture, setScreenBrightness, setKeepScreenOn, onUserCaptureScreen, offUserCaptureScreen, getScreenBrightness, onScreenRecordingStateChanged, offScreenRecordingStateChanged, getScreenRecordingState, sendSms, vibrateShort, vibrateLong, stopWifi, startWifi, setWifiList, onWifiConnectedWithPartialInfo, onWifiConnected, onGetWifiList, offWifiConnectedWithPartialInfo, offWifiConnected, offGetWifiList, getWifiList, getConnectedWifi, connectWifi, getExtConfigSync, getExtConfig, saveFileToDisk, saveFile, removeSavedFile, openDocument, getSavedFileList, getSavedFileInfo, getFileSystemManager, getFileInfo, getApp, getCurrentInstance, startLocationUpdateBackground, openLocation, getLocation, choosePoi, getFuzzyLocation, chooseLocation, offLocationChange, offLocationChangeError, onLocationChange, onLocationChangeError, startLocationUpdate, stopLocationUpdate, stopVoice, setInnerAudioOption, playVoice, pauseVoice, getAvailableAudioSources, createWebAudioContext, createMediaAudioPlayer, createInnerAudioContext, createAudioContext, stopBackgroundAudio, seekBackgroundAudio, playBackgroundAudio, pauseBackgroundAudio, onBackgroundAudioStop, onBackgroundAudioPlay, onBackgroundAudioPause, getBackgroundAudioPlayerState, getBackgroundAudioManager, createCameraContext, saveImageToPhotosAlbum, previewMedia, getImageInfo, previewImage, compressImage, chooseMessageFile, chooseImage, editImage, cropImage, createLivePusherContext, createLivePlayerContext, createMapContext, createMediaRecorder, stopRecord, startRecord, getRecorderManager, saveVideoToPhotosAlbum, openVideoEditor, getVideoInfo, createVideoContext, compressVideo, chooseMedia, chooseVideo, createVideoDecoder, createMediaContainer, updateVoIPChatMuteConfig, subscribeVoIPVideoMembers, setEnable1v1Chat, onVoIPVideoMembersChanged, onVoIPChatStateChanged, onVoIPChatSpeakersChanged, onVoIPChatMembersChanged, onVoIPChatInterrupted, offVoIPChatSpeakersChanged, offVoIPVideoMembersChanged, offVoIPChatStateChanged, offVoIPChatMembersChanged, offVoIPChatInterrupted, joinVoIPChat, join1v1Chat, exitVoIPChat, openEmbeddedMiniProgram, navigateToMiniProgram, navigateBackMiniProgram, exitMiniProgram, openBusinessView, downloadFile, stopLocalServiceDiscovery, startLocalServiceDiscovery, onLocalServiceResolveFail, onLocalServiceLost, onLocalServiceFound, onLocalServiceDiscoveryStop, offLocalServiceResolveFail, offLocalServiceLost, offLocalServiceFound, offLocalServiceDiscoveryStop, request, addInterceptor, cleanInterceptors, createTCPSocket, createUDPSocket, uploadFile, sendSocketMessage, onSocketOpen, onSocketMessage, onSocketError, onSocketClose, connectSocket, closeSocket, SocketTask, getAccountInfoSync, chooseAddress, authorizeForMiniProgram, authorize, openCard, addCard, reserveChannelsLive, openChannelsUserProfile, openChannelsLive, openChannelsEvent, openChannelsActivity, getChannelsShareKey, getChannelsLiveNoticeInfo, getChannelsLiveInfo, openCustomerServiceChat, requestDeviceVoIP, getDeviceVoIPList, checkIsSupportFacialRecognition, startFacialRecognitionVerify, startFacialRecognitionVerifyAndUploadVideo, faceVerifyForPay, addVideoToFavorites, addFileToFavorites, getGroupEnterInfo, chooseInvoiceTitle, chooseInvoice, chooseLicensePlate, pluginLogin, login, checkSession, checkIsAddedToMyMiniProgram, requirePrivacyAuthorize, openPrivacyContract, onNeedPrivacyAuthorization, getPrivacySetting, showRedPackage, openSetting, getSetting, startSoterAuthentication, checkIsSupportSoterAuthentication, checkIsSoterEnrolledInDevice, requestSubscribeMessage, requestSubscribeDeviceMessage, getUserProfile, getUserInfo, shareToWeRun, getWeRunData, requestPayment, requestPluginPayment, requestOrderPayment, openQzonePublish, getQQRunData, setOfficialDress, setCustomDress, updateQQApp, addRecentColorSign, getGuildInfo, applyAddToMyApps, isAddedToMyApps, updateShareMenu, showShareMenu, showShareImageMenu, shareVideoMessage, shareFileMessage, onCopyUrl, offCopyUrl, hideShareMenu, getShareInfo, authPrivateMessage, setStorageSync, setStorage, revokeBufferURL, removeStorageSync, removeStorage, getStorageSync, getStorageInfoSync, getStorageInfo, getStorage, createBufferURL, clearStorageSync, clearStorage, batchSetStorageSync, batchSetStorage, batchGetStorageSync, batchGetStorage, setBackgroundFetchToken, onBackgroundFetchData, getBackgroundFetchToken, getBackgroundFetchData, createCacheManager, setPageInfo, ocrIdCard, ocrBankCard, ocrDrivingLicense, ocrVehicleLicense, textReview, textToAudio, imageAudit, advancedGeneralIdentify, objectDetectIdentify, carClassify, dishClassify, logoClassify, animalClassify, plantClassify, getSwanId, requestPolymerPayment, navigateToSmartGameProgram, navigateToSmartProgram, navigateBackSmartProgram, preloadSubPackage, createAnimation, setBackgroundTextStyle, setBackgroundColor, nextTick, loadFontFace, disableAlertBeforeUnload, enableAlertBeforeUnload, hideLoading, hideToast, showActionSheet, showLoading, showModal, showToast, getMenuButtonBoundingClientRect, showNavigationBarLoading, setNavigationBarTitle, setNavigationBarColor, hideNavigationBarLoading, hideHomeButton, startPullDownRefresh, stopPullDownRefresh, pageScrollTo, setTopBarText, initTabBarApis, showTabBarRedDot, showTabBar, setTabBarStyle, setTabBarItem, setTabBarBadge, removeTabBarBadge, hideTabBarRedDot, hideTabBar, setWindowSize, onWindowResize, offWindowResize, checkIsPictureInPictureActive, createWorker, createSelectorQuery, createIntersectionObserver, createMediaQueryObserver, NodesRef, Behavior, canIUseWebp, Current, ENV_TYPE, eventCenter, Events, getAppInfo, getEnv, history, initPxTransform, interceptorify, interceptors, Link, options, preload, pxTransform, requirePlugin };
867
898
  export { getCurrentPages, navigateBack, navigateTo, redirectTo, reLaunch, switchTab } from "@tarojs/router";