fmode-ng 0.0.26 → 0.0.28

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.
Files changed (57) hide show
  1. package/esm2022/lib/aigc/avatar/comp-avatar-role-image/comp-avatar-role-image.component.mjs +1 -1
  2. package/esm2022/lib/aigc/avatar/comp-avatar-role-video/comp-avatar-role-video.component.mjs +10 -0
  3. package/esm2022/lib/aigc/avatar/comp-avatar-talk/comp-avatar-talk.component.mjs +1 -1
  4. package/esm2022/lib/aigc/avatar/index.mjs +1 -1
  5. package/esm2022/lib/aigc/chat/chat-header-area/comp-header-area.component.mjs +10 -0
  6. package/esm2022/lib/aigc/chat/chat-header-area/index.mjs +10 -0
  7. package/esm2022/lib/aigc/chat/chat-list/chat-list.component.mjs +10 -0
  8. package/esm2022/lib/aigc/chat/chat-list/index.mjs +10 -0
  9. package/esm2022/lib/aigc/chat/chat-message-area/comp-message-area.component.mjs +10 -0
  10. package/esm2022/lib/aigc/chat/chat-message-area/index.mjs +10 -0
  11. package/esm2022/lib/aigc/chat/chat-message-card/comp-message-card.component.mjs +10 -0
  12. package/esm2022/lib/aigc/chat/chat-message-card/index.mjs +10 -0
  13. package/esm2022/lib/aigc/chat/chat-modal-input/index.mjs +10 -0
  14. package/esm2022/lib/aigc/chat/chat-modal-input/modal-audio-message/modal-audio-message.component.mjs +10 -0
  15. package/esm2022/lib/aigc/chat/chat-modal-input/modal-input.component.mjs +10 -0
  16. package/esm2022/lib/aigc/chat/comp-role-prompt/comp-role-prompt.component.mjs +10 -0
  17. package/esm2022/lib/aigc/chat/comp-role-prompt/index.mjs +10 -0
  18. package/esm2022/lib/aigc/chat/index.mjs +10 -0
  19. package/esm2022/lib/aigc/index.mjs +1 -1
  20. package/esm2022/lib/aigc/service-fmai/service-chat/chat-class.mjs +1 -1
  21. package/esm2022/lib/aigc/voice/fmode-voice.service.mjs +1 -1
  22. package/esm2022/lib/map/comp-poi-picker/comp-poi-picker.component.mjs +1 -1
  23. package/esm2022/lib/map/page-plan-route/page-plan-route.component.mjs +1 -1
  24. package/esm2022/lib/storage/comp-hwobs-manager/hwobs-manager.component.mjs +1 -1
  25. package/esm2022/lib/user/account.service.mjs +10 -0
  26. package/esm2022/lib/user/auth.service.mjs +10 -0
  27. package/esm2022/lib/user/comp-user-avatar/comp-user-avatar.component.mjs +10 -0
  28. package/esm2022/lib/user/index.mjs +10 -0
  29. package/esm2022/public-api.mjs +1 -1
  30. package/fesm2022/fmode-ng.mjs +1 -1
  31. package/fesm2022/fmode-ng.mjs.map +1 -1
  32. package/lib/aigc/avatar/comp-avatar-role-image/comp-avatar-role-image.component.d.ts +1 -0
  33. package/lib/aigc/avatar/comp-avatar-role-video/comp-avatar-role-video.component.d.ts +23 -0
  34. package/lib/aigc/avatar/index.d.ts +1 -0
  35. package/lib/aigc/chat/chat-header-area/comp-header-area.component.d.ts +12 -0
  36. package/lib/aigc/chat/chat-header-area/index.d.ts +1 -0
  37. package/lib/aigc/chat/chat-list/chat-list.component.d.ts +33 -0
  38. package/lib/aigc/chat/chat-list/index.d.ts +1 -0
  39. package/lib/aigc/chat/chat-message-area/comp-message-area.component.d.ts +14 -0
  40. package/lib/aigc/chat/chat-message-area/index.d.ts +1 -0
  41. package/lib/aigc/chat/chat-message-card/comp-message-card.component.d.ts +15 -0
  42. package/lib/aigc/chat/chat-message-card/index.d.ts +1 -0
  43. package/lib/aigc/chat/chat-modal-input/index.d.ts +1 -0
  44. package/lib/aigc/chat/chat-modal-input/modal-audio-message/modal-audio-message.component.d.ts +46 -0
  45. package/lib/aigc/chat/chat-modal-input/modal-input.component.d.ts +45 -0
  46. package/lib/aigc/chat/comp-role-prompt/comp-role-prompt.component.d.ts +21 -0
  47. package/lib/aigc/chat/comp-role-prompt/index.d.ts +1 -0
  48. package/lib/aigc/chat/index.d.ts +6 -0
  49. package/lib/aigc/index.d.ts +1 -0
  50. package/lib/aigc/service-fmai/service-chat/chat-class.d.ts +18 -1
  51. package/lib/aigc/voice/fmode-voice.service.d.ts +3 -1
  52. package/lib/user/account.service.d.ts +27 -0
  53. package/lib/user/auth.service.d.ts +63 -0
  54. package/lib/user/comp-user-avatar/comp-user-avatar.component.d.ts +18 -0
  55. package/lib/user/index.d.ts +3 -0
  56. package/package.json +1 -1
  57. package/public-api.d.ts +1 -0
