@arcgis/core 4.33.0-next.20250211 → 4.33.0-next.20250213

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 (351) hide show
  1. package/assets/esri/core/workers/RemoteClient.js +1 -1
  2. package/assets/esri/core/workers/chunks/{3c23e567cfb7372c44ba.js → 0a5689348d544090006d.js} +1 -1
  3. package/assets/esri/core/workers/chunks/0b8bf1966653c326e95a.js +1 -0
  4. package/assets/esri/core/workers/chunks/{baee20c14763bef80b09.js → 1249fd2f83caeaefd8ce.js} +1 -1
  5. package/assets/esri/core/workers/chunks/135fb580d8afd8d60811.js +1 -0
  6. package/assets/esri/core/workers/chunks/{946a9890f3621d1dfbc5.js → 144e534d4ac1aafab60d.js} +1 -1
  7. package/assets/esri/core/workers/chunks/{cee3a38b92a48a58c4d0.js → 152becae48572299b07f.js} +1 -1
  8. package/assets/esri/core/workers/chunks/15ad8036736a32652c9b.js +1 -0
  9. package/assets/esri/core/workers/chunks/{f200dca22f9f9bbb8670.js → 17213c3fc63f580e5b73.js} +1 -1
  10. package/assets/esri/core/workers/chunks/211c32244e05164dcd38.js +314 -0
  11. package/assets/esri/core/workers/chunks/219b06cca6aa1e041f40.js +1 -0
  12. package/assets/esri/core/workers/chunks/24e6476f32ad2014d39d.js +1 -0
  13. package/assets/esri/core/workers/chunks/272662e4e28341419b4f.js +1 -0
  14. package/assets/esri/core/workers/chunks/282c2d52011b331d4704.js +1 -0
  15. package/assets/esri/core/workers/chunks/{5fbdb5fea7d6676fcf19.js → 2c1a85a801cb4d9d737e.js} +1 -1
  16. package/assets/esri/core/workers/chunks/2dc35c1c5d83174a2c06.js +1 -0
  17. package/assets/esri/core/workers/chunks/{7f87cf3d6a365d987f69.js → 30bd5b3204e09f516ea2.js} +1 -1
  18. package/assets/esri/core/workers/chunks/{e4651d577d297386268e.js → 32035bc69ee18b19623d.js} +1 -1
  19. package/assets/esri/core/workers/chunks/{c04091eea7089dc2e864.js → 35bcb0622234b38d85b4.js} +1 -1
  20. package/assets/esri/core/workers/chunks/{92984981afcbb95828cd.js → 37cfd102b6ab5b959f9d.js} +1 -1
  21. package/assets/esri/core/workers/chunks/3835c2884c55e73dc202.js +1 -0
  22. package/assets/esri/core/workers/chunks/39c595734a9e9cd67e41.js +1 -0
  23. package/assets/esri/core/workers/chunks/{1d51c064045e9c47bd2e.js → 3bad184751fcb26c003c.js} +1 -1
  24. package/assets/esri/core/workers/chunks/{e468bf4ec7402942ad8c.js → 3ebdd0701e77bb28c75d.js} +1 -1
  25. package/assets/esri/core/workers/chunks/{a559db8654b4f83fd79b.js → 3f6516af411256d90a03.js} +1 -1
  26. package/assets/esri/core/workers/chunks/{c83b26ff96e39266adc2.js → 4300c80fa10c5d9141e8.js} +1 -1
  27. package/assets/esri/core/workers/chunks/4848a3e31632d15dc4ce.js +1 -0
  28. package/assets/esri/core/workers/chunks/{77764ca90bdd13ee2167.js → 486df1e042204b90b0dd.js} +2 -2
  29. package/assets/esri/core/workers/chunks/{77764ca90bdd13ee2167.js.LICENSE.txt → 486df1e042204b90b0dd.js.LICENSE.txt} +1 -1
  30. package/assets/esri/core/workers/chunks/52f61e1f5972a72b6b54.js +1 -0
  31. package/assets/esri/core/workers/chunks/544ad8fa4777ba8ec177.js +1 -0
  32. package/assets/esri/core/workers/chunks/{354531dc2f0dea2ad96f.js → 5693d9ce4472a4c5959f.js} +2 -2
  33. package/assets/esri/core/workers/chunks/{354531dc2f0dea2ad96f.js.LICENSE.txt → 5693d9ce4472a4c5959f.js.LICENSE.txt} +1 -1
  34. package/assets/esri/core/workers/chunks/{e56647e61296643c5f84.js → 5719471414810b6a9aec.js} +1 -1
  35. package/assets/esri/core/workers/chunks/{1accbc048b74857269e4.js → 57924f4909f2cbe5d64c.js} +1 -1
  36. package/assets/esri/core/workers/chunks/{b21b152fa15896577242.js → 5b56b271afb0fadf48b4.js} +2 -2
  37. package/assets/esri/core/workers/chunks/{b21b152fa15896577242.js.LICENSE.txt → 5b56b271afb0fadf48b4.js.LICENSE.txt} +1 -1
  38. package/assets/esri/core/workers/chunks/{b3aeda290470dcb2bdd2.js → 5cf08ee5114273163e09.js} +1 -1
  39. package/assets/esri/core/workers/chunks/{76794184ba8c2e66745e.js → 629f4621ba6ffdcaa2f9.js} +1 -1
  40. package/assets/esri/core/workers/chunks/{32d3657dcae89b740f8b.js → 6518954889df2e781c47.js} +2 -2
  41. package/assets/esri/core/workers/chunks/{32d3657dcae89b740f8b.js.LICENSE.txt → 6518954889df2e781c47.js.LICENSE.txt} +1 -1
  42. package/assets/esri/core/workers/chunks/6c64ccf5f64b5025b239.js +1 -0
  43. package/assets/esri/core/workers/chunks/{220b12654b94c94f8d8a.js → 6fa1f1e431aae1794ce3.js} +1 -1
  44. package/assets/esri/core/workers/chunks/82facb23dfaba2819bc7.js +1 -0
  45. package/assets/esri/core/workers/chunks/8722d05ae9b0aa5162a4.js +1 -0
  46. package/assets/esri/core/workers/chunks/89960be0e525d42ccffe.js +1 -0
  47. package/assets/esri/core/workers/chunks/8de4280080296adb1757.js +1 -0
  48. package/assets/esri/core/workers/chunks/{1f443b99653708470f31.js → 96d7f47ea8fbf345101c.js} +1 -1
  49. package/assets/esri/core/workers/chunks/9be12d0df67e2c4c3787.js +1 -0
  50. package/assets/esri/core/workers/chunks/{e6087eda5e3b7e5ad3e1.js → a12afed58acff17708ca.js} +1 -1
  51. package/assets/esri/core/workers/chunks/a80c3ada9e09b8832e9b.js +1 -0
  52. package/assets/esri/core/workers/chunks/a8457210711b663059f0.js +1 -0
  53. package/assets/esri/core/workers/chunks/{95ad76e58452b60fb79f.js → a864ef9b584c83ebf6ae.js} +1 -1
  54. package/assets/esri/core/workers/chunks/{df3d1a8d3f11d52eb30d.js → afdbdc1569b56489c14d.js} +1 -1
  55. package/assets/esri/core/workers/chunks/{308ec51ff4a66f7fcb0d.js → b0952b81d5be214262dd.js} +2 -2
  56. package/assets/esri/core/workers/chunks/{308ec51ff4a66f7fcb0d.js.LICENSE.txt → b0952b81d5be214262dd.js.LICENSE.txt} +1 -1
  57. package/assets/esri/core/workers/chunks/{89e3f7880abd014a62c0.js → b42d26123784997c66e8.js} +1 -1
  58. package/assets/esri/core/workers/chunks/{4040158835f9036967cd.js → b83151b03bbeba466f82.js} +2 -2
  59. package/assets/esri/core/workers/chunks/{4040158835f9036967cd.js.LICENSE.txt → b83151b03bbeba466f82.js.LICENSE.txt} +1 -1
  60. package/assets/esri/core/workers/chunks/{94490937dca566fe2640.js → c061cad8323f0469e7e4.js} +1 -1
  61. package/assets/esri/core/workers/chunks/{fef135e55706d84d1947.js → c4ce3c35b52b7999e877.js} +1 -1
  62. package/assets/esri/core/workers/chunks/cbba0b6bd41d16eacb5c.js +1 -0
  63. package/assets/esri/core/workers/chunks/cc8eb975a543556f88ae.js +1 -0
  64. package/assets/esri/core/workers/chunks/{6e6422eda398774acbc7.js → d60da671aba70485050e.js} +1 -1
  65. package/assets/esri/core/workers/chunks/de638753a30c9aa41bad.js +1 -0
  66. package/assets/esri/core/workers/chunks/de87009542886fad9a2f.js +2 -0
  67. package/assets/esri/core/workers/chunks/{b765670b47d209d7655a.js.LICENSE.txt → de87009542886fad9a2f.js.LICENSE.txt} +1 -1
  68. package/assets/esri/core/workers/chunks/{bb73cd34fbae935ccbcc.js → dff4a9d656b84fe3e052.js} +1 -1
  69. package/assets/esri/core/workers/chunks/ea4c7560e64335f155f9.js +1 -0
  70. package/assets/esri/core/workers/chunks/eac791e3a0bb056a28f3.js +1 -0
  71. package/assets/esri/core/workers/chunks/f088e7db4e7ac85aaff1.js +1 -0
  72. package/assets/esri/core/workers/chunks/{a38cb1fff519bad8abe3.js → f0d28fe4deb7cd894765.js} +1 -1
  73. package/assets/esri/core/workers/chunks/{08980b1ad3d5d67c6390.js → f419aaf3bab086060894.js} +1 -1
  74. package/assets/esri/core/workers/chunks/f52ed527b46c316eb369.js +1 -0
  75. package/assets/esri/core/workers/chunks/{140d0c4285c6978103ea.js → f5ce6af342c02a4b0d15.js} +7 -7
  76. package/assets/esri/core/workers/chunks/{1cbeac3301b6943bb28a.js → fc07d47d44c04f123650.js} +1 -1
  77. package/assets/esri/libs/lyr3d/lyr3DMain.wasm +0 -0
  78. package/assets/esri/libs/lyr3d/lyr3DWorker.wasm +0 -0
  79. package/assets/esri/themes/base/_core.scss +4 -0
  80. package/assets/esri/themes/base/widgets/_BasemapGallery.scss +0 -5
  81. package/assets/esri/themes/base/widgets/_FeatureFormUtilityNetworkAssociationLayers.scss +80 -0
  82. package/assets/esri/themes/base/widgets/_FeatureFormUtilityNetworkAssociationList.scss +14 -0
  83. package/assets/esri/themes/base/widgets/_FeatureFormUtilityNetworkAssociationSettings.scss +41 -0
  84. package/assets/esri/themes/base/widgets/_FilterBuilder.scss +1 -6
  85. package/assets/esri/themes/dark/main.css +1 -1
  86. package/assets/esri/themes/light/main.css +1 -1
  87. package/assets/esri/themes/light/view.css +1 -1
  88. package/chunks/Bufferer-B-V7yYm-.js +5 -0
  89. package/chunks/ComponentShader.glsl.js +6 -6
  90. package/chunks/Distance2DCalculator-Coa0qAFt.js +5 -0
  91. package/chunks/Envelope.js +1 -1
  92. package/chunks/{GeodeticDistanceCalculator-BsWHOuqE.js → GeodeticDistanceCalculator-D4iQ-_NX.js} +1 -1
  93. package/chunks/Geometry.js +1 -1
  94. package/chunks/OperatorClip.js +1 -1
  95. package/chunks/OperatorCut.js +1 -1
  96. package/chunks/OperatorGeneralize.js +1 -1
  97. package/chunks/OperatorGeodesicBuffer.js +1 -1
  98. package/chunks/OperatorGeodeticArea.js +1 -1
  99. package/chunks/OperatorGeodeticDistance.js +1 -1
  100. package/chunks/OperatorMultiPartToSinglePart.js +1 -1
  101. package/chunks/OperatorProximity.js +1 -1
  102. package/chunks/OperatorProximityGeodesic.js +1 -1
  103. package/chunks/OperatorShapePreservingLength.js +1 -1
  104. package/chunks/OperatorShapePreservingProject.js +1 -1
  105. package/chunks/Point2D.js +1 -1
  106. package/chunks/ProjectionTransformation.js +1 -1
  107. package/chunks/QuadraticBezier.js +1 -1
  108. package/chunks/ShadowHighlight.glsl.js +2 -4
  109. package/chunks/SideCalculator2D-BNwb5gvz.js +1 -1
  110. package/chunks/disjointOperator.js +1 -1
  111. package/chunks/distanceOperator.js +1 -1
  112. package/chunks/lyr3DWorker.js +1 -1
  113. package/core/libs/gl-matrix-2/factories/mat2df32.js +1 -1
  114. package/core/libs/gl-matrix-2/factories/mat2df64.js +1 -1
  115. package/core/libs/gl-matrix-2/factories/mat2f32.js +1 -1
  116. package/core/libs/gl-matrix-2/factories/mat2f64.js +1 -1
  117. package/core/libs/gl-matrix-2/factories/mat3f32.js +1 -1
  118. package/core/libs/gl-matrix-2/factories/mat3f64.js +1 -1
  119. package/core/libs/gl-matrix-2/factories/mat4f32.js +1 -1
  120. package/core/libs/gl-matrix-2/factories/mat4f64.js +1 -1
  121. package/core/libs/gl-matrix-2/factories/quat2f64.js +1 -1
  122. package/core/libs/gl-matrix-2/factories/vec2f32.js +1 -1
  123. package/core/libs/gl-matrix-2/factories/vec2f64.js +1 -1
  124. package/core/libs/gl-matrix-2/factories/vec3f32.js +1 -1
  125. package/core/libs/gl-matrix-2/factories/vec3f64.js +1 -1
  126. package/core/libs/gl-matrix-2/factories/vec4f32.js +1 -1
  127. package/core/libs/gl-matrix-2/factories/vec4f64.js +1 -1
  128. package/core/sql.js +1 -1
  129. package/editing/sharedTemplates/SharedTemplate.d.ts +4 -0
  130. package/editing/sharedTemplates/SharedTemplate.js +1 -1
  131. package/editing/sharedTemplates/SharedTemplateMetadata.js +1 -1
  132. package/editing/sharedTemplates/SharedTemplateProvider.js +1 -1
  133. package/editing/sharedTemplates/executor/builders/bufferLineToPolygon.js +1 -1
  134. package/editing/sharedTemplates/executor/builders/bufferPointToPolygon.js +1 -1
  135. package/editing/sharedTemplates/executor/builders/bufferPolygonToPolygon.js +1 -1
  136. package/editing/sharedTemplates/executor/builders/equallySpaced.js +1 -1
  137. package/editing/sharedTemplates/executor/builders/offsetLine.js +1 -1
  138. package/editing/sharedTemplates/executor/builders/offsetPrimaryLine.js +1 -1
  139. package/editing/sharedTemplates/executor/builders/pointAtAllVerticesOfLine.js +1 -1
  140. package/editing/sharedTemplates/executor/builders/pointAtBeginningOfLine.js +1 -1
  141. package/editing/sharedTemplates/executor/builders/pointAtBeginningOfRadial.js +1 -1
  142. package/editing/sharedTemplates/executor/builders/pointAtEndOfLine.js +1 -1
  143. package/editing/sharedTemplates/executor/builders/pointAtInteriorVertices.js +1 -1
  144. package/editing/sharedTemplates/executor/builders/pointAtIntersectionVerticesOfLine.js +1 -1
  145. package/editing/sharedTemplates/executor/builders/pointAtNotBeginningOfLine.js +1 -1
  146. package/editing/sharedTemplates/executor/builders/pointAtNotEndOfLine.js +1 -1
  147. package/editing/sharedTemplates/executor/builders/pointAtPolygonCentroid.js +1 -1
  148. package/editing/sharedTemplates/executor/builders/pointAtPolygonNotStart.js +1 -1
  149. package/editing/sharedTemplates/executor/builders/pointAtPolygonStart.js +1 -1
  150. package/editing/sharedTemplates/executor/builders/pointIdentity.js +1 -1
  151. package/editing/sharedTemplates/executor/builders/pointPrimaryIdentity.js +1 -1
  152. package/editing/sharedTemplates/executor/builders/polygonBoundary.js +1 -1
  153. package/editing/sharedTemplates/executor/builders/polygonBoundaryTwoPoint.js +1 -1
  154. package/editing/sharedTemplates/executor/builders/polygonIdentity.js +1 -1
  155. package/editing/sharedTemplates/executor/builders/polygonPrimaryIdentity.js +1 -1
  156. package/editing/sharedTemplates/executor/builders/polygonVertices.js +1 -1
  157. package/editing/sharedTemplates/executor/builders/support/builderUtils.js +1 -1
  158. package/editing/sharedTemplates/executor/builders/twoPointLines.js +1 -1
  159. package/editing/sharedTemplates/executor/createTemplateExecutor.js +1 -1
  160. package/editing/sharedTemplates/executor/support/createServiceEdit.js +1 -1
  161. package/editing/sharedTemplates/executor/support/executorUtils.js +1 -1
  162. package/editing/sharedTemplates/templateDefinitions/GroupTemplateDefinition.js +1 -1
  163. package/editing/sharedTemplates/templateDefinitions/PresetTemplateDefinition.js +1 -1
  164. package/editing/sharedTemplates/templateDefinitions/parts/builders/builderUtils.js +1 -1
  165. package/editing/templateUtils.js +1 -1
  166. package/geometry/operators/extendOperator.js +1 -1
  167. package/geometry/operators/gx/operatorAlphaShape.js +1 -1
  168. package/geometry/operators/gx/operatorAutoComplete.js +1 -1
  169. package/geometry/operators/gx/operatorBuffer.js +1 -1
  170. package/geometry/operators/gx/operatorGraphicBuffer.js +1 -1
  171. package/geometry/operators/gx/operatorIntegrate.js +1 -1
  172. package/geometry/operators/gx/operatorLabelPoint.js +1 -1
  173. package/geometry/operators/gx/operatorLinesToPolygons.js +1 -1
  174. package/geometry/operators/gx/operatorOffset.js +1 -1
  175. package/geometry/operators/gx/operatorPolygonOverlay.js +1 -1
  176. package/geometry/operators/gx/operatorSimplify.js +1 -1
  177. package/geometry/operators/gx/operatorSymmetricDifference.js +1 -1
  178. package/geometry/operators/gx/operatorUnion.js +1 -1
  179. package/geometry/operators/isNearOperator.js +1 -1
  180. package/geometry/operators/json/disjointOperator.js +1 -1
  181. package/geometry/operators/projectOperator.js +1 -1
  182. package/geometry/operators/reshapeOperator.js +1 -1
  183. package/geometry/operators/shapePreservingProjectOperator.js +1 -1
  184. package/geometry/operators/support/apiConverter.js +1 -1
  185. package/geometry/operators/support/initNoPeFactory.js +1 -1
  186. package/geometry/operators/support/jsonConverter.js +1 -1
  187. package/geometry/support/DoubleArray.js +1 -1
  188. package/geometry/support/UCharArray.js +5 -0
  189. package/geometry/support/UShortArray.js +5 -0
  190. package/interfaces.d.ts +117 -67
  191. package/layers/VectorTileLayer.js +1 -1
  192. package/layers/graphics/controllers/I3SOnDemandController.js +1 -1
  193. package/layers/mixins/operationalLayers.js +1 -1
  194. package/layers/save/featureLayerUtils.js +1 -1
  195. package/layers/save/utils.js +1 -1
  196. package/layers/support/SubtypeSublayer.js +1 -1
  197. package/layers/support/commonProperties.js +1 -1
  198. package/layers/support/rasterFunctions/stretchUtils.js +1 -1
  199. package/layers/support/wmsUtils.js +1 -1
  200. package/networks/Network.js +1 -1
  201. package/networks/RulesTable.js +1 -1
  202. package/networks/UtilityNetwork.js +1 -1
  203. package/networks/support/typeUtils.js +1 -1
  204. package/package.json +3 -3
  205. package/portal/Portal.js +1 -1
  206. package/renderers/support/RasterSymbolizer.js +1 -1
  207. package/rest/print.js +1 -1
  208. package/support/revision.js +1 -1
  209. package/views/2d/engine/webgl/AttributeStoreView.js +1 -1
  210. package/views/2d/engine/webgl/meshing/Mesh.js +1 -1
  211. package/views/2d/engine/webgl/shaderGraph/techniques/line/GradientStrokeTechnique.js +1 -1
  212. package/views/2d/layers/FeatureLayerView2D.js +1 -1
  213. package/views/2d/layers/LayerView2D.js +1 -1
  214. package/views/2d/layers/MapNotesLayerView2D.js +1 -1
  215. package/views/2d/layers/RouteLayerView2D.js +1 -1
  216. package/views/2d/layers/features/FeatureContainer.js +1 -1
  217. package/views/2d/layers/features/FeaturePipelineWorker.js +1 -1
  218. package/views/2d/layers/features/sources/FeatureSource.js +1 -1
  219. package/views/2d/layers/features/sources/strategies/chunks/Overrides.js +1 -1
  220. package/views/2d/layers/features/sources/strategies/chunks/SourceChunkStore.js +1 -1
  221. package/views/2d/layers/features/support/FeatureSetReader.js +1 -1
  222. package/views/2d/layers/support/HighlightCounter.js +1 -1
  223. package/views/3d/analysis/DirectLineMeasurement/DirectLineMeasurementVisualization.js +1 -1
  224. package/views/3d/environment/ChapmanAtmosphere.js +1 -1
  225. package/views/3d/environment/EnvironmentManager.js +1 -1
  226. package/views/3d/environment/EnvironmentRenderer.js +1 -1
  227. package/views/3d/environment/Fog.js +1 -1
  228. package/views/3d/layers/I3SMeshView3D.js +1 -1
  229. package/views/3d/layers/MediaLayerView3D.js +1 -1
  230. package/views/3d/layers/PointCloudLayerView3D.js +1 -1
  231. package/views/3d/layers/SceneLayerGraphicsView3D.js +1 -1
  232. package/views/3d/layers/graphics/Graphics3DCore.js +1 -1
  233. package/views/3d/layers/graphics/Graphics3DLineCalloutSymbolLayer.js +1 -1
  234. package/views/3d/layers/graphics/Graphics3DMeshFillSymbolLayer.js +1 -1
  235. package/views/3d/layers/graphics/GraphicsCorePerformanceInfo.js +1 -1
  236. package/views/3d/layers/i3s/I3SBinaryReader.js +1 -1
  237. package/views/3d/layers/i3s/I3SClientMaterialUtil.js +1 -1
  238. package/views/3d/layers/i3s/I3SIndex.js +1 -1
  239. package/views/3d/layers/i3s/I3SNodeLoader.js +1 -1
  240. package/views/3d/layers/i3s/PointCloudWorkerUtil.js +1 -1
  241. package/views/3d/layers/support/DefinitionExpressionSceneLayerView.js +1 -1
  242. package/views/3d/layers/support/HeatmapFeatureProcessor.js +1 -1
  243. package/views/3d/support/DisplayQualityProfile.js +1 -1
  244. package/views/3d/support/QualitySettings.js +1 -1
  245. package/views/3d/terrain/OverlayManager.js +1 -1
  246. package/views/3d/webgl-engine/effects/haze/Haze.js +1 -1
  247. package/views/3d/webgl-engine/lib/AnimationTimer.js +1 -1
  248. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  249. package/views/3d/webgl-engine/lib/ShadowAccumulator.js +1 -1
  250. package/views/3d/webgl-engine/lib/ShadowMap.js +1 -1
  251. package/views/3d/webgl-engine/lib/TextTextureAtlas.js +1 -1
  252. package/views/3d/webgl-engine/lib/Texture.js +1 -1
  253. package/views/3d/webgl-engine/lib/ViewshedShadowMap.js +1 -1
  254. package/views/3d/webgl-engine/lib/lodRendering/LodResources.js +1 -1
  255. package/views/3d/webgl-engine/lib/textureUtils.js +1 -1
  256. package/views/3d/webgl-engine/parts/RenderView.js +1 -1
  257. package/views/3d/webgl-engine/parts/ScreenshotManager.js +1 -1
  258. package/views/SceneView.js +1 -1
  259. package/views/layers/LayerView.js +1 -1
  260. package/views/support/Scheduler.js +1 -1
  261. package/views/webgl/Parameters.js +1 -1
  262. package/views/webgl/RenderingContext.js +1 -1
  263. package/widgets/AreaMeasurement2D/AreaMeasurement2DTool.js +1 -1
  264. package/widgets/AreaMeasurement2D/AreaMeasurement2DViewModel.js +1 -1
  265. package/widgets/AreaMeasurement2D.js +1 -1
  266. package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.js +1 -1
  267. package/widgets/BatchAttributeForm/ReactiveGraphic.js +1 -1
  268. package/widgets/BatchAttributeForm/inputs/EditableInput.js +1 -1
  269. package/widgets/BatchAttributeForm/inputs/FieldInput.js +1 -1
  270. package/widgets/BatchAttributeForm/inputs/GroupInput.js +1 -1
  271. package/widgets/BatchAttributeForm/inputs/InputBase.js +1 -1
  272. package/widgets/BatchAttributeForm/inputs/support/inputUtils.js +1 -1
  273. package/widgets/BatchAttributeForm/templates/support/createBatchFormTemplate.js +1 -1
  274. package/widgets/BatchAttributeForm.js +1 -1
  275. package/widgets/DistanceMeasurement2D/DistanceMeasurement2DTool.js +1 -1
  276. package/widgets/DistanceMeasurement2D/DistanceMeasurement2DViewModel.js +1 -1
  277. package/widgets/DistanceMeasurement2D.js +1 -1
  278. package/widgets/Editor/AddAssociationWorkflow.js +5 -0
  279. package/widgets/Editor/AddAssociationWorkflowData.js +5 -0
  280. package/widgets/Editor/CreateFeaturesWorkflow.js +1 -1
  281. package/widgets/Editor/CreateFeaturesWorkflowData.js +1 -1
  282. package/widgets/Editor/EditorViewModel.js +1 -1
  283. package/widgets/Editor/UpdateWorkflow.js +1 -1
  284. package/widgets/Editor/UpdateWorkflowData.js +1 -1
  285. package/widgets/Editor/components/PendingFeatureList.js +1 -1
  286. package/widgets/Editor/components/UpdateFeaturePanelContent.js +1 -1
  287. package/widgets/Editor/modelUploadUtils.js +1 -1
  288. package/widgets/Editor/workflowUtils.js +1 -1
  289. package/widgets/Editor.js +1 -1
  290. package/widgets/Feature/FeatureUtilityNetworkAssociationList.js +1 -1
  291. package/widgets/Feature/FeatureUtilityNetworkAssociations.js +1 -1
  292. package/widgets/Feature/FeatureViewModel.js +1 -1
  293. package/widgets/Feature/support/featureUtils.js +1 -1
  294. package/widgets/FeatureForm/FeatureFormUtilityNetworkAssociations/FeatureFormUtilityNetworkAssociationList.js +1 -1
  295. package/widgets/FeatureForm/FeatureFormUtilityNetworkAssociations/UtilityNetworkAssociationItemList.js +5 -0
  296. package/widgets/FeatureForm/FeatureFormUtilityNetworkAssociations/UtilityNetworkAssociationSettings.js +5 -0
  297. package/widgets/FeatureForm/FeatureFormViewModel.js +1 -1
  298. package/widgets/FeatureForm/UtilityNetworkAssociationAddAssociationViewModel.js +5 -0
  299. package/widgets/FeatureForm/UtilityNetworkAssociationInput.js +1 -1
  300. package/widgets/FeatureForm.js +1 -1
  301. package/widgets/FeatureTable/support/FeatureStore.js +1 -1
  302. package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
  303. package/widgets/OrientedImageryViewer/constants.js +1 -1
  304. package/widgets/OrientedImageryViewer/galleryUtils.js +5 -0
  305. package/widgets/OrientedImageryViewer/utils.js +1 -1
  306. package/widgets/OrientedImageryViewer.js +1 -1
  307. package/widgets/Sketch/support/sketchUtils.js +1 -1
  308. package/widgets/UtilityNetworkAssociations/UtilityNetworkAssociationsViewModel.d.ts +2 -2
  309. package/widgets/support/FilterBuilder/FilterBuilderViewModel.js +1 -1
  310. package/widgets/support/FilterBuilder.js +1 -1
  311. package/widgets/support/FilterCondition/FilterConditionViewModel.js +1 -1
  312. package/widgets/support/FilterCondition.js +1 -1
  313. package/widgets/support/UtilityNetworkAssociations/FeatureUtilityNetworkAssociationsViewModel.js +5 -0
  314. package/widgets/support/UtilityNetworkAssociations/UtilityNetworkAssociationList.js +1 -1
  315. package/widgets/support/UtilityNetworkAssociations/utilityNetworkUtils.js +1 -1
  316. package/assets/esri/core/workers/chunks/08c4b585290efc98ca5d.js +0 -1
  317. package/assets/esri/core/workers/chunks/117e7a12af77c761efb5.js +0 -1
  318. package/assets/esri/core/workers/chunks/12199e8abf377ffc27cd.js +0 -1
  319. package/assets/esri/core/workers/chunks/324a5547c64a3bae670d.js +0 -1
  320. package/assets/esri/core/workers/chunks/3c8e5b5fb52611e30ed6.js +0 -1
  321. package/assets/esri/core/workers/chunks/4be5e453fe54f5631659.js +0 -1
  322. package/assets/esri/core/workers/chunks/5be7cf1564e756c24066.js +0 -1
  323. package/assets/esri/core/workers/chunks/5eceedac9b2b4d1ef133.js +0 -1
  324. package/assets/esri/core/workers/chunks/6c9bb00f33649ab59dab.js +0 -314
  325. package/assets/esri/core/workers/chunks/6d79ec15d1858839f576.js +0 -1
  326. package/assets/esri/core/workers/chunks/74e0116ae84def626c87.js +0 -1
  327. package/assets/esri/core/workers/chunks/7966c245a073c85f04b1.js +0 -1
  328. package/assets/esri/core/workers/chunks/7e3b374f906441cd7fb0.js +0 -1
  329. package/assets/esri/core/workers/chunks/84c1c3336011a1b79669.js +0 -1
  330. package/assets/esri/core/workers/chunks/88a34690480d3658bad8.js +0 -1
  331. package/assets/esri/core/workers/chunks/8bd51b5b392dfacc922f.js +0 -1
  332. package/assets/esri/core/workers/chunks/9c6380af3bc3130658e1.js +0 -1
  333. package/assets/esri/core/workers/chunks/9e7895e8201127ffe0a8.js +0 -1
  334. package/assets/esri/core/workers/chunks/a5e9ea13e844a62b2a7f.js +0 -1
  335. package/assets/esri/core/workers/chunks/a6ec3665bde2af8a96e6.js +0 -1
  336. package/assets/esri/core/workers/chunks/b18620fc15707e4413a1.js +0 -1
  337. package/assets/esri/core/workers/chunks/b765670b47d209d7655a.js +0 -2
  338. package/assets/esri/core/workers/chunks/c249ad935f54d3b49ae3.js +0 -1
  339. package/assets/esri/core/workers/chunks/c7927c2d5414f19defd5.js +0 -1
  340. package/assets/esri/core/workers/chunks/d27a199fd8e2ade69254.js +0 -1
  341. package/assets/esri/core/workers/chunks/debfb75a94b66b58cbbc.js +0 -1
  342. package/assets/esri/core/workers/chunks/e71b780d1e6a32f303b7.js +0 -1
  343. package/assets/esri/core/workers/chunks/f285ed5425b31123d2bc.js +0 -1
  344. package/assets/esri/core/workers/chunks/f9070edd8e0b2a57af79.js +0 -1
  345. package/assets/esri/core/workers/chunks/faf9063420262ea40fd8.js +0 -1
  346. package/chunks/Bufferer-DjC-SKTJ.js +0 -5
  347. package/chunks/Distance2DCalculator-8-JrFGHH.js +0 -5
  348. package/editing/sharedTemplates/support/sharedTemplateUtils.js +0 -5
  349. package/widgets/FeatureForm/FeatureFormUtilityNetworkAssociations/FeatureFormUtilityNetworkAssociationSettings.js +0 -5
  350. package/widgets/support/UtilityNetworkAssociations/UtilityNetworkAssociationsViewModel.d.ts +0 -4
  351. package/widgets/support/UtilityNetworkAssociations/UtilityNetworkAssociationsViewModel.js +0 -5
