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.
@@ -1,5 +1,6 @@
1
1
  export * from './vimSettings';
2
2
  export { requestVim as request, type RequestSource, type VimRequest } from './progressive/vimRequest';
3
+ export * as Materials from './materials';
3
4
  export type { Transparency } from './geometry';
4
5
  export type * from './webglAttribute';
5
6
  export type * from './colorAttribute';
@@ -8,6 +8,6 @@ export * as Ultra from './ultra';
8
8
  export * as Errors from './errors';
9
9
  export * as Urls from './urls';
10
10
  export * from './container';
11
+ export * from './panels';
11
12
  export type * from './helpers';
12
- export type * from './panels';
13
13
  export type * from './state';
@@ -1,14 +1,14 @@
1
- export * from './axesPanel';
2
1
  export * as ContextMenu from './contextMenu';
3
- export * from './genericPanel';
4
- export * from './help';
5
- export * from './loadingBox';
6
- export * from './logo';
7
- export * from './messageBox';
8
- export * from './modal';
9
- export * from './overlay';
10
- export * from './performance';
11
- export * from './renderSettingsPanel';
12
- export * from './restOfScreen';
13
- export * from './sectionBoxPanel';
14
- export * from './toast';
2
+ export type * from './axesPanel';
3
+ export type * from './genericPanel';
4
+ export type * from './help';
5
+ export type * from './loadingBox';
6
+ export type * from './logo';
7
+ export type * from './messageBox';
8
+ export type * from './modal';
9
+ export type * from './overlay';
10
+ export type * from './performance';
11
+ export type * from './renderSettingsPanel';
12
+ export type * from './restOfScreen';
13
+ export type * from './sectionBoxPanel';
14
+ export type * from './toast';
@@ -49999,6 +49999,47 @@ void main() {
49999
49999
  this.end();
50000
50000
  }
50001
50001
  }
50002
+ function createTransferMaterial() {
50003
+ return new ShaderMaterial({
50004
+ uniforms: {
50005
+ source: { value: null }
50006
+ },
50007
+ vertexShader: `
50008
+ varying vec2 vUv;
50009
+ void main() {
50010
+ vUv = uv;
50011
+ gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);
50012
+ }
50013
+ `,
50014
+ fragmentShader: `
50015
+ uniform sampler2D source;
50016
+ varying vec2 vUv;
50017
+
50018
+ void main() {
50019
+ gl_FragColor = texture2D(source, vUv);
50020
+ }
50021
+ `
50022
+ });
50023
+ }
50024
+ const index$9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
50025
+ __proto__: null,
50026
+ Materials,
50027
+ MergeMaterial,
50028
+ OutlineMaterial,
50029
+ SkyboxMaterial,
50030
+ StandardMaterial,
50031
+ createBasicOpaque,
50032
+ createBasicTransparent,
50033
+ createGhostMaterial,
50034
+ createMaskMaterial,
50035
+ createMergeMaterial,
50036
+ createOpaque,
50037
+ createOutlineMaterial,
50038
+ createSimpleMaterial,
50039
+ createTransferMaterial,
50040
+ createTransparent,
50041
+ createWireframe
50042
+ }, Symbol.toStringTag, { value: "Module" }));
50002
50043
  const _Marker = class _Marker {
50003
50044
  /**
50004
50045
  * Constructs a new Marker object.
@@ -56380,28 +56421,6 @@ void main() {
56380
56421
  }
56381
56422
  }
56382
56423
  }
56383
- function createTransferMaterial() {
56384
- return new ShaderMaterial({
56385
- uniforms: {
56386
- source: { value: null }
56387
- },
56388
- vertexShader: `
56389
- varying vec2 vUv;
56390
- void main() {
56391
- vUv = uv;
56392
- gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);
56393
- }
56394
- `,
56395
- fragmentShader: `
56396
- uniform sampler2D source;
56397
- varying vec2 vUv;
56398
-
56399
- void main() {
56400
- gl_FragColor = texture2D(source, vUv);
56401
- }
56402
- `
56403
- });
56404
- }
56405
56424
  class TransferPass extends Pass {
56406
56425
  constructor(sceneTexture) {
56407
56426
  super();
@@ -57170,6 +57189,7 @@ void main() {
57170
57189
  __proto__: null,
57171
57190
  IProgressLogs: distExports$2.IProgressLogs,
57172
57191
  Layers,
57192
+ Materials: index$9,
57173
57193
  Viewer: Viewer$3,
57174
57194
  createViewerSettings,
57175
57195
  createViewerSettingsFromUrl,
@@ -72503,6 +72523,13 @@ Averrage Date/Second ${avgDataRatePS} kb
72503
72523
  }
72504
72524
  );
72505
72525
  }
72526
+ const contextMenu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
72527
+ __proto__: null,
72528
+ ContextMenu,
72529
+ VimContextMenuMemo,
72530
+ contextMenuElementIds,
72531
+ showContextMenu
72532
+ }, Symbol.toStringTag, { value: "Module" }));
72506
72533
  function BimTree(props) {
72507
72534
  const [objects, setObjects] = React2.useState([]);
72508
72535
  const [expandedItems, setExpandedItems] = React2.useState([]);
@@ -75898,7 +75925,7 @@ Averrage Date/Second ${avgDataRatePS} kb
75898
75925
  isTrue(settings2.value.ui.bimTreePanel) || isTrue(settings2.value.ui.bimInfoPanel),
75899
75926
  Math.min(props.container.root.clientWidth * 0.25, 340)
75900
75927
  );
75901
- const [contextMenu, setcontextMenu] = React2.useState();
75928
+ const [contextMenu2, setcontextMenu] = React2.useState();
75902
75929
  const [controlBarCustom, setControlBarCustom] = React2.useState();
75903
75930
  const bimInfoRef = useBimInfo();
75904
75931
  const viewerState = useViewerState(props.viewer);
@@ -76012,7 +76039,7 @@ Averrage Date/Second ${avgDataRatePS} kb
76012
76039
  modal: modal.current,
76013
76040
  isolation: isolationRef,
76014
76041
  selection: viewerState.selection.get(),
76015
- customization: contextMenu,
76042
+ customization: contextMenu2,
76016
76043
  treeRef
76017
76044
  }
76018
76045
  ),
@@ -76356,6 +76383,7 @@ Averrage Date/Second ${avgDataRatePS} kb
76356
76383
  }, Symbol.toStringTag, { value: "Module" }));
76357
76384
  const index = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
76358
76385
  __proto__: null,
76386
+ ContextMenu: contextMenu,
76359
76387
  ControlBar: index$5,
76360
76388
  Errors: index$3,
76361
76389
  Icons: icons,