speechrecorderng 2.25.6 → 2.25.7
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 +6 -6
- package/esm2020/lib/audio/audio_player.mjs +6 -6
- package/esm2020/lib/audio/format.mjs +1 -1
- package/esm2020/lib/audio/ui/audio_canvas_layer_comp.mjs +7 -7
- package/esm2020/lib/audio/ui/audio_display_control.mjs +4 -4
- package/esm2020/lib/audio/ui/audio_display_scroll_pane.mjs +4 -4
- package/esm2020/lib/audio/ui/audiosignal.mjs +4 -4
- package/esm2020/lib/audio/ui/container.mjs +4 -4
- package/esm2020/lib/audio/ui/livelevel.mjs +4 -4
- package/esm2020/lib/audio/ui/scroll_pane_horizontal.mjs +4 -4
- package/esm2020/lib/audio/ui/sonagram.mjs +4 -4
- package/esm2020/lib/dsp/utils.mjs +1 -1
- package/esm2020/lib/io/BinaryWriter.mjs +1 -1
- package/esm2020/lib/math/complex.mjs +1 -1
- package/esm2020/lib/math/dft.mjs +1 -1
- package/esm2020/lib/math/utils.mjs +1 -1
- package/esm2020/lib/speechrecorder/project/project.service.mjs +4 -4
- package/esm2020/lib/speechrecorder/recordings/recordings.service.mjs +4 -4
- package/esm2020/lib/speechrecorder/script/script.service.mjs +4 -4
- package/esm2020/lib/speechrecorder/session/audiorecorder.mjs +82 -77
- package/esm2020/lib/speechrecorder/session/basicrecorder.mjs +10 -5
- package/esm2020/lib/speechrecorder/session/controlpanel.mjs +67 -54
- package/esm2020/lib/speechrecorder/session/progress.mjs +4 -4
- package/esm2020/lib/speechrecorder/session/prompting.mjs +33 -29
- package/esm2020/lib/speechrecorder/session/recorder_combi_pane.mjs +15 -12
- package/esm2020/lib/speechrecorder/session/recording_list.mjs +4 -4
- package/esm2020/lib/speechrecorder/session/recordingfile/recording-file-meta.component.mjs +4 -4
- package/esm2020/lib/speechrecorder/session/recordingfile/recording-file-navi.component.mjs +12 -12
- package/esm2020/lib/speechrecorder/session/recordingfile/recording-file-u-i.component.mjs +4 -4
- package/esm2020/lib/speechrecorder/session/recordingfile/recording-file-view.component.mjs +7 -6
- package/esm2020/lib/speechrecorder/session/recordingfile/recordingfile-service.mjs +4 -4
- package/esm2020/lib/speechrecorder/session/session.service.mjs +4 -4
- package/esm2020/lib/speechrecorder/session/session_finished_dialog.mjs +4 -4
- package/esm2020/lib/speechrecorder/session/sessionmanager.mjs +76 -72
- package/esm2020/lib/speechrecorder/session/warning_bar.mjs +4 -4
- package/esm2020/lib/speechrecorder/spruploader.mjs +4 -4
- package/esm2020/lib/speechrecorder/startstopsignal/startstopsignal.mjs +1 -1
- package/esm2020/lib/speechrecorder/startstopsignal/ui/simpletrafficlight.mjs +4 -4
- package/esm2020/lib/speechrecorderng.component.mjs +4 -4
- package/esm2020/lib/speechrecorderng.module.mjs +8 -8
- package/esm2020/lib/spr.config.mjs +4 -4
- package/esm2020/lib/spr.module.version.mjs +2 -2
- package/esm2020/lib/ui/canvas_layer_comp.mjs +4 -4
- package/esm2020/lib/ui/message_dialog.mjs +4 -4
- package/esm2020/lib/ui/recordingitem_display.mjs +31 -27
- package/esm2020/lib/ui/responsive_component.mjs +24 -0
- package/esm2020/lib/utils/css_utils.mjs +1 -1
- package/esm2020/lib/utils/scrollIntoViewToBottom.mjs +4 -4
- package/fesm2015/speechrecorderng.mjs +401 -345
- package/fesm2015/speechrecorderng.mjs.map +1 -1
- package/fesm2020/speechrecorderng.mjs +401 -345
- package/fesm2020/speechrecorderng.mjs.map +1 -1
- package/lib/speechrecorder/session/audiorecorder.d.ts +6 -4
- package/lib/speechrecorder/session/basicrecorder.d.ts +8 -3
- package/lib/speechrecorder/session/controlpanel.d.ts +9 -3
- package/lib/speechrecorder/session/prompting.d.ts +5 -1
- package/lib/speechrecorder/session/recorder_combi_pane.d.ts +5 -2
- package/lib/speechrecorder/session/recordingfile/recording-file-view.component.d.ts +1 -1
- package/lib/speechrecorder/session/sessionmanager.d.ts +6 -6
- package/lib/speechrecorderng.module.d.ts +17 -18
- package/lib/spr.module.version.d.ts +1 -1
- package/lib/ui/recordingitem_display.d.ts +8 -4
- package/lib/ui/responsive_component.d.ts +9 -0
- package/package.json +1 -1
|
@@ -14,7 +14,8 @@ import * as i2 from '@angular/material/icon';
|
|
|
14
14
|
import { MatIconModule } from '@angular/material/icon';
|
|
15
15
|
import * as i4 from '@angular/material/tooltip';
|
|
16
16
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
17
|
-
import * as i1$3 from '@angular/
|
|
17
|
+
import * as i1$3 from '@angular/cdk/layout';
|
|
18
|
+
import { Breakpoints } from '@angular/cdk/layout';
|
|
18
19
|
import * as i1$4 from '@angular/material/dialog';
|
|
19
20
|
import { MAT_DIALOG_DATA, MatDialogModule } from '@angular/material/dialog';
|
|
20
21
|
import * as i3 from '@angular/material/button';
|
|
@@ -22,10 +23,8 @@ import { MatButtonModule } from '@angular/material/button';
|
|
|
22
23
|
import { __decorate, __param } from 'tslib';
|
|
23
24
|
import * as i3$1 from '@angular/material/progress-spinner';
|
|
24
25
|
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
|
25
|
-
import * as
|
|
26
|
-
import * as i8 from '@angular/material/progress-bar';
|
|
26
|
+
import * as i7 from '@angular/material/progress-bar';
|
|
27
27
|
import { MatProgressBarModule } from '@angular/material/progress-bar';
|
|
28
|
-
import { FlexLayoutModule } from '@angular/flex-layout';
|
|
29
28
|
import * as i2$1 from '@angular/material/card';
|
|
30
29
|
import { MatCardModule } from '@angular/material/card';
|
|
31
30
|
import { MatDividerModule } from '@angular/material/divider';
|
|
@@ -1784,9 +1783,9 @@ class SpeechRecorderConfig {
|
|
|
1784
1783
|
this.withCredentials = false;
|
|
1785
1784
|
}
|
|
1786
1785
|
}
|
|
1787
|
-
SpeechRecorderConfig.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
1788
|
-
SpeechRecorderConfig.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
1789
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
1786
|
+
SpeechRecorderConfig.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SpeechRecorderConfig, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1787
|
+
SpeechRecorderConfig.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SpeechRecorderConfig });
|
|
1788
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SpeechRecorderConfig, decorators: [{
|
|
1790
1789
|
type: Injectable
|
|
1791
1790
|
}], ctorParameters: function () { return []; } });
|
|
1792
1791
|
|
|
@@ -1838,9 +1837,9 @@ class ProjectService {
|
|
|
1838
1837
|
}
|
|
1839
1838
|
}
|
|
1840
1839
|
ProjectService.PROJECT_API_CTX = 'project';
|
|
1841
|
-
ProjectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
1842
|
-
ProjectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
1843
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
1840
|
+
ProjectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ProjectService, deps: [{ token: i1.HttpClient }, { token: i1$1.PlatformLocation }, { token: SPEECHRECORDER_CONFIG }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1841
|
+
ProjectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ProjectService });
|
|
1842
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ProjectService, decorators: [{
|
|
1844
1843
|
type: Injectable
|
|
1845
1844
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: i1$1.PlatformLocation }, { type: SpeechRecorderConfig, decorators: [{
|
|
1846
1845
|
type: Inject,
|
|
@@ -1896,9 +1895,9 @@ class SessionService {
|
|
|
1896
1895
|
}
|
|
1897
1896
|
}
|
|
1898
1897
|
SessionService.SESSION_API_CTX = 'session';
|
|
1899
|
-
SessionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
1900
|
-
SessionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
1901
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
1898
|
+
SessionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SessionService, deps: [{ token: i1.HttpClient }, { token: SPEECHRECORDER_CONFIG }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1899
|
+
SessionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SessionService });
|
|
1900
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SessionService, decorators: [{
|
|
1902
1901
|
type: Injectable
|
|
1903
1902
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: SpeechRecorderConfig, decorators: [{
|
|
1904
1903
|
type: Inject,
|
|
@@ -1937,8 +1936,8 @@ class SimpleTrafficLight {
|
|
|
1937
1936
|
}
|
|
1938
1937
|
}
|
|
1939
1938
|
}
|
|
1940
|
-
SimpleTrafficLight.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
1941
|
-
SimpleTrafficLight.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
1939
|
+
SimpleTrafficLight.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SimpleTrafficLight, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1940
|
+
SimpleTrafficLight.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: SimpleTrafficLight, selector: "app-simpletrafficlight", inputs: { status: "status" }, ngImport: i0, template: `
|
|
1942
1941
|
|
|
1943
1942
|
<div>
|
|
1944
1943
|
<div class="circle {{lighttop}}"></div>
|
|
@@ -1946,7 +1945,7 @@ SimpleTrafficLight.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
|
|
|
1946
1945
|
<div class="circle {{lightbottom}}"></div>
|
|
1947
1946
|
</div>
|
|
1948
1947
|
`, isInline: true, styles: [".circle{width:50px;height:50px;border-radius:50%;margin:5px;background:grey}\n", ".red{background:red}\n", ".yellow{background:yellow}\n", ".green{background:green}\n", ".black{background:black}\n", ":host{display:flex;flex-direction:column;background:black;padding:2px;height:170px;max-height:170px;flex:0 0 content}\n"] });
|
|
1949
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
1948
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SimpleTrafficLight, decorators: [{
|
|
1950
1949
|
type: Component,
|
|
1951
1950
|
args: [{ selector: 'app-simpletrafficlight', template: `
|
|
1952
1951
|
|
|
@@ -2017,9 +2016,9 @@ class CanvasLayerComponent {
|
|
|
2017
2016
|
}
|
|
2018
2017
|
}
|
|
2019
2018
|
}
|
|
2020
|
-
CanvasLayerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
2021
|
-
CanvasLayerComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.
|
|
2022
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
2019
|
+
CanvasLayerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CanvasLayerComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2020
|
+
CanvasLayerComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: CanvasLayerComponent, ngImport: i0 });
|
|
2021
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CanvasLayerComponent, decorators: [{
|
|
2023
2022
|
type: Directive
|
|
2024
2023
|
}], ctorParameters: function () { return []; } });
|
|
2025
2024
|
|
|
@@ -2259,9 +2258,9 @@ class BasicAudioCanvasLayerComponent extends CanvasLayerComponent {
|
|
|
2259
2258
|
//});
|
|
2260
2259
|
}
|
|
2261
2260
|
}
|
|
2262
|
-
BasicAudioCanvasLayerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
2263
|
-
BasicAudioCanvasLayerComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.
|
|
2264
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
2261
|
+
BasicAudioCanvasLayerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BasicAudioCanvasLayerComponent, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2262
|
+
BasicAudioCanvasLayerComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: BasicAudioCanvasLayerComponent, usesInheritance: true, ngImport: i0 });
|
|
2263
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BasicAudioCanvasLayerComponent, decorators: [{
|
|
2265
2264
|
type: Directive
|
|
2266
2265
|
}] });
|
|
2267
2266
|
class AudioCanvasLayerComponent extends BasicAudioCanvasLayerComponent {
|
|
@@ -2462,9 +2461,9 @@ class AudioCanvasLayerComponent extends BasicAudioCanvasLayerComponent {
|
|
|
2462
2461
|
}
|
|
2463
2462
|
}
|
|
2464
2463
|
}
|
|
2465
|
-
AudioCanvasLayerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
2466
|
-
AudioCanvasLayerComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.
|
|
2467
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
2464
|
+
AudioCanvasLayerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AudioCanvasLayerComponent, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2465
|
+
AudioCanvasLayerComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", 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 });
|
|
2466
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AudioCanvasLayerComponent, decorators: [{
|
|
2468
2467
|
type: Directive
|
|
2469
2468
|
}], propDecorators: { bgCanvasRef: [{
|
|
2470
2469
|
type: ViewChild,
|
|
@@ -2787,14 +2786,14 @@ class AudioSignal extends AudioCanvasLayerComponent {
|
|
|
2787
2786
|
this.playFramePosition = 0;
|
|
2788
2787
|
}
|
|
2789
2788
|
}
|
|
2790
|
-
AudioSignal.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
2791
|
-
AudioSignal.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
2789
|
+
AudioSignal.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AudioSignal, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2790
|
+
AudioSignal.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", 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: `
|
|
2792
2791
|
<canvas #bg height="10"></canvas>
|
|
2793
2792
|
<canvas #audioSignal height="10"></canvas>
|
|
2794
2793
|
<canvas #cursor height="10" (mousedown)="selectionStart($event)" (mouseover)="updateCursorCanvas($event)" (mousemove)="updateCursorCanvas($event)"
|
|
2795
2794
|
(mouseleave)="updateCursorCanvas($event, false)"></canvas>
|
|
2796
2795
|
<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"] });
|
|
2797
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
2796
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AudioSignal, decorators: [{
|
|
2798
2797
|
type: Component,
|
|
2799
2798
|
args: [{ selector: 'audio-signal', template: `
|
|
2800
2799
|
<canvas #bg height="10"></canvas>
|
|
@@ -3757,14 +3756,14 @@ class Sonagram extends AudioCanvasLayerComponent {
|
|
|
3757
3756
|
//this.startRender();
|
|
3758
3757
|
}
|
|
3759
3758
|
}
|
|
3760
|
-
Sonagram.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
3761
|
-
Sonagram.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
3759
|
+
Sonagram.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: Sonagram, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
3760
|
+
Sonagram.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", 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: `
|
|
3762
3761
|
<canvas #sonagram height="10"></canvas>
|
|
3763
3762
|
<canvas #bg height="10"></canvas>
|
|
3764
3763
|
<canvas #cursor height="10" (mousedown)="selectionStart($event)" (mouseover)="updateCursorCanvas($event)" (mousemove)="updateCursorCanvas($event)"
|
|
3765
3764
|
(mouseleave)="updateCursorCanvas($event, false)"></canvas>
|
|
3766
3765
|
<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"] });
|
|
3767
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
3766
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: Sonagram, decorators: [{
|
|
3768
3767
|
type: Component,
|
|
3769
3768
|
args: [{ selector: 'audio-sonagram', template: `
|
|
3770
3769
|
<canvas #sonagram height="10"></canvas>
|
|
@@ -4116,8 +4115,8 @@ class AudioClipUIContainer extends BasicAudioCanvasLayerComponent {
|
|
|
4116
4115
|
}
|
|
4117
4116
|
}
|
|
4118
4117
|
AudioClipUIContainer.DIVIDER_PIXEL_SIZE = 10;
|
|
4119
|
-
AudioClipUIContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
4120
|
-
AudioClipUIContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
4118
|
+
AudioClipUIContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AudioClipUIContainer, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4119
|
+
AudioClipUIContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", 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: `
|
|
4121
4120
|
<div #virtualCanvas>
|
|
4122
4121
|
<canvas #divider (mousedown)="mousedown($event)" (mouseover)="mouseover($event)"
|
|
4123
4122
|
(mouseleave)="mouseleave($event)" height="10"></canvas>
|
|
@@ -4125,7 +4124,7 @@ AudioClipUIContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
|
4125
4124
|
<audio-sonagram [pointerPosition]="pointer" [selecting]="selecting" [selection]="selection" (pointerPositionEventEmitter)="pointerPositionChanged($event)" (selectingEventEmitter)="selectingChanged($event)" (selectedEventEmitter)="selectionChanged($event)"></audio-sonagram>
|
|
4126
4125
|
</div>
|
|
4127
4126
|
`, isInline: true, styles: ["div{margin:0;padding:0;top:0;left:0;width:100%;height:100%;position:relative;box-sizing:border-box;transform:none;overflow:hidden}\n", "canvas{top:0;left:0;width:0;height:0;cursor:ns-resize;position:absolute;zIndex:1;transform:none}\n", "audio-signal{top:0;left:0;position:absolute;zIndex:1;transform:none}\n", "audio-sonagram{top:0;left:0;position:absolute;zIndex:1;transform:none}\n"], dependencies: [{ kind: "component", type: AudioSignal, selector: "audio-signal" }, { kind: "component", type: Sonagram, selector: "audio-sonagram" }] });
|
|
4128
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
4127
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AudioClipUIContainer, decorators: [{
|
|
4129
4128
|
type: Component,
|
|
4130
4129
|
args: [{ selector: 'app-audio', template: `
|
|
4131
4130
|
<div #virtualCanvas>
|
|
@@ -4274,13 +4273,13 @@ class AudioDisplayScrollPane {
|
|
|
4274
4273
|
this.ac.playFramePosition = framePos;
|
|
4275
4274
|
}
|
|
4276
4275
|
}
|
|
4277
|
-
AudioDisplayScrollPane.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
4278
|
-
AudioDisplayScrollPane.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
4276
|
+
AudioDisplayScrollPane.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AudioDisplayScrollPane, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4277
|
+
AudioDisplayScrollPane.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", 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: `
|
|
4279
4278
|
|
|
4280
4279
|
<app-audio #audioSignalContainer (selectionEventEmitter)="selectionChanged($event)"></app-audio>
|
|
4281
4280
|
|
|
4282
4281
|
`, isInline: true, styles: [":host{flex:2;width:100%;background:darkgray;box-sizing:border-box;height:100%;position:relative;overflow-x:scroll;overflow-y:auto}\n", "app-audio{margin:0;padding:0;top:0;left:0;width:100%;height:100%;box-sizing:border-box}\n"], dependencies: [{ kind: "component", type: AudioClipUIContainer, selector: "app-audio", inputs: ["audioData", "audioClip"], outputs: ["selectionEventEmitter"] }] });
|
|
4283
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
4282
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AudioDisplayScrollPane, decorators: [{
|
|
4284
4283
|
type: Component,
|
|
4285
4284
|
args: [{ selector: 'audio-display-scroll-pane', template: `
|
|
4286
4285
|
|
|
@@ -4340,8 +4339,8 @@ class AudioDisplayControl {
|
|
|
4340
4339
|
this.status = 'ERROR';
|
|
4341
4340
|
}
|
|
4342
4341
|
}
|
|
4343
|
-
AudioDisplayControl.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
4344
|
-
AudioDisplayControl.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
4342
|
+
AudioDisplayControl.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AudioDisplayControl, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4343
|
+
AudioDisplayControl.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", 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: `
|
|
4345
4344
|
<div #controlPanel style="display:flex;flex-direction: row;">
|
|
4346
4345
|
<fieldset>
|
|
4347
4346
|
|
|
@@ -4385,7 +4384,7 @@ AudioDisplayControl.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
|
|
|
4385
4384
|
|
|
4386
4385
|
</fieldset>
|
|
4387
4386
|
</div>`, isInline: true, styles: [":host{flex:0}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i4.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "component", type: i4$1.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }] });
|
|
4388
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
4387
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AudioDisplayControl, decorators: [{
|
|
4389
4388
|
type: Component,
|
|
4390
4389
|
args: [{ selector: 'audio-display-control', template: `
|
|
4391
4390
|
<div #controlPanel style="display:flex;flex-direction: row;">
|
|
@@ -4518,8 +4517,8 @@ class AudioDisplay {
|
|
|
4518
4517
|
this.status = 'ERROR';
|
|
4519
4518
|
}
|
|
4520
4519
|
}
|
|
4521
|
-
AudioDisplay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
4522
|
-
AudioDisplay.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
4520
|
+
AudioDisplay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AudioDisplay, deps: [{ token: i1$2.ActivatedRoute }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4521
|
+
AudioDisplay.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", 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: `
|
|
4523
4522
|
|
|
4524
4523
|
<audio-display-scroll-pane #audioDisplayScrollPane></audio-display-scroll-pane>
|
|
4525
4524
|
|
|
@@ -4532,8 +4531,8 @@ AudioDisplay.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version:
|
|
|
4532
4531
|
[zoomOutAction]="zoomOutAction"
|
|
4533
4532
|
[zoomSelectedAction]="zoomSelectedAction"
|
|
4534
4533
|
[zoomFitToPanelAction]="zoomFitToPanelAction"></audio-display-control>
|
|
4535
|
-
`, isInline: true, styles: [":host{display:flex;flex-direction:column;position:absolute;bottom:
|
|
4536
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
4534
|
+
`, isInline: true, styles: [":host{display:flex;flex-direction:column;position:absolute;bottom:0;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"] }] });
|
|
4535
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AudioDisplay, decorators: [{
|
|
4537
4536
|
type: Component,
|
|
4538
4537
|
args: [{ selector: 'app-audiodisplay', template: `
|
|
4539
4538
|
|
|
@@ -4548,7 +4547,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
4548
4547
|
[zoomOutAction]="zoomOutAction"
|
|
4549
4548
|
[zoomSelectedAction]="zoomSelectedAction"
|
|
4550
4549
|
[zoomFitToPanelAction]="zoomFitToPanelAction"></audio-display-control>
|
|
4551
|
-
`, styles: [":host{display:flex;flex-direction:column;position:absolute;bottom:
|
|
4550
|
+
`, styles: [":host{display:flex;flex-direction:column;position:absolute;bottom:0;height:100%;width:100%;overflow:hidden;padding:20px;z-index:5;box-sizing:border-box;background-color:#e6e6e6}\n", "legend{margin-left:1em;padding:.2em .8em;font-size:.8em}\n", "fieldset{border:1px darkgray solid}\n"] }]
|
|
4552
4551
|
}], ctorParameters: function () { return [{ type: i1$2.ActivatedRoute }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }]; }, propDecorators: { playStartAction: [{
|
|
4553
4552
|
type: Input
|
|
4554
4553
|
}], playStopAction: [{
|
|
@@ -4566,6 +4565,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
4566
4565
|
type: Input
|
|
4567
4566
|
}] } });
|
|
4568
4567
|
|
|
4568
|
+
class ResponsiveComponent {
|
|
4569
|
+
constructor(breakpointObserver) {
|
|
4570
|
+
this.breakpointObserver = breakpointObserver;
|
|
4571
|
+
this.screenXs = false;
|
|
4572
|
+
breakpointObserver
|
|
4573
|
+
.observe([
|
|
4574
|
+
Breakpoints.XSmall
|
|
4575
|
+
])
|
|
4576
|
+
.subscribe(result => {
|
|
4577
|
+
this.screenXs = (result.matches);
|
|
4578
|
+
//console.debug("Screen XS: "+this.screenXs);
|
|
4579
|
+
});
|
|
4580
|
+
}
|
|
4581
|
+
}
|
|
4582
|
+
ResponsiveComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ResponsiveComponent, deps: [{ token: i1$3.BreakpointObserver }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4583
|
+
ResponsiveComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: ResponsiveComponent, ngImport: i0 });
|
|
4584
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ResponsiveComponent, decorators: [{
|
|
4585
|
+
type: Directive
|
|
4586
|
+
}], ctorParameters: function () { return [{ type: i1$3.BreakpointObserver }]; } });
|
|
4587
|
+
|
|
4569
4588
|
class ScrollIntoViewDirective {
|
|
4570
4589
|
constructor(elRef) {
|
|
4571
4590
|
this.elRef = elRef;
|
|
@@ -4576,9 +4595,9 @@ class ScrollIntoViewDirective {
|
|
|
4576
4595
|
}
|
|
4577
4596
|
}
|
|
4578
4597
|
}
|
|
4579
|
-
ScrollIntoViewDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
4580
|
-
ScrollIntoViewDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.
|
|
4581
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
4598
|
+
ScrollIntoViewDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ScrollIntoViewDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4599
|
+
ScrollIntoViewDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: ScrollIntoViewDirective, selector: "[scrollIntoViewToBottom]", inputs: { scrollIntoViewToBottom: "scrollIntoViewToBottom" }, ngImport: i0 });
|
|
4600
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ScrollIntoViewDirective, decorators: [{
|
|
4582
4601
|
type: Directive,
|
|
4583
4602
|
args: [{
|
|
4584
4603
|
selector: "[scrollIntoViewToBottom]"
|
|
@@ -4612,8 +4631,8 @@ class Progress {
|
|
|
4612
4631
|
}
|
|
4613
4632
|
}
|
|
4614
4633
|
}
|
|
4615
|
-
Progress.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
4616
|
-
Progress.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
4634
|
+
Progress.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: Progress, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4635
|
+
Progress.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", 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: `
|
|
4617
4636
|
|
|
4618
4637
|
<table class="mat-typography">
|
|
4619
4638
|
<thead>
|
|
@@ -4641,7 +4660,7 @@ Progress.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
|
4641
4660
|
</tbody>
|
|
4642
4661
|
</table>
|
|
4643
4662
|
`, isInline: true, styles: [":host{overflow-x:hidden;overflow-y:scroll;padding:10pt;flex:.1 0 content;background:white;min-height:1px}\n", "table{min-height:1px;border-collapse:collapse}table,th,td{border:1px solid lightgrey;padding:.5em}\n", ".selRow{background:lightblue}\n", ".promptDescriptor{max-width:200px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}\n"], dependencies: [{ kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: ScrollIntoViewDirective, selector: "[scrollIntoViewToBottom]", inputs: ["scrollIntoViewToBottom"] }] });
|
|
4644
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
4663
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: Progress, decorators: [{
|
|
4645
4664
|
type: Component,
|
|
4646
4665
|
args: [{ selector: 'app-sprprogress', template: `
|
|
4647
4666
|
|
|
@@ -4703,12 +4722,12 @@ class Recinstructions {
|
|
|
4703
4722
|
return riTxt;
|
|
4704
4723
|
}
|
|
4705
4724
|
}
|
|
4706
|
-
Recinstructions.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
4707
|
-
Recinstructions.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
4725
|
+
Recinstructions.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: Recinstructions, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4726
|
+
Recinstructions.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: Recinstructions, selector: "spr-recinstructions", inputs: { recinstructions: "recinstructions", selectedItemIdx: "selectedItemIdx", itemCount: "itemCount" }, ngImport: i0, template: `
|
|
4708
4727
|
|
|
4709
4728
|
{{displayText()}}
|
|
4710
4729
|
`, isInline: true, styles: [":host{justify-content:left;align-items:flex-start;background:white;text-align:left;font-size:1em;flex:0;width:100%}\n"] });
|
|
4711
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
4730
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: Recinstructions, decorators: [{
|
|
4712
4731
|
type: Component,
|
|
4713
4732
|
args: [{ selector: 'spr-recinstructions', template: `
|
|
4714
4733
|
|
|
@@ -4882,13 +4901,13 @@ class Prompter {
|
|
|
4882
4901
|
}
|
|
4883
4902
|
}
|
|
4884
4903
|
}
|
|
4885
|
-
Prompter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
4886
|
-
Prompter.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
4904
|
+
Prompter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: Prompter, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: ProjectService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4905
|
+
Prompter.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: Prompter, selector: "app-sprprompter", inputs: { projectName: "projectName", prompterHeight: "prompterHeight", promptMediaItems: "promptMediaItems" }, host: { properties: { "class.fill": "this.prompterStyleFill" } }, ngImport: i0, template: `
|
|
4887
4906
|
|
|
4888
4907
|
<!--<ng-template [ngIf]="text">{{text}}</ng-template>-->
|
|
4889
4908
|
<!-- <img *ngIf="src" #promptImage [src]="srcUrl()" [height]="prompterHeight-20" /> -->
|
|
4890
4909
|
`, 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"] });
|
|
4891
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
4910
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: Prompter, decorators: [{
|
|
4892
4911
|
type: Component,
|
|
4893
4912
|
args: [{ selector: 'app-sprprompter', template: `
|
|
4894
4913
|
|
|
@@ -5036,11 +5055,11 @@ class PromptContainer {
|
|
|
5036
5055
|
}
|
|
5037
5056
|
}
|
|
5038
5057
|
}
|
|
5039
|
-
PromptContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
5040
|
-
PromptContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
5058
|
+
PromptContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PromptContainer, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
5059
|
+
PromptContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", 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: `
|
|
5041
5060
|
<app-sprprompter #prompter [projectName]="projectName" [promptMediaItems]="mediaitems" [style.font-size]="fontSize+'px'" [style.visibility]="prDisplay" [prompterHeight]="prompterHeight"></app-sprprompter>
|
|
5042
5061
|
`, isInline: true, styles: [":host{flex:3;padding:10pt;height:100%;max-height:100%;justify-content:center;align-items:center;background:white;text-align:center;display:flex;flex-direction:column;min-height:0px;width:100%}\n"], dependencies: [{ kind: "component", type: Prompter, selector: "app-sprprompter", inputs: ["projectName", "prompterHeight", "promptMediaItems"] }] });
|
|
5043
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
5062
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PromptContainer, decorators: [{
|
|
5044
5063
|
type: Component,
|
|
5045
5064
|
args: [{ selector: 'app-sprpromptcontainer', template: `
|
|
5046
5065
|
<app-sprprompter #prompter [projectName]="projectName" [promptMediaItems]="mediaitems" [style.font-size]="fontSize+'px'" [style.visibility]="prDisplay" [prompterHeight]="prompterHeight"></app-sprprompter>
|
|
@@ -5163,15 +5182,15 @@ class PromptingContainer {
|
|
|
5163
5182
|
//ev.preventDefault();
|
|
5164
5183
|
}
|
|
5165
5184
|
}
|
|
5166
|
-
PromptingContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
5167
|
-
PromptingContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
5185
|
+
PromptingContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PromptingContainer, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
5186
|
+
PromptingContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", 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: `
|
|
5168
5187
|
<spr-recinstructions [selectedItemIdx]="selectedItemIdx" [itemCount]="itemCount"
|
|
5169
5188
|
[recinstructions]="promptItem?.recinstructions?.recinstructions"></spr-recinstructions>
|
|
5170
5189
|
<app-sprpromptcontainer [projectName]="projectName"
|
|
5171
5190
|
[mediaitems]="showPrompt?(promptItem?promptItem.mediaitems:null):null"></app-sprpromptcontainer>
|
|
5172
5191
|
|
|
5173
5192
|
`, isInline: true, styles: [":host{position:relative;flex:3;padding:10pt;justify-content:center;align-items:center;background:white;text-align:center;display:flex;flex-direction:column;min-height:0px}\n"], dependencies: [{ kind: "component", type: Recinstructions, selector: "spr-recinstructions", inputs: ["recinstructions", "selectedItemIdx", "itemCount"] }, { kind: "component", type: PromptContainer, selector: "app-sprpromptcontainer", inputs: ["projectName", "mediaitems"] }] });
|
|
5174
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
5193
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PromptingContainer, decorators: [{
|
|
5175
5194
|
type: Component,
|
|
5176
5195
|
args: [{ selector: 'app-sprpromptingcontainer', template: `
|
|
5177
5196
|
<spr-recinstructions [selectedItemIdx]="selectedItemIdx" [itemCount]="itemCount"
|
|
@@ -5205,8 +5224,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
5205
5224
|
type: HostListener,
|
|
5206
5225
|
args: ['touchcancel', ['$event']]
|
|
5207
5226
|
}] } });
|
|
5208
|
-
class Prompting {
|
|
5209
|
-
constructor() {
|
|
5227
|
+
class Prompting extends ResponsiveComponent {
|
|
5228
|
+
constructor(bpo) {
|
|
5229
|
+
super(bpo);
|
|
5230
|
+
this.bpo = bpo;
|
|
5210
5231
|
this.promptItem = null;
|
|
5211
5232
|
this.showPrompt = false;
|
|
5212
5233
|
this.items = null;
|
|
@@ -5227,16 +5248,16 @@ class Prompting {
|
|
|
5227
5248
|
this.onPrevItem.emit();
|
|
5228
5249
|
}
|
|
5229
5250
|
}
|
|
5230
|
-
Prompting.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
5231
|
-
Prompting.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
5251
|
+
Prompting.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: Prompting, deps: [{ token: i1$3.BreakpointObserver }], target: i0.ɵɵFactoryTarget.Component });
|
|
5252
|
+
Prompting.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", 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 }], usesInheritance: true, ngImport: i0, template: `
|
|
5232
5253
|
|
|
5233
5254
|
<app-simpletrafficlight [status]="startStopSignalState"></app-simpletrafficlight>
|
|
5234
5255
|
<app-sprpromptingcontainer [projectName]="projectName" [promptItem]="promptItem" [showPrompt]="showPrompt"
|
|
5235
5256
|
[itemCount]="items?.length" [selectedItemIdx]="selectedItemIdx"
|
|
5236
5257
|
[transportActions]="transportActions"></app-sprpromptingcontainer>
|
|
5237
|
-
<app-sprprogress
|
|
5258
|
+
<app-sprprogress *ngIf="!screenXs" [items]="items" [selectedItemIdx]="selectedItemIdx"
|
|
5238
5259
|
(onRowSelect)="itemSelect($event)"></app-sprprogress>
|
|
5239
|
-
<div
|
|
5260
|
+
<div #asCt [class.active]="!audioSignalCollapsed && !screenXs">
|
|
5240
5261
|
|
|
5241
5262
|
<app-audiodisplay #audioSignalContainer [class.active]="!audioSignalCollapsed"
|
|
5242
5263
|
[audioClip]="displayAudioClip"
|
|
@@ -5250,8 +5271,8 @@ Prompting.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14
|
|
|
5250
5271
|
|
|
5251
5272
|
|
|
5252
5273
|
|
|
5253
|
-
`, isInline: true, styles: [":host{position:relative;margin:0;padding:0;background:lightgrey;width:100%;flex:1;min-height:0px;display:flex;flex-direction:row;flex-wrap:nowrap}\n", "app-simpletrafficlight{margin:10px;min-height:0px;z-index:3}\n", "app-sprprogress{z-index:3}\n", "div{display:none;position:absolute;z-index:5}\n", "div.active{display:flex;position:absolute;bottom:
|
|
5254
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
5274
|
+
`, 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:0;height:90%;width:100%;overflow:hidden;padding:0;z-index:5;box-sizing:border-box;background-color:#0000}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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"] }] });
|
|
5275
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: Prompting, decorators: [{
|
|
5255
5276
|
type: Component,
|
|
5256
5277
|
args: [{ selector: 'app-sprprompting', template: `
|
|
5257
5278
|
|
|
@@ -5259,9 +5280,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
5259
5280
|
<app-sprpromptingcontainer [projectName]="projectName" [promptItem]="promptItem" [showPrompt]="showPrompt"
|
|
5260
5281
|
[itemCount]="items?.length" [selectedItemIdx]="selectedItemIdx"
|
|
5261
5282
|
[transportActions]="transportActions"></app-sprpromptingcontainer>
|
|
5262
|
-
<app-sprprogress
|
|
5283
|
+
<app-sprprogress *ngIf="!screenXs" [items]="items" [selectedItemIdx]="selectedItemIdx"
|
|
5263
5284
|
(onRowSelect)="itemSelect($event)"></app-sprprogress>
|
|
5264
|
-
<div
|
|
5285
|
+
<div #asCt [class.active]="!audioSignalCollapsed && !screenXs">
|
|
5265
5286
|
|
|
5266
5287
|
<app-audiodisplay #audioSignalContainer [class.active]="!audioSignalCollapsed"
|
|
5267
5288
|
[audioClip]="displayAudioClip"
|
|
@@ -5275,8 +5296,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
5275
5296
|
|
|
5276
5297
|
|
|
5277
5298
|
|
|
5278
|
-
`, styles: [":host{position:relative;margin:0;padding:0;background:lightgrey;width:100%;flex:1;min-height:0px;display:flex;flex-direction:row;flex-wrap:nowrap}\n", "app-simpletrafficlight{margin:10px;min-height:0px;z-index:3}\n", "app-sprprogress{z-index:3}\n", "div{display:none;position:absolute;z-index:5}\n", "div.active{display:flex;position:absolute;bottom:
|
|
5279
|
-
}], propDecorators: { simpleTrafficLight: [{
|
|
5299
|
+
`, 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:0;height:90%;width:100%;overflow:hidden;padding:0;z-index:5;box-sizing:border-box;background-color:#0000}\n"] }]
|
|
5300
|
+
}], ctorParameters: function () { return [{ type: i1$3.BreakpointObserver }]; }, propDecorators: { simpleTrafficLight: [{
|
|
5280
5301
|
type: ViewChild,
|
|
5281
5302
|
args: [SimpleTrafficLight, { static: true }]
|
|
5282
5303
|
}], audioDisplay: [{
|
|
@@ -5327,8 +5348,8 @@ class SessionFinishedDialog {
|
|
|
5327
5348
|
this.dialogRef.close();
|
|
5328
5349
|
}
|
|
5329
5350
|
}
|
|
5330
|
-
SessionFinishedDialog.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
5331
|
-
SessionFinishedDialog.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
5351
|
+
SessionFinishedDialog.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SessionFinishedDialog, deps: [{ token: i1$4.MatDialogRef }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component });
|
|
5352
|
+
SessionFinishedDialog.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", 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>
|
|
5332
5353
|
<div mat-dialog-content>
|
|
5333
5354
|
|
|
5334
5355
|
<p>Thank you! The recording session is complete.</p>
|
|
@@ -5338,7 +5359,7 @@ SessionFinishedDialog.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
5338
5359
|
<button mat-button (click)="closeDialog()">OK</button>
|
|
5339
5360
|
</div>
|
|
5340
5361
|
`, isInline: true, dependencies: [{ kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i3.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: i1$4.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1$4.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "directive", type: i1$4.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }] });
|
|
5341
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
5362
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SessionFinishedDialog, decorators: [{
|
|
5342
5363
|
type: Component,
|
|
5343
5364
|
args: [{
|
|
5344
5365
|
selector: 'spr-session-finished-dialog',
|
|
@@ -5367,8 +5388,8 @@ class MessageDialog {
|
|
|
5367
5388
|
this.dialogRef.close();
|
|
5368
5389
|
}
|
|
5369
5390
|
}
|
|
5370
|
-
MessageDialog.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
5371
|
-
MessageDialog.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
5391
|
+
MessageDialog.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MessageDialog, deps: [{ token: i1$4.MatDialogRef }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component });
|
|
5392
|
+
MessageDialog.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: MessageDialog, selector: "msg-dialog", ngImport: i0, template: `<h1 mat-dialog-title><mat-icon *ngIf="data.type==='error'" [style.color]="'red'">error</mat-icon>
|
|
5372
5393
|
<mat-icon *ngIf="data.type==='warning'" [style.color]="'yellow'">warning</mat-icon>{{data.title}}</h1>
|
|
5373
5394
|
<div mat-dialog-content>
|
|
5374
5395
|
|
|
@@ -5380,7 +5401,7 @@ MessageDialog.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version:
|
|
|
5380
5401
|
<button mat-button (click)="closeDialog()">OK</button>
|
|
5381
5402
|
</div>
|
|
5382
5403
|
`, isInline: true, dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i3.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: i1$4.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1$4.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "directive", type: i1$4.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }] });
|
|
5383
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
5404
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MessageDialog, decorators: [{
|
|
5384
5405
|
type: Component,
|
|
5385
5406
|
args: [{
|
|
5386
5407
|
selector: 'msg-dialog',
|
|
@@ -5719,14 +5740,14 @@ class LevelBar {
|
|
|
5719
5740
|
}
|
|
5720
5741
|
}
|
|
5721
5742
|
}
|
|
5722
|
-
LevelBar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
5723
|
-
LevelBar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
5743
|
+
LevelBar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: LevelBar, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
5744
|
+
LevelBar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", 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: `
|
|
5724
5745
|
<div #virtualCanvas>
|
|
5725
5746
|
<canvas #levelbar></canvas>
|
|
5726
5747
|
<canvas #markerCanvas></canvas>
|
|
5727
5748
|
</div>
|
|
5728
5749
|
`, 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"] });
|
|
5729
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
5750
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: LevelBar, decorators: [{
|
|
5730
5751
|
type: Component,
|
|
5731
5752
|
args: [{ selector: 'audio-levelbar', template: `
|
|
5732
5753
|
<div #virtualCanvas>
|
|
@@ -5762,14 +5783,14 @@ class StatusDisplay {
|
|
|
5762
5783
|
this.statusWaiting = false;
|
|
5763
5784
|
}
|
|
5764
5785
|
}
|
|
5765
|
-
StatusDisplay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
5766
|
-
StatusDisplay.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
5786
|
+
StatusDisplay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: StatusDisplay, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5787
|
+
StatusDisplay.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: StatusDisplay, selector: "app-sprstatusdisplay", inputs: { statusAlertType: "statusAlertType", statusMsg: "statusMsg", statusWaiting: "statusWaiting" }, ngImport: i0, template: `
|
|
5767
5788
|
<p matTooltip="Status">
|
|
5768
5789
|
<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>
|
|
5769
5790
|
{{statusMsg}}
|
|
5770
5791
|
</p>
|
|
5771
5792
|
`, isInline: true, styles: [":host{display:inline;text-align:left;font-size:smaller}\n", "p{padding:4px;white-space:nowrap;display:inline-block}\n", "mat-progress-spinner{color:#000;display:inline-block}\n", "span{color:red}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i3$1.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "diameter", "strokeWidth", "mode", "value"], exportAs: ["matProgressSpinner"] }, { kind: "directive", type: i4.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }] });
|
|
5772
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
5793
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: StatusDisplay, decorators: [{
|
|
5773
5794
|
type: Component,
|
|
5774
5795
|
args: [{ selector: 'app-sprstatusdisplay', template: `
|
|
5775
5796
|
<p matTooltip="Status">
|
|
@@ -5788,6 +5809,7 @@ class UploadStatus {
|
|
|
5788
5809
|
constructor() {
|
|
5789
5810
|
this._awaitNewUpload = false;
|
|
5790
5811
|
this.spinnerMode = 'determinate';
|
|
5812
|
+
this._colorStatus = 'primary';
|
|
5791
5813
|
this._value = 100;
|
|
5792
5814
|
this.displayValue = null;
|
|
5793
5815
|
this.toolTipText = '';
|
|
@@ -5825,17 +5847,26 @@ class UploadStatus {
|
|
|
5825
5847
|
}
|
|
5826
5848
|
set status(status) {
|
|
5827
5849
|
this._status = status;
|
|
5850
|
+
if ('accent' === status) {
|
|
5851
|
+
this._colorStatus = 'accent';
|
|
5852
|
+
}
|
|
5853
|
+
else if ('warn' === status) {
|
|
5854
|
+
this._colorStatus = 'warn';
|
|
5855
|
+
}
|
|
5856
|
+
else {
|
|
5857
|
+
this._colorStatus = 'primary';
|
|
5858
|
+
}
|
|
5828
5859
|
this._updateSpinner();
|
|
5829
5860
|
}
|
|
5830
5861
|
get status() {
|
|
5831
5862
|
return this._status;
|
|
5832
5863
|
}
|
|
5833
5864
|
}
|
|
5834
|
-
UploadStatus.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
5835
|
-
UploadStatus.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
5865
|
+
UploadStatus.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: UploadStatus, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5866
|
+
UploadStatus.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: UploadStatus, selector: "app-uploadstatus", inputs: { value: "value", awaitNewUpload: "awaitNewUpload", status: "status" }, ngImport: i0, template: `
|
|
5836
5867
|
<mat-progress-spinner [mode]="spinnerMode" [color]="status" [diameter]="30" [strokeWidth]="5" [value]="_value" [matTooltip]="toolTipText"></mat-progress-spinner>
|
|
5837
5868
|
`, isInline: true, styles: [":host{flex:1;text-align:left}\n", "mat-progress-spinner{display:inline-block}\n"], dependencies: [{ kind: "component", type: i3$1.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "diameter", "strokeWidth", "mode", "value"], exportAs: ["matProgressSpinner"] }, { kind: "directive", type: i4.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }] });
|
|
5838
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
5869
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: UploadStatus, decorators: [{
|
|
5839
5870
|
type: Component,
|
|
5840
5871
|
args: [{ selector: 'app-uploadstatus', template: `
|
|
5841
5872
|
<mat-progress-spinner [mode]="spinnerMode" [color]="status" [diameter]="30" [strokeWidth]="5" [value]="_value" [matTooltip]="toolTipText"></mat-progress-spinner>
|
|
@@ -5852,11 +5883,11 @@ class ProgressDisplay {
|
|
|
5852
5883
|
this.progressMsg = '[itemcode]';
|
|
5853
5884
|
}
|
|
5854
5885
|
}
|
|
5855
|
-
ProgressDisplay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
5856
|
-
ProgressDisplay.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
5886
|
+
ProgressDisplay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ProgressDisplay, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5887
|
+
ProgressDisplay.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: ProgressDisplay, selector: "app-sprprogressdisplay", ngImport: i0, template: `
|
|
5857
5888
|
<p>{{progressMsg}}</p>
|
|
5858
5889
|
`, isInline: true, styles: [":host{flex:1;width:100%;text-align:left}\n"] });
|
|
5859
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
5890
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ProgressDisplay, decorators: [{
|
|
5860
5891
|
type: Component,
|
|
5861
5892
|
args: [{ selector: 'app-sprprogressdisplay', template: `
|
|
5862
5893
|
<p>{{progressMsg}}</p>
|
|
@@ -5873,8 +5904,9 @@ class TransportActions {
|
|
|
5873
5904
|
this.bwdAction = new Action('Backward');
|
|
5874
5905
|
}
|
|
5875
5906
|
}
|
|
5876
|
-
class TransportPanel {
|
|
5877
|
-
constructor() {
|
|
5907
|
+
class TransportPanel extends ResponsiveComponent {
|
|
5908
|
+
constructor(breakpointObserver) {
|
|
5909
|
+
super(breakpointObserver);
|
|
5878
5910
|
this.navigationEnabled = true;
|
|
5879
5911
|
this.pausingEnabled = true;
|
|
5880
5912
|
}
|
|
@@ -5946,29 +5978,29 @@ class TransportPanel {
|
|
|
5946
5978
|
}
|
|
5947
5979
|
}
|
|
5948
5980
|
}
|
|
5949
|
-
TransportPanel.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
5950
|
-
TransportPanel.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
5981
|
+
TransportPanel.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: TransportPanel, deps: [{ token: i1$3.BreakpointObserver }], target: i0.ɵɵFactoryTarget.Component });
|
|
5982
|
+
TransportPanel.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: TransportPanel, selector: "app-sprtransport", inputs: { readonly: "readonly", actions: "actions", navigationEnabled: "navigationEnabled", pausingEnabled: "pausingEnabled" }, usesInheritance: true, ngImport: i0, template: `
|
|
5951
5983
|
<button id="bwdBtn" *ngIf="navigationEnabled" (click)="actions.bwdAction.perform()" [disabled]="bwdDisabled()"
|
|
5952
5984
|
mat-raised-button>
|
|
5953
5985
|
<mat-icon>chevron_left</mat-icon>
|
|
5954
5986
|
</button>
|
|
5955
5987
|
<button (click)="startStopNextPerform()" [disabled]="startDisabled() && stopDisabled() && nextDisabled()" mat-raised-button>
|
|
5956
5988
|
<mat-icon [style.color]="startStopNextIconColor()">{{startStopNextIconName()}}</mat-icon><mat-icon *ngIf="!nextDisabled()" [style.color]="nextDisabled() ? 'grey' : 'black'">chevron_right</mat-icon>
|
|
5957
|
-
<span
|
|
5989
|
+
<span *ngIf="!screenXs">{{startStopNextName()}}</span>
|
|
5958
5990
|
</button>
|
|
5959
5991
|
<button *ngIf="pausingEnabled" (click)="actions.pauseAction.perform()" [disabled]="pauseDisabled()" mat-raised-button>
|
|
5960
5992
|
<mat-icon>pause</mat-icon>
|
|
5961
|
-
<span
|
|
5993
|
+
<span *ngIf="!screenXs">Pause</span>
|
|
5962
5994
|
</button>
|
|
5963
|
-
<button id="fwdNextBtn" *ngIf="navigationEnabled"
|
|
5995
|
+
<button id="fwdNextBtn" *ngIf="navigationEnabled && !screenXs" (click)="actions.fwdNextAction.perform()" [disabled]="fwdNextDisabled()" mat-raised-button>
|
|
5964
5996
|
<mat-icon>redo</mat-icon>
|
|
5965
5997
|
</button>
|
|
5966
5998
|
<button id="fwdBtn" *ngIf="navigationEnabled" (click)="actions.fwdAction.perform()" [disabled]="fwdDisabled()" mat-raised-button>
|
|
5967
5999
|
<mat-icon>chevron_right</mat-icon>
|
|
5968
6000
|
</button>
|
|
5969
6001
|
|
|
5970
|
-
`, isInline: true, styles: [":host{flex:20;align-self:center;width:100%;text-align:center;align-content:center;margin:0}\n", "div{display:inline;flex:0}\n", "button{touch-action:manipulation}\n"], dependencies: [{ kind: "directive", type: i1$
|
|
5971
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
6002
|
+
`, 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$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"] }] });
|
|
6003
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: TransportPanel, decorators: [{
|
|
5972
6004
|
type: Component,
|
|
5973
6005
|
args: [{ selector: 'app-sprtransport', template: `
|
|
5974
6006
|
<button id="bwdBtn" *ngIf="navigationEnabled" (click)="actions.bwdAction.perform()" [disabled]="bwdDisabled()"
|
|
@@ -5977,13 +6009,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
5977
6009
|
</button>
|
|
5978
6010
|
<button (click)="startStopNextPerform()" [disabled]="startDisabled() && stopDisabled() && nextDisabled()" mat-raised-button>
|
|
5979
6011
|
<mat-icon [style.color]="startStopNextIconColor()">{{startStopNextIconName()}}</mat-icon><mat-icon *ngIf="!nextDisabled()" [style.color]="nextDisabled() ? 'grey' : 'black'">chevron_right</mat-icon>
|
|
5980
|
-
<span
|
|
6012
|
+
<span *ngIf="!screenXs">{{startStopNextName()}}</span>
|
|
5981
6013
|
</button>
|
|
5982
6014
|
<button *ngIf="pausingEnabled" (click)="actions.pauseAction.perform()" [disabled]="pauseDisabled()" mat-raised-button>
|
|
5983
6015
|
<mat-icon>pause</mat-icon>
|
|
5984
|
-
<span
|
|
6016
|
+
<span *ngIf="!screenXs">Pause</span>
|
|
5985
6017
|
</button>
|
|
5986
|
-
<button id="fwdNextBtn" *ngIf="navigationEnabled"
|
|
6018
|
+
<button id="fwdNextBtn" *ngIf="navigationEnabled && !screenXs" (click)="actions.fwdNextAction.perform()" [disabled]="fwdNextDisabled()" mat-raised-button>
|
|
5987
6019
|
<mat-icon>redo</mat-icon>
|
|
5988
6020
|
</button>
|
|
5989
6021
|
<button id="fwdBtn" *ngIf="navigationEnabled" (click)="actions.fwdAction.perform()" [disabled]="fwdDisabled()" mat-raised-button>
|
|
@@ -5991,7 +6023,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
5991
6023
|
</button>
|
|
5992
6024
|
|
|
5993
6025
|
`, 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"] }]
|
|
5994
|
-
}], propDecorators: { readonly: [{
|
|
6026
|
+
}], ctorParameters: function () { return [{ type: i1$3.BreakpointObserver }]; }, propDecorators: { readonly: [{
|
|
5995
6027
|
type: Input
|
|
5996
6028
|
}], actions: [{
|
|
5997
6029
|
type: Input
|
|
@@ -6008,11 +6040,11 @@ class WakeLockIndicator {
|
|
|
6008
6040
|
this._screenLocked = screenLock;
|
|
6009
6041
|
}
|
|
6010
6042
|
}
|
|
6011
|
-
WakeLockIndicator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
6012
|
-
WakeLockIndicator.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
6043
|
+
WakeLockIndicator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: WakeLockIndicator, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6044
|
+
WakeLockIndicator.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: WakeLockIndicator, selector: "app-wakelockindicator", inputs: { screenLocked: "screenLocked" }, ngImport: i0, template: `
|
|
6013
6045
|
<mat-icon *ngIf="_screenLocked">screen_lock_portrait</mat-icon>
|
|
6014
6046
|
`, isInline: true, dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] });
|
|
6015
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
6047
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: WakeLockIndicator, decorators: [{
|
|
6016
6048
|
type: Component,
|
|
6017
6049
|
args: [{ selector: 'app-wakelockindicator', template: `
|
|
6018
6050
|
<mat-icon *ngIf="_screenLocked">screen_lock_portrait</mat-icon>
|
|
@@ -6035,11 +6067,11 @@ class ReadyStateIndicator {
|
|
|
6035
6067
|
return this._ready;
|
|
6036
6068
|
}
|
|
6037
6069
|
}
|
|
6038
|
-
ReadyStateIndicator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
6039
|
-
ReadyStateIndicator.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
6070
|
+
ReadyStateIndicator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ReadyStateIndicator, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6071
|
+
ReadyStateIndicator.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: ReadyStateIndicator, selector: "app-readystateindicator", inputs: { ready: "ready" }, ngImport: i0, template: `
|
|
6040
6072
|
<mat-icon [matTooltip]="readyStateToolTip">{{hourGlassIconName}}</mat-icon>
|
|
6041
6073
|
`, isInline: true, dependencies: [{ kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i4.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }] });
|
|
6042
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
6074
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ReadyStateIndicator, decorators: [{
|
|
6043
6075
|
type: Component,
|
|
6044
6076
|
args: [{ selector: 'app-readystateindicator', template: `
|
|
6045
6077
|
<mat-icon [matTooltip]="readyStateToolTip">{{hourGlassIconName}}</mat-icon>
|
|
@@ -6047,8 +6079,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
6047
6079
|
}], ctorParameters: function () { return []; }, propDecorators: { ready: [{
|
|
6048
6080
|
type: Input
|
|
6049
6081
|
}] } });
|
|
6050
|
-
class ControlPanel {
|
|
6051
|
-
constructor(dialog) {
|
|
6082
|
+
class ControlPanel extends ResponsiveComponent {
|
|
6083
|
+
constructor(bpo, dialog) {
|
|
6084
|
+
super(bpo);
|
|
6085
|
+
this.bpo = bpo;
|
|
6052
6086
|
this.dialog = dialog;
|
|
6053
6087
|
this.processing = false;
|
|
6054
6088
|
this.navigationEnabled = true;
|
|
@@ -6061,44 +6095,44 @@ class ControlPanel {
|
|
|
6061
6095
|
return this._ready;
|
|
6062
6096
|
}
|
|
6063
6097
|
}
|
|
6064
|
-
ControlPanel.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
6065
|
-
ControlPanel.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
6066
|
-
<div
|
|
6067
|
-
<app-sprstatusdisplay
|
|
6098
|
+
ControlPanel.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ControlPanel, deps: [{ token: i1$3.BreakpointObserver }, { token: i1$4.MatDialog }], target: i0.ɵɵFactoryTarget.Component });
|
|
6099
|
+
ControlPanel.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", 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 }], usesInheritance: true, ngImport: i0, template: `
|
|
6100
|
+
<div *ngIf="!screenXs" style="flex-direction: row" >
|
|
6101
|
+
<app-sprstatusdisplay style="flex:0 0 0" [statusMsg]="statusMsg" [statusAlertType]="statusAlertType" [statusWaiting]="statusWaiting"
|
|
6068
6102
|
class="hidden-xs"></app-sprstatusdisplay>
|
|
6069
|
-
<app-sprtransport
|
|
6070
|
-
<app-uploadstatus
|
|
6103
|
+
<app-sprtransport style="flex:10 0 0" [readonly]="readonly" [actions]="transportActions" [navigationEnabled]="navigationEnabled"></app-sprtransport>
|
|
6104
|
+
<app-uploadstatus style="flex:0 0 0" *ngIf="enableUploadRecordings" [value]="uploadProgress"
|
|
6071
6105
|
[status]="uploadStatus" [awaitNewUpload]="processing"></app-uploadstatus>
|
|
6072
6106
|
<app-readystateindicator [ready]="_ready"></app-readystateindicator>
|
|
6073
6107
|
</div>
|
|
6074
|
-
<div
|
|
6075
|
-
<div
|
|
6076
|
-
<app-sprstatusdisplay
|
|
6108
|
+
<div *ngIf="screenXs"style="flex-direction: column" >
|
|
6109
|
+
<div style="flex-direction: row" class="flexFill" >
|
|
6110
|
+
<app-sprstatusdisplay style="flex:10 0 0;flex-align:left" [statusMsg]="statusMsg" [statusAlertType]="statusAlertType" [statusWaiting]="statusWaiting"
|
|
6077
6111
|
class="hidden-xs"></app-sprstatusdisplay>
|
|
6078
|
-
<app-uploadstatus
|
|
6112
|
+
<app-uploadstatus style="flex:0 0 0" *ngIf="enableUploadRecordings" [value]="uploadProgress"
|
|
6079
6113
|
[status]="uploadStatus" [awaitNewUpload]="processing"></app-uploadstatus>
|
|
6080
6114
|
<app-readystateindicator [ready]="_ready"></app-readystateindicator>
|
|
6081
6115
|
</div>
|
|
6082
6116
|
<app-sprtransport [readonly]="readonly" [actions]="transportActions" [navigationEnabled]="navigationEnabled"></app-sprtransport>
|
|
6083
6117
|
|
|
6084
6118
|
</div>
|
|
6085
|
-
`, isInline: true, styles: ["div{align-content:center;align-items:center;margin:0;padding:20px;min-height:min-content}\n"], dependencies: [{ kind: "directive", type:
|
|
6086
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
6119
|
+
`, isInline: true, styles: ["div{align-content:center;align-items:center;margin:0;padding:20px;min-height:min-content}\n"], dependencies: [{ 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"] }] });
|
|
6120
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ControlPanel, decorators: [{
|
|
6087
6121
|
type: Component,
|
|
6088
6122
|
args: [{ selector: 'app-sprcontrolpanel', template: `
|
|
6089
|
-
<div
|
|
6090
|
-
<app-sprstatusdisplay
|
|
6123
|
+
<div *ngIf="!screenXs" style="flex-direction: row" >
|
|
6124
|
+
<app-sprstatusdisplay style="flex:0 0 0" [statusMsg]="statusMsg" [statusAlertType]="statusAlertType" [statusWaiting]="statusWaiting"
|
|
6091
6125
|
class="hidden-xs"></app-sprstatusdisplay>
|
|
6092
|
-
<app-sprtransport
|
|
6093
|
-
<app-uploadstatus
|
|
6126
|
+
<app-sprtransport style="flex:10 0 0" [readonly]="readonly" [actions]="transportActions" [navigationEnabled]="navigationEnabled"></app-sprtransport>
|
|
6127
|
+
<app-uploadstatus style="flex:0 0 0" *ngIf="enableUploadRecordings" [value]="uploadProgress"
|
|
6094
6128
|
[status]="uploadStatus" [awaitNewUpload]="processing"></app-uploadstatus>
|
|
6095
6129
|
<app-readystateindicator [ready]="_ready"></app-readystateindicator>
|
|
6096
6130
|
</div>
|
|
6097
|
-
<div
|
|
6098
|
-
<div
|
|
6099
|
-
<app-sprstatusdisplay
|
|
6131
|
+
<div *ngIf="screenXs"style="flex-direction: column" >
|
|
6132
|
+
<div style="flex-direction: row" class="flexFill" >
|
|
6133
|
+
<app-sprstatusdisplay style="flex:10 0 0;flex-align:left" [statusMsg]="statusMsg" [statusAlertType]="statusAlertType" [statusWaiting]="statusWaiting"
|
|
6100
6134
|
class="hidden-xs"></app-sprstatusdisplay>
|
|
6101
|
-
<app-uploadstatus
|
|
6135
|
+
<app-uploadstatus style="flex:0 0 0" *ngIf="enableUploadRecordings" [value]="uploadProgress"
|
|
6102
6136
|
[status]="uploadStatus" [awaitNewUpload]="processing"></app-uploadstatus>
|
|
6103
6137
|
<app-readystateindicator [ready]="_ready"></app-readystateindicator>
|
|
6104
6138
|
</div>
|
|
@@ -6106,7 +6140,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
6106
6140
|
|
|
6107
6141
|
</div>
|
|
6108
6142
|
`, styles: ["div{align-content:center;align-items:center;margin:0;padding:20px;min-height:min-content}\n"] }]
|
|
6109
|
-
}], ctorParameters: function () { return [{ type: i1$4.MatDialog }]; }, propDecorators: { statusDisplay: [{
|
|
6143
|
+
}], ctorParameters: function () { return [{ type: i1$3.BreakpointObserver }, { type: i1$4.MatDialog }]; }, propDecorators: { statusDisplay: [{
|
|
6110
6144
|
type: ViewChild,
|
|
6111
6145
|
args: [StatusDisplay, { static: true }]
|
|
6112
6146
|
}], transportPanel: [{
|
|
@@ -6489,8 +6523,10 @@ class StreamLevelMeasure {
|
|
|
6489
6523
|
|
|
6490
6524
|
const MIN_DB_LEVEL = -40.0;
|
|
6491
6525
|
const DEFAULT_WARN_DB_LEVEL = -2;
|
|
6492
|
-
class RecordingItemControls {
|
|
6493
|
-
constructor(ref, changeDetectorRef) {
|
|
6526
|
+
class RecordingItemControls extends ResponsiveComponent {
|
|
6527
|
+
constructor(bpo, ref, changeDetectorRef) {
|
|
6528
|
+
super(bpo);
|
|
6529
|
+
this.bpo = bpo;
|
|
6494
6530
|
this.ref = ref;
|
|
6495
6531
|
this.changeDetectorRef = changeDetectorRef;
|
|
6496
6532
|
this.ce = null;
|
|
@@ -6542,8 +6578,8 @@ class RecordingItemControls {
|
|
|
6542
6578
|
// this.status = 'ERROR';
|
|
6543
6579
|
}
|
|
6544
6580
|
}
|
|
6545
|
-
RecordingItemControls.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
6546
|
-
RecordingItemControls.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
6581
|
+
RecordingItemControls.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RecordingItemControls, deps: [{ token: i1$3.BreakpointObserver }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
6582
|
+
RecordingItemControls.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", 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" }, usesInheritance: true, ngImport: i0, template: `
|
|
6547
6583
|
<button matTooltip="Start playback" (click)="playStartAction?.perform()"
|
|
6548
6584
|
[disabled]="playStartAction?.disabled"
|
|
6549
6585
|
[style.color]="playStartAction?.disabled ? 'grey' : 'green'">
|
|
@@ -6554,7 +6590,7 @@ RecordingItemControls.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
6554
6590
|
[style.color]="playStopAction?.disabled ? 'grey' : 'yellow'">
|
|
6555
6591
|
<mat-icon>stop</mat-icon>
|
|
6556
6592
|
</button>
|
|
6557
|
-
<button
|
|
6593
|
+
<button *ngIf="!screenXs" matTooltip="Toggle detailed audio display" [disabled]="!audioLoaded"
|
|
6558
6594
|
(click)="showRecordingDetails()">
|
|
6559
6595
|
<mat-icon>{{(audioSignalCollapsed) ? "expand_less" : "expand_more"}}</mat-icon>
|
|
6560
6596
|
</button>
|
|
@@ -6565,8 +6601,8 @@ RecordingItemControls.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
6565
6601
|
<div style="min-width: 14ch;padding:2px"><table style="border-style: none"><tr><td>Peak:</td><td><span matTooltip="Peak level"
|
|
6566
6602
|
[style.color]="(peakDbLvl > warnDbLevel)?'red':'black'">{{peakDbLvl | number:'1.1-1'}} dB </span></td></tr>
|
|
6567
6603
|
<tr *ngIf="_agc"><td>AGC:</td><td><span matTooltip="Auto gain control">{{agcString}}</span></td></tr></table></div>
|
|
6568
|
-
`, isInline: true, styles: [":host{flex:0;width:100%;background:darkgray;padding:4px;box-sizing:border-box;height:100%;display:flex;flex-direction:row;flex-wrap:nowrap}\n", "span{flex:0;font-weight:700;display:inline-block;white-space:nowrap;box-sizing:border-box}\n", "button{touch-action:manipulation}\n"], dependencies: [{ kind: "directive", type: i1$
|
|
6569
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
6604
|
+
`, 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$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" }] });
|
|
6605
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RecordingItemControls, decorators: [{
|
|
6570
6606
|
type: Component,
|
|
6571
6607
|
args: [{ selector: 'spr-recordingitemcontrols', template: `
|
|
6572
6608
|
<button matTooltip="Start playback" (click)="playStartAction?.perform()"
|
|
@@ -6579,7 +6615,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
6579
6615
|
[style.color]="playStopAction?.disabled ? 'grey' : 'yellow'">
|
|
6580
6616
|
<mat-icon>stop</mat-icon>
|
|
6581
6617
|
</button>
|
|
6582
|
-
<button
|
|
6618
|
+
<button *ngIf="!screenXs" matTooltip="Toggle detailed audio display" [disabled]="!audioLoaded"
|
|
6583
6619
|
(click)="showRecordingDetails()">
|
|
6584
6620
|
<mat-icon>{{(audioSignalCollapsed) ? "expand_less" : "expand_more"}}</mat-icon>
|
|
6585
6621
|
</button>
|
|
@@ -6591,7 +6627,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
6591
6627
|
[style.color]="(peakDbLvl > warnDbLevel)?'red':'black'">{{peakDbLvl | number:'1.1-1'}} dB </span></td></tr>
|
|
6592
6628
|
<tr *ngIf="_agc"><td>AGC:</td><td><span matTooltip="Auto gain control">{{agcString}}</span></td></tr></table></div>
|
|
6593
6629
|
`, 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"] }]
|
|
6594
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { audioSignalCollapsed: [{
|
|
6630
|
+
}], ctorParameters: function () { return [{ type: i1$3.BreakpointObserver }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { audioSignalCollapsed: [{
|
|
6595
6631
|
type: Input
|
|
6596
6632
|
}], enableDownload: [{
|
|
6597
6633
|
type: Input
|
|
@@ -6612,8 +6648,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
6612
6648
|
}], displayLevelInfos: [{
|
|
6613
6649
|
type: Input
|
|
6614
6650
|
}] } });
|
|
6615
|
-
class RecordingItemDisplay {
|
|
6616
|
-
constructor(ref, changeDetectorRef) {
|
|
6651
|
+
class RecordingItemDisplay extends ResponsiveComponent {
|
|
6652
|
+
constructor(bpo, ref, changeDetectorRef) {
|
|
6653
|
+
super(bpo);
|
|
6654
|
+
this.bpo = bpo;
|
|
6617
6655
|
this.ref = ref;
|
|
6618
6656
|
this.changeDetectorRef = changeDetectorRef;
|
|
6619
6657
|
this.ce = null;
|
|
@@ -6684,22 +6722,22 @@ class RecordingItemDisplay {
|
|
|
6684
6722
|
this.changeDetectorRef.detectChanges();
|
|
6685
6723
|
}
|
|
6686
6724
|
}
|
|
6687
|
-
RecordingItemDisplay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
6688
|
-
RecordingItemDisplay.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
6689
|
-
<div
|
|
6690
|
-
<audio-levelbar
|
|
6691
|
-
<spr-recordingitemcontrols
|
|
6725
|
+
RecordingItemDisplay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RecordingItemDisplay, deps: [{ token: i1$3.BreakpointObserver }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
6726
|
+
RecordingItemDisplay.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", 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 }], usesInheritance: true, ngImport: i0, template: `
|
|
6727
|
+
<div [class]="{audioStatusDisplay:!screenXs,audioStatusDisplayXs:screenXs}">
|
|
6728
|
+
<audio-levelbar style="flex:1 0 1%" [streamingMode]="streamingMode" [displayLevelInfos]="_displayLevelInfos"></audio-levelbar>
|
|
6729
|
+
<spr-recordingitemcontrols style="flex:0 0 0px" [audioLoaded]="displayAudioBuffer!==null" [playStartAction]="playStartAction" [playStopAction]="playStopAction" [peakDbLvl]="peakDbLvl" [agc]="_agc" (onShowRecordingDetails)="onShowRecordingDetails.emit()"></spr-recordingitemcontrols>
|
|
6692
6730
|
</div>
|
|
6693
|
-
`, isInline: true, styles: ["div{width:100%;background:darkgray;padding:4px;box-sizing:border-box;flex-wrap:nowrap}\n", "audio-levelbar{box-sizing:border-box}\n"
|
|
6694
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
6731
|
+
`, 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", ".audioStatusDisplay{display:flex;flex-direction:row;height:100px;min-height:100px}\n", ".audioStatusDisplayXs{display:flex;flex-direction:column;height:125px;min-height:125px}\n"], dependencies: [{ 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"] }] });
|
|
6732
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RecordingItemDisplay, decorators: [{
|
|
6695
6733
|
type: Component,
|
|
6696
6734
|
args: [{ selector: 'spr-recordingitemdisplay', template: `
|
|
6697
|
-
<div
|
|
6698
|
-
<audio-levelbar
|
|
6699
|
-
<spr-recordingitemcontrols
|
|
6735
|
+
<div [class]="{audioStatusDisplay:!screenXs,audioStatusDisplayXs:screenXs}">
|
|
6736
|
+
<audio-levelbar style="flex:1 0 1%" [streamingMode]="streamingMode" [displayLevelInfos]="_displayLevelInfos"></audio-levelbar>
|
|
6737
|
+
<spr-recordingitemcontrols style="flex:0 0 0px" [audioLoaded]="displayAudioBuffer!==null" [playStartAction]="playStartAction" [playStopAction]="playStopAction" [peakDbLvl]="peakDbLvl" [agc]="_agc" (onShowRecordingDetails)="onShowRecordingDetails.emit()"></spr-recordingitemcontrols>
|
|
6700
6738
|
</div>
|
|
6701
|
-
`, styles: ["div{width:100%;background:darkgray;padding:4px;box-sizing:border-box;flex-wrap:nowrap}\n", "audio-levelbar{box-sizing:border-box}\n"] }]
|
|
6702
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { liveLevel: [{
|
|
6739
|
+
`, styles: ["div{width:100%;background:darkgray;padding:4px;box-sizing:border-box;flex-wrap:nowrap}\n", "audio-levelbar{box-sizing:border-box}\n", ".audioStatusDisplay{display:flex;flex-direction:row;height:100px;min-height:100px}\n", ".audioStatusDisplayXs{display:flex;flex-direction:column;height:125px;min-height:125px}\n"] }]
|
|
6740
|
+
}], ctorParameters: function () { return [{ type: i1$3.BreakpointObserver }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { liveLevel: [{
|
|
6703
6741
|
type: ViewChild,
|
|
6704
6742
|
args: [LevelBar, { static: true }]
|
|
6705
6743
|
}], streamingMode: [{
|
|
@@ -7024,8 +7062,11 @@ class ChunkManager {
|
|
|
7024
7062
|
return frameLen;
|
|
7025
7063
|
}
|
|
7026
7064
|
}
|
|
7027
|
-
let BasicRecorder = class BasicRecorder {
|
|
7028
|
-
constructor(dialog, sessionService, uploader, config) {
|
|
7065
|
+
let BasicRecorder = class BasicRecorder extends ResponsiveComponent {
|
|
7066
|
+
constructor(bpo, changeDetectorRef, dialog, sessionService, uploader, config) {
|
|
7067
|
+
super(bpo);
|
|
7068
|
+
this.bpo = bpo;
|
|
7069
|
+
this.changeDetectorRef = changeDetectorRef;
|
|
7029
7070
|
this.dialog = dialog;
|
|
7030
7071
|
this.sessionService = sessionService;
|
|
7031
7072
|
this.uploader = uploader;
|
|
@@ -7045,6 +7086,7 @@ let BasicRecorder = class BasicRecorder {
|
|
|
7045
7086
|
this.uploadStatus = 'ok';
|
|
7046
7087
|
this.audioSignalCollapsed = true;
|
|
7047
7088
|
this.peakLevelInDb = MIN_DB_LEVEL;
|
|
7089
|
+
this._controlAudioPlayer = null;
|
|
7048
7090
|
this.displayAudioClip = null;
|
|
7049
7091
|
this.audioFetchSubscription = null;
|
|
7050
7092
|
this.destroyed = false;
|
|
@@ -7154,7 +7196,7 @@ let BasicRecorder = class BasicRecorder {
|
|
|
7154
7196
|
type: 'error',
|
|
7155
7197
|
title: 'Error',
|
|
7156
7198
|
msg: "This session is sealed. Recordings cannot be added anymore.",
|
|
7157
|
-
|
|
7199
|
+
advice: 'Please ask your experimenter what to do (e.g start a new session).',
|
|
7158
7200
|
}
|
|
7159
7201
|
});
|
|
7160
7202
|
}
|
|
@@ -7430,7 +7472,7 @@ let BasicRecorder = class BasicRecorder {
|
|
|
7430
7472
|
};
|
|
7431
7473
|
BasicRecorder.DEFAULT_CHUNK_SIZE_SECONDS = 30;
|
|
7432
7474
|
BasicRecorder = __decorate([
|
|
7433
|
-
__param(
|
|
7475
|
+
__param(5, Inject(SPEECHRECORDER_CONFIG))
|
|
7434
7476
|
], BasicRecorder);
|
|
7435
7477
|
|
|
7436
7478
|
/**
|
|
@@ -7659,9 +7701,9 @@ class RecordingService {
|
|
|
7659
7701
|
}
|
|
7660
7702
|
RecordingService.REC_API_CTX = 'recfile';
|
|
7661
7703
|
RecordingService.RECORDING_API_CTX = 'recordingfile';
|
|
7662
|
-
RecordingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
7663
|
-
RecordingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
7664
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
7704
|
+
RecordingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RecordingService, deps: [{ token: i1.HttpClient }, { token: SPEECHRECORDER_CONFIG }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7705
|
+
RecordingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RecordingService });
|
|
7706
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RecordingService, decorators: [{
|
|
7665
7707
|
type: Injectable
|
|
7666
7708
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: SpeechRecorderConfig, decorators: [{
|
|
7667
7709
|
type: Inject,
|
|
@@ -7675,9 +7717,9 @@ class SpeechRecorderUploader extends Uploader {
|
|
|
7675
7717
|
this.config = config;
|
|
7676
7718
|
}
|
|
7677
7719
|
}
|
|
7678
|
-
SpeechRecorderUploader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
7679
|
-
SpeechRecorderUploader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
7680
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
7720
|
+
SpeechRecorderUploader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SpeechRecorderUploader, deps: [{ token: i1.HttpClient }, { token: SPEECHRECORDER_CONFIG }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7721
|
+
SpeechRecorderUploader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SpeechRecorderUploader });
|
|
7722
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SpeechRecorderUploader, decorators: [{
|
|
7681
7723
|
type: Injectable
|
|
7682
7724
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: SpeechRecorderConfig, decorators: [{
|
|
7683
7725
|
type: Inject,
|
|
@@ -7697,12 +7739,12 @@ class WarningBar {
|
|
|
7697
7739
|
}
|
|
7698
7740
|
}
|
|
7699
7741
|
}
|
|
7700
|
-
WarningBar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
7701
|
-
WarningBar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
7742
|
+
WarningBar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: WarningBar, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
7743
|
+
WarningBar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: WarningBar, selector: "app-warningbar", inputs: { warningText: "warningText", show: "show" }, providers: [SessionService], ngImport: i0, template: `
|
|
7702
7744
|
<div [class]="displayClass">{{warningText}}</div>
|
|
7703
7745
|
|
|
7704
7746
|
`, 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"] });
|
|
7705
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
7747
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: WarningBar, decorators: [{
|
|
7706
7748
|
type: Component,
|
|
7707
7749
|
args: [{ selector: 'app-warningbar', providers: [SessionService], template: `
|
|
7708
7750
|
<div [class]="displayClass">{{warningText}}</div>
|
|
@@ -7717,15 +7759,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
7717
7759
|
const DEFAULT_PRE_REC_DELAY = 1000;
|
|
7718
7760
|
const DEFAULT_POST_REC_DELAY = 500;
|
|
7719
7761
|
class SessionManager extends BasicRecorder {
|
|
7720
|
-
constructor(changeDetectorRef, renderer, dialog, sessionService, recFileService, uploader, config) {
|
|
7721
|
-
super(dialog, sessionService, uploader, config);
|
|
7762
|
+
constructor(bpo, changeDetectorRef, renderer, dialog, sessionService, recFileService, uploader, config) {
|
|
7763
|
+
super(bpo, changeDetectorRef, dialog, sessionService, uploader, config);
|
|
7764
|
+
this.bpo = bpo;
|
|
7722
7765
|
this.changeDetectorRef = changeDetectorRef;
|
|
7723
7766
|
this.renderer = renderer;
|
|
7724
7767
|
this.dialog = dialog;
|
|
7725
7768
|
this.sessionService = sessionService;
|
|
7726
7769
|
this.recFileService = recFileService;
|
|
7727
|
-
this.uploader = uploader;
|
|
7728
|
-
this.config = config;
|
|
7729
7770
|
this.enableUploadRecordings = true;
|
|
7730
7771
|
this.enableDownloadRecordings = false;
|
|
7731
7772
|
this.status = 0 /* BLOCKED */;
|
|
@@ -7759,7 +7800,7 @@ class SessionManager extends BasicRecorder {
|
|
|
7759
7800
|
};
|
|
7760
7801
|
}
|
|
7761
7802
|
ngOnDestroy() {
|
|
7762
|
-
console.debug("Com destroy, disable wake lock.")
|
|
7803
|
+
//console.debug("Com destroy, disable wake lock.")
|
|
7763
7804
|
this.disableWakeLockCond();
|
|
7764
7805
|
this.destroyed = true;
|
|
7765
7806
|
// TODO stop capture /playback
|
|
@@ -7791,7 +7832,7 @@ class SessionManager extends BasicRecorder {
|
|
|
7791
7832
|
type: 'error',
|
|
7792
7833
|
title: 'Error',
|
|
7793
7834
|
msg: errMsg,
|
|
7794
|
-
|
|
7835
|
+
advice: 'Please use a supported browser.',
|
|
7795
7836
|
}
|
|
7796
7837
|
});
|
|
7797
7838
|
return;
|
|
@@ -7812,7 +7853,7 @@ class SessionManager extends BasicRecorder {
|
|
|
7812
7853
|
type: 'error',
|
|
7813
7854
|
title: 'Error',
|
|
7814
7855
|
msg: errMsg,
|
|
7815
|
-
|
|
7856
|
+
advice: 'Please use a supported browser.',
|
|
7816
7857
|
}
|
|
7817
7858
|
});
|
|
7818
7859
|
return;
|
|
@@ -7836,7 +7877,7 @@ class SessionManager extends BasicRecorder {
|
|
|
7836
7877
|
type: 'error',
|
|
7837
7878
|
title: 'Error',
|
|
7838
7879
|
msg: errMsg,
|
|
7839
|
-
|
|
7880
|
+
advice: 'Please use a supported browser.',
|
|
7840
7881
|
}
|
|
7841
7882
|
});
|
|
7842
7883
|
return;
|
|
@@ -7847,7 +7888,7 @@ class SessionManager extends BasicRecorder {
|
|
|
7847
7888
|
this.transportActions.fwdAction.onAction = () => this.nextItem();
|
|
7848
7889
|
this.transportActions.fwdNextAction.onAction = () => this.nextUnrecordedItem();
|
|
7849
7890
|
this.transportActions.bwdAction.onAction = () => this.prevItem();
|
|
7850
|
-
this.playStartAction.onAction = () => this.controlAudioPlayer
|
|
7891
|
+
this.playStartAction.onAction = () => this.controlAudioPlayer?.start();
|
|
7851
7892
|
}
|
|
7852
7893
|
this.startStopSignalState = 4 /* OFF */;
|
|
7853
7894
|
}
|
|
@@ -7904,9 +7945,6 @@ class SessionManager extends BasicRecorder {
|
|
|
7904
7945
|
return ((this._session != null) && (this._session.type === 'TEST_DEF_A') && (this.audioDevices != null) && this.audioDevices.length > 0);
|
|
7905
7946
|
}
|
|
7906
7947
|
set controlAudioPlayer(controlAudioPlayer) {
|
|
7907
|
-
if (this._controlAudioPlayer) {
|
|
7908
|
-
//this._controlAudioPlayer.listener=null;
|
|
7909
|
-
}
|
|
7910
7948
|
this._controlAudioPlayer = controlAudioPlayer;
|
|
7911
7949
|
if (this._controlAudioPlayer) {
|
|
7912
7950
|
this._controlAudioPlayer.listener = this;
|
|
@@ -8096,12 +8134,16 @@ class SessionManager extends BasicRecorder {
|
|
|
8096
8134
|
let ab = this._displayRecFile.audioBuffer;
|
|
8097
8135
|
if (ab) {
|
|
8098
8136
|
this.displayAudioClip = new AudioClip(ab);
|
|
8099
|
-
this.
|
|
8137
|
+
if (this._controlAudioPlayer) {
|
|
8138
|
+
this._controlAudioPlayer.audioClip = this.displayAudioClip;
|
|
8139
|
+
}
|
|
8100
8140
|
}
|
|
8101
8141
|
else {
|
|
8102
8142
|
// clear for now ...
|
|
8103
8143
|
this.displayAudioClip = null;
|
|
8104
|
-
this.
|
|
8144
|
+
if (this._controlAudioPlayer) {
|
|
8145
|
+
this._controlAudioPlayer.audioClip = null;
|
|
8146
|
+
}
|
|
8105
8147
|
if (fetchAndApplyRecordingFile) {
|
|
8106
8148
|
if (this._controlAudioPlayer && this._session) {
|
|
8107
8149
|
//... and try to fetch from server
|
|
@@ -8120,7 +8162,9 @@ class SessionManager extends BasicRecorder {
|
|
|
8120
8162
|
// TODO Async will set the previous file with autorecording
|
|
8121
8163
|
this.displayAudioClip = new AudioClip(fab);
|
|
8122
8164
|
}
|
|
8123
|
-
this.
|
|
8165
|
+
if (this._controlAudioPlayer) {
|
|
8166
|
+
this._controlAudioPlayer.audioClip = this.displayAudioClip;
|
|
8167
|
+
}
|
|
8124
8168
|
this.showRecording();
|
|
8125
8169
|
}, err => {
|
|
8126
8170
|
console.error("Could not load recording file from server: " + err);
|
|
@@ -8137,14 +8181,18 @@ class SessionManager extends BasicRecorder {
|
|
|
8137
8181
|
}
|
|
8138
8182
|
else {
|
|
8139
8183
|
this.displayAudioClip = null;
|
|
8140
|
-
this.
|
|
8184
|
+
if (this._controlAudioPlayer) {
|
|
8185
|
+
this._controlAudioPlayer.audioClip = null;
|
|
8186
|
+
}
|
|
8141
8187
|
}
|
|
8142
8188
|
}
|
|
8143
8189
|
get displayRecFile() {
|
|
8144
8190
|
return this._displayRecFile;
|
|
8145
8191
|
}
|
|
8146
8192
|
showRecording() {
|
|
8147
|
-
this.
|
|
8193
|
+
if (this._controlAudioPlayer) {
|
|
8194
|
+
this._controlAudioPlayer.stop();
|
|
8195
|
+
}
|
|
8148
8196
|
if (this.displayAudioClip) {
|
|
8149
8197
|
let dap = this.displayAudioClip;
|
|
8150
8198
|
this.levelMeasure.calcBufferLevelInfos(dap.buffer, LEVEL_BAR_INTERVALL_SECONDS).then((levelInfos) => {
|
|
@@ -8533,7 +8581,6 @@ class SessionManager extends BasicRecorder {
|
|
|
8533
8581
|
}
|
|
8534
8582
|
}
|
|
8535
8583
|
// apply recorded item
|
|
8536
|
-
console.debug("Apply item: startNext: " + startNext);
|
|
8537
8584
|
this.applyItem(startNext);
|
|
8538
8585
|
if (startNext) {
|
|
8539
8586
|
this.startItem();
|
|
@@ -8569,7 +8616,7 @@ class SessionManager extends BasicRecorder {
|
|
|
8569
8616
|
}
|
|
8570
8617
|
}
|
|
8571
8618
|
updateControlPlaybackPosition() {
|
|
8572
|
-
if (this._controlAudioPlayer.playPositionFrames) {
|
|
8619
|
+
if (this._controlAudioPlayer && this._controlAudioPlayer.playPositionFrames) {
|
|
8573
8620
|
this.prompting.audioDisplay.playFramePosition = this._controlAudioPlayer.playPositionFrames;
|
|
8574
8621
|
this.liveLevelDisplay.playFramePosition = this._controlAudioPlayer.playPositionFrames;
|
|
8575
8622
|
}
|
|
@@ -8590,8 +8637,8 @@ class SessionManager extends BasicRecorder {
|
|
|
8590
8637
|
}
|
|
8591
8638
|
}
|
|
8592
8639
|
}
|
|
8593
|
-
SessionManager.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
8594
|
-
SessionManager.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
8640
|
+
SessionManager.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SessionManager, deps: [{ token: i1$3.BreakpointObserver }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i1$4.MatDialog }, { token: SessionService }, { token: RecordingService }, { token: SpeechRecorderUploader }, { token: SPEECHRECORDER_CONFIG }], target: i0.ɵɵFactoryTarget.Component });
|
|
8641
|
+
SessionManager.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", 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: `
|
|
8595
8642
|
<app-warningbar [show]="isTestSession()" warningText="Test recording only!"></app-warningbar>
|
|
8596
8643
|
<app-warningbar [show]="isDefaultAudioTestSession()" warningText="This test uses default audio device! Regular sessions may require a particular audio device (microphone)!"></app-warningbar>
|
|
8597
8644
|
<app-sprprompting [projectName]="projectName"
|
|
@@ -8606,13 +8653,13 @@ SessionManager.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version
|
|
|
8606
8653
|
[playStopAction]="controlAudioPlayer?.stopAction">
|
|
8607
8654
|
|
|
8608
8655
|
</app-sprprompting>
|
|
8609
|
-
<mat-progress-bar [value]="progressPercentValue()"
|
|
8656
|
+
<mat-progress-bar [value]="progressPercentValue()" *ngIf="screenXs" ></mat-progress-bar>
|
|
8610
8657
|
|
|
8611
8658
|
|
|
8612
|
-
<div
|
|
8613
|
-
<audio-levelbar
|
|
8614
|
-
<div
|
|
8615
|
-
<spr-recordingitemcontrols
|
|
8659
|
+
<div [class]="{audioStatusDisplay:!screenXs,audioStatusDisplayXs:screenXs}">
|
|
8660
|
+
<audio-levelbar style="flex:1 0 1%" [streamingMode]="isRecording()" [displayLevelInfos]="displayAudioClip?.levelInfos"></audio-levelbar>
|
|
8661
|
+
<div style="display:flex;flex-direction: row">
|
|
8662
|
+
<spr-recordingitemcontrols style="display:flex;flex:10 0 1px"
|
|
8616
8663
|
[audioLoaded]="displayAudioClip?.buffer!==null"
|
|
8617
8664
|
[playStartAction]="controlAudioPlayer?.startAction"
|
|
8618
8665
|
[playStopAction]="controlAudioPlayer?.stopAction"
|
|
@@ -8621,26 +8668,26 @@ SessionManager.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version
|
|
|
8621
8668
|
(onShowRecordingDetails)="audioSignalCollapsed=!audioSignalCollapsed">
|
|
8622
8669
|
</spr-recordingitemcontrols>
|
|
8623
8670
|
|
|
8624
|
-
<app-uploadstatus class="ricontrols dark"
|
|
8671
|
+
<app-uploadstatus *ngIf="screenXs && enableUploadRecordings" class="ricontrols dark" style="flex:0 0 0" [value]="uploadProgress"
|
|
8625
8672
|
[status]="uploadStatus" [awaitNewUpload]="processingRecording"></app-uploadstatus>
|
|
8626
|
-
<app-wakelockindicator class="ricontrols dark"
|
|
8627
|
-
<app-readystateindicator class="ricontrols dark"
|
|
8673
|
+
<app-wakelockindicator *ngIf="screenXs" class="ricontrols dark" style="flex:0 0 0" [screenLocked]="screenLocked"></app-wakelockindicator>
|
|
8674
|
+
<app-readystateindicator *ngIf="screenXs" class="ricontrols dark" style="flex:0 0 0" [ready]="dataSaved && !isActive()"></app-readystateindicator>
|
|
8628
8675
|
</div>
|
|
8629
8676
|
</div>
|
|
8630
|
-
<div #controlpanel class="controlpanel"
|
|
8631
|
-
<div
|
|
8632
|
-
<app-sprstatusdisplay
|
|
8677
|
+
<div #controlpanel class="controlpanel">
|
|
8678
|
+
<div style="flex:1 1 30%;justify-content: flex-start;align-items: center; align-content: center">
|
|
8679
|
+
<app-sprstatusdisplay *ngIf="!screenXs" [statusMsg]="statusMsg" [statusAlertType]="statusAlertType" [statusWaiting]="statusWaiting"></app-sprstatusdisplay>
|
|
8633
8680
|
</div>
|
|
8634
|
-
<app-sprtransport
|
|
8635
|
-
<div
|
|
8636
|
-
<app-uploadstatus
|
|
8681
|
+
<app-sprtransport style="display:flex;flex:10 0 30%;justify-content: center;align-items: center; align-content: center" [readonly]="readonly" [actions]="transportActions" [navigationEnabled]="!items || items.length>1"></app-sprtransport>
|
|
8682
|
+
<div style="display:flex;flex:1 1 30%;flex-direction:row;justify-content: flex-end;align-items: center; align-content: center">
|
|
8683
|
+
<app-uploadstatus *ngIf="!screenXs && enableUploadRecordings" class="ricontrols" [value]="uploadProgress"
|
|
8637
8684
|
[status]="uploadStatus" [awaitNewUpload]="processingRecording"></app-uploadstatus>
|
|
8638
|
-
<app-wakelockindicator
|
|
8639
|
-
<app-readystateindicator
|
|
8685
|
+
<app-wakelockindicator *ngIf="!screenXs" class="ricontrols" [screenLocked]="screenLocked"></app-wakelockindicator>
|
|
8686
|
+
<app-readystateindicator *ngIf="!screenXs" class="ricontrols" [ready]="dataSaved && !isActive()"></app-readystateindicator>
|
|
8640
8687
|
</div>
|
|
8641
8688
|
</div>
|
|
8642
|
-
`, 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
|
|
8643
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
8689
|
+
`, isInline: true, styles: [":host{flex:2;background:lightgrey;display:flex;flex-direction:column;margin:0;padding:0;min-height:0px;overflow:hidden}\n", ".ricontrols{display:flex;padding:4px;box-sizing:border-box;height:100%;flex-direction:row;justify-content:flex-end;align-items:center;align-content:center}\n", ".dark{background:darkgray}\n", ".controlpanel{display:flex;flex-direction:row;align-content:center;align-items:center;margin:0;padding:20px;min-height:min-content}\n", ".audioStatusDisplay{display:flex;flex-direction:row;height:100px;min-height:100px}\n", ".audioStatusDisplayXs{display:flex;flex-direction:column;height:125px;min-height:125px}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i7.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"] }] });
|
|
8690
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SessionManager, decorators: [{
|
|
8644
8691
|
type: Component,
|
|
8645
8692
|
args: [{ selector: 'app-sprrecordingsession', providers: [SessionService], template: `
|
|
8646
8693
|
<app-warningbar [show]="isTestSession()" warningText="Test recording only!"></app-warningbar>
|
|
@@ -8657,13 +8704,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
8657
8704
|
[playStopAction]="controlAudioPlayer?.stopAction">
|
|
8658
8705
|
|
|
8659
8706
|
</app-sprprompting>
|
|
8660
|
-
<mat-progress-bar [value]="progressPercentValue()"
|
|
8707
|
+
<mat-progress-bar [value]="progressPercentValue()" *ngIf="screenXs" ></mat-progress-bar>
|
|
8661
8708
|
|
|
8662
8709
|
|
|
8663
|
-
<div
|
|
8664
|
-
<audio-levelbar
|
|
8665
|
-
<div
|
|
8666
|
-
<spr-recordingitemcontrols
|
|
8710
|
+
<div [class]="{audioStatusDisplay:!screenXs,audioStatusDisplayXs:screenXs}">
|
|
8711
|
+
<audio-levelbar style="flex:1 0 1%" [streamingMode]="isRecording()" [displayLevelInfos]="displayAudioClip?.levelInfos"></audio-levelbar>
|
|
8712
|
+
<div style="display:flex;flex-direction: row">
|
|
8713
|
+
<spr-recordingitemcontrols style="display:flex;flex:10 0 1px"
|
|
8667
8714
|
[audioLoaded]="displayAudioClip?.buffer!==null"
|
|
8668
8715
|
[playStartAction]="controlAudioPlayer?.startAction"
|
|
8669
8716
|
[playStopAction]="controlAudioPlayer?.stopAction"
|
|
@@ -8672,26 +8719,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
8672
8719
|
(onShowRecordingDetails)="audioSignalCollapsed=!audioSignalCollapsed">
|
|
8673
8720
|
</spr-recordingitemcontrols>
|
|
8674
8721
|
|
|
8675
|
-
<app-uploadstatus class="ricontrols dark"
|
|
8722
|
+
<app-uploadstatus *ngIf="screenXs && enableUploadRecordings" class="ricontrols dark" style="flex:0 0 0" [value]="uploadProgress"
|
|
8676
8723
|
[status]="uploadStatus" [awaitNewUpload]="processingRecording"></app-uploadstatus>
|
|
8677
|
-
<app-wakelockindicator class="ricontrols dark"
|
|
8678
|
-
<app-readystateindicator class="ricontrols dark"
|
|
8724
|
+
<app-wakelockindicator *ngIf="screenXs" class="ricontrols dark" style="flex:0 0 0" [screenLocked]="screenLocked"></app-wakelockindicator>
|
|
8725
|
+
<app-readystateindicator *ngIf="screenXs" class="ricontrols dark" style="flex:0 0 0" [ready]="dataSaved && !isActive()"></app-readystateindicator>
|
|
8679
8726
|
</div>
|
|
8680
8727
|
</div>
|
|
8681
|
-
<div #controlpanel class="controlpanel"
|
|
8682
|
-
<div
|
|
8683
|
-
<app-sprstatusdisplay
|
|
8728
|
+
<div #controlpanel class="controlpanel">
|
|
8729
|
+
<div style="flex:1 1 30%;justify-content: flex-start;align-items: center; align-content: center">
|
|
8730
|
+
<app-sprstatusdisplay *ngIf="!screenXs" [statusMsg]="statusMsg" [statusAlertType]="statusAlertType" [statusWaiting]="statusWaiting"></app-sprstatusdisplay>
|
|
8684
8731
|
</div>
|
|
8685
|
-
<app-sprtransport
|
|
8686
|
-
<div
|
|
8687
|
-
<app-uploadstatus
|
|
8732
|
+
<app-sprtransport style="display:flex;flex:10 0 30%;justify-content: center;align-items: center; align-content: center" [readonly]="readonly" [actions]="transportActions" [navigationEnabled]="!items || items.length>1"></app-sprtransport>
|
|
8733
|
+
<div style="display:flex;flex:1 1 30%;flex-direction:row;justify-content: flex-end;align-items: center; align-content: center">
|
|
8734
|
+
<app-uploadstatus *ngIf="!screenXs && enableUploadRecordings" class="ricontrols" [value]="uploadProgress"
|
|
8688
8735
|
[status]="uploadStatus" [awaitNewUpload]="processingRecording"></app-uploadstatus>
|
|
8689
|
-
<app-wakelockindicator
|
|
8690
|
-
<app-readystateindicator
|
|
8736
|
+
<app-wakelockindicator *ngIf="!screenXs" class="ricontrols" [screenLocked]="screenLocked"></app-wakelockindicator>
|
|
8737
|
+
<app-readystateindicator *ngIf="!screenXs" class="ricontrols" [ready]="dataSaved && !isActive()"></app-readystateindicator>
|
|
8691
8738
|
</div>
|
|
8692
8739
|
</div>
|
|
8693
|
-
`, 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
|
|
8694
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i1$4.MatDialog }, { type: SessionService }, { type: RecordingService }, { type: SpeechRecorderUploader }, { type: SpeechRecorderConfig, decorators: [{
|
|
8740
|
+
`, styles: [":host{flex:2;background:lightgrey;display:flex;flex-direction:column;margin:0;padding:0;min-height:0px;overflow:hidden}\n", ".ricontrols{display:flex;padding:4px;box-sizing:border-box;height:100%;flex-direction:row;justify-content:flex-end;align-items:center;align-content:center}\n", ".dark{background:darkgray}\n", ".controlpanel{display:flex;flex-direction:row;align-content:center;align-items:center;margin:0;padding:20px;min-height:min-content}\n", ".audioStatusDisplay{display:flex;flex-direction:row;height:100px;min-height:100px}\n", ".audioStatusDisplayXs{display:flex;flex-direction:column;height:125px;min-height:125px}\n"] }]
|
|
8741
|
+
}], ctorParameters: function () { return [{ type: i1$3.BreakpointObserver }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i1$4.MatDialog }, { type: SessionService }, { type: RecordingService }, { type: SpeechRecorderUploader }, { type: SpeechRecorderConfig, decorators: [{
|
|
8695
8742
|
type: Inject,
|
|
8696
8743
|
args: [SPEECHRECORDER_CONFIG]
|
|
8697
8744
|
}] }]; }, propDecorators: { projectName: [{
|
|
@@ -8751,9 +8798,9 @@ class ScriptService {
|
|
|
8751
8798
|
return this.http.get(scriptUrl, { withCredentials: this.withCredentials });
|
|
8752
8799
|
}
|
|
8753
8800
|
}
|
|
8754
|
-
ScriptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
8755
|
-
ScriptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
8756
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
8801
|
+
ScriptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ScriptService, deps: [{ token: i1.HttpClient }, { token: SPEECHRECORDER_CONFIG }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8802
|
+
ScriptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ScriptService });
|
|
8803
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ScriptService, decorators: [{
|
|
8757
8804
|
type: Injectable
|
|
8758
8805
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: SpeechRecorderConfig, decorators: [{
|
|
8759
8806
|
type: Inject,
|
|
@@ -9099,11 +9146,11 @@ class SpeechrecorderngComponent extends RecorderComponent {
|
|
|
9099
9146
|
this.sm.statusMsg = 'ERROR: Recording.';
|
|
9100
9147
|
}
|
|
9101
9148
|
}
|
|
9102
|
-
SpeechrecorderngComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
9103
|
-
SpeechrecorderngComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
9149
|
+
SpeechrecorderngComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", 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 });
|
|
9150
|
+
SpeechrecorderngComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: SpeechrecorderngComponent, selector: "app-speechrecorder", providers: [SessionService], viewQueries: [{ propertyName: "sm", first: true, predicate: SessionManager, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
9104
9151
|
<app-sprrecordingsession [projectName]="project?.name" [dataSaved]="dataSaved"></app-sprrecordingsession>
|
|
9105
9152
|
`, 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"] }] });
|
|
9106
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
9153
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SpeechrecorderngComponent, decorators: [{
|
|
9107
9154
|
type: Component,
|
|
9108
9155
|
args: [{ selector: 'app-speechrecorder', providers: [SessionService], template: `
|
|
9109
9156
|
<app-sprrecordingsession [projectName]="project?.name" [dataSaved]="dataSaved"></app-sprrecordingsession>
|
|
@@ -9115,9 +9162,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
9115
9162
|
|
|
9116
9163
|
class ScrollPaneHorizontal {
|
|
9117
9164
|
}
|
|
9118
|
-
ScrollPaneHorizontal.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
9119
|
-
ScrollPaneHorizontal.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
9120
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
9165
|
+
ScrollPaneHorizontal.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ScrollPaneHorizontal, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9166
|
+
ScrollPaneHorizontal.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", 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"] });
|
|
9167
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ScrollPaneHorizontal, decorators: [{
|
|
9121
9168
|
type: Component,
|
|
9122
9169
|
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"] }]
|
|
9123
9170
|
}] });
|
|
@@ -9322,8 +9369,8 @@ class AudioDisplayPlayer {
|
|
|
9322
9369
|
this.status = 'ERROR';
|
|
9323
9370
|
}
|
|
9324
9371
|
}
|
|
9325
|
-
AudioDisplayPlayer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
9326
|
-
AudioDisplayPlayer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
9372
|
+
AudioDisplayPlayer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AudioDisplayPlayer, deps: [{ token: i1$2.ActivatedRoute }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
9373
|
+
AudioDisplayPlayer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", 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: `
|
|
9327
9374
|
|
|
9328
9375
|
<audio-display-scroll-pane #audioDisplayScrollPane></audio-display-scroll-pane>
|
|
9329
9376
|
|
|
@@ -9336,8 +9383,8 @@ AudioDisplayPlayer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
|
|
|
9336
9383
|
[zoomOutAction]="zoomOutAction"
|
|
9337
9384
|
[zoomSelectedAction]="zoomSelectedAction"
|
|
9338
9385
|
[zoomFitToPanelAction]="zoomFitToPanelAction"></audio-display-control><p>{{status}}
|
|
9339
|
-
`, isInline: true, styles: [":host{display:flex;flex-direction:column;position:absolute;bottom:
|
|
9340
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
9386
|
+
`, isInline: true, styles: [":host{display:flex;flex-direction:column;position:absolute;bottom:0;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"] }] });
|
|
9387
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AudioDisplayPlayer, decorators: [{
|
|
9341
9388
|
type: Component,
|
|
9342
9389
|
args: [{ selector: 'app-audiodisplayplayer', template: `
|
|
9343
9390
|
|
|
@@ -9352,7 +9399,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
9352
9399
|
[zoomOutAction]="zoomOutAction"
|
|
9353
9400
|
[zoomSelectedAction]="zoomSelectedAction"
|
|
9354
9401
|
[zoomFitToPanelAction]="zoomFitToPanelAction"></audio-display-control><p>{{status}}
|
|
9355
|
-
`, styles: [":host{display:flex;flex-direction:column;position:absolute;bottom:
|
|
9402
|
+
`, styles: [":host{display:flex;flex-direction:column;position:absolute;bottom:0;height:100%;width:100%;overflow:hidden;padding:20px;z-index:5;box-sizing:border-box;background-color:#000000bf}\n"] }]
|
|
9356
9403
|
}], ctorParameters: function () { return [{ type: i1$2.ActivatedRoute }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }]; }, propDecorators: { playStartAction: [{
|
|
9357
9404
|
type: Input
|
|
9358
9405
|
}], playStopAction: [{
|
|
@@ -9671,9 +9718,9 @@ class RecordingFileService {
|
|
|
9671
9718
|
}
|
|
9672
9719
|
}
|
|
9673
9720
|
RecordingFileService.RECOFILE_API_CTX = 'recordingfile';
|
|
9674
|
-
RecordingFileService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
9675
|
-
RecordingFileService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
9676
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
9721
|
+
RecordingFileService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RecordingFileService, deps: [{ token: i1.HttpClient }, { token: SPEECHRECORDER_CONFIG }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
9722
|
+
RecordingFileService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RecordingFileService });
|
|
9723
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RecordingFileService, decorators: [{
|
|
9677
9724
|
type: Injectable
|
|
9678
9725
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: SpeechRecorderConfig, decorators: [{
|
|
9679
9726
|
type: Inject,
|
|
@@ -9697,8 +9744,8 @@ class RecordingFileNaviComponent {
|
|
|
9697
9744
|
}
|
|
9698
9745
|
}
|
|
9699
9746
|
}
|
|
9700
|
-
RecordingFileNaviComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
9701
|
-
RecordingFileNaviComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
9747
|
+
RecordingFileNaviComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RecordingFileNaviComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9748
|
+
RecordingFileNaviComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", 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: `
|
|
9702
9749
|
<div #controlPanel style="display:flex;flex-direction: row;">
|
|
9703
9750
|
<div #navi style="flex: 0;display:flex;flex-direction: row;flex-wrap: nowrap">
|
|
9704
9751
|
<fieldset>
|
|
@@ -9712,16 +9759,16 @@ RecordingFileNaviComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0
|
|
|
9712
9759
|
<legend>Navigate</legend>
|
|
9713
9760
|
<mat-progress-spinner *ngIf="naviInfoLoading" mode="indeterminate" [diameter]="15"></mat-progress-spinner>
|
|
9714
9761
|
<div *ngIf="!naviInfoLoading" style="flex: 0;display:flex;flex-direction: row;flex-wrap: nowrap">
|
|
9715
|
-
<button (click)="firstAction?.perform()" [disabled]="!firstAction || firstAction
|
|
9762
|
+
<button (click)="firstAction?.perform()" [disabled]="!firstAction || firstAction.disabled" matTooltip="First recording file">
|
|
9716
9763
|
<mat-icon>first_page</mat-icon>
|
|
9717
9764
|
</button>
|
|
9718
|
-
<button (click)="prevAction?.perform()" [disabled]="!prevAction || prevAction
|
|
9765
|
+
<button (click)="prevAction?.perform()" [disabled]="!prevAction || prevAction.disabled" matTooltip="Previous recording file">
|
|
9719
9766
|
<mat-icon>chevron_left</mat-icon>
|
|
9720
9767
|
</button>
|
|
9721
|
-
<button (click)="nextAction?.perform()" [disabled]="!nextAction || nextAction
|
|
9768
|
+
<button (click)="nextAction?.perform()" [disabled]="!nextAction || nextAction.disabled" matTooltip="Next recording file">
|
|
9722
9769
|
<mat-icon>chevron_right</mat-icon>
|
|
9723
9770
|
</button>
|
|
9724
|
-
<button (click)="lastAction?.perform()" [disabled]="!lastAction || lastAction
|
|
9771
|
+
<button (click)="lastAction?.perform()" [disabled]="!lastAction || lastAction.disabled" matTooltip="Last recording file">
|
|
9725
9772
|
<mat-icon>last_page</mat-icon>
|
|
9726
9773
|
</button>
|
|
9727
9774
|
</div>
|
|
@@ -9731,7 +9778,7 @@ RecordingFileNaviComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0
|
|
|
9731
9778
|
</div>
|
|
9732
9779
|
</div>
|
|
9733
9780
|
`, 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"] }] });
|
|
9734
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
9781
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RecordingFileNaviComponent, decorators: [{
|
|
9735
9782
|
type: Component,
|
|
9736
9783
|
args: [{ selector: 'app-recording-file-navi', template: `
|
|
9737
9784
|
<div #controlPanel style="display:flex;flex-direction: row;">
|
|
@@ -9747,16 +9794,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
9747
9794
|
<legend>Navigate</legend>
|
|
9748
9795
|
<mat-progress-spinner *ngIf="naviInfoLoading" mode="indeterminate" [diameter]="15"></mat-progress-spinner>
|
|
9749
9796
|
<div *ngIf="!naviInfoLoading" style="flex: 0;display:flex;flex-direction: row;flex-wrap: nowrap">
|
|
9750
|
-
<button (click)="firstAction?.perform()" [disabled]="!firstAction || firstAction
|
|
9797
|
+
<button (click)="firstAction?.perform()" [disabled]="!firstAction || firstAction.disabled" matTooltip="First recording file">
|
|
9751
9798
|
<mat-icon>first_page</mat-icon>
|
|
9752
9799
|
</button>
|
|
9753
|
-
<button (click)="prevAction?.perform()" [disabled]="!prevAction || prevAction
|
|
9800
|
+
<button (click)="prevAction?.perform()" [disabled]="!prevAction || prevAction.disabled" matTooltip="Previous recording file">
|
|
9754
9801
|
<mat-icon>chevron_left</mat-icon>
|
|
9755
9802
|
</button>
|
|
9756
|
-
<button (click)="nextAction?.perform()" [disabled]="!nextAction || nextAction
|
|
9803
|
+
<button (click)="nextAction?.perform()" [disabled]="!nextAction || nextAction.disabled" matTooltip="Next recording file">
|
|
9757
9804
|
<mat-icon>chevron_right</mat-icon>
|
|
9758
9805
|
</button>
|
|
9759
|
-
<button (click)="lastAction?.perform()" [disabled]="!lastAction || lastAction
|
|
9806
|
+
<button (click)="lastAction?.perform()" [disabled]="!lastAction || lastAction.disabled" matTooltip="Last recording file">
|
|
9760
9807
|
<mat-icon>last_page</mat-icon>
|
|
9761
9808
|
</button>
|
|
9762
9809
|
</div>
|
|
@@ -9828,8 +9875,8 @@ class RecordingFileMetaComponent {
|
|
|
9828
9875
|
return t;
|
|
9829
9876
|
}
|
|
9830
9877
|
}
|
|
9831
|
-
RecordingFileMetaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
9832
|
-
RecordingFileMetaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
9878
|
+
RecordingFileMetaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RecordingFileMetaComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9879
|
+
RecordingFileMetaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: RecordingFileMetaComponent, selector: "app-recording-file-meta", inputs: { sessionId: "sessionId", recordingFile: "recordingFile" }, ngImport: i0, template: `
|
|
9833
9880
|
<mat-card>
|
|
9834
9881
|
<mat-card-title>Recording file ID: {{recordingFile?.recordingFileId}}</mat-card-title>
|
|
9835
9882
|
<mat-card-content>
|
|
@@ -9863,7 +9910,7 @@ RecordingFileMetaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0
|
|
|
9863
9910
|
</mat-card-content>
|
|
9864
9911
|
</mat-card>
|
|
9865
9912
|
`, 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]" }] });
|
|
9866
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
9913
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RecordingFileMetaComponent, decorators: [{
|
|
9867
9914
|
type: Component,
|
|
9868
9915
|
args: [{ selector: 'app-recording-file-meta', template: `
|
|
9869
9916
|
<mat-card>
|
|
@@ -9921,6 +9968,7 @@ class RecordingFileViewComponent extends AudioDisplayPlayer {
|
|
|
9921
9968
|
//protected _recordingFileId: string | number = null;
|
|
9922
9969
|
this.sessionId = null;
|
|
9923
9970
|
this.sessionIdFromRoute = null;
|
|
9971
|
+
this.availRecFiles = null;
|
|
9924
9972
|
this.versions = null;
|
|
9925
9973
|
this.recordingFile = null;
|
|
9926
9974
|
this.recordingFileVersion = null;
|
|
@@ -9987,7 +10035,7 @@ class RecordingFileViewComponent extends AudioDisplayPlayer {
|
|
|
9987
10035
|
}
|
|
9988
10036
|
}
|
|
9989
10037
|
navigateToRecordingFile() {
|
|
9990
|
-
if (this.posInList != null) {
|
|
10038
|
+
if (this.posInList != null && this.availRecFiles) {
|
|
9991
10039
|
let latestNextRf = this.availRecFiles[this.posInList][0];
|
|
9992
10040
|
let lnRfId = latestNextRf.recordingFileId;
|
|
9993
10041
|
if (lnRfId) {
|
|
@@ -9998,7 +10046,7 @@ class RecordingFileViewComponent extends AudioDisplayPlayer {
|
|
|
9998
10046
|
toVersion(ae) {
|
|
9999
10047
|
let toRfId = null;
|
|
10000
10048
|
let version = ae.value;
|
|
10001
|
-
if (this.posInList != null) {
|
|
10049
|
+
if (this.posInList != null && this.availRecFiles) {
|
|
10002
10050
|
let cRfs = this.availRecFiles[this.posInList];
|
|
10003
10051
|
let availVersionCnt = cRfs.length;
|
|
10004
10052
|
for (let cRf of cRfs) {
|
|
@@ -10253,8 +10301,8 @@ class RecordingFileViewComponent extends AudioDisplayPlayer {
|
|
|
10253
10301
|
}
|
|
10254
10302
|
}
|
|
10255
10303
|
}
|
|
10256
|
-
RecordingFileViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
10257
|
-
RecordingFileViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
10304
|
+
RecordingFileViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", 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 });
|
|
10305
|
+
RecordingFileViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: RecordingFileViewComponent, selector: "app-audiodisplayplayer", viewQueries: [{ propertyName: "ac", first: true, predicate: AudioDisplayScrollPane, descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
10258
10306
|
|
|
10259
10307
|
<audio-display-scroll-pane #audioDisplayScrollPane></audio-display-scroll-pane>
|
|
10260
10308
|
<div class="ctrlview">
|
|
@@ -10272,7 +10320,7 @@ RecordingFileViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0
|
|
|
10272
10320
|
<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>
|
|
10273
10321
|
</div>
|
|
10274
10322
|
`, 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"] }] });
|
|
10275
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
10323
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RecordingFileViewComponent, decorators: [{
|
|
10276
10324
|
type: Component,
|
|
10277
10325
|
args: [{ selector: 'app-audiodisplayplayer', template: `
|
|
10278
10326
|
|
|
@@ -10377,8 +10425,8 @@ class RecordingFileUI extends RecordingFileViewComponent {
|
|
|
10377
10425
|
}
|
|
10378
10426
|
}
|
|
10379
10427
|
}
|
|
10380
|
-
RecordingFileUI.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
10381
|
-
RecordingFileUI.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
10428
|
+
RecordingFileUI.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", 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 });
|
|
10429
|
+
RecordingFileUI.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: RecordingFileUI, selector: "app-audiodisplayplayer", usesInheritance: true, ngImport: i0, template: `
|
|
10382
10430
|
<h1>Recording file editing</h1>
|
|
10383
10431
|
<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>
|
|
10384
10432
|
|
|
@@ -10399,7 +10447,7 @@ RecordingFileUI.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
|
|
|
10399
10447
|
|
|
10400
10448
|
<button mat-raised-button color="accent" (click)="applySelection()" [disabled]="editSaved">{{this.applyButtonText()}}</button>
|
|
10401
10449
|
`, 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"] }] });
|
|
10402
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
10450
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RecordingFileUI, decorators: [{
|
|
10403
10451
|
type: Component,
|
|
10404
10452
|
args: [{ selector: 'app-audiodisplayplayer', template: `
|
|
10405
10453
|
<h1>Recording file editing</h1>
|
|
@@ -10495,8 +10543,8 @@ class RecordingList {
|
|
|
10495
10543
|
return str;
|
|
10496
10544
|
}
|
|
10497
10545
|
}
|
|
10498
|
-
RecordingList.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
10499
|
-
RecordingList.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
10546
|
+
RecordingList.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RecordingList, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10547
|
+
RecordingList.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: RecordingList, selector: "app-recordinglist", inputs: { selectDisabled: "selectDisabled", selectedRecordingFile: "selectedRecordingFile" }, outputs: { selectedRecordingFileChanged: "selectedRecordingFileChanged" }, ngImport: i0, template: `
|
|
10500
10548
|
<mat-card>
|
|
10501
10549
|
<mat-card-header>
|
|
10502
10550
|
<h2>Recording list</h2>
|
|
@@ -10526,7 +10574,7 @@ RecordingList.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version:
|
|
|
10526
10574
|
</mat-card>
|
|
10527
10575
|
|
|
10528
10576
|
`, 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" }] });
|
|
10529
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
10577
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RecordingList, decorators: [{
|
|
10530
10578
|
type: Component,
|
|
10531
10579
|
args: [{ selector: 'app-recordinglist', template: `
|
|
10532
10580
|
<mat-card>
|
|
@@ -10566,8 +10614,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
10566
10614
|
type: Input
|
|
10567
10615
|
}] } });
|
|
10568
10616
|
|
|
10569
|
-
class RecorderCombiPane {
|
|
10570
|
-
constructor() {
|
|
10617
|
+
class RecorderCombiPane extends ResponsiveComponent {
|
|
10618
|
+
constructor(bpo) {
|
|
10619
|
+
super(bpo);
|
|
10620
|
+
this.bpo = bpo;
|
|
10571
10621
|
this.selectDisabled = false;
|
|
10572
10622
|
this.selectedRecordingFileChanged = new EventEmitter();
|
|
10573
10623
|
this.selectedRecordingFile = null;
|
|
@@ -10586,12 +10636,12 @@ class RecorderCombiPane {
|
|
|
10586
10636
|
this.recordingListComp.selectTop();
|
|
10587
10637
|
}
|
|
10588
10638
|
}
|
|
10589
|
-
RecorderCombiPane.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
10590
|
-
RecorderCombiPane.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
10639
|
+
RecorderCombiPane.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RecorderCombiPane, deps: [{ token: i1$3.BreakpointObserver }], target: i0.ɵɵFactoryTarget.Component });
|
|
10640
|
+
RecorderCombiPane.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", 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 }], usesInheritance: true, ngImport: i0, template: `
|
|
10591
10641
|
<div class="scrollList">
|
|
10592
10642
|
<app-recordinglist [selectedRecordingFile]="selectedRecordingFile" [selectDisabled]="selectDisabled" (selectedRecordingFileChanged)="selectRecordingFile($event)"></app-recordinglist>
|
|
10593
10643
|
</div>
|
|
10594
|
-
<div class="collapsable"
|
|
10644
|
+
<div class="collapsable" #asCt [class.active]="!audioSignalCollapsed && !screenXs">
|
|
10595
10645
|
<app-audiodisplay #audioSignalContainer [class.active]="!audioSignalCollapsed"
|
|
10596
10646
|
[audioClip]="displayAudioClip"
|
|
10597
10647
|
[playStartAction]="playStartAction"
|
|
@@ -10599,14 +10649,14 @@ RecorderCombiPane.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
|
|
|
10599
10649
|
[autoPlayOnSelectToggleAction]="autoPlayOnSelectToggleAction"
|
|
10600
10650
|
[playStopAction]="playStopAction"></app-audiodisplay>
|
|
10601
10651
|
</div>
|
|
10602
|
-
`, 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:
|
|
10603
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
10652
|
+
`, 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:0;height:90%;width:100%;overflow:hidden;padding:0;z-index:200;box-sizing:border-box;background-color:#0000}\n"], dependencies: [{ 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"] }] });
|
|
10653
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RecorderCombiPane, decorators: [{
|
|
10604
10654
|
type: Component,
|
|
10605
10655
|
args: [{ selector: 'app-recordercombipane', template: `
|
|
10606
10656
|
<div class="scrollList">
|
|
10607
10657
|
<app-recordinglist [selectedRecordingFile]="selectedRecordingFile" [selectDisabled]="selectDisabled" (selectedRecordingFileChanged)="selectRecordingFile($event)"></app-recordinglist>
|
|
10608
10658
|
</div>
|
|
10609
|
-
<div class="collapsable"
|
|
10659
|
+
<div class="collapsable" #asCt [class.active]="!audioSignalCollapsed && !screenXs">
|
|
10610
10660
|
<app-audiodisplay #audioSignalContainer [class.active]="!audioSignalCollapsed"
|
|
10611
10661
|
[audioClip]="displayAudioClip"
|
|
10612
10662
|
[playStartAction]="playStartAction"
|
|
@@ -10614,8 +10664,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
10614
10664
|
[autoPlayOnSelectToggleAction]="autoPlayOnSelectToggleAction"
|
|
10615
10665
|
[playStopAction]="playStopAction"></app-audiodisplay>
|
|
10616
10666
|
</div>
|
|
10617
|
-
`, 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:
|
|
10618
|
-
}], ctorParameters: function () { return []; }, propDecorators: { recordingListComp: [{
|
|
10667
|
+
`, 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:0;height:90%;width:100%;overflow:hidden;padding:0;z-index:200;box-sizing:border-box;background-color:#0000}\n"] }]
|
|
10668
|
+
}], ctorParameters: function () { return [{ type: i1$3.BreakpointObserver }]; }, propDecorators: { recordingListComp: [{
|
|
10619
10669
|
type: ViewChild,
|
|
10620
10670
|
args: [RecordingList]
|
|
10621
10671
|
}], selectDisabled: [{
|
|
@@ -10649,8 +10699,9 @@ class Item {
|
|
|
10649
10699
|
}
|
|
10650
10700
|
}
|
|
10651
10701
|
class AudioRecorder extends BasicRecorder {
|
|
10652
|
-
constructor(changeDetectorRef, renderer, route, dialog, sessionService, recFileService, uploader, config) {
|
|
10653
|
-
super(dialog, sessionService, uploader, config);
|
|
10702
|
+
constructor(bpo, changeDetectorRef, renderer, route, dialog, sessionService, recFileService, uploader, config) {
|
|
10703
|
+
super(bpo, changeDetectorRef, dialog, sessionService, uploader, config);
|
|
10704
|
+
this.bpo = bpo;
|
|
10654
10705
|
this.changeDetectorRef = changeDetectorRef;
|
|
10655
10706
|
this.renderer = renderer;
|
|
10656
10707
|
this.route = route;
|
|
@@ -10723,7 +10774,7 @@ class AudioRecorder extends BasicRecorder {
|
|
|
10723
10774
|
type: 'error',
|
|
10724
10775
|
title: 'Error',
|
|
10725
10776
|
msg: errMsg,
|
|
10726
|
-
|
|
10777
|
+
advice: 'Please use a supported browser.',
|
|
10727
10778
|
}
|
|
10728
10779
|
});
|
|
10729
10780
|
return;
|
|
@@ -10744,7 +10795,7 @@ class AudioRecorder extends BasicRecorder {
|
|
|
10744
10795
|
type: 'error',
|
|
10745
10796
|
title: 'Error',
|
|
10746
10797
|
msg: errMsg,
|
|
10747
|
-
|
|
10798
|
+
advice: 'Please use a supported browser.',
|
|
10748
10799
|
}
|
|
10749
10800
|
});
|
|
10750
10801
|
return;
|
|
@@ -10769,7 +10820,7 @@ class AudioRecorder extends BasicRecorder {
|
|
|
10769
10820
|
type: 'error',
|
|
10770
10821
|
title: 'Error',
|
|
10771
10822
|
msg: errMsg,
|
|
10772
|
-
|
|
10823
|
+
advice: 'Please use a supported browser.',
|
|
10773
10824
|
}
|
|
10774
10825
|
});
|
|
10775
10826
|
return;
|
|
@@ -10777,7 +10828,7 @@ class AudioRecorder extends BasicRecorder {
|
|
|
10777
10828
|
this.transportActions.stopAction.onAction = () => this.stopItem();
|
|
10778
10829
|
this.transportActions.nextAction.onAction = () => this.stopItem();
|
|
10779
10830
|
//this.transportActions.pauseAction.onAction = () => this.pauseItem();
|
|
10780
|
-
this.playStartAction.onAction = () => this.controlAudioPlayer
|
|
10831
|
+
this.playStartAction.onAction = () => this.controlAudioPlayer?.start();
|
|
10781
10832
|
}
|
|
10782
10833
|
this.uploader.listener = (ue) => {
|
|
10783
10834
|
this.uploadUpdate(ue);
|
|
@@ -10922,9 +10973,6 @@ class AudioRecorder extends BasicRecorder {
|
|
|
10922
10973
|
this.changeDetectorRef.detectChanges();
|
|
10923
10974
|
}
|
|
10924
10975
|
set controlAudioPlayer(controlAudioPlayer) {
|
|
10925
|
-
if (this._controlAudioPlayer) {
|
|
10926
|
-
//this._controlAudioPlayer.listener=null;
|
|
10927
|
-
}
|
|
10928
10976
|
this._controlAudioPlayer = controlAudioPlayer;
|
|
10929
10977
|
if (this._controlAudioPlayer) {
|
|
10930
10978
|
this._controlAudioPlayer.listener = this;
|
|
@@ -11049,12 +11097,16 @@ class AudioRecorder extends BasicRecorder {
|
|
|
11049
11097
|
let ab = this._displayRecFile.audioBuffer;
|
|
11050
11098
|
if (ab) {
|
|
11051
11099
|
this.displayAudioClip = new AudioClip(ab);
|
|
11052
|
-
this.
|
|
11100
|
+
if (this._controlAudioPlayer) {
|
|
11101
|
+
this._controlAudioPlayer.audioClip = this.displayAudioClip;
|
|
11102
|
+
}
|
|
11053
11103
|
}
|
|
11054
11104
|
else {
|
|
11055
11105
|
// clear for now ...
|
|
11056
11106
|
this.displayAudioClip = null;
|
|
11057
|
-
this.
|
|
11107
|
+
if (this._controlAudioPlayer) {
|
|
11108
|
+
this._controlAudioPlayer.audioClip = null;
|
|
11109
|
+
}
|
|
11058
11110
|
if (this._controlAudioPlayer && this._session) {
|
|
11059
11111
|
//... and try to fetch from server
|
|
11060
11112
|
this.audioFetchSubscription = this.recFileService.fetchAndApplyRecordingFile(this._controlAudioPlayer.context, this._session.project, this._displayRecFile).subscribe((rf) => {
|
|
@@ -11069,7 +11121,9 @@ class AudioRecorder extends BasicRecorder {
|
|
|
11069
11121
|
if (fab) {
|
|
11070
11122
|
this.displayAudioClip = new AudioClip(fab);
|
|
11071
11123
|
}
|
|
11072
|
-
this.
|
|
11124
|
+
if (this._controlAudioPlayer) {
|
|
11125
|
+
this._controlAudioPlayer.audioClip = this.displayAudioClip;
|
|
11126
|
+
}
|
|
11073
11127
|
this.showRecording();
|
|
11074
11128
|
}, err => {
|
|
11075
11129
|
console.error("Could not load recording file from server: " + err);
|
|
@@ -11085,7 +11139,9 @@ class AudioRecorder extends BasicRecorder {
|
|
|
11085
11139
|
}
|
|
11086
11140
|
else {
|
|
11087
11141
|
this.displayAudioClip = null;
|
|
11088
|
-
this.
|
|
11142
|
+
if (this._controlAudioPlayer) {
|
|
11143
|
+
this._controlAudioPlayer.audioClip = null;
|
|
11144
|
+
}
|
|
11089
11145
|
}
|
|
11090
11146
|
this.showRecording();
|
|
11091
11147
|
}
|
|
@@ -11093,7 +11149,9 @@ class AudioRecorder extends BasicRecorder {
|
|
|
11093
11149
|
return this._displayRecFile;
|
|
11094
11150
|
}
|
|
11095
11151
|
showRecording() {
|
|
11096
|
-
this.
|
|
11152
|
+
if (this._controlAudioPlayer) {
|
|
11153
|
+
this._controlAudioPlayer.stop();
|
|
11154
|
+
}
|
|
11097
11155
|
if (this.displayAudioClip) {
|
|
11098
11156
|
let dap = this.displayAudioClip;
|
|
11099
11157
|
this.levelMeasure.calcBufferLevelInfos(dap.buffer, LEVEL_BAR_INTERVALL_SECONDS).then((levelInfos) => {
|
|
@@ -11278,7 +11336,7 @@ class AudioRecorder extends BasicRecorder {
|
|
|
11278
11336
|
}
|
|
11279
11337
|
}
|
|
11280
11338
|
updateControlPlaybackPosition() {
|
|
11281
|
-
if (this._controlAudioPlayer.playPositionFrames) {
|
|
11339
|
+
if (this._controlAudioPlayer && this._controlAudioPlayer.playPositionFrames) {
|
|
11282
11340
|
this.recorderCombiPane.audioDisplay.playFramePosition = this._controlAudioPlayer.playPositionFrames;
|
|
11283
11341
|
this.liveLevelDisplay.playFramePosition = this._controlAudioPlayer.playPositionFrames;
|
|
11284
11342
|
}
|
|
@@ -11299,8 +11357,8 @@ class AudioRecorder extends BasicRecorder {
|
|
|
11299
11357
|
}
|
|
11300
11358
|
}
|
|
11301
11359
|
}
|
|
11302
|
-
AudioRecorder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
11303
|
-
AudioRecorder.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
11360
|
+
AudioRecorder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AudioRecorder, deps: [{ token: i1$3.BreakpointObserver }, { 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 });
|
|
11361
|
+
AudioRecorder.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", 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: `
|
|
11304
11362
|
<app-warningbar [show]="isTestSession()" warningText="Test recording only!"></app-warningbar>
|
|
11305
11363
|
<app-warningbar [show]="isDefaultAudioTestSession()"
|
|
11306
11364
|
warningText="This test uses default audio device! Regular sessions may require a particular audio device (microphone)!"></app-warningbar>
|
|
@@ -11309,18 +11367,17 @@ AudioRecorder.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version:
|
|
|
11309
11367
|
[selectedRecordingFile]="displayRecFile"
|
|
11310
11368
|
[selectDisabled]="isActive()"
|
|
11311
11369
|
[displayAudioClip]="displayAudioClip"
|
|
11312
|
-
[playStartAction]="controlAudioPlayer
|
|
11313
|
-
[playStopAction]="controlAudioPlayer
|
|
11314
|
-
[playSelectionAction]="controlAudioPlayer
|
|
11315
|
-
[autoPlayOnSelectToggleAction]="controlAudioPlayer
|
|
11370
|
+
[playStartAction]="controlAudioPlayer?.startAction"
|
|
11371
|
+
[playStopAction]="controlAudioPlayer?.stopAction"
|
|
11372
|
+
[playSelectionAction]="controlAudioPlayer?.startSelectionAction"
|
|
11373
|
+
[autoPlayOnSelectToggleAction]="controlAudioPlayer?.autoPlayOnSelectToggleAction"
|
|
11316
11374
|
></app-recordercombipane>
|
|
11317
11375
|
|
|
11318
|
-
<div
|
|
11319
|
-
|
|
11320
|
-
<audio-levelbar fxFlex="1 0 1" [streamingMode]="isRecording()"
|
|
11376
|
+
<div [class]="{audioStatusDisplay:!screenXs,audioStatusDisplayXs:screenXs}">
|
|
11377
|
+
<audio-levelbar style="flex:1 0 1%" [streamingMode]="isRecording()"
|
|
11321
11378
|
[displayLevelInfos]="displayAudioClip?.levelInfos"></audio-levelbar>
|
|
11322
11379
|
<div fxLayout="row">
|
|
11323
|
-
<spr-recordingitemcontrols
|
|
11380
|
+
<spr-recordingitemcontrols style="flex:10 0 1%"
|
|
11324
11381
|
[audioLoaded]="displayAudioClip?.buffer!==null"
|
|
11325
11382
|
[playStartAction]="controlAudioPlayer?.startAction"
|
|
11326
11383
|
[playStopAction]="controlAudioPlayer?.stopAction"
|
|
@@ -11329,11 +11386,11 @@ AudioRecorder.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version:
|
|
|
11329
11386
|
(onShowRecordingDetails)="audioSignalCollapsed=!audioSignalCollapsed">
|
|
11330
11387
|
</spr-recordingitemcontrols>
|
|
11331
11388
|
|
|
11332
|
-
<app-uploadstatus class="ricontrols dark"
|
|
11389
|
+
<app-uploadstatus *ngIf="screenXs && enableUploadRecordings" class="ricontrols dark" style="flex:0 0 0"
|
|
11333
11390
|
[value]="uploadProgress"
|
|
11334
11391
|
[status]="uploadStatus" [awaitNewUpload]="processingRecording"></app-uploadstatus>
|
|
11335
|
-
<app-wakelockindicator class="ricontrols dark"
|
|
11336
|
-
<app-readystateindicator class="ricontrols dark"
|
|
11392
|
+
<app-wakelockindicator *ngIf="screenXs" class="ricontrols dark" style="flex:0 0 0" [screenLocked]="screenLocked"></app-wakelockindicator>
|
|
11393
|
+
<app-readystateindicator *ngIf="screenXs" class="ricontrols dark" style="flex:0 0 0"
|
|
11337
11394
|
[ready]="dataSaved && !isActive()"></app-readystateindicator>
|
|
11338
11395
|
</div>
|
|
11339
11396
|
</div>
|
|
@@ -11341,7 +11398,7 @@ AudioRecorder.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version:
|
|
|
11341
11398
|
<app-sprstatusdisplay fxHide.xs fxFlex="30% 1 30%" [statusMsg]="statusMsg" [statusAlertType]="statusAlertType"
|
|
11342
11399
|
[statusWaiting]="statusWaiting"
|
|
11343
11400
|
class="hidden-xs"></app-sprstatusdisplay>
|
|
11344
|
-
<div
|
|
11401
|
+
<div style="flex:1 0 100%" class="startstop">
|
|
11345
11402
|
<div style="align-content: center">
|
|
11346
11403
|
<button (click)="startStopPerform()" [disabled]="startDisabled() && stopDisabled()" mat-raised-button class="bigbutton">
|
|
11347
11404
|
<mat-icon [style.color]="startStopNextIconColor()" inline="true">{{startStopNextIconName()}}</mat-icon>
|
|
@@ -11349,19 +11406,19 @@ AudioRecorder.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version:
|
|
|
11349
11406
|
</button>
|
|
11350
11407
|
</div>
|
|
11351
11408
|
</div>
|
|
11352
|
-
<div
|
|
11353
|
-
<div
|
|
11409
|
+
<div style="flex:0.333 1 30%" >
|
|
11410
|
+
<div style="flex:1 1 auto"></div>
|
|
11354
11411
|
|
|
11355
|
-
<app-uploadstatus class="ricontrols"
|
|
11412
|
+
<app-uploadstatus *ngIf="!screenXs && enableUploadRecordings" class="ricontrols" style="flex:0 0 0"
|
|
11356
11413
|
[value]="uploadProgress"
|
|
11357
11414
|
[status]="uploadStatus" [awaitNewUpload]="processingRecording"></app-uploadstatus>
|
|
11358
|
-
<app-wakelockindicator class="ricontrols"
|
|
11359
|
-
<app-readystateindicator class="ricontrols"
|
|
11415
|
+
<app-wakelockindicator *ngIf="!screenXs" class="ricontrols" [screenLocked]="screenLocked"></app-wakelockindicator>
|
|
11416
|
+
<app-readystateindicator *ngIf="!screenXs" class="ricontrols"
|
|
11360
11417
|
[ready]="dataSaved && !isActive()"></app-readystateindicator>
|
|
11361
11418
|
</div>
|
|
11362
11419
|
</div>
|
|
11363
|
-
`, 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"
|
|
11364
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
11420
|
+
`, 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{display:flex;flex-direction:row;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", ".audioStatusDisplay{display:flex;flex-direction:row;height:100px;min-height:100px}\n", ".audioStatusDisplayXs{display:flex;flex-direction:column;height:125px;min-height:125px}\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.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"] }] });
|
|
11421
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AudioRecorder, decorators: [{
|
|
11365
11422
|
type: Component,
|
|
11366
11423
|
args: [{ selector: 'app-audiorecorder', providers: [SessionService], template: `
|
|
11367
11424
|
<app-warningbar [show]="isTestSession()" warningText="Test recording only!"></app-warningbar>
|
|
@@ -11372,18 +11429,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
11372
11429
|
[selectedRecordingFile]="displayRecFile"
|
|
11373
11430
|
[selectDisabled]="isActive()"
|
|
11374
11431
|
[displayAudioClip]="displayAudioClip"
|
|
11375
|
-
[playStartAction]="controlAudioPlayer
|
|
11376
|
-
[playStopAction]="controlAudioPlayer
|
|
11377
|
-
[playSelectionAction]="controlAudioPlayer
|
|
11378
|
-
[autoPlayOnSelectToggleAction]="controlAudioPlayer
|
|
11432
|
+
[playStartAction]="controlAudioPlayer?.startAction"
|
|
11433
|
+
[playStopAction]="controlAudioPlayer?.stopAction"
|
|
11434
|
+
[playSelectionAction]="controlAudioPlayer?.startSelectionAction"
|
|
11435
|
+
[autoPlayOnSelectToggleAction]="controlAudioPlayer?.autoPlayOnSelectToggleAction"
|
|
11379
11436
|
></app-recordercombipane>
|
|
11380
11437
|
|
|
11381
|
-
<div
|
|
11382
|
-
|
|
11383
|
-
<audio-levelbar fxFlex="1 0 1" [streamingMode]="isRecording()"
|
|
11438
|
+
<div [class]="{audioStatusDisplay:!screenXs,audioStatusDisplayXs:screenXs}">
|
|
11439
|
+
<audio-levelbar style="flex:1 0 1%" [streamingMode]="isRecording()"
|
|
11384
11440
|
[displayLevelInfos]="displayAudioClip?.levelInfos"></audio-levelbar>
|
|
11385
11441
|
<div fxLayout="row">
|
|
11386
|
-
<spr-recordingitemcontrols
|
|
11442
|
+
<spr-recordingitemcontrols style="flex:10 0 1%"
|
|
11387
11443
|
[audioLoaded]="displayAudioClip?.buffer!==null"
|
|
11388
11444
|
[playStartAction]="controlAudioPlayer?.startAction"
|
|
11389
11445
|
[playStopAction]="controlAudioPlayer?.stopAction"
|
|
@@ -11392,11 +11448,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
11392
11448
|
(onShowRecordingDetails)="audioSignalCollapsed=!audioSignalCollapsed">
|
|
11393
11449
|
</spr-recordingitemcontrols>
|
|
11394
11450
|
|
|
11395
|
-
<app-uploadstatus class="ricontrols dark"
|
|
11451
|
+
<app-uploadstatus *ngIf="screenXs && enableUploadRecordings" class="ricontrols dark" style="flex:0 0 0"
|
|
11396
11452
|
[value]="uploadProgress"
|
|
11397
11453
|
[status]="uploadStatus" [awaitNewUpload]="processingRecording"></app-uploadstatus>
|
|
11398
|
-
<app-wakelockindicator class="ricontrols dark"
|
|
11399
|
-
<app-readystateindicator class="ricontrols dark"
|
|
11454
|
+
<app-wakelockindicator *ngIf="screenXs" class="ricontrols dark" style="flex:0 0 0" [screenLocked]="screenLocked"></app-wakelockindicator>
|
|
11455
|
+
<app-readystateindicator *ngIf="screenXs" class="ricontrols dark" style="flex:0 0 0"
|
|
11400
11456
|
[ready]="dataSaved && !isActive()"></app-readystateindicator>
|
|
11401
11457
|
</div>
|
|
11402
11458
|
</div>
|
|
@@ -11404,7 +11460,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
11404
11460
|
<app-sprstatusdisplay fxHide.xs fxFlex="30% 1 30%" [statusMsg]="statusMsg" [statusAlertType]="statusAlertType"
|
|
11405
11461
|
[statusWaiting]="statusWaiting"
|
|
11406
11462
|
class="hidden-xs"></app-sprstatusdisplay>
|
|
11407
|
-
<div
|
|
11463
|
+
<div style="flex:1 0 100%" class="startstop">
|
|
11408
11464
|
<div style="align-content: center">
|
|
11409
11465
|
<button (click)="startStopPerform()" [disabled]="startDisabled() && stopDisabled()" mat-raised-button class="bigbutton">
|
|
11410
11466
|
<mat-icon [style.color]="startStopNextIconColor()" inline="true">{{startStopNextIconName()}}</mat-icon>
|
|
@@ -11412,19 +11468,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
11412
11468
|
</button>
|
|
11413
11469
|
</div>
|
|
11414
11470
|
</div>
|
|
11415
|
-
<div
|
|
11416
|
-
<div
|
|
11471
|
+
<div style="flex:0.333 1 30%" >
|
|
11472
|
+
<div style="flex:1 1 auto"></div>
|
|
11417
11473
|
|
|
11418
|
-
<app-uploadstatus class="ricontrols"
|
|
11474
|
+
<app-uploadstatus *ngIf="!screenXs && enableUploadRecordings" class="ricontrols" style="flex:0 0 0"
|
|
11419
11475
|
[value]="uploadProgress"
|
|
11420
11476
|
[status]="uploadStatus" [awaitNewUpload]="processingRecording"></app-uploadstatus>
|
|
11421
|
-
<app-wakelockindicator class="ricontrols"
|
|
11422
|
-
<app-readystateindicator class="ricontrols"
|
|
11477
|
+
<app-wakelockindicator *ngIf="!screenXs" class="ricontrols" [screenLocked]="screenLocked"></app-wakelockindicator>
|
|
11478
|
+
<app-readystateindicator *ngIf="!screenXs" class="ricontrols"
|
|
11423
11479
|
[ready]="dataSaved && !isActive()"></app-readystateindicator>
|
|
11424
11480
|
</div>
|
|
11425
11481
|
</div>
|
|
11426
|
-
`, 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"] }]
|
|
11427
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i1$2.ActivatedRoute }, { type: i1$4.MatDialog }, { type: SessionService }, { type: RecordingService }, { type: SpeechRecorderUploader }, { type: SpeechRecorderConfig, decorators: [{
|
|
11482
|
+
`, 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{display:flex;flex-direction:row;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", ".audioStatusDisplay{display:flex;flex-direction:row;height:100px;min-height:100px}\n", ".audioStatusDisplayXs{display:flex;flex-direction:column;height:125px;min-height:125px}\n"] }]
|
|
11483
|
+
}], ctorParameters: function () { return [{ type: i1$3.BreakpointObserver }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i1$2.ActivatedRoute }, { type: i1$4.MatDialog }, { type: SessionService }, { type: RecordingService }, { type: SpeechRecorderUploader }, { type: SpeechRecorderConfig, decorators: [{
|
|
11428
11484
|
type: Inject,
|
|
11429
11485
|
args: [SPEECHRECORDER_CONFIG]
|
|
11430
11486
|
}] }]; }, propDecorators: { projectName: [{
|
|
@@ -11569,11 +11625,11 @@ class AudioRecorderComponent extends RecorderComponent {
|
|
|
11569
11625
|
return this.dataSaved && !this.ar.isActive();
|
|
11570
11626
|
}
|
|
11571
11627
|
}
|
|
11572
|
-
AudioRecorderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
11573
|
-
AudioRecorderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
11628
|
+
AudioRecorderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", 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 });
|
|
11629
|
+
AudioRecorderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: AudioRecorderComponent, selector: "app-audiorecorder-comp", providers: [SessionService], viewQueries: [{ propertyName: "ar", first: true, predicate: AudioRecorder, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
11574
11630
|
<app-audiorecorder [projectName]="_project?.name" [dataSaved]="dataSaved"></app-audiorecorder>
|
|
11575
11631
|
`, 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"] }] });
|
|
11576
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
11632
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AudioRecorderComponent, decorators: [{
|
|
11577
11633
|
type: Component,
|
|
11578
11634
|
args: [{ selector: 'app-audiorecorder-comp', providers: [SessionService], template: `
|
|
11579
11635
|
<app-audiorecorder [projectName]="_project?.name" [dataSaved]="dataSaved"></app-audiorecorder>
|
|
@@ -11612,22 +11668,22 @@ class SpeechrecorderngModule {
|
|
|
11612
11668
|
};
|
|
11613
11669
|
}
|
|
11614
11670
|
}
|
|
11615
|
-
SpeechrecorderngModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
11616
|
-
SpeechrecorderngModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.
|
|
11617
|
-
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,
|
|
11618
|
-
SpeechrecorderngModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.
|
|
11619
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
11671
|
+
SpeechrecorderngModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SpeechrecorderngModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
11672
|
+
SpeechrecorderngModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: SpeechrecorderngModule, declarations: [AudioSignal, Sonagram, ScrollPaneHorizontal, AudioClipUIContainer, AudioDisplayScrollPane, AudioDisplay, AudioDisplayPlayer, AudioDisplayControl, LevelBar, Progress, SimpleTrafficLight, Recinstructions, Prompter, PromptContainer, PromptingContainer, Prompting, StatusDisplay,
|
|
11673
|
+
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, 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] });
|
|
11674
|
+
SpeechrecorderngModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SpeechrecorderngModule, providers: [SessionService, ProjectService, ScriptService, RecordingService, RecordingFileService, SpeechRecorderUploader], imports: [RouterModule.forChild(SPR_ROUTES), CommonModule, MatIconModule, MatButtonModule, MatDialogModule, MatProgressBarModule, MatProgressSpinnerModule, MatTooltipModule, HttpClientModule, MatCheckboxModule, MatCardModule, MatDividerModule, MatGridListModule, MatTableModule, MatInputModule, MatSelectModule, MatSnackBarModule] });
|
|
11675
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SpeechrecorderngModule, decorators: [{
|
|
11620
11676
|
type: NgModule,
|
|
11621
11677
|
args: [{
|
|
11622
11678
|
declarations: [AudioSignal, Sonagram, ScrollPaneHorizontal, AudioClipUIContainer, AudioDisplayScrollPane, AudioDisplay, AudioDisplayPlayer, AudioDisplayControl, LevelBar, Progress, SimpleTrafficLight, Recinstructions, Prompter, PromptContainer, PromptingContainer, Prompting, StatusDisplay,
|
|
11623
11679
|
ProgressDisplay, RecordingItemDisplay, RecordingItemControls, UploadStatus, TransportPanel, WakeLockIndicator, ReadyStateIndicator, ControlPanel, WarningBar, AudioRecorder, SessionManager, MessageDialog, SessionFinishedDialog, SpeechrecorderngComponent, AudioRecorderComponent, RecordingFileViewComponent, RecordingFileUI, ScrollIntoViewDirective, RecordingFileNaviComponent, RecordingFileMetaComponent, RecordingList, RecorderCombiPane, AudioRecorder],
|
|
11624
11680
|
exports: [MessageDialog, SpeechrecorderngComponent, ScrollPaneHorizontal, AudioClipUIContainer, AudioDisplayScrollPane, AudioDisplay, AudioDisplayPlayer, AudioDisplayControl, LevelBar, AudioRecorder],
|
|
11625
|
-
imports: [RouterModule.forChild(SPR_ROUTES),
|
|
11681
|
+
imports: [RouterModule.forChild(SPR_ROUTES), CommonModule, MatIconModule, MatButtonModule, MatDialogModule, MatProgressBarModule, MatProgressSpinnerModule, MatTooltipModule, HttpClientModule, MatCheckboxModule, MatCardModule, MatDividerModule, MatGridListModule, MatTableModule, MatInputModule, MatSelectModule, MatSnackBarModule],
|
|
11626
11682
|
providers: [SessionService, ProjectService, ScriptService, RecordingService, RecordingFileService, SpeechRecorderUploader]
|
|
11627
11683
|
}]
|
|
11628
11684
|
}] });
|
|
11629
11685
|
|
|
11630
|
-
const VERSION = '2.25.
|
|
11686
|
+
const VERSION = '2.25.7';
|
|
11631
11687
|
|
|
11632
11688
|
/*
|
|
11633
11689
|
* Public API Surface of speechrecorderng
|