@abgov/angular-components 5.0.0 → 5.2.0-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -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, "start" for prominent call-to-action buttons, and "text" for text-only 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 GoabFilterChip (goab-filter-chip) 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,14 +3222,28 @@ 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";
|
|
3132
3234
|
}
|
|
3235
|
+
getHelpTextAsString() {
|
|
3236
|
+
return typeof this.helpText === "string" ? this.helpText : undefined;
|
|
3237
|
+
}
|
|
3238
|
+
getHelpTextAsTemplate() {
|
|
3239
|
+
return this.helpText instanceof TemplateRef ? this.helpText : null;
|
|
3240
|
+
}
|
|
3241
|
+
getErrorAsString() {
|
|
3242
|
+
return typeof this.error === "string" ? this.error : undefined;
|
|
3243
|
+
}
|
|
3244
|
+
getErrorAsTemplate() {
|
|
3245
|
+
return this.error instanceof TemplateRef ? this.error : null;
|
|
3246
|
+
}
|
|
3133
3247
|
ngOnInit() {
|
|
3134
3248
|
// For Angular 20, we need to delay rendering the web component
|
|
3135
3249
|
// to ensure all attributes are properly bound before the component initializes
|
|
@@ -3138,14 +3252,14 @@ class GoabFormItem extends GoabBaseComponent {
|
|
|
3138
3252
|
this.cdr.detectChanges();
|
|
3139
3253
|
}, 0);
|
|
3140
3254
|
}
|
|
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.
|
|
3255
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabFormItem, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
3256
|
+
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
3257
|
<goa-form-item
|
|
3144
3258
|
[attr.version]="version"
|
|
3145
3259
|
[attr.label]="label"
|
|
3146
3260
|
[attr.labelsize]="labelSize"
|
|
3147
|
-
[attr.helptext]="
|
|
3148
|
-
[attr.error]="
|
|
3261
|
+
[attr.helptext]="getHelpTextAsString()"
|
|
3262
|
+
[attr.error]="getErrorAsString()"
|
|
3149
3263
|
[attr.testid]="testId"
|
|
3150
3264
|
[attr.type]="type"
|
|
3151
3265
|
[id]="id"
|
|
@@ -3158,23 +3272,33 @@ class GoabFormItem extends GoabBaseComponent {
|
|
|
3158
3272
|
[attr.mr]="mr"
|
|
3159
3273
|
[attr.ml]="ml"
|
|
3160
3274
|
>
|
|
3275
|
+
@if (getErrorAsTemplate()) {
|
|
3276
|
+
<div slot="error">
|
|
3277
|
+
<ng-container [ngTemplateOutlet]="getErrorAsTemplate()"></ng-container>
|
|
3278
|
+
</div>
|
|
3279
|
+
}
|
|
3280
|
+
@if (getHelpTextAsTemplate()) {
|
|
3281
|
+
<div slot="helptext">
|
|
3282
|
+
<ng-container [ngTemplateOutlet]="getHelpTextAsTemplate()"></ng-container>
|
|
3283
|
+
</div>
|
|
3284
|
+
}
|
|
3161
3285
|
<ng-content />
|
|
3162
|
-
<ng-content select="goab-form-item-slot"></ng-content>
|
|
3163
3286
|
</goa-form-item>
|
|
3164
|
-
}`, isInline: true }); }
|
|
3287
|
+
}`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
|
|
3165
3288
|
}
|
|
3166
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3289
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabFormItem, decorators: [{
|
|
3167
3290
|
type: Component,
|
|
3168
3291
|
args: [{
|
|
3169
3292
|
standalone: true,
|
|
3170
3293
|
selector: "goab-form-item",
|
|
3294
|
+
imports: [NgTemplateOutlet],
|
|
3171
3295
|
template: `@if (isReady) {
|
|
3172
3296
|
<goa-form-item
|
|
3173
3297
|
[attr.version]="version"
|
|
3174
3298
|
[attr.label]="label"
|
|
3175
3299
|
[attr.labelsize]="labelSize"
|
|
3176
|
-
[attr.helptext]="
|
|
3177
|
-
[attr.error]="
|
|
3300
|
+
[attr.helptext]="getHelpTextAsString()"
|
|
3301
|
+
[attr.error]="getErrorAsString()"
|
|
3178
3302
|
[attr.testid]="testId"
|
|
3179
3303
|
[attr.type]="type"
|
|
3180
3304
|
[id]="id"
|
|
@@ -3187,13 +3311,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
3187
3311
|
[attr.mr]="mr"
|
|
3188
3312
|
[attr.ml]="ml"
|
|
3189
3313
|
>
|
|
3314
|
+
@if (getErrorAsTemplate()) {
|
|
3315
|
+
<div slot="error">
|
|
3316
|
+
<ng-container [ngTemplateOutlet]="getErrorAsTemplate()"></ng-container>
|
|
3317
|
+
</div>
|
|
3318
|
+
}
|
|
3319
|
+
@if (getHelpTextAsTemplate()) {
|
|
3320
|
+
<div slot="helptext">
|
|
3321
|
+
<ng-container [ngTemplateOutlet]="getHelpTextAsTemplate()"></ng-container>
|
|
3322
|
+
</div>
|
|
3323
|
+
}
|
|
3190
3324
|
<ng-content />
|
|
3191
|
-
<ng-content select="goab-form-item-slot"></ng-content>
|
|
3192
3325
|
</goa-form-item>
|
|
3193
3326
|
}`,
|
|
3194
3327
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
3195
3328
|
}]
|
|
3196
|
-
}],
|
|
3329
|
+
}], propDecorators: { label: [{
|
|
3197
3330
|
type: Input
|
|
3198
3331
|
}], labelSize: [{
|
|
3199
3332
|
type: Input
|
|
@@ -3216,16 +3349,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
3216
3349
|
}] } });
|
|
3217
3350
|
|
|
3218
3351
|
/**
|
|
3219
|
-
*
|
|
3220
|
-
* We need to use a separate component with a required attribute `slot` because
|
|
3221
|
-
* svelte component renders based on the `slot` of the wrapper component (which is `div` before)
|
|
3222
|
-
* // similar to app-footer-meta-section & app-footer-nav-section
|
|
3352
|
+
* @deprecated Use `TemplateRef` inputs on `goab-form-item` (`[helpText]` / `[error]`) instead.
|
|
3223
3353
|
*/
|
|
3224
3354
|
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.
|
|
3355
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabFormItemSlot, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3356
|
+
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
3357
|
}
|
|
3228
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3358
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabFormItemSlot, decorators: [{
|
|
3229
3359
|
type: Component,
|
|
3230
3360
|
args: [{
|
|
3231
3361
|
standalone: true,
|
|
@@ -3237,9 +3367,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
3237
3367
|
args: [{ required: true }]
|
|
3238
3368
|
}] } });
|
|
3239
3369
|
|
|
3370
|
+
/** Individual step in a multi-step form. */
|
|
3240
3371
|
class GoabFormStep {
|
|
3241
|
-
constructor(
|
|
3242
|
-
this.cdr =
|
|
3372
|
+
constructor() {
|
|
3373
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
3243
3374
|
this.isReady = false;
|
|
3244
3375
|
}
|
|
3245
3376
|
ngOnInit() {
|
|
@@ -3248,14 +3379,14 @@ class GoabFormStep {
|
|
|
3248
3379
|
this.cdr.detectChanges();
|
|
3249
3380
|
});
|
|
3250
3381
|
}
|
|
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.
|
|
3382
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabFormStep, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3383
|
+
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
3384
|
@if (isReady) {
|
|
3254
3385
|
<goa-form-step [attr.text]="text" [attr.status]="status"></goa-form-step>
|
|
3255
3386
|
}
|
|
3256
3387
|
`, isInline: true }); }
|
|
3257
3388
|
}
|
|
3258
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3389
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabFormStep, decorators: [{
|
|
3259
3390
|
type: Component,
|
|
3260
3391
|
args: [{
|
|
3261
3392
|
standalone: true,
|
|
@@ -3267,17 +3398,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
3267
3398
|
`,
|
|
3268
3399
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
3269
3400
|
}]
|
|
3270
|
-
}],
|
|
3401
|
+
}], propDecorators: { text: [{
|
|
3271
3402
|
type: Input
|
|
3272
3403
|
}], status: [{
|
|
3273
3404
|
type: Input
|
|
3274
3405
|
}] } });
|
|
3275
3406
|
|
|
3407
|
+
/** Provides a visual representation of a form through a series of steps. */
|
|
3276
3408
|
class GoabFormStepper extends GoabBaseComponent {
|
|
3277
|
-
constructor(
|
|
3278
|
-
super();
|
|
3279
|
-
this.cdr =
|
|
3409
|
+
constructor() {
|
|
3410
|
+
super(...arguments);
|
|
3411
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
3412
|
+
/** The current step state value (1-based index). Leaving it blank (-1) will allow any step to be accessed. @default -1 */
|
|
3280
3413
|
this.step = -1;
|
|
3414
|
+
/** Emits when the form stepper step changes. Emits the new step as GoabFormStepperOnChangeDetail. */
|
|
3281
3415
|
this.onChange = new EventEmitter();
|
|
3282
3416
|
this.isReady = false;
|
|
3283
3417
|
}
|
|
@@ -3291,8 +3425,8 @@ class GoabFormStepper extends GoabBaseComponent {
|
|
|
3291
3425
|
const detail = e.detail;
|
|
3292
3426
|
this.onChange.emit(detail);
|
|
3293
3427
|
}
|
|
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.
|
|
3428
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabFormStepper, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
3429
|
+
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
3430
|
@if (isReady) {
|
|
3297
3431
|
<goa-form-stepper
|
|
3298
3432
|
[attr.step]="step"
|
|
@@ -3308,7 +3442,7 @@ class GoabFormStepper extends GoabBaseComponent {
|
|
|
3308
3442
|
}
|
|
3309
3443
|
`, isInline: true }); }
|
|
3310
3444
|
}
|
|
3311
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3445
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabFormStepper, decorators: [{
|
|
3312
3446
|
type: Component,
|
|
3313
3447
|
args: [{
|
|
3314
3448
|
standalone: true,
|
|
@@ -3330,16 +3464,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
3330
3464
|
`,
|
|
3331
3465
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
3332
3466
|
}]
|
|
3333
|
-
}],
|
|
3467
|
+
}], propDecorators: { step: [{
|
|
3334
3468
|
type: Input
|
|
3335
3469
|
}], onChange: [{
|
|
3336
3470
|
type: Output
|
|
3337
3471
|
}] } });
|
|
3338
3472
|
|
|
3473
|
+
/** Arrange a number of components into a responsive grid pattern. */
|
|
3339
3474
|
class GoabGrid extends GoabBaseComponent {
|
|
3340
|
-
constructor(
|
|
3341
|
-
super();
|
|
3342
|
-
this.cdr =
|
|
3475
|
+
constructor() {
|
|
3476
|
+
super(...arguments);
|
|
3477
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
3343
3478
|
this.isReady = false;
|
|
3344
3479
|
}
|
|
3345
3480
|
ngOnInit() {
|
|
@@ -3348,8 +3483,8 @@ class GoabGrid extends GoabBaseComponent {
|
|
|
3348
3483
|
this.cdr.detectChanges();
|
|
3349
3484
|
});
|
|
3350
3485
|
}
|
|
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.
|
|
3486
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabGrid, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
3487
|
+
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
3488
|
@if (isReady) {
|
|
3354
3489
|
<goa-grid
|
|
3355
3490
|
[attr.gap]="gap"
|
|
@@ -3365,7 +3500,7 @@ class GoabGrid extends GoabBaseComponent {
|
|
|
3365
3500
|
}
|
|
3366
3501
|
`, isInline: true }); }
|
|
3367
3502
|
}
|
|
3368
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3503
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabGrid, decorators: [{
|
|
3369
3504
|
type: Component,
|
|
3370
3505
|
args: [{
|
|
3371
3506
|
standalone: true,
|
|
@@ -3387,19 +3522,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
3387
3522
|
`,
|
|
3388
3523
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
3389
3524
|
}]
|
|
3390
|
-
}],
|
|
3525
|
+
}], propDecorators: { minChildWidth: [{
|
|
3391
3526
|
type: Input,
|
|
3392
3527
|
args: [{ required: true }]
|
|
3393
3528
|
}], gap: [{
|
|
3394
3529
|
type: Input
|
|
3395
3530
|
}] } });
|
|
3396
3531
|
|
|
3397
|
-
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
this.cdr =
|
|
3532
|
+
/** Provide structure to help users find their way around the service. */
|
|
3533
|
+
class GoabAppHeader {
|
|
3534
|
+
constructor() {
|
|
3535
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
3401
3536
|
this.isReady = false;
|
|
3402
3537
|
this.version = "2";
|
|
3538
|
+
/** Emits when the menu button is clicked. Used for custom menu handling. */
|
|
3403
3539
|
this.onMenuClick = new EventEmitter();
|
|
3404
3540
|
}
|
|
3405
3541
|
ngOnInit() {
|
|
@@ -3411,8 +3547,8 @@ class GoabAppHeader extends GoabBaseComponent {
|
|
|
3411
3547
|
_onMenuClick() {
|
|
3412
3548
|
this.onMenuClick.emit();
|
|
3413
3549
|
}
|
|
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.
|
|
3550
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabAppHeader, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3551
|
+
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], testId: "testId" }, outputs: { onMenuClick: "onMenuClick" }, ngImport: i0, template: `@if (isReady) {
|
|
3416
3552
|
<goa-app-header
|
|
3417
3553
|
[attr.url]="url"
|
|
3418
3554
|
[attr.heading]="heading"
|
|
@@ -3428,7 +3564,7 @@ class GoabAppHeader extends GoabBaseComponent {
|
|
|
3428
3564
|
</goa-app-header>
|
|
3429
3565
|
}`, isInline: true }); }
|
|
3430
3566
|
}
|
|
3431
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3567
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabAppHeader, decorators: [{
|
|
3432
3568
|
type: Component,
|
|
3433
3569
|
args: [{
|
|
3434
3570
|
standalone: true,
|
|
@@ -3450,7 +3586,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
3450
3586
|
}`,
|
|
3451
3587
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
3452
3588
|
}]
|
|
3453
|
-
}],
|
|
3589
|
+
}], propDecorators: { url: [{
|
|
3454
3590
|
type: Input
|
|
3455
3591
|
}], heading: [{
|
|
3456
3592
|
type: Input
|
|
@@ -3461,27 +3597,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
3461
3597
|
}], fullMenuBreakpoint: [{
|
|
3462
3598
|
type: Input,
|
|
3463
3599
|
args: [{ transform: numberAttribute }]
|
|
3600
|
+
}], testId: [{
|
|
3601
|
+
type: Input
|
|
3464
3602
|
}], onMenuClick: [{
|
|
3465
3603
|
type: Output
|
|
3466
3604
|
}] } });
|
|
3467
3605
|
|
|
3468
|
-
|
|
3606
|
+
/** Menu items within the app header. */
|
|
3607
|
+
class GoabAppHeaderMenu {
|
|
3608
|
+
constructor() {
|
|
3609
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
3610
|
+
this.isReady = false;
|
|
3611
|
+
}
|
|
3469
3612
|
get hostSlot() {
|
|
3470
3613
|
return this.slotName ?? null;
|
|
3471
3614
|
}
|
|
3472
|
-
constructor(cdr) {
|
|
3473
|
-
super();
|
|
3474
|
-
this.cdr = cdr;
|
|
3475
|
-
this.isReady = false;
|
|
3476
|
-
}
|
|
3477
3615
|
ngOnInit() {
|
|
3478
3616
|
setTimeout(() => {
|
|
3479
3617
|
this.isReady = true;
|
|
3480
3618
|
this.cdr.detectChanges();
|
|
3481
3619
|
}, 0);
|
|
3482
3620
|
}
|
|
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.
|
|
3621
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabAppHeaderMenu, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3622
|
+
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", testId: "testId", slotName: "slotName" }, host: { properties: { "attr.slot": "this.hostSlot" } }, ngImport: i0, template: `@if (isReady) {
|
|
3485
3623
|
<goa-app-header-menu
|
|
3486
3624
|
[attr.leadingicon]="leadingIcon"
|
|
3487
3625
|
[attr.heading]="heading"
|
|
@@ -3491,7 +3629,7 @@ class GoabAppHeaderMenu extends GoabBaseComponent {
|
|
|
3491
3629
|
</goa-app-header-menu>
|
|
3492
3630
|
}`, isInline: true }); }
|
|
3493
3631
|
}
|
|
3494
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3632
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabAppHeaderMenu, decorators: [{
|
|
3495
3633
|
type: Component,
|
|
3496
3634
|
args: [{
|
|
3497
3635
|
standalone: true,
|
|
@@ -3507,10 +3645,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
3507
3645
|
}`,
|
|
3508
3646
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
3509
3647
|
}]
|
|
3510
|
-
}],
|
|
3648
|
+
}], propDecorators: { leadingIcon: [{
|
|
3511
3649
|
type: Input
|
|
3512
3650
|
}], heading: [{
|
|
3513
3651
|
type: Input
|
|
3652
|
+
}], testId: [{
|
|
3653
|
+
type: Input
|
|
3514
3654
|
}], slotName: [{
|
|
3515
3655
|
type: Input
|
|
3516
3656
|
}], hostSlot: [{
|
|
@@ -3518,9 +3658,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
3518
3658
|
args: ["attr.slot"]
|
|
3519
3659
|
}] } });
|
|
3520
3660
|
|
|
3661
|
+
/** A visual band of text, including an image and a call to action. */
|
|
3521
3662
|
class GoabHeroBanner {
|
|
3522
|
-
constructor(
|
|
3523
|
-
this.cdr =
|
|
3663
|
+
constructor() {
|
|
3664
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
3524
3665
|
this.isReady = false;
|
|
3525
3666
|
}
|
|
3526
3667
|
ngOnInit() {
|
|
@@ -3529,8 +3670,8 @@ class GoabHeroBanner {
|
|
|
3529
3670
|
this.cdr.detectChanges();
|
|
3530
3671
|
});
|
|
3531
3672
|
}
|
|
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.
|
|
3673
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabHeroBanner, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3674
|
+
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
3675
|
@if (isReady) {
|
|
3535
3676
|
<goa-hero-banner
|
|
3536
3677
|
[attr.heading]="heading"
|
|
@@ -3549,7 +3690,7 @@ class GoabHeroBanner {
|
|
|
3549
3690
|
}
|
|
3550
3691
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
|
|
3551
3692
|
}
|
|
3552
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3693
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabHeroBanner, decorators: [{
|
|
3553
3694
|
type: Component,
|
|
3554
3695
|
args: [{
|
|
3555
3696
|
standalone: true,
|
|
@@ -3575,7 +3716,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
3575
3716
|
`,
|
|
3576
3717
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
3577
3718
|
}]
|
|
3578
|
-
}],
|
|
3719
|
+
}], propDecorators: { heading: [{
|
|
3579
3720
|
type: Input
|
|
3580
3721
|
}], backgroundUrl: [{
|
|
3581
3722
|
type: Input
|
|
@@ -3593,10 +3734,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
3593
3734
|
type: Input
|
|
3594
3735
|
}] } });
|
|
3595
3736
|
|
|
3737
|
+
/** A simple and universal graphic symbol representing an action, object, or concept to help guide the user. */
|
|
3596
3738
|
class GoabIcon extends GoabBaseComponent {
|
|
3597
|
-
constructor(
|
|
3598
|
-
super();
|
|
3599
|
-
this.cdr =
|
|
3739
|
+
constructor() {
|
|
3740
|
+
super(...arguments);
|
|
3741
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
3600
3742
|
this.isReady = false;
|
|
3601
3743
|
}
|
|
3602
3744
|
ngOnInit() {
|
|
@@ -3607,8 +3749,8 @@ class GoabIcon extends GoabBaseComponent {
|
|
|
3607
3749
|
this.cdr.detectChanges();
|
|
3608
3750
|
}, 0);
|
|
3609
3751
|
}
|
|
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.
|
|
3752
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabIcon, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
3753
|
+
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", role: "role" }, usesInheritance: true, ngImport: i0, template: `
|
|
3612
3754
|
@if (isReady) {
|
|
3613
3755
|
<goa-icon
|
|
3614
3756
|
[attr.type]="type"
|
|
@@ -3619,6 +3761,7 @@ class GoabIcon extends GoabBaseComponent {
|
|
|
3619
3761
|
[attr.opacity]="opacity"
|
|
3620
3762
|
[attr.title]="title"
|
|
3621
3763
|
[attr.arialabel]="ariaLabel"
|
|
3764
|
+
[attr.role]="role"
|
|
3622
3765
|
[attr.mt]="mt"
|
|
3623
3766
|
[attr.mb]="mb"
|
|
3624
3767
|
[attr.ml]="ml"
|
|
@@ -3629,7 +3772,7 @@ class GoabIcon extends GoabBaseComponent {
|
|
|
3629
3772
|
}
|
|
3630
3773
|
`, isInline: true, styles: [":host{display:inline-flex;align-items:center}\n"] }); }
|
|
3631
3774
|
}
|
|
3632
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3775
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabIcon, decorators: [{
|
|
3633
3776
|
type: Component,
|
|
3634
3777
|
args: [{ standalone: true, selector: "goab-icon", template: `
|
|
3635
3778
|
@if (isReady) {
|
|
@@ -3642,6 +3785,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
3642
3785
|
[attr.opacity]="opacity"
|
|
3643
3786
|
[attr.title]="title"
|
|
3644
3787
|
[attr.arialabel]="ariaLabel"
|
|
3788
|
+
[attr.role]="role"
|
|
3645
3789
|
[attr.mt]="mt"
|
|
3646
3790
|
[attr.mb]="mb"
|
|
3647
3791
|
[attr.ml]="ml"
|
|
@@ -3651,7 +3795,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
3651
3795
|
</goa-icon>
|
|
3652
3796
|
}
|
|
3653
3797
|
`, schemas: [CUSTOM_ELEMENTS_SCHEMA], styles: [":host{display:inline-flex;align-items:center}\n"] }]
|
|
3654
|
-
}],
|
|
3798
|
+
}], propDecorators: { type: [{
|
|
3655
3799
|
type: Input,
|
|
3656
3800
|
args: [{ required: true }]
|
|
3657
3801
|
}], size: [{
|
|
@@ -3670,15 +3814,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
3670
3814
|
type: Input
|
|
3671
3815
|
}], ariaLabel: [{
|
|
3672
3816
|
type: Input
|
|
3817
|
+
}], role: [{
|
|
3818
|
+
type: Input
|
|
3673
3819
|
}] } });
|
|
3674
3820
|
|
|
3821
|
+
/** A compact button with an icon and no text. */
|
|
3675
3822
|
class GoabIconButton extends GoabBaseComponent {
|
|
3676
|
-
constructor(
|
|
3677
|
-
super();
|
|
3678
|
-
this.cdr =
|
|
3823
|
+
constructor() {
|
|
3824
|
+
super(...arguments);
|
|
3825
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
3679
3826
|
this.isReady = false;
|
|
3680
3827
|
this.JSON = JSON;
|
|
3828
|
+
/** Sets the size of button. @default "medium" */
|
|
3681
3829
|
this.size = "medium";
|
|
3830
|
+
/** Sets the icon theme. "outline" for stroked icons, "filled" for solid icons. @default "outline" */
|
|
3831
|
+
this.theme = "outline";
|
|
3832
|
+
/** Emits when the icon button is clicked. */
|
|
3682
3833
|
this.onClick = new EventEmitter();
|
|
3683
3834
|
}
|
|
3684
3835
|
ngOnInit() {
|
|
@@ -3690,13 +3841,14 @@ class GoabIconButton extends GoabBaseComponent {
|
|
|
3690
3841
|
_onClick() {
|
|
3691
3842
|
this.onClick.emit();
|
|
3692
3843
|
}
|
|
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.
|
|
3844
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabIconButton, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
3845
|
+
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", theme: "theme", title: "title", disabled: ["disabled", "disabled", booleanAttribute], ariaLabel: "ariaLabel", action: "action", actionArg: "actionArg", actionArgs: "actionArgs" }, outputs: { onClick: "onClick" }, usesInheritance: true, ngImport: i0, template: `
|
|
3695
3846
|
@if (isReady) {
|
|
3696
3847
|
<goa-icon-button
|
|
3697
3848
|
[attr.icon]="icon"
|
|
3698
3849
|
[disabled]="disabled"
|
|
3699
3850
|
[attr.size]="size"
|
|
3851
|
+
[attr.theme]="theme"
|
|
3700
3852
|
[attr.variant]="variant"
|
|
3701
3853
|
[title]="title"
|
|
3702
3854
|
[attr.arialabel]="ariaLabel"
|
|
@@ -3715,7 +3867,7 @@ class GoabIconButton extends GoabBaseComponent {
|
|
|
3715
3867
|
}
|
|
3716
3868
|
`, isInline: true }); }
|
|
3717
3869
|
}
|
|
3718
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3870
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabIconButton, decorators: [{
|
|
3719
3871
|
type: Component,
|
|
3720
3872
|
args: [{
|
|
3721
3873
|
standalone: true,
|
|
@@ -3726,6 +3878,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
3726
3878
|
[attr.icon]="icon"
|
|
3727
3879
|
[disabled]="disabled"
|
|
3728
3880
|
[attr.size]="size"
|
|
3881
|
+
[attr.theme]="theme"
|
|
3729
3882
|
[attr.variant]="variant"
|
|
3730
3883
|
[title]="title"
|
|
3731
3884
|
[attr.arialabel]="ariaLabel"
|
|
@@ -3745,13 +3898,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
3745
3898
|
`,
|
|
3746
3899
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
3747
3900
|
}]
|
|
3748
|
-
}],
|
|
3901
|
+
}], propDecorators: { icon: [{
|
|
3749
3902
|
type: Input,
|
|
3750
3903
|
args: [{ required: true }]
|
|
3751
3904
|
}], size: [{
|
|
3752
3905
|
type: Input
|
|
3753
3906
|
}], variant: [{
|
|
3754
3907
|
type: Input
|
|
3908
|
+
}], theme: [{
|
|
3909
|
+
type: Input
|
|
3755
3910
|
}], title: [{
|
|
3756
3911
|
type: Input
|
|
3757
3912
|
}], disabled: [{
|
|
@@ -3769,17 +3924,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
3769
3924
|
type: Output
|
|
3770
3925
|
}] } });
|
|
3771
3926
|
|
|
3927
|
+
/** A single-line field where users can input and edit text. */
|
|
3772
3928
|
class GoabInput extends GoabControlValueAccessor {
|
|
3773
|
-
constructor(
|
|
3774
|
-
super(
|
|
3775
|
-
this.cdr =
|
|
3929
|
+
constructor() {
|
|
3930
|
+
super(...arguments);
|
|
3931
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
3932
|
+
/** Sets the type of the input field. @default "text" */
|
|
3776
3933
|
this.type = "text";
|
|
3934
|
+
/** Sets the text alignment within the input field. @default "left" */
|
|
3777
3935
|
this.textAlign = "left";
|
|
3936
|
+
/** Sets the size of the input. 'compact' reduces height for dense layouts. @default "default" */
|
|
3778
3937
|
this.size = "default";
|
|
3938
|
+
/** Emits when the trailing icon is clicked. */
|
|
3779
3939
|
this.onTrailingIconClick = new EventEmitter();
|
|
3940
|
+
/** Emits when the input receives focus. Emits focus detail including the current value. */
|
|
3780
3941
|
this.onFocus = new EventEmitter();
|
|
3942
|
+
/** Emits when the input loses focus. Emits blur detail including the current value. */
|
|
3781
3943
|
this.onBlur = new EventEmitter();
|
|
3944
|
+
/** Emits when a key is pressed in the input. Emits key press detail including the value and key pressed. */
|
|
3782
3945
|
this.onKeyPress = new EventEmitter();
|
|
3946
|
+
/** Emits when the input value changes. Emits change detail including the new value. */
|
|
3783
3947
|
this.onChange = new EventEmitter();
|
|
3784
3948
|
this.version = "2";
|
|
3785
3949
|
this.isReady = false;
|
|
@@ -3839,8 +4003,8 @@ class GoabInput extends GoabControlValueAccessor {
|
|
|
3839
4003
|
return null;
|
|
3840
4004
|
return this.trailingContent instanceof TemplateRef ? this.trailingContent : null;
|
|
3841
4005
|
}
|
|
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.
|
|
4006
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabInput, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
4007
|
+
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
4008
|
{
|
|
3845
4009
|
provide: NG_VALUE_ACCESSOR,
|
|
3846
4010
|
multi: true,
|
|
@@ -3916,7 +4080,7 @@ class GoabInput extends GoabControlValueAccessor {
|
|
|
3916
4080
|
</goa-input>
|
|
3917
4081
|
}`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
|
|
3918
4082
|
}
|
|
3919
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4083
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabInput, decorators: [{
|
|
3920
4084
|
type: Component,
|
|
3921
4085
|
args: [{
|
|
3922
4086
|
standalone: true,
|
|
@@ -4000,7 +4164,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
4000
4164
|
},
|
|
4001
4165
|
],
|
|
4002
4166
|
}]
|
|
4003
|
-
}],
|
|
4167
|
+
}], propDecorators: { type: [{
|
|
4004
4168
|
type: Input
|
|
4005
4169
|
}], name: [{
|
|
4006
4170
|
type: Input
|
|
@@ -4067,17 +4231,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
4067
4231
|
type: Output
|
|
4068
4232
|
}] } });
|
|
4069
4233
|
|
|
4234
|
+
/** A single-line field where users can input and edit numeric values. */
|
|
4070
4235
|
class GoabInputNumber {
|
|
4071
|
-
constructor(
|
|
4072
|
-
this.cdr =
|
|
4236
|
+
constructor() {
|
|
4237
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
4073
4238
|
this.isReady = false;
|
|
4239
|
+
/** Sets the type of the input field. @default "number" */
|
|
4074
4240
|
this.type = "number";
|
|
4241
|
+
/** Sets the text alignment within the input field. @default "right" */
|
|
4075
4242
|
this.textAlign = "right"; // Default to right for numbers
|
|
4243
|
+
/** Bound to value. */
|
|
4076
4244
|
this.value = null;
|
|
4245
|
+
/** Emits when the trailing icon is clicked. */
|
|
4077
4246
|
this.onTrailingIconClick = new EventEmitter(); // Keep void type
|
|
4247
|
+
/** Emits when the input receives focus. Emits focus detail including the current value. */
|
|
4078
4248
|
this.onFocus = new EventEmitter();
|
|
4249
|
+
/** Emits when the input loses focus. Emits blur detail including the current value. */
|
|
4079
4250
|
this.onBlur = new EventEmitter();
|
|
4251
|
+
/** Emits when a key is pressed in the input. Emits key press detail including the value and key pressed. */
|
|
4080
4252
|
this.onKeyPress = new EventEmitter();
|
|
4253
|
+
/** Emits when the input value changes. Emits change detail including the new value. */
|
|
4081
4254
|
this.onChange = new EventEmitter();
|
|
4082
4255
|
this.handleTrailingIconClick = false;
|
|
4083
4256
|
this.touched = false;
|
|
@@ -4158,8 +4331,8 @@ class GoabInputNumber {
|
|
|
4158
4331
|
return null;
|
|
4159
4332
|
return this.trailingContent instanceof TemplateRef ? this.trailingContent : null;
|
|
4160
4333
|
}
|
|
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.
|
|
4334
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabInputNumber, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4335
|
+
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
4336
|
{
|
|
4164
4337
|
provide: NG_VALUE_ACCESSOR,
|
|
4165
4338
|
multi: true,
|
|
@@ -4235,7 +4408,7 @@ class GoabInputNumber {
|
|
|
4235
4408
|
}
|
|
4236
4409
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
|
|
4237
4410
|
}
|
|
4238
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4411
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabInputNumber, decorators: [{
|
|
4239
4412
|
type: Component,
|
|
4240
4413
|
args: [{
|
|
4241
4414
|
standalone: true,
|
|
@@ -4319,7 +4492,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
4319
4492
|
},
|
|
4320
4493
|
],
|
|
4321
4494
|
}]
|
|
4322
|
-
}],
|
|
4495
|
+
}], propDecorators: { type: [{
|
|
4323
4496
|
type: Input
|
|
4324
4497
|
}], name: [{
|
|
4325
4498
|
type: Input
|
|
@@ -4402,9 +4575,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
4402
4575
|
type: Output
|
|
4403
4576
|
}] } });
|
|
4404
4577
|
|
|
4578
|
+
/** Provide visual feedback to users while loading. */
|
|
4405
4579
|
class GoabLinearProgress {
|
|
4406
|
-
constructor(
|
|
4407
|
-
this.cdr =
|
|
4580
|
+
constructor() {
|
|
4581
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
4408
4582
|
this.isReady = false;
|
|
4409
4583
|
}
|
|
4410
4584
|
ngOnInit() {
|
|
@@ -4415,8 +4589,8 @@ class GoabLinearProgress {
|
|
|
4415
4589
|
this.cdr.detectChanges();
|
|
4416
4590
|
}, 0);
|
|
4417
4591
|
}
|
|
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.
|
|
4592
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabLinearProgress, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4593
|
+
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
4594
|
@if (isReady) {
|
|
4421
4595
|
<goa-linear-progress
|
|
4422
4596
|
[attr.progress]="progress"
|
|
@@ -4429,7 +4603,7 @@ class GoabLinearProgress {
|
|
|
4429
4603
|
}
|
|
4430
4604
|
`, isInline: true }); }
|
|
4431
4605
|
}
|
|
4432
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4606
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabLinearProgress, decorators: [{
|
|
4433
4607
|
type: Component,
|
|
4434
4608
|
args: [{
|
|
4435
4609
|
standalone: true,
|
|
@@ -4448,7 +4622,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
4448
4622
|
`,
|
|
4449
4623
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
4450
4624
|
}]
|
|
4451
|
-
}],
|
|
4625
|
+
}], propDecorators: { progress: [{
|
|
4452
4626
|
type: Input
|
|
4453
4627
|
}], percentVisibility: [{
|
|
4454
4628
|
type: Input
|
|
@@ -4460,11 +4634,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
4460
4634
|
type: Input
|
|
4461
4635
|
}] } });
|
|
4462
4636
|
|
|
4637
|
+
/** Wraps an anchor element to add icons or margins. */
|
|
4463
4638
|
class GoabLink {
|
|
4464
|
-
constructor(
|
|
4465
|
-
this.cdr =
|
|
4639
|
+
constructor() {
|
|
4640
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
4466
4641
|
this.isReady = false;
|
|
4642
|
+
/** Sets the color theme. 'interactive' for blue, 'dark' for black, 'light' for white text. @default "interactive" */
|
|
4467
4643
|
this.color = "interactive";
|
|
4644
|
+
/** Sets the text size and corresponding icon size. @default "medium" */
|
|
4468
4645
|
this.size = "medium";
|
|
4469
4646
|
this.JSON = JSON;
|
|
4470
4647
|
}
|
|
@@ -4474,8 +4651,8 @@ class GoabLink {
|
|
|
4474
4651
|
this.cdr.detectChanges();
|
|
4475
4652
|
});
|
|
4476
4653
|
}
|
|
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.
|
|
4654
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabLink, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4655
|
+
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
4656
|
@if (isReady) {
|
|
4480
4657
|
<goa-link
|
|
4481
4658
|
[attr.leadingicon]="leadingIcon"
|
|
@@ -4496,7 +4673,7 @@ class GoabLink {
|
|
|
4496
4673
|
}
|
|
4497
4674
|
`, isInline: true }); }
|
|
4498
4675
|
}
|
|
4499
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4676
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabLink, decorators: [{
|
|
4500
4677
|
type: Component,
|
|
4501
4678
|
args: [{
|
|
4502
4679
|
standalone: true,
|
|
@@ -4523,7 +4700,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
4523
4700
|
`,
|
|
4524
4701
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
4525
4702
|
}]
|
|
4526
|
-
}],
|
|
4703
|
+
}], propDecorators: { leadingIcon: [{
|
|
4527
4704
|
type: Input
|
|
4528
4705
|
}], trailingIcon: [{
|
|
4529
4706
|
type: Input
|
|
@@ -4549,10 +4726,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
4549
4726
|
type: Input
|
|
4550
4727
|
}] } });
|
|
4551
4728
|
|
|
4729
|
+
/** Communicate what stage the service is at, connect to Alberta.ca, and gather feedback on your service. */
|
|
4552
4730
|
class GoabMicrositeHeader {
|
|
4553
|
-
constructor(
|
|
4554
|
-
this.cdr =
|
|
4731
|
+
constructor() {
|
|
4732
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
4555
4733
|
this.isReady = false;
|
|
4734
|
+
/** Emits when the feedback link is clicked. */
|
|
4556
4735
|
this.onFeedbackClick = new EventEmitter();
|
|
4557
4736
|
}
|
|
4558
4737
|
ngOnInit() {
|
|
@@ -4572,8 +4751,8 @@ class GoabMicrositeHeader {
|
|
|
4572
4751
|
_onFeedbackClick() {
|
|
4573
4752
|
this.onFeedbackClick.emit();
|
|
4574
4753
|
}
|
|
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.
|
|
4754
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabMicrositeHeader, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4755
|
+
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
4756
|
@if (isReady) {
|
|
4578
4757
|
<goa-microsite-header
|
|
4579
4758
|
[attr.type]="type"
|
|
@@ -4593,7 +4772,7 @@ class GoabMicrositeHeader {
|
|
|
4593
4772
|
}
|
|
4594
4773
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
|
|
4595
4774
|
}
|
|
4596
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4775
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabMicrositeHeader, decorators: [{
|
|
4597
4776
|
type: Component,
|
|
4598
4777
|
args: [{
|
|
4599
4778
|
standalone: true,
|
|
@@ -4620,7 +4799,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
4620
4799
|
imports: [NgTemplateOutlet],
|
|
4621
4800
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
4622
4801
|
}]
|
|
4623
|
-
}],
|
|
4802
|
+
}], propDecorators: { type: [{
|
|
4624
4803
|
type: Input,
|
|
4625
4804
|
args: [{ required: true }]
|
|
4626
4805
|
}], version: [{
|
|
@@ -4639,12 +4818,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
4639
4818
|
type: Output
|
|
4640
4819
|
}] } });
|
|
4641
4820
|
|
|
4821
|
+
/** An overlay that appears in front of all other content, and requires a user to take an action before continuing. */
|
|
4642
4822
|
class GoabModal {
|
|
4643
|
-
constructor(
|
|
4644
|
-
this.cdr =
|
|
4823
|
+
constructor() {
|
|
4824
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
4645
4825
|
this.isReady = false;
|
|
4646
4826
|
this.version = "2";
|
|
4827
|
+
/** Show close icon and allow clicking the background to close the modal. */
|
|
4647
4828
|
this.closable = false;
|
|
4829
|
+
/** Emits when the modal is closed. */
|
|
4648
4830
|
this.onClose = new EventEmitter();
|
|
4649
4831
|
}
|
|
4650
4832
|
ngOnInit() {
|
|
@@ -4666,8 +4848,8 @@ class GoabModal {
|
|
|
4666
4848
|
_onClose() {
|
|
4667
4849
|
this.onClose.emit();
|
|
4668
4850
|
}
|
|
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.
|
|
4851
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabModal, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4852
|
+
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
4853
|
@if (isReady) {
|
|
4672
4854
|
<goa-modal
|
|
4673
4855
|
[attr.version]="version"
|
|
@@ -4698,7 +4880,7 @@ class GoabModal {
|
|
|
4698
4880
|
}
|
|
4699
4881
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
|
|
4700
4882
|
}
|
|
4701
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4883
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabModal, decorators: [{
|
|
4702
4884
|
type: Component,
|
|
4703
4885
|
args: [{
|
|
4704
4886
|
standalone: true,
|
|
@@ -4736,7 +4918,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
4736
4918
|
`,
|
|
4737
4919
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
4738
4920
|
}]
|
|
4739
|
-
}],
|
|
4921
|
+
}], propDecorators: { calloutVariant: [{
|
|
4740
4922
|
type: Input
|
|
4741
4923
|
}], open: [{
|
|
4742
4924
|
type: Input,
|
|
@@ -4759,16 +4941,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
4759
4941
|
type: Output
|
|
4760
4942
|
}] } });
|
|
4761
4943
|
|
|
4944
|
+
/** A button with more than one action. */
|
|
4762
4945
|
class GoabMenuButton {
|
|
4763
4946
|
constructor() {
|
|
4947
|
+
/** Emits when a menu action is clicked. Emits the action detail. */
|
|
4764
4948
|
this.onAction = new EventEmitter();
|
|
4765
4949
|
}
|
|
4766
4950
|
_onAction(e) {
|
|
4767
4951
|
const detail = e.detail;
|
|
4768
4952
|
this.onAction.emit(detail);
|
|
4769
4953
|
}
|
|
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.
|
|
4954
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabMenuButton, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4955
|
+
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
4956
|
<goa-menu-button
|
|
4773
4957
|
[attr.text]="text"
|
|
4774
4958
|
[attr.type]="type"
|
|
@@ -4785,7 +4969,7 @@ class GoabMenuButton {
|
|
|
4785
4969
|
</goa-menu-button>
|
|
4786
4970
|
`, isInline: true }); }
|
|
4787
4971
|
}
|
|
4788
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4972
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabMenuButton, decorators: [{
|
|
4789
4973
|
type: Component,
|
|
4790
4974
|
args: [{
|
|
4791
4975
|
standalone: true,
|
|
@@ -4828,9 +5012,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
4828
5012
|
type: Output
|
|
4829
5013
|
}] } });
|
|
4830
5014
|
|
|
5015
|
+
/** Individual action item within a menu button. */
|
|
4831
5016
|
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.
|
|
5017
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabMenuAction, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5018
|
+
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
5019
|
<goa-menu-action
|
|
4835
5020
|
[attr.text]="text"
|
|
4836
5021
|
[attr.action]="action"
|
|
@@ -4840,7 +5025,7 @@ class GoabMenuAction {
|
|
|
4840
5025
|
</goa-menu-action>
|
|
4841
5026
|
`, isInline: true }); }
|
|
4842
5027
|
}
|
|
4843
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5028
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabMenuAction, decorators: [{
|
|
4844
5029
|
type: Component,
|
|
4845
5030
|
args: [{
|
|
4846
5031
|
standalone: true,
|
|
@@ -4868,13 +5053,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
4868
5053
|
type: Input
|
|
4869
5054
|
}] } });
|
|
4870
5055
|
|
|
5056
|
+
/** Display important page level information or notifications. */
|
|
4871
5057
|
class GoabNotification {
|
|
4872
|
-
constructor(
|
|
4873
|
-
this.cdr =
|
|
5058
|
+
constructor() {
|
|
5059
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
4874
5060
|
this.isReady = false;
|
|
4875
5061
|
this.version = "2";
|
|
5062
|
+
/** Define the context and colour of the notification. @default "information" */
|
|
4876
5063
|
this.type = "information";
|
|
5064
|
+
/** Sets the visual prominence. 'high' for full background, 'low' for medium. @default "high" */
|
|
4877
5065
|
this.emphasis = "high";
|
|
5066
|
+
/** Emits when the notification is dismissed. */
|
|
4878
5067
|
this.onDismiss = new EventEmitter();
|
|
4879
5068
|
}
|
|
4880
5069
|
ngOnInit() {
|
|
@@ -4886,8 +5075,8 @@ class GoabNotification {
|
|
|
4886
5075
|
_onDismiss() {
|
|
4887
5076
|
this.onDismiss.emit();
|
|
4888
5077
|
}
|
|
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.
|
|
5078
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabNotification, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5079
|
+
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
5080
|
@if (isReady) {
|
|
4892
5081
|
<goa-notification
|
|
4893
5082
|
[attr.version]="version"
|
|
@@ -4904,7 +5093,7 @@ class GoabNotification {
|
|
|
4904
5093
|
}
|
|
4905
5094
|
`, isInline: true }); }
|
|
4906
5095
|
}
|
|
4907
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5096
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabNotification, decorators: [{
|
|
4908
5097
|
type: Component,
|
|
4909
5098
|
args: [{
|
|
4910
5099
|
standalone: true,
|
|
@@ -4927,7 +5116,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
4927
5116
|
`,
|
|
4928
5117
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
4929
5118
|
}]
|
|
4930
|
-
}],
|
|
5119
|
+
}], propDecorators: { type: [{
|
|
4931
5120
|
type: Input
|
|
4932
5121
|
}], ariaLive: [{
|
|
4933
5122
|
type: Input
|
|
@@ -4944,9 +5133,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
4944
5133
|
type: Output
|
|
4945
5134
|
}] } });
|
|
4946
5135
|
|
|
5136
|
+
/** Full-width section with optional background. */
|
|
4947
5137
|
class GoabPageBlock {
|
|
4948
|
-
constructor(
|
|
4949
|
-
this.cdr =
|
|
5138
|
+
constructor() {
|
|
5139
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
4950
5140
|
this.isReady = false;
|
|
4951
5141
|
}
|
|
4952
5142
|
ngOnInit() {
|
|
@@ -4955,8 +5145,8 @@ class GoabPageBlock {
|
|
|
4955
5145
|
this.cdr.detectChanges();
|
|
4956
5146
|
});
|
|
4957
5147
|
}
|
|
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.
|
|
5148
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabPageBlock, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5149
|
+
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
5150
|
@if (isReady) {
|
|
4961
5151
|
<goa-page-block [attr.width]="width" [attr.testid]="testId">
|
|
4962
5152
|
<ng-content></ng-content>
|
|
@@ -4964,7 +5154,7 @@ class GoabPageBlock {
|
|
|
4964
5154
|
}
|
|
4965
5155
|
`, isInline: true }); }
|
|
4966
5156
|
}
|
|
4967
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5157
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabPageBlock, decorators: [{
|
|
4968
5158
|
type: Component,
|
|
4969
5159
|
args: [{
|
|
4970
5160
|
standalone: true,
|
|
@@ -4978,16 +5168,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
4978
5168
|
`,
|
|
4979
5169
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
4980
5170
|
}]
|
|
4981
|
-
}],
|
|
5171
|
+
}], propDecorators: { width: [{
|
|
4982
5172
|
type: Input
|
|
4983
5173
|
}], testId: [{
|
|
4984
5174
|
type: Input
|
|
4985
5175
|
}] } });
|
|
4986
5176
|
|
|
5177
|
+
/** Container for paginated content views. */
|
|
4987
5178
|
class GoabPages extends GoabBaseComponent {
|
|
4988
|
-
constructor(
|
|
4989
|
-
super();
|
|
4990
|
-
this.cdr =
|
|
5179
|
+
constructor() {
|
|
5180
|
+
super(...arguments);
|
|
5181
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
4991
5182
|
this.isReady = false;
|
|
4992
5183
|
}
|
|
4993
5184
|
ngOnInit() {
|
|
@@ -4996,8 +5187,8 @@ class GoabPages extends GoabBaseComponent {
|
|
|
4996
5187
|
this.cdr.detectChanges();
|
|
4997
5188
|
});
|
|
4998
5189
|
}
|
|
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.
|
|
5190
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabPages, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
5191
|
+
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
5192
|
@if (isReady) {
|
|
5002
5193
|
<goa-pages
|
|
5003
5194
|
[attr.current]="current"
|
|
@@ -5011,7 +5202,7 @@ class GoabPages extends GoabBaseComponent {
|
|
|
5011
5202
|
}
|
|
5012
5203
|
`, isInline: true }); }
|
|
5013
5204
|
}
|
|
5014
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5205
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabPages, decorators: [{
|
|
5015
5206
|
type: Component,
|
|
5016
5207
|
args: [{
|
|
5017
5208
|
standalone: true,
|
|
@@ -5031,19 +5222,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
5031
5222
|
`,
|
|
5032
5223
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
5033
5224
|
}]
|
|
5034
|
-
}],
|
|
5225
|
+
}], propDecorators: { current: [{
|
|
5035
5226
|
type: Input,
|
|
5036
5227
|
args: [{ transform: numberAttribute }]
|
|
5037
5228
|
}] } });
|
|
5038
5229
|
|
|
5230
|
+
/** Help users navigation between multiple pages or screens as part of a set. */
|
|
5039
5231
|
class GoabPagination extends GoabBaseComponent {
|
|
5040
|
-
constructor(
|
|
5041
|
-
super();
|
|
5042
|
-
this.cdr =
|
|
5232
|
+
constructor() {
|
|
5233
|
+
super(...arguments);
|
|
5234
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
5043
5235
|
this.isReady = false;
|
|
5044
5236
|
this.version = "2";
|
|
5237
|
+
/** Number of data items shown per page. @default 10 */
|
|
5045
5238
|
this.perPageCount = 10;
|
|
5239
|
+
/** Controls which nav controls are visible. @default "all" */
|
|
5046
5240
|
this.variant = "all";
|
|
5241
|
+
/** Emits when the page changes. Emits the new page number as part of the change detail. */
|
|
5047
5242
|
this.onChange = new EventEmitter();
|
|
5048
5243
|
}
|
|
5049
5244
|
ngOnInit() {
|
|
@@ -5056,8 +5251,8 @@ class GoabPagination extends GoabBaseComponent {
|
|
|
5056
5251
|
const detail = e.detail;
|
|
5057
5252
|
this.onChange.emit(detail);
|
|
5058
5253
|
}
|
|
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.
|
|
5254
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabPagination, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
5255
|
+
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
5256
|
@if (isReady) {
|
|
5062
5257
|
<goa-pagination
|
|
5063
5258
|
[attr.version]="version"
|
|
@@ -5076,7 +5271,7 @@ class GoabPagination extends GoabBaseComponent {
|
|
|
5076
5271
|
}
|
|
5077
5272
|
`, isInline: true }); }
|
|
5078
5273
|
}
|
|
5079
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5274
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabPagination, decorators: [{
|
|
5080
5275
|
type: Component,
|
|
5081
5276
|
args: [{
|
|
5082
5277
|
standalone: true,
|
|
@@ -5101,7 +5296,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
5101
5296
|
`,
|
|
5102
5297
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
5103
5298
|
}]
|
|
5104
|
-
}],
|
|
5299
|
+
}], propDecorators: { itemCount: [{
|
|
5105
5300
|
type: Input,
|
|
5106
5301
|
args: [{ required: true }]
|
|
5107
5302
|
}], pageNumber: [{
|
|
@@ -5115,12 +5310,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
5115
5310
|
type: Output
|
|
5116
5311
|
}] } });
|
|
5117
5312
|
|
|
5313
|
+
/** A small overlay that opens on demand, used in other components. */
|
|
5118
5314
|
class GoabPopover extends GoabBaseComponent {
|
|
5119
|
-
constructor(
|
|
5120
|
-
super();
|
|
5121
|
-
this.cdr =
|
|
5315
|
+
constructor() {
|
|
5316
|
+
super(...arguments);
|
|
5317
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
5122
5318
|
this.isReady = false;
|
|
5319
|
+
/** Sets the maximum width of the popover container. @default "320px" */
|
|
5123
5320
|
this.maxWidth = "320px";
|
|
5321
|
+
/** Sets if the popover has padding. Use false when content needs to be flush with boundaries. @default true */
|
|
5124
5322
|
this.padded = true;
|
|
5125
5323
|
}
|
|
5126
5324
|
ngOnInit() {
|
|
@@ -5129,8 +5327,8 @@ class GoabPopover extends GoabBaseComponent {
|
|
|
5129
5327
|
this.cdr.detectChanges();
|
|
5130
5328
|
});
|
|
5131
5329
|
}
|
|
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.
|
|
5330
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabPopover, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
5331
|
+
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
5332
|
@if (isReady) {
|
|
5135
5333
|
<goa-popover
|
|
5136
5334
|
[attr.maxwidth]="maxWidth"
|
|
@@ -5152,7 +5350,7 @@ class GoabPopover extends GoabBaseComponent {
|
|
|
5152
5350
|
}
|
|
5153
5351
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
|
|
5154
5352
|
}
|
|
5155
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5353
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabPopover, decorators: [{
|
|
5156
5354
|
type: Component,
|
|
5157
5355
|
args: [{
|
|
5158
5356
|
standalone: true,
|
|
@@ -5181,7 +5379,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
5181
5379
|
`,
|
|
5182
5380
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
5183
5381
|
}]
|
|
5184
|
-
}],
|
|
5382
|
+
}], propDecorators: { maxWidth: [{
|
|
5185
5383
|
type: Input
|
|
5186
5384
|
}], minWidth: [{
|
|
5187
5385
|
type: Input
|
|
@@ -5196,10 +5394,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
5196
5394
|
args: [{ required: true }]
|
|
5197
5395
|
}] } });
|
|
5198
5396
|
|
|
5397
|
+
/** A panel that pushes the main page content aside on desktop, falling back to an overlay drawer on smaller screens. */
|
|
5199
5398
|
class GoabPushDrawer {
|
|
5200
|
-
constructor(
|
|
5201
|
-
this.cdr =
|
|
5399
|
+
constructor() {
|
|
5400
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
5202
5401
|
this.version = "2";
|
|
5402
|
+
/** Emits when the push drawer closes. */
|
|
5203
5403
|
this.onClose = new EventEmitter();
|
|
5204
5404
|
this.isReady = false;
|
|
5205
5405
|
}
|
|
@@ -5220,8 +5420,8 @@ class GoabPushDrawer {
|
|
|
5220
5420
|
return null;
|
|
5221
5421
|
return this.heading instanceof TemplateRef ? this.heading : null;
|
|
5222
5422
|
}
|
|
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.
|
|
5423
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabPushDrawer, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5424
|
+
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
5425
|
<goa-push-drawer
|
|
5226
5426
|
[open]="open"
|
|
5227
5427
|
[attr.heading]="getHeadingAsString()"
|
|
@@ -5242,7 +5442,7 @@ class GoabPushDrawer {
|
|
|
5242
5442
|
</goa-push-drawer>
|
|
5243
5443
|
} `, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
|
|
5244
5444
|
}
|
|
5245
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5445
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabPushDrawer, decorators: [{
|
|
5246
5446
|
type: Component,
|
|
5247
5447
|
args: [{
|
|
5248
5448
|
standalone: true,
|
|
@@ -5270,7 +5470,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
5270
5470
|
} `,
|
|
5271
5471
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
5272
5472
|
}]
|
|
5273
|
-
}],
|
|
5473
|
+
}], propDecorators: { open: [{
|
|
5274
5474
|
type: Input,
|
|
5275
5475
|
args: [{ transform: booleanAttribute }]
|
|
5276
5476
|
}], heading: [{
|
|
@@ -5285,13 +5485,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
5285
5485
|
type: Output
|
|
5286
5486
|
}] } });
|
|
5287
5487
|
|
|
5488
|
+
/** Allow users to select one option from a set. */
|
|
5288
5489
|
class GoabRadioGroup extends GoabControlValueAccessor {
|
|
5289
|
-
constructor(
|
|
5290
|
-
super(
|
|
5291
|
-
this.cdr =
|
|
5490
|
+
constructor() {
|
|
5491
|
+
super(...arguments);
|
|
5492
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
5292
5493
|
this.isReady = false;
|
|
5293
5494
|
this.version = "2";
|
|
5495
|
+
/** Sets the size of all radio items. 'compact' reduces spacing for dense layouts (V2 only). @default "default" */
|
|
5294
5496
|
this.size = "default";
|
|
5497
|
+
/** Emits when the selected radio item changes. Emits the name, value, and event of the selected item. */
|
|
5295
5498
|
this.onChange = new EventEmitter();
|
|
5296
5499
|
}
|
|
5297
5500
|
ngOnInit() {
|
|
@@ -5309,8 +5512,8 @@ class GoabRadioGroup extends GoabControlValueAccessor {
|
|
|
5309
5512
|
this.onChange.emit(detail);
|
|
5310
5513
|
this.fcChange?.(detail.value);
|
|
5311
5514
|
}
|
|
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.
|
|
5515
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabRadioGroup, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
5516
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabRadioGroup, isStandalone: true, selector: "goab-radio-group", inputs: { name: "name", value: "value", orientation: "orientation", ariaLabel: "ariaLabel", size: "size" }, outputs: { onChange: "onChange" }, providers: [
|
|
5314
5517
|
{
|
|
5315
5518
|
provide: NG_VALUE_ACCESSOR,
|
|
5316
5519
|
multi: true,
|
|
@@ -5341,7 +5544,7 @@ class GoabRadioGroup extends GoabControlValueAccessor {
|
|
|
5341
5544
|
}
|
|
5342
5545
|
`, isInline: true }); }
|
|
5343
5546
|
}
|
|
5344
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5547
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabRadioGroup, decorators: [{
|
|
5345
5548
|
type: Component,
|
|
5346
5549
|
args: [{
|
|
5347
5550
|
standalone: true,
|
|
@@ -5379,7 +5582,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
5379
5582
|
},
|
|
5380
5583
|
],
|
|
5381
5584
|
}]
|
|
5382
|
-
}],
|
|
5585
|
+
}], propDecorators: { name: [{
|
|
5586
|
+
type: Input
|
|
5587
|
+
}], value: [{
|
|
5383
5588
|
type: Input
|
|
5384
5589
|
}], orientation: [{
|
|
5385
5590
|
type: Input
|
|
@@ -5391,10 +5596,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
5391
5596
|
type: Output
|
|
5392
5597
|
}] } });
|
|
5393
5598
|
|
|
5599
|
+
/** Individual radio option within a group. */
|
|
5394
5600
|
class GoabRadioItem extends GoabBaseComponent {
|
|
5395
|
-
constructor(
|
|
5396
|
-
super();
|
|
5397
|
-
this.cdr =
|
|
5601
|
+
constructor() {
|
|
5602
|
+
super(...arguments);
|
|
5603
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
5398
5604
|
this.isReady = false;
|
|
5399
5605
|
this.version = "2";
|
|
5400
5606
|
}
|
|
@@ -5416,8 +5622,8 @@ class GoabRadioItem extends GoabBaseComponent {
|
|
|
5416
5622
|
return null;
|
|
5417
5623
|
return this.description instanceof TemplateRef ? this.description : null;
|
|
5418
5624
|
}
|
|
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.
|
|
5625
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabRadioItem, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
5626
|
+
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
5627
|
@if (isReady) {
|
|
5422
5628
|
<goa-radio-item
|
|
5423
5629
|
[attr.version]="version"
|
|
@@ -5450,7 +5656,7 @@ class GoabRadioItem extends GoabBaseComponent {
|
|
|
5450
5656
|
}
|
|
5451
5657
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
|
|
5452
5658
|
}
|
|
5453
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5659
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabRadioItem, decorators: [{
|
|
5454
5660
|
type: Component,
|
|
5455
5661
|
args: [{
|
|
5456
5662
|
standalone: true,
|
|
@@ -5490,7 +5696,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
5490
5696
|
imports: [NgTemplateOutlet],
|
|
5491
5697
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
5492
5698
|
}]
|
|
5493
|
-
}],
|
|
5699
|
+
}], propDecorators: { value: [{
|
|
5494
5700
|
type: Input
|
|
5495
5701
|
}], label: [{
|
|
5496
5702
|
type: Input
|
|
@@ -5520,9 +5726,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
5520
5726
|
args: [{ transform: booleanAttribute }]
|
|
5521
5727
|
}] } });
|
|
5522
5728
|
|
|
5729
|
+
/** A side navigation that helps the user navigate between pages. */
|
|
5523
5730
|
class GoabSideMenu {
|
|
5524
|
-
constructor(
|
|
5525
|
-
this.cdr =
|
|
5731
|
+
constructor() {
|
|
5732
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
5526
5733
|
this.isReady = false;
|
|
5527
5734
|
this.version = "2";
|
|
5528
5735
|
}
|
|
@@ -5532,8 +5739,8 @@ class GoabSideMenu {
|
|
|
5532
5739
|
this.cdr.detectChanges();
|
|
5533
5740
|
});
|
|
5534
5741
|
}
|
|
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.
|
|
5742
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabSideMenu, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5743
|
+
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
5744
|
@if (isReady) {
|
|
5538
5745
|
<goa-side-menu [attr.version]="version" [attr.testid]="testId">
|
|
5539
5746
|
<ng-content />
|
|
@@ -5541,7 +5748,7 @@ class GoabSideMenu {
|
|
|
5541
5748
|
}
|
|
5542
5749
|
`, isInline: true }); }
|
|
5543
5750
|
}
|
|
5544
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5751
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabSideMenu, decorators: [{
|
|
5545
5752
|
type: Component,
|
|
5546
5753
|
args: [{
|
|
5547
5754
|
standalone: true,
|
|
@@ -5555,14 +5762,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
5555
5762
|
`,
|
|
5556
5763
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
5557
5764
|
}]
|
|
5558
|
-
}],
|
|
5765
|
+
}], propDecorators: { testId: [{
|
|
5559
5766
|
type: Input
|
|
5560
5767
|
}] } });
|
|
5561
5768
|
|
|
5769
|
+
/** Group of related side menu items. */
|
|
5562
5770
|
class GoabSideMenuGroup extends GoabBaseComponent {
|
|
5563
|
-
constructor(
|
|
5564
|
-
super();
|
|
5565
|
-
this.cdr =
|
|
5771
|
+
constructor() {
|
|
5772
|
+
super(...arguments);
|
|
5773
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
5566
5774
|
this.isReady = false;
|
|
5567
5775
|
this.version = "2";
|
|
5568
5776
|
}
|
|
@@ -5572,8 +5780,8 @@ class GoabSideMenuGroup extends GoabBaseComponent {
|
|
|
5572
5780
|
this.cdr.detectChanges();
|
|
5573
5781
|
});
|
|
5574
5782
|
}
|
|
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.
|
|
5783
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabSideMenuGroup, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
5784
|
+
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
5785
|
@if (isReady) {
|
|
5578
5786
|
<goa-side-menu-group
|
|
5579
5787
|
[attr.version]="version"
|
|
@@ -5590,7 +5798,7 @@ class GoabSideMenuGroup extends GoabBaseComponent {
|
|
|
5590
5798
|
}
|
|
5591
5799
|
`, isInline: true }); }
|
|
5592
5800
|
}
|
|
5593
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5801
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabSideMenuGroup, decorators: [{
|
|
5594
5802
|
type: Component,
|
|
5595
5803
|
args: [{
|
|
5596
5804
|
standalone: true,
|
|
@@ -5613,16 +5821,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
5613
5821
|
`,
|
|
5614
5822
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
5615
5823
|
}]
|
|
5616
|
-
}],
|
|
5824
|
+
}], propDecorators: { heading: [{
|
|
5617
5825
|
type: Input,
|
|
5618
5826
|
args: [{ required: true }]
|
|
5619
5827
|
}], icon: [{
|
|
5620
5828
|
type: Input
|
|
5621
5829
|
}] } });
|
|
5622
5830
|
|
|
5831
|
+
/** Section heading in side menu. */
|
|
5623
5832
|
class GoabSideMenuHeading {
|
|
5624
|
-
constructor(
|
|
5625
|
-
this.cdr =
|
|
5833
|
+
constructor() {
|
|
5834
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
5626
5835
|
this.isReady = false;
|
|
5627
5836
|
this.version = "2";
|
|
5628
5837
|
}
|
|
@@ -5632,8 +5841,8 @@ class GoabSideMenuHeading {
|
|
|
5632
5841
|
this.cdr.detectChanges();
|
|
5633
5842
|
});
|
|
5634
5843
|
}
|
|
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.
|
|
5844
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabSideMenuHeading, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5845
|
+
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
5846
|
@if (isReady) {
|
|
5638
5847
|
<goa-side-menu-heading
|
|
5639
5848
|
[attr.version]="version"
|
|
@@ -5648,7 +5857,7 @@ class GoabSideMenuHeading {
|
|
|
5648
5857
|
}
|
|
5649
5858
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
|
|
5650
5859
|
}
|
|
5651
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5860
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabSideMenuHeading, decorators: [{
|
|
5652
5861
|
type: Component,
|
|
5653
5862
|
args: [{
|
|
5654
5863
|
standalone: true,
|
|
@@ -5670,7 +5879,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
5670
5879
|
`,
|
|
5671
5880
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
5672
5881
|
}]
|
|
5673
|
-
}],
|
|
5882
|
+
}], propDecorators: { icon: [{
|
|
5674
5883
|
type: Input
|
|
5675
5884
|
}], testId: [{
|
|
5676
5885
|
type: Input
|
|
@@ -5678,11 +5887,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
5678
5887
|
type: Input
|
|
5679
5888
|
}] } });
|
|
5680
5889
|
|
|
5890
|
+
/** Provide visual feedback to users while loading a content heavy page or page element. */
|
|
5681
5891
|
class GoabSkeleton extends GoabBaseComponent {
|
|
5682
|
-
constructor(
|
|
5683
|
-
super();
|
|
5684
|
-
this.cdr =
|
|
5892
|
+
constructor() {
|
|
5893
|
+
super(...arguments);
|
|
5894
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
5685
5895
|
this.isReady = false;
|
|
5896
|
+
/** Sets the maximum width. Currently only used in card skeleton type. @default "300px" */
|
|
5686
5897
|
this.maxWidth = "300px";
|
|
5687
5898
|
}
|
|
5688
5899
|
ngOnInit() {
|
|
@@ -5691,8 +5902,8 @@ class GoabSkeleton extends GoabBaseComponent {
|
|
|
5691
5902
|
this.cdr.detectChanges();
|
|
5692
5903
|
});
|
|
5693
5904
|
}
|
|
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.
|
|
5905
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabSkeleton, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
5906
|
+
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
5907
|
@if (isReady) {
|
|
5697
5908
|
<goa-skeleton
|
|
5698
5909
|
[attr.maxwidth]="maxWidth"
|
|
@@ -5709,7 +5920,7 @@ class GoabSkeleton extends GoabBaseComponent {
|
|
|
5709
5920
|
}
|
|
5710
5921
|
`, isInline: true }); }
|
|
5711
5922
|
}
|
|
5712
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5923
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabSkeleton, decorators: [{
|
|
5713
5924
|
type: Component,
|
|
5714
5925
|
args: [{
|
|
5715
5926
|
standalone: true,
|
|
@@ -5732,7 +5943,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
5732
5943
|
`,
|
|
5733
5944
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
5734
5945
|
}]
|
|
5735
|
-
}],
|
|
5946
|
+
}], propDecorators: { type: [{
|
|
5736
5947
|
type: Input,
|
|
5737
5948
|
args: [{ required: true }]
|
|
5738
5949
|
}], maxWidth: [{
|
|
@@ -5744,9 +5955,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
5744
5955
|
args: [{ transform: numberAttribute }]
|
|
5745
5956
|
}] } });
|
|
5746
5957
|
|
|
5958
|
+
/** Negative area between the components and the interface. */
|
|
5747
5959
|
class GoabSpacer {
|
|
5748
|
-
constructor(
|
|
5749
|
-
this.cdr =
|
|
5960
|
+
constructor() {
|
|
5961
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
5750
5962
|
this.isReady = false;
|
|
5751
5963
|
}
|
|
5752
5964
|
ngOnInit() {
|
|
@@ -5755,8 +5967,8 @@ class GoabSpacer {
|
|
|
5755
5967
|
this.cdr.detectChanges();
|
|
5756
5968
|
});
|
|
5757
5969
|
}
|
|
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.
|
|
5970
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabSpacer, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5971
|
+
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
5972
|
@if (isReady) {
|
|
5761
5973
|
<goa-spacer
|
|
5762
5974
|
[attr.hspacing]="hSpacing"
|
|
@@ -5767,7 +5979,7 @@ class GoabSpacer {
|
|
|
5767
5979
|
}
|
|
5768
5980
|
`, isInline: true }); }
|
|
5769
5981
|
}
|
|
5770
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5982
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabSpacer, decorators: [{
|
|
5771
5983
|
type: Component,
|
|
5772
5984
|
args: [{
|
|
5773
5985
|
standalone: true,
|
|
@@ -5784,7 +5996,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
5784
5996
|
`,
|
|
5785
5997
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
5786
5998
|
}]
|
|
5787
|
-
}],
|
|
5999
|
+
}], propDecorators: { hSpacing: [{
|
|
5788
6000
|
type: Input
|
|
5789
6001
|
}], vSpacing: [{
|
|
5790
6002
|
type: Input
|
|
@@ -5792,9 +6004,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
5792
6004
|
type: Input
|
|
5793
6005
|
}] } });
|
|
5794
6006
|
|
|
6007
|
+
/** Individual tab within a tabs component. */
|
|
5795
6008
|
class GoabTab {
|
|
5796
|
-
constructor(
|
|
5797
|
-
this.cdr =
|
|
6009
|
+
constructor() {
|
|
6010
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
5798
6011
|
this.isReady = false;
|
|
5799
6012
|
}
|
|
5800
6013
|
ngOnInit() {
|
|
@@ -5811,8 +6024,8 @@ class GoabTab {
|
|
|
5811
6024
|
return null;
|
|
5812
6025
|
return this.heading instanceof TemplateRef ? this.heading : null;
|
|
5813
6026
|
}
|
|
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.
|
|
6027
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabTab, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6028
|
+
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
6029
|
@if (isReady) {
|
|
5817
6030
|
<goa-tab
|
|
5818
6031
|
[attr.slug]="slug"
|
|
@@ -5829,7 +6042,7 @@ class GoabTab {
|
|
|
5829
6042
|
}
|
|
5830
6043
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
|
|
5831
6044
|
}
|
|
5832
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6045
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabTab, decorators: [{
|
|
5833
6046
|
type: Component,
|
|
5834
6047
|
args: [{
|
|
5835
6048
|
standalone: true,
|
|
@@ -5853,7 +6066,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
5853
6066
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
5854
6067
|
imports: [NgTemplateOutlet],
|
|
5855
6068
|
}]
|
|
5856
|
-
}],
|
|
6069
|
+
}], propDecorators: { heading: [{
|
|
5857
6070
|
type: Input
|
|
5858
6071
|
}], disabled: [{
|
|
5859
6072
|
type: Input,
|
|
@@ -5862,13 +6075,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
5862
6075
|
type: Input
|
|
5863
6076
|
}] } });
|
|
5864
6077
|
|
|
6078
|
+
/** A set of structured data that is easy for a user to scan, examine, and compare. */
|
|
5865
6079
|
class GoabTable extends GoabBaseComponent {
|
|
5866
|
-
constructor(
|
|
5867
|
-
super();
|
|
5868
|
-
this.cdr =
|
|
6080
|
+
constructor() {
|
|
6081
|
+
super(...arguments);
|
|
6082
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
5869
6083
|
this.isReady = false;
|
|
5870
6084
|
this.version = "2";
|
|
6085
|
+
/** Emits when a table column is sorted. Emits the sort column and direction as GoabTableOnSortDetail. */
|
|
5871
6086
|
this.onSort = new EventEmitter();
|
|
6087
|
+
/** Emits when multi-column sorting changes. Emits an array of sort entries as GoabTableOnMultiSortDetail. */
|
|
5872
6088
|
this.onMultiSort = new EventEmitter();
|
|
5873
6089
|
}
|
|
5874
6090
|
ngOnInit() {
|
|
@@ -5885,8 +6101,8 @@ class GoabTable extends GoabBaseComponent {
|
|
|
5885
6101
|
const detail = e.detail;
|
|
5886
6102
|
this.onMultiSort.emit(detail);
|
|
5887
6103
|
}
|
|
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.
|
|
6104
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabTable, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
6105
|
+
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
6106
|
@if (isReady) {
|
|
5891
6107
|
<goa-table
|
|
5892
6108
|
[attr.version]="version"
|
|
@@ -5909,7 +6125,7 @@ class GoabTable extends GoabBaseComponent {
|
|
|
5909
6125
|
}
|
|
5910
6126
|
`, isInline: true }); }
|
|
5911
6127
|
}
|
|
5912
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6128
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabTable, decorators: [{
|
|
5913
6129
|
type: Component,
|
|
5914
6130
|
args: [{
|
|
5915
6131
|
standalone: true,
|
|
@@ -5938,7 +6154,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
5938
6154
|
`,
|
|
5939
6155
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
5940
6156
|
}]
|
|
5941
|
-
}],
|
|
6157
|
+
}], propDecorators: { width: [{
|
|
5942
6158
|
type: Input
|
|
5943
6159
|
}], variant: [{
|
|
5944
6160
|
type: Input
|
|
@@ -5953,10 +6169,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
5953
6169
|
type: Output
|
|
5954
6170
|
}] } });
|
|
5955
6171
|
|
|
6172
|
+
/** A set of structured data that is easy for a user to scan, examine, and compare. */
|
|
5956
6173
|
class GoabTableSortHeader {
|
|
5957
|
-
constructor(
|
|
5958
|
-
this.cdr =
|
|
6174
|
+
constructor() {
|
|
6175
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
5959
6176
|
this.isReady = false;
|
|
6177
|
+
/** Sets the sort direction indicator. @default "none" */
|
|
5960
6178
|
this.direction = "none";
|
|
5961
6179
|
}
|
|
5962
6180
|
ngOnInit() {
|
|
@@ -5965,8 +6183,8 @@ class GoabTableSortHeader {
|
|
|
5965
6183
|
this.cdr.detectChanges();
|
|
5966
6184
|
});
|
|
5967
6185
|
}
|
|
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.
|
|
6186
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabTableSortHeader, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6187
|
+
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
6188
|
@if (isReady) {
|
|
5971
6189
|
<goa-table-sort-header
|
|
5972
6190
|
[attr.name]="name"
|
|
@@ -5978,7 +6196,7 @@ class GoabTableSortHeader {
|
|
|
5978
6196
|
}
|
|
5979
6197
|
`, isInline: true }); }
|
|
5980
6198
|
}
|
|
5981
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6199
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabTableSortHeader, decorators: [{
|
|
5982
6200
|
type: Component,
|
|
5983
6201
|
args: [{
|
|
5984
6202
|
standalone: true,
|
|
@@ -5996,7 +6214,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
5996
6214
|
`,
|
|
5997
6215
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
5998
6216
|
}]
|
|
5999
|
-
}],
|
|
6217
|
+
}], propDecorators: { name: [{
|
|
6000
6218
|
type: Input
|
|
6001
6219
|
}], direction: [{
|
|
6002
6220
|
type: Input
|
|
@@ -6004,11 +6222,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6004
6222
|
type: Input
|
|
6005
6223
|
}] } });
|
|
6006
6224
|
|
|
6225
|
+
/** Let users navigate between related sections of content, displaying one section at a time. */
|
|
6007
6226
|
class GoabTabs {
|
|
6008
|
-
constructor(
|
|
6009
|
-
this.cdr =
|
|
6227
|
+
constructor() {
|
|
6228
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
6010
6229
|
this.isReady = false;
|
|
6011
6230
|
this.version = "2";
|
|
6231
|
+
/** Emits when the active tab changes. Emits the new tab index as GoabTabsOnChangeDetail. */
|
|
6012
6232
|
this.onChange = new EventEmitter();
|
|
6013
6233
|
}
|
|
6014
6234
|
ngOnInit() {
|
|
@@ -6021,8 +6241,8 @@ class GoabTabs {
|
|
|
6021
6241
|
const detail = e.detail;
|
|
6022
6242
|
this.onChange.emit(detail);
|
|
6023
6243
|
}
|
|
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.
|
|
6244
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabTabs, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6245
|
+
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
6246
|
@if (isReady) {
|
|
6027
6247
|
<goa-tabs
|
|
6028
6248
|
[attr.version]="version"
|
|
@@ -6038,7 +6258,7 @@ class GoabTabs {
|
|
|
6038
6258
|
}
|
|
6039
6259
|
`, isInline: true }); }
|
|
6040
6260
|
}
|
|
6041
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6261
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabTabs, decorators: [{
|
|
6042
6262
|
type: Component,
|
|
6043
6263
|
args: [{
|
|
6044
6264
|
standalone: true,
|
|
@@ -6060,7 +6280,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6060
6280
|
`,
|
|
6061
6281
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
6062
6282
|
}]
|
|
6063
|
-
}],
|
|
6283
|
+
}], propDecorators: { initialTab: [{
|
|
6064
6284
|
type: Input,
|
|
6065
6285
|
args: [{ transform: numberAttribute }]
|
|
6066
6286
|
}], testId: [{
|
|
@@ -6075,11 +6295,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6075
6295
|
type: Output
|
|
6076
6296
|
}] } });
|
|
6077
6297
|
|
|
6298
|
+
/** A notification that appears at the bottom of the screen. */
|
|
6078
6299
|
class GoabTemporaryNotificationCtrl {
|
|
6079
|
-
constructor(
|
|
6080
|
-
this.cdr =
|
|
6300
|
+
constructor() {
|
|
6301
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
6081
6302
|
this.isReady = false;
|
|
6303
|
+
/** Vertical position of the notification container. @default "bottom" */
|
|
6082
6304
|
this.verticalPosition = "bottom";
|
|
6305
|
+
/** Horizontal position of the notification container. @default "center" */
|
|
6083
6306
|
this.horizontalPosition = "center";
|
|
6084
6307
|
}
|
|
6085
6308
|
ngOnInit() {
|
|
@@ -6088,8 +6311,8 @@ class GoabTemporaryNotificationCtrl {
|
|
|
6088
6311
|
this.cdr.detectChanges();
|
|
6089
6312
|
});
|
|
6090
6313
|
}
|
|
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.
|
|
6314
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabTemporaryNotificationCtrl, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6315
|
+
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
6316
|
@if (isReady) {
|
|
6094
6317
|
<goa-temp-notification-ctrl
|
|
6095
6318
|
[attr.vertical-position]="verticalPosition"
|
|
@@ -6100,7 +6323,7 @@ class GoabTemporaryNotificationCtrl {
|
|
|
6100
6323
|
}
|
|
6101
6324
|
`, isInline: true }); }
|
|
6102
6325
|
}
|
|
6103
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6326
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabTemporaryNotificationCtrl, decorators: [{
|
|
6104
6327
|
type: Component,
|
|
6105
6328
|
args: [{
|
|
6106
6329
|
standalone: true,
|
|
@@ -6117,7 +6340,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6117
6340
|
`,
|
|
6118
6341
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
6119
6342
|
}]
|
|
6120
|
-
}],
|
|
6343
|
+
}], propDecorators: { verticalPosition: [{
|
|
6121
6344
|
type: Input
|
|
6122
6345
|
}], horizontalPosition: [{
|
|
6123
6346
|
type: Input
|
|
@@ -6125,7 +6348,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6125
6348
|
type: Input
|
|
6126
6349
|
}] } });
|
|
6127
6350
|
|
|
6351
|
+
/** Provides consistent sizing, spacing, and colour to written content. */
|
|
6128
6352
|
class GoabText {
|
|
6353
|
+
constructor() {
|
|
6354
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
6355
|
+
this.isReady = false;
|
|
6356
|
+
}
|
|
6129
6357
|
/*
|
|
6130
6358
|
This is necessary because angular outputs two elements, <goab-text> and <goa-text>
|
|
6131
6359
|
This removes the id from <goa-text> and only outputs it to <goab-text>
|
|
@@ -6133,10 +6361,6 @@ class GoabText {
|
|
|
6133
6361
|
get hostId() {
|
|
6134
6362
|
return this.id;
|
|
6135
6363
|
}
|
|
6136
|
-
constructor(cdr) {
|
|
6137
|
-
this.cdr = cdr;
|
|
6138
|
-
this.isReady = false;
|
|
6139
|
-
}
|
|
6140
6364
|
ngOnInit() {
|
|
6141
6365
|
// For Angular 20, we need to delay rendering the web component
|
|
6142
6366
|
// to ensure all attributes are properly bound before the component initializes
|
|
@@ -6145,8 +6369,8 @@ class GoabText {
|
|
|
6145
6369
|
this.cdr.detectChanges();
|
|
6146
6370
|
}, 0);
|
|
6147
6371
|
}
|
|
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.
|
|
6372
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabText, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6373
|
+
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
6374
|
@if (isReady) {
|
|
6151
6375
|
<goa-text
|
|
6152
6376
|
[attr.as]="tag"
|
|
@@ -6163,7 +6387,7 @@ class GoabText {
|
|
|
6163
6387
|
}
|
|
6164
6388
|
`, isInline: true }); }
|
|
6165
6389
|
}
|
|
6166
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6390
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabText, decorators: [{
|
|
6167
6391
|
type: Component,
|
|
6168
6392
|
args: [{
|
|
6169
6393
|
standalone: true,
|
|
@@ -6186,7 +6410,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6186
6410
|
`,
|
|
6187
6411
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
6188
6412
|
}]
|
|
6189
|
-
}],
|
|
6413
|
+
}], propDecorators: { tag: [{
|
|
6190
6414
|
type: Input
|
|
6191
6415
|
}], size: [{
|
|
6192
6416
|
type: Input
|
|
@@ -6209,16 +6433,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6209
6433
|
type: Input
|
|
6210
6434
|
}] } });
|
|
6211
6435
|
|
|
6436
|
+
/** A multi-line field where users can input and edit text. */
|
|
6212
6437
|
class GoabTextArea extends GoabControlValueAccessor {
|
|
6213
|
-
constructor(
|
|
6214
|
-
super(
|
|
6215
|
-
this.cdr =
|
|
6438
|
+
constructor() {
|
|
6439
|
+
super(...arguments);
|
|
6440
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
6441
|
+
/** Counting interval for characters or words, specifying whether to count every character or word. @default "" */
|
|
6216
6442
|
this.countBy = "";
|
|
6443
|
+
/** Maximum number of characters or words allowed. @default -1 */
|
|
6217
6444
|
this.maxCount = -1;
|
|
6445
|
+
/** Specifies the autocomplete attribute for the textarea input. @default "on" */
|
|
6218
6446
|
this.autoComplete = "on";
|
|
6447
|
+
/** Sets the size variant of the textarea. @default "default" */
|
|
6219
6448
|
this.size = "default";
|
|
6449
|
+
/** Emits when the textarea value changes. Emits the name and new value. */
|
|
6220
6450
|
this.onChange = new EventEmitter();
|
|
6451
|
+
/** Emits when a key is pressed in the textarea. Emits the name, value, and key. */
|
|
6221
6452
|
this.onKeyPress = new EventEmitter();
|
|
6453
|
+
/** Emits when the textarea loses focus. Emits the name and current value. */
|
|
6222
6454
|
this.onBlur = new EventEmitter();
|
|
6223
6455
|
this.isReady = false;
|
|
6224
6456
|
this.version = "2";
|
|
@@ -6250,8 +6482,8 @@ class GoabTextArea extends GoabControlValueAccessor {
|
|
|
6250
6482
|
this.markAsTouched();
|
|
6251
6483
|
this.onBlur.emit(detail);
|
|
6252
6484
|
}
|
|
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.
|
|
6485
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabTextArea, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
6486
|
+
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
6487
|
{
|
|
6256
6488
|
provide: NG_VALUE_ACCESSOR,
|
|
6257
6489
|
multi: true,
|
|
@@ -6289,7 +6521,7 @@ class GoabTextArea extends GoabControlValueAccessor {
|
|
|
6289
6521
|
}
|
|
6290
6522
|
`, isInline: true }); }
|
|
6291
6523
|
}
|
|
6292
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6524
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabTextArea, decorators: [{
|
|
6293
6525
|
type: Component,
|
|
6294
6526
|
args: [{
|
|
6295
6527
|
standalone: true,
|
|
@@ -6334,7 +6566,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6334
6566
|
},
|
|
6335
6567
|
],
|
|
6336
6568
|
}]
|
|
6337
|
-
}],
|
|
6569
|
+
}], propDecorators: { name: [{
|
|
6338
6570
|
type: Input
|
|
6339
6571
|
}], placeholder: [{
|
|
6340
6572
|
type: Input
|
|
@@ -6366,10 +6598,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6366
6598
|
type: Output
|
|
6367
6599
|
}] } });
|
|
6368
6600
|
|
|
6601
|
+
/** A small popover that displays more information about an item. */
|
|
6369
6602
|
class GoabTooltip extends GoabBaseComponent {
|
|
6370
|
-
constructor(
|
|
6371
|
-
super();
|
|
6372
|
-
this.cdr =
|
|
6603
|
+
constructor() {
|
|
6604
|
+
super(...arguments);
|
|
6605
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
6373
6606
|
this.isReady = false;
|
|
6374
6607
|
}
|
|
6375
6608
|
ngOnInit() {
|
|
@@ -6386,8 +6619,8 @@ class GoabTooltip extends GoabBaseComponent {
|
|
|
6386
6619
|
return null;
|
|
6387
6620
|
return this.content instanceof TemplateRef ? this.content : null;
|
|
6388
6621
|
}
|
|
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.
|
|
6622
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabTooltip, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
6623
|
+
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
6624
|
@if (isReady) {
|
|
6392
6625
|
<goa-tooltip
|
|
6393
6626
|
[attr.position]="position"
|
|
@@ -6411,7 +6644,7 @@ class GoabTooltip extends GoabBaseComponent {
|
|
|
6411
6644
|
}
|
|
6412
6645
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
|
|
6413
6646
|
}
|
|
6414
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6647
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabTooltip, decorators: [{
|
|
6415
6648
|
type: Component,
|
|
6416
6649
|
args: [{
|
|
6417
6650
|
standalone: true,
|
|
@@ -6442,7 +6675,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6442
6675
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
6443
6676
|
imports: [NgTemplateOutlet],
|
|
6444
6677
|
}]
|
|
6445
|
-
}],
|
|
6678
|
+
}], propDecorators: { position: [{
|
|
6446
6679
|
type: Input
|
|
6447
6680
|
}], content: [{
|
|
6448
6681
|
type: Input
|
|
@@ -6452,10 +6685,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6452
6685
|
type: Input
|
|
6453
6686
|
}] } });
|
|
6454
6687
|
|
|
6688
|
+
/** Side menu variant for worker applications. */
|
|
6455
6689
|
class GoabWorkSideMenu {
|
|
6456
|
-
constructor(
|
|
6457
|
-
this.cdr =
|
|
6690
|
+
constructor() {
|
|
6691
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
6692
|
+
/** Emits when the side menu is toggled open or closed. */
|
|
6458
6693
|
this.onToggle = new EventEmitter();
|
|
6694
|
+
/** Emits when a navigation link is clicked. Emits the URL as a string. */
|
|
6459
6695
|
this.onNavigate = new EventEmitter();
|
|
6460
6696
|
this.isReady = false;
|
|
6461
6697
|
}
|
|
@@ -6473,8 +6709,8 @@ class GoabWorkSideMenu {
|
|
|
6473
6709
|
_onNavigate(e) {
|
|
6474
6710
|
this.onNavigate.emit(e.detail.url);
|
|
6475
6711
|
}
|
|
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.
|
|
6712
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabWorkSideMenu, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6713
|
+
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
6714
|
@if (isReady) {
|
|
6479
6715
|
<goa-work-side-menu
|
|
6480
6716
|
[open]="open ?? false"
|
|
@@ -6499,7 +6735,7 @@ class GoabWorkSideMenu {
|
|
|
6499
6735
|
}
|
|
6500
6736
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
|
|
6501
6737
|
}
|
|
6502
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6738
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabWorkSideMenu, decorators: [{
|
|
6503
6739
|
type: Component,
|
|
6504
6740
|
args: [{
|
|
6505
6741
|
standalone: true,
|
|
@@ -6531,7 +6767,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6531
6767
|
`,
|
|
6532
6768
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
6533
6769
|
}]
|
|
6534
|
-
}],
|
|
6770
|
+
}], propDecorators: { heading: [{
|
|
6535
6771
|
type: Input,
|
|
6536
6772
|
args: [{ required: true }]
|
|
6537
6773
|
}], url: [{
|
|
@@ -6558,9 +6794,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6558
6794
|
type: Output
|
|
6559
6795
|
}] } });
|
|
6560
6796
|
|
|
6797
|
+
/** Collapsible group of items within the work side menu. */
|
|
6561
6798
|
class GoabWorkSideMenuGroup {
|
|
6562
|
-
constructor(
|
|
6563
|
-
this.cdr =
|
|
6799
|
+
constructor() {
|
|
6800
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
6564
6801
|
this.isReady = false;
|
|
6565
6802
|
}
|
|
6566
6803
|
ngOnInit() {
|
|
@@ -6571,8 +6808,8 @@ class GoabWorkSideMenuGroup {
|
|
|
6571
6808
|
this.cdr.detectChanges();
|
|
6572
6809
|
}, 0);
|
|
6573
6810
|
}
|
|
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.
|
|
6811
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabWorkSideMenuGroup, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6812
|
+
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
6813
|
@if (isReady) {
|
|
6577
6814
|
<goa-work-side-menu-group
|
|
6578
6815
|
[attr.heading]="heading"
|
|
@@ -6585,7 +6822,7 @@ class GoabWorkSideMenuGroup {
|
|
|
6585
6822
|
}
|
|
6586
6823
|
`, isInline: true }); }
|
|
6587
6824
|
}
|
|
6588
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6825
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabWorkSideMenuGroup, decorators: [{
|
|
6589
6826
|
type: Component,
|
|
6590
6827
|
args: [{
|
|
6591
6828
|
standalone: true,
|
|
@@ -6604,7 +6841,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6604
6841
|
`,
|
|
6605
6842
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
6606
6843
|
}]
|
|
6607
|
-
}],
|
|
6844
|
+
}], propDecorators: { heading: [{
|
|
6608
6845
|
type: Input,
|
|
6609
6846
|
args: [{ required: true }]
|
|
6610
6847
|
}], icon: [{
|
|
@@ -6616,9 +6853,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6616
6853
|
type: Input
|
|
6617
6854
|
}] } });
|
|
6618
6855
|
|
|
6856
|
+
/** Individual menu item within the work side menu. */
|
|
6619
6857
|
class GoabWorkSideMenuItem {
|
|
6620
|
-
constructor(
|
|
6621
|
-
this.cdr =
|
|
6858
|
+
constructor() {
|
|
6859
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
6860
|
+
/** Sets the visual style of the badge. Use "emergency" for urgent items, "success" for positive status. @default "normal" */
|
|
6622
6861
|
this.type = "normal";
|
|
6623
6862
|
this.isReady = false;
|
|
6624
6863
|
}
|
|
@@ -6630,8 +6869,8 @@ class GoabWorkSideMenuItem {
|
|
|
6630
6869
|
this.cdr.detectChanges();
|
|
6631
6870
|
}, 0);
|
|
6632
6871
|
}
|
|
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.
|
|
6872
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabWorkSideMenuItem, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6873
|
+
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
6874
|
@if (isReady) {
|
|
6636
6875
|
<goa-work-side-menu-item
|
|
6637
6876
|
[attr.label]="label"
|
|
@@ -6653,7 +6892,7 @@ class GoabWorkSideMenuItem {
|
|
|
6653
6892
|
}
|
|
6654
6893
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
|
|
6655
6894
|
}
|
|
6656
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6895
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabWorkSideMenuItem, decorators: [{
|
|
6657
6896
|
type: Component,
|
|
6658
6897
|
args: [{
|
|
6659
6898
|
standalone: true,
|
|
@@ -6682,7 +6921,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6682
6921
|
`,
|
|
6683
6922
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
6684
6923
|
}]
|
|
6685
|
-
}],
|
|
6924
|
+
}], propDecorators: { label: [{
|
|
6686
6925
|
type: Input,
|
|
6687
6926
|
args: [{ required: true }]
|
|
6688
6927
|
}], url: [{
|
|
@@ -6703,9 +6942,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6703
6942
|
type: Input
|
|
6704
6943
|
}] } });
|
|
6705
6944
|
|
|
6945
|
+
/** Displays an individual notification item in the work-side notification panel. */
|
|
6706
6946
|
class GoabWorkSideNotificationItem {
|
|
6707
|
-
constructor(
|
|
6708
|
-
this.cdr =
|
|
6947
|
+
constructor() {
|
|
6948
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
6949
|
+
/** Emits when the notification item is clicked. */
|
|
6709
6950
|
this.onClick = new EventEmitter();
|
|
6710
6951
|
this.isReady = false;
|
|
6711
6952
|
}
|
|
@@ -6718,44 +6959,44 @@ class GoabWorkSideNotificationItem {
|
|
|
6718
6959
|
_onClick() {
|
|
6719
6960
|
this.onClick.emit();
|
|
6720
6961
|
}
|
|
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.
|
|
6962
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabWorkSideNotificationItem, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6963
|
+
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
6964
|
@if (isReady) {
|
|
6724
|
-
|
|
6725
|
-
|
|
6726
|
-
|
|
6727
|
-
|
|
6728
|
-
|
|
6729
|
-
|
|
6730
|
-
|
|
6731
|
-
|
|
6732
|
-
|
|
6733
|
-
|
|
6965
|
+
<goa-work-side-notification-item
|
|
6966
|
+
[attr.type]="type"
|
|
6967
|
+
[attr.timestamp]="timestamp"
|
|
6968
|
+
[attr.title]="title"
|
|
6969
|
+
[attr.description]="description"
|
|
6970
|
+
[attr.read-status]="readStatus"
|
|
6971
|
+
[attr.priority]="priority"
|
|
6972
|
+
[attr.testid]="testId"
|
|
6973
|
+
(_click)="_onClick()"
|
|
6974
|
+
/>
|
|
6734
6975
|
}
|
|
6735
6976
|
`, isInline: true }); }
|
|
6736
6977
|
}
|
|
6737
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6978
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabWorkSideNotificationItem, decorators: [{
|
|
6738
6979
|
type: Component,
|
|
6739
6980
|
args: [{
|
|
6740
6981
|
standalone: true,
|
|
6741
6982
|
selector: "goab-work-side-notification-item", // eslint-disable-line
|
|
6742
6983
|
template: `
|
|
6743
6984
|
@if (isReady) {
|
|
6744
|
-
|
|
6745
|
-
|
|
6746
|
-
|
|
6747
|
-
|
|
6748
|
-
|
|
6749
|
-
|
|
6750
|
-
|
|
6751
|
-
|
|
6752
|
-
|
|
6753
|
-
|
|
6985
|
+
<goa-work-side-notification-item
|
|
6986
|
+
[attr.type]="type"
|
|
6987
|
+
[attr.timestamp]="timestamp"
|
|
6988
|
+
[attr.title]="title"
|
|
6989
|
+
[attr.description]="description"
|
|
6990
|
+
[attr.read-status]="readStatus"
|
|
6991
|
+
[attr.priority]="priority"
|
|
6992
|
+
[attr.testid]="testId"
|
|
6993
|
+
(_click)="_onClick()"
|
|
6994
|
+
/>
|
|
6754
6995
|
}
|
|
6755
6996
|
`,
|
|
6756
6997
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
6757
6998
|
}]
|
|
6758
|
-
}],
|
|
6999
|
+
}], propDecorators: { type: [{
|
|
6759
7000
|
type: Input
|
|
6760
7001
|
}], timestamp: [{
|
|
6761
7002
|
type: Input
|
|
@@ -6774,10 +7015,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6774
7015
|
type: Output
|
|
6775
7016
|
}] } });
|
|
6776
7017
|
|
|
7018
|
+
/** Displays a panel of work-side notifications. */
|
|
6777
7019
|
class GoabWorkSideNotificationPanel {
|
|
6778
|
-
constructor(
|
|
6779
|
-
this.cdr =
|
|
7020
|
+
constructor() {
|
|
7021
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
7022
|
+
/** Emits when the user clicks "Mark all as read". */
|
|
6780
7023
|
this.onMarkAllRead = new EventEmitter();
|
|
7024
|
+
/** Emits when the user clicks "View all". */
|
|
6781
7025
|
this.onViewAll = new EventEmitter();
|
|
6782
7026
|
this.isReady = false;
|
|
6783
7027
|
}
|
|
@@ -6793,42 +7037,42 @@ class GoabWorkSideNotificationPanel {
|
|
|
6793
7037
|
_onViewAll() {
|
|
6794
7038
|
this.onViewAll.emit();
|
|
6795
7039
|
}
|
|
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.
|
|
7040
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabWorkSideNotificationPanel, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7041
|
+
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
7042
|
@if (isReady) {
|
|
6799
|
-
|
|
6800
|
-
|
|
6801
|
-
|
|
6802
|
-
|
|
6803
|
-
|
|
6804
|
-
|
|
6805
|
-
|
|
6806
|
-
|
|
6807
|
-
|
|
7043
|
+
<goa-work-side-notification-panel
|
|
7044
|
+
[attr.heading]="heading"
|
|
7045
|
+
[attr.active-tab]="activeTab"
|
|
7046
|
+
[attr.testid]="testId"
|
|
7047
|
+
(_markAllRead)="_onMarkAllRead()"
|
|
7048
|
+
(_viewAll)="_onViewAll()"
|
|
7049
|
+
>
|
|
7050
|
+
<ng-content />
|
|
7051
|
+
</goa-work-side-notification-panel>
|
|
6808
7052
|
}
|
|
6809
7053
|
`, isInline: true }); }
|
|
6810
7054
|
}
|
|
6811
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7055
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabWorkSideNotificationPanel, decorators: [{
|
|
6812
7056
|
type: Component,
|
|
6813
7057
|
args: [{
|
|
6814
7058
|
standalone: true,
|
|
6815
7059
|
selector: "goab-work-side-notification-panel", // eslint-disable-line
|
|
6816
7060
|
template: `
|
|
6817
7061
|
@if (isReady) {
|
|
6818
|
-
|
|
6819
|
-
|
|
6820
|
-
|
|
6821
|
-
|
|
6822
|
-
|
|
6823
|
-
|
|
6824
|
-
|
|
6825
|
-
|
|
6826
|
-
|
|
7062
|
+
<goa-work-side-notification-panel
|
|
7063
|
+
[attr.heading]="heading"
|
|
7064
|
+
[attr.active-tab]="activeTab"
|
|
7065
|
+
[attr.testid]="testId"
|
|
7066
|
+
(_markAllRead)="_onMarkAllRead()"
|
|
7067
|
+
(_viewAll)="_onViewAll()"
|
|
7068
|
+
>
|
|
7069
|
+
<ng-content />
|
|
7070
|
+
</goa-work-side-notification-panel>
|
|
6827
7071
|
}
|
|
6828
7072
|
`,
|
|
6829
7073
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
6830
7074
|
}]
|
|
6831
|
-
}],
|
|
7075
|
+
}], propDecorators: { heading: [{
|
|
6832
7076
|
type: Input
|
|
6833
7077
|
}], activeTab: [{
|
|
6834
7078
|
type: Input
|