@roomle/web-sdk 3.4.0 → 3.5.0-alpha.1

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.
Files changed (48) hide show
  1. package/lib/{BufferGeometry-Br8QIDeK.mjs → BufferGeometry-D0oTDT7-.mjs} +2 -2
  2. package/lib/{BufferGeometry-Br8QIDeK.mjs.map → BufferGeometry-D0oTDT7-.mjs.map} +1 -1
  3. package/lib/ConfiguratorKernel.wasm +0 -0
  4. package/lib/{GLTFExporter-DUjuGznV.mjs → GLTFExporter-D4ZDRRKY.mjs} +18 -18
  5. package/lib/{GLTFExporter-DUjuGznV.mjs.map → GLTFExporter-D4ZDRRKY.mjs.map} +1 -1
  6. package/lib/{PointLightHelper-_pWwb-rd.mjs → PointLightHelper-ByJXr8_S.mjs} +3 -3
  7. package/lib/{PointLightHelper-_pWwb-rd.mjs.map → PointLightHelper-ByJXr8_S.mjs.map} +1 -1
  8. package/lib/RoomleCore.wasm +0 -0
  9. package/lib/RoomleToolsCore.wasm +0 -0
  10. package/lib/{SpotLightHelper-DiuKfHVi.mjs → SpotLightHelper-BO8HVIGi.mjs} +3 -3
  11. package/lib/{SpotLightHelper-DiuKfHVi.mjs.map → SpotLightHelper-BO8HVIGi.mjs.map} +1 -1
  12. package/lib/{USDZExporter-B9ygWQMw.mjs → USDZExporter-BwVvXYc-.mjs} +14 -14
  13. package/lib/{USDZExporter-B9ygWQMw.mjs.map → USDZExporter-BwVvXYc-.mjs.map} +1 -1
  14. package/lib/{banana-for-scale-Bio4mpMQ.mjs → banana-for-scale-Dqbv6lzU.mjs} +2 -2
  15. package/lib/{banana-for-scale-Bio4mpMQ.mjs.map → banana-for-scale-Dqbv6lzU.mjs.map} +1 -1
  16. package/lib/component-dimensioning-DArrRqRX.mjs +229 -0
  17. package/lib/component-dimensioning-DArrRqRX.mjs.map +1 -0
  18. package/lib/{continuous-drawing-helper-BYjzGaWD.mjs → continuous-drawing-helper-Y55SCE7o.mjs} +2 -2
  19. package/lib/{continuous-drawing-helper-BYjzGaWD.mjs.map → continuous-drawing-helper-Y55SCE7o.mjs.map} +1 -1
  20. package/lib/{homag-intelligence-Bb8gfi80.mjs → homag-intelligence-B45l7Siw.mjs} +2 -2
  21. package/lib/{homag-intelligence-Bb8gfi80.mjs.map → homag-intelligence-B45l7Siw.mjs.map} +1 -1
  22. package/lib/{imos-ix-poc-export-helper-Bl13RKd1.mjs → imos-ix-poc-export-helper-BVRtbeMx.mjs} +2 -2
  23. package/lib/{imos-ix-poc-export-helper-Bl13RKd1.mjs.map → imos-ix-poc-export-helper-BVRtbeMx.mjs.map} +1 -1
  24. package/lib/{index-DYoZpNEJ.mjs → index-BChueysR.mjs} +14573 -13744
  25. package/lib/index-BChueysR.mjs.map +1 -0
  26. package/lib/{material-viewer-DqZ9kv7j.mjs → material-viewer-wqVgzOjV.mjs} +2 -2
  27. package/lib/{material-viewer-DqZ9kv7j.mjs.map → material-viewer-wqVgzOjV.mjs.map} +1 -1
  28. package/lib/roomle-sdk.d.ts +8 -0
  29. package/lib/roomle-sdk.js +8 -8
  30. package/lib/static/roomle-core-hsc/ConfiguratorKernel.wasm +0 -0
  31. package/lib/static/roomle-core-hsc/RoomleCore.wasm +0 -0
  32. package/lib/static/roomle-core-hsc/RoomleServiceCore.wasm +0 -0
  33. package/lib/static/roomle-core-hsc/RoomleToolsCore.wasm +0 -0
  34. package/lib/static/roomle-core-hsc/package.json +1 -1
  35. package/lib/static/roomle-core-hsc/wasm_modern/ConfiguratorKernel.wasm +0 -0
  36. package/lib/static/roomle-core-hsc/wasm_modern/RoomleCore.wasm +0 -0
  37. package/lib/static/roomle-core-hsc/wasm_modern/RoomleServiceCore.wasm +0 -0
  38. package/lib/static/roomle-core-hsc/wasm_modern/RoomleToolsCore.wasm +0 -0
  39. package/lib/{stats-helper-BedaceYL.mjs → stats-helper-DviRZn-8.mjs} +2 -2
  40. package/lib/{stats-helper-BedaceYL.mjs.map → stats-helper-DviRZn-8.mjs.map} +1 -1
  41. package/lib/{three.webgpu-Bk8XgilA.mjs → three.webgpu-6wDTD4-D.mjs} +72 -70
  42. package/lib/{three.webgpu-Bk8XgilA.mjs.map → three.webgpu-6wDTD4-D.mjs.map} +1 -1
  43. package/lib/{tools-core-D1vOTlAR.mjs → tools-core-C46gKA9O.mjs} +2 -2
  44. package/lib/{tools-core-D1vOTlAR.mjs.map → tools-core-C46gKA9O.mjs.map} +1 -1
  45. package/package.json +1 -1
  46. package/lib/component-dimensioning-Bar2YYNs.mjs +0 -148
  47. package/lib/component-dimensioning-Bar2YYNs.mjs.map +0 -1
  48. package/lib/index-DYoZpNEJ.mjs.map +0 -1
