384 lines
44 KiB
JavaScript
384 lines
44 KiB
JavaScript
|
import { CommonModule } from '@angular/common';
|
||
|
import { ChangeDetectionStrategy, Component, ContentChildren, EventEmitter, Input, NgModule, Output, ViewEncapsulation } from '@angular/core';
|
||
|
import { RouterModule } from '@angular/router';
|
||
|
import { PrimeTemplate, SharedModule } from 'primeng/api';
|
||
|
import { ChevronRightIcon } from 'primeng/icons/chevronright';
|
||
|
import { HomeIcon } from 'primeng/icons/home';
|
||
|
import { TooltipModule } from 'primeng/tooltip';
|
||
|
import * as i0 from "@angular/core";
|
||
|
import * as i1 from "@angular/router";
|
||
|
import * as i2 from "@angular/common";
|
||
|
import * as i3 from "primeng/tooltip";
|
||
|
/**
|
||
|
* Breadcrumb provides contextual information about page hierarchy.
|
||
|
* @group Components
|
||
|
*/
|
||
|
export class Breadcrumb {
|
||
|
router;
|
||
|
/**
|
||
|
* An array of menuitems.
|
||
|
* @group Props
|
||
|
*/
|
||
|
model;
|
||
|
/**
|
||
|
* Inline style of the component.
|
||
|
* @group Props
|
||
|
*/
|
||
|
style;
|
||
|
/**
|
||
|
* Style class of the component.
|
||
|
* @group Props
|
||
|
*/
|
||
|
styleClass;
|
||
|
/**
|
||
|
* MenuItem configuration for the home icon.
|
||
|
* @group Props
|
||
|
*/
|
||
|
home;
|
||
|
/**
|
||
|
* Defines a string that labels the home icon for accessibility.
|
||
|
* @group Props
|
||
|
*/
|
||
|
homeAriaLabel;
|
||
|
/**
|
||
|
* Fired when an item is selected.
|
||
|
* @param {BreadcrumbItemClickEvent} event - custom click event.
|
||
|
* @group Emits
|
||
|
*/
|
||
|
onItemClick = new EventEmitter();
|
||
|
templates;
|
||
|
separatorTemplate;
|
||
|
itemTemplate;
|
||
|
constructor(router) {
|
||
|
this.router = router;
|
||
|
}
|
||
|
onClick(event, item) {
|
||
|
if (item.disabled) {
|
||
|
event.preventDefault();
|
||
|
return;
|
||
|
}
|
||
|
if (!item.url && !item.routerLink) {
|
||
|
event.preventDefault();
|
||
|
}
|
||
|
if (item.command) {
|
||
|
item.command({
|
||
|
originalEvent: event,
|
||
|
item: item
|
||
|
});
|
||
|
}
|
||
|
this.onItemClick.emit({
|
||
|
originalEvent: event,
|
||
|
item: item
|
||
|
});
|
||
|
}
|
||
|
onHomeClick(event) {
|
||
|
if (this.home) {
|
||
|
this.onClick(event, this.home);
|
||
|
}
|
||
|
}
|
||
|
ngAfterContentInit() {
|
||
|
this.templates?.forEach((item) => {
|
||
|
switch (item.getType()) {
|
||
|
case 'separator':
|
||
|
this.separatorTemplate = item.template;
|
||
|
break;
|
||
|
case 'item':
|
||
|
this.itemTemplate = item.template;
|
||
|
break;
|
||
|
default:
|
||
|
this.itemTemplate = item.template;
|
||
|
break;
|
||
|
}
|
||
|
});
|
||
|
}
|
||
|
isCurrentUrl(item) {
|
||
|
const { routerLink } = item;
|
||
|
const lastPath = this.router ? this.router.url : '';
|
||
|
return routerLink === lastPath ? 'page' : undefined;
|
||
|
}
|
||
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: Breadcrumb, deps: [{ token: i1.Router }], target: i0.ɵɵFactoryTarget.Component });
|
||
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.7", type: Breadcrumb, selector: "p-breadcrumb", inputs: { model: "model", style: "style", styleClass: "styleClass", home: "home", homeAriaLabel: "homeAriaLabel" }, outputs: { onItemClick: "onItemClick" }, host: { classAttribute: "p-element" }, queries: [{ propertyName: "templates", predicate: PrimeTemplate }], ngImport: i0, template: `
|
||
|
<nav [class]="styleClass" [ngStyle]="style" [ngClass]="'p-breadcrumb p-component'" [attr.data-pc-name]="'breadcrumb'" [attr.data-pc-section]="'root'">
|
||
|
<ol [attr.data-pc-section]="'menu'" class="p-breadcrumb-list">
|
||
|
<li
|
||
|
[class]="home.styleClass"
|
||
|
[attr.id]="home.id"
|
||
|
[ngClass]="{ 'p-breadcrumb-home': true, 'p-disabled': home.disabled }"
|
||
|
[ngStyle]="home.style"
|
||
|
*ngIf="home"
|
||
|
pTooltip
|
||
|
[tooltipOptions]="home.tooltipOptions"
|
||
|
[attr.data-pc-section]="'home'"
|
||
|
>
|
||
|
<a
|
||
|
[href]="home.url ? home.url : null"
|
||
|
*ngIf="!home.routerLink"
|
||
|
[attr.aria-label]="homeAriaLabel"
|
||
|
class="p-menuitem-link"
|
||
|
(click)="onClick($event, home)"
|
||
|
[target]="home.target"
|
||
|
[attr.title]="home.title"
|
||
|
[attr.tabindex]="home.disabled ? null : '0'"
|
||
|
[ariaCurrentWhenActive]="isCurrentUrl(home)"
|
||
|
>
|
||
|
<span *ngIf="home.icon" class="p-menuitem-icon" [ngClass]="home.icon" [ngStyle]="home.iprivateyle"></span>
|
||
|
<HomeIcon *ngIf="!home.icon" [styleClass]="'p-menuitem-icon'" />
|
||
|
<ng-container *ngIf="home.label">
|
||
|
<span *ngIf="home.escape !== false; else htmlHomeLabel" class="p-menuitem-text">{{ home.label }}</span>
|
||
|
<ng-template #htmlHomeLabel><span class="p-menuitem-text" [innerHTML]="home.label"></span></ng-template>
|
||
|
</ng-container>
|
||
|
</a>
|
||
|
<a
|
||
|
*ngIf="home.routerLink"
|
||
|
[routerLink]="home.routerLink"
|
||
|
[attr.aria-label]="homeAriaLabel"
|
||
|
[queryParams]="home.queryParams"
|
||
|
[routerLinkActive]="'p-menuitem-link-active'"
|
||
|
[routerLinkActiveOptions]="home.routerLinkActiveOptions || { exact: false }"
|
||
|
class="p-menuitem-link"
|
||
|
(click)="onClick($event, home)"
|
||
|
[target]="home.target"
|
||
|
[attr.title]="home.title"
|
||
|
[attr.tabindex]="home.disabled ? null : '0'"
|
||
|
[ariaCurrentWhenActive]="isCurrentUrl(home)"
|
||
|
[fragment]="home.fragment"
|
||
|
[queryParamsHandling]="home.queryParamsHandling"
|
||
|
[preserveFragment]="home.preserveFragment"
|
||
|
[skipLocationChange]="home.skipLocationChange"
|
||
|
[replaceUrl]="home.replaceUrl"
|
||
|
[state]="home.state"
|
||
|
>
|
||
|
<span *ngIf="home.icon" class="p-menuitem-icon" [ngClass]="home.icon" [ngStyle]="home.iconStyle"></span>
|
||
|
<HomeIcon *ngIf="!home.icon" [styleClass]="'p-menuitem-icon'" />
|
||
|
<ng-container *ngIf="home.label">
|
||
|
<span *ngIf="home.escape !== false; else htmlHomeRouteLabel" class="p-menuitem-text">{{ home.label }}</span>
|
||
|
<ng-template #htmlHomeRouteLabel><span class="p-menuitem-text" [innerHTML]="home.label"></span></ng-template>
|
||
|
</ng-container>
|
||
|
</a>
|
||
|
</li>
|
||
|
<li *ngIf="model && home" class="p-menuitem-separator" [attr.data-pc-section]="'separator'">
|
||
|
<ChevronRightIcon *ngIf="!separatorTemplate" />
|
||
|
<ng-template *ngTemplateOutlet="separatorTemplate"></ng-template>
|
||
|
</li>
|
||
|
<ng-template ngFor let-item let-end="last" [ngForOf]="model">
|
||
|
<li [class]="item.styleClass" [attr.id]="item.id" [ngStyle]="item.style" [ngClass]="{ 'p-disabled': item.disabled }" pTooltip [tooltipOptions]="item.tooltipOptions" [attr.data-pc-section]="'menuitem'">
|
||
|
<a
|
||
|
*ngIf="!item.routerLink"
|
||
|
[attr.href]="item.url ? item.url : null"
|
||
|
class="p-menuitem-link"
|
||
|
(click)="onClick($event, item)"
|
||
|
[target]="item.target"
|
||
|
[attr.title]="item.title"
|
||
|
[attr.tabindex]="item.disabled ? null : '0'"
|
||
|
[ariaCurrentWhenActive]="isCurrentUrl(item)"
|
||
|
>
|
||
|
<ng-container *ngIf="!itemTemplate">
|
||
|
<span *ngIf="item.icon" class="p-menuitem-icon" [ngClass]="item.icon" [ngStyle]="item.iconStyle"></span>
|
||
|
<ng-container *ngIf="item.label">
|
||
|
<span *ngIf="item.escape !== false; else htmlLabel" class="p-menuitem-text">{{ item.label }}</span>
|
||
|
<ng-template #htmlLabel><span class="p-menuitem-text" [innerHTML]="item.label"></span></ng-template>
|
||
|
</ng-container>
|
||
|
</ng-container>
|
||
|
<ng-container *ngIf="itemTemplate">
|
||
|
<ng-template *ngTemplateOutlet="itemTemplate; context: { $implicit: item }"></ng-template>
|
||
|
</ng-container>
|
||
|
</a>
|
||
|
<a
|
||
|
*ngIf="item.routerLink"
|
||
|
[routerLink]="item.routerLink"
|
||
|
[queryParams]="item.queryParams"
|
||
|
[routerLinkActive]="'p-menuitem-link-active'"
|
||
|
[routerLinkActiveOptions]="item.routerLinkActiveOptions || { exact: false }"
|
||
|
class="p-menuitem-link"
|
||
|
(click)="onClick($event, item)"
|
||
|
[target]="item.target"
|
||
|
[attr.title]="item.title"
|
||
|
[attr.tabindex]="item.disabled ? null : '0'"
|
||
|
[fragment]="item.fragment"
|
||
|
[queryParamsHandling]="item.queryParamsHandling"
|
||
|
[preserveFragment]="item.preserveFragment"
|
||
|
[skipLocationChange]="item.skipLocationChange"
|
||
|
[replaceUrl]="item.replaceUrl"
|
||
|
[state]="item.state"
|
||
|
[ariaCurrentWhenActive]="isCurrentUrl(item)"
|
||
|
>
|
||
|
<ng-container *ngIf="!itemTemplate">
|
||
|
<span *ngIf="item.icon" class="p-menuitem-icon" [ngClass]="item.icon" [ngStyle]="item.iconStyle"></span>
|
||
|
<ng-container *ngIf="item.label">
|
||
|
<span *ngIf="item.escape !== false; else htmlRouteLabel" class="p-menuitem-text">{{ item.label }}</span>
|
||
|
<ng-template #htmlRouteLabel><span class="p-menuitem-text" [innerHTML]="item.label"></span></ng-template>
|
||
|
</ng-container>
|
||
|
</ng-container>
|
||
|
<ng-container *ngIf="itemTemplate">
|
||
|
<ng-template *ngTemplateOutlet="itemTemplate; context: { $implicit: item }"></ng-template>
|
||
|
</ng-container>
|
||
|
</a>
|
||
|
</li>
|
||
|
<li *ngIf="!end" class="p-menuitem-separator" [attr.data-pc-section]="'separator'">
|
||
|
<ChevronRightIcon *ngIf="!separatorTemplate" />
|
||
|
<ng-template *ngTemplateOutlet="separatorTemplate"></ng-template>
|
||
|
</li>
|
||
|
</ng-template>
|
||
|
</ol>
|
||
|
</nav>
|
||
|
`, isInline: true, styles: ["@layer primeng{.p-breadcrumb{overflow-x:auto}.p-breadcrumb .p-breadcrumb-list{margin:0;padding:0;list-style-type:none;display:flex;align-items:center;flex-wrap:nowrap}.p-breadcrumb .p-menuitem-text{line-height:1}.p-breadcrumb .p-menuitem-link{text-decoration:none;display:flex;align-items:center}.p-breadcrumb .p-menuitem-separator{display:flex;align-items:center}.p-breadcrumb::-webkit-scrollbar{display:none}}\n"], dependencies: [{ kind: "directive", type: i0.forwardRef(() => i2.NgClass), selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i0.forwardRef(() => i2.NgForOf), selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i0.forwardRef(() => i2.NgIf), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i0.forwardRef(() => i2.NgTemplateOutlet), selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i0.forwardRef(() => i2.NgStyle), selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i0.forwardRef(() => i1.RouterLink), selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: i0.forwardRef(() => i1.RouterLinkActive), selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "directive", type: i0.forwardRef(() => i3.Tooltip), selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { kind: "component", type: i0.forwardRef(() => ChevronRightIcon), selector: "ChevronRightIcon" }, { kind: "component", type: i0.forwardRef(() => HomeIcon), selector: "HomeIcon" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
||
|
}
|
||
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: Breadcrumb, decorators: [{
|
||
|
type: Component,
|
||
|
args: [{ selector: 'p-breadcrumb', template: `
|
||
|
<nav [class]="styleClass" [ngStyle]="style" [ngClass]="'p-breadcrumb p-component'" [attr.data-pc-name]="'breadcrumb'" [attr.data-pc-section]="'root'">
|
||
|
<ol [attr.data-pc-section]="'menu'" class="p-breadcrumb-list">
|
||
|
<li
|
||
|
[class]="home.styleClass"
|
||
|
[attr.id]="home.id"
|
||
|
[ngClass]="{ 'p-breadcrumb-home': true, 'p-disabled': home.disabled }"
|
||
|
[ngStyle]="home.style"
|
||
|
*ngIf="home"
|
||
|
pTooltip
|
||
|
[tooltipOptions]="home.tooltipOptions"
|
||
|
[attr.data-pc-section]="'home'"
|
||
|
>
|
||
|
<a
|
||
|
[href]="home.url ? home.url : null"
|
||
|
*ngIf="!home.routerLink"
|
||
|
[attr.aria-label]="homeAriaLabel"
|
||
|
class="p-menuitem-link"
|
||
|
(click)="onClick($event, home)"
|
||
|
[target]="home.target"
|
||
|
[attr.title]="home.title"
|
||
|
[attr.tabindex]="home.disabled ? null : '0'"
|
||
|
[ariaCurrentWhenActive]="isCurrentUrl(home)"
|
||
|
>
|
||
|
<span *ngIf="home.icon" class="p-menuitem-icon" [ngClass]="home.icon" [ngStyle]="home.iprivateyle"></span>
|
||
|
<HomeIcon *ngIf="!home.icon" [styleClass]="'p-menuitem-icon'" />
|
||
|
<ng-container *ngIf="home.label">
|
||
|
<span *ngIf="home.escape !== false; else htmlHomeLabel" class="p-menuitem-text">{{ home.label }}</span>
|
||
|
<ng-template #htmlHomeLabel><span class="p-menuitem-text" [innerHTML]="home.label"></span></ng-template>
|
||
|
</ng-container>
|
||
|
</a>
|
||
|
<a
|
||
|
*ngIf="home.routerLink"
|
||
|
[routerLink]="home.routerLink"
|
||
|
[attr.aria-label]="homeAriaLabel"
|
||
|
[queryParams]="home.queryParams"
|
||
|
[routerLinkActive]="'p-menuitem-link-active'"
|
||
|
[routerLinkActiveOptions]="home.routerLinkActiveOptions || { exact: false }"
|
||
|
class="p-menuitem-link"
|
||
|
(click)="onClick($event, home)"
|
||
|
[target]="home.target"
|
||
|
[attr.title]="home.title"
|
||
|
[attr.tabindex]="home.disabled ? null : '0'"
|
||
|
[ariaCurrentWhenActive]="isCurrentUrl(home)"
|
||
|
[fragment]="home.fragment"
|
||
|
[queryParamsHandling]="home.queryParamsHandling"
|
||
|
[preserveFragment]="home.preserveFragment"
|
||
|
[skipLocationChange]="home.skipLocationChange"
|
||
|
[replaceUrl]="home.replaceUrl"
|
||
|
[state]="home.state"
|
||
|
>
|
||
|
<span *ngIf="home.icon" class="p-menuitem-icon" [ngClass]="home.icon" [ngStyle]="home.iconStyle"></span>
|
||
|
<HomeIcon *ngIf="!home.icon" [styleClass]="'p-menuitem-icon'" />
|
||
|
<ng-container *ngIf="home.label">
|
||
|
<span *ngIf="home.escape !== false; else htmlHomeRouteLabel" class="p-menuitem-text">{{ home.label }}</span>
|
||
|
<ng-template #htmlHomeRouteLabel><span class="p-menuitem-text" [innerHTML]="home.label"></span></ng-template>
|
||
|
</ng-container>
|
||
|
</a>
|
||
|
</li>
|
||
|
<li *ngIf="model && home" class="p-menuitem-separator" [attr.data-pc-section]="'separator'">
|
||
|
<ChevronRightIcon *ngIf="!separatorTemplate" />
|
||
|
<ng-template *ngTemplateOutlet="separatorTemplate"></ng-template>
|
||
|
</li>
|
||
|
<ng-template ngFor let-item let-end="last" [ngForOf]="model">
|
||
|
<li [class]="item.styleClass" [attr.id]="item.id" [ngStyle]="item.style" [ngClass]="{ 'p-disabled': item.disabled }" pTooltip [tooltipOptions]="item.tooltipOptions" [attr.data-pc-section]="'menuitem'">
|
||
|
<a
|
||
|
*ngIf="!item.routerLink"
|
||
|
[attr.href]="item.url ? item.url : null"
|
||
|
class="p-menuitem-link"
|
||
|
(click)="onClick($event, item)"
|
||
|
[target]="item.target"
|
||
|
[attr.title]="item.title"
|
||
|
[attr.tabindex]="item.disabled ? null : '0'"
|
||
|
[ariaCurrentWhenActive]="isCurrentUrl(item)"
|
||
|
>
|
||
|
<ng-container *ngIf="!itemTemplate">
|
||
|
<span *ngIf="item.icon" class="p-menuitem-icon" [ngClass]="item.icon" [ngStyle]="item.iconStyle"></span>
|
||
|
<ng-container *ngIf="item.label">
|
||
|
<span *ngIf="item.escape !== false; else htmlLabel" class="p-menuitem-text">{{ item.label }}</span>
|
||
|
<ng-template #htmlLabel><span class="p-menuitem-text" [innerHTML]="item.label"></span></ng-template>
|
||
|
</ng-container>
|
||
|
</ng-container>
|
||
|
<ng-container *ngIf="itemTemplate">
|
||
|
<ng-template *ngTemplateOutlet="itemTemplate; context: { $implicit: item }"></ng-template>
|
||
|
</ng-container>
|
||
|
</a>
|
||
|
<a
|
||
|
*ngIf="item.routerLink"
|
||
|
[routerLink]="item.routerLink"
|
||
|
[queryParams]="item.queryParams"
|
||
|
[routerLinkActive]="'p-menuitem-link-active'"
|
||
|
[routerLinkActiveOptions]="item.routerLinkActiveOptions || { exact: false }"
|
||
|
class="p-menuitem-link"
|
||
|
(click)="onClick($event, item)"
|
||
|
[target]="item.target"
|
||
|
[attr.title]="item.title"
|
||
|
[attr.tabindex]="item.disabled ? null : '0'"
|
||
|
[fragment]="item.fragment"
|
||
|
[queryParamsHandling]="item.queryParamsHandling"
|
||
|
[preserveFragment]="item.preserveFragment"
|
||
|
[skipLocationChange]="item.skipLocationChange"
|
||
|
[replaceUrl]="item.replaceUrl"
|
||
|
[state]="item.state"
|
||
|
[ariaCurrentWhenActive]="isCurrentUrl(item)"
|
||
|
>
|
||
|
<ng-container *ngIf="!itemTemplate">
|
||
|
<span *ngIf="item.icon" class="p-menuitem-icon" [ngClass]="item.icon" [ngStyle]="item.iconStyle"></span>
|
||
|
<ng-container *ngIf="item.label">
|
||
|
<span *ngIf="item.escape !== false; else htmlRouteLabel" class="p-menuitem-text">{{ item.label }}</span>
|
||
|
<ng-template #htmlRouteLabel><span class="p-menuitem-text" [innerHTML]="item.label"></span></ng-template>
|
||
|
</ng-container>
|
||
|
</ng-container>
|
||
|
<ng-container *ngIf="itemTemplate">
|
||
|
<ng-template *ngTemplateOutlet="itemTemplate; context: { $implicit: item }"></ng-template>
|
||
|
</ng-container>
|
||
|
</a>
|
||
|
</li>
|
||
|
<li *ngIf="!end" class="p-menuitem-separator" [attr.data-pc-section]="'separator'">
|
||
|
<ChevronRightIcon *ngIf="!separatorTemplate" />
|
||
|
<ng-template *ngTemplateOutlet="separatorTemplate"></ng-template>
|
||
|
</li>
|
||
|
</ng-template>
|
||
|
</ol>
|
||
|
</nav>
|
||
|
`, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
||
|
class: 'p-element'
|
||
|
}, styles: ["@layer primeng{.p-breadcrumb{overflow-x:auto}.p-breadcrumb .p-breadcrumb-list{margin:0;padding:0;list-style-type:none;display:flex;align-items:center;flex-wrap:nowrap}.p-breadcrumb .p-menuitem-text{line-height:1}.p-breadcrumb .p-menuitem-link{text-decoration:none;display:flex;align-items:center}.p-breadcrumb .p-menuitem-separator{display:flex;align-items:center}.p-breadcrumb::-webkit-scrollbar{display:none}}\n"] }]
|
||
|
}], ctorParameters: () => [{ type: i1.Router }], propDecorators: { model: [{
|
||
|
type: Input
|
||
|
}], style: [{
|
||
|
type: Input
|
||
|
}], styleClass: [{
|
||
|
type: Input
|
||
|
}], home: [{
|
||
|
type: Input
|
||
|
}], homeAriaLabel: [{
|
||
|
type: Input
|
||
|
}], onItemClick: [{
|
||
|
type: Output
|
||
|
}], templates: [{
|
||
|
type: ContentChildren,
|
||
|
args: [PrimeTemplate]
|
||
|
}] } });
|
||
|
export class BreadcrumbModule {
|
||
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: BreadcrumbModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
||
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.7", ngImport: i0, type: BreadcrumbModule, declarations: [Breadcrumb], imports: [CommonModule, RouterModule, TooltipModule, ChevronRightIcon, HomeIcon, SharedModule], exports: [Breadcrumb, RouterModule, TooltipModule, SharedModule] });
|
||
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: BreadcrumbModule, imports: [CommonModule, RouterModule, TooltipModule, ChevronRightIcon, HomeIcon, SharedModule, RouterModule, TooltipModule, SharedModule] });
|
||
|
}
|
||
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: BreadcrumbModule, decorators: [{
|
||
|
type: NgModule,
|
||
|
args: [{
|
||
|
imports: [CommonModule, RouterModule, TooltipModule, ChevronRightIcon, HomeIcon, SharedModule],
|
||
|
exports: [Breadcrumb, RouterModule, TooltipModule, SharedModule],
|
||
|
declarations: [Breadcrumb]
|
||
|
}]
|
||
|
}] });
|
||
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnJlYWRjcnVtYi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9hcHAvY29tcG9uZW50cy9icmVhZGNydW1iL2JyZWFkY3J1bWIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBb0IsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLGVBQWUsRUFBRSxZQUFZLEVBQUUsS0FBSyxFQUFFLFFBQV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