@arcgis/core 5.0.0-next.73 → 5.0.0-next.74
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/WebDocument2D.d.ts +5 -30
- package/analysis/ElevationProfile/ElevationProfileLineQuery.d.ts +1 -1
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/0b666327e8090a6e6f6a.js +1 -0
- package/assets/esri/core/workers/chunks/16a7edb381621085a631.js +1 -0
- package/assets/esri/core/workers/chunks/{e246b256347a281c13fd.js → 22288b62da20a7a78a4f.js} +1 -1
- package/assets/esri/core/workers/chunks/{7e37a3005f2ad2c0a918.js → 23cf4cbc389d2b50e968.js} +1 -1
- package/assets/esri/core/workers/chunks/{935a6dccb88557f98189.js → 2a2f33df530b61e3a43f.js} +7 -5
- package/assets/esri/core/workers/chunks/4750f55a289bc0cf3d77.js +1 -0
- package/assets/esri/core/workers/chunks/a5181292b309b8249bd8.js +1 -0
- package/assets/esri/core/workers/chunks/ae733ee050f27f7d8924.js +1 -0
- package/assets/esri/core/workers/chunks/{64985e9b6e2edb3ceb37.js → b498db9715a722c52995.js} +45 -58
- package/assets/esri/core/workers/chunks/befeca51530bba5e8073.js +1 -0
- package/assets/esri/core/workers/chunks/cd788ed111e1e35cf9c8.js +1 -0
- package/assets/esri/core/workers/chunks/f35021214e534d5e0446.js +1 -0
- package/assets/esri/themes/base/widgets/_FeatureTable.scss +99 -22
- package/assets/esri/themes/dark/main.css +1 -1
- package/assets/esri/themes/light/main.css +1 -1
- package/assets/esri/themes/light/view.css +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_en.json +1 -1
- package/chunks/ComponentShader.glsl.js +1 -1
- package/chunks/GlowBlur.glsl.js +2 -3
- package/chunks/HUDMaterial.glsl.js +43 -56
- package/config.d.ts +6 -8
- package/config.js +1 -1
- package/core/Collection.d.ts +27 -1
- package/core/types.d.ts +0 -23
- package/geometry/support/MeshTexture.d.ts +0 -2
- package/geometry/support/MeshVertexAttributes.d.ts +0 -2
- package/identity/IdentityManagerBase.d.ts +3 -6
- package/interfaces.d.ts +3 -3
- package/kernel.js +1 -1
- package/layers/BaseDynamicLayer.d.ts +1 -4
- package/layers/BaseElevationLayer.d.ts +3 -6
- package/layers/BuildingSceneLayer.d.ts +1 -4
- package/layers/CSVLayer.d.ts +1 -4
- package/layers/CatalogLayer.d.ts +1 -4
- package/layers/DimensionLayer.d.ts +1 -4
- package/layers/ElevationLayer.d.ts +3 -6
- package/layers/FeatureLayer.d.ts +1 -4
- package/layers/GaussianSplatLayer.d.ts +0 -1
- package/layers/GeoJSONLayer.d.ts +1 -4
- package/layers/GeoRSSLayer.d.ts +1 -4
- package/layers/GraphicsLayer.d.ts +1 -4
- package/layers/GroupLayer.d.ts +1 -4
- package/layers/ImageryLayer.d.ts +1 -4
- package/layers/ImageryTileLayer.d.ts +1 -4
- package/layers/IntegratedMesh3DTilesLayer.d.ts +1 -4
- package/layers/IntegratedMeshLayer.d.ts +1 -4
- package/layers/KMLLayer.d.ts +1 -4
- package/layers/Layer.d.ts +2 -6
- package/layers/LineOfSightLayer.d.ts +1 -4
- package/layers/MapImageLayer.d.ts +1 -4
- package/layers/MapNotesLayer.d.ts +1 -4
- package/layers/MediaLayer.d.ts +1 -4
- package/layers/OGCFeatureLayer.d.ts +1 -4
- package/layers/OrientedImageryLayer.d.ts +1 -4
- package/layers/ParquetLayer.d.ts +1 -4
- package/layers/PointCloudLayer.d.ts +1 -4
- package/layers/RouteLayer.d.ts +2 -5
- package/layers/SceneLayer.d.ts +1 -4
- package/layers/SubtypeGroupLayer.d.ts +1 -12
- package/layers/TileLayer.d.ts +1 -4
- package/layers/UnknownLayer.d.ts +1 -4
- package/layers/UnsupportedLayer.d.ts +1 -4
- package/layers/VectorTileLayer.d.ts +1 -4
- package/layers/VideoLayer.d.ts +1 -4
- package/layers/ViewshedLayer.d.ts +1 -4
- package/layers/VoxelLayer.d.ts +1 -4
- package/layers/WCSLayer.d.ts +1 -4
- package/layers/WFSLayer.d.ts +1 -4
- package/layers/WMSLayer.d.ts +1 -4
- package/layers/WMTSLayer.d.ts +1 -4
- package/layers/catalog/CatalogDynamicGroupLayer.d.ts +1 -4
- package/layers/catalog/CatalogFootprintLayer.d.ts +1 -4
- package/layers/knowledgeGraph/KnowledgeGraphSublayer.d.ts +1 -6
- package/layers/mixins/EditBusLayer.d.ts +0 -1
- package/layers/support/FeatureFilter.d.ts +0 -1
- package/layers/support/MosaicRule.d.ts +0 -4
- package/layers/support/types.d.ts +2 -2
- package/layers/types.d.ts +19 -6
- package/package.json +1 -1
- package/portal/PortalUser.d.ts +1 -1
- package/renderers/support/RendererLegendOptions.d.ts +0 -1
- package/request/types.d.ts +0 -1
- package/rest/support/NormalizationBinParametersMixin.d.ts +18 -20
- package/rest/support/PrintTemplate.d.ts +0 -1
- package/rest/support/RelationshipQuery.d.ts +1 -10
- package/rest/support/types.d.ts +29 -3
- package/smartMapping/heuristics/binLevel.d.ts +1 -1
- package/smartMapping/heuristics/scaleRange.d.ts +1 -1
- package/smartMapping/heuristics/sizeRange.d.ts +1 -1
- package/smartMapping/heuristics/types.d.ts +0 -2
- package/smartMapping/labels/bins.d.ts +1 -1
- package/smartMapping/labels/clusters.d.ts +1 -1
- package/smartMapping/popup/clusters.d.ts +1 -1
- package/smartMapping/popup/templates.d.ts +1 -1
- package/smartMapping/raster/renderers/classBreaks.d.ts +1 -1
- package/smartMapping/raster/renderers/colormap.d.ts +1 -1
- package/smartMapping/raster/renderers/flow.d.ts +0 -1
- package/smartMapping/raster/renderers/rgb.d.ts +1 -1
- package/smartMapping/raster/renderers/shadedRelief.d.ts +0 -1
- package/smartMapping/raster/renderers/stretch.d.ts +1 -1
- package/smartMapping/raster/renderers/uniqueValue.d.ts +0 -1
- package/smartMapping/raster/renderers/vectorField.d.ts +0 -1
- package/smartMapping/raster/support/utils.d.ts +0 -2
- package/smartMapping/renderers/color.d.ts +6 -6
- package/smartMapping/renderers/dotDensity.d.ts +0 -1
- package/smartMapping/renderers/heatmap.d.ts +1 -1
- package/smartMapping/renderers/location.d.ts +0 -1
- package/smartMapping/renderers/opacity.d.ts +1 -1
- package/smartMapping/renderers/pieChart.d.ts +0 -2
- package/smartMapping/renderers/predominance.d.ts +0 -1
- package/smartMapping/renderers/relationship.d.ts +0 -1
- package/smartMapping/renderers/size.d.ts +4 -6
- package/smartMapping/renderers/type.d.ts +9 -5
- package/smartMapping/renderers/univariateColorSize.d.ts +2 -2
- package/smartMapping/statistics/classBreaks.d.ts +1 -1
- package/smartMapping/statistics/heatmapStatistics.d.ts +1 -1
- package/smartMapping/statistics/histogram.d.ts +1 -1
- package/smartMapping/statistics/predominantCategories.d.ts +1 -1
- package/smartMapping/statistics/summaryStatistics.d.ts +1 -1
- package/smartMapping/statistics/summaryStatisticsForAge.d.ts +1 -1
- package/smartMapping/statistics/support/ageUtils.d.ts +1 -1
- package/smartMapping/statistics/types.d.ts +26 -8
- package/smartMapping/statistics/uniqueValues.d.ts +1 -1
- package/smartMapping/symbology/color.d.ts +4 -4
- package/smartMapping/symbology/dotDensity.d.ts +3 -3
- package/smartMapping/symbology/flow.d.ts +3 -3
- package/smartMapping/symbology/heatmap.d.ts +3 -3
- package/smartMapping/symbology/location.d.ts +1 -1
- package/smartMapping/symbology/pieChart.d.ts +3 -3
- package/smartMapping/symbology/predominance.d.ts +3 -3
- package/smartMapping/symbology/relationship.d.ts +3 -3
- package/smartMapping/symbology/size.d.ts +1 -1
- package/smartMapping/symbology/support/colorRamps.d.ts +1 -1
- package/smartMapping/symbology/type.d.ts +3 -3
- package/support/revision.js +1 -1
- package/symbols/cim/types.d.ts +0 -12
- package/symbols/support/symbolUtils.d.ts +1 -1
- package/views/2d/MapViewConstraints.d.ts +2 -10
- package/views/2d/engine/brushes.js +1 -1
- package/views/2d/engine/vectorTiles/GlyphMosaic.js +1 -1
- package/views/2d/engine/vectorTiles/MemoryBuffer.js +1 -1
- package/views/2d/engine/vectorTiles/RenderBucket.js +1 -1
- package/views/2d/engine/vectorTiles/SpriteMosaic.js +1 -1
- package/views/2d/engine/vectorTiles/VTLPainter3D.js +1 -1
- package/views/2d/engine/vectorTiles/VectorTileContainer.js +1 -1
- package/views/2d/engine/vectorTiles/VertexMemoryBuffer.js +1 -1
- package/views/2d/engine/vectorTiles/shaders/VTLBackgroundMaterial.js +1 -1
- package/views/2d/engine/vectorTiles/shaders/VTLCircleMaterial.js +1 -1
- package/views/2d/engine/vectorTiles/shaders/VTLFillMaterial.js +1 -1
- package/views/2d/engine/vectorTiles/shaders/VTLLineMaterial.js +1 -1
- package/views/2d/engine/vectorTiles/shaders/VTLMaterial.js +1 -1
- package/views/2d/engine/vectorTiles/shaders/VTLSymbolMaterial.js +1 -1
- package/views/2d/engine/vectorTiles/style/StyleLayer.js +1 -1
- package/views/2d/engine/webgl/Painter.js +1 -1
- package/views/2d/engine/webgl/RenderingDevice.js +5 -0
- package/views/2d/engine/webgl/WGLContainer.js +1 -1
- package/views/2d/engine/webgl/meshing/Mesh.js +1 -1
- package/views/2d/engine/webgl/number.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/graph/glsl.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/vector-tiles/VTLShaderBackground.js +5 -0
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/vector-tiles/VTLShaderCircle.js +5 -0
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/vector-tiles/VTLShaderFill.js +5 -0
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/vector-tiles/VTLShaderIcon.js +5 -0
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/vector-tiles/VTLShaderLine.js +5 -0
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/vector-tiles/VTLShaderOutline.js +5 -0
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/vector-tiles/VTLShaderText.js +5 -0
- package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueBackground.js +5 -0
- package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueCircle.js +5 -0
- package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueFill.js +5 -0
- package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueLine.js +5 -0
- package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueSymbol.js +5 -0
- package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniques.js +5 -0
- package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
- package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
- package/views/3d/layers/graphics/Graphics3DIconSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DTextSymbolLayer.js +1 -1
- package/views/3d/layers/i3s/meshUtils.js +1 -1
- package/views/3d/state/NearFarHeuristic.js +1 -1
- package/views/3d/webgl-engine/collections/Component/ComponentObjectCollection.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentData.glsl.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/attributes/VertexNormal.glsl.js +6 -4
- package/views/3d/webgl-engine/core/shaderLibrary/attributes/VertexPosition.glsl.js +18 -14
- package/views/3d/webgl-engine/effects/glow/GlowBlur.glsl.js +1 -1
- package/views/3d/webgl-engine/effects/glow/GlowRenderNode.js +1 -1
- package/views/3d/webgl-engine/lib/edgeRendering/EdgeShaderTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/materials/HUDMaterial.js +1 -1
- package/views/3d/webgl-engine/shaders/HUDMaterial.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/HUDMaterialTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/shaders/sources/edgeRenderer/EdgeUtil.glsl.js +23 -20
- package/views/BreakpointsOwner.d.ts +2 -2
- package/views/LinkChartView.d.ts +0 -2
- package/views/View2D.d.ts +3 -15
- package/views/input/types.d.ts +2 -13
- package/views/layers/BuildingComponentSublayerView.d.ts +0 -1
- package/views/types.d.ts +2 -9
- package/views/webgl/VertexArrayObject.js +1 -1
- package/webdoc/ips/SmoothingProperties.d.ts +1 -1
- package/webdoc/ips/SmoothingProperties.js +1 -1
- package/widgets/BasemapLayerList/BasemapLayerListVisibleElements.d.ts +10 -10
- package/widgets/BasemapLayerList/types.d.ts +6 -1
- package/widgets/Bookmarks/BookmarksVisibleElements.d.ts +0 -9
- package/widgets/Bookmarks/types.d.ts +0 -4
- package/widgets/CatalogLayerList/CatalogLayerListVisibleElements.d.ts +2 -2
- package/widgets/CatalogLayerList/types.d.ts +5 -1
- package/widgets/Editor/VisibleElements.d.ts +0 -11
- package/widgets/ElevationProfile/types.d.ts +1 -1
- package/widgets/FeatureTable/FeatureTableViewModel.js +1 -1
- package/widgets/FeatureTable/FieldColumn.d.ts +0 -1
- package/widgets/FeatureTable/VisibleElements.d.ts +2 -16
- package/widgets/FeatureTable/support/AttachmentsViewOptions.d.ts +5 -3
- package/widgets/FeatureTable/support/AttachmentsViewOptions.js +1 -1
- package/widgets/FeatureTable/support/FeatureStore.js +1 -1
- package/widgets/FeatureTable.js +1 -1
- package/widgets/Features/FeaturesViewModel.d.ts +3 -27
- package/widgets/Features/FeaturesVisibleElements.d.ts +4 -4
- package/widgets/LayerList/LayerListViewModel.d.ts +20 -5
- package/widgets/LayerList/LayerListVisibleElements.d.ts +10 -12
- package/widgets/LayerList/ListItem.d.ts +33 -0
- package/widgets/LayerList/ListItemPanel.d.ts +8 -2
- package/widgets/LayerList/types.d.ts +58 -15
- package/widgets/Popup/PopupVisibleElements.d.ts +6 -6
- package/widgets/Popup/types.d.ts +1 -1
- package/widgets/ScaleRangeSlider/ScaleRanges.d.ts +1 -1
- package/widgets/Sketch/CreateToolVisibilityMap.d.ts +0 -4
- package/widgets/Sketch/VisibleElements.d.ts +0 -2
- package/widgets/Sketch/types.d.ts +1 -1
- package/widgets/TableList/ListItemPanel.d.ts +8 -0
- package/widgets/TableList/TableListViewModel.d.ts +9 -14
- package/widgets/TableList/TableListVisibleElements.d.ts +9 -11
- package/widgets/TableList/types.d.ts +13 -7
- package/widgets/support/SnappingControls/VisibleElements.d.ts +0 -4
- package/widgets/types.d.ts +1 -9
- package/assets/esri/core/workers/chunks/1d8fc0239c907ff5d1e8.js +0 -1
- package/assets/esri/core/workers/chunks/562cddaf63985e53ee6e.js +0 -1
- package/assets/esri/core/workers/chunks/b899b4e7979c13b99526.js +0 -1
- package/assets/esri/core/workers/chunks/d0ae8752419d5b761190.js +0 -1
- package/assets/esri/core/workers/chunks/df2ba5f9d57080fca183.js +0 -1
- package/assets/esri/core/workers/chunks/ee175fd4ec706f7878c0.js +0 -1
- package/assets/esri/core/workers/chunks/fc00d7278b43df813c54.js +0 -1
- package/layers/mixins/ScaleRange.d.ts +0 -16
- package/views/2d/engine/vectorTiles/shaders/Programs.js +0 -5
- package/views/2d/engine/vectorTiles/shaders/VTLMaterialManager.js +0 -5
- package/views/2d/engine/vectorTiles/shaders/sources/resolver.js +0 -5
- package/views/2d/engine/vectorTiles/shaders/sources/shaderRepository.js +0 -5
- package/views/2d/engine/vtlBrushes.js +0 -5
- package/views/2d/engine/webgl/brushes/WGLBrushVTLBackground.js +0 -5
- package/views/2d/engine/webgl/brushes/WGLBrushVTLCircle.js +0 -5
- package/views/2d/engine/webgl/brushes/WGLBrushVTLFill.js +0 -5
- package/views/2d/engine/webgl/brushes/WGLBrushVTLLine.js +0 -5
- package/views/2d/engine/webgl/brushes/WGLBrushVTLSymbol.js +0 -5
- package/views/3d/webgl-engine/effects/glow/GlowPresets.glsl.js +0 -5
- package/widgets/FeatureTable/support/FeatureStore.d.ts +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"widgetLabel":"Feature table","header":"{title} (Total: {count} | Selection: {selected})","headerNoSelection":"{title} (Total: {count})","untitled":"Untitled","relatedRecords":"Related records","attachments":"Attachments","loading":"Loading...","syncing":"Syncing...","errorData":"Data error.","errorLayer":"Layer error.","errorUpdateFailed":"Update failed.","errorDomainType":"Domain type is not supported.","show":"Show","hide":"Hide","menu":"Menu","options":"Options","allColums":"All columns","sortAsc":"Sort ascending","sortDesc":"Sort descending","toggleColumns":"Show/hide columns","clearSelection":"Clear selection","centerOnSelection":"Center on selection","showSelected":"Show selection","filter":"Filter","addField":"Add field","refreshData":"Refresh data","date":"Date","number":"Number","string":"String","showAllRecords":"Show all","zoomToSelection":"Zoom to selection","deleteSelection":"Delete selection","deleteSelectionCount":"Delete selection: {count}","deleteRecordsRemoved":"These records will be permanently removed","keepRecords":"Keep records","recordsCount":"Records ({count})","noLayer":"No layer","exitRelatedRecords":"Exit related records","showAllTables":"Show all tables","selectALayer":"Select a layer","exportSelectionCSV":"Export selection to CSV","noValue":"No value","editingPreventedColumn":"Editing is prevented for cells in this column.","subtypes":{"changeWarning":"The subtype {newType} may have different default values from {originalType}. Keeping the current values may cause unexpected results.","changeWarningTitle":"Subtype changed","useDefaultValuesOption":"Use default values","keepCurrentValuesOption":"Keep current values","unsupportedDomainGroupTitle":"Unsupported","fieldOutOfSubtypeDomainWarning":"This field's value is out of range for its domain."},"addAttachment":"Add attachment","attachmentsCount":"Attachments ({count})","attachmentThumbnail":"Attachment thumbnail","deleteAttachment":"Delete attachment","deleteAttachmentConfirmation":"Are you sure you want to delete the attachments?","deleteAttachmentCount":"Delete attachments ({count})","downloadAttachment":"Download attachment","dragAndDropToUpload":"Drag and drop file to upload an attachment.","editingDisabled":"Editing is disabled","editingRestricted":"Editing is restricted","errorFileName":"Upload failed. File name is too long.","errorFileSize":"Upload failed. File size too large","errorFileUnsupported":"Upload failed. File type not supported","errorOccured":"An error occurred","exitAttachments":"Exit attachments view","fileName":"File name","noAttachments":"There are no attachments","noFeature":"No feature provided","replaceFile":"Replace file","scrollToFeature":"Scroll to feature","selectedCount":"Selected: {count}","selectFile":"Select file","size":"Size","updateAttachment":"Update attachment","viewAttachment":"View attachment","viewAttachments":"View attachments","
|
|
1
|
+
{"widgetLabel":"Feature table","header":"{title} (Total: {count} | Selection: {selected})","headerNoSelection":"{title} (Total: {count})","untitled":"Untitled","relatedRecords":"Related records","attachments":"Attachments","loading":"Loading...","syncing":"Syncing...","errorData":"Data error.","errorLayer":"Layer error.","errorUpdateFailed":"Update failed.","errorDomainType":"Domain type is not supported.","show":"Show","hide":"Hide","menu":"Menu","options":"Options","allColums":"All columns","sortAsc":"Sort ascending","sortDesc":"Sort descending","toggleColumns":"Show/hide columns","clearSelection":"Clear selection","centerOnSelection":"Center on selection","showSelected":"Show selection","filter":"Filter","addField":"Add field","refreshData":"Refresh data","date":"Date","number":"Number","string":"String","showAllRecords":"Show all","zoomToSelection":"Zoom to selection","deleteSelection":"Delete selection","deleteSelectionCount":"Delete selection: {count}","deleteRecordsRemoved":"These records will be permanently removed","keepRecords":"Keep records","recordsCount":"Records ({count})","noLayer":"No layer","exitRelatedRecords":"Exit related records","showAllTables":"Show all tables","selectALayer":"Select a layer","exportSelectionCSV":"Export selection to CSV","noValue":"No value","editingPreventedColumn":"Editing is prevented for cells in this column.","subtypes":{"changeWarning":"The subtype {newType} may have different default values from {originalType}. Keeping the current values may cause unexpected results.","changeWarningTitle":"Subtype changed","useDefaultValuesOption":"Use default values","keepCurrentValuesOption":"Keep current values","unsupportedDomainGroupTitle":"Unsupported","fieldOutOfSubtypeDomainWarning":"This field's value is out of range for its domain."},"addAttachment":"Add attachment","attachmentsCount":"Attachments ({count})","attachmentThumbnail":"Attachment thumbnail","attachmentType":"Attachment type","deleteAttachment":"Delete attachment","deleteAttachmentConfirmation":"Are you sure you want to delete the attachments?","deleteAttachmentCount":"Delete attachments ({count})","download":"Download","downloadAttachment":"Download attachment","dragAndDropToUpload":"Drag and drop file to upload an attachment.","editingDisabled":"Editing is disabled","editingRestricted":"Editing is restricted","errorFileName":"Upload failed. File name is too long.","errorFileSize":"Upload failed. File size too large","errorFileUnsupported":"Upload failed. File type not supported","errorOccured":"An error occurred","exitAttachments":"Exit attachments view","fileName":"File name","keyword":"Keyword","maximize":"Maximize","noAttachments":"There are no attachments","noDataFound":"No data found","noFeature":"No feature provided","noPreviewAvailable":"No preview available","replace":"Replace","replaceFile":"Replace file","scrollToFeature":"Scroll to feature","selectedCount":"Selected: {count}","selectFile":"Select file","size":"Size","updateAttachment":"Update attachment","viewAttachment":"View attachment","viewAttachments":"View attachments","viewDetails":"View details","attachmentTypes":{"application":"Application","audio":"Audio","document":"Document","image":"Image","model":"Model","text":"Text","unknown":"Unknown","video":"Video"},"menuText":{"default":"Default","deselectAll":"Deselect all","displayName":"Display name","fieldName":"Field name","fieldVisibility":"Field visibility","filterFields":"Filter fields","orderBy":"Order by","selectAll":"Select all","type":"Type"},"contingentValues":{"hasInvalidValues":"Select a valid combination of values to enable saving","hasValidValues":"The value combination is valid. Saving is enabled.","other":"Other","recommended":"Recommended"}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"widgetLabel":"Feature table","header":"{title} (Total: {count} | Selection: {selected})","headerNoSelection":"{title} (Total: {count})","untitled":"Untitled","relatedRecords":"Related records","attachments":"Attachments","loading":"Loading...","syncing":"Syncing...","errorData":"Data error.","errorLayer":"Layer error.","errorUpdateFailed":"Update failed.","errorDomainType":"Domain type is not supported.","show":"Show","hide":"Hide","menu":"Menu","options":"Options","allColums":"All columns","sortAsc":"Sort ascending","sortDesc":"Sort descending","toggleColumns":"Show/hide columns","clearSelection":"Clear selection","centerOnSelection":"Center on selection","showSelected":"Show selection","filter":"Filter","addField":"Add field","refreshData":"Refresh data","date":"Date","number":"Number","string":"String","showAllRecords":"Show all","zoomToSelection":"Zoom to selection","deleteSelection":"Delete selection","deleteSelectionCount":"Delete selection: {count}","deleteRecordsRemoved":"These records will be permanently removed","keepRecords":"Keep records","recordsCount":"Records ({count})","noLayer":"No layer","exitRelatedRecords":"Exit related records","showAllTables":"Show all tables","selectALayer":"Select a layer","exportSelectionCSV":"Export selection to CSV","noValue":"No value","editingPreventedColumn":"Editing is prevented for cells in this column.","subtypes":{"changeWarning":"The subtype {newType} may have different default values from {originalType}. Keeping the current values may cause unexpected results.","changeWarningTitle":"Subtype changed","useDefaultValuesOption":"Use default values","keepCurrentValuesOption":"Keep current values","unsupportedDomainGroupTitle":"Unsupported","fieldOutOfSubtypeDomainWarning":"This field's value is out of range for its domain."},"addAttachment":"Add attachment","attachmentsCount":"Attachments ({count})","attachmentThumbnail":"Attachment thumbnail","deleteAttachment":"Delete attachment","deleteAttachmentConfirmation":"Are you sure you want to delete the attachments?","deleteAttachmentCount":"Delete attachments ({count})","downloadAttachment":"Download attachment","dragAndDropToUpload":"Drag and drop file to upload an attachment.","editingDisabled":"Editing is disabled","editingRestricted":"Editing is restricted","errorFileName":"Upload failed. File name is too long.","errorFileSize":"Upload failed. File size too large","errorFileUnsupported":"Upload failed. File type not supported","errorOccured":"An error occurred","exitAttachments":"Exit attachments view","fileName":"File name","noAttachments":"There are no attachments","noFeature":"No feature provided","replaceFile":"Replace file","scrollToFeature":"Scroll to feature","selectedCount":"Selected: {count}","selectFile":"Select file","size":"Size","updateAttachment":"Update attachment","viewAttachment":"View attachment","viewAttachments":"View attachments","
|
|
1
|
+
{"widgetLabel":"Feature table","header":"{title} (Total: {count} | Selection: {selected})","headerNoSelection":"{title} (Total: {count})","untitled":"Untitled","relatedRecords":"Related records","attachments":"Attachments","loading":"Loading...","syncing":"Syncing...","errorData":"Data error.","errorLayer":"Layer error.","errorUpdateFailed":"Update failed.","errorDomainType":"Domain type is not supported.","show":"Show","hide":"Hide","menu":"Menu","options":"Options","allColums":"All columns","sortAsc":"Sort ascending","sortDesc":"Sort descending","toggleColumns":"Show/hide columns","clearSelection":"Clear selection","centerOnSelection":"Center on selection","showSelected":"Show selection","filter":"Filter","addField":"Add field","refreshData":"Refresh data","date":"Date","number":"Number","string":"String","showAllRecords":"Show all","zoomToSelection":"Zoom to selection","deleteSelection":"Delete selection","deleteSelectionCount":"Delete selection: {count}","deleteRecordsRemoved":"These records will be permanently removed","keepRecords":"Keep records","recordsCount":"Records ({count})","noLayer":"No layer","exitRelatedRecords":"Exit related records","showAllTables":"Show all tables","selectALayer":"Select a layer","exportSelectionCSV":"Export selection to CSV","noValue":"No value","editingPreventedColumn":"Editing is prevented for cells in this column.","subtypes":{"changeWarning":"The subtype {newType} may have different default values from {originalType}. Keeping the current values may cause unexpected results.","changeWarningTitle":"Subtype changed","useDefaultValuesOption":"Use default values","keepCurrentValuesOption":"Keep current values","unsupportedDomainGroupTitle":"Unsupported","fieldOutOfSubtypeDomainWarning":"This field's value is out of range for its domain."},"addAttachment":"Add attachment","attachmentsCount":"Attachments ({count})","attachmentThumbnail":"Attachment thumbnail","attachmentType":"Attachment type","deleteAttachment":"Delete attachment","deleteAttachmentConfirmation":"Are you sure you want to delete the attachments?","deleteAttachmentCount":"Delete attachments ({count})","download":"Download","downloadAttachment":"Download attachment","dragAndDropToUpload":"Drag and drop file to upload an attachment.","editingDisabled":"Editing is disabled","editingRestricted":"Editing is restricted","errorFileName":"Upload failed. File name is too long.","errorFileSize":"Upload failed. File size too large","errorFileUnsupported":"Upload failed. File type not supported","errorOccured":"An error occurred","exitAttachments":"Exit attachments view","fileName":"File name","keyword":"Keyword","maximize":"Maximize","noAttachments":"There are no attachments","noDataFound":"No data found","noFeature":"No feature provided","noPreviewAvailable":"No preview available","replace":"Replace","replaceFile":"Replace file","scrollToFeature":"Scroll to feature","selectedCount":"Selected: {count}","selectFile":"Select file","size":"Size","updateAttachment":"Update attachment","viewAttachment":"View attachment","viewAttachments":"View attachments","viewDetails":"View details","attachmentTypes":{"application":"Application","audio":"Audio","document":"Document","image":"Image","model":"Model","text":"Text","unknown":"Unknown","video":"Video"},"menuText":{"default":"Default","deselectAll":"Deselect all","displayName":"Display name","fieldName":"Field name","fieldVisibility":"Field visibility","filterFields":"Filter fields","orderBy":"Order by","selectAll":"Select all","type":"Type"},"contingentValues":{"hasInvalidValues":"Select a valid combination of values to enable saving","hasValidValues":"The value combination is valid. Saving is enabled.","other":"Other","recommended":"Recommended"}}
|
|
@@ -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{ComponentData as e}from"../views/3d/webgl-engine/collections/Component/Material/ComponentData.glsl.js";import{ForwardLinearDepthToWriteShadowMap as o}from"../views/3d/webgl-engine/core/shaderLibrary/ForwardLinearDepthToWriteShadowMap.glsl.js";import{isColor as r,isShadow as a}from"../views/3d/webgl-engine/core/shaderLibrary/ShaderOutput.js";import{SlicePass as l}from"../views/3d/webgl-engine/core/shaderLibrary/Slice.glsl.js";import{TextureCoordinateAttribute as i}from"../views/3d/webgl-engine/core/shaderLibrary/attributes/TextureCoordinateAttribute.glsl.js";import{VertexColor as t}from"../views/3d/webgl-engine/core/shaderLibrary/attributes/VertexColor.glsl.js";import{VertexNormal as n}from"../views/3d/webgl-engine/core/shaderLibrary/attributes/VertexNormal.glsl.js";import{VertexPosition as s}from"../views/3d/webgl-engine/core/shaderLibrary/attributes/VertexPosition.glsl.js";import{OutputDepth as d}from"../views/3d/webgl-engine/core/shaderLibrary/output/OutputDepth.glsl.js";import{OutputHighlight as g}from"../views/3d/webgl-engine/core/shaderLibrary/output/OutputHighlight.glsl.js";import{OutputHighlightOverlay as c}from"../views/3d/webgl-engine/core/shaderLibrary/output/OutputHighlightOverlay.js";import{ReadDepth as m}from"../views/3d/webgl-engine/core/shaderLibrary/output/ReadDepth.glsl.js";import{computeFragmentNormals as v}from"../views/3d/webgl-engine/core/shaderLibrary/shading/ComputeFragmentNormals.glsl.js";import{ComputeMaterialColor as u}from"../views/3d/webgl-engine/core/shaderLibrary/shading/ComputeMaterialColor.glsl.js";import{ComputeNormalTextureDraw as h}from"../views/3d/webgl-engine/core/shaderLibrary/shading/ComputeNormalTexture.glsl.js";import{EvaluateSceneLighting as w,addLightingGlobalFactor as p}from"../views/3d/webgl-engine/core/shaderLibrary/shading/EvaluateSceneLighting.glsl.js";import{addMainLightIntensity as b,addMainLightDirection as f}from"../views/3d/webgl-engine/core/shaderLibrary/shading/MainLighting.glsl.js";import{PhysicallyBasedRenderingParameters as y}from"../views/3d/webgl-engine/core/shaderLibrary/shading/PhysicallyBasedRenderingParameters.glsl.js";import{PiUtils as C}from"../views/3d/webgl-engine/core/shaderLibrary/shading/PiUtils.glsl.js";import{ReadBaseColorTexture as x}from"../views/3d/webgl-engine/core/shaderLibrary/shading/ReadBaseColorTexture.glsl.js";import{ReadShadowMapPass as L}from"../views/3d/webgl-engine/core/shaderLibrary/shading/ReadShadowMap.glsl.js";import{terrainDepthTest as O}from"../views/3d/webgl-engine/core/shaderLibrary/shading/TerrainDepthTest.glsl.js";import{OverlayIM as S}from"../views/3d/webgl-engine/core/shaderLibrary/terrain/Overlay.glsl.js";import{DiscardOrAdjustAlphaDraw as j}from"../views/3d/webgl-engine/core/shaderLibrary/util/DiscardOrAdjustAlpha.glsl.js";import{BooleanDrawUniform as N}from"../views/3d/webgl-engine/core/shaderModules/BooleanDrawUniform.js";import{If as $,glsl as T}from"../views/3d/webgl-engine/core/shaderModules/glsl.js";import{Texture2DBindUniform as D}from"../views/3d/webgl-engine/core/shaderModules/Texture2DBindUniform.js";import{SnowCover as R}from"../views/3d/webgl-engine/effects/weather/SnowCover.glsl.js";import{outputColorHighlightOLID as M}from"../views/3d/webgl-engine/shaders/OutputColorHighlightOLID.glsl.js";import{getPlanetRadius as P,sphereDepthInterpolate as W}from"../views/3d/webgl-engine/shaders/SphereDepthInterpolate.glsl.js";import{ShaderBuilder as A}from"../views/webgl/ShaderBuilder.js";import{alphaCutoff as F}from"../webscene/support/AlphaCutoff.js";function U(U){const V=new A,{vertex:z,fragment:B}=V;V.include(s,U),V.include(n,U),V.include(t,U),V.include(i,U),V.include(e,U),V.include(j,U),B.include(l,U),V.include(x,U),V.include(O,U);const{output:E,pbrMode:_,hasNormalTexture:I,snowCover:G,receiveShadows:H,shadeNormals:k,spherical:q,sphericalSR:J,overlayEnabled:K,
|
|
5
|
+
import{ComponentData as e}from"../views/3d/webgl-engine/collections/Component/Material/ComponentData.glsl.js";import{ForwardLinearDepthToWriteShadowMap as o}from"../views/3d/webgl-engine/core/shaderLibrary/ForwardLinearDepthToWriteShadowMap.glsl.js";import{isColor as r,isShadow as a}from"../views/3d/webgl-engine/core/shaderLibrary/ShaderOutput.js";import{SlicePass as l}from"../views/3d/webgl-engine/core/shaderLibrary/Slice.glsl.js";import{TextureCoordinateAttribute as i}from"../views/3d/webgl-engine/core/shaderLibrary/attributes/TextureCoordinateAttribute.glsl.js";import{VertexColor as t}from"../views/3d/webgl-engine/core/shaderLibrary/attributes/VertexColor.glsl.js";import{VertexNormal as n}from"../views/3d/webgl-engine/core/shaderLibrary/attributes/VertexNormal.glsl.js";import{VertexPosition as s}from"../views/3d/webgl-engine/core/shaderLibrary/attributes/VertexPosition.glsl.js";import{OutputDepth as d}from"../views/3d/webgl-engine/core/shaderLibrary/output/OutputDepth.glsl.js";import{OutputHighlight as g}from"../views/3d/webgl-engine/core/shaderLibrary/output/OutputHighlight.glsl.js";import{OutputHighlightOverlay as c}from"../views/3d/webgl-engine/core/shaderLibrary/output/OutputHighlightOverlay.js";import{ReadDepth as m}from"../views/3d/webgl-engine/core/shaderLibrary/output/ReadDepth.glsl.js";import{computeFragmentNormals as v}from"../views/3d/webgl-engine/core/shaderLibrary/shading/ComputeFragmentNormals.glsl.js";import{ComputeMaterialColor as u}from"../views/3d/webgl-engine/core/shaderLibrary/shading/ComputeMaterialColor.glsl.js";import{ComputeNormalTextureDraw as h}from"../views/3d/webgl-engine/core/shaderLibrary/shading/ComputeNormalTexture.glsl.js";import{EvaluateSceneLighting as w,addLightingGlobalFactor as p}from"../views/3d/webgl-engine/core/shaderLibrary/shading/EvaluateSceneLighting.glsl.js";import{addMainLightIntensity as b,addMainLightDirection as f}from"../views/3d/webgl-engine/core/shaderLibrary/shading/MainLighting.glsl.js";import{PhysicallyBasedRenderingParameters as y}from"../views/3d/webgl-engine/core/shaderLibrary/shading/PhysicallyBasedRenderingParameters.glsl.js";import{PiUtils as C}from"../views/3d/webgl-engine/core/shaderLibrary/shading/PiUtils.glsl.js";import{ReadBaseColorTexture as x}from"../views/3d/webgl-engine/core/shaderLibrary/shading/ReadBaseColorTexture.glsl.js";import{ReadShadowMapPass as L}from"../views/3d/webgl-engine/core/shaderLibrary/shading/ReadShadowMap.glsl.js";import{terrainDepthTest as O}from"../views/3d/webgl-engine/core/shaderLibrary/shading/TerrainDepthTest.glsl.js";import{OverlayIM as S}from"../views/3d/webgl-engine/core/shaderLibrary/terrain/Overlay.glsl.js";import{DiscardOrAdjustAlphaDraw as j}from"../views/3d/webgl-engine/core/shaderLibrary/util/DiscardOrAdjustAlpha.glsl.js";import{BooleanDrawUniform as N}from"../views/3d/webgl-engine/core/shaderModules/BooleanDrawUniform.js";import{If as $,glsl as T}from"../views/3d/webgl-engine/core/shaderModules/glsl.js";import{Texture2DBindUniform as D}from"../views/3d/webgl-engine/core/shaderModules/Texture2DBindUniform.js";import{SnowCover as R}from"../views/3d/webgl-engine/effects/weather/SnowCover.glsl.js";import{outputColorHighlightOLID as M}from"../views/3d/webgl-engine/shaders/OutputColorHighlightOLID.glsl.js";import{getPlanetRadius as P,sphereDepthInterpolate as W}from"../views/3d/webgl-engine/shaders/SphereDepthInterpolate.glsl.js";import{ShaderBuilder as A}from"../views/webgl/ShaderBuilder.js";import{alphaCutoff as F}from"../webscene/support/AlphaCutoff.js";function U(U){const V=new A,{vertex:z,fragment:B}=V;V.include(s,U),V.include(n,U),V.include(t,U),V.include(i,U),V.include(e,U),V.include(j,U),B.include(l,U),V.include(x,U),V.include(O,U);const{output:E,pbrMode:_,hasNormalTexture:I,snowCover:G,receiveShadows:H,shadeNormals:k,spherical:q,sphericalSR:J,overlayEnabled:K,componentDataType:Q,vertexDiscardMode:X,renderOccluded:Y,isGroundSlice:Z}=U,ee=1===_||2===_;ee&&(V.include(y,U),I&&V.include(h,U));const oe=a(E),re=oe&&1===Q,ae=P(U);K&&(B.include(w,U),V.include(S,U),z.include(C),z.uniforms.add(new N("useENUForGlobalOverlayUV",e=>e.useENUForGlobalOverlayUV)),B.uniforms.add(new N("useENUForGlobalOverlayUV",e=>e.useENUForGlobalOverlayUV)),z.constants.add("invRadius","float",1/ae).code.add(`vec2 projectOverlay(vec3 pos) { return pos.xy ${$(q,"/ (1.0 + invRadius * pos.z)")}; }`));const le=K&&r(E)&&4===_;le&&(V.varyings.add("tbnTangent","vec3"),V.varyings.add("tbnBiTangent","vec3"),V.varyings.add("groundNormal","vec3"));const ie=0===X,te=2===X,ne=1-1/255;if(V.include(L,U),V.include(o,U),z.main.add(T`
|
|
6
6
|
bool castShadows;
|
|
7
7
|
vec4 externalColor = forwardExternalColor(castShadows);
|
|
8
8
|
${$(re,"if(!castShadows) { gl_Position = vec4(vec3(1e38), 1.0); return; }")}
|
package/chunks/GlowBlur.glsl.js
CHANGED
|
@@ -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{gauss as e}from"../core/mathUtils.js";import{ScreenSpacePass as r}from"../views/3d/webgl-engine/core/shaderLibrary/ScreenSpacePass.glsl.js";import{Gamma as o}from"../views/3d/webgl-engine/core/shaderLibrary/shading/Gamma.glsl.js";import{FloatPassUniform as s}from"../views/3d/webgl-engine/core/shaderModules/FloatPassUniform.js";import{glsl as t}from"../views/3d/webgl-engine/core/shaderModules/glsl.js";import{Texture2DPassUniform as i}from"../views/3d/webgl-engine/core/shaderModules/Texture2DPassUniform.js";import{
|
|
5
|
+
import{gauss as e}from"../core/mathUtils.js";import{ScreenSpacePass as r}from"../views/3d/webgl-engine/core/shaderLibrary/ScreenSpacePass.glsl.js";import{Gamma as o}from"../views/3d/webgl-engine/core/shaderLibrary/shading/Gamma.glsl.js";import{FloatPassUniform as s}from"../views/3d/webgl-engine/core/shaderModules/FloatPassUniform.js";import{glsl as t}from"../views/3d/webgl-engine/core/shaderModules/glsl.js";import{Texture2DPassUniform as i}from"../views/3d/webgl-engine/core/shaderModules/Texture2DPassUniform.js";import{NoParameters as l}from"../views/webgl/NoParameters.js";import{ShaderBuilder as a}from"../views/webgl/ShaderBuilder.js";class n extends l{constructor(){super(...arguments),this.blurRadius=0}}function c(l){const n=new a,c=n.fragment;n.include(r),c.include(o),c.uniforms.add(new i("colorTexture",e=>e.emissionsToDownsample),new s("blurRadius",e=>e.blurRadius));let u="";const d=15;for(let e=0;e<d;e++){u+=`locations1D[${e}] = ${(e/(d-1)*2-1).toFixed(3).toString()};`}const m=2;let f="";for(let r=0;r<d;r++){f+=`locations1DWeights[${r}] = ${e(r-Math.floor(d/2),m).toFixed(7).toString()};`}const v=0===l.glowStage;return c.code.add(t`
|
|
6
6
|
float locations1D[${t.int(d)}];
|
|
7
7
|
float locations1DWeights[${t.int(d)}];
|
|
8
8
|
|
|
@@ -10,7 +10,6 @@ import{gauss as e}from"../core/mathUtils.js";import{ScreenSpacePass as r}from"..
|
|
|
10
10
|
vec3 res = vec3(0.0);
|
|
11
11
|
vec2 size = vec2(textureSize(toBlur, 0));
|
|
12
12
|
vec2 aspectCorrection = vec2(1.0, size.x / size.y);
|
|
13
|
-
vec2 uvInPixel = uv * size;
|
|
14
13
|
|
|
15
14
|
${u}
|
|
16
15
|
${f}
|
|
@@ -26,4 +25,4 @@ import{gauss as e}from"../core/mathUtils.js";import{ScreenSpacePass as r}from"..
|
|
|
26
25
|
}
|
|
27
26
|
return res;
|
|
28
27
|
}
|
|
29
|
-
`).main.add(t`fragColor = vec4(blurUniformSamples(colorTexture), 0.0);`),n}const
|
|
28
|
+
`).main.add(t`fragColor = vec4(blurUniformSamples(colorTexture), 0.0);`),n}const u=Object.freeze(Object.defineProperty({__proto__:null,GlowBlurPassParameters:n,build:c},Symbol.toStringTag,{value:"Module"}));export{n as G,u as a,c as b};
|
|
@@ -2,55 +2,42 @@
|
|
|
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{copy as e,set as o}from"../core/libs/gl-matrix-2/math/vec2.js";import{create as i}from"../core/libs/gl-matrix-2/factories/vec2f64.js";import{ZEROS as r
|
|
6
|
-
vec3 camToEarthCenter = pointDistanceSphere.xyz - localOrigin;
|
|
7
|
-
vec3 camToPos = pointDistanceSphere.xyz + posModel;
|
|
8
|
-
float earthRadius = pointDistanceSphere.w;
|
|
9
|
-
float a = dot(camToPos, camToPos);
|
|
10
|
-
float b = dot(camToPos, camToEarthCenter);
|
|
11
|
-
float c = dot(camToEarthCenter, camToEarthCenter) - earthRadius * earthRadius;
|
|
12
|
-
return b > 0.0 && b < a && b * b > a * c;
|
|
13
|
-
}`:y`bool behindHorizon(vec3 posModel) { return false; }`),W.main.add(y`
|
|
5
|
+
import{copy as e,set as o}from"../core/libs/gl-matrix-2/math/vec2.js";import{create as i}from"../core/libs/gl-matrix-2/factories/vec2f64.js";import{ZEROS as r}from"../core/libs/gl-matrix-2/factories/vec4f64.js";import{RejectBySlice as l}from"../views/3d/webgl-engine/core/shaderLibrary/Slice.glsl.js";import{ObjectAndLayerIdColor as t}from"../views/3d/webgl-engine/core/shaderLibrary/attributes/ObjectAndLayerIdColor.glsl.js";import{AlignPixel as a}from"../views/3d/webgl-engine/core/shaderLibrary/hud/AlignPixel.glsl.js";import{HUD as s}from"../views/3d/webgl-engine/core/shaderLibrary/hud/HUD.glsl.js";import{HUDOcclusionPass as n}from"../views/3d/webgl-engine/core/shaderLibrary/hud/HUDOcclusionPass.glsl.js";import{HUDVisibility as c}from"../views/3d/webgl-engine/core/shaderLibrary/hud/HUDVisibility.glsl.js";import{OutputHighlight as d}from"../views/3d/webgl-engine/core/shaderLibrary/output/OutputHighlight.glsl.js";import{positionOutsideClipSpace as u}from"../views/3d/webgl-engine/core/shaderLibrary/shading/PositionOutsideClipSpace.js";import{VisualVariables as f}from"../views/3d/webgl-engine/core/shaderLibrary/shading/VisualVariables.glsl.js";import{ColorConversion as p}from"../views/3d/webgl-engine/core/shaderLibrary/util/ColorConversion.glsl.js";import{ScreenSizePerspective as g,addScreenSizePerspective as m,addScreenSizePerspectiveAlignment as v}from"../views/3d/webgl-engine/core/shaderLibrary/util/ScreenSizePerspective.glsl.js";import{addPixelRatio as x}from"../views/3d/webgl-engine/core/shaderLibrary/util/View.glsl.js";import{Float2PassUniform as b}from"../views/3d/webgl-engine/core/shaderModules/Float2PassUniform.js";import{Float4BindUniform as h}from"../views/3d/webgl-engine/core/shaderModules/Float4BindUniform.js";import{Float4PassUniform as w}from"../views/3d/webgl-engine/core/shaderModules/Float4PassUniform.js";import{FloatBindUniform as C}from"../views/3d/webgl-engine/core/shaderModules/FloatBindUniform.js";import{FloatPassUniform as z}from"../views/3d/webgl-engine/core/shaderModules/FloatPassUniform.js";import{If as P,glsl as S}from"../views/3d/webgl-engine/core/shaderModules/glsl.js";import{Texture2DBindUniform as j}from"../views/3d/webgl-engine/core/shaderModules/Texture2DBindUniform.js";import{Texture2DPassUniform as y}from"../views/3d/webgl-engine/core/shaderModules/Texture2DPassUniform.js";import{ShaderBuilder as A}from"../views/webgl/ShaderBuilder.js";import{alphaCutoff as $}from"../webscene/support/AlphaCutoff.js";function O(e){const i=new A;if(i.include(s,e),i.vertex.include(l,e),e.occlusionPass)return i.include(n,e),i;const{output:O,oitPass:B,signedDistanceFieldEnabled:V,visibilityPixelEnabled:M,pixelSnappingEnabled:T,hasEmission:_,hasScreenSizePerspective:q,debugDrawLabelBorder:H,hasVVSize:E,hasVVColor:R,hasRotation:k,occludedFragmentFade:I,sampleSignedDistanceFieldTexelCenter:G}=e;i.include(g),i.include(f,e),i.include(t,e),M&&i.include(c);const{vertex:J,fragment:K}=i;K.include(p),i.varyings.add("vcolor","vec4"),i.varyings.add("vtc","vec2"),i.varyings.add("vsize","vec2");const N=8===O,Q=N&&M;Q&&i.varyings.add("voccluded","float"),J.uniforms.add(new h("viewport",e=>e.camera.fullViewport),new b("screenOffset",(e,i)=>o(L,2*e.screenOffset[0]*i.camera.pixelRatio,2*e.screenOffset[1]*i.camera.pixelRatio)),new b("anchorPosition",e=>D(e)),new w("materialColor",e=>e.color),new z("materialRotation",e=>e.rotation),new y("tex",e=>e.texture)),x(J),V&&(J.uniforms.add(new w("outlineColor",e=>e.outlineColor)),K.uniforms.add(new w("outlineColor",e=>F(e)?e.outlineColor:r),new z("outlineSize",e=>F(e)?e.outlineSize:0))),T&&J.include(a),q&&(m(J),v(J)),H&&i.varyings.add("debugBorderCoords","vec4"),i.attributes.add("uv0","vec2"),i.attributes.add("uvi","vec4"),i.attributes.add("color","vec4"),i.attributes.add("size","vec2"),i.attributes.add("rotation","float"),(E||R)&&i.attributes.add("featureAttribute","vec4"),J.main.add(S`
|
|
14
6
|
ProjectHUDAux projectAux;
|
|
15
7
|
vec4 posProj = projectPositionHUD(projectAux);
|
|
16
8
|
forwardObjectAndLayerIdColor();
|
|
17
9
|
|
|
18
10
|
if (rejectBySlice(projectAux.posModel)) {
|
|
19
|
-
gl_Position = ${
|
|
20
|
-
return;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
if (behindHorizon(projectAux.posModel)) {
|
|
24
|
-
gl_Position = ${p};
|
|
11
|
+
gl_Position = ${u};
|
|
25
12
|
return;
|
|
26
13
|
}
|
|
27
14
|
|
|
28
15
|
vec2 inputSize;
|
|
29
|
-
${
|
|
16
|
+
${P(q,S`
|
|
30
17
|
inputSize = screenSizePerspectiveScaleVec2(size, projectAux.absCosAngle, projectAux.distanceToCamera, screenSizePerspective);
|
|
31
|
-
vec2 screenOffsetScaled = screenSizePerspectiveScaleVec2(screenOffset, projectAux.absCosAngle, projectAux.distanceToCamera, screenSizePerspectiveAlignment);`,
|
|
18
|
+
vec2 screenOffsetScaled = screenSizePerspectiveScaleVec2(screenOffset, projectAux.absCosAngle, projectAux.distanceToCamera, screenSizePerspectiveAlignment);`,S`
|
|
32
19
|
inputSize = size;
|
|
33
20
|
vec2 screenOffsetScaled = screenOffset;`)}
|
|
34
|
-
${
|
|
21
|
+
${P(E,S`inputSize *= vvScale(featureAttribute).xx;`)}
|
|
35
22
|
|
|
36
23
|
vec2 combinedSize = inputSize * pixelRatio;
|
|
37
24
|
vec4 quadOffset = vec4(0.0);
|
|
38
25
|
|
|
39
|
-
${
|
|
26
|
+
${P(M,S`
|
|
40
27
|
bool visible = testHUDVisibility(posProj);
|
|
41
28
|
if (!visible) {
|
|
42
29
|
vtc = vec2(0.0);
|
|
43
|
-
${
|
|
30
|
+
${P(H,"debugBorderCoords = vec4(0.5, 0.5, 1.5 / combinedSize);")}
|
|
44
31
|
return;
|
|
45
32
|
}`)}
|
|
46
|
-
${
|
|
47
|
-
`);const
|
|
33
|
+
${P(Q,S`voccluded = visible ? 0.0 : 1.0;`)}
|
|
34
|
+
`);const W=S`
|
|
48
35
|
vec2 uv = mix(uvi.xy, uvi.zw, bvec2(uv0));
|
|
49
36
|
vec2 texSize = vec2(textureSize(tex, 0));
|
|
50
|
-
uv = mix(vec2(1.0), uv / texSize, lessThan(uv, vec2(${
|
|
37
|
+
uv = mix(vec2(1.0), uv / texSize, lessThan(uv, vec2(${U})));
|
|
51
38
|
quadOffset.xy = (uv0 - anchorPosition) * 2.0 * combinedSize;
|
|
52
39
|
|
|
53
|
-
${
|
|
40
|
+
${P(k,S`
|
|
54
41
|
float angle = radians(materialRotation + rotation);
|
|
55
42
|
float cosAngle = cos(angle);
|
|
56
43
|
float sinAngle = sin(angle);
|
|
@@ -60,36 +47,36 @@ return b > 0.0 && b < a && b * b > a * c;
|
|
|
60
47
|
`)}
|
|
61
48
|
|
|
62
49
|
quadOffset.xy = (quadOffset.xy + screenOffsetScaled) / viewport.zw * posProj.w;
|
|
63
|
-
`,
|
|
50
|
+
`,X=T?V?S`posProj = alignToPixelOrigin(posProj, viewport.zw) + quadOffset;`:S`posProj += quadOffset;
|
|
64
51
|
if (inputSize.x == size.x) {
|
|
65
52
|
posProj = alignToPixelOrigin(posProj, viewport.zw);
|
|
66
|
-
}`:
|
|
67
|
-
${
|
|
68
|
-
${
|
|
53
|
+
}`:S`posProj += quadOffset;`;J.main.add(S`
|
|
54
|
+
${W}
|
|
55
|
+
${R?"vcolor = interpolateVVColor(featureAttribute.y) * materialColor;":"vcolor = color / 255.0 * materialColor;"}
|
|
69
56
|
|
|
70
|
-
${
|
|
57
|
+
${P(9===O,S`vcolor.a = 1.0;`)}
|
|
71
58
|
|
|
72
|
-
bool alphaDiscard = vcolor.a < ${
|
|
73
|
-
${
|
|
59
|
+
bool alphaDiscard = vcolor.a < ${S.float($)};
|
|
60
|
+
${P(V,`alphaDiscard = alphaDiscard && outlineColor.a < ${S.float($)};`)}
|
|
74
61
|
if (alphaDiscard) {
|
|
75
62
|
// "early discard" if both symbol color (= fill) and outline color (if applicable) are transparent
|
|
76
63
|
gl_Position = vec4(1e38, 1e38, 1e38, 1.0);
|
|
77
64
|
return;
|
|
78
65
|
} else {
|
|
79
|
-
${
|
|
66
|
+
${X}
|
|
80
67
|
gl_Position = posProj;
|
|
81
68
|
}
|
|
82
69
|
|
|
83
70
|
vtc = uv;
|
|
84
71
|
|
|
85
|
-
${
|
|
72
|
+
${P(H,S`debugBorderCoords = vec4(uv01, 1.5 / combinedSize);`)}
|
|
86
73
|
vsize = inputSize;
|
|
87
|
-
`),
|
|
88
|
-
${
|
|
74
|
+
`),K.uniforms.add(new y("tex",e=>e.texture)),I&&!N&&K.uniforms.add(new j("depthMap",e=>e.mainDepth),new C("occludedOpacity",e=>e.hudOccludedFragmentOpacity));const Y=H?S`(isBorder > 0.0 ? 0.0 : ${S.float($)})`:S.float($),Z=S`
|
|
75
|
+
${P(H,S`float isBorder = float(any(lessThan(debugBorderCoords.xy, debugBorderCoords.zw)) || any(greaterThan(debugBorderCoords.xy, 1.0 - debugBorderCoords.zw)));`)}
|
|
89
76
|
|
|
90
77
|
vec2 samplePos = vtc;
|
|
91
78
|
|
|
92
|
-
${
|
|
79
|
+
${P(G,S`
|
|
93
80
|
float txSize = float(textureSize(tex, 0).x);
|
|
94
81
|
float texelSize = 1.0 / txSize;
|
|
95
82
|
|
|
@@ -97,7 +84,7 @@ posProj = alignToPixelOrigin(posProj, viewport.zw);
|
|
|
97
84
|
vec2 scaleFactor = (vsize - txSize) * texelSize;
|
|
98
85
|
samplePos += (vec2(1.0, -1.0) * texelSize) * scaleFactor;`)}
|
|
99
86
|
|
|
100
|
-
${V?
|
|
87
|
+
${V?S`
|
|
101
88
|
vec4 fillPixelColor = vcolor;
|
|
102
89
|
|
|
103
90
|
// Get distance in output units (i.e. pixels)
|
|
@@ -118,8 +105,8 @@ posProj = alignToPixelOrigin(posProj, viewport.zw);
|
|
|
118
105
|
outlinePixelColor.a *= outlineAlphaFactor;
|
|
119
106
|
|
|
120
107
|
if (
|
|
121
|
-
outlineAlphaFactor + fillAlphaFactor < ${
|
|
122
|
-
fillPixelColor.a + outlinePixelColor.a < ${
|
|
108
|
+
outlineAlphaFactor + fillAlphaFactor < ${Y} ||
|
|
109
|
+
fillPixelColor.a + outlinePixelColor.a < ${S.float($)}
|
|
123
110
|
) {
|
|
124
111
|
discard;
|
|
125
112
|
}
|
|
@@ -129,39 +116,39 @@ posProj = alignToPixelOrigin(posProj, viewport.zw);
|
|
|
129
116
|
vec3 compositeColor = vec3(outlinePixelColor) * outlinePixelColor.a +
|
|
130
117
|
vec3(fillPixelColor) * fillPixelColor.a * (1.0 - outlinePixelColor.a);
|
|
131
118
|
|
|
132
|
-
${
|
|
119
|
+
${P(!N,S`fragColor = vec4(compositeColor, compositeAlpha);`)}
|
|
133
120
|
} else {
|
|
134
|
-
if (fillAlphaFactor < ${
|
|
121
|
+
if (fillAlphaFactor < ${Y}) {
|
|
135
122
|
discard;
|
|
136
123
|
}
|
|
137
124
|
|
|
138
|
-
${
|
|
125
|
+
${P(!N,S`fragColor = premultiplyAlpha(fillPixelColor);`)}
|
|
139
126
|
}
|
|
140
127
|
|
|
141
128
|
// visualize SDF:
|
|
142
129
|
// fragColor = vec4(clamp(-pixelDistance/vsize.x*2.0, 0.0, 1.0), clamp(pixelDistance/vsize.x*2.0, 0.0, 1.0), 0.0, 1.0);
|
|
143
|
-
`:
|
|
130
|
+
`:S`
|
|
144
131
|
vec4 texColor = texture(tex, samplePos, -0.5);
|
|
145
|
-
if (texColor.a < ${
|
|
132
|
+
if (texColor.a < ${Y}) {
|
|
146
133
|
discard;
|
|
147
134
|
}
|
|
148
|
-
${
|
|
135
|
+
${P(!N,S`fragColor = texColor * premultiplyAlpha(vcolor);`)}
|
|
149
136
|
`}
|
|
150
137
|
|
|
151
|
-
${
|
|
138
|
+
${P(I&&!N,S`
|
|
152
139
|
float zSample = texelFetch(depthMap, ivec2(gl_FragCoord.xy), 0).x;
|
|
153
140
|
if (zSample < gl_FragCoord.z) {
|
|
154
141
|
fragColor *= occludedOpacity;
|
|
155
142
|
}
|
|
156
143
|
`)}
|
|
157
144
|
|
|
158
|
-
${
|
|
159
|
-
`;switch(
|
|
160
|
-
${
|
|
161
|
-
${
|
|
162
|
-
${
|
|
163
|
-
${
|
|
164
|
-
${
|
|
165
|
-
outputObjectAndLayerIdColor();`);break;case 8:i.include(
|
|
166
|
-
${
|
|
167
|
-
outputHighlight(${
|
|
145
|
+
${P(!N&&H,S`fragColor = mix(fragColor, vec4(1.0, 0.0, 1.0, 1.0), isBorder * 0.5);`)}
|
|
146
|
+
`;switch(O){case 0:i.outputs.add("fragColor","vec4",0),_&&i.outputs.add("fragEmission","vec4",1),1===B&&i.outputs.add("fragAlpha","float",_?2:1),K.main.add(S`
|
|
147
|
+
${Z}
|
|
148
|
+
${P(2===B,S`fragColor.rgb /= fragColor.a;`)}
|
|
149
|
+
${P(_,S`fragEmission = vec4(0.0);`)}
|
|
150
|
+
${P(1===B,S`fragAlpha = fragColor.a;`)}`);break;case 9:K.main.add(S`
|
|
151
|
+
${Z}
|
|
152
|
+
outputObjectAndLayerIdColor();`);break;case 8:i.include(d,e),K.main.add(S`
|
|
153
|
+
${Z}
|
|
154
|
+
outputHighlight(${P(Q,S`voccluded == 1.0`,S`false`)});`)}return i}function F(e){return e.outlineColor[3]>0&&e.outlineSize>0}function D(o){return o.textureIsSignedDistanceField?B(o.anchorPosition,o.distanceFieldBoundingBox,L):e(L,o.anchorPosition),L}function B(e,i,r){o(r,e[0]*(i[2]-i[0])+i[0],e[1]*(i[3]-i[1])+i[1])}const L=i(),V=32e3,U=S.float(V),M=Object.freeze(Object.defineProperty({__proto__:null,build:O,calculateAnchorPosition:D,fullUV:V},Symbol.toStringTag,{value:"Module"}));export{M as H,O as b,D as c,V as f};
|
package/config.d.ts
CHANGED
|
@@ -345,8 +345,6 @@ export interface RequestConfig {
|
|
|
345
345
|
*/
|
|
346
346
|
httpsDomains: string[];
|
|
347
347
|
/**
|
|
348
|
-
* **Since:** 4.8
|
|
349
|
-
*
|
|
350
348
|
* Allows developers to modify requests before or after they are sent.
|
|
351
349
|
* The first interceptor that matches the request URL will be used.
|
|
352
350
|
*
|
|
@@ -376,6 +374,8 @@ export interface RequestConfig {
|
|
|
376
374
|
* }
|
|
377
375
|
* });
|
|
378
376
|
* ```
|
|
377
|
+
*
|
|
378
|
+
* @since 4.8
|
|
379
379
|
*/
|
|
380
380
|
interceptors: RequestInterceptor[];
|
|
381
381
|
/**
|
|
@@ -386,8 +386,6 @@ export interface RequestConfig {
|
|
|
386
386
|
*/
|
|
387
387
|
maxUrlLength: number;
|
|
388
388
|
/**
|
|
389
|
-
* **Since:** 4.24
|
|
390
|
-
*
|
|
391
389
|
* The fetch and image network request priority. This is a hint to browsers on how important these requests are
|
|
392
390
|
* relative to other pending requests. The "auto" value lets browsers decide on the priority. They typically use
|
|
393
391
|
* "high" priority for fetch requests, and "low" priority for image requests. See more information at
|
|
@@ -395,6 +393,7 @@ export interface RequestConfig {
|
|
|
395
393
|
* https://caniuse.com/mdn-api_request_priority.
|
|
396
394
|
*
|
|
397
395
|
* @default high
|
|
396
|
+
* @since 4.24
|
|
398
397
|
*/
|
|
399
398
|
priority: "auto" | "high" | "low";
|
|
400
399
|
/**
|
|
@@ -431,8 +430,6 @@ export interface RequestConfig {
|
|
|
431
430
|
*/
|
|
432
431
|
timeout: number;
|
|
433
432
|
/**
|
|
434
|
-
* **Since:** 4.9
|
|
435
|
-
*
|
|
436
433
|
* Indicates whether cross-origin requests made to the associated server
|
|
437
434
|
* should include credentials such as cookies and authorization headers.
|
|
438
435
|
*
|
|
@@ -440,14 +437,15 @@ export interface RequestConfig {
|
|
|
440
437
|
* const esriConfig = await $arcgis.import("@arcgis/core/config.js");
|
|
441
438
|
* esriConfig.request.trustedServers.push("[<protocol>//]<hostname>.<domain>[:<port>]");
|
|
442
439
|
* ```
|
|
440
|
+
*
|
|
441
|
+
* @since 4.9
|
|
443
442
|
*/
|
|
444
443
|
trustedServers: string[];
|
|
445
444
|
/**
|
|
446
|
-
* **Since:** 4.5
|
|
447
|
-
*
|
|
448
445
|
* Indicates whether `esri/request` will request a credential from `IdentityManager`.
|
|
449
446
|
*
|
|
450
447
|
* @default true
|
|
448
|
+
* @since 4.5
|
|
451
449
|
*/
|
|
452
450
|
useIdentity: boolean;
|
|
453
451
|
}
|
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.74";s.assetsPath=`https://cdn.jsdelivr.net/npm/@arcgis/core@${e}/assets`}s.defaultAssetsPath=s.assetsPath}export{s as default};
|
package/core/Collection.d.ts
CHANGED
|
@@ -1,9 +1,35 @@
|
|
|
1
1
|
import type { EventedMixin, EventedAccessor } from "./Evented.js";
|
|
2
|
-
import type { CollectionChangeEvent } from "./types.js";
|
|
3
2
|
import type { Types } from "./accessorSupport/types.js";
|
|
4
3
|
|
|
5
4
|
export type ReadonlyArrayOrCollection<T> = readonly T[] | ReadonlyCollection<T>;
|
|
6
5
|
|
|
6
|
+
/**
|
|
7
|
+
* Event object emitted when a [Collection](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html) changes. It contains arrays of added, removed, and moved items.
|
|
8
|
+
*
|
|
9
|
+
* @since 5.0
|
|
10
|
+
*/
|
|
11
|
+
export interface CollectionChangeEvent<T = any> {
|
|
12
|
+
/**
|
|
13
|
+
* An array of items added to the collection using either [add()](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html#add) or [addMany()](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html#addMany).
|
|
14
|
+
*
|
|
15
|
+
* @since 5.0
|
|
16
|
+
*/
|
|
17
|
+
added: T[];
|
|
18
|
+
/**
|
|
19
|
+
* An array of items that moved in the collection using [reorder()](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html#reorder).
|
|
20
|
+
*
|
|
21
|
+
* @since 5.0
|
|
22
|
+
*/
|
|
23
|
+
moved: T[];
|
|
24
|
+
/**
|
|
25
|
+
* An array of items removed from the collection using either [remove()](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html#remove),
|
|
26
|
+
* [removeMany()](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html#removeMany), [removeAt()](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html#removeAt), or [removeAll()](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html#removeAll).
|
|
27
|
+
*
|
|
28
|
+
* @since 5.0
|
|
29
|
+
*/
|
|
30
|
+
removed: T[];
|
|
31
|
+
}
|
|
32
|
+
|
|
7
33
|
export interface CollectionEventObject<T> {
|
|
8
34
|
/**
|
|
9
35
|
* Indicates if the [@change](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html#event-change) event
|
package/core/types.d.ts
CHANGED
|
@@ -1,27 +1,4 @@
|
|
|
1
1
|
|
|
2
|
-
/** @since 5.0 */
|
|
3
|
-
export interface CollectionChangeEvent<T = any> {
|
|
4
|
-
/**
|
|
5
|
-
* An array of items added to the collection using either [Collection#add()](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html#add) or [Collection#addMany()](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html#addMany).
|
|
6
|
-
*
|
|
7
|
-
* @since 5.0
|
|
8
|
-
*/
|
|
9
|
-
added: T[];
|
|
10
|
-
/**
|
|
11
|
-
* An array of items that moved in the collection using [Collection#reorder()](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html#reorder).
|
|
12
|
-
*
|
|
13
|
-
* @since 5.0
|
|
14
|
-
*/
|
|
15
|
-
moved: T[];
|
|
16
|
-
/**
|
|
17
|
-
* An array of items removed from the collection using either [Collection#remove()](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html#remove),
|
|
18
|
-
* [Collection#removeMany()](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html#removeMany), [Collection#removeAt()](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html#removeAt), or [Collection#removeAll()](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html#removeAll).
|
|
19
|
-
*
|
|
20
|
-
* @since 5.0
|
|
21
|
-
*/
|
|
22
|
-
removed: T[];
|
|
23
|
-
}
|
|
24
|
-
|
|
25
2
|
/**
|
|
26
3
|
* Point on the screen (x, y) in the DOM/CSS coordinate space. In this space, the origin is at the top/left corner and
|
|
27
4
|
* device pixel ratio scale is not taken into account (i.e. 1px in this space may make up multiple physical pixels).
|
|
@@ -121,8 +121,6 @@ export default class MeshTexture extends MeshTextureSuperclass {
|
|
|
121
121
|
* The default value is automatically derived when the data property contains a canvas
|
|
122
122
|
* element or an ImageData object. If instead a url to a .png file was provided, it is
|
|
123
123
|
* assumed that transparency is present. In all other cases it defaults to `false`.
|
|
124
|
-
*
|
|
125
|
-
* @since 4.9
|
|
126
124
|
*/
|
|
127
125
|
accessor transparent: boolean;
|
|
128
126
|
/**
|
|
@@ -9,8 +9,6 @@ export default abstract class MeshVertexAttributes extends MeshVertexAttributesS
|
|
|
9
9
|
/**
|
|
10
10
|
* A flat array of the vertex colors (4 elements per vertex ranging from 0 to 255).
|
|
11
11
|
* Vertex colors are multiplied by the component material color (if any is defined).
|
|
12
|
-
*
|
|
13
|
-
* @since 4.9
|
|
14
12
|
*/
|
|
15
13
|
accessor color: MeshVertexColor | null | undefined;
|
|
16
14
|
/**
|
|
@@ -199,7 +199,6 @@ export abstract class IdentityManagerBase extends Evented {
|
|
|
199
199
|
* ---------|------|------------
|
|
200
200
|
* credential | [Credential](https://developers.arcgis.com/javascript/latest/api-reference/esri-identity-Credential.html) | The credential of the user.
|
|
201
201
|
* viewOnly | boolean | Indicates whether the app is only viewable. Default is `false`.
|
|
202
|
-
* @since 4.10
|
|
203
202
|
*/
|
|
204
203
|
checkAppAccess(resUrl: string, appId: string): Promise<object>;
|
|
205
204
|
/**
|
|
@@ -228,7 +227,6 @@ export abstract class IdentityManagerBase extends Evented {
|
|
|
228
227
|
* > The ArcGIS REST JS API's [enablePostMessageAuth](https://esri.github.io/arcgis-rest-js/api/auth/UserSession/#enablePostMessageAuth) method's signature is different than what is provided in the ArcGIS Maps SDK for JavaScript as explained here.
|
|
229
228
|
* > Step three, i.e. `Embed App boots and Requests Auth`, does not apply when using the ArcGIS Maps SDK for JavaScript.
|
|
230
229
|
*
|
|
231
|
-
* @since 4.19
|
|
232
230
|
* @see [Passing authentication to IFramed apps](https://esri.github.io/arcgis-rest-js/guides/embedded-apps/)
|
|
233
231
|
* @see [enablePostMessageAuth()](https://developers.arcgis.com/javascript/latest/api-reference/esri-identity-IdentityManagerBase.html#enablePostMessageAuth)
|
|
234
232
|
*/
|
|
@@ -253,7 +251,6 @@ export abstract class IdentityManagerBase extends Evented {
|
|
|
253
251
|
* > Step three, i.e. `Embed App boots and Requests Auth`, does not apply when using the ArcGIS Maps SDK for JavaScript.
|
|
254
252
|
*
|
|
255
253
|
* @param resUrl - The resource URL. Default value is `https://www.arcgis.com/sharing/rest`.
|
|
256
|
-
* @since 4.19
|
|
257
254
|
* @see [disablePostMessageAuth()](https://developers.arcgis.com/javascript/latest/api-reference/esri-identity-IdentityManagerBase.html#disablePostMessageAuth)
|
|
258
255
|
* @see [Passing authentication to IFramed apps](https://esri.github.io/arcgis-rest-js/guides/embedded-apps/)
|
|
259
256
|
*/
|
|
@@ -295,7 +292,7 @@ export abstract class IdentityManagerBase extends Evented {
|
|
|
295
292
|
*
|
|
296
293
|
* @param serverInfo - A ServerInfo object that contains a token service URL.
|
|
297
294
|
* @param userInfo - A user info object containing a user name and password.
|
|
298
|
-
* @param options -
|
|
295
|
+
* @param options - The options for generating a token.
|
|
299
296
|
* @returns Resolves to an object containing a token and expiration time.
|
|
300
297
|
* @since 5.0
|
|
301
298
|
*/
|
|
@@ -309,7 +306,7 @@ export abstract class IdentityManagerBase extends Evented {
|
|
|
309
306
|
* Returns a [Credential](https://developers.arcgis.com/javascript/latest/api-reference/esri-identity-Credential.html) object that can be used to access the secured resource identified by the input URL.
|
|
310
307
|
*
|
|
311
308
|
* @param url - The URL for the secure resource
|
|
312
|
-
* @param options -
|
|
309
|
+
* @param options - The options for getting the credential.
|
|
313
310
|
* @returns Resolves to an object containing a [Credential](https://developers.arcgis.com/javascript/latest/api-reference/esri-identity-Credential.html) that can be used to access the secured resource identified by the input URL.
|
|
314
311
|
* @since 5.0
|
|
315
312
|
*/
|
|
@@ -367,7 +364,7 @@ export abstract class IdentityManagerBase extends Evented {
|
|
|
367
364
|
* by the application forwards this token when accessing web maps and other items stored in ArcGIS Online,
|
|
368
365
|
* or resources on your server.
|
|
369
366
|
*
|
|
370
|
-
* @param properties -
|
|
367
|
+
* @param properties - Additional properties for registering a token.
|
|
371
368
|
* @since 5.0
|
|
372
369
|
*/
|
|
373
370
|
registerToken(properties: IdentityManagerRegisterTokenProperties): void;
|
package/interfaces.d.ts
CHANGED
|
@@ -915,7 +915,7 @@ declare namespace __esri {
|
|
|
915
915
|
export type CollectionBeforeRemoveEvent<T> = import("./core/Collection.js").CollectionEventObject<T>;
|
|
916
916
|
export type CollectionBeforeRemoveEventHandler<T> = (event: CollectionBeforeRemoveEvent<T>) => void;
|
|
917
917
|
|
|
918
|
-
export type CollectionChangeEvent<T> = import("./core/
|
|
918
|
+
export type CollectionChangeEvent<T> = import("./core/Collection.js").CollectionChangeEvent<T>;
|
|
919
919
|
export type CollectionChangeEventHandler<T> = (event: CollectionChangeEvent<T>) => void;
|
|
920
920
|
|
|
921
921
|
export type ReadonlyCollection<T = any> = import("./core/Collection.js").ReadonlyCollection<T>;
|
|
@@ -3017,6 +3017,8 @@ declare namespace __esri {
|
|
|
3017
3017
|
export type DirectionsViewModelSaveAsOptions = import("./layers/types.js").LayerSaveAsOptions;
|
|
3018
3018
|
export type WebSceneSaveAsOptions = import("./layers/types.js").LayerSaveAsOptions;
|
|
3019
3019
|
|
|
3020
|
+
export type ScaleRangesFromScaleRangeScaleRange = import("./layers/types.js").ScaleRange;
|
|
3021
|
+
|
|
3020
3022
|
export type BuildingComponentSublayerProperties = import("./layers/buildingSublayers/BuildingComponentSublayer.js").BuildingComponentSublayerProperties;
|
|
3021
3023
|
|
|
3022
3024
|
export type BuildingComponentSublayer = import("./layers/buildingSublayers/BuildingComponentSublayer.js").default;
|
|
@@ -3211,8 +3213,6 @@ declare namespace __esri {
|
|
|
3211
3213
|
export type RefreshableLayer = import("./layers/mixins/RefreshableLayer.js").RefreshableLayer;
|
|
3212
3214
|
export const RefreshableLayer: typeof import("./layers/mixins/RefreshableLayer.js").RefreshableLayer;
|
|
3213
3215
|
|
|
3214
|
-
export type ScaleRangesFromScaleRangeScaleRange = import("./layers/mixins/ScaleRange.js").ScaleRange;
|
|
3215
|
-
|
|
3216
3216
|
export type ScaleRangeLayerProperties = import("./layers/mixins/ScaleRangeLayer.js").ScaleRangeLayerProperties;
|
|
3217
3217
|
|
|
3218
3218
|
export type ScaleRangeLayer = import("./layers/mixins/ScaleRangeLayer.js").ScaleRangeLayer;
|
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.74",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};
|
|
@@ -108,10 +108,7 @@ export interface BaseDynamicLayerProperties extends LayerProperties, Refreshable
|
|
|
108
108
|
*/
|
|
109
109
|
export default abstract class BaseDynamicLayer extends BaseDynamicLayerSuperclass {
|
|
110
110
|
constructor(properties?: BaseDynamicLayerProperties);
|
|
111
|
-
/**
|
|
112
|
-
*
|
|
113
|
-
* The layer type provides a convenient way to check the type of the layer without the need to import specific layer modules.
|
|
114
|
-
*/
|
|
111
|
+
/** The layer type provides a convenient way to check the type of the layer without the need to import specific layer modules. */
|
|
115
112
|
get type(): "base-dynamic";
|
|
116
113
|
/**
|
|
117
114
|
* Adds a promise to the layer's loadable chain.
|