valtech-components 4.0.241 → 4.0.242

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.
@@ -69,6 +69,11 @@ export declare class ChatComposerComponent implements OnDestroy {
69
69
  protected finishRecording(): void;
70
70
  protected cancelRecording(): void;
71
71
  private cleanupRecording;
72
+ /** Diagnóstico: el navegador no pudo reproducir el adjunto de audio. */
73
+ protected onAudioError(where: string, file: File, event: Event): void;
74
+ protected onAudioLoaded(where: string, file: File, event: Event): void;
75
+ /** ¿El navegador declara que puede reproducir este tipo? '' / 'maybe' / 'probably'. */
76
+ private canPlay;
72
77
  ngOnDestroy(): void;
73
78
  t(key: string): string;
74
79
  static ɵfac: i0.ɵɵFactoryDeclaration<ChatComposerComponent, never>;
@@ -36,6 +36,11 @@ export declare class MessageBubbleComponent {
36
36
  protected readonly statusIcon: import("@angular/core").Signal<"time-outline" | "alert-circle" | "checkmark-done" | "checkmark">;
37
37
  protected toggleActions(): void;
38
38
  protected emit(type: MessageBubbleAction['type'], token?: string): void;
39
+ /** Diagnóstico: el navegador no pudo reproducir el audio recibido. */
40
+ protected onAudioError(att: {
41
+ url: string;
42
+ mimeType?: string;
43
+ }, event: Event): void;
39
44
  t(key: string): string;
40
45
  static ɵfac: i0.ɵɵFactoryDeclaration<MessageBubbleComponent, never>;
41
46
  static ɵcmp: i0.ɵɵComponentDeclaration<MessageBubbleComponent, "val-message-bubble", never, { "msg": { "alias": "msg"; "required": true; "isSignal": true; }; "showAvatar": { "alias": "showAvatar"; "required": false; "isSignal": true; }; "showName": { "alias": "showName"; "required": false; "isSignal": true; }; "tail": { "alias": "tail"; "required": false; "isSignal": true; }; "locale": { "alias": "locale"; "required": false; "isSignal": true; }; }, { "action": "action"; }, never, never, true, never>;
package/lib/version.d.ts CHANGED
@@ -2,4 +2,4 @@
2
2
  * Current version of valtech-components.
3
3
  * This is automatically updated during the publish process.
4
4
  */
5
- export declare const VERSION = "4.0.241";
5
+ export declare const VERSION = "4.0.242";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "4.0.241",
3
+ "version": "4.0.242",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"