valtech-components 4.0.374 → 4.0.376
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/components/organisms/mini-games/chessimals-game.component.mjs +102 -84
- package/esm2022/lib/components/organisms/mini-games/chessimals-online.service.mjs +4 -3
- package/esm2022/lib/components/organisms/mini-games/mini-games.i18n.mjs +5 -3
- package/esm2022/lib/version.mjs +2 -2
- package/esm2022/mini-games/public-api.mjs +3 -3
- package/fesm2022/valtech-components-mini-games.mjs +2 -2
- package/fesm2022/valtech-components-mini-games.mjs.map +1 -1
- package/fesm2022/valtech-components.mjs +109 -88
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/organisms/mini-games/chessimals-game.component.d.ts +4 -2
- package/lib/components/organisms/mini-games/chessimals-online.service.d.ts +1 -1
- package/lib/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -61,6 +61,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
61
61
|
readonly loggedPlayerHandle: import("@angular/core").Signal<string>;
|
|
62
62
|
readonly loggedPlayerAvatarProps: import("@angular/core").Signal<UserAvatarMetadata>;
|
|
63
63
|
set onlineGameId(value: string | null | undefined);
|
|
64
|
+
miniGamesRoute: string;
|
|
64
65
|
readonly currentPlayer: import("@angular/core").Signal<import("./types").ChessimalsPlayerState>;
|
|
65
66
|
readonly legalMoves: import("@angular/core").Signal<ChessimalsMove[]>;
|
|
66
67
|
readonly legalMoveKeys: import("@angular/core").Signal<Set<string>>;
|
|
@@ -124,7 +125,6 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
124
125
|
playerLabel(color: ChessimalsPlayerColor): string;
|
|
125
126
|
modeChipLabel(): string;
|
|
126
127
|
turnTitle(): string;
|
|
127
|
-
turnBody(): string;
|
|
128
128
|
normalizeGameId(value: string): string;
|
|
129
129
|
copyOnlineLink(): Promise<void>;
|
|
130
130
|
shareOnlineLink(): Promise<void>;
|
|
@@ -137,8 +137,10 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
137
137
|
private displayRowIndex;
|
|
138
138
|
private displayColIndex;
|
|
139
139
|
private watchOnlineGame;
|
|
140
|
+
private miniGamesBaseRoute;
|
|
141
|
+
private chessimalsGameRoute;
|
|
140
142
|
private capitalize;
|
|
141
143
|
static ɵfac: i0.ɵɵFactoryDeclaration<ChessimalsGameComponent, never>;
|
|
142
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ChessimalsGameComponent, "val-chessimals-game", never, { "onlineGameId": { "alias": "onlineGameId"; "required": false; }; }, {}, never, never, true, never>;
|
|
144
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChessimalsGameComponent, "val-chessimals-game", never, { "onlineGameId": { "alias": "onlineGameId"; "required": false; }; "miniGamesRoute": { "alias": "miniGamesRoute"; "required": false; }; }, {}, never, never, true, never>;
|
|
143
145
|
}
|
|
144
146
|
export {};
|
|
@@ -18,7 +18,7 @@ export declare class ChessimalsOnlineService {
|
|
|
18
18
|
participantSide(state: ChessimalsGameState, uid?: string): ChessimalsPlayerColor | undefined;
|
|
19
19
|
isParticipant(state: ChessimalsGameState, uid?: string): boolean;
|
|
20
20
|
isHostWaiting(state: ChessimalsGameState, uid?: string): boolean;
|
|
21
|
-
shareUrl(gameId: string): string;
|
|
21
|
+
shareUrl(gameId: string, baseRoute?: string): string;
|
|
22
22
|
private gameRef;
|
|
23
23
|
private ensureUser;
|
|
24
24
|
private decodeInput;
|
package/lib/version.d.ts
CHANGED