@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,556 @@
|
|
|
1
|
+
import { _ as v } from "../../../chunks/tslib.es6.js";
|
|
2
|
+
import "../../../geometry.js";
|
|
3
|
+
import x from "../../../Graphic.js";
|
|
4
|
+
import { createTask as D } from "../../../core/asyncUtils.js";
|
|
5
|
+
import k from "../../../core/Collection.js";
|
|
6
|
+
import F from "../../../core/Error.js";
|
|
7
|
+
import U from "../../../core/Evented.js";
|
|
8
|
+
import L from "../../../core/Logger.js";
|
|
9
|
+
import { destroyMaybe as M, abortMaybe as E } from "../../../core/maybe.js";
|
|
10
|
+
import { zeroMeters as I } from "../../../core/quantityUtils.js";
|
|
11
|
+
import { when as P, pausable as S, watch as T, syncAndInitial as K, initial as q } from "../../../core/reactiveUtils.js";
|
|
12
|
+
import { createScreenPoint as O } from "../../../core/screenUtils.js";
|
|
13
|
+
import { property as y } from "../../../core/accessorSupport/decorators/property.js";
|
|
14
|
+
import "../../../core/has.js";
|
|
15
|
+
import "../../../core/RandomLCG.js";
|
|
16
|
+
import { subclass as B } from "../../../core/accessorSupport/decorators/subclass.js";
|
|
17
|
+
import { closeRingsAndFixWinding as N, geometryToCoordinates as b, getMidpoint as C } from "../../../geometry/support/coordsUtils.js";
|
|
18
|
+
import W from "../../../layers/GraphicsLayer.js";
|
|
19
|
+
import G from "../../../symbols/SimpleMarkerSymbol.js";
|
|
20
|
+
import { ViewingMode as j } from "../../ViewingMode.js";
|
|
21
|
+
import { SnappingVisualizer2D as J } from "../../2d/interactive/SnappingVisualizer2D.js";
|
|
22
|
+
import { cloneMove as Q } from "./drawUtils.js";
|
|
23
|
+
import X from "./GraphicMover.js";
|
|
24
|
+
import Y from "./HighlightHelper.js";
|
|
25
|
+
import { addUniqueLayer as Z } from "./layerUtils.js";
|
|
26
|
+
import { settings as tt } from "./settings.js";
|
|
27
|
+
import { ViewEventPriorities as et } from "../../input/InputManager.js";
|
|
28
|
+
import { sketchKeys as it } from "../../interactive/keybindings.js";
|
|
29
|
+
import { EditGeometryOperations as st } from "../../interactive/editGeometry/EditGeometryOperations.js";
|
|
30
|
+
import $ from "../../interactive/sketch/SketchOptions.js";
|
|
31
|
+
import { SnappingContext as ot } from "../../interactive/snapping/SnappingContext.js";
|
|
32
|
+
import { Tooltip as rt } from "../../interactive/tooltip/Tooltip.js";
|
|
33
|
+
import { TranslateGraphicTooltipInfo as nt, TranslateVertexTooltipInfo as at } from "../../interactive/tooltip/TranslateTooltipInfos.js";
|
|
34
|
+
import { autoArea2D as ht } from "../../support/automaticAreaMeasurementUtils.js";
|
|
35
|
+
import { autoDistanceBetweenPoints2D as R, autoLength2D as pt } from "../../support/automaticLengthMeasurementUtils.js";
|
|
36
|
+
import ct from "../../../geometry/Polyline.js";
|
|
37
|
+
import f from "../../../geometry/Point.js";
|
|
38
|
+
class lt {
|
|
39
|
+
constructor(e, i, s) {
|
|
40
|
+
this.graphic = e, this.mover = i, this.selected = s, this.type = "reshape-start";
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
class dt {
|
|
44
|
+
constructor(e, i, s) {
|
|
45
|
+
this.graphic = e, this.mover = i, this.selected = s, this.type = "reshape";
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
class mt {
|
|
49
|
+
constructor(e, i, s) {
|
|
50
|
+
this.graphic = e, this.mover = i, this.selected = s, this.type = "reshape-stop";
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
class vt {
|
|
54
|
+
constructor(e, i, s) {
|
|
55
|
+
this.mover = e, this.dx = i, this.dy = s, this.type = "move-start";
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
class yt {
|
|
59
|
+
constructor(e, i, s) {
|
|
60
|
+
this.mover = e, this.dx = i, this.dy = s, this.type = "move";
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
class _t {
|
|
64
|
+
constructor(e, i, s) {
|
|
65
|
+
this.mover = e, this.dx = i, this.dy = s, this.type = "move-stop";
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
class gt {
|
|
69
|
+
constructor(e) {
|
|
70
|
+
this.added = e, this.type = "vertex-select";
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
class ut {
|
|
74
|
+
constructor(e) {
|
|
75
|
+
this.removed = e, this.type = "vertex-deselect";
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
class ft {
|
|
79
|
+
constructor(e, i, s, o) {
|
|
80
|
+
this.added = e, this.graphic = i, this.oldGraphic = s, this.vertices = o, this.type = "vertex-add";
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
class xt {
|
|
84
|
+
constructor(e, i, s, o) {
|
|
85
|
+
this.removed = e, this.graphic = i, this.oldGraphic = s, this.vertices = o, this.type = "vertex-remove";
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
const g = tt.reshapeGraphics, Gt = { vertices: { default: new G({ style: "circle", size: g.vertex.size, color: g.vertex.color, outline: { color: g.vertex.outlineColor, width: 1 } }), hover: new G({ style: "circle", size: g.vertex.hoverSize, color: g.vertex.hoverColor, outline: { color: g.vertex.hoverOutlineColor, width: 1 } }), selected: new G({ style: "circle", size: g.selected.size, color: g.selected.color, outline: { color: g.selected.outlineColor, width: 1 } }) }, midpoints: { default: new G({ style: "circle", size: g.midpoint.size, color: g.midpoint.color, outline: { color: g.midpoint.outlineColor, width: 1 } }), hover: new G({ style: "circle", size: g.midpoint.size, color: g.midpoint.color, outline: { color: g.midpoint.outlineColor, width: 1 } }) } };
|
|
89
|
+
let d = class extends U.EventedAccessor {
|
|
90
|
+
constructor(t) {
|
|
91
|
+
super(t), this._activeOperationInfo = null, this._editGeometryOperations = null, this._graphicAttributes = { esriSketchTool: "box" }, this._mover = null, this._snappingContext = null, this._hoverGraphic = null, this._snappingTask = null, this._stagedVertex = null, this.tooltip = null, this._translateGraphicTooltipInfo = null, this._translateVertexTooltipInfo = null, this.callbacks = { onReshapeStart() {
|
|
92
|
+
}, onReshape() {
|
|
93
|
+
}, onReshapeStop() {
|
|
94
|
+
}, onMoveStart() {
|
|
95
|
+
}, onMove() {
|
|
96
|
+
}, onMoveStop() {
|
|
97
|
+
}, onGraphicClick() {
|
|
98
|
+
} }, this.enableMidpoints = !0, this.enableMovement = !0, this.enableVertices = !0, this.graphic = null, this.layer = null, this.midpointGraphics = new k(), this.midpointSymbol = new G({ style: "circle", size: 6, color: [200, 200, 200], outline: { color: [100, 100, 100], width: 1 } }), this.selectedVertices = [], this.snappingManager = null, this.symbols = Gt, this.sketchOptions = new $(), this.type = "reshape", this.vertexGraphics = new k(), this.view = null;
|
|
99
|
+
}
|
|
100
|
+
initialize() {
|
|
101
|
+
const t = this.view;
|
|
102
|
+
this._highlightHelper = new Y({ view: t }), this._setup(), this.addHandles([P(() => t == null ? void 0 : t.ready, () => {
|
|
103
|
+
const { layer: e, view: i } = this;
|
|
104
|
+
Z(i, e), this.addHandles(i.on("key-down", (s) => this._keyDownHandler(s), et.TOOL));
|
|
105
|
+
}, { once: !0, initial: !0 }), S(() => this.graphic, () => this.refresh()), S(() => this.layer, (e, i) => {
|
|
106
|
+
i && (this._clearSelection(), this._resetGraphics(i)), this.refresh();
|
|
107
|
+
}), S(() => this.enableMidpoints, () => this.refresh()), T(() => this.sketchOptions.tooltips.effectiveEnabled, (e) => {
|
|
108
|
+
this.tooltip = e ? new rt({ view: this.view }) : M(this.tooltip);
|
|
109
|
+
}, K), T(() => this.view.effectiveTheme.accentColor, () => this._updateSymbolsForTheme(), q)]);
|
|
110
|
+
}
|
|
111
|
+
destroy() {
|
|
112
|
+
var t;
|
|
113
|
+
this._reset(), (t = this._mover) == null || t.destroy(), this._mover = null, this.tooltip = M(this.tooltip);
|
|
114
|
+
}
|
|
115
|
+
set highlightsEnabled(t) {
|
|
116
|
+
var e;
|
|
117
|
+
(e = this._highlightHelper) == null || e.removeAll(), this._set("highlightsEnabled", t), this._setUpHighlights();
|
|
118
|
+
}
|
|
119
|
+
get state() {
|
|
120
|
+
const t = this.view.ready, e = !(!this.graphic || !this.layer);
|
|
121
|
+
return t && e ? "active" : t ? "ready" : "disabled";
|
|
122
|
+
}
|
|
123
|
+
isUIGraphic(t) {
|
|
124
|
+
const e = [];
|
|
125
|
+
return this.graphic && e.push(this.graphic), e.concat(this.vertexGraphics.items, this.midpointGraphics.items), e.length > 0 && e.includes(t);
|
|
126
|
+
}
|
|
127
|
+
refresh() {
|
|
128
|
+
this._reset(), this._setup();
|
|
129
|
+
}
|
|
130
|
+
reset() {
|
|
131
|
+
this.graphic = null;
|
|
132
|
+
}
|
|
133
|
+
clearSelection() {
|
|
134
|
+
this._clearSelection();
|
|
135
|
+
}
|
|
136
|
+
removeSelectedVertices() {
|
|
137
|
+
this.selectedVertices.length && this._removeVertices(this.selectedVertices);
|
|
138
|
+
}
|
|
139
|
+
_setup() {
|
|
140
|
+
const { graphic: t, layer: e } = this;
|
|
141
|
+
if (!e || (t == null ? void 0 : t.geometry) == null)
|
|
142
|
+
return;
|
|
143
|
+
const i = t.geometry;
|
|
144
|
+
i.type !== "mesh" && i.type !== "extent" ? (i.type === "polygon" && N(i), this._setUpHighlights(), this._setupGraphics(), this._setupMover()) : this._logGeometryTypeError();
|
|
145
|
+
}
|
|
146
|
+
_setUpHighlights() {
|
|
147
|
+
var t;
|
|
148
|
+
this.highlightsEnabled && this.graphic && ((t = this._highlightHelper) == null || t.add(this.graphic));
|
|
149
|
+
}
|
|
150
|
+
_setUpGeometryHelper() {
|
|
151
|
+
const t = this.graphic.geometry;
|
|
152
|
+
if (t == null || t.type === "mesh" || t.type === "extent")
|
|
153
|
+
return void this._logGeometryTypeError();
|
|
154
|
+
const e = t.type === "multipoint" ? new ct({ paths: t.points, spatialReference: t.spatialReference }) : t;
|
|
155
|
+
this._editGeometryOperations = st.fromGeometry(e, j.Local);
|
|
156
|
+
}
|
|
157
|
+
_saveSnappingContextForHandle(t, e) {
|
|
158
|
+
var i;
|
|
159
|
+
this._snappingGraphicsLayer = new W({ listMode: "hide", internal: !0, title: "Reshape snapping layer" }), this.view.map.layers.add(this._snappingGraphicsLayer), this._snappingContext = new ot({ editGeometryOperations: this._editGeometryOperations, elevationInfo: { mode: "on-the-ground", offset: 0 }, pointer: ((i = e.viewEvent) == null ? void 0 : i.pointerType) || "mouse", excludeFeature: this.graphic, feature: this.graphic, visualizer: new J(this._snappingGraphicsLayer), vertexHandle: this._getVertexFromEditGeometry(t) });
|
|
160
|
+
}
|
|
161
|
+
_reset() {
|
|
162
|
+
var t;
|
|
163
|
+
this._clearSelection(), (t = this._highlightHelper) == null || t.removeAll(), this._updateTooltip(), this._resetGraphics(), this._resetSnappingStateVars(), this._activeOperationInfo = null, this._mover && this._mover.destroy(), this._mover = null, this.view.cursor = "default";
|
|
164
|
+
}
|
|
165
|
+
_resetSnappingStateVars() {
|
|
166
|
+
var t;
|
|
167
|
+
this.snappingManager != null && this.snappingManager.doneSnapping(), this._snappingGraphicsLayer != null && ((t = this.view) != null && t.map && this.view.map.layers.remove(this._snappingGraphicsLayer), this._snappingGraphicsLayer.destroy()), this._editGeometryOperations = M(this._editGeometryOperations), this._snappingTask = E(this._snappingTask), this._snappingTask = null, this._snappingContext = null, this._stagedVertex = null;
|
|
168
|
+
}
|
|
169
|
+
_resetGraphics(t) {
|
|
170
|
+
this._removeMidpointGraphics(t), this._removeVertexGraphics(t), this._set("selectedVertices", []);
|
|
171
|
+
}
|
|
172
|
+
_removeMidpointGraphics(t) {
|
|
173
|
+
const e = t || this.layer;
|
|
174
|
+
e && e.removeMany(this.midpointGraphics.items), this.midpointGraphics.items.forEach((i) => i.destroy()), this.midpointGraphics.removeAll();
|
|
175
|
+
}
|
|
176
|
+
_removeVertexGraphics(t) {
|
|
177
|
+
const e = t || this.layer;
|
|
178
|
+
e && e.removeMany(this.vertexGraphics.items), this.vertexGraphics.items.forEach((i) => i.destroy()), this.vertexGraphics.removeAll();
|
|
179
|
+
}
|
|
180
|
+
_getCoordinatesForUI(t) {
|
|
181
|
+
const e = b(t.clone());
|
|
182
|
+
if (t.type === "polygon")
|
|
183
|
+
for (const i of e) {
|
|
184
|
+
const s = i[i.length - 1];
|
|
185
|
+
i[0][0] === s[0] && i[0][1] === s[1] && i.length > 2 && i.pop();
|
|
186
|
+
}
|
|
187
|
+
return e;
|
|
188
|
+
}
|
|
189
|
+
_setupGraphics() {
|
|
190
|
+
const t = this.graphic.geometry;
|
|
191
|
+
if (t != null && (t.type === "polyline" || t.type === "polygon")) {
|
|
192
|
+
const e = this._getCoordinatesForUI(t);
|
|
193
|
+
this.enableMidpoints && this._setUpMidpointGraphics(e), this.enableVertices && this._setUpVertexGraphics(e);
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
_setUpMidpointGraphics(t) {
|
|
197
|
+
this._removeMidpointGraphics();
|
|
198
|
+
const e = this._createMidpointGraphics(t);
|
|
199
|
+
this.midpointGraphics.addMany(e), this.layer.addMany(e);
|
|
200
|
+
}
|
|
201
|
+
_setUpVertexGraphics(t) {
|
|
202
|
+
this._removeVertexGraphics();
|
|
203
|
+
const e = this._createVertexGraphics(t);
|
|
204
|
+
this.vertexGraphics.addMany(e), this._storeRelatedVertexIndices(), this.layer.addMany(e);
|
|
205
|
+
}
|
|
206
|
+
_createVertexGraphics(t) {
|
|
207
|
+
const { _graphicAttributes: e, symbols: i, view: { spatialReference: s } } = this, o = [];
|
|
208
|
+
return t == null || t.forEach((n, r) => {
|
|
209
|
+
n.forEach((h, p) => {
|
|
210
|
+
var m;
|
|
211
|
+
const [a, c, l] = h;
|
|
212
|
+
o.push(new x({ geometry: new f({ x: a, y: c, z: l, spatialReference: s }), symbol: (m = i == null ? void 0 : i.vertices) == null ? void 0 : m.default, attributes: { ...e, pathIndex: r, pointIndex: p } }));
|
|
213
|
+
});
|
|
214
|
+
}), o;
|
|
215
|
+
}
|
|
216
|
+
_createMidpointGraphics(t) {
|
|
217
|
+
const { _graphicAttributes: e, symbols: i, view: { spatialReference: s } } = this, o = [];
|
|
218
|
+
return t == null || t.forEach((n, r) => {
|
|
219
|
+
n.forEach((h, p) => {
|
|
220
|
+
var _;
|
|
221
|
+
const [a, c, l] = h, m = n[p + 1] ? p + 1 : 0;
|
|
222
|
+
if (((_ = this.graphic.geometry) == null ? void 0 : _.type) === "polygon" || m !== 0) {
|
|
223
|
+
const [u, V, w] = n[m], [H, A, z] = C([a, c, l], [u, V, w]);
|
|
224
|
+
o.push(new x({ geometry: new f({ x: H, y: A, z, spatialReference: s }), symbol: i.midpoints.default, attributes: { ...e, pathIndex: r, pointIndexStart: p, pointIndexEnd: m } }));
|
|
225
|
+
}
|
|
226
|
+
});
|
|
227
|
+
}), o;
|
|
228
|
+
}
|
|
229
|
+
_updateSymbolsForTheme() {
|
|
230
|
+
var e;
|
|
231
|
+
const t = this.view.effectiveTheme.accentColor;
|
|
232
|
+
this.symbols = { vertices: { ...this.symbols.vertices, default: this.symbols.vertices.default.clone().set("color", t), hover: (e = this.symbols.vertices.hover) == null ? void 0 : e.clone().set("color", t) }, midpoints: { ...this.symbols.midpoints } };
|
|
233
|
+
for (const i of this.vertexGraphics)
|
|
234
|
+
this._isSelected(i) ? i.symbol = this.symbols.vertices.selected : this._hoverGraphic === i ? i.symbol = this.symbols.vertices.hover : i.symbol = this.symbols.vertices.default;
|
|
235
|
+
}
|
|
236
|
+
_storeRelatedVertexIndices() {
|
|
237
|
+
const t = this.vertexGraphics.items;
|
|
238
|
+
if (!t)
|
|
239
|
+
return;
|
|
240
|
+
const e = t.map(({ geometry: i }) => ({ x: i.x, y: i.y }));
|
|
241
|
+
for (let i = 0; i < e.length; i++) {
|
|
242
|
+
const s = [];
|
|
243
|
+
for (let o = 0; o < e.length; o++) {
|
|
244
|
+
if (i === o)
|
|
245
|
+
continue;
|
|
246
|
+
const n = e[i], r = e[o];
|
|
247
|
+
n.x === r.x && n.y === r.y && s.push(o);
|
|
248
|
+
}
|
|
249
|
+
t[i].attributes.relatedGraphicIndices = s;
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
_setupMover() {
|
|
253
|
+
const { enableMovement: t, graphic: e, midpointGraphics: i, vertexGraphics: s, view: o } = this, n = s.concat(i).items;
|
|
254
|
+
t && n.push(e), this._mover = new X({ enableMoveAllGraphics: !1, highlightsEnabled: !1, indicatorsEnabled: !1, graphics: n, view: o, callbacks: { onGraphicClick: (r) => this._onGraphicClickCallback(r), onGraphicMoveStart: (r) => this._onGraphicMoveStartCallback(r), onGraphicMove: (r) => this._onGraphicMoveCallback(r), onGraphicMoveStop: (r) => this._onGraphicMoveStopCallback(r), onGraphicPointerOver: (r) => this._onGraphicPointerOverCallback(r), onGraphicPointerOut: (r) => this._onGraphicPointerOutCallback(r) } });
|
|
255
|
+
}
|
|
256
|
+
_onGraphicClickCallback(t) {
|
|
257
|
+
t.viewEvent.stopPropagation();
|
|
258
|
+
const e = t.graphic;
|
|
259
|
+
if (e === this.graphic)
|
|
260
|
+
this.clearSelection(), this.emit("graphic-click", t), this.callbacks.onGraphicClick && this.callbacks.onGraphicClick(t);
|
|
261
|
+
else if (this._isMidpoint(e)) {
|
|
262
|
+
if (t.viewEvent.button === 2)
|
|
263
|
+
return;
|
|
264
|
+
const i = this.graphic.clone(), s = this._createVertexFromMidpoint(e);
|
|
265
|
+
this.refresh(), this._emitVertexAddEvent([e], i, s);
|
|
266
|
+
} else
|
|
267
|
+
this._isVertex(e) && (t.viewEvent.stopPropagation(), t.viewEvent.button === 2 ? this._removeVertices(e) : (t.viewEvent.native.shiftKey || this._clearSelection(), this.selectedVertices.includes(e) ? this._removeFromSelection(e, !0) : this._addToSelection(e)));
|
|
268
|
+
}
|
|
269
|
+
_setUpOperation(t) {
|
|
270
|
+
const { graphic: e, dx: i, dy: s } = t, o = e === this.graphic;
|
|
271
|
+
this._resetSnappingStateVars(), this._setUpGeometryHelper(), this._saveSnappingContextForHandle(e, t), this._activeOperationInfo = { target: this.graphic, mover: e, operationType: o ? "move" : "reshape", totalDx: i, totalDy: s };
|
|
272
|
+
}
|
|
273
|
+
_onGraphicMoveStartCallback(t) {
|
|
274
|
+
const { dx: e, dy: i, graphic: s } = t;
|
|
275
|
+
if (s === this.graphic) {
|
|
276
|
+
const { geometry: o } = s;
|
|
277
|
+
return this._setUpOperation(t), this._emitMoveStartEvent(e, i), void (o != null && o.type === "point" && this._onHandleMove(s, e, i, t, () => {
|
|
278
|
+
this._updateTooltip(this.graphic, t.viewEvent), this._emitMoveEvent(e, i);
|
|
279
|
+
}));
|
|
280
|
+
}
|
|
281
|
+
if (!this.selectedVertices.includes(s)) {
|
|
282
|
+
if (this._clearSelection(), this._isMidpoint(s)) {
|
|
283
|
+
const o = this.graphic.clone(), n = this._createVertexFromMidpoint(s);
|
|
284
|
+
this._emitVertexAddEvent([s], o, n);
|
|
285
|
+
}
|
|
286
|
+
this._addToSelection(s);
|
|
287
|
+
}
|
|
288
|
+
this._setUpOperation(t), this._emitReshapeStartEvent(s), this._onHandleMove(s, e, i, t, () => {
|
|
289
|
+
this._updateTooltip(s, t.viewEvent), this._emitReshapeEvent(s);
|
|
290
|
+
});
|
|
291
|
+
}
|
|
292
|
+
_onGraphicMoveCallback(t) {
|
|
293
|
+
const e = this._activeOperationInfo;
|
|
294
|
+
if (!e)
|
|
295
|
+
return;
|
|
296
|
+
const { dx: i, dy: s, graphic: o } = t;
|
|
297
|
+
e.totalDx += i, e.totalDy += s;
|
|
298
|
+
const { operationType: n } = e, { geometry: r } = o;
|
|
299
|
+
if (r != null) {
|
|
300
|
+
if (n !== "move")
|
|
301
|
+
this._onHandleMove(o, i, s, t, () => {
|
|
302
|
+
this._updateTooltip(o, t.viewEvent), this._emitReshapeEvent(o);
|
|
303
|
+
});
|
|
304
|
+
else if (r.type === "point")
|
|
305
|
+
this._onHandleMove(o, i, s, t, () => {
|
|
306
|
+
this._updateTooltip(this.graphic, t.viewEvent), this._emitMoveEvent(i, s);
|
|
307
|
+
});
|
|
308
|
+
else if (r.type === "polyline" || r.type === "polygon") {
|
|
309
|
+
const h = this._getCoordinatesForUI(r);
|
|
310
|
+
this._updateVertexGraphicLocations(h), this._updateTooltip(this.graphic, t.viewEvent), this._emitMoveEvent(i, s);
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
_onGraphicMoveStopCallback(t) {
|
|
315
|
+
const e = this._activeOperationInfo;
|
|
316
|
+
if (!e)
|
|
317
|
+
return;
|
|
318
|
+
const { dx: i, dy: s, graphic: o } = t, { operationType: n } = e;
|
|
319
|
+
e.totalDx += i, e.totalDy += s, this._onHandleMove(o, i, s, t, () => n === "move" ? this._emitMoveStopEvent() : this._emitReshapeStopEvent(o)), this._isMidpoint(o) ? this.refresh() : (this._updateTooltip(this._isVertex(o) ? o : null), this._resetSnappingStateVars(), this._activeOperationInfo = null);
|
|
320
|
+
}
|
|
321
|
+
_updateVertexGraphicLocations(t) {
|
|
322
|
+
const e = this.view.spatialReference;
|
|
323
|
+
for (const i of this.vertexGraphics) {
|
|
324
|
+
const { pathIndex: s, pointIndex: o } = i.attributes, [n, r, h] = t[s][o];
|
|
325
|
+
i.geometry = new f({ x: n, y: r, z: h, spatialReference: e });
|
|
326
|
+
}
|
|
327
|
+
this._updateMidpointGraphicLocations(t);
|
|
328
|
+
}
|
|
329
|
+
_updateMidpointGraphicLocations(t) {
|
|
330
|
+
for (const e of this.midpointGraphics) {
|
|
331
|
+
const { pathIndex: i, pointIndexStart: s, pointIndexEnd: o } = e.attributes, [n, r, h] = t[i][s], [p, a, c] = t[i][o], [l, m, _] = C([n, r, h], [p, a, c]);
|
|
332
|
+
e.geometry = new f({ x: l, y: m, z: _, spatialReference: this.view.spatialReference });
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
_getIndicesForVertexGraphic({ attributes: t }) {
|
|
336
|
+
return [(t == null ? void 0 : t.pathIndex) || 0, (t == null ? void 0 : t.pointIndex) || 0];
|
|
337
|
+
}
|
|
338
|
+
_getVertexFromEditGeometry(t) {
|
|
339
|
+
const [e, i] = this._getIndicesForVertexGraphic(t);
|
|
340
|
+
return this._editGeometryOperations.data.components[e].vertices[i];
|
|
341
|
+
}
|
|
342
|
+
_onHandleMove(t, e, i, s, o) {
|
|
343
|
+
E(this._snappingTask);
|
|
344
|
+
const n = this._snappingContext;
|
|
345
|
+
if (!n)
|
|
346
|
+
return;
|
|
347
|
+
const r = t.geometry, h = s.type === "graphic-move-stop";
|
|
348
|
+
if (this.snappingManager != null && this.selectedVertices.length < 2 && !h) {
|
|
349
|
+
const p = this.snappingManager;
|
|
350
|
+
this._stagedVertex = p.update({ point: r, context: n }), this._syncGeometryAfterVertexMove(t, new f(this._stagedVertex), e, i, h), o(), this._snappingTask = D(async (a) => {
|
|
351
|
+
const c = await p.snap({ point: r, context: n, signal: a });
|
|
352
|
+
c.valid && (this._stagedVertex = c.apply(), this._syncGeometryAfterVertexMove(t, new f(this._stagedVertex), e, i, h), o());
|
|
353
|
+
});
|
|
354
|
+
} else {
|
|
355
|
+
const p = this._stagedVertex != null ? new f(this._stagedVertex) : r;
|
|
356
|
+
this._syncGeometryAfterVertexMove(t, p, e, i, h), o();
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
async _syncGeometryAfterVertexMove(t, e, i, s, o = !1) {
|
|
360
|
+
const n = this._editGeometryOperations.data.geometry;
|
|
361
|
+
if (n.type === "point")
|
|
362
|
+
t.geometry = e;
|
|
363
|
+
else if (n.type === "mesh")
|
|
364
|
+
t.geometry = n.centerAt(e), t.notifyGeometryChanged();
|
|
365
|
+
else {
|
|
366
|
+
const { x: r, y: h, z: p } = e, [a, c] = this._getIndicesForVertexGraphic(t);
|
|
367
|
+
let l = b(n);
|
|
368
|
+
const m = l[a].length - 1, _ = p != null ? [r, h, p] : [r, h];
|
|
369
|
+
l[a][c] = _, n.type === "polygon" && (c === 0 ? l[a][m] = _ : c === m && (l[a][0] = _)), this._isVertex(t) && (l = this._moveRelatedCoordinates(l, t, _), l = this._moveSelectedHandleCoordinates(l, t, i, s, n.type === "polygon"), this._updateMidpointGraphicLocations(l)), this.graphic.geometry = n.clone();
|
|
370
|
+
const u = this._getVertexFromEditGeometry(t), V = r - u.pos[0], w = h - u.pos[1];
|
|
371
|
+
this._editGeometryOperations.moveVertices([u], V, w, 0), o && (this._mover ? this._mover.updateGeometry(this._mover.graphics.indexOf(t), e) : t.geometry = e);
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
_moveRelatedCoordinates(t, e, i) {
|
|
375
|
+
const { relatedGraphicIndices: s } = e.attributes;
|
|
376
|
+
for (const o of s) {
|
|
377
|
+
const n = this.vertexGraphics.at(o), { pathIndex: r, pointIndex: h } = n.attributes;
|
|
378
|
+
t[r][h] = i, n.geometry = e.geometry;
|
|
379
|
+
}
|
|
380
|
+
return t;
|
|
381
|
+
}
|
|
382
|
+
_moveSelectedHandleCoordinates(t, e, i, s, o) {
|
|
383
|
+
for (const n of this.selectedVertices)
|
|
384
|
+
if (n !== e) {
|
|
385
|
+
const { pathIndex: r, pointIndex: h, relatedGraphicIndices: p } = n.attributes, a = Q(n.geometry, i, s, this.view), c = t[r].length - 1;
|
|
386
|
+
t[r][h] = [a.x, a.y], n.geometry = a, o && (h === 0 ? t[r][c] = [a.x, a.y] : h === c && (t[r][0] = [a.x, a.y]));
|
|
387
|
+
for (const l of p) {
|
|
388
|
+
const m = this.vertexGraphics.at(l), { pathIndex: _, pointIndex: u } = m.attributes;
|
|
389
|
+
t[_][u] = [a.x, a.y], m.geometry = a;
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
return t;
|
|
393
|
+
}
|
|
394
|
+
_onGraphicPointerOverCallback(t) {
|
|
395
|
+
const e = t.graphic;
|
|
396
|
+
this._hoverGraphic = e;
|
|
397
|
+
const i = this._isVertex(e);
|
|
398
|
+
i && !this._isSelected(e) && (e.symbol = this.symbols.vertices.hover), this._updateTooltip(i ? e : null), this._updateHoverCursor(e);
|
|
399
|
+
}
|
|
400
|
+
_onGraphicPointerOutCallback(t) {
|
|
401
|
+
const e = t.graphic;
|
|
402
|
+
this._hoverGraphic = null, this._isVertex(e) && !this._isSelected(e) && (e.symbol = this.symbols.vertices.default), this.view.cursor = "default", this._updateTooltip();
|
|
403
|
+
}
|
|
404
|
+
_createVertexFromMidpoint(t) {
|
|
405
|
+
const { _graphicAttributes: e, graphic: i } = this, s = i.geometry;
|
|
406
|
+
if (s == null || s.type !== "polygon" && s.type !== "polyline")
|
|
407
|
+
return [];
|
|
408
|
+
const o = s.clone(), n = [], { pathIndex: r, pointIndexStart: h, pointIndexEnd: p } = t.attributes, { x: a, y: c, z: l } = t.geometry, m = p === 0 ? h + 1 : p, _ = b(o);
|
|
409
|
+
return _[r].splice(m, 0, l != null ? [a, c, l] : [a, c]), t.attributes = { ...e, pathIndex: r, pointIndex: m, relatedGraphicIndices: [] }, n.push({ coordinates: _[r][m], componentIndex: r, vertexIndex: m }), this.graphic.geometry = o, n;
|
|
410
|
+
}
|
|
411
|
+
_addToSelection(t) {
|
|
412
|
+
t instanceof x && (t = [t]);
|
|
413
|
+
for (const e of t)
|
|
414
|
+
e.symbol = this.symbols.vertices.selected;
|
|
415
|
+
this._set("selectedVertices", this.selectedVertices.concat(t)), this._emitSelectEvent(t);
|
|
416
|
+
}
|
|
417
|
+
_removeFromSelection(t, e) {
|
|
418
|
+
const { vertices: i } = this.symbols, s = e ? i.hover : i.default;
|
|
419
|
+
t instanceof x && (t = [t]);
|
|
420
|
+
for (const o of t)
|
|
421
|
+
this.selectedVertices.splice(this.selectedVertices.indexOf(o), 1), this._set("selectedVertices", this.selectedVertices), o.set("symbol", s);
|
|
422
|
+
this._emitDeselectEvent(t);
|
|
423
|
+
}
|
|
424
|
+
_clearSelection() {
|
|
425
|
+
if (this.selectedVertices.length) {
|
|
426
|
+
const t = this.selectedVertices;
|
|
427
|
+
for (const e of this.selectedVertices)
|
|
428
|
+
e.set("symbol", this.symbols.vertices.default);
|
|
429
|
+
this._set("selectedVertices", []), this._emitDeselectEvent(t);
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
_keyDownHandler(t) {
|
|
433
|
+
it.delete.includes(t.key) && !t.repeat && this.selectedVertices.length && this._removeVertices(this.selectedVertices);
|
|
434
|
+
}
|
|
435
|
+
_removeVertices(t) {
|
|
436
|
+
const e = this.graphic.geometry;
|
|
437
|
+
if (e == null || e.type !== "polygon" && e.type !== "polyline" || e.type === "polygon" && this.vertexGraphics.length < 4 || this.vertexGraphics.length < 3)
|
|
438
|
+
return;
|
|
439
|
+
t instanceof x && (t = [t]);
|
|
440
|
+
const i = this.graphic.clone(), s = e.clone();
|
|
441
|
+
let o = b(s);
|
|
442
|
+
const n = [];
|
|
443
|
+
t instanceof x && (t = [t]);
|
|
444
|
+
for (const r of t) {
|
|
445
|
+
const { x: h, y: p } = r.geometry;
|
|
446
|
+
for (let a = 0; a < o.length; a++) {
|
|
447
|
+
const c = o[a];
|
|
448
|
+
for (let l = 0; l < c.length; l++) {
|
|
449
|
+
const [m, _] = c[l];
|
|
450
|
+
h === m && p === _ && (n.push({ coordinates: o[a][l], componentIndex: a, vertexIndex: l }), o[a].splice(Number(l), 1));
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
if (s.type === "polygon")
|
|
455
|
+
o = o.filter((r) => {
|
|
456
|
+
if (r.length < 2)
|
|
457
|
+
return !1;
|
|
458
|
+
const [h, p] = r[0], [a, c] = r[r.length - 1];
|
|
459
|
+
return (r.length !== 2 || h !== a || p !== c) && (h === a && p === c || r.push(r[0]), !0);
|
|
460
|
+
}), s.rings = o;
|
|
461
|
+
else {
|
|
462
|
+
for (const r of o)
|
|
463
|
+
r.length === 1 && o.splice(o.indexOf(r), 1);
|
|
464
|
+
s.paths = o;
|
|
465
|
+
}
|
|
466
|
+
this.graphic.geometry = s, this.refresh(), this._emitVertexRemoveEvent(t, i, n);
|
|
467
|
+
}
|
|
468
|
+
_isVertex(t) {
|
|
469
|
+
return this.vertexGraphics.includes(t);
|
|
470
|
+
}
|
|
471
|
+
_isSelected(t) {
|
|
472
|
+
return this._isVertex(t) && this.selectedVertices.includes(t);
|
|
473
|
+
}
|
|
474
|
+
_isMidpoint(t) {
|
|
475
|
+
return this.midpointGraphics.includes(t);
|
|
476
|
+
}
|
|
477
|
+
_updateHoverCursor(t) {
|
|
478
|
+
this.view.cursor = this._isMidpoint(t) ? "copy" : "move";
|
|
479
|
+
}
|
|
480
|
+
_updateTooltip(t, e) {
|
|
481
|
+
this.tooltip != null && (t ? t === this.graphic ? this._updateMoveGraphicTooltip(e) : this._updateMoveVertexTooltip(e) : this.tooltip.clear());
|
|
482
|
+
}
|
|
483
|
+
_updateMoveGraphicTooltip(t) {
|
|
484
|
+
const { tooltip: e, sketchOptions: i, view: s } = this;
|
|
485
|
+
if (e == null)
|
|
486
|
+
return;
|
|
487
|
+
const o = this._translateGraphicTooltipInfo ?? (this._translateGraphicTooltipInfo = new nt({ sketchOptions: i }));
|
|
488
|
+
if (o.clear(), o.sketchOptions = i, t) {
|
|
489
|
+
const { x: n, y: r } = t.origin, h = s.toMap(t), p = s.toMap(O(n, r)), a = R(p, h);
|
|
490
|
+
o.distance = a ?? I;
|
|
491
|
+
}
|
|
492
|
+
e.info = o;
|
|
493
|
+
}
|
|
494
|
+
_updateMoveVertexTooltip(t) {
|
|
495
|
+
const { tooltip: e, graphic: { geometry: i }, sketchOptions: s, view: o } = this;
|
|
496
|
+
if (e == null)
|
|
497
|
+
return;
|
|
498
|
+
const n = this._translateVertexTooltipInfo ?? (this._translateVertexTooltipInfo = new at({ sketchOptions: s }));
|
|
499
|
+
if (n.clear(), n.sketchOptions = s, (i == null ? void 0 : i.type) === "polygon" ? n.area = ht(i) : (i == null ? void 0 : i.type) === "polyline" && (n.totalLength = pt(i)), t) {
|
|
500
|
+
const { x: r, y: h } = t.origin, p = o.toMap(t), a = o.toMap(O(r, h)), c = R(a, p);
|
|
501
|
+
n.distance = c ?? I;
|
|
502
|
+
}
|
|
503
|
+
e.info = n;
|
|
504
|
+
}
|
|
505
|
+
_emitMoveStartEvent(t, e) {
|
|
506
|
+
const i = new vt(this.graphic, t, e);
|
|
507
|
+
this.emit("move-start", i), this.callbacks.onMoveStart && this.callbacks.onMoveStart(i);
|
|
508
|
+
}
|
|
509
|
+
_emitMoveEvent(t, e) {
|
|
510
|
+
const i = new yt(this.graphic, t, e);
|
|
511
|
+
this.emit("move", i), this.callbacks.onMove && this.callbacks.onMove(i);
|
|
512
|
+
}
|
|
513
|
+
_emitMoveStopEvent() {
|
|
514
|
+
const t = this._activeOperationInfo;
|
|
515
|
+
if (!t)
|
|
516
|
+
return;
|
|
517
|
+
const { totalDx: e, totalDy: i } = t, s = new _t(this.graphic, e, i);
|
|
518
|
+
this.emit("move-stop", s), this.callbacks.onMoveStop && this.callbacks.onMoveStop(s);
|
|
519
|
+
}
|
|
520
|
+
_emitReshapeStartEvent(t) {
|
|
521
|
+
const e = new lt(this.graphic, t, this.selectedVertices);
|
|
522
|
+
this.emit("reshape-start", e), this.callbacks.onReshapeStart && this.callbacks.onReshapeStart(e);
|
|
523
|
+
}
|
|
524
|
+
_emitReshapeEvent(t) {
|
|
525
|
+
const e = new dt(this.graphic, t, this.selectedVertices);
|
|
526
|
+
this.emit("reshape", e), this.callbacks.onReshape && this.callbacks.onReshape(e);
|
|
527
|
+
}
|
|
528
|
+
_emitReshapeStopEvent(t) {
|
|
529
|
+
const e = new mt(this.graphic, t, this.selectedVertices);
|
|
530
|
+
this.emit("reshape-stop", e), this.callbacks.onReshapeStop && this.callbacks.onReshapeStop(e);
|
|
531
|
+
}
|
|
532
|
+
_emitSelectEvent(t) {
|
|
533
|
+
const e = new gt(t);
|
|
534
|
+
this.emit("select", e), this.callbacks.onVertexSelect && this.callbacks.onVertexSelect(e);
|
|
535
|
+
}
|
|
536
|
+
_emitDeselectEvent(t) {
|
|
537
|
+
const e = new ut(t);
|
|
538
|
+
this.emit("deselect", e), this.callbacks.onVertexDeselect && this.callbacks.onVertexDeselect(e);
|
|
539
|
+
}
|
|
540
|
+
_emitVertexAddEvent(t, e, i) {
|
|
541
|
+
const s = new ft(t, this.graphic, e, i);
|
|
542
|
+
this.emit("vertex-add", s), this.callbacks.onVertexAdd && this.callbacks.onVertexAdd(s);
|
|
543
|
+
}
|
|
544
|
+
_emitVertexRemoveEvent(t, e, i) {
|
|
545
|
+
const s = new xt(t, this.graphic, e, i);
|
|
546
|
+
this.emit("vertex-remove", s), this.callbacks.onVertexRemove && this.callbacks.onVertexRemove(s);
|
|
547
|
+
}
|
|
548
|
+
_logGeometryTypeError() {
|
|
549
|
+
L.getLogger(this).error(new F("reshape:invalid-geometry", "Reshape operation not supported for the provided graphic. The geometry type is not supported."));
|
|
550
|
+
}
|
|
551
|
+
};
|
|
552
|
+
v([y()], d.prototype, "tooltip", void 0), v([y()], d.prototype, "_translateGraphicTooltipInfo", void 0), v([y()], d.prototype, "_translateVertexTooltipInfo", void 0), v([y()], d.prototype, "callbacks", void 0), v([y()], d.prototype, "enableMidpoints", void 0), v([y()], d.prototype, "enableMovement", void 0), v([y()], d.prototype, "enableVertices", void 0), v([y()], d.prototype, "graphic", void 0), v([y({ value: !0 })], d.prototype, "highlightsEnabled", null), v([y()], d.prototype, "layer", void 0), v([y({ readOnly: !0 })], d.prototype, "midpointGraphics", void 0), v([y()], d.prototype, "midpointSymbol", void 0), v([y({ readOnly: !0 })], d.prototype, "selectedVertices", void 0), v([y()], d.prototype, "snappingManager", void 0), v([y({ readOnly: !0 })], d.prototype, "state", null), v([y()], d.prototype, "symbols", void 0), v([y({ type: $ })], d.prototype, "sketchOptions", void 0), v([y({ readOnly: !0 })], d.prototype, "type", void 0), v([y({ readOnly: !0 })], d.prototype, "vertexGraphics", void 0), v([y()], d.prototype, "view", void 0), d = v([B("esri.views.draw.support.Reshape")], d);
|
|
553
|
+
const re = d;
|
|
554
|
+
export {
|
|
555
|
+
re as default
|
|
556
|
+
};
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import "../../../geometry.js";
|
|
2
|
+
import { equals as D, isSome as U } from "../../../core/arrayUtils.js";
|
|
3
|
+
import { clone as O } from "../../../core/lang.js";
|
|
4
|
+
import { getMetersPerUnitForSR as V } from "../../../core/unitUtils.js";
|
|
5
|
+
import { m as A } from "../../../chunks/vec32.js";
|
|
6
|
+
import { create as q } from "../../../core/libs/gl-matrix-2/factories/vec3f64.js";
|
|
7
|
+
import F from "../../../geometry/Circle.js";
|
|
8
|
+
import { simplify as G, distance as N } from "../../../geometry/geometryEngine.js";
|
|
9
|
+
import { unnormalizeGeometryOnDatelineCrossing as C, isClockwise as W, unnormalizeVerticesOnDatelineCrossing as B } from "../../../geometry/support/coordsUtils.js";
|
|
10
|
+
import { isValid as E } from "../../../geometry/support/spatialReferenceUtils.js";
|
|
11
|
+
import { makeSurfacePoint as o } from "./surfaceCoordinateSystems.js";
|
|
12
|
+
import H from "../../../geometry/Point.js";
|
|
13
|
+
import J from "../../../geometry/Multipoint.js";
|
|
14
|
+
import K from "../../../geometry/Polyline.js";
|
|
15
|
+
import Q from "../../../geometry/Polygon.js";
|
|
16
|
+
function d(s, t) {
|
|
17
|
+
const l = new H({ x: s[0], y: s[1], spatialReference: t });
|
|
18
|
+
return s.length > 2 && (l.z = s[2]), l;
|
|
19
|
+
}
|
|
20
|
+
function ut(s, t) {
|
|
21
|
+
return new J({ points: s, spatialReference: t });
|
|
22
|
+
}
|
|
23
|
+
function yt(s, t, l) {
|
|
24
|
+
const n = new K({ paths: s, spatialReference: t });
|
|
25
|
+
return l && C(n), n;
|
|
26
|
+
}
|
|
27
|
+
function z(s, t, l, n = !0) {
|
|
28
|
+
const r = O(s);
|
|
29
|
+
r.forEach((e) => {
|
|
30
|
+
const c = e[0], i = e[e.length - 1];
|
|
31
|
+
D(c, i) && e.length !== 1 || e.push(e[0]);
|
|
32
|
+
});
|
|
33
|
+
let a = new Q({ rings: r, spatialReference: t });
|
|
34
|
+
return a.rings.forEach((e) => {
|
|
35
|
+
W(e) || e.reverse();
|
|
36
|
+
}), l && C(a), n && a.isSelfIntersecting && E(t) && (a = G(a)), a;
|
|
37
|
+
}
|
|
38
|
+
function xt(s, t, l) {
|
|
39
|
+
const n = t.mapToLocalMultiple(s), r = [], a = { x: n[0].x, y: n[0].y }, e = { x: n[1].x, y: n[1].y }, c = Math.round(e.x - a.x), i = Math.round(e.y - a.y), y = Math.max(Math.abs(c), Math.abs(i));
|
|
40
|
+
if (l) {
|
|
41
|
+
const p = { x: a.x + y, y: a.y + y }, f = { x: a.x - y, y: a.y - y };
|
|
42
|
+
r.push(o(p.x, f.y), o(f.x, f.y), o(f.x, p.y), o(p.x, p.y));
|
|
43
|
+
} else {
|
|
44
|
+
const p = { x: c > 0 ? a.x + y : a.x - y, y: i > 0 ? a.y + y : a.y - y };
|
|
45
|
+
r.push(o(a.x, a.y), o(p.x, a.y), o(p.x, p.y), o(a.x, p.y));
|
|
46
|
+
}
|
|
47
|
+
return j(z([r.map((p) => t.localToMap(p)).filter(U)], t.spatialReference, t.doUnnormalization, !0), r, t);
|
|
48
|
+
}
|
|
49
|
+
function ft(s, t, l) {
|
|
50
|
+
let n = t.mapToLocalMultiple(s);
|
|
51
|
+
if (n.length === 1) {
|
|
52
|
+
const i = n[0];
|
|
53
|
+
n = [o(i.x - 48, i.y + 48), o(i.x + 48, i.y - 48), o(i.x + 48, i.y - 48), o(i.x - 48, i.y + 48)];
|
|
54
|
+
}
|
|
55
|
+
const r = [], a = { x: n[0].x, y: n[0].y }, e = { x: n[1].x, y: n[1].y };
|
|
56
|
+
if (l) {
|
|
57
|
+
const c = Math.round(e.x - a.x), i = Math.round(e.y - a.y);
|
|
58
|
+
r.push(o(a.x - c, a.y - i), o(e.x, a.y - i), o(e.x, e.y), o(a.x - c, e.y));
|
|
59
|
+
} else
|
|
60
|
+
r.push(o(a.x, a.y), o(e.x, a.y), o(e.x, e.y), o(a.x, e.y));
|
|
61
|
+
return j(z([r.map((c) => t.localToMap(c)).filter(U)], t.spatialReference, t.doUnnormalization, !0), r, t);
|
|
62
|
+
}
|
|
63
|
+
function j(s, t, l) {
|
|
64
|
+
const n = $(t[3], t[2], l), r = $(t[1], t[2], l), a = $(t[0], t[1], l), e = $(t[0], t[3], l);
|
|
65
|
+
return { geometry: s, midpoints: n != null && r != null && a != null && e != null ? { top: n, right: r, bottom: a, left: e } : null };
|
|
66
|
+
}
|
|
67
|
+
function $(s, t, l) {
|
|
68
|
+
T[0] = s.x, T[1] = s.y, T[2] = 0, b[0] = t.x, b[1] = t.y, b[2] = 0, A(T, T, b, 0.5), w.x = T[0], w.y = b[1], w.z = b[2];
|
|
69
|
+
const n = l.localToMap(w);
|
|
70
|
+
return n != null ? d(n, l.spatialReference) : null;
|
|
71
|
+
}
|
|
72
|
+
const w = o(0, 0, 0), T = q(), b = q();
|
|
73
|
+
function mt(s, t, l, n) {
|
|
74
|
+
const r = t.mapToLocalMultiple(s);
|
|
75
|
+
let a = null, e = null;
|
|
76
|
+
if (l)
|
|
77
|
+
a = r[0], e = r[1];
|
|
78
|
+
else {
|
|
79
|
+
const u = r[0], x = r[1], R = Math.round(x.x - u.x), g = Math.round(x.y - u.y), m = Math.max(Math.abs(R), Math.abs(g));
|
|
80
|
+
a = o(R > 0 ? u.x + m / 2 : u.x - m / 2, g > 0 ? u.y + m / 2 : u.y - m / 2), e = o(Math.abs(R) > Math.abs(g) ? a.x - m / 2 : a.x, Math.abs(R) > Math.abs(g) ? a.y : a.y - m / 2);
|
|
81
|
+
}
|
|
82
|
+
const c = t.localToMap(a), i = t.localToMap(e);
|
|
83
|
+
if (c == null || i == null)
|
|
84
|
+
return null;
|
|
85
|
+
t.doUnnormalization && B([[c, i]], t.spatialReference);
|
|
86
|
+
const y = d(c, t.spatialReference), p = d(i, t.spatialReference), f = V(t.spatialReference);
|
|
87
|
+
let M = 0;
|
|
88
|
+
if (E(t.spatialReference))
|
|
89
|
+
M = f * N(y, p, null);
|
|
90
|
+
else {
|
|
91
|
+
const u = a.x - e.x, x = a.y - e.y;
|
|
92
|
+
M = f * Math.sqrt(u * u + x * x) * (n || 1);
|
|
93
|
+
}
|
|
94
|
+
const P = new F({ center: y, radius: M, radiusUnit: "meters", spatialReference: t.spatialReference });
|
|
95
|
+
return { geometry: z(P.rings, P.spatialReference, !1), center: y, edge: p };
|
|
96
|
+
}
|
|
97
|
+
function Mt(s, t, l) {
|
|
98
|
+
const n = t.mapToLocalMultiple(s), r = n[0], a = n[1], e = Math.round(a.x - r.x), c = Math.round(a.y - r.y), i = o(l ? r.x : r.x + e / 2, l ? r.y : r.y + c / 2), y = l ? e : e / 2, p = l ? c : c / 2, f = 60, M = [], P = 2 * Math.PI / f;
|
|
99
|
+
function u(h) {
|
|
100
|
+
const k = Math.cos(h), v = Math.sin(h);
|
|
101
|
+
return o(y * k + i.x, p * v + i.y);
|
|
102
|
+
}
|
|
103
|
+
for (let h = 0; h < f; h++)
|
|
104
|
+
M.push(u(h * P));
|
|
105
|
+
M.push(M[0]);
|
|
106
|
+
const { spatialReference: x, doUnnormalization: R } = t, g = z([M.map((h) => t.localToMap(h)).filter(U)], x, R, !1), m = t.localToMap(u(Math.PI / 2)), I = t.localToMap(u(0)), L = t.localToMap(u(-Math.PI / 2)), S = t.localToMap(u(Math.PI));
|
|
107
|
+
return { geometry: g, midpoints: m != null && I != null && L != null && S != null ? { top: d(m, x), right: d(I, x), bottom: d(L, x), left: d(S, x) } : null };
|
|
108
|
+
}
|
|
109
|
+
export {
|
|
110
|
+
mt as createCircle,
|
|
111
|
+
Mt as createEllipse,
|
|
112
|
+
ut as createMultipoint,
|
|
113
|
+
d as createPoint,
|
|
114
|
+
z as createPolygon,
|
|
115
|
+
yt as createPolyline,
|
|
116
|
+
ft as createRectangle,
|
|
117
|
+
xt as createSquare
|
|
118
|
+
};
|