mapa-library-ui 0.31.0 → 0.32.0

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.
@@ -1,14 +1,15 @@
1
1
  import { Component, Input } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  import * as i1 from "@angular/common";
4
+ import * as i2 from "@angular/router";
4
5
  export class MapaBreadcrumbComponent {
5
6
  }
6
7
  MapaBreadcrumbComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaBreadcrumbComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
7
- MapaBreadcrumbComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MapaBreadcrumbComponent, selector: "mapa-breadcrumb", inputs: { items: "items" }, ngImport: i0, template: "<section class=\"mapa-breadcrumb\">\n <span\n class=\"mapa-breadcrumb__item\"\n *ngFor=\"let item of items.slice(0, items.length - 1)\"\n >\n <a *ngIf=\"item.url; else common\" [href]=\"item.url\">{{ item.title }}</a>\n <ng-template #common>{{ item.title }}</ng-template>\n <span class=\"mapa-breadcrumb__item--next\">></span>\n </span>\n <span\n class=\"mapa-breadcrumb__item\"\n [class.mapa-breadcrumb__item--highlight]=\"items.length > 1\"\n >{{ items[items.length - 1].title }}</span\n >\n</section>\n", styles: [".mapa-breadcrumb{display:flex;font-family:SF-Pro;flex-direction:row;margin-bottom:32px}.mapa-breadcrumb__item{font-size:12px;font-style:normal;font-weight:400;line-height:16px;color:#50575e}.mapa-breadcrumb__item a{text-decoration:none;color:#50575e}.mapa-breadcrumb__item--next{margin:0 6px}.mapa-breadcrumb__item--highlight{color:#ea561d}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
8
+ MapaBreadcrumbComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MapaBreadcrumbComponent, selector: "mapa-breadcrumb", inputs: { items: "items" }, ngImport: i0, template: "<section class=\"mapa-breadcrumb\">\n <span\n class=\"mapa-breadcrumb__item\"\n *ngFor=\"let item of items.slice(0, items.length - 1)\"\n >\n <a *ngIf=\"item.url; else common\" [href]=\"item.url\" [routerLink]=\"item.url\">{{ item.title }}</a>\n <ng-template #common>{{ item.title }}</ng-template>\n <span class=\"mapa-breadcrumb__item--next\">></span>\n </span>\n <span\n class=\"mapa-breadcrumb__item\"\n [class.mapa-breadcrumb__item--highlight]=\"items.length > 1\"\n >{{ items[items.length - 1].title }}</span\n >\n</section>\n", styles: [".mapa-breadcrumb{display:flex;font-family:SF-Pro;flex-direction:row;margin-bottom:32px}.mapa-breadcrumb__item{font-size:12px;font-style:normal;font-weight:400;line-height:16px;color:#50575e}.mapa-breadcrumb__item a{text-decoration:none;color:#50575e}.mapa-breadcrumb__item--next{margin:0 6px}.mapa-breadcrumb__item--highlight{color:#ea561d}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }] });
8
9
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaBreadcrumbComponent, decorators: [{
9
10
  type: Component,
10
- args: [{ selector: 'mapa-breadcrumb', template: "<section class=\"mapa-breadcrumb\">\n <span\n class=\"mapa-breadcrumb__item\"\n *ngFor=\"let item of items.slice(0, items.length - 1)\"\n >\n <a *ngIf=\"item.url; else common\" [href]=\"item.url\">{{ item.title }}</a>\n <ng-template #common>{{ item.title }}</ng-template>\n <span class=\"mapa-breadcrumb__item--next\">></span>\n </span>\n <span\n class=\"mapa-breadcrumb__item\"\n [class.mapa-breadcrumb__item--highlight]=\"items.length > 1\"\n >{{ items[items.length - 1].title }}</span\n >\n</section>\n", styles: [".mapa-breadcrumb{display:flex;font-family:SF-Pro;flex-direction:row;margin-bottom:32px}.mapa-breadcrumb__item{font-size:12px;font-style:normal;font-weight:400;line-height:16px;color:#50575e}.mapa-breadcrumb__item a{text-decoration:none;color:#50575e}.mapa-breadcrumb__item--next{margin:0 6px}.mapa-breadcrumb__item--highlight{color:#ea561d}\n"] }]
11
+ args: [{ selector: 'mapa-breadcrumb', template: "<section class=\"mapa-breadcrumb\">\n <span\n class=\"mapa-breadcrumb__item\"\n *ngFor=\"let item of items.slice(0, items.length - 1)\"\n >\n <a *ngIf=\"item.url; else common\" [href]=\"item.url\" [routerLink]=\"item.url\">{{ item.title }}</a>\n <ng-template #common>{{ item.title }}</ng-template>\n <span class=\"mapa-breadcrumb__item--next\">></span>\n </span>\n <span\n class=\"mapa-breadcrumb__item\"\n [class.mapa-breadcrumb__item--highlight]=\"items.length > 1\"\n >{{ items[items.length - 1].title }}</span\n >\n</section>\n", styles: [".mapa-breadcrumb{display:flex;font-family:SF-Pro;flex-direction:row;margin-bottom:32px}.mapa-breadcrumb__item{font-size:12px;font-style:normal;font-weight:400;line-height:16px;color:#50575e}.mapa-breadcrumb__item a{text-decoration:none;color:#50575e}.mapa-breadcrumb__item--next{margin:0 6px}.mapa-breadcrumb__item--highlight{color:#ea561d}\n"] }]
11
12
  }], propDecorators: { items: [{
12
13
  type: Input
13
14
  }] } });
