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

1 line
24 KiB
Plaintext
Raw Normal View History

2024-07-16 15:23:22 +00:00
{"version":3,"file":"primeng-dock.mjs","sources":["../../src/app/components/dock/dock.ts","../../src/app/components/dock/primeng-dock.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { AfterContentInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChildren, ElementRef, EventEmitter, Input, NgModule, Output, QueryList, TemplateRef, ViewChild, ViewEncapsulation } from '@angular/core';\nimport { RouterModule } from '@angular/router';\nimport { MenuItem, PrimeTemplate, SharedModule } from 'primeng/api';\nimport { RippleModule } from 'primeng/ripple';\nimport { TooltipModule } from 'primeng/tooltip';\nimport { Nullable } from 'primeng/ts-helpers';\nimport { ObjectUtils, UniqueComponentId } from 'primeng/utils';\nimport { DomHandler } from 'primeng/dom';\n/**\n * Dock is a navigation component consisting of menuitems.\n * @group Components\n */\n@Component({\n selector: 'p-dock',\n template: `\n <div [ngClass]=\"containerClass\" [ngStyle]=\"style\" [class]=\"styleClass\" [attr.data-pc-name]=\"'dock'\">\n <div class=\"p-dock-list-container\">\n <ul\n #list\n [attr.id]=\"id\"\n class=\"p-dock-list\"\n role=\"menu\"\n [attr.aria-orientation]=\"position === 'bottom' || position === 'top' ? 'horizontal' : 'vertical'\"\n [attr.aria-activedescendant]=\"focused ? focusedOptionId : undefined\"\n [tabindex]=\"tabindex\"\n [attr.aria-label]=\"ariaLabel\"\n [attr.aria-labelledby]=\"ariaLabelledBy\"\n [attr.data-pc-section]=\"'menu'\"\n (focus)=\"onListFocus($event)\"\n (blur)=\"onListBlur($event)\"\n (keydown)=\"onListKeyDown($event)\"\n (mouseleave)=\"onListMouseLeave()\"\n >\n <li\n *ngFor=\"let item of model; let i = index\"\n [attr.id]=\"getItemId(item, i)\"\n [ngClass]=\"itemClass(item, i)\"\n role=\"menuitem\"\n [attr.aria-label]=\"item.label\"\n [attr.aria-disabled]=\"disabled(item)\"\n (click)=\"onItemClick($event, item)\"\n (mouseenter)=\"onItemMouseEnter(i)\"\n [attr.data-pc-section]=\"'menuitem'\"\n [attr.data-p-focused]=\"isItemActive(getItemId(item, i))\"\n [attr.data-p-disabled]=\"disabled(item) || false\"\n >\n <div class=\"p-menuitem-content\" [attr.data-pc-section]=\"'content'\">\n <a\n *ngIf=\"isClickableRouterLink(item); else elseBlock\"\n pRipple\n [routerLink]=\"item.routerLink\"\n [queryParams]=\"item.queryParams\"\n [ngClass]=\"{ 'p-disabled': item.disabled }\"\n class=\"p-dock-link\"\n [routerLinkActiveOptions]=\"item.routerLinkActiveOptions || { exact: false }\"\n [target]=\"item.target\"\n [attr.tabindex]=\"item.disabled || readonly ? null : item.tabindex ? item.tabindex : '-1'\"\n pTooltip\n [tooltipOptions]=\"item.tooltipOptions\"\n [fragment]=\"item.fragment\"\n [queryParamsHandling]=\"item.queryParamsHandling\"\n [preserveFragment]=\"item.preserveFragment\"\n [skipLocationChange]=\"item.skipLocationChange\"\n [replaceUrl]=\"item.replaceUrl\"\n [state]=\"item.state\"\n