@@ -14,6 +14,7 @@ export declare class CompAvatarRoleImageComponent implements FmodeAvatarRoleComp
14
14
  playWave(): void;
15
15
  stopWave(): void;
16
16
  ngAfterViewInit(): void;
17
+ imageMap: any;
17
18
  ngOnInit(): void;
18
19
  playAnimation(): (name: string) => void;
19
20
  static ɵfac: i0.ɵɵFactoryDeclaration<CompAvatarRoleImageComponent, never>;
@@ -0,0 +1,23 @@
1
+ import { AfterViewInit, OnInit, ElementRef } from '@angular/core';
2
+ import { FmodeAvatarRoleComp } from '../interface-avatar-role';
3
+ import 'recorder-core/src/extensions/waveview';
4
+ import Parse from "parse";
5
+ import { FmodeChat } from '../../service-fmai/service-chat/chat-class';
6
+ import * as i0 from "@angular/core";
7
+ export declare class CompAvatarRoleVideoComponent implements FmodeAvatarRoleComp, AfterViewInit, OnInit {
8
+ avatarVideo: ElementRef<HTMLVideoElement>;
9
+ animClass: string;
10
+ fmodeChat: FmodeChat;
11
+ role: Parse.Object;
12
+ wave: any;
13
+ waveInterval: any;
14
+ playWave(): void;
15
+ stopWave(): void;
16
+ ngAfterViewInit(): void;
17
+ videoMap: any;
18
+ ngOnInit(): void;
19
+ playAnimation(): (name: string) => void;
20
+ playVideo(src: string): void;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<CompAvatarRoleVideoComponent, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<CompAvatarRoleVideoComponent, "fm-avatar-role-video", never, { "fmodeChat": { "alias": "fmodeChat"; "required": false; }; "role": { "alias": "role"; "required": false; }; }, {}, never, never, true, never>;
23
+ }
@@ -2,5 +2,6 @@ export * from "./avatar.module";
2
2
  export * from "./interface-avatar-role";
3
3
  export * from "./comp-avatar-particle";
4
4
  export * from "./comp-avatar-role-image/comp-avatar-role-image.component";
5
+ export * from "./comp-avatar-role-video/comp-avatar-role-video.component";
5
6
  export * from "./comp-avatar-talk/comp-avatar-talk.component";
6
7
  export * from "./modal-chat-voice-input/modal-chat-voice-input.component";
