@bimdata/design-system 1.4.0-rc.70 → 1.4.0-rc.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
var e={props:{width:{type:Number,default:22},strokeWidth:{type:Number,default:2},stroke:{type:String,default:"currentColor"},delay:{type:Number,default:1},laps:{type:[Number,String],default:1},dashOffsetFrom:{type:Number,default:0},dashOffsetTo:{type:Number,default:63},dashArray:{type:Number,default:63}},emits:["lap","stop"]};function t(e,t,n,s,a,i,o,r,d,l){"boolean"!=typeof o&&(d=r,r=o,o=!1);const p="function"==typeof n?n.options:n;let f;if(e&&e.render&&(p.render=e.render,p.staticRenderFns=e.staticRenderFns,p._compiled=!0,a&&(p.functional=!0)),s&&(p._scopeId=s),i?(f=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,d(e)),e&&e._registeredComponents&&e._registeredComponents.add(i)},p._ssrRegister=f):t&&(f=o?function(e){t.call(this,l(e,this.$root.$options.shadowRoot))}:function(e){t.call(this,r(e))}),f)if(p.functional){const e=p.render;p.render=function(t,n){return f.call(n),e(t,n)}}else{const e=p.beforeCreate;p.beforeCreate=e?[].concat(e,f):[f]}return n}const n="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());function s(e){return(e,t)=>function(e,t){const s=n?t.media||"default":e,o=i[s]||(i[s]={ids:new Set,styles:[]});if(!o.ids.has(e)){o.ids.add(e);let n=t.source;if(t.map&&(n+="\n/*# sourceURL="+t.map.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t.map))))+" */"),o.element||(o.element=document.createElement("style"),o.element.type="text/css",t.media&&o.element.setAttribute("media",t.media),void 0===a&&(a=document.head||document.getElementsByTagName("head")[0]),a.appendChild(o.element)),"styleSheet"in o.element)o.styles.push(n),o.element.styleSheet.cssText=o.styles.filter(Boolean).join("\n");else{const e=o.ids.size-1,t=document.createTextNode(n),s=o.element.childNodes;s[e]&&o.element.removeChild(s[e]),s.length?o.element.insertBefore(t,s[e]):o.element.appendChild(t)}}}(e,t)}let a;const i={};const o=t({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bimdata-pie-spinner"},[n("svg",{staticStyle:{transform:"rotate(-90deg)"},attrs:{viewBox:"0 0 "+e.width+" "+e.width,xmlns:"http://www.w3.org/2000/svg",fill:"transparent",width:e.width,height:e.width}},[n("circle",{staticClass:"bimdata-pie-spinner__path",style:"--delay: "+e.delay+"s;\n --iteration: "+e.laps+";\n --dasharray: "+e.dashArray+";\n --dashoffset-from: "+e.dashOffsetFrom+";\n --dashoffset-to: "+e.dashOffsetTo+";",attrs:{cx:e.width/2,cy:e.width/2,r:(e.width-e.strokeWidth)/2,stroke:e.stroke,"stroke-width":e.strokeWidth},on:{animationiteration:function(t){e.$emit("lap",(e.delay*e.laps-t.elapsedTime)/e.delay)},animationend:function(t){return e.$emit("stop")}}})]),e._v(" "),n("div",{staticClass:"bimdata-pie-spinner__inside",style:{width:e.width+"px",height:e.width+"px"}},[e._t("default")],2)])},staticRenderFns:[]},(function(e){e&&e("data-v-
|
|
1
|
+
var e={props:{width:{type:Number,default:22},strokeWidth:{type:Number,default:2},stroke:{type:String,default:"currentColor"},delay:{type:Number,default:1},laps:{type:[Number,String],default:1},dashOffsetFrom:{type:Number,default:0},dashOffsetTo:{type:Number,default:63},dashArray:{type:Number,default:63}},emits:["lap","stop"]};function t(e,t,n,s,a,i,o,r,d,l){"boolean"!=typeof o&&(d=r,r=o,o=!1);const p="function"==typeof n?n.options:n;let f;if(e&&e.render&&(p.render=e.render,p.staticRenderFns=e.staticRenderFns,p._compiled=!0,a&&(p.functional=!0)),s&&(p._scopeId=s),i?(f=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,d(e)),e&&e._registeredComponents&&e._registeredComponents.add(i)},p._ssrRegister=f):t&&(f=o?function(e){t.call(this,l(e,this.$root.$options.shadowRoot))}:function(e){t.call(this,r(e))}),f)if(p.functional){const e=p.render;p.render=function(t,n){return f.call(n),e(t,n)}}else{const e=p.beforeCreate;p.beforeCreate=e?[].concat(e,f):[f]}return n}const n="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());function s(e){return(e,t)=>function(e,t){const s=n?t.media||"default":e,o=i[s]||(i[s]={ids:new Set,styles:[]});if(!o.ids.has(e)){o.ids.add(e);let n=t.source;if(t.map&&(n+="\n/*# sourceURL="+t.map.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t.map))))+" */"),o.element||(o.element=document.createElement("style"),o.element.type="text/css",t.media&&o.element.setAttribute("media",t.media),void 0===a&&(a=document.head||document.getElementsByTagName("head")[0]),a.appendChild(o.element)),"styleSheet"in o.element)o.styles.push(n),o.element.styleSheet.cssText=o.styles.filter(Boolean).join("\n");else{const e=o.ids.size-1,t=document.createTextNode(n),s=o.element.childNodes;s[e]&&o.element.removeChild(s[e]),s.length?o.element.insertBefore(t,s[e]):o.element.appendChild(t)}}}(e,t)}let a;const i={};const o=t({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bimdata-pie-spinner"},[n("svg",{staticStyle:{transform:"rotate(-90deg)"},attrs:{viewBox:"0 0 "+e.width+" "+e.width,xmlns:"http://www.w3.org/2000/svg",fill:"transparent",width:e.width,height:e.width}},[n("circle",{staticClass:"bimdata-pie-spinner__path",style:"--delay: "+e.delay+"s;\n --iteration: "+e.laps+";\n --dasharray: "+e.dashArray+";\n --dashoffset-from: "+e.dashOffsetFrom+";\n --dashoffset-to: "+e.dashOffsetTo+";",attrs:{cx:e.width/2,cy:e.width/2,r:(e.width-e.strokeWidth)/2,stroke:e.stroke,"stroke-width":e.strokeWidth},on:{animationiteration:function(t){e.$emit("lap",(e.delay*e.laps-t.elapsedTime)/e.delay)},animationend:function(t){return e.$emit("stop")}}})]),e._v(" "),n("div",{staticClass:"bimdata-pie-spinner__inside",style:{width:e.width+"px",height:e.width+"px"}},[e._t("default")],2)])},staticRenderFns:[]},(function(e){e&&e("data-v-385e5e00_0",{source:".bimdata-pie-spinner{position:relative}.bimdata-pie-spinner__inside{position:absolute;display:flex;justify-content:center;align-items:center}.bimdata-pie-spinner svg{position:absolute}.bimdata-pie-spinner__path{stroke-dasharray:var(--dasharray);animation:clock var(--delay) linear var(--iteration) running forwards}@keyframes clock{from{stroke-dashoffset:var(--dashoffset-from)}to{stroke-dashoffset:var(--dashoffset-to)}}.bimdata-pie-spinner:hover .bimdata-pie-spinner__path{animation-play-state:paused}",map:void 0,media:void 0})}),e,undefined,false,undefined,!1,s,void 0,void 0);export{o as default};
|