tikal-ui-components 1.5.1 → 1.7.0
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import { Component, Pipe, computed, input, model, output, signal } from "@angular/core";
|
|
3
|
-
import { PIcon, Spinner
|
|
2
|
+
import { Component, Pipe, computed, contentChildren, input, model, output, signal } from "@angular/core";
|
|
3
|
+
import { PIcon, Spinner } from "@primeicons/angular";
|
|
4
4
|
import * as i1$6 from "primeng/button";
|
|
5
5
|
import { ButtonModule } from "primeng/button";
|
|
6
6
|
import * as i1$5 from "primeng/inputtext";
|
|
@@ -16,6 +16,7 @@ import * as i1$1 from "primeng/chip";
|
|
|
16
16
|
import { ChipModule } from "primeng/chip";
|
|
17
17
|
import { TranslocoDirective } from "@jsverse/transloco";
|
|
18
18
|
import { Crown } from "@primeicons/angular/crown";
|
|
19
|
+
import { Check } from "@primeicons/angular/check";
|
|
19
20
|
import * as i2 from "@angular/forms";
|
|
20
21
|
import { FormsModule } from "@angular/forms";
|
|
21
22
|
import * as i1 from "primeng/selectbutton";
|
|
@@ -60,6 +61,7 @@ var ButtonComponent = class ButtonComponent {
|
|
|
60
61
|
label = input(...ngDevMode ? [void 0, { debugName: "label" }] : /* istanbul ignore next */ []);
|
|
61
62
|
ariaLabel = input(...ngDevMode ? [void 0, { debugName: "ariaLabel" }] : /* istanbul ignore next */ []);
|
|
62
63
|
isLoading = input(false, ...ngDevMode ? [{ debugName: "isLoading" }] : /* istanbul ignore next */ []);
|
|
64
|
+
disabled = input(false, ...ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []);
|
|
63
65
|
outline = input(false, ...ngDevMode ? [{ debugName: "outline" }] : /* istanbul ignore next */ []);
|
|
64
66
|
type = input("button", ...ngDevMode ? [{ debugName: "type" }] : /* istanbul ignore next */ []);
|
|
65
67
|
text = input(false, ...ngDevMode ? [{ debugName: "text" }] : /* istanbul ignore next */ []);
|
|
@@ -122,6 +124,13 @@ var ButtonComponent = class ButtonComponent {
|
|
|
122
124
|
isRequired: false,
|
|
123
125
|
transformFunction: null
|
|
124
126
|
},
|
|
127
|
+
disabled: {
|
|
128
|
+
classPropertyName: "disabled",
|
|
129
|
+
publicName: "disabled",
|
|
130
|
+
isSignal: true,
|
|
131
|
+
isRequired: false,
|
|
132
|
+
transformFunction: null
|
|
133
|
+
},
|
|
125
134
|
outline: {
|
|
126
135
|
classPropertyName: "outline",
|
|
127
136
|
publicName: "outline",
|
|
@@ -153,8 +162,8 @@ var ButtonComponent = class ButtonComponent {
|
|
|
153
162
|
},
|
|
154
163
|
outputs: { clicked: "clicked" },
|
|
155
164
|
ngImport: i0,
|
|
156
|
-
template: "<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",
|
|
157
|
-
styles: [""],
|
|
165
|
+
template: "<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",
|
|
166
|
+
styles: [":host{display:inline-flex}button{flex:1}\n"],
|
|
158
167
|
dependencies: [
|
|
159
168
|
{
|
|
160
169
|
kind: "ngmodule",
|
|
@@ -217,7 +226,8 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
217
226
|
EnumMapPipe,
|
|
218
227
|
Spinner
|
|
219
228
|
],
|
|
220
|
-
template: "<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"
|
|
229
|
+
template: "<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",
|
|
230
|
+
styles: [":host{display:inline-flex}button{flex:1}\n"]
|
|
221
231
|
}]
|
|
222
232
|
}],
|
|
223
233
|
propDecorators: {
|
|
@@ -269,6 +279,14 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
269
279
|
required: false
|
|
270
280
|
}]
|
|
271
281
|
}],
|
|
282
|
+
disabled: [{
|
|
283
|
+
type: i0.Input,
|
|
284
|
+
args: [{
|
|
285
|
+
isSignal: true,
|
|
286
|
+
alias: "disabled",
|
|
287
|
+
required: false
|
|
288
|
+
}]
|
|
289
|
+
}],
|
|
272
290
|
outline: [{
|
|
273
291
|
type: i0.Input,
|
|
274
292
|
args: [{
|
|
@@ -615,6 +633,7 @@ var ChatFormComponent = class ChatFormComponent {
|
|
|
615
633
|
"label",
|
|
616
634
|
"ariaLabel",
|
|
617
635
|
"isLoading",
|
|
636
|
+
"disabled",
|
|
618
637
|
"outline",
|
|
619
638
|
"type",
|
|
620
639
|
"text",
|
|
@@ -1233,14 +1252,19 @@ var PlayerSlotComponent = class PlayerSlotComponent {
|
|
|
1233
1252
|
}
|
|
1234
1253
|
},
|
|
1235
1254
|
ngImport: i0,
|
|
1236
|
-
template: "<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
|
|
1237
|
-
styles: [":host{display:flex;flex-direction:row;align-items:center;justify-content:space-between;height:3.25rem;padding:1rem;background-color:var(--p-content-background)}.main-group{display:flex;flex-direction:row;align-items:center;gap:.75rem;font-weight:600}.dot{width:.75rem;height:.75rem;border-radius:50%}.ready{color:var(--p-primary-color);font-weight:600}.not-ready{color:var(--p-text-muted-color)}p{margin:0}\n"],
|
|
1255
|
+
template: "<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",
|
|
1256
|
+
styles: [":host{display:flex;flex-direction:row;align-items:center;justify-content:space-between;height:3.25rem;padding:1rem;background-color:var(--p-content-background)}.main-group{display:flex;flex-direction:row;align-items:center;gap:.75rem;font-weight:600}.dot{width:.75rem;height:.75rem;border-radius:50%}.me{color:var(--p-text-muted-color);font-weight:400}.ready{display:flex;flex-direction:row;align-items:center;gap:.25rem;color:var(--p-primary-color);font-weight:600}.not-ready{color:var(--p-text-muted-color)}p{margin:0}\n"],
|
|
1238
1257
|
dependencies: [
|
|
1239
1258
|
{
|
|
1240
1259
|
kind: "component",
|
|
1241
1260
|
type: Crown,
|
|
1242
1261
|
selector: "svg[data-p-icon=\"crown\"]"
|
|
1243
1262
|
},
|
|
1263
|
+
{
|
|
1264
|
+
kind: "component",
|
|
1265
|
+
type: Check,
|
|
1266
|
+
selector: "svg[data-p-icon=\"check\"]"
|
|
1267
|
+
},
|
|
1244
1268
|
{
|
|
1245
1269
|
kind: "directive",
|
|
1246
1270
|
type: TranslocoDirective,
|
|
@@ -1275,10 +1299,11 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1275
1299
|
imports: [
|
|
1276
1300
|
EnumMapPipe,
|
|
1277
1301
|
Crown,
|
|
1302
|
+
Check,
|
|
1278
1303
|
TranslocoDirective
|
|
1279
1304
|
],
|
|
1280
|
-
template: "<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
|
|
1281
|
-
styles: [":host{display:flex;flex-direction:row;align-items:center;justify-content:space-between;height:3.25rem;padding:1rem;background-color:var(--p-content-background)}.main-group{display:flex;flex-direction:row;align-items:center;gap:.75rem;font-weight:600}.dot{width:.75rem;height:.75rem;border-radius:50%}.ready{color:var(--p-primary-color);font-weight:600}.not-ready{color:var(--p-text-muted-color)}p{margin:0}\n"]
|
|
1305
|
+
template: "<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",
|
|
1306
|
+
styles: [":host{display:flex;flex-direction:row;align-items:center;justify-content:space-between;height:3.25rem;padding:1rem;background-color:var(--p-content-background)}.main-group{display:flex;flex-direction:row;align-items:center;gap:.75rem;font-weight:600}.dot{width:.75rem;height:.75rem;border-radius:50%}.me{color:var(--p-text-muted-color);font-weight:400}.ready{display:flex;flex-direction:row;align-items:center;gap:.25rem;color:var(--p-primary-color);font-weight:600}.not-ready{color:var(--p-text-muted-color)}p{margin:0}\n"]
|
|
1282
1307
|
}]
|
|
1283
1308
|
}],
|
|
1284
1309
|
propDecorators: {
|
|
@@ -1328,6 +1353,7 @@ var PlayerSlotListComponent = class PlayerSlotListComponent {
|
|
|
1328
1353
|
maxPlayers = input.required(...ngDevMode ? [{ debugName: "maxPlayers" }] : /* istanbul ignore next */ []);
|
|
1329
1354
|
players = input.required(...ngDevMode ? [{ debugName: "players" }] : /* istanbul ignore next */ []);
|
|
1330
1355
|
isLoading = input(false, ...ngDevMode ? [{ debugName: "isLoading" }] : /* istanbul ignore next */ []);
|
|
1356
|
+
footerButtons = contentChildren(ButtonComponent, ...ngDevMode ? [{ debugName: "footerButtons" }] : /* istanbul ignore next */ []);
|
|
1331
1357
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1332
1358
|
minVersion: "12.0.0",
|
|
1333
1359
|
version: "22.2.3",
|
|
@@ -1365,9 +1391,14 @@ var PlayerSlotListComponent = class PlayerSlotListComponent {
|
|
|
1365
1391
|
transformFunction: null
|
|
1366
1392
|
}
|
|
1367
1393
|
},
|
|
1394
|
+
queries: [{
|
|
1395
|
+
propertyName: "footerButtons",
|
|
1396
|
+
predicate: ButtonComponent,
|
|
1397
|
+
isSignal: true
|
|
1398
|
+
}],
|
|
1368
1399
|
ngImport: i0,
|
|
1369
|
-
template: "<ng-container *transloco=\"let t; prefix: 'player-slot-list'\">\n <div class=\"header\">\n <span>{{ t('players') }}</span>\n <
|
|
1370
|
-
styles: [":host{display:flex;flex-direction:column;
|
|
1400
|
+
template: "<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",
|
|
1401
|
+
styles: [":host{display:flex;flex-direction:column;border:var(--p-content-border-color) solid 1px;border-radius:var(--p-content-border-radius);background-color:var(--p-content-background);overflow:hidden}:host>*+*{border-top:var(--p-content-border-color) solid 1px}.header{display:flex;flex-direction:row;align-items:center;gap:.5rem;padding:1rem 1.25rem}.title{font-weight:600}.count{color:var(--p-text-muted-color)}.footer{display:grid;grid-template-columns:repeat(auto-fit,minmax(8.75rem,1fr));gap:.625rem;padding:1rem 1.25rem;background-color:light-dark(var(--p-surface-50),var(--p-surface-950))}\n"],
|
|
1371
1402
|
dependencies: [
|
|
1372
1403
|
{
|
|
1373
1404
|
kind: "component",
|
|
@@ -1387,11 +1418,6 @@ var PlayerSlotListComponent = class PlayerSlotListComponent {
|
|
|
1387
1418
|
selector: "tikal-empty-player-slot",
|
|
1388
1419
|
inputs: ["isLoading"]
|
|
1389
1420
|
},
|
|
1390
|
-
{
|
|
1391
|
-
kind: "component",
|
|
1392
|
-
type: User,
|
|
1393
|
-
selector: "svg[data-p-icon=\"user\"]"
|
|
1394
|
-
},
|
|
1395
1421
|
{
|
|
1396
1422
|
kind: "directive",
|
|
1397
1423
|
type: TranslocoDirective,
|
|
@@ -1421,11 +1447,10 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1421
1447
|
imports: [
|
|
1422
1448
|
PlayerSlotComponent,
|
|
1423
1449
|
EmptyPlayerSlotComponent,
|
|
1424
|
-
User,
|
|
1425
1450
|
TranslocoDirective
|
|
1426
1451
|
],
|
|
1427
|
-
template: "<ng-container *transloco=\"let t; prefix: 'player-slot-list'\">\n <div class=\"header\">\n <span>{{ t('players') }}</span>\n <
|
|
1428
|
-
styles: [":host{display:flex;flex-direction:column;
|
|
1452
|
+
template: "<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",
|
|
1453
|
+
styles: [":host{display:flex;flex-direction:column;border:var(--p-content-border-color) solid 1px;border-radius:var(--p-content-border-radius);background-color:var(--p-content-background);overflow:hidden}:host>*+*{border-top:var(--p-content-border-color) solid 1px}.header{display:flex;flex-direction:row;align-items:center;gap:.5rem;padding:1rem 1.25rem}.title{font-weight:600}.count{color:var(--p-text-muted-color)}.footer{display:grid;grid-template-columns:repeat(auto-fit,minmax(8.75rem,1fr));gap:.625rem;padding:1rem 1.25rem;background-color:light-dark(var(--p-surface-50),var(--p-surface-950))}\n"]
|
|
1429
1454
|
}]
|
|
1430
1455
|
}],
|
|
1431
1456
|
propDecorators: {
|
|
@@ -1452,6 +1477,10 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1452
1477
|
alias: "isLoading",
|
|
1453
1478
|
required: false
|
|
1454
1479
|
}]
|
|
1480
|
+
}],
|
|
1481
|
+
footerButtons: [{
|
|
1482
|
+
type: i0.ContentChildren,
|
|
1483
|
+
args: [i0.forwardRef(() => ButtonComponent), { isSignal: true }]
|
|
1455
1484
|
}]
|
|
1456
1485
|
}
|
|
1457
1486
|
});
|
|
@@ -1964,6 +1993,7 @@ var HeaderComponent = class HeaderComponent {
|
|
|
1964
1993
|
"label",
|
|
1965
1994
|
"ariaLabel",
|
|
1966
1995
|
"isLoading",
|
|
1996
|
+
"disabled",
|
|
1967
1997
|
"outline",
|
|
1968
1998
|
"type",
|
|
1969
1999
|
"text",
|
|
@@ -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';\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,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AAU,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' | '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,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,MA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A,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
|
import * as i0 from "@angular/core";
|
|
2
2
|
import { FormValueControl } from "@angular/forms/signals";
|
|
3
|
-
export type ButtonColour = 'primary' | 'secondary' | 'contrast';
|
|
3
|
+
export type ButtonColour = 'primary' | 'secondary' | 'contrast' | 'danger';
|
|
4
4
|
export type ButtonSize = 'small' | 'normal' | 'large';
|
|
5
5
|
export type ButtonType = 'button' | 'submit' | 'reset';
|
|
6
6
|
export declare class ButtonComponent {
|
|
@@ -20,6 +20,8 @@ export declare class ButtonComponent {
|
|
|
20
20
|
readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
21
21
|
/** Is the action related to the button currently running? */
|
|
22
22
|
readonly isLoading: import("@angular/core").InputSignal<boolean>;
|
|
23
|
+
/** Can the button currently not be used? */
|
|
24
|
+
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
23
25
|
/** Should the button have an outline? */
|
|
24
26
|
readonly outline: import("@angular/core").InputSignal<boolean>;
|
|
25
27
|
/** What type should the button be? */
|
|
@@ -62,6 +64,11 @@ export declare class ButtonComponent {
|
|
|
62
64
|
"required": false;
|
|
63
65
|
"isSignal": true;
|
|
64
66
|
};
|
|
67
|
+
"disabled": {
|
|
68
|
+
"alias": "disabled";
|
|
69
|
+
"required": false;
|
|
70
|
+
"isSignal": true;
|
|
71
|
+
};
|
|
65
72
|
"outline": {
|
|
66
73
|
"alias": "outline";
|
|
67
74
|
"required": false;
|
|
@@ -353,6 +360,8 @@ export declare class PlayerSlotListComponent {
|
|
|
353
360
|
readonly players: import("@angular/core").InputSignal<PlayerSlotData[]>;
|
|
354
361
|
/** Are the players currenlty loading? */
|
|
355
362
|
readonly isLoading: import("@angular/core").InputSignal<boolean>;
|
|
363
|
+
/** @ignore the buttons projected into the footer, the footer is only shown when there are any */
|
|
364
|
+
readonly footerButtons: import("@angular/core").Signal<readonly ButtonComponent[]>;
|
|
356
365
|
static ɵfac: i0.ɵɵFactoryDeclaration<PlayerSlotListComponent, never>;
|
|
357
366
|
static ɵcmp: i0.ɵɵComponentDeclaration<PlayerSlotListComponent, "tikal-player-slot-list", never, {
|
|
358
367
|
"maxPlayers": {
|
|
@@ -370,7 +379,7 @@ export declare class PlayerSlotListComponent {
|
|
|
370
379
|
"required": false;
|
|
371
380
|
"isSignal": true;
|
|
372
381
|
};
|
|
373
|
-
}, {},
|
|
382
|
+
}, {}, ["footerButtons"], ["tikal-button"], true, never>;
|
|
374
383
|
}
|
|
375
384
|
export declare class MaxPlayerSelectComponent implements FormValueControl<number> {
|
|
376
385
|
/** What value should the input have? */
|