Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
8587feb
prep for yarn 4 in gitignore
aeischeid Apr 27, 2026
48b1ecb
basic version bump and config changes for stencil4, TS 5, & React19
aeischeid Apr 27, 2026
3b17207
formating or prettier type changes
aeischeid Apr 28, 2026
5850586
TS tightening & stencil upgrade specific changes
aeischeid Apr 28, 2026
f824a25
muted console.debug in jest setup
aeischeid Apr 28, 2026
e179ee1
fix missing hasGeometry attr
aeischeid Apr 28, 2026
9924829
remove @aee getMarkupElement from viewr-markup
aeischeid Apr 28, 2026
a3f9a32
Moxks and type tightening around png-decoder
aeischeid Apr 28, 2026
cfea7c6
clearLoadingTimer and terminate on webWorker mock
aeischeid Apr 28, 2026
45c10d2
runInBand for jest limit concurancy for stencil
aeischeid Apr 28, 2026
3f6860e
fix png-decoder import issue
aeischeid Apr 28, 2026
8e4072c
update stencil config for new TS plugin
aeischeid Apr 28, 2026
afa7ca8
Merge branch 'master' into newReact19Stencil4
aeischeid Apr 28, 2026
dd52889
Update yarn.lock
aeischeid Apr 28, 2026
a527d05
Update rollup.config to pass inlineDynamicImports: true
aeischeid Apr 28, 2026
59f27b4
Merge branch 'master' into newReact19Stencil4
aeischeid Apr 29, 2026
a21f413
revert doc-viewer packages to private for now
aeischeid Apr 29, 2026
8b0939b
add back working version of `@see` for viewer documentation
aeischeid Apr 29, 2026
14d94b3
add stencilPackageName for reactOutputTarget in viewer
aeischeid Apr 29, 2026
81803f2
update interval type to NodeJS.Timeout per feedback
aeischeid Apr 29, 2026
691e1af
add some readonly specifiers per sonarQube suggestions
aeischeid Apr 29, 2026
1a7586c
remove applyPolyfills from the viewer-vue too
aeischeid Apr 29, 2026
56ba9c1
remove obsolete requestidlecallback polyfill
aeischeid Apr 29, 2026
f7afa72
new lock file after removing polyfill
aeischeid Apr 29, 2026
72c5511
react-output-target needs to be a runtime dep of react packages, but
aeischeid Apr 29, 2026
712fa0b
bump stream-api to ts 5 too, last one
aeischeid Apr 29, 2026
c78e14b
attempt better SSR case for viewer-react
aeischeid Apr 29, 2026
a52ffd4
Revert "attempt better SSR case for viewer-react"
aeischeid Apr 30, 2026
7bda5d3
defensive wrappers around window object to avoid SSR issues
aeischeid Apr 29, 2026
46f1a5a
basic test for SSR safety / via node import try
aeischeid Apr 30, 2026
e29999f
make builder and viewer-react module first bundles
aeischeid Apr 30, 2026
e8313d3
big push to move builds to type:module
aeischeid May 1, 2026
2d301bf
fix postbuild script - which exists to maintain backwards compat with
aeischeid May 1, 2026
867de4d
Potential fix for pull request finding in formate-example.js
aeischeid May 1, 2026
466bab6
more backwards compatible exports map for viewer
aeischeid May 1, 2026
55bb5ef
address sonar complaints in short term way so i can test builds
aeischeid May 1, 2026
6cb4499
use explict prettier deb more directly
aeischeid May 1, 2026
7e92766
minor update to lockfile for prettier
aeischeid May 1, 2026
b8c96b1
Merge branch 'master' into newReact19Stencil4
aeischeid May 1, 2026
9e26ec1
remove nomodule fallbacks in examples that pointed to artifacts that
aeischeid May 1, 2026
b446dfa
have doc-viewer exports/bundles match viewer
aeischeid May 1, 2026
d181168
will do withouth html comment lines and have examples in readme instead
aeischeid May 1, 2026
2ae52f1
had to rename lint config files after changing to type module in
aeischeid May 1, 2026
8bcc23b
Merge branch 'master' into newReact19Stencil4
aeischeid May 1, 2026
3a394f9
new yarn.lock after merge main
aeischeid May 1, 2026
525b825
Merge branch 'master' into newReact19Stencil4
aeischeid May 4, 2026
76857ad
fix botched conflict resolve done via GH ui
aeischeid May 4, 2026
4235cf0
fix another unresolved merge
aeischeid May 4, 2026
72d3efd
newly generated lock
aeischeid May 4, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ jspm_packages/

