valtech-components 4.0.563 → 4.0.564
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-challenge-progress.service.mjs +16 -2
- package/esm2022/lib/components/organisms/mini-games/chessimals-game.component.mjs +42 -15
- package/esm2022/lib/components/organisms/mini-games/christianity-card.component.mjs +3 -3
- package/esm2022/lib/components/organisms/mini-games/christianity-game.component.mjs +3 -3
- package/esm2022/lib/components/organisms/organization-view/organization-view.component.mjs +34 -29
- package/esm2022/lib/components/organisms/organization-view/types.mjs +1 -1
- package/esm2022/lib/version.mjs +2 -2
- package/fesm2022/valtech-components.mjs +94 -48
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/organisms/mini-games/chessimals-challenge-progress.service.d.ts +1 -1
- package/lib/components/organisms/mini-games/chessimals-game.component.d.ts +3 -1
- package/lib/components/organisms/organization-view/types.d.ts +5 -0
- package/lib/version.d.ts +1 -1
- package/package.json +1 -1
- package/src/lib/assets/games/chessimals/challenge-avatars/sprinter.png +0 -0
- package/src/lib/assets/games/chessimals/mode-icons/path-borderless.png +0 -0
- package/src/lib/assets/games/chessimals/mode-icons/path.jpg +0 -0
- package/src/lib/assets/games/chessimals/rules/capture.jpg +0 -0
- package/src/lib/assets/games/chessimals/tutorial-solo-clean.png +0 -0
|
@@ -18,7 +18,7 @@ export declare class ChessimalsChallengeProgressService {
|
|
|
18
18
|
completed: boolean;
|
|
19
19
|
roundStats: ChessimalsChallengeRoundStats;
|
|
20
20
|
}): Promise<void>;
|
|
21
|
-
recordModeResult(mode: Exclude<ChessimalsStatsMode, 'challenge'>, won: boolean): Promise<void>;
|
|
21
|
+
recordModeResult(mode: Exclude<ChessimalsStatsMode, 'challenge'>, won: boolean, roundStats?: ChessimalsChallengeRoundStats): Promise<void>;
|
|
22
22
|
emptyStats(): ChessimalsChallengeStats;
|
|
23
23
|
private readStats;
|
|
24
24
|
private normalizeStats;
|
|
@@ -120,7 +120,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
120
120
|
readonly botProfiles: ChessimalsBotProfile[];
|
|
121
121
|
readonly challengeLadder: ChessimalsChallengeBot[];
|
|
122
122
|
readonly animals: ChessimalsAnimalView[];
|
|
123
|
-
readonly valtechComponentsVersion = "4.0.
|
|
123
|
+
readonly valtechComponentsVersion = "4.0.564";
|
|
124
124
|
readonly screen: import("@angular/core").WritableSignal<"home" | "challenge" | "path" | "game">;
|
|
125
125
|
readonly selectedBoardSize: import("@angular/core").WritableSignal<ChessimalsBoardSize>;
|
|
126
126
|
readonly selectedLocalMode: import("@angular/core").WritableSignal<ChessimalsLocalMode>;
|
|
@@ -442,6 +442,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
442
442
|
challengeMenuClearedRound(): number;
|
|
443
443
|
private challengeMenuRun;
|
|
444
444
|
challengeBotName(bot: ChessimalsChallengeBot): string;
|
|
445
|
+
challengeBotIntro(bot: ChessimalsChallengeBot): string;
|
|
445
446
|
challengeBotDifficultyLabel(bot: ChessimalsChallengeBot): string;
|
|
446
447
|
challengeBotStyleLine(bot: ChessimalsChallengeBot): string;
|
|
447
448
|
challengeBotStatusLabel(bot: ChessimalsChallengeBot): string;
|
|
@@ -492,6 +493,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
492
493
|
private scoreChessimalsMove;
|
|
493
494
|
private colorFromPieceId;
|
|
494
495
|
private createChallengeRoundStats;
|
|
496
|
+
private createPlayerRoundStats;
|
|
495
497
|
private modeStatsResult;
|
|
496
498
|
animalLabel(type: ChessimalsAnimalType): string;
|
|
497
499
|
animalGlyph(type: ChessimalsAnimalType): string;
|
|
@@ -45,6 +45,11 @@ export interface OrganizationViewConfig {
|
|
|
45
45
|
* exige además ser owner (gating RBAC interno vía `isOwner()`).
|
|
46
46
|
*/
|
|
47
47
|
showDeleteOrg?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Muestra la sección "Integraciones (API Keys)". Default `true`. El render real
|
|
50
|
+
* exige además permiso `api-keys:read`.
|
|
51
|
+
*/
|
|
52
|
+
showApiKeys?: boolean;
|
|
48
53
|
/**
|
|
49
54
|
* Namespace i18n con el que la vista resuelve sus textos.
|
|
50
55
|
* Default `'Settings.Organization'`.
|
package/lib/version.d.ts
CHANGED
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|