@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,11 +1,12 @@
|
|
|
1
|
-
const e = [252, 146, 31, 255], o = { type: "esriSMS", style: "esriSMSCircle", size: 6, color: e, outline: { type: "esriSLS", style: "esriSLSSolid", width: 0.75, color: [153, 153, 153, 255] } },
|
|
1
|
+
const e = [252, 146, 31, 255], l = [153, 153, 153, 255], o = { type: "esriSMS", style: "esriSMSCircle", size: 6, color: e, outline: { type: "esriSLS", style: "esriSLSSolid", width: 0.75, color: [153, 153, 153, 255] } }, S = { type: "esriSLS", style: "esriSLSSolid", width: 0.75, color: e }, i = { type: "esriSFS", style: "esriSFSSolid", color: [252, 146, 31, 196], outline: { type: "esriSLS", style: "esriSLSSolid", width: 0.75, color: [255, 255, 255, 191] } }, t = { type: "esriTS", color: [255, 255, 255, 255], font: { family: "arial-unicode-ms", size: 10, weight: "bold" }, horizontalAlignment: "center", kerning: !0, haloColor: [0, 0, 0, 255], haloSize: 1, rotated: !1, text: "", xoffset: 0, yoffset: 0, angle: 0 }, r = { type: "esriSMS", style: "esriSMSCircle", color: [0, 0, 0, 255], outline: null, size: 10.5 }, s = { type: "esriSLS", style: "esriSLSSolid", color: [0, 0, 0, 255], width: 1.5 }, y = { type: "esriSFS", style: "esriSFSSolid", color: [0, 0, 0, 255], outline: null };
|
|
2
2
|
export {
|
|
3
3
|
e as defaultColor,
|
|
4
|
+
l as defaultOutlineColor,
|
|
4
5
|
o as defaultPointSymbolJSON,
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
i as defaultPolygonSymbolJSON,
|
|
7
|
+
S as defaultPolylineSymbolJSON,
|
|
8
|
+
t as defaultTextSymbolJSON,
|
|
9
|
+
r as errorPointSymbolJSON,
|
|
10
|
+
y as errorPolygonSymbolJSON,
|
|
11
|
+
s as errorPolylineSymbolJSON
|
|
11
12
|
};
|
|
@@ -1,9 +1,89 @@
|
|
|
1
|
-
import "../../
|
|
2
|
-
import "../../
|
|
3
|
-
import "../../
|
|
4
|
-
import "../../core/
|
|
5
|
-
import "../../core/
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { getAssetUrl as y } from "../../assets.js";
|
|
2
|
+
import g from "../../Color.js";
|
|
3
|
+
import b from "../../request.js";
|
|
4
|
+
import { LRUCache as w } from "../../core/LRUCache.js";
|
|
5
|
+
import { pt2px as i } from "../../core/screenUtils.js";
|
|
6
|
+
import { getCIMSymbolColor as x } from "./cimSymbolUtils.js";
|
|
7
|
+
const m = "picture-fill", u = "simple-fill", k = "simple-line", f = "simple-marker", C = "text", A = "cim", p = /* @__PURE__ */ new Map([["dash", [4, 3]], ["dashdot", [4, 3, 1, 3]], ["dot", [1, 3]], ["longdash", [8, 3]], ["longdashdot", [8, 3, 1, 3]], ["longdashdotdot", [8, 3, 1, 3, 1, 3]], ["shortdash", [4, 1]], ["shortdashdot", [4, 1, 1, 1]], ["shortdashdotdot", [4, 1, 1, 1, 1, 1]], ["shortdot", [1, 1]], ["solid", []]]), h = new w(1e3);
|
|
8
|
+
function I(t) {
|
|
9
|
+
const e = t.style;
|
|
10
|
+
let o = null;
|
|
11
|
+
if (t)
|
|
12
|
+
switch (t.type) {
|
|
13
|
+
case f:
|
|
14
|
+
e !== "cross" && e !== "x" && (o = t.color);
|
|
15
|
+
break;
|
|
16
|
+
case u:
|
|
17
|
+
e && e !== "solid" ? e !== "none" && (o = { type: "pattern", x: 0, y: 0, src: y(`esri/symbols/patterns/${e}.png`), width: 5, height: 5 }) : o = t.color;
|
|
18
|
+
break;
|
|
19
|
+
case m:
|
|
20
|
+
o = { type: "pattern", src: t.url, width: i(t.width) * t.xscale, height: i(t.height) * t.yscale, x: i(t.xoffset), y: i(t.yoffset) };
|
|
21
|
+
break;
|
|
22
|
+
case C:
|
|
23
|
+
o = t.color;
|
|
24
|
+
break;
|
|
25
|
+
case A:
|
|
26
|
+
o = x(t);
|
|
27
|
+
}
|
|
28
|
+
return o;
|
|
29
|
+
}
|
|
30
|
+
function P(t, e) {
|
|
31
|
+
const o = t + "-" + e;
|
|
32
|
+
return h.get(o) !== void 0 ? Promise.resolve(h.get(o)) : b(t, { responseType: "image" }).then((c) => {
|
|
33
|
+
const s = c.data, n = s.naturalWidth, r = s.naturalHeight, a = document.createElement("canvas");
|
|
34
|
+
a.width = n, a.height = r;
|
|
35
|
+
const l = a.getContext("2d");
|
|
36
|
+
l.fillStyle = e, l.fillRect(0, 0, n, r), l.globalCompositeOperation = "destination-in", l.drawImage(s, 0, 0);
|
|
37
|
+
const d = a.toDataURL();
|
|
38
|
+
return h.put(o, d), d;
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
function U(t) {
|
|
42
|
+
if (!t)
|
|
43
|
+
return null;
|
|
44
|
+
let e = null;
|
|
45
|
+
switch (t.type) {
|
|
46
|
+
case u:
|
|
47
|
+
case m:
|
|
48
|
+
case f:
|
|
49
|
+
e = U(t.outline);
|
|
50
|
+
break;
|
|
51
|
+
case k: {
|
|
52
|
+
const o = i(t.width);
|
|
53
|
+
t.style != null && t.style !== "none" && o !== 0 && (e = { color: t.color, style: L(t.style), width: o, cap: t.cap, join: t.join === "miter" ? i(t.miterLimit) : t.join }, e.dashArray = j(e).join(",") || "none");
|
|
54
|
+
break;
|
|
55
|
+
}
|
|
56
|
+
default:
|
|
57
|
+
e = null;
|
|
58
|
+
}
|
|
59
|
+
return e;
|
|
60
|
+
}
|
|
61
|
+
function j(t) {
|
|
62
|
+
if (!(t != null && t.style))
|
|
63
|
+
return [];
|
|
64
|
+
const { dashArray: e, style: o, width: c } = t;
|
|
65
|
+
if (typeof e == "string" && e !== "none")
|
|
66
|
+
return e.split(",").map((r) => Number(r));
|
|
67
|
+
const s = c ?? 0, n = p.has(o) ? p.get(o).map((r) => r * s) : [];
|
|
68
|
+
if (t.cap !== "butt")
|
|
69
|
+
for (const [r, a] of n.entries())
|
|
70
|
+
n[r] = r % 2 == 1 ? a + s : Math.max(a - s, 1);
|
|
71
|
+
return n;
|
|
72
|
+
}
|
|
73
|
+
const L = (() => {
|
|
74
|
+
const t = {};
|
|
75
|
+
return (e) => {
|
|
76
|
+
if (t[e])
|
|
77
|
+
return t[e];
|
|
78
|
+
const o = e.replaceAll("-", "");
|
|
79
|
+
return t[e] = o, o;
|
|
80
|
+
};
|
|
81
|
+
})(), T = new g([128, 128, 128]);
|
|
82
|
+
export {
|
|
83
|
+
T as defaultThematicColor,
|
|
84
|
+
L as dekebabifyLineStyle,
|
|
85
|
+
j as getDashArray,
|
|
86
|
+
I as getFill,
|
|
87
|
+
P as getPatternUrlWithColor,
|
|
88
|
+
U as getStroke
|
|
89
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { px2pt as w, pt2px as S } from "../../core/screenUtils.js";
|
|
2
|
+
import { CIMSymbolHelper as g } from "../cim/CIMSymbolHelper.js";
|
|
3
|
+
import { CIMSymbolRasterizer as G } from "../cim/CIMSymbolRasterizer.js";
|
|
4
|
+
import { OverrideHelper as O } from "../cim/OverrideHelper.js";
|
|
5
|
+
import { mapCIMSymbolToGeometryType as j } from "../cim/utils.js";
|
|
6
|
+
import { SymbolSizeDefaults as b } from "./previewUtils.js";
|
|
7
|
+
import { renderSymbol as R } from "./renderUtils.js";
|
|
8
|
+
const y = new G(null), u = w(b.size), v = w(b.maxSize), C = w(b.lineWidth), V = 1;
|
|
9
|
+
async function $(i, e, o) {
|
|
10
|
+
const l = e == null ? void 0 : e.size;
|
|
11
|
+
let t = l != null && typeof l == "object" && "width" in l ? l.width : l, r = l != null && typeof l == "object" && "height" in l ? l.height : l;
|
|
12
|
+
if (t == null || r == null)
|
|
13
|
+
if (o === "esriGeometryPolygon")
|
|
14
|
+
t = u, r = u;
|
|
15
|
+
else {
|
|
16
|
+
const a = await D(i, e, o);
|
|
17
|
+
a && (t = a.width, r = a.height), o === "esriGeometryPolyline" && (t = C), t = t != null && isFinite(t) ? Math.min(t, v) : u, r = r != null && isFinite(r) ? Math.max(Math.min(r, v), V) : u;
|
|
18
|
+
}
|
|
19
|
+
return e.style === "legend" && o === "esriGeometryPolyline" && (t = C), { width: t, height: r };
|
|
20
|
+
}
|
|
21
|
+
async function D(i, e, o) {
|
|
22
|
+
const { feature: l, fieldMap: t, viewParams: r } = e.cimOptions || e, a = await O.resolveSymbolOverrides(i.data, l, null, t, o, null, r);
|
|
23
|
+
if (!a)
|
|
24
|
+
return null;
|
|
25
|
+
(i = i.clone()).data = { type: "CIMSymbolReference", symbol: a }, i.data.primitiveOverrides = void 0;
|
|
26
|
+
const n = [];
|
|
27
|
+
return g.fetchResources(a, y.resourceManager, n), g.fetchFonts(a, y.resourceManager, n), n.length > 0 && await Promise.all(n), g.getEnvelope(a, null, y.resourceManager);
|
|
28
|
+
}
|
|
29
|
+
async function K(i, e = {}) {
|
|
30
|
+
var M;
|
|
31
|
+
const { node: o, opacity: l, symbolConfig: t } = e, r = t != null && typeof t == "object" && "isSquareFill" in t && t.isSquareFill, a = e.cimOptions || e, n = a.geometryType || j((M = i == null ? void 0 : i.data) == null ? void 0 : M.symbol), f = await $(i, e, n), { feature: I, fieldMap: x } = a, P = r || n !== "esriGeometryPolygon" ? "preview" : "legend", p = await y.rasterizeCIMSymbolAsync(i, I, f, P, x, n, null, a.viewParams, a.allowScalingUp);
|
|
32
|
+
if (!p)
|
|
33
|
+
return null;
|
|
34
|
+
const { width: z, height: L } = p, m = document.createElement("canvas");
|
|
35
|
+
m.width = z, m.height = L, m.getContext("2d").putImageData(p, 0, 0);
|
|
36
|
+
const h = S(f.width), d = S(f.height), s = new Image(h, d);
|
|
37
|
+
s.src = m.toDataURL(), s.ariaLabel = e.ariaLabel ?? null, s.alt = e.ariaLabel ?? "", l != null && (s.style.opacity = `${l}`);
|
|
38
|
+
let c = s;
|
|
39
|
+
if (e.effectView != null) {
|
|
40
|
+
const F = { shape: { type: "image", x: 0, y: 0, width: h, height: d, src: s.src }, fill: null, stroke: null, offset: [0, 0] };
|
|
41
|
+
c = R([[F]], [h, d], { effectView: e.effectView, ariaLabel: e.ariaLabel });
|
|
42
|
+
}
|
|
43
|
+
return o && c && o.appendChild(c), c;
|
|
44
|
+
}
|
|
45
|
+
export {
|
|
46
|
+
K as previewCIMSymbol
|
|
47
|
+
};
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import D from "../../Color.js";
|
|
2
|
+
import { getColorLuminance as F } from "../../core/colorUtils.js";
|
|
3
|
+
import W from "../../core/Error.js";
|
|
4
|
+
import { loadFont as q } from "../../core/fontUtils.js";
|
|
5
|
+
import { pt2px as w } from "../../core/screenUtils.js";
|
|
6
|
+
import { getPatternUrlWithColor as H, getFill as T, getStroke as O, getDashArray as V } from "./gfxUtils.js";
|
|
7
|
+
import { SymbolSizeDefaults as S, adjustColorBrightness as E, shapes as I } from "./previewUtils.js";
|
|
8
|
+
import { renderSymbol as G } from "./renderUtils.js";
|
|
9
|
+
import { backgroundPadding as L } from "./textUtils.js";
|
|
10
|
+
const R = "picture-fill", J = "picture-marker", K = "simple-fill", N = "simple-line", Q = "simple-marker", X = "text", Y = "Aa", _ = S.size, C = S.maxSize, $ = S.maxOutlineSize, P = S.lineWidth, A = 225, ee = document.createElement("canvas");
|
|
11
|
+
function U(a, e) {
|
|
12
|
+
const o = ee.getContext("2d"), n = [];
|
|
13
|
+
e && (e.weight && n.push(e.weight), e.size && n.push(e.size + "px"), e.family && n.push(e.family)), o.font = n.join(" ");
|
|
14
|
+
const { width: r, actualBoundingBoxLeft: h, actualBoundingBoxRight: d, actualBoundingBoxAscent: s, actualBoundingBoxDescent: u } = o.measureText(a);
|
|
15
|
+
return { width: Math.ceil(Math.max(r, h + d)), height: Math.ceil(s + u), x: Math.floor(h), y: Math.floor((s - u) / 2) };
|
|
16
|
+
}
|
|
17
|
+
function x(a) {
|
|
18
|
+
const e = a == null ? void 0 : a.size;
|
|
19
|
+
return { width: e != null && typeof e == "object" && "width" in e ? w(e.width) : null, height: e != null && typeof e == "object" && "height" in e ? w(e.height) : null };
|
|
20
|
+
}
|
|
21
|
+
async function ae(a, e) {
|
|
22
|
+
const o = e.fill, n = a.color;
|
|
23
|
+
if ((o == null ? void 0 : o.type) === "pattern" && n && a.type !== R) {
|
|
24
|
+
const r = await H(o.src, n.toCss(!0));
|
|
25
|
+
o.src = r, e.fill = o;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
async function ne(a, e, o, n) {
|
|
29
|
+
var d, s, u;
|
|
30
|
+
if (!("font" in a) || !a.font || e.shape.type !== "text")
|
|
31
|
+
return;
|
|
32
|
+
try {
|
|
33
|
+
await q(a.font);
|
|
34
|
+
} catch {
|
|
35
|
+
}
|
|
36
|
+
const { width: r, height: h } = x(n);
|
|
37
|
+
if (!/[\uE600-\uE6FF]/.test(e.shape.text)) {
|
|
38
|
+
const { width: p, height: f, x: l, y: i } = U(e.shape.text, { weight: (d = e.font) == null ? void 0 : d.weight, size: (s = e.font) == null ? void 0 : s.size, family: (u = e.font) == null ? void 0 : u.family });
|
|
39
|
+
o[0] = r ?? p, o[1] = h ?? f, e.shape.x = l, e.shape.y = i;
|
|
40
|
+
const b = (n == null ? void 0 : n.rotation) != null ? n.rotation : "angle" in a ? a.angle : null;
|
|
41
|
+
if (b) {
|
|
42
|
+
const M = b * (Math.PI / 180), c = Math.abs(Math.sin(M)), m = Math.abs(Math.cos(M));
|
|
43
|
+
o[1] = o[0] * c + o[1] * m;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
function oe(a, e, o, n, r) {
|
|
48
|
+
var h;
|
|
49
|
+
if (a.haloColor != null && a.haloSize != null) {
|
|
50
|
+
r.masking ?? (r.masking = o.map(() => []));
|
|
51
|
+
const d = w(a.haloSize);
|
|
52
|
+
n[0] += d, n[1] += d, o.unshift([{ ...e, fill: null, stroke: { color: a.haloColor, width: 2 * d, join: "round", cap: "round" } }]), r.masking.unshift([{ shape: { type: "rect", x: 0, y: 0, width: n[0] + 2 * L, height: n[1] + 2 * L }, fill: [255, 255, 255], stroke: null }, { ...e, fill: [0, 0, 0, 0], stroke: null }]);
|
|
53
|
+
}
|
|
54
|
+
a.backgroundColor == null && a.borderLineColor == null || (n[0] += 2 * L, n[1] += 2 * L, o.unshift([{ shape: { type: "rect", x: 0, y: 0, width: n[0], height: n[1] }, fill: a.backgroundColor, stroke: { color: a.borderLineColor, width: w(a.borderLineSize) } }]), (h = r.masking) == null || h.unshift([]));
|
|
55
|
+
}
|
|
56
|
+
function Z(a, e) {
|
|
57
|
+
return a > e ? "dark" : "light";
|
|
58
|
+
}
|
|
59
|
+
function le(a, e) {
|
|
60
|
+
var M;
|
|
61
|
+
const o = typeof (e == null ? void 0 : e.size) == "number" ? e == null ? void 0 : e.size : null, n = o != null ? w(o) : null, r = (e == null ? void 0 : e.maxSize) != null ? w(e.maxSize) : null, h = (e == null ? void 0 : e.rotation) != null ? e.rotation : "angle" in a ? a.angle : null, d = T(a);
|
|
62
|
+
let s = O(a);
|
|
63
|
+
ie(a, 245) !== "dark" || e != null && e.ignoreWhiteSymbols || (s = { width: 0.75, ...s, color: "#bdc3c7" });
|
|
64
|
+
const u = { shape: null, fill: d, stroke: s, offset: [0, 0] };
|
|
65
|
+
s != null && s.width && (s.width = Math.min(s.width, $));
|
|
66
|
+
const p = (s == null ? void 0 : s.width) || 0;
|
|
67
|
+
let f = (e == null ? void 0 : e.size) != null && ((e == null ? void 0 : e.scale) == null || (e == null ? void 0 : e.scale)), l = 0, i = 0, b = !1;
|
|
68
|
+
switch (a.type) {
|
|
69
|
+
case Q: {
|
|
70
|
+
const c = a.style, { width: m, height: t } = x(e), v = m === t && m != null ? m : n ?? Math.min(w(a.size), r || C);
|
|
71
|
+
switch (l = v, i = v, c) {
|
|
72
|
+
case "circle":
|
|
73
|
+
u.shape = { type: "circle", cx: 0, cy: 0, r: 0.5 * v }, f || (l += p, i += p);
|
|
74
|
+
break;
|
|
75
|
+
case "cross":
|
|
76
|
+
u.shape = { type: "path", path: [{ command: "M", values: [0, 0.5 * i] }, { command: "L", values: [l, 0.5 * i] }, { command: "M", values: [0.5 * l, 0] }, { command: "L", values: [0.5 * l, i] }] };
|
|
77
|
+
break;
|
|
78
|
+
case "diamond":
|
|
79
|
+
u.shape = { type: "path", path: [{ command: "M", values: [0, 0.5 * i] }, { command: "L", values: [0.5 * l, 0] }, { command: "L", values: [l, 0.5 * i] }, { command: "L", values: [0.5 * l, i] }, { command: "Z", values: [] }] }, f || (l += p, i += p);
|
|
80
|
+
break;
|
|
81
|
+
case "square":
|
|
82
|
+
u.shape = { type: "path", path: [{ command: "M", values: [0, 0] }, { command: "L", values: [l, 0] }, { command: "L", values: [l, i] }, { command: "L", values: [0, i] }, { command: "Z", values: [] }] }, f || (l += p, i += p), h && (b = !0);
|
|
83
|
+
break;
|
|
84
|
+
case "triangle":
|
|
85
|
+
u.shape = { type: "path", path: [{ command: "M", values: [0.5 * l, 0] }, { command: "L", values: [l, i] }, { command: "L", values: [0, i] }, { command: "Z", values: [] }] }, f || (l += p, i += p), h && (b = !0);
|
|
86
|
+
break;
|
|
87
|
+
case "x":
|
|
88
|
+
u.shape = { type: "path", path: [{ command: "M", values: [0, 0] }, { command: "L", values: [l, i] }, { command: "M", values: [l, 0] }, { command: "L", values: [0, i] }] }, h && (b = !0);
|
|
89
|
+
break;
|
|
90
|
+
case "path":
|
|
91
|
+
u.shape = { type: "path", path: a.path || "" }, f || (l += p, i += p), h && (b = !0), f = !0;
|
|
92
|
+
}
|
|
93
|
+
break;
|
|
94
|
+
}
|
|
95
|
+
case N: {
|
|
96
|
+
const { width: c, height: m } = x(e), t = V(s).reduce((B, k) => B + k, 0), v = t && Math.ceil(P / t), g = m ?? n ?? p, y = c ?? (t * v || P);
|
|
97
|
+
s && (s.width = g), l = y, i = g, f = !0, u.shape = { type: "path", path: [{ command: "M", values: [g / 2, i / 2] }, { command: "L", values: [l - g / 2, i / 2] }] };
|
|
98
|
+
break;
|
|
99
|
+
}
|
|
100
|
+
case R:
|
|
101
|
+
case K: {
|
|
102
|
+
const c = typeof (e == null ? void 0 : e.symbolConfig) == "object" && !!((M = e == null ? void 0 : e.symbolConfig) != null && M.isSquareFill), { width: m, height: t } = x(e);
|
|
103
|
+
l = !c && m !== t || m == null ? n ?? _ : m, i = !c && m !== t || t == null ? l : t, f || (l += p, i += p), f = !0, u.shape = c ? { type: "path", path: [{ command: "M", values: [0, 0] }, { command: "L", values: [l, 0] }, { command: "L", values: [l, i] }, { command: "L", values: [0, i] }, { command: "L", values: [0, 0] }, { command: "Z", values: [] }] } : I.fill[0];
|
|
104
|
+
break;
|
|
105
|
+
}
|
|
106
|
+
case J: {
|
|
107
|
+
const c = Math.min(w(a.width), r || C), m = Math.min(w(a.height), r || C), { width: t, height: v } = x(e), g = t === v && t != null ? t : n ?? Math.max(c, m), y = c / m;
|
|
108
|
+
l = y <= 1 ? Math.ceil(g * y) : g, i = y <= 1 ? g : Math.ceil(g / y), u.shape = { type: "image", x: -Math.round(l / 2), y: -Math.round(i / 2), width: l, height: i, src: a.url || "" }, h && (b = !0);
|
|
109
|
+
break;
|
|
110
|
+
}
|
|
111
|
+
case X: {
|
|
112
|
+
const c = a, m = (e == null ? void 0 : e.overrideText) || c.text || Y, t = c.font, { width: v, height: g } = x(e), y = g ?? n ?? Math.min(w(t.size), r || C), { width: B, height: k } = U(m, { weight: t.weight, size: y, family: t.family }), z = /[\uE600-\uE6FF]/.test(m);
|
|
113
|
+
l = v ?? (z ? y : B), i = z ? y : k;
|
|
114
|
+
let j = 0.5 * (z ? y : k);
|
|
115
|
+
z && (j += 5), u.shape = { type: "text", text: m, x: c.xoffset || 0, y: c.yoffset || j, align: "middle", alignBaseline: c.verticalAlignment, decoration: t && t.decoration, rotated: c.rotated, kerning: c.kerning }, u.font = t && { size: y, style: t.style, decoration: t.decoration, weight: t.weight, family: t.family };
|
|
116
|
+
break;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
return { shapeDescriptor: u, size: [l, i], renderOptions: { node: e == null ? void 0 : e.node, scale: f, opacity: e == null ? void 0 : e.opacity, rotation: h, useRotationSize: b, effectView: e == null ? void 0 : e.effectView, ariaLabel: e == null ? void 0 : e.ariaLabel } };
|
|
120
|
+
}
|
|
121
|
+
async function fe(a, e) {
|
|
122
|
+
var d;
|
|
123
|
+
const { shapeDescriptor: o, size: n, renderOptions: r } = le(a, e);
|
|
124
|
+
if (!o.shape)
|
|
125
|
+
throw new W("symbolPreview: renderPreviewHTML2D", "symbol not supported.");
|
|
126
|
+
await ae(a, o), await ne(a, o, n, e);
|
|
127
|
+
const h = [[o]];
|
|
128
|
+
if (typeof (e == null ? void 0 : e.symbolConfig) == "object" && ((d = e == null ? void 0 : e.symbolConfig) != null && d.applyColorModulation)) {
|
|
129
|
+
const s = 0.6 * n[0];
|
|
130
|
+
h.unshift([{ ...o, offset: [-s, 0], fill: E(o.fill, -0.3) }]), h.push([{ ...o, offset: [s, 0], fill: E(o.fill, 0.3) }]), n[0] += 2 * s, r.scale = !1;
|
|
131
|
+
}
|
|
132
|
+
return a.type === "text" && oe(a, o, h, n, r), G(h, n, r);
|
|
133
|
+
}
|
|
134
|
+
function ie(a, e = A) {
|
|
135
|
+
const o = T(a), n = O(a), r = !o || "type" in o ? null : new D(o), h = n != null && n.color ? new D(n == null ? void 0 : n.color) : null, d = r ? Z(F(r), e) : null, s = h ? Z(F(h), e) : null;
|
|
136
|
+
return s ? d ? d === s ? d : e >= A ? "light" : "dark" : s : d;
|
|
137
|
+
}
|
|
138
|
+
export {
|
|
139
|
+
ie as getContrastingBackgroundTheme,
|
|
140
|
+
le as getRenderSymbolParameters,
|
|
141
|
+
fe as previewSymbol2D
|
|
142
|
+
};
|
|
@@ -1,38 +1,289 @@
|
|
|
1
|
-
import "../../
|
|
2
|
-
import "../../
|
|
3
|
-
import "../../core/Error.js";
|
|
4
|
-
import "../../core/Logger.js";
|
|
5
|
-
import "../../core/urlUtils.js";
|
|
6
|
-
import "../../core/colorUtils.js";
|
|
1
|
+
import { getAssetUrl as B } from "../../assets.js";
|
|
2
|
+
import { toHSV as V, toRGB as A } from "../../core/colorUtils.js";
|
|
7
3
|
import "../../core/has.js";
|
|
8
|
-
import "
|
|
9
|
-
import "
|
|
10
|
-
import "
|
|
11
|
-
import {
|
|
12
|
-
import "./
|
|
13
|
-
import "./
|
|
14
|
-
import "
|
|
15
|
-
import "
|
|
16
|
-
import "
|
|
17
|
-
import "
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
i.
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
4
|
+
import F from "../../core/Error.js";
|
|
5
|
+
import G from "../../core/Logger.js";
|
|
6
|
+
import { pt2px as w } from "../../core/screenUtils.js";
|
|
7
|
+
import { defaultThematicColor as J, dekebabifyLineStyle as N, getPatternUrlWithColor as K } from "./gfxUtils.js";
|
|
8
|
+
import { defaultPrimitive as Q } from "./IconSymbol3DLayerResource.js";
|
|
9
|
+
import { defaultPrimitive as X } from "./ObjectSymbol3DLayerResource.js";
|
|
10
|
+
import { SymbolSizeDefaults as C, adjustColorComponentBrightness as z, getPathSymbolShapes as Y, getExtrudeSymbolShapes as _, shapes as j, getTetrahedronShapes as ee, getDiamondShapes as ae, getCylinderShapes as le, getCubeShapes as se, getInvertedConeShapes as te, getConeShapes as ne, getWaterSymbolShapes as re } from "./previewUtils.js";
|
|
11
|
+
import { tintImageWithColor as oe, renderSymbol as E } from "./renderUtils.js";
|
|
12
|
+
import { isVolumetricSymbol as ie, getIconHref as ce } from "./utils.js";
|
|
13
|
+
import { resolveWebStyleSymbol as pe } from "./webStyleSymbolUtils.js";
|
|
14
|
+
const M = C.size, D = C.maxSize, H = C.maxOutlineSize, Z = C.lineWidth, I = C.tallSymbolWidth;
|
|
15
|
+
function L(a) {
|
|
16
|
+
const e = a.outline, t = a.material != null ? a.material.color : null, l = t != null ? t.toHex() : null;
|
|
17
|
+
if (e == null || "pattern" in e && e.pattern != null && e.pattern.type === "style" && e.pattern.style === "none")
|
|
18
|
+
return a.type === "fill" && l === "#ffffff" ? { color: "#bdc3c7", width: 0.75 } : null;
|
|
19
|
+
const s = w(e.size) || 0;
|
|
20
|
+
return { color: "rgba(" + (e.color != null ? e.color.toRgba() : "255,255,255,1") + ")", width: Math.min(s, H), style: "pattern" in e && e.pattern != null && e.pattern.type === "style" ? N(e.pattern.style) : null, join: "butt", cap: "patternCap" in e ? e.patternCap : "butt" };
|
|
21
|
+
}
|
|
22
|
+
async function ue(a, e) {
|
|
23
|
+
var l, s, i;
|
|
24
|
+
if ((l = a.thumbnail) != null && l.url)
|
|
25
|
+
return a.thumbnail.url;
|
|
26
|
+
if (e.type === "icon" && ((s = e == null ? void 0 : e.resource) == null ? void 0 : s.href))
|
|
27
|
+
return ce(e);
|
|
28
|
+
const t = B("esri/images/Legend/legend3dsymboldefault.png");
|
|
29
|
+
if (a.styleOrigin && (a.styleOrigin.styleName || a.styleOrigin.styleUrl)) {
|
|
30
|
+
const r = await pe(a.styleOrigin, { portal: a.styleOrigin.portal }, "webRef").catch(() => null);
|
|
31
|
+
if (r && "thumbnail" in r && ((i = r.thumbnail) != null && i.url))
|
|
32
|
+
return r.thumbnail.url;
|
|
33
|
+
}
|
|
34
|
+
return t;
|
|
35
|
+
}
|
|
36
|
+
function W(a, e = 1) {
|
|
37
|
+
const t = a.a, l = V(a), s = l.h, i = l.s / e, r = 100 - (100 - l.v) / e, { r: c, g: f, b: p } = A({ h: s, s: i, v: r });
|
|
38
|
+
return [c, f, p, t];
|
|
39
|
+
}
|
|
40
|
+
function O(a) {
|
|
41
|
+
var e;
|
|
42
|
+
return a.type === "water" ? a.color == null ? null : a.color : ((e = a.material) == null ? void 0 : e.color) == null ? null : a.material.color;
|
|
43
|
+
}
|
|
44
|
+
function o(a, e = 0) {
|
|
45
|
+
const t = O(a);
|
|
46
|
+
if (!t) {
|
|
47
|
+
if (a.type === "fill")
|
|
48
|
+
return null;
|
|
49
|
+
const s = J.r, i = z(s, e);
|
|
50
|
+
return [i, i, i, 100];
|
|
51
|
+
}
|
|
52
|
+
const l = t.toRgba();
|
|
53
|
+
for (let s = 0; s < 3; s++)
|
|
54
|
+
l[s] = z(l[s], e);
|
|
55
|
+
return l;
|
|
56
|
+
}
|
|
57
|
+
async function he(a, e) {
|
|
58
|
+
const t = a.style;
|
|
59
|
+
return t === "none" ? null : { type: "pattern", x: 0, y: 0, src: await K(B(`esri/symbols/patterns/${t}.png`), e.toCss(!0)), width: 5, height: 5 };
|
|
60
|
+
}
|
|
61
|
+
function q(a) {
|
|
62
|
+
return a.outline ? L(a) : { color: "rgba(0, 0, 0, 1)", width: 1.5 };
|
|
63
|
+
}
|
|
64
|
+
function R(a, e) {
|
|
65
|
+
const t = O(a);
|
|
66
|
+
if (!t)
|
|
67
|
+
return null;
|
|
68
|
+
let l = "rgba(";
|
|
69
|
+
return l += z(t.r, e) + ",", l += z(t.g, e) + ",", l += z(t.b, e) + ",", l + t.a + ");";
|
|
70
|
+
}
|
|
71
|
+
function $(a, e) {
|
|
72
|
+
const t = R(a, e);
|
|
73
|
+
return t ? "pattern" in a && a.pattern != null && a.pattern.type === "style" && a.pattern.style === "none" ? null : { color: t, width: Math.min(a.size ? w(a.size) : 0.75, H), style: "pattern" in a && a.pattern != null && a.pattern.type === "style" ? N(a.pattern.style) : null, cap: "cap" in a ? a.cap : null, join: "join" in a ? a.join === "miter" ? w(2) : a.join : null } : {};
|
|
74
|
+
}
|
|
75
|
+
function P(a, e, t) {
|
|
76
|
+
const l = t != null ? 0.75 * t : 0;
|
|
77
|
+
return { type: "linear", x1: l ? 0.25 * l : 0, y1: l ? 0.5 * l : 0, x2: l || 4, y2: l ? 0.5 * l : 4, colors: [{ color: a, offset: 0 }, { color: e, offset: 1 }] };
|
|
78
|
+
}
|
|
79
|
+
function me(a) {
|
|
80
|
+
const e = a.depth, t = a.height, l = a.width;
|
|
81
|
+
return l !== 0 && e !== 0 && t !== 0 && l === e && l != null && t != null && l < t;
|
|
82
|
+
}
|
|
83
|
+
function fe(a, e, t) {
|
|
84
|
+
const l = [];
|
|
85
|
+
if (!a)
|
|
86
|
+
return l;
|
|
87
|
+
switch (a.type) {
|
|
88
|
+
case "icon": {
|
|
89
|
+
const r = e, c = e;
|
|
90
|
+
switch (a.resource && a.resource.primitive || Q) {
|
|
91
|
+
case "circle":
|
|
92
|
+
l.push({ shape: { type: "circle", cx: 0, cy: 0, r: 0.5 * e }, fill: o(a, 0), stroke: L(a) });
|
|
93
|
+
break;
|
|
94
|
+
case "square":
|
|
95
|
+
l.push({ shape: { type: "path", path: [{ command: "M", values: [0, c] }, { command: "L", values: [0, 0] }, { command: "L", values: [r, 0] }, { command: "L", values: [r, c] }, { command: "Z", values: [] }] }, fill: o(a, 0), stroke: L(a) });
|
|
96
|
+
break;
|
|
97
|
+
case "triangle":
|
|
98
|
+
l.push({ shape: { type: "path", path: [{ command: "M", values: [0, c] }, { command: "L", values: [0.5 * r, 0] }, { command: "L", values: [r, c] }, { command: "Z", values: [] }] }, fill: o(a, 0), stroke: L(a) });
|
|
99
|
+
break;
|
|
100
|
+
case "cross":
|
|
101
|
+
l.push({ shape: { type: "path", path: [{ command: "M", values: [0.5 * r, 0] }, { command: "L", values: [0.5 * r, c] }, { command: "M", values: [0, 0.5 * c] }, { command: "L", values: [r, 0.5 * c] }] }, stroke: q(a) });
|
|
102
|
+
break;
|
|
103
|
+
case "x":
|
|
104
|
+
l.push({ shape: { type: "path", path: [{ command: "M", values: [0, 0] }, { command: "L", values: [r, c] }, { command: "M", values: [r, 0] }, { command: "L", values: [0, c] }] }, stroke: q(a) });
|
|
105
|
+
break;
|
|
106
|
+
case "kite":
|
|
107
|
+
l.push({ shape: { type: "path", path: [{ command: "M", values: [0, 0.5 * c] }, { command: "L", values: [0.5 * r, 0] }, { command: "L", values: [r, 0.5 * c] }, { command: "L", values: [0.5 * r, c] }, { command: "Z", values: [] }] }, fill: o(a, 0), stroke: L(a) });
|
|
108
|
+
}
|
|
109
|
+
break;
|
|
110
|
+
}
|
|
111
|
+
case "object":
|
|
112
|
+
switch (a.resource && a.resource.primitive || X) {
|
|
113
|
+
case "cone": {
|
|
114
|
+
const s = P(o(a, 0), o(a, -0.6), t ? I : e), i = ne(e, t);
|
|
115
|
+
l.push({ shape: i[0], fill: s }, { shape: i[1], fill: s });
|
|
116
|
+
break;
|
|
117
|
+
}
|
|
118
|
+
case "inverted-cone": {
|
|
119
|
+
const s = o(a, 0), i = P(s, o(a, -0.6), e), r = te(e);
|
|
120
|
+
l.push({ shape: r[0], fill: i }, { shape: r[1], fill: s });
|
|
121
|
+
break;
|
|
122
|
+
}
|
|
123
|
+
case "cube": {
|
|
124
|
+
const s = se(e, t);
|
|
125
|
+
l.push({ shape: s[0], fill: o(a, 0) }, { shape: s[1], fill: o(a, -0.3) }, { shape: s[2], fill: o(a, -0.5) });
|
|
126
|
+
break;
|
|
127
|
+
}
|
|
128
|
+
case "cylinder": {
|
|
129
|
+
const s = P(o(a, 0), o(a, -0.6), t ? I : e), i = le(e, t);
|
|
130
|
+
l.push({ shape: i[0], fill: s }, { shape: i[1], fill: s }, { shape: i[2], fill: o(a, 0) });
|
|
131
|
+
break;
|
|
132
|
+
}
|
|
133
|
+
case "diamond": {
|
|
134
|
+
const s = ae(e);
|
|
135
|
+
l.push({ shape: s[0], fill: o(a, -0.3) }, { shape: s[1], fill: o(a, 0) }, { shape: s[2], fill: o(a, -0.3) }, { shape: s[3], fill: o(a, -0.7) });
|
|
136
|
+
break;
|
|
137
|
+
}
|
|
138
|
+
case "sphere": {
|
|
139
|
+
const s = P(o(a, 0), o(a, -0.6));
|
|
140
|
+
s.x1 = 0, s.y1 = 0, s.x2 = 0.25 * e, s.y2 = 0.25 * e, l.push({ shape: { type: "circle", cx: 0, cy: 0, r: 0.5 * e }, fill: s });
|
|
141
|
+
break;
|
|
142
|
+
}
|
|
143
|
+
case "tetrahedron": {
|
|
144
|
+
const s = ee(e);
|
|
145
|
+
l.push({ shape: s[0], fill: o(a, -0.3) }, { shape: s[1], fill: o(a, 0) }, { shape: s[2], fill: o(a, -0.6) });
|
|
146
|
+
break;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
break;
|
|
150
|
+
}
|
|
151
|
+
return l;
|
|
152
|
+
}
|
|
153
|
+
function T(a) {
|
|
154
|
+
const e = typeof (a == null ? void 0 : a.size) == "number" ? a == null ? void 0 : a.size : null;
|
|
155
|
+
return e ? w(e) : null;
|
|
156
|
+
}
|
|
157
|
+
function ye(a) {
|
|
158
|
+
return a.type === "icon" ? "multiply" : "tint";
|
|
159
|
+
}
|
|
160
|
+
async function de(a, e) {
|
|
161
|
+
const t = T(e), l = e != null && e.maxSize ? w(e.maxSize) : null, s = (e == null ? void 0 : e.disableUpsampling) ?? !1, i = a.symbolLayers, r = [];
|
|
162
|
+
let c = 0, f = 0;
|
|
163
|
+
const p = i.at(-1);
|
|
164
|
+
let b;
|
|
165
|
+
p && p.type === "icon" && (b = p.size && w(p.size)), i.forEach((n) => {
|
|
166
|
+
var y, g;
|
|
167
|
+
if (n.type !== "icon" && n.type !== "object")
|
|
168
|
+
return;
|
|
169
|
+
const u = n.type === "icon" ? n.size && w(n.size) : 0, m = t || u ? Math.ceil(Math.min(t || u, l || D)) : M;
|
|
170
|
+
if ((y = n == null ? void 0 : n.resource) != null && y.href) {
|
|
171
|
+
const d = ue(a, n).then((k) => {
|
|
172
|
+
var U;
|
|
173
|
+
const v = (U = n == null ? void 0 : n.material) == null ? void 0 : U.color, S = ye(n);
|
|
174
|
+
return oe(k, m, v, S, s);
|
|
175
|
+
}).then((k) => {
|
|
176
|
+
const v = k.width, S = k.height;
|
|
177
|
+
return c = Math.max(c, v), f = Math.max(f, S), [{ shape: { type: "image", x: 0, y: 0, width: v, height: S, src: k.url }, fill: null, stroke: null }];
|
|
178
|
+
});
|
|
179
|
+
r.push(d);
|
|
180
|
+
} else {
|
|
181
|
+
let d = m;
|
|
182
|
+
n.type === "icon" && b && t && (d = m * (u / b));
|
|
183
|
+
const k = (e == null ? void 0 : e.symbolConfig) === "tall" || ((g = e == null ? void 0 : e.symbolConfig) == null ? void 0 : g.isTall) || n.type === "object" && me(n);
|
|
184
|
+
c = Math.max(c, k ? I : d), f = Math.max(f, d), r.push(Promise.resolve(fe(n, d, k)));
|
|
185
|
+
}
|
|
186
|
+
});
|
|
187
|
+
const x = await Promise.allSettled(r), h = [];
|
|
188
|
+
return x.forEach((n) => {
|
|
189
|
+
n.status === "fulfilled" ? h.push(n.value) : n.reason && G.getLogger("esri.symbols.support.previewSymbol3D").warn("error while building swatchInfo!", n.reason);
|
|
190
|
+
}), E(h, [c, f], { node: e == null ? void 0 : e.node, scale: !1, opacity: e == null ? void 0 : e.opacity, ariaLabel: e == null ? void 0 : e.ariaLabel });
|
|
191
|
+
}
|
|
192
|
+
function be(a, e) {
|
|
193
|
+
const t = a.symbolLayers, l = [], s = ie(a), i = T(e), r = (e != null && e.maxSize ? w(e.maxSize) : null) || H;
|
|
194
|
+
let c, f = 0, p = 0;
|
|
195
|
+
return t.forEach((b, x) => {
|
|
196
|
+
if (!b || b.type !== "line" && b.type !== "path")
|
|
197
|
+
return;
|
|
198
|
+
const h = [];
|
|
199
|
+
switch (b.type) {
|
|
200
|
+
case "line": {
|
|
201
|
+
const n = $(b, 0);
|
|
202
|
+
if (n == null)
|
|
203
|
+
break;
|
|
204
|
+
const u = (n == null ? void 0 : n.width) || 0;
|
|
205
|
+
x === 0 && (c = u);
|
|
206
|
+
const m = Math.min(i || u, r), y = x === 0 ? m : i ? m * (u / c) : m, g = y > Z / 2 ? 2 * y : Z;
|
|
207
|
+
p = Math.max(p, y), f = Math.max(f, g), n.width = y, h.push({ shape: { type: "path", path: [{ command: "M", values: [0, 0.5 * p] }, { command: "L", values: [f, 0.5 * p] }] }, stroke: n });
|
|
208
|
+
break;
|
|
209
|
+
}
|
|
210
|
+
case "path": {
|
|
211
|
+
const n = Math.min(i || M, r), u = o(b, 0), m = o(b, -0.2), y = R(b, -0.4), g = y ? { color: y, width: 1 } : {};
|
|
212
|
+
if (b.profile === "quad") {
|
|
213
|
+
const d = b.width, k = b.height, v = Y(d && k ? d / k : 1, k === 0, d === 0), S = { ...g, join: "bevel" };
|
|
214
|
+
h.push({ shape: v[0], fill: m, stroke: S }, { shape: v[1], fill: m, stroke: S }, { shape: v[2], fill: u, stroke: S });
|
|
215
|
+
} else
|
|
216
|
+
h.push({ shape: j.pathSymbol3DLayer[0], fill: m, stroke: g }, { shape: j.pathSymbol3DLayer[1], fill: u, stroke: g });
|
|
217
|
+
p = Math.max(p, n), f = p;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
l.push(h);
|
|
221
|
+
}), Promise.resolve(E(l, [f, p], { node: e == null ? void 0 : e.node, scale: s, opacity: e == null ? void 0 : e.opacity, ariaLabel: e == null ? void 0 : e.ariaLabel }));
|
|
222
|
+
}
|
|
223
|
+
async function ge(a, e) {
|
|
224
|
+
const t = a.type === "mesh-3d", l = a.symbolLayers, s = T(e), i = e != null && e.maxSize ? w(e.maxSize) : null, r = s || M, c = [];
|
|
225
|
+
let f = 0, p = 0, b = !1;
|
|
226
|
+
for (let x = 0; x < l.length; x++) {
|
|
227
|
+
const h = l.at(x), n = [];
|
|
228
|
+
if (!t || h.type === "fill") {
|
|
229
|
+
switch (h.type) {
|
|
230
|
+
case "fill": {
|
|
231
|
+
const u = Math.min(r, i || D);
|
|
232
|
+
if (f = Math.max(f, u), p = Math.max(p, u), b = !0, t) {
|
|
233
|
+
const m = j.meshSymbol3DFill, y = R(h, -0.4), g = y ? { color: y, width: 1, join: "round" } : {};
|
|
234
|
+
n.push({ shape: m[0], fill: o(h, 0), stroke: g }, { shape: m[1], fill: o(h, -0.2), stroke: g }, { shape: m[2], fill: o(h, -0.6), stroke: g });
|
|
235
|
+
} else {
|
|
236
|
+
let m = o(h, 0);
|
|
237
|
+
const y = "pattern" in h ? h.pattern : null, g = L(h), d = O(h);
|
|
238
|
+
y != null && y.type === "style" && y.style !== "solid" && d && (m = await he(y, d)), n.push({ shape: j.fill[0], fill: m, stroke: g });
|
|
239
|
+
}
|
|
240
|
+
break;
|
|
241
|
+
}
|
|
242
|
+
case "line": {
|
|
243
|
+
const u = $(h, 0);
|
|
244
|
+
if (u == null)
|
|
245
|
+
break;
|
|
246
|
+
const m = { stroke: u, shape: j.fill[0] };
|
|
247
|
+
f = Math.max(f, M), p = Math.max(p, M), n.push(m);
|
|
248
|
+
break;
|
|
249
|
+
}
|
|
250
|
+
case "extrude": {
|
|
251
|
+
const u = { join: "round", width: 1, ...$(h, -0.4) }, m = o(h, 0), y = o(h, -0.2), g = Math.min(r, i || D), d = _(g);
|
|
252
|
+
u.width = 1, n.push({ shape: d[0], fill: y, stroke: u }, { shape: d[1], fill: y, stroke: u }, { shape: d[2], fill: m, stroke: u });
|
|
253
|
+
const k = M, v = 0.7 * M + 0.5 * g;
|
|
254
|
+
f = Math.max(f, k), p = Math.max(p, v);
|
|
255
|
+
break;
|
|
256
|
+
}
|
|
257
|
+
case "water": {
|
|
258
|
+
const u = O(h), m = W(u), y = W(u, 2), g = W(u, 3), d = re();
|
|
259
|
+
b = !0, n.push({ shape: d[0], fill: m }, { shape: d[1], fill: y }, { shape: d[2], fill: g });
|
|
260
|
+
const k = Math.min(r, i || D);
|
|
261
|
+
f = Math.max(f, k), p = Math.max(p, k);
|
|
262
|
+
break;
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
c.push(n);
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
return E(c, [f, p], { node: e == null ? void 0 : e.node, scale: b, opacity: e == null ? void 0 : e.opacity, ariaLabel: e == null ? void 0 : e.ariaLabel });
|
|
269
|
+
}
|
|
270
|
+
function We(a, e) {
|
|
271
|
+
if (a.symbolLayers.length === 0)
|
|
272
|
+
return Promise.reject(new F("symbolPreview: renderPreviewHTML3D", "No symbolLayers in the symbol."));
|
|
273
|
+
switch (a.type) {
|
|
274
|
+
case "point-3d":
|
|
275
|
+
return de(a, e);
|
|
276
|
+
case "line-3d":
|
|
277
|
+
return be(a, e);
|
|
278
|
+
case "polygon-3d":
|
|
279
|
+
case "mesh-3d":
|
|
280
|
+
return ge(a, e);
|
|
281
|
+
}
|
|
282
|
+
return Promise.reject(new F("symbolPreview: swatchInfo3D", "symbol not supported."));
|
|
283
|
+
}
|
|
284
|
+
export {
|
|
285
|
+
he as getPatternDescriptor,
|
|
286
|
+
T as getSizeFromOptions,
|
|
287
|
+
o as getSymbolLayerFill,
|
|
288
|
+
We as previewSymbol3D
|
|
289
|
+
};
|