@abgov/angular-components 5.1.0 → 5.2.0-dev.2
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.
|
@@ -1467,7 +1467,7 @@ class GoabChip extends GoabBaseComponent {
|
|
|
1467
1467
|
super(...arguments);
|
|
1468
1468
|
this.cdr = inject(ChangeDetectorRef);
|
|
1469
1469
|
this.isReady = false;
|
|
1470
|
-
/** @deprecated Use
|
|
1470
|
+
/** @deprecated Use GoabFilterChip (goab-filter-chip) instead. The text content displayed in the chip. */
|
|
1471
1471
|
this.content = "";
|
|
1472
1472
|
/** Emits when the chip is clicked. */
|
|
1473
1473
|
this.onClick = new EventEmitter();
|
|
@@ -2107,7 +2107,9 @@ class GoabDrawer {
|
|
|
2107
2107
|
this.cdr.detectChanges();
|
|
2108
2108
|
}, 0);
|
|
2109
2109
|
}
|
|
2110
|
-
_onClose() {
|
|
2110
|
+
_onClose(event) {
|
|
2111
|
+
if (event.target !== event.currentTarget)
|
|
2112
|
+
return;
|
|
2111
2113
|
this.onClose.emit();
|
|
2112
2114
|
}
|
|
2113
2115
|
getHeadingAsString() {
|
|
@@ -2127,7 +2129,7 @@ class GoabDrawer {
|
|
|
2127
2129
|
[attr.maxsize]="maxSize"
|
|
2128
2130
|
[attr.testid]="testId"
|
|
2129
2131
|
[attr.version]="version"
|
|
2130
|
-
(_close)="_onClose()"
|
|
2132
|
+
(_close)="_onClose($event)"
|
|
2131
2133
|
>
|
|
2132
2134
|
<ng-content></ng-content>
|
|
2133
2135
|
<div slot="heading">
|
|
@@ -2153,7 +2155,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
2153
2155
|
[attr.maxsize]="maxSize"
|
|
2154
2156
|
[attr.testid]="testId"
|
|
2155
2157
|
[attr.version]="version"
|
|
2156
|
-
(_close)="_onClose()"
|
|
2158
|
+
(_close)="_onClose($event)"
|
|
2157
2159
|
>
|
|
2158
2160
|
<ng-content></ng-content>
|
|
2159
2161
|
<div slot="heading">
|
|
@@ -3530,9 +3532,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
3530
3532
|
}] } });
|
|
3531
3533
|
|
|
3532
3534
|
/** Provide structure to help users find their way around the service. */
|
|
3533
|
-
class GoabAppHeader
|
|
3535
|
+
class GoabAppHeader {
|
|
3534
3536
|
constructor() {
|
|
3535
|
-
super(...arguments);
|
|
3536
3537
|
this.cdr = inject(ChangeDetectorRef);
|
|
3537
3538
|
this.isReady = false;
|
|
3538
3539
|
this.version = "2";
|
|
@@ -3548,8 +3549,8 @@ class GoabAppHeader extends GoabBaseComponent {
|
|
|
3548
3549
|
_onMenuClick() {
|
|
3549
3550
|
this.onMenuClick.emit();
|
|
3550
3551
|
}
|
|
3551
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabAppHeader, deps:
|
|
3552
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabAppHeader, isStandalone: true, selector: "goab-app-header", inputs: { url: "url", heading: "heading", secondaryText: "secondaryText", maxContentWidth: "maxContentWidth", fullMenuBreakpoint: ["fullMenuBreakpoint", "fullMenuBreakpoint", numberAttribute] }, outputs: { onMenuClick: "onMenuClick" },
|
|
3552
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabAppHeader, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3553
|
+
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) {
|
|
3553
3554
|
<goa-app-header
|
|
3554
3555
|
[attr.url]="url"
|
|
3555
3556
|
[attr.heading]="heading"
|
|
@@ -3598,14 +3599,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
3598
3599
|
}], fullMenuBreakpoint: [{
|
|
3599
3600
|
type: Input,
|
|
3600
3601
|
args: [{ transform: numberAttribute }]
|
|
3602
|
+
}], testId: [{
|
|
3603
|
+
type: Input
|
|
3601
3604
|
}], onMenuClick: [{
|
|
3602
3605
|
type: Output
|
|
3603
3606
|
}] } });
|
|
3604
3607
|
|
|
3605
3608
|
/** Menu items within the app header. */
|
|
3606
|
-
class GoabAppHeaderMenu
|
|
3609
|
+
class GoabAppHeaderMenu {
|
|
3607
3610
|
constructor() {
|
|
3608
|
-
super(...arguments);
|
|
3609
3611
|
this.cdr = inject(ChangeDetectorRef);
|
|
3610
3612
|
this.isReady = false;
|
|
3611
3613
|
}
|
|
@@ -3618,8 +3620,8 @@ class GoabAppHeaderMenu extends GoabBaseComponent {
|
|
|
3618
3620
|
this.cdr.detectChanges();
|
|
3619
3621
|
}, 0);
|
|
3620
3622
|
}
|
|
3621
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabAppHeaderMenu, deps:
|
|
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", slotName: "slotName" }, host: { properties: { "attr.slot": "this.hostSlot" } },
|
|
3623
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabAppHeaderMenu, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3624
|
+
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) {
|
|
3623
3625
|
<goa-app-header-menu
|
|
3624
3626
|
[attr.leadingicon]="leadingIcon"
|
|
3625
3627
|
[attr.heading]="heading"
|
|
@@ -3649,6 +3651,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
3649
3651
|
type: Input
|
|
3650
3652
|
}], heading: [{
|
|
3651
3653
|
type: Input
|
|
3654
|
+
}], testId: [{
|
|
3655
|
+
type: Input
|
|
3652
3656
|
}], slotName: [{
|
|
3653
3657
|
type: Input
|
|
3654
3658
|
}], hostSlot: [{
|
|
@@ -4843,7 +4847,9 @@ class GoabModal {
|
|
|
4843
4847
|
return null;
|
|
4844
4848
|
return this.heading instanceof TemplateRef ? this.heading : null;
|
|
4845
4849
|
}
|
|
4846
|
-
_onClose() {
|
|
4850
|
+
_onClose(event) {
|
|
4851
|
+
if (event.target !== event.currentTarget)
|
|
4852
|
+
return;
|
|
4847
4853
|
this.onClose.emit();
|
|
4848
4854
|
}
|
|
4849
4855
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabModal, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
@@ -4859,7 +4865,7 @@ class GoabModal {
|
|
|
4859
4865
|
[attr.closable]="closable"
|
|
4860
4866
|
[attr.transition]="transition"
|
|
4861
4867
|
[attr.heading]="getHeadingAsString()"
|
|
4862
|
-
(_close)="_onClose()"
|
|
4868
|
+
(_close)="_onClose($event)"
|
|
4863
4869
|
>
|
|
4864
4870
|
<div slot="heading">
|
|
4865
4871
|
@if (this.heading !== "" && getHeadingAsTemplate() !== null) {
|
|
@@ -4896,7 +4902,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
4896
4902
|
[attr.closable]="closable"
|
|
4897
4903
|
[attr.transition]="transition"
|
|
4898
4904
|
[attr.heading]="getHeadingAsString()"
|
|
4899
|
-
(_close)="_onClose()"
|
|
4905
|
+
(_close)="_onClose($event)"
|
|
4900
4906
|
>
|
|
4901
4907
|
<div slot="heading">
|
|
4902
4908
|
@if (this.heading !== "" && getHeadingAsTemplate() !== null) {
|
|
@@ -5407,7 +5413,9 @@ class GoabPushDrawer {
|
|
|
5407
5413
|
this.cdr.detectChanges();
|
|
5408
5414
|
}, 0);
|
|
5409
5415
|
}
|
|
5410
|
-
_onClose() {
|
|
5416
|
+
_onClose(event) {
|
|
5417
|
+
if (event.target !== event.currentTarget)
|
|
5418
|
+
return;
|
|
5411
5419
|
this.onClose.emit();
|
|
5412
5420
|
}
|
|
5413
5421
|
getHeadingAsString() {
|
|
@@ -5426,7 +5434,7 @@ class GoabPushDrawer {
|
|
|
5426
5434
|
[attr.testid]="testId"
|
|
5427
5435
|
[attr.width]="width"
|
|
5428
5436
|
[attr.version]="version"
|
|
5429
|
-
(_close)="_onClose()"
|
|
5437
|
+
(_close)="_onClose($event)"
|
|
5430
5438
|
>
|
|
5431
5439
|
<ng-content></ng-content>
|
|
5432
5440
|
<div slot="heading">
|
|
@@ -5453,7 +5461,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
5453
5461
|
[attr.testid]="testId"
|
|
5454
5462
|
[attr.width]="width"
|
|
5455
5463
|
[attr.version]="version"
|
|
5456
|
-
(_close)="_onClose()"
|
|
5464
|
+
(_close)="_onClose($event)"
|
|
5457
5465
|
>
|
|
5458
5466
|
<ng-content></ng-content>
|
|
5459
5467
|
<div slot="heading">
|
|
@@ -5511,7 +5519,7 @@ class GoabRadioGroup extends GoabControlValueAccessor {
|
|
|
5511
5519
|
this.fcChange?.(detail.value);
|
|
5512
5520
|
}
|
|
5513
5521
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabRadioGroup, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
5514
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabRadioGroup, isStandalone: true, selector: "goab-radio-group", inputs: { name: "name", orientation: "orientation", ariaLabel: "ariaLabel", size: "size" }, outputs: { onChange: "onChange" }, providers: [
|
|
5522
|
+
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: [
|
|
5515
5523
|
{
|
|
5516
5524
|
provide: NG_VALUE_ACCESSOR,
|
|
5517
5525
|
multi: true,
|
|
@@ -5582,6 +5590,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
5582
5590
|
}]
|
|
5583
5591
|
}], propDecorators: { name: [{
|
|
5584
5592
|
type: Input
|
|
5593
|
+
}], value: [{
|
|
5594
|
+
type: Input
|
|
5585
5595
|
}], orientation: [{
|
|
5586
5596
|
type: Input
|
|
5587
5597
|
}], ariaLabel: [{
|