speechrecorderng 3.6.0 → 3.8.0
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/esm2022/lib/action/action.mjs +73 -0
- package/{esm2020 → esm2022}/lib/audio/array_audio_buffer.mjs +163 -163
- package/{esm2020 → esm2022}/lib/audio/array_audio_buffer_input_stream.mjs +85 -85
- package/{esm2020 → esm2022}/lib/audio/array_audio_buffer_random_access_stream.mjs +15 -15
- package/esm2022/lib/audio/audio_data_holder.mjs +264 -0
- package/{esm2020 → esm2022}/lib/audio/audio_display.mjs +93 -93
- package/{esm2020 → esm2022}/lib/audio/audio_player.mjs +213 -213
- package/esm2022/lib/audio/capture/capture.mjs +855 -0
- package/esm2022/lib/audio/context.mjs +79 -0
- package/{esm2020 → esm2022}/lib/audio/dsp/level_measure.mjs +515 -515
- package/{esm2020 → esm2022}/lib/audio/format.mjs +16 -16
- package/esm2022/lib/audio/impl/wavformat.mjs +6 -0
- package/{esm2020 → esm2022}/lib/audio/impl/wavreader.mjs +133 -133
- package/esm2022/lib/audio/impl/wavwriter.mjs +105 -0
- package/esm2022/lib/audio/inddb_audio_buffer.mjs +508 -0
- package/{esm2020 → esm2022}/lib/audio/io/stream.mjs +58 -58
- package/esm2022/lib/audio/net_audio_buffer.mjs +293 -0
- package/{esm2020 → esm2022}/lib/audio/persistor.mjs +80 -80
- package/{esm2020 → esm2022}/lib/audio/playback/array_audio_buffer_source_node.mjs +125 -125
- package/esm2022/lib/audio/playback/audio_source_node.mjs +18 -0
- package/esm2022/lib/audio/playback/audio_source_worklet_module_loader.mjs +167 -0
- package/{esm2020 → esm2022}/lib/audio/playback/inddb_audio_buffer_source_node.mjs +166 -166
- package/{esm2020 → esm2022}/lib/audio/playback/net_audio_buffer_source_node.mjs +217 -217
- package/esm2022/lib/audio/playback/player.mjs +402 -0
- package/esm2022/lib/audio/ui/audio_canvas_layer_comp.mjs +347 -0
- package/{esm2020 → esm2022}/lib/audio/ui/audio_display_control.mjs +65 -65
- package/{esm2020 → esm2022}/lib/audio/ui/audio_display_scroll_pane.mjs +139 -139
- package/{esm2020 → esm2022}/lib/audio/ui/audiosignal.mjs +524 -524
- package/{esm2020 → esm2022}/lib/audio/ui/common.mjs +18 -18
- package/esm2022/lib/audio/ui/container.mjs +414 -0
- package/{esm2020 → esm2022}/lib/audio/ui/livelevel.mjs +352 -352
- package/esm2022/lib/audio/ui/scroll_pane_horizontal.mjs +11 -0
- package/esm2022/lib/audio/ui/sonagram.mjs +900 -0
- package/esm2022/lib/db/inddb.mjs +120 -0
- package/esm2022/lib/dsp/utils.mjs +48 -0
- package/{esm2020 → esm2022}/lib/io/BinaryReader.mjs +84 -84
- package/esm2022/lib/io/BinaryWriter.mjs +74 -0
- package/{esm2020 → esm2022}/lib/io/stream.mjs +258 -258
- package/{esm2020 → esm2022}/lib/math/2d/geometry.mjs +27 -27
- package/esm2022/lib/math/complex.mjs +58 -0
- package/{esm2020 → esm2022}/lib/math/dft.mjs +195 -195
- package/{esm2020 → esm2022}/lib/media/utils.mjs +13 -13
- package/esm2022/lib/net/uploader.mjs +367 -0
- package/{esm2020 → esm2022}/lib/recorder_component.mjs +64 -64
- package/esm2022/lib/speechrecorder/project/project.mjs +49 -0
- package/esm2022/lib/speechrecorder/project/project.service.mjs +64 -0
- package/{esm2020 → esm2022}/lib/speechrecorder/recording.mjs +123 -123
- package/esm2022/lib/speechrecorder/recordings/basic_recording.service.mjs +218 -0
- package/esm2022/lib/speechrecorder/recordings/recordings.service.mjs +1014 -0
- package/{esm2020 → esm2022}/lib/speechrecorder/script/script.mjs +114 -114
- package/{esm2020 → esm2022}/lib/speechrecorder/script/script.service.mjs +47 -47
- package/esm2022/lib/speechrecorder/session/audiorecorder.mjs +1179 -0
- package/esm2022/lib/speechrecorder/session/basicrecorder.mjs +668 -0
- package/esm2022/lib/speechrecorder/session/controlpanel.mjs +416 -0
- package/{esm2020 → esm2022}/lib/speechrecorder/session/item.mjs +29 -29
- package/{esm2020 → esm2022}/lib/speechrecorder/session/progress.mjs +69 -69
- package/{esm2020 → esm2022}/lib/speechrecorder/session/prompting.mjs +571 -571
- package/{esm2020 → esm2022}/lib/speechrecorder/session/recorder_combi_pane.mjs +65 -65
- package/esm2022/lib/speechrecorder/session/recording_file_cache.mjs +195 -0
- package/{esm2020 → esm2022}/lib/speechrecorder/session/recording_list.mjs +103 -103
- package/{esm2020 → esm2022}/lib/speechrecorder/session/recordingfile/recording-file-meta.component.mjs +63 -63
- package/{esm2020 → esm2022}/lib/speechrecorder/session/recordingfile/recording-file-navi.component.mjs +51 -51
- package/{esm2020 → esm2022}/lib/speechrecorder/session/recordingfile/recording-file-u-i.component.mjs +104 -104
- package/{esm2020 → esm2022}/lib/speechrecorder/session/recordingfile/recording-file-view.component.mjs +381 -381
- package/{esm2020 → esm2022}/lib/speechrecorder/session/recordingfile/recording-file.mjs +67 -67
- package/esm2022/lib/speechrecorder/session/recordingfile/recordingfile-service.mjs +288 -0
- package/{esm2020 → esm2022}/lib/speechrecorder/session/session.mjs +1 -1
- package/esm2022/lib/speechrecorder/session/session.service.mjs +69 -0
- package/{esm2020 → esm2022}/lib/speechrecorder/session/session_finished_dialog.mjs +29 -29
- package/esm2022/lib/speechrecorder/session/sessionmanager.mjs +1386 -0
- package/{esm2020 → esm2022}/lib/speechrecorder/session/warning_bar.mjs +28 -28
- package/{esm2020 → esm2022}/lib/speechrecorder/spruploader.mjs +22 -22
- package/{esm2020 → esm2022}/lib/speechrecorder/startstopsignal/startstopsignal.mjs +1 -1
- package/esm2022/lib/speechrecorder/startstopsignal/ui/simpletrafficlight.mjs +57 -0
- package/{esm2020 → esm2022}/lib/speechrecorderng.component.mjs +388 -388
- package/{esm2020 → esm2022}/lib/speechrecorderng.module.mjs +100 -100
- package/{esm2020 → esm2022}/lib/spr.config.mjs +26 -26
- package/{esm2020 → esm2022}/lib/spr.module.version.mjs +2 -2
- package/{esm2020 → esm2022}/lib/ui/canvas_layer_comp.mjs +38 -38
- package/{esm2020 → esm2022}/lib/ui/message_dialog.mjs +30 -30
- package/esm2022/lib/ui/recordingitem_display.mjs +253 -0
- package/{esm2020 → esm2022}/lib/ui/responsive_component.mjs +24 -24
- package/{esm2020 → esm2022}/lib/utils/scrollIntoViewToBottom.mjs +23 -23
- package/esm2022/lib/utils/ua-parser.mjs +190 -0
- package/esm2022/lib/utils/utils.mjs +105 -0
- package/esm2022/lib/utils/wake_lock.mjs +114 -0
- package/{esm2020 → esm2022}/lib/utils/wake_lock_media.mjs +1 -1
- package/{esm2020 → esm2022}/public-api.mjs +33 -33
- package/{esm2020 → esm2022}/speechrecorderng.mjs +4 -4
- package/{fesm2020 → fesm2022}/speechrecorderng.mjs +16518 -16454
- package/fesm2022/speechrecorderng.mjs.map +1 -0
- package/index.d.ts +5 -5
- package/lib/action/action.d.ts +27 -27
- package/lib/audio/array_audio_buffer.d.ts +31 -31
- package/lib/audio/array_audio_buffer_input_stream.d.ts +14 -14
- package/lib/audio/array_audio_buffer_random_access_stream.d.ts +9 -9
- package/lib/audio/audio_data_holder.d.ts +84 -84
- package/lib/audio/audio_display.d.ts +36 -36
- package/lib/audio/audio_player.d.ts +47 -47
- package/lib/audio/capture/capture.d.ts +67 -67
- package/lib/audio/context.d.ts +6 -6
- package/lib/audio/dsp/level_measure.d.ts +60 -60
- package/lib/audio/format.d.ts +11 -11
- package/lib/audio/impl/wavformat.d.ts +5 -5
- package/lib/audio/impl/wavreader.d.ts +16 -16
- package/lib/audio/impl/wavwriter.d.ts +13 -13
- package/lib/audio/inddb_audio_buffer.d.ts +68 -68
- package/lib/audio/io/stream.d.ts +28 -28
- package/lib/audio/net_audio_buffer.d.ts +57 -57
- package/lib/audio/persistor.d.ts +29 -29
- package/lib/audio/playback/array_audio_buffer_source_node.d.ts +18 -18
- package/lib/audio/playback/audio_source_node.d.ts +10 -10
- package/lib/audio/playback/audio_source_worklet_module_loader.d.ts +4 -4
- package/lib/audio/playback/inddb_audio_buffer_source_node.d.ts +21 -21
- package/lib/audio/playback/net_audio_buffer_source_node.d.ts +27 -27
- package/lib/audio/playback/player.d.ts +65 -65
- package/lib/audio/ui/audio_canvas_layer_comp.d.ts +68 -68
- package/lib/audio/ui/audio_display_control.d.ts +25 -25
- package/lib/audio/ui/audio_display_scroll_pane.d.ts +26 -26
- package/lib/audio/ui/audiosignal.d.ts +30 -30
- package/lib/audio/ui/common.d.ts +11 -11
- package/lib/audio/ui/container.d.ts +63 -63
- package/lib/audio/ui/livelevel.d.ts +60 -60
- package/lib/audio/ui/scroll_pane_horizontal.d.ts +5 -5
- package/lib/audio/ui/sonagram.d.ts +37 -37
- package/lib/db/inddb.d.ts +21 -21
- package/lib/dsp/utils.d.ts +19 -19
- package/lib/io/BinaryReader.d.ts +18 -18
- package/lib/io/BinaryWriter.d.ts +15 -15
- package/lib/io/stream.d.ts +59 -59
- package/lib/math/2d/geometry.d.ts +18 -18
- package/lib/math/complex.d.ts +17 -17
- package/lib/math/dft.d.ts +22 -22
- package/lib/media/utils.d.ts +3 -3
- package/lib/net/uploader.d.ts +81 -81
- package/lib/recorder_component.d.ts +16 -16
- package/lib/speechrecorder/project/project.d.ts +59 -59
- package/lib/speechrecorder/project/project.service.d.ts +21 -21
- package/lib/speechrecorder/recording.d.ts +51 -51
- package/lib/speechrecorder/recordings/basic_recording.service.d.ts +27 -27
- package/lib/speechrecorder/recordings/recordings.service.d.ts +48 -48
- package/lib/speechrecorder/script/script.d.ts +80 -79
- package/lib/speechrecorder/script/script.service.d.ts +16 -16
- package/lib/speechrecorder/session/audiorecorder.d.ts +122 -122
- package/lib/speechrecorder/session/basicrecorder.d.ts +139 -139
- package/lib/speechrecorder/session/controlpanel.d.ts +109 -107
- package/lib/speechrecorder/session/item.d.ts +12 -12
- package/lib/speechrecorder/session/progress.d.ts +17 -17
- package/lib/speechrecorder/session/prompting.d.ts +121 -121
- package/lib/speechrecorder/session/recorder_combi_pane.d.ts +32 -32
- package/lib/speechrecorder/session/recording_file_cache.d.ts +33 -33
- package/lib/speechrecorder/session/recording_list.d.ts +24 -24
- package/lib/speechrecorder/session/recordingfile/recording-file-meta.component.d.ts +15 -15
- package/lib/speechrecorder/session/recordingfile/recording-file-navi.component.d.ts +20 -20
- package/lib/speechrecorder/session/recordingfile/recording-file-u-i.component.d.ts +31 -31
- package/lib/speechrecorder/session/recordingfile/recording-file-view.component.d.ts +55 -55
- package/lib/speechrecorder/session/recordingfile/recording-file.d.ts +7 -7
- package/lib/speechrecorder/session/recordingfile/recordingfile-service.d.ts +24 -24
- package/lib/speechrecorder/session/session.d.ts +15 -15
- package/lib/speechrecorder/session/session.service.d.ts +20 -20
- package/lib/speechrecorder/session/session_finished_dialog.d.ts +10 -10
- package/lib/speechrecorder/session/sessionmanager.d.ts +129 -123
- package/lib/speechrecorder/session/warning_bar.d.ts +8 -8
- package/lib/speechrecorder/spruploader.d.ts +11 -11
- package/lib/speechrecorder/startstopsignal/startstopsignal.d.ts +10 -10
- package/lib/speechrecorder/startstopsignal/ui/simpletrafficlight.d.ts +11 -11
- package/lib/speechrecorderng.component.d.ts +61 -61
- package/lib/speechrecorderng.module.d.ts +56 -56
- package/lib/spr.config.d.ts +17 -17
- package/lib/spr.module.version.d.ts +1 -1
- package/lib/ui/canvas_layer_comp.d.ts +13 -13
- package/lib/ui/message_dialog.d.ts +10 -10
- package/lib/ui/recordingitem_display.d.ts +84 -84
- package/lib/ui/responsive_component.d.ts +9 -9
- package/lib/utils/scrollIntoViewToBottom.d.ts +9 -9
- package/lib/utils/ua-parser.d.ts +43 -43
- package/lib/utils/utils.d.ts +19 -19
- package/lib/utils/wake_lock.d.ts +23 -23
- package/lib/utils/wake_lock_media.d.ts +1 -1
- package/package.json +17 -23
- package/public-api.d.ts +33 -33
- package/esm2020/lib/action/action.mjs +0 -73
- package/esm2020/lib/audio/audio_data_holder.mjs +0 -264
- package/esm2020/lib/audio/capture/capture.mjs +0 -855
- package/esm2020/lib/audio/context.mjs +0 -79
- package/esm2020/lib/audio/impl/wavformat.mjs +0 -6
- package/esm2020/lib/audio/impl/wavwriter.mjs +0 -105
- package/esm2020/lib/audio/inddb_audio_buffer.mjs +0 -508
- package/esm2020/lib/audio/net_audio_buffer.mjs +0 -293
- package/esm2020/lib/audio/playback/audio_source_node.mjs +0 -18
- package/esm2020/lib/audio/playback/audio_source_worklet_module_loader.mjs +0 -167
- package/esm2020/lib/audio/playback/player.mjs +0 -402
- package/esm2020/lib/audio/ui/audio_canvas_layer_comp.mjs +0 -347
- package/esm2020/lib/audio/ui/container.mjs +0 -414
- package/esm2020/lib/audio/ui/scroll_pane_horizontal.mjs +0 -11
- package/esm2020/lib/audio/ui/sonagram.mjs +0 -900
- package/esm2020/lib/db/inddb.mjs +0 -120
- package/esm2020/lib/dsp/utils.mjs +0 -48
- package/esm2020/lib/io/BinaryWriter.mjs +0 -74
- package/esm2020/lib/math/complex.mjs +0 -58
- package/esm2020/lib/net/uploader.mjs +0 -367
- package/esm2020/lib/speechrecorder/project/project.mjs +0 -49
- package/esm2020/lib/speechrecorder/project/project.service.mjs +0 -64
- package/esm2020/lib/speechrecorder/recordings/basic_recording.service.mjs +0 -216
- package/esm2020/lib/speechrecorder/recordings/recordings.service.mjs +0 -1014
- package/esm2020/lib/speechrecorder/session/audiorecorder.mjs +0 -1179
- package/esm2020/lib/speechrecorder/session/basicrecorder.mjs +0 -666
- package/esm2020/lib/speechrecorder/session/controlpanel.mjs +0 -409
- package/esm2020/lib/speechrecorder/session/recording_file_cache.mjs +0 -195
- package/esm2020/lib/speechrecorder/session/recordingfile/recordingfile-service.mjs +0 -288
- package/esm2020/lib/speechrecorder/session/session.service.mjs +0 -69
- package/esm2020/lib/speechrecorder/session/sessionmanager.mjs +0 -1333
- package/esm2020/lib/speechrecorder/startstopsignal/ui/simpletrafficlight.mjs +0 -57
- package/esm2020/lib/ui/recordingitem_display.mjs +0 -253
- package/esm2020/lib/utils/ua-parser.mjs +0 -190
- package/esm2020/lib/utils/utils.mjs +0 -105
- package/esm2020/lib/utils/wake_lock.mjs +0 -114
- package/fesm2015/speechrecorderng.mjs +0 -17708
- package/fesm2015/speechrecorderng.mjs.map +0 -1
- package/fesm2020/speechrecorderng.mjs.map +0 -1
|
@@ -0,0 +1,416 @@
|
|
|
1
|
+
import { Action } from '../../action/action';
|
|
2
|
+
import { Component, ViewChild, Input } from "@angular/core";
|
|
3
|
+
import { ResponsiveComponent } from "../../ui/responsive_component";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@angular/common";
|
|
6
|
+
import * as i2 from "@angular/material/icon";
|
|
7
|
+
import * as i3 from "@angular/material/progress-spinner";
|
|
8
|
+
import * as i4 from "@angular/material/tooltip";
|
|
9
|
+
import * as i5 from "@angular/cdk/layout";
|
|
10
|
+
import * as i6 from "@angular/material/button";
|
|
11
|
+
import * as i7 from "@angular/material/dialog";
|
|
12
|
+
export class StatusDisplay {
|
|
13
|
+
constructor() {
|
|
14
|
+
this.statusAlertType = 'info';
|
|
15
|
+
this.statusMsg = 'Initialize...';
|
|
16
|
+
this.statusWaiting = false;
|
|
17
|
+
}
|
|
18
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: StatusDisplay, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
19
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.6", type: StatusDisplay, selector: "app-sprstatusdisplay", inputs: { statusAlertType: "statusAlertType", statusMsg: "statusMsg", statusWaiting: "statusWaiting" }, ngImport: i0, template: `
|
|
20
|
+
<p matTooltip="Status">
|
|
21
|
+
<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>
|
|
22
|
+
{{statusMsg}}
|
|
23
|
+
</p>
|
|
24
|
+
`, 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.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.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "directive", type: i4.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }] }); }
|
|
25
|
+
}
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: StatusDisplay, decorators: [{
|
|
27
|
+
type: Component,
|
|
28
|
+
args: [{ selector: 'app-sprstatusdisplay', template: `
|
|
29
|
+
<p matTooltip="Status">
|
|
30
|
+
<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>
|
|
31
|
+
{{statusMsg}}
|
|
32
|
+
</p>
|
|
33
|
+
`, 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"] }]
|
|
34
|
+
}], propDecorators: { statusAlertType: [{
|
|
35
|
+
type: Input
|
|
36
|
+
}], statusMsg: [{
|
|
37
|
+
type: Input
|
|
38
|
+
}], statusWaiting: [{
|
|
39
|
+
type: Input
|
|
40
|
+
}] } });
|
|
41
|
+
export class UploadStatus {
|
|
42
|
+
constructor() {
|
|
43
|
+
this._awaitNewUpload = false;
|
|
44
|
+
this.spinnerMode = 'determinate';
|
|
45
|
+
this.colorStatus = 'primary';
|
|
46
|
+
this._value = 100;
|
|
47
|
+
this.displayValue = null;
|
|
48
|
+
this.toolTipText = '';
|
|
49
|
+
}
|
|
50
|
+
_updateSpinner() {
|
|
51
|
+
let uplMsg;
|
|
52
|
+
if (this._awaitNewUpload || this._value === 0) {
|
|
53
|
+
this.spinnerMode = 'indeterminate';
|
|
54
|
+
this.displayValue = ' ';
|
|
55
|
+
uplMsg = 'Preparing upload.';
|
|
56
|
+
}
|
|
57
|
+
else {
|
|
58
|
+
this.spinnerMode = 'determinate';
|
|
59
|
+
this.displayValue = this._value + '%';
|
|
60
|
+
if (this._value === 100) {
|
|
61
|
+
uplMsg = 'Upload complete';
|
|
62
|
+
}
|
|
63
|
+
else {
|
|
64
|
+
uplMsg = 'Upload progress: ' + this.displayValue;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
if (this.status === 'warn') {
|
|
68
|
+
uplMsg = 'Upload error occurred. Please check your network connection. ' + uplMsg;
|
|
69
|
+
}
|
|
70
|
+
this.toolTipText = uplMsg;
|
|
71
|
+
}
|
|
72
|
+
set value(value) {
|
|
73
|
+
this._value = value;
|
|
74
|
+
this._updateSpinner();
|
|
75
|
+
}
|
|
76
|
+
;
|
|
77
|
+
set awaitNewUpload(awaitNewUpload) {
|
|
78
|
+
this._awaitNewUpload = awaitNewUpload;
|
|
79
|
+
this._updateSpinner();
|
|
80
|
+
}
|
|
81
|
+
set status(status) {
|
|
82
|
+
this._status = status;
|
|
83
|
+
if ('accent' === status) {
|
|
84
|
+
this.colorStatus = 'accent';
|
|
85
|
+
}
|
|
86
|
+
else if ('warn' === status) {
|
|
87
|
+
this.colorStatus = 'warn';
|
|
88
|
+
}
|
|
89
|
+
else {
|
|
90
|
+
this.colorStatus = 'primary';
|
|
91
|
+
}
|
|
92
|
+
this._updateSpinner();
|
|
93
|
+
}
|
|
94
|
+
get status() {
|
|
95
|
+
return this._status;
|
|
96
|
+
}
|
|
97
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: UploadStatus, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
98
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.6", type: UploadStatus, selector: "app-uploadstatus", inputs: { value: "value", awaitNewUpload: "awaitNewUpload", status: "status" }, ngImport: i0, template: `
|
|
99
|
+
<mat-progress-spinner [mode]="spinnerMode" [color]="colorStatus" [diameter]="30" [strokeWidth]="5" [value]="_value"
|
|
100
|
+
[matTooltip]="toolTipText"></mat-progress-spinner>
|
|
101
|
+
`, isInline: true, styles: [":host{text-align:left}\n", "mat-progress-spinner{display:inline-block}\n"], dependencies: [{ kind: "component", type: i3.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "directive", type: i4.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }] }); }
|
|
102
|
+
}
|
|
103
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: UploadStatus, decorators: [{
|
|
104
|
+
type: Component,
|
|
105
|
+
args: [{ selector: 'app-uploadstatus', template: `
|
|
106
|
+
<mat-progress-spinner [mode]="spinnerMode" [color]="colorStatus" [diameter]="30" [strokeWidth]="5" [value]="_value"
|
|
107
|
+
[matTooltip]="toolTipText"></mat-progress-spinner>
|
|
108
|
+
`, styles: [":host{text-align:left}\n", "mat-progress-spinner{display:inline-block}\n"] }]
|
|
109
|
+
}], propDecorators: { value: [{
|
|
110
|
+
type: Input
|
|
111
|
+
}], awaitNewUpload: [{
|
|
112
|
+
type: Input
|
|
113
|
+
}], status: [{
|
|
114
|
+
type: Input
|
|
115
|
+
}] } });
|
|
116
|
+
export class ProgressDisplay {
|
|
117
|
+
constructor() {
|
|
118
|
+
this.progressMsg = '[itemcode]';
|
|
119
|
+
}
|
|
120
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: ProgressDisplay, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
121
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.6", type: ProgressDisplay, selector: "app-sprprogressdisplay", ngImport: i0, template: `
|
|
122
|
+
<p>{{progressMsg}}</p>
|
|
123
|
+
`, isInline: true, styles: [":host{flex:1;width:100%;text-align:left}\n"] }); }
|
|
124
|
+
}
|
|
125
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: ProgressDisplay, decorators: [{
|
|
126
|
+
type: Component,
|
|
127
|
+
args: [{ selector: 'app-sprprogressdisplay', template: `
|
|
128
|
+
<p>{{progressMsg}}</p>
|
|
129
|
+
`, styles: [":host{flex:1;width:100%;text-align:left}\n"] }]
|
|
130
|
+
}] });
|
|
131
|
+
export class TransportActions {
|
|
132
|
+
constructor() {
|
|
133
|
+
this.startAction = new Action('Start');
|
|
134
|
+
this.stopAction = new Action('Stop');
|
|
135
|
+
this.nextAction = new Action('Next');
|
|
136
|
+
this.pauseAction = new Action('Pause');
|
|
137
|
+
this.fwdNextAction = new Action('Next recording');
|
|
138
|
+
this.fwdAction = new Action('Forward');
|
|
139
|
+
this.bwdAction = new Action('Backward');
|
|
140
|
+
this.stopNonrecordingAction = new Action('Next');
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
export class TransportPanel extends ResponsiveComponent {
|
|
144
|
+
constructor(breakpointObserver) {
|
|
145
|
+
super(breakpointObserver);
|
|
146
|
+
this.navigationEnabled = true;
|
|
147
|
+
this.pausingEnabled = true;
|
|
148
|
+
}
|
|
149
|
+
startDisabled() {
|
|
150
|
+
return !this.actions || this.readonly || this.actions.startAction.disabled;
|
|
151
|
+
}
|
|
152
|
+
stopDisabled() {
|
|
153
|
+
return !this.actions || this.actions.stopAction.disabled;
|
|
154
|
+
}
|
|
155
|
+
nextDisabled() {
|
|
156
|
+
return !this.actions || this.actions.nextAction.disabled || !this.navigationEnabled;
|
|
157
|
+
}
|
|
158
|
+
stopNonrecordingDisabled() {
|
|
159
|
+
return !this.actions || this.actions.stopNonrecordingAction.disabled || !this.navigationEnabled;
|
|
160
|
+
}
|
|
161
|
+
pauseDisabled() {
|
|
162
|
+
return !this.actions || this.actions.pauseAction.disabled || !this.pausingEnabled;
|
|
163
|
+
}
|
|
164
|
+
fwdDisabled() {
|
|
165
|
+
return !this.actions || this.actions.fwdAction.disabled || !this.navigationEnabled;
|
|
166
|
+
}
|
|
167
|
+
fwdNextDisabled() {
|
|
168
|
+
return !this.actions || this.actions.fwdNextAction.disabled || !this.navigationEnabled;
|
|
169
|
+
}
|
|
170
|
+
bwdDisabled() {
|
|
171
|
+
return !this.actions || this.actions.bwdAction.disabled || !this.navigationEnabled;
|
|
172
|
+
}
|
|
173
|
+
startStopNextName() {
|
|
174
|
+
if (!this.nextDisabled() || !this.stopNonrecordingDisabled()) {
|
|
175
|
+
this.startStopNextButtonName = "Next";
|
|
176
|
+
}
|
|
177
|
+
else if (!this.startDisabled()) {
|
|
178
|
+
this.startStopNextButtonName = "Start";
|
|
179
|
+
}
|
|
180
|
+
else if (!this.stopDisabled()) {
|
|
181
|
+
this.startStopNextButtonName = "Stop";
|
|
182
|
+
}
|
|
183
|
+
return this.startStopNextButtonName;
|
|
184
|
+
}
|
|
185
|
+
startStopNextIconName() {
|
|
186
|
+
if (!this.startDisabled()) {
|
|
187
|
+
this.startStopNextButtonIconName = "fiber_manual_record";
|
|
188
|
+
}
|
|
189
|
+
else if (!this.stopDisabled() || !this.stopNonrecordingDisabled()) {
|
|
190
|
+
this.startStopNextButtonIconName = "stop";
|
|
191
|
+
}
|
|
192
|
+
else if (!this.nextDisabled()) {
|
|
193
|
+
this.startStopNextButtonIconName = "stop";
|
|
194
|
+
}
|
|
195
|
+
return this.startStopNextButtonIconName;
|
|
196
|
+
}
|
|
197
|
+
startStopNextIconColor() {
|
|
198
|
+
if (!this.startDisabled()) {
|
|
199
|
+
return "red";
|
|
200
|
+
}
|
|
201
|
+
else if (!this.stopDisabled() || !this.nextDisabled()) {
|
|
202
|
+
return "yellow";
|
|
203
|
+
}
|
|
204
|
+
else {
|
|
205
|
+
return "grey";
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
startStopNextPerform() {
|
|
209
|
+
if (!this.startDisabled()) {
|
|
210
|
+
this.actions.startAction.perform();
|
|
211
|
+
}
|
|
212
|
+
else if (!this.stopDisabled()) {
|
|
213
|
+
this.actions.stopAction.perform();
|
|
214
|
+
}
|
|
215
|
+
else if (!this.nextDisabled()) {
|
|
216
|
+
this.actions.nextAction.perform();
|
|
217
|
+
}
|
|
218
|
+
else if (!this.stopNonrecordingDisabled()) {
|
|
219
|
+
this.actions.stopNonrecordingAction.perform();
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: TransportPanel, deps: [{ token: i5.BreakpointObserver }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
223
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.6", type: TransportPanel, selector: "app-sprtransport", inputs: { readonly: "readonly", actions: "actions", navigationEnabled: "navigationEnabled", pausingEnabled: "pausingEnabled" }, usesInheritance: true, ngImport: i0, template: `
|
|
224
|
+
<button id="bwdBtn" *ngIf="navigationEnabled" (click)="actions.bwdAction.perform()" [disabled]="bwdDisabled()"
|
|
225
|
+
mat-raised-button class="transport-button-icon">
|
|
226
|
+
<span><mat-icon>chevron_left</mat-icon></span>
|
|
227
|
+
</button>
|
|
228
|
+
<button (click)="startStopNextPerform()" [disabled]="startDisabled() && stopDisabled() && nextDisabled() && stopNonrecordingDisabled()" mat-raised-button class="transport-button-icon">
|
|
229
|
+
<span><mat-icon class="transport-button-icon" [style.color]="startStopNextIconColor()">{{startStopNextIconName()}}</mat-icon><mat-icon class="transport-button-icon" *ngIf="!nextDisabled() || !stopNonrecordingDisabled()" [style.color]="nextDisabled() ? 'grey' : 'black'">chevron_right</mat-icon></span>
|
|
230
|
+
<span *ngIf="!screenXs" class="transport-button-text">{{startStopNextName()}}</span>
|
|
231
|
+
</button>
|
|
232
|
+
<button *ngIf="pausingEnabled" (click)="actions.pauseAction.perform()" [disabled]="pauseDisabled()" mat-raised-button class="transport-button-icon">
|
|
233
|
+
<span><mat-icon class="transport-button-icon">pause</mat-icon></span>
|
|
234
|
+
<span *ngIf="!screenXs" class="transport-button-text">Pause</span>
|
|
235
|
+
</button>
|
|
236
|
+
<button id="fwdNextBtn" *ngIf="navigationEnabled && !screenXs" (click)="actions.fwdNextAction.perform()" [disabled]="fwdNextDisabled()" mat-raised-button class="transport-button-icon">
|
|
237
|
+
<span><mat-icon>redo</mat-icon></span>
|
|
238
|
+
</button>
|
|
239
|
+
<button id="fwdBtn" *ngIf="navigationEnabled" (click)="actions.fwdAction.perform()" [disabled]="fwdDisabled()" mat-raised-button class="transport-button-icon">
|
|
240
|
+
<span><mat-icon>chevron_right</mat-icon></span>
|
|
241
|
+
</button>
|
|
242
|
+
|
|
243
|
+
`, 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", ".transport-button-icon{font-size:24px;vertical-align:middle;overflow:hidden;text-overflow:clip;white-space:nowrap}\n", ".transport-button-text{font-size:14px;letter-spacing:normal;vertical-align:baseline}\n"], dependencies: [{ kind: "directive", type: i1.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: i6.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }] }); }
|
|
244
|
+
}
|
|
245
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: TransportPanel, decorators: [{
|
|
246
|
+
type: Component,
|
|
247
|
+
args: [{ selector: 'app-sprtransport', template: `
|
|
248
|
+
<button id="bwdBtn" *ngIf="navigationEnabled" (click)="actions.bwdAction.perform()" [disabled]="bwdDisabled()"
|
|
249
|
+
mat-raised-button class="transport-button-icon">
|
|
250
|
+
<span><mat-icon>chevron_left</mat-icon></span>
|
|
251
|
+
</button>
|
|
252
|
+
<button (click)="startStopNextPerform()" [disabled]="startDisabled() && stopDisabled() && nextDisabled() && stopNonrecordingDisabled()" mat-raised-button class="transport-button-icon">
|
|
253
|
+
<span><mat-icon class="transport-button-icon" [style.color]="startStopNextIconColor()">{{startStopNextIconName()}}</mat-icon><mat-icon class="transport-button-icon" *ngIf="!nextDisabled() || !stopNonrecordingDisabled()" [style.color]="nextDisabled() ? 'grey' : 'black'">chevron_right</mat-icon></span>
|
|
254
|
+
<span *ngIf="!screenXs" class="transport-button-text">{{startStopNextName()}}</span>
|
|
255
|
+
</button>
|
|
256
|
+
<button *ngIf="pausingEnabled" (click)="actions.pauseAction.perform()" [disabled]="pauseDisabled()" mat-raised-button class="transport-button-icon">
|
|
257
|
+
<span><mat-icon class="transport-button-icon">pause</mat-icon></span>
|
|
258
|
+
<span *ngIf="!screenXs" class="transport-button-text">Pause</span>
|
|
259
|
+
</button>
|
|
260
|
+
<button id="fwdNextBtn" *ngIf="navigationEnabled && !screenXs" (click)="actions.fwdNextAction.perform()" [disabled]="fwdNextDisabled()" mat-raised-button class="transport-button-icon">
|
|
261
|
+
<span><mat-icon>redo</mat-icon></span>
|
|
262
|
+
</button>
|
|
263
|
+
<button id="fwdBtn" *ngIf="navigationEnabled" (click)="actions.fwdAction.perform()" [disabled]="fwdDisabled()" mat-raised-button class="transport-button-icon">
|
|
264
|
+
<span><mat-icon>chevron_right</mat-icon></span>
|
|
265
|
+
</button>
|
|
266
|
+
|
|
267
|
+
`, 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", ".transport-button-icon{font-size:24px;vertical-align:middle;overflow:hidden;text-overflow:clip;white-space:nowrap}\n", ".transport-button-text{font-size:14px;letter-spacing:normal;vertical-align:baseline}\n"] }]
|
|
268
|
+
}], ctorParameters: () => [{ type: i5.BreakpointObserver }], propDecorators: { readonly: [{
|
|
269
|
+
type: Input
|
|
270
|
+
}], actions: [{
|
|
271
|
+
type: Input
|
|
272
|
+
}], navigationEnabled: [{
|
|
273
|
+
type: Input
|
|
274
|
+
}], pausingEnabled: [{
|
|
275
|
+
type: Input
|
|
276
|
+
}] } });
|
|
277
|
+
export class WakeLockIndicator {
|
|
278
|
+
constructor() {
|
|
279
|
+
this._screenLocked = false;
|
|
280
|
+
}
|
|
281
|
+
set screenLocked(screenLock) {
|
|
282
|
+
this._screenLocked = screenLock;
|
|
283
|
+
}
|
|
284
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: WakeLockIndicator, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
285
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.6", type: WakeLockIndicator, selector: "app-wakelockindicator", inputs: { screenLocked: "screenLocked" }, ngImport: i0, template: `
|
|
286
|
+
<mat-icon *ngIf="_screenLocked">screen_lock_portrait</mat-icon>
|
|
287
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] }); }
|
|
288
|
+
}
|
|
289
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: WakeLockIndicator, decorators: [{
|
|
290
|
+
type: Component,
|
|
291
|
+
args: [{ selector: 'app-wakelockindicator', template: `
|
|
292
|
+
<mat-icon *ngIf="_screenLocked">screen_lock_portrait</mat-icon>
|
|
293
|
+
` }]
|
|
294
|
+
}], ctorParameters: () => [], propDecorators: { screenLocked: [{
|
|
295
|
+
type: Input
|
|
296
|
+
}] } });
|
|
297
|
+
export class ReadyStateIndicator {
|
|
298
|
+
constructor() {
|
|
299
|
+
this._ready = true;
|
|
300
|
+
this.hourGlassIconName = 'hourglass_empty';
|
|
301
|
+
this.readyStateToolTip = '';
|
|
302
|
+
}
|
|
303
|
+
set ready(ready) {
|
|
304
|
+
this._ready = ready;
|
|
305
|
+
this.hourGlassIconName = this._ready ? 'hourglass_empty' : 'hourglass_full';
|
|
306
|
+
this.readyStateToolTip = this._ready ? 'Audio processing and upload done. You can leave the page without data loss.' : 'Please wait until audio processing and upload have finished. Please do not leave the page.';
|
|
307
|
+
}
|
|
308
|
+
get ready() {
|
|
309
|
+
return this._ready;
|
|
310
|
+
}
|
|
311
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: ReadyStateIndicator, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
312
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.6", type: ReadyStateIndicator, selector: "app-readystateindicator", inputs: { ready: "ready" }, ngImport: i0, template: `
|
|
313
|
+
<mat-icon [matTooltip]="readyStateToolTip">{{hourGlassIconName}}</mat-icon>
|
|
314
|
+
`, 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]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }] }); }
|
|
315
|
+
}
|
|
316
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: ReadyStateIndicator, decorators: [{
|
|
317
|
+
type: Component,
|
|
318
|
+
args: [{ selector: 'app-readystateindicator', template: `
|
|
319
|
+
<mat-icon [matTooltip]="readyStateToolTip">{{hourGlassIconName}}</mat-icon>
|
|
320
|
+
` }]
|
|
321
|
+
}], ctorParameters: () => [], propDecorators: { ready: [{
|
|
322
|
+
type: Input
|
|
323
|
+
}] } });
|
|
324
|
+
export class ControlPanel extends ResponsiveComponent {
|
|
325
|
+
constructor(bpo, dialog) {
|
|
326
|
+
super(bpo);
|
|
327
|
+
this.bpo = bpo;
|
|
328
|
+
this.dialog = dialog;
|
|
329
|
+
this.processing = false;
|
|
330
|
+
this.navigationEnabled = true;
|
|
331
|
+
this._ready = true;
|
|
332
|
+
}
|
|
333
|
+
set ready(ready) {
|
|
334
|
+
this._ready = ready;
|
|
335
|
+
}
|
|
336
|
+
get ready() {
|
|
337
|
+
return this._ready;
|
|
338
|
+
}
|
|
339
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: ControlPanel, deps: [{ token: i5.BreakpointObserver }, { token: i7.MatDialog }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
340
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.6", 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: `
|
|
341
|
+
<div *ngIf="!screenXs" style="flex-direction: row" >
|
|
342
|
+
<app-sprstatusdisplay style="flex:0 0 0" [statusMsg]="statusMsg" [statusAlertType]="statusAlertType" [statusWaiting]="statusWaiting"
|
|
343
|
+
class="hidden-xs"></app-sprstatusdisplay>
|
|
344
|
+
<app-sprtransport style="flex:10 0 0" [readonly]="readonly" [actions]="transportActions" [navigationEnabled]="navigationEnabled"></app-sprtransport>
|
|
345
|
+
<app-uploadstatus style="flex:0 0 0" *ngIf="enableUploadRecordings" [value]="uploadProgress"
|
|
346
|
+
[status]="uploadStatus" [awaitNewUpload]="processing"></app-uploadstatus>
|
|
347
|
+
<app-readystateindicator [ready]="_ready"></app-readystateindicator>
|
|
348
|
+
</div>
|
|
349
|
+
<div *ngIf="screenXs" style="flex-direction: column">
|
|
350
|
+
<div style="flex-direction: row" class="flexFill" >
|
|
351
|
+
<app-sprstatusdisplay style="flex:10 0 0" [statusMsg]="statusMsg" [statusAlertType]="statusAlertType" [statusWaiting]="statusWaiting"
|
|
352
|
+
class="hidden-xs"></app-sprstatusdisplay>
|
|
353
|
+
<app-uploadstatus style="flex:0 0 0" *ngIf="enableUploadRecordings" [value]="uploadProgress"
|
|
354
|
+
[status]="uploadStatus" [awaitNewUpload]="processing"></app-uploadstatus>
|
|
355
|
+
<app-readystateindicator [ready]="_ready"></app-readystateindicator>
|
|
356
|
+
</div>
|
|
357
|
+
<app-sprtransport [readonly]="readonly" [actions]="transportActions" [navigationEnabled]="navigationEnabled"></app-sprtransport>
|
|
358
|
+
|
|
359
|
+
</div>
|
|
360
|
+
`, isInline: true, styles: ["div{align-content:center;align-items:center;margin:0;padding:20px;min-height:min-content}\n"], dependencies: [{ kind: "directive", type: i1.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"] }] }); }
|
|
361
|
+
}
|
|
362
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: ControlPanel, decorators: [{
|
|
363
|
+
type: Component,
|
|
364
|
+
args: [{ selector: 'app-sprcontrolpanel', template: `
|
|
365
|
+
<div *ngIf="!screenXs" style="flex-direction: row" >
|
|
366
|
+
<app-sprstatusdisplay style="flex:0 0 0" [statusMsg]="statusMsg" [statusAlertType]="statusAlertType" [statusWaiting]="statusWaiting"
|
|
367
|
+
class="hidden-xs"></app-sprstatusdisplay>
|
|
368
|
+
<app-sprtransport style="flex:10 0 0" [readonly]="readonly" [actions]="transportActions" [navigationEnabled]="navigationEnabled"></app-sprtransport>
|
|
369
|
+
<app-uploadstatus style="flex:0 0 0" *ngIf="enableUploadRecordings" [value]="uploadProgress"
|
|
370
|
+
[status]="uploadStatus" [awaitNewUpload]="processing"></app-uploadstatus>
|
|
371
|
+
<app-readystateindicator [ready]="_ready"></app-readystateindicator>
|
|
372
|
+
</div>
|
|
373
|
+
<div *ngIf="screenXs" style="flex-direction: column">
|
|
374
|
+
<div style="flex-direction: row" class="flexFill" >
|
|
375
|
+
<app-sprstatusdisplay style="flex:10 0 0" [statusMsg]="statusMsg" [statusAlertType]="statusAlertType" [statusWaiting]="statusWaiting"
|
|
376
|
+
class="hidden-xs"></app-sprstatusdisplay>
|
|
377
|
+
<app-uploadstatus style="flex:0 0 0" *ngIf="enableUploadRecordings" [value]="uploadProgress"
|
|
378
|
+
[status]="uploadStatus" [awaitNewUpload]="processing"></app-uploadstatus>
|
|
379
|
+
<app-readystateindicator [ready]="_ready"></app-readystateindicator>
|
|
380
|
+
</div>
|
|
381
|
+
<app-sprtransport [readonly]="readonly" [actions]="transportActions" [navigationEnabled]="navigationEnabled"></app-sprtransport>
|
|
382
|
+
|
|
383
|
+
</div>
|
|
384
|
+
`, styles: ["div{align-content:center;align-items:center;margin:0;padding:20px;min-height:min-content}\n"] }]
|
|
385
|
+
}], ctorParameters: () => [{ type: i5.BreakpointObserver }, { type: i7.MatDialog }], propDecorators: { statusDisplay: [{
|
|
386
|
+
type: ViewChild,
|
|
387
|
+
args: [StatusDisplay, { static: true }]
|
|
388
|
+
}], transportPanel: [{
|
|
389
|
+
type: ViewChild,
|
|
390
|
+
args: [TransportPanel, { static: true }]
|
|
391
|
+
}], readonly: [{
|
|
392
|
+
type: Input
|
|
393
|
+
}], transportActions: [{
|
|
394
|
+
type: Input
|
|
395
|
+
}], processing: [{
|
|
396
|
+
type: Input
|
|
397
|
+
}], statusMsg: [{
|
|
398
|
+
type: Input
|
|
399
|
+
}], statusAlertType: [{
|
|
400
|
+
type: Input
|
|
401
|
+
}], statusWaiting: [{
|
|
402
|
+
type: Input
|
|
403
|
+
}], uploadStatus: [{
|
|
404
|
+
type: Input
|
|
405
|
+
}], uploadProgress: [{
|
|
406
|
+
type: Input
|
|
407
|
+
}], currentRecording: [{
|
|
408
|
+
type: Input
|
|
409
|
+
}], enableUploadRecordings: [{
|
|
410
|
+
type: Input
|
|
411
|
+
}], navigationEnabled: [{
|
|
412
|
+
type: Input
|
|
413
|
+
}], ready: [{
|
|
414
|
+
type: Input
|
|
415
|
+
}] }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ZpbmVkO1xyXG4gIEBJbnB1dCgpIGVuYWJsZVVwbG9hZFJlY29yZGluZ3MhOiBib29sZWFuO1xyXG4gIEBJbnB1dCgpIG5hdmlnYXRpb25FbmFibGVkPXRydWU7XHJcblxyXG4gIF9yZWFkeT10cnVlXHJcblxyXG4gIGNvbnN0cnVjdG9yKHByb3RlY3RlZCBicG86QnJlYWtwb2ludE9ic2VydmVyLHB1YmxpYyBkaWFsb2c6IE1hdERpYWxvZykge1xyXG4gICAgc3VwZXIoYnBvKTtcclxuICB9XHJcblxyXG4gIEBJbnB1dCgpIHNldCByZWFkeShyZWFkeTpib29sZWFuKXtcclxuICAgIHRoaXMuX3JlYWR5PXJlYWR5XHJcbiAgfVxyXG5cclxuICBnZXQgcmVhZHkoKTpib29sZWFue1xyXG4gICAgcmV0dXJuIHRoaXMuX3JlYWR5XHJcbiAgfVxyXG5cclxufVxyXG5cclxuXHJcbiJdfQ==
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
export class Item {
|
|
2
|
-
constructor(_promptAsString, _training, _recording) {
|
|
3
|
-
this._promptAsString = _promptAsString;
|
|
4
|
-
this._training = _training;
|
|
5
|
-
this._recording = _recording;
|
|
6
|
-
this.recs = null;
|
|
7
|
-
}
|
|
8
|
-
itemDone() {
|
|
9
|
-
let done = false;
|
|
10
|
-
if (this.recs) {
|
|
11
|
-
for (let rf of this.recs) {
|
|
12
|
-
if (rf.recordingFileDone()) {
|
|
13
|
-
done = true;
|
|
14
|
-
break;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
return done;
|
|
19
|
-
}
|
|
20
|
-
get promptAsString() {
|
|
21
|
-
return this._promptAsString;
|
|
22
|
-
}
|
|
23
|
-
get training() {
|
|
24
|
-
return this._training;
|
|
25
|
-
}
|
|
26
|
-
get recording() {
|
|
27
|
-
return this._recording;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
1
|
+
export class Item {
|
|
2
|
+
constructor(_promptAsString, _training, _recording) {
|
|
3
|
+
this._promptAsString = _promptAsString;
|
|
4
|
+
this._training = _training;
|
|
5
|
+
this._recording = _recording;
|
|
6
|
+
this.recs = null;
|
|
7
|
+
}
|
|
8
|
+
itemDone() {
|
|
9
|
+
let done = false;
|
|
10
|
+
if (this.recs) {
|
|
11
|
+
for (let rf of this.recs) {
|
|
12
|
+
if (rf.recordingFileDone()) {
|
|
13
|
+
done = true;
|
|
14
|
+
break;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
return done;
|
|
19
|
+
}
|
|
20
|
+
get promptAsString() {
|
|
21
|
+
return this._promptAsString;
|
|
22
|
+
}
|
|
23
|
+
get training() {
|
|
24
|
+
return this._training;
|
|
25
|
+
}
|
|
26
|
+
get recording() {
|
|
27
|
+
return this._recording;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
30
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXRlbS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3NwZWVjaHJlY29yZGVybmcvc3JjL2xpYi9zcGVlY2hyZWNvcmRlci9zZXNzaW9uL2l0ZW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTSxPQUFPLElBQUk7SUFHYixZQUFvQixlQUF1QixFQUFVLFNBQWtCLEVBQVMsVUFBa0I7UUFBOUUsb0JBQWUsR0FBZixlQUFlLENBQVE7UUFBVSxjQUFTLEdBQVQsU0FBUyxDQUFTO1FBQVMsZUFBVSxHQUFWLFVBQVUsQ0FBUTtRQUM5RixJQUFJLENBQUMsSUFBSSxHQUFHLElBQUksQ0FBQztJQUNyQixDQUFDO0lBRUQsUUFBUTtRQUNOLElBQUksSUFBSSxHQUFDLEtBQUssQ0FBQztRQUNmLElBQUcsSUFBSSxDQUFDLElBQUksRUFBQztZQUNYLEtBQUksSUFBSS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