speechrecorderng 2.25.2 → 2.25.5
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/audio/audio_display.mjs +7 -32
- package/esm2020/lib/audio/audio_player.mjs +7 -25
- package/esm2020/lib/audio/impl/wavformat.mjs +1 -1
- package/esm2020/lib/audio/persistor.mjs +8 -1
- package/esm2020/lib/audio/playback/player.mjs +4 -4
- package/esm2020/lib/audio/ui/audio_canvas_layer_comp.mjs +6 -6
- package/esm2020/lib/audio/ui/audio_display_control.mjs +10 -19
- package/esm2020/lib/audio/ui/audio_display_scroll_pane.mjs +7 -34
- package/esm2020/lib/audio/ui/audiosignal.mjs +6 -19
- package/esm2020/lib/audio/ui/container.mjs +7 -44
- package/esm2020/lib/audio/ui/livelevel.mjs +8 -34
- package/esm2020/lib/audio/ui/scroll_pane_horizontal.mjs +5 -19
- package/esm2020/lib/audio/ui/sonagram.mjs +6 -19
- package/esm2020/lib/speechrecorder/project/project.service.mjs +3 -3
- package/esm2020/lib/speechrecorder/recordings/recordings.service.mjs +3 -3
- package/esm2020/lib/speechrecorder/script/script.service.mjs +3 -3
- package/esm2020/lib/speechrecorder/session/audiorecorder.mjs +28 -82
- package/esm2020/lib/speechrecorder/session/basicrecorder.mjs +1 -2
- package/esm2020/lib/speechrecorder/session/controlpanel.mjs +47 -129
- package/esm2020/lib/speechrecorder/session/progress.mjs +9 -53
- package/esm2020/lib/speechrecorder/session/prompting.mjs +33 -176
- package/esm2020/lib/speechrecorder/session/recorder_combi_pane.mjs +6 -6
- package/esm2020/lib/speechrecorder/session/recording_list.mjs +8 -8
- package/esm2020/lib/speechrecorder/session/recordingfile/recording-file-meta.component.mjs +9 -13
- package/esm2020/lib/speechrecorder/session/recordingfile/recording-file-navi.component.mjs +9 -18
- package/esm2020/lib/speechrecorder/session/recordingfile/recording-file-u-i.component.mjs +10 -36
- package/esm2020/lib/speechrecorder/session/recordingfile/recording-file-view.component.mjs +10 -37
- package/esm2020/lib/speechrecorder/session/recordingfile/recordingfile-service.mjs +3 -3
- package/esm2020/lib/speechrecorder/session/session.service.mjs +3 -3
- package/esm2020/lib/speechrecorder/session/session_finished_dialog.mjs +4 -4
- package/esm2020/lib/speechrecorder/session/sessionmanager.mjs +73 -87
- package/esm2020/lib/speechrecorder/session/warning_bar.mjs +6 -29
- package/esm2020/lib/speechrecorder/spruploader.mjs +3 -3
- package/esm2020/lib/speechrecorder/startstopsignal/ui/simpletrafficlight.mjs +6 -41
- package/esm2020/lib/speechrecorderng.component.mjs +7 -18
- package/esm2020/lib/speechrecorderng.module.mjs +5 -5
- package/esm2020/lib/spr.config.mjs +3 -3
- package/esm2020/lib/spr.module.version.mjs +2 -2
- package/esm2020/lib/ui/canvas_layer_comp.mjs +3 -3
- package/esm2020/lib/ui/message_dialog.mjs +7 -7
- package/esm2020/lib/ui/recordingitem_display.mjs +19 -55
- package/esm2020/lib/utils/scrollIntoViewToBottom.mjs +3 -3
- package/fesm2015/speechrecorderng.mjs +449 -1133
- package/fesm2015/speechrecorderng.mjs.map +1 -1
- package/fesm2020/speechrecorderng.mjs +449 -1133
- package/fesm2020/speechrecorderng.mjs.map +1 -1
- package/{speechrecorderng.d.ts → index.d.ts} +0 -0
- package/lib/audio/audio_display.d.ts +1 -1
- package/lib/audio/audio_player.d.ts +1 -1
- package/lib/audio/persistor.d.ts +4 -0
- package/lib/audio/ui/audio_canvas_layer_comp.d.ts +2 -2
- package/lib/audio/ui/audio_display_control.d.ts +1 -1
- package/lib/audio/ui/audio_display_scroll_pane.d.ts +1 -1
- package/lib/audio/ui/audiosignal.d.ts +1 -1
- package/lib/audio/ui/container.d.ts +1 -1
- package/lib/audio/ui/livelevel.d.ts +2 -2
- package/lib/audio/ui/scroll_pane_horizontal.d.ts +1 -1
- package/lib/audio/ui/sonagram.d.ts +1 -1
- package/lib/speechrecorder/session/audiorecorder.d.ts +2 -2
- package/lib/speechrecorder/session/basicrecorder.d.ts +1 -2
- package/lib/speechrecorder/session/controlpanel.d.ts +7 -7
- package/lib/speechrecorder/session/progress.d.ts +1 -1
- package/lib/speechrecorder/session/prompting.d.ts +5 -5
- package/lib/speechrecorder/session/recorder_combi_pane.d.ts +1 -1
- package/lib/speechrecorder/session/recording_list.d.ts +1 -1
- package/lib/speechrecorder/session/recordingfile/recording-file-meta.component.d.ts +1 -1
- package/lib/speechrecorder/session/recordingfile/recording-file-navi.component.d.ts +1 -1
- package/lib/speechrecorder/session/recordingfile/recording-file-u-i.component.d.ts +1 -1
- package/lib/speechrecorder/session/recordingfile/recording-file-view.component.d.ts +1 -1
- package/lib/speechrecorder/session/session_finished_dialog.d.ts +1 -1
- package/lib/speechrecorder/session/sessionmanager.d.ts +3 -1
- package/lib/speechrecorder/session/warning_bar.d.ts +1 -1
- package/lib/speechrecorder/startstopsignal/ui/simpletrafficlight.d.ts +1 -1
- package/lib/speechrecorderng.component.d.ts +1 -1
- package/lib/spr.module.version.d.ts +1 -1
- package/lib/ui/canvas_layer_comp.d.ts +1 -1
- package/lib/ui/message_dialog.d.ts +1 -1
- package/lib/ui/recordingitem_display.d.ts +2 -2
- package/lib/utils/scrollIntoViewToBottom.d.ts +1 -1
- package/package.json +15 -15
|
@@ -4,35 +4,35 @@ import { timeout } from 'rxjs/operators';
|
|
|
4
4
|
import { Observable, BehaviorSubject } from 'rxjs';
|
|
5
5
|
import * as i1 from '@angular/common/http';
|
|
6
6
|
import { HttpHeaders, HttpClientModule } from '@angular/common/http';
|
|
7
|
-
import * as
|
|
7
|
+
import * as i1$1 from '@angular/common';
|
|
8
8
|
import { CommonModule } from '@angular/common';
|
|
9
|
-
import * as i1$
|
|
9
|
+
import * as i1$2 from '@angular/router';
|
|
10
10
|
import { RouterModule } from '@angular/router';
|
|
11
|
-
import * as
|
|
11
|
+
import * as i4$1 from '@angular/material/checkbox';
|
|
12
12
|
import { MatCheckbox, MatCheckboxModule } from '@angular/material/checkbox';
|
|
13
13
|
import * as i2 from '@angular/material/icon';
|
|
14
14
|
import { MatIconModule } from '@angular/material/icon';
|
|
15
|
-
import * as
|
|
15
|
+
import * as i4 from '@angular/material/tooltip';
|
|
16
16
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
17
|
-
import * as
|
|
18
|
-
import * as i1$
|
|
17
|
+
import * as i1$3 from '@angular/flex-layout/extended';
|
|
18
|
+
import * as i1$4 from '@angular/material/dialog';
|
|
19
19
|
import { MAT_DIALOG_DATA, MatDialogModule } from '@angular/material/dialog';
|
|
20
|
-
import * as i3
|
|
20
|
+
import * as i3 from '@angular/material/button';
|
|
21
21
|
import { MatButtonModule } from '@angular/material/button';
|
|
22
22
|
import { __decorate, __param } from 'tslib';
|
|
23
|
-
import * as
|
|
23
|
+
import * as i3$1 from '@angular/material/progress-spinner';
|
|
24
24
|
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
|
25
|
-
import * as
|
|
26
|
-
import * as
|
|
25
|
+
import * as i5 from '@angular/flex-layout/flex';
|
|
26
|
+
import * as i8 from '@angular/material/progress-bar';
|
|
27
27
|
import { MatProgressBarModule } from '@angular/material/progress-bar';
|
|
28
28
|
import { FlexLayoutModule } from '@angular/flex-layout';
|
|
29
|
-
import * as
|
|
29
|
+
import * as i2$1 from '@angular/material/card';
|
|
30
30
|
import { MatCardModule } from '@angular/material/card';
|
|
31
31
|
import { MatDividerModule } from '@angular/material/divider';
|
|
32
32
|
import { MatGridListModule } from '@angular/material/grid-list';
|
|
33
33
|
import * as i6 from '@angular/material/snack-bar';
|
|
34
34
|
import { MatSnackBarModule } from '@angular/material/snack-bar';
|
|
35
|
-
import * as
|
|
35
|
+
import * as i4$2 from '@angular/material/table';
|
|
36
36
|
import { MatTableDataSource, MatTableModule } from '@angular/material/table';
|
|
37
37
|
import { MatSelectModule } from '@angular/material/select';
|
|
38
38
|
import { MatInputModule } from '@angular/material/input';
|
|
@@ -169,8 +169,9 @@ class AudioPlayer {
|
|
|
169
169
|
return this._stopAction;
|
|
170
170
|
}
|
|
171
171
|
set audioClip(audioClip) {
|
|
172
|
-
|
|
173
|
-
|
|
172
|
+
this._audioClip = audioClip;
|
|
173
|
+
let length = 0;
|
|
174
|
+
let chs = 0;
|
|
174
175
|
if (audioClip && audioClip.buffer) {
|
|
175
176
|
chs = audioClip.buffer.numberOfChannels;
|
|
176
177
|
if (chs > 0) {
|
|
@@ -190,7 +191,6 @@ class AudioPlayer {
|
|
|
190
191
|
else {
|
|
191
192
|
this.audioBuffer = null;
|
|
192
193
|
}
|
|
193
|
-
this._audioClip = audioClip;
|
|
194
194
|
}
|
|
195
195
|
set audioBuffer(audioBuffer) {
|
|
196
196
|
this.stop();
|
|
@@ -1784,9 +1784,9 @@ class SpeechRecorderConfig {
|
|
|
1784
1784
|
this.withCredentials = false;
|
|
1785
1785
|
}
|
|
1786
1786
|
}
|
|
1787
|
-
SpeechRecorderConfig.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1788
|
-
SpeechRecorderConfig.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1789
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1787
|
+
SpeechRecorderConfig.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SpeechRecorderConfig, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1788
|
+
SpeechRecorderConfig.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SpeechRecorderConfig });
|
|
1789
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SpeechRecorderConfig, decorators: [{
|
|
1790
1790
|
type: Injectable
|
|
1791
1791
|
}], ctorParameters: function () { return []; } });
|
|
1792
1792
|
|
|
@@ -1838,11 +1838,11 @@ class ProjectService {
|
|
|
1838
1838
|
}
|
|
1839
1839
|
}
|
|
1840
1840
|
ProjectService.PROJECT_API_CTX = 'project';
|
|
1841
|
-
ProjectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1842
|
-
ProjectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1843
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1841
|
+
ProjectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ProjectService, deps: [{ token: i1.HttpClient }, { token: i1$1.PlatformLocation }, { token: SPEECHRECORDER_CONFIG }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1842
|
+
ProjectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ProjectService });
|
|
1843
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ProjectService, decorators: [{
|
|
1844
1844
|
type: Injectable
|
|
1845
|
-
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type:
|
|
1845
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: i1$1.PlatformLocation }, { type: SpeechRecorderConfig, decorators: [{
|
|
1846
1846
|
type: Inject,
|
|
1847
1847
|
args: [SPEECHRECORDER_CONFIG]
|
|
1848
1848
|
}] }]; } });
|
|
@@ -1896,9 +1896,9 @@ class SessionService {
|
|
|
1896
1896
|
}
|
|
1897
1897
|
}
|
|
1898
1898
|
SessionService.SESSION_API_CTX = 'session';
|
|
1899
|
-
SessionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1900
|
-
SessionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1901
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1899
|
+
SessionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SessionService, deps: [{ token: i1.HttpClient }, { token: SPEECHRECORDER_CONFIG }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1900
|
+
SessionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SessionService });
|
|
1901
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SessionService, decorators: [{
|
|
1902
1902
|
type: Injectable
|
|
1903
1903
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: SpeechRecorderConfig, decorators: [{
|
|
1904
1904
|
type: Inject,
|
|
@@ -1937,8 +1937,8 @@ class SimpleTrafficLight {
|
|
|
1937
1937
|
}
|
|
1938
1938
|
}
|
|
1939
1939
|
}
|
|
1940
|
-
SimpleTrafficLight.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1941
|
-
SimpleTrafficLight.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1940
|
+
SimpleTrafficLight.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SimpleTrafficLight, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1941
|
+
SimpleTrafficLight.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: SimpleTrafficLight, selector: "app-simpletrafficlight", inputs: { status: "status" }, ngImport: i0, template: `
|
|
1942
1942
|
|
|
1943
1943
|
<div>
|
|
1944
1944
|
<div class="circle {{lighttop}}"></div>
|
|
@@ -1946,51 +1946,16 @@ SimpleTrafficLight.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
1946
1946
|
<div class="circle {{lightbottom}}"></div>
|
|
1947
1947
|
</div>
|
|
1948
1948
|
`, isInline: true, styles: [".circle{width:50px;height:50px;border-radius:50%;margin:5px;background:grey}\n", ".red{background:red}\n", ".yellow{background:yellow}\n", ".green{background:green}\n", ".black{background:black}\n", ":host{display:flex;flex-direction:column;background:black;padding:2px;height:170px;max-height:170px;flex:0 0 content}\n"] });
|
|
1949
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1949
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SimpleTrafficLight, decorators: [{
|
|
1950
1950
|
type: Component,
|
|
1951
|
-
args: [{
|
|
1952
|
-
selector: 'app-simpletrafficlight',
|
|
1953
|
-
template: `
|
|
1951
|
+
args: [{ selector: 'app-simpletrafficlight', template: `
|
|
1954
1952
|
|
|
1955
1953
|
<div>
|
|
1956
1954
|
<div class="circle {{lighttop}}"></div>
|
|
1957
1955
|
<div class="circle {{lightmid}}"></div>
|
|
1958
1956
|
<div class="circle {{lightbottom}}"></div>
|
|
1959
1957
|
</div>
|
|
1960
|
-
`,
|
|
1961
|
-
styles: [`.circle {
|
|
1962
|
-
width: 50px;
|
|
1963
|
-
height: 50px;
|
|
1964
|
-
border-radius: 50%;
|
|
1965
|
-
margin: 5px;
|
|
1966
|
-
background: grey;
|
|
1967
|
-
}`, `.red {
|
|
1968
|
-
background: red;
|
|
1969
|
-
}
|
|
1970
|
-
`, `
|
|
1971
|
-
.yellow {
|
|
1972
|
-
background: yellow;
|
|
1973
|
-
}
|
|
1974
|
-
`, `
|
|
1975
|
-
.green {
|
|
1976
|
-
background: green;
|
|
1977
|
-
}
|
|
1978
|
-
`, `
|
|
1979
|
-
.black {
|
|
1980
|
-
background: black;
|
|
1981
|
-
}`,
|
|
1982
|
-
`:host {
|
|
1983
|
-
display: flex;
|
|
1984
|
-
flex-direction: column;
|
|
1985
|
-
background: black;
|
|
1986
|
-
|
|
1987
|
-
padding: 2px;
|
|
1988
|
-
height: 170px;
|
|
1989
|
-
max-height: 170px;
|
|
1990
|
-
flex: 0 0 content;
|
|
1991
|
-
}
|
|
1992
|
-
`]
|
|
1993
|
-
}]
|
|
1958
|
+
`, styles: [".circle{width:50px;height:50px;border-radius:50%;margin:5px;background:grey}\n", ".red{background:red}\n", ".yellow{background:yellow}\n", ".green{background:green}\n", ".black{background:black}\n", ":host{display:flex;flex-direction:column;background:black;padding:2px;height:170px;max-height:170px;flex:0 0 content}\n"] }]
|
|
1994
1959
|
}], ctorParameters: function () { return []; }, propDecorators: { status: [{
|
|
1995
1960
|
type: Input
|
|
1996
1961
|
}] } });
|
|
@@ -2052,15 +2017,16 @@ class CanvasLayerComponent {
|
|
|
2052
2017
|
}
|
|
2053
2018
|
}
|
|
2054
2019
|
}
|
|
2055
|
-
CanvasLayerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2056
|
-
CanvasLayerComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2057
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2020
|
+
CanvasLayerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CanvasLayerComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2021
|
+
CanvasLayerComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: CanvasLayerComponent, ngImport: i0 });
|
|
2022
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CanvasLayerComponent, decorators: [{
|
|
2058
2023
|
type: Directive
|
|
2059
2024
|
}], ctorParameters: function () { return []; } });
|
|
2060
2025
|
|
|
2061
2026
|
class AudioClip {
|
|
2062
2027
|
constructor(buffer) {
|
|
2063
2028
|
this._selection = null;
|
|
2029
|
+
this._levelInfos = null;
|
|
2064
2030
|
this.selectionObservers = new Array();
|
|
2065
2031
|
this._buffer = buffer;
|
|
2066
2032
|
}
|
|
@@ -2082,6 +2048,12 @@ class AudioClip {
|
|
|
2082
2048
|
selObs(this);
|
|
2083
2049
|
}
|
|
2084
2050
|
}
|
|
2051
|
+
get levelInfos() {
|
|
2052
|
+
return this._levelInfos;
|
|
2053
|
+
}
|
|
2054
|
+
set levelInfos(value) {
|
|
2055
|
+
this._levelInfos = value;
|
|
2056
|
+
}
|
|
2085
2057
|
addSelectionObserver(selectionObserver, init = false) {
|
|
2086
2058
|
let obsAlreadyInList = this.selectionObservers.find((obs) => (obs === selectionObserver));
|
|
2087
2059
|
if (!obsAlreadyInList) {
|
|
@@ -2287,9 +2259,9 @@ class BasicAudioCanvasLayerComponent extends CanvasLayerComponent {
|
|
|
2287
2259
|
//});
|
|
2288
2260
|
}
|
|
2289
2261
|
}
|
|
2290
|
-
BasicAudioCanvasLayerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2291
|
-
BasicAudioCanvasLayerComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2292
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2262
|
+
BasicAudioCanvasLayerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: BasicAudioCanvasLayerComponent, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2263
|
+
BasicAudioCanvasLayerComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: BasicAudioCanvasLayerComponent, usesInheritance: true, ngImport: i0 });
|
|
2264
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: BasicAudioCanvasLayerComponent, decorators: [{
|
|
2293
2265
|
type: Directive
|
|
2294
2266
|
}] });
|
|
2295
2267
|
class AudioCanvasLayerComponent extends BasicAudioCanvasLayerComponent {
|
|
@@ -2490,9 +2462,9 @@ class AudioCanvasLayerComponent extends BasicAudioCanvasLayerComponent {
|
|
|
2490
2462
|
}
|
|
2491
2463
|
}
|
|
2492
2464
|
}
|
|
2493
|
-
AudioCanvasLayerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2494
|
-
AudioCanvasLayerComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2495
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2465
|
+
AudioCanvasLayerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AudioCanvasLayerComponent, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2466
|
+
AudioCanvasLayerComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: AudioCanvasLayerComponent, inputs: { pointerPosition: "pointerPosition", selecting: "selecting", selection: "selection" }, outputs: { pointerPositionEventEmitter: "pointerPositionEventEmitter", selectingEventEmitter: "selectingEventEmitter", selectedEventEmitter: "selectedEventEmitter" }, host: { listeners: { "document:mouseup": "onMouseup($event)" } }, viewQueries: [{ propertyName: "bgCanvasRef", first: true, predicate: ["bg"], descendants: true, static: true }, { propertyName: "cursorCanvasRef", first: true, predicate: ["cursor"], descendants: true, static: true }], usesInheritance: true, ngImport: i0 });
|
|
2467
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AudioCanvasLayerComponent, decorators: [{
|
|
2496
2468
|
type: Directive
|
|
2497
2469
|
}], propDecorators: { bgCanvasRef: [{
|
|
2498
2470
|
type: ViewChild,
|
|
@@ -2815,34 +2787,21 @@ class AudioSignal extends AudioCanvasLayerComponent {
|
|
|
2815
2787
|
this.playFramePosition = 0;
|
|
2816
2788
|
}
|
|
2817
2789
|
}
|
|
2818
|
-
AudioSignal.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2819
|
-
AudioSignal.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
2790
|
+
AudioSignal.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AudioSignal, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2791
|
+
AudioSignal.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: AudioSignal, selector: "audio-signal", viewQueries: [{ propertyName: "audioSignalCanvasRef", first: true, predicate: ["audioSignal"], descendants: true, static: true }, { propertyName: "playPosCanvasRef", first: true, predicate: ["marker"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
2820
2792
|
<canvas #bg height="10"></canvas>
|
|
2821
2793
|
<canvas #audioSignal height="10"></canvas>
|
|
2822
2794
|
<canvas #cursor height="10" (mousedown)="selectionStart($event)" (mouseover)="updateCursorCanvas($event)" (mousemove)="updateCursorCanvas($event)"
|
|
2823
2795
|
(mouseleave)="updateCursorCanvas($event, false)"></canvas>
|
|
2824
2796
|
<canvas #marker height="10"></canvas>`, isInline: true, styles: [":host{min-height:0px}\n", "canvas{top:0;left:0;width:0;height:0;min-height:0px;position:absolute}\n"] });
|
|
2825
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2797
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AudioSignal, decorators: [{
|
|
2826
2798
|
type: Component,
|
|
2827
|
-
args: [{
|
|
2828
|
-
selector: 'audio-signal',
|
|
2829
|
-
template: `
|
|
2799
|
+
args: [{ selector: 'audio-signal', template: `
|
|
2830
2800
|
<canvas #bg height="10"></canvas>
|
|
2831
2801
|
<canvas #audioSignal height="10"></canvas>
|
|
2832
2802
|
<canvas #cursor height="10" (mousedown)="selectionStart($event)" (mouseover)="updateCursorCanvas($event)" (mousemove)="updateCursorCanvas($event)"
|
|
2833
2803
|
(mouseleave)="updateCursorCanvas($event, false)"></canvas>
|
|
2834
|
-
<canvas #marker height="10"></canvas>`,
|
|
2835
|
-
styles: [`:host{
|
|
2836
|
-
min-height: 0px;
|
|
2837
|
-
}`, `canvas {
|
|
2838
|
-
top: 0;
|
|
2839
|
-
left: 0;
|
|
2840
|
-
width: 0;
|
|
2841
|
-
height: 0;
|
|
2842
|
-
min-height: 0px;
|
|
2843
|
-
position: absolute;
|
|
2844
|
-
}`]
|
|
2845
|
-
}]
|
|
2804
|
+
<canvas #marker height="10"></canvas>`, styles: [":host{min-height:0px}\n", "canvas{top:0;left:0;width:0;height:0;min-height:0px;position:absolute}\n"] }]
|
|
2846
2805
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { audioSignalCanvasRef: [{
|
|
2847
2806
|
type: ViewChild,
|
|
2848
2807
|
args: ['audioSignal', { static: true }]
|
|
@@ -3798,34 +3757,21 @@ class Sonagram extends AudioCanvasLayerComponent {
|
|
|
3798
3757
|
//this.startRender();
|
|
3799
3758
|
}
|
|
3800
3759
|
}
|
|
3801
|
-
Sonagram.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3802
|
-
Sonagram.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
3760
|
+
Sonagram.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: Sonagram, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
3761
|
+
Sonagram.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: Sonagram, selector: "audio-sonagram", viewQueries: [{ propertyName: "sonagramCanvasRef", first: true, predicate: ["sonagram"], descendants: true, static: true }, { propertyName: "markerCanvasRef", first: true, predicate: ["marker"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
3803
3762
|
<canvas #sonagram height="10"></canvas>
|
|
3804
3763
|
<canvas #bg height="10"></canvas>
|
|
3805
3764
|
<canvas #cursor height="10" (mousedown)="selectionStart($event)" (mouseover)="updateCursorCanvas($event)" (mousemove)="updateCursorCanvas($event)"
|
|
3806
3765
|
(mouseleave)="updateCursorCanvas($event, false)"></canvas>
|
|
3807
3766
|
<canvas #marker height="10"></canvas>`, isInline: true, styles: [":host{min-height:0px}\n", "canvas{top:0;left:0;width:0;height:0;min-height:0px;position:absolute}\n"] });
|
|
3808
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3767
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: Sonagram, decorators: [{
|
|
3809
3768
|
type: Component,
|
|
3810
|
-
args: [{
|
|
3811
|
-
selector: 'audio-sonagram',
|
|
3812
|
-
template: `
|
|
3769
|
+
args: [{ selector: 'audio-sonagram', template: `
|
|
3813
3770
|
<canvas #sonagram height="10"></canvas>
|
|
3814
3771
|
<canvas #bg height="10"></canvas>
|
|
3815
3772
|
<canvas #cursor height="10" (mousedown)="selectionStart($event)" (mouseover)="updateCursorCanvas($event)" (mousemove)="updateCursorCanvas($event)"
|
|
3816
3773
|
(mouseleave)="updateCursorCanvas($event, false)"></canvas>
|
|
3817
|
-
<canvas #marker height="10"></canvas>`,
|
|
3818
|
-
styles: [`:host{
|
|
3819
|
-
min-height: 0px;
|
|
3820
|
-
}`, `canvas {
|
|
3821
|
-
top: 0;
|
|
3822
|
-
left: 0;
|
|
3823
|
-
width: 0;
|
|
3824
|
-
height: 0;
|
|
3825
|
-
min-height: 0px;
|
|
3826
|
-
position: absolute;
|
|
3827
|
-
}`]
|
|
3828
|
-
}]
|
|
3774
|
+
<canvas #marker height="10"></canvas>`, styles: [":host{min-height:0px}\n", "canvas{top:0;left:0;width:0;height:0;min-height:0px;position:absolute}\n"] }]
|
|
3829
3775
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { sonagramCanvasRef: [{
|
|
3830
3776
|
type: ViewChild,
|
|
3831
3777
|
args: ['sonagram', { static: true }]
|
|
@@ -4170,62 +4116,25 @@ class AudioClipUIContainer extends BasicAudioCanvasLayerComponent {
|
|
|
4170
4116
|
}
|
|
4171
4117
|
}
|
|
4172
4118
|
AudioClipUIContainer.DIVIDER_PIXEL_SIZE = 10;
|
|
4173
|
-
AudioClipUIContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4174
|
-
AudioClipUIContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
4119
|
+
AudioClipUIContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AudioClipUIContainer, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4120
|
+
AudioClipUIContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: AudioClipUIContainer, selector: "app-audio", inputs: { audioData: "audioData", audioClip: "audioClip" }, outputs: { selectionEventEmitter: "selectionEventEmitter" }, host: { listeners: { "window:resize": "onResize($event)", "document:mouseup": "onMouseup($event)", "document:mousemove": "onMousemove($event)" } }, viewQueries: [{ propertyName: "canvasRef", first: true, predicate: ["divider"], descendants: true, static: true }, { propertyName: "ceRef", first: true, predicate: ["virtualCanvas"], descendants: true, static: true }, { propertyName: "as", first: true, predicate: AudioSignal, descendants: true, static: true }, { propertyName: "so", first: true, predicate: Sonagram, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
4175
4121
|
<div #virtualCanvas>
|
|
4176
4122
|
<canvas #divider (mousedown)="mousedown($event)" (mouseover)="mouseover($event)"
|
|
4177
4123
|
(mouseleave)="mouseleave($event)" height="10"></canvas>
|
|
4178
4124
|
<audio-signal [pointerPosition]="pointer" [selecting]="selecting" [selection]="selection" (pointerPositionEventEmitter)="pointerPositionChanged($event)" (selectingEventEmitter)="selectingChanged($event)" (selectedEventEmitter)="selectionChanged($event)"></audio-signal>
|
|
4179
4125
|
<audio-sonagram [pointerPosition]="pointer" [selecting]="selecting" [selection]="selection" (pointerPositionEventEmitter)="pointerPositionChanged($event)" (selectingEventEmitter)="selectingChanged($event)" (selectedEventEmitter)="selectionChanged($event)"></audio-sonagram>
|
|
4180
4126
|
</div>
|
|
4181
|
-
`, isInline: true, styles: ["div{margin:0;padding:0;top:0;left:0;width:100%;height:100%;position:relative;box-sizing:border-box;transform:none;overflow:hidden}\n", "canvas{top:0;left:0;width:0;height:0;cursor:ns-resize;position:absolute;zIndex:1;transform:none}\n", "audio-signal{top:0;left:0;position:absolute;zIndex:1;transform:none}\n", "audio-sonagram{top:0;left:0;position:absolute;zIndex:1;transform:none}\n"],
|
|
4182
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4127
|
+
`, isInline: true, styles: ["div{margin:0;padding:0;top:0;left:0;width:100%;height:100%;position:relative;box-sizing:border-box;transform:none;overflow:hidden}\n", "canvas{top:0;left:0;width:0;height:0;cursor:ns-resize;position:absolute;zIndex:1;transform:none}\n", "audio-signal{top:0;left:0;position:absolute;zIndex:1;transform:none}\n", "audio-sonagram{top:0;left:0;position:absolute;zIndex:1;transform:none}\n"], dependencies: [{ kind: "component", type: AudioSignal, selector: "audio-signal" }, { kind: "component", type: Sonagram, selector: "audio-sonagram" }] });
|
|
4128
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AudioClipUIContainer, decorators: [{
|
|
4183
4129
|
type: Component,
|
|
4184
|
-
args: [{
|
|
4185
|
-
selector: 'app-audio',
|
|
4186
|
-
template: `
|
|
4130
|
+
args: [{ selector: 'app-audio', template: `
|
|
4187
4131
|
<div #virtualCanvas>
|
|
4188
4132
|
<canvas #divider (mousedown)="mousedown($event)" (mouseover)="mouseover($event)"
|
|
4189
4133
|
(mouseleave)="mouseleave($event)" height="10"></canvas>
|
|
4190
4134
|
<audio-signal [pointerPosition]="pointer" [selecting]="selecting" [selection]="selection" (pointerPositionEventEmitter)="pointerPositionChanged($event)" (selectingEventEmitter)="selectingChanged($event)" (selectedEventEmitter)="selectionChanged($event)"></audio-signal>
|
|
4191
4135
|
<audio-sonagram [pointerPosition]="pointer" [selecting]="selecting" [selection]="selection" (pointerPositionEventEmitter)="pointerPositionChanged($event)" (selectingEventEmitter)="selectingChanged($event)" (selectedEventEmitter)="selectionChanged($event)"></audio-sonagram>
|
|
4192
4136
|
</div>
|
|
4193
|
-
`,
|
|
4194
|
-
styles: [`div {
|
|
4195
|
-
|
|
4196
|
-
margin: 0;
|
|
4197
|
-
padding: 0;
|
|
4198
|
-
top: 0;
|
|
4199
|
-
left: 0;
|
|
4200
|
-
width: 100%;
|
|
4201
|
-
height: 100%;
|
|
4202
|
-
position: relative; /* TODO container div position must not be 'static' (default) to act as reference for the canvases */
|
|
4203
|
-
box-sizing: border-box;
|
|
4204
|
-
transform: none;
|
|
4205
|
-
overflow: hidden;
|
|
4206
|
-
}`, `canvas{
|
|
4207
|
-
top: 0;
|
|
4208
|
-
left: 0;
|
|
4209
|
-
width: 0;
|
|
4210
|
-
height: 0;
|
|
4211
|
-
cursor: ns-resize;
|
|
4212
|
-
position: absolute;
|
|
4213
|
-
zIndex: 1;
|
|
4214
|
-
transform: none;
|
|
4215
|
-
}`, `audio-signal {
|
|
4216
|
-
top: 0;
|
|
4217
|
-
left: 0;
|
|
4218
|
-
position: absolute;
|
|
4219
|
-
zIndex: 1;
|
|
4220
|
-
transform: none;
|
|
4221
|
-
}`, `audio-sonagram {
|
|
4222
|
-
top: 0;
|
|
4223
|
-
left: 0;
|
|
4224
|
-
position: absolute;
|
|
4225
|
-
zIndex: 1;
|
|
4226
|
-
transform: none;
|
|
4227
|
-
}`]
|
|
4228
|
-
}]
|
|
4137
|
+
`, styles: ["div{margin:0;padding:0;top:0;left:0;width:100%;height:100%;position:relative;box-sizing:border-box;transform:none;overflow:hidden}\n", "canvas{top:0;left:0;width:0;height:0;cursor:ns-resize;position:absolute;zIndex:1;transform:none}\n", "audio-signal{top:0;left:0;position:absolute;zIndex:1;transform:none}\n", "audio-sonagram{top:0;left:0;position:absolute;zIndex:1;transform:none}\n"] }]
|
|
4229
4138
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { canvasRef: [{
|
|
4230
4139
|
type: ViewChild,
|
|
4231
4140
|
args: ['divider', { static: true }]
|
|
@@ -4365,46 +4274,19 @@ class AudioDisplayScrollPane {
|
|
|
4365
4274
|
this.ac.playFramePosition = framePos;
|
|
4366
4275
|
}
|
|
4367
4276
|
}
|
|
4368
|
-
AudioDisplayScrollPane.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4369
|
-
AudioDisplayScrollPane.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
4277
|
+
AudioDisplayScrollPane.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AudioDisplayScrollPane, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4278
|
+
AudioDisplayScrollPane.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: AudioDisplayScrollPane, selector: "audio-display-scroll-pane", inputs: { audioClip: "audioClip" }, outputs: { zoomInAction: "zoomInAction", zoomOutAction: "zoomOutAction", zoomSelectedAction: "zoomSelectedAction", zoomFitToPanelAction: "zoomFitToPanelAction" }, host: { listeners: { "scroll": "onScroll($event)", "window:resize": "onResize($event)" } }, viewQueries: [{ propertyName: "ac", first: true, predicate: AudioClipUIContainer, descendants: true, static: true }], ngImport: i0, template: `
|
|
4370
4279
|
|
|
4371
4280
|
<app-audio #audioSignalContainer (selectionEventEmitter)="selectionChanged($event)"></app-audio>
|
|
4372
4281
|
|
|
4373
|
-
`, isInline: true, styles: [":host{flex:2;width:100%;background:darkgray;box-sizing:border-box;height:100%;position:relative;overflow-x:scroll;overflow-y:auto}\n", "app-audio{margin:0;padding:0;top:0;left:0;width:100%;height:100%;box-sizing:border-box}\n"],
|
|
4374
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4282
|
+
`, isInline: true, styles: [":host{flex:2;width:100%;background:darkgray;box-sizing:border-box;height:100%;position:relative;overflow-x:scroll;overflow-y:auto}\n", "app-audio{margin:0;padding:0;top:0;left:0;width:100%;height:100%;box-sizing:border-box}\n"], dependencies: [{ kind: "component", type: AudioClipUIContainer, selector: "app-audio", inputs: ["audioData", "audioClip"], outputs: ["selectionEventEmitter"] }] });
|
|
4283
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AudioDisplayScrollPane, decorators: [{
|
|
4375
4284
|
type: Component,
|
|
4376
|
-
args: [{
|
|
4377
|
-
selector: 'audio-display-scroll-pane',
|
|
4378
|
-
template: `
|
|
4285
|
+
args: [{ selector: 'audio-display-scroll-pane', template: `
|
|
4379
4286
|
|
|
4380
4287
|
<app-audio #audioSignalContainer (selectionEventEmitter)="selectionChanged($event)"></app-audio>
|
|
4381
4288
|
|
|
4382
|
-
`,
|
|
4383
|
-
styles: [
|
|
4384
|
-
`:host {
|
|
4385
|
-
flex: 2;
|
|
4386
|
-
width: 100%;
|
|
4387
|
-
background: darkgray;
|
|
4388
|
-
box-sizing: border-box;
|
|
4389
|
-
height: 100%;
|
|
4390
|
-
position: relative;
|
|
4391
|
-
overflow-x: scroll;
|
|
4392
|
-
overflow-y: auto;
|
|
4393
|
-
}`,
|
|
4394
|
-
`app-audio {
|
|
4395
|
-
|
|
4396
|
-
margin: 0;
|
|
4397
|
-
padding: 0;
|
|
4398
|
-
top: 0;
|
|
4399
|
-
left: 0;
|
|
4400
|
-
width: 100%;
|
|
4401
|
-
height: 100%;
|
|
4402
|
-
|
|
4403
|
-
/*position: absolute;*/
|
|
4404
|
-
box-sizing: border-box;
|
|
4405
|
-
}`
|
|
4406
|
-
]
|
|
4407
|
-
}]
|
|
4289
|
+
`, styles: [":host{flex:2;width:100%;background:darkgray;box-sizing:border-box;height:100%;position:relative;overflow-x:scroll;overflow-y:auto}\n", "app-audio{margin:0;padding:0;top:0;left:0;width:100%;height:100%;box-sizing:border-box}\n"] }]
|
|
4408
4290
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { zoomInAction: [{
|
|
4409
4291
|
type: Output
|
|
4410
4292
|
}], zoomOutAction: [{
|
|
@@ -4458,8 +4340,8 @@ class AudioDisplayControl {
|
|
|
4458
4340
|
this.status = 'ERROR';
|
|
4459
4341
|
}
|
|
4460
4342
|
}
|
|
4461
|
-
AudioDisplayControl.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4462
|
-
AudioDisplayControl.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
4343
|
+
AudioDisplayControl.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AudioDisplayControl, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4344
|
+
AudioDisplayControl.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: AudioDisplayControl, selector: "audio-display-control", inputs: { audioClip: "audioClip", playStartAction: "playStartAction", playSelectionAction: "playSelectionAction", playStopAction: "playStopAction", zoomInAction: "zoomInAction", zoomOutAction: "zoomOutAction", zoomFitToPanelAction: "zoomFitToPanelAction", zoomSelectedAction: "zoomSelectedAction", autoPlayOnSelectToggleAction: "autoPlayOnSelectToggleAction" }, viewQueries: [{ propertyName: "autoplaySelectedCheckbox", first: true, predicate: MatCheckbox, descendants: true, static: true }], ngImport: i0, template: `
|
|
4463
4345
|
<div #controlPanel style="display:flex;flex-direction: row;">
|
|
4464
4346
|
<fieldset>
|
|
4465
4347
|
|
|
@@ -4502,12 +4384,10 @@ AudioDisplayControl.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
4502
4384
|
</button>
|
|
4503
4385
|
|
|
4504
4386
|
</fieldset>
|
|
4505
|
-
</div>`, isInline: true, styles: [":host{flex:0}\n"],
|
|
4506
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4387
|
+
</div>`, isInline: true, styles: [":host{flex:0}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i4.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "component", type: i4$1.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }] });
|
|
4388
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AudioDisplayControl, decorators: [{
|
|
4507
4389
|
type: Component,
|
|
4508
|
-
args: [{
|
|
4509
|
-
selector: 'audio-display-control',
|
|
4510
|
-
template: `
|
|
4390
|
+
args: [{ selector: 'audio-display-control', template: `
|
|
4511
4391
|
<div #controlPanel style="display:flex;flex-direction: row;">
|
|
4512
4392
|
<fieldset>
|
|
4513
4393
|
|
|
@@ -4550,14 +4430,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
4550
4430
|
</button>
|
|
4551
4431
|
|
|
4552
4432
|
</fieldset>
|
|
4553
|
-
</div>`,
|
|
4554
|
-
styles: [
|
|
4555
|
-
`:host {
|
|
4556
|
-
flex: 0;
|
|
4557
|
-
|
|
4558
|
-
}`
|
|
4559
|
-
]
|
|
4560
|
-
}]
|
|
4433
|
+
</div>`, styles: [":host{flex:0}\n"] }]
|
|
4561
4434
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { audioClip: [{
|
|
4562
4435
|
type: Input
|
|
4563
4436
|
}], autoplaySelectedCheckbox: [{
|
|
@@ -4645,8 +4518,8 @@ class AudioDisplay {
|
|
|
4645
4518
|
this.status = 'ERROR';
|
|
4646
4519
|
}
|
|
4647
4520
|
}
|
|
4648
|
-
AudioDisplay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4649
|
-
AudioDisplay.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
4521
|
+
AudioDisplay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AudioDisplay, deps: [{ token: i1$2.ActivatedRoute }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4522
|
+
AudioDisplay.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: AudioDisplay, selector: "app-audiodisplay", inputs: { playStartAction: "playStartAction", playStopAction: "playStopAction", playSelectionAction: "playSelectionAction", autoPlayOnSelectToggleAction: "autoPlayOnSelectToggleAction", audioData: "audioData", audioClip: "audioClip" }, viewQueries: [{ propertyName: "audioDisplayScrollPane", first: true, predicate: AudioDisplayScrollPane, descendants: true, static: true }], ngImport: i0, template: `
|
|
4650
4523
|
|
|
4651
4524
|
<audio-display-scroll-pane #audioDisplayScrollPane></audio-display-scroll-pane>
|
|
4652
4525
|
|
|
@@ -4659,12 +4532,10 @@ AudioDisplay.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
|
4659
4532
|
[zoomOutAction]="zoomOutAction"
|
|
4660
4533
|
[zoomSelectedAction]="zoomSelectedAction"
|
|
4661
4534
|
[zoomFitToPanelAction]="zoomFitToPanelAction"></audio-display-control>
|
|
4662
|
-
`, isInline: true, styles: [":host{display:flex;flex-direction:column;position:absolute;bottom:0px;height:100%;width:100%;overflow:hidden;padding:20px;z-index:5;box-sizing:border-box;background-color:#e6e6e6}\n", "legend{margin-left:1em;padding:.2em .8em;font-size:.8em}\n", "fieldset{border:1px darkgray solid}\n"],
|
|
4663
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4535
|
+
`, isInline: true, styles: [":host{display:flex;flex-direction:column;position:absolute;bottom:0px;height:100%;width:100%;overflow:hidden;padding:20px;z-index:5;box-sizing:border-box;background-color:#e6e6e6}\n", "legend{margin-left:1em;padding:.2em .8em;font-size:.8em}\n", "fieldset{border:1px darkgray solid}\n"], dependencies: [{ kind: "component", type: AudioDisplayScrollPane, selector: "audio-display-scroll-pane", inputs: ["audioClip"], outputs: ["zoomInAction", "zoomOutAction", "zoomSelectedAction", "zoomFitToPanelAction"] }, { kind: "component", type: AudioDisplayControl, selector: "audio-display-control", inputs: ["audioClip", "playStartAction", "playSelectionAction", "playStopAction", "zoomInAction", "zoomOutAction", "zoomFitToPanelAction", "zoomSelectedAction", "autoPlayOnSelectToggleAction"] }] });
|
|
4536
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AudioDisplay, decorators: [{
|
|
4664
4537
|
type: Component,
|
|
4665
|
-
args: [{
|
|
4666
|
-
selector: 'app-audiodisplay',
|
|
4667
|
-
template: `
|
|
4538
|
+
args: [{ selector: 'app-audiodisplay', template: `
|
|
4668
4539
|
|
|
4669
4540
|
<audio-display-scroll-pane #audioDisplayScrollPane></audio-display-scroll-pane>
|
|
4670
4541
|
|
|
@@ -4677,31 +4548,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
4677
4548
|
[zoomOutAction]="zoomOutAction"
|
|
4678
4549
|
[zoomSelectedAction]="zoomSelectedAction"
|
|
4679
4550
|
[zoomFitToPanelAction]="zoomFitToPanelAction"></audio-display-control>
|
|
4680
|
-
`,
|
|
4681
|
-
|
|
4682
|
-
`:host {
|
|
4683
|
-
display: flex;
|
|
4684
|
-
flex-direction: column;
|
|
4685
|
-
position: absolute;
|
|
4686
|
-
bottom: 0px;
|
|
4687
|
-
height: 100%;
|
|
4688
|
-
width: 100%;
|
|
4689
|
-
overflow: hidden;
|
|
4690
|
-
padding: 20px;
|
|
4691
|
-
z-index: 5;
|
|
4692
|
-
box-sizing: border-box;
|
|
4693
|
-
background-color: rgba(230, 230, 230, 1.0)
|
|
4694
|
-
}`, `
|
|
4695
|
-
legend{
|
|
4696
|
-
margin-left: 1em; padding: 0.2em 0.8em;font-size: 0.8em;
|
|
4697
|
-
}`, `
|
|
4698
|
-
fieldset{
|
|
4699
|
-
border: 1px darkgray solid
|
|
4700
|
-
}
|
|
4701
|
-
`
|
|
4702
|
-
]
|
|
4703
|
-
}]
|
|
4704
|
-
}], ctorParameters: function () { return [{ type: i1$1.ActivatedRoute }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }]; }, propDecorators: { playStartAction: [{
|
|
4551
|
+
`, styles: [":host{display:flex;flex-direction:column;position:absolute;bottom:0px;height:100%;width:100%;overflow:hidden;padding:20px;z-index:5;box-sizing:border-box;background-color:#e6e6e6}\n", "legend{margin-left:1em;padding:.2em .8em;font-size:.8em}\n", "fieldset{border:1px darkgray solid}\n"] }]
|
|
4552
|
+
}], ctorParameters: function () { return [{ type: i1$2.ActivatedRoute }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }]; }, propDecorators: { playStartAction: [{
|
|
4705
4553
|
type: Input
|
|
4706
4554
|
}], playStopAction: [{
|
|
4707
4555
|
type: Input
|
|
@@ -4728,9 +4576,9 @@ class ScrollIntoViewDirective {
|
|
|
4728
4576
|
}
|
|
4729
4577
|
}
|
|
4730
4578
|
}
|
|
4731
|
-
ScrollIntoViewDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4732
|
-
ScrollIntoViewDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
4733
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4579
|
+
ScrollIntoViewDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ScrollIntoViewDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4580
|
+
ScrollIntoViewDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: ScrollIntoViewDirective, selector: "[scrollIntoViewToBottom]", inputs: { scrollIntoViewToBottom: "scrollIntoViewToBottom" }, ngImport: i0 });
|
|
4581
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ScrollIntoViewDirective, decorators: [{
|
|
4734
4582
|
type: Directive,
|
|
4735
4583
|
args: [{
|
|
4736
4584
|
selector: "[scrollIntoViewToBottom]"
|
|
@@ -4764,8 +4612,8 @@ class Progress {
|
|
|
4764
4612
|
}
|
|
4765
4613
|
}
|
|
4766
4614
|
}
|
|
4767
|
-
Progress.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4768
|
-
Progress.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
4615
|
+
Progress.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: Progress, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4616
|
+
Progress.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: Progress, selector: "app-sprprogress", inputs: { items: "items", selectedItemIdx: "selectedItemIdx", enableDownload: "enableDownload" }, outputs: { onRowSelect: "onRowSelect", rowSelect: "rowSelect", onShowDoneAction: "onShowDoneAction", clickDone: "clickDone", onDownloadDoneAction: "onDownloadDoneAction", clickDownloadDone: "clickDownloadDone" }, ngImport: i0, template: `
|
|
4769
4617
|
|
|
4770
4618
|
<table class="mat-typography">
|
|
4771
4619
|
<thead>
|
|
@@ -4792,12 +4640,10 @@ Progress.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
|
4792
4640
|
|
|
4793
4641
|
</tbody>
|
|
4794
4642
|
</table>
|
|
4795
|
-
`, isInline: true, styles: [":host{overflow-x:hidden;overflow-y:scroll;padding:10pt;flex:.1 0 content;background:white;min-height:1px}\n", "table{min-height:1px;border-collapse:collapse}table,th,td{border:1px solid lightgrey;padding:.5em}\n", ".selRow{background:lightblue}\n", ".promptDescriptor{max-width:200px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}\n"],
|
|
4796
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4643
|
+
`, isInline: true, styles: [":host{overflow-x:hidden;overflow-y:scroll;padding:10pt;flex:.1 0 content;background:white;min-height:1px}\n", "table{min-height:1px;border-collapse:collapse}table,th,td{border:1px solid lightgrey;padding:.5em}\n", ".selRow{background:lightblue}\n", ".promptDescriptor{max-width:200px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}\n"], dependencies: [{ kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: ScrollIntoViewDirective, selector: "[scrollIntoViewToBottom]", inputs: ["scrollIntoViewToBottom"] }] });
|
|
4644
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: Progress, decorators: [{
|
|
4797
4645
|
type: Component,
|
|
4798
|
-
args: [{
|
|
4799
|
-
selector: 'app-sprprogress',
|
|
4800
|
-
template: `
|
|
4646
|
+
args: [{ selector: 'app-sprprogress', template: `
|
|
4801
4647
|
|
|
4802
4648
|
<table class="mat-typography">
|
|
4803
4649
|
<thead>
|
|
@@ -4824,49 +4670,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
4824
4670
|
|
|
4825
4671
|
</tbody>
|
|
4826
4672
|
</table>
|
|
4827
|
-
`,
|
|
4828
|
-
styles: [`:host {
|
|
4829
|
-
overflow-x: hidden;
|
|
4830
|
-
overflow-y: scroll;
|
|
4831
|
-
padding: 10pt;
|
|
4832
|
-
/*flex: 0.1 0 300px;
|
|
4833
|
-
min-width: 300px; */
|
|
4834
|
-
flex: 0.1 0 content;
|
|
4835
|
-
background: white;
|
|
4836
|
-
/* Workaround for Firefox
|
|
4837
|
-
If the progress table gets long (script with many items) FF increases the height of the overflow progressContainer and
|
|
4838
|
-
the whole app does not fit into the page anymore. The app overflows and shows a vertical scrollbar for the whole app.
|
|
4839
|
-
See http://stackoverflow.com/questions/28636832/firefox-overflow-y-not-working-with-nested-flexbox
|
|
4840
|
-
*/
|
|
4841
|
-
/* min-height:0px; */
|
|
4842
|
-
min-height: 1px;
|
|
4843
|
-
}`,
|
|
4844
|
-
`table {
|
|
4845
|
-
min-height: 1px;
|
|
4846
|
-
border-collapse: collapse;
|
|
4847
|
-
/* Tables do not have a natural min size */
|
|
4848
|
-
/*min-width: 300px; */
|
|
4849
|
-
|
|
4850
|
-
}
|
|
4851
|
-
|
|
4852
|
-
table, th, td {
|
|
4853
|
-
border: 1px solid lightgrey;
|
|
4854
|
-
padding: 0.5em;
|
|
4855
|
-
|
|
4856
|
-
}
|
|
4857
|
-
|
|
4858
|
-
`, `
|
|
4859
|
-
.selRow {
|
|
4860
|
-
background: lightblue;
|
|
4861
|
-
}
|
|
4862
|
-
`, `.promptDescriptor{
|
|
4863
|
-
|
|
4864
|
-
max-width: 200px;
|
|
4865
|
-
text-overflow: ellipsis;
|
|
4866
|
-
overflow: hidden;
|
|
4867
|
-
white-space: nowrap;
|
|
4868
|
-
}`]
|
|
4869
|
-
}]
|
|
4673
|
+
`, styles: [":host{overflow-x:hidden;overflow-y:scroll;padding:10pt;flex:.1 0 content;background:white;min-height:1px}\n", "table{min-height:1px;border-collapse:collapse}table,th,td{border:1px solid lightgrey;padding:.5em}\n", ".selRow{background:lightblue}\n", ".promptDescriptor{max-width:200px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}\n"] }]
|
|
4870
4674
|
}], propDecorators: { items: [{
|
|
4871
4675
|
type: Input
|
|
4872
4676
|
}], selectedItemIdx: [{
|
|
@@ -4899,31 +4703,17 @@ class Recinstructions {
|
|
|
4899
4703
|
return riTxt;
|
|
4900
4704
|
}
|
|
4901
4705
|
}
|
|
4902
|
-
Recinstructions.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4903
|
-
Recinstructions.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
4706
|
+
Recinstructions.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: Recinstructions, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4707
|
+
Recinstructions.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: Recinstructions, selector: "spr-recinstructions", inputs: { recinstructions: "recinstructions", selectedItemIdx: "selectedItemIdx", itemCount: "itemCount" }, ngImport: i0, template: `
|
|
4904
4708
|
|
|
4905
4709
|
{{displayText()}}
|
|
4906
4710
|
`, isInline: true, styles: [":host{justify-content:left;align-items:flex-start;background:white;text-align:left;font-size:1em;flex:0;width:100%}\n"] });
|
|
4907
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4711
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: Recinstructions, decorators: [{
|
|
4908
4712
|
type: Component,
|
|
4909
|
-
args: [{
|
|
4910
|
-
selector: 'spr-recinstructions',
|
|
4911
|
-
template: `
|
|
4713
|
+
args: [{ selector: 'spr-recinstructions', template: `
|
|
4912
4714
|
|
|
4913
4715
|
{{displayText()}}
|
|
4914
|
-
`,
|
|
4915
|
-
styles: [`:host {
|
|
4916
|
-
|
|
4917
|
-
justify-content: left; /* align horizontal center */
|
|
4918
|
-
align-items: flex-start; /* align vertical center */
|
|
4919
|
-
background: white;
|
|
4920
|
-
text-align: left;
|
|
4921
|
-
font-size: 1em;
|
|
4922
|
-
flex: 0;
|
|
4923
|
-
width: 100%;
|
|
4924
|
-
}
|
|
4925
|
-
`]
|
|
4926
|
-
}]
|
|
4716
|
+
`, styles: [":host{justify-content:left;align-items:flex-start;background:white;text-align:left;font-size:1em;flex:0;width:100%}\n"] }]
|
|
4927
4717
|
}], propDecorators: { recinstructions: [{
|
|
4928
4718
|
type: Input
|
|
4929
4719
|
}], selectedItemIdx: [{
|
|
@@ -5092,45 +4882,19 @@ class Prompter {
|
|
|
5092
4882
|
}
|
|
5093
4883
|
}
|
|
5094
4884
|
}
|
|
5095
|
-
Prompter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5096
|
-
Prompter.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
4885
|
+
Prompter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: Prompter, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: ProjectService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4886
|
+
Prompter.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: Prompter, selector: "app-sprprompter", inputs: { projectName: "projectName", prompterHeight: "prompterHeight", promptMediaItems: "promptMediaItems" }, host: { properties: { "class.fill": "this.prompterStyleFill" } }, ngImport: i0, template: `
|
|
5097
4887
|
|
|
5098
4888
|
<!--<ng-template [ngIf]="text">{{text}}</ng-template>-->
|
|
5099
4889
|
<!-- <img *ngIf="src" #promptImage [src]="srcUrl()" [height]="prompterHeight-20" /> -->
|
|
5100
4890
|
`, isInline: true, styles: [":host{justify-content:center;align-items:center;background:white;text-align:center;line-height:1.2em;font-weight:700;flex:0 1}\n", ":host(.fill){flex:3;width:100%;height:100%;max-height:100%;max-width:100%;vertical-align:middle}\n"] });
|
|
5101
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4891
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: Prompter, decorators: [{
|
|
5102
4892
|
type: Component,
|
|
5103
|
-
args: [{
|
|
5104
|
-
selector: 'app-sprprompter',
|
|
5105
|
-
template: `
|
|
4893
|
+
args: [{ selector: 'app-sprprompter', template: `
|
|
5106
4894
|
|
|
5107
4895
|
<!--<ng-template [ngIf]="text">{{text}}</ng-template>-->
|
|
5108
4896
|
<!-- <img *ngIf="src" #promptImage [src]="srcUrl()" [height]="prompterHeight-20" /> -->
|
|
5109
|
-
`,
|
|
5110
|
-
styles: [`:host {
|
|
5111
|
-
|
|
5112
|
-
justify-content: center; /* align horizontal center */
|
|
5113
|
-
align-items: center; /* align vertical center */
|
|
5114
|
-
background: white;
|
|
5115
|
-
text-align: center;
|
|
5116
|
-
/* font-size: 2em; */
|
|
5117
|
-
line-height: 1.2em;
|
|
5118
|
-
font-weight: bold;
|
|
5119
|
-
/* Use only natural size of the prompt */
|
|
5120
|
-
/* The prompter compnent then ets aligned vertically centered */
|
|
5121
|
-
flex: 0 1;
|
|
5122
|
-
|
|
5123
|
-
}`, `:host(.fill) {
|
|
5124
|
-
/* Use all space to scale images */
|
|
5125
|
-
flex: 3;
|
|
5126
|
-
width: 100%;
|
|
5127
|
-
height: 100%;
|
|
5128
|
-
max-height: 100%;
|
|
5129
|
-
max-width: 100%;
|
|
5130
|
-
/* A separate flex container might be necessayr to alighn centered */
|
|
5131
|
-
vertical-align: middle; /* TODO does not work, image is not vertically centered */
|
|
5132
|
-
}`]
|
|
5133
|
-
}]
|
|
4897
|
+
`, styles: [":host{justify-content:center;align-items:center;background:white;text-align:center;line-height:1.2em;font-weight:700;flex:0 1}\n", ":host(.fill){flex:3;width:100%;height:100%;max-height:100%;max-width:100%;vertical-align:middle}\n"] }]
|
|
5134
4898
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: ProjectService }]; }, propDecorators: { projectName: [{
|
|
5135
4899
|
type: Input
|
|
5136
4900
|
}], prompterHeight: [{
|
|
@@ -5272,35 +5036,15 @@ class PromptContainer {
|
|
|
5272
5036
|
}
|
|
5273
5037
|
}
|
|
5274
5038
|
}
|
|
5275
|
-
PromptContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5276
|
-
PromptContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
5039
|
+
PromptContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: PromptContainer, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
5040
|
+
PromptContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: PromptContainer, selector: "app-sprpromptcontainer", inputs: { projectName: "projectName", mediaitems: "mediaitems" }, host: { listeners: { "window:resize": "onResize($event)" } }, viewQueries: [{ propertyName: "prompter", first: true, predicate: Prompter, descendants: true, static: true }], ngImport: i0, template: `
|
|
5277
5041
|
<app-sprprompter #prompter [projectName]="projectName" [promptMediaItems]="mediaitems" [style.font-size]="fontSize+'px'" [style.visibility]="prDisplay" [prompterHeight]="prompterHeight"></app-sprprompter>
|
|
5278
|
-
`, isInline: true, styles: [":host{flex:3;padding:10pt;height:100%;max-height:100%;justify-content:center;align-items:center;background:white;text-align:center;display:flex;flex-direction:column;min-height:0px;width:100%}\n"],
|
|
5279
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5042
|
+
`, isInline: true, styles: [":host{flex:3;padding:10pt;height:100%;max-height:100%;justify-content:center;align-items:center;background:white;text-align:center;display:flex;flex-direction:column;min-height:0px;width:100%}\n"], dependencies: [{ kind: "component", type: Prompter, selector: "app-sprprompter", inputs: ["projectName", "prompterHeight", "promptMediaItems"] }] });
|
|
5043
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: PromptContainer, decorators: [{
|
|
5280
5044
|
type: Component,
|
|
5281
|
-
args: [{
|
|
5282
|
-
selector: 'app-sprpromptcontainer',
|
|
5283
|
-
template: `
|
|
5045
|
+
args: [{ selector: 'app-sprpromptcontainer', template: `
|
|
5284
5046
|
<app-sprprompter #prompter [projectName]="projectName" [promptMediaItems]="mediaitems" [style.font-size]="fontSize+'px'" [style.visibility]="prDisplay" [prompterHeight]="prompterHeight"></app-sprprompter>
|
|
5285
|
-
`,
|
|
5286
|
-
styles: [`:host {
|
|
5287
|
-
|
|
5288
|
-
flex: 3; /* the container consumes all available space */
|
|
5289
|
-
padding: 10pt;
|
|
5290
|
-
height: 100%;
|
|
5291
|
-
max-height: 100%;
|
|
5292
|
-
|
|
5293
|
-
justify-content: center; /* align horizontal center*/
|
|
5294
|
-
align-items: center; /* align vertical center */
|
|
5295
|
-
background: white;
|
|
5296
|
-
text-align: center;
|
|
5297
|
-
display: flex;
|
|
5298
|
-
flex-direction: column;
|
|
5299
|
-
min-height: 0px;
|
|
5300
|
-
width: 100%;
|
|
5301
|
-
}
|
|
5302
|
-
`]
|
|
5303
|
-
}]
|
|
5047
|
+
`, styles: [":host{flex:3;padding:10pt;height:100%;max-height:100%;justify-content:center;align-items:center;background:white;text-align:center;display:flex;flex-direction:column;min-height:0px;width:100%}\n"] }]
|
|
5304
5048
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { projectName: [{
|
|
5305
5049
|
type: Input
|
|
5306
5050
|
}], prompter: [{
|
|
@@ -5419,39 +5163,23 @@ class PromptingContainer {
|
|
|
5419
5163
|
//ev.preventDefault();
|
|
5420
5164
|
}
|
|
5421
5165
|
}
|
|
5422
|
-
PromptingContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5423
|
-
PromptingContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
5166
|
+
PromptingContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: PromptingContainer, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
5167
|
+
PromptingContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: PromptingContainer, selector: "app-sprpromptingcontainer", inputs: { projectName: "projectName", promptItem: "promptItem", showPrompt: "showPrompt", selectedItemIdx: "selectedItemIdx", itemCount: "itemCount", transportActions: "transportActions" }, host: { listeners: { "touchstart": "onTouchstart($event)", "touchend": "onTouchEnd($event)", "touchmove": "onTouchMove($event)", "touchcancel": "onTouchCancel($event)" } }, ngImport: i0, template: `
|
|
5424
5168
|
<spr-recinstructions [selectedItemIdx]="selectedItemIdx" [itemCount]="itemCount"
|
|
5425
5169
|
[recinstructions]="promptItem?.recinstructions?.recinstructions"></spr-recinstructions>
|
|
5426
5170
|
<app-sprpromptcontainer [projectName]="projectName"
|
|
5427
5171
|
[mediaitems]="showPrompt?(promptItem?promptItem.mediaitems:null):null"></app-sprpromptcontainer>
|
|
5428
5172
|
|
|
5429
|
-
`, isInline: true, styles: [":host{position:relative;flex:3;padding:10pt;justify-content:center;align-items:center;background:white;text-align:center;display:flex;flex-direction:column;min-height:0px}\n"],
|
|
5430
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5173
|
+
`, isInline: true, styles: [":host{position:relative;flex:3;padding:10pt;justify-content:center;align-items:center;background:white;text-align:center;display:flex;flex-direction:column;min-height:0px}\n"], dependencies: [{ kind: "component", type: Recinstructions, selector: "spr-recinstructions", inputs: ["recinstructions", "selectedItemIdx", "itemCount"] }, { kind: "component", type: PromptContainer, selector: "app-sprpromptcontainer", inputs: ["projectName", "mediaitems"] }] });
|
|
5174
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: PromptingContainer, decorators: [{
|
|
5431
5175
|
type: Component,
|
|
5432
|
-
args: [{
|
|
5433
|
-
selector: 'app-sprpromptingcontainer',
|
|
5434
|
-
template: `
|
|
5176
|
+
args: [{ selector: 'app-sprpromptingcontainer', template: `
|
|
5435
5177
|
<spr-recinstructions [selectedItemIdx]="selectedItemIdx" [itemCount]="itemCount"
|
|
5436
5178
|
[recinstructions]="promptItem?.recinstructions?.recinstructions"></spr-recinstructions>
|
|
5437
5179
|
<app-sprpromptcontainer [projectName]="projectName"
|
|
5438
5180
|
[mediaitems]="showPrompt?(promptItem?promptItem.mediaitems:null):null"></app-sprpromptcontainer>
|
|
5439
5181
|
|
|
5440
|
-
`,
|
|
5441
|
-
styles: [`:host {
|
|
5442
|
-
position: relative;
|
|
5443
|
-
flex: 3; /* the container consumes all available space */
|
|
5444
|
-
padding: 10pt;
|
|
5445
|
-
justify-content: center; /* align horizontal center*/
|
|
5446
|
-
align-items: center; /* align vertical center */
|
|
5447
|
-
background: white;
|
|
5448
|
-
text-align: center;
|
|
5449
|
-
display: flex;
|
|
5450
|
-
flex-direction: column;
|
|
5451
|
-
min-height: 0px;
|
|
5452
|
-
}
|
|
5453
|
-
`]
|
|
5454
|
-
}]
|
|
5182
|
+
`, styles: [":host{position:relative;flex:3;padding:10pt;justify-content:center;align-items:center;background:white;text-align:center;display:flex;flex-direction:column;min-height:0px}\n"] }]
|
|
5455
5183
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { projectName: [{
|
|
5456
5184
|
type: Input
|
|
5457
5185
|
}], promptItem: [{
|
|
@@ -5499,8 +5227,8 @@ class Prompting {
|
|
|
5499
5227
|
this.onPrevItem.emit();
|
|
5500
5228
|
}
|
|
5501
5229
|
}
|
|
5502
|
-
Prompting.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5503
|
-
Prompting.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
5230
|
+
Prompting.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: Prompting, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5231
|
+
Prompting.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: Prompting, selector: "app-sprprompting", inputs: { projectName: "projectName", startStopSignalState: "startStopSignalState", promptItem: "promptItem", showPrompt: "showPrompt", items: "items", selectedItemIdx: "selectedItemIdx", transportActions: "transportActions", enableDownload: "enableDownload", audioSignalCollapsed: "audioSignalCollapsed", displayAudioClip: "displayAudioClip", playStartAction: "playStartAction", playSelectionAction: "playSelectionAction", autoPlayOnSelectToggleAction: "autoPlayOnSelectToggleAction", playStopAction: "playStopAction" }, outputs: { onItemSelect: "onItemSelect", onNextItem: "onNextItem", onPrevItem: "onPrevItem" }, viewQueries: [{ propertyName: "simpleTrafficLight", first: true, predicate: SimpleTrafficLight, descendants: true, static: true }, { propertyName: "audioDisplay", first: true, predicate: AudioDisplay, descendants: true, static: true }], ngImport: i0, template: `
|
|
5504
5232
|
|
|
5505
5233
|
<app-simpletrafficlight [status]="startStopSignalState"></app-simpletrafficlight>
|
|
5506
5234
|
<app-sprpromptingcontainer [projectName]="projectName" [promptItem]="promptItem" [showPrompt]="showPrompt"
|
|
@@ -5522,12 +5250,10 @@ Prompting.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13
|
|
|
5522
5250
|
|
|
5523
5251
|
|
|
5524
5252
|
|
|
5525
|
-
`, isInline: true, styles: [":host{position:relative;margin:0;padding:0;background:lightgrey;width:100%;flex:1;min-height:0px;display:flex;flex-direction:row;flex-wrap:nowrap}\n", "app-simpletrafficlight{margin:10px;min-height:0px;z-index:3}\n", "app-sprprogress{z-index:3}\n", "div{display:none;position:absolute;z-index:5}\n", "div.active{display:flex;position:absolute;bottom:0px;height:90%;width:100%;overflow:hidden;padding:0;z-index:5;box-sizing:border-box;background-color:#0000}\n"],
|
|
5526
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5253
|
+
`, isInline: true, styles: [":host{position:relative;margin:0;padding:0;background:lightgrey;width:100%;flex:1;min-height:0px;display:flex;flex-direction:row;flex-wrap:nowrap}\n", "app-simpletrafficlight{margin:10px;min-height:0px;z-index:3}\n", "app-sprprogress{z-index:3}\n", "div{display:none;position:absolute;z-index:5}\n", "div.active{display:flex;position:absolute;bottom:0px;height:90%;width:100%;overflow:hidden;padding:0;z-index:5;box-sizing:border-box;background-color:#0000}\n"], dependencies: [{ kind: "directive", type: i1$3.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"] }, { kind: "component", type: AudioDisplay, selector: "app-audiodisplay", inputs: ["playStartAction", "playStopAction", "playSelectionAction", "autoPlayOnSelectToggleAction", "audioData", "audioClip"] }, { kind: "component", type: Progress, selector: "app-sprprogress", inputs: ["items", "selectedItemIdx", "enableDownload"], outputs: ["onRowSelect", "rowSelect", "onShowDoneAction", "clickDone", "onDownloadDoneAction", "clickDownloadDone"] }, { kind: "component", type: SimpleTrafficLight, selector: "app-simpletrafficlight", inputs: ["status"] }, { kind: "component", type: PromptingContainer, selector: "app-sprpromptingcontainer", inputs: ["projectName", "promptItem", "showPrompt", "selectedItemIdx", "itemCount", "transportActions"] }] });
|
|
5254
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: Prompting, decorators: [{
|
|
5527
5255
|
type: Component,
|
|
5528
|
-
args: [{
|
|
5529
|
-
selector: 'app-sprprompting',
|
|
5530
|
-
template: `
|
|
5256
|
+
args: [{ selector: 'app-sprprompting', template: `
|
|
5531
5257
|
|
|
5532
5258
|
<app-simpletrafficlight [status]="startStopSignalState"></app-simpletrafficlight>
|
|
5533
5259
|
<app-sprpromptingcontainer [projectName]="projectName" [promptItem]="promptItem" [showPrompt]="showPrompt"
|
|
@@ -5549,72 +5275,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
5549
5275
|
|
|
5550
5276
|
|
|
5551
5277
|
|
|
5552
|
-
`,
|
|
5553
|
-
styles: [`:host {
|
|
5554
|
-
position: relative;
|
|
5555
|
-
margin: 0;
|
|
5556
|
-
padding: 0;
|
|
5557
|
-
background: lightgrey;
|
|
5558
|
-
width: 100%; /* use all horizontal available space */
|
|
5559
|
-
flex: 1; /* ... and fill rest of vertical available space (other components have flex 0) */
|
|
5560
|
-
|
|
5561
|
-
/* Workaround for Firefox
|
|
5562
|
-
If the progress table gets long (script with many items) FF increases the height of the overflow progressContainer and
|
|
5563
|
-
the whole app does not fit into the page anymore. The app overflows and shows a vertical scrollbar for the whole app.
|
|
5564
|
-
See http://stackoverflow.com/questions/28636832/firefox-overflow-y-not-working-with-nested-flexbox
|
|
5565
|
-
*/
|
|
5566
|
-
min-height: 0px;
|
|
5567
|
-
|
|
5568
|
-
display: flex; /* flex container: left traffic light, right prompter (container) */
|
|
5569
|
-
flex-direction: row;
|
|
5570
|
-
flex-wrap: nowrap; /* wrap could completely destroy the layout */
|
|
5571
|
-
}`, `
|
|
5572
|
-
app-simpletrafficlight {
|
|
5573
|
-
margin: 10px;
|
|
5574
|
-
min-height: 0px;
|
|
5575
|
-
z-index: 3;
|
|
5576
|
-
}
|
|
5577
|
-
`, `
|
|
5578
|
-
app-sprprogress {
|
|
5579
|
-
z-index: 3;
|
|
5580
|
-
}
|
|
5581
|
-
`, `
|
|
5582
|
-
div {
|
|
5583
|
-
display: none;
|
|
5584
|
-
position: absolute;
|
|
5585
|
-
|
|
5586
|
-
|
|
5587
|
-
/* height: 50%; */
|
|
5588
|
-
/* width: 100%; */
|
|
5589
|
-
|
|
5590
|
-
/* overflow: hidden; */
|
|
5591
|
-
|
|
5592
|
-
/* margin: 20px; */
|
|
5593
|
-
/* border: 20px; */
|
|
5594
|
-
z-index: 5;
|
|
5595
|
-
/*background-color: red; */
|
|
5596
|
-
}`, `
|
|
5597
|
-
div.active {
|
|
5598
|
-
display: flex;
|
|
5599
|
-
position: absolute;
|
|
5600
|
-
bottom: 0px;
|
|
5601
|
-
/*left: 0px; */
|
|
5602
|
-
|
|
5603
|
-
height: 90%;
|
|
5604
|
-
width: 100%;
|
|
5605
|
-
|
|
5606
|
-
overflow: hidden;
|
|
5607
|
-
|
|
5608
|
-
padding: 0px;
|
|
5609
|
-
/* margin: 20px; */
|
|
5610
|
-
/* border: 20px; */
|
|
5611
|
-
z-index: 5;
|
|
5612
|
-
box-sizing: border-box;
|
|
5613
|
-
background-color: rgba(0, 0, 0, 0)
|
|
5614
|
-
|
|
5615
|
-
}`
|
|
5616
|
-
]
|
|
5617
|
-
}]
|
|
5278
|
+
`, styles: [":host{position:relative;margin:0;padding:0;background:lightgrey;width:100%;flex:1;min-height:0px;display:flex;flex-direction:row;flex-wrap:nowrap}\n", "app-simpletrafficlight{margin:10px;min-height:0px;z-index:3}\n", "app-sprprogress{z-index:3}\n", "div{display:none;position:absolute;z-index:5}\n", "div.active{display:flex;position:absolute;bottom:0px;height:90%;width:100%;overflow:hidden;padding:0;z-index:5;box-sizing:border-box;background-color:#0000}\n"] }]
|
|
5618
5279
|
}], propDecorators: { simpleTrafficLight: [{
|
|
5619
5280
|
type: ViewChild,
|
|
5620
5281
|
args: [SimpleTrafficLight, { static: true }]
|
|
@@ -5666,8 +5327,8 @@ class SessionFinishedDialog {
|
|
|
5666
5327
|
this.dialogRef.close();
|
|
5667
5328
|
}
|
|
5668
5329
|
}
|
|
5669
|
-
SessionFinishedDialog.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5670
|
-
SessionFinishedDialog.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
5330
|
+
SessionFinishedDialog.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SessionFinishedDialog, deps: [{ token: i1$4.MatDialogRef }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component });
|
|
5331
|
+
SessionFinishedDialog.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: SessionFinishedDialog, selector: "spr-session-finished-dialog", ngImport: i0, template: `<h1 mat-dialog-title><mat-icon [style.color]="'green'">done_all</mat-icon> Session finished</h1>
|
|
5671
5332
|
<div mat-dialog-content>
|
|
5672
5333
|
|
|
5673
5334
|
<p>Thank you! The recording session is complete.</p>
|
|
@@ -5676,8 +5337,8 @@ SessionFinishedDialog.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
5676
5337
|
<div mat-dialog-actions>
|
|
5677
5338
|
<button mat-button (click)="closeDialog()">OK</button>
|
|
5678
5339
|
</div>
|
|
5679
|
-
`, isInline: true,
|
|
5680
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5340
|
+
`, isInline: true, dependencies: [{ kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i3.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: i1$4.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1$4.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "directive", type: i1$4.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }] });
|
|
5341
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SessionFinishedDialog, decorators: [{
|
|
5681
5342
|
type: Component,
|
|
5682
5343
|
args: [{
|
|
5683
5344
|
selector: 'spr-session-finished-dialog',
|
|
@@ -5692,7 +5353,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
5692
5353
|
</div>
|
|
5693
5354
|
`
|
|
5694
5355
|
}]
|
|
5695
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
5356
|
+
}], ctorParameters: function () { return [{ type: i1$4.MatDialogRef }, { type: undefined, decorators: [{
|
|
5696
5357
|
type: Inject,
|
|
5697
5358
|
args: [MAT_DIALOG_DATA]
|
|
5698
5359
|
}] }]; } });
|
|
@@ -5706,8 +5367,8 @@ class MessageDialog {
|
|
|
5706
5367
|
this.dialogRef.close();
|
|
5707
5368
|
}
|
|
5708
5369
|
}
|
|
5709
|
-
MessageDialog.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5710
|
-
MessageDialog.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
5370
|
+
MessageDialog.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: MessageDialog, deps: [{ token: i1$4.MatDialogRef }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component });
|
|
5371
|
+
MessageDialog.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: MessageDialog, selector: "msg-dialog", ngImport: i0, template: `<h1 mat-dialog-title><mat-icon *ngIf="data.type==='error'" [style.color]="'red'">error</mat-icon>
|
|
5711
5372
|
<mat-icon *ngIf="data.type==='warning'" [style.color]="'yellow'">warning</mat-icon>{{data.title}}</h1>
|
|
5712
5373
|
<div mat-dialog-content>
|
|
5713
5374
|
|
|
@@ -5718,8 +5379,8 @@ MessageDialog.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
|
5718
5379
|
<div mat-dialog-actions>
|
|
5719
5380
|
<button mat-button (click)="closeDialog()">OK</button>
|
|
5720
5381
|
</div>
|
|
5721
|
-
`, isInline: true,
|
|
5722
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5382
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i3.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: i1$4.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1$4.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "directive", type: i1$4.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }] });
|
|
5383
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: MessageDialog, decorators: [{
|
|
5723
5384
|
type: Component,
|
|
5724
5385
|
args: [{
|
|
5725
5386
|
selector: 'msg-dialog',
|
|
@@ -5736,7 +5397,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
5736
5397
|
</div>
|
|
5737
5398
|
`
|
|
5738
5399
|
}]
|
|
5739
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
5400
|
+
}], ctorParameters: function () { return [{ type: i1$4.MatDialogRef }, { type: undefined, decorators: [{
|
|
5740
5401
|
type: Inject,
|
|
5741
5402
|
args: [MAT_DIALOG_DATA]
|
|
5742
5403
|
}] }]; } });
|
|
@@ -5825,13 +5486,14 @@ class LevelBar {
|
|
|
5825
5486
|
}
|
|
5826
5487
|
}
|
|
5827
5488
|
set displayLevelInfos(levelInfos) {
|
|
5828
|
-
this._staticLevelInfos = levelInfos;
|
|
5829
5489
|
if (levelInfos) {
|
|
5490
|
+
this._staticLevelInfos = levelInfos;
|
|
5830
5491
|
this.dbValues = levelInfos.bufferLevelInfos.map((li) => {
|
|
5831
5492
|
return li.powerLevelsDB();
|
|
5832
5493
|
});
|
|
5833
5494
|
}
|
|
5834
5495
|
else {
|
|
5496
|
+
this._staticLevelInfos = null;
|
|
5835
5497
|
this.dbValues = new Array();
|
|
5836
5498
|
}
|
|
5837
5499
|
this.layoutStatic();
|
|
@@ -6057,48 +5719,21 @@ class LevelBar {
|
|
|
6057
5719
|
}
|
|
6058
5720
|
}
|
|
6059
5721
|
}
|
|
6060
|
-
LevelBar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6061
|
-
LevelBar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
5722
|
+
LevelBar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LevelBar, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
5723
|
+
LevelBar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: LevelBar, selector: "audio-levelbar", inputs: { streamingMode: "streamingMode", displayLevelInfos: "displayLevelInfos" }, host: { listeners: { "scroll": "onScroll($event)", "window:resize": "onResize($event)" } }, viewQueries: [{ propertyName: "virtualCanvasRef", first: true, predicate: ["virtualCanvas"], descendants: true, static: true }, { propertyName: "liveLevelCanvasRef", first: true, predicate: ["levelbar"], descendants: true, static: true }, { propertyName: "markerCanvasRef", first: true, predicate: ["markerCanvas"], descendants: true, static: true }], ngImport: i0, template: `
|
|
6062
5724
|
<div #virtualCanvas>
|
|
6063
5725
|
<canvas #levelbar></canvas>
|
|
6064
5726
|
<canvas #markerCanvas></canvas>
|
|
6065
5727
|
</div>
|
|
6066
5728
|
`, isInline: true, styles: [":host{width:100%;background:darkgray;box-sizing:border-box;height:100%;position:relative;overflow-x:scroll;overflow-y:auto}\n", "div{top:0;left:0;width:100%;height:100%;box-sizing:border-box}\n", "canvas{top:0;left:0;width:100%;height:100%;position:absolute}\n"] });
|
|
6067
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5729
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LevelBar, decorators: [{
|
|
6068
5730
|
type: Component,
|
|
6069
|
-
args: [{
|
|
6070
|
-
selector: 'audio-levelbar',
|
|
6071
|
-
template: `
|
|
5731
|
+
args: [{ selector: 'audio-levelbar', template: `
|
|
6072
5732
|
<div #virtualCanvas>
|
|
6073
5733
|
<canvas #levelbar></canvas>
|
|
6074
5734
|
<canvas #markerCanvas></canvas>
|
|
6075
5735
|
</div>
|
|
6076
|
-
`,
|
|
6077
|
-
styles: [`:host {
|
|
6078
|
-
|
|
6079
|
-
width: 100%;
|
|
6080
|
-
background: darkgray;
|
|
6081
|
-
box-sizing: border-box;
|
|
6082
|
-
height: 100%;
|
|
6083
|
-
position: relative;
|
|
6084
|
-
overflow-x: scroll;
|
|
6085
|
-
overflow-y: auto;
|
|
6086
|
-
}`, `div {
|
|
6087
|
-
top: 0;
|
|
6088
|
-
left: 0;
|
|
6089
|
-
width: 100%;
|
|
6090
|
-
height: 100%;
|
|
6091
|
-
|
|
6092
|
-
/*position: absolute;*/
|
|
6093
|
-
box-sizing: border-box;
|
|
6094
|
-
}`, `canvas {
|
|
6095
|
-
top: 0;
|
|
6096
|
-
left: 0;
|
|
6097
|
-
width: 100%;
|
|
6098
|
-
height: 100%;
|
|
6099
|
-
position: absolute;
|
|
6100
|
-
}`]
|
|
6101
|
-
}]
|
|
5736
|
+
`, styles: [":host{width:100%;background:darkgray;box-sizing:border-box;height:100%;position:relative;overflow-x:scroll;overflow-y:auto}\n", "div{top:0;left:0;width:100%;height:100%;box-sizing:border-box}\n", "canvas{top:0;left:0;width:100%;height:100%;position:absolute}\n"] }]
|
|
6102
5737
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { virtualCanvasRef: [{
|
|
6103
5738
|
type: ViewChild,
|
|
6104
5739
|
args: ['virtualCanvas', { static: true }]
|
|
@@ -6127,44 +5762,21 @@ class StatusDisplay {
|
|
|
6127
5762
|
this.statusWaiting = false;
|
|
6128
5763
|
}
|
|
6129
5764
|
}
|
|
6130
|
-
StatusDisplay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6131
|
-
StatusDisplay.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
5765
|
+
StatusDisplay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: StatusDisplay, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5766
|
+
StatusDisplay.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: StatusDisplay, selector: "app-sprstatusdisplay", inputs: { statusAlertType: "statusAlertType", statusMsg: "statusMsg", statusWaiting: "statusWaiting" }, ngImport: i0, template: `
|
|
6132
5767
|
<p matTooltip="Status">
|
|
6133
5768
|
<mat-progress-spinner *ngIf="statusWaiting" color="black" mode="indeterminate" [diameter]="30" [strokeWidth]="5"></mat-progress-spinner><mat-icon *ngIf="statusAlertType==='error'" style="color:red">report_problem</mat-icon>
|
|
6134
5769
|
{{statusMsg}}
|
|
6135
5770
|
</p>
|
|
6136
|
-
`, isInline: true, styles: [":host{display:inline;text-align:left;font-size:smaller}\n", "p{padding:4px;white-space:nowrap;display:inline-block}\n", "mat-progress-spinner{color:#000;display:inline-block}\n", "span{color:red}\n"],
|
|
6137
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5771
|
+
`, isInline: true, styles: [":host{display:inline;text-align:left;font-size:smaller}\n", "p{padding:4px;white-space:nowrap;display:inline-block}\n", "mat-progress-spinner{color:#000;display:inline-block}\n", "span{color:red}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i3$1.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "diameter", "strokeWidth", "mode", "value"], exportAs: ["matProgressSpinner"] }, { kind: "directive", type: i4.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }] });
|
|
5772
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: StatusDisplay, decorators: [{
|
|
6138
5773
|
type: Component,
|
|
6139
|
-
args: [{
|
|
6140
|
-
selector: 'app-sprstatusdisplay',
|
|
6141
|
-
template: `
|
|
5774
|
+
args: [{ selector: 'app-sprstatusdisplay', template: `
|
|
6142
5775
|
<p matTooltip="Status">
|
|
6143
5776
|
<mat-progress-spinner *ngIf="statusWaiting" color="black" mode="indeterminate" [diameter]="30" [strokeWidth]="5"></mat-progress-spinner><mat-icon *ngIf="statusAlertType==='error'" style="color:red">report_problem</mat-icon>
|
|
6144
5777
|
{{statusMsg}}
|
|
6145
5778
|
</p>
|
|
6146
|
-
`,
|
|
6147
|
-
styles: [`:host {
|
|
6148
|
-
display: inline;
|
|
6149
|
-
text-align: left;
|
|
6150
|
-
font-size: smaller;
|
|
6151
|
-
}`, `
|
|
6152
|
-
p {
|
|
6153
|
-
padding: 4px;
|
|
6154
|
-
white-space:nowrap;
|
|
6155
|
-
display: inline-block;
|
|
6156
|
-
}
|
|
6157
|
-
`, `
|
|
6158
|
-
mat-progress-spinner {
|
|
6159
|
-
color: black;
|
|
6160
|
-
display: inline-block;
|
|
6161
|
-
}
|
|
6162
|
-
`, `
|
|
6163
|
-
span {
|
|
6164
|
-
color: red;
|
|
6165
|
-
}
|
|
6166
|
-
`]
|
|
6167
|
-
}]
|
|
5779
|
+
`, styles: [":host{display:inline;text-align:left;font-size:smaller}\n", "p{padding:4px;white-space:nowrap;display:inline-block}\n", "mat-progress-spinner{color:#000;display:inline-block}\n", "span{color:red}\n"] }]
|
|
6168
5780
|
}], propDecorators: { statusAlertType: [{
|
|
6169
5781
|
type: Input
|
|
6170
5782
|
}], statusMsg: [{
|
|
@@ -6219,26 +5831,15 @@ class UploadStatus {
|
|
|
6219
5831
|
return this._status;
|
|
6220
5832
|
}
|
|
6221
5833
|
}
|
|
6222
|
-
UploadStatus.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6223
|
-
UploadStatus.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
5834
|
+
UploadStatus.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: UploadStatus, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5835
|
+
UploadStatus.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: UploadStatus, selector: "app-uploadstatus", inputs: { value: "value", awaitNewUpload: "awaitNewUpload", status: "status" }, ngImport: i0, template: `
|
|
6224
5836
|
<mat-progress-spinner [mode]="spinnerMode" [color]="status" [diameter]="30" [strokeWidth]="5" [value]="_value" [matTooltip]="toolTipText"></mat-progress-spinner>
|
|
6225
|
-
`, isInline: true, styles: [":host{flex:1;text-align:left}\n", "mat-progress-spinner{display:inline-block}\n"],
|
|
6226
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5837
|
+
`, isInline: true, styles: [":host{flex:1;text-align:left}\n", "mat-progress-spinner{display:inline-block}\n"], dependencies: [{ kind: "component", type: i3$1.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "diameter", "strokeWidth", "mode", "value"], exportAs: ["matProgressSpinner"] }, { kind: "directive", type: i4.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }] });
|
|
5838
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: UploadStatus, decorators: [{
|
|
6227
5839
|
type: Component,
|
|
6228
|
-
args: [{
|
|
6229
|
-
selector: 'app-uploadstatus',
|
|
6230
|
-
template: `
|
|
5840
|
+
args: [{ selector: 'app-uploadstatus', template: `
|
|
6231
5841
|
<mat-progress-spinner [mode]="spinnerMode" [color]="status" [diameter]="30" [strokeWidth]="5" [value]="_value" [matTooltip]="toolTipText"></mat-progress-spinner>
|
|
6232
|
-
`,
|
|
6233
|
-
styles: [`:host {
|
|
6234
|
-
flex: 1;
|
|
6235
|
-
/* align-self: flex-start; */
|
|
6236
|
-
/*display: inline; */
|
|
6237
|
-
text-align: left;
|
|
6238
|
-
}`, `mat-progress-spinner{
|
|
6239
|
-
display: inline-block;
|
|
6240
|
-
}`]
|
|
6241
|
-
}]
|
|
5842
|
+
`, styles: [":host{flex:1;text-align:left}\n", "mat-progress-spinner{display:inline-block}\n"] }]
|
|
6242
5843
|
}], propDecorators: { value: [{
|
|
6243
5844
|
type: Input
|
|
6244
5845
|
}], awaitNewUpload: [{
|
|
@@ -6251,25 +5852,15 @@ class ProgressDisplay {
|
|
|
6251
5852
|
this.progressMsg = '[itemcode]';
|
|
6252
5853
|
}
|
|
6253
5854
|
}
|
|
6254
|
-
ProgressDisplay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6255
|
-
ProgressDisplay.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
5855
|
+
ProgressDisplay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ProgressDisplay, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5856
|
+
ProgressDisplay.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: ProgressDisplay, selector: "app-sprprogressdisplay", ngImport: i0, template: `
|
|
6256
5857
|
<p>{{progressMsg}}</p>
|
|
6257
5858
|
`, isInline: true, styles: [":host{flex:1;width:100%;text-align:left}\n"] });
|
|
6258
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5859
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ProgressDisplay, decorators: [{
|
|
6259
5860
|
type: Component,
|
|
6260
|
-
args: [{
|
|
6261
|
-
selector: 'app-sprprogressdisplay',
|
|
6262
|
-
template: `
|
|
5861
|
+
args: [{ selector: 'app-sprprogressdisplay', template: `
|
|
6263
5862
|
<p>{{progressMsg}}</p>
|
|
6264
|
-
`,
|
|
6265
|
-
styles: [`:host {
|
|
6266
|
-
flex: 1;
|
|
6267
|
-
/* align-self: flex-start; */
|
|
6268
|
-
/*display: inline; */
|
|
6269
|
-
width: 100%;
|
|
6270
|
-
text-align: left;
|
|
6271
|
-
}`]
|
|
6272
|
-
}]
|
|
5863
|
+
`, styles: [":host{flex:1;width:100%;text-align:left}\n"] }]
|
|
6273
5864
|
}] });
|
|
6274
5865
|
class TransportActions {
|
|
6275
5866
|
constructor() {
|
|
@@ -6355,8 +5946,8 @@ class TransportPanel {
|
|
|
6355
5946
|
}
|
|
6356
5947
|
}
|
|
6357
5948
|
}
|
|
6358
|
-
TransportPanel.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6359
|
-
TransportPanel.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
5949
|
+
TransportPanel.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TransportPanel, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5950
|
+
TransportPanel.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: TransportPanel, selector: "app-sprtransport", inputs: { readonly: "readonly", actions: "actions", navigationEnabled: "navigationEnabled", pausingEnabled: "pausingEnabled" }, ngImport: i0, template: `
|
|
6360
5951
|
<button id="bwdBtn" *ngIf="navigationEnabled" (click)="actions.bwdAction.perform()" [disabled]="bwdDisabled()"
|
|
6361
5952
|
mat-raised-button>
|
|
6362
5953
|
<mat-icon>chevron_left</mat-icon>
|
|
@@ -6376,12 +5967,10 @@ TransportPanel.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version
|
|
|
6376
5967
|
<mat-icon>chevron_right</mat-icon>
|
|
6377
5968
|
</button>
|
|
6378
5969
|
|
|
6379
|
-
`, isInline: true, styles: [":host{flex:20;align-self:center;width:100%;text-align:center;align-content:center;margin:0}\n", "div{display:inline;flex:0}\n", "button{touch-action:manipulation}\n"],
|
|
6380
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5970
|
+
`, isInline: true, styles: [":host{flex:20;align-self:center;width:100%;text-align:center;align-content:center;margin:0}\n", "div{display:inline;flex:0}\n", "button{touch-action:manipulation}\n"], dependencies: [{ kind: "directive", type: i1$3.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"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i3.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }] });
|
|
5971
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TransportPanel, decorators: [{
|
|
6381
5972
|
type: Component,
|
|
6382
|
-
args: [{
|
|
6383
|
-
selector: 'app-sprtransport',
|
|
6384
|
-
template: `
|
|
5973
|
+
args: [{ selector: 'app-sprtransport', template: `
|
|
6385
5974
|
<button id="bwdBtn" *ngIf="navigationEnabled" (click)="actions.bwdAction.perform()" [disabled]="bwdDisabled()"
|
|
6386
5975
|
mat-raised-button>
|
|
6387
5976
|
<mat-icon>chevron_left</mat-icon>
|
|
@@ -6401,25 +5990,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
6401
5990
|
<mat-icon>chevron_right</mat-icon>
|
|
6402
5991
|
</button>
|
|
6403
5992
|
|
|
6404
|
-
`,
|
|
6405
|
-
styles: [`:host {
|
|
6406
|
-
flex: 20;
|
|
6407
|
-
align-self: center;
|
|
6408
|
-
width: 100%;
|
|
6409
|
-
text-align: center;
|
|
6410
|
-
align-content: center;
|
|
6411
|
-
margin: 0;
|
|
6412
|
-
|
|
6413
|
-
}`, `
|
|
6414
|
-
div {
|
|
6415
|
-
display: inline;
|
|
6416
|
-
flex: 0;
|
|
6417
|
-
}`, `
|
|
6418
|
-
button {
|
|
6419
|
-
touch-action: manipulation;
|
|
6420
|
-
}`
|
|
6421
|
-
]
|
|
6422
|
-
}]
|
|
5993
|
+
`, styles: [":host{flex:20;align-self:center;width:100%;text-align:center;align-content:center;margin:0}\n", "div{display:inline;flex:0}\n", "button{touch-action:manipulation}\n"] }]
|
|
6423
5994
|
}], propDecorators: { readonly: [{
|
|
6424
5995
|
type: Input
|
|
6425
5996
|
}], actions: [{
|
|
@@ -6437,19 +6008,15 @@ class WakeLockIndicator {
|
|
|
6437
6008
|
this._screenLocked = screenLock;
|
|
6438
6009
|
}
|
|
6439
6010
|
}
|
|
6440
|
-
WakeLockIndicator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6441
|
-
WakeLockIndicator.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
6011
|
+
WakeLockIndicator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: WakeLockIndicator, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6012
|
+
WakeLockIndicator.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: WakeLockIndicator, selector: "app-wakelockindicator", inputs: { screenLocked: "screenLocked" }, ngImport: i0, template: `
|
|
6442
6013
|
<mat-icon *ngIf="_screenLocked">screen_lock_portrait</mat-icon>
|
|
6443
|
-
`, isInline: true,
|
|
6444
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6014
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] });
|
|
6015
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: WakeLockIndicator, decorators: [{
|
|
6445
6016
|
type: Component,
|
|
6446
|
-
args: [{
|
|
6447
|
-
selector: 'app-wakelockindicator',
|
|
6448
|
-
template: `
|
|
6017
|
+
args: [{ selector: 'app-wakelockindicator', template: `
|
|
6449
6018
|
<mat-icon *ngIf="_screenLocked">screen_lock_portrait</mat-icon>
|
|
6450
|
-
|
|
6451
|
-
styles: []
|
|
6452
|
-
}]
|
|
6019
|
+
` }]
|
|
6453
6020
|
}], ctorParameters: function () { return []; }, propDecorators: { screenLocked: [{
|
|
6454
6021
|
type: Input
|
|
6455
6022
|
}] } });
|
|
@@ -6468,19 +6035,15 @@ class ReadyStateIndicator {
|
|
|
6468
6035
|
return this._ready;
|
|
6469
6036
|
}
|
|
6470
6037
|
}
|
|
6471
|
-
ReadyStateIndicator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6472
|
-
ReadyStateIndicator.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
6038
|
+
ReadyStateIndicator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ReadyStateIndicator, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6039
|
+
ReadyStateIndicator.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: ReadyStateIndicator, selector: "app-readystateindicator", inputs: { ready: "ready" }, ngImport: i0, template: `
|
|
6473
6040
|
<mat-icon [matTooltip]="readyStateToolTip">{{hourGlassIconName}}</mat-icon>
|
|
6474
|
-
`, isInline: true,
|
|
6475
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6041
|
+
`, isInline: true, dependencies: [{ kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i4.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }] });
|
|
6042
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ReadyStateIndicator, decorators: [{
|
|
6476
6043
|
type: Component,
|
|
6477
|
-
args: [{
|
|
6478
|
-
selector: 'app-readystateindicator',
|
|
6479
|
-
template: `
|
|
6044
|
+
args: [{ selector: 'app-readystateindicator', template: `
|
|
6480
6045
|
<mat-icon [matTooltip]="readyStateToolTip">{{hourGlassIconName}}</mat-icon>
|
|
6481
|
-
|
|
6482
|
-
styles: []
|
|
6483
|
-
}]
|
|
6046
|
+
` }]
|
|
6484
6047
|
}], ctorParameters: function () { return []; }, propDecorators: { ready: [{
|
|
6485
6048
|
type: Input
|
|
6486
6049
|
}] } });
|
|
@@ -6498,8 +6061,8 @@ class ControlPanel {
|
|
|
6498
6061
|
return this._ready;
|
|
6499
6062
|
}
|
|
6500
6063
|
}
|
|
6501
|
-
ControlPanel.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6502
|
-
ControlPanel.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
6064
|
+
ControlPanel.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ControlPanel, deps: [{ token: i1$4.MatDialog }], target: i0.ɵɵFactoryTarget.Component });
|
|
6065
|
+
ControlPanel.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: ControlPanel, selector: "app-sprcontrolpanel", inputs: { readonly: "readonly", transportActions: "transportActions", processing: "processing", statusMsg: "statusMsg", statusAlertType: "statusAlertType", statusWaiting: "statusWaiting", uploadStatus: "uploadStatus", uploadProgress: "uploadProgress", currentRecording: "currentRecording", enableUploadRecordings: "enableUploadRecordings", navigationEnabled: "navigationEnabled", ready: "ready" }, viewQueries: [{ propertyName: "statusDisplay", first: true, predicate: StatusDisplay, descendants: true, static: true }, { propertyName: "transportPanel", first: true, predicate: TransportPanel, descendants: true, static: true }], ngImport: i0, template: `
|
|
6503
6066
|
<div fxHide.xs fxLayout="row" >
|
|
6504
6067
|
<app-sprstatusdisplay fxFlex="0 0 0" [statusMsg]="statusMsg" [statusAlertType]="statusAlertType" [statusWaiting]="statusWaiting"
|
|
6505
6068
|
class="hidden-xs"></app-sprstatusdisplay>
|
|
@@ -6519,12 +6082,10 @@ ControlPanel.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
|
6519
6082
|
<app-sprtransport [readonly]="readonly" [actions]="transportActions" [navigationEnabled]="navigationEnabled"></app-sprtransport>
|
|
6520
6083
|
|
|
6521
6084
|
</div>
|
|
6522
|
-
`, isInline: true, styles: ["div{align-content:center;align-items:center;margin:0;padding:20px;min-height:min-content}\n"],
|
|
6523
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6085
|
+
`, isInline: true, styles: ["div{align-content:center;align-items:center;margin:0;padding:20px;min-height:min-content}\n"], dependencies: [{ kind: "directive", type: i5.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i5.FlexFillDirective, selector: "[fxFill], [fxFlexFill]" }, { kind: "directive", type: i5.DefaultFlexAlignDirective, selector: " [fxFlexAlign], [fxFlexAlign.xs], [fxFlexAlign.sm], [fxFlexAlign.md], [fxFlexAlign.lg], [fxFlexAlign.xl], [fxFlexAlign.lt-sm], [fxFlexAlign.lt-md], [fxFlexAlign.lt-lg], [fxFlexAlign.lt-xl], [fxFlexAlign.gt-xs], [fxFlexAlign.gt-sm], [fxFlexAlign.gt-md], [fxFlexAlign.gt-lg]", inputs: ["fxFlexAlign", "fxFlexAlign.xs", "fxFlexAlign.sm", "fxFlexAlign.md", "fxFlexAlign.lg", "fxFlexAlign.xl", "fxFlexAlign.lt-sm", "fxFlexAlign.lt-md", "fxFlexAlign.lt-lg", "fxFlexAlign.lt-xl", "fxFlexAlign.gt-xs", "fxFlexAlign.gt-sm", "fxFlexAlign.gt-md", "fxFlexAlign.gt-lg"] }, { kind: "directive", type: i5.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "directive", type: i1$3.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"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: StatusDisplay, selector: "app-sprstatusdisplay", inputs: ["statusAlertType", "statusMsg", "statusWaiting"] }, { kind: "component", type: UploadStatus, selector: "app-uploadstatus", inputs: ["value", "awaitNewUpload", "status"] }, { kind: "component", type: TransportPanel, selector: "app-sprtransport", inputs: ["readonly", "actions", "navigationEnabled", "pausingEnabled"] }, { kind: "component", type: ReadyStateIndicator, selector: "app-readystateindicator", inputs: ["ready"] }] });
|
|
6086
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ControlPanel, decorators: [{
|
|
6524
6087
|
type: Component,
|
|
6525
|
-
args: [{
|
|
6526
|
-
selector: 'app-sprcontrolpanel',
|
|
6527
|
-
template: `
|
|
6088
|
+
args: [{ selector: 'app-sprcontrolpanel', template: `
|
|
6528
6089
|
<div fxHide.xs fxLayout="row" >
|
|
6529
6090
|
<app-sprstatusdisplay fxFlex="0 0 0" [statusMsg]="statusMsg" [statusAlertType]="statusAlertType" [statusWaiting]="statusWaiting"
|
|
6530
6091
|
class="hidden-xs"></app-sprstatusdisplay>
|
|
@@ -6544,16 +6105,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
6544
6105
|
<app-sprtransport [readonly]="readonly" [actions]="transportActions" [navigationEnabled]="navigationEnabled"></app-sprtransport>
|
|
6545
6106
|
|
|
6546
6107
|
</div>
|
|
6547
|
-
`,
|
|
6548
|
-
|
|
6549
|
-
align-content: center;
|
|
6550
|
-
align-items: center;
|
|
6551
|
-
margin: 0;
|
|
6552
|
-
padding: 20px;
|
|
6553
|
-
min-height: min-content; /* important */
|
|
6554
|
-
}`]
|
|
6555
|
-
}]
|
|
6556
|
-
}], ctorParameters: function () { return [{ type: i1$2.MatDialog }]; }, propDecorators: { statusDisplay: [{
|
|
6108
|
+
`, styles: ["div{align-content:center;align-items:center;margin:0;padding:20px;min-height:min-content}\n"] }]
|
|
6109
|
+
}], ctorParameters: function () { return [{ type: i1$4.MatDialog }]; }, propDecorators: { statusDisplay: [{
|
|
6557
6110
|
type: ViewChild,
|
|
6558
6111
|
args: [StatusDisplay, { static: true }]
|
|
6559
6112
|
}], transportPanel: [{
|
|
@@ -6989,8 +6542,8 @@ class RecordingItemControls {
|
|
|
6989
6542
|
// this.status = 'ERROR';
|
|
6990
6543
|
}
|
|
6991
6544
|
}
|
|
6992
|
-
RecordingItemControls.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6993
|
-
RecordingItemControls.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
6545
|
+
RecordingItemControls.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RecordingItemControls, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
6546
|
+
RecordingItemControls.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: RecordingItemControls, selector: "spr-recordingitemcontrols", inputs: { audioSignalCollapsed: "audioSignalCollapsed", enableDownload: "enableDownload", peakDbLvl: "peakDbLvl", agc: "agc", audioLoaded: "audioLoaded", playStartAction: "playStartAction", playStopAction: "playStopAction", displayLevelInfos: "displayLevelInfos" }, outputs: { onShowRecordingDetails: "onShowRecordingDetails", onDownloadRecording: "onDownloadRecording" }, ngImport: i0, template: `
|
|
6994
6547
|
<button matTooltip="Start playback" (click)="playStartAction?.perform()"
|
|
6995
6548
|
[disabled]="playStartAction?.disabled"
|
|
6996
6549
|
[style.color]="playStartAction?.disabled ? 'grey' : 'green'">
|
|
@@ -7012,12 +6565,10 @@ RecordingItemControls.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
7012
6565
|
<div style="min-width: 14ch;padding:2px"><table style="border-style: none"><tr><td>Peak:</td><td><span matTooltip="Peak level"
|
|
7013
6566
|
[style.color]="(peakDbLvl > warnDbLevel)?'red':'black'">{{peakDbLvl | number:'1.1-1'}} dB </span></td></tr>
|
|
7014
6567
|
<tr *ngIf="_agc"><td>AGC:</td><td><span matTooltip="Auto gain control">{{agcString}}</span></td></tr></table></div>
|
|
7015
|
-
`, isInline: true, styles: [":host{flex:0;width:100%;background:darkgray;padding:4px;box-sizing:border-box;height:100%;display:flex;flex-direction:row;flex-wrap:nowrap}\n", "span{flex:0;font-weight:700;display:inline-block;white-space:nowrap;box-sizing:border-box}\n", "button{touch-action:manipulation}\n"],
|
|
7016
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6568
|
+
`, isInline: true, styles: [":host{flex:0;width:100%;background:darkgray;padding:4px;box-sizing:border-box;height:100%;display:flex;flex-direction:row;flex-wrap:nowrap}\n", "span{flex:0;font-weight:700;display:inline-block;white-space:nowrap;box-sizing:border-box}\n", "button{touch-action:manipulation}\n"], dependencies: [{ kind: "directive", type: i1$3.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"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i4.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "pipe", type: i1$1.DecimalPipe, name: "number" }] });
|
|
6569
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RecordingItemControls, decorators: [{
|
|
7017
6570
|
type: Component,
|
|
7018
|
-
args: [{
|
|
7019
|
-
selector: 'spr-recordingitemcontrols',
|
|
7020
|
-
template: `
|
|
6571
|
+
args: [{ selector: 'spr-recordingitemcontrols', template: `
|
|
7021
6572
|
<button matTooltip="Start playback" (click)="playStartAction?.perform()"
|
|
7022
6573
|
[disabled]="playStartAction?.disabled"
|
|
7023
6574
|
[style.color]="playStartAction?.disabled ? 'grey' : 'green'">
|
|
@@ -7039,29 +6590,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
7039
6590
|
<div style="min-width: 14ch;padding:2px"><table style="border-style: none"><tr><td>Peak:</td><td><span matTooltip="Peak level"
|
|
7040
6591
|
[style.color]="(peakDbLvl > warnDbLevel)?'red':'black'">{{peakDbLvl | number:'1.1-1'}} dB </span></td></tr>
|
|
7041
6592
|
<tr *ngIf="_agc"><td>AGC:</td><td><span matTooltip="Auto gain control">{{agcString}}</span></td></tr></table></div>
|
|
7042
|
-
`,
|
|
7043
|
-
styles: [`:host {
|
|
7044
|
-
flex: 0; /* only required vertical space */
|
|
7045
|
-
width: 100%;
|
|
7046
|
-
background: darkgray;
|
|
7047
|
-
padding: 4px;
|
|
7048
|
-
box-sizing: border-box;
|
|
7049
|
-
height: 100%;
|
|
7050
|
-
|
|
7051
|
-
display: flex; /* flex container: left level bar, right decimal peak level value */
|
|
7052
|
-
flex-direction: row;
|
|
7053
|
-
flex-wrap: nowrap; /* wrap could completely destroy the layout */
|
|
7054
|
-
}`, `span {
|
|
7055
|
-
flex: 0;
|
|
7056
|
-
font-weight: bold;
|
|
7057
|
-
display: inline-block;
|
|
7058
|
-
white-space: nowrap;
|
|
7059
|
-
box-sizing: border-box;
|
|
7060
|
-
}`, `
|
|
7061
|
-
button {
|
|
7062
|
-
touch-action: manipulation;
|
|
7063
|
-
}`]
|
|
7064
|
-
}]
|
|
6593
|
+
`, styles: [":host{flex:0;width:100%;background:darkgray;padding:4px;box-sizing:border-box;height:100%;display:flex;flex-direction:row;flex-wrap:nowrap}\n", "span{flex:0;font-weight:700;display:inline-block;white-space:nowrap;box-sizing:border-box}\n", "button{touch-action:manipulation}\n"] }]
|
|
7065
6594
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { audioSignalCollapsed: [{
|
|
7066
6595
|
type: Input
|
|
7067
6596
|
}], enableDownload: [{
|
|
@@ -7155,33 +6684,21 @@ class RecordingItemDisplay {
|
|
|
7155
6684
|
this.changeDetectorRef.detectChanges();
|
|
7156
6685
|
}
|
|
7157
6686
|
}
|
|
7158
|
-
RecordingItemDisplay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7159
|
-
RecordingItemDisplay.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
6687
|
+
RecordingItemDisplay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RecordingItemDisplay, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
6688
|
+
RecordingItemDisplay.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: RecordingItemDisplay, selector: "spr-recordingitemdisplay", inputs: { streamingMode: "streamingMode", audioSignalCollapsed: "audioSignalCollapsed", enableDownload: "enableDownload", agc: "agc", playStartAction: "playStartAction", playStopAction: "playStopAction", displayAudioBuffer: "displayAudioBuffer", displayLevelInfos: "displayLevelInfos" }, outputs: { onShowRecordingDetails: "onShowRecordingDetails", onDownloadRecording: "onDownloadRecording" }, viewQueries: [{ propertyName: "liveLevel", first: true, predicate: LevelBar, descendants: true, static: true }], ngImport: i0, template: `
|
|
7160
6689
|
<div fxLayout="row" fxLayout.xs="column" [ngStyle]="{'height.px':100,'min-height.px': 100}" [ngStyle.xs]="{'height.px':125,'min-height.px': 125}">
|
|
7161
6690
|
<audio-levelbar fxFlex="1 0 1" [streamingMode]="streamingMode" [displayLevelInfos]="_displayLevelInfos"></audio-levelbar>
|
|
7162
6691
|
<spr-recordingitemcontrols fxFlex="0 0 0" [audioLoaded]="displayAudioBuffer!==null" [playStartAction]="playStartAction" [playStopAction]="playStopAction" [peakDbLvl]="peakDbLvl" [agc]="_agc" (onShowRecordingDetails)="onShowRecordingDetails.emit()"></spr-recordingitemcontrols>
|
|
7163
6692
|
</div>
|
|
7164
|
-
`, isInline: true, styles: ["div{width:100%;background:darkgray;padding:4px;box-sizing:border-box;flex-wrap:nowrap}\n", "audio-levelbar{box-sizing:border-box}\n"],
|
|
7165
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6693
|
+
`, isInline: true, styles: ["div{width:100%;background:darkgray;padding:4px;box-sizing:border-box;flex-wrap:nowrap}\n", "audio-levelbar{box-sizing:border-box}\n"], dependencies: [{ kind: "directive", type: i5.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i5.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "directive", type: i1$3.DefaultStyleDirective, selector: " [ngStyle], [ngStyle.xs], [ngStyle.sm], [ngStyle.md], [ngStyle.lg], [ngStyle.xl], [ngStyle.lt-sm], [ngStyle.lt-md], [ngStyle.lt-lg], [ngStyle.lt-xl], [ngStyle.gt-xs], [ngStyle.gt-sm], [ngStyle.gt-md], [ngStyle.gt-lg]", inputs: ["ngStyle", "ngStyle.xs", "ngStyle.sm", "ngStyle.md", "ngStyle.lg", "ngStyle.xl", "ngStyle.lt-sm", "ngStyle.lt-md", "ngStyle.lt-lg", "ngStyle.lt-xl", "ngStyle.gt-xs", "ngStyle.gt-sm", "ngStyle.gt-md", "ngStyle.gt-lg"] }, { kind: "directive", type: i1$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: LevelBar, selector: "audio-levelbar", inputs: ["streamingMode", "displayLevelInfos"] }, { kind: "component", type: RecordingItemControls, selector: "spr-recordingitemcontrols", inputs: ["audioSignalCollapsed", "enableDownload", "peakDbLvl", "agc", "audioLoaded", "playStartAction", "playStopAction", "displayLevelInfos"], outputs: ["onShowRecordingDetails", "onDownloadRecording"] }] });
|
|
6694
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RecordingItemDisplay, decorators: [{
|
|
7166
6695
|
type: Component,
|
|
7167
|
-
args: [{
|
|
7168
|
-
selector: 'spr-recordingitemdisplay',
|
|
7169
|
-
template: `
|
|
6696
|
+
args: [{ selector: 'spr-recordingitemdisplay', template: `
|
|
7170
6697
|
<div fxLayout="row" fxLayout.xs="column" [ngStyle]="{'height.px':100,'min-height.px': 100}" [ngStyle.xs]="{'height.px':125,'min-height.px': 125}">
|
|
7171
6698
|
<audio-levelbar fxFlex="1 0 1" [streamingMode]="streamingMode" [displayLevelInfos]="_displayLevelInfos"></audio-levelbar>
|
|
7172
6699
|
<spr-recordingitemcontrols fxFlex="0 0 0" [audioLoaded]="displayAudioBuffer!==null" [playStartAction]="playStartAction" [playStopAction]="playStopAction" [peakDbLvl]="peakDbLvl" [agc]="_agc" (onShowRecordingDetails)="onShowRecordingDetails.emit()"></spr-recordingitemcontrols>
|
|
7173
6700
|
</div>
|
|
7174
|
-
`,
|
|
7175
|
-
styles: [`div {
|
|
7176
|
-
width: 100%;
|
|
7177
|
-
background: darkgray;
|
|
7178
|
-
padding: 4px;
|
|
7179
|
-
box-sizing: border-box;
|
|
7180
|
-
flex-wrap: nowrap; /* wrap could completely destroy the layout */
|
|
7181
|
-
}`, `audio-levelbar {
|
|
7182
|
-
box-sizing: border-box;
|
|
7183
|
-
}`]
|
|
7184
|
-
}]
|
|
6701
|
+
`, styles: ["div{width:100%;background:darkgray;padding:4px;box-sizing:border-box;flex-wrap:nowrap}\n", "audio-levelbar{box-sizing:border-box}\n"] }]
|
|
7185
6702
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { liveLevel: [{
|
|
7186
6703
|
type: ViewChild,
|
|
7187
6704
|
args: [LevelBar, { static: true }]
|
|
@@ -7528,7 +7045,6 @@ let BasicRecorder = class BasicRecorder {
|
|
|
7528
7045
|
this.uploadStatus = 'ok';
|
|
7529
7046
|
this.audioSignalCollapsed = true;
|
|
7530
7047
|
this.peakLevelInDb = MIN_DB_LEVEL;
|
|
7531
|
-
this.displayLevelInfos = null;
|
|
7532
7048
|
this.displayAudioClip = null;
|
|
7533
7049
|
this.audioFetchSubscription = null;
|
|
7534
7050
|
this.destroyed = false;
|
|
@@ -8143,9 +7659,9 @@ class RecordingService {
|
|
|
8143
7659
|
}
|
|
8144
7660
|
RecordingService.REC_API_CTX = 'recfile';
|
|
8145
7661
|
RecordingService.RECORDING_API_CTX = 'recordingfile';
|
|
8146
|
-
RecordingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8147
|
-
RecordingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
8148
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7662
|
+
RecordingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RecordingService, deps: [{ token: i1.HttpClient }, { token: SPEECHRECORDER_CONFIG }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7663
|
+
RecordingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RecordingService });
|
|
7664
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RecordingService, decorators: [{
|
|
8149
7665
|
type: Injectable
|
|
8150
7666
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: SpeechRecorderConfig, decorators: [{
|
|
8151
7667
|
type: Inject,
|
|
@@ -8159,9 +7675,9 @@ class SpeechRecorderUploader extends Uploader {
|
|
|
8159
7675
|
this.config = config;
|
|
8160
7676
|
}
|
|
8161
7677
|
}
|
|
8162
|
-
SpeechRecorderUploader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8163
|
-
SpeechRecorderUploader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
8164
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7678
|
+
SpeechRecorderUploader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SpeechRecorderUploader, deps: [{ token: i1.HttpClient }, { token: SPEECHRECORDER_CONFIG }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7679
|
+
SpeechRecorderUploader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SpeechRecorderUploader });
|
|
7680
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SpeechRecorderUploader, decorators: [{
|
|
8165
7681
|
type: Injectable
|
|
8166
7682
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: SpeechRecorderConfig, decorators: [{
|
|
8167
7683
|
type: Inject,
|
|
@@ -8181,40 +7697,17 @@ class WarningBar {
|
|
|
8181
7697
|
}
|
|
8182
7698
|
}
|
|
8183
7699
|
}
|
|
8184
|
-
WarningBar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8185
|
-
WarningBar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
7700
|
+
WarningBar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: WarningBar, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
7701
|
+
WarningBar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: WarningBar, selector: "app-warningbar", inputs: { warningText: "warningText", show: "show" }, providers: [SessionService], ngImport: i0, template: `
|
|
8186
7702
|
<div [class]="displayClass">{{warningText}}</div>
|
|
8187
7703
|
|
|
8188
7704
|
`, isInline: true, styles: [":host{flex:0 0 content;background:orange}\n", ".off{display:none}\n", ".on{padding:2px;display:inline-block;width:100%;font-weight:700;font-size:larger;text-align:center}\n"] });
|
|
8189
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7705
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: WarningBar, decorators: [{
|
|
8190
7706
|
type: Component,
|
|
8191
|
-
args: [{
|
|
8192
|
-
selector: 'app-warningbar',
|
|
8193
|
-
providers: [SessionService],
|
|
8194
|
-
template: `
|
|
7707
|
+
args: [{ selector: 'app-warningbar', providers: [SessionService], template: `
|
|
8195
7708
|
<div [class]="displayClass">{{warningText}}</div>
|
|
8196
7709
|
|
|
8197
|
-
`,
|
|
8198
|
-
styles: [`:host {
|
|
8199
|
-
|
|
8200
|
-
flex: 0 0 content;
|
|
8201
|
-
background: orange;
|
|
8202
|
-
|
|
8203
|
-
}`, `
|
|
8204
|
-
.off {
|
|
8205
|
-
display: none;
|
|
8206
|
-
}
|
|
8207
|
-
`, `
|
|
8208
|
-
.on {
|
|
8209
|
-
padding: 2px;
|
|
8210
|
-
display: inline-block;
|
|
8211
|
-
width: 100%;
|
|
8212
|
-
font-weight: bold;
|
|
8213
|
-
font-size: larger;
|
|
8214
|
-
text-align: center;
|
|
8215
|
-
}
|
|
8216
|
-
`]
|
|
8217
|
-
}]
|
|
7710
|
+
`, styles: [":host{flex:0 0 content;background:orange}\n", ".off{display:none}\n", ".on{padding:2px;display:inline-block;width:100%;font-weight:700;font-size:larger;text-align:center}\n"] }]
|
|
8218
7711
|
}], propDecorators: { warningText: [{
|
|
8219
7712
|
type: Input
|
|
8220
7713
|
}], show: [{
|
|
@@ -8490,7 +7983,7 @@ class SessionManager extends BasicRecorder {
|
|
|
8490
7983
|
this.transportActions.fwdAction.disabled = true;
|
|
8491
7984
|
this.transportActions.fwdNextAction.disabled = true;
|
|
8492
7985
|
this.transportActions.bwdAction.disabled = true;
|
|
8493
|
-
this.
|
|
7986
|
+
this.updateDisplayRecFile(null);
|
|
8494
7987
|
this.displayRecFileVersion = 0;
|
|
8495
7988
|
this.displayAudioClip = null;
|
|
8496
7989
|
this.showRecording();
|
|
@@ -8592,8 +8085,13 @@ class SessionManager extends BasicRecorder {
|
|
|
8592
8085
|
}
|
|
8593
8086
|
}
|
|
8594
8087
|
}
|
|
8088
|
+
loadAndShowDisplayRecordingFile() {
|
|
8089
|
+
}
|
|
8595
8090
|
set displayRecFile(displayRecFile) {
|
|
8596
8091
|
this._displayRecFile = displayRecFile;
|
|
8092
|
+
}
|
|
8093
|
+
updateDisplayRecFile(displayRecFile, fetchAndApplyRecordingFile = true) {
|
|
8094
|
+
this.displayRecFile = displayRecFile;
|
|
8597
8095
|
if (this._displayRecFile) {
|
|
8598
8096
|
let ab = this._displayRecFile.audioBuffer;
|
|
8599
8097
|
if (ab) {
|
|
@@ -8604,31 +8102,36 @@ class SessionManager extends BasicRecorder {
|
|
|
8604
8102
|
// clear for now ...
|
|
8605
8103
|
this.displayAudioClip = null;
|
|
8606
8104
|
this.controlAudioPlayer.audioClip = null;
|
|
8607
|
-
if (
|
|
8608
|
-
|
|
8609
|
-
|
|
8610
|
-
|
|
8611
|
-
|
|
8612
|
-
fab =
|
|
8613
|
-
|
|
8614
|
-
|
|
8615
|
-
|
|
8105
|
+
if (fetchAndApplyRecordingFile) {
|
|
8106
|
+
if (this._controlAudioPlayer && this._session) {
|
|
8107
|
+
//... and try to fetch from server
|
|
8108
|
+
const dRf = this._displayRecFile;
|
|
8109
|
+
this.audioFetchSubscription = this.recFileService.fetchAndApplySprRecordingFile(this._controlAudioPlayer.context, this._session.project, dRf).subscribe((rf) => {
|
|
8110
|
+
let fab = null;
|
|
8111
|
+
if (rf) {
|
|
8112
|
+
fab = dRf.audioBuffer;
|
|
8113
|
+
}
|
|
8114
|
+
else {
|
|
8115
|
+
//console.debug("Recording file could not be loaded. rf: "+rf+", _displayRecFile: "+this._displayRecFile+", dRf: "+dRf);
|
|
8116
|
+
this.statusMsg = 'Recording file could not be loaded.';
|
|
8117
|
+
this.statusAlertType = 'error';
|
|
8118
|
+
}
|
|
8119
|
+
if (fab) {
|
|
8120
|
+
// TODO Async will set the previous file with autorecording
|
|
8121
|
+
this.displayAudioClip = new AudioClip(fab);
|
|
8122
|
+
}
|
|
8123
|
+
this.controlAudioPlayer.audioClip = this.displayAudioClip;
|
|
8124
|
+
this.showRecording();
|
|
8125
|
+
}, err => {
|
|
8126
|
+
console.error("Could not load recording file from server: " + err);
|
|
8127
|
+
this.statusMsg = 'Recording file could not be loaded: ' + err;
|
|
8616
8128
|
this.statusAlertType = 'error';
|
|
8617
|
-
}
|
|
8618
|
-
|
|
8619
|
-
|
|
8620
|
-
|
|
8621
|
-
this.controlAudioPlayer.audioClip = this.displayAudioClip;
|
|
8622
|
-
this.showRecording();
|
|
8623
|
-
}, err => {
|
|
8624
|
-
console.error("Could not load recording file from server: " + err);
|
|
8625
|
-
this.statusMsg = 'Recording file could not be loaded: ' + err;
|
|
8129
|
+
});
|
|
8130
|
+
}
|
|
8131
|
+
else {
|
|
8132
|
+
this.statusMsg = 'Recording file could not be decoded. Audio context unavailable.';
|
|
8626
8133
|
this.statusAlertType = 'error';
|
|
8627
|
-
}
|
|
8628
|
-
}
|
|
8629
|
-
else {
|
|
8630
|
-
this.statusMsg = 'Recording file could not be decoded. Audio context unavailable.';
|
|
8631
|
-
this.statusAlertType = 'error';
|
|
8134
|
+
}
|
|
8632
8135
|
}
|
|
8633
8136
|
}
|
|
8634
8137
|
}
|
|
@@ -8643,17 +8146,14 @@ class SessionManager extends BasicRecorder {
|
|
|
8643
8146
|
showRecording() {
|
|
8644
8147
|
this.controlAudioPlayer.stop();
|
|
8645
8148
|
if (this.displayAudioClip) {
|
|
8646
|
-
this.
|
|
8647
|
-
|
|
8149
|
+
let dap = this.displayAudioClip;
|
|
8150
|
+
this.levelMeasure.calcBufferLevelInfos(dap.buffer, LEVEL_BAR_INTERVALL_SECONDS).then((levelInfos) => {
|
|
8151
|
+
dap.levelInfos = levelInfos;
|
|
8648
8152
|
this.changeDetectorRef.detectChanges();
|
|
8649
8153
|
});
|
|
8650
8154
|
this.playStartAction.disabled = false;
|
|
8651
8155
|
}
|
|
8652
8156
|
else {
|
|
8653
|
-
// TODO
|
|
8654
|
-
// Setting to null does not trigger a change if it was null before (happens after nextitem() in AUTOPROGRESS mode)
|
|
8655
|
-
// The level bar display does not clear, it shows the last captured stream
|
|
8656
|
-
this.displayLevelInfos = null;
|
|
8657
8157
|
this.playStartAction.disabled = true;
|
|
8658
8158
|
// Collapse audio signal display if open
|
|
8659
8159
|
if (!this.audioSignalCollapsed) {
|
|
@@ -8682,6 +8182,8 @@ class SessionManager extends BasicRecorder {
|
|
|
8682
8182
|
this.applyPrompt();
|
|
8683
8183
|
}
|
|
8684
8184
|
if (isNonrecording) {
|
|
8185
|
+
this.updateDisplayRecFile(null);
|
|
8186
|
+
this.displayRecFileVersion = 0;
|
|
8685
8187
|
this.startStopSignalState = 4 /* OFF */;
|
|
8686
8188
|
}
|
|
8687
8189
|
else {
|
|
@@ -8695,21 +8197,21 @@ class SessionManager extends BasicRecorder {
|
|
|
8695
8197
|
if (availRecfiles > 0) {
|
|
8696
8198
|
let rfVers = availRecfiles - 1;
|
|
8697
8199
|
recentRecFile = it.recs[rfVers];
|
|
8698
|
-
this.
|
|
8200
|
+
this.updateDisplayRecFile(recentRecFile, !temporary);
|
|
8699
8201
|
this.displayRecFileVersion = rfVers;
|
|
8700
8202
|
}
|
|
8701
8203
|
else {
|
|
8702
|
-
this.
|
|
8204
|
+
this.updateDisplayRecFile(null);
|
|
8703
8205
|
this.displayRecFileVersion = 0;
|
|
8704
8206
|
}
|
|
8705
8207
|
}
|
|
8706
|
-
if (!temporary) {
|
|
8707
|
-
this.showRecording();
|
|
8708
|
-
}
|
|
8709
8208
|
if (!this.readonly) {
|
|
8710
8209
|
this.startStopSignalState = 0 /* IDLE */;
|
|
8711
8210
|
}
|
|
8712
8211
|
}
|
|
8212
|
+
if (!temporary) {
|
|
8213
|
+
this.showRecording();
|
|
8214
|
+
}
|
|
8713
8215
|
this.updateStartActionDisableState();
|
|
8714
8216
|
this.updateNavigationActions();
|
|
8715
8217
|
}
|
|
@@ -8876,12 +8378,16 @@ class SessionManager extends BasicRecorder {
|
|
|
8876
8378
|
this.transportActions.stopAction.disabled = true;
|
|
8877
8379
|
this.transportActions.nextAction.disabled = true;
|
|
8878
8380
|
this.transportActions.pauseAction.disabled = true;
|
|
8879
|
-
this.
|
|
8880
|
-
|
|
8881
|
-
|
|
8882
|
-
this.
|
|
8883
|
-
|
|
8884
|
-
|
|
8381
|
+
if (this.postRecTimerRunning) {
|
|
8382
|
+
}
|
|
8383
|
+
else {
|
|
8384
|
+
this.postRecTimerId = window.setTimeout(() => {
|
|
8385
|
+
this.postRecTimerRunning = false;
|
|
8386
|
+
this.status = 8 /* STOPPING_PAUSE */;
|
|
8387
|
+
this.stopRecording();
|
|
8388
|
+
}, this.postDelay);
|
|
8389
|
+
this.postRecTimerRunning = true;
|
|
8390
|
+
}
|
|
8885
8391
|
}
|
|
8886
8392
|
stopRecording() {
|
|
8887
8393
|
if (this.maxRecTimerRunning) {
|
|
@@ -9031,6 +8537,7 @@ class SessionManager extends BasicRecorder {
|
|
|
9031
8537
|
}
|
|
9032
8538
|
}
|
|
9033
8539
|
// apply recorded item
|
|
8540
|
+
console.debug("Apply item: startNext: " + startNext);
|
|
9034
8541
|
this.applyItem(startNext);
|
|
9035
8542
|
if (startNext) {
|
|
9036
8543
|
this.startItem();
|
|
@@ -9087,8 +8594,8 @@ class SessionManager extends BasicRecorder {
|
|
|
9087
8594
|
}
|
|
9088
8595
|
}
|
|
9089
8596
|
}
|
|
9090
|
-
SessionManager.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9091
|
-
SessionManager.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
8597
|
+
SessionManager.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SessionManager, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i1$4.MatDialog }, { token: SessionService }, { token: RecordingService }, { token: SpeechRecorderUploader }, { token: SPEECHRECORDER_CONFIG }], target: i0.ɵɵFactoryTarget.Component });
|
|
8598
|
+
SessionManager.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: SessionManager, selector: "app-sprrecordingsession", inputs: { projectName: "projectName", dataSaved: "dataSaved" }, host: { listeners: { "window:keypress": "onKeyPress($event)", "window:keydown": "onKeyDown($event)" } }, providers: [SessionService], viewQueries: [{ propertyName: "prompting", first: true, predicate: Prompting, descendants: true, static: true }, { propertyName: "liveLevelDisplay", first: true, predicate: LevelBar, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
9092
8599
|
<app-warningbar [show]="isTestSession()" warningText="Test recording only!"></app-warningbar>
|
|
9093
8600
|
<app-warningbar [show]="isDefaultAudioTestSession()" warningText="This test uses default audio device! Regular sessions may require a particular audio device (microphone)!"></app-warningbar>
|
|
9094
8601
|
<app-sprprompting [projectName]="projectName"
|
|
@@ -9107,7 +8614,7 @@ SessionManager.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version
|
|
|
9107
8614
|
|
|
9108
8615
|
|
|
9109
8616
|
<div fxLayout="row" fxLayout.xs="column" [ngStyle]="{'height.px':100,'min-height.px': 100}" [ngStyle.xs]="{'height.px':125,'min-height.px': 125}">
|
|
9110
|
-
<audio-levelbar fxFlex="1 0 1" [streamingMode]="isRecording()" [displayLevelInfos]="
|
|
8617
|
+
<audio-levelbar fxFlex="1 0 1" [streamingMode]="isRecording()" [displayLevelInfos]="displayAudioClip?.levelInfos"></audio-levelbar>
|
|
9111
8618
|
<div fxLayout="row">
|
|
9112
8619
|
<spr-recordingitemcontrols fxFlex="10 0 1"
|
|
9113
8620
|
[audioLoaded]="displayAudioClip?.buffer!==null"
|
|
@@ -9136,13 +8643,10 @@ SessionManager.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version
|
|
|
9136
8643
|
<app-readystateindicator class="ricontrols" fxLayoutAlign="end center" fxHide.xs [ready]="dataSaved && !isActive()"></app-readystateindicator>
|
|
9137
8644
|
</div>
|
|
9138
8645
|
</div>
|
|
9139
|
-
`, isInline: true, styles: [":host{flex:2;background:lightgrey;display:flex;flex-direction:column;margin:0;padding:0;min-height:0px;overflow:hidden}\n", ".ricontrols{padding:4px;box-sizing:border-box;height:100%}\n", ".dark{background:darkgray}\n", ".controlpanel{align-content:center;align-items:center;margin:0;padding:20px;min-height:min-content}\n"],
|
|
9140
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8646
|
+
`, isInline: true, styles: [":host{flex:2;background:lightgrey;display:flex;flex-direction:column;margin:0;padding:0;min-height:0px;overflow:hidden}\n", ".ricontrols{padding:4px;box-sizing:border-box;height:100%}\n", ".dark{background:darkgray}\n", ".controlpanel{align-content:center;align-items:center;margin:0;padding:20px;min-height:min-content}\n"], dependencies: [{ kind: "directive", type: i5.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i5.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "directive", type: i5.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "directive", type: i1$3.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"] }, { kind: "directive", type: i1$3.DefaultStyleDirective, selector: " [ngStyle], [ngStyle.xs], [ngStyle.sm], [ngStyle.md], [ngStyle.lg], [ngStyle.xl], [ngStyle.lt-sm], [ngStyle.lt-md], [ngStyle.lt-lg], [ngStyle.lt-xl], [ngStyle.gt-xs], [ngStyle.gt-sm], [ngStyle.gt-md], [ngStyle.gt-lg]", inputs: ["ngStyle", "ngStyle.xs", "ngStyle.sm", "ngStyle.md", "ngStyle.lg", "ngStyle.xl", "ngStyle.lt-sm", "ngStyle.lt-md", "ngStyle.lt-lg", "ngStyle.lt-xl", "ngStyle.gt-xs", "ngStyle.gt-sm", "ngStyle.gt-md", "ngStyle.gt-lg"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i8.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "component", type: LevelBar, selector: "audio-levelbar", inputs: ["streamingMode", "displayLevelInfos"] }, { kind: "component", type: Prompting, selector: "app-sprprompting", inputs: ["projectName", "startStopSignalState", "promptItem", "showPrompt", "items", "selectedItemIdx", "transportActions", "enableDownload", "audioSignalCollapsed", "displayAudioClip", "playStartAction", "playSelectionAction", "autoPlayOnSelectToggleAction", "playStopAction"], outputs: ["onItemSelect", "onNextItem", "onPrevItem"] }, { kind: "component", type: StatusDisplay, selector: "app-sprstatusdisplay", inputs: ["statusAlertType", "statusMsg", "statusWaiting"] }, { kind: "component", type: RecordingItemControls, selector: "spr-recordingitemcontrols", inputs: ["audioSignalCollapsed", "enableDownload", "peakDbLvl", "agc", "audioLoaded", "playStartAction", "playStopAction", "displayLevelInfos"], outputs: ["onShowRecordingDetails", "onDownloadRecording"] }, { kind: "component", type: UploadStatus, selector: "app-uploadstatus", inputs: ["value", "awaitNewUpload", "status"] }, { kind: "component", type: TransportPanel, selector: "app-sprtransport", inputs: ["readonly", "actions", "navigationEnabled", "pausingEnabled"] }, { kind: "component", type: WakeLockIndicator, selector: "app-wakelockindicator", inputs: ["screenLocked"] }, { kind: "component", type: ReadyStateIndicator, selector: "app-readystateindicator", inputs: ["ready"] }, { kind: "component", type: WarningBar, selector: "app-warningbar", inputs: ["warningText", "show"] }] });
|
|
8647
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SessionManager, decorators: [{
|
|
9141
8648
|
type: Component,
|
|
9142
|
-
args: [{
|
|
9143
|
-
selector: 'app-sprrecordingsession',
|
|
9144
|
-
providers: [SessionService],
|
|
9145
|
-
template: `
|
|
8649
|
+
args: [{ selector: 'app-sprrecordingsession', providers: [SessionService], template: `
|
|
9146
8650
|
<app-warningbar [show]="isTestSession()" warningText="Test recording only!"></app-warningbar>
|
|
9147
8651
|
<app-warningbar [show]="isDefaultAudioTestSession()" warningText="This test uses default audio device! Regular sessions may require a particular audio device (microphone)!"></app-warningbar>
|
|
9148
8652
|
<app-sprprompting [projectName]="projectName"
|
|
@@ -9161,7 +8665,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
9161
8665
|
|
|
9162
8666
|
|
|
9163
8667
|
<div fxLayout="row" fxLayout.xs="column" [ngStyle]="{'height.px':100,'min-height.px': 100}" [ngStyle.xs]="{'height.px':125,'min-height.px': 125}">
|
|
9164
|
-
<audio-levelbar fxFlex="1 0 1" [streamingMode]="isRecording()" [displayLevelInfos]="
|
|
8668
|
+
<audio-levelbar fxFlex="1 0 1" [streamingMode]="isRecording()" [displayLevelInfos]="displayAudioClip?.levelInfos"></audio-levelbar>
|
|
9165
8669
|
<div fxLayout="row">
|
|
9166
8670
|
<spr-recordingitemcontrols fxFlex="10 0 1"
|
|
9167
8671
|
[audioLoaded]="displayAudioClip?.buffer!==null"
|
|
@@ -9190,33 +8694,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
9190
8694
|
<app-readystateindicator class="ricontrols" fxLayoutAlign="end center" fxHide.xs [ready]="dataSaved && !isActive()"></app-readystateindicator>
|
|
9191
8695
|
</div>
|
|
9192
8696
|
</div>
|
|
9193
|
-
`,
|
|
9194
|
-
|
|
9195
|
-
flex: 2;
|
|
9196
|
-
background: lightgrey;
|
|
9197
|
-
display: flex; /* Vertical flex container: Bottom transport panel, above prompting panel */
|
|
9198
|
-
flex-direction: column;
|
|
9199
|
-
margin: 0;
|
|
9200
|
-
padding: 0;
|
|
9201
|
-
min-height: 0px;
|
|
9202
|
-
|
|
9203
|
-
/* Prevents horizontal scroll bar on swipe right */
|
|
9204
|
-
overflow: hidden;
|
|
9205
|
-
}`, `.ricontrols {
|
|
9206
|
-
padding: 4px;
|
|
9207
|
-
box-sizing: border-box;
|
|
9208
|
-
height: 100%;
|
|
9209
|
-
}`, `.dark {
|
|
9210
|
-
background: darkgray;
|
|
9211
|
-
}`, `.controlpanel {
|
|
9212
|
-
align-content: center;
|
|
9213
|
-
align-items: center;
|
|
9214
|
-
margin: 0;
|
|
9215
|
-
padding: 20px;
|
|
9216
|
-
min-height: min-content; /* important */
|
|
9217
|
-
}`]
|
|
9218
|
-
}]
|
|
9219
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i1$2.MatDialog }, { type: SessionService }, { type: RecordingService }, { type: SpeechRecorderUploader }, { type: SpeechRecorderConfig, decorators: [{
|
|
8697
|
+
`, styles: [":host{flex:2;background:lightgrey;display:flex;flex-direction:column;margin:0;padding:0;min-height:0px;overflow:hidden}\n", ".ricontrols{padding:4px;box-sizing:border-box;height:100%}\n", ".dark{background:darkgray}\n", ".controlpanel{align-content:center;align-items:center;margin:0;padding:20px;min-height:min-content}\n"] }]
|
|
8698
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i1$4.MatDialog }, { type: SessionService }, { type: RecordingService }, { type: SpeechRecorderUploader }, { type: SpeechRecorderConfig, decorators: [{
|
|
9220
8699
|
type: Inject,
|
|
9221
8700
|
args: [SPEECHRECORDER_CONFIG]
|
|
9222
8701
|
}] }]; }, propDecorators: { projectName: [{
|
|
@@ -9276,9 +8755,9 @@ class ScriptService {
|
|
|
9276
8755
|
return this.http.get(scriptUrl, { withCredentials: this.withCredentials });
|
|
9277
8756
|
}
|
|
9278
8757
|
}
|
|
9279
|
-
ScriptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9280
|
-
ScriptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
9281
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8758
|
+
ScriptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ScriptService, deps: [{ token: i1.HttpClient }, { token: SPEECHRECORDER_CONFIG }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8759
|
+
ScriptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ScriptService });
|
|
8760
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ScriptService, decorators: [{
|
|
9282
8761
|
type: Injectable
|
|
9283
8762
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: SpeechRecorderConfig, decorators: [{
|
|
9284
8763
|
type: Inject,
|
|
@@ -9624,52 +9103,27 @@ class SpeechrecorderngComponent extends RecorderComponent {
|
|
|
9624
9103
|
this.sm.statusMsg = 'ERROR: Recording.';
|
|
9625
9104
|
}
|
|
9626
9105
|
}
|
|
9627
|
-
SpeechrecorderngComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9628
|
-
SpeechrecorderngComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
9106
|
+
SpeechrecorderngComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SpeechrecorderngComponent, deps: [{ token: i1$2.ActivatedRoute }, { token: i1$2.Router }, { token: i0.ChangeDetectorRef }, { token: SessionService }, { token: ProjectService }, { token: ScriptService }, { token: RecordingService }, { token: SpeechRecorderUploader }], target: i0.ɵɵFactoryTarget.Component });
|
|
9107
|
+
SpeechrecorderngComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: SpeechrecorderngComponent, selector: "app-speechrecorder", providers: [SessionService], viewQueries: [{ propertyName: "sm", first: true, predicate: SessionManager, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
9629
9108
|
<app-sprrecordingsession [projectName]="project?.name" [dataSaved]="dataSaved"></app-sprrecordingsession>
|
|
9630
|
-
`, isInline: true, styles: [":host{flex:2;display:flex;flex-direction:column;min-height:0}\n"],
|
|
9631
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9109
|
+
`, isInline: true, styles: [":host{flex:2;display:flex;flex-direction:column;min-height:0}\n"], dependencies: [{ kind: "component", type: SessionManager, selector: "app-sprrecordingsession", inputs: ["projectName", "dataSaved"] }] });
|
|
9110
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SpeechrecorderngComponent, decorators: [{
|
|
9632
9111
|
type: Component,
|
|
9633
|
-
args: [{
|
|
9634
|
-
selector: 'app-speechrecorder',
|
|
9635
|
-
providers: [SessionService],
|
|
9636
|
-
template: `
|
|
9112
|
+
args: [{ selector: 'app-speechrecorder', providers: [SessionService], template: `
|
|
9637
9113
|
<app-sprrecordingsession [projectName]="project?.name" [dataSaved]="dataSaved"></app-sprrecordingsession>
|
|
9638
|
-
`,
|
|
9639
|
-
|
|
9640
|
-
flex: 2;
|
|
9641
|
-
display: flex;
|
|
9642
|
-
flex-direction: column;
|
|
9643
|
-
min-height:0;
|
|
9644
|
-
|
|
9645
|
-
}`]
|
|
9646
|
-
}]
|
|
9647
|
-
}], ctorParameters: function () { return [{ type: i1$1.ActivatedRoute }, { type: i1$1.Router }, { type: i0.ChangeDetectorRef }, { type: SessionService }, { type: ProjectService }, { type: ScriptService }, { type: RecordingService }, { type: SpeechRecorderUploader }]; }, propDecorators: { sm: [{
|
|
9114
|
+
`, styles: [":host{flex:2;display:flex;flex-direction:column;min-height:0}\n"] }]
|
|
9115
|
+
}], ctorParameters: function () { return [{ type: i1$2.ActivatedRoute }, { type: i1$2.Router }, { type: i0.ChangeDetectorRef }, { type: SessionService }, { type: ProjectService }, { type: ScriptService }, { type: RecordingService }, { type: SpeechRecorderUploader }]; }, propDecorators: { sm: [{
|
|
9648
9116
|
type: ViewChild,
|
|
9649
9117
|
args: [SessionManager, { static: true }]
|
|
9650
9118
|
}] } });
|
|
9651
9119
|
|
|
9652
9120
|
class ScrollPaneHorizontal {
|
|
9653
9121
|
}
|
|
9654
|
-
ScrollPaneHorizontal.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9655
|
-
ScrollPaneHorizontal.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
9656
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9122
|
+
ScrollPaneHorizontal.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ScrollPaneHorizontal, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9123
|
+
ScrollPaneHorizontal.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: ScrollPaneHorizontal, selector: "scroll-pane-horizontal", ngImport: i0, template: '', isInline: true, styles: [":host{width:100%;background:darkgray;box-sizing:border-box;height:100%;position:relative;overflow-x:scroll;overflow-y:auto}\n"] });
|
|
9124
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ScrollPaneHorizontal, decorators: [{
|
|
9657
9125
|
type: Component,
|
|
9658
|
-
args: [{
|
|
9659
|
-
selector: 'scroll-pane-horizontal',
|
|
9660
|
-
template: '',
|
|
9661
|
-
styles: [
|
|
9662
|
-
`:host {
|
|
9663
|
-
width: 100%;
|
|
9664
|
-
background: darkgray;
|
|
9665
|
-
box-sizing: border-box;
|
|
9666
|
-
height: 100%;
|
|
9667
|
-
position: relative;
|
|
9668
|
-
overflow-x: scroll;
|
|
9669
|
-
overflow-y: auto;
|
|
9670
|
-
}`
|
|
9671
|
-
]
|
|
9672
|
-
}]
|
|
9126
|
+
args: [{ selector: 'scroll-pane-horizontal', template: '', styles: [":host{width:100%;background:darkgray;box-sizing:border-box;height:100%;position:relative;overflow-x:scroll;overflow-y:auto}\n"] }]
|
|
9673
9127
|
}] });
|
|
9674
9128
|
|
|
9675
9129
|
class AudioDisplayPlayer {
|
|
@@ -9872,8 +9326,8 @@ class AudioDisplayPlayer {
|
|
|
9872
9326
|
this.status = 'ERROR';
|
|
9873
9327
|
}
|
|
9874
9328
|
}
|
|
9875
|
-
AudioDisplayPlayer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9876
|
-
AudioDisplayPlayer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
9329
|
+
AudioDisplayPlayer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AudioDisplayPlayer, deps: [{ token: i1$2.ActivatedRoute }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
9330
|
+
AudioDisplayPlayer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: AudioDisplayPlayer, selector: "app-audiodisplayplayer", inputs: { playStartAction: "playStartAction", playStopAction: "playStopAction", playSelectionAction: "playSelectionAction", autoPlayOnSelectToggleAction: "autoPlayOnSelectToggleAction", audioData: "audioData", audioClip: "audioClip" }, viewQueries: [{ propertyName: "audioDisplayScrollPane", first: true, predicate: AudioDisplayScrollPane, descendants: true, static: true }], ngImport: i0, template: `
|
|
9877
9331
|
|
|
9878
9332
|
<audio-display-scroll-pane #audioDisplayScrollPane></audio-display-scroll-pane>
|
|
9879
9333
|
|
|
@@ -9886,12 +9340,10 @@ AudioDisplayPlayer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
9886
9340
|
[zoomOutAction]="zoomOutAction"
|
|
9887
9341
|
[zoomSelectedAction]="zoomSelectedAction"
|
|
9888
9342
|
[zoomFitToPanelAction]="zoomFitToPanelAction"></audio-display-control><p>{{status}}
|
|
9889
|
-
`, isInline: true, styles: [":host{display:flex;flex-direction:column;position:absolute;bottom:0px;height:100%;width:100%;overflow:hidden;padding:20px;z-index:5;box-sizing:border-box;background-color:#000000bf}\n"],
|
|
9890
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9343
|
+
`, isInline: true, styles: [":host{display:flex;flex-direction:column;position:absolute;bottom:0px;height:100%;width:100%;overflow:hidden;padding:20px;z-index:5;box-sizing:border-box;background-color:#000000bf}\n"], dependencies: [{ kind: "component", type: AudioDisplayScrollPane, selector: "audio-display-scroll-pane", inputs: ["audioClip"], outputs: ["zoomInAction", "zoomOutAction", "zoomSelectedAction", "zoomFitToPanelAction"] }, { kind: "component", type: AudioDisplayControl, selector: "audio-display-control", inputs: ["audioClip", "playStartAction", "playSelectionAction", "playStopAction", "zoomInAction", "zoomOutAction", "zoomFitToPanelAction", "zoomSelectedAction", "autoPlayOnSelectToggleAction"] }] });
|
|
9344
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AudioDisplayPlayer, decorators: [{
|
|
9891
9345
|
type: Component,
|
|
9892
|
-
args: [{
|
|
9893
|
-
selector: 'app-audiodisplayplayer',
|
|
9894
|
-
template: `
|
|
9346
|
+
args: [{ selector: 'app-audiodisplayplayer', template: `
|
|
9895
9347
|
|
|
9896
9348
|
<audio-display-scroll-pane #audioDisplayScrollPane></audio-display-scroll-pane>
|
|
9897
9349
|
|
|
@@ -9904,24 +9356,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
9904
9356
|
[zoomOutAction]="zoomOutAction"
|
|
9905
9357
|
[zoomSelectedAction]="zoomSelectedAction"
|
|
9906
9358
|
[zoomFitToPanelAction]="zoomFitToPanelAction"></audio-display-control><p>{{status}}
|
|
9907
|
-
`,
|
|
9908
|
-
|
|
9909
|
-
`:host {
|
|
9910
|
-
display: flex;
|
|
9911
|
-
flex-direction: column;
|
|
9912
|
-
position: absolute;
|
|
9913
|
-
bottom: 0px;
|
|
9914
|
-
height: 100%;
|
|
9915
|
-
width: 100%;
|
|
9916
|
-
overflow: hidden;
|
|
9917
|
-
padding: 20px;
|
|
9918
|
-
z-index: 5;
|
|
9919
|
-
box-sizing: border-box;
|
|
9920
|
-
background-color: rgba(0, 0, 0, 0.75)
|
|
9921
|
-
}`
|
|
9922
|
-
]
|
|
9923
|
-
}]
|
|
9924
|
-
}], ctorParameters: function () { return [{ type: i1$1.ActivatedRoute }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }]; }, propDecorators: { playStartAction: [{
|
|
9359
|
+
`, styles: [":host{display:flex;flex-direction:column;position:absolute;bottom:0px;height:100%;width:100%;overflow:hidden;padding:20px;z-index:5;box-sizing:border-box;background-color:#000000bf}\n"] }]
|
|
9360
|
+
}], ctorParameters: function () { return [{ type: i1$2.ActivatedRoute }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }]; }, propDecorators: { playStartAction: [{
|
|
9925
9361
|
type: Input
|
|
9926
9362
|
}], playStopAction: [{
|
|
9927
9363
|
type: Input
|
|
@@ -10239,15 +9675,123 @@ class RecordingFileService {
|
|
|
10239
9675
|
}
|
|
10240
9676
|
}
|
|
10241
9677
|
RecordingFileService.RECOFILE_API_CTX = 'recordingfile';
|
|
10242
|
-
RecordingFileService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10243
|
-
RecordingFileService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
10244
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9678
|
+
RecordingFileService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RecordingFileService, deps: [{ token: i1.HttpClient }, { token: SPEECHRECORDER_CONFIG }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
9679
|
+
RecordingFileService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RecordingFileService });
|
|
9680
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RecordingFileService, decorators: [{
|
|
10245
9681
|
type: Injectable
|
|
10246
9682
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: SpeechRecorderConfig, decorators: [{
|
|
10247
9683
|
type: Inject,
|
|
10248
9684
|
args: [SPEECHRECORDER_CONFIG]
|
|
10249
9685
|
}] }]; } });
|
|
10250
9686
|
|
|
9687
|
+
class RecordingFileNaviComponent {
|
|
9688
|
+
constructor() {
|
|
9689
|
+
this.versions = null;
|
|
9690
|
+
this.version = null;
|
|
9691
|
+
this.naviInfoLoading = false;
|
|
9692
|
+
}
|
|
9693
|
+
ngOnInit() {
|
|
9694
|
+
}
|
|
9695
|
+
selectVersionChange(ev) {
|
|
9696
|
+
//console.debug("Change event: "+ev.target.value+ ", as Nr: "+versionNr);
|
|
9697
|
+
const selEl = ev.target;
|
|
9698
|
+
let versionNr = parseInt(selEl.value);
|
|
9699
|
+
if (this.selectVersion) {
|
|
9700
|
+
this.selectVersion.perform(versionNr);
|
|
9701
|
+
}
|
|
9702
|
+
}
|
|
9703
|
+
}
|
|
9704
|
+
RecordingFileNaviComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RecordingFileNaviComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9705
|
+
RecordingFileNaviComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: RecordingFileNaviComponent, selector: "app-recording-file-navi", inputs: { firstAction: "firstAction", prevAction: "prevAction", nextAction: "nextAction", lastAction: "lastAction", items: "items", itemPos: "itemPos", selectVersion: "selectVersion", versions: "versions", version: "version", naviInfoLoading: "naviInfoLoading" }, ngImport: i0, template: `
|
|
9706
|
+
<div #controlPanel style="display:flex;flex-direction: row;">
|
|
9707
|
+
<div #navi style="flex: 0;display:flex;flex-direction: row;flex-wrap: nowrap">
|
|
9708
|
+
<fieldset>
|
|
9709
|
+
<legend>Versions</legend>
|
|
9710
|
+
<mat-progress-spinner *ngIf="naviInfoLoading" mode="indeterminate" [diameter]="15"></mat-progress-spinner>
|
|
9711
|
+
<select *ngIf="!naviInfoLoading" [disabled]="versions==null || versions.length==1" (change)="selectVersionChange($event)">
|
|
9712
|
+
<option *ngFor="let v of versions; let i = index" [selected]="v===version" value="{{v}}">{{v}}<span *ngIf="i==0"> (latest)</span></option>
|
|
9713
|
+
</select>
|
|
9714
|
+
</fieldset>
|
|
9715
|
+
<fieldset>
|
|
9716
|
+
<legend>Navigate</legend>
|
|
9717
|
+
<mat-progress-spinner *ngIf="naviInfoLoading" mode="indeterminate" [diameter]="15"></mat-progress-spinner>
|
|
9718
|
+
<div *ngIf="!naviInfoLoading" style="flex: 0;display:flex;flex-direction: row;flex-wrap: nowrap">
|
|
9719
|
+
<button (click)="firstAction?.perform()" [disabled]="!firstAction || firstAction?.disabled" matTooltip="First recording file">
|
|
9720
|
+
<mat-icon>first_page</mat-icon>
|
|
9721
|
+
</button>
|
|
9722
|
+
<button (click)="prevAction?.perform()" [disabled]="!prevAction || prevAction?.disabled" matTooltip="Previous recording file">
|
|
9723
|
+
<mat-icon>chevron_left</mat-icon>
|
|
9724
|
+
</button>
|
|
9725
|
+
<button (click)="nextAction?.perform()" [disabled]="!nextAction || nextAction?.disabled" matTooltip="Next recording file">
|
|
9726
|
+
<mat-icon>chevron_right</mat-icon>
|
|
9727
|
+
</button>
|
|
9728
|
+
<button (click)="lastAction?.perform()" [disabled]="!lastAction || lastAction?.disabled" matTooltip="Last recording file">
|
|
9729
|
+
<mat-icon>last_page</mat-icon>
|
|
9730
|
+
</button>
|
|
9731
|
+
</div>
|
|
9732
|
+
<p *ngIf="items && itemPos!==null && itemPos!==undefined">Item {{itemPos+1}} of {{items}}</p>
|
|
9733
|
+
<p>(List ordered by date)</p>
|
|
9734
|
+
</fieldset>
|
|
9735
|
+
</div>
|
|
9736
|
+
</div>
|
|
9737
|
+
`, isInline: true, styles: [":host{flex:0}\n"], dependencies: [{ kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i3$1.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "diameter", "strokeWidth", "mode", "value"], exportAs: ["matProgressSpinner"] }, { kind: "directive", type: i4.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }] });
|
|
9738
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RecordingFileNaviComponent, decorators: [{
|
|
9739
|
+
type: Component,
|
|
9740
|
+
args: [{ selector: 'app-recording-file-navi', template: `
|
|
9741
|
+
<div #controlPanel style="display:flex;flex-direction: row;">
|
|
9742
|
+
<div #navi style="flex: 0;display:flex;flex-direction: row;flex-wrap: nowrap">
|
|
9743
|
+
<fieldset>
|
|
9744
|
+
<legend>Versions</legend>
|
|
9745
|
+
<mat-progress-spinner *ngIf="naviInfoLoading" mode="indeterminate" [diameter]="15"></mat-progress-spinner>
|
|
9746
|
+
<select *ngIf="!naviInfoLoading" [disabled]="versions==null || versions.length==1" (change)="selectVersionChange($event)">
|
|
9747
|
+
<option *ngFor="let v of versions; let i = index" [selected]="v===version" value="{{v}}">{{v}}<span *ngIf="i==0"> (latest)</span></option>
|
|
9748
|
+
</select>
|
|
9749
|
+
</fieldset>
|
|
9750
|
+
<fieldset>
|
|
9751
|
+
<legend>Navigate</legend>
|
|
9752
|
+
<mat-progress-spinner *ngIf="naviInfoLoading" mode="indeterminate" [diameter]="15"></mat-progress-spinner>
|
|
9753
|
+
<div *ngIf="!naviInfoLoading" style="flex: 0;display:flex;flex-direction: row;flex-wrap: nowrap">
|
|
9754
|
+
<button (click)="firstAction?.perform()" [disabled]="!firstAction || firstAction?.disabled" matTooltip="First recording file">
|
|
9755
|
+
<mat-icon>first_page</mat-icon>
|
|
9756
|
+
</button>
|
|
9757
|
+
<button (click)="prevAction?.perform()" [disabled]="!prevAction || prevAction?.disabled" matTooltip="Previous recording file">
|
|
9758
|
+
<mat-icon>chevron_left</mat-icon>
|
|
9759
|
+
</button>
|
|
9760
|
+
<button (click)="nextAction?.perform()" [disabled]="!nextAction || nextAction?.disabled" matTooltip="Next recording file">
|
|
9761
|
+
<mat-icon>chevron_right</mat-icon>
|
|
9762
|
+
</button>
|
|
9763
|
+
<button (click)="lastAction?.perform()" [disabled]="!lastAction || lastAction?.disabled" matTooltip="Last recording file">
|
|
9764
|
+
<mat-icon>last_page</mat-icon>
|
|
9765
|
+
</button>
|
|
9766
|
+
</div>
|
|
9767
|
+
<p *ngIf="items && itemPos!==null && itemPos!==undefined">Item {{itemPos+1}} of {{items}}</p>
|
|
9768
|
+
<p>(List ordered by date)</p>
|
|
9769
|
+
</fieldset>
|
|
9770
|
+
</div>
|
|
9771
|
+
</div>
|
|
9772
|
+
`, styles: [":host{flex:0}\n"] }]
|
|
9773
|
+
}], ctorParameters: function () { return []; }, propDecorators: { firstAction: [{
|
|
9774
|
+
type: Input
|
|
9775
|
+
}], prevAction: [{
|
|
9776
|
+
type: Input
|
|
9777
|
+
}], nextAction: [{
|
|
9778
|
+
type: Input
|
|
9779
|
+
}], lastAction: [{
|
|
9780
|
+
type: Input
|
|
9781
|
+
}], items: [{
|
|
9782
|
+
type: Input
|
|
9783
|
+
}], itemPos: [{
|
|
9784
|
+
type: Input
|
|
9785
|
+
}], selectVersion: [{
|
|
9786
|
+
type: Input
|
|
9787
|
+
}], versions: [{
|
|
9788
|
+
type: Input
|
|
9789
|
+
}], version: [{
|
|
9790
|
+
type: Input
|
|
9791
|
+
}], naviInfoLoading: [{
|
|
9792
|
+
type: Input
|
|
9793
|
+
}] } });
|
|
9794
|
+
|
|
10251
9795
|
class RecordingFileMetaComponent {
|
|
10252
9796
|
constructor() {
|
|
10253
9797
|
this.sessionId = null;
|
|
@@ -10288,8 +9832,8 @@ class RecordingFileMetaComponent {
|
|
|
10288
9832
|
return t;
|
|
10289
9833
|
}
|
|
10290
9834
|
}
|
|
10291
|
-
RecordingFileMetaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10292
|
-
RecordingFileMetaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
9835
|
+
RecordingFileMetaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RecordingFileMetaComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9836
|
+
RecordingFileMetaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: RecordingFileMetaComponent, selector: "app-recording-file-meta", inputs: { sessionId: "sessionId", recordingFile: "recordingFile" }, ngImport: i0, template: `
|
|
10293
9837
|
<mat-card>
|
|
10294
9838
|
<mat-card-title>Recording file ID: {{recordingFile?.recordingFileId}}</mat-card-title>
|
|
10295
9839
|
<mat-card-content>
|
|
@@ -10322,12 +9866,10 @@ RecordingFileMetaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
10322
9866
|
</table>
|
|
10323
9867
|
</mat-card-content>
|
|
10324
9868
|
</mat-card>
|
|
10325
|
-
`, isInline: true,
|
|
10326
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9869
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$1.MatCard, selector: "mat-card", exportAs: ["matCard"] }, { kind: "directive", type: i2$1.MatCardContent, selector: "mat-card-content, [mat-card-content], [matCardContent]" }, { kind: "directive", type: i2$1.MatCardTitle, selector: "mat-card-title, [mat-card-title], [matCardTitle]" }] });
|
|
9870
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RecordingFileMetaComponent, decorators: [{
|
|
10327
9871
|
type: Component,
|
|
10328
|
-
args: [{
|
|
10329
|
-
selector: 'app-recording-file-meta',
|
|
10330
|
-
template: `
|
|
9872
|
+
args: [{ selector: 'app-recording-file-meta', template: `
|
|
10331
9873
|
<mat-card>
|
|
10332
9874
|
<mat-card-title>Recording file ID: {{recordingFile?.recordingFileId}}</mat-card-title>
|
|
10333
9875
|
<mat-card-content>
|
|
@@ -10360,132 +9902,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
10360
9902
|
</table>
|
|
10361
9903
|
</mat-card-content>
|
|
10362
9904
|
</mat-card>
|
|
10363
|
-
|
|
10364
|
-
styles: []
|
|
10365
|
-
}]
|
|
9905
|
+
` }]
|
|
10366
9906
|
}], propDecorators: { sessionId: [{
|
|
10367
9907
|
type: Input
|
|
10368
9908
|
}], recordingFile: [{
|
|
10369
9909
|
type: Input
|
|
10370
9910
|
}] } });
|
|
10371
9911
|
|
|
10372
|
-
class RecordingFileNaviComponent {
|
|
10373
|
-
constructor() {
|
|
10374
|
-
this.versions = null;
|
|
10375
|
-
this.version = null;
|
|
10376
|
-
this.naviInfoLoading = false;
|
|
10377
|
-
}
|
|
10378
|
-
ngOnInit() {
|
|
10379
|
-
}
|
|
10380
|
-
selectVersionChange(ev) {
|
|
10381
|
-
//console.debug("Change event: "+ev.target.value+ ", as Nr: "+versionNr);
|
|
10382
|
-
const selEl = ev.target;
|
|
10383
|
-
let versionNr = parseInt(selEl.value);
|
|
10384
|
-
if (this.selectVersion) {
|
|
10385
|
-
this.selectVersion.perform(versionNr);
|
|
10386
|
-
}
|
|
10387
|
-
}
|
|
10388
|
-
}
|
|
10389
|
-
RecordingFileNaviComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RecordingFileNaviComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10390
|
-
RecordingFileNaviComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: RecordingFileNaviComponent, selector: "app-recording-file-navi", inputs: { firstAction: "firstAction", prevAction: "prevAction", nextAction: "nextAction", lastAction: "lastAction", items: "items", itemPos: "itemPos", selectVersion: "selectVersion", versions: "versions", version: "version", naviInfoLoading: "naviInfoLoading" }, ngImport: i0, template: `
|
|
10391
|
-
<div #controlPanel style="display:flex;flex-direction: row;">
|
|
10392
|
-
<div #navi style="flex: 0;display:flex;flex-direction: row;flex-wrap: nowrap">
|
|
10393
|
-
<fieldset>
|
|
10394
|
-
<legend>Versions</legend>
|
|
10395
|
-
<mat-progress-spinner *ngIf="naviInfoLoading" mode="indeterminate" [diameter]="15"></mat-progress-spinner>
|
|
10396
|
-
<select *ngIf="!naviInfoLoading" [disabled]="versions==null || versions.length==1" (change)="selectVersionChange($event)">
|
|
10397
|
-
<option *ngFor="let v of versions; let i = index" [selected]="v===version" value="{{v}}">{{v}}<span *ngIf="i==0"> (latest)</span></option>
|
|
10398
|
-
</select>
|
|
10399
|
-
</fieldset>
|
|
10400
|
-
<fieldset>
|
|
10401
|
-
<legend>Navigate</legend>
|
|
10402
|
-
<mat-progress-spinner *ngIf="naviInfoLoading" mode="indeterminate" [diameter]="15"></mat-progress-spinner>
|
|
10403
|
-
<div *ngIf="!naviInfoLoading" style="flex: 0;display:flex;flex-direction: row;flex-wrap: nowrap">
|
|
10404
|
-
<button (click)="firstAction?.perform()" [disabled]="!firstAction || firstAction?.disabled" matTooltip="First recording file">
|
|
10405
|
-
<mat-icon>first_page</mat-icon>
|
|
10406
|
-
</button>
|
|
10407
|
-
<button (click)="prevAction?.perform()" [disabled]="!prevAction || prevAction?.disabled" matTooltip="Previous recording file">
|
|
10408
|
-
<mat-icon>chevron_left</mat-icon>
|
|
10409
|
-
</button>
|
|
10410
|
-
<button (click)="nextAction?.perform()" [disabled]="!nextAction || nextAction?.disabled" matTooltip="Next recording file">
|
|
10411
|
-
<mat-icon>chevron_right</mat-icon>
|
|
10412
|
-
</button>
|
|
10413
|
-
<button (click)="lastAction?.perform()" [disabled]="!lastAction || lastAction?.disabled" matTooltip="Last recording file">
|
|
10414
|
-
<mat-icon>last_page</mat-icon>
|
|
10415
|
-
</button>
|
|
10416
|
-
</div>
|
|
10417
|
-
<p *ngIf="items && itemPos!==null && itemPos!==undefined">Item {{itemPos+1}} of {{items}}</p>
|
|
10418
|
-
<p>(List ordered by date)</p>
|
|
10419
|
-
</fieldset>
|
|
10420
|
-
</div>
|
|
10421
|
-
</div>
|
|
10422
|
-
`, isInline: true, styles: [":host{flex:0}\n"], components: [{ type: i1$3.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "diameter", "strokeWidth", "mode", "value"], exportAs: ["matProgressSpinner"] }, { type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }] });
|
|
10423
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RecordingFileNaviComponent, decorators: [{
|
|
10424
|
-
type: Component,
|
|
10425
|
-
args: [{
|
|
10426
|
-
selector: 'app-recording-file-navi',
|
|
10427
|
-
template: `
|
|
10428
|
-
<div #controlPanel style="display:flex;flex-direction: row;">
|
|
10429
|
-
<div #navi style="flex: 0;display:flex;flex-direction: row;flex-wrap: nowrap">
|
|
10430
|
-
<fieldset>
|
|
10431
|
-
<legend>Versions</legend>
|
|
10432
|
-
<mat-progress-spinner *ngIf="naviInfoLoading" mode="indeterminate" [diameter]="15"></mat-progress-spinner>
|
|
10433
|
-
<select *ngIf="!naviInfoLoading" [disabled]="versions==null || versions.length==1" (change)="selectVersionChange($event)">
|
|
10434
|
-
<option *ngFor="let v of versions; let i = index" [selected]="v===version" value="{{v}}">{{v}}<span *ngIf="i==0"> (latest)</span></option>
|
|
10435
|
-
</select>
|
|
10436
|
-
</fieldset>
|
|
10437
|
-
<fieldset>
|
|
10438
|
-
<legend>Navigate</legend>
|
|
10439
|
-
<mat-progress-spinner *ngIf="naviInfoLoading" mode="indeterminate" [diameter]="15"></mat-progress-spinner>
|
|
10440
|
-
<div *ngIf="!naviInfoLoading" style="flex: 0;display:flex;flex-direction: row;flex-wrap: nowrap">
|
|
10441
|
-
<button (click)="firstAction?.perform()" [disabled]="!firstAction || firstAction?.disabled" matTooltip="First recording file">
|
|
10442
|
-
<mat-icon>first_page</mat-icon>
|
|
10443
|
-
</button>
|
|
10444
|
-
<button (click)="prevAction?.perform()" [disabled]="!prevAction || prevAction?.disabled" matTooltip="Previous recording file">
|
|
10445
|
-
<mat-icon>chevron_left</mat-icon>
|
|
10446
|
-
</button>
|
|
10447
|
-
<button (click)="nextAction?.perform()" [disabled]="!nextAction || nextAction?.disabled" matTooltip="Next recording file">
|
|
10448
|
-
<mat-icon>chevron_right</mat-icon>
|
|
10449
|
-
</button>
|
|
10450
|
-
<button (click)="lastAction?.perform()" [disabled]="!lastAction || lastAction?.disabled" matTooltip="Last recording file">
|
|
10451
|
-
<mat-icon>last_page</mat-icon>
|
|
10452
|
-
</button>
|
|
10453
|
-
</div>
|
|
10454
|
-
<p *ngIf="items && itemPos!==null && itemPos!==undefined">Item {{itemPos+1}} of {{items}}</p>
|
|
10455
|
-
<p>(List ordered by date)</p>
|
|
10456
|
-
</fieldset>
|
|
10457
|
-
</div>
|
|
10458
|
-
</div>
|
|
10459
|
-
`,
|
|
10460
|
-
styles: [
|
|
10461
|
-
`:host {
|
|
10462
|
-
flex: 0;
|
|
10463
|
-
|
|
10464
|
-
}`
|
|
10465
|
-
]
|
|
10466
|
-
}]
|
|
10467
|
-
}], ctorParameters: function () { return []; }, propDecorators: { firstAction: [{
|
|
10468
|
-
type: Input
|
|
10469
|
-
}], prevAction: [{
|
|
10470
|
-
type: Input
|
|
10471
|
-
}], nextAction: [{
|
|
10472
|
-
type: Input
|
|
10473
|
-
}], lastAction: [{
|
|
10474
|
-
type: Input
|
|
10475
|
-
}], items: [{
|
|
10476
|
-
type: Input
|
|
10477
|
-
}], itemPos: [{
|
|
10478
|
-
type: Input
|
|
10479
|
-
}], selectVersion: [{
|
|
10480
|
-
type: Input
|
|
10481
|
-
}], versions: [{
|
|
10482
|
-
type: Input
|
|
10483
|
-
}], version: [{
|
|
10484
|
-
type: Input
|
|
10485
|
-
}], naviInfoLoading: [{
|
|
10486
|
-
type: Input
|
|
10487
|
-
}] } });
|
|
10488
|
-
|
|
10489
9912
|
class ItemcodeIndex {
|
|
10490
9913
|
}
|
|
10491
9914
|
class RecordingFileViewComponent extends AudioDisplayPlayer {
|
|
@@ -10834,8 +10257,8 @@ class RecordingFileViewComponent extends AudioDisplayPlayer {
|
|
|
10834
10257
|
}
|
|
10835
10258
|
}
|
|
10836
10259
|
}
|
|
10837
|
-
RecordingFileViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10838
|
-
RecordingFileViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
10260
|
+
RecordingFileViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RecordingFileViewComponent, deps: [{ token: RecordingFileService }, { token: RecordingService }, { token: SessionService }, { token: i1$2.Router }, { token: i1$2.ActivatedRoute }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i1$4.MatDialog }], target: i0.ɵɵFactoryTarget.Component });
|
|
10261
|
+
RecordingFileViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: RecordingFileViewComponent, selector: "app-audiodisplayplayer", viewQueries: [{ propertyName: "ac", first: true, predicate: AudioDisplayScrollPane, descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
10839
10262
|
|
|
10840
10263
|
<audio-display-scroll-pane #audioDisplayScrollPane></audio-display-scroll-pane>
|
|
10841
10264
|
<div class="ctrlview">
|
|
@@ -10852,12 +10275,10 @@ RecordingFileViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
10852
10275
|
[zoomFitToPanelAction]="zoomFitToPanelAction"></audio-display-control>
|
|
10853
10276
|
<app-recording-file-navi [items]="availRecFiles?.length" [itemPos]="posInList" [version]="recordingFileVersion" [versions]="versions" [firstAction]="firstAction" [prevAction]="prevAction" [nextAction]="nextAction" [lastAction]="lastAction" [selectVersion]="toVersionAction" [naviInfoLoading]="naviInfoLoading"></app-recording-file-navi>
|
|
10854
10277
|
</div>
|
|
10855
|
-
`, isInline: true, styles: [":host{flex:2;display:flex;flex-direction:column;min-height:0;overflow:hidden;padding:20px;z-index:5;box-sizing:border-box;background-color:#fff}\n", ".ctrlview{display:flex;flex-direction:row}\n", "audio-display-control{flex:3}\n"],
|
|
10856
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10278
|
+
`, isInline: true, styles: [":host{flex:2;display:flex;flex-direction:column;min-height:0;overflow:hidden;padding:20px;z-index:5;box-sizing:border-box;background-color:#fff}\n", ".ctrlview{display:flex;flex-direction:row}\n", "audio-display-control{flex:3}\n"], dependencies: [{ kind: "component", type: AudioDisplayScrollPane, selector: "audio-display-scroll-pane", inputs: ["audioClip"], outputs: ["zoomInAction", "zoomOutAction", "zoomSelectedAction", "zoomFitToPanelAction"] }, { kind: "component", type: AudioDisplayControl, selector: "audio-display-control", inputs: ["audioClip", "playStartAction", "playSelectionAction", "playStopAction", "zoomInAction", "zoomOutAction", "zoomFitToPanelAction", "zoomSelectedAction", "autoPlayOnSelectToggleAction"] }, { kind: "component", type: RecordingFileNaviComponent, selector: "app-recording-file-navi", inputs: ["firstAction", "prevAction", "nextAction", "lastAction", "items", "itemPos", "selectVersion", "versions", "version", "naviInfoLoading"] }, { kind: "component", type: RecordingFileMetaComponent, selector: "app-recording-file-meta", inputs: ["sessionId", "recordingFile"] }] });
|
|
10279
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RecordingFileViewComponent, decorators: [{
|
|
10857
10280
|
type: Component,
|
|
10858
|
-
args: [{
|
|
10859
|
-
selector: 'app-audiodisplayplayer',
|
|
10860
|
-
template: `
|
|
10281
|
+
args: [{ selector: 'app-audiodisplayplayer', template: `
|
|
10861
10282
|
|
|
10862
10283
|
<audio-display-scroll-pane #audioDisplayScrollPane></audio-display-scroll-pane>
|
|
10863
10284
|
<div class="ctrlview">
|
|
@@ -10874,33 +10295,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
10874
10295
|
[zoomFitToPanelAction]="zoomFitToPanelAction"></audio-display-control>
|
|
10875
10296
|
<app-recording-file-navi [items]="availRecFiles?.length" [itemPos]="posInList" [version]="recordingFileVersion" [versions]="versions" [firstAction]="firstAction" [prevAction]="prevAction" [nextAction]="nextAction" [lastAction]="lastAction" [selectVersion]="toVersionAction" [naviInfoLoading]="naviInfoLoading"></app-recording-file-navi>
|
|
10876
10297
|
</div>
|
|
10877
|
-
`,
|
|
10878
|
-
|
|
10879
|
-
`:host {
|
|
10880
|
-
flex: 2;
|
|
10881
|
-
display: flex;
|
|
10882
|
-
flex-direction: column;
|
|
10883
|
-
min-height:0;
|
|
10884
|
-
overflow: hidden;
|
|
10885
|
-
padding: 20px;
|
|
10886
|
-
z-index: 5;
|
|
10887
|
-
box-sizing: border-box;
|
|
10888
|
-
background-color: white;
|
|
10889
|
-
}`, `
|
|
10890
|
-
.ctrlview{
|
|
10891
|
-
display: flex;
|
|
10892
|
-
flex-direction: row;
|
|
10893
|
-
|
|
10894
|
-
}
|
|
10895
|
-
`, `
|
|
10896
|
-
audio-display-control{
|
|
10897
|
-
|
|
10898
|
-
flex: 3;
|
|
10899
|
-
}
|
|
10900
|
-
`
|
|
10901
|
-
]
|
|
10902
|
-
}]
|
|
10903
|
-
}], ctorParameters: function () { return [{ type: RecordingFileService }, { type: RecordingService }, { type: SessionService }, { type: i1$1.Router }, { type: i1$1.ActivatedRoute }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i1$2.MatDialog }]; }, propDecorators: { ac: [{
|
|
10298
|
+
`, styles: [":host{flex:2;display:flex;flex-direction:column;min-height:0;overflow:hidden;padding:20px;z-index:5;box-sizing:border-box;background-color:#fff}\n", ".ctrlview{display:flex;flex-direction:row}\n", "audio-display-control{flex:3}\n"] }]
|
|
10299
|
+
}], ctorParameters: function () { return [{ type: RecordingFileService }, { type: RecordingService }, { type: SessionService }, { type: i1$2.Router }, { type: i1$2.ActivatedRoute }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i1$4.MatDialog }]; }, propDecorators: { ac: [{
|
|
10904
10300
|
type: ViewChild,
|
|
10905
10301
|
args: [AudioDisplayScrollPane]
|
|
10906
10302
|
}] } });
|
|
@@ -10985,8 +10381,8 @@ class RecordingFileUI extends RecordingFileViewComponent {
|
|
|
10985
10381
|
}
|
|
10986
10382
|
}
|
|
10987
10383
|
}
|
|
10988
|
-
RecordingFileUI.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10989
|
-
RecordingFileUI.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
10384
|
+
RecordingFileUI.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RecordingFileUI, deps: [{ token: RecordingFileService }, { token: RecordingService }, { token: SessionService }, { token: i1$2.Router }, { token: i1$2.ActivatedRoute }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i1$4.MatDialog }, { token: i6.MatSnackBar }], target: i0.ɵɵFactoryTarget.Component });
|
|
10385
|
+
RecordingFileUI.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: RecordingFileUI, selector: "app-audiodisplayplayer", usesInheritance: true, ngImport: i0, template: `
|
|
10990
10386
|
<h1>Recording file editing</h1>
|
|
10991
10387
|
<p>On export or delivery the editing selection of the recording file is cut out. If no editing selection is applied the original file is exported.</p>
|
|
10992
10388
|
|
|
@@ -11006,12 +10402,10 @@ RecordingFileUI.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
11006
10402
|
</div>
|
|
11007
10403
|
|
|
11008
10404
|
<button mat-raised-button color="accent" (click)="applySelection()" [disabled]="editSaved">{{this.applyButtonText()}}</button>
|
|
11009
|
-
`, isInline: true, styles: [":host{flex:2;display:flex;flex-direction:column;min-height:0;overflow:hidden;padding:20px;z-index:5;box-sizing:border-box;background-color:#fff}\n", ".ctrlview{display:flex;flex-direction:row}\n", "audio-display-control{flex:3}\n"],
|
|
11010
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10405
|
+
`, isInline: true, styles: [":host{flex:2;display:flex;flex-direction:column;min-height:0;overflow:hidden;padding:20px;z-index:5;box-sizing:border-box;background-color:#fff}\n", ".ctrlview{display:flex;flex-direction:row}\n", "audio-display-control{flex:3}\n"], dependencies: [{ kind: "component", type: i3.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: AudioDisplayScrollPane, selector: "audio-display-scroll-pane", inputs: ["audioClip"], outputs: ["zoomInAction", "zoomOutAction", "zoomSelectedAction", "zoomFitToPanelAction"] }, { kind: "component", type: AudioDisplayControl, selector: "audio-display-control", inputs: ["audioClip", "playStartAction", "playSelectionAction", "playStopAction", "zoomInAction", "zoomOutAction", "zoomFitToPanelAction", "zoomSelectedAction", "autoPlayOnSelectToggleAction"] }, { kind: "component", type: RecordingFileNaviComponent, selector: "app-recording-file-navi", inputs: ["firstAction", "prevAction", "nextAction", "lastAction", "items", "itemPos", "selectVersion", "versions", "version", "naviInfoLoading"] }, { kind: "component", type: RecordingFileMetaComponent, selector: "app-recording-file-meta", inputs: ["sessionId", "recordingFile"] }] });
|
|
10406
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RecordingFileUI, decorators: [{
|
|
11011
10407
|
type: Component,
|
|
11012
|
-
args: [{
|
|
11013
|
-
selector: 'app-audiodisplayplayer',
|
|
11014
|
-
template: `
|
|
10408
|
+
args: [{ selector: 'app-audiodisplayplayer', template: `
|
|
11015
10409
|
<h1>Recording file editing</h1>
|
|
11016
10410
|
<p>On export or delivery the editing selection of the recording file is cut out. If no editing selection is applied the original file is exported.</p>
|
|
11017
10411
|
|
|
@@ -11031,32 +10425,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
11031
10425
|
</div>
|
|
11032
10426
|
|
|
11033
10427
|
<button mat-raised-button color="accent" (click)="applySelection()" [disabled]="editSaved">{{this.applyButtonText()}}</button>
|
|
11034
|
-
`,
|
|
11035
|
-
|
|
11036
|
-
`:host {
|
|
11037
|
-
flex: 2;
|
|
11038
|
-
display: flex;
|
|
11039
|
-
flex-direction: column;
|
|
11040
|
-
min-height:0;
|
|
11041
|
-
overflow: hidden;
|
|
11042
|
-
padding: 20px;
|
|
11043
|
-
z-index: 5;
|
|
11044
|
-
box-sizing: border-box;
|
|
11045
|
-
background-color: white;
|
|
11046
|
-
}`, `
|
|
11047
|
-
.ctrlview{
|
|
11048
|
-
display: flex;
|
|
11049
|
-
flex-direction: row;
|
|
11050
|
-
}
|
|
11051
|
-
`, `
|
|
11052
|
-
audio-display-control{
|
|
11053
|
-
|
|
11054
|
-
flex: 3;
|
|
11055
|
-
}
|
|
11056
|
-
`
|
|
11057
|
-
]
|
|
11058
|
-
}]
|
|
11059
|
-
}], ctorParameters: function () { return [{ type: RecordingFileService }, { type: RecordingService }, { type: SessionService }, { type: i1$1.Router }, { type: i1$1.ActivatedRoute }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i1$2.MatDialog }, { type: i6.MatSnackBar }]; } });
|
|
10428
|
+
`, styles: [":host{flex:2;display:flex;flex-direction:column;min-height:0;overflow:hidden;padding:20px;z-index:5;box-sizing:border-box;background-color:#fff}\n", ".ctrlview{display:flex;flex-direction:row}\n", "audio-display-control{flex:3}\n"] }]
|
|
10429
|
+
}], ctorParameters: function () { return [{ type: RecordingFileService }, { type: RecordingService }, { type: SessionService }, { type: i1$2.Router }, { type: i1$2.ActivatedRoute }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i1$4.MatDialog }, { type: i6.MatSnackBar }]; } });
|
|
11060
10430
|
|
|
11061
10431
|
class MediaUtils {
|
|
11062
10432
|
static toMediaTime(timeInSeconds) {
|
|
@@ -11129,8 +10499,8 @@ class RecordingList {
|
|
|
11129
10499
|
return str;
|
|
11130
10500
|
}
|
|
11131
10501
|
}
|
|
11132
|
-
RecordingList.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11133
|
-
RecordingList.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
10502
|
+
RecordingList.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RecordingList, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10503
|
+
RecordingList.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: RecordingList, selector: "app-recordinglist", inputs: { selectDisabled: "selectDisabled", selectedRecordingFile: "selectedRecordingFile" }, outputs: { selectedRecordingFileChanged: "selectedRecordingFileChanged" }, ngImport: i0, template: `
|
|
11134
10504
|
<mat-card>
|
|
11135
10505
|
<mat-card-header>
|
|
11136
10506
|
<h2>Recording list</h2>
|
|
@@ -11159,8 +10529,8 @@ RecordingList.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
|
11159
10529
|
</mat-card-content>
|
|
11160
10530
|
</mat-card>
|
|
11161
10531
|
|
|
11162
|
-
`, 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;overflow-y:auto;min-height:0px}\n", ".selected{font-weight:700}\n"],
|
|
11163
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10532
|
+
`, 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;overflow-y:auto;min-height:0px}\n", ".selected{font-weight:700}\n"], dependencies: [{ kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i3.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i2$1.MatCard, selector: "mat-card", exportAs: ["matCard"] }, { kind: "component", type: i2$1.MatCardHeader, selector: "mat-card-header" }, { kind: "directive", type: i2$1.MatCardContent, selector: "mat-card-content, [mat-card-content], [matCardContent]" }, { kind: "component", type: i4$2.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i4$2.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i4$2.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i4$2.MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { kind: "directive", type: i4$2.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i4$2.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i4$2.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i4$2.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i4$2.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i4$2.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "directive", type: ScrollIntoViewDirective, selector: "[scrollIntoViewToBottom]", inputs: ["scrollIntoViewToBottom"] }, { kind: "pipe", type: i1$1.DatePipe, name: "date" }] });
|
|
10533
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RecordingList, decorators: [{
|
|
11164
10534
|
type: Component,
|
|
11165
10535
|
args: [{ selector: 'app-recordinglist', template: `
|
|
11166
10536
|
<mat-card>
|
|
@@ -11220,8 +10590,8 @@ class RecorderCombiPane {
|
|
|
11220
10590
|
this.recordingListComp.selectTop();
|
|
11221
10591
|
}
|
|
11222
10592
|
}
|
|
11223
|
-
RecorderCombiPane.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11224
|
-
RecorderCombiPane.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
10593
|
+
RecorderCombiPane.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RecorderCombiPane, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10594
|
+
RecorderCombiPane.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", 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: `
|
|
11225
10595
|
<div class="scrollList">
|
|
11226
10596
|
<app-recordinglist [selectedRecordingFile]="selectedRecordingFile" [selectDisabled]="selectDisabled" (selectedRecordingFileChanged)="selectRecordingFile($event)"></app-recordinglist>
|
|
11227
10597
|
</div>
|
|
@@ -11233,8 +10603,8 @@ RecorderCombiPane.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
11233
10603
|
[autoPlayOnSelectToggleAction]="autoPlayOnSelectToggleAction"
|
|
11234
10604
|
[playStopAction]="playStopAction"></app-audiodisplay>
|
|
11235
10605
|
</div>
|
|
11236
|
-
`, 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"],
|
|
11237
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10606
|
+
`, 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"], dependencies: [{ kind: "directive", type: i1$3.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"] }, { kind: "component", type: AudioDisplay, selector: "app-audiodisplay", inputs: ["playStartAction", "playStopAction", "playSelectionAction", "autoPlayOnSelectToggleAction", "audioData", "audioClip"] }, { kind: "component", type: RecordingList, selector: "app-recordinglist", inputs: ["selectDisabled", "selectedRecordingFile"], outputs: ["selectedRecordingFileChanged"] }] });
|
|
10607
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RecorderCombiPane, decorators: [{
|
|
11238
10608
|
type: Component,
|
|
11239
10609
|
args: [{ selector: 'app-recordercombipane', template: `
|
|
11240
10610
|
<div class="scrollList">
|
|
@@ -11729,17 +11099,14 @@ class AudioRecorder extends BasicRecorder {
|
|
|
11729
11099
|
showRecording() {
|
|
11730
11100
|
this.controlAudioPlayer.stop();
|
|
11731
11101
|
if (this.displayAudioClip) {
|
|
11732
|
-
this.
|
|
11733
|
-
|
|
11102
|
+
let dap = this.displayAudioClip;
|
|
11103
|
+
this.levelMeasure.calcBufferLevelInfos(dap.buffer, LEVEL_BAR_INTERVALL_SECONDS).then((levelInfos) => {
|
|
11104
|
+
dap.levelInfos = levelInfos;
|
|
11734
11105
|
this.changeDetectorRef.detectChanges();
|
|
11735
11106
|
});
|
|
11736
11107
|
this.playStartAction.disabled = false;
|
|
11737
11108
|
}
|
|
11738
11109
|
else {
|
|
11739
|
-
// TODO
|
|
11740
|
-
// Setting to null does not trigger a change if it was null before (happens after nextitem() in AUTOPROGRESS mode)
|
|
11741
|
-
// The level bar display does not clear, it shows the last captured stream
|
|
11742
|
-
this.displayLevelInfos = null;
|
|
11743
11110
|
this.playStartAction.disabled = true;
|
|
11744
11111
|
// Collapse audio signal display if open
|
|
11745
11112
|
if (!this.audioSignalCollapsed) {
|
|
@@ -11936,8 +11303,8 @@ class AudioRecorder extends BasicRecorder {
|
|
|
11936
11303
|
}
|
|
11937
11304
|
}
|
|
11938
11305
|
}
|
|
11939
|
-
AudioRecorder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11940
|
-
AudioRecorder.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
11306
|
+
AudioRecorder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AudioRecorder, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i1$2.ActivatedRoute }, { token: i1$4.MatDialog }, { token: SessionService }, { token: RecordingService }, { token: SpeechRecorderUploader }, { token: SPEECHRECORDER_CONFIG }], target: i0.ɵɵFactoryTarget.Component });
|
|
11307
|
+
AudioRecorder.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: AudioRecorder, selector: "app-audiorecorder", inputs: { projectName: "projectName", dataSaved: "dataSaved" }, host: { listeners: { "window:keypress": "onKeyPress($event)", "window:keydown": "onKeyDown($event)" } }, providers: [SessionService], viewQueries: [{ propertyName: "recorderCombiPane", first: true, predicate: RecorderCombiPane, descendants: true, static: true }, { propertyName: "liveLevelDisplay", first: true, predicate: LevelBar, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
11941
11308
|
<app-warningbar [show]="isTestSession()" warningText="Test recording only!"></app-warningbar>
|
|
11942
11309
|
<app-warningbar [show]="isDefaultAudioTestSession()"
|
|
11943
11310
|
warningText="This test uses default audio device! Regular sessions may require a particular audio device (microphone)!"></app-warningbar>
|
|
@@ -11955,7 +11322,7 @@ AudioRecorder.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
|
11955
11322
|
<div fxLayout="row" fxLayout.xs="column" [ngStyle]="{'height.px':100,'min-height.px': 100}"
|
|
11956
11323
|
[ngStyle.xs]="{'height.px':125,'min-height.px': 125}">
|
|
11957
11324
|
<audio-levelbar fxFlex="1 0 1" [streamingMode]="isRecording()"
|
|
11958
|
-
[displayLevelInfos]="
|
|
11325
|
+
[displayLevelInfos]="displayAudioClip?.levelInfos"></audio-levelbar>
|
|
11959
11326
|
<div fxLayout="row">
|
|
11960
11327
|
<spr-recordingitemcontrols fxFlex="10 0 1"
|
|
11961
11328
|
[audioLoaded]="displayAudioClip?.buffer!==null"
|
|
@@ -11997,13 +11364,10 @@ AudioRecorder.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
|
11997
11364
|
[ready]="dataSaved && !isActive()"></app-readystateindicator>
|
|
11998
11365
|
</div>
|
|
11999
11366
|
</div>
|
|
12000
|
-
`, isInline: true, styles: [":host{flex:2;background:lightgrey;display:flex;flex-direction:column;margin:0;padding:0;height:100%;min-height:0px;overflow:hidden}\n", ".ricontrols{padding:4px;box-sizing:border-box;height:100%}\n", ".dark{background:darkgray}\n", ".controlpanel{align-content:center;align-items:center;margin:0;padding:20px;min-height:min-content}\n", ".startstop{width:100%;text-align:center;align-content:center;align-items:center}\n", ".bigbutton{min-width:70px;min-height:50px;font-size:50px;border-radius:20px}\n"],
|
|
12001
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11367
|
+
`, isInline: true, styles: [":host{flex:2;background:lightgrey;display:flex;flex-direction:column;margin:0;padding:0;height:100%;min-height:0px;overflow:hidden}\n", ".ricontrols{padding:4px;box-sizing:border-box;height:100%}\n", ".dark{background:darkgray}\n", ".controlpanel{align-content:center;align-items:center;margin:0;padding:20px;min-height:min-content}\n", ".startstop{width:100%;text-align:center;align-content:center;align-items:center}\n", ".bigbutton{min-width:70px;min-height:50px;font-size:50px;border-radius:20px}\n"], dependencies: [{ kind: "directive", type: i5.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i5.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "directive", type: i1$3.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"] }, { kind: "directive", type: i1$3.DefaultStyleDirective, selector: " [ngStyle], [ngStyle.xs], [ngStyle.sm], [ngStyle.md], [ngStyle.lg], [ngStyle.xl], [ngStyle.lt-sm], [ngStyle.lt-md], [ngStyle.lt-lg], [ngStyle.lt-xl], [ngStyle.gt-xs], [ngStyle.gt-sm], [ngStyle.gt-md], [ngStyle.gt-lg]", inputs: ["ngStyle", "ngStyle.xs", "ngStyle.sm", "ngStyle.md", "ngStyle.lg", "ngStyle.xl", "ngStyle.lt-sm", "ngStyle.lt-md", "ngStyle.lt-lg", "ngStyle.lt-xl", "ngStyle.gt-xs", "ngStyle.gt-sm", "ngStyle.gt-md", "ngStyle.gt-lg"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i3.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: LevelBar, selector: "audio-levelbar", inputs: ["streamingMode", "displayLevelInfos"] }, { kind: "component", type: StatusDisplay, selector: "app-sprstatusdisplay", inputs: ["statusAlertType", "statusMsg", "statusWaiting"] }, { kind: "component", type: RecordingItemControls, selector: "spr-recordingitemcontrols", inputs: ["audioSignalCollapsed", "enableDownload", "peakDbLvl", "agc", "audioLoaded", "playStartAction", "playStopAction", "displayLevelInfos"], outputs: ["onShowRecordingDetails", "onDownloadRecording"] }, { kind: "component", type: UploadStatus, selector: "app-uploadstatus", inputs: ["value", "awaitNewUpload", "status"] }, { kind: "component", type: WakeLockIndicator, selector: "app-wakelockindicator", inputs: ["screenLocked"] }, { kind: "component", type: ReadyStateIndicator, selector: "app-readystateindicator", inputs: ["ready"] }, { kind: "component", type: WarningBar, selector: "app-warningbar", inputs: ["warningText", "show"] }, { kind: "component", type: RecorderCombiPane, selector: "app-recordercombipane", inputs: ["selectDisabled", "selectedRecordingFile", "audioSignalCollapsed", "displayAudioClip", "playStartAction", "playSelectionAction", "autoPlayOnSelectToggleAction", "playStopAction"], outputs: ["selectedRecordingFileChanged"] }] });
|
|
11368
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AudioRecorder, decorators: [{
|
|
12002
11369
|
type: Component,
|
|
12003
|
-
args: [{
|
|
12004
|
-
selector: 'app-audiorecorder',
|
|
12005
|
-
providers: [SessionService],
|
|
12006
|
-
template: `
|
|
11370
|
+
args: [{ selector: 'app-audiorecorder', providers: [SessionService], template: `
|
|
12007
11371
|
<app-warningbar [show]="isTestSession()" warningText="Test recording only!"></app-warningbar>
|
|
12008
11372
|
<app-warningbar [show]="isDefaultAudioTestSession()"
|
|
12009
11373
|
warningText="This test uses default audio device! Regular sessions may require a particular audio device (microphone)!"></app-warningbar>
|
|
@@ -12021,7 +11385,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
12021
11385
|
<div fxLayout="row" fxLayout.xs="column" [ngStyle]="{'height.px':100,'min-height.px': 100}"
|
|
12022
11386
|
[ngStyle.xs]="{'height.px':125,'min-height.px': 125}">
|
|
12023
11387
|
<audio-levelbar fxFlex="1 0 1" [streamingMode]="isRecording()"
|
|
12024
|
-
[displayLevelInfos]="
|
|
11388
|
+
[displayLevelInfos]="displayAudioClip?.levelInfos"></audio-levelbar>
|
|
12025
11389
|
<div fxLayout="row">
|
|
12026
11390
|
<spr-recordingitemcontrols fxFlex="10 0 1"
|
|
12027
11391
|
[audioLoaded]="displayAudioClip?.buffer!==null"
|
|
@@ -12063,44 +11427,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
12063
11427
|
[ready]="dataSaved && !isActive()"></app-readystateindicator>
|
|
12064
11428
|
</div>
|
|
12065
11429
|
</div>
|
|
12066
|
-
`,
|
|
12067
|
-
|
|
12068
|
-
flex: 2;
|
|
12069
|
-
background: lightgrey;
|
|
12070
|
-
display: flex; /* Vertical flex container: Bottom transport panel, above prompting panel */
|
|
12071
|
-
flex-direction: column;
|
|
12072
|
-
margin: 0;
|
|
12073
|
-
padding: 0;
|
|
12074
|
-
height: 100%;
|
|
12075
|
-
min-height: 0px;
|
|
12076
|
-
/* Prevents horizontal scroll bar on swipe right */
|
|
12077
|
-
overflow: hidden;
|
|
12078
|
-
}`, `.ricontrols {
|
|
12079
|
-
padding: 4px;
|
|
12080
|
-
box-sizing: border-box;
|
|
12081
|
-
height: 100%;
|
|
12082
|
-
}`, `.dark {
|
|
12083
|
-
background: darkgray;
|
|
12084
|
-
}`, `.controlpanel {
|
|
12085
|
-
align-content: center;
|
|
12086
|
-
align-items: center;
|
|
12087
|
-
margin: 0;
|
|
12088
|
-
padding: 20px;
|
|
12089
|
-
min-height: min-content; /* important */
|
|
12090
|
-
}`, `.startstop {
|
|
12091
|
-
width: 100%;
|
|
12092
|
-
text-align: center;
|
|
12093
|
-
align-content: center;
|
|
12094
|
-
align-items: center;
|
|
12095
|
-
}`, `.bigbutton {
|
|
12096
|
-
min-width: 70px;
|
|
12097
|
-
min-height: 50px;
|
|
12098
|
-
font-size: 50px;
|
|
12099
|
-
border-radius: 20px;
|
|
12100
|
-
}`
|
|
12101
|
-
]
|
|
12102
|
-
}]
|
|
12103
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i1$1.ActivatedRoute }, { type: i1$2.MatDialog }, { type: SessionService }, { type: RecordingService }, { type: SpeechRecorderUploader }, { type: SpeechRecorderConfig, decorators: [{
|
|
11430
|
+
`, styles: [":host{flex:2;background:lightgrey;display:flex;flex-direction:column;margin:0;padding:0;height:100%;min-height:0px;overflow:hidden}\n", ".ricontrols{padding:4px;box-sizing:border-box;height:100%}\n", ".dark{background:darkgray}\n", ".controlpanel{align-content:center;align-items:center;margin:0;padding:20px;min-height:min-content}\n", ".startstop{width:100%;text-align:center;align-content:center;align-items:center}\n", ".bigbutton{min-width:70px;min-height:50px;font-size:50px;border-radius:20px}\n"] }]
|
|
11431
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i1$2.ActivatedRoute }, { type: i1$4.MatDialog }, { type: SessionService }, { type: RecordingService }, { type: SpeechRecorderUploader }, { type: SpeechRecorderConfig, decorators: [{
|
|
12104
11432
|
type: Inject,
|
|
12105
11433
|
args: [SPEECHRECORDER_CONFIG]
|
|
12106
11434
|
}] }]; }, propDecorators: { projectName: [{
|
|
@@ -12245,28 +11573,16 @@ class AudioRecorderComponent extends RecorderComponent {
|
|
|
12245
11573
|
return this.dataSaved && !this.ar.isActive();
|
|
12246
11574
|
}
|
|
12247
11575
|
}
|
|
12248
|
-
AudioRecorderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12249
|
-
AudioRecorderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
11576
|
+
AudioRecorderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AudioRecorderComponent, deps: [{ token: i0.Injector }, { token: i1$2.ActivatedRoute }, { token: i1$2.Router }, { token: i0.ChangeDetectorRef }, { token: SessionService }, { token: ProjectService }, { token: SpeechRecorderUploader }], target: i0.ɵɵFactoryTarget.Component });
|
|
11577
|
+
AudioRecorderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: AudioRecorderComponent, selector: "app-audiorecorder-comp", providers: [SessionService], viewQueries: [{ propertyName: "ar", first: true, predicate: AudioRecorder, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
12250
11578
|
<app-audiorecorder [projectName]="_project?.name" [dataSaved]="dataSaved"></app-audiorecorder>
|
|
12251
|
-
`, isInline: true, styles: [":host{flex:2;display:flex;height:100%;flex-direction:column;min-height:0}\n"],
|
|
12252
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11579
|
+
`, isInline: true, styles: [":host{flex:2;display:flex;height:100%;flex-direction:column;min-height:0}\n"], dependencies: [{ kind: "component", type: AudioRecorder, selector: "app-audiorecorder", inputs: ["projectName", "dataSaved"] }] });
|
|
11580
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AudioRecorderComponent, decorators: [{
|
|
12253
11581
|
type: Component,
|
|
12254
|
-
args: [{
|
|
12255
|
-
selector: 'app-audiorecorder-comp',
|
|
12256
|
-
providers: [SessionService],
|
|
12257
|
-
template: `
|
|
11582
|
+
args: [{ selector: 'app-audiorecorder-comp', providers: [SessionService], template: `
|
|
12258
11583
|
<app-audiorecorder [projectName]="_project?.name" [dataSaved]="dataSaved"></app-audiorecorder>
|
|
12259
|
-
`,
|
|
12260
|
-
|
|
12261
|
-
flex: 2;
|
|
12262
|
-
display: flex;
|
|
12263
|
-
height: 100%;
|
|
12264
|
-
flex-direction: column;
|
|
12265
|
-
min-height:0;
|
|
12266
|
-
|
|
12267
|
-
}`]
|
|
12268
|
-
}]
|
|
12269
|
-
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i1$1.ActivatedRoute }, { type: i1$1.Router }, { type: i0.ChangeDetectorRef }, { type: SessionService }, { type: ProjectService }, { type: SpeechRecorderUploader }]; }, propDecorators: { ar: [{
|
|
11584
|
+
`, styles: [":host{flex:2;display:flex;height:100%;flex-direction:column;min-height:0}\n"] }]
|
|
11585
|
+
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i1$2.ActivatedRoute }, { type: i1$2.Router }, { type: i0.ChangeDetectorRef }, { type: SessionService }, { type: ProjectService }, { type: SpeechRecorderUploader }]; }, propDecorators: { ar: [{
|
|
12270
11586
|
type: ViewChild,
|
|
12271
11587
|
args: [AudioRecorder, { static: true }]
|
|
12272
11588
|
}] } });
|
|
@@ -12300,11 +11616,11 @@ class SpeechrecorderngModule {
|
|
|
12300
11616
|
};
|
|
12301
11617
|
}
|
|
12302
11618
|
}
|
|
12303
|
-
SpeechrecorderngModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12304
|
-
SpeechrecorderngModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
12305
|
-
ProgressDisplay, RecordingItemDisplay, RecordingItemControls, UploadStatus, TransportPanel, WakeLockIndicator, ReadyStateIndicator, ControlPanel, WarningBar, AudioRecorder, SessionManager, MessageDialog, SessionFinishedDialog, SpeechrecorderngComponent, AudioRecorderComponent, RecordingFileViewComponent, RecordingFileUI, ScrollIntoViewDirective, RecordingFileNaviComponent, RecordingFileMetaComponent, RecordingList, RecorderCombiPane, AudioRecorder], imports: [i1$
|
|
12306
|
-
SpeechrecorderngModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
12307
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11619
|
+
SpeechrecorderngModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SpeechrecorderngModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
11620
|
+
SpeechrecorderngModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: SpeechrecorderngModule, declarations: [AudioSignal, Sonagram, ScrollPaneHorizontal, AudioClipUIContainer, AudioDisplayScrollPane, AudioDisplay, AudioDisplayPlayer, AudioDisplayControl, LevelBar, Progress, SimpleTrafficLight, Recinstructions, Prompter, PromptContainer, PromptingContainer, Prompting, StatusDisplay,
|
|
11621
|
+
ProgressDisplay, RecordingItemDisplay, RecordingItemControls, UploadStatus, TransportPanel, WakeLockIndicator, ReadyStateIndicator, ControlPanel, WarningBar, AudioRecorder, SessionManager, MessageDialog, SessionFinishedDialog, SpeechrecorderngComponent, AudioRecorderComponent, RecordingFileViewComponent, RecordingFileUI, ScrollIntoViewDirective, RecordingFileNaviComponent, RecordingFileMetaComponent, RecordingList, RecorderCombiPane, AudioRecorder], imports: [i1$2.RouterModule, FlexLayoutModule, CommonModule, MatIconModule, MatButtonModule, MatDialogModule, MatProgressBarModule, MatProgressSpinnerModule, MatTooltipModule, HttpClientModule, MatCheckboxModule, MatCardModule, MatDividerModule, MatGridListModule, MatTableModule, MatInputModule, MatSelectModule, MatSnackBarModule], exports: [MessageDialog, SpeechrecorderngComponent, ScrollPaneHorizontal, AudioClipUIContainer, AudioDisplayScrollPane, AudioDisplay, AudioDisplayPlayer, AudioDisplayControl, LevelBar, AudioRecorder] });
|
|
11622
|
+
SpeechrecorderngModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SpeechrecorderngModule, providers: [SessionService, ProjectService, ScriptService, RecordingService, RecordingFileService, SpeechRecorderUploader], imports: [RouterModule.forChild(SPR_ROUTES), FlexLayoutModule, CommonModule, MatIconModule, MatButtonModule, MatDialogModule, MatProgressBarModule, MatProgressSpinnerModule, MatTooltipModule, HttpClientModule, MatCheckboxModule, MatCardModule, MatDividerModule, MatGridListModule, MatTableModule, MatInputModule, MatSelectModule, MatSnackBarModule] });
|
|
11623
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SpeechrecorderngModule, decorators: [{
|
|
12308
11624
|
type: NgModule,
|
|
12309
11625
|
args: [{
|
|
12310
11626
|
declarations: [AudioSignal, Sonagram, ScrollPaneHorizontal, AudioClipUIContainer, AudioDisplayScrollPane, AudioDisplay, AudioDisplayPlayer, AudioDisplayControl, LevelBar, Progress, SimpleTrafficLight, Recinstructions, Prompter, PromptContainer, PromptingContainer, Prompting, StatusDisplay,
|
|
@@ -12315,7 +11631,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
12315
11631
|
}]
|
|
12316
11632
|
}] });
|
|
12317
11633
|
|
|
12318
|
-
const VERSION = '2.25.
|
|
11634
|
+
const VERSION = '2.25.5';
|
|
12319
11635
|
|
|
12320
11636
|
/*
|
|
12321
11637
|
* Public API Surface of speechrecorderng
|