@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
@@ -1 +1 @@
1
- import{checkArg}from"./checkArg.js";import{parallelEach}from"./promise.js";export function isPlainObject(e){return"object"==typeof e&&!Array.isArray(e)&&e&&Object.getPrototypeOf(e)===Object.prototype}export function map(e,t){checkArg("obj",e).isNotMissing(),checkArg("callback",t).isNotMissing();const r={};for(const n of Object.keys(e))r[n]=t(e[n],n,e);return r}export function filter(e,t){checkArg("obj",e).isNotMissing(),checkArg("callback",t).isNotMissing();const r={},n=Object.keys(e);for(const o of n)t(e[o],o,e)&&(r[o]=e[o]);return r}export function deepAssign(e,...t){return _deepAssign(e,...t)}function _deepAssign(e,...t){if(null==e)throw new TypeError("Cannot convert undefined or null to object.");const r=Object(e);return t.forEach((e=>{if(!e)return;const t=Object(e);if("function"!=typeof r.assignProperties)for(const e of Object.keys(t))r[e]&&"object"==typeof r[e]?deepAssign(r[e],t[e]):isWritableProperty(r,e)&&(r[e]=t[e]);else r.assignProperties(t)})),r}export function isEmpty(e){return!Object.keys(e).length}export function toJSON(e){return JSON.parse(JSON.stringify(e,((e,t)=>t&&"string"==typeof t.declaredClass&&t.declaredClass.includes("Collection")&&"function"==typeof t.toArray?t.toArray():void 0===t?null:t)))}export function deepClone(e){return JSON.parse(JSON.stringify(e))}export function getPropertyDescriptor(e,t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");let r=e;for(;r;){const e=Object.getOwnPropertyDescriptor(r,t);if(e)return e;r=Object.getPrototypeOf(r)}}export function deepSearchAndTransform(e,t,r,n=!0){return _deepSearchAndTransform(e,t,r,n)}export async function deepSearchAndTransformAsync(e,t,r,n=!0){return _deepSearchAndTransformAsync(e,t,r,n)}function _deepSearchAndTransform(e,t,r,n=!0,o=new Set){let c=!1;if(o.has(t))return c;o.add(t);const s=Object.keys(t);for(const i of s){("string"==typeof e?i===e:e.test(i))&&(t[i]=r(t[i]),c=!0,n)||t[i]&&"object"==typeof t[i]&&(c=_deepSearchAndTransform(e,t[i],r,n,o)||c)}return c}async function _deepSearchAndTransformAsync(e,t,r,n=!0,o=new Set){let c=!1;if(o.has(t))return c;o.add(t);const s=Object.keys(t);return await parallelEach(s,(async s=>{("string"==typeof e?s===e:e.test(s))&&(t[s]=await r(t[s]),c=!0,n)||t[s]&&"object"==typeof t[s]&&(c=await _deepSearchAndTransformAsync(e,t[s],r,n,o)||c)})),c}function isWritableProperty(e,t){const r=getPropertyDescriptor(e,t);return!r||r.writable&&!(r.get&&!r.set)}
1
+ import{checkArg as t}from"./checkArg.js";import{parallelEach as e}from"./promise.js";export function isPlainObject(t){return"object"==typeof t&&!Array.isArray(t)&&t&&Object.getPrototypeOf(t)===Object.prototype}export function map(e,r){t("obj",e).isNotMissing(),t("callback",r).isNotMissing();const o={};for(const t of Object.keys(e))o[t]=r(e[t],t,e);return o}export function filter(e,r){t("obj",e).isNotMissing(),t("callback",r).isNotMissing();const o={},n=Object.keys(e);for(const t of n)r(e[t],t,e)&&(o[t]=e[t]);return o}export function deepAssign(t,...e){return function(t,...e){if(null==t)throw new TypeError("Cannot convert undefined or null to object.");const r=Object(t);return e.forEach((t=>{if(!t)return;const e=Object(t);if("function"!=typeof r.assignProperties)for(const t of Object.keys(e))r[t]&&"object"==typeof r[t]?deepAssign(r[t],e[t]):n(r,t)&&(r[t]=e[t]);else r.assignProperties(e)})),r}(t,...e)}export function isEmpty(t){return!Object.keys(t).length}export function toJSON(t){return JSON.parse(JSON.stringify(t,((t,e)=>e&&"string"==typeof e.declaredClass&&e.declaredClass.includes("Collection")&&"function"==typeof e.toArray?e.toArray():void 0===e?null:e)))}export function deepClone(t){return JSON.parse(JSON.stringify(t))}export function getPropertyDescriptor(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");let r=t;for(;r;){const t=Object.getOwnPropertyDescriptor(r,e);if(t)return t;r=Object.getPrototypeOf(r)}}export function deepSearchAndTransform(t,e,o,n=!0){return r(t,e,o,n)}export async function deepSearchAndTransformAsync(t,e,r,n=!0){return o(t,e,r,n)}function r(t,e,o,n=!0,s=new Set){let c=!1;if(s.has(e))return c;s.add(e);const i=Object.keys(e);for(const f of i){("string"==typeof t?f===t:t.test(f))&&(e[f]=o(e[f]),c=!0,n)||e[f]&&"object"==typeof e[f]&&(c=r(t,e[f],o,n,s)||c)}return c}async function o(t,r,n,s=!0,c=new Set){let i=!1;if(c.has(r))return i;c.add(r);const f=Object.keys(r);return await e(f,(async e=>{("string"==typeof t?e===t:t.test(e))&&(r[e]=await n(r[e]),i=!0,s)||r[e]&&"object"==typeof r[e]&&(i=await o(t,r[e],n,s,c)||i)})),i}function n(t,e){const r=getPropertyDescriptor(t,e);return!r||r.writable&&!(r.get&&!r.set)}
@@ -5,15 +5,15 @@ import { Uri } from "./uri.js";
5
5
  /**
6
6
  * An ID that uniquely identifies an item in Portal/AGOL.
7
7
  */
8
- export declare type PortalItemId = string;
8
+ export type PortalItemId = string;
9
9
  /**
10
10
  * A URL pointing to an item in Portal.
11
11
  */
12
- export declare type PortalItemUrl = string;
12
+ export type PortalItemUrl = string;
13
13
  /**
14
14
  * A reference to a portal item.
15
15
  */
16
- export declare type PortalItemLike = PortalItem | PortalItemJson | PortalItemId | PortalItemUrl | PortalUri | Uri;
16
+ export type PortalItemLike = PortalItem | PortalItemJson | PortalItemId | PortalItemUrl | PortalUri | Uri;
17
17
  /**
18
18
  * Determines whether the input is a valid Portal item ID.
19
19
  *
@@ -1 +1 @@
1
- import Portal from"@arcgis/core/portal/Portal";import PortalItem from"@arcgis/core/portal/PortalItem";import{ArgumentError}from"../ArgumentError.js";import{isPortalUri,PortalUri}from"../PortalUri.js";import{config}from"../config.js";import{Item as PortalItemJson}from"../portal/Item.js";import{isPortalItem}from"./esri.js";import{Uri}from"./uri.js";import{generateUuid}from"./uuid.js";export function isPortalItemId(t){return/^[a-fA-F0-9]{32}$/.test(t)}export function getPortalItemHtmlUrl(t){const r=toPortalItem(t);if(r.portal&&r.portal.url&&r.id){const t=new Uri("home/item.html");return t.queryValues.set("id",r.id),t.toAbsoluteUri(`${r.portal.url}/`).toString()}}export function isPortalItemUrl(t){return"string"==typeof t?isPortalUri(t)||isPortalItemUrl(new Uri(t)):!!t&&(ITEM_REST_ENDPOINT_PATTERN.test(t.path)||!!t.path?.endsWith("/home/item.html")&&isPortalItemId(t.queryValues.get("id")))}export function isPortalItemLike(t){if(isPortalItem(t)||t instanceof PortalUri)return!0;if(t instanceof Uri){const r=t.toString();return isPortalItemUrl(r)||isPortalUri(r)}return"string"==typeof t?isPortalItemId(t)||isPortalUri(t)||isPortalItemUrl(t):t&&isPortalItemId(t.id)}export function toPortalItem(t){if(t){if(t instanceof PortalItem)return t;if(t instanceof PortalUri)return t.toPortalItem();if(t instanceof Uri)return portalItemUrlToPortalItem(t);if("string"==typeof t){if(isPortalItemId(t))return new PortalItem({id:t});if(isPortalUri(t))return new PortalUri(t).toPortalItem();if(isPortalItemUrl(t))return portalItemUrlToPortalItem(new Uri(t));throw new ArgumentError("input",`Unable to convert "${t}" to a Portal item. Make sure it is a valid Portal item ID or URL.`)}if("object"==typeof t)return PortalItemJson.toEsriApiPortalItem(t);throw new ArgumentError("toPortalItem(): invalid input type.")}}export function serializePortalItem(t){if(isPortalItem(t)){if(t.itemUrl)return convertOrgUrl(t.itemUrl);if(t.portal){const r=new Uri("/sharing/rest/content/items/");return r.queryValues.set("id",t.id),convertOrgUrl(r.toAbsoluteUri(t.portal.url))}return t.id}return t instanceof PortalUri?t.toString():t instanceof Uri||"string"==typeof t?convertOrgUrl(t):t}function convertOrgUrl(t){const r="string"==typeof t?new Uri(t):t;return r.host.toLowerCase().endsWith(".maps.arcgis.com")&&(r.host="www.arcgis.com"),r.toString()}const ITEM_REST_ENDPOINT_PATTERN=/\/sharing\/rest\/content\/items\/([a-fA-F0-9]{32}).*/,ITEM_HTML_ENDPOINT_PATTERN=/\/home\/item\.html$/;function portalItemUrlToPortalItem(t){const r=new Uri;let e;const o=t.path.match(ITEM_REST_ENDPOINT_PATTERN);if(o)r.path=t.path.replace(ITEM_REST_ENDPOINT_PATTERN,""),e=o[1];else{if(!t.path?.endsWith("/home/item.html")||!isPortalItemId(t.queryValues.get("id")))throw new ArgumentError("itemUrl",`Invalid Portal item URL "${t.toString()}".`);r.path=t.path.replace(ITEM_HTML_ENDPOINT_PATTERN,""),e=t.queryValues.get("id")}r.scheme=t.scheme,r.host=t.host,r.port=t.port;const i=r.toString(),l=new PortalItem({id:e});if(i===Portal.getDefault().url)l.portal=Portal.getDefault();else{let t=[...config.portals.values()].find((t=>t.url===i));t||(t=new Portal({id:generateUuid(),url:i}),config.portals.set(t.id,t)),l.portal=t}return l}
1
+ import t from"@arcgis/core/portal/Portal";import r from"@arcgis/core/portal/PortalItem";import{ArgumentError as e}from"../ArgumentError.js";import{isPortalUri as o,PortalUri as i}from"../PortalUri.js";import{config as n}from"../config.js";import{Item as s}from"../portal/Item.js";import{isPortalItem as a}from"./esri.js";import{Uri as l}from"./uri.js";import{generateUuid as m}from"./uuid.js";export function isPortalItemId(t){return/^[a-fA-F0-9]{32}$/.test(t)}export function getPortalItemHtmlUrl(t){const r=toPortalItem(t);if(r.portal?.url&&r.id){const t=new l("home/item.html");return t.queryValues.set("id",r.id),t.toAbsoluteUri(`${r.portal.url}/`).toString()}}export function isPortalItemUrl(t){return"string"==typeof t?o(t)||isPortalItemUrl(new l(t)):!!t&&(f.test(t.path)||!!t.path?.endsWith("/home/item.html")&&isPortalItemId(t.queryValues.get("id")))}export function isPortalItemLike(t){if(a(t)||t instanceof i)return!0;if(t instanceof l){const r=t.toString();return isPortalItemUrl(r)||o(r)}return"string"==typeof t?isPortalItemId(t)||o(t)||isPortalItemUrl(t):t&&isPortalItemId(t.id)}export function toPortalItem(t){if(t){if(t instanceof r)return t;if(t instanceof i)return t.toPortalItem();if(t instanceof l)return c(t);if("string"==typeof t){if(isPortalItemId(t))return new r({id:t});if(o(t))return new i(t).toPortalItem();if(isPortalItemUrl(t))return c(new l(t));throw new e("input",`Unable to convert "${t}" to a Portal item. Make sure it is a valid Portal item ID or URL.`)}if("object"==typeof t)return s.toEsriApiPortalItem(t);throw new e("toPortalItem(): invalid input type.")}}export function serializePortalItem(t){if(a(t)){if(t.itemUrl)return u(t.itemUrl);if(t.portal){const r=new l("/sharing/rest/content/items/");return r.queryValues.set("id",t.id),u(r.toAbsoluteUri(t.portal.url))}return t.id}return t instanceof i?t.toString():t instanceof l||"string"==typeof t?u(t):t}function u(t){const r="string"==typeof t?new l(t):t;return r.host.toLowerCase().endsWith(".maps.arcgis.com")&&(r.host="www.arcgis.com"),r.toString()}const f=/\/sharing\/rest\/content\/items\/([a-fA-F0-9]{32}).*/,p=/\/home\/item\.html$/;function c(o){const i=new l;let s;const a=o.path.match(f);if(a)i.path=o.path.replace(f,""),s=a[1];else{if(!o.path?.endsWith("/home/item.html")||!isPortalItemId(o.queryValues.get("id")))throw new e("itemUrl",`Invalid Portal item URL "${o.toString()}".`);i.path=o.path.replace(p,""),s=o.queryValues.get("id")}i.scheme=o.scheme,i.host=o.host,i.port=o.port;const u=i.toString(),c=new r({id:s});if(u===t.getDefault().url)c.portal=t.getDefault();else{let r=[...n.portals.values()].find((t=>t.url===u));r||(r=new t({id:m(),url:u}),n.portals.set(r.id,r)),c.portal=r}return c}
@@ -271,7 +271,7 @@ export declare function reduce<T, U>(values: Iterable<PromiseLike<T>>, reducer:
271
271
  * function.
272
272
  */
273
273
  export declare function reduce<T, U>(values: Iterable<T>, reducer: (total: U, current: T, index: number) => U | PromiseLike<U>, initialValue?: U): Promise<U>;
274
- declare type Awaited<T> = T extends PromiseLike<infer PT> ? PT : T;
274
+ type Awaited<T> = T extends PromiseLike<infer PT> ? PT : T;
275
275
  /**
276
276
  * Like `Promise.all` but for object properties instead of array items. Returns
277
277
  * a promise that is fulfilled when all the properties of the object are
@@ -1 +1 @@
1
- import{checkArg}from"./checkArg.js";import{map as iterableMap}from"./iterable.js";export function delay(t=0){return new Promise((e=>{setTimeout(e,t)}))}export async function timeout(t,e,a){let r=!1;return new Promise((async(i,s)=>{setTimeout((()=>{r||s("string"==typeof a?new Error(a):a||new Error("Timed out while waiting for promise to resolve."))}),t);try{i(await e)}catch(t){s(t)}finally{r=!0}}))}export async function map(t,e){checkArg("values",t).isNotMissing(),checkArg("mapper",e).isNotMissing();const a=Array.from(iterableMap(await t,(async(t,a)=>e(await t,a))));return Promise.all(a)}export async function each(t,e){checkArg("values",t).isNotMissing(),checkArg("iterator",e).isNotMissing();const a=await t;let r=0;for(const t of a)await e(await t,r++)}export async function parallelEach(t,e){await map(t,e)}export function reduce(t,e,a){const r=arguments.length;return(async()=>{checkArg("values",t).isNotMissing(),checkArg("reducer",e).isNotMissing();let i=[...await t],s=a;if(r<3){if(i.length<2)return;s=await i[0],i=i.slice(1)}for(let t=0;t<i.length;t++)s=await e(s,await i[t],t);return s})()}export async function props(t){checkArg("object",t).isNotMissing().satisfies((t=>"object"==typeof t));const e={},a=await t;return await parallelEach(Object.keys(a),(async t=>{const r=await a[t];a.hasOwnProperty(t)&&(e[t]=r)})),e}export async function asyncFlatMap(t,e){return(await Promise.all(t.map(e))).flat()}
1
+ import{checkArg as t}from"./checkArg.js";import{map as a}from"./iterable.js";export function delay(t=0){return new Promise((a=>{setTimeout(a,t)}))}export async function timeout(t,a,i){let e=!1;return new Promise((async(r,s)=>{setTimeout((()=>{e||s("string"==typeof i?new Error(i):i||new Error("Timed out while waiting for promise to resolve."))}),t);try{r(await a)}catch(t){s(t)}finally{e=!0}}))}export async function map(i,e){t("values",i).isNotMissing(),t("mapper",e).isNotMissing();const r=Array.from(a(await i,(async(t,a)=>e(await t,a))));return Promise.all(r)}export async function each(a,i){t("values",a).isNotMissing(),t("iterator",i).isNotMissing();const e=await a;let r=0;for(const t of e)await i(await t,r++)}export async function parallelEach(t,a){await map(t,a)}export function reduce(a,i,e){const r=arguments.length;return(async()=>{t("values",a).isNotMissing(),t("reducer",i).isNotMissing();let s=[...await a],n=e;if(r<3){if(s.length<2)return;n=await s[0],s=s.slice(1)}for(let t=0;t<s.length;t++)n=await i(n,await s[t],t);return n})()}export async function props(a){t("object",a).isNotMissing().satisfies((t=>"object"==typeof t));const i={},e=await a;return await parallelEach(Object.keys(e),(async t=>{const a=await e[t];e.hasOwnProperty(t)&&(i[t]=a)})),i}export async function asyncFlatMap(t,a){return(await Promise.all(t.map(a))).flat()}
@@ -1 +1 @@
1
- import{intersects}from"@arcgis/core/geometry/geometryEngine";import{Feature}from"../data/Feature.js";import{project}from"../utilities/geometry.js";import{isGraphic}from"./esri.js";const ALASQL_ID="alasql-id",DEFAULT_OPTIONS={outFields:["*"],returnGeometry:!0};export async function query(t,e,r,a){if(!r?.length)return[];const{spatialFilter:i,returnGeometry:o,outFields:s}={...DEFAULT_OPTIONS,...a},n=i?await spatialFilter(r,i):r,u=!isGraphic(n[0]);if(t){const r=new Map,a=n.map(((t,e)=>{r.set(e,t);let a={};return u?Array.from(t.attributes.entries()).forEach((([t,e])=>{a[t]=e})):a={...t.attributes},a[ALASQL_ID]=e,a}));return(0,(await import("alasql")).default)(`SELECT * FROM ? WHERE ${t}`,[a]).map((t=>u?r.get(t[ALASQL_ID]):toFeature(t,r.get(t[ALASQL_ID]),e,o,s)))}return u?n:n.map((t=>toFeature(t.attributes,t,e,a.returnGeometry,a.outFields)))}export async function count(t,e,r){if(!e?.length)return 0;const{spatialFilter:a}=r??{},i=a?await spatialFilter(e,a):e,o=!isGraphic(i[0]);if(t){const e=i.map(((t,e)=>{let r={};return o?Array.from(t.attributes.entries()).forEach((([t,e])=>r[t]=e)):r={...t.attributes},r[ALASQL_ID]=e,r}));return(0,(await import("alasql")).default)(`SELECT * FROM ? WHERE ${t}`,[e]).length}return i.length}export async function spatialFilter(t,e){if(!t?.length)return[];const r=t[0].geometry.spatialReference;let a=e.clone();return r&&!r.equals(a.spatialReference)&&(a=(await project([a],r))[0]),t.filter((t=>!!t.geometry&&intersects(a,t.geometry)))}function toFeature(t,e,r,a,i){const o=new Feature({source:r});for(const e of Object.keys(t))e!==ALASQL_ID&&(i.includes("*")||i.includes(e))&&o.attributes.set(e,t[e]);return a&&(o.geometry=e.geometry),e.popupTemplate&&(o.settings.popupTemplate=e.popupTemplate),o}
1
+ import{intersects as t}from"@arcgis/core/geometry/geometryEngine";import{Feature as e}from"../data/Feature.js";import{project as r}from"../utilities/geometry.js";import{isGraphic as a}from"./esri.js";const i="alasql-id",o={outFields:["*"],returnGeometry:!0};export async function query(t,e,r,s){if(!r?.length)return[];const{spatialFilter:l,returnGeometry:u,outFields:p}={...o,...s},m=l?await spatialFilter(r,l):r,c=!a(m[0]);if(t){const r=new Map,a=m.map(((t,e)=>{r.set(e,t);let a={};return c?Array.from(t.attributes.entries()).forEach((([t,e])=>{a[t]=e})):a={...t.attributes},a[i]=e,a}));return(0,(await import("alasql")).default)(`SELECT * FROM ? WHERE ${t}`,[a]).map((t=>c?r.get(t[i]):n(t,r.get(t[i]),e,u,p)))}return c?m:m.map((t=>n(t.attributes,t,e,s.returnGeometry,s.outFields)))}export async function count(t,e,r){if(!e?.length)return 0;const{spatialFilter:o}=r??{},n=o?await spatialFilter(e,o):e,s=!a(n[0]);if(t){const e=n.map(((t,e)=>{let r={};return s?Array.from(t.attributes.entries()).forEach((([t,e])=>r[t]=e)):r={...t.attributes},r[i]=e,r}));return(0,(await import("alasql")).default)(`SELECT * FROM ? WHERE ${t}`,[e]).length}return n.length}export async function spatialFilter(e,a){if(!e?.length)return[];const i=e[0].geometry.spatialReference;let o=a.clone();return i&&!i.equals(o.spatialReference)&&(o=(await r([o],i))[0]),e.filter((e=>!!e.geometry&&t(o,e.geometry)))}function n(t,r,a,o,n){const s=new e({source:a});for(const e of Object.keys(t))e!==i&&(n.includes("*")||n.includes(e))&&s.attributes.set(e,t[e]);return o&&(s.geometry=r.geometry),r.popupTemplate&&(s.settings.popupTemplate=r.popupTemplate),s}
@@ -1 +1 @@
1
- import{isRelationship}from"../ItemType.js";export function isQueryBasedRelationship(i){return isRelationship(i)&&"QueryBasedRelationship"===i.relationshipType}
1
+ import{isRelationship as e}from"../ItemType.js";export function isQueryBasedRelationship(i){return e(i)&&"QueryBasedRelationship"===i.relationshipType}
@@ -2,7 +2,7 @@ import type { Extent } from "@arcgis/core/geometry";
2
2
  /**
3
3
  * A list of well known scale IDs.
4
4
  */
5
- export declare type ScaleId = "room" | "rooms" | "smallBuilding" | "building" | "buildings" | "street" | "streets" | "neighborhood" | "town" | "city" | "cities" | "metropolitanArea" | "county" | "counties" | "stateProvince" | "statesProvinces" | "countriesSmall" | "countriesBig" | "continent" | "world";
5
+ export type ScaleId = "room" | "rooms" | "smallBuilding" | "building" | "buildings" | "street" | "streets" | "neighborhood" | "town" | "city" | "cities" | "metropolitanArea" | "county" | "counties" | "stateProvince" | "statesProvinces" | "countriesSmall" | "countriesBig" | "continent" | "world";
6
6
  /**
7
7
  * Represents a known scale.
8
8
  */
package/utilities/set.js CHANGED
@@ -1 +1 @@
1
- import{filter as iteratorUtils_filter,find as iteratorUtils_find}from"./iterable.js";export function union(...e){return new Set(e.flatMap((e=>[...e])))}export function intersection(...e){return 0===e.length?new Set:1===e.length?new Set(e[0]):new Set(e.reduce(((e,t)=>filter(e,(e=>t.has(e))))))}export function difference(...e){return 0===e.length?new Set:1===e.length?new Set(e[0]):new Set(e.reduce(((e,t)=>filter(e,(e=>!t.has(e))))))}export function filter(e,t){return new Set(iteratorUtils_filter(e,(n=>t(n,e))))}export function find(e,t){return iteratorUtils_find(e,(n=>t(n,e)))}
1
+ import{filter as e,find as t}from"./iterable.js";export function union(...e){return new Set(e.flatMap((e=>[...e])))}export function intersection(...e){return 0===e.length?new Set:1===e.length?new Set(e[0]):new Set(e.reduce(((e,t)=>filter(e,(e=>t.has(e))))))}export function difference(...e){return 0===e.length?new Set:1===e.length?new Set(e[0]):new Set(e.reduce(((e,t)=>filter(e,(e=>!t.has(e))))))}export function filter(t,n){return new Set(e(t,(e=>n(e,t))))}export function find(e,n){return t(e,(t=>n(t,e)))}
@@ -43,14 +43,7 @@ export declare function kebabToCamelCase(input: string): string;
43
43
  * @param format See {@link utilities/string!StringFormatter.format}.
44
44
  * @param args See {@link utilities/string!StringFormatter.format}.
45
45
  */
46
- export declare function format(format: string, ...args: unknown[]): string;
47
- /**
48
- * See {@link utilities/string!StringFormatter.format}.
49
- *
50
- * @param options See {@link utilities/string!StringFormatter.format}.
51
- * @param args See {@link utilities/string!StringFormatter.format}.
52
- */
53
- export declare function format(options: FormatOptions, ...args: unknown[]): string;
46
+ export declare function format(format: string | FormatOptions, ...args: unknown[]): string;
54
47
  /**
55
48
  * A helper class for formatting strings.
56
49
  */
@@ -94,9 +87,9 @@ export declare class StringFormatter implements FormatSettings {
94
87
  * Converts the value of objects to strings based on the formats specified
95
88
  * and inserts them into another string.
96
89
  *
97
- * @param format The format string that acts as a template. The format
98
- * string can contain one or more format items, which have this syntax:
99
- * `{index[:format]}`.
90
+ * @param formatOrOptions The format string that acts as a template. The
91
+ * format string can contain one or more format items, which have this
92
+ * syntax: `{index[:format]}`.
100
93
  *
101
94
  * The index is the zero-based index of the argument whose string
102
95
  * representation is to be included at this position in the string. The
@@ -104,18 +97,10 @@ export declare class StringFormatter implements FormatSettings {
104
97
  * converted into a string, if the argument is a Date object or number. To
105
98
  * include a literal `{` or `}` character in the output, escape the
106
99
  * character by repeating it twice in the format string.
107
- * @param args The values to substitute into the format string. Null and
108
- * undefined values will be converted into empty strings.
109
- */
110
- format(format: string, ...args: unknown[]): string;
111
- /**
112
- * Converts the value of objects to strings based on the formats specified
113
- * and inserts them into another string.
114
100
  *
115
- * @param options The {@link FormatOptions} containing a format string and
116
- * other options that control how the string is formatted.
101
+ * This argument can also be a format options object instead.
117
102
  * @param args The values to substitute into the format string. Null and
118
103
  * undefined values will be converted into empty strings.
119
104
  */
120
- format(options: FormatOptions, ...args: unknown[]): string;
105
+ format(formatOrOptions: string | FormatOptions, ...args: unknown[]): string;
121
106
  }
@@ -1 +1 @@
1
- import{settings as formatSettings}from"./FormatSettings.js";import{checkArg}from"./checkArg.js";import{DateFormatter,isValidTimeZone,ERR_TIME_ZONE_INVALID}from"./date.js";import{getLogger}from"./log.js";import{NumberFormatter}from"./number.js";export{settings}from"./FormatSettings.js";export function escapeRegExp(t){return t?t.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&"):t}export function camelToKebabCase(t){return t.replace(/([A-Z])/g,(t=>`-${t.toLowerCase()}`))}export function kebabToCamelCase(t){return t.replace(/-[a-z]/g,(t=>t[1].toUpperCase()))}export function format(...t){return globalFormatter.format(...t)}export class StringFormatter{constructor(){this._numberFormatter=new NumberFormatter,this._dateFormatter=new DateFormatter}get numberFormat(){return this._numberFormat}set numberFormat(t){this._numberFormat=t}get dateFormat(){return this._dateFormat}set dateFormat(t){this._dateFormat=t}get currency(){return this._currency}set currency(t){this._currency=t}get fractionalDigits(){return this._fractionalDigits}set fractionalDigits(t){this._fractionalDigits=t}get timeZone(){return this._timeZone}set timeZone(t){checkArg("timezone",t).satisfies((t=>isValidTimeZone(t)),ERR_TIME_ZONE_INVALID(t)),this._timeZone=t}format(t,...e){const r="string"==typeof t?{format:t}:t;checkArg("options",r).isNotMissing();let{format:a}=r;checkArg("format",a).isNotMissing(),a=a.replace(escapedBraceRegex,escapedBracePlaceholder);return a.replace(formatItemRegex,((t,a,o)=>{const n=parseInt(a);let i,s;try{checkArg(`token ${a}`,a).isInRange(0,e.length-1),i=e[n]}catch(t){const e=parseInt(a,10);if(isNaN(e)||e<0)throw t;getLogger("geocortex.api.utilities.string").warn(`Error encountered while formatting string: ${t.toString()}`)}if("number"==typeof i){const t={locale:r.locale,format:o||r.numberFormat||this.numberFormat,currency:r.currency||this.currency,fractionalDigits:r.fractionalDigits??this.fractionalDigits};s=this._numberFormatter.format(t,i)}else if(i instanceof Date){const t={locale:r.locale,format:o||r.dateFormat||this.dateFormat,timeZone:r.timeZone||this.timeZone};s=this._dateFormatter.format(t,i)}else s=null==i?"":String(i);return s})).replace(escapedBracePlaceholderRegex,"{").replace("}}","}")}}class GlobalFormatter extends StringFormatter{get numberFormat(){return formatSettings.numberFormat}set numberFormat(t){formatSettings.numberFormat=t}get dateFormat(){return formatSettings.dateFormat}set dateFormat(t){formatSettings.dateFormat=t}get timeZone(){return formatSettings.timeZone}set timeZone(t){formatSettings.timeZone=t}get currency(){return formatSettings.currency}set currency(t){formatSettings.currency=t}get fractionalDigits(){return formatSettings.fractionalDigits}set fractionalDigits(t){formatSettings.fractionalDigits=t}}const globalFormatter=new GlobalFormatter,formatItemRegex=/\{([-\d]+)(?::([^}]*))?\}/g,escapedBraceRegex=/{{/g,escapedBracePlaceholder="\0MAGIC\0",escapedBracePlaceholderRegex=new RegExp(escapedBracePlaceholder,"g");
1
+ import{settings as t}from"./FormatSettings.js";import{checkArg as e}from"./checkArg.js";import{DateFormatter as r,isValidTimeZone as o,ERR_TIME_ZONE_INVALID as n}from"./date.js";import{getLogger as a}from"./log.js";import{NumberFormatter as i}from"./number.js";export{settings}from"./FormatSettings.js";export function escapeRegExp(t){return t?t.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&"):t}export function camelToKebabCase(t){return t.replace(/([A-Z])/g,(t=>`-${t.toLowerCase()}`))}export function kebabToCamelCase(t){return t.replace(/-[a-z]/g,(t=>t[1].toUpperCase()))}export function format(t,...e){return s.format(t,...e)}export class StringFormatter{constructor(){this._numberFormatter=new i,this._dateFormatter=new r}get numberFormat(){return this._numberFormat}set numberFormat(t){this._numberFormat=t}get dateFormat(){return this._dateFormat}set dateFormat(t){this._dateFormat=t}get currency(){return this._currency}set currency(t){this._currency=t}get fractionalDigits(){return this._fractionalDigits}set fractionalDigits(t){this._fractionalDigits=t}get timeZone(){return this._timeZone}set timeZone(t){e("timezone",t).satisfies((t=>o(t)),n(t)),this._timeZone=t}format(t,...r){const o="string"==typeof t?{format:t}:t;e("options",o).isNotMissing();let{format:n}=o;e("format",n).isNotMissing(),n=n.replace(c,u);return n.replace(m,((t,n,i)=>{const s=parseInt(n);let m,c;try{e(`token ${n}`,n).isInRange(0,r.length-1),m=r[s]}catch(t){const e=parseInt(n,10);if(isNaN(e)||e<0)throw t;a("geocortex.api.utilities.string").warn(`Error encountered while formatting string: ${t.toString()}`)}if("number"==typeof m){const t={locale:o.locale,format:i||o.numberFormat||this.numberFormat,currency:o.currency||this.currency,fractionalDigits:o.fractionalDigits??this.fractionalDigits};c=this._numberFormatter.format(t,m)}else if(m instanceof Date){const t={locale:o.locale,format:i||o.dateFormat||this.dateFormat,timeZone:o.timeZone||this.timeZone};c=this._dateFormatter.format(t,m)}else c=null==m?"":String(m);return c})).replace(g,"{").replace("}}","}")}}const s=new class extends StringFormatter{get numberFormat(){return t.numberFormat}set numberFormat(e){t.numberFormat=e}get dateFormat(){return t.dateFormat}set dateFormat(e){t.dateFormat=e}get timeZone(){return t.timeZone}set timeZone(e){t.timeZone=e}get currency(){return t.currency}set currency(e){t.currency=e}get fractionalDigits(){return t.fractionalDigits}set fractionalDigits(e){t.fractionalDigits=e}},m=/\{([-\d]+)(?::([^}]*))?\}/g,c=/{{/g,u="\0MAGIC\0",g=new RegExp(u,"g");
@@ -1 +1 @@
1
- export function isVolumetric(e){return isSymbol3D(e)&&e.symbolLayers.some((e=>"object"===e.type||"path"===e.type||"extrude"===e.type))}const SYMBOL_CLASS_REGEX=/^esri\.symbols\.\w+Symbol(3D)?$/;export function isSymbol(e){return SYMBOL_CLASS_REGEX.test(e?.declaredClass)}export function isCimSymbol(e){return"esri.symbols.CimSymbol"===e?.declaredClass}export function isLabelSymbol3D(e){return"esri.symbols.LabelSymbol3D"===e?.declaredClass}export function isLineSymbol3D(e){return"esri.symbols.LineSymbol3D"===e?.declaredClass}export function isMeshSymbol3D(e){return"esri.symbols.MeshSymbol3D"===e?.declaredClass}export function isPictureFillSymbol(e){return"esri.symbols.PictureFillSymbol"===e?.declaredClass}export function isPictureMarkerSymbol(e){return"esri.symbols.PictureMarkerSymbol"===e?.declaredClass}export function isPointSymbol3D(e){return"esri.symbols.PointSymbol3D"===e?.declaredClass}export function isPolygonSymbol3D(e){return"esri.symbols.PolygonSymbol3D"===e?.declaredClass}export function isSimpleFillSymbol(e){return"esri.symbols.SimpleFillSymbol"===e?.declaredClass}export function isSimpleLineSymbol(e){return"esri.symbols.SimpleLineSymbol"===e?.declaredClass}export function isSimpleMarkerSymbol(e){return"esri.symbols.SimpleMarkerSymbol"===e?.declaredClass}export function isWebStyleSymbol(e){return"esri.symbols.WebStyleSymbol"===e?.declaredClass}export function isTextSymbol(e){return"esri.symbols.TextSymbol"===e?.declaredClass}export function isSymbol3D(e){return isPointSymbol3D(e)||isLineSymbol3D(e)||isPolygonSymbol3D(e)||isMeshSymbol3D(e)||isLabelSymbol3D(e)}export function isPointGeometrySymbol(e){return isSimpleMarkerSymbol(e)||isPictureMarkerSymbol(e)||isWebStyleSymbol(e)||isTextSymbol(e)||isCimSymbol(e)||isPointSymbol3D(e)||isLabelSymbol3D(e)}export function isMeshGeometrySymbol(e){return isMeshSymbol3D(e)||isLabelSymbol3D(e)}export function isPolylineGeometrySymbol(e){return isSimpleLineSymbol(e)||isTextSymbol(e)||isCimSymbol(e)||isLineSymbol3D(e)||isLabelSymbol3D(e)}export function isPolygonGeometrySymbol(e){return isSimpleFillSymbol(e)||isPictureFillSymbol(e)||isSimpleMarkerSymbol(e)||isTextSymbol(e)||isCimSymbol(e)||isPolygonSymbol3D(e)||isLabelSymbol3D(e)}export function isIconSymbol3DLayer(e){return"esri.symbols.IconSymbol3DLayer"===e.declaredClass}export function isObjectSymbol3DLayer(e){return"esri.symbols.ObjectSymbol3DLayer"===e.declaredClass}export function isPathSymbol3DLayer(e){return"esri.symbols.PathSymbol3DLayer"===e.declaredClass}export function isLineSymbol3DLayer(e){return"esri.symbols.LineSymbol3DLayer"===e.declaredClass}export function isFillSymbol3DLayer(e){return"esri.symbols.FillSymbol3DLayer"===e.declaredClass}export function isExtrudeSymbol3DLayer(e){return"esri.symbols.ExtrudeSymbol3DLayer"===e.declaredClass}
1
+ export function isVolumetric(e){return isSymbol3D(e)&&e.symbolLayers.some((e=>"object"===e.type||"path"===e.type||"extrude"===e.type))}const e=/^esri\.symbols\.\w+Symbol(3D)?$/;export function isSymbol(l){return e.test(l?.declaredClass)}export function isCimSymbol(e){return"esri.symbols.CimSymbol"===e?.declaredClass}export function isLabelSymbol3D(e){return"esri.symbols.LabelSymbol3D"===e?.declaredClass}export function isLineSymbol3D(e){return"esri.symbols.LineSymbol3D"===e?.declaredClass}export function isMeshSymbol3D(e){return"esri.symbols.MeshSymbol3D"===e?.declaredClass}export function isPictureFillSymbol(e){return"esri.symbols.PictureFillSymbol"===e?.declaredClass}export function isPictureMarkerSymbol(e){return"esri.symbols.PictureMarkerSymbol"===e?.declaredClass}export function isPointSymbol3D(e){return"esri.symbols.PointSymbol3D"===e?.declaredClass}export function isPolygonSymbol3D(e){return"esri.symbols.PolygonSymbol3D"===e?.declaredClass}export function isSimpleFillSymbol(e){return"esri.symbols.SimpleFillSymbol"===e?.declaredClass}export function isSimpleLineSymbol(e){return"esri.symbols.SimpleLineSymbol"===e?.declaredClass}export function isSimpleMarkerSymbol(e){return"esri.symbols.SimpleMarkerSymbol"===e?.declaredClass}export function isWebStyleSymbol(e){return"esri.symbols.WebStyleSymbol"===e?.declaredClass}export function isTextSymbol(e){return"esri.symbols.TextSymbol"===e?.declaredClass}export function isSymbol3D(e){return isPointSymbol3D(e)||isLineSymbol3D(e)||isPolygonSymbol3D(e)||isMeshSymbol3D(e)||isLabelSymbol3D(e)}export function isPointGeometrySymbol(e){return isSimpleMarkerSymbol(e)||isPictureMarkerSymbol(e)||isWebStyleSymbol(e)||isTextSymbol(e)||isCimSymbol(e)||isPointSymbol3D(e)||isLabelSymbol3D(e)}export function isMeshGeometrySymbol(e){return isMeshSymbol3D(e)||isLabelSymbol3D(e)}export function isPolylineGeometrySymbol(e){return isSimpleLineSymbol(e)||isTextSymbol(e)||isCimSymbol(e)||isLineSymbol3D(e)||isLabelSymbol3D(e)}export function isPolygonGeometrySymbol(e){return isSimpleFillSymbol(e)||isPictureFillSymbol(e)||isSimpleMarkerSymbol(e)||isTextSymbol(e)||isCimSymbol(e)||isPolygonSymbol3D(e)||isLabelSymbol3D(e)}export function isIconSymbol3DLayer(e){return"esri.symbols.IconSymbol3DLayer"===e.declaredClass}export function isObjectSymbol3DLayer(e){return"esri.symbols.ObjectSymbol3DLayer"===e.declaredClass}export function isPathSymbol3DLayer(e){return"esri.symbols.PathSymbol3DLayer"===e.declaredClass}export function isLineSymbol3DLayer(e){return"esri.symbols.LineSymbol3DLayer"===e.declaredClass}export function isFillSymbol3DLayer(e){return"esri.symbols.FillSymbol3DLayer"===e.declaredClass}export function isExtrudeSymbol3DLayer(e){return"esri.symbols.ExtrudeSymbol3DLayer"===e.declaredClass}
package/utilities/uri.js CHANGED
@@ -1 +1 @@
1
- export class Uri{constructor(t){this.queryValues=new Map,t&&this._parseUri(t)}get authority(){const t=this.password?`:${encodeURIComponent(this.password)}`:"";return`${this.user?`${encodeURIComponent(this.user)}${t}@`:""}${encodeURIComponent(this.host)||""}${this.port?`:${this.port}`:""}`}get query(){const t=Array.from(this.queryValues).filter((([t])=>"string"==typeof t)).map((([t,e])=>`${encodeURIComponent(`${t}`)}=${encodeURIComponent(e)}`)),e=Array.from(this.queryValues).filter((([t])=>"number"==typeof t)).sort((([t],[e])=>t-e)).map((([t,e])=>`${encodeURIComponent(e)}`));return[].concat(t,e).join("&")}set query(t){if(this.queryValues.clear(),!t)return;let e=0;t.replace(Uri._queryRegex,((t,...r)=>(r[0]?this.queryValues.set(decodeURIComponent(r[0]),decodeURIComponent(r[1])):r[1]&&this.queryValues.set(e++,decodeURIComponent(r[1])),t)))}get isRelative(){return!this.scheme}get isAbsolute(){return!this.isRelative}clone(){return new Uri(this.toString())}toString(){const t=this.scheme?`${encodeURIComponent(this.scheme)}:`:"",e=this.authority?`//${this.authority}`:"";return`${t}${e}${e&&this.path&&!this.path.startsWith("/")?`/${this.path}`:this.path}${this.queryValues.size?`?${this.query}`:""}${this.fragment?`#${encodeURIComponent(this.fragment)}`:""}`}toAbsoluteUri(t){if(!t||this.isAbsolute)return this.clone();const e="string"==typeof t?new Uri(t):t,r=new Uri;if(this.authority)r.host=this.host,r.port=this.port,r.user=this.user,r.password=this.password,r.path=this.path,r.query=this.query;else{if(this.path){if(this.path.startsWith("/"))r.path=this.path;else{const t=e.path.split("/");t.pop();const s=this.path.split("/");for(const e of s)"."!==e&&(".."===e?t.pop():t.push(e));r.path=t.join("/")}r.query=this.query}else r.path=e.path,r.query=this.query?this.query:e.query;r.host=e.host,r.port=e.port,r.user=e.user,r.password=e.password}return r.scheme=e.scheme,r.fragment=this.fragment,r}_parseUri(t){const e=Uri._uriRegex.exec(t);let r=Uri._keys.length;for(;--r;)this[Uri._keys[r]]=decodeURIComponent(e[r]||"")}}Uri._keys=["uri","scheme","user","password","host","port","path","query","fragment"],Uri._queryRegex=/(?:^|&)(?:([^&=]*)=)?([^&]*)/g,Uri._uriRegex=/^(?:([^:/?#]+):)?(?:\/\/(?:([^:@]*)(?::([^:@]*))?@)?([^:/?#]*)(?::(\d*))?)?([^?#]*)(?:\?([^#]*))?(?:#(.*))?/;export function isRelativeUri(t){return!t||!t.match(/^\w+:\/\//)}export function isAbsoluteUri(t){return!isRelativeUri(t)}export function isPackageUri(t){return!(!t||"string"!=typeof t)&&t.startsWith("@")}export function toAbsoluteUri(t,e){return t?new Uri(t).toAbsoluteUri(e).toString():t}export function addQueryParameter(t,e,r){const s="string"==typeof t?new Uri(t):t.clone();return s.queryValues.set(e,r),s.toString()}export function removeQueryParameter(t,e){const r="string"==typeof t?new Uri(t):t.clone();return r.queryValues.delete(e),r.toString()}
1
+ export class Uri{get authority(){const t=this.password?`:${encodeURIComponent(this.password)}`:"";return`${this.user?`${encodeURIComponent(this.user)}${t}@`:""}${encodeURIComponent(this.host)||""}${this.port?`:${this.port}`:""}`}get query(){const t=Array.from(this.queryValues).filter((([t])=>"string"==typeof t)).map((([t,e])=>`${encodeURIComponent(`${t}`)}=${encodeURIComponent(e)}`)),e=Array.from(this.queryValues).filter((([t])=>"number"==typeof t)).sort((([t],[e])=>t-e)).map((([t,e])=>`${encodeURIComponent(e)}`));return[].concat(t,e).join("&")}set query(t){if(this.queryValues.clear(),!t)return;let e=0;t.replace(Uri._queryRegex,((t,...r)=>(r[0]?this.queryValues.set(decodeURIComponent(r[0]),decodeURIComponent(r[1])):r[1]&&this.queryValues.set(e++,decodeURIComponent(r[1])),t)))}get isRelative(){return!this.scheme}get isAbsolute(){return!this.isRelative}constructor(t){this.queryValues=new Map,t&&this._parseUri(t)}clone(){return new Uri(this.toString())}toString(){const t=this.scheme?`${encodeURIComponent(this.scheme)}:`:"",e=this.authority?`//${this.authority}`:"";return`${t}${e}${e&&this.path&&!this.path.startsWith("/")?`/${this.path}`:this.path}${this.queryValues.size?`?${this.query}`:""}${this.fragment?`#${encodeURIComponent(this.fragment)}`:""}`}toAbsoluteUri(t){if(!t||this.isAbsolute)return this.clone();const e="string"==typeof t?new Uri(t):t,r=new Uri;if(this.authority)r.host=this.host,r.port=this.port,r.user=this.user,r.password=this.password,r.path=this.path,r.query=this.query;else{if(this.path){if(this.path.startsWith("/"))r.path=this.path;else{const t=e.path.split("/");t.pop();const s=this.path.split("/");for(const e of s)"."!==e&&(".."===e?t.pop():t.push(e));r.path=t.join("/")}r.query=this.query}else r.path=e.path,r.query=this.query?this.query:e.query;r.host=e.host,r.port=e.port,r.user=e.user,r.password=e.password}return r.scheme=e.scheme,r.fragment=this.fragment,r}_parseUri(t){const e=Uri._uriRegex.exec(t);let r=Uri._keys.length;for(;--r;)this[Uri._keys[r]]=decodeURIComponent(e[r]||"")}}Uri._keys=["uri","scheme","user","password","host","port","path","query","fragment"],Uri._queryRegex=/(?:^|&)(?:([^&=]*)=)?([^&]*)/g,Uri._uriRegex=/^(?:([^:/?#]+):)?(?:\/\/(?:([^:@]*)(?::([^:@]*))?@)?([^:/?#]*)(?::(\d*))?)?([^?#]*)(?:\?([^#]*))?(?:#(.*))?/;export function isRelativeUri(t){return!t?.match(/^\w+:\/\//)}export function isAbsoluteUri(t){return!isRelativeUri(t)}export function isPackageUri(t){return!(!t||"string"!=typeof t)&&t.startsWith("@")}export function toAbsoluteUri(t,e){return t?new Uri(t).toAbsoluteUri(e).toString():t}export function addQueryParameter(t,e,r){const s="string"==typeof t?new Uri(t):t.clone();return s.queryValues.set(e,r),s.toString()}export function removeQueryParameter(t,e){const r="string"==typeof t?new Uri(t):t.clone();return r.queryValues.delete(e),r.toString()}
@@ -1 +1 @@
1
- import*as reactiveUtils from"@arcgis/core/core/reactiveUtils";import{Collection}from"../support/esri.js";import{checkArg}from"./checkArg.js";export{}from"../support/esri.js";export function onEach(e,o,t){checkArg("collection",e).isNotMissing(),checkArg("eventType",o).isNotMissing().isNotEmpty(),checkArg("callback",t).isNotMissing();const c=new Map;for(const r of e.toArray())c.set(r,r.on(o,t));const r=e.on("change",(e=>{for(const r of e.added)c.set(r,r.on(o,t));for(const o of e.removed){const e=c.get(o);e&&e.remove(),c.delete(o)}}));return{remove:()=>{r.remove(),c.forEach((e=>e.remove()))}}}export function watchEach(e,...o){let t;if(checkArg("collection",e).isNotMissing(),"function"==typeof o[0]){const[e,c,r=!1]=o;checkArg("getValue",e).isNotMissing(),checkArg("callback",c).isNotMissing(),t=o=>reactiveUtils.watch((()=>e(o)),((e,t)=>c(e,t,o)),{sync:r})}else{const[e,c,r=!1]=o;checkArg("path",e).isNotMissing().isNotEmpty(),checkArg("callback",c).isNotMissing(),t=o=>o.watch(e,c,r)}const c=new Map;for(const o of e.toArray())c.set(o,t(o));const r=e.on("change",(e=>{for(const o of e.added)c.set(o,t(o));for(const o of e.removed){const e=c.get(o);e&&e.remove(),c.delete(o)}}));return{remove:()=>{r.remove(),c.forEach((e=>e.remove()))}}}export function watchCollectionPropertyEach(e,o,t,c,r=!1){checkArg("obj",e).isNotMissing(),checkArg("collectionProperty",o).isNotMissing().isNotEmpty(),checkArg("path",t).isNotMissing().isNotEmpty(),checkArg("callback",c).isNotMissing();const n=new Map,s=e.get(o);if(s)for(const e of s.toArray())n.set(e,e.watch(t,c,r));const i=onCollectionPropertyChange(e,o,(e=>{for(const o of e.added)n.set(o,o.watch(t,c,r));for(const o of e.removed){const e=n.get(o);e&&e.remove(),n.delete(o)}}),r);return{remove:()=>{i.remove(),n.forEach((e=>e.remove()))}}}export function onCollectionPropertyChange(e,o,t,c=!1){let r;checkArg("obj",e).isNotMissing(),checkArg("property",o).isNotMissing().isNotEmpty(),checkArg("callback",t).isNotMissing();const n=e.get(o);n&&(r=n.on("change",t));const s=e.watch(o,((e,o)=>{r&&(r.remove(),r=void 0),e&&(r=e.on("change",t));const c=e??new Collection,n=o??new Collection,s=c,i=c.filter((e=>n.includes(e))),a=n.filter((e=>c.includes(e))),l={added:c.filter((e=>!n.includes(e))).toArray(),removed:n.filter((e=>!c.includes(e))).toArray(),moved:i.filter(((e,o)=>a.indexOf(e)!==o)).toArray(),target:s};(l.added.length||l.removed.length||l.moved.length)&&t(l)}),c);return{remove:()=>{r&&r.remove(),s.remove()}}}export function onOnce(e,o,t){const c=e.on(o,(e=>{t(e),c.remove()}));return c}
1
+ import*as o from"@arcgis/core/core/reactiveUtils";import{Collection as e}from"../support/esri.js";import{checkArg as t}from"./checkArg.js";export{}from"../support/esri.js";export function onEach(o,e,s){t("collection",o).isNotMissing(),t("eventType",e).isNotMissing().isNotEmpty(),t("callback",s).isNotMissing();const n=new Map;for(const t of o.toArray())n.set(t,t.on(e,s));const r=o.on("change",(o=>{for(const t of o.added)n.set(t,t.on(e,s));for(const e of o.removed){const o=n.get(e);o&&o.remove(),n.delete(e)}}));return{remove:()=>{r.remove(),n.forEach((o=>o.remove()))}}}export function watchEach(e,...s){let n;if(t("collection",e).isNotMissing(),"function"==typeof s[0]){const[e,r,i=!1]=s;t("getValue",e).isNotMissing(),t("callback",r).isNotMissing(),n=t=>o.watch((()=>e(t)),((o,e)=>r(o,e,t)),{sync:i})}else{const[o,e,r=!1]=s;t("path",o).isNotMissing().isNotEmpty(),t("callback",e).isNotMissing(),n=t=>t.watch(o,e,r)}const r=new Map;for(const o of e.toArray())r.set(o,n(o));const i=e.on("change",(o=>{for(const e of o.added)r.set(e,n(e));for(const e of o.removed){const o=r.get(e);o&&o.remove(),r.delete(e)}}));return{remove:()=>{i.remove(),r.forEach((o=>o.remove()))}}}export function watchCollectionPropertyEach(o,e,s,n,r=!1){t("obj",o).isNotMissing(),t("collectionProperty",e).isNotMissing().isNotEmpty(),t("path",s).isNotMissing().isNotEmpty(),t("callback",n).isNotMissing();const i=new Map,c=o.get(e);if(c)for(const o of c.toArray())i.set(o,o.watch(s,n,r));const a=onCollectionPropertyChange(o,e,(o=>{for(const e of o.added)i.set(e,e.watch(s,n,r));for(const e of o.removed){const o=i.get(e);o&&o.remove(),i.delete(e)}}),r);return{remove:()=>{a.remove(),i.forEach((o=>o.remove()))}}}export function onCollectionPropertyChange(o,s,n,r=!1){let i;t("obj",o).isNotMissing(),t("property",s).isNotMissing().isNotEmpty(),t("callback",n).isNotMissing();const c=o.get(s);c&&(i=c.on("change",n));const a=o.watch(s,((o,t)=>{i&&(i.remove(),i=void 0),o&&(i=o.on("change",n));const s=o??new e,r=t??new e,c=s,a=s.filter((o=>r.includes(o))),l=r.filter((o=>s.includes(o))),f={added:s.filter((o=>!r.includes(o))).toArray(),removed:r.filter((o=>!s.includes(o))).toArray(),moved:a.filter(((o,e)=>l.indexOf(o)!==e)).toArray(),target:c};(f.added.length||f.removed.length||f.moved.length)&&n(f)}),r);return{remove:()=>{i&&i.remove(),a.remove()}}}export function onOnce(o,e,t){const s=o.on(e,(o=>{t(o),s.remove()}));return s}
package/version.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * The current version of the Geocortex ArcGIS Extensions API.
3
3
  */
4
- export declare const version = "38.0.4";
4
+ export declare const version = "38.1.0";
package/version.js CHANGED
@@ -1 +1 @@
1
- export const version="38.0.4";
1
+ export const version="38.1.0";