UNPKG

primevue

Version:

PrimeVue is an open source UI library for Vue featuring a rich set of 80+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with PrimeBloc

1 lines 4.29 kB
{"version":3,"file":"index.mjs","sources":["../../src/progressspinner/BaseProgressSpinner.vue","../../src/progressspinner/ProgressSpinner.vue","../../src/progressspinner/ProgressSpinner.vue?vue&type=template&id=d40e031a&lang.js"],"sourcesContent":["<script>\nimport BaseComponent from '@primevue/core/basecomponent';\nimport ProgressSpinnerStyle from 'primevue/progressspinner/style';\n\nexport default {\n name: 'BaseProgressSpinner',\n extends: BaseComponent,\n props: {\n strokeWidth: {\n type: String,\n default: '2'\n },\n fill: {\n type: String,\n default: 'none'\n },\n animationDuration: {\n type: String,\n default: '2s'\n }\n },\n style: ProgressSpinnerStyle,\n provide() {\n return {\n $pcProgressSpinner: this,\n $parentInstance: this\n };\n }\n};\n</script>\n","<template>\n <div :class=\"cx('root')\" role=\"progressbar\" v-bind=\"ptmi('root')\">\n <svg :class=\"cx('spin')\" viewBox=\"25 25 50 50\" :style=\"svgStyle\" v-bind=\"ptm('spin')\">\n <circle :class=\"cx('circle')\" cx=\"50\" cy=\"50\" r=\"20\" :fill=\"fill\" :stroke-width=\"strokeWidth\" strokeMiterlimit=\"10\" v-bind=\"ptm('circle')\" />\n </svg>\n </div>\n</template>\n\n<script>\nimport BaseProgressSpinner from './BaseProgressSpinner.vue';\n\nexport default {\n name: 'ProgressSpinner',\n extends: BaseProgressSpinner,\n inheritAttrs: false,\n computed: {\n svgStyle() {\n return {\n 'animation-duration': this.animationDuration\n };\n }\n }\n};\n</script>\n","<template>\n <div :class=\"cx('root')\" role=\"progressbar\" v-bind=\"ptmi('root')\">\n <svg :class=\"cx('spin')\" viewBox=\"25 25 50 50\" :style=\"svgStyle\" v-bind=\"ptm('spin')\">\n <circle :class=\"cx('circle')\" cx=\"50\" cy=\"50\" r=\"20\" :fill=\"fill\" :stroke-width=\"strokeWidth\" strokeMiterlimit=\"10\" v-bind=\"ptm('circle')\" />\n </svg>\n </div>\n</template>\n\n<script>\nimport BaseProgressSpinner from './BaseProgressSpinner.vue';\n\nexport default {\n name: 'ProgressSpinner',\n extends: BaseProgressSpinner,\n inheritAttrs: false,\n computed: {\n svgStyle() {\n return {\n 'animation-duration': this.animationDuration\n };\n }\n }\n};\n</script>\n"],"names":["name","BaseComponent","props","strokeWidth","type","String","fill","animationDuration","style","ProgressSpinnerStyle","provide","$pcProgressSpinner","$parentInstance","BaseProgressSpinner","inheritAttrs","computed","svgStyle","_openBlock","_createElementBlock","_mergeProps","_ctx","cx","role","ptmi","viewBox","$options","ptm","_createElementVNode","cy","r","strokeMiterlimit","_hoisted_1"],"mappings":";;;;AAIA,eAAe;AACXA,EAAAA,IAAI,EAAE,qBAAqB;AAC3B,EAAA,SAAA,EAASC,aAAa;AACtBC,EAAAA,KAAK,EAAE;AACHC,IAAAA,WAAW,EAAE;AACTC,MAAAA,IAAI,EAAEC,MAAM;MACZ,SAAS,EAAA;KACZ;AACDC,IAAAA,IAAI,EAAE;AACFF,MAAAA,IAAI,EAAEC,MAAM;MACZ,SAAS,EAAA;KACZ;AACDE,IAAAA,iBAAiB,EAAE;AACfH,MAAAA,IAAI,EAAEC,MAAM;MACZ,SAAS,EAAA;AACb;GACH;AACDG,EAAAA,KAAK,EAAEC,oBAAoB;EAC3BC,OAAO,EAAA,SAAPA,OAAOA,GAAG;IACN,OAAO;AACHC,MAAAA,kBAAkB,EAAE,IAAI;AACxBC,MAAAA,eAAe,EAAE;KACpB;AACL;AACJ,CAAC;;ACjBD,aAAe;AACXZ,EAAAA,IAAI,EAAE,iBAAiB;AACvB,EAAA,SAAA,EAASa,QAAmB;AAC5BC,EAAAA,YAAY,EAAE,KAAK;AACnBC,EAAAA,QAAQ,EAAE;IACNC,QAAQ,EAAA,SAARA,QAAQA,GAAG;MACP,OAAO;QACH,oBAAoB,EAAE,IAAI,CAACT;OAC9B;AACL;AACJ;AACJ,CAAC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