@vertigis/arcgis-extensions 38.0.4 → 38.1.0

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 (748) hide show
  1. package/AccessDeniedError.js +1 -1
  2. package/AppConfig.schema.json +35 -39
  3. package/ArgumentMissingError.js +1 -1
  4. package/ArgumentOutOfRangeError.js +1 -1
  5. package/Entity.js +1 -1
  6. package/FailureMode.d.ts +1 -1
  7. package/Hyperlink.js +1 -1
  8. package/LanguageResources.d.ts +1 -3
  9. package/LanguageResources.js +1 -1
  10. package/NotFoundError.js +1 -1
  11. package/PortalUri.js +1 -1
  12. package/data/ArcGISServiceTableExtension.js +1 -1
  13. package/data/Attachment.js +1 -1
  14. package/data/Feature.js +1 -1
  15. package/data/FeatureList.d.ts +3 -3
  16. package/data/FeatureList.js +1 -1
  17. package/data/FeatureSaveError.js +1 -1
  18. package/data/FeatureSet.js +1 -1
  19. package/data/FeatureSettings.js +1 -1
  20. package/data/FeatureSourceBase.js +1 -1
  21. package/data/FeatureStream.js +1 -1
  22. package/data/FieldExtension.js +1 -1
  23. package/data/PopupContentExtension.js +1 -1
  24. package/data/Relationship.js +1 -1
  25. package/data/RelationshipBase.js +1 -1
  26. package/data/Schema.js +1 -1
  27. package/data/Table.js +1 -1
  28. package/data/TableExtension.js +1 -1
  29. package/data/TaskSettings.js +1 -1
  30. package/data/_Relationship.d.ts +3 -3
  31. package/data/_Relationship.js +1 -1
  32. package/data/_TableExtension.js +1 -1
  33. package/data/convert.js +1 -1
  34. package/data/support/DefaultRelationshipFactory.js +1 -1
  35. package/data/support/DefaultTableExtensionFactory.js +1 -1
  36. package/data/support/attachments.js +1 -1
  37. package/docs/html/assets/main.js +56 -52
  38. package/docs/html/assets/search.js +1 -1
  39. package/docs/html/assets/style.css +23 -0
  40. package/docs/html/classes/data_FeatureSet.FeatureSet.html +2 -2
  41. package/docs/html/classes/data_FeatureStream.FeatureStream.html +1 -1
  42. package/docs/html/classes/utilities_ObservableMap.ObservableMap.html +2 -2
  43. package/docs/html/classes/utilities_ObservableSet.ObservableSet.html +2 -2
  44. package/docs/html/classes/utilities_ObservableWeakSet.ObservableWeakSet.html +1 -1
  45. package/docs/html/classes/utilities_asyncIterable.AsyncQueue.html +1 -1
  46. package/docs/html/classes/utilities_date.DateFormatter.html +1 -1
  47. package/docs/html/classes/utilities_string.StringFormatter.html +6 -24
  48. package/docs/html/functions/utilities_string.format.html +2 -18
  49. package/docs/html/interfaces/LanguageResources.LanguageResourcesProperties.html +2 -7
  50. package/docs/html/interfaces/data_support_attachments.AttachmentEnabledLayer.html +4 -6
  51. package/docs/html/interfaces/mapping_BuildingSceneLayerExtension.BuildingSceneLayerProperties.html +1 -1
  52. package/docs/html/interfaces/mapping_FeatureLayerExtension.FeatureLayerProperties.html +1 -1
  53. package/docs/html/interfaces/mapping_FeatureLayerExtensionBase.FeatureLayerBaseProperties.html +1 -1
  54. package/docs/html/interfaces/mapping_PointCloudLayerExtension.PointCloudLayerProperties.html +1 -1
  55. package/docs/html/interfaces/portal_ApplicationProperties.ApplicationProperties.html +15 -12
  56. package/docs/html/interfaces/portal_Background.ColorBackground.html +3 -2
  57. package/docs/html/interfaces/portal_BaseMap.BaseMap-1.html +2 -1
  58. package/docs/html/interfaces/portal_BaseMapLayer.BaseMapLayerBase.html +2 -1
  59. package/docs/html/interfaces/portal_BingLayer.BingLayer.html +2 -1
  60. package/docs/html/interfaces/portal_Bookmark.Bookmark.html +2 -1
  61. package/docs/html/interfaces/portal_BuildingSceneLayer.BuildingSceneLayer-1.html +1 -1
  62. package/docs/html/interfaces/portal_CIMSymbol.CIMSymbol.html +2 -1
  63. package/docs/html/interfaces/portal_CSVLayer.CSVLayer-1.html +3 -2
  64. package/docs/html/interfaces/portal_Camera.Camera-1.html +2 -1
  65. package/docs/html/interfaces/portal_ClassBreaksRenderer.ClassBreakInfo.html +2 -1
  66. package/docs/html/interfaces/portal_ClassBreaksRenderer.ClassBreaksRenderer.html +2 -1
  67. package/docs/html/interfaces/portal_CodedValueDomain.CodedValue.html +1 -1
  68. package/docs/html/interfaces/portal_CodedValueDomain.CodedValueDomain-1.html +1 -1
  69. package/docs/html/interfaces/portal_ColorClassBreakInfo.ColorClassBreakInfo.html +2 -1
  70. package/docs/html/interfaces/portal_ColorUniqueValueInfos.ColorUniqueValueInfos.html +2 -1
  71. package/docs/html/interfaces/portal_DataSource.DataSourceBase.html +2 -2
  72. package/docs/html/interfaces/portal_DefinitionEditor.DefinitionEditor.html +2 -1
  73. package/docs/html/interfaces/portal_DefinitionEditor.Input.html +1 -1
  74. package/docs/html/interfaces/portal_DefinitionEditor.Parameter.html +1 -1
  75. package/docs/html/interfaces/portal_DrawingInfo.DrawingInfo-1.html +2 -1
  76. package/docs/html/interfaces/portal_DynamicDataLayer.DynamicDataLayer.html +2 -2
  77. package/docs/html/interfaces/portal_DynamicMapLayer.DynamicMapLayer.html +1 -1
  78. package/docs/html/interfaces/portal_ElevationInfo.ElevationInfo-1.html +1 -1
  79. package/docs/html/interfaces/portal_ElevationLayer.ElevationLayer-1.html +3 -2
  80. package/docs/html/interfaces/portal_Environment.Environment-1.html +2 -1
  81. package/docs/html/interfaces/portal_Extent.Extent.html +1 -1
  82. package/docs/html/interfaces/portal_ExtrudeSymbol3DLayer.ExtrudeSymbol3DLayer.html +2 -1
  83. package/docs/html/interfaces/portal_Feature.Feature-1.html +2 -1
  84. package/docs/html/interfaces/portal_FeatureCollection.FeatureCollection.html +2 -1
  85. package/docs/html/interfaces/portal_FeatureLayer.FeatureLayer-1.html +3 -2
  86. package/docs/html/interfaces/portal_FeatureSet.FeatureSet.html +2 -1
  87. package/docs/html/interfaces/portal_Field.Field-1.html +1 -1
  88. package/docs/html/interfaces/portal_FieldInfo.FieldInfo.html +2 -1
  89. package/docs/html/interfaces/portal_FillSymbol3DLayer.FillSymbol3DLayer.html +2 -1
  90. package/docs/html/interfaces/portal_FormInfo.FormAttachmentElement.html +1 -1
  91. package/docs/html/interfaces/portal_FormInfo.FormBarcodeScannerInput.html +1 -1
  92. package/docs/html/interfaces/portal_FormInfo.FormComboBoxInput.html +1 -1
  93. package/docs/html/interfaces/portal_FormInfo.FormDateTimePickerInput.html +1 -1
  94. package/docs/html/interfaces/portal_FormInfo.FormExpressionInfo.html +1 -1
  95. package/docs/html/interfaces/portal_FormInfo.FormFieldElement.html +1 -1
  96. package/docs/html/interfaces/portal_FormInfo.FormGroupElement.html +1 -1
  97. package/docs/html/interfaces/portal_FormInfo.FormInfo-1.html +1 -1
  98. package/docs/html/interfaces/portal_FormInfo.FormRadioButtonsInput.html +1 -1
  99. package/docs/html/interfaces/portal_FormInfo.FormRelationshipElement.html +1 -1
  100. package/docs/html/interfaces/portal_FormInfo.FormSwitchInput.html +1 -1
  101. package/docs/html/interfaces/portal_FormInfo.FormTextAreaInput.html +1 -1
  102. package/docs/html/interfaces/portal_FormInfo.FormTextBoxInput.html +1 -1
  103. package/docs/html/interfaces/portal_Format.Format.html +2 -1
  104. package/docs/html/interfaces/portal_GeoRSSLayer.GeoRSSLayer-1.html +3 -2
  105. package/docs/html/interfaces/portal_GroupLayer.GroupLayer-1.html +3 -2
  106. package/docs/html/interfaces/portal_HeatmapRenderer.ColorStop.html +2 -1
  107. package/docs/html/interfaces/portal_HeatmapRenderer.HeatmapRenderer.html +2 -1
  108. package/docs/html/interfaces/portal_IconSymbol3DLayer.IconSymbol3DLayer.html +2 -1
  109. package/docs/html/interfaces/portal_ImageServiceLayer.ImageServiceLayer-1.html +3 -2
  110. package/docs/html/interfaces/portal_ImageServiceVectorLayer.ImageServiceVectorLayer.html +3 -2
  111. package/docs/html/interfaces/portal_InheritedDomain.InheritedDomain-1.html +1 -1
  112. package/docs/html/interfaces/portal_InitialState.InitialState-1.html +2 -1
  113. package/docs/html/interfaces/portal_IntegratedMeshLayer.IntegratedMeshLayer-1.html +3 -2
  114. package/docs/html/interfaces/portal_Item.Item-1.html +3 -2
  115. package/docs/html/interfaces/portal_JoinTableDataSource.JoinTableDataSource.html +2 -2
  116. package/docs/html/interfaces/portal_KMLLayer.KMLLayer-1.html +3 -2
  117. package/docs/html/interfaces/portal_LabelSymbol3D.LabelSymbol3D.html +2 -1
  118. package/docs/html/interfaces/portal_LabelingInfo.LabelingInfo-1.html +3 -2
  119. package/docs/html/interfaces/portal_Layer.Layer-1.html +1 -1
  120. package/docs/html/interfaces/portal_LayerDefinition.FieldOverride.html +1 -1
  121. package/docs/html/interfaces/portal_LayerDefinition.LayerDefinition-1.html +4 -3
  122. package/docs/html/interfaces/portal_LayerDefinition.LayerTimeInfo.html +2 -2
  123. package/docs/html/interfaces/portal_Lighting.SunLighting.html +2 -1
  124. package/docs/html/interfaces/portal_Lighting.VirtualLighting.html +2 -1
  125. package/docs/html/interfaces/portal_LineSymbol3D.LineSymbol3D.html +2 -1
  126. package/docs/html/interfaces/portal_LineSymbol3DLayer.LineSymbol3DLayer.html +2 -1
  127. package/docs/html/interfaces/portal_LocationInfo.LocationInfo.html +2 -1
  128. package/docs/html/interfaces/portal_MapFloorInfo.FacilityLayerInfo.html +1 -1
  129. package/docs/html/interfaces/portal_MapFloorInfo.LevelLayerInfo.html +1 -1
  130. package/docs/html/interfaces/portal_MapFloorInfo.MapFloorInfo-1.html +1 -1
  131. package/docs/html/interfaces/portal_MapFloorInfo.SiteLayerInfo.html +1 -1
  132. package/docs/html/interfaces/portal_MapRangeInfo.MapRangeInfo.html +2 -1
  133. package/docs/html/interfaces/portal_MapServiceLayer.MapServiceLayer-1.html +3 -2
  134. package/docs/html/interfaces/portal_MeshSymbol3D.MeshSymbol3D.html +2 -1
  135. package/docs/html/interfaces/portal_MosaicRule.MosaicRule-1.html +2 -1
  136. package/docs/html/interfaces/portal_Multipoint.Multipoint.html +1 -1
  137. package/docs/html/interfaces/portal_ObjectSymbol3DLayer.ObjectSymbol3DLayer.html +2 -1
  138. package/docs/html/interfaces/portal_OpenStreetMapLayer.OpenStreetMapLayer-1.html +2 -1
  139. package/docs/html/interfaces/portal_OperationalLayer.OperationalLayerBase.html +1 -1
  140. package/docs/html/interfaces/portal_PathSymbol3DLayer.PathSymbol3DLayer.html +2 -1
  141. package/docs/html/interfaces/portal_PictureFillSymbol.PictureFillSymbol.html +2 -1
  142. package/docs/html/interfaces/portal_PictureMarkerSymbol.PictureMarkerSymbol.html +2 -1
  143. package/docs/html/interfaces/portal_Point.Point.html +2 -1
  144. package/docs/html/interfaces/portal_PointCloudBitfieldFilter.PointCloudBitfieldFilter.html +2 -1
  145. package/docs/html/interfaces/portal_PointCloudClassBreaksRenderer.PointCloudClassBreaksRenderer.html +4 -2
  146. package/docs/html/interfaces/portal_PointCloudFixedSizeAlgorithm.PointCloudFixedSizeAlgorithm.html +2 -1
  147. package/docs/html/interfaces/portal_PointCloudLayer.PointCloudLayer-1.html +3 -2
  148. package/docs/html/interfaces/portal_PointCloudRGBRenderer.PointCloudRGBRenderer.html +4 -2
  149. package/docs/html/interfaces/portal_PointCloudRenderer.PointCloudRendererBase.html +4 -2
  150. package/docs/html/interfaces/portal_PointCloudReturnFilter.PointCloudReturnFilter.html +2 -1
  151. package/docs/html/interfaces/portal_PointCloudSplatAlgorithm.PointCloudSplatAlgorithm.html +2 -1
  152. package/docs/html/interfaces/portal_PointCloudStretchRenderer.PointCloudStretchRenderer.html +4 -2
  153. package/docs/html/interfaces/portal_PointCloudUniqueValueRenderer.PointCloudUniqueValueRenderer.html +4 -2
  154. package/docs/html/interfaces/portal_PointCloudValueFilter.PointCloudValueFilter.html +2 -1
  155. package/docs/html/interfaces/portal_PointSymbol3D.PointSymbol3D.html +3 -2
  156. package/docs/html/interfaces/portal_Polygon.Polygon.html +1 -1
  157. package/docs/html/interfaces/portal_PolygonSymbol3D.PolygonSymbol3D.html +2 -1
  158. package/docs/html/interfaces/portal_Polyline.Polyline.html +1 -1
  159. package/docs/html/interfaces/portal_PopupExpressionInfo.PopupExpressionInfo.html +2 -1
  160. package/docs/html/interfaces/portal_PopupInfo.OrderByFields.html +2 -1
  161. package/docs/html/interfaces/portal_PopupInfo.RelatedRecordsInfo.html +2 -1
  162. package/docs/html/interfaces/portal_PredominanceRenderer.PredominanceRenderer.html +2 -1
  163. package/docs/html/interfaces/portal_Presentation.Presentation-1.html +2 -1
  164. package/docs/html/interfaces/portal_QueryTableDataSource.QueryTableDataSource.html +2 -2
  165. package/docs/html/interfaces/portal_RangeDomain.RangeDomain-1.html +1 -1
  166. package/docs/html/interfaces/portal_RangeInfo.RangeInfo.html +2 -1
  167. package/docs/html/interfaces/portal_RasterDataSource.RasterDataSource.html +2 -2
  168. package/docs/html/interfaces/portal_Renderer.AuthoringInfo.html +2 -1
  169. package/docs/html/interfaces/portal_Renderer.ColorRamp.html +1 -1
  170. package/docs/html/interfaces/portal_Renderer.RendererBase.html +2 -1
  171. package/docs/html/interfaces/portal_RenderingRule.RenderingRule-1.html +3 -2
  172. package/docs/html/interfaces/portal_SceneLayer.SceneLayer-1.html +3 -2
  173. package/docs/html/interfaces/portal_SimpleFillSymbol.SimpleFillSymbol.html +2 -1
  174. package/docs/html/interfaces/portal_SimpleLineSymbol.SimpleLineSymbol.html +2 -1
  175. package/docs/html/interfaces/portal_SimpleMarkerSymbol.SimpleMarkerSymbol.html +2 -1
  176. package/docs/html/interfaces/portal_SimpleRenderer.SimpleRenderer.html +2 -1
  177. package/docs/html/interfaces/portal_Slide.Slide-1.html +4 -4
  178. package/docs/html/interfaces/portal_SpatialReference.SpatialReference-1.html +2 -1
  179. package/docs/html/interfaces/portal_StreamLayer.StreamLayer-1.html +2 -2
  180. package/docs/html/interfaces/portal_StyleSymbolReference.StyleSymbolReference.html +2 -1
  181. package/docs/html/interfaces/portal_SubtypeGroupLayer.SubtypeGroupLayer-1.html +3 -2
  182. package/docs/html/interfaces/portal_SubtypeGroupLayer.SubtypeSubtypeGroupLayer.html +2 -2
  183. package/docs/html/interfaces/portal_SubtypeSublayer.SubtypeSublayer-1.html +3 -2
  184. package/docs/html/interfaces/portal_Symbol.Font.html +1 -1
  185. package/docs/html/interfaces/portal_Symbol3D.Material.html +2 -1
  186. package/docs/html/interfaces/portal_Symbol3D.Outline.html +2 -1
  187. package/docs/html/interfaces/portal_Symbol3D.ResourceIconSymbol.html +2 -1
  188. package/docs/html/interfaces/portal_Symbol3D.ResourceObjectSymbol.html +2 -1
  189. package/docs/html/interfaces/portal_Table.Table.html +1 -1
  190. package/docs/html/interfaces/portal_TableDataSource.TableDataSource.html +2 -2
  191. package/docs/html/interfaces/portal_Template.Template-1.html +2 -1
  192. package/docs/html/interfaces/portal_TemporalRenderer.TemporalRenderer.html +2 -1
  193. package/docs/html/interfaces/portal_TextSymbol.TextSymbol.html +2 -1
  194. package/docs/html/interfaces/portal_TextSymbol3DLayer.TextSymbol3DLayer.html +2 -1
  195. package/docs/html/interfaces/portal_TileInfo.TileInfo-1.html +3 -2
  196. package/docs/html/interfaces/portal_TiledImageServiceLayer.TiledImageServiceLayer-1.html +3 -2
  197. package/docs/html/interfaces/portal_TiledMapServiceLayer.TiledMapServiceLayer-1.html +4 -3
  198. package/docs/html/interfaces/portal_Type.Type-1.html +3 -8
  199. package/docs/html/interfaces/portal_UniqueValueFromStyle.UniqueValueFromStyle.html +2 -1
  200. package/docs/html/interfaces/portal_UniqueValueRenderer.UniqueValueInfo.html +2 -1
  201. package/docs/html/interfaces/portal_UniqueValueRenderer.UniqueValueRenderer.html +2 -1
  202. package/docs/html/interfaces/portal_UtilityNetwork.TraceConfiguration.html +1 -1
  203. package/docs/html/interfaces/portal_UtilityNetwork.UtilityNetwork-1.html +1 -1
  204. package/docs/html/interfaces/portal_Value.Value.html +1 -1
  205. package/docs/html/interfaces/portal_VectorTileLayer.VectorTileLayer-1.html +3 -2
  206. package/docs/html/interfaces/portal_VerticalOffset.VerticalOffset.html +1 -1
  207. package/docs/html/interfaces/portal_Viewpoint.Viewpoint-1.html +2 -1
  208. package/docs/html/interfaces/portal_VisualVariable.ColorInfo.html +3 -2
  209. package/docs/html/interfaces/portal_VisualVariable.RotationInfo.html +3 -2
  210. package/docs/html/interfaces/portal_VisualVariable.Size.html +2 -1
  211. package/docs/html/interfaces/portal_VisualVariable.SizeInfo.html +3 -2
  212. package/docs/html/interfaces/portal_VisualVariable.TransparencyInfo.html +2 -1
  213. package/docs/html/interfaces/portal_VisualVariable.VisualVariableBase.html +1 -1
  214. package/docs/html/interfaces/portal_WMSLayer.WMSLayer-1.html +3 -2
  215. package/docs/html/interfaces/portal_WMSSublayer.WMSSublayer-1.html +2 -1
  216. package/docs/html/interfaces/portal_WMTSInfo.WMTSInfo-1.html +1 -1
  217. package/docs/html/interfaces/portal_Weather.CloudyWeather.html +2 -1
  218. package/docs/html/interfaces/portal_Weather.FoggyWeather.html +2 -1
  219. package/docs/html/interfaces/portal_Weather.RainyWeather.html +2 -1
  220. package/docs/html/interfaces/portal_Weather.SnowyWeather.html +2 -1
  221. package/docs/html/interfaces/portal_Weather.SunnyWeather.html +2 -1
  222. package/docs/html/interfaces/portal_WebMap.WebMap-1.html +3 -3
  223. package/docs/html/interfaces/portal_WebScene.WebScene-1.html +5 -3
  224. package/docs/html/interfaces/portal_WebSceneBaseMap.WebSceneBaseMap-1.html +2 -1
  225. package/docs/html/interfaces/portal_WebTileLayer.WebTileLayer-1.html +3 -2
  226. package/docs/html/interfaces/portal_Widgets.FloorFilter.html +1 -1
  227. package/docs/html/interfaces/portal_Widgets.Range.html +1 -1
  228. package/docs/html/interfaces/portal_Widgets.TimeSlider.html +3 -2
  229. package/docs/html/interfaces/portal_Widgets.Widgets.html +2 -1
  230. package/docs/html/interfaces/support_Serializable.PropertyDef.html +2 -2
  231. package/docs/html/interfaces/tasks_identify_IdentifyOptions.IdentifyOptions-1.html +2 -2
  232. package/docs/html/interfaces/tasks_search_SearchOptions.SearchOptions-1.html +2 -2
  233. package/docs/html/interfaces/utilities_array.CompareOptions.html +8 -8
  234. package/docs/html/interfaces/utilities_geometry.GeographicTransformationJson.html +1 -1
  235. package/docs/html/types/portal_DataSource.DataSource.html +1 -0
  236. package/docs/html/types/portal_Domain.Domain-1.html +2 -1
  237. package/docs/html/types/portal_Geometry.Geometry.html +1 -1
  238. package/docs/html/types/portal_PointCloudFilter.PointCloudFilter.html +2 -1
  239. package/docs/html/types/portal_Symbol.Color.html +1 -1
  240. package/docs/html/types/portal_Symbol.Symbol.html +1 -1
  241. package/docs/html/types/portal_Symbol3D.Symbol3D.html +2 -1
  242. package/docs/html/types/portal_VisualVariable.VisualVariable.html +2 -1
  243. package/docs/html/variables/mapping_BasemapExtension.defaultBasemapExtensionFactory.html +2 -2
  244. package/docs/html/variables/version.version.html +1 -1
  245. package/forked-libs/dbf/src/fields.js +1 -1
  246. package/forked-libs/dbf/src/structure.js +1 -1
  247. package/forked-libs/shp-write/src/download.js +1 -1
  248. package/forked-libs/shp-write/src/fields.js +1 -1
  249. package/forked-libs/shp-write/src/geojson.js +1 -1
  250. package/forked-libs/shp-write/src/multipoint.js +1 -1
  251. package/forked-libs/shp-write/src/points.js +1 -1
  252. package/forked-libs/shp-write/src/poly.js +1 -1
  253. package/forked-libs/shp-write/src/write.js +1 -1
  254. package/forked-libs/shp-write/src/zip.js +1 -1
  255. package/layer-preset/LayerPreset.d.ts +1 -1
  256. package/layer-preset/LayerPreset.js +1 -1
  257. package/layer-preset/LayerPresetSettings.d.ts +1 -1
  258. package/layer-preset/LayerPresetSettings.js +1 -1
  259. package/locale/_registry.js +1 -1
  260. package/locale/af.js +1 -1
  261. package/locale/ar-MA.js +1 -1
  262. package/locale/ar-SA.js +1 -1
  263. package/locale/ar-TN.js +1 -1
  264. package/locale/ar.js +1 -1
  265. package/locale/az.js +1 -1
  266. package/locale/be.js +1 -1
  267. package/locale/bg.js +1 -1
  268. package/locale/bn.js +1 -1
  269. package/locale/bs.js +1 -1
  270. package/locale/ca.js +1 -1
  271. package/locale/cs.js +1 -1
  272. package/locale/cv.js +1 -1
  273. package/locale/cy.js +1 -1
  274. package/locale/da.js +1 -1
  275. package/locale/de-AT.js +1 -1
  276. package/locale/de.js +1 -1
  277. package/locale/el.js +1 -1
  278. package/locale/en-AU.js +1 -1
  279. package/locale/en-CA.js +1 -1
  280. package/locale/en-GB.js +1 -1
  281. package/locale/en.js +1 -1
  282. package/locale/es.js +1 -1
  283. package/locale/et.js +1 -1
  284. package/locale/eu.js +1 -1
  285. package/locale/fa.js +1 -1
  286. package/locale/fi.js +1 -1
  287. package/locale/fo.js +1 -1
  288. package/locale/fr-CA.js +1 -1
  289. package/locale/fr.js +1 -1
  290. package/locale/gl.js +1 -1
  291. package/locale/he.js +1 -1
  292. package/locale/hi.js +1 -1
  293. package/locale/hr.js +1 -1
  294. package/locale/hu.js +1 -1
  295. package/locale/hy.js +1 -1
  296. package/locale/id.js +1 -1
  297. package/locale/inv.js +1 -1
  298. package/locale/is.js +1 -1
  299. package/locale/it.js +1 -1
  300. package/locale/ja.js +1 -1
  301. package/locale/ka.js +1 -1
  302. package/locale/km.js +1 -1
  303. package/locale/ko.js +1 -1
  304. package/locale/language.js +1 -1
  305. package/locale/lt.js +1 -1
  306. package/locale/lv.js +1 -1
  307. package/locale/mk.js +1 -1
  308. package/locale/ml.js +1 -1
  309. package/locale/mr.js +1 -1
  310. package/locale/ms-MY.js +1 -1
  311. package/locale/ms.js +1 -1
  312. package/locale/my.js +1 -1
  313. package/locale/nb.js +1 -1
  314. package/locale/ne.js +1 -1
  315. package/locale/nl.js +1 -1
  316. package/locale/nn.js +1 -1
  317. package/locale/no.js +1 -1
  318. package/locale/pl.js +1 -1
  319. package/locale/pt-BR.js +1 -1
  320. package/locale/pt.js +1 -1
  321. package/locale/ro.js +1 -1
  322. package/locale/ru.js +1 -1
  323. package/locale/si.js +1 -1
  324. package/locale/sk.js +1 -1
  325. package/locale/sl.js +1 -1
  326. package/locale/sq.js +1 -1
  327. package/locale/sr-Cyrl.js +1 -1
  328. package/locale/sr-ME.js +1 -1
  329. package/locale/sr.js +1 -1
  330. package/locale/sv.js +1 -1
  331. package/locale/ta.js +1 -1
  332. package/locale/th.js +1 -1
  333. package/locale/tl.js +1 -1
  334. package/locale/tr.js +1 -1
  335. package/locale/tzm-Latn.js +1 -1
  336. package/locale/tzm.js +1 -1
  337. package/locale/uk.js +1 -1
  338. package/locale/uz.js +1 -1
  339. package/locale/vi.js +1 -1
  340. package/locale/zh-TW.js +1 -1
  341. package/locale/zh.js +1 -1
  342. package/locale.js +1 -1
  343. package/mapping/ArcGISSublayerExtension.js +1 -1
  344. package/mapping/BasemapExtension.js +1 -1
  345. package/mapping/Bookmark.d.ts +1 -1
  346. package/mapping/Bookmark.js +1 -1
  347. package/mapping/BuildingComponentSublayerExtension.js +1 -1
  348. package/mapping/BuildingGroupSublayerExtension.js +1 -1
  349. package/mapping/BuildingSceneLayerExtension.js +1 -1
  350. package/mapping/BuildingSublayerExtension.js +1 -1
  351. package/mapping/CSVLayerExtension.js +1 -1
  352. package/mapping/ElevationLayerExtension.js +1 -1
  353. package/mapping/FeatureCollectionLayerExtension.js +1 -1
  354. package/mapping/FeatureLayerExtension.js +1 -1
  355. package/mapping/FeatureLayerExtensionBase.js +1 -1
  356. package/mapping/GeoRSSLayerExtension.js +1 -1
  357. package/mapping/GraphicsLayerExtension.js +1 -1
  358. package/mapping/GroundExtension.d.ts +1 -1
  359. package/mapping/GroundExtension.js +1 -1
  360. package/mapping/GroupLayerExtension.js +1 -1
  361. package/mapping/ImageryLayerExtension.js +1 -1
  362. package/mapping/ImageryTileLayerExtension.js +1 -1
  363. package/mapping/IntegratedMeshLayerExtension.js +1 -1
  364. package/mapping/KMLLayerExtension.js +1 -1
  365. package/mapping/KMLSublayerExtension.js +1 -1
  366. package/mapping/LayerExtension.js +1 -1
  367. package/mapping/MapConstraints.js +1 -1
  368. package/mapping/MapExtension.d.ts +5 -5
  369. package/mapping/MapExtension.js +1 -1
  370. package/mapping/MapImageLayerExtension.d.ts +1 -1
  371. package/mapping/MapImageLayerExtension.js +1 -1
  372. package/mapping/MapImageSublayerExtension.js +1 -1
  373. package/mapping/OpenStreetMapLayerExtension.js +1 -1
  374. package/mapping/PointCloudLayerExtension.js +1 -1
  375. package/mapping/SceneLayerExtension.js +1 -1
  376. package/mapping/StreamLayerExtension.js +1 -1
  377. package/mapping/SublayerExtension.js +1 -1
  378. package/mapping/SubtypeGroupLayerExtension.js +1 -1
  379. package/mapping/SubtypeSublayerExtension.js +1 -1
  380. package/mapping/TileLayerExtension.js +1 -1
  381. package/mapping/TileSublayerExtension.js +1 -1
  382. package/mapping/UnsupportedLayerExtension.js +1 -1
  383. package/mapping/VectorTileLayerExtension.js +1 -1
  384. package/mapping/WMSLayerExtension.js +1 -1
  385. package/mapping/WMSSublayerExtension.js +1 -1
  386. package/mapping/WMTSLayerExtension.js +1 -1
  387. package/mapping/WMTSSublayerExtension.js +1 -1
  388. package/mapping/WebTileLayerExtension.js +1 -1
  389. package/mapping/_LayerExtension.d.ts +1 -1
  390. package/mapping/_LayerExtension.js +1 -1
  391. package/mapping/_SublayerExtension.d.ts +1 -1
  392. package/mapping/_SublayerExtension.js +1 -1
  393. package/mapping/convert.js +1 -1
  394. package/mapping/support/ArrayWrappedCollection.js +1 -1
  395. package/mapping/support/DefaultLayerExtensionFactory.js +1 -1
  396. package/mapping/support/DefaultSublayerExtensionFactory.js +1 -1
  397. package/mapping/support/LayerListSettings.js +1 -1
  398. package/mapping/support/PopupTemplateFeatureSettings.js +1 -1
  399. package/mapping/support/WfsCapabilities.js +1 -1
  400. package/mapping/support/WfsFeatureType.js +1 -1
  401. package/mapping/support/_LayerExtensionCollection.js +1 -1
  402. package/mapping/support/_SublayerExtensionCollection.js +1 -1
  403. package/mapping/support/_kml.js +1 -1
  404. package/mapping/support/ogc.js +1 -1
  405. package/menus/Menu.js +1 -1
  406. package/menus/MenuItem.js +1 -1
  407. package/package.json +36 -35
  408. package/portal/ApplicationProperties.d.ts +16 -13
  409. package/portal/Background.d.ts +3 -2
  410. package/portal/Background.js +1 -1
  411. package/portal/BaseMap.d.ts +1 -0
  412. package/portal/BaseMap.js +1 -1
  413. package/portal/BaseMapLayer.d.ts +3 -2
  414. package/portal/BingLayer.d.ts +1 -0
  415. package/portal/Bookmark.d.ts +1 -0
  416. package/portal/BuildingSceneLayer.d.ts +1 -1
  417. package/portal/BuildingSceneLayer.js +1 -1
  418. package/portal/BuildingSceneSublayer.js +1 -1
  419. package/portal/CIMSymbol.d.ts +1 -0
  420. package/portal/CSVLayer.d.ts +1 -0
  421. package/portal/CSVLayer.js +1 -1
  422. package/portal/Camera.d.ts +1 -0
  423. package/portal/Camera.js +1 -1
  424. package/portal/ClassBreaksRenderer.d.ts +4 -2
  425. package/portal/CodedValueDomain.d.ts +2 -2
  426. package/portal/CodedValueDomain.js +1 -1
  427. package/portal/ColorClassBreakInfo.d.ts +1 -0
  428. package/portal/ColorUniqueValueInfos.d.ts +1 -0
  429. package/portal/DataSource.d.ts +5 -4
  430. package/portal/DefinitionEditor.d.ts +3 -2
  431. package/portal/Domain.d.ts +3 -2
  432. package/portal/Domain.js +1 -1
  433. package/portal/DrawingInfo.d.ts +1 -0
  434. package/portal/DrawingInfo.js +1 -1
  435. package/portal/DynamicDataLayer.d.ts +2 -2
  436. package/portal/DynamicMapLayer.d.ts +1 -1
  437. package/portal/Edges.d.ts +1 -1
  438. package/portal/Edges.js +1 -1
  439. package/portal/Effect.d.ts +2 -2
  440. package/portal/ElevationInfo.d.ts +2 -2
  441. package/portal/ElevationInfo.js +1 -1
  442. package/portal/ElevationLayer.d.ts +1 -0
  443. package/portal/ElevationLayer.js +1 -1
  444. package/portal/Environment.d.ts +1 -0
  445. package/portal/Environment.js +1 -1
  446. package/portal/Extent.d.ts +1 -1
  447. package/portal/ExtrudeSymbol3DLayer.d.ts +1 -0
  448. package/portal/Feature.d.ts +1 -0
  449. package/portal/Feature.js +1 -1
  450. package/portal/FeatureCollection.d.ts +1 -0
  451. package/portal/FeatureLayer.d.ts +2 -1
  452. package/portal/FeatureLayer.js +1 -1
  453. package/portal/FeatureReduction.d.ts +1 -1
  454. package/portal/FeatureReduction.js +1 -1
  455. package/portal/FeatureSet.d.ts +1 -0
  456. package/portal/Field.d.ts +2 -2
  457. package/portal/Field.js +1 -1
  458. package/portal/FieldInfo.d.ts +2 -1
  459. package/portal/FillSymbol3DLayer.d.ts +1 -0
  460. package/portal/FormInfo.d.ts +13 -13
  461. package/portal/FormInfo.js +1 -1
  462. package/portal/Format.d.ts +2 -1
  463. package/portal/GeoRSSLayer.d.ts +1 -0
  464. package/portal/GeoRSSLayer.js +1 -1
  465. package/portal/Geometry.d.ts +3 -3
  466. package/portal/Geometry.js +1 -1
  467. package/portal/Ground.d.ts +1 -1
  468. package/portal/Ground.js +1 -1
  469. package/portal/GroupLayer.d.ts +2 -1
  470. package/portal/GroupLayer.js +1 -1
  471. package/portal/HeatmapRenderer.d.ts +2 -0
  472. package/portal/IconSymbol3DLayer.d.ts +1 -0
  473. package/portal/ImageServiceLayer.d.ts +1 -0
  474. package/portal/ImageServiceLayer.js +1 -1
  475. package/portal/ImageServiceVectorLayer.d.ts +1 -0
  476. package/portal/InheritedDomain.d.ts +1 -1
  477. package/portal/InheritedDomain.js +1 -1
  478. package/portal/InitialState.d.ts +1 -0
  479. package/portal/InitialState.js +1 -1
  480. package/portal/IntegratedMeshLayer.d.ts +1 -0
  481. package/portal/IntegratedMeshLayer.js +1 -1
  482. package/portal/Item.d.ts +2 -1
  483. package/portal/Item.js +1 -1
  484. package/portal/JoinTableDataSource.d.ts +2 -2
  485. package/portal/KMLLayer.d.ts +1 -0
  486. package/portal/KMLLayer.js +1 -1
  487. package/portal/LabelSymbol3D.d.ts +1 -0
  488. package/portal/LabelingInfo.d.ts +3 -2
  489. package/portal/LabelingInfo.js +1 -1
  490. package/portal/Layer.d.ts +1 -1
  491. package/portal/Layer.js +1 -1
  492. package/portal/LayerBase.js +1 -1
  493. package/portal/LayerDefinition.d.ts +8 -7
  494. package/portal/LayerDefinition.js +1 -1
  495. package/portal/Lighting.d.ts +3 -1
  496. package/portal/Lighting.js +1 -1
  497. package/portal/LineSymbol3D.d.ts +1 -0
  498. package/portal/LineSymbol3DLayer.d.ts +1 -0
  499. package/portal/LocationInfo.d.ts +1 -0
  500. package/portal/MapFloorInfo.d.ts +4 -4
  501. package/portal/MapFloorInfo.js +1 -1
  502. package/portal/MapRangeInfo.d.ts +1 -0
  503. package/portal/MapServiceLayer.d.ts +1 -0
  504. package/portal/MapServiceLayer.js +1 -1
  505. package/portal/MediaInfo.d.ts +1 -1
  506. package/portal/MediaInfo.js +1 -1
  507. package/portal/MeshSymbol3D.d.ts +1 -0
  508. package/portal/MosaicRule.d.ts +3 -2
  509. package/portal/MosaicRule.js +1 -1
  510. package/portal/Multipoint.d.ts +1 -1
  511. package/portal/ObjectSymbol3DLayer.d.ts +1 -0
  512. package/portal/OpenStreetMapLayer.d.ts +1 -0
  513. package/portal/OpenStreetMapLayer.js +1 -1
  514. package/portal/OperationalLayer.d.ts +3 -3
  515. package/portal/PathSymbol3DLayer.d.ts +1 -0
  516. package/portal/PictureFillSymbol.d.ts +1 -0
  517. package/portal/PictureMarkerSymbol.d.ts +1 -0
  518. package/portal/Point.d.ts +2 -1
  519. package/portal/PointCloudBitfieldFilter.d.ts +1 -0
  520. package/portal/PointCloudClassBreaksRenderer.d.ts +1 -0
  521. package/portal/PointCloudFilter.d.ts +2 -1
  522. package/portal/PointCloudFixedSizeAlgorithm.d.ts +1 -0
  523. package/portal/PointCloudLayer.d.ts +1 -0
  524. package/portal/PointCloudLayer.js +1 -1
  525. package/portal/PointCloudRGBRenderer.d.ts +1 -0
  526. package/portal/PointCloudRenderer.d.ts +3 -1
  527. package/portal/PointCloudRenderer.js +1 -1
  528. package/portal/PointCloudReturnFilter.d.ts +1 -0
  529. package/portal/PointCloudSplatAlgorithm.d.ts +1 -0
  530. package/portal/PointCloudStretchRenderer.d.ts +1 -0
  531. package/portal/PointCloudUniqueValueRenderer.d.ts +1 -0
  532. package/portal/PointCloudValueFilter.d.ts +1 -0
  533. package/portal/PointSymbol3D.d.ts +2 -1
  534. package/portal/Polygon.d.ts +1 -1
  535. package/portal/PolygonSymbol3D.d.ts +1 -0
  536. package/portal/Polyline.d.ts +1 -1
  537. package/portal/PopupExpressionInfo.d.ts +2 -1
  538. package/portal/PopupInfo.d.ts +3 -1
  539. package/portal/PopupInfo.js +1 -1
  540. package/portal/PredominanceRenderer.d.ts +1 -0
  541. package/portal/Presentation.d.ts +1 -0
  542. package/portal/Presentation.js +1 -1
  543. package/portal/QueryTableDataSource.d.ts +1 -1
  544. package/portal/RangeDomain.d.ts +1 -1
  545. package/portal/RangeDomain.js +1 -1
  546. package/portal/RangeInfo.d.ts +1 -0
  547. package/portal/RasterDataSource.d.ts +1 -1
  548. package/portal/Renderer.d.ts +8 -6
  549. package/portal/Renderer.js +1 -1
  550. package/portal/RenderingRule.d.ts +3 -2
  551. package/portal/RenderingRule.js +1 -1
  552. package/portal/SceneLayer.d.ts +1 -0
  553. package/portal/SceneLayer.js +1 -1
  554. package/portal/SimpleFillSymbol.d.ts +2 -1
  555. package/portal/SimpleLineSymbol.d.ts +2 -1
  556. package/portal/SimpleMarkerSymbol.d.ts +2 -1
  557. package/portal/SimpleRenderer.d.ts +1 -0
  558. package/portal/Slide.d.ts +4 -4
  559. package/portal/Slide.js +1 -1
  560. package/portal/SpatialReference.d.ts +1 -0
  561. package/portal/SpatialReference.js +1 -1
  562. package/portal/StreamLayer.d.ts +1 -1
  563. package/portal/StreamLayer.js +1 -1
  564. package/portal/StyleSymbolReference.d.ts +1 -0
  565. package/portal/SubtypeGroupLayer.d.ts +3 -2
  566. package/portal/SubtypeGroupLayer.js +1 -1
  567. package/portal/SubtypeSublayer.d.ts +1 -0
  568. package/portal/SubtypeSublayer.js +1 -1
  569. package/portal/Symbol.d.ts +11 -11
  570. package/portal/Symbol.js +1 -1
  571. package/portal/Symbol3D.d.ts +7 -2
  572. package/portal/Table.d.ts +3 -3
  573. package/portal/Table.js +1 -1
  574. package/portal/TableDataSource.d.ts +1 -1
  575. package/portal/Template.d.ts +2 -1
  576. package/portal/Template.js +1 -1
  577. package/portal/TemporalRenderer.d.ts +1 -0
  578. package/portal/TextSymbol.d.ts +1 -0
  579. package/portal/TextSymbol3DLayer.d.ts +1 -0
  580. package/portal/TileInfo.d.ts +2 -1
  581. package/portal/TileInfo.js +1 -1
  582. package/portal/TiledImageServiceLayer.d.ts +1 -0
  583. package/portal/TiledImageServiceLayer.js +1 -1
  584. package/portal/TiledMapServiceLayer.d.ts +2 -1
  585. package/portal/TiledMapServiceLayer.js +1 -1
  586. package/portal/Type.d.ts +2 -4
  587. package/portal/Type.js +1 -1
  588. package/portal/UniqueValueFromStyle.d.ts +1 -0
  589. package/portal/UniqueValueRenderer.d.ts +2 -0
  590. package/portal/UtilityNetwork.d.ts +2 -2
  591. package/portal/UtilityNetwork.js +1 -1
  592. package/portal/Value.d.ts +1 -1
  593. package/portal/VectorFieldRenderer.d.ts +1 -1
  594. package/portal/VectorTileLayer.d.ts +1 -0
  595. package/portal/VectorTileLayer.js +1 -1
  596. package/portal/VerticalOffset.d.ts +1 -1
  597. package/portal/Viewpoint.d.ts +1 -0
  598. package/portal/Viewpoint.js +1 -1
  599. package/portal/VisualVariable.d.ts +10 -4
  600. package/portal/WMSLayer.d.ts +1 -0
  601. package/portal/WMSLayer.js +1 -1
  602. package/portal/WMSSublayer.d.ts +1 -0
  603. package/portal/WMSSublayer.js +1 -1
  604. package/portal/WMTSInfo.d.ts +1 -1
  605. package/portal/WMTSInfo.js +1 -1
  606. package/portal/Weather.d.ts +6 -1
  607. package/portal/Weather.js +1 -1
  608. package/portal/WebMap.d.ts +3 -3
  609. package/portal/WebMap.js +1 -1
  610. package/portal/WebScene.d.ts +3 -1
  611. package/portal/WebScene.js +1 -1
  612. package/portal/WebSceneBaseMap.d.ts +1 -0
  613. package/portal/WebSceneBaseMap.js +1 -1
  614. package/portal/WebTileLayer.d.ts +1 -0
  615. package/portal/WebTileLayer.js +1 -1
  616. package/portal/Widgets.d.ts +6 -4
  617. package/portal/Widgets.js +1 -1
  618. package/portal/_LayerBase.d.ts +2 -2
  619. package/portal/_layerHelper.js +1 -1
  620. package/portal/_utils.js +1 -1
  621. package/support/Action.d.ts +4 -4
  622. package/support/ArcGISRequestHelper.js +1 -1
  623. package/support/Cancellable.d.ts +1 -1
  624. package/support/Cancellable.js +1 -1
  625. package/support/FormatSettings.js +1 -1
  626. package/support/InitializableBase.d.ts +1 -1
  627. package/support/InitializableBase.js +1 -1
  628. package/support/InitializableCollectionProxy.js +1 -1
  629. package/support/InitializeError.js +1 -1
  630. package/support/Observable.js +1 -1
  631. package/support/ReadOnlyInitializableCollection.js +1 -1
  632. package/support/Serializable.d.ts +4 -4
  633. package/support/Serializable.js +1 -1
  634. package/support/Settings.js +1 -1
  635. package/support/_ArcGISRelationshipCollection.js +1 -1
  636. package/support/_esriInternal.js +1 -1
  637. package/support/_graphicsQuery.js +1 -1
  638. package/support/_query.js +1 -1
  639. package/support/_requestCache.js +1 -1
  640. package/support/_restApiJson.d.ts +1 -1
  641. package/support/esri.d.ts +76 -76
  642. package/support/esri.js +1 -1
  643. package/tasks/geocoding/ArcGISGeocoder.js +1 -1
  644. package/tasks/geocoding/Geocoder.d.ts +1 -1
  645. package/tasks/geocoding/Geocoder.js +1 -1
  646. package/tasks/geocoding/utilities.js +1 -1
  647. package/tasks/identify/ArcGISSublayerQueryIdentifyProvider.js +1 -1
  648. package/tasks/identify/BuildingComponentSublayerClientSideIdentifyProvider.js +1 -1
  649. package/tasks/identify/BuildingComponentSublayerHitTestIdentifyProvider.js +1 -1
  650. package/tasks/identify/CSVLayer3DHitTestIdentifyProvider.js +1 -1
  651. package/tasks/identify/CSVLayerClientSideQueryIdentifyProvider.js +1 -1
  652. package/tasks/identify/ClientSideIdentifyProvider.d.ts +2 -2
  653. package/tasks/identify/ClientSideIdentifyProvider.js +1 -1
  654. package/tasks/identify/FeatureLayer3DHitTestIdentifyProvider.js +1 -1
  655. package/tasks/identify/FeatureLayerClientSideIdentifyProvider.js +1 -1
  656. package/tasks/identify/FeatureLayerQueryIdentifyProvider.js +1 -1
  657. package/tasks/identify/GeoRSSLayerIdentifyProvider.js +1 -1
  658. package/tasks/identify/GraphicsLayerQueryIdentifyProvider.js +1 -1
  659. package/tasks/identify/HitTestIdentifyProvider.d.ts +2 -2
  660. package/tasks/identify/HitTestIdentifyProvider.js +1 -1
  661. package/tasks/identify/IdentifyError.js +1 -1
  662. package/tasks/identify/IdentifyProviderBase.js +1 -1
  663. package/tasks/identify/IdentifyService.js +1 -1
  664. package/tasks/identify/ImageryLayerIdentifyProvider.js +1 -1
  665. package/tasks/identify/KMLLayerQueryIdentifyProvider.js +1 -1
  666. package/tasks/identify/PointCloudLayerHitTestIdentifyProvider.js +1 -1
  667. package/tasks/identify/SceneLayerClientSideIdentifyProvider.js +1 -1
  668. package/tasks/identify/SceneLayerHitTestIdentifyProvider.js +1 -1
  669. package/tasks/identify/SceneLayerQueryIdentifyProvider.js +1 -1
  670. package/tasks/identify/StreamLayerClientSideQueryIdentifyProvider.js +1 -1
  671. package/tasks/identify/StreamLayerQueryIdentifyProvider.js +1 -1
  672. package/tasks/identify/SubtypeSublayerClientSideIdentifyProvider.js +1 -1
  673. package/tasks/identify/SubtypeSublayerQueryIdentifyProvider.js +1 -1
  674. package/tasks/identify/WMSSublayerIdentifyProvider.js +1 -1
  675. package/tasks/query/ArcGISRelationship.js +1 -1
  676. package/tasks/query/ArcGISServiceTableQueryProvider.js +1 -1
  677. package/tasks/query/ArcGISSublayerQueryProvider.js +1 -1
  678. package/tasks/query/BuildingComponentSublayerClientSideQueryProvider.js +1 -1
  679. package/tasks/query/CSVLayerClientSideQueryProvider.js +1 -1
  680. package/tasks/query/CSVLayerQueryProvider.js +1 -1
  681. package/tasks/query/ClientSideQueryProvider.d.ts +2 -2
  682. package/tasks/query/ClientSideQueryProvider.js +1 -1
  683. package/tasks/query/FeatureLayerQueryProvider.js +1 -1
  684. package/tasks/query/GeoRSSLayerQueryProvider.js +1 -1
  685. package/tasks/query/GraphicsLayerQueryProvider.js +1 -1
  686. package/tasks/query/ImageryLayerQueryProvider.js +1 -1
  687. package/tasks/query/KMLLayerQueryProvider.js +1 -1
  688. package/tasks/query/QueryBasedRelationship.js +1 -1
  689. package/tasks/query/QueryError.js +1 -1
  690. package/tasks/query/QueryProviderBase.js +1 -1
  691. package/tasks/query/QueryService.js +1 -1
  692. package/tasks/query/SceneLayerClientSideQueryProvider.js +1 -1
  693. package/tasks/query/SceneLayerQueryProvider.js +1 -1
  694. package/tasks/query/StreamLayerClientSideQueryProvider.js +1 -1
  695. package/tasks/query/StreamLayerQueryProvider.js +1 -1
  696. package/tasks/query/SubtypeSublayerQueryProvider.js +1 -1
  697. package/tasks/search/ArcGISGeocoderSearchProvider.js +1 -1
  698. package/tasks/search/GeocoderSearchProvider.js +1 -1
  699. package/tasks/search/QuerySearchProvider.js +1 -1
  700. package/tasks/search/SearchError.js +1 -1
  701. package/tasks/search/SearchProviderBase.js +1 -1
  702. package/tasks/search/SearchService.js +1 -1
  703. package/tasks/search/_utilities.js +1 -1
  704. package/utilities/CollectionProxy.js +1 -1
  705. package/utilities/CopyOnWriteCollection.js +1 -1
  706. package/utilities/GeometryServiceError.js +1 -1
  707. package/utilities/MapTransformCollection.js +1 -1
  708. package/utilities/ObservableMap.js +1 -1
  709. package/utilities/ObservableSet.js +1 -1
  710. package/utilities/ObservableWeakSet.js +1 -1
  711. package/utilities/ReadOnlyCollection.js +1 -1
  712. package/utilities/ReadOnlyMap.js +1 -1
  713. package/utilities/_layers.js +1 -1
  714. package/utilities/_ogc.js +1 -1
  715. package/utilities/arcade.js +1 -1
  716. package/utilities/array.js +1 -1
  717. package/utilities/asyncIterable.d.ts +1 -1
  718. package/utilities/asyncIterable.js +1 -1
  719. package/utilities/basemaps.js +1 -1
  720. package/utilities/checkArg.js +1 -1
  721. package/utilities/collection.js +1 -1
  722. package/utilities/date.js +1 -1
  723. package/utilities/esri.js +1 -1
  724. package/utilities/extensions.js +1 -1
  725. package/utilities/geometry.d.ts +2 -2
  726. package/utilities/geometry.js +1 -1
  727. package/utilities/iterable.js +1 -1
  728. package/utilities/log.d.ts +1 -1
  729. package/utilities/log.js +1 -1
  730. package/utilities/mapping.js +1 -1
  731. package/utilities/math.js +1 -1
  732. package/utilities/number.js +1 -1
  733. package/utilities/object.js +1 -1
  734. package/utilities/portal.d.ts +3 -3
  735. package/utilities/portal.js +1 -1
  736. package/utilities/promise.d.ts +1 -1
  737. package/utilities/promise.js +1 -1
  738. package/utilities/query.js +1 -1
  739. package/utilities/relationships.js +1 -1
  740. package/utilities/scaleRanges.d.ts +1 -1
  741. package/utilities/set.js +1 -1
  742. package/utilities/string.d.ts +6 -21
  743. package/utilities/string.js +1 -1
  744. package/utilities/symbol.js +1 -1
  745. package/utilities/uri.js +1 -1
  746. package/utilities/watch.js +1 -1
  747. package/version.d.ts +1 -1
  748. package/version.js +1 -1
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@vertigis/arcgis-extensions",
3
3
  "license": "SEE LICENSE IN LICENSE",
