speechrecorderng 3.3.7 → 3.4.0
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/esm2020/lib/speechrecorder/project/project.mjs +1 -1
- package/esm2020/lib/speechrecorder/session/sessionmanager.mjs +5 -2
- package/esm2020/lib/speechrecorderng.component.mjs +4 -1
- package/esm2020/lib/spr.module.version.mjs +2 -2
- package/fesm2015/speechrecorderng.mjs +8 -2
- package/fesm2015/speechrecorderng.mjs.map +1 -1
- package/fesm2020/speechrecorderng.mjs +8 -2
- package/fesm2020/speechrecorderng.mjs.map +1 -1
- package/lib/speechrecorder/project/project.d.ts +1 -0
- package/lib/speechrecorder/session/sessionmanager.d.ts +1 -0
- package/lib/spr.module.version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -12802,6 +12802,7 @@ class SessionManager extends BasicRecorder {
|
|
|
12802
12802
|
this.items = null;
|
|
12803
12803
|
//selectedItemIdx: number;
|
|
12804
12804
|
this._displayRecFile = null;
|
|
12805
|
+
this.showSessionCompleteMessage = true;
|
|
12805
12806
|
this.status = 1 /* IDLE */;
|
|
12806
12807
|
this.audio = document.getElementById('audio');
|
|
12807
12808
|
if (this.config && this.config.enableUploadRecordings !== undefined) {
|
|
@@ -13870,7 +13871,9 @@ class SessionManager extends BasicRecorder {
|
|
|
13870
13871
|
}
|
|
13871
13872
|
this.statusMsg = 'Session complete!';
|
|
13872
13873
|
this.updateWakeLock();
|
|
13873
|
-
|
|
13874
|
+
if (this.showSessionCompleteMessage) {
|
|
13875
|
+
this.dialog.open(SessionFinishedDialog, {});
|
|
13876
|
+
}
|
|
13874
13877
|
// enable navigation
|
|
13875
13878
|
this.transportActions.fwdAction.disabled = false;
|
|
13876
13879
|
this.transportActions.bwdAction.disabled = false;
|
|
@@ -14601,6 +14604,9 @@ class SpeechrecorderngComponent extends RecorderComponent {
|
|
|
14601
14604
|
else {
|
|
14602
14605
|
this.sm.uploadChunkSizeSeconds = null;
|
|
14603
14606
|
}
|
|
14607
|
+
if (project.showSessionCompleteMessage != null) {
|
|
14608
|
+
this.sm.showSessionCompleteMessage = project.showSessionCompleteMessage;
|
|
14609
|
+
}
|
|
14604
14610
|
}
|
|
14605
14611
|
else {
|
|
14606
14612
|
console.error("Empty project configuration!");
|
|
@@ -17521,7 +17527,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
17521
17527
|
}]
|
|
17522
17528
|
}] });
|
|
17523
17529
|
|
|
17524
|
-
const VERSION = '3.
|
|
17530
|
+
const VERSION = '3.4.0';
|
|
17525
17531
|
|
|
17526
17532
|
/*
|
|
17527
17533
|
* Public API Surface of speechrecorderng
|