@arcgis/core 5.0.0-next.87 → 5.0.0-next.88
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/Map.d.ts +4 -0
- package/WebLinkChart.d.ts +6 -3
- package/analysis/ShadowCastAnalysis.d.ts +1 -0
- package/assets/esri/core/t9n/Units_ar.json +1 -1
- package/assets/esri/core/t9n/Units_bg.json +1 -1
- package/assets/esri/core/t9n/Units_bs.json +1 -1
- package/assets/esri/core/t9n/Units_ca.json +1 -1
- package/assets/esri/core/t9n/Units_cs.json +1 -1
- package/assets/esri/core/t9n/Units_da.json +1 -1
- package/assets/esri/core/t9n/Units_de.json +1 -1
- package/assets/esri/core/t9n/Units_el.json +1 -1
- package/assets/esri/core/t9n/Units_en.json +1 -1
- package/assets/esri/core/t9n/Units_es.json +1 -1
- package/assets/esri/core/t9n/Units_et.json +1 -1
- package/assets/esri/core/t9n/Units_fi.json +1 -1
- package/assets/esri/core/t9n/Units_fr.json +1 -1
- package/assets/esri/core/t9n/Units_he.json +1 -1
- package/assets/esri/core/t9n/Units_hr.json +1 -1
- package/assets/esri/core/t9n/Units_hu.json +1 -1
- package/assets/esri/core/t9n/Units_id.json +1 -1
- package/assets/esri/core/t9n/Units_it.json +1 -1
- package/assets/esri/core/t9n/Units_ja.json +1 -1
- package/assets/esri/core/t9n/Units_ko.json +1 -1
- package/assets/esri/core/t9n/Units_lt.json +1 -1
- package/assets/esri/core/t9n/Units_lv.json +1 -1
- package/assets/esri/core/t9n/Units_nl.json +1 -1
- package/assets/esri/core/t9n/Units_no.json +1 -1
- package/assets/esri/core/t9n/Units_pl.json +1 -1
- package/assets/esri/core/t9n/Units_pt-BR.json +1 -1
- package/assets/esri/core/t9n/Units_pt-PT.json +1 -1
- package/assets/esri/core/t9n/Units_ro.json +1 -1
- package/assets/esri/core/t9n/Units_ru.json +1 -1
- package/assets/esri/core/t9n/Units_sk.json +1 -1
- package/assets/esri/core/t9n/Units_sl.json +1 -1
- package/assets/esri/core/t9n/Units_sr.json +1 -1
- package/assets/esri/core/t9n/Units_sv.json +1 -1
- package/assets/esri/core/t9n/Units_th.json +1 -1
- package/assets/esri/core/t9n/Units_tr.json +1 -1
- package/assets/esri/core/t9n/Units_uk.json +1 -1
- package/assets/esri/core/t9n/Units_vi.json +1 -1
- package/assets/esri/core/t9n/Units_zh-CN.json +1 -1
- package/assets/esri/core/t9n/Units_zh-HK.json +1 -1
- package/assets/esri/core/t9n/Units_zh-TW.json +1 -1
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/{1facc1b45345a095b9a7.js → 149c4181eaea32e9ac15.js} +1 -1
- package/assets/esri/core/workers/chunks/{5734aefbce8b6425630c.js → 63b46983155b1672e07a.js} +1 -1
- package/assets/esri/core/workers/chunks/731cab5887c05f221279.js +1 -0
- package/assets/esri/core/workers/chunks/779fe8ccc4041f0b65a0.js +1 -0
- package/assets/esri/core/workers/chunks/{746190bb70aa78ba0bfc.js → 8936f9398414be26b83f.js} +4 -4
- package/assets/esri/core/workers/chunks/{8cb13b3776f07536c79f.js → a0d459bdb91ee892d4b6.js} +1 -1
- package/assets/esri/core/workers/chunks/c267e57eb7f779115aba.js +1 -0
- package/assets/esri/core/workers/chunks/cb6083f7294c8de297e1.js +1 -0
- package/assets/esri/core/workers/chunks/{f9bc4edfdb1590be2d92.js → cb6c9469d7c16727cd12.js} +1 -1
- package/assets/esri/core/workers/chunks/{3b5f24bb824c95996308.js → feba6c9ae162a0a8ea3a.js} +1 -1
- package/assets/esri/libs/lyr3d/lyr3DWorker.wasm +0 -0
- package/chunks/{TextureOnly.glsl.js → Texture.glsl.js} +2 -2
- package/chunks/{WaterSurface.glsl.js → Water.glsl.js} +6 -6
- package/config.js +1 -1
- package/core/arrayUtils.js +1 -1
- package/effects/FocusAreas.d.ts +1 -0
- package/form/FormTemplate.js +1 -1
- package/geometry/operators/geodesicBufferOperator.d.ts +1 -0
- package/geometry/operators/geodesicProximityOperator.d.ts +1 -0
- package/geometry/operators/geodeticAreaOperator.d.ts +1 -0
- package/geometry/operators/geodeticDensifyOperator.d.ts +1 -0
- package/geometry/operators/geodeticDistanceOperator.d.ts +1 -0
- package/geometry/operators/geodeticLengthOperator.d.ts +1 -0
- package/geometry/operators/geodeticUtilsOperator.d.ts +1 -0
- package/geometry/operators/shapePreservingProjectOperator.d.ts +1 -0
- package/geometry/operators/support/geographicTransformationUtils.d.ts +1 -0
- package/interfaces.d.ts +2 -2
- package/kernel.js +1 -1
- package/layers/CatalogLayer.d.ts +1 -0
- package/layers/FeatureLayer.d.ts +6 -0
- package/layers/GeoJSONLayer.d.ts +1 -0
- package/layers/Layer.d.ts +1 -0
- package/layers/LinkChartLayer.d.ts +2 -2
- package/layers/MediaLayer.d.ts +1 -0
- package/layers/OGCFeatureLayer.d.ts +1 -0
- package/layers/ParquetLayer.d.ts +6 -0
- package/layers/SubtypeGroupLayer.d.ts +1 -0
- package/layers/WFSLayer.d.ts +1 -0
- package/layers/catalog/CatalogFootprintLayer.d.ts +1 -0
- package/layers/mixins/BlendLayer.d.ts +1 -0
- package/layers/mixins/FeatureEffectLayer.d.ts +2 -0
- package/layers/mixins/ScaleRangeLayer.d.ts +0 -42
- package/layers/raster/datasets/RawBlockCache.js +1 -1
- package/layers/raster/functions/SpectralConversionFunction.js +1 -1
- package/layers/support/FeatureFilter.d.ts +4 -0
- package/layers/support/parquetUtils.d.ts +44 -1
- package/layers/support/vectorTileLayerLoader.js +1 -1
- package/layers/support/wmsUtils.js +1 -1
- package/networks/CircuitManager.d.ts +6 -5
- package/networks/CircuitManager.js +1 -1
- package/networks/Network.d.ts +1 -0
- package/networks/UtilityNetwork.js +1 -1
- package/networks/support/Circuit.d.ts +2 -4
- package/networks/support/CircuitLocation.d.ts +1 -7
- package/networks/support/CircuitLocation.js +1 -1
- package/networks/support/CircuitPathConnectivityElement.js +1 -1
- package/networks/support/CircuitSection.d.ts +2 -4
- package/networks/support/Subcircuit.d.ts +2 -2
- package/package.json +4 -4
- package/renderers/FlowRenderer.d.ts +1 -0
- package/renderers/support/colorRampUtils.js +1 -1
- package/rest/featureService/types.d.ts +2 -2
- package/rest/knowledgeGraph/GraphSearch.d.ts +0 -1
- package/rest/knowledgeGraph/GraphSearchStreaming.d.ts +0 -1
- package/rest/networks/circuits/support/QueryCircuitsParameters.js +1 -1
- package/rest/networks/circuits/support/VerifyCircuitsParameters.d.ts +30 -0
- package/rest/networks/circuits/support/VerifyCircuitsParameters.js +1 -1
- package/rest/networks/circuits/verifyCircuits.js +1 -1
- package/rest/networks/support/Association.js +1 -1
- package/rest/networks/support/NetworkElement.d.ts +2 -1
- package/rest/networks/support/TelecomNetworkElement.js +1 -1
- package/rest/networks/support/TraceLocation.d.ts +1 -1
- package/rest/query.d.ts +4 -0
- package/rest/support/BinParametersBase.d.ts +9 -28
- package/rest/support/DateBinParameters.d.ts +0 -17
- package/rest/support/TopFeaturesQuery.d.ts +1 -0
- package/support/revision.js +1 -1
- package/symbols/CIMSymbol.d.ts +1 -0
- package/symbols/LineSymbolMarker.d.ts +2 -2
- package/symbols/SimpleFillSymbol.d.ts +2 -1
- package/symbols/SimpleLineSymbol.d.ts +4 -4
- package/symbols/support/cimSymbolUtils.d.ts +2 -0
- package/symbols/types.d.ts +140 -28
- package/views/2d/constraints/ZoomConstraint.js +1 -1
- package/views/2d/engine/imagery/RasterBitmap.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/raster/RasterProcessorTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/FocalStatisticsTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/SpectralConversionTechnique.js +5 -0
- package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/StretchTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/processor/SpectralConversionShader.js +5 -0
- package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
- package/views/2d/types.d.ts +6 -1
- package/views/3d/analysis/AreaMeasurement/support/AreaMeasurementVisualization.js +1 -1
- package/views/3d/analysis/AreaMeasurement/support/MeasurementData.js +1 -1
- package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillController.js +1 -1
- package/views/3d/environment/EnvironmentRenderer.js +1 -1
- package/views/3d/interactive/visualElements/LaserlineVisualElement.js +1 -1
- package/views/3d/layers/I3SMeshViewLabeler.js +1 -1
- package/views/3d/layers/SceneLayerWorker.js +1 -1
- package/views/3d/layers/i3s/I3SMeshViewFilter.js +1 -1
- package/views/3d/state/ViewState.js +1 -1
- package/views/3d/support/gaussianSplatting/GaussianSplatFadeHelper.js +1 -1
- package/views/3d/terrain/BlendLayers.glsl.js +5 -0
- package/views/3d/terrain/BlendLayersTechnique.js +1 -1
- package/views/3d/terrain/OverlayRenderer.js +1 -1
- package/views/3d/terrain/RasterColorizer.glsl.js +5 -0
- package/views/3d/terrain/RasterColorizerTechnique.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/Slice.glsl.js +3 -3
- package/views/3d/webgl-engine/core/shaderLibrary/shading/{Water.glsl.js → WaterColor.glsl.js} +2 -2
- package/views/3d/webgl-engine/core/shaderLibrary/terrain/Overlay.glsl.js +2 -2
- package/views/3d/webgl-engine/effects/highlight/Highlight.js +1 -1
- package/views/3d/webgl-engine/effects/highlight/HighlightApply.glsl.js +5 -0
- package/views/3d/webgl-engine/effects/highlight/HighlightApplyTechnique.js +1 -1
- package/views/3d/webgl-engine/effects/highlight/HighlightBlur.glsl.js +5 -0
- package/views/3d/webgl-engine/effects/highlight/HighlightBlurTechnique.js +1 -1
- package/views/3d/webgl-engine/effects/highlight/HighlightDownsample.glsl.js +5 -0
- package/views/3d/webgl-engine/effects/highlight/HighlightDownsampleTechnique.js +1 -1
- package/views/3d/webgl-engine/effects/highlight/HighlightToSingle.glsl.js +5 -0
- package/views/3d/webgl-engine/effects/highlight/HighlightToSingleTechnique.js +1 -1
- package/views/3d/webgl-engine/effects/highlight/ShadowHighlight.glsl.js +5 -0
- package/views/3d/webgl-engine/effects/highlight/ShadowHighlightTechnique.js +1 -1
- package/views/3d/webgl-engine/effects/laserlines/Laserline.glsl.js +5 -0
- package/views/3d/webgl-engine/effects/laserlines/LaserlinePath.glsl.js +5 -0
- package/views/3d/webgl-engine/effects/laserlines/LaserlinePathTechnique.js +1 -1
- package/views/3d/webgl-engine/effects/laserlines/LaserlineTechnique.js +1 -1
- package/views/3d/webgl-engine/effects/magnifier/Magnifier.glsl.js +5 -0
- package/views/3d/webgl-engine/effects/magnifier/Magnifier.js +1 -1
- package/views/3d/webgl-engine/effects/magnifier/MagnifierTechnique.js +1 -1
- package/views/3d/webgl-engine/effects/smaa/BlendWeights.glsl.js +5 -0
- package/views/3d/webgl-engine/effects/smaa/Blur.glsl.js +5 -0
- package/views/3d/webgl-engine/effects/smaa/EdgeDetect.glsl.js +5 -0
- package/views/3d/webgl-engine/effects/smaa/SMAABlendWeightsTechnique.js +1 -1
- package/views/3d/webgl-engine/effects/smaa/SMAABlurTechnique.js +1 -1
- package/views/3d/webgl-engine/effects/smaa/SMAAEdgeDetectTechnique.js +1 -1
- package/views/3d/webgl-engine/effects/ssao/SSAO.glsl.js +5 -0
- package/views/3d/webgl-engine/effects/ssao/SSAO.js +1 -1
- package/views/3d/webgl-engine/effects/ssao/SSAOBlur.glsl.js +5 -0
- package/views/3d/webgl-engine/effects/ssao/SSAOBlurTechnique.js +1 -1
- package/views/3d/webgl-engine/effects/ssao/SSAOTechnique.js +1 -1
- package/views/3d/webgl-engine/lib/GaussianSplatRenderNode.js +1 -1
- package/views/3d/webgl-engine/lib/GeometryUtil.js +1 -1
- package/views/3d/webgl-engine/lib/Renderer.js +1 -1
- package/views/3d/webgl-engine/lib/Texture.glsl.js +5 -0
- package/views/3d/webgl-engine/lib/TextureTechnique.js +1 -1
- package/views/3d/webgl-engine/lib/edgeRendering/EdgeShader.glsl.js +5 -0
- package/views/3d/webgl-engine/lib/edgeRendering/EdgeShaderTechnique.js +1 -1
- package/views/3d/webgl-engine/{shaders → materials}/Path.glsl.js +1 -1
- package/views/3d/webgl-engine/materials/PathTechnique.js +1 -1
- package/views/3d/webgl-engine/{shaders/WaterSurface.glsl.js → materials/Water.glsl.js} +1 -1
- package/views/3d/webgl-engine/materials/WaterTechnique.js +1 -1
- package/views/3d/webgl-engine/materials/renderers/MergedBuffer.js +1 -1
- package/views/3d/webgl.js +1 -1
- package/views/VideoView.d.ts +1 -0
- package/views/interactive/snapping/FeatureSnappingLayerSource.d.ts +1 -0
- package/views/layers/FeatureLayerViewMixin.d.ts +1 -0
- package/views/support/euclideanAreaMeasurementUtils.js +1 -1
- package/views/webgl/ShaderBuilder.js +1 -1
- package/widgets/Attachments.d.ts +1 -0
- package/widgets/BuildingExplorer.d.ts +1 -1
- package/widgets/Editor/AddAssociationWorkflow.js +1 -1
- package/widgets/ScaleRangeSlider/ScaleRanges.d.ts +43 -1
- package/widgets/Slider/SliderViewModel.js +1 -1
- package/widgets/Swipe.d.ts +1 -1
- package/widgets/TableList.d.ts +1 -0
- package/widgets/UtilityNetworkAssociations.d.ts +1 -0
- package/widgets/UtilityNetworkTrace/support/GeometryHandler.js +1 -1
- package/widgets/UtilityNetworkTrace.d.ts +1 -0
- package/widgets/UtilityNetworkValidateTopology.d.ts +1 -0
- package/widgets/support/SnappingControls.d.ts +1 -0
- package/widgets/support/UtilityNetworkAssociations/FeatureUtilityNetworkAssociationsViewModel.js +1 -1
- package/widgets/support/UtilityNetworkAssociations/utils/createAssociation.js +1 -1
- package/assets/esri/core/workers/chunks/165cf8031af160c99d70.js +0 -1
- package/assets/esri/core/workers/chunks/4f4bdf9f5323fa702e6c.js +0 -1
- package/assets/esri/core/workers/chunks/641450da2680ae09b8e7.js +0 -1
- package/assets/esri/core/workers/chunks/cb66a74448a6c0c20d5d.js +0 -1
- package/layers/graphics/sources/ParquetSource.d.ts +0 -45
- package/views/3d/webgl-engine/core/shaderLibrary/raster/RasterColorizer.glsl.js +0 -5
- package/views/3d/webgl-engine/core/shaderLibrary/util/BlendLayers.glsl.js +0 -5
- package/views/3d/webgl-engine/core/shaderLibrary/util/TextureOnly.glsl.js +0 -5
- package/views/3d/webgl-engine/shaders/BlendWeights.glsl.js +0 -5
- package/views/3d/webgl-engine/shaders/Blur.glsl.js +0 -5
- package/views/3d/webgl-engine/shaders/EdgeDetect.glsl.js +0 -5
- package/views/3d/webgl-engine/shaders/HighlightApply.glsl.js +0 -5
- package/views/3d/webgl-engine/shaders/HighlightBlur.glsl.js +0 -5
- package/views/3d/webgl-engine/shaders/HighlightDownsample.glsl.js +0 -5
- package/views/3d/webgl-engine/shaders/HighlightToSingle.glsl.js +0 -5
- package/views/3d/webgl-engine/shaders/LaserlinePath.glsl.js +0 -5
- package/views/3d/webgl-engine/shaders/Laserlines.glsl.js +0 -5
- package/views/3d/webgl-engine/shaders/Magnifier.glsl.js +0 -5
- package/views/3d/webgl-engine/shaders/SSAO.glsl.js +0 -5
- package/views/3d/webgl-engine/shaders/SSAOBlur.glsl.js +0 -5
- package/views/3d/webgl-engine/shaders/ShadowHighlight.glsl.js +0 -5
- package/views/3d/webgl-engine/shaders/sources/edgeRenderer/EdgeShader.glsl.js +0 -5
- /package/chunks/{Laserlines.glsl.js → Laserline.glsl.js} +0 -0
|
Binary file
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{fromValues as e}from"../core/libs/gl-matrix-2/factories/vec3f64.js";import{ScreenSpacePass as r}from"../views/3d/webgl-engine/core/shaderLibrary/ScreenSpacePass.glsl.js";import{Float3PassUniform as o}from"../views/3d/webgl-engine/core/shaderModules/Float3PassUniform.js";import{glsl as s}from"../views/3d/webgl-engine/core/shaderModules/glsl.js";import{Texture2DPassUniform as t}from"../views/3d/webgl-engine/core/shaderModules/Texture2DPassUniform.js";import{NoParameters as
|
|
6
|
-
fragColor = texColor * vec4(uColor, 1.0);`),e}const m=Object.freeze(Object.defineProperty({__proto__:null,
|
|
5
|
+
import{fromValues as e}from"../core/libs/gl-matrix-2/factories/vec3f64.js";import{ScreenSpacePass as r}from"../views/3d/webgl-engine/core/shaderLibrary/ScreenSpacePass.glsl.js";import{Float3PassUniform as o}from"../views/3d/webgl-engine/core/shaderModules/Float3PassUniform.js";import{glsl as s}from"../views/3d/webgl-engine/core/shaderModules/glsl.js";import{Texture2DPassUniform as t}from"../views/3d/webgl-engine/core/shaderModules/Texture2DPassUniform.js";import{NoParameters as i}from"../views/webgl/NoParameters.js";import{ShaderBuilder as l}from"../views/webgl/ShaderBuilder.js";class a extends i{constructor(){super(...arguments),this.color=e(1,1,1)}}function n(){const e=new l;return e.include(r),e.fragment.uniforms.add(new t("tex",e=>e.texture),new o("uColor",e=>e.color)).main.add(s`vec4 texColor = texture(tex, uv);
|
|
6
|
+
fragColor = texColor * vec4(uColor, 1.0);`),e}const m=Object.freeze(Object.defineProperty({__proto__:null,TexturePassParameters:a,build:n},Symbol.toStringTag,{value:"Module"}));export{a as T,m as a,n as b};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{isColor as e}from"../views/3d/webgl-engine/core/shaderLibrary/ShaderOutput.js";import{SliceDraw as r}from"../views/3d/webgl-engine/core/shaderLibrary/Slice.glsl.js";import{Transform as
|
|
5
|
+
import{isColor as e}from"../views/3d/webgl-engine/core/shaderLibrary/ShaderOutput.js";import{SliceDraw as r}from"../views/3d/webgl-engine/core/shaderLibrary/Slice.glsl.js";import{Transform as o}from"../views/3d/webgl-engine/core/shaderLibrary/Transform.glsl.js";import{ObjectAndLayerIdColor as i}from"../views/3d/webgl-engine/core/shaderLibrary/attributes/ObjectAndLayerIdColor.glsl.js";import{OutputHighlight as a}from"../views/3d/webgl-engine/core/shaderLibrary/output/OutputHighlight.glsl.js";import{EvaluateAmbientLighting as t}from"../views/3d/webgl-engine/core/shaderLibrary/shading/EvaluateAmbientLighting.glsl.js";import{addMainLightDirection as n,addMainLightIntensity as s}from"../views/3d/webgl-engine/core/shaderLibrary/shading/MainLighting.glsl.js";import{NormalUtils as l}from"../views/3d/webgl-engine/core/shaderLibrary/shading/NormalUtils.glsl.js";import{ReadShadowMapDraw as d}from"../views/3d/webgl-engine/core/shaderLibrary/shading/ReadShadowMap.glsl.js";import{terrainDepthTest as g}from"../views/3d/webgl-engine/core/shaderLibrary/shading/TerrainDepthTest.glsl.js";import{WaterColor as m}from"../views/3d/webgl-engine/core/shaderLibrary/shading/WaterColor.glsl.js";import{WaterDistortion as v}from"../views/3d/webgl-engine/core/shaderLibrary/shading/WaterDistortion.glsl.js";import{ColorConversion as c}from"../views/3d/webgl-engine/core/shaderLibrary/util/ColorConversion.glsl.js";import{addProjViewLocalOrigin as p,addCameraPosition as w}from"../views/3d/webgl-engine/core/shaderLibrary/util/View.glsl.js";import{Float4PassUniform as u}from"../views/3d/webgl-engine/core/shaderModules/Float4PassUniform.js";import{FloatPassUniform as f}from"../views/3d/webgl-engine/core/shaderModules/FloatPassUniform.js";import{glsl as h}from"../views/3d/webgl-engine/core/shaderModules/glsl.js";import{outputColorHighlightOLID as b}from"../views/3d/webgl-engine/shaders/OutputColorHighlightOLID.glsl.js";import{ShaderBuilder as y}from"../views/webgl/ShaderBuilder.js";import{alphaCutoff as j}from"../webscene/support/AlphaCutoff.js";function L(L){const C=new y,{vertex:P,fragment:x,varyings:O}=C,{output:S,draped:D,receiveShadows:M}=L;p(P,L),C.include(o),C.attributes.add("position","vec3"),C.attributes.add("uv0","vec2");const _=new u("waterColor",e=>e.color);if(O.add("vpos","vec3",{invariant:!0}),P.uniforms.add(_),e(S)){if(D)return P.main.add(h`
|
|
6
6
|
if (waterColor.a < ${h.float(j)}) {
|
|
7
7
|
// Discard this vertex
|
|
8
8
|
gl_Position = vec4(1e38, 1e38, 1e38, 1.0);
|
|
@@ -10,7 +10,7 @@ import{isColor as e}from"../views/3d/webgl-engine/core/shaderLibrary/ShaderOutpu
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
vpos = position;
|
|
13
|
-
gl_Position = transformPosition(proj, view, vpos);`),x.uniforms.add(_),x.main.add(h`fragColor = waterColor;`),C;C.include(l,L),
|
|
13
|
+
gl_Position = transformPosition(proj, view, vpos);`),x.uniforms.add(_),x.main.add(h`fragColor = waterColor;`),C;C.include(l,L),O.add("vuv","vec2"),O.add("vnormal","vec3"),O.add("vtbnMatrix","mat3"),P.main.add(h`
|
|
14
14
|
if (waterColor.a < ${h.float(j)}) {
|
|
15
15
|
// Discard this vertex
|
|
16
16
|
gl_Position = vec4(1e38, 1e38, 1e38, 1.0);
|
|
@@ -25,7 +25,7 @@ import{isColor as e}from"../views/3d/webgl-engine/core/shaderLibrary/ShaderOutpu
|
|
|
25
25
|
forwardViewPosDepth((view * vec4(vpos, 1.0)).xyz);
|
|
26
26
|
|
|
27
27
|
gl_Position = transformPosition(proj, view, vpos);
|
|
28
|
-
forwardLinearDepthToReadShadowMap();`)}switch(C.include(d,L),C.include(g,L),
|
|
28
|
+
forwardLinearDepthToReadShadowMap();`)}switch(C.include(d,L),C.include(g,L),S){case 0:x.include(t,{pbrMode:0,lightingSphericalHarmonicsOrder:2}),C.include(v),C.include(m,L),x.include(r,L),C.include(b,L),x.include(c),w(x,L),n(x),s(x),x.uniforms.add(_,new f("timeElapsed",({timeElapsed:e})=>e),P.uniforms.get("view"),P.uniforms.get("localOrigin")).main.add(h`
|
|
29
29
|
discardBySlice(vpos);
|
|
30
30
|
discardByTerrainDepth();
|
|
31
31
|
vec3 localUp = vnormal;
|
|
@@ -37,10 +37,10 @@ import{isColor as e}from"../views/3d/webgl-engine/core/shaderLibrary/ShaderOutpu
|
|
|
37
37
|
vec3 v = -normalize(vpos - cameraPosition);
|
|
38
38
|
float shadow = ${M?h`1.0 - readShadowMap(vpos, linearDepth)`:"1.0"};
|
|
39
39
|
vec4 vPosView = view * vec4(vpos, 1.0);
|
|
40
|
-
vec4 final = vec4(
|
|
40
|
+
vec4 final = vec4(getWaterColor(n, v, mainLightDirection, waterColor.rgb, mainLightIntensity, localUp, shadow, tangentNormalFoam.w, vPosView.xyz, vpos + localOrigin), waterColor.w);
|
|
41
41
|
|
|
42
42
|
fragColor = delinearizeGamma(final);
|
|
43
|
-
outputColorHighlightOLID(fragColor, vpos, final.rgb);`);break;case 2:C.include(l,L),C.include(v,L),x.include(r,L),
|
|
43
|
+
outputColorHighlightOLID(fragColor, vpos, final.rgb);`);break;case 2:C.include(l,L),C.include(v,L),x.include(r,L),O.add("vuv","vec2"),P.main.add(h`
|
|
44
44
|
if (waterColor.a < ${h.float(j)}) {
|
|
45
45
|
// Discard this vertex
|
|
46
46
|
gl_Position = vec4(1e38, 1e38, 1e38, 1.0);
|
|
@@ -62,7 +62,7 @@ fragColor = vec4((tangentNormalFoam.xyz + vec3(1.0)) * 0.5, tangentNormalFoam.w)
|
|
|
62
62
|
|
|
63
63
|
vpos = position;
|
|
64
64
|
gl_Position = transformPosition(proj, view, vpos);`),x.include(r,L),x.main.add(h`discardBySlice(vpos);
|
|
65
|
-
calculateOcclusionAndOutputHighlight();`);break;case 9:C.include(
|
|
65
|
+
calculateOcclusionAndOutputHighlight();`);break;case 9:C.include(i,L),P.main.add(h`
|
|
66
66
|
if (waterColor.a < ${h.float(j)}) {
|
|
67
67
|
// Discard this vertex
|
|
68
68
|
gl_Position = vec4(1e38, 1e38, 1e38, 1.0);
|
package/config.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import"./core/has.js";import{deepMerge as e}from"./core/object.js";const s={apiKey:void 0,apiKeys:{scopes:[]},applicationName:"",applicationUrl:globalThis.location?.href,assetsPath:"",fontsUrl:"https://static.arcgis.com/fonts",geometryServiceUrl:"https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer",geoRSSServiceUrl:"https://utility.arcgis.com/sharing/rss",kmlServiceUrl:"https://utility.arcgis.com/sharing/kml",userPrivilegesApplied:!0,portalUrl:"https://www.arcgis.com",respectPrefersReducedMotion:!0,routeServiceUrl:"https://route-api.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World",workers:{loaderConfig:{has:{},paths:{},map:{},packages:[]}},request:{crossOriginNoCorsDomains:null,httpsDomains:["arcgis.com","arcgisonline.com","esrikr.com","premiumservices.blackbridge.com","esripremium.accuweather.com","gbm.digitalglobe.com","firstlook.digitalglobe.com","msi.digitalglobe.com"],interceptors:[],internalInterceptors:[],maxUrlLength:2e3,priority:"high",proxyRules:[],proxyUrl:null,timeout:62e3,trustedServers:[],useIdentity:!0},log:{interceptors:[],level:null}};if(globalThis.esriConfig&&(e(s,globalThis.esriConfig,!0),delete s.has),!s.assetsPath){{const e="5.0.0-next.
|
|
5
|
+
import"./core/has.js";import{deepMerge as e}from"./core/object.js";const s={apiKey:void 0,apiKeys:{scopes:[]},applicationName:"",applicationUrl:globalThis.location?.href,assetsPath:"",fontsUrl:"https://static.arcgis.com/fonts",geometryServiceUrl:"https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer",geoRSSServiceUrl:"https://utility.arcgis.com/sharing/rss",kmlServiceUrl:"https://utility.arcgis.com/sharing/kml",userPrivilegesApplied:!0,portalUrl:"https://www.arcgis.com",respectPrefersReducedMotion:!0,routeServiceUrl:"https://route-api.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World",workers:{loaderConfig:{has:{},paths:{},map:{},packages:[]}},request:{crossOriginNoCorsDomains:null,httpsDomains:["arcgis.com","arcgisonline.com","esrikr.com","premiumservices.blackbridge.com","esripremium.accuweather.com","gbm.digitalglobe.com","firstlook.digitalglobe.com","msi.digitalglobe.com"],interceptors:[],internalInterceptors:[],maxUrlLength:2e3,priority:"high",proxyRules:[],proxyUrl:null,timeout:62e3,trustedServers:[],useIdentity:!0},log:{interceptors:[],level:null}};if(globalThis.esriConfig&&(e(s,globalThis.esriConfig,!0),delete s.has),!s.assetsPath){{const e="5.0.0-next.88";s.assetsPath=`https://cdn.jsdelivr.net/npm/@arcgis/core@${e}/assets`}s.defaultAssetsPath=s.assetsPath}export{s as default};
|
package/core/arrayUtils.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{toConst as n}from"./compilerUtils.js";import t from"./RandomLCG.js";const e=1.5,r=1/e,l=.5;function u(n,t){if(!t)return n;for(const e of t)n.push(e);return n}function o(n){return n}function f(n,t=o){if(!n||0===n.length)return;let e=n[0],r=t(e);for(let l=1;l<n.length;++l){const u=n[l],o=Number(t(u));o>r&&(r=o,e=u)}return e}function i(n,t=o){return f(n,n=>-t(n))}function c(n,t){return t?n.filter((n,e,r)=>r.findIndex(t.bind(null,n))===e):Array.from(new Set(n))}function s(n,t,e,r,l,u,o){if(null==n&&null==r)return!0;t=Math.max(0,t),l=Math.max(0,l),e=Math.max(0,e<0?(n?.length??0)+e:e),u=Math.max(0,u<0?(r?.length??0)+u:u);const f=e-t;if(null==n||null==r||f!==u-l)return!1;if(o){for(let i=0;i<f;i++)if(!o(n[t+i],r[l+i]))return!1}else for(let i=0;i<f;i++)if(n[t+i]!==r[l+i])return!1;return!0}function h(n,t,e){return s(n,0,n?.length??0,t,0,t?.length??0,e)}function a(){return(n,t)=>{if(null==n&&null==t)return!0;if(null==n||null==t||n.length!==t.length)return!1;for(let e=0;e<n.length;e++)if(n[e]!==t[e])return!1;return!0}}function g(n,t){let e=n.length!==t.length;e&&(n.length=t.length);for(let r=0;r<t.length;++r)n[r]!==t[r]&&(n[r]=t[r],e=!0);return e}function d(n,t,e){let r,l;return e?(r=t.filter(t=>!n.some(n=>e(n,t))),l=n.filter(n=>!t.some(t=>e(t,n)))):(r=t.filter(t=>!n.includes(t)),l=n.filter(n=>!t.includes(n))),{added:r,removed:l}}function m(n,t,e){return n&&t?e?n.filter(n=>t.findIndex(t=>e(n,t))>-1):n.filter(n=>t.includes(n)):[]}function p(n){return n&&"number"==typeof n.length}function M(n,t){const e=n.length;if(0===e)return[];const r=[];for(let l=0;l<e;l+=t)r.push(n.slice(l,l+t));return r}function x(n,t){void 0===t&&(t=n,n=0);const e=new Array(t-n);for(let r=n;r<t;r++)e[r-n]=r;return e}function w(n,t,e){const r=n.length;let l=0,u=r-1;for(;l<u;){const e=l+Math.floor((u-l)/2);t>n[e]?l=e+1:u=e}const o=n[l];return e?t>=n[r-1]?-1:o===t?l:l-1:o===t?l:-1}class y{constructor(){this.last=0}}const A=new y;function b(n,t,e,r){r=r||A;const l=Math.max(0,r.last-10);for(let o=l;o<e;++o)if(n[o]===t)return r.last=o,o;const u=Math.min(l,e);for(let o=0;o<u;++o)if(n[o]===t)return r.last=o,o;return-1}function S(t,e,r,l){const u=r??t.length,o=b(t,n(e),u,l);if(-1!==o)return t[o]=t[u-1],null==r&&t.pop(),e}const j=new Set;function v(n,t,e=n.length,r=t.length,l,u){if(0===r||0===e)return e;j.clear();for(let f=0;f<r;++f)j.add(t[f]);l=l||A;const o=Math.max(0,l.last-10);for(let f=o;f<e;++f)if(j.has(n[f])&&(u?.push(n[f]),j.delete(n[f]),n[f]=n[e-1],--e,--f,0===j.size||0===e))return j.clear(),e;for(let f=0;f<o;++f)if(j.has(n[f])&&(u?.push(n[f]),j.delete(n[f]),n[f]=n[e-1],--e,--f,0===j.size||0===e))return j.clear(),e;return j.clear(),e}function z(n,t){let e=0;for(let r=0;r<n.length;++r){const l=n[r];t(l,r)&&(n[e]=l,e++)}return n.length=e,n}function I(n,t,e){const r=n.length;if(t>=r)return n.slice();const l=C(e),u=new Set,o=[];for(;o.length<t;){const t=Math.floor(l()*r);u.has(t)||(u.add(t),o.push(n[t]))}return o}function C(n){return n?(F.seed=n,()=>F.getFloat()):Math.random}const F=new t;function G(n,t){if(!n)return n;const e=C(t);for(let r=n.length-1;r>0;r--){const t=Math.floor(e()*(r+1)),l=n[r];n[r]=n[t],n[t]=l}return n}function L(n,t){const e=n.indexOf(t);return-1!==e?(n.splice(e,1),t):null}function N(n,t){return null!=n}function O(n,...t){for(const e of t)null!=e&&n.push(e);return n.length}function R(n,t){return n.reduce((n,e)=>t(e)?n+1:n,0)}function U(n){return Array.isArray(n)}
|
|
5
|
+
import{toConst as n}from"./compilerUtils.js";import t from"./RandomLCG.js";const e=1.5,r=1/e,l=.5;function u(n,t){if(!t)return n;for(const e of t)n.push(e);return n}function o(n){return n}function f(n,t=o){if(!n||0===n.length)return;let e=n[0],r=t(e);for(let l=1;l<n.length;++l){const u=n[l],o=Number(t(u));o>r&&(r=o,e=u)}return e}function i(n,t=o){return f(n,n=>-t(n))}function c(n,t){return t?n.filter((n,e,r)=>r.findIndex(t.bind(null,n))===e):Array.from(new Set(n))}function s(n,t,e,r,l,u,o){if(null==n&&null==r)return!0;t=Math.max(0,t),l=Math.max(0,l),e=Math.max(0,e<0?(n?.length??0)+e:e),u=Math.max(0,u<0?(r?.length??0)+u:u);const f=e-t;if(null==n||null==r||f!==u-l)return!1;if(o){for(let i=0;i<f;i++)if(!o(n[t+i],r[l+i]))return!1}else for(let i=0;i<f;i++)if(n[t+i]!==r[l+i])return!1;return!0}function h(n,t,e){return s(n,0,n?.length??0,t,0,t?.length??0,e)}function a(){return(n,t)=>{if(null==n&&null==t)return!0;if(null==n||null==t||n.length!==t.length)return!1;for(let e=0;e<n.length;e++)if(n[e]!==t[e])return!1;return!0}}function g(n,t){let e=n.length!==t.length;e&&(n.length=t.length);for(let r=0;r<t.length;++r)n[r]!==t[r]&&(n[r]=t[r],e=!0);return e}function d(n,t,e){let r,l;return e?(r=t.filter(t=>!n.some(n=>e(n,t))),l=n.filter(n=>!t.some(t=>e(t,n)))):(r=t.filter(t=>!n.includes(t)),l=n.filter(n=>!t.includes(n))),{added:r,removed:l}}function m(n,t,e){return n&&t?e?n.filter(n=>t.findIndex(t=>e(n,t))>-1):n.filter(n=>t.includes(n)):[]}function p(n){return n&&"number"==typeof n.length}function M(n,t){const e=n.length;if(0===e)return[];const r=[];for(let l=0;l<e;l+=t)r.push(n.slice(l,l+t));return r}function x(n,t){void 0===t&&(t=n,n=0);const e=new Array(t-n);for(let r=n;r<t;r++)e[r-n]=r;return e}function w(n,t,e){const r=n.length;let l=0,u=r-1;for(;l<u;){const e=l+Math.floor((u-l)/2);t>n[e]?l=e+1:u=e}const o=n[l];return e?t>=n[r-1]?-1:o===t?l:l-1:o===t?l:-1}class y{constructor(){this.last=0}}const A=new y;function b(n,t,e,r){r=r||A;const l=Math.max(0,r.last-10);for(let o=l;o<e;++o)if(n[o]===t)return r.last=o,o;const u=Math.min(l,e);for(let o=0;o<u;++o)if(n[o]===t)return r.last=o,o;return-1}function S(t,e,r,l){const u=r??t.length,o=b(t,n(e),u,l);if(-1!==o)return t[o]=t[u-1],null==r&&t.pop(),e}const j=new Set;function v(n,t,e=n.length,r=t.length,l,u){if(0===r||0===e)return e;j.clear();for(let f=0;f<r;++f)j.add(t[f]);l=l||A;const o=Math.max(0,l.last-10);for(let f=o;f<e;++f)if(j.has(n[f])&&(u?.push(n[f]),j.delete(n[f]),n[f]=n[e-1],--e,--f,0===j.size||0===e))return j.clear(),e;for(let f=0;f<o;++f)if(j.has(n[f])&&(u?.push(n[f]),j.delete(n[f]),n[f]=n[e-1],--e,--f,0===j.size||0===e))return j.clear(),e;return j.clear(),e}function z(n,t){let e=0;for(let r=0;r<n.length;++r){const l=n[r];t(l,r)&&(n[e]=l,e++)}return n.length=e,n}function I(n,t,e){const r=n.length;if(t>=r)return n.slice();const l=C(e),u=new Set,o=[];for(;o.length<t;){const t=Math.floor(l()*r);u.has(t)||(u.add(t),o.push(n[t]))}return o}function C(n){return n?(F.seed=n,()=>F.getFloat()):Math.random}const F=new t;function G(n,t){if(!n)return n;const e=C(t);for(let r=n.length-1;r>0;r--){const t=Math.floor(e()*(r+1)),l=n[r];n[r]=n[t],n[t]=l}return n}function L(n,t){const e=n.indexOf(t);return-1!==e?(n.splice(e,1),t):null}function N(n,t){return null!=n}function O(n,...t){for(const e of t)null!=e&&n.push(e);return n.length}function R(n,t){return n.reduce((n,e)=>t(e)?n+1:n,0)}function U(n){return Array.isArray(n)}function k(n,t,e){for(t<n.length&&(n.length=t);n.length<t;)n.push(e())}const q=[];export{y as PositionHint,u as addMany,w as binaryIndexOf,R as countIf,d as difference,q as emptyArray,h as equals,z as filterInPlace,C as getRandomNumberGenerator,b as indexOf,m as intersect,p as isArrayLike,U as isArrayWithReadonly,N as isSome,a as makeArrayEquals,f as max,i as min,I as pickRandom,O as pushIfSome,x as range,e as reallocGrowthFactor,r as reallocShrinkFactor,l as reallocShrinkThreshold,L as remove,S as removeUnordered,v as removeUnorderedMany,k as resizeFilled,G as shuffle,s as sliceEquals,M as splitIntoChunks,c as unique,g as update};
|
package/effects/FocusAreas.d.ts
CHANGED
|
@@ -24,6 +24,7 @@ export interface FocusAreasProperties extends Partial<Pick<FocusAreas, "style">>
|
|
|
24
24
|
* > [!WARNING]
|
|
25
25
|
* >
|
|
26
26
|
* > **Known Limitations**
|
|
27
|
+
* >
|
|
27
28
|
* > Focus areas are only supported in [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html).
|
|
28
29
|
*
|
|
29
30
|
* @since 4.33
|
package/form/FormTemplate.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{__decorate as e}from"tslib";import{JSONSupport as t}from"../core/JSONSupport.js";import{clone as s}from"../core/lang.js";import{addMaybe as r,addMany as o}from"../core/SetUtils.js";import{property as i,cast as n,subclass as l}from"../core/accessorSupport/decorators.js";import{reader as p}from"../core/accessorSupport/decorators/reader.js";import m from"./ExpressionInfo.js";import f from"./elements/GroupElement.js";import{ensureType as a,fromJSON as d,toJSON as c,isTextElement as u,isGroupElement as h,isFieldElement as y,buildTypeMaps as x}from"./support/formUtils.js";import{collectArcadeFieldNames as E,collectFields as j,extractSubstitutionTemplatesFromString as w,collectField as v}from"../layers/support/fieldUtils.js";import{writer as S}from"../core/accessorSupport/decorators/writer.js";var g;const I=x(f);let F=g=class extends t{constructor(e){super(e),this.description=null,this.expressionInfos=null,this.preserveFieldValuesWhenHidden=!1,this.title=null}get elements(){return this._get("elements")??null}set elements(e){this._set("elements",e)}castElements(e){return a(e,I)}readElements(e,t){return d(t.formElements,I)}writeElements(e,t){t.formElements=c(e,I)}clone(){return new g({description:this.description,expressionInfos:s(this.expressionInfos),elements:s(this.elements),title:this.title,preserveFieldValuesWhenHidden:this.preserveFieldValuesWhenHidden})}async getFieldsUsed(e,t){const s=new Set,{description:r,elements:o,expressionInfos:i,title:n}=this;if(U(s,e,r),U(s,e,n),!o)return[];const l=k(o,i).map(t=>E(s,e,null,t));await Promise.all(l);for(const p of o)b(s,{fieldsIndex:e,relationships:t},p);return Array.from(s).sort()}};function b(e,t,s){const{fieldsIndex:r}=t;if(
|
|
5
|
+
import{__decorate as e}from"tslib";import{JSONSupport as t}from"../core/JSONSupport.js";import{clone as s}from"../core/lang.js";import{addMaybe as r,addMany as o}from"../core/SetUtils.js";import{property as i,cast as n,subclass as l}from"../core/accessorSupport/decorators.js";import{reader as p}from"../core/accessorSupport/decorators/reader.js";import m from"./ExpressionInfo.js";import f from"./elements/GroupElement.js";import{ensureType as a,fromJSON as d,toJSON as c,isTextElement as u,isGroupElement as h,isFieldElement as y,buildTypeMaps as x}from"./support/formUtils.js";import{collectArcadeFieldNames as E,collectFields as j,extractSubstitutionTemplatesFromString as w,collectField as v}from"../layers/support/fieldUtils.js";import{writer as S}from"../core/accessorSupport/decorators/writer.js";var g;const I=x(f);let F=g=class extends t{constructor(e){super(e),this.description=null,this.expressionInfos=null,this.preserveFieldValuesWhenHidden=!1,this.title=null}get elements(){return this._get("elements")??null}set elements(e){this._set("elements",e)}castElements(e){return a(e,I)}readElements(e,t){return d(t.formElements,I)}writeElements(e,t){t.formElements=c(e,I)}clone(){return new g({description:this.description,expressionInfos:s(this.expressionInfos),elements:s(this.elements),title:this.title,preserveFieldValuesWhenHidden:this.preserveFieldValuesWhenHidden})}async getFieldsUsed(e,t){const s=new Set,{description:r,elements:o,expressionInfos:i,title:n}=this;if(U(s,e,r),U(s,e,n),!o)return[];const l=k(o,i).map(t=>E(s,e,null,t));await Promise.all(l);for(const p of o)b(s,{fieldsIndex:e,relationships:t},p);return Array.from(s).sort()}};function b(e,t,s){const{fieldsIndex:r}=t;if(r?.fields.length!==e.size)switch(U(e,r,s.label),U(e,r,s.description),s.type){case"field":v(e,r,s.fieldName);break;case"group":s.elements.forEach(s=>b(e,t,s));break;case"relationship":if(t.relationships){const o=t.relationships.find(e=>e.id===s.relationshipId);o&&v(e,r,o.keyField)}j(e,r,s.orderByFields?.map(e=>e.field));break;case"text":U(e,r,s.text)}}function k(e,t){if(!t||0===t.length)return[];const s=H(e),r=[];for(const o of t)s.has(o.name)&&r.push(o.expression);return r}function H(e){const t=new Set;for(const s of e)if(r(t,s.visibilityExpression),!u(s))if(h(s))o(t,H(s.elements));else if(r(t,s.editableExpression),y(s)){const{requiredExpression:e,valueExpression:r}=s;o(t,[e,r])}return t}function U(e,t,s){j(e,t,w(s))}e([i({type:String,json:{write:!0}})],F.prototype,"description",void 0),e([i({json:{write:!0}})],F.prototype,"elements",null),e([n("elements")],F.prototype,"castElements",null),e([p("elements",["formElements"])],F.prototype,"readElements",null),e([S("elements")],F.prototype,"writeElements",null),e([i({type:[m],json:{write:!0}})],F.prototype,"expressionInfos",void 0),e([i({type:Boolean,json:{default:!1,write:!0}})],F.prototype,"preserveFieldValuesWhenHidden",void 0),e([i({type:String,json:{write:!0}})],F.prototype,"title",void 0),F=g=e([l("esri.form.FormTemplate")],F);export{F as default};
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
* > [!WARNING]
|
|
5
5
|
* >
|
|
6
6
|
* > **Notes**
|
|
7
|
+
* >
|
|
7
8
|
* > If you have an area of interest such as a visible extent, clip the input geometries before densifying to limit the amount of segments produced.
|
|
8
9
|
* > Verify that `isLoaded()` returns `true` before using this module.
|
|
9
10
|
* > Use `load()` to load this module's dependencies.
|
package/interfaces.d.ts
CHANGED
|
@@ -3086,8 +3086,6 @@ declare namespace __esri {
|
|
|
3086
3086
|
|
|
3087
3087
|
export type EditedFeatureResultEditedFeaturesUpdates = import("./layers/graphics/editingSupport.js").EditedFeaturesUpdate;
|
|
3088
3088
|
|
|
3089
|
-
export type ParquetLayerInfo = import("./layers/graphics/sources/ParquetSource.js").ParquetLayerInfo;
|
|
3090
|
-
|
|
3091
3089
|
export type IdTypePair = import("./layers/knowledgeGraph/IdTypePair.js").IdTypePair;
|
|
3092
3090
|
|
|
3093
3091
|
export type InclusionModeDefinition = import("./layers/knowledgeGraph/KnowledgeGraphLayerDataManager.js").InclusionListDefinition;
|
|
@@ -4023,6 +4021,8 @@ declare namespace __esri {
|
|
|
4023
4021
|
|
|
4024
4022
|
export const fieldUtils: fieldUtils;
|
|
4025
4023
|
|
|
4024
|
+
export type ParquetLayerInfo = import("./layers/support/parquetUtils.js").ParquetLayerInfo;
|
|
4025
|
+
|
|
4026
4026
|
export type parquetUtilsGetParquetLayerInfoOptions = import("./layers/support/parquetUtils.js").ParquetLayerInfoOptions;
|
|
4027
4027
|
|
|
4028
4028
|
interface parquetUtils {
|
package/kernel.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import has from"./core/has.js";import{addQueryParameter as o}from"./core/urlUtils.js";export{buildDate,commitHash as revision}from"./support/revision.js";Symbol.dispose??=Symbol("Symbol.dispose"),Symbol.asyncDispose??=Symbol("Symbol.asyncDispose");const e="5.0";let s,r=e;function i(o){s=o}function t(e){const r=s?.findCredential(e);return r?.token?o(e,"token",r.token):e}r="5.0.0-next.
|
|
5
|
+
import has from"./core/has.js";import{addQueryParameter as o}from"./core/urlUtils.js";export{buildDate,commitHash as revision}from"./support/revision.js";Symbol.dispose??=Symbol("Symbol.dispose"),Symbol.asyncDispose??=Symbol("Symbol.asyncDispose");const e="5.0";let s,r=e;function i(o){s=o}function t(e){const r=s?.findCredential(e);return r?.token?o(e,"token",r.token):e}r="5.0.0-next.88",has("host-webworker")||globalThis.$arcgis||Object.defineProperty(globalThis,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),has("host-webworker");export{t as addTokenParameter,r as fullVersion,s as id,i as setId,e as version};
|
package/layers/CatalogLayer.d.ts
CHANGED
|
@@ -478,6 +478,7 @@ export default class CatalogLayer extends CatalogLayerSuperclass {
|
|
|
478
478
|
* > [!WARNING]
|
|
479
479
|
* >
|
|
480
480
|
* > **Notes**
|
|
481
|
+
* >
|
|
481
482
|
* > The `queryAttributeBins()` method is unrelated to querying bins in [FeatureReductionBinning](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FeatureReductionBinning.html).
|
|
482
483
|
*
|
|
483
484
|
* @param binsQuery - Specifies the parameters of the `queryAttributeBins()` operation. The [AttributeBinsQuery#binParameters](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-AttributeBinsQuery.html#binParameters) property must be set.
|
package/layers/FeatureLayer.d.ts
CHANGED
|
@@ -1372,6 +1372,7 @@ export abstract class __FeatureLayerSansType extends FeatureLayerSuperclass {
|
|
|
1372
1372
|
* > [!WARNING]
|
|
1373
1373
|
* >
|
|
1374
1374
|
* > **Notes**
|
|
1375
|
+
* >
|
|
1375
1376
|
* > FeatureLayers are not optimized for high-frequency, dynamic data, or real-time streaming use cases. As a result, they may not perform efficiently with rapidly updating data streams.
|
|
1376
1377
|
* > For real-time or dynamic data updates, use [StreamLayers](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-StreamLayer.html), which are designed for efficient handling of high-frequency streaming data and dynamic features.
|
|
1377
1378
|
* >
|
|
@@ -1629,6 +1630,7 @@ export abstract class __FeatureLayerSansType extends FeatureLayerSuperclass {
|
|
|
1629
1630
|
* > [!WARNING]
|
|
1630
1631
|
* >
|
|
1631
1632
|
* > **Notes**
|
|
1633
|
+
* >
|
|
1632
1634
|
* > The `queryAttributeBins()` method is unrelated to querying bins in [FeatureReductionBinning](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FeatureReductionBinning.html).
|
|
1633
1635
|
*
|
|
1634
1636
|
* @param binsQuery - Specifies the parameters of the `queryAttributeBins()` operation. The [AttributeBinsQuery#binParameters](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-AttributeBinsQuery.html#binParameters) property must be set.
|
|
@@ -1973,6 +1975,7 @@ export abstract class __FeatureLayerSansType extends FeatureLayerSuperclass {
|
|
|
1973
1975
|
* > [!WARNING]
|
|
1974
1976
|
* >
|
|
1975
1977
|
* > **Known Limitations**
|
|
1978
|
+
* >
|
|
1976
1979
|
* > Currently, the `queryTopFeatureCount` is only supported with server-side [FeatureLayers](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html).
|
|
1977
1980
|
*
|
|
1978
1981
|
* @param topFeaturesQuery - Specifies the attributes, spatial, temporal, and top
|
|
@@ -2010,6 +2013,7 @@ export abstract class __FeatureLayerSansType extends FeatureLayerSuperclass {
|
|
|
2010
2013
|
* > [!WARNING]
|
|
2011
2014
|
* >
|
|
2012
2015
|
* > **Known Limitations**
|
|
2016
|
+
* >
|
|
2013
2017
|
* > Currently, the `queryTopFeatures` is only supported with server-side [FeatureLayers](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html).
|
|
2014
2018
|
*
|
|
2015
2019
|
* @param topFeaturesQuery - Specifies the attributes, spatial, temporal, and top
|
|
@@ -2049,6 +2053,7 @@ export abstract class __FeatureLayerSansType extends FeatureLayerSuperclass {
|
|
|
2049
2053
|
* > [!WARNING]
|
|
2050
2054
|
* >
|
|
2051
2055
|
* > **Known Limitations**
|
|
2056
|
+
* >
|
|
2052
2057
|
* > Currently, the `queryTopFeaturesExtent` is only supported with server-side [FeatureLayers](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html).
|
|
2053
2058
|
*
|
|
2054
2059
|
* @param topFeaturesQuery - Specifies the attributes, spatial, temporal, and top
|
|
@@ -2092,6 +2097,7 @@ export abstract class __FeatureLayerSansType extends FeatureLayerSuperclass {
|
|
|
2092
2097
|
* > [!WARNING]
|
|
2093
2098
|
* >
|
|
2094
2099
|
* > **Known Limitations**
|
|
2100
|
+
* >
|
|
2095
2101
|
* > Currently, the `queryTopObjectIds` is only supported with server-side [FeatureLayers](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html).
|
|
2096
2102
|
*
|
|
2097
2103
|
* @param topFeaturesQuery - Specifies the attributes, spatial, temporal, and top
|
package/layers/GeoJSONLayer.d.ts
CHANGED
|
@@ -1547,6 +1547,7 @@ export default class GeoJSONLayer extends GeoJSONLayerSuperclass {
|
|
|
1547
1547
|
* > [!WARNING]
|
|
1548
1548
|
* >
|
|
1549
1549
|
* > **Notes**
|
|
1550
|
+
* >
|
|
1550
1551
|
* > The `queryAttributeBins()` method is unrelated to querying bins in [FeatureReductionBinning](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FeatureReductionBinning.html).
|
|
1551
1552
|
*
|
|
1552
1553
|
* @param binsQuery - Specifies the parameters of the `queryAttributeBins()` operation. The [AttributeBinsQuery#binParameters](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-AttributeBinsQuery.html#binParameters) property must be set.
|
package/layers/Layer.d.ts
CHANGED
|
@@ -256,6 +256,7 @@ export default abstract class Layer extends LayerSuperclass {
|
|
|
256
256
|
* > [!CAUTION]
|
|
257
257
|
* >
|
|
258
258
|
* > **Known Limitations**
|
|
259
|
+
* >
|
|
259
260
|
* > - This method does not currently work with [OGCFeatureServer portal items](https://developers.arcgis.com/rest/users-groups-and-items/items-and-item-types/#layers).
|
|
260
261
|
*
|
|
261
262
|
* @param params - The parameters for loading the portal item.
|
|
@@ -265,7 +265,7 @@ export default class LinkChartLayer extends LinkChartLayerSuperclass {
|
|
|
265
265
|
* that allows it to be rendered as a [Graphic](https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html) with spatial context on the [View](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html).
|
|
266
266
|
* In `GEOGRAPHIC` layout mode, any spatial entities with [Geometry](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Geometry.html) will be drawn at their appropriate locations.
|
|
267
267
|
* All non-spatial entities will be arrayed around the spatial entities they relate to.
|
|
268
|
-
* In all other layouts, the geometry for each entity is its location on the link chart
|
|
268
|
+
* In all other layouts, the geometry for each entity is its location on the link chart.
|
|
269
269
|
* The location of specific instances can be set so that when the layout mode changes or the link chart is reloaded, they remain in the same
|
|
270
270
|
* spot.
|
|
271
271
|
*
|
|
@@ -308,7 +308,7 @@ export default class LinkChartLayer extends LinkChartLayerSuperclass {
|
|
|
308
308
|
accessor title: string | null | undefined;
|
|
309
309
|
/** The url of the [knowledge graph service](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-knowledgeGraphService.html). */
|
|
310
310
|
accessor url: string;
|
|
311
|
-
/** Calculates the layout for the link chart and refreshes the
|
|
311
|
+
/** Calculates the layout for the link chart and refreshes the link chart with the new layout. */
|
|
312
312
|
applyNewLinkChartLayout(): Promise<void>;
|
|
313
313
|
/**
|
|
314
314
|
* Loads layer assuming that data for all of the members defined in the [initializationInclusionModeDefinition](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-LinkChartLayer.html#initializationInclusionModeDefinition) is already loaded into local storage.
|
package/layers/MediaLayer.d.ts
CHANGED
|
@@ -75,6 +75,7 @@ export interface MediaLayerProperties extends LayerProperties, PortalLayerProper
|
|
|
75
75
|
* > [!WARNING]
|
|
76
76
|
* >
|
|
77
77
|
* > **Notes**
|
|
78
|
+
* >
|
|
78
79
|
* > Limitations on image size depend on the specific machine's GPU. The safest maximum image size is 2048 x 2048 pixels. The larger the image size, the longer it will take to be fetched and displayed. Due to WebGL limitations, the image can become so large that it may not be displayed.
|
|
79
80
|
* > The [blendMode](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-MediaLayer.html#blendMode) and [effect](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-MediaLayer.html#effect) properties are not supported in 3D [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html).
|
|
80
81
|
* > Elements have an implicit [elevation mode](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GraphicsLayer.html#elevationInfo) of `"on-the-ground"` in 3D [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html). Any z-values of the georeference are ignored.
|
|
@@ -147,6 +147,7 @@ export interface OGCFeatureLayerProperties extends LayerProperties, RefreshableL
|
|
|
147
147
|
* > [!WARNING]
|
|
148
148
|
* >
|
|
149
149
|
* > **Known Limitations**
|
|
150
|
+
* >
|
|
150
151
|
* > OGCFeatureLayer only supports collection items encoded in [GeoJSON](https://geojson.org).
|
|
151
152
|
* > A layer will not load if the server's [conformance](https://docs.opengeospatial.org/is/17-069r3/17-069r3.html#_declaration_of_conformance_classes)
|
|
152
153
|
* > declaration does not include GeoJSON support. For a detailed explanation on Esri's support for GeoJSON
|
package/layers/ParquetLayer.d.ts
CHANGED
|
@@ -52,6 +52,7 @@ export interface ParquetLayerProperties extends LayerProperties, CustomParameter
|
|
|
52
52
|
* > [!WARNING]
|
|
53
53
|
* >
|
|
54
54
|
* > **Notes**
|
|
55
|
+
* >
|
|
55
56
|
* > The ParquetLayer does not support the `date` and `group type` field types.
|
|
56
57
|
* > For details on how `big-integer` fields are handled, refer to the [big-integer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Field.html#type) documentation.
|
|
57
58
|
*
|
|
@@ -149,6 +150,7 @@ export interface ParquetLayerProperties extends LayerProperties, CustomParameter
|
|
|
149
150
|
* > [!WARNING]
|
|
150
151
|
* >
|
|
151
152
|
* > **Notes**
|
|
153
|
+
* >
|
|
152
154
|
* > The ParquetLayer's [popupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ParquetLayer.html#popupTemplate) displays only the attributes of the topmost feature when features overlap.
|
|
153
155
|
*
|
|
154
156
|
* @see [createPopupTemplate()](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ParquetLayer.html#createPopupTemplate)
|
|
@@ -259,6 +261,7 @@ export interface ParquetLayerProperties extends LayerProperties, CustomParameter
|
|
|
259
261
|
* > [!WARNING]
|
|
260
262
|
* >
|
|
261
263
|
* > **Known Limitations**
|
|
264
|
+
* >
|
|
262
265
|
* > The ParquetLayer is supported in a [Map component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/) or a [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html).
|
|
263
266
|
* > The ParquetLayer only supports geographic (WGS84) and Web Mercator spatial references.
|
|
264
267
|
* > Time and date fields may be downgraded to numeric values.
|
|
@@ -295,6 +298,7 @@ export default class ParquetLayer extends ParquetLayerSuperclass {
|
|
|
295
298
|
* > [!WARNING]
|
|
296
299
|
* >
|
|
297
300
|
* > **Notes**
|
|
301
|
+
* >
|
|
298
302
|
* > The ParquetLayer does not support the `date` and `group type` field types.
|
|
299
303
|
* > For details on how `big-integer` fields are handled, refer to the [big-integer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Field.html#type) documentation.
|
|
300
304
|
*
|
|
@@ -474,6 +478,7 @@ export default class ParquetLayer extends ParquetLayerSuperclass {
|
|
|
474
478
|
* > [!WARNING]
|
|
475
479
|
* >
|
|
476
480
|
* > **Notes**
|
|
481
|
+
* >
|
|
477
482
|
* > The ParquetLayer's [popupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ParquetLayer.html#popupTemplate) displays only the attributes of the topmost feature when features overlap.
|
|
478
483
|
*
|
|
479
484
|
* @see [createPopupTemplate()](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ParquetLayer.html#createPopupTemplate)
|
|
@@ -528,6 +533,7 @@ export default class ParquetLayer extends ParquetLayerSuperclass {
|
|
|
528
533
|
* > [!WARNING]
|
|
529
534
|
* >
|
|
530
535
|
* > **Notes**
|
|
536
|
+
* >
|
|
531
537
|
* > The ParquetLayer's [popupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ParquetLayer.html#popupTemplate) displays only the attributes of the topmost feature when features overlap.
|
|
532
538
|
*
|
|
533
539
|
* @param options - Options for creating the popup template.
|
|
@@ -345,6 +345,7 @@ export default class SubtypeGroupLayer extends SubtypeGroupLayerSuperclass {
|
|
|
345
345
|
* > [!WARNING]
|
|
346
346
|
* >
|
|
347
347
|
* > **Notes**
|
|
348
|
+
* >
|
|
348
349
|
* > FeatureLayers are not optimized for high-frequency, dynamic data, or real-time streaming use cases. As a result, they may not perform efficiently with rapidly updating data streams.
|
|
349
350
|
* > For real-time or dynamic data updates, use [StreamLayers](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-StreamLayer.html), which are designed for efficient handling of high-frequency streaming data and dynamic features.
|
|
350
351
|
* >
|
package/layers/WFSLayer.d.ts
CHANGED
|
@@ -666,6 +666,7 @@ export default class WFSLayer extends WFSLayerSuperclass {
|
|
|
666
666
|
* > [!WARNING]
|
|
667
667
|
* >
|
|
668
668
|
* > **Notes**
|
|
669
|
+
* >
|
|
669
670
|
* > The `queryAttributeBins()` method is unrelated to querying bins in [FeatureReductionBinning](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FeatureReductionBinning.html).
|
|
670
671
|
*
|
|
671
672
|
* @param binsQuery - Specifies the parameters of the `queryAttributeBins()` operation. The [AttributeBinsQuery#binParameters](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-AttributeBinsQuery.html#binParameters) property must be set.
|
|
@@ -524,6 +524,7 @@ export default class CatalogFootprintLayer extends CatalogFootprintLayerSupercla
|
|
|
524
524
|
* > [!WARNING]
|
|
525
525
|
* >
|
|
526
526
|
* > **Notes**
|
|
527
|
+
* >
|
|
527
528
|
* > The `queryAttributeBins()` method is unrelated to querying bins in [FeatureReductionBinning](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FeatureReductionBinning.html).
|
|
528
529
|
*
|
|
529
530
|
* @param binsQuery - Specifies the parameters of the `queryAttributeBins()` operation. The [AttributeBinsQuery#binParameters](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-AttributeBinsQuery.html#binParameters) property must be set.
|
|
@@ -199,6 +199,7 @@ export abstract class BlendLayer {
|
|
|
199
199
|
* effect to the layer's `effect` property as a string or an array of objects to set scale dependent effects.
|
|
200
200
|
*
|
|
201
201
|
* > **Notes**
|
|
202
|
+
* >
|
|
202
203
|
* > Set [featureEffect](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-mixins-FeatureEffectLayer.html#featureEffect) property on a layer if different effects need to be applied features that meet or fail a
|
|
203
204
|
* > specified [filter](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FeatureEffect.html#filter).
|
|
204
205
|
* > If all of the following four properties are applied, then they will be applied in this order: [featureEffect](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-mixins-FeatureEffectLayer.html#featureEffect),
|
|
@@ -11,6 +11,7 @@ export interface FeatureEffectLayerProperties {
|
|
|
11
11
|
* are applied to those features that respectively pass or fail the filter requirements.
|
|
12
12
|
*
|
|
13
13
|
* > **Notes**
|
|
14
|
+
* >
|
|
14
15
|
* > - Set the [effect](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-mixins-BlendLayer.html#effect) property if the effect needs to be applied to the entire layer.
|
|
15
16
|
* > - If the `featureEffect` is set on the layer, it will be inherited by `layerView.featureEffect` unless the developer overrides it on the layer view. The `layerView.featureEffect`
|
|
16
17
|
* > will take precedence over `layer.featureEffect` if both properties are set.
|
|
@@ -75,6 +76,7 @@ export abstract class FeatureEffectLayer {
|
|
|
75
76
|
* are applied to those features that respectively pass or fail the filter requirements.
|
|
76
77
|
*
|
|
77
78
|
* > **Notes**
|
|
79
|
+
* >
|
|
78
80
|
* > - Set the [effect](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-mixins-BlendLayer.html#effect) property if the effect needs to be applied to the entire layer.
|
|
79
81
|
* > - If the `featureEffect` is set on the layer, it will be inherited by `layerView.featureEffect` unless the developer overrides it on the layer view. The `layerView.featureEffect`
|
|
80
82
|
* > will take precedence over `layer.featureEffect` if both properties are set.
|
|
@@ -35,46 +35,4 @@ export abstract class ScaleRangeLayer {
|
|
|
35
35
|
* layer.minScale = 0;
|
|
36
36
|
*/
|
|
37
37
|
accessor minScale: number;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export interface RecommendedScales {
|
|
41
|
-
/** @default 1250 */
|
|
42
|
-
building: 1250;
|
|
43
|
-
/** @default 2500 */
|
|
44
|
-
buildings: 2500;
|
|
45
|
-
/** @default 160000 */
|
|
46
|
-
cities: 160000;
|
|
47
|
-
/** @default 80000 */
|
|
48
|
-
city: 80000;
|
|
49
|
-
/** @default 50000000 */
|
|
50
|
-
continent: 50000000;
|
|
51
|
-
/** @default 1500000 */
|
|
52
|
-
counties: 1500000;
|
|
53
|
-
/** @default 25000000 */
|
|
54
|
-
countriesBig: 25000000;
|
|
55
|
-
/** @default 12000000 */
|
|
56
|
-
countriesSmall: 12000000;
|
|
57
|
-
/** @default 750000 */
|
|
58
|
-
county: 750000;
|
|
59
|
-
/** @default 320000 */
|
|
60
|
-
metropolitanArea: 320000;
|
|
61
|
-
/** @default 20000 */
|
|
62
|
-
neighborhood: 20000;
|
|
63
|
-
/** @default 100 */
|
|
64
|
-
room: 100;
|
|
65
|
-
/** @default 400 */
|
|
66
|
-
rooms: 400;
|
|
67
|
-
/** @default 800 */
|
|
68
|
-
smallBuilding: 800;
|
|
69
|
-
/** @default 3000000 */
|
|
70
|
-
stateProvince: 3000000;
|
|
71
|
-
/** @default 6000000 */
|
|
72
|
-
statesProvinces: 6000000;
|
|
73
|
-
/** @default 5000 */
|
|
74
|
-
street: 5000;
|
|
75
|
-
/** @default 10000 */
|
|
76
|
-
streets: 10000;
|
|
77
|
-
/** @default 40000 */
|
|
78
|
-
town: 40000;
|
|
79
|
-
world: 147914382;
|
|
80
38
|
}
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import e from"../../../geometry/Point.js";import n from"./EphemeralBlockCache.js";import{projectExtent as t,projectResolution as o,snapPyramid as l}from"../functions/rasterProjectionHelper.js";const r=new Map,c=new n;function i(e,n,t){const o=[];return null!=n&&o.push(`sliceId=${n}`),null!=t&&o.push(`bandIds=${t.join(",")}`),o.length?`${e}?${o.join("&")}`:e}function u(e,n){const t={extent:null,rasterInfo:n,cache:new Map},o=r.get(e);return o?(o.push(t),o.length-1):(r.set(e,[t]),0)}function a(e,n){const t=r.get(e);t&&(t[n]=null,t.some(e=>null!=e)||r.delete(e))}function f(e){r.delete(e)}function s(e,n,t){const o=r.get(e);if(!o)return null==n?c.decreaseRefCount(e,t):0;if(null==n||null==o[n])return c.decreaseRefCount(e,t);const l=o[n]?.cache,i=l?.get(t);if(l&&i){if(i.refCount--,0===i.refCount){l.delete(t);for(let e=0;e<o.length;e++)o[e]?.cache.delete(t);i.controller&&i.controller.abort()}return i.refCount}return 0}function m(e,n,t){const o=r.get(e);if(!o)return null==n?c.getBlock(e,t):null;if(null==n||null==o[n]){for(let e=0;e<o.length;e++){const n=o[e]?.cache.get(t);if(n)return n.refCount++,n.block}return c.getBlock(e,t)}const l=o[n]?.cache.get(t);if(l)return l.refCount++,l.block;for(let r=0;r<o.length;r++){if(r===n||!o[r])continue;const e=o[r]?.cache,l=e?.get(t);if(e&&l)return l.refCount++,e.set(t,l),l.block}return null}function h(e,n,t,o,l=null){const i=r.get(e);if(!i)return void(null==n&&c.putBlock(e,t,o,l));if(null==n||null==i[n])return void c.putBlock(e,t,o,l);const u={refCount:1,block:o,isResolved:!1,isRejected:!1,controller:l};o.then(()=>u.isResolved=!0).catch(()=>u.isRejected=!0),i[n]?.cache.set(t,u)}function x(e,n,t){const o=r.get(e);o?null!=n&&null!=o[n]?o[n]?.cache.delete(t):c.deleteBlock(e,t):null==n&&c.deleteBlock(e,t)}function d(e,n){const t=r.get(e);return t?t[n]??null:null}function g(n,r,c,i,u,a,f=null){const s=d(n,r);if(!s)return;const m=s.extent,{cache:h,rasterInfo:x}=s;if(m
|
|
5
|
+
import e from"../../../geometry/Point.js";import n from"./EphemeralBlockCache.js";import{projectExtent as t,projectResolution as o,snapPyramid as l}from"../functions/rasterProjectionHelper.js";const r=new Map,c=new n;function i(e,n,t){const o=[];return null!=n&&o.push(`sliceId=${n}`),null!=t&&o.push(`bandIds=${t.join(",")}`),o.length?`${e}?${o.join("&")}`:e}function u(e,n){const t={extent:null,rasterInfo:n,cache:new Map},o=r.get(e);return o?(o.push(t),o.length-1):(r.set(e,[t]),0)}function a(e,n){const t=r.get(e);t&&(t[n]=null,t.some(e=>null!=e)||r.delete(e))}function f(e){r.delete(e)}function s(e,n,t){const o=r.get(e);if(!o)return null==n?c.decreaseRefCount(e,t):0;if(null==n||null==o[n])return c.decreaseRefCount(e,t);const l=o[n]?.cache,i=l?.get(t);if(l&&i){if(i.refCount--,0===i.refCount){l.delete(t);for(let e=0;e<o.length;e++)o[e]?.cache.delete(t);i.controller&&i.controller.abort()}return i.refCount}return 0}function m(e,n,t){const o=r.get(e);if(!o)return null==n?c.getBlock(e,t):null;if(null==n||null==o[n]){for(let e=0;e<o.length;e++){const n=o[e]?.cache.get(t);if(n)return n.refCount++,n.block}return c.getBlock(e,t)}const l=o[n]?.cache.get(t);if(l)return l.refCount++,l.block;for(let r=0;r<o.length;r++){if(r===n||!o[r])continue;const e=o[r]?.cache,l=e?.get(t);if(e&&l)return l.refCount++,e.set(t,l),l.block}return null}function h(e,n,t,o,l=null){const i=r.get(e);if(!i)return void(null==n&&c.putBlock(e,t,o,l));if(null==n||null==i[n])return void c.putBlock(e,t,o,l);const u={refCount:1,block:o,isResolved:!1,isRejected:!1,controller:l};o.then(()=>u.isResolved=!0).catch(()=>u.isRejected=!0),i[n]?.cache.set(t,u)}function x(e,n,t){const o=r.get(e);o?null!=n&&null!=o[n]?o[n]?.cache.delete(t):c.deleteBlock(e,t):null==n&&c.deleteBlock(e,t)}function d(e,n){const t=r.get(e);return t?t[n]??null:null}function g(n,r,c,i,u,a,f=null){const s=d(n,r);if(!s)return;const m=s.extent,{cache:h,rasterInfo:x}=s;if(m?.xmin===c.xmin&&m.xmax===c.xmax&&m.ymin===c.ymin&&m.ymax===c.ymax)return;i=i??0;const g=c.clone().normalize(),{spatialReference:p,transform:y}=x,k=new Set;for(let d=0;d<g.length;d++){const n=g[d];if(n.xmax-n.xmin<=i||n.ymax-n.ymin<=i)continue;let r=t(n,p,f);if(null==r)continue;if(null!=y&&(r=y.inverseTransform(r),null==r))continue;const c=new e({x:i,y:i,spatialReference:n.spatialReference});if(null==u&&!(u=o(c,p,n,f)))return;const{pyramidLevel:s,pyramidResolution:m,excessiveReading:h}=l(u,x,a||"closest");if(h)return;const{storageInfo:M}=x,{origin:R}=M,{x:C,y:B}=m,b=Math.max(0,Math.floor((r.xmin-R.x)/C)),j=Math.max(0,Math.floor((R.y-r.ymax)/B)),v=Math.ceil(r.width/C-.1),w=Math.ceil(r.height/B-.1),$=s>0?M.pyramidBlockWidth:M.blockWidth,I=s>0?M.pyramidBlockHeight:M.blockHeight,H=M.blockBoundary[s];if(!H)continue;const E=1,P=Math.max(H.minCol,Math.floor(b/$)-E),W=Math.max(H.minRow,Math.floor(j/I)-E),z=Math.min(H.maxCol,Math.floor((b+v-1)/$)+E),L=Math.min(H.maxRow,Math.floor((j+w-1)/I)+E);for(let e=W;e<=L;e++)for(let n=P;n<=z;n++)k.add(`${s}/${e}/${n}`)}h.forEach((e,n)=>{if(!k.has(n)){const e=h.get(n);(null==e||e.isResolved||e.isRejected)&&h.delete(n)}}),s.extent={xmin:c.xmin,ymin:c.ymin,xmax:c.xmax,ymax:c.ymax}}export{s as decreaseRefCount,x as deleteBlock,f as deleteRaster,m as getBlock,i as getRasterId,h as putBlock,u as register,a as unregister,g as update};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{__decorate as t}from"tslib";import{property as e,subclass as s}from"../../../core/accessorSupport/decorators.js";import{getPixelValueRange as r}from"../formats/pixelRangeUtils.js";import o from"./BaseRasterFunction.js";import{spectralConversion as n}from"./conversionUtils.js";import i from"./SpectralConversionFunctionArguments.js";let u=class extends o{constructor(){super(...arguments),this.functionName="SpectralConversion",this.functionArguments=null,this.rasterArgumentNames=["raster"]}_bindSourceRasters(){const t=this.sourceRasterInfos[0].clone();
|
|
5
|
+
import{__decorate as t}from"tslib";import{property as e,subclass as s}from"../../../core/accessorSupport/decorators.js";import{getPixelValueRange as r}from"../formats/pixelRangeUtils.js";import o from"./BaseRasterFunction.js";import{spectralConversion as n}from"./conversionUtils.js";import i from"./SpectralConversionFunctionArguments.js";let u=class extends o{constructor(){super(...arguments),this.functionName="SpectralConversion",this.functionArguments=null,this.rasterArgumentNames=["raster"]}_bindSourceRasters(){const t=this.sourceRasterInfos[0].clone();this.outputPixelType=this._getOutputPixelType(t.pixelType),t.pixelType=this.outputPixelType,this._removeStatsHistColormapVAT(t),this.rasterInfo=t;return{success:!0,supportsGPU:3===t.bandCount&&9===this.functionArguments.conversionMatrix.length}}_processPixels(t){const e=t.pixelBlocks?.[0];return null==e?null:n(e,this.functionArguments.conversionMatrix,this.outputPixelType)}_getWebGLParameters(){const t=r(this.outputPixelType),[e,s,o,n,i,u,p,c,a]=this.functionArguments.conversionMatrix;return{weights:[e,n,p,s,i,c,o,u,a],clampRange:t}}};t([e({json:{write:!0,name:"rasterFunction"}})],u.prototype,"functionName",void 0),t([e({type:i,json:{write:!0,name:"rasterFunctionArguments"}})],u.prototype,"functionArguments",void 0),t([e()],u.prototype,"rasterArgumentNames",void 0),u=t([s("esri.layers.raster.functions.SpectralConversionFunction")],u);const p=u;export{p as default};
|
|
@@ -98,6 +98,7 @@ export interface FeatureFilterProperties extends Partial<Pick<FeatureFilter, "ob
|
|
|
98
98
|
* > [!WARNING]
|
|
99
99
|
* >
|
|
100
100
|
* > **Notes**
|
|
101
|
+
* >
|
|
101
102
|
* > The temporal filter can only be applied to a layer view if its layer has [TimeInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-TimeInfo.html).
|
|
102
103
|
*/
|
|
103
104
|
timeExtent?: QueryProperties["timeExtent"];
|
|
@@ -117,6 +118,7 @@ export interface FeatureFilterProperties extends Partial<Pick<FeatureFilter, "ob
|
|
|
117
118
|
* > [!WARNING]
|
|
118
119
|
* >
|
|
119
120
|
* > **Notes**
|
|
121
|
+
* >
|
|
120
122
|
* > Attribute values are case sensitive.
|
|
121
123
|
*
|
|
122
124
|
* @see [Sample - Filter features by attributes](https://developers.arcgis.com/javascript/latest/sample-code/featurefilter-attributes/)
|
|
@@ -279,6 +281,7 @@ export default class FeatureFilter extends JSONSupport {
|
|
|
279
281
|
* > [!WARNING]
|
|
280
282
|
* >
|
|
281
283
|
* > **Notes**
|
|
284
|
+
* >
|
|
282
285
|
* > The temporal filter can only be applied to a layer view if its layer has [TimeInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-TimeInfo.html).
|
|
283
286
|
*/
|
|
284
287
|
get timeExtent(): Query["timeExtent"];
|
|
@@ -300,6 +303,7 @@ export default class FeatureFilter extends JSONSupport {
|
|
|
300
303
|
* > [!WARNING]
|
|
301
304
|
* >
|
|
302
305
|
* > **Notes**
|
|
306
|
+
* >
|
|
303
307
|
* > Attribute values are case sensitive.
|
|
304
308
|
*
|
|
305
309
|
* @see [Sample - Filter features by attributes](https://developers.arcgis.com/javascript/latest/sample-code/featurefilter-attributes/)
|