@bimdata/bcf-components 6.7.5 → 6.7.7
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.
- package/package.json +4 -4
- package/src/service.js +8 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bimdata/bcf-components",
|
|
3
|
-
"version": "6.7.
|
|
3
|
+
"version": "6.7.7",
|
|
4
4
|
"files": [
|
|
5
5
|
"src",
|
|
6
6
|
"vue3-plugin.js"
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
"@semantic-release/changelog": "^6.0.3",
|
|
27
27
|
"@semantic-release/commit-analyzer": "^13.0.1",
|
|
28
28
|
"@semantic-release/git": "^10.0.1",
|
|
29
|
-
"@semantic-release/github": "^12.0.
|
|
30
|
-
"@semantic-release/npm": "^13.1.
|
|
29
|
+
"@semantic-release/github": "^12.0.6",
|
|
30
|
+
"@semantic-release/npm": "^13.1.4",
|
|
31
31
|
"@semantic-release/release-notes-generator": "^14.1.0",
|
|
32
32
|
"conventional-changelog-eslint": "^6.0.0",
|
|
33
|
-
"semantic-release": "^25.0.
|
|
33
|
+
"semantic-release": "^25.0.3"
|
|
34
34
|
}
|
|
35
35
|
}
|
package/src/service.js
CHANGED
|
@@ -99,20 +99,22 @@ class Service {
|
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
async exportBcf(project, topics) {
|
|
102
|
-
const response = await this.apiClient.bcfApi.
|
|
102
|
+
const response = await this.apiClient.bcfApi.downloadBcfExportPost(
|
|
103
103
|
project.id,
|
|
104
|
-
|
|
105
|
-
|
|
104
|
+
{
|
|
105
|
+
topics: topics?.map((t) => t.guid),
|
|
106
|
+
}
|
|
106
107
|
);
|
|
107
108
|
downloadBlobAs(`${project.name}.bcf`, response);
|
|
108
109
|
}
|
|
109
110
|
|
|
110
111
|
async exportBcfXLSX(project, topics, locale) {
|
|
111
|
-
const response = await this.apiClient.bcfApi.
|
|
112
|
+
const response = await this.apiClient.bcfApi.downloadBcfExportXlsxPost(
|
|
112
113
|
project.id,
|
|
113
|
-
undefined, // Format
|
|
114
114
|
locale,
|
|
115
|
-
|
|
115
|
+
{
|
|
116
|
+
topics: topics?.map((t) => t.guid),
|
|
117
|
+
}
|
|
116
118
|
);
|
|
117
119
|
downloadBlobAs(`${project.name}.xlsx`, response);
|
|
118
120
|
}
|