@vertexvis/viewer 0.17.5-testing.4 → 0.17.5
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/README.template.md +3 -3
- package/dist/cjs/{controller-4e9ef328.js → controller-c7c4f333.js} +6 -6
- package/dist/cjs/controller-c7c4f333.js.map +1 -0
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{scene-9762fef8.js → scene-4425281f.js} +6 -3
- package/dist/cjs/scene-4425281f.js.map +1 -0
- package/dist/cjs/vertex-scene-tree-search_3.cjs.entry.js +1 -3
- package/dist/cjs/vertex-scene-tree-search_3.cjs.entry.js.map +1 -1
- package/dist/cjs/vertex-scene-tree.cjs.entry.js +1 -1
- package/dist/cjs/vertex-viewer-pin-group.cjs.entry.js +1 -1
- package/dist/cjs/vertex-viewer.cjs.entry.js +13 -10
- package/dist/cjs/vertex-viewer.cjs.entry.js.map +1 -1
- package/dist/collection/components/scene-tree/lib/controller.js +5 -5
- package/dist/collection/components/scene-tree/lib/controller.js.map +1 -1
- package/dist/collection/components/scene-tree-table-layout/scene-tree-table-layout.js +1 -3
- package/dist/collection/components/scene-tree-table-layout/scene-tree-table-layout.js.map +1 -1
- package/dist/collection/components/viewer/viewer.js +3 -3
- package/dist/collection/components/viewer/viewer.js.map +1 -1
- package/dist/collection/lib/interactions/interactionApiOrthographic.js +5 -4
- package/dist/collection/lib/interactions/interactionApiOrthographic.js.map +1 -1
- package/dist/collection/lib/interactions/interactionApiPerspective.js +4 -3
- package/dist/collection/lib/interactions/interactionApiPerspective.js.map +1 -1
- package/dist/collection/lib/interactions/multiTouchInteractionHandler.js +3 -2
- package/dist/collection/lib/interactions/multiTouchInteractionHandler.js.map +1 -1
- package/dist/collection/lib/types/loadableResource.js +5 -2
- package/dist/collection/lib/types/loadableResource.js.map +1 -1
- package/dist/collection/testing/viewer.js +2 -2
- package/dist/collection/testing/viewer.js.map +1 -1
- package/dist/custom-elements/index.js +23 -19
- package/dist/custom-elements/index.js.map +1 -1
- package/dist/esm/{controller-53f803d9.js → controller-bbcc1700.js} +6 -6
- package/dist/esm/controller-bbcc1700.js.map +1 -0
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.mjs +2 -2
- package/dist/esm/{scene-1bd307f3.js → scene-31d88655.js} +6 -3
- package/dist/esm/scene-31d88655.js.map +1 -0
- package/dist/esm/vertex-scene-tree-search_3.entry.js +1 -3
- package/dist/esm/vertex-scene-tree-search_3.entry.js.map +1 -1
- package/dist/esm/vertex-scene-tree.entry.js +1 -1
- package/dist/esm/vertex-viewer-pin-group.entry.js +1 -1
- package/dist/esm/vertex-viewer.entry.js +13 -10
- package/dist/esm/vertex-viewer.entry.js.map +1 -1
- package/dist/types/components/viewer/viewer.d.ts +2 -2
- package/dist/types/components.d.ts +3 -3
- package/dist/types/testing/viewer.d.ts +2 -2
- package/dist/viewer/index.esm.js +1 -1
- package/dist/viewer/{p-921ec41b.js → p-3d19b37e.js} +2 -2
- package/dist/viewer/p-3d19b37e.js.map +1 -0
- package/dist/viewer/p-43eb668e.js +5 -0
- package/dist/viewer/p-43eb668e.js.map +1 -0
- package/dist/viewer/{p-951a2e08.entry.js → p-5ce0269a.entry.js} +2 -2
- package/dist/viewer/p-5ce0269a.entry.js.map +1 -0
- package/dist/viewer/{p-1815d19b.entry.js → p-6114701c.entry.js} +2 -2
- package/dist/viewer/p-8f16e792.entry.js +5 -0
- package/dist/viewer/p-8f16e792.entry.js.map +1 -0
- package/dist/viewer/{p-9b8dae4a.entry.js → p-d256624d.entry.js} +2 -2
- package/dist/viewer/viewer.esm.js +1 -1
- package/package.json +7 -7
- package/readme.md +7 -7
- package/dist/cjs/controller-4e9ef328.js.map +0 -1
- package/dist/cjs/scene-9762fef8.js.map +0 -1
- package/dist/esm/controller-53f803d9.js.map +0 -1
- package/dist/esm/scene-1bd307f3.js.map +0 -1
- package/dist/viewer/p-27a5034e.entry.js +0 -5
- package/dist/viewer/p-27a5034e.entry.js.map +0 -1
- package/dist/viewer/p-921ec41b.js.map +0 -1
- package/dist/viewer/p-951a2e08.entry.js.map +0 -1
- package/dist/viewer/p-c3be5b4d.js +0 -5
- package/dist/viewer/p-c3be5b4d.js.map +0 -1
- /package/dist/viewer/{p-1815d19b.entry.js.map → p-6114701c.entry.js.map} +0 -0
- /package/dist/viewer/{p-9b8dae4a.entry.js.map → p-d256624d.entry.js.map} +0 -0
|
@@ -36,7 +36,7 @@ export declare class Viewer {
|
|
|
36
36
|
* A URN of the scene resource to load when the component is mounted in the
|
|
37
37
|
* DOM tree. The specified resource is a URN in the following format:
|
|
38
38
|
*
|
|
39
|
-
* * `urn:
|
|
39
|
+
* * `urn:vertex:scene:<sceneid>`
|
|
40
40
|
*/
|
|
41
41
|
src?: string;
|
|
42
42
|
/**
|
|
@@ -466,7 +466,7 @@ export declare class Viewer {
|
|
|
466
466
|
* resolves when the scene has been loaded. The specified scene is
|
|
467
467
|
* provided as a URN in the following format:
|
|
468
468
|
*
|
|
469
|
-
* * `urn:
|
|
469
|
+
* * `urn:vertex:scene:<sceneid>`
|
|
470
470
|
*
|
|
471
471
|
* @param urn The URN of the resource to load.
|
|
472
472
|
*/
|
|
@@ -405,7 +405,7 @@ export namespace Components {
|
|
|
405
405
|
*/
|
|
406
406
|
"keyboardControls": boolean;
|
|
407
407
|
/**
|
|
408
|
-
* Loads the given scene into the viewer and return a `Promise` that resolves when the scene has been loaded. The specified scene is provided as a URN in the following format: * `urn:
|
|
408
|
+
* Loads the given scene into the viewer and return a `Promise` that resolves when the scene has been loaded. The specified scene is provided as a URN in the following format: * `urn:vertex:scene:<sceneid>`
|
|
409
409
|
* @param urn The URN of the resource to load.
|
|
410
410
|
*/
|
|
411
411
|
"load": (urn: string) => Promise<void>;
|
|
@@ -448,7 +448,7 @@ export namespace Components {
|
|
|
448
448
|
*/
|
|
449
449
|
"selectionHighlighting"?: SelectionHighlightingOptions;
|
|
450
450
|
/**
|
|
451
|
-
* A URN of the scene resource to load when the component is mounted in the DOM tree. The specified resource is a URN in the following format: * `urn:
|
|
451
|
+
* A URN of the scene resource to load when the component is mounted in the DOM tree. The specified resource is a URN in the following format: * `urn:vertex:scene:<sceneid>`
|
|
452
452
|
*/
|
|
453
453
|
"src"?: string;
|
|
454
454
|
"stencilBuffer": StencilBufferManager;
|
|
@@ -1812,7 +1812,7 @@ declare namespace LocalJSX {
|
|
|
1812
1812
|
*/
|
|
1813
1813
|
"selectionHighlighting"?: SelectionHighlightingOptions;
|
|
1814
1814
|
/**
|
|
1815
|
-
* A URN of the scene resource to load when the component is mounted in the DOM tree. The specified resource is a URN in the following format: * `urn:
|
|
1815
|
+
* A URN of the scene resource to load when the component is mounted in the DOM tree. The specified resource is a URN in the following format: * `urn:vertex:scene:<sceneid>`
|
|
1816
1816
|
*/
|
|
1817
1817
|
"src"?: string;
|
|
1818
1818
|
/**
|
|
@@ -10,8 +10,8 @@ interface LoadViewerStreamKeyOptions {
|
|
|
10
10
|
token?: string;
|
|
11
11
|
beforeConnected?: VoidFunction;
|
|
12
12
|
}
|
|
13
|
-
export declare const key1 = "urn:
|
|
14
|
-
export declare const key2 = "urn:
|
|
13
|
+
export declare const key1 = "urn:vertex:stream-key:123";
|
|
14
|
+
export declare const key2 = "urn:vertex:stream-key:234";
|
|
15
15
|
export declare function makeViewerStream(): {
|
|
16
16
|
stream: ViewerStream;
|
|
17
17
|
ws: WebSocketClientMock;
|
package/dist/viewer/index.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Copyright (c) 2023 Vertex Software LLC. All rights reserved.
|
|
3
3
|
*/
|
|
4
|
-
export{c as ColorMaterial,l as LoadableResource,S as Scene,a as SynchronizedClock}from"./p-
|
|
4
|
+
export{c as ColorMaterial,l as LoadableResource,S as Scene,a as SynchronizedClock}from"./p-43eb668e.js";export{S as SceneTreeController}from"./p-3d19b37e.js";export{f as fromNodeProto,i as isLoadedRow}from"./p-c5381b4a.js";export{C as CursorManager,b as boxQueryCursor,l as labelPinCursor,m as measurementCursor,a as measurementWithArrowCursor,p as pinCursor}from"./p-3a256fe9.js";export{M as MeasurementController,a as MeasurementEntity}from"./p-ed57c0c5.js";export{M as MeasurementModel}from"./p-867331de.js";export{M as MeasurementOverlayManager}from"./p-db85855d.js";export{m as makeMinimumDistanceResult}from"./p-99f8e7e0.js";export{A as AngleUnits,f as AreaUnits,D as DistanceUnits,F as FrameCameraBase,a as ReceivedFrame,b as ReceivedFrameImage,c as ReceivedFrameScene,d as ReceivedOrthographicCamera,e as ReceivedPerspectiveCamera}from"./p-39eab85b.js";export{E as EntityType}from"./p-e1d82323.js";export{A as ArrowMarkup,C as CircleMarkup,F as FreeformMarkup}from"./p-39d1f26c.js";export{V as Viewport}from"./p-1bb66e64.js";import{v as r,q as o,m as s}from"./p-71fbe522.js";export{T as TransformController}from"./p-4025ad8d.js";export{V as VolumeIntersectionQueryController}from"./p-3ef0121f.js";import"./p-7f54de9d.js";import"./p-d45df0c0.js";import"./p-7578885f.js";import"./p-6320532c.js";import"./p-9acf99ad.js";import"./p-259a4bef.js";const t=.9999;function n(e){const o=r.create(0,e.z,-e.y);const a=r.create(-e.z,0,e.x);const s=r.magnitudeSquared(o)>r.magnitudeSquared(a)?o:a;return r.normalize(r.cross(e,s))}function u(e,a){const p=r.dot(e,a);if(p>t){const r=n(e);const a=o.fromAxisAngle(r,Math.PI);return s.makeRotation(a)}else if(p<=-t){return s.makeIdentity()}else{const t=r.angleTo(a,e);const n=r.normalize(r.cross(e,a));return s.makeRotation(o.fromAxisAngle(n,t+Math.PI))}}function j(e,o,a,t){const n=u(e,a);const p=s.makeTranslation(t);return s.multiply(s.multiply(p,n),s.makeTranslation(r.negate(o)))}const x=Object.freeze({__proto__:null,ALMOST_ONE:t,calculateOrthogonalCoordinate:n,computeRotationMatrix:u,computeTransformationDelta:j});export{x as TransformationDelta};
|
|
5
5
|
//# sourceMappingURL=index.esm.js.map
|