UNPKG

@moohng/dui

Version:

基于 Vue 3 的轻量级组件库

2 lines (1 loc) 2.2 kB
!function(e,t){"use strict";var n=t.defineComponent({name:"icon-loading",props:{radian:{type:[String,Number],default:0},rotation:{type:Boolean,default:!1}}});const o=t.withScopeId("data-v-0c4b134f");t.pushScopeId("data-v-0c4b134f");const a=t.createVNode("path",{d:"M885.333333 512a372.864 372.864 0 0 0-165.290666-310.037333 32 32 0 1 1 35.712-53.12A436.864 436.864 0 0 1 949.333333 512c0 241.536-195.797333 437.333333-437.333333 437.333333-28.501333 0-42.794667-34.474667-22.613333-54.613333l75.989333-76.010667a32 32 0 0 1 45.248 45.248l-11.029333 11.050667C763.52 835.584 885.333333 688 885.333333 512z m-746.666666 0a372.906667 372.906667 0 0 0 167.466666 311.509333 32 32 0 0 1-35.328 53.333334A436.885333 436.885333 0 0 1 74.666667 512C74.666667 270.464 270.464 74.666667 512 74.666667c28.501333 0 42.794667 34.474667 22.613333 54.613333l-75.989333 76.010667a32 32 0 0 1-45.248-45.248l11.029333-11.050667C260.48 188.416 138.666667 336 138.666667 512z","p-id":"5953"},null,-1);t.popScopeId();const i=o((function(e,n,o,i,r,c){return t.openBlock(),t.createBlock("svg",{style:{transform:`rotate(${e.radian}deg)`},class:["icon-refresh",{refreshing:e.rotation}],t:"1598426050497",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5952"},[a],6)}));!function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css","top"===n&&o.firstChild?o.insertBefore(a,o.firstChild):o.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}}(".icon-refresh[data-v-0c4b134f]{margin-top:-3px;margin-right:8px;width:22px;height:22px;fill:currentColor;vertical-align:middle}.icon-refresh[data-v-0c4b134f].refreshing{animation:rotation-0c4b134f .8s linear infinite}@keyframes rotation-0c4b134f{0%{transform:rotate(0)}to{transform:rotate(1turn)}}"),n.render=i,n.__scopeId="data-v-0c4b134f",n.__file="src/components/icon-loading/icon-loading.vue";const r={install:e=>{e.component(n.name,n)}};e.default=r,e.plugin=r,Object.defineProperty(e,"__esModule",{value:!0})}(this["icon-loading"]=this["icon-loading"]||{},Vue);