{"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} from '@angular/core';\nimport { RouterModule } from '@angular/router';\nimport { LicenseManager, 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';\n\n@Component({\n selector: 'p-speedDial',\n template: `\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 @Input() id: string;\n\n @Input() model: any[] = null;\n\n @Input() get visible(): any {\n return this._visible;\n }\n set visible(value: any) {\n this._visible = value;\n\n if (this._visible) {\n this.bindDocumentClickListener();\n } else {\n this.unbindDocumentClickListener();\n }\n }\n\n @Input() style: any;\n\n @Input() className: string;\n\n @Input() direction: string = 'up';\n\n @Input() transitionDelay: number = 30;\n\n @Input() type: string = 'linear';\n\n @Input() radius: number = 0;\n\n @Input() mask: boolean = false;\n\n @Input() disabled: boolean = false;\n\n @Input() hideOnClickOutside: boolean = true;\n\n @Input() buttonStyle: any;\n\n @Input() buttonClassName: string;\n\n @Input() maskStyle: any;\n\n @Input() maskClassName: string;\n\n @Input() showIcon: string;\n\n @Input() hideIcon: string;\n\n @Input() rotateAnimation: boolean = true;\n\n @Output() onVisibleChange: EventEmitter = new EventEmitter();\n\n @Output() visibleChange: EventEmitter = new EventEmitter();\n\n @Output() onClick: EventEmitter = new EventEmitter();\n\n @Output() onShow: EventEmitter = new EventEmitter();\n\n @Output() onHide: EventEmitter = new EventEmitter();\n\n @ViewChild('container') container: ElementRef;\n\n @ViewChild('list') list: ElementRef;\n\n @ContentChildren(PrimeTemplate) templates: QueryList;\n\n buttonTemplate: TemplateRef;\n\n isItemClicked: boolean = false;\n\n _visible: boolean = false;\n\n documentClickListener: any;\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 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 LicenseManager.check();\n }\n\n ngAfterContentInit() {\n this.templates.forEach((item) => {\n switch (item.getType()) {\n case 'button':\n this.buttonTemplate = 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) {\n this.visible ? this.hide() : this.show();\n this.onClick.emit(event);\n this.isItemClicked = true;\n }\n\n onItemClick(e, item) {\n if (item.command) {\n item.command({ originalEvent: e, item });\n }\n\n this.hide();\n\n this.isItemClicked = true;\n }\n\n calculatePointStyle(index) {\n const type = this.type;\n\n if (type !== 'linear') {\n const length = this.model.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) {\n const length = this.model.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) {\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) {\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":";;;;;;;;;;;;;;;;MA6Fa,SAAS,CAAA;IA0ElB,WAAyC,CAAA,UAAe,EAAU,EAAc,EAAS,EAAqB,EAA4B,QAAkB,EAAU,QAAmB,EAAA;AAAhJ,QAAA,IAAU,CAAA,UAAA,GAAV,UAAU,CAAK;AAAU,QAAA,IAAE,CAAA,EAAA,GAAF,EAAE,CAAY;AAAS,QAAA,IAAE,CAAA,EAAA,GAAF,EAAE,CAAmB;AAA4B,QAAA,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAU;AAAU,QAAA,IAAQ,CAAA,QAAA,GA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