@arcgis/core 5.0.0-next.68 → 5.0.0-next.69

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 (336) hide show
  1. package/Ground.d.ts +3 -4
  2. package/WebDocument2D.d.ts +1 -1
  3. package/WebLinkChart.d.ts +2 -0
  4. package/analysis/ElevationProfile/ElevationProfileLineQuery.d.ts +3 -4
  5. package/analysis/types.d.ts +1 -0
  6. package/applications/Components/analysisUtils.d.ts +1 -3
  7. package/applications/Components/arcadeFeatureUtils.d.ts +1 -1
  8. package/applications/ExperienceBuilder/sketchUtils.d.ts +2 -2
  9. package/applications/KnowledgeStudio/reshape.d.ts +2 -2
  10. package/applications/SceneViewer/sceneViewerUtils.d.ts +11 -0
  11. package/applications/SceneViewer/sceneViewerUtils.js +1 -1
  12. package/assets/esri/core/libs/libtess/libtess-f32.wasm +0 -0
  13. package/assets/esri/core/libs/libtess/libtess-f64.wasm +0 -0
  14. package/assets/esri/core/workers/RemoteClient.js +1 -1
  15. package/assets/esri/core/workers/chunks/{c623918e289a09905cd1.js → 01d7542d85a453384cf1.js} +1 -1
  16. package/assets/esri/core/workers/chunks/{168ec8fca2702617a543.js → 09dfec3e097ebbef6a89.js} +1 -1
  17. package/assets/esri/core/workers/chunks/{794960ec36e11f4416c2.js → 1d1e25bb61eeeee8ee94.js} +1 -1
  18. package/assets/esri/core/workers/chunks/2e2c47f8a80ee9234350.js +1 -0
  19. package/assets/esri/core/workers/chunks/{b2a1e5e9182b643909eb.js → 4c04c54330b693892cfc.js} +47 -49
  20. package/assets/esri/core/workers/chunks/563933a84fc9b0e021f6.js +1 -0
  21. package/assets/esri/core/workers/chunks/58b3a776ef129f7f86dc.js +1 -0
  22. package/assets/esri/core/workers/chunks/58e8d41dcc450e6427c9.js +1 -0
  23. package/assets/esri/core/workers/chunks/6c9dac4a869742cc2718.js +1 -0
  24. package/assets/esri/core/workers/chunks/{e5aac523c37d906eece6.js → 827277e5da652bcecaf2.js} +1 -1
  25. package/assets/esri/core/workers/chunks/9f34cf024231f574009c.js +1 -0
  26. package/assets/esri/core/workers/chunks/a10c6dd3bb8b3602de68.js +1 -0
  27. package/assets/esri/core/workers/chunks/a64cd02ca959d511101c.js +1 -0
  28. package/assets/esri/core/workers/chunks/{0f8149fdcf0adeca268e.js → b28e0b89603d8b03f9e1.js} +1 -1
  29. package/assets/esri/core/workers/chunks/b5e4a36784d598ae6679.js +1 -0
  30. package/assets/esri/core/workers/chunks/{204d738c8b651314ae64.js → b899b4e7979c13b99526.js} +1 -1
  31. package/assets/esri/core/workers/chunks/bf05164b7a3e4f31e9db.js +1 -0
  32. package/assets/esri/core/workers/chunks/d0ae8752419d5b761190.js +1 -0
  33. package/assets/esri/core/workers/chunks/dbfb00fb28b8b9f687a1.js +1 -0
  34. package/assets/esri/core/workers/chunks/e071b912539304564b69.js +1 -0
  35. package/assets/esri/core/workers/chunks/{ab71865b94022e78035c.js → f92845eb7df1804fcd6d.js} +1 -1
  36. package/assets/esri/themes/base/widgets/_BatchAttributeForm.scss +108 -0
  37. package/assets/esri/themes/dark/main.css +1 -1
  38. package/assets/esri/themes/light/main.css +1 -1
  39. package/assets/esri/themes/light/view.css +1 -1
  40. package/chunks/GaussianSplat.glsl.js +2 -2
  41. package/chunks/GaussianSplatDepthComposition.glsl.js +4 -5
  42. package/chunks/HUDMaterial.glsl.js +45 -47
  43. package/chunks/LineMarker.glsl.js +33 -34
  44. package/chunks/PointRenderer.glsl.js +6 -6
  45. package/chunks/RibbonLine.glsl.js +62 -54
  46. package/chunks/libtess-f32.js +1 -1
  47. package/chunks/libtess-f64.js +1 -1
  48. package/config.js +1 -1
  49. package/core/Collection.d.ts +3 -2
  50. package/core/Identifiable.d.ts +1 -3
  51. package/core/accessorSupport/types.d.ts +0 -8
  52. package/core/promiseUtils.d.ts +1 -1
  53. package/core/reactiveUtils.d.ts +2 -2
  54. package/core/units.d.ts +8 -2
  55. package/geometry/HeightModelInfo.d.ts +3 -3
  56. package/geometry/SpatialReference.d.ts +2 -2
  57. package/geometry/libtess.js +1 -1
  58. package/geometry/support/meshUtils/types.d.ts +2 -2
  59. package/geometry/types.d.ts +2 -0
  60. package/identity/IdentityManagerBase.d.ts +4 -4
  61. package/interfaces.d.ts +2937 -2954
  62. package/kernel.js +1 -1
  63. package/layers/BaseElevationLayer.d.ts +3 -4
  64. package/layers/ElevationLayer.d.ts +3 -4
  65. package/layers/FeatureLayer.d.ts +12 -11
  66. package/layers/FeatureLayer.js +1 -1
  67. package/layers/GroupLayer.d.ts +3 -3
  68. package/layers/ImageryLayer.d.ts +3 -3
  69. package/layers/ImageryTileLayer.d.ts +3 -4
  70. package/layers/Layer.d.ts +4 -4
  71. package/layers/LineOfSightLayer.d.ts +1 -1
  72. package/layers/LinkChartLayer.js +1 -1
  73. package/layers/MapImageLayer.d.ts +7 -8
  74. package/layers/MediaLayer.d.ts +3 -3
  75. package/layers/OrientedImageryLayer.d.ts +3 -3
  76. package/layers/ParquetLayer.d.ts +1 -1
  77. package/layers/ParquetLayer.js +1 -1
  78. package/layers/RouteLayer.d.ts +2 -3
  79. package/layers/SceneLayer.d.ts +167 -3
  80. package/layers/SceneLayer.js +1 -1
  81. package/layers/StreamLayer.d.ts +3 -3
  82. package/layers/SubtypeGroupLayer.d.ts +3 -3
  83. package/layers/WCSLayer.d.ts +3 -3
  84. package/layers/graphics/sources/ParquetSource.d.ts +1 -1
  85. package/layers/graphics/sources/support/QueryTask.js +1 -1
  86. package/layers/mixins/SceneService.d.ts +2 -2
  87. package/layers/orientedImagery/queries.js +1 -1
  88. package/layers/orientedImagery/transformations/imageToWorld.d.ts +2 -2
  89. package/layers/orientedImagery/transformations/types.d.ts +1 -1
  90. package/layers/raster/datasets/pixelReader.d.ts +1 -7
  91. package/layers/raster/functions/creators/createBandIndexFunctions.d.ts +29 -29
  92. package/layers/support/BuildingFilterMode.d.ts +3 -1
  93. package/layers/support/BuildingFilterMode.js +1 -1
  94. package/layers/support/BuildingFilterModeSolid.js +1 -1
  95. package/layers/support/BuildingFilterModeWireFrame.js +1 -1
  96. package/layers/support/BuildingFilterModeXRay.js +1 -1
  97. package/layers/support/CodedValue.d.ts +1 -1
  98. package/layers/support/ControlPoint.d.ts +6 -20
  99. package/layers/support/ControlPointsGeoreference.d.ts +2 -1
  100. package/layers/support/ElevationSampler.d.ts +2 -2
  101. package/layers/support/FeatureReductionBinning.d.ts +4 -4
  102. package/layers/support/FeatureReductionBinning.js +1 -1
  103. package/layers/support/FeatureReductionSelection.d.ts +3 -3
  104. package/layers/support/FeatureReductionSelection.js +1 -1
  105. package/layers/support/Field.d.ts +1 -2
  106. package/layers/support/ParquetGeometryEncodingLocation.d.ts +6 -4
  107. package/layers/support/ParquetGeometryEncodingLocation.js +1 -1
  108. package/layers/support/ParquetGeometryEncodingWkb.d.ts +6 -4
  109. package/layers/support/ParquetGeometryEncodingWkb.js +1 -1
  110. package/layers/support/PixelBlock.d.ts +11 -3
  111. package/layers/support/RangeDomain.d.ts +2 -1
  112. package/layers/support/SceneServiceTimeInfo.js +5 -0
  113. package/layers/support/SpriteSource.d.ts +1 -0
  114. package/layers/support/Sublayer.d.ts +17 -16
  115. package/layers/support/Sublayer.js +1 -1
  116. package/layers/support/featureReductionUtils.js +1 -1
  117. package/layers/support/rasterFunctionUtils.d.ts +30 -30
  118. package/layers/support/types.d.ts +101 -1
  119. package/layers/types.d.ts +12 -1
  120. package/layers/wms/types.d.ts +0 -4
  121. package/networks/CircuitManager.d.ts +5 -5
  122. package/networks/Network.d.ts +5 -5
  123. package/networks/UtilityNetwork.d.ts +2 -2
  124. package/package.json +2 -2
  125. package/popup/content/types.d.ts +1 -3
  126. package/portal/PortalItem.d.ts +8 -8
  127. package/portal/PortalItemResource.d.ts +2 -2
  128. package/portal/PortalUser.d.ts +3 -3
  129. package/portal/support/resourceUtils.d.ts +3 -3
  130. package/portal/types.d.ts +6 -6
  131. package/renderers/support/pointCloud/types.d.ts +1 -0
  132. package/renderers/support/raster/types.d.ts +1 -0
  133. package/renderers/types.d.ts +2 -0
  134. package/rest/knowledgeGraph/wasmInterface/WasmDataModelWrapperInterfaces.d.ts +0 -2
  135. package/rest/layerSources/DynamicDataLayer.d.ts +102 -0
  136. package/rest/layerSources/DynamicDataLayer.js +5 -0
  137. package/{layers/support/source/MapLayerSource.d.ts → rest/layerSources/DynamicMapLayer.d.ts} +4 -4
  138. package/rest/layerSources/DynamicMapLayer.js +5 -0
  139. package/rest/layerSources/JoinTableDataSource.d.ts +75 -0
  140. package/rest/layerSources/JoinTableDataSource.js +5 -0
  141. package/{layers/support/source → rest/layerSources}/QueryTableDataSource.d.ts +8 -7
  142. package/rest/layerSources/QueryTableDataSource.js +5 -0
  143. package/{layers/support/source → rest/layerSources}/RasterDataSource.d.ts +2 -2
  144. package/rest/layerSources/RasterDataSource.js +5 -0
  145. package/{layers/support/source → rest/layerSources}/TableDataSource.d.ts +2 -2
  146. package/rest/layerSources/TableDataSource.js +5 -0
  147. package/rest/layerSources/utils.js +5 -0
  148. package/rest/print.js +1 -1
  149. package/rest/query/executeQuery.js +1 -1
  150. package/rest/support/Query.js +1 -1
  151. package/rest/support/RelationshipQuery.js +1 -1
  152. package/rest/support/types.d.ts +0 -4
  153. package/smartMapping/heuristics/binLevel.d.ts +2 -2
  154. package/smartMapping/heuristics/scaleRange.d.ts +2 -2
  155. package/smartMapping/heuristics/sizeRange.d.ts +2 -2
  156. package/smartMapping/heuristics/types.d.ts +3 -3
  157. package/smartMapping/labels/bins.d.ts +2 -2
  158. package/smartMapping/labels/clusters.d.ts +2 -2
  159. package/smartMapping/renderers/color.d.ts +14 -14
  160. package/smartMapping/renderers/dotDensity.d.ts +2 -2
  161. package/smartMapping/renderers/heatmap.d.ts +4 -4
  162. package/smartMapping/renderers/location.d.ts +2 -2
  163. package/smartMapping/renderers/opacity.d.ts +2 -2
  164. package/smartMapping/renderers/pieChart.d.ts +4 -4
  165. package/smartMapping/renderers/predominance.d.ts +2 -2
  166. package/smartMapping/renderers/relationship.d.ts +4 -4
  167. package/smartMapping/renderers/size.d.ts +15 -15
  168. package/smartMapping/renderers/support/rendererUtils.d.ts +2 -2
  169. package/smartMapping/renderers/type.d.ts +4 -4
  170. package/smartMapping/renderers/univariateColorSize.d.ts +4 -4
  171. package/smartMapping/statistics/classBreaks.d.ts +2 -2
  172. package/smartMapping/statistics/heatmapStatistics.d.ts +2 -2
  173. package/smartMapping/statistics/histogram.d.ts +2 -2
  174. package/smartMapping/statistics/predominantCategories.d.ts +2 -2
  175. package/smartMapping/statistics/summaryStatistics.d.ts +2 -2
  176. package/smartMapping/statistics/summaryStatisticsForAge.d.ts +2 -2
  177. package/smartMapping/statistics/support/ageUtils.d.ts +2 -2
  178. package/smartMapping/statistics/types.d.ts +7 -7
  179. package/smartMapping/statistics/uniqueValues.d.ts +2 -2
  180. package/smartMapping/symbology/color.d.ts +8 -8
  181. package/smartMapping/symbology/dotDensity.d.ts +6 -6
  182. package/smartMapping/symbology/flow.d.ts +6 -6
  183. package/smartMapping/symbology/heatmap.d.ts +6 -6
  184. package/smartMapping/symbology/location.d.ts +2 -2
  185. package/smartMapping/symbology/pieChart.d.ts +6 -6
  186. package/smartMapping/symbology/predominance.d.ts +6 -6
  187. package/smartMapping/symbology/relationship.d.ts +6 -6
  188. package/smartMapping/symbology/size.d.ts +2 -2
  189. package/smartMapping/symbology/support/colorRamps.d.ts +2 -2
  190. package/smartMapping/symbology/type.d.ts +6 -6
  191. package/support/popupUtils.d.ts +2 -2
  192. package/support/revision.js +1 -1
  193. package/symbols/LineSymbol3D.d.ts +2 -2
  194. package/symbols/PointSymbol3D.d.ts +2 -2
  195. package/symbols/PolygonSymbol3D.d.ts +2 -2
  196. package/symbols/patterns/LinePattern3D.d.ts +8 -0
  197. package/symbols/patterns/LineStylePattern3D.d.ts +1 -2
  198. package/symbols/patterns/Pattern3D.d.ts +9 -0
  199. package/symbols/patterns/StylePattern3D.d.ts +1 -2
  200. package/symbols/types.d.ts +7 -0
  201. package/unionTypes.d.ts +13 -13
  202. package/views/2d/analysis/types.d.ts +1 -0
  203. package/views/2d/engine/vectorTiles/shaders/sources/shaderRepository.js +1 -1
  204. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  205. package/views/2d/layers/BaseLayerView2D.d.ts +0 -5
  206. package/views/2d/layers/FeatureLayerView2D.js +1 -1
  207. package/views/2d/layers/StreamLayerView2D.js +1 -1
  208. package/views/2d/layers/features/Processor.js +1 -1
  209. package/views/2d/layers/support/MediaLayerInteractionOptions.js +1 -1
  210. package/views/3d/analysis/LineOfSightAnalysisView3D.d.ts +0 -2
  211. package/views/3d/analysis/types.d.ts +1 -0
  212. package/views/3d/environment/SunLighting.d.ts +1 -3
  213. package/views/3d/layers/GaussianSplatLayerView3D.js +1 -1
  214. package/views/3d/layers/support/MediaLayerInteractionOptions.d.ts +4 -0
  215. package/views/3d/support/QualityProfile.js +1 -1
  216. package/views/3d/support/QualitySettings.js +1 -1
  217. package/views/3d/support/gaussianSplatting/GaussianSplatDataStore.js +1 -1
  218. package/views/3d/support/gaussianSplatting/GaussianSplatFadeTexture.js +1 -1
  219. package/views/3d/webgl-engine/collections/Component/Transform.js +1 -1
  220. package/views/3d/webgl-engine/core/shaderLibrary/shading/PositionOutsideClipSpace.js +5 -0
  221. package/views/3d/webgl-engine/lib/GaussianSplatRenderNode.js +1 -1
  222. package/views/3d/webgl-engine/lib/LocalOriginManager.js +1 -1
  223. package/views/3d/webgl-engine/lib/edgeRendering/EdgeRenderer.js +1 -1
  224. package/views/3d/webgl-engine/lib/edgeRendering/EdgeView.js +1 -1
  225. package/views/3d/webgl-engine/lib/edgeRendering/LegacyTransform.js +5 -0
  226. package/views/3d/webgl-engine/shaders/GaussianSplat.glsl.js +1 -1
  227. package/views/3d/webgl-engine/shaders/GaussianSplatTechniqueConfiguration.js +1 -1
  228. package/views/3d/webgl-engine/shaders/HUDMaterial.glsl.js +1 -1
  229. package/views/3d/webgl-engine/shaders/LineMarker.glsl.js +1 -1
  230. package/views/3d/webgl-engine/shaders/PointRenderer.glsl.js +1 -1
  231. package/views/3d/webgl-engine/shaders/RibbonLine.glsl.js +1 -1
  232. package/views/SceneView.js +1 -1
  233. package/views/View.js +1 -1
  234. package/views/View2D.js +1 -1
  235. package/views/analysis/types.d.ts +4 -0
  236. package/views/input/types.d.ts +2 -4
  237. package/views/interactive/snapping/featureSources/featureServiceSource/FeatureServiceTiledFetcher.js +1 -1
  238. package/views/layers/CatalogLayerView.d.ts +1 -4
  239. package/views/layers/DimensionLayerView.d.ts +4 -6
  240. package/views/layers/DimensionLayerViewMixin.d.ts +0 -97
  241. package/views/layers/LineOfSightLayerView.d.ts +4 -6
  242. package/views/layers/LineOfSightLayerViewMixin.d.ts +0 -77
  243. package/views/layers/StreamLayerView.d.ts +31 -2
  244. package/views/support/WebAssemblyRequirements.js +5 -0
  245. package/views/support/WebGLRequirements.js +1 -1
  246. package/webdoc/support/SlideThumbnail.d.ts +6 -3
  247. package/webdoc/support/SlideThumbnail.js +1 -1
  248. package/webscene/spec-certification/api.js +1 -1
  249. package/widgets/AreaMeasurement2D/AreaMeasurement2DViewModel.d.ts +2 -2
  250. package/widgets/AreaMeasurement2D/AreaMeasurement2DViewModel.js +1 -1
  251. package/widgets/AreaMeasurement3D/AreaMeasurement3DViewModel.d.ts +2 -2
  252. package/widgets/AreaMeasurement3D/AreaMeasurement3DViewModel.js +1 -1
  253. package/widgets/BatchAttributeForm/inputs/InputBase.js +1 -1
  254. package/widgets/BatchAttributeForm/inputs/TextElementInput.d.ts +7 -0
  255. package/widgets/BatchAttributeForm/inputs/TextElementInput.js +1 -1
  256. package/widgets/BatchAttributeForm/inputs/support/textInputElementUtils.js +5 -0
  257. package/widgets/BatchAttributeForm/templates/TextElementTemplate.js +1 -1
  258. package/widgets/BatchAttributeForm/templates/support/createBatchFormTemplate.js +1 -1
  259. package/widgets/BatchAttributeForm/templates/support/hashElementTemplate.js +1 -1
  260. package/widgets/BatchAttributeForm.js +1 -1
  261. package/widgets/DirectLineMeasurement3D/DirectLineMeasurement3DViewModel.d.ts +2 -2
  262. package/widgets/DirectLineMeasurement3D/DirectLineMeasurement3DViewModel.js +1 -1
  263. package/widgets/Directions/DirectionsViewModel.d.ts +20 -4
  264. package/widgets/Directions/DirectionsViewModel.js +1 -1
  265. package/widgets/Directions.d.ts +2 -3
  266. package/widgets/DistanceMeasurement2D/DistanceMeasurement2DViewModel.d.ts +2 -2
  267. package/widgets/DistanceMeasurement2D/DistanceMeasurement2DViewModel.js +1 -1
  268. package/widgets/Editor/EditorViewModel.d.ts +2 -2
  269. package/widgets/Editor.d.ts +2 -2
  270. package/widgets/ElevationProfile/support/HoveredPoints.js +1 -1
  271. package/widgets/ElevationProfile/types.d.ts +3 -4
  272. package/widgets/Feature/support/arcadeFeatureUtils.js +1 -1
  273. package/widgets/Feature/types.d.ts +1 -5
  274. package/widgets/FeatureTable/Grid/types.d.ts +0 -2
  275. package/widgets/FeatureTable/support/types.d.ts +8 -8
  276. package/widgets/Features/FeaturesViewModel.d.ts +3 -3
  277. package/widgets/Features/FeaturesViewModel.js +1 -1
  278. package/widgets/LineOfSight/LineOfSightViewModel.d.ts +2 -2
  279. package/widgets/LineOfSight/LineOfSightViewModel.js +1 -1
  280. package/widgets/OrientedImageryViewer/navigation/queries.js +1 -1
  281. package/widgets/Popup/types.d.ts +0 -2
  282. package/widgets/ShadowCast/ShadowCastVisibleElements.d.ts +2 -0
  283. package/widgets/Sketch/SketchViewModel.js +1 -1
  284. package/widgets/Sketch/types.d.ts +2 -2
  285. package/widgets/Slice/SliceViewModel.d.ts +2 -2
  286. package/widgets/Slice/SliceViewModel.js +1 -1
  287. package/widgets/Spinner/SpinnerViewModel.js +1 -1
  288. package/widgets/support/AnalysisViewModelMixin.js +5 -0
  289. package/widgets/support/AnchorElementViewModel.js +1 -1
  290. package/widgets/support/InteractiveToolViewModelMixin.js +5 -0
  291. package/assets/esri/core/workers/chunks/3c3d311b88f5400951ef.js +0 -1
  292. package/assets/esri/core/workers/chunks/4a060147d25929680ec8.js +0 -1
  293. package/assets/esri/core/workers/chunks/4d0eaeb4cd6cd55e25fd.js +0 -1
  294. package/assets/esri/core/workers/chunks/61801bb8c7be8fe77086.js +0 -1
  295. package/assets/esri/core/workers/chunks/62b28f73f814413c10fc.js +0 -1
  296. package/assets/esri/core/workers/chunks/6925f09d44cc38480d53.js +0 -1
  297. package/assets/esri/core/workers/chunks/98f4b44eca91c42ca08e.js +0 -1
  298. package/assets/esri/core/workers/chunks/990341f7c47bd656c782.js +0 -1
  299. package/assets/esri/core/workers/chunks/ba7f57788847cc0f68df.js +0 -1
  300. package/assets/esri/core/workers/chunks/bf06250be7a7a36306b1.js +0 -1
  301. package/assets/esri/core/workers/chunks/cd2708fb7636b3ace229.js +0 -1
  302. package/assets/esri/core/workers/chunks/f7d93aae350796b88562.js +0 -1
  303. package/assets/esri/core/workers/chunks/f95e488d2b86e320624f.js +0 -1
  304. package/layers/mixins/TemporalSceneLayer.d.ts +0 -177
  305. package/layers/mixins/TemporalSceneLayer.js +0 -5
  306. package/layers/mixins/properties/ILayerWithSave.d.ts +0 -11
  307. package/layers/support/ContingencyConstraintViolation.d.ts +0 -2
  308. package/layers/support/ContingentValue.d.ts +0 -2
  309. package/layers/support/ContingentValuesResult.d.ts +0 -2
  310. package/layers/support/ElevationQuery.d.ts +0 -35
  311. package/layers/support/ElevationQueryContext.d.ts +0 -37
  312. package/layers/support/FeatureReduction.d.ts +0 -3
  313. package/layers/support/FeatureReduction.js +0 -5
  314. package/layers/support/FieldGroup.d.ts +0 -2
  315. package/layers/support/FieldValueType.d.ts +0 -2
  316. package/layers/support/I3SLayer.d.ts +0 -9
  317. package/layers/support/ParquetGeometryEncodingBase.d.ts +0 -9
  318. package/layers/support/ParquetGeometryEncodingBase.js +0 -5
  319. package/layers/support/SimpleBandStatistics.d.ts +0 -10
  320. package/layers/support/source/DataLayerSource.d.ts +0 -171
  321. package/layers/support/source/DataLayerSource.js +0 -5
  322. package/layers/support/source/MapLayerSource.js +0 -5
  323. package/layers/support/source/QueryTableDataSource.js +0 -5
  324. package/layers/support/source/RasterDataSource.js +0 -5
  325. package/layers/support/source/TableDataSource.js +0 -5
  326. package/layers/support/source/types.d.ts +0 -4
  327. package/views/2d/layers/features/FeaturePipelineWorkerProxy.d.ts +0 -32
  328. package/views/3d/webgl-engine/shaders/GaussianSplatColorTechnique.js +0 -5
  329. package/views/3d/webgl-engine/shaders/GaussianSplatCompositionTechniqueConfiguration.js +0 -5
  330. package/views/3d/webgl-engine/shaders/GaussianSplatDepthTechnique.js +0 -5
  331. package/widgets/support/AnalysisViewModel.d.ts +0 -5
  332. package/widgets/support/AnalysisViewModel.js +0 -5
  333. package/widgets/support/AnchorElementViewModel.d.ts +0 -3
  334. package/widgets/support/InteractiveToolViewModel.d.ts +0 -4
  335. package/widgets/support/InteractiveToolViewModel.js +0 -5
  336. /package/webdoc/support/{thumbnailUtils.d.ts → types.d.ts} +0 -0
