@bimdata/viewer 2.0.0-beta.110 → 2.0.0-beta.112

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
@@ -83,6 +83,7 @@ declare namespace BDV {
83
83
  };
84
84
  bcfManager?: boolean;
85
85
  buildingMaker?: boolean;
86
+ "drawing-tools"?: boolean;
86
87
  dwg?:
87
88
  | boolean
88
89
  | {
@@ -138,17 +139,17 @@ declare namespace BDV {
138
139
  structure?:
139
140
  | boolean
140
141
  | {
141
- merge?: boolean;
142
142
  export?: boolean;
143
+ merge?: boolean;
143
144
  translateIfcEntities?: boolean;
144
145
  customTranslations?: Object;
145
146
  };
146
147
  "structure-properties"?:
147
148
  | boolean
148
149
  | {
149
- merge?: boolean;
150
- export?: boolean;
151
150
  editProperties?: boolean;
151
+ export?: boolean;
152
+ merge?: boolean;
152
153
  translateIfcEntities?: boolean;
153
154
  customTranslations?: Object;
154
155
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bimdata/viewer",
3
3
  "type": "module",
4
- "version": "2.0.0-beta.110",
4
+ "version": "2.0.0-beta.112",
5
5
  "description": "A customizable BIM viewer.",
6
6
  "keywords": [
7
7
  "bim",
@@ -51,7 +51,7 @@
51
51
  "@babel/preset-env": "^7.22.20",
52
52
  "@bimdata/2d-engine": "2.4.0",
53
53
  "@bimdata/areas-next": "0.1.15",
54
- "@bimdata/bcf-components": "6.2.0",
54
+ "@bimdata/bcf-components": "6.2.1",
55
55
  "@bimdata/building-maker": "3.0.3",
56
56
  "@bimdata/components": "1.3.2",
57
57
  "@bimdata/design-system": "2.1.0-rc.12",
package/types/state.d.ts CHANGED
@@ -244,25 +244,20 @@ declare namespace BDV {
244
244
  selected: boolean;
245
245
  }
246
246
 
247
- interface StatePlan extends ApiPlan {
248
- plan?: ApiPlan;
247
+ interface StatePlan extends StatePositionning {
249
248
  model: StateModel;
250
249
  storey: StateStorey;
251
- positioning: StatePositionning;
252
-
253
- key: string;
254
250
  index: number;
255
- loading: boolean;
256
- editing: boolean;
257
- selected: boolean;
251
+ key: string;
258
252
  }
259
253
 
260
254
  interface StatePositionning {
261
- x: number;
262
- y: number;
263
- angle: number;
255
+ translation_x: number;
256
+ translation_y: number;
257
+ rotate_z: number;
264
258
  scale: number;
265
259
  opacity: number;
260
+ plan?: ApiPlan;
266
261
  }
267
262
 
268
263
  interface StateAnnotation {