{"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 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