Icard/angular-clarity-master(work.../node_modules/primeng/fesm2022/primeng-divider.mjs.map

1 line
5.7 KiB
Plaintext
Raw Permalink Normal View History

2024-07-16 15:23:22 +00:00
{"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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