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 () {
|
|
1846
1845
|
return [{ type: i1.HttpClient }, { type: i1$1.PlatformLocation }, { type: SpeechRecorderConfig, decorators: [{
|
|
@@ -1898,9 +1897,9 @@ class SessionService {
|
|
|
1898
1897
|
}
|
|
1899
1898
|
}
|
|
1900
1899
|
SessionService.SESSION_API_CTX = 'session';
|
|
1901
|
-
SessionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
1902
|
-
SessionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
1903
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
1900
|
+
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 });
|
|
1901
|
+
SessionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SessionService });
|
|
1902
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SessionService, decorators: [{
|
|
1904
1903
|
type: Injectable
|
|
1905
1904
|
}], ctorParameters: function () {
|
|
1906
1905
|
return [{ type: i1.HttpClient }, { type: SpeechRecorderConfig, decorators: [{
|
|
@@ -1941,8 +1940,8 @@ class SimpleTrafficLight {
|
|
|
1941
1940
|
}
|
|
1942
1941
|
}
|
|
1943
1942
|
}
|
|
1944
|
-
SimpleTrafficLight.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
1945
|
-
SimpleTrafficLight.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
1943
|
+
SimpleTrafficLight.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SimpleTrafficLight, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1944
|
+
SimpleTrafficLight.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: SimpleTrafficLight, selector: "app-simpletrafficlight", inputs: { status: "status" }, ngImport: i0, template: `
|
|
1946
1945
|
|
|
1947
1946
|
<div>
|
|
1948
1947
|
<div class="circle {{lighttop}}"></div>
|
|
@@ -1950,7 +1949,7 @@ SimpleTrafficLight.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
|
|
|
1950
1949
|
<div class="circle {{lightbottom}}"></div>
|
|
1951
1950
|
</div>
|
|
1952
1951
|
`, isInline: true, styles: [".circle{width:50px;height:50px;border-radius:50%;margin:5px;background:grey}\n", ".red{background:red}\n", ".yellow{background:yellow}\n", ".green{background:green}\n", ".black{background:black}\n", ":host{display:flex;flex-direction:column;background:black;padding:2px;height:170px;max-height:170px;flex:0 0 content}\n"] });
|
|
1953
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
1952
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SimpleTrafficLight, decorators: [{
|
|
1954
1953
|
type: Component,
|
|
1955
1954
|
args: [{ selector: 'app-simpletrafficlight', template: `
|
|
1956
1955
|
|
|
@@ -2021,9 +2020,9 @@ class CanvasLayerComponent {
|
|
|
2021
2020
|
}
|
|
2022
2021
|
}
|
|
2023
2022
|
}
|
|
2024
|
-
CanvasLayerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
2025
|
-
CanvasLayerComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.
|
|
2026
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
2023
|
+
CanvasLayerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CanvasLayerComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2024
|
+
CanvasLayerComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: CanvasLayerComponent, ngImport: i0 });
|
|
2025
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CanvasLayerComponent, decorators: [{
|
|
2027
2026
|
type: Directive
|
|
2028
2027
|
}], ctorParameters: function () { return []; } });
|
|
2029
2028
|
|
|
@@ -2263,9 +2262,9 @@ class BasicAudioCanvasLayerComponent extends CanvasLayerComponent {
|
|
|
2263
2262
|
//});
|
|
2264
2263
|
}
|
|
2265
2264
|
}
|
|
2266
|
-
BasicAudioCanvasLayerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
2267
|
-
BasicAudioCanvasLayerComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.
|
|
2268
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
2265
|
+
BasicAudioCanvasLayerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BasicAudioCanvasLayerComponent, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2266
|
+
BasicAudioCanvasLayerComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: BasicAudioCanvasLayerComponent, usesInheritance: true, ngImport: i0 });
|
|
2267
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BasicAudioCanvasLayerComponent, decorators: [{
|
|
2269
2268
|
type: Directive
|
|
2270
2269
|
}] });
|
|
2271
2270
|
class AudioCanvasLayerComponent extends BasicAudioCanvasLayerComponent {
|
|
@@ -2466,9 +2465,9 @@ class AudioCanvasLayerComponent extends BasicAudioCanvasLayerComponent {
|
|
|
2466
2465
|
}
|
|
2467
2466
|
}
|
|
2468
2467
|
}
|
|
2469
|
-
AudioCanvasLayerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
2470
|
-
AudioCanvasLayerComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.
|
|
2471
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
2468
|
+
AudioCanvasLayerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AudioCanvasLayerComponent, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2469
|
+
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 });
|
|
2470
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AudioCanvasLayerComponent, decorators: [{
|
|
2472
2471
|
type: Directive
|
|
2473
2472
|
}], propDecorators: { bgCanvasRef: [{
|
|
2474
2473
|
type: ViewChild,
|
|
@@ -2791,14 +2790,14 @@ class AudioSignal extends AudioCanvasLayerComponent {
|
|
|
2791
2790
|
this.playFramePosition = 0;
|
|
2792
2791
|
}
|
|
2793
2792
|
}
|
|
2794
|
-
AudioSignal.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
2795
|
-
AudioSignal.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
2793
|
+
AudioSignal.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AudioSignal, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2794
|
+
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: `
|
|
2796
2795
|
<canvas #bg height="10"></canvas>
|
|
2797
2796
|
<canvas #audioSignal height="10"></canvas>
|
|
2798
2797
|
<canvas #cursor height="10" (mousedown)="selectionStart($event)" (mouseover)="updateCursorCanvas($event)" (mousemove)="updateCursorCanvas($event)"
|
|
2799
2798
|
(mouseleave)="updateCursorCanvas($event, false)"></canvas>
|
|
2800
2799
|
<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"] });
|
|
2801
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
2800
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AudioSignal, decorators: [{
|
|
2802
2801
|
type: Component,
|
|
2803
2802
|
args: [{ selector: 'audio-signal', template: `
|
|
2804
2803
|
<canvas #bg height="10"></canvas>
|
|
@@ -3761,14 +3760,14 @@ class Sonagram extends AudioCanvasLayerComponent {
|
|
|
3761
3760
|
//this.startRender();
|
|
3762
3761
|
}
|
|
3763
3762
|
}
|
|
3764
|
-
Sonagram.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
3765
|
-
Sonagram.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
3763
|
+
Sonagram.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: Sonagram, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
3764
|
+
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: `
|
|
3766
3765
|
<canvas #sonagram height="10"></canvas>
|
|
3767
3766
|
<canvas #bg height="10"></canvas>
|
|
3768
3767
|
<canvas #cursor height="10" (mousedown)="selectionStart($event)" (mouseover)="updateCursorCanvas($event)" (mousemove)="updateCursorCanvas($event)"
|
|
3769
3768
|
(mouseleave)="updateCursorCanvas($event, false)"></canvas>
|
|
3770
3769
|
<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"] });
|
|
3771
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
3770
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: Sonagram, decorators: [{
|
|
3772
3771
|
type: Component,
|
|
3773
3772
|
args: [{ selector: 'audio-sonagram', template: `
|
|
3774
3773
|
<canvas #sonagram height="10"></canvas>
|
|
@@ -4120,8 +4119,8 @@ class AudioClipUIContainer extends BasicAudioCanvasLayerComponent {
|
|
|
4120
4119
|
}
|
|
4121
4120
|
}
|
|
4122
4121
|
AudioClipUIContainer.DIVIDER_PIXEL_SIZE = 10;
|
|
4123
|
-
AudioClipUIContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
4124
|
-
AudioClipUIContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
4122
|
+
AudioClipUIContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AudioClipUIContainer, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4123
|
+
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: `
|
|
4125
4124
|
<div #virtualCanvas>
|
|
4126
4125
|
<canvas #divider (mousedown)="mousedown($event)" (mouseover)="mouseover($event)"
|
|
4127
4126
|
(mouseleave)="mouseleave($event)" height="10"></canvas>
|
|
@@ -4129,7 +4128,7 @@ AudioClipUIContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
|
4129
4128
|
<audio-sonagram [pointerPosition]="pointer" [selecting]="selecting" [selection]="selection" (pointerPositionEventEmitter)="pointerPositionChanged($event)" (selectingEventEmitter)="selectingChanged($event)" (selectedEventEmitter)="selectionChanged($event)"></audio-sonagram>
|
|
4130
4129
|
</div>
|
|
4131
4130
|
`, isInline: true, styles: ["div{margin:0;padding:0;top:0;left:0;width:100%;height:100%;position:relative;box-sizing:border-box;transform:none;overflow:hidden}\n", "canvas{top:0;left:0;width:0;height:0;cursor:ns-resize;position:absolute;zIndex:1;transform:none}\n", "audio-signal{top:0;left:0;position:absolute;zIndex:1;transform:none}\n", "audio-sonagram{top:0;left:0;position:absolute;zIndex:1;transform:none}\n"], dependencies: [{ kind: "component", type: AudioSignal, selector: "audio-signal" }, { kind: "component", type: Sonagram, selector: "audio-sonagram" }] });
|
|
4132
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
4131
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AudioClipUIContainer, decorators: [{
|
|
4133
4132
|
type: Component,
|
|
4134
4133
|
args: [{ selector: 'app-audio', template: `
|
|
4135
4134
|
<div #virtualCanvas>
|
|
@@ -4278,13 +4277,13 @@ class AudioDisplayScrollPane {
|
|
|
4278
4277
|
this.ac.playFramePosition = framePos;
|
|
4279
4278
|
}
|
|
4280
4279
|
}
|
|
4281
|
-
AudioDisplayScrollPane.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
4282
|
-
AudioDisplayScrollPane.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
4280
|
+
AudioDisplayScrollPane.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AudioDisplayScrollPane, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4281
|
+
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: `
|
|
4283
4282
|
|
|
4284
4283
|
<app-audio #audioSignalContainer (selectionEventEmitter)="selectionChanged($event)"></app-audio>
|
|
4285
4284
|
|
|
4286
4285
|
`, isInline: true, styles: [":host{flex:2;width:100%;background:darkgray;box-sizing:border-box;height:100%;position:relative;overflow-x:scroll;overflow-y:auto}\n", "app-audio{margin:0;padding:0;top:0;left:0;width:100%;height:100%;box-sizing:border-box}\n"], dependencies: [{ kind: "component", type: AudioClipUIContainer, selector: "app-audio", inputs: ["audioData", "audioClip"], outputs: ["selectionEventEmitter"] }] });
|
|
4287
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
4286
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AudioDisplayScrollPane, decorators: [{
|
|
4288
4287
|
type: Component,
|
|
4289
4288
|
args: [{ selector: 'audio-display-scroll-pane', template: `
|
|
4290
4289
|
|
|
@@ -4344,8 +4343,8 @@ class AudioDisplayControl {
|
|
|
4344
4343
|
this.status = 'ERROR';
|
|
4345
4344
|
}
|
|
4346
4345
|
}
|
|
4347
|
-
AudioDisplayControl.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
4348
|
-
AudioDisplayControl.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
4346
|
+
AudioDisplayControl.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AudioDisplayControl, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4347
|
+
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: `
|
|
4349
4348
|
<div #controlPanel style="display:flex;flex-direction: row;">
|
|
4350
4349
|
<fieldset>
|
|
4351
4350
|
|
|
@@ -4389,7 +4388,7 @@ AudioDisplayControl.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
|
|
|
4389
4388
|
|
|
4390
4389
|
</fieldset>
|
|
4391
4390
|
</div>`, isInline: true, styles: [":host{flex:0}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i4.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "component", type: i4$1.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }] });
|
|
4392
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
4391
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AudioDisplayControl, decorators: [{
|
|
4393
4392
|
type: Component,
|
|
4394
4393
|
args: [{ selector: 'audio-display-control', template: `
|
|
4395
4394
|
<div #controlPanel style="display:flex;flex-direction: row;">
|
|
@@ -4522,8 +4521,8 @@ class AudioDisplay {
|
|
|
4522
4521
|
this.status = 'ERROR';
|
|
4523
4522
|
}
|
|
4524
4523
|
}
|
|
4525
|
-
AudioDisplay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
4526
|
-
AudioDisplay.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
4524
|
+
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 });
|
|
4525
|
+
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: `
|
|
4527
4526
|
|
|
4528
4527
|
<audio-display-scroll-pane #audioDisplayScrollPane></audio-display-scroll-pane>
|
|
4529
4528
|
|
|
@@ -4536,8 +4535,8 @@ AudioDisplay.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version:
|
|
|
4536
4535
|
[zoomOutAction]="zoomOutAction"
|
|
4537
4536
|
[zoomSelectedAction]="zoomSelectedAction"
|
|
4538
4537
|
[zoomFitToPanelAction]="zoomFitToPanelAction"></audio-display-control>
|
|
4539
|
-
`, isInline: true, styles: [":host{display:flex;flex-direction:column;position:absolute;bottom:
|
|
4540
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
4538
|
+
`, 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"] }] });
|
|
4539
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AudioDisplay, decorators: [{
|
|
4541
4540
|
type: Component,
|
|
4542
4541
|
args: [{ selector: 'app-audiodisplay', template: `
|
|
4543
4542
|
|
|
@@ -4552,7 +4551,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
4552
4551
|
[zoomOutAction]="zoomOutAction"
|
|
4553
4552
|
[zoomSelectedAction]="zoomSelectedAction"
|
|
4554
4553
|
[zoomFitToPanelAction]="zoomFitToPanelAction"></audio-display-control>
|
|
4555
|
-
`, styles: [":host{display:flex;flex-direction:column;position:absolute;bottom:
|
|
4554
|
+
`, 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"] }]
|
|
4556
4555
|
}], ctorParameters: function () { return [{ type: i1$2.ActivatedRoute }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }]; }, propDecorators: { playStartAction: [{
|
|
4557
4556
|
type: Input
|
|
4558
4557
|
}], playStopAction: [{
|
|
@@ -4570,6 +4569,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
4570
4569
|
type: Input
|
|
4571
4570
|
}] } });
|
|
4572
4571
|
|
|
4572
|
+
class ResponsiveComponent {
|
|
4573
|
+
constructor(breakpointObserver) {
|
|
4574
|
+
this.breakpointObserver = breakpointObserver;
|
|
4575
|
+
this.screenXs = false;
|
|
4576
|
+
breakpointObserver
|
|
4577
|
+
.observe([
|
|
4578
|
+
Breakpoints.XSmall
|
|
4579
|
+
])
|
|
4580
|
+
.subscribe(result => {
|
|
4581
|
+
this.screenXs = (result.matches);
|
|
4582
|
+
//console.debug("Screen XS: "+this.screenXs);
|
|
4583
|
+
});
|
|
4584
|
+
}
|
|
4585
|
+
}
|
|
4586
|
+
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 });
|
|
4587
|
+
ResponsiveComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: ResponsiveComponent, ngImport: i0 });
|
|
4588
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ResponsiveComponent, decorators: [{
|
|
4589
|
+
type: Directive
|
|
4590
|
+
}], ctorParameters: function () { return [{ type: i1$3.BreakpointObserver }]; } });
|
|
4591
|
+
|
|
4573
4592
|
class ScrollIntoViewDirective {
|
|
4574
4593
|
constructor(elRef) {
|
|
4575
4594
|
this.elRef = elRef;
|
|
@@ -4580,9 +4599,9 @@ class ScrollIntoViewDirective {
|
|
|
4580
4599
|
}
|
|
4581
4600
|
}
|
|
4582
4601
|
}
|
|
4583
|
-
ScrollIntoViewDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
4584
|
-
ScrollIntoViewDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.
|
|
4585
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
4602
|
+
ScrollIntoViewDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ScrollIntoViewDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4603
|
+
ScrollIntoViewDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: ScrollIntoViewDirective, selector: "[scrollIntoViewToBottom]", inputs: { scrollIntoViewToBottom: "scrollIntoViewToBottom" }, ngImport: i0 });
|
|
4604
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ScrollIntoViewDirective, decorators: [{
|
|
4586
4605
|
type: Directive,
|
|
4587
4606
|
args: [{
|
|
4588
4607
|
selector: "[scrollIntoViewToBottom]"
|
|
@@ -4616,8 +4635,8 @@ class Progress {
|
|
|
4616
4635
|
}
|
|
4617
4636
|
}
|
|
4618
4637
|
}
|
|
4619
|
-
Progress.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
4620
|
-
Progress.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
4638
|
+
Progress.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: Progress, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4639
|
+
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: `
|
|
4621
4640
|
|
|
4622
4641
|
<table class="mat-typography">
|
|
4623
4642
|
<thead>
|
|
@@ -4645,7 +4664,7 @@ Progress.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
|
4645
4664
|
</tbody>
|
|
4646
4665
|
</table>
|
|
4647
4666
|
`, isInline: true, styles: [":host{overflow-x:hidden;overflow-y:scroll;padding:10pt;flex:.1 0 content;background:white;min-height:1px}\n", "table{min-height:1px;border-collapse:collapse}table,th,td{border:1px solid lightgrey;padding:.5em}\n", ".selRow{background:lightblue}\n", ".promptDescriptor{max-width:200px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}\n"], dependencies: [{ kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: ScrollIntoViewDirective, selector: "[scrollIntoViewToBottom]", inputs: ["scrollIntoViewToBottom"] }] });
|
|
4648
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
4667
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: Progress, decorators: [{
|
|
4649
4668
|
type: Component,
|
|
4650
4669
|
args: [{ selector: 'app-sprprogress', template: `
|
|
4651
4670
|
|
|
@@ -4707,12 +4726,12 @@ class Recinstructions {
|
|
|
4707
4726
|
return riTxt;
|
|
4708
4727
|
}
|
|
4709
4728
|
}
|
|
4710
|
-
Recinstructions.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
4711
|
-
Recinstructions.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
4729
|
+
Recinstructions.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: Recinstructions, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4730
|
+
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: `
|
|
4712
4731
|
|
|
4713
4732
|
{{displayText()}}
|
|
4714
4733
|
`, isInline: true, styles: [":host{justify-content:left;align-items:flex-start;background:white;text-align:left;font-size:1em;flex:0;width:100%}\n"] });
|
|
4715
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
4734
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: Recinstructions, decorators: [{
|
|
4716
4735
|
type: Component,
|
|
4717
4736
|
args: [{ selector: 'spr-recinstructions', template: `
|
|
4718
4737
|
|
|
@@ -4886,13 +4905,13 @@ class Prompter {
|
|
|
4886
4905
|
}
|
|
4887
4906
|
}
|
|
4888
4907
|
}
|
|
4889
|
-
Prompter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
4890
|
-
Prompter.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
4908
|
+
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 });
|
|
4909
|
+
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: `
|
|
4891
4910
|
|
|
4892
4911
|
<!--<ng-template [ngIf]="text">{{text}}</ng-template>-->
|
|
4893
4912
|
<!-- <img *ngIf="src" #promptImage [src]="srcUrl()" [height]="prompterHeight-20" /> -->
|
|
4894
4913
|
`, 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"] });
|
|
4895
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
4914
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: Prompter, decorators: [{
|
|
4896
4915
|
type: Component,
|
|
4897
4916
|
args: [{ selector: 'app-sprprompter', template: `
|
|
4898
4917
|
|
|
@@ -5040,11 +5059,11 @@ class PromptContainer {
|
|
|
5040
5059
|
}
|
|
5041
5060
|
}
|
|
5042
5061
|
}
|
|
5043
|
-
PromptContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
5044
|
-
PromptContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
5062
|
+
PromptContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PromptContainer, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
5063
|
+
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: `
|
|
5045
5064
|
<app-sprprompter #prompter [projectName]="projectName" [promptMediaItems]="mediaitems" [style.font-size]="fontSize+'px'" [style.visibility]="prDisplay" [prompterHeight]="prompterHeight"></app-sprprompter>
|
|
5046
5065
|
`, isInline: true, styles: [":host{flex:3;padding:10pt;height:100%;max-height:100%;justify-content:center;align-items:center;background:white;text-align:center;display:flex;flex-direction:column;min-height:0px;width:100%}\n"], dependencies: [{ kind: "component", type: Prompter, selector: "app-sprprompter", inputs: ["projectName", "prompterHeight", "promptMediaItems"] }] });
|
|
5047
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
5066
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PromptContainer, decorators: [{
|
|
5048
5067
|
type: Component,
|
|
5049
5068
|
args: [{ selector: 'app-sprpromptcontainer', template: `
|
|
5050
5069
|
<app-sprprompter #prompter [projectName]="projectName" [promptMediaItems]="mediaitems" [style.font-size]="fontSize+'px'" [style.visibility]="prDisplay" [prompterHeight]="prompterHeight"></app-sprprompter>
|
|
@@ -5167,15 +5186,15 @@ class PromptingContainer {
|
|
|
5167
5186
|
//ev.preventDefault();
|
|
5168
5187
|
}
|
|
5169
5188
|
}
|
|
5170
|
-
PromptingContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
5171
|
-
PromptingContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
5189
|
+
PromptingContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PromptingContainer, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
5190
|
+
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: `
|
|
5172
5191
|
<spr-recinstructions [selectedItemIdx]="selectedItemIdx" [itemCount]="itemCount"
|
|
5173
5192
|
[recinstructions]="promptItem?.recinstructions?.recinstructions"></spr-recinstructions>
|
|
5174
5193
|
<app-sprpromptcontainer [projectName]="projectName"
|
|
5175
5194
|
[mediaitems]="showPrompt?(promptItem?promptItem.mediaitems:null):null"></app-sprpromptcontainer>
|
|
5176
5195
|
|
|
5177
5196
|
`, isInline: true, styles: [":host{position:relative;flex:3;padding:10pt;justify-content:center;align-items:center;background:white;text-align:center;display:flex;flex-direction:column;min-height:0px}\n"], dependencies: [{ kind: "component", type: Recinstructions, selector: "spr-recinstructions", inputs: ["recinstructions", "selectedItemIdx", "itemCount"] }, { kind: "component", type: PromptContainer, selector: "app-sprpromptcontainer", inputs: ["projectName", "mediaitems"] }] });
|
|
5178
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
5197
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PromptingContainer, decorators: [{
|
|
5179
5198
|
type: Component,
|
|
5180
5199
|
args: [{ selector: 'app-sprpromptingcontainer', template: `
|
|
5181
5200
|
<spr-recinstructions [selectedItemIdx]="selectedItemIdx" [itemCount]="itemCount"
|
|
@@ -5209,8 +5228,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
5209
5228
|
type: HostListener,
|
|
5210
5229
|
args: ['touchcancel', ['$event']]
|
|
5211
5230
|
}] } });
|
|
5212
|
-
class Prompting {
|
|
5213
|
-
constructor() {
|
|
5231
|
+
class Prompting extends ResponsiveComponent {
|
|
5232
|
+
constructor(bpo) {
|
|
5233
|
+
super(bpo);
|
|
5234
|
+
this.bpo = bpo;
|
|
5214
5235
|
this.promptItem = null;
|
|
5215
5236
|
this.showPrompt = false;
|
|
5216
5237
|
this.items = null;
|
|
@@ -5231,16 +5252,16 @@ class Prompting {
|
|
|
5231
5252
|
this.onPrevItem.emit();
|
|
5232
5253
|
}
|
|
5233
5254
|
}
|
|
5234
|
-
Prompting.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
5235
|
-
Prompting.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
5255
|
+
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 });
|
|
5256
|
+
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: `
|
|
5236
5257
|
|
|
5237
5258
|
<app-simpletrafficlight [status]="startStopSignalState"></app-simpletrafficlight>
|
|
5238
5259
|
<app-sprpromptingcontainer [projectName]="projectName" [promptItem]="promptItem" [showPrompt]="showPrompt"
|
|
5239
5260
|
[itemCount]="items?.length" [selectedItemIdx]="selectedItemIdx"
|
|
5240
5261
|
[transportActions]="transportActions"></app-sprpromptingcontainer>
|
|
5241
|
-
<app-sprprogress
|
|
5262
|
+
<app-sprprogress *ngIf="!screenXs" [items]="items" [selectedItemIdx]="selectedItemIdx"
|
|
5242
5263
|
(onRowSelect)="itemSelect($event)"></app-sprprogress>
|
|
5243
|
-
<div
|
|
5264
|
+
<div #asCt [class.active]="!audioSignalCollapsed && !screenXs">
|
|
5244
5265
|
|
|
5245
5266
|
<app-audiodisplay #audioSignalContainer [class.active]="!audioSignalCollapsed"
|
|
5246
5267
|
[audioClip]="displayAudioClip"
|
|
@@ -5254,8 +5275,8 @@ Prompting.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14
|
|
|
5254
5275
|
|
|
5255
5276
|
|
|
5256
5277
|
|
|
5257
|
-
`, isInline: true, styles: [":host{position:relative;margin:0;padding:0;background:lightgrey;width:100%;flex:1;min-height:0px;display:flex;flex-direction:row;flex-wrap:nowrap}\n", "app-simpletrafficlight{margin:10px;min-height:0px;z-index:3}\n", "app-sprprogress{z-index:3}\n", "div{display:none;position:absolute;z-index:5}\n", "div.active{display:flex;position:absolute;bottom:
|
|
5258
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
5278
|
+
`, 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"] }] });
|
|
5279
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: Prompting, decorators: [{
|
|
5259
5280
|
type: Component,
|
|
5260
5281
|
args: [{ selector: 'app-sprprompting', template: `
|
|
5261
5282
|
|
|
@@ -5263,9 +5284,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
5263
5284
|
<app-sprpromptingcontainer [projectName]="projectName" [promptItem]="promptItem" [showPrompt]="showPrompt"
|
|
5264
5285
|
[itemCount]="items?.length" [selectedItemIdx]="selectedItemIdx"
|
|
5265
5286
|
[transportActions]="transportActions"></app-sprpromptingcontainer>
|
|
5266
|
-
<app-sprprogress
|
|
5287
|
+
<app-sprprogress *ngIf="!screenXs" [items]="items" [selectedItemIdx]="selectedItemIdx"
|
|
5267
5288
|
(onRowSelect)="itemSelect($event)"></app-sprprogress>
|
|
5268
|
-
<div
|
|
5289
|
+
<div #asCt [class.active]="!audioSignalCollapsed && !screenXs">
|
|
5269
5290
|
|
|
5270
5291
|
<app-audiodisplay #audioSignalContainer [class.active]="!audioSignalCollapsed"
|
|
5271
5292
|
[audioClip]="displayAudioClip"
|
|
@@ -5279,8 +5300,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
5279
5300
|
|
|
5280
5301
|
|
|
5281
5302
|
|
|
5282
|
-
`, styles: [":host{position:relative;margin:0;padding:0;background:lightgrey;width:100%;flex:1;min-height:0px;display:flex;flex-direction:row;flex-wrap:nowrap}\n", "app-simpletrafficlight{margin:10px;min-height:0px;z-index:3}\n", "app-sprprogress{z-index:3}\n", "div{display:none;position:absolute;z-index:5}\n", "div.active{display:flex;position:absolute;bottom:
|
|
5283
|
-
}], propDecorators: { simpleTrafficLight: [{
|
|
5303
|
+
`, 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"] }]
|
|
5304
|
+
}], ctorParameters: function () { return [{ type: i1$3.BreakpointObserver }]; }, propDecorators: { simpleTrafficLight: [{
|
|
5284
5305
|
type: ViewChild,
|
|
5285
5306
|
args: [SimpleTrafficLight, { static: true }]
|
|
5286
5307
|
}], audioDisplay: [{
|
|
@@ -5331,8 +5352,8 @@ class SessionFinishedDialog {
|
|
|
5331
5352
|
this.dialogRef.close();
|
|
5332
5353
|
}
|
|
5333
5354
|
}
|
|
5334
|
-
SessionFinishedDialog.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
5335
|
-
SessionFinishedDialog.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
5355
|
+
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 });
|
|
5356
|
+
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>
|
|
5336
5357
|
<div mat-dialog-content>
|
|
5337
5358
|
|
|
5338
5359
|
<p>Thank you! The recording session is complete.</p>
|
|
@@ -5342,7 +5363,7 @@ SessionFinishedDialog.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
5342
5363
|
<button mat-button (click)="closeDialog()">OK</button>
|
|
5343
5364
|
</div>
|
|
5344
5365
|
`, isInline: true, dependencies: [{ kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i3.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: i1$4.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1$4.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "directive", type: i1$4.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }] });
|
|
5345
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
5366
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SessionFinishedDialog, decorators: [{
|
|
5346
5367
|
type: Component,
|
|
5347
5368
|
args: [{
|
|
5348
5369
|
selector: 'spr-session-finished-dialog',
|
|
@@ -5373,8 +5394,8 @@ class MessageDialog {
|
|
|
5373
5394
|
this.dialogRef.close();
|
|
5374
5395
|
}
|
|
5375
5396
|
}
|
|
5376
|
-
MessageDialog.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
5377
|
-
MessageDialog.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
5397
|
+
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 });
|
|
5398
|
+
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>
|
|
5378
5399
|
<mat-icon *ngIf="data.type==='warning'" [style.color]="'yellow'">warning</mat-icon>{{data.title}}</h1>
|
|
5379
5400
|
<div mat-dialog-content>
|
|
5380
5401
|
|
|
@@ -5386,7 +5407,7 @@ MessageDialog.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version:
|
|
|
5386
5407
|
<button mat-button (click)="closeDialog()">OK</button>
|
|
5387
5408
|
</div>
|
|
5388
5409
|
`, isInline: true, dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i3.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: i1$4.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1$4.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "directive", type: i1$4.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }] });
|
|
5389
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
5410
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MessageDialog, decorators: [{
|
|
5390
5411
|
type: Component,
|
|
5391
5412
|
args: [{
|
|
5392
5413
|
selector: 'msg-dialog',
|
|
@@ -5727,14 +5748,14 @@ class LevelBar {
|
|
|
5727
5748
|
}
|
|
5728
5749
|
}
|
|
5729
5750
|
}
|
|
5730
|
-
LevelBar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
5731
|
-
LevelBar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
5751
|
+
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 });
|
|
5752
|
+
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: `
|
|
5732
5753
|
<div #virtualCanvas>
|
|
5733
5754
|
<canvas #levelbar></canvas>
|
|
5734
5755
|
<canvas #markerCanvas></canvas>
|
|
5735
5756
|
</div>
|
|
5736
5757
|
`, 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"] });
|
|
5737
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
5758
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: LevelBar, decorators: [{
|
|
5738
5759
|
type: Component,
|
|
5739
5760
|
args: [{ selector: 'audio-levelbar', template: `
|
|
5740
5761
|
<div #virtualCanvas>
|
|
@@ -5770,14 +5791,14 @@ class StatusDisplay {
|
|
|
5770
5791
|
this.statusWaiting = false;
|
|
5771
5792
|
}
|
|
5772
5793
|
}
|
|
5773
|
-
StatusDisplay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
5774
|
-
StatusDisplay.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
5794
|
+
StatusDisplay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: StatusDisplay, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5795
|
+
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: `
|
|
5775
5796
|
<p matTooltip="Status">
|
|
5776
5797
|
<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>
|
|
5777
5798
|
{{statusMsg}}
|
|
5778
5799
|
</p>
|
|
5779
5800
|
`, isInline: true, styles: [":host{display:inline;text-align:left;font-size:smaller}\n", "p{padding:4px;white-space:nowrap;display:inline-block}\n", "mat-progress-spinner{color:#000;display:inline-block}\n", "span{color:red}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i3$1.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "diameter", "strokeWidth", "mode", "value"], exportAs: ["matProgressSpinner"] }, { kind: "directive", type: i4.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }] });
|
|
5780
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
5801
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: StatusDisplay, decorators: [{
|
|
5781
5802
|
type: Component,
|
|
5782
5803
|
args: [{ selector: 'app-sprstatusdisplay', template: `
|
|
5783
5804
|
<p matTooltip="Status">
|
|
@@ -5796,6 +5817,7 @@ class UploadStatus {
|
|
|
5796
5817
|
constructor() {
|
|
5797
5818
|
this._awaitNewUpload = false;
|
|
5798
5819
|
this.spinnerMode = 'determinate';
|
|
5820
|
+
this._colorStatus = 'primary';
|
|
5799
5821
|
this._value = 100;
|
|
5800
5822
|
this.displayValue = null;
|
|
5801
5823
|
this.toolTipText = '';
|
|
@@ -5833,17 +5855,26 @@ class UploadStatus {
|
|
|
5833
5855
|
}
|
|
5834
5856
|
set status(status) {
|
|
5835
5857
|
this._status = status;
|
|
5858
|
+
if ('accent' === status) {
|
|
5859
|
+
this._colorStatus = 'accent';
|
|
5860
|
+
}
|
|
5861
|
+
else if ('warn' === status) {
|
|
5862
|
+
this._colorStatus = 'warn';
|
|
5863
|
+
}
|
|
5864
|
+
else {
|
|
5865
|
+
this._colorStatus = 'primary';
|
|
5866
|
+
}
|
|
5836
5867
|
this._updateSpinner();
|
|
5837
5868
|
}
|
|
5838
5869
|
get status() {
|
|
5839
5870
|
return this._status;
|
|
5840
5871
|
}
|
|
5841
5872
|
}
|
|
5842
|
-
UploadStatus.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
5843
|
-
UploadStatus.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
5873
|
+
UploadStatus.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: UploadStatus, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5874
|
+
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: `
|
|
5844
5875
|
<mat-progress-spinner [mode]="spinnerMode" [color]="status" [diameter]="30" [strokeWidth]="5" [value]="_value" [matTooltip]="toolTipText"></mat-progress-spinner>
|
|
5845
5876
|
`, isInline: true, styles: [":host{flex:1;text-align:left}\n", "mat-progress-spinner{display:inline-block}\n"], dependencies: [{ kind: "component", type: i3$1.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "diameter", "strokeWidth", "mode", "value"], exportAs: ["matProgressSpinner"] }, { kind: "directive", type: i4.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }] });
|
|
5846
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
5877
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: UploadStatus, decorators: [{
|
|
5847
5878
|
type: Component,
|
|
5848
5879
|
args: [{ selector: 'app-uploadstatus', template: `
|
|
5849
5880
|
<mat-progress-spinner [mode]="spinnerMode" [color]="status" [diameter]="30" [strokeWidth]="5" [value]="_value" [matTooltip]="toolTipText"></mat-progress-spinner>
|
|
@@ -5860,11 +5891,11 @@ class ProgressDisplay {
|
|
|
5860
5891
|
this.progressMsg = '[itemcode]';
|
|
5861
5892
|
}
|
|
5862
5893
|
}
|
|
5863
|
-
ProgressDisplay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
5864
|
-
ProgressDisplay.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
5894
|
+
ProgressDisplay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ProgressDisplay, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5895
|
+
ProgressDisplay.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: ProgressDisplay, selector: "app-sprprogressdisplay", ngImport: i0, template: `
|
|
5865
5896
|
<p>{{progressMsg}}</p>
|
|
5866
5897
|
`, isInline: true, styles: [":host{flex:1;width:100%;text-align:left}\n"] });
|
|
5867
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
5898
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ProgressDisplay, decorators: [{
|
|
5868
5899
|
type: Component,
|
|
5869
5900
|
args: [{ selector: 'app-sprprogressdisplay', template: `
|
|
5870
5901
|
<p>{{progressMsg}}</p>
|
|
@@ -5881,8 +5912,9 @@ class TransportActions {
|
|
|
5881
5912
|
this.bwdAction = new Action('Backward');
|
|
5882
5913
|
}
|
|
5883
5914
|
}
|
|
5884
|
-
class TransportPanel {
|
|
5885
|
-
constructor() {
|
|
5915
|
+
class TransportPanel extends ResponsiveComponent {
|
|
5916
|
+
constructor(breakpointObserver) {
|
|
5917
|
+
super(breakpointObserver);
|
|
5886
5918
|
this.navigationEnabled = true;
|
|
5887
5919
|
this.pausingEnabled = true;
|
|
5888
5920
|
}
|
|
@@ -5954,29 +5986,29 @@ class TransportPanel {
|
|
|
5954
5986
|
}
|
|
5955
5987
|
}
|
|
5956
5988
|
}
|
|
5957
|
-
TransportPanel.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
5958
|
-
TransportPanel.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
5989
|
+
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 });
|
|
5990
|
+
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: `
|
|
5959
5991
|
<button id="bwdBtn" *ngIf="navigationEnabled" (click)="actions.bwdAction.perform()" [disabled]="bwdDisabled()"
|
|
5960
5992
|
mat-raised-button>
|
|
5961
5993
|
<mat-icon>chevron_left</mat-icon>
|
|
5962
5994
|
</button>
|
|
5963
5995
|
<button (click)="startStopNextPerform()" [disabled]="startDisabled() && stopDisabled() && nextDisabled()" mat-raised-button>
|
|
5964
5996
|
<mat-icon [style.color]="startStopNextIconColor()">{{startStopNextIconName()}}</mat-icon><mat-icon *ngIf="!nextDisabled()" [style.color]="nextDisabled() ? 'grey' : 'black'">chevron_right</mat-icon>
|
|
5965
|
-
<span
|
|
5997
|
+
<span *ngIf="!screenXs">{{startStopNextName()}}</span>
|
|
5966
5998
|
</button>
|
|
5967
5999
|
<button *ngIf="pausingEnabled" (click)="actions.pauseAction.perform()" [disabled]="pauseDisabled()" mat-raised-button>
|
|
5968
6000
|
<mat-icon>pause</mat-icon>
|
|
5969
|
-
<span
|
|
6001
|
+
<span *ngIf="!screenXs">Pause</span>
|
|
5970
6002
|
</button>
|
|
5971
|
-
<button id="fwdNextBtn" *ngIf="navigationEnabled"
|
|
6003
|
+
<button id="fwdNextBtn" *ngIf="navigationEnabled && !screenXs" (click)="actions.fwdNextAction.perform()" [disabled]="fwdNextDisabled()" mat-raised-button>
|
|
5972
6004
|
<mat-icon>redo</mat-icon>
|
|
5973
6005
|
</button>
|
|
5974
6006
|
<button id="fwdBtn" *ngIf="navigationEnabled" (click)="actions.fwdAction.perform()" [disabled]="fwdDisabled()" mat-raised-button>
|
|
5975
6007
|
<mat-icon>chevron_right</mat-icon>
|
|
5976
6008
|
</button>
|
|
5977
6009
|
|
|
5978
|
-
`, isInline: true, styles: [":host{flex:20;align-self:center;width:100%;text-align:center;align-content:center;margin:0}\n", "div{display:inline;flex:0}\n", "button{touch-action:manipulation}\n"], dependencies: [{ kind: "directive", type: i1$
|
|
5979
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
6010
|
+
`, 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"] }] });
|
|
6011
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: TransportPanel, decorators: [{
|
|
5980
6012
|
type: Component,
|
|
5981
6013
|
args: [{ selector: 'app-sprtransport', template: `
|
|
5982
6014
|
<button id="bwdBtn" *ngIf="navigationEnabled" (click)="actions.bwdAction.perform()" [disabled]="bwdDisabled()"
|
|
@@ -5985,13 +6017,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
5985
6017
|
</button>
|
|
5986
6018
|
<button (click)="startStopNextPerform()" [disabled]="startDisabled() && stopDisabled() && nextDisabled()" mat-raised-button>
|
|
5987
6019
|
<mat-icon [style.color]="startStopNextIconColor()">{{startStopNextIconName()}}</mat-icon><mat-icon *ngIf="!nextDisabled()" [style.color]="nextDisabled() ? 'grey' : 'black'">chevron_right</mat-icon>
|
|
5988
|
-
<span
|
|
6020
|
+
<span *ngIf="!screenXs">{{startStopNextName()}}</span>
|
|
5989
6021
|
</button>
|
|
5990
6022
|
<button *ngIf="pausingEnabled" (click)="actions.pauseAction.perform()" [disabled]="pauseDisabled()" mat-raised-button>
|
|
5991
6023
|
<mat-icon>pause</mat-icon>
|
|
5992
|
-
<span
|
|
6024
|
+
<span *ngIf="!screenXs">Pause</span>
|
|
5993
6025
|
</button>
|
|
5994
|
-
<button id="fwdNextBtn" *ngIf="navigationEnabled"
|
|
6026
|
+
<button id="fwdNextBtn" *ngIf="navigationEnabled && !screenXs" (click)="actions.fwdNextAction.perform()" [disabled]="fwdNextDisabled()" mat-raised-button>
|
|
5995
6027
|
<mat-icon>redo</mat-icon>
|
|
5996
6028
|
</button>
|
|
5997
6029
|
<button id="fwdBtn" *ngIf="navigationEnabled" (click)="actions.fwdAction.perform()" [disabled]="fwdDisabled()" mat-raised-button>
|
|
@@ -5999,7 +6031,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
5999
6031
|
</button>
|
|
6000
6032
|
|
|
6001
6033
|
`, 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"] }]
|
|
6002
|
-
}], propDecorators: { readonly: [{
|
|
6034
|
+
}], ctorParameters: function () { return [{ type: i1$3.BreakpointObserver }]; }, propDecorators: { readonly: [{
|
|
6003
6035
|
type: Input
|
|
6004
6036
|
}], actions: [{
|
|
6005
6037
|
type: Input
|
|
@@ -6016,11 +6048,11 @@ class WakeLockIndicator {
|
|
|
6016
6048
|
this._screenLocked = screenLock;
|
|
6017
6049
|
}
|
|
6018
6050
|
}
|
|
6019
|
-
WakeLockIndicator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
6020
|
-
WakeLockIndicator.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
6051
|
+
WakeLockIndicator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: WakeLockIndicator, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6052
|
+
WakeLockIndicator.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: WakeLockIndicator, selector: "app-wakelockindicator", inputs: { screenLocked: "screenLocked" }, ngImport: i0, template: `
|
|
6021
6053
|
<mat-icon *ngIf="_screenLocked">screen_lock_portrait</mat-icon>
|
|
6022
6054
|
`, isInline: true, dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] });
|
|
6023
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
6055
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: WakeLockIndicator, decorators: [{
|
|
6024
6056
|
type: Component,
|
|
6025
6057
|
args: [{ selector: 'app-wakelockindicator', template: `
|
|
6026
6058
|
<mat-icon *ngIf="_screenLocked">screen_lock_portrait</mat-icon>
|
|
@@ -6043,11 +6075,11 @@ class ReadyStateIndicator {
|
|
|
6043
6075
|
return this._ready;
|
|
6044
6076
|
}
|
|
6045
6077
|
}
|
|
6046
|
-
ReadyStateIndicator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
6047
|
-
ReadyStateIndicator.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
6078
|
+
ReadyStateIndicator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ReadyStateIndicator, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6079
|
+
ReadyStateIndicator.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: ReadyStateIndicator, selector: "app-readystateindicator", inputs: { ready: "ready" }, ngImport: i0, template: `
|
|
6048
6080
|
<mat-icon [matTooltip]="readyStateToolTip">{{hourGlassIconName}}</mat-icon>
|
|
6049
6081
|
`, isInline: true, dependencies: [{ kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i4.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }] });
|
|
6050
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
6082
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ReadyStateIndicator, decorators: [{
|
|
6051
6083
|
type: Component,
|
|
6052
6084
|
args: [{ selector: 'app-readystateindicator', template: `
|
|
6053
6085
|
<mat-icon [matTooltip]="readyStateToolTip">{{hourGlassIconName}}</mat-icon>
|
|
@@ -6055,8 +6087,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
6055
6087
|
}], ctorParameters: function () { return []; }, propDecorators: { ready: [{
|
|
6056
6088
|
type: Input
|
|
6057
6089
|
}] } });
|
|
6058
|
-
class ControlPanel {
|
|
6059
|
-
constructor(dialog) {
|
|
6090
|
+
class ControlPanel extends ResponsiveComponent {
|
|
6091
|
+
constructor(bpo, dialog) {
|
|
6092
|
+
super(bpo);
|
|
6093
|
+
this.bpo = bpo;
|
|
6060
6094
|
this.dialog = dialog;
|
|
6061
6095
|
this.processing = false;
|
|
6062
6096
|
this.navigationEnabled = true;
|
|
@@ -6069,44 +6103,44 @@ class ControlPanel {
|
|
|
6069
6103
|
return this._ready;
|
|
6070
6104
|
}
|
|
6071
6105
|
}
|
|
6072
|
-
ControlPanel.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
6073
|
-
ControlPanel.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
6074
|
-
<div
|
|
6075
|
-
<app-sprstatusdisplay
|
|
6106
|
+
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 });
|
|
6107
|
+
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: `
|
|
6108
|
+
<div *ngIf="!screenXs" style="flex-direction: row" >
|
|
6109
|
+
<app-sprstatusdisplay style="flex:0 0 0" [statusMsg]="statusMsg" [statusAlertType]="statusAlertType" [statusWaiting]="statusWaiting"
|
|
6076
6110
|
class="hidden-xs"></app-sprstatusdisplay>
|
|
6077
|
-
<app-sprtransport
|
|
6078
|
-
<app-uploadstatus
|
|
6111
|
+
<app-sprtransport style="flex:10 0 0" [readonly]="readonly" [actions]="transportActions" [navigationEnabled]="navigationEnabled"></app-sprtransport>
|
|
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
|
-
<div
|
|
6083
|
-
<div
|
|
6084
|
-
<app-sprstatusdisplay
|
|
6116
|
+
<div *ngIf="screenXs"style="flex-direction: column" >
|
|
6117
|
+
<div style="flex-direction: row" class="flexFill" >
|
|
6118
|
+
<app-sprstatusdisplay style="flex:10 0 0;flex-align:left" [statusMsg]="statusMsg" [statusAlertType]="statusAlertType" [statusWaiting]="statusWaiting"
|
|
6085
6119
|
class="hidden-xs"></app-sprstatusdisplay>
|
|
6086
|
-
<app-uploadstatus
|
|
6120
|
+
<app-uploadstatus style="flex:0 0 0" *ngIf="enableUploadRecordings" [value]="uploadProgress"
|
|
6087
6121
|
[status]="uploadStatus" [awaitNewUpload]="processing"></app-uploadstatus>
|
|
6088
6122
|
<app-readystateindicator [ready]="_ready"></app-readystateindicator>
|
|
6089
6123
|
</div>
|
|
6090
6124
|
<app-sprtransport [readonly]="readonly" [actions]="transportActions" [navigationEnabled]="navigationEnabled"></app-sprtransport>
|
|
6091
6125
|
|
|
6092
6126
|
</div>
|
|
6093
|
-
`, isInline: true, styles: ["div{align-content:center;align-items:center;margin:0;padding:20px;min-height:min-content}\n"], dependencies: [{ kind: "directive", type:
|
|
6094
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
6127
|
+
`, 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"] }] });
|
|
6128
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ControlPanel, decorators: [{
|
|
6095
6129
|
type: Component,
|
|
6096
6130
|
args: [{ selector: 'app-sprcontrolpanel', template: `
|
|
6097
|
-
<div
|
|
6098
|
-
<app-sprstatusdisplay
|
|
6131
|
+
<div *ngIf="!screenXs" style="flex-direction: row" >
|
|
6132
|
+
<app-sprstatusdisplay style="flex:0 0 0" [statusMsg]="statusMsg" [statusAlertType]="statusAlertType" [statusWaiting]="statusWaiting"
|
|
6099
6133
|
class="hidden-xs"></app-sprstatusdisplay>
|
|
6100
|
-
<app-sprtransport
|
|
6101
|
-
<app-uploadstatus
|
|
6134
|
+
<app-sprtransport style="flex:10 0 0" [readonly]="readonly" [actions]="transportActions" [navigationEnabled]="navigationEnabled"></app-sprtransport>
|
|
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>
|
|
6105
|
-
<div
|
|
6106
|
-
<div
|
|
6107
|
-
<app-sprstatusdisplay
|
|
6139
|
+
<div *ngIf="screenXs"style="flex-direction: column" >
|
|
6140
|
+
<div style="flex-direction: row" class="flexFill" >
|
|
6141
|
+
<app-sprstatusdisplay style="flex:10 0 0;flex-align:left" [statusMsg]="statusMsg" [statusAlertType]="statusAlertType" [statusWaiting]="statusWaiting"
|
|
6108
6142
|
class="hidden-xs"></app-sprstatusdisplay>
|
|
6109
|
-
<app-uploadstatus
|
|
6143
|
+
<app-uploadstatus style="flex:0 0 0" *ngIf="enableUploadRecordings" [value]="uploadProgress"
|
|
6110
6144
|
[status]="uploadStatus" [awaitNewUpload]="processing"></app-uploadstatus>
|
|
6111
6145
|
<app-readystateindicator [ready]="_ready"></app-readystateindicator>
|
|
6112
6146
|
</div>
|
|
@@ -6114,7 +6148,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
6114
6148
|
|
|
6115
6149
|
</div>
|
|
6116
6150
|
`, styles: ["div{align-content:center;align-items:center;margin:0;padding:20px;min-height:min-content}\n"] }]
|
|
6117
|
-
}], ctorParameters: function () { return [{ type: i1$4.MatDialog }]; }, propDecorators: { statusDisplay: [{
|
|
6151
|
+
}], ctorParameters: function () { return [{ type: i1$3.BreakpointObserver }, { type: i1$4.MatDialog }]; }, propDecorators: { statusDisplay: [{
|
|
6118
6152
|
type: ViewChild,
|
|
6119
6153
|
args: [StatusDisplay, { static: true }]
|
|
6120
6154
|
}], transportPanel: [{
|
|
@@ -6502,8 +6536,10 @@ class StreamLevelMeasure {
|
|
|
6502
6536
|
|
|
6503
6537
|
const MIN_DB_LEVEL = -40.0;
|
|
6504
6538
|
const DEFAULT_WARN_DB_LEVEL = -2;
|
|
6505
|
-
class RecordingItemControls {
|
|
6506
|
-
constructor(ref, changeDetectorRef) {
|
|
6539
|
+
class RecordingItemControls extends ResponsiveComponent {
|
|
6540
|
+
constructor(bpo, ref, changeDetectorRef) {
|
|
6541
|
+
super(bpo);
|
|
6542
|
+
this.bpo = bpo;
|
|
6507
6543
|
this.ref = ref;
|
|
6508
6544
|
this.changeDetectorRef = changeDetectorRef;
|
|
6509
6545
|
this.ce = null;
|
|
@@ -6555,8 +6591,8 @@ class RecordingItemControls {
|
|
|
6555
6591
|
// this.status = 'ERROR';
|
|
6556
6592
|
}
|
|
6557
6593
|
}
|
|
6558
|
-
RecordingItemControls.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
6559
|
-
RecordingItemControls.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
6594
|
+
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 });
|
|
6595
|
+
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: `
|
|
6560
6596
|
<button matTooltip="Start playback" (click)="playStartAction?.perform()"
|
|
6561
6597
|
[disabled]="playStartAction?.disabled"
|
|
6562
6598
|
[style.color]="playStartAction?.disabled ? 'grey' : 'green'">
|
|
@@ -6567,7 +6603,7 @@ RecordingItemControls.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
6567
6603
|
[style.color]="playStopAction?.disabled ? 'grey' : 'yellow'">
|
|
6568
6604
|
<mat-icon>stop</mat-icon>
|
|
6569
6605
|
</button>
|
|
6570
|
-
<button
|
|
6606
|
+
<button *ngIf="!screenXs" matTooltip="Toggle detailed audio display" [disabled]="!audioLoaded"
|
|
6571
6607
|
(click)="showRecordingDetails()">
|
|
6572
6608
|
<mat-icon>{{(audioSignalCollapsed) ? "expand_less" : "expand_more"}}</mat-icon>
|
|
6573
6609
|
</button>
|
|
@@ -6578,8 +6614,8 @@ RecordingItemControls.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
6578
6614
|
<div style="min-width: 14ch;padding:2px"><table style="border-style: none"><tr><td>Peak:</td><td><span matTooltip="Peak level"
|
|
6579
6615
|
[style.color]="(peakDbLvl > warnDbLevel)?'red':'black'">{{peakDbLvl | number:'1.1-1'}} dB </span></td></tr>
|
|
6580
6616
|
<tr *ngIf="_agc"><td>AGC:</td><td><span matTooltip="Auto gain control">{{agcString}}</span></td></tr></table></div>
|
|
6581
|
-
`, isInline: true, styles: [":host{flex:0;width:100%;background:darkgray;padding:4px;box-sizing:border-box;height:100%;display:flex;flex-direction:row;flex-wrap:nowrap}\n", "span{flex:0;font-weight:700;display:inline-block;white-space:nowrap;box-sizing:border-box}\n", "button{touch-action:manipulation}\n"], dependencies: [{ kind: "directive", type: i1$
|
|
6582
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
6617
|
+
`, 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" }] });
|
|
6618
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RecordingItemControls, decorators: [{
|
|
6583
6619
|
type: Component,
|
|
6584
6620
|
args: [{ selector: 'spr-recordingitemcontrols', template: `
|
|
6585
6621
|
<button matTooltip="Start playback" (click)="playStartAction?.perform()"
|
|
@@ -6592,7 +6628,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
6592
6628
|
[style.color]="playStopAction?.disabled ? 'grey' : 'yellow'">
|
|
6593
6629
|
<mat-icon>stop</mat-icon>
|
|
6594
6630
|
</button>
|
|
6595
|
-
<button
|
|
6631
|
+
<button *ngIf="!screenXs" matTooltip="Toggle detailed audio display" [disabled]="!audioLoaded"
|
|
6596
6632
|
(click)="showRecordingDetails()">
|
|
6597
6633
|
<mat-icon>{{(audioSignalCollapsed) ? "expand_less" : "expand_more"}}</mat-icon>
|
|
6598
6634
|
</button>
|
|
@@ -6604,7 +6640,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
6604
6640
|
[style.color]="(peakDbLvl > warnDbLevel)?'red':'black'">{{peakDbLvl | number:'1.1-1'}} dB </span></td></tr>
|
|
6605
6641
|
<tr *ngIf="_agc"><td>AGC:</td><td><span matTooltip="Auto gain control">{{agcString}}</span></td></tr></table></div>
|
|
6606
6642
|
`, 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"] }]
|
|
6607
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { audioSignalCollapsed: [{
|
|
6643
|
+
}], ctorParameters: function () { return [{ type: i1$3.BreakpointObserver }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { audioSignalCollapsed: [{
|
|
6608
6644
|
type: Input
|
|
6609
6645
|
}], enableDownload: [{
|
|
6610
6646
|
type: Input
|
|
@@ -6625,8 +6661,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
6625
6661
|
}], displayLevelInfos: [{
|
|
6626
6662
|
type: Input
|
|
6627
6663
|
}] } });
|
|
6628
|
-
class RecordingItemDisplay {
|
|
6629
|
-
constructor(ref, changeDetectorRef) {
|
|
6664
|
+
class RecordingItemDisplay extends ResponsiveComponent {
|
|
6665
|
+
constructor(bpo, ref, changeDetectorRef) {
|
|
6666
|
+
super(bpo);
|
|
6667
|
+
this.bpo = bpo;
|
|
6630
6668
|
this.ref = ref;
|
|
6631
6669
|
this.changeDetectorRef = changeDetectorRef;
|
|
6632
6670
|
this.ce = null;
|
|
@@ -6697,22 +6735,22 @@ class RecordingItemDisplay {
|
|
|
6697
6735
|
this.changeDetectorRef.detectChanges();
|
|
6698
6736
|
}
|
|
6699
6737
|
}
|
|
6700
|
-
RecordingItemDisplay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
6701
|
-
RecordingItemDisplay.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
6702
|
-
<div
|
|
6703
|
-
<audio-levelbar
|
|
6704
|
-
<spr-recordingitemcontrols
|
|
6738
|
+
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 });
|
|
6739
|
+
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: `
|
|
6740
|
+
<div [class]="{audioStatusDisplay:!screenXs,audioStatusDisplayXs:screenXs}">
|
|
6741
|
+
<audio-levelbar style="flex:1 0 1%" [streamingMode]="streamingMode" [displayLevelInfos]="_displayLevelInfos"></audio-levelbar>
|
|
6742
|
+
<spr-recordingitemcontrols style="flex:0 0 0px" [audioLoaded]="displayAudioBuffer!==null" [playStartAction]="playStartAction" [playStopAction]="playStopAction" [peakDbLvl]="peakDbLvl" [agc]="_agc" (onShowRecordingDetails)="onShowRecordingDetails.emit()"></spr-recordingitemcontrols>
|
|
6705
6743
|
</div>
|
|
6706
|
-
`, isInline: true, styles: ["div{width:100%;background:darkgray;padding:4px;box-sizing:border-box;flex-wrap:nowrap}\n", "audio-levelbar{box-sizing:border-box}\n"
|
|
6707
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
6744
|
+
`, 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"] }] });
|
|
6745
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RecordingItemDisplay, decorators: [{
|
|
6708
6746
|
type: Component,
|
|
6709
6747
|
args: [{ selector: 'spr-recordingitemdisplay', template: `
|
|
6710
|
-
<div
|
|
6711
|
-
<audio-levelbar
|
|
6712
|
-
<spr-recordingitemcontrols
|
|
6748
|
+
<div [class]="{audioStatusDisplay:!screenXs,audioStatusDisplayXs:screenXs}">
|
|
6749
|
+
<audio-levelbar style="flex:1 0 1%" [streamingMode]="streamingMode" [displayLevelInfos]="_displayLevelInfos"></audio-levelbar>
|
|
6750
|
+
<spr-recordingitemcontrols style="flex:0 0 0px" [audioLoaded]="displayAudioBuffer!==null" [playStartAction]="playStartAction" [playStopAction]="playStopAction" [peakDbLvl]="peakDbLvl" [agc]="_agc" (onShowRecordingDetails)="onShowRecordingDetails.emit()"></spr-recordingitemcontrols>
|
|
6713
6751
|
</div>
|
|
6714
|
-
`, styles: ["div{width:100%;background:darkgray;padding:4px;box-sizing:border-box;flex-wrap:nowrap}\n", "audio-levelbar{box-sizing:border-box}\n"] }]
|
|
6715
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { liveLevel: [{
|
|
6752
|
+
`, 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"] }]
|
|
6753
|
+
}], ctorParameters: function () { return [{ type: i1$3.BreakpointObserver }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { liveLevel: [{
|
|
6716
6754
|
type: ViewChild,
|
|
6717
6755
|
args: [LevelBar, { static: true }]
|
|
6718
6756
|
}], streamingMode: [{
|
|
@@ -7038,8 +7076,11 @@ class ChunkManager {
|
|
|
7038
7076
|
return frameLen;
|
|
7039
7077
|
}
|
|
7040
7078
|
}
|
|
7041
|
-
let BasicRecorder = class BasicRecorder {
|
|
7042
|
-
constructor(dialog, sessionService, uploader, config) {
|
|
7079
|
+
let BasicRecorder = class BasicRecorder extends ResponsiveComponent {
|
|
7080
|
+
constructor(bpo, changeDetectorRef, dialog, sessionService, uploader, config) {
|
|
7081
|
+
super(bpo);
|
|
7082
|
+
this.bpo = bpo;
|
|
7083
|
+
this.changeDetectorRef = changeDetectorRef;
|
|
7043
7084
|
this.dialog = dialog;
|
|
7044
7085
|
this.sessionService = sessionService;
|
|
7045
7086
|
this.uploader = uploader;
|
|
@@ -7059,6 +7100,7 @@ let BasicRecorder = class BasicRecorder {
|
|
|
7059
7100
|
this.uploadStatus = 'ok';
|
|
7060
7101
|
this.audioSignalCollapsed = true;
|
|
7061
7102
|
this.peakLevelInDb = MIN_DB_LEVEL;
|
|
7103
|
+
this._controlAudioPlayer = null;
|
|
7062
7104
|
this.displayAudioClip = null;
|
|
7063
7105
|
this.audioFetchSubscription = null;
|
|
7064
7106
|
this.destroyed = false;
|
|
@@ -7169,7 +7211,7 @@ let BasicRecorder = class BasicRecorder {
|
|
|
7169
7211
|
type: 'error',
|
|
7170
7212
|
title: 'Error',
|
|
7171
7213
|
msg: "This session is sealed. Recordings cannot be added anymore.",
|
|
7172
|
-
|
|
7214
|
+
advice: 'Please ask your experimenter what to do (e.g start a new session).',
|
|
7173
7215
|
}
|
|
7174
7216
|
});
|
|
7175
7217
|
}
|
|
@@ -7447,7 +7489,7 @@ let BasicRecorder = class BasicRecorder {
|
|
|
7447
7489
|
};
|
|
7448
7490
|
BasicRecorder.DEFAULT_CHUNK_SIZE_SECONDS = 30;
|
|
7449
7491
|
BasicRecorder = __decorate([
|
|
7450
|
-
__param(
|
|
7492
|
+
__param(5, Inject(SPEECHRECORDER_CONFIG))
|
|
7451
7493
|
], BasicRecorder);
|
|
7452
7494
|
|
|
7453
7495
|
/**
|
|
@@ -7676,9 +7718,9 @@ class RecordingService {
|
|
|
7676
7718
|
}
|
|
7677
7719
|
RecordingService.REC_API_CTX = 'recfile';
|
|
7678
7720
|
RecordingService.RECORDING_API_CTX = 'recordingfile';
|
|
7679
|
-
RecordingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
7680
|
-
RecordingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
7681
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
7721
|
+
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 });
|
|
7722
|
+
RecordingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RecordingService });
|
|
7723
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RecordingService, decorators: [{
|
|
7682
7724
|
type: Injectable
|
|
7683
7725
|
}], ctorParameters: function () {
|
|
7684
7726
|
return [{ type: i1.HttpClient }, { type: SpeechRecorderConfig, decorators: [{
|
|
@@ -7694,9 +7736,9 @@ class SpeechRecorderUploader extends Uploader {
|
|
|
7694
7736
|
this.config = config;
|
|
7695
7737
|
}
|
|
7696
7738
|
}
|
|
7697
|
-
SpeechRecorderUploader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
7698
|
-
SpeechRecorderUploader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
7699
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
7739
|
+
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 });
|
|
7740
|
+
SpeechRecorderUploader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SpeechRecorderUploader });
|
|
7741
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SpeechRecorderUploader, decorators: [{
|
|
7700
7742
|
type: Injectable
|
|
7701
7743
|
}], ctorParameters: function () {
|
|
7702
7744
|
return [{ type: i1.HttpClient }, { type: SpeechRecorderConfig, decorators: [{
|
|
@@ -7718,12 +7760,12 @@ class WarningBar {
|
|
|
7718
7760
|
}
|
|
7719
7761
|
}
|
|
7720
7762
|
}
|
|
7721
|
-
WarningBar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
7722
|
-
WarningBar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
7763
|
+
WarningBar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: WarningBar, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
7764
|
+
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: `
|
|
7723
7765
|
<div [class]="displayClass">{{warningText}}</div>
|
|
7724
7766
|
|
|
7725
7767
|
`, 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"] });
|
|
7726
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
7768
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: WarningBar, decorators: [{
|
|
7727
7769
|
type: Component,
|
|
7728
7770
|
args: [{ selector: 'app-warningbar', providers: [SessionService], template: `
|
|
7729
7771
|
<div [class]="displayClass">{{warningText}}</div>
|
|
@@ -7738,15 +7780,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
7738
7780
|
const DEFAULT_PRE_REC_DELAY = 1000;
|
|
7739
7781
|
const DEFAULT_POST_REC_DELAY = 500;
|
|
7740
7782
|
class SessionManager extends BasicRecorder {
|
|
7741
|
-
constructor(changeDetectorRef, renderer, dialog, sessionService, recFileService, uploader, config) {
|
|
7742
|
-
super(dialog, sessionService, uploader, config);
|
|
7783
|
+
constructor(bpo, changeDetectorRef, renderer, dialog, sessionService, recFileService, uploader, config) {
|
|
7784
|
+
super(bpo, changeDetectorRef, dialog, sessionService, uploader, config);
|
|
7785
|
+
this.bpo = bpo;
|
|
7743
7786
|
this.changeDetectorRef = changeDetectorRef;
|
|
7744
7787
|
this.renderer = renderer;
|
|
7745
7788
|
this.dialog = dialog;
|
|
7746
7789
|
this.sessionService = sessionService;
|
|
7747
7790
|
this.recFileService = recFileService;
|
|
7748
|
-
this.uploader = uploader;
|
|
7749
|
-
this.config = config;
|
|
7750
7791
|
this.enableUploadRecordings = true;
|
|
7751
7792
|
this.enableDownloadRecordings = false;
|
|
7752
7793
|
this.status = 0 /* BLOCKED */;
|
|
@@ -7780,7 +7821,7 @@ class SessionManager extends BasicRecorder {
|
|
|
7780
7821
|
};
|
|
7781
7822
|
}
|
|
7782
7823
|
ngOnDestroy() {
|
|
7783
|
-
console.debug("Com destroy, disable wake lock.")
|
|
7824
|
+
//console.debug("Com destroy, disable wake lock.")
|
|
7784
7825
|
this.disableWakeLockCond();
|
|
7785
7826
|
this.destroyed = true;
|
|
7786
7827
|
// TODO stop capture /playback
|
|
@@ -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;
|
|
@@ -7833,7 +7874,7 @@ class SessionManager extends BasicRecorder {
|
|
|
7833
7874
|
type: 'error',
|
|
7834
7875
|
title: 'Error',
|
|
7835
7876
|
msg: errMsg,
|
|
7836
|
-
|
|
7877
|
+
advice: 'Please use a supported browser.',
|
|
7837
7878
|
}
|
|
7838
7879
|
});
|
|
7839
7880
|
return;
|
|
@@ -7857,7 +7898,7 @@ class SessionManager extends BasicRecorder {
|
|
|
7857
7898
|
type: 'error',
|
|
7858
7899
|
title: 'Error',
|
|
7859
7900
|
msg: errMsg,
|
|
7860
|
-
|
|
7901
|
+
advice: 'Please use a supported browser.',
|
|
7861
7902
|
}
|
|
7862
7903
|
});
|
|
7863
7904
|
return;
|
|
@@ -7868,7 +7909,7 @@ class SessionManager extends BasicRecorder {
|
|
|
7868
7909
|
this.transportActions.fwdAction.onAction = () => this.nextItem();
|
|
7869
7910
|
this.transportActions.fwdNextAction.onAction = () => this.nextUnrecordedItem();
|
|
7870
7911
|
this.transportActions.bwdAction.onAction = () => this.prevItem();
|
|
7871
|
-
this.playStartAction.onAction = () => this.controlAudioPlayer.start();
|
|
7912
|
+
this.playStartAction.onAction = () => { var _a; return (_a = this.controlAudioPlayer) === null || _a === void 0 ? void 0 : _a.start(); };
|
|
7872
7913
|
}
|
|
7873
7914
|
this.startStopSignalState = 4 /* OFF */;
|
|
7874
7915
|
}
|
|
@@ -7925,9 +7966,6 @@ class SessionManager extends BasicRecorder {
|
|
|
7925
7966
|
return ((this._session != null) && (this._session.type === 'TEST_DEF_A') && (this.audioDevices != null) && this.audioDevices.length > 0);
|
|
7926
7967
|
}
|
|
7927
7968
|
set controlAudioPlayer(controlAudioPlayer) {
|
|
7928
|
-
if (this._controlAudioPlayer) {
|
|
7929
|
-
//this._controlAudioPlayer.listener=null;
|
|
7930
|
-
}
|
|
7931
7969
|
this._controlAudioPlayer = controlAudioPlayer;
|
|
7932
7970
|
if (this._controlAudioPlayer) {
|
|
7933
7971
|
this._controlAudioPlayer.listener = this;
|
|
@@ -8117,12 +8155,16 @@ class SessionManager extends BasicRecorder {
|
|
|
8117
8155
|
let ab = this._displayRecFile.audioBuffer;
|
|
8118
8156
|
if (ab) {
|
|
8119
8157
|
this.displayAudioClip = new AudioClip(ab);
|
|
8120
|
-
this.
|
|
8158
|
+
if (this._controlAudioPlayer) {
|
|
8159
|
+
this._controlAudioPlayer.audioClip = this.displayAudioClip;
|
|
8160
|
+
}
|
|
8121
8161
|
}
|
|
8122
8162
|
else {
|
|
8123
8163
|
// clear for now ...
|
|
8124
8164
|
this.displayAudioClip = null;
|
|
8125
|
-
this.
|
|
8165
|
+
if (this._controlAudioPlayer) {
|
|
8166
|
+
this._controlAudioPlayer.audioClip = null;
|
|
8167
|
+
}
|
|
8126
8168
|
if (fetchAndApplyRecordingFile) {
|
|
8127
8169
|
if (this._controlAudioPlayer && this._session) {
|
|
8128
8170
|
//... and try to fetch from server
|
|
@@ -8141,7 +8183,9 @@ class SessionManager extends BasicRecorder {
|
|
|
8141
8183
|
// TODO Async will set the previous file with autorecording
|
|
8142
8184
|
this.displayAudioClip = new AudioClip(fab);
|
|
8143
8185
|
}
|
|
8144
|
-
this.
|
|
8186
|
+
if (this._controlAudioPlayer) {
|
|
8187
|
+
this._controlAudioPlayer.audioClip = this.displayAudioClip;
|
|
8188
|
+
}
|
|
8145
8189
|
this.showRecording();
|
|
8146
8190
|
}, err => {
|
|
8147
8191
|
console.error("Could not load recording file from server: " + err);
|
|
@@ -8158,14 +8202,18 @@ class SessionManager extends BasicRecorder {
|
|
|
8158
8202
|
}
|
|
8159
8203
|
else {
|
|
8160
8204
|
this.displayAudioClip = null;
|
|
8161
|
-
this.
|
|
8205
|
+
if (this._controlAudioPlayer) {
|
|
8206
|
+
this._controlAudioPlayer.audioClip = null;
|
|
8207
|
+
}
|
|
8162
8208
|
}
|
|
8163
8209
|
}
|
|
8164
8210
|
get displayRecFile() {
|
|
8165
8211
|
return this._displayRecFile;
|
|
8166
8212
|
}
|
|
8167
8213
|
showRecording() {
|
|
8168
|
-
this.
|
|
8214
|
+
if (this._controlAudioPlayer) {
|
|
8215
|
+
this._controlAudioPlayer.stop();
|
|
8216
|
+
}
|
|
8169
8217
|
if (this.displayAudioClip) {
|
|
8170
8218
|
let dap = this.displayAudioClip;
|
|
8171
8219
|
this.levelMeasure.calcBufferLevelInfos(dap.buffer, LEVEL_BAR_INTERVALL_SECONDS).then((levelInfos) => {
|
|
@@ -8554,7 +8602,6 @@ class SessionManager extends BasicRecorder {
|
|
|
8554
8602
|
}
|
|
8555
8603
|
}
|
|
8556
8604
|
// apply recorded item
|
|
8557
|
-
console.debug("Apply item: startNext: " + startNext);
|
|
8558
8605
|
this.applyItem(startNext);
|
|
8559
8606
|
if (startNext) {
|
|
8560
8607
|
this.startItem();
|
|
@@ -8591,7 +8638,7 @@ class SessionManager extends BasicRecorder {
|
|
|
8591
8638
|
}
|
|
8592
8639
|
}
|
|
8593
8640
|
updateControlPlaybackPosition() {
|
|
8594
|
-
if (this._controlAudioPlayer.playPositionFrames) {
|
|
8641
|
+
if (this._controlAudioPlayer && this._controlAudioPlayer.playPositionFrames) {
|
|
8595
8642
|
this.prompting.audioDisplay.playFramePosition = this._controlAudioPlayer.playPositionFrames;
|
|
8596
8643
|
this.liveLevelDisplay.playFramePosition = this._controlAudioPlayer.playPositionFrames;
|
|
8597
8644
|
}
|
|
@@ -8612,8 +8659,8 @@ class SessionManager extends BasicRecorder {
|
|
|
8612
8659
|
}
|
|
8613
8660
|
}
|
|
8614
8661
|
}
|
|
8615
|
-
SessionManager.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
8616
|
-
SessionManager.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
8662
|
+
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 });
|
|
8663
|
+
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: `
|
|
8617
8664
|
<app-warningbar [show]="isTestSession()" warningText="Test recording only!"></app-warningbar>
|
|
8618
8665
|
<app-warningbar [show]="isDefaultAudioTestSession()" warningText="This test uses default audio device! Regular sessions may require a particular audio device (microphone)!"></app-warningbar>
|
|
8619
8666
|
<app-sprprompting [projectName]="projectName"
|
|
@@ -8628,13 +8675,13 @@ SessionManager.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version
|
|
|
8628
8675
|
[playStopAction]="controlAudioPlayer?.stopAction">
|
|
8629
8676
|
|
|
8630
8677
|
</app-sprprompting>
|
|
8631
|
-
<mat-progress-bar [value]="progressPercentValue()"
|
|
8678
|
+
<mat-progress-bar [value]="progressPercentValue()" *ngIf="screenXs" ></mat-progress-bar>
|
|
8632
8679
|
|
|
8633
8680
|
|
|
8634
|
-
<div
|
|
8635
|
-
<audio-levelbar
|
|
8636
|
-
<div
|
|
8637
|
-
<spr-recordingitemcontrols
|
|
8681
|
+
<div [class]="{audioStatusDisplay:!screenXs,audioStatusDisplayXs:screenXs}">
|
|
8682
|
+
<audio-levelbar style="flex:1 0 1%" [streamingMode]="isRecording()" [displayLevelInfos]="displayAudioClip?.levelInfos"></audio-levelbar>
|
|
8683
|
+
<div style="display:flex;flex-direction: row">
|
|
8684
|
+
<spr-recordingitemcontrols style="display:flex;flex:10 0 1px"
|
|
8638
8685
|
[audioLoaded]="displayAudioClip?.buffer!==null"
|
|
8639
8686
|
[playStartAction]="controlAudioPlayer?.startAction"
|
|
8640
8687
|
[playStopAction]="controlAudioPlayer?.stopAction"
|
|
@@ -8643,26 +8690,26 @@ SessionManager.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version
|
|
|
8643
8690
|
(onShowRecordingDetails)="audioSignalCollapsed=!audioSignalCollapsed">
|
|
8644
8691
|
</spr-recordingitemcontrols>
|
|
8645
8692
|
|
|
8646
|
-
<app-uploadstatus class="ricontrols dark"
|
|
8693
|
+
<app-uploadstatus *ngIf="screenXs && enableUploadRecordings" class="ricontrols dark" style="flex:0 0 0" [value]="uploadProgress"
|
|
8647
8694
|
[status]="uploadStatus" [awaitNewUpload]="processingRecording"></app-uploadstatus>
|
|
8648
|
-
<app-wakelockindicator class="ricontrols dark"
|
|
8649
|
-
<app-readystateindicator class="ricontrols dark"
|
|
8695
|
+
<app-wakelockindicator *ngIf="screenXs" class="ricontrols dark" style="flex:0 0 0" [screenLocked]="screenLocked"></app-wakelockindicator>
|
|
8696
|
+
<app-readystateindicator *ngIf="screenXs" class="ricontrols dark" style="flex:0 0 0" [ready]="dataSaved && !isActive()"></app-readystateindicator>
|
|
8650
8697
|
</div>
|
|
8651
8698
|
</div>
|
|
8652
|
-
<div #controlpanel class="controlpanel"
|
|
8653
|
-
<div
|
|
8654
|
-
<app-sprstatusdisplay
|
|
8699
|
+
<div #controlpanel class="controlpanel">
|
|
8700
|
+
<div style="flex:1 1 30%;justify-content: flex-start;align-items: center; align-content: center">
|
|
8701
|
+
<app-sprstatusdisplay *ngIf="!screenXs" [statusMsg]="statusMsg" [statusAlertType]="statusAlertType" [statusWaiting]="statusWaiting"></app-sprstatusdisplay>
|
|
8655
8702
|
</div>
|
|
8656
|
-
<app-sprtransport
|
|
8657
|
-
<div
|
|
8658
|
-
<app-uploadstatus
|
|
8703
|
+
<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>
|
|
8704
|
+
<div style="display:flex;flex:1 1 30%;flex-direction:row;justify-content: flex-end;align-items: center; align-content: center">
|
|
8705
|
+
<app-uploadstatus *ngIf="!screenXs && enableUploadRecordings" class="ricontrols" [value]="uploadProgress"
|
|
8659
8706
|
[status]="uploadStatus" [awaitNewUpload]="processingRecording"></app-uploadstatus>
|
|
8660
|
-
<app-wakelockindicator
|
|
8661
|
-
<app-readystateindicator
|
|
8707
|
+
<app-wakelockindicator *ngIf="!screenXs" class="ricontrols" [screenLocked]="screenLocked"></app-wakelockindicator>
|
|
8708
|
+
<app-readystateindicator *ngIf="!screenXs" class="ricontrols" [ready]="dataSaved && !isActive()"></app-readystateindicator>
|
|
8662
8709
|
</div>
|
|
8663
8710
|
</div>
|
|
8664
|
-
`, 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
|
|
8665
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
8711
|
+
`, 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"] }] });
|
|
8712
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SessionManager, decorators: [{
|
|
8666
8713
|
type: Component,
|
|
8667
8714
|
args: [{ selector: 'app-sprrecordingsession', providers: [SessionService], template: `
|
|
8668
8715
|
<app-warningbar [show]="isTestSession()" warningText="Test recording only!"></app-warningbar>
|
|
@@ -8679,13 +8726,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
8679
8726
|
[playStopAction]="controlAudioPlayer?.stopAction">
|
|
8680
8727
|
|
|
8681
8728
|
</app-sprprompting>
|
|
8682
|
-
<mat-progress-bar [value]="progressPercentValue()"
|
|
8729
|
+
<mat-progress-bar [value]="progressPercentValue()" *ngIf="screenXs" ></mat-progress-bar>
|
|
8683
8730
|
|
|
8684
8731
|
|
|
8685
|
-
<div
|
|
8686
|
-
<audio-levelbar
|
|
8687
|
-
<div
|
|
8688
|
-
<spr-recordingitemcontrols
|
|
8732
|
+
<div [class]="{audioStatusDisplay:!screenXs,audioStatusDisplayXs:screenXs}">
|
|
8733
|
+
<audio-levelbar style="flex:1 0 1%" [streamingMode]="isRecording()" [displayLevelInfos]="displayAudioClip?.levelInfos"></audio-levelbar>
|
|
8734
|
+
<div style="display:flex;flex-direction: row">
|
|
8735
|
+
<spr-recordingitemcontrols style="display:flex;flex:10 0 1px"
|
|
8689
8736
|
[audioLoaded]="displayAudioClip?.buffer!==null"
|
|
8690
8737
|
[playStartAction]="controlAudioPlayer?.startAction"
|
|
8691
8738
|
[playStopAction]="controlAudioPlayer?.stopAction"
|
|
@@ -8694,27 +8741,27 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
8694
8741
|
(onShowRecordingDetails)="audioSignalCollapsed=!audioSignalCollapsed">
|
|
8695
8742
|
</spr-recordingitemcontrols>
|
|
8696
8743
|
|
|
8697
|
-
<app-uploadstatus class="ricontrols dark"
|
|
8744
|
+
<app-uploadstatus *ngIf="screenXs && enableUploadRecordings" class="ricontrols dark" style="flex:0 0 0" [value]="uploadProgress"
|
|
8698
8745
|
[status]="uploadStatus" [awaitNewUpload]="processingRecording"></app-uploadstatus>
|
|
8699
|
-
<app-wakelockindicator class="ricontrols dark"
|
|
8700
|
-
<app-readystateindicator class="ricontrols dark"
|
|
8746
|
+
<app-wakelockindicator *ngIf="screenXs" class="ricontrols dark" style="flex:0 0 0" [screenLocked]="screenLocked"></app-wakelockindicator>
|
|
8747
|
+
<app-readystateindicator *ngIf="screenXs" class="ricontrols dark" style="flex:0 0 0" [ready]="dataSaved && !isActive()"></app-readystateindicator>
|
|
8701
8748
|
</div>
|
|
8702
8749
|
</div>
|
|
8703
|
-
<div #controlpanel class="controlpanel"
|
|
8704
|
-
<div
|
|
8705
|
-
<app-sprstatusdisplay
|
|
8750
|
+
<div #controlpanel class="controlpanel">
|
|
8751
|
+
<div style="flex:1 1 30%;justify-content: flex-start;align-items: center; align-content: center">
|
|
8752
|
+
<app-sprstatusdisplay *ngIf="!screenXs" [statusMsg]="statusMsg" [statusAlertType]="statusAlertType" [statusWaiting]="statusWaiting"></app-sprstatusdisplay>
|
|
8706
8753
|
</div>
|
|
8707
|
-
<app-sprtransport
|
|
8708
|
-
<div
|
|
8709
|
-
<app-uploadstatus
|
|
8754
|
+
<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>
|
|
8755
|
+
<div style="display:flex;flex:1 1 30%;flex-direction:row;justify-content: flex-end;align-items: center; align-content: center">
|
|
8756
|
+
<app-uploadstatus *ngIf="!screenXs && enableUploadRecordings" class="ricontrols" [value]="uploadProgress"
|
|
8710
8757
|
[status]="uploadStatus" [awaitNewUpload]="processingRecording"></app-uploadstatus>
|
|
8711
|
-
<app-wakelockindicator
|
|
8712
|
-
<app-readystateindicator
|
|
8758
|
+
<app-wakelockindicator *ngIf="!screenXs" class="ricontrols" [screenLocked]="screenLocked"></app-wakelockindicator>
|
|
8759
|
+
<app-readystateindicator *ngIf="!screenXs" class="ricontrols" [ready]="dataSaved && !isActive()"></app-readystateindicator>
|
|
8713
8760
|
</div>
|
|
8714
8761
|
</div>
|
|
8715
|
-
`, 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
|
|
8762
|
+
`, 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"] }]
|
|
8716
8763
|
}], ctorParameters: function () {
|
|
8717
|
-
return [{ type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i1$4.MatDialog }, { type: SessionService }, { type: RecordingService }, { type: SpeechRecorderUploader }, { type: SpeechRecorderConfig, decorators: [{
|
|
8764
|
+
return [{ type: i1$3.BreakpointObserver }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i1$4.MatDialog }, { type: SessionService }, { type: RecordingService }, { type: SpeechRecorderUploader }, { type: SpeechRecorderConfig, decorators: [{
|
|
8718
8765
|
type: Inject,
|
|
8719
8766
|
args: [SPEECHRECORDER_CONFIG]
|
|
8720
8767
|
}] }];
|
|
@@ -8775,9 +8822,9 @@ class ScriptService {
|
|
|
8775
8822
|
return this.http.get(scriptUrl, { withCredentials: this.withCredentials });
|
|
8776
8823
|
}
|
|
8777
8824
|
}
|
|
8778
|
-
ScriptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
8779
|
-
ScriptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
8780
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
8825
|
+
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 });
|
|
8826
|
+
ScriptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ScriptService });
|
|
8827
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ScriptService, decorators: [{
|
|
8781
8828
|
type: Injectable
|
|
8782
8829
|
}], ctorParameters: function () {
|
|
8783
8830
|
return [{ type: i1.HttpClient }, { type: SpeechRecorderConfig, decorators: [{
|
|
@@ -9125,11 +9172,11 @@ class SpeechrecorderngComponent extends RecorderComponent {
|
|
|
9125
9172
|
this.sm.statusMsg = 'ERROR: Recording.';
|
|
9126
9173
|
}
|
|
9127
9174
|
}
|
|
9128
|
-
SpeechrecorderngComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
9129
|
-
SpeechrecorderngComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
9175
|
+
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 });
|
|
9176
|
+
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: `
|
|
9130
9177
|
<app-sprrecordingsession [projectName]="project?.name" [dataSaved]="dataSaved"></app-sprrecordingsession>
|
|
9131
9178
|
`, 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"] }] });
|
|
9132
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
9179
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SpeechrecorderngComponent, decorators: [{
|
|
9133
9180
|
type: Component,
|
|
9134
9181
|
args: [{ selector: 'app-speechrecorder', providers: [SessionService], template: `
|
|
9135
9182
|
<app-sprrecordingsession [projectName]="project?.name" [dataSaved]="dataSaved"></app-sprrecordingsession>
|
|
@@ -9141,9 +9188,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
9141
9188
|
|
|
9142
9189
|
class ScrollPaneHorizontal {
|
|
9143
9190
|
}
|
|
9144
|
-
ScrollPaneHorizontal.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
9145
|
-
ScrollPaneHorizontal.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
9146
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
9191
|
+
ScrollPaneHorizontal.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ScrollPaneHorizontal, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9192
|
+
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"] });
|
|
9193
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ScrollPaneHorizontal, decorators: [{
|
|
9147
9194
|
type: Component,
|
|
9148
9195
|
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"] }]
|
|
9149
9196
|
}] });
|
|
@@ -9348,8 +9395,8 @@ class AudioDisplayPlayer {
|
|
|
9348
9395
|
this.status = 'ERROR';
|
|
9349
9396
|
}
|
|
9350
9397
|
}
|
|
9351
|
-
AudioDisplayPlayer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
9352
|
-
AudioDisplayPlayer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
9398
|
+
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 });
|
|
9399
|
+
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: `
|
|
9353
9400
|
|
|
9354
9401
|
<audio-display-scroll-pane #audioDisplayScrollPane></audio-display-scroll-pane>
|
|
9355
9402
|
|
|
@@ -9362,8 +9409,8 @@ AudioDisplayPlayer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
|
|
|
9362
9409
|
[zoomOutAction]="zoomOutAction"
|
|
9363
9410
|
[zoomSelectedAction]="zoomSelectedAction"
|
|
9364
9411
|
[zoomFitToPanelAction]="zoomFitToPanelAction"></audio-display-control><p>{{status}}
|
|
9365
|
-
`, isInline: true, styles: [":host{display:flex;flex-direction:column;position:absolute;bottom:
|
|
9366
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
9412
|
+
`, 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"] }] });
|
|
9413
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AudioDisplayPlayer, decorators: [{
|
|
9367
9414
|
type: Component,
|
|
9368
9415
|
args: [{ selector: 'app-audiodisplayplayer', template: `
|
|
9369
9416
|
|
|
@@ -9378,7 +9425,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
9378
9425
|
[zoomOutAction]="zoomOutAction"
|
|
9379
9426
|
[zoomSelectedAction]="zoomSelectedAction"
|
|
9380
9427
|
[zoomFitToPanelAction]="zoomFitToPanelAction"></audio-display-control><p>{{status}}
|
|
9381
|
-
`, styles: [":host{display:flex;flex-direction:column;position:absolute;bottom:
|
|
9428
|
+
`, 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"] }]
|
|
9382
9429
|
}], ctorParameters: function () { return [{ type: i1$2.ActivatedRoute }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }]; }, propDecorators: { playStartAction: [{
|
|
9383
9430
|
type: Input
|
|
9384
9431
|
}], playStopAction: [{
|
|
@@ -9697,9 +9744,9 @@ class RecordingFileService {
|
|
|
9697
9744
|
}
|
|
9698
9745
|
}
|
|
9699
9746
|
RecordingFileService.RECOFILE_API_CTX = 'recordingfile';
|
|
9700
|
-
RecordingFileService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
9701
|
-
RecordingFileService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
9702
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
9747
|
+
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 });
|
|
9748
|
+
RecordingFileService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RecordingFileService });
|
|
9749
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RecordingFileService, decorators: [{
|
|
9703
9750
|
type: Injectable
|
|
9704
9751
|
}], ctorParameters: function () {
|
|
9705
9752
|
return [{ type: i1.HttpClient }, { type: SpeechRecorderConfig, decorators: [{
|
|
@@ -9725,8 +9772,8 @@ class RecordingFileNaviComponent {
|
|
|
9725
9772
|
}
|
|
9726
9773
|
}
|
|
9727
9774
|
}
|
|
9728
|
-
RecordingFileNaviComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
9729
|
-
RecordingFileNaviComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
9775
|
+
RecordingFileNaviComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RecordingFileNaviComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9776
|
+
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: `
|
|
9730
9777
|
<div #controlPanel style="display:flex;flex-direction: row;">
|
|
9731
9778
|
<div #navi style="flex: 0;display:flex;flex-direction: row;flex-wrap: nowrap">
|
|
9732
9779
|
<fieldset>
|
|
@@ -9740,16 +9787,16 @@ RecordingFileNaviComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0
|
|
|
9740
9787
|
<legend>Navigate</legend>
|
|
9741
9788
|
<mat-progress-spinner *ngIf="naviInfoLoading" mode="indeterminate" [diameter]="15"></mat-progress-spinner>
|
|
9742
9789
|
<div *ngIf="!naviInfoLoading" style="flex: 0;display:flex;flex-direction: row;flex-wrap: nowrap">
|
|
9743
|
-
<button (click)="firstAction?.perform()" [disabled]="!firstAction || firstAction
|
|
9790
|
+
<button (click)="firstAction?.perform()" [disabled]="!firstAction || firstAction.disabled" matTooltip="First recording file">
|
|
9744
9791
|
<mat-icon>first_page</mat-icon>
|
|
9745
9792
|
</button>
|
|
9746
|
-
<button (click)="prevAction?.perform()" [disabled]="!prevAction || prevAction
|
|
9793
|
+
<button (click)="prevAction?.perform()" [disabled]="!prevAction || prevAction.disabled" matTooltip="Previous recording file">
|
|
9747
9794
|
<mat-icon>chevron_left</mat-icon>
|
|
9748
9795
|
</button>
|
|
9749
|
-
<button (click)="nextAction?.perform()" [disabled]="!nextAction || nextAction
|
|
9796
|
+
<button (click)="nextAction?.perform()" [disabled]="!nextAction || nextAction.disabled" matTooltip="Next recording file">
|
|
9750
9797
|
<mat-icon>chevron_right</mat-icon>
|
|
9751
9798
|
</button>
|
|
9752
|
-
<button (click)="lastAction?.perform()" [disabled]="!lastAction || lastAction
|
|
9799
|
+
<button (click)="lastAction?.perform()" [disabled]="!lastAction || lastAction.disabled" matTooltip="Last recording file">
|
|
9753
9800
|
<mat-icon>last_page</mat-icon>
|
|
9754
9801
|
</button>
|
|
9755
9802
|
</div>
|
|
@@ -9759,7 +9806,7 @@ RecordingFileNaviComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0
|
|
|
9759
9806
|
</div>
|
|
9760
9807
|
</div>
|
|
9761
9808
|
`, 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"] }] });
|
|
9762
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
9809
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RecordingFileNaviComponent, decorators: [{
|
|
9763
9810
|
type: Component,
|
|
9764
9811
|
args: [{ selector: 'app-recording-file-navi', template: `
|
|
9765
9812
|
<div #controlPanel style="display:flex;flex-direction: row;">
|
|
@@ -9775,16 +9822,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
9775
9822
|
<legend>Navigate</legend>
|
|
9776
9823
|
<mat-progress-spinner *ngIf="naviInfoLoading" mode="indeterminate" [diameter]="15"></mat-progress-spinner>
|
|
9777
9824
|
<div *ngIf="!naviInfoLoading" style="flex: 0;display:flex;flex-direction: row;flex-wrap: nowrap">
|
|
9778
|
-
<button (click)="firstAction?.perform()" [disabled]="!firstAction || firstAction
|
|
9825
|
+
<button (click)="firstAction?.perform()" [disabled]="!firstAction || firstAction.disabled" matTooltip="First recording file">
|
|
9779
9826
|
<mat-icon>first_page</mat-icon>
|
|
9780
9827
|
</button>
|
|
9781
|
-
<button (click)="prevAction?.perform()" [disabled]="!prevAction || prevAction
|
|
9828
|
+
<button (click)="prevAction?.perform()" [disabled]="!prevAction || prevAction.disabled" matTooltip="Previous recording file">
|
|
9782
9829
|
<mat-icon>chevron_left</mat-icon>
|
|
9783
9830
|
</button>
|
|
9784
|
-
<button (click)="nextAction?.perform()" [disabled]="!nextAction || nextAction
|
|
9831
|
+
<button (click)="nextAction?.perform()" [disabled]="!nextAction || nextAction.disabled" matTooltip="Next recording file">
|
|
9785
9832
|
<mat-icon>chevron_right</mat-icon>
|
|
9786
9833
|
</button>
|
|
9787
|
-
<button (click)="lastAction?.perform()" [disabled]="!lastAction || lastAction
|
|
9834
|
+
<button (click)="lastAction?.perform()" [disabled]="!lastAction || lastAction.disabled" matTooltip="Last recording file">
|
|
9788
9835
|
<mat-icon>last_page</mat-icon>
|
|
9789
9836
|
</button>
|
|
9790
9837
|
</div>
|
|
@@ -9857,8 +9904,8 @@ class RecordingFileMetaComponent {
|
|
|
9857
9904
|
return t;
|
|
9858
9905
|
}
|
|
9859
9906
|
}
|
|
9860
|
-
RecordingFileMetaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
9861
|
-
RecordingFileMetaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
9907
|
+
RecordingFileMetaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RecordingFileMetaComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9908
|
+
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: `
|
|
9862
9909
|
<mat-card>
|
|
9863
9910
|
<mat-card-title>Recording file ID: {{recordingFile?.recordingFileId}}</mat-card-title>
|
|
9864
9911
|
<mat-card-content>
|
|
@@ -9892,7 +9939,7 @@ RecordingFileMetaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0
|
|
|
9892
9939
|
</mat-card-content>
|
|
9893
9940
|
</mat-card>
|
|
9894
9941
|
`, 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]" }] });
|
|
9895
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
9942
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RecordingFileMetaComponent, decorators: [{
|
|
9896
9943
|
type: Component,
|
|
9897
9944
|
args: [{ selector: 'app-recording-file-meta', template: `
|
|
9898
9945
|
<mat-card>
|
|
@@ -9950,6 +9997,7 @@ class RecordingFileViewComponent extends AudioDisplayPlayer {
|
|
|
9950
9997
|
//protected _recordingFileId: string | number = null;
|
|
9951
9998
|
this.sessionId = null;
|
|
9952
9999
|
this.sessionIdFromRoute = null;
|
|
10000
|
+
this.availRecFiles = null;
|
|
9953
10001
|
this.versions = null;
|
|
9954
10002
|
this.recordingFile = null;
|
|
9955
10003
|
this.recordingFileVersion = null;
|
|
@@ -10016,7 +10064,7 @@ class RecordingFileViewComponent extends AudioDisplayPlayer {
|
|
|
10016
10064
|
}
|
|
10017
10065
|
}
|
|
10018
10066
|
navigateToRecordingFile() {
|
|
10019
|
-
if (this.posInList != null) {
|
|
10067
|
+
if (this.posInList != null && this.availRecFiles) {
|
|
10020
10068
|
let latestNextRf = this.availRecFiles[this.posInList][0];
|
|
10021
10069
|
let lnRfId = latestNextRf.recordingFileId;
|
|
10022
10070
|
if (lnRfId) {
|
|
@@ -10027,7 +10075,7 @@ class RecordingFileViewComponent extends AudioDisplayPlayer {
|
|
|
10027
10075
|
toVersion(ae) {
|
|
10028
10076
|
let toRfId = null;
|
|
10029
10077
|
let version = ae.value;
|
|
10030
|
-
if (this.posInList != null) {
|
|
10078
|
+
if (this.posInList != null && this.availRecFiles) {
|
|
10031
10079
|
let cRfs = this.availRecFiles[this.posInList];
|
|
10032
10080
|
let availVersionCnt = cRfs.length;
|
|
10033
10081
|
for (let cRf of cRfs) {
|
|
@@ -10284,8 +10332,8 @@ class RecordingFileViewComponent extends AudioDisplayPlayer {
|
|
|
10284
10332
|
}
|
|
10285
10333
|
}
|
|
10286
10334
|
}
|
|
10287
|
-
RecordingFileViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
10288
|
-
RecordingFileViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
10335
|
+
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 });
|
|
10336
|
+
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: `
|
|
10289
10337
|
|
|
10290
10338
|
<audio-display-scroll-pane #audioDisplayScrollPane></audio-display-scroll-pane>
|
|
10291
10339
|
<div class="ctrlview">
|
|
@@ -10303,7 +10351,7 @@ RecordingFileViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0
|
|
|
10303
10351
|
<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>
|
|
10304
10352
|
</div>
|
|
10305
10353
|
`, 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"] }] });
|
|
10306
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
10354
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RecordingFileViewComponent, decorators: [{
|
|
10307
10355
|
type: Component,
|
|
10308
10356
|
args: [{ selector: 'app-audiodisplayplayer', template: `
|
|
10309
10357
|
|
|
@@ -10409,8 +10457,8 @@ class RecordingFileUI extends RecordingFileViewComponent {
|
|
|
10409
10457
|
}
|
|
10410
10458
|
}
|
|
10411
10459
|
}
|
|
10412
|
-
RecordingFileUI.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
10413
|
-
RecordingFileUI.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
10460
|
+
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 });
|
|
10461
|
+
RecordingFileUI.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: RecordingFileUI, selector: "app-audiodisplayplayer", usesInheritance: true, ngImport: i0, template: `
|
|
10414
10462
|
<h1>Recording file editing</h1>
|
|
10415
10463
|
<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>
|
|
10416
10464
|
|
|
@@ -10431,7 +10479,7 @@ RecordingFileUI.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
|
|
|
10431
10479
|
|
|
10432
10480
|
<button mat-raised-button color="accent" (click)="applySelection()" [disabled]="editSaved">{{this.applyButtonText()}}</button>
|
|
10433
10481
|
`, 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"] }] });
|
|
10434
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
10482
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RecordingFileUI, decorators: [{
|
|
10435
10483
|
type: Component,
|
|
10436
10484
|
args: [{ selector: 'app-audiodisplayplayer', template: `
|
|
10437
10485
|
<h1>Recording file editing</h1>
|
|
@@ -10528,8 +10576,8 @@ class RecordingList {
|
|
|
10528
10576
|
return str;
|
|
10529
10577
|
}
|
|
10530
10578
|
}
|
|
10531
|
-
RecordingList.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
10532
|
-
RecordingList.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
10579
|
+
RecordingList.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RecordingList, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10580
|
+
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: `
|
|
10533
10581
|
<mat-card>
|
|
10534
10582
|
<mat-card-header>
|
|
10535
10583
|
<h2>Recording list</h2>
|
|
@@ -10559,7 +10607,7 @@ RecordingList.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version:
|
|
|
10559
10607
|
</mat-card>
|
|
10560
10608
|
|
|
10561
10609
|
`, 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" }] });
|
|
10562
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
10610
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RecordingList, decorators: [{
|
|
10563
10611
|
type: Component,
|
|
10564
10612
|
args: [{ selector: 'app-recordinglist', template: `
|
|
10565
10613
|
<mat-card>
|
|
@@ -10599,8 +10647,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
10599
10647
|
type: Input
|
|
10600
10648
|
}] } });
|
|
10601
10649
|
|
|
10602
|
-
class RecorderCombiPane {
|
|
10603
|
-
constructor() {
|
|
10650
|
+
class RecorderCombiPane extends ResponsiveComponent {
|
|
10651
|
+
constructor(bpo) {
|
|
10652
|
+
super(bpo);
|
|
10653
|
+
this.bpo = bpo;
|
|
10604
10654
|
this.selectDisabled = false;
|
|
10605
10655
|
this.selectedRecordingFileChanged = new EventEmitter();
|
|
10606
10656
|
this.selectedRecordingFile = null;
|
|
@@ -10619,12 +10669,12 @@ class RecorderCombiPane {
|
|
|
10619
10669
|
this.recordingListComp.selectTop();
|
|
10620
10670
|
}
|
|
10621
10671
|
}
|
|
10622
|
-
RecorderCombiPane.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
10623
|
-
RecorderCombiPane.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
10672
|
+
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 });
|
|
10673
|
+
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: `
|
|
10624
10674
|
<div class="scrollList">
|
|
10625
10675
|
<app-recordinglist [selectedRecordingFile]="selectedRecordingFile" [selectDisabled]="selectDisabled" (selectedRecordingFileChanged)="selectRecordingFile($event)"></app-recordinglist>
|
|
10626
10676
|
</div>
|
|
10627
|
-
<div class="collapsable"
|
|
10677
|
+
<div class="collapsable" #asCt [class.active]="!audioSignalCollapsed && !screenXs">
|
|
10628
10678
|
<app-audiodisplay #audioSignalContainer [class.active]="!audioSignalCollapsed"
|
|
10629
10679
|
[audioClip]="displayAudioClip"
|
|
10630
10680
|
[playStartAction]="playStartAction"
|
|
@@ -10632,14 +10682,14 @@ RecorderCombiPane.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
|
|
|
10632
10682
|
[autoPlayOnSelectToggleAction]="autoPlayOnSelectToggleAction"
|
|
10633
10683
|
[playStopAction]="playStopAction"></app-audiodisplay>
|
|
10634
10684
|
</div>
|
|
10635
|
-
`, 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:
|
|
10636
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
10685
|
+
`, 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"] }] });
|
|
10686
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RecorderCombiPane, decorators: [{
|
|
10637
10687
|
type: Component,
|
|
10638
10688
|
args: [{ selector: 'app-recordercombipane', template: `
|
|
10639
10689
|
<div class="scrollList">
|
|
10640
10690
|
<app-recordinglist [selectedRecordingFile]="selectedRecordingFile" [selectDisabled]="selectDisabled" (selectedRecordingFileChanged)="selectRecordingFile($event)"></app-recordinglist>
|
|
10641
10691
|
</div>
|
|
10642
|
-
<div class="collapsable"
|
|
10692
|
+
<div class="collapsable" #asCt [class.active]="!audioSignalCollapsed && !screenXs">
|
|
10643
10693
|
<app-audiodisplay #audioSignalContainer [class.active]="!audioSignalCollapsed"
|
|
10644
10694
|
[audioClip]="displayAudioClip"
|
|
10645
10695
|
[playStartAction]="playStartAction"
|
|
@@ -10647,8 +10697,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
10647
10697
|
[autoPlayOnSelectToggleAction]="autoPlayOnSelectToggleAction"
|
|
10648
10698
|
[playStopAction]="playStopAction"></app-audiodisplay>
|
|
10649
10699
|
</div>
|
|
10650
|
-
`, 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:
|
|
10651
|
-
}], ctorParameters: function () { return []; }, propDecorators: { recordingListComp: [{
|
|
10700
|
+
`, 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"] }]
|
|
10701
|
+
}], ctorParameters: function () { return [{ type: i1$3.BreakpointObserver }]; }, propDecorators: { recordingListComp: [{
|
|
10652
10702
|
type: ViewChild,
|
|
10653
10703
|
args: [RecordingList]
|
|
10654
10704
|
}], selectDisabled: [{
|
|
@@ -10682,8 +10732,9 @@ class Item {
|
|
|
10682
10732
|
}
|
|
10683
10733
|
}
|
|
10684
10734
|
class AudioRecorder extends BasicRecorder {
|
|
10685
|
-
constructor(changeDetectorRef, renderer, route, dialog, sessionService, recFileService, uploader, config) {
|
|
10686
|
-
super(dialog, sessionService, uploader, config);
|
|
10735
|
+
constructor(bpo, changeDetectorRef, renderer, route, dialog, sessionService, recFileService, uploader, config) {
|
|
10736
|
+
super(bpo, changeDetectorRef, dialog, sessionService, uploader, config);
|
|
10737
|
+
this.bpo = bpo;
|
|
10687
10738
|
this.changeDetectorRef = changeDetectorRef;
|
|
10688
10739
|
this.renderer = renderer;
|
|
10689
10740
|
this.route = route;
|
|
@@ -10756,7 +10807,7 @@ class AudioRecorder extends BasicRecorder {
|
|
|
10756
10807
|
type: 'error',
|
|
10757
10808
|
title: 'Error',
|
|
10758
10809
|
msg: errMsg,
|
|
10759
|
-
|
|
10810
|
+
advice: 'Please use a supported browser.',
|
|
10760
10811
|
}
|
|
10761
10812
|
});
|
|
10762
10813
|
return;
|
|
@@ -10777,7 +10828,7 @@ class AudioRecorder extends BasicRecorder {
|
|
|
10777
10828
|
type: 'error',
|
|
10778
10829
|
title: 'Error',
|
|
10779
10830
|
msg: errMsg,
|
|
10780
|
-
|
|
10831
|
+
advice: 'Please use a supported browser.',
|
|
10781
10832
|
}
|
|
10782
10833
|
});
|
|
10783
10834
|
return;
|
|
@@ -10802,7 +10853,7 @@ class AudioRecorder extends BasicRecorder {
|
|
|
10802
10853
|
type: 'error',
|
|
10803
10854
|
title: 'Error',
|
|
10804
10855
|
msg: errMsg,
|
|
10805
|
-
|
|
10856
|
+
advice: 'Please use a supported browser.',
|
|
10806
10857
|
}
|
|
10807
10858
|
});
|
|
10808
10859
|
return;
|
|
@@ -10810,7 +10861,7 @@ class AudioRecorder extends BasicRecorder {
|
|
|
10810
10861
|
this.transportActions.stopAction.onAction = () => this.stopItem();
|
|
10811
10862
|
this.transportActions.nextAction.onAction = () => this.stopItem();
|
|
10812
10863
|
//this.transportActions.pauseAction.onAction = () => this.pauseItem();
|
|
10813
|
-
this.playStartAction.onAction = () => this.controlAudioPlayer.start();
|
|
10864
|
+
this.playStartAction.onAction = () => { var _a; return (_a = this.controlAudioPlayer) === null || _a === void 0 ? void 0 : _a.start(); };
|
|
10814
10865
|
}
|
|
10815
10866
|
this.uploader.listener = (ue) => {
|
|
10816
10867
|
this.uploadUpdate(ue);
|
|
@@ -10955,9 +11006,6 @@ class AudioRecorder extends BasicRecorder {
|
|
|
10955
11006
|
this.changeDetectorRef.detectChanges();
|
|
10956
11007
|
}
|
|
10957
11008
|
set controlAudioPlayer(controlAudioPlayer) {
|
|
10958
|
-
if (this._controlAudioPlayer) {
|
|
10959
|
-
//this._controlAudioPlayer.listener=null;
|
|
10960
|
-
}
|
|
10961
11009
|
this._controlAudioPlayer = controlAudioPlayer;
|
|
10962
11010
|
if (this._controlAudioPlayer) {
|
|
10963
11011
|
this._controlAudioPlayer.listener = this;
|
|
@@ -11082,12 +11130,16 @@ class AudioRecorder extends BasicRecorder {
|
|
|
11082
11130
|
let ab = this._displayRecFile.audioBuffer;
|
|
11083
11131
|
if (ab) {
|
|
11084
11132
|
this.displayAudioClip = new AudioClip(ab);
|
|
11085
|
-
this.
|
|
11133
|
+
if (this._controlAudioPlayer) {
|
|
11134
|
+
this._controlAudioPlayer.audioClip = this.displayAudioClip;
|
|
11135
|
+
}
|
|
11086
11136
|
}
|
|
11087
11137
|
else {
|
|
11088
11138
|
// clear for now ...
|
|
11089
11139
|
this.displayAudioClip = null;
|
|
11090
|
-
this.
|
|
11140
|
+
if (this._controlAudioPlayer) {
|
|
11141
|
+
this._controlAudioPlayer.audioClip = null;
|
|
11142
|
+
}
|
|
11091
11143
|
if (this._controlAudioPlayer && this._session) {
|
|
11092
11144
|
//... and try to fetch from server
|
|
11093
11145
|
this.audioFetchSubscription = this.recFileService.fetchAndApplyRecordingFile(this._controlAudioPlayer.context, this._session.project, this._displayRecFile).subscribe((rf) => {
|
|
@@ -11102,7 +11154,9 @@ class AudioRecorder extends BasicRecorder {
|
|
|
11102
11154
|
if (fab) {
|
|
11103
11155
|
this.displayAudioClip = new AudioClip(fab);
|
|
11104
11156
|
}
|
|
11105
|
-
this.
|
|
11157
|
+
if (this._controlAudioPlayer) {
|
|
11158
|
+
this._controlAudioPlayer.audioClip = this.displayAudioClip;
|
|
11159
|
+
}
|
|
11106
11160
|
this.showRecording();
|
|
11107
11161
|
}, err => {
|
|
11108
11162
|
console.error("Could not load recording file from server: " + err);
|
|
@@ -11118,7 +11172,9 @@ class AudioRecorder extends BasicRecorder {
|
|
|
11118
11172
|
}
|
|
11119
11173
|
else {
|
|
11120
11174
|
this.displayAudioClip = null;
|
|
11121
|
-
this.
|
|
11175
|
+
if (this._controlAudioPlayer) {
|
|
11176
|
+
this._controlAudioPlayer.audioClip = null;
|
|
11177
|
+
}
|
|
11122
11178
|
}
|
|
11123
11179
|
this.showRecording();
|
|
11124
11180
|
}
|
|
@@ -11126,7 +11182,9 @@ class AudioRecorder extends BasicRecorder {
|
|
|
11126
11182
|
return this._displayRecFile;
|
|
11127
11183
|
}
|
|
11128
11184
|
showRecording() {
|
|
11129
|
-
this.
|
|
11185
|
+
if (this._controlAudioPlayer) {
|
|
11186
|
+
this._controlAudioPlayer.stop();
|
|
11187
|
+
}
|
|
11130
11188
|
if (this.displayAudioClip) {
|
|
11131
11189
|
let dap = this.displayAudioClip;
|
|
11132
11190
|
this.levelMeasure.calcBufferLevelInfos(dap.buffer, LEVEL_BAR_INTERVALL_SECONDS).then((levelInfos) => {
|
|
@@ -11312,7 +11370,7 @@ class AudioRecorder extends BasicRecorder {
|
|
|
11312
11370
|
}
|
|
11313
11371
|
}
|
|
11314
11372
|
updateControlPlaybackPosition() {
|
|
11315
|
-
if (this._controlAudioPlayer.playPositionFrames) {
|
|
11373
|
+
if (this._controlAudioPlayer && this._controlAudioPlayer.playPositionFrames) {
|
|
11316
11374
|
this.recorderCombiPane.audioDisplay.playFramePosition = this._controlAudioPlayer.playPositionFrames;
|
|
11317
11375
|
this.liveLevelDisplay.playFramePosition = this._controlAudioPlayer.playPositionFrames;
|
|
11318
11376
|
}
|
|
@@ -11333,8 +11391,8 @@ class AudioRecorder extends BasicRecorder {
|
|
|
11333
11391
|
}
|
|
11334
11392
|
}
|
|
11335
11393
|
}
|
|
11336
|
-
AudioRecorder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
11337
|
-
AudioRecorder.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
11394
|
+
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 });
|
|
11395
|
+
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: `
|
|
11338
11396
|
<app-warningbar [show]="isTestSession()" warningText="Test recording only!"></app-warningbar>
|
|
11339
11397
|
<app-warningbar [show]="isDefaultAudioTestSession()"
|
|
11340
11398
|
warningText="This test uses default audio device! Regular sessions may require a particular audio device (microphone)!"></app-warningbar>
|
|
@@ -11343,18 +11401,17 @@ AudioRecorder.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version:
|
|
|
11343
11401
|
[selectedRecordingFile]="displayRecFile"
|
|
11344
11402
|
[selectDisabled]="isActive()"
|
|
11345
11403
|
[displayAudioClip]="displayAudioClip"
|
|
11346
|
-
[playStartAction]="controlAudioPlayer
|
|
11347
|
-
[playStopAction]="controlAudioPlayer
|
|
11348
|
-
[playSelectionAction]="controlAudioPlayer
|
|
11349
|
-
[autoPlayOnSelectToggleAction]="controlAudioPlayer
|
|
11404
|
+
[playStartAction]="controlAudioPlayer?.startAction"
|
|
11405
|
+
[playStopAction]="controlAudioPlayer?.stopAction"
|
|
11406
|
+
[playSelectionAction]="controlAudioPlayer?.startSelectionAction"
|
|
11407
|
+
[autoPlayOnSelectToggleAction]="controlAudioPlayer?.autoPlayOnSelectToggleAction"
|
|
11350
11408
|
></app-recordercombipane>
|
|
11351
11409
|
|
|
11352
|
-
<div
|
|
11353
|
-
|
|
11354
|
-
<audio-levelbar fxFlex="1 0 1" [streamingMode]="isRecording()"
|
|
11410
|
+
<div [class]="{audioStatusDisplay:!screenXs,audioStatusDisplayXs:screenXs}">
|
|
11411
|
+
<audio-levelbar style="flex:1 0 1%" [streamingMode]="isRecording()"
|
|
11355
11412
|
[displayLevelInfos]="displayAudioClip?.levelInfos"></audio-levelbar>
|
|
11356
11413
|
<div fxLayout="row">
|
|
11357
|
-
<spr-recordingitemcontrols
|
|
11414
|
+
<spr-recordingitemcontrols style="flex:10 0 1%"
|
|
11358
11415
|
[audioLoaded]="displayAudioClip?.buffer!==null"
|
|
11359
11416
|
[playStartAction]="controlAudioPlayer?.startAction"
|
|
11360
11417
|
[playStopAction]="controlAudioPlayer?.stopAction"
|
|
@@ -11363,11 +11420,11 @@ AudioRecorder.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version:
|
|
|
11363
11420
|
(onShowRecordingDetails)="audioSignalCollapsed=!audioSignalCollapsed">
|
|
11364
11421
|
</spr-recordingitemcontrols>
|
|
11365
11422
|
|
|
11366
|
-
<app-uploadstatus class="ricontrols dark"
|
|
11423
|
+
<app-uploadstatus *ngIf="screenXs && enableUploadRecordings" class="ricontrols dark" style="flex:0 0 0"
|
|
11367
11424
|
[value]="uploadProgress"
|
|
11368
11425
|
[status]="uploadStatus" [awaitNewUpload]="processingRecording"></app-uploadstatus>
|
|
11369
|
-
<app-wakelockindicator class="ricontrols dark"
|
|
11370
|
-
<app-readystateindicator class="ricontrols dark"
|
|
11426
|
+
<app-wakelockindicator *ngIf="screenXs" class="ricontrols dark" style="flex:0 0 0" [screenLocked]="screenLocked"></app-wakelockindicator>
|
|
11427
|
+
<app-readystateindicator *ngIf="screenXs" class="ricontrols dark" style="flex:0 0 0"
|
|
11371
11428
|
[ready]="dataSaved && !isActive()"></app-readystateindicator>
|
|
11372
11429
|
</div>
|
|
11373
11430
|
</div>
|
|
@@ -11375,7 +11432,7 @@ AudioRecorder.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version:
|
|
|
11375
11432
|
<app-sprstatusdisplay fxHide.xs fxFlex="30% 1 30%" [statusMsg]="statusMsg" [statusAlertType]="statusAlertType"
|
|
11376
11433
|
[statusWaiting]="statusWaiting"
|
|
11377
11434
|
class="hidden-xs"></app-sprstatusdisplay>
|
|
11378
|
-
<div
|
|
11435
|
+
<div style="flex:1 0 100%" class="startstop">
|
|
11379
11436
|
<div style="align-content: center">
|
|
11380
11437
|
<button (click)="startStopPerform()" [disabled]="startDisabled() && stopDisabled()" mat-raised-button class="bigbutton">
|
|
11381
11438
|
<mat-icon [style.color]="startStopNextIconColor()" inline="true">{{startStopNextIconName()}}</mat-icon>
|
|
@@ -11383,19 +11440,19 @@ AudioRecorder.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version:
|
|
|
11383
11440
|
</button>
|
|
11384
11441
|
</div>
|
|
11385
11442
|
</div>
|
|
11386
|
-
<div
|
|
11387
|
-
<div
|
|
11443
|
+
<div style="flex:0.333 1 30%" >
|
|
11444
|
+
<div style="flex:1 1 auto"></div>
|
|
11388
11445
|
|
|
11389
|
-
<app-uploadstatus class="ricontrols"
|
|
11446
|
+
<app-uploadstatus *ngIf="!screenXs && enableUploadRecordings" class="ricontrols" style="flex:0 0 0"
|
|
11390
11447
|
[value]="uploadProgress"
|
|
11391
11448
|
[status]="uploadStatus" [awaitNewUpload]="processingRecording"></app-uploadstatus>
|
|
11392
|
-
<app-wakelockindicator class="ricontrols"
|
|
11393
|
-
<app-readystateindicator class="ricontrols"
|
|
11449
|
+
<app-wakelockindicator *ngIf="!screenXs" class="ricontrols" [screenLocked]="screenLocked"></app-wakelockindicator>
|
|
11450
|
+
<app-readystateindicator *ngIf="!screenXs" class="ricontrols"
|
|
11394
11451
|
[ready]="dataSaved && !isActive()"></app-readystateindicator>
|
|
11395
11452
|
</div>
|
|
11396
11453
|
</div>
|
|
11397
|
-
`, 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"
|
|
11398
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
11454
|
+
`, 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"] }] });
|
|
11455
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AudioRecorder, decorators: [{
|
|
11399
11456
|
type: Component,
|
|
11400
11457
|
args: [{ selector: 'app-audiorecorder', providers: [SessionService], template: `
|
|
11401
11458
|
<app-warningbar [show]="isTestSession()" warningText="Test recording only!"></app-warningbar>
|
|
@@ -11406,18 +11463,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
11406
11463
|
[selectedRecordingFile]="displayRecFile"
|
|
11407
11464
|
[selectDisabled]="isActive()"
|
|
11408
11465
|
[displayAudioClip]="displayAudioClip"
|
|
11409
|
-
[playStartAction]="controlAudioPlayer
|
|
11410
|
-
[playStopAction]="controlAudioPlayer
|
|
11411
|
-
[playSelectionAction]="controlAudioPlayer
|
|
11412
|
-
[autoPlayOnSelectToggleAction]="controlAudioPlayer
|
|
11466
|
+
[playStartAction]="controlAudioPlayer?.startAction"
|
|
11467
|
+
[playStopAction]="controlAudioPlayer?.stopAction"
|
|
11468
|
+
[playSelectionAction]="controlAudioPlayer?.startSelectionAction"
|
|
11469
|
+
[autoPlayOnSelectToggleAction]="controlAudioPlayer?.autoPlayOnSelectToggleAction"
|
|
11413
11470
|
></app-recordercombipane>
|
|
11414
11471
|
|
|
11415
|
-
<div
|
|
11416
|
-
|
|
11417
|
-
<audio-levelbar fxFlex="1 0 1" [streamingMode]="isRecording()"
|
|
11472
|
+
<div [class]="{audioStatusDisplay:!screenXs,audioStatusDisplayXs:screenXs}">
|
|
11473
|
+
<audio-levelbar style="flex:1 0 1%" [streamingMode]="isRecording()"
|
|
11418
11474
|
[displayLevelInfos]="displayAudioClip?.levelInfos"></audio-levelbar>
|
|
11419
11475
|
<div fxLayout="row">
|
|
11420
|
-
<spr-recordingitemcontrols
|
|
11476
|
+
<spr-recordingitemcontrols style="flex:10 0 1%"
|
|
11421
11477
|
[audioLoaded]="displayAudioClip?.buffer!==null"
|
|
11422
11478
|
[playStartAction]="controlAudioPlayer?.startAction"
|
|
11423
11479
|
[playStopAction]="controlAudioPlayer?.stopAction"
|
|
@@ -11426,11 +11482,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
11426
11482
|
(onShowRecordingDetails)="audioSignalCollapsed=!audioSignalCollapsed">
|
|
11427
11483
|
</spr-recordingitemcontrols>
|
|
11428
11484
|
|
|
11429
|
-
<app-uploadstatus class="ricontrols dark"
|
|
11485
|
+
<app-uploadstatus *ngIf="screenXs && enableUploadRecordings" class="ricontrols dark" style="flex:0 0 0"
|
|
11430
11486
|
[value]="uploadProgress"
|
|
11431
11487
|
[status]="uploadStatus" [awaitNewUpload]="processingRecording"></app-uploadstatus>
|
|
11432
|
-
<app-wakelockindicator class="ricontrols dark"
|
|
11433
|
-
<app-readystateindicator class="ricontrols dark"
|
|
11488
|
+
<app-wakelockindicator *ngIf="screenXs" class="ricontrols dark" style="flex:0 0 0" [screenLocked]="screenLocked"></app-wakelockindicator>
|
|
11489
|
+
<app-readystateindicator *ngIf="screenXs" class="ricontrols dark" style="flex:0 0 0"
|
|
11434
11490
|
[ready]="dataSaved && !isActive()"></app-readystateindicator>
|
|
11435
11491
|
</div>
|
|
11436
11492
|
</div>
|
|
@@ -11438,7 +11494,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
11438
11494
|
<app-sprstatusdisplay fxHide.xs fxFlex="30% 1 30%" [statusMsg]="statusMsg" [statusAlertType]="statusAlertType"
|
|
11439
11495
|
[statusWaiting]="statusWaiting"
|
|
11440
11496
|
class="hidden-xs"></app-sprstatusdisplay>
|
|
11441
|
-
<div
|
|
11497
|
+
<div style="flex:1 0 100%" class="startstop">
|
|
11442
11498
|
<div style="align-content: center">
|
|
11443
11499
|
<button (click)="startStopPerform()" [disabled]="startDisabled() && stopDisabled()" mat-raised-button class="bigbutton">
|
|
11444
11500
|
<mat-icon [style.color]="startStopNextIconColor()" inline="true">{{startStopNextIconName()}}</mat-icon>
|
|
@@ -11446,20 +11502,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
11446
11502
|
</button>
|
|
11447
11503
|
</div>
|
|
11448
11504
|
</div>
|
|
11449
|
-
<div
|
|
11450
|
-
<div
|
|
11505
|
+
<div style="flex:0.333 1 30%" >
|
|
11506
|
+
<div style="flex:1 1 auto"></div>
|
|
11451
11507
|
|
|
11452
|
-
<app-uploadstatus class="ricontrols"
|
|
11508
|
+
<app-uploadstatus *ngIf="!screenXs && enableUploadRecordings" class="ricontrols" style="flex:0 0 0"
|
|
11453
11509
|
[value]="uploadProgress"
|
|
11454
11510
|
[status]="uploadStatus" [awaitNewUpload]="processingRecording"></app-uploadstatus>
|
|
11455
|
-
<app-wakelockindicator class="ricontrols"
|
|
11456
|
-
<app-readystateindicator class="ricontrols"
|
|
11511
|
+
<app-wakelockindicator *ngIf="!screenXs" class="ricontrols" [screenLocked]="screenLocked"></app-wakelockindicator>
|
|
11512
|
+
<app-readystateindicator *ngIf="!screenXs" class="ricontrols"
|
|
11457
11513
|
[ready]="dataSaved && !isActive()"></app-readystateindicator>
|
|
11458
11514
|
</div>
|
|
11459
11515
|
</div>
|
|
11460
|
-
`, 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"] }]
|
|
11516
|
+
`, 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"] }]
|
|
11461
11517
|
}], ctorParameters: function () {
|
|
11462
|
-
return [{ type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i1$2.ActivatedRoute }, { type: i1$4.MatDialog }, { type: SessionService }, { type: RecordingService }, { type: SpeechRecorderUploader }, { type: SpeechRecorderConfig, decorators: [{
|
|
11518
|
+
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: [{
|
|
11463
11519
|
type: Inject,
|
|
11464
11520
|
args: [SPEECHRECORDER_CONFIG]
|
|
11465
11521
|
}] }];
|
|
@@ -11605,11 +11661,11 @@ class AudioRecorderComponent extends RecorderComponent {
|
|
|
11605
11661
|
return this.dataSaved && !this.ar.isActive();
|
|
11606
11662
|
}
|
|
11607
11663
|
}
|
|
11608
|
-
AudioRecorderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
11609
|
-
AudioRecorderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
11664
|
+
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 });
|
|
11665
|
+
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: `
|
|
11610
11666
|
<app-audiorecorder [projectName]="_project?.name" [dataSaved]="dataSaved"></app-audiorecorder>
|
|
11611
11667
|
`, 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"] }] });
|
|
11612
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
11668
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AudioRecorderComponent, decorators: [{
|
|
11613
11669
|
type: Component,
|
|
11614
11670
|
args: [{ selector: 'app-audiorecorder-comp', providers: [SessionService], template: `
|
|
11615
11671
|
<app-audiorecorder [projectName]="_project?.name" [dataSaved]="dataSaved"></app-audiorecorder>
|
|
@@ -11648,22 +11704,22 @@ class SpeechrecorderngModule {
|
|
|
11648
11704
|
};
|
|
11649
11705
|
}
|
|
11650
11706
|
}
|
|
11651
|
-
SpeechrecorderngModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
11652
|
-
SpeechrecorderngModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.
|
|
11653
|
-
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,
|
|
11654
|
-
SpeechrecorderngModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.
|
|
11655
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
11707
|
+
SpeechrecorderngModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SpeechrecorderngModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
11708
|
+
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,
|
|
11709
|
+
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] });
|
|
11710
|
+
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] });
|
|
11711
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SpeechrecorderngModule, decorators: [{
|
|
11656
11712
|
type: NgModule,
|
|
11657
11713
|
args: [{
|
|
11658
11714
|
declarations: [AudioSignal, Sonagram, ScrollPaneHorizontal, AudioClipUIContainer, AudioDisplayScrollPane, AudioDisplay, AudioDisplayPlayer, AudioDisplayControl, LevelBar, Progress, SimpleTrafficLight, Recinstructions, Prompter, PromptContainer, PromptingContainer, Prompting, StatusDisplay,
|
|
11659
11715
|
ProgressDisplay, RecordingItemDisplay, RecordingItemControls, UploadStatus, TransportPanel, WakeLockIndicator, ReadyStateIndicator, ControlPanel, WarningBar, AudioRecorder, SessionManager, MessageDialog, SessionFinishedDialog, SpeechrecorderngComponent, AudioRecorderComponent, RecordingFileViewComponent, RecordingFileUI, ScrollIntoViewDirective, RecordingFileNaviComponent, RecordingFileMetaComponent, RecordingList, RecorderCombiPane, AudioRecorder],
|
|
11660
11716
|
exports: [MessageDialog, SpeechrecorderngComponent, ScrollPaneHorizontal, AudioClipUIContainer, AudioDisplayScrollPane, AudioDisplay, AudioDisplayPlayer, AudioDisplayControl, LevelBar, AudioRecorder],
|
|
11661
|
-
imports: [RouterModule.forChild(SPR_ROUTES),
|
|
11717
|
+
imports: [RouterModule.forChild(SPR_ROUTES), CommonModule, MatIconModule, MatButtonModule, MatDialogModule, MatProgressBarModule, MatProgressSpinnerModule, MatTooltipModule, HttpClientModule, MatCheckboxModule, MatCardModule, MatDividerModule, MatGridListModule, MatTableModule, MatInputModule, MatSelectModule, MatSnackBarModule],
|
|
11662
11718
|
providers: [SessionService, ProjectService, ScriptService, RecordingService, RecordingFileService, SpeechRecorderUploader]
|
|
11663
11719
|
}]
|
|
11664
11720
|
}] });
|
|
11665
11721
|
|
|
11666
|
-
const VERSION = '2.25.
|
|
11722
|
+
const VERSION = '2.25.7';
|
|
11667
11723
|
|
|
11668
11724
|
/*
|
|
11669
11725
|
* Public API Surface of speechrecorderng
|