{"version":3,"sources":["../../src/app/components/divider/divider.ts"],"names":["Divider","this","layout","type","prototype","containerClass","p-divider p-component","p-divider-horizontal","p-divider-vertical","p-divider-solid","p-divider-dashed","p-divider-dotted","p-divider-left","align","p-divider-center","p-divider-right","p-divider-top","p-divider-bottom","Component","args","selector","template","changeDetection","ChangeDetectionStrategy","OnPush","encapsulation","ViewEncapsulation","None","Input","NgModule","imports","CommonModule","exports","declarations"],"mappings":"oaAGA,SAAAA,IAmBaC,KAAAC,OAAiB,aAEjBD,KAAAE,KAAe,eAMxBH,EAAAI,UAAAC,eAAA,WACI,MAAO,CACHC,yBAAyB,EACzBC,uBAAwC,eAAhBN,KAAKC,OAC7BM,qBAAsC,aAAhBP,KAAKC,OAC3BO,kBAAiC,UAAdR,KAAKE,KACxBO,mBAAkC,WAAdT,KAAKE,KACzBQ,mBAAkC,WAAdV,KAAKE,KACzBS,iBAAkC,eAAhBX,KAAKC,UAA6BD,KAAKY,OAAwB,SAAfZ,KAAKY,OACvEC,mBAAqC,eAAhBb,KAAKC,QAA0C,WAAfD,KAAKY,OAAwC,aAAhBZ,KAAKC,UAA2BD,KAAKY,OAAwB,WAAfZ,KAAKY,OACrIE,kBAAmC,eAAhBd,KAAKC,QAA0C,UAAfD,KAAKY,MACxDG,gBAAiC,aAAhBf,KAAKC,QAAyC,QAAfD,KAAKY,MACrDI,mBAAoC,aAAhBhB,KAAKC,QAAwC,WAAfD,KAAKY,iCAvClEK,EAAAA,UAASC,KAAA,CAAC,CACPC,SAAU,YACVC,SAAU,yOAOVC,gBAAiBC,EAAAA,wBAAwBC,OACzCC,cAAeC,EAAAA,kBAAkBC,6qCAKhCC,EAAAA,qBAEAA,EAAAA,sBAEAA,EAAAA,oBAEAA,EAAAA,qBAEAA,EAAAA,eA0BL,iCALCC,EAAAA,SAAQV,KAAA,CAAC,CACNW,QAAS,CAACC,EAAAA,cACVC,QAAS,CAAChC,GACViC,aAAc,CAACjC","sourcesContent":["import { NgModule, Component, ChangeDetectionStrategy, ViewEncapsulation, Input} from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\n@Component({\n selector: 'p-divider',\n template: `\n
\n
\n \n
\n
\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n styleUrls: ['./divider.css']\n})\nexport class Divider {\n\n @Input() styleClass: string;\n\n @Input() style: any;\n\n @Input() layout: string = \"horizontal\";\n \n @Input() type: string = \"solid\";\n\n @Input() align: string;\n\n \n\n containerClass() {\n return {\n 'p-divider p-component': true,\n 'p-divider-horizontal': this.layout === \"horizontal\",\n 'p-divider-vertical': this.layout === \"vertical\",\n 'p-divider-solid': this.type === \"solid\",\n 'p-divider-dashed': this.type === \"dashed\",\n 'p-divider-dotted': this.type === \"dotted\",\n 'p-divider-left': this.layout === 'horizontal' && (!this.align || this.align === 'left'),\n 'p-divider-center': (this.layout === 'horizontal' && this.align === 'center') || (this.layout === 'vertical' && (!this.align || this.align === 'center')),\n 'p-divider-right': this.layout === 'horizontal' && this.align === 'right',\n 'p-divider-top': this.layout === 'vertical' && (this.align === 'top'),\n 'p-divider-bottom': this.layout === 'vertical' && this.align === 'bottom'\n };\n }\n}\n\n@NgModule({\n imports: [CommonModule],\n exports: [Divider],\n declarations: [Divider]\n})\nexport class DividerModule { }\n"]}