@abgov/angular-components 4.11.0-dev.5 → 4.11.0-dev.7
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.
|
@@ -8091,6 +8091,115 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
8091
8091
|
type: Input
|
|
8092
8092
|
}] } });
|
|
8093
8093
|
|
|
8094
|
+
class GoabxMenuAction {
|
|
8095
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxMenuAction, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8096
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: GoabxMenuAction, isStandalone: true, selector: "goabx-menu-action", inputs: { text: "text", action: "action", icon: "icon", testId: "testId" }, ngImport: i0, template: `
|
|
8097
|
+
<goa-menu-action
|
|
8098
|
+
[attr.text]="text"
|
|
8099
|
+
[attr.action]="action"
|
|
8100
|
+
[attr.icon]="icon"
|
|
8101
|
+
[attr.testid]="testId"
|
|
8102
|
+
>
|
|
8103
|
+
</goa-menu-action>
|
|
8104
|
+
`, isInline: true }); }
|
|
8105
|
+
}
|
|
8106
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxMenuAction, decorators: [{
|
|
8107
|
+
type: Component,
|
|
8108
|
+
args: [{
|
|
8109
|
+
standalone: true,
|
|
8110
|
+
selector: "goabx-menu-action",
|
|
8111
|
+
template: `
|
|
8112
|
+
<goa-menu-action
|
|
8113
|
+
[attr.text]="text"
|
|
8114
|
+
[attr.action]="action"
|
|
8115
|
+
[attr.icon]="icon"
|
|
8116
|
+
[attr.testid]="testId"
|
|
8117
|
+
>
|
|
8118
|
+
</goa-menu-action>
|
|
8119
|
+
`,
|
|
8120
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
8121
|
+
}]
|
|
8122
|
+
}], propDecorators: { text: [{
|
|
8123
|
+
type: Input,
|
|
8124
|
+
args: [{ required: true }]
|
|
8125
|
+
}], action: [{
|
|
8126
|
+
type: Input,
|
|
8127
|
+
args: [{ required: true }]
|
|
8128
|
+
}], icon: [{
|
|
8129
|
+
type: Input
|
|
8130
|
+
}], testId: [{
|
|
8131
|
+
type: Input
|
|
8132
|
+
}] } });
|
|
8133
|
+
|
|
8134
|
+
class GoabxMenuButton {
|
|
8135
|
+
constructor() {
|
|
8136
|
+
this.onAction = new EventEmitter();
|
|
8137
|
+
}
|
|
8138
|
+
_onAction(e) {
|
|
8139
|
+
const detail = e.detail;
|
|
8140
|
+
this.onAction.emit(detail);
|
|
8141
|
+
}
|
|
8142
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxMenuButton, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8143
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: GoabxMenuButton, isStandalone: true, selector: "goabx-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: `
|
|
8144
|
+
<goa-menu-button
|
|
8145
|
+
[attr.text]="text"
|
|
8146
|
+
[attr.type]="type"
|
|
8147
|
+
[attr.size]="size"
|
|
8148
|
+
[attr.variant]="variant"
|
|
8149
|
+
version="2"
|
|
8150
|
+
[attr.max-width]="maxWidth"
|
|
8151
|
+
[attr.leading-icon]="leadingIcon"
|
|
8152
|
+
[attr.aria-label]="ariaLabel"
|
|
8153
|
+
[attr.testid]="testId"
|
|
8154
|
+
(_action)="_onAction($event)"
|
|
8155
|
+
>
|
|
8156
|
+
<ng-content></ng-content>
|
|
8157
|
+
</goa-menu-button>
|
|
8158
|
+
`, isInline: true }); }
|
|
8159
|
+
}
|
|
8160
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxMenuButton, decorators: [{
|
|
8161
|
+
type: Component,
|
|
8162
|
+
args: [{
|
|
8163
|
+
standalone: true,
|
|
8164
|
+
selector: "goabx-menu-button",
|
|
8165
|
+
template: `
|
|
8166
|
+
<goa-menu-button
|
|
8167
|
+
[attr.text]="text"
|
|
8168
|
+
[attr.type]="type"
|
|
8169
|
+
[attr.size]="size"
|
|
8170
|
+
[attr.variant]="variant"
|
|
8171
|
+
version="2"
|
|
8172
|
+
[attr.max-width]="maxWidth"
|
|
8173
|
+
[attr.leading-icon]="leadingIcon"
|
|
8174
|
+
[attr.aria-label]="ariaLabel"
|
|
8175
|
+
[attr.testid]="testId"
|
|
8176
|
+
(_action)="_onAction($event)"
|
|
8177
|
+
>
|
|
8178
|
+
<ng-content></ng-content>
|
|
8179
|
+
</goa-menu-button>
|
|
8180
|
+
`,
|
|
8181
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
8182
|
+
}]
|
|
8183
|
+
}], propDecorators: { text: [{
|
|
8184
|
+
type: Input
|
|
8185
|
+
}], type: [{
|
|
8186
|
+
type: Input
|
|
8187
|
+
}], size: [{
|
|
8188
|
+
type: Input
|
|
8189
|
+
}], variant: [{
|
|
8190
|
+
type: Input
|
|
8191
|
+
}], maxWidth: [{
|
|
8192
|
+
type: Input
|
|
8193
|
+
}], leadingIcon: [{
|
|
8194
|
+
type: Input
|
|
8195
|
+
}], ariaLabel: [{
|
|
8196
|
+
type: Input
|
|
8197
|
+
}], testId: [{
|
|
8198
|
+
type: Input
|
|
8199
|
+
}], onAction: [{
|
|
8200
|
+
type: Output
|
|
8201
|
+
}] } });
|
|
8202
|
+
|
|
8094
8203
|
class GoabxModal {
|
|
8095
8204
|
constructor(cdr) {
|
|
8096
8205
|
this.cdr = cdr;
|
|
@@ -9015,6 +9124,74 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
9015
9124
|
type: Output
|
|
9016
9125
|
}] } });
|
|
9017
9126
|
|
|
9127
|
+
class GoabxTab {
|
|
9128
|
+
constructor(cdr) {
|
|
9129
|
+
this.cdr = cdr;
|
|
9130
|
+
this.isReady = false;
|
|
9131
|
+
}
|
|
9132
|
+
ngOnInit() {
|
|
9133
|
+
setTimeout(() => {
|
|
9134
|
+
this.isReady = true;
|
|
9135
|
+
this.cdr.detectChanges();
|
|
9136
|
+
});
|
|
9137
|
+
}
|
|
9138
|
+
getHeadingAsString() {
|
|
9139
|
+
return this.heading instanceof TemplateRef ? "" : this.heading;
|
|
9140
|
+
}
|
|
9141
|
+
getHeadingAsTemplate() {
|
|
9142
|
+
if (!this.heading)
|
|
9143
|
+
return null;
|
|
9144
|
+
return this.heading instanceof TemplateRef ? this.heading : null;
|
|
9145
|
+
}
|
|
9146
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxTab, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9147
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: GoabxTab, isStandalone: true, selector: "goabx-tab", inputs: { heading: "heading", disabled: ["disabled", "disabled", booleanAttribute], slug: "slug" }, ngImport: i0, template: `
|
|
9148
|
+
<goa-tab
|
|
9149
|
+
*ngIf="isReady"
|
|
9150
|
+
[attr.slug]="slug"
|
|
9151
|
+
[attr.disabled]="disabled || null"
|
|
9152
|
+
[attr.heading]="getHeadingAsString()"
|
|
9153
|
+
>
|
|
9154
|
+
<ng-content />
|
|
9155
|
+
@if (typeof heading !== "string") {
|
|
9156
|
+
<div slot="heading">
|
|
9157
|
+
<ng-container [ngTemplateOutlet]="getHeadingAsTemplate()"></ng-container>
|
|
9158
|
+
</div>
|
|
9159
|
+
}
|
|
9160
|
+
</goa-tab>
|
|
9161
|
+
`, 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"] }] }); }
|
|
9162
|
+
}
|
|
9163
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxTab, decorators: [{
|
|
9164
|
+
type: Component,
|
|
9165
|
+
args: [{
|
|
9166
|
+
standalone: true,
|
|
9167
|
+
selector: "goabx-tab",
|
|
9168
|
+
template: `
|
|
9169
|
+
<goa-tab
|
|
9170
|
+
*ngIf="isReady"
|
|
9171
|
+
[attr.slug]="slug"
|
|
9172
|
+
[attr.disabled]="disabled || null"
|
|
9173
|
+
[attr.heading]="getHeadingAsString()"
|
|
9174
|
+
>
|
|
9175
|
+
<ng-content />
|
|
9176
|
+
@if (typeof heading !== "string") {
|
|
9177
|
+
<div slot="heading">
|
|
9178
|
+
<ng-container [ngTemplateOutlet]="getHeadingAsTemplate()"></ng-container>
|
|
9179
|
+
</div>
|
|
9180
|
+
}
|
|
9181
|
+
</goa-tab>
|
|
9182
|
+
`,
|
|
9183
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
9184
|
+
imports: [NgTemplateOutlet, CommonModule],
|
|
9185
|
+
}]
|
|
9186
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { heading: [{
|
|
9187
|
+
type: Input
|
|
9188
|
+
}], disabled: [{
|
|
9189
|
+
type: Input,
|
|
9190
|
+
args: [{ transform: booleanAttribute }]
|
|
9191
|
+
}], slug: [{
|
|
9192
|
+
type: Input
|
|
9193
|
+
}] } });
|
|
9194
|
+
|
|
9018
9195
|
class GoabxTabs {
|
|
9019
9196
|
constructor(cdr) {
|
|
9020
9197
|
this.cdr = cdr;
|
|
@@ -9033,13 +9210,14 @@ class GoabxTabs {
|
|
|
9033
9210
|
this.onChange.emit(detail);
|
|
9034
9211
|
}
|
|
9035
9212
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxTabs, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9036
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.16", type: GoabxTabs, isStandalone: true, selector: "goabx-tabs", inputs: { initialTab: ["initialTab", "initialTab", numberAttribute], testId: "testId", variant: "variant" }, outputs: { onChange: "onChange" }, ngImport: i0, template: `
|
|
9213
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.16", type: GoabxTabs, isStandalone: true, selector: "goabx-tabs", inputs: { initialTab: ["initialTab", "initialTab", numberAttribute], testId: "testId", variant: "variant", orientation: "orientation" }, outputs: { onChange: "onChange" }, ngImport: i0, template: `
|
|
9037
9214
|
<goa-tabs
|
|
9038
9215
|
*ngIf="isReady"
|
|
9039
9216
|
[attr.version]="version"
|
|
9040
9217
|
[attr.initialtab]="initialTab"
|
|
9041
9218
|
[attr.testid]="testId"
|
|
9042
9219
|
[attr.variant]="variant"
|
|
9220
|
+
[attr.orientation]="orientation"
|
|
9043
9221
|
(_change)="_onChange($event)"
|
|
9044
9222
|
>
|
|
9045
9223
|
<ng-content />
|
|
@@ -9058,6 +9236,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
9058
9236
|
[attr.initialtab]="initialTab"
|
|
9059
9237
|
[attr.testid]="testId"
|
|
9060
9238
|
[attr.variant]="variant"
|
|
9239
|
+
[attr.orientation]="orientation"
|
|
9061
9240
|
(_change)="_onChange($event)"
|
|
9062
9241
|
>
|
|
9063
9242
|
<ng-content />
|
|
@@ -9073,6 +9252,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
9073
9252
|
type: Input
|
|
9074
9253
|
}], variant: [{
|
|
9075
9254
|
type: Input
|
|
9255
|
+
}], orientation: [{
|
|
9256
|
+
type: Input
|
|
9076
9257
|
}], onChange: [{
|
|
9077
9258
|
type: Output
|
|
9078
9259
|
}] } });
|
|
@@ -9304,5 +9485,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
9304
9485
|
* Generated bundle index. Do not edit.
|
|
9305
9486
|
*/
|
|
9306
9487
|
|
|
9307
|
-
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, GoabDataGrid, GoabDatePicker, GoabDetails, GoabDivider, GoabDrawer, GoabDropdown, GoabDropdownItem, GoabFieldset, GoabFileUploadCard, GoabFileUploadInput, GoabFilterChip, GoabFormItem, GoabFormItemSlot, GoabFormStep, GoabFormStepper, GoabGrid, GoabHeroBanner, GoabIcon, GoabIconButton, GoabInput, GoabInputNumber, GoabLinearProgress, GoabLink, GoabMenuAction, GoabMenuButton, GoabMicrositeHeader, GoabModal, GoabNotification, GoabPageBlock, GoabPages, GoabPagination, GoabPopover, GoabPublicForm, GoabPublicFormPage, GoabPublicFormSummary, GoabPublicFormTask, GoabPublicFormTaskList, GoabPublicSubform, GoabPublicSubformIndex, GoabPushDrawer, GoabRadioGroup, GoabRadioItem, GoabSideMenu, GoabSideMenuGroup, GoabSideMenuHeading, GoabSkeleton, GoabSpacer, GoabTab, GoabTable, GoabTableSortHeader, GoabTabs, GoabTemporaryNotificationCtrl, GoabText, GoabTextArea, GoabTooltip, GoabxAppFooter, GoabxAppFooterMetaSection, GoabxAppFooterNavSection, GoabxBadge, GoabxButton, GoabxCalendar, GoabxCallout, GoabxCheckbox, GoabxDatePicker, GoabxDrawer, GoabxDropdown, GoabxDropdownItem, GoabxFileUploadCard, GoabxFileUploadInput, GoabxFilterChip, GoabxFormItem, GoabxInput, GoabxLink, GoabxModal, GoabxNotification, GoabxPagination, GoabxRadioGroup, GoabxRadioItem, GoabxSideMenu, GoabxSideMenuGroup, GoabxSideMenuHeading, GoabxTable, GoabxTableSortHeader, GoabxTabs, GoabxTextArea, GoabxWorkSideMenu, GoabxWorkSideMenuGroup, GoabxWorkSideMenuItem, ValueDirective, ValueListDirective };
|
|
9488
|
+
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, GoabDataGrid, GoabDatePicker, GoabDetails, GoabDivider, GoabDrawer, GoabDropdown, GoabDropdownItem, GoabFieldset, GoabFileUploadCard, GoabFileUploadInput, GoabFilterChip, GoabFormItem, GoabFormItemSlot, GoabFormStep, GoabFormStepper, GoabGrid, GoabHeroBanner, GoabIcon, GoabIconButton, GoabInput, GoabInputNumber, GoabLinearProgress, GoabLink, GoabMenuAction, GoabMenuButton, GoabMicrositeHeader, GoabModal, GoabNotification, GoabPageBlock, GoabPages, GoabPagination, GoabPopover, GoabPublicForm, GoabPublicFormPage, GoabPublicFormSummary, GoabPublicFormTask, GoabPublicFormTaskList, GoabPublicSubform, GoabPublicSubformIndex, GoabPushDrawer, GoabRadioGroup, GoabRadioItem, GoabSideMenu, GoabSideMenuGroup, GoabSideMenuHeading, GoabSkeleton, GoabSpacer, GoabTab, GoabTable, GoabTableSortHeader, GoabTabs, GoabTemporaryNotificationCtrl, GoabText, GoabTextArea, GoabTooltip, GoabxAppFooter, GoabxAppFooterMetaSection, GoabxAppFooterNavSection, GoabxBadge, GoabxButton, GoabxCalendar, GoabxCallout, GoabxCheckbox, GoabxDatePicker, GoabxDrawer, GoabxDropdown, GoabxDropdownItem, GoabxFileUploadCard, GoabxFileUploadInput, GoabxFilterChip, GoabxFormItem, GoabxInput, GoabxLink, GoabxMenuAction, GoabxMenuButton, GoabxModal, GoabxNotification, GoabxPagination, GoabxRadioGroup, GoabxRadioItem, GoabxSideMenu, GoabxSideMenuGroup, GoabxSideMenuHeading, GoabxTab, GoabxTable, GoabxTableSortHeader, GoabxTabs, GoabxTextArea, GoabxWorkSideMenu, GoabxWorkSideMenuGroup, GoabxWorkSideMenuItem, ValueDirective, ValueListDirective };
|
|
9308
9489
|
//# sourceMappingURL=abgov-angular-components.mjs.map
|