valtech-components 4.0.377 → 4.0.378
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 +103 -7
- package/esm2022/lib/components/organisms/mini-games/mini-games.i18n.mjs +17 -1
- package/esm2022/lib/version.mjs +2 -2
- package/fesm2022/valtech-components.mjs +119 -7
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/organisms/mini-games/chessimals-game.component.d.ts +3 -0
- package/lib/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -9,6 +9,7 @@ interface ChessimalsAnimalView {
|
|
|
9
9
|
tone: number;
|
|
10
10
|
}
|
|
11
11
|
type ChessimalsConfirmAction = 'restart' | 'home' | 'resign';
|
|
12
|
+
type ChessimalsRematchState = 'none' | 'requested' | 'incoming';
|
|
12
13
|
interface ChessimalsMovingPieceView {
|
|
13
14
|
color: ChessimalsPlayerColor;
|
|
14
15
|
fromRow: number;
|
|
@@ -58,6 +59,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
58
59
|
readonly onlineUid: import("@angular/core").WritableSignal<string>;
|
|
59
60
|
readonly onlineHistory: import("@angular/core").WritableSignal<ChessimalsHistoryEntry[]>;
|
|
60
61
|
readonly resumeSplashVisible: import("@angular/core").WritableSignal<boolean>;
|
|
62
|
+
readonly rematchLoading: import("@angular/core").WritableSignal<boolean>;
|
|
61
63
|
readonly loggedInUser: import("@angular/core").Signal<import("valtech-components").AuthUser>;
|
|
62
64
|
readonly localPlayerProfile: import("@angular/core").Signal<import("./types").MiniGamePlayerProfile>;
|
|
63
65
|
readonly localPlayerAvatar: import("@angular/core").Signal<string>;
|
|
@@ -77,6 +79,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
77
79
|
readonly boardOrientationColor: import("@angular/core").Signal<ChessimalsPlayerColor>;
|
|
78
80
|
readonly onlineRole: import("@angular/core").Signal<"waiting" | "pending" | ChessimalsPlayerColor | "spectator">;
|
|
79
81
|
readonly canPlayCurrentTurn: import("@angular/core").Signal<boolean>;
|
|
82
|
+
readonly rematchState: import("@angular/core").Signal<ChessimalsRematchState>;
|
|
80
83
|
readonly currentTurnTitle: import("@angular/core").Signal<string>;
|
|
81
84
|
readonly winTitle: import("@angular/core").Signal<string>;
|
|
82
85
|
readonly winBody: import("@angular/core").Signal<string>;
|
package/lib/version.d.ts
CHANGED