4
- "version": "38.0.4",
4
+ "version": "38.1.0",
5
5
  "repository": {
6
6
  "type": "git",
7
- "url": "https://geocortex.visualstudio.com/Geocortex/_git/geocortex-api-ts"
7
+ "url": "https://dev.azure.com/vertigis/Studio/_git/arcgis-extensions-ts"
8
8
  },
9
9
  "files": [
10
10
  "/*.js",
@@ -30,7 +30,7 @@
30
30
  ],
31
31
  "scripts": {
32
32
  "app-schema": "node build/js/appSchema.js",
33
- "audit": "npx audit-ci@^6 --config ./audit-ci.jsonc",
33
+ "audit": "npx --yes audit-ci@^6 --config ./audit-ci.jsonc",
34
34
  "docs": "typedoc",
35
35
  "build": "npm run -s cleanup-build && npm run -s copy-static-files && tsc -p src/tsconfig.bundle.json && npm run -s lint && npm run -s minify && npm run -s test && npm run -s docs && npm run -s app-schema",
36
36
  "build-debug": "npm run -s cleanup-build && npm run -s copy-static-files && tsc -p src/tsconfig.bundle.json",
@@ -48,65 +48,60 @@
48
48
  "watch-build-folder": "tsc -p build -w"
49
49
  },