@@ -38,7 +38,7 @@ export function getThemes(basemap?: Basemap | string | null | undefined): Theme[
38
38
  * // the best default scheme for the layer and basemap
39
39
  * let primaryScheme = schemes.primaryScheme;
40
40
  */
41
- export function getSchemes(params: GetSchemesParams): SizeSchemes | null | undefined;
41
+ export function getSchemes(params: GetSchemesParameters): SizeSchemes | null | undefined;
42
42
 
43
43
  /**
44
44
  * Clones a size scheme object.
@@ -51,7 +51,7 @@ export function getSchemes(params: GetSchemesParams): SizeSchemes | null | undef
51
51
  */
52
52
  export function cloneScheme(scheme: SizeScheme | null | undefined): SizeScheme | null | undefined;
53
53
 
54
- export interface GetSchemesParams {
54
+ export interface GetSchemesParameters {
55
55
  /**
56
56
  * The Esri basemap to pair with the visualization. This
57
57
  * value indicates the best symbol colors for visualizing features against the given basemap. If you have a
@@ -72,9 +72,9 @@ export function byName(name: string): ColorRamp | null | undefined;
72
72
  * includedTags: [ "reds", "bright" ]
73
73
  * });
74
74
  */
75
- export function byTag(params: ByTagParams): ColorRamp[];
75
+ export function byTag(params: ByTagParameters): ColorRamp[];
76
76
 
77
- export interface ByTagParams {
77
+ export interface ByTagParameters {
78
78
  /**
79
79
  * When provided, only ramps missing all the provided tags will be returned.
80
80
  *
@@ -39,7 +39,7 @@ export function getThemes(basemap?: Basemap | string | null | undefined): Theme[
39
39
  * // the best default scheme for the layer and basemap
40
40
  * let primaryScheme = schemes.primaryScheme;
41
41
  */
42
- export function getSchemes(params: GetSchemesParams): TypeSchemes | null | undefined;
42
+ export function getSchemes(params: GetSchemesParameters): TypeSchemes | null | undefined;
43
43
 
44
44
  /**
45
45
  * Returns a type scheme with the provided name.
@@ -56,7 +56,7 @@ export function getSchemes(params: GetSchemesParams): TypeSchemes | null | undef
56
56
  * name: "Pastel Dreams"
57
57
  * });
58
58
  */
59
- export function getSchemeByName(params: GetSchemesByNameParams): TypeScheme | null | undefined;
59
+ export function getSchemeByName(params: GetSchemesByNameParameters): TypeScheme | null | undefined;
60
60
 
61
61
  /**
62
62
  * Returns an array of type schemes with the provided tags. These schemes define symbol properties for
@@ -74,7 +74,7 @@ export function getSchemeByName(params: GetSchemesByNameParams): TypeScheme | nu
74
74
  * includedTags: [ "types", "subdued" ]
75
75
  * });
76
76
  */
77
- export function getSchemesByTag(params: GetSchemesByTagParams): TypeScheme[];
77
+ export function getSchemesByTag(params: GetSchemesByTagParameters): TypeScheme[];
78
78
 
79
79
  /**
80
80
  * Clones a type scheme object.
@@ -87,7 +87,7 @@ export function getSchemesByTag(params: GetSchemesByTagParams): TypeScheme[];
87
87
  */
88
88
  export function cloneScheme(scheme: TypeScheme | null | undefined): TypeScheme | null | undefined;
89
89
 
90
- export interface GetSchemesParams {
90
+ export interface GetSchemesParameters {
91
91
  /**
92
92
  * The Esri basemap to pair with the visualization. This
93
93
  * value indicates the best symbol colors for visualizing features against the given basemap. If you have a
@@ -127,12 +127,12 @@ export interface GetSchemesParams {
127
127
  worldScale?: boolean | null;
128
128
  }
129
129
 
130
- export interface GetSchemesByNameParams extends GetSchemesParams {
130
+ export interface GetSchemesByNameParameters extends GetSchemesParameters {
131
131
  /** The name of the scheme to retrieve. */
132
132
  name: string;
133
133
  }
134
134
 
135
- export interface GetSchemesByTagParams extends GetSchemesParams {
135
+ export interface GetSchemesByTagParameters extends GetSchemesParameters {
136
136
  /**
137
137
  * When provided, only schemes missing all the provided tags will be returned.
138
138
  *
@@ -65,7 +65,7 @@ export function createPopupTemplate(config: Config, options?: Partial<CreatePopu
65
65
  * const popupTemplate = popupUtils.createPopupTemplateForFeatureReduction(layer);
66
66
  * layer.featureReduction.popupTemplate = popupTemplate;
67
67
  */
68
- export function createPopupTemplateForFeatureReduction(params: CreatePopupTemplateForFeatureReductionParams): PopupTemplate | null | undefined;
68
+ export function createPopupTemplateForFeatureReduction(params: CreatePopupTemplateForFeatureReductionParameters): PopupTemplate | null | undefined;
69
69
 
70
70
  /**
71
71
  * Creates [fields](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-FieldsContent.html) content used for populating a [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html).
@@ -233,7 +233,7 @@ export interface Config extends FieldInfosConfig {
233
233
  title?: string | null;
234
234
  }
235
235
 
236
- export interface CreatePopupTemplateForFeatureReductionParams {
236
+ export interface CreatePopupTemplateForFeatureReductionParameters {
237
237
  /** The FeatureReduction object for which to create a default popup template. */
238
238
  featureReduction: FeatureReductionBinning | FeatureReductionCluster;
239
239
  /**
@@ -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
- const c="20251216",d="79236f30035e37d8557e89a8c608cdbf58c9d550";export{c as buildDate,d as commitHash};
5
+ const e="20251218",a="3fd95ae2099e172ef01a3f3a73b7c0a2e6b1f431";export{e as buildDate,a as commitHash};
@@ -16,7 +16,7 @@ export interface LineSymbol3DProperties extends Symbol3DProperties {
16
16
  symbolLayers?: ReadonlyArrayOrCollection<((LineSymbol3DLayerProperties & { type: "line" }) | (PathSymbol3DLayerProperties & { type: "path" }))>;
17
17
  }
18
18
 
19
- export type SupportedSymbolLayerTypes = LineSymbol3DLayer | PathSymbol3DLayer;
19
+ export type LineSymbol3DSupportedSymbolLayerTypes = LineSymbol3DLayer | PathSymbol3DLayer;
20
20
 
21
21
  /**
22
22
  * LineSymbol3D is used to render features with [Polyline](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Polyline.html) geometry
@@ -60,7 +60,7 @@ export default class LineSymbol3D extends Symbol3D {
60
60
  * used to visualize the graphic or feature. Individual symbol layers
61
61
  * may be autocast as objects and specified using the `type` property.
62
62
  */
63
- get symbolLayers(): Collection<SupportedSymbolLayerTypes>;
63
+ get symbolLayers(): Collection<LineSymbol3DSupportedSymbolLayerTypes>;
64
64
  set symbolLayers(value: ReadonlyArrayOrCollection<((LineSymbol3DLayerProperties & { type: "line" }) | (PathSymbol3DLayerProperties & { type: "path" }))>);
65
65
  /** The symbol type. */
66
66
  get type(): "line-3d";
@@ -64,7 +64,7 @@ export interface PointSymbol3DProperties extends Symbol3DProperties {
64
64
  verticalOffset?: Symbol3DVerticalOffsetProperties | null;
65
65
  }
66
66
 
67
- export type SupportedSymbolLayerTypes = IconSymbol3DLayer | ObjectSymbol3DLayer | TextSymbol3DLayer;
67
+ export type PointSymbol3DSupportedSymbolLayerTypes = IconSymbol3DLayer | ObjectSymbol3DLayer | TextSymbol3DLayer;
68
68
 
69
69
  /**
70
70
  * PointSymbol3D is used to render features with [Point](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Point.html) geometry
@@ -138,7 +138,7 @@ export default class PointSymbol3D extends Symbol3D {
138
138
  * used to visualize the graphic or feature. Individual symbol layers
139
139
  * may be autocast as objects and specified using the `type` property.
140
140
  */
141
- get symbolLayers(): Collection<SupportedSymbolLayerTypes>;
141
+ get symbolLayers(): Collection<PointSymbol3DSupportedSymbolLayerTypes>;
142
142
  set symbolLayers(value: ReadonlyArrayOrCollection<((IconSymbol3DLayerProperties & { type: "icon" }) | (ObjectSymbol3DLayerProperties & { type: "object" }) | (TextSymbol3DLayerProperties & { type: "text" }))>);
143
143
  /** The symbol type. */
144
144
  get type(): "point-3d";
@@ -32,7 +32,7 @@ export interface PolygonSymbol3DProperties extends Symbol3DProperties {
32
32
  symbolLayers?: ReadonlyArrayOrCollection<((ExtrudeSymbol3DLayerProperties & { type: "extrude" }) | (FillSymbol3DLayerProperties & { type: "fill" }) | (LineSymbol3DLayerProperties & { type: "line" }) | (IconSymbol3DLayerProperties & { type: "icon" }) | (ObjectSymbol3DLayerProperties & { type: "object" }) | (TextSymbol3DLayerProperties & { type: "text" }) | (WaterSymbol3DLayerProperties & { type: "water" }))>;
33
33
  }
34
34
 
35
- export type SupportedSymbolLayerTypes = ExtrudeSymbol3DLayer | FillSymbol3DLayer | LineSymbol3DLayer | IconSymbol3DLayer | ObjectSymbol3DLayer | TextSymbol3DLayer | WaterSymbol3DLayer;
35
+ export type PolygonSymbol3DSupportedSymbolLayerTypes = ExtrudeSymbol3DLayer | FillSymbol3DLayer | LineSymbol3DLayer | IconSymbol3DLayer | ObjectSymbol3DLayer | TextSymbol3DLayer | WaterSymbol3DLayer;
36
36
 
37
37
  /**
38
38
  * PolygonSymbol3D is used to render features with [Polygon](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Polygon.html) geometry
@@ -89,7 +89,7 @@ export default class PolygonSymbol3D extends Symbol3D {
89
89
  * > Use [FillSymbol3DLayer#outline](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-FillSymbol3DLayer.html#outline) instead.
90
90
  * > [TextSymbol3DLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-TextSymbol3DLayer.html) is deprecated for being used with PolygonSymbol3D.
91
91
  */
92
- get symbolLayers(): Collection<SupportedSymbolLayerTypes>;
92
+ get symbolLayers(): Collection<PolygonSymbol3DSupportedSymbolLayerTypes>;
93
93
  set symbolLayers(value: ReadonlyArrayOrCollection<((ExtrudeSymbol3DLayerProperties & { type: "extrude" }) | (FillSymbol3DLayerProperties & { type: "fill" }) | (LineSymbol3DLayerProperties & { type: "line" }) | (IconSymbol3DLayerProperties & { type: "icon" }) | (ObjectSymbol3DLayerProperties & { type: "object" }) | (TextSymbol3DLayerProperties & { type: "text" }) | (WaterSymbol3DLayerProperties & { type: "water" }))>);
94
94
  /** The symbol type. */
95
95
  get type(): "polygon-3d";
@@ -2,4 +2,12 @@ import type { JSONSupport, JSONSupportMixinProperties } from "../../core/JSONSup
2
2
 
3
3
  export interface LinePattern3DProperties extends JSONSupportMixinProperties {}
4
4
 
5
+ /**
6
+ * LinePattern3D is the base class for patterns on {@link module:esri/symbols/LineSymbol3DLayer} and
7
+ * outlines on {@link module:esri/symbols/FillSymbol3DLayer}.
8
+ *
9
+ * Currently only patterns of type `style` are supported. For more information see {@link module:esri/symbols/patterns/LineStylePattern3D}.
10
+ *
11
+ * @since 4.22
12
+ */
5
13
  export default abstract class LinePattern3D extends JSONSupport {}
@@ -55,8 +55,7 @@ export default class LineStylePattern3D extends LinePattern3D {
55
55
  /**
56
56
  * Creates a deep clone of the pattern.
57
57
  *
58
- * @returns A deep clone of the object that
59
- * invoked this method.
58
+ * @returns A deep clone of the object that invoked this method.
60
59
  */
61
60
  clone(): LineStylePattern3D;
62
61
  }
@@ -2,4 +2,13 @@ import type { JSONSupport, JSONSupportMixinProperties } from "../../core/JSONSup
2
2
 
3
3
  export interface Pattern3DProperties extends JSONSupportMixinProperties {}
4
4
 
5
+ /**
6
+ * Pattern3D is the base class for pattern fills on {@link module:esri/symbols/FillSymbol3DLayer}.
7
+ *
8
+ * Patterns can only be set when the fill is used on a {@link module:esri/symbols/PolygonSymbol3D}.
9
+ *
10
+ * Currently only patterns of type `style` are supported. For more information see {@link module:esri/symbols/patterns/StylePattern3D}.
11
+ *
12
+ * @since 4.17
13
+ */
5
14
  export default abstract class Pattern3D extends JSONSupport {}
@@ -51,8 +51,7 @@ export default class StylePattern3D extends Pattern3D {
51
51
  /**
52
52
  * Creates a deep clone of the pattern.
53
53
  *
54
- * @returns A deep clone of the object that
55
- * invoked this method.
54
+ * @returns A deep clone of the object that invoked this method.
56
55
  */
57
56
  clone(): StylePattern3D;
58
57
  }
@@ -81,14 +81,18 @@ export type TextHorizontalAlignment = "left" | "right" | "center";
81
81
 
82
82
  export type TextVerticalAlignment = "baseline" | "top" | "middle" | "bottom";
83
83
 
84
+ /** Union of all 3D symbol layers. */
84
85
  export type Symbol3DLayerUnion = ExtrudeSymbol3DLayer | FillSymbol3DLayer | IconSymbol3DLayer | LineSymbol3DLayer | ObjectSymbol3DLayer | PathSymbol3DLayer | TextSymbol3DLayer | WaterSymbol3DLayer;
85
86
 
86
87
  export type Symbol3DLayerType = Symbol3DLayerUnion["type"];
87
88
 
89
+ /** Union of all 2D fill symbols. */
88
90
  export type FillSymbolUnion = PictureFillSymbol | SimpleFillSymbol;
89
91
 
92
+ /** Union of all 2D marker symbols. */
90
93
  export type MarkerSymbolUnion = PictureMarkerSymbol | SimpleMarkerSymbol;
91
94
 
95
+ /** Union of all 2D symbols. */
92
96
  export type Symbol2DUnion = PictureFillSymbol | PictureMarkerSymbol | SimpleFillSymbol | SimpleLineSymbol | SimpleMarkerSymbol | TextSymbol | CIMSymbol;
93
97
 
94
98
  export type Symbol2DUnionProperties = (PictureFillSymbolProperties & {
@@ -107,6 +111,7 @@ export type Symbol2DUnionProperties = (PictureFillSymbolProperties & {
107
111
  type: "cim";
108
112
  });
109
113
 
114
+ /** Union of all 3D symbols. */
110
115
  export type Symbol3DUnion = LabelSymbol3D | LineSymbol3D | MeshSymbol3D | PointSymbol3D | PolygonSymbol3D;
111
116
 
112
117
  export type Symbol3DUnionProperties = (LabelSymbol3DProperties & {
@@ -121,8 +126,10 @@ export type Symbol3DUnionProperties = (LabelSymbol3DProperties & {
121
126
  type: "polygon-3d";
122
127
  });
123
128
 
129
+ /** Union of all 2D and 3D symbols. */
124
130
  export type Symbol2D3DUnion = Symbol2DUnion | Symbol3DUnion;
125
131
 
132
+ /** Union of all symbols. */
126
133
  export type SymbolUnion = Symbol2DUnion | Symbol3DUnion | WebStyleSymbol;
127
134
 
128
135
  export type SymbolType = SymbolUnion["type"];
package/unionTypes.d.ts CHANGED
@@ -22,21 +22,21 @@ import type { AnalysisViewUnion as AnalysisViewUnionAlias } from "./views/analys
22
22
  export type GeometryUnion = GeometryUnionAlias;
23
23
 
24
24
  /**
25
- * Union of symbols.
25
+ * Union of all symbols.
26
26
  *
27
27
  * @deprecated since 5.0. Use [SymbolUnion](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-types.html#SymbolUnion) instead.
28
28
  */
29
29
  export type SymbolUnion = SymbolUnionAlias;
30
30
 
31
31
  /**
32
- * Union of all possible analysis views that can be created in a [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html).
32
+ * Union of all possible analysis views that can be added to a [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html).
33
33
  *
34
34
  * @deprecated since 5.0. Use [AnalysisView3DUnion](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-analysis-types.html#AnalysisView3DUnion) instead.
35
35
  */
36
36
  export type AnalysisView3DUnion = AnalysisView3DUnionAlias;
37
37
 
38
38
  /**
39
- * Union of all possible analysis views that can be created in a [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html).
39
+ * Union of all possible analysis views that can be added to a [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html).
40
40
  *
41
41
  * @deprecated since 5.0. Use [AnalysisView2DUnion](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-2d-analysis-types.html#AnalysisView2DUnion) instead.
42
42
  */
@@ -57,70 +57,70 @@ export type AnalysisUnion = AnalysisUnionAlias;
57
57
  export type RendererUnion = RendererUnionAlias;
58
58
 
59
59
  /**
60
- * Union of raster renderers.
60
+ * Union of all raster renderers.
61
61
  *
62
62
  * @deprecated since 5.0. Use [RasterRendererUnion](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-support-raster-types.html#RasterRendererUnion) instead.
63
63
  */
64
64
  export type RasterRendererUnion = RasterRendererUnionAlias;
65
65
 
66
66
  /**
67
- * Union of point cloud renderers.
67
+ * Union of all point cloud renderers.
68
68
  *
69
69
  * @deprecated since 5.0. Use [PointCloudRendererUnion](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-support-pointCloud-types.html#PointCloudRendererUnion) instead.
70
70
  */
71
71
  export type PointCloudRendererUnion = PointCloudRendererUnionAlias;
72
72
 
73
73
  /**
74
- * Union of 2D fill symbols.
74
+ * Union of all 2D fill symbols.
75
75
  *
76
76
  * @deprecated since 5.0. Use [FillSymbolUnion](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-types.html#FillSymbolUnion) instead.
77
77
  */
78
78
  export type FillSymbol2DUnion = FillSymbolUnionAlias;
79
79
 
80
80
  /**
81
- * Union of 2D marker symbols.
81
+ * Union of all 2D marker symbols.
82
82
  *
83
83
  * @deprecated since 5.0. Use [MarkerSymbolUnion](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-types.html#MarkerSymbolUnion) instead.
84
84
  */
85
85
  export type MarkerSymbol2DUnion = MarkerSymbolUnionAlias;
86
86
 
87
87
  /**
88
- * Union of 3D symbol layers.
88
+ * Union of all 3D symbol layers.
89
89
  *
90
90
  * @deprecated since 5.0. Use [Symbol3DLayerUnion](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-types.html#Symbol3DLayerUnion) instead.
91
91
  */
92
92
  export type Symbol3DLayerUnion = Symbol3DLayerUnionAlias;
93
93
 
94
94
  /**
95
- * Union of 3D symbols.
95
+ * Union of all 3D symbols.
96
96
  *
97
97
  * @deprecated since 5.0. Use [Symbol3DUnion](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-types.html#Symbol3DUnion) instead.
98
98
  */
99
99
  export type Symbol3DUnion = Symbol3DUnionAlias;
100
100
 
101
101
  /**
102
- * Union of 2D and 3D symbols.
102
+ * Union of all 2D and 3D symbols.
103
103
  *
104
104
  * @deprecated since 5.0. Use [Symbol2D3DUnion](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-types.html#Symbol2D3DUnion) instead.
105
105
  */
106
106
  export type Symbol2D3DUnion = Symbol2D3DUnionAlias;
107
107
 
108
108
  /**
109
- * Union of renderers with visual variables.
109
+ * Union of all renderers with visual variables.
110
110
  *
111
111
  * @deprecated since 5.0. Use [RendererWithVisualVariablesUnion](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-types.html#RendererWithVisualVariablesUnion) instead.
112
112
  */
113
113
  export type RendererWithVisualVariablesUnion = RendererWithVisualVariablesUnionAlias;
114
114
 
115
115
  /**
116
- * Union of 2D symbols.
116
+ * Union of all 2D symbols.
117
117
  *
118
118
  * @deprecated since 5.0. Use [Symbol2DUnion](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-types.html#Symbol2DUnion) instead.
119
119
  */
120
120
  export type Symbol2DUnion = Symbol2DUnionAlias;
121
121
 
122
122
  /**
123
- * Union of all possible analysis views that can be created in a [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html) or
123
+ * Union of all possible analysis views that can be added to a [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html) or
124
124
  * [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html).
125
125
  *
126
126
  * @deprecated since 5.0. Use [AnalysisViewUnion](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-analysis-types.html#AnalysisViewUnion) instead.
@@ -2,4 +2,5 @@ import type AreaMeasurementAnalysisView2D from "./AreaMeasurementAnalysisView2D.
2
2
  import type DistanceMeasurementAnalysisView2D from "./DistanceMeasurementAnalysisView2D.js";
3
3
  import type ElevationProfileAnalysisView2D from "./ElevationProfileAnalysisView2D.js";
4
4
 
5
+ /** Union of all possible analysis views that can be added to a [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html). */
5
6
  export type AnalysisView2DUnion = AreaMeasurementAnalysisView2D | DistanceMeasurementAnalysisView2D | ElevationProfileAnalysisView2D;
@@ -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
- const e={circle:{"circle.frag":"precision lowp float;\nvarying lowp vec4 v_color;\nvarying lowp vec4 v_stroke_color;\nvarying mediump float v_blur;\nvarying mediump float v_stroke_width;\nvarying mediump float v_radius;\nvarying mediump vec2 v_offset;\nvoid main()\n{\nmediump float dist = length(v_offset);\nmediump float alpha = smoothstep(0.0, -v_blur, dist - 1.0);\nlowp float color_mix_ratio = v_stroke_width < 0.01 ? 0.0 : smoothstep(-v_blur, 0.0, dist - v_radius / (v_radius + v_stroke_width));\ngl_FragColor = alpha * mix(v_color, v_stroke_color, color_mix_ratio);\n}","circle.vert":"precision mediump float;\nattribute vec2 a_pos;\n#pragma header\nvarying lowp vec4 v_color;\nvarying lowp vec4 v_stroke_color;\nvarying mediump float v_blur;\nvarying mediump float v_stroke_width;\nvarying mediump float v_radius;\nvarying mediump vec2 v_offset;\nuniform highp mat3 u_dvsMat3;\nuniform highp mat3 u_displayMat3;\nuniform mediump vec2 u_circleTranslation;\nuniform mediump float u_depth;\nuniform mediump float u_antialiasingWidth;\nvoid main()\n{\n#pragma main\nv_color = color * opacity;\nv_stroke_color = stroke_color * stroke_opacity;\nv_stroke_width = stroke_width;\nv_radius = radius;\nv_blur = max(blur, u_antialiasingWidth / (radius + stroke_width));\nmediump vec2 offset = vec2(mod(a_pos, 2.0) * 2.0 - 1.0);\nv_offset = offset;\nmediump vec3 pos = u_dvsMat3 * vec3(a_pos * 0.5, 1.0) + u_displayMat3 * vec3((v_radius + v_stroke_width) * offset + u_circleTranslation, 0.0);\ngl_Position = vec4(pos.xy, u_depth, 1.0);\n}"},fill:{"fill.frag":"precision lowp float;\n#ifdef PATTERN\nuniform lowp sampler2D u_texture;\nvarying mediump vec2 v_tileTextureCoord;\nvarying mediump vec4 v_tlbr;\n#endif\nvarying lowp vec4 v_color;\nvec4 mixColors(vec4 color1, vec4 color2) {\nfloat compositeAlpha = color2.a + color1.a * (1.0 - color2.a);\nvec3 compositeColor = color2.rgb + color1.rgb * (1.0 - color2.a);\nreturn vec4(compositeColor, compositeAlpha);\n}\nvoid main()\n{\n#ifdef PATTERN\nmediump vec2 normalizedTextureCoord = fract(v_tileTextureCoord);\nmediump vec2 samplePos = mix(v_tlbr.xy, v_tlbr.zw, normalizedTextureCoord);\nlowp vec4 color = texture2D(u_texture, samplePos);\ngl_FragColor = v_color[3] * color;\n#else\ngl_FragColor = v_color;\n#endif\n}","fill.vert":"precision mediump float;\nattribute vec2 a_pos;\n#pragma header\nuniform highp mat3 u_dvsMat3;\nuniform highp mat3 u_displayMat3;\nuniform mediump float u_depth;\nuniform mediump vec2 u_fillTranslation;\n#ifdef PATTERN\n#include <util/util.glsl>\nuniform mediump vec2 u_mosaicSize;\nuniform mediump float u_patternFactor;\nvarying mediump vec2 v_tileTextureCoord;\nvarying mediump vec4 v_tlbr;\n#endif\nvarying lowp vec4 v_color;\nvoid main()\n{\n#pragma main\nv_color = color * opacity;\n#ifdef PATTERN\nfloat patternWidth = nextPOT(tlbr.z - tlbr.x);\nfloat patternHeight = nextPOT(tlbr.w - tlbr.y);\nfloat scaleX = 1.0 / (patternWidth * u_patternFactor);\nfloat scaleY = 1.0 / (patternHeight * u_patternFactor);\nmat3 patterMat = mat3(scaleX, 0.0, 0.0,\n0.0, -scaleY, 0.0,\n0.0, 0.0, 1.0);\nv_tileTextureCoord = (patterMat * vec3(a_pos, 1.0)).xy;\nv_tlbr = tlbr / u_mosaicSize.xyxy;\n#endif\nvec3 pos = u_dvsMat3 * vec3(a_pos, 1.0) + u_displayMat3 * vec3(u_fillTranslation, 0.0);\ngl_Position = vec4(pos.xy, u_depth, 1.0);\n}"},background:{"background.frag":"#ifdef PATTERN\nuniform lowp float u_opacity;\nuniform lowp sampler2D u_texture;\nvarying mediump vec4 v_tlbr;\nvarying mediump vec2 v_tileTextureCoord;\n#else\nuniform lowp vec4 u_color;\n#endif\nvoid main() {\n#ifdef PATTERN\nmediump vec2 normalizedTextureCoord = mod(v_tileTextureCoord, 1.0);\nmediump vec2 samplePos = mix(v_tlbr.xy, v_tlbr.zw, normalizedTextureCoord);\nlowp vec4 color = texture2D(u_texture, samplePos);\ngl_FragColor = u_opacity * color;\n#else\ngl_FragColor = u_color;\n#endif\n}","background.vert":"precision mediump float;\nattribute vec2 a_pos;\nuniform highp mat3 u_dvsMat3;\nuniform mediump float u_coord_range;\nuniform mediump float u_depth;\n#ifdef PATTERN\nuniform mediump mat3 u_pattern_matrix;\nvarying mediump vec2 v_tileTextureCoord;\nuniform mediump vec4 u_tlbr;\nuniform mediump vec2 u_mosaicSize;\nvarying mediump vec4 v_tlbr;\n#endif\nvoid main() {\ngl_Position = vec4((u_dvsMat3 * vec3(u_coord_range * a_pos, 1.0)).xy, u_depth, 1.0);\n#ifdef PATTERN\nv_tileTextureCoord = (u_pattern_matrix * vec3(a_pos, 1.0)).xy;\nv_tlbr = u_tlbr / u_mosaicSize.xyxy;\n#endif\n}"},icon:{"icon.frag":"precision mediump float;\nuniform lowp sampler2D u_texture;\n#ifdef SDF\nuniform lowp vec4 u_color;\nuniform lowp vec4 u_outlineColor;\n#endif\nuniform highp int u_isStencilPass;\nvarying mediump vec2 v_tex;\nvarying lowp float v_opacity;\nvarying mediump vec2 v_size;\nvarying lowp vec4 v_color;\n#ifdef SDF\nvarying mediump float v_halo_width;\n#endif\nconst float alphaCutoff = 1.0 / 255.5;\n#include <util/encoding.glsl>\nvec4 mixColors(vec4 color1, vec4 color2) {\nfloat compositeAlpha = color2.a + color1.a * (1.0 - color2.a);\nvec3 compositeColor = color2.rgb + color1.rgb * (1.0 - color2.a);\nreturn vec4(compositeColor, compositeAlpha);\n}\nvoid main()\n{\n#ifdef SDF\nlowp vec4 fillPixelColor = v_color;\nfloat d = rgba2float(texture2D(u_texture, v_tex)) - 0.5;\nconst float softEdgeRatio = 0.248062016;\nfloat size = max(v_size.x, v_size.y);\nfloat dist = d * softEdgeRatio * size;\nfillPixelColor *= clamp(0.5 - dist, 0.0, 1.0);\nif (v_halo_width > 0.25) {\nlowp vec4 outlinePixelColor = u_outlineColor;\nconst float outlineLimitRatio = (16.0 / 86.0);\nfloat clampedOutlineSize = softEdgeRatio * min(v_halo_width, outlineLimitRatio * max(v_size.x, v_size.y));\noutlinePixelColor *= clamp(0.5 - (abs(dist) - clampedOutlineSize), 0.0, 1.0);\ngl_FragColor = v_opacity * mixColors(fillPixelColor, outlinePixelColor);\n}\nelse {\ngl_FragColor = v_opacity * fillPixelColor;\n}\n#else\nlowp vec4 texColor = texture2D(u_texture, v_tex);\nif (u_isStencilPass == 1 && texColor.a < alphaCutoff) {\ndiscard;\n}\ngl_FragColor = v_opacity * texColor;\n#endif\n}","icon.vert":"attribute vec2 a_pos;\nattribute vec2 a_vertexOffset;\nattribute vec4 a_texAngleRange;\nattribute vec4 a_levelInfo;\nattribute float a_opacityInfo;\n#pragma header\nvarying lowp vec4 v_color;\n#ifdef SDF\nvarying mediump float v_halo_width;\n#endif\nuniform highp mat3 u_dvsMat3;\nuniform highp mat3 u_displayMat3;\nuniform highp mat3 u_displayViewMat3;\nuniform mediump vec2 u_iconTranslation;\nuniform vec2 u_mosaicSize;\nuniform mediump float u_depth;\nuniform mediump float u_mapRotation;\nuniform mediump float u_level;\nuniform lowp float u_keepUpright;\nuniform mediump float u_fadeDuration;\nvarying mediump vec2 v_tex;\nvarying lowp float v_opacity;\nvarying mediump vec2 v_size;\nconst float C_OFFSET_PRECISION = 1.0 / 8.0;\nconst float C_256_TO_RAD = 3.14159265359 / 128.0;\nconst float C_DEG_TO_RAD = 3.14159265359 / 180.0;\nconst float tileCoordRatio = 1.0 / 8.0;\nuniform highp float u_time;\nvoid main()\n{\n#pragma main\nv_color = color;\nv_opacity = opacity;\n#ifdef SDF\nv_halo_width = halo_width;\n#endif\nfloat modded = mod(a_opacityInfo, 128.0);\nfloat targetOpacity = (a_opacityInfo - modded) / 128.0;\nfloat startOpacity = modded / 127.0;\nfloat interpolatedOpacity = clamp(startOpacity + 2.0 * (targetOpacity - 0.5) * u_time / u_fadeDuration, 0.0, 1.0);\nv_opacity *= interpolatedOpacity;\nmediump float a_angle = a_levelInfo[1];\nmediump float a_minLevel = a_levelInfo[2];\nmediump float a_maxLevel = a_levelInfo[3];\nmediump vec2 a_tex = a_texAngleRange.xy;\nmediump float delta_z = 0.0;\nmediump float rotated = mod(a_angle + u_mapRotation, 256.0);\ndelta_z += (1.0 - step(u_keepUpright, 0.0)) * step(64.0, rotated) * (1.0 - step(192.0, rotated));\ndelta_z += 1.0 - step(a_minLevel, u_level);\ndelta_z += step(a_maxLevel, u_level);\ndelta_z += step(v_opacity, 0.0);\nvec2 offset = C_OFFSET_PRECISION * a_vertexOffset;\nv_size = abs(offset);\n#ifdef SDF\noffset = (120.0 / 86.0) * offset;\n#endif\nmediump vec3 pos = u_dvsMat3 * vec3(a_pos, 1.0) + u_displayViewMat3 * vec3(size * offset, 0.0) + u_displayMat3 * vec3(u_iconTranslation, 0.0);\ngl_Position = vec4(pos.xy, u_depth + delta_z, 1.0);\nv_tex = a_tex.xy / u_mosaicSize;\n}"},line:{"line.frag":"precision lowp float;\nvarying mediump vec2 v_normal;\nvarying highp float v_accumulatedDistance;\nvarying mediump float v_lineHalfWidth;\nvarying lowp vec4 v_color;\nvarying mediump float v_blur;\n#if defined (PATTERN) || defined(SDF)\nvarying mediump vec4 v_tlbr;\nvarying mediump vec2 v_patternSize;\nvarying mediump float v_widthRatio;\nuniform sampler2D u_texture;\nuniform mediump float u_antialiasing;\n#endif\n#ifdef SDF\n#include <util/encoding.glsl>\n#endif\nvoid main()\n{\nmediump float fragDist = length(v_normal) * v_lineHalfWidth;\nlowp float alpha = clamp((v_lineHalfWidth - fragDist) / v_blur, 0.0, 1.0);\n#ifdef PATTERN\nmediump float relativeTexX = fract(v_accumulatedDistance / (v_patternSize.x * v_widthRatio));\nmediump float relativeTexY = 0.5 + v_normal.y * v_lineHalfWidth / (v_patternSize.y * v_widthRatio);\nmediump vec2 texCoord = mix(v_tlbr.xy, v_tlbr.zw, vec2(relativeTexX, relativeTexY));\nlowp vec4 color = texture2D(u_texture, texCoord);\ngl_FragColor = alpha * v_color[3] * color;\n#elif defined(SDF)\nmediump float relativeTexX = fract((v_accumulatedDistance * 0.5) / (v_patternSize.x * v_widthRatio));\nmediump float relativeTexY = 0.5 + 0.25 * v_normal.y;\nmediump vec2 texCoord = mix(v_tlbr.xy, v_tlbr.zw, vec2(relativeTexX, relativeTexY));\nmediump float d = rgba2float(texture2D(u_texture, texCoord)) - 0.5;\nfloat dist = d * (v_lineHalfWidth + u_antialiasing / 2.0);\ngl_FragColor = alpha * clamp(0.5 - dist, 0.0, 1.0) * v_color;\n#else\ngl_FragColor = alpha * v_color;\n#endif\n}","line.vert":"precision mediump float;\nattribute vec2 a_pos;\nattribute vec4 a_extrude_offset;\nattribute vec4 a_dir_normal;\nattribute vec2 a_accumulatedDistance;\n#pragma header\nuniform highp mat3 u_dvsMat3;\nuniform highp mat3 u_displayMat3;\nuniform highp mat3 u_displayViewMat3;\nuniform mediump float u_zoomFactor;\nuniform mediump vec2 u_lineTranslation;\nuniform mediump float u_antialiasing;\nuniform mediump float u_depth;\nvarying mediump vec2 v_normal;\nvarying highp float v_accumulatedDistance;\nconst float scale = 1.0 / 31.0;\nconst mediump float tileCoordRatio = 8.0;\n#if defined (SDF)\nconst mediump float sdfPatternHalfWidth = 15.5;\n#endif\n#if defined (PATTERN) || defined(SDF)\nuniform mediump vec2 u_mosaicSize;\nvarying mediump vec4 v_tlbr;\nvarying mediump vec2 v_patternSize;\nvarying mediump float v_widthRatio;\n#endif\nvarying lowp vec4 v_color;\nvarying mediump float v_lineHalfWidth;\nvarying mediump float v_blur;\nvoid main()\n{\n#pragma main\nv_color = color * opacity;\nv_blur = blur + u_antialiasing;\nv_normal = a_dir_normal.zw * scale;\n#if defined (PATTERN) || defined(SDF)\nv_tlbr = tlbr / u_mosaicSize.xyxy;\nv_patternSize = vec2(tlbr.z - tlbr.x, tlbr.y - tlbr.w);\n#if defined (PATTERN)\nv_widthRatio = width / v_patternSize.y;\n#else\nv_widthRatio = width / sdfPatternHalfWidth / 2.0;\n#endif\n#endif\nv_lineHalfWidth = (width + u_antialiasing) * 0.5;\nmediump vec2 dir = a_dir_normal.xy * scale;\nmediump vec2 offset_ = a_extrude_offset.zw * scale * offset;\nmediump vec2 dist = v_lineHalfWidth * scale * a_extrude_offset.xy;\nmediump vec3 pos = u_dvsMat3 * vec3(a_pos + offset_ * tileCoordRatio / u_zoomFactor, 1.0) + u_displayViewMat3 * vec3(dist, 0.0) + u_displayMat3 * vec3(u_lineTranslation, 0.0);\ngl_Position = vec4(pos.xy, u_depth, 1.0);\n#if defined (PATTERN) || defined(SDF)\nv_accumulatedDistance = a_accumulatedDistance.x * u_zoomFactor / tileCoordRatio + dot(dir, dist + offset_);\n#endif\n}"},outline:{"outline.frag":"varying lowp vec4 v_color;\nvarying mediump vec2 v_normal;\nvoid main()\n{\nlowp float dist = abs(v_normal.y);\nlowp float alpha = smoothstep(1.0, 0.0, dist);\ngl_FragColor = alpha * v_color;\n}","outline.vert":"attribute vec2 a_pos;\nattribute vec2 a_offset;\nattribute vec2 a_xnormal;\n#pragma header\nvarying lowp vec4 v_color;\nuniform highp mat3 u_dvsMat3;\nuniform highp mat3 u_displayMat3;\nuniform mediump vec2 u_fillTranslation;\nuniform mediump float u_depth;\nuniform mediump float u_outline_width;\nvarying lowp vec2 v_normal;\nconst float scale = 1.0 / 15.0;\nvoid main()\n{\n#pragma main\nv_color = color * opacity;\nv_normal = a_xnormal;\nmediump vec2 dist = u_outline_width * scale * a_offset;\nmediump vec3 pos = u_dvsMat3 * vec3(a_pos, 1.0) + u_displayMat3 * vec3(dist + u_fillTranslation, 0.0);\ngl_Position = vec4(pos.xy, u_depth, 1.0);\n}"},text:{"text.frag":"uniform lowp sampler2D u_texture;\nvarying lowp vec2 v_tex;\nvarying lowp vec4 v_color;\nvarying mediump float v_edgeWidth;\nvarying mediump float v_edgeDistance;\nvoid main()\n{\nlowp float dist = texture2D(u_texture, v_tex).a;\nmediump float alpha = smoothstep(v_edgeDistance - v_edgeWidth, v_edgeDistance + v_edgeWidth, dist);\ngl_FragColor = alpha * v_color;\n}","text.vert":"attribute vec2 a_pos;\nattribute vec2 a_vertexOffset;\nattribute vec4 a_texAngleRange;\nattribute vec4 a_levelInfo;\nattribute float a_opacityInfo;\n#pragma header\nvarying lowp vec4 v_color;\nuniform highp mat3 u_dvsMat3;\nuniform highp mat3 u_displayMat3;\nuniform highp mat3 u_displayViewMat3;\nuniform mediump vec2 u_textTranslation;\nuniform vec2 u_mosaicSize;\nuniform mediump float u_depth;\nuniform mediump float u_mapRotation;\nuniform mediump float u_level;\nuniform lowp float u_keepUpright;\nuniform mediump float u_fadeDuration;\nvarying lowp vec2 v_tex;\nconst float offsetPrecision = 1.0 / 8.0;\nconst mediump float edgePos = 0.75;\nuniform mediump float u_antialiasingWidth;\nvarying mediump float v_edgeDistance;\nvarying mediump float v_edgeWidth;\nuniform lowp float u_halo;\nconst float sdfFontScale = 1.0 / 24.0;\nconst float sdfPixel = 3.0;\nuniform highp float u_time;\nvoid main()\n{\n#pragma main\nif (u_halo > 0.5)\n{\nv_color = halo_color * opacity;\nhalo_width *= sdfPixel;\nhalo_blur *= sdfPixel;\n}\nelse\n{\nv_color = color * opacity;\nhalo_width = 0.0;\nhalo_blur = 0.0;\n}\nfloat modded = mod(a_opacityInfo, 128.0);\nfloat targetOpacity = (a_opacityInfo - modded) / 128.0;\nfloat startOpacity = modded / 127.0;\nfloat interpolatedOpacity = clamp(startOpacity + 2.0 * (targetOpacity - 0.5) * u_time / u_fadeDuration, 0.0, 1.0);\nv_color *= interpolatedOpacity;\nmediump float a_angle = a_levelInfo[1];\nmediump float a_minLevel = a_levelInfo[2];\nmediump float a_maxLevel = a_levelInfo[3];\nmediump vec2 a_tex = a_texAngleRange.xy;\nmediump float a_visMinAngle = a_texAngleRange.z;\nmediump float a_visMaxAngle = a_texAngleRange.w;\nmediump float delta_z = 0.0;\nmediump float angle = mod(a_angle + u_mapRotation, 256.0);\nif (a_visMinAngle < a_visMaxAngle)\n{\ndelta_z += (1.0 - step(u_keepUpright, 0.0)) * (step(a_visMaxAngle, angle) + (1.0 - step(a_visMinAngle, angle)));\n}\nelse\n{\ndelta_z += (1.0 - step(u_keepUpright, 0.0)) * (step(a_visMaxAngle, angle) * (1.0 - step(a_visMinAngle, angle)));\n}\ndelta_z += 1.0 - step(a_minLevel, u_level);\ndelta_z += step(a_maxLevel, u_level);\ndelta_z += step(v_color[3], 0.0);\nv_tex = a_tex.xy / u_mosaicSize;\nv_edgeDistance = edgePos - halo_width / size;\nv_edgeWidth = (u_antialiasingWidth + halo_blur) / size;\nmediump vec3 pos = u_dvsMat3 * vec3(a_pos, 1.0) + sdfFontScale * u_displayViewMat3 * vec3(offsetPrecision * size * a_vertexOffset, 0.0) + u_displayMat3 * vec3(u_textTranslation, 0.0);\ngl_Position = vec4(pos.xy, u_depth + delta_z, 1.0);\n}"},util:{"encoding.glsl":"const vec4 rgba2float_factors = vec4(\n255.0 / (256.0),\n255.0 / (256.0 * 256.0),\n255.0 / (256.0 * 256.0 * 256.0),\n255.0 / (256.0 * 256.0 * 256.0 * 256.0)\n);\nfloat rgba2float(vec4 rgba) {\nreturn dot(rgba, rgba2float_factors);\n}","util.glsl":"float nextPOT(in float x) {\nreturn pow(2.0, ceil(log2(abs(x))));\n}"}};export{e as default};
5
+ const e={background:{"background.frag":"#ifdef PATTERN\nuniform lowp float u_opacity;\nuniform lowp sampler2D u_texture;\nvarying mediump vec4 v_tlbr;\nvarying mediump vec2 v_tileTextureCoord;\n#else\nuniform lowp vec4 u_color;\n#endif\nvoid main() {\n#ifdef PATTERN\nmediump vec2 normalizedTextureCoord = mod(v_tileTextureCoord, 1.0);\nmediump vec2 samplePos = mix(v_tlbr.xy, v_tlbr.zw, normalizedTextureCoord);\nlowp vec4 color = texture2D(u_texture, samplePos);\ngl_FragColor = u_opacity * color;\n#else\ngl_FragColor = u_color;\n#endif\n}","background.vert":"precision mediump float;\nattribute vec2 a_pos;\nuniform highp mat3 u_dvsMat3;\nuniform mediump float u_coord_range;\nuniform mediump float u_depth;\n#ifdef PATTERN\nuniform mediump mat3 u_pattern_matrix;\nvarying mediump vec2 v_tileTextureCoord;\nuniform mediump vec4 u_tlbr;\nuniform mediump vec2 u_mosaicSize;\nvarying mediump vec4 v_tlbr;\n#endif\nvoid main() {\ngl_Position = vec4((u_dvsMat3 * vec3(u_coord_range * a_pos, 1.0)).xy, u_depth, 1.0);\n#ifdef PATTERN\nv_tileTextureCoord = (u_pattern_matrix * vec3(a_pos, 1.0)).xy;\nv_tlbr = u_tlbr / u_mosaicSize.xyxy;\n#endif\n}"},circle:{"circle.frag":"precision lowp float;\nvarying lowp vec4 v_color;\nvarying lowp vec4 v_stroke_color;\nvarying mediump float v_blur;\nvarying mediump float v_stroke_width;\nvarying mediump float v_radius;\nvarying mediump vec2 v_offset;\nvoid main()\n{\nmediump float dist = length(v_offset);\nmediump float alpha = smoothstep(0.0, -v_blur, dist - 1.0);\nlowp float color_mix_ratio = v_stroke_width < 0.01 ? 0.0 : smoothstep(-v_blur, 0.0, dist - v_radius / (v_radius + v_stroke_width));\ngl_FragColor = alpha * mix(v_color, v_stroke_color, color_mix_ratio);\n}","circle.vert":"precision mediump float;\nattribute vec2 a_pos;\n#pragma header\nvarying lowp vec4 v_color;\nvarying lowp vec4 v_stroke_color;\nvarying mediump float v_blur;\nvarying mediump float v_stroke_width;\nvarying mediump float v_radius;\nvarying mediump vec2 v_offset;\nuniform highp mat3 u_dvsMat3;\nuniform highp mat3 u_displayMat3;\nuniform mediump vec2 u_circleTranslation;\nuniform mediump float u_depth;\nuniform mediump float u_antialiasingWidth;\nvoid main()\n{\n#pragma main\nv_color = color * opacity;\nv_stroke_color = stroke_color * stroke_opacity;\nv_stroke_width = stroke_width;\nv_radius = radius;\nv_blur = max(blur, u_antialiasingWidth / (radius + stroke_width));\nmediump vec2 offset = vec2(mod(a_pos, 2.0) * 2.0 - 1.0);\nv_offset = offset;\nmediump vec3 pos = u_dvsMat3 * vec3(a_pos * 0.5, 1.0) + u_displayMat3 * vec3((v_radius + v_stroke_width) * offset + u_circleTranslation, 0.0);\ngl_Position = vec4(pos.xy, u_depth, 1.0);\n}"},fill:{"fill.frag":"precision lowp float;\n#ifdef PATTERN\nuniform lowp sampler2D u_texture;\nvarying mediump vec2 v_tileTextureCoord;\nvarying mediump vec4 v_tlbr;\n#endif\nvarying lowp vec4 v_color;\nvec4 mixColors(vec4 color1, vec4 color2) {\nfloat compositeAlpha = color2.a + color1.a * (1.0 - color2.a);\nvec3 compositeColor = color2.rgb + color1.rgb * (1.0 - color2.a);\nreturn vec4(compositeColor, compositeAlpha);\n}\nvoid main()\n{\n#ifdef PATTERN\nmediump vec2 normalizedTextureCoord = fract(v_tileTextureCoord);\nmediump vec2 samplePos = mix(v_tlbr.xy, v_tlbr.zw, normalizedTextureCoord);\nlowp vec4 color = texture2D(u_texture, samplePos);\ngl_FragColor = v_color[3] * color;\n#else\ngl_FragColor = v_color;\n#endif\n}","fill.vert":"precision mediump float;\nattribute vec2 a_pos;\n#pragma header\nuniform highp mat3 u_dvsMat3;\nuniform highp mat3 u_displayMat3;\nuniform mediump float u_depth;\nuniform mediump vec2 u_fillTranslation;\n#ifdef PATTERN\n#include <util/util.glsl>\nuniform mediump vec2 u_mosaicSize;\nuniform mediump float u_patternFactor;\nvarying mediump vec2 v_tileTextureCoord;\nvarying mediump vec4 v_tlbr;\n#endif\nvarying lowp vec4 v_color;\nvoid main()\n{\n#pragma main\nv_color = color * opacity;\n#ifdef PATTERN\nfloat patternWidth = nextPOT(tlbr.z - tlbr.x);\nfloat patternHeight = nextPOT(tlbr.w - tlbr.y);\nfloat scaleX = 1.0 / (patternWidth * u_patternFactor);\nfloat scaleY = 1.0 / (patternHeight * u_patternFactor);\nmat3 patterMat = mat3(scaleX, 0.0, 0.0,\n0.0, -scaleY, 0.0,\n0.0, 0.0, 1.0);\nv_tileTextureCoord = (patterMat * vec3(a_pos, 1.0)).xy;\nv_tlbr = tlbr / u_mosaicSize.xyxy;\n#endif\nvec3 pos = u_dvsMat3 * vec3(a_pos, 1.0) + u_displayMat3 * vec3(u_fillTranslation, 0.0);\ngl_Position = vec4(pos.xy, u_depth, 1.0);\n}"},icon:{"icon.frag":"precision mediump float;\nuniform lowp sampler2D u_texture;\n#ifdef SDF\nuniform lowp vec4 u_color;\nuniform lowp vec4 u_outlineColor;\n#endif\nuniform highp int u_isStencilPass;\nvarying mediump vec2 v_tex;\nvarying lowp float v_opacity;\nvarying mediump vec2 v_size;\nvarying lowp vec4 v_color;\n#ifdef SDF\nvarying mediump float v_halo_width;\n#endif\nconst float alphaCutoff = 1.0 / 255.5;\n#include <util/encoding.glsl>\nvec4 mixColors(vec4 color1, vec4 color2) {\nfloat compositeAlpha = color2.a + color1.a * (1.0 - color2.a);\nvec3 compositeColor = color2.rgb + color1.rgb * (1.0 - color2.a);\nreturn vec4(compositeColor, compositeAlpha);\n}\nvoid main()\n{\n#ifdef SDF\nlowp vec4 fillPixelColor = v_color;\nfloat d = rgba2float(texture2D(u_texture, v_tex)) - 0.5;\nconst float softEdgeRatio = 0.248062016;\nfloat size = max(v_size.x, v_size.y);\nfloat dist = d * softEdgeRatio * size;\nfillPixelColor *= clamp(0.5 - dist, 0.0, 1.0);\nif (v_halo_width > 0.25) {\nlowp vec4 outlinePixelColor = u_outlineColor;\nconst float outlineLimitRatio = (16.0 / 86.0);\nfloat clampedOutlineSize = softEdgeRatio * min(v_halo_width, outlineLimitRatio * max(v_size.x, v_size.y));\noutlinePixelColor *= clamp(0.5 - (abs(dist) - clampedOutlineSize), 0.0, 1.0);\ngl_FragColor = v_opacity * mixColors(fillPixelColor, outlinePixelColor);\n}\nelse {\ngl_FragColor = v_opacity * fillPixelColor;\n}\n#else\nlowp vec4 texColor = texture2D(u_texture, v_tex);\nif (u_isStencilPass == 1 && texColor.a < alphaCutoff) {\ndiscard;\n}\ngl_FragColor = v_opacity * texColor;\n#endif\n}","icon.vert":"attribute vec2 a_pos;\nattribute vec2 a_vertexOffset;\nattribute vec4 a_texAngleRange;\nattribute vec4 a_levelInfo;\nattribute float a_opacityInfo;\n#pragma header\nvarying lowp vec4 v_color;\n#ifdef SDF\nvarying mediump float v_halo_width;\n#endif\nuniform highp mat3 u_dvsMat3;\nuniform highp mat3 u_displayMat3;\nuniform highp mat3 u_displayViewMat3;\nuniform mediump vec2 u_iconTranslation;\nuniform vec2 u_mosaicSize;\nuniform mediump float u_depth;\nuniform mediump float u_mapRotation;\nuniform mediump float u_level;\nuniform lowp float u_keepUpright;\nuniform mediump float u_fadeDuration;\nvarying mediump vec2 v_tex;\nvarying lowp float v_opacity;\nvarying mediump vec2 v_size;\nconst float C_OFFSET_PRECISION = 1.0 / 8.0;\nconst float C_256_TO_RAD = 3.14159265359 / 128.0;\nconst float C_DEG_TO_RAD = 3.14159265359 / 180.0;\nconst float tileCoordRatio = 1.0 / 8.0;\nuniform highp float u_time;\nvoid main()\n{\n#pragma main\nv_color = color;\nv_opacity = opacity;\n#ifdef SDF\nv_halo_width = halo_width;\n#endif\nfloat modded = mod(a_opacityInfo, 128.0);\nfloat targetOpacity = (a_opacityInfo - modded) / 128.0;\nfloat startOpacity = modded / 127.0;\nfloat interpolatedOpacity = clamp(startOpacity + 2.0 * (targetOpacity - 0.5) * u_time / u_fadeDuration, 0.0, 1.0);\nv_opacity *= interpolatedOpacity;\nmediump float a_angle = a_levelInfo[1];\nmediump float a_minLevel = a_levelInfo[2];\nmediump float a_maxLevel = a_levelInfo[3];\nmediump vec2 a_tex = a_texAngleRange.xy;\nmediump float delta_z = 0.0;\nmediump float rotated = mod(a_angle + u_mapRotation, 256.0);\ndelta_z += (1.0 - step(u_keepUpright, 0.0)) * step(64.0, rotated) * (1.0 - step(192.0, rotated));\ndelta_z += 1.0 - step(a_minLevel, u_level);\ndelta_z += step(a_maxLevel, u_level);\ndelta_z += step(v_opacity, 0.0);\nvec2 offset = C_OFFSET_PRECISION * a_vertexOffset;\nv_size = abs(offset);\n#ifdef SDF\noffset = (120.0 / 86.0) * offset;\n#endif\nmediump vec3 pos = u_dvsMat3 * vec3(a_pos, 1.0) + u_displayViewMat3 * vec3(size * offset, 0.0) + u_displayMat3 * vec3(u_iconTranslation, 0.0);\ngl_Position = vec4(pos.xy, u_depth + delta_z, 1.0);\nv_tex = a_tex.xy / u_mosaicSize;\n}"},line:{"line.frag":"precision lowp float;\nvarying mediump vec2 v_normal;\nvarying highp float v_accumulatedDistance;\nvarying mediump float v_lineHalfWidth;\nvarying lowp vec4 v_color;\nvarying mediump float v_blur;\n#if defined (PATTERN) || defined(SDF)\nvarying mediump vec4 v_tlbr;\nvarying mediump vec2 v_patternSize;\nvarying mediump float v_widthRatio;\nuniform sampler2D u_texture;\nuniform mediump float u_antialiasing;\n#endif\n#ifdef SDF\n#include <util/encoding.glsl>\n#endif\nvoid main()\n{\nmediump float fragDist = length(v_normal) * v_lineHalfWidth;\nlowp float alpha = clamp((v_lineHalfWidth - fragDist) / v_blur, 0.0, 1.0);\n#ifdef PATTERN\nmediump float relativeTexX = fract(v_accumulatedDistance / (v_patternSize.x * v_widthRatio));\nmediump float relativeTexY = 0.5 + v_normal.y * v_lineHalfWidth / (v_patternSize.y * v_widthRatio);\nmediump vec2 texCoord = mix(v_tlbr.xy, v_tlbr.zw, vec2(relativeTexX, relativeTexY));\nlowp vec4 color = texture2D(u_texture, texCoord);\ngl_FragColor = alpha * v_color[3] * color;\n#elif defined(SDF)\nmediump float relativeTexX = fract((v_accumulatedDistance * 0.5) / (v_patternSize.x * v_widthRatio));\nmediump float relativeTexY = 0.5 + 0.25 * v_normal.y;\nmediump vec2 texCoord = mix(v_tlbr.xy, v_tlbr.zw, vec2(relativeTexX, relativeTexY));\nmediump float d = rgba2float(texture2D(u_texture, texCoord)) - 0.5;\nfloat dist = d * (v_lineHalfWidth + u_antialiasing / 2.0);\ngl_FragColor = alpha * clamp(0.5 - dist, 0.0, 1.0) * v_color;\n#else\ngl_FragColor = alpha * v_color;\n#endif\n}","line.vert":"precision mediump float;\nattribute vec2 a_pos;\nattribute vec4 a_extrude_offset;\nattribute vec4 a_dir_normal;\nattribute vec2 a_accumulatedDistance;\n#pragma header\nuniform highp mat3 u_dvsMat3;\nuniform highp mat3 u_displayMat3;\nuniform highp mat3 u_displayViewMat3;\nuniform mediump float u_zoomFactor;\nuniform mediump vec2 u_lineTranslation;\nuniform mediump float u_antialiasing;\nuniform mediump float u_depth;\nvarying mediump vec2 v_normal;\nvarying highp float v_accumulatedDistance;\nconst float scale = 1.0 / 31.0;\nconst mediump float tileCoordRatio = 8.0;\n#if defined (SDF)\nconst mediump float sdfPatternHalfWidth = 15.5;\n#endif\n#if defined (PATTERN) || defined(SDF)\nuniform mediump vec2 u_mosaicSize;\nvarying mediump vec4 v_tlbr;\nvarying mediump vec2 v_patternSize;\nvarying mediump float v_widthRatio;\n#endif\nvarying lowp vec4 v_color;\nvarying mediump float v_lineHalfWidth;\nvarying mediump float v_blur;\nvoid main()\n{\n#pragma main\nv_color = color * opacity;\nv_blur = blur + u_antialiasing;\nv_normal = a_dir_normal.zw * scale;\n#if defined (PATTERN) || defined(SDF)\nv_tlbr = tlbr / u_mosaicSize.xyxy;\nv_patternSize = vec2(tlbr.z - tlbr.x, tlbr.y - tlbr.w);\n#if defined (PATTERN)\nv_widthRatio = width / v_patternSize.y;\n#else\nv_widthRatio = width / sdfPatternHalfWidth / 2.0;\n#endif\n#endif\nv_lineHalfWidth = (width + u_antialiasing) * 0.5;\nmediump vec2 dir = a_dir_normal.xy * scale;\nmediump vec2 offset_ = a_extrude_offset.zw * scale * offset;\nmediump vec2 dist = v_lineHalfWidth * scale * a_extrude_offset.xy;\nmediump vec3 pos = u_dvsMat3 * vec3(a_pos + offset_ * tileCoordRatio / u_zoomFactor, 1.0) + u_displayViewMat3 * vec3(dist, 0.0) + u_displayMat3 * vec3(u_lineTranslation, 0.0);\ngl_Position = vec4(pos.xy, u_depth, 1.0);\n#if defined (PATTERN) || defined(SDF)\nv_accumulatedDistance = a_accumulatedDistance.x * u_zoomFactor / tileCoordRatio + dot(dir, dist + offset_);\n#endif\n}"},outline:{"outline.frag":"varying lowp vec4 v_color;\nvarying mediump vec2 v_normal;\nvoid main()\n{\nlowp float dist = abs(v_normal.y);\nlowp float alpha = smoothstep(1.0, 0.0, dist);\ngl_FragColor = alpha * v_color;\n}","outline.vert":"attribute vec2 a_pos;\nattribute vec2 a_offset;\nattribute vec2 a_xnormal;\n#pragma header\nvarying lowp vec4 v_color;\nuniform highp mat3 u_dvsMat3;\nuniform highp mat3 u_displayMat3;\nuniform mediump vec2 u_fillTranslation;\nuniform mediump float u_depth;\nuniform mediump float u_outline_width;\nvarying lowp vec2 v_normal;\nconst float scale = 1.0 / 15.0;\nvoid main()\n{\n#pragma main\nv_color = color * opacity;\nv_normal = a_xnormal;\nmediump vec2 dist = u_outline_width * scale * a_offset;\nmediump vec3 pos = u_dvsMat3 * vec3(a_pos, 1.0) + u_displayMat3 * vec3(dist + u_fillTranslation, 0.0);\ngl_Position = vec4(pos.xy, u_depth, 1.0);\n}"},text:{"text.frag":"uniform lowp sampler2D u_texture;\nvarying lowp vec2 v_tex;\nvarying lowp vec4 v_color;\nvarying mediump float v_edgeWidth;\nvarying mediump float v_edgeDistance;\nvoid main()\n{\nlowp float dist = texture2D(u_texture, v_tex).a;\nmediump float alpha = smoothstep(v_edgeDistance - v_edgeWidth, v_edgeDistance + v_edgeWidth, dist);\ngl_FragColor = alpha * v_color;\n}","text.vert":"attribute vec2 a_pos;\nattribute vec2 a_vertexOffset;\nattribute vec4 a_texAngleRange;\nattribute vec4 a_levelInfo;\nattribute float a_opacityInfo;\n#pragma header\nvarying lowp vec4 v_color;\nuniform highp mat3 u_dvsMat3;\nuniform highp mat3 u_displayMat3;\nuniform highp mat3 u_displayViewMat3;\nuniform mediump vec2 u_textTranslation;\nuniform vec2 u_mosaicSize;\nuniform mediump float u_depth;\nuniform mediump float u_mapRotation;\nuniform mediump float u_level;\nuniform lowp float u_keepUpright;\nuniform mediump float u_fadeDuration;\nvarying lowp vec2 v_tex;\nconst float offsetPrecision = 1.0 / 8.0;\nconst mediump float edgePos = 0.75;\nuniform mediump float u_antialiasingWidth;\nvarying mediump float v_edgeDistance;\nvarying mediump float v_edgeWidth;\nuniform lowp float u_halo;\nconst float sdfFontScale = 1.0 / 24.0;\nconst float sdfPixel = 3.0;\nuniform highp float u_time;\nvoid main()\n{\n#pragma main\nif (u_halo > 0.5)\n{\nv_color = halo_color * opacity;\nhalo_width *= sdfPixel;\nhalo_blur *= sdfPixel;\n}\nelse\n{\nv_color = color * opacity;\nhalo_width = 0.0;\nhalo_blur = 0.0;\n}\nfloat modded = mod(a_opacityInfo, 128.0);\nfloat targetOpacity = (a_opacityInfo - modded) / 128.0;\nfloat startOpacity = modded / 127.0;\nfloat interpolatedOpacity = clamp(startOpacity + 2.0 * (targetOpacity - 0.5) * u_time / u_fadeDuration, 0.0, 1.0);\nv_color *= interpolatedOpacity;\nmediump float a_angle = a_levelInfo[1];\nmediump float a_minLevel = a_levelInfo[2];\nmediump float a_maxLevel = a_levelInfo[3];\nmediump vec2 a_tex = a_texAngleRange.xy;\nmediump float a_visMinAngle = a_texAngleRange.z;\nmediump float a_visMaxAngle = a_texAngleRange.w;\nmediump float delta_z = 0.0;\nmediump float angle = mod(a_angle + u_mapRotation, 256.0);\nif (a_visMinAngle < a_visMaxAngle)\n{\ndelta_z += (1.0 - step(u_keepUpright, 0.0)) * (step(a_visMaxAngle, angle) + (1.0 - step(a_visMinAngle, angle)));\n}\nelse\n{\ndelta_z += (1.0 - step(u_keepUpright, 0.0)) * (step(a_visMaxAngle, angle) * (1.0 - step(a_visMinAngle, angle)));\n}\ndelta_z += 1.0 - step(a_minLevel, u_level);\ndelta_z += step(a_maxLevel, u_level);\ndelta_z += step(v_color[3], 0.0);\nv_tex = a_tex.xy / u_mosaicSize;\nv_edgeDistance = edgePos - halo_width / size;\nv_edgeWidth = (u_antialiasingWidth + halo_blur) / size;\nmediump vec3 pos = u_dvsMat3 * vec3(a_pos, 1.0) + sdfFontScale * u_displayViewMat3 * vec3(offsetPrecision * size * a_vertexOffset, 0.0) + u_displayMat3 * vec3(u_textTranslation, 0.0);\ngl_Position = vec4(pos.xy, u_depth + delta_z, 1.0);\n}"},util:{"encoding.glsl":"const vec4 rgba2float_factors = vec4(\n255.0 / (256.0),\n255.0 / (256.0 * 256.0),\n255.0 / (256.0 * 256.0 * 256.0),\n255.0 / (256.0 * 256.0 * 256.0 * 256.0)\n);\nfloat rgba2float(vec4 rgba) {\nreturn dot(rgba, rgba2float_factors);\n}","util.glsl":"float nextPOT(in float x) {\nreturn pow(2.0, ceil(log2(abs(x))));\n}"}};export{e as default};