fmode-ng 0.0.209 → 0.0.211
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/esm2022/lib/aigc/voice/fmode-voice.service.mjs +1 -1
- package/esm2022/lib/core/agent/chat/completion/fmode-completion.mjs +1 -1
- package/esm2022/lib/core/index.mjs +1 -1
- package/esm2022/lib/core/social/index.mjs +10 -0
- package/esm2022/lib/core/social/wxwork/wxwork.corp.mjs +10 -0
- package/esm2022/lib/core/social/wxwork/wxwork.sdk.mjs +10 -0
- package/esm2022/lib/social/index.mjs +1 -1
- package/esm2022/lib/social/wxwork/wxwork-auth.guard.mjs +10 -0
- package/esm2022/lib/user/comp-mobile-bind/comp-mobile-bind.component.mjs +10 -0
- package/esm2022/lib/user/index.mjs +1 -1
- package/fesm2022/fmode-ng.mjs +1 -1
- package/fesm2022/fmode-ng.mjs.map +1 -1
- package/lib/core/agent/chat/completion/fmode-completion.d.ts +3 -1
- package/lib/core/index.d.ts +1 -0
- package/lib/core/social/index.d.ts +3 -0
- package/lib/core/social/wxwork/wxwork.corp.d.ts +310 -0
- package/lib/core/social/wxwork/wxwork.sdk.d.ts +91 -0
- package/lib/social/index.d.ts +1 -0
- package/lib/social/wxwork/wxwork-auth.guard.d.ts +2 -0
- package/lib/user/comp-mobile-bind/comp-mobile-bind.component.d.ts +31 -0
- package/lib/user/comp-user-avatar/comp-user-avatar.component.d.ts +1 -1
- package/lib/user/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -38,12 +38,14 @@ export declare class FmodeChatCompletion {
|
|
|
38
38
|
* @param retryCount 重试次数,默认为1次
|
|
39
39
|
* @returns 解析后的JSON对象
|
|
40
40
|
*/
|
|
41
|
-
export declare function completionJSON(prompt: string, jsonSchema: string, onMessage?: (content: string) => void, retryCount?: number, options?: any | {
|
|
41
|
+
export declare function completionJSON(prompt: string | any[], jsonSchema: string, onMessage?: (content: string) => void, retryCount?: number, options?: any | {
|
|
42
42
|
model: string;
|
|
43
43
|
thinking?: {
|
|
44
44
|
type: "enabled" | "disabled" | "auto";
|
|
45
45
|
};
|
|
46
46
|
max_tokens?: number;
|
|
47
|
+
vision?: boolean;
|
|
48
|
+
images?: string[];
|
|
47
49
|
}): Promise<any>;
|
|
48
50
|
/**
|
|
49
51
|
* 从字符串中提取JSON对象(增强版)
|
package/lib/core/index.d.ts
CHANGED
|
@@ -0,0 +1,310 @@
|
|
|
1
|
+
interface WxworkJoinGroupOptions {
|
|
2
|
+
scene: 1 | 2;
|
|
3
|
+
chat_id_list: string[];
|
|
4
|
+
remark?: string;
|
|
5
|
+
auto_create_room?: 1 | 0;
|
|
6
|
+
room_base_name?: string;
|
|
7
|
+
room_base_id?: string;
|
|
8
|
+
state?: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* 微信企业SDK 同步服务端API权限
|
|
12
|
+
*/
|
|
13
|
+
export declare class WxworkCorp {
|
|
14
|
+
config: any;
|
|
15
|
+
company: string;
|
|
16
|
+
constructor(company: string);
|
|
17
|
+
/**
|
|
18
|
+
* 客户端JSAPI Ticket获取
|
|
19
|
+
*/
|
|
20
|
+
ticket: {
|
|
21
|
+
get: (type?: string) => Promise<any>;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Service服务
|
|
25
|
+
*/
|
|
26
|
+
service: {
|
|
27
|
+
corpIdToOpenCorpId(corpid: string): Promise<any>;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* 授权验证
|
|
31
|
+
* @desc
|
|
32
|
+
* @see
|
|
33
|
+
* https://developer.work.weixin.qq.com/document/path/96442
|
|
34
|
+
* https://developer.work.weixin.qq.com/document/path/96443
|
|
35
|
+
*/
|
|
36
|
+
auth: {
|
|
37
|
+
getuserinfo: (code: any) => Promise<any>;
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* 成员管理
|
|
41
|
+
* @desc
|
|
42
|
+
* 企业的通讯录助手应用,代开发应用无法对授权企业通讯录进行变更
|
|
43
|
+
* 自建及代开发应用已进行升级,姓名、手机号、邮箱等敏感信息需要构造Oauth2链接授权获取
|
|
44
|
+
*/
|
|
45
|
+
user: {
|
|
46
|
+
getUserId: (mobile: any) => Promise<any>;
|
|
47
|
+
get: (id: any) => Promise<any>;
|
|
48
|
+
listId: (department_id: any, limit: any, cursor: any) => Promise<any>;
|
|
49
|
+
list: (opts: any) => Promise<any>;
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* 部门管理
|
|
53
|
+
* @desc
|
|
54
|
+
* 企业的通讯录助手应用,代开发应用无法对授权企业通讯录进行变更
|
|
55
|
+
*/
|
|
56
|
+
department: {
|
|
57
|
+
get: (id: any) => Promise<any>;
|
|
58
|
+
listId: (opts: any) => Promise<any>;
|
|
59
|
+
list: (opts: any) => Promise<any>;
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* 获取客户群列表
|
|
63
|
+
* @desc 该接口用于获取配置过客户群管理的客户群列表。
|
|
64
|
+
* https://developer.work.weixin.qq.com/document/path/96337
|
|
65
|
+
*/
|
|
66
|
+
externalContact: {
|
|
67
|
+
/**
|
|
68
|
+
* 获取外部客户详情
|
|
69
|
+
* @param userid
|
|
70
|
+
* @returns
|
|
71
|
+
* @see
|
|
72
|
+
* https://developer.work.weixin.qq.com/document/path/96315
|
|
73
|
+
*/
|
|
74
|
+
get: (userid: string) => Promise<any>;
|
|
75
|
+
/**
|
|
76
|
+
* @see
|
|
77
|
+
* 群变更回调
|
|
78
|
+
* https://developer.work.weixin.qq.com/document/path/96361#%E5%AE%A2%E6%88%B7%E7%BE%A4%E5%8F%98%E6%9B%B4%E4%BA%8B%E4%BB%B6
|
|
79
|
+
*/
|
|
80
|
+
groupChat: {
|
|
81
|
+
/**
|
|
82
|
+
* 进群方式
|
|
83
|
+
* @param options
|
|
84
|
+
* @see
|
|
85
|
+
* https://developer.work.weixin.qq.com/document/path/99547
|
|
86
|
+
* @returns
|
|
87
|
+
*/
|
|
88
|
+
addJoinWay: (options: WxworkJoinGroupOptions) => Promise<{
|
|
89
|
+
config_id: string;
|
|
90
|
+
}>;
|
|
91
|
+
getJoinWay: (config_id: string) => Promise<{
|
|
92
|
+
join_way: {
|
|
93
|
+
qr_code: string;
|
|
94
|
+
};
|
|
95
|
+
}>;
|
|
96
|
+
/**
|
|
97
|
+
* 获取群详情
|
|
98
|
+
* @param chatId
|
|
99
|
+
* @see
|
|
100
|
+
* https://developer.work.weixin.qq.com/document/path/96338
|
|
101
|
+
* @returns
|
|
102
|
+
*/
|
|
103
|
+
get: (chatId: string) => Promise<any>;
|
|
104
|
+
list: (opts: any) => Promise<any>;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
/**
|
|
108
|
+
* 应用推送消息到群聊会话
|
|
109
|
+
* @desc 应用支持推送文本、图片、视频、文件、图文等类型到群聊
|
|
110
|
+
* @see https://developer.work.weixin.qq.com/document/path/90248
|
|
111
|
+
*/
|
|
112
|
+
appchat: {
|
|
113
|
+
/**
|
|
114
|
+
* !!!!!!!!!!!!!!!!!!!!!!!!!
|
|
115
|
+
* 仅企业内容应用有权限,服务商代开发无权限,需要绑定一个企业内部应用
|
|
116
|
+
* !!!!!!!!!!!!!!!!!!!!!!!!!
|
|
117
|
+
* 迁移:使用-智能机器人-完成,而不是应用消息推送
|
|
118
|
+
* !!!!!!!!!!!!!!!!!!!!!!!!!
|
|
119
|
+
*
|
|
120
|
+
* 发送文本消息
|
|
121
|
+
* @param chatid 群聊id
|
|
122
|
+
* @param content 文本内容,最长不超过2048个字节
|
|
123
|
+
* @param safe 是否是保密消息,0表示否,1表示是,默认0
|
|
124
|
+
* @see https://developer.work.weixin.qq.com/document/path/90248#文本消息
|
|
125
|
+
*/
|
|
126
|
+
sendText: (chatid: string, content: string, safe?: number) => Promise<any>;
|
|
127
|
+
/**
|
|
128
|
+
* 发送图片消息
|
|
129
|
+
* @param chatid 群聊id
|
|
130
|
+
* @param media_id 图片媒体文件id
|
|
131
|
+
* @param safe 是否是保密消息
|
|
132
|
+
* @see https://developer.work.weixin.qq.com/document/path/90248#图片消息
|
|
133
|
+
*/
|
|
134
|
+
sendImage: (chatid: string, media_id: string, safe?: number) => Promise<any>;
|
|
135
|
+
/**
|
|
136
|
+
* 发送视频消息
|
|
137
|
+
* @param chatid 群聊id
|
|
138
|
+
* @param media_id 视频媒体文件id
|
|
139
|
+
* @param title 视频标题
|
|
140
|
+
* @param description 视频描述
|
|
141
|
+
* @param safe 是否是保密消息
|
|
142
|
+
* @see https://developer.work.weixin.qq.com/document/path/90248#视频消息
|
|
143
|
+
*/
|
|
144
|
+
sendVideo: (chatid: string, media_id: string, title?: string, description?: string, safe?: number) => Promise<any>;
|
|
145
|
+
/**
|
|
146
|
+
* 发送文件消息
|
|
147
|
+
* @param chatid 群聊id
|
|
148
|
+
* @param media_id 文件id
|
|
149
|
+
* @param safe 是否是保密消息
|
|
150
|
+
* @see https://developer.work.weixin.qq.com/document/path/90248#文件消息
|
|
151
|
+
*/
|
|
152
|
+
sendFile: (chatid: string, media_id: string, safe?: number) => Promise<any>;
|
|
153
|
+
/**
|
|
154
|
+
* 发送文本卡片消息
|
|
155
|
+
* @param chatid 群聊id
|
|
156
|
+
* @param title 标题,不超过128个字节
|
|
157
|
+
* @param description 描述,不超过512个字节,支持html标签
|
|
158
|
+
* @param url 点击后跳转的链接
|
|
159
|
+
* @param btntxt 按钮文字,默认为"详情"
|
|
160
|
+
* @param safe 是否是保密消息
|
|
161
|
+
* @see https://developer.work.weixin.qq.com/document/path/90248#文本卡片消息
|
|
162
|
+
*/
|
|
163
|
+
sendTextCard: (chatid: string, title: string, description: string, url: string, btntxt?: string, safe?: number) => Promise<any>;
|
|
164
|
+
/**
|
|
165
|
+
* 发送图文消息
|
|
166
|
+
* @param chatid 群聊id
|
|
167
|
+
* @param articles 图文消息数组,支持1到8条图文
|
|
168
|
+
* @param safe 是否是保密消息
|
|
169
|
+
* @see https://developer.work.weixin.qq.com/document/path/90248#图文消息
|
|
170
|
+
*/
|
|
171
|
+
sendNews: (chatid: string, articles: Array<{
|
|
172
|
+
title: string;
|
|
173
|
+
description?: string;
|
|
174
|
+
url: string;
|
|
175
|
+
picurl?: string;
|
|
176
|
+
}>, safe?: number) => Promise<any>;
|
|
177
|
+
/**
|
|
178
|
+
* 发送Markdown消息
|
|
179
|
+
* @param chatid 群聊id
|
|
180
|
+
* @param content markdown内容,最长不超过2048个字节
|
|
181
|
+
* @see https://developer.work.weixin.qq.com/document/path/90248#markdown消息
|
|
182
|
+
*/
|
|
183
|
+
sendMarkdown: (chatid: string, content: string) => Promise<any>;
|
|
184
|
+
/**
|
|
185
|
+
* 通用发送接口 - 支持自定义JSON消息体
|
|
186
|
+
* @param messageBody 完整的消息体JSON对象
|
|
187
|
+
* @see https://developer.work.weixin.qq.com/document/path/90248
|
|
188
|
+
*/
|
|
189
|
+
send: (messageBody: any) => Promise<any>;
|
|
190
|
+
};
|
|
191
|
+
/**
|
|
192
|
+
* 会议管理
|
|
193
|
+
* @desc 企业微信会议相关接口
|
|
194
|
+
* @see https://developer.work.weixin.qq.com/document/path/99104
|
|
195
|
+
*/
|
|
196
|
+
meeting: {
|
|
197
|
+
/**
|
|
198
|
+
* 创建预约会议
|
|
199
|
+
* @param options 创建会议参数
|
|
200
|
+
* @returns 返回会议ID和无效参会人列表
|
|
201
|
+
* @see https://developer.work.weixin.qq.com/document/path/99104
|
|
202
|
+
* @example
|
|
203
|
+
* const result = await wxworkCorp.meeting.create({
|
|
204
|
+
* admin_userid: "zhangsan",
|
|
205
|
+
* title: "新建会议",
|
|
206
|
+
* meeting_start: 1600000000,
|
|
207
|
+
* meeting_duration: 3600,
|
|
208
|
+
* description: "会议描述",
|
|
209
|
+
* location: "会议室",
|
|
210
|
+
* invitees: { userid: ["lisi", "wangwu"] }
|
|
211
|
+
* });
|
|
212
|
+
*/
|
|
213
|
+
create: (options: {
|
|
214
|
+
admin_userid: string;
|
|
215
|
+
title: string;
|
|
216
|
+
meeting_start: number;
|
|
217
|
+
meeting_duration: number;
|
|
218
|
+
description?: string;
|
|
219
|
+
location?: string;
|
|
220
|
+
agentid?: number;
|
|
221
|
+
invitees?: {
|
|
222
|
+
userid?: string[];
|
|
223
|
+
};
|
|
224
|
+
auto_record_type?: string;
|
|
225
|
+
attendee_join_auto_record?: boolean;
|
|
226
|
+
allow_external_user?: boolean;
|
|
227
|
+
settings?: {
|
|
228
|
+
remind_scope?: number;
|
|
229
|
+
password?: string;
|
|
230
|
+
enable_waiting_room?: boolean;
|
|
231
|
+
allow_enter_before_host?: boolean;
|
|
232
|
+
enable_enter_mute?: number;
|
|
233
|
+
enable_screen_watermark?: boolean;
|
|
234
|
+
hosts?: {
|
|
235
|
+
userid?: string[];
|
|
236
|
+
};
|
|
237
|
+
ring_users?: {
|
|
238
|
+
userid?: string[];
|
|
239
|
+
};
|
|
240
|
+
};
|
|
241
|
+
cal_id?: string;
|
|
242
|
+
reminders?: {
|
|
243
|
+
is_repeat?: number;
|
|
244
|
+
repeat_type?: number;
|
|
245
|
+
repeat_until?: number;
|
|
246
|
+
repeat_interval?: number;
|
|
247
|
+
remind_before?: number[];
|
|
248
|
+
};
|
|
249
|
+
}) => Promise<{
|
|
250
|
+
meetingid?: string;
|
|
251
|
+
excess_users?: string[];
|
|
252
|
+
}>;
|
|
253
|
+
/**
|
|
254
|
+
* 查询会议列表
|
|
255
|
+
* @param options 查询参数
|
|
256
|
+
* @returns 返回会议列表
|
|
257
|
+
* @see https://developer.work.weixin.qq.com/document/path/99105
|
|
258
|
+
* @example
|
|
259
|
+
* const result = await wxworkCorp.meeting.list({
|
|
260
|
+
* userid: "zhangsan",
|
|
261
|
+
* cursor: "",
|
|
262
|
+
* limit: 20,
|
|
263
|
+
* begin_time: 1600000000,
|
|
264
|
+
* end_time: 1600086400
|
|
265
|
+
* });
|
|
266
|
+
*/
|
|
267
|
+
list: (options?: {
|
|
268
|
+
userid?: string;
|
|
269
|
+
cursor?: string;
|
|
270
|
+
limit?: number;
|
|
271
|
+
begin_time?: number;
|
|
272
|
+
end_time?: number;
|
|
273
|
+
}) => Promise<{
|
|
274
|
+
meeting_list?: Array<{
|
|
275
|
+
meetingid: string;
|
|
276
|
+
title: string;
|
|
277
|
+
meeting_start: number;
|
|
278
|
+
meeting_duration: number;
|
|
279
|
+
status: number;
|
|
280
|
+
creator_userid: string;
|
|
281
|
+
hosts?: string[];
|
|
282
|
+
invitees?: string[];
|
|
283
|
+
}>;
|
|
284
|
+
next_cursor?: string;
|
|
285
|
+
}>;
|
|
286
|
+
/**
|
|
287
|
+
* 获取会议详情
|
|
288
|
+
* @param meetingid 会议ID
|
|
289
|
+
* @returns 返回会议详情
|
|
290
|
+
* @see https://developer.work.weixin.qq.com/document/path/99106
|
|
291
|
+
* @example
|
|
292
|
+
* const result = await wxworkCorp.meeting.get("XXXXXXXXX");
|
|
293
|
+
*/
|
|
294
|
+
get: (meetingid: string) => Promise<{
|
|
295
|
+
meetingid?: string;
|
|
296
|
+
title?: string;
|
|
297
|
+
meeting_start?: number;
|
|
298
|
+
meeting_duration?: number;
|
|
299
|
+
status?: number;
|
|
300
|
+
description?: string;
|
|
301
|
+
location?: string;
|
|
302
|
+
creator_userid?: string;
|
|
303
|
+
hosts?: string[];
|
|
304
|
+
invitees?: string[];
|
|
305
|
+
join_url?: string;
|
|
306
|
+
}>;
|
|
307
|
+
};
|
|
308
|
+
}
|
|
309
|
+
export declare function WwRequest(options: any): Promise<any>;
|
|
310
|
+
export {};
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import * as ww from '@wecom/jssdk';
|
|
2
|
+
import { FmodeObject } from "../../parse";
|
|
3
|
+
import { WxworkCorp } from './wxwork.corp';
|
|
4
|
+
export interface WxworkCurrentChat {
|
|
5
|
+
type: "chatId" | "userId";
|
|
6
|
+
id?: string;
|
|
7
|
+
contact?: any;
|
|
8
|
+
follow_user?: any;
|
|
9
|
+
group?: any;
|
|
10
|
+
}
|
|
11
|
+
export declare class WxworkSDK {
|
|
12
|
+
companyMap: any;
|
|
13
|
+
suiteMap: any;
|
|
14
|
+
cid: string;
|
|
15
|
+
appId: string;
|
|
16
|
+
corpId: string;
|
|
17
|
+
wecorp: WxworkCorp;
|
|
18
|
+
ww: typeof ww;
|
|
19
|
+
groupChat: {
|
|
20
|
+
createGroupChat: (options: {
|
|
21
|
+
groupName: string;
|
|
22
|
+
userIds?: string[];
|
|
23
|
+
externalUserIds?: string[];
|
|
24
|
+
openUserIds?: string[];
|
|
25
|
+
corpGroupUserIds?: any;
|
|
26
|
+
success?: any;
|
|
27
|
+
fail?: any;
|
|
28
|
+
}) => Promise<unknown>;
|
|
29
|
+
addUserInfoGroup: (options: {
|
|
30
|
+
chatId: string;
|
|
31
|
+
userIds?: string[];
|
|
32
|
+
externalUserIds?: string[];
|
|
33
|
+
openUserIds?: string[];
|
|
34
|
+
corpGroupUserIds?: any;
|
|
35
|
+
success?: any;
|
|
36
|
+
fail?: any;
|
|
37
|
+
}) => Promise<unknown>;
|
|
38
|
+
};
|
|
39
|
+
constructor(options?: {
|
|
40
|
+
cid: string;
|
|
41
|
+
appId: string;
|
|
42
|
+
corpId?: string;
|
|
43
|
+
});
|
|
44
|
+
syncGroupChat(groupInfo: any): Promise<FmodeObject>;
|
|
45
|
+
syncUserInfo(userInfo: any): Promise<FmodeObject>;
|
|
46
|
+
/**
|
|
47
|
+
* userinfo 设置当前授权信息
|
|
48
|
+
*/
|
|
49
|
+
getUserinfo(code?: string): Promise<any>;
|
|
50
|
+
getContactOrProfile(userInfo: any): Promise<FmodeObject>;
|
|
51
|
+
/**
|
|
52
|
+
* PC 登陆面板
|
|
53
|
+
* @desc https://developer.work.weixin.qq.com/document/path/98478
|
|
54
|
+
*/
|
|
55
|
+
loginPC(): Promise<string>;
|
|
56
|
+
/**
|
|
57
|
+
* oauth 跳转授权
|
|
58
|
+
*/
|
|
59
|
+
oauth(scope?: "snsapi_base" | "snsapi_privateinfo", renew?: boolean): Promise<string>;
|
|
60
|
+
getCorpByCid(cid: string): Promise<any>;
|
|
61
|
+
registerUrl: string;
|
|
62
|
+
/**
|
|
63
|
+
* 加载企业号ID及应用套件ID注册页面
|
|
64
|
+
* @param cid 公司帐套
|
|
65
|
+
* @param appId 应用ID
|
|
66
|
+
*/
|
|
67
|
+
registerCorpWithSuite(cid?: string, appId?: string, apiList?: string[]): Promise<unknown>;
|
|
68
|
+
/** 浏览器特征 */
|
|
69
|
+
ua: string;
|
|
70
|
+
getUA(): string;
|
|
71
|
+
platform(): "wxwork" | "wechat" | "h5";
|
|
72
|
+
/** 用户入口方式 */
|
|
73
|
+
entry: string;
|
|
74
|
+
entryError: string;
|
|
75
|
+
getContext(): Promise<{
|
|
76
|
+
entry: string;
|
|
77
|
+
}>;
|
|
78
|
+
/** 入口会话场景 */
|
|
79
|
+
currentChat: WxworkCurrentChat;
|
|
80
|
+
getCurrentChat(): Promise<WxworkCurrentChat>;
|
|
81
|
+
version(): string;
|
|
82
|
+
register(): void;
|
|
83
|
+
getConfigSignature(url: any): Promise<{
|
|
84
|
+
timestamp: string;
|
|
85
|
+
nonceStr: string;
|
|
86
|
+
signature: string;
|
|
87
|
+
}>;
|
|
88
|
+
config(): void;
|
|
89
|
+
selectEnterpriseContact(): Promise<void>;
|
|
90
|
+
}
|
|
91
|
+
export declare const jsApiList: string[];
|
package/lib/social/index.d.ts
CHANGED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { AfterViewInit } from '@angular/core';
|
|
2
|
+
import { ModalController, IonInput, AlertController } from '@ionic/angular/standalone';
|
|
3
|
+
import { NovaCloudService } from '../../nova-cloud/nova-cloud.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class CompMobileBindComponent implements AfterViewInit {
|
|
6
|
+
private modalCtrl;
|
|
7
|
+
private alertCtrl;
|
|
8
|
+
private ncloud;
|
|
9
|
+
mobileInput: IonInput;
|
|
10
|
+
codeInput: IonInput;
|
|
11
|
+
cid: string;
|
|
12
|
+
mobile: string;
|
|
13
|
+
mobileChange(ev: any): void;
|
|
14
|
+
code: string;
|
|
15
|
+
codeChange(ev: any): void;
|
|
16
|
+
isSended: boolean;
|
|
17
|
+
sendSmsCode(): Promise<void>;
|
|
18
|
+
countdown: number;
|
|
19
|
+
countInt: any;
|
|
20
|
+
startCountdown(): void;
|
|
21
|
+
presentAlert(msg: string): Promise<void>;
|
|
22
|
+
constructor(modalCtrl: ModalController, alertCtrl: AlertController, ncloud: NovaCloudService);
|
|
23
|
+
ngAfterViewInit(): void;
|
|
24
|
+
isVerifying: boolean;
|
|
25
|
+
verifyMobile(): Promise<void>;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CompMobileBindComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CompMobileBindComponent, "app-comp-mobile-bind", never, { "cid": { "alias": "cid"; "required": false; }; }, {}, never, never, true, never>;
|
|
28
|
+
}
|
|
29
|
+
export declare function openMobileBindModal(modalCtrl: ModalController, options: {
|
|
30
|
+
cid: string;
|
|
31
|
+
}): Promise<any>;
|
|
@@ -12,7 +12,7 @@ export declare class CompUserAvatarComponent implements OnInit {
|
|
|
12
12
|
ngOnInit(): void;
|
|
13
13
|
ngOnChanges(): void;
|
|
14
14
|
refresh(): Promise<void>;
|
|
15
|
-
getType(): "
|
|
15
|
+
getType(): "text" | "avatar" | "icon";
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<CompUserAvatarComponent, never>;
|
|
17
17
|
static ɵcmp: i0.ɵɵComponentDeclaration<CompUserAvatarComponent, "app-comp-user-avatar", never, { "user": { "alias": "user"; "required": false; }; }, {}, never, never, true, never>;
|
|
18
18
|
}
|
package/lib/user/index.d.ts
CHANGED
|
@@ -12,5 +12,6 @@ export * from "./modal-user-login/modal-user-login.component";
|
|
|
12
12
|
export * from "./login/auth.guard";
|
|
13
13
|
export * from "./login/auth.service";
|
|
14
14
|
export * from "./login/login.component";
|
|
15
|
+
export * from "./comp-mobile-bind/comp-mobile-bind.component";
|
|
15
16
|
export * from "./account/account.service";
|
|
16
17
|
export * from "./captcha/captcha.component";
|