tikal-ui-components 1.4.0 → 1.4.1

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/README.md CHANGED
@@ -1,45 +1,6 @@
1
- # TikalUiComponents
1
+ # Tikal-ui-components
2
2
 
3
- This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 22.1.0.
4
-
5
- ## Code scaffolding
6
-
7
- Angular CLI includes powerful code scaffolding tools. To generate a new component, run:
8
-
9
- ```bash
10
- ng generate component component-name
11
- ```
12
-
13
- For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run:
14
-
15
- ```bash
16
- ng generate --help
17
- ```
18
-
19
- ## Building
20
-
21
- To build the library, run:
22
-
23
- ```bash
24
- ng build tikal-ui-components
25
- ```
26
-
27
- This command will compile your project, and the build artifacts will be placed in the `dist/` directory.
28
-
29
- ### Publishing the Library
30
-
31
- Once the project is built, you can publish your library by following these steps:
32
-
33
- 1. Navigate to the `dist` directory:
34
-
35
- ```bash
36
- cd dist/tikal-ui-components
37
- ```
38
-
39
- 2. Run the `npm publish` command to publish your library to the npm registry:
40
- ```bash
41
- npm publish
42
- ```
3
+ Reusable Angular UI components for the Tikal board game, built on PrimeNG with the Tikal theme. Everything consumers can use is exported from `src/public-api.ts`; translations live in `public/i18n`.
43
4
 
44
5
  ### PrimeNG license
45
6
 
@@ -70,25 +31,3 @@ it is not a mechanism for hiding the key from end users.
70
31
  For local Storybook development, copy `.env.example` to `.env.local` and set
71
32
  `STORYBOOK_PRIMENG_LICENSE`. CI can provide the same variable without storing
72
33
  the key in the repository.
