Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@decision/angular-breadcrumb

Package Overview
Dependencies
Maintainers
3
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@decision/angular-breadcrumb - npm Package Compare versions

Comparing version 1.0.10 to 1.0.11

5

bundles/decision-angular-breadcrumb.umd.js

@@ -176,6 +176,7 @@ (function (global, factory) {

/** @type {?} */
var userBreadcrumb = ( /** @type {?} */(child.snapshot.data[BREADCRUMB_DATA_KEY]));
/** @type {?} */
var breadcrumb = {
breadcrumb: child.snapshot.data[BREADCRUMB_DATA_KEY],
params: child.snapshot.queryParams,
//params,
params: userBreadcrumb.queryParams,
url: url

@@ -182,0 +183,0 @@ };

2

bundles/decision-angular-breadcrumb.umd.min.js

@@ -1,2 +0,2 @@

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("rxjs/index"),require("@angular/common"),require("@angular/router"),require("rxjs"),require("rxjs/operators"),require("@angular/core")):"function"==typeof define&&define.amd?define("@decision/angular-breadcrumb",["exports","rxjs/index","@angular/common","@angular/router","rxjs","rxjs/operators","@angular/core"],t):t((e.decision=e.decision||{},e.decision["angular-breadcrumb"]={}),e.rxjs.index,e.ng.common,e.ng.router,e.rxjs,e.rxjs.operators,e.ng.core)}(this,function(e,t,r,p,o,n,i){"use strict";function a(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=i.next()).done;)a.push(n.value)}catch(p){o={error:p}}finally{try{n&&!n.done&&(r=i["return"])&&r.call(i)}finally{if(o)throw o.error}}return a}function u(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(a(arguments[t]));return e}var s="breadcrumb",d=function(){function e(){this.refreshed=new t.Subject}return Object.defineProperty(e.prototype,"refreshed$",{get:function(){return this.refreshed.asObservable()},enumerable:!0,configurable:!0}),e.prototype.refresh=function(){this.refreshed.next()},e.prototype.getBaseUrl=function(e){return e.pathFromRoot.reduce(function(e,t){return e+t.url.map(function(e){return e.path}).join("/")+"/"},"")},e.prototype.getBreadcrumbs=function(e){var t=[];return this.getBreadcrumbsRecursive(e,"",t),t},e.prototype.getBreadcrumbsRecursive=function(e,t,r){var n=e.children;if(n&&0!==n.length){var o=n.find(function(e){return e.outlet===p.PRIMARY_OUTLET}),i=o&&o.snapshot.data&&o.snapshot.data[s];if((!i||!i.hideChildren)&&o&&(0!==o.routeConfig.path.length||this.hasChildren(o))){i||(o.snapshot.data[s]=this.buildPlainBreadcrumbData(o)),t+="/"+o.snapshot.url.map(function(e){return e.path}).join("/");var a={breadcrumb:o.snapshot.data[s],params:o.snapshot.queryParams,url:t};return r.push(a),this.addBreadcrumbExtensions(a,r),this.getBreadcrumbsRecursive(o,t,r)}}},e.prototype.addBreadcrumbExtensions=function(e,t){e.breadcrumb.children&&t.push.apply(t,u(e.breadcrumb.children))},e.prototype.hasChildren=function(e){return e.children&&0<e.children.length},e.prototype.buildPlainBreadcrumbData=function(e){return{label:e.routeConfig.path,icon:"icon-explanation_mark"}},e.decorators=[{type:i.Injectable}],e.ctorParameters=function(){return[]},e}(),c=function(){function e(e,t,r){this.breadcrumbService=e,this.activatedRoute=t,this.router=r,this.hideWhenNothingToShow=!1,this.destroyed=!1,this.breadcrumbRoutes=[],this.homeBreadcrumbRoute={breadcrumb:{label:"",icon:"fa fa-home home-icon"},url:"",params:undefined}}return Object.defineProperty(e.prototype,"homeBreadcrumb",{set:function(e){e&&(this.homeBreadcrumbRoute.breadcrumb=e)},enumerable:!0,configurable:!0}),e.prototype.isString=function(e){return"string"==typeof e},Object.defineProperty(e.prototype,"hideBreadcrumb",{get:function(){return this.hideWhenNothingToShow&&!this.hasRoutes},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasRoutes",{get:function(){return this.calculateHasRoutes()},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var t=this;this.router.events.pipe(n.takeWhile(function(){return!t.destroyed}),n.filter(function(e){return e instanceof p.NavigationEnd})).subscribe(function(e){t.refreshBreadcrumbRoutes()}),this.breadcrumbService.refreshed$.pipe(n.takeWhile(function(){return!t.destroyed})).subscribe(function(){return t.refreshBreadcrumbRoutes()})},e.prototype.refreshBreadcrumbRoutes=function(){var e;this.breadcrumbRoutes=[],this.breadcrumbRoutes.push(this.homeBreadcrumbRoute),(e=this.breadcrumbRoutes).push.apply(e,u(this.breadcrumbService.getBreadcrumbs(this.activatedRoute.root).filter(function(e){return!e.breadcrumb.hide})))},e.prototype.ngOnDestroy=function(){this.destroyed=!0},e.prototype.calculateHasRoutes=function(){return this.breadcrumbRoutes&&0<this.breadcrumbRoutes.length&&this.breadcrumbRoutes.find(function(e){return!e.breadcrumb.hide})!==undefined},e.decorators=[{type:i.Component,args:[{selector:"dcn-breadcrumb",template:'\n \n<div *ngIf="!hideBreadcrumb" class="breadcrumb">\n\n <ng-container *ngFor="let route of breadcrumbRoutes; let inx = index; let isLast=last" >\n <div *ngIf="!route.breadcrumb.hide" class="breadcrumb-holder">\n <a [routerLink]="[route.url]" [queryParams]="route.params" class="breadcrumb-link">\n <i *ngIf="route.breadcrumb.icon && inx==0" class="{{route.breadcrumb.icon}} home-icon"></i>\n <i *ngIf="route.breadcrumb.icon && inx!=0" class="{{route.breadcrumb.icon}} icon link-icon" ></i>\n <span *ngIf="!isString(route.breadcrumb.label)">{{route.breadcrumb.label |async}}</span>\n <span *ngIf="isString(route.breadcrumb.label)">{{route.breadcrumb.label}}</span>\n </a>\n <dcn-breadcrumb-popup [isLast]="isLast" [breadcrumbDropDown]="route.breadcrumb.dropDown"></dcn-breadcrumb-popup>\n </div>\n </ng-container>\n</div>\n\n',styles:[".breadcrumb{display:flex;height:50px;background:#0cb6e7}.breadcrumb-holder{display:flex;align-items:center;font-size:18px}.breadcrumb-holder:first-child{padding-left:12px}.breadcrumb-holder .home-icon{font-size:1.5em}.menu-button{display:flex;font-size:18px;padding:0;align-items:center;width:20px;height:30px;margin:0 5px;outline:0;border:transparent;background-color:transparent}.menu-button.has-no-popup{pointer-events:none;cursor:default}.menu-button.has-popup:hover,.menu-button.is-active{pointer-events:auto;cursor:pointer;border-radius:2px;border:1px solid #fff}.menu-button.has-popup:hover .menu-button-icon,.menu-button.is-active .menu-button-icon{-webkit-transform:rotate(90deg);transform:rotate(90deg);transition:.3s linear}.menu-button .menu-button-icon{margin:auto;transition:.3s linear}.breadcrumb-link{text-decoration:none;outline:0;display:flex;align-items:center}.breadcrumb-link .link-icon{padding-right:6px}.breadcrumb-link .link-icon:hover+span,.breadcrumb-link span:hover{text-decoration:underline}.popover{position:relative}.popover .breadcrumbPopup{visibility:visible;box-shadow:1px 2px 1px #e0e0e0;text-align:left;position:absolute;z-index:1000;top:100%;left:-9px;margin-top:7px;margin-left:5px;-webkit-animation:1s fadeIn;animation:1s fadeIn;border-left-width:1px;border-left-style:solid}.popover .breadcrumbPopup .breadcrumb-popup-menu{max-height:160px;width:100%;overflow-x:hidden;overflow-y:auto;outline:0}.popover .breadcrumbPopup .breadcrumb-popup-menu-item{height:40px}.popover .breadcrumbPopup .breadcrumb-popup-link{height:100%;width:100%;display:flex;padding:0 12px;align-items:center;font-size:12px;text-decoration:none;outline:0;cursor:pointer}.popover .breadcrumbPopup .breadcrumb-popup-link.is-disabled{cursor:default}.popover .breadcrumbPopup .breadcrumb-popup-link-icon{font-size:1.5em;margin-right:15px}.popover .breadcrumbPopup .breadcrumb-popup-link-text{margin-top:1px}.popover .breadcrumbPopup .breadcrumb-popup-search{padding:12px;display:block}.arrowUp{position:absolute;margin-top:-7px;margin-left:9px;width:0;height:0;border-left:9px solid transparent;border-right:9px solid transparent;border-bottom:9px solid #fff}.search-box{width:100%}.input-class{line-height:1;height:38px;width:100%;font-size:14px;padding:6px;border:1px solid #dee5e7;border-radius:2px}.input-class:active,.input-class:focus{border-color:#5ea6dd}@-webkit-keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}"]}]}],e.ctorParameters=function(){return[{type:d},{type:p.ActivatedRoute},{type:p.Router}]},e.propDecorators={hideWhenNothingToShow:[{type:i.Input}],homeBreadcrumb:[{type:i.Input}]},e}(),l=function(){function e(e){this.activatedRoute=e}return e.decorators=[{type:i.Injectable}],e.ctorParameters=function(){return[{type:p.ActivatedRoute}]},e}(),b=function(){function e(e){this.activatedRoute=e}return e.prototype.ngOnInit=function(){this.activatedRoute.data.subscribe(function(e){e[s]=e.breadcrumb})},e.decorators=[{type:i.Component,args:[{selector:"selector",providers:[l],template:"\n<router-outlet></router-outlet>\n"}]}],e.ctorParameters=function(){return[{type:p.ActivatedRoute}]},e}(),m=function(){function e(){}return e.prototype.resolve=function(e,t){return e.data[s]},e.decorators=[{type:i.Injectable}],e}(),h=function(){function e(){}return e.prototype.resolve=function(e,t){return{label:""}},e.decorators=[{type:i.Injectable}],e}(),f=function(){function e(e,t){this.elementRef=e,this.router=t,this.itemSelectedByKeyboard=!1,this._showPopup=!1,this.search=this.search.bind(this)}return Object.defineProperty(e.prototype,"showPopup",{get:function(){return this._showPopup},set:function(e){this._showPopup=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isShowNextArrow",{get:function(){return this.isShowBreadcrumbDropDown||!this.isLast},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isShowBreadcrumbDropDown",{get:function(){return this.breadcrumbDropDown&&(this.breadcrumbDropDown.getItems!=undefined||this.breadcrumbDropDown.items instanceof o.Observable||this.breadcrumbDropDown.items&&0<this.breadcrumbDropDown.items.length)},enumerable:!0,configurable:!0}),e.prototype.onKeyEscape=function(e){this.hidePopup()},e.prototype.onClick=function(e){this.elementRef.nativeElement.contains(e.target)||this.hidePopup()},e.prototype.hidePopup=function(){this.showPopup=!1},e.prototype.search=function(e){var t=e.toUpperCase(),r=this.allItems.filter(function(e){return-1<e.label.toLocaleUpperCase().indexOf(t)});return o.of(r)},e.prototype.setInitialFilter=function(e){var t=this;this.resetSelection();var r=this.items;if(r instanceof o.Observable)var n=r.subscribe(function(e){t.allItems=e,t.filteredItems=e,t.showPopup=!t.showPopup,n&&n.unsubscribe()});else this.allItems=r,this.filteredItems=r,this.showPopup=!this.showPopup},Object.defineProperty(e.prototype,"items",{get:function(){return this.breadcrumbDropDown.getItems?this.breadcrumbDropDown.getItems():this.breadcrumbDropDown.items},enumerable:!0,configurable:!0}),e.prototype.onFiltered=function(e){var t=this;e&&e.find(function(e){return e==t.selectedItem})?e&&(this.selectedItemIndex=e.findIndex(function(e){return e==t.selectedItem})):this.resetSelection(),this.filteredItems=e},e.prototype.resetSelection=function(){this.selectedItemIndex=-1},e.prototype.selectElementDown=function(e){this.selectedItemIndex!=this.filteredItems.length-1&&(this.selectedItemIndex++,this.itemSelectedByKeyboard=!0),e.preventDefault()},e.prototype.selectElementUp=function(e){0!=this.selectedItemIndex&&(this.selectedItemIndex--,this.itemSelectedByKeyboard=!0),e.preventDefault()},e.prototype.navigate=function(){0<=this.selectedItemIndex&&this.selectedItemIndex<=this.filteredItems.length&&!this.filteredItems[this.selectedItemIndex].disabled&&this.router.navigateByUrl(this.filteredItems[this.selectedItemIndex].url)},Object.defineProperty(e.prototype,"selectedItem",{get:function(){return this.filteredItems?this.filteredItems[this.selectedItemIndex]:undefined},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewChecked=function(){this.itemSelectedByKeyboard&&(this.scrollIntoView(),this.itemSelectedByKeyboard=!1)},e.prototype.scrollIntoView=function(){if(this.myScrollContainer&&this.myScrollContainer.nativeElement){var e=this.myScrollContainer.nativeElement.querySelector(".is-selected");e&&this.scrollInView(this.myScrollContainer.nativeElement,e)}},e.prototype.scrollInView=function(e,t){var r=getComputedStyle(e).getPropertyValue("borderTopWidth"),n=r?parseFloat(r):0,o=getComputedStyle(e).getPropertyValue("paddingTop"),i=o?parseFloat(o):0,a=e.getBoundingClientRect(),p=t.getBoundingClientRect().top+document.body.scrollTop-(a.top+document.body.scrollTop)-n-i,u=e.scrollTop,s=e.clientHeight,d=this.getOuterHeight(t);p<0?e.scrollTop=u+p:s<p+d&&(e.scrollTop=u+p-s+d)},e.prototype.getOuterHeight=function(e,t){var r=e.offsetHeight;if(t){var n=getComputedStyle(e);r+=parseFloat(n.marginTop)+parseFloat(n.marginBottom)}return r},e.decorators=[{type:i.Component,args:[{selector:"dcn-breadcrumb-popup",template:'\n<div class="popover" >\n <button *ngIf="isShowNextArrow" #btn3 [ngClass]="{\'menu-button\':true, \'has-no-popup\':!isShowBreadcrumbDropDown,\'has-popup\':isShowBreadcrumbDropDown,\'is-active\':showPopup}" (click)="setInitialFilter($event)">\n <i class="fa fa-angle-right menu-button-icon"></i>\n </button>\n <div *ngIf="showPopup" class="breadcrumbPopup">\n <div class="arrowUp"></div>\n <h4 *ngIf="breadcrumbDropDown.popupTitle">{{breadcrumbDropDown.popupTitle}}</h4>\n <dcn-search-box class="breadcrumb-popup-search"\n #searchbox\n [searchData]="search"\n (keydown.arrowDown)="selectElementDown($event)"\n (keydown.arrowUp)="selectElementUp($event)"\n (keydown.enter)="navigate()"\n [minLength]="0"\n (results)="onFiltered($event)">\n </dcn-search-box>\n \n <div class="breadcrumb-popup-menu" #scrollMe >\n <div *ngFor="let nextLink of filteredItems; let inx=index;" class="breadcrumb-popup-menu-item">\n\n <a *ngIf="nextLink.disabled"\n (mouseenter)="selectedItemIndex=inx"\n [ngClass]="{\'breadcrumb-popup-link\':true, \'is-disabled\':nextLink.disabled, \'is-selected\':inx==selectedItemIndex}" >\n <i class="{{nextLink.icon}} icon breadcrumb-popup-link-icon" ></i>\n <span class="breadcrumb-popup-link-text" >{{nextLink.label}}</span></a>\n\n\n <a *ngIf="!nextLink.disabled" \n [routerLink]="[nextLink.url]"\n [queryParams]="nextLink.params"\n (mouseenter)="selectedItemIndex=inx"\n (click)="hidePopup()"\n [ngClass]="{\'breadcrumb-popup-link\':true, \'is-selected\':inx==selectedItemIndex}" >\n <i class="{{nextLink.icon}} icon breadcrumb-popup-link-icon" ></i>\n <span class="breadcrumb-popup-link-text" >{{nextLink.label}}</span></a>\n </div>\n </div>\n </div>\n</div>\n\n',styles:[".breadcrumb{display:flex;height:50px;background:#0cb6e7}.breadcrumb-holder{display:flex;align-items:center;font-size:18px}.breadcrumb-holder:first-child{padding-left:12px}.breadcrumb-holder .home-icon{font-size:1.5em}.menu-button{display:flex;font-size:18px;padding:0;align-items:center;width:20px;height:30px;margin:0 5px;outline:0;border:transparent;background-color:transparent}.menu-button.has-no-popup{pointer-events:none;cursor:default}.menu-button.has-popup:hover,.menu-button.is-active{pointer-events:auto;cursor:pointer;border-radius:2px;border:1px solid #fff}.menu-button.has-popup:hover .menu-button-icon,.menu-button.is-active .menu-button-icon{-webkit-transform:rotate(90deg);transform:rotate(90deg);transition:.3s linear}.menu-button .menu-button-icon{margin:auto;transition:.3s linear}.breadcrumb-link{text-decoration:none;outline:0;display:flex;align-items:center}.breadcrumb-link .link-icon{padding-right:6px}.breadcrumb-link .link-icon:hover+span,.breadcrumb-link span:hover{text-decoration:underline}.popover{position:relative}.popover .breadcrumbPopup{visibility:visible;box-shadow:1px 2px 1px #e0e0e0;text-align:left;position:absolute;z-index:1000;top:100%;left:-9px;margin-top:7px;margin-left:5px;-webkit-animation:1s fadeIn;animation:1s fadeIn;border-left-width:1px;border-left-style:solid}.popover .breadcrumbPopup .breadcrumb-popup-menu{max-height:160px;width:100%;overflow-x:hidden;overflow-y:auto;outline:0}.popover .breadcrumbPopup .breadcrumb-popup-menu-item{height:40px}.popover .breadcrumbPopup .breadcrumb-popup-link{height:100%;width:100%;display:flex;padding:0 12px;align-items:center;font-size:12px;text-decoration:none;outline:0;cursor:pointer}.popover .breadcrumbPopup .breadcrumb-popup-link.is-disabled{cursor:default}.popover .breadcrumbPopup .breadcrumb-popup-link-icon{font-size:1.5em;margin-right:15px}.popover .breadcrumbPopup .breadcrumb-popup-link-text{margin-top:1px}.popover .breadcrumbPopup .breadcrumb-popup-search{padding:12px;display:block}.arrowUp{position:absolute;margin-top:-7px;margin-left:9px;width:0;height:0;border-left:9px solid transparent;border-right:9px solid transparent;border-bottom:9px solid #fff}.search-box{width:100%}.input-class{line-height:1;height:38px;width:100%;font-size:14px;padding:6px;border:1px solid #dee5e7;border-radius:2px}.input-class:active,.input-class:focus{border-color:#5ea6dd}@-webkit-keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}"]}]}],e.ctorParameters=function(){return[{type:i.ElementRef},{type:p.Router}]},e.propDecorators={breadcrumbDropDown:[{type:i.Input}],isLast:[{type:i.Input}],onKeyEscape:[{type:i.HostListener,args:["keydown.escape",["$event"]]}],onClick:[{type:i.HostListener,args:["document:click",["$event"]]}],myScrollContainer:[{type:i.ViewChild,args:["scrollMe"]}]},e}(),g=function(){function e(e){this.el=e,this.loading=new i.EventEmitter,this.results=new i.EventEmitter,this.filterText="",this.minLength=1,this.maxResults=Number.MAX_SAFE_INTEGER}return e.prototype.ngOnInit=function(){var t=this;this.input.nativeElement.focus();var e=o.fromEvent(this.input.nativeElement,"keyup").pipe(n.map(function(e){return e.target.value}),n.filter(function(e){return e.length>=t.minLength}),n.debounceTime(250)),r=o.fromEvent(this.input.nativeElement,"search").pipe(n.tap(function(){return t.filterText=""}),n.map(function(e){return""}));o.merge(e,r).pipe(n.tap(function(){return t.loading.next(!0)}),n.map(function(e){return t.searchData?t.searchData(e,t.maxResults):o.of([])}),n.switchAll()).subscribe(function(e){t.loading.next(!1),t.results.next(e)},function(e){t.loading.next(!1)})},e.decorators=[{type:i.Component,args:[{selector:"dcn-search-box",template:'\n <div class="search-box">\n <input #input type="search"\n [value]="filterText" \n (input)="filterText = $event.target.value"\n class="input-class" \n placeholder="search"\n />\n </div>\n ',styles:[".breadcrumb{display:flex;height:50px;background:#0cb6e7}.breadcrumb-holder{display:flex;align-items:center;font-size:18px}.breadcrumb-holder:first-child{padding-left:12px}.breadcrumb-holder .home-icon{font-size:1.5em}.menu-button{display:flex;font-size:18px;padding:0;align-items:center;width:20px;height:30px;margin:0 5px;outline:0;border:transparent;background-color:transparent}.menu-button.has-no-popup{pointer-events:none;cursor:default}.menu-button.has-popup:hover,.menu-button.is-active{pointer-events:auto;cursor:pointer;border-radius:2px;border:1px solid #fff}.menu-button.has-popup:hover .menu-button-icon,.menu-button.is-active .menu-button-icon{-webkit-transform:rotate(90deg);transform:rotate(90deg);transition:.3s linear}.menu-button .menu-button-icon{margin:auto;transition:.3s linear}.breadcrumb-link{text-decoration:none;outline:0;display:flex;align-items:center}.breadcrumb-link .link-icon{padding-right:6px}.breadcrumb-link .link-icon:hover+span,.breadcrumb-link span:hover{text-decoration:underline}.popover{position:relative}.popover .breadcrumbPopup{visibility:visible;box-shadow:1px 2px 1px #e0e0e0;text-align:left;position:absolute;z-index:1000;top:100%;left:-9px;margin-top:7px;margin-left:5px;-webkit-animation:1s fadeIn;animation:1s fadeIn;border-left-width:1px;border-left-style:solid}.popover .breadcrumbPopup .breadcrumb-popup-menu{max-height:160px;width:100%;overflow-x:hidden;overflow-y:auto;outline:0}.popover .breadcrumbPopup .breadcrumb-popup-menu-item{height:40px}.popover .breadcrumbPopup .breadcrumb-popup-link{height:100%;width:100%;display:flex;padding:0 12px;align-items:center;font-size:12px;text-decoration:none;outline:0;cursor:pointer}.popover .breadcrumbPopup .breadcrumb-popup-link.is-disabled{cursor:default}.popover .breadcrumbPopup .breadcrumb-popup-link-icon{font-size:1.5em;margin-right:15px}.popover .breadcrumbPopup .breadcrumb-popup-link-text{margin-top:1px}.popover .breadcrumbPopup .breadcrumb-popup-search{padding:12px;display:block}.arrowUp{position:absolute;margin-top:-7px;margin-left:9px;width:0;height:0;border-left:9px solid transparent;border-right:9px solid transparent;border-bottom:9px solid #fff}.search-box{width:100%}.input-class{line-height:1;height:38px;width:100%;font-size:14px;padding:6px;border:1px solid #dee5e7;border-radius:2px}.input-class:active,.input-class:focus{border-color:#5ea6dd}@-webkit-keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}"]}]}],e.ctorParameters=function(){return[{type:i.ElementRef}]},e.propDecorators={maxResults:[{type:i.Input}],minLength:[{type:i.Input}],searchData:[{type:i.Input}],loading:[{type:i.Output}],results:[{type:i.Output}],input:[{type:i.ViewChild,args:["input"]}]},e}(),x=function(){function e(){}return e.decorators=[{type:i.NgModule,args:[{imports:[r.CommonModule,p.RouterModule],declarations:[c,f,g,b],exports:[c,b],providers:[d,l,m,h]}]}],e}();e.BreadcrumbComponent=c,e.BreadcrumbModule=x,e.BreadcrumbDynamicResolver=h,e.BreadcrumbResolver=m,e.BREADCRUMB_DATA_KEY=s,e.BreadcrumbService=d,e.ɵc=b,e.ɵd=l,e.ɵa=f,e.ɵb=g,Object.defineProperty(e,"__esModule",{value:!0})});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("rxjs/index"),require("@angular/common"),require("@angular/router"),require("rxjs"),require("rxjs/operators"),require("@angular/core")):"function"==typeof define&&define.amd?define("@decision/angular-breadcrumb",["exports","rxjs/index","@angular/common","@angular/router","rxjs","rxjs/operators","@angular/core"],t):t((e.decision=e.decision||{},e.decision["angular-breadcrumb"]={}),e.rxjs.index,e.ng.common,e.ng.router,e.rxjs,e.rxjs.operators,e.ng.core)}(this,function(e,t,r,u,o,n,i){"use strict";function a(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=i.next()).done;)a.push(n.value)}catch(p){o={error:p}}finally{try{n&&!n.done&&(r=i["return"])&&r.call(i)}finally{if(o)throw o.error}}return a}function p(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(a(arguments[t]));return e}var s="breadcrumb",d=function(){function e(){this.refreshed=new t.Subject}return Object.defineProperty(e.prototype,"refreshed$",{get:function(){return this.refreshed.asObservable()},enumerable:!0,configurable:!0}),e.prototype.refresh=function(){this.refreshed.next()},e.prototype.getBaseUrl=function(e){return e.pathFromRoot.reduce(function(e,t){return e+t.url.map(function(e){return e.path}).join("/")+"/"},"")},e.prototype.getBreadcrumbs=function(e){var t=[];return this.getBreadcrumbsRecursive(e,"",t),t},e.prototype.getBreadcrumbsRecursive=function(e,t,r){var n=e.children;if(n&&0!==n.length){var o=n.find(function(e){return e.outlet===u.PRIMARY_OUTLET}),i=o&&o.snapshot.data&&o.snapshot.data[s];if((!i||!i.hideChildren)&&o&&(0!==o.routeConfig.path.length||this.hasChildren(o))){i||(o.snapshot.data[s]=this.buildPlainBreadcrumbData(o)),t+="/"+o.snapshot.url.map(function(e){return e.path}).join("/");var a=o.snapshot.data[s],p={breadcrumb:o.snapshot.data[s],params:a.queryParams,url:t};return r.push(p),this.addBreadcrumbExtensions(p,r),this.getBreadcrumbsRecursive(o,t,r)}}},e.prototype.addBreadcrumbExtensions=function(e,t){e.breadcrumb.children&&t.push.apply(t,p(e.breadcrumb.children))},e.prototype.hasChildren=function(e){return e.children&&0<e.children.length},e.prototype.buildPlainBreadcrumbData=function(e){return{label:e.routeConfig.path,icon:"icon-explanation_mark"}},e.decorators=[{type:i.Injectable}],e.ctorParameters=function(){return[]},e}(),c=function(){function e(e,t,r){this.breadcrumbService=e,this.activatedRoute=t,this.router=r,this.hideWhenNothingToShow=!1,this.destroyed=!1,this.breadcrumbRoutes=[],this.homeBreadcrumbRoute={breadcrumb:{label:"",icon:"fa fa-home home-icon"},url:"",params:undefined}}return Object.defineProperty(e.prototype,"homeBreadcrumb",{set:function(e){e&&(this.homeBreadcrumbRoute.breadcrumb=e)},enumerable:!0,configurable:!0}),e.prototype.isString=function(e){return"string"==typeof e},Object.defineProperty(e.prototype,"hideBreadcrumb",{get:function(){return this.hideWhenNothingToShow&&!this.hasRoutes},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasRoutes",{get:function(){return this.calculateHasRoutes()},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var t=this;this.router.events.pipe(n.takeWhile(function(){return!t.destroyed}),n.filter(function(e){return e instanceof u.NavigationEnd})).subscribe(function(e){t.refreshBreadcrumbRoutes()}),this.breadcrumbService.refreshed$.pipe(n.takeWhile(function(){return!t.destroyed})).subscribe(function(){return t.refreshBreadcrumbRoutes()})},e.prototype.refreshBreadcrumbRoutes=function(){var e;this.breadcrumbRoutes=[],this.breadcrumbRoutes.push(this.homeBreadcrumbRoute),(e=this.breadcrumbRoutes).push.apply(e,p(this.breadcrumbService.getBreadcrumbs(this.activatedRoute.root).filter(function(e){return!e.breadcrumb.hide})))},e.prototype.ngOnDestroy=function(){this.destroyed=!0},e.prototype.calculateHasRoutes=function(){return this.breadcrumbRoutes&&0<this.breadcrumbRoutes.length&&this.breadcrumbRoutes.find(function(e){return!e.breadcrumb.hide})!==undefined},e.decorators=[{type:i.Component,args:[{selector:"dcn-breadcrumb",template:'\n \n<div *ngIf="!hideBreadcrumb" class="breadcrumb">\n\n <ng-container *ngFor="let route of breadcrumbRoutes; let inx = index; let isLast=last" >\n <div *ngIf="!route.breadcrumb.hide" class="breadcrumb-holder">\n <a [routerLink]="[route.url]" [queryParams]="route.params" class="breadcrumb-link">\n <i *ngIf="route.breadcrumb.icon && inx==0" class="{{route.breadcrumb.icon}} home-icon"></i>\n <i *ngIf="route.breadcrumb.icon && inx!=0" class="{{route.breadcrumb.icon}} icon link-icon" ></i>\n <span *ngIf="!isString(route.breadcrumb.label)">{{route.breadcrumb.label |async}}</span>\n <span *ngIf="isString(route.breadcrumb.label)">{{route.breadcrumb.label}}</span>\n </a>\n <dcn-breadcrumb-popup [isLast]="isLast" [breadcrumbDropDown]="route.breadcrumb.dropDown"></dcn-breadcrumb-popup>\n </div>\n </ng-container>\n</div>\n\n',styles:[".breadcrumb{display:flex;height:50px;background:#0cb6e7}.breadcrumb-holder{display:flex;align-items:center;font-size:18px}.breadcrumb-holder:first-child{padding-left:12px}.breadcrumb-holder .home-icon{font-size:1.5em}.menu-button{display:flex;font-size:18px;padding:0;align-items:center;width:20px;height:30px;margin:0 5px;outline:0;border:transparent;background-color:transparent}.menu-button.has-no-popup{pointer-events:none;cursor:default}.menu-button.has-popup:hover,.menu-button.is-active{pointer-events:auto;cursor:pointer;border-radius:2px;border:1px solid #fff}.menu-button.has-popup:hover .menu-button-icon,.menu-button.is-active .menu-button-icon{-webkit-transform:rotate(90deg);transform:rotate(90deg);transition:.3s linear}.menu-button .menu-button-icon{margin:auto;transition:.3s linear}.breadcrumb-link{text-decoration:none;outline:0;display:flex;align-items:center}.breadcrumb-link .link-icon{padding-right:6px}.breadcrumb-link .link-icon:hover+span,.breadcrumb-link span:hover{text-decoration:underline}.popover{position:relative}.popover .breadcrumbPopup{visibility:visible;box-shadow:1px 2px 1px #e0e0e0;text-align:left;position:absolute;z-index:1000;top:100%;left:-9px;margin-top:7px;margin-left:5px;-webkit-animation:1s fadeIn;animation:1s fadeIn;border-left-width:1px;border-left-style:solid}.popover .breadcrumbPopup .breadcrumb-popup-menu{max-height:160px;width:100%;overflow-x:hidden;overflow-y:auto;outline:0}.popover .breadcrumbPopup .breadcrumb-popup-menu-item{height:40px}.popover .breadcrumbPopup .breadcrumb-popup-link{height:100%;width:100%;display:flex;padding:0 12px;align-items:center;font-size:12px;text-decoration:none;outline:0;cursor:pointer}.popover .breadcrumbPopup .breadcrumb-popup-link.is-disabled{cursor:default}.popover .breadcrumbPopup .breadcrumb-popup-link-icon{font-size:1.5em;margin-right:15px}.popover .breadcrumbPopup .breadcrumb-popup-link-text{margin-top:1px}.popover .breadcrumbPopup .breadcrumb-popup-search{padding:12px;display:block}.arrowUp{position:absolute;margin-top:-7px;margin-left:9px;width:0;height:0;border-left:9px solid transparent;border-right:9px solid transparent;border-bottom:9px solid #fff}.search-box{width:100%}.input-class{line-height:1;height:38px;width:100%;font-size:14px;padding:6px;border:1px solid #dee5e7;border-radius:2px}.input-class:active,.input-class:focus{border-color:#5ea6dd}@-webkit-keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}"]}]}],e.ctorParameters=function(){return[{type:d},{type:u.ActivatedRoute},{type:u.Router}]},e.propDecorators={hideWhenNothingToShow:[{type:i.Input}],homeBreadcrumb:[{type:i.Input}]},e}(),l=function(){function e(e){this.activatedRoute=e}return e.decorators=[{type:i.Injectable}],e.ctorParameters=function(){return[{type:u.ActivatedRoute}]},e}(),b=function(){function e(e){this.activatedRoute=e}return e.prototype.ngOnInit=function(){this.activatedRoute.data.subscribe(function(e){e[s]=e.breadcrumb})},e.decorators=[{type:i.Component,args:[{selector:"selector",providers:[l],template:"\n<router-outlet></router-outlet>\n"}]}],e.ctorParameters=function(){return[{type:u.ActivatedRoute}]},e}(),m=function(){function e(){}return e.prototype.resolve=function(e,t){return e.data[s]},e.decorators=[{type:i.Injectable}],e}(),h=function(){function e(){}return e.prototype.resolve=function(e,t){return{label:""}},e.decorators=[{type:i.Injectable}],e}(),f=function(){function e(e,t){this.elementRef=e,this.router=t,this.itemSelectedByKeyboard=!1,this._showPopup=!1,this.search=this.search.bind(this)}return Object.defineProperty(e.prototype,"showPopup",{get:function(){return this._showPopup},set:function(e){this._showPopup=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isShowNextArrow",{get:function(){return this.isShowBreadcrumbDropDown||!this.isLast},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isShowBreadcrumbDropDown",{get:function(){return this.breadcrumbDropDown&&(this.breadcrumbDropDown.getItems!=undefined||this.breadcrumbDropDown.items instanceof o.Observable||this.breadcrumbDropDown.items&&0<this.breadcrumbDropDown.items.length)},enumerable:!0,configurable:!0}),e.prototype.onKeyEscape=function(e){this.hidePopup()},e.prototype.onClick=function(e){this.elementRef.nativeElement.contains(e.target)||this.hidePopup()},e.prototype.hidePopup=function(){this.showPopup=!1},e.prototype.search=function(e){var t=e.toUpperCase(),r=this.allItems.filter(function(e){return-1<e.label.toLocaleUpperCase().indexOf(t)});return o.of(r)},e.prototype.setInitialFilter=function(e){var t=this;this.resetSelection();var r=this.items;if(r instanceof o.Observable)var n=r.subscribe(function(e){t.allItems=e,t.filteredItems=e,t.showPopup=!t.showPopup,n&&n.unsubscribe()});else this.allItems=r,this.filteredItems=r,this.showPopup=!this.showPopup},Object.defineProperty(e.prototype,"items",{get:function(){return this.breadcrumbDropDown.getItems?this.breadcrumbDropDown.getItems():this.breadcrumbDropDown.items},enumerable:!0,configurable:!0}),e.prototype.onFiltered=function(e){var t=this;e&&e.find(function(e){return e==t.selectedItem})?e&&(this.selectedItemIndex=e.findIndex(function(e){return e==t.selectedItem})):this.resetSelection(),this.filteredItems=e},e.prototype.resetSelection=function(){this.selectedItemIndex=-1},e.prototype.selectElementDown=function(e){this.selectedItemIndex!=this.filteredItems.length-1&&(this.selectedItemIndex++,this.itemSelectedByKeyboard=!0),e.preventDefault()},e.prototype.selectElementUp=function(e){0!=this.selectedItemIndex&&(this.selectedItemIndex--,this.itemSelectedByKeyboard=!0),e.preventDefault()},e.prototype.navigate=function(){0<=this.selectedItemIndex&&this.selectedItemIndex<=this.filteredItems.length&&!this.filteredItems[this.selectedItemIndex].disabled&&this.router.navigateByUrl(this.filteredItems[this.selectedItemIndex].url)},Object.defineProperty(e.prototype,"selectedItem",{get:function(){return this.filteredItems?this.filteredItems[this.selectedItemIndex]:undefined},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewChecked=function(){this.itemSelectedByKeyboard&&(this.scrollIntoView(),this.itemSelectedByKeyboard=!1)},e.prototype.scrollIntoView=function(){if(this.myScrollContainer&&this.myScrollContainer.nativeElement){var e=this.myScrollContainer.nativeElement.querySelector(".is-selected");e&&this.scrollInView(this.myScrollContainer.nativeElement,e)}},e.prototype.scrollInView=function(e,t){var r=getComputedStyle(e).getPropertyValue("borderTopWidth"),n=r?parseFloat(r):0,o=getComputedStyle(e).getPropertyValue("paddingTop"),i=o?parseFloat(o):0,a=e.getBoundingClientRect(),p=t.getBoundingClientRect().top+document.body.scrollTop-(a.top+document.body.scrollTop)-n-i,u=e.scrollTop,s=e.clientHeight,d=this.getOuterHeight(t);p<0?e.scrollTop=u+p:s<p+d&&(e.scrollTop=u+p-s+d)},e.prototype.getOuterHeight=function(e,t){var r=e.offsetHeight;if(t){var n=getComputedStyle(e);r+=parseFloat(n.marginTop)+parseFloat(n.marginBottom)}return r},e.decorators=[{type:i.Component,args:[{selector:"dcn-breadcrumb-popup",template:'\n<div class="popover" >\n <button *ngIf="isShowNextArrow" #btn3 [ngClass]="{\'menu-button\':true, \'has-no-popup\':!isShowBreadcrumbDropDown,\'has-popup\':isShowBreadcrumbDropDown,\'is-active\':showPopup}" (click)="setInitialFilter($event)">\n <i class="fa fa-angle-right menu-button-icon"></i>\n </button>\n <div *ngIf="showPopup" class="breadcrumbPopup">\n <div class="arrowUp"></div>\n <h4 *ngIf="breadcrumbDropDown.popupTitle">{{breadcrumbDropDown.popupTitle}}</h4>\n <dcn-search-box class="breadcrumb-popup-search"\n #searchbox\n [searchData]="search"\n (keydown.arrowDown)="selectElementDown($event)"\n (keydown.arrowUp)="selectElementUp($event)"\n (keydown.enter)="navigate()"\n [minLength]="0"\n (results)="onFiltered($event)">\n </dcn-search-box>\n \n <div class="breadcrumb-popup-menu" #scrollMe >\n <div *ngFor="let nextLink of filteredItems; let inx=index;" class="breadcrumb-popup-menu-item">\n\n <a *ngIf="nextLink.disabled"\n (mouseenter)="selectedItemIndex=inx"\n [ngClass]="{\'breadcrumb-popup-link\':true, \'is-disabled\':nextLink.disabled, \'is-selected\':inx==selectedItemIndex}" >\n <i class="{{nextLink.icon}} icon breadcrumb-popup-link-icon" ></i>\n <span class="breadcrumb-popup-link-text" >{{nextLink.label}}</span></a>\n\n\n <a *ngIf="!nextLink.disabled" \n [routerLink]="[nextLink.url]"\n [queryParams]="nextLink.params"\n (mouseenter)="selectedItemIndex=inx"\n (click)="hidePopup()"\n [ngClass]="{\'breadcrumb-popup-link\':true, \'is-selected\':inx==selectedItemIndex}" >\n <i class="{{nextLink.icon}} icon breadcrumb-popup-link-icon" ></i>\n <span class="breadcrumb-popup-link-text" >{{nextLink.label}}</span></a>\n </div>\n </div>\n </div>\n</div>\n\n',styles:[".breadcrumb{display:flex;height:50px;background:#0cb6e7}.breadcrumb-holder{display:flex;align-items:center;font-size:18px}.breadcrumb-holder:first-child{padding-left:12px}.breadcrumb-holder .home-icon{font-size:1.5em}.menu-button{display:flex;font-size:18px;padding:0;align-items:center;width:20px;height:30px;margin:0 5px;outline:0;border:transparent;background-color:transparent}.menu-button.has-no-popup{pointer-events:none;cursor:default}.menu-button.has-popup:hover,.menu-button.is-active{pointer-events:auto;cursor:pointer;border-radius:2px;border:1px solid #fff}.menu-button.has-popup:hover .menu-button-icon,.menu-button.is-active .menu-button-icon{-webkit-transform:rotate(90deg);transform:rotate(90deg);transition:.3s linear}.menu-button .menu-button-icon{margin:auto;transition:.3s linear}.breadcrumb-link{text-decoration:none;outline:0;display:flex;align-items:center}.breadcrumb-link .link-icon{padding-right:6px}.breadcrumb-link .link-icon:hover+span,.breadcrumb-link span:hover{text-decoration:underline}.popover{position:relative}.popover .breadcrumbPopup{visibility:visible;box-shadow:1px 2px 1px #e0e0e0;text-align:left;position:absolute;z-index:1000;top:100%;left:-9px;margin-top:7px;margin-left:5px;-webkit-animation:1s fadeIn;animation:1s fadeIn;border-left-width:1px;border-left-style:solid}.popover .breadcrumbPopup .breadcrumb-popup-menu{max-height:160px;width:100%;overflow-x:hidden;overflow-y:auto;outline:0}.popover .breadcrumbPopup .breadcrumb-popup-menu-item{height:40px}.popover .breadcrumbPopup .breadcrumb-popup-link{height:100%;width:100%;display:flex;padding:0 12px;align-items:center;font-size:12px;text-decoration:none;outline:0;cursor:pointer}.popover .breadcrumbPopup .breadcrumb-popup-link.is-disabled{cursor:default}.popover .breadcrumbPopup .breadcrumb-popup-link-icon{font-size:1.5em;margin-right:15px}.popover .breadcrumbPopup .breadcrumb-popup-link-text{margin-top:1px}.popover .breadcrumbPopup .breadcrumb-popup-search{padding:12px;display:block}.arrowUp{position:absolute;margin-top:-7px;margin-left:9px;width:0;height:0;border-left:9px solid transparent;border-right:9px solid transparent;border-bottom:9px solid #fff}.search-box{width:100%}.input-class{line-height:1;height:38px;width:100%;font-size:14px;padding:6px;border:1px solid #dee5e7;border-radius:2px}.input-class:active,.input-class:focus{border-color:#5ea6dd}@-webkit-keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}"]}]}],e.ctorParameters=function(){return[{type:i.ElementRef},{type:u.Router}]},e.propDecorators={breadcrumbDropDown:[{type:i.Input}],isLast:[{type:i.Input}],onKeyEscape:[{type:i.HostListener,args:["keydown.escape",["$event"]]}],onClick:[{type:i.HostListener,args:["document:click",["$event"]]}],myScrollContainer:[{type:i.ViewChild,args:["scrollMe"]}]},e}(),g=function(){function e(e){this.el=e,this.loading=new i.EventEmitter,this.results=new i.EventEmitter,this.filterText="",this.minLength=1,this.maxResults=Number.MAX_SAFE_INTEGER}return e.prototype.ngOnInit=function(){var t=this;this.input.nativeElement.focus();var e=o.fromEvent(this.input.nativeElement,"keyup").pipe(n.map(function(e){return e.target.value}),n.filter(function(e){return e.length>=t.minLength}),n.debounceTime(250)),r=o.fromEvent(this.input.nativeElement,"search").pipe(n.tap(function(){return t.filterText=""}),n.map(function(e){return""}));o.merge(e,r).pipe(n.tap(function(){return t.loading.next(!0)}),n.map(function(e){return t.searchData?t.searchData(e,t.maxResults):o.of([])}),n.switchAll()).subscribe(function(e){t.loading.next(!1),t.results.next(e)},function(e){t.loading.next(!1)})},e.decorators=[{type:i.Component,args:[{selector:"dcn-search-box",template:'\n <div class="search-box">\n <input #input type="search"\n [value]="filterText" \n (input)="filterText = $event.target.value"\n class="input-class" \n placeholder="search"\n />\n </div>\n ',styles:[".breadcrumb{display:flex;height:50px;background:#0cb6e7}.breadcrumb-holder{display:flex;align-items:center;font-size:18px}.breadcrumb-holder:first-child{padding-left:12px}.breadcrumb-holder .home-icon{font-size:1.5em}.menu-button{display:flex;font-size:18px;padding:0;align-items:center;width:20px;height:30px;margin:0 5px;outline:0;border:transparent;background-color:transparent}.menu-button.has-no-popup{pointer-events:none;cursor:default}.menu-button.has-popup:hover,.menu-button.is-active{pointer-events:auto;cursor:pointer;border-radius:2px;border:1px solid #fff}.menu-button.has-popup:hover .menu-button-icon,.menu-button.is-active .menu-button-icon{-webkit-transform:rotate(90deg);transform:rotate(90deg);transition:.3s linear}.menu-button .menu-button-icon{margin:auto;transition:.3s linear}.breadcrumb-link{text-decoration:none;outline:0;display:flex;align-items:center}.breadcrumb-link .link-icon{padding-right:6px}.breadcrumb-link .link-icon:hover+span,.breadcrumb-link span:hover{text-decoration:underline}.popover{position:relative}.popover .breadcrumbPopup{visibility:visible;box-shadow:1px 2px 1px #e0e0e0;text-align:left;position:absolute;z-index:1000;top:100%;left:-9px;margin-top:7px;margin-left:5px;-webkit-animation:1s fadeIn;animation:1s fadeIn;border-left-width:1px;border-left-style:solid}.popover .breadcrumbPopup .breadcrumb-popup-menu{max-height:160px;width:100%;overflow-x:hidden;overflow-y:auto;outline:0}.popover .breadcrumbPopup .breadcrumb-popup-menu-item{height:40px}.popover .breadcrumbPopup .breadcrumb-popup-link{height:100%;width:100%;display:flex;padding:0 12px;align-items:center;font-size:12px;text-decoration:none;outline:0;cursor:pointer}.popover .breadcrumbPopup .breadcrumb-popup-link.is-disabled{cursor:default}.popover .breadcrumbPopup .breadcrumb-popup-link-icon{font-size:1.5em;margin-right:15px}.popover .breadcrumbPopup .breadcrumb-popup-link-text{margin-top:1px}.popover .breadcrumbPopup .breadcrumb-popup-search{padding:12px;display:block}.arrowUp{position:absolute;margin-top:-7px;margin-left:9px;width:0;height:0;border-left:9px solid transparent;border-right:9px solid transparent;border-bottom:9px solid #fff}.search-box{width:100%}.input-class{line-height:1;height:38px;width:100%;font-size:14px;padding:6px;border:1px solid #dee5e7;border-radius:2px}.input-class:active,.input-class:focus{border-color:#5ea6dd}@-webkit-keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}"]}]}],e.ctorParameters=function(){return[{type:i.ElementRef}]},e.propDecorators={maxResults:[{type:i.Input}],minLength:[{type:i.Input}],searchData:[{type:i.Input}],loading:[{type:i.Output}],results:[{type:i.Output}],input:[{type:i.ViewChild,args:["input"]}]},e}(),x=function(){function e(){}return e.decorators=[{type:i.NgModule,args:[{imports:[r.CommonModule,u.RouterModule],declarations:[c,f,g,b],exports:[c,b],providers:[d,l,m,h]}]}],e}();e.BreadcrumbComponent=c,e.BreadcrumbModule=x,e.BreadcrumbDynamicResolver=h,e.BreadcrumbResolver=m,e.BREADCRUMB_DATA_KEY=s,e.BreadcrumbService=d,e.ɵc=b,e.ɵd=l,e.ɵa=f,e.ɵb=g,Object.defineProperty(e,"__esModule",{value:!0})});
//# sourceMappingURL=decision-angular-breadcrumb.umd.min.js.map

@@ -102,6 +102,7 @@ /**

/** @type {?} */
let userBreadcrumb = (/** @type {?} */ (child.snapshot.data[BREADCRUMB_DATA_KEY]));
/** @type {?} */
const breadcrumb = {
breadcrumb: child.snapshot.data[BREADCRUMB_DATA_KEY],
params: child.snapshot.queryParams,
//params,
params: userBreadcrumb.queryParams,
url: url

@@ -156,2 +157,2 @@ };

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnJlYWRjcnVtYi5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGRlY2lzaW9uL2FuZ3VsYXItYnJlYWRjcnVtYi8iLCJzb3VyY2VzIjpbInNyYy9icmVhZGNydW1iL3NlcnZpY2UvYnJlYWRjcnVtYi5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUMsVUFBVSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBeUMsY0FBYyxFQUFDLE1BQU0saUJBQWlCLENBQUM7QUFHdkYsT0FBTyxFQUFDLE9BQU8sRUFBQyxNQUFNLFlBQVksQ0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?|undefined} */
Breadcrumb.prototype.queryParams;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnJlYWRjcnVtYi5tb2RlbC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BkZWNpc2lvbi9hbmd1bGFyLWJyZWFkY3J1bWIvIiwic291cmNlcyI6WyJzcmMvY29tbW9uL21vZGVsL2JyZWFkY3J1bWIubW9kZWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQU1BLGdDQU9DOzs7SUFOQywyQkFBbUM7O0lBQ25DLDBCQUFjOztJQUNkLDBCQUFjOztJQUNkLGtDQUF1Qjs7SUFDdkIsOEJBQThCOztJQUM5Qiw4QkFBNkIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge09ic2VydmFibGV9IGZyb20gXCJyeGpzXCI7XHJcbmltcG9ydCB7QnJlYWRjcnVtYkRyb3BEb3dufSBmcm9tIFwiLi9kcm9wZG93bi5tb2RlbFwiO1xyXG5pbXBvcnQge0JyZWFkY3J1bWJEcm9wRG93bkl0ZW19IGZyb20gXCIuL2Ryb3Bkb3duLWl0ZW0ubW9kZWxcIjtcclxuaW1wb3J0IHtCcmVhZGNydW1iUm91dGV9IGZyb20gXCIuL3JvdXRlLm1vZGVsXCI7XHJcblxyXG5cclxuZXhwb3J0IGludGVyZmFjZSBCcmVhZGNydW1iIHtcclxuICBsYWJlbDogc3RyaW5nIHwgT2JzZXJ2YWJsZTxzdHJpbmc+O1xyXG4gIGljb24/OiBzdHJpbmc7XHJcbiAgaGlkZT86IGJvb2xlYW5cclxuICBoaWRlQ2hpbGRyZW4/OiBib29sZWFuO1xyXG4gIGRyb3BEb3duPzogQnJlYWRjcnVtYkRyb3BEb3duO1xyXG4gIGNoaWxkcmVuPzogQnJlYWRjcnVtYlJvdXRlW107Ly8gZXh0cmEgdXJscyBhZnRlciBjdXJyZW50XHJcbn1cclxuIl19
//# sourceMappingURL=data:application/json;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crumb = (/** @type {?} */ (child.snapshot.data[BREADCRUMB_DATA_KEY]));
/** @type {?} */
var breadcrumb = {
breadcrumb: child.snapshot.data[BREADCRUMB_DATA_KEY],
params: child.snapshot.queryParams,
//params,
params: userBreadcrumb.queryParams,
url: url

@@ -207,2 +208,2 @@ };

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnJlYWRjcnVtYi5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGRlY2lzaW9uL2FuZ3VsYXItYnJlYWRjcnVtYi8iLCJzb3VyY2VzIjpbInNyYy9icmVhZGNydW1iL3NlcnZpY2UvYnJlYWRjcnVtYi5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsT0FBTyxFQUFDLFVBQVUsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQXlDLGNBQWMsRUFBQyxNQUFNLGlCQUFpQixDQUFDO0FBR3ZGLE9BQU8sRUFBQyxPQUFPLEVBQUMsTUFBTSxZQUFZLENBQUM7O0FBRW5DLE1BQU0sS0FBTyxtQkFBbUIsR0FBRyxZQUFZO0FBRy9DO0lBUUU7UUFOUSxjQUFTLEdBQUcsSUFBSSxPQUFPLEVBQUUsQ0FBQztJQVFsQyxDQUFDO0lBTkQsc0JBQUkseUNBQVU7Ozs7UUFBZDtZQUNFLE9BQU8sSUFBSSxDQUFDLFNBQVMsQ0FBQyxZQUFZLEVBQUUsQ0FBQztRQUN2QyxDQUFDOzs7T0FBQTs7OztJQU1ELG1DQUFPOzs7SUFBUDtRQUNFLElBQUksQ0FBQyxTQUFTLENBQUMsSUFBSSxFQUFFLENBQUM7SUFDeEIsQ0FBQztJQUNEOzs7T0FHRzs7Ozs7OztJQUNJLHNDQUFVOzs7Ozs7SUFBakIsVUFBa0IsUUFBZ0M7UUFDaEQsT0FBTyxRQUFRLENBQUMsWUFBWSxDQUFDLE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cbiAgICBicmVhZGNydW1icy5wdXNoKGJyZWFkY3J1bWIpO1xyXG4gICAgdGhpcy5hZGRCcmVhZGNydW1iRXh0ZW5zaW9ucyhicmVhZGNydW1iLCBicmVhZGNydW1icyk7XHJcbiAgICByZXR1cm4gdGhpcy5nZXRCcmVhZGNydW1ic1JlY3Vyc2l2ZShjaGlsZCwgdXJsLCBicmVhZGNydW1icyk7XHJcblxyXG5cclxuICB9XHJcblxyXG4gIHByaXZhdGUgYWRkQnJlYWRjcnVtYkV4dGVuc2lvbnMoYnJlYWRjcnVtYjogQnJlYWRjcnVtYlJvdXRlLCBicmVhZGNydW1iczogQnJlYWRjcnVtYlJvdXRlW10pIHtcclxuICAgIGlmIChicmVhZGNydW1iLmJyZWFkY3J1bWIuY2hpbGRyZW4pIHtcclxuICAgICAgYnJlYWRjcnVtYnMucHVzaCguLi5icmVhZGNydW1iLmJyZWFkY3J1bWIuY2hpbGRyZW4pO1xyXG4gICAgfVxyXG4gIH1cclxuXHJcbiAgcHJpdmF0ZSBoYXNDaGlsZHJlbihjaGlsZDogQWN0aXZhdGVkUm91dGUgfCB1bmRlZmluZWQpIHtcclxuICAgIHJldHVybiBjaGlsZC5jaGlsZHJlbiAmJiBjaGlsZC5jaGlsZHJlbi5sZW5ndGggPiAwO1xyXG4gIH1cclxuXHJcbiAgcHJpdmF0ZSBidWlsZFBsYWluQnJlYWRjcnVtYkRhdGEoY2hpbGQ6IEFjdGl2YXRlZFJvdXRlKTogQnJlYWRjcnVtYiB7XHJcbiAgICByZXR1cm4ge1xyXG4gICAgICBsYWJlbDogY2hpbGQucm91dGVDb25maWcucGF0aCxcclxuICAgICAgaWNvbjogXCJpY29uLWV4cGxhbmF0aW9uX21hcmtcIixcclxuICAgIH07XHJcbiAgfVxyXG5cclxufVxyXG4iXX0=
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnJlYWRjcnVtYi5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI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gICB0aGlzLmFkZEJyZWFkY3J1bWJFeHRlbnNpb25zKGJyZWFkY3J1bWIsIGJyZWFkY3J1bWJzKTtcclxuICAgIHJldHVybiB0aGlzLmdldEJyZWFkY3J1bWJzUmVjdXJzaXZlKGNoaWxkLCB1cmwsIGJyZWFkY3J1bWJzKTtcclxuXHJcblxyXG4gIH1cclxuXHJcbiAgcHJpdmF0ZSBhZGRCcmVhZGNydW1iRXh0ZW5zaW9ucyhicmVhZGNydW1iOiBCcmVhZGNydW1iUm91dGUsIGJyZWFkY3J1bWJzOiBCcmVhZGNydW1iUm91dGVbXSkge1xyXG4gICAgaWYgKGJyZWFkY3J1bWIuYnJlYWRjcnVtYi5jaGlsZHJlbikge1xyXG4gICAgICBicmVhZGNydW1icy5wdXNoKC4uLmJyZWFkY3J1bWIuYnJlYWRjcnVtYi5jaGlsZHJlbik7XHJcbiAgICB9XHJcbiAgfVxyXG5cclxuICBwcml2YXRlIGhhc0NoaWxkcmVuKGNoaWxkOiBBY3RpdmF0ZWRSb3V0ZSB8IHVuZGVmaW5lZCkge1xyXG4gICAgcmV0dXJuIGNoaWxkLmNoaWxkcmVuICYmIGNoaWxkLmNoaWxkcmVuLmxlbmd0aCA+IDA7XHJcbiAgfVxyXG5cclxuICBwcml2YXRlIGJ1aWxkUGxhaW5CcmVhZGNydW1iRGF0YShjaGlsZDogQWN0aXZhdGVkUm91dGUpOiBCcmVhZGNydW1iIHtcclxuICAgIHJldHVybiB7XHJcbiAgICAgIGxhYmVsOiBjaGlsZC5yb3V0ZUNvbmZpZy5wYXRoLFxyXG4gICAgICBpY29uOiBcImljb24tZXhwbGFuYXRpb25fbWFya1wiLFxyXG4gICAgfTtcclxuICB9XHJcblxyXG59XHJcbiJdfQ==

@@ -22,3 +22,5 @@ /**

Breadcrumb.prototype.children;
/** @type {?|undefined} */
Breadcrumb.prototype.queryParams;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnJlYWRjcnVt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pc2lvbi9hbmd1bGFyLWJyZWFkY3J1bWIvIiwic291cmNlcyI6WyJzcmMvY29tbW9uL21vZGVsL2JyZWFkY3J1bWIubW9kZWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQU1BLGdDQVFDOzs7SUFQQywyQkFBbUM7O0lBQ25DLDBCQUFjOztJQUNkLDBCQUFjOztJQUNkLGtDQUF1Qjs7SUFDdkIsOEJBQThCOztJQUM5Qiw4QkFBNkI7O0lBQzdCLGlDQUFvQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7T2JzZXJ2YWJsZX0gZnJvbSBcInJ4anNcIjtcclxuaW1wb3J0IHtCcmVhZGNydW1iRHJvcERvd259IGZyb20gXCIuL2Ryb3Bkb3duLm1vZGVsXCI7XHJcbmltcG9ydCB7QnJlYWRjcnVtYlJvdXRlfSBmcm9tIFwiLi9yb3V0ZS5tb2RlbFwiO1xyXG5pbXBvcnQge1BhcmFtc30gZnJvbSBcIkBhbmd1bGFyL3JvdXRlclwiO1xyXG5cclxuXHJcbmV4cG9ydCBpbnRlcmZhY2UgQnJlYWRjcnVtYiB7XHJcbiAgbGFiZWw6IHN0cmluZyB8IE9ic2VydmFibGU8c3RyaW5nPjtcclxuICBpY29uPzogc3RyaW5nO1xyXG4gIGhpZGU/OiBib29sZWFuXHJcbiAgaGlkZUNoaWxkcmVuPzogYm9vbGVhbjtcclxuICBkcm9wRG93bj86IEJyZWFkY3J1bWJEcm9wRG93bjtcclxuICBjaGlsZHJlbj86IEJyZWFkY3J1bWJSb3V0ZVtdOy8vIGV4dHJhIHVybHMgYWZ0ZXIgY3VycmVudFxyXG4gIHF1ZXJ5UGFyYW1zPzogUGFyYW1zXHJcbn1cclxuIl19

@@ -106,6 +106,7 @@ import { Subject } from 'rxjs/index';

/** @type {?} */
let userBreadcrumb = (/** @type {?} */ (child.snapshot.data[BREADCRUMB_DATA_KEY]));
/** @type {?} */
const breadcrumb = {
breadcrumb: child.snapshot.data[BREADCRUMB_DATA_KEY],
params: child.snapshot.queryParams,
//params,
params: userBreadcrumb.queryParams,
url: url

@@ -112,0 +113,0 @@ };

@@ -139,6 +139,7 @@ import { __spread } from 'tslib';

/** @type {?} */
var userBreadcrumb = (/** @type {?} */ (child.snapshot.data[BREADCRUMB_DATA_KEY]));
/** @type {?} */
var breadcrumb = {
breadcrumb: child.snapshot.data[BREADCRUMB_DATA_KEY],
params: child.snapshot.queryParams,
//params,
params: userBreadcrumb.queryParams,
url: url

@@ -145,0 +146,0 @@ };

{
"$schema": "../../node_modules/ng-packagr/package.schema.json",
"name": "@decision/angular-breadcrumb",
"version": "1.0.10",
"version": "1.0.11",
"license": "MIT",

@@ -6,0 +6,0 @@ "peerDependencies": {

import { Observable } from "rxjs";
import { BreadcrumbDropDown } from "./dropdown.model";
import { BreadcrumbRoute } from "./route.model";
import { Params } from "@angular/router";
export interface Breadcrumb {

@@ -11,2 +12,3 @@ label: string | Observable<string>;

children?: BreadcrumbRoute[];
queryParams?: Params;
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc