convert-speech-to-text
Advanced tools
Comparing version 0.0.9 to 0.0.10
@@ -119,3 +119,3 @@ (function (global, factory) { | ||
ConvertSpeechToTextComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ConvertSpeechToTextComponent, deps: [{ token: i1__namespace.DynamicScriptInjector }, { token: i0__namespace.NgZone }], target: i0__namespace.ɵɵFactoryTarget.Component }); | ||
ConvertSpeechToTextComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ConvertSpeechToTextComponent, selector: "wav-convert-speech-to-text", inputs: { silent: "silent", startListening: "startListening" }, outputs: { recognized: "recognized", listening: "listening", error: "error" }, usesOnChanges: true, ngImport: i0__namespace, template: "<div *ngIf=\"silent\">\n\n <mat-card style=\"padding: 16px; margin-top: 16px;\">\n\n <div *ngIf=\"voiceActiveSectionDisabled; else voicesection;\">\n <button mat-stroked-button (click)=\"startVoiceRecognition()\">Start Listening</button>\n </div>\n\n <mat-card-content>\n <ng-template #voicesection>\n\n <div *ngIf=\"!voiceActiveSectionError; else failure\">\n\n <div *ngIf=\"voiceActiveSectionListening; else beginning\">\n <h3>Listening...</h3>\n <mat-progress-bar mode=\"indeterminate\"></mat-progress-bar>\n </div>\n\n <ng-template #beginning>\n <h3>Start talking...</h3>\n <mat-progress-bar mode=\"buffer\"></mat-progress-bar>\n </ng-template>\n\n </div>\n\n <ng-template #failure>\n <h3>Didn't catch that</h3>\n </ng-template>\n\n </ng-template>\n\n <h3 style=\"margin-top: 16px;\" *ngIf=\"voiceText\">{{ voiceText }}</h3>\n\n </mat-card-content>\n\n </mat-card>\n\n</div>\n\n", styles: [""], components: [{ type: i2__namespace.MatCard, selector: "mat-card", exportAs: ["matCard"] }, { type: i3__namespace.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"] }, { type: i4__namespace.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "mode", "value", "bufferValue"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }], directives: [{ type: i2__namespace.MatCardContent, selector: "mat-card-content, [mat-card-content], [matCardContent]" }] }); | ||
ConvertSpeechToTextComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ConvertSpeechToTextComponent, selector: "wav-convert-speech-to-text", inputs: { silent: "silent", startListening: "startListening" }, outputs: { recognized: "recognized", listening: "listening", error: "error" }, usesOnChanges: true, ngImport: i0__namespace, template: "<div *ngIf=\"!silent\">\n\n <mat-card style=\"padding: 16px; margin-top: 16px;\">\n\n <div *ngIf=\"voiceActiveSectionDisabled; else voicesection;\">\n <button mat-stroked-button (click)=\"startVoiceRecognition()\">Start Listening</button>\n </div>\n\n <mat-card-content>\n <ng-template #voicesection>\n\n <div *ngIf=\"!voiceActiveSectionError; else failure\">\n\n <div *ngIf=\"voiceActiveSectionListening; else beginning\">\n <h3>Listening...</h3>\n <mat-progress-bar mode=\"indeterminate\"></mat-progress-bar>\n </div>\n\n <ng-template #beginning>\n <h3>Start talking...</h3>\n <mat-progress-bar mode=\"buffer\"></mat-progress-bar>\n </ng-template>\n\n </div>\n\n <ng-template #failure>\n <h3>Didn't catch that</h3>\n </ng-template>\n\n </ng-template>\n\n <h3 style=\"margin-top: 16px;\" *ngIf=\"voiceText\">{{ voiceText }}</h3>\n\n </mat-card-content>\n\n </mat-card>\n\n</div>\n\n", styles: [""], components: [{ type: i2__namespace.MatCard, selector: "mat-card", exportAs: ["matCard"] }, { type: i3__namespace.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"] }, { type: i4__namespace.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "mode", "value", "bufferValue"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }], directives: [{ type: i2__namespace.MatCardContent, selector: "mat-card-content, [mat-card-content], [matCardContent]" }] }); | ||
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ConvertSpeechToTextComponent, decorators: [{ | ||
@@ -122,0 +122,0 @@ type: i0.Component, |
@@ -92,3 +92,3 @@ import { Component, EventEmitter, Input, Output } from '@angular/core'; | ||
ConvertSpeechToTextComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ConvertSpeechToTextComponent, deps: [{ token: i1.DynamicScriptInjector }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); | ||
ConvertSpeechToTextComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ConvertSpeechToTextComponent, selector: "wav-convert-speech-to-text", inputs: { silent: "silent", startListening: "startListening" }, outputs: { recognized: "recognized", listening: "listening", error: "error" }, usesOnChanges: true, ngImport: i0, template: "<div *ngIf=\"silent\">\n\n <mat-card style=\"padding: 16px; margin-top: 16px;\">\n\n <div *ngIf=\"voiceActiveSectionDisabled; else voicesection;\">\n <button mat-stroked-button (click)=\"startVoiceRecognition()\">Start Listening</button>\n </div>\n\n <mat-card-content>\n <ng-template #voicesection>\n\n <div *ngIf=\"!voiceActiveSectionError; else failure\">\n\n <div *ngIf=\"voiceActiveSectionListening; else beginning\">\n <h3>Listening...</h3>\n <mat-progress-bar mode=\"indeterminate\"></mat-progress-bar>\n </div>\n\n <ng-template #beginning>\n <h3>Start talking...</h3>\n <mat-progress-bar mode=\"buffer\"></mat-progress-bar>\n </ng-template>\n\n </div>\n\n <ng-template #failure>\n <h3>Didn't catch that</h3>\n </ng-template>\n\n </ng-template>\n\n <h3 style=\"margin-top: 16px;\" *ngIf=\"voiceText\">{{ voiceText }}</h3>\n\n </mat-card-content>\n\n </mat-card>\n\n</div>\n\n", styles: [""], components: [{ type: i2.MatCard, selector: "mat-card", exportAs: ["matCard"] }, { 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"] }, { type: i4.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "mode", "value", "bufferValue"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }], directives: [{ type: i2.MatCardContent, selector: "mat-card-content, [mat-card-content], [matCardContent]" }] }); | ||
ConvertSpeechToTextComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ConvertSpeechToTextComponent, selector: "wav-convert-speech-to-text", inputs: { silent: "silent", startListening: "startListening" }, outputs: { recognized: "recognized", listening: "listening", error: "error" }, usesOnChanges: true, ngImport: i0, template: "<div *ngIf=\"!silent\">\n\n <mat-card style=\"padding: 16px; margin-top: 16px;\">\n\n <div *ngIf=\"voiceActiveSectionDisabled; else voicesection;\">\n <button mat-stroked-button (click)=\"startVoiceRecognition()\">Start Listening</button>\n </div>\n\n <mat-card-content>\n <ng-template #voicesection>\n\n <div *ngIf=\"!voiceActiveSectionError; else failure\">\n\n <div *ngIf=\"voiceActiveSectionListening; else beginning\">\n <h3>Listening...</h3>\n <mat-progress-bar mode=\"indeterminate\"></mat-progress-bar>\n </div>\n\n <ng-template #beginning>\n <h3>Start talking...</h3>\n <mat-progress-bar mode=\"buffer\"></mat-progress-bar>\n </ng-template>\n\n </div>\n\n <ng-template #failure>\n <h3>Didn't catch that</h3>\n </ng-template>\n\n </ng-template>\n\n <h3 style=\"margin-top: 16px;\" *ngIf=\"voiceText\">{{ voiceText }}</h3>\n\n </mat-card-content>\n\n </mat-card>\n\n</div>\n\n", styles: [""], components: [{ type: i2.MatCard, selector: "mat-card", exportAs: ["matCard"] }, { 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"] }, { type: i4.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "mode", "value", "bufferValue"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }], directives: [{ type: i2.MatCardContent, selector: "mat-card-content, [mat-card-content], [matCardContent]" }] }); | ||
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ConvertSpeechToTextComponent, decorators: [{ | ||
@@ -112,2 +112,2 @@ type: Component, | ||
}] } }); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udmVydC1zcGVlY2gtdG8tdGV4dC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jb252ZXJ0LXNwZWVjaC10by10ZXh0L3NyYy9saWIvY29udmVydC1zcGVlY2gtdG8tdGV4dC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jb252ZXJ0LXNwZWVjaC10by10ZXh0L3NyYy9saWIvY29udmVydC1zcGVlY2gtdG8tdGV4dC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFpQyxZQUFZLEVBQUUsS0FBSyxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQzs7Ozs7O0FBVXRHLE1BQU0sT0FBTyw0QkFBNEI7SUFpQnZDLFlBQ1UsY0FBcUMsRUFDckMsTUFBYztRQURkLG1CQUFjLEdBQWQsY0FBYyxDQUF1QjtRQUNyQyxXQUFNLEdBQU4sTUFBTSxDQUFRO1FBakJkLGVBQVUsR0FBRyxJQUFJLFlBQVksRUFBVSxDQUFBO1FBQ3ZDLGNBQVMsR0FBR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dGUgI2ZhaWx1cmU+XG4gICAgICAgICAgPGgzPkRpZG4ndCBjYXRjaCB0aGF0PC9oMz5cbiAgICAgICAgPC9uZy10ZW1wbGF0ZT5cblxuICAgICAgPC9uZy10ZW1wbGF0ZT5cblxuICAgICAgPGgzIHN0eWxlPVwibWFyZ2luLXRvcDogMTZweDtcIiAqbmdJZj1cInZvaWNlVGV4dFwiPnt7IHZvaWNlVGV4dCB9fTwvaDM+XG5cbiAgICA8L21hdC1jYXJkLWNvbnRlbnQ+XG5cbiAgPC9tYXQtY2FyZD5cblxuPC9kaXY+XG5cbiJdfQ== |
@@ -98,3 +98,3 @@ import * as i0 from '@angular/core'; | ||
ConvertSpeechToTextComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ConvertSpeechToTextComponent, deps: [{ token: i1.DynamicScriptInjector }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); | ||
ConvertSpeechToTextComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ConvertSpeechToTextComponent, selector: "wav-convert-speech-to-text", inputs: { silent: "silent", startListening: "startListening" }, outputs: { recognized: "recognized", listening: "listening", error: "error" }, usesOnChanges: true, ngImport: i0, template: "<div *ngIf=\"silent\">\n\n <mat-card style=\"padding: 16px; margin-top: 16px;\">\n\n <div *ngIf=\"voiceActiveSectionDisabled; else voicesection;\">\n <button mat-stroked-button (click)=\"startVoiceRecognition()\">Start Listening</button>\n </div>\n\n <mat-card-content>\n <ng-template #voicesection>\n\n <div *ngIf=\"!voiceActiveSectionError; else failure\">\n\n <div *ngIf=\"voiceActiveSectionListening; else beginning\">\n <h3>Listening...</h3>\n <mat-progress-bar mode=\"indeterminate\"></mat-progress-bar>\n </div>\n\n <ng-template #beginning>\n <h3>Start talking...</h3>\n <mat-progress-bar mode=\"buffer\"></mat-progress-bar>\n </ng-template>\n\n </div>\n\n <ng-template #failure>\n <h3>Didn't catch that</h3>\n </ng-template>\n\n </ng-template>\n\n <h3 style=\"margin-top: 16px;\" *ngIf=\"voiceText\">{{ voiceText }}</h3>\n\n </mat-card-content>\n\n </mat-card>\n\n</div>\n\n", styles: [""], components: [{ type: i2.MatCard, selector: "mat-card", exportAs: ["matCard"] }, { 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"] }, { type: i4.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "mode", "value", "bufferValue"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }], directives: [{ type: i2.MatCardContent, selector: "mat-card-content, [mat-card-content], [matCardContent]" }] }); | ||
ConvertSpeechToTextComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ConvertSpeechToTextComponent, selector: "wav-convert-speech-to-text", inputs: { silent: "silent", startListening: "startListening" }, outputs: { recognized: "recognized", listening: "listening", error: "error" }, usesOnChanges: true, ngImport: i0, template: "<div *ngIf=\"!silent\">\n\n <mat-card style=\"padding: 16px; margin-top: 16px;\">\n\n <div *ngIf=\"voiceActiveSectionDisabled; else voicesection;\">\n <button mat-stroked-button (click)=\"startVoiceRecognition()\">Start Listening</button>\n </div>\n\n <mat-card-content>\n <ng-template #voicesection>\n\n <div *ngIf=\"!voiceActiveSectionError; else failure\">\n\n <div *ngIf=\"voiceActiveSectionListening; else beginning\">\n <h3>Listening...</h3>\n <mat-progress-bar mode=\"indeterminate\"></mat-progress-bar>\n </div>\n\n <ng-template #beginning>\n <h3>Start talking...</h3>\n <mat-progress-bar mode=\"buffer\"></mat-progress-bar>\n </ng-template>\n\n </div>\n\n <ng-template #failure>\n <h3>Didn't catch that</h3>\n </ng-template>\n\n </ng-template>\n\n <h3 style=\"margin-top: 16px;\" *ngIf=\"voiceText\">{{ voiceText }}</h3>\n\n </mat-card-content>\n\n </mat-card>\n\n</div>\n\n", styles: [""], components: [{ type: i2.MatCard, selector: "mat-card", exportAs: ["matCard"] }, { 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"] }, { type: i4.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "mode", "value", "bufferValue"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }], directives: [{ type: i2.MatCardContent, selector: "mat-card-content, [mat-card-content], [matCardContent]" }] }); | ||
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ConvertSpeechToTextComponent, decorators: [{ | ||
@@ -101,0 +101,0 @@ type: Component, |
{ | ||
"name": "convert-speech-to-text", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"description": "This Angular Module (Component) that converts speech to text", | ||
@@ -5,0 +5,0 @@ "author": "Mike Boni <wavecoders@gmail.com> (http://wavecoders.ca)", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
70882