# Yarn Integrity file
.yarn-integrity
.yarn/install-state.gz

# dotenv environment variables file
.env
Expand Down Expand Up @@ -84,4 +85,4 @@ generated/
# Ignore TSDoc directory
docs/

.tool-versions
.tool-versions
6 changes: 5 additions & 1 deletion examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
Examples default to loading resources from CDNs. To test or experiment with local resources instead:

1. Open an example such as [pmi/index.html](./pmi/index.html).
2. Change URLs that point to CDNs to point to local package assets instead. Most of these will be in the `<head>`, but some examples also import SDK modules directly from CDN URLs in `.js` files.
2. Change URLs that point to CDNs to point to local package assets instead. Most of these will be in the `<head>`, but some examples also import SDK modules directly from CDN URLs in `.js` files. Here is an example of the tags to replace
``` html
<link rel="stylesheet" href="/packages/viewer/dist/viewer/viewer.css" />
<script type="module" src="/packages/viewer/dist/viewer/viewer.esm.js"></script>
```
3. Build a local package:

```sh
Expand Down
8 changes: 1 addition & 7 deletions examples/align-two-surfaces/index.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en" xml:lang="en">
<head>
<title>Align Two Surfaces</title>

<script type="module" src="main.js"></script>

<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@vertexvis/viewer@0.24.x/dist/viewer/viewer.css"
Expand All @@ -13,11 +12,6 @@
type="module"
src="https://cdn.jsdelivr.net/npm/@vertexvis/viewer@0.24.x/dist/viewer/viewer.esm.js"
></script>
<script
nomodule
src="https://cdn.jsdelivr.net/npm/@vertexvis/viewer@0.24.x/dist/viewer.js"
></script>

<style>
html,
body {
Expand Down
6 changes: 1 addition & 5 deletions examples/camera-manipulations/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en" xml:lang="en">
<head>
<title>Camera Manipulations</title>
Expand All @@ -14,10 +14,6 @@
type="module"
src="https://cdn.jsdelivr.net/npm/@vertexvis/viewer@0.24.x/dist/viewer/viewer.esm.js"
></script>
<script
nomodule
src="https://cdn.jsdelivr.net/npm/@vertexvis/viewer@0.24.x/dist/viewer.js"
></script>
</head>
<body>
<div>
Expand Down
6 changes: 1 addition & 5 deletions examples/custom-interactions/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en" xml:lang="en">
<head>
<title>Custom Interactions</title>
Expand All @@ -14,10 +14,6 @@
type="module"
src="https://cdn.jsdelivr.net/npm/@vertexvis/viewer@0.24.x/dist/viewer/viewer.esm.js"
></script>
<script
nomodule
src="https://cdn.jsdelivr.net/npm/@vertexvis/viewer@0.24.x/dist/viewer.js"
></script>
</head>
<body>
<vertex-viewer id="viewer" class="viewer" camera-controls="false">
Expand Down
6 changes: 1 addition & 5 deletions examples/end-items/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html dir="ltr" lang="en">
<head>
<title>End Items</title>
Expand All @@ -13,10 +13,6 @@
type="module"
src="https://cdn.jsdelivr.net/npm/@vertexvis/viewer@0.24.x/dist/viewer/viewer.esm.js"
></script>
<script
nomodule
src="https://cdn.jsdelivr.net/npm/@vertexvis/viewer@0.24.x/dist/viewer.js"
></script>

<style>
html,
Expand Down
13 changes: 7 additions & 6 deletions examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0"
/>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Examples</title>
<style>
:root {
color-scheme: light;
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
font-family:
system-ui,
-apple-system,
BlinkMacSystemFont,
'Segoe UI',
sans-serif;
}

Expand Down Expand Up @@ -73,7 +74,7 @@
<main>
<div class="back"><a href="/">Back to root</a></div>
<h1>Examples</h1>
<p>Browse the available SDK examples served by Vite.</p>
<p>Browse the available SDK examples</p>
<div class="grid">
<a href="/examples/align-two-surfaces/">
<strong>Align Two Surfaces</strong>
Expand Down
18 changes: 10 additions & 8 deletions examples/loading-models/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en" xml:lang="en">
<head>
<title>Loading Models</title>
Expand All @@ -14,15 +14,17 @@
type="module"
src="https://cdn.jsdelivr.net/npm/@vertexvis/viewer@0.24.x/dist/viewer/viewer.esm.js"
></script>
<script
nomodule
src="https://cdn.jsdelivr.net/npm/@vertexvis/viewer@0.24.x/dist/viewer.js"
></script>
</head>
<body>
<h1 class="heading">Instructions</h1>
This example uses url parameters to define the stream key. Therefore, update your url to http://localhost:8080/loading-models?streamkey=YOUR_STREAM_KEY to load a model. For more information
on generating a stream key, see <a target="_blank" href="https://developer.vertexvis.com/docs/guides/authentication#viewer-component">Vertex's developer documentation</a>.
<h1 class="heading">Instructions</h1>
This example uses url parameters to define the stream key. Therefore, update
your url to http://localhost:8080/loading-models?streamkey=YOUR_STREAM_KEY
to load a model. For more information on generating a stream key, see
<a
target="_blank"
href="https://developer.vertexvis.com/docs/guides/authentication#viewer-component"
>Vertex's developer documentation</a
>.
<vertex-viewer id="viewer" class="viewer">
<vertex-viewer-toolbar data-viewer="viewer"></vertex-viewer-toolbar>
</vertex-viewer>
Expand Down
6 changes: 1 addition & 5 deletions examples/metadata-operations/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en" xml:lang="en">
<head>
<title>Metadata Operations</title>
Expand All @@ -14,10 +14,6 @@
type="module"
src="https://cdn.jsdelivr.net/npm/@vertexvis/viewer@0.24.x/dist/viewer/viewer.esm.js"
></script>
<script
nomodule
src="https://cdn.jsdelivr.net/npm/@vertexvis/viewer@0.24.x/dist/viewer.js"
></script>
</head>
<body>
<vertex-viewer id="viewer" class="viewer">
Expand Down
8 changes: 1 addition & 7 deletions examples/phantom-parts/index.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en" xml:lang="en">
<head>
<title>Phantom Parts</title>

<script type="module" src="main.js"></script>

<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@vertexvis/viewer@0.24.x/dist/viewer/viewer.css"
Expand All @@ -13,11 +12,6 @@
type="module"
src="https://cdn.jsdelivr.net/npm/@vertexvis/viewer@0.24.x/dist/viewer/viewer.esm.js"
></script>
<script
nomodule
src="https://cdn.jsdelivr.net/npm/@vertexvis/viewer@0.24.x/dist/viewer.js"
></script>

<style>
html,
body {
Expand Down
7 changes: 1 addition & 6 deletions examples/picking/index.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en" xml:lang="en">
<head>
<title>Picking</title>

<script type="module" src="main.js"></script>

<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@vertexvis/viewer@0.24.x/dist/viewer/viewer.css"
Expand All @@ -13,10 +12,6 @@
type="module"
src="https://cdn.jsdelivr.net/npm/@vertexvis/viewer@0.24.x/dist/viewer/viewer.esm.js"
></script>
<script
nomodule
src="https://cdn.jsdelivr.net/npm/@vertexvis/viewer@0.24.x/dist/viewer.js"
></script>

<style>
html,
Expand Down
9 changes: 2 additions & 7 deletions examples/pmi/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,11 @@
-->
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@vertexvis/viewer@0.24.x/dist/viewer/viewer.css"
href="https://cdn.jsdelivr.net/npm/@vertexvis/viewer@1.0.0-testing.x/dist/viewer/viewer.css"
/>
<script
type="module"
src="https://cdn.jsdelivr.net/npm/@vertexvis/viewer@0.24.x/dist/viewer/viewer.esm.js"
></script>
<script
nomodule
src="https://cdn.jsdelivr.net/npm/@vertexvis/viewer@0.24.x/dist/viewer.js"
src="https://cdn.jsdelivr.net/npm/@vertexvis/viewer@1.0.0-testing.x/dist/viewer/viewer.esm.js"
></script>

<!--
Expand All @@ -33,7 +29,6 @@
type="module"
src="/packages/viewer/dist/viewer/viewer.esm.js"
></script>
<script nomodule src="/packages/viewer/dist/viewer.js"></script>
-->

<style>
Expand Down
126 changes: 67 additions & 59 deletions examples/scene-tree-columns/index.html
Original file line number Diff line number Diff line change
@@ -1,71 +1,79 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en" xml:lang="en">
<head>
<title>Scene Tree Columns</title>

<head>
<title>Scene Tree Columns</title>
<link rel="stylesheet" type="text/css" href="styles.css" />
<script type="module" src="main.js"></script>

<link rel="stylesheet" type="text/css" href="styles.css" />
<script type="module" src="main.js"></script>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@vertexvis/viewer@0.23.6-canary.3/dist/viewer/viewer.css"
/>
<script
type="module"
src="https://cdn.jsdelivr.net/npm/@vertexvis/viewer@0.23.6-canary.3/dist/viewer/viewer.esm.js"
></script>

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@vertexvis/viewer@0.23.6-canary.3/dist/viewer/viewer.css" />
<script type="module"
src="https://cdn.jsdelivr.net/npm/@vertexvis/viewer@0.23.6-canary.3/dist/viewer/viewer.esm.js"></script>
<script nomodule src="https://cdn.jsdelivr.net/npm/@vertexvis/viewer@0.23.6-canary.3/dist/viewer.js"></script>
<style>
body {
margin: 0;
padding: 0;
font-family:
-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica,
Arial, sans-serif;
}
</style>
</head>

<style>
body {
margin: 0;
padding: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
</style>
</head>

<body class="app">
<div class="left-panel">
<div class="tree">

<vertex-scene-tree id="scene-tree" viewer-selector="#viewer">
<vertex-scene-tree-table-layout id="table-layout">
<vertex-scene-tree-table-column>
<template>
<vertex-scene-tree-table-cell prop:value="{{row.node.name}}" event:click="{{row.data.handleClick}}"
expand-toggle></vertex-scene-tree-table-cell>
</template>
</vertex-scene-tree-table-column>
</vertex-scene-tree-table-layout>
</vertex-scene-tree>
<body class="app">
<div class="left-panel">
<div class="tree">
<vertex-scene-tree id="scene-tree" viewer-selector="#viewer">
<vertex-scene-tree-table-layout id="table-layout">
<vertex-scene-tree-table-column>
<template>
<vertex-scene-tree-table-cell
prop:value="{{row.node.name}}"
event:click="{{row.data.handleClick}}"
expand-toggle
></vertex-scene-tree-table-cell>
</template>
</vertex-scene-tree-table-column>
</vertex-scene-tree-table-layout>
</vertex-scene-tree>
</div>
</div>
</div>

<div class="center-panel">
<vertex-viewer id="viewer" class="viewer">
<vertex-viewer-toolbar data-viewer="viewer">
</vertex-viewer-toolbar>
<div class="viewer-overlay">
<button id="expand-all-btn" class="overlay-button">Expand All</button>
<button id="collapse-all-btn" class="overlay-button">Collapse All</button>
<button id="search-metadata-btn" class="overlay-button search-button">Search Metadata</button>
</div>
</vertex-viewer>
<div class="center-panel">
<vertex-viewer id="viewer" class="viewer">
<vertex-viewer-toolbar data-viewer="viewer"> </vertex-viewer-toolbar>
<div class="viewer-overlay">
<button id="expand-all-btn" class="overlay-button">Expand All</button>
<button id="collapse-all-btn" class="overlay-button">
Collapse All
</button>
<button id="search-metadata-btn" class="overlay-button search-button">
Search Metadata
</button>
</div>
</vertex-viewer>

<div class="selection-panel">
<div class="selection-header">
<h4>Selected Item</h4>
</div>
<div id="selection-content" class="selection-content">
<p>No item selected</p>
<div class="selection-panel">
<div class="selection-header">
<h4>Selected Item</h4>
</div>
<div id="selection-content" class="selection-content">
<p>No item selected</p>
</div>
</div>
</div>
</div>

<div class="available-columns">
<div class="available-columns-header">
<h4>Confugre Columns For Tree</h4>
</div>
<div class="available-columns-body">
<div class="available-columns">
<div class="available-columns-header">
<h4>Confugre Columns For Tree</h4>
</div>
<div class="available-columns-body"></div>
</div>
</div>
</body>

</html>
</body>
</html>
Loading
Loading