50
50
  "dependencies": {
51
- "alasql": "~2.1.6",
51
+ "alasql": "~3.1.0",
52
52
  "elasticlunr": "~0.9.5",
53
53
  "esri-proj-codes": "~1.0.3",
54
- "safe-stable-stringify": "^2.4.1",
55
54
  "jszip": "~3.10.0",
56
55
  "moment-timezone": "~0.5.38",
56
+ "safe-stable-stringify": "^2.4.2",
57
57
  "shpjs": "~4.0.2 ",
58
58
  "xlsx": "~0.18.5"
59
59
  },
60
- "devDependenciesComments": {
61
- "@arcgis/core": "If you upgrade this, you must also change the peer dependency."
62
- },
63
60
  "devDependencies": {
64
- "@arcgis/core": "4.25.5",
65
61
  "@prettier/plugin-xml": "2.2.0",
66
62
  "@types/chai": "4.3.4",
67
63
  "@types/chai-as-promised": "7.1.5",
68
- "@types/jest": "29.2.2",
64
+ "@types/jest": "29.4.0",
69
65
  "@types/moment": "2.13.0",
70
66
  "@types/moment-timezone": "0.5.30",
71
- "@types/node": "14.14.41",
72
- "@typescript-eslint/eslint-plugin": "5.42.1",
73
- "@typescript-eslint/parser": "5.42.1",
74
- "canvas": "2.10.2",
67
+ "@types/node": "16.18.12",
68
+ "@typescript-eslint/eslint-plugin": "5.52.0",
69
+ "@typescript-eslint/parser": "5.52.0",
70
+ "canvas": "2.11.0",
75
71
  "chai": "4.3.7",
76
72
  "chai-as-promised": "7.1.1",
77
73
  "cpx2": "4.2.0",
78
74
  "cross-env": "7.0.3",
79
75
  "del-cli": "5.0.0",
80
- "eslint": "8.27.0",
81
- "eslint-config-prettier": "8.5.0",
82
- "eslint-plugin-import": "2.26.0",
83
- "eslint-plugin-jsdoc": "39.6.2",
76
+ "eslint": "8.34.0",
77
+ "eslint-config-prettier": "8.6.0",
78
+ "eslint-plugin-import": "2.27.5",
79
+ "eslint-plugin-jsdoc": "40.0.0",
84
80
  "eslint-plugin-no-autofix": "1.2.3",
85
- "eslint-plugin-only-warn": "1.0.3",
86
- "globby": "13.1.2",
81
+ "eslint-plugin-only-warn": "1.1.0",
82
+ "globby": "13.1.3",
87
83
  "in-publish": "2.0.1",
88
- "jest": "29.3.1",
84
+ "jest": "29.4.2",
89
85
  "jest-enhanced-resolve": "1.0.1",
90
- "jest-junit": "14.0.1",
91
- "jest-mock": "29.3.1",
86
+ "jest-junit": "15.0.0",
87
+ "jest-mock": "29.4.2",
92
88
  "jest-testdouble": "2.1.0",
93
- "jest-util": "29.3.1",
94
- "jest-watch-typeahead": "2.2.0",
95
- "jsdom": "20.0.2",
96
- "lint-staged": "13.0.3",
97
- "nock": "13.2.9",
89
+ "jest-util": "29.4.2",
90
+ "jest-watch-typeahead": "2.2.2",
91
+ "jsdom": "21.1.0",
92
+ "lint-staged": "13.1.1",
93
+ "nock": "13.3.0",
98
94
  "node-fetch": "3.3.0",
99
- "path-equal": "1.2.4",
100
- "prettier": "2.7.1",
95
+ "path-equal": "1.2.5",
96
+ "prettier": "2.8.4",
101
97
  "prettier-plugin-jsdoc": "0.4.2",
102
98
  "resize-observer-polyfill": "1.5.1",
103
99
  "simple-git-hooks": "2.8.1",
104
- "terser": "5.15.1",
100
+ "terser": "5.16.3",
105
101
  "testdouble": "3.11.0",
106
- "ts-jest": "29.0.3",
107
- "tslib": "2.4.1",
108
- "typedoc": "0.23.20",
109
- "typescript": "~4.8.4",
102
+ "ts-jest": "29.0.5",
103
+ "typedoc": "0.23.25",
104
+ "typescript": "~4.9.5",
110
105
  "weaktuplemap": "1.0.0",
111
106
  "whatwg-fetch": "3.6.2"
112
107
  },
