valtech-components 4.0.553 → 4.0.555
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/molecules/field-options-editor/field-options-editor.component.mjs +63 -10
- package/esm2022/lib/components/molecules/field-options-editor/types.mjs +1 -1
- package/esm2022/lib/components/organisms/mini-games/chessimals-game.component.mjs +49 -56
- package/esm2022/lib/components/organisms/mini-games/christianity-game.component.mjs +3 -3
- package/esm2022/lib/version.mjs +2 -2
- package/fesm2022/valtech-components.mjs +113 -68
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/molecules/field-options-editor/field-options-editor.component.d.ts +2 -0
- package/lib/components/molecules/field-options-editor/types.d.ts +1 -0
- package/lib/components/organisms/mini-games/chessimals-game.component.d.ts +2 -7
- package/lib/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
1
2
|
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
3
|
import { FieldOptionEditorOption, FieldOptionsEditorMetadata } from './types';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
@@ -15,6 +16,7 @@ export declare class FieldOptionsEditorComponent implements OnChanges {
|
|
|
15
16
|
addDraft(): void;
|
|
16
17
|
updateOption(id: string, name: string): void;
|
|
17
18
|
removeOption(id: string): void;
|
|
19
|
+
dropOption(event: CdkDragDrop<FieldOptionEditorOption[]>): void;
|
|
18
20
|
private createOption;
|
|
19
21
|
private setOptions;
|
|
20
22
|
private normalizeOptions;
|
|
@@ -114,7 +114,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
114
114
|
readonly botProfiles: ChessimalsBotProfile[];
|
|
115
115
|
readonly challengeLadder: ChessimalsChallengeBot[];
|
|
116
116
|
readonly animals: ChessimalsAnimalView[];
|
|
117
|
-
readonly valtechComponentsVersion = "4.0.
|
|
117
|
+
readonly valtechComponentsVersion = "4.0.555";
|
|
118
118
|
readonly screen: import("@angular/core").WritableSignal<"home" | "challenge" | "path" | "game">;
|
|
119
119
|
readonly selectedBoardSize: import("@angular/core").WritableSignal<ChessimalsBoardSize>;
|
|
120
120
|
readonly selectedLocalMode: import("@angular/core").WritableSignal<ChessimalsLocalMode>;
|
|
@@ -249,9 +249,6 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
249
249
|
readonly confirmTitle: import("@angular/core").Signal<string>;
|
|
250
250
|
readonly confirmBody: import("@angular/core").Signal<string>;
|
|
251
251
|
readonly confirmActions: import("@angular/core").Signal<ButtonMetadata[]>;
|
|
252
|
-
readonly playOptionsActions: import("@angular/core").Signal<ButtonMetadata[]>;
|
|
253
|
-
readonly playAgainButton: import("@angular/core").Signal<Partial<ButtonMetadata>>;
|
|
254
|
-
readonly rematchButton: import("@angular/core").Signal<Partial<ButtonMetadata>>;
|
|
255
252
|
readonly rulesActions: import("@angular/core").Signal<ButtonMetadata[]>;
|
|
256
253
|
readonly aboutActions: import("@angular/core").Signal<ButtonMetadata[]>;
|
|
257
254
|
readonly actionHint: import("@angular/core").Signal<string>;
|
|
@@ -298,9 +295,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
298
295
|
openPlayOptionsModal(): void;
|
|
299
296
|
closePlayOptionsModal(): void;
|
|
300
297
|
handlePlayOptionsModalDismissed(): void;
|
|
301
|
-
|
|
302
|
-
action?: ButtonMetadata;
|
|
303
|
-
}): void;
|
|
298
|
+
startSoloGameFromOptions(): void;
|
|
304
299
|
openRulesModal(): void;
|
|
305
300
|
closeRulesModal(): void;
|
|
306
301
|
openSettingsModal(): void;
|
package/lib/version.d.ts
CHANGED