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
2 lines (1 loc) • 1.14 kB
JavaScript
this.primevue=this.primevue||{},this.primevue.progressspinner=function(e,t,r){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i={name:"ProgressSpinner",extends:{name:"BaseProgressSpinner",extends:n(e).default,props:{strokeWidth:{type:String,default:"2"},fill:{type:String,default:"none"},animationDuration:{type:String,default:"2s"}},style:n(t).default,provide:function(){return{$parentInstance:this}}},computed:{svgStyle:function(){return{"animation-duration":this.animationDuration}}}},s=["fill","stroke-width"];return i.render=function(e,t,n,i,o,l){return r.openBlock(),r.createElementBlock("div",r.mergeProps({class:e.cx("root"),role:"progressbar"},e.ptm("root"),{"data-pc-name":"progressspinner"}),[(r.openBlock(),r.createElementBlock("svg",r.mergeProps({class:e.cx("spinner"),viewBox:"25 25 50 50",style:l.svgStyle},e.ptm("spinner")),[r.createElementVNode("circle",r.mergeProps({class:e.cx("circle"),cx:"50",cy:"50",r:"20",fill:e.fill,"stroke-width":e.strokeWidth,strokeMiterlimit:"10"},e.ptm("circle")),null,16,s)],16))],16)},i}(primevue.basecomponent,primevue.progressspinner.style,Vue);