1 line
5.7 KiB
Plaintext
1 line
5.7 KiB
Plaintext
{"version":3,"file":"primeng-divider.mjs","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 * Divider is used to separate contents.\n * @group Components\n */\n@Component({\n selector: 'p-divider',\n template: `\n <div [ngClass]=\"containerClass()\" [class]=\"styleClass\" [ngStyle]=\"style\" role=\"separator\" [attr.aria-orientation]=\"layout\" [attr.data-pc-name]=\"'divider'\">\n <div class=\"p-divider-content\">\n <ng-content></ng-content>\n </div>\n </div>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n styleUrls: ['./divider.css'],\n host: {\n class: 'p-element'\n }\n})\nexport class Divider {\n /**\n * Inline style of the component.\n * @group Props\n */\n @Input() style: { [klass: string]: any } | null | undefined;\n /**\n * Style class of the component.\n * @group Props\n */\n @Input() styleClass: string | undefined;\n /**\n * Specifies the orientation.\n * @group Props\n */\n @Input() layout: 'horizontal' | 'vertical' | undefined = 'horizontal';\n /**\n * Border style type.\n * @group Props\n */\n @Input() type: 'solid' | 'dashed' | 'dotted' | undefined = 'solid';\n /**\n * Alignment of the content.\n * @group Props\n */\n @Input() align: 'left' | 'center' | 'right' | 'top' | 'center' | 'bottom' | undefined;\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":";;;;;AAEA;;;AAGG;MAiBU,OAAO,CAAA;AAChB;;;AAGG;AACM,IAAA,KAAK,CAA8C;AAC5D;;;AAGG;AACM,IAAA,UAAU,CAAqB;AACxC;;;AAGG;IACM,MAAM,GAA0C,YAAY,CAAC;AACtE;;;AAGG;IACM,IAAI,GAA8C,OAAO,CAAC;AACnE;;;AAGG;AACM,IAAA,KAAK,CAAwE;IAEtF,cAAc,GAAA;QACV,OAAO;AACH,YAAA,uBAAuB,EAAE,IAAI;AAC7B,YAAA,sBAAsB,EAAE,IAAI,CAAC,MAAM,KAAK,YAAY;AACpD,YAAA,oBAAoB,EAAE,IAAI,CAAC,MAAM,KAAK,UAAU;AAChD,YAAA,iBAAiB,EAAE,IAAI,CAAC,IAAI,KAAK,OAAO;AACxC,YAAA,kBAAkB,EAAE,IAAI,CAAC,IAAI,KAAK,QAAQ;AAC1C,YAAA,kBAAkB,EAAE,IAAI,CAAC,IAAI,KAAK,QAAQ;AAC1C,YAAA,gBAAgB,EAAE,IAAI,CAAC,MAAM,KAAK,YAAY,KAAK,CAAC,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,KAAK,KAAK,MAAM,CAAC;AACxF,YAAA,kBAAkB,EAAE,CAAC,IAAI,CAAC,MAAM,KAAK,YAAY,IAAI,IAAI,CAAC,KAAK,KAAK,QAAQ,MAAM,IAAI,CAAC,MAAM,KAAK,UAAU,KAAK,CAAC,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,KAAK,KAAK,QAAQ,CAAC,CAAC;YACzJ,iBAAiB,EAAE,IAAI,CAAC,MAAM,KAAK,YAAY,IAAI,IAAI,CAAC,KAAK,KAAK,OAAO;Y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