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 d8c245fd2ef..2319373d181 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 729bff4cf3b..1d1a568e692 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 714f1a76048..1dbca9ee1ec 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 2d1368f9612..08b3018414e 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: { @@ -1859,6 +1866,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, @@ -1870,6 +1878,12 @@ require("./taro"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { @@ -3555,6 +3569,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, @@ -3566,6 +3581,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 8612bb02fca..604e3fffd55 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: { @@ -1719,6 +1726,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, @@ -1730,6 +1738,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 e50fa47266f..f07897e826e 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 3692a208d6d..70c137605fb 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 3d4ae02d518..e2806b57a13 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: { @@ -3091,6 +3098,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, @@ -3102,6 +3110,12 @@ require("./taro"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { @@ -6065,6 +6079,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, @@ -6076,6 +6091,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 8a51173d631..10c6624c5bd 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: { @@ -2387,6 +2394,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, @@ -2398,6 +2406,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 a15694d4a5a..d5329f7b111 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 92eb143efee..34361664806 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: { @@ -1700,6 +1707,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, @@ -1711,6 +1719,12 @@ require("./taro"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { @@ -3283,6 +3297,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, @@ -3294,6 +3309,12 @@ require("./taro"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { @@ -4866,6 +4887,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, @@ -4877,6 +4899,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 4c1bb7dabbe..d0bfda4ecec 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 cfde9c5f6c9..81f276e5c34 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 572cb9e1a73..7d6e56f103a 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 42ea62d565a..87844c97f64 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 4159c088f84..729dde7bb57 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 7c1358fd871..fb76518314c 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 d5587503640..e2faef78b6b 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 e01646a611e..d4175de429e 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 2e80ba255d1..4748d00e256 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 74d11cc1777..456f1c53f47 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: { @@ -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: { @@ -3854,6 +3868,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, @@ -3865,6 +3880,12 @@ require("./runtime"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { @@ -5686,6 +5707,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, @@ -5697,6 +5719,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 43cebc5dfb1..6d50e95ecdc 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: { @@ -1931,6 +1938,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, @@ -1942,6 +1950,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 c6b3f0e8437..104f2c88c69 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: { @@ -2147,6 +2154,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, @@ -2158,6 +2166,12 @@ require("./runtime"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { @@ -4557,6 +4571,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, @@ -4568,6 +4583,12 @@ require("./runtime"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { @@ -6308,6 +6329,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, @@ -6319,6 +6341,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 2706b619e2a..a2387854c83 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 335f3e1a405..3fc406e5eae 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: { @@ -3185,6 +3192,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, @@ -3196,6 +3204,12 @@ require("./runtime"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { @@ -6270,6 +6284,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, @@ -6281,6 +6296,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 87aecc29d5c..d6485c51f6b 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: { @@ -1884,6 +1891,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, @@ -1895,6 +1903,12 @@ require("./runtime"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { @@ -3701,6 +3715,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, @@ -3712,6 +3727,12 @@ require("./runtime"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { @@ -5518,6 +5539,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, @@ -5529,6 +5551,12 @@ require("./runtime"); bindLabelTap: _empty, bindRegionChange: _empty, bindPoiTap: _empty, + bindPolylineTap: _empty, + bindAbilitySuccess: _empty, + bindAbilityFailed: _empty, + bindAuthSuccess: _empty, + bindInterpolatePoint: _empty, + bindError: _empty, bindAnchorPointTap: _empty }, Button: { @@ -7335,6 +7363,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, @@ -7346,6 +7375,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 06ad36a07ff..87ca57b37ec 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 11d53a49910..c079084dbfe 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: { @@ -3423,6 +3430,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, @@ -3434,6 +3442,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 19e2b323f77..719196c8591 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 ba02b1f3142..0cafd55da6a 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: {