@bimdata/viewer 2.4.0-beta.9 → 2.4.0

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/index.d.ts CHANGED
@@ -65,8 +65,9 @@ declare namespace BDV {
65
65
  }
66
66
 
67
67
  interface ViewerConfigApi {
68
- apiUrl: string;
69
- archiveUrl: string;
68
+ apiUrl?: string;
69
+ archiveUrl?: string;
70
+ pdfBackendUrl?: string;
70
71
  accessToken: string;
71
72
  cloudId: number;
72
73
  projectId: number;
@@ -111,19 +112,13 @@ declare namespace BDV {
111
112
  miniMap2d?: boolean;
112
113
  navigationVersionsModel?: boolean;
113
114
  pdf?: boolean;
114
- pdfExport?:
115
- | boolean
116
- | {
117
- format?: number[];
118
- scale?: number;
119
- };
115
+ pdfExport?: boolean;
120
116
  plan?:
121
117
  | boolean
122
118
  | {
123
119
  help?: boolean;
120
+ metaBuildingStructure?: boolean;
124
121
  modelLoader?: "hidden" | "disabled";
125
- pdfExportFormat?: number[];
126
- pdfExportScale?: number;
127
122
  storeySelector?: boolean;
128
123
  storeySelectorAutoOpen?: boolean;
129
124
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bimdata/viewer",
3
3
  "type": "module",
4
- "version": "2.4.0-beta.9",
4
+ "version": "2.4.0",
5
5
  "description": "A customizable BIM viewer.",
6
6
  "keywords": [
7
7
  "bim",
@@ -23,11 +23,13 @@
23
23
  "main": "dist/bimdata-viewer.esm.min.js",
24
24
  "module": "dist/bimdata-viewer.esm.min.js",
25
25
  "scripts": {
26
- "build": "vite build && esbuild dist/bimdata-viewer.esm.min.js --minify --outfile=dist/bimdata-viewer.esm.min.js --allow-overwrite",
27
- "build:split": "vite build -c vite.config.split.js && esbuild dist/bimdata-viewer-split.esm.min.js --minify --outfile=dist/bimdata-viewer-split.esm.min.js --allow-overwrite",
26
+ "dev": "vite -c build/vite.config.dev.js",
27
+ "build": "vite build -c build/vite.config.prod.js && esbuild dist/bimdata-viewer.esm.min.js --minify --outfile=dist/bimdata-viewer.esm.min.js --allow-overwrite",
28
+ "build:runtime": "vite build -c build/vite.config.runtime.js && esbuild dist/bimdata-viewer.runtime.esm.min.js --minify --outfile=dist/bimdata-viewer.runtime.esm.min.js --allow-overwrite",
29
+ "build:split": "vite build -c build/vite.config.split.js && esbuild dist/bimdata-viewer.split.esm.min.js --minify --outfile=dist/bimdata-viewer.split.esm.min.js --allow-overwrite",
30
+ "build:umd": "vite build -c build/vite.config.umd.js && esbuild dist/bimdata-viewer.umd.cjs --minify --outfile=dist/bimdata-viewer.umd.min.cjs",
28
31
  "cy:run": "cypress run",
29
32
  "cy:open": "cypress open",
30
- "dev": "vite",
31
33
  "prebuild": "rm -rf dist",
32
34
  "prepublishOnly": "npm run build",
33
35
  "semantic-release": "semantic-release",
@@ -49,45 +51,45 @@
49
51
  "index.d.ts"
50
52
  ],
51
53
  "devDependencies": {
52
- "@babel/preset-env": "^7.24.4",
53
- "@bimdata/2d-engine": "2.4.0",
54
+ "@babel/preset-env": "^7.24.8",
55
+ "@bimdata/2d-engine": "2.5.1",
54
56
  "@bimdata/areas-next": "0.1.15",
55
- "@bimdata/bcf-components": "6.2.1",
56
- "@bimdata/components": "1.5.0",
57
- "@bimdata/design-system": "2.1.0-rc.24",
58
- "@bimdata/typescript-fetch-api-client": "10.1.0",
57
+ "@bimdata/bcf-components": "6.4.3",
58
+ "@bimdata/components": "1.6.2",
59
+ "@bimdata/design-system": "2.1.1-rc.4",
60
+ "@bimdata/typescript-fetch-api-client": "10.9.0",
59
61
  "@eslint/eslintrc": "^3.1.0",
60
- "@eslint/js": "^9.5.0",
62
+ "@eslint/js": "^9.7.0",
61
63
  "@rollup/plugin-alias": "5.1.0",
62
64
  "@rollup/plugin-babel": "^6.0.4",
63
- "@rollup/plugin-commonjs": "^25.0.7",
65
+ "@rollup/plugin-commonjs": "^26.0.1",
64
66
  "@rollup/plugin-image": "^3.0.3",
65
- "@rollup/plugin-replace": "^5.0.5",
67
+ "@rollup/plugin-replace": "^5.0.7",
66
68
  "@semantic-release/changelog": "^6.0.3",
67
- "@semantic-release/commit-analyzer": "^12.0.0",
69
+ "@semantic-release/commit-analyzer": "^13.0.0",
68
70
  "@semantic-release/git": "^10.0.1",
69
- "@semantic-release/github": "^10.0.3",
70
- "@semantic-release/npm": "^12.0.0",
71
- "@semantic-release/release-notes-generator": "^13.0.0",
71
+ "@semantic-release/github": "^10.1.1",
72
+ "@semantic-release/npm": "^12.0.1",
73
+ "@semantic-release/release-notes-generator": "^14.0.1",
72
74
  "@vitejs/plugin-vue": "4.6.2",
73
75
  "@vue/vue3-jest": "^29.2.6",
74
- "@xeokit/xeokit-sdk": "git+https://git@github.com/Amoki/xeokit-sdk.git#27e95db2e157215e870f7125bd28b258dee699a9",
75
- "@zip.js/zip.js": "^2.7.41",
76
+ "@xeokit/xeokit-sdk": "git+https://git@github.com/Amoki/xeokit-sdk.git#9dbcb807cb330a84f9d67b18f0e29b066713c2a6",
77
+ "@zip.js/zip.js": "^2.7.47",
76
78
  "async": "^3.2.5",
77
79
  "autoprefixer": "^10.4.19",
78
80
  "babel-core": "^7.0.0-bridge.0",
79
81
  "babel-jest": "^29.7.0",
80
- "conventional-changelog-eslint": "^5.0.0",
81
- "cypress": "^13.7.3",
82
- "esbuild": "^0.20.2",
83
- "eslint": "9.5.0",
82
+ "conventional-changelog-eslint": "^6.0.0",
83
+ "cypress": "^13.13.1",
84
+ "esbuild": "^0.23.0",
85
+ "eslint": "9.7.0",
84
86
  "eslint-config-prettier": "9.1.0",
85
- "eslint-plugin-cypress": "2.15.2",
87
+ "eslint-plugin-cypress": "3.3.0",
86
88
  "eslint-plugin-jest": "28.6.0",
87
- "eslint-plugin-prettier": "5.1.3",
88
- "eslint-plugin-vue": "9.26.0",
89
+ "eslint-plugin-prettier": "5.2.1",
90
+ "eslint-plugin-vue": "9.27.0",
89
91
  "form-data": "^4.0.0",
90
- "globals": "^15.6.0",
92
+ "globals": "^15.8.0",
91
93
  "html2canvas": "1.4.1",
92
94
  "http-server": "^14.1.1",
93
95
  "jest": "^29.7.0",
@@ -96,17 +98,17 @@
96
98
  "jspdf": "^2.5.1",
97
99
  "lodash": "^4.17.21",
98
100
  "node-fetch": "^3.3.2",
99
- "postcss": "^8.4.38",
100
- "prettier": "^3.2.5",
101
+ "postcss": "^8.4.39",
102
+ "prettier": "^3.3.3",
101
103
  "querystring": "^0.2.0",
102
- "sass": "^1.75.0",
103
- "semantic-release": "^23.0.8",
104
- "sinon": "^17.0.1",
105
- "start-server-and-test": "^2.0.3",
104
+ "sass": "^1.77.8",
105
+ "semantic-release": "^24.0.0",
106
+ "sinon": "^18.0.0",
107
+ "start-server-and-test": "^2.0.4",
106
108
  "vite": "4.5.3",
107
- "vite-plugin-css-injected-by-js": "^3.5.0",
108
- "vue": "3.4.23",
109
- "vue-eslint-parser": "^9.4.2",
110
- "vue-i18n": "^9.12.1"
109
+ "vite-plugin-css-injected-by-js": "^3.5.1",
110
+ "vue": "3.4.33",
111
+ "vue-eslint-parser": "^9.4.3",
112
+ "vue-i18n": "^9.13.1"
111
113
  }
112
114
  }