diff --git a/packages/taro-components/types/Button.d.ts b/packages/taro-components/types/Button.d.ts index bbf5be5f2915..159149edb8f3 100644 --- a/packages/taro-components/types/Button.d.ts +++ b/packages/taro-components/types/Button.d.ts @@ -130,7 +130,7 @@ interface ButtonProps extends StandardProps { /** 群聊 id * @qq 打开群资料卡时,传递的群号 * @tt 通过创建聊天群、查询群信息获取 - * @supported qq, tt + * @supported qq */ groupId?: string /** 打开频道页面时,传递的频道号 @@ -167,15 +167,6 @@ interface ButtonProps extends StandardProps { * @supported qq */ shareMessageImg?: string - /** 跳转抖音号个人页,只支持小程序绑定的品牌号、员工号、合作号 - * @supported tt - */ - dataAwemeId?: string - /** - * 是否开启半屏模式 - * @supported tt - */ - dataIsHalfPage?: boolean /** 用户点击该按钮时,会返回获取到的用户信息,回调的detail数据与 Taro.getUserInfo 返回的一致 * * 生效时机: `open-type="getUserInfo"` @@ -200,11 +191,6 @@ interface ButtonProps extends StandardProps { * @supported weapp, alipay, swan, tt, jd */ onGetPhoneNumber?: CommonEventFunction - /** - * 手机号实时验证回调,`open-type="getRealtimePhoneNumber"` 时有效 - * @supported weapp - */ - onGetRealTimePhoneNumber?: CommonEventFunction /** 当使用开放能力时,发生错误的回调 * * 生效时机:`open-type="launchApp"` @@ -229,11 +215,6 @@ interface ButtonProps extends StandardProps { * @supported weapp */ onChooseAvatar?: CommonEventFunction - /** - * 用户同意隐私协议事件回调,`open-type="agreePrivacyAuthorization"`时有效 - * @supported weapp - */ - onAgreePrivacyAuthorization?: CommonEventFunction /** 点击。 * 说明: 每点击一次会触发一次事件,建议自行使用代码防止重复点击,可以使用 js 防抖和节流实现。 * @supported alipay @@ -272,17 +253,6 @@ interface ButtonProps extends StandardProps { * @supported qq */ onAddGroupApp?: CommonEventFunction - /** 监听跳转抖音号个人页的回调 - * - * 生效时机:`open-type="openAwemeUserProfile"` - * @supported tt - */ - onOpenAwemeUserProfile?: CommonEventFunction - /** - * 加群后触发 - * @supported tt - */ - onJoinGroup?: CommonEventFunction<{ errMsg: string; errNo: number }> } declare namespace ButtonProps { /** size 的合法值 */ diff --git a/packages/taro-components/types/Map.d.ts b/packages/taro-components/types/Map.d.ts index ff21beb21d7e..ca863b5ba5d3 100644 --- a/packages/taro-components/types/Map.d.ts +++ b/packages/taro-components/types/Map.d.ts @@ -218,30 +218,6 @@ 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 */ @@ -637,7 +613,6 @@ declare namespace MapProps { longitude: number latitude: number } - interface onPolylineTapEventDetail { polylineId: number longitude: number @@ -648,7 +623,6 @@ declare namespace MapProps { errCode: number errMsg: string } - interface onInterpolatePointEventDetail { markerId: number longitude: number diff --git a/packages/taro-components/types/PageMeta.d.ts b/packages/taro-components/types/PageMeta.d.ts index 7f5fda6cb086..017badd09e76 100644 --- a/packages/taro-components/types/PageMeta.d.ts +++ b/packages/taro-components/types/PageMeta.d.ts @@ -115,7 +115,7 @@ declare namespace PageMetaProps { *