@bifrostui/types 1.0.2 → 1.0.3
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.
- package/package.json +3 -2
- package/src/index.miniapp.ts +173 -0
- package/src/index.ts +43 -40
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bifrostui/types",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Utility types for BUI",
|
|
5
5
|
"typings": "src/index.ts",
|
|
6
6
|
"files": [
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
],
|
|
11
11
|
"homepage": "http://bui.taopiaopiao.com",
|
|
12
12
|
"peerDependencies": {
|
|
13
|
+
"@tarojs/components": "^3.3.16",
|
|
13
14
|
"@types/react": "^17.0.0 || ^18.0.0",
|
|
14
15
|
"react": "^17.0.0 || ^18.0.0"
|
|
15
16
|
},
|
|
@@ -18,5 +19,5 @@
|
|
|
18
19
|
"access": "public",
|
|
19
20
|
"registry": "https://registry.npmjs.org/"
|
|
20
21
|
},
|
|
21
|
-
"gitHead": "
|
|
22
|
+
"gitHead": "ac575feba120c05528deaac3da4a255c81e2aae1"
|
|
22
23
|
}
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { ITouchEvent } from '@tarojs/components';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Remove properties `K` from `T`.
|
|
7
|
+
* Distributive for union types.
|
|
8
|
+
*/
|
|
9
|
+
export type DistributiveOmit<T, K extends keyof any> = T extends any
|
|
10
|
+
? Omit<T, K>
|
|
11
|
+
: never;
|
|
12
|
+
|
|
13
|
+
export interface ICommonProps {
|
|
14
|
+
className?: string;
|
|
15
|
+
style?: React.CSSProperties;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface IOverridableTypeMap {
|
|
19
|
+
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
20
|
+
props: {};
|
|
21
|
+
defaultComponent: React.ElementType;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export type BaseProps<M extends IOverridableTypeMap> = M['props'] &
|
|
25
|
+
ICommonProps;
|
|
26
|
+
|
|
27
|
+
export type OverrideProps<
|
|
28
|
+
M extends IOverridableTypeMap,
|
|
29
|
+
C extends React.ElementType,
|
|
30
|
+
> = BaseProps<M> &
|
|
31
|
+
DistributiveOmit<React.ComponentPropsWithRef<C>, keyof BaseProps<M>>;
|
|
32
|
+
|
|
33
|
+
export type StandardProps<
|
|
34
|
+
C,
|
|
35
|
+
Removals extends keyof C = never,
|
|
36
|
+
> = DistributiveOmit<C, Removals> & {
|
|
37
|
+
ref?: C extends { ref?: infer RefType } ? RefType : React.Ref<unknown>;
|
|
38
|
+
className?: string;
|
|
39
|
+
style?: React.CSSProperties;
|
|
40
|
+
};
|
|
41
|
+
export type IClickEvent = ITouchEvent | React.MouseEvent<HTMLElement>;
|
|
42
|
+
|
|
43
|
+
/** Button元素小程序专属的 open-type 的合法值 */
|
|
44
|
+
interface ButtonOpenTypeKeys {
|
|
45
|
+
weapp: {
|
|
46
|
+
/** 打开客服会话,如果用户在会话中点击消息卡片后返回小程序,可以从回调中获得具体信息
|
|
47
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/customer-message/customer-message.html
|
|
48
|
+
*/
|
|
49
|
+
contact: any;
|
|
50
|
+
/** 触发用户转发,使用前建议先阅读使用指引
|
|
51
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/share.html#%E4%BD%BF%E7%94%A8%E6%8C%87%E5%BC%95
|
|
52
|
+
*/
|
|
53
|
+
share: any;
|
|
54
|
+
/** 获取用户手机号,可以从回调中获取到用户信息
|
|
55
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/getPhoneNumber.html
|
|
56
|
+
*/
|
|
57
|
+
getPhoneNumber: any;
|
|
58
|
+
/**
|
|
59
|
+
* 手机号实时验证,向用户申请,并在用户同意后,快速填写和实时验证手机号。(*小程序插件中不能使用*)
|
|
60
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/getRealtimePhoneNumber.html
|
|
61
|
+
*/
|
|
62
|
+
getRealtimePhoneNumber: any;
|
|
63
|
+
/** 获取用户信息,可以从回调中获取到用户信息 */
|
|
64
|
+
getUserInfo: any;
|
|
65
|
+
/** 打开APP,可以通过 app-parameter 属性设定向APP传的参数
|
|
66
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/launchApp.html
|
|
67
|
+
*/
|
|
68
|
+
launchApp: any;
|
|
69
|
+
/** 打开授权设置页 */
|
|
70
|
+
openSetting: any;
|
|
71
|
+
/** 打开“意见反馈”页面,用户可提交反馈内容并上传日志,开发者可以登录小程序管理后台后进入左侧菜单“客服反馈”页面获取到反馈内容 */
|
|
72
|
+
feedback: any;
|
|
73
|
+
/** 获取用户头像,可以从回调中获得具体信息 */
|
|
74
|
+
chooseAvatar: any;
|
|
75
|
+
/**
|
|
76
|
+
* 用户同意隐私协议按钮。可通过 bindagreeprivacyauthorization 监听用户同意隐私协议事件
|
|
77
|
+
*/
|
|
78
|
+
agreePrivacyAuthorization: any;
|
|
79
|
+
/**
|
|
80
|
+
* 从基础库 2.32.3 版本起,隐私同意按钮支持与手机号快速验证组件耦合使用,调用方式为:
|
|
81
|
+
* <button open-type="getPhoneNumber|agreePrivacyAuthorization">
|
|
82
|
+
*/
|
|
83
|
+
['getPhoneNumber|agreePrivacyAuthorization']: any;
|
|
84
|
+
/**
|
|
85
|
+
* 从基础库 2.32.3 版本起,支持隐私同意按钮与手机号实时验证组件耦合使用,调用方式为:
|
|
86
|
+
* <button open-type="getRealtimePhoneNumber|agreePrivacyAuthorization">
|
|
87
|
+
*/
|
|
88
|
+
['getRealtimePhoneNumber|agreePrivacyAuthorization']: any;
|
|
89
|
+
/**
|
|
90
|
+
* 从基础库 2.32.3 版本起,支持隐私同意按钮与获取用户信息组件耦合使用,调用方式为:
|
|
91
|
+
* <button open-type="getUserInfo|agreePrivacyAuthorization">
|
|
92
|
+
*/
|
|
93
|
+
['getUserInfo|agreePrivacyAuthorization']: any;
|
|
94
|
+
};
|
|
95
|
+
/** 支付宝小程序专属的 open-type 合法值
|
|
96
|
+
* @see https://opendocs.alipay.com/mini/component/button
|
|
97
|
+
*/
|
|
98
|
+
alipay: {
|
|
99
|
+
/** 触发 自定义分享 */
|
|
100
|
+
share: any;
|
|
101
|
+
/** 支持小程序授权 */
|
|
102
|
+
getAuthorize: any;
|
|
103
|
+
/** 分享到通讯录好友 */
|
|
104
|
+
contactShare: any;
|
|
105
|
+
/** 关注生活号 */
|
|
106
|
+
lifestyle: any;
|
|
107
|
+
};
|
|
108
|
+
/** QQ 小程序专属的 open-type 合法值
|
|
109
|
+
* @see https://q.qq.com/wiki/develop/miniprogram/component/form/button.html
|
|
110
|
+
*/
|
|
111
|
+
qq: {
|
|
112
|
+
/** 触发用户转发,使用前建议先阅读使用指引
|
|
113
|
+
* @see https://q.qq.com/wiki/develop/miniprogram/frame/open_ability/open_share.html#%E8%BD%AC%E5%8F%91-2
|
|
114
|
+
*/
|
|
115
|
+
share: any;
|
|
116
|
+
/** 获取用户信息,可以从 onGetUserInfo 回调中获取到用户信息 */
|
|
117
|
+
getUserInfo: any;
|
|
118
|
+
/** 打开APP,可以通过 app-parameter 属性设定向APP传的参数
|
|
119
|
+
* @see https://q.qq.com/wiki/develop/miniprogram/frame/open_ability/open_app.html
|
|
120
|
+
*/
|
|
121
|
+
launchApp: any;
|
|
122
|
+
/** 打开授权设置页 */
|
|
123
|
+
openSetting: any;
|
|
124
|
+
/** 呼起吐个槽反馈页面,开发者可以到官网查看反馈 */
|
|
125
|
+
feedback: any;
|
|
126
|
+
/** 呼起群资料卡页面,可以通过 group-id 属性设定需要打开的群资料卡的群号,同时 app.json 中必须配置 groupIdList(数量不超过 10 个),表明可以打开群资料卡的群号 */
|
|
127
|
+
openGroupProfile: any;
|
|
128
|
+
/** 添加好友,对方需要通过该小程序进行授权,允许被加好友后才能调用成功[用户授权](https://q.qq.com/wiki/develop/miniprogram/frame/open_ability/open_userinfo.html#%E6%8E%88%E6%9D%83) */
|
|
129
|
+
addFriend: any;
|
|
130
|
+
/** 添加彩签,点击后添加状态有用户提示,无回调 */
|
|
131
|
+
addColorSign: any;
|
|
132
|
+
/** 打开公众号资料卡,可以通过 public-id 属性设定需要打开的公众号资料卡的号码,同时 app.json 中必须配置 publicIdList(目前只能配置 1 个),表明可以打开的公众号资料卡的号码 */
|
|
133
|
+
openPublicProfile: any;
|
|
134
|
+
/** 添加群应用(只有管理员或群主有权操作,建议先调用 qq.getGroupInfo 获取当前用户是否为管理员,如果是管理员才显示该按钮),添加后给button绑定 onAddGroupApp 事件接收回调数据。 */
|
|
135
|
+
addGroupApp: any;
|
|
136
|
+
/** 在自定义开放数据域组件中,向指定好友发起分享据 */
|
|
137
|
+
shareMessageToFriend: any;
|
|
138
|
+
};
|
|
139
|
+
/** TT 小程序专属的 open-type 合法值
|
|
140
|
+
* @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/list/button/#open-type-%E7%9A%84%E5%90%88%E6%B3%95%E5%80%BC
|
|
141
|
+
*/
|
|
142
|
+
tt: {
|
|
143
|
+
/** 触发用户转发, 可以配合 data-channel 属性来设置分享的 channel,具体请参考 ShareParam */
|
|
144
|
+
share: any;
|
|
145
|
+
/** 获取用户手机号,可以从 bindgetphonenumber 回调中获取到用户信息,详情请参见获取手机号 */
|
|
146
|
+
getPhoneNumber: any;
|
|
147
|
+
/** 跳转到抖音IM客服,详情请参见抖音IM客服能力 */
|
|
148
|
+
im: any;
|
|
149
|
+
/** 跳转到抖音平台客服,详情请参见平台客服能力 */
|
|
150
|
+
platformIm: any;
|
|
151
|
+
/** 跳转视频播放页,详情请参见跳转视频播放页 */
|
|
152
|
+
navigateToVideoView: any;
|
|
153
|
+
/** 跳转抖音号个人页,详情请参见跳转抖音号个人页 */
|
|
154
|
+
openAwemeUserProfile: any;
|
|
155
|
+
/** 跳转抖音直播间,详情请参见跳转抖音直播间 */
|
|
156
|
+
openWebcastRoom: any;
|
|
157
|
+
/** 写入系统日历,详情请参见写入系统日历 */
|
|
158
|
+
addCalendarEvent: any;
|
|
159
|
+
/** 添加到桌面,详情请参见添加到桌面 */
|
|
160
|
+
addShortcut: any;
|
|
161
|
+
/** 加群,详情请参见加群 */
|
|
162
|
+
joinGroup: any;
|
|
163
|
+
/** 私信,详情请参见私信 */
|
|
164
|
+
privateMessage: any;
|
|
165
|
+
/** 主动授权私信,详情请参见主动授权私信 */
|
|
166
|
+
authorizePrivateMessage: any;
|
|
167
|
+
};
|
|
168
|
+
}
|
|
169
|
+
export type ButtonOpenType =
|
|
170
|
+
| keyof ButtonOpenTypeKeys['weapp']
|
|
171
|
+
| keyof ButtonOpenTypeKeys['alipay']
|
|
172
|
+
| keyof ButtonOpenTypeKeys['qq']
|
|
173
|
+
| keyof ButtonOpenTypeKeys['tt'];
|
package/src/index.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
1
2
|
import React from 'react';
|
|
2
3
|
|
|
3
4
|
declare module 'react' {
|
|
@@ -44,70 +45,72 @@ export type StandardProps<
|
|
|
44
45
|
|
|
45
46
|
export type ThemeColor = 'primary' | 'info' | 'success' | 'warning' | 'danger';
|
|
46
47
|
|
|
48
|
+
export type IClickEvent = React.MouseEvent<HTMLElement>;
|
|
49
|
+
|
|
47
50
|
/** Button元素小程序专属的 open-type 的合法值 */
|
|
48
51
|
interface ButtonOpenTypeKeys {
|
|
49
52
|
weapp: {
|
|
50
53
|
/** 打开客服会话,如果用户在会话中点击消息卡片后返回小程序,可以从回调中获得具体信息
|
|
51
54
|
* @see https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/customer-message/customer-message.html
|
|
52
55
|
*/
|
|
53
|
-
contact;
|
|
56
|
+
contact: any;
|
|
54
57
|
/** 触发用户转发,使用前建议先阅读使用指引
|
|
55
58
|
* @see https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/share.html#%E4%BD%BF%E7%94%A8%E6%8C%87%E5%BC%95
|
|
56
59
|
*/
|
|
57
|
-
share;
|
|
60
|
+
share: any;
|
|
58
61
|
/** 获取用户手机号,可以从回调中获取到用户信息
|
|
59
62
|
* @see https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/getPhoneNumber.html
|
|
60
63
|
*/
|
|
61
|
-
getPhoneNumber;
|
|
64
|
+
getPhoneNumber: any;
|
|
62
65
|
/**
|
|
63
66
|
* 手机号实时验证,向用户申请,并在用户同意后,快速填写和实时验证手机号。(*小程序插件中不能使用*)
|
|
64
67
|
* @see https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/getRealtimePhoneNumber.html
|
|
65
68
|
*/
|
|
66
|
-
getRealtimePhoneNumber;
|
|
69
|
+
getRealtimePhoneNumber: any;
|
|
67
70
|
/** 获取用户信息,可以从回调中获取到用户信息 */
|
|
68
|
-
getUserInfo;
|
|
71
|
+
getUserInfo: any;
|
|
69
72
|
/** 打开APP,可以通过 app-parameter 属性设定向APP传的参数
|
|
70
73
|
* @see https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/launchApp.html
|
|
71
74
|
*/
|
|
72
|
-
launchApp;
|
|
75
|
+
launchApp: any;
|
|
73
76
|
/** 打开授权设置页 */
|
|
74
|
-
openSetting;
|
|
77
|
+
openSetting: any;
|
|
75
78
|
/** 打开“意见反馈”页面,用户可提交反馈内容并上传日志,开发者可以登录小程序管理后台后进入左侧菜单“客服反馈”页面获取到反馈内容 */
|
|
76
|
-
feedback;
|
|
79
|
+
feedback: any;
|
|
77
80
|
/** 获取用户头像,可以从回调中获得具体信息 */
|
|
78
|
-
chooseAvatar;
|
|
81
|
+
chooseAvatar: any;
|
|
79
82
|
/**
|
|
80
83
|
* 用户同意隐私协议按钮。可通过 bindagreeprivacyauthorization 监听用户同意隐私协议事件
|
|
81
84
|
*/
|
|
82
|
-
agreePrivacyAuthorization;
|
|
85
|
+
agreePrivacyAuthorization: any;
|
|
83
86
|
/**
|
|
84
87
|
* 从基础库 2.32.3 版本起,隐私同意按钮支持与手机号快速验证组件耦合使用,调用方式为:
|
|
85
88
|
* <button open-type="getPhoneNumber|agreePrivacyAuthorization">
|
|
86
89
|
*/
|
|
87
|
-
['getPhoneNumber|agreePrivacyAuthorization'];
|
|
90
|
+
['getPhoneNumber|agreePrivacyAuthorization']: any;
|
|
88
91
|
/**
|
|
89
92
|
* 从基础库 2.32.3 版本起,支持隐私同意按钮与手机号实时验证组件耦合使用,调用方式为:
|
|
90
93
|
* <button open-type="getRealtimePhoneNumber|agreePrivacyAuthorization">
|
|
91
94
|
*/
|
|
92
|
-
['getRealtimePhoneNumber|agreePrivacyAuthorization'];
|
|
95
|
+
['getRealtimePhoneNumber|agreePrivacyAuthorization']: any;
|
|
93
96
|
/**
|
|
94
97
|
* 从基础库 2.32.3 版本起,支持隐私同意按钮与获取用户信息组件耦合使用,调用方式为:
|
|
95
98
|
* <button open-type="getUserInfo|agreePrivacyAuthorization">
|
|
96
99
|
*/
|
|
97
|
-
['getUserInfo|agreePrivacyAuthorization'];
|
|
100
|
+
['getUserInfo|agreePrivacyAuthorization']: any;
|
|
98
101
|
};
|
|
99
102
|
/** 支付宝小程序专属的 open-type 合法值
|
|
100
103
|
* @see https://opendocs.alipay.com/mini/component/button
|
|
101
104
|
*/
|
|
102
105
|
alipay: {
|
|
103
106
|
/** 触发 自定义分享 */
|
|
104
|
-
share;
|
|
107
|
+
share: any;
|
|
105
108
|
/** 支持小程序授权 */
|
|
106
|
-
getAuthorize;
|
|
109
|
+
getAuthorize: any;
|
|
107
110
|
/** 分享到通讯录好友 */
|
|
108
|
-
contactShare;
|
|
111
|
+
contactShare: any;
|
|
109
112
|
/** 关注生活号 */
|
|
110
|
-
lifestyle;
|
|
113
|
+
lifestyle: any;
|
|
111
114
|
};
|
|
112
115
|
/** QQ 小程序专属的 open-type 合法值
|
|
113
116
|
* @see https://q.qq.com/wiki/develop/miniprogram/component/form/button.html
|
|
@@ -116,58 +119,58 @@ interface ButtonOpenTypeKeys {
|
|
|
116
119
|
/** 触发用户转发,使用前建议先阅读使用指引
|
|
117
120
|
* @see https://q.qq.com/wiki/develop/miniprogram/frame/open_ability/open_share.html#%E8%BD%AC%E5%8F%91-2
|
|
118
121
|
*/
|
|
119
|
-
share;
|
|
122
|
+
share: any;
|
|
120
123
|
/** 获取用户信息,可以从 onGetUserInfo 回调中获取到用户信息 */
|
|
121
|
-
getUserInfo;
|
|
124
|
+
getUserInfo: any;
|
|
122
125
|
/** 打开APP,可以通过 app-parameter 属性设定向APP传的参数
|
|
123
126
|
* @see https://q.qq.com/wiki/develop/miniprogram/frame/open_ability/open_app.html
|
|
124
127
|
*/
|
|
125
|
-
launchApp;
|
|
128
|
+
launchApp: any;
|
|
126
129
|
/** 打开授权设置页 */
|
|
127
|
-
openSetting;
|
|
130
|
+
openSetting: any;
|
|
128
131
|
/** 呼起吐个槽反馈页面,开发者可以到官网查看反馈 */
|
|
129
|
-
feedback;
|
|
132
|
+
feedback: any;
|
|
130
133
|
/** 呼起群资料卡页面,可以通过 group-id 属性设定需要打开的群资料卡的群号,同时 app.json 中必须配置 groupIdList(数量不超过 10 个),表明可以打开群资料卡的群号 */
|
|
131
|
-
openGroupProfile;
|
|
134
|
+
openGroupProfile: any;
|
|
132
135
|
/** 添加好友,对方需要通过该小程序进行授权,允许被加好友后才能调用成功[用户授权](https://q.qq.com/wiki/develop/miniprogram/frame/open_ability/open_userinfo.html#%E6%8E%88%E6%9D%83) */
|
|
133
|
-
addFriend;
|
|
136
|
+
addFriend: any;
|
|
134
137
|
/** 添加彩签,点击后添加状态有用户提示,无回调 */
|
|
135
|
-
addColorSign;
|
|
138
|
+
addColorSign: any;
|
|
136
139
|
/** 打开公众号资料卡,可以通过 public-id 属性设定需要打开的公众号资料卡的号码,同时 app.json 中必须配置 publicIdList(目前只能配置 1 个),表明可以打开的公众号资料卡的号码 */
|
|
137
|
-
openPublicProfile;
|
|
140
|
+
openPublicProfile: any;
|
|
138
141
|
/** 添加群应用(只有管理员或群主有权操作,建议先调用 qq.getGroupInfo 获取当前用户是否为管理员,如果是管理员才显示该按钮),添加后给button绑定 onAddGroupApp 事件接收回调数据。 */
|
|
139
|
-
addGroupApp;
|
|
142
|
+
addGroupApp: any;
|
|
140
143
|
/** 在自定义开放数据域组件中,向指定好友发起分享据 */
|
|
141
|
-
shareMessageToFriend;
|
|
144
|
+
shareMessageToFriend: any;
|
|
142
145
|
};
|
|
143
146
|
/** TT 小程序专属的 open-type 合法值
|
|
144
147
|
* @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/list/button/#open-type-%E7%9A%84%E5%90%88%E6%B3%95%E5%80%BC
|
|
145
148
|
*/
|
|
146
149
|
tt: {
|
|
147
150
|
/** 触发用户转发, 可以配合 data-channel 属性来设置分享的 channel,具体请参考 ShareParam */
|
|
148
|
-
share;
|
|
151
|
+
share: any;
|
|
149
152
|
/** 获取用户手机号,可以从 bindgetphonenumber 回调中获取到用户信息,详情请参见获取手机号 */
|
|
150
|
-
getPhoneNumber;
|
|
153
|
+
getPhoneNumber: any;
|
|
151
154
|
/** 跳转到抖音IM客服,详情请参见抖音IM客服能力 */
|
|
152
|
-
im;
|
|
155
|
+
im: any;
|
|
153
156
|
/** 跳转到抖音平台客服,详情请参见平台客服能力 */
|
|
154
|
-
platformIm;
|
|
157
|
+
platformIm: any;
|
|
155
158
|
/** 跳转视频播放页,详情请参见跳转视频播放页 */
|
|
156
|
-
navigateToVideoView;
|
|
159
|
+
navigateToVideoView: any;
|
|
157
160
|
/** 跳转抖音号个人页,详情请参见跳转抖音号个人页 */
|
|
158
|
-
openAwemeUserProfile;
|
|
161
|
+
openAwemeUserProfile: any;
|
|
159
162
|
/** 跳转抖音直播间,详情请参见跳转抖音直播间 */
|
|
160
|
-
openWebcastRoom;
|
|
163
|
+
openWebcastRoom: any;
|
|
161
164
|
/** 写入系统日历,详情请参见写入系统日历 */
|
|
162
|
-
addCalendarEvent;
|
|
165
|
+
addCalendarEvent: any;
|
|
163
166
|
/** 添加到桌面,详情请参见添加到桌面 */
|
|
164
|
-
addShortcut;
|
|
167
|
+
addShortcut: any;
|
|
165
168
|
/** 加群,详情请参见加群 */
|
|
166
|
-
joinGroup;
|
|
169
|
+
joinGroup: any;
|
|
167
170
|
/** 私信,详情请参见私信 */
|
|
168
|
-
privateMessage;
|
|
171
|
+
privateMessage: any;
|
|
169
172
|
/** 主动授权私信,详情请参见主动授权私信 */
|
|
170
|
-
authorizePrivateMessage;
|
|
173
|
+
authorizePrivateMessage: any;
|
|
171
174
|
};
|
|
172
175
|
}
|
|
173
176
|
export type ButtonOpenType =
|