From 80554053bb59132eb64629be55cf05ca1aed032b Mon Sep 17 00:00:00 2001 From: TheKonka <1094918@gmail.com> Date: Tue, 17 Oct 2023 15:08:01 +0800 Subject: [PATCH] fix(weapp): `Map` attribute replenishment #14634 --- packages/taro-components/types/Map.d.ts | 49 +++++++++++++++++-- .../__snapshots__/babel.spec.ts.snap | 7 +++ .../__snapshots__/common-style.spec.ts.snap | 7 +++ .../compiler-macros.spec.ts.snap | 7 +++ .../__snapshots__/config.spec.ts.snap | 21 ++++++++ .../__snapshots__/css-modules.spec.ts.snap | 14 ++++++ .../__snapshots__/custom-tabbar.spec.ts.snap | 7 +++ .../__snapshots__/parse-html.spec.ts.snap | 7 +++ .../__snapshots__/prerender.spec.ts.snap | 21 ++++++++ .../__tests__/__snapshots__/qq.spec.ts.snap | 14 ++++++ .../__snapshots__/react.spec.ts.snap | 7 +++ .../__tests__/__snapshots__/sass.spec.ts.snap | 28 +++++++++++ .../__snapshots__/subpackages.spec.ts.snap | 7 +++ .../__snapshots__/tabbar.spec.ts.snap | 7 +++ .../__tests__/__snapshots__/ts.spec.ts.snap | 7 +++ .../__tests__/__snapshots__/vue.spec.ts.snap | 7 +++ .../__tests__/__snapshots__/vue3.spec.ts.snap | 7 +++ .../__snapshots__/wx-hybrid.spec.ts.snap | 7 +++ packages/taro-weapp/src/components.ts | 7 +++ .../__snapshots__/babel.spec.ts.snap | 7 +++ .../compiler-macros.spec.ts.snap | 7 +++ .../__snapshots__/config.spec.ts.snap | 28 +++++++++++ .../__snapshots__/css-modules.spec.ts.snap | 14 ++++++ .../__snapshots__/framework.spec.ts.snap | 28 +++++++++++ .../__snapshots__/parse-html.spec.ts.snap | 7 +++ .../__snapshots__/prerender.spec.ts.snap | 21 ++++++++ .../__tests__/__snapshots__/sass.spec.ts.snap | 35 +++++++++++++ .../__snapshots__/subpackages.spec.ts.snap | 7 +++ .../__snapshots__/tabbar.spec.ts.snap | 14 ++++++ .../__tests__/__snapshots__/ts.spec.ts.snap | 7 +++ .../__snapshots__/wx-hybrid.spec.ts.snap | 7 +++ 31 files changed, 417 insertions(+), 3 deletions(-) diff --git a/packages/taro-components/types/Map.d.ts b/packages/taro-components/types/Map.d.ts index 3a2d2f18551..ff21beb21d7 100644 --- a/packages/taro-components/types/Map.d.ts +++ b/packages/taro-components/types/Map.d.ts @@ -30,8 +30,9 @@ interface MapProps extends StandardProps { * @supported weapp, alipay, swan, tt, qq, jd */ markers?: MapProps.marker[] - /** 标记点 + /** **即将移除,请使用 markers** * @supported weapp + * @deprecated */ covers?: any[] /** 路线 @@ -217,14 +218,38 @@ interface MapProps extends StandardProps { * @supported weapp, swan, qq */ onPoiTap?: CommonEventFunction + /** 点击地图路线时触发,e.detail = {longitude, latitude} + * @supported weapp, swan, qq + */ + onPolylineTap?: CommonEventFunction + /** 地图能力生效时触发,e.detail = {ability, errCode, errMsg} + * @supported weapp + */ + onAbilitySuccess?: CommonEventFunction + /** 地图能力失败时触发,e.detail = {ability, errCode, errMsg} + * @supported weapp + */ + onAbilityFailed?: CommonEventFunction + /** 地图鉴权结果成功时触发,e.detail = {errCode, errMsg} + * @supported weapp + */ + onAuthSuccess?: CommonEventFunction<{ errCode: number; errMsg: string }> + /** MapContext.moveAlong 插值动画时触发。e.detail = {markerId, longitude, latitude, animationStatus: "interpolating" | "complete"} + * @supported weapp + */ + onInterpolatePoint?: CommonEventFunction + /** 组件错误时触发,例如创建或鉴权失败,e.detail = {longitude, latitude} + * @supported weapp + */ + onError: CommonEventFunction /** 点击标记点对应的气泡时触发e.detail = {markerId} * @supported weapp, swan, tt, jd */ - onCallOutTap?: CommonEventFunction + onCallOutTap?: CommonEventFunction /** 点击定位标时触发,e.detail = {longitude, latitude} * @supported weapp, tt */ - onAnchorPointTap?: CommonEventFunction + onAnchorPointTap?: CommonEventFunction /** 点击 panel 时触发。 * @supported alipay */ @@ -612,6 +637,24 @@ declare namespace MapProps { longitude: number latitude: number } + + interface onPolylineTapEventDetail { + polylineId: number + longitude: number + latitude: number + } + interface onAbilityEventDetail { + ability: string + errCode: number + errMsg: string + } + + interface onInterpolatePointEventDetail { + markerId: number + longitude: number + latitude: number + animationStatus: 'interpolating' | 'complete' + } } /** 地图。相关api Taro.createMapContext。 * @classification maps diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/babel.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/babel.spec.ts.snap index e6eb7306bfd..23026598bc7 100644 --- a/packages/taro-mini-runner/src/__tests__/__snapshots__/babel.spec.ts.snap +++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/babel.spec.ts.snap @@ -117,6 +117,7 @@ require("./taro"); "show-compass": _false, "show-scale": _false, "enable-overlooking": _false, + "enable-auto-max-overlooking": _false, "enable-zoom": _true, "enable-scroll": _true, "enable-rotate": _false, @@ -128,6 +129,12 @@ require("./taro"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/common-style.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/common-style.spec.ts.snap index 348d6bbb9de..a83f7e14563 100644 --- a/packages/taro-mini-runner/src/__tests__/__snapshots__/common-style.spec.ts.snap +++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/common-style.spec.ts.snap @@ -120,6 +120,7 @@ require("./taro"); "show-compass": _false, "show-scale": _false, "enable-overlooking": _false, + "enable-auto-max-overlooking": _false, "enable-zoom": _true, "enable-scroll": _true, "enable-rotate": _false, @@ -131,6 +132,12 @@ require("./taro"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/compiler-macros.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/compiler-macros.spec.ts.snap index 50c14130edc..48e13980fcf 100644 --- a/packages/taro-mini-runner/src/__tests__/__snapshots__/compiler-macros.spec.ts.snap +++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/compiler-macros.spec.ts.snap @@ -117,6 +117,7 @@ require("./taro"); "show-compass": _false, "show-scale": _false, "enable-overlooking": _false, + "enable-auto-max-overlooking": _false, "enable-zoom": _true, "enable-scroll": _true, "enable-rotate": _false, @@ -128,6 +129,12 @@ require("./taro"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/config.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/config.spec.ts.snap index 5ff65e9af3a..a9ee4df4445 100644 --- a/packages/taro-mini-runner/src/__tests__/__snapshots__/config.spec.ts.snap +++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/config.spec.ts.snap @@ -117,6 +117,7 @@ require("./taro"); "show-compass": _false, "show-scale": _false, "enable-overlooking": _false, + "enable-auto-max-overlooking": _false, "enable-zoom": _true, "enable-scroll": _true, "enable-rotate": _false, @@ -128,6 +129,12 @@ require("./taro"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { @@ -1851,6 +1858,7 @@ require("./taro"); "show-compass": _false, "show-scale": _false, "enable-overlooking": _false, + "enable-auto-max-overlooking": _false, "enable-zoom": _true, "enable-scroll": _true, "enable-rotate": _false, @@ -1862,6 +1870,12 @@ require("./taro"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { @@ -3539,6 +3553,7 @@ require("./taro"); "show-compass": _false, "show-scale": _false, "enable-overlooking": _false, + "enable-auto-max-overlooking": _false, "enable-zoom": _true, "enable-scroll": _true, "enable-rotate": _false, @@ -3550,6 +3565,12 @@ require("./taro"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/css-modules.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/css-modules.spec.ts.snap index 06c619d7f2c..3b62c259ded 100644 --- a/packages/taro-mini-runner/src/__tests__/__snapshots__/css-modules.spec.ts.snap +++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/css-modules.spec.ts.snap @@ -119,6 +119,7 @@ require("./taro"); "show-compass": _false, "show-scale": _false, "enable-overlooking": _false, + "enable-auto-max-overlooking": _false, "enable-zoom": _true, "enable-scroll": _true, "enable-rotate": _false, @@ -130,6 +131,12 @@ require("./taro"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { @@ -1711,6 +1718,7 @@ require("./taro"); "show-compass": _false, "show-scale": _false, "enable-overlooking": _false, + "enable-auto-max-overlooking": _false, "enable-zoom": _true, "enable-scroll": _true, "enable-rotate": _false, @@ -1722,6 +1730,12 @@ require("./taro"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/custom-tabbar.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/custom-tabbar.spec.ts.snap index f5f419ca87d..89d1e56c555 100644 --- a/packages/taro-mini-runner/src/__tests__/__snapshots__/custom-tabbar.spec.ts.snap +++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/custom-tabbar.spec.ts.snap @@ -80,6 +80,7 @@ require("./taro"); "show-compass": _false, "show-scale": _false, "enable-overlooking": _false, + "enable-auto-max-overlooking": _false, "enable-zoom": _true, "enable-scroll": _true, "enable-rotate": _false, @@ -91,6 +92,12 @@ require("./taro"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/parse-html.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/parse-html.spec.ts.snap index 917f7f3667c..ce4171ac686 100644 --- a/packages/taro-mini-runner/src/__tests__/__snapshots__/parse-html.spec.ts.snap +++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/parse-html.spec.ts.snap @@ -117,6 +117,7 @@ require("./taro"); "show-compass": _false, "show-scale": _false, "enable-overlooking": _false, + "enable-auto-max-overlooking": _false, "enable-zoom": _true, "enable-scroll": _true, "enable-rotate": _false, @@ -128,6 +129,12 @@ require("./taro"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/prerender.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/prerender.spec.ts.snap index a673177fab5..aaa18f92409 100644 --- a/packages/taro-mini-runner/src/__tests__/__snapshots__/prerender.spec.ts.snap +++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/prerender.spec.ts.snap @@ -117,6 +117,7 @@ require("./taro"); "show-compass": _false, "show-scale": _false, "enable-overlooking": _false, + "enable-auto-max-overlooking": _false, "enable-zoom": _true, "enable-scroll": _true, "enable-rotate": _false, @@ -128,6 +129,12 @@ require("./taro"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { @@ -3083,6 +3090,7 @@ require("./taro"); "show-compass": _false, "show-scale": _false, "enable-overlooking": _false, + "enable-auto-max-overlooking": _false, "enable-zoom": _true, "enable-scroll": _true, "enable-rotate": _false, @@ -3094,6 +3102,12 @@ require("./taro"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { @@ -6049,6 +6063,7 @@ require("./taro"); "show-compass": _false, "show-scale": _false, "enable-overlooking": _false, + "enable-auto-max-overlooking": _false, "enable-zoom": _true, "enable-scroll": _true, "enable-rotate": _false, @@ -6060,6 +6075,12 @@ require("./taro"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/qq.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/qq.spec.ts.snap index 4abb60983b9..65354ba8b11 100644 --- a/packages/taro-mini-runner/src/__tests__/__snapshots__/qq.spec.ts.snap +++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/qq.spec.ts.snap @@ -142,6 +142,7 @@ require("./taro"); "show-compass": _false, "show-scale": _false, "enable-overlooking": _false, + "enable-auto-max-overlooking": _false, "enable-zoom": _true, "enable-scroll": _true, "enable-rotate": _false, @@ -153,6 +154,12 @@ require("./taro"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { @@ -2379,6 +2386,7 @@ require("./taro"); "show-compass": _false, "show-scale": _false, "enable-overlooking": _false, + "enable-auto-max-overlooking": _false, "enable-zoom": _true, "enable-scroll": _true, "enable-rotate": _false, @@ -2390,6 +2398,12 @@ require("./taro"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/react.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/react.spec.ts.snap index 8544d694bdf..e156dbc98c7 100644 --- a/packages/taro-mini-runner/src/__tests__/__snapshots__/react.spec.ts.snap +++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/react.spec.ts.snap @@ -117,6 +117,7 @@ require("./taro"); "show-compass": _false, "show-scale": _false, "enable-overlooking": _false, + "enable-auto-max-overlooking": _false, "enable-zoom": _true, "enable-scroll": _true, "enable-rotate": _false, @@ -128,6 +129,12 @@ require("./taro"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/sass.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/sass.spec.ts.snap index c8a1e3bd92b..97cdeab54d1 100644 --- a/packages/taro-mini-runner/src/__tests__/__snapshots__/sass.spec.ts.snap +++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/sass.spec.ts.snap @@ -117,6 +117,7 @@ require("./taro"); "show-compass": _false, "show-scale": _false, "enable-overlooking": _false, + "enable-auto-max-overlooking": _false, "enable-zoom": _true, "enable-scroll": _true, "enable-rotate": _false, @@ -128,6 +129,12 @@ require("./taro"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { @@ -1692,6 +1699,7 @@ require("./taro"); "show-compass": _false, "show-scale": _false, "enable-overlooking": _false, + "enable-auto-max-overlooking": _false, "enable-zoom": _true, "enable-scroll": _true, "enable-rotate": _false, @@ -1703,6 +1711,12 @@ require("./taro"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { @@ -3267,6 +3281,7 @@ require("./taro"); "show-compass": _false, "show-scale": _false, "enable-overlooking": _false, + "enable-auto-max-overlooking": _false, "enable-zoom": _true, "enable-scroll": _true, "enable-rotate": _false, @@ -3278,6 +3293,12 @@ require("./taro"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { @@ -4842,6 +4863,7 @@ require("./taro"); "show-compass": _false, "show-scale": _false, "enable-overlooking": _false, + "enable-auto-max-overlooking": _false, "enable-zoom": _true, "enable-scroll": _true, "enable-rotate": _false, @@ -4853,6 +4875,12 @@ require("./taro"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/subpackages.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/subpackages.spec.ts.snap index 674473ba4dc..b66ec230ab9 100644 --- a/packages/taro-mini-runner/src/__tests__/__snapshots__/subpackages.spec.ts.snap +++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/subpackages.spec.ts.snap @@ -80,6 +80,7 @@ require("./taro"); "show-compass": _false, "show-scale": _false, "enable-overlooking": _false, + "enable-auto-max-overlooking": _false, "enable-zoom": _true, "enable-scroll": _true, "enable-rotate": _false, @@ -91,6 +92,12 @@ require("./taro"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/tabbar.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/tabbar.spec.ts.snap index 12cac6e43a3..3f5882266a5 100644 --- a/packages/taro-mini-runner/src/__tests__/__snapshots__/tabbar.spec.ts.snap +++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/tabbar.spec.ts.snap @@ -1399,6 +1399,7 @@ require("./taro"); "show-compass": _false, "show-scale": _false, "enable-overlooking": _false, + "enable-auto-max-overlooking": _false, "enable-zoom": _true, "enable-scroll": _true, "enable-rotate": _false, @@ -1410,6 +1411,12 @@ require("./taro"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/ts.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/ts.spec.ts.snap index 269cc409e34..8d83084872b 100644 --- a/packages/taro-mini-runner/src/__tests__/__snapshots__/ts.spec.ts.snap +++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/ts.spec.ts.snap @@ -117,6 +117,7 @@ require("./taro"); "show-compass": _false, "show-scale": _false, "enable-overlooking": _false, + "enable-auto-max-overlooking": _false, "enable-zoom": _true, "enable-scroll": _true, "enable-rotate": _false, @@ -128,6 +129,12 @@ require("./taro"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/vue.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/vue.spec.ts.snap index 0d6b40e980d..032aafd2d39 100644 --- a/packages/taro-mini-runner/src/__tests__/__snapshots__/vue.spec.ts.snap +++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/vue.spec.ts.snap @@ -113,6 +113,7 @@ require("./taro"); "show-compass": _false, "show-scale": _false, "enable-overlooking": _false, + "enable-auto-max-overlooking": _false, "enable-zoom": _true, "enable-scroll": _true, "enable-rotate": _false, @@ -124,6 +125,12 @@ require("./taro"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/vue3.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/vue3.spec.ts.snap index 7146cfca741..3c5031a7b6c 100644 --- a/packages/taro-mini-runner/src/__tests__/__snapshots__/vue3.spec.ts.snap +++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/vue3.spec.ts.snap @@ -115,6 +115,7 @@ require("./taro"); "show-compass": _false, "show-scale": _false, "enable-overlooking": _false, + "enable-auto-max-overlooking": _false, "enable-zoom": _true, "enable-scroll": _true, "enable-rotate": _false, @@ -126,6 +127,12 @@ require("./taro"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/wx-hybrid.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/wx-hybrid.spec.ts.snap index 01a5a7eea86..2f2fadab8d3 100644 --- a/packages/taro-mini-runner/src/__tests__/__snapshots__/wx-hybrid.spec.ts.snap +++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/wx-hybrid.spec.ts.snap @@ -78,6 +78,7 @@ require("./taro"); "show-compass": _false, "show-scale": _false, "enable-overlooking": _false, + "enable-auto-max-overlooking": _false, "enable-zoom": _true, "enable-scroll": _true, "enable-rotate": _false, @@ -89,6 +90,12 @@ require("./taro"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { diff --git a/packages/taro-weapp/src/components.ts b/packages/taro-weapp/src/components.ts index 4611c4f88e2..97efaa9b876 100644 --- a/packages/taro-weapp/src/components.ts +++ b/packages/taro-weapp/src/components.ts @@ -29,6 +29,7 @@ export const components = { 'show-compass': _false, 'show-scale': _false, 'enable-overlooking': _false, + 'enable-auto-max-overlooking': _false, 'enable-zoom': _true, 'enable-scroll': _true, 'enable-rotate': _false, @@ -40,6 +41,12 @@ export const components = { bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { diff --git a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/babel.spec.ts.snap b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/babel.spec.ts.snap index 60d895b8e38..f778969be76 100644 --- a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/babel.spec.ts.snap +++ b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/babel.spec.ts.snap @@ -103,6 +103,7 @@ require("./runtime"); "show-compass": _false, "show-scale": _false, "enable-overlooking": _false, + "enable-auto-max-overlooking": _false, "enable-zoom": _true, "enable-scroll": _true, "enable-rotate": _false, @@ -114,6 +115,12 @@ require("./runtime"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { diff --git a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/compiler-macros.spec.ts.snap b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/compiler-macros.spec.ts.snap index 48245db50bf..974e99cbe84 100644 --- a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/compiler-macros.spec.ts.snap +++ b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/compiler-macros.spec.ts.snap @@ -103,6 +103,7 @@ require("./runtime"); "show-compass": _false, "show-scale": _false, "enable-overlooking": _false, + "enable-auto-max-overlooking": _false, "enable-zoom": _true, "enable-scroll": _true, "enable-rotate": _false, @@ -114,6 +115,12 @@ require("./runtime"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { diff --git a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/config.spec.ts.snap b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/config.spec.ts.snap index 13808ebe16c..11c5b6e998f 100644 --- a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/config.spec.ts.snap +++ b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/config.spec.ts.snap @@ -103,6 +103,7 @@ require("./runtime"); "show-compass": _false, "show-scale": _false, "enable-overlooking": _false, + "enable-auto-max-overlooking": _false, "enable-zoom": _true, "enable-scroll": _true, "enable-rotate": _false, @@ -114,6 +115,12 @@ require("./runtime"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { @@ -1915,6 +1922,7 @@ require("./runtime"); "show-compass": _false, "show-scale": _false, "enable-overlooking": _false, + "enable-auto-max-overlooking": _false, "enable-zoom": _true, "enable-scroll": _true, "enable-rotate": _false, @@ -1926,6 +1934,12 @@ require("./runtime"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { @@ -3838,6 +3852,7 @@ require("./runtime"); "show-compass": _false, "show-scale": _false, "enable-overlooking": _false, + "enable-auto-max-overlooking": _false, "enable-zoom": _true, "enable-scroll": _true, "enable-rotate": _false, @@ -3849,6 +3864,12 @@ require("./runtime"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { @@ -5662,6 +5683,7 @@ require("./runtime"); "show-compass": _false, "show-scale": _false, "enable-overlooking": _false, + "enable-auto-max-overlooking": _false, "enable-zoom": _true, "enable-scroll": _true, "enable-rotate": _false, @@ -5673,6 +5695,12 @@ require("./runtime"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { diff --git a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/css-modules.spec.ts.snap b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/css-modules.spec.ts.snap index aa310bf46c7..d82555a71b4 100644 --- a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/css-modules.spec.ts.snap +++ b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/css-modules.spec.ts.snap @@ -103,6 +103,7 @@ require("./runtime"); "show-compass": _false, "show-scale": _false, "enable-overlooking": _false, + "enable-auto-max-overlooking": _false, "enable-zoom": _true, "enable-scroll": _true, "enable-rotate": _false, @@ -114,6 +115,12 @@ require("./runtime"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { @@ -1923,6 +1930,7 @@ require("./runtime"); "show-compass": _false, "show-scale": _false, "enable-overlooking": _false, + "enable-auto-max-overlooking": _false, "enable-zoom": _true, "enable-scroll": _true, "enable-rotate": _false, @@ -1934,6 +1942,12 @@ require("./runtime"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { diff --git a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/framework.spec.ts.snap b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/framework.spec.ts.snap index 041b8a902a0..0e56abafa51 100644 --- a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/framework.spec.ts.snap +++ b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/framework.spec.ts.snap @@ -100,6 +100,7 @@ require("./runtime"); "show-compass": _false, "show-scale": _false, "enable-overlooking": _false, + "enable-auto-max-overlooking": _false, "enable-zoom": _true, "enable-scroll": _true, "enable-rotate": _false, @@ -111,6 +112,12 @@ require("./runtime"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { @@ -2139,6 +2146,7 @@ require("./runtime"); "show-compass": _false, "show-scale": _false, "enable-overlooking": _false, + "enable-auto-max-overlooking": _false, "enable-zoom": _true, "enable-scroll": _true, "enable-rotate": _false, @@ -2150,6 +2158,12 @@ require("./runtime"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { @@ -4541,6 +4555,7 @@ require("./runtime"); "show-compass": _false, "show-scale": _false, "enable-overlooking": _false, + "enable-auto-max-overlooking": _false, "enable-zoom": _true, "enable-scroll": _true, "enable-rotate": _false, @@ -4552,6 +4567,12 @@ require("./runtime"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { @@ -6284,6 +6305,7 @@ require("./runtime"); "show-compass": _false, "show-scale": _false, "enable-overlooking": _false, + "enable-auto-max-overlooking": _false, "enable-zoom": _true, "enable-scroll": _true, "enable-rotate": _false, @@ -6295,6 +6317,12 @@ require("./runtime"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { diff --git a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/parse-html.spec.ts.snap b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/parse-html.spec.ts.snap index 303e9c8d760..b0a7bce9b48 100644 --- a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/parse-html.spec.ts.snap +++ b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/parse-html.spec.ts.snap @@ -100,6 +100,7 @@ require("./runtime"); "show-compass": _false, "show-scale": _false, "enable-overlooking": _false, + "enable-auto-max-overlooking": _false, "enable-zoom": _true, "enable-scroll": _true, "enable-rotate": _false, @@ -111,6 +112,12 @@ require("./runtime"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { diff --git a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/prerender.spec.ts.snap b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/prerender.spec.ts.snap index b01d897ef8d..a3e71bc85fc 100644 --- a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/prerender.spec.ts.snap +++ b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/prerender.spec.ts.snap @@ -100,6 +100,7 @@ require("./runtime"); "show-compass": _false, "show-scale": _false, "enable-overlooking": _false, + "enable-auto-max-overlooking": _false, "enable-zoom": _true, "enable-scroll": _true, "enable-rotate": _false, @@ -111,6 +112,12 @@ require("./runtime"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { @@ -3177,6 +3184,7 @@ require("./runtime"); "show-compass": _false, "show-scale": _false, "enable-overlooking": _false, + "enable-auto-max-overlooking": _false, "enable-zoom": _true, "enable-scroll": _true, "enable-rotate": _false, @@ -3188,6 +3196,12 @@ require("./runtime"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { @@ -6254,6 +6268,7 @@ require("./runtime"); "show-compass": _false, "show-scale": _false, "enable-overlooking": _false, + "enable-auto-max-overlooking": _false, "enable-zoom": _true, "enable-scroll": _true, "enable-rotate": _false, @@ -6265,6 +6280,12 @@ require("./runtime"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { diff --git a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/sass.spec.ts.snap b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/sass.spec.ts.snap index bd8883619d3..19da40546b2 100644 --- a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/sass.spec.ts.snap +++ b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/sass.spec.ts.snap @@ -103,6 +103,7 @@ require("./runtime"); "show-compass": _false, "show-scale": _false, "enable-overlooking": _false, + "enable-auto-max-overlooking": _false, "enable-zoom": _true, "enable-scroll": _true, "enable-rotate": _false, @@ -114,6 +115,12 @@ require("./runtime"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { @@ -1876,6 +1883,7 @@ require("./runtime"); "show-compass": _false, "show-scale": _false, "enable-overlooking": _false, + "enable-auto-max-overlooking": _false, "enable-zoom": _true, "enable-scroll": _true, "enable-rotate": _false, @@ -1887,6 +1895,12 @@ require("./runtime"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { @@ -3685,6 +3699,7 @@ require("./runtime"); "show-compass": _false, "show-scale": _false, "enable-overlooking": _false, + "enable-auto-max-overlooking": _false, "enable-zoom": _true, "enable-scroll": _true, "enable-rotate": _false, @@ -3696,6 +3711,12 @@ require("./runtime"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { @@ -5494,6 +5515,7 @@ require("./runtime"); "show-compass": _false, "show-scale": _false, "enable-overlooking": _false, + "enable-auto-max-overlooking": _false, "enable-zoom": _true, "enable-scroll": _true, "enable-rotate": _false, @@ -5505,6 +5527,12 @@ require("./runtime"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { @@ -7303,6 +7331,7 @@ require("./runtime"); "show-compass": _false, "show-scale": _false, "enable-overlooking": _false, + "enable-auto-max-overlooking": _false, "enable-zoom": _true, "enable-scroll": _true, "enable-rotate": _false, @@ -7314,6 +7343,12 @@ require("./runtime"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { diff --git a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/subpackages.spec.ts.snap b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/subpackages.spec.ts.snap index de44b547081..d39490a3cce 100644 --- a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/subpackages.spec.ts.snap +++ b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/subpackages.spec.ts.snap @@ -103,6 +103,7 @@ require("./runtime"); "show-compass": _false, "show-scale": _false, "enable-overlooking": _false, + "enable-auto-max-overlooking": _false, "enable-zoom": _true, "enable-scroll": _true, "enable-rotate": _false, @@ -114,6 +115,12 @@ require("./runtime"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { diff --git a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/tabbar.spec.ts.snap b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/tabbar.spec.ts.snap index 79e860772f0..9b1f55b5eac 100644 --- a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/tabbar.spec.ts.snap +++ b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/tabbar.spec.ts.snap @@ -100,6 +100,7 @@ require("./runtime"); "show-compass": _false, "show-scale": _false, "enable-overlooking": _false, + "enable-auto-max-overlooking": _false, "enable-zoom": _true, "enable-scroll": _true, "enable-rotate": _false, @@ -111,6 +112,12 @@ require("./runtime"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { @@ -3415,6 +3422,7 @@ require("./runtime"); "show-compass": _false, "show-scale": _false, "enable-overlooking": _false, + "enable-auto-max-overlooking": _false, "enable-zoom": _true, "enable-scroll": _true, "enable-rotate": _false, @@ -3426,6 +3434,12 @@ require("./runtime"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { diff --git a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/ts.spec.ts.snap b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/ts.spec.ts.snap index c9ac4b742b8..7215862917d 100644 --- a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/ts.spec.ts.snap +++ b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/ts.spec.ts.snap @@ -103,6 +103,7 @@ require("./runtime"); "show-compass": _false, "show-scale": _false, "enable-overlooking": _false, + "enable-auto-max-overlooking": _false, "enable-zoom": _true, "enable-scroll": _true, "enable-rotate": _false, @@ -114,6 +115,12 @@ require("./runtime"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { diff --git a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/wx-hybrid.spec.ts.snap b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/wx-hybrid.spec.ts.snap index 1c4cad07d8b..d7552aff2b1 100644 --- a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/wx-hybrid.spec.ts.snap +++ b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/wx-hybrid.spec.ts.snap @@ -98,6 +98,7 @@ require("./runtime"); "show-compass": _false, "show-scale": _false, "enable-overlooking": _false, + "enable-auto-max-overlooking": _false, "enable-zoom": _true, "enable-scroll": _true, "enable-rotate": _false, @@ -109,6 +110,12 @@ require("./runtime"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: {