73
-
74
- ## Running unit tests
75
-
76
- To execute unit tests with the [Vitest](https://vitest.dev/) test runner, use the following command:
77
-
78
- ```bash
79
- ng test
80
- ```
81
-
82
- ## Running end-to-end tests
83
-
84
- For end-to-end (e2e) testing, run:
85
-
86
- ```bash
87
- ng e2e
88
- ```
89
-
90
- Angular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.
91
-
92
- ## Additional Resources
93
-
94
- For more information on using the Angular CLI, including detailed command references, visit the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.
@@ -1,11 +1,15 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import { Component, Pipe, computed, input, model, output, signal } from "@angular/core";
3
3
  import { PIcon, Spinner, User } from "@primeicons/angular";
4
- import * as i1$4 from "primeng/button";
4
+ import * as i1$6 from "primeng/button";
5
5
  import { ButtonModule } from "primeng/button";
6
- import * as i1$3 from "primeng/inputtext";
6
+ import * as i1$5 from "primeng/inputtext";
7
7
  import { InputTextModule } from "primeng/inputtext";
8
8
  import { FormField, FormRoot, disabled, form, maxLength, required } from "@angular/forms/signals";
9
+ import * as i1$4 from "primeng/message";
10
+ import { MessageModule } from "primeng/message";
11
+ import * as i1$3 from "primeng/scroller";
12
+ import { ScrollerModule } from "primeng/scroller";
9
13
  import * as i1$2 from "primeng/skeleton";
10
14
  import { SkeletonModule } from "primeng/skeleton";
11
15
  import * as i1$1 from "primeng/chip";
@@ -158,7 +162,7 @@ var ButtonComponent = class ButtonComponent {
158
162
  },
159
163
  {
160
164
  kind: "directive",
161
- type: i1$4.ButtonDirective,
165
+ type: i1$6.ButtonDirective,
162
166
  selector: "[pButton]",
163
167
  inputs: [
164
168
  "pButton",
@@ -401,7 +405,7 @@ var InputComponent = class InputComponent {
401
405
  type: InputTextModule
402
406
  }, {
403
407
  kind: "directive",
404
- type: i1$3.InputText,
408
+ type: i1$5.InputText,
405
409
  selector: "[pInputText]",
406
410
  inputs: [
407
411
  "hostName",
@@ -675,6 +679,208 @@ i0.ɵɵngDeclareClassMetadata({
675
679
  }]
676
680
  }
677
681
  });
682
+ var ChatMessageComponent = class ChatMessageComponent {
683
+ message = input.required(...ngDevMode ? [{ debugName: "message" }] : /* istanbul ignore next */ []);
684
+ sender = input("Opponent", ...ngDevMode ? [{ debugName: "sender" }] : /* istanbul ignore next */ []);
685
+ typeMap = {
686
+ Me: "contrast",
687
+ Opponent: "secondary"
688
+ };
689
+ static ɵfac = i0.ɵɵngDeclareFactory({
690
+ minVersion: "12.0.0",
691
+ version: "22.2.3",
692
+ ngImport: i0,
693
+ type: ChatMessageComponent,
694
+ deps: [],
695
+ target: i0.ɵɵFactoryTarget.Component
696
+ });
697
+ static ɵcmp = i0.ɵɵngDeclareComponent({
698
+ minVersion: "17.1.0",
699
+ version: "22.2.3",
700
+ type: ChatMessageComponent,
701
+ isStandalone: true,
702
+ selector: "tikal-chat-message",
703
+ inputs: {
704
+ message: {
705
+ classPropertyName: "message",
706
+ publicName: "message",
707
+ isSignal: true,
708
+ isRequired: true,
709
+ transformFunction: null
710
+ },
711
+ sender: {
712
+ classPropertyName: "sender",
713
+ publicName: "sender",
714
+ isSignal: true,
715
+ isRequired: false,
716
+ transformFunction: null
717
+ }
718
+ },
719
+ ngImport: i0,
720
+ template: "<p-message [severity]=\"sender() | enumMap: typeMap\">{{ message() }}</p-message>\n",
721
+ styles: [""],
722
+ dependencies: [
723
+ {
724
+ kind: "ngmodule",
725
+ type: MessageModule
726
+ },
727
+ {
728
+ kind: "component",
729
+ type: i1$4.Message,
730
+ selector: "p-message",
731
+ inputs: [
732
+ "severity",
733
+ "closable",
734
+ "icon",
735
+ "closeIcon",
736
+ "life",
737
+ "size",
738
+ "variant",
739
+ "motionOptions"
740
+ ],
741
+ outputs: ["onClose"]
742
+ },
743
+ {
744
+ kind: "pipe",
745
+ type: EnumMapPipe,
746
+ name: "enumMap"
747
+ }
748
+ ]
749
+ });
750
+ };
751
+ i0.ɵɵngDeclareClassMetadata({
752
+ minVersion: "12.0.0",
753
+ version: "22.2.3",
754
+ ngImport: i0,
755
+ type: ChatMessageComponent,
756
+ decorators: [{
757
+ type: Component,
758
+ args: [{
759
+ selector: "tikal-chat-message",
760
+ imports: [MessageModule, EnumMapPipe],
761
+ template: "<p-message [severity]=\"sender() | enumMap: typeMap\">{{ message() }}</p-message>\n"
762
+ }]
763
+ }],
764
+ propDecorators: {
765
+ message: [{
766
+ type: i0.Input,
767
+ args: [{
768
+ isSignal: true,
769
+ alias: "message",
770
+ required: true
771
+ }]
772
+ }],
773
+ sender: [{
774
+ type: i0.Input,
775
+ args: [{
776
+ isSignal: true,
777
+ alias: "sender",
778
+ required: false
779
+ }]
780
+ }]
781
+ }
782
+ });
783
+ var ChatMessageListComponent = class ChatMessageListComponent {
784
+ messages = input([], ...ngDevMode ? [{ debugName: "messages" }] : /* istanbul ignore next */ []);
785
+ static ɵfac = i0.ɵɵngDeclareFactory({
786
+ minVersion: "12.0.0",
787
+ version: "22.2.3",
788
+ ngImport: i0,
789
+ type: ChatMessageListComponent,
790
+ deps: [],
791
+ target: i0.ɵɵFactoryTarget.Component
792
+ });
793
+ static ɵcmp = i0.ɵɵngDeclareComponent({
794
+ minVersion: "17.1.0",
795
+ version: "22.2.3",
796
+ type: ChatMessageListComponent,
797
+ isStandalone: true,
798
+ selector: "tikal-chat-message-list",
799
+ inputs: { messages: {
800
+ classPropertyName: "messages",
801
+ publicName: "messages",
802
+ isSignal: true,
803
+ isRequired: false,
804
+ transformFunction: null
805
+ } },
806
+ ngImport: i0,
807
+ template: "<p-scroller [itemSize]=\"50\" [items]=\"messages()\">\n <ng-template #item let-item let-options=\"options\">\n <div class=\"row\" [class.me]=\"item.origin === 'Me'\">\n <tikal-chat-message class=\"message\" [message]=\"item.message\" [sender]=\"item.origin\" />\n </div>\n </ng-template>\n</p-scroller>\n",
808
+ styles: [":host{display:flex;flex-direction:column-reverse;flex:1;padding:1rem;overflow-y:auto}.row{display:flex}.me{justify-content:flex-end}p-scroller{width:100%;height:100%}.message{display:flex;max-width:90%;padding:.5rem 1rem}\n"],
809
+ dependencies: [
810
+ {
811
+ kind: "ngmodule",
812
+ type: ScrollerModule
813
+ },
814
+ {
815
+ kind: "component",
816
+ type: i1$3.Scroller,
817
+ selector: "p-scroller, p-virtualscroller, p-virtual-scroller",
818
+ inputs: [
819
+ "hostName",
820
+ "id",
821
+ "style",
822
+ "styleClass",
823
+ "tabindex",
824
+ "items",
825
+ "itemSize",
826
+ "scrollHeight",
827
+ "scrollWidth",
828
+ "orientation",
829
+ "step",
830
+ "delay",
831
+ "resizeDelay",
832
+ "appendOnly",
833
+ "inline",
834
+ "lazy",
835
+ "disabled",
836
+ "loaderDisabled",
837
+ "columns",
838
+ "showSpacer",
839
+ "showLoader",
840
+ "numToleratedItems",
841
+ "loading",
842
+ "autoSize",
843
+ "trackBy",
844
+ "options"
845
+ ],
846
+ outputs: [
847
+ "onLazyLoad",
848
+ "onScroll",
849
+ "onScrollIndexChange"
850
+ ]
851
+ },
852
+ {
853
+ kind: "component",
854
+ type: ChatMessageComponent,
855
+ selector: "tikal-chat-message",
856
+ inputs: ["message", "sender"]
857
+ }
858
+ ]
859
+ });
860
+ };
861
+ i0.ɵɵngDeclareClassMetadata({
862
+ minVersion: "12.0.0",
863
+ version: "22.2.3",
864
+ ngImport: i0,
865
+ type: ChatMessageListComponent,
866
+ decorators: [{
867
+ type: Component,
868
+ args: [{
869
+ selector: "tikal-chat-message-list",
870
+ imports: [ScrollerModule, ChatMessageComponent],
871
+ template: "<p-scroller [itemSize]=\"50\" [items]=\"messages()\">\n <ng-template #item let-item let-options=\"options\">\n <div class=\"row\" [class.me]=\"item.origin === 'Me'\">\n <tikal-chat-message class=\"message\" [message]=\"item.message\" [sender]=\"item.origin\" />\n </div>\n </ng-template>\n</p-scroller>\n",
872
+ styles: [":host{display:flex;flex-direction:column-reverse;flex:1;padding:1rem;overflow-y:auto}.row{display:flex}.me{justify-content:flex-end}p-scroller{width:100%;height:100%}.message{display:flex;max-width:90%;padding:.5rem 1rem}\n"]
873
+ }]
874
+ }],
875
+ propDecorators: { messages: [{
876
+ type: i0.Input,
877
+ args: [{
878
+ isSignal: true,
879
+ alias: "messages",
880
+ required: false
881
+ }]
882
+ }] }
883
+ });
678
884
  var SkeletonComponent = class SkeletonComponent {
679
885
  static ɵfac = i0.ɵɵngDeclareFactory({
680
886
  minVersion: "12.0.0",
@@ -1587,7 +1793,7 @@ var ActiveSessionLinkComponent = class ActiveSessionLinkComponent {
1587
1793
  },
1588
1794
  {
1589
1795
  kind: "directive",
1590
- type: i1$4.ButtonDirective,
1796
+ type: i1$6.ButtonDirective,
1591
1797
  selector: "[pButton]",
1592
1798
  inputs: [
1593
1799
  "pButton",
@@ -1817,6 +2023,6 @@ i0.ɵɵngDeclareClassMetadata({
1817
2023
  }]
1818
2024
  }
1819
2025
  });
1820
- export { ActiveSessionLinkComponent, ButtonComponent, ChatFormComponent, ChipComponent, EmptyPlayerSlotComponent, HeaderComponent, InputComponent, MaxPlayerSelectComponent, NavLinkComponent, PlayerCountComponent, PlayerSlotComponent, PlayerSlotListComponent, SkeletonComponent };
2026
+ export { ActiveSessionLinkComponent, ButtonComponent, ChatFormComponent, ChatMessageComponent, ChatMessageListComponent, ChipComponent, EmptyPlayerSlotComponent, HeaderComponent, InputComponent, MaxPlayerSelectComponent, NavLinkComponent, PlayerCountComponent, PlayerSlotComponent, PlayerSlotListComponent, SkeletonComponent };
1821
2027
 
1822
2028
  //# sourceMappingURL=tikal-ui-components.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"tikal-ui-components.mjs","names":[],"sources":["../../../projects/tikal-ui-components/src/pipes/enum-map.ts","../../../projects/tikal-ui-components/src/lib/components/button/button.ts","../../../projects/tikal-ui-components/src/lib/components/button/button.html","../../../projects/tikal-ui-components/src/lib/components/input/input.ts","../../../projects/tikal-ui-components/src/lib/components/input/input.html","../../../projects/tikal-ui-components/src/lib/components/chat-form/chat-form.ts","../../../projects/tikal-ui-components/src/lib/components/chat-form/chat-form.html","../../../projects/tikal-ui-components/src/lib/components/skeleton/skeleton.ts","../../../projects/tikal-ui-components/src/lib/components/skeleton/skeleton.html","../../../projects/tikal-ui-components/src/lib/components/player-count/player-count.ts","../../../projects/tikal-ui-components/src/lib/components/player-count/player-count.html","../../../projects/tikal-ui-components/src/lib/components/chip/chip.ts","../../../projects/tikal-ui-components/src/lib/components/chip/chip.html","../../../projects/tikal-ui-components/src/lib/components/empty-player-slot/empty-player-slot.ts","../../../projects/tikal-ui-components/src/lib/components/empty-player-slot/empty-player-slot.html","../../../projects/tikal-ui-components/src/lib/components/player-slot/player-slot.ts","../../../projects/tikal-ui-components/src/lib/components/player-slot/player-slot.html","../../../projects/tikal-ui-components/src/lib/components/player-slot-list/player-slot-list.ts","../../../projects/tikal-ui-components/src/lib/components/player-slot-list/player-slot-list.html","../../../projects/tikal-ui-components/src/lib/components/max-player-select/max-player-select.ts","../../../projects/tikal-ui-components/src/lib/components/max-player-select/max-player-select.html","../../../projects/tikal-ui-components/src/lib/components/nav-link/nav-link.ts","../../../projects/tikal-ui-components/src/lib/components/nav-link/nav-link.html","../../../projects/tikal-ui-components/src/lib/components/active-session-link/active-session-link.ts","../../../projects/tikal-ui-components/src/lib/components/active-session-link/active-session-link.html","../../../projects/tikal-ui-components/src/lib/components/header/header.ts","../../../projects/tikal-ui-components/src/lib/components/header/header.html"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'enumMap',\n})\nexport class EnumMapPipe<T> implements PipeTransform {\n transform(value: unknown, enumMap: object, defaultValue?: T): T {\n return enumMap[value as keyof typeof enumMap] ?? defaultValue ?? value;\n }\n}\n","import { Component, input, output } from '@angular/core';\nimport { PIcon, Spinner } from '@primeicons/angular';\nimport { ButtonModule } from 'primeng/button';\nimport { EnumMapPipe } from '../../../pipes/enum-map';\n\nexport type ButtonColour = 'primary' | 'secondary';\n\nexport type ButtonSize = 'small' | 'normal' | 'large';\n\nexport type ButtonType = 'button' | 'submit' | 'reset';\n\n@Component({\n selector: 'tikal-button',\n imports: [ButtonModule, PIcon, EnumMapPipe, Spinner],\n templateUrl: './button.html',\n styleUrl: './button.scss',\n})\nexport class ButtonComponent {\n /** What icon should the button display? */\n readonly icon = input<string>('');\n\n /** What colour should the button be? */\n readonly colour = input<ButtonColour>('primary');\n\n /** What size should the button be? */\n readonly size = input<ButtonSize>('normal');\n\n /** @ignore */\n readonly sizeMap = {\n normal: undefined,\n };\n\n /** What text should the button display? */\n readonly label = input<string>();\n\n /** How should assistive technology announce the button? Required for buttons without a label. */\n readonly ariaLabel = input<string>();\n\n /** Is the action related to the button currently running? */\n readonly isLoading = input<boolean>(false);\n\n /** Should the button have an outline? */\n readonly outline = input<boolean>(false);\n\n /** What type should the button be? */\n readonly type = input<ButtonType>('button');\n\n /** Should the button only appear as text? */\n readonly text = input<boolean>(false);\n\n /** @ignore */\n readonly clicked = output<void>();\n\n /** What form should the button belong to? */\n readonly form = input<string>();\n}\n","<button\n pButton\n [attr.aria-label]=\"ariaLabel()\"\n [attr.form]=\"form()\"\n [disabled]=\"isLoading()\"\n [iconOnly]=\"!label()\"\n [outlined]=\"outline()\"\n [severity]=\"colour()\"\n [size]=\"size() | enumMap: sizeMap\"\n [type]=\"type()\"\n [variant]=\"text() ? 'text' : undefined\"\n (click)=\"clicked.emit()\"\n>\n @if (isLoading()) {\n <svg data-p-icon=\"spinner\" [spin]=\"true\"></svg>\n } @else if (icon()) {\n <svg [pIcon]=\"icon()\"></svg>\n }\n {{ label() }}\n</button>\n","import { Component, model, input } from '@angular/core';\nimport { FormValueControl } from '@angular/forms/signals';\nimport { InputTextModule } from 'primeng/inputtext';\n\n@Component({\n selector: 'tikal-input',\n imports: [InputTextModule],\n templateUrl: './input.html',\n styleUrl: './input.scss',\n})\nexport class InputComponent implements FormValueControl<string> {\n /** What value should the input have */\n readonly value = model('');\n\n /** Should the input be disabled */\n readonly disabled = input<boolean>(false);\n\n /** Is the content of the input invalid? */\n readonly invalid = input<boolean>(false);\n\n /** Is the input required? */\n readonly required = input<boolean>(false);\n\n /** Was the input touched */\n readonly touched = input<boolean>(false);\n\n /** What is the max input length? */\n readonly maxLength = input<number>();\n\n /** What is the label of the input element? */\n readonly label = input<string>();\n\n /** What placeholder should the input display? */\n readonly placeholder = input<string>();\n\n /** Should the input take the full widht? */\n readonly expand = input<boolean>(false);\n}\n","<input\n pInputText\n [ariaLabel]=\"label()\"\n [class.full-length]=\"expand()\"\n [disabled]=\"disabled()\"\n [invalid]=\"invalid() && touched()\"\n [maxLength]=\"maxLength()\"\n [placeholder]=\"placeholder()\"\n [required]=\"required()\"\n [value]=\"value()\"\n (input)=\"value.set($event.target.value)\"\n/>\n","import { Component, input, signal } from '@angular/core';\nimport { disabled, form, required, FormRoot, FormField, maxLength } from '@angular/forms/signals';\nimport { InputComponent } from '../input/input';\nimport { ButtonComponent } from '../button/button';\n\ntype ChatFormData = {\n message: string;\n};\n\n@Component({\n selector: 'tikal-chat-form',\n imports: [FormRoot, FormField, InputComponent, ButtonComponent],\n templateUrl: './chat-form.html',\n styleUrl: './chat-form.scss',\n})\nexport class ChatFormComponent {\n /** @ignore */\n private readonly chatFormData = signal<ChatFormData>({ message: '' });\n\n /** What should happen when the form is submitted? */\n readonly onSubmission = input.required<(message: string) => Promise<void>>();\n\n /** What placeholder should be displayed on the input? */\n readonly placeholder = input<string>();\n\n /** What is the max input length? */\n readonly maxLength = input<number>(50);\n\n /** What is the label of the input element? */\n readonly label = input<string>();\n\n /** @ignore */\n readonly chatForm = form(\n this.chatFormData,\n (schemaPath) => {\n required(schemaPath.message);\n maxLength(schemaPath.message, () => this.maxLength());\n disabled(schemaPath, { when: () => this.chatForm().submitting() });\n },\n {\n submission: {\n action: async (field) => {\n const message = field().value().message;\n\n await this.onSubmission()(message);\n\n field.message().reset('');\n },\n },\n },\n );\n}\n","<form [formRoot]=\"chatForm\">\n <tikal-input [formField]=\"chatForm.message\" [label]=\"label()\" [placeholder]=\"placeholder()\" />\n <tikal-button icon=\"send\" type=\"submit\" [isLoading]=\"chatForm().submitting()\" />\n</form>\n","import { Component } from '@angular/core';\nimport { SkeletonModule } from 'primeng/skeleton';\n\n@Component({\n selector: 'tikal-skeleton',\n imports: [SkeletonModule],\n templateUrl: './skeleton.html',\n styleUrl: './skeleton.scss',\n})\nexport class SkeletonComponent {}\n","<p-skeleton />\n","import { Component, input } from '@angular/core';\n\n@Component({\n selector: 'tikal-player-count',\n imports: [],\n templateUrl: './player-count.html',\n styleUrl: './player-count.scss',\n})\nexport class PlayerCountComponent {\n /** How many players are currently in the lobby? */\n readonly currentPlayers = input.required<number>();\n\n /** How many players fit in the lobby? */\n readonly maxPlayers = input.required<number>();\n}\n","<p>{{ currentPlayers() }}/{{ maxPlayers() }}</p>\n<div class=\"bar\">\n <div\n class=\"bar-fill\"\n [class.full]=\"currentPlayers() >= maxPlayers()\"\n [style.width]=\"(currentPlayers() / maxPlayers()) * 100 + '%'\"\n ></div>\n</div>\n","import { Component, input } from '@angular/core';\nimport { ChipModule } from 'primeng/chip';\nimport { PIcon } from '@primeicons/angular';\n\n@Component({\n selector: 'tikal-chip',\n imports: [ChipModule, PIcon],\n templateUrl: './chip.html',\n styleUrl: './chip.scss',\n})\nexport class ChipComponent {\n /** What icon should the chip display? */\n readonly icon = input<string>('');\n\n /** What text should the chip display? */\n readonly label = input.required<string>();\n}\n","<p-chip [label]=\"label()\">\n @if (icon()) {\n <svg [pIcon]=\"icon()\"></svg>\n }\n</p-chip>\n","import { Component, input } from '@angular/core';\nimport { TranslocoDirective } from '@jsverse/transloco';\nimport { SkeletonComponent } from '../skeleton/skeleton';\n\n@Component({\n selector: 'tikal-empty-player-slot',\n imports: [TranslocoDirective, SkeletonComponent],\n templateUrl: './empty-player-slot.html',\n styleUrl: './empty-player-slot.scss',\n})\nexport class EmptyPlayerSlotComponent {\n /** Is the player currently loading? */\n readonly isLoading = input<boolean>(false);\n}\n","@if (isLoading()) {\n <tikal-skeleton />\n} @else {\n <ng-container *transloco=\"let t; prefix: 'empty-player-slot'\">\n <span class=\"dot\"></span>\n <p>{{ t('open-slot') }}</p>\n </ng-container>\n}\n","import { Component, input } from '@angular/core';\nimport { EnumMapPipe } from '../../../pipes/enum-map';\nimport { Crown } from '@primeicons/angular/crown';\nimport { TranslocoDirective } from '@jsverse/transloco';\n\nexport type PlayerColour = 'red' | 'black' | 'green' | 'blue' | 'yellow';\n\n@Component({\n selector: 'tikal-player-slot',\n imports: [EnumMapPipe, Crown, TranslocoDirective],\n templateUrl: './player-slot.html',\n styleUrl: './player-slot.scss',\n})\nexport class PlayerSlotComponent {\n /** What is the name of the player? */\n readonly name = input.required<string>();\n\n /** What is the colour of the player? */\n readonly colour = input.required<PlayerColour>();\n\n /** Is the player ready? */\n readonly isReady = input.required<boolean>();\n\n /** Is the player an owner of the lobby? */\n readonly isOwner = input.required<boolean>();\n\n /** Is the player the currently authenticated user? */\n readonly isMe = input.required<boolean>();\n\n /** @ignore */\n readonly colourMap = {\n red: 'var(--p-red-500)',\n green: 'var(--p-green-500)',\n blue: 'var(--p-blue-500)',\n yellow: 'var(--p-yellow-500)',\n };\n}\n","<ng-container *transloco=\"let t; prefix: 'player-slot'\">\n <div class=\"main-group\">\n <span class=\"dot\" [style.background-color]=\"colour() | enumMap: colourMap\"></span>\n <p>{{ name() }}</p>\n @if (isMe()) {\n <p>({{ t('you') }})</p>\n }\n @if (isOwner()) {\n <svg aria-label=\"crown\" color=\"var(--p-yellow-600)\" data-p-icon=\"crown\" [size]=\"20\"></svg>\n }\n </div>\n @if (isReady()) {\n <p class=\"ready\">{{ t('ready') }}</p>\n } @else {\n <p class=\"not-ready\">{{ t('not-ready') }}</p>\n }\n</ng-container>\n","import { Component, input } from '@angular/core';\nimport { PlayerColour, PlayerSlotComponent } from '../player-slot/player-slot';\nimport { EmptyPlayerSlotComponent } from '../empty-player-slot/empty-player-slot';\nimport { User } from '@primeicons/angular';\nimport { TranslocoDirective } from '@jsverse/transloco';\n\nexport type PlayerSlotData = {\n name: string;\n selectedColour: PlayerColour;\n isReady: boolean;\n isOwner: boolean;\n isMe: boolean;\n};\n\n@Component({\n selector: 'tikal-player-slot-list',\n imports: [PlayerSlotComponent, EmptyPlayerSlotComponent, User, TranslocoDirective],\n templateUrl: './player-slot-list.html',\n styleUrl: './player-slot-list.scss',\n})\nexport class PlayerSlotListComponent {\n /** How many players fit in the lobby? */\n readonly maxPlayers = input.required<number>();\n\n /** What players are currently in the lobby? */\n readonly players = input.required<PlayerSlotData[]>();\n\n /** Are the players currenlty loading? */\n readonly isLoading = input<boolean>(false);\n}\n","<ng-container *transloco=\"let t; prefix: 'player-slot-list'\">\n <div class=\"header\">\n <span>{{ t('players') }}</span>\n <svg aria-label=\"user\" data-p-icon=\"user\"></svg>\n <span>{{ players().length }}/{{ maxPlayers() }}</span>\n </div>\n <div class=\"players\">\n @if (isLoading()) {\n @for (empty of [].constructor(maxPlayers()); track $index) {\n <tikal-empty-player-slot [isLoading]=\"true\" />\n }\n } @else {\n @for (player of players(); track $index) {\n <tikal-player-slot\n [colour]=\"player.selectedColour\"\n [isMe]=\"player.isMe\"\n [isOwner]=\"player.isOwner\"\n [isReady]=\"player.isReady\"\n [name]=\"player.name\"\n />\n }\n @for (empty of [].constructor(maxPlayers() - players().length); track $index) {\n <tikal-empty-player-slot />\n }\n }\n </div>\n</ng-container>\n","import { Component, input, model } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { FormValueControl } from '@angular/forms/signals';\nimport { SelectButtonModule } from 'primeng/selectbutton';\n\n@Component({\n selector: 'tikal-max-player-select',\n imports: [SelectButtonModule, FormsModule],\n templateUrl: './max-player-select.html',\n styleUrl: './max-player-select.scss',\n})\nexport class MaxPlayerSelectComponent implements FormValueControl<number> {\n /** What value should the input have? */\n readonly value = model(3);\n\n /** Does the control hold an invalid value? */\n readonly invalid = input(false);\n\n /** @ignore */\n readonly options = [\n { label: '2', value: 2 },\n { label: '3', value: 3 },\n { label: '4', value: 4 },\n ];\n}\n","<p-selectbutton\n optionLabel=\"label\"\n optionValue=\"value\"\n [invalid]=\"invalid()\"\n [options]=\"options\"\n [(ngModel)]=\"value\"\n/>\n","import { Component, computed, input } from '@angular/core';\nimport { RouterLink, RouterLinkActive } from '@angular/router';\n\n@Component({\n selector: 'tikal-nav-link',\n imports: [RouterLink, RouterLinkActive],\n templateUrl: './nav-link.html',\n styleUrl: './nav-link.scss',\n})\nexport class NavLinkComponent {\n /** What text should the link display? */\n readonly label = input.required<string>();\n\n /** What route should the link navigate to? */\n readonly route = input.required<string | readonly unknown[]>();\n\n /** Should the link only be marked active when the route matches exactly (not for child routes)? */\n readonly exact = input<boolean>(false);\n\n /** @ignore */\n readonly activeOptions = computed(() => ({ exact: this.exact() }));\n}\n","<a\n ariaCurrentWhenActive=\"page\"\n routerLinkActive=\"active\"\n [routerLink]=\"route()\"\n [routerLinkActiveOptions]=\"activeOptions()\"\n >{{ label() }}</a\n>\n","import { Component, input } from '@angular/core';\nimport { RouterLink, RouterLinkActive } from '@angular/router';\nimport { ButtonModule } from 'primeng/button';\nimport { TranslocoDirective } from '@jsverse/transloco';\n\nexport type SessionType = 'lobby' | 'game';\n\n@Component({\n selector: 'tikal-active-session-link',\n imports: [RouterLink, RouterLinkActive, ButtonModule, TranslocoDirective],\n templateUrl: './active-session-link.html',\n styleUrl: './active-session-link.scss',\n})\nexport class ActiveSessionLinkComponent {\n /** Is the player in a lobby or in a game? */\n readonly type = input.required<SessionType>();\n\n /** What is the name of the lobby or game? */\n readonly name = input.required<string>();\n\n /** What route should the link navigate to? */\n readonly route = input.required<string | readonly unknown[]>();\n}\n","<a\n *transloco=\"let t; prefix: 'active-session-link'\"\n ariaCurrentWhenActive=\"page\"\n outlined\n pButton\n routerLinkActive=\"active\"\n severity=\"secondary\"\n [routerLink]=\"route()\"\n>\n <span aria-hidden=\"true\" class=\"dot\"></span>\n {{ t(type(), { name: name() }) }}\n</a>\n","import { Component, input, output } from '@angular/core';\nimport { RouterLink } from '@angular/router';\nimport { ButtonComponent } from '../button/button';\nimport { NavLinkComponent } from '../nav-link/nav-link';\n\nexport type HeaderLink = {\n label: string;\n route: string | readonly unknown[];\n exact?: boolean;\n};\n\n@Component({\n selector: 'tikal-header',\n imports: [RouterLink, NavLinkComponent, ButtonComponent],\n templateUrl: './header.html',\n styleUrl: './header.scss',\n})\nexport class HeaderComponent {\n /** What route should the brand link navigate to? */\n readonly homeRoute = input<string | readonly unknown[]>('/');\n\n /** What links should the main navigation display? */\n readonly links = input<readonly HeaderLink[]>([]);\n\n /** Is dark mode currently enabled? */\n readonly darkMode = input<boolean>(false);\n\n /** @ignore */\n readonly darkModeToggled = output<void>();\n}\n","<a class=\"brand\" [routerLink]=\"homeRoute()\">\n <span class=\"brand-name\">Tikal</span>\n</a>\n\n@if (links().length) {\n <nav aria-label=\"Navigation\">\n @for (link of links(); track link.label) {\n <tikal-nav-link [exact]=\"link.exact ?? false\" [label]=\"link.label\" [route]=\"link.route\" />\n }\n </nav>\n}\n\n<span class=\"spacer\"></span>\n\n<tikal-button\n colour=\"secondary\"\n [ariaLabel]=\"darkMode() ? 'switch-to-light' : 'switch-to-dark'\"\n [icon]=\"darkMode() ? 'sun' : 'moon'\"\n [text]=\"true\"\n (clicked)=\"darkModeToggled.emit()\"\n/>\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAKA,IAAa,cAAb,MAAa,YAAW;CACtB,UAAU,OAAgB,SAAiB,cAAgB;EACzD,OAAO,QAAQ,UAAkC,gBAAgB;CACnE;CAHW,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAW,MAAA,CAAA;EAAA,QAAA,GAAA,gBAAA;CAAA,CAAA;CAAX,OAAA,QAAA,GAAA,gBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAW,cAAA;EAAA,MAAA;CAAA,CAAA;;AAAX,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAW,YAAA,CAAA;EAHvB,MAAA;EAAK,MAAA,CAAA,EACJ,MAAM,UACP,CAAA;;;ACaD,IAAa,kBAAb,MAAa,gBAAe;CAEjB,OAAO,MAAc,IAAG,GAAA,YAAA,CAAA,EAAA,WAAA,OAAA,CAAA,+BAAA,CAAA,CAAA;CAGxB,SAAS,MAAoB,WAAU,GAAA,YAAA,CAAA,EAAA,WAAA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B5B;EAqBA,QAAA,CAAA,uRAAA;EAAA,cAAA;GAAA;IAAA,MAAA;IAAA,MDRY;IAAU,UAAA;IAAA,QAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;IAAA;GAAA;GAAA;IAAA,MAAA;IAAA,MAAE;IAAgB,UAAA;IAAA,QAAA;KAAA;KAAA;KAAA;IAAA;GAAA;GAAA;IAAA,MAAA;IAAA,MAAE;IAAe,UAAA;IAAA,QAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;IAAA;IAAA,SAAA,CAAA,SAAA;GAAA;EAAA;CAAA,CAAA;;AAI5C,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAe,YAAA,CAAA;EAN3B,MAAA;EACW,MAAA,CAAA;GAAA,UAAA;GAAc,SACf;IAAC;IAAY;IAAkB;GAAe;GAAC,UAAA;GAAA,QAAA,CAAA,uRAAA;EAAA,CAAA"}
1
+ {"version":3,"file":"tikal-ui-components.mjs","names":[],"sources":["../../../projects/tikal-ui-components/src/pipes/enum-map.ts","../../../projects/tikal-ui-components/src/lib/components/button/button.ts","../../../projects/tikal-ui-components/src/lib/components/button/button.html","../../../projects/tikal-ui-components/src/lib/components/input/input.ts","../../../projects/tikal-ui-components/src/lib/components/input/input.html","../../../projects/tikal-ui-components/src/lib/components/chat-form/chat-form.ts","../../../projects/tikal-ui-components/src/lib/components/chat-form/chat-form.html","../../../projects/tikal-ui-components/src/lib/components/chat-message/chat-message.ts","../../../projects/tikal-ui-components/src/lib/components/chat-message/chat-message.html","../../../projects/tikal-ui-components/src/lib/components/chat-message-list/chat-message-list.ts","../../../projects/tikal-ui-components/src/lib/components/chat-message-list/chat-message-list.html","../../../projects/tikal-ui-components/src/lib/components/skeleton/skeleton.ts","../../../projects/tikal-ui-components/src/lib/components/skeleton/skeleton.html","../../../projects/tikal-ui-components/src/lib/components/player-count/player-count.ts","../../../projects/tikal-ui-components/src/lib/components/player-count/player-count.html","../../../projects/tikal-ui-components/src/lib/components/chip/chip.ts","../../../projects/tikal-ui-components/src/lib/components/chip/chip.html","../../../projects/tikal-ui-components/src/lib/components/empty-player-slot/empty-player-slot.ts","../../../projects/tikal-ui-components/src/lib/components/empty-player-slot/empty-player-slot.html","../../../projects/tikal-ui-components/src/lib/components/player-slot/player-slot.ts","../../../projects/tikal-ui-components/src/lib/components/player-slot/player-slot.html","../../../projects/tikal-ui-components/src/lib/components/player-slot-list/player-slot-list.ts","../../../projects/tikal-ui-components/src/lib/components/player-slot-list/player-slot-list.html","../../../projects/tikal-ui-components/src/lib/components/max-player-select/max-player-select.ts","../../../projects/tikal-ui-components/src/lib/components/max-player-select/max-player-select.html","../../../projects/tikal-ui-components/src/lib/components/nav-link/nav-link.ts","../../../projects/tikal-ui-components/src/lib/components/nav-link/nav-link.html","../../../projects/tikal-ui-components/src/lib/components/active-session-link/active-session-link.ts","../../../projects/tikal-ui-components/src/lib/components/active-session-link/active-session-link.html","../../../projects/tikal-ui-components/src/lib/components/header/header.ts","../../../projects/tikal-ui-components/src/lib/components/header/header.html"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'enumMap',\n})\nexport class EnumMapPipe<T> implements PipeTransform {\n transform(value: unknown, enumMap: object, defaultValue?: T): T {\n return enumMap[value as keyof typeof enumMap] ?? defaultValue ?? value;\n }\n}\n","import { Component, input, output } from '@angular/core';\nimport { PIcon, Spinner } from '@primeicons/angular';\nimport { ButtonModule } from 'primeng/button';\nimport { EnumMapPipe } from '../../../pipes/enum-map';\n\nexport type ButtonColour = 'primary' | 'secondary';\n\nexport type ButtonSize = 'small' | 'normal' | 'large';\n\nexport type ButtonType = 'button' | 'submit' | 'reset';\n\n@Component({\n selector: 'tikal-button',\n imports: [ButtonModule, PIcon, EnumMapPipe, Spinner],\n templateUrl: './button.html',\n styleUrl: './button.scss',\n})\nexport class ButtonComponent {\n /** What icon should the button display? */\n readonly icon = input<string>('');\n\n /** What colour should the button be? */\n readonly colour = input<ButtonColour>('primary');\n\n /** What size should the button be? */\n readonly size = input<ButtonSize>('normal');\n\n /** @ignore */\n readonly sizeMap = {\n normal: undefined,\n };\n\n /** What text should the button display? */\n readonly label = input<string>();\n\n /** How should assistive technology announce the button? Required for buttons without a label. */\n readonly ariaLabel = input<string>();\n\n /** Is the action related to the button currently running? */\n readonly isLoading = input<boolean>(false);\n\n /** Should the button have an outline? */\n readonly outline = input<boolean>(false);\n\n /** What type should the button be? */\n readonly type = input<ButtonType>('button');\n\n /** Should the button only appear as text? */\n readonly text = input<boolean>(false);\n\n /** @ignore */\n readonly clicked = output<void>();\n\n /** What form should the button belong to? */\n readonly form = input<string>();\n}\n","<button\n pButton\n [attr.aria-label]=\"ariaLabel()\"\n [attr.form]=\"form()\"\n [disabled]=\"isLoading()\"\n [iconOnly]=\"!label()\"\n [outlined]=\"outline()\"\n [severity]=\"colour()\"\n [size]=\"size() | enumMap: sizeMap\"\n [type]=\"type()\"\n [variant]=\"text() ? 'text' : undefined\"\n (click)=\"clicked.emit()\"\n>\n @if (isLoading()) {\n <svg data-p-icon=\"spinner\" [spin]=\"true\"></svg>\n } @else if (icon()) {\n <svg [pIcon]=\"icon()\"></svg>\n }\n {{ label() }}\n</button>\n","import { Component, model, input } from '@angular/core';\nimport { FormValueControl } from '@angular/forms/signals';\nimport { InputTextModule } from 'primeng/inputtext';\n\n@Component({\n selector: 'tikal-input',\n imports: [InputTextModule],\n templateUrl: './input.html',\n styleUrl: './input.scss',\n})\nexport class InputComponent implements FormValueControl<string> {\n /** What value should the input have */\n readonly value = model('');\n\n /** Should the input be disabled */\n readonly disabled = input<boolean>(false);\n\n /** Is the content of the input invalid? */\n readonly invalid = input<boolean>(false);\n\n /** Is the input required? */\n readonly required = input<boolean>(false);\n\n /** Was the input touched */\n readonly touched = input<boolean>(false);\n\n /** What is the max input length? */\n readonly maxLength = input<number>();\n\n /** What is the label of the input element? */\n readonly label = input<string>();\n\n /** What placeholder should the input display? */\n readonly placeholder = input<string>();\n\n /** Should the input take the full widht? */\n readonly expand = input<boolean>(false);\n}\n","<input\n pInputText\n [ariaLabel]=\"label()\"\n [class.full-length]=\"expand()\"\n [disabled]=\"disabled()\"\n [invalid]=\"invalid() && touched()\"\n [maxLength]=\"maxLength()\"\n [placeholder]=\"placeholder()\"\n [required]=\"required()\"\n [value]=\"value()\"\n (input)=\"value.set($event.target.value)\"\n/>\n","import { Component, input, signal } from '@angular/core';\nimport { disabled, form, required, FormRoot, FormField, maxLength } from '@angular/forms/signals';\nimport { InputComponent } from '../input/input';\nimport { ButtonComponent } from '../button/button';\n\ntype ChatFormData = {\n message: string;\n};\n\n@Component({\n selector: 'tikal-chat-form',\n imports: [FormRoot, FormField, InputComponent, ButtonComponent],\n templateUrl: './chat-form.html',\n styleUrl: './chat-form.scss',\n})\nexport class ChatFormComponent {\n /** @ignore */\n private readonly chatFormData = signal<ChatFormData>({ message: '' });\n\n /** What should happen when the form is submitted? */\n readonly onSubmission = input.required<(message: string) => Promise<void>>();\n\n /** What placeholder should be displayed on the input? */\n readonly placeholder = input<string>();\n\n /** What is the max input length? */\n readonly maxLength = input<number>(50);\n\n /** What is the label of the input element? */\n readonly label = input<string>();\n\n /** @ignore */\n readonly chatForm = form(\n this.chatFormData,\n (schemaPath) => {\n required(schemaPath.message);\n maxLength(schemaPath.message, () => this.maxLength());\n disabled(schemaPath, { when: () => this.chatForm().submitting() });\n },\n {\n submission: {\n action: async (field) => {\n const message = field().value().message;\n\n await this.onSubmission()(message);\n\n field.message().reset('');\n },\n },\n },\n );\n}\n","<form [formRoot]=\"chatForm\">\n <tikal-input [formField]=\"chatForm.message\" [label]=\"label()\" [placeholder]=\"placeholder()\" />\n <tikal-button icon=\"send\" type=\"submit\" [isLoading]=\"chatForm().submitting()\" />\n</form>\n","import { Component, input } from '@angular/core';\nimport { MessageModule } from 'primeng/message';\nimport { EnumMapPipe } from '../../../pipes/enum-map';\n\nexport type ChatMessageOrigin = 'Me' | 'Opponent';\n\n@Component({\n selector: 'tikal-chat-message',\n imports: [MessageModule, EnumMapPipe],\n templateUrl: './chat-message.html',\n styleUrl: './chat-message.scss',\n})\nexport class ChatMessageComponent {\n /** What is the message that should be displayed? */\n readonly message = input.required<string>();\n\n /** Who sent the message? */\n readonly sender = input<ChatMessageOrigin>('Opponent');\n\n /** @ignore */\n readonly typeMap = {\n Me: 'contrast',\n Opponent: 'secondary',\n };\n}\n","<p-message [severity]=\"sender() | enumMap: typeMap\">{{ message() }}</p-message>\n","import { Component, input } from '@angular/core';\nimport { ScrollerModule } from 'primeng/scroller';\nimport { ChatMessageOrigin, ChatMessageComponent } from '../chat-message/chat-message';\n\nexport type ChatMessageData = {\n message: string;\n origin: ChatMessageOrigin;\n};\n\n@Component({\n selector: 'tikal-chat-message-list',\n imports: [ScrollerModule, ChatMessageComponent],\n templateUrl: './chat-message-list.html',\n styleUrl: './chat-message-list.scss',\n})\nexport class ChatMessageListComponent {\n /** What messages have been sent? */\n readonly messages = input<ChatMessageData[]>([]);\n}\n","<p-scroller [itemSize]=\"50\" [items]=\"messages()\">\n <ng-template #item let-item let-options=\"options\">\n <div class=\"row\" [class.me]=\"item.origin === 'Me'\">\n <tikal-chat-message class=\"message\" [message]=\"item.message\" [sender]=\"item.origin\" />\n </div>\n </ng-template>\n</p-scroller>\n","import { Component } from '@angular/core';\nimport { SkeletonModule } from 'primeng/skeleton';\n\n@Component({\n selector: 'tikal-skeleton',\n imports: [SkeletonModule],\n templateUrl: './skeleton.html',\n styleUrl: './skeleton.scss',\n})\nexport class SkeletonComponent {}\n","<p-skeleton />\n","import { Component, input } from '@angular/core';\n\n@Component({\n selector: 'tikal-player-count',\n imports: [],\n templateUrl: './player-count.html',\n styleUrl: './player-count.scss',\n})\nexport class PlayerCountComponent {\n /** How many players are currently in the lobby? */\n readonly currentPlayers = input.required<number>();\n\n /** How many players fit in the lobby? */\n readonly maxPlayers = input.required<number>();\n}\n","<p>{{ currentPlayers() }}/{{ maxPlayers() }}</p>\n<div class=\"bar\">\n <div\n class=\"bar-fill\"\n [class.full]=\"currentPlayers() >= maxPlayers()\"\n [style.width]=\"(currentPlayers() / maxPlayers()) * 100 + '%'\"\n ></div>\n</div>\n","import { Component, input } from '@angular/core';\nimport { ChipModule } from 'primeng/chip';\nimport { PIcon } from '@primeicons/angular';\n\n@Component({\n selector: 'tikal-chip',\n imports: [ChipModule, PIcon],\n templateUrl: './chip.html',\n styleUrl: './chip.scss',\n})\nexport class ChipComponent {\n /** What icon should the chip display? */\n readonly icon = input<string>('');\n\n /** What text should the chip display? */\n readonly label = input.required<string>();\n}\n","<p-chip [label]=\"label()\">\n @if (icon()) {\n <svg [pIcon]=\"icon()\"></svg>\n }\n</p-chip>\n","import { Component, input } from '@angular/core';\nimport { TranslocoDirective } from '@jsverse/transloco';\nimport { SkeletonComponent } from '../skeleton/skeleton';\n\n@Component({\n selector: 'tikal-empty-player-slot',\n imports: [TranslocoDirective, SkeletonComponent],\n templateUrl: './empty-player-slot.html',\n styleUrl: './empty-player-slot.scss',\n})\nexport class EmptyPlayerSlotComponent {\n /** Is the player currently loading? */\n readonly isLoading = input<boolean>(false);\n}\n","@if (isLoading()) {\n <tikal-skeleton />\n} @else {\n <ng-container *transloco=\"let t; prefix: 'empty-player-slot'\">\n <span class=\"dot\"></span>\n <p>{{ t('open-slot') }}</p>\n </ng-container>\n}\n","import { Component, input } from '@angular/core';\nimport { EnumMapPipe } from '../../../pipes/enum-map';\nimport { Crown } from '@primeicons/angular/crown';\nimport { TranslocoDirective } from '@jsverse/transloco';\n\nexport type PlayerColour = 'red' | 'black' | 'green' | 'blue' | 'yellow';\n\n@Component({\n selector: 'tikal-player-slot',\n imports: [EnumMapPipe, Crown, TranslocoDirective],\n templateUrl: './player-slot.html',\n styleUrl: './player-slot.scss',\n})\nexport class PlayerSlotComponent {\n /** What is the name of the player? */\n readonly name = input.required<string>();\n\n /** What is the colour of the player? */\n readonly colour = input.required<PlayerColour>();\n\n /** Is the player ready? */\n readonly isReady = input.required<boolean>();\n\n /** Is the player an owner of the lobby? */\n readonly isOwner = input.required<boolean>();\n\n /** Is the player the currently authenticated user? */\n readonly isMe = input.required<boolean>();\n\n /** @ignore */\n readonly colourMap = {\n red: 'var(--p-red-500)',\n green: 'var(--p-green-500)',\n blue: 'var(--p-blue-500)',\n yellow: 'var(--p-yellow-500)',\n };\n}\n","<ng-container *transloco=\"let t; prefix: 'player-slot'\">\n <div class=\"main-group\">\n <span class=\"dot\" [style.background-color]=\"colour() | enumMap: colourMap\"></span>\n <p>{{ name() }}</p>\n @if (isMe()) {\n <p>({{ t('you') }})</p>\n }\n @if (isOwner()) {\n <svg aria-label=\"crown\" color=\"var(--p-yellow-600)\" data-p-icon=\"crown\" [size]=\"20\"></svg>\n }\n </div>\n @if (isReady()) {\n <p class=\"ready\">{{ t('ready') }}</p>\n } @else {\n <p class=\"not-ready\">{{ t('not-ready') }}</p>\n }\n</ng-container>\n","import { Component, input } from '@angular/core';\nimport { PlayerColour, PlayerSlotComponent } from '../player-slot/player-slot';\nimport { EmptyPlayerSlotComponent } from '../empty-player-slot/empty-player-slot';\nimport { User } from '@primeicons/angular';\nimport { TranslocoDirective } from '@jsverse/transloco';\n\nexport type PlayerSlotData = {\n name: string;\n selectedColour: PlayerColour;\n isReady: boolean;\n isOwner: boolean;\n isMe: boolean;\n};\n\n@Component({\n selector: 'tikal-player-slot-list',\n imports: [PlayerSlotComponent, EmptyPlayerSlotComponent, User, TranslocoDirective],\n templateUrl: './player-slot-list.html',\n styleUrl: './player-slot-list.scss',\n})\nexport class PlayerSlotListComponent {\n /** How many players fit in the lobby? */\n readonly maxPlayers = input.required<number>();\n\n /** What players are currently in the lobby? */\n readonly players = input.required<PlayerSlotData[]>();\n\n /** Are the players currenlty loading? */\n readonly isLoading = input<boolean>(false);\n}\n","<ng-container *transloco=\"let t; prefix: 'player-slot-list'\">\n <div class=\"header\">\n <span>{{ t('players') }}</span>\n <svg aria-label=\"user\" data-p-icon=\"user\"></svg>\n <span>{{ players().length }}/{{ maxPlayers() }}</span>\n </div>\n <div class=\"players\">\n @if (isLoading()) {\n @for (empty of [].constructor(maxPlayers()); track $index) {\n <tikal-empty-player-slot [isLoading]=\"true\" />\n }\n } @else {\n @for (player of players(); track $index) {\n <tikal-player-slot\n [colour]=\"player.selectedColour\"\n [isMe]=\"player.isMe\"\n [isOwner]=\"player.isOwner\"\n [isReady]=\"player.isReady\"\n [name]=\"player.name\"\n />\n }\n @for (empty of [].constructor(maxPlayers() - players().length); track $index) {\n <tikal-empty-player-slot />\n }\n }\n </div>\n</ng-container>\n","import { Component, input, model } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { FormValueControl } from '@angular/forms/signals';\nimport { SelectButtonModule } from 'primeng/selectbutton';\n\n@Component({\n selector: 'tikal-max-player-select',\n imports: [SelectButtonModule, FormsModule],\n templateUrl: './max-player-select.html',\n styleUrl: './max-player-select.scss',\n})\nexport class MaxPlayerSelectComponent implements FormValueControl<number> {\n /** What value should the input have? */\n readonly value = model(3);\n\n /** Does the control hold an invalid value? */\n readonly invalid = input(false);\n\n /** @ignore */\n readonly options = [\n { label: '2', value: 2 },\n { label: '3', value: 3 },\n { label: '4', value: 4 },\n ];\n}\n","<p-selectbutton\n optionLabel=\"label\"\n optionValue=\"value\"\n [invalid]=\"invalid()\"\n [options]=\"options\"\n [(ngModel)]=\"value\"\n/>\n","import { Component, computed, input } from '@angular/core';\nimport { RouterLink, RouterLinkActive } from '@angular/router';\n\n@Component({\n selector: 'tikal-nav-link',\n imports: [RouterLink, RouterLinkActive],\n templateUrl: './nav-link.html',\n styleUrl: './nav-link.scss',\n})\nexport class NavLinkComponent {\n /** What text should the link display? */\n readonly label = input.required<string>();\n\n /** What route should the link navigate to? */\n readonly route = input.required<string | readonly unknown[]>();\n\n /** Should the link only be marked active when the route matches exactly (not for child routes)? */\n readonly exact = input<boolean>(false);\n\n /** @ignore */\n readonly activeOptions = computed(() => ({ exact: this.exact() }));\n}\n","<a\n ariaCurrentWhenActive=\"page\"\n routerLinkActive=\"active\"\n [routerLink]=\"route()\"\n [routerLinkActiveOptions]=\"activeOptions()\"\n >{{ label() }}</a\n>\n","import { Component, input } from '@angular/core';\nimport { RouterLink, RouterLinkActive } from '@angular/router';\nimport { ButtonModule } from 'primeng/button';\nimport { TranslocoDirective } from '@jsverse/transloco';\n\nexport type SessionType = 'lobby' | 'game';\n\n@Component({\n selector: 'tikal-active-session-link',\n imports: [RouterLink, RouterLinkActive, ButtonModule, TranslocoDirective],\n templateUrl: './active-session-link.html',\n styleUrl: './active-session-link.scss',\n})\nexport class ActiveSessionLinkComponent {\n /** Is the player in a lobby or in a game? */\n readonly type = input.required<SessionType>();\n\n /** What is the name of the lobby or game? */\n readonly name = input.required<string>();\n\n /** What route should the link navigate to? */\n readonly route = input.required<string | readonly unknown[]>();\n}\n","<a\n *transloco=\"let t; prefix: 'active-session-link'\"\n ariaCurrentWhenActive=\"page\"\n outlined\n pButton\n routerLinkActive=\"active\"\n severity=\"secondary\"\n [routerLink]=\"route()\"\n>\n <span aria-hidden=\"true\" class=\"dot\"></span>\n {{ t(type(), { name: name() }) }}\n</a>\n","import { Component, input, output } from '@angular/core';\nimport { RouterLink } from '@angular/router';\nimport { ButtonComponent } from '../button/button';\nimport { NavLinkComponent } from '../nav-link/nav-link';\n\nexport type HeaderLink = {\n label: string;\n route: string | readonly unknown[];\n exact?: boolean;\n};\n\n@Component({\n selector: 'tikal-header',\n imports: [RouterLink, NavLinkComponent, ButtonComponent],\n templateUrl: './header.html',\n styleUrl: './header.scss',\n})\nexport class HeaderComponent {\n /** What route should the brand link navigate to? */\n readonly homeRoute = input<string | readonly unknown[]>('/');\n\n /** What links should the main navigation display? */\n readonly links = input<readonly HeaderLink[]>([]);\n\n /** Is dark mode currently enabled? */\n readonly darkMode = input<boolean>(false);\n\n /** @ignore */\n readonly darkModeToggled = output<void>();\n}\n","<a class=\"brand\" [routerLink]=\"homeRoute()\">\n <span class=\"brand-name\">Tikal</span>\n</a>\n\n@if (links().length) {\n <nav aria-label=\"Navigation\">\n @for (link of links(); track link.label) {\n <tikal-nav-link [exact]=\"link.exact ?? false\" [label]=\"link.label\" [route]=\"link.route\" />\n }\n </nav>\n}\n\n<span class=\"spacer\"></span>\n\n<tikal-button\n colour=\"secondary\"\n [ariaLabel]=\"darkMode() ? 'switch-to-light' : 'switch-to-dark'\"\n [icon]=\"darkMode() ? 'sun' : 'moon'\"\n [text]=\"true\"\n (clicked)=\"darkModeToggled.emit()\"\n/>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAKA,IAAa,cAAb,MAAa,YAAW;CACtB,UAAU,OAAgB,SAAiB,cAAgB;EACzD,OAAO,QAAQ,UAAkC,gBAAgB;CACnE;CAHW,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAW,MAAA,CAAA;EAAA,QAAA,GAAA,gBAAA;CAAA,CAAA;CAAX,OAAA,QAAA,GAAA,gBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAW,cAAA;EAAA,MAAA;CAAA,CAAA;;AAAX,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAW,YAAA,CAAA;EAHvB,MAAA;EAAK,MAAA,CAAA,EACJ,MAAM,UACP,CAAA;;;ACaD,IAAa,kBAAb,MAAa,gBAAe;CAEjB,OAAO,MAAc,IAAG,GAAA,YAAA,CAAA,EAAA,WAAA,OAAA,CAAA,+BAAA,CAAA,CAAA;CAGxB,SAAS,MAAoB,WAAU,GAAA,YAAA,CAAA,EAAA,WAAA,SAAA,CAAA,+BAAA,CAAA,CAAA;CAGvC,OAAO,MAAkB,UAAS,GAAA,YAAA,CAAA,EAAA,WAAA,OAAA,CAAA,+BAAA,CAAA,CAAA;CAGlC,UAAU,EACjB,QAAQ,OACT;CAGQ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AAe,UAAA;IAAA,QAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;IAAA;IAAA,SAAA,CAAA,SAAA;GAAA;EAAA;CAAA,CAAA;;AAI5C,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAe,YAAA,CAAA;EAN3B,MAAA;EACW,MAAA,CAAA;GAAA,UAAA;GAAc,SACf;IAAC;IAAY;IAAkB;GAAe;GAAC,UAAA;GAAA,QAAA,CAAA,uRAAA;EAAA,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tikal-ui-components",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/Tikal-online/tikal-game.git"
@@ -196,6 +196,47 @@ export declare class ChatFormComponent {
196
196
  };
197
197
  }, {}, never, never, true, never>;
198
198
  }
199
+ export type ChatMessageOrigin = 'Me' | 'Opponent';
200
+ export declare class ChatMessageComponent {
201
+ /** What is the message that should be displayed? */
202
+ readonly message: import("@angular/core").InputSignal<string>;
203
+ /** Who sent the message? */
204
+ readonly sender: import("@angular/core").InputSignal<ChatMessageOrigin>;
205
+ /** @ignore */
206
+ readonly typeMap: {
207
+ Me: string;
208
+ Opponent: string;
209
+ };
210
+ static ɵfac: i0.ɵɵFactoryDeclaration<ChatMessageComponent, never>;
211
+ static ɵcmp: i0.ɵɵComponentDeclaration<ChatMessageComponent, "tikal-chat-message", never, {
212
+ "message": {
213
+ "alias": "message";
214
+ "required": true;
215
+ "isSignal": true;
216
+ };
217
+ "sender": {
218
+ "alias": "sender";
219
+ "required": false;
220
+ "isSignal": true;
221
+ };
222
+ }, {}, never, never, true, never>;
223
+ }
224
+ export type ChatMessageData = {
225
+ message: string;
226
+ origin: ChatMessageOrigin;
227
+ };
228
+ export declare class ChatMessageListComponent {
229
+ /** What messages have been sent? */
230
+ readonly messages: import("@angular/core").InputSignal<ChatMessageData[]>;
231
+ static ɵfac: i0.ɵɵFactoryDeclaration<ChatMessageListComponent, never>;
232
+ static ɵcmp: i0.ɵɵComponentDeclaration<ChatMessageListComponent, "tikal-chat-message-list", never, {
233
+ "messages": {
234
+ "alias": "messages";
235
+ "required": false;
236
+ "isSignal": true;
237
+ };
238
+ }, {}, never, never, true, never>;
239
+ }
199
240
  export declare class SkeletonComponent {
200
241
  static ɵfac: i0.ɵɵFactoryDeclaration<SkeletonComponent, never>;
201
242
  static ɵcmp: i0.ɵɵComponentDeclaration<SkeletonComponent, "tikal-skeleton", never, {}, {}, never, never, true, never>;