package/interfaces.d.ts CHANGED
@@ -4300,6 +4300,18 @@ declare namespace __esri {
4300
4300
  signal?: AbortSignal | nullish;
4301
4301
  }
4302
4302
 
4303
+ /**
4304
+ * Represents the full definition for a shared template, typically obtained from the
4305
+ * `sharedTemplates/templates` endpoint of a feature service.
4306
+ *
4307
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-editing-sharedTemplates-SharedTemplate.html Read more...}
4308
+ */
4309
+ interface SharedTemplate {
4310
+ readonly type: "feature" | "group" | "preset";
4311
+ }
4312
+
4313
+ export const SharedTemplate: SharedTemplate;
4314
+
4303
4315
  /**
4304
4316
  * Represents the info for a shared template, typically obtained from the
4305
4317
  * `sharedTemplates/query` endpoint of a feature service.
@@ -39944,6 +39956,13 @@ declare namespace __esri {
39944
39956
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-SubtypeSublayer.html#geometryType Read more...}
39945
39957
  */
39946
39958
  readonly geometryType: "point" | "multipoint" | "polyline" | "polygon" | "multipatch" | "mesh" | nullish;
39959
+ /**
39960
+ * The name of an `guid` {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-SubtypeSublayer.html#fields field} containing
39961
+ * a unique value or identifier for each feature in the layer.
39962
+ *
39963
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-SubtypeSublayer.html#globalIdField Read more...}
39964
+ */
39965
+ readonly globalIdField: string | nullish;
39947
39966
  /**
39948
39967
  * The unique ID assigned to the layer.
39949
39968
  *
@@ -102905,6 +102924,13 @@ declare namespace __esri {
102905
102924
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-AreaMeasurement2D.html Read more...}
102906
102925
  */
