valtech-components 4.0.583 → 4.0.584
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 +35 -1
- package/esm2022/lib/components/organisms/mini-games/mini-games.i18n.mjs +5 -1
- package/esm2022/lib/version.mjs +2 -2
- package/fesm2022/valtech-components.mjs +39 -1
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/organisms/mini-games/chessimals-game.component.d.ts +2 -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.584';
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9saWIvdmVyc2lvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7O0dBR0c7QUFDSCxNQUFNLENBQUMsTUFBTSxPQUFPLEdBQUcsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBDdXJyZW50IHZlcnNpb24gb2YgdmFsdGVjaC1jb21wb25lbnRzLlxuICogVGhpcyBpcyBhdXRvbWF0aWNhbGx5IHVwZGF0ZWQgZHVyaW5nIHRoZSBwdWJsaXNoIHByb2Nlc3MuXG4gKi9cbmV4cG9ydCBjb25zdCBWRVJTSU9OID0gJzQuMC41ODQnO1xuIl19
|
|
@@ -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.584';
|
|
63
63
|
|
|
64
64
|
// Control de estado de refresco (singleton a nivel de módulo)
|
|
65
65
|
let isRefreshing = false;
|
|
@@ -62370,6 +62370,8 @@ const MINI_GAMES_I18N = {
|
|
|
62370
62370
|
chessimalsAdventureEyebrow: 'Modo aventura',
|
|
62371
62371
|
chessimalsAdventureTitle: 'El Gran Torneo',
|
|
62372
62372
|
chessimalsAdventureSubtitle: 'Cuatro mundos, dieciséis rivales. Solo el mejor llega al final.',
|
|
62373
|
+
chessimalsAdventureHome: 'Modo Aventura',
|
|
62374
|
+
chessimalsAdventureHomeBody: 'Cuatro actos, dieciséis rivales. Gana estrellas.',
|
|
62373
62375
|
chessimalsAdventureBoss: 'Jefe',
|
|
62374
62376
|
chessimalsAdventureAct1Title: 'La Sabana',
|
|
62375
62377
|
chessimalsAdventureAct1Desc: 'Rivales lentos, tablero pequeño. El punto de partida.',
|
|
@@ -63215,6 +63217,8 @@ const MINI_GAMES_I18N = {
|
|
|
63215
63217
|
chessimalsAdventureEyebrow: 'Adventure mode',
|
|
63216
63218
|
chessimalsAdventureTitle: 'The Grand Tournament',
|
|
63217
63219
|
chessimalsAdventureSubtitle: 'Four worlds, sixteen rivals. Only the best reaches the end.',
|
|
63220
|
+
chessimalsAdventureHome: 'Adventure Mode',
|
|
63221
|
+
chessimalsAdventureHomeBody: 'Four acts, sixteen rivals. Earn stars.',
|
|
63218
63222
|
chessimalsAdventureBoss: 'Boss',
|
|
63219
63223
|
chessimalsAdventureAct1Title: 'The Savanna',
|
|
63220
63224
|
chessimalsAdventureAct1Desc: 'Slow rivals, small board. The starting point.',
|
|
@@ -69104,6 +69108,10 @@ class ChessimalsGameComponent {
|
|
|
69104
69108
|
this.screen.set('path');
|
|
69105
69109
|
this.audio.flip();
|
|
69106
69110
|
}
|
|
69111
|
+
openAdventureMode() {
|
|
69112
|
+
this.audio.flip();
|
|
69113
|
+
void this.router.navigateByUrl('/mini-games/chessimals/adventure').catch(() => undefined);
|
|
69114
|
+
}
|
|
69107
69115
|
openAboutModal() {
|
|
69108
69116
|
this.pendingAboutFeedbackNavigation = false;
|
|
69109
69117
|
this.isAboutModalOpen.set(true);
|
|
@@ -71098,6 +71106,21 @@ class ChessimalsGameComponent {
|
|
|
71098
71106
|
<strong>{{ t('chessimalsProgressTitle') }}</strong>
|
|
71099
71107
|
<small>{{ t('chessimalsProgressSubtitle') }}</small>
|
|
71100
71108
|
</button>
|
|
71109
|
+
|
|
71110
|
+
<button
|
|
71111
|
+
class="chessimals-home-action chessimals-home-action--adventure"
|
|
71112
|
+
type="button"
|
|
71113
|
+
(click)="openAdventureMode()"
|
|
71114
|
+
>
|
|
71115
|
+
<img
|
|
71116
|
+
class="chessimals-mode-icon chessimals-mode-icon--adventure"
|
|
71117
|
+
src="assets/games/chessimals/brand/chessimals-emblem.png"
|
|
71118
|
+
alt=""
|
|
71119
|
+
draggable="false"
|
|
71120
|
+
/>
|
|
71121
|
+
<strong>{{ t('chessimalsAdventureHome') }}</strong>
|
|
71122
|
+
<small>{{ t('chessimalsAdventureHomeBody') }}</small>
|
|
71123
|
+
</button>
|
|
71101
71124
|
</section>
|
|
71102
71125
|
|
|
71103
71126
|
<article class="chessimals-howto">
|
|
@@ -72531,6 +72554,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
|
|
|
72531
72554
|
<strong>{{ t('chessimalsProgressTitle') }}</strong>
|
|
72532
72555
|
<small>{{ t('chessimalsProgressSubtitle') }}</small>
|
|
72533
72556
|
</button>
|
|
72557
|
+
|
|
72558
|
+
<button
|
|
72559
|
+
class="chessimals-home-action chessimals-home-action--adventure"
|
|
72560
|
+
type="button"
|
|
72561
|
+
(click)="openAdventureMode()"
|
|
72562
|
+
>
|
|
72563
|
+
<img
|
|
72564
|
+
class="chessimals-mode-icon chessimals-mode-icon--adventure"
|
|
72565
|
+
src="assets/games/chessimals/brand/chessimals-emblem.png"
|
|
72566
|
+
alt=""
|
|
72567
|
+
draggable="false"
|
|
72568
|
+
/>
|
|
72569
|
+
<strong>{{ t('chessimalsAdventureHome') }}</strong>
|
|
72570
|
+
<small>{{ t('chessimalsAdventureHomeBody') }}</small>
|
|
72571
|
+
</button>
|
|
72534
72572
|
</section>
|
|
72535
72573
|
|
|
72536
72574
|
<article class="chessimals-howto">
|