@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
|
@@ -1,45 +1,71 @@
|
|
|
1
1
|
import "../../geometry.js";
|
|
2
|
-
import { createScreenPointArray as
|
|
3
|
-
import { makeDehydratedPoint as
|
|
4
|
-
import { clonePoint as
|
|
5
|
-
import { getConvertedElevation as
|
|
6
|
-
import
|
|
7
|
-
import "../../geometry/Point.js";
|
|
8
|
-
class
|
|
9
|
-
constructor(e, t,
|
|
10
|
-
this._elevationInfo = e, this.defaultZ = t, this._view =
|
|
2
|
+
import { createScreenPointArray as u, createScreenPoint as h } from "../../core/screenUtils.js";
|
|
3
|
+
import { makeDehydratedPoint as a } from "../../layers/graphics/dehydratedPoint.js";
|
|
4
|
+
import { clonePoint as c } from "../../layers/graphics/hydratedFeatures.js";
|
|
5
|
+
import { getConvertedElevation as l, getZForElevationMode as f } from "../../support/elevationInfoUtils.js";
|
|
6
|
+
import p from "../../geometry/SpatialReference.js";
|
|
7
|
+
import v from "../../geometry/Point.js";
|
|
8
|
+
class y {
|
|
9
|
+
constructor(e, t, n, r = null) {
|
|
10
|
+
this._elevationInfo = e, this.defaultZ = t, this._view = n, this._excludeGraphics = r;
|
|
11
11
|
}
|
|
12
12
|
screenToMap(e) {
|
|
13
|
-
const { defaultZ: t, _view:
|
|
14
|
-
return t == null &&
|
|
13
|
+
const { defaultZ: t, _view: n } = this, r = n.sceneIntersectionHelper.intersectElevationFromScreen(u(e.x, e.y), this._elevationInfo, t ?? 0, this._excludeGraphics);
|
|
14
|
+
return t == null && r != null && (r.z = void 0), r;
|
|
15
15
|
}
|
|
16
16
|
mapToScreen(e) {
|
|
17
|
-
const t =
|
|
17
|
+
const t = a(e.x, e.y, l(this._view, e, this._elevationInfo), e.spatialReference);
|
|
18
18
|
return this._view.toScreen(t);
|
|
19
19
|
}
|
|
20
20
|
constrainZ(e) {
|
|
21
21
|
const { defaultZ: t } = this;
|
|
22
|
-
return t != null && e.z !== t && ((e =
|
|
22
|
+
return t != null && e.z !== t && ((e = c(e)).z = t), e;
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
let
|
|
26
|
-
constructor(e, t,
|
|
27
|
-
this.view = e, this.elevationInfo = t, this.exclude =
|
|
25
|
+
let I = class {
|
|
26
|
+
constructor(e, t, n = []) {
|
|
27
|
+
this.view = e, this.elevationInfo = t, this.exclude = n;
|
|
28
28
|
}
|
|
29
29
|
screenToMap(e) {
|
|
30
30
|
const t = this.view.toMap(e, { exclude: this.exclude, excludeHud: !0 });
|
|
31
|
-
return t != null && (t.z =
|
|
31
|
+
return t != null && (t.z = f(t, this.view, this.elevationInfo)), t;
|
|
32
32
|
}
|
|
33
33
|
mapToScreen(e) {
|
|
34
34
|
let t = e;
|
|
35
|
-
return this.elevationInfo != null && (t =
|
|
35
|
+
return this.elevationInfo != null && (t = a(e.x, e.y, l(this.view, e, this.elevationInfo), e.spatialReference)), this.view.toScreen(t);
|
|
36
36
|
}
|
|
37
37
|
constrainZ(e) {
|
|
38
38
|
return e;
|
|
39
39
|
}
|
|
40
40
|
};
|
|
41
|
-
|
|
41
|
+
class _ {
|
|
42
|
+
constructor(e, t = !1, n = 0) {
|
|
43
|
+
this.view = e, this.hasZ = t, this.defaultZ = n, this.mapToScreen = (r) => e.toScreen(r), this.screenToMap = t ? (r) => {
|
|
44
|
+
const o = e.toMap(r);
|
|
45
|
+
return o.z = n, o;
|
|
46
|
+
} : (r) => e.toMap(r);
|
|
47
|
+
}
|
|
48
|
+
constrainZ(e) {
|
|
49
|
+
const { defaultZ: t } = this;
|
|
50
|
+
return this.hasZ && e.z !== t && ((e = c(e)).z = t), e;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
class s {
|
|
54
|
+
screenToMap(e) {
|
|
55
|
+
const { x: t, y: n } = e;
|
|
56
|
+
return new v({ x: t, y: n, spatialReference: s.spatialReference });
|
|
57
|
+
}
|
|
58
|
+
mapToScreen(e) {
|
|
59
|
+
return h(e.x, e.y);
|
|
60
|
+
}
|
|
61
|
+
constrainZ(e) {
|
|
62
|
+
return e;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
s.spatialReference = new p();
|
|
42
66
|
export {
|
|
43
|
-
|
|
44
|
-
|
|
67
|
+
y as ElevationDrawSurface,
|
|
68
|
+
_ as MapDrawSurface,
|
|
69
|
+
I as SceneDrawSurface,
|
|
70
|
+
s as ScreenDrawSurface
|
|
45
71
|
};
|
|
@@ -0,0 +1,481 @@
|
|
|
1
|
+
import { _ as u } from "../../../chunks/tslib.es6.js";
|
|
2
|
+
import "../../../geometry.js";
|
|
3
|
+
import H from "../../../Graphic.js";
|
|
4
|
+
import ot from "../../../core/Evented.js";
|
|
5
|
+
import { destroyMaybe as A } from "../../../core/maybe.js";
|
|
6
|
+
import { zeroMeters as rt } from "../../../core/quantityUtils.js";
|
|
7
|
+
import { when as at, watch as M, syncAndInitial as ht, initial as ct } from "../../../core/reactiveUtils.js";
|
|
8
|
+
import { property as m } from "../../../core/accessorSupport/decorators/property.js";
|
|
9
|
+
import "../../../core/has.js";
|
|
10
|
+
import "../../../core/Logger.js";
|
|
11
|
+
import "../../../core/RandomLCG.js";
|
|
12
|
+
import { subclass as nt } from "../../../core/accessorSupport/decorators/subclass.js";
|
|
13
|
+
import { create as O } from "../../../geometry/support/aaBoundingRect.js";
|
|
14
|
+
import { getRingsOrPathsBounds as N } from "../../../geometry/support/boundsUtils.js";
|
|
15
|
+
import { geometryToCoordinates as X } from "../../../geometry/support/coordsUtils.js";
|
|
16
|
+
import E from "../../../geometry/support/rotate.js";
|
|
17
|
+
import D from "../../../symbols/SimpleFillSymbol.js";
|
|
18
|
+
import lt from "../../../symbols/SimpleLineSymbol.js";
|
|
19
|
+
import T from "../../../symbols/SimpleMarkerSymbol.js";
|
|
20
|
+
import { cloneMove as w, scale as z, getRotationAngle as pt, getScaleRatio as _t } from "./drawUtils.js";
|
|
21
|
+
import dt from "./GraphicMover.js";
|
|
22
|
+
import ut from "./HighlightHelper.js";
|
|
23
|
+
import { addUniqueLayer as mt } from "./layerUtils.js";
|
|
24
|
+
import { settings as gt } from "./settings.js";
|
|
25
|
+
import q from "../../interactive/sketch/SketchOptions.js";
|
|
26
|
+
import { ExtentRotateTooltipInfo as vt, ExtentScaleTooltipInfo as yt } from "../../interactive/tooltip/ExtentTooltipInfos.js";
|
|
27
|
+
import { Tooltip as F } from "../../interactive/tooltip/Tooltip.js";
|
|
28
|
+
import { TranslateGraphicTooltipInfo as ft } from "../../interactive/tooltip/TranslateTooltipInfos.js";
|
|
29
|
+
import { autoDistanceBetweenPoints2D as Gt } from "../../support/automaticLengthMeasurementUtils.js";
|
|
30
|
+
import { autoSize2D as bt } from "../../support/extentUtils.js";
|
|
31
|
+
import f from "../../../geometry/Point.js";
|
|
32
|
+
import wt from "../../../geometry/Polygon.js";
|
|
33
|
+
import xt from "../../../geometry/Polyline.js";
|
|
34
|
+
class St {
|
|
35
|
+
constructor(i, e, s, o) {
|
|
36
|
+
this.graphics = i, this.mover = e, this.dx = s, this.dy = o, this.type = "move-start";
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
class kt {
|
|
40
|
+
constructor(i, e, s, o) {
|
|
41
|
+
this.graphics = i, this.mover = e, this.dx = s, this.dy = o, this.type = "move";
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
class U {
|
|
45
|
+
constructor(i, e, s, o) {
|
|
46
|
+
this.graphics = i, this.mover = e, this.dx = s, this.dy = o, this.type = "move-stop";
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
class Rt {
|
|
50
|
+
constructor(i, e, s) {
|
|
51
|
+
this.graphics = i, this.mover = e, this.angle = s, this.type = "rotate-start";
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
class Mt {
|
|
55
|
+
constructor(i, e, s) {
|
|
56
|
+
this.graphics = i, this.mover = e, this.angle = s, this.type = "rotate";
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
class V {
|
|
60
|
+
constructor(i, e, s) {
|
|
61
|
+
this.graphics = i, this.mover = e, this.angle = s, this.type = "rotate-stop";
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
class It {
|
|
65
|
+
constructor(i, e, s, o) {
|
|
66
|
+
this.graphics = i, this.mover = e, this.xScale = s, this.yScale = o, this.type = "scale-start";
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
class Ct {
|
|
70
|
+
constructor(i, e, s, o) {
|
|
71
|
+
this.graphics = i, this.mover = e, this.xScale = s, this.yScale = o, this.type = "scale";
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
class j {
|
|
75
|
+
constructor(i, e, s, o) {
|
|
76
|
+
this.graphics = i, this.mover = e, this.xScale = s, this.yScale = o, this.type = "scale-stop";
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
const _ = gt.transformGraphics, Ht = { centerIndicator: new T({ style: "cross", size: _.center.size, color: _.center.color }), fill: { default: new D({ color: _.fill.color, outline: { color: _.fill.outlineColor, join: "round", width: 1 } }), active: new D({ color: _.fill.stagedColor, outline: { color: _.fill.outlineColor, join: "round", style: "dash", width: 1 } }) }, handles: { default: new T({ style: "square", size: _.vertex.size, color: _.vertex.color, outline: { color: _.vertex.outlineColor, width: 1 } }), hover: new T({ style: "square", size: _.vertex.hoverSize, color: _.vertex.hoverColor, outline: { color: _.vertex.hoverOutlineColor, width: 1 } }) }, rotator: { default: new T({ style: "circle", size: _.vertex.size, color: _.vertex.color, outline: { color: _.vertex.outlineColor, width: 1 } }), hover: new T({ style: "circle", size: _.vertex.hoverSize, color: _.vertex.hoverColor, outline: { color: _.vertex.hoverOutlineColor, width: 1 } }) }, rotatorLine: new lt({ color: _.line.color, width: 1 }) };
|
|
80
|
+
let d = class extends ot.EventedAccessor {
|
|
81
|
+
constructor(t) {
|
|
82
|
+
super(t), this._activeHandleGraphic = null, this._graphicAttributes = { esriSketchTool: "box" }, this._mover = null, this._centerGraphic = null, this._backgroundGraphic = null, this._vertexGraphics = [], this._rotateHandleGraphic = null, this._rotateGraphicOffset = 20, this._angleOfRotation = 0, this._rotateLineGraphic = null, this._startInfo = null, this._totalDx = 0, this._totalDy = 0, this._xScale = 1, this._yScale = 1, this.tooltip = null, this.type = "box", this.callbacks = { onMoveStart() {
|
|
83
|
+
}, onMove() {
|
|
84
|
+
}, onMoveStop() {
|
|
85
|
+
}, onScaleStart() {
|
|
86
|
+
}, onScale() {
|
|
87
|
+
}, onScaleStop() {
|
|
88
|
+
}, onRotateStart() {
|
|
89
|
+
}, onRotate() {
|
|
90
|
+
}, onRotateStop() {
|
|
91
|
+
}, onGraphicClick() {
|
|
92
|
+
} }, this.enableMovement = !0, this.enableRotation = !0, this.enableScaling = !0, this.graphics = [], this.highlightsEnabled = !0, this.layer = null, this.preserveAspectRatio = !1, this.showCenterGraphic = !0, this.symbols = Ht, this.sketchOptions = new q(), this.view = null, this._getBounds = (() => {
|
|
93
|
+
const i = O();
|
|
94
|
+
return (e, s) => {
|
|
95
|
+
e[0] = Number.POSITIVE_INFINITY, e[1] = Number.POSITIVE_INFINITY, e[2] = Number.NEGATIVE_INFINITY, e[3] = Number.NEGATIVE_INFINITY;
|
|
96
|
+
for (const o of s) {
|
|
97
|
+
if (!o)
|
|
98
|
+
continue;
|
|
99
|
+
let r, h, c, a;
|
|
100
|
+
if (o.type === "point")
|
|
101
|
+
r = c = o.x, h = a = o.y;
|
|
102
|
+
else if (o.type === "multipoint") {
|
|
103
|
+
const n = X(o);
|
|
104
|
+
[r, h, c, a] = N(i, [n]);
|
|
105
|
+
} else if (o.type === "extent")
|
|
106
|
+
[r, h, c, a] = [o.xmin, o.ymin, o.xmax, o.ymax];
|
|
107
|
+
else {
|
|
108
|
+
const n = X(o);
|
|
109
|
+
[r, h, c, a] = N(i, n);
|
|
110
|
+
}
|
|
111
|
+
e[0] = Math.min(r, e[0]), e[1] = Math.min(h, e[1]), e[2] = Math.max(c, e[2]), e[3] = Math.max(a, e[3]);
|
|
112
|
+
}
|
|
113
|
+
return e;
|
|
114
|
+
};
|
|
115
|
+
})();
|
|
116
|
+
}
|
|
117
|
+
initialize() {
|
|
118
|
+
const t = this.view;
|
|
119
|
+
this._highlightHelper = new ut({ view: t }), this.tooltip = new F({ view: t }), this._setup(), this.addHandles([at(() => t == null ? void 0 : t.ready, () => {
|
|
120
|
+
const { layer: i, view: e } = this;
|
|
121
|
+
mt(e, i);
|
|
122
|
+
}, { once: !0, initial: !0 }), M(() => this.preserveAspectRatio, () => {
|
|
123
|
+
this._activeHandleGraphic && (this._scaleGraphic(this._activeHandleGraphic), this._updateGraphics(), this._updateTooltip(this._activeHandleGraphic));
|
|
124
|
+
}), M(() => t == null ? void 0 : t.scale, () => {
|
|
125
|
+
this._updateRotateGraphic(), this._updateRotateLineGraphic();
|
|
126
|
+
}), M(() => this.graphics, () => this.refresh()), M(() => this.layer, (i, e) => {
|
|
127
|
+
e && this._resetGraphics(e), this.refresh();
|
|
128
|
+
}), M(() => this.highlightsEnabled, () => {
|
|
129
|
+
var i;
|
|
130
|
+
(i = this._highlightHelper) == null || i.removeAll(), this._setUpHighlights();
|
|
131
|
+
}), M(() => this.sketchOptions.tooltips.effectiveEnabled, (i) => {
|
|
132
|
+
this.tooltip = i ? new F({ view: this.view }) : A(this.tooltip);
|
|
133
|
+
}, ht), M(() => this.view.effectiveTheme.accentColor, () => this._updateSymbolsForTheme(), ct), this.on("move-start", (i) => {
|
|
134
|
+
var e, s;
|
|
135
|
+
return (s = (e = this.callbacks) == null ? void 0 : e.onMoveStart) == null ? void 0 : s.call(e, i);
|
|
136
|
+
}), this.on("move", (i) => {
|
|
137
|
+
var e, s;
|
|
138
|
+
return (s = (e = this.callbacks) == null ? void 0 : e.onMove) == null ? void 0 : s.call(e, i);
|
|
139
|
+
}), this.on("move-stop", (i) => {
|
|
140
|
+
var e, s;
|
|
141
|
+
return (s = (e = this.callbacks) == null ? void 0 : e.onMoveStop) == null ? void 0 : s.call(e, i);
|
|
142
|
+
}), this.on("rotate-start", (i) => {
|
|
143
|
+
var e, s;
|
|
144
|
+
return (s = (e = this.callbacks) == null ? void 0 : e.onRotateStart) == null ? void 0 : s.call(e, i);
|
|
145
|
+
}), this.on("rotate", (i) => {
|
|
146
|
+
var e, s;
|
|
147
|
+
return (s = (e = this.callbacks) == null ? void 0 : e.onRotate) == null ? void 0 : s.call(e, i);
|
|
148
|
+
}), this.on("rotate-stop", (i) => {
|
|
149
|
+
var e, s;
|
|
150
|
+
return (s = (e = this.callbacks) == null ? void 0 : e.onRotateStop) == null ? void 0 : s.call(e, i);
|
|
151
|
+
}), this.on("scale-start", (i) => {
|
|
152
|
+
var e, s;
|
|
153
|
+
return (s = (e = this.callbacks) == null ? void 0 : e.onScaleStart) == null ? void 0 : s.call(e, i);
|
|
154
|
+
}), this.on("scale", (i) => {
|
|
155
|
+
var e, s;
|
|
156
|
+
return (s = (e = this.callbacks) == null ? void 0 : e.onScale) == null ? void 0 : s.call(e, i);
|
|
157
|
+
}), this.on("scale-stop", (i) => {
|
|
158
|
+
var e, s;
|
|
159
|
+
return (s = (e = this.callbacks) == null ? void 0 : e.onScaleStop) == null ? void 0 : s.call(e, i);
|
|
160
|
+
})]);
|
|
161
|
+
}
|
|
162
|
+
destroy() {
|
|
163
|
+
this._reset(), this.tooltip = A(this.tooltip);
|
|
164
|
+
}
|
|
165
|
+
get state() {
|
|
166
|
+
var e;
|
|
167
|
+
const t = ((e = this.view) == null ? void 0 : e.ready) ?? !1, i = this.graphics.length && this.layer;
|
|
168
|
+
return t && i ? "active" : t ? "ready" : "disabled";
|
|
169
|
+
}
|
|
170
|
+
isUIGraphic(t) {
|
|
171
|
+
return this._vertexGraphics.includes(t) || t === this._backgroundGraphic || t === this._centerGraphic || t === this._rotateHandleGraphic || t === this._rotateLineGraphic;
|
|
172
|
+
}
|
|
173
|
+
move(t, i) {
|
|
174
|
+
if (this._mover && this.graphics.length) {
|
|
175
|
+
for (const e of this.graphics) {
|
|
176
|
+
const s = e.geometry, o = w(s, t, i, this.view);
|
|
177
|
+
e.geometry = o;
|
|
178
|
+
}
|
|
179
|
+
this.refresh(), this.emit("move-stop", new U(this.graphics, null, t, i));
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
scale(t, i) {
|
|
183
|
+
if (this._mover && this.graphics.length) {
|
|
184
|
+
for (const e of this.graphics) {
|
|
185
|
+
const s = e.geometry, o = z(s, t, i);
|
|
186
|
+
e.geometry = o;
|
|
187
|
+
}
|
|
188
|
+
this.refresh(), this.emit("scale-stop", new j(this.graphics, null, t, i));
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
rotate(t, i) {
|
|
192
|
+
if (this._mover && this.graphics.length) {
|
|
193
|
+
if (!i) {
|
|
194
|
+
const e = this._vertexGraphics[1].geometry.x, s = this._vertexGraphics[3].geometry.y;
|
|
195
|
+
i = new f(e, s, this.view.spatialReference);
|
|
196
|
+
}
|
|
197
|
+
for (const e of this.graphics) {
|
|
198
|
+
const s = e.geometry, o = E(s, t, i);
|
|
199
|
+
e.geometry = o;
|
|
200
|
+
}
|
|
201
|
+
this.refresh(), this.emit("rotate-stop", new V(this.graphics, null, t));
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
refresh() {
|
|
205
|
+
this._reset(), this._setup();
|
|
206
|
+
}
|
|
207
|
+
reset() {
|
|
208
|
+
this.graphics = [];
|
|
209
|
+
}
|
|
210
|
+
_setup() {
|
|
211
|
+
this.state === "active" && (this._setUpHighlights(), this._setupGraphics(), this._setupMover(), this._updateGraphics());
|
|
212
|
+
}
|
|
213
|
+
_reset() {
|
|
214
|
+
var t;
|
|
215
|
+
(t = this._highlightHelper) == null || t.removeAll(), this._resetGraphicStateVars(), this._resetGraphics(), this._updateTooltip(), this._mover && this._mover.destroy(), this._mover = null, this.view.cursor = "default";
|
|
216
|
+
}
|
|
217
|
+
_resetGraphicStateVars() {
|
|
218
|
+
this._startInfo = null, this._activeHandleGraphic = null, this._totalDx = 0, this._totalDy = 0, this._xScale = 1, this._yScale = 1, this._angleOfRotation = 0;
|
|
219
|
+
}
|
|
220
|
+
_resetGraphics(t) {
|
|
221
|
+
(t = t || this.layer) && (t.removeMany(this._vertexGraphics), t.remove(this._backgroundGraphic), t.remove(this._centerGraphic), t.remove(this._rotateHandleGraphic), t.remove(this._rotateLineGraphic)), this._vertexGraphics.forEach((i) => !i.destroyed && i.destroy()), !this._backgroundGraphic.destroyed && this._backgroundGraphic.destroy(), !this._centerGraphic.destroyed && this._centerGraphic.destroy(), !this._rotateHandleGraphic.destroyed && this._rotateHandleGraphic.destroy(), !this._rotateLineGraphic.destroyed && this._rotateLineGraphic.destroy(), this._vertexGraphics = [], this._backgroundGraphic = null, this._centerGraphic = null, this._rotateHandleGraphic = null, this._rotateLineGraphic = null;
|
|
222
|
+
}
|
|
223
|
+
_setupMover() {
|
|
224
|
+
let t = [];
|
|
225
|
+
this.enableScaling && (t = t.concat(this._vertexGraphics)), this.enableMovement && (t = t.concat(this.graphics, this._backgroundGraphic)), this.enableRotation && t.push(this._rotateHandleGraphic), this.showCenterGraphic && t.push(this._centerGraphic), this._mover = new dt({ enableMoveAllGraphics: !1, highlightsEnabled: !1, indicatorsEnabled: !1, view: this.view, graphics: t, callbacks: { onGraphicClick: (i) => this._onGraphicClickCallback(i), onGraphicMoveStart: (i) => this._onGraphicMoveStartCallback(i), onGraphicMove: (i) => this._onGraphicMoveCallback(i), onGraphicMoveStop: (i) => this._onGraphicMoveStopCallback(i), onGraphicPointerOver: (i) => this._onGraphicPointerOverCallback(i), onGraphicPointerOut: (i) => this._onGraphicPointerOutCallback(i) } });
|
|
226
|
+
}
|
|
227
|
+
_getStartInfo(t) {
|
|
228
|
+
const [i, e, s, o] = this._getBoxBounds(O()), r = Math.abs(s - i), h = Math.abs(o - e), c = (s + i) / 2, a = (o + e) / 2, { x: n, y: l } = t.geometry;
|
|
229
|
+
return { width: r, height: h, centerX: c, centerY: a, startX: n, startY: l, graphicInfos: this._getGraphicInfos(), box: this._backgroundGraphic.geometry, rotate: this._rotateHandleGraphic.geometry };
|
|
230
|
+
}
|
|
231
|
+
_getGraphicInfos() {
|
|
232
|
+
return this.graphics.map((t) => this._getGraphicInfo(t));
|
|
233
|
+
}
|
|
234
|
+
_getGraphicInfo(t) {
|
|
235
|
+
const i = t.geometry, [e, s, o, r] = this._getBounds(O(), [i]);
|
|
236
|
+
return { width: Math.abs(o - e), height: Math.abs(r - s), centerX: (o + e) / 2, centerY: (r + s) / 2, geometry: i };
|
|
237
|
+
}
|
|
238
|
+
_onGraphicClickCallback(t) {
|
|
239
|
+
t.viewEvent.stopPropagation(), this.emit("graphic-click", t), this.callbacks.onGraphicClick && this.callbacks.onGraphicClick(t);
|
|
240
|
+
}
|
|
241
|
+
_onGraphicMoveStartCallback(t) {
|
|
242
|
+
const { _angleOfRotation: i, _xScale: e, _yScale: s, _backgroundGraphic: o, _vertexGraphics: r, _rotateHandleGraphic: h, symbols: c } = this, a = t.graphic;
|
|
243
|
+
this._resetGraphicStateVars(), this._hideGraphicsBeforeUpdate(), o.symbol = c.fill.active, this._startInfo = this._getStartInfo(a), this._updateTooltip(a, t.viewEvent), a === h ? (this.view.cursor = "grabbing", this.emit("rotate-start", new Rt(this.graphics, a, i))) : r.includes(a) ? (this._activeHandleGraphic = a, this.emit("scale-start", new It(this.graphics, a, e, s))) : this.emit("move-start", new St(this.graphics, a, t.dx, t.dy));
|
|
244
|
+
}
|
|
245
|
+
_onGraphicMoveCallback(t) {
|
|
246
|
+
const i = t.graphic;
|
|
247
|
+
if (this._startInfo)
|
|
248
|
+
if (this._vertexGraphics.includes(i))
|
|
249
|
+
this._scaleGraphic(i), this._updateTooltip(i, t.viewEvent), this.emit("scale", new Ct(this.graphics, i, this._xScale, this._yScale));
|
|
250
|
+
else if (i === this._rotateHandleGraphic)
|
|
251
|
+
this._rotateGraphic(i), this._updateTooltip(i, t.viewEvent), this.emit("rotate", new Mt(this.graphics, i, this._angleOfRotation));
|
|
252
|
+
else {
|
|
253
|
+
const { dx: e, dy: s } = t;
|
|
254
|
+
this._totalDx += e, this._totalDy += s, this._moveGraphic(i, e, s), this._updateTooltip(i, t.viewEvent), this.emit("move", new kt(this.graphics, i, e, s));
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
_onGraphicMoveStopCallback(t) {
|
|
258
|
+
const i = t.graphic;
|
|
259
|
+
if (!this._startInfo)
|
|
260
|
+
return void this.refresh();
|
|
261
|
+
const { _angleOfRotation: e, _totalDx: s, _totalDy: o, _xScale: r, _yScale: h, _vertexGraphics: c, _rotateHandleGraphic: a } = this;
|
|
262
|
+
this.refresh(), i === a ? (this.view.cursor = "pointer", this.emit("rotate-stop", new V(this.graphics, i, e))) : c.includes(i) ? this.emit("scale-stop", new j(this.graphics, i, r, h)) : this.emit("move-stop", new U(this.graphics, i, s, o));
|
|
263
|
+
}
|
|
264
|
+
_onGraphicPointerOverCallback(t) {
|
|
265
|
+
const { _backgroundGraphic: i, _vertexGraphics: e, graphics: s, _rotateHandleGraphic: o, symbols: r, view: h } = this, c = t.graphic;
|
|
266
|
+
if (this._hoveredGraphic = c, c === o)
|
|
267
|
+
return o.symbol = r.rotator.hover, h.cursor = "pointer", void this._updateTooltip(c);
|
|
268
|
+
if (s.includes(c) || c === i)
|
|
269
|
+
return void (h.cursor = "move");
|
|
270
|
+
if (!e.includes(c))
|
|
271
|
+
return void (h.cursor = "pointer");
|
|
272
|
+
this._updateTooltip(c), t.graphic.symbol = r.handles.hover;
|
|
273
|
+
const a = h.rotation;
|
|
274
|
+
let n, l = t.index;
|
|
275
|
+
switch (l < 8 && (a >= 0 && a < 45 ? l %= 8 : l = a >= 45 && a < 90 ? (l + 1) % 8 : a >= 90 && a < 135 ? (l + 2) % 8 : a >= 135 && a < 180 ? (l + 3) % 8 : a >= 180 && a < 225 ? (l + 4) % 8 : a >= 225 && a < 270 ? (l + 5) % 8 : a >= 270 && a < 315 ? (l + 6) % 8 : (l + 7) % 8), l) {
|
|
276
|
+
case 0:
|
|
277
|
+
case 4:
|
|
278
|
+
n = "nwse-resize";
|
|
279
|
+
break;
|
|
280
|
+
case 1:
|
|
281
|
+
case 5:
|
|
282
|
+
n = "ns-resize";
|
|
283
|
+
break;
|
|
284
|
+
case 2:
|
|
285
|
+
case 6:
|
|
286
|
+
n = "nesw-resize";
|
|
287
|
+
break;
|
|
288
|
+
case 3:
|
|
289
|
+
case 7:
|
|
290
|
+
n = "ew-resize";
|
|
291
|
+
break;
|
|
292
|
+
default:
|
|
293
|
+
n = "pointer";
|
|
294
|
+
}
|
|
295
|
+
h.cursor = n;
|
|
296
|
+
}
|
|
297
|
+
_onGraphicPointerOutCallback(t) {
|
|
298
|
+
const { _vertexGraphics: i, _rotateHandleGraphic: e, symbols: s, view: o } = this;
|
|
299
|
+
this._hoveredGraphic = null, t.graphic === e ? e.symbol = s.rotator.default : i.includes(t.graphic) && (t.graphic.symbol = s.handles.default), o.cursor = "default", this._updateTooltip();
|
|
300
|
+
}
|
|
301
|
+
_toPrecision(t, i = 2) {
|
|
302
|
+
return Number.parseFloat(t.toFixed(i));
|
|
303
|
+
}
|
|
304
|
+
_scaleGraphic(t) {
|
|
305
|
+
const { _startInfo: i, _vertexGraphics: e, preserveAspectRatio: s, view: o } = this, { centerX: r, centerY: h, graphicInfos: c, height: a, startX: n, startY: l, width: I } = i, { resolution: G, transform: p } = o.state, g = e.indexOf(t);
|
|
306
|
+
g !== 1 && g !== 5 || this._updateX(t, r), g !== 3 && g !== 7 || this._updateY(t, h);
|
|
307
|
+
const { x: S, y: C } = t.geometry, J = p[0] * S + p[2] * C + p[4], K = p[1] * S + p[3] * C + p[5], k = (c == null ? void 0 : c.map((v) => v.geometry)) ?? [], Q = k.every((v) => v.type === "point");
|
|
308
|
+
if ((I === 0 || a === 0) && Q) {
|
|
309
|
+
const v = this._toPrecision((S - n) / G), y = this._toPrecision((l - C) / G);
|
|
310
|
+
for (let x = 0; x < k.length; x++)
|
|
311
|
+
this.graphics[x].geometry = w(k[x], v, y, o, !0);
|
|
312
|
+
return this._centerGraphic.geometry = new f(S, C, o.spatialReference), void (this._backgroundGraphic.geometry = w(i.box, v, y, o, !0));
|
|
313
|
+
}
|
|
314
|
+
if (s) {
|
|
315
|
+
const v = this._toPrecision(p[0] * r + p[2] * h + p[4], 2), y = this._toPrecision(p[1] * r + p[3] * h + p[5], 2), x = this._toPrecision(p[0] * n + p[2] * l + p[4], 2), L = this._toPrecision(p[1] * n + p[3] * l + p[5], 2);
|
|
316
|
+
let b = _t(v, y, x, L, J, K);
|
|
317
|
+
b !== 0 && Math.abs(b) !== 1 / 0 || (b = 1), this._xScale = this._yScale = b;
|
|
318
|
+
for (const R of k) {
|
|
319
|
+
const B = k.indexOf(R);
|
|
320
|
+
this.graphics[B].geometry = z(R, this._xScale, this._yScale, [r, h]);
|
|
321
|
+
}
|
|
322
|
+
this._updateBackgroundGraphic();
|
|
323
|
+
} else {
|
|
324
|
+
let v = S - n, y = l - C;
|
|
325
|
+
if (g === 1 || g === 5 ? v = 0 : g !== 3 && g !== 7 || (y = 0), v === 0 && y === 0)
|
|
326
|
+
return;
|
|
327
|
+
const x = r + v / 2, L = h + y / 2;
|
|
328
|
+
let b = (I + (n > r ? v : -1 * v)) / I, R = (a + (l < h ? y : -1 * y)) / a;
|
|
329
|
+
g !== 1 && g !== 5 && b !== 0 && Math.abs(b) !== 1 / 0 || (b = 1), g !== 3 && g !== 7 && R !== 0 && Math.abs(R) !== 1 / 0 || (R = 1), this._xScale = b, this._yScale = R;
|
|
330
|
+
const B = (x - r) / G, W = (L - h) / G, Z = z(i.box, this._xScale, this._yScale);
|
|
331
|
+
this._backgroundGraphic.geometry = w(Z, B, W, o, !0);
|
|
332
|
+
const { centerX: P, centerY: Y } = this._getGraphicInfo(this._backgroundGraphic), tt = (P - r) / G, et = -1 * (Y - h) / G;
|
|
333
|
+
for (const $ of k) {
|
|
334
|
+
const it = k.indexOf($), st = z($, this._xScale, this._yScale, [r, h]);
|
|
335
|
+
this.graphics[it].geometry = w(st, tt, et, o, !0);
|
|
336
|
+
}
|
|
337
|
+
this._centerGraphic.geometry = new f(P, Y, o.spatialReference);
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
_rotateGraphic(t) {
|
|
341
|
+
var G;
|
|
342
|
+
const { centerX: i, centerY: e, startX: s, startY: o, box: r, rotate: h } = this._startInfo, c = this.view.spatialReference, a = new f(s, o, c), n = new f(i, e, c), l = t.geometry;
|
|
343
|
+
this._angleOfRotation = pt(a, l, n);
|
|
344
|
+
const I = ((G = this._startInfo.graphicInfos) == null ? void 0 : G.map((p) => p.geometry)) ?? [];
|
|
345
|
+
for (const p of I) {
|
|
346
|
+
const g = I.indexOf(p), S = E(p, this._angleOfRotation, n);
|
|
347
|
+
this.graphics[g].geometry = S;
|
|
348
|
+
}
|
|
349
|
+
this._backgroundGraphic.geometry = E(r, this._angleOfRotation, n), this._rotateHandleGraphic.geometry = E(h, this._angleOfRotation, n);
|
|
350
|
+
}
|
|
351
|
+
_moveGraphic(t, i, e) {
|
|
352
|
+
if (this.graphics.includes(t)) {
|
|
353
|
+
const s = this._backgroundGraphic.geometry;
|
|
354
|
+
this._backgroundGraphic.geometry = w(s, i, e, this.view);
|
|
355
|
+
for (const o of this.graphics)
|
|
356
|
+
o !== t && (o.geometry = w(o.geometry, i, e, this.view));
|
|
357
|
+
} else if (t === this._centerGraphic) {
|
|
358
|
+
const s = this._backgroundGraphic.geometry;
|
|
359
|
+
this._backgroundGraphic.geometry = w(s, i, e, this.view);
|
|
360
|
+
}
|
|
361
|
+
if (t === this._backgroundGraphic || t === this._centerGraphic)
|
|
362
|
+
for (const s of this.graphics)
|
|
363
|
+
s.geometry = w(s.geometry, i, e, this.view);
|
|
364
|
+
}
|
|
365
|
+
_setUpHighlights() {
|
|
366
|
+
var t;
|
|
367
|
+
this.highlightsEnabled && this.graphics.length && ((t = this._highlightHelper) == null || t.add(this.graphics));
|
|
368
|
+
}
|
|
369
|
+
_setupGraphics() {
|
|
370
|
+
const { _graphicAttributes: t, symbols: i } = this;
|
|
371
|
+
this._centerGraphic = new H(null, i.centerIndicator, t), this.showCenterGraphic && this.layer.add(this._centerGraphic), this._backgroundGraphic = new H(null, i.fill.default, t), this.layer.add(this._backgroundGraphic), this._rotateLineGraphic = new H(null, i.rotatorLine, t), this._rotateHandleGraphic = new H(null, i.rotator.default, t), this.enableRotation && !this._hasExtentGraphic() && this.layer.addMany([this._rotateLineGraphic, this._rotateHandleGraphic]);
|
|
372
|
+
for (let e = 0; e < 8; e++)
|
|
373
|
+
this._vertexGraphics.push(new H(null, i.handles.default, t));
|
|
374
|
+
this.enableScaling && this.layer.addMany(this._vertexGraphics);
|
|
375
|
+
}
|
|
376
|
+
_updateSymbolsForTheme() {
|
|
377
|
+
var i, e;
|
|
378
|
+
const t = this.view.effectiveTheme.accentColor;
|
|
379
|
+
this.symbols = { ...this.symbols, fill: { active: (i = this.symbols.fill.active) == null ? void 0 : i.clone().set("outline.color", t), default: (e = this.symbols.fill.default) == null ? void 0 : e.clone().set("outline.color", t) }, handles: { ...this.symbols.handles, default: this.symbols.handles.default.clone().set("outline.color", t) }, rotator: { ...this.symbols.rotator, default: this.symbols.rotator.default.clone().set("outline.color", t) }, rotatorLine: this.symbols.rotatorLine.clone().set("color", t) };
|
|
380
|
+
for (const s of this._vertexGraphics)
|
|
381
|
+
s.symbol = s === this._hoveredGraphic ? this.symbols.handles.hover : this.symbols.handles.default;
|
|
382
|
+
this._backgroundGraphic.symbol = this.symbols.fill.default, this._rotateHandleGraphic.symbol = this._rotateHandleGraphic === this._hoveredGraphic ? this.symbols.rotator.hover : this.symbols.rotator.default, this._rotateLineGraphic.symbol = this.symbols.rotatorLine;
|
|
383
|
+
}
|
|
384
|
+
_updateGraphics() {
|
|
385
|
+
this._updateBackgroundGraphic(), this._updateHandleGraphics(), this._updateCenterGraphic(), this._updateRotateGraphic(), this._updateRotateLineGraphic();
|
|
386
|
+
}
|
|
387
|
+
_hideGraphicsBeforeUpdate() {
|
|
388
|
+
this._centerGraphic.visible = !1, this._rotateHandleGraphic.visible = !1, this._rotateLineGraphic.visible = !1, this._vertexGraphics.forEach((t) => t.visible = !1);
|
|
389
|
+
}
|
|
390
|
+
_updateHandleGraphics() {
|
|
391
|
+
const t = this._getCoordinates(!0);
|
|
392
|
+
this._vertexGraphics.forEach((i, e) => {
|
|
393
|
+
const [s, o] = t[e];
|
|
394
|
+
this._updateXY(i, s, o);
|
|
395
|
+
});
|
|
396
|
+
}
|
|
397
|
+
_updateBackgroundGraphic() {
|
|
398
|
+
const t = this._getCoordinates();
|
|
399
|
+
this._backgroundGraphic.geometry = new wt({ rings: t, spatialReference: this.view.spatialReference });
|
|
400
|
+
}
|
|
401
|
+
_updateCenterGraphic() {
|
|
402
|
+
const [t, i, e, s] = this._getBoxBounds(O()), o = (e + t) / 2, r = (s + i) / 2;
|
|
403
|
+
this._centerGraphic.geometry = new f(o, r, this.view.spatialReference);
|
|
404
|
+
}
|
|
405
|
+
_updateRotateGraphic() {
|
|
406
|
+
if (!this._vertexGraphics.length)
|
|
407
|
+
return;
|
|
408
|
+
const { x: t, y: i } = this._vertexGraphics[1].geometry, e = i + this.view.state.resolution * this._rotateGraphicOffset;
|
|
409
|
+
this._rotateHandleGraphic.geometry = new f(t, e, this.view.spatialReference);
|
|
410
|
+
}
|
|
411
|
+
_updateRotateLineGraphic() {
|
|
412
|
+
var e;
|
|
413
|
+
if (!this._vertexGraphics.length || !((e = this._rotateHandleGraphic) != null && e.geometry))
|
|
414
|
+
return;
|
|
415
|
+
const t = this._vertexGraphics[1].geometry, i = this._rotateHandleGraphic.geometry;
|
|
416
|
+
this._rotateLineGraphic.geometry = new xt({ paths: [[t.x, t.y], [i.x, i.y]], spatialReference: this.view.spatialReference });
|
|
417
|
+
}
|
|
418
|
+
_updateXY(t, i, e) {
|
|
419
|
+
t.geometry = new f(i, e, this.view.spatialReference);
|
|
420
|
+
}
|
|
421
|
+
_updateX(t, i) {
|
|
422
|
+
const e = t.geometry.y;
|
|
423
|
+
t.geometry = new f(i, e, this.view.spatialReference);
|
|
424
|
+
}
|
|
425
|
+
_updateY(t, i) {
|
|
426
|
+
const e = t.geometry.x;
|
|
427
|
+
t.geometry = new f(e, i, this.view.spatialReference);
|
|
428
|
+
}
|
|
429
|
+
_hasExtentGraphic() {
|
|
430
|
+
return this.graphics.some((t) => (t == null ? void 0 : t.geometry) != null && t.geometry.type === "extent");
|
|
431
|
+
}
|
|
432
|
+
_getBoxBounds(t) {
|
|
433
|
+
const i = this.graphics.map((e) => e.geometry);
|
|
434
|
+
return this._getBounds(t, i);
|
|
435
|
+
}
|
|
436
|
+
_getCoordinates(t) {
|
|
437
|
+
const [i, e, s, o] = this._getBoxBounds(O());
|
|
438
|
+
if (t) {
|
|
439
|
+
const r = (i + s) / 2, h = (o + e) / 2;
|
|
440
|
+
return [[i, o], [r, o], [s, o], [s, h], [s, e], [r, e], [i, e], [i, h]];
|
|
441
|
+
}
|
|
442
|
+
return [[i, o], [s, o], [s, e], [i, e]];
|
|
443
|
+
}
|
|
444
|
+
_updateTooltip(t, i) {
|
|
445
|
+
if (this.tooltip == null)
|
|
446
|
+
return;
|
|
447
|
+
if (!t)
|
|
448
|
+
return void this.tooltip.clear();
|
|
449
|
+
const { _backgroundGraphic: e, graphics: s, _vertexGraphics: o, _rotateHandleGraphic: r } = this;
|
|
450
|
+
t === r ? this._updateRotateTooltip() : o.includes(t) ? this._updateScaleTooltip() : (s.includes(t) || t === e) && this._updateMoveTooltip(i);
|
|
451
|
+
}
|
|
452
|
+
_updateRotateTooltip() {
|
|
453
|
+
this.tooltip != null && (this.tooltip.info = new vt({ sketchOptions: this.sketchOptions, angle: -this._angleOfRotation }));
|
|
454
|
+
}
|
|
455
|
+
_updateScaleTooltip() {
|
|
456
|
+
const { tooltip: t, _xScale: i, _yScale: e, sketchOptions: s, view: o } = this;
|
|
457
|
+
if (t == null)
|
|
458
|
+
return;
|
|
459
|
+
const r = this._getCoordinates(), h = bt({ topLeft: r[0], topRight: r[1], bottomRight: r[2], bottomLeft: r[3], spatialReference: o.spatialReference });
|
|
460
|
+
if (h == null)
|
|
461
|
+
return;
|
|
462
|
+
const { xSize: c, ySize: a } = h, n = Math.abs(i), l = Math.abs(e);
|
|
463
|
+
t.info = new yt({ sketchOptions: s, xScale: n, yScale: l, xSize: c, ySize: a });
|
|
464
|
+
}
|
|
465
|
+
_updateMoveTooltip(t) {
|
|
466
|
+
const { tooltip: i, sketchOptions: e, view: s } = this;
|
|
467
|
+
if (i == null)
|
|
468
|
+
return;
|
|
469
|
+
const o = new ft({ sketchOptions: e });
|
|
470
|
+
if (t) {
|
|
471
|
+
const { x: r, y: h } = t.origin, c = s.toMap(t), a = s.toMap({ x: r, y: h }), n = Gt(a, c);
|
|
472
|
+
o.distance = n ?? rt;
|
|
473
|
+
}
|
|
474
|
+
i.info = o;
|
|
475
|
+
}
|
|
476
|
+
};
|
|
477
|
+
u([m()], d.prototype, "tooltip", void 0), u([m({ readOnly: !0 })], d.prototype, "type", void 0), u([m()], d.prototype, "callbacks", void 0), u([m()], d.prototype, "enableMovement", void 0), u([m()], d.prototype, "enableRotation", void 0), u([m()], d.prototype, "enableScaling", void 0), u([m()], d.prototype, "graphics", void 0), u([m()], d.prototype, "highlightsEnabled", void 0), u([m()], d.prototype, "layer", void 0), u([m()], d.prototype, "preserveAspectRatio", void 0), u([m()], d.prototype, "showCenterGraphic", void 0), u([m({ readOnly: !0 })], d.prototype, "state", null), u([m()], d.prototype, "symbols", void 0), u([m({ type: q })], d.prototype, "sketchOptions", void 0), u([m({ constructOnly: !0 })], d.prototype, "view", void 0), d = u([nt("esri.views.draw.support.Box")], d);
|
|
478
|
+
const le = d;
|
|
479
|
+
export {
|
|
480
|
+
le as default
|
|
481
|
+
};
|