@@ -114,6 +109,12 @@
114
109
  "@arcgis/core": "~4.25.5",
115
110
  "tslib": "^2.3.1"
116
111
  },
112
+ "overridesComments": {
113
+ "luxon": "There is an audit issue with version ~3.0.4 that @arcgis/core depends on. When the latter is upgraded, check if this can be removed."
114
+ },
115
+ "overrides": {
116
+ "luxon": "~3.2.1"
117
+ },
117
118
  "type": "module",
118
119
  "simple-git-hooks": {
119
120
  "pre-commit": "npx lint-staged"
@@ -6,20 +6,21 @@ import type { Layer } from "./Layer.js";
6
6
  * object that are applicable only to Collector and are explained within the
7
7
  * property descriptions.
8
8
  *
9
+ * See
9
10
  * {@link https://developers.arcgis.com/web-map-specification/objects/applicationProperties/}.
10
11
  */
11
12
  export interface ApplicationProperties {
12
13
  /**
13
14
  * If locationTracking is set and enabled, the Collector application will
14
15
  * update the feature service at the defined interval with the current
15
- * location of the user logged into the Collector app.
16
+ * location of the user logged into the Collector app. See
16
17
  * {@link https://developers.arcgis.com/web-map-specification/objects/editing/}.
17
18
  */
18
19
  editing?: {
19
20
  /**
20
21
  * If locationTracking is set and enabled, the collector app will update
21
22
  * the feature service at the defined interval with the current location
22
- * of the user logged into the collector application.
23
+ * of the user logged into the collector application. See
23
24
  * {@link https://developers.arcgis.com/web-map-specification/objects/locationTracking/}.
24
25
  */
25
26
  locationTracking?: {
@@ -30,7 +31,7 @@ export interface ApplicationProperties {
30
31
  enabled?: boolean;
31
32
  /**
32
33
  * An object of additional information specifying layer and update
33
- * interval time.
34
+ * interval time. See
34
35
  * {@link https://developers.arcgis.com/web-map-specification/objects/info/}.
35
36
  */
36
37
  info?: {
@@ -48,13 +49,13 @@ export interface ApplicationProperties {
48
49
  };
49
50
  };
50
51
  /**
51
- * Use if working with offline maps.
52
+ * Use if working with offline maps. See
52
53
  * {@link https://developers.arcgis.com/web-map-specification/objects/offline/}.
53
54
  */
54
55
  offline?: {
55
56
  /**
56
57
  * List of layers which should be included in an offline map as
57
- * connected online layers.
58
+ * connected online layers. See
58
59
  * {@link https://developers.arcgis.com/web-map-specification/objects/connectedOnlineLayer/}.
59
60
  */
60
61
  connectedOnlineLayers?: [
@@ -67,7 +68,7 @@ export interface ApplicationProperties {
67
68
  }
68
69
  ];
69
70
  /**
70
- * Object detailing the available offline editing options.
71
+ * Object detailing the available offline editing options. See
71
72
  * {@link https://developers.arcgis.com/web-map-specification/objects/editableLayers/}.
72
73
  */
73
74
  editableLayers?: {
@@ -89,7 +90,7 @@ export interface ApplicationProperties {
89
90
  sync?: SyncMode;
90
91
  };
91
92
  /**
92
- * Object detailing offline basemap options.
93
+ * Object detailing offline basemap options. See
93
94
  * {@link https://developers.arcgis.com/web-map-specification/objects/offlinebasemap/}.
94
95
  */
95
96
  offlinebasemap?: {
@@ -102,6 +103,7 @@ export interface ApplicationProperties {
102
103
  };
103
104
  /**
104
105
  * Object indicating what to do with attachments in read-only layers.
106
+ * See
105
107
  * {@link https://developers.arcgis.com/web-map-specification/objects/readonlyLayers/}.
106
108
  */
107
109
  readonlyLayers?: {
@@ -113,13 +115,13 @@ export interface ApplicationProperties {
113
115
  };
114
116
  /**
115
117
  * An object containing all the viewing properties of the web map. If this
116
- * is null or not defined, the client should assume a logical default.
118
+ * is null or not defined, the client should assume a logical default. See
117
119
  * {@link https://developers.arcgis.com/web-map-specification/objects/viewing/}.
118
120
  */
119
121
  viewing?: {
120
122
  /**
121
123
  * The basemap tool which will use the basemap group defined in the
122
- * Portal.
124
+ * Portal. See
123
125
  * {@link https://developers.arcgis.com/web-map-specification/objects/basemapGallery/}.
124
126
  */
125
127
  basemapGallery?: {
@@ -129,7 +131,7 @@ export interface ApplicationProperties {
129
131
  enabled?: boolean;
130
132
  };
131
133
  /**
132
- * Measure tool setting for the application properties.
134
+ * Measure tool setting for the application properties. See
133
135
  * {@link https://developers.arcgis.com/web-map-specification/objects/measure/}.
134
136
  */
135
137
  measure?: {
@@ -140,6 +142,7 @@ export interface ApplicationProperties {
140
142
  };
141
143
  /**
142
144
  * The route tool which will leverage the Portals defined route service.
145
+ * See
143
146
  * {@link https://developers.arcgis.com/web-map-specification/objects/routing/}.
144
147
  */
145
148
  routing?: {
@@ -149,7 +152,7 @@ export interface ApplicationProperties {
149
152
  enabled?: boolean;
150
153
  };
151
154
  /**
152
- * An object specifying search parameters within the webmap.
155
+ * An object specifying search parameters within the webmap. See
153
156
  * {@link https://developers.arcgis.com/web-map-specification/objects/search/}.
154
157
  */
155
158
  search?: {
@@ -179,8 +182,8 @@ export interface ApplicationProperties {
179
182
  /**
180
183
  * The data to download.
181
184
  */
182
- export declare type DownloadMode = "features" | "featuresAndAttachments" | "none";
185
+ export type DownloadMode = "features" | "featuresAndAttachments" | "none";
183
186
  /**
184
187
  * The data to sync.
185
188
  */
186
- export declare type SyncMode = "syncFeaturesAndAttachments" | "syncFeaturesUploadAttachments" | "uploadFeaturesAndAttachments";
189
+ export type SyncMode = "syncFeaturesAndAttachments" | "syncFeaturesUploadAttachments" | "uploadFeaturesAndAttachments";
@@ -18,11 +18,12 @@ export declare namespace Background {
18
18
  /**
19
19
  * The background of a SceneView that lies behind the sky, atmosphere and stars.
20
20
  */
21
- export declare type Background = ColorBackground;
21
+ export type Background = ColorBackground;
22
22
  /**
23
23
  * Specifies a single color to fill the background of the scene with. The scene
24
- * background is displayed behind any scene objects, stars and atmosphere..
24
+ * background is displayed behind any scene objects, stars and atmosphere.
25
25
  *
26
+ * See
26
27
  * {@link https://developers.arcgis.com/web-scene-specification/objects/environment_background_color/}.
27
28
  */
28
29
  export interface ColorBackground {
@@ -1 +1 @@
1
- import EsriColorBackground from"@arcgis/core/webscene/background/ColorBackground";import{checkArg}from"../utilities/checkArg.js";export var Background;!function(r){r.toEsriApiBackground=function(r){return checkArg("backgroundJson",r).isNotMissing(),EsriColorBackground.fromJSON(r)},r.fromEsriApiBackground=function(r){if(r)return r.toJSON()}}(Background||(Background={}));
1
+ import r from"@arcgis/core/webscene/background/ColorBackground";import{checkArg as o}from"../utilities/checkArg.js";export var Background;!function(n){n.toEsriApiBackground=function(n){return o("backgroundJson",n).isNotMissing(),r.fromJSON(n)},n.fromEsriApiBackground=function(r){if(r)return r.toJSON()}}(Background||(Background={}));
@@ -33,6 +33,7 @@ export declare namespace BaseMap {
33
33
  * a basemap. The basemap has a title and is the combination of each
34
34
  * BaseMapLayer.
35
35
  *
36
+ * See
36
37
  * {@link https://developers.arcgis.com/web-map-specification/objects/basemap/}.
37
38
  */
38
39
  export interface BaseMap {
package/portal/BaseMap.js CHANGED
@@ -1 +1 @@
1
- import{WellKnownBasemap,wellKnownBasemapTitles}from"../support/esri.js";import{basemapsAreEquivalent,isLayerWithLegendEnabledProperty,standardBasemaps}from"../utilities/_layers.js";import{checkArg}from"../utilities/checkArg.js";import{LayerBase}from"./LayerBase.js";export var BaseMap;function baseLayerToJson(e){const a=LayerBase.fromEsriApiLayer(e);return isLayerWithLegendEnabledProperty(e)&&(a.showLegend=e.legendEnabled),delete a.listMode,delete a.refreshInterval,a}!function(e){async function a(e,a,s){checkArg("json",e).isNotMissing(),checkArg("basemap",a).isNotMissing(),e.hasOwnProperty("title")&&(a.title=e.title);const r=e.baseMapLayers?.filter((e=>!e.path));r&&(await LayerBase.applyToEsriApiLayers(a.baseLayers,r.filter((e=>!e.isReference)),s),await LayerBase.applyToEsriApiLayers(a.referenceLayers,r.filter((e=>e.isReference)),s))}e.toEsriApiBasemap=async function(e,s){checkArg("json",e).isNotMissing();const r={baseMapLayers:[],...e},i=(await import("@arcgis/core/Basemap")).default,t=new i,n=Object.values(WellKnownBasemap).find((e=>basemapsAreEquivalent(standardBasemaps[e],r)));if(n){let e;switch(n){case WellKnownBasemap.HYBRID_VECTOR:case WellKnownBasemap.TERRAIN_VECTOR:case WellKnownBasemap.OCEANS_VECTOR:case WellKnownBasemap.OPEN_STREET_MAP_VECTOR:e=i.fromId(n.replace("-vector",""));break;default:e=i.fromId(n)}t.id=n,t.title=wellKnownBasemapTitles[n],t.thumbnailUrl=e.thumbnailUrl}return await a(r,t,s),t},e.applyToEsriApiBasemap=a,e.fromEsriApiBasemap=function(e){return checkArg("basemap",e).isNotMissing(),{title:e.title,baseMapLayers:e.baseLayers.toArray().map(baseLayerToJson).concat(e.referenceLayers.toArray().map((e=>({...baseLayerToJson(e),isReference:!0}))))}}}(BaseMap||(BaseMap={}));
1
+ import{WellKnownBasemap as e,wellKnownBasemapTitles as a}from"../support/esri.js";import{basemapsAreEquivalent as s,isLayerWithLegendEnabledProperty as r,standardBasemaps as i}from"../utilities/_layers.js";import{checkArg as t}from"../utilities/checkArg.js";import{LayerBase as o}from"./LayerBase.js";export var BaseMap;function n(e){const a=o.fromEsriApiLayer(e);return r(e)&&(a.showLegend=e.legendEnabled),delete a.listMode,delete a.refreshInterval,a}!function(r){async function p(e,a,s){t("json",e).isNotMissing(),t("basemap",a).isNotMissing(),e.hasOwnProperty("title")&&(a.title=e.title);const r=e.baseMapLayers?.filter((e=>!e.path));r&&(await o.applyToEsriApiLayers(a.baseLayers,r.filter((e=>!e.isReference)),s),await o.applyToEsriApiLayers(a.referenceLayers,r.filter((e=>e.isReference)),s))}r.toEsriApiBasemap=async function(r,o){t("json",r).isNotMissing();const n={baseMapLayers:[],...r},l=(await import("@arcgis/core/Basemap")).default,c=new l,f=Object.values(e).find((e=>s(i[e],n)));if(f){let s;switch(f){case e.HYBRID_VECTOR:case e.TERRAIN_VECTOR:case e.OCEANS_VECTOR:case e.OPEN_STREET_MAP_VECTOR:s=l.fromId(f.replace("-vector",""));break;default:s=l.fromId(f)}c.id=f,c.title=a[f],c.thumbnailUrl=s.thumbnailUrl}return await p(n,c,o),c},r.applyToEsriApiBasemap=p,r.fromEsriApiBasemap=function(e){return t("basemap",e).isNotMissing(),{title:e.title,baseMapLayers:e.baseLayers.toArray().map(n).concat(e.referenceLayers.toArray().map((e=>({...n(e),isReference:!0}))))}}}(BaseMap||(BaseMap={}));
@@ -12,6 +12,7 @@ import type { LayerBase } from "./_LayerBase.js";
12
12
  /**
13
13
  * Properties for layers that are acceptable as basemap layers.
14
14
  *
15
+ * See
15
16
  * {@link https://developers.arcgis.com/web-map-specification/objects/baseMapLayer/}.
16
17
  */
17
18
  export interface BaseMapLayerBase extends LayerBase {
@@ -25,8 +26,8 @@ export interface BaseMapLayerBase extends LayerBase {
25
26
  /**
26
27
  * A base map layer in a web map/scene.
27
28
  */
28
- export declare type BaseMapLayer = BingLayer | ImageServiceLayer | ImageServiceVectorLayer | MapServiceLayer | OpenStreetMapLayer | TiledImageServiceLayer | TiledMapServiceLayer | VectorTileLayer | WebTileLayer | WMSLayer;
29
+ export type BaseMapLayer = BingLayer | ImageServiceLayer | ImageServiceVectorLayer | MapServiceLayer | OpenStreetMapLayer | TiledImageServiceLayer | TiledMapServiceLayer | VectorTileLayer | WebTileLayer | WMSLayer;
29
30
  /**
30
31
  * Used in legacy "type" attribute. Deprecated.
31
32
  */
32
- export declare type LegacyBaseMapLayerType = "OpenStreetMap" | "BingMapsAerial" | "BingMapsRoad" | "BingMapsHybrid" | "WebTiledLayer";
33
+ export type LegacyBaseMapLayerType = "OpenStreetMap" | "BingMapsAerial" | "BingMapsRoad" | "BingMapsHybrid" | "WebTiledLayer";
@@ -4,6 +4,7 @@ import type { BaseMapLayerBase } from "./BaseMapLayer.js";
4
4
  * associated with Bing Layers: BingMapsAerial, BingMapsRoad, and
5
5
  * BingMapsHybrid.
6
6
  *
7
+ * See
7
8
  * {@link https://developers.arcgis.com/web-map-specification/objects/bingLayer/}.
8
9
  */
9
10
  export interface BingLayer extends BaseMapLayerBase {
@@ -5,6 +5,7 @@ import type { Extent } from "./Extent.js";
5
5
  * extent that allows end users to quickly navigate to a particular area of
6
6
  * interest.
7
7
  *
8
+ * See
8
9
  * {@link https://developers.arcgis.com/web-map-specification/objects/bookmark/}.
9
10
  */
10
11
  export interface Bookmark {
@@ -150,7 +150,7 @@ export interface FilterBlock {
150
150
  * Filter mode represents the way elements draw when participating in a filter
151
151
  * block.
152
152
  */
153
- export declare type FilterMode = FilterModeSolid | FilterModeWireFrame;
153
+ export type FilterMode = FilterModeSolid | FilterModeWireFrame;
154
154
  /**
155
155
  * Draw elements of this filter block in solid mode. This mode does not change
156
156
  * the display of features.
@@ -1 +1 @@
1
- import Portal from"@arcgis/core/portal/Portal";import PortalItem from"@arcgis/core/portal/PortalItem";import{isBuildingSceneLayer}from"../utilities/_layers.js";import{checkArg}from"../utilities/checkArg.js";import{isNumeric}from"../utilities/number.js";import{parallelEach}from"../utilities/promise.js";import{BuildingSceneSublayer}from"./BuildingSceneSublayer.js";import{LayerDefinition}from"./LayerDefinition.js";import{ERR_LAYER_TYPE_MISMATCH,applyLayerBaseToEsriApiLayer,applyOperationalLayerToEsriApiLayer,fromEsriApiLayerToLayerBase,fromEsriApiLayerToOperationalLayer}from"./_layerHelper.js";const deferredSublayerProperties=new WeakMap;export var BuildingSceneLayer;async function applySublayerPropertiesToEsriApiLayer(e,r){e.sublayers&&await parallelEach(e.sublayers,(async e=>{const i=r.allSublayers.find((r=>r.id===e.id));i&&await BuildingSceneSublayer.applyToEsriApiBuildingSublayer(e,i)}))}!function(e){async function r(e,r,i){if(checkArg("layerJson",e).isNotMissing(),checkArg("layerJson.layerType",e.layerType).satisfies((e=>!e||"BuildingSceneLayer"===e),ERR_LAYER_TYPE_MISMATCH),checkArg("layer",r).isNotMissing().satisfies(isBuildingSceneLayer,ERR_LAYER_TYPE_MISMATCH),applyLayerBaseToEsriApiLayer(e,r),applyOperationalLayerToEsriApiLayer(e,r),e.hasOwnProperty("url")&&(r.url=e.url),e.hasOwnProperty("itemId")&&(r.portalItem?r.portalItem.id=e.itemId:r.portalItem=new PortalItem({id:e.itemId,portal:i||Portal.getDefault()})),e.hasOwnProperty("activeFilterId")&&(r.activeFilterId=e.activeFilterId),e.hasOwnProperty("filters")){const i=(await import("@arcgis/core/layers/support/BuildingFilter")).default;r.filters.addMany(e.filters.map((e=>i.fromJSON(e))).filter((e=>!r.filters.find((r=>r.id===e.id)))))}if(e.hasOwnProperty("layerDefinition")&&await LayerDefinition.applyToEsriApiLayer(e.layerDefinition,r),r.loaded)await applySublayerPropertiesToEsriApiLayer(e,r);else if(deferredSublayerProperties.has(r))deferredSublayerProperties.set(r,{...deferredSublayerProperties.get(r),...e});else{deferredSublayerProperties.set(r,e);const i=r.watch("loaded",(async()=>{await applySublayerPropertiesToEsriApiLayer(deferredSublayerProperties.get(r),r),deferredSublayerProperties.delete(r),i.remove()}),!0)}}e.esriBuildingSceneLayerDefaults={elevationInfo:{mode:"absolute-height",offset:0,unit:"meters"},listMode:"show",maxScale:0,minScale:0,opacity:1,visible:!0},e.toEsriApiLayer=async function(e,i){checkArg("layerJson",e).isNotMissing(),checkArg("layerJson.layerType",e.layerType).satisfies((e=>!e||"BuildingSceneLayer"===e),ERR_LAYER_TYPE_MISMATCH);const a=new((await import("@arcgis/core/layers/BuildingSceneLayer")).default);return await r(e,a,i),a},e.applyToEsriApiLayer=r,e.fromEsriApiBuildingSceneLayer=function(r){checkArg("layer",r).isNotMissing();const i={...fromEsriApiLayerToLayerBase(r,e.esriBuildingSceneLayerDefaults),...fromEsriApiLayerToOperationalLayer(r),layerType:"BuildingSceneLayer",url:isNumeric(r.layerId)?`${r.url}/layers/${r.layerId}`:r.url};return r.portalItem&&(i.itemId=r.portalItem.id),i.layerDefinition=LayerDefinition.fromEsriApiLayer(r,e.esriBuildingSceneLayerDefaults),r.activeFilterId&&(i.activeFilterId=r.activeFilterId),r.filters&&(i.filters=r.filters.toArray().map((e=>e.toJSON()))),r.allSublayers&&(i.sublayers=r.allSublayers.toArray().map((e=>BuildingSceneSublayer.fromEsriApiBuildingSublayer(e)))),i}}(BuildingSceneLayer||(BuildingSceneLayer={}));
1
+ import e from"@arcgis/core/portal/Portal";import i from"@arcgis/core/portal/PortalItem";import{isBuildingSceneLayer as r}from"../utilities/_layers.js";import{checkArg as a}from"../utilities/checkArg.js";import{isNumeric as t}from"../utilities/number.js";import{parallelEach as l}from"../utilities/promise.js";import{BuildingSceneSublayer as s}from"./BuildingSceneSublayer.js";import{LayerDefinition as o}from"./LayerDefinition.js";import{ERR_LAYER_TYPE_MISMATCH as n,applyLayerBaseToEsriApiLayer as y,applyOperationalLayerToEsriApiLayer as p,fromEsriApiLayerToLayerBase as u,fromEsriApiLayerToOperationalLayer as c}from"./_layerHelper.js";const d=new WeakMap;export var BuildingSceneLayer;async function f(e,i){e.sublayers&&await l(e.sublayers,(async e=>{const r=i.allSublayers.find((i=>i.id===e.id));r&&await s.applyToEsriApiBuildingSublayer(e,r)}))}!function(l){async function m(t,l,s){if(a("layerJson",t).isNotMissing(),a("layerJson.layerType",t.layerType).satisfies((e=>!e||"BuildingSceneLayer"===e),n),a("layer",l).isNotMissing().satisfies(r,n),y(t,l),p(t,l),t.hasOwnProperty("url")&&(l.url=t.url),t.hasOwnProperty("itemId")&&(l.portalItem?l.portalItem.id=t.itemId:l.portalItem=new i({id:t.itemId,portal:s||e.getDefault()})),t.hasOwnProperty("activeFilterId")&&(l.activeFilterId=t.activeFilterId),t.hasOwnProperty("filters")){const e=(await import("@arcgis/core/layers/support/BuildingFilter")).default;l.filters.addMany(t.filters.map((i=>e.fromJSON(i))).filter((e=>!l.filters.find((i=>i.id===e.id)))))}if(t.hasOwnProperty("layerDefinition")&&await o.applyToEsriApiLayer(t.layerDefinition,l),l.loaded)await f(t,l);else if(d.has(l))d.set(l,{...d.get(l),...t});else{d.set(l,t);const e=l.watch("loaded",(async()=>{await f(d.get(l),l),d.delete(l),e.remove()}),!0)}}l.esriBuildingSceneLayerDefaults={elevationInfo:{mode:"absolute-height",offset:0,unit:"meters"},listMode:"show",maxScale:0,minScale:0,opacity:1,visible:!0},l.toEsriApiLayer=async function(e,i){a("layerJson",e).isNotMissing(),a("layerJson.layerType",e.layerType).satisfies((e=>!e||"BuildingSceneLayer"===e),n);const r=new((await import("@arcgis/core/layers/BuildingSceneLayer")).default);return await m(e,r,i),r},l.applyToEsriApiLayer=m,l.fromEsriApiBuildingSceneLayer=function(e){a("layer",e).isNotMissing();const i={...u(e,l.esriBuildingSceneLayerDefaults),...c(e),layerType:"BuildingSceneLayer",url:t(e.layerId)?`${e.url}/layers/${e.layerId}`:e.url};return e.portalItem&&(i.itemId=e.portalItem.id),i.layerDefinition=o.fromEsriApiLayer(e,l.esriBuildingSceneLayerDefaults),e.activeFilterId&&(i.activeFilterId=e.activeFilterId),e.filters&&(i.filters=e.filters.toArray().map((e=>e.toJSON()))),e.allSublayers&&(i.sublayers=e.allSublayers.toArray().map((e=>s.fromEsriApiBuildingSublayer(e)))),i}}(BuildingSceneLayer||(BuildingSceneLayer={}));
@@ -1 +1 @@
1
- import{isBuildingComponentSublayer}from"../utilities/_layers.js";import{checkArg}from"../utilities/checkArg.js";import{LayerDefinition}from"./LayerDefinition.js";import{PopupInfo}from"./PopupInfo.js";export var BuildingSceneSublayer;!function(i){i.esriBuildingSublayerDefaults={listMode:"show",opacity:1,visible:!0,popupEnabled:!0},i.applyToEsriApiBuildingSublayer=async function(i,e){checkArg("sublayerJson",i).isNotMissing(),checkArg("sublayer",e).isNotMissing(),i.hasOwnProperty("listMode")&&(e.listMode=i.listMode),i.hasOwnProperty("opacity")&&(e.opacity=i.opacity),i.hasOwnProperty("title")&&(e.title=i.title),i.hasOwnProperty("visibility")&&(e.visible=i.visibility),isBuildingComponentSublayer(e)&&(i.hasOwnProperty("disablePopup")&&(e.popupEnabled=!i.disablePopup),i.hasOwnProperty("layerDefinition")&&await LayerDefinition.applyToEsriApiLayer(i.layerDefinition,e),i.hasOwnProperty("popupInfo")&&(e.popupTemplate=PopupInfo.toEsriApiPopupTemplate(i.popupInfo)))},i.fromEsriApiBuildingSublayer=function(i){checkArg("sublayer",i).isNotMissing();const e={};return isBuildingComponentSublayer(i)&&(null!==i.popupEnabled&&void 0!==i.popupEnabled&&(e.disablePopup=!i.popupEnabled),i.popupTemplate&&(e.popupInfo=PopupInfo.fromEsriApiPopupTemplate(i.popupTemplate))),i.hasOwnProperty("id")&&(e.id=i.id),e.layerDefinition=LayerDefinition.fromEsriApiLayer(i),i.hasOwnProperty("listMode")&&(e.listMode=i.listMode),i.hasOwnProperty("opacity")&&(e.opacity=i.opacity),i.hasOwnProperty("title")&&(e.title=i.title),i.hasOwnProperty("visible")&&(e.visibility=i.visible),e}}(BuildingSceneSublayer||(BuildingSceneSublayer={}));
1
+ import{isBuildingComponentSublayer as i}from"../utilities/_layers.js";import{checkArg as p}from"../utilities/checkArg.js";import{LayerDefinition as e}from"./LayerDefinition.js";import{PopupInfo as o}from"./PopupInfo.js";export var BuildingSceneSublayer;!function(t){t.esriBuildingSublayerDefaults={listMode:"show",opacity:1,visible:!0,popupEnabled:!0},t.applyToEsriApiBuildingSublayer=async function(t,r){p("sublayerJson",t).isNotMissing(),p("sublayer",r).isNotMissing(),t.hasOwnProperty("listMode")&&(r.listMode=t.listMode),t.hasOwnProperty("opacity")&&(r.opacity=t.opacity),t.hasOwnProperty("title")&&(r.title=t.title),t.hasOwnProperty("visibility")&&(r.visible=t.visibility),i(r)&&(t.hasOwnProperty("disablePopup")&&(r.popupEnabled=!t.disablePopup),t.hasOwnProperty("layerDefinition")&&await e.applyToEsriApiLayer(t.layerDefinition,r),t.hasOwnProperty("popupInfo")&&(r.popupTemplate=o.toEsriApiPopupTemplate(t.popupInfo)))},t.fromEsriApiBuildingSublayer=function(t){p("sublayer",t).isNotMissing();const r={};return i(t)&&(null!==t.popupEnabled&&void 0!==t.popupEnabled&&(r.disablePopup=!t.popupEnabled),t.popupTemplate&&(r.popupInfo=o.fromEsriApiPopupTemplate(t.popupTemplate))),t.hasOwnProperty("id")&&(r.id=t.id),r.layerDefinition=e.fromEsriApiLayer(t),t.hasOwnProperty("listMode")&&(r.listMode=t.listMode),t.hasOwnProperty("opacity")&&(r.opacity=t.opacity),t.hasOwnProperty("title")&&(r.title=t.title),t.hasOwnProperty("visible")&&(r.visibility=t.visible),r}}(BuildingSceneSublayer||(BuildingSceneSublayer={}));
@@ -4,6 +4,7 @@
4
4
  * details on CIM symbol reference and CIM symbols are available on github:
5
5
  * https://github.com/Esri/cim-spec/blob/master/docs/v2/Overview-Symbols.md.
6
6
  *
7
+ * See
7
8
  * {@link https://developers.arcgis.com/web-scene-specification/objects/polygonSymbol3D/}.
8
9
  */
9
10
  export interface CIMSymbol {
@@ -45,6 +45,7 @@ export declare namespace CSVLayer {
45
45
  * web server. It then dynamically loads into the map at run time. The CSV layer
46
46
  * will maintain a reference to the CSV resource.
47
47
  *
48
+ * See
48
49
  * {@link https://developers.arcgis.com/web-map-specification/objects/csvLayer/}
49
50
  * {@link https://developers.arcgis.com/web-scene-specification/objects/csvLayer/}.
50
51
  */
@@ -1 +1 @@
1
- import{isCSVLayer}from"../utilities/_layers.js";import{checkArg}from"../utilities/checkArg.js";import{LayerDefinition}from"./LayerDefinition.js";import{PopupInfo}from"./PopupInfo.js";import{defaultPointRenderer}from"./Renderer.js";import{ERR_LAYER_TYPE_MISMATCH,applyLayerBaseToEsriApiLayer,applyOperationalLayerToEsriApiLayer,fromEsriApiLayerToLayerBase,fromEsriApiLayerToOperationalLayer}from"./_layerHelper.js";export var CSVLayer;function setDefaultRenderer(e){e.layerDefinition=e.layerDefinition||{},e.layerDefinition.drawingInfo=e.layerDefinition.drawingInfo||{},e.layerDefinition.drawingInfo.renderer=e.layerDefinition.drawingInfo.renderer||defaultPointRenderer}!function(e){async function i(e,i){checkArg("layerJson",e).isNotMissing(),checkArg("layerJson.layerType",e.layerType).satisfies((e=>!e||"CSV"===e),ERR_LAYER_TYPE_MISMATCH),checkArg("layer",i).isNotMissing().satisfies(isCSVLayer,ERR_LAYER_TYPE_MISMATCH),applyLayerBaseToEsriApiLayer(e,i),applyOperationalLayerToEsriApiLayer(e,i),e.hasOwnProperty("columnDelimiter")&&(i.delimiter=e.columnDelimiter),e.hasOwnProperty("locationInfo")&&(e.locationInfo.hasOwnProperty("latitudeFieldName")&&(i.latitudeField=e.locationInfo.latitudeFieldName),e.locationInfo.hasOwnProperty("longitudeFieldName")&&(i.longitudeField=e.locationInfo.longitudeFieldName)),e.hasOwnProperty("popupInfo")&&(i.popupTemplate=PopupInfo.toEsriApiPopupTemplate(e.popupInfo)),e.hasOwnProperty("screenSizePerspective")&&(i.screenSizePerspectiveEnabled=e.screenSizePerspective),e.hasOwnProperty("showLabels")&&(i.labelsVisible=e.showLabels),e.hasOwnProperty("url")&&(i.url=e.url),e.hasOwnProperty("layerDefinition")&&await LayerDefinition.applyToEsriApiLayer(e.layerDefinition,i)}e.esriCSVLayerDefaults={labelsVisible:!0,legendEnabled:!0,popupEnabled:!0,visible:!0,opacity:1,minScale:0,maxScale:0,screenSizePerspective:!0},e.toEsriApiLayer=async function(e){checkArg("layerJson",e).isNotMissing(),checkArg("layerJson.layerType",e.layerType).satisfies((e=>!e||"CSV"===e),ERR_LAYER_TYPE_MISMATCH);const r=new((await import("@arcgis/core/layers/CSVLayer")).default);return setDefaultRenderer(e),await i(e,r),r},e.applyToEsriApiLayer=i,e.fromEsriApiCSVLayer=function(i){checkArg("layer",i).isNotMissing();const r={...fromEsriApiLayerToLayerBase(i,e.esriCSVLayerDefaults),...fromEsriApiLayerToOperationalLayer(i),layerType:"CSV",layerDefinition:LayerDefinition.fromEsriApiLayer(i,e.esriCSVLayerDefaults),url:i.url};return i.popupTemplate&&(r.popupInfo=PopupInfo.fromEsriApiPopupTemplate(i.popupTemplate)),i.screenSizePerspectiveEnabled!==e.esriCSVLayerDefaults.screenSizePerspective&&(r.screenSizePerspective=i.screenSizePerspectiveEnabled),i.labelsVisible!==e.esriCSVLayerDefaults.labelsVisible&&(r.showLabels=i.labelsVisible),r.columnDelimiter=i.delimiter,i.latitudeField&&i.longitudeField&&(r.locationInfo={locationType:"coordinates"},r.locationInfo.latitudeFieldName=i.latitudeField,r.locationInfo.longitudeFieldName=i.longitudeField),r}}(CSVLayer||(CSVLayer={}));
1
+ import{isCSVLayer as e}from"../utilities/_layers.js";import{checkArg as i}from"../utilities/checkArg.js";import{LayerDefinition as r}from"./LayerDefinition.js";import{PopupInfo as a}from"./PopupInfo.js";import{defaultPointRenderer as o}from"./Renderer.js";import{ERR_LAYER_TYPE_MISMATCH as l,applyLayerBaseToEsriApiLayer as n,applyOperationalLayerToEsriApiLayer as t,fromEsriApiLayerToLayerBase as s,fromEsriApiLayerToOperationalLayer as p}from"./_layerHelper.js";export var CSVLayer;!function(y){async function f(o,s){i("layerJson",o).isNotMissing(),i("layerJson.layerType",o.layerType).satisfies((e=>!e||"CSV"===e),l),i("layer",s).isNotMissing().satisfies(e,l),n(o,s),t(o,s),o.hasOwnProperty("columnDelimiter")&&(s.delimiter=o.columnDelimiter),o.hasOwnProperty("locationInfo")&&(o.locationInfo.hasOwnProperty("latitudeFieldName")&&(s.latitudeField=o.locationInfo.latitudeFieldName),o.locationInfo.hasOwnProperty("longitudeFieldName")&&(s.longitudeField=o.locationInfo.longitudeFieldName)),o.hasOwnProperty("popupInfo")&&(s.popupTemplate=a.toEsriApiPopupTemplate(o.popupInfo)),o.hasOwnProperty("screenSizePerspective")&&(s.screenSizePerspectiveEnabled=o.screenSizePerspective),o.hasOwnProperty("showLabels")&&(s.labelsVisible=o.showLabels),o.hasOwnProperty("url")&&(s.url=o.url),o.hasOwnProperty("layerDefinition")&&await r.applyToEsriApiLayer(o.layerDefinition,s)}y.esriCSVLayerDefaults={labelsVisible:!0,legendEnabled:!0,popupEnabled:!0,visible:!0,opacity:1,minScale:0,maxScale:0,screenSizePerspective:!0},y.toEsriApiLayer=async function(e){i("layerJson",e).isNotMissing(),i("layerJson.layerType",e.layerType).satisfies((e=>!e||"CSV"===e),l);const r=new((await import("@arcgis/core/layers/CSVLayer")).default);return function(e){e.layerDefinition=e.layerDefinition||{},e.layerDefinition.drawingInfo=e.layerDefinition.drawingInfo||{},e.layerDefinition.drawingInfo.renderer=e.layerDefinition.drawingInfo.renderer||o}(e),await f(e,r),r},y.applyToEsriApiLayer=f,y.fromEsriApiCSVLayer=function(e){i("layer",e).isNotMissing();const o={...s(e,y.esriCSVLayerDefaults),...p(e),layerType:"CSV",layerDefinition:r.fromEsriApiLayer(e,y.esriCSVLayerDefaults),url:e.url};return e.popupTemplate&&(o.popupInfo=a.fromEsriApiPopupTemplate(e.popupTemplate)),e.screenSizePerspectiveEnabled!==y.esriCSVLayerDefaults.screenSizePerspective&&(o.screenSizePerspective=e.screenSizePerspectiveEnabled),e.labelsVisible!==y.esriCSVLayerDefaults.labelsVisible&&(o.showLabels=e.labelsVisible),o.columnDelimiter=e.delimiter,e.latitudeField&&e.longitudeField&&(o.locationInfo={locationType:"coordinates"},o.locationInfo.latitudeFieldName=e.latitudeField,o.locationInfo.longitudeFieldName=e.longitudeField),o}}(CSVLayer||(CSVLayer={}));
@@ -20,6 +20,7 @@ export declare namespace Camera {
20
20
  * The camera defines the position, tilt, and heading of the point from which
21
21
  * the SceneView's visible extent is observed.
22
22
  *
23
+ * See
23
24
  * {@link https://developers.arcgis.com/web-scene-specification/objects/camera/}.
24
25
  */
25
26
  export interface Camera {
package/portal/Camera.js CHANGED
@@ -1 +1 @@
1
- import EsriCamera from"@arcgis/core/Camera";import{checkArg}from"../utilities/checkArg.js";import{deepClone}from"../utilities/object.js";export var Camera;!function(r){r.toEsriApiCamera=function(r){return checkArg("cameraJson",r).isNotMissing(),EsriCamera.fromJSON(deepClone(r))},r.fromEsriApiCamera=function(r){return checkArg("camera",r).isNotMissing(),r.toJSON()}}(Camera||(Camera={}));
1
+ import r from"@arcgis/core/Camera";import{checkArg as i}from"../utilities/checkArg.js";import{deepClone as o}from"../utilities/object.js";export var Camera;!function(a){a.toEsriApiCamera=function(a){return i("cameraJson",a).isNotMissing(),r.fromJSON(o(a))},a.fromEsriApiCamera=function(r){return i("camera",r).isNotMissing(),r.toJSON()}}(Camera||(Camera={}));
@@ -6,11 +6,11 @@ import type { Symbol3D } from "./Symbol3D.js";
6
6
  /**
7
7
  * The classification method for ClassBreaksRenderer.
8
8
  */
9
- export declare type ClassificationMethod = "esriClassifyNaturalBreaks" | "esriClassifyEqualInterval" | "esriClassifyQuantile" | "esriClassifyStandardDeviation" | "esriClassifyGeometricalInterval" | "esriClassifyManual";
9
+ export type ClassificationMethod = "esriClassifyNaturalBreaks" | "esriClassifyEqualInterval" | "esriClassifyQuantile" | "esriClassifyStandardDeviation" | "esriClassifyGeometricalInterval" | "esriClassifyManual";
10
10
  /**
11
11
  * The normalization type for ClassBreaksRenderer.
12
12
  */
13
- export declare type NormalizationType = "esriNormalizeByField" | "esriNormalizeByLog" | "esriNormalizeByPercentOfTotal";
13
+ export type NormalizationType = "esriNormalizeByField" | "esriNormalizeByLog" | "esriNormalizeByPercentOfTotal";
14
14
  /**
15
15
  * A class breaks renderer symbolizes based on the value of some numeric
16
16
  * attribute. The classBreakInfo define the values at which the symbology
@@ -30,6 +30,7 @@ export declare type NormalizationType = "esriNormalizeByField" | "esriNormalizeB
30
30
  * multiply by 100. Use the normalizationTotal property to determine the
31
31
  * total value.
32
32
  *
33
+ * See
33
34
  * {@link https://developers.arcgis.com/web-map-specification/objects/classBreaks_renderer/}
34
35
  * {@link https://developers.arcgis.com/web-scene-specification/objects/classBreaksRenderer/}.
35
36
  */
@@ -85,6 +86,7 @@ export interface ClassBreaksRenderer extends RendererBase {
85
86
  * The classBreaksInfo object provides information about the class breaks
86
87
  * associated with the renderer.
87
88
  *
89
+ * See
88
90
  * {@link https://developers.arcgis.com/web-map-specification/objects/classBreakInfo/}
89
91
  * {@link https://developers.arcgis.com/web-scene-specification/objects/classBreakInfo/}.
90
92
  */
@@ -26,7 +26,7 @@ export declare namespace CodedValueDomain {
26
26
  }
27
27
  /**
28
28
  * Coded value domain specifies an explicit set of valid values for a field.
29
- * Each valid value is assigned a unique name.
29
+ * Each valid value is assigned a unique name. See
30
30
  * {@link https://developers.arcgis.com/web-map-specification/objects/codedValue_domain/}.
31
31
  */
32
32
  export interface CodedValueDomain extends DomainBase {
@@ -44,7 +44,7 @@ export interface CodedValueDomain extends DomainBase {
44
44
  type: "codedValue";
45
45
  }
46
46
  /**
47
- * A set of valid coded values with unique names.
47
+ * A set of valid coded values with unique names. See
48
48
  * {@link https://developers.arcgis.com/web-map-specification/objects/codedValue/}
49
49
  * {@link https://developers.arcgis.com/web-scene-specification/objects/codedValue_domain/}.
50
50
  */
@@ -1 +1 @@
1
- import EsriCodedValueDomain from"@arcgis/core/layers/support/CodedValueDomain";import{checkArg}from"../utilities/checkArg.js";import{deepClone}from"../utilities/object.js";export var CodedValueDomain;!function(e){function o(e,o){checkArg("codedValueDomainJson",e).isNotMissing(),checkArg("codedValueDomainJson.type",e.type).isNotMissing().satisfies((e=>"codedValue"===e)),checkArg("codedValueDomain",o).isNotMissing(),checkArg("codedValueDomain.type",o.type).isNotMissing().satisfies((e=>"coded-value"===e)),checkArg("codedValueDomainJson.codedValues",e.codedValues).isNotMissing(),"name"in e&&(o.name=e.name),o.codedValues=deepClone(e.codedValues)}e.toEsriApiCodedValueDomain=function(e){checkArg("codedValueDomainJson",e).isNotMissing(),checkArg("codedValueDomainJson.type",e.type).isNotMissing().satisfies((e=>"codedValue"===e)),checkArg("codedValueDomainJson.codedValues",e.codedValues).isNotMissing();const i=new EsriCodedValueDomain;return o(e,i),i},e.applyToEsriApiCodedValueDomain=o,e.fromEsriApiCodedValueDomain=function(e){return checkArg("codedValueDomain",e).isNotMissing(),checkArg("codedValueDomain.type",e.type).isNotMissing().satisfies((e=>"coded-value"===e)),e.toJSON()}}(CodedValueDomain||(CodedValueDomain={}));
1
+ import e from"@arcgis/core/layers/support/CodedValueDomain";import{checkArg as o}from"../utilities/checkArg.js";import{deepClone as i}from"../utilities/object.js";export var CodedValueDomain;!function(s){function a(e,s){o("codedValueDomainJson",e).isNotMissing(),o("codedValueDomainJson.type",e.type).isNotMissing().satisfies((e=>"codedValue"===e)),o("codedValueDomain",s).isNotMissing(),o("codedValueDomain.type",s.type).isNotMissing().satisfies((e=>"coded-value"===e)),o("codedValueDomainJson.codedValues",e.codedValues).isNotMissing(),"name"in e&&(s.name=e.name),s.codedValues=i(e.codedValues)}s.toEsriApiCodedValueDomain=function(i){o("codedValueDomainJson",i).isNotMissing(),o("codedValueDomainJson.type",i.type).isNotMissing().satisfies((e=>"codedValue"===e)),o("codedValueDomainJson.codedValues",i.codedValues).isNotMissing();const s=new e;return a(i,s),s},s.applyToEsriApiCodedValueDomain=a,s.fromEsriApiCodedValueDomain=function(e){return o("codedValueDomain",e).isNotMissing(),o("codedValueDomain.type",e.type).isNotMissing().satisfies((e=>"coded-value"===e)),e.toJSON()}}(CodedValueDomain||(CodedValueDomain={}));
@@ -3,6 +3,7 @@ import type { Color } from "./Symbol.js";
3
3
  * The classBreaksInfo object provides information about the class breaks
4
4
  * associated with the renderer.
5
5
  *
6
+ * See
6
7
  * {@link https://developers.arcgis.com/web-scene-specification/objects/colorClassBreakInfo/}.
7
8
  */
8
9
  export interface ColorClassBreakInfo {
@@ -3,6 +3,7 @@ import type { Color } from "./Symbol.js";
3
3
  * The classBreaksInfo object provides information about the class breaks
4
4
  * associated with the renderer.
5
5
  *
6
+ * See
6
7
  * {@link https://developers.arcgis.com/web-scene-specification/objects/colorUniqueValueInfo/}.
7
8
  */
8
9
  export interface ColorUniqueValueInfos {
@@ -4,18 +4,19 @@ import type { RasterDataSource } from "./RasterDataSource.js";
4
4
  import type { TableDataSource } from "./TableDataSource.js";
5
5
  /**
6
6
  * This object applies if the layerDefinition source is set to DynamicDataLayer.
7
+ * See
7
8
  * {@link https://developers.arcgis.com/web-map-specification/objects/dataSource/}
8
9
  * {@link https://developers.arcgis.com/web-scene-specification/objects/dataSource/}.
9
10
  */
10
- export declare type DataSource = RasterDataSource | JoinTableDataSource | QueryTableDataSource | TableDataSource;
11
+ export type DataSource = RasterDataSource | JoinTableDataSource | QueryTableDataSource | TableDataSource;
11
12
  /**
12
- * Base class for DataSource.
13
+ * Base class for DataSource. See
13
14
  * {@link https://developers.arcgis.com/web-map-specification/objects/dataSource/}
14
15
  * {@link https://developers.arcgis.com/web-scene-specification/objects/dataSource/}.
15
16
  */
16
17
  export interface DataSourceBase {
17
18
  /**
18
- * Type of the DataSource. {@link portal/DataSource!DataSourceType}.
19
+ * Type of the DataSource. See {@link portal/DataSource!DataSourceType}.
19
20
  */
20
21
  type: DataSourceType;
21
22
  /**
@@ -26,4 +27,4 @@ export interface DataSourceBase {
26
27
  /**
27
28
  * The type of the DataSource.
28
29
  */
29
- export declare type DataSourceType = "joinTable" | "queryTable" | "raster" | "table";
30
+ export type DataSourceType = "joinTable" | "queryTable" | "raster" | "table";
@@ -2,6 +2,7 @@
2
2
  * The definitionEditor stores interactive filters at the same level as
3
3
  * layerDefinition.
4
4
  *
5
+ * See
5
6
  * {@link https://developers.arcgis.com/web-map-specification/objects/definitionEditor/}
6
7
  * {@link https://developers.arcgis.com/web-scene-specification/objects/definitionEditor/}.
7
8
  */
@@ -16,7 +17,7 @@ export interface DefinitionEditor {
16
17
  parameterizedExpression?: string;
17
18
  }
18
19
  /**
19
- * The input objects specified by the definitionEditor.
20
+ * The input objects specified by the definitionEditor. See
20
21
  * {@link https://developers.arcgis.com/web-map-specification/objects/input/}
21
22
  * {@link https://developers.arcgis.com/web-scene-specification/objects/input/}.
22
23
  */
@@ -35,7 +36,7 @@ export interface Input {
35
36
  prompt?: string;
36
37
  }
37
38
  /**
38
- * Objects defined by a definitionEditor input.
39
+ * Objects defined by a definitionEditor input. See
39
40
  * {@link https://developers.arcgis.com/web-map-specification/objects/parameter/}
40
41
  * {@link https://developers.arcgis.com/web-scene-specification/objects/parameter/}.
41
42
  */
@@ -6,7 +6,7 @@ import { RangeDomain } from "./RangeDomain.js";
6
6
  /**
7
7
  * The type of the Domain.
8
8
  */
9
- export declare type DomainType = "inherited" | "range" | "codedValue";
9
+ export type DomainType = "inherited" | "range" | "codedValue";
10
10
  export declare namespace DomainType {
11
11
  /**
12
12
  * Converts from domain type constants used in the Esri JavaScript API to
@@ -59,7 +59,8 @@ export interface DomainBase {
59
59
  /**
60
60
  * A domain specifies the set of valid values for a field.
61
61
  *
62
+ * See
62
63
  * {@link https://developers.arcgis.com/web-map-specification/objects/domain/}
63
64
  * {@link https://developers.arcgis.com/web-scene-specification/objects/domain/}.
64
65
  */
65
- export declare type Domain = CodedValueDomain | InheritedDomain | RangeDomain;
66
+ export type Domain = CodedValueDomain | InheritedDomain | RangeDomain;
package/portal/Domain.js CHANGED
@@ -1 +1 @@
1
- import{assertNever,checkArg}from"../utilities/checkArg.js";import{CodedValueDomain}from"./CodedValueDomain.js";import{InheritedDomain}from"./InheritedDomain.js";import{RangeDomain}from"./RangeDomain.js";export var DomainType;function toPortalDomainType(e,n){const i=e;switch(i){case"inherited":return"inherited";case"range":return"range";case"coded-value":return"codedValue";default:return assertNever(i,n)}}function fromPortalDomainType(e,n){const i=e;switch(i){case"inherited":return"inherited";case"range":return"range";case"codedValue":return"coded-value";default:return assertNever(i,n)}}!function(e){e.fromEsriApiDomainType=function(e){if(!e)return;return!!fromPortalDomainType(e)?e:toPortalDomainType(e,new Error("Unrecognized domain type."))},e.toEsriApiDomainType=function(e){if(!e)return;return!!toPortalDomainType(e)?e:fromPortalDomainType(e,new Error("Unrecognized domain type."))}}(DomainType||(DomainType={}));export var Domain;!function(e){e.toEsriApiDomain=function(e){checkArg("domainJson",e).isNotMissing(),checkArg("domainJson.type",e.type).satisfies((e=>!!DomainType.toEsriApiDomainType(e)));const{createFunction:n}=domainClassHandlers.get(e.type);return n(e)},e.applyToEsriApiDomain=function(e,n){checkArg("domainJson",e).isNotMissing(),checkArg("domain",n).isNotMissing(),checkArg("domainJson.type",e.type).satisfies((e=>!!DomainType.toEsriApiDomainType(e))),checkArg("domain.type",n.type).satisfies((n=>e.type===DomainType.fromEsriApiDomainType(n)));const{applyFunction:i}=domainClassHandlers.get(e.type);return i(e,n)},e.fromEsriApiDomain=function(e){return checkArg("domain",e).isNotMissing(),e.toJSON()}}(Domain||(Domain={}));const domainClassHandlers=new Map;function registerDefaultClassHandlers(){domainClassHandlers.clear(),domainClassHandlers.set("inherited",{createFunction:InheritedDomain.toEsriApiInheritedDomain,applyFunction:InheritedDomain.applyToEsriApiInheritedDomain}),domainClassHandlers.set("range",{createFunction:RangeDomain.toEsriApiRangeDomain,applyFunction:RangeDomain.applyToEsriApiRangeDomain}),domainClassHandlers.set("codedValue",{createFunction:CodedValueDomain.toEsriApiCodedValueDomain,applyFunction:CodedValueDomain.applyToEsriApiCodedValueDomain})}registerDefaultClassHandlers();
1
+ import{assertNever as i,checkArg as n}from"../utilities/checkArg.js";import{CodedValueDomain as e}from"./CodedValueDomain.js";import{InheritedDomain as o}from"./InheritedDomain.js";import{RangeDomain as t}from"./RangeDomain.js";export var DomainType;function r(n,e){const o=n;switch(o){case"inherited":return"inherited";case"range":return"range";case"coded-value":return"codedValue";default:return i(o,e)}}function a(n,e){const o=n;switch(o){case"inherited":return"inherited";case"range":return"range";case"codedValue":return"coded-value";default:return i(o,e)}}!function(i){i.fromEsriApiDomainType=function(i){if(!i)return;return!!a(i)?i:r(i,new Error("Unrecognized domain type."))},i.toEsriApiDomainType=function(i){if(!i)return;return!!r(i)?i:a(i,new Error("Unrecognized domain type."))}}(DomainType||(DomainType={}));export var Domain;!function(i){i.toEsriApiDomain=function(i){n("domainJson",i).isNotMissing(),n("domainJson.type",i.type).satisfies((i=>!!DomainType.toEsriApiDomainType(i)));const{createFunction:e}=s.get(i.type);return e(i)},i.applyToEsriApiDomain=function(i,e){n("domainJson",i).isNotMissing(),n("domain",e).isNotMissing(),n("domainJson.type",i.type).satisfies((i=>!!DomainType.toEsriApiDomainType(i))),n("domain.type",e.type).satisfies((n=>i.type===DomainType.fromEsriApiDomainType(n)));const{applyFunction:o}=s.get(i.type);return o(i,e)},i.fromEsriApiDomain=function(i){return n("domain",i).isNotMissing(),i.toJSON()}}(Domain||(Domain={}));const s=new Map;s.clear(),s.set("inherited",{createFunction:o.toEsriApiInheritedDomain,applyFunction:o.applyToEsriApiInheritedDomain}),s.set("range",{createFunction:t.toEsriApiRangeDomain,applyFunction:t.applyToEsriApiRangeDomain}),s.set("codedValue",{createFunction:e.toEsriApiCodedValueDomain,applyFunction:e.applyToEsriApiCodedValueDomain});
@@ -29,6 +29,7 @@ export declare namespace DrawingInfo {
29
29
  * The drawingInfo object contains drawing information for a feature collection
30
30
  * or a single layer in a map service. This object is used in LayerDefinition.
31
31
  *
32
+ * See
32
33
  * {@link https://developers.arcgis.com/web-map-specification/objects/drawingInfo/}
33
34
  * {@link https://developers.arcgis.com/web-scene-specification/objects/drawingInfo/}.
34
35
  */