@bimdata/bimobject-viewer-plugin
Advanced tools
Comparing version 0.0.5 to 0.0.7
@@ -67,3 +67,3 @@ const BimObjectComponent = { | ||
}, | ||
created() { | ||
beforeCreate() { | ||
// Inject CSS | ||
@@ -74,3 +74,3 @@ var head = document.getElementsByTagName('HEAD')[0]; | ||
link.type = 'text/css'; | ||
link.href = this.bimobject_url + '/bimobject.css'; | ||
link.href = 'https://unpkg.com/@bimdata/bimobject-viewer-plugin@0.0.7/bimobject.css'; | ||
head.appendChild(link); | ||
@@ -124,2 +124,5 @@ }, | ||
async setPropertiesToSelectecObjects(selectedObjectIds) { | ||
if (this.propertySets.length === 0) { | ||
return; | ||
} | ||
const loadedIfc = this.$utils.getSelectedIfcs()[0] | ||
@@ -146,2 +149,5 @@ const apiClient = new this.$bimdataApiClient.IfcApi(); | ||
async setClassificationsToSelectecObjects(selectedObjectIds) { | ||
if (this.classifications.length === 0) { | ||
return; | ||
} | ||
const loadedIfc = this.$utils.getSelectedIfcs()[0] | ||
@@ -148,0 +154,0 @@ const collaborationApi = new this.$bimdataApiClient.CollaborationApi(); |
{ | ||
"name": "@bimdata/bimobject-viewer-plugin", | ||
"version": "0.0.5", | ||
"version": "0.0.7", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "bimobject.plugin.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12440
3
403