fmode-ng 0.0.73 → 0.0.75

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.
@@ -1,10 +1,8 @@
1
1
  import { Observable } from "rxjs";
2
2
  import Parse from "parse";
3
- import { NavController } from "@ionic/angular";
4
3
  import { FmodeTTS } from "../../voice/tts";
5
4
  import { NovaCloudService } from "../../../nova-cloud";
6
5
  import { NovaUploadService } from "../../../storage/service-upload/nova-upload.service";
7
- import { ElementRef } from "@angular/core";
8
6
  export interface FmodeChatMessageVoice {
9
7
  id: string;
10
8
  duration?: number;
@@ -92,7 +90,7 @@ export declare class FmodeChat {
92
90
  * 输入按钮区域
93
91
  */
94
92
  focusUserInput: Function;
95
- navCtrl: NavController;
93
+ navCtrl: any;
96
94
  leftButtons: Array<any>;
97
95
  /**
98
96
  * 是否开启语音消息模式(单次)
@@ -112,14 +110,15 @@ export declare class FmodeChat {
112
110
  * 滚动至消息区域底部方法
113
111
  * @desc 通过chat-panel等聊天面板,赋值该方法
114
112
  */
115
- scrollComp: ElementRef;
116
- scrollToBottom(comp?: ElementRef): void;
113
+ scrollComp: any;
114
+ scrollToBottom(comp?: any): void;
117
115
  /**
118
116
  * 依赖服务
119
117
  */
120
118
  ncloud: NovaCloudService;
121
119
  uploadServ: NovaUploadService;
122
- constructor(sessionId: string, role?: Parse.Object, chatSession?: Parse.Object, chatServ?: any, navCtrl?: NavController, ncloud?: NovaCloudService, uploadServ?: NovaUploadService);
120
+ constructor(sessionId: string, role?: Parse.Object, chatSession?: Parse.Object, chatServ?: any, navCtrl?: any, //NavController,
121
+ ncloud?: NovaCloudService, uploadServ?: NovaUploadService);
123
122
  /**
124
123
  * 会话Avatar控制
125
124
  */
@@ -3,7 +3,7 @@ import './lib/recorder/engine-wav';
3
3
  import './lib/recorder/extension-waveview';
4
4
  import { WebSpeech } from './class-asr';
5
5
  import { Platform } from '@ionic/angular';
6
- import { DiagnosticOriginal } from '@awesome-cordova-plugins/diagnostic';
6
+ import { Diagnostic } from '@awesome-cordova-plugins/diagnostic/ngx';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare class FmodeVoiceService {
9
9
  private platform;
@@ -19,7 +19,7 @@ export declare class FmodeVoiceService {
19
19
  * WebSpeech 语音库
20
20
  */
21
21
  webSpeech: typeof WebSpeech;
22
- constructor(platform: Platform, diagnostic: DiagnosticOriginal);
22
+ constructor(platform: Platform, diagnostic: Diagnostic);
23
23
  onResultTextChanged: Function;
24
24
  /**()
25
25
  * 用户操作:录音按钮快捷触发操作
@@ -1,6 +1,6 @@
1
1
  import { Platform } from '@ionic/angular';
2
2
  import Parse from "parse";
3
- import { DiagnosticOriginal } from '@awesome-cordova-plugins/diagnostic';
3
+ import { Diagnostic } from '@awesome-cordova-plugins/diagnostic/ngx';
4
4
  /**
5
5
  * MediaCapture插件
6
6
  * @private
@@ -8,7 +8,7 @@ import { DiagnosticOriginal } from '@awesome-cordova-plugins/diagnostic';
8
8
  * 依赖:File
9
9
  * npm i -S cordova-plugin-file @awesome-cordova-plugins/file
10
10
  */
11
- import { MediaFile } from "@awesome-cordova-plugins/media-capture";
11
+ import { MediaFile } from "@awesome-cordova-plugins/media-capture/ngx";
12
12
  import * as i0 from "@angular/core";
13
13
  /**
14
14
  * NovaFile 文件类型
@@ -34,7 +34,7 @@ export declare class NovaUploadService {
34
34
  uptoken: string;
35
35
  qiniuConf: any;
36
36
  domain: string;
37
- constructor(platform: Platform, diagnostic: DiagnosticOriginal);
37
+ constructor(platform: Platform, diagnostic: Diagnostic);
38
38
  /**
39
39
  * 全端通用上传方法
40
40
  * @params file:File 待上传文件
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fmode-ng",
3
- "version": "0.0.73",
3
+ "version": "0.0.75",
4
4
  "author": "未来全栈",
5
5
  "license": "COPYRIGHT © 未来飞马 未来全栈 www.fmode.cn All RIGHTS RESERVED",
6
6
  "peerDependencies": {