@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.
Files changed (258) hide show
  1. package/WebDocument2D.d.ts +5 -30
  2. package/analysis/ElevationProfile/ElevationProfileLineQuery.d.ts +1 -1
  3. package/assets/esri/core/workers/RemoteClient.js +1 -1
  4. package/assets/esri/core/workers/chunks/0b666327e8090a6e6f6a.js +1 -0
  5. package/assets/esri/core/workers/chunks/16a7edb381621085a631.js +1 -0
  6. package/assets/esri/core/workers/chunks/{e246b256347a281c13fd.js → 22288b62da20a7a78a4f.js} +1 -1
  7. package/assets/esri/core/workers/chunks/{7e37a3005f2ad2c0a918.js → 23cf4cbc389d2b50e968.js} +1 -1
  8. package/assets/esri/core/workers/chunks/{935a6dccb88557f98189.js → 2a2f33df530b61e3a43f.js} +7 -5
  9. package/assets/esri/core/workers/chunks/4750f55a289bc0cf3d77.js +1 -0
  10. package/assets/esri/core/workers/chunks/a5181292b309b8249bd8.js +1 -0
  11. package/assets/esri/core/workers/chunks/ae733ee050f27f7d8924.js +1 -0
  12. package/assets/esri/core/workers/chunks/{64985e9b6e2edb3ceb37.js → b498db9715a722c52995.js} +45 -58
  13. package/assets/esri/core/workers/chunks/befeca51530bba5e8073.js +1 -0
  14. package/assets/esri/core/workers/chunks/cd788ed111e1e35cf9c8.js +1 -0
  15. package/assets/esri/core/workers/chunks/f35021214e534d5e0446.js +1 -0
  16. package/assets/esri/themes/base/widgets/_FeatureTable.scss +99 -22
  17. package/assets/esri/themes/dark/main.css +1 -1
  18. package/assets/esri/themes/light/main.css +1 -1
  19. package/assets/esri/themes/light/view.css +1 -1
  20. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable.json +1 -1
  21. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_en.json +1 -1
  22. package/chunks/ComponentShader.glsl.js +1 -1
  23. package/chunks/GlowBlur.glsl.js +2 -3
  24. package/chunks/HUDMaterial.glsl.js +43 -56
  25. package/config.d.ts +6 -8
  26. package/config.js +1 -1
  27. package/core/Collection.d.ts +27 -1
  28. package/core/types.d.ts +0 -23
  29. package/geometry/support/MeshTexture.d.ts +0 -2
  30. package/geometry/support/MeshVertexAttributes.d.ts +0 -2
  31. package/identity/IdentityManagerBase.d.ts +3 -6
  32. package/interfaces.d.ts +3 -3
  33. package/kernel.js +1 -1
  34. package/layers/BaseDynamicLayer.d.ts +1 -4
  35. package/layers/BaseElevationLayer.d.ts +3 -6
  36. package/layers/BuildingSceneLayer.d.ts +1 -4
  37. package/layers/CSVLayer.d.ts +1 -4
  38. package/layers/CatalogLayer.d.ts +1 -4
  39. package/layers/DimensionLayer.d.ts +1 -4
  40. package/layers/ElevationLayer.d.ts +3 -6
  41. package/layers/FeatureLayer.d.ts +1 -4
  42. package/layers/GaussianSplatLayer.d.ts +0 -1
  43. package/layers/GeoJSONLayer.d.ts +1 -4
  44. package/layers/GeoRSSLayer.d.ts +1 -4
  45. package/layers/GraphicsLayer.d.ts +1 -4
  46. package/layers/GroupLayer.d.ts +1 -4
  47. package/layers/ImageryLayer.d.ts +1 -4
  48. package/layers/ImageryTileLayer.d.ts +1 -4
  49. package/layers/IntegratedMesh3DTilesLayer.d.ts +1 -4
  50. package/layers/IntegratedMeshLayer.d.ts +1 -4
  51. package/layers/KMLLayer.d.ts +1 -4
  52. package/layers/Layer.d.ts +2 -6
  53. package/layers/LineOfSightLayer.d.ts +1 -4
  54. package/layers/MapImageLayer.d.ts +1 -4
  55. package/layers/MapNotesLayer.d.ts +1 -4
  56. package/layers/MediaLayer.d.ts +1 -4
  57. package/layers/OGCFeatureLayer.d.ts +1 -4
  58. package/layers/OrientedImageryLayer.d.ts +1 -4
  59. package/layers/ParquetLayer.d.ts +1 -4
  60. package/layers/PointCloudLayer.d.ts +1 -4
  61. package/layers/RouteLayer.d.ts +2 -5
  62. package/layers/SceneLayer.d.ts +1 -4
  63. package/layers/SubtypeGroupLayer.d.ts +1 -12
  64. package/layers/TileLayer.d.ts +1 -4
  65. package/layers/UnknownLayer.d.ts +1 -4
  66. package/layers/UnsupportedLayer.d.ts +1 -4
  67. package/layers/VectorTileLayer.d.ts +1 -4
  68. package/layers/VideoLayer.d.ts +1 -4
  69. package/layers/ViewshedLayer.d.ts +1 -4
  70. package/layers/VoxelLayer.d.ts +1 -4
  71. package/layers/WCSLayer.d.ts +1 -4
  72. package/layers/WFSLayer.d.ts +1 -4
  73. package/layers/WMSLayer.d.ts +1 -4
  74. package/layers/WMTSLayer.d.ts +1 -4
  75. package/layers/catalog/CatalogDynamicGroupLayer.d.ts +1 -4
  76. package/layers/catalog/CatalogFootprintLayer.d.ts +1 -4
  77. package/layers/knowledgeGraph/KnowledgeGraphSublayer.d.ts +1 -6
  78. package/layers/mixins/EditBusLayer.d.ts +0 -1
  79. package/layers/support/FeatureFilter.d.ts +0 -1
  80. package/layers/support/MosaicRule.d.ts +0 -4
  81. package/layers/support/types.d.ts +2 -2
  82. package/layers/types.d.ts +19 -6
  83. package/package.json +1 -1
  84. package/portal/PortalUser.d.ts +1 -1
  85. package/renderers/support/RendererLegendOptions.d.ts +0 -1
  86. package/request/types.d.ts +0 -1
  87. package/rest/support/NormalizationBinParametersMixin.d.ts +18 -20
  88. package/rest/support/PrintTemplate.d.ts +0 -1
  89. package/rest/support/RelationshipQuery.d.ts +1 -10
  90. package/rest/support/types.d.ts +29 -3
  91. package/smartMapping/heuristics/binLevel.d.ts +1 -1
  92. package/smartMapping/heuristics/scaleRange.d.ts +1 -1
  93. package/smartMapping/heuristics/sizeRange.d.ts +1 -1
  94. package/smartMapping/heuristics/types.d.ts +0 -2
  95. package/smartMapping/labels/bins.d.ts +1 -1
  96. package/smartMapping/labels/clusters.d.ts +1 -1
  97. package/smartMapping/popup/clusters.d.ts +1 -1
  98. package/smartMapping/popup/templates.d.ts +1 -1
  99. package/smartMapping/raster/renderers/classBreaks.d.ts +1 -1
  100. package/smartMapping/raster/renderers/colormap.d.ts +1 -1
  101. package/smartMapping/raster/renderers/flow.d.ts +0 -1
  102. package/smartMapping/raster/renderers/rgb.d.ts +1 -1
  103. package/smartMapping/raster/renderers/shadedRelief.d.ts +0 -1
  104. package/smartMapping/raster/renderers/stretch.d.ts +1 -1
  105. package/smartMapping/raster/renderers/uniqueValue.d.ts +0 -1
  106. package/smartMapping/raster/renderers/vectorField.d.ts +0 -1
  107. package/smartMapping/raster/support/utils.d.ts +0 -2
  108. package/smartMapping/renderers/color.d.ts +6 -6
  109. package/smartMapping/renderers/dotDensity.d.ts +0 -1
  110. package/smartMapping/renderers/heatmap.d.ts +1 -1
  111. package/smartMapping/renderers/location.d.ts +0 -1
  112. package/smartMapping/renderers/opacity.d.ts +1 -1
  113. package/smartMapping/renderers/pieChart.d.ts +0 -2
  114. package/smartMapping/renderers/predominance.d.ts +0 -1
  115. package/smartMapping/renderers/relationship.d.ts +0 -1
  116. package/smartMapping/renderers/size.d.ts +4 -6
  117. package/smartMapping/renderers/type.d.ts +9 -5
  118. package/smartMapping/renderers/univariateColorSize.d.ts +2 -2
  119. package/smartMapping/statistics/classBreaks.d.ts +1 -1
  120. package/smartMapping/statistics/heatmapStatistics.d.ts +1 -1
  121. package/smartMapping/statistics/histogram.d.ts +1 -1
  122. package/smartMapping/statistics/predominantCategories.d.ts +1 -1
  123. package/smartMapping/statistics/summaryStatistics.d.ts +1 -1
  124. package/smartMapping/statistics/summaryStatisticsForAge.d.ts +1 -1
  125. package/smartMapping/statistics/support/ageUtils.d.ts +1 -1
  126. package/smartMapping/statistics/types.d.ts +26 -8
  127. package/smartMapping/statistics/uniqueValues.d.ts +1 -1
  128. package/smartMapping/symbology/color.d.ts +4 -4
  129. package/smartMapping/symbology/dotDensity.d.ts +3 -3
  130. package/smartMapping/symbology/flow.d.ts +3 -3
  131. package/smartMapping/symbology/heatmap.d.ts +3 -3
  132. package/smartMapping/symbology/location.d.ts +1 -1
  133. package/smartMapping/symbology/pieChart.d.ts +3 -3
  134. package/smartMapping/symbology/predominance.d.ts +3 -3
  135. package/smartMapping/symbology/relationship.d.ts +3 -3
  136. package/smartMapping/symbology/size.d.ts +1 -1
  137. package/smartMapping/symbology/support/colorRamps.d.ts +1 -1
  138. package/smartMapping/symbology/type.d.ts +3 -3
  139. package/support/revision.js +1 -1
  140. package/symbols/cim/types.d.ts +0 -12
  141. package/symbols/support/symbolUtils.d.ts +1 -1
  142. package/views/2d/MapViewConstraints.d.ts +2 -10
  143. package/views/2d/engine/brushes.js +1 -1
  144. package/views/2d/engine/vectorTiles/GlyphMosaic.js +1 -1
  145. package/views/2d/engine/vectorTiles/MemoryBuffer.js +1 -1
  146. package/views/2d/engine/vectorTiles/RenderBucket.js +1 -1
  147. package/views/2d/engine/vectorTiles/SpriteMosaic.js +1 -1
  148. package/views/2d/engine/vectorTiles/VTLPainter3D.js +1 -1
  149. package/views/2d/engine/vectorTiles/VectorTileContainer.js +1 -1
  150. package/views/2d/engine/vectorTiles/VertexMemoryBuffer.js +1 -1
  151. package/views/2d/engine/vectorTiles/shaders/VTLBackgroundMaterial.js +1 -1
  152. package/views/2d/engine/vectorTiles/shaders/VTLCircleMaterial.js +1 -1
  153. package/views/2d/engine/vectorTiles/shaders/VTLFillMaterial.js +1 -1
  154. package/views/2d/engine/vectorTiles/shaders/VTLLineMaterial.js +1 -1
  155. package/views/2d/engine/vectorTiles/shaders/VTLMaterial.js +1 -1
  156. package/views/2d/engine/vectorTiles/shaders/VTLSymbolMaterial.js +1 -1
  157. package/views/2d/engine/vectorTiles/style/StyleLayer.js +1 -1
  158. package/views/2d/engine/webgl/Painter.js +1 -1
  159. package/views/2d/engine/webgl/RenderingDevice.js +5 -0
  160. package/views/2d/engine/webgl/WGLContainer.js +1 -1
  161. package/views/2d/engine/webgl/meshing/Mesh.js +1 -1
  162. package/views/2d/engine/webgl/number.js +1 -1
  163. package/views/2d/engine/webgl/shaderGraph/graph/glsl.js +1 -1
  164. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/vector-tiles/VTLShaderBackground.js +5 -0
  165. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/vector-tiles/VTLShaderCircle.js +5 -0
  166. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/vector-tiles/VTLShaderFill.js +5 -0
  167. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/vector-tiles/VTLShaderIcon.js +5 -0
  168. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/vector-tiles/VTLShaderLine.js +5 -0
  169. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/vector-tiles/VTLShaderOutline.js +5 -0
  170. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/vector-tiles/VTLShaderText.js +5 -0
  171. package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueBackground.js +5 -0
  172. package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueCircle.js +5 -0
  173. package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueFill.js +5 -0
  174. package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueLine.js +5 -0
  175. package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueSymbol.js +5 -0
  176. package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniques.js +5 -0
  177. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  178. package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
  179. package/views/3d/layers/graphics/Graphics3DIconSymbolLayer.js +1 -1
  180. package/views/3d/layers/graphics/Graphics3DTextSymbolLayer.js +1 -1
  181. package/views/3d/layers/i3s/meshUtils.js +1 -1
  182. package/views/3d/state/NearFarHeuristic.js +1 -1
  183. package/views/3d/webgl-engine/collections/Component/ComponentObjectCollection.js +1 -1
  184. package/views/3d/webgl-engine/collections/Component/Material/ComponentData.glsl.js +1 -1
  185. package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
  186. package/views/3d/webgl-engine/collections/Component/Material/ComponentTechniqueConfiguration.js +1 -1
  187. package/views/3d/webgl-engine/core/shaderLibrary/attributes/VertexNormal.glsl.js +6 -4
  188. package/views/3d/webgl-engine/core/shaderLibrary/attributes/VertexPosition.glsl.js +18 -14
  189. package/views/3d/webgl-engine/effects/glow/GlowBlur.glsl.js +1 -1
  190. package/views/3d/webgl-engine/effects/glow/GlowRenderNode.js +1 -1
  191. package/views/3d/webgl-engine/lib/edgeRendering/EdgeShaderTechniqueConfiguration.js +1 -1
  192. package/views/3d/webgl-engine/materials/HUDMaterial.js +1 -1
  193. package/views/3d/webgl-engine/shaders/HUDMaterial.glsl.js +1 -1
  194. package/views/3d/webgl-engine/shaders/HUDMaterialTechniqueConfiguration.js +1 -1
  195. package/views/3d/webgl-engine/shaders/sources/edgeRenderer/EdgeUtil.glsl.js +23 -20
  196. package/views/BreakpointsOwner.d.ts +2 -2
  197. package/views/LinkChartView.d.ts +0 -2
  198. package/views/View2D.d.ts +3 -15
  199. package/views/input/types.d.ts +2 -13
  200. package/views/layers/BuildingComponentSublayerView.d.ts +0 -1
  201. package/views/types.d.ts +2 -9
  202. package/views/webgl/VertexArrayObject.js +1 -1
  203. package/webdoc/ips/SmoothingProperties.d.ts +1 -1
  204. package/webdoc/ips/SmoothingProperties.js +1 -1
  205. package/widgets/BasemapLayerList/BasemapLayerListVisibleElements.d.ts +10 -10
  206. package/widgets/BasemapLayerList/types.d.ts +6 -1
  207. package/widgets/Bookmarks/BookmarksVisibleElements.d.ts +0 -9
  208. package/widgets/Bookmarks/types.d.ts +0 -4
  209. package/widgets/CatalogLayerList/CatalogLayerListVisibleElements.d.ts +2 -2
  210. package/widgets/CatalogLayerList/types.d.ts +5 -1
  211. package/widgets/Editor/VisibleElements.d.ts +0 -11
  212. package/widgets/ElevationProfile/types.d.ts +1 -1
  213. package/widgets/FeatureTable/FeatureTableViewModel.js +1 -1
  214. package/widgets/FeatureTable/FieldColumn.d.ts +0 -1
  215. package/widgets/FeatureTable/VisibleElements.d.ts +2 -16
  216. package/widgets/FeatureTable/support/AttachmentsViewOptions.d.ts +5 -3
  217. package/widgets/FeatureTable/support/AttachmentsViewOptions.js +1 -1
  218. package/widgets/FeatureTable/support/FeatureStore.js +1 -1
  219. package/widgets/FeatureTable.js +1 -1
  220. package/widgets/Features/FeaturesViewModel.d.ts +3 -27
  221. package/widgets/Features/FeaturesVisibleElements.d.ts +4 -4
  222. package/widgets/LayerList/LayerListViewModel.d.ts +20 -5
  223. package/widgets/LayerList/LayerListVisibleElements.d.ts +10 -12
  224. package/widgets/LayerList/ListItem.d.ts +33 -0
  225. package/widgets/LayerList/ListItemPanel.d.ts +8 -2
  226. package/widgets/LayerList/types.d.ts +58 -15
  227. package/widgets/Popup/PopupVisibleElements.d.ts +6 -6
  228. package/widgets/Popup/types.d.ts +1 -1
  229. package/widgets/ScaleRangeSlider/ScaleRanges.d.ts +1 -1
  230. package/widgets/Sketch/CreateToolVisibilityMap.d.ts +0 -4
  231. package/widgets/Sketch/VisibleElements.d.ts +0 -2
  232. package/widgets/Sketch/types.d.ts +1 -1
  233. package/widgets/TableList/ListItemPanel.d.ts +8 -0
  234. package/widgets/TableList/TableListViewModel.d.ts +9 -14
  235. package/widgets/TableList/TableListVisibleElements.d.ts +9 -11
  236. package/widgets/TableList/types.d.ts +13 -7
  237. package/widgets/support/SnappingControls/VisibleElements.d.ts +0 -4
  238. package/widgets/types.d.ts +1 -9
  239. package/assets/esri/core/workers/chunks/1d8fc0239c907ff5d1e8.js +0 -1
  240. package/assets/esri/core/workers/chunks/562cddaf63985e53ee6e.js +0 -1
  241. package/assets/esri/core/workers/chunks/b899b4e7979c13b99526.js +0 -1
  242. package/assets/esri/core/workers/chunks/d0ae8752419d5b761190.js +0 -1
  243. package/assets/esri/core/workers/chunks/df2ba5f9d57080fca183.js +0 -1
  244. package/assets/esri/core/workers/chunks/ee175fd4ec706f7878c0.js +0 -1
  245. package/assets/esri/core/workers/chunks/fc00d7278b43df813c54.js +0 -1
  246. package/layers/mixins/ScaleRange.d.ts +0 -16
  247. package/views/2d/engine/vectorTiles/shaders/Programs.js +0 -5
  248. package/views/2d/engine/vectorTiles/shaders/VTLMaterialManager.js +0 -5
  249. package/views/2d/engine/vectorTiles/shaders/sources/resolver.js +0 -5
  250. package/views/2d/engine/vectorTiles/shaders/sources/shaderRepository.js +0 -5
  251. package/views/2d/engine/vtlBrushes.js +0 -5
  252. package/views/2d/engine/webgl/brushes/WGLBrushVTLBackground.js +0 -5
  253. package/views/2d/engine/webgl/brushes/WGLBrushVTLCircle.js +0 -5
  254. package/views/2d/engine/webgl/brushes/WGLBrushVTLFill.js +0 -5
  255. package/views/2d/engine/webgl/brushes/WGLBrushVTLLine.js +0 -5
  256. package/views/2d/engine/webgl/brushes/WGLBrushVTLSymbol.js +0 -5
  257. package/views/3d/webgl-engine/effects/glow/GlowPresets.glsl.js +0 -5
  258. 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","noDataFound":"No data found","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
