Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@bimdata/gltf-extractor-viewer-plugin

Package Overview
Dependencies
Maintainers
6
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bimdata/gltf-extractor-viewer-plugin - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

dist/gltfExtractor.plugin.js

@@ -1,1 +0,1 @@

var t=Object.freeze(["default","primary","secondary","tertiary-darkest","high"]),e={name:"BIMDataButton",props:{width:{type:String,default:"32px"},height:{type:String,default:"32px"},fill:{type:Boolean,default:!1},outline:{type:Boolean,default:!1},ghost:{type:Boolean,default:!1},radius:{type:Boolean,default:!1},square:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1},icon:{type:Boolean,default:!1},color:{type:String,default:"default",validator:e=>t.includes(e)}},emits:["click"],computed:{classes(){return{"bimdata-btn__icon":this.icon,"bimdata-btn__fill":this.fill,"bimdata-btn__outline":this.outline,"bimdata-btn__ghost":this.ghost,"bimdata-btn__radius":this.radius,"bimdata-btn__square":this.square,"bimdata-btn__rounded":this.rounded,["bimdata-btn__fill--"+this.color]:this.fill&&this.color,["bimdata-btn__outline--"+this.color]:this.outline&&this.color,["bimdata-btn__ghost--"+this.color]:this.ghost&&this.color}},style(){return{"min-width":""+this.width,"min-height":""+this.height}}}};const o="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());let a;const n={};function i(t,e,o,a,n,i,d,r,l,s){"boolean"!=typeof d&&(l=r,r=d,d=!1);const f="function"==typeof o?o.options:o;let c;if(t&&t.render&&(f.render=t.render,f.staticRenderFns=t.staticRenderFns,f._compiled=!0,n&&(f.functional=!0)),a&&(f._scopeId=a),i?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,l(t)),t&&t._registeredComponents&&t._registeredComponents.add(i)},f._ssrRegister=c):e&&(c=d?function(t){e.call(this,s(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,r(t))}),c)if(f.functional){const t=f.render;f.render=function(e,o){return c.call(o),t(e,o)}}else{const t=f.beforeCreate;f.beforeCreate=t?[].concat(t,c):[c]}return o}var d={name:"GltfExtractorPlugin",component:i({render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("BIMDataButton",{attrs:{color:"primary",fill:"",radius:""},on:{click:this.downloadGltf}},[this._v("\n "+this._s(this.$t("GltfExtractorPlugin.action"))+"\n ")])],1)},staticRenderFns:[]},void 0,{name:"gltfExtractor",components:{BIMDataButton:function(t,e,o,a,n,i,d,r,l,s){"boolean"!=typeof d&&(l=r,r=d,d=!1);const f="function"==typeof o?o.options:o;let c;if(t&&t.render&&(f.render=t.render,f.staticRenderFns=t.staticRenderFns,f._compiled=!0,n&&(f.functional=!0)),a&&(f._scopeId=a),i?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,l(t)),t&&t._registeredComponents&&t._registeredComponents.add(i)},f._ssrRegister=c):e&&(c=d?function(t){e.call(this,s(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,r(t))}),c)if(f.functional){const t=f.render;f.render=function(e,o){return c.call(o),t(e,o)}}else{const t=f.beforeCreate;f.beforeCreate=t?[].concat(t,c):[c]}return o}({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("button",{staticClass:"bimdata-btn",class:t.classes,style:t.style,attrs:{color:t.color,type:"button"},on:{click:function(e){return t.$emit("click",e)}}},[t._t("default")],2)},staticRenderFns:[]},(function(t){t&&(t("data-v-5df8fee8_0",{source:".bimdata-h1[data-v-5df8fee8],.bimdata-h2[data-v-5df8fee8],.bimdata-h3[data-v-5df8fee8],.bimdata-h4[data-v-5df8fee8],.bimdata-h5[data-v-5df8fee8],.bimdata-h6[data-v-5df8fee8],.bimdata-text[data-v-5df8fee8]{margin:.5em 0}.bimdata-h1[data-v-5df8fee8]{font-size:2.4285714286em}.bimdata-h2[data-v-5df8fee8]{font-size:2.1428571429em}.bimdata-h3[data-v-5df8fee8]{font-size:1.8571428571em}.bimdata-h4[data-v-5df8fee8]{font-size:1.7142857143em}.bimdata-h5[data-v-5df8fee8]{font-size:1.4285714286em}.bimdata-h6[data-v-5df8fee8]{font-size:1.1428571429em}.bimdata-text[data-v-5df8fee8]{font-size:1em}.bimdata-link[data-v-5df8fee8]{color:#2f374a;border-bottom:1px solid #2f374a;font-weight:700}.primary-font[data-v-5df8fee8]{font-family:robotoregular,sans-serif}.primary-font-medium[data-v-5df8fee8]{font-family:robotomedium,sans-serif}.primary-font-bold[data-v-5df8fee8]{font-family:robotobold,sans-serif}",map:void 0,media:void 0}),t("data-v-5df8fee8_1",{source:".bimdata-btn{padding:0 12px;height:fit-content;display:flex;align-items:center;justify-content:center;background-color:transparent;border:none;color:#2f374a;cursor:pointer;font-family:robotoregular,sans-serif;font-size:12px;transition:all .1s ease}.bimdata-btn:hover{transition:all .25s ease-in}.bimdata-btn:focus{outline:0}.bimdata-btn svg{margin-right:calc(12px / 2)}.bimdata-btn svg:last-child,.bimdata-btn svg:only-child{margin:0}.bimdata-btn__icon{padding:0}.bimdata-btn__radius{border-radius:3px}.bimdata-btn__square{border-radius:0}.bimdata-btn__rounded{border-radius:50%}.bimdata-btn__fill{background-color:#fff;justify-content:center}.bimdata-btn__fill--default{box-shadow:0 2px 10px 0 rgba(0,0,0,.1)}.bimdata-btn__fill--default:hover{background-color:#f7f7f7}.bimdata-btn__fill--primary{background-color:#2f374a;color:#fff}.bimdata-btn__fill--primary:hover{background-color:#3b455d}.bimdata-btn__fill--secondary{background-color:#f9c72c;color:#2f374a}.bimdata-btn__fill--secondary:hover{background-color:#fad45e}.bimdata-btn__fill--tertiary-darkest{background-color:#7a7a7a;color:#fff}.bimdata-btn__fill--tertiary-darkest:hover{background-color:#939393}.bimdata-btn__fill--high{background-color:#ff3d1e;color:#fff}.bimdata-btn__fill--high:hover{background-color:#ff573d}.bimdata-btn__fill--btn-icon svg{margin:0 6px}.bimdata-btn__fill:disabled{background-color:#bdbdbd;color:#fff;cursor:auto}.bimdata-btn__outline{justify-content:center;border:1px solid}.bimdata-btn__outline--default{border-color:#d8d8d8;color:#2f374a}.bimdata-btn__outline--default:hover{background-color:#f7f7f7}.bimdata-btn__outline--primary{border-color:#2f374a;color:#2f374a}.bimdata-btn__outline--primary:hover{background-color:#f8f9fa}.bimdata-btn__outline--secondary{border-color:#f9c72c;color:#2f374a}.bimdata-btn__outline--secondary:hover{background-color:#fffcf2}.bimdata-btn__outline--tertiary-darkest{border-color:#7a7a7a;color:#7a7a7a}.bimdata-btn__outline--tertiary-darkest:hover{background-color:#f7f7f7}.bimdata-btn__outline--high{border-color:#ff3d1e;color:#ff3d1e}.bimdata-btn__outline--high:hover{background-color:#ffedea}.bimdata-btn__outline:disabled{border-color:#bdbdbd;color:#bdbdbd;cursor:auto}.bimdata-btn__ghost{justify-content:center}.bimdata-btn__ghost svg{display:flex;align-items:center}.bimdata-btn__ghost--default{color:#2f374a}.bimdata-btn__ghost--default:hover{background-color:#f7f7f7}.bimdata-btn__ghost--primary{color:#2f374a}.bimdata-btn__ghost--primary:hover{background-color:#f8f9fa}.bimdata-btn__ghost--secondary{color:#f9c72c}.bimdata-btn__ghost--secondary:hover{background-color:#fffcf2}.bimdata-btn__ghost--tertiary-darkest{color:#7a7a7a}.bimdata-btn__ghost--tertiary-darkest:hover{background-color:#f7f7f7}.bimdata-btn__ghost--high{color:#ff3d1e}.bimdata-btn__ghost--high:hover{background-color:#ffedea}.bimdata-btn__ghost:disabled{color:#bdbdbd;cursor:auto}",map:void 0,media:void 0}))}),e,"data-v-5df8fee8",!1,void 0,!1,(function(t){return(t,e)=>function(t,e){const i=o?e.media||"default":t,d=n[i]||(n[i]={ids:new Set,styles:[]});if(!d.ids.has(t)){d.ids.add(t);let o=e.source;if(e.map&&(o+="\n/*# sourceURL="+e.map.sources[0]+" */",o+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e.map))))+" */"),d.element||(d.element=document.createElement("style"),d.element.type="text/css",e.media&&d.element.setAttribute("media",e.media),void 0===a&&(a=document.head||document.getElementsByTagName("head")[0]),a.appendChild(d.element)),"styleSheet"in d.element)d.styles.push(o),d.element.styleSheet.cssText=d.styles.filter(Boolean).join("\n");else{const t=d.ids.size-1,e=document.createTextNode(o),a=d.element.childNodes;a[t]&&d.element.removeChild(a[t]),a.length?d.element.insertBefore(e,a[t]):d.element.appendChild(e)}}}(t,e)}),void 0,void 0)},data:()=>({}),methods:{downloadGltf(){const t=this.$viewer.state.ifcs[0];window.location.href=t.gltf_file}}},"data-v-5f967060",!1,void 0,!1,void 0,void 0,void 0),addToWindows:["3d"],button:{position:"right",content:"simple",keepOpen:!0,tooltip:"GltfExtractorPlugin.tooltip",icon:{imgUri:"data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2230%22%20viewBox%3D%220%200%2020%2030%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M16.562%2011.0395V17.3153L10.1153%2020.9487L3.6958%2017.2682V10.9466L10.1195%207.27576L16.562%2011.0395ZM10.1147%208.2072L4.83594%2011.2238L10.0564%2014.3347L15.3835%2011.2852L10.1147%208.2072ZM9.63538%2015.0232L4.52914%2011.9803L4.52914%2016.8165L9.63538%2019.744V15.0232ZM10.4687%2015.0278L15.7287%2012.0168V16.8596L10.4687%2019.8241V15.0278Z%22%20fill%3D%22%232F374A%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M19.1667%2023.7209H0.833333V0.797342H12.2916V7.57476H19.1667V23.7209ZM18.5252%206.77742L15.7687%204.03343L13.1249%201.50694V6.77742H18.5252ZM13.1249%200.380022L16.3636%203.47503L20%207.09486V24.5183H0V0H12.7273L13.0402%200.299011H13.1249V0.380022Z%22%20fill%3D%22%232F374A%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M12.2918%2021.7276H7.60431V25.4153L5.72974%2025.4153L10.0006%2030L14.2714%2025.4153L12.2918%2025.4153V21.7276Z%22%20fill%3D%22%232F374A%22%2F%3E%3C%2Fsvg%3E"}},i18n:{en:{tooltip:"Download GLTF of the model",action:"Download GLTF"},fr:{tooltip:"Téléchargez le GLTF du modèle",action:"Télécharger le GLTF"}}};export default d;
var t=Object.freeze(["default","primary","secondary","high","tertiary-darkest"]),e={name:"BIMDataButton",props:{width:{type:String,default:"32px"},height:{type:String,default:"32px"},fill:{type:Boolean,default:!1},outline:{type:Boolean,default:!1},ghost:{type:Boolean,default:!1},ripple:{type:Boolean,default:!1},radius:{type:Boolean,default:!1},square:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1},icon:{type:Boolean,default:!1},color:{type:String,default:"default",validator:e=>t.includes(e)}},emits:["click"],computed:{classes(){return{"bimdata-btn__icon":this.icon,"bimdata-btn__fill":this.fill,"bimdata-btn__outline":this.outline,"bimdata-btn__ghost":this.ghost,"bimdata-btn__ripple":this.ripple,"bimdata-btn__radius":this.radius,"bimdata-btn__square":this.square,"bimdata-btn__rounded":this.rounded,["bimdata-btn__fill--"+this.color]:this.fill&&this.color,["bimdata-btn__outline--"+this.color]:this.outline&&this.color,["bimdata-btn__ghost--"+this.color]:this.ghost&&this.color,["bimdata-btn__ripple--"+this.color]:this.ripple&&this.color}},style(){return{"min-width":""+this.width,"min-height":""+this.height}}}};const a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());let o;const i={},n=function(t,e,a,o,i,n,r,d,l,b){"boolean"!=typeof r&&(l=d,d=r,r=!1);const c="function"==typeof a?a.options:a;let s;if(t&&t.render&&(c.render=t.render,c.staticRenderFns=t.staticRenderFns,c._compiled=!0,i&&(c.functional=!0)),o&&(c._scopeId=o),n?(s=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,l(t)),t&&t._registeredComponents&&t._registeredComponents.add(n)},c._ssrRegister=s):e&&(s=r?function(t){e.call(this,b(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,d(t))}),s)if(c.functional){const t=c.render;c.render=function(e,a){return s.call(a),t(e,a)}}else{const t=c.beforeCreate;c.beforeCreate=t?[].concat(t,s):[s]}return a}({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("button",{staticClass:"bimdata-btn",class:t.classes,style:t.style,attrs:{color:t.color,type:"button"},on:{click:function(e){return t.$emit("click",e)}}},[t._t("default")],2)},staticRenderFns:[]},(function(t){t&&(t("data-v-7f876215_0",{source:".text-left[data-v-7f876215]{text-align:left}.text-center[data-v-7f876215]{text-align:center}.text-right[data-v-7f876215]{text-align:right}.bimdata-link[data-v-7f876215]{color:#2f374a;border-bottom:1px solid #2f374a;font-weight:700}.primary-font[data-v-7f876215]{font-family:robotoregular,sans-serif}.primary-font-medium[data-v-7f876215]{font-family:robotomedium,sans-serif}.primary-font-bold[data-v-7f876215]{font-family:robotobold,sans-serif}",map:void 0,media:void 0}),t("data-v-7f876215_1",{source:'.bimdata-btn{padding:0 12px;height:fit-content;display:flex;align-items:center;justify-content:center;background-color:transparent;border:none;color:#2f374a;cursor:pointer;font-family:robotoregular,sans-serif;font-size:12px;transition:all .1s ease}.bimdata-btn:hover{transition:all .25s ease-in}.bimdata-btn:focus{outline:0}.bimdata-btn__icon{padding:0}.bimdata-btn__radius{border-radius:3px}.bimdata-btn__square{border-radius:0}.bimdata-btn__rounded{border-radius:50%}.bimdata-btn__fill{background-color:#fff;justify-content:center}.bimdata-btn__fill--default{box-shadow:0 2px 10px 0 rgba(0,0,0,.1)}.bimdata-btn__fill--default:hover{background-color:#f7f7f7}.bimdata-btn__fill--primary{background-color:#2f374a;color:#fff}.bimdata-btn__fill--primary:hover{background-color:#3b455d}.bimdata-btn__fill--secondary{background-color:#f9c72c;color:#2f374a}.bimdata-btn__fill--secondary:hover{background-color:#fad45e}.bimdata-btn__fill--tertiary-darkest{background-color:#7a7a7a;color:#fff}.bimdata-btn__fill--tertiary-darkest:hover{background-color:#939393}.bimdata-btn__fill--high{background-color:#ff3d1e;color:#fff}.bimdata-btn__fill--high:hover{background-color:#ff573d}.bimdata-btn__fill--btn-icon svg{margin:0 6px}.bimdata-btn__fill:disabled{background-color:#bdbdbd;color:#fff;cursor:auto}.bimdata-btn__ripple{background-position:center;transition:background .8s}.bimdata-btn__ripple--default{background-color:transparent;color:#2f374a}.bimdata-btn__ripple--default:hover{background:transparent radial-gradient(circle,transparent 1%,#f7f7f7 1%) center/15000%}.bimdata-btn__ripple--default:active{background-color:#eaeaea;background-size:100%;transition:background 0s}.bimdata-btn__ripple--primary{background-color:#2f374a;color:#fff}.bimdata-btn__ripple--primary:hover{background:#2f374a radial-gradient(circle,transparent 1%,#2f374a 1%) center/15000%}.bimdata-btn__ripple--primary:active{background-color:#434e69;background-size:100%;transition:background 0s}.bimdata-btn__ripple--secondary{background-color:#f9c72c;color:#2f374a}.bimdata-btn__ripple--secondary:hover{background:#f9c72c radial-gradient(circle,transparent 1%,#f9c72c 1%) center/15000%}.bimdata-btn__ripple--secondary:active{background-color:#fad45e;background-size:100%;transition:background 0s}.bimdata-btn__ripple--tertiary-darkest{background-color:#606060;color:#fff}.bimdata-btn__ripple--tertiary-darkest:hover{background:#606060 radial-gradient(circle,transparent 1%,#606060 1%) center/15000%}.bimdata-btn__ripple--tertiary-darkest:active{background-color:#7a7a7a;background-size:100%;transition:background 0s}.bimdata-btn__ripple--high{background-color:#ff3d1e;color:#fff}.bimdata-btn__ripple--high:hover{background:#ff3d1e radial-gradient(circle,transparent 1%,#ff3d1e 1%) center/15000%}.bimdata-btn__ripple--high:active{background-color:#ff7f6b;background-size:100%;transition:background 0s}.bimdata-btn__outline{justify-content:center;border:1px solid}.bimdata-btn__outline--default{border-color:#d8d8d8;color:#2f374a}.bimdata-btn__outline--default:hover{background-color:#f7f7f7}.bimdata-btn__outline--primary{border-color:#2f374a;color:#2f374a}.bimdata-btn__outline--primary:hover{background-color:#f8f9fa}.bimdata-btn__outline--secondary{border-color:#f9c72c;color:#2f374a}.bimdata-btn__outline--secondary:hover{background-color:#fffcf2}.bimdata-btn__outline--tertiary-darkest{border-color:#7a7a7a;color:#7a7a7a}.bimdata-btn__outline--tertiary-darkest:hover{background-color:#f7f7f7}.bimdata-btn__outline--high{border-color:#ff3d1e;color:#ff3d1e}.bimdata-btn__outline--high:hover{background-color:#ffedea}.bimdata-btn__outline:disabled{border-color:#bdbdbd;color:#bdbdbd;cursor:auto}.bimdata-btn__ghost{justify-content:center}.bimdata-btn__ghost svg{display:flex;align-items:center}.bimdata-btn__ghost--default{color:#2f374a}.bimdata-btn__ghost--default:hover{background-color:#f7f7f7}.bimdata-btn__ghost--primary{color:#2f374a}.bimdata-btn__ghost--primary:hover{background-color:#f8f9fa}.bimdata-btn__ghost--secondary{color:#f9c72c}.bimdata-btn__ghost--secondary:hover{background-color:#fffcf2}.bimdata-btn__ghost--tertiary-darkest{color:#7a7a7a}.bimdata-btn__ghost--tertiary-darkest:hover{background-color:#f7f7f7}.bimdata-btn__ghost--high{color:#ff3d1e}.bimdata-btn__ghost--high:hover{background-color:#ffedea}.bimdata-btn__ghost:disabled{color:#bdbdbd;cursor:auto}.bimdata-btn__icon.bimdata-btn__ripple.bimdata-btn__ripple--default{position:relative}.bimdata-btn__icon.bimdata-btn__ripple.bimdata-btn__ripple--default:focus:before{content:"";width:100%;height:100%;position:absolute;border-radius:100%;animation:darkenRipple .6s}.bimdata-btn__icon.bimdata-btn__ripple.bimdata-btn__ripple--default:focus:active:before{content:none}@keyframes darkenRipple{0%{border:20px solid #c4c4c4;opacity:0}100%{border:1px solid transparent}}.bimdata-btn__icon.bimdata-btn__ripple.bimdata-btn__ripple--primary{position:relative}.bimdata-btn__icon.bimdata-btn__ripple.bimdata-btn__ripple--primary:focus:before{content:"";width:100%;height:100%;position:absolute;border-radius:100%;animation:lightenRipple .6s}.bimdata-btn__icon.bimdata-btn__ripple.bimdata-btn__ripple--primary:focus:active:before{content:none}@keyframes lightenRipple{0%{border:20px solid #adb6cb;opacity:0}100%{border:1px solid transparent}}.bimdata-btn__icon.bimdata-btn__ripple.bimdata-btn__ripple--secondary{position:relative}.bimdata-btn__icon.bimdata-btn__ripple.bimdata-btn__ripple--secondary:focus:before{content:"";width:100%;height:100%;position:absolute;border-radius:100%;animation:lightenRipple .6s}.bimdata-btn__icon.bimdata-btn__ripple.bimdata-btn__ripple--secondary:focus:active:before{content:none}@keyframes lightenRipple{0%{border:20px solid #fff;opacity:0}100%{border:1px solid transparent}}.bimdata-btn__icon.bimdata-btn__ripple.bimdata-btn__ripple--tertiary-darkest{position:relative}.bimdata-btn__icon.bimdata-btn__ripple.bimdata-btn__ripple--tertiary-darkest:focus:before{content:"";width:100%;height:100%;position:absolute;border-radius:100%;animation:lightenRipple .6s}.bimdata-btn__icon.bimdata-btn__ripple.bimdata-btn__ripple--tertiary-darkest:focus:active:before{content:none}@keyframes lightenRipple{0%{border:20px solid #e0e0e0;opacity:0}100%{border:1px solid transparent}}.bimdata-btn__icon.bimdata-btn__ripple.bimdata-btn__ripple--high{position:relative}.bimdata-btn__icon.bimdata-btn__ripple.bimdata-btn__ripple--high:focus:before{content:"";width:100%;height:100%;position:absolute;border-radius:100%;animation:lightenRipple .6s}.bimdata-btn__icon.bimdata-btn__ripple.bimdata-btn__ripple--high:focus:active:before{content:none}@keyframes lightenRipple{0%{border:20px solid #fff;opacity:0}100%{border:1px solid transparent}}',map:void 0,media:void 0}))}),e,"data-v-7f876215",!1,void 0,!1,(function(t){return(t,e)=>function(t,e){const n=a?e.media||"default":t,r=i[n]||(i[n]={ids:new Set,styles:[]});if(!r.ids.has(t)){r.ids.add(t);let a=e.source;if(e.map&&(a+="\n/*# sourceURL="+e.map.sources[0]+" */",a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e.map))))+" */"),r.element||(r.element=document.createElement("style"),r.element.type="text/css",e.media&&r.element.setAttribute("media",e.media),void 0===o&&(o=document.head||document.getElementsByTagName("head")[0]),o.appendChild(r.element)),"styleSheet"in r.element)r.styles.push(a),r.element.styleSheet.cssText=r.styles.filter(Boolean).join("\n");else{const t=r.ids.size-1,e=document.createTextNode(a),o=r.element.childNodes;o[t]&&r.element.removeChild(o[t]),o.length?r.element.insertBefore(e,o[t]):r.element.appendChild(e)}}}(t,e)}),void 0,void 0);function r(t,e,a,o,i,n,r,d,l,b){"boolean"!=typeof r&&(l=d,d=r,r=!1);const c="function"==typeof a?a.options:a;let s;if(t&&t.render&&(c.render=t.render,c.staticRenderFns=t.staticRenderFns,c._compiled=!0,i&&(c.functional=!0)),o&&(c._scopeId=o),n?(s=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,l(t)),t&&t._registeredComponents&&t._registeredComponents.add(n)},c._ssrRegister=s):e&&(s=r?function(t){e.call(this,b(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,d(t))}),s)if(c.functional){const t=c.render;c.render=function(e,a){return s.call(a),t(e,a)}}else{const t=c.beforeCreate;c.beforeCreate=t?[].concat(t,s):[s]}return a}var d={name:"GltfExtractorPlugin",component:r({render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("BIMDataButton",{attrs:{color:"primary",fill:"",radius:""},on:{click:t.downloadGltf}},[t._v("\n "+t._s(t.$t("GltfExtractorPlugin.action"))+"\n ")])],1)},staticRenderFns:[]},undefined,{name:"gltfExtractor",components:{BIMDataButton:n},data:()=>({}),methods:{downloadGltf(){const t=this.$viewer.state.ifcs[0];window.location.href=t.gltf_file}}},"data-v-617708ba",false,undefined,!1,void 0,void 0,void 0),addToWindows:["3d"],button:{position:"right",content:"simple",keepOpen:!0,tooltip:"GltfExtractorPlugin.tooltip",icon:{imgUri:"data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2230%22%20viewBox%3D%220%200%2020%2030%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M16.562%2011.0395V17.3153L10.1153%2020.9487L3.6958%2017.2682V10.9466L10.1195%207.27576L16.562%2011.0395ZM10.1147%208.2072L4.83594%2011.2238L10.0564%2014.3347L15.3835%2011.2852L10.1147%208.2072ZM9.63538%2015.0232L4.52914%2011.9803L4.52914%2016.8165L9.63538%2019.744V15.0232ZM10.4687%2015.0278L15.7287%2012.0168V16.8596L10.4687%2019.8241V15.0278Z%22%20fill%3D%22%232F374A%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M19.1667%2023.7209H0.833333V0.797342H12.2916V7.57476H19.1667V23.7209ZM18.5252%206.77742L15.7687%204.03343L13.1249%201.50694V6.77742H18.5252ZM13.1249%200.380022L16.3636%203.47503L20%207.09486V24.5183H0V0H12.7273L13.0402%200.299011H13.1249V0.380022Z%22%20fill%3D%22%232F374A%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M12.2918%2021.7276H7.60431V25.4153L5.72974%2025.4153L10.0006%2030L14.2714%2025.4153L12.2918%2025.4153V21.7276Z%22%20fill%3D%22%232F374A%22%2F%3E%3C%2Fsvg%3E"}},i18n:{en:{tooltip:"Download GLTF of the model",action:"Download GLTF"},fr:{tooltip:"Téléchargez le GLTF du modèle",action:"Télécharger le GLTF"}}};export{d as default};
{
"name": "@bimdata/gltf-extractor-viewer-plugin",
"version": "1.0.1",
"version": "1.0.2",
"description": "gltfExtractor BIMData Viewer Plugin",

@@ -20,14 +20,13 @@ "scripts": {

],
"dependencies": {
"@bimdata/design-system": "0.1.3"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^7.1.3",
"@rollup/plugin-url": "^5.0.0",
"rollup": "^2.10.4",
"@bimdata/design-system": "^0.3.18",
"@rollup/plugin-node-resolve": "^13.0.5",
"@rollup/plugin-url": "^6.0.0",
"rollup": "^2.35.1",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-scss": "^2.5.0",
"rollup-plugin-terser": "^5.3.0",
"rollup-plugin-vue": "^5.1.7"
"rollup-plugin-scss": "^3.0.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-vue": "^5.1.9",
"sass": "^1.42.1"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc