fmode-ng 0.0.39 → 0.0.41

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 (100) hide show
  1. package/esm2022/fmode-ng.mjs +5 -10
  2. package/esm2022/lib/aigc/agent/agent.prompt.mjs +122 -10
  3. package/esm2022/lib/aigc/agent/index.mjs +2 -10
  4. package/esm2022/lib/aigc/avatar/avatar.module.mjs +45 -10
  5. package/esm2022/lib/aigc/avatar/comp-avatar-particle/avatar.role.mjs +2 -10
  6. package/esm2022/lib/aigc/avatar/comp-avatar-particle/comp-avatar-particle.component.mjs +315 -10
  7. package/esm2022/lib/aigc/avatar/comp-avatar-particle/index.mjs +3 -10
  8. package/esm2022/lib/aigc/avatar/comp-avatar-particle/role-points.class.mjs +57 -10
  9. package/esm2022/lib/aigc/avatar/comp-avatar-role-image/comp-avatar-role-image.component.mjs +97 -10
  10. package/esm2022/lib/aigc/avatar/comp-avatar-role-video/comp-avatar-role-video.component.mjs +104 -10
  11. package/esm2022/lib/aigc/avatar/comp-avatar-talk/comp-avatar-talk.component.mjs +111 -10
  12. package/esm2022/lib/aigc/avatar/index.mjs +8 -10
  13. package/esm2022/lib/aigc/avatar/interface-avatar-role.mjs +2 -10
  14. package/esm2022/lib/aigc/avatar/modal-chat-voice-input/modal-chat-voice-input.component.mjs +166 -8
  15. package/esm2022/lib/aigc/chat/chat-header-area/comp-header-area.component.mjs +36 -10
  16. package/esm2022/lib/aigc/chat/chat-header-area/index.mjs +2 -10
  17. package/esm2022/lib/aigc/chat/chat-list/chat-list.component.mjs +141 -8
  18. package/esm2022/lib/aigc/chat/chat-list/index.mjs +2 -10
  19. package/esm2022/lib/aigc/chat/chat-message-area/comp-message-area.component.mjs +40 -10
  20. package/esm2022/lib/aigc/chat/chat-message-area/index.mjs +2 -10
  21. package/esm2022/lib/aigc/chat/chat-message-card/comp-message-card.component.mjs +92 -10
  22. package/esm2022/lib/aigc/chat/chat-message-card/index.mjs +2 -10
  23. package/esm2022/lib/aigc/chat/chat-modal-input/index.mjs +2 -10
  24. package/esm2022/lib/aigc/chat/chat-modal-input/modal-audio-message/modal-audio-message.component.mjs +207 -8
  25. package/esm2022/lib/aigc/chat/chat-modal-input/modal-input.component.mjs +236 -10
  26. package/esm2022/lib/aigc/chat/chat-panel/chat-panel.component.mjs +137 -10
  27. package/esm2022/lib/aigc/chat/comp-role-prompt/comp-role-prompt.component.mjs +69 -10
  28. package/esm2022/lib/aigc/chat/comp-role-prompt/index.mjs +2 -10
  29. package/esm2022/lib/aigc/chat/index.mjs +8 -10
  30. package/esm2022/lib/aigc/comp-markdown-preview/clipboard.service.mjs +82 -10
  31. package/esm2022/lib/aigc/comp-markdown-preview/markdown-parse.mjs +269 -8
  32. package/esm2022/lib/aigc/comp-markdown-preview/markdown-preview.component.mjs +51 -10
  33. package/esm2022/lib/aigc/comp-markdown-preview/markdown-preview.module.mjs +24 -10
  34. package/esm2022/lib/aigc/comp-markdown-preview/plugins/md-mathjax/index.mjs +94 -10
  35. package/esm2022/lib/aigc/index.mjs +13 -10
  36. package/esm2022/lib/aigc/service-fmai/fmai.service.mjs +21 -10
  37. package/esm2022/lib/aigc/service-fmai/service-chat/chat-class.mjs +736 -8
  38. package/esm2022/lib/aigc/service-fmai/service-chat/chat.service.mjs +181 -8
  39. package/esm2022/lib/aigc/service-fmai/service-chat/index.mjs +7 -10
  40. package/esm2022/lib/aigc/service-fmai/service-chat/mask-list.mjs +194 -9
  41. package/esm2022/lib/aigc/service-fmai/service-chat/pipes/chat-content.pipe.mjs +27 -10
  42. package/esm2022/lib/aigc/service-fmai/service-chat/pipes/hidexml.pipe.mjs +27 -10
  43. package/esm2022/lib/aigc/service-fmai/service-chat/utilnow.pipe.mjs +68 -10
  44. package/esm2022/lib/aigc/service-fmai/service-imagine/imagine.service.mjs +229 -8
  45. package/esm2022/lib/aigc/service-fmai/service-imagine/index.mjs +2 -10
  46. package/esm2022/lib/aigc/voice/audio.player.mjs +52 -10
  47. package/esm2022/lib/aigc/voice/class-asr.mjs +79 -8
  48. package/esm2022/lib/aigc/voice/fmode-voice.service.mjs +501 -8
  49. package/esm2022/lib/aigc/voice/index.mjs +3 -10
  50. package/esm2022/lib/aigc/voice/lib/pcm2wav.mjs +38 -10
  51. package/esm2022/lib/aigc/voice/lib/resample.mjs +34 -10
  52. package/esm2022/lib/aigc/voice/tts/fmode-tts-class.mjs +233 -8
  53. package/esm2022/lib/aigc/voice/tts/index.mjs +2 -10
  54. package/esm2022/lib/map/comp-poi-picker/comp-poi-picker.component.mjs +190 -10
  55. package/esm2022/lib/map/comp-poi-picker/comp-poi-picker.module.mjs +33 -10
  56. package/esm2022/lib/map/index.mjs +4 -10
  57. package/esm2022/lib/map/map.module.mjs +61 -10
  58. package/esm2022/lib/map/page-loca-scatter/page-loca-scatter.component.mjs +110 -10
  59. package/esm2022/lib/map/page-map.start/page-map.start.component.mjs +98 -8
  60. package/esm2022/lib/map/page-plan-route/page-plan-route.component.mjs +100 -8
  61. package/esm2022/lib/nova-cloud/index.mjs +2 -10
  62. package/esm2022/lib/nova-cloud/nova-cloud.service.mjs +148 -10
  63. package/esm2022/lib/platform/cross.service.mjs +63 -10
  64. package/esm2022/lib/platform/index.mjs +2 -10
  65. package/esm2022/lib/social/index.mjs +2 -10
  66. package/esm2022/lib/social/wechat/wechat-jssdk.service.mjs +236 -8
  67. package/esm2022/lib/storage/comp-hwobs-manager/hwobs-manager.component.mjs +59 -10
  68. package/esm2022/lib/storage/index.mjs +5 -10
  69. package/esm2022/lib/storage/service-hwobs/hwobs.service.mjs +130 -8
  70. package/esm2022/lib/storage/service-upload/index.mjs +2 -10
  71. package/esm2022/lib/storage/service-upload/nova-upload.service.mjs +462 -8
  72. package/esm2022/lib/storage/service-upload/util-file-md5.mjs +28 -10
  73. package/esm2022/lib/storage/storage.module.mjs +41 -10
  74. package/esm2022/lib/user/account/account.service.mjs +221 -10
  75. package/esm2022/lib/user/captcha/captcha.component.mjs +135 -10
  76. package/esm2022/lib/user/comp-user-avatar/comp-user-avatar.component.mjs +62 -10
  77. package/esm2022/lib/user/index.mjs +17 -10
  78. package/esm2022/lib/user/login/auth.guard.mjs +28 -10
  79. package/esm2022/lib/user/login/auth.service.mjs +373 -8
  80. package/esm2022/lib/user/login/login.component.mjs +913 -10
  81. package/esm2022/lib/user/modal-user-login/modal-user-login.component.mjs +273 -10
  82. package/esm2022/lib/user/profile/auth-profile.guard.mjs +27 -10
  83. package/esm2022/lib/user/profile/auth-profile.service.mjs +122 -10
  84. package/esm2022/lib/user/profile/profile-bind/profile-bind.component.mjs +115 -10
  85. package/esm2022/lib/user/profile/profile.module.mjs +57 -10
  86. package/esm2022/lib/user/staff/index.mjs +4 -10
  87. package/esm2022/lib/user/staff/staff.guard.mjs +26 -10
  88. package/esm2022/lib/user/staff/staff.module.mjs +18 -10
  89. package/esm2022/lib/user/staff/staff.service.mjs +85 -10
  90. package/esm2022/lib/user/user-name.pipe.mjs +29 -10
  91. package/esm2022/lib/user/user.module.mjs +106 -10
  92. package/esm2022/lib/video/fm-video/fm-video.component.mjs +67 -10
  93. package/esm2022/lib/video/index.mjs +2 -10
  94. package/esm2022/public-api.mjs +13 -10
  95. package/fesm2022/fmode-ng.mjs +8895 -7
  96. package/fesm2022/fmode-ng.mjs.map +1 -1
  97. package/lib/user/login/auth.service.d.ts +18 -3
  98. package/lib/user/modal-user-login/modal-user-login.component.d.ts +4 -2
  99. package/package.json +1 -1
  100. package/LICENSE.md +0 -8
@@ -2,9 +2,11 @@ import Parse from "parse";
2
2
  import { Router } from '@angular/router';
3
3
  import { NovaCloudService } from '../../nova-cloud';
4
4
  import { HttpClient } from '@angular/common/http';
5
+ import { ToastController } from '@ionic/angular/standalone';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class AuthService {
7
8
  router: Router;
9
+ private toastCtrl;
8
10
  private novaCloud;
9
11
  private http;
10
12
  /**
@@ -15,6 +17,15 @@ export declare class AuthService {
15
17
  guardMap: any;
16
18
  isModalShow: boolean;
17
19
  isGuardLock(url: any): boolean;
20
+ showBackHome: boolean;
21
+ activeButton: string;
22
+ loginOptions: {
23
+ userpwd?: boolean;
24
+ mobilepwd?: boolean;
25
+ mobilecode?: boolean;
26
+ wechat?: boolean;
27
+ };
28
+ get loginTypeCount(): number;
18
29
  /**
19
30
  * 企业账套:登录用户校验所在的账套
20
31
  */
@@ -35,7 +46,8 @@ export declare class AuthService {
35
46
  */
36
47
  isLoggedIn: boolean;
37
48
  redirectUrl: string;
38
- constructor(router: Router, novaCloud: NovaCloudService, http: HttpClient);
49
+ constructor(router: Router, toastCtrl: ToastController, novaCloud: NovaCloudService, http: HttpClient);
50
+ toast(options: any): Promise<void>;
39
51
  init(options: {
40
52
  company?: string;
41
53
  guardType?: "page" | "modal";
@@ -56,9 +68,12 @@ export declare class AuthService {
56
68
  signMobilePassword(mobile: string, password: string): Promise<any>;
57
69
  mobileUserMap: {};
58
70
  getMobileUser(mobile: string): Promise<any>;
59
- loginCode(mobile: string, code: string, msgServ?: any): Promise<Boolean>;
71
+ enabledLocalCode: boolean;
72
+ signUpAndUpdate(mobile: any, password?: string): Promise<Parse.Object | undefined>;
73
+ getMobileCodeToken(mobile: any, code: any): Promise<any>;
74
+ loginCode(mobile: string, code: string, msgServ?: any, closeCallBack?: any): Promise<Boolean>;
60
75
  saveParamsInvite(): void;
61
- bindInvite(current?: any): void;
76
+ bindInvite(current?: any): Promise<void>;
62
77
  static ɵfac: i0.ɵɵFactoryDeclaration<AuthService, never>;
63
78
  static ɵprov: i0.ɵɵInjectableDeclaration<AuthService>;
64
79
  }
@@ -3,12 +3,14 @@ import { Router } from "@angular/router";
3
3
  import { AuthService } from "../login/auth.service";
4
4
  import { NzMessageService } from "ng-zorro-antd/message";
5
5
  import { HttpClient } from '@angular/common/http';
6
+ import { ToastController } from "@ionic/angular/standalone";
6
7
  import * as i0 from "@angular/core";
7
8
  export declare class ModalUserLoginComponent implements OnInit {
8
9
  private msg;
9
10
  authServ: AuthService;
10
11
  private router;
11
12
  private http;
13
+ private toastCtrl;
12
14
  mobile: string;
13
15
  password: string;
14
16
  password2: string;
@@ -16,7 +18,7 @@ export declare class ModalUserLoginComponent implements OnInit {
16
18
  canvasDom: ElementRef;
17
19
  loginInfo: any;
18
20
  localCodeNum: string;
19
- constructor(msg: NzMessageService, authServ: AuthService, router: Router, http: HttpClient);
21
+ constructor(msg: NzMessageService, authServ: AuthService, router: Router, http: HttpClient, toastCtrl: ToastController);
20
22
  ngOnInit(): void;
21
23
  ngAfterViewInit(): void;
22
24
  signMobilePassword(): void;
@@ -24,7 +26,6 @@ export declare class ModalUserLoginComponent implements OnInit {
24
26
  close(): void;
25
27
  goHome(): void;
26
28
  handleEscapeKey(event: KeyboardEvent): void;
27
- activeButton: string;
28
29
  setActiveButton(buttonName: string): void;
29
30
  countdown: number;
30
31
  buttonText: string;
@@ -32,6 +33,7 @@ export declare class ModalUserLoginComponent implements OnInit {
32
33
  startCountdown(): void;
33
34
  time(): void;
34
35
  login(): Promise<void>;
36
+ toast(options: any): Promise<void>;
35
37
  drawCode: Array<string>;
36
38
  updateDrawCode(): void;
37
39
  randomColor(): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fmode-ng",
3
- "version": "0.0.39",
3
+ "version": "0.0.41",
4
4
  "author": "未来全栈",
5
5
  "license": "COPYRIGHT © 未来飞马 未来全栈 www.fmode.cn All RIGHTS RESERVED",
6
6
  "peerDependencies": {
package/LICENSE.md DELETED
@@ -1,8 +0,0 @@
1
- 本代码库是未来飞马NovaCloud项目的一部分 This library is part of the NovaCloud in Fmode Inc.
2
- 版权所有 © 未来飞马 © 江西脑控科技有限公司 Copyright © Fmode Technology Co., Ltd.
3
- 保留所有权利 All Rights Reserved.
4
- 严禁在未经授权的情况下,通过任何媒介复制此文件 Unauthorized copying of this file, via any medium is strictly prohibited
5
- 该文件是专有的机密文件 Proprietary and confidential
6
-
7
- Copyright 2021-now Fmode Inc. support@fmode.cn. 18607007073.
8
- 保留所有权利 All rights reserved.