@tilde-nlp/ngx-common 5.0.3 → 5.0.4
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/text-to-speech/text-to-speech.component.mjs +28 -12
- package/esm2022/lib/text-to-speech/translations/tts-i18n.mjs +9 -9
- package/fesm2022/tilde-nlp-ngx-common.mjs +35 -19
- package/fesm2022/tilde-nlp-ngx-common.mjs.map +1 -1
- package/lib/text-to-speech/text-to-speech.component.d.ts +3 -1
- package/package.json +1 -1
- package/web-components/main.js +9 -9
|
@@ -4,6 +4,7 @@ export declare class TextToSpeechComponent implements OnInit {
|
|
|
4
4
|
#private;
|
|
5
5
|
xApiKey: string;
|
|
6
6
|
language: string;
|
|
7
|
+
maxCharLength: number;
|
|
7
8
|
private readonly langAttributeKey;
|
|
8
9
|
private readonly defaultLanguage;
|
|
9
10
|
readonly voiceList: string[];
|
|
@@ -13,11 +14,12 @@ export declare class TextToSpeechComponent implements OnInit {
|
|
|
13
14
|
isLoading: boolean;
|
|
14
15
|
isPlaying: boolean;
|
|
15
16
|
get translations(): any;
|
|
17
|
+
get hasOverflow(): boolean;
|
|
16
18
|
ngOnInit(): void;
|
|
17
19
|
playText(): void;
|
|
18
20
|
stop(): void;
|
|
19
21
|
private watchHtmlLangAttributeChanges;
|
|
20
22
|
private getHtmlLangAttribute;
|
|
21
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextToSpeechComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextToSpeechComponent, "lib-text-to-speech", never, { "xApiKey": { "alias": "xApiKey"; "required": false; }; "language": { "alias": "language"; "required": false; }; }, {}, never, never, true, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextToSpeechComponent, "lib-text-to-speech", never, { "xApiKey": { "alias": "xApiKey"; "required": false; }; "language": { "alias": "language"; "required": false; }; "maxCharLength": { "alias": "maxCharLength"; "required": false; }; }, {}, never, never, true, never>;
|
|
23
25
|
}
|