vim-web 0.3.44-dev.54 → 0.3.44-dev.56

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/dist/vim-web.js CHANGED
@@ -49983,6 +49983,47 @@ class VimRequest {
49983
49983
  this.end();
49984
49984
  }
49985
49985
  }
49986
+ function createTransferMaterial() {
49987
+ return new ShaderMaterial({
49988
+ uniforms: {
49989
+ source: { value: null }
49990
+ },
49991
+ vertexShader: `
49992
+ varying vec2 vUv;
49993
+ void main() {
49994
+ vUv = uv;
49995
+ gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);
49996
+ }
49997
+ `,
49998
+ fragmentShader: `
49999
+ uniform sampler2D source;
50000
+ varying vec2 vUv;
50001
+
50002
+ void main() {
50003
+ gl_FragColor = texture2D(source, vUv);
50004
+ }
50005
+ `
50006
+ });
50007
+ }
50008
+ const index$9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
50009
+ __proto__: null,
50010
+ Materials,
50011
+ MergeMaterial,
50012
+ OutlineMaterial,
50013
+ SkyboxMaterial,
50014
+ StandardMaterial,
50015
+ createBasicOpaque,
50016
+ createBasicTransparent,
50017
+ createGhostMaterial,
50018
+ createMaskMaterial,
50019
+ createMergeMaterial,
50020
+ createOpaque,
50021
+ createOutlineMaterial,
50022
+ createSimpleMaterial,
50023
+ createTransferMaterial,
50024
+ createTransparent,
50025
+ createWireframe
50026
+ }, Symbol.toStringTag, { value: "Module" }));
49986
50027
  const _Marker = class _Marker {
49987
50028
  /**
49988
50029
  * Constructs a new Marker object.
@@ -56364,28 +56405,6 @@ class MergePass extends Pass {
56364
56405
  }
56365
56406
  }
56366
56407
  }
56367
- function createTransferMaterial() {
56368
- return new ShaderMaterial({
56369
- uniforms: {
56370
- source: { value: null }
56371
- },
56372
- vertexShader: `
56373
- varying vec2 vUv;
56374
- void main() {
56375
- vUv = uv;
56376
- gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);
56377
- }
56378
- `,
56379
- fragmentShader: `
56380
- uniform sampler2D source;
56381
- varying vec2 vUv;
56382
-
56383
- void main() {
56384
- gl_FragColor = texture2D(source, vUv);
56385
- }
56386
- `
56387
- });
56388
- }
56389
56408
  class TransferPass extends Pass {
56390
56409
  constructor(sceneTexture) {
56391
56410
  super();
@@ -57154,6 +57173,7 @@ const index$8 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
57154
57173
  __proto__: null,
57155
57174
  IProgressLogs: distExports$2.IProgressLogs,
57156
57175
  Layers: Layers2,
57176
+ Materials: index$9,
57157
57177
  Viewer: Viewer$3,
57158
57178
  createViewerSettings,
57159
57179
  createViewerSettingsFromUrl,
@@ -72487,6 +72507,13 @@ function ContextMenu(props) {
72487
72507
  }
72488
72508
  );
72489
72509
  }
72510
+ const contextMenu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
72511
+ __proto__: null,
72512
+ ContextMenu,
72513
+ VimContextMenuMemo,
72514
+ contextMenuElementIds,
72515
+ showContextMenu
72516
+ }, Symbol.toStringTag, { value: "Module" }));
72490
72517
  function BimTree(props) {
72491
72518
  const [objects, setObjects] = useState([]);
72492
72519
  const [expandedItems, setExpandedItems] = useState([]);
@@ -75882,7 +75909,7 @@ function Viewer$1(props) {
75882
75909
  isTrue(settings2.value.ui.bimTreePanel) || isTrue(settings2.value.ui.bimInfoPanel),
75883
75910
  Math.min(props.container.root.clientWidth * 0.25, 340)
75884
75911
  );
75885
- const [contextMenu, setcontextMenu] = useState();
75912
+ const [contextMenu2, setcontextMenu] = useState();
75886
75913
  const [controlBarCustom, setControlBarCustom] = useState();
75887
75914
  const bimInfoRef = useBimInfo();
75888
75915
  const viewerState = useViewerState(props.viewer);
@@ -75996,7 +76023,7 @@ function Viewer$1(props) {
75996
76023
  modal: modal.current,
75997
76024
  isolation: isolationRef,
75998
76025
  selection: viewerState.selection.get(),
75999
- customization: contextMenu,
76026
+ customization: contextMenu2,
76000
76027
  treeRef
76001
76028
  }
76002
76029
  ),
@@ -76340,6 +76367,7 @@ const index$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
76340
76367
  }, Symbol.toStringTag, { value: "Module" }));
76341
76368
  const index = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
76342
76369
  __proto__: null,
76370
+ ContextMenu: contextMenu,
76343
76371
  ControlBar: index$5,
76344
76372
  Errors: index$3,
76345
76373
  Icons: icons,