@vertexvis/viewer 1.0.2-canary.1 → 1.0.2-canary.2
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/cjs/index.cjs.js +1 -1
- package/dist/cjs/{multiElementInteractionHandler-DCKBIy58.js → multiElementInteractionHandler-BHvRKVIp.js} +20 -21
- package/dist/cjs/multiElementInteractionHandler-BHvRKVIp.js.map +1 -0
- package/dist/cjs/{queries-XG1IeRYE.js → queries-Da9I-xMf.js} +12 -12
- package/dist/cjs/queries-Da9I-xMf.js.map +1 -0
- package/dist/cjs/vertex-viewer-dom-element_2.cjs.entry.js +1 -1
- package/dist/cjs/vertex-viewer-teleport-tool.cjs.entry.js +1 -1
- package/dist/cjs/vertex-viewer-teleport-tool.cjs.entry.js.map +1 -1
- package/dist/cjs/vertex-viewer.cjs.entry.js +27 -18
- package/dist/cjs/vertex-viewer.cjs.entry.js.map +1 -1
- package/dist/collection/lib/interactions/baseInteractionHandler.js +18 -19
- package/dist/collection/lib/interactions/baseInteractionHandler.js.map +1 -1
- package/dist/collection/lib/interactions/interactionApi.js +17 -8
- package/dist/collection/lib/interactions/interactionApi.js.map +1 -1
- package/dist/collection/lib/interactions/mouseInteractions.js +8 -8
- package/dist/collection/lib/interactions/mouseInteractions.js.map +1 -1
- package/dist/collection/lib/scenes/camera.js +10 -10
- package/dist/collection/lib/scenes/camera.js.map +1 -1
- package/dist/collection/lib/teleportation/interactions.js +1 -1
- package/dist/collection/lib/teleportation/interactions.js.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-BR7cFxzj.js → p-3DqRAYgO.js} +2 -2
- package/dist/components/p-3DqRAYgO.js.map +1 -0
- package/dist/components/{p-Bkhr6gno.js → p-BCOD9yfw.js} +2 -2
- package/dist/components/p-CAugdB_8.js +5 -0
- package/dist/components/p-CAugdB_8.js.map +1 -0
- package/dist/components/p-CGCJ5hbJ.js +5 -0
- package/dist/components/p-CGCJ5hbJ.js.map +1 -0
- package/dist/components/vertex-viewer-dom-renderer.js +1 -1
- package/dist/components/vertex-viewer-pin-tool.js +1 -1
- package/dist/components/vertex-viewer-teleport-tool.js +1 -1
- package/dist/components/vertex-viewer-view-cube.js +1 -1
- package/dist/components/vertex-viewer-walk-mode-tool.js +1 -1
- package/dist/components/vertex-viewer.js +1 -1
- package/dist/components/vertex-viewer.js.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/{multiElementInteractionHandler-C3A6SPxu.js → multiElementInteractionHandler-DwjL-r55.js} +20 -21
- package/dist/esm/multiElementInteractionHandler-DwjL-r55.js.map +1 -0
- package/dist/esm/{queries-CsBLqW1v.js → queries-DEzCmbTD.js} +12 -12
- package/dist/esm/queries-DEzCmbTD.js.map +1 -0
- package/dist/esm/vertex-viewer-dom-element_2.entry.js +1 -1
- package/dist/esm/vertex-viewer-teleport-tool.entry.js +1 -1
- package/dist/esm/vertex-viewer-teleport-tool.entry.js.map +1 -1
- package/dist/esm/vertex-viewer.entry.js +27 -18
- package/dist/esm/vertex-viewer.entry.js.map +1 -1
- package/dist/types/lib/interactions/baseInteractionHandler.d.ts +1 -1
- package/dist/types/lib/interactions/interactionApi.d.ts +2 -2
- package/dist/types/lib/interactions/mouseInteractions.d.ts +2 -2
- package/dist/types/lib/scenes/camera.d.ts +1 -0
- package/dist/viewer/index.esm.js +1 -1
- package/dist/viewer/p-07b99ac9.entry.js +5 -0
- package/dist/viewer/p-07b99ac9.entry.js.map +1 -0
- package/dist/viewer/{p-5ced98d5.entry.js → p-29d14611.entry.js} +2 -2
- package/dist/viewer/{p-72a0588f.entry.js → p-89544066.entry.js} +2 -2
- package/dist/viewer/p-89544066.entry.js.map +1 -0
- package/dist/viewer/p-D6eJC1q4.js +5 -0
- package/dist/viewer/p-D6eJC1q4.js.map +1 -0
- package/dist/viewer/{p-5U-3M0jx.js → p-EsKoKfmx.js} +2 -2
- package/dist/viewer/p-EsKoKfmx.js.map +1 -0
- package/dist/viewer/viewer.esm.js +1 -1
- package/package.json +7 -7
- package/dist/cjs/multiElementInteractionHandler-DCKBIy58.js.map +0 -1
- package/dist/cjs/queries-XG1IeRYE.js.map +0 -1
- package/dist/components/p-BQrJ-Yrs.js +0 -5
- package/dist/components/p-BQrJ-Yrs.js.map +0 -1
- package/dist/components/p-BR7cFxzj.js.map +0 -1
- package/dist/components/p-DizXmW54.js +0 -5
- package/dist/components/p-DizXmW54.js.map +0 -1
- package/dist/esm/multiElementInteractionHandler-C3A6SPxu.js.map +0 -1
- package/dist/esm/queries-CsBLqW1v.js.map +0 -1
- package/dist/viewer/p-5U-3M0jx.js.map +0 -1
- package/dist/viewer/p-72a0588f.entry.js.map +0 -1
- package/dist/viewer/p-77a0c7b7.entry.js +0 -5
- package/dist/viewer/p-77a0c7b7.entry.js.map +0 -1
- package/dist/viewer/p-CxLXWk2n.js +0 -5
- package/dist/viewer/p-CxLXWk2n.js.map +0 -1
- /package/dist/components/{p-Bkhr6gno.js.map → p-BCOD9yfw.js.map} +0 -0
- /package/dist/viewer/{p-5ced98d5.entry.js.map → p-29d14611.entry.js.map} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Copyright (c) 2026 Vertex Software LLC. All rights reserved.
|
|
3
3
|
*/
|
|
4
|
-
import{p as e,g as n,b as a}from"./p-CCVkga9Q.js";export{s as setNonce}from"./p-CCVkga9Q.js";var t=()=>{const n=import.meta.url;const a={};if(n!==""){a.resourcesUrl=new URL(".",n).href}return e(a)};t().then((async e=>{await n();return a(JSON.parse('[["p-864f40c7",[[257,"vertex-scene-tree",{"overScanCount":[2,"over-scan-count"],"viewerSelector":[1,"viewer-selector"],"viewer":[1040],"rowData":[16],"config":[1],"configEnv":[1,"config-env"],"controller":[1040],"searchOptions":[1040],"metadataSearchExactMatch":[1028,"metadata-search-exact-match"],"metadataSearchKeys":[1040],"metadataKeys":[16],"operationAnimationDuration":[2,"operation-animation-duration"],"rows":[32],"totalRows":[32],"showLoader":[32],"showEmptyResults":[32],"stateMap":[32],"errorDetails":[32],"hasPartialFilterResults":[32],"refreshingResults":[32],"attemptingRetry":[32],"invalidateRows":[64],"scrollToIndex":[64],"scrollToItem":[64],"expandAll":[64],"collapseAll":[64],"expandItem":[64],"collapseItem":[64],"toggleExpandItem":[64],"toggleItemVisibility":[64],"hideItem":[64],"showItem":[64],"selectItem":[64],"deselectItem":[64],"isolateItem":[64],"getRowAtIndex":[64],"getRowForItemId":[64],"getRowForEvent":[64],"getRowAtClientY":[64],"filterItems":[64],"selectFilteredItems":[64],"fetchMetadataKeys":[64]},[[0,"search","handleSearch"],[0,"cellLoaded","handleCellLoaded"]],{"viewer":[{"handleViewerChanged":0}],"controller":[{"handleControllerChanged":0}],"metadataKeys":[{"handleMetadataKeysChanged":0}]}]]],["p-e59983dc",[[1,"vertex-viewer-pin-tool",{"pinController":[1040],"pinModel":[16],"viewer":[16],"tool":[1025],"mode":[1025],"primaryColor":[1025,"primary-color"],"accentColor":[1025,"accent-color"],"pins":[32],"selectedPinId":[32],"elementBounds":[32],"projectionViewMatrix":[32]},null,{"mode":[{"watchModeChange":0}],"tool":[{"watchTypeChange":0}],"accentColor":[{"watchAccentColorChange":0}],"primaryColor":[{"watchPrimaryColorChange":0}],"pins":[{"watchPinsChange":0}],"viewer":[{"handleViewerChanged":0}]}]]],["p-5963afa1",[[1,"vertex-viewer-default-toolbar",{"viewer":[16],"placement":[1],"direction":[1],"animationsDisabled":[4,"animations-disabled"],"animationMs":[2,"animation-ms"]}]]],["p-e993f300",[[257,"vertex-viewer-markup",{"arrowTemplateId":[1,"arrow-template-id"],"circleTemplateId":[1,"circle-template-id"],"freeformTemplateId":[1,"freeform-template-id"],"tool":[1],"disabled":[4],"viewer":[16],"selectedMarkupId":[1025,"selected-markup-id"],"selectNew":[4,"select-new"],"startLineAnchorStyle":[1025,"start-line-anchor-style"],"endLineAnchorStyle":[1025,"end-line-anchor-style"],"originatingViewport":[16],"centeringBehavior":[1,"centering-behavior"],"offset":[16],"scale":[2],"toSelectMarkupId":[32],"pointerDownPosition":[32],"addMarkup":[64],"removeMarkup":[64],"getMarkupElements":[64],"getMarkupElement":[64]},[[0,"markupEnd","handleMarkupEnd"],[0,"interactionEnd","handleMarkupUpdated"],[1,"pointerdown","handleMarkupPointerDown"]],{"selectedMarkupId":[{"handleSelectedMarkupIdChanged":0}],"arrowTemplateId":[{"handlePropertyChanged":0}],"circleTemplateId":[{"handlePropertyChanged":0}],"freeformTemplateId":[{"handlePropertyChanged":0}],"tool":[{"handlePropertyChanged":0}],"viewer":[{"handleViewerChanged":0}],"originatingViewport":[{"handleViewerChanged":0}],"centeringBehavior":[{"handleViewerChanged":0}],"offset":[{"handleViewerChanged":0}],"scale":[{"handleViewerChanged":0}],"disabled":[{"handleDisabledChanged":0}],"startLineAnchorStyle":[{"handleStartLineAnchorStyleChanged":0}],"endLineAnchorStyle":[{"handleEndLineAnchorStyleChanged":0}]}]]],["p-7f388b45",[[257,"vertex-viewer-markup-tool",{"arrowTemplateId":[1,"arrow-template-id"],"circleTemplateId":[1,"circle-template-id"],"freeformTemplateId":[1,"freeform-template-id"],"tool":[1],"disabled":[4],"viewer":[16],"startLineAnchorStyle":[1025,"start-line-anchor-style"],"endLineAnchorStyle":[1025,"end-line-anchor-style"],"originatingViewport":[16],"centeringBehavior":[1,"centering-behavior"],"offset":[16],"scale":[2],"stateMap":[32],"reset":[64]},null,{"viewer":[{"handleViewerChanged":0}],"arrowTemplateId":[{"handlePropertyChanged":0}],"circleTemplateId":[{"handlePropertyChanged":0}],"disabled":[{"handlePropertyChanged":0}],"endLineAnchorStyle":[{"handlePropertyChanged":0}],"freeformTemplateId":[{"handlePropertyChanged":0}],"startLineAnchorStyle":[{"handlePropertyChanged":0}],"tool":[{"handlePropertyChanged":0}],"scale":[{"handleScalingConfigurationChanged":0}],"offset":[{"handleScalingConfigurationChanged":0}],"originatingViewport":[{"handleScalingConfigurationChanged":0}],"centeringBehavior":[{"handleScalingConfigurationChanged":0}]}]]],["p-3300d3dc",[[1,"vertex-viewer-view-cube",{"xPositiveLabel":[1,"x-positive-label"],"xNegativeLabel":[1,"x-negative-label"],"yPositiveLabel":[1,"y-positive-label"],"yNegativeLabel":[1,"y-negative-label"],"zPositiveLabel":[1,"z-positive-label"],"zNegativeLabel":[1,"z-negative-label"],"standardViewsOff":[4,"standard-views-off"],"viewAll":[4,"view-all"],"animationDuration":[2,"animation-duration"],"triadOff":[4,"triad-off"],"worldOrientation":[1040],"camera":[1040],"viewer":[16],"boxLength":[32],"triadPosition":[32]},null,{"viewer":[{"handleViewerChanged":0}]}]]],["p-e9b83dae",[[1,"vertex-viewer-measurement-distance",{"start":[1040],"startJson":[1,"start-json"],"end":[1040],"endJson":[1,"end-json"],"distance":[1026],"showAxisReferenceLines":[4,"show-axis-reference-lines"],"snapDistance":[2,"snap-distance"],"units":[1],"fractionalDigits":[2,"fractional-digits"],"labelFormatter":[16],"anchorLabelOffset":[2,"anchor-label-offset"],"lineCapLength":[2,"line-cap-length"],"mode":[513],"interactingAnchor":[1537,"interacting-anchor"],"invalid":[1540],"camera":[16],"hitProvider":[16],"indicatorPt":[1040],"viewer":[16],"measurementModel":[16],"viewport":[32],"elementBounds":[32],"interactionCount":[32],"internalCamera":[32],"invalidateStateCounter":[32],"stateMap":[32],"measurementUnits":[32],"computeElementMetrics":[64]},null,{"viewer":[{"handleViewerChanged":0}],"units":[{"handleUnitsChanged":1}],"camera":[{"handleCameraChanged":0}],"mode":[{"handleModeChanged":0}],"start":[{"handleStartChanged":0}],"end":[{"handleEndChanged":0}],"invalid":[{"handleInvalidChanged":0}]}]]],["p-f65c0769",[[1,"vertex-viewer-measurement-precise",{"measurementModel":[16],"measurementOverlays":[16],"measurementController":[1040],"measurableEntityTypes":[16],"viewer":[16],"configEnv":[1,"config-env"],"config":[1]},null,{"measurableEntityTypes":[{"handleMeasurableEntityTypesChanged":0}],"measurementController":[{"handleMeasurementControllerChanged":0}],"measurementModel":[{"handleMeasurementModelChanged":1}],"viewer":[{"handleViewerChanged":0}]}]]],["p-63f4f702",[[257,"vertex-scene-tree-table-cell",{"node":[16],"tree":[16],"value":[1],"placeholder":[1],"alwaysShowIcons":[4,"always-show-icons"],"hovered":[1028],"isScrolling":[4,"is-scrolling"],"expandToggle":[4,"expand-toggle"],"endItemIndicator":[4,"end-item-indicator"],"visibilityToggle":[4,"visibility-toggle"],"isolateButton":[4,"isolate-button"],"selectionHandler":[16],"visibilityHandler":[16],"expansionHandler":[16],"isolateHandler":[16],"hoverController":[16]}]]],["p-b5cc83a4",[[1,"vertex-viewer-annotation-callout",{"data":[16],"iconSize":[1,"icon-size"]}]]],["p-aa95e21a",[[257,"vertex-viewer-box-query-tool",{"viewer":[16],"controller":[1040],"model":[1040],"operationType":[1,"operation-type"],"mode":[1],"details":[32]},null,{"viewer":[{"handleViewerChanged":0}],"operationType":[{"handleDefaultOperationChange":0}],"mode":[{"handleModeChange":0}],"controller":[{"handleControllerChange":0}]}]]],["p-47766566",[[257,"vertex-viewer-walk-mode-tool",{"viewer":[16],"controller":[1040],"model":[1040],"teleportMode":[1,"teleport-mode"],"enabled":[4]},null,{"enabled":[{"handleEnabledChanged":0}],"viewer":[{"handleViewerChanged":0}],"teleportMode":[{"handleTeleportModeChanged":0}],"controller":[{"handleControllerChanged":0}],"model":[{"handleModelChanged":0}]}]]],["p-686eef80",[[257,"vertex-scene-tree-table-column",{"initialWidth":[2,"initial-width"],"minWidth":[2,"min-width"],"maxWidth":[2,"max-width"]}]]],["p-c7bd9aea",[[257,"vertex-scene-tree-table-header"]]],["p-dad8f3cf",[[257,"vertex-scene-tree-table-resize-divider",{"hovering":[32],"dragging":[32]}]]],["p-cf2ea8e9",[[257,"vertex-scene-tree-toolbar-group"]]],["p-77a0c7b7",[[257,"vertex-viewer",{"src":[1],"clientId":[1,"client-id"],"deviceId":[1025,"device-id"],"config":[1],"configEnv":[1,"config-env"],"resolvedConfig":[1040],"cameraControls":[4,"camera-controls"],"cameraType":[1537,"camera-type"],"keyboardControls":[4,"keyboard-controls"],"rotateAroundTapPoint":[4,"rotate-around-tap-point"],"token":[1025],"depthBuffers":[1,"depth-buffers"],"phantom":[16],"noDefaultLights":[4,"no-default-lights"],"enableTemporalRefinement":[4,"enable-temporal-refinement"],"experimentalRenderingOptions":[1,"experimental-rendering-options"],"featureLines":[16],"selectionHighlighting":[16],"featureHighlighting":[16],"sceneComparison":[16],"crossSectioning":[16],"featureMaps":[1,"feature-maps"],"resizeDebounce":[2,"resize-debounce"],"frame":[1040],"stream":[1040],"stencilBuffer":[1040],"viewport":[1040],"annotations":[1040],"modelViews":[1040],"pmi":[1040],"sceneItems":[1040],"canvases":[1040],"experimentalSkipVisibilityCheck":[4,"experimental-skip-visibility-check"],"dimensions":[32],"hostDimensions":[32],"errorMessage":[32],"cursor":[32],"stateMap":[32],"dispatchFrameDrawn":[64],"registerInteractionHandler":[64],"registerBasicInteractionHandler":[64],"registerTapKeyInteraction":[64],"getInteractionTarget_DEPRECATED":[64],"addCursor":[64],"getInteractionHandlers":[64],"getKeyInteractions":[64],"getBaseInteractionHandler":[64],"getJwt":[64],"load":[64],"unload":[64],"reload":[64],"scene":[64],"isSceneReady":[64]},[[0,"tap","handleTapEvent"]],{"src":[{"handleSrcChanged":0}],"cameraControls":[{"handleCameraControlsChanged":0}],"keyboardControls":[{"handleKeyboardControlsChanged":0}],"rotateAroundTapPoint":[{"handleRotateAboutTapPointChanged":0}],"cameraType":[{"handleCameraTypeChanged":0}],"crossSectioning":[{"handleStreamAttributesChanged":0}],"depthBuffers":[{"handleStreamAttributesChanged":0}],"experimentalRenderingOptions":[{"handleStreamAttributesChanged":0}],"featureHighlighting":[{"handleStreamAttributesChanged":0}],"featureLines":[{"handleStreamAttributesChanged":0}],"featureMaps":[{"handleStreamAttributesChanged":0}],"noDefaultLights":[{"handleStreamAttributesChanged":0}],"phantom":[{"handleStreamAttributesChanged":0}],"sceneComparison":[{"handleStreamAttributesChanged":0}],"selectionHighlighting":[{"handleStreamAttributesChanged":0}],"enableTemporalRefinement":[{"handleEnableTemporalRefinementChanged":0}],"config":[{"handleConfigChanged":0}],"configEnv":[{"handleConfigEnvChanged":0}]}]]],["p-60c915e3",[[1,"vertex-viewer-hit-result-indicator",{"viewer":[16],"position":[1040],"normal":[1040]},null,{"viewer":[{"handleViewerChanged":0}],"position":[{"handlePositionChanged":0}],"normal":[{"handleNormalChanged":0}]}]]],["p-33f44cc1",[[1,"vertex-viewer-measurement-details",{"measurementModel":[16],"measurementOverlays":[16],"measurementOutcome":[1040],"distanceUnits":[1,"distance-units"],"angleUnits":[1,"angle-units"],"fractionalDigits":[2,"fractional-digits"],"distanceFormatter":[16],"angleFormatter":[16],"areaFormatter":[16],"resultTypes":[16],"overlay":[32],"distanceMeasurementUnits":[32],"angleMeasurementUnits":[32],"areaMeasurementUnits":[32]},null,{"distanceUnits":[{"handleDistanceUnitsChanged":1}],"angleUnits":[{"handleAngleUnitsChanged":1}],"measurementModel":[{"handleMeasurementModelChanged":1}],"resultTypes":[{"handleResultTypesChanged":0}]}]]],["p-eac63070",[[1,"vertex-viewer-transform-widget",{"viewer":[16],"position":[1040],"rotation":[1040],"controller":[1040],"xRotationDisabled":[1028,"x-rotation-disabled"],"yRotationDisabled":[1028,"y-rotation-disabled"],"zRotationDisabled":[1028,"z-rotation-disabled"],"xTranslationDisabled":[1028,"x-translation-disabled"],"yTranslationDisabled":[1028,"y-translation-disabled"],"zTranslationDisabled":[1028,"z-translation-disabled"],"xyTranslationDisabled":[1028,"xy-translation-disabled"],"xzTranslationDisabled":[1028,"xz-translation-disabled"],"yzTranslationDisabled":[1028,"yz-translation-disabled"],"showInputs":[4,"show-inputs"],"distanceUnit":[1,"distance-unit"],"angleUnit":[1,"angle-unit"],"decimalPlaces":[2,"decimal-places"],"rotationSnapDegrees":[2,"rotation-snap-degrees"],"rotationSnapKey":[1,"rotation-snap-key"],"translationHandleScalar":[2,"translation-handle-scalar"],"rotationHandleScalar":[2,"rotation-handle-scalar"],"interactionThrottle":[2,"interaction-throttle"],"EXPERIMENTAL_undoKeybindings":[4,"e-x-p-e-r-i-m-e-n-t-a-l_undo-keybindings"],"hovered":[1040],"inputPosition":[32],"inputValue":[32],"isEndingTransform":[32],"EXPERIMENTAL_undo":[64]},null,{"viewer":[{"handleViewerChanged":0}],"xTranslationDisabled":[{"handleDisabledPropertyChanged":0}],"yTranslationDisabled":[{"handleDisabledPropertyChanged":0}],"zTranslationDisabled":[{"handleDisabledPropertyChanged":0}],"xyTranslationDisabled":[{"handleDisabledPropertyChanged":0}],"xzTranslationDisabled":[{"handleDisabledPropertyChanged":0}],"yzTranslationDisabled":[{"handleDisabledPropertyChanged":0}],"xRotationDisabled":[{"handleDisabledPropertyChanged":0}],"yRotationDisabled":[{"handleDisabledPropertyChanged":0}],"zRotationDisabled":[{"handleDisabledPropertyChanged":0}],"translationHandleScalar":[{"handleTransformHandleScalarChanged":0}],"rotationHandleScalar":[{"handleTransformHandleScalarChanged":0}],"rotation":[{"handleRotationChanged":0}],"position":[{"handlePositionChanged":0}],"distanceUnit":[{"handleInputFormattingChanged":0}],"angleUnit":[{"handleInputFormattingChanged":0}],"decimalPlaces":[{"handleInputFormattingChanged":0}]}]]],["p-5a85cae5",[[0,"vertex-viewer-pin-group",{"pin":[16],"matrix":[1040],"projectionViewMatrix":[16],"elementBounds":[1040],"pinModel":[16],"pinController":[1040],"selected":[4],"occluded":[1540],"detached":[1540],"invalidateStateCounter":[32]},[[0,"occlusionStateChanged","handleOcclusionStateChanged"],[0,"detachedStateChanged","handleDetachedStateChanged"]]]]],["p-3d3a7eeb",[[262,"vertex-viewer-dom-group",{"position":[1040],"positionJson":[1,"position"],"rotation":[1040],"rotationJson":[1,"rotation"],"quaternion":[1040],"quaternionJson":[1,"quaternion"],"scale":[1040],"scaleJson":[1,"scale"],"matrix":[1040]},null,{"position":[{"handlePositionChange":0}],"positionJson":[{"handlePositionJsonChanged":0}],"rotation":[{"handleRotationChanged":0}],"rotationJson":[{"handleRotationJsonChanged":0}],"quaternion":[{"handleQuaternionChange":0}],"quaternionJson":[{"handleQuaternionJsonChanged":0}],"scale":[{"handleScaleChange":0}],"scaleJson":[{"handleScaleJsonChanged":0}],"matrix":[{"handleMatrixChanged":0}]}]]],["p-72a0588f",[[1,"vertex-viewer-teleport-tool",{"viewer":[16],"mode":[1025],"animationsDisabled":[4,"animations-disabled"],"animationMs":[2,"animation-ms"],"controller":[1040],"model":[1040]},null,{"mode":[{"handleModeChange":0}],"viewer":[{"handleViewerChanged":0}],"animationMs":[{"handleAnimationMsChanged":0}],"animationsDisabled":[{"handleAnimationsDisabledChanged":0}],"controller":[{"handleControllerChanged":0}],"model":[{"handleModelChanged":0}]}]]],["p-e98db875",[[1,"vertex-viewer-spinner",{"size":[1]}]]],["p-ba57a018",[[257,"vertex-viewer-layer",{"stretchOff":[516,"stretch-off"]}]]],["p-dd5d4304",[[257,"vertex-viewer-toolbar",{"placement":[1],"direction":[1]}],[257,"vertex-viewer-button"],[257,"vertex-viewer-toolbar-group",{"direction":[1]}]]],["p-302f2078",[[257,"vertex-scene-tree-search",{"debounce":[2],"disabled":[4],"placeholder":[1],"controller":[16],"value":[1025],"focused":[32],"isSearching":[32],"setFocus":[64],"clear":[64]},null,{"controller":[{"controllerChanged":0}]}],[1,"vertex-scene-tree-notification-banner",{"message":[1],"actionLabel":[1,"action-label"]}],[257,"vertex-scene-tree-table-layout",{"tree":[16],"controller":[16],"rows":[16],"totalRows":[2,"total-rows"],"rowHeight":[1026,"row-height"],"overScanCount":[2,"over-scan-count"],"rowData":[16],"layoutOffset":[1026,"layout-offset"],"scrollOffset":[1026,"scroll-offset"],"layoutHeight":[1026,"layout-height"],"layoutWidth":[1026,"layout-width"],"viewportStartIndex":[1026,"viewport-start-index"],"viewportEndIndex":[1026,"viewport-end-index"],"columnGridLayout":[32],"columnGridFixedLayout":[32],"isComputingCellHeight":[32],"lastDividerPointerPosition":[32],"resizingColumnIndex":[32],"isScrolling":[32],"scrollTimer":[32],"stateMap":[32],"scrollToPosition":[64],"attemptComputeCellHeight":[64]},null,{"rows":[{"handleViewportRowsPropsChanged":0}],"totalRows":[{"handleViewportRowsPropsChanged":0}],"rowHeight":[{"handleViewportRowsPropsChanged":0}]}],[257,"vertex-scene-tree-toolbar"]]],["p-6e3a6bbd",[[0,"vertex-viewer-pin-label",{"pin":[16],"elementBounds":[16],"value":[1025],"pinController":[1040],"focused":[32],"computedScreenPosition":[32],"textareaRows":[32],"contentElBounds":[32],"setFocus":[64],"submit":[64]},null,{"focused":[{"watchFocusChange":0}],"pin":[{"watchPinChange":0}],"elementBounds":[{"watchElementBoundsChange":0}]}],[0,"vertex-viewer-pin-label-line",{"pinPoint":[16],"labelPoint":[16],"pin":[16]}]]],["p-70f3629d",[[1,"vertex-viewer-measurement-overlays",{"measurementOverlays":[16],"camera":[1040],"viewer":[16],"overlays":[32]},null,{"measurementOverlays":[{"handleMeasurementOverlaysChanged":0}],"viewer":[{"handleViewerChanged":0}]}],[1,"vertex-viewer-measurement-line",{"start":[16],"end":[16],"capLength":[2,"cap-length"],"pointerEvents":[1,"pointer-events"]}]]],["p-5ced98d5",[[262,"vertex-viewer-dom-renderer",{"drawMode":[1,"draw-mode"],"propagateEventsToViewer":[4,"propagate-events-to-viewer"],"viewer":[16],"camera":[1040],"depthBuffer":[1040],"viewport":[32],"invalidateFrameCounter":[32],"interactionDisposables":[32]},[[0,"propertyChange","handlePropertyChange"]],{"viewer":[{"handleViewerChange":0}]}],[257,"vertex-viewer-dom-element",{"position":[1040],"positionJson":[1,"position"],"rotation":[1040],"rotationJson":[1,"rotation"],"quaternion":[1040],"quaternionJson":[1,"quaternion"],"scale":[1040],"scaleJson":[1,"scale"],"matrix":[1040],"occlusionOff":[4,"occlusion-off"],"occluded":[516],"detachedOff":[4,"detached-off"],"detached":[516],"billboardOff":[4,"billboard-off"],"interactionsOff":[516,"interactions-off"]},null,{"position":[{"handlePositionChange":1}],"positionJson":[{"handlePositionJsonChanged":1}],"rotation":[{"handleRotationChanged":1}],"rotationJson":[{"handleRotationJsonChanged":1}],"quaternion":[{"handleQuaternionChange":1}],"quaternionJson":[{"handleQuaternionJsonChanged":1}],"scale":[{"handleScaleChange":1}],"scaleJson":[{"handleScaleJsonChanged":1}],"matrix":[{"handleMatrixChanged":0}],"occluded":[{"handleOcclusionStateChanged":0}],"detached":[{"handleDetachedStateChanged":0}]}]]],["p-d37e647b",[[1,"vertex-viewer-markup-arrow",{"start":[1040],"startJson":[1,"start"],"end":[1040],"endJson":[1,"end"],"originatingViewport":[16],"centeringBehavior":[1,"centering-behavior"],"offset":[16],"scale":[2],"startLineAnchorStyle":[1025,"start-line-anchor-style"],"endLineAnchorStyle":[1025,"end-line-anchor-style"],"mode":[513],"viewer":[16],"elementBounds":[32],"dispose":[64]},null,{"viewer":[{"handleViewerChanged":0}],"start":[{"handleStartJsonChange":0}],"end":[{"handleEndJsonChange":0}],"mode":[{"handleModeChange":0}],"offset":[{"handleScalingConfigurationChange":0}],"originatingViewport":[{"handleScalingConfigurationChange":0}],"centeringBehavior":[{"handleScalingConfigurationChange":0}],"scale":[{"handleScalingConfigurationChange":0},{"handleScaleChange":0}]}],[1,"vertex-viewer-markup-circle",{"bounds":[1040],"boundsJson":[1,"bounds"],"mode":[513],"viewer":[16],"originatingViewport":[16],"centeringBehavior":[1,"centering-behavior"],"offset":[16],"scale":[2],"elementBounds":[32],"dispose":[64]},null,{"viewer":[{"handleViewerChanged":0}],"bounds":[{"handleBoundsJsonChange":0}],"mode":[{"handleModeChange":0}],"offset":[{"handleScalingConfigurationChange":0}],"originatingViewport":[{"handleScalingConfigurationChange":0}],"centeringBehavior":[{"handleScalingConfigurationChange":0}],"scale":[{"handleScalingConfigurationChange":0},{"handleScaleChange":0}]}],[1,"vertex-viewer-markup-freeform",{"points":[1040],"pointsJson":[1,"points"],"bounds":[1040],"boundsJson":[1,"bounds"],"mode":[513],"viewer":[16],"originatingViewport":[16],"centeringBehavior":[1,"centering-behavior"],"offset":[16],"scale":[2],"elementBounds":[32],"screenPoints":[32],"dispose":[64]},null,{"viewer":[{"handleViewerChanged":0}],"originatingViewport":[{"recomputePointsFromProps":0},{"handleScalingConfigurationChange":0}],"offset":[{"recomputePointsFromProps":0},{"handleScalingConfigurationChange":0}],"scale":[{"recomputePointsFromProps":0},{"handleScalingConfigurationChange":0},{"handleScaleChange":0}],"bounds":[{"recomputePointsFromProps":0}],"points":[{"recomputePointsFromProps":0}],"centeringBehavior":[{"handleScalingConfigurationChange":0}],"mode":[{"handleModeChange":0}]}]]],["p-a9282481",[[1,"vertex-viewer-icon",{"name":[1],"size":[1]}]]]]'),e)}));
|
|
4
|
+
import{p as e,g as n,b as a}from"./p-CCVkga9Q.js";export{s as setNonce}from"./p-CCVkga9Q.js";var t=()=>{const n=import.meta.url;const a={};if(n!==""){a.resourcesUrl=new URL(".",n).href}return e(a)};t().then((async e=>{await n();return a(JSON.parse('[["p-864f40c7",[[257,"vertex-scene-tree",{"overScanCount":[2,"over-scan-count"],"viewerSelector":[1,"viewer-selector"],"viewer":[1040],"rowData":[16],"config":[1],"configEnv":[1,"config-env"],"controller":[1040],"searchOptions":[1040],"metadataSearchExactMatch":[1028,"metadata-search-exact-match"],"metadataSearchKeys":[1040],"metadataKeys":[16],"operationAnimationDuration":[2,"operation-animation-duration"],"rows":[32],"totalRows":[32],"showLoader":[32],"showEmptyResults":[32],"stateMap":[32],"errorDetails":[32],"hasPartialFilterResults":[32],"refreshingResults":[32],"attemptingRetry":[32],"invalidateRows":[64],"scrollToIndex":[64],"scrollToItem":[64],"expandAll":[64],"collapseAll":[64],"expandItem":[64],"collapseItem":[64],"toggleExpandItem":[64],"toggleItemVisibility":[64],"hideItem":[64],"showItem":[64],"selectItem":[64],"deselectItem":[64],"isolateItem":[64],"getRowAtIndex":[64],"getRowForItemId":[64],"getRowForEvent":[64],"getRowAtClientY":[64],"filterItems":[64],"selectFilteredItems":[64],"fetchMetadataKeys":[64]},[[0,"search","handleSearch"],[0,"cellLoaded","handleCellLoaded"]],{"viewer":[{"handleViewerChanged":0}],"controller":[{"handleControllerChanged":0}],"metadataKeys":[{"handleMetadataKeysChanged":0}]}]]],["p-e59983dc",[[1,"vertex-viewer-pin-tool",{"pinController":[1040],"pinModel":[16],"viewer":[16],"tool":[1025],"mode":[1025],"primaryColor":[1025,"primary-color"],"accentColor":[1025,"accent-color"],"pins":[32],"selectedPinId":[32],"elementBounds":[32],"projectionViewMatrix":[32]},null,{"mode":[{"watchModeChange":0}],"tool":[{"watchTypeChange":0}],"accentColor":[{"watchAccentColorChange":0}],"primaryColor":[{"watchPrimaryColorChange":0}],"pins":[{"watchPinsChange":0}],"viewer":[{"handleViewerChanged":0}]}]]],["p-5963afa1",[[1,"vertex-viewer-default-toolbar",{"viewer":[16],"placement":[1],"direction":[1],"animationsDisabled":[4,"animations-disabled"],"animationMs":[2,"animation-ms"]}]]],["p-e993f300",[[257,"vertex-viewer-markup",{"arrowTemplateId":[1,"arrow-template-id"],"circleTemplateId":[1,"circle-template-id"],"freeformTemplateId":[1,"freeform-template-id"],"tool":[1],"disabled":[4],"viewer":[16],"selectedMarkupId":[1025,"selected-markup-id"],"selectNew":[4,"select-new"],"startLineAnchorStyle":[1025,"start-line-anchor-style"],"endLineAnchorStyle":[1025,"end-line-anchor-style"],"originatingViewport":[16],"centeringBehavior":[1,"centering-behavior"],"offset":[16],"scale":[2],"toSelectMarkupId":[32],"pointerDownPosition":[32],"addMarkup":[64],"removeMarkup":[64],"getMarkupElements":[64],"getMarkupElement":[64]},[[0,"markupEnd","handleMarkupEnd"],[0,"interactionEnd","handleMarkupUpdated"],[1,"pointerdown","handleMarkupPointerDown"]],{"selectedMarkupId":[{"handleSelectedMarkupIdChanged":0}],"arrowTemplateId":[{"handlePropertyChanged":0}],"circleTemplateId":[{"handlePropertyChanged":0}],"freeformTemplateId":[{"handlePropertyChanged":0}],"tool":[{"handlePropertyChanged":0}],"viewer":[{"handleViewerChanged":0}],"originatingViewport":[{"handleViewerChanged":0}],"centeringBehavior":[{"handleViewerChanged":0}],"offset":[{"handleViewerChanged":0}],"scale":[{"handleViewerChanged":0}],"disabled":[{"handleDisabledChanged":0}],"startLineAnchorStyle":[{"handleStartLineAnchorStyleChanged":0}],"endLineAnchorStyle":[{"handleEndLineAnchorStyleChanged":0}]}]]],["p-7f388b45",[[257,"vertex-viewer-markup-tool",{"arrowTemplateId":[1,"arrow-template-id"],"circleTemplateId":[1,"circle-template-id"],"freeformTemplateId":[1,"freeform-template-id"],"tool":[1],"disabled":[4],"viewer":[16],"startLineAnchorStyle":[1025,"start-line-anchor-style"],"endLineAnchorStyle":[1025,"end-line-anchor-style"],"originatingViewport":[16],"centeringBehavior":[1,"centering-behavior"],"offset":[16],"scale":[2],"stateMap":[32],"reset":[64]},null,{"viewer":[{"handleViewerChanged":0}],"arrowTemplateId":[{"handlePropertyChanged":0}],"circleTemplateId":[{"handlePropertyChanged":0}],"disabled":[{"handlePropertyChanged":0}],"endLineAnchorStyle":[{"handlePropertyChanged":0}],"freeformTemplateId":[{"handlePropertyChanged":0}],"startLineAnchorStyle":[{"handlePropertyChanged":0}],"tool":[{"handlePropertyChanged":0}],"scale":[{"handleScalingConfigurationChanged":0}],"offset":[{"handleScalingConfigurationChanged":0}],"originatingViewport":[{"handleScalingConfigurationChanged":0}],"centeringBehavior":[{"handleScalingConfigurationChanged":0}]}]]],["p-3300d3dc",[[1,"vertex-viewer-view-cube",{"xPositiveLabel":[1,"x-positive-label"],"xNegativeLabel":[1,"x-negative-label"],"yPositiveLabel":[1,"y-positive-label"],"yNegativeLabel":[1,"y-negative-label"],"zPositiveLabel":[1,"z-positive-label"],"zNegativeLabel":[1,"z-negative-label"],"standardViewsOff":[4,"standard-views-off"],"viewAll":[4,"view-all"],"animationDuration":[2,"animation-duration"],"triadOff":[4,"triad-off"],"worldOrientation":[1040],"camera":[1040],"viewer":[16],"boxLength":[32],"triadPosition":[32]},null,{"viewer":[{"handleViewerChanged":0}]}]]],["p-e9b83dae",[[1,"vertex-viewer-measurement-distance",{"start":[1040],"startJson":[1,"start-json"],"end":[1040],"endJson":[1,"end-json"],"distance":[1026],"showAxisReferenceLines":[4,"show-axis-reference-lines"],"snapDistance":[2,"snap-distance"],"units":[1],"fractionalDigits":[2,"fractional-digits"],"labelFormatter":[16],"anchorLabelOffset":[2,"anchor-label-offset"],"lineCapLength":[2,"line-cap-length"],"mode":[513],"interactingAnchor":[1537,"interacting-anchor"],"invalid":[1540],"camera":[16],"hitProvider":[16],"indicatorPt":[1040],"viewer":[16],"measurementModel":[16],"viewport":[32],"elementBounds":[32],"interactionCount":[32],"internalCamera":[32],"invalidateStateCounter":[32],"stateMap":[32],"measurementUnits":[32],"computeElementMetrics":[64]},null,{"viewer":[{"handleViewerChanged":0}],"units":[{"handleUnitsChanged":1}],"camera":[{"handleCameraChanged":0}],"mode":[{"handleModeChanged":0}],"start":[{"handleStartChanged":0}],"end":[{"handleEndChanged":0}],"invalid":[{"handleInvalidChanged":0}]}]]],["p-f65c0769",[[1,"vertex-viewer-measurement-precise",{"measurementModel":[16],"measurementOverlays":[16],"measurementController":[1040],"measurableEntityTypes":[16],"viewer":[16],"configEnv":[1,"config-env"],"config":[1]},null,{"measurableEntityTypes":[{"handleMeasurableEntityTypesChanged":0}],"measurementController":[{"handleMeasurementControllerChanged":0}],"measurementModel":[{"handleMeasurementModelChanged":1}],"viewer":[{"handleViewerChanged":0}]}]]],["p-63f4f702",[[257,"vertex-scene-tree-table-cell",{"node":[16],"tree":[16],"value":[1],"placeholder":[1],"alwaysShowIcons":[4,"always-show-icons"],"hovered":[1028],"isScrolling":[4,"is-scrolling"],"expandToggle":[4,"expand-toggle"],"endItemIndicator":[4,"end-item-indicator"],"visibilityToggle":[4,"visibility-toggle"],"isolateButton":[4,"isolate-button"],"selectionHandler":[16],"visibilityHandler":[16],"expansionHandler":[16],"isolateHandler":[16],"hoverController":[16]}]]],["p-b5cc83a4",[[1,"vertex-viewer-annotation-callout",{"data":[16],"iconSize":[1,"icon-size"]}]]],["p-aa95e21a",[[257,"vertex-viewer-box-query-tool",{"viewer":[16],"controller":[1040],"model":[1040],"operationType":[1,"operation-type"],"mode":[1],"details":[32]},null,{"viewer":[{"handleViewerChanged":0}],"operationType":[{"handleDefaultOperationChange":0}],"mode":[{"handleModeChange":0}],"controller":[{"handleControllerChange":0}]}]]],["p-47766566",[[257,"vertex-viewer-walk-mode-tool",{"viewer":[16],"controller":[1040],"model":[1040],"teleportMode":[1,"teleport-mode"],"enabled":[4]},null,{"enabled":[{"handleEnabledChanged":0}],"viewer":[{"handleViewerChanged":0}],"teleportMode":[{"handleTeleportModeChanged":0}],"controller":[{"handleControllerChanged":0}],"model":[{"handleModelChanged":0}]}]]],["p-686eef80",[[257,"vertex-scene-tree-table-column",{"initialWidth":[2,"initial-width"],"minWidth":[2,"min-width"],"maxWidth":[2,"max-width"]}]]],["p-c7bd9aea",[[257,"vertex-scene-tree-table-header"]]],["p-dad8f3cf",[[257,"vertex-scene-tree-table-resize-divider",{"hovering":[32],"dragging":[32]}]]],["p-cf2ea8e9",[[257,"vertex-scene-tree-toolbar-group"]]],["p-07b99ac9",[[257,"vertex-viewer",{"src":[1],"clientId":[1,"client-id"],"deviceId":[1025,"device-id"],"config":[1],"configEnv":[1,"config-env"],"resolvedConfig":[1040],"cameraControls":[4,"camera-controls"],"cameraType":[1537,"camera-type"],"keyboardControls":[4,"keyboard-controls"],"rotateAroundTapPoint":[4,"rotate-around-tap-point"],"token":[1025],"depthBuffers":[1,"depth-buffers"],"phantom":[16],"noDefaultLights":[4,"no-default-lights"],"enableTemporalRefinement":[4,"enable-temporal-refinement"],"experimentalRenderingOptions":[1,"experimental-rendering-options"],"featureLines":[16],"selectionHighlighting":[16],"featureHighlighting":[16],"sceneComparison":[16],"crossSectioning":[16],"featureMaps":[1,"feature-maps"],"resizeDebounce":[2,"resize-debounce"],"frame":[1040],"stream":[1040],"stencilBuffer":[1040],"viewport":[1040],"annotations":[1040],"modelViews":[1040],"pmi":[1040],"sceneItems":[1040],"canvases":[1040],"experimentalSkipVisibilityCheck":[4,"experimental-skip-visibility-check"],"dimensions":[32],"hostDimensions":[32],"errorMessage":[32],"cursor":[32],"stateMap":[32],"dispatchFrameDrawn":[64],"registerInteractionHandler":[64],"registerBasicInteractionHandler":[64],"registerTapKeyInteraction":[64],"getInteractionTarget_DEPRECATED":[64],"addCursor":[64],"getInteractionHandlers":[64],"getKeyInteractions":[64],"getBaseInteractionHandler":[64],"getJwt":[64],"load":[64],"unload":[64],"reload":[64],"scene":[64],"isSceneReady":[64]},[[0,"tap","handleTapEvent"]],{"src":[{"handleSrcChanged":0}],"cameraControls":[{"handleCameraControlsChanged":0}],"keyboardControls":[{"handleKeyboardControlsChanged":0}],"rotateAroundTapPoint":[{"handleRotateAboutTapPointChanged":0}],"cameraType":[{"handleCameraTypeChanged":0}],"crossSectioning":[{"handleStreamAttributesChanged":0}],"depthBuffers":[{"handleStreamAttributesChanged":0}],"experimentalRenderingOptions":[{"handleStreamAttributesChanged":0}],"featureHighlighting":[{"handleStreamAttributesChanged":0}],"featureLines":[{"handleStreamAttributesChanged":0}],"featureMaps":[{"handleStreamAttributesChanged":0}],"noDefaultLights":[{"handleStreamAttributesChanged":0}],"phantom":[{"handleStreamAttributesChanged":0}],"sceneComparison":[{"handleStreamAttributesChanged":0}],"selectionHighlighting":[{"handleStreamAttributesChanged":0}],"enableTemporalRefinement":[{"handleEnableTemporalRefinementChanged":0}],"config":[{"handleConfigChanged":0}],"configEnv":[{"handleConfigEnvChanged":0}]}]]],["p-60c915e3",[[1,"vertex-viewer-hit-result-indicator",{"viewer":[16],"position":[1040],"normal":[1040]},null,{"viewer":[{"handleViewerChanged":0}],"position":[{"handlePositionChanged":0}],"normal":[{"handleNormalChanged":0}]}]]],["p-33f44cc1",[[1,"vertex-viewer-measurement-details",{"measurementModel":[16],"measurementOverlays":[16],"measurementOutcome":[1040],"distanceUnits":[1,"distance-units"],"angleUnits":[1,"angle-units"],"fractionalDigits":[2,"fractional-digits"],"distanceFormatter":[16],"angleFormatter":[16],"areaFormatter":[16],"resultTypes":[16],"overlay":[32],"distanceMeasurementUnits":[32],"angleMeasurementUnits":[32],"areaMeasurementUnits":[32]},null,{"distanceUnits":[{"handleDistanceUnitsChanged":1}],"angleUnits":[{"handleAngleUnitsChanged":1}],"measurementModel":[{"handleMeasurementModelChanged":1}],"resultTypes":[{"handleResultTypesChanged":0}]}]]],["p-eac63070",[[1,"vertex-viewer-transform-widget",{"viewer":[16],"position":[1040],"rotation":[1040],"controller":[1040],"xRotationDisabled":[1028,"x-rotation-disabled"],"yRotationDisabled":[1028,"y-rotation-disabled"],"zRotationDisabled":[1028,"z-rotation-disabled"],"xTranslationDisabled":[1028,"x-translation-disabled"],"yTranslationDisabled":[1028,"y-translation-disabled"],"zTranslationDisabled":[1028,"z-translation-disabled"],"xyTranslationDisabled":[1028,"xy-translation-disabled"],"xzTranslationDisabled":[1028,"xz-translation-disabled"],"yzTranslationDisabled":[1028,"yz-translation-disabled"],"showInputs":[4,"show-inputs"],"distanceUnit":[1,"distance-unit"],"angleUnit":[1,"angle-unit"],"decimalPlaces":[2,"decimal-places"],"rotationSnapDegrees":[2,"rotation-snap-degrees"],"rotationSnapKey":[1,"rotation-snap-key"],"translationHandleScalar":[2,"translation-handle-scalar"],"rotationHandleScalar":[2,"rotation-handle-scalar"],"interactionThrottle":[2,"interaction-throttle"],"EXPERIMENTAL_undoKeybindings":[4,"e-x-p-e-r-i-m-e-n-t-a-l_undo-keybindings"],"hovered":[1040],"inputPosition":[32],"inputValue":[32],"isEndingTransform":[32],"EXPERIMENTAL_undo":[64]},null,{"viewer":[{"handleViewerChanged":0}],"xTranslationDisabled":[{"handleDisabledPropertyChanged":0}],"yTranslationDisabled":[{"handleDisabledPropertyChanged":0}],"zTranslationDisabled":[{"handleDisabledPropertyChanged":0}],"xyTranslationDisabled":[{"handleDisabledPropertyChanged":0}],"xzTranslationDisabled":[{"handleDisabledPropertyChanged":0}],"yzTranslationDisabled":[{"handleDisabledPropertyChanged":0}],"xRotationDisabled":[{"handleDisabledPropertyChanged":0}],"yRotationDisabled":[{"handleDisabledPropertyChanged":0}],"zRotationDisabled":[{"handleDisabledPropertyChanged":0}],"translationHandleScalar":[{"handleTransformHandleScalarChanged":0}],"rotationHandleScalar":[{"handleTransformHandleScalarChanged":0}],"rotation":[{"handleRotationChanged":0}],"position":[{"handlePositionChanged":0}],"distanceUnit":[{"handleInputFormattingChanged":0}],"angleUnit":[{"handleInputFormattingChanged":0}],"decimalPlaces":[{"handleInputFormattingChanged":0}]}]]],["p-5a85cae5",[[0,"vertex-viewer-pin-group",{"pin":[16],"matrix":[1040],"projectionViewMatrix":[16],"elementBounds":[1040],"pinModel":[16],"pinController":[1040],"selected":[4],"occluded":[1540],"detached":[1540],"invalidateStateCounter":[32]},[[0,"occlusionStateChanged","handleOcclusionStateChanged"],[0,"detachedStateChanged","handleDetachedStateChanged"]]]]],["p-3d3a7eeb",[[262,"vertex-viewer-dom-group",{"position":[1040],"positionJson":[1,"position"],"rotation":[1040],"rotationJson":[1,"rotation"],"quaternion":[1040],"quaternionJson":[1,"quaternion"],"scale":[1040],"scaleJson":[1,"scale"],"matrix":[1040]},null,{"position":[{"handlePositionChange":0}],"positionJson":[{"handlePositionJsonChanged":0}],"rotation":[{"handleRotationChanged":0}],"rotationJson":[{"handleRotationJsonChanged":0}],"quaternion":[{"handleQuaternionChange":0}],"quaternionJson":[{"handleQuaternionJsonChanged":0}],"scale":[{"handleScaleChange":0}],"scaleJson":[{"handleScaleJsonChanged":0}],"matrix":[{"handleMatrixChanged":0}]}]]],["p-89544066",[[1,"vertex-viewer-teleport-tool",{"viewer":[16],"mode":[1025],"animationsDisabled":[4,"animations-disabled"],"animationMs":[2,"animation-ms"],"controller":[1040],"model":[1040]},null,{"mode":[{"handleModeChange":0}],"viewer":[{"handleViewerChanged":0}],"animationMs":[{"handleAnimationMsChanged":0}],"animationsDisabled":[{"handleAnimationsDisabledChanged":0}],"controller":[{"handleControllerChanged":0}],"model":[{"handleModelChanged":0}]}]]],["p-e98db875",[[1,"vertex-viewer-spinner",{"size":[1]}]]],["p-ba57a018",[[257,"vertex-viewer-layer",{"stretchOff":[516,"stretch-off"]}]]],["p-dd5d4304",[[257,"vertex-viewer-toolbar",{"placement":[1],"direction":[1]}],[257,"vertex-viewer-button"],[257,"vertex-viewer-toolbar-group",{"direction":[1]}]]],["p-302f2078",[[257,"vertex-scene-tree-search",{"debounce":[2],"disabled":[4],"placeholder":[1],"controller":[16],"value":[1025],"focused":[32],"isSearching":[32],"setFocus":[64],"clear":[64]},null,{"controller":[{"controllerChanged":0}]}],[1,"vertex-scene-tree-notification-banner",{"message":[1],"actionLabel":[1,"action-label"]}],[257,"vertex-scene-tree-table-layout",{"tree":[16],"controller":[16],"rows":[16],"totalRows":[2,"total-rows"],"rowHeight":[1026,"row-height"],"overScanCount":[2,"over-scan-count"],"rowData":[16],"layoutOffset":[1026,"layout-offset"],"scrollOffset":[1026,"scroll-offset"],"layoutHeight":[1026,"layout-height"],"layoutWidth":[1026,"layout-width"],"viewportStartIndex":[1026,"viewport-start-index"],"viewportEndIndex":[1026,"viewport-end-index"],"columnGridLayout":[32],"columnGridFixedLayout":[32],"isComputingCellHeight":[32],"lastDividerPointerPosition":[32],"resizingColumnIndex":[32],"isScrolling":[32],"scrollTimer":[32],"stateMap":[32],"scrollToPosition":[64],"attemptComputeCellHeight":[64]},null,{"rows":[{"handleViewportRowsPropsChanged":0}],"totalRows":[{"handleViewportRowsPropsChanged":0}],"rowHeight":[{"handleViewportRowsPropsChanged":0}]}],[257,"vertex-scene-tree-toolbar"]]],["p-6e3a6bbd",[[0,"vertex-viewer-pin-label",{"pin":[16],"elementBounds":[16],"value":[1025],"pinController":[1040],"focused":[32],"computedScreenPosition":[32],"textareaRows":[32],"contentElBounds":[32],"setFocus":[64],"submit":[64]},null,{"focused":[{"watchFocusChange":0}],"pin":[{"watchPinChange":0}],"elementBounds":[{"watchElementBoundsChange":0}]}],[0,"vertex-viewer-pin-label-line",{"pinPoint":[16],"labelPoint":[16],"pin":[16]}]]],["p-70f3629d",[[1,"vertex-viewer-measurement-overlays",{"measurementOverlays":[16],"camera":[1040],"viewer":[16],"overlays":[32]},null,{"measurementOverlays":[{"handleMeasurementOverlaysChanged":0}],"viewer":[{"handleViewerChanged":0}]}],[1,"vertex-viewer-measurement-line",{"start":[16],"end":[16],"capLength":[2,"cap-length"],"pointerEvents":[1,"pointer-events"]}]]],["p-29d14611",[[262,"vertex-viewer-dom-renderer",{"drawMode":[1,"draw-mode"],"propagateEventsToViewer":[4,"propagate-events-to-viewer"],"viewer":[16],"camera":[1040],"depthBuffer":[1040],"viewport":[32],"invalidateFrameCounter":[32],"interactionDisposables":[32]},[[0,"propertyChange","handlePropertyChange"]],{"viewer":[{"handleViewerChange":0}]}],[257,"vertex-viewer-dom-element",{"position":[1040],"positionJson":[1,"position"],"rotation":[1040],"rotationJson":[1,"rotation"],"quaternion":[1040],"quaternionJson":[1,"quaternion"],"scale":[1040],"scaleJson":[1,"scale"],"matrix":[1040],"occlusionOff":[4,"occlusion-off"],"occluded":[516],"detachedOff":[4,"detached-off"],"detached":[516],"billboardOff":[4,"billboard-off"],"interactionsOff":[516,"interactions-off"]},null,{"position":[{"handlePositionChange":1}],"positionJson":[{"handlePositionJsonChanged":1}],"rotation":[{"handleRotationChanged":1}],"rotationJson":[{"handleRotationJsonChanged":1}],"quaternion":[{"handleQuaternionChange":1}],"quaternionJson":[{"handleQuaternionJsonChanged":1}],"scale":[{"handleScaleChange":1}],"scaleJson":[{"handleScaleJsonChanged":1}],"matrix":[{"handleMatrixChanged":0}],"occluded":[{"handleOcclusionStateChanged":0}],"detached":[{"handleDetachedStateChanged":0}]}]]],["p-d37e647b",[[1,"vertex-viewer-markup-arrow",{"start":[1040],"startJson":[1,"start"],"end":[1040],"endJson":[1,"end"],"originatingViewport":[16],"centeringBehavior":[1,"centering-behavior"],"offset":[16],"scale":[2],"startLineAnchorStyle":[1025,"start-line-anchor-style"],"endLineAnchorStyle":[1025,"end-line-anchor-style"],"mode":[513],"viewer":[16],"elementBounds":[32],"dispose":[64]},null,{"viewer":[{"handleViewerChanged":0}],"start":[{"handleStartJsonChange":0}],"end":[{"handleEndJsonChange":0}],"mode":[{"handleModeChange":0}],"offset":[{"handleScalingConfigurationChange":0}],"originatingViewport":[{"handleScalingConfigurationChange":0}],"centeringBehavior":[{"handleScalingConfigurationChange":0}],"scale":[{"handleScalingConfigurationChange":0},{"handleScaleChange":0}]}],[1,"vertex-viewer-markup-circle",{"bounds":[1040],"boundsJson":[1,"bounds"],"mode":[513],"viewer":[16],"originatingViewport":[16],"centeringBehavior":[1,"centering-behavior"],"offset":[16],"scale":[2],"elementBounds":[32],"dispose":[64]},null,{"viewer":[{"handleViewerChanged":0}],"bounds":[{"handleBoundsJsonChange":0}],"mode":[{"handleModeChange":0}],"offset":[{"handleScalingConfigurationChange":0}],"originatingViewport":[{"handleScalingConfigurationChange":0}],"centeringBehavior":[{"handleScalingConfigurationChange":0}],"scale":[{"handleScalingConfigurationChange":0},{"handleScaleChange":0}]}],[1,"vertex-viewer-markup-freeform",{"points":[1040],"pointsJson":[1,"points"],"bounds":[1040],"boundsJson":[1,"bounds"],"mode":[513],"viewer":[16],"originatingViewport":[16],"centeringBehavior":[1,"centering-behavior"],"offset":[16],"scale":[2],"elementBounds":[32],"screenPoints":[32],"dispose":[64]},null,{"viewer":[{"handleViewerChanged":0}],"originatingViewport":[{"recomputePointsFromProps":0},{"handleScalingConfigurationChange":0}],"offset":[{"recomputePointsFromProps":0},{"handleScalingConfigurationChange":0}],"scale":[{"recomputePointsFromProps":0},{"handleScalingConfigurationChange":0},{"handleScaleChange":0}],"bounds":[{"recomputePointsFromProps":0}],"points":[{"recomputePointsFromProps":0}],"centeringBehavior":[{"handleScalingConfigurationChange":0}],"mode":[{"handleModeChange":0}]}]]],["p-a9282481",[[1,"vertex-viewer-icon",{"name":[1],"size":[1]}]]]]'),e)}));
|
|
5
5
|
//# sourceMappingURL=viewer.esm.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vertexvis/viewer",
|
|
3
|
-
"version": "1.0.2-canary.
|
|
3
|
+
"version": "1.0.2-canary.2",
|
|
4
4
|
"description": "The Vertex SDK for viewing models.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Vertex Developers <support@vertex3d.com> (https://developer.vertex3d.com)",
|
|
@@ -76,12 +76,12 @@
|
|
|
76
76
|
"@improbable-eng/grpc-web": "^0.15.0",
|
|
77
77
|
"@stencil/core": "^4.43.5",
|
|
78
78
|
"@vertexvis/frame-streaming-protos": "^0.18.4",
|
|
79
|
-
"@vertexvis/geometry": "1.0.2-canary.
|
|
80
|
-
"@vertexvis/html-templates": "1.0.2-canary.
|
|
79
|
+
"@vertexvis/geometry": "1.0.2-canary.2",
|
|
80
|
+
"@vertexvis/html-templates": "1.0.2-canary.2",
|
|
81
81
|
"@vertexvis/scene-tree-protos": "^0.1.29",
|
|
82
82
|
"@vertexvis/scene-view-protos": "^0.8.2",
|
|
83
|
-
"@vertexvis/stream-api": "1.0.2-canary.
|
|
84
|
-
"@vertexvis/utils": "1.0.2-canary.
|
|
83
|
+
"@vertexvis/stream-api": "1.0.2-canary.2",
|
|
84
|
+
"@vertexvis/utils": "1.0.2-canary.2",
|
|
85
85
|
"@vertexvis/web-workers": "^0.1.0",
|
|
86
86
|
"camel-case": "^4.1.2",
|
|
87
87
|
"classnames": "^2.3.1",
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
"@vertexvis/eslint-config-vertexvis-typescript": "^0.5.0",
|
|
113
113
|
"@vertexvis/rollup-plugin-web-workers": "^0.1.0",
|
|
114
114
|
"@vertexvis/typescript-config-vertexvis": "1.1.0",
|
|
115
|
-
"@vertexwebsdk/build": "1.0.2-canary.
|
|
115
|
+
"@vertexwebsdk/build": "1.0.2-canary.2",
|
|
116
116
|
"abortcontroller-polyfill": "^1.7.3",
|
|
117
117
|
"chance": "^1.1.8",
|
|
118
118
|
"eslint": "^8.57.1",
|
|
@@ -126,5 +126,5 @@
|
|
|
126
126
|
"typedoc": "^0.28.14",
|
|
127
127
|
"typescript": "^5.2.0"
|
|
128
128
|
},
|
|
129
|
-
"gitHead": "
|
|
129
|
+
"gitHead": "210995a391b3d4c321b2ab0585bce083a5ed19fb"
|
|
130
130
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"multiElementInteractionHandler-DCKBIy58.js","sources":["src/lib/interactions/baseInteractionHandler.ts","src/lib/interactions/multiElementInteractionHandler.ts"],"sourcesContent":["import { Point } from '@vertexvis/geometry';\nimport { Disposable, EventDispatcher, Listener } from '@vertexvis/utils';\n\nimport { ConfigProvider } from '../config';\nimport { getMouseClientPosition } from '../dom';\nimport { InteractionApi } from './interactionApi';\nimport { BaseEvent } from './interactionEvent';\nimport { InteractionHandler } from './interactionHandler';\nimport {\n MouseInteraction,\n PanInteraction,\n PivotInteraction,\n RotateInteraction,\n RotatePointInteraction,\n TwistInteraction,\n ZoomInteraction,\n} from './mouseInteractions';\n\nexport type InteractionType =\n | 'rotate'\n | 'zoom'\n | 'pan'\n | 'twist'\n | 'rotate-point'\n | 'pivot';\n\nconst DEFAULT_FONT_SIZE = 16;\nconst DEFAULT_LINE_HEIGHT = 1.2;\n\nexport abstract class BaseInteractionHandler implements InteractionHandler {\n protected interactionApi?: InteractionApi;\n protected element?: HTMLElement;\n protected downPosition?: Point.Point;\n private downPositionCanvas?: Point.Point;\n private primaryInteraction: MouseInteraction;\n private currentInteraction?: MouseInteraction;\n private draggingInteraction: MouseInteraction | undefined;\n private lastPrimaryRotateInteraction?: MouseInteraction;\n private isDragging = false;\n private lastMoveEvent?: BaseEvent;\n private interactionTimer?: number;\n private keyboardControls = false;\n\n protected disableIndividualInteractions = false;\n\n private computedBodyStyle?: CSSStyleDeclaration;\n\n private primaryInteractionTypeChange = new EventDispatcher<void>();\n\n public constructor(\n protected downEvent: 'mousedown' | 'pointerdown',\n protected upEvent: 'mouseup' | 'pointerup',\n protected moveEvent: 'mousemove' | 'pointermove',\n private rotateInteraction: RotateInteraction,\n private rotatePointInteraction: RotatePointInteraction,\n private zoomInteraction: ZoomInteraction,\n private panInteraction: PanInteraction,\n private twistInteraction: TwistInteraction,\n private pivotInteraction: PivotInteraction,\n private getConfig: ConfigProvider\n ) {\n this.primaryInteraction = rotateInteraction;\n this.handleDownEvent = this.handleDownEvent.bind(this);\n this.handleMouseWheel = this.handleMouseWheel.bind(this);\n this.handleWindowMove = this.handleWindowMove.bind(this);\n this.handleWindowUp = this.handleWindowUp.bind(this);\n this.handleDoubleClick = this.handleDoubleClick.bind(this);\n }\n\n public initialize(element: HTMLElement, api: InteractionApi): void {\n this.element = element;\n this.interactionApi = api;\n element.addEventListener(this.downEvent, this.handleDownEvent);\n element.addEventListener('mousedown', this.handleDoubleClick);\n element.addEventListener('wheel', this.handleMouseWheel, {\n passive: false,\n });\n }\n\n public dispose(): void {\n this.element?.removeEventListener(this.downEvent, this.handleDownEvent);\n this.element?.removeEventListener('mousedown', this.handleDoubleClick);\n this.element?.removeEventListener('wheel', this.handleMouseWheel);\n this.element = undefined;\n }\n\n public onPrimaryInteractionTypeChange(listener: Listener<void>): Disposable {\n return this.primaryInteractionTypeChange.on(listener);\n }\n\n public setCurrentInteractionType(type?: InteractionType): void {\n switch (type) {\n case 'rotate':\n this.currentInteraction = this.rotateInteraction;\n break;\n case 'zoom':\n this.currentInteraction = this.zoomInteraction;\n break;\n case 'pan':\n this.currentInteraction = this.panInteraction;\n break;\n case 'twist':\n this.currentInteraction = this.twistInteraction;\n break;\n case 'rotate-point':\n this.currentInteraction = this.rotatePointInteraction;\n break;\n case 'pivot':\n this.currentInteraction = this.pivotInteraction;\n break;\n default:\n this.currentInteraction = undefined;\n }\n\n if (this.draggingInteraction) {\n const point = this.draggingInteraction.getPosition();\n this.draggingInteraction =\n this.currentInteraction || this.primaryInteraction;\n this.interactionApi?.resetLastAngle();\n this.draggingInteraction.setPosition(point);\n }\n }\n\n public getPrimaryInteractionType(): InteractionType {\n return this.primaryInteraction.getType();\n }\n\n public getCurrentInteractionType(): InteractionType {\n return (this.currentInteraction || this.primaryInteraction).getType();\n }\n\n public setPrimaryInteractionType(type: InteractionType): void {\n switch (type) {\n case 'rotate':\n this.primaryInteraction = this.rotateInteraction;\n this.lastPrimaryRotateInteraction = this.rotateInteraction;\n break;\n case 'rotate-point':\n this.primaryInteraction = this.rotatePointInteraction;\n this.lastPrimaryRotateInteraction = this.rotatePointInteraction;\n break;\n case 'zoom':\n this.primaryInteraction = this.zoomInteraction;\n break;\n case 'pan':\n this.primaryInteraction = this.panInteraction;\n break;\n case 'pivot':\n this.primaryInteraction = this.pivotInteraction;\n break;\n }\n this.primaryInteractionTypeChange.emit();\n }\n\n public setDefaultKeyboardControls(keyboardControls: boolean): void {\n this.keyboardControls = keyboardControls;\n }\n\n protected handleDownEvent(event: BaseEvent): void {\n // Prevent selection of any text while interacting with the model.\n event.preventDefault();\n\n this.interactionTimer = window.setTimeout(() => {\n this.downPosition = Point.create(event.screenX, event.screenY);\n this.downPositionCanvas = this.getCanvasPosition(event);\n this.interactionTimer = undefined;\n\n // Perform the current movement in the case that the interaction timer elapses\n if (this.lastMoveEvent != null) {\n this.handleWindowMove(this.lastMoveEvent);\n }\n }, this.getConfig().interactions.interactionDelay);\n\n window.addEventListener(this.moveEvent, this.handleWindowMove);\n window.addEventListener(this.upEvent, this.handleWindowUp);\n }\n\n protected handleWindowMove(event: BaseEvent): void {\n if (this.interactionTimer == null) {\n if (this.disableIndividualInteractions) {\n return;\n }\n\n const position = Point.create(event.screenX, event.screenY);\n const pixelThreshold =\n this.interactionApi != null\n ? this.interactionApi.pixelThreshold(this.isTouch(event))\n : 2;\n if (\n this.downPosition != null &&\n Point.distance(position, this.downPosition) >= pixelThreshold &&\n !this.isDragging\n ) {\n this.beginDrag(event);\n this.isDragging = true;\n }\n\n if (this.isDragging) {\n this.drag(event);\n }\n }\n\n this.lastMoveEvent = event;\n }\n\n protected async handleWindowUp(event: BaseEvent): Promise<void> {\n if (this.isDragging) {\n this.endDrag(event);\n this.isDragging = false;\n }\n\n if (this.interactionTimer != null) {\n window.clearTimeout(this.interactionTimer);\n this.interactionTimer = undefined;\n }\n\n window.removeEventListener(this.moveEvent, this.handleWindowMove);\n window.removeEventListener(this.upEvent, this.handleWindowUp);\n this.lastMoveEvent = undefined;\n }\n\n protected async handleDoubleClick(event: BaseEvent): Promise<void> {\n // event.detail is the number of clicks that have happened recently. If the number is 2, then the user double clicked.\n if (\n event.detail === 2 &&\n event.buttons === 4 &&\n this.interactionApi != null\n ) {\n await this.interactionApi.viewAll();\n }\n }\n\n protected beginDrag(event: BaseEvent): void {\n if (this.keyboardControls && event.metaKey && event.shiftKey) {\n this.currentInteraction = this.rotatePointInteraction;\n } else if (this.keyboardControls && event.shiftKey && event.altKey) {\n this.currentInteraction = this.twistInteraction;\n } else if (this.keyboardControls && event.shiftKey) {\n this.currentInteraction = this.zoomInteraction;\n } else if (this.keyboardControls && (event.metaKey || event.ctrlKey)) {\n this.currentInteraction = this.panInteraction;\n } else if (this.keyboardControls && event.altKey) {\n this.currentInteraction = this.rotateInteraction;\n }\n\n if (event.buttons === 1) {\n this.draggingInteraction =\n this.currentInteraction || this.primaryInteraction;\n } else if (event.buttons === 2) {\n this.draggingInteraction = this.panInteraction;\n } else if (event.buttons === 4) {\n this.draggingInteraction =\n this.lastPrimaryRotateInteraction ?? this.rotateInteraction;\n }\n\n if (\n this.draggingInteraction != null &&\n this.interactionApi != null &&\n this.element != null\n ) {\n // Ensure any scroll wheel interactions have been ended prior to beginning\n // another interaction to prevent the interaction from being ended early.\n this.zoomInteraction.endDrag(event, this.interactionApi);\n\n this.draggingInteraction.beginDrag(\n event,\n this.downPositionCanvas || Point.create(event.clientX, event.clientY),\n this.interactionApi,\n this.element\n );\n }\n }\n\n protected drag(event: BaseEvent): void {\n if (this.keyboardControls && event.altKey && event.shiftKey) {\n this.currentInteraction = this.twistInteraction;\n } else {\n this.currentInteraction = undefined;\n }\n this.draggingInteraction =\n this.currentInteraction ||\n this.draggingInteraction ||\n this.primaryInteraction;\n if (this.draggingInteraction != null && this.interactionApi != null) {\n this.draggingInteraction.drag(event, this.interactionApi);\n }\n }\n\n protected endDrag(event: BaseEvent): void {\n if (\n this.keyboardControls &&\n this.currentInteraction === this.twistInteraction\n ) {\n this.currentInteraction = undefined;\n }\n\n if (this.draggingInteraction != null && this.interactionApi != null) {\n this.draggingInteraction.endDrag(event, this.interactionApi);\n this.draggingInteraction = undefined;\n }\n }\n\n protected handleMouseWheel(event: WheelEvent): void {\n event.preventDefault();\n\n if (\n this.element != null &&\n this.interactionApi != null &&\n event.buttons !== 4\n ) {\n const delta =\n -this.wheelDeltaToPixels(event.deltaY, event.deltaMode) / 10;\n const rect = this.element.getBoundingClientRect();\n const point = getMouseClientPosition(event, rect);\n const scrollSize = Math.abs(event.deltaY);\n\n if (scrollSize < 12) {\n // For small wheel movements, send a single zoom event.\n void this.zoomInteraction.zoomToPoint(\n point,\n delta,\n this.interactionApi\n );\n } else {\n const divisions = Math.min(10, Math.ceil(scrollSize / 12));\n const zoomDelta = delta / divisions;\n // For larger wheel movements, divide the delta into multiple zoom events with increasing delay\n // which approximates a smooth zoom deceleration curve for the end user.\n for (let i = 1; i <= divisions; i++) {\n const delayMs = i * 5;\n window.setTimeout(() => {\n if (this.interactionApi != null) {\n this.zoomInteraction.zoomToPoint(\n point,\n zoomDelta,\n this.interactionApi,\n delayMs\n );\n }\n }, delayMs);\n }\n }\n }\n }\n\n protected wheelDeltaToPixels(deltaY: number, deltaMode: number): number {\n if (this.computedBodyStyle == null) {\n this.computedBodyStyle = window.getComputedStyle(document.body);\n }\n\n const defaultLineHeight =\n this.computedBodyStyle.getPropertyValue('fontSize') != null &&\n this.computedBodyStyle.getPropertyValue('fontSize') !== '' &&\n !isNaN(parseFloat(this.computedBodyStyle.getPropertyValue('fontSize')))\n ? parseFloat(this.computedBodyStyle.getPropertyValue('fontSize')) *\n DEFAULT_LINE_HEIGHT\n : DEFAULT_FONT_SIZE * DEFAULT_LINE_HEIGHT;\n\n if (deltaMode === 1) {\n // deltaMode 1 corresponds to DOM_DELTA_LINE, which computes deltas in lines\n return this.computedBodyStyle.getPropertyValue('lineHeight') != null &&\n this.computedBodyStyle.getPropertyValue('lineHeight') !== '' &&\n !isNaN(\n parseFloat(this.computedBodyStyle.getPropertyValue('lineHeight'))\n )\n ? deltaY *\n parseFloat(this.computedBodyStyle.getPropertyValue('lineHeight'))\n : deltaY * defaultLineHeight;\n } else if (deltaMode === 2) {\n // deltaMode 2 corresponds to DOM_DELTA_PAGE, which computes deltas in pages\n return this.computedBodyStyle.getPropertyValue('height') != null &&\n this.computedBodyStyle.getPropertyValue('height') !== '' &&\n !isNaN(parseFloat(this.computedBodyStyle.getPropertyValue('height')))\n ? deltaY * parseFloat(this.computedBodyStyle.getPropertyValue('height'))\n : deltaY * window.innerHeight;\n }\n // deltaMode 0 corresponds to DOM_DELTA_PIXEL, which computes deltas in pixels\n return deltaY;\n }\n\n protected getCanvasPosition(event: BaseEvent): Point.Point | undefined {\n const canvasBounds = this.element?.getBoundingClientRect();\n const canvasOffset =\n canvasBounds != null\n ? Point.create(canvasBounds.left, canvasBounds.top)\n : undefined;\n\n return canvasOffset != null\n ? Point.subtract(Point.create(event.clientX, event.clientY), canvasOffset)\n : undefined;\n }\n\n protected isTouch(event: BaseEvent): boolean {\n return window.PointerEvent != null && event instanceof PointerEvent\n ? event.pointerType === 'touch'\n : false;\n }\n}\n","import { Disposable, UUID } from '@vertexvis/utils';\n\nimport { BaseInteractionHandler } from './baseInteractionHandler';\n\nexport abstract class MultiElementInteractionHandler extends BaseInteractionHandler {\n protected registeredExternalElements: Record<UUID.UUID, Disposable> = {};\n\n public registerAdditionalElement(external: HTMLElement): Disposable {\n const id = UUID.create();\n const disposable = this.addEventListenersToElement(external);\n\n this.registeredExternalElements[id] = disposable;\n return disposable;\n }\n\n public deregisterAdditionalElementById(id: UUID.UUID): void {\n const externalElement = this.registeredExternalElements[id];\n\n externalElement.dispose();\n\n this.registeredExternalElements = Object.fromEntries(\n Object.entries(this.registeredExternalElements).filter(\n ([key]) => key !== id\n )\n );\n }\n\n protected deregisterAllListeners(): void {\n Object.keys(this.registeredExternalElements).forEach((id) =>\n this.deregisterAdditionalElementById(id)\n );\n }\n\n public abstract addEventListenersToElement(element?: HTMLElement): Disposable;\n}\n"],"names":["EventDispatcher","Point","getMouseClientPosition","UUID"],"mappings":";;;;;;;;;AA0BA,MAAM,iBAAiB,GAAG,EAAE;AAC5B,MAAM,mBAAmB,GAAG,GAAG;MAET,sBAAsB,CAAA;AAoB1C,IAAA,WAAA,CACY,SAAsC,EACtC,OAAgC,EAChC,SAAsC,EACxC,iBAAoC,EACpC,sBAA8C,EAC9C,eAAgC,EAChC,cAA8B,EAC9B,gBAAkC,EAClC,gBAAkC,EAClC,SAAyB,EAAA;AATvB,QAAA,IAAA,CAAA,SAAS,GAAT,SAAS;AACT,QAAA,IAAA,CAAA,OAAO,GAAP,OAAO;AACP,QAAA,IAAA,CAAA,SAAS,GAAT,SAAS;AACX,QAAA,IAAA,CAAA,iBAAiB,GAAjB,iBAAiB;AACjB,QAAA,IAAA,CAAA,sBAAsB,GAAtB,sBAAsB;AACtB,QAAA,IAAA,CAAA,eAAe,GAAf,eAAe;AACf,QAAA,IAAA,CAAA,cAAc,GAAd,cAAc;AACd,QAAA,IAAA,CAAA,gBAAgB,GAAhB,gBAAgB;AAChB,QAAA,IAAA,CAAA,gBAAgB,GAAhB,gBAAgB;AAChB,QAAA,IAAA,CAAA,SAAS,GAAT,SAAS;AArBX,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK;AAGlB,QAAA,IAAA,CAAA,gBAAgB,GAAG,KAAK;AAEtB,QAAA,IAAA,CAAA,6BAA6B,GAAG,KAAK;AAIvC,QAAA,IAAA,CAAA,4BAA4B,GAAG,IA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