Binary file
@@ -1,5 +1,5 @@
1
- import { f as $, aP as J, as as v, bn as ee, ay as S, bA as se, ee as D, ff as te, bT as ne, dG as k, aO as ie, eB as re, j as oe, e_ as z, eE as ae, aJ as Y, aF as ce, bJ as ue, bI as le, bH as fe, aN as he, bG as pe, bF as de, bD as xe, bE as ye, bC as ge, eF as Te } from "./index-DYoZpNEJ.mjs";
2
- const j = {
1
+ import { f as $, aS as J, as as v, bq as ee, aA as S, bD as se, eh as B, fk as te, bW as ne, dJ as k, aR as ie, eF as re, j as oe, f2 as z, eI as ae, aM as K, aI as ce, bM as ue, bL as le, bK as fe, aQ as he, bJ as pe, bI as de, bG as xe, bH as ye, bF as ge, eJ as Te } from "./index-BChueysR.mjs";
2
+ const Y = {
3
3
  POSITION: [
4
4
  "byte",
5
5
  "byte normalized",
@@ -43,7 +43,7 @@ class H {
43
43
  }), this.register(function(e) {
44
44
  return new ze(e);
45
45
  }), this.register(function(e) {
46
- return new Be(e);
46
+ return new De(e);
47
47
  }), this.register(function(e) {
48
48
  return new Ce(e);
49
49
  }), this.register(function(e) {
@@ -51,7 +51,7 @@ class H {
51
51
  }), this.register(function(e) {
52
52
  return new Fe(e);
53
53
  }), this.register(function(e) {
54
- return new De(e);
54
+ return new Be(e);
55
55
  }), this.register(function(e) {
56
56
  return new Ge(e);
57
57
  }), this.register(function(e) {
@@ -156,7 +156,7 @@ R[de] = g.LINEAR_MIPMAP_LINEAR;
156
156
  R[xe] = g.CLAMP_TO_EDGE;
157
157
  R[ye] = g.REPEAT;
158
158
  R[ge] = g.MIRRORED_REPEAT;
159
- const K = {
159
+ const j = {
160
160
  scale: "scale",
161
161
  position: "translation",
162
162
  quaternion: "rotation",
@@ -370,7 +370,7 @@ class Se {
370
370
  return x;
371
371
  };
372
372
  }
373
- e instanceof D && (e = await this.decompressTextureAsync(e)), s instanceof D && (s = await this.decompressTextureAsync(s));
373
+ e instanceof B && (e = await this.decompressTextureAsync(e)), s instanceof B && (s = await this.decompressTextureAsync(s));
374
374
  const t = e ? e.image : null, i = s ? s.image : null, r = Math.max(t ? t.width : 0, i ? i.width : 0), o = Math.max(t ? t.height : 0, i ? i.height : 0), c = X();
375
375
  c.width = r, c.height = o;
376
376
  const l = c.getContext("2d", {
@@ -586,7 +586,7 @@ class Se {
586
586
  async processTextureAsync(e) {
587
587
  const n = this.options, t = this.cache, i = this.json;
588
588
  if (t.textures.has(e)) return t.textures.get(e);
589
- i.textures || (i.textures = []), e instanceof D && (e = await this.decompressTextureAsync(e, n.maxTextureSize));
589
+ i.textures || (i.textures = []), e instanceof B && (e = await this.decompressTextureAsync(e, n.maxTextureSize));
590
590
  let r = e.userData.mimeType;
591
591
  r === "image/webp" && (r = "image/png");
592
592
  const o = {
@@ -712,9 +712,9 @@ class Se {
712
712
  V || (console.warn("GLTFExporter: Only POSITION and NORMAL morph are supported."), V = !0);
713
713
  continue;
714
714
  }
715
- const N = r.morphAttributes[_][m], B = _.toUpperCase(), C = r.attributes[_];
715
+ const N = r.morphAttributes[_][m], D = _.toUpperCase(), C = r.attributes[_];
716
716
  if (s.attributes.has(this.getUID(N, !0))) {
717
- I[B] = s.attributes.get(this.getUID(N, !0));
717
+ I[D] = s.attributes.get(this.getUID(N, !0));
718
718
  continue;
719
719
  }
720
720
  const U = N.clone();
@@ -722,7 +722,7 @@ class Se {
722
722
  for (let E = 0, Q = N.count; E < Q; E++)
723
723
  for (let L = 0; L < N.itemSize; L++)
724
724
  L === 0 && U.setX(E, N.getX(E) - C.getX(E)), L === 1 && U.setY(E, N.getY(E) - C.getY(E)), L === 2 && U.setZ(E, N.getZ(E) - C.getZ(E)), L === 3 && U.setW(E, N.getW(E) - C.getW(E));
725
- I[B] = this.processAccessor(U, r), s.attributes.set(this.getUID(C, !0), I[B]);
725
+ I[D] = this.processAccessor(U, r), s.attributes.set(this.getUID(C, !0), I[D]);
726
726
  }
727
727
  u.push(I), p.push(e.morphTargetInfluences[m]), e.morphTargetDictionary !== void 0 && w.push(A[m]);
728
728
  }
@@ -788,7 +788,7 @@ class Se {
788
788
  }
789
789
  s.normalized && (n += " normalized");
790
790
  const t = e.split("_", 1)[0];
791
- j[t] && j[t].includes(n) && (this.extensionsUsed[G] = !0, this.extensionsRequired[G] = !0);
791
+ Y[t] && Y[t].includes(n) && (this.extensionsUsed[G] = !0, this.extensionsRequired[G] = !0);
792
792
  }
793
793
  /**
794
794
  * Process camera
@@ -830,14 +830,14 @@ class Se {
830
830
  for (let l = 0; l < i.length; ++l) {
831
831
  const h = i[l], u = z.parseTrackName(h.name);
832
832
  let T = z.findNode(s, u.nodeName);
833
- const f = K[u.propertyName];
833
+ const f = j[u.propertyName];
834
834
  if (u.objectName === "bones" && (T.isSkinnedMesh === !0 ? T = T.skeleton.getBoneByName(u.objectIndex) : T = void 0), !T || !f) {
835
835
  console.warn('THREE.GLTFExporter: Could not export animation track "%s".', h.name);
836
836
  continue;
837
837
  }
838
838
  const d = 1;
839
839
  let x = h.values.length / h.times.length;
840
- f === K.morphTargetInfluences && (x /= T.morphTargetInfluences.length);
840
+ f === j.morphTargetInfluences && (x /= T.morphTargetInfluences.length);
841
841
  let y;
842
842
  h.createInterpolant.isInterpolantFactoryMethodGLTFCubicSpline === !0 ? (y = "CUBICSPLINE", x /= 3) : h.getInterpolation() === ae ? y = "STEP" : y = "LINEAR", o.push({
843
843
  input: this.processAccessor(new S(h.times, d)),
@@ -935,7 +935,7 @@ class Se {
935
935
  * @param {Array<THREE.Object3D>} objects List of objects to process
936
936
  */
937
937
  async processObjectsAsync(e) {
938
- const s = new Y();
938
+ const s = new K();
939
939
  s.name = "AuxScene";
940
940
  for (let n = 0; n < e.length; n++)
941
941
  s.children.push(e[n]);
@@ -951,7 +951,7 @@ class Se {
951
951
  });
952
952
  const n = [];
953
953
  for (let t = 0; t < e.length; t++)
954
- e[t] instanceof Y ? await this.processSceneAsync(e[t]) : n.push(e[t]);
954
+ e[t] instanceof K ? await this.processSceneAsync(e[t]) : n.push(e[t]);
955
955
  n.length > 0 && await this.processObjectsAsync(n);
956
956
  for (let t = 0; t < this.skins.length; ++t)
957
957
  this.processSkin(this.skins[t]);
@@ -1101,7 +1101,7 @@ class ze {
1101
1101
  i.ior = e.ior, s.extensions = s.extensions || {}, s.extensions[this.name] = i, t[this.name] = !0;
1102
1102
  }
1103
1103
  }
1104
- class Be {
1104
+ class De {
1105
1105
  constructor(e) {
1106
1106
  this.writer = e, this.name = "KHR_materials_specular";
1107
1107
  }
@@ -1125,7 +1125,7 @@ class Be {
1125
1125
  i.specularFactor = e.specularIntensity, i.specularColorFactor = e.specularColor.toArray(), s.extensions = s.extensions || {}, s.extensions[this.name] = i, t[this.name] = !0;
1126
1126
  }
1127
1127
  }
1128
- class De {
1128
+ class Be {
1129
1129
  constructor(e) {
1130
1130
  this.writer = e, this.name = "KHR_materials_sheen";
1131
1131
  }
@@ -1283,4 +1283,4 @@ H.Utils = {
1283
1283
  export {
1284
1284
  H as GLTFExporter
1285
1285
  };
1286
- //# sourceMappingURL=GLTFExporter-DUjuGznV.mjs.map
1286
+ //# sourceMappingURL=GLTFExporter-D4ZDRRKY.mjs.map