@abgov/angular-components 5.0.0-dev.2 → 5.0.0-dev.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,12 +1,24 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { forwardRef, HostListener, Directive, CUSTOM_ELEMENTS_SCHEMA, NgModule, Input, Component,
|
|
2
|
+
import { inject, ElementRef, forwardRef, HostListener, Directive, Renderer2, CUSTOM_ELEMENTS_SCHEMA, NgModule, Input, Component, booleanAttribute, ViewChild, ChangeDetectorRef, EventEmitter, Output, numberAttribute, TemplateRef, HostBinding } from '@angular/core';
|
|
3
3
|
import { NG_VALUE_ACCESSOR, CheckboxControlValueAccessor } from '@angular/forms';
|
|
4
4
|
import { NgTemplateOutlet } from '@angular/common';
|
|
5
|
-
import {
|
|
5
|
+
import { Once, CalendarDate } from '@abgov/ui-components-common';
|
|
6
6
|
export * from '@abgov/ui-components-common';
|
|
7
7
|
|
|
8
8
|
// @deprecated: Use the new <goab-input .. /> component
|
|
9
9
|
class ValueDirective {
|
|
10
|
+
constructor() {
|
|
11
|
+
this.elementRef = inject(ElementRef);
|
|
12
|
+
this._value = "";
|
|
13
|
+
this._disabled = false;
|
|
14
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
15
|
+
this.onChange = () => {
|
|
16
|
+
/* default implementation */
|
|
17
|
+
};
|
|
18
|
+
this.onTouched = () => {
|
|
19
|
+
/* default implementation */
|
|
20
|
+
};
|
|
21
|
+
}
|
|
10
22
|
get value() {
|
|
11
23
|
return this._value;
|
|
12
24
|
}
|
|
@@ -29,18 +41,6 @@ class ValueDirective {
|
|
|
29
41
|
this._disabled = isDisabled;
|
|
30
42
|
this.elementRef.nativeElement.disabled = isDisabled;
|
|
31
43
|
}
|
|
32
|
-
constructor(elementRef) {
|
|
33
|
-
this.elementRef = elementRef;
|
|
34
|
-
this._value = "";
|
|
35
|
-
this._disabled = false;
|
|
36
|
-
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
37
|
-
this.onChange = () => {
|
|
38
|
-
/* default implementation */
|
|
39
|
-
};
|
|
40
|
-
this.onTouched = () => {
|
|
41
|
-
/* default implementation */
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
44
|
listenForValueChange(event) {
|
|
45
45
|
const value = event.detail.value;
|
|
46
46
|
this.value = value;
|
|
@@ -49,8 +49,8 @@ class ValueDirective {
|
|
|
49
49
|
const isDisabled = event.detail.disabled;
|
|
50
50
|
this.setDisabledState(isDisabled);
|
|
51
51
|
}
|
|
52
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
53
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
52
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: ValueDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
53
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.6", type: ValueDirective, isStandalone: true, selector: "[goaValue]", host: { listeners: { "_change": "listenForValueChange($event)", "disabledChange": "listenForDisabledChange($event)" } }, providers: [
|
|
54
54
|
{
|
|
55
55
|
provide: NG_VALUE_ACCESSOR,
|
|
56
56
|
useExisting: forwardRef(() => ValueDirective),
|
|
@@ -58,7 +58,7 @@ class ValueDirective {
|
|
|
58
58
|
},
|
|
59
59
|
], ngImport: i0 }); }
|
|
60
60
|
}
|
|
61
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
61
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: ValueDirective, decorators: [{
|
|
62
62
|
type: Directive,
|
|
63
63
|
args: [{
|
|
64
64
|
standalone: true,
|
|
@@ -71,7 +71,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
71
71
|
},
|
|
72
72
|
],
|
|
73
73
|
}]
|
|
74
|
-
}],
|
|
74
|
+
}], propDecorators: { listenForValueChange: [{
|
|
75
75
|
type: HostListener,
|
|
76
76
|
args: ["_change", ["$event"]]
|
|
77
77
|
}], listenForDisabledChange: [{
|
|
@@ -79,6 +79,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
79
79
|
args: ["disabledChange", ["$event"]]
|
|
80
80
|
}] } });
|
|
81
81
|
class ValueListDirective {
|
|
82
|
+
constructor() {
|
|
83
|
+
this.elementRef = inject(ElementRef);
|
|
84
|
+
this._value = [];
|
|
85
|
+
this.onChange = () => { };
|
|
86
|
+
this.onTouched = () => { };
|
|
87
|
+
}
|
|
82
88
|
get value() {
|
|
83
89
|
return this._value;
|
|
84
90
|
}
|
|
@@ -99,12 +105,6 @@ class ValueListDirective {
|
|
|
99
105
|
registerOnTouched(fn) {
|
|
100
106
|
this.onTouched = fn;
|
|
101
107
|
}
|
|
102
|
-
constructor(elementRef) {
|
|
103
|
-
this.elementRef = elementRef;
|
|
104
|
-
this._value = [];
|
|
105
|
-
this.onChange = () => { };
|
|
106
|
-
this.onTouched = () => { };
|
|
107
|
-
}
|
|
108
108
|
listenForValueChange(event) {
|
|
109
109
|
const value = event.detail.value;
|
|
110
110
|
if (!value) {
|
|
@@ -125,8 +125,8 @@ class ValueListDirective {
|
|
|
125
125
|
this.onChange(value);
|
|
126
126
|
this.onTouched();
|
|
127
127
|
}
|
|
128
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
129
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
128
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: ValueListDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
129
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.6", type: ValueListDirective, isStandalone: true, selector: "[goaValueList]", host: { listeners: { "_change": "listenForValueChange($event)" } }, providers: [
|
|
130
130
|
{
|
|
131
131
|
provide: NG_VALUE_ACCESSOR,
|
|
132
132
|
useExisting: forwardRef(() => ValueListDirective),
|
|
@@ -134,7 +134,7 @@ class ValueListDirective {
|
|
|
134
134
|
},
|
|
135
135
|
], ngImport: i0 }); }
|
|
136
136
|
}
|
|
137
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
137
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: ValueListDirective, decorators: [{
|
|
138
138
|
type: Directive,
|
|
139
139
|
args: [{
|
|
140
140
|
standalone: true,
|
|
@@ -147,17 +147,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
147
147
|
},
|
|
148
148
|
],
|
|
149
149
|
}]
|
|
150
|
-
}],
|
|
150
|
+
}], propDecorators: { listenForValueChange: [{
|
|
151
151
|
type: HostListener,
|
|
152
152
|
args: ["_change", ["$event"]]
|
|
153
153
|
}] } });
|
|
154
154
|
|
|
155
155
|
// @deprecated: Use the new <goab-checkbox .. /> component
|
|
156
156
|
class CheckedDirective extends CheckboxControlValueAccessor {
|
|
157
|
-
constructor(
|
|
157
|
+
constructor() {
|
|
158
|
+
const renderer = inject(Renderer2);
|
|
159
|
+
const elementRef = inject(ElementRef);
|
|
158
160
|
super(renderer, elementRef);
|
|
159
|
-
this.renderer = renderer;
|
|
160
|
-
this.elementRef = elementRef;
|
|
161
161
|
this._checked = false;
|
|
162
162
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
163
163
|
this.onChange = () => {
|
|
@@ -166,6 +166,8 @@ class CheckedDirective extends CheckboxControlValueAccessor {
|
|
|
166
166
|
this.onTouched = () => {
|
|
167
167
|
/** No implementation **/
|
|
168
168
|
};
|
|
169
|
+
this.renderer = renderer;
|
|
170
|
+
this.elementRef = elementRef;
|
|
169
171
|
}
|
|
170
172
|
get value() {
|
|
171
173
|
return this._checked ? "checked" : "";
|
|
@@ -189,8 +191,8 @@ class CheckedDirective extends CheckboxControlValueAccessor {
|
|
|
189
191
|
const checked = event.detail.checked;
|
|
190
192
|
this.value = checked;
|
|
191
193
|
}
|
|
192
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
193
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
194
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: CheckedDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
195
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.6", type: CheckedDirective, isStandalone: true, selector: "[goaChecked]", host: { listeners: { "_change": "listenForValueChange($event)" } }, providers: [
|
|
194
196
|
{
|
|
195
197
|
useExisting: forwardRef(() => CheckedDirective),
|
|
196
198
|
provide: NG_VALUE_ACCESSOR,
|
|
@@ -198,7 +200,7 @@ class CheckedDirective extends CheckboxControlValueAccessor {
|
|
|
198
200
|
},
|
|
199
201
|
], usesInheritance: true, ngImport: i0 }); }
|
|
200
202
|
}
|
|
201
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
203
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: CheckedDirective, decorators: [{
|
|
202
204
|
type: Directive,
|
|
203
205
|
args: [{
|
|
204
206
|
standalone: true,
|
|
@@ -211,17 +213,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
211
213
|
},
|
|
212
214
|
],
|
|
213
215
|
}]
|
|
214
|
-
}], ctorParameters: () => [
|
|
216
|
+
}], ctorParameters: () => [], propDecorators: { listenForValueChange: [{
|
|
215
217
|
type: HostListener,
|
|
216
218
|
args: ["_change", ["$event"]]
|
|
217
219
|
}] } });
|
|
218
220
|
|
|
219
221
|
class AngularComponentsModule {
|
|
220
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
221
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
222
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
222
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: AngularComponentsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
223
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.6", ngImport: i0, type: AngularComponentsModule, imports: [ValueDirective, ValueListDirective, CheckedDirective], exports: [ValueDirective, ValueListDirective, CheckedDirective] }); }
|
|
224
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: AngularComponentsModule }); }
|
|
223
225
|
}
|
|
224
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
226
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: AngularComponentsModule, decorators: [{
|
|
225
227
|
type: NgModule,
|
|
226
228
|
args: [{
|
|
227
229
|
imports: [ValueDirective, ValueListDirective, CheckedDirective],
|
|
@@ -230,11 +232,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
230
232
|
}]
|
|
231
233
|
}] });
|
|
232
234
|
|
|
235
|
+
/** Provides shared margin and test id inputs for Angular GoA wrapper components. */
|
|
233
236
|
class GoabBaseComponent {
|
|
234
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
235
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
237
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
238
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.6", type: GoabBaseComponent, isStandalone: true, selector: "ng-component", inputs: { mt: "mt", mb: "mb", ml: "ml", mr: "mr", testId: "testId" }, ngImport: i0, template: ``, isInline: true }); }
|
|
236
239
|
}
|
|
237
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
240
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabBaseComponent, decorators: [{
|
|
238
241
|
type: Component,
|
|
239
242
|
args: [{
|
|
240
243
|
standalone: true,
|
|
@@ -299,6 +302,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
299
302
|
* - `fcTouched?`: A function to handle touch events on the form control.
|
|
300
303
|
*/
|
|
301
304
|
class GoabControlValueAccessor extends GoabBaseComponent {
|
|
305
|
+
constructor() {
|
|
306
|
+
super(...arguments);
|
|
307
|
+
this.touched = false;
|
|
308
|
+
this.renderer = inject(Renderer2);
|
|
309
|
+
}
|
|
302
310
|
/**
|
|
303
311
|
* Marks the component as touched. If the component is not already marked as touched,
|
|
304
312
|
* it triggers the `fcTouched` callback (if defined) and sets the `touched` property to `true`.
|
|
@@ -309,11 +317,6 @@ class GoabControlValueAccessor extends GoabBaseComponent {
|
|
|
309
317
|
this.touched = true;
|
|
310
318
|
}
|
|
311
319
|
}
|
|
312
|
-
constructor(renderer) {
|
|
313
|
-
super();
|
|
314
|
-
this.renderer = renderer;
|
|
315
|
-
this.touched = false;
|
|
316
|
-
}
|
|
317
320
|
/**
|
|
318
321
|
* Convert an arbitrary value into a string for DOM attribute assignment.
|
|
319
322
|
* Child classes can override when they need special formatting.
|
|
@@ -360,16 +363,16 @@ class GoabControlValueAccessor extends GoabBaseComponent {
|
|
|
360
363
|
setDisabledState(isDisabled) {
|
|
361
364
|
this.disabled = isDisabled;
|
|
362
365
|
}
|
|
363
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
364
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "21.2.
|
|
366
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabControlValueAccessor, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
367
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "21.2.6", type: GoabControlValueAccessor, isStandalone: true, selector: "ng-component", inputs: { id: "id", disabled: ["disabled", "disabled", booleanAttribute], error: ["error", "error", booleanAttribute], value: "value" }, viewQueries: [{ propertyName: "goaComponentRef", first: true, predicate: ["goaComponentRef"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: ``, isInline: true }); }
|
|
365
368
|
}
|
|
366
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
369
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabControlValueAccessor, decorators: [{
|
|
367
370
|
type: Component,
|
|
368
371
|
args: [{
|
|
369
372
|
standalone: true,
|
|
370
373
|
template: ``, //** IMPLEMENT IN SUBCLASS
|
|
371
374
|
}]
|
|
372
|
-
}],
|
|
375
|
+
}], propDecorators: { id: [{
|
|
373
376
|
type: Input
|
|
374
377
|
}], disabled: [{
|
|
375
378
|
type: Input,
|
|
@@ -384,10 +387,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
384
387
|
args: ["goaComponentRef", { static: false, read: ElementRef }]
|
|
385
388
|
}] } });
|
|
386
389
|
|
|
390
|
+
/** Let users show and hide sections of related content on a page. */
|
|
387
391
|
class GoabAccordion extends GoabBaseComponent {
|
|
388
|
-
constructor(
|
|
389
|
-
super();
|
|
390
|
-
this.cdr =
|
|
392
|
+
constructor() {
|
|
393
|
+
super(...arguments);
|
|
394
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
395
|
+
/** Emits when the accordion opens or closes. Emits the new open state as a boolean. */
|
|
391
396
|
this.onChange = new EventEmitter();
|
|
392
397
|
this.isReady = false;
|
|
393
398
|
}
|
|
@@ -403,8 +408,8 @@ class GoabAccordion extends GoabBaseComponent {
|
|
|
403
408
|
const detail = e.detail;
|
|
404
409
|
this.onChange.emit(detail.open);
|
|
405
410
|
}
|
|
406
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
407
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
411
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabAccordion, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
412
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabAccordion, isStandalone: true, selector: "goab-accordion", inputs: { heading: "heading", secondaryText: "secondaryText", open: ["open", "open", booleanAttribute], headingSize: "headingSize", headingContent: "headingContent", maxWidth: "maxWidth", iconPosition: "iconPosition" }, outputs: { onChange: "onChange" }, usesInheritance: true, ngImport: i0, template: `
|
|
408
413
|
@if (isReady) {
|
|
409
414
|
<goa-accordion
|
|
410
415
|
[attr.heading]="heading"
|
|
@@ -428,7 +433,7 @@ class GoabAccordion extends GoabBaseComponent {
|
|
|
428
433
|
}
|
|
429
434
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
|
|
430
435
|
}
|
|
431
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
436
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabAccordion, decorators: [{
|
|
432
437
|
type: Component,
|
|
433
438
|
args: [{
|
|
434
439
|
standalone: true,
|
|
@@ -459,7 +464,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
459
464
|
`,
|
|
460
465
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
461
466
|
}]
|
|
462
|
-
}],
|
|
467
|
+
}], propDecorators: { heading: [{
|
|
463
468
|
type: Input
|
|
464
469
|
}], secondaryText: [{
|
|
465
470
|
type: Input
|
|
@@ -478,11 +483,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
478
483
|
type: Output
|
|
479
484
|
}] } });
|
|
480
485
|
|
|
486
|
+
/** Small labels which hold small amounts of information, system feedback, or states. */
|
|
481
487
|
class GoabBadge extends GoabBaseComponent {
|
|
482
|
-
constructor(
|
|
483
|
-
super();
|
|
484
|
-
this.cdr =
|
|
488
|
+
constructor() {
|
|
489
|
+
super(...arguments);
|
|
490
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
491
|
+
/** Sets the size of the badge. @default "medium" */
|
|
485
492
|
this.size = "medium";
|
|
493
|
+
/** Sets the visual emphasis. 'subtle' for less prominent, 'strong' for more emphasis. @default "strong" */
|
|
486
494
|
this.emphasis = "strong";
|
|
487
495
|
this.isReady = false;
|
|
488
496
|
this.version = "2";
|
|
@@ -495,8 +503,8 @@ class GoabBadge extends GoabBaseComponent {
|
|
|
495
503
|
this.cdr.detectChanges();
|
|
496
504
|
}, 0);
|
|
497
505
|
}
|
|
498
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
499
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
506
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabBadge, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
507
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabBadge, isStandalone: true, selector: "goab-badge", inputs: { type: "type", content: "content", icon: ["icon", "icon", booleanAttribute], iconType: "iconType", size: "size", emphasis: "emphasis", ariaLabel: "ariaLabel" }, usesInheritance: true, ngImport: i0, template: `
|
|
500
508
|
@if (isReady) {
|
|
501
509
|
<goa-badge
|
|
502
510
|
[attr.version]="version"
|
|
@@ -517,7 +525,7 @@ class GoabBadge extends GoabBaseComponent {
|
|
|
517
525
|
}
|
|
518
526
|
`, isInline: true, styles: [":host{display:contents}\n"] }); }
|
|
519
527
|
}
|
|
520
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
528
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabBadge, decorators: [{
|
|
521
529
|
type: Component,
|
|
522
530
|
args: [{ standalone: true, selector: "goab-badge", template: `
|
|
523
531
|
@if (isReady) {
|
|
@@ -539,7 +547,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
539
547
|
</goa-badge>
|
|
540
548
|
}
|
|
541
549
|
`, schemas: [CUSTOM_ELEMENTS_SCHEMA], styles: [":host{display:contents}\n"] }]
|
|
542
|
-
}],
|
|
550
|
+
}], propDecorators: { type: [{
|
|
543
551
|
type: Input
|
|
544
552
|
}], content: [{
|
|
545
553
|
type: Input
|
|
@@ -556,10 +564,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
556
564
|
type: Input
|
|
557
565
|
}] } });
|
|
558
566
|
|
|
567
|
+
/** Group components into a block with consistent space between. */
|
|
559
568
|
class GoabBlock extends GoabBaseComponent {
|
|
560
|
-
constructor(
|
|
561
|
-
super();
|
|
562
|
-
this.cdr =
|
|
569
|
+
constructor() {
|
|
570
|
+
super(...arguments);
|
|
571
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
563
572
|
this.isReady = false;
|
|
564
573
|
}
|
|
565
574
|
ngOnInit() {
|
|
@@ -570,8 +579,8 @@ class GoabBlock extends GoabBaseComponent {
|
|
|
570
579
|
this.cdr.detectChanges();
|
|
571
580
|
}, 0);
|
|
572
581
|
}
|
|
573
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
574
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
582
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabBlock, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
583
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabBlock, isStandalone: true, selector: "goab-block", inputs: { gap: "gap", direction: "direction", alignment: "alignment", width: "width", minWidth: "minWidth", maxWidth: "maxWidth" }, usesInheritance: true, ngImport: i0, template: `
|
|
575
584
|
@if (isReady) {
|
|
576
585
|
<goa-block
|
|
577
586
|
[attr.gap]="gap"
|
|
@@ -591,7 +600,7 @@ class GoabBlock extends GoabBaseComponent {
|
|
|
591
600
|
}
|
|
592
601
|
`, isInline: true }); }
|
|
593
602
|
}
|
|
594
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
603
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabBlock, decorators: [{
|
|
595
604
|
type: Component,
|
|
596
605
|
args: [{
|
|
597
606
|
standalone: true,
|
|
@@ -617,7 +626,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
617
626
|
`,
|
|
618
627
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
619
628
|
}]
|
|
620
|
-
}],
|
|
629
|
+
}], propDecorators: { gap: [{
|
|
621
630
|
type: Input
|
|
622
631
|
}], direction: [{
|
|
623
632
|
type: Input
|
|
@@ -631,11 +640,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
631
640
|
type: Input
|
|
632
641
|
}] } });
|
|
633
642
|
|
|
643
|
+
/** Carry out an important action or navigate to another page. */
|
|
634
644
|
class GoabButton extends GoabBaseComponent {
|
|
635
|
-
constructor(
|
|
636
|
-
super();
|
|
637
|
-
this.cdr =
|
|
645
|
+
constructor() {
|
|
646
|
+
super(...arguments);
|
|
647
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
648
|
+
/** Sets the visual style of the button. Use "primary" for main actions, "secondary" for alternative actions, "tertiary" for low-emphasis actions, and "start" for prominent call-to-action buttons. @default "primary" */
|
|
638
649
|
this.type = "primary";
|
|
650
|
+
/** Emits when the button is clicked. */
|
|
639
651
|
this.onClick = new EventEmitter();
|
|
640
652
|
this.isReady = false;
|
|
641
653
|
this.version = "2";
|
|
@@ -652,8 +664,8 @@ class GoabButton extends GoabBaseComponent {
|
|
|
652
664
|
_onClick() {
|
|
653
665
|
this.onClick.emit();
|
|
654
666
|
}
|
|
655
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
656
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
667
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabButton, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
668
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabButton, isStandalone: true, selector: "goab-button", inputs: { type: "type", size: "size", variant: "variant", disabled: ["disabled", "disabled", booleanAttribute], leadingIcon: "leadingIcon", trailingIcon: "trailingIcon", width: "width", action: "action", actionArg: "actionArg", actionArgs: "actionArgs" }, outputs: { onClick: "onClick" }, usesInheritance: true, ngImport: i0, template: `
|
|
657
669
|
@if (isReady) {
|
|
658
670
|
<goa-button
|
|
659
671
|
[attr.version]="version"
|
|
@@ -679,7 +691,7 @@ class GoabButton extends GoabBaseComponent {
|
|
|
679
691
|
}
|
|
680
692
|
`, isInline: true }); }
|
|
681
693
|
}
|
|
682
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
694
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabButton, decorators: [{
|
|
683
695
|
type: Component,
|
|
684
696
|
args: [{
|
|
685
697
|
standalone: true,
|
|
@@ -711,7 +723,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
711
723
|
`,
|
|
712
724
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
713
725
|
}]
|
|
714
|
-
}],
|
|
726
|
+
}], propDecorators: { type: [{
|
|
715
727
|
type: Input
|
|
716
728
|
}], size: [{
|
|
717
729
|
type: Input
|
|
@@ -736,10 +748,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
736
748
|
type: Output
|
|
737
749
|
}] } });
|
|
738
750
|
|
|
751
|
+
/** Display multiple related actions stacked or in a horizontal row to help with arrangement and spacing. */
|
|
739
752
|
class GoabButtonGroup extends GoabBaseComponent {
|
|
740
|
-
constructor(
|
|
741
|
-
super();
|
|
742
|
-
this.cdr =
|
|
753
|
+
constructor() {
|
|
754
|
+
super(...arguments);
|
|
755
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
743
756
|
this.isReady = false;
|
|
744
757
|
}
|
|
745
758
|
ngOnInit() {
|
|
@@ -750,8 +763,8 @@ class GoabButtonGroup extends GoabBaseComponent {
|
|
|
750
763
|
this.cdr.detectChanges();
|
|
751
764
|
}, 0);
|
|
752
765
|
}
|
|
753
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
754
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
766
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabButtonGroup, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
767
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabButtonGroup, isStandalone: true, selector: "goab-button-group", inputs: { alignment: "alignment", gap: "gap" }, usesInheritance: true, ngImport: i0, template: `
|
|
755
768
|
@if (isReady) {
|
|
756
769
|
<goa-button-group
|
|
757
770
|
[attr.alignment]="alignment"
|
|
@@ -767,7 +780,7 @@ class GoabButtonGroup extends GoabBaseComponent {
|
|
|
767
780
|
}
|
|
768
781
|
`, isInline: true }); }
|
|
769
782
|
}
|
|
770
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
783
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabButtonGroup, decorators: [{
|
|
771
784
|
type: Component,
|
|
772
785
|
args: [{
|
|
773
786
|
standalone: true,
|
|
@@ -789,13 +802,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
789
802
|
`,
|
|
790
803
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
791
804
|
}]
|
|
792
|
-
}],
|
|
805
|
+
}], propDecorators: { alignment: [{
|
|
793
806
|
type: Input
|
|
794
807
|
}], gap: [{
|
|
795
808
|
type: Input
|
|
796
809
|
}] } });
|
|
797
810
|
|
|
811
|
+
/** Visual calendar for date selection. */
|
|
798
812
|
class GoabCalendar extends GoabBaseComponent {
|
|
813
|
+
constructor() {
|
|
814
|
+
super(...arguments);
|
|
815
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
816
|
+
this.version = "2";
|
|
817
|
+
/** Emits when the selected date changes. Emits the selected date details as GoabCalendarOnChangeDetail. */
|
|
818
|
+
this.onChange = new EventEmitter();
|
|
819
|
+
this.isReady = false;
|
|
820
|
+
this.once = new Once();
|
|
821
|
+
}
|
|
799
822
|
formatValue(param, val) {
|
|
800
823
|
if (!val)
|
|
801
824
|
return "";
|
|
@@ -813,14 +836,6 @@ class GoabCalendar extends GoabBaseComponent {
|
|
|
813
836
|
maxString() {
|
|
814
837
|
return this.formatValue("max", this.max);
|
|
815
838
|
}
|
|
816
|
-
constructor(cdr) {
|
|
817
|
-
super();
|
|
818
|
-
this.cdr = cdr;
|
|
819
|
-
this.version = "2";
|
|
820
|
-
this.onChange = new EventEmitter();
|
|
821
|
-
this.isReady = false;
|
|
822
|
-
this.once = new Once();
|
|
823
|
-
}
|
|
824
839
|
ngOnInit() {
|
|
825
840
|
// For Angular 20, we need to delay rendering the web component
|
|
826
841
|
// to ensure all attributes are properly bound before the component initializes
|
|
@@ -833,8 +848,8 @@ class GoabCalendar extends GoabBaseComponent {
|
|
|
833
848
|
const details = e.detail;
|
|
834
849
|
this.onChange.emit(details);
|
|
835
850
|
}
|
|
836
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
837
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
851
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabCalendar, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
852
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabCalendar, isStandalone: true, selector: "goab-calendar", inputs: { name: "name", value: "value", min: "min", max: "max" }, outputs: { onChange: "onChange" }, usesInheritance: true, ngImport: i0, template: `
|
|
838
853
|
@if (isReady) {
|
|
839
854
|
<goa-calendar
|
|
840
855
|
[attr.name]="name"
|
|
@@ -854,7 +869,7 @@ class GoabCalendar extends GoabBaseComponent {
|
|
|
854
869
|
}
|
|
855
870
|
`, isInline: true }); }
|
|
856
871
|
}
|
|
857
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
872
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabCalendar, decorators: [{
|
|
858
873
|
type: Component,
|
|
859
874
|
args: [{
|
|
860
875
|
standalone: true,
|
|
@@ -880,7 +895,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
880
895
|
`,
|
|
881
896
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
882
897
|
}]
|
|
883
|
-
}],
|
|
898
|
+
}], propDecorators: { name: [{
|
|
884
899
|
type: Input
|
|
885
900
|
}], value: [{
|
|
886
901
|
type: Input
|
|
@@ -892,17 +907,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
892
907
|
type: Output
|
|
893
908
|
}] } });
|
|
894
909
|
|
|
910
|
+
/** Communicate important information through a strong visual emphasis. */
|
|
895
911
|
class GoabCallout extends GoabBaseComponent {
|
|
896
|
-
constructor(
|
|
897
|
-
super();
|
|
898
|
-
this.cdr =
|
|
912
|
+
constructor() {
|
|
913
|
+
super(...arguments);
|
|
914
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
899
915
|
this.isReady = false;
|
|
900
916
|
this.version = "2";
|
|
917
|
+
/** Define the context and colour of the callout. @default "information" */
|
|
901
918
|
this.type = "information";
|
|
919
|
+
/** Callout heading text. */
|
|
902
920
|
this.heading = "";
|
|
921
|
+
/** Sets the size of the callout. 'medium' has reduced padding and type size for compact areas. @default "large" */
|
|
903
922
|
this.size = "large";
|
|
923
|
+
/** Indicates how assistive technology should handle updates to the live region. @default "off" */
|
|
904
924
|
this.ariaLive = "off";
|
|
925
|
+
/** Sets the icon theme. 'outline' for stroked icons, 'filled' for solid icons. @default "outline" */
|
|
905
926
|
this.iconTheme = "outline";
|
|
927
|
+
/** Sets the visual prominence. 'high' for full background, 'medium' for subtle, 'low' for minimal. @default "medium" */
|
|
906
928
|
this.emphasis = "medium";
|
|
907
929
|
}
|
|
908
930
|
ngOnInit() {
|
|
@@ -913,8 +935,8 @@ class GoabCallout extends GoabBaseComponent {
|
|
|
913
935
|
this.cdr.detectChanges();
|
|
914
936
|
}, 0);
|
|
915
937
|
}
|
|
916
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
917
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
938
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabCallout, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
939
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabCallout, isStandalone: true, selector: "goab-callout", inputs: { type: "type", heading: "heading", size: "size", maxWidth: "maxWidth", ariaLive: "ariaLive", iconTheme: "iconTheme", emphasis: "emphasis" }, usesInheritance: true, ngImport: i0, template: `
|
|
918
940
|
@if (isReady) {
|
|
919
941
|
<goa-callout
|
|
920
942
|
[attr.version]="version"
|
|
@@ -936,7 +958,7 @@ class GoabCallout extends GoabBaseComponent {
|
|
|
936
958
|
}
|
|
937
959
|
`, isInline: true }); }
|
|
938
960
|
}
|
|
939
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
961
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabCallout, decorators: [{
|
|
940
962
|
type: Component,
|
|
941
963
|
args: [{
|
|
942
964
|
standalone: true,
|
|
@@ -964,7 +986,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
964
986
|
`,
|
|
965
987
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
966
988
|
}]
|
|
967
|
-
}],
|
|
989
|
+
}], propDecorators: { type: [{
|
|
968
990
|
type: Input
|
|
969
991
|
}], heading: [{
|
|
970
992
|
type: Input
|
|
@@ -980,10 +1002,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
980
1002
|
type: Input
|
|
981
1003
|
}] } });
|
|
982
1004
|
|
|
1005
|
+
/** A container that groups related content and actions. */
|
|
983
1006
|
class GoabCard extends GoabBaseComponent {
|
|
984
|
-
constructor(
|
|
985
|
-
super();
|
|
986
|
-
this.cdr =
|
|
1007
|
+
constructor() {
|
|
1008
|
+
super(...arguments);
|
|
1009
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
987
1010
|
this.isReady = false;
|
|
988
1011
|
}
|
|
989
1012
|
ngOnInit() {
|
|
@@ -994,8 +1017,8 @@ class GoabCard extends GoabBaseComponent {
|
|
|
994
1017
|
this.cdr.detectChanges();
|
|
995
1018
|
}, 0);
|
|
996
1019
|
}
|
|
997
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
998
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
1020
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabCard, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
1021
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabCard, isStandalone: true, selector: "goab-card", inputs: { elevation: ["elevation", "elevation", numberAttribute], width: "width" }, usesInheritance: true, ngImport: i0, template: `
|
|
999
1022
|
@if (isReady) {
|
|
1000
1023
|
<goa-card
|
|
1001
1024
|
[attr.elevation]="elevation"
|
|
@@ -1011,7 +1034,7 @@ class GoabCard extends GoabBaseComponent {
|
|
|
1011
1034
|
}
|
|
1012
1035
|
`, isInline: true }); }
|
|
1013
1036
|
}
|
|
1014
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1037
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabCard, decorators: [{
|
|
1015
1038
|
type: Component,
|
|
1016
1039
|
args: [{
|
|
1017
1040
|
standalone: true,
|
|
@@ -1033,16 +1056,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
1033
1056
|
`,
|
|
1034
1057
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
1035
1058
|
}]
|
|
1036
|
-
}],
|
|
1059
|
+
}], propDecorators: { elevation: [{
|
|
1037
1060
|
type: Input,
|
|
1038
1061
|
args: [{ transform: numberAttribute }]
|
|
1039
1062
|
}], width: [{
|
|
1040
1063
|
type: Input
|
|
1041
1064
|
}] } });
|
|
1042
1065
|
|
|
1066
|
+
/** A container that groups related content and actions. */
|
|
1043
1067
|
class GoabCardContent {
|
|
1044
|
-
constructor(
|
|
1045
|
-
this.cdr =
|
|
1068
|
+
constructor() {
|
|
1069
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
1046
1070
|
this.isReady = false;
|
|
1047
1071
|
}
|
|
1048
1072
|
ngOnInit() {
|
|
@@ -1053,8 +1077,8 @@ class GoabCardContent {
|
|
|
1053
1077
|
this.cdr.detectChanges();
|
|
1054
1078
|
}, 0);
|
|
1055
1079
|
}
|
|
1056
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1057
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
1080
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabCardContent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1081
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabCardContent, isStandalone: true, selector: "goab-card-content", ngImport: i0, template: `
|
|
1058
1082
|
@if (isReady) {
|
|
1059
1083
|
<goa-card-content>
|
|
1060
1084
|
<ng-content />
|
|
@@ -1062,7 +1086,7 @@ class GoabCardContent {
|
|
|
1062
1086
|
}
|
|
1063
1087
|
`, isInline: true }); }
|
|
1064
1088
|
}
|
|
1065
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1089
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabCardContent, decorators: [{
|
|
1066
1090
|
type: Component,
|
|
1067
1091
|
args: [{
|
|
1068
1092
|
standalone: true,
|
|
@@ -1076,11 +1100,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
1076
1100
|
`,
|
|
1077
1101
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
1078
1102
|
}]
|
|
1079
|
-
}]
|
|
1103
|
+
}] });
|
|
1080
1104
|
|
|
1105
|
+
/** A container that groups related content and actions. */
|
|
1081
1106
|
class GoabCardActions {
|
|
1082
|
-
constructor(
|
|
1083
|
-
this.cdr =
|
|
1107
|
+
constructor() {
|
|
1108
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
1084
1109
|
this.isReady = false;
|
|
1085
1110
|
}
|
|
1086
1111
|
ngOnInit() {
|
|
@@ -1091,8 +1116,8 @@ class GoabCardActions {
|
|
|
1091
1116
|
this.cdr.detectChanges();
|
|
1092
1117
|
}, 0);
|
|
1093
1118
|
}
|
|
1094
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1095
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
1119
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabCardActions, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1120
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabCardActions, isStandalone: true, selector: "goab-card-actions", ngImport: i0, template: `
|
|
1096
1121
|
@if (isReady) {
|
|
1097
1122
|
<goa-card-actions>
|
|
1098
1123
|
<ng-content />
|
|
@@ -1100,7 +1125,7 @@ class GoabCardActions {
|
|
|
1100
1125
|
}
|
|
1101
1126
|
`, isInline: true }); }
|
|
1102
1127
|
}
|
|
1103
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1128
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabCardActions, decorators: [{
|
|
1104
1129
|
type: Component,
|
|
1105
1130
|
args: [{
|
|
1106
1131
|
standalone: true,
|
|
@@ -1114,11 +1139,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
1114
1139
|
`,
|
|
1115
1140
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
1116
1141
|
}]
|
|
1117
|
-
}]
|
|
1142
|
+
}] });
|
|
1118
1143
|
|
|
1144
|
+
/** A container that groups related content and actions. */
|
|
1119
1145
|
class GoabCardImage {
|
|
1120
|
-
constructor(
|
|
1121
|
-
this.cdr =
|
|
1146
|
+
constructor() {
|
|
1147
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
1122
1148
|
this.isReady = false;
|
|
1123
1149
|
}
|
|
1124
1150
|
ngOnInit() {
|
|
@@ -1129,8 +1155,8 @@ class GoabCardImage {
|
|
|
1129
1155
|
this.cdr.detectChanges();
|
|
1130
1156
|
}, 0);
|
|
1131
1157
|
}
|
|
1132
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1133
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
1158
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabCardImage, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1159
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabCardImage, isStandalone: true, selector: "goab-card-image", inputs: { src: "src", height: "height" }, ngImport: i0, template: `
|
|
1134
1160
|
@if (isReady) {
|
|
1135
1161
|
<goa-card-image [attr.src]="src" [attr.height]="height">
|
|
1136
1162
|
<ng-content />
|
|
@@ -1138,7 +1164,7 @@ class GoabCardImage {
|
|
|
1138
1164
|
}
|
|
1139
1165
|
`, isInline: true }); }
|
|
1140
1166
|
}
|
|
1141
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1167
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabCardImage, decorators: [{
|
|
1142
1168
|
type: Component,
|
|
1143
1169
|
args: [{
|
|
1144
1170
|
standalone: true,
|
|
@@ -1152,7 +1178,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
1152
1178
|
`,
|
|
1153
1179
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
1154
1180
|
}]
|
|
1155
|
-
}],
|
|
1181
|
+
}], propDecorators: { src: [{
|
|
1156
1182
|
type: Input,
|
|
1157
1183
|
args: [{ required: true }]
|
|
1158
1184
|
}], height: [{
|
|
@@ -1160,13 +1186,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
1160
1186
|
args: [{ required: true }]
|
|
1161
1187
|
}] } });
|
|
1162
1188
|
|
|
1189
|
+
/** Let the user select one or more options. */
|
|
1163
1190
|
class GoabCheckbox extends GoabControlValueAccessor {
|
|
1164
|
-
constructor(
|
|
1165
|
-
super(
|
|
1166
|
-
this.cdr =
|
|
1191
|
+
constructor() {
|
|
1192
|
+
super(...arguments);
|
|
1193
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
1167
1194
|
this.isReady = false;
|
|
1168
1195
|
this.version = "2";
|
|
1196
|
+
/** Sets the size of the checkbox. 'compact' reduces spacing for dense layouts. @default "default" */
|
|
1169
1197
|
this.size = "default";
|
|
1198
|
+
/** Emits when the checkbox value changes. Emits the new checkbox state as a GoabCheckboxOnChangeDetail object. */
|
|
1170
1199
|
this.onChange = new EventEmitter();
|
|
1171
1200
|
}
|
|
1172
1201
|
ngOnInit() {
|
|
@@ -1201,8 +1230,8 @@ class GoabCheckbox extends GoabControlValueAccessor {
|
|
|
1201
1230
|
this.renderer.setAttribute(el, "checked", this.checked ? "true" : "false");
|
|
1202
1231
|
}
|
|
1203
1232
|
}
|
|
1204
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1205
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
1233
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabCheckbox, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
1234
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabCheckbox, isStandalone: true, selector: "goab-checkbox", inputs: { name: "name", checked: ["checked", "checked", booleanAttribute], indeterminate: ["indeterminate", "indeterminate", booleanAttribute], text: "text", value: "value", ariaLabel: "ariaLabel", description: "description", reveal: "reveal", revealArialLabel: "revealArialLabel", maxWidth: "maxWidth", size: "size" }, outputs: { onChange: "onChange" }, providers: [
|
|
1206
1235
|
{
|
|
1207
1236
|
provide: NG_VALUE_ACCESSOR,
|
|
1208
1237
|
multi: true,
|
|
@@ -1244,7 +1273,7 @@ class GoabCheckbox extends GoabControlValueAccessor {
|
|
|
1244
1273
|
</goa-checkbox>
|
|
1245
1274
|
}`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
|
|
1246
1275
|
}
|
|
1247
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1276
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabCheckbox, decorators: [{
|
|
1248
1277
|
type: Component,
|
|
1249
1278
|
args: [{
|
|
1250
1279
|
standalone: true,
|
|
@@ -1294,7 +1323,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
1294
1323
|
],
|
|
1295
1324
|
imports: [NgTemplateOutlet],
|
|
1296
1325
|
}]
|
|
1297
|
-
}],
|
|
1326
|
+
}], propDecorators: { name: [{
|
|
1298
1327
|
type: Input
|
|
1299
1328
|
}], checked: [{
|
|
1300
1329
|
type: Input,
|
|
@@ -1322,13 +1351,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
1322
1351
|
type: Output
|
|
1323
1352
|
}] } });
|
|
1324
1353
|
|
|
1354
|
+
/** A multiple selection input. */
|
|
1325
1355
|
class GoabCheckboxList extends GoabControlValueAccessor {
|
|
1326
|
-
constructor(
|
|
1327
|
-
super(
|
|
1328
|
-
this.cdr =
|
|
1356
|
+
constructor() {
|
|
1357
|
+
super(...arguments);
|
|
1358
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
1329
1359
|
this.isReady = false;
|
|
1330
1360
|
this.version = "2";
|
|
1361
|
+
/** Sets the size of the checkbox list. 'compact' reduces spacing between items. @default "default" */
|
|
1331
1362
|
this.size = "default";
|
|
1363
|
+
/** Emits when a checkbox selection changes. Emits the change detail including name, value array, and event. */
|
|
1332
1364
|
this.onChange = new EventEmitter();
|
|
1333
1365
|
}
|
|
1334
1366
|
ngOnInit() {
|
|
@@ -1355,8 +1387,8 @@ class GoabCheckboxList extends GoabControlValueAccessor {
|
|
|
1355
1387
|
// clone to ensure a new reference and trigger downstream updates
|
|
1356
1388
|
this.value = Array.isArray(value) ? [...value] : [];
|
|
1357
1389
|
}
|
|
1358
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1359
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
1390
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabCheckboxList, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
1391
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabCheckboxList, isStandalone: true, selector: "goab-checkbox-list", inputs: { name: "name", maxWidth: "maxWidth", size: "size", value: "value" }, outputs: { onChange: "onChange" }, providers: [
|
|
1360
1392
|
{
|
|
1361
1393
|
provide: NG_VALUE_ACCESSOR,
|
|
1362
1394
|
multi: true,
|
|
@@ -1383,7 +1415,7 @@ class GoabCheckboxList extends GoabControlValueAccessor {
|
|
|
1383
1415
|
</goa-checkbox-list>
|
|
1384
1416
|
}`, isInline: true }); }
|
|
1385
1417
|
}
|
|
1386
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1418
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabCheckboxList, decorators: [{
|
|
1387
1419
|
type: Component,
|
|
1388
1420
|
args: [{
|
|
1389
1421
|
standalone: true,
|
|
@@ -1417,7 +1449,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
1417
1449
|
},
|
|
1418
1450
|
],
|
|
1419
1451
|
}]
|
|
1420
|
-
}],
|
|
1452
|
+
}], propDecorators: { name: [{
|
|
1421
1453
|
type: Input
|
|
1422
1454
|
}], maxWidth: [{
|
|
1423
1455
|
type: Input
|
|
@@ -1429,12 +1461,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
1429
1461
|
type: Output
|
|
1430
1462
|
}] } });
|
|
1431
1463
|
|
|
1464
|
+
/** Compact element for labels, tags, or selections. */
|
|
1432
1465
|
class GoabChip extends GoabBaseComponent {
|
|
1433
|
-
constructor(
|
|
1434
|
-
super();
|
|
1435
|
-
this.cdr =
|
|
1466
|
+
constructor() {
|
|
1467
|
+
super(...arguments);
|
|
1468
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
1436
1469
|
this.isReady = false;
|
|
1470
|
+
/** @deprecated Use GoAFilterChip instead. The text content displayed in the chip. */
|
|
1437
1471
|
this.content = "";
|
|
1472
|
+
/** Emits when the chip is clicked. */
|
|
1438
1473
|
this.onClick = new EventEmitter();
|
|
1439
1474
|
}
|
|
1440
1475
|
ngOnInit() {
|
|
@@ -1448,8 +1483,8 @@ class GoabChip extends GoabBaseComponent {
|
|
|
1448
1483
|
_onClick() {
|
|
1449
1484
|
this.onClick.emit();
|
|
1450
1485
|
}
|
|
1451
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1452
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
1486
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabChip, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
1487
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabChip, isStandalone: true, selector: "goab-chip", inputs: { leadingIcon: "leadingIcon", error: ["error", "error", booleanAttribute], deletable: ["deletable", "deletable", booleanAttribute], content: "content", variant: "variant", iconTheme: "iconTheme" }, outputs: { onClick: "onClick" }, usesInheritance: true, ngImport: i0, template: `@if (isReady) {
|
|
1453
1488
|
<goa-chip
|
|
1454
1489
|
[attr.leadingicon]="leadingIcon"
|
|
1455
1490
|
[attr.variant]="variant"
|
|
@@ -1468,7 +1503,7 @@ class GoabChip extends GoabBaseComponent {
|
|
|
1468
1503
|
</goa-chip>
|
|
1469
1504
|
}`, isInline: true }); }
|
|
1470
1505
|
}
|
|
1471
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1506
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabChip, decorators: [{
|
|
1472
1507
|
type: Component,
|
|
1473
1508
|
args: [{
|
|
1474
1509
|
standalone: true,
|
|
@@ -1493,7 +1528,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
1493
1528
|
}`,
|
|
1494
1529
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
1495
1530
|
}]
|
|
1496
|
-
}],
|
|
1531
|
+
}], propDecorators: { leadingIcon: [{
|
|
1497
1532
|
type: Input
|
|
1498
1533
|
}], error: [{
|
|
1499
1534
|
type: Input,
|
|
@@ -1511,9 +1546,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
1511
1546
|
type: Output
|
|
1512
1547
|
}] } });
|
|
1513
1548
|
|
|
1549
|
+
/** Provide feedback of progress to users while loading. */
|
|
1514
1550
|
class GoabCircularProgress {
|
|
1515
|
-
constructor(
|
|
1516
|
-
this.cdr =
|
|
1551
|
+
constructor() {
|
|
1552
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
1517
1553
|
this.isReady = false;
|
|
1518
1554
|
}
|
|
1519
1555
|
ngOnInit() {
|
|
@@ -1524,8 +1560,8 @@ class GoabCircularProgress {
|
|
|
1524
1560
|
this.cdr.detectChanges();
|
|
1525
1561
|
}, 0);
|
|
1526
1562
|
}
|
|
1527
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1528
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
1563
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabCircularProgress, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1564
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabCircularProgress, isStandalone: true, selector: "goab-circular-progress", inputs: { variant: "variant", size: "size", message: "message", visible: ["visible", "visible", booleanAttribute], progress: ["progress", "progress", numberAttribute], testId: "testId" }, ngImport: i0, template: `
|
|
1529
1565
|
@if (isReady) {
|
|
1530
1566
|
<goa-circular-progress
|
|
1531
1567
|
[attr.variant]="variant || 'inline'"
|
|
@@ -1539,7 +1575,7 @@ class GoabCircularProgress {
|
|
|
1539
1575
|
}
|
|
1540
1576
|
`, isInline: true }); }
|
|
1541
1577
|
}
|
|
1542
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1578
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabCircularProgress, decorators: [{
|
|
1543
1579
|
type: Component,
|
|
1544
1580
|
args: [{
|
|
1545
1581
|
standalone: true,
|
|
@@ -1559,7 +1595,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
1559
1595
|
`,
|
|
1560
1596
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
1561
1597
|
}]
|
|
1562
|
-
}],
|
|
1598
|
+
}], propDecorators: { variant: [{
|
|
1563
1599
|
type: Input
|
|
1564
1600
|
}], size: [{
|
|
1565
1601
|
type: Input
|
|
@@ -1575,9 +1611,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
1575
1611
|
type: Input
|
|
1576
1612
|
}] } });
|
|
1577
1613
|
|
|
1614
|
+
/** Organizes page content in one, two, or three responsive columns. */
|
|
1578
1615
|
class GoabColumnLayout {
|
|
1579
|
-
constructor(
|
|
1580
|
-
this.cdr =
|
|
1616
|
+
constructor() {
|
|
1617
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
1581
1618
|
/** no props **/
|
|
1582
1619
|
this.isReady = false;
|
|
1583
1620
|
}
|
|
@@ -1589,8 +1626,8 @@ class GoabColumnLayout {
|
|
|
1589
1626
|
this.cdr.detectChanges();
|
|
1590
1627
|
}, 0);
|
|
1591
1628
|
}
|
|
1592
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1593
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
1629
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabColumnLayout, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1630
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabColumnLayout, isStandalone: true, selector: "goab-column-layout", ngImport: i0, template: `
|
|
1594
1631
|
@if (isReady) {
|
|
1595
1632
|
<goa-one-column-layout>
|
|
1596
1633
|
<ng-content />
|
|
@@ -1598,7 +1635,7 @@ class GoabColumnLayout {
|
|
|
1598
1635
|
}
|
|
1599
1636
|
`, isInline: true }); }
|
|
1600
1637
|
}
|
|
1601
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1638
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabColumnLayout, decorators: [{
|
|
1602
1639
|
type: Component,
|
|
1603
1640
|
args: [{
|
|
1604
1641
|
standalone: true,
|
|
@@ -1612,15 +1649,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
1612
1649
|
`,
|
|
1613
1650
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
1614
1651
|
}]
|
|
1615
|
-
}]
|
|
1652
|
+
}] });
|
|
1616
1653
|
|
|
1654
|
+
/** Group information, create hierarchy, and show related information. */
|
|
1617
1655
|
class GoabContainer extends GoabBaseComponent {
|
|
1618
|
-
constructor(
|
|
1619
|
-
super();
|
|
1620
|
-
this.cdr =
|
|
1656
|
+
constructor() {
|
|
1657
|
+
super(...arguments);
|
|
1658
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
1659
|
+
/** Sets the container and accent bar styling. @default "interactive" */
|
|
1621
1660
|
this.type = "interactive";
|
|
1661
|
+
/** Sets the style of accent on the container. @default "filled" */
|
|
1622
1662
|
this.accent = "filled";
|
|
1663
|
+
/** Sets the amount of white space in the container. @default "relaxed" */
|
|
1623
1664
|
this.padding = "relaxed";
|
|
1665
|
+
/** Sets the width of the container. @default "full" */
|
|
1624
1666
|
this.width = "full";
|
|
1625
1667
|
this.isReady = false;
|
|
1626
1668
|
}
|
|
@@ -1632,8 +1674,8 @@ class GoabContainer extends GoabBaseComponent {
|
|
|
1632
1674
|
this.cdr.detectChanges();
|
|
1633
1675
|
}, 0);
|
|
1634
1676
|
}
|
|
1635
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1636
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
1677
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabContainer, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
1678
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabContainer, isStandalone: true, selector: "goab-container", inputs: { type: "type", accent: "accent", padding: "padding", width: "width", maxWidth: "maxWidth", minHeight: "minHeight", maxHeight: "maxHeight", title: "title", actions: "actions" }, usesInheritance: true, ngImport: i0, template: `@if (isReady) {
|
|
1637
1679
|
<goa-container
|
|
1638
1680
|
[attr.type]="type"
|
|
1639
1681
|
[attr.accent]="accent"
|
|
@@ -1662,7 +1704,7 @@ class GoabContainer extends GoabBaseComponent {
|
|
|
1662
1704
|
</goa-container>
|
|
1663
1705
|
}`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
|
|
1664
1706
|
}
|
|
1665
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1707
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabContainer, decorators: [{
|
|
1666
1708
|
type: Component,
|
|
1667
1709
|
args: [{
|
|
1668
1710
|
standalone: true,
|
|
@@ -1698,7 +1740,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
1698
1740
|
}`,
|
|
1699
1741
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
1700
1742
|
}]
|
|
1701
|
-
}],
|
|
1743
|
+
}], propDecorators: { type: [{
|
|
1702
1744
|
type: Input
|
|
1703
1745
|
}], accent: [{
|
|
1704
1746
|
type: Input
|
|
@@ -1718,10 +1760,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
1718
1760
|
type: Input
|
|
1719
1761
|
}] } });
|
|
1720
1762
|
|
|
1763
|
+
/** Advanced table with sorting and selection. */
|
|
1721
1764
|
class GoabDataGrid {
|
|
1722
|
-
constructor(
|
|
1723
|
-
this.cdr =
|
|
1765
|
+
constructor() {
|
|
1766
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
1767
|
+
/** Controls visibility of the keyboard navigation indicator icon. Use "visible" to show or "hidden" to hide. @default "visible" */
|
|
1724
1768
|
this.keyboardIconVisibility = "visible";
|
|
1769
|
+
/** Position of the keyboard navigation indicator icon. @default "left" */
|
|
1725
1770
|
this.keyboardIconPosition = "left";
|
|
1726
1771
|
this.isReady = false;
|
|
1727
1772
|
}
|
|
@@ -1733,8 +1778,8 @@ class GoabDataGrid {
|
|
|
1733
1778
|
this.cdr.detectChanges();
|
|
1734
1779
|
}, 0);
|
|
1735
1780
|
}
|
|
1736
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1737
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
1781
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabDataGrid, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1782
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabDataGrid, isStandalone: true, selector: "goab-data-grid", inputs: { keyboardIconVisibility: "keyboardIconVisibility", keyboardIconPosition: "keyboardIconPosition", keyboardNav: "keyboardNav" }, ngImport: i0, template: `
|
|
1738
1783
|
@if (isReady) {
|
|
1739
1784
|
<goa-data-grid
|
|
1740
1785
|
[attr.keyboard-icon-visibility]="keyboardIconVisibility"
|
|
@@ -1746,7 +1791,7 @@ class GoabDataGrid {
|
|
|
1746
1791
|
}
|
|
1747
1792
|
`, isInline: true }); }
|
|
1748
1793
|
}
|
|
1749
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1794
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabDataGrid, decorators: [{
|
|
1750
1795
|
type: Component,
|
|
1751
1796
|
args: [{
|
|
1752
1797
|
standalone: true,
|
|
@@ -1764,7 +1809,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
1764
1809
|
`,
|
|
1765
1810
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
1766
1811
|
}]
|
|
1767
|
-
}],
|
|
1812
|
+
}], propDecorators: { keyboardIconVisibility: [{
|
|
1768
1813
|
type: Input
|
|
1769
1814
|
}], keyboardIconPosition: [{
|
|
1770
1815
|
type: Input
|
|
@@ -1773,7 +1818,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
1773
1818
|
args: [{ required: true }]
|
|
1774
1819
|
}] } });
|
|
1775
1820
|
|
|
1821
|
+
/** Lets users select a date through a calendar without the need to manually type it in a field. */
|
|
1776
1822
|
class GoabDatePicker extends GoabControlValueAccessor {
|
|
1823
|
+
constructor() {
|
|
1824
|
+
super(...arguments);
|
|
1825
|
+
this.elementRef = inject(ElementRef);
|
|
1826
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
1827
|
+
this.isReady = false;
|
|
1828
|
+
this.version = "2";
|
|
1829
|
+
/** Emits when the selected date changes. Emits the date picker change detail including name and value. */
|
|
1830
|
+
this.onChange = new EventEmitter();
|
|
1831
|
+
this.once = new Once();
|
|
1832
|
+
}
|
|
1777
1833
|
formatValue(param, val) {
|
|
1778
1834
|
if (!val)
|
|
1779
1835
|
return "";
|
|
@@ -1800,15 +1856,6 @@ class GoabDatePicker extends GoabControlValueAccessor {
|
|
|
1800
1856
|
this.markAsTouched();
|
|
1801
1857
|
this.fcChange?.(detail.value);
|
|
1802
1858
|
}
|
|
1803
|
-
constructor(elementRef, cdr, renderer) {
|
|
1804
|
-
super(renderer);
|
|
1805
|
-
this.elementRef = elementRef;
|
|
1806
|
-
this.cdr = cdr;
|
|
1807
|
-
this.isReady = false;
|
|
1808
|
-
this.version = "2";
|
|
1809
|
-
this.onChange = new EventEmitter();
|
|
1810
|
-
this.once = new Once();
|
|
1811
|
-
}
|
|
1812
1859
|
ngOnInit() {
|
|
1813
1860
|
// For Angular 20, we need to delay rendering the web component
|
|
1814
1861
|
// to ensure all attributes are properly bound before the component initializes
|
|
@@ -1840,8 +1887,8 @@ class GoabDatePicker extends GoabControlValueAccessor {
|
|
|
1840
1887
|
}
|
|
1841
1888
|
}
|
|
1842
1889
|
}
|
|
1843
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1844
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
1890
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabDatePicker, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
1891
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabDatePicker, isStandalone: true, selector: "goab-date-picker", inputs: { name: "name", value: "value", min: "min", max: "max", type: "type", relative: "relative", width: "width" }, outputs: { onChange: "onChange" }, host: { listeners: { "disabledChange": "listenDisabledChange($event)" } }, providers: [
|
|
1845
1892
|
{
|
|
1846
1893
|
provide: NG_VALUE_ACCESSOR,
|
|
1847
1894
|
multi: true,
|
|
@@ -1870,7 +1917,7 @@ class GoabDatePicker extends GoabControlValueAccessor {
|
|
|
1870
1917
|
</goa-date-picker>
|
|
1871
1918
|
}`, isInline: true }); }
|
|
1872
1919
|
}
|
|
1873
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1920
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabDatePicker, decorators: [{
|
|
1874
1921
|
type: Component,
|
|
1875
1922
|
args: [{
|
|
1876
1923
|
standalone: true,
|
|
@@ -1906,7 +1953,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
1906
1953
|
},
|
|
1907
1954
|
],
|
|
1908
1955
|
}]
|
|
1909
|
-
}],
|
|
1956
|
+
}], propDecorators: { name: [{
|
|
1910
1957
|
type: Input
|
|
1911
1958
|
}], value: [{
|
|
1912
1959
|
type: Input
|
|
@@ -1927,10 +1974,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
1927
1974
|
args: ["disabledChange", ["$event"]]
|
|
1928
1975
|
}] } });
|
|
1929
1976
|
|
|
1977
|
+
/** Let users reveal more detailed information when they need it. */
|
|
1930
1978
|
class GoabDetails extends GoabBaseComponent {
|
|
1931
|
-
constructor(
|
|
1932
|
-
super();
|
|
1933
|
-
this.cdr =
|
|
1979
|
+
constructor() {
|
|
1980
|
+
super(...arguments);
|
|
1981
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
1934
1982
|
this.isReady = false;
|
|
1935
1983
|
}
|
|
1936
1984
|
ngOnInit() {
|
|
@@ -1941,8 +1989,8 @@ class GoabDetails extends GoabBaseComponent {
|
|
|
1941
1989
|
this.cdr.detectChanges();
|
|
1942
1990
|
}, 0);
|
|
1943
1991
|
}
|
|
1944
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1945
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
1992
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabDetails, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
1993
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabDetails, isStandalone: true, selector: "goab-details", inputs: { heading: "heading", open: ["open", "open", booleanAttribute], maxWidth: "maxWidth" }, usesInheritance: true, ngImport: i0, template: `
|
|
1946
1994
|
@if (isReady) {
|
|
1947
1995
|
<goa-details
|
|
1948
1996
|
[attr.heading]="heading"
|
|
@@ -1959,7 +2007,7 @@ class GoabDetails extends GoabBaseComponent {
|
|
|
1959
2007
|
}
|
|
1960
2008
|
`, isInline: true }); }
|
|
1961
2009
|
}
|
|
1962
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2010
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabDetails, decorators: [{
|
|
1963
2011
|
type: Component,
|
|
1964
2012
|
args: [{
|
|
1965
2013
|
standalone: true,
|
|
@@ -1982,7 +2030,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
1982
2030
|
`,
|
|
1983
2031
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
1984
2032
|
}]
|
|
1985
|
-
}],
|
|
2033
|
+
}], propDecorators: { heading: [{
|
|
1986
2034
|
type: Input,
|
|
1987
2035
|
args: [{ required: true }]
|
|
1988
2036
|
}], open: [{
|
|
@@ -1992,10 +2040,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
1992
2040
|
type: Input
|
|
1993
2041
|
}] } });
|
|
1994
2042
|
|
|
2043
|
+
/** Indicate a separation of layout, or to distinguish large chunks of information on a page. */
|
|
1995
2044
|
class GoabDivider extends GoabBaseComponent {
|
|
1996
|
-
constructor(
|
|
1997
|
-
super();
|
|
1998
|
-
this.cdr =
|
|
2045
|
+
constructor() {
|
|
2046
|
+
super(...arguments);
|
|
2047
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
1999
2048
|
this.isReady = false;
|
|
2000
2049
|
}
|
|
2001
2050
|
ngOnInit() {
|
|
@@ -2006,8 +2055,8 @@ class GoabDivider extends GoabBaseComponent {
|
|
|
2006
2055
|
this.cdr.detectChanges();
|
|
2007
2056
|
}, 0);
|
|
2008
2057
|
}
|
|
2009
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2010
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
2058
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabDivider, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
2059
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabDivider, isStandalone: true, selector: "goab-divider", usesInheritance: true, ngImport: i0, template: `
|
|
2011
2060
|
@if (isReady) {
|
|
2012
2061
|
<goa-divider
|
|
2013
2062
|
[attr.testid]="testId"
|
|
@@ -2020,7 +2069,7 @@ class GoabDivider extends GoabBaseComponent {
|
|
|
2020
2069
|
}
|
|
2021
2070
|
`, isInline: true }); }
|
|
2022
2071
|
}
|
|
2023
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2072
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabDivider, decorators: [{
|
|
2024
2073
|
type: Component,
|
|
2025
2074
|
args: [{
|
|
2026
2075
|
standalone: true,
|
|
@@ -2039,12 +2088,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
2039
2088
|
`,
|
|
2040
2089
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
2041
2090
|
}]
|
|
2042
|
-
}]
|
|
2091
|
+
}] });
|
|
2043
2092
|
|
|
2093
|
+
/** A panel that slides in from the side of the screen to display additional content or actions without navigating away from the current view. */
|
|
2044
2094
|
class GoabDrawer {
|
|
2045
|
-
constructor(
|
|
2046
|
-
this.cdr =
|
|
2095
|
+
constructor() {
|
|
2096
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
2047
2097
|
this.version = "2";
|
|
2098
|
+
/** Emits when the drawer is closed. */
|
|
2048
2099
|
this.onClose = new EventEmitter();
|
|
2049
2100
|
this.isReady = false;
|
|
2050
2101
|
}
|
|
@@ -2067,8 +2118,8 @@ class GoabDrawer {
|
|
|
2067
2118
|
return null;
|
|
2068
2119
|
return this.heading instanceof TemplateRef ? this.heading : null;
|
|
2069
2120
|
}
|
|
2070
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2071
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
2121
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabDrawer, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2122
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabDrawer, isStandalone: true, selector: "goab-drawer", inputs: { open: ["open", "open", booleanAttribute], position: "position", heading: "heading", maxSize: "maxSize", testId: "testId", actions: "actions" }, outputs: { onClose: "onClose" }, ngImport: i0, template: `@if (isReady) {
|
|
2072
2123
|
<goa-drawer
|
|
2073
2124
|
[open]="open"
|
|
2074
2125
|
[attr.position]="position"
|
|
@@ -2088,7 +2139,7 @@ class GoabDrawer {
|
|
|
2088
2139
|
</goa-drawer>
|
|
2089
2140
|
} `, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
|
|
2090
2141
|
}
|
|
2091
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2142
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabDrawer, decorators: [{
|
|
2092
2143
|
type: Component,
|
|
2093
2144
|
args: [{
|
|
2094
2145
|
standalone: true,
|
|
@@ -2115,7 +2166,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
2115
2166
|
} `,
|
|
2116
2167
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
2117
2168
|
}]
|
|
2118
|
-
}],
|
|
2169
|
+
}], propDecorators: { open: [{
|
|
2119
2170
|
type: Input,
|
|
2120
2171
|
args: [{ required: true, transform: booleanAttribute }]
|
|
2121
2172
|
}], position: [{
|
|
@@ -2134,11 +2185,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
2134
2185
|
}] } });
|
|
2135
2186
|
|
|
2136
2187
|
// "disabled", "value", "id" is an exposed property of HTMLInputElement, no need to bind with attr
|
|
2188
|
+
/** Present a list of options to the user to select from. */
|
|
2137
2189
|
class GoabDropdown extends GoabControlValueAccessor {
|
|
2138
|
-
constructor(
|
|
2139
|
-
super(
|
|
2140
|
-
this.cdr =
|
|
2190
|
+
constructor() {
|
|
2191
|
+
super(...arguments);
|
|
2192
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
2193
|
+
/** Sets the size of the dropdown. Compact reduces height for dense layouts. @default "default" */
|
|
2141
2194
|
this.size = "default";
|
|
2195
|
+
/** Emits when the user selects a value from the dropdown. Emits a GoabDropdownOnChangeDetail object with the new value. */
|
|
2142
2196
|
this.onChange = new EventEmitter();
|
|
2143
2197
|
this.isReady = false;
|
|
2144
2198
|
this.version = "2";
|
|
@@ -2159,8 +2213,8 @@ class GoabDropdown extends GoabControlValueAccessor {
|
|
|
2159
2213
|
this.markAsTouched();
|
|
2160
2214
|
this.fcChange?.(detail.value || "");
|
|
2161
2215
|
}
|
|
2162
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2163
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
2216
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabDropdown, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
2217
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabDropdown, isStandalone: true, selector: "goab-dropdown", inputs: { name: "name", ariaLabel: "ariaLabel", ariaLabelledBy: "ariaLabelledBy", filterable: ["filterable", "filterable", booleanAttribute], leadingIcon: "leadingIcon", maxHeight: "maxHeight", multiselect: ["multiselect", "multiselect", booleanAttribute], native: ["native", "native", booleanAttribute], placeholder: "placeholder", width: "width", maxWidth: "maxWidth", autoComplete: "autoComplete", size: "size", relative: "relative" }, outputs: { onChange: "onChange" }, providers: [
|
|
2164
2218
|
{
|
|
2165
2219
|
provide: NG_VALUE_ACCESSOR,
|
|
2166
2220
|
multi: true,
|
|
@@ -2201,7 +2255,7 @@ class GoabDropdown extends GoabControlValueAccessor {
|
|
|
2201
2255
|
}
|
|
2202
2256
|
`, isInline: true }); }
|
|
2203
2257
|
}
|
|
2204
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2258
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabDropdown, decorators: [{
|
|
2205
2259
|
type: Component,
|
|
2206
2260
|
args: [{
|
|
2207
2261
|
standalone: true,
|
|
@@ -2249,7 +2303,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
2249
2303
|
},
|
|
2250
2304
|
],
|
|
2251
2305
|
}]
|
|
2252
|
-
}],
|
|
2306
|
+
}], propDecorators: { name: [{
|
|
2253
2307
|
type: Input
|
|
2254
2308
|
}], ariaLabel: [{
|
|
2255
2309
|
type: Input
|
|
@@ -2284,9 +2338,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
2284
2338
|
type: Output
|
|
2285
2339
|
}] } });
|
|
2286
2340
|
|
|
2341
|
+
/** Present a list of options to the user to select from. */
|
|
2287
2342
|
class GoabDropdownItem {
|
|
2288
|
-
constructor(
|
|
2289
|
-
this.cdr =
|
|
2343
|
+
constructor() {
|
|
2344
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
2290
2345
|
this.isReady = false;
|
|
2291
2346
|
}
|
|
2292
2347
|
ngOnInit() {
|
|
@@ -2297,8 +2352,8 @@ class GoabDropdownItem {
|
|
|
2297
2352
|
this.cdr.detectChanges();
|
|
2298
2353
|
}, 0);
|
|
2299
2354
|
}
|
|
2300
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2301
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
2355
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabDropdownItem, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2356
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabDropdownItem, isStandalone: true, selector: "goab-dropdown-item", inputs: { value: "value", filter: "filter", label: "label", name: "name", mountType: "mountType" }, ngImport: i0, template: ` @if (isReady) {
|
|
2302
2357
|
<goa-dropdown-item
|
|
2303
2358
|
[value]="value"
|
|
2304
2359
|
[label]="label"
|
|
@@ -2309,7 +2364,7 @@ class GoabDropdownItem {
|
|
|
2309
2364
|
</goa-dropdown-item>
|
|
2310
2365
|
}`, isInline: true }); }
|
|
2311
2366
|
}
|
|
2312
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2367
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabDropdownItem, decorators: [{
|
|
2313
2368
|
type: Component,
|
|
2314
2369
|
args: [{
|
|
2315
2370
|
standalone: true,
|
|
@@ -2326,7 +2381,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
2326
2381
|
}`,
|
|
2327
2382
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
2328
2383
|
}]
|
|
2329
|
-
}],
|
|
2384
|
+
}], propDecorators: { value: [{
|
|
2330
2385
|
type: Input
|
|
2331
2386
|
}], filter: [{
|
|
2332
2387
|
type: Input
|
|
@@ -2338,10 +2393,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
2338
2393
|
type: Input
|
|
2339
2394
|
}] } });
|
|
2340
2395
|
|
|
2396
|
+
/** Display uploaded file with actions. */
|
|
2341
2397
|
class GoabFileUploadCard {
|
|
2342
|
-
constructor(
|
|
2343
|
-
this.cdr =
|
|
2398
|
+
constructor() {
|
|
2399
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
2400
|
+
/** Emits when the user cancels a file upload. Emits a GoabFileUploadOnCancelDetail object with the filename. */
|
|
2344
2401
|
this.onCancel = new EventEmitter();
|
|
2402
|
+
/** Emits when the user removes an uploaded file. Emits a GoabFileUploadOnDeleteDetail object with the filename. */
|
|
2345
2403
|
this.onDelete = new EventEmitter();
|
|
2346
2404
|
this.isReady = false;
|
|
2347
2405
|
this.version = "2";
|
|
@@ -2360,8 +2418,8 @@ class GoabFileUploadCard {
|
|
|
2360
2418
|
_onDelete(event) {
|
|
2361
2419
|
this.onDelete.emit({ filename: this.filename, event });
|
|
2362
2420
|
}
|
|
2363
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2364
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
2421
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabFileUploadCard, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2422
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabFileUploadCard, isStandalone: true, selector: "goab-file-upload-card", inputs: { filename: "filename", size: ["size", "size", numberAttribute], type: "type", progress: ["progress", "progress", numberAttribute], error: "error", testId: "testId" }, outputs: { onCancel: "onCancel", onDelete: "onDelete" }, ngImport: i0, template: ` @if (isReady) {
|
|
2365
2423
|
<goa-file-upload-card
|
|
2366
2424
|
[attr.version]="version"
|
|
2367
2425
|
[attr.filename]="filename"
|
|
@@ -2376,7 +2434,7 @@ class GoabFileUploadCard {
|
|
|
2376
2434
|
</goa-file-upload-card>
|
|
2377
2435
|
}`, isInline: true }); }
|
|
2378
2436
|
}
|
|
2379
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2437
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabFileUploadCard, decorators: [{
|
|
2380
2438
|
type: Component,
|
|
2381
2439
|
args: [{
|
|
2382
2440
|
standalone: true,
|
|
@@ -2397,12 +2455,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
2397
2455
|
}`,
|
|
2398
2456
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
2399
2457
|
}]
|
|
2400
|
-
}],
|
|
2458
|
+
}], propDecorators: { filename: [{
|
|
2401
2459
|
type: Input,
|
|
2402
2460
|
args: [{ required: true }]
|
|
2403
2461
|
}], size: [{
|
|
2404
2462
|
type: Input,
|
|
2405
|
-
args: [{ transform: numberAttribute }]
|
|
2463
|
+
args: [{ required: true, transform: numberAttribute }]
|
|
2406
2464
|
}], type: [{
|
|
2407
2465
|
type: Input
|
|
2408
2466
|
}], progress: [{
|
|
@@ -2418,12 +2476,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
2418
2476
|
type: Output
|
|
2419
2477
|
}] } });
|
|
2420
2478
|
|
|
2479
|
+
/** Help users select and upload a file. */
|
|
2421
2480
|
class GoabFileUploadInput extends GoabBaseComponent {
|
|
2422
|
-
constructor(
|
|
2423
|
-
super();
|
|
2424
|
-
this.cdr =
|
|
2481
|
+
constructor() {
|
|
2482
|
+
super(...arguments);
|
|
2483
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
2484
|
+
/** Sets the id attribute on the file upload input element. */
|
|
2425
2485
|
this.id = "";
|
|
2486
|
+
/** Maximum file size with unit (e.g., "5MB", "100KB", "1GB"). Files exceeding this will be rejected. @default "5MB" */
|
|
2426
2487
|
this.maxFileSize = "5MB";
|
|
2488
|
+
/** Emits when a file is selected. Emits the selected file details. */
|
|
2427
2489
|
this.onSelectFile = new EventEmitter();
|
|
2428
2490
|
this.isReady = false;
|
|
2429
2491
|
this.version = "2";
|
|
@@ -2443,8 +2505,8 @@ class GoabFileUploadInput extends GoabBaseComponent {
|
|
|
2443
2505
|
};
|
|
2444
2506
|
this.onSelectFile.emit(detail);
|
|
2445
2507
|
}
|
|
2446
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2447
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
2508
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabFileUploadInput, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
2509
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabFileUploadInput, isStandalone: true, selector: "goab-file-upload-input", inputs: { id: "id", variant: "variant", maxFileSize: "maxFileSize", accept: "accept" }, outputs: { onSelectFile: "onSelectFile" }, usesInheritance: true, ngImport: i0, template: `@if (isReady) {
|
|
2448
2510
|
<goa-file-upload-input
|
|
2449
2511
|
[attr.version]="version"
|
|
2450
2512
|
[attr.variant]="variant"
|
|
@@ -2461,7 +2523,7 @@ class GoabFileUploadInput extends GoabBaseComponent {
|
|
|
2461
2523
|
</goa-file-upload-input>
|
|
2462
2524
|
}`, isInline: true }); }
|
|
2463
2525
|
}
|
|
2464
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2526
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabFileUploadInput, decorators: [{
|
|
2465
2527
|
type: Component,
|
|
2466
2528
|
args: [{
|
|
2467
2529
|
standalone: true,
|
|
@@ -2484,11 +2546,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
2484
2546
|
}`,
|
|
2485
2547
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
2486
2548
|
}]
|
|
2487
|
-
}],
|
|
2549
|
+
}], propDecorators: { id: [{
|
|
2488
2550
|
type: Input
|
|
2489
2551
|
}], variant: [{
|
|
2490
|
-
type: Input
|
|
2491
|
-
args: [{ required: true }]
|
|
2552
|
+
type: Input
|
|
2492
2553
|
}], maxFileSize: [{
|
|
2493
2554
|
type: Input
|
|
2494
2555
|
}], accept: [{
|
|
@@ -2497,13 +2558,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
2497
2558
|
type: Output
|
|
2498
2559
|
}] } });
|
|
2499
2560
|
|
|
2561
|
+
/** Allow the user to enter information, filter content, and make selections. */
|
|
2500
2562
|
class GoabFilterChip extends GoabBaseComponent {
|
|
2501
|
-
constructor(
|
|
2502
|
-
super();
|
|
2503
|
-
this.cdr =
|
|
2563
|
+
constructor() {
|
|
2564
|
+
super(...arguments);
|
|
2565
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
2566
|
+
/** Text label of the chip. */
|
|
2504
2567
|
this.content = "";
|
|
2568
|
+
/** Secondary text displayed in a smaller size before the main content. */
|
|
2505
2569
|
this.secondaryText = "";
|
|
2570
|
+
/** Icon displayed at the start of the chip. */
|
|
2506
2571
|
this.leadingIcon = null;
|
|
2572
|
+
/** Emits when the filter chip delete button is clicked. */
|
|
2507
2573
|
this.onClick = new EventEmitter();
|
|
2508
2574
|
this.isReady = false;
|
|
2509
2575
|
this.version = "2";
|
|
@@ -2519,8 +2585,8 @@ class GoabFilterChip extends GoabBaseComponent {
|
|
|
2519
2585
|
_onClick() {
|
|
2520
2586
|
this.onClick.emit();
|
|
2521
2587
|
}
|
|
2522
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2523
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
2588
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabFilterChip, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
2589
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabFilterChip, isStandalone: true, selector: "goab-filter-chip", inputs: { error: ["error", "error", booleanAttribute], deletable: ["deletable", "deletable", booleanAttribute], content: "content", iconTheme: "iconTheme", secondaryText: "secondaryText", leadingIcon: "leadingIcon" }, outputs: { onClick: "onClick" }, usesInheritance: true, ngImport: i0, template: `@if (isReady) {
|
|
2524
2590
|
<goa-filter-chip
|
|
2525
2591
|
[attr.version]="version"
|
|
2526
2592
|
[attr.error]="error"
|
|
@@ -2539,7 +2605,7 @@ class GoabFilterChip extends GoabBaseComponent {
|
|
|
2539
2605
|
</goa-filter-chip>
|
|
2540
2606
|
}`, isInline: true }); }
|
|
2541
2607
|
}
|
|
2542
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2608
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabFilterChip, decorators: [{
|
|
2543
2609
|
type: Component,
|
|
2544
2610
|
args: [{
|
|
2545
2611
|
standalone: true,
|
|
@@ -2564,7 +2630,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
2564
2630
|
}`,
|
|
2565
2631
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
2566
2632
|
}]
|
|
2567
|
-
}],
|
|
2633
|
+
}], propDecorators: { error: [{
|
|
2568
2634
|
type: Input,
|
|
2569
2635
|
args: [{ transform: booleanAttribute }]
|
|
2570
2636
|
}], deletable: [{
|
|
@@ -2582,9 +2648,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
2582
2648
|
type: Output
|
|
2583
2649
|
}] } });
|
|
2584
2650
|
|
|
2651
|
+
/** Provides information related your service at the bottom of every page. */
|
|
2585
2652
|
class GoabAppFooter {
|
|
2586
|
-
constructor(
|
|
2587
|
-
this.cdr =
|
|
2653
|
+
constructor() {
|
|
2654
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
2588
2655
|
this.isReady = false;
|
|
2589
2656
|
this.version = "2";
|
|
2590
2657
|
}
|
|
@@ -2596,8 +2663,8 @@ class GoabAppFooter {
|
|
|
2596
2663
|
this.cdr.detectChanges();
|
|
2597
2664
|
}, 0);
|
|
2598
2665
|
}
|
|
2599
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2600
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
2666
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabAppFooter, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2667
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabAppFooter, isStandalone: true, selector: "goab-app-footer", inputs: { maxContentWidth: "maxContentWidth", testId: "testId", url: "url" }, ngImport: i0, template: `@if (isReady) {
|
|
2601
2668
|
<goa-app-footer
|
|
2602
2669
|
[attr.maxcontentwidth]="maxContentWidth"
|
|
2603
2670
|
[attr.url]="url"
|
|
@@ -2610,7 +2677,7 @@ class GoabAppFooter {
|
|
|
2610
2677
|
</goa-app-footer>
|
|
2611
2678
|
}`, isInline: true }); }
|
|
2612
2679
|
}
|
|
2613
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2680
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabAppFooter, decorators: [{
|
|
2614
2681
|
type: Component,
|
|
2615
2682
|
args: [{
|
|
2616
2683
|
standalone: true,
|
|
@@ -2629,7 +2696,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
2629
2696
|
}`,
|
|
2630
2697
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
2631
2698
|
}]
|
|
2632
|
-
}],
|
|
2699
|
+
}], propDecorators: { maxContentWidth: [{
|
|
2633
2700
|
type: Input
|
|
2634
2701
|
}], testId: [{
|
|
2635
2702
|
type: Input
|
|
@@ -2637,9 +2704,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
2637
2704
|
type: Input
|
|
2638
2705
|
}] } });
|
|
2639
2706
|
|
|
2707
|
+
/** Copyright and legal links in footer. */
|
|
2640
2708
|
class GoabAppFooterMetaSection {
|
|
2641
|
-
constructor(
|
|
2642
|
-
this.cdr =
|
|
2709
|
+
constructor() {
|
|
2710
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
2643
2711
|
this.isReady = false;
|
|
2644
2712
|
}
|
|
2645
2713
|
ngOnInit() {
|
|
@@ -2650,30 +2718,32 @@ class GoabAppFooterMetaSection {
|
|
|
2650
2718
|
this.cdr.detectChanges();
|
|
2651
2719
|
}, 0);
|
|
2652
2720
|
}
|
|
2653
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2654
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
2721
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabAppFooterMetaSection, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2722
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabAppFooterMetaSection, isStandalone: true, selector: "goab-app-footer-meta-section", inputs: { testId: "testId", slot: "slot" }, ngImport: i0, template: `@if (isReady) {
|
|
2655
2723
|
<goa-app-footer-meta-section [attr.testid]="testId">
|
|
2656
2724
|
<ng-content />
|
|
2657
2725
|
</goa-app-footer-meta-section>
|
|
2658
2726
|
}`, isInline: true, styles: [":host{width:100%}\n"] }); }
|
|
2659
2727
|
}
|
|
2660
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2728
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabAppFooterMetaSection, decorators: [{
|
|
2661
2729
|
type: Component,
|
|
2662
2730
|
args: [{ standalone: true, selector: "goab-app-footer-meta-section", template: `@if (isReady) {
|
|
2663
2731
|
<goa-app-footer-meta-section [attr.testid]="testId">
|
|
2664
2732
|
<ng-content />
|
|
2665
2733
|
</goa-app-footer-meta-section>
|
|
2666
2734
|
}`, schemas: [CUSTOM_ELEMENTS_SCHEMA], styles: [":host{width:100%}\n"] }]
|
|
2667
|
-
}],
|
|
2735
|
+
}], propDecorators: { testId: [{
|
|
2668
2736
|
type: Input
|
|
2669
2737
|
}], slot: [{
|
|
2670
2738
|
type: Input,
|
|
2671
2739
|
args: [{ required: true }]
|
|
2672
2740
|
}] } });
|
|
2673
2741
|
|
|
2742
|
+
/** Navigation links section in footer. */
|
|
2674
2743
|
class GoabAppFooterNavSection {
|
|
2675
|
-
constructor(
|
|
2676
|
-
this.cdr =
|
|
2744
|
+
constructor() {
|
|
2745
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
2746
|
+
/** Maximum number of columns to display links in on larger screens. @default 1 */
|
|
2677
2747
|
this.maxColumnCount = 1;
|
|
2678
2748
|
this.isReady = false;
|
|
2679
2749
|
}
|
|
@@ -2685,8 +2755,8 @@ class GoabAppFooterNavSection {
|
|
|
2685
2755
|
this.cdr.detectChanges();
|
|
2686
2756
|
}, 0);
|
|
2687
2757
|
}
|
|
2688
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2689
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
2758
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabAppFooterNavSection, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2759
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabAppFooterNavSection, isStandalone: true, selector: "goab-app-footer-nav-section", inputs: { heading: "heading", maxColumnCount: "maxColumnCount", testId: "testId", slot: "slot" }, ngImport: i0, template: `@if (isReady) {
|
|
2690
2760
|
<goa-app-footer-nav-section
|
|
2691
2761
|
[attr.maxcolumncount]="maxColumnCount"
|
|
2692
2762
|
[attr.heading]="heading"
|
|
@@ -2696,7 +2766,7 @@ class GoabAppFooterNavSection {
|
|
|
2696
2766
|
</goa-app-footer-nav-section>
|
|
2697
2767
|
}`, isInline: true, styles: [":host{width:100%}\n"] }); }
|
|
2698
2768
|
}
|
|
2699
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2769
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabAppFooterNavSection, decorators: [{
|
|
2700
2770
|
type: Component,
|
|
2701
2771
|
args: [{ standalone: true, selector: "goab-app-footer-nav-section", template: `@if (isReady) {
|
|
2702
2772
|
<goa-app-footer-nav-section
|
|
@@ -2707,7 +2777,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
2707
2777
|
<ng-content />
|
|
2708
2778
|
</goa-app-footer-nav-section>
|
|
2709
2779
|
}`, schemas: [CUSTOM_ELEMENTS_SCHEMA], styles: [":host{width:100%}\n"] }]
|
|
2710
|
-
}],
|
|
2780
|
+
}], propDecorators: { heading: [{
|
|
2711
2781
|
type: Input
|
|
2712
2782
|
}], maxColumnCount: [{
|
|
2713
2783
|
type: Input
|
|
@@ -2718,11 +2788,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
2718
2788
|
args: [{ required: true }]
|
|
2719
2789
|
}] } });
|
|
2720
2790
|
|
|
2791
|
+
/** Container for form inputs and validation. */
|
|
2721
2792
|
class GoabPublicForm {
|
|
2722
2793
|
constructor() {
|
|
2794
|
+
/** The initialization status of the form. Set to "initializing" while loading external state, then "complete" when ready. @default "complete" */
|
|
2723
2795
|
this.status = "complete";
|
|
2796
|
+
/** Emits when the form is initialized. */
|
|
2724
2797
|
this.onInit = new EventEmitter();
|
|
2798
|
+
/** Emits when the form is complete. Emits the form state. */
|
|
2725
2799
|
this.onComplete = new EventEmitter();
|
|
2800
|
+
/** Emits when the form state changes. Emits the updated form state. */
|
|
2726
2801
|
this.onStateChange = new EventEmitter();
|
|
2727
2802
|
}
|
|
2728
2803
|
_onInit(e) {
|
|
@@ -2736,8 +2811,8 @@ class GoabPublicForm {
|
|
|
2736
2811
|
const detail = e.detail;
|
|
2737
2812
|
this.onStateChange.emit(detail.data);
|
|
2738
2813
|
}
|
|
2739
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2740
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
2814
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabPublicForm, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2815
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.6", type: GoabPublicForm, isStandalone: true, selector: "goab-public-form", inputs: { status: "status", name: "name" }, outputs: { onInit: "onInit", onComplete: "onComplete", onStateChange: "onStateChange" }, ngImport: i0, template: `
|
|
2741
2816
|
<goa-public-form
|
|
2742
2817
|
[attr.status]="status"
|
|
2743
2818
|
[attr.name]="name"
|
|
@@ -2749,7 +2824,7 @@ class GoabPublicForm {
|
|
|
2749
2824
|
</goa-public-form>
|
|
2750
2825
|
`, isInline: true }); }
|
|
2751
2826
|
}
|
|
2752
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2827
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabPublicForm, decorators: [{
|
|
2753
2828
|
type: Component,
|
|
2754
2829
|
args: [{
|
|
2755
2830
|
selector: "goab-public-form",
|
|
@@ -2779,28 +2854,36 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
2779
2854
|
type: Output
|
|
2780
2855
|
}] } });
|
|
2781
2856
|
|
|
2857
|
+
/** Container for form inputs and validation. */
|
|
2782
2858
|
class GoabPublicFormPage extends GoabBaseComponent {
|
|
2783
2859
|
constructor() {
|
|
2784
2860
|
super(...arguments);
|
|
2861
|
+
/** Sets the id of the form page. */
|
|
2785
2862
|
this.id = "";
|
|
2863
|
+
/** Sets the main heading text of the form page. */
|
|
2786
2864
|
this.heading = "";
|
|
2865
|
+
/** Sets the sub-heading text displayed below the main heading. */
|
|
2787
2866
|
this.subHeading = "";
|
|
2867
|
+
/** Sets the heading used in the summary view for this page. */
|
|
2788
2868
|
this.summaryHeading = "";
|
|
2869
|
+
/** Sets the section title displayed above the heading. */
|
|
2789
2870
|
this.sectionTitle = "";
|
|
2871
|
+
/** Sets the URL for the back navigation link. */
|
|
2790
2872
|
this.backUrl = "";
|
|
2873
|
+
/** Sets the type of the form page step. @default "step" */
|
|
2791
2874
|
this.type = "step";
|
|
2875
|
+
/** Sets the text for the continue or confirm button. */
|
|
2792
2876
|
this.buttonText = "";
|
|
2877
|
+
/** Sets the visibility of the continue button. @default "visible" */
|
|
2793
2878
|
this.buttonVisibility = "visible";
|
|
2794
|
-
/**
|
|
2795
|
-
* triggers when the form page continues to the next step
|
|
2796
|
-
*/
|
|
2879
|
+
/** Emits when the form page continues to the next step. */
|
|
2797
2880
|
this.onContinue = new EventEmitter();
|
|
2798
2881
|
}
|
|
2799
2882
|
_onContinue(event) {
|
|
2800
2883
|
this.onContinue.emit(event);
|
|
2801
2884
|
}
|
|
2802
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2803
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
2885
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabPublicFormPage, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
2886
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.6", type: GoabPublicFormPage, isStandalone: true, selector: "goab-public-form-page", inputs: { id: "id", heading: "heading", subHeading: "subHeading", summaryHeading: "summaryHeading", sectionTitle: "sectionTitle", backUrl: "backUrl", type: "type", buttonText: "buttonText", buttonVisibility: "buttonVisibility" }, outputs: { onContinue: "onContinue" }, usesInheritance: true, ngImport: i0, template: `
|
|
2804
2887
|
<goa-public-form-page
|
|
2805
2888
|
[id]="id"
|
|
2806
2889
|
[attr.heading]="heading"
|
|
@@ -2821,7 +2904,7 @@ class GoabPublicFormPage extends GoabBaseComponent {
|
|
|
2821
2904
|
</goa-public-form-page>
|
|
2822
2905
|
`, isInline: true }); }
|
|
2823
2906
|
}
|
|
2824
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2907
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabPublicFormPage, decorators: [{
|
|
2825
2908
|
type: Component,
|
|
2826
2909
|
args: [{
|
|
2827
2910
|
selector: "goab-public-form-page",
|
|
@@ -2870,15 +2953,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
2870
2953
|
type: Output
|
|
2871
2954
|
}] } });
|
|
2872
2955
|
|
|
2956
|
+
/** Container for form inputs and validation. */
|
|
2873
2957
|
class GoabPublicFormSummary {
|
|
2874
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2875
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
2958
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabPublicFormSummary, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2959
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.6", type: GoabPublicFormSummary, isStandalone: true, selector: "goab-public-form-summary", inputs: { heading: "heading" }, ngImport: i0, template: `
|
|
2876
2960
|
<goa-public-form-summary [attr.heading]="heading">
|
|
2877
2961
|
<ng-content />
|
|
2878
2962
|
</goa-public-form-summary>
|
|
2879
2963
|
`, isInline: true }); }
|
|
2880
2964
|
}
|
|
2881
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2965
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabPublicFormSummary, decorators: [{
|
|
2882
2966
|
type: Component,
|
|
2883
2967
|
args: [{
|
|
2884
2968
|
selector: "goab-public-form-summary",
|
|
@@ -2894,13 +2978,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
2894
2978
|
type: Input
|
|
2895
2979
|
}] } });
|
|
2896
2980
|
|
|
2981
|
+
/** Container for form inputs and validation. */
|
|
2897
2982
|
class GoabPublicSubform extends GoabBaseComponent {
|
|
2898
2983
|
constructor() {
|
|
2899
2984
|
super(...arguments);
|
|
2985
|
+
/** Sets the id of the subform. */
|
|
2900
2986
|
this.id = "";
|
|
2987
|
+
/** Sets the name identifier for the subform. */
|
|
2901
2988
|
this.name = "";
|
|
2989
|
+
/** Sets the text for the continue button. */
|
|
2902
2990
|
this.continueMsg = "";
|
|
2991
|
+
/** Emits when the subform is initialized. */
|
|
2903
2992
|
this.onInit = new EventEmitter();
|
|
2993
|
+
/** Emits when the subform state changes. */
|
|
2904
2994
|
this.onStateChange = new EventEmitter();
|
|
2905
2995
|
}
|
|
2906
2996
|
_onInit(e) {
|
|
@@ -2909,8 +2999,8 @@ class GoabPublicSubform extends GoabBaseComponent {
|
|
|
2909
2999
|
_onStateChange(e) {
|
|
2910
3000
|
this.onStateChange.emit(e);
|
|
2911
3001
|
}
|
|
2912
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2913
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
3002
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabPublicSubform, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
3003
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.6", type: GoabPublicSubform, isStandalone: true, selector: "goab-public-subform", inputs: { id: "id", name: "name", continueMsg: "continueMsg" }, outputs: { onInit: "onInit", onStateChange: "onStateChange" }, usesInheritance: true, ngImport: i0, template: `
|
|
2914
3004
|
<goa-public-subform
|
|
2915
3005
|
[attr.id]="id"
|
|
2916
3006
|
[attr.name]="name"
|
|
@@ -2926,7 +3016,7 @@ class GoabPublicSubform extends GoabBaseComponent {
|
|
|
2926
3016
|
</goa-public-subform>
|
|
2927
3017
|
`, isInline: true }); }
|
|
2928
3018
|
}
|
|
2929
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3019
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabPublicSubform, decorators: [{
|
|
2930
3020
|
type: Component,
|
|
2931
3021
|
args: [{
|
|
2932
3022
|
selector: "goab-public-subform",
|
|
@@ -2960,16 +3050,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
2960
3050
|
type: Output
|
|
2961
3051
|
}] } });
|
|
2962
3052
|
|
|
3053
|
+
/** Container for form inputs and validation. */
|
|
2963
3054
|
class GoabPublicSubformIndex extends GoabBaseComponent {
|
|
2964
3055
|
constructor() {
|
|
2965
3056
|
super(...arguments);
|
|
3057
|
+
/** Sets the heading text of the subform index page. */
|
|
2966
3058
|
this.heading = "";
|
|
3059
|
+
/** Sets the section title displayed above the heading. */
|
|
2967
3060
|
this.sectionTitle = "";
|
|
3061
|
+
/** Sets the text for the action button that navigates to the subform. */
|
|
2968
3062
|
this.actionButtonText = "";
|
|
3063
|
+
/** Sets the visibility of the continue button. @default "hidden" */
|
|
2969
3064
|
this.buttonVisibility = "hidden";
|
|
2970
3065
|
}
|
|
2971
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2972
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
3066
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabPublicSubformIndex, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
3067
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.6", type: GoabPublicSubformIndex, isStandalone: true, selector: "goab-public-subform-index", inputs: { heading: "heading", sectionTitle: "sectionTitle", actionButtonText: "actionButtonText", buttonVisibility: "buttonVisibility" }, host: { attributes: { "slot": "subform-index" } }, usesInheritance: true, ngImport: i0, template: `
|
|
2973
3068
|
<goa-public-subform-index
|
|
2974
3069
|
[attr.heading]="heading"
|
|
2975
3070
|
[attr.section-title]="sectionTitle"
|
|
@@ -2984,7 +3079,7 @@ class GoabPublicSubformIndex extends GoabBaseComponent {
|
|
|
2984
3079
|
</goa-public-subform-index>
|
|
2985
3080
|
`, isInline: true }); }
|
|
2986
3081
|
}
|
|
2987
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3082
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabPublicSubformIndex, decorators: [{
|
|
2988
3083
|
type: Component,
|
|
2989
3084
|
args: [{
|
|
2990
3085
|
selector: "goab-public-subform-index",
|
|
@@ -3018,15 +3113,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
3018
3113
|
type: Input
|
|
3019
3114
|
}] } });
|
|
3020
3115
|
|
|
3116
|
+
/** Container for form inputs and validation. */
|
|
3021
3117
|
class GoabPublicFormTask {
|
|
3022
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3023
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
3118
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabPublicFormTask, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3119
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.6", type: GoabPublicFormTask, isStandalone: true, selector: "goab-public-form-task", inputs: { status: "status" }, ngImport: i0, template: `
|
|
3024
3120
|
<goa-public-form-task [attr.status]="status">
|
|
3025
3121
|
<ng-content />
|
|
3026
3122
|
</goa-public-form-task>
|
|
3027
3123
|
`, isInline: true }); }
|
|
3028
3124
|
}
|
|
3029
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3125
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabPublicFormTask, decorators: [{
|
|
3030
3126
|
type: Component,
|
|
3031
3127
|
args: [{
|
|
3032
3128
|
selector: "goab-public-form-task",
|
|
@@ -3042,9 +3138,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
3042
3138
|
type: Input
|
|
3043
3139
|
}] } });
|
|
3044
3140
|
|
|
3141
|
+
/** Container for form inputs and validation. */
|
|
3045
3142
|
class GoabPublicFormTaskList extends GoabBaseComponent {
|
|
3046
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3047
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
3143
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabPublicFormTaskList, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
3144
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.6", type: GoabPublicFormTaskList, isStandalone: true, selector: "goab-public-form-task-list", inputs: { heading: "heading" }, usesInheritance: true, ngImport: i0, template: `
|
|
3048
3145
|
<goa-public-form-task-list
|
|
3049
3146
|
[attr.heading]="heading"
|
|
3050
3147
|
[attr.mt]="mt"
|
|
@@ -3056,7 +3153,7 @@ class GoabPublicFormTaskList extends GoabBaseComponent {
|
|
|
3056
3153
|
</goa-public-form-task-list>
|
|
3057
3154
|
`, isInline: true }); }
|
|
3058
3155
|
}
|
|
3059
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3156
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabPublicFormTaskList, decorators: [{
|
|
3060
3157
|
type: Component,
|
|
3061
3158
|
args: [{
|
|
3062
3159
|
selector: "goab-public-form-task-list",
|
|
@@ -3078,17 +3175,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
3078
3175
|
type: Input
|
|
3079
3176
|
}] } });
|
|
3080
3177
|
|
|
3178
|
+
/** Container for form inputs and validation. */
|
|
3081
3179
|
class GoabFieldset {
|
|
3082
3180
|
constructor() {
|
|
3181
|
+
/** Sets when changes will be dispatched to the form. @default "continue" */
|
|
3083
3182
|
this.dispatchOn = "continue";
|
|
3183
|
+
/** Emits when the fieldset continues to the next step. Emits the continue detail. */
|
|
3084
3184
|
this.onContinue = new EventEmitter();
|
|
3085
3185
|
}
|
|
3086
3186
|
_onContinue(event) {
|
|
3087
3187
|
const detail = event.detail;
|
|
3088
3188
|
this.onContinue.emit(detail);
|
|
3089
3189
|
}
|
|
3090
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3091
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
3190
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabFieldset, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3191
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.6", type: GoabFieldset, isStandalone: true, selector: "goab-fieldset", inputs: { id: "id", sectionTitle: "sectionTitle", dispatchOn: "dispatchOn" }, outputs: { onContinue: "onContinue" }, ngImport: i0, template: ` <goa-fieldset
|
|
3092
3192
|
[attr.section-title]="sectionTitle"
|
|
3093
3193
|
[attr.dispatch-on]="dispatchOn"
|
|
3094
3194
|
[attr.id]="id"
|
|
@@ -3097,7 +3197,7 @@ class GoabFieldset {
|
|
|
3097
3197
|
<ng-content></ng-content>
|
|
3098
3198
|
</goa-fieldset>`, isInline: true }); }
|
|
3099
3199
|
}
|
|
3100
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3200
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabFieldset, decorators: [{
|
|
3101
3201
|
type: Component,
|
|
3102
3202
|
args: [{
|
|
3103
3203
|
selector: "goab-fieldset",
|
|
@@ -3122,10 +3222,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
3122
3222
|
type: Output
|
|
3123
3223
|
}] } });
|
|
3124
3224
|
|
|
3225
|
+
/** Wraps an input control with a text label, requirement label, helper text, and error text. */
|
|
3125
3226
|
class GoabFormItem extends GoabBaseComponent {
|
|
3126
|
-
constructor(
|
|
3127
|
-
super();
|
|
3128
|
-
this.cdr =
|
|
3227
|
+
constructor() {
|
|
3228
|
+
super(...arguments);
|
|
3229
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
3230
|
+
/** Specifies the input type for appropriate message spacing. Used with checkbox-list or radio-group. */
|
|
3129
3231
|
this.type = "";
|
|
3130
3232
|
this.isReady = false;
|
|
3131
3233
|
this.version = "2";
|
|
@@ -3138,8 +3240,8 @@ class GoabFormItem extends GoabBaseComponent {
|
|
|
3138
3240
|
this.cdr.detectChanges();
|
|
3139
3241
|
}, 0);
|
|
3140
3242
|
}
|
|
3141
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3142
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
3243
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabFormItem, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
3244
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabFormItem, isStandalone: true, selector: "goab-form-item", inputs: { label: "label", labelSize: "labelSize", helpText: "helpText", error: "error", requirement: "requirement", maxWidth: "maxWidth", id: "id", type: "type", publicFormSummaryOrder: "publicFormSummaryOrder", name: "name" }, usesInheritance: true, ngImport: i0, template: `@if (isReady) {
|
|
3143
3245
|
<goa-form-item
|
|
3144
3246
|
[attr.version]="version"
|
|
3145
3247
|
[attr.label]="label"
|
|
@@ -3163,7 +3265,7 @@ class GoabFormItem extends GoabBaseComponent {
|
|
|
3163
3265
|
</goa-form-item>
|
|
3164
3266
|
}`, isInline: true }); }
|
|
3165
3267
|
}
|
|
3166
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3268
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabFormItem, decorators: [{
|
|
3167
3269
|
type: Component,
|
|
3168
3270
|
args: [{
|
|
3169
3271
|
standalone: true,
|
|
@@ -3193,7 +3295,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
3193
3295
|
}`,
|
|
3194
3296
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
3195
3297
|
}]
|
|
3196
|
-
}],
|
|
3298
|
+
}], propDecorators: { label: [{
|
|
3197
3299
|
type: Input
|
|
3198
3300
|
}], labelSize: [{
|
|
3199
3301
|
type: Input
|
|
@@ -3222,10 +3324,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
3222
3324
|
* // similar to app-footer-meta-section & app-footer-nav-section
|
|
3223
3325
|
*/
|
|
3224
3326
|
class GoabFormItemSlot {
|
|
3225
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3226
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
3327
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabFormItemSlot, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3328
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.6", type: GoabFormItemSlot, isStandalone: true, selector: "goab-form-item-slot", inputs: { slot: "slot" }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true }); }
|
|
3227
3329
|
}
|
|
3228
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3330
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabFormItemSlot, decorators: [{
|
|
3229
3331
|
type: Component,
|
|
3230
3332
|
args: [{
|
|
3231
3333
|
standalone: true,
|
|
@@ -3237,9 +3339,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
3237
3339
|
args: [{ required: true }]
|
|
3238
3340
|
}] } });
|
|
3239
3341
|
|
|
3342
|
+
/** Individual step in a multi-step form. */
|
|
3240
3343
|
class GoabFormStep {
|
|
3241
|
-
constructor(
|
|
3242
|
-
this.cdr =
|
|
3344
|
+
constructor() {
|
|
3345
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
3243
3346
|
this.isReady = false;
|
|
3244
3347
|
}
|
|
3245
3348
|
ngOnInit() {
|
|
@@ -3248,14 +3351,14 @@ class GoabFormStep {
|
|
|
3248
3351
|
this.cdr.detectChanges();
|
|
3249
3352
|
});
|
|
3250
3353
|
}
|
|
3251
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3252
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
3354
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabFormStep, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3355
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabFormStep, isStandalone: true, selector: "goab-form-step", inputs: { text: "text", status: "status" }, ngImport: i0, template: `
|
|
3253
3356
|
@if (isReady) {
|
|
3254
3357
|
<goa-form-step [attr.text]="text" [attr.status]="status"></goa-form-step>
|
|
3255
3358
|
}
|
|
3256
3359
|
`, isInline: true }); }
|
|
3257
3360
|
}
|
|
3258
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3361
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabFormStep, decorators: [{
|
|
3259
3362
|
type: Component,
|
|
3260
3363
|
args: [{
|
|
3261
3364
|
standalone: true,
|
|
@@ -3267,17 +3370,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
3267
3370
|
`,
|
|
3268
3371
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
3269
3372
|
}]
|
|
3270
|
-
}],
|
|
3373
|
+
}], propDecorators: { text: [{
|
|
3271
3374
|
type: Input
|
|
3272
3375
|
}], status: [{
|
|
3273
3376
|
type: Input
|
|
3274
3377
|
}] } });
|
|
3275
3378
|
|
|
3379
|
+
/** Provides a visual representation of a form through a series of steps. */
|
|
3276
3380
|
class GoabFormStepper extends GoabBaseComponent {
|
|
3277
|
-
constructor(
|
|
3278
|
-
super();
|
|
3279
|
-
this.cdr =
|
|
3381
|
+
constructor() {
|
|
3382
|
+
super(...arguments);
|
|
3383
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
3384
|
+
/** The current step state value (1-based index). Leaving it blank (-1) will allow any step to be accessed. @default -1 */
|
|
3280
3385
|
this.step = -1;
|
|
3386
|
+
/** Emits when the form stepper step changes. Emits the new step as GoabFormStepperOnChangeDetail. */
|
|
3281
3387
|
this.onChange = new EventEmitter();
|
|
3282
3388
|
this.isReady = false;
|
|
3283
3389
|
}
|
|
@@ -3291,8 +3397,8 @@ class GoabFormStepper extends GoabBaseComponent {
|
|
|
3291
3397
|
const detail = e.detail;
|
|
3292
3398
|
this.onChange.emit(detail);
|
|
3293
3399
|
}
|
|
3294
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3295
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
3400
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabFormStepper, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
3401
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabFormStepper, isStandalone: true, selector: "goab-form-stepper", inputs: { step: "step" }, outputs: { onChange: "onChange" }, usesInheritance: true, ngImport: i0, template: `
|
|
3296
3402
|
@if (isReady) {
|
|
3297
3403
|
<goa-form-stepper
|
|
3298
3404
|
[attr.step]="step"
|
|
@@ -3308,7 +3414,7 @@ class GoabFormStepper extends GoabBaseComponent {
|
|
|
3308
3414
|
}
|
|
3309
3415
|
`, isInline: true }); }
|
|
3310
3416
|
}
|
|
3311
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3417
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabFormStepper, decorators: [{
|
|
3312
3418
|
type: Component,
|
|
3313
3419
|
args: [{
|
|
3314
3420
|
standalone: true,
|
|
@@ -3330,16 +3436,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
3330
3436
|
`,
|
|
3331
3437
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
3332
3438
|
}]
|
|
3333
|
-
}],
|
|
3439
|
+
}], propDecorators: { step: [{
|
|
3334
3440
|
type: Input
|
|
3335
3441
|
}], onChange: [{
|
|
3336
3442
|
type: Output
|
|
3337
3443
|
}] } });
|
|
3338
3444
|
|
|
3445
|
+
/** Arrange a number of components into a responsive grid pattern. */
|
|
3339
3446
|
class GoabGrid extends GoabBaseComponent {
|
|
3340
|
-
constructor(
|
|
3341
|
-
super();
|
|
3342
|
-
this.cdr =
|
|
3447
|
+
constructor() {
|
|
3448
|
+
super(...arguments);
|
|
3449
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
3343
3450
|
this.isReady = false;
|
|
3344
3451
|
}
|
|
3345
3452
|
ngOnInit() {
|
|
@@ -3348,8 +3455,8 @@ class GoabGrid extends GoabBaseComponent {
|
|
|
3348
3455
|
this.cdr.detectChanges();
|
|
3349
3456
|
});
|
|
3350
3457
|
}
|
|
3351
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3352
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
3458
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabGrid, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
3459
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabGrid, isStandalone: true, selector: "goab-grid", inputs: { minChildWidth: "minChildWidth", gap: "gap" }, usesInheritance: true, ngImport: i0, template: `
|
|
3353
3460
|
@if (isReady) {
|
|
3354
3461
|
<goa-grid
|
|
3355
3462
|
[attr.gap]="gap"
|
|
@@ -3365,7 +3472,7 @@ class GoabGrid extends GoabBaseComponent {
|
|
|
3365
3472
|
}
|
|
3366
3473
|
`, isInline: true }); }
|
|
3367
3474
|
}
|
|
3368
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3475
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabGrid, decorators: [{
|
|
3369
3476
|
type: Component,
|
|
3370
3477
|
args: [{
|
|
3371
3478
|
standalone: true,
|
|
@@ -3387,19 +3494,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
3387
3494
|
`,
|
|
3388
3495
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
3389
3496
|
}]
|
|
3390
|
-
}],
|
|
3497
|
+
}], propDecorators: { minChildWidth: [{
|
|
3391
3498
|
type: Input,
|
|
3392
3499
|
args: [{ required: true }]
|
|
3393
3500
|
}], gap: [{
|
|
3394
3501
|
type: Input
|
|
3395
3502
|
}] } });
|
|
3396
3503
|
|
|
3504
|
+
/** Provide structure to help users find their way around the service. */
|
|
3397
3505
|
class GoabAppHeader extends GoabBaseComponent {
|
|
3398
|
-
constructor(
|
|
3399
|
-
super();
|
|
3400
|
-
this.cdr =
|
|
3506
|
+
constructor() {
|
|
3507
|
+
super(...arguments);
|
|
3508
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
3401
3509
|
this.isReady = false;
|
|
3402
3510
|
this.version = "2";
|
|
3511
|
+
/** Emits when the menu button is clicked. Used for custom menu handling. */
|
|
3403
3512
|
this.onMenuClick = new EventEmitter();
|
|
3404
3513
|
}
|
|
3405
3514
|
ngOnInit() {
|
|
@@ -3411,8 +3520,8 @@ class GoabAppHeader extends GoabBaseComponent {
|
|
|
3411
3520
|
_onMenuClick() {
|
|
3412
3521
|
this.onMenuClick.emit();
|
|
3413
3522
|
}
|
|
3414
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3415
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
3523
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabAppHeader, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
3524
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabAppHeader, isStandalone: true, selector: "goab-app-header", inputs: { url: "url", heading: "heading", secondaryText: "secondaryText", maxContentWidth: "maxContentWidth", fullMenuBreakpoint: ["fullMenuBreakpoint", "fullMenuBreakpoint", numberAttribute] }, outputs: { onMenuClick: "onMenuClick" }, usesInheritance: true, ngImport: i0, template: `@if (isReady) {
|
|
3416
3525
|
<goa-app-header
|
|
3417
3526
|
[attr.url]="url"
|
|
3418
3527
|
[attr.heading]="heading"
|
|
@@ -3428,7 +3537,7 @@ class GoabAppHeader extends GoabBaseComponent {
|
|
|
3428
3537
|
</goa-app-header>
|
|
3429
3538
|
}`, isInline: true }); }
|
|
3430
3539
|
}
|
|
3431
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3540
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabAppHeader, decorators: [{
|
|
3432
3541
|
type: Component,
|
|
3433
3542
|
args: [{
|
|
3434
3543
|
standalone: true,
|
|
@@ -3450,7 +3559,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
3450
3559
|
}`,
|
|
3451
3560
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
3452
3561
|
}]
|
|
3453
|
-
}],
|
|
3562
|
+
}], propDecorators: { url: [{
|
|
3454
3563
|
type: Input
|
|
3455
3564
|
}], heading: [{
|
|
3456
3565
|
type: Input
|
|
@@ -3465,23 +3574,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
3465
3574
|
type: Output
|
|
3466
3575
|
}] } });
|
|
3467
3576
|
|
|
3577
|
+
/** Menu items within the app header. */
|
|
3468
3578
|
class GoabAppHeaderMenu extends GoabBaseComponent {
|
|
3579
|
+
constructor() {
|
|
3580
|
+
super(...arguments);
|
|
3581
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
3582
|
+
this.isReady = false;
|
|
3583
|
+
}
|
|
3469
3584
|
get hostSlot() {
|
|
3470
3585
|
return this.slotName ?? null;
|
|
3471
3586
|
}
|
|
3472
|
-
constructor(cdr) {
|
|
3473
|
-
super();
|
|
3474
|
-
this.cdr = cdr;
|
|
3475
|
-
this.isReady = false;
|
|
3476
|
-
}
|
|
3477
3587
|
ngOnInit() {
|
|
3478
3588
|
setTimeout(() => {
|
|
3479
3589
|
this.isReady = true;
|
|
3480
3590
|
this.cdr.detectChanges();
|
|
3481
3591
|
}, 0);
|
|
3482
3592
|
}
|
|
3483
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3484
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
3593
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabAppHeaderMenu, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
3594
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabAppHeaderMenu, isStandalone: true, selector: "goab-app-header-menu", inputs: { leadingIcon: "leadingIcon", heading: "heading", slotName: "slotName" }, host: { properties: { "attr.slot": "this.hostSlot" } }, usesInheritance: true, ngImport: i0, template: `@if (isReady) {
|
|
3485
3595
|
<goa-app-header-menu
|
|
3486
3596
|
[attr.leadingicon]="leadingIcon"
|
|
3487
3597
|
[attr.heading]="heading"
|
|
@@ -3491,7 +3601,7 @@ class GoabAppHeaderMenu extends GoabBaseComponent {
|
|
|
3491
3601
|
</goa-app-header-menu>
|
|
3492
3602
|
}`, isInline: true }); }
|
|
3493
3603
|
}
|
|
3494
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3604
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabAppHeaderMenu, decorators: [{
|
|
3495
3605
|
type: Component,
|
|
3496
3606
|
args: [{
|
|
3497
3607
|
standalone: true,
|
|
@@ -3507,7 +3617,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
3507
3617
|
}`,
|
|
3508
3618
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
3509
3619
|
}]
|
|
3510
|
-
}],
|
|
3620
|
+
}], propDecorators: { leadingIcon: [{
|
|
3511
3621
|
type: Input
|
|
3512
3622
|
}], heading: [{
|
|
3513
3623
|
type: Input
|
|
@@ -3518,9 +3628,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
3518
3628
|
args: ["attr.slot"]
|
|
3519
3629
|
}] } });
|
|
3520
3630
|
|
|
3631
|
+
/** A visual band of text, including an image and a call to action. */
|
|
3521
3632
|
class GoabHeroBanner {
|
|
3522
|
-
constructor(
|
|
3523
|
-
this.cdr =
|
|
3633
|
+
constructor() {
|
|
3634
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
3524
3635
|
this.isReady = false;
|
|
3525
3636
|
}
|
|
3526
3637
|
ngOnInit() {
|
|
@@ -3529,8 +3640,8 @@ class GoabHeroBanner {
|
|
|
3529
3640
|
this.cdr.detectChanges();
|
|
3530
3641
|
});
|
|
3531
3642
|
}
|
|
3532
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3533
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
3643
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabHeroBanner, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3644
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabHeroBanner, isStandalone: true, selector: "goab-hero-banner", inputs: { heading: "heading", backgroundUrl: "backgroundUrl", minHeight: "minHeight", testId: "testId", maxContentWidth: "maxContentWidth", backgroundColor: "backgroundColor", textColor: "textColor", actions: "actions" }, ngImport: i0, template: `
|
|
3534
3645
|
@if (isReady) {
|
|
3535
3646
|
<goa-hero-banner
|
|
3536
3647
|
[attr.heading]="heading"
|
|
@@ -3549,7 +3660,7 @@ class GoabHeroBanner {
|
|
|
3549
3660
|
}
|
|
3550
3661
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
|
|
3551
3662
|
}
|
|
3552
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3663
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabHeroBanner, decorators: [{
|
|
3553
3664
|
type: Component,
|
|
3554
3665
|
args: [{
|
|
3555
3666
|
standalone: true,
|
|
@@ -3575,7 +3686,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
3575
3686
|
`,
|
|
3576
3687
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
3577
3688
|
}]
|
|
3578
|
-
}],
|
|
3689
|
+
}], propDecorators: { heading: [{
|
|
3579
3690
|
type: Input
|
|
3580
3691
|
}], backgroundUrl: [{
|
|
3581
3692
|
type: Input
|
|
@@ -3593,10 +3704,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
3593
3704
|
type: Input
|
|
3594
3705
|
}] } });
|
|
3595
3706
|
|
|
3707
|
+
/** A simple and universal graphic symbol representing an action, object, or concept to help guide the user. */
|
|
3596
3708
|
class GoabIcon extends GoabBaseComponent {
|
|
3597
|
-
constructor(
|
|
3598
|
-
super();
|
|
3599
|
-
this.cdr =
|
|
3709
|
+
constructor() {
|
|
3710
|
+
super(...arguments);
|
|
3711
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
3600
3712
|
this.isReady = false;
|
|
3601
3713
|
}
|
|
3602
3714
|
ngOnInit() {
|
|
@@ -3607,8 +3719,8 @@ class GoabIcon extends GoabBaseComponent {
|
|
|
3607
3719
|
this.cdr.detectChanges();
|
|
3608
3720
|
}, 0);
|
|
3609
3721
|
}
|
|
3610
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3611
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
3722
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabIcon, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
3723
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabIcon, isStandalone: true, selector: "goab-icon", inputs: { type: "type", size: "size", theme: "theme", inverted: ["inverted", "inverted", booleanAttribute], fillColor: "fillColor", opacity: ["opacity", "opacity", numberAttribute], title: "title", ariaLabel: "ariaLabel" }, usesInheritance: true, ngImport: i0, template: `
|
|
3612
3724
|
@if (isReady) {
|
|
3613
3725
|
<goa-icon
|
|
3614
3726
|
[attr.type]="type"
|
|
@@ -3629,7 +3741,7 @@ class GoabIcon extends GoabBaseComponent {
|
|
|
3629
3741
|
}
|
|
3630
3742
|
`, isInline: true, styles: [":host{display:inline-flex;align-items:center}\n"] }); }
|
|
3631
3743
|
}
|
|
3632
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3744
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabIcon, decorators: [{
|
|
3633
3745
|
type: Component,
|
|
3634
3746
|
args: [{ standalone: true, selector: "goab-icon", template: `
|
|
3635
3747
|
@if (isReady) {
|
|
@@ -3651,7 +3763,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
3651
3763
|
</goa-icon>
|
|
3652
3764
|
}
|
|
3653
3765
|
`, schemas: [CUSTOM_ELEMENTS_SCHEMA], styles: [":host{display:inline-flex;align-items:center}\n"] }]
|
|
3654
|
-
}],
|
|
3766
|
+
}], propDecorators: { type: [{
|
|
3655
3767
|
type: Input,
|
|
3656
3768
|
args: [{ required: true }]
|
|
3657
3769
|
}], size: [{
|
|
@@ -3672,13 +3784,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
3672
3784
|
type: Input
|
|
3673
3785
|
}] } });
|
|
3674
3786
|
|
|
3787
|
+
/** A compact button with an icon and no text. */
|
|
3675
3788
|
class GoabIconButton extends GoabBaseComponent {
|
|
3676
|
-
constructor(
|
|
3677
|
-
super();
|
|
3678
|
-
this.cdr =
|
|
3789
|
+
constructor() {
|
|
3790
|
+
super(...arguments);
|
|
3791
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
3679
3792
|
this.isReady = false;
|
|
3680
3793
|
this.JSON = JSON;
|
|
3794
|
+
/** Sets the size of button. @default "medium" */
|
|
3681
3795
|
this.size = "medium";
|
|
3796
|
+
/** Emits when the icon button is clicked. */
|
|
3682
3797
|
this.onClick = new EventEmitter();
|
|
3683
3798
|
}
|
|
3684
3799
|
ngOnInit() {
|
|
@@ -3690,8 +3805,8 @@ class GoabIconButton extends GoabBaseComponent {
|
|
|
3690
3805
|
_onClick() {
|
|
3691
3806
|
this.onClick.emit();
|
|
3692
3807
|
}
|
|
3693
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3694
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
3808
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabIconButton, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
3809
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabIconButton, isStandalone: true, selector: "goab-icon-button", inputs: { icon: "icon", size: "size", variant: "variant", title: "title", disabled: ["disabled", "disabled", booleanAttribute], ariaLabel: "ariaLabel", action: "action", actionArg: "actionArg", actionArgs: "actionArgs" }, outputs: { onClick: "onClick" }, usesInheritance: true, ngImport: i0, template: `
|
|
3695
3810
|
@if (isReady) {
|
|
3696
3811
|
<goa-icon-button
|
|
3697
3812
|
[attr.icon]="icon"
|
|
@@ -3715,7 +3830,7 @@ class GoabIconButton extends GoabBaseComponent {
|
|
|
3715
3830
|
}
|
|
3716
3831
|
`, isInline: true }); }
|
|
3717
3832
|
}
|
|
3718
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3833
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabIconButton, decorators: [{
|
|
3719
3834
|
type: Component,
|
|
3720
3835
|
args: [{
|
|
3721
3836
|
standalone: true,
|
|
@@ -3745,7 +3860,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
3745
3860
|
`,
|
|
3746
3861
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
3747
3862
|
}]
|
|
3748
|
-
}],
|
|
3863
|
+
}], propDecorators: { icon: [{
|
|
3749
3864
|
type: Input,
|
|
3750
3865
|
args: [{ required: true }]
|
|
3751
3866
|
}], size: [{
|
|
@@ -3769,17 +3884,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
3769
3884
|
type: Output
|
|
3770
3885
|
}] } });
|
|
3771
3886
|
|
|
3887
|
+
/** A single-line field where users can input and edit text. */
|
|
3772
3888
|
class GoabInput extends GoabControlValueAccessor {
|
|
3773
|
-
constructor(
|
|
3774
|
-
super(
|
|
3775
|
-
this.cdr =
|
|
3889
|
+
constructor() {
|
|
3890
|
+
super(...arguments);
|
|
3891
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
3892
|
+
/** Sets the type of the input field. @default "text" */
|
|
3776
3893
|
this.type = "text";
|
|
3894
|
+
/** Sets the text alignment within the input field. @default "left" */
|
|
3777
3895
|
this.textAlign = "left";
|
|
3896
|
+
/** Sets the size of the input. 'compact' reduces height for dense layouts. @default "default" */
|
|
3778
3897
|
this.size = "default";
|
|
3898
|
+
/** Emits when the trailing icon is clicked. */
|
|
3779
3899
|
this.onTrailingIconClick = new EventEmitter();
|
|
3900
|
+
/** Emits when the input receives focus. Emits focus detail including the current value. */
|
|
3780
3901
|
this.onFocus = new EventEmitter();
|
|
3902
|
+
/** Emits when the input loses focus. Emits blur detail including the current value. */
|
|
3781
3903
|
this.onBlur = new EventEmitter();
|
|
3904
|
+
/** Emits when a key is pressed in the input. Emits key press detail including the value and key pressed. */
|
|
3782
3905
|
this.onKeyPress = new EventEmitter();
|
|
3906
|
+
/** Emits when the input value changes. Emits change detail including the new value. */
|
|
3783
3907
|
this.onChange = new EventEmitter();
|
|
3784
3908
|
this.version = "2";
|
|
3785
3909
|
this.isReady = false;
|
|
@@ -3839,8 +3963,8 @@ class GoabInput extends GoabControlValueAccessor {
|
|
|
3839
3963
|
return null;
|
|
3840
3964
|
return this.trailingContent instanceof TemplateRef ? this.trailingContent : null;
|
|
3841
3965
|
}
|
|
3842
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3843
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
3966
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabInput, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
3967
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabInput, isStandalone: true, selector: "goab-input", inputs: { type: "type", name: "name", debounce: ["debounce", "debounce", numberAttribute], autoCapitalize: "autoCapitalize", autoComplete: "autoComplete", placeholder: "placeholder", leadingIcon: "leadingIcon", trailingIcon: "trailingIcon", variant: "variant", focused: ["focused", "focused", booleanAttribute], readonly: ["readonly", "readonly", booleanAttribute], width: "width", prefix: "prefix", suffix: "suffix", ariaLabel: "ariaLabel", maxLength: ["maxLength", "maxLength", numberAttribute], min: "min", max: "max", step: ["step", "step", numberAttribute], ariaLabelledBy: "ariaLabelledBy", trailingIconAriaLabel: "trailingIconAriaLabel", textAlign: "textAlign", leadingContent: "leadingContent", trailingContent: "trailingContent", size: "size" }, outputs: { onTrailingIconClick: "onTrailingIconClick", onFocus: "onFocus", onBlur: "onBlur", onKeyPress: "onKeyPress", onChange: "onChange" }, providers: [
|
|
3844
3968
|
{
|
|
3845
3969
|
provide: NG_VALUE_ACCESSOR,
|
|
3846
3970
|
multi: true,
|
|
@@ -3916,7 +4040,7 @@ class GoabInput extends GoabControlValueAccessor {
|
|
|
3916
4040
|
</goa-input>
|
|
3917
4041
|
}`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
|
|
3918
4042
|
}
|
|
3919
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4043
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabInput, decorators: [{
|
|
3920
4044
|
type: Component,
|
|
3921
4045
|
args: [{
|
|
3922
4046
|
standalone: true,
|
|
@@ -4000,7 +4124,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
4000
4124
|
},
|
|
4001
4125
|
],
|
|
4002
4126
|
}]
|
|
4003
|
-
}],
|
|
4127
|
+
}], propDecorators: { type: [{
|
|
4004
4128
|
type: Input
|
|
4005
4129
|
}], name: [{
|
|
4006
4130
|
type: Input
|
|
@@ -4067,17 +4191,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
4067
4191
|
type: Output
|
|
4068
4192
|
}] } });
|
|
4069
4193
|
|
|
4194
|
+
/** A single-line field where users can input and edit numeric values. */
|
|
4070
4195
|
class GoabInputNumber {
|
|
4071
|
-
constructor(
|
|
4072
|
-
this.cdr =
|
|
4196
|
+
constructor() {
|
|
4197
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
4073
4198
|
this.isReady = false;
|
|
4199
|
+
/** Sets the type of the input field. @default "number" */
|
|
4074
4200
|
this.type = "number";
|
|
4201
|
+
/** Sets the text alignment within the input field. @default "right" */
|
|
4075
4202
|
this.textAlign = "right"; // Default to right for numbers
|
|
4203
|
+
/** Bound to value. */
|
|
4076
4204
|
this.value = null;
|
|
4205
|
+
/** Emits when the trailing icon is clicked. */
|
|
4077
4206
|
this.onTrailingIconClick = new EventEmitter(); // Keep void type
|
|
4207
|
+
/** Emits when the input receives focus. Emits focus detail including the current value. */
|
|
4078
4208
|
this.onFocus = new EventEmitter();
|
|
4209
|
+
/** Emits when the input loses focus. Emits blur detail including the current value. */
|
|
4079
4210
|
this.onBlur = new EventEmitter();
|
|
4211
|
+
/** Emits when a key is pressed in the input. Emits key press detail including the value and key pressed. */
|
|
4080
4212
|
this.onKeyPress = new EventEmitter();
|
|
4213
|
+
/** Emits when the input value changes. Emits change detail including the new value. */
|
|
4081
4214
|
this.onChange = new EventEmitter();
|
|
4082
4215
|
this.handleTrailingIconClick = false;
|
|
4083
4216
|
this.touched = false;
|
|
@@ -4158,8 +4291,8 @@ class GoabInputNumber {
|
|
|
4158
4291
|
return null;
|
|
4159
4292
|
return this.trailingContent instanceof TemplateRef ? this.trailingContent : null;
|
|
4160
4293
|
}
|
|
4161
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4162
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
4294
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabInputNumber, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4295
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabInputNumber, isStandalone: true, selector: "goab-input-number", inputs: { type: "type", name: "name", id: "id", debounce: ["debounce", "debounce", numberAttribute], disabled: ["disabled", "disabled", booleanAttribute], autoCapitalize: "autoCapitalize", placeholder: "placeholder", leadingIcon: "leadingIcon", trailingIcon: "trailingIcon", variant: "variant", focused: ["focused", "focused", booleanAttribute], readonly: ["readonly", "readonly", booleanAttribute], error: ["error", "error", booleanAttribute], width: "width", prefix: "prefix", suffix: "suffix", testId: "testId", ariaLabel: "ariaLabel", maxLength: ["maxLength", "maxLength", numberAttribute], min: "min", max: "max", step: ["step", "step", numberAttribute], ariaLabelledBy: "ariaLabelledBy", mt: "mt", mr: "mr", mb: "mb", ml: "ml", trailingIconAriaLabel: "trailingIconAriaLabel", textAlign: "textAlign", value: "value", leadingContent: "leadingContent", trailingContent: "trailingContent" }, outputs: { onTrailingIconClick: "onTrailingIconClick", onFocus: "onFocus", onBlur: "onBlur", onKeyPress: "onKeyPress", onChange: "onChange" }, providers: [
|
|
4163
4296
|
{
|
|
4164
4297
|
provide: NG_VALUE_ACCESSOR,
|
|
4165
4298
|
multi: true,
|
|
@@ -4235,7 +4368,7 @@ class GoabInputNumber {
|
|
|
4235
4368
|
}
|
|
4236
4369
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
|
|
4237
4370
|
}
|
|
4238
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4371
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabInputNumber, decorators: [{
|
|
4239
4372
|
type: Component,
|
|
4240
4373
|
args: [{
|
|
4241
4374
|
standalone: true,
|
|
@@ -4319,7 +4452,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
4319
4452
|
},
|
|
4320
4453
|
],
|
|
4321
4454
|
}]
|
|
4322
|
-
}],
|
|
4455
|
+
}], propDecorators: { type: [{
|
|
4323
4456
|
type: Input
|
|
4324
4457
|
}], name: [{
|
|
4325
4458
|
type: Input
|
|
@@ -4402,9 +4535,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
4402
4535
|
type: Output
|
|
4403
4536
|
}] } });
|
|
4404
4537
|
|
|
4538
|
+
/** Provide visual feedback to users while loading. */
|
|
4405
4539
|
class GoabLinearProgress {
|
|
4406
|
-
constructor(
|
|
4407
|
-
this.cdr =
|
|
4540
|
+
constructor() {
|
|
4541
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
4408
4542
|
this.isReady = false;
|
|
4409
4543
|
}
|
|
4410
4544
|
ngOnInit() {
|
|
@@ -4415,8 +4549,8 @@ class GoabLinearProgress {
|
|
|
4415
4549
|
this.cdr.detectChanges();
|
|
4416
4550
|
}, 0);
|
|
4417
4551
|
}
|
|
4418
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4419
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
4552
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabLinearProgress, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4553
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabLinearProgress, isStandalone: true, selector: "goab-linear-progress", inputs: { progress: "progress", percentVisibility: "percentVisibility", ariaLabel: "ariaLabel", ariaLabelledBy: "ariaLabelledBy", testid: "testid" }, ngImport: i0, template: `
|
|
4420
4554
|
@if (isReady) {
|
|
4421
4555
|
<goa-linear-progress
|
|
4422
4556
|
[attr.progress]="progress"
|
|
@@ -4429,7 +4563,7 @@ class GoabLinearProgress {
|
|
|
4429
4563
|
}
|
|
4430
4564
|
`, isInline: true }); }
|
|
4431
4565
|
}
|
|
4432
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4566
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabLinearProgress, decorators: [{
|
|
4433
4567
|
type: Component,
|
|
4434
4568
|
args: [{
|
|
4435
4569
|
standalone: true,
|
|
@@ -4448,7 +4582,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
4448
4582
|
`,
|
|
4449
4583
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
4450
4584
|
}]
|
|
4451
|
-
}],
|
|
4585
|
+
}], propDecorators: { progress: [{
|
|
4452
4586
|
type: Input
|
|
4453
4587
|
}], percentVisibility: [{
|
|
4454
4588
|
type: Input
|
|
@@ -4460,11 +4594,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
4460
4594
|
type: Input
|
|
4461
4595
|
}] } });
|
|
4462
4596
|
|
|
4597
|
+
/** Wraps an anchor element to add icons or margins. */
|
|
4463
4598
|
class GoabLink {
|
|
4464
|
-
constructor(
|
|
4465
|
-
this.cdr =
|
|
4599
|
+
constructor() {
|
|
4600
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
4466
4601
|
this.isReady = false;
|
|
4602
|
+
/** Sets the color theme. 'interactive' for blue, 'dark' for black, 'light' for white text. @default "interactive" */
|
|
4467
4603
|
this.color = "interactive";
|
|
4604
|
+
/** Sets the text size and corresponding icon size. @default "medium" */
|
|
4468
4605
|
this.size = "medium";
|
|
4469
4606
|
this.JSON = JSON;
|
|
4470
4607
|
}
|
|
@@ -4474,8 +4611,8 @@ class GoabLink {
|
|
|
4474
4611
|
this.cdr.detectChanges();
|
|
4475
4612
|
});
|
|
4476
4613
|
}
|
|
4477
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4478
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
4614
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabLink, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4615
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabLink, isStandalone: true, selector: "goab-link", inputs: { leadingIcon: "leadingIcon", trailingIcon: "trailingIcon", testId: "testId", action: "action", color: "color", size: "size", actionArg: "actionArg", actionArgs: "actionArgs", mt: "mt", mb: "mb", ml: "ml", mr: "mr" }, ngImport: i0, template: `
|
|
4479
4616
|
@if (isReady) {
|
|
4480
4617
|
<goa-link
|
|
4481
4618
|
[attr.leadingicon]="leadingIcon"
|
|
@@ -4496,7 +4633,7 @@ class GoabLink {
|
|
|
4496
4633
|
}
|
|
4497
4634
|
`, isInline: true }); }
|
|
4498
4635
|
}
|
|
4499
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4636
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabLink, decorators: [{
|
|
4500
4637
|
type: Component,
|
|
4501
4638
|
args: [{
|
|
4502
4639
|
standalone: true,
|
|
@@ -4523,7 +4660,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
4523
4660
|
`,
|
|
4524
4661
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
4525
4662
|
}]
|
|
4526
|
-
}],
|
|
4663
|
+
}], propDecorators: { leadingIcon: [{
|
|
4527
4664
|
type: Input
|
|
4528
4665
|
}], trailingIcon: [{
|
|
4529
4666
|
type: Input
|
|
@@ -4549,10 +4686,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
4549
4686
|
type: Input
|
|
4550
4687
|
}] } });
|
|
4551
4688
|
|
|
4689
|
+
/** Communicate what stage the service is at, connect to Alberta.ca, and gather feedback on your service. */
|
|
4552
4690
|
class GoabMicrositeHeader {
|
|
4553
|
-
constructor(
|
|
4554
|
-
this.cdr =
|
|
4691
|
+
constructor() {
|
|
4692
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
4555
4693
|
this.isReady = false;
|
|
4694
|
+
/** Emits when the feedback link is clicked. */
|
|
4556
4695
|
this.onFeedbackClick = new EventEmitter();
|
|
4557
4696
|
}
|
|
4558
4697
|
ngOnInit() {
|
|
@@ -4572,8 +4711,8 @@ class GoabMicrositeHeader {
|
|
|
4572
4711
|
_onFeedbackClick() {
|
|
4573
4712
|
this.onFeedbackClick.emit();
|
|
4574
4713
|
}
|
|
4575
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4576
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
4714
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabMicrositeHeader, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4715
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabMicrositeHeader, isStandalone: true, selector: "goab-microsite-header", inputs: { type: "type", version: "version", feedbackUrl: "feedbackUrl", testId: "testId", maxContentWidth: "maxContentWidth", feedbackUrlTarget: "feedbackUrlTarget", headerUrlTarget: "headerUrlTarget" }, outputs: { onFeedbackClick: "onFeedbackClick" }, ngImport: i0, template: `
|
|
4577
4716
|
@if (isReady) {
|
|
4578
4717
|
<goa-microsite-header
|
|
4579
4718
|
[attr.type]="type"
|
|
@@ -4593,7 +4732,7 @@ class GoabMicrositeHeader {
|
|
|
4593
4732
|
}
|
|
4594
4733
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
|
|
4595
4734
|
}
|
|
4596
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4735
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabMicrositeHeader, decorators: [{
|
|
4597
4736
|
type: Component,
|
|
4598
4737
|
args: [{
|
|
4599
4738
|
standalone: true,
|
|
@@ -4620,7 +4759,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
4620
4759
|
imports: [NgTemplateOutlet],
|
|
4621
4760
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
4622
4761
|
}]
|
|
4623
|
-
}],
|
|
4762
|
+
}], propDecorators: { type: [{
|
|
4624
4763
|
type: Input,
|
|
4625
4764
|
args: [{ required: true }]
|
|
4626
4765
|
}], version: [{
|
|
@@ -4639,12 +4778,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
4639
4778
|
type: Output
|
|
4640
4779
|
}] } });
|
|
4641
4780
|
|
|
4781
|
+
/** An overlay that appears in front of all other content, and requires a user to take an action before continuing. */
|
|
4642
4782
|
class GoabModal {
|
|
4643
|
-
constructor(
|
|
4644
|
-
this.cdr =
|
|
4783
|
+
constructor() {
|
|
4784
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
4645
4785
|
this.isReady = false;
|
|
4646
4786
|
this.version = "2";
|
|
4787
|
+
/** Show close icon and allow clicking the background to close the modal. */
|
|
4647
4788
|
this.closable = false;
|
|
4789
|
+
/** Emits when the modal is closed. */
|
|
4648
4790
|
this.onClose = new EventEmitter();
|
|
4649
4791
|
}
|
|
4650
4792
|
ngOnInit() {
|
|
@@ -4666,8 +4808,8 @@ class GoabModal {
|
|
|
4666
4808
|
_onClose() {
|
|
4667
4809
|
this.onClose.emit();
|
|
4668
4810
|
}
|
|
4669
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4670
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
4811
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabModal, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4812
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabModal, isStandalone: true, selector: "goab-modal", inputs: { calloutVariant: "calloutVariant", open: ["open", "open", booleanAttribute], maxWidth: "maxWidth", closable: "closable", transition: "transition", testId: "testId", role: "role", heading: "heading", actions: "actions" }, outputs: { onClose: "onClose" }, ngImport: i0, template: `
|
|
4671
4813
|
@if (isReady) {
|
|
4672
4814
|
<goa-modal
|
|
4673
4815
|
[attr.version]="version"
|
|
@@ -4698,7 +4840,7 @@ class GoabModal {
|
|
|
4698
4840
|
}
|
|
4699
4841
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
|
|
4700
4842
|
}
|
|
4701
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4843
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabModal, decorators: [{
|
|
4702
4844
|
type: Component,
|
|
4703
4845
|
args: [{
|
|
4704
4846
|
standalone: true,
|
|
@@ -4736,7 +4878,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
4736
4878
|
`,
|
|
4737
4879
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
4738
4880
|
}]
|
|
4739
|
-
}],
|
|
4881
|
+
}], propDecorators: { calloutVariant: [{
|
|
4740
4882
|
type: Input
|
|
4741
4883
|
}], open: [{
|
|
4742
4884
|
type: Input,
|
|
@@ -4759,16 +4901,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
4759
4901
|
type: Output
|
|
4760
4902
|
}] } });
|
|
4761
4903
|
|
|
4904
|
+
/** A button with more than one action. */
|
|
4762
4905
|
class GoabMenuButton {
|
|
4763
4906
|
constructor() {
|
|
4907
|
+
/** Emits when a menu action is clicked. Emits the action detail. */
|
|
4764
4908
|
this.onAction = new EventEmitter();
|
|
4765
4909
|
}
|
|
4766
4910
|
_onAction(e) {
|
|
4767
4911
|
const detail = e.detail;
|
|
4768
4912
|
this.onAction.emit(detail);
|
|
4769
4913
|
}
|
|
4770
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4771
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
4914
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabMenuButton, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4915
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.6", type: GoabMenuButton, isStandalone: true, selector: "goab-menu-button", inputs: { text: "text", type: "type", size: "size", variant: "variant", maxWidth: "maxWidth", leadingIcon: "leadingIcon", ariaLabel: "ariaLabel", testId: "testId" }, outputs: { onAction: "onAction" }, ngImport: i0, template: `
|
|
4772
4916
|
<goa-menu-button
|
|
4773
4917
|
[attr.text]="text"
|
|
4774
4918
|
[attr.type]="type"
|
|
@@ -4785,7 +4929,7 @@ class GoabMenuButton {
|
|
|
4785
4929
|
</goa-menu-button>
|
|
4786
4930
|
`, isInline: true }); }
|
|
4787
4931
|
}
|
|
4788
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4932
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabMenuButton, decorators: [{
|
|
4789
4933
|
type: Component,
|
|
4790
4934
|
args: [{
|
|
4791
4935
|
standalone: true,
|
|
@@ -4828,9 +4972,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
4828
4972
|
type: Output
|
|
4829
4973
|
}] } });
|
|
4830
4974
|
|
|
4975
|
+
/** Individual action item within a menu button. */
|
|
4831
4976
|
class GoabMenuAction {
|
|
4832
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4833
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
4977
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabMenuAction, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4978
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.6", type: GoabMenuAction, isStandalone: true, selector: "goab-menu-action", inputs: { text: "text", action: "action", icon: "icon", testId: "testId" }, ngImport: i0, template: `
|
|
4834
4979
|
<goa-menu-action
|
|
4835
4980
|
[attr.text]="text"
|
|
4836
4981
|
[attr.action]="action"
|
|
@@ -4840,7 +4985,7 @@ class GoabMenuAction {
|
|
|
4840
4985
|
</goa-menu-action>
|
|
4841
4986
|
`, isInline: true }); }
|
|
4842
4987
|
}
|
|
4843
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4988
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabMenuAction, decorators: [{
|
|
4844
4989
|
type: Component,
|
|
4845
4990
|
args: [{
|
|
4846
4991
|
standalone: true,
|
|
@@ -4868,13 +5013,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
4868
5013
|
type: Input
|
|
4869
5014
|
}] } });
|
|
4870
5015
|
|
|
5016
|
+
/** Display important page level information or notifications. */
|
|
4871
5017
|
class GoabNotification {
|
|
4872
|
-
constructor(
|
|
4873
|
-
this.cdr =
|
|
5018
|
+
constructor() {
|
|
5019
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
4874
5020
|
this.isReady = false;
|
|
4875
5021
|
this.version = "2";
|
|
5022
|
+
/** Define the context and colour of the notification. @default "information" */
|
|
4876
5023
|
this.type = "information";
|
|
5024
|
+
/** Sets the visual prominence. 'high' for full background, 'low' for medium. @default "high" */
|
|
4877
5025
|
this.emphasis = "high";
|
|
5026
|
+
/** Emits when the notification is dismissed. */
|
|
4878
5027
|
this.onDismiss = new EventEmitter();
|
|
4879
5028
|
}
|
|
4880
5029
|
ngOnInit() {
|
|
@@ -4886,8 +5035,8 @@ class GoabNotification {
|
|
|
4886
5035
|
_onDismiss() {
|
|
4887
5036
|
this.onDismiss.emit();
|
|
4888
5037
|
}
|
|
4889
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4890
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
5038
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabNotification, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5039
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabNotification, isStandalone: true, selector: "goab-notification", inputs: { type: "type", ariaLive: "ariaLive", maxContentWidth: "maxContentWidth", emphasis: "emphasis", compact: ["compact", "compact", booleanAttribute], testId: "testId" }, outputs: { onDismiss: "onDismiss" }, ngImport: i0, template: `
|
|
4891
5040
|
@if (isReady) {
|
|
4892
5041
|
<goa-notification
|
|
4893
5042
|
[attr.version]="version"
|
|
@@ -4904,7 +5053,7 @@ class GoabNotification {
|
|
|
4904
5053
|
}
|
|
4905
5054
|
`, isInline: true }); }
|
|
4906
5055
|
}
|
|
4907
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5056
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabNotification, decorators: [{
|
|
4908
5057
|
type: Component,
|
|
4909
5058
|
args: [{
|
|
4910
5059
|
standalone: true,
|
|
@@ -4927,7 +5076,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
4927
5076
|
`,
|
|
4928
5077
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
4929
5078
|
}]
|
|
4930
|
-
}],
|
|
5079
|
+
}], propDecorators: { type: [{
|
|
4931
5080
|
type: Input
|
|
4932
5081
|
}], ariaLive: [{
|
|
4933
5082
|
type: Input
|
|
@@ -4944,9 +5093,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
4944
5093
|
type: Output
|
|
4945
5094
|
}] } });
|
|
4946
5095
|
|
|
5096
|
+
/** Full-width section with optional background. */
|
|
4947
5097
|
class GoabPageBlock {
|
|
4948
|
-
constructor(
|
|
4949
|
-
this.cdr =
|
|
5098
|
+
constructor() {
|
|
5099
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
4950
5100
|
this.isReady = false;
|
|
4951
5101
|
}
|
|
4952
5102
|
ngOnInit() {
|
|
@@ -4955,8 +5105,8 @@ class GoabPageBlock {
|
|
|
4955
5105
|
this.cdr.detectChanges();
|
|
4956
5106
|
});
|
|
4957
5107
|
}
|
|
4958
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4959
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
5108
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabPageBlock, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5109
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabPageBlock, isStandalone: true, selector: "goab-page-block", inputs: { width: "width", testId: "testId" }, ngImport: i0, template: `
|
|
4960
5110
|
@if (isReady) {
|
|
4961
5111
|
<goa-page-block [attr.width]="width" [attr.testid]="testId">
|
|
4962
5112
|
<ng-content></ng-content>
|
|
@@ -4964,7 +5114,7 @@ class GoabPageBlock {
|
|
|
4964
5114
|
}
|
|
4965
5115
|
`, isInline: true }); }
|
|
4966
5116
|
}
|
|
4967
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5117
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabPageBlock, decorators: [{
|
|
4968
5118
|
type: Component,
|
|
4969
5119
|
args: [{
|
|
4970
5120
|
standalone: true,
|
|
@@ -4978,16 +5128,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
4978
5128
|
`,
|
|
4979
5129
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
4980
5130
|
}]
|
|
4981
|
-
}],
|
|
5131
|
+
}], propDecorators: { width: [{
|
|
4982
5132
|
type: Input
|
|
4983
5133
|
}], testId: [{
|
|
4984
5134
|
type: Input
|
|
4985
5135
|
}] } });
|
|
4986
5136
|
|
|
5137
|
+
/** Container for paginated content views. */
|
|
4987
5138
|
class GoabPages extends GoabBaseComponent {
|
|
4988
|
-
constructor(
|
|
4989
|
-
super();
|
|
4990
|
-
this.cdr =
|
|
5139
|
+
constructor() {
|
|
5140
|
+
super(...arguments);
|
|
5141
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
4991
5142
|
this.isReady = false;
|
|
4992
5143
|
}
|
|
4993
5144
|
ngOnInit() {
|
|
@@ -4996,8 +5147,8 @@ class GoabPages extends GoabBaseComponent {
|
|
|
4996
5147
|
this.cdr.detectChanges();
|
|
4997
5148
|
});
|
|
4998
5149
|
}
|
|
4999
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5000
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
5150
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabPages, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
5151
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabPages, isStandalone: true, selector: "goab-pages", inputs: { current: ["current", "current", numberAttribute] }, usesInheritance: true, ngImport: i0, template: `
|
|
5001
5152
|
@if (isReady) {
|
|
5002
5153
|
<goa-pages
|
|
5003
5154
|
[attr.current]="current"
|
|
@@ -5011,7 +5162,7 @@ class GoabPages extends GoabBaseComponent {
|
|
|
5011
5162
|
}
|
|
5012
5163
|
`, isInline: true }); }
|
|
5013
5164
|
}
|
|
5014
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5165
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabPages, decorators: [{
|
|
5015
5166
|
type: Component,
|
|
5016
5167
|
args: [{
|
|
5017
5168
|
standalone: true,
|
|
@@ -5031,19 +5182,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
5031
5182
|
`,
|
|
5032
5183
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
5033
5184
|
}]
|
|
5034
|
-
}],
|
|
5185
|
+
}], propDecorators: { current: [{
|
|
5035
5186
|
type: Input,
|
|
5036
5187
|
args: [{ transform: numberAttribute }]
|
|
5037
5188
|
}] } });
|
|
5038
5189
|
|
|
5190
|
+
/** Help users navigation between multiple pages or screens as part of a set. */
|
|
5039
5191
|
class GoabPagination extends GoabBaseComponent {
|
|
5040
|
-
constructor(
|
|
5041
|
-
super();
|
|
5042
|
-
this.cdr =
|
|
5192
|
+
constructor() {
|
|
5193
|
+
super(...arguments);
|
|
5194
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
5043
5195
|
this.isReady = false;
|
|
5044
5196
|
this.version = "2";
|
|
5197
|
+
/** Number of data items shown per page. @default 10 */
|
|
5045
5198
|
this.perPageCount = 10;
|
|
5199
|
+
/** Controls which nav controls are visible. @default "all" */
|
|
5046
5200
|
this.variant = "all";
|
|
5201
|
+
/** Emits when the page changes. Emits the new page number as part of the change detail. */
|
|
5047
5202
|
this.onChange = new EventEmitter();
|
|
5048
5203
|
}
|
|
5049
5204
|
ngOnInit() {
|
|
@@ -5056,8 +5211,8 @@ class GoabPagination extends GoabBaseComponent {
|
|
|
5056
5211
|
const detail = e.detail;
|
|
5057
5212
|
this.onChange.emit(detail);
|
|
5058
5213
|
}
|
|
5059
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5060
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
5214
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabPagination, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
5215
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabPagination, isStandalone: true, selector: "goab-pagination", inputs: { itemCount: "itemCount", pageNumber: "pageNumber", perPageCount: "perPageCount", variant: "variant" }, outputs: { onChange: "onChange" }, usesInheritance: true, ngImport: i0, template: `
|
|
5061
5216
|
@if (isReady) {
|
|
5062
5217
|
<goa-pagination
|
|
5063
5218
|
[attr.version]="version"
|
|
@@ -5076,7 +5231,7 @@ class GoabPagination extends GoabBaseComponent {
|
|
|
5076
5231
|
}
|
|
5077
5232
|
`, isInline: true }); }
|
|
5078
5233
|
}
|
|
5079
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5234
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabPagination, decorators: [{
|
|
5080
5235
|
type: Component,
|
|
5081
5236
|
args: [{
|
|
5082
5237
|
standalone: true,
|
|
@@ -5101,7 +5256,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
5101
5256
|
`,
|
|
5102
5257
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
5103
5258
|
}]
|
|
5104
|
-
}],
|
|
5259
|
+
}], propDecorators: { itemCount: [{
|
|
5105
5260
|
type: Input,
|
|
5106
5261
|
args: [{ required: true }]
|
|
5107
5262
|
}], pageNumber: [{
|
|
@@ -5115,12 +5270,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
5115
5270
|
type: Output
|
|
5116
5271
|
}] } });
|
|
5117
5272
|
|
|
5273
|
+
/** A small overlay that opens on demand, used in other components. */
|
|
5118
5274
|
class GoabPopover extends GoabBaseComponent {
|
|
5119
|
-
constructor(
|
|
5120
|
-
super();
|
|
5121
|
-
this.cdr =
|
|
5275
|
+
constructor() {
|
|
5276
|
+
super(...arguments);
|
|
5277
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
5122
5278
|
this.isReady = false;
|
|
5279
|
+
/** Sets the maximum width of the popover container. @default "320px" */
|
|
5123
5280
|
this.maxWidth = "320px";
|
|
5281
|
+
/** Sets if the popover has padding. Use false when content needs to be flush with boundaries. @default true */
|
|
5124
5282
|
this.padded = true;
|
|
5125
5283
|
}
|
|
5126
5284
|
ngOnInit() {
|
|
@@ -5129,8 +5287,8 @@ class GoabPopover extends GoabBaseComponent {
|
|
|
5129
5287
|
this.cdr.detectChanges();
|
|
5130
5288
|
});
|
|
5131
5289
|
}
|
|
5132
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5133
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
5290
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabPopover, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
5291
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabPopover, isStandalone: true, selector: "goab-popover", inputs: { maxWidth: "maxWidth", minWidth: "minWidth", padded: "padded", position: "position", relative: "relative", target: "target" }, usesInheritance: true, ngImport: i0, template: `
|
|
5134
5292
|
@if (isReady) {
|
|
5135
5293
|
<goa-popover
|
|
5136
5294
|
[attr.maxwidth]="maxWidth"
|
|
@@ -5152,7 +5310,7 @@ class GoabPopover extends GoabBaseComponent {
|
|
|
5152
5310
|
}
|
|
5153
5311
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
|
|
5154
5312
|
}
|
|
5155
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5313
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabPopover, decorators: [{
|
|
5156
5314
|
type: Component,
|
|
5157
5315
|
args: [{
|
|
5158
5316
|
standalone: true,
|
|
@@ -5181,7 +5339,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
5181
5339
|
`,
|
|
5182
5340
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
5183
5341
|
}]
|
|
5184
|
-
}],
|
|
5342
|
+
}], propDecorators: { maxWidth: [{
|
|
5185
5343
|
type: Input
|
|
5186
5344
|
}], minWidth: [{
|
|
5187
5345
|
type: Input
|
|
@@ -5196,10 +5354,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
5196
5354
|
args: [{ required: true }]
|
|
5197
5355
|
}] } });
|
|
5198
5356
|
|
|
5357
|
+
/** A panel that pushes the main page content aside on desktop, falling back to an overlay drawer on smaller screens. */
|
|
5199
5358
|
class GoabPushDrawer {
|
|
5200
|
-
constructor(
|
|
5201
|
-
this.cdr =
|
|
5359
|
+
constructor() {
|
|
5360
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
5202
5361
|
this.version = "2";
|
|
5362
|
+
/** Emits when the push drawer closes. */
|
|
5203
5363
|
this.onClose = new EventEmitter();
|
|
5204
5364
|
this.isReady = false;
|
|
5205
5365
|
}
|
|
@@ -5220,8 +5380,8 @@ class GoabPushDrawer {
|
|
|
5220
5380
|
return null;
|
|
5221
5381
|
return this.heading instanceof TemplateRef ? this.heading : null;
|
|
5222
5382
|
}
|
|
5223
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5224
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
5383
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabPushDrawer, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5384
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabPushDrawer, isStandalone: true, selector: "goab-push-drawer", inputs: { open: ["open", "open", booleanAttribute], heading: "heading", width: "width", testId: "testId", actions: "actions" }, outputs: { onClose: "onClose" }, ngImport: i0, template: `@if (isReady) {
|
|
5225
5385
|
<goa-push-drawer
|
|
5226
5386
|
[open]="open"
|
|
5227
5387
|
[attr.heading]="getHeadingAsString()"
|
|
@@ -5242,7 +5402,7 @@ class GoabPushDrawer {
|
|
|
5242
5402
|
</goa-push-drawer>
|
|
5243
5403
|
} `, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
|
|
5244
5404
|
}
|
|
5245
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5405
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabPushDrawer, decorators: [{
|
|
5246
5406
|
type: Component,
|
|
5247
5407
|
args: [{
|
|
5248
5408
|
standalone: true,
|
|
@@ -5270,7 +5430,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
5270
5430
|
} `,
|
|
5271
5431
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
5272
5432
|
}]
|
|
5273
|
-
}],
|
|
5433
|
+
}], propDecorators: { open: [{
|
|
5274
5434
|
type: Input,
|
|
5275
5435
|
args: [{ transform: booleanAttribute }]
|
|
5276
5436
|
}], heading: [{
|
|
@@ -5285,13 +5445,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
5285
5445
|
type: Output
|
|
5286
5446
|
}] } });
|
|
5287
5447
|
|
|
5448
|
+
/** Allow users to select one option from a set. */
|
|
5288
5449
|
class GoabRadioGroup extends GoabControlValueAccessor {
|
|
5289
|
-
constructor(
|
|
5290
|
-
super(
|
|
5291
|
-
this.cdr =
|
|
5450
|
+
constructor() {
|
|
5451
|
+
super(...arguments);
|
|
5452
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
5292
5453
|
this.isReady = false;
|
|
5293
5454
|
this.version = "2";
|
|
5455
|
+
/** Sets the size of all radio items. 'compact' reduces spacing for dense layouts (V2 only). @default "default" */
|
|
5294
5456
|
this.size = "default";
|
|
5457
|
+
/** Emits when the selected radio item changes. Emits the name, value, and event of the selected item. */
|
|
5295
5458
|
this.onChange = new EventEmitter();
|
|
5296
5459
|
}
|
|
5297
5460
|
ngOnInit() {
|
|
@@ -5309,8 +5472,8 @@ class GoabRadioGroup extends GoabControlValueAccessor {
|
|
|
5309
5472
|
this.onChange.emit(detail);
|
|
5310
5473
|
this.fcChange?.(detail.value);
|
|
5311
5474
|
}
|
|
5312
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5313
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
5475
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabRadioGroup, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
5476
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabRadioGroup, isStandalone: true, selector: "goab-radio-group", inputs: { name: "name", orientation: "orientation", ariaLabel: "ariaLabel", size: "size" }, outputs: { onChange: "onChange" }, providers: [
|
|
5314
5477
|
{
|
|
5315
5478
|
provide: NG_VALUE_ACCESSOR,
|
|
5316
5479
|
multi: true,
|
|
@@ -5341,7 +5504,7 @@ class GoabRadioGroup extends GoabControlValueAccessor {
|
|
|
5341
5504
|
}
|
|
5342
5505
|
`, isInline: true }); }
|
|
5343
5506
|
}
|
|
5344
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5507
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabRadioGroup, decorators: [{
|
|
5345
5508
|
type: Component,
|
|
5346
5509
|
args: [{
|
|
5347
5510
|
standalone: true,
|
|
@@ -5379,7 +5542,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
5379
5542
|
},
|
|
5380
5543
|
],
|
|
5381
5544
|
}]
|
|
5382
|
-
}],
|
|
5545
|
+
}], propDecorators: { name: [{
|
|
5383
5546
|
type: Input
|
|
5384
5547
|
}], orientation: [{
|
|
5385
5548
|
type: Input
|
|
@@ -5391,10 +5554,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
5391
5554
|
type: Output
|
|
5392
5555
|
}] } });
|
|
5393
5556
|
|
|
5557
|
+
/** Individual radio option within a group. */
|
|
5394
5558
|
class GoabRadioItem extends GoabBaseComponent {
|
|
5395
|
-
constructor(
|
|
5396
|
-
super();
|
|
5397
|
-
this.cdr =
|
|
5559
|
+
constructor() {
|
|
5560
|
+
super(...arguments);
|
|
5561
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
5398
5562
|
this.isReady = false;
|
|
5399
5563
|
this.version = "2";
|
|
5400
5564
|
}
|
|
@@ -5416,8 +5580,8 @@ class GoabRadioItem extends GoabBaseComponent {
|
|
|
5416
5580
|
return null;
|
|
5417
5581
|
return this.description instanceof TemplateRef ? this.description : null;
|
|
5418
5582
|
}
|
|
5419
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5420
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
5583
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabRadioItem, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
5584
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabRadioItem, isStandalone: true, selector: "goab-radio-item", inputs: { value: "value", label: "label", name: "name", description: "description", reveal: "reveal", ariaLabel: "ariaLabel", revealAriaLabel: "revealAriaLabel", disabled: ["disabled", "disabled", booleanAttribute], checked: ["checked", "checked", booleanAttribute], error: ["error", "error", booleanAttribute], maxWidth: "maxWidth", compact: ["compact", "compact", booleanAttribute] }, usesInheritance: true, ngImport: i0, template: `
|
|
5421
5585
|
@if (isReady) {
|
|
5422
5586
|
<goa-radio-item
|
|
5423
5587
|
[attr.version]="version"
|
|
@@ -5450,7 +5614,7 @@ class GoabRadioItem extends GoabBaseComponent {
|
|
|
5450
5614
|
}
|
|
5451
5615
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
|
|
5452
5616
|
}
|
|
5453
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5617
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabRadioItem, decorators: [{
|
|
5454
5618
|
type: Component,
|
|
5455
5619
|
args: [{
|
|
5456
5620
|
standalone: true,
|
|
@@ -5490,7 +5654,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
5490
5654
|
imports: [NgTemplateOutlet],
|
|
5491
5655
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
5492
5656
|
}]
|
|
5493
|
-
}],
|
|
5657
|
+
}], propDecorators: { value: [{
|
|
5494
5658
|
type: Input
|
|
5495
5659
|
}], label: [{
|
|
5496
5660
|
type: Input
|
|
@@ -5520,9 +5684,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
5520
5684
|
args: [{ transform: booleanAttribute }]
|
|
5521
5685
|
}] } });
|
|
5522
5686
|
|
|
5687
|
+
/** A side navigation that helps the user navigate between pages. */
|
|
5523
5688
|
class GoabSideMenu {
|
|
5524
|
-
constructor(
|
|
5525
|
-
this.cdr =
|
|
5689
|
+
constructor() {
|
|
5690
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
5526
5691
|
this.isReady = false;
|
|
5527
5692
|
this.version = "2";
|
|
5528
5693
|
}
|
|
@@ -5532,8 +5697,8 @@ class GoabSideMenu {
|
|
|
5532
5697
|
this.cdr.detectChanges();
|
|
5533
5698
|
});
|
|
5534
5699
|
}
|
|
5535
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5536
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
5700
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabSideMenu, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5701
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabSideMenu, isStandalone: true, selector: "goab-side-menu", inputs: { testId: "testId" }, ngImport: i0, template: `
|
|
5537
5702
|
@if (isReady) {
|
|
5538
5703
|
<goa-side-menu [attr.version]="version" [attr.testid]="testId">
|
|
5539
5704
|
<ng-content />
|
|
@@ -5541,7 +5706,7 @@ class GoabSideMenu {
|
|
|
5541
5706
|
}
|
|
5542
5707
|
`, isInline: true }); }
|
|
5543
5708
|
}
|
|
5544
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5709
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabSideMenu, decorators: [{
|
|
5545
5710
|
type: Component,
|
|
5546
5711
|
args: [{
|
|
5547
5712
|
standalone: true,
|
|
@@ -5555,14 +5720,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
5555
5720
|
`,
|
|
5556
5721
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
5557
5722
|
}]
|
|
5558
|
-
}],
|
|
5723
|
+
}], propDecorators: { testId: [{
|
|
5559
5724
|
type: Input
|
|
5560
5725
|
}] } });
|
|
5561
5726
|
|
|
5727
|
+
/** Group of related side menu items. */
|
|
5562
5728
|
class GoabSideMenuGroup extends GoabBaseComponent {
|
|
5563
|
-
constructor(
|
|
5564
|
-
super();
|
|
5565
|
-
this.cdr =
|
|
5729
|
+
constructor() {
|
|
5730
|
+
super(...arguments);
|
|
5731
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
5566
5732
|
this.isReady = false;
|
|
5567
5733
|
this.version = "2";
|
|
5568
5734
|
}
|
|
@@ -5572,8 +5738,8 @@ class GoabSideMenuGroup extends GoabBaseComponent {
|
|
|
5572
5738
|
this.cdr.detectChanges();
|
|
5573
5739
|
});
|
|
5574
5740
|
}
|
|
5575
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5576
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
5741
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabSideMenuGroup, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
5742
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabSideMenuGroup, isStandalone: true, selector: "goab-side-menu-group", inputs: { heading: "heading", icon: "icon" }, usesInheritance: true, ngImport: i0, template: `
|
|
5577
5743
|
@if (isReady) {
|
|
5578
5744
|
<goa-side-menu-group
|
|
5579
5745
|
[attr.version]="version"
|
|
@@ -5590,7 +5756,7 @@ class GoabSideMenuGroup extends GoabBaseComponent {
|
|
|
5590
5756
|
}
|
|
5591
5757
|
`, isInline: true }); }
|
|
5592
5758
|
}
|
|
5593
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5759
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabSideMenuGroup, decorators: [{
|
|
5594
5760
|
type: Component,
|
|
5595
5761
|
args: [{
|
|
5596
5762
|
standalone: true,
|
|
@@ -5613,16 +5779,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
5613
5779
|
`,
|
|
5614
5780
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
5615
5781
|
}]
|
|
5616
|
-
}],
|
|
5782
|
+
}], propDecorators: { heading: [{
|
|
5617
5783
|
type: Input,
|
|
5618
5784
|
args: [{ required: true }]
|
|
5619
5785
|
}], icon: [{
|
|
5620
5786
|
type: Input
|
|
5621
5787
|
}] } });
|
|
5622
5788
|
|
|
5789
|
+
/** Section heading in side menu. */
|
|
5623
5790
|
class GoabSideMenuHeading {
|
|
5624
|
-
constructor(
|
|
5625
|
-
this.cdr =
|
|
5791
|
+
constructor() {
|
|
5792
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
5626
5793
|
this.isReady = false;
|
|
5627
5794
|
this.version = "2";
|
|
5628
5795
|
}
|
|
@@ -5632,8 +5799,8 @@ class GoabSideMenuHeading {
|
|
|
5632
5799
|
this.cdr.detectChanges();
|
|
5633
5800
|
});
|
|
5634
5801
|
}
|
|
5635
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5636
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
5802
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabSideMenuHeading, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5803
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabSideMenuHeading, isStandalone: true, selector: "goab-side-menu-heading", inputs: { icon: "icon", testId: "testId", meta: "meta" }, ngImport: i0, template: `
|
|
5637
5804
|
@if (isReady) {
|
|
5638
5805
|
<goa-side-menu-heading
|
|
5639
5806
|
[attr.version]="version"
|
|
@@ -5648,7 +5815,7 @@ class GoabSideMenuHeading {
|
|
|
5648
5815
|
}
|
|
5649
5816
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
|
|
5650
5817
|
}
|
|
5651
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5818
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabSideMenuHeading, decorators: [{
|
|
5652
5819
|
type: Component,
|
|
5653
5820
|
args: [{
|
|
5654
5821
|
standalone: true,
|
|
@@ -5670,7 +5837,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
5670
5837
|
`,
|
|
5671
5838
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
5672
5839
|
}]
|
|
5673
|
-
}],
|
|
5840
|
+
}], propDecorators: { icon: [{
|
|
5674
5841
|
type: Input
|
|
5675
5842
|
}], testId: [{
|
|
5676
5843
|
type: Input
|
|
@@ -5678,11 +5845,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
5678
5845
|
type: Input
|
|
5679
5846
|
}] } });
|
|
5680
5847
|
|
|
5848
|
+
/** Provide visual feedback to users while loading a content heavy page or page element. */
|
|
5681
5849
|
class GoabSkeleton extends GoabBaseComponent {
|
|
5682
|
-
constructor(
|
|
5683
|
-
super();
|
|
5684
|
-
this.cdr =
|
|
5850
|
+
constructor() {
|
|
5851
|
+
super(...arguments);
|
|
5852
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
5685
5853
|
this.isReady = false;
|
|
5854
|
+
/** Sets the maximum width. Currently only used in card skeleton type. @default "300px" */
|
|
5686
5855
|
this.maxWidth = "300px";
|
|
5687
5856
|
}
|
|
5688
5857
|
ngOnInit() {
|
|
@@ -5691,8 +5860,8 @@ class GoabSkeleton extends GoabBaseComponent {
|
|
|
5691
5860
|
this.cdr.detectChanges();
|
|
5692
5861
|
});
|
|
5693
5862
|
}
|
|
5694
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5695
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
5863
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabSkeleton, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
5864
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabSkeleton, isStandalone: true, selector: "goab-skeleton", inputs: { type: "type", maxWidth: "maxWidth", size: "size", lineCount: ["lineCount", "lineCount", numberAttribute] }, usesInheritance: true, ngImport: i0, template: `
|
|
5696
5865
|
@if (isReady) {
|
|
5697
5866
|
<goa-skeleton
|
|
5698
5867
|
[attr.maxwidth]="maxWidth"
|
|
@@ -5709,7 +5878,7 @@ class GoabSkeleton extends GoabBaseComponent {
|
|
|
5709
5878
|
}
|
|
5710
5879
|
`, isInline: true }); }
|
|
5711
5880
|
}
|
|
5712
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5881
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabSkeleton, decorators: [{
|
|
5713
5882
|
type: Component,
|
|
5714
5883
|
args: [{
|
|
5715
5884
|
standalone: true,
|
|
@@ -5732,7 +5901,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
5732
5901
|
`,
|
|
5733
5902
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
5734
5903
|
}]
|
|
5735
|
-
}],
|
|
5904
|
+
}], propDecorators: { type: [{
|
|
5736
5905
|
type: Input,
|
|
5737
5906
|
args: [{ required: true }]
|
|
5738
5907
|
}], maxWidth: [{
|
|
@@ -5744,9 +5913,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
5744
5913
|
args: [{ transform: numberAttribute }]
|
|
5745
5914
|
}] } });
|
|
5746
5915
|
|
|
5916
|
+
/** Negative area between the components and the interface. */
|
|
5747
5917
|
class GoabSpacer {
|
|
5748
|
-
constructor(
|
|
5749
|
-
this.cdr =
|
|
5918
|
+
constructor() {
|
|
5919
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
5750
5920
|
this.isReady = false;
|
|
5751
5921
|
}
|
|
5752
5922
|
ngOnInit() {
|
|
@@ -5755,8 +5925,8 @@ class GoabSpacer {
|
|
|
5755
5925
|
this.cdr.detectChanges();
|
|
5756
5926
|
});
|
|
5757
5927
|
}
|
|
5758
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5759
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
5928
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabSpacer, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5929
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabSpacer, isStandalone: true, selector: "goab-spacer", inputs: { hSpacing: "hSpacing", vSpacing: "vSpacing", testId: "testId" }, ngImport: i0, template: `
|
|
5760
5930
|
@if (isReady) {
|
|
5761
5931
|
<goa-spacer
|
|
5762
5932
|
[attr.hspacing]="hSpacing"
|
|
@@ -5767,7 +5937,7 @@ class GoabSpacer {
|
|
|
5767
5937
|
}
|
|
5768
5938
|
`, isInline: true }); }
|
|
5769
5939
|
}
|
|
5770
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5940
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabSpacer, decorators: [{
|
|
5771
5941
|
type: Component,
|
|
5772
5942
|
args: [{
|
|
5773
5943
|
standalone: true,
|
|
@@ -5784,7 +5954,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
5784
5954
|
`,
|
|
5785
5955
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
5786
5956
|
}]
|
|
5787
|
-
}],
|
|
5957
|
+
}], propDecorators: { hSpacing: [{
|
|
5788
5958
|
type: Input
|
|
5789
5959
|
}], vSpacing: [{
|
|
5790
5960
|
type: Input
|
|
@@ -5792,9 +5962,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
5792
5962
|
type: Input
|
|
5793
5963
|
}] } });
|
|
5794
5964
|
|
|
5965
|
+
/** Individual tab within a tabs component. */
|
|
5795
5966
|
class GoabTab {
|
|
5796
|
-
constructor(
|
|
5797
|
-
this.cdr =
|
|
5967
|
+
constructor() {
|
|
5968
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
5798
5969
|
this.isReady = false;
|
|
5799
5970
|
}
|
|
5800
5971
|
ngOnInit() {
|
|
@@ -5811,8 +5982,8 @@ class GoabTab {
|
|
|
5811
5982
|
return null;
|
|
5812
5983
|
return this.heading instanceof TemplateRef ? this.heading : null;
|
|
5813
5984
|
}
|
|
5814
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5815
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
5985
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabTab, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5986
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabTab, isStandalone: true, selector: "goab-tab", inputs: { heading: "heading", disabled: ["disabled", "disabled", booleanAttribute], slug: "slug" }, ngImport: i0, template: `
|
|
5816
5987
|
@if (isReady) {
|
|
5817
5988
|
<goa-tab
|
|
5818
5989
|
[attr.slug]="slug"
|
|
@@ -5829,7 +6000,7 @@ class GoabTab {
|
|
|
5829
6000
|
}
|
|
5830
6001
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
|
|
5831
6002
|
}
|
|
5832
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6003
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabTab, decorators: [{
|
|
5833
6004
|
type: Component,
|
|
5834
6005
|
args: [{
|
|
5835
6006
|
standalone: true,
|
|
@@ -5853,7 +6024,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
5853
6024
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
5854
6025
|
imports: [NgTemplateOutlet],
|
|
5855
6026
|
}]
|
|
5856
|
-
}],
|
|
6027
|
+
}], propDecorators: { heading: [{
|
|
5857
6028
|
type: Input
|
|
5858
6029
|
}], disabled: [{
|
|
5859
6030
|
type: Input,
|
|
@@ -5862,13 +6033,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
5862
6033
|
type: Input
|
|
5863
6034
|
}] } });
|
|
5864
6035
|
|
|
6036
|
+
/** A set of structured data that is easy for a user to scan, examine, and compare. */
|
|
5865
6037
|
class GoabTable extends GoabBaseComponent {
|
|
5866
|
-
constructor(
|
|
5867
|
-
super();
|
|
5868
|
-
this.cdr =
|
|
6038
|
+
constructor() {
|
|
6039
|
+
super(...arguments);
|
|
6040
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
5869
6041
|
this.isReady = false;
|
|
5870
6042
|
this.version = "2";
|
|
6043
|
+
/** Emits when a table column is sorted. Emits the sort column and direction as GoabTableOnSortDetail. */
|
|
5871
6044
|
this.onSort = new EventEmitter();
|
|
6045
|
+
/** Emits when multi-column sorting changes. Emits an array of sort entries as GoabTableOnMultiSortDetail. */
|
|
5872
6046
|
this.onMultiSort = new EventEmitter();
|
|
5873
6047
|
}
|
|
5874
6048
|
ngOnInit() {
|
|
@@ -5885,8 +6059,8 @@ class GoabTable extends GoabBaseComponent {
|
|
|
5885
6059
|
const detail = e.detail;
|
|
5886
6060
|
this.onMultiSort.emit(detail);
|
|
5887
6061
|
}
|
|
5888
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5889
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
6062
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabTable, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
6063
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabTable, isStandalone: true, selector: "goab-table", inputs: { width: "width", variant: "variant", sortMode: "sortMode", striped: ["striped", "striped", booleanAttribute] }, outputs: { onSort: "onSort", onMultiSort: "onMultiSort" }, usesInheritance: true, ngImport: i0, template: `
|
|
5890
6064
|
@if (isReady) {
|
|
5891
6065
|
<goa-table
|
|
5892
6066
|
[attr.version]="version"
|
|
@@ -5909,7 +6083,7 @@ class GoabTable extends GoabBaseComponent {
|
|
|
5909
6083
|
}
|
|
5910
6084
|
`, isInline: true }); }
|
|
5911
6085
|
}
|
|
5912
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6086
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabTable, decorators: [{
|
|
5913
6087
|
type: Component,
|
|
5914
6088
|
args: [{
|
|
5915
6089
|
standalone: true,
|
|
@@ -5938,7 +6112,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
5938
6112
|
`,
|
|
5939
6113
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
5940
6114
|
}]
|
|
5941
|
-
}],
|
|
6115
|
+
}], propDecorators: { width: [{
|
|
5942
6116
|
type: Input
|
|
5943
6117
|
}], variant: [{
|
|
5944
6118
|
type: Input
|
|
@@ -5953,10 +6127,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
5953
6127
|
type: Output
|
|
5954
6128
|
}] } });
|
|
5955
6129
|
|
|
6130
|
+
/** A set of structured data that is easy for a user to scan, examine, and compare. */
|
|
5956
6131
|
class GoabTableSortHeader {
|
|
5957
|
-
constructor(
|
|
5958
|
-
this.cdr =
|
|
6132
|
+
constructor() {
|
|
6133
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
5959
6134
|
this.isReady = false;
|
|
6135
|
+
/** Sets the sort direction indicator. @default "none" */
|
|
5960
6136
|
this.direction = "none";
|
|
5961
6137
|
}
|
|
5962
6138
|
ngOnInit() {
|
|
@@ -5965,8 +6141,8 @@ class GoabTableSortHeader {
|
|
|
5965
6141
|
this.cdr.detectChanges();
|
|
5966
6142
|
});
|
|
5967
6143
|
}
|
|
5968
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5969
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
6144
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabTableSortHeader, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6145
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabTableSortHeader, isStandalone: true, selector: "goab-table-sort-header", inputs: { name: "name", direction: "direction", sortOrder: "sortOrder" }, ngImport: i0, template: `
|
|
5970
6146
|
@if (isReady) {
|
|
5971
6147
|
<goa-table-sort-header
|
|
5972
6148
|
[attr.name]="name"
|
|
@@ -5978,7 +6154,7 @@ class GoabTableSortHeader {
|
|
|
5978
6154
|
}
|
|
5979
6155
|
`, isInline: true }); }
|
|
5980
6156
|
}
|
|
5981
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6157
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabTableSortHeader, decorators: [{
|
|
5982
6158
|
type: Component,
|
|
5983
6159
|
args: [{
|
|
5984
6160
|
standalone: true,
|
|
@@ -5996,7 +6172,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
5996
6172
|
`,
|
|
5997
6173
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
5998
6174
|
}]
|
|
5999
|
-
}],
|
|
6175
|
+
}], propDecorators: { name: [{
|
|
6000
6176
|
type: Input
|
|
6001
6177
|
}], direction: [{
|
|
6002
6178
|
type: Input
|
|
@@ -6004,11 +6180,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6004
6180
|
type: Input
|
|
6005
6181
|
}] } });
|
|
6006
6182
|
|
|
6183
|
+
/** Let users navigate between related sections of content, displaying one section at a time. */
|
|
6007
6184
|
class GoabTabs {
|
|
6008
|
-
constructor(
|
|
6009
|
-
this.cdr =
|
|
6185
|
+
constructor() {
|
|
6186
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
6010
6187
|
this.isReady = false;
|
|
6011
6188
|
this.version = "2";
|
|
6189
|
+
/** Emits when the active tab changes. Emits the new tab index as GoabTabsOnChangeDetail. */
|
|
6012
6190
|
this.onChange = new EventEmitter();
|
|
6013
6191
|
}
|
|
6014
6192
|
ngOnInit() {
|
|
@@ -6021,8 +6199,8 @@ class GoabTabs {
|
|
|
6021
6199
|
const detail = e.detail;
|
|
6022
6200
|
this.onChange.emit(detail);
|
|
6023
6201
|
}
|
|
6024
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6025
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
6202
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabTabs, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6203
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabTabs, isStandalone: true, selector: "goab-tabs", inputs: { initialTab: ["initialTab", "initialTab", numberAttribute], testId: "testId", variant: "variant", orientation: "orientation", navigation: "navigation" }, outputs: { onChange: "onChange" }, ngImport: i0, template: `
|
|
6026
6204
|
@if (isReady) {
|
|
6027
6205
|
<goa-tabs
|
|
6028
6206
|
[attr.version]="version"
|
|
@@ -6038,7 +6216,7 @@ class GoabTabs {
|
|
|
6038
6216
|
}
|
|
6039
6217
|
`, isInline: true }); }
|
|
6040
6218
|
}
|
|
6041
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6219
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabTabs, decorators: [{
|
|
6042
6220
|
type: Component,
|
|
6043
6221
|
args: [{
|
|
6044
6222
|
standalone: true,
|
|
@@ -6060,7 +6238,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6060
6238
|
`,
|
|
6061
6239
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
6062
6240
|
}]
|
|
6063
|
-
}],
|
|
6241
|
+
}], propDecorators: { initialTab: [{
|
|
6064
6242
|
type: Input,
|
|
6065
6243
|
args: [{ transform: numberAttribute }]
|
|
6066
6244
|
}], testId: [{
|
|
@@ -6075,11 +6253,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6075
6253
|
type: Output
|
|
6076
6254
|
}] } });
|
|
6077
6255
|
|
|
6256
|
+
/** A notification that appears at the bottom of the screen. */
|
|
6078
6257
|
class GoabTemporaryNotificationCtrl {
|
|
6079
|
-
constructor(
|
|
6080
|
-
this.cdr =
|
|
6258
|
+
constructor() {
|
|
6259
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
6081
6260
|
this.isReady = false;
|
|
6261
|
+
/** Vertical position of the notification container. @default "bottom" */
|
|
6082
6262
|
this.verticalPosition = "bottom";
|
|
6263
|
+
/** Horizontal position of the notification container. @default "center" */
|
|
6083
6264
|
this.horizontalPosition = "center";
|
|
6084
6265
|
}
|
|
6085
6266
|
ngOnInit() {
|
|
@@ -6088,8 +6269,8 @@ class GoabTemporaryNotificationCtrl {
|
|
|
6088
6269
|
this.cdr.detectChanges();
|
|
6089
6270
|
});
|
|
6090
6271
|
}
|
|
6091
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6092
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
6272
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabTemporaryNotificationCtrl, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6273
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabTemporaryNotificationCtrl, isStandalone: true, selector: "goab-temporary-notification-ctrl", inputs: { verticalPosition: "verticalPosition", horizontalPosition: "horizontalPosition", testId: "testId" }, ngImport: i0, template: `
|
|
6093
6274
|
@if (isReady) {
|
|
6094
6275
|
<goa-temp-notification-ctrl
|
|
6095
6276
|
[attr.vertical-position]="verticalPosition"
|
|
@@ -6100,7 +6281,7 @@ class GoabTemporaryNotificationCtrl {
|
|
|
6100
6281
|
}
|
|
6101
6282
|
`, isInline: true }); }
|
|
6102
6283
|
}
|
|
6103
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6284
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabTemporaryNotificationCtrl, decorators: [{
|
|
6104
6285
|
type: Component,
|
|
6105
6286
|
args: [{
|
|
6106
6287
|
standalone: true,
|
|
@@ -6117,7 +6298,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6117
6298
|
`,
|
|
6118
6299
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
6119
6300
|
}]
|
|
6120
|
-
}],
|
|
6301
|
+
}], propDecorators: { verticalPosition: [{
|
|
6121
6302
|
type: Input
|
|
6122
6303
|
}], horizontalPosition: [{
|
|
6123
6304
|
type: Input
|
|
@@ -6125,7 +6306,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6125
6306
|
type: Input
|
|
6126
6307
|
}] } });
|
|
6127
6308
|
|
|
6309
|
+
/** Provides consistent sizing, spacing, and colour to written content. */
|
|
6128
6310
|
class GoabText {
|
|
6311
|
+
constructor() {
|
|
6312
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
6313
|
+
this.isReady = false;
|
|
6314
|
+
}
|
|
6129
6315
|
/*
|
|
6130
6316
|
This is necessary because angular outputs two elements, <goab-text> and <goa-text>
|
|
6131
6317
|
This removes the id from <goa-text> and only outputs it to <goab-text>
|
|
@@ -6133,10 +6319,6 @@ class GoabText {
|
|
|
6133
6319
|
get hostId() {
|
|
6134
6320
|
return this.id;
|
|
6135
6321
|
}
|
|
6136
|
-
constructor(cdr) {
|
|
6137
|
-
this.cdr = cdr;
|
|
6138
|
-
this.isReady = false;
|
|
6139
|
-
}
|
|
6140
6322
|
ngOnInit() {
|
|
6141
6323
|
// For Angular 20, we need to delay rendering the web component
|
|
6142
6324
|
// to ensure all attributes are properly bound before the component initializes
|
|
@@ -6145,8 +6327,8 @@ class GoabText {
|
|
|
6145
6327
|
this.cdr.detectChanges();
|
|
6146
6328
|
}, 0);
|
|
6147
6329
|
}
|
|
6148
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6149
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
6330
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabText, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6331
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabText, isStandalone: true, selector: "goab-text", inputs: { tag: "tag", size: "size", maxWidth: "maxWidth", color: "color", id: "id", mt: "mt", mb: "mb", ml: "ml", mr: "mr" }, host: { properties: { "attr.id": "this.hostId" } }, ngImport: i0, template: `
|
|
6150
6332
|
@if (isReady) {
|
|
6151
6333
|
<goa-text
|
|
6152
6334
|
[attr.as]="tag"
|
|
@@ -6163,7 +6345,7 @@ class GoabText {
|
|
|
6163
6345
|
}
|
|
6164
6346
|
`, isInline: true }); }
|
|
6165
6347
|
}
|
|
6166
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6348
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabText, decorators: [{
|
|
6167
6349
|
type: Component,
|
|
6168
6350
|
args: [{
|
|
6169
6351
|
standalone: true,
|
|
@@ -6186,7 +6368,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6186
6368
|
`,
|
|
6187
6369
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
6188
6370
|
}]
|
|
6189
|
-
}],
|
|
6371
|
+
}], propDecorators: { tag: [{
|
|
6190
6372
|
type: Input
|
|
6191
6373
|
}], size: [{
|
|
6192
6374
|
type: Input
|
|
@@ -6209,16 +6391,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6209
6391
|
type: Input
|
|
6210
6392
|
}] } });
|
|
6211
6393
|
|
|
6394
|
+
/** A multi-line field where users can input and edit text. */
|
|
6212
6395
|
class GoabTextArea extends GoabControlValueAccessor {
|
|
6213
|
-
constructor(
|
|
6214
|
-
super(
|
|
6215
|
-
this.cdr =
|
|
6396
|
+
constructor() {
|
|
6397
|
+
super(...arguments);
|
|
6398
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
6399
|
+
/** Counting interval for characters or words, specifying whether to count every character or word. @default "" */
|
|
6216
6400
|
this.countBy = "";
|
|
6401
|
+
/** Maximum number of characters or words allowed. @default -1 */
|
|
6217
6402
|
this.maxCount = -1;
|
|
6403
|
+
/** Specifies the autocomplete attribute for the textarea input. @default "on" */
|
|
6218
6404
|
this.autoComplete = "on";
|
|
6405
|
+
/** Sets the size variant of the textarea. @default "default" */
|
|
6219
6406
|
this.size = "default";
|
|
6407
|
+
/** Emits when the textarea value changes. Emits the name and new value. */
|
|
6220
6408
|
this.onChange = new EventEmitter();
|
|
6409
|
+
/** Emits when a key is pressed in the textarea. Emits the name, value, and key. */
|
|
6221
6410
|
this.onKeyPress = new EventEmitter();
|
|
6411
|
+
/** Emits when the textarea loses focus. Emits the name and current value. */
|
|
6222
6412
|
this.onBlur = new EventEmitter();
|
|
6223
6413
|
this.isReady = false;
|
|
6224
6414
|
this.version = "2";
|
|
@@ -6250,8 +6440,8 @@ class GoabTextArea extends GoabControlValueAccessor {
|
|
|
6250
6440
|
this.markAsTouched();
|
|
6251
6441
|
this.onBlur.emit(detail);
|
|
6252
6442
|
}
|
|
6253
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6254
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
6443
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabTextArea, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
6444
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabTextArea, isStandalone: true, selector: "goab-textarea", inputs: { name: "name", placeholder: "placeholder", rows: ["rows", "rows", numberAttribute], readOnly: ["readOnly", "readOnly", booleanAttribute], width: "width", ariaLabel: "ariaLabel", countBy: "countBy", maxCount: "maxCount", maxWidth: "maxWidth", autoComplete: "autoComplete", size: "size" }, outputs: { onChange: "onChange", onKeyPress: "onKeyPress", onBlur: "onBlur" }, providers: [
|
|
6255
6445
|
{
|
|
6256
6446
|
provide: NG_VALUE_ACCESSOR,
|
|
6257
6447
|
multi: true,
|
|
@@ -6289,7 +6479,7 @@ class GoabTextArea extends GoabControlValueAccessor {
|
|
|
6289
6479
|
}
|
|
6290
6480
|
`, isInline: true }); }
|
|
6291
6481
|
}
|
|
6292
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6482
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabTextArea, decorators: [{
|
|
6293
6483
|
type: Component,
|
|
6294
6484
|
args: [{
|
|
6295
6485
|
standalone: true,
|
|
@@ -6334,7 +6524,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6334
6524
|
},
|
|
6335
6525
|
],
|
|
6336
6526
|
}]
|
|
6337
|
-
}],
|
|
6527
|
+
}], propDecorators: { name: [{
|
|
6338
6528
|
type: Input
|
|
6339
6529
|
}], placeholder: [{
|
|
6340
6530
|
type: Input
|
|
@@ -6366,10 +6556,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6366
6556
|
type: Output
|
|
6367
6557
|
}] } });
|
|
6368
6558
|
|
|
6559
|
+
/** A small popover that displays more information about an item. */
|
|
6369
6560
|
class GoabTooltip extends GoabBaseComponent {
|
|
6370
|
-
constructor(
|
|
6371
|
-
super();
|
|
6372
|
-
this.cdr =
|
|
6561
|
+
constructor() {
|
|
6562
|
+
super(...arguments);
|
|
6563
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
6373
6564
|
this.isReady = false;
|
|
6374
6565
|
}
|
|
6375
6566
|
ngOnInit() {
|
|
@@ -6386,8 +6577,8 @@ class GoabTooltip extends GoabBaseComponent {
|
|
|
6386
6577
|
return null;
|
|
6387
6578
|
return this.content instanceof TemplateRef ? this.content : null;
|
|
6388
6579
|
}
|
|
6389
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6390
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
6580
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabTooltip, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
6581
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabTooltip, isStandalone: true, selector: "goab-tooltip", inputs: { position: "position", content: "content", hAlign: "hAlign", maxWidth: "maxWidth" }, usesInheritance: true, ngImport: i0, template: `
|
|
6391
6582
|
@if (isReady) {
|
|
6392
6583
|
<goa-tooltip
|
|
6393
6584
|
[attr.position]="position"
|
|
@@ -6411,7 +6602,7 @@ class GoabTooltip extends GoabBaseComponent {
|
|
|
6411
6602
|
}
|
|
6412
6603
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
|
|
6413
6604
|
}
|
|
6414
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6605
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabTooltip, decorators: [{
|
|
6415
6606
|
type: Component,
|
|
6416
6607
|
args: [{
|
|
6417
6608
|
standalone: true,
|
|
@@ -6442,7 +6633,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6442
6633
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
6443
6634
|
imports: [NgTemplateOutlet],
|
|
6444
6635
|
}]
|
|
6445
|
-
}],
|
|
6636
|
+
}], propDecorators: { position: [{
|
|
6446
6637
|
type: Input
|
|
6447
6638
|
}], content: [{
|
|
6448
6639
|
type: Input
|
|
@@ -6452,10 +6643,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6452
6643
|
type: Input
|
|
6453
6644
|
}] } });
|
|
6454
6645
|
|
|
6646
|
+
/** Side menu variant for worker applications. */
|
|
6455
6647
|
class GoabWorkSideMenu {
|
|
6456
|
-
constructor(
|
|
6457
|
-
this.cdr =
|
|
6648
|
+
constructor() {
|
|
6649
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
6650
|
+
/** Emits when the side menu is toggled open or closed. */
|
|
6458
6651
|
this.onToggle = new EventEmitter();
|
|
6652
|
+
/** Emits when a navigation link is clicked. Emits the URL as a string. */
|
|
6459
6653
|
this.onNavigate = new EventEmitter();
|
|
6460
6654
|
this.isReady = false;
|
|
6461
6655
|
}
|
|
@@ -6473,8 +6667,8 @@ class GoabWorkSideMenu {
|
|
|
6473
6667
|
_onNavigate(e) {
|
|
6474
6668
|
this.onNavigate.emit(e.detail.url);
|
|
6475
6669
|
}
|
|
6476
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6477
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
6670
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabWorkSideMenu, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6671
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabWorkSideMenu, isStandalone: true, selector: "goab-work-side-menu", inputs: { heading: "heading", url: "url", userName: "userName", userSecondaryText: "userSecondaryText", open: ["open", "open", booleanAttribute], testId: "testId", primaryContent: "primaryContent", secondaryContent: "secondaryContent", accountContent: "accountContent" }, outputs: { onToggle: "onToggle", onNavigate: "onNavigate" }, ngImport: i0, template: `
|
|
6478
6672
|
@if (isReady) {
|
|
6479
6673
|
<goa-work-side-menu
|
|
6480
6674
|
[open]="open ?? false"
|
|
@@ -6499,7 +6693,7 @@ class GoabWorkSideMenu {
|
|
|
6499
6693
|
}
|
|
6500
6694
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
|
|
6501
6695
|
}
|
|
6502
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6696
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabWorkSideMenu, decorators: [{
|
|
6503
6697
|
type: Component,
|
|
6504
6698
|
args: [{
|
|
6505
6699
|
standalone: true,
|
|
@@ -6531,7 +6725,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6531
6725
|
`,
|
|
6532
6726
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
6533
6727
|
}]
|
|
6534
|
-
}],
|
|
6728
|
+
}], propDecorators: { heading: [{
|
|
6535
6729
|
type: Input,
|
|
6536
6730
|
args: [{ required: true }]
|
|
6537
6731
|
}], url: [{
|
|
@@ -6558,9 +6752,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6558
6752
|
type: Output
|
|
6559
6753
|
}] } });
|
|
6560
6754
|
|
|
6755
|
+
/** Collapsible group of items within the work side menu. */
|
|
6561
6756
|
class GoabWorkSideMenuGroup {
|
|
6562
|
-
constructor(
|
|
6563
|
-
this.cdr =
|
|
6757
|
+
constructor() {
|
|
6758
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
6564
6759
|
this.isReady = false;
|
|
6565
6760
|
}
|
|
6566
6761
|
ngOnInit() {
|
|
@@ -6571,8 +6766,8 @@ class GoabWorkSideMenuGroup {
|
|
|
6571
6766
|
this.cdr.detectChanges();
|
|
6572
6767
|
}, 0);
|
|
6573
6768
|
}
|
|
6574
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6575
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
6769
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabWorkSideMenuGroup, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6770
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabWorkSideMenuGroup, isStandalone: true, selector: "goab-work-side-menu-group", inputs: { heading: "heading", icon: "icon", open: ["open", "open", booleanAttribute], testId: "testId" }, ngImport: i0, template: `
|
|
6576
6771
|
@if (isReady) {
|
|
6577
6772
|
<goa-work-side-menu-group
|
|
6578
6773
|
[attr.heading]="heading"
|
|
@@ -6585,7 +6780,7 @@ class GoabWorkSideMenuGroup {
|
|
|
6585
6780
|
}
|
|
6586
6781
|
`, isInline: true }); }
|
|
6587
6782
|
}
|
|
6588
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6783
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabWorkSideMenuGroup, decorators: [{
|
|
6589
6784
|
type: Component,
|
|
6590
6785
|
args: [{
|
|
6591
6786
|
standalone: true,
|
|
@@ -6604,7 +6799,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6604
6799
|
`,
|
|
6605
6800
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
6606
6801
|
}]
|
|
6607
|
-
}],
|
|
6802
|
+
}], propDecorators: { heading: [{
|
|
6608
6803
|
type: Input,
|
|
6609
6804
|
args: [{ required: true }]
|
|
6610
6805
|
}], icon: [{
|
|
@@ -6616,9 +6811,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6616
6811
|
type: Input
|
|
6617
6812
|
}] } });
|
|
6618
6813
|
|
|
6814
|
+
/** Individual menu item within the work side menu. */
|
|
6619
6815
|
class GoabWorkSideMenuItem {
|
|
6620
|
-
constructor(
|
|
6621
|
-
this.cdr =
|
|
6816
|
+
constructor() {
|
|
6817
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
6818
|
+
/** Sets the visual style of the badge. Use "emergency" for urgent items, "success" for positive status. @default "normal" */
|
|
6622
6819
|
this.type = "normal";
|
|
6623
6820
|
this.isReady = false;
|
|
6624
6821
|
}
|
|
@@ -6630,8 +6827,8 @@ class GoabWorkSideMenuItem {
|
|
|
6630
6827
|
this.cdr.detectChanges();
|
|
6631
6828
|
}, 0);
|
|
6632
6829
|
}
|
|
6633
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6634
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
6830
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabWorkSideMenuItem, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6831
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabWorkSideMenuItem, isStandalone: true, selector: "goab-work-side-menu-item", inputs: { label: "label", url: "url", badge: "badge", current: "current", divider: "divider", icon: "icon", testId: "testId", type: "type", popoverContent: "popoverContent" }, ngImport: i0, template: `
|
|
6635
6832
|
@if (isReady) {
|
|
6636
6833
|
<goa-work-side-menu-item
|
|
6637
6834
|
[attr.label]="label"
|
|
@@ -6653,7 +6850,7 @@ class GoabWorkSideMenuItem {
|
|
|
6653
6850
|
}
|
|
6654
6851
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
|
|
6655
6852
|
}
|
|
6656
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6853
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabWorkSideMenuItem, decorators: [{
|
|
6657
6854
|
type: Component,
|
|
6658
6855
|
args: [{
|
|
6659
6856
|
standalone: true,
|
|
@@ -6682,7 +6879,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6682
6879
|
`,
|
|
6683
6880
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
6684
6881
|
}]
|
|
6685
|
-
}],
|
|
6882
|
+
}], propDecorators: { label: [{
|
|
6686
6883
|
type: Input,
|
|
6687
6884
|
args: [{ required: true }]
|
|
6688
6885
|
}], url: [{
|
|
@@ -6703,9 +6900,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6703
6900
|
type: Input
|
|
6704
6901
|
}] } });
|
|
6705
6902
|
|
|
6903
|
+
/** Displays an individual notification item in the work-side notification panel. */
|
|
6706
6904
|
class GoabWorkSideNotificationItem {
|
|
6707
|
-
constructor(
|
|
6708
|
-
this.cdr =
|
|
6905
|
+
constructor() {
|
|
6906
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
6907
|
+
/** Emits when the notification item is clicked. */
|
|
6709
6908
|
this.onClick = new EventEmitter();
|
|
6710
6909
|
this.isReady = false;
|
|
6711
6910
|
}
|
|
@@ -6718,44 +6917,44 @@ class GoabWorkSideNotificationItem {
|
|
|
6718
6917
|
_onClick() {
|
|
6719
6918
|
this.onClick.emit();
|
|
6720
6919
|
}
|
|
6721
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6722
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
6920
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabWorkSideNotificationItem, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6921
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabWorkSideNotificationItem, isStandalone: true, selector: "goab-work-side-notification-item", inputs: { type: "type", timestamp: "timestamp", title: "title", description: "description", readStatus: "readStatus", priority: "priority", testId: "testId" }, outputs: { onClick: "onClick" }, ngImport: i0, template: `
|
|
6723
6922
|
@if (isReady) {
|
|
6724
|
-
|
|
6725
|
-
|
|
6726
|
-
|
|
6727
|
-
|
|
6728
|
-
|
|
6729
|
-
|
|
6730
|
-
|
|
6731
|
-
|
|
6732
|
-
|
|
6733
|
-
|
|
6923
|
+
<goa-work-side-notification-item
|
|
6924
|
+
[attr.type]="type"
|
|
6925
|
+
[attr.timestamp]="timestamp"
|
|
6926
|
+
[attr.title]="title"
|
|
6927
|
+
[attr.description]="description"
|
|
6928
|
+
[attr.read-status]="readStatus"
|
|
6929
|
+
[attr.priority]="priority"
|
|
6930
|
+
[attr.testid]="testId"
|
|
6931
|
+
(_click)="_onClick()"
|
|
6932
|
+
/>
|
|
6734
6933
|
}
|
|
6735
6934
|
`, isInline: true }); }
|
|
6736
6935
|
}
|
|
6737
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6936
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabWorkSideNotificationItem, decorators: [{
|
|
6738
6937
|
type: Component,
|
|
6739
6938
|
args: [{
|
|
6740
6939
|
standalone: true,
|
|
6741
6940
|
selector: "goab-work-side-notification-item", // eslint-disable-line
|
|
6742
6941
|
template: `
|
|
6743
6942
|
@if (isReady) {
|
|
6744
|
-
|
|
6745
|
-
|
|
6746
|
-
|
|
6747
|
-
|
|
6748
|
-
|
|
6749
|
-
|
|
6750
|
-
|
|
6751
|
-
|
|
6752
|
-
|
|
6753
|
-
|
|
6943
|
+
<goa-work-side-notification-item
|
|
6944
|
+
[attr.type]="type"
|
|
6945
|
+
[attr.timestamp]="timestamp"
|
|
6946
|
+
[attr.title]="title"
|
|
6947
|
+
[attr.description]="description"
|
|
6948
|
+
[attr.read-status]="readStatus"
|
|
6949
|
+
[attr.priority]="priority"
|
|
6950
|
+
[attr.testid]="testId"
|
|
6951
|
+
(_click)="_onClick()"
|
|
6952
|
+
/>
|
|
6754
6953
|
}
|
|
6755
6954
|
`,
|
|
6756
6955
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
6757
6956
|
}]
|
|
6758
|
-
}],
|
|
6957
|
+
}], propDecorators: { type: [{
|
|
6759
6958
|
type: Input
|
|
6760
6959
|
}], timestamp: [{
|
|
6761
6960
|
type: Input
|
|
@@ -6774,10 +6973,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6774
6973
|
type: Output
|
|
6775
6974
|
}] } });
|
|
6776
6975
|
|
|
6976
|
+
/** Displays a panel of work-side notifications. */
|
|
6777
6977
|
class GoabWorkSideNotificationPanel {
|
|
6778
|
-
constructor(
|
|
6779
|
-
this.cdr =
|
|
6978
|
+
constructor() {
|
|
6979
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
6980
|
+
/** Emits when the user clicks "Mark all as read". */
|
|
6780
6981
|
this.onMarkAllRead = new EventEmitter();
|
|
6982
|
+
/** Emits when the user clicks "View all". */
|
|
6781
6983
|
this.onViewAll = new EventEmitter();
|
|
6782
6984
|
this.isReady = false;
|
|
6783
6985
|
}
|
|
@@ -6793,42 +6995,42 @@ class GoabWorkSideNotificationPanel {
|
|
|
6793
6995
|
_onViewAll() {
|
|
6794
6996
|
this.onViewAll.emit();
|
|
6795
6997
|
}
|
|
6796
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6797
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
6998
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabWorkSideNotificationPanel, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6999
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabWorkSideNotificationPanel, isStandalone: true, selector: "goab-work-side-notification-panel", inputs: { heading: "heading", activeTab: "activeTab", testId: "testId" }, outputs: { onMarkAllRead: "onMarkAllRead", onViewAll: "onViewAll" }, ngImport: i0, template: `
|
|
6798
7000
|
@if (isReady) {
|
|
6799
|
-
|
|
6800
|
-
|
|
6801
|
-
|
|
6802
|
-
|
|
6803
|
-
|
|
6804
|
-
|
|
6805
|
-
|
|
6806
|
-
|
|
6807
|
-
|
|
7001
|
+
<goa-work-side-notification-panel
|
|
7002
|
+
[attr.heading]="heading"
|
|
7003
|
+
[attr.active-tab]="activeTab"
|
|
7004
|
+
[attr.testid]="testId"
|
|
7005
|
+
(_markAllRead)="_onMarkAllRead()"
|
|
7006
|
+
(_viewAll)="_onViewAll()"
|
|
7007
|
+
>
|
|
7008
|
+
<ng-content />
|
|
7009
|
+
</goa-work-side-notification-panel>
|
|
6808
7010
|
}
|
|
6809
7011
|
`, isInline: true }); }
|
|
6810
7012
|
}
|
|
6811
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7013
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabWorkSideNotificationPanel, decorators: [{
|
|
6812
7014
|
type: Component,
|
|
6813
7015
|
args: [{
|
|
6814
7016
|
standalone: true,
|
|
6815
7017
|
selector: "goab-work-side-notification-panel", // eslint-disable-line
|
|
6816
7018
|
template: `
|
|
6817
7019
|
@if (isReady) {
|
|
6818
|
-
|
|
6819
|
-
|
|
6820
|
-
|
|
6821
|
-
|
|
6822
|
-
|
|
6823
|
-
|
|
6824
|
-
|
|
6825
|
-
|
|
6826
|
-
|
|
7020
|
+
<goa-work-side-notification-panel
|
|
7021
|
+
[attr.heading]="heading"
|
|
7022
|
+
[attr.active-tab]="activeTab"
|
|
7023
|
+
[attr.testid]="testId"
|
|
7024
|
+
(_markAllRead)="_onMarkAllRead()"
|
|
7025
|
+
(_viewAll)="_onViewAll()"
|
|
7026
|
+
>
|
|
7027
|
+
<ng-content />
|
|
7028
|
+
</goa-work-side-notification-panel>
|
|
6827
7029
|
}
|
|
6828
7030
|
`,
|
|
6829
7031
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
6830
7032
|
}]
|
|
6831
|
-
}],
|
|
7033
|
+
}], propDecorators: { heading: [{
|
|
6832
7034
|
type: Input
|
|
6833
7035
|
}], activeTab: [{
|
|
6834
7036
|
type: Input
|