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
|
@@ -10647,12 +10647,12 @@ class UploadStatus {
|
|
|
10647
10647
|
UploadStatus.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: UploadStatus, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10648
10648
|
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: `
|
|
10649
10649
|
<mat-progress-spinner [mode]="spinnerMode" [color]="status" [diameter]="30" [strokeWidth]="5" [value]="_value" [matTooltip]="toolTipText"></mat-progress-spinner>
|
|
10650
|
-
`, isInline: true, styles: [":host{
|
|
10650
|
+
`, 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"] }] });
|
|
10651
10651
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: UploadStatus, decorators: [{
|
|
10652
10652
|
type: Component,
|
|
10653
10653
|
args: [{ selector: 'app-uploadstatus', template: `
|
|
10654
10654
|
<mat-progress-spinner [mode]="spinnerMode" [color]="status" [diameter]="30" [strokeWidth]="5" [value]="_value" [matTooltip]="toolTipText"></mat-progress-spinner>
|
|
10655
|
-
`, styles: [":host{
|
|
10655
|
+
`, styles: [":host{text-align:left}\n", "mat-progress-spinner{display:inline-block}\n"] }]
|
|
10656
10656
|
}], propDecorators: { value: [{
|
|
10657
10657
|
type: Input
|
|
10658
10658
|
}], awaitNewUpload: [{
|
|
@@ -12445,6 +12445,7 @@ let BasicRecorder = class BasicRecorder extends ResponsiveComponent {
|
|
|
12445
12445
|
}
|
|
12446
12446
|
});
|
|
12447
12447
|
}
|
|
12448
|
+
this.statusMsg = 'Ready.';
|
|
12448
12449
|
}
|
|
12449
12450
|
startItem() {
|
|
12450
12451
|
this.rfUuid = UUID.generate();
|
|
@@ -17271,8 +17272,8 @@ AudioRecorder.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version:
|
|
|
17271
17272
|
<div [class]="{audioStatusDisplay:!screenXs,audioStatusDisplayXs:screenXs}">
|
|
17272
17273
|
<audio-levelbar style="flex:1 0 1%" [streamingMode]="isRecording() || keepLiveLevel" [state]="liveLevelDisplayState"
|
|
17273
17274
|
[displayLevelInfos]="displayAudioClip?.levelInfos"></audio-levelbar>
|
|
17274
|
-
<div style="flex-direction: row">
|
|
17275
|
-
<spr-recordingitemcontrols style="flex:10 0
|
|
17275
|
+
<div style="display:flex;flex-direction: row">
|
|
17276
|
+
<spr-recordingitemcontrols style="flex:10 0 1px"
|
|
17276
17277
|
[disableAudioDetails]="disableAudioDetails"
|
|
17277
17278
|
[audioLoaded]="audioLoaded"
|
|
17278
17279
|
[playStartAction]="controlAudioPlayer?.startAction"
|
|
@@ -17291,10 +17292,10 @@ AudioRecorder.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version:
|
|
|
17291
17292
|
</div>
|
|
17292
17293
|
</div>
|
|
17293
17294
|
<div #controlpanel class="controlpanel">
|
|
17294
|
-
<app-sprstatusdisplay *ngIf="!screenXs" style="flex:0
|
|
17295
|
+
<app-sprstatusdisplay *ngIf="!screenXs" style="flex:0 1 30%;" [statusMsg]="statusMsg" [statusAlertType]="statusAlertType"
|
|
17295
17296
|
[statusWaiting]="statusWaiting"
|
|
17296
17297
|
class="hidden-xs"></app-sprstatusdisplay>
|
|
17297
|
-
<div
|
|
17298
|
+
<div [class.startstop]="!screenXs" [class.startstopscreenxs]="screenXs">
|
|
17298
17299
|
<div style="align-content: center">
|
|
17299
17300
|
<button (click)="startStopPerform()" [disabled]="startDisabled() && stopDisabled()" mat-raised-button class="bigbutton">
|
|
17300
17301
|
<mat-icon [style.color]="startStopNextIconColor()" inline="true">{{startStopNextIconName()}}</mat-icon>
|
|
@@ -17302,18 +17303,16 @@ AudioRecorder.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version:
|
|
|
17302
17303
|
</button>
|
|
17303
17304
|
</div>
|
|
17304
17305
|
</div>
|
|
17305
|
-
<div style="flex:0
|
|
17306
|
-
<
|
|
17307
|
-
|
|
17308
|
-
<app-uploadstatus *ngIf="!screenXs && enableUploadRecordings" class="ricontrols" style="flex:0 0 0"
|
|
17306
|
+
<div style="flex:0 1 30%;display:flex;justify-items: flex-end;justify-content:flex-end" >
|
|
17307
|
+
<app-uploadstatus *ngIf="!screenXs && enableUploadRecordings" class="ricontrols"
|
|
17309
17308
|
[value]="uploadProgress"
|
|
17310
17309
|
[status]="uploadStatus" [awaitNewUpload]="processingRecording"></app-uploadstatus>
|
|
17311
17310
|
<app-wakelockindicator *ngIf="!screenXs" class="ricontrols" [screenLocked]="screenLocked"></app-wakelockindicator>
|
|
17312
|
-
<app-readystateindicator
|
|
17311
|
+
<app-readystateindicator *ngIf="!screenXs" class="ricontrols"
|
|
17313
17312
|
[ready]="dataSaved && !isActive()"></app-readystateindicator>
|
|
17314
17313
|
</div>
|
|
17315
17314
|
</div>
|
|
17316
|
-
`, 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
|
|
17315
|
+
`, 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"] }] });
|
|
17317
17316
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AudioRecorder, decorators: [{
|
|
17318
17317
|
type: Component,
|
|
17319
17318
|
args: [{ selector: 'app-audiorecorder', providers: [SessionService], template: `
|
|
@@ -17334,8 +17333,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
17334
17333
|
<div [class]="{audioStatusDisplay:!screenXs,audioStatusDisplayXs:screenXs}">
|
|
17335
17334
|
<audio-levelbar style="flex:1 0 1%" [streamingMode]="isRecording() || keepLiveLevel" [state]="liveLevelDisplayState"
|
|
17336
17335
|
[displayLevelInfos]="displayAudioClip?.levelInfos"></audio-levelbar>
|
|
17337
|
-
<div style="flex-direction: row">
|
|
17338
|
-
<spr-recordingitemcontrols style="flex:10 0
|
|
17336
|
+
<div style="display:flex;flex-direction: row">
|
|
17337
|
+
<spr-recordingitemcontrols style="flex:10 0 1px"
|
|
17339
17338
|
[disableAudioDetails]="disableAudioDetails"
|
|
17340
17339
|
[audioLoaded]="audioLoaded"
|
|
17341
17340
|
[playStartAction]="controlAudioPlayer?.startAction"
|
|
@@ -17354,10 +17353,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
17354
17353
|
</div>
|
|
17355
17354
|
</div>
|
|
17356
17355
|
<div #controlpanel class="controlpanel">
|
|
17357
|
-
<app-sprstatusdisplay *ngIf="!screenXs" style="flex:0
|
|
17356
|
+
<app-sprstatusdisplay *ngIf="!screenXs" style="flex:0 1 30%;" [statusMsg]="statusMsg" [statusAlertType]="statusAlertType"
|
|
17358
17357
|
[statusWaiting]="statusWaiting"
|
|
17359
17358
|
class="hidden-xs"></app-sprstatusdisplay>
|
|
17360
|
-
<div
|
|
17359
|
+
<div [class.startstop]="!screenXs" [class.startstopscreenxs]="screenXs">
|
|
17361
17360
|
<div style="align-content: center">
|
|
17362
17361
|
<button (click)="startStopPerform()" [disabled]="startDisabled() && stopDisabled()" mat-raised-button class="bigbutton">
|
|
17363
17362
|
<mat-icon [style.color]="startStopNextIconColor()" inline="true">{{startStopNextIconName()}}</mat-icon>
|
|
@@ -17365,18 +17364,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
17365
17364
|
</button>
|
|
17366
17365
|
</div>
|
|
17367
17366
|
</div>
|
|
17368
|
-
<div style="flex:0
|
|
17369
|
-
<
|
|
17370
|
-
|
|
17371
|
-
<app-uploadstatus *ngIf="!screenXs && enableUploadRecordings" class="ricontrols" style="flex:0 0 0"
|
|
17367
|
+
<div style="flex:0 1 30%;display:flex;justify-items: flex-end;justify-content:flex-end" >
|
|
17368
|
+
<app-uploadstatus *ngIf="!screenXs && enableUploadRecordings" class="ricontrols"
|
|
17372
17369
|
[value]="uploadProgress"
|
|
17373
17370
|
[status]="uploadStatus" [awaitNewUpload]="processingRecording"></app-uploadstatus>
|
|
17374
17371
|
<app-wakelockindicator *ngIf="!screenXs" class="ricontrols" [screenLocked]="screenLocked"></app-wakelockindicator>
|
|
17375
|
-
<app-readystateindicator
|
|
17372
|
+
<app-readystateindicator *ngIf="!screenXs" class="ricontrols"
|
|
17376
17373
|
[ready]="dataSaved && !isActive()"></app-readystateindicator>
|
|
17377
17374
|
</div>
|
|
17378
17375
|
</div>
|
|
17379
|
-
`, 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
|
|
17376
|
+
`, 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"] }]
|
|
17380
17377
|
}], ctorParameters: function () {
|
|
17381
17378
|
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: [{
|
|
17382
17379
|
type: Inject,
|
|
@@ -17582,7 +17579,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
17582
17579
|
}]
|
|
17583
17580
|
}] });
|
|
17584
17581
|
|
|
17585
|
-
const VERSION = '3.4.
|
|
17582
|
+
const VERSION = '3.4.3';
|
|
17586
17583
|
|
|
17587
17584
|
/*
|
|
17588
17585
|
* Public API Surface of speechrecorderng
|