14
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnJlYWRjcnVtYi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8u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puZ0lmPVwiaXRlbS51cmw7IGVsc2UgY29tbW9uXCIgW2hyZWZdPVwiaXRlbS51cmxcIiBbcm91dGVyTGlua109XCJpdGVtLnVybFwiPnt7IGl0ZW0udGl0bGUgfX08L2E+XG4gICAgPG5nLXRlbXBsYXRlICNjb21tb24+e3sgaXRlbS50aXRsZSB9fTwvbmctdGVtcGxhdGU+XG4gICAgPHNwYW4gY2xhc3M9XCJtYXBhLWJyZWFkY3J1bWJfX2l0ZW0tLW5leHRcIj4+PC9zcGFuPlxuICA8L3NwYW4+XG4gIDxzcGFuXG4gICAgY2xhc3M9XCJtYXBhLWJyZWFkY3J1bWJfX2l0ZW1cIlxuICAgIFtjbGFzcy5tYXBhLWJyZWFkY3J1bWJfX2l0ZW0tLWhpZ2hsaWdodF09XCJpdGVtcy5sZW5ndGggPiAxXCJcbiAgICA+e3sgaXRlbXNbaXRlbXMubGVuZ3RoIC0gMV0udGl0bGUgfX08L3NwYW5cbiAgPlxuPC9zZWN0aW9uPlxuIl19
@@ -1,18 +1,19 @@
1
- import { NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import { MapaBreadcrumbComponent } from './breadcrumb.component';
1
+ import { NgModule } from "@angular/core";
2
+ import { CommonModule } from "@angular/common";
3
+ import { MapaBreadcrumbComponent } from "./breadcrumb.component";
4
+ import { RouterModule } from "@angular/router";
4
5
  import * as i0 from "@angular/core";
5
6
  export class MapaBreadcrumbModule {
6
7
  }
7
8
  MapaBreadcrumbModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaBreadcrumbModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
8
- MapaBreadcrumbModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: MapaBreadcrumbModule, declarations: [MapaBreadcrumbComponent], imports: [CommonModule], exports: [MapaBreadcrumbComponent] });
9
- MapaBreadcrumbModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaBreadcrumbModule, imports: [CommonModule] });
9
+ MapaBreadcrumbModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: MapaBreadcrumbModule, declarations: [MapaBreadcrumbComponent], imports: [CommonModule, RouterModule], exports: [MapaBreadcrumbComponent] });
10
+ MapaBreadcrumbModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaBreadcrumbModule, imports: [CommonModule, RouterModule] });
10
11
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaBreadcrumbModule, decorators: [{
11
12
  type: NgModule,
12
13
  args: [{
13
14
  declarations: [MapaBreadcrumbComponent],
14
15
  exports: [MapaBreadcrumbComponent],
15
- imports: [CommonModule],
16
+ imports: [CommonModule, RouterModule],
16
17
  }]
17
18
  }] });
18
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnJlYWRjcnVtYi5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9tYXBhLWxpYnJhcnktdWkvc3JjL2xpYi9jb21wb25lbnRzL2JyZWFkY3J1bWIvc3JjL2JyZWFkY3J1bWIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBRS9DLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLHdCQUF3QixDQUFDOztBQU9qRSxNQUFNLE9BQU8sb0JBQW9COztrSEFBcEIsb0JBQW9CO21I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W0NvbW1vbk1vZHVsZSwgUm91dGVyTW9kdWxlXSxcbn0pXG5leHBvcnQgY2xhc3MgTWFwYUJyZWFkY3J1bWJNb2R1bGUge31cbiJdfQ==
@@ -2,14 +2,16 @@ import * as i0 from '@angular/core';
2
2
  import { Component, Input, NgModule } from '@angular/core';
3
3
  import * as i1 from '@angular/common';
4
4
  import { CommonModule } from '@angular/common';
5
+ import * as i2 from '@angular/router';
6
+ import { RouterModule } from '@angular/router';
5
7
 
6
8
  class MapaBreadcrumbComponent {
7
9
  }
8
10
  MapaBreadcrumbComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaBreadcrumbComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
