@festo-ui/angular 9.0.1-dev.779 → 9.0.1-dev.780
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.
|
@@ -274,18 +274,21 @@ class FngBreadcrumbComponent {
|
|
|
274
274
|
constructor() {
|
|
275
275
|
this.useRouterLink = false;
|
|
276
276
|
this.locations = [];
|
|
277
|
+
this.ariaLabel = 'Breadcrumb';
|
|
277
278
|
this.navigate = new EventEmitter();
|
|
278
279
|
}
|
|
279
280
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: FngBreadcrumbComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
280
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.15", type: FngBreadcrumbComponent, isStandalone: true, selector: "fng-breadcrumb", inputs: { useRouterLink: "useRouterLink", locations: "locations" }, outputs: { navigate: "navigate" }, ngImport: i0, template: "<
|
|
281
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.15", type: FngBreadcrumbComponent, isStandalone: true, selector: "fng-breadcrumb", inputs: { useRouterLink: "useRouterLink", locations: "locations", ariaLabel: "ariaLabel" }, outputs: { navigate: "navigate" }, ngImport: i0, template: "<nav [attr.aria-label]=\"ariaLabel\" class=\"fwe-breadcrumb fng-breadcrumb\">\n <ol>\n @for (location of locations; track location) {\n @if (useRouterLink) {\n <li>\n <a class=\"fng-breadcrumb-location\" [routerLink]=\"location.url\">{{ location.label }}</a>\n </li>\n }\n @if (!useRouterLink) {\n <li>\n <a class=\"fng-breadcrumb-location\" (click)=\"navigate.emit(location.url)\">{{ location.label }}</a>\n </li>\n }\n }\n </ol>\n</nav>\n", styles: [".fng-breadcrumb a{cursor:pointer}.fng-breadcrumb li:last-child a{font-weight:var(--fwe-font-weight-bold)}\n"], dependencies: [{ kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
281
282
|
}
|
|
282
283
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: FngBreadcrumbComponent, decorators: [{
|
|
283
284
|
type: Component,
|
|
284
|
-
args: [{ imports: [RouterModule], selector: 'fng-breadcrumb', encapsulation: ViewEncapsulation.None, template: "<
|
|
285
|
+
args: [{ imports: [RouterModule], selector: 'fng-breadcrumb', encapsulation: ViewEncapsulation.None, template: "<nav [attr.aria-label]=\"ariaLabel\" class=\"fwe-breadcrumb fng-breadcrumb\">\n <ol>\n @for (location of locations; track location) {\n @if (useRouterLink) {\n <li>\n <a class=\"fng-breadcrumb-location\" [routerLink]=\"location.url\">{{ location.label }}</a>\n </li>\n }\n @if (!useRouterLink) {\n <li>\n <a class=\"fng-breadcrumb-location\" (click)=\"navigate.emit(location.url)\">{{ location.label }}</a>\n </li>\n }\n }\n </ol>\n</nav>\n", styles: [".fng-breadcrumb a{cursor:pointer}.fng-breadcrumb li:last-child a{font-weight:var(--fwe-font-weight-bold)}\n"] }]
|
|
285
286
|
}], propDecorators: { useRouterLink: [{
|
|
286
287
|
type: Input
|
|
287
288
|
}], locations: [{
|
|
288
289
|
type: Input
|
|
290
|
+
}], ariaLabel: [{
|
|
291
|
+
type: Input
|
|
289
292
|
}], navigate: [{
|
|
290
293
|
type: Output
|
|
291
294
|
}] } });
|