@@ -0,0 +1,12 @@
1
+ import { NavController } from '@ionic/angular/standalone';
2
+ import { FmodeChat } from '../../service-fmai/service-chat';
3
+ import * as i0 from "@angular/core";
4
+ export declare class FmChatHeaderArea {
5
+ private navCtrl;
6
+ chat: FmodeChat;
7
+ isModalOpen: boolean;
8
+ constructor(navCtrl: NavController);
9
+ goBack(): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<FmChatHeaderArea, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<FmChatHeaderArea, "fm-chat-header-area", never, { "chat": { "alias": "chat"; "required": false; }; }, {}, never, never, true, never>;
12
+ }
@@ -0,0 +1 @@
1
+ export * from "./comp-header-area.component";
@@ -0,0 +1,33 @@
1
+ import { AlertController, NavController } from '@ionic/angular/standalone';
2
+ import { ChatService } from "../../service-fmai/service-chat/chat.service";
3
+ import * as i0 from "@angular/core";
4
+ export declare class ChatListComponent {
5
+ chatServ: ChatService;
6
+ private alertCtrl;
7
+ private navCtrl;
8
+ chatList: Array<any>;
9
+ constructor(chatServ: ChatService, alertCtrl: AlertController, navCtrl: NavController);
10
+ onItemClick: Function;
11
+ /** 默认头像*/
12
+ avatar: string;
13
+ goSession(chat: any): Promise<void>;
14
+ isPreventGo: boolean;
15
+ /**
16
+ * 修改图标的功能组件
17
+ * @param Id 会话Id
18
+ */
19
+ presentEditTitle(chatSession: Parse.Object, chat: any, event: Event): Promise<void>;
20
+ /**
21
+ * 删除图标的功能组件
22
+ * @param Id 会话Id
23
+ */
24
+ presentDeleteTItle(chatSession: Parse.Object, chat: any, event: Event): Promise<void>;
25
+ /**
26
+ * 绘画标题超出字数的部分用省略号代替
27
+ * @param str 被执行的文本
28
+ * @returns
29
+ */
30
+ truncateString(str: String): string | String;
31
+ static ɵfac: i0.ɵɵFactoryDeclaration<ChatListComponent, never>;
32
+ static ɵcmp: i0.ɵɵComponentDeclaration<ChatListComponent, "app-chat-list", never, { "onItemClick": { "alias": "onItemClick"; "required": false; }; }, {}, never, never, true, never>;
33
+ }
@@ -0,0 +1 @@
1
+ export * from "./chat-list.component";
@@ -0,0 +1,14 @@
1
+ import { AfterViewInit, DoCheck } from '@angular/core';
2
+ import { ChatService, FmodeChat } from '../../service-fmai/service-chat';
3
+ import * as i0 from "@angular/core";
4
+ export declare class FmChatMesssageArea implements AfterViewInit, DoCheck {
5
+ private chatServ;
6
+ chatId: string;
7
+ chat: FmodeChat;
8
+ get messageList(): any[];
9
+ constructor(chatServ: ChatService);
10
+ ngDoCheck(): void;
11
+ ngAfterViewInit(): void;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<FmChatMesssageArea, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<FmChatMesssageArea, "fm-chat-message-area", never, { "chatId": { "alias": "chatId"; "required": false; }; "chat": { "alias": "chat"; "required": false; }; }, {}, never, never, true, never>;
14
+ }
@@ -0,0 +1 @@
1
+ export * from "./comp-message-area.component";
@@ -0,0 +1,15 @@
1
+ import { FmodeChat, FmodeChatMessage } from '../../service-fmai/service-chat';
2
+ import Parse from "parse";
3
+ import { ClipboardService } from '../../comp-markdown-preview/clipboard.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class FmChatMessageCard {
6
+ private copyServ;
7
+ message: FmodeChatMessage;
8
+ role: Parse.Object;
9
+ chat: FmodeChat;
10
+ user: Parse.User;
11
+ constructor(copyServ: ClipboardService);
12
+ copy(): Promise<void>;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<FmChatMessageCard, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<FmChatMessageCard, "fm-chat-message-card", never, { "message": { "alias": "message"; "required": false; }; "role": { "alias": "role"; "required": false; }; "chat": { "alias": "chat"; "required": false; }; }, {}, never, never, true, never>;
15
+ }
@@ -0,0 +1 @@
1
+ export * from "./comp-message-card.component";
@@ -0,0 +1 @@
1
+ export * from "./modal-input.component";
@@ -0,0 +1,46 @@
1
+ import { ModalController, ToastController } from '@ionic/angular/standalone';
2
+ import { FmodeVoiceService } from '../../../voice/fmode-voice.service';
3
+ import { FmodeChat } from '../../../service-fmai/service-chat';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ModalAudioMessageComponent {
6
+ voiceServ: FmodeVoiceService;
7
+ private toastCtrl;
8
+ chat: FmodeChat;
9
+ modal: ModalController;
10
+ now: Date | undefined;
11
+ isRecording: boolean;
12
+ constructor(voiceServ: FmodeVoiceService, toastCtrl: ToastController);
13
+ ngOnInit(): void;
14
+ /**
15
+ * 语音听写服务 ==============================================
16
+ */
17
+ /**
18
+ * 音频提示音播放
19
+ */
20
+ player: HTMLAudioElement;
21
+ playMusic(action: any): void;
22
+ /**
23
+ * 初始化录音转录服务
24
+ * @desc
25
+ * 根据数字角色对话状态,设计语音转录各事件处理过程
26
+ * 嵌入提示音
27
+ * 嵌入动画
28
+ * 嵌入唤醒词切换逻辑
29
+ */
30
+ initVoiceSevice(): void;
31
+ sendMessage(): Promise<void>;
32
+ /**
33
+ * 计时器
34
+ */
35
+ clockStr: string;
36
+ timerInt: any;
37
+ countTimer(): void;
38
+ /**
39
+ * 操作区
40
+ */
41
+ cancel(): void;
42
+ send(): void;
43
+ clear(): void;
44
+ static ɵfac: i0.ɵɵFactoryDeclaration<ModalAudioMessageComponent, never>;
45
+ static ɵcmp: i0.ɵɵComponentDeclaration<ModalAudioMessageComponent, "fm-modal-audio-message", never, { "chat": { "alias": "chat"; "required": false; }; "modal": { "alias": "modal"; "required": false; }; }, {}, never, never, true, never>;
46
+ }
@@ -0,0 +1,45 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { ActivatedRoute, Router } from '@angular/router';
3
+ import { AlertController, NavController, ToastController } from '@ionic/angular';
4
+ import { FmodeChat, FmodeChatMessage } from '../../service-fmai/service-chat';
5
+ import { ChatService } from '../../service-fmai/service-chat';
6
+ import Parse from "parse";
7
+ import { NzMessageService } from 'ng-zorro-antd/message';
8
+ import { ImagineService } from '../../service-fmai/service-imagine/imagine.service';
9
+ import * as i0 from "@angular/core";
10
+ export declare class FmChatModalInput implements OnInit {
11
+ private toastCtrl;
12
+ private alertCtrl;
13
+ private navCtrl;
14
+ private router;
15
+ private imagineServ;
16
+ chatServ: ChatService;
17
+ private route;
18
+ private messages;
19
+ chat: FmodeChat;
20
+ message: FmodeChatMessage;
21
+ role: Parse.Object;
22
+ user: Parse.User;
23
+ errorText: string;
24
+ leftButtons: Array<any>;
25
+ isAudioModal: boolean;
26
+ account: any;
27
+ authServ: any;
28
+ constructor(toastCtrl: ToastController, alertCtrl: AlertController, navCtrl: NavController, router: Router, imagineServ: ImagineService, chatServ: ChatService, route: ActivatedRoute, messages: NzMessageService);
29
+ ngOnInit(): void;
30
+ loadModel(): Promise<void>;
31
+ setMessageImage(): Promise<void>;
32
+ callRole(role: any): Promise<void>;
33
+ onKeyDown(event: KeyboardEvent): void;
34
+ sendMessage(): Promise<void>;
35
+ checkBalance(): Promise<boolean>;
36
+ getChatShare(): Promise<void>;
37
+ toggleChatShare(): Promise<void>;
38
+ chatShareSuccessMessage(): void;
39
+ isShare: boolean;
40
+ showShare(): void;
41
+ handleOkShare(): void;
42
+ handleCancelShare(): void;
43
+ static ɵfac: i0.ɵɵFactoryDeclaration<FmChatModalInput, never>;
44
+ static ɵcmp: i0.ɵɵComponentDeclaration<FmChatModalInput, "fm-chat-modal-input", never, { "chat": { "alias": "chat"; "required": false; }; "message": { "alias": "message"; "required": false; }; "role": { "alias": "role"; "required": false; }; }, {}, never, never, true, never>;
45
+ }
@@ -0,0 +1,21 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { FmodeChat } from '../../service-fmai/service-chat';
3
+ import { ModalController } from '@ionic/angular/standalone';
4
+ import { CrossService } from '../../../platform/cross.service';
5
+ import * as i0 from "@angular/core";
6
+ export declare class CompRolePromptComponent implements OnInit {
7
+ cross: CrossService;
8
+ private modalController;
9
+ chat: FmodeChat;
10
+ role: string;
11
+ company: string;
12
+ showModal: boolean;
13
+ cateIndex: number;
14
+ constructor(cross: CrossService, modalController: ModalController);
15
+ ngOnInit(): void;
16
+ applyPrompt(message: any): void;
17
+ getChatPrompt(): Promise<void>;
18
+ checkCate(index: number): void;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<CompRolePromptComponent, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<CompRolePromptComponent, "app-comp-role-prompt", never, { "chat": { "alias": "chat"; "required": false; }; "role": { "alias": "role"; "required": false; }; }, {}, never, never, true, never>;
21
+ }
@@ -0,0 +1 @@
1
+ export * from "./comp-role-prompt.component";
@@ -0,0 +1,6 @@
1
+ export * from "./chat-list";
2
+ export * from "./chat-header-area";
3
+ export * from "./chat-message-area";
4
+ export * from "./chat-message-card";
5
+ export * from "./comp-role-prompt";
6
+ export * from "./chat-modal-input";
@@ -9,3 +9,4 @@ export * from "./comp-markdown-preview/clipboard.service";
9
9
  export * from "./voice";
