@abgov/angular-components 4.10.0-dev.1 → 4.10.0-dev.3
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.
|
@@ -534,12 +534,15 @@ class GoabBlock extends GoabBaseComponent {
|
|
|
534
534
|
}, 0);
|
|
535
535
|
}
|
|
536
536
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: GoabBlock, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
537
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.6", type: GoabBlock, isStandalone: true, selector: "goab-block", inputs: { gap: "gap", direction: "direction", alignment: "alignment" }, usesInheritance: true, ngImport: i0, template: `
|
|
537
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.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: `
|
|
538
538
|
<goa-block
|
|
539
539
|
*ngIf="isReady"
|
|
540
540
|
[attr.gap]="gap"
|
|
541
541
|
[attr.direction]="direction"
|
|
542
542
|
[attr.alignment]="alignment"
|
|
543
|
+
[attr.width]="width"
|
|
544
|
+
[attr.min-width]="minWidth"
|
|
545
|
+
[attr.max-width]="maxWidth"
|
|
543
546
|
[attr.testid]="testId"
|
|
544
547
|
[attr.mt]="mt"
|
|
545
548
|
[attr.mb]="mb"
|
|
@@ -562,6 +565,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
562
565
|
[attr.gap]="gap"
|
|
563
566
|
[attr.direction]="direction"
|
|
564
567
|
[attr.alignment]="alignment"
|
|
568
|
+
[attr.width]="width"
|
|
569
|
+
[attr.min-width]="minWidth"
|
|
570
|
+
[attr.max-width]="maxWidth"
|
|
565
571
|
[attr.testid]="testId"
|
|
566
572
|
[attr.mt]="mt"
|
|
567
573
|
[attr.mb]="mb"
|
|
@@ -579,6 +585,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
579
585
|
type: Input
|
|
580
586
|
}], alignment: [{
|
|
581
587
|
type: Input
|
|
588
|
+
}], width: [{
|
|
589
|
+
type: Input
|
|
590
|
+
}], minWidth: [{
|
|
591
|
+
type: Input
|
|
592
|
+
}], maxWidth: [{
|
|
593
|
+
type: Input
|
|
582
594
|
}] } });
|
|
583
595
|
|
|
584
596
|
class GoabButton extends GoabBaseComponent {
|
|
@@ -4433,10 +4445,12 @@ class GoabMenuButton {
|
|
|
4433
4445
|
this.onAction.emit(detail);
|
|
4434
4446
|
}
|
|
4435
4447
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: GoabMenuButton, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4436
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.6", type: GoabMenuButton, isStandalone: true, selector: "goab-menu-button", inputs: { text: "text", type: "type", testId: "testId" }, outputs: { onAction: "onAction" }, ngImport: i0, template: `
|
|
4448
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.6", type: GoabMenuButton, isStandalone: true, selector: "goab-menu-button", inputs: { text: "text", type: "type", maxWidth: "maxWidth", leadingIcon: "leadingIcon", testId: "testId" }, outputs: { onAction: "onAction" }, ngImport: i0, template: `
|
|
4437
4449
|
<goa-menu-button
|
|
4438
4450
|
[attr.text]="text"
|
|
4439
4451
|
[attr.type]="type"
|
|
4452
|
+
[attr.max-width]="maxWidth"
|
|
4453
|
+
[attr.leading-icon]="leadingIcon"
|
|
4440
4454
|
[attr.testid]="testId"
|
|
4441
4455
|
(_action)="_onAction($event)"
|
|
4442
4456
|
>
|
|
@@ -4454,6 +4468,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
4454
4468
|
<goa-menu-button
|
|
4455
4469
|
[attr.text]="text"
|
|
4456
4470
|
[attr.type]="type"
|
|
4471
|
+
[attr.max-width]="maxWidth"
|
|
4472
|
+
[attr.leading-icon]="leadingIcon"
|
|
4457
4473
|
[attr.testid]="testId"
|
|
4458
4474
|
(_action)="_onAction($event)"
|
|
4459
4475
|
>
|
|
@@ -4466,6 +4482,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
4466
4482
|
type: Input
|
|
4467
4483
|
}], type: [{
|
|
4468
4484
|
type: Input
|
|
4485
|
+
}], maxWidth: [{
|
|
4486
|
+
type: Input
|
|
4487
|
+
}], leadingIcon: [{
|
|
4488
|
+
type: Input
|
|
4469
4489
|
}], testId: [{
|
|
4470
4490
|
type: Input
|
|
4471
4491
|
}], onAction: [{
|
|
@@ -5873,9 +5893,179 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
5873
5893
|
type: Input
|
|
5874
5894
|
}] } });
|
|
5875
5895
|
|
|
5896
|
+
class GoabxWorkSideMenu {
|
|
5897
|
+
constructor(cdr) {
|
|
5898
|
+
this.cdr = cdr;
|
|
5899
|
+
this.onToggle = new EventEmitter();
|
|
5900
|
+
this.isReady = false;
|
|
5901
|
+
}
|
|
5902
|
+
ngOnInit() {
|
|
5903
|
+
// For Angular 20, we need to delay rendering the web component
|
|
5904
|
+
// to ensure all attributes are properly bound before the component initializes
|
|
5905
|
+
setTimeout(() => {
|
|
5906
|
+
this.isReady = true;
|
|
5907
|
+
this.cdr.detectChanges();
|
|
5908
|
+
}, 0);
|
|
5909
|
+
}
|
|
5910
|
+
_onToggle() {
|
|
5911
|
+
this.onToggle.emit();
|
|
5912
|
+
}
|
|
5913
|
+
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 }); }
|
|
5914
|
+
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: `
|
|
5915
|
+
<goa-work-side-menu
|
|
5916
|
+
*ngIf="isReady"
|
|
5917
|
+
[open]="open ?? false"
|
|
5918
|
+
[attr.heading]="heading"
|
|
5919
|
+
[attr.url]="url"
|
|
5920
|
+
[attr.user-name]="userName"
|
|
5921
|
+
[attr.user-secondary-text]="userSecondaryText"
|
|
5922
|
+
[attr.testid]="testId"
|
|
5923
|
+
(_toggle)="_onToggle()"
|
|
5924
|
+
>
|
|
5925
|
+
<div slot="primary">
|
|
5926
|
+
<ng-container [ngTemplateOutlet]="primaryContent"></ng-container>
|
|
5927
|
+
</div>
|
|
5928
|
+
<div slot="secondary">
|
|
5929
|
+
<ng-container [ngTemplateOutlet]="secondaryContent"></ng-container>
|
|
5930
|
+
</div>
|
|
5931
|
+
<div slot="account">
|
|
5932
|
+
<ng-container [ngTemplateOutlet]="accountContent"></ng-container>
|
|
5933
|
+
</div>
|
|
5934
|
+
</goa-work-side-menu>
|
|
5935
|
+
`, 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"] }] }); }
|
|
5936
|
+
}
|
|
5937
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: GoabxWorkSideMenu, decorators: [{
|
|
5938
|
+
type: Component,
|
|
5939
|
+
args: [{
|
|
5940
|
+
standalone: true,
|
|
5941
|
+
selector: "goabx-work-side-menu", // eslint-disable-line
|
|
5942
|
+
imports: [NgTemplateOutlet, CommonModule],
|
|
5943
|
+
template: `
|
|
5944
|
+
<goa-work-side-menu
|
|
5945
|
+
*ngIf="isReady"
|
|
5946
|
+
[open]="open ?? false"
|
|
5947
|
+
[attr.heading]="heading"
|
|
5948
|
+
[attr.url]="url"
|
|
5949
|
+
[attr.user-name]="userName"
|
|
5950
|
+
[attr.user-secondary-text]="userSecondaryText"
|
|
5951
|
+
[attr.testid]="testId"
|
|
5952
|
+
(_toggle)="_onToggle()"
|
|
5953
|
+
>
|
|
5954
|
+
<div slot="primary">
|
|
5955
|
+
<ng-container [ngTemplateOutlet]="primaryContent"></ng-container>
|
|
5956
|
+
</div>
|
|
5957
|
+
<div slot="secondary">
|
|
5958
|
+
<ng-container [ngTemplateOutlet]="secondaryContent"></ng-container>
|
|
5959
|
+
</div>
|
|
5960
|
+
<div slot="account">
|
|
5961
|
+
<ng-container [ngTemplateOutlet]="accountContent"></ng-container>
|
|
5962
|
+
</div>
|
|
5963
|
+
</goa-work-side-menu>
|
|
5964
|
+
`,
|
|
5965
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
5966
|
+
}]
|
|
5967
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { heading: [{
|
|
5968
|
+
type: Input,
|
|
5969
|
+
args: [{ required: true }]
|
|
5970
|
+
}], url: [{
|
|
5971
|
+
type: Input,
|
|
5972
|
+
args: [{ required: true }]
|
|
5973
|
+
}], userName: [{
|
|
5974
|
+
type: Input
|
|
5975
|
+
}], userSecondaryText: [{
|
|
5976
|
+
type: Input
|
|
5977
|
+
}], open: [{
|
|
5978
|
+
type: Input,
|
|
5979
|
+
args: [{ transform: booleanAttribute }]
|
|
5980
|
+
}], testId: [{
|
|
5981
|
+
type: Input
|
|
5982
|
+
}], primaryContent: [{
|
|
5983
|
+
type: Input
|
|
5984
|
+
}], secondaryContent: [{
|
|
5985
|
+
type: Input
|
|
5986
|
+
}], accountContent: [{
|
|
5987
|
+
type: Input
|
|
5988
|
+
}], onToggle: [{
|
|
5989
|
+
type: Output
|
|
5990
|
+
}] } });
|
|
5991
|
+
|
|
5992
|
+
class GoabxWorkSideMenuItem {
|
|
5993
|
+
constructor(cdr) {
|
|
5994
|
+
this.cdr = cdr;
|
|
5995
|
+
this.type = "normal";
|
|
5996
|
+
this.isReady = false;
|
|
5997
|
+
}
|
|
5998
|
+
ngOnInit() {
|
|
5999
|
+
// For Angular 20, we need to delay rendering the web component
|
|
6000
|
+
// to ensure all attributes are properly bound before the component initializes
|
|
6001
|
+
setTimeout(() => {
|
|
6002
|
+
this.isReady = true;
|
|
6003
|
+
this.cdr.detectChanges();
|
|
6004
|
+
}, 0);
|
|
6005
|
+
}
|
|
6006
|
+
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 }); }
|
|
6007
|
+
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: `
|
|
6008
|
+
<goa-work-side-menu-item
|
|
6009
|
+
*ngIf="isReady"
|
|
6010
|
+
[attr.label]="label"
|
|
6011
|
+
[attr.url]="url"
|
|
6012
|
+
[attr.badge]="badge"
|
|
6013
|
+
[attr.current]="current"
|
|
6014
|
+
[attr.divider]="divider"
|
|
6015
|
+
[attr.icon]="icon"
|
|
6016
|
+
[attr.testid]="testId"
|
|
6017
|
+
[attr.type]="type"
|
|
6018
|
+
>
|
|
6019
|
+
<ng-content />
|
|
6020
|
+
</goa-work-side-menu-item>
|
|
6021
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
6022
|
+
}
|
|
6023
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: GoabxWorkSideMenuItem, decorators: [{
|
|
6024
|
+
type: Component,
|
|
6025
|
+
args: [{
|
|
6026
|
+
standalone: true,
|
|
6027
|
+
selector: "goabx-work-side-menu-item", // eslint-disable-line
|
|
6028
|
+
imports: [CommonModule],
|
|
6029
|
+
template: `
|
|
6030
|
+
<goa-work-side-menu-item
|
|
6031
|
+
*ngIf="isReady"
|
|
6032
|
+
[attr.label]="label"
|
|
6033
|
+
[attr.url]="url"
|
|
6034
|
+
[attr.badge]="badge"
|
|
6035
|
+
[attr.current]="current"
|
|
6036
|
+
[attr.divider]="divider"
|
|
6037
|
+
[attr.icon]="icon"
|
|
6038
|
+
[attr.testid]="testId"
|
|
6039
|
+
[attr.type]="type"
|
|
6040
|
+
>
|
|
6041
|
+
<ng-content />
|
|
6042
|
+
</goa-work-side-menu-item>
|
|
6043
|
+
`,
|
|
6044
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
6045
|
+
}]
|
|
6046
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { label: [{
|
|
6047
|
+
type: Input,
|
|
6048
|
+
args: [{ required: true }]
|
|
6049
|
+
}], url: [{
|
|
6050
|
+
type: Input,
|
|
6051
|
+
args: [{ required: true }]
|
|
6052
|
+
}], badge: [{
|
|
6053
|
+
type: Input
|
|
6054
|
+
}], current: [{
|
|
6055
|
+
type: Input
|
|
6056
|
+
}], divider: [{
|
|
6057
|
+
type: Input
|
|
6058
|
+
}], icon: [{
|
|
6059
|
+
type: Input
|
|
6060
|
+
}], testId: [{
|
|
6061
|
+
type: Input
|
|
6062
|
+
}], type: [{
|
|
6063
|
+
type: Input
|
|
6064
|
+
}] } });
|
|
6065
|
+
|
|
5876
6066
|
/**
|
|
5877
6067
|
* Generated bundle index. Do not edit.
|
|
5878
6068
|
*/
|
|
5879
6069
|
|
|
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 };
|
|
6070
|
+
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
6071
|
//# sourceMappingURL=abgov-angular-components.mjs.map
|