9
- MapaBreadcrumbComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MapaBreadcrumbComponent, selector: "mapa-breadcrumb", inputs: { items: "items" }, ngImport: i0, template: "<section class=\"mapa-breadcrumb\">\n <span\n class=\"mapa-breadcrumb__item\"\n *ngFor=\"let item of items.slice(0, items.length - 1)\"\n >\n <a *ngIf=\"item.url; else common\" [href]=\"item.url\">{{ item.title }}</a>\n <ng-template #common>{{ item.title }}</ng-template>\n <span class=\"mapa-breadcrumb__item--next\">></span>\n </span>\n <span\n class=\"mapa-breadcrumb__item\"\n [class.mapa-breadcrumb__item--highlight]=\"items.length > 1\"\n >{{ items[items.length - 1].title }}</span\n >\n</section>\n", styles: [".mapa-breadcrumb{display:flex;font-family:SF-Pro;flex-direction:row;margin-bottom:32px}.mapa-breadcrumb__item{font-size:12px;font-style:normal;font-weight:400;line-height:16px;color:#50575e}.mapa-breadcrumb__item a{text-decoration:none;color:#50575e}.mapa-breadcrumb__item--next{margin:0 6px}.mapa-breadcrumb__item--highlight{color:#ea561d}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
11
+ MapaBreadcrumbComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MapaBreadcrumbComponent, selector: "mapa-breadcrumb", inputs: { items: "items" }, ngImport: i0, template: "<section class=\"mapa-breadcrumb\">\n <span\n class=\"mapa-breadcrumb__item\"\n *ngFor=\"let item of items.slice(0, items.length - 1)\"\n >\n <a *ngIf=\"item.url; else common\" [href]=\"item.url\" [routerLink]=\"item.url\">{{ item.title }}</a>\n <ng-template #common>{{ item.title }}</ng-template>\n <span class=\"mapa-breadcrumb__item--next\">></span>\n </span>\n <span\n class=\"mapa-breadcrumb__item\"\n [class.mapa-breadcrumb__item--highlight]=\"items.length > 1\"\n >{{ items[items.length - 1].title }}</span\n >\n</section>\n", styles: [".mapa-breadcrumb{display:flex;font-family:SF-Pro;flex-direction:row;margin-bottom:32px}.mapa-breadcrumb__item{font-size:12px;font-style:normal;font-weight:400;line-height:16px;color:#50575e}.mapa-breadcrumb__item a{text-decoration:none;color:#50575e}.mapa-breadcrumb__item--next{margin:0 6px}.mapa-breadcrumb__item--highlight{color:#ea561d}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }] });
10
12
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaBreadcrumbComponent, decorators: [{
11
13
  type: Component,
12
- args: [{ selector: 'mapa-breadcrumb', template: "<section class=\"mapa-breadcrumb\">\n <span\n class=\"mapa-breadcrumb__item\"\n *ngFor=\"let item of items.slice(0, items.length - 1)\"\n >\n <a *ngIf=\"item.url; else common\" [href]=\"item.url\">{{ item.title }}</a>\n <ng-template #common>{{ item.title }}</ng-template>\n <span class=\"mapa-breadcrumb__item--next\">></span>\n </span>\n <span\n class=\"mapa-breadcrumb__item\"\n [class.mapa-breadcrumb__item--highlight]=\"items.length > 1\"\n >{{ items[items.length - 1].title }}</span\n >\n</section>\n", styles: [".mapa-breadcrumb{display:flex;font-family:SF-Pro;flex-direction:row;margin-bottom:32px}.mapa-breadcrumb__item{font-size:12px;font-style:normal;font-weight:400;line-height:16px;color:#50575e}.mapa-breadcrumb__item a{text-decoration:none;color:#50575e}.mapa-breadcrumb__item--next{margin:0 6px}.mapa-breadcrumb__item--highlight{color:#ea561d}\n"] }]
14
+ args: [{ selector: 'mapa-breadcrumb', template: "<section class=\"mapa-breadcrumb\">\n <span\n class=\"mapa-breadcrumb__item\"\n *ngFor=\"let item of items.slice(0, items.length - 1)\"\n >\n <a *ngIf=\"item.url; else common\" [href]=\"item.url\" [routerLink]=\"item.url\">{{ item.title }}</a>\n <ng-template #common>{{ item.title }}</ng-template>\n <span class=\"mapa-breadcrumb__item--next\">></span>\n </span>\n <span\n class=\"mapa-breadcrumb__item\"\n [class.mapa-breadcrumb__item--highlight]=\"items.length > 1\"\n >{{ items[items.length - 1].title }}</span\n >\n</section>\n", styles: [".mapa-breadcrumb{display:flex;font-family:SF-Pro;flex-direction:row;margin-bottom:32px}.mapa-breadcrumb__item{font-size:12px;font-style:normal;font-weight:400;line-height:16px;color:#50575e}.mapa-breadcrumb__item a{text-decoration:none;color:#50575e}.mapa-breadcrumb__item--next{margin:0 6px}.mapa-breadcrumb__item--highlight{color:#ea561d}\n"] }]
13
15
  }], propDecorators: { items: [{
14
16
  type: Input
15
17
  }] } });
