{"version":3,"file":"primeng-divider.mjs","sources":["../../src/app/components/divider/divider.ts","../../src/app/components/divider/primeng-divider.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { AfterViewInit, ChangeDetectionStrategy, Component, Input, NgModule, ViewEncapsulation } from '@angular/core';\nimport { LicenseManager } from 'primeng/api';\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 host: {\n class: 'p-element'\n }\n})\nexport class Divider implements AfterViewInit {\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 ngAfterViewInit() {\n LicenseManager.check();\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":";;;;;;MAoBa,OAAO,CAAA;AAhBpB,IAAA,WAAA,GAAA;AAqBa,QAAA,IAAM,CAAA,MAAA,GAAW,YAAY,CAAC;AAE9B,QAAA,IAAI,CAAA,IAAA,GAAW,OAAO,CAAC;KAuBnC;IAnBG,eAAe,GAAA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