{"version":3,"sources":["../../src/app/components/dialog/dialog.ts"],"names":["idx","showAnimation","animation","style","transform","opacity","animate","hideAnimation","Dialog","el","renderer","zone","cd","this","draggable","resizable","closeOnEscape","closable","showHeader","blockScroll","autoZIndex","baseZIndex","minX","minY","focusOnShow","keepInViewport","focusTrap","transitionOptions","closeIcon","minimizeIcon","maximizeIcon","onShow","EventEmitter","onHide","visibleChange","onResizeInit","onResizeEnd","onDragEnd","onMaximize","id","_style","_position","transformOptions","Object","defineProperty","prototype","_positionLeft","console","log","_positionTop","_responsive","_breakpoint","ngAfterContentInit","_this","templates","forEach","item","getType","headerTemplate","template","contentTemplate","footerTemplate","_visible","value","maskVisible","assign","originalStyle","focus","focusable","DomHandler","findSingle","container","runOutsideAngular","setTimeout","close","event","emit","preventDefault","enableModality","dismissableMask","maskClickListener","listen","wrapper","isSameNode","target","modal","addClass","document","body","disableModality","unbindMaskClickListener","removeClass","destroyed","detectChanges","maximize","maximized","moveOnTop","zIndex","String","zindex","initDrag","hasClass","parentElement","dragging","lastPageX","pageX","lastPageY","pageY","margin","onKeydown","which","focusableElements","getFocusableElements","length","ownerDocument","activeElement","focusedIndex","indexOf","shiftKey","onDrag","containerWidth","getOuterWidth","containerHeight","getOuterHeight","deltaX","deltaY","offset","getOffset","leftPos","left","topPos","top","viewport","getViewport","position","width","height","endDrag","resetPosition","center","initResize","resizing","onResize","contentHeight","contentViewChild","nativeElement","newWidth","newHeight","minWidth","minHeight","parseInt","resizeEnd","bindGlobalListeners","bindDocumentDragListener","bindDocumentDragEndListener","bindDocumentResizeListeners","bindDocumentEscapeListener","unbindGlobalListeners","unbindDocumentDragListener","unbindDocumentDragEndListener","unbindDocumentResizeListeners","unbindDocumentEscapeListener","documentDragListener","bind","window","addEventListener","removeEventListener","documentDragEndListener","documentResizeListener","documentResizeEndListener","documentTarget","documentEscapeListener","appendContainer","appendTo","appendChild","restoreAppend","onAnimationStart","toState","element","onAnimationEnd","onContainerDestroy","ngOnDestroy","Component","args","selector","animations","trigger","transition","useAnimation","changeDetection","ChangeDetectionStrategy","OnPush","encapsulation","ViewEncapsulation","None","ElementRef","Renderer2","NgZone","ChangeDetectorRef","Input","ContentChild","Header","Footer","ContentChildren","PrimeTemplate","ViewChild","Output","NgModule","imports","CommonModule","FocusTrapModule","RippleModule","exports","SharedModule","declarations"],"mappings":"usBASA,IAAIA,EAAc,EAEZC,EAAgBC,EAAAA,UAAU,CAC5BC,EAAAA,MAAM,CAAEC,UAAW,gBAAiBC,QAAS,IAC7CC,EAAAA,QAAQ,oBAGNC,EAAgBL,EAAAA,UAAU,CAC5BI,EAAAA,QAAQ,iBAAkBH,EAAAA,MAAM,CAAEC,UAAW,gBAAiBC,QAAS,oBAwOvE,SAAAG,EAAmBC,EAAuBC,EAA4BC,EAAsBC,GAAzEC,KAAAJ,GAAAA,EAAuBI,KAAAH,SAAAA,EAA4BG,KAAAF,KAAAA,EAAsBE,KAAAD,GAAAA,EAxKnFC,KAAAC,WAAqB,EAErBD,KAAAE,WAAqB,EAwBrBF,KAAAG,eAAyB,EAMzBH,KAAAI,UAAoB,EAgBpBJ,KAAAK,YAAsB,EAUtBL,KAAAM,aAAuB,EAEvBN,KAAAO,YAAsB,EAEtBP,KAAAQ,WAAqB,EAErBR,KAAAS,KAAe,EAEfT,KAAAU,KAAe,EAEfV,KAAAW,aAAuB,EAIvBX,KAAAY,gBAA0B,EAE1BZ,KAAAa,WAAqB,EAErBb,KAAAc,kBAA4B,mCAE5Bd,KAAAe,UAAoB,cAEpBf,KAAAgB,aAAuB,wBAEvBhB,KAAAiB,aAAuB,wBActBjB,KAAAkB,OAA4B,IAAIC,EAAAA,aAEhCnB,KAAAoB,OAA4B,IAAID,EAAAA,aAEhCnB,KAAAqB,cAAkC,IAAIF,EAAAA,aAEtCnB,KAAAsB,aAAkC,IAAIH,EAAAA,aAEtCnB,KAAAuB,YAAiC,IAAIJ,EAAAA,aAErCnB,KAAAwB,UAA+B,IAAIL,EAAAA,aAEnCnB,KAAAyB,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AS,CAAC5M,EAAO6M,EAAAA,cACjBC,aAAc,CAAC9M","sourcesContent":["import {NgModule,Component,ElementRef,OnDestroy,Input,Output,EventEmitter,Renderer2,\n ContentChildren,QueryList,ViewChild,NgZone, ChangeDetectorRef,ViewRef,ChangeDetectionStrategy, ViewEncapsulation, AfterContentInit, TemplateRef, ContentChild} from '@angular/core';\nimport {trigger,style,transition,animate, AnimationEvent, animation, useAnimation} from '@angular/animations';\nimport {CommonModule} from '@angular/common';\nimport {DomHandler} from 'primeng/dom';\nimport {Header,Footer,SharedModule, PrimeTemplate} from 'primeng/api';\nimport {FocusTrapModule} from 'primeng/focustrap';\nimport {RippleModule} from 'primeng/ripple';\n\nlet idx: number = 0;\n\nconst showAnimation = animation([\n style({ transform: '{{transform}}', opacity: 0 }),\n animate('{{transition}}')\n]);\n\nconst hideAnimation = animation([\n animate('{{transition}}', style({ transform: '{{transform}}', opacity: 0 }))\n]);\n\n@Component({\n selector: 'p-dialog',\n template: `\n
\n
\n
\n {{header}}\n \n \n \n \n
\n \n \n
\n
\n
\n \n \n
\n
\n \n \n
\n
\n
\n
\n `,\n animations: [\n trigger('animation', [\n transition('void => visible', [\n useAnimation(showAnimation)\n ]),\n transition('visible => void', [\n useAnimation(hideAnimation)\n ])\n ])\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n styleUrls: ['../dialog/dialog.css']\n})\nexport class Dialog implements AfterContentInit,OnDestroy {\n\n @Input() header: string;\n\n @Input() draggable: boolean = true;\n\n @Input() resizable: boolean = true;\n\n @Input() get positionLeft(): number {\n return 0;\n };\n\n set positionLeft(_positionLeft: number) {\n console.log(\"positionLeft property is deprecated.\");\n }\n\n @Input() get positionTop(): number {\n return 0;\n };\n\n set positionTop(_positionTop: number) {\n console.log(\"positionTop property is deprecated.\");\n }\n\n @Input() contentStyle: any;\n\n @Input() contentStyleClass: string;\n\n @Input() modal: boolean;\n\n @Input() closeOnEscape: boolean = true;\n\n @Input() dismissableMask: boolean;\n\n @Input() rtl: boolean;\n\n @Input() closable: boolean = true;\n\n @Input() get responsive(): boolean {\n return false;\n };\n\n set responsive(_responsive: boolean) {\n console.log(\"Responsive property is deprecated.\");\n }\n\n @Input() appendTo: any;\n\n @Input() styleClass: string;\n\n @Input() maskStyleClass: string;\n\n @Input() showHeader: boolean = true;\n\n @Input() get breakpoint(): number {\n return 649;\n };\n\n set breakpoint(_breakpoint: number) {\n console.log(\"Breakpoint property is not utilized and deprecated, use CSS media queries instead.\");\n }\n\n @Input() blockScroll: boolean = false;\n\n @Input() autoZIndex: boolean = true;\n\n @Input() baseZIndex: number = 0;\n\n @Input() minX: number = 0;\n\n @Input() minY: number = 0;\n\n @Input() focusOnShow: boolean = true;\n\n @Input() maximizable: boolean;\n\n @Input() keepInViewport: boolean = true;\n\n @Input() focusTrap: boolean = true;\n\n @Input() transitionOptions: string = '150ms cubic-bezier(0, 0, 0.2, 1)';\n\n @Input() closeIcon: string = 'pi pi-times';\n\n @Input() minimizeIcon: string = 'pi pi-window-minimize';\n\n @Input() maximizeIcon: string = 'pi pi-window-maximize';\n\n @ContentChild(Header) headerFacet: QueryList
;\n\n @ContentChild(Footer) footerFacet: QueryList