@@ -17,14 +19,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
17
19
  class MapaBreadcrumbModule {
18
20
  }
19
21
  MapaBreadcrumbModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaBreadcrumbModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
20
- MapaBreadcrumbModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: MapaBreadcrumbModule, declarations: [MapaBreadcrumbComponent], imports: [CommonModule], exports: [MapaBreadcrumbComponent] });
21
- MapaBreadcrumbModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaBreadcrumbModule, imports: [CommonModule] });
22
+ MapaBreadcrumbModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: MapaBreadcrumbModule, declarations: [MapaBreadcrumbComponent], imports: [CommonModule, RouterModule], exports: [MapaBreadcrumbComponent] });
23
+ MapaBreadcrumbModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaBreadcrumbModule, imports: [CommonModule, RouterModule] });
22
24
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaBreadcrumbModule, decorators: [{
23
25
  type: NgModule,
24
26
  args: [{
25
27
  declarations: [MapaBreadcrumbComponent],
26
28
  exports: [MapaBreadcrumbComponent],
27
- imports: [CommonModule],
29
+ imports: [CommonModule, RouterModule],
28
30
  }]
29
31
  }] });
30
32
 
@@ -1 +1 @@
1
- {"version":3,"file":"mapa-library-ui-src-lib-components-breadcrumb.mjs","sources":["../../../projects/mapa-library-ui/src/lib/components/breadcrumb/src/breadcrumb.component.ts","../../../projects/mapa-library-ui/src/lib/components/breadcrumb/src/breadcrumb.component.html","../../../projects/mapa-library-ui/src/lib/components/breadcrumb/src/breadcrumb.module.ts","../../../projects/mapa-library-ui/src/lib/components/breadcrumb/public-api.ts","../../../projects/mapa-library-ui/src/breadcrumb.ts","../../../projects/mapa-library-ui/src/mapa-library-ui-src-lib-components-breadcrumb.ts"],"sourcesContent":["import { Component, Input } from '@angular/core';\nimport { Breadpiece } from '../../../core/interfaces/bread-piece.interface';\n\n@Component({\n selector: 'mapa-breadcrumb',\n templateUrl: './breadcrumb.component.html',\n styleUrls: ['./breadcrumb.component.scss']\n})\nexport class MapaBreadcrumbComponent {\n @Input() items!: Breadpiece[];\n}\n","<section class=\"mapa-breadcrumb\">\n <span\n class=\"mapa-breadcrumb__item\"\n *ngFor=\"let item of items.slice(0, items.length - 1)\"\n >\n <a *ngIf=\"item.url; else common\" [href]=\"item.url\">{{ item.title }}</a>\n <ng-template #common>{{ item.title }}</ng-template>\n <span class=\"mapa-breadcrumb__item--next\">></span>\n </span>\n <span\n class=\"mapa-breadcrumb__item\"\n [class.mapa-breadcrumb__item--highlight]=\"items.length > 1\"\n >{{ items[items.length - 1].title }}</span\n >\n</section>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { MapaBreadcrumbComponent } from './breadcrumb.component';\n\n@NgModule({\n declarations: [MapaBreadcrumbComponent],\n exports: [MapaBreadcrumbComponent],\n imports: [CommonModule],\n})\nexport class MapaBreadcrumbModule {}\n","/*\n * Public API Surface of mapa-library-ui breadcrumb\n */\n\nexport * from './src/breadcrumb.component';\nexport * from './src/breadcrumb.module';\n","/*\n * Public API Surface of mapa-library-ui breadcrumb\n */\n\nexport * from './lib/components/breadcrumb/public-api';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './breadcrumb';\n"],"names":[],"mappings":";;;;;MAQa,uBAAuB,CAAA;;qHAAvB,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAvB,uBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA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BAAoB,EAAA,UAAA,EAAA,CAAA;kBALhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,uBAAuB,CAAC;oBACvC,OAAO,EAAE,CAAC,uBAAuB,CAAC;oBAClC,OAAO,EAAE,CAAC,YAAY,CAAC;iBACxB,CAAA;;;ACTD;;AAEG;;ACFH;;AAEG;;ACFH;;AAEG;;;;"}
1
+ {"version":3,"file":"mapa-library-ui-src-lib-components-breadcrumb.mjs","sources":["../../../projects/mapa-library-ui/src/lib/components/breadcrumb/src/breadcrumb.component.ts","../../../projects/mapa-library-ui/src/lib/components/breadcrumb/src/breadcrumb.component.html","../../../projects/mapa-library-ui/src/lib/components/breadcrumb/src/breadcrumb.module.ts","../../../projects/mapa-library-ui/src/lib/components/breadcrumb/public-api.ts","../../../projects/mapa-library-ui/src/breadcrumb.ts","../../../projects/mapa-library-ui/src/mapa-library-ui-src-lib-components-breadcrumb.ts"],"sourcesContent":["import { Component, Input } from '@angular/core';\nimport { Breadpiece } from '../../../core/interfaces/bread-piece.interface';\n\n@Component({\n selector: 'mapa-breadcrumb',\n templateUrl: './breadcrumb.component.html',\n styleUrls: ['./breadcrumb.component.scss']\n})\nexport class MapaBreadcrumbComponent {\n @Input() items!: Breadpiece[];\n}\n","<section class=\"mapa-breadcrumb\">\n <span\n class=\"mapa-breadcrumb__item\"\n *ngFor=\"let item of items.slice(0, items.length - 1)\"\n >\n <a *ngIf=\"item.url; else common\" [href]=\"item.url\" [routerLink]=\"item.url\">{{ item.title }}</a>\n <ng-template #common>{{ item.title }}</ng-template>\n <span class=\"mapa-breadcrumb__item--next\">></span>\n </span>\n <span\n class=\"mapa-breadcrumb__item\"\n [class.mapa-breadcrumb__item--highlight]=\"items.length > 1\"\n >{{ items[items.length - 1].title }}</span\n >\n</section>\n","import { NgModule } from \"@angular/core\";\nimport { CommonModule } from \"@angular/common\";\n\nimport { MapaBreadcrumbComponent } from \"./breadcrumb.component\";\nimport { RouterModule } from \"@angular/router\";\n\n@NgModule({\n declarations: [MapaBreadcrumbComponent],\n exports: [MapaBreadcrumbComponent],\n imports: [CommonModule, RouterModule],\n})\nexport class MapaBreadcrumbModule {}\n","/*\n * Public API Surface of mapa-library-ui breadcrumb\n */\n\nexport * from './src/breadcrumb.component';\nexport * from './src/breadcrumb.module';\n","/*\n * Public API Surface of mapa-library-ui breadcrumb\n */\n\nexport * from './lib/components/breadcrumb/public-api';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './breadcrumb';\n"],"names":[],"mappings":";;;;;;;MAQa,uBAAuB,CAAA;;qHAAvB,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAvB,uBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,uBAAuB,mFCRpC,kjBAeA,EAAA,MAAA,EAAA,CAAA,wVAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,kBAAA,EAAA,MAAA,EAAA,CAAA,SAAA,EAAA,cAAA,EAAA,eAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,IAAA,EAAA,QAAA,EAAA,QAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,UAAA,EAAA,UAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,UAAA,EAAA,QAAA,EAAA,cAAA,EAAA,MAAA,EAAA,CAAA,QAAA,EAAA,aAAA,EAAA,UAAA,EAAA,qBAAA,EAAA,OAAA,EAAA,YAAA,EAAA,kBAAA,EAAA,oBAAA,EAAA,YAAA,EAAA,YAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA;4FDPa,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBALnC,SAAS;+BACE,iBAAiB,EAAA,QAAA,EAAA,kjBAAA,EAAA,MAAA,EAAA,CAAA,wVAAA,CAAA,EAAA,CAAA;8BAKlB,KAAK,EAAA,CAAA;sBAAb,KAAK;;;MEEK,oBAAoB,CAAA;;kHAApB,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAApB,oBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,iBAJhB,uBAAuB,CAAA,EAAA,OAAA,EAAA,CAE5B,YAAY,EAAE,YAAY,aAD1B,uBAAuB,CAAA,EAAA,CAAA,CAAA;mHAGtB,oBAAoB,EAAA,OAAA,EAAA,CAFrB,YAAY,EAAE,YAAY,CAAA,EAAA,CAAA,CAAA;4FAEzB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBALhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,uBAAuB,CAAC;oBACvC,OAAO,EAAE,CAAC,uBAAuB,CAAC;AAClC,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,CAAC;iBACtC,CAAA;;;ACVD;;AAEG;;ACFH;;AAEG;;ACFH;;AAEG;;;;"}
@@ -2,14 +2,16 @@ import * as i0 from '@angular/core';
2
2
  import { Component, Input, NgModule } from '@angular/core';
3
3
  import * as i1 from '@angular/common';
4
4
  import { CommonModule } from '@angular/common';
5
+ import * as i2 from '@angular/router';
6
+ import { RouterModule } from '@angular/router';
5
7
 
6
8
  class MapaBreadcrumbComponent {
7
9
  }
8
10
  MapaBreadcrumbComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaBreadcrumbComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
9
- MapaBreadcrumbComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MapaBreadcrumbComponent, selector: "mapa-breadcrumb", inputs: { items: "items" }, ngImport: i0, template: "<section class=\"mapa-breadcrumb\">\n <span\n class=\"mapa-breadcrumb__item\"\n *ngFor=\"let item of items.slice(0, items.length - 1)\"\n >\n <a *ngIf=\"item.url; else common\" [href]=\"item.url\">{{ item.title }}</a>\n <ng-template #common>{{ item.title }}</ng-template>\n <span class=\"mapa-breadcrumb__item--next\">></span>\n </span>\n <span\n class=\"mapa-breadcrumb__item\"\n [class.mapa-breadcrumb__item--highlight]=\"items.length > 1\"\n >{{ items[items.length - 1].title }}</span\n >\n</section>\n", styles: [".mapa-breadcrumb{display:flex;font-family:SF-Pro;flex-direction:row;margin-bottom:32px}.mapa-breadcrumb__item{font-size:12px;font-style:normal;font-weight:400;line-height:16px;color:#50575e}.mapa-breadcrumb__item a{text-decoration:none;color:#50575e}.mapa-breadcrumb__item--next{margin:0 6px}.mapa-breadcrumb__item--highlight{color:#ea561d}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
11
+ MapaBreadcrumbComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MapaBreadcrumbComponent, selector: "mapa-breadcrumb", inputs: { items: "items" }, ngImport: i0, template: "<section class=\"mapa-breadcrumb\">\n <span\n class=\"mapa-breadcrumb__item\"\n *ngFor=\"let item of items.slice(0, items.length - 1)\"\n >\n <a *ngIf=\"item.url; else common\" [href]=\"item.url\" [routerLink]=\"item.url\">{{ item.title }}</a>\n <ng-template #common>{{ item.title }}</ng-template>\n <span class=\"mapa-breadcrumb__item--next\">></span>\n </span>\n <span\n class=\"mapa-breadcrumb__item\"\n [class.mapa-breadcrumb__item--highlight]=\"items.length > 1\"\n >{{ items[items.length - 1].title }}</span\n >\n</section>\n", styles: [".mapa-breadcrumb{display:flex;font-family:SF-Pro;flex-direction:row;margin-bottom:32px}.mapa-breadcrumb__item{font-size:12px;font-style:normal;font-weight:400;line-height:16px;color:#50575e}.mapa-breadcrumb__item a{text-decoration:none;color:#50575e}.mapa-breadcrumb__item--next{margin:0 6px}.mapa-breadcrumb__item--highlight{color:#ea561d}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }] });
10
12
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaBreadcrumbComponent, decorators: [{
11
13
  type: Component,
12
- args: [{ selector: 'mapa-breadcrumb', template: "<section class=\"mapa-breadcrumb\">\n <span\n class=\"mapa-breadcrumb__item\"\n *ngFor=\"let item of items.slice(0, items.length - 1)\"\n >\n <a *ngIf=\"item.url; else common\" [href]=\"item.url\">{{ item.title }}</a>\n <ng-template #common>{{ item.title }}</ng-template>\n <span class=\"mapa-breadcrumb__item--next\">></span>\n </span>\n <span\n class=\"mapa-breadcrumb__item\"\n [class.mapa-breadcrumb__item--highlight]=\"items.length > 1\"\n >{{ items[items.length - 1].title }}</span\n >\n</section>\n", styles: [".mapa-breadcrumb{display:flex;font-family:SF-Pro;flex-direction:row;margin-bottom:32px}.mapa-breadcrumb__item{font-size:12px;font-style:normal;font-weight:400;line-height:16px;color:#50575e}.mapa-breadcrumb__item a{text-decoration:none;color:#50575e}.mapa-breadcrumb__item--next{margin:0 6px}.mapa-breadcrumb__item--highlight{color:#ea561d}\n"] }]
14
+ args: [{ selector: 'mapa-breadcrumb', template: "<section class=\"mapa-breadcrumb\">\n <span\n class=\"mapa-breadcrumb__item\"\n *ngFor=\"let item of items.slice(0, items.length - 1)\"\n >\n <a *ngIf=\"item.url; else common\" [href]=\"item.url\" [routerLink]=\"item.url\">{{ item.title }}</a>\n <ng-template #common>{{ item.title }}</ng-template>\n <span class=\"mapa-breadcrumb__item--next\">></span>\n </span>\n <span\n class=\"mapa-breadcrumb__item\"\n [class.mapa-breadcrumb__item--highlight]=\"items.length > 1\"\n >{{ items[items.length - 1].title }}</span\n >\n</section>\n", styles: [".mapa-breadcrumb{display:flex;font-family:SF-Pro;flex-direction:row;margin-bottom:32px}.mapa-breadcrumb__item{font-size:12px;font-style:normal;font-weight:400;line-height:16px;color:#50575e}.mapa-breadcrumb__item a{text-decoration:none;color:#50575e}.mapa-breadcrumb__item--next{margin:0 6px}.mapa-breadcrumb__item--highlight{color:#ea561d}\n"] }]
13
15
  }], propDecorators: { items: [{
14
16
  type: Input
15
17
  }] } });
