@geodienst/dashkit 0.0.0-stage → 0.2.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.
@@ -0,0 +1,2574 @@
1
+ import { BreakpointObserver, Breakpoints } from "@angular/cdk/layout";
2
+ import * as i0 from "@angular/core";
3
+ import { Component, DestroyRef, Directive, LOCALE_ID, TemplateRef, computed, contentChild, contentChildren, inject, input, linkedSignal, model, output, signal } from "@angular/core";
4
+ import { toSignal } from "@angular/core/rxjs-interop";
5
+ import { MatProgressSpinner } from "@angular/material/progress-spinner";
6
+ import { map } from "rxjs";
7
+ import { MatButton, MatFabButton, MatIconButton } from "@angular/material/button";
8
+ import { MatButtonToggle, MatButtonToggleGroup } from "@angular/material/button-toggle";
9
+ import { MatIcon } from "@angular/material/icon";
10
+ import { MatProgressBar } from "@angular/material/progress-bar";
11
+ import * as i2 from "@angular/material/tooltip";
12
+ import { MatTooltip, MatTooltipModule } from "@angular/material/tooltip";
13
+ import * as i1$2 from "@angular/material/table";
14
+ import { MatTableModule } from "@angular/material/table";
15
+ import { MatToolbar } from "@angular/material/toolbar";
16
+ import { NgTemplateOutlet } from "@angular/common";
17
+ import { MatFormField, MatLabel } from "@angular/material/form-field";
18
+ import { MatInput } from "@angular/material/input";
19
+ import * as i1$1 from "@angular/material/list";
20
+ import { MatListModule } from "@angular/material/list";
21
+ import { MatMenu, MatMenuItem, MatMenuTrigger } from "@angular/material/menu";
22
+ import { MatDivider } from "@angular/material/divider";
23
+ import { ControlComponent, GeolocateControlDirective, MapComponent, MarkerComponent, NavigationControlDirective, ScaleControlDirective } from "@maplibre/ngx-maplibre-gl";
24
+ import { MAT_DIALOG_DATA, MatDialog, MatDialogClose, MatDialogContent } from "@angular/material/dialog";
25
+ import { marked } from "marked";
26
+ import { MatCheckbox } from "@angular/material/checkbox";
27
+ import { MatOption } from "@angular/material/core";
28
+ import { MatSelect } from "@angular/material/select";
29
+ import * as i1 from "@angular/material/tabs";
30
+ import { MatTabsModule } from "@angular/material/tabs";
31
+ var CountGauge = class CountGauge {
32
+ count = input.required(...ngDevMode ? [{ debugName: "count" }] : /* istanbul ignore next */ []);
33
+ total = input.required(...ngDevMode ? [{ debugName: "total" }] : /* istanbul ignore next */ []);
34
+ value = computed(() => this.total() ? this.count() / this.total() * 100 : 0, ...ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []);
35
+ small = toSignal(inject(BreakpointObserver).observe(Breakpoints.XSmall).pipe(map((state) => state.matches)));
36
+ static ɵfac = i0.ɵɵngDeclareFactory({
37
+ minVersion: "12.0.0",
38
+ version: "22.3.0",
39
+ ngImport: i0,
40
+ type: CountGauge,
41
+ deps: [],
42
+ target: i0.ɵɵFactoryTarget.Component
43
+ });
44
+ static ɵcmp = i0.ɵɵngDeclareComponent({
45
+ minVersion: "17.0.0",
46
+ version: "22.3.0",
47
+ type: CountGauge,
48
+ isStandalone: true,
49
+ selector: "gd-count-gauge",
50
+ inputs: {
51
+ count: {
52
+ classPropertyName: "count",
53
+ publicName: "count",
54
+ isSignal: true,
55
+ isRequired: true,
56
+ transformFunction: null
57
+ },
58
+ total: {
59
+ classPropertyName: "total",
60
+ publicName: "total",
61
+ isSignal: true,
62
+ isRequired: true,
63
+ transformFunction: null
64
+ }
65
+ },
66
+ host: { properties: { "class.small": "small()" } },
67
+ ngImport: i0,
68
+ template: "<div class=\"ring\">\n <!-- Small: 36px ring + 2 × 4px padding = 44px, as high as a card with a title-large line and 8px padding (e.g. a collapsed legend). -->\n <mat-progress-spinner mode=\"determinate\" [value]=\"value()\" [diameter]=\"small() ? 36 : 64\" />\n <span class=\"count\">{{ count() }}</span>\n</div>\n@if (!small()) {\n <span>of {{ total() }}</span>\n}\n",
69
+ styles: [":host{display:inline-flex;flex-direction:column;align-items:center;gap:4px;padding:8px;background:var(--mat-sys-surface-container);color:var(--mat-sys-on-surface);border-radius:var(--mat-sys-corner-medium);box-shadow:var(--mat-sys-level2);font:var(--mat-sys-body-medium)}.ring{display:grid;place-items:center}.ring>*{grid-area:1 / 1}.count{font:var(--mat-sys-title-large)}:host(.small){padding:4px}:host(.small) .count{font:var(--mat-sys-title-small)}\n"],
70
+ dependencies: [{
71
+ kind: "component",
72
+ type: MatProgressSpinner,
73
+ selector: "mat-progress-spinner, mat-spinner",
74
+ inputs: [
75
+ "color",
76
+ "mode",
77
+ "value",
78
+ "diameter",
79
+ "strokeWidth"
80
+ ],
81
+ exportAs: ["matProgressSpinner"]
82
+ }]
83
+ });
84
+ };
85
+ i0.ɵɵngDeclareClassMetadata({
86
+ minVersion: "12.0.0",
87
+ version: "22.3.0",
88
+ ngImport: i0,
89
+ type: CountGauge,
90
+ decorators: [{
91
+ type: Component,
92
+ args: [{
93
+ host: { "[class.small]": "small()" },
94
+ imports: [MatProgressSpinner],
95
+ selector: "gd-count-gauge",
96
+ template: "<div class=\"ring\">\n <!-- Small: 36px ring + 2 × 4px padding = 44px, as high as a card with a title-large line and 8px padding (e.g. a collapsed legend). -->\n <mat-progress-spinner mode=\"determinate\" [value]=\"value()\" [diameter]=\"small() ? 36 : 64\" />\n <span class=\"count\">{{ count() }}</span>\n</div>\n@if (!small()) {\n <span>of {{ total() }}</span>\n}\n",
97
+ styles: [":host{display:inline-flex;flex-direction:column;align-items:center;gap:4px;padding:8px;background:var(--mat-sys-surface-container);color:var(--mat-sys-on-surface);border-radius:var(--mat-sys-corner-medium);box-shadow:var(--mat-sys-level2);font:var(--mat-sys-body-medium)}.ring{display:grid;place-items:center}.ring>*{grid-area:1 / 1}.count{font:var(--mat-sys-title-large)}:host(.small){padding:4px}:host(.small) .count{font:var(--mat-sys-title-small)}\n"]
98
+ }]
99
+ }],
100
+ propDecorators: {
101
+ count: [{
102
+ type: i0.Input,
103
+ args: [{
104
+ isSignal: true,
105
+ alias: "count",
106
+ required: true
107
+ }]
108
+ }],
109
+ total: [{
110
+ type: i0.Input,
111
+ args: [{
112
+ isSignal: true,
113
+ alias: "total",
114
+ required: true
115
+ }]
116
+ }]
117
+ }
118
+ });
119
+ var CountryFilter = class CountryFilter {
120
+ title = input(...ngDevMode ? [void 0, { debugName: "title" }] : /* istanbul ignore next */ []);
121
+ subtitle = input(...ngDevMode ? [void 0, { debugName: "subtitle" }] : /* istanbul ignore next */ []);
122
+ counts = input({}, ...ngDevMode ? [{ debugName: "counts" }] : /* istanbul ignore next */ []);
123
+ selected = model([], ...ngDevMode ? [{ debugName: "selected" }] : /* istanbul ignore next */ []);
124
+ hideCount = input(false, ...ngDevMode ? [{ debugName: "hideCount" }] : /* istanbul ignore next */ []);
125
+ sortBy = input("alphabetically", ...ngDevMode ? [{ debugName: "sortBy" }] : /* istanbul ignore next */ []);
126
+ buttonCountries = input([], ...ngDevMode ? [{ debugName: "buttonCountries" }] : /* istanbul ignore next */ []);
127
+ buttonIcon = input(...ngDevMode ? [void 0, { debugName: "buttonIcon" }] : /* istanbul ignore next */ []);
128
+ buttonLabel = input(...ngDevMode ? [void 0, { debugName: "buttonLabel" }] : /* istanbul ignore next */ []);
129
+ buttonClick = output();
130
+ countries = computed(() => {
131
+ const countries = Object.keys(this.counts()).sort();
132
+ return this.sortBy() === "count" ? countries.sort((a, b) => this.counts()[b] - this.counts()[a]) : countries;
133
+ }, ...ngDevMode ? [{ debugName: "countries" }] : /* istanbul ignore next */ []);
134
+ max = computed(() => Math.max(...Object.values(this.counts())), ...ngDevMode ? [{ debugName: "max" }] : /* istanbul ignore next */ []);
135
+ static ɵfac = i0.ɵɵngDeclareFactory({
136
+ minVersion: "12.0.0",
137
+ version: "22.3.0",
138
+ ngImport: i0,
139
+ type: CountryFilter,
140
+ deps: [],
141
+ target: i0.ɵɵFactoryTarget.Component
142
+ });
143
+ static ɵcmp = i0.ɵɵngDeclareComponent({
144
+ minVersion: "17.0.0",
145
+ version: "22.3.0",
146
+ type: CountryFilter,
147
+ isStandalone: true,
148
+ selector: "gd-country-filter",
149
+ inputs: {
150
+ title: {
151
+ classPropertyName: "title",
152
+ publicName: "title",
153
+ isSignal: true,
154
+ isRequired: false,
155
+ transformFunction: null
156
+ },
157
+ subtitle: {
158
+ classPropertyName: "subtitle",
159
+ publicName: "subtitle",
160
+ isSignal: true,
161
+ isRequired: false,
162
+ transformFunction: null
163
+ },
164
+ counts: {
165
+ classPropertyName: "counts",
166
+ publicName: "counts",
167
+ isSignal: true,
168
+ isRequired: false,
169
+ transformFunction: null
170
+ },
171
+ selected: {
172
+ classPropertyName: "selected",
173
+ publicName: "selected",
174
+ isSignal: true,
175
+ isRequired: false,
176
+ transformFunction: null
177
+ },
178
+ hideCount: {
179
+ classPropertyName: "hideCount",
180
+ publicName: "hideCount",
181
+ isSignal: true,
182
+ isRequired: false,
183
+ transformFunction: null
184
+ },
185
+ sortBy: {
186
+ classPropertyName: "sortBy",
187
+ publicName: "sortBy",
188
+ isSignal: true,
189
+ isRequired: false,
190
+ transformFunction: null
191
+ },
192
+ buttonCountries: {
193
+ classPropertyName: "buttonCountries",
194
+ publicName: "buttonCountries",
195
+ isSignal: true,
196
+ isRequired: false,
197
+ transformFunction: null
198
+ },
199
+ buttonIcon: {
200
+ classPropertyName: "buttonIcon",
201
+ publicName: "buttonIcon",
202
+ isSignal: true,
203
+ isRequired: false,
204
+ transformFunction: null
205
+ },
206
+ buttonLabel: {
207
+ classPropertyName: "buttonLabel",
208
+ publicName: "buttonLabel",
209
+ isSignal: true,
210
+ isRequired: false,
211
+ transformFunction: null
212
+ }
213
+ },
214
+ outputs: {
215
+ selected: "selectedChange",
216
+ buttonClick: "buttonClick"
217
+ },
218
+ ngImport: i0,
219
+ template: "@if (title()) {\n <h2>{{ title() }}</h2>\n}\n@if (subtitle()) {\n <p>{{ subtitle() }}</p>\n}\n<mat-button-toggle-group vertical multiple hideMultipleSelectionIndicator [value]=\"selected()\" (change)=\"selected.set($event.value)\">\n @for (country of countries(); track country) {\n <div class=\"row\">\n <mat-button-toggle [value]=\"country\">\n <span class=\"label\">{{ country }}@if (!hideCount()) { ({{ counts()[country] }})}</span>\n <mat-progress-bar mode=\"determinate\" [value]=\"(counts()[country] / max()) * 100\" />\n </mat-button-toggle>\n @if (buttonCountries().includes(country)) {\n <button mat-icon-button [matTooltip]=\"buttonLabel()\" [attr.aria-label]=\"buttonLabel()\" (click)=\"buttonClick.emit(country)\">\n <mat-icon>{{ buttonIcon() }}</mat-icon>\n </button>\n }\n </div>\n }\n</mat-button-toggle-group>\n",
220
+ styles: [":host{display:flex;flex-direction:column;min-height:100%}h2{margin:0;padding:16px 20px 4px;font:var(--mat-sys-title-large)}p{margin:0;padding:0 20px 8px;font:var(--mat-sys-body-medium);opacity:.8}mat-button-toggle-group{flex:1;width:100%;box-sizing:border-box;padding:8px;gap:8px;--mat-button-toggle-background-color: var(--mat-sys-primary-container);--mat-button-toggle-text-color: var(--mat-sys-on-primary-container);--mat-button-toggle-state-layer-color: var(--mat-sys-on-primary-container);--mat-button-toggle-divider-color: transparent;--mat-button-toggle-height: 32px;--mat-button-toggle-shape: var(--mat-sys-corner-none);--mat-button-toggle-selected-state-background-color: var(--mat-sys-primary);--mat-button-toggle-selected-state-text-color: var(--mat-sys-on-primary);--mat-progress-bar-active-indicator-color: var(--mat-sys-primary);--mat-progress-bar-track-color: transparent}.row{flex:1;display:flex;align-items:center}mat-button-toggle{flex:1;align-self:stretch;display:flex}.mat-button-toggle-checked{--mat-progress-bar-active-indicator-color: var(--mat-sys-on-primary)}.label{display:block;text-align:start}mat-progress-bar{margin-bottom:8px}\n"],
221
+ dependencies: [
222
+ {
223
+ kind: "directive",
224
+ type: MatButtonToggleGroup,
225
+ selector: "mat-button-toggle-group",
226
+ inputs: [
227
+ "appearance",
228
+ "name",
229
+ "vertical",
230
+ "value",
231
+ "multiple",
232
+ "disabled",
233
+ "disabledInteractive",
234
+ "hideSingleSelectionIndicator",
235
+ "hideMultipleSelectionIndicator"
236
+ ],
237
+ outputs: ["valueChange", "change"],
238
+ exportAs: ["matButtonToggleGroup"]
239
+ },
240
+ {
241
+ kind: "component",
242
+ type: MatButtonToggle,
243
+ selector: "mat-button-toggle",
244
+ inputs: [
245
+ "aria-label",
246
+ "aria-labelledby",
247
+ "id",
248
+ "name",
249
+ "value",
250
+ "tabIndex",
251
+ "disableRipple",
252
+ "appearance",
253
+ "checked",
254
+ "disabled",
255
+ "disabledInteractive"
256
+ ],
257
+ outputs: ["change"],
258
+ exportAs: ["matButtonToggle"]
259
+ },
260
+ {
261
+ kind: "component",
262
+ type: MatIcon,
263
+ selector: "mat-icon",
264
+ inputs: [
265
+ "color",
266
+ "inline",
267
+ "svgIcon",
268
+ "fontSet",
269
+ "fontIcon"
270
+ ],
271
+ exportAs: ["matIcon"]
272
+ },
273
+ {
274
+ kind: "component",
275
+ type: MatIconButton,
276
+ selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]",
277
+ exportAs: ["matButton", "matAnchor"]
278
+ },
279
+ {
280
+ kind: "component",
281
+ type: MatProgressBar,
282
+ selector: "mat-progress-bar",
283
+ inputs: [
284
+ "color",
285
+ "value",
286
+ "bufferValue",
287
+ "mode"
288
+ ],
289
+ outputs: ["animationEnd"],
290
+ exportAs: ["matProgressBar"]
291
+ },
292
+ {
293
+ kind: "directive",
294
+ type: MatTooltip,
295
+ selector: "[matTooltip]",
296
+ inputs: [
297
+ "matTooltipPosition",
298
+ "matTooltipPositionAtOrigin",
299
+ "matTooltipDisabled",
300
+ "matTooltipShowDelay",
301
+ "matTooltipHideDelay",
302
+ "matTooltipTouchGestures",
303
+ "matTooltip",
304
+ "matTooltipClass"
305
+ ],
306
+ exportAs: ["matTooltip"]
307
+ }
308
+ ]
309
+ });
310
+ };
311
+ i0.ɵɵngDeclareClassMetadata({
312
+ minVersion: "12.0.0",
313
+ version: "22.3.0",
314
+ ngImport: i0,
315
+ type: CountryFilter,
316
+ decorators: [{
317
+ type: Component,
318
+ args: [{
319
+ imports: [
320
+ MatButtonToggleGroup,
321
+ MatButtonToggle,
322
+ MatIcon,
323
+ MatIconButton,
324
+ MatProgressBar,
325
+ MatTooltip
326
+ ],
327
+ selector: "gd-country-filter",
328
+ template: "@if (title()) {\n <h2>{{ title() }}</h2>\n}\n@if (subtitle()) {\n <p>{{ subtitle() }}</p>\n}\n<mat-button-toggle-group vertical multiple hideMultipleSelectionIndicator [value]=\"selected()\" (change)=\"selected.set($event.value)\">\n @for (country of countries(); track country) {\n <div class=\"row\">\n <mat-button-toggle [value]=\"country\">\n <span class=\"label\">{{ country }}@if (!hideCount()) { ({{ counts()[country] }})}</span>\n <mat-progress-bar mode=\"determinate\" [value]=\"(counts()[country] / max()) * 100\" />\n </mat-button-toggle>\n @if (buttonCountries().includes(country)) {\n <button mat-icon-button [matTooltip]=\"buttonLabel()\" [attr.aria-label]=\"buttonLabel()\" (click)=\"buttonClick.emit(country)\">\n <mat-icon>{{ buttonIcon() }}</mat-icon>\n </button>\n }\n </div>\n }\n</mat-button-toggle-group>\n",
329
+ styles: [":host{display:flex;flex-direction:column;min-height:100%}h2{margin:0;padding:16px 20px 4px;font:var(--mat-sys-title-large)}p{margin:0;padding:0 20px 8px;font:var(--mat-sys-body-medium);opacity:.8}mat-button-toggle-group{flex:1;width:100%;box-sizing:border-box;padding:8px;gap:8px;--mat-button-toggle-background-color: var(--mat-sys-primary-container);--mat-button-toggle-text-color: var(--mat-sys-on-primary-container);--mat-button-toggle-state-layer-color: var(--mat-sys-on-primary-container);--mat-button-toggle-divider-color: transparent;--mat-button-toggle-height: 32px;--mat-button-toggle-shape: var(--mat-sys-corner-none);--mat-button-toggle-selected-state-background-color: var(--mat-sys-primary);--mat-button-toggle-selected-state-text-color: var(--mat-sys-on-primary);--mat-progress-bar-active-indicator-color: var(--mat-sys-primary);--mat-progress-bar-track-color: transparent}.row{flex:1;display:flex;align-items:center}mat-button-toggle{flex:1;align-self:stretch;display:flex}.mat-button-toggle-checked{--mat-progress-bar-active-indicator-color: var(--mat-sys-on-primary)}.label{display:block;text-align:start}mat-progress-bar{margin-bottom:8px}\n"]
330
+ }]
331
+ }],
332
+ propDecorators: {
333
+ title: [{
334
+ type: i0.Input,
335
+ args: [{
336
+ isSignal: true,
337
+ alias: "title",
338
+ required: false
339
+ }]
340
+ }],
341
+ subtitle: [{
342
+ type: i0.Input,
343
+ args: [{
344
+ isSignal: true,
345
+ alias: "subtitle",
346
+ required: false
347
+ }]
348
+ }],
349
+ counts: [{
350
+ type: i0.Input,
351
+ args: [{
352
+ isSignal: true,
353
+ alias: "counts",
354
+ required: false
355
+ }]
356
+ }],
357
+ selected: [{
358
+ type: i0.Input,
359
+ args: [{
360
+ isSignal: true,
361
+ alias: "selected",
362
+ required: false
363
+ }]
364
+ }, {
365
+ type: i0.Output,
366
+ args: ["selectedChange"]
367
+ }],
368
+ hideCount: [{
369
+ type: i0.Input,
370
+ args: [{
371
+ isSignal: true,
372
+ alias: "hideCount",
373
+ required: false
374
+ }]
375
+ }],
376
+ sortBy: [{
377
+ type: i0.Input,
378
+ args: [{
379
+ isSignal: true,
380
+ alias: "sortBy",
381
+ required: false
382
+ }]
383
+ }],
384
+ buttonCountries: [{
385
+ type: i0.Input,
386
+ args: [{
387
+ isSignal: true,
388
+ alias: "buttonCountries",
389
+ required: false
390
+ }]
391
+ }],
392
+ buttonIcon: [{
393
+ type: i0.Input,
394
+ args: [{
395
+ isSignal: true,
396
+ alias: "buttonIcon",
397
+ required: false
398
+ }]
399
+ }],
400
+ buttonLabel: [{
401
+ type: i0.Input,
402
+ args: [{
403
+ isSignal: true,
404
+ alias: "buttonLabel",
405
+ required: false
406
+ }]
407
+ }],
408
+ buttonClick: [{
409
+ type: i0.Output,
410
+ args: ["buttonClick"]
411
+ }]
412
+ }
413
+ });
414
+ function toCsv(items, columns) {
415
+ return [columns.map((column) => cell(column.header)), ...items.map((item) => columns.map((column) => cell(column.value(item))))].map((row) => row.join(",")).join("\r\n");
416
+ }
417
+ function cell(text) {
418
+ const trimmed = text.trim();
419
+ return `"${(/^[=+\-@]/.test(trimmed) ? `'${trimmed}` : trimmed).replaceAll("\"", "\"\"")}"`;
420
+ }
421
+ var DataTable = class DataTable {
422
+ items = input.required(...ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []);
423
+ columns = input.required(...ngDevMode ? [{ debugName: "columns" }] : /* istanbul ignore next */ []);
424
+ fileNameForDownload = input(...ngDevMode ? [void 0, { debugName: "fileNameForDownload" }] : /* istanbul ignore next */ []);
425
+ columnIds = computed(() => this.columns().map((_, index) => String(index)), ...ngDevMode ? [{ debugName: "columnIds" }] : /* istanbul ignore next */ []);
426
+ download(fileName) {
427
+ const csv = toCsv(this.items(), this.columns());
428
+ const file = new Blob(["" + csv], { type: "text/csv;charset=utf-8" });
429
+ const link = document.createElement("a");
430
+ link.href = URL.createObjectURL(file);
431
+ link.download = fileName;
432
+ link.click();
433
+ URL.revokeObjectURL(link.href);
434
+ }
435
+ static ɵfac = i0.ɵɵngDeclareFactory({
436
+ minVersion: "12.0.0",
437
+ version: "22.3.0",
438
+ ngImport: i0,
439
+ type: DataTable,
440
+ deps: [],
441
+ target: i0.ɵɵFactoryTarget.Component
442
+ });
443
+ static ɵcmp = i0.ɵɵngDeclareComponent({
444
+ minVersion: "17.0.0",
445
+ version: "22.3.0",
446
+ type: DataTable,
447
+ isStandalone: true,
448
+ selector: "gd-data-table",
449
+ inputs: {
450
+ items: {
451
+ classPropertyName: "items",
452
+ publicName: "items",
453
+ isSignal: true,
454
+ isRequired: true,
455
+ transformFunction: null
456
+ },
457
+ columns: {
458
+ classPropertyName: "columns",
459
+ publicName: "columns",
460
+ isSignal: true,
461
+ isRequired: true,
462
+ transformFunction: null
463
+ },
464
+ fileNameForDownload: {
465
+ classPropertyName: "fileNameForDownload",
466
+ publicName: "fileNameForDownload",
467
+ isSignal: true,
468
+ isRequired: false,
469
+ transformFunction: null
470
+ }
471
+ },
472
+ ngImport: i0,
473
+ template: "<div class=\"scroll\">\n <table mat-table [dataSource]=\"items()\">\n @for (column of columns(); track $index) {\n <ng-container [matColumnDef]=\"columnIds()[$index]\">\n <th mat-header-cell *matHeaderCellDef>{{ column.header }}</th>\n <td mat-cell *matCellDef=\"let item\">{{ column.value(item) }}</td>\n </ng-container>\n }\n <tr mat-header-row *matHeaderRowDef=\"columnIds(); sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: columnIds()\"></tr>\n </table>\n</div>\n@if (fileNameForDownload(); as fileName) {\n <button\n matFab\n (click)=\"download(fileName)\"\n matTooltip=\"Download CSV\"\n i18n-matTooltip=\"@@dataTable.download\"\n aria-label=\"Download CSV\"\n i18n-aria-label=\"@@dataTable.download\"\n >\n <mat-icon>download</mat-icon>\n </button>\n}\n",
474
+ styles: [":host{display:block;position:relative}.scroll{height:100%;overflow:auto}th{white-space:nowrap}button{position:absolute;right:16px;bottom:16px}\n"],
475
+ dependencies: [
476
+ {
477
+ kind: "component",
478
+ type: MatFabButton,
479
+ selector: "button[mat-fab], a[mat-fab], button[matFab], a[matFab]",
480
+ inputs: ["extended"],
481
+ exportAs: ["matButton", "matAnchor"]
482
+ },
483
+ {
484
+ kind: "component",
485
+ type: MatIcon,
486
+ selector: "mat-icon",
487
+ inputs: [
488
+ "color",
489
+ "inline",
490
+ "svgIcon",
491
+ "fontSet",
492
+ "fontIcon"
493
+ ],
494
+ exportAs: ["matIcon"]
495
+ },
496
+ {
497
+ kind: "ngmodule",
498
+ type: MatTableModule
499
+ },
500
+ {
501
+ kind: "component",
502
+ type: i1$2.MatTable,
503
+ selector: "mat-table, table[mat-table]",
504
+ exportAs: ["matTable"]
505
+ },
506
+ {
507
+ kind: "directive",
508
+ type: i1$2.MatHeaderCellDef,
509
+ selector: "[matHeaderCellDef]"
510
+ },
511
+ {
512
+ kind: "directive",
513
+ type: i1$2.MatHeaderRowDef,
514
+ selector: "[matHeaderRowDef]",
515
+ inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"]
516
+ },
517
+ {
518
+ kind: "directive",
519
+ type: i1$2.MatColumnDef,
520
+ selector: "[matColumnDef]",
521
+ inputs: ["matColumnDef"]
522
+ },
523
+ {
524
+ kind: "directive",
525
+ type: i1$2.MatCellDef,
526
+ selector: "[matCellDef]"
527
+ },
528
+ {
529
+ kind: "directive",
530
+ type: i1$2.MatRowDef,
531
+ selector: "[matRowDef]",
532
+ inputs: ["matRowDefColumns", "matRowDefWhen"]
533
+ },
534
+ {
535
+ kind: "directive",
536
+ type: i1$2.MatHeaderCell,
537
+ selector: "mat-header-cell, th[mat-header-cell]"
538
+ },
539
+ {
540
+ kind: "directive",
541
+ type: i1$2.MatCell,
542
+ selector: "mat-cell, td[mat-cell]"
543
+ },
544
+ {
545
+ kind: "component",
546
+ type: i1$2.MatHeaderRow,
547
+ selector: "mat-header-row, tr[mat-header-row]",
548
+ exportAs: ["matHeaderRow"]
549
+ },
550
+ {
551
+ kind: "component",
552
+ type: i1$2.MatRow,
553
+ selector: "mat-row, tr[mat-row]",
554
+ exportAs: ["matRow"]
555
+ },
556
+ {
557
+ kind: "directive",
558
+ type: MatTooltip,
559
+ selector: "[matTooltip]",
560
+ inputs: [
561
+ "matTooltipPosition",
562
+ "matTooltipPositionAtOrigin",
563
+ "matTooltipDisabled",
564
+ "matTooltipShowDelay",
565
+ "matTooltipHideDelay",
566
+ "matTooltipTouchGestures",
567
+ "matTooltip",
568
+ "matTooltipClass"
569
+ ],
570
+ exportAs: ["matTooltip"]
571
+ }
572
+ ]
573
+ });
574
+ };
575
+ i0.ɵɵngDeclareClassMetadata({
576
+ minVersion: "12.0.0",
577
+ version: "22.3.0",
578
+ ngImport: i0,
579
+ type: DataTable,
580
+ decorators: [{
581
+ type: Component,
582
+ args: [{
583
+ imports: [
584
+ MatFabButton,
585
+ MatIcon,
586
+ MatTableModule,
587
+ MatTooltip
588
+ ],
589
+ selector: "gd-data-table",
590
+ template: "<div class=\"scroll\">\n <table mat-table [dataSource]=\"items()\">\n @for (column of columns(); track $index) {\n <ng-container [matColumnDef]=\"columnIds()[$index]\">\n <th mat-header-cell *matHeaderCellDef>{{ column.header }}</th>\n <td mat-cell *matCellDef=\"let item\">{{ column.value(item) }}</td>\n </ng-container>\n }\n <tr mat-header-row *matHeaderRowDef=\"columnIds(); sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: columnIds()\"></tr>\n </table>\n</div>\n@if (fileNameForDownload(); as fileName) {\n <button\n matFab\n (click)=\"download(fileName)\"\n matTooltip=\"Download CSV\"\n i18n-matTooltip=\"@@dataTable.download\"\n aria-label=\"Download CSV\"\n i18n-aria-label=\"@@dataTable.download\"\n >\n <mat-icon>download</mat-icon>\n </button>\n}\n",
591
+ styles: [":host{display:block;position:relative}.scroll{height:100%;overflow:auto}th{white-space:nowrap}button{position:absolute;right:16px;bottom:16px}\n"]
592
+ }]
593
+ }],
594
+ propDecorators: {
595
+ items: [{
596
+ type: i0.Input,
597
+ args: [{
598
+ isSignal: true,
599
+ alias: "items",
600
+ required: true
601
+ }]
602
+ }],
603
+ columns: [{
604
+ type: i0.Input,
605
+ args: [{
606
+ isSignal: true,
607
+ alias: "columns",
608
+ required: true
609
+ }]
610
+ }],
611
+ fileNameForDownload: [{
612
+ type: i0.Input,
613
+ args: [{
614
+ isSignal: true,
615
+ alias: "fileNameForDownload",
616
+ required: false
617
+ }]
618
+ }]
619
+ }
620
+ });
621
+ var HeaderBar = class HeaderBar {
622
+ title = input.required(...ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []);
623
+ subtitle = input(...ngDevMode ? [void 0, { debugName: "subtitle" }] : /* istanbul ignore next */ []);
624
+ logo = input(...ngDevMode ? [void 0, { debugName: "logo" }] : /* istanbul ignore next */ []);
625
+ logoLink = input(...ngDevMode ? [void 0, { debugName: "logoLink" }] : /* istanbul ignore next */ []);
626
+ static ɵfac = i0.ɵɵngDeclareFactory({
627
+ minVersion: "12.0.0",
628
+ version: "22.3.0",
629
+ ngImport: i0,
630
+ type: HeaderBar,
631
+ deps: [],
632
+ target: i0.ɵɵFactoryTarget.Component
633
+ });
634
+ static ɵcmp = i0.ɵɵngDeclareComponent({
635
+ minVersion: "17.0.0",
636
+ version: "22.3.0",
637
+ type: HeaderBar,
638
+ isStandalone: true,
639
+ selector: "gd-header-bar",
640
+ inputs: {
641
+ title: {
642
+ classPropertyName: "title",
643
+ publicName: "title",
644
+ isSignal: true,
645
+ isRequired: true,
646
+ transformFunction: null
647
+ },
648
+ subtitle: {
649
+ classPropertyName: "subtitle",
650
+ publicName: "subtitle",
651
+ isSignal: true,
652
+ isRequired: false,
653
+ transformFunction: null
654
+ },
655
+ logo: {
656
+ classPropertyName: "logo",
657
+ publicName: "logo",
658
+ isSignal: true,
659
+ isRequired: false,
660
+ transformFunction: null
661
+ },
662
+ logoLink: {
663
+ classPropertyName: "logoLink",
664
+ publicName: "logoLink",
665
+ isSignal: true,
666
+ isRequired: false,
667
+ transformFunction: null
668
+ }
669
+ },
670
+ ngImport: i0,
671
+ template: "<mat-toolbar>\n <ng-content select=\"[headerStart]\" />\n @if (logo()) {\n @if (logoLink()) {\n <a [href]=\"logoLink()\" target=\"_blank\" rel=\"noopener\"><img [src]=\"logo()\" alt=\"\" /></a>\n } @else {\n <img [src]=\"logo()\" alt=\"\" />\n }\n }\n <div>\n <h1>{{ title() }}</h1>\n @if (subtitle()) {\n <p>{{ subtitle() }}</p>\n }\n </div>\n <ng-content />\n</mat-toolbar>\n",
672
+ styles: ["mat-toolbar{--mat-toolbar-container-background-color: var(--mat-sys-primary);--mat-toolbar-container-text-color: var(--mat-sys-on-primary);--mat-icon-button-icon-color: var(--mat-sys-on-primary);--mat-icon-button-state-layer-color: var(--mat-sys-on-primary);gap:16px;box-shadow:var(--mat-sys-level2)}mat-toolbar>a,mat-toolbar>img{height:80%}a>img{height:100%}mat-toolbar>div{margin-right:auto;min-width:0}h1{margin:0;font:var(--mat-sys-title-large);overflow:hidden;text-overflow:ellipsis}p{margin:0;font:var(--mat-sys-body-medium);opacity:.8;overflow:hidden;text-overflow:ellipsis}@media(max-width:599.98px){mat-toolbar{gap:8px}h1{font:var(--mat-sys-title-small);white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}}\n"],
673
+ dependencies: [{
674
+ kind: "component",
675
+ type: MatToolbar,
676
+ selector: "mat-toolbar",
677
+ inputs: ["color"],
678
+ exportAs: ["matToolbar"]
679
+ }]
680
+ });
681
+ };
682
+ i0.ɵɵngDeclareClassMetadata({
683
+ minVersion: "12.0.0",
684
+ version: "22.3.0",
685
+ ngImport: i0,
686
+ type: HeaderBar,
687
+ decorators: [{
688
+ type: Component,
689
+ args: [{
690
+ imports: [MatToolbar],
691
+ selector: "gd-header-bar",
692
+ template: "<mat-toolbar>\n <ng-content select=\"[headerStart]\" />\n @if (logo()) {\n @if (logoLink()) {\n <a [href]=\"logoLink()\" target=\"_blank\" rel=\"noopener\"><img [src]=\"logo()\" alt=\"\" /></a>\n } @else {\n <img [src]=\"logo()\" alt=\"\" />\n }\n }\n <div>\n <h1>{{ title() }}</h1>\n @if (subtitle()) {\n <p>{{ subtitle() }}</p>\n }\n </div>\n <ng-content />\n</mat-toolbar>\n",
693
+ styles: ["mat-toolbar{--mat-toolbar-container-background-color: var(--mat-sys-primary);--mat-toolbar-container-text-color: var(--mat-sys-on-primary);--mat-icon-button-icon-color: var(--mat-sys-on-primary);--mat-icon-button-state-layer-color: var(--mat-sys-on-primary);gap:16px;box-shadow:var(--mat-sys-level2)}mat-toolbar>a,mat-toolbar>img{height:80%}a>img{height:100%}mat-toolbar>div{margin-right:auto;min-width:0}h1{margin:0;font:var(--mat-sys-title-large);overflow:hidden;text-overflow:ellipsis}p{margin:0;font:var(--mat-sys-body-medium);opacity:.8;overflow:hidden;text-overflow:ellipsis}@media(max-width:599.98px){mat-toolbar{gap:8px}h1{font:var(--mat-sys-title-small);white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}}\n"]
694
+ }]
695
+ }],
696
+ propDecorators: {
697
+ title: [{
698
+ type: i0.Input,
699
+ args: [{
700
+ isSignal: true,
701
+ alias: "title",
702
+ required: true
703
+ }]
704
+ }],
705
+ subtitle: [{
706
+ type: i0.Input,
707
+ args: [{
708
+ isSignal: true,
709
+ alias: "subtitle",
710
+ required: false
711
+ }]
712
+ }],
713
+ logo: [{
714
+ type: i0.Input,
715
+ args: [{
716
+ isSignal: true,
717
+ alias: "logo",
718
+ required: false
719
+ }]
720
+ }],
721
+ logoLink: [{
722
+ type: i0.Input,
723
+ args: [{
724
+ isSignal: true,
725
+ alias: "logoLink",
726
+ required: false
727
+ }]
728
+ }]
729
+ }
730
+ });
731
+ var Image = class Image {
732
+ src = input.required(...ngDevMode ? [{ debugName: "src" }] : /* istanbul ignore next */ []);
733
+ static ɵfac = i0.ɵɵngDeclareFactory({
734
+ minVersion: "12.0.0",
735
+ version: "22.3.0",
736
+ ngImport: i0,
737
+ type: Image,
738
+ deps: [],
739
+ target: i0.ɵɵFactoryTarget.Component
740
+ });
741
+ static ɵcmp = i0.ɵɵngDeclareComponent({
742
+ minVersion: "17.1.0",
743
+ version: "22.3.0",
744
+ type: Image,
745
+ isStandalone: true,
746
+ selector: "gd-image",
747
+ inputs: { src: {
748
+ classPropertyName: "src",
749
+ publicName: "src",
750
+ isSignal: true,
751
+ isRequired: true,
752
+ transformFunction: null
753
+ } },
754
+ ngImport: i0,
755
+ template: "<img [src]=\"src()\" />\n",
756
+ styles: [":host{display:block}img{display:block;height:100%}\n"]
757
+ });
758
+ };
759
+ i0.ɵɵngDeclareClassMetadata({
760
+ minVersion: "12.0.0",
761
+ version: "22.3.0",
762
+ ngImport: i0,
763
+ type: Image,
764
+ decorators: [{
765
+ type: Component,
766
+ args: [{
767
+ selector: "gd-image",
768
+ template: "<img [src]=\"src()\" />\n",
769
+ styles: [":host{display:block}img{display:block;height:100%}\n"]
770
+ }]
771
+ }],
772
+ propDecorators: { src: [{
773
+ type: i0.Input,
774
+ args: [{
775
+ isSignal: true,
776
+ alias: "src",
777
+ required: true
778
+ }]
779
+ }] }
780
+ });
781
+ var InfoButton = class InfoButton {
782
+ static ɵfac = i0.ɵɵngDeclareFactory({
783
+ minVersion: "12.0.0",
784
+ version: "22.3.0",
785
+ ngImport: i0,
786
+ type: InfoButton,
787
+ deps: [],
788
+ target: i0.ɵɵFactoryTarget.Component
789
+ });
790
+ static ɵcmp = i0.ɵɵngDeclareComponent({
791
+ minVersion: "14.0.0",
792
+ version: "22.3.0",
793
+ type: InfoButton,
794
+ isStandalone: true,
795
+ selector: "gd-info-button",
796
+ ngImport: i0,
797
+ template: "<button mat-icon-button matTooltip=\"Help\" i18n-matTooltip=\"@@infoButton.help\" aria-label=\"Help\" i18n-aria-label=\"@@infoButton.help\">\n <mat-icon>help_outline</mat-icon>\n</button>\n",
798
+ dependencies: [
799
+ {
800
+ kind: "component",
801
+ type: MatIcon,
802
+ selector: "mat-icon",
803
+ inputs: [
804
+ "color",
805
+ "inline",
806
+ "svgIcon",
807
+ "fontSet",
808
+ "fontIcon"
809
+ ],
810
+ exportAs: ["matIcon"]
811
+ },
812
+ {
813
+ kind: "component",
814
+ type: MatIconButton,
815
+ selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]",
816
+ exportAs: ["matButton", "matAnchor"]
817
+ },
818
+ {
819
+ kind: "directive",
820
+ type: MatTooltip,
821
+ selector: "[matTooltip]",
822
+ inputs: [
823
+ "matTooltipPosition",
824
+ "matTooltipPositionAtOrigin",
825
+ "matTooltipDisabled",
826
+ "matTooltipShowDelay",
827
+ "matTooltipHideDelay",
828
+ "matTooltipTouchGestures",
829
+ "matTooltip",
830
+ "matTooltipClass"
831
+ ],
832
+ exportAs: ["matTooltip"]
833
+ }
834
+ ]
835
+ });
836
+ };
837
+ i0.ɵɵngDeclareClassMetadata({
838
+ minVersion: "12.0.0",
839
+ version: "22.3.0",
840
+ ngImport: i0,
841
+ type: InfoButton,
842
+ decorators: [{
843
+ type: Component,
844
+ args: [{
845
+ imports: [
846
+ MatIcon,
847
+ MatIconButton,
848
+ MatTooltip
849
+ ],
850
+ selector: "gd-info-button",
851
+ template: "<button mat-icon-button matTooltip=\"Help\" i18n-matTooltip=\"@@infoButton.help\" aria-label=\"Help\" i18n-aria-label=\"@@infoButton.help\">\n <mat-icon>help_outline</mat-icon>\n</button>\n"
852
+ }]
853
+ }]
854
+ });
855
+ var ItemList = class ItemList {
856
+ items = input.required(...ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []);
857
+ displayWith = input.required(...ngDevMode ? [{ debugName: "displayWith" }] : /* istanbul ignore next */ []);
858
+ sortBy = input("none", ...ngDevMode ? [{ debugName: "sortBy" }] : /* istanbul ignore next */ []);
859
+ itemClick = output();
860
+ icon = contentChild(TemplateRef, ...ngDevMode ? [{ debugName: "icon" }] : /* istanbul ignore next */ []);
861
+ search = signal("", ...ngDevMode ? [{ debugName: "search" }] : /* istanbul ignore next */ []);
862
+ rows = computed(() => {
863
+ return sortRows(searchRows(toRows(this.items(), this.displayWith()), this.search()), this.sortBy());
864
+ }, ...ngDevMode ? [{ debugName: "rows" }] : /* istanbul ignore next */ []);
865
+ static ɵfac = i0.ɵɵngDeclareFactory({
866
+ minVersion: "12.0.0",
867
+ version: "22.3.0",
868
+ ngImport: i0,
869
+ type: ItemList,
870
+ deps: [],
871
+ target: i0.ɵɵFactoryTarget.Component
872
+ });
873
+ static ɵcmp = i0.ɵɵngDeclareComponent({
874
+ minVersion: "17.0.0",
875
+ version: "22.3.0",
876
+ type: ItemList,
877
+ isStandalone: true,
878
+ selector: "gd-item-list",
879
+ inputs: {
880
+ items: {
881
+ classPropertyName: "items",
882
+ publicName: "items",
883
+ isSignal: true,
884
+ isRequired: true,
885
+ transformFunction: null
886
+ },
887
+ displayWith: {
888
+ classPropertyName: "displayWith",
889
+ publicName: "displayWith",
890
+ isSignal: true,
891
+ isRequired: true,
892
+ transformFunction: null
893
+ },
894
+ sortBy: {
895
+ classPropertyName: "sortBy",
896
+ publicName: "sortBy",
897
+ isSignal: true,
898
+ isRequired: false,
899
+ transformFunction: null
900
+ }
901
+ },
902
+ outputs: { itemClick: "itemClick" },
903
+ queries: [{
904
+ propertyName: "icon",
905
+ first: true,
906
+ predicate: TemplateRef,
907
+ descendants: true,
908
+ isSignal: true
909
+ }],
910
+ ngImport: i0,
911
+ template: "<mat-form-field subscriptSizing=\"dynamic\">\n <mat-label i18n=\"@@itemList.search\">Search</mat-label>\n <input matInput #searchField (input)=\"search.set(searchField.value)\" />\n</mat-form-field>\n<mat-action-list>\n @for (row of rows(); track $index) {\n <button mat-list-item [matTooltip]=\"row.text\" (click)=\"itemClick.emit(row.item)\">\n @if (icon(); as icon) {\n <span matListItemIcon><ng-container *ngTemplateOutlet=\"icon; context: { $implicit: row.item }\" /></span>\n }\n {{ row.text }}\n </button>\n }\n</mat-action-list>\n",
912
+ styles: ["mat-form-field{box-sizing:border-box;width:100%;padding:8px}[matListItemIcon]{display:flex;align-items:center;justify-content:center}\n"],
913
+ dependencies: [
914
+ {
915
+ kind: "component",
916
+ type: MatFormField,
917
+ selector: "mat-form-field",
918
+ inputs: [
919
+ "hideRequiredMarker",
920
+ "color",
921
+ "floatLabel",
922
+ "appearance",
923
+ "subscriptSizing",
924
+ "hintLabel"
925
+ ],
926
+ exportAs: ["matFormField"]
927
+ },
928
+ {
929
+ kind: "directive",
930
+ type: MatInput,
931
+ selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]",
932
+ inputs: [
933
+ "disabled",
934
+ "id",
935
+ "placeholder",
936
+ "name",
937
+ "required",
938
+ "type",
939
+ "errorStateMatcher",
940
+ "aria-describedby",
941
+ "value",
942
+ "readonly",
943
+ "disabledInteractive"
944
+ ],
945
+ exportAs: ["matInput"]
946
+ },
947
+ {
948
+ kind: "directive",
949
+ type: MatLabel,
950
+ selector: "mat-label"
951
+ },
952
+ {
953
+ kind: "ngmodule",
954
+ type: MatListModule
955
+ },
956
+ {
957
+ kind: "component",
958
+ type: i1$1.MatActionList,
959
+ selector: "mat-action-list",
960
+ exportAs: ["matActionList"]
961
+ },
962
+ {
963
+ kind: "component",
964
+ type: i1$1.MatListItem,
965
+ selector: "mat-list-item, a[mat-list-item], button[mat-list-item]",
966
+ inputs: ["activated"],
967
+ exportAs: ["matListItem"]
968
+ },
969
+ {
970
+ kind: "directive",
971
+ type: i1$1.MatListItemIcon,
972
+ selector: "[matListItemIcon]"
973
+ },
974
+ {
975
+ kind: "ngmodule",
976
+ type: MatTooltipModule
977
+ },
978
+ {
979
+ kind: "directive",
980
+ type: i2.MatTooltip,
981
+ selector: "[matTooltip]",
982
+ inputs: [
983
+ "matTooltipPosition",
984
+ "matTooltipPositionAtOrigin",
985
+ "matTooltipDisabled",
986
+ "matTooltipShowDelay",
987
+ "matTooltipHideDelay",
988
+ "matTooltipTouchGestures",
989
+ "matTooltip",
990
+ "matTooltipClass"
991
+ ],
992
+ exportAs: ["matTooltip"]
993
+ },
994
+ {
995
+ kind: "directive",
996
+ type: NgTemplateOutlet,
997
+ selector: "[ngTemplateOutlet]",
998
+ inputs: [
999
+ "ngTemplateOutletContext",
1000
+ "ngTemplateOutlet",
1001
+ "ngTemplateOutletInjector"
1002
+ ]
1003
+ }
1004
+ ]
1005
+ });
1006
+ };
1007
+ i0.ɵɵngDeclareClassMetadata({
1008
+ minVersion: "12.0.0",
1009
+ version: "22.3.0",
1010
+ ngImport: i0,
1011
+ type: ItemList,
1012
+ decorators: [{
1013
+ type: Component,
1014
+ args: [{
1015
+ imports: [
1016
+ MatFormField,
1017
+ MatInput,
1018
+ MatLabel,
1019
+ MatListModule,
1020
+ MatTooltipModule,
1021
+ NgTemplateOutlet
1022
+ ],
1023
+ selector: "gd-item-list",
1024
+ template: "<mat-form-field subscriptSizing=\"dynamic\">\n <mat-label i18n=\"@@itemList.search\">Search</mat-label>\n <input matInput #searchField (input)=\"search.set(searchField.value)\" />\n</mat-form-field>\n<mat-action-list>\n @for (row of rows(); track $index) {\n <button mat-list-item [matTooltip]=\"row.text\" (click)=\"itemClick.emit(row.item)\">\n @if (icon(); as icon) {\n <span matListItemIcon><ng-container *ngTemplateOutlet=\"icon; context: { $implicit: row.item }\" /></span>\n }\n {{ row.text }}\n </button>\n }\n</mat-action-list>\n",
1025
+ styles: ["mat-form-field{box-sizing:border-box;width:100%;padding:8px}[matListItemIcon]{display:flex;align-items:center;justify-content:center}\n"]
1026
+ }]
1027
+ }],
1028
+ propDecorators: {
1029
+ items: [{
1030
+ type: i0.Input,
1031
+ args: [{
1032
+ isSignal: true,
1033
+ alias: "items",
1034
+ required: true
1035
+ }]
1036
+ }],
1037
+ displayWith: [{
1038
+ type: i0.Input,
1039
+ args: [{
1040
+ isSignal: true,
1041
+ alias: "displayWith",
1042
+ required: true
1043
+ }]
1044
+ }],
1045
+ sortBy: [{
1046
+ type: i0.Input,
1047
+ args: [{
1048
+ isSignal: true,
1049
+ alias: "sortBy",
1050
+ required: false
1051
+ }]
1052
+ }],
1053
+ itemClick: [{
1054
+ type: i0.Output,
1055
+ args: ["itemClick"]
1056
+ }],
1057
+ icon: [{
1058
+ type: i0.ContentChild,
1059
+ args: [i0.forwardRef(() => TemplateRef), { isSignal: true }]
1060
+ }]
1061
+ }
1062
+ });
1063
+ function toRows(items, displayWith) {
1064
+ return items.map((item) => ({
1065
+ item,
1066
+ text: displayWith(item)
1067
+ }));
1068
+ }
1069
+ function searchRows(rows, search) {
1070
+ return rows.filter((row) => row.text.toLowerCase().includes(search.toLowerCase()));
1071
+ }
1072
+ function sortRows(rows, sortBy) {
1073
+ return sortBy === "alphabetically" ? rows.sort((a, b) => a.text.localeCompare(b.text)) : rows;
1074
+ }
1075
+ var LanguageSwitch = class LanguageSwitch {
1076
+ languages = input.required(...ngDevMode ? [{ debugName: "languages" }] : /* istanbul ignore next */ []);
1077
+ menuItem = input(false, ...ngDevMode ? [{ debugName: "menuItem" }] : /* istanbul ignore next */ []);
1078
+ locale = inject(LOCALE_ID);
1079
+ current = computed(() => this.languages().find((language) => language.code === this.locale), ...ngDevMode ? [{ debugName: "current" }] : /* istanbul ignore next */ []);
1080
+ static ɵfac = i0.ɵɵngDeclareFactory({
1081
+ minVersion: "12.0.0",
1082
+ version: "22.3.0",
1083
+ ngImport: i0,
1084
+ type: LanguageSwitch,
1085
+ deps: [],
1086
+ target: i0.ɵɵFactoryTarget.Component
1087
+ });
1088
+ static ɵcmp = i0.ɵɵngDeclareComponent({
1089
+ minVersion: "17.0.0",
1090
+ version: "22.3.0",
1091
+ type: LanguageSwitch,
1092
+ isStandalone: true,
1093
+ selector: "gd-language-switch",
1094
+ inputs: {
1095
+ languages: {
1096
+ classPropertyName: "languages",
1097
+ publicName: "languages",
1098
+ isSignal: true,
1099
+ isRequired: true,
1100
+ transformFunction: null
1101
+ },
1102
+ menuItem: {
1103
+ classPropertyName: "menuItem",
1104
+ publicName: "menuItem",
1105
+ isSignal: true,
1106
+ isRequired: false,
1107
+ transformFunction: null
1108
+ }
1109
+ },
1110
+ ngImport: i0,
1111
+ template: "@if (menuItem()) {\n <!-- Stops the click, so a surrounding menu stays open while the languages are shown. -->\n <button mat-menu-item [matMenuTriggerFor]=\"menu\" (click)=\"$event.stopPropagation()\">\n <mat-icon>translate</mat-icon>{{ current().name }}\n </button>\n} @else {\n <button mat-button [matMenuTriggerFor]=\"menu\">{{ current().name }}</button>\n}\n<mat-menu #menu>\n @for (language of languages(); track language.code) {\n <a mat-menu-item [href]=\"'?locale=' + language.code\">{{ language.name }}</a>\n }\n</mat-menu>\n",
1112
+ styles: ["button{--mat-button-text-label-text-color: var(--mat-sys-on-primary)}\n"],
1113
+ dependencies: [
1114
+ {
1115
+ kind: "component",
1116
+ type: MatButton,
1117
+ selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ",
1118
+ inputs: ["matButton"],
1119
+ exportAs: ["matButton", "matAnchor"]
1120
+ },
1121
+ {
1122
+ kind: "component",
1123
+ type: MatIcon,
1124
+ selector: "mat-icon",
1125
+ inputs: [
1126
+ "color",
1127
+ "inline",
1128
+ "svgIcon",
1129
+ "fontSet",
1130
+ "fontIcon"
1131
+ ],
1132
+ exportAs: ["matIcon"]
1133
+ },
1134
+ {
1135
+ kind: "component",
1136
+ type: MatMenu,
1137
+ selector: "mat-menu",
1138
+ inputs: [
1139
+ "backdropClass",
1140
+ "aria-label",
1141
+ "aria-labelledby",
1142
+ "aria-describedby",
1143
+ "xPosition",
1144
+ "yPosition",
1145
+ "overlapTrigger",
1146
+ "hasBackdrop",
1147
+ "class",
1148
+ "classList"
1149
+ ],
1150
+ outputs: ["closed", "close"],
1151
+ exportAs: ["matMenu"]
1152
+ },
1153
+ {
1154
+ kind: "component",
1155
+ type: MatMenuItem,
1156
+ selector: "[mat-menu-item]",
1157
+ inputs: [
1158
+ "role",
1159
+ "disabled",
1160
+ "disabledInteractive",
1161
+ "disableRipple"
1162
+ ],
1163
+ exportAs: ["matMenuItem"]
1164
+ },
1165
+ {
1166
+ kind: "directive",
1167
+ type: MatMenuTrigger,
1168
+ selector: "[mat-menu-trigger-for], [matMenuTriggerFor]",
1169
+ inputs: [
1170
+ "mat-menu-trigger-for",
1171
+ "matMenuTriggerFor",
1172
+ "matMenuTriggerData",
1173
+ "matMenuTriggerRestoreFocus"
1174
+ ],
1175
+ outputs: [
1176
+ "menuOpened",
1177
+ "onMenuOpen",
1178
+ "menuClosed",
1179
+ "onMenuClose"
1180
+ ],
1181
+ exportAs: ["matMenuTrigger"]
1182
+ }
1183
+ ]
1184
+ });
1185
+ };
1186
+ i0.ɵɵngDeclareClassMetadata({
1187
+ minVersion: "12.0.0",
1188
+ version: "22.3.0",
1189
+ ngImport: i0,
1190
+ type: LanguageSwitch,
1191
+ decorators: [{
1192
+ type: Component,
1193
+ args: [{
1194
+ imports: [
1195
+ MatButton,
1196
+ MatIcon,
1197
+ MatMenu,
1198
+ MatMenuItem,
1199
+ MatMenuTrigger
1200
+ ],
1201
+ selector: "gd-language-switch",
1202
+ template: "@if (menuItem()) {\n <!-- Stops the click, so a surrounding menu stays open while the languages are shown. -->\n <button mat-menu-item [matMenuTriggerFor]=\"menu\" (click)=\"$event.stopPropagation()\">\n <mat-icon>translate</mat-icon>{{ current().name }}\n </button>\n} @else {\n <button mat-button [matMenuTriggerFor]=\"menu\">{{ current().name }}</button>\n}\n<mat-menu #menu>\n @for (language of languages(); track language.code) {\n <a mat-menu-item [href]=\"'?locale=' + language.code\">{{ language.name }}</a>\n }\n</mat-menu>\n",
1203
+ styles: ["button{--mat-button-text-label-text-color: var(--mat-sys-on-primary)}\n"]
1204
+ }]
1205
+ }],
1206
+ propDecorators: {
1207
+ languages: [{
1208
+ type: i0.Input,
1209
+ args: [{
1210
+ isSignal: true,
1211
+ alias: "languages",
1212
+ required: true
1213
+ }]
1214
+ }],
1215
+ menuItem: [{
1216
+ type: i0.Input,
1217
+ args: [{
1218
+ isSignal: true,
1219
+ alias: "menuItem",
1220
+ required: false
1221
+ }]
1222
+ }]
1223
+ }
1224
+ });
1225
+ var MarkerIcon = class MarkerIcon {
1226
+ icon = input("", ...ngDevMode ? [{ debugName: "icon" }] : /* istanbul ignore next */ []);
1227
+ static ɵfac = i0.ɵɵngDeclareFactory({
1228
+ minVersion: "12.0.0",
1229
+ version: "22.3.0",
1230
+ ngImport: i0,
1231
+ type: MarkerIcon,
1232
+ deps: [],
1233
+ target: i0.ɵɵFactoryTarget.Component
1234
+ });
1235
+ static ɵcmp = i0.ɵɵngDeclareComponent({
1236
+ minVersion: "17.1.0",
1237
+ version: "22.3.0",
1238
+ type: MarkerIcon,
1239
+ isStandalone: true,
1240
+ selector: "gd-marker-icon",
1241
+ inputs: { icon: {
1242
+ classPropertyName: "icon",
1243
+ publicName: "icon",
1244
+ isSignal: true,
1245
+ isRequired: false,
1246
+ transformFunction: null
1247
+ } },
1248
+ ngImport: i0,
1249
+ template: "<div class=\"marker\"><mat-icon fontSet=\"material-symbols-outlined\">{{ icon() }}</mat-icon></div>\n",
1250
+ styles: [".marker{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:var(--mat-sys-tertiary);border:1px solid var(--mat-sys-on-tertiary);color:var(--mat-sys-on-tertiary)}mat-icon{width:20px;height:20px;font-size:20px}\n"],
1251
+ dependencies: [{
1252
+ kind: "component",
1253
+ type: MatIcon,
1254
+ selector: "mat-icon",
1255
+ inputs: [
1256
+ "color",
1257
+ "inline",
1258
+ "svgIcon",
1259
+ "fontSet",
1260
+ "fontIcon"
1261
+ ],
1262
+ exportAs: ["matIcon"]
1263
+ }]
1264
+ });
1265
+ };
1266
+ i0.ɵɵngDeclareClassMetadata({
1267
+ minVersion: "12.0.0",
1268
+ version: "22.3.0",
1269
+ ngImport: i0,
1270
+ type: MarkerIcon,
1271
+ decorators: [{
1272
+ type: Component,
1273
+ args: [{
1274
+ imports: [MatIcon],
1275
+ selector: "gd-marker-icon",
1276
+ template: "<div class=\"marker\"><mat-icon fontSet=\"material-symbols-outlined\">{{ icon() }}</mat-icon></div>\n",
1277
+ styles: [".marker{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:var(--mat-sys-tertiary);border:1px solid var(--mat-sys-on-tertiary);color:var(--mat-sys-on-tertiary)}mat-icon{width:20px;height:20px;font-size:20px}\n"]
1278
+ }]
1279
+ }],
1280
+ propDecorators: { icon: [{
1281
+ type: i0.Input,
1282
+ args: [{
1283
+ isSignal: true,
1284
+ alias: "icon",
1285
+ required: false
1286
+ }]
1287
+ }] }
1288
+ });
1289
+ var Legend = class Legend {
1290
+ items = input.required(...ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []);
1291
+ shownItems = input([], ...ngDevMode ? [{ debugName: "shownItems" }] : /* istanbul ignore next */ []);
1292
+ showOnlyVisibleIcons = input(false, ...ngDevMode ? [{ debugName: "showOnlyVisibleIcons" }] : /* istanbul ignore next */ []);
1293
+ iconOf = input.required(...ngDevMode ? [{ debugName: "iconOf" }] : /* istanbul ignore next */ []);
1294
+ labels = input({}, ...ngDevMode ? [{ debugName: "labels" }] : /* istanbul ignore next */ []);
1295
+ showOtherNames = input(false, ...ngDevMode ? [{ debugName: "showOtherNames" }] : /* istanbul ignore next */ []);
1296
+ collapsed = signal(inject(BreakpointObserver).isMatched(Breakpoints.XSmall), ...ngDevMode ? [{ debugName: "collapsed" }] : /* istanbul ignore next */ []);
1297
+ used = computed(() => new Set((this.showOnlyVisibleIcons() ? this.shownItems() : this.items()).map(this.iconOf())), ...ngDevMode ? [{ debugName: "used" }] : /* istanbul ignore next */ []);
1298
+ labelled = computed(() => Object.keys(this.labels()).filter((icon) => this.used().has(icon)), ...ngDevMode ? [{ debugName: "labelled" }] : /* istanbul ignore next */ []);
1299
+ others = computed(() => [...this.used()].filter((icon) => !(icon in this.labels())), ...ngDevMode ? [{ debugName: "others" }] : /* istanbul ignore next */ []);
1300
+ static ɵfac = i0.ɵɵngDeclareFactory({
1301
+ minVersion: "12.0.0",
1302
+ version: "22.3.0",
1303
+ ngImport: i0,
1304
+ type: Legend,
1305
+ deps: [],
1306
+ target: i0.ɵɵFactoryTarget.Component
1307
+ });
1308
+ static ɵcmp = i0.ɵɵngDeclareComponent({
1309
+ minVersion: "17.0.0",
1310
+ version: "22.3.0",
1311
+ type: Legend,
1312
+ isStandalone: true,
1313
+ selector: "gd-legend",
1314
+ inputs: {
1315
+ items: {
1316
+ classPropertyName: "items",
1317
+ publicName: "items",
1318
+ isSignal: true,
1319
+ isRequired: true,
1320
+ transformFunction: null
1321
+ },
1322
+ shownItems: {
1323
+ classPropertyName: "shownItems",
1324
+ publicName: "shownItems",
1325
+ isSignal: true,
1326
+ isRequired: false,
1327
+ transformFunction: null
1328
+ },
1329
+ showOnlyVisibleIcons: {
1330
+ classPropertyName: "showOnlyVisibleIcons",
1331
+ publicName: "showOnlyVisibleIcons",
1332
+ isSignal: true,
1333
+ isRequired: false,
1334
+ transformFunction: null
1335
+ },
1336
+ iconOf: {
1337
+ classPropertyName: "iconOf",
1338
+ publicName: "iconOf",
1339
+ isSignal: true,
1340
+ isRequired: true,
1341
+ transformFunction: null
1342
+ },
1343
+ labels: {
1344
+ classPropertyName: "labels",
1345
+ publicName: "labels",
1346
+ isSignal: true,
1347
+ isRequired: false,
1348
+ transformFunction: null
1349
+ },
1350
+ showOtherNames: {
1351
+ classPropertyName: "showOtherNames",
1352
+ publicName: "showOtherNames",
1353
+ isSignal: true,
1354
+ isRequired: false,
1355
+ transformFunction: null
1356
+ }
1357
+ },
1358
+ host: { listeners: { "click": "collapsed.set(!collapsed())" } },
1359
+ ngImport: i0,
1360
+ template: "<div class=\"title\">\n @if (collapsed()) {\n <mat-icon>legend_toggle</mat-icon>\n }\n <span i18n=\"@@legend.title\">Legend</span>\n</div>\n@if (!collapsed()) {\n @for (icon of labelled(); track icon) {\n <div class=\"entry\">\n <gd-marker-icon [icon]=\"icon\" />\n <span class=\"label\">{{ labels()[icon] }}</span>\n </div>\n }\n @if (others().length) {\n <mat-divider />\n <div class=\"other\">\n <span class=\"heading\" i18n=\"@@legend.other\">Other</span>\n <div class=\"other-icons\">\n @for (icon of others(); track icon) {\n <div class=\"entry\" [matTooltip]=\"icon\">\n <gd-marker-icon [icon]=\"icon\" />\n @if (showOtherNames()) {\n <span class=\"label\">{{ icon }}</span>\n }\n </div>\n }\n </div>\n </div>\n }\n}\n",
1361
+ styles: [":host{display:flex;flex-direction:column;gap:4px;padding:8px;background:var(--mat-sys-surface-container);color:var(--mat-sys-on-surface);border-radius:var(--mat-sys-corner-medium);box-shadow:var(--mat-sys-level2);font:var(--mat-sys-body-medium);cursor:pointer}.title{display:flex;align-items:center;gap:8px;font:var(--mat-sys-title-large);margin-bottom:8px}.title:last-child{margin-bottom:0}.entry{display:flex;align-items:center;gap:8px}.other{display:flex;flex-direction:column;gap:4px}.other-icons{display:flex;flex-wrap:wrap;gap:4px 12px}.heading{font:var(--mat-sys-label-medium);color:var(--mat-sys-on-surface-variant)}\n"],
1362
+ dependencies: [
1363
+ {
1364
+ kind: "component",
1365
+ type: MarkerIcon,
1366
+ selector: "gd-marker-icon",
1367
+ inputs: ["icon"]
1368
+ },
1369
+ {
1370
+ kind: "component",
1371
+ type: MatDivider,
1372
+ selector: "mat-divider",
1373
+ inputs: ["vertical", "inset"]
1374
+ },
1375
+ {
1376
+ kind: "component",
1377
+ type: MatIcon,
1378
+ selector: "mat-icon",
1379
+ inputs: [
1380
+ "color",
1381
+ "inline",
1382
+ "svgIcon",
1383
+ "fontSet",
1384
+ "fontIcon"
1385
+ ],
1386
+ exportAs: ["matIcon"]
1387
+ },
1388
+ {
1389
+ kind: "directive",
1390
+ type: MatTooltip,
1391
+ selector: "[matTooltip]",
1392
+ inputs: [
1393
+ "matTooltipPosition",
1394
+ "matTooltipPositionAtOrigin",
1395
+ "matTooltipDisabled",
1396
+ "matTooltipShowDelay",
1397
+ "matTooltipHideDelay",
1398
+ "matTooltipTouchGestures",
1399
+ "matTooltip",
1400
+ "matTooltipClass"
1401
+ ],
1402
+ exportAs: ["matTooltip"]
1403
+ }
1404
+ ]
1405
+ });
1406
+ };
1407
+ i0.ɵɵngDeclareClassMetadata({
1408
+ minVersion: "12.0.0",
1409
+ version: "22.3.0",
1410
+ ngImport: i0,
1411
+ type: Legend,
1412
+ decorators: [{
1413
+ type: Component,
1414
+ args: [{
1415
+ host: { "(click)": "collapsed.set(!collapsed())" },
1416
+ imports: [
1417
+ MarkerIcon,
1418
+ MatDivider,
1419
+ MatIcon,
1420
+ MatTooltip
1421
+ ],
1422
+ selector: "gd-legend",
1423
+ template: "<div class=\"title\">\n @if (collapsed()) {\n <mat-icon>legend_toggle</mat-icon>\n }\n <span i18n=\"@@legend.title\">Legend</span>\n</div>\n@if (!collapsed()) {\n @for (icon of labelled(); track icon) {\n <div class=\"entry\">\n <gd-marker-icon [icon]=\"icon\" />\n <span class=\"label\">{{ labels()[icon] }}</span>\n </div>\n }\n @if (others().length) {\n <mat-divider />\n <div class=\"other\">\n <span class=\"heading\" i18n=\"@@legend.other\">Other</span>\n <div class=\"other-icons\">\n @for (icon of others(); track icon) {\n <div class=\"entry\" [matTooltip]=\"icon\">\n <gd-marker-icon [icon]=\"icon\" />\n @if (showOtherNames()) {\n <span class=\"label\">{{ icon }}</span>\n }\n </div>\n }\n </div>\n </div>\n }\n}\n",
1424
+ styles: [":host{display:flex;flex-direction:column;gap:4px;padding:8px;background:var(--mat-sys-surface-container);color:var(--mat-sys-on-surface);border-radius:var(--mat-sys-corner-medium);box-shadow:var(--mat-sys-level2);font:var(--mat-sys-body-medium);cursor:pointer}.title{display:flex;align-items:center;gap:8px;font:var(--mat-sys-title-large);margin-bottom:8px}.title:last-child{margin-bottom:0}.entry{display:flex;align-items:center;gap:8px}.other{display:flex;flex-direction:column;gap:4px}.other-icons{display:flex;flex-wrap:wrap;gap:4px 12px}.heading{font:var(--mat-sys-label-medium);color:var(--mat-sys-on-surface-variant)}\n"]
1425
+ }]
1426
+ }],
1427
+ propDecorators: {
1428
+ items: [{
1429
+ type: i0.Input,
1430
+ args: [{
1431
+ isSignal: true,
1432
+ alias: "items",
1433
+ required: true
1434
+ }]
1435
+ }],
1436
+ shownItems: [{
1437
+ type: i0.Input,
1438
+ args: [{
1439
+ isSignal: true,
1440
+ alias: "shownItems",
1441
+ required: false
1442
+ }]
1443
+ }],
1444
+ showOnlyVisibleIcons: [{
1445
+ type: i0.Input,
1446
+ args: [{
1447
+ isSignal: true,
1448
+ alias: "showOnlyVisibleIcons",
1449
+ required: false
1450
+ }]
1451
+ }],
1452
+ iconOf: [{
1453
+ type: i0.Input,
1454
+ args: [{
1455
+ isSignal: true,
1456
+ alias: "iconOf",
1457
+ required: true
1458
+ }]
1459
+ }],
1460
+ labels: [{
1461
+ type: i0.Input,
1462
+ args: [{
1463
+ isSignal: true,
1464
+ alias: "labels",
1465
+ required: false
1466
+ }]
1467
+ }],
1468
+ showOtherNames: [{
1469
+ type: i0.Input,
1470
+ args: [{
1471
+ isSignal: true,
1472
+ alias: "showOtherNames",
1473
+ required: false
1474
+ }]
1475
+ }]
1476
+ }
1477
+ });
1478
+ var MapView = class MapView {
1479
+ basemapStyle = input(...ngDevMode ? [void 0, { debugName: "basemapStyle" }] : /* istanbul ignore next */ []);
1480
+ items = input([], ...ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []);
1481
+ shownItems = input([], ...ngDevMode ? [{ debugName: "shownItems" }] : /* istanbul ignore next */ []);
1482
+ filtered = input(false, ...ngDevMode ? [{ debugName: "filtered" }] : /* istanbul ignore next */ []);
1483
+ markerClick = output();
1484
+ reset = output();
1485
+ buttons = input([], ...ngDevMode ? [{ debugName: "buttons" }] : /* istanbul ignore next */ []);
1486
+ iconOnly = input(false, ...ngDevMode ? [{ debugName: "iconOnly" }] : /* istanbul ignore next */ []);
1487
+ logo = input(...ngDevMode ? [void 0, { debugName: "logo" }] : /* istanbul ignore next */ []);
1488
+ legendLabels = input({}, ...ngDevMode ? [{ debugName: "legendLabels" }] : /* istanbul ignore next */ []);
1489
+ iconOf = (item) => item.icon;
1490
+ small = toSignal(inject(BreakpointObserver).observe(Breakpoints.XSmall).pipe(map((state) => state.matches)));
1491
+ buttonClick = output();
1492
+ locale = {
1493
+ "NavigationControl.ZoomIn": $localize`:@@mapView.zoomIn:Zoom in`,
1494
+ "NavigationControl.ZoomOut": $localize`:@@mapView.zoomOut:Zoom out`
1495
+ };
1496
+ bounds = computed(() => {
1497
+ const locations = this.items().map((item) => item.location);
1498
+ if (locations.length === 0) return void 0;
1499
+ const lons = locations.map((location) => location.lon);
1500
+ const lats = locations.map((location) => location.lat);
1501
+ return [[Math.min(...lons), Math.min(...lats)], [Math.max(...lons), Math.max(...lats)]];
1502
+ }, ...ngDevMode ? [{ debugName: "bounds" }] : /* istanbul ignore next */ []);
1503
+ fitBoundsOptions = {
1504
+ padding: 50,
1505
+ maxZoom: 10
1506
+ };
1507
+ map;
1508
+ destroyRef = inject(DestroyRef);
1509
+ onMapLoad(map) {
1510
+ this.map = map;
1511
+ const timeout = setTimeout(() => map.getContainer().querySelector(".maplibregl-compact-show")?.classList.remove("maplibregl-compact-show"), 5e3);
1512
+ this.destroyRef.onDestroy(() => clearTimeout(timeout));
1513
+ }
1514
+ movedByUser = signal(false, ...ngDevMode ? [{ debugName: "movedByUser" }] : /* istanbul ignore next */ []);
1515
+ onMoveStart(event) {
1516
+ if (event.originalEvent) this.movedByUser.set(true);
1517
+ }
1518
+ resetView() {
1519
+ const bounds = this.bounds();
1520
+ if (bounds) this.map?.fitBounds(bounds, this.fitBoundsOptions);
1521
+ this.movedByUser.set(false);
1522
+ this.reset.emit();
1523
+ }
1524
+ zoomTo(item) {
1525
+ const { lon, lat } = item.location;
1526
+ this.map?.flyTo({
1527
+ center: [lon, lat],
1528
+ zoom: 14
1529
+ });
1530
+ this.movedByUser.set(true);
1531
+ }
1532
+ static ɵfac = i0.ɵɵngDeclareFactory({
1533
+ minVersion: "12.0.0",
1534
+ version: "22.3.0",
1535
+ ngImport: i0,
1536
+ type: MapView,
1537
+ deps: [],
1538
+ target: i0.ɵɵFactoryTarget.Component
1539
+ });
1540
+ static ɵcmp = i0.ɵɵngDeclareComponent({
1541
+ minVersion: "17.0.0",
1542
+ version: "22.3.0",
1543
+ type: MapView,
1544
+ isStandalone: true,
1545
+ selector: "gd-map-view",
1546
+ inputs: {
1547
+ basemapStyle: {
1548
+ classPropertyName: "basemapStyle",
1549
+ publicName: "basemapStyle",
1550
+ isSignal: true,
1551
+ isRequired: false,
1552
+ transformFunction: null
1553
+ },
1554
+ items: {
1555
+ classPropertyName: "items",
1556
+ publicName: "items",
1557
+ isSignal: true,
1558
+ isRequired: false,
1559
+ transformFunction: null
1560
+ },
1561
+ shownItems: {
1562
+ classPropertyName: "shownItems",
1563
+ publicName: "shownItems",
1564
+ isSignal: true,
1565
+ isRequired: false,
1566
+ transformFunction: null
1567
+ },
1568
+ filtered: {
1569
+ classPropertyName: "filtered",
1570
+ publicName: "filtered",
1571
+ isSignal: true,
1572
+ isRequired: false,
1573
+ transformFunction: null
1574
+ },
1575
+ buttons: {
1576
+ classPropertyName: "buttons",
1577
+ publicName: "buttons",
1578
+ isSignal: true,
1579
+ isRequired: false,
1580
+ transformFunction: null
1581
+ },
1582
+ iconOnly: {
1583
+ classPropertyName: "iconOnly",
1584
+ publicName: "iconOnly",
1585
+ isSignal: true,
1586
+ isRequired: false,
1587
+ transformFunction: null
1588
+ },
1589
+ logo: {
1590
+ classPropertyName: "logo",
1591
+ publicName: "logo",
1592
+ isSignal: true,
1593
+ isRequired: false,
1594
+ transformFunction: null
1595
+ },
1596
+ legendLabels: {
1597
+ classPropertyName: "legendLabels",
1598
+ publicName: "legendLabels",
1599
+ isSignal: true,
1600
+ isRequired: false,
1601
+ transformFunction: null
1602
+ }
1603
+ },
1604
+ outputs: {
1605
+ markerClick: "markerClick",
1606
+ reset: "reset",
1607
+ buttonClick: "buttonClick"
1608
+ },
1609
+ ngImport: i0,
1610
+ template: "@if (basemapStyle(); as style) {\n <mgl-map\n [mapStyle]=\"style\"\n [center]=\"[0, 20]\"\n [zoom]=\"1.5\"\n [locale]=\"locale\"\n [fitBounds]=\"bounds()\"\n [fitBoundsOptions]=\"fitBoundsOptions\"\n (mapLoad)=\"onMapLoad($event)\"\n (moveStart)=\"onMoveStart($event)\"\n >\n <mgl-control mglScale position=\"top-right\" />\n <mgl-control mglNavigation [showCompass]=\"false\" position=\"top-right\" />\n <mgl-control mglGeolocate position=\"top-right\" />\n <!--\n The caller's buttons, below MapLibre's own controls. MapLibre stacks controls in the order they are added;\n controls inside an @for would be added before the static ones above, so all buttons share one static control.\n -->\n <mgl-control position=\"top-right\">\n <div class=\"map-buttons\">\n @for (button of buttons(); track button.id) {\n <button\n matButton=\"elevated\"\n class=\"map-button\"\n [class.icon-only]=\"iconOnly()\"\n [attr.aria-label]=\"button.label\"\n (click)=\"buttonClick.emit(button.id)\"\n >\n <mat-icon>{{ button.icon }}</mat-icon>\n @if (!iconOnly()) {\n <span>{{ button.label }}</span>\n }\n </button>\n }\n </div>\n </mgl-control>\n @for (item of shownItems(); track $index) {\n <mgl-marker [lngLat]=\"[item.location.lon, item.location.lat]\">\n <gd-marker-icon [icon]=\"item.icon\" [matTooltip]=\"item.name\" (click)=\"markerClick.emit(item)\" />\n </mgl-marker>\n }\n </mgl-map>\n}\n<div class=\"bottom-right\">\n @if (!small() && (movedByUser() || filtered())) {\n <button matButton=\"elevated\" (click)=\"resetView()\">\n <mat-icon>restart_alt</mat-icon>\n <span i18n=\"@@mapView.reset\">Reset</span>\n </button>\n }\n <div class=\"row\">\n @if (logo(); as logo) {\n <gd-image [src]=\"logo\" />\n }\n @if (!small()) {\n <gd-count-gauge [count]=\"shownItems().length\" [total]=\"items().length\" />\n }\n </div>\n</div>\n<div class=\"bottom-left\">\n <gd-legend\n [items]=\"items()\"\n [shownItems]=\"shownItems()\"\n [iconOf]=\"iconOf\"\n [labels]=\"legendLabels()\"\n />\n @if (small()) {\n <gd-count-gauge [count]=\"shownItems().length\" [total]=\"items().length\" />\n @if (movedByUser() || filtered()) {\n <button matButton=\"elevated\" aria-label=\"Reset\" i18n-aria-label=\"@@mapView.reset\" (click)=\"resetView()\">\n <mat-icon>restart_alt</mat-icon>\n </button>\n }\n }\n</div>\n\n",
1611
+ styles: [":host{display:block;position:relative;height:100%}.bottom-right{position:absolute;right:16px;bottom:32px;display:flex;flex-direction:column;align-items:flex-end;gap:8px}.bottom-left{position:absolute;bottom:16px;left:16px;display:flex;align-items:flex-end;gap:8px}gd-legend{max-width:300px}.row{display:flex;align-items:flex-end;gap:8px}button{--mat-button-protected-container-color: var(--mat-sys-surface-container);--mat-button-protected-container-shape: var(--mat-sys-corner-medium);--mat-button-protected-container-elevation-shadow: var(--mat-sys-level2);--mat-button-protected-label-text-color: var(--mat-sys-on-surface)}.bottom-left button{min-width:44px;--mat-button-protected-container-height: 44px;--mat-button-protected-horizontal-padding: 0;--mat-button-protected-icon-offset: 0;--mat-button-protected-icon-spacing: 0}.bottom-left button mat-icon{font-size:32px;width:32px;height:32px}gd-image{height:calc(64px + 4px + var(--mat-sys-body-medium-line-height));padding:8px;background:var(--mat-sys-surface-container);border-radius:var(--mat-sys-corner-medium);box-shadow:var(--mat-sys-level2)}.map-buttons{display:flex;flex-direction:column;align-items:flex-end;gap:10px}.map-button{--mat-button-protected-container-height: 29px;--mat-button-protected-container-color: var(--mat-sys-surface-container-lowest);--mat-button-protected-container-shape: var(--mat-sys-corner-extra-small);--mat-button-protected-container-elevation-shadow: 0 0 0 2px rgb(0 0 0 / 10%);--mat-button-protected-hover-container-elevation-shadow: 0 0 0 2px rgb(0 0 0 / 10%);--mat-button-protected-focus-container-elevation-shadow: 0 0 0 2px rgb(0 0 0 / 10%);--mat-button-protected-pressed-container-elevation-shadow: 0 0 0 2px rgb(0 0 0 / 10%);--mat-button-protected-horizontal-padding: 8px;--mat-button-protected-icon-offset: 0;--mat-button-protected-icon-spacing: 4px;--mat-button-protected-label-text-color: var(--mat-sys-on-surface)}.map-button mat-icon{font-size:20px;width:20px;height:20px}.map-button.icon-only{min-width:29px;--mat-button-protected-horizontal-padding: 0;--mat-button-protected-icon-spacing: 0}mgl-map{display:block;height:100%}gd-marker-icon{cursor:pointer}\n"],
1612
+ dependencies: [
1613
+ {
1614
+ kind: "component",
1615
+ type: MapComponent,
1616
+ selector: "mgl-map",
1617
+ inputs: [
1618
+ "collectResourceTiming",
1619
+ "crossSourceCollisions",
1620
+ "fadeDuration",
1621
+ "hash",
1622
+ "refreshExpiredTiles",
1623
+ "canvasContextAttributes",
1624
+ "bearingSnap",
1625
+ "interactive",
1626
+ "pitchWithRotate",
1627
+ "clickTolerance",
1628
+ "attributionControl",
1629
+ "logoPosition",
1630
+ "maxTileCacheSize",
1631
+ "localIdeographFontFamily",
1632
+ "trackResize",
1633
+ "transformRequest",
1634
+ "bounds",
1635
+ "locale",
1636
+ "cooperativeGestures",
1637
+ "cancelPendingTileRequestsWhileZooming",
1638
+ "centerClampedToGround",
1639
+ "maplibreLogo",
1640
+ "maxCanvasSize",
1641
+ "maxTileCacheZoomLevels",
1642
+ "pixelRatio",
1643
+ "rollEnabled",
1644
+ "transformCameraUpdate",
1645
+ "validateStyle",
1646
+ "reduceMotion",
1647
+ "terrainSkirtLength",
1648
+ "zoomLevelsToOverscale",
1649
+ "aroundCenter",
1650
+ "minZoom",
1651
+ "maxZoom",
1652
+ "minPitch",
1653
+ "maxPitch",
1654
+ "scrollZoom",
1655
+ "dragRotate",
1656
+ "touchPitch",
1657
+ "touchZoomRotate",
1658
+ "doubleClickZoom",
1659
+ "keyboard",
1660
+ "dragPan",
1661
+ "boxZoom",
1662
+ "mapStyle",
1663
+ "maxBounds",
1664
+ "center",
1665
+ "zoom",
1666
+ "bearing",
1667
+ "pitch",
1668
+ "roll",
1669
+ "fitBoundsOptions",
1670
+ "renderWorldCopies",
1671
+ "elevation",
1672
+ "zoomSnap",
1673
+ "anisotropicFilterPitch",
1674
+ "transformConstrain",
1675
+ "terrain",
1676
+ "projection",
1677
+ "movingMethod",
1678
+ "movingOptions",
1679
+ "fitBounds",
1680
+ "fitScreenCoordinates",
1681
+ "centerWithPanTo",
1682
+ "panToOptions",
1683
+ "cursorStyle",
1684
+ "missingStyleImageResolver"
1685
+ ],
1686
+ outputs: [
1687
+ "centerChange",
1688
+ "zoomChange",
1689
+ "bearingChange",
1690
+ "pitchChange",
1691
+ "rollChange",
1692
+ "mapResize",
1693
+ "mapRemove",
1694
+ "mapMouseDown",
1695
+ "mapMouseUp",
1696
+ "mapMouseMove",
1697
+ "mapClick",
1698
+ "mapDblClick",
1699
+ "mapMouseOver",
1700
+ "mapMouseOut",
1701
+ "mapContextMenu",
1702
+ "mapTouchStart",
1703
+ "mapTouchEnd",
1704
+ "mapTouchMove",
1705
+ "mapTouchCancel",
1706
+ "mapWheel",
1707
+ "moveStart",
1708
+ "move",
1709
+ "moveEnd",
1710
+ "mapDragStart",
1711
+ "mapDrag",
1712
+ "mapDragEnd",
1713
+ "zoomStart",
1714
+ "zoomEvt",
1715
+ "zoomEnd",
1716
+ "rotateStart",
1717
+ "rotate",
1718
+ "rotateEnd",
1719
+ "pitchStart",
1720
+ "pitchEvt",
1721
+ "pitchEnd",
1722
+ "boxZoomStart",
1723
+ "boxZoomEnd",
1724
+ "boxZoomCancel",
1725
+ "webGlContextLost",
1726
+ "webGlContextRestored",
1727
+ "mapLoad",
1728
+ "idle",
1729
+ "render",
1730
+ "mapError",
1731
+ "data",
1732
+ "styleData",
1733
+ "sourceData",
1734
+ "dataLoading",
1735
+ "styleDataLoading",
1736
+ "sourceDataLoading",
1737
+ "styleImageMissing"
1738
+ ]
1739
+ },
1740
+ {
1741
+ kind: "component",
1742
+ type: MarkerComponent,
1743
+ selector: "mgl-marker",
1744
+ inputs: [
1745
+ "offset",
1746
+ "anchor",
1747
+ "clickTolerance",
1748
+ "color",
1749
+ "scale",
1750
+ "opacity",
1751
+ "opacityWhenCovered",
1752
+ "subpixelPositioning",
1753
+ "feature",
1754
+ "lngLat",
1755
+ "draggable",
1756
+ "popupShown",
1757
+ "className",
1758
+ "contentStyle",
1759
+ "pitchAlignment",
1760
+ "rotationAlignment",
1761
+ "rotation"
1762
+ ],
1763
+ outputs: [
1764
+ "markerDragStart",
1765
+ "markerDragEnd",
1766
+ "markerDrag"
1767
+ ]
1768
+ },
1769
+ {
1770
+ kind: "component",
1771
+ type: ControlComponent,
1772
+ selector: "mgl-control",
1773
+ inputs: ["position"]
1774
+ },
1775
+ {
1776
+ kind: "directive",
1777
+ type: NavigationControlDirective,
1778
+ selector: "[mglNavigation]",
1779
+ inputs: [
1780
+ "showCompass",
1781
+ "showZoom",
1782
+ "visualizePitch",
1783
+ "visualizeRoll"
1784
+ ]
1785
+ },
1786
+ {
1787
+ kind: "directive",
1788
+ type: ScaleControlDirective,
1789
+ selector: "[mglScale]",
1790
+ inputs: ["maxWidth", "unit"]
1791
+ },
1792
+ {
1793
+ kind: "directive",
1794
+ type: GeolocateControlDirective,
1795
+ selector: "[mglGeolocate]",
1796
+ inputs: [
1797
+ "positionOptions",
1798
+ "fitBoundsOptions",
1799
+ "trackUserLocation",
1800
+ "showUserLocation"
1801
+ ],
1802
+ outputs: ["geolocate"]
1803
+ },
1804
+ {
1805
+ kind: "component",
1806
+ type: CountGauge,
1807
+ selector: "gd-count-gauge",
1808
+ inputs: ["count", "total"]
1809
+ },
1810
+ {
1811
+ kind: "component",
1812
+ type: Image,
1813
+ selector: "gd-image",
1814
+ inputs: ["src"]
1815
+ },
1816
+ {
1817
+ kind: "component",
1818
+ type: Legend,
1819
+ selector: "gd-legend",
1820
+ inputs: [
1821
+ "items",
1822
+ "shownItems",
1823
+ "showOnlyVisibleIcons",
1824
+ "iconOf",
1825
+ "labels",
1826
+ "showOtherNames"
1827
+ ]
1828
+ },
1829
+ {
1830
+ kind: "component",
1831
+ type: MarkerIcon,
1832
+ selector: "gd-marker-icon",
1833
+ inputs: ["icon"]
1834
+ },
1835
+ {
1836
+ kind: "component",
1837
+ type: MatButton,
1838
+ selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ",
1839
+ inputs: ["matButton"],
1840
+ exportAs: ["matButton", "matAnchor"]
1841
+ },
1842
+ {
1843
+ kind: "component",
1844
+ type: MatIcon,
1845
+ selector: "mat-icon",
1846
+ inputs: [
1847
+ "color",
1848
+ "inline",
1849
+ "svgIcon",
1850
+ "fontSet",
1851
+ "fontIcon"
1852
+ ],
1853
+ exportAs: ["matIcon"]
1854
+ },
1855
+ {
1856
+ kind: "directive",
1857
+ type: MatTooltip,
1858
+ selector: "[matTooltip]",
1859
+ inputs: [
1860
+ "matTooltipPosition",
1861
+ "matTooltipPositionAtOrigin",
1862
+ "matTooltipDisabled",
1863
+ "matTooltipShowDelay",
1864
+ "matTooltipHideDelay",
1865
+ "matTooltipTouchGestures",
1866
+ "matTooltip",
1867
+ "matTooltipClass"
1868
+ ],
1869
+ exportAs: ["matTooltip"]
1870
+ }
1871
+ ]
1872
+ });
1873
+ };
1874
+ i0.ɵɵngDeclareClassMetadata({
1875
+ minVersion: "12.0.0",
1876
+ version: "22.3.0",
1877
+ ngImport: i0,
1878
+ type: MapView,
1879
+ decorators: [{
1880
+ type: Component,
1881
+ args: [{
1882
+ imports: [
1883
+ MapComponent,
1884
+ MarkerComponent,
1885
+ ControlComponent,
1886
+ NavigationControlDirective,
1887
+ ScaleControlDirective,
1888
+ GeolocateControlDirective,
1889
+ CountGauge,
1890
+ Image,
1891
+ Legend,
1892
+ MarkerIcon,
1893
+ MatButton,
1894
+ MatIcon,
1895
+ MatTooltip
1896
+ ],
1897
+ selector: "gd-map-view",
1898
+ template: "@if (basemapStyle(); as style) {\n <mgl-map\n [mapStyle]=\"style\"\n [center]=\"[0, 20]\"\n [zoom]=\"1.5\"\n [locale]=\"locale\"\n [fitBounds]=\"bounds()\"\n [fitBoundsOptions]=\"fitBoundsOptions\"\n (mapLoad)=\"onMapLoad($event)\"\n (moveStart)=\"onMoveStart($event)\"\n >\n <mgl-control mglScale position=\"top-right\" />\n <mgl-control mglNavigation [showCompass]=\"false\" position=\"top-right\" />\n <mgl-control mglGeolocate position=\"top-right\" />\n <!--\n The caller's buttons, below MapLibre's own controls. MapLibre stacks controls in the order they are added;\n controls inside an @for would be added before the static ones above, so all buttons share one static control.\n -->\n <mgl-control position=\"top-right\">\n <div class=\"map-buttons\">\n @for (button of buttons(); track button.id) {\n <button\n matButton=\"elevated\"\n class=\"map-button\"\n [class.icon-only]=\"iconOnly()\"\n [attr.aria-label]=\"button.label\"\n (click)=\"buttonClick.emit(button.id)\"\n >\n <mat-icon>{{ button.icon }}</mat-icon>\n @if (!iconOnly()) {\n <span>{{ button.label }}</span>\n }\n </button>\n }\n </div>\n </mgl-control>\n @for (item of shownItems(); track $index) {\n <mgl-marker [lngLat]=\"[item.location.lon, item.location.lat]\">\n <gd-marker-icon [icon]=\"item.icon\" [matTooltip]=\"item.name\" (click)=\"markerClick.emit(item)\" />\n </mgl-marker>\n }\n </mgl-map>\n}\n<div class=\"bottom-right\">\n @if (!small() && (movedByUser() || filtered())) {\n <button matButton=\"elevated\" (click)=\"resetView()\">\n <mat-icon>restart_alt</mat-icon>\n <span i18n=\"@@mapView.reset\">Reset</span>\n </button>\n }\n <div class=\"row\">\n @if (logo(); as logo) {\n <gd-image [src]=\"logo\" />\n }\n @if (!small()) {\n <gd-count-gauge [count]=\"shownItems().length\" [total]=\"items().length\" />\n }\n </div>\n</div>\n<div class=\"bottom-left\">\n <gd-legend\n [items]=\"items()\"\n [shownItems]=\"shownItems()\"\n [iconOf]=\"iconOf\"\n [labels]=\"legendLabels()\"\n />\n @if (small()) {\n <gd-count-gauge [count]=\"shownItems().length\" [total]=\"items().length\" />\n @if (movedByUser() || filtered()) {\n <button matButton=\"elevated\" aria-label=\"Reset\" i18n-aria-label=\"@@mapView.reset\" (click)=\"resetView()\">\n <mat-icon>restart_alt</mat-icon>\n </button>\n }\n }\n</div>\n\n",
1899
+ styles: [":host{display:block;position:relative;height:100%}.bottom-right{position:absolute;right:16px;bottom:32px;display:flex;flex-direction:column;align-items:flex-end;gap:8px}.bottom-left{position:absolute;bottom:16px;left:16px;display:flex;align-items:flex-end;gap:8px}gd-legend{max-width:300px}.row{display:flex;align-items:flex-end;gap:8px}button{--mat-button-protected-container-color: var(--mat-sys-surface-container);--mat-button-protected-container-shape: var(--mat-sys-corner-medium);--mat-button-protected-container-elevation-shadow: var(--mat-sys-level2);--mat-button-protected-label-text-color: var(--mat-sys-on-surface)}.bottom-left button{min-width:44px;--mat-button-protected-container-height: 44px;--mat-button-protected-horizontal-padding: 0;--mat-button-protected-icon-offset: 0;--mat-button-protected-icon-spacing: 0}.bottom-left button mat-icon{font-size:32px;width:32px;height:32px}gd-image{height:calc(64px + 4px + var(--mat-sys-body-medium-line-height));padding:8px;background:var(--mat-sys-surface-container);border-radius:var(--mat-sys-corner-medium);box-shadow:var(--mat-sys-level2)}.map-buttons{display:flex;flex-direction:column;align-items:flex-end;gap:10px}.map-button{--mat-button-protected-container-height: 29px;--mat-button-protected-container-color: var(--mat-sys-surface-container-lowest);--mat-button-protected-container-shape: var(--mat-sys-corner-extra-small);--mat-button-protected-container-elevation-shadow: 0 0 0 2px rgb(0 0 0 / 10%);--mat-button-protected-hover-container-elevation-shadow: 0 0 0 2px rgb(0 0 0 / 10%);--mat-button-protected-focus-container-elevation-shadow: 0 0 0 2px rgb(0 0 0 / 10%);--mat-button-protected-pressed-container-elevation-shadow: 0 0 0 2px rgb(0 0 0 / 10%);--mat-button-protected-horizontal-padding: 8px;--mat-button-protected-icon-offset: 0;--mat-button-protected-icon-spacing: 4px;--mat-button-protected-label-text-color: var(--mat-sys-on-surface)}.map-button mat-icon{font-size:20px;width:20px;height:20px}.map-button.icon-only{min-width:29px;--mat-button-protected-horizontal-padding: 0;--mat-button-protected-icon-spacing: 0}mgl-map{display:block;height:100%}gd-marker-icon{cursor:pointer}\n"]
1900
+ }]
1901
+ }],
1902
+ propDecorators: {
1903
+ basemapStyle: [{
1904
+ type: i0.Input,
1905
+ args: [{
1906
+ isSignal: true,
1907
+ alias: "basemapStyle",
1908
+ required: false
1909
+ }]
1910
+ }],
1911
+ items: [{
1912
+ type: i0.Input,
1913
+ args: [{
1914
+ isSignal: true,
1915
+ alias: "items",
1916
+ required: false
1917
+ }]
1918
+ }],
1919
+ shownItems: [{
1920
+ type: i0.Input,
1921
+ args: [{
1922
+ isSignal: true,
1923
+ alias: "shownItems",
1924
+ required: false
1925
+ }]
1926
+ }],
1927
+ filtered: [{
1928
+ type: i0.Input,
1929
+ args: [{
1930
+ isSignal: true,
1931
+ alias: "filtered",
1932
+ required: false
1933
+ }]
1934
+ }],
1935
+ markerClick: [{
1936
+ type: i0.Output,
1937
+ args: ["markerClick"]
1938
+ }],
1939
+ reset: [{
1940
+ type: i0.Output,
1941
+ args: ["reset"]
1942
+ }],
1943
+ buttons: [{
1944
+ type: i0.Input,
1945
+ args: [{
1946
+ isSignal: true,
1947
+ alias: "buttons",
1948
+ required: false
1949
+ }]
1950
+ }],
1951
+ iconOnly: [{
1952
+ type: i0.Input,
1953
+ args: [{
1954
+ isSignal: true,
1955
+ alias: "iconOnly",
1956
+ required: false
1957
+ }]
1958
+ }],
1959
+ logo: [{
1960
+ type: i0.Input,
1961
+ args: [{
1962
+ isSignal: true,
1963
+ alias: "logo",
1964
+ required: false
1965
+ }]
1966
+ }],
1967
+ legendLabels: [{
1968
+ type: i0.Input,
1969
+ args: [{
1970
+ isSignal: true,
1971
+ alias: "legendLabels",
1972
+ required: false
1973
+ }]
1974
+ }],
1975
+ buttonClick: [{
1976
+ type: i0.Output,
1977
+ args: ["buttonClick"]
1978
+ }]
1979
+ }
1980
+ });
1981
+ var MarkdownDialog = class MarkdownDialog {
1982
+ html = marked.parse(inject(MAT_DIALOG_DATA), { async: false });
1983
+ static ɵfac = i0.ɵɵngDeclareFactory({
1984
+ minVersion: "12.0.0",
1985
+ version: "22.3.0",
1986
+ ngImport: i0,
1987
+ type: MarkdownDialog,
1988
+ deps: [],
1989
+ target: i0.ɵɵFactoryTarget.Component
1990
+ });
1991
+ static ɵcmp = i0.ɵɵngDeclareComponent({
1992
+ minVersion: "14.0.0",
1993
+ version: "22.3.0",
1994
+ type: MarkdownDialog,
1995
+ isStandalone: true,
1996
+ selector: "gd-markdown-dialog",
1997
+ ngImport: i0,
1998
+ template: "<button mat-icon-button mat-dialog-close class=\"close\">\n <mat-icon>close</mat-icon>\n</button>\n<mat-dialog-content [innerHTML]=\"html\" />\n",
1999
+ styles: [":host{position:relative;display:block}.close{position:absolute;top:4px;right:4px;z-index:1}mat-dialog-content{max-height:none}:host ::ng-deep h1{font:var(--mat-sys-headline-small)}:host ::ng-deep img{max-width:100%}\n"],
2000
+ dependencies: [
2001
+ {
2002
+ kind: "directive",
2003
+ type: MatDialogClose,
2004
+ selector: "[mat-dialog-close], [matDialogClose]",
2005
+ inputs: [
2006
+ "aria-label",
2007
+ "type",
2008
+ "mat-dialog-close",
2009
+ "matDialogClose"
2010
+ ],
2011
+ exportAs: ["matDialogClose"]
2012
+ },
2013
+ {
2014
+ kind: "directive",
2015
+ type: MatDialogContent,
2016
+ selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]"
2017
+ },
2018
+ {
2019
+ kind: "component",
2020
+ type: MatIcon,
2021
+ selector: "mat-icon",
2022
+ inputs: [
2023
+ "color",
2024
+ "inline",
2025
+ "svgIcon",
2026
+ "fontSet",
2027
+ "fontIcon"
2028
+ ],
2029
+ exportAs: ["matIcon"]
2030
+ },
2031
+ {
2032
+ kind: "component",
2033
+ type: MatIconButton,
2034
+ selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]",
2035
+ exportAs: ["matButton", "matAnchor"]
2036
+ }
2037
+ ]
2038
+ });
2039
+ };
2040
+ i0.ɵɵngDeclareClassMetadata({
2041
+ minVersion: "12.0.0",
2042
+ version: "22.3.0",
2043
+ ngImport: i0,
2044
+ type: MarkdownDialog,
2045
+ decorators: [{
2046
+ type: Component,
2047
+ args: [{
2048
+ imports: [
2049
+ MatDialogClose,
2050
+ MatDialogContent,
2051
+ MatIcon,
2052
+ MatIconButton
2053
+ ],
2054
+ selector: "gd-markdown-dialog",
2055
+ template: "<button mat-icon-button mat-dialog-close class=\"close\">\n <mat-icon>close</mat-icon>\n</button>\n<mat-dialog-content [innerHTML]=\"html\" />\n",
2056
+ styles: [":host{position:relative;display:block}.close{position:absolute;top:4px;right:4px;z-index:1}mat-dialog-content{max-height:none}:host ::ng-deep h1{font:var(--mat-sys-headline-small)}:host ::ng-deep img{max-width:100%}\n"]
2057
+ }]
2058
+ }]
2059
+ });
2060
+ var MarkdownDialogTrigger = class MarkdownDialogTrigger {
2061
+ gdMarkdownDialog = input.required(...ngDevMode ? [{ debugName: "gdMarkdownDialog" }] : /* istanbul ignore next */ []);
2062
+ dialog = inject(MatDialog);
2063
+ async open() {
2064
+ this.dialog.open(MarkdownDialog, { data: await this.gdMarkdownDialog()() });
2065
+ }
2066
+ static ɵfac = i0.ɵɵngDeclareFactory({
2067
+ minVersion: "12.0.0",
2068
+ version: "22.3.0",
2069
+ ngImport: i0,
2070
+ type: MarkdownDialogTrigger,
2071
+ deps: [],
2072
+ target: i0.ɵɵFactoryTarget.Directive
2073
+ });
2074
+ static ɵdir = i0.ɵɵngDeclareDirective({
2075
+ minVersion: "17.1.0",
2076
+ version: "22.3.0",
2077
+ type: MarkdownDialogTrigger,
2078
+ isStandalone: true,
2079
+ selector: "[gdMarkdownDialog]",
2080
+ inputs: { gdMarkdownDialog: {
2081
+ classPropertyName: "gdMarkdownDialog",
2082
+ publicName: "gdMarkdownDialog",
2083
+ isSignal: true,
2084
+ isRequired: true,
2085
+ transformFunction: null
2086
+ } },
2087
+ host: { listeners: { "click": "open()" } },
2088
+ ngImport: i0
2089
+ });
2090
+ };
2091
+ i0.ɵɵngDeclareClassMetadata({
2092
+ minVersion: "12.0.0",
2093
+ version: "22.3.0",
2094
+ ngImport: i0,
2095
+ type: MarkdownDialogTrigger,
2096
+ decorators: [{
2097
+ type: Directive,
2098
+ args: [{
2099
+ selector: "[gdMarkdownDialog]",
2100
+ host: { "(click)": "open()" }
2101
+ }]
2102
+ }],
2103
+ propDecorators: { gdMarkdownDialog: [{
2104
+ type: i0.Input,
2105
+ args: [{
2106
+ isSignal: true,
2107
+ alias: "gdMarkdownDialog",
2108
+ required: true
2109
+ }]
2110
+ }] }
2111
+ });
2112
+ var Menu = class Menu {
2113
+ static ɵfac = i0.ɵɵngDeclareFactory({
2114
+ minVersion: "12.0.0",
2115
+ version: "22.3.0",
2116
+ ngImport: i0,
2117
+ type: Menu,
2118
+ deps: [],
2119
+ target: i0.ɵɵFactoryTarget.Component
2120
+ });
2121
+ static ɵcmp = i0.ɵɵngDeclareComponent({
2122
+ minVersion: "14.0.0",
2123
+ version: "22.3.0",
2124
+ type: Menu,
2125
+ isStandalone: true,
2126
+ selector: "gd-menu",
2127
+ ngImport: i0,
2128
+ template: "<button mat-icon-button [matMenuTriggerFor]=\"menu\" aria-label=\"Menu\" i18n-aria-label=\"@@menu.menu\">\n <mat-icon>more_vert</mat-icon>\n</button>\n<mat-menu #menu>\n <ng-content />\n</mat-menu>\n",
2129
+ dependencies: [
2130
+ {
2131
+ kind: "component",
2132
+ type: MatIcon,
2133
+ selector: "mat-icon",
2134
+ inputs: [
2135
+ "color",
2136
+ "inline",
2137
+ "svgIcon",
2138
+ "fontSet",
2139
+ "fontIcon"
2140
+ ],
2141
+ exportAs: ["matIcon"]
2142
+ },
2143
+ {
2144
+ kind: "component",
2145
+ type: MatIconButton,
2146
+ selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]",
2147
+ exportAs: ["matButton", "matAnchor"]
2148
+ },
2149
+ {
2150
+ kind: "component",
2151
+ type: MatMenu,
2152
+ selector: "mat-menu",
2153
+ inputs: [
2154
+ "backdropClass",
2155
+ "aria-label",
2156
+ "aria-labelledby",
2157
+ "aria-describedby",
2158
+ "xPosition",
2159
+ "yPosition",
2160
+ "overlapTrigger",
2161
+ "hasBackdrop",
2162
+ "class",
2163
+ "classList"
2164
+ ],
2165
+ outputs: ["closed", "close"],
2166
+ exportAs: ["matMenu"]
2167
+ },
2168
+ {
2169
+ kind: "directive",
2170
+ type: MatMenuTrigger,
2171
+ selector: "[mat-menu-trigger-for], [matMenuTriggerFor]",
2172
+ inputs: [
2173
+ "mat-menu-trigger-for",
2174
+ "matMenuTriggerFor",
2175
+ "matMenuTriggerData",
2176
+ "matMenuTriggerRestoreFocus"
2177
+ ],
2178
+ outputs: [
2179
+ "menuOpened",
2180
+ "onMenuOpen",
2181
+ "menuClosed",
2182
+ "onMenuClose"
2183
+ ],
2184
+ exportAs: ["matMenuTrigger"]
2185
+ }
2186
+ ]
2187
+ });
2188
+ };
2189
+ i0.ɵɵngDeclareClassMetadata({
2190
+ minVersion: "12.0.0",
2191
+ version: "22.3.0",
2192
+ ngImport: i0,
2193
+ type: Menu,
2194
+ decorators: [{
2195
+ type: Component,
2196
+ args: [{
2197
+ imports: [
2198
+ MatIcon,
2199
+ MatIconButton,
2200
+ MatMenu,
2201
+ MatMenuTrigger
2202
+ ],
2203
+ selector: "gd-menu",
2204
+ template: "<button mat-icon-button [matMenuTriggerFor]=\"menu\" aria-label=\"Menu\" i18n-aria-label=\"@@menu.menu\">\n <mat-icon>more_vert</mat-icon>\n</button>\n<mat-menu #menu>\n <ng-content />\n</mat-menu>\n"
2205
+ }]
2206
+ }]
2207
+ });
2208
+ var MultiSelectFilter = class MultiSelectFilter {
2209
+ label = input.required(...ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []);
2210
+ options = input.required(...ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []);
2211
+ optionLabels = input({}, ...ngDevMode ? [{ debugName: "optionLabels" }] : /* istanbul ignore next */ []);
2212
+ selected = model([], ...ngDevMode ? [{ debugName: "selected" }] : /* istanbul ignore next */ []);
2213
+ selectAll = input(false, ...ngDevMode ? [{ debugName: "selectAll" }] : /* istanbul ignore next */ []);
2214
+ static ɵfac = i0.ɵɵngDeclareFactory({
2215
+ minVersion: "12.0.0",
2216
+ version: "22.3.0",
2217
+ ngImport: i0,
2218
+ type: MultiSelectFilter,
2219
+ deps: [],
2220
+ target: i0.ɵɵFactoryTarget.Component
2221
+ });
2222
+ static ɵcmp = i0.ɵɵngDeclareComponent({
2223
+ minVersion: "17.0.0",
2224
+ version: "22.3.0",
2225
+ type: MultiSelectFilter,
2226
+ isStandalone: true,
2227
+ selector: "gd-multi-select-filter",
2228
+ inputs: {
2229
+ label: {
2230
+ classPropertyName: "label",
2231
+ publicName: "label",
2232
+ isSignal: true,
2233
+ isRequired: true,
2234
+ transformFunction: null
2235
+ },
2236
+ options: {
2237
+ classPropertyName: "options",
2238
+ publicName: "options",
2239
+ isSignal: true,
2240
+ isRequired: true,
2241
+ transformFunction: null
2242
+ },
2243
+ optionLabels: {
2244
+ classPropertyName: "optionLabels",
2245
+ publicName: "optionLabels",
2246
+ isSignal: true,
2247
+ isRequired: false,
2248
+ transformFunction: null
2249
+ },
2250
+ selected: {
2251
+ classPropertyName: "selected",
2252
+ publicName: "selected",
2253
+ isSignal: true,
2254
+ isRequired: false,
2255
+ transformFunction: null
2256
+ },
2257
+ selectAll: {
2258
+ classPropertyName: "selectAll",
2259
+ publicName: "selectAll",
2260
+ isSignal: true,
2261
+ isRequired: false,
2262
+ transformFunction: null
2263
+ }
2264
+ },
2265
+ outputs: { selected: "selectedChange" },
2266
+ ngImport: i0,
2267
+ template: "<mat-form-field subscriptSizing=\"dynamic\">\n <mat-label>{{ label() }}</mat-label>\n <!-- panelWidth=\"\": the open list fits its options instead of the (possibly squeezed) field. -->\n <mat-select multiple panelWidth=\"\" [(value)]=\"selected\">\n @if (selectAll()) {\n <mat-checkbox\n [checked]=\"selected().length === options().length\"\n (change)=\"selected.set($event.checked ? options() : [])\"\n i18n=\"@@multiSelectFilter.selectAll\"\n >\n Select all\n </mat-checkbox>\n }\n @for (option of options(); track option) {\n <mat-option [value]=\"option\">{{ optionLabels()[option] ?? option }}</mat-option>\n }\n </mat-select>\n</mat-form-field>\n",
2268
+ styles: [":host{display:block;width:240px;min-width:0}mat-form-field{--mat-form-field-filled-container-color: var(--mat-sys-primary-container);width:100%}\n"],
2269
+ dependencies: [
2270
+ {
2271
+ kind: "component",
2272
+ type: MatFormField,
2273
+ selector: "mat-form-field",
2274
+ inputs: [
2275
+ "hideRequiredMarker",
2276
+ "color",
2277
+ "floatLabel",
2278
+ "appearance",
2279
+ "subscriptSizing",
2280
+ "hintLabel"
2281
+ ],
2282
+ exportAs: ["matFormField"]
2283
+ },
2284
+ {
2285
+ kind: "directive",
2286
+ type: MatLabel,
2287
+ selector: "mat-label"
2288
+ },
2289
+ {
2290
+ kind: "component",
2291
+ type: MatSelect,
2292
+ selector: "mat-select",
2293
+ inputs: [
2294
+ "aria-describedby",
2295
+ "panelClass",
2296
+ "disabled",
2297
+ "disableRipple",
2298
+ "tabIndex",
2299
+ "hideSingleSelectionIndicator",
2300
+ "placeholder",
2301
+ "required",
2302
+ "multiple",
2303
+ "disableOptionCentering",
2304
+ "compareWith",
2305
+ "value",
2306
+ "aria-label",
2307
+ "aria-labelledby",
2308
+ "errorStateMatcher",
2309
+ "typeaheadDebounceInterval",
2310
+ "sortComparator",
2311
+ "id",
2312
+ "panelWidth",
2313
+ "canSelectNullableOptions"
2314
+ ],
2315
+ outputs: [
2316
+ "openedChange",
2317
+ "opened",
2318
+ "closed",
2319
+ "selectionChange",
2320
+ "valueChange"
2321
+ ],
2322
+ exportAs: ["matSelect"]
2323
+ },
2324
+ {
2325
+ kind: "component",
2326
+ type: MatOption,
2327
+ selector: "mat-option",
2328
+ inputs: [
2329
+ "value",
2330
+ "id",
2331
+ "disabled"
2332
+ ],
2333
+ outputs: ["onSelectionChange"],
2334
+ exportAs: ["matOption"]
2335
+ },
2336
+ {
2337
+ kind: "component",
2338
+ type: MatCheckbox,
2339
+ selector: "mat-checkbox",
2340
+ inputs: [
2341
+ "aria-label",
2342
+ "aria-labelledby",
2343
+ "aria-describedby",
2344
+ "aria-expanded",
2345
+ "aria-controls",
2346
+ "aria-owns",
2347
+ "id",
2348
+ "required",
2349
+ "labelPosition",
2350
+ "name",
2351
+ "value",
2352
+ "disableRipple",
2353
+ "tabIndex",
2354
+ "color",
2355
+ "disabledInteractive",
2356
+ "checked",
2357
+ "disabled",
2358
+ "indeterminate"
2359
+ ],
2360
+ outputs: ["change", "indeterminateChange"],
2361
+ exportAs: ["matCheckbox"]
2362
+ }
2363
+ ]
2364
+ });
2365
+ };
2366
+ i0.ɵɵngDeclareClassMetadata({
2367
+ minVersion: "12.0.0",
2368
+ version: "22.3.0",
2369
+ ngImport: i0,
2370
+ type: MultiSelectFilter,
2371
+ decorators: [{
2372
+ type: Component,
2373
+ args: [{
2374
+ imports: [
2375
+ MatFormField,
2376
+ MatLabel,
2377
+ MatSelect,
2378
+ MatOption,
2379
+ MatCheckbox
2380
+ ],
2381
+ selector: "gd-multi-select-filter",
2382
+ template: "<mat-form-field subscriptSizing=\"dynamic\">\n <mat-label>{{ label() }}</mat-label>\n <!-- panelWidth=\"\": the open list fits its options instead of the (possibly squeezed) field. -->\n <mat-select multiple panelWidth=\"\" [(value)]=\"selected\">\n @if (selectAll()) {\n <mat-checkbox\n [checked]=\"selected().length === options().length\"\n (change)=\"selected.set($event.checked ? options() : [])\"\n i18n=\"@@multiSelectFilter.selectAll\"\n >\n Select all\n </mat-checkbox>\n }\n @for (option of options(); track option) {\n <mat-option [value]=\"option\">{{ optionLabels()[option] ?? option }}</mat-option>\n }\n </mat-select>\n</mat-form-field>\n",
2383
+ styles: [":host{display:block;width:240px;min-width:0}mat-form-field{--mat-form-field-filled-container-color: var(--mat-sys-primary-container);width:100%}\n"]
2384
+ }]
2385
+ }],
2386
+ propDecorators: {
2387
+ label: [{
2388
+ type: i0.Input,
2389
+ args: [{
2390
+ isSignal: true,
2391
+ alias: "label",
2392
+ required: true
2393
+ }]
2394
+ }],
2395
+ options: [{
2396
+ type: i0.Input,
2397
+ args: [{
2398
+ isSignal: true,
2399
+ alias: "options",
2400
+ required: true
2401
+ }]
2402
+ }],
2403
+ optionLabels: [{
2404
+ type: i0.Input,
2405
+ args: [{
2406
+ isSignal: true,
2407
+ alias: "optionLabels",
2408
+ required: false
2409
+ }]
2410
+ }],
2411
+ selected: [{
2412
+ type: i0.Input,
2413
+ args: [{
2414
+ isSignal: true,
2415
+ alias: "selected",
2416
+ required: false
2417
+ }]
2418
+ }, {
2419
+ type: i0.Output,
2420
+ args: ["selectedChange"]
2421
+ }],
2422
+ selectAll: [{
2423
+ type: i0.Input,
2424
+ args: [{
2425
+ isSignal: true,
2426
+ alias: "selectAll",
2427
+ required: false
2428
+ }]
2429
+ }]
2430
+ }
2431
+ });
2432
+ var TabPanel = class TabPanel {
2433
+ label = input.required({
2434
+ ...ngDevMode ? { debugName: "label" } : /* istanbul ignore next */ {},
2435
+ alias: "gdTabPanel"
2436
+ });
2437
+ tabPanels = inject(TabPanels);
2438
+ active = computed(() => this.tabPanels.active() === this, ...ngDevMode ? [{ debugName: "active" }] : /* istanbul ignore next */ []);
2439
+ static ɵfac = i0.ɵɵngDeclareFactory({
2440
+ minVersion: "12.0.0",
2441
+ version: "22.3.0",
2442
+ ngImport: i0,
2443
+ type: TabPanel,
2444
+ deps: [],
2445
+ target: i0.ɵɵFactoryTarget.Directive
2446
+ });
2447
+ static ɵdir = i0.ɵɵngDeclareDirective({
2448
+ minVersion: "17.1.0",
2449
+ version: "22.3.0",
2450
+ type: TabPanel,
2451
+ isStandalone: true,
2452
+ selector: "[gdTabPanel]",
2453
+ inputs: { label: {
2454
+ classPropertyName: "label",
2455
+ publicName: "gdTabPanel",
2456
+ isSignal: true,
2457
+ isRequired: true,
2458
+ transformFunction: null
2459
+ } },
2460
+ host: { properties: { "hidden": "!active()" } },
2461
+ ngImport: i0
2462
+ });
2463
+ };
2464
+ i0.ɵɵngDeclareClassMetadata({
2465
+ minVersion: "12.0.0",
2466
+ version: "22.3.0",
2467
+ ngImport: i0,
2468
+ type: TabPanel,
2469
+ decorators: [{
2470
+ type: Directive,
2471
+ args: [{
2472
+ selector: "[gdTabPanel]",
2473
+ host: { "[hidden]": "!active()" }
2474
+ }]
2475
+ }],
2476
+ propDecorators: { label: [{
2477
+ type: i0.Input,
2478
+ args: [{
2479
+ isSignal: true,
2480
+ alias: "gdTabPanel",
2481
+ required: true
2482
+ }]
2483
+ }] }
2484
+ });
2485
+ var TabPanels = class TabPanels {
2486
+ panels = contentChildren(TabPanel, ...ngDevMode ? [{ debugName: "panels" }] : /* istanbul ignore next */ []);
2487
+ active = linkedSignal(() => this.panels()[0], ...ngDevMode ? [{ debugName: "active" }] : /* istanbul ignore next */ []);
2488
+ static ɵfac = i0.ɵɵngDeclareFactory({
2489
+ minVersion: "12.0.0",
2490
+ version: "22.3.0",
2491
+ ngImport: i0,
2492
+ type: TabPanels,
2493
+ deps: [],
2494
+ target: i0.ɵɵFactoryTarget.Component
2495
+ });
2496
+ static ɵcmp = i0.ɵɵngDeclareComponent({
2497
+ minVersion: "17.0.0",
2498
+ version: "22.3.0",
2499
+ type: TabPanels,
2500
+ isStandalone: true,
2501
+ selector: "gd-tab-panels",
2502
+ queries: [{
2503
+ propertyName: "panels",
2504
+ predicate: TabPanel,
2505
+ isSignal: true
2506
+ }],
2507
+ ngImport: i0,
2508
+ template: "<nav mat-tab-nav-bar [tabPanel]=\"tabPanel\">\n @for (panel of panels(); track panel) {\n <a mat-tab-link [active]=\"active() === panel\" (click)=\"active.set(panel)\">{{ panel.label() }}</a>\n }\n</nav>\n<mat-tab-nav-panel #tabPanel>\n <ng-content />\n</mat-tab-nav-panel>\n",
2509
+ styles: [":host{display:flex;flex-direction:column}mat-tab-nav-panel{flex:1;position:relative;min-height:0}\n"],
2510
+ dependencies: [
2511
+ {
2512
+ kind: "ngmodule",
2513
+ type: MatTabsModule
2514
+ },
2515
+ {
2516
+ kind: "component",
2517
+ type: i1.MatTabNav,
2518
+ selector: "[mat-tab-nav-bar]",
2519
+ inputs: [
2520
+ "fitInkBarToContent",
2521
+ "mat-stretch-tabs",
2522
+ "animationDuration",
2523
+ "backgroundColor",
2524
+ "disableRipple",
2525
+ "color",
2526
+ "tabPanel"
2527
+ ],
2528
+ exportAs: ["matTabNavBar", "matTabNav"]
2529
+ },
2530
+ {
2531
+ kind: "component",
2532
+ type: i1.MatTabNavPanel,
2533
+ selector: "mat-tab-nav-panel",
2534
+ inputs: ["id"],
2535
+ exportAs: ["matTabNavPanel"]
2536
+ },
2537
+ {
2538
+ kind: "component",
2539
+ type: i1.MatTabLink,
2540
+ selector: "[mat-tab-link], [matTabLink]",
2541
+ inputs: [
2542
+ "active",
2543
+ "disabled",
2544
+ "disableRipple",
2545
+ "tabIndex",
2546
+ "id"
2547
+ ],
2548
+ exportAs: ["matTabLink"]
2549
+ }
2550
+ ]
2551
+ });
2552
+ };
2553
+ i0.ɵɵngDeclareClassMetadata({
2554
+ minVersion: "12.0.0",
2555
+ version: "22.3.0",
2556
+ ngImport: i0,
2557
+ type: TabPanels,
2558
+ decorators: [{
2559
+ type: Component,
2560
+ args: [{
2561
+ imports: [MatTabsModule],
2562
+ selector: "gd-tab-panels",
2563
+ template: "<nav mat-tab-nav-bar [tabPanel]=\"tabPanel\">\n @for (panel of panels(); track panel) {\n <a mat-tab-link [active]=\"active() === panel\" (click)=\"active.set(panel)\">{{ panel.label() }}</a>\n }\n</nav>\n<mat-tab-nav-panel #tabPanel>\n <ng-content />\n</mat-tab-nav-panel>\n",
2564
+ styles: [":host{display:flex;flex-direction:column}mat-tab-nav-panel{flex:1;position:relative;min-height:0}\n"]
2565
+ }]
2566
+ }],
2567
+ propDecorators: { panels: [{
2568
+ type: i0.ContentChildren,
2569
+ args: [i0.forwardRef(() => TabPanel), { isSignal: true }]
2570
+ }] }
2571
+ });
2572
+ export { CountGauge, CountryFilter, DataTable, HeaderBar, Image, InfoButton, ItemList, LanguageSwitch, Legend, MapView, MarkdownDialog, MarkdownDialogTrigger, MarkerIcon, Menu, MultiSelectFilter, TabPanel, TabPanels };
2573
+
2574
+ //# sourceMappingURL=geodienst-dashkit.mjs.map