valtech-components 4.0.622 → 4.0.624
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 +6 -4
- package/esm2022/lib/version.mjs +2 -2
- package/fesm2022/valtech-components.mjs +6 -4
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/organisms/mini-games/chessimals-game.component.d.ts +1 -1
- package/lib/version.d.ts +1 -1
- package/package.json +1 -1
package/esm2022/lib/version.mjs
CHANGED
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
* Current version of valtech-components.
|
|
3
3
|
* This is automatically updated during the publish process.
|
|
4
4
|
*/
|
|
5
|
-
export const VERSION = '4.0.
|
|
6
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
5
|
+
export const VERSION = '4.0.624';
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9saWIvdmVyc2lvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7O0dBR0c7QUFDSCxNQUFNLENBQUMsTUFBTSxPQUFPLEdBQUcsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBDdXJyZW50IHZlcnNpb24gb2YgdmFsdGVjaC1jb21wb25lbnRzLlxuICogVGhpcyBpcyBhdXRvbWF0aWNhbGx5IHVwZGF0ZWQgZHVyaW5nIHRoZSBwdWJsaXNoIHByb2Nlc3MuXG4gKi9cbmV4cG9ydCBjb25zdCBWRVJTSU9OID0gJzQuMC42MjQnO1xuIl19
|
|
@@ -59,7 +59,7 @@ import fixWebmDuration from 'fix-webm-duration';
|
|
|
59
59
|
* Current version of valtech-components.
|
|
60
60
|
* This is automatically updated during the publish process.
|
|
61
61
|
*/
|
|
62
|
-
const VERSION = '4.0.
|
|
62
|
+
const VERSION = '4.0.624';
|
|
63
63
|
|
|
64
64
|
// Control de estado de refresco (singleton a nivel de módulo)
|
|
65
65
|
let isRefreshing = false;
|
|
@@ -68463,7 +68463,7 @@ class ChessimalsGameComponent {
|
|
|
68463
68463
|
const current = CHESSIMALS_ADVENTURE_ACTS.flatMap(a => a.nodes).find(n => n.id === nodeId);
|
|
68464
68464
|
if (!current)
|
|
68465
68465
|
return undefined;
|
|
68466
|
-
return CHESSIMALS_ADVENTURE_ACTS.flatMap(a => a.nodes).find(n => current.connectsTo.includes(n.id) && n.type === 'battle');
|
|
68466
|
+
return CHESSIMALS_ADVENTURE_ACTS.flatMap(a => a.nodes).find(n => current.connectsTo.includes(n.id) && (n.type === 'battle' || n.type === 'boss'));
|
|
68467
68467
|
});
|
|
68468
68468
|
this.i18n.registerDefaults('MiniGames', MINI_GAMES_I18N);
|
|
68469
68469
|
this.audio.preloadChessimalsSamples();
|
|
@@ -71763,6 +71763,7 @@ class ChessimalsGameComponent {
|
|
|
71763
71763
|
[class.is-your-turn]="isActionableTurn()"
|
|
71764
71764
|
[class.is-waiting-turn]="isWaitingForTurn()"
|
|
71765
71765
|
[class.is-timer-low]="isTurnTimerLow()"
|
|
71766
|
+
[hidden]="shouldShowFinishedOverlay()"
|
|
71766
71767
|
>
|
|
71767
71768
|
<div class="chessimals-turn-card__copy">
|
|
71768
71769
|
<span class="chessimals-turn-card__chip">
|
|
@@ -72181,7 +72182,7 @@ class ChessimalsGameComponent {
|
|
|
72181
72182
|
@if (canControlCurrentGame() && !isChallengeActive()) {
|
|
72182
72183
|
<div class="chessimals-board-overlay__actions">
|
|
72183
72184
|
@if (adventureNodeId()) {
|
|
72184
|
-
@if (
|
|
72185
|
+
@if (isCurrentPlayerVictory() && adventureNextBattleNode()) {
|
|
72185
72186
|
<button
|
|
72186
72187
|
class="chessimals-primary chessimals-action-button"
|
|
72187
72188
|
type="button"
|
|
@@ -73290,6 +73291,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
|
|
|
73290
73291
|
[class.is-your-turn]="isActionableTurn()"
|
|
73291
73292
|
[class.is-waiting-turn]="isWaitingForTurn()"
|
|
73292
73293
|
[class.is-timer-low]="isTurnTimerLow()"
|
|
73294
|
+
[hidden]="shouldShowFinishedOverlay()"
|
|
73293
73295
|
>
|
|
73294
73296
|
<div class="chessimals-turn-card__copy">
|
|
73295
73297
|
<span class="chessimals-turn-card__chip">
|
|
@@ -73708,7 +73710,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
|
|
|
73708
73710
|
@if (canControlCurrentGame() && !isChallengeActive()) {
|
|
73709
73711
|
<div class="chessimals-board-overlay__actions">
|
|
73710
73712
|
@if (adventureNodeId()) {
|
|
73711
|
-
@if (
|
|
73713
|
+
@if (isCurrentPlayerVictory() && adventureNextBattleNode()) {
|
|
73712
73714
|
<button
|
|
73713
73715
|
class="chessimals-primary chessimals-action-button"
|
|
73714
73716
|
type="button"
|