@crystaldesign/real-time-viewer 24.12.0 → 24.12.2-rc.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.
@@ -1110,7 +1110,7 @@ var SceneStore = /*#__PURE__*/function () {
1110
1110
  return this._sceneConstruct.root;
1111
1111
  }
1112
1112
  }, {
1113
- key: "elements",
1113
+ key: "mainElements",
1114
1114
  get: function get() {
1115
1115
  var _this$_sceneConstruct2;
1116
1116
  var elms = [];
@@ -1125,7 +1125,9 @@ var SceneStore = /*#__PURE__*/function () {
1125
1125
  try {
1126
1126
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
1127
1127
  var element = _step2.value;
1128
- elms.push(element);
1128
+ var name = element.bbn.name;
1129
+ var elId = name.slice(name.lastIndexOf('E'), name.length);
1130
+ if (elId.split('.').length == 1) elms.push(element);
1129
1131
  }
1130
1132
  } catch (err) {
1131
1133
  _iterator2.e(err);
@@ -1140,6 +1142,37 @@ var SceneStore = /*#__PURE__*/function () {
1140
1142
  }
1141
1143
  return elms;
1142
1144
  }
1145
+ }, {
1146
+ key: "elements",
1147
+ get: function get() {
1148
+ var _this$_sceneConstruct3;
1149
+ var elms = [];
1150
+ if (!((_this$_sceneConstruct3 = this._sceneConstruct.root) !== null && _this$_sceneConstruct3 !== void 0 && _this$_sceneConstruct3.sets)) return [];
1151
+ var _iterator3 = _createForOfIteratorHelper$8(this._sceneConstruct.root.sets),
1152
+ _step3;
1153
+ try {
1154
+ for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
1155
+ var set = _step3.value;
1156
+ var _iterator4 = _createForOfIteratorHelper$8(set.elements),
1157
+ _step4;
1158
+ try {
1159
+ for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
1160
+ var element = _step4.value;
1161
+ elms.push(element);
1162
+ }
1163
+ } catch (err) {
1164
+ _iterator4.e(err);
1165
+ } finally {
1166
+ _iterator4.f();
1167
+ }
1168
+ }
1169
+ } catch (err) {
1170
+ _iterator3.e(err);
1171
+ } finally {
1172
+ _iterator3.f();
1173
+ }
1174
+ return elms;
1175
+ }
1143
1176
  }, {
1144
1177
  key: "cameraTargetPosition",
1145
1178
  get: function get() {
@@ -1173,48 +1206,48 @@ var SceneStore = /*#__PURE__*/function () {
1173
1206
  }, {
1174
1207
  key: "getElementByName",
1175
1208
  value: function getElementByName(name) {
1176
- var _this$_sceneConstruct3, _this$_sceneConstruct4;
1177
- if (!((_this$_sceneConstruct3 = this._sceneConstruct.root) !== null && _this$_sceneConstruct3 !== void 0 && _this$_sceneConstruct3.sets)) return undefined;
1178
- var _iterator3 = _createForOfIteratorHelper$8((_this$_sceneConstruct4 = this._sceneConstruct.root) === null || _this$_sceneConstruct4 === void 0 ? void 0 : _this$_sceneConstruct4.sets),
1179
- _step3;
1209
+ var _this$_sceneConstruct4, _this$_sceneConstruct5;
1210
+ if (!((_this$_sceneConstruct4 = this._sceneConstruct.root) !== null && _this$_sceneConstruct4 !== void 0 && _this$_sceneConstruct4.sets)) return undefined;
1211
+ var _iterator5 = _createForOfIteratorHelper$8((_this$_sceneConstruct5 = this._sceneConstruct.root) === null || _this$_sceneConstruct5 === void 0 ? void 0 : _this$_sceneConstruct5.sets),
1212
+ _step5;
1180
1213
  try {
1181
- for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
1182
- var set = _step3.value;
1183
- var _iterator4 = _createForOfIteratorHelper$8(set.elements),
1184
- _step4;
1214
+ for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
1215
+ var set = _step5.value;
1216
+ var _iterator6 = _createForOfIteratorHelper$8(set.elements),
1217
+ _step6;
1185
1218
  try {
1186
- for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
1187
- var element = _step4.value;
1219
+ for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {
1220
+ var element = _step6.value;
1188
1221
  if (element.bbn.name == name) return element;
1189
1222
  }
1190
1223
  } catch (err) {
1191
- _iterator4.e(err);
1224
+ _iterator6.e(err);
1192
1225
  } finally {
1193
- _iterator4.f();
1226
+ _iterator6.f();
1194
1227
  }
1195
1228
  }
1196
1229
  } catch (err) {
1197
- _iterator3.e(err);
1230
+ _iterator5.e(err);
1198
1231
  } finally {
1199
- _iterator3.f();
1232
+ _iterator5.f();
1200
1233
  }
1201
1234
  return undefined;
1202
1235
  }
1203
1236
  }, {
1204
1237
  key: "getElementNameById",
1205
1238
  value: function getElementNameById(id) {
1206
- var _this$_sceneConstruct5, _this$_sceneConstruct6;
1207
- if (!((_this$_sceneConstruct5 = this._sceneConstruct.root) !== null && _this$_sceneConstruct5 !== void 0 && _this$_sceneConstruct5.sets)) return undefined;
1208
- var _iterator5 = _createForOfIteratorHelper$8((_this$_sceneConstruct6 = this._sceneConstruct.root) === null || _this$_sceneConstruct6 === void 0 ? void 0 : _this$_sceneConstruct6.sets),
1209
- _step5;
1239
+ var _this$_sceneConstruct6, _this$_sceneConstruct7;
1240
+ if (!((_this$_sceneConstruct6 = this._sceneConstruct.root) !== null && _this$_sceneConstruct6 !== void 0 && _this$_sceneConstruct6.sets)) return undefined;
1241
+ var _iterator7 = _createForOfIteratorHelper$8((_this$_sceneConstruct7 = this._sceneConstruct.root) === null || _this$_sceneConstruct7 === void 0 ? void 0 : _this$_sceneConstruct7.sets),
1242
+ _step7;
1210
1243
  try {
1211
- for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
1212
- var set = _step5.value;
1213
- var _iterator6 = _createForOfIteratorHelper$8(set.elements),
1214
- _step6;
1244
+ for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) {
1245
+ var set = _step7.value;
1246
+ var _iterator8 = _createForOfIteratorHelper$8(set.elements),
1247
+ _step8;
1215
1248
  try {
1216
- for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {
1217
- var element = _step6.value;
1249
+ for (_iterator8.s(); !(_step8 = _iterator8.n()).done;) {
1250
+ var element = _step8.value;
1218
1251
  var nm = element.bbn.name;
1219
1252
  var elementPos = nm.slice(nm.lastIndexOf('E') + 1, nm.length);
1220
1253
  if (elementPos == id.toString()) {
@@ -1222,15 +1255,15 @@ var SceneStore = /*#__PURE__*/function () {
1222
1255
  }
1223
1256
  }
1224
1257
  } catch (err) {
1225
- _iterator6.e(err);
1258
+ _iterator8.e(err);
1226
1259
  } finally {
1227
- _iterator6.f();
1260
+ _iterator8.f();
1228
1261
  }
1229
1262
  }
1230
1263
  } catch (err) {
1231
- _iterator5.e(err);
1264
+ _iterator7.e(err);
1232
1265
  } finally {
1233
- _iterator5.f();
1266
+ _iterator7.f();
1234
1267
  }
1235
1268
  return undefined;
1236
1269
  }
@@ -1338,8 +1371,8 @@ var SceneStore = /*#__PURE__*/function () {
1338
1371
  }, {
1339
1372
  key: "addElement",
1340
1373
  value: function addElement(bbn, hqs) {
1341
- var _this$_sceneConstruct7;
1342
- var set = (_this$_sceneConstruct7 = this._sceneConstruct.root) === null || _this$_sceneConstruct7 === void 0 ? void 0 : _this$_sceneConstruct7.sets[this._sceneConstruct.root.sets.length - 1];
1374
+ var _this$_sceneConstruct8;
1375
+ var set = (_this$_sceneConstruct8 = this._sceneConstruct.root) === null || _this$_sceneConstruct8 === void 0 ? void 0 : _this$_sceneConstruct8.sets[this._sceneConstruct.root.sets.length - 1];
1343
1376
  if (!set) {
1344
1377
  throw new Error("can't register sets before root");
1345
1378
  }
@@ -1354,8 +1387,8 @@ var SceneStore = /*#__PURE__*/function () {
1354
1387
  }, {
1355
1388
  key: "removeElement",
1356
1389
  value: function removeElement(hqs) {
1357
- var _this$_sceneConstruct8;
1358
- var set = (_this$_sceneConstruct8 = this._sceneConstruct.root) === null || _this$_sceneConstruct8 === void 0 ? void 0 : _this$_sceneConstruct8.sets[this._sceneConstruct.root.sets.length - 1];
1390
+ var _this$_sceneConstruct9;
1391
+ var set = (_this$_sceneConstruct9 = this._sceneConstruct.root) === null || _this$_sceneConstruct9 === void 0 ? void 0 : _this$_sceneConstruct9.sets[this._sceneConstruct.root.sets.length - 1];
1359
1392
  if (!set) {
1360
1393
  throw new Error("can't register sets before root");
1361
1394
  }
@@ -1564,6 +1597,7 @@ function SelHandler (_ref) {
1564
1597
  sceneStore.focusElement(elem);
1565
1598
  };
1566
1599
  var onElementSelected = function onElementSelected(elem, hit, doubleClick) {
1600
+ var _sceneStore$focusedEl, _sceneStore$focusedEl2;
1567
1601
  var elemName = elem.name.slice(-1);
1568
1602
  if (doubleClick && sceneStore.selectedElement == elemName && hit.pickedMesh) {
1569
1603
  var _getParent = function getParent(mesh) {
@@ -1573,7 +1607,7 @@ function SelHandler (_ref) {
1573
1607
  };
1574
1608
  sceneStore.focusElement(_getParent(hit.pickedMesh));
1575
1609
  return;
1576
- } else if (doubleClick || sceneStore.selectedElement == elemName) {
1610
+ } else if (((_sceneStore$focusedEl = sceneStore.focusedElement) === null || _sceneStore$focusedEl === void 0 || (_sceneStore$focusedEl = _sceneStore$focusedEl.name) === null || _sceneStore$focusedEl === void 0 || (_sceneStore$focusedEl2 = _sceneStore$focusedEl.slice) === null || _sceneStore$focusedEl2 === void 0 ? void 0 : _sceneStore$focusedEl2.call(_sceneStore$focusedEl, -1)) != elemName && (doubleClick || sceneStore.selectedElement == elemName)) {
1577
1611
  sceneStore.focusElement(elem);
1578
1612
  }
1579
1613
  sceneStore.selectedElement = elemName;
@@ -3084,7 +3118,7 @@ var parser = /*#__PURE__*/function () {
3084
3118
  utilStore = useUtilStoreContext();
3085
3119
  uiStore = useUIStoreContext();
3086
3120
  wasPlanned = sceneStore.hasPlanned;
3087
- elementCount = sceneStore.elements.length; //disable elementrows from old cache
3121
+ elementCount = sceneStore.mainElements.length; //disable elementrows from old cache
3088
3122
  changedElements === null || changedElements === void 0 || (_changedElements$upda = changedElements.updatedElements) === null || _changedElements$upda === void 0 || _changedElements$upda.forEach(function (el) {
3089
3123
  return utilStore.disableElementRows(el.name, cache);
3090
3124
  });
@@ -3164,9 +3198,9 @@ var parser = /*#__PURE__*/function () {
3164
3198
  sizeDiff = Vector3$1.Distance(bbox.min, bbox.max) - focusedElement.size;
3165
3199
  if ((Math.abs(focusedNode.absolutePosition.x - focusedElement.position.x) > 0.05 || Math.abs(focusedNode.absolutePosition.y - focusedElement.position.y) > 0.05 || Math.abs(focusedNode.absolutePosition.z - focusedElement.position.z) > 0.05) && sceneStore.isControlledViewpoint || wasPlanned && sceneStore.isControlledViewpoint && (focusedElement.size != 0 && Math.abs(sizeDiff) > 0.09 || !isInFrustum && Math.abs(sizeDiff) > 0)) {
3166
3200
  sceneStore.focusElement(focusedNode);
3167
- } else if ((wasPlanned || !uiStore.unityCombActive) && elementCount != sceneStore.elements.length) {
3201
+ } else if ((wasPlanned || !uiStore.unityCombActive) && elementCount != sceneStore.mainElements.length) {
3168
3202
  sceneStore.focusElement();
3169
- } else {
3203
+ } else if (uiStore.unityCombActive) {
3170
3204
  updateCam(sceneStore.hqRenderScript.cams[0], sceneStore.scene);
3171
3205
  }
3172
3206
  case 29:
@@ -67,6 +67,7 @@ export declare class SceneStore {
67
67
  bbn: TransformNode;
68
68
  sets: import("./types").Set[];
69
69
  } | undefined;
70
+ get mainElements(): import("./types").Element[];
70
71
  get elements(): import("./types").Element[];
71
72
  get cameraTargetPosition(): Vector3;
72
73
  get targetCameraPosition(): Vector3;
@@ -1 +1 @@
1
- {"version":3,"file":"SceneStore.d.ts","sourceRoot":"","sources":["../../../../../src/store/SceneStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,MAAM,mCAAmC,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAErE,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACxF,OAAO,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAC;AAC1E,OAAO,EAAe,QAAQ,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