@abgov/angular-components 4.9.1-next.1 → 4.10.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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { forwardRef, HostListener, Directive, CUSTOM_ELEMENTS_SCHEMA, NgModule, Input, Component, ElementRef, booleanAttribute, ViewChild, EventEmitter, Output, numberAttribute, TemplateRef } from '@angular/core';
|
|
2
|
+
import { forwardRef, HostListener, Directive, CUSTOM_ELEMENTS_SCHEMA, NgModule, Input, Component, ElementRef, booleanAttribute, ViewChild, EventEmitter, Output, numberAttribute, TemplateRef, HostBinding } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/common';
|
|
4
4
|
import { CommonModule, NgTemplateOutlet, NgIf } from '@angular/common';
|
|
5
5
|
import { NG_VALUE_ACCESSOR, CheckboxControlValueAccessor } from '@angular/forms';
|
|
@@ -5560,6 +5560,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
5560
5560
|
}] } });
|
|
5561
5561
|
|
|
5562
5562
|
class GoabText {
|
|
5563
|
+
/*
|
|
5564
|
+
This is necessary because angular outputs two elements, <goab-text> and <goa-text>
|
|
5565
|
+
This removes the id from <goa-text> and only outputs it to <goab-text>
|
|
5566
|
+
*/
|
|
5567
|
+
get hostId() {
|
|
5568
|
+
return this.id;
|
|
5569
|
+
}
|
|
5563
5570
|
constructor(cdr) {
|
|
5564
5571
|
this.cdr = cdr;
|
|
5565
5572
|
this.isReady = false;
|
|
@@ -5573,7 +5580,7 @@ class GoabText {
|
|
|
5573
5580
|
}, 0);
|
|
5574
5581
|
}
|
|
5575
5582
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: GoabText, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5576
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.6", type: GoabText, isStandalone: true, selector: "goab-text", inputs: { tag: "tag", size: "size", maxWidth: "maxWidth", color: "color", mt: "mt", mb: "mb", ml: "ml", mr: "mr" }, ngImport: i0, template: `
|
|
5583
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.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: `
|
|
5577
5584
|
<goa-text
|
|
5578
5585
|
*ngIf="isReady"
|
|
5579
5586
|
[attr.as]="tag"
|
|
@@ -5583,7 +5590,8 @@ class GoabText {
|
|
|
5583
5590
|
[attr.mt]="mt"
|
|
5584
5591
|
[attr.mb]="mb"
|
|
5585
5592
|
[attr.ml]="ml"
|
|
5586
|
-
[attr.mr]="mr"
|
|
5593
|
+
[attr.mr]="mr"
|
|
5594
|
+
>
|
|
5587
5595
|
<ng-content />
|
|
5588
5596
|
</goa-text>
|
|
5589
5597
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
@@ -5592,7 +5600,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
5592
5600
|
type: Component,
|
|
5593
5601
|
args: [{
|
|
5594
5602
|
standalone: true,
|
|
5595
|
-
selector:
|
|
5603
|
+
selector: "goab-text",
|
|
5596
5604
|
imports: [CommonModule],
|
|
5597
5605
|
template: `
|
|
5598
5606
|
<goa-text
|
|
@@ -5604,11 +5612,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
5604
5612
|
[attr.mt]="mt"
|
|
5605
5613
|
[attr.mb]="mb"
|
|
5606
5614
|
[attr.ml]="ml"
|
|
5607
|
-
[attr.mr]="mr"
|
|
5615
|
+
[attr.mr]="mr"
|
|
5616
|
+
>
|
|
5608
5617
|
<ng-content />
|
|
5609
5618
|
</goa-text>
|
|
5610
5619
|
`,
|
|
5611
|
-
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
|
5620
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
5612
5621
|
}]
|
|
5613
5622
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { tag: [{
|
|
5614
5623
|
type: Input
|
|
@@ -5618,6 +5627,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
5618
5627
|
type: Input
|
|
5619
5628
|
}], color: [{
|
|
5620
5629
|
type: Input
|
|
5630
|
+
}], id: [{
|
|
5631
|
+
type: Input
|
|
5632
|
+
}], hostId: [{
|
|
5633
|
+
type: HostBinding,
|
|
5634
|
+
args: ["attr.id"]
|
|
5621
5635
|
}], mt: [{
|
|
5622
5636
|
type: Input
|
|
5623
5637
|
}], mb: [{
|
|
@@ -5859,9 +5873,179 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
5859
5873
|
type: Input
|
|
5860
5874
|
}] } });
|
|
5861
5875
|
|
|
5876
|
+
class GoabxWorkSideMenu {
|
|
5877
|
+
constructor(cdr) {
|
|
5878
|
+
this.cdr = cdr;
|
|
5879
|
+
this.onToggle = new EventEmitter();
|
|
5880
|
+
this.isReady = false;
|
|
5881
|
+
}
|
|
5882
|
+
ngOnInit() {
|
|
5883
|
+
// For Angular 20, we need to delay rendering the web component
|
|
5884
|
+
// to ensure all attributes are properly bound before the component initializes
|
|
5885
|
+
setTimeout(() => {
|
|
5886
|
+
this.isReady = true;
|
|
5887
|
+
this.cdr.detectChanges();
|
|
5888
|
+
}, 0);
|
|
5889
|
+
}
|
|
5890
|
+
_onToggle() {
|
|
5891
|
+
this.onToggle.emit();
|
|
5892
|
+
}
|
|
5893
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: GoabxWorkSideMenu, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5894
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.1.6", type: GoabxWorkSideMenu, isStandalone: true, selector: "goabx-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" }, ngImport: i0, template: `
|
|
5895
|
+
<goa-work-side-menu
|
|
5896
|
+
*ngIf="isReady"
|
|
5897
|
+
[open]="open ?? false"
|
|
5898
|
+
[attr.heading]="heading"
|
|
5899
|
+
[attr.url]="url"
|
|
5900
|
+
[attr.user-name]="userName"
|
|
5901
|
+
[attr.user-secondary-text]="userSecondaryText"
|
|
5902
|
+
[attr.testid]="testId"
|
|
5903
|
+
(_toggle)="_onToggle()"
|
|
5904
|
+
>
|
|
5905
|
+
<div slot="primary">
|
|
5906
|
+
<ng-container [ngTemplateOutlet]="primaryContent"></ng-container>
|
|
5907
|
+
</div>
|
|
5908
|
+
<div slot="secondary">
|
|
5909
|
+
<ng-container [ngTemplateOutlet]="secondaryContent"></ng-container>
|
|
5910
|
+
</div>
|
|
5911
|
+
<div slot="account">
|
|
5912
|
+
<ng-container [ngTemplateOutlet]="accountContent"></ng-container>
|
|
5913
|
+
</div>
|
|
5914
|
+
</goa-work-side-menu>
|
|
5915
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
5916
|
+
}
|
|
5917
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: GoabxWorkSideMenu, decorators: [{
|
|
5918
|
+
type: Component,
|
|
5919
|
+
args: [{
|
|
5920
|
+
standalone: true,
|
|
5921
|
+
selector: "goabx-work-side-menu", // eslint-disable-line
|
|
5922
|
+
imports: [NgTemplateOutlet, CommonModule],
|
|
5923
|
+
template: `
|
|
5924
|
+
<goa-work-side-menu
|
|
5925
|
+
*ngIf="isReady"
|
|
5926
|
+
[open]="open ?? false"
|
|
5927
|
+
[attr.heading]="heading"
|
|
5928
|
+
[attr.url]="url"
|
|
5929
|
+
[attr.user-name]="userName"
|
|
5930
|
+
[attr.user-secondary-text]="userSecondaryText"
|
|
5931
|
+
[attr.testid]="testId"
|
|
5932
|
+
(_toggle)="_onToggle()"
|
|
5933
|
+
>
|
|
5934
|
+
<div slot="primary">
|
|
5935
|
+
<ng-container [ngTemplateOutlet]="primaryContent"></ng-container>
|
|
5936
|
+
</div>
|
|
5937
|
+
<div slot="secondary">
|
|
5938
|
+
<ng-container [ngTemplateOutlet]="secondaryContent"></ng-container>
|
|
5939
|
+
</div>
|
|
5940
|
+
<div slot="account">
|
|
5941
|
+
<ng-container [ngTemplateOutlet]="accountContent"></ng-container>
|
|
5942
|
+
</div>
|
|
5943
|
+
</goa-work-side-menu>
|
|
5944
|
+
`,
|
|
5945
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
5946
|
+
}]
|
|
5947
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { heading: [{
|
|
5948
|
+
type: Input,
|
|
5949
|
+
args: [{ required: true }]
|
|
5950
|
+
}], url: [{
|
|
5951
|
+
type: Input,
|
|
5952
|
+
args: [{ required: true }]
|
|
5953
|
+
}], userName: [{
|
|
5954
|
+
type: Input
|
|
5955
|
+
}], userSecondaryText: [{
|
|
5956
|
+
type: Input
|
|
5957
|
+
}], open: [{
|
|
5958
|
+
type: Input,
|
|
5959
|
+
args: [{ transform: booleanAttribute }]
|
|
5960
|
+
}], testId: [{
|
|
5961
|
+
type: Input
|
|
5962
|
+
}], primaryContent: [{
|
|
5963
|
+
type: Input
|
|
5964
|
+
}], secondaryContent: [{
|
|
5965
|
+
type: Input
|
|
5966
|
+
}], accountContent: [{
|
|
5967
|
+
type: Input
|
|
5968
|
+
}], onToggle: [{
|
|
5969
|
+
type: Output
|
|
5970
|
+
}] } });
|
|
5971
|
+
|
|
5972
|
+
class GoabxWorkSideMenuItem {
|
|
5973
|
+
constructor(cdr) {
|
|
5974
|
+
this.cdr = cdr;
|
|
5975
|
+
this.type = "normal";
|
|
5976
|
+
this.isReady = false;
|
|
5977
|
+
}
|
|
5978
|
+
ngOnInit() {
|
|
5979
|
+
// For Angular 20, we need to delay rendering the web component
|
|
5980
|
+
// to ensure all attributes are properly bound before the component initializes
|
|
5981
|
+
setTimeout(() => {
|
|
5982
|
+
this.isReady = true;
|
|
5983
|
+
this.cdr.detectChanges();
|
|
5984
|
+
}, 0);
|
|
5985
|
+
}
|
|
5986
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: GoabxWorkSideMenuItem, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5987
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.6", type: GoabxWorkSideMenuItem, isStandalone: true, selector: "goabx-work-side-menu-item", inputs: { label: "label", url: "url", badge: "badge", current: "current", divider: "divider", icon: "icon", testId: "testId", type: "type" }, ngImport: i0, template: `
|
|
5988
|
+
<goa-work-side-menu-item
|
|
5989
|
+
*ngIf="isReady"
|
|
5990
|
+
[attr.label]="label"
|
|
5991
|
+
[attr.url]="url"
|
|
5992
|
+
[attr.badge]="badge"
|
|
5993
|
+
[attr.current]="current"
|
|
5994
|
+
[attr.divider]="divider"
|
|
5995
|
+
[attr.icon]="icon"
|
|
5996
|
+
[attr.testid]="testId"
|
|
5997
|
+
[attr.type]="type"
|
|
5998
|
+
>
|
|
5999
|
+
<ng-content />
|
|
6000
|
+
</goa-work-side-menu-item>
|
|
6001
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
6002
|
+
}
|
|
6003
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: GoabxWorkSideMenuItem, decorators: [{
|
|
6004
|
+
type: Component,
|
|
6005
|
+
args: [{
|
|
6006
|
+
standalone: true,
|
|
6007
|
+
selector: "goabx-work-side-menu-item", // eslint-disable-line
|
|
6008
|
+
imports: [CommonModule],
|
|
6009
|
+
template: `
|
|
6010
|
+
<goa-work-side-menu-item
|
|
6011
|
+
*ngIf="isReady"
|
|
6012
|
+
[attr.label]="label"
|
|
6013
|
+
[attr.url]="url"
|
|
6014
|
+
[attr.badge]="badge"
|
|
6015
|
+
[attr.current]="current"
|
|
6016
|
+
[attr.divider]="divider"
|
|
6017
|
+
[attr.icon]="icon"
|
|
6018
|
+
[attr.testid]="testId"
|
|
6019
|
+
[attr.type]="type"
|
|
6020
|
+
>
|
|
6021
|
+
<ng-content />
|
|
6022
|
+
</goa-work-side-menu-item>
|
|
6023
|
+
`,
|
|
6024
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
6025
|
+
}]
|
|
6026
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { label: [{
|
|
6027
|
+
type: Input,
|
|
6028
|
+
args: [{ required: true }]
|
|
6029
|
+
}], url: [{
|
|
6030
|
+
type: Input,
|
|
6031
|
+
args: [{ required: true }]
|
|
6032
|
+
}], badge: [{
|
|
6033
|
+
type: Input
|
|
6034
|
+
}], current: [{
|
|
6035
|
+
type: Input
|
|
6036
|
+
}], divider: [{
|
|
6037
|
+
type: Input
|
|
6038
|
+
}], icon: [{
|
|
6039
|
+
type: Input
|
|
6040
|
+
}], testId: [{
|
|
6041
|
+
type: Input
|
|
6042
|
+
}], type: [{
|
|
6043
|
+
type: Input
|
|
6044
|
+
}] } });
|
|
6045
|
+
|
|
5862
6046
|
/**
|
|
5863
6047
|
* Generated bundle index. Do not edit.
|
|
5864
6048
|
*/
|
|
5865
6049
|
|
|
5866
|
-
export { AngularComponentsModule, CheckedDirective, GoabAccordion, GoabAppFooter, GoabAppFooterMetaSection, GoabAppFooterNavSection, GoabAppHeader, GoabAppHeaderMenu, GoabBadge, GoabBlock, GoabButton, GoabButtonGroup, GoabCalendar, GoabCallout, GoabCard, GoabCardActions, GoabCardContent, GoabCardImage, GoabCheckbox, GoabCheckboxList, GoabChip, GoabCircularProgress, GoabColumnLayout, GoabContainer, GoabDatePicker, GoabDetails, GoabDivider, GoabDrawer, GoabDropdown, GoabDropdownItem, GoabFieldset, GoabFileUploadCard, GoabFileUploadInput, GoabFilterChip, GoabFormItem, GoabFormItemSlot, GoabFormStep, GoabFormStepper, GoabGrid, GoabHeroBanner, GoabIcon, GoabIconButton, GoabInput, GoabInputNumber, GoabLink, GoabMenuAction, GoabMenuButton, GoabMicrositeHeader, GoabModal, GoabNotification, GoabPageBlock, GoabPages, GoabPagination, GoabPopover, GoabPublicForm, GoabPublicFormPage, GoabPublicFormSummary, GoabPublicFormTask, GoabPublicFormTaskList, GoabPublicSubform, GoabPublicSubformIndex, GoabRadioGroup, GoabRadioItem, GoabSideMenu, GoabSideMenuGroup, GoabSideMenuHeading, GoabSkeleton, GoabSpacer, GoabTab, GoabTable, GoabTableSortHeader, GoabTabs, GoabTemporaryNotificationCtrl, GoabText, GoabTextArea, GoabTooltip, ValueDirective, ValueListDirective };
|
|
6050
|
+
export { AngularComponentsModule, CheckedDirective, GoabAccordion, GoabAppFooter, GoabAppFooterMetaSection, GoabAppFooterNavSection, GoabAppHeader, GoabAppHeaderMenu, GoabBadge, GoabBlock, GoabButton, GoabButtonGroup, GoabCalendar, GoabCallout, GoabCard, GoabCardActions, GoabCardContent, GoabCardImage, GoabCheckbox, GoabCheckboxList, GoabChip, GoabCircularProgress, GoabColumnLayout, GoabContainer, GoabDatePicker, GoabDetails, GoabDivider, GoabDrawer, GoabDropdown, GoabDropdownItem, GoabFieldset, GoabFileUploadCard, GoabFileUploadInput, GoabFilterChip, GoabFormItem, GoabFormItemSlot, GoabFormStep, GoabFormStepper, GoabGrid, GoabHeroBanner, GoabIcon, GoabIconButton, GoabInput, GoabInputNumber, GoabLink, GoabMenuAction, GoabMenuButton, GoabMicrositeHeader, GoabModal, GoabNotification, GoabPageBlock, GoabPages, GoabPagination, GoabPopover, GoabPublicForm, GoabPublicFormPage, GoabPublicFormSummary, GoabPublicFormTask, GoabPublicFormTaskList, GoabPublicSubform, GoabPublicSubformIndex, GoabRadioGroup, GoabRadioItem, GoabSideMenu, GoabSideMenuGroup, GoabSideMenuHeading, GoabSkeleton, GoabSpacer, GoabTab, GoabTable, GoabTableSortHeader, GoabTabs, GoabTemporaryNotificationCtrl, GoabText, GoabTextArea, GoabTooltip, GoabxWorkSideMenu, GoabxWorkSideMenuItem, ValueDirective, ValueListDirective };
|
|
5867
6051
|
//# sourceMappingURL=abgov-angular-components.mjs.map
|