speechrecorderng 2.22.1 → 2.22.3
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/session/audiorecorder.mjs +18 -6
- package/esm2020/lib/speechrecorder/session/recorder_combi_pane.mjs +11 -7
- package/esm2020/lib/speechrecorder/session/sessionmanager.mjs +10 -3
- package/esm2020/lib/spr.module.version.mjs +2 -2
- package/fesm2015/speechrecorderng.mjs +37 -14
- package/fesm2015/speechrecorderng.mjs.map +1 -1
- package/fesm2020/speechrecorderng.mjs +37 -14
- package/fesm2020/speechrecorderng.mjs.map +1 -1
- package/lib/spr.module.version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -7730,10 +7730,17 @@ class SessionManager {
|
|
|
7730
7730
|
}
|
|
7731
7731
|
}
|
|
7732
7732
|
onKeyDown(ke) {
|
|
7733
|
-
if (ke.key == ' '
|
|
7733
|
+
if (ke.key == ' ') {
|
|
7734
7734
|
this.transportActions.stopAction.perform();
|
|
7735
7735
|
}
|
|
7736
|
-
if (ke.key == 'p'
|
|
7736
|
+
if (ke.key == 'p') {
|
|
7737
|
+
this.transportActions.pauseAction.perform();
|
|
7738
|
+
}
|
|
7739
|
+
if (ke.key == 'Escape') {
|
|
7740
|
+
if (!this.audioSignalCollapsed) {
|
|
7741
|
+
this.audioSignalCollapsed = true;
|
|
7742
|
+
}
|
|
7743
|
+
this.transportActions.stopAction.perform();
|
|
7737
7744
|
this.transportActions.pauseAction.perform();
|
|
7738
7745
|
}
|
|
7739
7746
|
if (ke.key == 'MediaPlayPause') {
|
|
@@ -10810,8 +10817,10 @@ class RecorderCombiPane {
|
|
|
10810
10817
|
}
|
|
10811
10818
|
RecorderCombiPane.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.1", ngImport: i0, type: RecorderCombiPane, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10812
10819
|
RecorderCombiPane.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.1", type: RecorderCombiPane, selector: "app-recordercombipane", inputs: { selectDisabled: "selectDisabled", selectedRecordingFile: "selectedRecordingFile", audioSignalCollapsed: "audioSignalCollapsed", displayAudioClip: "displayAudioClip", playStartAction: "playStartAction", playSelectionAction: "playSelectionAction", autoPlayOnSelectToggleAction: "autoPlayOnSelectToggleAction", playStopAction: "playStopAction" }, outputs: { selectedRecordingFileChanged: "selectedRecordingFileChanged" }, viewQueries: [{ propertyName: "recordingListComp", first: true, predicate: RecordingList, descendants: true }, { propertyName: "audioDisplay", first: true, predicate: AudioDisplay, descendants: true, static: true }], ngImport: i0, template: `
|
|
10813
|
-
<
|
|
10814
|
-
|
|
10820
|
+
<div class="scrollList">
|
|
10821
|
+
<app-recordinglist [selectedRecordingFile]="selectedRecordingFile" [selectDisabled]="selectDisabled" (selectedRecordingFileChanged)="selectRecordingFile($event)"></app-recordinglist>
|
|
10822
|
+
</div>
|
|
10823
|
+
<div class="collapsable" fxHide.xs #asCt [class.active]="!audioSignalCollapsed">
|
|
10815
10824
|
<app-audiodisplay #audioSignalContainer [class.active]="!audioSignalCollapsed"
|
|
10816
10825
|
[audioClip]="displayAudioClip"
|
|
10817
10826
|
[playStartAction]="playStartAction"
|
|
@@ -10819,12 +10828,14 @@ RecorderCombiPane.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
10819
10828
|
[autoPlayOnSelectToggleAction]="autoPlayOnSelectToggleAction"
|
|
10820
10829
|
[playStopAction]="playStopAction"></app-audiodisplay>
|
|
10821
10830
|
</div>
|
|
10822
|
-
`, isInline: true, styles: [".monospaced{font-family:monospace}.mat-cell,.mat-header-cell{padding-left:5px;padding-right:5px}.mat-card,.mat-card-header,.mat-card-content{width:auto}.flexForm{display:flex;flex-direction:column;width:auto}\n", ":host{position:relative;margin:0;padding:0;background:lightgrey;width:100%;flex:1;
|
|
10831
|
+
`, isInline: true, styles: [".monospaced{font-family:monospace}.mat-cell,.mat-header-cell{padding-left:5px;padding-right:5px}.mat-card,.mat-card-header,.mat-card-content{width:auto}.flexForm{display:flex;flex-direction:column;width:auto}\n", ":host{background-color:#ff0;position:relative;margin:0;padding:0;background:lightgrey;width:100%;flex:1;min-height:0px}\n", ".scrollList{margin:0;padding:0;background:lightgrey;width:100%;height:100%;overflow-y:auto}\n", ".collapsable{display:none;position:absolute;z-index:5}\n", ".collapsable.active{display:flex;position:absolute;bottom:0px;height:90%;width:100%;overflow:hidden;padding:0;z-index:200;box-sizing:border-box;background-color:#0000}\n"], components: [{ type: RecordingList, selector: "app-recordinglist", inputs: ["selectDisabled", "selectedRecordingFile"], outputs: ["selectedRecordingFileChanged"] }, { type: AudioDisplay, selector: "app-audiodisplay", inputs: ["playStartAction", "playStopAction", "playSelectionAction", "autoPlayOnSelectToggleAction", "audioData", "audioClip"] }], directives: [{ type: i3$1.DefaultShowHideDirective, selector: " [fxShow], [fxShow.print], [fxShow.xs], [fxShow.sm], [fxShow.md], [fxShow.lg], [fxShow.xl], [fxShow.lt-sm], [fxShow.lt-md], [fxShow.lt-lg], [fxShow.lt-xl], [fxShow.gt-xs], [fxShow.gt-sm], [fxShow.gt-md], [fxShow.gt-lg], [fxHide], [fxHide.print], [fxHide.xs], [fxHide.sm], [fxHide.md], [fxHide.lg], [fxHide.xl], [fxHide.lt-sm], [fxHide.lt-md], [fxHide.lt-lg], [fxHide.lt-xl], [fxHide.gt-xs], [fxHide.gt-sm], [fxHide.gt-md], [fxHide.gt-lg]", inputs: ["fxShow", "fxShow.print", "fxShow.xs", "fxShow.sm", "fxShow.md", "fxShow.lg", "fxShow.xl", "fxShow.lt-sm", "fxShow.lt-md", "fxShow.lt-lg", "fxShow.lt-xl", "fxShow.gt-xs", "fxShow.gt-sm", "fxShow.gt-md", "fxShow.gt-lg", "fxHide", "fxHide.print", "fxHide.xs", "fxHide.sm", "fxHide.md", "fxHide.lg", "fxHide.xl", "fxHide.lt-sm", "fxHide.lt-md", "fxHide.lt-lg", "fxHide.lt-xl", "fxHide.gt-xs", "fxHide.gt-sm", "fxHide.gt-md", "fxHide.gt-lg"] }] });
|
|
10823
10832
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.1", ngImport: i0, type: RecorderCombiPane, decorators: [{
|
|
10824
10833
|
type: Component,
|
|
10825
10834
|
args: [{ selector: 'app-recordercombipane', template: `
|
|
10826
|
-
<
|
|
10827
|
-
|
|
10835
|
+
<div class="scrollList">
|
|
10836
|
+
<app-recordinglist [selectedRecordingFile]="selectedRecordingFile" [selectDisabled]="selectDisabled" (selectedRecordingFileChanged)="selectRecordingFile($event)"></app-recordinglist>
|
|
10837
|
+
</div>
|
|
10838
|
+
<div class="collapsable" fxHide.xs #asCt [class.active]="!audioSignalCollapsed">
|
|
10828
10839
|
<app-audiodisplay #audioSignalContainer [class.active]="!audioSignalCollapsed"
|
|
10829
10840
|
[audioClip]="displayAudioClip"
|
|
10830
10841
|
[playStartAction]="playStartAction"
|
|
@@ -10832,7 +10843,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.1", ngImpor
|
|
|
10832
10843
|
[autoPlayOnSelectToggleAction]="autoPlayOnSelectToggleAction"
|
|
10833
10844
|
[playStopAction]="playStopAction"></app-audiodisplay>
|
|
10834
10845
|
</div>
|
|
10835
|
-
`, styles: [".monospaced{font-family:monospace}.mat-cell,.mat-header-cell{padding-left:5px;padding-right:5px}.mat-card,.mat-card-header,.mat-card-content{width:auto}.flexForm{display:flex;flex-direction:column;width:auto}\n", ":host{position:relative;margin:0;padding:0;background:lightgrey;width:100%;flex:1;
|
|
10846
|
+
`, styles: [".monospaced{font-family:monospace}.mat-cell,.mat-header-cell{padding-left:5px;padding-right:5px}.mat-card,.mat-card-header,.mat-card-content{width:auto}.flexForm{display:flex;flex-direction:column;width:auto}\n", ":host{background-color:#ff0;position:relative;margin:0;padding:0;background:lightgrey;width:100%;flex:1;min-height:0px}\n", ".scrollList{margin:0;padding:0;background:lightgrey;width:100%;height:100%;overflow-y:auto}\n", ".collapsable{display:none;position:absolute;z-index:5}\n", ".collapsable.active{display:flex;position:absolute;bottom:0px;height:90%;width:100%;overflow:hidden;padding:0;z-index:200;box-sizing:border-box;background-color:#0000}\n"] }]
|
|
10836
10847
|
}], ctorParameters: function () { return []; }, propDecorators: { recordingListComp: [{
|
|
10837
10848
|
type: ViewChild,
|
|
10838
10849
|
args: [RecordingList]
|
|
@@ -11025,15 +11036,27 @@ class AudioRecorder {
|
|
|
11025
11036
|
}
|
|
11026
11037
|
onKeyPress(ke) {
|
|
11027
11038
|
if (ke.key == ' ') {
|
|
11028
|
-
this.transportActions.startAction.perform();
|
|
11029
|
-
this.transportActions.nextAction.perform();
|
|
11039
|
+
//this.transportActions.startAction.perform();
|
|
11040
|
+
//this.transportActions.nextAction.perform();
|
|
11030
11041
|
}
|
|
11031
11042
|
}
|
|
11032
11043
|
onKeyDown(ke) {
|
|
11033
|
-
if (ke.key == ' '
|
|
11034
|
-
this.transportActions.
|
|
11044
|
+
if (ke.key == ' ') {
|
|
11045
|
+
if (!this.transportActions.startAction.disabled) {
|
|
11046
|
+
this.transportActions.startAction.perform();
|
|
11047
|
+
}
|
|
11048
|
+
else if (!this.transportActions.stopAction.disabled) {
|
|
11049
|
+
this.transportActions.stopAction.perform();
|
|
11050
|
+
}
|
|
11035
11051
|
}
|
|
11036
|
-
if (ke.key == 'p'
|
|
11052
|
+
if (ke.key == 'p') {
|
|
11053
|
+
this.transportActions.pauseAction.perform();
|
|
11054
|
+
}
|
|
11055
|
+
if (ke.key == 'Escape') {
|
|
11056
|
+
if (!this.audioSignalCollapsed) {
|
|
11057
|
+
this.audioSignalCollapsed = true;
|
|
11058
|
+
}
|
|
11059
|
+
this.transportActions.stopAction.perform();
|
|
11037
11060
|
this.transportActions.pauseAction.perform();
|
|
11038
11061
|
}
|
|
11039
11062
|
if (ke.key == 'MediaPlayPause') {
|
|
@@ -12018,7 +12041,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.1", ngImpor
|
|
|
12018
12041
|
}]
|
|
12019
12042
|
}] });
|
|
12020
12043
|
|
|
12021
|
-
const VERSION = '2.22.
|
|
12044
|
+
const VERSION = '2.22.3';
|
|
12022
12045
|
|
|
12023
12046
|
/*
|
|
12024
12047
|
* Public API Surface of speechrecorderng
|