@customjs/breadcrumb
Advanced tools
@@ -32,3 +32,3 @@ (function (global, factory) { | ||
| selector: 'custom-breadcrumb', | ||
| template: "<div fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"8px\">\n <div fxFlex>\n <ul class=\"custom-breadcrumb {{ color }}\">\n <ng-container *ngFor=\"let section of sections\">\n <li>\n <a [routerLink]=\"[section.path]\" [class]=\"color\">{{\n section.label\n }}</a>\n </li>\n </ng-container>\n <li>\n <h1 [class]=\"color\">{{ title }}</h1>\n </li>\n </ul>\n </div>\n <div>\n <div>\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n", | ||
| template: "<div fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"8px\">\n <div fxFlex>\n <ul class=\"custom-breadcrumb {{ color }}\">\n <ng-container *ngFor=\"let section of sections\">\n <li>\n <a [routerLink]=\"[section.path]\" [class]=\"color\">{{ section.label }}</a>\n </li>\n </ng-container>\n <li>\n <h1 [class]=\"color\">{{ title }}</h1>\n </li>\n </ul>\n </div>\n <div>\n <div>\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n", | ||
| changeDetection: core.ChangeDetectionStrategy.OnPush, | ||
@@ -35,0 +35,0 @@ styles: ["ul{padding:8px 0;list-style:none}ul li{display:inline-block}ul li+:before{margin:0 4px;content:\">\"}ul li a,ul li h1{text-decoration:none!important;font-size:inherit;display:inline-block}"] |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"customjs-breadcrumb.umd.js","sources":["ng://@customjs/breadcrumb/lib/breadcrumb.component.ts","ng://@customjs/breadcrumb/lib/breadcrumb.module.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { ThemePalette } from '@angular/material';\n\n/**\n * Custom Breadcrumb Section item\n * @param label The section label presented to the reader\n * @param path The anchor path\n */\nexport interface CustomBreadcrumbSection {\n label: string;\n path: string;\n}\n\n@Component({\n selector: 'custom-breadcrumb',\n templateUrl: './breadcrumb.component.html',\n styleUrls: ['./breadcrumb.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BreadcrumbComponent {\n @Input() color: ThemePalette = 'warn';\n\n @Input() title: string;\n\n @Input() sections: CustomBreadcrumbSection[] = [];\n\n constructor() {}\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FlexLayoutModule } from '@angular/flex-layout';\nimport { RouterModule } from '@angular/router';\nimport { BreadcrumbComponent } from './breadcrumb.component';\n\n@NgModule({\n declarations: [BreadcrumbComponent],\n imports: [CommonModule, RouterModule, FlexLayoutModule],\n exports: [BreadcrumbComponent],\n})\nexport class BreadcrumbModule {}\n"],"names":["Component","ChangeDetectionStrategy","Input","NgModule","CommonModule","RouterModule","FlexLayoutModule"],"mappings":";;;;;;;;;;IAAA;;;;;;IAQA,sCAGC;;;QAFC,wCAAc;;QACd,uCAAa;;AAGf;QAaE;YANS,UAAK,GAAiB,MAAM,CAAC;YAI7B,aAAQ,GAA8B,EAAE,CAAC;SAElC;;oBAbjBA,cAAS,SAAC;wBACT,QAAQ,EAAE,mBAAmB;wBAC7B,uiBAA0C;wBAE1C,eAAe,EAAEC,4BAAuB,CAAC,MAAM;;qBAChD;;;;;4BAEEC,UAAK;4BAELA,UAAK;+BAELA,UAAK;;QAGR,0BAAC;KAdD,IAcC;;;QAPC,oCAAsC;;QAEtC,oCAAuB;;QAEvB,uCAAkD;;;;;;;ACxBpD;QAMA;SAKgC;;oBAL/BC,aAAQ,SAAC;wBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;wBACnC,OAAO,EAAE,CAACC,mBAAY,EAAEC,mBAAY,EAAEC,2BAAgB,CAAC;wBACvD,OAAO,EAAE,CAAC,mBAAmB,CAAC;qBAC/B;;QAC8B,uBAAC;KALhC;;;;;;;;;;;;;"} | ||
| {"version":3,"file":"customjs-breadcrumb.umd.js","sources":["ng://@customjs/breadcrumb/lib/breadcrumb.component.ts","ng://@customjs/breadcrumb/lib/breadcrumb.module.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { ThemePalette } from '@angular/material';\n\n/**\n * Custom Breadcrumb Section item\n * @param label The section label presented to the reader\n * @param path The anchor path\n */\nexport interface CustomBreadcrumbSection {\n label: string;\n path: string;\n}\n\n@Component({\n selector: 'custom-breadcrumb',\n templateUrl: './breadcrumb.component.html',\n styleUrls: ['./breadcrumb.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BreadcrumbComponent {\n @Input() color: ThemePalette = 'warn';\n\n @Input() title: string;\n\n @Input() sections: CustomBreadcrumbSection[] = [];\n\n constructor() {}\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FlexLayoutModule } from '@angular/flex-layout';\nimport { RouterModule } from '@angular/router';\nimport { BreadcrumbComponent } from './breadcrumb.component';\n\n@NgModule({\n declarations: [BreadcrumbComponent],\n imports: [CommonModule, RouterModule, FlexLayoutModule],\n exports: [BreadcrumbComponent],\n})\nexport class BreadcrumbModule {}\n"],"names":["Component","ChangeDetectionStrategy","Input","NgModule","CommonModule","RouterModule","FlexLayoutModule"],"mappings":";;;;;;;;;;IAAA;;;;;;IAQA,sCAGC;;;QAFC,wCAAc;;QACd,uCAAa;;AAGf;QAaE;YANS,UAAK,GAAiB,MAAM,CAAC;YAI7B,aAAQ,GAA8B,EAAE,CAAC;SAElC;;oBAbjBA,cAAS,SAAC;wBACT,QAAQ,EAAE,mBAAmB;wBAC7B,+gBAA0C;wBAE1C,eAAe,EAAEC,4BAAuB,CAAC,MAAM;;qBAChD;;;;;4BAEEC,UAAK;4BAELA,UAAK;+BAELA,UAAK;;QAGR,0BAAC;KAdD,IAcC;;;QAPC,oCAAsC;;QAEtC,oCAAuB;;QAEvB,uCAAkD;;;;;;;ACxBpD;QAMA;SAKgC;;oBAL/BC,aAAQ,SAAC;wBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;wBACnC,OAAO,EAAE,CAACC,mBAAY,EAAEC,mBAAY,EAAEC,2BAAgB,CAAC;wBACvD,OAAO,EAAE,CAAC,mBAAmB,CAAC;qBAC/B;;QAC8B,uBAAC;KALhC;;;;;;;;;;;;;"} |
@@ -1,2 +0,2 @@ | ||
| !function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("@angular/core"),require("@angular/common"),require("@angular/flex-layout"),require("@angular/router")):"function"==typeof define&&define.amd?define("@customjs/breadcrumb",["exports","@angular/core","@angular/common","@angular/flex-layout","@angular/router"],n):n(((e=e||self).customjs=e.customjs||{},e.customjs.breadcrumb={}),e.ng.core,e.ng.common,e.ng["flex-layout"],e.ng.router)}(this,function(e,n,o,t,r){"use strict";var u=function(){function e(){this.color="warn",this.sections=[]}return e.decorators=[{type:n.Component,args:[{selector:"custom-breadcrumb",template:'<div fxLayout="row" fxLayoutAlign="start center" fxLayoutGap="8px">\n <div fxFlex>\n <ul class="custom-breadcrumb {{ color }}">\n <ng-container *ngFor="let section of sections">\n <li>\n <a [routerLink]="[section.path]" [class]="color">{{\n section.label\n }}</a>\n </li>\n </ng-container>\n <li>\n <h1 [class]="color">{{ title }}</h1>\n </li>\n </ul>\n </div>\n <div>\n <div>\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n',changeDetection:n.ChangeDetectionStrategy.OnPush,styles:['ul{padding:8px 0;list-style:none}ul li{display:inline-block}ul li+:before{margin:0 4px;content:">"}ul li a,ul li h1{text-decoration:none!important;font-size:inherit;display:inline-block}']}]}],e.ctorParameters=function(){return[]},e.propDecorators={color:[{type:n.Input}],title:[{type:n.Input}],sections:[{type:n.Input}]},e}();var i=function(){function e(){}return e.decorators=[{type:n.NgModule,args:[{declarations:[u],imports:[o.CommonModule,r.RouterModule,t.FlexLayoutModule],exports:[u]}]}],e}();e.BreadcrumbComponent=u,e.BreadcrumbModule=i,Object.defineProperty(e,"__esModule",{value:!0})}); | ||
| !function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("@angular/core"),require("@angular/common"),require("@angular/flex-layout"),require("@angular/router")):"function"==typeof define&&define.amd?define("@customjs/breadcrumb",["exports","@angular/core","@angular/common","@angular/flex-layout","@angular/router"],n):n(((e=e||self).customjs=e.customjs||{},e.customjs.breadcrumb={}),e.ng.core,e.ng.common,e.ng["flex-layout"],e.ng.router)}(this,function(e,n,o,t,r){"use strict";var u=function(){function e(){this.color="warn",this.sections=[]}return e.decorators=[{type:n.Component,args:[{selector:"custom-breadcrumb",template:'<div fxLayout="row" fxLayoutAlign="start center" fxLayoutGap="8px">\n <div fxFlex>\n <ul class="custom-breadcrumb {{ color }}">\n <ng-container *ngFor="let section of sections">\n <li>\n <a [routerLink]="[section.path]" [class]="color">{{ section.label }}</a>\n </li>\n </ng-container>\n <li>\n <h1 [class]="color">{{ title }}</h1>\n </li>\n </ul>\n </div>\n <div>\n <div>\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n',changeDetection:n.ChangeDetectionStrategy.OnPush,styles:['ul{padding:8px 0;list-style:none}ul li{display:inline-block}ul li+:before{margin:0 4px;content:">"}ul li a,ul li h1{text-decoration:none!important;font-size:inherit;display:inline-block}']}]}],e.ctorParameters=function(){return[]},e.propDecorators={color:[{type:n.Input}],title:[{type:n.Input}],sections:[{type:n.Input}]},e}();var i=function(){function e(){}return e.decorators=[{type:n.NgModule,args:[{declarations:[u],imports:[o.CommonModule,r.RouterModule,t.FlexLayoutModule],exports:[u]}]}],e}();e.BreadcrumbComponent=u,e.BreadcrumbModule=i,Object.defineProperty(e,"__esModule",{value:!0})}); | ||
| //# sourceMappingURL=customjs-breadcrumb.umd.min.js.map |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"sources":["ng://@customjs/breadcrumb/lib/breadcrumb.component.ts","ng://@customjs/breadcrumb/lib/breadcrumb.module.ts"],"names":["BreadcrumbComponent","this","color","sections","Component","args","selector","template","changeDetection","ChangeDetectionStrategy","OnPush","Input","BreadcrumbModule","NgModule","declarations","imports","CommonModule","RouterModule","FlexLayoutModule","exports"],"mappings":"2fAaA,IAAAA,EAAA,WAaE,SAAAA,IANSC,KAAAC,MAAsB,OAItBD,KAAAE,SAAsC,GAGjD,2BAdCC,EAAAA,UAASC,KAAA,CAAC,CACTC,SAAU,oBACVC,SAAA,8gBAEAC,gBAAiBC,EAAAA,wBAAwBC,sRAGxCC,EAAAA,qBAEAA,EAAAA,wBAEAA,EAAAA,SAGHX,EAdA,GCbA,IAAAY,EAAA,WAMA,SAAAA,KAK+B,2BAL9BC,EAAAA,SAAQR,KAAA,CAAC,CACRS,aAAc,CAACd,GACfe,QAAS,CAACC,EAAAA,aAAcC,EAAAA,aAAcC,EAAAA,kBACtCC,QAAS,CAACnB,OAEmBY,EAX/B","sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { ThemePalette } from '@angular/material';\n\n/**\n * Custom Breadcrumb Section item\n * @param label The section label presented to the reader\n * @param path The anchor path\n */\nexport interface CustomBreadcrumbSection {\n label: string;\n path: string;\n}\n\n@Component({\n selector: 'custom-breadcrumb',\n templateUrl: './breadcrumb.component.html',\n styleUrls: ['./breadcrumb.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BreadcrumbComponent {\n @Input() color: ThemePalette = 'warn';\n\n @Input() title: string;\n\n @Input() sections: CustomBreadcrumbSection[] = [];\n\n constructor() {}\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FlexLayoutModule } from '@angular/flex-layout';\nimport { RouterModule } from '@angular/router';\nimport { BreadcrumbComponent } from './breadcrumb.component';\n\n@NgModule({\n declarations: [BreadcrumbComponent],\n imports: [CommonModule, RouterModule, FlexLayoutModule],\n exports: [BreadcrumbComponent],\n})\nexport class BreadcrumbModule {}\n"]} | ||
| {"version":3,"sources":["ng://@customjs/breadcrumb/lib/breadcrumb.component.ts","ng://@customjs/breadcrumb/lib/breadcrumb.module.ts"],"names":["BreadcrumbComponent","this","color","sections","Component","args","selector","template","changeDetection","ChangeDetectionStrategy","OnPush","Input","BreadcrumbModule","NgModule","declarations","imports","CommonModule","RouterModule","FlexLayoutModule","exports"],"mappings":"2fAaA,IAAAA,EAAA,WAaE,SAAAA,IANSC,KAAAC,MAAsB,OAItBD,KAAAE,SAAsC,GAGjD,2BAdCC,EAAAA,UAASC,KAAA,CAAC,CACTC,SAAU,oBACVC,SAAA,sfAEAC,gBAAiBC,EAAAA,wBAAwBC,sRAGxCC,EAAAA,qBAEAA,EAAAA,wBAEAA,EAAAA,SAGHX,EAdA,GCbA,IAAAY,EAAA,WAMA,SAAAA,KAK+B,2BAL9BC,EAAAA,SAAQR,KAAA,CAAC,CACRS,aAAc,CAACd,GACfe,QAAS,CAACC,EAAAA,aAAcC,EAAAA,aAAcC,EAAAA,kBACtCC,QAAS,CAACnB,OAEmBY,EAX/B","sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { ThemePalette } from '@angular/material';\n\n/**\n * Custom Breadcrumb Section item\n * @param label The section label presented to the reader\n * @param path The anchor path\n */\nexport interface CustomBreadcrumbSection {\n label: string;\n path: string;\n}\n\n@Component({\n selector: 'custom-breadcrumb',\n templateUrl: './breadcrumb.component.html',\n styleUrls: ['./breadcrumb.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BreadcrumbComponent {\n @Input() color: ThemePalette = 'warn';\n\n @Input() title: string;\n\n @Input() sections: CustomBreadcrumbSection[] = [];\n\n constructor() {}\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FlexLayoutModule } from '@angular/flex-layout';\nimport { RouterModule } from '@angular/router';\nimport { BreadcrumbComponent } from './breadcrumb.component';\n\n@NgModule({\n declarations: [BreadcrumbComponent],\n imports: [CommonModule, RouterModule, FlexLayoutModule],\n exports: [BreadcrumbComponent],\n})\nexport class BreadcrumbModule {}\n"]} |
@@ -1,1 +0,1 @@ | ||
| {"__symbolic":"module","version":4,"metadata":{"CustomBreadcrumbSection":{"__symbolic":"interface"},"BreadcrumbComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":13,"character":1},"arguments":[{"selector":"custom-breadcrumb","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":17,"character":19},"member":"OnPush"},"template":"<div fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"8px\">\n <div fxFlex>\n <ul class=\"custom-breadcrumb {{ color }}\">\n <ng-container *ngFor=\"let section of sections\">\n <li>\n <a [routerLink]=\"[section.path]\" [class]=\"color\">{{\n section.label\n }}</a>\n </li>\n </ng-container>\n <li>\n <h1 [class]=\"color\">{{ title }}</h1>\n </li>\n </ul>\n </div>\n <div>\n <div>\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n","styles":["ul{padding:8px 0;list-style:none}ul li{display:inline-block}ul li+:before{margin:0 4px;content:\">\"}ul li a,ul li h1{text-decoration:none!important;font-size:inherit;display:inline-block}"]}]}],"members":{"color":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":20,"character":3}}]}],"title":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":22,"character":3}}]}],"sections":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":24,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor"}]}},"BreadcrumbModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":6,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"BreadcrumbComponent"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":8,"character":12},{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":8,"character":26},{"__symbolic":"reference","module":"@angular/flex-layout","name":"FlexLayoutModule","line":8,"character":40}],"exports":[{"__symbolic":"reference","name":"BreadcrumbComponent"}]}]}],"members":{}}},"origins":{"CustomBreadcrumbSection":"./lib/breadcrumb.component","BreadcrumbComponent":"./lib/breadcrumb.component","BreadcrumbModule":"./lib/breadcrumb.module"},"importAs":"@customjs/breadcrumb"} | ||
| {"__symbolic":"module","version":4,"metadata":{"CustomBreadcrumbSection":{"__symbolic":"interface"},"BreadcrumbComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":13,"character":1},"arguments":[{"selector":"custom-breadcrumb","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":17,"character":19},"member":"OnPush"},"template":"<div fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"8px\">\n <div fxFlex>\n <ul class=\"custom-breadcrumb {{ color }}\">\n <ng-container *ngFor=\"let section of sections\">\n <li>\n <a [routerLink]=\"[section.path]\" [class]=\"color\">{{ section.label }}</a>\n </li>\n </ng-container>\n <li>\n <h1 [class]=\"color\">{{ title }}</h1>\n </li>\n </ul>\n </div>\n <div>\n <div>\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n","styles":["ul{padding:8px 0;list-style:none}ul li{display:inline-block}ul li+:before{margin:0 4px;content:\">\"}ul li a,ul li h1{text-decoration:none!important;font-size:inherit;display:inline-block}"]}]}],"members":{"color":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":20,"character":3}}]}],"title":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":22,"character":3}}]}],"sections":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":24,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor"}]}},"BreadcrumbModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":6,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"BreadcrumbComponent"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":8,"character":12},{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":8,"character":26},{"__symbolic":"reference","module":"@angular/flex-layout","name":"FlexLayoutModule","line":8,"character":40}],"exports":[{"__symbolic":"reference","name":"BreadcrumbComponent"}]}]}],"members":{}}},"origins":{"CustomBreadcrumbSection":"./lib/breadcrumb.component","BreadcrumbComponent":"./lib/breadcrumb.component","BreadcrumbModule":"./lib/breadcrumb.module"},"importAs":"@customjs/breadcrumb"} |
@@ -28,3 +28,3 @@ /** | ||
| selector: 'custom-breadcrumb', | ||
| template: "<div fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"8px\">\n <div fxFlex>\n <ul class=\"custom-breadcrumb {{ color }}\">\n <ng-container *ngFor=\"let section of sections\">\n <li>\n <a [routerLink]=\"[section.path]\" [class]=\"color\">{{\n section.label\n }}</a>\n </li>\n </ng-container>\n <li>\n <h1 [class]=\"color\">{{ title }}</h1>\n </li>\n </ul>\n </div>\n <div>\n <div>\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n", | ||
| template: "<div fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"8px\">\n <div fxFlex>\n <ul class=\"custom-breadcrumb {{ color }}\">\n <ng-container *ngFor=\"let section of sections\">\n <li>\n <a [routerLink]=\"[section.path]\" [class]=\"color\">{{ section.label }}</a>\n </li>\n </ng-container>\n <li>\n <h1 [class]=\"color\">{{ title }}</h1>\n </li>\n </ul>\n </div>\n <div>\n <div>\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n", | ||
| changeDetection: ChangeDetectionStrategy.OnPush, | ||
@@ -49,2 +49,2 @@ styles: ["ul{padding:8px 0;list-style:none}ul li{display:inline-block}ul li+:before{margin:0 4px;content:\">\"}ul li a,ul li h1{text-decoration:none!important;font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5zY3NzJ10sXG4gIGNoYW5nZURldGVjdGlvbjogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoLFxufSlcbmV4cG9ydCBjbGFzcyBCcmVhZGNydW1iQ29tcG9uZW50IHtcbiAgQElucHV0KCkgY29sb3I6IFRoZW1lUGFsZXR0ZSA9ICd3YXJuJztcblxuICBASW5wdXQoKSB0aXRsZTogc3RyaW5nO1xuXG4gIEBJbnB1dCgpIHNlY3Rpb25zOiBDdXN0b21CcmVhZGNydW1iU2VjdGlvbltdID0gW107XG5cbiAgY29uc3RydWN0b3IoKSB7fVxufVxuIl19 |
@@ -27,3 +27,3 @@ /** | ||
| selector: 'custom-breadcrumb', | ||
| template: "<div fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"8px\">\n <div fxFlex>\n <ul class=\"custom-breadcrumb {{ color }}\">\n <ng-container *ngFor=\"let section of sections\">\n <li>\n <a [routerLink]=\"[section.path]\" [class]=\"color\">{{\n section.label\n }}</a>\n </li>\n </ng-container>\n <li>\n <h1 [class]=\"color\">{{ title }}</h1>\n </li>\n </ul>\n </div>\n <div>\n <div>\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n", | ||
| template: "<div fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"8px\">\n <div fxFlex>\n <ul class=\"custom-breadcrumb {{ color }}\">\n <ng-container *ngFor=\"let section of sections\">\n <li>\n <a [routerLink]=\"[section.path]\" [class]=\"color\">{{ section.label }}</a>\n </li>\n </ng-container>\n <li>\n <h1 [class]=\"color\">{{ title }}</h1>\n </li>\n </ul>\n </div>\n <div>\n <div>\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n", | ||
| changeDetection: ChangeDetectionStrategy.OnPush, | ||
@@ -51,2 +51,2 @@ styles: ["ul{padding:8px 0;list-style:none}ul li{display:inline-block}ul li+:before{margin:0 4px;content:\">\"}ul li a,ul li h1{text-decoration:none!important;font-size:inherit;display:inline-block}"] | ||
| } |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5jb21wb25lbnQuc2NzcyddLFxuICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaCxcbn0pXG5leHBvcnQgY2xhc3MgQnJlYWRjcnVtYkNvbXBvbmVudCB7XG4gIEBJbnB1dCgpIGNvbG9yOiBUaGVtZVBhbGV0dGUgPSAnd2Fybic7XG5cbiAgQElucHV0KCkgdGl0bGU6IHN0cmluZztcblxuICBASW5wdXQoKSBzZWN0aW9uczogQ3VzdG9tQnJlYWRjcnVtYlNlY3Rpb25bXSA9IFtdO1xuXG4gIGNvbnN0cnVjdG9yKCkge31cbn1cbiJdfQ== |
@@ -32,3 +32,3 @@ import { Component, ChangeDetectionStrategy, Input, NgModule } from '@angular/core'; | ||
| selector: 'custom-breadcrumb', | ||
| template: "<div fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"8px\">\n <div fxFlex>\n <ul class=\"custom-breadcrumb {{ color }}\">\n <ng-container *ngFor=\"let section of sections\">\n <li>\n <a [routerLink]=\"[section.path]\" [class]=\"color\">{{\n section.label\n }}</a>\n </li>\n </ng-container>\n <li>\n <h1 [class]=\"color\">{{ title }}</h1>\n </li>\n </ul>\n </div>\n <div>\n <div>\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n", | ||
| template: "<div fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"8px\">\n <div fxFlex>\n <ul class=\"custom-breadcrumb {{ color }}\">\n <ng-container *ngFor=\"let section of sections\">\n <li>\n <a [routerLink]=\"[section.path]\" [class]=\"color\">{{ section.label }}</a>\n </li>\n </ng-container>\n <li>\n <h1 [class]=\"color\">{{ title }}</h1>\n </li>\n </ul>\n </div>\n <div>\n <div>\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n", | ||
| changeDetection: ChangeDetectionStrategy.OnPush, | ||
@@ -35,0 +35,0 @@ styles: ["ul{padding:8px 0;list-style:none}ul li{display:inline-block}ul li+:before{margin:0 4px;content:\">\"}ul li a,ul li h1{text-decoration:none!important;font-size:inherit;display:inline-block}"] |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"customjs-breadcrumb.js","sources":["ng://@customjs/breadcrumb/lib/breadcrumb.component.ts","ng://@customjs/breadcrumb/lib/breadcrumb.module.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { ThemePalette } from '@angular/material';\n\n/**\n * Custom Breadcrumb Section item\n * @param label The section label presented to the reader\n * @param path The anchor path\n */\nexport interface CustomBreadcrumbSection {\n label: string;\n path: string;\n}\n\n@Component({\n selector: 'custom-breadcrumb',\n templateUrl: './breadcrumb.component.html',\n styleUrls: ['./breadcrumb.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BreadcrumbComponent {\n @Input() color: ThemePalette = 'warn';\n\n @Input() title: string;\n\n @Input() sections: CustomBreadcrumbSection[] = [];\n\n constructor() {}\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FlexLayoutModule } from '@angular/flex-layout';\nimport { RouterModule } from '@angular/router';\nimport { BreadcrumbComponent } from './breadcrumb.component';\n\n@NgModule({\n declarations: [BreadcrumbComponent],\n imports: [CommonModule, RouterModule, FlexLayoutModule],\n exports: [BreadcrumbComponent],\n})\nexport class BreadcrumbModule {}\n"],"names":[],"mappings":";;;;;;;;;AAAA;;;;;;AAQA,sCAGC;;;IAFC,wCAAc;;IACd,uCAAa;;AASf,MAAa,mBAAmB;IAO9B;QANS,UAAK,GAAiB,MAAM,CAAC;QAI7B,aAAQ,GAA8B,EAAE,CAAC;KAElC;;;YAbjB,SAAS,SAAC;gBACT,QAAQ,EAAE,mBAAmB;gBAC7B,uiBAA0C;gBAE1C,eAAe,EAAE,uBAAuB,CAAC,MAAM;;aAChD;;;;;oBAEE,KAAK;oBAEL,KAAK;uBAEL,KAAK;;;;IAJN,oCAAsC;;IAEtC,oCAAuB;;IAEvB,uCAAkD;;;;;;;ACxBpD,MAWa,gBAAgB;;;YAL5B,QAAQ,SAAC;gBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;gBACnC,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,gBAAgB,CAAC;gBACvD,OAAO,EAAE,CAAC,mBAAmB,CAAC;aAC/B;;;;;;;;;;;;;;;"} | ||
| {"version":3,"file":"customjs-breadcrumb.js","sources":["ng://@customjs/breadcrumb/lib/breadcrumb.component.ts","ng://@customjs/breadcrumb/lib/breadcrumb.module.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { ThemePalette } from '@angular/material';\n\n/**\n * Custom Breadcrumb Section item\n * @param label The section label presented to the reader\n * @param path The anchor path\n */\nexport interface CustomBreadcrumbSection {\n label: string;\n path: string;\n}\n\n@Component({\n selector: 'custom-breadcrumb',\n templateUrl: './breadcrumb.component.html',\n styleUrls: ['./breadcrumb.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BreadcrumbComponent {\n @Input() color: ThemePalette = 'warn';\n\n @Input() title: string;\n\n @Input() sections: CustomBreadcrumbSection[] = [];\n\n constructor() {}\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FlexLayoutModule } from '@angular/flex-layout';\nimport { RouterModule } from '@angular/router';\nimport { BreadcrumbComponent } from './breadcrumb.component';\n\n@NgModule({\n declarations: [BreadcrumbComponent],\n imports: [CommonModule, RouterModule, FlexLayoutModule],\n exports: [BreadcrumbComponent],\n})\nexport class BreadcrumbModule {}\n"],"names":[],"mappings":";;;;;;;;;AAAA;;;;;;AAQA,sCAGC;;;IAFC,wCAAc;;IACd,uCAAa;;AASf,MAAa,mBAAmB;IAO9B;QANS,UAAK,GAAiB,MAAM,CAAC;QAI7B,aAAQ,GAA8B,EAAE,CAAC;KAElC;;;YAbjB,SAAS,SAAC;gBACT,QAAQ,EAAE,mBAAmB;gBAC7B,+gBAA0C;gBAE1C,eAAe,EAAE,uBAAuB,CAAC,MAAM;;aAChD;;;;;oBAEE,KAAK;oBAEL,KAAK;uBAEL,KAAK;;;;IAJN,oCAAsC;;IAEtC,oCAAuB;;IAEvB,uCAAkD;;;;;;;ACxBpD,MAWa,gBAAgB;;;YAL5B,QAAQ,SAAC;gBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;gBACnC,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,gBAAgB,CAAC;gBACvD,OAAO,EAAE,CAAC,mBAAmB,CAAC;aAC/B;;;;;;;;;;;;;;;"} |
@@ -31,3 +31,3 @@ import { Component, ChangeDetectionStrategy, Input, NgModule } from '@angular/core'; | ||
| selector: 'custom-breadcrumb', | ||
| template: "<div fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"8px\">\n <div fxFlex>\n <ul class=\"custom-breadcrumb {{ color }}\">\n <ng-container *ngFor=\"let section of sections\">\n <li>\n <a [routerLink]=\"[section.path]\" [class]=\"color\">{{\n section.label\n }}</a>\n </li>\n </ng-container>\n <li>\n <h1 [class]=\"color\">{{ title }}</h1>\n </li>\n </ul>\n </div>\n <div>\n <div>\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n", | ||
| template: "<div fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"8px\">\n <div fxFlex>\n <ul class=\"custom-breadcrumb {{ color }}\">\n <ng-container *ngFor=\"let section of sections\">\n <li>\n <a [routerLink]=\"[section.path]\" [class]=\"color\">{{ section.label }}</a>\n </li>\n </ng-container>\n <li>\n <h1 [class]=\"color\">{{ title }}</h1>\n </li>\n </ul>\n </div>\n <div>\n <div>\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n", | ||
| changeDetection: ChangeDetectionStrategy.OnPush, | ||
@@ -34,0 +34,0 @@ styles: ["ul{padding:8px 0;list-style:none}ul li{display:inline-block}ul li+:before{margin:0 4px;content:\">\"}ul li a,ul li h1{text-decoration:none!important;font-size:inherit;display:inline-block}"] |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"customjs-breadcrumb.js","sources":["ng://@customjs/breadcrumb/lib/breadcrumb.component.ts","ng://@customjs/breadcrumb/lib/breadcrumb.module.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { ThemePalette } from '@angular/material';\n\n/**\n * Custom Breadcrumb Section item\n * @param label The section label presented to the reader\n * @param path The anchor path\n */\nexport interface CustomBreadcrumbSection {\n label: string;\n path: string;\n}\n\n@Component({\n selector: 'custom-breadcrumb',\n templateUrl: './breadcrumb.component.html',\n styleUrls: ['./breadcrumb.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BreadcrumbComponent {\n @Input() color: ThemePalette = 'warn';\n\n @Input() title: string;\n\n @Input() sections: CustomBreadcrumbSection[] = [];\n\n constructor() {}\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FlexLayoutModule } from '@angular/flex-layout';\nimport { RouterModule } from '@angular/router';\nimport { BreadcrumbComponent } from './breadcrumb.component';\n\n@NgModule({\n declarations: [BreadcrumbComponent],\n imports: [CommonModule, RouterModule, FlexLayoutModule],\n exports: [BreadcrumbComponent],\n})\nexport class BreadcrumbModule {}\n"],"names":[],"mappings":";;;;;;;;;AAAA;;;;;;AAQA,sCAGC;;;IAFC,wCAAc;;IACd,uCAAa;;AAGf;IAaE;QANS,UAAK,GAAiB,MAAM,CAAC;QAI7B,aAAQ,GAA8B,EAAE,CAAC;KAElC;;gBAbjB,SAAS,SAAC;oBACT,QAAQ,EAAE,mBAAmB;oBAC7B,uiBAA0C;oBAE1C,eAAe,EAAE,uBAAuB,CAAC,MAAM;;iBAChD;;;;;wBAEE,KAAK;wBAEL,KAAK;2BAEL,KAAK;;IAGR,0BAAC;CAdD,IAcC;;;IAPC,oCAAsC;;IAEtC,oCAAuB;;IAEvB,uCAAkD;;;;;;;ACxBpD;IAMA;KAKgC;;gBAL/B,QAAQ,SAAC;oBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;oBACnC,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,gBAAgB,CAAC;oBACvD,OAAO,EAAE,CAAC,mBAAmB,CAAC;iBAC/B;;IAC8B,uBAAC;CALhC;;;;;;;;;;;;;;"} | ||
| {"version":3,"file":"customjs-breadcrumb.js","sources":["ng://@customjs/breadcrumb/lib/breadcrumb.component.ts","ng://@customjs/breadcrumb/lib/breadcrumb.module.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { ThemePalette } from '@angular/material';\n\n/**\n * Custom Breadcrumb Section item\n * @param label The section label presented to the reader\n * @param path The anchor path\n */\nexport interface CustomBreadcrumbSection {\n label: string;\n path: string;\n}\n\n@Component({\n selector: 'custom-breadcrumb',\n templateUrl: './breadcrumb.component.html',\n styleUrls: ['./breadcrumb.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BreadcrumbComponent {\n @Input() color: ThemePalette = 'warn';\n\n @Input() title: string;\n\n @Input() sections: CustomBreadcrumbSection[] = [];\n\n constructor() {}\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FlexLayoutModule } from '@angular/flex-layout';\nimport { RouterModule } from '@angular/router';\nimport { BreadcrumbComponent } from './breadcrumb.component';\n\n@NgModule({\n declarations: [BreadcrumbComponent],\n imports: [CommonModule, RouterModule, FlexLayoutModule],\n exports: [BreadcrumbComponent],\n})\nexport class BreadcrumbModule {}\n"],"names":[],"mappings":";;;;;;;;;AAAA;;;;;;AAQA,sCAGC;;;IAFC,wCAAc;;IACd,uCAAa;;AAGf;IAaE;QANS,UAAK,GAAiB,MAAM,CAAC;QAI7B,aAAQ,GAA8B,EAAE,CAAC;KAElC;;gBAbjB,SAAS,SAAC;oBACT,QAAQ,EAAE,mBAAmB;oBAC7B,+gBAA0C;oBAE1C,eAAe,EAAE,uBAAuB,CAAC,MAAM;;iBAChD;;;;;wBAEE,KAAK;wBAEL,KAAK;2BAEL,KAAK;;IAGR,0BAAC;CAdD,IAcC;;;IAPC,oCAAsC;;IAEtC,oCAAuB;;IAEvB,uCAAkD;;;;;;;ACxBpD;IAMA;KAKgC;;gBAL/B,QAAQ,SAAC;oBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;oBACnC,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,gBAAgB,CAAC;oBACvD,OAAO,EAAE,CAAC,mBAAmB,CAAC;iBAC/B;;IAC8B,uBAAC;CALhC;;;;;;;;;;;;;;"} |
+3
-3
| { | ||
| "name": "@customjs/breadcrumb", | ||
| "version": "0.0.1-beta.5", | ||
| "version": "1.0.0", | ||
| "peerDependencies": { | ||
| "@angular/common": "^8.2.0", | ||
| "@angular/core": "^8.2.0" | ||
| "@angular/common": ">=8.2.0", | ||
| "@angular/core": ">=8.2.0" | ||
| }, | ||
@@ -8,0 +8,0 @@ "main": "bundles/customjs-breadcrumb.umd.js", |
+2
-1
@@ -8,4 +8,5 @@ # Breadcrumb | ||
| Run `ng generate component component-name --project breadcrumb` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project breadcrumb`. | ||
| > Note: Don't forget to add `--project breadcrumb` or else it will be added to the default project in your `angular.json` file. | ||
| > Note: Don't forget to add `--project breadcrumb` or else it will be added to the default project in your `angular.json` file. | ||
| ## Build | ||
@@ -12,0 +13,0 @@ |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
2
-33.33%26
4%40714
-0.43%