@@ -17,14 +19,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
17
19
  class MapaBreadcrumbModule {
18
20
  }
19
21
  MapaBreadcrumbModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaBreadcrumbModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
20
- MapaBreadcrumbModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: MapaBreadcrumbModule, declarations: [MapaBreadcrumbComponent], imports: [CommonModule], exports: [MapaBreadcrumbComponent] });
21
- MapaBreadcrumbModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaBreadcrumbModule, imports: [CommonModule] });
22
+ MapaBreadcrumbModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: MapaBreadcrumbModule, declarations: [MapaBreadcrumbComponent], imports: [CommonModule, RouterModule], exports: [MapaBreadcrumbComponent] });
23
+ MapaBreadcrumbModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaBreadcrumbModule, imports: [CommonModule, RouterModule] });
22
24
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaBreadcrumbModule, decorators: [{
23
25
  type: NgModule,
24
26
  args: [{
25
27
  declarations: [MapaBreadcrumbComponent],
26
28
  exports: [MapaBreadcrumbComponent],
27
- imports: [CommonModule],
29
+ imports: [CommonModule, RouterModule],
28
30
  }]
29
31
  }] });
30
32
 
@@ -1 +1 @@
1
- {"version":3,"file":"mapa-library-ui-src-lib-components-breadcrumb.mjs","sources":["../../../projects/mapa-library-ui/src/lib/components/breadcrumb/src/breadcrumb.component.ts","../../../projects/mapa-library-ui/src/lib/components/breadcrumb/src/breadcrumb.component.html","../../../projects/mapa-library-ui/src/lib/components/breadcrumb/src/breadcrumb.module.ts","../../../projects/mapa-library-ui/src/lib/components/breadcrumb/public-api.ts","../../../projects/mapa-library-ui/src/breadcrumb.ts","../../../projects/mapa-library-ui/src/mapa-library-ui-src-lib-components-breadcrumb.ts"],"sourcesContent":["import { Component, Input } from '@angular/core';\nimport { Breadpiece } from '../../../core/interfaces/bread-piece.interface';\n\n@Component({\n selector: 'mapa-breadcrumb',\n templateUrl: './breadcrumb.component.html',\n styleUrls: ['./breadcrumb.component.scss']\n})\nexport class MapaBreadcrumbComponent {\n @Input() items!: Breadpiece[];\n}\n","<section class=\"mapa-breadcrumb\">\n <span\n class=\"mapa-breadcrumb__item\"\n *ngFor=\"let item of items.slice(0, items.length - 1)\"\n >\n <a *ngIf=\"item.url; else common\" [href]=\"item.url\">{{ item.title }}</a>\n <ng-template #common>{{ item.title }}</ng-template>\n <span class=\"mapa-breadcrumb__item--next\">></span>\n </span>\n <span\n class=\"mapa-breadcrumb__item\"\n [class.mapa-breadcrumb__item--highlight]=\"items.length > 1\"\n >{{ items[items.length - 1].title }}</span\n >\n</section>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { MapaBreadcrumbComponent } from './breadcrumb.component';\n\n@NgModule({\n declarations: [MapaBreadcrumbComponent],\n exports: [MapaBreadcrumbComponent],\n imports: [CommonModule],\n})\nexport class MapaBreadcrumbModule {}\n","/*\n * Public API Surface of mapa-library-ui breadcrumb\n */\n\nexport * from './src/breadcrumb.component';\nexport * from './src/breadcrumb.module';\n","/*\n * Public API Surface of mapa-library-ui breadcrumb\n */\n\nexport * from './lib/components/breadcrumb/public-api';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './breadcrumb';\n"],"names":[],"mappings":";;;;;MAQa,uBAAuB,CAAA;;qHAAvB,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAvB,uBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,uBAAuB,mFCRpC,whBAeA,EAAA,MAAA,EAAA,CAAA,wVAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,kBAAA,EAAA,MAAA,EAAA,CAAA,SAAA,EAAA,cAAA,EAAA,eAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,IAAA,EAAA,QAAA,EAAA,QAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,UAAA,EAAA,UAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA;4FDPa,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBALnC,SAAS;+BACE,iBAAiB,EAAA,QAAA,EAAA,whBAAA,EAAA,MAAA,EAAA,CAAA,wVAAA,CAAA,EAAA,CAAA;8BAKlB,KAAK,EAAA,CAAA;sBAAb,KAAK;;;MECK,oBAAoB,CAAA;;kHAApB,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAApB,oBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,EAJhB,YAAA,EAAA,CAAA,uBAAuB,CAE5B,EAAA,OAAA,EAAA,CAAA,YAAY,aADZ,uBAAuB,CAAA,EAAA,CAAA,CAAA;AAGtB,oBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,YAFrB,YAAY,CAAA,EAAA,CAAA,CAAA;4FAEX,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBALhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,uBAAuB,CAAC;oBACvC,OAAO,EAAE,CAAC,uBAAuB,CAAC;oBAClC,OAAO,EAAE,CAAC,YAAY,CAAC;AACxB,iBAAA,CAAA;;;ACTD;;AAEG;;ACFH;;AAEG;;ACFH;;AAEG;;;;"}
1
+ {"version":3,"file":"mapa-library-ui-src-lib-components-breadcrumb.mjs","sources":["../../../projects/mapa-library-ui/src/lib/components/breadcrumb/src/breadcrumb.component.ts","../../../projects/mapa-library-ui/src/lib/components/breadcrumb/src/breadcrumb.component.html","../../../projects/mapa-library-ui/src/lib/components/breadcrumb/src/breadcrumb.module.ts","../../../projects/mapa-library-ui/src/lib/components/breadcrumb/public-api.ts","../../../projects/mapa-library-ui/src/breadcrumb.ts","../../../projects/mapa-library-ui/src/mapa-library-ui-src-lib-components-breadcrumb.ts"],"sourcesContent":["import { Component, Input } from '@angular/core';\nimport { Breadpiece } from '../../../core/interfaces/bread-piece.interface';\n\n@Component({\n selector: 'mapa-breadcrumb',\n templateUrl: './breadcrumb.component.html',\n styleUrls: ['./breadcrumb.component.scss']\n})\nexport class MapaBreadcrumbComponent {\n @Input() items!: Breadpiece[];\n}\n","<section class=\"mapa-breadcrumb\">\n <span\n class=\"mapa-breadcrumb__item\"\n *ngFor=\"let item of items.slice(0, items.length - 1)\"\n >\n <a *ngIf=\"item.url; else common\" [href]=\"item.url\" [routerLink]=\"item.url\">{{ item.title }}</a>\n <ng-template #common>{{ item.title }}</ng-template>\n <span class=\"mapa-breadcrumb__item--next\">></span>\n </span>\n <span\n class=\"mapa-breadcrumb__item\"\n [class.mapa-breadcrumb__item--highlight]=\"items.length > 1\"\n >{{ items[items.length - 1].title }}</span\n >\n</section>\n","import { NgModule } from \"@angular/core\";\nimport { CommonModule } from \"@angular/common\";\n\nimport { MapaBreadcrumbComponent } from \"./breadcrumb.component\";\nimport { RouterModule } from \"@angular/router\";\n\n@NgModule({\n declarations: [MapaBreadcrumbComponent],\n exports: [MapaBreadcrumbComponent],\n imports: [CommonModule, RouterModule],\n})\nexport class MapaBreadcrumbModule {}\n","/*\n * Public API Surface of mapa-library-ui breadcrumb\n */\n\nexport * from './src/breadcrumb.component';\nexport * from './src/breadcrumb.module';\n","/*\n * Public API Surface of mapa-library-ui breadcrumb\n */\n\nexport * from './lib/components/breadcrumb/public-api';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './breadcrumb';\n"],"names":[],"mappings":";;;;;;;MAQa,uBAAuB,CAAA;;qHAA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,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,iBAJhB,uBAAuB,CAAA,EAAA,OAAA,EAAA,CAE5B,YAAY,EAAE,YAAY,aAD1B,uBAAuB,CAAA,EAAA,CAAA,CAAA;mHAGtB,oBAAoB,EAAA,OAAA,EAAA,CAFrB,YAAY,EAAE,YAAY,CAAA,EAAA,CAAA,CAAA;4FAEzB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBALhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,uBAAuB,CAAC;oBACvC,OAAO,EAAE,CAAC,uBAAuB,CAAC;AAClC,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,CAAC;AACtC,iBAAA,CAAA;;;ACVD;;AAEG;;ACFH;;AAEG;;ACFH;;AAEG;;;;"}
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mapa-library-ui",
3
- "version": "0.31.0",
3
+ "version": "0.32.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.2.0",
6
6
  "@angular/core": "^15.2.0"
@@ -1,8 +1,9 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./breadcrumb.component";
3
3
  import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/router";
4
5
  export declare class MapaBreadcrumbModule {
5
6
  static ɵfac: i0.ɵɵFactoryDeclaration<MapaBreadcrumbModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<MapaBreadcrumbModule, [typeof i1.MapaBreadcrumbComponent], [typeof i2.CommonModule], [typeof i1.MapaBreadcrumbComponent]>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MapaBreadcrumbModule, [typeof i1.MapaBreadcrumbComponent], [typeof i2.CommonModule, typeof i3.RouterModule], [typeof i1.MapaBreadcrumbComponent]>;
7
8
  static ɵinj: i0.ɵɵInjectorDeclaration<MapaBreadcrumbModule>;
8
9
  }
Binary file