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,12 +1838,12 @@ 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
1845
|
}], ctorParameters: function () {
|
|
1846
|
-
return [{ type: i1.HttpClient }, { type:
|
|
1846
|
+
return [{ type: i1.HttpClient }, { type: i1$1.PlatformLocation }, { type: SpeechRecorderConfig, decorators: [{
|
|
1847
1847
|
type: Inject,
|
|
1848
1848
|
args: [SPEECHRECORDER_CONFIG]
|
|
1849
1849
|
}] }];
|
|
@@ -1898,9 +1898,9 @@ class SessionService {
|
|
|
1898
1898
|
}
|
|
1899
1899
|
}
|
|
1900
1900
|
SessionService.SESSION_API_CTX = 'session';
|
|
1901
|
-
SessionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1902
|
-
SessionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1903
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1901
|
+
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 });
|
|
1902
|
+
SessionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SessionService });
|
|
1903
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SessionService, decorators: [{
|
|
1904
1904
|
type: Injectable
|
|
1905
1905
|
}], ctorParameters: function () {
|
|
1906
1906
|
return [{ type: i1.HttpClient }, { type: SpeechRecorderConfig, decorators: [{
|
|
@@ -1941,8 +1941,8 @@ class SimpleTrafficLight {
|
|
|
1941
1941
|
}
|
|
1942
1942
|
}
|
|
1943
1943
|
}
|
|
1944
|
-
SimpleTrafficLight.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1945
|
-
SimpleTrafficLight.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1944
|
+
SimpleTrafficLight.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SimpleTrafficLight, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1945
|
+
SimpleTrafficLight.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: SimpleTrafficLight, selector: "app-simpletrafficlight", inputs: { status: "status" }, ngImport: i0, template: `
|
|
1946
1946
|
|
|
1947
1947
|
<div>
|
|
1948
1948
|
<div class="circle {{lighttop}}"></div>
|
|
@@ -1950,51 +1950,16 @@ SimpleTrafficLight.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
1950
1950
|
<div class="circle {{lightbottom}}"></div>
|
|
1951
1951
|
</div>
|
|
1952
1952
|
`, 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"] });
|
|
1953
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1953
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SimpleTrafficLight, decorators: [{
|
|
1954
1954
|
type: Component,
|
|
1955
|
-
args: [{
|
|
1956
|
-
selector: 'app-simpletrafficlight',
|
|
1957
|
-
template: `
|
|
1955
|
+
args: [{ selector: 'app-simpletrafficlight', template: `
|
|
1958
1956
|
|
|
1959
1957
|
<div>
|
|
1960
1958
|
<div class="circle {{lighttop}}"></div>
|
|
1961
1959
|
<div class="circle {{lightmid}}"></div>
|
|
1962
1960
|
<div class="circle {{lightbottom}}"></div>
|
|
1963
1961
|
</div>
|
|
1964
|
-
`,
|
|
1965
|
-
styles: [`.circle {
|
|
1966
|
-
width: 50px;
|
|
1967
|
-
height: 50px;
|
|
1968
|
-
border-radius: 50%;
|
|
1969
|
-
margin: 5px;
|
|
1970
|
-
background: grey;
|
|
1971
|
-
}`, `.red {
|
|
1972
|
-
background: red;
|
|
1973
|
-
}
|
|
1974
|
-
`, `
|
|
1975
|
-
.yellow {
|
|
1976
|
-
background: yellow;
|
|
1977
|
-
}
|
|
1978
|
-
`, `
|
|
1979
|
-
.green {
|
|
1980
|
-
background: green;
|
|
1981
|
-
}
|
|
1982
|
-
`, `
|
|
1983
|
-
.black {
|
|
1984
|
-
background: black;
|
|
1985
|
-
}`,
|
|
1986
|
-
`:host {
|
|
1987
|
-
display: flex;
|
|
1988
|
-
flex-direction: column;
|
|
1989
|
-
background: black;
|
|
1990
|
-
|
|
1991
|
-
padding: 2px;
|
|
1992
|
-
height: 170px;
|
|
1993
|
-
max-height: 170px;
|
|
1994
|
-
flex: 0 0 content;
|
|
1995
|
-
}
|
|
1996
|
-
`]
|
|
1997
|
-
}]
|
|
1962
|
+
`, 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"] }]
|
|
1998
1963
|
}], ctorParameters: function () { return []; }, propDecorators: { status: [{
|
|
1999
1964
|
type: Input
|
|
2000
1965
|
}] } });
|
|
@@ -2056,15 +2021,16 @@ class CanvasLayerComponent {
|
|
|
2056
2021
|
}
|
|
2057
2022
|
}
|
|
2058
2023
|
}
|
|
2059
|
-
CanvasLayerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2060
|
-
CanvasLayerComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2061
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2024
|
+
CanvasLayerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CanvasLayerComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2025
|
+
CanvasLayerComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: CanvasLayerComponent, ngImport: i0 });
|
|
2026
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CanvasLayerComponent, decorators: [{
|
|
2062
2027
|
type: Directive
|
|
2063
2028
|
}], ctorParameters: function () { return []; } });
|
|
2064
2029
|
|
|
2065
2030
|
class AudioClip {
|
|
2066
2031
|
constructor(buffer) {
|
|
2067
2032
|
this._selection = null;
|
|
2033
|
+
this._levelInfos = null;
|
|
2068
2034
|
this.selectionObservers = new Array();
|
|
2069
2035
|
this._buffer = buffer;
|
|
2070
2036
|
}
|
|
@@ -2086,6 +2052,12 @@ class AudioClip {
|
|
|
2086
2052
|
selObs(this);
|
|
2087
2053
|
}
|
|
2088
2054
|
}
|
|
2055
|
+
get levelInfos() {
|
|
2056
|
+
return this._levelInfos;
|
|
2057
|
+
}
|
|
2058
|
+
set levelInfos(value) {
|
|
2059
|
+
this._levelInfos = value;
|
|
2060
|
+
}
|
|
2089
2061
|
addSelectionObserver(selectionObserver, init = false) {
|
|
2090
2062
|
let obsAlreadyInList = this.selectionObservers.find((obs) => (obs === selectionObserver));
|
|
2091
2063
|
if (!obsAlreadyInList) {
|
|
@@ -2291,9 +2263,9 @@ class BasicAudioCanvasLayerComponent extends CanvasLayerComponent {
|
|
|
2291
2263
|
//});
|
|
2292
2264
|
}
|
|
2293
2265
|
}
|
|
2294
|
-
BasicAudioCanvasLayerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2295
|
-
BasicAudioCanvasLayerComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2296
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2266
|
+
BasicAudioCanvasLayerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: BasicAudioCanvasLayerComponent, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2267
|
+
BasicAudioCanvasLayerComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: BasicAudioCanvasLayerComponent, usesInheritance: true, ngImport: i0 });
|
|
2268
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: BasicAudioCanvasLayerComponent, decorators: [{
|
|
2297
2269
|
type: Directive
|
|
2298
2270
|
}] });
|
|
2299
2271
|
class AudioCanvasLayerComponent extends BasicAudioCanvasLayerComponent {
|
|
@@ -2494,9 +2466,9 @@ class AudioCanvasLayerComponent extends BasicAudioCanvasLayerComponent {
|
|
|
2494
2466
|
}
|
|
2495
2467
|
}
|
|
2496
2468
|
}
|
|
2497
|
-
AudioCanvasLayerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2498
|
-
AudioCanvasLayerComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2499
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2469
|
+
AudioCanvasLayerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AudioCanvasLayerComponent, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2470
|
+
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 });
|
|
2471
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AudioCanvasLayerComponent, decorators: [{
|
|
2500
2472
|
type: Directive
|
|
2501
2473
|
}], propDecorators: { bgCanvasRef: [{
|
|
2502
2474
|
type: ViewChild,
|
|
@@ -2819,34 +2791,21 @@ class AudioSignal extends AudioCanvasLayerComponent {
|
|
|
2819
2791
|
this.playFramePosition = 0;
|
|
2820
2792
|
}
|
|
2821
2793
|
}
|
|
2822
|
-
AudioSignal.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2823
|
-
AudioSignal.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
2794
|
+
AudioSignal.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AudioSignal, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2795
|
+
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: `
|
|
2824
2796
|
<canvas #bg height="10"></canvas>
|
|
2825
2797
|
<canvas #audioSignal height="10"></canvas>
|
|
2826
2798
|
<canvas #cursor height="10" (mousedown)="selectionStart($event)" (mouseover)="updateCursorCanvas($event)" (mousemove)="updateCursorCanvas($event)"
|
|
2827
2799
|
(mouseleave)="updateCursorCanvas($event, false)"></canvas>
|
|
2828
2800
|
<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"] });
|
|
2829
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2801
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AudioSignal, decorators: [{
|
|
2830
2802
|
type: Component,
|
|
2831
|
-
args: [{
|
|
2832
|
-
selector: 'audio-signal',
|
|
2833
|
-
template: `
|
|
2803
|
+
args: [{ selector: 'audio-signal', template: `
|
|
2834
2804
|
<canvas #bg height="10"></canvas>
|
|
2835
2805
|
<canvas #audioSignal height="10"></canvas>
|
|
2836
2806
|
<canvas #cursor height="10" (mousedown)="selectionStart($event)" (mouseover)="updateCursorCanvas($event)" (mousemove)="updateCursorCanvas($event)"
|
|
2837
2807
|
(mouseleave)="updateCursorCanvas($event, false)"></canvas>
|
|
2838
|
-
<canvas #marker height="10"></canvas>`,
|
|
2839
|
-
styles: [`:host{
|
|
2840
|
-
min-height: 0px;
|
|
2841
|
-
}`, `canvas {
|
|
2842
|
-
top: 0;
|
|
2843
|
-
left: 0;
|
|
2844
|
-
width: 0;
|
|
2845
|
-
height: 0;
|
|
2846
|
-
min-height: 0px;
|
|
2847
|
-
position: absolute;
|
|
2848
|
-
}`]
|
|
2849
|
-
}]
|
|
2808
|
+
<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"] }]
|
|
2850
2809
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { audioSignalCanvasRef: [{
|
|
2851
2810
|
type: ViewChild,
|
|
2852
2811
|
args: ['audioSignal', { static: true }]
|
|
@@ -3802,34 +3761,21 @@ class Sonagram extends AudioCanvasLayerComponent {
|
|
|
3802
3761
|
//this.startRender();
|
|
3803
3762
|
}
|
|
3804
3763
|
}
|
|
3805
|
-
Sonagram.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3806
|
-
Sonagram.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
3764
|
+
Sonagram.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: Sonagram, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
3765
|
+
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: `
|
|
3807
3766
|
<canvas #sonagram height="10"></canvas>
|
|
3808
3767
|
<canvas #bg height="10"></canvas>
|
|
3809
3768
|
<canvas #cursor height="10" (mousedown)="selectionStart($event)" (mouseover)="updateCursorCanvas($event)" (mousemove)="updateCursorCanvas($event)"
|
|
3810
3769
|
(mouseleave)="updateCursorCanvas($event, false)"></canvas>
|
|
3811
3770
|
<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"] });
|
|
3812
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3771
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: Sonagram, decorators: [{
|
|
3813
3772
|
type: Component,
|
|
3814
|
-
args: [{
|
|
3815
|
-
selector: 'audio-sonagram',
|
|
3816
|
-
template: `
|
|
3773
|
+
args: [{ selector: 'audio-sonagram', template: `
|
|
3817
3774
|
<canvas #sonagram height="10"></canvas>
|
|
3818
3775
|
<canvas #bg height="10"></canvas>
|
|
3819
3776
|
<canvas #cursor height="10" (mousedown)="selectionStart($event)" (mouseover)="updateCursorCanvas($event)" (mousemove)="updateCursorCanvas($event)"
|
|
3820
3777
|
(mouseleave)="updateCursorCanvas($event, false)"></canvas>
|
|
3821
|
-
<canvas #marker height="10"></canvas>`,
|
|
3822
|
-
styles: [`:host{
|
|
3823
|
-
min-height: 0px;
|
|
3824
|
-
}`, `canvas {
|
|
3825
|
-
top: 0;
|
|
3826
|
-
left: 0;
|
|
3827
|
-
width: 0;
|
|
3828
|
-
height: 0;
|
|
3829
|
-
min-height: 0px;
|
|
3830
|
-
position: absolute;
|
|
3831
|
-
}`]
|
|
3832
|
-
}]
|
|
3778
|
+
<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"] }]
|
|
3833
3779
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { sonagramCanvasRef: [{
|
|
3834
3780
|
type: ViewChild,
|
|
3835
3781
|
args: ['sonagram', { static: true }]
|
|
@@ -4174,62 +4120,25 @@ class AudioClipUIContainer extends BasicAudioCanvasLayerComponent {
|
|
|
4174
4120
|
}
|
|
4175
4121
|
}
|
|
4176
4122
|
AudioClipUIContainer.DIVIDER_PIXEL_SIZE = 10;
|
|
4177
|
-
AudioClipUIContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4178
|
-
AudioClipUIContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
4123
|
+
AudioClipUIContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AudioClipUIContainer, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4124
|
+
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: `
|
|
4179
4125
|
<div #virtualCanvas>
|
|
4180
4126
|
<canvas #divider (mousedown)="mousedown($event)" (mouseover)="mouseover($event)"
|
|
4181
4127
|
(mouseleave)="mouseleave($event)" height="10"></canvas>
|
|
4182
4128
|
<audio-signal [pointerPosition]="pointer" [selecting]="selecting" [selection]="selection" (pointerPositionEventEmitter)="pointerPositionChanged($event)" (selectingEventEmitter)="selectingChanged($event)" (selectedEventEmitter)="selectionChanged($event)"></audio-signal>
|
|
4183
4129
|
<audio-sonagram [pointerPosition]="pointer" [selecting]="selecting" [selection]="selection" (pointerPositionEventEmitter)="pointerPositionChanged($event)" (selectingEventEmitter)="selectingChanged($event)" (selectedEventEmitter)="selectionChanged($event)"></audio-sonagram>
|
|
4184
4130
|
</div>
|
|
4185
|
-
`, 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"],
|
|
4186
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4131
|
+
`, 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" }] });
|
|
4132
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AudioClipUIContainer, decorators: [{
|
|
4187
4133
|
type: Component,
|
|
4188
|
-
args: [{
|
|
4189
|
-
selector: 'app-audio',
|
|
4190
|
-
template: `
|
|
4134
|
+
args: [{ selector: 'app-audio', template: `
|
|
4191
4135
|
<div #virtualCanvas>
|
|
4192
4136
|
<canvas #divider (mousedown)="mousedown($event)" (mouseover)="mouseover($event)"
|
|
4193
4137
|
(mouseleave)="mouseleave($event)" height="10"></canvas>
|
|
4194
4138
|
<audio-signal [pointerPosition]="pointer" [selecting]="selecting" [selection]="selection" (pointerPositionEventEmitter)="pointerPositionChanged($event)" (selectingEventEmitter)="selectingChanged($event)" (selectedEventEmitter)="selectionChanged($event)"></audio-signal>
|
|
4195
4139
|
<audio-sonagram [pointerPosition]="pointer" [selecting]="selecting" [selection]="selection" (pointerPositionEventEmitter)="pointerPositionChanged($event)" (selectingEventEmitter)="selectingChanged($event)" (selectedEventEmitter)="selectionChanged($event)"></audio-sonagram>
|
|
4196
4140
|
</div>
|
|
4197
|
-
`,
|
|
4198
|
-
styles: [`div {
|
|
4199
|
-
|
|
4200
|
-
margin: 0;
|
|
4201
|
-
padding: 0;
|
|
4202
|
-
top: 0;
|
|
4203
|
-
left: 0;
|
|
4204
|
-
width: 100%;
|
|
4205
|
-
height: 100%;
|
|
4206
|
-
position: relative; /* TODO container div position must not be 'static' (default) to act as reference for the canvases */
|
|
4207
|
-
box-sizing: border-box;
|
|
4208
|
-
transform: none;
|
|
4209
|
-
overflow: hidden;
|
|
4210
|
-
}`, `canvas{
|
|
4211
|
-
top: 0;
|
|
4212
|
-
left: 0;
|
|
4213
|
-
width: 0;
|
|
4214
|
-
height: 0;
|
|
4215
|
-
cursor: ns-resize;
|
|
4216
|
-
position: absolute;
|
|
4217
|
-
zIndex: 1;
|
|
4218
|
-
transform: none;
|
|
4219
|
-
}`, `audio-signal {
|
|
4220
|
-
top: 0;
|
|
4221
|
-
left: 0;
|
|
4222
|
-
position: absolute;
|
|
4223
|
-
zIndex: 1;
|
|
4224
|
-
transform: none;
|
|
4225
|
-
}`, `audio-sonagram {
|
|
4226
|
-
top: 0;
|
|
4227
|
-
left: 0;
|
|
4228
|
-
position: absolute;
|
|
4229
|
-
zIndex: 1;
|
|
4230
|
-
transform: none;
|
|
4231
|
-
}`]
|
|
4232
|
-
}]
|
|
4141
|
+
`, 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"] }]
|
|
4233
4142
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { canvasRef: [{
|
|
4234
4143
|
type: ViewChild,
|
|
4235
4144
|
args: ['divider', { static: true }]
|
|
@@ -4369,46 +4278,19 @@ class AudioDisplayScrollPane {
|
|
|
4369
4278
|
this.ac.playFramePosition = framePos;
|
|
4370
4279
|
}
|
|
4371
4280
|
}
|
|
4372
|
-
AudioDisplayScrollPane.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4373
|
-
AudioDisplayScrollPane.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
4281
|
+
AudioDisplayScrollPane.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AudioDisplayScrollPane, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4282
|
+
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: `
|
|
4374
4283
|
|
|
4375
4284
|
<app-audio #audioSignalContainer (selectionEventEmitter)="selectionChanged($event)"></app-audio>
|
|
4376
4285
|
|
|
4377
|
-
`, 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"],
|
|
4378
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4286
|
+
`, 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"] }] });
|
|
4287
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AudioDisplayScrollPane, decorators: [{
|
|
4379
4288
|
type: Component,
|
|
4380
|
-
args: [{
|
|
4381
|
-
selector: 'audio-display-scroll-pane',
|
|
4382
|
-
template: `
|
|
4289
|
+
args: [{ selector: 'audio-display-scroll-pane', template: `
|
|
4383
4290
|
|
|
4384
4291
|
<app-audio #audioSignalContainer (selectionEventEmitter)="selectionChanged($event)"></app-audio>
|
|
4385
4292
|
|
|
4386
|
-
`,
|
|
4387
|
-
styles: [
|
|
4388
|
-
`:host {
|
|
4389
|
-
flex: 2;
|
|
4390
|
-
width: 100%;
|
|
4391
|
-
background: darkgray;
|
|
4392
|
-
box-sizing: border-box;
|
|
4393
|
-
height: 100%;
|
|
4394
|
-
position: relative;
|
|
4395
|
-
overflow-x: scroll;
|
|
4396
|
-
overflow-y: auto;
|
|
4397
|
-
}`,
|
|
4398
|
-
`app-audio {
|
|
4399
|
-
|
|
4400
|
-
margin: 0;
|
|
4401
|
-
padding: 0;
|
|
4402
|
-
top: 0;
|
|
4403
|
-
left: 0;
|
|
4404
|
-
width: 100%;
|
|
4405
|
-
height: 100%;
|
|
4406
|
-
|
|
4407
|
-
/*position: absolute;*/
|
|
4408
|
-
box-sizing: border-box;
|
|
4409
|
-
}`
|
|
4410
|
-
]
|
|
4411
|
-
}]
|
|
4293
|
+
`, 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"] }]
|
|
4412
4294
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { zoomInAction: [{
|
|
4413
4295
|
type: Output
|
|
4414
4296
|
}], zoomOutAction: [{
|
|
@@ -4462,8 +4344,8 @@ class AudioDisplayControl {
|
|
|
4462
4344
|
this.status = 'ERROR';
|
|
4463
4345
|
}
|
|
4464
4346
|
}
|
|
4465
|
-
AudioDisplayControl.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4466
|
-
AudioDisplayControl.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
4347
|
+
AudioDisplayControl.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AudioDisplayControl, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4348
|
+
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: `
|
|
4467
4349
|
<div #controlPanel style="display:flex;flex-direction: row;">
|
|
4468
4350
|
<fieldset>
|
|
4469
4351
|
|
|
@@ -4506,12 +4388,10 @@ AudioDisplayControl.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
4506
4388
|
</button>
|
|
4507
4389
|
|
|
4508
4390
|
</fieldset>
|
|
4509
|
-
</div>`, isInline: true, styles: [":host{flex:0}\n"],
|
|
4510
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4391
|
+
</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"] }] });
|
|
4392
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AudioDisplayControl, decorators: [{
|
|
4511
4393
|
type: Component,
|
|
4512
|
-
args: [{
|
|
4513
|
-
selector: 'audio-display-control',
|
|
4514
|
-
template: `
|
|
4394
|
+
args: [{ selector: 'audio-display-control', template: `
|
|
4515
4395
|
<div #controlPanel style="display:flex;flex-direction: row;">
|
|
4516
4396
|
<fieldset>
|
|
4517
4397
|
|
|
@@ -4554,14 +4434,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
4554
4434
|
</button>
|
|
4555
4435
|
|
|
4556
4436
|
</fieldset>
|
|
4557
|
-
</div>`,
|
|
4558
|
-
styles: [
|
|
4559
|
-
`:host {
|
|
4560
|
-
flex: 0;
|
|
4561
|
-
|
|
4562
|
-
}`
|
|
4563
|
-
]
|
|
4564
|
-
}]
|
|
4437
|
+
</div>`, styles: [":host{flex:0}\n"] }]
|
|
4565
4438
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { audioClip: [{
|
|
4566
4439
|
type: Input
|
|
4567
4440
|
}], autoplaySelectedCheckbox: [{
|
|
@@ -4649,8 +4522,8 @@ class AudioDisplay {
|
|
|
4649
4522
|
this.status = 'ERROR';
|
|
4650
4523
|
}
|
|
4651
4524
|
}
|
|
4652
|
-
AudioDisplay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4653
|
-
AudioDisplay.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
4525
|
+
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 });
|
|
4526
|
+
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: `
|
|
4654
4527
|
|
|
4655
4528
|
<audio-display-scroll-pane #audioDisplayScrollPane></audio-display-scroll-pane>
|
|
4656
4529
|
|
|
@@ -4663,12 +4536,10 @@ AudioDisplay.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
|
4663
4536
|
[zoomOutAction]="zoomOutAction"
|
|
4664
4537
|
[zoomSelectedAction]="zoomSelectedAction"
|
|
4665
4538
|
[zoomFitToPanelAction]="zoomFitToPanelAction"></audio-display-control>
|
|
4666
|
-
`, 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"],
|
|
4667
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4539
|
+
`, 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"] }] });
|
|
4540
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AudioDisplay, decorators: [{
|
|
4668
4541
|
type: Component,
|
|
4669
|
-
args: [{
|
|
4670
|
-
selector: 'app-audiodisplay',
|
|
4671
|
-
template: `
|
|
4542
|
+
args: [{ selector: 'app-audiodisplay', template: `
|
|
4672
4543
|
|
|
4673
4544
|
<audio-display-scroll-pane #audioDisplayScrollPane></audio-display-scroll-pane>
|
|
4674
4545
|
|
|
@@ -4681,31 +4552,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
4681
4552
|
[zoomOutAction]="zoomOutAction"
|
|
4682
4553
|
[zoomSelectedAction]="zoomSelectedAction"
|
|
4683
4554
|
[zoomFitToPanelAction]="zoomFitToPanelAction"></audio-display-control>
|
|
4684
|
-
`,
|
|
4685
|
-
|
|
4686
|
-
`:host {
|
|
4687
|
-
display: flex;
|
|
4688
|
-
flex-direction: column;
|
|
4689
|
-
position: absolute;
|
|
4690
|
-
bottom: 0px;
|
|
4691
|
-
height: 100%;
|
|
4692
|
-
width: 100%;
|
|
4693
|
-
overflow: hidden;
|
|
4694
|
-
padding: 20px;
|
|
4695
|
-
z-index: 5;
|
|
4696
|
-
box-sizing: border-box;
|
|
4697
|
-
background-color: rgba(230, 230, 230, 1.0)
|
|
4698
|
-
}`, `
|
|
4699
|
-
legend{
|
|
4700
|
-
margin-left: 1em; padding: 0.2em 0.8em;font-size: 0.8em;
|
|
4701
|
-
}`, `
|
|
4702
|
-
fieldset{
|
|
4703
|
-
border: 1px darkgray solid
|
|
4704
|
-
}
|
|
4705
|
-
`
|
|
4706
|
-
]
|
|
4707
|
-
}]
|
|
4708
|
-
}], ctorParameters: function () { return [{ type: i1$1.ActivatedRoute }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }]; }, propDecorators: { playStartAction: [{
|
|
4555
|
+
`, 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"] }]
|
|
4556
|
+
}], ctorParameters: function () { return [{ type: i1$2.ActivatedRoute }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }]; }, propDecorators: { playStartAction: [{
|
|
4709
4557
|
type: Input
|
|
4710
4558
|
}], playStopAction: [{
|
|
4711
4559
|
type: Input
|
|
@@ -4732,9 +4580,9 @@ class ScrollIntoViewDirective {
|
|
|
4732
4580
|
}
|
|
4733
4581
|
}
|
|
4734
4582
|
}
|
|
4735
|
-
ScrollIntoViewDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4736
|
-
ScrollIntoViewDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
4737
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4583
|
+
ScrollIntoViewDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ScrollIntoViewDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4584
|
+
ScrollIntoViewDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: ScrollIntoViewDirective, selector: "[scrollIntoViewToBottom]", inputs: { scrollIntoViewToBottom: "scrollIntoViewToBottom" }, ngImport: i0 });
|
|
4585
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ScrollIntoViewDirective, decorators: [{
|
|
4738
4586
|
type: Directive,
|
|
4739
4587
|
args: [{
|
|
4740
4588
|
selector: "[scrollIntoViewToBottom]"
|
|
@@ -4768,8 +4616,8 @@ class Progress {
|
|
|
4768
4616
|
}
|
|
4769
4617
|
}
|
|
4770
4618
|
}
|
|
4771
|
-
Progress.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4772
|
-
Progress.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
4619
|
+
Progress.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: Progress, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4620
|
+
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: `
|
|
4773
4621
|
|
|
4774
4622
|
<table class="mat-typography">
|
|
4775
4623
|
<thead>
|
|
@@ -4796,12 +4644,10 @@ Progress.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
|
4796
4644
|
|
|
4797
4645
|
</tbody>
|
|
4798
4646
|
</table>
|
|
4799
|
-
`, 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"],
|
|
4800
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4647
|
+
`, 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"] }] });
|
|
4648
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: Progress, decorators: [{
|
|
4801
4649
|
type: Component,
|
|
4802
|
-
args: [{
|
|
4803
|
-
selector: 'app-sprprogress',
|
|
4804
|
-
template: `
|
|
4650
|
+
args: [{ selector: 'app-sprprogress', template: `
|
|
4805
4651
|
|
|
4806
4652
|
<table class="mat-typography">
|
|
4807
4653
|
<thead>
|
|
@@ -4828,49 +4674,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
4828
4674
|
|
|
4829
4675
|
</tbody>
|
|
4830
4676
|
</table>
|
|
4831
|
-
`,
|
|
4832
|
-
styles: [`:host {
|
|
4833
|
-
overflow-x: hidden;
|
|
4834
|
-
overflow-y: scroll;
|
|
4835
|
-
padding: 10pt;
|
|
4836
|
-
/*flex: 0.1 0 300px;
|
|
4837
|
-
min-width: 300px; */
|
|
4838
|
-
flex: 0.1 0 content;
|
|
4839
|
-
background: white;
|
|
4840
|
-
/* Workaround for Firefox
|
|
4841
|
-
If the progress table gets long (script with many items) FF increases the height of the overflow progressContainer and
|
|
4842
|
-
the whole app does not fit into the page anymore. The app overflows and shows a vertical scrollbar for the whole app.
|
|
4843
|
-
See http://stackoverflow.com/questions/28636832/firefox-overflow-y-not-working-with-nested-flexbox
|
|
4844
|
-
*/
|
|
4845
|
-
/* min-height:0px; */
|
|
4846
|
-
min-height: 1px;
|
|
4847
|
-
}`,
|
|
4848
|
-
`table {
|
|
4849
|
-
min-height: 1px;
|
|
4850
|
-
border-collapse: collapse;
|
|
4851
|
-
/* Tables do not have a natural min size */
|
|
4852
|
-
/*min-width: 300px; */
|
|
4853
|
-
|
|
4854
|
-
}
|
|
4855
|
-
|
|
4856
|
-
table, th, td {
|
|
4857
|
-
border: 1px solid lightgrey;
|
|
4858
|
-
padding: 0.5em;
|
|
4859
|
-
|
|
4860
|
-
}
|
|
4861
|
-
|
|
4862
|
-
`, `
|
|
4863
|
-
.selRow {
|
|
4864
|
-
background: lightblue;
|
|
4865
|
-
}
|
|
4866
|
-
`, `.promptDescriptor{
|
|
4867
|
-
|
|
4868
|
-
max-width: 200px;
|
|
4869
|
-
text-overflow: ellipsis;
|
|
4870
|
-
overflow: hidden;
|
|
4871
|
-
white-space: nowrap;
|
|
4872
|
-
}`]
|
|
4873
|
-
}]
|
|
4677
|
+
`, 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"] }]
|
|
4874
4678
|
}], propDecorators: { items: [{
|
|
4875
4679
|
type: Input
|
|
4876
4680
|
}], selectedItemIdx: [{
|
|
@@ -4903,31 +4707,17 @@ class Recinstructions {
|
|
|
4903
4707
|
return riTxt;
|
|
4904
4708
|
}
|
|
4905
4709
|
}
|
|
4906
|
-
Recinstructions.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4907
|
-
Recinstructions.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
4710
|
+
Recinstructions.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: Recinstructions, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4711
|
+
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: `
|
|
4908
4712
|
|
|
4909
4713
|
{{displayText()}}
|
|
4910
4714
|
`, isInline: true, styles: [":host{justify-content:left;align-items:flex-start;background:white;text-align:left;font-size:1em;flex:0;width:100%}\n"] });
|
|
4911
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4715
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: Recinstructions, decorators: [{
|
|
4912
4716
|
type: Component,
|
|
4913
|
-
args: [{
|
|
4914
|
-
selector: 'spr-recinstructions',
|
|
4915
|
-
template: `
|
|
4717
|
+
args: [{ selector: 'spr-recinstructions', template: `
|
|
4916
4718
|
|
|
4917
4719
|
{{displayText()}}
|
|
4918
|
-
`,
|
|
4919
|
-
styles: [`:host {
|
|
4920
|
-
|
|
4921
|
-
justify-content: left; /* align horizontal center */
|
|
4922
|
-
align-items: flex-start; /* align vertical center */
|
|
4923
|
-
background: white;
|
|
4924
|
-
text-align: left;
|
|
4925
|
-
font-size: 1em;
|
|
4926
|
-
flex: 0;
|
|
4927
|
-
width: 100%;
|
|
4928
|
-
}
|
|
4929
|
-
`]
|
|
4930
|
-
}]
|
|
4720
|
+
`, styles: [":host{justify-content:left;align-items:flex-start;background:white;text-align:left;font-size:1em;flex:0;width:100%}\n"] }]
|
|
4931
4721
|
}], propDecorators: { recinstructions: [{
|
|
4932
4722
|
type: Input
|
|
4933
4723
|
}], selectedItemIdx: [{
|
|
@@ -5096,45 +4886,19 @@ class Prompter {
|
|
|
5096
4886
|
}
|
|
5097
4887
|
}
|
|
5098
4888
|
}
|
|
5099
|
-
Prompter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5100
|
-
Prompter.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
4889
|
+
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 });
|
|
4890
|
+
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: `
|
|
5101
4891
|
|
|
5102
4892
|
<!--<ng-template [ngIf]="text">{{text}}</ng-template>-->
|
|
5103
4893
|
<!-- <img *ngIf="src" #promptImage [src]="srcUrl()" [height]="prompterHeight-20" /> -->
|
|
5104
4894
|
`, 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"] });
|
|
5105
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4895
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: Prompter, decorators: [{
|
|
5106
4896
|
type: Component,
|
|
5107
|
-
args: [{
|
|
5108
|
-
selector: 'app-sprprompter',
|
|
5109
|
-
template: `
|
|
4897
|
+
args: [{ selector: 'app-sprprompter', template: `
|
|
5110
4898
|
|
|
5111
4899
|
<!--<ng-template [ngIf]="text">{{text}}</ng-template>-->
|
|
5112
4900
|
<!-- <img *ngIf="src" #promptImage [src]="srcUrl()" [height]="prompterHeight-20" /> -->
|
|
5113
|
-
`,
|
|
5114
|
-
styles: [`:host {
|
|
5115
|
-
|
|
5116
|
-
justify-content: center; /* align horizontal center */
|
|
5117
|
-
align-items: center; /* align vertical center */
|
|
5118
|
-
background: white;
|
|
5119
|
-
text-align: center;
|
|
5120
|
-
/* font-size: 2em; */
|
|
5121
|
-
line-height: 1.2em;
|
|
5122
|
-
font-weight: bold;
|
|
5123
|
-
/* Use only natural size of the prompt */
|
|
5124
|
-
/* The prompter compnent then ets aligned vertically centered */
|
|
5125
|
-
flex: 0 1;
|
|
5126
|
-
|
|
5127
|
-
}`, `:host(.fill) {
|
|
5128
|
-
/* Use all space to scale images */
|
|
5129
|
-
flex: 3;
|
|
5130
|
-
width: 100%;
|
|
5131
|
-
height: 100%;
|
|
5132
|
-
max-height: 100%;
|
|
5133
|
-
max-width: 100%;
|
|
5134
|
-
/* A separate flex container might be necessayr to alighn centered */
|
|
5135
|
-
vertical-align: middle; /* TODO does not work, image is not vertically centered */
|
|
5136
|
-
}`]
|
|
5137
|
-
}]
|
|
4901
|
+
`, 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"] }]
|
|
5138
4902
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: ProjectService }]; }, propDecorators: { projectName: [{
|
|
5139
4903
|
type: Input
|
|
5140
4904
|
}], prompterHeight: [{
|
|
@@ -5276,35 +5040,15 @@ class PromptContainer {
|
|
|
5276
5040
|
}
|
|
5277
5041
|
}
|
|
5278
5042
|
}
|
|
5279
|
-
PromptContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5280
|
-
PromptContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
5043
|
+
PromptContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: PromptContainer, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
5044
|
+
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: `
|
|
5281
5045
|
<app-sprprompter #prompter [projectName]="projectName" [promptMediaItems]="mediaitems" [style.font-size]="fontSize+'px'" [style.visibility]="prDisplay" [prompterHeight]="prompterHeight"></app-sprprompter>
|
|
5282
|
-
`, 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"],
|
|
5283
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5046
|
+
`, 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"] }] });
|
|
5047
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: PromptContainer, decorators: [{
|
|
5284
5048
|
type: Component,
|
|
5285
|
-
args: [{
|
|
5286
|
-
selector: 'app-sprpromptcontainer',
|
|
5287
|
-
template: `
|
|
5049
|
+
args: [{ selector: 'app-sprpromptcontainer', template: `
|
|
5288
5050
|
<app-sprprompter #prompter [projectName]="projectName" [promptMediaItems]="mediaitems" [style.font-size]="fontSize+'px'" [style.visibility]="prDisplay" [prompterHeight]="prompterHeight"></app-sprprompter>
|
|
5289
|
-
`,
|
|
5290
|
-
styles: [`:host {
|
|
5291
|
-
|
|
5292
|
-
flex: 3; /* the container consumes all available space */
|
|
5293
|
-
padding: 10pt;
|
|
5294
|
-
height: 100%;
|
|
5295
|
-
max-height: 100%;
|
|
5296
|
-
|
|
5297
|
-
justify-content: center; /* align horizontal center*/
|
|
5298
|
-
align-items: center; /* align vertical center */
|
|
5299
|
-
background: white;
|
|
5300
|
-
text-align: center;
|
|
5301
|
-
display: flex;
|
|
5302
|
-
flex-direction: column;
|
|
5303
|
-
min-height: 0px;
|
|
5304
|
-
width: 100%;
|
|
5305
|
-
}
|
|
5306
|
-
`]
|
|
5307
|
-
}]
|
|
5051
|
+
`, 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"] }]
|
|
5308
5052
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { projectName: [{
|
|
5309
5053
|
type: Input
|
|
5310
5054
|
}], prompter: [{
|
|
@@ -5423,39 +5167,23 @@ class PromptingContainer {
|
|
|
5423
5167
|
//ev.preventDefault();
|
|
5424
5168
|
}
|
|
5425
5169
|
}
|
|
5426
|
-
PromptingContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5427
|
-
PromptingContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
5170
|
+
PromptingContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: PromptingContainer, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
5171
|
+
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: `
|
|
5428
5172
|
<spr-recinstructions [selectedItemIdx]="selectedItemIdx" [itemCount]="itemCount"
|
|
5429
5173
|
[recinstructions]="promptItem?.recinstructions?.recinstructions"></spr-recinstructions>
|
|
5430
5174
|
<app-sprpromptcontainer [projectName]="projectName"
|
|
5431
5175
|
[mediaitems]="showPrompt?(promptItem?promptItem.mediaitems:null):null"></app-sprpromptcontainer>
|
|
5432
5176
|
|
|
5433
|
-
`, 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"],
|
|
5434
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5177
|
+
`, 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"] }] });
|
|
5178
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: PromptingContainer, decorators: [{
|
|
5435
5179
|
type: Component,
|
|
5436
|
-
args: [{
|
|
5437
|
-
selector: 'app-sprpromptingcontainer',
|
|
5438
|
-
template: `
|
|
5180
|
+
args: [{ selector: 'app-sprpromptingcontainer', template: `
|
|
5439
5181
|
<spr-recinstructions [selectedItemIdx]="selectedItemIdx" [itemCount]="itemCount"
|
|
5440
5182
|
[recinstructions]="promptItem?.recinstructions?.recinstructions"></spr-recinstructions>
|
|
5441
5183
|
<app-sprpromptcontainer [projectName]="projectName"
|
|
5442
5184
|
[mediaitems]="showPrompt?(promptItem?promptItem.mediaitems:null):null"></app-sprpromptcontainer>
|
|
5443
5185
|
|
|
5444
|
-
`,
|
|
5445
|
-
styles: [`:host {
|
|
5446
|
-
position: relative;
|
|
5447
|
-
flex: 3; /* the container consumes all available space */
|
|
5448
|
-
padding: 10pt;
|
|
5449
|
-
justify-content: center; /* align horizontal center*/
|
|
5450
|
-
align-items: center; /* align vertical center */
|
|
5451
|
-
background: white;
|
|
5452
|
-
text-align: center;
|
|
5453
|
-
display: flex;
|
|
5454
|
-
flex-direction: column;
|
|
5455
|
-
min-height: 0px;
|
|
5456
|
-
}
|
|
5457
|
-
`]
|
|
5458
|
-
}]
|
|
5186
|
+
`, 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"] }]
|
|
5459
5187
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { projectName: [{
|
|
5460
5188
|
type: Input
|
|
5461
5189
|
}], promptItem: [{
|
|
@@ -5503,8 +5231,8 @@ class Prompting {
|
|
|
5503
5231
|
this.onPrevItem.emit();
|
|
5504
5232
|
}
|
|
5505
5233
|
}
|
|
5506
|
-
Prompting.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5507
|
-
Prompting.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
5234
|
+
Prompting.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: Prompting, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5235
|
+
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: `
|
|
5508
5236
|
|
|
5509
5237
|
<app-simpletrafficlight [status]="startStopSignalState"></app-simpletrafficlight>
|
|
5510
5238
|
<app-sprpromptingcontainer [projectName]="projectName" [promptItem]="promptItem" [showPrompt]="showPrompt"
|
|
@@ -5526,12 +5254,10 @@ Prompting.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13
|
|
|
5526
5254
|
|
|
5527
5255
|
|
|
5528
5256
|
|
|
5529
|
-
`, 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"],
|
|
5530
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5257
|
+
`, 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"] }] });
|
|
5258
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: Prompting, decorators: [{
|
|
5531
5259
|
type: Component,
|
|
5532
|
-
args: [{
|
|
5533
|
-
selector: 'app-sprprompting',
|
|
5534
|
-
template: `
|
|
5260
|
+
args: [{ selector: 'app-sprprompting', template: `
|
|
5535
5261
|
|
|
5536
5262
|
<app-simpletrafficlight [status]="startStopSignalState"></app-simpletrafficlight>
|
|
5537
5263
|
<app-sprpromptingcontainer [projectName]="projectName" [promptItem]="promptItem" [showPrompt]="showPrompt"
|
|
@@ -5553,72 +5279,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
5553
5279
|
|
|
5554
5280
|
|
|
5555
5281
|
|
|
5556
|
-
`,
|
|
5557
|
-
styles: [`:host {
|
|
5558
|
-
position: relative;
|
|
5559
|
-
margin: 0;
|
|
5560
|
-
padding: 0;
|
|
5561
|
-
background: lightgrey;
|
|
5562
|
-
width: 100%; /* use all horizontal available space */
|
|
5563
|
-
flex: 1; /* ... and fill rest of vertical available space (other components have flex 0) */
|
|
5564
|
-
|
|
5565
|
-
/* Workaround for Firefox
|
|
5566
|
-
If the progress table gets long (script with many items) FF increases the height of the overflow progressContainer and
|
|
5567
|
-
the whole app does not fit into the page anymore. The app overflows and shows a vertical scrollbar for the whole app.
|
|
5568
|
-
See http://stackoverflow.com/questions/28636832/firefox-overflow-y-not-working-with-nested-flexbox
|
|
5569
|
-
*/
|
|
5570
|
-
min-height: 0px;
|
|
5571
|
-
|
|
5572
|
-
display: flex; /* flex container: left traffic light, right prompter (container) */
|
|
5573
|
-
flex-direction: row;
|
|
5574
|
-
flex-wrap: nowrap; /* wrap could completely destroy the layout */
|
|
5575
|
-
}`, `
|
|
5576
|
-
app-simpletrafficlight {
|
|
5577
|
-
margin: 10px;
|
|
5578
|
-
min-height: 0px;
|
|
5579
|
-
z-index: 3;
|
|
5580
|
-
}
|
|
5581
|
-
`, `
|
|
5582
|
-
app-sprprogress {
|
|
5583
|
-
z-index: 3;
|
|
5584
|
-
}
|
|
5585
|
-
`, `
|
|
5586
|
-
div {
|
|
5587
|
-
display: none;
|
|
5588
|
-
position: absolute;
|
|
5589
|
-
|
|
5590
|
-
|
|
5591
|
-
/* height: 50%; */
|
|
5592
|
-
/* width: 100%; */
|
|
5593
|
-
|
|
5594
|
-
/* overflow: hidden; */
|
|
5595
|
-
|
|
5596
|
-
/* margin: 20px; */
|
|
5597
|
-
/* border: 20px; */
|
|
5598
|
-
z-index: 5;
|
|
5599
|
-
/*background-color: red; */
|
|
5600
|
-
}`, `
|
|
5601
|
-
div.active {
|
|
5602
|
-
display: flex;
|
|
5603
|
-
position: absolute;
|
|
5604
|
-
bottom: 0px;
|
|
5605
|
-
/*left: 0px; */
|
|
5606
|
-
|
|
5607
|
-
height: 90%;
|
|
5608
|
-
width: 100%;
|
|
5609
|
-
|
|
5610
|
-
overflow: hidden;
|
|
5611
|
-
|
|
5612
|
-
padding: 0px;
|
|
5613
|
-
/* margin: 20px; */
|
|
5614
|
-
/* border: 20px; */
|
|
5615
|
-
z-index: 5;
|
|
5616
|
-
box-sizing: border-box;
|
|
5617
|
-
background-color: rgba(0, 0, 0, 0)
|
|
5618
|
-
|
|
5619
|
-
}`
|
|
5620
|
-
]
|
|
5621
|
-
}]
|
|
5282
|
+
`, 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"] }]
|
|
5622
5283
|
}], propDecorators: { simpleTrafficLight: [{
|
|
5623
5284
|
type: ViewChild,
|
|
5624
5285
|
args: [SimpleTrafficLight, { static: true }]
|
|
@@ -5670,8 +5331,8 @@ class SessionFinishedDialog {
|
|
|
5670
5331
|
this.dialogRef.close();
|
|
5671
5332
|
}
|
|
5672
5333
|
}
|
|
5673
|
-
SessionFinishedDialog.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5674
|
-
SessionFinishedDialog.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
5334
|
+
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 });
|
|
5335
|
+
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>
|
|
5675
5336
|
<div mat-dialog-content>
|
|
5676
5337
|
|
|
5677
5338
|
<p>Thank you! The recording session is complete.</p>
|
|
@@ -5680,8 +5341,8 @@ SessionFinishedDialog.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
5680
5341
|
<div mat-dialog-actions>
|
|
5681
5342
|
<button mat-button (click)="closeDialog()">OK</button>
|
|
5682
5343
|
</div>
|
|
5683
|
-
`, isInline: true,
|
|
5684
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5344
|
+
`, 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"] }] });
|
|
5345
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SessionFinishedDialog, decorators: [{
|
|
5685
5346
|
type: Component,
|
|
5686
5347
|
args: [{
|
|
5687
5348
|
selector: 'spr-session-finished-dialog',
|
|
@@ -5697,7 +5358,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
5697
5358
|
`
|
|
5698
5359
|
}]
|
|
5699
5360
|
}], ctorParameters: function () {
|
|
5700
|
-
return [{ type: i1$
|
|
5361
|
+
return [{ type: i1$4.MatDialogRef }, { type: undefined, decorators: [{
|
|
5701
5362
|
type: Inject,
|
|
5702
5363
|
args: [MAT_DIALOG_DATA]
|
|
5703
5364
|
}] }];
|
|
@@ -5712,8 +5373,8 @@ class MessageDialog {
|
|
|
5712
5373
|
this.dialogRef.close();
|
|
5713
5374
|
}
|
|
5714
5375
|
}
|
|
5715
|
-
MessageDialog.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5716
|
-
MessageDialog.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
5376
|
+
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 });
|
|
5377
|
+
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>
|
|
5717
5378
|
<mat-icon *ngIf="data.type==='warning'" [style.color]="'yellow'">warning</mat-icon>{{data.title}}</h1>
|
|
5718
5379
|
<div mat-dialog-content>
|
|
5719
5380
|
|
|
@@ -5724,8 +5385,8 @@ MessageDialog.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
|
5724
5385
|
<div mat-dialog-actions>
|
|
5725
5386
|
<button mat-button (click)="closeDialog()">OK</button>
|
|
5726
5387
|
</div>
|
|
5727
|
-
`, isInline: true,
|
|
5728
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5388
|
+
`, 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"] }] });
|
|
5389
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: MessageDialog, decorators: [{
|
|
5729
5390
|
type: Component,
|
|
5730
5391
|
args: [{
|
|
5731
5392
|
selector: 'msg-dialog',
|
|
@@ -5743,7 +5404,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
5743
5404
|
`
|
|
5744
5405
|
}]
|
|
5745
5406
|
}], ctorParameters: function () {
|
|
5746
|
-
return [{ type: i1$
|
|
5407
|
+
return [{ type: i1$4.MatDialogRef }, { type: undefined, decorators: [{
|
|
5747
5408
|
type: Inject,
|
|
5748
5409
|
args: [MAT_DIALOG_DATA]
|
|
5749
5410
|
}] }];
|
|
@@ -5833,13 +5494,14 @@ class LevelBar {
|
|
|
5833
5494
|
}
|
|
5834
5495
|
}
|
|
5835
5496
|
set displayLevelInfos(levelInfos) {
|
|
5836
|
-
this._staticLevelInfos = levelInfos;
|
|
5837
5497
|
if (levelInfos) {
|
|
5498
|
+
this._staticLevelInfos = levelInfos;
|
|
5838
5499
|
this.dbValues = levelInfos.bufferLevelInfos.map((li) => {
|
|
5839
5500
|
return li.powerLevelsDB();
|
|
5840
5501
|
});
|
|
5841
5502
|
}
|
|
5842
5503
|
else {
|
|
5504
|
+
this._staticLevelInfos = null;
|
|
5843
5505
|
this.dbValues = new Array();
|
|
5844
5506
|
}
|
|
5845
5507
|
this.layoutStatic();
|
|
@@ -6065,48 +5727,21 @@ class LevelBar {
|
|
|
6065
5727
|
}
|
|
6066
5728
|
}
|
|
6067
5729
|
}
|
|
6068
|
-
LevelBar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6069
|
-
LevelBar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
5730
|
+
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 });
|
|
5731
|
+
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: `
|
|
6070
5732
|
<div #virtualCanvas>
|
|
6071
5733
|
<canvas #levelbar></canvas>
|
|
6072
5734
|
<canvas #markerCanvas></canvas>
|
|
6073
5735
|
</div>
|
|
6074
5736
|
`, 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"] });
|
|
6075
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5737
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LevelBar, decorators: [{
|
|
6076
5738
|
type: Component,
|
|
6077
|
-
args: [{
|
|
6078
|
-
selector: 'audio-levelbar',
|
|
6079
|
-
template: `
|
|
5739
|
+
args: [{ selector: 'audio-levelbar', template: `
|
|
6080
5740
|
<div #virtualCanvas>
|
|
6081
5741
|
<canvas #levelbar></canvas>
|
|
6082
5742
|
<canvas #markerCanvas></canvas>
|
|
6083
5743
|
</div>
|
|
6084
|
-
`,
|
|
6085
|
-
styles: [`:host {
|
|
6086
|
-
|
|
6087
|
-
width: 100%;
|
|
6088
|
-
background: darkgray;
|
|
6089
|
-
box-sizing: border-box;
|
|
6090
|
-
height: 100%;
|
|
6091
|
-
position: relative;
|
|
6092
|
-
overflow-x: scroll;
|
|
6093
|
-
overflow-y: auto;
|
|
6094
|
-
}`, `div {
|
|
6095
|
-
top: 0;
|
|
6096
|
-
left: 0;
|
|
6097
|
-
width: 100%;
|
|
6098
|
-
height: 100%;
|
|
6099
|
-
|
|
6100
|
-
/*position: absolute;*/
|
|
6101
|
-
box-sizing: border-box;
|
|
6102
|
-
}`, `canvas {
|
|
6103
|
-
top: 0;
|
|
6104
|
-
left: 0;
|
|
6105
|
-
width: 100%;
|
|
6106
|
-
height: 100%;
|
|
6107
|
-
position: absolute;
|
|
6108
|
-
}`]
|
|
6109
|
-
}]
|
|
5744
|
+
`, 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"] }]
|
|
6110
5745
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { virtualCanvasRef: [{
|
|
6111
5746
|
type: ViewChild,
|
|
6112
5747
|
args: ['virtualCanvas', { static: true }]
|
|
@@ -6135,44 +5770,21 @@ class StatusDisplay {
|
|
|
6135
5770
|
this.statusWaiting = false;
|
|
6136
5771
|
}
|
|
6137
5772
|
}
|
|
6138
|
-
StatusDisplay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6139
|
-
StatusDisplay.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
5773
|
+
StatusDisplay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: StatusDisplay, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5774
|
+
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: `
|
|
6140
5775
|
<p matTooltip="Status">
|
|
6141
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>
|
|
6142
5777
|
{{statusMsg}}
|
|
6143
5778
|
</p>
|
|
6144
|
-
`, 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"],
|
|
6145
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5779
|
+
`, 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"] }] });
|
|
5780
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: StatusDisplay, decorators: [{
|
|
6146
5781
|
type: Component,
|
|
6147
|
-
args: [{
|
|
6148
|
-
selector: 'app-sprstatusdisplay',
|
|
6149
|
-
template: `
|
|
5782
|
+
args: [{ selector: 'app-sprstatusdisplay', template: `
|
|
6150
5783
|
<p matTooltip="Status">
|
|
6151
5784
|
<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>
|
|
6152
5785
|
{{statusMsg}}
|
|
6153
5786
|
</p>
|
|
6154
|
-
`,
|
|
6155
|
-
styles: [`:host {
|
|
6156
|
-
display: inline;
|
|
6157
|
-
text-align: left;
|
|
6158
|
-
font-size: smaller;
|
|
6159
|
-
}`, `
|
|
6160
|
-
p {
|
|
6161
|
-
padding: 4px;
|
|
6162
|
-
white-space:nowrap;
|
|
6163
|
-
display: inline-block;
|
|
6164
|
-
}
|
|
6165
|
-
`, `
|
|
6166
|
-
mat-progress-spinner {
|
|
6167
|
-
color: black;
|
|
6168
|
-
display: inline-block;
|
|
6169
|
-
}
|
|
6170
|
-
`, `
|
|
6171
|
-
span {
|
|
6172
|
-
color: red;
|
|
6173
|
-
}
|
|
6174
|
-
`]
|
|
6175
|
-
}]
|
|
5787
|
+
`, 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"] }]
|
|
6176
5788
|
}], propDecorators: { statusAlertType: [{
|
|
6177
5789
|
type: Input
|
|
6178
5790
|
}], statusMsg: [{
|
|
@@ -6227,26 +5839,15 @@ class UploadStatus {
|
|
|
6227
5839
|
return this._status;
|
|
6228
5840
|
}
|
|
6229
5841
|
}
|
|
6230
|
-
UploadStatus.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6231
|
-
UploadStatus.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
5842
|
+
UploadStatus.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: UploadStatus, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5843
|
+
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: `
|
|
6232
5844
|
<mat-progress-spinner [mode]="spinnerMode" [color]="status" [diameter]="30" [strokeWidth]="5" [value]="_value" [matTooltip]="toolTipText"></mat-progress-spinner>
|
|
6233
|
-
`, isInline: true, styles: [":host{flex:1;text-align:left}\n", "mat-progress-spinner{display:inline-block}\n"],
|
|
6234
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5845
|
+
`, 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"] }] });
|
|
5846
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: UploadStatus, decorators: [{
|
|
6235
5847
|
type: Component,
|
|
6236
|
-
args: [{
|
|
6237
|
-
selector: 'app-uploadstatus',
|
|
6238
|
-
template: `
|
|
5848
|
+
args: [{ selector: 'app-uploadstatus', template: `
|
|
6239
5849
|
<mat-progress-spinner [mode]="spinnerMode" [color]="status" [diameter]="30" [strokeWidth]="5" [value]="_value" [matTooltip]="toolTipText"></mat-progress-spinner>
|
|
6240
|
-
`,
|
|
6241
|
-
styles: [`:host {
|
|
6242
|
-
flex: 1;
|
|
6243
|
-
/* align-self: flex-start; */
|
|
6244
|
-
/*display: inline; */
|
|
6245
|
-
text-align: left;
|
|
6246
|
-
}`, `mat-progress-spinner{
|
|
6247
|
-
display: inline-block;
|
|
6248
|
-
}`]
|
|
6249
|
-
}]
|
|
5850
|
+
`, styles: [":host{flex:1;text-align:left}\n", "mat-progress-spinner{display:inline-block}\n"] }]
|
|
6250
5851
|
}], propDecorators: { value: [{
|
|
6251
5852
|
type: Input
|
|
6252
5853
|
}], awaitNewUpload: [{
|
|
@@ -6259,25 +5860,15 @@ class ProgressDisplay {
|
|
|
6259
5860
|
this.progressMsg = '[itemcode]';
|
|
6260
5861
|
}
|
|
6261
5862
|
}
|
|
6262
|
-
ProgressDisplay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6263
|
-
ProgressDisplay.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
5863
|
+
ProgressDisplay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ProgressDisplay, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5864
|
+
ProgressDisplay.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: ProgressDisplay, selector: "app-sprprogressdisplay", ngImport: i0, template: `
|
|
6264
5865
|
<p>{{progressMsg}}</p>
|
|
6265
5866
|
`, isInline: true, styles: [":host{flex:1;width:100%;text-align:left}\n"] });
|
|
6266
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5867
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ProgressDisplay, decorators: [{
|
|
6267
5868
|
type: Component,
|
|
6268
|
-
args: [{
|
|
6269
|
-
selector: 'app-sprprogressdisplay',
|
|
6270
|
-
template: `
|
|
5869
|
+
args: [{ selector: 'app-sprprogressdisplay', template: `
|
|
6271
5870
|
<p>{{progressMsg}}</p>
|
|
6272
|
-
`,
|
|
6273
|
-
styles: [`:host {
|
|
6274
|
-
flex: 1;
|
|
6275
|
-
/* align-self: flex-start; */
|
|
6276
|
-
/*display: inline; */
|
|
6277
|
-
width: 100%;
|
|
6278
|
-
text-align: left;
|
|
6279
|
-
}`]
|
|
6280
|
-
}]
|
|
5871
|
+
`, styles: [":host{flex:1;width:100%;text-align:left}\n"] }]
|
|
6281
5872
|
}] });
|
|
6282
5873
|
class TransportActions {
|
|
6283
5874
|
constructor() {
|
|
@@ -6363,8 +5954,8 @@ class TransportPanel {
|
|
|
6363
5954
|
}
|
|
6364
5955
|
}
|
|
6365
5956
|
}
|
|
6366
|
-
TransportPanel.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6367
|
-
TransportPanel.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
5957
|
+
TransportPanel.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TransportPanel, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5958
|
+
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: `
|
|
6368
5959
|
<button id="bwdBtn" *ngIf="navigationEnabled" (click)="actions.bwdAction.perform()" [disabled]="bwdDisabled()"
|
|
6369
5960
|
mat-raised-button>
|
|
6370
5961
|
<mat-icon>chevron_left</mat-icon>
|
|
@@ -6384,12 +5975,10 @@ TransportPanel.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version
|
|
|
6384
5975
|
<mat-icon>chevron_right</mat-icon>
|
|
6385
5976
|
</button>
|
|
6386
5977
|
|
|
6387
|
-
`, 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"],
|
|
6388
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5978
|
+
`, 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"] }] });
|
|
5979
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TransportPanel, decorators: [{
|
|
6389
5980
|
type: Component,
|
|
6390
|
-
args: [{
|
|
6391
|
-
selector: 'app-sprtransport',
|
|
6392
|
-
template: `
|
|
5981
|
+
args: [{ selector: 'app-sprtransport', template: `
|
|
6393
5982
|
<button id="bwdBtn" *ngIf="navigationEnabled" (click)="actions.bwdAction.perform()" [disabled]="bwdDisabled()"
|
|
6394
5983
|
mat-raised-button>
|
|
6395
5984
|
<mat-icon>chevron_left</mat-icon>
|
|
@@ -6409,25 +5998,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
6409
5998
|
<mat-icon>chevron_right</mat-icon>
|
|
6410
5999
|
</button>
|
|
6411
6000
|
|
|
6412
|
-
`,
|
|
6413
|
-
styles: [`:host {
|
|
6414
|
-
flex: 20;
|
|
6415
|
-
align-self: center;
|
|
6416
|
-
width: 100%;
|
|
6417
|
-
text-align: center;
|
|
6418
|
-
align-content: center;
|
|
6419
|
-
margin: 0;
|
|
6420
|
-
|
|
6421
|
-
}`, `
|
|
6422
|
-
div {
|
|
6423
|
-
display: inline;
|
|
6424
|
-
flex: 0;
|
|
6425
|
-
}`, `
|
|
6426
|
-
button {
|
|
6427
|
-
touch-action: manipulation;
|
|
6428
|
-
}`
|
|
6429
|
-
]
|
|
6430
|
-
}]
|
|
6001
|
+
`, 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"] }]
|
|
6431
6002
|
}], propDecorators: { readonly: [{
|
|
6432
6003
|
type: Input
|
|
6433
6004
|
}], actions: [{
|
|
@@ -6445,19 +6016,15 @@ class WakeLockIndicator {
|
|
|
6445
6016
|
this._screenLocked = screenLock;
|
|
6446
6017
|
}
|
|
6447
6018
|
}
|
|
6448
|
-
WakeLockIndicator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6449
|
-
WakeLockIndicator.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
6019
|
+
WakeLockIndicator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: WakeLockIndicator, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6020
|
+
WakeLockIndicator.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: WakeLockIndicator, selector: "app-wakelockindicator", inputs: { screenLocked: "screenLocked" }, ngImport: i0, template: `
|
|
6450
6021
|
<mat-icon *ngIf="_screenLocked">screen_lock_portrait</mat-icon>
|
|
6451
|
-
`, isInline: true,
|
|
6452
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6022
|
+
`, 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"] }] });
|
|
6023
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: WakeLockIndicator, decorators: [{
|
|
6453
6024
|
type: Component,
|
|
6454
|
-
args: [{
|
|
6455
|
-
selector: 'app-wakelockindicator',
|
|
6456
|
-
template: `
|
|
6025
|
+
args: [{ selector: 'app-wakelockindicator', template: `
|
|
6457
6026
|
<mat-icon *ngIf="_screenLocked">screen_lock_portrait</mat-icon>
|
|
6458
|
-
|
|
6459
|
-
styles: []
|
|
6460
|
-
}]
|
|
6027
|
+
` }]
|
|
6461
6028
|
}], ctorParameters: function () { return []; }, propDecorators: { screenLocked: [{
|
|
6462
6029
|
type: Input
|
|
6463
6030
|
}] } });
|
|
@@ -6476,19 +6043,15 @@ class ReadyStateIndicator {
|
|
|
6476
6043
|
return this._ready;
|
|
6477
6044
|
}
|
|
6478
6045
|
}
|
|
6479
|
-
ReadyStateIndicator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6480
|
-
ReadyStateIndicator.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
6046
|
+
ReadyStateIndicator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ReadyStateIndicator, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6047
|
+
ReadyStateIndicator.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: ReadyStateIndicator, selector: "app-readystateindicator", inputs: { ready: "ready" }, ngImport: i0, template: `
|
|
6481
6048
|
<mat-icon [matTooltip]="readyStateToolTip">{{hourGlassIconName}}</mat-icon>
|
|
6482
|
-
`, isInline: true,
|
|
6483
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6049
|
+
`, 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"] }] });
|
|
6050
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ReadyStateIndicator, decorators: [{
|
|
6484
6051
|
type: Component,
|
|
6485
|
-
args: [{
|
|
6486
|
-
selector: 'app-readystateindicator',
|
|
6487
|
-
template: `
|
|
6052
|
+
args: [{ selector: 'app-readystateindicator', template: `
|
|
6488
6053
|
<mat-icon [matTooltip]="readyStateToolTip">{{hourGlassIconName}}</mat-icon>
|
|
6489
|
-
|
|
6490
|
-
styles: []
|
|
6491
|
-
}]
|
|
6054
|
+
` }]
|
|
6492
6055
|
}], ctorParameters: function () { return []; }, propDecorators: { ready: [{
|
|
6493
6056
|
type: Input
|
|
6494
6057
|
}] } });
|
|
@@ -6506,8 +6069,8 @@ class ControlPanel {
|
|
|
6506
6069
|
return this._ready;
|
|
6507
6070
|
}
|
|
6508
6071
|
}
|
|
6509
|
-
ControlPanel.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6510
|
-
ControlPanel.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
6072
|
+
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 });
|
|
6073
|
+
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: `
|
|
6511
6074
|
<div fxHide.xs fxLayout="row" >
|
|
6512
6075
|
<app-sprstatusdisplay fxFlex="0 0 0" [statusMsg]="statusMsg" [statusAlertType]="statusAlertType" [statusWaiting]="statusWaiting"
|
|
6513
6076
|
class="hidden-xs"></app-sprstatusdisplay>
|
|
@@ -6527,12 +6090,10 @@ ControlPanel.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
|
6527
6090
|
<app-sprtransport [readonly]="readonly" [actions]="transportActions" [navigationEnabled]="navigationEnabled"></app-sprtransport>
|
|
6528
6091
|
|
|
6529
6092
|
</div>
|
|
6530
|
-
`, isInline: true, styles: ["div{align-content:center;align-items:center;margin:0;padding:20px;min-height:min-content}\n"],
|
|
6531
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6093
|
+
`, 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"] }] });
|
|
6094
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ControlPanel, decorators: [{
|
|
6532
6095
|
type: Component,
|
|
6533
|
-
args: [{
|
|
6534
|
-
selector: 'app-sprcontrolpanel',
|
|
6535
|
-
template: `
|
|
6096
|
+
args: [{ selector: 'app-sprcontrolpanel', template: `
|
|
6536
6097
|
<div fxHide.xs fxLayout="row" >
|
|
6537
6098
|
<app-sprstatusdisplay fxFlex="0 0 0" [statusMsg]="statusMsg" [statusAlertType]="statusAlertType" [statusWaiting]="statusWaiting"
|
|
6538
6099
|
class="hidden-xs"></app-sprstatusdisplay>
|
|
@@ -6552,16 +6113,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
6552
6113
|
<app-sprtransport [readonly]="readonly" [actions]="transportActions" [navigationEnabled]="navigationEnabled"></app-sprtransport>
|
|
6553
6114
|
|
|
6554
6115
|
</div>
|
|
6555
|
-
`,
|
|
6556
|
-
|
|
6557
|
-
align-content: center;
|
|
6558
|
-
align-items: center;
|
|
6559
|
-
margin: 0;
|
|
6560
|
-
padding: 20px;
|
|
6561
|
-
min-height: min-content; /* important */
|
|
6562
|
-
}`]
|
|
6563
|
-
}]
|
|
6564
|
-
}], ctorParameters: function () { return [{ type: i1$2.MatDialog }]; }, propDecorators: { statusDisplay: [{
|
|
6116
|
+
`, styles: ["div{align-content:center;align-items:center;margin:0;padding:20px;min-height:min-content}\n"] }]
|
|
6117
|
+
}], ctorParameters: function () { return [{ type: i1$4.MatDialog }]; }, propDecorators: { statusDisplay: [{
|
|
6565
6118
|
type: ViewChild,
|
|
6566
6119
|
args: [StatusDisplay, { static: true }]
|
|
6567
6120
|
}], transportPanel: [{
|
|
@@ -7002,8 +6555,8 @@ class RecordingItemControls {
|
|
|
7002
6555
|
// this.status = 'ERROR';
|
|
7003
6556
|
}
|
|
7004
6557
|
}
|
|
7005
|
-
RecordingItemControls.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7006
|
-
RecordingItemControls.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
6558
|
+
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 });
|
|
6559
|
+
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: `
|
|
7007
6560
|
<button matTooltip="Start playback" (click)="playStartAction?.perform()"
|
|
7008
6561
|
[disabled]="playStartAction?.disabled"
|
|
7009
6562
|
[style.color]="playStartAction?.disabled ? 'grey' : 'green'">
|
|
@@ -7025,12 +6578,10 @@ RecordingItemControls.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
7025
6578
|
<div style="min-width: 14ch;padding:2px"><table style="border-style: none"><tr><td>Peak:</td><td><span matTooltip="Peak level"
|
|
7026
6579
|
[style.color]="(peakDbLvl > warnDbLevel)?'red':'black'">{{peakDbLvl | number:'1.1-1'}} dB </span></td></tr>
|
|
7027
6580
|
<tr *ngIf="_agc"><td>AGC:</td><td><span matTooltip="Auto gain control">{{agcString}}</span></td></tr></table></div>
|
|
7028
|
-
`, 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"],
|
|
7029
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6581
|
+
`, 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" }] });
|
|
6582
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RecordingItemControls, decorators: [{
|
|
7030
6583
|
type: Component,
|
|
7031
|
-
args: [{
|
|
7032
|
-
selector: 'spr-recordingitemcontrols',
|
|
7033
|
-
template: `
|
|
6584
|
+
args: [{ selector: 'spr-recordingitemcontrols', template: `
|
|
7034
6585
|
<button matTooltip="Start playback" (click)="playStartAction?.perform()"
|
|
7035
6586
|
[disabled]="playStartAction?.disabled"
|
|
7036
6587
|
[style.color]="playStartAction?.disabled ? 'grey' : 'green'">
|
|
@@ -7052,29 +6603,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
7052
6603
|
<div style="min-width: 14ch;padding:2px"><table style="border-style: none"><tr><td>Peak:</td><td><span matTooltip="Peak level"
|
|
7053
6604
|
[style.color]="(peakDbLvl > warnDbLevel)?'red':'black'">{{peakDbLvl | number:'1.1-1'}} dB </span></td></tr>
|
|
7054
6605
|
<tr *ngIf="_agc"><td>AGC:</td><td><span matTooltip="Auto gain control">{{agcString}}</span></td></tr></table></div>
|
|
7055
|
-
`,
|
|
7056
|
-
styles: [`:host {
|
|
7057
|
-
flex: 0; /* only required vertical space */
|
|
7058
|
-
width: 100%;
|
|
7059
|
-
background: darkgray;
|
|
7060
|
-
padding: 4px;
|
|
7061
|
-
box-sizing: border-box;
|
|
7062
|
-
height: 100%;
|
|
7063
|
-
|
|
7064
|
-
display: flex; /* flex container: left level bar, right decimal peak level value */
|
|
7065
|
-
flex-direction: row;
|
|
7066
|
-
flex-wrap: nowrap; /* wrap could completely destroy the layout */
|
|
7067
|
-
}`, `span {
|
|
7068
|
-
flex: 0;
|
|
7069
|
-
font-weight: bold;
|
|
7070
|
-
display: inline-block;
|
|
7071
|
-
white-space: nowrap;
|
|
7072
|
-
box-sizing: border-box;
|
|
7073
|
-
}`, `
|
|
7074
|
-
button {
|
|
7075
|
-
touch-action: manipulation;
|
|
7076
|
-
}`]
|
|
7077
|
-
}]
|
|
6606
|
+
`, 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"] }]
|
|
7078
6607
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { audioSignalCollapsed: [{
|
|
7079
6608
|
type: Input
|
|
7080
6609
|
}], enableDownload: [{
|
|
@@ -7168,33 +6697,21 @@ class RecordingItemDisplay {
|
|
|
7168
6697
|
this.changeDetectorRef.detectChanges();
|
|
7169
6698
|
}
|
|
7170
6699
|
}
|
|
7171
|
-
RecordingItemDisplay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7172
|
-
RecordingItemDisplay.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
6700
|
+
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 });
|
|
6701
|
+
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: `
|
|
7173
6702
|
<div fxLayout="row" fxLayout.xs="column" [ngStyle]="{'height.px':100,'min-height.px': 100}" [ngStyle.xs]="{'height.px':125,'min-height.px': 125}">
|
|
7174
6703
|
<audio-levelbar fxFlex="1 0 1" [streamingMode]="streamingMode" [displayLevelInfos]="_displayLevelInfos"></audio-levelbar>
|
|
7175
6704
|
<spr-recordingitemcontrols fxFlex="0 0 0" [audioLoaded]="displayAudioBuffer!==null" [playStartAction]="playStartAction" [playStopAction]="playStopAction" [peakDbLvl]="peakDbLvl" [agc]="_agc" (onShowRecordingDetails)="onShowRecordingDetails.emit()"></spr-recordingitemcontrols>
|
|
7176
6705
|
</div>
|
|
7177
|
-
`, 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"],
|
|
7178
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6706
|
+
`, 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"] }] });
|
|
6707
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RecordingItemDisplay, decorators: [{
|
|
7179
6708
|
type: Component,
|
|
7180
|
-
args: [{
|
|
7181
|
-
selector: 'spr-recordingitemdisplay',
|
|
7182
|
-
template: `
|
|
6709
|
+
args: [{ selector: 'spr-recordingitemdisplay', template: `
|
|
7183
6710
|
<div fxLayout="row" fxLayout.xs="column" [ngStyle]="{'height.px':100,'min-height.px': 100}" [ngStyle.xs]="{'height.px':125,'min-height.px': 125}">
|
|
7184
6711
|
<audio-levelbar fxFlex="1 0 1" [streamingMode]="streamingMode" [displayLevelInfos]="_displayLevelInfos"></audio-levelbar>
|
|
7185
6712
|
<spr-recordingitemcontrols fxFlex="0 0 0" [audioLoaded]="displayAudioBuffer!==null" [playStartAction]="playStartAction" [playStopAction]="playStopAction" [peakDbLvl]="peakDbLvl" [agc]="_agc" (onShowRecordingDetails)="onShowRecordingDetails.emit()"></spr-recordingitemcontrols>
|
|
7186
6713
|
</div>
|
|
7187
|
-
`,
|
|
7188
|
-
styles: [`div {
|
|
7189
|
-
width: 100%;
|
|
7190
|
-
background: darkgray;
|
|
7191
|
-
padding: 4px;
|
|
7192
|
-
box-sizing: border-box;
|
|
7193
|
-
flex-wrap: nowrap; /* wrap could completely destroy the layout */
|
|
7194
|
-
}`, `audio-levelbar {
|
|
7195
|
-
box-sizing: border-box;
|
|
7196
|
-
}`]
|
|
7197
|
-
}]
|
|
6714
|
+
`, styles: ["div{width:100%;background:darkgray;padding:4px;box-sizing:border-box;flex-wrap:nowrap}\n", "audio-levelbar{box-sizing:border-box}\n"] }]
|
|
7198
6715
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { liveLevel: [{
|
|
7199
6716
|
type: ViewChild,
|
|
7200
6717
|
args: [LevelBar, { static: true }]
|
|
@@ -7542,7 +7059,6 @@ let BasicRecorder = class BasicRecorder {
|
|
|
7542
7059
|
this.uploadStatus = 'ok';
|
|
7543
7060
|
this.audioSignalCollapsed = true;
|
|
7544
7061
|
this.peakLevelInDb = MIN_DB_LEVEL;
|
|
7545
|
-
this.displayLevelInfos = null;
|
|
7546
7062
|
this.displayAudioClip = null;
|
|
7547
7063
|
this.audioFetchSubscription = null;
|
|
7548
7064
|
this.destroyed = false;
|
|
@@ -8160,9 +7676,9 @@ class RecordingService {
|
|
|
8160
7676
|
}
|
|
8161
7677
|
RecordingService.REC_API_CTX = 'recfile';
|
|
8162
7678
|
RecordingService.RECORDING_API_CTX = 'recordingfile';
|
|
8163
|
-
RecordingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8164
|
-
RecordingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
8165
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7679
|
+
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 });
|
|
7680
|
+
RecordingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RecordingService });
|
|
7681
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RecordingService, decorators: [{
|
|
8166
7682
|
type: Injectable
|
|
8167
7683
|
}], ctorParameters: function () {
|
|
8168
7684
|
return [{ type: i1.HttpClient }, { type: SpeechRecorderConfig, decorators: [{
|
|
@@ -8178,9 +7694,9 @@ class SpeechRecorderUploader extends Uploader {
|
|
|
8178
7694
|
this.config = config;
|
|
8179
7695
|
}
|
|
8180
7696
|
}
|
|
8181
|
-
SpeechRecorderUploader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8182
|
-
SpeechRecorderUploader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
8183
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7697
|
+
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 });
|
|
7698
|
+
SpeechRecorderUploader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SpeechRecorderUploader });
|
|
7699
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SpeechRecorderUploader, decorators: [{
|
|
8184
7700
|
type: Injectable
|
|
8185
7701
|
}], ctorParameters: function () {
|
|
8186
7702
|
return [{ type: i1.HttpClient }, { type: SpeechRecorderConfig, decorators: [{
|
|
@@ -8202,40 +7718,17 @@ class WarningBar {
|
|
|
8202
7718
|
}
|
|
8203
7719
|
}
|
|
8204
7720
|
}
|
|
8205
|
-
WarningBar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8206
|
-
WarningBar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
7721
|
+
WarningBar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: WarningBar, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
7722
|
+
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: `
|
|
8207
7723
|
<div [class]="displayClass">{{warningText}}</div>
|
|
8208
7724
|
|
|
8209
7725
|
`, 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"] });
|
|
8210
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7726
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: WarningBar, decorators: [{
|
|
8211
7727
|
type: Component,
|
|
8212
|
-
args: [{
|
|
8213
|
-
selector: 'app-warningbar',
|
|
8214
|
-
providers: [SessionService],
|
|
8215
|
-
template: `
|
|
7728
|
+
args: [{ selector: 'app-warningbar', providers: [SessionService], template: `
|
|
8216
7729
|
<div [class]="displayClass">{{warningText}}</div>
|
|
8217
7730
|
|
|
8218
|
-
`,
|
|
8219
|
-
styles: [`:host {
|
|
8220
|
-
|
|
8221
|
-
flex: 0 0 content;
|
|
8222
|
-
background: orange;
|
|
8223
|
-
|
|
8224
|
-
}`, `
|
|
8225
|
-
.off {
|
|
8226
|
-
display: none;
|
|
8227
|
-
}
|
|
8228
|
-
`, `
|
|
8229
|
-
.on {
|
|
8230
|
-
padding: 2px;
|
|
8231
|
-
display: inline-block;
|
|
8232
|
-
width: 100%;
|
|
8233
|
-
font-weight: bold;
|
|
8234
|
-
font-size: larger;
|
|
8235
|
-
text-align: center;
|
|
8236
|
-
}
|
|
8237
|
-
`]
|
|
8238
|
-
}]
|
|
7731
|
+
`, 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"] }]
|
|
8239
7732
|
}], propDecorators: { warningText: [{
|
|
8240
7733
|
type: Input
|
|
8241
7734
|
}], show: [{
|
|
@@ -8511,7 +8004,7 @@ class SessionManager extends BasicRecorder {
|
|
|
8511
8004
|
this.transportActions.fwdAction.disabled = true;
|
|
8512
8005
|
this.transportActions.fwdNextAction.disabled = true;
|
|
8513
8006
|
this.transportActions.bwdAction.disabled = true;
|
|
8514
|
-
this.
|
|
8007
|
+
this.updateDisplayRecFile(null);
|
|
8515
8008
|
this.displayRecFileVersion = 0;
|
|
8516
8009
|
this.displayAudioClip = null;
|
|
8517
8010
|
this.showRecording();
|
|
@@ -8613,8 +8106,13 @@ class SessionManager extends BasicRecorder {
|
|
|
8613
8106
|
}
|
|
8614
8107
|
}
|
|
8615
8108
|
}
|
|
8109
|
+
loadAndShowDisplayRecordingFile() {
|
|
8110
|
+
}
|
|
8616
8111
|
set displayRecFile(displayRecFile) {
|
|
8617
8112
|
this._displayRecFile = displayRecFile;
|
|
8113
|
+
}
|
|
8114
|
+
updateDisplayRecFile(displayRecFile, fetchAndApplyRecordingFile = true) {
|
|
8115
|
+
this.displayRecFile = displayRecFile;
|
|
8618
8116
|
if (this._displayRecFile) {
|
|
8619
8117
|
let ab = this._displayRecFile.audioBuffer;
|
|
8620
8118
|
if (ab) {
|
|
@@ -8625,31 +8123,36 @@ class SessionManager extends BasicRecorder {
|
|
|
8625
8123
|
// clear for now ...
|
|
8626
8124
|
this.displayAudioClip = null;
|
|
8627
8125
|
this.controlAudioPlayer.audioClip = null;
|
|
8628
|
-
if (
|
|
8629
|
-
|
|
8630
|
-
|
|
8631
|
-
|
|
8632
|
-
|
|
8633
|
-
fab =
|
|
8634
|
-
|
|
8635
|
-
|
|
8636
|
-
|
|
8126
|
+
if (fetchAndApplyRecordingFile) {
|
|
8127
|
+
if (this._controlAudioPlayer && this._session) {
|
|
8128
|
+
//... and try to fetch from server
|
|
8129
|
+
const dRf = this._displayRecFile;
|
|
8130
|
+
this.audioFetchSubscription = this.recFileService.fetchAndApplySprRecordingFile(this._controlAudioPlayer.context, this._session.project, dRf).subscribe((rf) => {
|
|
8131
|
+
let fab = null;
|
|
8132
|
+
if (rf) {
|
|
8133
|
+
fab = dRf.audioBuffer;
|
|
8134
|
+
}
|
|
8135
|
+
else {
|
|
8136
|
+
//console.debug("Recording file could not be loaded. rf: "+rf+", _displayRecFile: "+this._displayRecFile+", dRf: "+dRf);
|
|
8137
|
+
this.statusMsg = 'Recording file could not be loaded.';
|
|
8138
|
+
this.statusAlertType = 'error';
|
|
8139
|
+
}
|
|
8140
|
+
if (fab) {
|
|
8141
|
+
// TODO Async will set the previous file with autorecording
|
|
8142
|
+
this.displayAudioClip = new AudioClip(fab);
|
|
8143
|
+
}
|
|
8144
|
+
this.controlAudioPlayer.audioClip = this.displayAudioClip;
|
|
8145
|
+
this.showRecording();
|
|
8146
|
+
}, err => {
|
|
8147
|
+
console.error("Could not load recording file from server: " + err);
|
|
8148
|
+
this.statusMsg = 'Recording file could not be loaded: ' + err;
|
|
8637
8149
|
this.statusAlertType = 'error';
|
|
8638
|
-
}
|
|
8639
|
-
|
|
8640
|
-
|
|
8641
|
-
|
|
8642
|
-
this.controlAudioPlayer.audioClip = this.displayAudioClip;
|
|
8643
|
-
this.showRecording();
|
|
8644
|
-
}, err => {
|
|
8645
|
-
console.error("Could not load recording file from server: " + err);
|
|
8646
|
-
this.statusMsg = 'Recording file could not be loaded: ' + err;
|
|
8150
|
+
});
|
|
8151
|
+
}
|
|
8152
|
+
else {
|
|
8153
|
+
this.statusMsg = 'Recording file could not be decoded. Audio context unavailable.';
|
|
8647
8154
|
this.statusAlertType = 'error';
|
|
8648
|
-
}
|
|
8649
|
-
}
|
|
8650
|
-
else {
|
|
8651
|
-
this.statusMsg = 'Recording file could not be decoded. Audio context unavailable.';
|
|
8652
|
-
this.statusAlertType = 'error';
|
|
8155
|
+
}
|
|
8653
8156
|
}
|
|
8654
8157
|
}
|
|
8655
8158
|
}
|
|
@@ -8664,17 +8167,14 @@ class SessionManager extends BasicRecorder {
|
|
|
8664
8167
|
showRecording() {
|
|
8665
8168
|
this.controlAudioPlayer.stop();
|
|
8666
8169
|
if (this.displayAudioClip) {
|
|
8667
|
-
this.
|
|
8668
|
-
|
|
8170
|
+
let dap = this.displayAudioClip;
|
|
8171
|
+
this.levelMeasure.calcBufferLevelInfos(dap.buffer, LEVEL_BAR_INTERVALL_SECONDS).then((levelInfos) => {
|
|
8172
|
+
dap.levelInfos = levelInfos;
|
|
8669
8173
|
this.changeDetectorRef.detectChanges();
|
|
8670
8174
|
});
|
|
8671
8175
|
this.playStartAction.disabled = false;
|
|
8672
8176
|
}
|
|
8673
8177
|
else {
|
|
8674
|
-
// TODO
|
|
8675
|
-
// Setting to null does not trigger a change if it was null before (happens after nextitem() in AUTOPROGRESS mode)
|
|
8676
|
-
// The level bar display does not clear, it shows the last captured stream
|
|
8677
|
-
this.displayLevelInfos = null;
|
|
8678
8178
|
this.playStartAction.disabled = true;
|
|
8679
8179
|
// Collapse audio signal display if open
|
|
8680
8180
|
if (!this.audioSignalCollapsed) {
|
|
@@ -8703,6 +8203,8 @@ class SessionManager extends BasicRecorder {
|
|
|
8703
8203
|
this.applyPrompt();
|
|
8704
8204
|
}
|
|
8705
8205
|
if (isNonrecording) {
|
|
8206
|
+
this.updateDisplayRecFile(null);
|
|
8207
|
+
this.displayRecFileVersion = 0;
|
|
8706
8208
|
this.startStopSignalState = 4 /* OFF */;
|
|
8707
8209
|
}
|
|
8708
8210
|
else {
|
|
@@ -8716,21 +8218,21 @@ class SessionManager extends BasicRecorder {
|
|
|
8716
8218
|
if (availRecfiles > 0) {
|
|
8717
8219
|
let rfVers = availRecfiles - 1;
|
|
8718
8220
|
recentRecFile = it.recs[rfVers];
|
|
8719
|
-
this.
|
|
8221
|
+
this.updateDisplayRecFile(recentRecFile, !temporary);
|
|
8720
8222
|
this.displayRecFileVersion = rfVers;
|
|
8721
8223
|
}
|
|
8722
8224
|
else {
|
|
8723
|
-
this.
|
|
8225
|
+
this.updateDisplayRecFile(null);
|
|
8724
8226
|
this.displayRecFileVersion = 0;
|
|
8725
8227
|
}
|
|
8726
8228
|
}
|
|
8727
|
-
if (!temporary) {
|
|
8728
|
-
this.showRecording();
|
|
8729
|
-
}
|
|
8730
8229
|
if (!this.readonly) {
|
|
8731
8230
|
this.startStopSignalState = 0 /* IDLE */;
|
|
8732
8231
|
}
|
|
8733
8232
|
}
|
|
8233
|
+
if (!temporary) {
|
|
8234
|
+
this.showRecording();
|
|
8235
|
+
}
|
|
8734
8236
|
this.updateStartActionDisableState();
|
|
8735
8237
|
this.updateNavigationActions();
|
|
8736
8238
|
}
|
|
@@ -8897,12 +8399,16 @@ class SessionManager extends BasicRecorder {
|
|
|
8897
8399
|
this.transportActions.stopAction.disabled = true;
|
|
8898
8400
|
this.transportActions.nextAction.disabled = true;
|
|
8899
8401
|
this.transportActions.pauseAction.disabled = true;
|
|
8900
|
-
this.
|
|
8901
|
-
|
|
8902
|
-
|
|
8903
|
-
this.
|
|
8904
|
-
|
|
8905
|
-
|
|
8402
|
+
if (this.postRecTimerRunning) {
|
|
8403
|
+
}
|
|
8404
|
+
else {
|
|
8405
|
+
this.postRecTimerId = window.setTimeout(() => {
|
|
8406
|
+
this.postRecTimerRunning = false;
|
|
8407
|
+
this.status = 8 /* STOPPING_PAUSE */;
|
|
8408
|
+
this.stopRecording();
|
|
8409
|
+
}, this.postDelay);
|
|
8410
|
+
this.postRecTimerRunning = true;
|
|
8411
|
+
}
|
|
8906
8412
|
}
|
|
8907
8413
|
stopRecording() {
|
|
8908
8414
|
if (this.maxRecTimerRunning) {
|
|
@@ -9052,6 +8558,7 @@ class SessionManager extends BasicRecorder {
|
|
|
9052
8558
|
}
|
|
9053
8559
|
}
|
|
9054
8560
|
// apply recorded item
|
|
8561
|
+
console.debug("Apply item: startNext: " + startNext);
|
|
9055
8562
|
this.applyItem(startNext);
|
|
9056
8563
|
if (startNext) {
|
|
9057
8564
|
this.startItem();
|
|
@@ -9109,8 +8616,8 @@ class SessionManager extends BasicRecorder {
|
|
|
9109
8616
|
}
|
|
9110
8617
|
}
|
|
9111
8618
|
}
|
|
9112
|
-
SessionManager.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9113
|
-
SessionManager.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
8619
|
+
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 });
|
|
8620
|
+
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: `
|
|
9114
8621
|
<app-warningbar [show]="isTestSession()" warningText="Test recording only!"></app-warningbar>
|
|
9115
8622
|
<app-warningbar [show]="isDefaultAudioTestSession()" warningText="This test uses default audio device! Regular sessions may require a particular audio device (microphone)!"></app-warningbar>
|
|
9116
8623
|
<app-sprprompting [projectName]="projectName"
|
|
@@ -9129,7 +8636,7 @@ SessionManager.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version
|
|
|
9129
8636
|
|
|
9130
8637
|
|
|
9131
8638
|
<div fxLayout="row" fxLayout.xs="column" [ngStyle]="{'height.px':100,'min-height.px': 100}" [ngStyle.xs]="{'height.px':125,'min-height.px': 125}">
|
|
9132
|
-
<audio-levelbar fxFlex="1 0 1" [streamingMode]="isRecording()" [displayLevelInfos]="
|
|
8639
|
+
<audio-levelbar fxFlex="1 0 1" [streamingMode]="isRecording()" [displayLevelInfos]="displayAudioClip?.levelInfos"></audio-levelbar>
|
|
9133
8640
|
<div fxLayout="row">
|
|
9134
8641
|
<spr-recordingitemcontrols fxFlex="10 0 1"
|
|
9135
8642
|
[audioLoaded]="displayAudioClip?.buffer!==null"
|
|
@@ -9158,13 +8665,10 @@ SessionManager.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version
|
|
|
9158
8665
|
<app-readystateindicator class="ricontrols" fxLayoutAlign="end center" fxHide.xs [ready]="dataSaved && !isActive()"></app-readystateindicator>
|
|
9159
8666
|
</div>
|
|
9160
8667
|
</div>
|
|
9161
|
-
`, 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"],
|
|
9162
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8668
|
+
`, 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"] }] });
|
|
8669
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SessionManager, decorators: [{
|
|
9163
8670
|
type: Component,
|
|
9164
|
-
args: [{
|
|
9165
|
-
selector: 'app-sprrecordingsession',
|
|
9166
|
-
providers: [SessionService],
|
|
9167
|
-
template: `
|
|
8671
|
+
args: [{ selector: 'app-sprrecordingsession', providers: [SessionService], template: `
|
|
9168
8672
|
<app-warningbar [show]="isTestSession()" warningText="Test recording only!"></app-warningbar>
|
|
9169
8673
|
<app-warningbar [show]="isDefaultAudioTestSession()" warningText="This test uses default audio device! Regular sessions may require a particular audio device (microphone)!"></app-warningbar>
|
|
9170
8674
|
<app-sprprompting [projectName]="projectName"
|
|
@@ -9183,7 +8687,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
9183
8687
|
|
|
9184
8688
|
|
|
9185
8689
|
<div fxLayout="row" fxLayout.xs="column" [ngStyle]="{'height.px':100,'min-height.px': 100}" [ngStyle.xs]="{'height.px':125,'min-height.px': 125}">
|
|
9186
|
-
<audio-levelbar fxFlex="1 0 1" [streamingMode]="isRecording()" [displayLevelInfos]="
|
|
8690
|
+
<audio-levelbar fxFlex="1 0 1" [streamingMode]="isRecording()" [displayLevelInfos]="displayAudioClip?.levelInfos"></audio-levelbar>
|
|
9187
8691
|
<div fxLayout="row">
|
|
9188
8692
|
<spr-recordingitemcontrols fxFlex="10 0 1"
|
|
9189
8693
|
[audioLoaded]="displayAudioClip?.buffer!==null"
|
|
@@ -9212,34 +8716,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
9212
8716
|
<app-readystateindicator class="ricontrols" fxLayoutAlign="end center" fxHide.xs [ready]="dataSaved && !isActive()"></app-readystateindicator>
|
|
9213
8717
|
</div>
|
|
9214
8718
|
</div>
|
|
9215
|
-
`,
|
|
9216
|
-
styles: [`:host {
|
|
9217
|
-
flex: 2;
|
|
9218
|
-
background: lightgrey;
|
|
9219
|
-
display: flex; /* Vertical flex container: Bottom transport panel, above prompting panel */
|
|
9220
|
-
flex-direction: column;
|
|
9221
|
-
margin: 0;
|
|
9222
|
-
padding: 0;
|
|
9223
|
-
min-height: 0px;
|
|
9224
|
-
|
|
9225
|
-
/* Prevents horizontal scroll bar on swipe right */
|
|
9226
|
-
overflow: hidden;
|
|
9227
|
-
}`, `.ricontrols {
|
|
9228
|
-
padding: 4px;
|
|
9229
|
-
box-sizing: border-box;
|
|
9230
|
-
height: 100%;
|
|
9231
|
-
}`, `.dark {
|
|
9232
|
-
background: darkgray;
|
|
9233
|
-
}`, `.controlpanel {
|
|
9234
|
-
align-content: center;
|
|
9235
|
-
align-items: center;
|
|
9236
|
-
margin: 0;
|
|
9237
|
-
padding: 20px;
|
|
9238
|
-
min-height: min-content; /* important */
|
|
9239
|
-
}`]
|
|
9240
|
-
}]
|
|
8719
|
+
`, 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"] }]
|
|
9241
8720
|
}], ctorParameters: function () {
|
|
9242
|
-
return [{ type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i1$
|
|
8721
|
+
return [{ type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i1$4.MatDialog }, { type: SessionService }, { type: RecordingService }, { type: SpeechRecorderUploader }, { type: SpeechRecorderConfig, decorators: [{
|
|
9243
8722
|
type: Inject,
|
|
9244
8723
|
args: [SPEECHRECORDER_CONFIG]
|
|
9245
8724
|
}] }];
|
|
@@ -9300,9 +8779,9 @@ class ScriptService {
|
|
|
9300
8779
|
return this.http.get(scriptUrl, { withCredentials: this.withCredentials });
|
|
9301
8780
|
}
|
|
9302
8781
|
}
|
|
9303
|
-
ScriptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9304
|
-
ScriptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
9305
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8782
|
+
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 });
|
|
8783
|
+
ScriptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ScriptService });
|
|
8784
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ScriptService, decorators: [{
|
|
9306
8785
|
type: Injectable
|
|
9307
8786
|
}], ctorParameters: function () {
|
|
9308
8787
|
return [{ type: i1.HttpClient }, { type: SpeechRecorderConfig, decorators: [{
|
|
@@ -9650,52 +9129,27 @@ class SpeechrecorderngComponent extends RecorderComponent {
|
|
|
9650
9129
|
this.sm.statusMsg = 'ERROR: Recording.';
|
|
9651
9130
|
}
|
|
9652
9131
|
}
|
|
9653
|
-
SpeechrecorderngComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9654
|
-
SpeechrecorderngComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
9132
|
+
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 });
|
|
9133
|
+
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: `
|
|
9655
9134
|
<app-sprrecordingsession [projectName]="project?.name" [dataSaved]="dataSaved"></app-sprrecordingsession>
|
|
9656
|
-
`, isInline: true, styles: [":host{flex:2;display:flex;flex-direction:column;min-height:0}\n"],
|
|
9657
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9135
|
+
`, 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"] }] });
|
|
9136
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SpeechrecorderngComponent, decorators: [{
|
|
9658
9137
|
type: Component,
|
|
9659
|
-
args: [{
|
|
9660
|
-
selector: 'app-speechrecorder',
|
|
9661
|
-
providers: [SessionService],
|
|
9662
|
-
template: `
|
|
9138
|
+
args: [{ selector: 'app-speechrecorder', providers: [SessionService], template: `
|
|
9663
9139
|
<app-sprrecordingsession [projectName]="project?.name" [dataSaved]="dataSaved"></app-sprrecordingsession>
|
|
9664
|
-
`,
|
|
9665
|
-
|
|
9666
|
-
flex: 2;
|
|
9667
|
-
display: flex;
|
|
9668
|
-
flex-direction: column;
|
|
9669
|
-
min-height:0;
|
|
9670
|
-
|
|
9671
|
-
}`]
|
|
9672
|
-
}]
|
|
9673
|
-
}], 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: [{
|
|
9140
|
+
`, styles: [":host{flex:2;display:flex;flex-direction:column;min-height:0}\n"] }]
|
|
9141
|
+
}], 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: [{
|
|
9674
9142
|
type: ViewChild,
|
|
9675
9143
|
args: [SessionManager, { static: true }]
|
|
9676
9144
|
}] } });
|
|
9677
9145
|
|
|
9678
9146
|
class ScrollPaneHorizontal {
|
|
9679
9147
|
}
|
|
9680
|
-
ScrollPaneHorizontal.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9681
|
-
ScrollPaneHorizontal.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
9682
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9148
|
+
ScrollPaneHorizontal.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ScrollPaneHorizontal, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9149
|
+
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"] });
|
|
9150
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ScrollPaneHorizontal, decorators: [{
|
|
9683
9151
|
type: Component,
|
|
9684
|
-
args: [{
|
|
9685
|
-
selector: 'scroll-pane-horizontal',
|
|
9686
|
-
template: '',
|
|
9687
|
-
styles: [
|
|
9688
|
-
`:host {
|
|
9689
|
-
width: 100%;
|
|
9690
|
-
background: darkgray;
|
|
9691
|
-
box-sizing: border-box;
|
|
9692
|
-
height: 100%;
|
|
9693
|
-
position: relative;
|
|
9694
|
-
overflow-x: scroll;
|
|
9695
|
-
overflow-y: auto;
|
|
9696
|
-
}`
|
|
9697
|
-
]
|
|
9698
|
-
}]
|
|
9152
|
+
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"] }]
|
|
9699
9153
|
}] });
|
|
9700
9154
|
|
|
9701
9155
|
class AudioDisplayPlayer {
|
|
@@ -9898,8 +9352,8 @@ class AudioDisplayPlayer {
|
|
|
9898
9352
|
this.status = 'ERROR';
|
|
9899
9353
|
}
|
|
9900
9354
|
}
|
|
9901
|
-
AudioDisplayPlayer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9902
|
-
AudioDisplayPlayer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
9355
|
+
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 });
|
|
9356
|
+
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: `
|
|
9903
9357
|
|
|
9904
9358
|
<audio-display-scroll-pane #audioDisplayScrollPane></audio-display-scroll-pane>
|
|
9905
9359
|
|
|
@@ -9912,12 +9366,10 @@ AudioDisplayPlayer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
9912
9366
|
[zoomOutAction]="zoomOutAction"
|
|
9913
9367
|
[zoomSelectedAction]="zoomSelectedAction"
|
|
9914
9368
|
[zoomFitToPanelAction]="zoomFitToPanelAction"></audio-display-control><p>{{status}}
|
|
9915
|
-
`, 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"],
|
|
9916
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9369
|
+
`, 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"] }] });
|
|
9370
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AudioDisplayPlayer, decorators: [{
|
|
9917
9371
|
type: Component,
|
|
9918
|
-
args: [{
|
|
9919
|
-
selector: 'app-audiodisplayplayer',
|
|
9920
|
-
template: `
|
|
9372
|
+
args: [{ selector: 'app-audiodisplayplayer', template: `
|
|
9921
9373
|
|
|
9922
9374
|
<audio-display-scroll-pane #audioDisplayScrollPane></audio-display-scroll-pane>
|
|
9923
9375
|
|
|
@@ -9930,24 +9382,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
9930
9382
|
[zoomOutAction]="zoomOutAction"
|
|
9931
9383
|
[zoomSelectedAction]="zoomSelectedAction"
|
|
9932
9384
|
[zoomFitToPanelAction]="zoomFitToPanelAction"></audio-display-control><p>{{status}}
|
|
9933
|
-
`,
|
|
9934
|
-
|
|
9935
|
-
`:host {
|
|
9936
|
-
display: flex;
|
|
9937
|
-
flex-direction: column;
|
|
9938
|
-
position: absolute;
|
|
9939
|
-
bottom: 0px;
|
|
9940
|
-
height: 100%;
|
|
9941
|
-
width: 100%;
|
|
9942
|
-
overflow: hidden;
|
|
9943
|
-
padding: 20px;
|
|
9944
|
-
z-index: 5;
|
|
9945
|
-
box-sizing: border-box;
|
|
9946
|
-
background-color: rgba(0, 0, 0, 0.75)
|
|
9947
|
-
}`
|
|
9948
|
-
]
|
|
9949
|
-
}]
|
|
9950
|
-
}], ctorParameters: function () { return [{ type: i1$1.ActivatedRoute }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }]; }, propDecorators: { playStartAction: [{
|
|
9385
|
+
`, 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"] }]
|
|
9386
|
+
}], ctorParameters: function () { return [{ type: i1$2.ActivatedRoute }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }]; }, propDecorators: { playStartAction: [{
|
|
9951
9387
|
type: Input
|
|
9952
9388
|
}], playStopAction: [{
|
|
9953
9389
|
type: Input
|
|
@@ -10265,9 +9701,9 @@ class RecordingFileService {
|
|
|
10265
9701
|
}
|
|
10266
9702
|
}
|
|
10267
9703
|
RecordingFileService.RECOFILE_API_CTX = 'recordingfile';
|
|
10268
|
-
RecordingFileService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10269
|
-
RecordingFileService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
10270
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9704
|
+
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 });
|
|
9705
|
+
RecordingFileService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RecordingFileService });
|
|
9706
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RecordingFileService, decorators: [{
|
|
10271
9707
|
type: Injectable
|
|
10272
9708
|
}], ctorParameters: function () {
|
|
10273
9709
|
return [{ type: i1.HttpClient }, { type: SpeechRecorderConfig, decorators: [{
|
|
@@ -10276,6 +9712,114 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
10276
9712
|
}] }];
|
|
10277
9713
|
} });
|
|
10278
9714
|
|
|
9715
|
+
class RecordingFileNaviComponent {
|
|
9716
|
+
constructor() {
|
|
9717
|
+
this.versions = null;
|
|
9718
|
+
this.version = null;
|
|
9719
|
+
this.naviInfoLoading = false;
|
|
9720
|
+
}
|
|
9721
|
+
ngOnInit() {
|
|
9722
|
+
}
|
|
9723
|
+
selectVersionChange(ev) {
|
|
9724
|
+
//console.debug("Change event: "+ev.target.value+ ", as Nr: "+versionNr);
|
|
9725
|
+
const selEl = ev.target;
|
|
9726
|
+
let versionNr = parseInt(selEl.value);
|
|
9727
|
+
if (this.selectVersion) {
|
|
9728
|
+
this.selectVersion.perform(versionNr);
|
|
9729
|
+
}
|
|
9730
|
+
}
|
|
9731
|
+
}
|
|
9732
|
+
RecordingFileNaviComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RecordingFileNaviComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9733
|
+
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: `
|
|
9734
|
+
<div #controlPanel style="display:flex;flex-direction: row;">
|
|
9735
|
+
<div #navi style="flex: 0;display:flex;flex-direction: row;flex-wrap: nowrap">
|
|
9736
|
+
<fieldset>
|
|
9737
|
+
<legend>Versions</legend>
|
|
9738
|
+
<mat-progress-spinner *ngIf="naviInfoLoading" mode="indeterminate" [diameter]="15"></mat-progress-spinner>
|
|
9739
|
+
<select *ngIf="!naviInfoLoading" [disabled]="versions==null || versions.length==1" (change)="selectVersionChange($event)">
|
|
9740
|
+
<option *ngFor="let v of versions; let i = index" [selected]="v===version" value="{{v}}">{{v}}<span *ngIf="i==0"> (latest)</span></option>
|
|
9741
|
+
</select>
|
|
9742
|
+
</fieldset>
|
|
9743
|
+
<fieldset>
|
|
9744
|
+
<legend>Navigate</legend>
|
|
9745
|
+
<mat-progress-spinner *ngIf="naviInfoLoading" mode="indeterminate" [diameter]="15"></mat-progress-spinner>
|
|
9746
|
+
<div *ngIf="!naviInfoLoading" style="flex: 0;display:flex;flex-direction: row;flex-wrap: nowrap">
|
|
9747
|
+
<button (click)="firstAction?.perform()" [disabled]="!firstAction || firstAction?.disabled" matTooltip="First recording file">
|
|
9748
|
+
<mat-icon>first_page</mat-icon>
|
|
9749
|
+
</button>
|
|
9750
|
+
<button (click)="prevAction?.perform()" [disabled]="!prevAction || prevAction?.disabled" matTooltip="Previous recording file">
|
|
9751
|
+
<mat-icon>chevron_left</mat-icon>
|
|
9752
|
+
</button>
|
|
9753
|
+
<button (click)="nextAction?.perform()" [disabled]="!nextAction || nextAction?.disabled" matTooltip="Next recording file">
|
|
9754
|
+
<mat-icon>chevron_right</mat-icon>
|
|
9755
|
+
</button>
|
|
9756
|
+
<button (click)="lastAction?.perform()" [disabled]="!lastAction || lastAction?.disabled" matTooltip="Last recording file">
|
|
9757
|
+
<mat-icon>last_page</mat-icon>
|
|
9758
|
+
</button>
|
|
9759
|
+
</div>
|
|
9760
|
+
<p *ngIf="items && itemPos!==null && itemPos!==undefined">Item {{itemPos+1}} of {{items}}</p>
|
|
9761
|
+
<p>(List ordered by date)</p>
|
|
9762
|
+
</fieldset>
|
|
9763
|
+
</div>
|
|
9764
|
+
</div>
|
|
9765
|
+
`, 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"] }] });
|
|
9766
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RecordingFileNaviComponent, decorators: [{
|
|
9767
|
+
type: Component,
|
|
9768
|
+
args: [{ selector: 'app-recording-file-navi', template: `
|
|
9769
|
+
<div #controlPanel style="display:flex;flex-direction: row;">
|
|
9770
|
+
<div #navi style="flex: 0;display:flex;flex-direction: row;flex-wrap: nowrap">
|
|
9771
|
+
<fieldset>
|
|
9772
|
+
<legend>Versions</legend>
|
|
9773
|
+
<mat-progress-spinner *ngIf="naviInfoLoading" mode="indeterminate" [diameter]="15"></mat-progress-spinner>
|
|
9774
|
+
<select *ngIf="!naviInfoLoading" [disabled]="versions==null || versions.length==1" (change)="selectVersionChange($event)">
|
|
9775
|
+
<option *ngFor="let v of versions; let i = index" [selected]="v===version" value="{{v}}">{{v}}<span *ngIf="i==0"> (latest)</span></option>
|
|
9776
|
+
</select>
|
|
9777
|
+
</fieldset>
|
|
9778
|
+
<fieldset>
|
|
9779
|
+
<legend>Navigate</legend>
|
|
9780
|
+
<mat-progress-spinner *ngIf="naviInfoLoading" mode="indeterminate" [diameter]="15"></mat-progress-spinner>
|
|
9781
|
+
<div *ngIf="!naviInfoLoading" style="flex: 0;display:flex;flex-direction: row;flex-wrap: nowrap">
|
|
9782
|
+
<button (click)="firstAction?.perform()" [disabled]="!firstAction || firstAction?.disabled" matTooltip="First recording file">
|
|
9783
|
+
<mat-icon>first_page</mat-icon>
|
|
9784
|
+
</button>
|
|
9785
|
+
<button (click)="prevAction?.perform()" [disabled]="!prevAction || prevAction?.disabled" matTooltip="Previous recording file">
|
|
9786
|
+
<mat-icon>chevron_left</mat-icon>
|
|
9787
|
+
</button>
|
|
9788
|
+
<button (click)="nextAction?.perform()" [disabled]="!nextAction || nextAction?.disabled" matTooltip="Next recording file">
|
|
9789
|
+
<mat-icon>chevron_right</mat-icon>
|
|
9790
|
+
</button>
|
|
9791
|
+
<button (click)="lastAction?.perform()" [disabled]="!lastAction || lastAction?.disabled" matTooltip="Last recording file">
|
|
9792
|
+
<mat-icon>last_page</mat-icon>
|
|
9793
|
+
</button>
|
|
9794
|
+
</div>
|
|
9795
|
+
<p *ngIf="items && itemPos!==null && itemPos!==undefined">Item {{itemPos+1}} of {{items}}</p>
|
|
9796
|
+
<p>(List ordered by date)</p>
|
|
9797
|
+
</fieldset>
|
|
9798
|
+
</div>
|
|
9799
|
+
</div>
|
|
9800
|
+
`, styles: [":host{flex:0}\n"] }]
|
|
9801
|
+
}], ctorParameters: function () { return []; }, propDecorators: { firstAction: [{
|
|
9802
|
+
type: Input
|
|
9803
|
+
}], prevAction: [{
|
|
9804
|
+
type: Input
|
|
9805
|
+
}], nextAction: [{
|
|
9806
|
+
type: Input
|
|
9807
|
+
}], lastAction: [{
|
|
9808
|
+
type: Input
|
|
9809
|
+
}], items: [{
|
|
9810
|
+
type: Input
|
|
9811
|
+
}], itemPos: [{
|
|
9812
|
+
type: Input
|
|
9813
|
+
}], selectVersion: [{
|
|
9814
|
+
type: Input
|
|
9815
|
+
}], versions: [{
|
|
9816
|
+
type: Input
|
|
9817
|
+
}], version: [{
|
|
9818
|
+
type: Input
|
|
9819
|
+
}], naviInfoLoading: [{
|
|
9820
|
+
type: Input
|
|
9821
|
+
}] } });
|
|
9822
|
+
|
|
10279
9823
|
class RecordingFileMetaComponent {
|
|
10280
9824
|
constructor() {
|
|
10281
9825
|
this.sessionId = null;
|
|
@@ -10317,8 +9861,8 @@ class RecordingFileMetaComponent {
|
|
|
10317
9861
|
return t;
|
|
10318
9862
|
}
|
|
10319
9863
|
}
|
|
10320
|
-
RecordingFileMetaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10321
|
-
RecordingFileMetaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
9864
|
+
RecordingFileMetaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RecordingFileMetaComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9865
|
+
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: `
|
|
10322
9866
|
<mat-card>
|
|
10323
9867
|
<mat-card-title>Recording file ID: {{recordingFile?.recordingFileId}}</mat-card-title>
|
|
10324
9868
|
<mat-card-content>
|
|
@@ -10351,12 +9895,10 @@ RecordingFileMetaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
10351
9895
|
</table>
|
|
10352
9896
|
</mat-card-content>
|
|
10353
9897
|
</mat-card>
|
|
10354
|
-
`, isInline: true,
|
|
10355
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9898
|
+
`, 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]" }] });
|
|
9899
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RecordingFileMetaComponent, decorators: [{
|
|
10356
9900
|
type: Component,
|
|
10357
|
-
args: [{
|
|
10358
|
-
selector: 'app-recording-file-meta',
|
|
10359
|
-
template: `
|
|
9901
|
+
args: [{ selector: 'app-recording-file-meta', template: `
|
|
10360
9902
|
<mat-card>
|
|
10361
9903
|
<mat-card-title>Recording file ID: {{recordingFile?.recordingFileId}}</mat-card-title>
|
|
10362
9904
|
<mat-card-content>
|
|
@@ -10389,132 +9931,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
10389
9931
|
</table>
|
|
10390
9932
|
</mat-card-content>
|
|
10391
9933
|
</mat-card>
|
|
10392
|
-
|
|
10393
|
-
styles: []
|
|
10394
|
-
}]
|
|
9934
|
+
` }]
|
|
10395
9935
|
}], propDecorators: { sessionId: [{
|
|
10396
9936
|
type: Input
|
|
10397
9937
|
}], recordingFile: [{
|
|
10398
9938
|
type: Input
|
|
10399
9939
|
}] } });
|
|
10400
9940
|
|
|
10401
|
-
class RecordingFileNaviComponent {
|
|
10402
|
-
constructor() {
|
|
10403
|
-
this.versions = null;
|
|
10404
|
-
this.version = null;
|
|
10405
|
-
this.naviInfoLoading = false;
|
|
10406
|
-
}
|
|
10407
|
-
ngOnInit() {
|
|
10408
|
-
}
|
|
10409
|
-
selectVersionChange(ev) {
|
|
10410
|
-
//console.debug("Change event: "+ev.target.value+ ", as Nr: "+versionNr);
|
|
10411
|
-
const selEl = ev.target;
|
|
10412
|
-
let versionNr = parseInt(selEl.value);
|
|
10413
|
-
if (this.selectVersion) {
|
|
10414
|
-
this.selectVersion.perform(versionNr);
|
|
10415
|
-
}
|
|
10416
|
-
}
|
|
10417
|
-
}
|
|
10418
|
-
RecordingFileNaviComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RecordingFileNaviComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10419
|
-
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: `
|
|
10420
|
-
<div #controlPanel style="display:flex;flex-direction: row;">
|
|
10421
|
-
<div #navi style="flex: 0;display:flex;flex-direction: row;flex-wrap: nowrap">
|
|
10422
|
-
<fieldset>
|
|
10423
|
-
<legend>Versions</legend>
|
|
10424
|
-
<mat-progress-spinner *ngIf="naviInfoLoading" mode="indeterminate" [diameter]="15"></mat-progress-spinner>
|
|
10425
|
-
<select *ngIf="!naviInfoLoading" [disabled]="versions==null || versions.length==1" (change)="selectVersionChange($event)">
|
|
10426
|
-
<option *ngFor="let v of versions; let i = index" [selected]="v===version" value="{{v}}">{{v}}<span *ngIf="i==0"> (latest)</span></option>
|
|
10427
|
-
</select>
|
|
10428
|
-
</fieldset>
|
|
10429
|
-
<fieldset>
|
|
10430
|
-
<legend>Navigate</legend>
|
|
10431
|
-
<mat-progress-spinner *ngIf="naviInfoLoading" mode="indeterminate" [diameter]="15"></mat-progress-spinner>
|
|
10432
|
-
<div *ngIf="!naviInfoLoading" style="flex: 0;display:flex;flex-direction: row;flex-wrap: nowrap">
|
|
10433
|
-
<button (click)="firstAction?.perform()" [disabled]="!firstAction || firstAction?.disabled" matTooltip="First recording file">
|
|
10434
|
-
<mat-icon>first_page</mat-icon>
|
|
10435
|
-
</button>
|
|
10436
|
-
<button (click)="prevAction?.perform()" [disabled]="!prevAction || prevAction?.disabled" matTooltip="Previous recording file">
|
|
10437
|
-
<mat-icon>chevron_left</mat-icon>
|
|
10438
|
-
</button>
|
|
10439
|
-
<button (click)="nextAction?.perform()" [disabled]="!nextAction || nextAction?.disabled" matTooltip="Next recording file">
|
|
10440
|
-
<mat-icon>chevron_right</mat-icon>
|
|
10441
|
-
</button>
|
|
10442
|
-
<button (click)="lastAction?.perform()" [disabled]="!lastAction || lastAction?.disabled" matTooltip="Last recording file">
|
|
10443
|
-
<mat-icon>last_page</mat-icon>
|
|
10444
|
-
</button>
|
|
10445
|
-
</div>
|
|
10446
|
-
<p *ngIf="items && itemPos!==null && itemPos!==undefined">Item {{itemPos+1}} of {{items}}</p>
|
|
10447
|
-
<p>(List ordered by date)</p>
|
|
10448
|
-
</fieldset>
|
|
10449
|
-
</div>
|
|
10450
|
-
</div>
|
|
10451
|
-
`, 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"] }] });
|
|
10452
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RecordingFileNaviComponent, decorators: [{
|
|
10453
|
-
type: Component,
|
|
10454
|
-
args: [{
|
|
10455
|
-
selector: 'app-recording-file-navi',
|
|
10456
|
-
template: `
|
|
10457
|
-
<div #controlPanel style="display:flex;flex-direction: row;">
|
|
10458
|
-
<div #navi style="flex: 0;display:flex;flex-direction: row;flex-wrap: nowrap">
|
|
10459
|
-
<fieldset>
|
|
10460
|
-
<legend>Versions</legend>
|
|
10461
|
-
<mat-progress-spinner *ngIf="naviInfoLoading" mode="indeterminate" [diameter]="15"></mat-progress-spinner>
|
|
10462
|
-
<select *ngIf="!naviInfoLoading" [disabled]="versions==null || versions.length==1" (change)="selectVersionChange($event)">
|
|
10463
|
-
<option *ngFor="let v of versions; let i = index" [selected]="v===version" value="{{v}}">{{v}}<span *ngIf="i==0"> (latest)</span></option>
|
|
10464
|
-
</select>
|
|
10465
|
-
</fieldset>
|
|
10466
|
-
<fieldset>
|
|
10467
|
-
<legend>Navigate</legend>
|
|
10468
|
-
<mat-progress-spinner *ngIf="naviInfoLoading" mode="indeterminate" [diameter]="15"></mat-progress-spinner>
|
|
10469
|
-
<div *ngIf="!naviInfoLoading" style="flex: 0;display:flex;flex-direction: row;flex-wrap: nowrap">
|
|
10470
|
-
<button (click)="firstAction?.perform()" [disabled]="!firstAction || firstAction?.disabled" matTooltip="First recording file">
|
|
10471
|
-
<mat-icon>first_page</mat-icon>
|
|
10472
|
-
</button>
|
|
10473
|
-
<button (click)="prevAction?.perform()" [disabled]="!prevAction || prevAction?.disabled" matTooltip="Previous recording file">
|
|
10474
|
-
<mat-icon>chevron_left</mat-icon>
|
|
10475
|
-
</button>
|
|
10476
|
-
<button (click)="nextAction?.perform()" [disabled]="!nextAction || nextAction?.disabled" matTooltip="Next recording file">
|
|
10477
|
-
<mat-icon>chevron_right</mat-icon>
|
|
10478
|
-
</button>
|
|
10479
|
-
<button (click)="lastAction?.perform()" [disabled]="!lastAction || lastAction?.disabled" matTooltip="Last recording file">
|
|
10480
|
-
<mat-icon>last_page</mat-icon>
|
|
10481
|
-
</button>
|
|
10482
|
-
</div>
|
|
10483
|
-
<p *ngIf="items && itemPos!==null && itemPos!==undefined">Item {{itemPos+1}} of {{items}}</p>
|
|
10484
|
-
<p>(List ordered by date)</p>
|
|
10485
|
-
</fieldset>
|
|
10486
|
-
</div>
|
|
10487
|
-
</div>
|
|
10488
|
-
`,
|
|
10489
|
-
styles: [
|
|
10490
|
-
`:host {
|
|
10491
|
-
flex: 0;
|
|
10492
|
-
|
|
10493
|
-
}`
|
|
10494
|
-
]
|
|
10495
|
-
}]
|
|
10496
|
-
}], ctorParameters: function () { return []; }, propDecorators: { firstAction: [{
|
|
10497
|
-
type: Input
|
|
10498
|
-
}], prevAction: [{
|
|
10499
|
-
type: Input
|
|
10500
|
-
}], nextAction: [{
|
|
10501
|
-
type: Input
|
|
10502
|
-
}], lastAction: [{
|
|
10503
|
-
type: Input
|
|
10504
|
-
}], items: [{
|
|
10505
|
-
type: Input
|
|
10506
|
-
}], itemPos: [{
|
|
10507
|
-
type: Input
|
|
10508
|
-
}], selectVersion: [{
|
|
10509
|
-
type: Input
|
|
10510
|
-
}], versions: [{
|
|
10511
|
-
type: Input
|
|
10512
|
-
}], version: [{
|
|
10513
|
-
type: Input
|
|
10514
|
-
}], naviInfoLoading: [{
|
|
10515
|
-
type: Input
|
|
10516
|
-
}] } });
|
|
10517
|
-
|
|
10518
9941
|
class ItemcodeIndex {
|
|
10519
9942
|
}
|
|
10520
9943
|
class RecordingFileViewComponent extends AudioDisplayPlayer {
|
|
@@ -10865,8 +10288,8 @@ class RecordingFileViewComponent extends AudioDisplayPlayer {
|
|
|
10865
10288
|
}
|
|
10866
10289
|
}
|
|
10867
10290
|
}
|
|
10868
|
-
RecordingFileViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10869
|
-
RecordingFileViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
10291
|
+
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 });
|
|
10292
|
+
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: `
|
|
10870
10293
|
|
|
10871
10294
|
<audio-display-scroll-pane #audioDisplayScrollPane></audio-display-scroll-pane>
|
|
10872
10295
|
<div class="ctrlview">
|
|
@@ -10883,12 +10306,10 @@ RecordingFileViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
10883
10306
|
[zoomFitToPanelAction]="zoomFitToPanelAction"></audio-display-control>
|
|
10884
10307
|
<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>
|
|
10885
10308
|
</div>
|
|
10886
|
-
`, 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"],
|
|
10887
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10309
|
+
`, 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"] }] });
|
|
10310
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RecordingFileViewComponent, decorators: [{
|
|
10888
10311
|
type: Component,
|
|
10889
|
-
args: [{
|
|
10890
|
-
selector: 'app-audiodisplayplayer',
|
|
10891
|
-
template: `
|
|
10312
|
+
args: [{ selector: 'app-audiodisplayplayer', template: `
|
|
10892
10313
|
|
|
10893
10314
|
<audio-display-scroll-pane #audioDisplayScrollPane></audio-display-scroll-pane>
|
|
10894
10315
|
<div class="ctrlview">
|
|
@@ -10905,33 +10326,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
10905
10326
|
[zoomFitToPanelAction]="zoomFitToPanelAction"></audio-display-control>
|
|
10906
10327
|
<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>
|
|
10907
10328
|
</div>
|
|
10908
|
-
`,
|
|
10909
|
-
|
|
10910
|
-
`:host {
|
|
10911
|
-
flex: 2;
|
|
10912
|
-
display: flex;
|
|
10913
|
-
flex-direction: column;
|
|
10914
|
-
min-height:0;
|
|
10915
|
-
overflow: hidden;
|
|
10916
|
-
padding: 20px;
|
|
10917
|
-
z-index: 5;
|
|
10918
|
-
box-sizing: border-box;
|
|
10919
|
-
background-color: white;
|
|
10920
|
-
}`, `
|
|
10921
|
-
.ctrlview{
|
|
10922
|
-
display: flex;
|
|
10923
|
-
flex-direction: row;
|
|
10924
|
-
|
|
10925
|
-
}
|
|
10926
|
-
`, `
|
|
10927
|
-
audio-display-control{
|
|
10928
|
-
|
|
10929
|
-
flex: 3;
|
|
10930
|
-
}
|
|
10931
|
-
`
|
|
10932
|
-
]
|
|
10933
|
-
}]
|
|
10934
|
-
}], 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: [{
|
|
10329
|
+
`, 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"] }]
|
|
10330
|
+
}], 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: [{
|
|
10935
10331
|
type: ViewChild,
|
|
10936
10332
|
args: [AudioDisplayScrollPane]
|
|
10937
10333
|
}] } });
|
|
@@ -11017,8 +10413,8 @@ class RecordingFileUI extends RecordingFileViewComponent {
|
|
|
11017
10413
|
}
|
|
11018
10414
|
}
|
|
11019
10415
|
}
|
|
11020
|
-
RecordingFileUI.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11021
|
-
RecordingFileUI.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
10416
|
+
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 });
|
|
10417
|
+
RecordingFileUI.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: RecordingFileUI, selector: "app-audiodisplayplayer", usesInheritance: true, ngImport: i0, template: `
|
|
11022
10418
|
<h1>Recording file editing</h1>
|
|
11023
10419
|
<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>
|
|
11024
10420
|
|
|
@@ -11038,12 +10434,10 @@ RecordingFileUI.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
11038
10434
|
</div>
|
|
11039
10435
|
|
|
11040
10436
|
<button mat-raised-button color="accent" (click)="applySelection()" [disabled]="editSaved">{{this.applyButtonText()}}</button>
|
|
11041
|
-
`, 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"],
|
|
11042
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10437
|
+
`, 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"] }] });
|
|
10438
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RecordingFileUI, decorators: [{
|
|
11043
10439
|
type: Component,
|
|
11044
|
-
args: [{
|
|
11045
|
-
selector: 'app-audiodisplayplayer',
|
|
11046
|
-
template: `
|
|
10440
|
+
args: [{ selector: 'app-audiodisplayplayer', template: `
|
|
11047
10441
|
<h1>Recording file editing</h1>
|
|
11048
10442
|
<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>
|
|
11049
10443
|
|
|
@@ -11063,32 +10457,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
11063
10457
|
</div>
|
|
11064
10458
|
|
|
11065
10459
|
<button mat-raised-button color="accent" (click)="applySelection()" [disabled]="editSaved">{{this.applyButtonText()}}</button>
|
|
11066
|
-
`,
|
|
11067
|
-
|
|
11068
|
-
`:host {
|
|
11069
|
-
flex: 2;
|
|
11070
|
-
display: flex;
|
|
11071
|
-
flex-direction: column;
|
|
11072
|
-
min-height:0;
|
|
11073
|
-
overflow: hidden;
|
|
11074
|
-
padding: 20px;
|
|
11075
|
-
z-index: 5;
|
|
11076
|
-
box-sizing: border-box;
|
|
11077
|
-
background-color: white;
|
|
11078
|
-
}`, `
|
|
11079
|
-
.ctrlview{
|
|
11080
|
-
display: flex;
|
|
11081
|
-
flex-direction: row;
|
|
11082
|
-
}
|
|
11083
|
-
`, `
|
|
11084
|
-
audio-display-control{
|
|
11085
|
-
|
|
11086
|
-
flex: 3;
|
|
11087
|
-
}
|
|
11088
|
-
`
|
|
11089
|
-
]
|
|
11090
|
-
}]
|
|
11091
|
-
}], 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 }]; } });
|
|
10460
|
+
`, 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"] }]
|
|
10461
|
+
}], 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 }]; } });
|
|
11092
10462
|
|
|
11093
10463
|
class MediaUtils {
|
|
11094
10464
|
static toMediaTime(timeInSeconds) {
|
|
@@ -11162,8 +10532,8 @@ class RecordingList {
|
|
|
11162
10532
|
return str;
|
|
11163
10533
|
}
|
|
11164
10534
|
}
|
|
11165
|
-
RecordingList.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11166
|
-
RecordingList.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
10535
|
+
RecordingList.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RecordingList, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10536
|
+
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: `
|
|
11167
10537
|
<mat-card>
|
|
11168
10538
|
<mat-card-header>
|
|
11169
10539
|
<h2>Recording list</h2>
|
|
@@ -11192,8 +10562,8 @@ RecordingList.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
|
11192
10562
|
</mat-card-content>
|
|
11193
10563
|
</mat-card>
|
|
11194
10564
|
|
|
11195
|
-
`, 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"],
|
|
11196
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10565
|
+
`, 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" }] });
|
|
10566
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RecordingList, decorators: [{
|
|
11197
10567
|
type: Component,
|
|
11198
10568
|
args: [{ selector: 'app-recordinglist', template: `
|
|
11199
10569
|
<mat-card>
|
|
@@ -11253,8 +10623,8 @@ class RecorderCombiPane {
|
|
|
11253
10623
|
this.recordingListComp.selectTop();
|
|
11254
10624
|
}
|
|
11255
10625
|
}
|
|
11256
|
-
RecorderCombiPane.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11257
|
-
RecorderCombiPane.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
10626
|
+
RecorderCombiPane.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RecorderCombiPane, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10627
|
+
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: `
|
|
11258
10628
|
<div class="scrollList">
|
|
11259
10629
|
<app-recordinglist [selectedRecordingFile]="selectedRecordingFile" [selectDisabled]="selectDisabled" (selectedRecordingFileChanged)="selectRecordingFile($event)"></app-recordinglist>
|
|
11260
10630
|
</div>
|
|
@@ -11266,8 +10636,8 @@ RecorderCombiPane.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
11266
10636
|
[autoPlayOnSelectToggleAction]="autoPlayOnSelectToggleAction"
|
|
11267
10637
|
[playStopAction]="playStopAction"></app-audiodisplay>
|
|
11268
10638
|
</div>
|
|
11269
|
-
`, 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"],
|
|
11270
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10639
|
+
`, 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"] }] });
|
|
10640
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RecorderCombiPane, decorators: [{
|
|
11271
10641
|
type: Component,
|
|
11272
10642
|
args: [{ selector: 'app-recordercombipane', template: `
|
|
11273
10643
|
<div class="scrollList">
|
|
@@ -11762,17 +11132,14 @@ class AudioRecorder extends BasicRecorder {
|
|
|
11762
11132
|
showRecording() {
|
|
11763
11133
|
this.controlAudioPlayer.stop();
|
|
11764
11134
|
if (this.displayAudioClip) {
|
|
11765
|
-
this.
|
|
11766
|
-
|
|
11135
|
+
let dap = this.displayAudioClip;
|
|
11136
|
+
this.levelMeasure.calcBufferLevelInfos(dap.buffer, LEVEL_BAR_INTERVALL_SECONDS).then((levelInfos) => {
|
|
11137
|
+
dap.levelInfos = levelInfos;
|
|
11767
11138
|
this.changeDetectorRef.detectChanges();
|
|
11768
11139
|
});
|
|
11769
11140
|
this.playStartAction.disabled = false;
|
|
11770
11141
|
}
|
|
11771
11142
|
else {
|
|
11772
|
-
// TODO
|
|
11773
|
-
// Setting to null does not trigger a change if it was null before (happens after nextitem() in AUTOPROGRESS mode)
|
|
11774
|
-
// The level bar display does not clear, it shows the last captured stream
|
|
11775
|
-
this.displayLevelInfos = null;
|
|
11776
11143
|
this.playStartAction.disabled = true;
|
|
11777
11144
|
// Collapse audio signal display if open
|
|
11778
11145
|
if (!this.audioSignalCollapsed) {
|
|
@@ -11970,8 +11337,8 @@ class AudioRecorder extends BasicRecorder {
|
|
|
11970
11337
|
}
|
|
11971
11338
|
}
|
|
11972
11339
|
}
|
|
11973
|
-
AudioRecorder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11974
|
-
AudioRecorder.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
11340
|
+
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 });
|
|
11341
|
+
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: `
|
|
11975
11342
|
<app-warningbar [show]="isTestSession()" warningText="Test recording only!"></app-warningbar>
|
|
11976
11343
|
<app-warningbar [show]="isDefaultAudioTestSession()"
|
|
11977
11344
|
warningText="This test uses default audio device! Regular sessions may require a particular audio device (microphone)!"></app-warningbar>
|
|
@@ -11989,7 +11356,7 @@ AudioRecorder.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
|
11989
11356
|
<div fxLayout="row" fxLayout.xs="column" [ngStyle]="{'height.px':100,'min-height.px': 100}"
|
|
11990
11357
|
[ngStyle.xs]="{'height.px':125,'min-height.px': 125}">
|
|
11991
11358
|
<audio-levelbar fxFlex="1 0 1" [streamingMode]="isRecording()"
|
|
11992
|
-
[displayLevelInfos]="
|
|
11359
|
+
[displayLevelInfos]="displayAudioClip?.levelInfos"></audio-levelbar>
|
|
11993
11360
|
<div fxLayout="row">
|
|
11994
11361
|
<spr-recordingitemcontrols fxFlex="10 0 1"
|
|
11995
11362
|
[audioLoaded]="displayAudioClip?.buffer!==null"
|
|
@@ -12031,13 +11398,10 @@ AudioRecorder.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
|
12031
11398
|
[ready]="dataSaved && !isActive()"></app-readystateindicator>
|
|
12032
11399
|
</div>
|
|
12033
11400
|
</div>
|
|
12034
|
-
`, 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"],
|
|
12035
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11401
|
+
`, 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"] }] });
|
|
11402
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AudioRecorder, decorators: [{
|
|
12036
11403
|
type: Component,
|
|
12037
|
-
args: [{
|
|
12038
|
-
selector: 'app-audiorecorder',
|
|
12039
|
-
providers: [SessionService],
|
|
12040
|
-
template: `
|
|
11404
|
+
args: [{ selector: 'app-audiorecorder', providers: [SessionService], template: `
|
|
12041
11405
|
<app-warningbar [show]="isTestSession()" warningText="Test recording only!"></app-warningbar>
|
|
12042
11406
|
<app-warningbar [show]="isDefaultAudioTestSession()"
|
|
12043
11407
|
warningText="This test uses default audio device! Regular sessions may require a particular audio device (microphone)!"></app-warningbar>
|
|
@@ -12055,7 +11419,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
12055
11419
|
<div fxLayout="row" fxLayout.xs="column" [ngStyle]="{'height.px':100,'min-height.px': 100}"
|
|
12056
11420
|
[ngStyle.xs]="{'height.px':125,'min-height.px': 125}">
|
|
12057
11421
|
<audio-levelbar fxFlex="1 0 1" [streamingMode]="isRecording()"
|
|
12058
|
-
[displayLevelInfos]="
|
|
11422
|
+
[displayLevelInfos]="displayAudioClip?.levelInfos"></audio-levelbar>
|
|
12059
11423
|
<div fxLayout="row">
|
|
12060
11424
|
<spr-recordingitemcontrols fxFlex="10 0 1"
|
|
12061
11425
|
[audioLoaded]="displayAudioClip?.buffer!==null"
|
|
@@ -12097,45 +11461,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
12097
11461
|
[ready]="dataSaved && !isActive()"></app-readystateindicator>
|
|
12098
11462
|
</div>
|
|
12099
11463
|
</div>
|
|
12100
|
-
`,
|
|
12101
|
-
styles: [`:host {
|
|
12102
|
-
flex: 2;
|
|
12103
|
-
background: lightgrey;
|
|
12104
|
-
display: flex; /* Vertical flex container: Bottom transport panel, above prompting panel */
|
|
12105
|
-
flex-direction: column;
|
|
12106
|
-
margin: 0;
|
|
12107
|
-
padding: 0;
|
|
12108
|
-
height: 100%;
|
|
12109
|
-
min-height: 0px;
|
|
12110
|
-
/* Prevents horizontal scroll bar on swipe right */
|
|
12111
|
-
overflow: hidden;
|
|
12112
|
-
}`, `.ricontrols {
|
|
12113
|
-
padding: 4px;
|
|
12114
|
-
box-sizing: border-box;
|
|
12115
|
-
height: 100%;
|
|
12116
|
-
}`, `.dark {
|
|
12117
|
-
background: darkgray;
|
|
12118
|
-
}`, `.controlpanel {
|
|
12119
|
-
align-content: center;
|
|
12120
|
-
align-items: center;
|
|
12121
|
-
margin: 0;
|
|
12122
|
-
padding: 20px;
|
|
12123
|
-
min-height: min-content; /* important */
|
|
12124
|
-
}`, `.startstop {
|
|
12125
|
-
width: 100%;
|
|
12126
|
-
text-align: center;
|
|
12127
|
-
align-content: center;
|
|
12128
|
-
align-items: center;
|
|
12129
|
-
}`, `.bigbutton {
|
|
12130
|
-
min-width: 70px;
|
|
12131
|
-
min-height: 50px;
|
|
12132
|
-
font-size: 50px;
|
|
12133
|
-
border-radius: 20px;
|
|
12134
|
-
}`
|
|
12135
|
-
]
|
|
12136
|
-
}]
|
|
11464
|
+
`, 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"] }]
|
|
12137
11465
|
}], ctorParameters: function () {
|
|
12138
|
-
return [{ type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i1$
|
|
11466
|
+
return [{ type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i1$2.ActivatedRoute }, { type: i1$4.MatDialog }, { type: SessionService }, { type: RecordingService }, { type: SpeechRecorderUploader }, { type: SpeechRecorderConfig, decorators: [{
|
|
12139
11467
|
type: Inject,
|
|
12140
11468
|
args: [SPEECHRECORDER_CONFIG]
|
|
12141
11469
|
}] }];
|
|
@@ -12281,28 +11609,16 @@ class AudioRecorderComponent extends RecorderComponent {
|
|
|
12281
11609
|
return this.dataSaved && !this.ar.isActive();
|
|
12282
11610
|
}
|
|
12283
11611
|
}
|
|
12284
|
-
AudioRecorderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12285
|
-
AudioRecorderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
11612
|
+
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 });
|
|
11613
|
+
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: `
|
|
12286
11614
|
<app-audiorecorder [projectName]="_project?.name" [dataSaved]="dataSaved"></app-audiorecorder>
|
|
12287
|
-
`, isInline: true, styles: [":host{flex:2;display:flex;height:100%;flex-direction:column;min-height:0}\n"],
|
|
12288
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11615
|
+
`, 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"] }] });
|
|
11616
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AudioRecorderComponent, decorators: [{
|
|
12289
11617
|
type: Component,
|
|
12290
|
-
args: [{
|
|
12291
|
-
selector: 'app-audiorecorder-comp',
|
|
12292
|
-
providers: [SessionService],
|
|
12293
|
-
template: `
|
|
11618
|
+
args: [{ selector: 'app-audiorecorder-comp', providers: [SessionService], template: `
|
|
12294
11619
|
<app-audiorecorder [projectName]="_project?.name" [dataSaved]="dataSaved"></app-audiorecorder>
|
|
12295
|
-
`,
|
|
12296
|
-
|
|
12297
|
-
flex: 2;
|
|
12298
|
-
display: flex;
|
|
12299
|
-
height: 100%;
|
|
12300
|
-
flex-direction: column;
|
|
12301
|
-
min-height:0;
|
|
12302
|
-
|
|
12303
|
-
}`]
|
|
12304
|
-
}]
|
|
12305
|
-
}], 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: [{
|
|
11620
|
+
`, styles: [":host{flex:2;display:flex;height:100%;flex-direction:column;min-height:0}\n"] }]
|
|
11621
|
+
}], 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: [{
|
|
12306
11622
|
type: ViewChild,
|
|
12307
11623
|
args: [AudioRecorder, { static: true }]
|
|
12308
11624
|
}] } });
|
|
@@ -12336,11 +11652,11 @@ class SpeechrecorderngModule {
|
|
|
12336
11652
|
};
|
|
12337
11653
|
}
|
|
12338
11654
|
}
|
|
12339
|
-
SpeechrecorderngModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12340
|
-
SpeechrecorderngModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
12341
|
-
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$
|
|
12342
|
-
SpeechrecorderngModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
12343
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11655
|
+
SpeechrecorderngModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SpeechrecorderngModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
11656
|
+
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,
|
|
11657
|
+
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] });
|
|
11658
|
+
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] });
|
|
11659
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SpeechrecorderngModule, decorators: [{
|
|
12344
11660
|
type: NgModule,
|
|
12345
11661
|
args: [{
|
|
12346
11662
|
declarations: [AudioSignal, Sonagram, ScrollPaneHorizontal, AudioClipUIContainer, AudioDisplayScrollPane, AudioDisplay, AudioDisplayPlayer, AudioDisplayControl, LevelBar, Progress, SimpleTrafficLight, Recinstructions, Prompter, PromptContainer, PromptingContainer, Prompting, StatusDisplay,
|
|
@@ -12351,7 +11667,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
12351
11667
|
}]
|
|
12352
11668
|
}] });
|
|
12353
11669
|
|
|
12354
|
-
const VERSION = '2.25.
|
|
11670
|
+
const VERSION = '2.25.5';
|
|
12355
11671
|
|
|
12356
11672
|
/*
|
|
12357
11673
|
* Public API Surface of speechrecorderng
|