valtech-components 4.0.1037 → 4.0.1039

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.
@@ -1,8 +1,10 @@
1
1
  import * as i0 from "@angular/core";
2
2
  type AiMessagePart = {
3
- kind: 'text';
3
+ kind: 'block';
4
4
  id: string;
5
- text: string;
5
+ tag: 'p' | 'h3' | 'ul' | 'ol';
6
+ html?: string;
7
+ items?: string[];
6
8
  } | {
7
9
  kind: 'code';
8
10
  id: string;
@@ -38,6 +38,8 @@ export declare class MessageBubbleComponent {
38
38
  readonly action: import("@angular/core").OutputEmitterRef<MessageBubbleAction>;
39
39
  protected readonly actionsOpen: import("@angular/core").WritableSignal<boolean>;
40
40
  protected readonly hasActions: import("@angular/core").Signal<boolean>;
41
+ protected readonly copyOnlyActions: import("@angular/core").Signal<boolean>;
42
+ private readonly hasActionsCount;
41
43
  constructor();
42
44
  protected readonly time: import("@angular/core").Signal<string>;
43
45
  protected readonly initials: import("@angular/core").Signal<string>;
@@ -602,6 +602,8 @@ export interface GetProfileResponse {
602
602
  email: string;
603
603
  name: string;
604
604
  phone?: string;
605
+ /** Idioma preferido del usuario */
606
+ language?: string;
605
607
  /** Username/handle del usuario */
606
608
  handle?: string;
607
609
  /** URL del avatar del usuario */
@@ -44,6 +44,7 @@ export declare class PreferencesService {
44
44
  readonly synced: import("@angular/core").Signal<boolean>;
45
45
  private subscription?;
46
46
  private currentUserId?;
47
+ private missingDocHydrationUserId?;
47
48
  /**
48
49
  * `true` mientras un `update()` está en vuelo (PUT al backend).
49
50
  *
@@ -63,6 +64,7 @@ export declare class PreferencesService {
63
64
  setNotificationsMaster(enabled: boolean): Promise<PreferencesUpdateResponse>;
64
65
  private bindToUser;
65
66
  private unbind;
67
+ private hydrateMissingPreferencesFromProfile;
66
68
  static ɵfac: i0.ɵɵFactoryDeclaration<PreferencesService, [null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
67
69
  static ɵprov: i0.ɵɵInjectableDeclaration<PreferencesService>;
68
70
  }
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.1037";
5
+ export declare const VERSION = "4.0.1039";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "4.0.1037",
3
+ "version": "4.0.1039",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"