valtech-components 4.0.248 → 4.0.249

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.
@@ -35,9 +35,6 @@ export declare class ChatWindowComponent {
35
35
  readonly isOpen: import("@angular/core").InputSignal<boolean>;
36
36
  readonly typingUsers: import("@angular/core").InputSignal<string[]>;
37
37
  readonly isLoading: import("@angular/core").InputSignal<boolean>;
38
- /** Muestra el botón de mensaje de voz (grabar clip). El dictado voz→texto va
39
- * siempre. Default false (apps lo activan donde el transcode esté disponible). */
40
- readonly showVoiceMessage: import("@angular/core").InputSignal<boolean>;
41
38
  readonly sendMessage: import("@angular/core").OutputEmitterRef<ChatComposerSendEvent>;
42
39
  readonly loadMore: import("@angular/core").OutputEmitterRef<void>;
43
40
  readonly reactionClick: import("@angular/core").OutputEmitterRef<{
@@ -62,6 +59,6 @@ export declare class ChatWindowComponent {
62
59
  protected onAction(event: MessageBubbleAction): void;
63
60
  t(key: string): string;
64
61
  static ɵfac: i0.ɵɵFactoryDeclaration<ChatWindowComponent, never>;
65
- static ɵcmp: i0.ɵɵComponentDeclaration<ChatWindowComponent, "val-chat-window", never, { "convId": { "alias": "convId"; "required": false; "isSignal": true; }; "messages": { "alias": "messages"; "required": false; "isSignal": true; }; "currentUserId": { "alias": "currentUserId"; "required": false; "isSignal": true; }; "isOpen": { "alias": "isOpen"; "required": false; "isSignal": true; }; "typingUsers": { "alias": "typingUsers"; "required": false; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "showVoiceMessage": { "alias": "showVoiceMessage"; "required": false; "isSignal": true; }; }, { "sendMessage": "sendMessage"; "loadMore": "loadMore"; "reactionClick": "reactionClick"; "deleteMessage": "deleteMessage"; "replyTo": "replyTo"; "editMessage": "editMessage"; "typing": "typing"; "voice": "voice"; }, never, never, true, never>;
62
+ static ɵcmp: i0.ɵɵComponentDeclaration<ChatWindowComponent, "val-chat-window", never, { "convId": { "alias": "convId"; "required": false; "isSignal": true; }; "messages": { "alias": "messages"; "required": false; "isSignal": true; }; "currentUserId": { "alias": "currentUserId"; "required": false; "isSignal": true; }; "isOpen": { "alias": "isOpen"; "required": false; "isSignal": true; }; "typingUsers": { "alias": "typingUsers"; "required": false; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; }, { "sendMessage": "sendMessage"; "loadMore": "loadMore"; "reactionClick": "reactionClick"; "deleteMessage": "deleteMessage"; "replyTo": "replyTo"; "editMessage": "editMessage"; "typing": "typing"; "voice": "voice"; }, never, never, true, never>;
66
63
  }
67
64
  export {};
@@ -25,6 +25,17 @@ export interface WorkflowExecution extends FirestoreDocument {
25
25
  startedAt?: string;
26
26
  stoppedAt?: string;
27
27
  }
28
+ /** Estado por-paso de una ejecución (vista "en acción"). */
29
+ export interface WorkflowStep {
30
+ name: string;
31
+ status: 'pending' | 'running' | 'succeeded' | 'failed';
32
+ retries: number;
33
+ }
34
+ /** Resumen del historial de una ejecución. */
35
+ export interface WorkflowHistory {
36
+ status: WorkflowStatus;
37
+ steps: WorkflowStep[];
38
+ }
28
39
  /**
29
40
  * WorkflowService (ADR-045) — arranca state machines de Step Functions registradas
30
41
  * y observa su ejecución en tiempo real (Firestore). Reusable por cualquier app.
@@ -41,6 +52,8 @@ export declare class WorkflowService {
41
52
  constructor(config: ValtechAuthConfig | null);
42
53
  private get appIdHeader();
43
54
  start(name: string, input?: Record<string, unknown>): Observable<WorkflowStartResult>;
55
+ /** Resumen por-paso del historial de una ejecución (para mostrar el progreso). */
56
+ history(executionArn: string): Observable<WorkflowHistory>;
44
57
  watch(executionName: string): Observable<WorkflowExecution | null>;
45
58
  static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowService, [{ optional: true; }]>;
46
59
  static ɵprov: i0.ɵɵInjectableDeclaration<WorkflowService>;
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.248";
5
+ export declare const VERSION = "4.0.249";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "4.0.248",
3
+ "version": "4.0.249",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"