@abgov/angular-components 4.10.0-dev.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.
|
@@ -5873,9 +5873,179 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
5873
5873
|
type: Input
|
|
5874
5874
|
}] } });
|
|
5875
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
|
+
|
|
5876
6046
|
/**
|
|
5877
6047
|
* Generated bundle index. Do not edit.
|
|
5878
6048
|
*/
|
|
5879
6049
|
|
|
5880
|
-
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 };
|
|
5881
6051
|
//# sourceMappingURL=abgov-angular-components.mjs.map
|