{"version":3,"file":"primeng-divider.js","sources":["../../src/app/components/divider/divider.ts","../../src/app/components/divider/primeng-divider.ts"],"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","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;MAgBa,OAAO;IAbpB;QAmBa,WAAM,GAAW,YAAY,CAAC;QAE9B,SAAI,GAAW,OAAO,CAAC;KAqBnC;IAfG,cAAc;QACV,OAAO;YACH,uBAAuB,EAAE,IAAI;YAC7B,sBAAsB,EAAE,IAAI,CAAC,MAAM,KAAK,YAAY;YACpD,oBAAoB,EAAE,IAAI,CAAC,MAAM,KAAK,UAAU;YAChD,iBAAiB,EAAE,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