UNPKG

2.02 kBSource Map (JSON)View Raw
1{"version":3,"file":"primeng-progressspinner.js","sources":["../../src/app/components/progressspinner/progressspinner.ts","../../src/app/components/progressspinner/primeng-progressspinner.ts"],"sourcesContent":["import {NgModule,Component,Input,ChangeDetectionStrategy, ViewEncapsulation} from '@angular/core';\nimport {CommonModule} from '@angular/common';\n\n@Component({\n selector: 'p-progressSpinner',\n template: `\n <div class=\"p-progress-spinner\" [ngStyle]=\"style\" [ngClass]=\"styleClass\" role=\"alert\" aria-busy=\"true\">\n <svg class=\"p-progress-spinner-svg\" viewBox=\"25 25 50 50\" [style.animation-duration]=\"animationDuration\">\n <circle class=\"p-progress-spinner-circle\" cx=\"50\" cy=\"50\" r=\"20\" [attr.fill]=\"fill\" [attr.stroke-width]=\"strokeWidth\" stroke-miterlimit=\"10\"/>\n </svg>\n </div>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n styleUrls: ['./progressspinner.css']\n})\nexport class ProgressSpinner {\n\n @Input() style: any;\n \n @Input() styleClass: string;\n \n @Input() strokeWidth: string = \"2\";\n \n @Input() fill: string = \"none\";\n \n @Input() animationDuration: string = \"2s\";\n \n}\n\n@NgModule({\n imports: [CommonModule],\n exports: [ProgressSpinner],\n declarations: [ProgressSpinner]\n})\nexport class ProgressSpinnerModule { }","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;MAgBa,eAAe;IAb5B;QAmBa,gBAAW,GAAW,GAAG,CAAC;QAE1B,SAAI,GAAW,MAAM,CAAC;QAEtB,sBAAiB,GAAW,IAAI,CAAC;KAE7C;;;YAzBA,SAAS,SAAC;gBACP,QAAQ,EAAE,mBAAmB;gBAC7B,QAAQ,EAAE;;;;;;KAMT;gBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;gBAC/C,aAAa,EAAE,iBAAiB,CAAC,IAAI;;aAExC;;;oBAGI,KAAK;yBAEL,KAAK;0BAEL,KAAK;mBAEL,KAAK;gCAEL,KAAK;;MASG,qBAAqB;;;YALjC,QAAQ,SAAC;gBACN,OAAO,EAAE,CAAC,YAAY,CAAC;gBACvB,OAAO,EAAE,CAAC,eAAe,CAAC;gBAC1B,YAAY,EAAE,CAAC,eAAe,CAAC;aAClC;;;AClCD;;;;;;"}
\No newline at end of file