{"version":3,"file":"primeng-speeddial.mjs","sources":["../../src/app/components/speeddial/speeddial.ts","../../src/app/components/speeddial/primeng-speeddial.ts"],"sourcesContent":["import { CommonModule, DOCUMENT, isPlatformBrowser } from '@angular/common';\nimport {\n AfterContentInit,\n AfterViewInit,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChildren,\n ElementRef,\n EventEmitter,\n Inject,\n Input,\n NgModule,\n OnDestroy,\n Output,\n PLATFORM_ID,\n QueryList,\n Renderer2,\n TemplateRef,\n ViewChild,\n ViewEncapsulation,\n booleanAttribute,\n numberAttribute,\n signal\n} from '@angular/core';\nimport { RouterModule } from '@angular/router';\nimport { MenuItem, PrimeTemplate, SharedModule } from 'primeng/api';\nimport { ButtonModule } from 'primeng/button';\nimport { DomHandler } from 'primeng/dom';\nimport { PlusIcon } from 'primeng/icons/plus';\nimport { RippleModule } from 'primeng/ripple';\nimport { TooltipModule } from 'primeng/tooltip';\nimport { UniqueComponentId } from 'primeng/utils';\nimport { asapScheduler } from 'rxjs';\n\n/**\n * When pressed, a floating action button can display multiple primary actions that can be performed on a page.\n * @group Components\n */\n@Component({\n selector: 'p-speedDial',\n template: `\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n styleUrls: ['./speeddial.css'],\n host: {\n class: 'p-element'\n }\n})\nexport class SpeedDial implements AfterViewInit, AfterContentInit, OnDestroy {\n /**\n * List of items id.\n * @group Props\n */\n @Input() id: string | undefined;\n /**\n * MenuModel instance to define the action items.\n * @group Props\n */\n @Input() model: MenuItem[] | null = null;\n /**\n * Specifies the visibility of the overlay.\n * @defaultValue false\n * @group Props\n */\n @Input() get visible(): boolean {\n return this._visible;\n }\n set visible(value: boolean) {\n this._visible = value;\n\n if (this._visible) {\n this.bindDocumentClickListener();\n } else {\n this.unbindDocumentClickListener();\n }\n }\n /**\n * Inline style of the element.\n * @group Props\n */\n @Input() style: { [klass: string]: any } | null | undefined;\n /**\n * Style class of the element.\n * @group Props\n */\n @Input() className: string | undefined;\n /**\n * Specifies the opening direction of actions.\n * @gruop Props\n */\n @Input() direction: 'up' | 'down' | 'left' | 'right' | 'up-left' | 'up-right' | 'down-left' | 'down-right' | undefined = 'up';\n /**\n * Transition delay step for each action item.\n * @group Props\n */\n @Input({ transform: numberAttribute }) transitionDelay: number = 30;\n /**\n * Specifies the opening type of actions.\n * @group Props\n */\n @Input() type: 'linear' | 'circle' | 'semi-circle' | 'quarter-circle' | undefined = 'linear';\n /**\n * Radius for *circle types.\n * @group Props\n */\n @Input({ transform: numberAttribute }) radius: number = 0;\n /**\n * Whether to show a mask element behind the speeddial.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) mask: boolean = false;\n /**\n * Whether the component is disabled.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) disabled: boolean = false;\n /**\n * Whether the actions close when clicked outside.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) hideOnClickOutside: boolean = true;\n /**\n * Inline style of the button element.\n * @group Props\n */\n @Input() buttonStyle: { [klass: string]: any } | null | undefined;\n /**\n * Style class of the button element.\n * @group Props\n */\n @Input() buttonClassName: string | undefined;\n /**\n * Inline style of the mask element.\n * @group Props\n */\n @Input() maskStyle: { [klass: string]: any } | null | undefined;\n /**\n * Style class of the mask element.\n * @group Props\n */\n @Input() maskClassName: string | undefined;\n /**\n * Show icon of the button element.\n * @group Props\n */\n @Input() showIcon: string | undefined;\n /**\n * Hide icon of the button element.\n * @group Props\n */\n @Input() hideIcon: string | undefined;\n /**\n * Defined to rotate showIcon when hideIcon is not present.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) rotateAnimation: boolean = true;\n /**\n * Defines a string value that labels an interactive element.\n * @group Props\n */\n @Input() ariaLabel: string | undefined;\n /**\n * Identifier of the underlying input element.\n * @group Props\n */\n @Input() ariaLabelledBy: string | undefined;\n /**\n * Fired when the visibility of element changed.\n * @param {boolean} boolean - Visibility value.\n * @group Emits\n */\n @Output() onVisibleChange: EventEmitter = new EventEmitter();\n /**\n * Fired when the visibility of element changed.\n * @param {boolean} boolean - Visibility value.\n * @group Emits\n */\n @Output() visibleChange: EventEmitter = new EventEmitter();\n /**\n * Fired when the button element clicked.\n * @param {MouseEvent} event - Mouse event.\n * @group Emits\n */\n @Output() onClick: EventEmitter = new EventEmitter();\n /**\n * Fired when the actions are visible.\n * @param {Event} event - Browser event.\n * @group Emits\n */\n @Output() onShow: EventEmitter = new EventEmitter();\n /**\n * Fired when the actions are hidden.\n * @param {Event} event - Browser event.\n * @group Emits\n */\n @Output() onHide: EventEmitter = new EventEmitter();\n\n @ViewChild('container') container: ElementRef | undefined;\n\n @ViewChild('list') list: ElementRef | undefined;\n\n @ContentChildren(PrimeTemplate) templates: QueryList | undefined;\n\n buttonTemplate: TemplateRef | undefined;\n\n itemTemplate: TemplateRef | undefined;\n\n isItemClicked: boolean = false;\n\n _visible: boolean = false;\n\n documentClickListener: any;\n\n focusedOptionIndex = signal(null);\n\n focused: boolean = false;\n\n get focusedOptionId() {\n return this.focusedOptionIndex() !== -1 ? this.focusedOptionIndex() : null;\n }\n\n constructor(@Inject(PLATFORM_ID) private platformId: any, private el: ElementRef, public cd: ChangeDetectorRef, @Inject(DOCUMENT) private document: Document, private renderer: Renderer2) {}\n\n ngOnInit() {\n this.id = this.id || UniqueComponentId();\n }\n\n ngAfterViewInit() {\n if (isPlatformBrowser(this.platformId)) {\n if (this.type !== 'linear') {\n const button = DomHandler.findSingle(this.container?.nativeElement, '.p-speeddial-button');\n const firstItem = DomHandler.findSingle(this.list?.nativeElement, '.p-speeddial-item');\n\n if (button && firstItem) {\n const wDiff = Math.abs(button.offsetWidth - firstItem.offsetWidth);\n const hDiff = Math.abs(button.offsetHeight - firstItem.offsetHeight);\n this.list?.nativeElement.style.setProperty('--item-diff-x', `${wDiff / 2}px`);\n this.list?.nativeElement.style.setProperty('--item-diff-y', `${hDiff / 2}px`);\n }\n }\n }\n }\n\n ngAfterContentInit() {\n this.templates?.forEach((item) => {\n switch (item.getType()) {\n case 'button':\n this.buttonTemplate = item.template;\n break;\n case 'item':\n this.itemTemplate = item.template;\n break;\n }\n });\n }\n\n show() {\n this.onVisibleChange.emit(true);\n this.visibleChange.emit(true);\n this._visible = true;\n this.onShow.emit();\n this.bindDocumentClickListener();\n this.cd.markForCheck();\n }\n\n hide() {\n this.onVisibleChange.emit(false);\n this.visibleChange.emit(false);\n this._visible = false;\n this.onHide.emit();\n this.unbindDocumentClickListener();\n this.cd.markForCheck();\n }\n\n onButtonClick(event: MouseEvent) {\n this.visible ? this.hide() : this.show();\n this.onClick.emit(event);\n this.isItemClicked = true;\n }\n\n onItemClick(e: MouseEvent, item: MenuItem) {\n if (item.command) {\n item.command({ originalEvent: e, item });\n }\n\n this.hide();\n\n this.isItemClicked = true;\n }\n\n onKeyDown(event: KeyboardEvent) {\n switch (event.code) {\n case 'ArrowDown':\n this.onArrowDown(event);\n break;\n\n case 'ArrowUp':\n this.onArrowUp(event);\n break;\n\n case 'ArrowLeft':\n this.onArrowLeft(event);\n break;\n\n case 'ArrowRight':\n this.onArrowRight(event);\n break;\n\n case 'Enter':\n case 'Space':\n this.onEnterKey(event);\n break;\n\n case 'Escape':\n this.onEscapeKey(event);\n break;\n\n case 'Home':\n this.onHomeKey(event);\n break;\n\n case 'End':\n this.onEndKey(event);\n break;\n\n default:\n break;\n }\n }\n\n onFocus(event) {\n this.focused = true;\n }\n\n onBlur(event) {\n this.focused = false;\n asapScheduler.schedule(() => this.focusedOptionIndex.set(-1));\n }\n\n onArrowUp(event) {\n if (this.direction === 'up') {\n this.navigateNextItem(event);\n } else if (this.direction === 'down') {\n this.navigatePrevItem(event);\n } else {\n this.navigateNextItem(event);\n }\n }\n\n onArrowDown(event) {\n if (this.direction === 'up') {\n this.navigatePrevItem(event);\n } else if (this.direction === 'down') {\n this.navigateNextItem(event);\n } else {\n this.navigatePrevItem(event);\n }\n }\n\n onArrowLeft(event) {\n const leftValidDirections = ['left', 'up-right', 'down-left'];\n const rightValidDirections = ['right', 'up-left', 'down-right'];\n\n if (leftValidDirections.includes(this.direction)) {\n this.navigateNextItem(event);\n } else if (rightValidDirections.includes(this.direction)) {\n this.navigatePrevItem(event);\n } else {\n this.navigatePrevItem(event);\n }\n }\n\n onArrowRight(event) {\n const leftValidDirections = ['left', 'up-right', 'down-left'];\n const rightValidDirections = ['right', 'up-left', 'down-right'];\n\n if (leftValidDirections.includes(this.direction)) {\n this.navigatePrevItem(event);\n } else if (rightValidDirections.includes(this.direction)) {\n this.navigateNextItem(event);\n } else {\n this.navigateNextItem(event);\n }\n }\n\n onEndKey(event: any) {\n event.preventDefault();\n\n this.focusedOptionIndex.set(-1);\n this.navigatePrevItem(event);\n }\n\n onHomeKey(event: any) {\n event.preventDefault();\n\n this.focusedOptionIndex.set(-1);\n this.navigateNextItem(event);\n }\n\n onEnterKey(event: any) {\n const items = DomHandler.find(this.container.nativeElement, '[data-pc-section=\"menuitem\"]');\n const itemIndex = [...items].findIndex((item) => item.id === this.focusedOptionIndex());\n\n this.onItemClick(event, this.model[itemIndex]);\n this.onBlur(event);\n\n const buttonEl = DomHandler.findSingle(this.container.nativeElement, 'button');\n\n buttonEl && DomHandler.focus(buttonEl);\n }\n\n onEscapeKey(event: KeyboardEvent) {\n this.hide();\n\n const buttonEl = DomHandler.findSingle(this.container.nativeElement, 'button');\n\n buttonEl && DomHandler.focus(buttonEl);\n }\n\n onTogglerKeydown(event: KeyboardEvent) {\n switch (event.code) {\n case 'ArrowDown':\n case 'ArrowLeft':\n this.onTogglerArrowDown(event);\n\n break;\n\n case 'ArrowUp':\n case 'ArrowRight':\n this.onTogglerArrowUp(event);\n\n break;\n\n case 'Escape':\n this.onEscapeKey(event);\n\n break;\n\n default:\n break;\n }\n }\n\n onTogglerArrowUp(event) {\n this.focused = true;\n DomHandler.focus(this.list.nativeElement);\n\n this.show();\n this.navigatePrevItem(event);\n\n event.preventDefault();\n }\n\n onTogglerArrowDown(event) {\n this.focused = true;\n DomHandler.focus(this.list.nativeElement);\n\n this.show();\n this.navigateNextItem(event);\n\n event.preventDefault();\n }\n\n navigateNextItem(event) {\n const optionIndex = this.findNextOptionIndex(this.focusedOptionIndex());\n\n this.changeFocusedOptionIndex(optionIndex);\n\n event.preventDefault();\n }\n\n navigatePrevItem(event) {\n const optionIndex = this.findPrevOptionIndex(this.focusedOptionIndex());\n\n this.changeFocusedOptionIndex(optionIndex);\n\n event.preventDefault();\n }\n\n findPrevOptionIndex(index) {\n const items = DomHandler.find(this.container.nativeElement, '[data-pc-section=\"menuitem\"]');\n\n const filteredItems = [...items].filter((item) => !DomHandler.hasClass(DomHandler.findSingle(item, 'a'), 'p-disabled'));\n const newIndex = index === -1 ? filteredItems[filteredItems.length - 1].id : index;\n let matchedOptionIndex = filteredItems.findIndex((link) => link.getAttribute('id') === newIndex);\n\n matchedOptionIndex = index === -1 ? filteredItems.length - 1 : matchedOptionIndex - 1;\n\n return matchedOptionIndex;\n }\n\n findNextOptionIndex(index) {\n const items = DomHandler.find(this.container.nativeElement, '[data-pc-section=\"menuitem\"]');\n const filteredItems = [...items].filter((item) => !DomHandler.hasClass(DomHandler.findSingle(item, 'a'), 'p-disabled'));\n const newIndex = index === -1 ? filteredItems[0].id : index;\n let matchedOptionIndex = filteredItems.findIndex((link) => link.getAttribute('id') === newIndex);\n\n matchedOptionIndex = index === -1 ? 0 : matchedOptionIndex + 1;\n\n return matchedOptionIndex;\n }\n\n changeFocusedOptionIndex(index) {\n const items = DomHandler.find(this.container.nativeElement, '[data-pc-section=\"menuitem\"]');\n const filteredItems = [...items].filter((item) => !DomHandler.hasClass(DomHandler.findSingle(item, 'a'), 'p-disabled'));\n\n if (filteredItems[index]) {\n this.focusedOptionIndex.set(filteredItems[index].getAttribute('id'));\n }\n }\n\n calculatePointStyle(index: number) {\n const type = this.type;\n\n if (type !== 'linear') {\n const length = (this.model as MenuItem[]).length;\n const radius = this.radius || length * 20;\n\n if (type === 'circle') {\n const step = (2 * Math.PI) / length;\n\n return {\n left: `calc(${radius * Math.cos(step * index)}px + var(--item-diff-x, 0px))`,\n top: `calc(${radius * Math.sin(step * index)}px + var(--item-diff-y, 0px))`\n };\n } else if (type === 'semi-circle') {\n const direction = this.direction;\n const step = Math.PI / (length - 1);\n const x = `calc(${radius * Math.cos(step * index)}px + var(--item-diff-x, 0px))`;\n const y = `calc(${radius * Math.sin(step * index)}px + var(--item-diff-y, 0px))`;\n if (direction === 'up') {\n return { left: x, bottom: y };\n } else if (direction === 'down') {\n return { left: x, top: y };\n } else if (direction === 'left') {\n return { right: y, top: x };\n } else if (direction === 'right') {\n return { left: y, top: x };\n }\n } else if (type === 'quarter-circle') {\n const direction = this.direction;\n const step = Math.PI / (2 * (length - 1));\n const x = `calc(${radius * Math.cos(step * index)}px + var(--item-diff-x, 0px))`;\n const y = `calc(${radius * Math.sin(step * index)}px + var(--item-diff-y, 0px))`;\n if (direction === 'up-left') {\n return { right: x, bottom: y };\n } else if (direction === 'up-right') {\n return { left: x, bottom: y };\n } else if (direction === 'down-left') {\n return { right: y, top: x };\n } else if (direction === 'down-right') {\n return { left: y, top: x };\n }\n }\n }\n\n return {};\n }\n\n calculateTransitionDelay(index: number) {\n const length = (this.model as MenuItem[]).length;\n\n return (this.visible ? index : length - index - 1) * this.transitionDelay;\n }\n\n containerClass() {\n return {\n ['p-speeddial p-component' + ` p-speeddial-${this.type}`]: true,\n [`p-speeddial-direction-${this.direction}`]: this.type !== 'circle',\n 'p-speeddial-opened': this.visible,\n 'p-disabled': this.disabled\n };\n }\n\n buttonClass() {\n return {\n 'p-speeddial-button p-button-rounded': true,\n 'p-speeddial-rotate': this.rotateAnimation && !this.hideIcon,\n [this.buttonClassName!]: true\n };\n }\n\n get buttonIconClass() {\n return (!this.visible && this.showIcon) || !this.hideIcon ? this.showIcon : this.hideIcon;\n }\n\n getItemStyle(index: number) {\n const transitionDelay = this.calculateTransitionDelay(index);\n const pointStyle = this.calculatePointStyle(index);\n return {\n transitionDelay: `${transitionDelay}ms`,\n ...pointStyle\n };\n }\n\n isClickableRouterLink(item: MenuItem) {\n return item.routerLink && !this.disabled && !item.disabled;\n }\n\n isOutsideClicked(event: Event) {\n return this.container && !(this.container.nativeElement.isSameNode(event.target) || this.container.nativeElement.contains(event.target) || this.isItemClicked);\n }\n\n bindDocumentClickListener() {\n if (isPlatformBrowser(this.platformId)) {\n if (!this.documentClickListener && this.hideOnClickOutside) {\n this.documentClickListener = this.renderer.listen(this.document, 'click', (event) => {\n if (this.visible && this.isOutsideClicked(event)) {\n this.hide();\n }\n\n this.isItemClicked = false;\n });\n }\n }\n }\n\n unbindDocumentClickListener() {\n if (this.documentClickListener) {\n this.documentClickListener();\n this.documentClickListener = null;\n }\n }\n\n ngOnDestroy() {\n this.unbindDocumentClickListener();\n }\n}\n\n@NgModule({\n imports: [CommonModule, ButtonModule, RippleModule, TooltipModule, RouterModule, PlusIcon],\n exports: [SpeedDial, SharedModule, ButtonModule, TooltipModule, RouterModule],\n declarations: [SpeedDial]\n})\nexport class SpeedDialModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAmCA;;;AAGG;MA6GU,SAAS,CAAA;AA6KuB,IAAA,UAAA,CAAA;AAAyB,IAAA,EAAA,CAAA;AAAuB,IAAA,EAAA,CAAA;AAAiD,IAAA,QAAA,CAAA;AAA4B,IAAA,QAAA,CAAA;AA5KtK;;;AAGG;AACM,IAAA,EAAE,CAAqB;AAChC;;;AAGG;IACM,KAAK,GAAsB,IAAI,CAAC;AACzC;;;;AAIG;AACH,IAAA,IAAa,OAAO,GAAA;QAChB,OAAO,IAAI,CAAC,QAAQ,CAAC;KACxB;IACD,IAAI,OAAO,CAAC,KAAc,EAAA;AACtB,QAAA,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;QAEtB,IAAI,IAAI,CAAC,QAAQ,EAAE;YAC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