@agrotools1/at-components 0.6.16 → 0.6.17
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/Map/Map.d.ts +27 -4
- package/dist/Map/Map.vue.js +1 -1
- package/dist/Map/Map.vue2.js +162 -121
- package/dist/Stepper/Stepper.vue.js +48 -35
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/analysis/SlicePlane.js +23 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/chunks/ImageMaterial.glsl.js +56 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/chunks/Laserlines.glsl.js +7 -7
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/chunks/LineCallout.glsl.js +138 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/chunks/LineMarker.glsl.js +200 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/chunks/NativeLine.glsl.js +40 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/chunks/Path.glsl.js +111 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/chunks/Pattern.glsl.js +185 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/chunks/SlicePlaneMaterial.glsl.js +30 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/chunks/WaterSurface.glsl.js +158 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/chunks/vec32.js +13 -13
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/core/MapUtils.js +18 -11
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/core/PooledArray.js +2 -2
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/core/accessorSupport/diffUtils.js +75 -48
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/core/arrayUtils.js +59 -53
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/core/asyncUtils.js +1 -1
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/core/colorUtils.js +77 -59
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/core/fontUtils.js +22 -18
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/core/handleUtils.js +12 -5
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/core/libs/gl-matrix-2/factories/mat2f64.js +19 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/core/libs/gl-matrix-2/math/mat2.js +104 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/core/libs/gl-matrix-2/math/mat4.js +12 -12
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/core/mathUtils.js +29 -25
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/core/quantityFormatUtils.js +115 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/core/quantityUtils.js +38 -19
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/core/reactiveUtils.js +63 -49
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/core/scheduling.js +56 -48
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/core/time.js +9 -5
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/core/unitFormatUtils.js +95 -41
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/core/unitUtils.js +130 -89
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/geometry/Circle.js +82 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/geometry/ellipsoidUtils.js +1 -1
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/geometry/projection/projectBoundingRect.js +11 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/geometry/projection/projectPointToVector.js +16 -12
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/geometry/projection/projectPolygonToWGS84ComparableLonLat.js +22 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/geometry/projection/projectPolylineToWGS84ComparableLonLat.js +22 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/geometry/projection/projectVectorToPoint.js +25 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/geometry/projection.js +1 -1
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/geometry/spatialReferenceEllipsoidUtils.js +12 -12
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/geometry/support/FloatArray.js +12 -4
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/geometry/support/Indices.js +26 -22
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/geometry/support/aaBoundingBox.js +133 -74
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/geometry/support/aaBoundingRect.js +78 -49
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/geometry/support/axisAngleDegrees.js +13 -13
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/geometry/support/buffer/BufferView.js +93 -93
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/geometry/support/coordsUtils.js +132 -68
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/geometry/support/geodesicUtils.js +3 -3
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/geometry/support/heightModelInfoUtils.js +71 -19
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/geometry/support/lineSegment.js +12 -12
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/geometry/support/meshUtils/External.js +4 -4
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/geometry/support/plane.js +107 -89
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/geometry/support/ray.js +3 -3
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/geometry/support/rotate.js +44 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/geometry/support/triangle.js +16 -11
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/geometry/support/vector.js +14 -9
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/geometry/support/vectorStacks.js +6 -6
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/layers/graphics/data/QueryEngine.js +12 -12
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/layers/graphics/dehydratedFeatures.js +64 -13
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/layers/graphics/hydratedFeatures.js +54 -46
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/layers/graphics/sources/support/uploadAssets.js +6 -6
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/layers/mixins/ArcGISMapService.js +2 -2
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/layers/mixins/PortalLayer.js +4 -4
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/layers/support/ElevationSampler.js +4 -4
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/layers/support/layerUtils.js +44 -24
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/layers/support/vectorTileLayerLoader.js +3 -3
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/libs/maquette/h.js +17 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/renderers/UniqueValueRenderer.js +2 -2
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/renderers/support/AuthoringInfo.js +3 -3
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/renderers/support/numberUtils.js +65 -5
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/renderers/support/rendererConversion.js +55 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/renderers/support/renderingInfoUtils.js +115 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/renderers/visualVariables/support/visualVariableUtils.js +195 -149
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/support/actions/ActionSlider.js +21 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/support/basemapUtils.js +31 -26
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/support/elevationInfoUtils.js +77 -57
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/support/progressUtils.js +2 -2
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/symbols/callouts/calloutUtils.js +20 -12
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/symbols/cim/CIMSymbolRasterizer.js +80 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/symbols/cim/utils.js +100 -76
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/symbols/support/IconSymbol3DLayerResource.js +11 -9
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/symbols/support/ObjectSymbol3DLayerResource.js +7 -5
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/symbols/support/cimSymbolUtils.js +169 -16
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/symbols/support/defaults3D.js +31 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/symbols/support/defaultsJSON.js +8 -7
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/symbols/support/gfxUtils.js +89 -9
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/symbols/support/previewCIMSymbol.js +47 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/symbols/support/previewSymbol2D.js +142 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/symbols/support/previewSymbol3D.js +288 -37
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/symbols/support/previewUtils.js +87 -6
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/symbols/support/previewWebStyleSymbol.js +25 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/symbols/support/renderUtils.js +82 -9
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/symbols/support/styleUtils.js +3 -3
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/symbols/support/svgUtils.js +271 -7
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/symbols/support/symbolLayerUtils3D.js +34 -16
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/symbols/support/symbolUtils.js +147 -41
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/symbols/support/utils.js +169 -128
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/2d/interactive/editingTools/ControlPointsTransformTool.js +149 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/2d/interactive/editingTools/MediaTransformToolsWrapper.js +78 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/2d/interactive/editingTools/TransformTool.js +218 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/2d/interactive/editingTools/draw/DrawGraphicTool2D.js +70 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/2d/interactive/editingTools/draw/symbols.js +9 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/2d/interactive/editingTools/manipulations/DragManipulation.js +50 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/2d/interactive/editingTools/manipulations/Manipulation.js +28 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/2d/interactive/editingTools/manipulations/RotateManipulation.js +50 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/2d/interactive/editingTools/manipulations/ScaleManipulation.js +78 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/2d/interactive/editingTools/manipulations/utils.js +54 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/2d/interactive/editingTools.js +10 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/2d/layers/FeatureLayerView2D.js +6 -6
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/2d/layers/ImageryLayerView2D.js +2 -2
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/2d/layers/TileLayerView2D.js +8 -8
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/2d/layers/features/Processor.js +2 -2
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/2d/layers/support/ExportStrategy.js +5 -5
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/2d/navigation/MapViewNavigation.js +4 -4
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/analysis/Slice/ResizeManipulator.js +31 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/analysis/Slice/RotateManipulator.js +38 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/analysis/Slice/ShiftManipulator.js +88 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/analysis/Slice/sliceToolConfig.js +20 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/analysis/Slice/sliceToolUtils.js +129 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/analysis/images/Factory.js +11 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/analysis/images/generateTextures.js +27 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/analysis/images/heading-rotate-svg.js +4 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/environment/CloudsParameters.js +5 -5
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/environment/weather.js +3 -2
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/SegmentLabels3D.js +24 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/GrabbingState.js +7 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/ManipulatorState.js +23 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/ManipulatorType.js +7 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/dragEventPipeline3D.js +121 -67
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/draw/DrawGraphicTool3D.js +138 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/geometryUtils.js +22 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/isSupportedGraphicUtils.js +26 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/lineGraphicVisualElementUtils.js +74 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/manipulations/Manipulation.js +53 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/manipulations/MoveManipulation.js +84 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/manipulations/MoveXYAxisManipulation.js +116 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/manipulations/MoveXYDiscManipulation.js +90 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/manipulations/MoveXYGraphicManipulation.js +36 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/manipulations/MoveZManipulation.js +96 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/manipulations/config.js +29 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/manipulations/moveUtils.js +25 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/manipulatorUtils.js +7 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/meshFastUpdateUtils.js +34 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/moveGraphic/GraphicMoveTool.js +256 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/moveGraphic/isSupportedGraphic.js +23 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/originGraphicVisualElementUtils.js +94 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/reshapeGraphic/GraphicReshapeTool.js +93 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/reshapeGraphic/ReshapeOperation.js +738 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/reshapeGraphic/edgeOffsetUtils.js +39 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/reshapeGraphic/isSupportedGraphic.js +25 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/settings.js +124 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/snapping/SnapToScene.js +38 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/transformGraphic/ExtentMove.js +108 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/transformGraphic/ExtentRotate.js +96 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/transformGraphic/ExtentScale.js +138 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/transformGraphic/ExtentTransformTool.js +164 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/transformGraphic/GraphicScaleRotateTransform.js +331 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/transformGraphic/GraphicTransformTool.js +170 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/transformGraphic/PreserveAspectRatio.js +32 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/transformGraphic/ScaleRotateMeshAdapter.js +96 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/transformGraphic/ScaleRotateObjectSymbol3DAdapter.js +142 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/transformGraphic/extentUtils.js +71 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/transformGraphic/isSupportedGraphic.js +27 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/transformGraphic/undoRecords.js +37 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/visualElementUtils.js +17 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools.js +12 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/manipulatorUtils.js +50 -38
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/measurementTools/areaMeasurement3D/AreaMeasurement3DTool.js +4 -4
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/measurementTools/directLineMeasurement3D/DirectLineMeasurement3DTool.js +5 -5
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/visualElements/OutlineVisualElement.js +196 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/visualElements/VerticesVisualElement.js +108 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/GraphicsLayerView3D.js +110 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/LayerView3D.js +42 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/DisplayFeatureLimit.js +8 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/ElevationAligners.js +87 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/ElevationQuery.js +20 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/ExtentSet.js +71 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/GraphicState.js +16 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/GraphicStateTracking.js +65 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DCalloutSymbolLayerFactory.js +16 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DCore.js +1110 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DDrapedGraphicLayer.js +84 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DElevationAlignment.js +93 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DExtrudeSymbolLayer.js +221 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DFeatureStore.js +43 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DFrustumVisibility.js +78 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DGraphic.js +164 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DGraphicCreationContext.js +8 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DIconSymbolLayer.js +367 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DLineCalloutSymbolLayer.js +115 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DLineSymbolLayer.js +226 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DLodInstanceGraphicLayer.js +96 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DMeshFillSymbolLayer.js +511 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DMeshObject3DGraphicLayer.js +91 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DObject3DGraphicLayer.js +147 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DObjectMetadata.js +8 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DObjectStateSet.js +16 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DObjectStates.js +69 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DObjectSymbolLayer.js +347 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DPathSymbolLayer.js +240 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DPathSymbolLayerConstants.js +6 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DPointSymbol.js +51 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DPolygonFillSymbolLayer.js +203 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DScaleVisibility.js +145 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DSymbol.js +158 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DSymbolCreationContext.js +14 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DSymbolFactory.js +8 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DSymbolLayer.js +195 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DSymbolLayerFactory.js +19 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DTextSymbolLayer.js +153 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DWaterSymbolLayer.js +151 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DWebStyleSymbol.js +57 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/GraphicsCorePerformanceInfo.js +8 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/GraphicsProcessor.js +192 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/LabelParameters.js +17 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Loadable.js +32 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/MeshFastUpdateProcessor.js +85 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/SpatialIndex2D.js +70 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/SymbolComplexity.js +32 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/constants.js +6 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/defaultSymbolComplexity.js +152 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/elevationAlignPointsInFeatures.js +35 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/elevationAlignmentUtils.js +107 -33
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/enums.js +10 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/featureExpressionInfoUtils.js +48 -25
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/graphicUtils.js +119 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/interfaces.js +7 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/lineUtils.js +21 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/lodResourceUtils.js +16 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/objectResourceUtils.js +15 -15
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/placementUtils.js +45 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/pointUtils.js +45 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/polygonUtils.js +60 -29
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/primitiveObjectSymbolUtils.js +45 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/queryForSymbologySnapping.js +32 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/symbolMemory.js +6 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/webStyleUtils.js +25 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/support/FastSymbolUpdates.js +323 -31
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/support/LayerViewPerformanceInfo.js +8 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/support/StageLayerElevationProvider.js +76 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/support/edgeUtils.js +37 -8
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/support/layerUtils.js +10 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/support/patternUtils.js +52 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/support/projectExtentUtils.js +14 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/support/symbolColorUtils.js +28 -6
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/support/uvUtils.js +68 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/support/ElevationProvider.js +11 -5
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/support/ElevationUpdateEvent.js +9 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/support/FrustumExtentIntersection.js +105 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/support/buffer/InterleavedLayout.js +5 -5
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/support/engineContent/line.js +68 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/support/engineContent/marker.js +3 -2
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/support/extentUtils.js +12 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/support/geometryUtils/ray.js +15 -11
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/support/intersectionUtils.js +33 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/support/mathUtils.js +13 -8
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/support/orientedBoundingBox.js +22 -22
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/support/renderInfoUtils/line.js +29 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/support/renderInfoUtils/point.js +13 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/support/renderInfoUtils/polygon.js +63 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/core/shaderLibrary/ShaderOutput.js +25 -17
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/core/shaderLibrary/attributes/PathVertexPosition.glsl.js +105 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/core/shaderLibrary/attributes/VertexNormal.glsl.js +3 -3
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/core/shaderLibrary/attributes/VertexPosition.glsl.js +1 -1
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/core/shaderLibrary/shading/FoamRendering.glsl.js +16 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/core/shaderLibrary/shading/Gamma.glsl.js +14 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/core/shaderLibrary/shading/NormalUtils.glsl.js +19 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/core/shaderLibrary/shading/PhysicallyBasedRendering.glsl.js +53 -13
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/core/shaderLibrary/shading/ScreenSpaceReflections.glsl.js +123 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/core/shaderLibrary/shading/Water.glsl.js +85 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/core/shaderLibrary/shading/WaterDistortion.glsl.js +68 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/core/shaderLibrary/util/CloudsParallaxShading.glsl.js +105 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/core/shaderModules/TextureCubePassUniform.js +10 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/effects/RenderPlugin.js +5 -2
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/AnimationTimer.js +15 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/BoundingInfo.js +2 -2
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/FontMetrics.js +30 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/GeometryUtil.js +308 -73
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/GeometryWithMapPositions.js +19 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/Intersector.js +14 -14
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/Normals.js +16 -8
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/Object3D.js +14 -14
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/Object3DStateSet.js +57 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/Octree.js +4 -4
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/Path.js +40 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/PathBuilder.js +62 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/PathCapBuilder.js +100 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/PathExtruder.js +53 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/PathGeometry.js +19 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/PathGeometryData.js +94 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/PathProfile.js +62 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/PathVertex.js +81 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/TextHelperCanvas.js +6 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/TextRenderParameters.js +46 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/TextRenderer.js +219 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/TextTextureAtlas.js +212 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/TextTextureFactory.js +30 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/edgeRendering/edgePreprocessing.js +5 -5
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/lodRendering/BackedBufferObject.js +43 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/lodRendering/InstanceData.js +174 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/lodRendering/InstanceOctree.js +20 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/lodRendering/Intersector.js +13 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/lodRendering/LevelSelector.js +15 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/lodRendering/LodComponentData.js +43 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/lodRendering/LodLevel.js +48 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/lodRendering/LodRenderer.js +264 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/lodRendering/LodResources.js +44 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/lodRendering/RenderInstanceData.js +110 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/pathGeometryUtils.js +25 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/materials/DefaultLayouts.js +12 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/materials/DefaultMaterial.js +3 -3
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/materials/ImageMaterial.js +66 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/materials/LineCalloutMaterial.js +68 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/materials/LineMarkerMaterial.js +104 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/materials/NativeLineMaterial.js +106 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/materials/PathMaterial.js +74 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/materials/PathTechnique.js +49 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/materials/PatternMaterial.js +86 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/materials/PatternStyle.js +7 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/materials/WaterGLMaterial.js +25 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/materials/WaterMaterial.js +48 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/materials/WaterTechnique.js +48 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/materials/internal/bufferWriterUtils.js +122 -109
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/materials/internal/waterMaterialUtils.js +4 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/materials/lineStippleUtils.js +18 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/materials/renderers/utils.js +15 -9
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/shaders/DefaultMaterialTechnique.js +33 -27
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/shaders/ImageMaterial.glsl.js +15 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/shaders/ImageMaterialTechnique.js +45 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/shaders/LaserlineTechnique.js +2 -2
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/shaders/LineCallout.glsl.js +17 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/shaders/LineCalloutTechnique.js +27 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/shaders/LineCalloutTechniqueConfiguration.js +12 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/shaders/LineMarker.glsl.js +24 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/shaders/LineMarkerTechnique.js +32 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/shaders/NativeLine.glsl.js +15 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/shaders/NativeLineTechnique.js +28 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/shaders/NativeLineTechniqueConfiguration.js +13 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/shaders/Path.glsl.js +25 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/shaders/Pattern.glsl.js +19 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/shaders/PatternTechnique.js +46 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/shaders/RibbonLineTechnique.js +2 -2
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/shaders/SlicePlaneMaterial.glsl.js +12 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/shaders/SlicePlaneMaterialTechnique.js +21 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/shaders/WaterSurface.glsl.js +29 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/DOMContainer.js +6 -6
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/draw/DrawGraphicTool.js +397 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/draw/DrawOperation.js +1 -1
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/draw/DrawScreenTool.js +126 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/draw/drawSurfaces.js +47 -21
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/draw/support/Box.js +481 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/draw/support/GraphicMover.js +211 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/draw/support/HighlightHelper.js +38 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/draw/support/Reshape.js +556 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/draw/support/createUtils.js +118 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/draw/support/drawUtils.js +117 -23
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/draw/support/helpMessageUtils.js +26 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/draw/support/helpMessageUtils3d.js +22 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/draw/support/input/GraphicMoverEvents.js +65 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/draw/support/layerUtils.js +17 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/draw/support/settings.js +40 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/SegmentLabels.js +147 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/dragEventPipeline.js +165 -81
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/editGeometry/operations/OffsetEdgeVertex.js +3 -3
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/editGeometry/support/editPlaneUtils.js +52 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/keybindings.js +3 -2
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/sketch/SketchOptions.js +20 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/sketch/SketchTooltipElevationOptions.js +19 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/sketch/SketchTooltipOptions.js +22 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/sketch/SketchTooltipVisibleElements.js +20 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/sketch/SketchValueOptions.js +26 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/sketch/constraints.js +25 -25
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/sketch/normalizedPoint.js +1 -1
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/snapping/FeatureSnappingEngine.js +6 -6
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/snapping/featureSources/FeatureCollectionSnappingSource.js +3 -3
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/snapping/featureSources/FeatureServiceSnappingSource.js +3 -3
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/snapping/featureSources/GraphicsSnappingSource.js +6 -6
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/DrawTooltipInfos.js +68 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/ExtentTooltipInfos.js +21 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/ReshapeTooltipInfos.js +17 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/SketchTooltipInfo.js +25 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/Tooltip.js +80 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/TransformTooltipInfos.js +30 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/TranslateTooltipInfos.js +64 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/components/DrawHeaderActions.js +34 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/components/TooltipEditableField.js +117 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/components/TooltipField.js +23 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/components/ValueByValue.js +23 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/components/directionModeIcons.js +4 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/constraintUtils.js +90 -91
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/content/Fields.js +9 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/content/TooltipContent.js +150 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/content/TooltipContentDrawCircle.js +21 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/content/TooltipContentDrawMesh.js +20 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/content/TooltipContentDrawPoint.js +20 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/content/TooltipContentDrawPolygon.js +24 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/content/TooltipContentDrawPolyline.js +24 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/content/TooltipContentDrawRectangle.js +21 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/content/TooltipContentExtentRotate.js +20 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/content/TooltipContentExtentScale.js +21 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/content/TooltipContentReshapeEdgeOffset.js +20 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/content/TooltipContentTransformAbsolute.js +21 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/content/TooltipContentTransformRotate.js +21 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/content/TooltipContentTransformScale.js +20 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/content/TooltipContentTranslateGraphic.js +20 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/content/TooltipContentTranslateGraphicXY.js +20 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/content/TooltipContentTranslateGraphicZ.js +20 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/content/TooltipContentTranslateVertex.js +20 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/content/TooltipContentTranslateVertexXY.js +20 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/content/TooltipContentTranslateVertexZ.js +20 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/content/tooltipContentFactory.js +64 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/css.js +12 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/fields/TooltipField.js +29 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/fields/TooltipFieldElevation.js +21 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/fields/fields.js +45 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/layers/WMSLayerView.js +2 -2
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/layers/support/popupUtils.js +17 -13
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/overlay/OutlineOverlayItem.js +48 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/overlay/TextOverlayItem.js +76 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/support/DefaultsFromMap.js +3 -3
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/support/angularMeasurementUtils.js +87 -48
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/support/automaticAreaMeasurementUtils.js +16 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/support/automaticLengthMeasurementUtils.js +18 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/support/euclideanAreaMeasurementUtils.js +67 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/support/euclideanLengthMeasurementUtils.js +92 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/support/extentUtils.js +12 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/support/geodesicAreaMeasurementUtils.js +28 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/support/geodesicLengthMeasurementUtils.js +57 -27
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/support/geometry2dUtils.js +1 -1
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/support/hitTestSelectUtils.js +9 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/support/layerViewUtils.js +10 -6
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/support/measurementUtils.js +9 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/webgl/Util.js +90 -70
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/webgl/testFloatBufferBlend.js +2 -2
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Feature/FeatureRelationship.js +2 -2
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Feature/support/featureUtils.js +54 -49
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/LayerList/LayerListViewModel.js +113 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/LayerList/ListItem.js +144 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/LayerList/ListItemPanel.js +98 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/LayerList/support/layerListUtils.js +64 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Legend/LegendViewModel.js +190 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Legend/styles/Card.js +284 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Legend/styles/CardCSS.js +4 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Legend/styles/Classic.js +110 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Legend/styles/ClassicCSS.js +5 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Legend/styles/support/relationshipUtils.js +46 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Legend/styles/support/univariateUtils.js +64 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Legend/support/ActiveLayerInfo.js +1053 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Legend/support/clusterUtils.js +17 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Legend/support/colorRampUtils.js +54 -19
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Legend/support/relationshipRampUtils.js +59 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Legend/support/sizeRampUtils.js +155 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Legend/support/styleUtils.js +44 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Legend/support/utils.js +75 -13
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Legend.js +115 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Sketch/SketchViewModel.js +886 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Sketch/VisibleElements.js +30 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Sketch/support/OperationHandle.js +81 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Sketch.js +293 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/smartMapping/support/utils.js +32 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/support/Heading.js +13 -9
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/support/LabeledSwitch.js +11 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/support/SelectionToolbar/SelectionToolbarViewModel.js +74 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/support/SelectionToolbar.js +138 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/support/Selector2D/SelectionOperation.js +95 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/support/Selector2D/selectorUtils.js +93 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/support/SketchTooltipControls/VisibleElements.js +17 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/support/SketchTooltipControls.js +66 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/support/SnappingControls/SnappingControlsViewModel.js +79 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/support/SnappingControls/SnappingLayerListViewModel.js +41 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/support/SnappingControls/SnappingListItem.js +45 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/support/SnappingControls/VisibleElements.js +17 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/support/SnappingControls/snappingLayerListUtils.js +33 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/support/SnappingControls.js +141 -0
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/support/widget.js +7 -6
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/support/widgetUtils.js +19 -15
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/calcite-accordion-item.js +157 -0
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/calcite-accordion.js +97 -0
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/calcite-block.js +230 -0
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/calcite-dropdown-group.js +97 -0
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/calcite-dropdown-item.js +171 -0
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/calcite-dropdown.js +11 -0
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/calcite-radio-button-group.js +144 -0
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/calcite-radio-button.js +11 -0
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/calcite-switch.js +11 -0
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/calcite-tooltip.js +290 -0
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/dom.js +91 -79
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/dropdown.js +319 -0
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/floating-ui.js +11 -10
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/radio-button.js +244 -0
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/resources3.js +20 -0
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/switch.js +123 -0
- package/dist/node_modules/.pnpm/@terraformer_arcgis@2.1.2/node_modules/@terraformer/arcgis/dist/t-arcgis.esm.js +124 -45
- package/dist/node_modules/.pnpm/@terraformer_wkt@2.2.1/node_modules/@terraformer/wkt/dist/t-wkt.esm.js +1287 -0
- package/dist/style.css +1 -1
- package/package.json +3 -1
- package/dist/_virtual/_commonjsHelpers.js +0 -8
- package/dist/_virtual/terraformer-wkt-parser.js +0 -4
- package/dist/_virtual/terraformer.js +0 -4
- package/dist/node_modules/.pnpm/terraformer-wkt-parser@1.2.1/node_modules/terraformer-wkt-parser/terraformer-wkt-parser.js +0 -469
- package/dist/node_modules/.pnpm/terraformer@1.0.12/node_modules/terraformer/terraformer.js +0 -637
|
@@ -0,0 +1,738 @@
|
|
|
1
|
+
import { _ as v } from "../../../../../chunks/tslib.es6.js";
|
|
2
|
+
import "../../../../../geometry.js";
|
|
3
|
+
import Me from "../../../../../core/Accessor.js";
|
|
4
|
+
import { removeUnordered as ye } from "../../../../../core/arrayUtils.js";
|
|
5
|
+
import { unitRGBAFromColor as G } from "../../../../../core/colorUtils.js";
|
|
6
|
+
import "../../../../../core/has.js";
|
|
7
|
+
import xe from "../../../../../core/Evented.js";
|
|
8
|
+
import Oe from "../../../../../core/Handles.js";
|
|
9
|
+
import { handlesGroup as R, makeHandle as Q, destroyHandle as Ee } from "../../../../../core/handleUtils.js";
|
|
10
|
+
import { destroyMaybe as A, removeMaybe as w } from "../../../../../core/maybe.js";
|
|
11
|
+
import { zeroMeters as U, scale as ee, createLength as te } from "../../../../../core/quantityUtils.js";
|
|
12
|
+
import { watch as V, initial as L } from "../../../../../core/reactiveUtils.js";
|
|
13
|
+
import { getMetersPerUnitForSR as be } from "../../../../../core/unitUtils.js";
|
|
14
|
+
import { property as x } from "../../../../../core/accessorSupport/decorators/property.js";
|
|
15
|
+
import "../../../../../core/Logger.js";
|
|
16
|
+
import { subclass as Ge } from "../../../../../core/accessorSupport/decorators/subclass.js";
|
|
17
|
+
import { IDENTITY as Te } from "../../../../../core/libs/gl-matrix-2/factories/mat4f64.js";
|
|
18
|
+
import { l as Ie, f as Se, m as we, s as Ve, g as He, h as Ae } from "../../../../../chunks/vec32.js";
|
|
19
|
+
import { fromValues as De, create as Le } from "../../../../../core/libs/gl-matrix-2/factories/vec3f64.js";
|
|
20
|
+
import { UpdatingHandles as Pe } from "../../../../../core/support/UpdatingHandles.js";
|
|
21
|
+
import $e from "../../../../../geometry/Polyline.js";
|
|
22
|
+
import { hasCompatibleTopology as Ce } from "../../../../../geometry/support/coordsUtils.js";
|
|
23
|
+
import { projectPoint as ke } from "../../../../../geometry/support/plane.js";
|
|
24
|
+
import { sv3d as Ne } from "../../../../../geometry/support/vectorStacks.js";
|
|
25
|
+
import { makeDehydratedPoint as ve } from "../../../../../layers/graphics/dehydratedPoint.js";
|
|
26
|
+
import { getGraphicEffectiveElevationInfo as P } from "../../../../../support/elevationInfoUtils.js";
|
|
27
|
+
import { isVolumetricSymbol as ie } from "../../../../../symbols/support/utils.js";
|
|
28
|
+
import { Manipulator3D as Y } from "../../Manipulator3D.js";
|
|
29
|
+
import { createManipulatorMaterial as $, createManipulatorOutlineMaterial as C, placeAtGraphic as Re } from "../../manipulatorUtils.js";
|
|
30
|
+
import { RenderObject as E } from "../../RenderObject.js";
|
|
31
|
+
import { SegmentLabels3D as Ue } from "../../SegmentLabels3D.js";
|
|
32
|
+
import { SnappingVisualizer3D as ae } from "../../SnappingVisualizer3D.js";
|
|
33
|
+
import { screenToRenderPlaneFromEvent as Fe, convertToMapCoordinates as Xe, screenToMapXYAtLocation as Ze, screenToMapXYForGraphicAtLocation as ze } from "../dragEventPipeline3D.js";
|
|
34
|
+
import { orientation as Ye } from "../geometryUtils.js";
|
|
35
|
+
import { ManipulatorType as ne } from "../ManipulatorType.js";
|
|
36
|
+
import { canMoveZ as q } from "../manipulatorUtils.js";
|
|
37
|
+
import { Settings as qe } from "../settings.js";
|
|
38
|
+
import { createVisualElements as Be } from "../visualElementUtils.js";
|
|
39
|
+
import { discRadiusSmall as je } from "../manipulations/config.js";
|
|
40
|
+
import { ManipulationType as b, MoveManipulation as B } from "../manipulations/MoveManipulation.js";
|
|
41
|
+
import { axisConstrainedDragSign as oe } from "../manipulations/moveUtils.js";
|
|
42
|
+
import { MoveXYGraphicManipulation as We } from "../manipulations/MoveXYGraphicManipulation.js";
|
|
43
|
+
import { createEdgeOffsetIntersectionPlane as se, createEdgeOffsetOperation as re, edgeOffsetRotationMatrix as Je, screenEdgeLengthSquared as Ke } from "./edgeOffsetUtils.js";
|
|
44
|
+
import { OutlineVisualElement as le } from "../../visualElements/OutlineVisualElement.js";
|
|
45
|
+
import { GraphicState as Qe } from "../../../layers/graphics/GraphicState.js";
|
|
46
|
+
import { createExtrudedTriangle as pe, createSphereGeometry as F } from "../../../webgl-engine/lib/GeometryUtil.js";
|
|
47
|
+
import { MouseButton as he } from "../../../../input/IViewEvents.js";
|
|
48
|
+
import { sceneSnappingAtLocation as de, addMapDelta as X, createManipulatorDragEventPipeline as j, dragAtLocation as W, addScreenDelta as et } from "../../../../interactive/dragEventPipeline.js";
|
|
49
|
+
import { ManipulatorStateFlags as g, ManipulatorStateCustomFlags as ue } from "../../../../interactive/interfaces.js";
|
|
50
|
+
import { EditGeometryOperations as tt } from "../../../../interactive/editGeometry/EditGeometryOperations.js";
|
|
51
|
+
import { AccumulationBehavior as J } from "../../../../interactive/editGeometry/interfaces.js";
|
|
52
|
+
import { SnappingContext as ce } from "../../../../interactive/snapping/SnappingContext.js";
|
|
53
|
+
import { createSnapDragEventPipelineStep as me } from "../../../../interactive/snapping/SnappingDragPipelineStep.js";
|
|
54
|
+
import { ReshapeEdgeOffsetTooltipInfo as ge } from "../../../../interactive/tooltip/ReshapeTooltipInfos.js";
|
|
55
|
+
import { Tooltip as it } from "../../../../interactive/tooltip/Tooltip.js";
|
|
56
|
+
import { TranslateGraphicZTooltipInfo as at, TranslateGraphicXYTooltipInfo as nt, TranslateGraphicTooltipInfo as ot, TranslateVertexZTooltipInfo as st, TranslateVertexXYTooltipInfo as rt, TranslateVertexTooltipInfo as lt } from "../../../../interactive/tooltip/TranslateTooltipInfos.js";
|
|
57
|
+
import { makeElevationField as pt } from "../../../../interactive/tooltip/fields/fields.js";
|
|
58
|
+
import { autoArea2D as ht } from "../../../../support/automaticAreaMeasurementUtils.js";
|
|
59
|
+
import { autoDistanceBetweenPoints2D as Z, autoLength2D as dt } from "../../../../support/automaticLengthMeasurementUtils.js";
|
|
60
|
+
import { verticalSignedDistanceBetweenPoints as fe, elevationFromPoint as ut } from "../../../../support/euclideanLengthMeasurementUtils.js";
|
|
61
|
+
import { geodesicDistance as ct } from "../../../../support/geodesicLengthMeasurementUtils.js";
|
|
62
|
+
import mt from "../../../../../geometry/SpatialReference.js";
|
|
63
|
+
let _ = class extends xe.EventedMixin(Me) {
|
|
64
|
+
constructor(e) {
|
|
65
|
+
super(e), this._selectedIndex = 0, this._manipulatorHandles = new Oe(), this._manipulatorInfos = [], this._numGrabbing = 0, this._numDragging = 0, this._reshapeEventState = d.NONE, this._updatingHandles = new Pe(), this._recreatingManipulators = !1, this._settings = new qe({ getTheme: () => this.view.effectiveTheme }), this._latestTooltipInfo = null, this._translateGraphicTooltipInfo = null, this._translateGraphicXYTooltipInfo = null, this._translateGraphicZTooltipInfo = null, this._translateVertexTooltipInfo = null, this._translateVertexXYTooltipInfo = null, this._translateVertexZTooltipInfo = null, this._edgeOffsetTooltipInfo = null, this.outputGeometry = null, this._vertexLaserLineVisualElement = null;
|
|
66
|
+
}
|
|
67
|
+
initialize() {
|
|
68
|
+
const { graphic: e, view: t } = this, a = this._settings.manipulators, i = a.vertex;
|
|
69
|
+
this._vertexManipulatorMaterial = $(G(i.color), i.renderOccluded), this._vertexManipulatorOutlineMaterial = C(G(i.outlineColor), i.renderOccluded), this._vertexManipulatorHoverOutlineMaterial = C(G(i.hoverOutlineColor), i.renderOccluded);
|
|
70
|
+
const n = a.edge;
|
|
71
|
+
this._edgeManipulatorMaterial = $(G(n.color), n.renderOccluded), this._edgeManipulatorOutlineMaterial = C(G(n.outlineColor), n.renderOccluded);
|
|
72
|
+
const o = a.edgeOffset;
|
|
73
|
+
this._edgeOffsetManipulatorMaterial = $(G(o.color), o.renderOccluded, !1), this._edgeOffsetManipulatorHoverMaterial = $(G(o.hoverColor), o.renderOccluded, !1);
|
|
74
|
+
const s = a.selected;
|
|
75
|
+
this._selectedManipulatorMaterial = $(G(s.color), s.renderOccluded), this._selectedManipulatorOutlineMaterial = C(G(s.outlineColor), s.renderOccluded), this._selectedManipulatorHoverOutlineMaterial = C(G(s.hoverOutlineColor), s.renderOccluded);
|
|
76
|
+
const r = this._graphicState = new Qe({ graphic: e });
|
|
77
|
+
this.tooltip = new it({ view: t }), this.addHandles([V(() => {
|
|
78
|
+
const l = this._settings.manipulators;
|
|
79
|
+
return { vertexSettings: l.vertex, edgeSettings: l.edge, edgeOffsetSettings: l.edgeOffset, selectedSettings: l.selected };
|
|
80
|
+
}, ({ vertexSettings: l, edgeSettings: p, edgeOffsetSettings: h, selectedSettings: M }) => {
|
|
81
|
+
l.applyColor(this._vertexManipulatorMaterial), l.applyOutline(this._vertexManipulatorOutlineMaterial), l.applyHoverOutline(this._vertexManipulatorHoverOutlineMaterial), p.applyColor(this._edgeManipulatorMaterial), p.applyOutline(this._edgeManipulatorOutlineMaterial), h.applyColor(this._edgeOffsetManipulatorMaterial), h.applyHover(this._edgeOffsetManipulatorHoverMaterial), M.applyColor(this._selectedManipulatorMaterial), M.applyOutline(this._selectedManipulatorOutlineMaterial), M.applyHoverOutline(this._selectedManipulatorHoverOutlineMaterial);
|
|
82
|
+
}), V(() => r.displaying, (l) => {
|
|
83
|
+
for (const p of this._manipulatorInfos)
|
|
84
|
+
p.manipulator.available = l;
|
|
85
|
+
}), V(() => ({ labels: this._segmentLabels, enabled: this.sketchOptions.labels.enabled, edgeOffsetEnabled: this.enableEdgeOffset }), ({ labels: l, enabled: p, edgeOffsetEnabled: h }) => {
|
|
86
|
+
l != null && (l.visible = p, l.edgeDistance = h ? "far" : "default");
|
|
87
|
+
}, L), V(() => this.sketchOptions.tooltips.effectiveEnabled, (l) => {
|
|
88
|
+
this.tooltip.info = l ? this._latestTooltipInfo : null;
|
|
89
|
+
}, L), this.view.trackGraphicState(r)]);
|
|
90
|
+
}
|
|
91
|
+
destroy() {
|
|
92
|
+
this._segmentLabels = A(this._segmentLabels), this.tooltip = A(this.tooltip), this._removeManipulators(), this._updatingHandles.destroy();
|
|
93
|
+
}
|
|
94
|
+
get inputGeometry() {
|
|
95
|
+
return this._editGeometryOperations != null ? this._editGeometryOperations.data.geometry : null;
|
|
96
|
+
}
|
|
97
|
+
set inputGeometry(e) {
|
|
98
|
+
this._recreateEditGeometryAndManipulators(e);
|
|
99
|
+
}
|
|
100
|
+
get updating() {
|
|
101
|
+
return this._updatingHandles.updating;
|
|
102
|
+
}
|
|
103
|
+
get manipulators() {
|
|
104
|
+
return this.tool.manipulators;
|
|
105
|
+
}
|
|
106
|
+
get view() {
|
|
107
|
+
return this.tool.view;
|
|
108
|
+
}
|
|
109
|
+
get graphic() {
|
|
110
|
+
return this.tool.graphic;
|
|
111
|
+
}
|
|
112
|
+
get enableZShape() {
|
|
113
|
+
return this.tool.enableZShape;
|
|
114
|
+
}
|
|
115
|
+
get enableZVertex() {
|
|
116
|
+
return this.tool.enableZVertex;
|
|
117
|
+
}
|
|
118
|
+
get enableMoveGraphic() {
|
|
119
|
+
return this.tool.enableMoveGraphic;
|
|
120
|
+
}
|
|
121
|
+
get enableMidpoints() {
|
|
122
|
+
return this.tool.enableMidpoints;
|
|
123
|
+
}
|
|
124
|
+
get enableEdgeOffset() {
|
|
125
|
+
return this.tool.enableEdgeOffset;
|
|
126
|
+
}
|
|
127
|
+
get sketchOptions() {
|
|
128
|
+
return this.tool.sketchOptions;
|
|
129
|
+
}
|
|
130
|
+
get _accentColor() {
|
|
131
|
+
return this.view.effectiveTheme.accentColor;
|
|
132
|
+
}
|
|
133
|
+
removeSelectedVertices() {
|
|
134
|
+
const e = this._manipulatorInfos.filter((t) => t.manipulator.selected && t.type === "vertex");
|
|
135
|
+
this._removeVertices(e);
|
|
136
|
+
}
|
|
137
|
+
onManipulatorSelectionChanged() {
|
|
138
|
+
this.emit("manipulators-changed");
|
|
139
|
+
}
|
|
140
|
+
_removeManipulators() {
|
|
141
|
+
this._manipulatorHandles.removeAll(), this._moveManipulation = A(this._moveManipulation), this._graphicMoveManipulation = A(this._graphicMoveManipulation), this.manipulators.removeAll(), this._manipulatorInfos = [], this._numGrabbing = 0, this._numDragging = 0;
|
|
142
|
+
}
|
|
143
|
+
_createManipulators(e) {
|
|
144
|
+
if (this._editGeometryOperations == null)
|
|
145
|
+
return;
|
|
146
|
+
const t = P(this.graphic);
|
|
147
|
+
for (const a of this._editGeometryOperations.data.components) {
|
|
148
|
+
const i = e == null ? void 0 : e.byComponentIndex.get(a.index);
|
|
149
|
+
for (const n of a.vertices) {
|
|
150
|
+
const o = i == null ? void 0 : i.has(n.index);
|
|
151
|
+
this._createVertexOrEdgeManipulator(n, t, o);
|
|
152
|
+
}
|
|
153
|
+
for (const n of a.edges)
|
|
154
|
+
this._createVertexOrEdgeManipulator(n, t);
|
|
155
|
+
}
|
|
156
|
+
this._createGraphicMoveManipulation(), this._createMoveManipulation(t), this._createVisualElements();
|
|
157
|
+
}
|
|
158
|
+
get canRedo() {
|
|
159
|
+
return this._editGeometryOperations != null && this._editGeometryOperations.canRedo;
|
|
160
|
+
}
|
|
161
|
+
get canUndo() {
|
|
162
|
+
return this._editGeometryOperations != null && this._editGeometryOperations.canUndo;
|
|
163
|
+
}
|
|
164
|
+
redo() {
|
|
165
|
+
if (this._editGeometryOperations == null)
|
|
166
|
+
return null;
|
|
167
|
+
const e = this._editGeometryOperations.redo();
|
|
168
|
+
return e != null && (this.outputGeometry = this._editGeometryOperations.data.geometry, this._recreateManipulators()), e;
|
|
169
|
+
}
|
|
170
|
+
undo() {
|
|
171
|
+
if (this._editGeometryOperations == null)
|
|
172
|
+
return null;
|
|
173
|
+
this.emit("undo");
|
|
174
|
+
const e = this._editGeometryOperations.undo();
|
|
175
|
+
return e != null && (this.outputGeometry = this._editGeometryOperations.data.geometry, this._recreateManipulators()), e;
|
|
176
|
+
}
|
|
177
|
+
_recreateManipulators() {
|
|
178
|
+
this._recreatingManipulators || (this._recreatingManipulators = !0, this._removeManipulators(), this._hideTooltip(), this._createManipulators(), this._recreatingManipulators = !1);
|
|
179
|
+
}
|
|
180
|
+
_recreateEditGeometryAndManipulators(e) {
|
|
181
|
+
const t = { byComponentIndex: /* @__PURE__ */ new Map() };
|
|
182
|
+
if (e != null && this.inputGeometry != null && Ce(e, this.inputGeometry)) {
|
|
183
|
+
for (const n of this._manipulatorInfos)
|
|
184
|
+
if (n.type === "vertex" && n.manipulator.selected) {
|
|
185
|
+
const { index: o, component: { index: s } } = n.handle, { byComponentIndex: r } = t, l = r.get(s) || /* @__PURE__ */ new Set();
|
|
186
|
+
l.add(o), r.set(s, l);
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
if (this._recreatingManipulators = !0, this._removeManipulators(), this._hideTooltip(), this._editGeometryOperations = A(this._editGeometryOperations), this._segmentLabels = A(this._segmentLabels), e == null)
|
|
190
|
+
return void (this._recreatingManipulators = !1);
|
|
191
|
+
const a = e.type === "mesh" ? e.anchor : e;
|
|
192
|
+
this._editGeometryOperations = tt.fromGeometry(a, this.view.state.viewingMode), this._createManipulators(t);
|
|
193
|
+
const i = this.sketchOptions.labels;
|
|
194
|
+
this._segmentLabels = new Ue({ context: { view: this.view, editGeometryOperations: this._editGeometryOperations, elevationInfo: P(this.graphic), labelOptions: i, graphic: this.graphic, graphicState: this._graphicState }, visible: i.enabled }), this._recreatingManipulators = !1;
|
|
195
|
+
}
|
|
196
|
+
_perGraphicManipulatorDragAction(e, t) {
|
|
197
|
+
if (t.action === "end")
|
|
198
|
+
return t;
|
|
199
|
+
let a = 0;
|
|
200
|
+
const i = [], n = this._manipulatorInfos.some((s) => s.type === "vertex" && s.manipulator.selected), o = e === D.SELECTED_OR_ALL && n;
|
|
201
|
+
for (const s of this._manipulatorInfos)
|
|
202
|
+
s.type === "vertex" && (s.manipulator.grabbing || o && !s.manipulator.selected || i.push(s), a++);
|
|
203
|
+
if (i.length === 0)
|
|
204
|
+
return t;
|
|
205
|
+
if (this._moveVertices(i, t), i.length === a) {
|
|
206
|
+
if (this._updateEventState(d.MOVING), this.destroyed)
|
|
207
|
+
return t;
|
|
208
|
+
this.emit("move", { type: "move", dx: t.screenDeltaX, dy: t.screenDeltaY, mover: this.graphic });
|
|
209
|
+
} else {
|
|
210
|
+
if (this._updateEventState(d.RESHAPING), this.destroyed)
|
|
211
|
+
return t;
|
|
212
|
+
this.emit("reshape", { type: "reshape", mover: this.graphic });
|
|
213
|
+
}
|
|
214
|
+
return t;
|
|
215
|
+
}
|
|
216
|
+
_isMultiVertexSelection() {
|
|
217
|
+
return this._manipulatorInfos.reduce((e, t) => t.type === "vertex" && t.manipulator.selected ? e + 1 : e, 0) > 1;
|
|
218
|
+
}
|
|
219
|
+
_perVertexManipulatorDragAction(e) {
|
|
220
|
+
if (this._updateEventState(d.RESHAPING), this.destroyed)
|
|
221
|
+
return;
|
|
222
|
+
const { mapDeltaX: t, mapDeltaY: a, mapDeltaZ: i } = e;
|
|
223
|
+
if (!t && !a && !i)
|
|
224
|
+
return;
|
|
225
|
+
const n = [];
|
|
226
|
+
for (const o of this._manipulatorInfos)
|
|
227
|
+
o.type === "vertex" && (o.manipulator.selected && !o.manipulator.grabbing || o === e.info) && n.push(o);
|
|
228
|
+
this._moveVertices(n, e, J.ACCUMULATE_STEPS), this.emit("reshape", { type: "reshape", mover: this.graphic });
|
|
229
|
+
}
|
|
230
|
+
_updateEventState(e) {
|
|
231
|
+
if (e === this._reshapeEventState)
|
|
232
|
+
return !1;
|
|
233
|
+
switch (e) {
|
|
234
|
+
case d.NONE:
|
|
235
|
+
if (this._numGrabbing !== 0 || this._numDragging !== 0)
|
|
236
|
+
return !1;
|
|
237
|
+
switch (this._reshapeEventState) {
|
|
238
|
+
case d.MOVING:
|
|
239
|
+
this.emit("move", { type: "move-stop", dx: 0, dy: 0, mover: this.graphic });
|
|
240
|
+
break;
|
|
241
|
+
case d.RESHAPING:
|
|
242
|
+
this.emit("reshape", { type: "reshape-stop", mover: this.graphic });
|
|
243
|
+
}
|
|
244
|
+
break;
|
|
245
|
+
case d.MOVING:
|
|
246
|
+
switch (this._reshapeEventState) {
|
|
247
|
+
case d.NONE:
|
|
248
|
+
this.emit("move", { type: "move-start", dx: 0, dy: 0, mover: this.graphic });
|
|
249
|
+
break;
|
|
250
|
+
case d.RESHAPING:
|
|
251
|
+
this.emit("reshape", { type: "reshape-stop", mover: this.graphic }), this.destroyed || this.emit("move", { type: "move-start", dx: 0, dy: 0, mover: this.graphic });
|
|
252
|
+
}
|
|
253
|
+
break;
|
|
254
|
+
case d.RESHAPING:
|
|
255
|
+
switch (this._reshapeEventState) {
|
|
256
|
+
case d.NONE:
|
|
257
|
+
this.emit("reshape", { type: "reshape-start", mover: this.graphic });
|
|
258
|
+
break;
|
|
259
|
+
case d.MOVING:
|
|
260
|
+
this.emit("move", { type: "move-stop", dx: 0, dy: 0, mover: this.graphic }), this.destroyed || this.emit("reshape", { type: "reshape-start", mover: this.graphic });
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
if (this.destroyed)
|
|
264
|
+
return !1;
|
|
265
|
+
const t = this._reshapeEventState !== e;
|
|
266
|
+
return this._reshapeEventState = e, t;
|
|
267
|
+
}
|
|
268
|
+
_createGraphicMoveManipulation() {
|
|
269
|
+
const { tool: e, view: t } = this, a = this._graphicState;
|
|
270
|
+
if (this._graphicMoveManipulation = new We({ tool: e, view: t, graphicState: a }), this.enableMoveGraphic) {
|
|
271
|
+
let i = null;
|
|
272
|
+
this._manipulatorHandles.add(this._graphicMoveManipulation.createDragPipeline((n, o, s) => {
|
|
273
|
+
o.next((r) => this._trackNumDragging(r)).next((r) => (r.action === "start" && (i = this._editGeometryOperations.createUndoGroup()), r)).next((r) => this._perGraphicManipulatorDragAction(D.ALL, r)).next((r) => (this._updateTranslateGraphicTooltip(b.XY, r), r)).next((r) => {
|
|
274
|
+
r.action === "end" && (this._hideTooltip(), i = w(i));
|
|
275
|
+
}), s.next(() => this._onDragCancel(!0, () => i = w(i)));
|
|
276
|
+
})), this._graphicMoveManipulation.forEachManipulator((n) => this._manipulatorHandles.add(this._watchAndUpdateGrabState(n, !1)));
|
|
277
|
+
} else
|
|
278
|
+
this._graphicMoveManipulation.forEachManipulator((i) => {
|
|
279
|
+
i.grabbable = !1, i.cursor = null;
|
|
280
|
+
});
|
|
281
|
+
this._graphicMoveManipulation.forEachManipulator((i) => this._manipulatorHandles.add(i.events.on("immediate-click", (n) => {
|
|
282
|
+
this._manipulatorInfos.some((o) => o.manipulator.selected) ? this._clearSelection() : this.emit("immediate-click", { ...n, graphic: this.graphic }), n.stopPropagation();
|
|
283
|
+
})));
|
|
284
|
+
}
|
|
285
|
+
_createMoveManipulation(e) {
|
|
286
|
+
const { graphic: t, tool: a, view: i } = this, n = this._graphicState;
|
|
287
|
+
this._moveManipulation = new B({ tool: a, view: i, xyAvailable: !0, xyAxisAvailable: !0, zAvailable: this.enableZShape && q(t), snapToScene: !1, radius: B.radiusForSymbol(t.symbol) }), this._moveManipulation.forEachManipulator((r) => this.addHandles([r.events.on("immediate-click", (l) => {
|
|
288
|
+
this._moveManipulation.zManipulation.hasManipulator(r) || this._manipulatorInfos.some((p) => p.manipulator.selected) || this.emit("immediate-click", { ...l, graphic: t }), l.stopPropagation();
|
|
289
|
+
}), this._watchAndUpdateGrabState(r, !1)]));
|
|
290
|
+
const o = (r) => (l) => {
|
|
291
|
+
this.addHandles(l.events.on("focus-changed", ({ action: p }) => {
|
|
292
|
+
p === "focus" ? this._updateTranslateTooltip(r) : this._hideTooltip();
|
|
293
|
+
}));
|
|
294
|
+
};
|
|
295
|
+
this._moveManipulation.xyManipulation.forEachManipulator(o(b.XY)), this._moveManipulation.xyAxisManipulation.forEachManipulator(o(b.XY_AXIS)), this._moveManipulation.zManipulation.forEachManipulator(o(b.Z)), this._moveManipulation.elevationInfo = { mode: "absolute-height", offset: 0 };
|
|
296
|
+
const s = t.geometry.spatialReference;
|
|
297
|
+
this.addHandles([this._moveManipulation.createDragPipeline((r, l, p, h, M) => {
|
|
298
|
+
const { snappingStep: c, cancelSnapping: u } = me({ predicate: (m) => !!m.info, snappingManager: a.snappingManager, snappingContext: new ce({ editGeometryOperations: this._editGeometryOperations, elevationInfo: e, pointer: M, excludeFeature: t, visualizer: new ae() }), updatingHandles: this._updatingHandles, useZ: !1 });
|
|
299
|
+
return h = h.next((m) => (this._onDragCancel(), m)).next(u), { steps: p = p.next((m) => this._trackNumDragging(m)).next((m) => {
|
|
300
|
+
const y = this._manipulatorInfos.filter((f) => f.type === "vertex" && f.manipulator.selected);
|
|
301
|
+
return m.manipulatorType === ne.TRANSLATE_XY && y.length === 1 ? { ...m, info: y[0], snapOrigin: y[0].handle.pos } : m;
|
|
302
|
+
}).next(de(this.view, e, t)).next(...c).next(X()).next((m) => this._perGraphicManipulatorDragAction(D.SELECTED_OR_ALL, m)).next((m) => (this._updateTranslateTooltip(r, m), m)), cancel: h };
|
|
303
|
+
}, e, s, t), V(() => n.displaying, () => this._updateMoveManipulationPosition(), L), n.on("changed", () => {
|
|
304
|
+
this._recreatingManipulators || this._updateMoveManipulationPosition();
|
|
305
|
+
}), V(() => n.isDraped, (r) => {
|
|
306
|
+
this._updateMoveManipulationPosition();
|
|
307
|
+
const l = "align-move-manipulation";
|
|
308
|
+
r ? this.addHandles(this.view.elevationProvider.on("elevation-change", () => this._updateMoveManipulationPosition()), l) : this.removeHandles(l);
|
|
309
|
+
}, L)]);
|
|
310
|
+
}
|
|
311
|
+
_createVisualElements() {
|
|
312
|
+
const { graphic: e, view: t } = this, a = Be({ view: t, graphic: e, forEachManipulator: (i) => {
|
|
313
|
+
if (!this.destroyed && !this._recreatingManipulators) {
|
|
314
|
+
this._graphicMoveManipulation.forEachManipulator(i), this._moveManipulation.forEachManipulator(i);
|
|
315
|
+
for (const n of this._manipulatorInfos)
|
|
316
|
+
i(n.manipulator, ne.TRANSLATE_XY);
|
|
317
|
+
}
|
|
318
|
+
}, onManipulatorsChanged: (i) => this.on("manipulators-changed", i) });
|
|
319
|
+
a != null && (this._outlineVisualElement = a.visualElement instanceof le ? a.visualElement : null), this._outlineVisualElement != null && this._manipulatorHandles.add(this._outlineVisualElement.events.on("attachment-origin-changed", () => {
|
|
320
|
+
this._graphicState.isDraped || this._updateMoveManipulationPosition();
|
|
321
|
+
})), this._manipulatorHandles.add(a);
|
|
322
|
+
}
|
|
323
|
+
_createEdgeOffsetManipulator(e, t = P(this.graphic)) {
|
|
324
|
+
var u, m;
|
|
325
|
+
if (e.component.vertices.length <= 2)
|
|
326
|
+
return null;
|
|
327
|
+
const a = this._settings.manipulators.edgeOffset, i = a.size / 2, n = i + a.collisionPadding, o = i / n, s = o * Math.sqrt(3) / 2;
|
|
328
|
+
this._edgeOffsetManipulatorGeometryInside == null && (this._edgeOffsetManipulatorGeometryInside = pe(this._edgeOffsetManipulatorMaterial, s, o / 2, o / 2, a.height, a.offset)), this._edgeOffsetManipulatorGeometryOutside == null && (this._edgeOffsetManipulatorGeometryOutside = pe(this._edgeOffsetManipulatorMaterial, -s, o / 2, o / 2, a.height, -a.offset));
|
|
329
|
+
const r = [new E(this._edgeOffsetManipulatorGeometryInside.instantiate(), g.Unfocused), new E(this._edgeOffsetManipulatorGeometryInside.instantiate({ material: this._edgeOffsetManipulatorHoverMaterial }), g.Focused), new E(this._edgeOffsetManipulatorGeometryOutside.instantiate(), g.Unfocused), new E(this._edgeOffsetManipulatorGeometryOutside.instantiate({ material: this._edgeOffsetManipulatorHoverMaterial }), g.Focused)], l = new Y({ view: this.view, renderObjects: r, elevationInfo: t.mode !== "on-the-ground" || ie(this.graphic.symbol) ? { mode: "absolute-height", offset: 0 } : t, worldOriented: !1, focusMultiplier: 1, radius: n, available: !(!this.graphic.visible || !((u = this.graphic.layer) != null && u.visible)), collisionType: { type: "disc", direction: De(0, 0, 1) }, collisionPriority: 1, metadata: { deleting: !1 } }), p = new Y({ view: this.view, worldSized: !0, worldOriented: !1, available: !(!this.graphic.visible || !((m = this.graphic.layer) != null && m.visible)), collisionPriority: -10, cursor: this.enableMoveGraphic ? "move" : "default", metadata: { deleting: !1 } }), h = { manipulator: l, handle: e, locationUpdateHandle: null, type: "edge", selectedIndex: 0, edgeManipulator: p, elevationInfo: t, visibilityHandle: null };
|
|
330
|
+
this._autoHideEdgeOffsetManipulator(h, a.minSquaredEdgeLength), this._updateEdgeOffsetManipulator(h);
|
|
331
|
+
const M = [];
|
|
332
|
+
for (const y of [e.leftVertex, e.rightVertex]) {
|
|
333
|
+
const f = this._getManipulatorInfoFromHandle(y);
|
|
334
|
+
f != null && M.push(f.manipulator.events.on("location-update", () => this._updateEdgeOffsetManipulator(h)));
|
|
335
|
+
}
|
|
336
|
+
h.locationUpdateHandle = R(M), this._manipulatorHandles.add(h.locationUpdateHandle, l), this._manipulatorHandles.add([this._watchAndUpdateGrabState(l, !0), this._watchAndUpdateGrabState(p, !0)], l), this._manipulatorHandles.add(j(l, this._createEdgeOffsetPipeline(h, t)), l), this._manipulatorHandles.add(j(p, (y, f, H, I) => {
|
|
337
|
+
if (I === "touch")
|
|
338
|
+
this._createEdgeOffsetPipeline(h, t)(y, f, H);
|
|
339
|
+
else if (this.enableMoveGraphic) {
|
|
340
|
+
const O = this.graphic, N = O.geometry != null ? O.geometry.spatialReference : null;
|
|
341
|
+
f.next((S) => this._trackNumDragging(S)).next(W(this.view, y.elevationAlignedLocation)).next(Ze(this.view, y.elevationAlignedLocation, t, N, O)).next(et()).next(X()).next((S) => this._perGraphicManipulatorDragAction(D.ALL, S)).next((S) => (this._updateTranslateGraphicTooltip(b.XY, S), S)).next((S) => {
|
|
342
|
+
S.action === "end" && this._hideTooltip();
|
|
343
|
+
}), H.next(() => this._onDragCancel(!y.metadata.deleting));
|
|
344
|
+
}
|
|
345
|
+
}), l);
|
|
346
|
+
const c = (y) => {
|
|
347
|
+
this._manipulatorInfos.some((f) => f.manipulator.selected) ? this._clearSelection() : this.emit("immediate-click", { ...y, graphic: this.graphic }), y.stopPropagation();
|
|
348
|
+
};
|
|
349
|
+
return this._manipulatorHandles.add([l.events.on("immediate-click", c), p.events.on("immediate-click", c), l.events.on("focus-changed", ({ action: y }) => {
|
|
350
|
+
const { sketchOptions: f, tooltip: H } = this;
|
|
351
|
+
if (y === "focus") {
|
|
352
|
+
const I = this._edgeOffsetTooltipInfo ?? (this._edgeOffsetTooltipInfo = new ge({ sketchOptions: f }));
|
|
353
|
+
I.distance = U, I.sketchOptions = f, this._updateTooltipAreaOrTotalLength(I), this._latestTooltipInfo = I, H.info = f.tooltips.effectiveEnabled ? this._latestTooltipInfo : null;
|
|
354
|
+
} else
|
|
355
|
+
this._hideTooltip();
|
|
356
|
+
})], l), this._manipulatorInfos.push(h), this.manipulators.add(l), this.manipulators.add(p), this.emit("manipulators-changed"), h;
|
|
357
|
+
}
|
|
358
|
+
_autoHideEdgeOffsetManipulator(e, t) {
|
|
359
|
+
const a = e.manipulator, i = e.edgeManipulator, n = () => {
|
|
360
|
+
e.visibilityHandle = w(e.visibilityHandle);
|
|
361
|
+
const o = this._getManipulatorInfoFromHandle(e.handle.leftVertex), s = this._getManipulatorInfoFromHandle(e.handle.rightVertex), r = o != null && s != null && Ke(o.manipulator.renderLocation, s.manipulator.renderLocation, this.view.state.camera) < t;
|
|
362
|
+
(!a.focused && !i.focused || r) && (a.grabbable = !r, i.grabbable = !r, e.visibilityHandle = R([a.disableDisplay(), Q(() => {
|
|
363
|
+
a.grabbable = !0, i.grabbable = this.enableMoveGraphic;
|
|
364
|
+
})]));
|
|
365
|
+
};
|
|
366
|
+
this._manipulatorHandles.add([a.events.on("focus-changed", n), i.events.on("focus-changed", n), Q(() => {
|
|
367
|
+
w(e.visibilityHandle), i.metadata.deleting = !0, this.manipulators.remove(i);
|
|
368
|
+
})], a), n();
|
|
369
|
+
}
|
|
370
|
+
_updateEdgeOffsetManipulator(e) {
|
|
371
|
+
this._updateManipulatorPosition(e);
|
|
372
|
+
const { coordinateHelper: t } = this._editGeometryOperations.data, a = se(this.view, e.manipulator.elevationAlignedLocation, re(t, e.handle, e.manipulator.elevationInfo)), i = this._getManipulatorInfoFromHandle(e.handle.leftVertex), n = this._getManipulatorInfoFromHandle(e.handle.rightVertex);
|
|
373
|
+
if (i == null || n == null)
|
|
374
|
+
return;
|
|
375
|
+
const o = i.manipulator.renderLocation, s = n.manipulator.renderLocation, r = a != null ? Je(a, o, s) : Te;
|
|
376
|
+
e.manipulator.modelTransform = r, e.edgeManipulator.elevationAlignedLocation = e.manipulator.elevationAlignedLocation, e.edgeManipulator.modelTransform = r;
|
|
377
|
+
const l = Ie(Se(z, o, s)) / 2;
|
|
378
|
+
e.edgeManipulator.collisionType = { type: "line", paths: [[[-l, 0, 0], [l, 0, 0]]] };
|
|
379
|
+
}
|
|
380
|
+
_createEdgeOffsetPipeline(e, t) {
|
|
381
|
+
return (a, i, n) => {
|
|
382
|
+
this._clearSelection();
|
|
383
|
+
const { step: o, cleanup: s } = this._initializeEdgeOffset(e, t);
|
|
384
|
+
i.next((r) => this._trackNumDragging(r)).next(W(this.view, a.elevationAlignedLocation)).next(o).next(Fe(this.view)).next(Xe(this.view, this._editGeometryOperations.data.spatialReference)).next(X()).next(this._applyComputeEdgeOffsetDistanceStep()).next(this._applyEdgeOffsetStep(e)).next(this._showEdgeOffsetTooltip()).next((r) => {
|
|
385
|
+
r.action === "end" && s();
|
|
386
|
+
}), n.next(() => {
|
|
387
|
+
a.metadata.deleting || (s(), this._onDragCancel());
|
|
388
|
+
});
|
|
389
|
+
};
|
|
390
|
+
}
|
|
391
|
+
_initializeEdgeOffset(e, t) {
|
|
392
|
+
const { view: a } = this, i = this._editGeometryOperations, n = re(i.data.coordinateHelper, e.handle, t), o = i.createUndoGroup(), s = se(a, e.manipulator.elevationAlignedLocation, n);
|
|
393
|
+
if (n.requiresSplitEdgeLeft) {
|
|
394
|
+
const u = this._getManipulatorInfoFromHandle(e.handle.leftVertex.leftEdge);
|
|
395
|
+
u != null && this._splitEdgeManipulator(u, 1);
|
|
396
|
+
}
|
|
397
|
+
if (n.requiresSplitEdgeRight) {
|
|
398
|
+
const u = this._getManipulatorInfoFromHandle(e.handle.rightVertex.rightEdge);
|
|
399
|
+
u != null && this._splitEdgeManipulator(u, 0);
|
|
400
|
+
}
|
|
401
|
+
const r = () => new $e({ paths: [[e.handle.leftVertex.pos, e.handle.rightVertex.pos]], spatialReference: i.data.spatialReference }), l = this._settings, p = new le({ view: a, isDraped: this._graphicState.isDraped, geometry: r(), elevationInfo: e.elevationInfo, width: l.visualElements.lineGraphics.outline.width, attached: !1, isDecoration: !0 });
|
|
402
|
+
let h;
|
|
403
|
+
const M = () => {
|
|
404
|
+
this._cleanEdgeOffsetCollapsedEdges(e), h = w(h);
|
|
405
|
+
}, c = this.on("undo", M);
|
|
406
|
+
return h = R([V(() => G(this._accentColor), (u) => p.color = u, L), Ee(p), V(() => this._graphicState.isDraped, (u) => p.isDraped = u), this._graphicState.on("changed", () => p.geometry = r()), o, c]), p.attached = !0, { step: (u) => n == null || s == null ? (M(), null) : { ...u, operation: n, plane: s }, cleanup: M };
|
|
407
|
+
}
|
|
408
|
+
_applyEdgeOffsetStep(e) {
|
|
409
|
+
return (t) => {
|
|
410
|
+
if (this.destroyed || t.operation == null)
|
|
411
|
+
return t;
|
|
412
|
+
this._updateEventState(d.RESHAPING);
|
|
413
|
+
const { mapDeltaX: a, mapDeltaY: i, mapDeltaZ: n } = t;
|
|
414
|
+
return (a || i || n) && (this._offsetEdge(e, t), this.emit("reshape", { type: "reshape", mover: this.graphic })), t;
|
|
415
|
+
};
|
|
416
|
+
}
|
|
417
|
+
_applyComputeEdgeOffsetDistanceStep() {
|
|
418
|
+
return (e) => {
|
|
419
|
+
const { operation: t, mapEnd: a } = e;
|
|
420
|
+
return t == null || a == null ? e : (e.action === "start" && t.selectArrowFromStartPoint(a), { ...e, signedDistance: t.signedDistanceToPoint(a) });
|
|
421
|
+
};
|
|
422
|
+
}
|
|
423
|
+
_showEdgeOffsetTooltip() {
|
|
424
|
+
return (e) => {
|
|
425
|
+
const { mapEnd: t, signedDistance: a, operation: i } = e, { tooltip: n, sketchOptions: o } = this;
|
|
426
|
+
if (a != null) {
|
|
427
|
+
const s = this._edgeOffsetTooltipInfo ?? (this._edgeOffsetTooltipInfo = new ge({ sketchOptions: o }));
|
|
428
|
+
s.sketchOptions = o, s.distance = e.action === "end" ? U : gt(this._graphicState.isDraped, a * i.selectedArrow, t, i.plane, this._editGeometryOperations.data.coordinateHelper), this._updateTooltipAreaOrTotalLength(s), this._latestTooltipInfo = s;
|
|
429
|
+
} else
|
|
430
|
+
this._latestTooltipInfo = null;
|
|
431
|
+
return n.info = o.tooltips.effectiveEnabled ? this._latestTooltipInfo : null, e;
|
|
432
|
+
};
|
|
433
|
+
}
|
|
434
|
+
_cleanEdgeOffsetCollapsedEdges(e) {
|
|
435
|
+
var r, l;
|
|
436
|
+
const t = (r = e.handle.leftVertex.leftEdge) == null ? void 0 : r.leftVertex, a = e.handle.leftVertex, i = (l = e.handle.rightVertex.rightEdge) == null ? void 0 : l.rightVertex, n = e.handle.rightVertex, o = this._editGeometryOperations.data.coordinateHelper, s = [];
|
|
437
|
+
if (t && o.distance(t.pos, a.pos) < K) {
|
|
438
|
+
const p = this._getManipulatorInfoFromHandle(a);
|
|
439
|
+
p != null && s.push(p);
|
|
440
|
+
}
|
|
441
|
+
if (o.distance(a.pos, n.pos) < K || i && o.distance(i.pos, n.pos) < K) {
|
|
442
|
+
const p = this._getManipulatorInfoFromHandle(n);
|
|
443
|
+
p != null && s.push(p);
|
|
444
|
+
}
|
|
445
|
+
s.length && this._removeVertices(s);
|
|
446
|
+
}
|
|
447
|
+
_computeVertexManipulatorSizeAndOutline(e) {
|
|
448
|
+
const t = e.size / 2, a = t + e.collisionPadding;
|
|
449
|
+
return { size: t / a, outlineSize: (t + e.outlineSize) / a };
|
|
450
|
+
}
|
|
451
|
+
_createVertexOrEdgeManipulator(e, t = P(this.graphic), a = !1) {
|
|
452
|
+
var M;
|
|
453
|
+
const { view: i } = this, n = this._settings;
|
|
454
|
+
if (e.type === "edge") {
|
|
455
|
+
if (this.enableEdgeOffset)
|
|
456
|
+
return this._createEdgeOffsetManipulator(e, t);
|
|
457
|
+
if (!this.enableMidpoints)
|
|
458
|
+
return null;
|
|
459
|
+
}
|
|
460
|
+
if (this._vertexManipulatorGeometry == null || this._vertexManipulatorOutlineGeometry == null) {
|
|
461
|
+
const { size: c, outlineSize: u } = this._computeVertexManipulatorSizeAndOutline(n.manipulators.vertex);
|
|
462
|
+
this._vertexManipulatorGeometry = F(this._vertexManipulatorMaterial, c, 16, 16), this._vertexManipulatorOutlineGeometry = F(this._vertexManipulatorOutlineMaterial, u, 16, 16);
|
|
463
|
+
}
|
|
464
|
+
if (this._edgeManipulatorGeometry == null || this._edgeManipulatorOutlineGeometry == null) {
|
|
465
|
+
const { size: c, outlineSize: u } = this._computeVertexManipulatorSizeAndOutline(n.manipulators.edge);
|
|
466
|
+
this._edgeManipulatorGeometry = F(this._edgeManipulatorMaterial, c, 16, 16), this._edgeManipulatorOutlineGeometry = F(this._edgeManipulatorOutlineMaterial, u, 16, 16);
|
|
467
|
+
}
|
|
468
|
+
const { geometry: o } = this.graphic, s = o == null ? void 0 : o.type, r = s === "point" || s === "mesh" ? [] : [new E(this._vertexManipulatorGeometry.instantiate(), T.Vertex | g.Unselected), new E(this._vertexManipulatorOutlineGeometry.instantiate(), T.Vertex | g.Unfocused | g.Unselected), new E(this._vertexManipulatorOutlineGeometry.instantiate({ material: this._vertexManipulatorHoverOutlineMaterial }), T.Vertex | g.Focused | g.Unselected), new E(this._vertexManipulatorGeometry.instantiate({ material: this._selectedManipulatorMaterial }), g.Selected), new E(this._vertexManipulatorOutlineGeometry.instantiate({ material: this._selectedManipulatorOutlineMaterial }), g.Selected | g.Unfocused), new E(this._vertexManipulatorOutlineGeometry.instantiate({ material: this._selectedManipulatorHoverOutlineMaterial }), g.Selected | g.Focused)];
|
|
469
|
+
this.enableMidpoints && r.push(new E(this._edgeManipulatorGeometry.instantiate({ material: this._vertexManipulatorMaterial }), T.Edge | g.Focused | g.Unselected), new E(this._edgeManipulatorOutlineGeometry.instantiate({ material: this._vertexManipulatorHoverOutlineMaterial }), T.Edge | g.Focused | g.Unselected), new E(this._edgeManipulatorGeometry.instantiate(), T.Edge | g.Unfocused | g.Unselected), new E(this._edgeManipulatorOutlineGeometry.instantiate(), T.Edge | g.Unfocused | g.Unselected));
|
|
470
|
+
const l = new Y({ view: i, renderObjects: r, elevationInfo: t, focusMultiplier: 1, touchMultiplier: 1, available: !(!this.graphic.visible || !((M = this.graphic.layer) != null && M.visible)), metadata: { deleting: !1 } });
|
|
471
|
+
l.selected = a, this._setTypeSpecificManipulatorSettings(l, e, t);
|
|
472
|
+
const p = e.type === "edge" ? { manipulator: l, handle: e, locationUpdateHandle: null, type: "edge", selectedIndex: 0 } : { manipulator: l, handle: e, type: "vertex", selectedIndex: 0 };
|
|
473
|
+
if (this._manipulatorInfos.push(p), this.manipulators.add(l), this._updateManipulatorPosition(p), p.type === "edge") {
|
|
474
|
+
const c = [];
|
|
475
|
+
for (const u of [p.handle.leftVertex, p.handle.rightVertex]) {
|
|
476
|
+
const m = this._getManipulatorInfoFromHandle(u);
|
|
477
|
+
m != null && c.push(m.manipulator.events.on("location-update", () => this._updateManipulatorPosition(p)));
|
|
478
|
+
}
|
|
479
|
+
p.locationUpdateHandle = R(c), this._manipulatorHandles.add(p.locationUpdateHandle, l);
|
|
480
|
+
}
|
|
481
|
+
this._manipulatorHandles.add(this._watchAndUpdateGrabState(l, !0), l);
|
|
482
|
+
const h = j(l, (c, u, m, y) => {
|
|
483
|
+
let f = null;
|
|
484
|
+
const { snappingStep: H, cancelSnapping: I } = me({ predicate: () => !this._isMultiVertexSelection(), snappingManager: this.tool.snappingManager, snappingContext: new ce({ editGeometryOperations: this._editGeometryOperations, elevationInfo: t, pointer: y, excludeFeature: this.graphic, visualizer: new ae() }), updatingHandles: this._updatingHandles, useZ: !1 });
|
|
485
|
+
m = m.next((O) => (this._onDragCancel(!c.metadata.deleting, () => f = w(f)), O)).next(I), u.next((O) => this._trackNumDragging(O)).next((O) => {
|
|
486
|
+
if (O.action === "start" && (f = this._editGeometryOperations.createUndoGroup()), p.type === "edge") {
|
|
487
|
+
const N = this._splitEdgeManipulator(p);
|
|
488
|
+
return { ...O, info: N, snapOrigin: N.handle.pos };
|
|
489
|
+
}
|
|
490
|
+
return { ...O, info: p, snapOrigin: p.handle.pos };
|
|
491
|
+
}).next(W(this.view, c.elevationAlignedLocation)).next(ze(this.view, this.graphic, c.elevationAlignedLocation, c.location.spatialReference, this.graphic)).next(de(this.view, t, this.graphic)).next(...H).next(X()).next((O) => {
|
|
492
|
+
this._perVertexManipulatorDragAction(O), O.action === "end" && (f = w(f)), this._updateTranslateVertexTooltip(c, b.XY, O);
|
|
493
|
+
});
|
|
494
|
+
});
|
|
495
|
+
return this._manipulatorHandles.add([h, l.events.on("immediate-click", (c) => this._manipulatorClickCallback(c, p)), l.events.on("select-changed", () => {
|
|
496
|
+
p.selectedIndex = ++this._selectedIndex, this._updateMoveManipulationPosition();
|
|
497
|
+
}), l.events.on("focus-changed", ({ action: c }) => {
|
|
498
|
+
c === "focus" && p.type !== "edge" ? this._updateTranslateVertexTooltip(l, b.XY) : this._hideTooltip();
|
|
499
|
+
})], l), this.emit("manipulators-changed"), p;
|
|
500
|
+
}
|
|
501
|
+
_trackNumDragging(e) {
|
|
502
|
+
switch (e.action) {
|
|
503
|
+
case "start":
|
|
504
|
+
this._numDragging++;
|
|
505
|
+
break;
|
|
506
|
+
case "end":
|
|
507
|
+
this._numDragging--;
|
|
508
|
+
}
|
|
509
|
+
return e;
|
|
510
|
+
}
|
|
511
|
+
_onDragCancel(e = !0, t) {
|
|
512
|
+
switch (this._numDragging--, e && (this.undo(), this.outputGeometry = this._editGeometryOperations != null ? this._editGeometryOperations.data.geometry : null), this.tool.snappingManager != null && this.tool.snappingManager.doneSnapping(), this._hideTooltip(), this._reshapeEventState) {
|
|
513
|
+
case d.NONE:
|
|
514
|
+
break;
|
|
515
|
+
case d.MOVING:
|
|
516
|
+
this.emit("move", { type: "move", dx: 0, dy: 0, mover: this.graphic });
|
|
517
|
+
break;
|
|
518
|
+
case d.RESHAPING:
|
|
519
|
+
this.emit("reshape", { type: "reshape", mover: this.graphic });
|
|
520
|
+
}
|
|
521
|
+
t && t(), this.destroyed || this._updateEventState(d.NONE);
|
|
522
|
+
}
|
|
523
|
+
_setTypeSpecificManipulatorSettings(e, t, a) {
|
|
524
|
+
const { graphic: i } = this, n = this._settings;
|
|
525
|
+
switch (t.type) {
|
|
526
|
+
case "vertex": {
|
|
527
|
+
e.state = T.Vertex, e.selectable = !0, e.cursor = "move", e.collisionPriority = 2;
|
|
528
|
+
const { size: o, collisionPadding: s } = n.manipulators.vertex;
|
|
529
|
+
e.radius = o / 2 + s, e.elevationInfo = a;
|
|
530
|
+
const { geometry: r } = i, l = r == null ? void 0 : r.type;
|
|
531
|
+
e.interactive = l != null && l !== "point" && l !== "mesh";
|
|
532
|
+
break;
|
|
533
|
+
}
|
|
534
|
+
case "edge": {
|
|
535
|
+
e.state = T.Edge, e.selectable = !1, e.cursor = "copy", e.collisionPriority = -1;
|
|
536
|
+
const { size: o, collisionPadding: s } = n.manipulators.edge;
|
|
537
|
+
e.radius = o / 2 + s, e.elevationInfo = a.mode !== "on-the-ground" || ie(i.symbol) ? { mode: "absolute-height", offset: 0 } : a;
|
|
538
|
+
break;
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
_watchAndUpdateGrabState(e, t) {
|
|
543
|
+
return e.events.on("grab-changed", (a) => this._onGrabStateChanged(e, t, a.action, a.pointerType));
|
|
544
|
+
}
|
|
545
|
+
_onGrabStateChanged(e, t, a, i = "mouse") {
|
|
546
|
+
if (!this._recreatingManipulators) {
|
|
547
|
+
if (a === "start")
|
|
548
|
+
t && this._updateSelection(e), this._numGrabbing++;
|
|
549
|
+
else if (this._numGrabbing--, this._updateEventState(d.NONE), this.destroyed)
|
|
550
|
+
return;
|
|
551
|
+
this._moveManipulation.interactive = !this._numGrabbing, (i !== "touch" || this.enableEdgeOffset) && (this._manipulatorInfos.forEach((n) => {
|
|
552
|
+
const { manipulator: o } = n, { geometry: s } = this.graphic, r = s == null ? void 0 : s.type;
|
|
553
|
+
o.interactive = o.grabbing || !this._numGrabbing && r != null && r !== "point" && r !== "mesh", "edgeManipulator" in n && (n.edgeManipulator.interactive = n.edgeManipulator.grabbing || !this._numGrabbing);
|
|
554
|
+
}), this._graphicMoveManipulation.forEachManipulator((n) => {
|
|
555
|
+
n.interactive = n.grabbing || !this._numGrabbing;
|
|
556
|
+
}));
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
_clearSelection() {
|
|
560
|
+
for (const e of this._manipulatorInfos)
|
|
561
|
+
e.manipulator.grabbing || (e.manipulator.selected = !1);
|
|
562
|
+
}
|
|
563
|
+
_updateSelection(e) {
|
|
564
|
+
e.grabbing && !e.selected && e.selectable && (this._clearSelection(), e.selected = !0, this.emit("manipulators-changed"));
|
|
565
|
+
}
|
|
566
|
+
_removeManipulator(e) {
|
|
567
|
+
e != null && (e.manipulator.metadata.deleting = !0, this.manipulators.remove(e.manipulator), this._manipulatorHandles.remove(e.manipulator), ye(this._manipulatorInfos, e), this.emit("manipulators-changed"));
|
|
568
|
+
}
|
|
569
|
+
_getManipulatorInfoFromHandle(e) {
|
|
570
|
+
if (e) {
|
|
571
|
+
for (const t of this._manipulatorInfos)
|
|
572
|
+
if (e === t.handle)
|
|
573
|
+
return t;
|
|
574
|
+
}
|
|
575
|
+
return null;
|
|
576
|
+
}
|
|
577
|
+
_updateManipulatorPosition(e) {
|
|
578
|
+
if (e == null)
|
|
579
|
+
return;
|
|
580
|
+
const t = this._editGeometryOperations;
|
|
581
|
+
if (e.type === "vertex")
|
|
582
|
+
e.manipulator.location = t.data.coordinateHelper.vectorToDehydratedPoint(e.handle.pos, k), e.manipulator.grabbing && this._vertexLaserLineVisualElement != null && (this._vertexLaserLineVisualElement.visualElement.intersectsWorldUpAtLocation = e.manipulator.renderLocation);
|
|
583
|
+
else if (e.type === "edge") {
|
|
584
|
+
const a = this._getManipulatorInfoFromHandle(e.handle.leftVertex), i = this._getManipulatorInfoFromHandle(e.handle.rightVertex);
|
|
585
|
+
if (a == null || i == null)
|
|
586
|
+
return;
|
|
587
|
+
const n = a.manipulator, o = i.manipulator;
|
|
588
|
+
if (e.manipulator.elevationInfo != null && e.manipulator.elevationInfo.mode === "on-the-ground") {
|
|
589
|
+
const s = n.location, r = o.location, l = 0.5, p = s.x + l * (r.x - s.x), h = s.y + l * (r.y - s.y), M = s.hasZ && r.hasZ ? 0 : void 0;
|
|
590
|
+
e.manipulator.location = ve(p, h, M, t.data.spatialReference);
|
|
591
|
+
} else
|
|
592
|
+
we(z, n.renderLocation, o.renderLocation, 0.5), e.manipulator.renderLocation = z;
|
|
593
|
+
}
|
|
594
|
+
}
|
|
595
|
+
_splitEdgeManipulator(e, t = 0.5) {
|
|
596
|
+
const a = this._editGeometryOperations, i = a.splitEdge(e.handle, t).createdVertex;
|
|
597
|
+
e.locationUpdateHandle = w(e.locationUpdateHandle);
|
|
598
|
+
const n = P(this.graphic);
|
|
599
|
+
let o;
|
|
600
|
+
this.enableEdgeOffset ? (this._removeManipulator(e), o = this._createVertexOrEdgeManipulator(i)) : (o = e, o.handle = i, o.type = "vertex", this._setTypeSpecificManipulatorSettings(e.manipulator, e.handle, n)), i.leftEdge && this._createVertexOrEdgeManipulator(i.leftEdge), i.rightEdge && this._createVertexOrEdgeManipulator(i.rightEdge), this.outputGeometry = a.data.geometry, this._updateManipulatorPosition(o), this.enableEdgeOffset || this._updateTranslateVertexTooltip(o.manipulator, b.XY), this._updateSelection(e.manipulator);
|
|
601
|
+
const s = this._updateEventState(d.RESHAPING), r = a.data.coordinateHelper.vectorToArray(o.handle.pos), l = a.data.components.indexOf(i.component);
|
|
602
|
+
return this.emit("vertex-add", { type: "vertex-add", vertices: [{ coordinates: r, componentIndex: l, vertexIndex: i.index }], added: r }), s && this._updateEventState(d.NONE), o;
|
|
603
|
+
}
|
|
604
|
+
_updateMoveManipulationPosition() {
|
|
605
|
+
const e = Ve(z, 0, 0, 0);
|
|
606
|
+
let t = 0, a = !1, i = null, n = null;
|
|
607
|
+
for (const o of this._manipulatorInfos)
|
|
608
|
+
o.type === "vertex" && (o.manipulator.selected ? (t++, He(e, e, o.manipulator.renderLocation), i == null || o.selectedIndex > i.selectedIndex ? (n = i, i = o) : (n == null || o.selectedIndex > n.selectedIndex) && (n = o)) : a = !0);
|
|
609
|
+
if (t === 0) {
|
|
610
|
+
const o = this._graphicState.displaying && this.enableMoveGraphic;
|
|
611
|
+
this._moveManipulation.xyManipulation.available = o, this._moveManipulation.xyAxisManipulation.available = o, this._moveManipulation.xyAxisManipulation.orthogonalAvailable = o, this._moveManipulation.zManipulation.available = o && this.enableZShape && q(this.graphic), this._moveManipulation.angle = Ye(this.graphic.geometry), this._moveManipulation.radius = B.radiusForSymbol(this.graphic.symbol);
|
|
612
|
+
} else {
|
|
613
|
+
const o = this._graphicState.displaying;
|
|
614
|
+
this._moveManipulation.xyManipulation.available = o, this._moveManipulation.xyAxisManipulation.available = o, this._moveManipulation.zManipulation.available = o && this.enableZVertex && q(this.graphic), this._moveManipulation.xyAxisManipulation.orthogonalAvailable = o && t !== 1;
|
|
615
|
+
let s = 0;
|
|
616
|
+
if (i != null) {
|
|
617
|
+
const r = i.handle.pos, l = n != null ? n.handle.pos : i.handle.leftEdge && i.handle.leftEdge.leftVertex ? i.handle.leftEdge.leftVertex.pos : null, p = n == null && i.handle.rightEdge && i.handle.rightEdge.rightVertex ? i.handle.rightEdge.rightVertex.pos : null;
|
|
618
|
+
l && p ? this._moveManipulation.xyAxisManipulation.available = !1 : l ? s = _e(l, r) : p && (s = _e(r, p));
|
|
619
|
+
}
|
|
620
|
+
this._moveManipulation.angle = s, this._moveManipulation.radius = je;
|
|
621
|
+
}
|
|
622
|
+
t !== 0 && a ? (Ae(e, e, 1 / t), k.spatialReference = this._editGeometryOperations.data.spatialReference, k.hasZ = !0, this.view.renderCoordsHelper.fromRenderCoords(e, k), this._moveManipulation.elevationAlignedLocation = k) : this._outlineVisualElement == null || this._graphicState.isDraped || this._outlineVisualElement.attachmentOrigin == null ? Re(this.view, this._moveManipulation, this.graphic) : this._moveManipulation.elevationAlignedLocation = this._outlineVisualElement.attachmentOrigin;
|
|
623
|
+
}
|
|
624
|
+
_removeVertices(e) {
|
|
625
|
+
var i;
|
|
626
|
+
const t = new Array(), a = this._editGeometryOperations;
|
|
627
|
+
for (const n of e) {
|
|
628
|
+
const o = n.handle.component;
|
|
629
|
+
if (n.type === "vertex" && a.canRemoveVertex(o)) {
|
|
630
|
+
t.push(n.handle), this._removeManipulator(n), this._removeManipulator(this._getManipulatorInfoFromHandle(n.handle.leftEdge)), this._removeManipulator(this._getManipulatorInfoFromHandle(n.handle.rightEdge));
|
|
631
|
+
const s = a.removeVertices([n.handle]), r = (i = s.removedVertices) == null ? void 0 : i[0].createdEdge;
|
|
632
|
+
r ? this._createVertexOrEdgeManipulator(r) : this.enableEdgeOffset && o.vertices.length <= 2 && this._removeManipulator(this._getManipulatorInfoFromHandle(o.edges[0]));
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
if (t.length > 0) {
|
|
636
|
+
const n = t.map((s) => {
|
|
637
|
+
const r = a.data.components.indexOf(s.component);
|
|
638
|
+
return { coordinates: a.data.coordinateHelper.vectorToArray(s.pos), componentIndex: r, vertexIndex: s.index };
|
|
639
|
+
});
|
|
640
|
+
this.outputGeometry = a.data.geometry;
|
|
641
|
+
const o = this._updateEventState(d.RESHAPING);
|
|
642
|
+
if (this.destroyed || (this.emit("vertex-remove", { type: "vertex-remove", removed: n.map((s) => s.coordinates), vertices: n }), this.destroyed) || o && (this._updateEventState(d.NONE), this.destroyed))
|
|
643
|
+
return;
|
|
644
|
+
this._updateMoveManipulationPosition();
|
|
645
|
+
}
|
|
646
|
+
}
|
|
647
|
+
_moveVertices(e, t, a = t.action === "start" ? J.NEW_STEP : J.ACCUMULATE_STEPS) {
|
|
648
|
+
const i = this._editGeometryOperations;
|
|
649
|
+
i.moveVertices(e.map((n) => n.handle), t.mapDeltaX, t.mapDeltaY, t.mapDeltaZ, a), this.outputGeometry = i.data.geometry;
|
|
650
|
+
for (const n of e)
|
|
651
|
+
this._updateManipulatorPosition(n);
|
|
652
|
+
}
|
|
653
|
+
_offsetEdge(e, t) {
|
|
654
|
+
if (t.operation == null || t.signedDistance == null)
|
|
655
|
+
return;
|
|
656
|
+
const a = this._editGeometryOperations, i = t.operation.clone();
|
|
657
|
+
i.distance = t.signedDistance, a.updateVertices([e.handle.leftVertex, e.handle.rightVertex], i), this.outputGeometry = a.data.geometry, this._updateManipulatorPosition(this._getManipulatorInfoFromHandle(e.handle.leftVertex)), this._updateManipulatorPosition(this._getManipulatorInfoFromHandle(e.handle.rightVertex));
|
|
658
|
+
}
|
|
659
|
+
_manipulatorClickCallback(e, t) {
|
|
660
|
+
e.shiftKey || this._clearSelection(), t.type === "vertex" && (t.manipulator.selected = !t.manipulator.selected, e.button === he.Right && this._removeVertices([t])), t.type === "edge" && e.button === he.Left && this._splitEdgeManipulator(t), e.stopPropagation();
|
|
661
|
+
}
|
|
662
|
+
_updateTranslateTooltip(e, t) {
|
|
663
|
+
const a = this._manipulatorInfos.filter((i) => i.type === "vertex" && i.manipulator.selected);
|
|
664
|
+
a.length === 1 ? this._updateTranslateVertexTooltip(a[0].manipulator, e, t) : this._updateTranslateGraphicTooltip(e, t);
|
|
665
|
+
}
|
|
666
|
+
_updateTranslateGraphicTooltip(e, t) {
|
|
667
|
+
const { sketchOptions: a, tooltip: i } = this;
|
|
668
|
+
switch (e) {
|
|
669
|
+
case b.XY:
|
|
670
|
+
this._latestTooltipInfo = this._translateGraphicTooltipInfo ?? (this._translateGraphicTooltipInfo = new ot({ sketchOptions: a })), this._updateTranslateTooltipDistance(this._latestTooltipInfo, t, (n, o) => Z(n, o));
|
|
671
|
+
break;
|
|
672
|
+
case b.XY_AXIS:
|
|
673
|
+
this._latestTooltipInfo = this._translateGraphicXYTooltipInfo ?? (this._translateGraphicXYTooltipInfo = new nt({ sketchOptions: a })), this._updateTranslateTooltipDistance(this._latestTooltipInfo, t, (n, o) => ee(Z(n, o), oe(t)));
|
|
674
|
+
break;
|
|
675
|
+
case b.Z:
|
|
676
|
+
this._latestTooltipInfo = this._translateGraphicZTooltipInfo ?? (this._translateGraphicZTooltipInfo = new at({ sketchOptions: a })), this._updateTranslateTooltipDistance(this._latestTooltipInfo, t, fe);
|
|
677
|
+
}
|
|
678
|
+
this._latestTooltipInfo.sketchOptions = a, i.info = a.tooltips.effectiveEnabled ? this._latestTooltipInfo : null;
|
|
679
|
+
}
|
|
680
|
+
_updateTranslateVertexTooltip(e, t, a) {
|
|
681
|
+
const { sketchOptions: i, tooltip: n } = this;
|
|
682
|
+
switch (t) {
|
|
683
|
+
case b.XY:
|
|
684
|
+
this._latestTooltipInfo = this._translateVertexTooltipInfo ?? (this._translateVertexTooltipInfo = new lt({ sketchOptions: i })), this._updateTranslateTooltipDistance(this._latestTooltipInfo, a, (s, r) => Z(s, r)), this._updateTooltipAreaOrTotalLength(this._latestTooltipInfo);
|
|
685
|
+
break;
|
|
686
|
+
case b.XY_AXIS:
|
|
687
|
+
this._latestTooltipInfo = this._translateVertexXYTooltipInfo ?? (this._translateVertexXYTooltipInfo = new rt({ sketchOptions: i })), this._updateTranslateTooltipDistance(this._latestTooltipInfo, a, (s, r) => ee(Z(s, r), oe(a))), this._updateTooltipAreaOrTotalLength(this._latestTooltipInfo);
|
|
688
|
+
break;
|
|
689
|
+
case b.Z:
|
|
690
|
+
this._latestTooltipInfo = this._translateVertexZTooltipInfo ?? (this._translateVertexZTooltipInfo = new st({ sketchOptions: i })), this._updateTranslateTooltipDistance(this._latestTooltipInfo, a, fe);
|
|
691
|
+
}
|
|
692
|
+
const o = ut(e.location);
|
|
693
|
+
this._latestTooltipInfo.elevation = o != null ? pt({ actual: o }) : null, this._latestTooltipInfo.sketchOptions = i, n.info = i.tooltips.effectiveEnabled ? this._latestTooltipInfo : null;
|
|
694
|
+
}
|
|
695
|
+
_updateTranslateTooltipDistance(e, t, a) {
|
|
696
|
+
if (t != null && t.action !== "end") {
|
|
697
|
+
const { mapStart: i, mapEnd: n } = t, o = a(i, n);
|
|
698
|
+
e.distance = o ?? U;
|
|
699
|
+
} else
|
|
700
|
+
e.distance = U;
|
|
701
|
+
}
|
|
702
|
+
_updateTooltipAreaOrTotalLength(e) {
|
|
703
|
+
const { geometry: t } = this.graphic;
|
|
704
|
+
if (t == null)
|
|
705
|
+
return e.area = null, void (e.totalLength = null);
|
|
706
|
+
e.area = t.type === "polygon" ? ht(t) : null, e.totalLength = t.type === "polyline" ? dt(t) : null;
|
|
707
|
+
}
|
|
708
|
+
_hideTooltip() {
|
|
709
|
+
this.tooltip.clear(), this._latestTooltipInfo = null;
|
|
710
|
+
}
|
|
711
|
+
get test() {
|
|
712
|
+
return { segmentLabels: this._segmentLabels, manipulatorInfos: this._manipulatorInfos };
|
|
713
|
+
}
|
|
714
|
+
};
|
|
715
|
+
function _e(e, t) {
|
|
716
|
+
return Math.atan2(t[1] - e[1], t[0] - e[0]) + Math.PI / 2;
|
|
717
|
+
}
|
|
718
|
+
function gt(e, t, a, i, n) {
|
|
719
|
+
if (e) {
|
|
720
|
+
const o = n.toXYZ(n.pointToVector(a)), s = ke(i, o, Ne.get()), r = ct(s, o, n.spatialReference);
|
|
721
|
+
if (r != null)
|
|
722
|
+
return te(r.value * Math.sign(t), r.unit);
|
|
723
|
+
}
|
|
724
|
+
return te(t * be(a.spatialReference), "meters");
|
|
725
|
+
}
|
|
726
|
+
v([x()], _.prototype, "_editGeometryOperations", void 0), v([x()], _.prototype, "_segmentLabels", void 0), v([x({ constructOnly: !0 })], _.prototype, "tool", void 0), v([x()], _.prototype, "tooltip", void 0), v([x()], _.prototype, "inputGeometry", null), v([x()], _.prototype, "outputGeometry", void 0), v([x({ readOnly: !0 })], _.prototype, "updating", null), v([x()], _.prototype, "manipulators", null), v([x()], _.prototype, "view", null), v([x()], _.prototype, "graphic", null), v([x()], _.prototype, "enableZShape", null), v([x()], _.prototype, "enableZVertex", null), v([x()], _.prototype, "enableMoveGraphic", null), v([x()], _.prototype, "enableMidpoints", null), v([x()], _.prototype, "enableEdgeOffset", null), v([x()], _.prototype, "sketchOptions", null), v([x()], _.prototype, "_accentColor", null), _ = v([Ge("esri.views.3d.interactive.editingTools.reshapeGraphic.ReshapeOperation")], _);
|
|
727
|
+
const k = ve(0, 0, void 0, mt.WGS84), z = Le(), K = 1e-6;
|
|
728
|
+
var T, d, D;
|
|
729
|
+
(function(e) {
|
|
730
|
+
e.Vertex = ue.Custom1, e.Edge = ue.Custom2;
|
|
731
|
+
})(T || (T = {})), function(e) {
|
|
732
|
+
e[e.NONE = 0] = "NONE", e[e.MOVING = 1] = "MOVING", e[e.RESHAPING = 2] = "RESHAPING";
|
|
733
|
+
}(d || (d = {})), function(e) {
|
|
734
|
+
e[e.ALL = 0] = "ALL", e[e.SELECTED_OR_ALL = 1] = "SELECTED_OR_ALL";
|
|
735
|
+
}(D || (D = {}));
|
|
736
|
+
export {
|
|
737
|
+
_ as ReshapeOperation
|
|
738
|
+
};
|