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

1 line
82 KiB
Plaintext
Raw Permalink Normal View History

2024-07-16 15:23:22 +00:00
{"version":3,"file":"primeng-panelmenu.mjs","sources":["../../src/app/components/panelmenu/panelmenu.ts","../../src/app/components/panelmenu/primeng-panelmenu.ts"],"sourcesContent":["import { animate, state, style, transition, trigger } from '@angular/animations';\nimport { CommonModule } from '@angular/common';\nimport {\n AfterContentInit,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChildren,\n ElementRef,\n EventEmitter,\n Inject,\n Input,\n NgModule,\n OnChanges,\n Output,\n QueryList,\n SimpleChanges,\n TemplateRef,\n ViewChild,\n ViewEncapsulation,\n booleanAttribute,\n computed,\n forwardRef,\n numberAttribute,\n signal\n} from '@angular/core';\nimport { RouterModule } from '@angular/router';\nimport { MenuItem, PrimeTemplate, SharedModule } from 'primeng/api';\nimport { DomHandler } from 'primeng/dom';\nimport { AngleDownIcon } from 'primeng/icons/angledown';\nimport { AngleRightIcon } from 'primeng/icons/angleright';\nimport { ChevronDownIcon } from 'primeng/icons/chevrondown';\nimport { ChevronRightIcon } from 'primeng/icons/chevronright';\nimport { TooltipModule } from 'primeng/tooltip';\nimport { ObjectUtils, UniqueComponentId } from 'primeng/utils';\n\n@Component({\n selector: 'p-panelMenuSub',\n template: `\n <ul\n #list\n [ngClass]=\"{ 'p-submenu-list': true, 'p-panelmenu-root-list': root }\"\n role=\"tree\"\n [tabindex]=\"-1\"\n [attr.aria-activedescendant]=\"focusedItemId\"\n [attr.data-pc-section]=\"'menu'\"\n [attr.aria-hidden]=\"!parentExpanded\"\n (focusin)=\"menuFocus.emit($event)\"\n (focusout)=\"menuBlur.emit($event)\"\n (keydown)=\"menuKeyDown.emit($event)\"\n >\n <ng-template ngFor let-processedItem let-index=\"index\" [ngForOf]=\"items\">\n <li *ngIf=\"processedItem.separator\" class=\"p-menuitem-separator\" role=\"separator\"></li>\n <li\n *ngIf=\"!processedItem.separator && isItemVisible(processedItem)\"\n [ngClass]=\"getItemClass(processedItem)\"\n role=\"treeitem\"\n [attr.id]=\"getItemId(processedItem)\"\n [attr.aria-label]=\"getItemProp(processedItem, 'label')\"\n [attr.aria-expanded]=\"isItemGroup(processedItem) ? isItemActive(processedItem) : undefined\"\n [attr.aria-level]=\"level + 1\"\n [attr.aria-setsize]=\"getAriaSetSize()\"\n [attr.aria-posinset]=\"getAriaPosInset(index)\"\n [class]=\"getItemProp(processedItem, 'styleClass')\"\n [class.p-hidden]=\"processedItem.visible === false\"\n [class.p-focus]=\"isItemFocused(processedItem) && !isItemDisabled(processedItem)\"\n [ngStyle]=\"getItemProp(processedItem, 'style')\"\n [pTooltip]=\"getItemProp(processedItem, 'tooltip')\"\n [attr.data-p-disabled]=\"isItemDisabled(processedItem)\"\n [tooltipOptions]=\"getItemProp(processedItem, 'tooltipOptions')\"\n >\n <div class=\"p-menuitem-content\" (click)=\"onItemClick($event, processedItem)\">\n <ng-container *ngIf=\"!itemTemplate\">\n <a\n *ngIf=\"!getItemProp(processedItem, 'routerLink')\"\n [attr.href]=\"getItemProp(processedItem, 'url')\"\n class=\"p-menuitem-link\"\n [ngClass]=\"{ 'p-disabled': getItemProp(processedItem, 'disabled') }\"\n [target]=\"getItemProp(processedItem, 'target')\"\n [attr.data-pc-section]=\"'action'\"\n [attr.tabindex]=\"!!parentExpanded ? '0' : '-1'\"\n >\n