speechrecorderng 3.4.1 → 3.4.3
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/speechrecorder/session/audiorecorder.mjs +17 -21
- package/esm2020/lib/speechrecorder/session/basicrecorder.mjs +2 -1
- package/esm2020/lib/speechrecorder/session/controlpanel.mjs +3 -3
- package/esm2020/lib/spr.module.version.mjs +2 -2
- package/fesm2015/speechrecorderng.mjs +20 -23
- package/fesm2015/speechrecorderng.mjs.map +1 -1
- package/fesm2020/speechrecorderng.mjs +20 -23
- package/fesm2020/speechrecorderng.mjs.map +1 -1
- package/lib/spr.module.version.d.ts +1 -1
- package/package.json +12 -12
|
@@ -10619,12 +10619,12 @@ class UploadStatus {
|
|
|
10619
10619
|
UploadStatus.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: UploadStatus, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10620
10620
|
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: `
|
|
10621
10621
|
<mat-progress-spinner [mode]="spinnerMode" [color]="status" [diameter]="30" [strokeWidth]="5" [value]="_value" [matTooltip]="toolTipText"></mat-progress-spinner>
|
|
10622
|
-
`, isInline: true, styles: [":host{
|
|
10622
|
+
`, isInline: true, styles: [":host{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"] }] });
|
|
10623
10623
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: UploadStatus, decorators: [{
|
|
10624
10624
|
type: Component,
|
|
10625
10625
|
args: [{ selector: 'app-uploadstatus', template: `
|
|
10626
10626
|
<mat-progress-spinner [mode]="spinnerMode" [color]="status" [diameter]="30" [strokeWidth]="5" [value]="_value" [matTooltip]="toolTipText"></mat-progress-spinner>
|
|
10627
|
-
`, styles: [":host{
|
|
10627
|
+
`, styles: [":host{text-align:left}\n", "mat-progress-spinner{display:inline-block}\n"] }]
|
|
10628
10628
|
}], propDecorators: { value: [{
|
|
10629
10629
|
type: Input
|
|
10630
10630
|
}], awaitNewUpload: [{
|
|
@@ -12411,6 +12411,7 @@ let BasicRecorder = class BasicRecorder extends ResponsiveComponent {
|
|
|
12411
12411
|
}
|
|
12412
12412
|
});
|
|
12413
12413
|
}
|
|
12414
|
+
this.statusMsg = 'Ready.';
|
|
12414
12415
|
}
|
|
12415
12416
|
startItem() {
|
|
12416
12417
|
this.rfUuid = UUID.generate();
|
|
@@ -17218,8 +17219,8 @@ AudioRecorder.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version:
|
|
|
17218
17219
|
<div [class]="{audioStatusDisplay:!screenXs,audioStatusDisplayXs:screenXs}">
|
|
17219
17220
|
<audio-levelbar style="flex:1 0 1%" [streamingMode]="isRecording() || keepLiveLevel" [state]="liveLevelDisplayState"
|
|
17220
17221
|
[displayLevelInfos]="displayAudioClip?.levelInfos"></audio-levelbar>
|
|
17221
|
-
<div style="flex-direction: row">
|
|
17222
|
-
<spr-recordingitemcontrols style="flex:10 0
|
|
17222
|
+
<div style="display:flex;flex-direction: row">
|
|
17223
|
+
<spr-recordingitemcontrols style="flex:10 0 1px"
|
|
17223
17224
|
[disableAudioDetails]="disableAudioDetails"
|
|
17224
17225
|
[audioLoaded]="audioLoaded"
|
|
17225
17226
|
[playStartAction]="controlAudioPlayer?.startAction"
|
|
@@ -17238,10 +17239,10 @@ AudioRecorder.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version:
|
|
|
17238
17239
|
</div>
|
|
17239
17240
|
</div>
|
|
17240
17241
|
<div #controlpanel class="controlpanel">
|
|
17241
|
-
<app-sprstatusdisplay *ngIf="!screenXs" style="flex:0
|
|
17242
|
+
<app-sprstatusdisplay *ngIf="!screenXs" style="flex:0 1 30%;" [statusMsg]="statusMsg" [statusAlertType]="statusAlertType"
|
|
17242
17243
|
[statusWaiting]="statusWaiting"
|
|
17243
17244
|
class="hidden-xs"></app-sprstatusdisplay>
|
|
17244
|
-
<div
|
|
17245
|
+
<div [class.startstop]="!screenXs" [class.startstopscreenxs]="screenXs">
|
|
17245
17246
|
<div style="align-content: center">
|
|
17246
17247
|
<button (click)="startStopPerform()" [disabled]="startDisabled() && stopDisabled()" mat-raised-button class="bigbutton">
|
|
17247
17248
|
<mat-icon [style.color]="startStopNextIconColor()" inline="true">{{startStopNextIconName()}}</mat-icon>
|
|
@@ -17249,18 +17250,16 @@ AudioRecorder.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version:
|
|
|
17249
17250
|
</button>
|
|
17250
17251
|
</div>
|
|
17251
17252
|
</div>
|
|
17252
|
-
<div style="flex:0
|
|
17253
|
-
<
|
|
17254
|
-
|
|
17255
|
-
<app-uploadstatus *ngIf="!screenXs && enableUploadRecordings" class="ricontrols" style="flex:0 0 0"
|
|
17253
|
+
<div style="flex:0 1 30%;display:flex;justify-items: flex-end;justify-content:flex-end" >
|
|
17254
|
+
<app-uploadstatus *ngIf="!screenXs && enableUploadRecordings" class="ricontrols"
|
|
17256
17255
|
[value]="uploadProgress"
|
|
17257
17256
|
[status]="uploadStatus" [awaitNewUpload]="processingRecording"></app-uploadstatus>
|
|
17258
17257
|
<app-wakelockindicator *ngIf="!screenXs" class="ricontrols" [screenLocked]="screenLocked"></app-wakelockindicator>
|
|
17259
|
-
<app-readystateindicator
|
|
17258
|
+
<app-readystateindicator *ngIf="!screenXs" class="ricontrols"
|
|
17260
17259
|
[ready]="dataSaved && !isActive()"></app-readystateindicator>
|
|
17261
17260
|
</div>
|
|
17262
17261
|
</div>
|
|
17263
|
-
`, 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
|
|
17262
|
+
`, 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%;flex:1 0 30%;align-items:center;text-align:center;align-content:center}\n", ".startstopscreenxs{width:100%;flex:1 0 100%;align-items:center;text-align:center;align-content: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", "state"] }, { kind: "component", type: StatusDisplay, selector: "app-sprstatusdisplay", inputs: ["statusAlertType", "statusMsg", "statusWaiting"] }, { kind: "component", type: RecordingItemControls, selector: "spr-recordingitemcontrols", inputs: ["audioSignalCollapsed", "enableDownload", "peakDbLvl", "agc", "disableAudioDetails", "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"] }] });
|
|
17264
17263
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AudioRecorder, decorators: [{
|
|
17265
17264
|
type: Component,
|
|
17266
17265
|
args: [{ selector: 'app-audiorecorder', providers: [SessionService], template: `
|
|
@@ -17281,8 +17280,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
17281
17280
|
<div [class]="{audioStatusDisplay:!screenXs,audioStatusDisplayXs:screenXs}">
|
|
17282
17281
|
<audio-levelbar style="flex:1 0 1%" [streamingMode]="isRecording() || keepLiveLevel" [state]="liveLevelDisplayState"
|
|
17283
17282
|
[displayLevelInfos]="displayAudioClip?.levelInfos"></audio-levelbar>
|
|
17284
|
-
<div style="flex-direction: row">
|
|
17285
|
-
<spr-recordingitemcontrols style="flex:10 0
|
|
17283
|
+
<div style="display:flex;flex-direction: row">
|
|
17284
|
+
<spr-recordingitemcontrols style="flex:10 0 1px"
|
|
17286
17285
|
[disableAudioDetails]="disableAudioDetails"
|
|
17287
17286
|
[audioLoaded]="audioLoaded"
|
|
17288
17287
|
[playStartAction]="controlAudioPlayer?.startAction"
|
|
@@ -17301,10 +17300,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
17301
17300
|
</div>
|
|
17302
17301
|
</div>
|
|
17303
17302
|
<div #controlpanel class="controlpanel">
|
|
17304
|
-
<app-sprstatusdisplay *ngIf="!screenXs" style="flex:0
|
|
17303
|
+
<app-sprstatusdisplay *ngIf="!screenXs" style="flex:0 1 30%;" [statusMsg]="statusMsg" [statusAlertType]="statusAlertType"
|
|
17305
17304
|
[statusWaiting]="statusWaiting"
|
|
17306
17305
|
class="hidden-xs"></app-sprstatusdisplay>
|
|
17307
|
-
<div
|
|
17306
|
+
<div [class.startstop]="!screenXs" [class.startstopscreenxs]="screenXs">
|
|
17308
17307
|
<div style="align-content: center">
|
|
17309
17308
|
<button (click)="startStopPerform()" [disabled]="startDisabled() && stopDisabled()" mat-raised-button class="bigbutton">
|
|
17310
17309
|
<mat-icon [style.color]="startStopNextIconColor()" inline="true">{{startStopNextIconName()}}</mat-icon>
|
|
@@ -17312,18 +17311,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
17312
17311
|
</button>
|
|
17313
17312
|
</div>
|
|
17314
17313
|
</div>
|
|
17315
|
-
<div style="flex:0
|
|
17316
|
-
<
|
|
17317
|
-
|
|
17318
|
-
<app-uploadstatus *ngIf="!screenXs && enableUploadRecordings" class="ricontrols" style="flex:0 0 0"
|
|
17314
|
+
<div style="flex:0 1 30%;display:flex;justify-items: flex-end;justify-content:flex-end" >
|
|
17315
|
+
<app-uploadstatus *ngIf="!screenXs && enableUploadRecordings" class="ricontrols"
|
|
17319
17316
|
[value]="uploadProgress"
|
|
17320
17317
|
[status]="uploadStatus" [awaitNewUpload]="processingRecording"></app-uploadstatus>
|
|
17321
17318
|
<app-wakelockindicator *ngIf="!screenXs" class="ricontrols" [screenLocked]="screenLocked"></app-wakelockindicator>
|
|
17322
|
-
<app-readystateindicator
|
|
17319
|
+
<app-readystateindicator *ngIf="!screenXs" class="ricontrols"
|
|
17323
17320
|
[ready]="dataSaved && !isActive()"></app-readystateindicator>
|
|
17324
17321
|
</div>
|
|
17325
17322
|
</div>
|
|
17326
|
-
`, 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
|
|
17323
|
+
`, 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%;flex:1 0 30%;align-items:center;text-align:center;align-content:center}\n", ".startstopscreenxs{width:100%;flex:1 0 100%;align-items:center;text-align:center;align-content: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"] }]
|
|
17327
17324
|
}], ctorParameters: function () { return [{ type: i1$3.BreakpointObserver }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i1$2.ActivatedRoute }, { type: i1$4.MatDialog }, { type: SessionService }, { type: RecordingService }, { type: SpeechRecorderUploader }, { type: SpeechRecorderConfig, decorators: [{
|
|
17328
17325
|
type: Inject,
|
|
17329
17326
|
args: [SPEECHRECORDER_CONFIG]
|
|
@@ -17527,7 +17524,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
17527
17524
|
}]
|
|
17528
17525
|
}] });
|
|
17529
17526
|
|
|
17530
|
-
const VERSION = '3.4.
|
|
17527
|
+
const VERSION = '3.4.3';
|
|
17531
17528
|
|
|
17532
17529
|
/*
|
|
17533
17530
|
* Public API Surface of speechrecorderng
|