10
10
  export * from "./avatar";
11
11
  export * from "./agent";
12
+ export * from "./chat";
@@ -45,7 +45,24 @@ export declare class FmodeChat {
45
45
  userInput: string;
46
46
  userImage: string;
47
47
  /**
48
- * 是否开启语音对话模式
48
+ * 虚拟形象展示状态
49
+ */
50
+ isAvatarShow: boolean;
51
+ avatarMode: string;
52
+ avatarConfig: any | undefined;
53
+ showAvatar(): void;
54
+ /**
55
+ * 预置提示词弹窗是否展示
56
+ */
57
+ isPromptModalOpen: boolean;
58
+ promptList: any;
59
+ /**
60
+ * 是否开启语音消息模式(单次)
61
+ */
62
+ isVoiceInputMode: boolean;
63
+ isTexting: boolean;
64
+ /**
65
+ * 是否开启实时对话模式(实时)
49
66
  * @desc
50
67
  * 开启ssml system提示词
51
68
  * 开启回答文本除xml显示模式
@@ -20,7 +20,8 @@ export declare class FmodeVoiceService {
20
20
  */
21
21
  webSpeech: typeof WebSpeech;
22
22
  constructor(platform: Platform, diagnostic: Diagnostic);
23
- /**
23
+ onResultTextChanged: Function;
24
+ /**()
24
25
  * 用户操作:录音按钮快捷触发操作
25
26
  */
26
27
  toggleRecord(): void;
@@ -45,6 +46,7 @@ export declare class FmodeVoiceService {
45
46
  */
46
47
  onBeforeCancelTalk: Function;
47
48
  onAfterCancelTalk: Function;
49
+ onAfterRecordStart: Function;
48
50
  /**
49
51
  * 程序逻辑
50
52
  */
@@ -0,0 +1,27 @@
1
+ import { NovaCloudService } from "../nova-cloud/nova-cloud.service";
2
+ import Parse from "parse";
3
+ import { AuthService } from "./auth.service";
4
+ import { HttpClient } from "@angular/common/http";
5
+ import * as i0 from "@angular/core";
6
+ export declare class AccountService {
7
+ private ncloud;
8
+ private authServ;
9
+ private http;
10
+ company: string;
11
+ billing: any;
12
+ profile: Parse.Object;
13
+ wxAppId: string;
14
+ wxpayEnabled: boolean;
15
+ appid: "wxb4193c93ae9aa696";
16
+ constructor(ncloud: NovaCloudService, authServ: AuthService, http: HttpClient);
17
+ getProfile(): Promise<void>;
18
+ getBilling(): Promise<any>;
19
+ getUserOpenid(): Promise<void>;
20
+ authWechat(url?: string): void;
21
+ getQueryStringByName(name: string): string;
22
+ getwechat(code: string, url?: string): Promise<boolean>;
23
+ getWXSignPackageInWechat(): void;
24
+ saveAccountLog(info: object, orderid: string, company: string, message: any): Promise<unknown>;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<AccountService, never>;
26
+ static ɵprov: i0.ɵɵInjectableDeclaration<AccountService>;
27
+ }
@@ -0,0 +1,63 @@
1
+ import Parse from "parse";
2
+ import { Router } from '@angular/router';
3
+ import { NovaCloudService } from '../nova-cloud/';
4
+ import { HttpClient } from '@angular/common/http';
5
+ import * as i0 from "@angular/core";
6
+ export declare class AuthService {
7
+ router: Router;
8
+ private novaCloud;
9
+ private http;
10
+ /**
11
+ * 守卫方式:权限验证锁定方式
12
+ * @type "page"|"modal" page页面跳转 modal弹窗锁定
13
+ */
14
+ guardType: "page" | "modal";
15
+ guardMap: any;
16
+ isModalShow: boolean;
17
+ isGuardLock(url: any): boolean;
18
+ /**
19
+ * 企业账套:登录用户校验所在的账套
20
+ */
21
+ _logoUrl: string;
22
+ get logoUrl(): string;
23
+ set logoUrl(v: string);
24
+ company: string;
25
+ getCompanyId(): string;
26
+ /**
27
+ * 资金账户:user自动创建唯一资金账户
28
+ */
29
+ account: Parse.Object;
30
+ /**
31
+ * 登录状态:默认false,登陆后为true
32
+ * @description
33
+ * 用于守卫弹窗锁定模块校验
34
+ */
35
+ isLoggedIn: boolean;
36
+ redirectUrl: string;
37
+ constructor(router: Router, novaCloud: NovaCloudService, http: HttpClient);
38
+ init(options: {
39
+ company?: string;
40
+ guardType?: "page" | "modal";
41
+ LoginPage?: string;
42
+ }): void;
43
+ checkLoginLock(): boolean;
44
+ LoginPage: string;
45
+ checkLogin(url: string): boolean;
46
+ setAccount(user: any): Promise<Parse.Object<Parse.Attributes>>;
47
+ login(username: any, password: any): Promise<unknown>;
48
+ refreshPage(): Promise<unknown>;
49
+ setCurrentUserLocalStorage(user: Parse.User): void;
50
+ logout(type: any, url: any): void;
51
+ /**
52
+ * 根据帐套内mobile字段登录逻辑
53
+ */
54
+ loginMobilePassword(mobile: string, password: string, msgServ: any): Promise<void>;
55
+ signMobilePassword(mobile: string, password: string): Promise<any>;
56
+ mobileUserMap: {};
57
+ getMobileUser(mobile: string): Promise<any>;
58
+ loginCode(mobile: string, code: string, msgServ?: any): Promise<Boolean>;
59
+ saveParamsInvite(): void;
60
+ bindInvite(current?: any): void;
61
+ static ɵfac: i0.ɵɵFactoryDeclaration<AuthService, never>;
62
+ static ɵprov: i0.ɵɵInjectableDeclaration<AuthService>;
63
+ }
@@ -0,0 +1,18 @@
1
+ import { OnInit } from "@angular/core";
2
+ import Parse from "parse";
3
+ import { AccountService } from "../account.service";
4
+ import * as i0 from "@angular/core";
5
+ export declare class CompUserAvatarComponent implements OnInit {
6
+ private novaAccount;
7
+ user: Parse.User;
8
+ type: string;
9
+ text: string;
10
+ identity: string;
11
+ constructor(novaAccount: AccountService);
12
+ ngOnInit(): void;
13
+ ngOnChanges(): void;
14
+ refresh(): Promise<void>;
15
+ getType(): "icon" | "avatar" | "text";
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<CompUserAvatarComponent, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<CompUserAvatarComponent, "app-comp-user-avatar", never, { "user": { "alias": "user"; "required": false; }; }, {}, never, never, true, never>;
18
+ }
@@ -0,0 +1,3 @@
1
+ export * from "./comp-user-avatar/comp-user-avatar.component";
2
+ export * from "./auth.service";
3
+ export * from "./account.service";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fmode-ng",
3
- "version": "0.0.26",
3
+ "version": "0.0.28",
4
4
  "author": "未来全栈",
5
5
  "license": "COPYRIGHT © 未来飞马 未来全栈 www.fmode.cn All RIGHTS RESERVED",
6
6
  "peerDependencies": {
package/public-api.d.ts CHANGED
@@ -2,4 +2,5 @@ export * from './lib/aigc';
2
2
  export * from './lib/map';
3
3
  export * from './lib/storage';
4
4
  export * from './lib/platform';
5
+ export * from './lib/user';
5
6
  export * from "./lib/nova-cloud";