Icard/angular-clarity-master(work.../node_modules/primeng/fesm2022/primeng-breadcrumb.mjs.map

1 line
18 KiB
Plaintext
Raw Permalink Normal View History

2024-07-16 15:23:22 +00:00
{"version":3,"file":"primeng-breadcrumb.mjs","sources":["../../src/app/components/breadcrumb/breadcrumb.ts","../../src/app/components/breadcrumb/primeng-breadcrumb.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { AfterContentInit, ChangeDetectionStrategy, Component, ContentChildren, EventEmitter, Input, NgModule, Output, QueryList, TemplateRef, ViewEncapsulation } from '@angular/core';\nimport { Router, RouterModule } from '@angular/router';\nimport { MenuItem, PrimeTemplate, SharedModule } from 'primeng/api';\nimport { ChevronRightIcon } from 'primeng/icons/chevronright';\nimport { HomeIcon } from 'primeng/icons/home';\nimport { TooltipModule } from 'primeng/tooltip';\nimport { BreadcrumbItemClickEvent } from './breadcrumb.interface';\n/**\n * Breadcrumb provides contextual information about page hierarchy.\n * @group Components\n */\n@Component({\n selector: 'p-breadcrumb',\n template: `\n <nav [class]=\"styleClass\" [ngStyle]=\"style\" [ngClass]=\"'p-breadcrumb p-component'\" [attr.data-pc-name]=\"'breadcrumb'\" [attr.data-pc-section]=\"'root'\">\n <ol [attr.data-pc-section]=\"'menu'\" class=\"p-breadcrumb-list\">\n <li\n [class]=\"home.styleClass\"\n [attr.id]=\"home.id\"\n [ngClass]=\"{ 'p-breadcrumb-home': true, 'p-disabled': home.disabled }\"\n [ngStyle]=\"home.style\"\n *ngIf=\"home\"\n pTooltip\n [tooltipOptions]=\"home.tooltipOptions\"\n [attr.data-pc-section]=\"'home'\"\n >\n <a\n [href]=\"home.url ? home.url : null\"\n *ngIf=\"!home.routerLink\"\n [attr.aria-label]=\"homeAriaLabel\"\n class=\"p-menuitem-link\"\n (click)=\"onClick($event, home)\"\n [target]=\"home.target\"\n [attr.title]=\"home.title\"\n [attr.tabindex]=\"home.disabled ? null : '0'\"\n [ariaCurrentWhenActive]=\"isCurrentUrl(home)\"\n >\n <span *ngIf=\"home.icon\" class=\"p-menuitem-icon\" [ngClass]=\"home.icon\" [ngStyle]=\"home.iprivateyle\"></span>\n <HomeIcon *ngIf=\"!home.icon\" [styleClass]=\"'p-menuitem-icon'\" />\n <ng-container *ngIf=\"home.label\">\n <span *ngIf=\"home.escape !== false; else htmlHomeLabel\" class=\"p-menuitem-text\">{{ home.label }}</span>\n <ng-template #htmlHomeLabel><span class=\"p-menuitem-text\" [innerHTML]=\"home.label\"></span></ng-template>\n </ng-container>\n </a>\n <a\n *ngIf=\"home.routerLink\"\n [routerLink]=\"home.routerLink\"\n [attr.aria-label]=\"homeAriaLabel\"\n [queryParams]=\"home.queryParams\"\n [routerLinkActive]=\"'p-menuitem-link-active'\"\n [routerLinkActiveOptions]=\"home.routerLinkActiveOptions || { exact: false }\"\n class=\"p-menuitem-link\"\n (click)=\"onClick($event, home)\"\n [target]=\"home.target\"\n [attr.title]=\"home.title\"\n [attr.tabindex]=\"home.disabled ? null : '0'\"\n [ariaCurrentWhenActive]=\"isCurrentUrl(home)\"\n [fragment]=\"home.fragment\"\n [queryParamsHandling]=\"home.queryParamsHandling\"\n [preserveFragment]=\"home.preserveFragment\"\n [skipLocationChange]=\"home.skipLocationChange\"\n [replaceUrl]=\"home.replaceUrl\"\n [state]=\"home.state\"\n >\n <span *ngIf=\"h