@nebula-spatial/viewer 0.5.16 → 0.5.17

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.
@@ -3,7 +3,7 @@ var On = (n, t, e) => t in n ? Cn(n, t, { enumerable: !0, configurable: !0, writ
3
3
  var Z = (n, t, e) => On(n, typeof t != "symbol" ? t + "" : t, e);
4
4
  import { Vector3 as U, Box3 as st, Matrix4 as mt, BufferAttribute as bn, Line3 as ct, Plane as An, Vector2 as ht, Triangle as Et, BackSide as Fn, DoubleSide as _n, REVISION as Sn, Ray as zn, FrontSide as He, Mesh as $t, LineSegments as Ve, LineLoop as Bn, Line as Tn, Points as Pn, Sphere as Vn, BatchedMesh as jn, LineBasicMaterial as $n, MeshBasicMaterial as kn, WireframeGeometry as qn, EdgesGeometry as we } from "three";
5
5
  import { disposeModelResources as Jn } from "./resources-CHhCm2f7.js";
6
- import { t as Lt, u as We, v as Hn, w as Wn, x as Yn, U as Xn, p as Gn } from "./index-D9-UMnkK.js";
6
+ import { t as Lt, u as We, v as Hn, w as Wn, x as Yn, U as Xn, p as Gn } from "./index-cM9KArXm.js";
7
7
  const Zn = /* @__PURE__ */ new Set([
8
8
  "E_MJCF_INCLUDE_CYCLE",
9
9
  "E_MJCF_PARSE",
@@ -10,7 +10,7 @@ import { createCadDocumentSession as tr, getCadDocumentRenderResource as ir, for
10
10
  import { CSS2DObject as nr, CSS2DRenderer as rr } from "three/addons/renderers/CSS2DRenderer.js";
11
11
  import { viewerRuntimeAssetUrls as Wt } from "@nebula-spatial/viewer/runtime-assets";
12
12
  import sr from "@mujoco/mujoco/mujoco.wasm?url";
13
- const ar = "0.5.16", or = "@nebula-spatial/viewer", Gt = "__NEBULA_SPATIAL_VIEWER_BANNER_PRINTED__";
13
+ const ar = "0.5.17", or = "@nebula-spatial/viewer", Gt = "__NEBULA_SPATIAL_VIEWER_BANNER_PRINTED__";
14
14
  function Xt() {
15
15
  const r = `%c ${or} %c v${ar} `;
16
16
  console.log(r, "background:#111827;color:#ffffff;padding:4px 10px;border-radius:4px 0 0 4px;font-weight:700;", "background:#10B981;color:#ffffff;padding:4px 10px;border-radius:0 4px 4px 0;font-weight:700;");
@@ -9588,7 +9588,7 @@ const Jo = {
9588
9588
  clearColor: Ee.dark
9589
9589
  },
9590
9590
  async createSession(e, t) {
9591
- const { createModelSession: i } = await import("./session-Dn5fAl3z.js");
9591
+ const { createModelSession: i } = await import("./session-D44z2smp.js");
9592
9592
  return i(e, t);
9593
9593
  }
9594
9594
  });
@@ -9672,7 +9672,7 @@ const il = {
9672
9672
  clearColor: Ee.dark
9673
9673
  },
9674
9674
  async createSession(e, t) {
9675
- const { createSimulationSession: i } = await import("./session-CEipzQYJ.js").then((n) => n.a);
9675
+ const { createSimulationSession: i } = await import("./session-CKva1mAh.js").then((n) => n.a);
9676
9676
  return i(e, t);
9677
9677
  }
9678
9678
  });
@@ -10946,7 +10946,7 @@ function sd(r = {}) {
10946
10946
  }
10947
10947
  let Zi = null;
10948
10948
  function ad() {
10949
- return Zi ?? (Zi = import("./usd-session-CNYn-3LD.js").then(() => {
10949
+ return Zi ?? (Zi = import("./usd-session-auH_xmOc.js").then(() => {
10950
10950
  })), Zi;
10951
10951
  }
10952
10952
  function kl(r) {
@@ -11172,7 +11172,7 @@ function Ln(r, e) {
11172
11172
  function Dn() {
11173
11173
  return new Worker(new URL(
11174
11174
  /* @vite-ignore */
11175
- "" + new URL("assets/usd-worker-drur-7bI.js", import.meta.url).href,
11175
+ "" + new URL("assets/usd-worker-B6-1I5dT.js", import.meta.url).href,
11176
11176
  import.meta.url
11177
11177
  ), {
11178
11178
  type: "module",
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { D as r, v as s, A as o, w as U, U as E, u as _, y as d, B as D, C as R, E as S, F as i, k as u, G as c, H as C, I as O } from "./index-D9-UMnkK.js";
1
+ import { D as r, v as s, A as o, w as U, U as E, u as _, y as d, B as D, C as R, E as S, F as i, k as u, G as c, H as C, I as O } from "./index-cM9KArXm.js";
2
2
  import { configureCadTextBuilder as m } from "@nebula-spatial/cad-loader";
3
3
  export {
4
4
  r as DEFAULT_GROUND_GRID_SCALE,
@@ -1,4 +1,4 @@
1
- import { c as v, s as E } from "./session-CEipzQYJ.js";
1
+ import { c as v, s as E } from "./session-CKva1mAh.js";
2
2
  import { Group as q, Euler as z, BoxGeometry as G, SphereGeometry as N, CylinderGeometry as P, CapsuleGeometry as $, PlaneGeometry as I, Mesh as X } from "three";
3
3
  import { disposeModelResources as j } from "./resources-CHhCm2f7.js";
4
4
  function U(f) {