tikal-ui-components 1.7.0 → 1.8.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.
|
@@ -1195,10 +1195,11 @@ var PlayerSlotComponent = class PlayerSlotComponent {
|
|
|
1195
1195
|
isOwner = input.required(...ngDevMode ? [{ debugName: "isOwner" }] : /* istanbul ignore next */ []);
|
|
1196
1196
|
isMe = input.required(...ngDevMode ? [{ debugName: "isMe" }] : /* istanbul ignore next */ []);
|
|
1197
1197
|
colourMap = {
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1198
|
+
Red: "var(--p-red-500)",
|
|
1199
|
+
Black: "var(--p-surface-900)",
|
|
1200
|
+
Green: "var(--p-green-500)",
|
|
1201
|
+
Blue: "var(--p-blue-500)",
|
|
1202
|
+
Yellow: "var(--p-yellow-500)"
|
|
1202
1203
|
};
|
|
1203
1204
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1204
1205
|
minVersion: "12.0.0",
|
|
@@ -1349,6 +1350,139 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1349
1350
|
}]
|
|
1350
1351
|
}
|
|
1351
1352
|
});
|
|
1353
|
+
var PlayerCardComponent = class PlayerCardComponent {
|
|
1354
|
+
name = input.required(...ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []);
|
|
1355
|
+
colour = input.required(...ngDevMode ? [{ debugName: "colour" }] : /* istanbul ignore next */ []);
|
|
1356
|
+
points = input.required(...ngDevMode ? [{ debugName: "points" }] : /* istanbul ignore next */ []);
|
|
1357
|
+
isMe = input.required(...ngDevMode ? [{ debugName: "isMe" }] : /* istanbul ignore next */ []);
|
|
1358
|
+
colourMap = {
|
|
1359
|
+
Red: "var(--p-red-500)",
|
|
1360
|
+
Black: "var(--p-surface-900)",
|
|
1361
|
+
Green: "var(--p-green-500)",
|
|
1362
|
+
Blue: "var(--p-blue-500)",
|
|
1363
|
+
Yellow: "var(--p-yellow-500)"
|
|
1364
|
+
};
|
|
1365
|
+
colourValue = computed(() => this.colourMap[this.colour()], ...ngDevMode ? [{ debugName: "colourValue" }] : /* istanbul ignore next */ []);
|
|
1366
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1367
|
+
minVersion: "12.0.0",
|
|
1368
|
+
version: "22.2.3",
|
|
1369
|
+
ngImport: i0,
|
|
1370
|
+
type: PlayerCardComponent,
|
|
1371
|
+
deps: [],
|
|
1372
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
1373
|
+
});
|
|
1374
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
1375
|
+
minVersion: "17.0.0",
|
|
1376
|
+
version: "22.2.3",
|
|
1377
|
+
type: PlayerCardComponent,
|
|
1378
|
+
isStandalone: true,
|
|
1379
|
+
selector: "tikal-player-card",
|
|
1380
|
+
inputs: {
|
|
1381
|
+
name: {
|
|
1382
|
+
classPropertyName: "name",
|
|
1383
|
+
publicName: "name",
|
|
1384
|
+
isSignal: true,
|
|
1385
|
+
isRequired: true,
|
|
1386
|
+
transformFunction: null
|
|
1387
|
+
},
|
|
1388
|
+
colour: {
|
|
1389
|
+
classPropertyName: "colour",
|
|
1390
|
+
publicName: "colour",
|
|
1391
|
+
isSignal: true,
|
|
1392
|
+
isRequired: true,
|
|
1393
|
+
transformFunction: null
|
|
1394
|
+
},
|
|
1395
|
+
points: {
|
|
1396
|
+
classPropertyName: "points",
|
|
1397
|
+
publicName: "points",
|
|
1398
|
+
isSignal: true,
|
|
1399
|
+
isRequired: true,
|
|
1400
|
+
transformFunction: null
|
|
1401
|
+
},
|
|
1402
|
+
isMe: {
|
|
1403
|
+
classPropertyName: "isMe",
|
|
1404
|
+
publicName: "isMe",
|
|
1405
|
+
isSignal: true,
|
|
1406
|
+
isRequired: true,
|
|
1407
|
+
transformFunction: null
|
|
1408
|
+
}
|
|
1409
|
+
},
|
|
1410
|
+
host: { properties: {
|
|
1411
|
+
"class.me": "isMe()",
|
|
1412
|
+
"style.--player-colour": "colourValue()"
|
|
1413
|
+
} },
|
|
1414
|
+
ngImport: i0,
|
|
1415
|
+
template: "<ng-container *transloco=\"let t; prefix: 'player-card'\">\n <span class=\"dot\"></span>\n <p class=\"name\">\n {{ name() }}\n @if (isMe()) {\n <span class=\"me-label\">({{ t('you') }})</span>\n }\n </p>\n <p class=\"points\">\n <strong>{{ points() }}</strong>\n <span class=\"unit\">{{ t('points') }}</span>\n </p>\n</ng-container>\n",
|
|
1416
|
+
styles: [":host{display:flex;flex-direction:row;align-items:center;gap:.75rem;padding:.75rem 1rem;border:1px solid var(--p-content-border-color);border-radius:var(--p-content-border-radius);background-color:var(--p-content-background);box-shadow:inset .25rem 0 0 var(--player-colour)}:host(.me){border-color:var(--p-primary-color)}.dot{flex:none;width:.75rem;height:.75rem;border-radius:50%;background-color:var(--player-colour)}.name{min-width:0;font-weight:600;overflow-wrap:anywhere}.me-label{color:var(--p-text-muted-color);font-weight:400}.points{display:flex;flex-direction:row;align-items:baseline;gap:.25rem;margin-left:auto}.points strong{font-size:1.375rem}.unit{color:var(--p-text-muted-color);font-size:.8125rem}p{margin:0}\n"],
|
|
1417
|
+
dependencies: [{
|
|
1418
|
+
kind: "directive",
|
|
1419
|
+
type: TranslocoDirective,
|
|
1420
|
+
selector: "[transloco]",
|
|
1421
|
+
inputs: [
|
|
1422
|
+
"transloco",
|
|
1423
|
+
"translocoParams",
|
|
1424
|
+
"translocoScope",
|
|
1425
|
+
"translocoRead",
|
|
1426
|
+
"translocoPrefix",
|
|
1427
|
+
"translocoLang",
|
|
1428
|
+
"translocoLoadingTpl"
|
|
1429
|
+
]
|
|
1430
|
+
}]
|
|
1431
|
+
});
|
|
1432
|
+
};
|
|
1433
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
1434
|
+
minVersion: "12.0.0",
|
|
1435
|
+
version: "22.2.3",
|
|
1436
|
+
ngImport: i0,
|
|
1437
|
+
type: PlayerCardComponent,
|
|
1438
|
+
decorators: [{
|
|
1439
|
+
type: Component,
|
|
1440
|
+
args: [{
|
|
1441
|
+
selector: "tikal-player-card",
|
|
1442
|
+
imports: [TranslocoDirective],
|
|
1443
|
+
host: {
|
|
1444
|
+
"[class.me]": "isMe()",
|
|
1445
|
+
"[style.--player-colour]": "colourValue()"
|
|
1446
|
+
},
|
|
1447
|
+
template: "<ng-container *transloco=\"let t; prefix: 'player-card'\">\n <span class=\"dot\"></span>\n <p class=\"name\">\n {{ name() }}\n @if (isMe()) {\n <span class=\"me-label\">({{ t('you') }})</span>\n }\n </p>\n <p class=\"points\">\n <strong>{{ points() }}</strong>\n <span class=\"unit\">{{ t('points') }}</span>\n </p>\n</ng-container>\n",
|
|
1448
|
+
styles: [":host{display:flex;flex-direction:row;align-items:center;gap:.75rem;padding:.75rem 1rem;border:1px solid var(--p-content-border-color);border-radius:var(--p-content-border-radius);background-color:var(--p-content-background);box-shadow:inset .25rem 0 0 var(--player-colour)}:host(.me){border-color:var(--p-primary-color)}.dot{flex:none;width:.75rem;height:.75rem;border-radius:50%;background-color:var(--player-colour)}.name{min-width:0;font-weight:600;overflow-wrap:anywhere}.me-label{color:var(--p-text-muted-color);font-weight:400}.points{display:flex;flex-direction:row;align-items:baseline;gap:.25rem;margin-left:auto}.points strong{font-size:1.375rem}.unit{color:var(--p-text-muted-color);font-size:.8125rem}p{margin:0}\n"]
|
|
1449
|
+
}]
|
|
1450
|
+
}],
|
|
1451
|
+
propDecorators: {
|
|
1452
|
+
name: [{
|
|
1453
|
+
type: i0.Input,
|
|
1454
|
+
args: [{
|
|
1455
|
+
isSignal: true,
|
|
1456
|
+
alias: "name",
|
|
1457
|
+
required: true
|
|
1458
|
+
}]
|
|
1459
|
+
}],
|
|
1460
|
+
colour: [{
|
|
1461
|
+
type: i0.Input,
|
|
1462
|
+
args: [{
|
|
1463
|
+
isSignal: true,
|
|
1464
|
+
alias: "colour",
|
|
1465
|
+
required: true
|
|
1466
|
+
}]
|
|
1467
|
+
}],
|
|
1468
|
+
points: [{
|
|
1469
|
+
type: i0.Input,
|
|
1470
|
+
args: [{
|
|
1471
|
+
isSignal: true,
|
|
1472
|
+
alias: "points",
|
|
1473
|
+
required: true
|
|
1474
|
+
}]
|
|
1475
|
+
}],
|
|
1476
|
+
isMe: [{
|
|
1477
|
+
type: i0.Input,
|
|
1478
|
+
args: [{
|
|
1479
|
+
isSignal: true,
|
|
1480
|
+
alias: "isMe",
|
|
1481
|
+
required: true
|
|
1482
|
+
}]
|
|
1483
|
+
}]
|
|
1484
|
+
}
|
|
1485
|
+
});
|
|
1352
1486
|
var PlayerSlotListComponent = class PlayerSlotListComponent {
|
|
1353
1487
|
maxPlayers = input.required(...ngDevMode ? [{ debugName: "maxPlayers" }] : /* istanbul ignore next */ []);
|
|
1354
1488
|
players = input.required(...ngDevMode ? [{ debugName: "players" }] : /* istanbul ignore next */ []);
|
|
@@ -2053,6 +2187,6 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2053
2187
|
}]
|
|
2054
2188
|
}
|
|
2055
2189
|
});
|
|
2056
|
-
export { ActiveSessionLinkComponent, ButtonComponent, ChatFormComponent, ChatMessageComponent, ChatMessageListComponent, ChipComponent, EmptyPlayerSlotComponent, HeaderComponent, InputComponent, MaxPlayerSelectComponent, NavLinkComponent, PlayerCountComponent, PlayerSlotComponent, PlayerSlotListComponent, SkeletonComponent };
|
|
2190
|
+
export { ActiveSessionLinkComponent, ButtonComponent, ChatFormComponent, ChatMessageComponent, ChatMessageListComponent, ChipComponent, EmptyPlayerSlotComponent, HeaderComponent, InputComponent, MaxPlayerSelectComponent, NavLinkComponent, PlayerCardComponent, PlayerCountComponent, PlayerSlotComponent, PlayerSlotListComponent, SkeletonComponent };
|
|
2057
2191
|
|
|
2058
2192
|
//# 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/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' | 'contrast' | 'danger';\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 /** Can the button currently not be used? */\n readonly disabled = 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]=\"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 { Check } from '@primeicons/angular/check';\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, Check, 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>\n {{ name() }}\n @if (isMe()) {\n <span class=\"me\">({{ t('you') }})</span>\n }\n </p>\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\">\n <svg aria-hidden=\"true\" data-p-icon=\"check\" [size]=\"14\"></svg>\n {{ t('ready') }}\n </p>\n } @else {\n <p class=\"not-ready\">{{ t('not-ready') }}</p>\n }\n</ng-container>\n","import { Component, contentChildren, input } from '@angular/core';\nimport { PlayerColour, PlayerSlotComponent } from '../player-slot/player-slot';\nimport { EmptyPlayerSlotComponent } from '../empty-player-slot/empty-player-slot';\nimport { TranslocoDirective } from '@jsverse/transloco';\nimport { ButtonComponent } from '../button/button';\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, 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 /** @ignore the buttons projected into the footer, the footer is only shown when there are any */\n readonly footerButtons = contentChildren(ButtonComponent);\n}\n","<ng-container *transloco=\"let t; prefix: 'player-slot-list'\">\n <div class=\"header\">\n <span class=\"title\">{{ t('players') }}</span>\n <span class=\"count\">{{ players().length }} / {{ maxPlayers() }}</span>\n </div>\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 @if (footerButtons().length > 0) {\n <div class=\"footer\">\n <ng-content select=\"tikal-button\" />\n </div>\n }\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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EAAA;EAAA,SAAA,EAAA,iBAAA,kBAAA;EAAA,UAAA;EAAA,UCjB5B;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;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-card/player-card.ts","../../../projects/tikal-ui-components/src/lib/components/player-card/player-card.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' | 'contrast' | 'danger';\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 /** Can the button currently not be used? */\n readonly disabled = 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]=\"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 { Check } from '@primeicons/angular/check';\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, Check, 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 Black: 'var(--p-surface-900)',\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>\n {{ name() }}\n @if (isMe()) {\n <span class=\"me\">({{ t('you') }})</span>\n }\n </p>\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\">\n <svg aria-hidden=\"true\" data-p-icon=\"check\" [size]=\"14\"></svg>\n {{ t('ready') }}\n </p>\n } @else {\n <p class=\"not-ready\">{{ t('not-ready') }}</p>\n }\n</ng-container>\n","import { Component, computed, input } from '@angular/core';\nimport { TranslocoDirective } from '@jsverse/transloco';\nimport { PlayerColour } from '../player-slot/player-slot';\n\n@Component({\n selector: 'tikal-player-card',\n imports: [TranslocoDirective],\n templateUrl: './player-card.html',\n styleUrl: './player-card.scss',\n host: {\n '[class.me]': 'isMe()',\n '[style.--player-colour]': 'colourValue()',\n },\n})\nexport class PlayerCardComponent {\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 /** How many points does the player have? */\n readonly points = input.required<number>();\n\n /** Is the player the currently authenticated user? */\n readonly isMe = input.required<boolean>();\n\n /** @ignore */\n readonly colourMap: Record<PlayerColour, string> = {\n Red: 'var(--p-red-500)',\n Black: 'var(--p-surface-900)',\n Green: 'var(--p-green-500)',\n Blue: 'var(--p-blue-500)',\n Yellow: 'var(--p-yellow-500)',\n };\n\n /** @ignore */\n readonly colourValue = computed(() => this.colourMap[this.colour()]);\n}\n","<ng-container *transloco=\"let t; prefix: 'player-card'\">\n <span class=\"dot\"></span>\n <p class=\"name\">\n {{ name() }}\n @if (isMe()) {\n <span class=\"me-label\">({{ t('you') }})</span>\n }\n </p>\n <p class=\"points\">\n <strong>{{ points() }}</strong>\n <span class=\"unit\">{{ t('points') }}</span>\n </p>\n</ng-container>\n","import { Component, contentChildren, input } from '@angular/core';\nimport { PlayerColour, PlayerSlotComponent } from '../player-slot/player-slot';\nimport { EmptyPlayerSlotComponent } from '../empty-player-slot/empty-player-slot';\nimport { TranslocoDirective } from '@jsverse/transloco';\nimport { ButtonComponent } from '../button/button';\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, 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 /** @ignore the buttons projected into the footer, the footer is only shown when there are any */\n readonly footerButtons = contentChildren(ButtonComponent);\n}\n","<ng-container *transloco=\"let t; prefix: 'player-slot-list'\">\n <div class=\"header\">\n <span class=\"title\">{{ t('players') }}</span>\n <span class=\"count\">{{ players().length }} / {{ maxPlayers() }}</span>\n </div>\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 @if (footerButtons().length > 0) {\n <div class=\"footer\">\n <ng-content select=\"tikal-button\" />\n </div>\n }\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;C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A;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;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
|
@@ -298,7 +298,7 @@ export declare class EmptyPlayerSlotComponent {
|
|
|
298
298
|
};
|
|
299
299
|
}, {}, never, never, true, never>;
|
|
300
300
|
}
|
|
301
|
-
export type PlayerColour = '
|
|
301
|
+
export type PlayerColour = 'Red' | 'Black' | 'Green' | 'Blue' | 'Yellow';
|
|
302
302
|
export declare class PlayerSlotComponent {
|
|
303
303
|
/** What is the name of the player? */
|
|
304
304
|
readonly name: import("@angular/core").InputSignal<string>;
|
|
@@ -312,10 +312,11 @@ export declare class PlayerSlotComponent {
|
|
|
312
312
|
readonly isMe: import("@angular/core").InputSignal<boolean>;
|
|
313
313
|
/** @ignore */
|
|
314
314
|
readonly colourMap: {
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
315
|
+
Red: string;
|
|
316
|
+
Black: string;
|
|
317
|
+
Green: string;
|
|
318
|
+
Blue: string;
|
|
319
|
+
Yellow: string;
|
|
319
320
|
};
|
|
320
321
|
static ɵfac: i0.ɵɵFactoryDeclaration<PlayerSlotComponent, never>;
|
|
321
322
|
static ɵcmp: i0.ɵɵComponentDeclaration<PlayerSlotComponent, "tikal-player-slot", never, {
|
|
@@ -346,6 +347,43 @@ export declare class PlayerSlotComponent {
|
|
|
346
347
|
};
|
|
347
348
|
}, {}, never, never, true, never>;
|
|
348
349
|
}
|
|
350
|
+
export declare class PlayerCardComponent {
|
|
351
|
+
/** What is the name of the player? */
|
|
352
|
+
readonly name: import("@angular/core").InputSignal<string>;
|
|
353
|
+
/** What is the colour of the player? */
|
|
354
|
+
readonly colour: import("@angular/core").InputSignal<PlayerColour>;
|
|
355
|
+
/** How many points does the player have? */
|
|
356
|
+
readonly points: import("@angular/core").InputSignal<number>;
|
|
357
|
+
/** Is the player the currently authenticated user? */
|
|
358
|
+
readonly isMe: import("@angular/core").InputSignal<boolean>;
|
|
359
|
+
/** @ignore */
|
|
360
|
+
readonly colourMap: Record<PlayerColour, string>;
|
|
361
|
+
/** @ignore */
|
|
362
|
+
readonly colourValue: import("@angular/core").Signal<string>;
|
|
363
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PlayerCardComponent, never>;
|
|
364
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PlayerCardComponent, "tikal-player-card", never, {
|
|
365
|
+
"name": {
|
|
366
|
+
"alias": "name";
|
|
367
|
+
"required": true;
|
|
368
|
+
"isSignal": true;
|
|
369
|
+
};
|
|
370
|
+
"colour": {
|
|
371
|
+
"alias": "colour";
|
|
372
|
+
"required": true;
|
|
373
|
+
"isSignal": true;
|
|
374
|
+
};
|
|
375
|
+
"points": {
|
|
376
|
+
"alias": "points";
|
|
377
|
+
"required": true;
|
|
378
|
+
"isSignal": true;
|
|
379
|
+
};
|
|
380
|
+
"isMe": {
|
|
381
|
+
"alias": "isMe";
|
|
382
|
+
"required": true;
|
|
383
|
+
"isSignal": true;
|
|
384
|
+
};
|
|
385
|
+
}, {}, never, never, true, never>;
|
|
386
|
+
}
|
|
349
387
|
export type PlayerSlotData = {
|
|
350
388
|
name: string;
|
|
351
389
|
selectedColour: PlayerColour;
|