+ {"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","noDataFound":"No data found","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
+ {"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,componentData: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`
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; }")}
@@ -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{blurRadiusPresets as l}from"../views/3d/webgl-engine/effects/glow/GlowPresets.glsl.js";import{NoParameters as n}from"../views/webgl/NoParameters.js";import{ShaderBuilder as a}from"../views/webgl/ShaderBuilder.js";class c extends n{constructor(){super(...arguments),this.blurRadius=l.sunny}}function u(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`
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 d=Object.freeze(Object.defineProperty({__proto__:null,GlowBlurPassParameters:c,build:u},Symbol.toStringTag,{value:"Module"}));export{c as G,d as a,u as b};
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,fromValues as t}from"../core/libs/gl-matrix-2/factories/vec4f64.js";import{earth as l}from"../geometry/support/Ellipsoid.js";import{RejectBySlice as a}from"../views/3d/webgl-engine/core/shaderLibrary/Slice.glsl.js";import{ObjectAndLayerIdColor as s}from"../views/3d/webgl-engine/core/shaderLibrary/attributes/ObjectAndLayerIdColor.glsl.js";import{AlignPixel as n}from"../views/3d/webgl-engine/core/shaderLibrary/hud/AlignPixel.glsl.js";import{HUD as c}from"../views/3d/webgl-engine/core/shaderLibrary/hud/HUD.glsl.js";import{HUDOcclusionPass as d}from"../views/3d/webgl-engine/core/shaderLibrary/hud/HUDOcclusionPass.glsl.js";import{HUDVisibility as u}from"../views/3d/webgl-engine/core/shaderLibrary/hud/HUDVisibility.glsl.js";import{OutputHighlight as f}from"../views/3d/webgl-engine/core/shaderLibrary/output/OutputHighlight.glsl.js";import{positionOutsideClipSpace as p}from"../views/3d/webgl-engine/core/shaderLibrary/shading/PositionOutsideClipSpace.js";import{VisualVariables as m}from"../views/3d/webgl-engine/core/shaderLibrary/shading/VisualVariables.glsl.js";import{ColorConversion as g}from"../views/3d/webgl-engine/core/shaderLibrary/util/ColorConversion.glsl.js";import{ScreenSizePerspective as v,addScreenSizePerspective as b,addScreenSizePerspectiveAlignment as x}from"../views/3d/webgl-engine/core/shaderLibrary/util/ScreenSizePerspective.glsl.js";import{addPixelRatio as h}from"../views/3d/webgl-engine/core/shaderLibrary/util/View.glsl.js";import{Float2PassUniform as w}from"../views/3d/webgl-engine/core/shaderModules/Float2PassUniform.js";import{Float4BindUniform as C}from"../views/3d/webgl-engine/core/shaderModules/Float4BindUniform.js";import{Float4DrawUniform as z}from"../views/3d/webgl-engine/core/shaderModules/Float4DrawUniform.js";import{Float4PassUniform as P}from"../views/3d/webgl-engine/core/shaderModules/Float4PassUniform.js";import{FloatBindUniform as S}from"../views/3d/webgl-engine/core/shaderModules/FloatBindUniform.js";import{FloatPassUniform as j}from"../views/3d/webgl-engine/core/shaderModules/FloatPassUniform.js";import{glsl as y,If as A}from"../views/3d/webgl-engine/core/shaderModules/glsl.js";import{Texture2DBindUniform as $}from"../views/3d/webgl-engine/core/shaderModules/Texture2DBindUniform.js";import{Texture2DPassUniform as O}from"../views/3d/webgl-engine/core/shaderModules/Texture2DPassUniform.js";import{ShaderBuilder as D}from"../views/webgl/ShaderBuilder.js";import{alphaCutoff as F}from"../webscene/support/AlphaCutoff.js";function T(e){const i=new D;if(i.include(c,e),i.vertex.include(a,e),e.occlusionPass)return i.include(d,e),i;const{output:T,oitPass:L,signedDistanceFieldEnabled:V,visibilityPixelEnabled:H,horizonCullingEnabled:_,pixelSnappingEnabled:q,hasEmission:R,hasScreenSizePerspective:k,debugDrawLabelBorder:I,hasVVSize:G,hasVVColor:J,hasRotation:K,occludedFragmentFade:N,sampleSignedDistanceFieldTexelCenter:Q}=e;i.include(v),i.include(m,e),i.include(s,e),H&&i.include(u);const{vertex:W,fragment:X}=i;X.include(g),i.varyings.add("vcolor","vec4"),i.varyings.add("vtc","vec2"),i.varyings.add("vsize","vec2");const Y=8===T,Z=Y&&H;Z&&i.varyings.add("voccluded","float"),W.uniforms.add(new C("viewport",e=>e.camera.fullViewport),new w("screenOffset",(e,i)=>o(U,2*e.screenOffset[0]*i.camera.pixelRatio,2*e.screenOffset[1]*i.camera.pixelRatio)),new w("anchorPosition",e=>M(e)),new P("materialColor",e=>e.color),new j("materialRotation",e=>e.rotation),new O("tex",e=>e.texture)),h(W),V&&(W.uniforms.add(new P("outlineColor",e=>e.outlineColor)),X.uniforms.add(new P("outlineColor",e=>B(e)?e.outlineColor:r),new j("outlineSize",e=>B(e)?e.outlineSize:0))),_&&W.uniforms.add(new z("pointDistanceSphere",(e,o)=>{const i=o.camera.eye,r=e.origin;return t(r[0]-i[0],r[1]-i[1],r[2]-i[2],l.radius)})),q&&W.include(n),k&&(b(W),x(W)),I&&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"),(G||J)&&i.attributes.add("featureAttribute","vec4"),W.code.add(_?y`bool behindHorizon(vec3 posModel) {
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 = ${p};
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
- ${A(k,y`
16
+ ${P(q,S`
30
17
  inputSize = screenSizePerspectiveScaleVec2(size, projectAux.absCosAngle, projectAux.distanceToCamera, screenSizePerspective);
31
- vec2 screenOffsetScaled = screenSizePerspectiveScaleVec2(screenOffset, projectAux.absCosAngle, projectAux.distanceToCamera, screenSizePerspectiveAlignment);`,y`
18
+ vec2 screenOffsetScaled = screenSizePerspectiveScaleVec2(screenOffset, projectAux.absCosAngle, projectAux.distanceToCamera, screenSizePerspectiveAlignment);`,S`
32
19
  inputSize = size;
33
20
  vec2 screenOffsetScaled = screenOffset;`)}
34
- ${A(G,y`inputSize *= vvScale(featureAttribute).xx;`)}
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
- ${A(H,y`
26
+ ${P(M,S`
40
27
  bool visible = testHUDVisibility(posProj);
41
28
  if (!visible) {
42
29
  vtc = vec2(0.0);
43
- ${A(I,"debugBorderCoords = vec4(0.5, 0.5, 1.5 / combinedSize);")}
30
+ ${P(H,"debugBorderCoords = vec4(0.5, 0.5, 1.5 / combinedSize);")}
44
31
  return;
45
32
  }`)}
46
- ${A(Z,y`voccluded = visible ? 0.0 : 1.0;`)}
47
- `);const ee=y`
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(${E})));
37
+ uv = mix(vec2(1.0), uv / texSize, lessThan(uv, vec2(${U})));
51
38
  quadOffset.xy = (uv0 - anchorPosition) * 2.0 * combinedSize;
52
39
 
53
- ${A(K,y`
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
- `,oe=q?V?y`posProj = alignToPixelOrigin(posProj, viewport.zw) + quadOffset;`:y`posProj += quadOffset;
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
- }`:y`posProj += quadOffset;`;W.main.add(y`
67
- ${ee}
68
- ${J?"vcolor = interpolateVVColor(featureAttribute.y) * materialColor;":"vcolor = color / 255.0 * materialColor;"}
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
- ${A(9===T,y`vcolor.a = 1.0;`)}
57
+ ${P(9===O,S`vcolor.a = 1.0;`)}
71
58
 
72
- bool alphaDiscard = vcolor.a < ${y.float(F)};
73
- ${A(V,`alphaDiscard = alphaDiscard && outlineColor.a < ${y.float(F)};`)}
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
- ${oe}
66
+ ${X}
80
67
  gl_Position = posProj;
81
68
  }
82
69
 
83
70
  vtc = uv;
84
71
 
85
- ${A(I,y`debugBorderCoords = vec4(uv01, 1.5 / combinedSize);`)}
72
+ ${P(H,S`debugBorderCoords = vec4(uv01, 1.5 / combinedSize);`)}
86
73
  vsize = inputSize;
87
- `),X.uniforms.add(new O("tex",e=>e.texture)),N&&!Y&&X.uniforms.add(new $("depthMap",e=>e.mainDepth),new S("occludedOpacity",e=>e.hudOccludedFragmentOpacity));const ie=I?y`(isBorder > 0.0 ? 0.0 : ${y.float(F)})`:y.float(F),re=y`
88
- ${A(I,y`float isBorder = float(any(lessThan(debugBorderCoords.xy, debugBorderCoords.zw)) || any(greaterThan(debugBorderCoords.xy, 1.0 - debugBorderCoords.zw)));`)}
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
- ${A(Q,y`
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?y`
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 < ${ie} ||
122
- fillPixelColor.a + outlinePixelColor.a < ${y.float(F)}
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
- ${A(!Y,y`fragColor = vec4(compositeColor, compositeAlpha);`)}
119
+ ${P(!N,S`fragColor = vec4(compositeColor, compositeAlpha);`)}
133
120
  } else {
134
- if (fillAlphaFactor < ${ie}) {
121
+ if (fillAlphaFactor < ${Y}) {
135
122
  discard;
136
123
  }
137
124
 
138
- ${A(!Y,y`fragColor = premultiplyAlpha(fillPixelColor);`)}
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
- `:y`
130
+ `:S`
144
131
  vec4 texColor = texture(tex, samplePos, -0.5);
145
- if (texColor.a < ${ie}) {
132
+ if (texColor.a < ${Y}) {
146
133
  discard;
147
134
  }
148
- ${A(!Y,y`fragColor = texColor * premultiplyAlpha(vcolor);`)}
135
+ ${P(!N,S`fragColor = texColor * premultiplyAlpha(vcolor);`)}
149
136
  `}
150
137
 
151
- ${A(N&&!Y,y`
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
- ${A(!Y&&I,y`fragColor = mix(fragColor, vec4(1.0, 0.0, 1.0, 1.0), isBorder * 0.5);`)}
159
- `;switch(T){case 0:i.outputs.add("fragColor","vec4",0),R&&i.outputs.add("fragEmission","vec4",1),1===L&&i.outputs.add("fragAlpha","float",R?2:1),X.main.add(y`
160
- ${re}
161
- ${A(2===L,y`fragColor.rgb /= fragColor.a;`)}
162
- ${A(R,y`fragEmission = vec4(0.0);`)}
163
- ${A(1===L,y`fragAlpha = fragColor.a;`)}`);break;case 9:X.main.add(y`
164
- ${re}
165
- outputObjectAndLayerIdColor();`);break;case 8:i.include(f,e),X.main.add(y`
166
- ${re}
167
- outputHighlight(${A(Z,y`voccluded == 1.0`,y`false`)});`)}return i}function B(e){return e.outlineColor[3]>0&&e.outlineSize>0}function M(o){return o.textureIsSignedDistanceField?L(o.anchorPosition,o.distanceFieldBoundingBox,U):e(U,o.anchorPosition),U}function L(e,i,r){o(r,e[0]*(i[2]-i[0])+i[0],e[1]*(i[3]-i[1])+i[1])}const U=i(),V=32e3,E=y.float(V),H=Object.freeze(Object.defineProperty({__proto__:null,build:T,calculateAnchorPosition:M,fullUV:V},Symbol.toStringTag,{value:"Module"}));export{H,T as b,M as c,V as f};
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.73";s.assetsPath=`https://cdn.jsdelivr.net/npm/@arcgis/core@${e}/assets`}s.defaultAssetsPath=s.assetsPath}export{s as default};
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};
@@ -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 - See the table below for the structure of this object.
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 - See the table below for the structure of the **options** object.
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 - See the table below for the structure of the **properties** object.
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/types.js").CollectionChangeEvent<T>;
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.73",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};
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.