valtech-components 4.0.569 → 4.0.570

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.
@@ -15,6 +15,7 @@ export declare class QrCodeComponent implements OnInit {
15
15
  getBorderRadius(): string;
16
16
  getPadding(): string;
17
17
  getQrBorderRadius(): string;
18
+ getLogoSize(): string;
18
19
  getContainerClasses(): string;
19
20
  getContainerBackground(): string;
20
21
  getShadow(): string;
@@ -67,6 +67,10 @@ export interface QrCodeMetadata {
67
67
  cssClass?: string;
68
68
  /** Size override (will scale the image) */
69
69
  displaySize?: number;
70
+ /** Logo rendered over the QR when the generated bitmap cannot embed it reliably */
71
+ logoUrl?: string;
72
+ /** Logo size as a fraction of the displayed QR size. Default: 0.2 */
73
+ logoSizeRatio?: number;
70
74
  /** Border radius for the container */
71
75
  borderRadius?: number;
72
76
  /** Show border around QR */
@@ -122,7 +122,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
122
122
  readonly botProfiles: ChessimalsBotProfile[];
123
123
  readonly challengeLadder: ChessimalsChallengeBot[];
124
124
  readonly animals: ChessimalsAnimalView[];
125
- readonly valtechComponentsVersion = "4.0.569";
125
+ readonly valtechComponentsVersion = "4.0.570";
126
126
  readonly screen: import("@angular/core").WritableSignal<"home" | "challenge" | "path" | "game">;
127
127
  readonly selectedBoardSize: import("@angular/core").WritableSignal<ChessimalsBoardSize>;
128
128
  readonly selectedLocalMode: import("@angular/core").WritableSignal<ChessimalsLocalMode>;
@@ -196,6 +196,10 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
196
196
  readonly availableBotProfiles: import("@angular/core").Signal<ChessimalsBotProfile[]>;
197
197
  readonly selectedBotProfile: import("@angular/core").Signal<ChessimalsBotProfile>;
198
198
  readonly gameBotProfile: import("@angular/core").Signal<ChessimalsBotProfile>;
199
+ readonly botOpponentProfile: import("@angular/core").Signal<ChessimalsBotProfile>;
200
+ readonly botOpponentEyebrow: import("@angular/core").Signal<string>;
201
+ readonly botOpponentTitle: import("@angular/core").Signal<string>;
202
+ readonly botOpponentDescription: import("@angular/core").Signal<string>;
199
203
  readonly activeChallengeBot: import("@angular/core").Signal<ChessimalsChallengeBot>;
200
204
  readonly resumableChallengeRun: import("@angular/core").Signal<ChessimalsChallengeRun>;
201
205
  set onlineGameId(value: string | null | undefined);
@@ -33,9 +33,9 @@ export interface ValtechErrorHandleOptions {
33
33
  /** Si mostrar un toast con el mensaje resuelto. Default: `true`. */
34
34
  toast?: boolean;
35
35
  /**
36
- * Si incluir un botón "Copiar ID" en el toast cuando el backend devuelve un
37
- * `operationId`. Útil para soporte: el usuario copia el ID y lo entrega al
38
- * equipo para buscar en CloudWatch. Default: `false`.
36
+ * Si incluir un botón "Copiar código de error" en el toast cuando el backend
37
+ * devuelve un `operationId`. Útil para soporte: el usuario copia el ID y lo
38
+ * entrega al equipo para buscar en CloudWatch. Default: `false`.
39
39
  */
40
40
  showOperationId?: boolean;
41
41
  }
@@ -9,6 +9,8 @@ export declare class TicketCardImageService {
9
9
  private drawFooter;
10
10
  private fillWrappedText;
11
11
  private drawDetail;
12
+ private drawQrLogo;
13
+ private drawBingoFallbackMark;
12
14
  private roundRect;
13
15
  private loadImage;
14
16
  static ɵfac: i0.ɵɵFactoryDeclaration<TicketCardImageService, never>;
@@ -1,6 +1,8 @@
1
1
  export interface TicketCardImageConfig {
2
2
  /** QR code as dataUrl (PNG/base64) */
3
3
  qrDataUrl: string;
4
+ /** Logo rendered in the center of the QR. URL or dataUrl. Optional. */
5
+ qrLogoUrl?: string;
4
6
  /** Logo to show in the header. URL or dataUrl. Optional. */
5
7
  logoUrl?: string;
6
8
  /** Header background color (CSS color). Default: bingo gradient '#9b1fde' -> '#c93075'. */
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.569";
5
+ export declare const VERSION = "4.0.570";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "4.0.569",
3
+ "version": "4.0.570",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"