@seniorsistemas/angular-components 14.16.10 → 14.16.11
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.
- package/bundles/seniorsistemas-angular-components.umd.js +5 -1
- package/bundles/seniorsistemas-angular-components.umd.js.map +1 -1
- package/bundles/seniorsistemas-angular-components.umd.min.js +1 -1
- package/bundles/seniorsistemas-angular-components.umd.min.js.map +1 -1
- package/components/breadcrumb/breadcrumb.component.d.ts +1 -0
- package/esm2015/components/breadcrumb/breadcrumb.component.js +6 -2
- package/esm5/components/breadcrumb/breadcrumb.component.js +6 -2
- package/fesm2015/seniorsistemas-angular-components.js +5 -1
- package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
- package/fesm5/seniorsistemas-angular-components.js +5 -1
- package/fesm5/seniorsistemas-angular-components.js.map +1 -1
- package/package.json +1 -1
- package/seniorsistemas-angular-components.metadata.json +1 -1
|
@@ -231,6 +231,7 @@
|
|
|
231
231
|
var _this = this;
|
|
232
232
|
this.activatedRoute = activatedRoute;
|
|
233
233
|
this.router = router$1;
|
|
234
|
+
this.targetHomeUrl = "_self";
|
|
234
235
|
this.ngUnsubscribe = new rxjs.Subject();
|
|
235
236
|
this.router.events
|
|
236
237
|
.pipe(operators.takeUntil(this.ngUnsubscribe), operators.filter(function (event) { return event instanceof router.NavigationEnd; }))
|
|
@@ -256,7 +257,7 @@
|
|
|
256
257
|
BreadcrumbComponent.prototype.getCurrentHome = function (routes) {
|
|
257
258
|
var home;
|
|
258
259
|
if (this.homeUrl)
|
|
259
|
-
home = { url: this.homeUrl, icon: "fa fa-home" };
|
|
260
|
+
home = { url: this.homeUrl, icon: "fa fa-home", target: this.targetHomeUrl };
|
|
260
261
|
else if (routes.length)
|
|
261
262
|
home = __assign(__assign({}, this.getMenuItem(routes[0], routes.length === 1)), { icon: "fa fa-home" });
|
|
262
263
|
return home;
|
|
@@ -302,6 +303,9 @@
|
|
|
302
303
|
__decorate([
|
|
303
304
|
core.Input()
|
|
304
305
|
], BreadcrumbComponent.prototype, "homeUrl", void 0);
|
|
306
|
+
__decorate([
|
|
307
|
+
core.Input()
|
|
308
|
+
], BreadcrumbComponent.prototype, "targetHomeUrl", void 0);
|
|
305
309
|
BreadcrumbComponent = __decorate([
|
|
306
310
|
core.Component({
|
|
307
311
|
selector: "s-breadcrumb",
|