102907
102926
  constructor(properties?: AreaMeasurement2DProperties);
102927
+ /**
102928
+ * The {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-interactive-snapping-SnappingOptions.html SnappingOptions} for sketching.
102929
+ *
102930
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-AreaMeasurement2D.html#snappingOptions Read more...}
102931
+ */
102932
+ get snappingOptions(): SnappingOptions;
102933
+ set snappingOptions(value: SnappingOptionsProperties);
102908
102934
  }
102909
102935
 
102910
102936
  interface AreaMeasurement2DProperties extends WidgetProperties {
@@ -102920,6 +102946,12 @@ declare namespace __esri {
102920
102946
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-AreaMeasurement2D.html#label Read more...}
102921
102947
  */
102922
102948
  label?: string;
102949
+ /**
102950
+ * The {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-interactive-snapping-SnappingOptions.html SnappingOptions} for sketching.
102951
+ *
102952
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-AreaMeasurement2D.html#snappingOptions Read more...}
102953
+ */
102954
+ snappingOptions?: SnappingOptionsProperties;
102923
102955
  /**
102924
102956
  * Unit system (imperial, metric) or specific unit used for displaying the area values.
102925
102957
  *
@@ -102986,6 +103018,13 @@ declare namespace __esri {
102986
103018
  */
102987
103019
  view: MapView | nullish;
102988
103020
  constructor(properties?: any);
103021
+ /**
103022
+ * The {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-interactive-snapping-SnappingOptions.html SnappingOptions} for sketching.
103023
+ *
103024
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-AreaMeasurement2D-AreaMeasurement2DViewModel.html#snappingOptions Read more...}
103025
+ */
103026
+ get snappingOptions(): SnappingOptions;
103027
+ set snappingOptions(value: SnappingOptionsProperties);
102989
103028
  /**
102990
103029
  * Clears the current measurement.
102991
103030
  *
@@ -103719,13 +103758,13 @@ declare namespace __esri {
103719
103758
  */
103720
103759
  readonly state: "ready" | "disabled" | "loading" | "unsupported";
103721
103760
  /**
103722
- * The view from which the widget will operate.
103761
+ * The view from which the Basemap Gallery will operate.
103723
103762
  *
103724
103763
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BasemapGallery-BasemapGalleryViewModel.html#view Read more...}
103725
103764
  */
103726
103765
  view: MapView | SceneView | nullish;
103727
103766
  /**
103728
- * Provides the logic for the {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BasemapGallery.html BasemapGallery} widget.
103767
+ * Provides the logic for the {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BasemapGallery.html BasemapGallery widget} and [component](/references/map-components/arcgis-basemap-gallery/).
103729
103768
  *
103730
103769
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BasemapGallery-BasemapGalleryViewModel.html Read more...}
103731
103770
  */
@@ -103738,7 +103777,7 @@ declare namespace __esri {
103738
103777
  get activeBasemap(): Basemap | nullish;
103739
103778
  set activeBasemap(value: BasemapProperties | nullish | string);
103740
103779
  /**
103741
- * The source for basemaps that the widget will display.
103780
+ * The source for basemaps that the Basemap Gallery will display.
103742
103781
  *
103743
103782
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BasemapGallery-BasemapGalleryViewModel.html#source Read more...}
103744
103783
  */
@@ -103763,13 +103802,13 @@ declare namespace __esri {
103763
103802
  */
103764
103803
  activeBasemap?: BasemapProperties | nullish | string;
103765
103804
  /**
103766
- * The source for basemaps that the widget will display.
103805
+ * The source for basemaps that the Basemap Gallery will display.
103767
103806
  *
103768
103807
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BasemapGallery-BasemapGalleryViewModel.html#source Read more...}
103769
103808
  */
103770
103809
  source?: LocalBasemapsSourceProperties | PortalBasemapsSourceProperties | Collection<Basemap> | Basemap[] | Portal;
103771
103810
  /**
103772
- * The view from which the widget will operate.
103811
+ * The view from which the Basemap Gallery will operate.
103773
103812
  *
103774
103813
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BasemapGallery-BasemapGalleryViewModel.html#view Read more...}
103775
103814
  */
@@ -104609,13 +104648,13 @@ declare namespace __esri {
104609
104648
  */
104610
104649
  readonly state: "ready" | "incompatible-next-basemap" | "loading" | "disabled";
104611
104650
  /**
104612
- * The view from which the widget will operate.
104651
+ * The view from which the component or widget will operate.
104613
104652
  *
104614
104653
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BasemapToggle-BasemapToggleViewModel.html#view Read more...}
104615
104654
  */
104616
104655
  view: MapView | SceneView | nullish;
104617
104656
  /**
104618
- * Provides the logic for the {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BasemapToggle.html BasemapToggle} widget.
104657
+ * Provides the logic for the {@link https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-basemap-toggle/ Basemap Toggle} component and {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BasemapToggle.html BasemapToggle} widget.
104619
104658
  *
104620
104659
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BasemapToggle-BasemapToggleViewModel.html Read more...}
104621
104660
  */
@@ -104651,7 +104690,7 @@ declare namespace __esri {
104651
104690
  */
104652
104691
  nextBasemap?: BasemapProperties | nullish | string;
104653
104692
  /**
104654
- * The view from which the widget will operate.
104693
+ * The view from which the component or widget will operate.
104655
104694
  *
104656
104695
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BasemapToggle-BasemapToggleViewModel.html#view Read more...}
104657
104696
  */
@@ -108183,6 +108222,13 @@ declare namespace __esri {
108183
108222
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-DistanceMeasurement2D.html Read more...}
108184
108223
  */
108185
108224
  constructor(properties?: DistanceMeasurement2DProperties);
108225
+ /**
108226
+ * The {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-interactive-snapping-SnappingOptions.html SnappingOptions} for sketching.
108227
+ *
108228
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-DistanceMeasurement2D.html#snappingOptions Read more...}
108229
+ */
108230
+ get snappingOptions(): SnappingOptions;
108231
+ set snappingOptions(value: SnappingOptionsProperties);
108186
108232
  /**
108187
108233
  * The view model for this widget.
108188
108234
  *
@@ -108205,6 +108251,12 @@ declare namespace __esri {
108205
108251
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-DistanceMeasurement2D.html#label Read more...}
108206
108252
  */
108207
108253
  label?: string;
108254
+ /**
108255
+ * The {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-interactive-snapping-SnappingOptions.html SnappingOptions} for sketching.
108256
+ *
108257
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-DistanceMeasurement2D.html#snappingOptions Read more...}
108258
+ */
108259
+ snappingOptions?: SnappingOptionsProperties;
108208
108260
  /**
108209
108261
  * Unit system (imperial, metric) or specific unit used for displaying the distance values.
108210
108262
  *
@@ -108276,6 +108328,13 @@ declare namespace __esri {
108276
108328
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-DistanceMeasurement2D-DistanceMeasurement2DViewModel.html Read more...}
108277
108329
  */
108278
108330
  constructor(properties?: DistanceMeasurement2DViewModelProperties);
108331
+ /**
108332
+ * The {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-interactive-snapping-SnappingOptions.html SnappingOptions} for sketching.
108333
+ *
108334
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-DistanceMeasurement2D-DistanceMeasurement2DViewModel.html#snappingOptions Read more...}
108335
+ */
108336
+ get snappingOptions(): SnappingOptions;
108337
+ set snappingOptions(value: SnappingOptionsProperties);
108279
108338
  /**
108280
108339
  * Clears the current measurement.
108281
108340
  *
@@ -108291,6 +108350,12 @@ declare namespace __esri {
108291
108350
  }
108292
108351
 
108293
108352
  interface DistanceMeasurement2DViewModelProperties {
108353
+ /**
108354
+ * The {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-interactive-snapping-SnappingOptions.html SnappingOptions} for sketching.
108355
+ *
108356
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-DistanceMeasurement2D-DistanceMeasurement2DViewModel.html#snappingOptions Read more...}
108357
+ */
108358
+ snappingOptions?: SnappingOptionsProperties;
108294
108359
  /**
108295
108360
  * Unit system (imperial, metric) or specific unit used for displaying the distance values.
108296
108361
  *
@@ -108608,6 +108673,13 @@ declare namespace __esri {
108608
108673
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-CreateFeaturesWorkflowData.html#creationInfo Read more...}
108609
108674
  */
108610
108675
  creationInfo: CreationInfo | nullish;
108676
+ /**
108677
+ * The full version of the template referenced by the property
108678
+ * `creationInfo.template`.
108679
+ *
108680
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-CreateFeaturesWorkflowData.html#fullTemplate Read more...}
108681
+ */
108682
+ fullTemplate: FeatureTemplate | SharedTemplate | nullish;
108611
108683
  /**
108612
108684
  * Returns a collection of {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html graphics} representing features that have been created during the workflow.
108613
108685
  *
@@ -108635,6 +108707,13 @@ declare namespace __esri {
108635
108707
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-CreateFeaturesWorkflowData.html#creationInfo Read more...}
108636
108708
  */
108637
108709
  creationInfo?: CreationInfo | nullish;
108710
+ /**
108711
+ * The full version of the template referenced by the property
108712
+ * `creationInfo.template`.
108713
+ *
108714
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-CreateFeaturesWorkflowData.html#fullTemplate Read more...}
108715
+ */
108716
+ fullTemplate?: FeatureTemplate | SharedTemplate | nullish;
108638
108717
  /**
108639
108718
  * The associated {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-EditorViewModel.html EditorViewModel} for this workflow.
108640
108719
  *
@@ -108699,7 +108778,10 @@ declare namespace __esri {
108699
108778
  *
108700
108779
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-EditorViewModel.html#state Read more...}
108701
108780
  */
108702
- readonly state: | "adding-attachment"
108781
+ readonly state: | "add-association-create-association"
108782
+ | "add-association-select-feature"
108783
+ | "add-association-select-layer"
108784
+ | "adding-attachment"
108703
108785
  | "awaiting-feature-creation-info"
108704
108786
  | "awaiting-feature-to-create"
108705
108787
  | "awaiting-feature-to-update"
@@ -109262,7 +109344,7 @@ declare namespace __esri {
109262
109344
  *
109263
109345
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-Workflow.html#type Read more...}
109264
109346
  */
109265
- readonly type: "create-features" | "update" | "update-feature" | "update-table-record";
109347
+ readonly type: "add-association" | "create-features" | "update" | "update-feature" | "update-table-record";
109266
109348
  /**
109267
109349
  * The read-only `Workflow` class helps manage different stages of an {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor.html editing} workflow.
109268
109350
  *
@@ -109996,7 +110078,7 @@ declare namespace __esri {
109996
110078
  */
109997
110079
  view: SceneView | MapView | nullish;
109998
110080
  /**
109999
- * Provides the logic for the {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ElevationProfile.html ElevationProfile} widget.
110081
+ * Provides the logic for the {@link https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-elevation-profile/ Elevation Profile} component and {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ElevationProfile.html ElevationProfile} widget.
110000
110082
  *
110001
110083
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ElevationProfile-ElevationProfileViewModel.html Read more...}
110002
110084
  */
@@ -111795,7 +111877,7 @@ declare namespace __esri {
111795
111877
  readonly updating: boolean;
111796
111878
  constructor(properties?: UtilityNetworkAssociationInputProperties);
111797
111879
  /**
111798
- * Refreshes the {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-support-UtilityNetworkAssociations-UtilityNetworkAssociationsViewModel.html associations view model} for this Input.
111880
+ * Refreshes the associations view model for this Input.
111799
111881
  *
111800
111882
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureForm-UtilityNetworkAssociationInput.html#refresh Read more...}
111801
111883
  */
@@ -117033,7 +117115,7 @@ declare namespace __esri {
117033
117115
  */
117034
117116
  view: MapView | SceneView | nullish;
117035
117117
  /**
117036
- * Provides the logic for the {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Fullscreen.html Fullscreen} widget.
117118
+ * Provides the logic for the {@link https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-fullscreen/ Fullscreen} component and {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Fullscreen.html Fullscreen} widget.
117037
117119
  *
117038
117120
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Fullscreen-FullscreenViewModel.html Read more...}
117039
117121
  */
@@ -117938,7 +118020,7 @@ declare namespace __esri {
117938
118020
  */
117939
118021
  view: MapView | SceneView | nullish;
117940
118022
  /**
117941
- * Provides the logic for the {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Home.html Home} widget that
118023
+ * Provides the logic for the {@link https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-home/ Home} component and {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Home.html Home} widget that
117942
118024
  * animates the {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html View} to its
117943
118025
  * initial {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-Viewpoint.html Viewpoint} or a previously defined {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Home-HomeViewModel.html#viewpoint viewpoint}.
117944
118026
  *
@@ -120273,7 +120355,7 @@ declare namespace __esri {
120273
120355
  */
120274
120356
  declare view: GeolocationPositioning["view"];
120275
120357
  /**
120276
- * Provides the logic for the {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Locate.html Locate} widget, which
120358
+ * Provides the logic for the {@link https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-locate/ Locate} component and {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Locate.html Locate} widget, which
120277
120359
  * animates the {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html View}
120278
120360
  * to the user's current location.
120279
120361
  *
@@ -122552,7 +122634,7 @@ declare namespace __esri {
122552
122634
  */
122553
122635
  view: MapView | nullish;
122554
122636
  /**
122555
- * Provides the logic for the {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ScaleBar.html ScaleBar} widget.
122637
+ * Provides the logic for the {@link https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scale-bar/ Scale Bar} component and {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ScaleBar.html ScaleBar} widget.
122556
122638
  *
122557
122639
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ScaleBar-ScaleBarViewModel.html Read more...}
122558
122640
  */
@@ -129656,38 +129738,6 @@ declare namespace __esri {
129656
129738
  selfEnabledToggle: boolean;
129657
129739
  }
129658
129740
 
129659
- /**
129660
- * Provides the logic for the {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Feature.html Feature} widget.
129661
- *
129662
- * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-support-UtilityNetworkAssociations-UtilityNetworkAssociationsViewModel.html Read more...}
129663
- */
129664
- interface UtilityNetworkAssociationsViewModel {
129665
- activeAssociationType: UtilityNetworkAssociationType | nullish;
129666
- associationTypes: UtilityNetworkAssociationType[];
129667
- description: string | nullish;
129668
- displayCount: number;
129669
- featureCount: number;
129670
- readonly globalId: string | nullish;
129671
- readonly globalIdField: string | nullish;
129672
- graphic: GraphicProperties | nullish;
129673
- layer: FeatureLayer | SceneLayer | SubtypeSublayer | Sublayer | nullish;
129674
- map: Map | nullish;
129675
- readonly objectId: number | nullish;
129676
- readonly objectIdField: string | nullish;
129677
- showAllEnabled: boolean;
129678
- state: any;
129679
- title: string | nullish;
129680
- readonly utilityNetwork: UtilityNetwork | nullish;
129681
- /**
129682
- * Refreshes the view model's data.
129683
- *
129684
- * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-support-UtilityNetworkAssociations-UtilityNetworkAssociationsViewModel.html#refresh Read more...}
129685
- */
129686
- refresh(): Promise<void>;
129687
- }
129688
-
129689
- export const UtilityNetworkAssociationsViewModel: UtilityNetworkAssociationsViewModel;
129690
-
129691
129741
  namespace widget {
129692
129742
  /**
129693
129743
  * This convenience decorator is used to help simplify accessibility within the widget keyboard events.
@@ -129928,7 +129978,7 @@ declare namespace __esri {
129928
129978
 
129929
129979
  export class SwipeViewModel extends Accessor {
129930
129980
  /**
129931
- * The direction the Swipe widget moves across the view.
129981
+ * The direction the Swipe moves across the view.
129932
129982
  *
129933
129983
  * @default "horizontal"
129934
129984
  *
@@ -129952,7 +130002,7 @@ declare namespace __esri {
129952
130002
  */
129953
130003
  readonly min: number;
129954
130004
  /**
129955
- * The position of the Swipe widget.
130005
+ * The position of the Swipe.
129956
130006
  *
129957
130007
  * @default 25
129958
130008
  *
@@ -129960,7 +130010,7 @@ declare namespace __esri {
129960
130010
  */
129961
130011
  position: number;
129962
130012
  /**
129963
- * The current state of the widget.
130013
+ * The current state of the Swipe.
129964
130014
  *
129965
130015
  * @default "disabled"
129966
130016
  *
@@ -129990,20 +130040,20 @@ declare namespace __esri {
129990
130040
  */
129991
130041
  view: MapView | nullish;
129992
130042
  /**
129993
- * Provides the logic for the {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Swipe.html Swipe} widget.
130043
+ * Provides the logic for the {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Swipe.html Swipe widget} and [component](/references/map-components/arcgis-swipe/).
129994
130044
  *
129995
130045
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Swipe-SwipeViewModel.html Read more...}
129996
130046
  */
129997
130047
  constructor(properties?: SwipeViewModelProperties);
129998
130048
  /**
129999
- * A collection of {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html Layer}s that will show on the left or top side of Swipe widget.
130049
+ * A collection of {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html Layer}s that will show on the left or top side of the Swipe.
130000
130050
  *
130001
130051
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Swipe-SwipeViewModel.html#leadingLayers Read more...}
130002
130052
  */
130003
130053
  get leadingLayers(): Collection<Layer>;
130004
130054
  set leadingLayers(value: CollectionProperties<Layer>);
130005
130055
  /**
130006
- * A collection of {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html Layer}s that will show on the right or bottom side of Swipe widget.
130056
+ * A collection of {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html Layer}s that will show on the right or bottom side of the Swipe.
130007
130057
  *
130008
130058
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Swipe-SwipeViewModel.html#trailingLayers Read more...}
130009
130059
  */
@@ -130013,19 +130063,19 @@ declare namespace __esri {
130013
130063
 
130014
130064
  interface SwipeViewModelProperties {
130015
130065
  /**
130016
- * The direction the Swipe widget moves across the view.
130066
+ * The direction the Swipe moves across the view.
130017
130067
  *
130018
130068
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Swipe-SwipeViewModel.html#direction Read more...}
130019
130069
  */
130020
130070
  direction?: "horizontal" | "vertical";
130021
130071
  /**
130022
- * A collection of {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html Layer}s that will show on the left or top side of Swipe widget.
130072
+ * A collection of {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html Layer}s that will show on the left or top side of the Swipe.
130023
130073
  *
130024
130074
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Swipe-SwipeViewModel.html#leadingLayers Read more...}
130025
130075
  */
130026
130076
  leadingLayers?: CollectionProperties<Layer>;
130027
130077
  /**
130028
- * The position of the Swipe widget.
130078
+ * The position of the Swipe.
130029
130079
  *
130030
130080
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Swipe-SwipeViewModel.html#position Read more...}
130031
130081
  */
@@ -130043,7 +130093,7 @@ declare namespace __esri {
130043
130093
  */
130044
130094
  stepMultiplier?: number;
130045
130095
  /**
130046
- * A collection of {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html Layer}s that will show on the right or bottom side of Swipe widget.
130096
+ * A collection of {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html Layer}s that will show on the right or bottom side of the Swipe.
130047
130097
  *
130048
130098
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Swipe-SwipeViewModel.html#trailingLayers Read more...}
130049
130099
  */
@@ -131545,7 +131595,7 @@ declare namespace __esri {
131545
131595
  */
131546
131596
  declare view: GeolocationPositioning["view"];
131547
131597
  /**
131548
- * Provides the logic for the {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Track.html Track} widget, which
131598
+ * Provides the logic for the {@link https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-track/ Track} component and {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Track.html Track} widget, which
131549
131599
  * animates the {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html View}
131550
131600
  * to the user's location when clicked and tracks it as the location is updated.
131551
131601
  *
@@ -131795,8 +131845,8 @@ declare namespace __esri {
131795
131845
  *
131796
131846
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-UtilityNetworkAssociations.html#viewModel Read more...}
131797
131847
  */
131798
- get viewModel(): UtilityNetworkAssociationsUtilityNetworkAssociationsViewModel;
131799
- set viewModel(value: UtilityNetworkAssociationsUtilityNetworkAssociationsViewModelProperties);
131848
+ get viewModel(): UtilityNetworkAssociationsViewModel;
131849
+ set viewModel(value: UtilityNetworkAssociationsViewModelProperties);
131800
131850
  /**
131801
131851
  * The visible elements that are displayed within the widget.
131802
131852
  *
@@ -131911,7 +131961,7 @@ declare namespace __esri {
131911
131961
  *
131912
131962
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-UtilityNetworkAssociations.html#viewModel Read more...}
131913
131963
  */
131914
- viewModel?: UtilityNetworkAssociationsUtilityNetworkAssociationsViewModelProperties;
131964
+ viewModel?: UtilityNetworkAssociationsViewModelProperties;
131915
131965
  /**
131916
131966
  * The visible elements that are displayed within the widget.
131917
131967
  *
@@ -131920,7 +131970,7 @@ declare namespace __esri {
131920
131970
  visibleElements?: UtilityNetworkAssociationsVisibleElementsProperties;
131921
131971
  }
131922
131972
 
131923
- export class UtilityNetworkAssociationsUtilityNetworkAssociationsViewModel extends Accessor {
131973
+ export class UtilityNetworkAssociationsViewModel extends Accessor {
131924
131974
  /**
131925
131975
  * Indicates whether to query and display connectivity associations.
131926
131976
  *
@@ -131986,7 +132036,7 @@ declare namespace __esri {
131986
132036
  *
131987
132037
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-UtilityNetworkAssociations-UtilityNetworkAssociationsViewModel.html Read more...}
131988
132038
  */
131989
- constructor(properties?: UtilityNetworkAssociationsUtilityNetworkAssociationsViewModelProperties);
132039
+ constructor(properties?: UtilityNetworkAssociationsViewModelProperties);
131990
132040
  /**
131991
132041
  * A {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleLineSymbol.html SimpleLineSymbol} used for representing the polyline geometry that is being drawn for connectivity associations.
131992
132042
  *
@@ -132015,7 +132065,7 @@ declare namespace __esri {
132015
132065
  showAssociations(): Promise<void>;
132016
132066
  }
132017
132067
 
132018
- interface UtilityNetworkAssociationsUtilityNetworkAssociationsViewModelProperties {
132068
+ interface UtilityNetworkAssociationsViewModelProperties {
132019
132069
  /**
132020
132070
  * A {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleLineSymbol.html SimpleLineSymbol} used for representing the polyline geometry that is being drawn for connectivity associations.
132021
132071
  *
@@ -132864,7 +132914,7 @@ declare namespace __esri {
132864
132914
  export interface AssetTypeJSON {
132865
132915
  assetTypeCode: number;
132866
132916
  assetTypeName?: string;
132867
- terminalConfigurationId: number;
132917
+ terminalConfigurationId?: number;
132868
132918
  }
132869
132919
 
132870
132920
  /**
@@ -134642,7 +134692,7 @@ declare namespace __esri {
134642
134692
  */
134643
134693
  view: MapView | SceneView | nullish;
134644
134694
  /**
134645
- * Provides the logic for the {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Zoom.html Zoom} widget.
134695
+ * Provides the logic for the {@link https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-zoom/ Zoom} component and {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Zoom.html Zoom} widget.
134646
134696
  *
134647
134697
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Zoom-ZoomViewModel.html Read more...}
134648
134698
  */
@@ -2,4 +2,4 @@
2
2
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
4
4
  */
5
- import{_ as e}from"../chunks/tslib.es6.js";import t from"../request.js";import{createTask as r}from"../core/asyncUtils.js";import i from"../core/Error.js";import{clone as o}from"../core/lang.js";import{MultiOriginJSONMixin as s}from"../core/MultiOriginJSONSupport.js";import{throwIfAbortError as l}from"../core/promiseUtils.js";import{urlToObject as a,addQueryParameters as n,isProtocolRelative as p,normalize as y}from"../core/urlUtils.js";import{property as u}from"../core/accessorSupport/decorators/property.js";import"../core/has.js";import"../core/Logger.js";import{reader as c}from"../core/accessorSupport/decorators/reader.js";import{subclass as m}from"../core/accessorSupport/decorators/subclass.js";import{writer as h}from"../core/accessorSupport/decorators/writer.js";import d from"../geometry/Extent.js";import S from"../geometry/SpatialReference.js";import f from"./Layer.js";import{APIKeyMixin as g}from"./mixins/APIKeyMixin.js";import{ArcGISCachedService as v}from"./mixins/ArcGISCachedService.js";import{ArcGISService as j}from"./mixins/ArcGISService.js";import{BlendLayer as _}from"./mixins/BlendLayer.js";import{CustomParametersMixin as w}from"./mixins/CustomParametersMixin.js";import{OperationalLayer as b}from"./mixins/OperationalLayer.js";import{PortalLayer as T}from"./mixins/PortalLayer.js";import{RefreshableLayer as x}from"./mixins/RefreshableLayer.js";import{ScaleRangeLayer as L}from"./mixins/ScaleRangeLayer.js";import{checkWebPSupport as U}from"./support/imageUtils.js";import I from"./support/SpriteSource.js";import R from"./support/TileInfo.js";import{TilemapCache as O}from"./support/TilemapCache.js";import{loadMetadata as P}from"./support/vectorTileLayerLoader.js";import{createForItemRead as M}from"../portal/support/jsonContext.js";import{parseKnownArcGISOnlineDomain as C}from"../portal/support/urlUtils.js";import{e as V}from"../chunks/persistableUrlUtils.js";import{areSchemasOverlapping as D,unionTileInfos as k}from"../views/2d/engine/vectorTiles/tileInfoUtils.js";import E from"../views/2d/engine/vectorTiles/style/StyleRepository.js";import{getWebGLCapabilities as N}from"../views/webgl/capabilities.js";let B=class extends(_(L(x(v(j(b(T(w(g(s(f))))))))))){constructor(...e){super(...e),this._spriteSourceMap=new Map,this.currentStyleInfo=null,this.isReference=null,this.operationalLayerType="VectorTileLayer",this.path=null,this.refreshInterval=0,this.style=null,this.tilemapCache=null,this.type="vector-tile",this.url=null}normalizeCtorArgs(e,t){return"string"==typeof e?{url:e,...t}:e}destroy(){if(this.sourceNameToSource)for(const e of Object.values(this.sourceNameToSource))e?.destroy();this.primarySource?.destroy(),this._spriteSourceMap.clear()}async prefetchResources(e){await this.loadSpriteSource(globalThis.devicePixelRatio||1,e)}load(e){const r=this.loadFromPortal({supportedTypes:["Vector Tile Service"],supportsData:!1},e).catch(l).then((async()=>{if(!this.portalItem?.id)return;const r=`${this.portalItem.itemCdnUrl}/resources/styles/root.json`;(await t(r,{...e,query:{f:"json",...this.customParameters,token:this.apiKey}})).data&&this.read({url:r},M(this.portalItem,"portal-item"))})).catch(l).then((()=>this._loadStyle(e)));return this.addResolvingPromise(r),Promise.resolve(this)}get attributionDataUrl(){const e=this.currentStyleInfo,t=e?.serviceUrl&&a(e.serviceUrl);if(!t)return null;const r=this._getDefaultAttribution(t.path);return r?n(r,{...this.customParameters,token:this.apiKey}):null}get capabilities(){const e=this.primarySource;return e?e.capabilities:{operations:{supportsExportTiles:!1,supportsTileMap:!1},exportTiles:null}}get fullExtent(){return this.primarySource?.fullExtent||null}get initialExtent(){return this.primarySource?.initialExtent||null}get parsedUrl(){return this.serviceUrl?a(this.serviceUrl):null}get serviceUrl(){return this.currentStyleInfo?.serviceUrl||null}get spatialReference(){return this.tileInfo?.spatialReference??null}get styleUrl(){return this.currentStyleInfo?.styleUrl||null}writeStyleUrl(e,t){e&&p(e)&&(e=`https:${e}`);const r=C(e);t.styleUrl=V(e,r)}get tileInfo(){const e=[];for(const r in this.sourceNameToSource)e.push(this.sourceNameToSource[r]);let t=this.primarySource?.tileInfo||new R;if(e.length>1)for(let r=0;r<e.length;r++)D(t,e[r].tileInfo)&&(t=k(t,e[r].tileInfo));return t}readTilemapCache(e,t){const r=t.capabilities?.includes("Tilemap");return r?new O({layer:this}):null}readVersion(e,t){return t.version?parseFloat(t.version):parseFloat(t.currentVersion)}async loadSpriteSource(e=1,t){if(!this._spriteSourceMap.has(e)){const r=N().maxTextureSize,i=this.currentStyleInfo?.spriteUrl?n(this.currentStyleInfo.spriteUrl,{...this.customParameters,token:this.apiKey}):null,o=new I({type:"url",spriteUrl:i,pixelRatio:e,spriteFormat:this.currentStyleInfo?.spriteFormat},r);await o.load(t),this._spriteSourceMap.set(e,o)}return this._spriteSourceMap.get(e)}async setSpriteSource(e,t){if(!e)return null;const r=N().maxTextureSize,i=e.spriteUrl,o=i?n(i,{...this.customParameters,token:this.apiKey}):null;if(!o&&"url"===e.type)return null;const s=new I(e,r);try{await s.load(t);const r=e.pixelRatio||1;return this._spriteSourceMap.clear(),this._spriteSourceMap.set(r,s),o&&this.currentStyleInfo&&(this.currentStyleInfo.spriteUrl=o),this.emit("spriteSource-change",{spriteSource:s}),s}catch(a){l(a)}return null}async loadStyle(e,t){const i=e||this.style||this.url;return this._loadingTask&&"string"==typeof i&&this.url===i||(this._loadingTask?.abort(),this._loadingTask=r((e=>(this._spriteSourceMap.clear(),this._getSourceAndStyle(i,{signal:e}))),t)),this._loadingTask.promise}getStyleLayerId(e){return this.styleRepository.getStyleLayerId(e)}getStyleLayerIndex(e){return this.styleRepository.getStyleLayerIndex(e)}getPaintProperties(e){return o(this.styleRepository?.getPaintProperties(e))}setPaintProperties(e,t){const r=this.styleRepository.isPainterDataDriven(e);this.styleRepository.setPaintProperties(e,t);const i=this.styleRepository.isPainterDataDriven(e);this.emit("paint-change",{layer:e,paint:t,isDataDriven:r||i})}getStyleLayer(e){return o(this.styleRepository.getStyleLayer(e))}setStyleLayer(e,t){this.styleRepository.setStyleLayer(e,t),this.emit("style-layer-change",{layer:e,index:t})}deleteStyleLayer(e){this.styleRepository.deleteStyleLayer(e),this.emit("delete-style-layer",{layer:e})}getLayoutProperties(e){return o(this.styleRepository.getLayoutProperties(e))}setLayoutProperties(e,t){this.styleRepository.setLayoutProperties(e,t),this.emit("layout-change",{layer:e,layout:t})}setStyleLayerVisibility(e,t){this.styleRepository.setStyleLayerVisibility(e,t),this.emit("style-layer-visibility-change",{layer:e,visibility:t})}getStyleLayerVisibility(e){return this.styleRepository.getStyleLayerVisibility(e)}write(e,t){return t?.origin&&!this.styleUrl?(t.messages&&t.messages.push(new i("vectortilelayer:unsupported",`VectorTileLayer (${this.title}, ${this.id}) with style defined by JSON only are not supported`,{layer:this})),null):super.write(e,t)}getTileUrl(e,t,r){return null}async _getSourceAndStyle(e,t){if(!e)throw new Error("invalid style!");const r=await P(e,{...t,query:{...this.customParameters,token:this.apiKey}});if("webp"===r.spriteFormat){await U("lossy")||(r.spriteFormat="png")}this._set("currentStyleInfo",{...r}),"string"==typeof e?(this.url=e,this.style=null):(this.url=null,this.style=e),this._set("sourceNameToSource",r.sourceNameToSource),this._set("primarySource",r.sourceNameToSource[r.primarySourceName]),this._set("styleRepository",new E(r.style)),this.read(r.layerDefinition,{origin:"service"}),this.emit("load-style")}_getDefaultAttribution(e){const t=e.match(/^https?:\/\/(?:basemaps|basemapsbeta|basemapsdev)(?:-api)?\.arcgis\.com(\/[^/]+)?\/arcgis\/rest\/services\/([^/]+(\/[^/]+)*)\/vectortileserver/i),r=["OpenBasemap_v2","OpenBasemap_GCS_v2","OpenStreetMap_v2","OpenStreetMap_Daylight_v2","OpenStreetMap_Export_v2","OpenStreetMap_FTS_v2","OpenStreetMap_GCS_v2","World_Basemap","World_Basemap_v2","World_Basemap_Export_v2","World_Basemap_GCS_v2","World_Basemap_WGS84","World_Contours_v2","World_Hillshade_v2"];if(!t)return;const i=t[2]&&t[2].toLowerCase();if(!i)return;const o=t[1]||"";for(const s of r)if(s.toLowerCase().includes(i))return y(`//static.arcgis.com/attribution/Vector${o}/${s}`)}async _loadStyle(e){return this._loadingTask?.promise??this.loadStyle(null,e)}};e([u({readOnly:!0})],B.prototype,"attributionDataUrl",null),e([u({type:["show","hide"]})],B.prototype,"listMode",void 0),e([u({json:{read:!0,write:!0}})],B.prototype,"blendMode",void 0),e([u({readOnly:!0,json:{read:!1}})],B.prototype,"capabilities",null),e([u({readOnly:!0})],B.prototype,"currentStyleInfo",void 0),e([u({json:{read:!1},readOnly:!0,type:d})],B.prototype,"fullExtent",null),e([u({json:{read:!1},readOnly:!0,type:d})],B.prototype,"initialExtent",null),e([u({type:Boolean,json:{read:!1,write:{enabled:!0,overridePolicy:()=>({enabled:!1})}}})],B.prototype,"isReference",void 0),e([u({type:["VectorTileLayer"]})],B.prototype,"operationalLayerType",void 0),e([u({readOnly:!0})],B.prototype,"parsedUrl",null),e([u({type:String,json:{origins:{"web-scene":{read:!0,write:!0}},read:!1}})],B.prototype,"path",void 0),e([u({type:Number,json:{write:!1,origins:{"web-map":{write:!1},"web-scene":{write:!1},"portal-item":{write:!1}}}})],B.prototype,"refreshInterval",void 0),e([u()],B.prototype,"style",void 0),e([u({readOnly:!0})],B.prototype,"serviceUrl",null),e([u({type:S,readOnly:!0})],B.prototype,"spatialReference",null),e([u({readOnly:!0})],B.prototype,"styleRepository",void 0),e([u({readOnly:!0})],B.prototype,"sourceNameToSource",void 0),e([u({readOnly:!0})],B.prototype,"primarySource",void 0),e([u({type:String,readOnly:!0,json:{write:{ignoreOrigin:!0},origins:{"web-document":{write:{ignoreOrigin:!0,isRequired:!0}}}}})],B.prototype,"styleUrl",null),e([h(["portal-item","web-document"],"styleUrl")],B.prototype,"writeStyleUrl",null),e([u({json:{read:!1,origins:{service:{read:!1}}},readOnly:!0,type:R})],B.prototype,"tileInfo",null),e([u()],B.prototype,"tilemapCache",void 0),e([c("service","tilemapCache",["capabilities","tileInfo"])],B.prototype,"readTilemapCache",null),e([u({json:{read:!1},readOnly:!0,value:"vector-tile"})],B.prototype,"type",void 0),e([u({json:{origins:{"web-document":{read:{source:"styleUrl"}},"portal-item":{read:{source:"url"}}},write:!1,read:!1}})],B.prototype,"url",void 0),e([u({readOnly:!0})],B.prototype,"version",void 0),e([c("version",["version","currentVersion"])],B.prototype,"readVersion",null),B=e([m("esri.layers.VectorTileLayer")],B);const A=B;export{A as default};
5
+ import{_ as e}from"../chunks/tslib.es6.js";import t from"../request.js";import{createTask as r}from"../core/asyncUtils.js";import i from"../core/Error.js";import{clone as o}from"../core/lang.js";import{MultiOriginJSONMixin as s}from"../core/MultiOriginJSONSupport.js";import{throwIfAbortError as l}from"../core/promiseUtils.js";import{urlToObject as a,addQueryParameters as n,isProtocolRelative as p,normalize as y}from"../core/urlUtils.js";import{property as u}from"../core/accessorSupport/decorators/property.js";import"../core/has.js";import"../core/Logger.js";import{reader as c}from"../core/accessorSupport/decorators/reader.js";import{subclass as m}from"../core/accessorSupport/decorators/subclass.js";import{writer as h}from"../core/accessorSupport/decorators/writer.js";import d from"../geometry/Extent.js";import S from"../geometry/SpatialReference.js";import f from"./Layer.js";import{APIKeyMixin as g}from"./mixins/APIKeyMixin.js";import{ArcGISCachedService as v}from"./mixins/ArcGISCachedService.js";import{ArcGISService as j}from"./mixins/ArcGISService.js";import{BlendLayer as _}from"./mixins/BlendLayer.js";import{CustomParametersMixin as w}from"./mixins/CustomParametersMixin.js";import{OperationalLayer as b}from"./mixins/OperationalLayer.js";import{PortalLayer as T}from"./mixins/PortalLayer.js";import{RefreshableLayer as x}from"./mixins/RefreshableLayer.js";import{ScaleRangeLayer as L}from"./mixins/ScaleRangeLayer.js";import{checkWebPSupport as U}from"./support/imageUtils.js";import I from"./support/SpriteSource.js";import R from"./support/TileInfo.js";import{TilemapCache as O}from"./support/TilemapCache.js";import{loadMetadata as P}from"./support/vectorTileLayerLoader.js";import{createForItemRead as M}from"../portal/support/jsonContext.js";import{parseKnownArcGISOnlineDomain as C}from"../portal/support/urlUtils.js";import{e as V}from"../chunks/persistableUrlUtils.js";import{areSchemasOverlapping as D,unionTileInfos as k}from"../views/2d/engine/vectorTiles/tileInfoUtils.js";import E from"../views/2d/engine/vectorTiles/style/StyleRepository.js";import{getWebGLCapabilities as N}from"../views/webgl/capabilities.js";let B=class extends(_(L(x(v(j(b(T(w(g(s(f))))))))))){constructor(...e){super(...e),this._spriteSourceMap=new Map,this.currentStyleInfo=null,this.isReference=null,this.operationalLayerType="VectorTileLayer",this.path=null,this.refreshInterval=0,this.style=null,this.tilemapCache=null,this.type="vector-tile",this.url=null}normalizeCtorArgs(e,t){return"string"==typeof e?{url:e,...t}:e}destroy(){if(this.sourceNameToSource)for(const e of Object.values(this.sourceNameToSource))e?.destroy();this.primarySource?.destroy(),this._spriteSourceMap.clear()}async prefetchResources(e){await this.loadSpriteSource(globalThis.devicePixelRatio||1,e)}load(e){const r=this.loadFromPortal({supportedTypes:["Vector Tile Service"],supportsData:!1},e).catch(l).then((async()=>{if(!this.portalItem?.id)return;const r=`${this.portalItem.itemCdnUrl}/resources/styles/root.json`;(await t(r,{...e,query:{f:"json",...this.customParameters,token:this.apiKey},authMode:this.portalItem.portal.authMode})).data&&this.read({url:r},M(this.portalItem,"portal-item"))})).catch(l).then((()=>this._loadStyle(e)));return this.addResolvingPromise(r),Promise.resolve(this)}get attributionDataUrl(){const e=this.currentStyleInfo,t=e?.serviceUrl&&a(e.serviceUrl);if(!t)return null;const r=this._getDefaultAttribution(t.path);return r?n(r,{...this.customParameters,token:this.apiKey}):null}get capabilities(){const e=this.primarySource;return e?e.capabilities:{operations:{supportsExportTiles:!1,supportsTileMap:!1},exportTiles:null}}get fullExtent(){return this.primarySource?.fullExtent||null}get initialExtent(){return this.primarySource?.initialExtent||null}get parsedUrl(){return this.serviceUrl?a(this.serviceUrl):null}get serviceUrl(){return this.currentStyleInfo?.serviceUrl||null}get spatialReference(){return this.tileInfo?.spatialReference??null}get styleUrl(){return this.currentStyleInfo?.styleUrl||null}writeStyleUrl(e,t){e&&p(e)&&(e=`https:${e}`);const r=C(e);t.styleUrl=V(e,r)}get tileInfo(){const e=[];for(const r in this.sourceNameToSource)e.push(this.sourceNameToSource[r]);let t=this.primarySource?.tileInfo||new R;if(e.length>1)for(let r=0;r<e.length;r++)D(t,e[r].tileInfo)&&(t=k(t,e[r].tileInfo));return t}readTilemapCache(e,t){const r=t.capabilities?.includes("Tilemap");return r?new O({layer:this}):null}readVersion(e,t){return t.version?parseFloat(t.version):parseFloat(t.currentVersion)}async loadSpriteSource(e=1,t){if(!this._spriteSourceMap.has(e)){const r=N().maxTextureSize,i=this.currentStyleInfo?.spriteUrl?n(this.currentStyleInfo.spriteUrl,{...this.customParameters,token:this.apiKey}):null,o=new I({type:"url",spriteUrl:i,pixelRatio:e,spriteFormat:this.currentStyleInfo?.spriteFormat},r);await o.load(t),this._spriteSourceMap.set(e,o)}return this._spriteSourceMap.get(e)}async setSpriteSource(e,t){if(!e)return null;const r=N().maxTextureSize,i=e.spriteUrl,o=i?n(i,{...this.customParameters,token:this.apiKey}):null;if(!o&&"url"===e.type)return null;const s=new I(e,r);try{await s.load(t);const r=e.pixelRatio||1;return this._spriteSourceMap.clear(),this._spriteSourceMap.set(r,s),o&&this.currentStyleInfo&&(this.currentStyleInfo.spriteUrl=o),this.emit("spriteSource-change",{spriteSource:s}),s}catch(a){l(a)}return null}async loadStyle(e,t){const i=e||this.style||this.url;return this._loadingTask&&"string"==typeof i&&this.url===i||(this._loadingTask?.abort(),this._loadingTask=r((e=>(this._spriteSourceMap.clear(),this._getSourceAndStyle(i,{signal:e}))),t)),this._loadingTask.promise}getStyleLayerId(e){return this.styleRepository.getStyleLayerId(e)}getStyleLayerIndex(e){return this.styleRepository.getStyleLayerIndex(e)}getPaintProperties(e){return o(this.styleRepository?.getPaintProperties(e))}setPaintProperties(e,t){const r=this.styleRepository.isPainterDataDriven(e);this.styleRepository.setPaintProperties(e,t);const i=this.styleRepository.isPainterDataDriven(e);this.emit("paint-change",{layer:e,paint:t,isDataDriven:r||i})}getStyleLayer(e){return o(this.styleRepository.getStyleLayer(e))}setStyleLayer(e,t){this.styleRepository.setStyleLayer(e,t),this.emit("style-layer-change",{layer:e,index:t})}deleteStyleLayer(e){this.styleRepository.deleteStyleLayer(e),this.emit("delete-style-layer",{layer:e})}getLayoutProperties(e){return o(this.styleRepository.getLayoutProperties(e))}setLayoutProperties(e,t){this.styleRepository.setLayoutProperties(e,t),this.emit("layout-change",{layer:e,layout:t})}setStyleLayerVisibility(e,t){this.styleRepository.setStyleLayerVisibility(e,t),this.emit("style-layer-visibility-change",{layer:e,visibility:t})}getStyleLayerVisibility(e){return this.styleRepository.getStyleLayerVisibility(e)}write(e,t){return t?.origin&&!this.styleUrl?(t.messages&&t.messages.push(new i("vectortilelayer:unsupported",`VectorTileLayer (${this.title}, ${this.id}) with style defined by JSON only are not supported`,{layer:this})),null):super.write(e,t)}getTileUrl(e,t,r){return null}async _getSourceAndStyle(e,t){if(!e)throw new Error("invalid style!");const r=await P(e,{...t,query:{...this.customParameters,token:this.apiKey}});if("webp"===r.spriteFormat){await U("lossy")||(r.spriteFormat="png")}this._set("currentStyleInfo",{...r}),"string"==typeof e?(this.url=e,this.style=null):(this.url=null,this.style=e),this._set("sourceNameToSource",r.sourceNameToSource),this._set("primarySource",r.sourceNameToSource[r.primarySourceName]),this._set("styleRepository",new E(r.style)),this.read(r.layerDefinition,{origin:"service"}),this.emit("load-style")}_getDefaultAttribution(e){const t=e.match(/^https?:\/\/(?:basemaps|basemapsbeta|basemapsdev)(?:-api)?\.arcgis\.com(\/[^/]+)?\/arcgis\/rest\/services\/([^/]+(\/[^/]+)*)\/vectortileserver/i),r=["OpenBasemap_v2","OpenBasemap_GCS_v2","OpenStreetMap_v2","OpenStreetMap_Daylight_v2","OpenStreetMap_Export_v2","OpenStreetMap_FTS_v2","OpenStreetMap_GCS_v2","World_Basemap","World_Basemap_v2","World_Basemap_Export_v2","World_Basemap_GCS_v2","World_Basemap_WGS84","World_Contours_v2","World_Hillshade_v2"];if(!t)return;const i=t[2]&&t[2].toLowerCase();if(!i)return;const o=t[1]||"";for(const s of r)if(s.toLowerCase().includes(i))return y(`//static.arcgis.com/attribution/Vector${o}/${s}`)}async _loadStyle(e){return this._loadingTask?.promise??this.loadStyle(null,e)}};e([u({readOnly:!0})],B.prototype,"attributionDataUrl",null),e([u({type:["show","hide"]})],B.prototype,"listMode",void 0),e([u({json:{read:!0,write:!0}})],B.prototype,"blendMode",void 0),e([u({readOnly:!0,json:{read:!1}})],B.prototype,"capabilities",null),e([u({readOnly:!0})],B.prototype,"currentStyleInfo",void 0),e([u({json:{read:!1},readOnly:!0,type:d})],B.prototype,"fullExtent",null),e([u({json:{read:!1},readOnly:!0,type:d})],B.prototype,"initialExtent",null),e([u({type:Boolean,json:{read:!1,write:{enabled:!0,overridePolicy:()=>({enabled:!1})}}})],B.prototype,"isReference",void 0),e([u({type:["VectorTileLayer"]})],B.prototype,"operationalLayerType",void 0),e([u({readOnly:!0})],B.prototype,"parsedUrl",null),e([u({type:String,json:{origins:{"web-scene":{read:!0,write:!0}},read:!1}})],B.prototype,"path",void 0),e([u({type:Number,json:{write:!1,origins:{"web-map":{write:!1},"web-scene":{write:!1},"portal-item":{write:!1}}}})],B.prototype,"refreshInterval",void 0),e([u()],B.prototype,"style",void 0),e([u({readOnly:!0})],B.prototype,"serviceUrl",null),e([u({type:S,readOnly:!0})],B.prototype,"spatialReference",null),e([u({readOnly:!0})],B.prototype,"styleRepository",void 0),e([u({readOnly:!0})],B.prototype,"sourceNameToSource",void 0),e([u({readOnly:!0})],B.prototype,"primarySource",void 0),e([u({type:String,readOnly:!0,json:{write:{ignoreOrigin:!0},origins:{"web-document":{write:{ignoreOrigin:!0,isRequired:!0}}}}})],B.prototype,"styleUrl",null),e([h(["portal-item","web-document"],"styleUrl")],B.prototype,"writeStyleUrl",null),e([u({json:{read:!1,origins:{service:{read:!1}}},readOnly:!0,type:R})],B.prototype,"tileInfo",null),e([u()],B.prototype,"tilemapCache",void 0),e([c("service","tilemapCache",["capabilities","tileInfo"])],B.prototype,"readTilemapCache",null),e([u({json:{read:!1},readOnly:!0,value:"vector-tile"})],B.prototype,"type",void 0),e([u({json:{origins:{"web-document":{read:{source:"styleUrl"}},"portal-item":{read:{source:"url"}}},write:!1,read:!1}})],B.prototype,"url",void 0),e([u({readOnly:!0})],B.prototype,"version",void 0),e([c("version",["version","currentVersion"])],B.prototype,"readVersion",null),B=e([m("esri.layers.VectorTileLayer")],B);const A=B;export{A as default};