@bimdata/viewer 1.9.0-rc.50 → 1.9.0-rc.53

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
@@ -381,21 +381,20 @@ declare namespace BDV {
381
381
  startupScript?: ($viewer: $viewer) => void;
382
382
  }
383
383
 
384
- interface Plugin {
385
- $viewer?: $viewer;
386
- methods?: {
387
- $viewer: $viewer;
388
- };
389
- computed?: {
390
- $viewer: $viewer;
391
- };
392
- }
384
+ type Plugin<T> = VueComponent<{ $viewer: $viewer } | T>;
393
385
 
394
- interface Viewer3dPlugin extends Plugin {
386
+ type VueComponent<T> =
387
+ | {
388
+ methods: T;
389
+ computed: T;
390
+ }
391
+ | T;
392
+
393
+ type Viewer3dPlugin = Plugin<{
395
394
  fitViewObjects(uuids: string[]): void;
396
395
  getCameraPosition(): Object;
397
396
  getProjection(): string;
398
397
  getViewpoint(snapshot?: boolean): Object;
399
398
  setCameraPosition(cameraPosition?: Object): void;
400
- }
399
+ }>;
401
400
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bimdata/viewer",
3
- "version": "1.9.0-rc.50",
3
+ "version": "1.9.0-rc.53",
4
4
  "description": "A customizable BIM viewer.",
5
5
  "keywords": [
6
6
  "bim",
@@ -43,9 +43,9 @@
43
43
  "@babel/preset-env": "^7.15.6",
44
44
  "@bimdata/2d-engine": "1.7.0",
45
45
  "@bimdata/areas": "0.5.0",
46
- "@bimdata/bimdata-api-client": "7.0.0",
46
+ "@bimdata/bimdata-api-client": "7.1.0",
47
47
  "@bimdata/color-picker": "0.0.3",
48
- "@bimdata/design-system": "1.2.0-rc.22",
48
+ "@bimdata/design-system": "1.2.0-rc.30",
49
49
  "@johmun/vue-tags-input": "^2.1.0",
50
50
  "@rollup/plugin-alias": "3.1.5",
51
51
  "@rollup/plugin-babel": "^5.3.0",