@arcgis/core 5.2.0-next.6 → 5.2.0-next.7
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.
- package/WebLinkChart.d.ts +1 -1
- package/WebMap.d.ts +2 -2
- package/WebScene.d.ts +3 -3
- package/arcade.d.ts +9 -9
- package/arcgisGlobal.d.ts +4 -0
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/03354ad3d74d858173b4.js +1 -0
- package/assets/esri/core/workers/chunks/{07a242ea908aa8e2ba28.js → 09a4139fc6d069ab6928.js} +1 -1
- package/assets/esri/core/workers/chunks/09d0e430c66788a2626f.js +640 -0
- package/assets/esri/core/workers/chunks/0a510acf50915e00c62b.js +1 -0
- package/assets/esri/core/workers/chunks/{829a0583b8a228c65379.js → 0b169bb1969f86232a1a.js} +1 -1
- package/assets/esri/core/workers/chunks/{20e2d11f6de438ee883e.js → 0ded58ccb83f624f1460.js} +1 -1
- package/assets/esri/core/workers/chunks/{d1ac98f48bb6d43d97c8.js → 0f3654c8157ec8f22869.js} +3 -3
- package/assets/esri/core/workers/chunks/19dcae83be0fc0aced02.js +1 -0
- package/assets/esri/core/workers/chunks/1eabe746481e0b228498.js +1 -0
- package/assets/esri/core/workers/chunks/{c27cb2a83a1d2e004501.js → 238478cfe493fd4a6100.js} +1 -1
- package/assets/esri/core/workers/chunks/{bf706a5d065a357de51b.js → 2413b383b7f2bdcd4ced.js} +1 -1
- package/assets/esri/core/workers/chunks/277718031c903da2b3b9.js +1 -0
- package/assets/esri/core/workers/chunks/{7ed5b669010db58845f8.js → 294f2803aac000c99693.js} +1 -1
- package/assets/esri/core/workers/chunks/{093f27e4e4781870b431.js → 297ae764445e6f73a5ea.js} +1 -1
- package/assets/esri/core/workers/chunks/2b36a54927f5a7281da3.js +1 -0
- package/assets/esri/core/workers/chunks/{be0eab592db0e651b023.js → 2b814bb51704a5b4fdc2.js} +6 -6
- package/assets/esri/core/workers/chunks/3172d7fc23787a287191.js +1 -0
- package/assets/esri/core/workers/chunks/{eedee0af459e6b8a6116.js → 33e0130e6a40fc768978.js} +1 -1
- package/assets/esri/core/workers/chunks/343ba5ea459e96ba79c6.js +1 -0
- package/assets/esri/core/workers/chunks/{a2159df718a7f2f59271.js → 38a2f34661563c7c29c1.js} +1 -1
- package/assets/esri/core/workers/chunks/3a5c1c501808352857bd.js +1 -0
- package/assets/esri/core/workers/chunks/{a96c7432ca97cbeef4b8.js → 3db898a38a7c5f0efb48.js} +1 -1
- package/assets/esri/core/workers/chunks/3fbb6ff940156a981983.js +1 -0
- package/assets/esri/core/workers/chunks/{24eaf1349ffe10e616e6.js → 40c4e14e7bb505ef10a3.js} +1 -1
- package/assets/esri/core/workers/chunks/4104fa1ede36bcee9be5.js +1 -0
- package/assets/esri/core/workers/chunks/{b002304a45856b024b46.js → 4714241189c13d0db897.js} +1 -1
- package/assets/esri/core/workers/chunks/485d20152495c27b8074.js +1 -0
- package/assets/esri/core/workers/chunks/{16b90d8f628a412ba4ba.js → 4894997bfa438f66da36.js} +1 -1
- package/assets/esri/core/workers/chunks/{0e774f14ba274832f390.js → 520e0e5307eef27becc6.js} +1 -1
- package/assets/esri/core/workers/chunks/53d165b4f30fd64e5d8a.js +1 -0
- package/assets/esri/core/workers/chunks/{c83fea0d0ebd0d8e43fd.js → 542f5469f7b42026b24f.js} +1 -1
- package/assets/esri/core/workers/chunks/5553279998ae07b60f5f.js +1 -0
- package/assets/esri/core/workers/chunks/{cda99b543a0e1979346c.js → 5cb1b950249d651f3837.js} +1 -1
- package/assets/esri/core/workers/chunks/{7601278ebced0c0c31cf.js → 5e3e0d7b85dfd52d1c7d.js} +1 -1
- package/assets/esri/core/workers/chunks/{f5a2c28dc26c065ea355.js → 62dfbdc847be4800e833.js} +22 -20
- package/assets/esri/core/workers/chunks/{c216cd5d6b5d4fe4bab3.js → 62e77e3c5ca9b4887923.js} +2 -2
- package/assets/esri/core/workers/chunks/{cc479daacd2cf715baa8.js → 62fc3c367f736c73b0d7.js} +1 -1
- package/assets/esri/core/workers/chunks/{b1f1271434af302938e8.js → 643c33a98f2d30a92001.js} +1 -1
- package/assets/esri/core/workers/chunks/{1c1515e020e32e177b54.js → 6a5356ebed70e0f8f979.js} +1 -1
- package/assets/esri/core/workers/chunks/{3402fb9c596b582311c7.js → 75839240022b280929f7.js} +1 -1
- package/assets/esri/core/workers/chunks/77a4f6f224d7ca4b69f4.js +1 -0
- package/assets/esri/core/workers/chunks/{6637f19b82555738a1d5.js → 78aa5bc6af2758da20d0.js} +1 -1
- package/assets/esri/core/workers/chunks/7df94cb985db41815fad.js +2 -0
- package/assets/esri/core/workers/chunks/{153dc2a0b08a0e44a881.js → 8419934bec7723b0feef.js} +1 -1
- package/assets/esri/core/workers/chunks/{50dc9893e13396f5e35d.js → 875cce0be4f6c89f80f3.js} +2 -2
- package/assets/esri/core/workers/chunks/{c319c3b85cdec73a9f45.js → 877c848beaf9a939862c.js} +1 -1
- package/assets/esri/core/workers/chunks/{ae74f722fb385e45fcf1.js → 893c0d28a5bf3f9f29f1.js} +1 -1
- package/assets/esri/core/workers/chunks/{5abe34bb0110694f7b42.js → 90953a827bc89d0e6bd5.js} +1 -1
- package/assets/esri/core/workers/chunks/{14c6419568d8a7a15cd6.js → 92ab5886aa2d8b9b179f.js} +1 -1
- package/assets/esri/core/workers/chunks/{4e676e888a935c507d90.js → 93d4bda22bde33fafa57.js} +1 -1
- package/assets/esri/core/workers/chunks/{fbb23db01f3cf629d32e.js → 992a90ecbab931198fd0.js} +1 -1
- package/assets/esri/core/workers/chunks/{1765042635084f75d2b3.js → 9b676606bf839b7aa433.js} +1 -1
- package/assets/esri/core/workers/chunks/a261f4c22224511fdfff.js +1 -0
- package/assets/esri/core/workers/chunks/{ea8f642b1db933d2c26f.js → a2ac139d0975085279a6.js} +1 -1
- package/assets/esri/core/workers/chunks/a4d3cbc02dc1186a9a6d.js +1 -0
- package/assets/esri/core/workers/chunks/a8ec5b85c2fa6fb4f391.js +1 -0
- package/assets/esri/core/workers/chunks/{6af77529c977d034d287.js → b23009d9f8eb7c20ce45.js} +1 -1
- package/assets/esri/core/workers/chunks/{1f55d60d3adc31283296.js → b79428c5093614174e76.js} +1 -1
- package/assets/esri/core/workers/chunks/b9bdb1f05e904c3655e4.js +1 -0
- package/assets/esri/core/workers/chunks/c4fc85281ca83af7abaf.js +1 -0
- package/assets/esri/core/workers/chunks/c983e5ce0ff952b65d7f.js +1 -0
- package/assets/esri/core/workers/chunks/{f79bd469b25099a31274.js → ca6907e14b1dde4d5c07.js} +1 -1
- package/assets/esri/core/workers/chunks/cbbd94c53e75efc99876.js +1 -0
- package/assets/esri/core/workers/chunks/{8f94c90fdb0333da2d0f.js → cfd28eba44cf5a296c6d.js} +1 -1
- package/assets/esri/core/workers/chunks/{e9dcc3e9dbafe9bbed84.js → d21480b078ec9680d4c4.js} +1 -1
- package/assets/esri/core/workers/chunks/{ace1899a8e5162b4018d.js → d6bb8db22ba85ad05fd7.js} +1 -1
- package/assets/esri/core/workers/chunks/{8244b74e9c3a30d8d2f6.js → d9d4754062758789f186.js} +2 -2
- package/assets/esri/core/workers/chunks/{d35c475f004367e333eb.js → e094364e54981c91e1b4.js} +1 -1
- package/assets/esri/core/workers/chunks/e33d2ede6c9f1527d51b.js +1 -0
- package/assets/esri/core/workers/chunks/{3e3134e4bc34d4e07179.js → e545df5ea7c0ced92cee.js} +1 -1
- package/assets/esri/core/workers/chunks/{49f6c9e9980b8c624fd7.js → f02fe24177e56a7e42b2.js} +1 -1
- package/assets/esri/core/workers/chunks/{d1ccc5f2d8892328ab01.js → f5731ad4cfbbf1cc569a.js} +2 -2
- package/assets/esri/themes/base/widgets/_DatePicker.scss +1 -1
- package/chunks/RealisticTree.glsl.js +17 -15
- package/config.d.ts +2 -2
- package/config.js +1 -1
- package/core/Collection.d.ts +25 -25
- package/core/Error.d.ts +1 -1
- package/core/JSONSupport.d.ts +1 -1
- package/core/promiseUtils.d.ts +3 -3
- package/core/reactiveUtils.d.ts +4 -4
- package/core/sql/WhereClause.d.ts +1 -1
- package/core/timeUtils.d.ts +1 -1
- package/core/workers/Connection.d.ts +9 -9
- package/core/workers.d.ts +1 -1
- package/editing/types.d.ts +3 -3
- package/geometry/Mesh.d.ts +9 -2
- package/geometry/Mesh.js +1 -1
- package/geometry/support/MeshMaterial.d.ts +5 -5
- package/geometry/support/MeshTexture.d.ts +19 -19
- package/geometry/support/jsonUtils.d.ts +1 -1
- package/geometry/support/meshUtils.d.ts +130 -2
- package/geometry/support/meshUtils.js +1 -1
- package/identity/Credential.d.ts +1 -1
- package/identity/IdentityManager.d.ts +1 -1
- package/identity/OAuthInfo.d.ts +1 -1
- package/identity/ServerInfo.d.ts +2 -2
- package/interfaces.d.ts +13 -0
- package/intl/number.d.ts +3 -3
- package/intl/substitute.d.ts +2 -2
- package/intl.d.ts +28 -28
- package/kernel.js +1 -1
- package/layers/AnnotationLayer.js +1 -1
- package/layers/BaseDynamicLayer.d.ts +5 -5
- package/layers/BaseTileLayer.d.ts +4 -4
- package/layers/BuildingSceneLayer.d.ts +1 -1
- package/layers/CSVLayer.d.ts +7 -1
- package/layers/CatalogLayer.d.ts +6 -0
- package/layers/DimensionFeatureLayer.js +1 -1
- package/layers/FeatureLayer.d.ts +44 -7
- package/layers/FeatureLayer.js +1 -1
- package/layers/GeoJSONLayer.d.ts +7 -1
- package/layers/LinkChartLayer.js +1 -1
- package/layers/MapImageLayer.d.ts +5 -5
- package/layers/MediaLayer.d.ts +2 -2
- package/layers/OrientedImageryLayer.d.ts +29 -2
- package/layers/ParquetLayer.d.ts +7 -1
- package/layers/SceneLayer.d.ts +1 -1
- package/layers/SceneLayer.js +1 -1
- package/layers/StreamLayer.d.ts +1 -1
- package/layers/SubtypeGroupLayer.d.ts +7 -1
- package/layers/TileLayer.d.ts +2 -2
- package/layers/VideoLayer.d.ts +1 -1
- package/layers/VoxelLayer.d.ts +4 -4
- package/layers/WCSLayer.d.ts +2 -2
- package/layers/WFSLayer.d.ts +6 -0
- package/layers/WebTileLayer.d.ts +1 -1
- package/layers/catalog/CatalogFootprintLayer.d.ts +20 -1
- package/layers/graphics/sources/FeatureLayerSource.js +1 -1
- package/layers/knowledgeGraph/KnowledgeGraphSublayer.d.ts +6 -0
- package/layers/mixins/ArcGISImageService.d.ts +7 -1
- package/layers/mixins/BlendLayer.d.ts +1 -1
- package/layers/mixins/DataSeriesLayer.d.ts +161 -0
- package/layers/mixins/DataSeriesLayer.js +2 -0
- package/layers/mixins/FeatureLayerBase.d.ts +3 -3
- package/layers/orientedImagery/core/coverageUtils.js +1 -1
- package/layers/support/DateTimeFieldFormat.d.ts +10 -10
- package/layers/support/FeatureEffect.d.ts +22 -22
- package/layers/support/FeatureReductionBinning.d.ts +12 -0
- package/layers/support/FeatureReductionCluster.d.ts +12 -0
- package/layers/support/Field.d.ts +2 -2
- package/layers/support/ImageElement.d.ts +1 -1
- package/layers/support/MosaicRule.d.ts +0 -2
- package/layers/support/NumberFieldFormat.d.ts +5 -5
- package/layers/support/StreamConnection.d.ts +1 -1
- package/layers/support/Sublayer.d.ts +2 -2
- package/layers/support/SubtypeSublayer.d.ts +14 -1
- package/layers/support/TimeSeriesFieldTimeMapping.d.ts +30 -0
- package/layers/support/TimeSeriesFieldTimeMapping.js +2 -0
- package/layers/support/TimeSeriesInfo.d.ts +149 -0
- package/layers/support/TimeSeriesInfo.js +2 -0
- package/layers/support/VideoElement.d.ts +1 -1
- package/layers/support/dataSeriesUtils.d.ts +18 -0
- package/layers/support/dataSeriesUtils.js +2 -0
- package/layers/support/kmlUtils.js +1 -1
- package/layers/support/timeSeriesUtils.d.ts +27 -0
- package/layers/support/timeSeriesUtils.js +2 -0
- package/layers/types.d.ts +1 -1
- package/linkChart/ChronologicalLayoutSettings.d.ts +1 -1
- package/networks/CircuitManager.d.ts +1 -1
- package/networks/Network.d.ts +1 -1
- package/networks/UnitIdentifierManager.d.ts +1 -1
- package/networks/support/NamedTraceConfiguration.d.ts +1 -1
- package/networks/support/TraceConfiguration.d.ts +2 -2
- package/networks/support/UNTraceConfiguration.d.ts +3 -3
- package/networks/support/jsonTypes.d.ts +7 -1
- package/networks/support/utils.js +1 -1
- package/package.json +3 -3
- package/popup/content/CustomContent.d.ts +1 -1
- package/portal/Portal.d.ts +2 -2
- package/portal/jsonTypes.d.ts +2 -2
- package/renderers/support/AuthoringInfo.d.ts +14 -1
- package/renderers/support/AuthoringInfo.js +1 -1
- package/renderers/support/AuthoringInfoVisualVariable.d.ts +14 -1
- package/renderers/support/AuthoringInfoVisualVariable.js +1 -1
- package/renderers/support/jsonUtils.d.ts +1 -1
- package/renderers/support/utils.d.ts +1 -1
- package/renderers/visualVariables/RotationVariable.d.ts +16 -1
- package/renderers/visualVariables/RotationVariable.js +1 -1
- package/request/types.d.ts +23 -23
- package/rest/geometryService.d.ts +1 -1
- package/rest/knowledgeGraph/CreateReplicaResponse.d.ts +1 -1
- package/rest/knowledgeGraph/GraphApplyEdits.d.ts +1 -1
- package/rest/knowledgeGraph/GraphProperty.d.ts +5 -1
- package/rest/knowledgeGraph/GraphQueryStreamingResult.d.ts +2 -2
- package/rest/knowledgeGraph/wasmInterface/wasmToDataModelFactories.js +1 -1
- package/rest/knowledgeGraph/wasmInterface/wasmToQueryResponseObjFactories.js +1 -1
- package/rest/knowledgeGraph/wasmInterface/wasmToReplicaFactories.js +1 -1
- package/rest/knowledgeGraphService.d.ts +13 -13
- package/rest/layerSources/DynamicDataLayer.d.ts +1 -1
- package/rest/print.d.ts +1 -1
- package/rest/support/AttributeBinsQuery.d.ts +16 -2
- package/rest/support/ClosestFacilityParameters.d.ts +6 -6
- package/rest/support/LastMileDeliveryParameters.d.ts +4 -4
- package/rest/support/LocationToAddressParameters.d.ts +1 -1
- package/rest/support/PrintTemplate.d.ts +5 -5
- package/rest/support/Query.d.ts +18 -4
- package/rest/support/RouteParameters.d.ts +5 -5
- package/rest/support/ServiceAreaParameters.d.ts +6 -6
- package/rest/support/TopFeaturesQuery.d.ts +16 -2
- package/rest/support/meshFeatureSet.js +1 -1
- package/smartMapping/renderers/color.d.ts +40 -0
- package/smartMapping/renderers/color.js +1 -1
- package/smartMapping/renderers/opacity.d.ts +8 -0
- package/smartMapping/renderers/opacity.js +1 -1
- package/smartMapping/renderers/size.d.ts +38 -0
- package/smartMapping/renderers/size.js +1 -1
- package/smartMapping/renderers/support/regenerateUtils.js +1 -1
- package/smartMapping/renderers/support/timeSeriesUtils.js +2 -0
- package/smartMapping/renderers/type.d.ts +20 -1
- package/smartMapping/renderers/type.js +1 -1
- package/smartMapping/renderers/univariateColorSize.d.ts +19 -0
- package/smartMapping/renderers/univariateColorSize.js +1 -1
- package/support/revision.js +1 -1
- package/support/tests/setupServiceMocksMesh.js +1 -1
- package/support/timeUtils.d.ts +3 -3
- package/symbols/Font.d.ts +7 -7
- package/symbols/WebStyleSymbol.d.ts +11 -11
- package/symbols/cim/effects/EffectControlMeasureLine.js +1 -1
- package/symbols/support/Symbol3DEmissive.d.ts +8 -2
- package/symbols/support/jsonUtils.d.ts +1 -1
- package/time/TimeExtent.d.ts +2 -2
- package/versionManagement/VersionManagementService.d.ts +8 -8
- package/versionManagement/VersionManager.d.ts +13 -3
- package/versionManagement/VersioningState.d.ts +4 -4
- package/views/2d/MapViewConstraints.d.ts +29 -25
- package/views/2d/engine/flow/styles/Imagery.js +1 -1
- package/views/2d/engine/flow/styles/Particles.js +1 -1
- package/views/2d/engine/flow/styles/Streamlines.js +1 -1
- package/views/2d/engine/vectorTiles/VectorTileFeatureIndex.js +1 -1
- package/views/2d/engine/vectorTiles/style/StyleLayer.js +1 -1
- package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
- package/views/2d/layers/BaseLayerView2D.d.ts +4 -20
- package/views/2d/layers/BaseLayerViewGL2D.d.ts +6 -22
- package/views/2d/layers/VectorTileLayerView2D.js +1 -1
- package/views/2d/layers/features/support/FeatureSetReader.js +1 -1
- package/views/2d/layers/features/support/FeatureSetReaderParquet.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedEditTool.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedPlacementController.js +1 -1
- package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementError.d.ts +1 -1
- package/views/3d/glTF/internal/resourceUtils.js +1 -1
- package/views/3d/layers/GaussianSplatLayerView3D.js +1 -1
- package/views/3d/layers/graphics/Graphics3DMeshFillSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DSymbolLayer.js +1 -1
- package/views/3d/webgl/RenderNode.d.ts +7 -7
- package/views/3d/webgl-engine/effects/glow/Glow.js +1 -1
- package/views/3d/webgl-engine/materials/DefaultMaterial.js +1 -1
- package/views/3d/webgl-engine/shaders/RealisticTree.glsl.js +1 -1
- package/views/BreakpointsOwner.d.ts +1 -1
- package/views/DOMContainer.d.ts +6 -6
- package/views/Magnifier.d.ts +1 -1
- package/views/MapView.d.ts +1 -1
- package/views/SceneView.d.ts +2 -2
- package/views/View2D.d.ts +62 -54
- package/views/Viewport2DMixin.d.ts +1 -1
- package/views/analysis/ElevationProfile/ElevationProfileError.d.ts +1 -1
- package/views/input/gamepad/GamepadInputDevice.d.ts +1 -1
- package/views/input/types.d.ts +15 -15
- package/views/layers/FeatureLikeLayerView.d.ts +7 -4
- package/views/layers/GraphicsLayerView.d.ts +6 -3
- package/views/layers/ImageryLayerView.d.ts +4 -0
- package/views/navigation/Navigation.d.ts +1 -1
- package/views/support/WebAssemblyRequirements.js +1 -1
- package/views/types.d.ts +1 -1
- package/webscene/Glow.d.ts +0 -4
- package/widgets/BasemapGallery.d.ts +1 -1
- package/widgets/BasemapLayerList.d.ts +1 -1
- package/widgets/BatchAttributeForm/inputs/AttachmentElementInput.js +1 -1
- package/widgets/BatchAttributeForm.d.ts +1 -1
- package/widgets/BatchAttributeForm.js +1 -1
- package/widgets/Bookmarks.d.ts +1 -1
- package/widgets/BuildingExplorer.d.ts +1 -1
- package/widgets/CoordinateConversion/CoordinateConversionViewModel.d.ts +2 -2
- package/widgets/CoordinateConversion/CoordinateConversionViewModel.js +1 -1
- package/widgets/CoordinateConversion.d.ts +2 -2
- package/widgets/Daylight.d.ts +1 -1
- package/widgets/Directions.d.ts +1 -1
- package/widgets/Editor.d.ts +1 -1
- package/widgets/Feature.d.ts +1 -1
- package/widgets/FeatureForm.d.ts +1 -1
- package/widgets/FeatureTable/FieldColumn.d.ts +1 -14
- package/widgets/FeatureTable/Grid/Column.d.ts +1 -1
- package/widgets/FeatureTable/support/ColumnTemplateBase.d.ts +1 -1
- package/widgets/FeatureTemplates.d.ts +1 -1
- package/widgets/FloorFilter.d.ts +1 -1
- package/widgets/Fullscreen/FullscreenViewModel.d.ts +3 -3
- package/widgets/Fullscreen/FullscreenViewModel.js +1 -1
- package/widgets/Fullscreen.d.ts +3 -3
- package/widgets/LayerList/ListItemPanel.d.ts +5 -5
- package/widgets/Legend.d.ts +1 -1
- package/widgets/Locate/LocateViewModel.d.ts +2 -2
- package/widgets/Locate.d.ts +1 -1
- package/widgets/PanoramicViewer/utils.js +1 -1
- package/widgets/Popup.d.ts +1 -1
- package/widgets/Print/PrintViewModel.d.ts +2 -2
- package/widgets/Print/TemplateOptions.d.ts +4 -4
- package/widgets/Print.d.ts +6 -6
- package/widgets/Search/SearchViewModel.d.ts +5 -5
- package/widgets/Search.d.ts +4 -4
- package/widgets/ShadowCast.d.ts +1 -1
- package/widgets/Sketch/SketchViewModel.d.ts +1 -1
- package/widgets/Slice.d.ts +1 -1
- package/widgets/TableList/ListItemPanel.d.ts +5 -5
- package/widgets/Track/TrackViewModel.d.ts +3 -3
- package/widgets/Track.d.ts +3 -3
- package/widgets/UtilityNetworkTrace.d.ts +1 -1
- package/widgets/VersionManagement/VersionManagementViewModel.d.ts +2 -2
- package/widgets/Weather.d.ts +1 -1
- package/widgets/Widget.d.ts +1 -1
- package/widgets/support/forms/formUtils.js +1 -1
- package/widgets/support/types.d.ts +1 -1
- package/widgets/support/widget.d.ts +6 -6
- package/assets/esri/core/workers/chunks/1ddbf5f507ac153234be.js +0 -1
- package/assets/esri/core/workers/chunks/29615df388a0df022d8c.js +0 -1
- package/assets/esri/core/workers/chunks/2bd334f9ab89334df713.js +0 -1
- package/assets/esri/core/workers/chunks/319ff04282dc8ae38b56.js +0 -2
- package/assets/esri/core/workers/chunks/3a6678ee9990d7e83e15.js +0 -1
- package/assets/esri/core/workers/chunks/3b3986276e70297d573b.js +0 -1
- package/assets/esri/core/workers/chunks/46fbd519cc1a37923bfc.js +0 -1
- package/assets/esri/core/workers/chunks/4ef53455c8bc6efee80e.js +0 -1
- package/assets/esri/core/workers/chunks/51ee6102f5f4840a5b47.js +0 -1
- package/assets/esri/core/workers/chunks/58994b6bfcda5f2ada80.js +0 -1
- package/assets/esri/core/workers/chunks/6db274f6767102a39021.js +0 -1
- package/assets/esri/core/workers/chunks/77769663cd712822d33e.js +0 -1
- package/assets/esri/core/workers/chunks/8c5a41ae68775bac3446.js +0 -1
- package/assets/esri/core/workers/chunks/b08a1255dacf6cfcf139.js +0 -640
- package/assets/esri/core/workers/chunks/b098469e0010a6b44df9.js +0 -1
- package/assets/esri/core/workers/chunks/ca1b0cb14ea9ae1bf2a3.js +0 -1
- package/assets/esri/core/workers/chunks/ca4245414d8ecd217f9d.js +0 -1
- package/assets/esri/core/workers/chunks/d3af51a6d9014ff46170.js +0 -1
- package/assets/esri/core/workers/chunks/d561dc933d8fe1672d85.js +0 -1
- package/assets/esri/core/workers/chunks/e38836bfcc7a15a2fd1f.js +0 -1
- package/assets/esri/core/workers/chunks/e645f992ec6f935ee3a5.js +0 -1
- package/assets/esri/core/workers/chunks/eabd4a78221b7e733793.js +0 -1
- package/assets/esri/core/workers/chunks/f05932aea4eb267cba4d.js +0 -1
- /package/assets/esri/core/workers/chunks/{50dc9893e13396f5e35d.js.LICENSE.txt → 62e77e3c5ca9b4887923.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{319ff04282dc8ae38b56.js.LICENSE.txt → 7df94cb985db41815fad.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{c216cd5d6b5d4fe4bab3.js.LICENSE.txt → 875cce0be4f6c89f80f3.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{8244b74e9c3a30d8d2f6.js.LICENSE.txt → d9d4754062758789f186.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{d1ccc5f2d8892328ab01.js.LICENSE.txt → f5731ad4cfbbf1cc569a.js.LICENSE.txt} +0 -0
package/intl.d.ts
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
* <span id="locale"></span>
|
|
17
17
|
* ## Setting the locale
|
|
18
18
|
*
|
|
19
|
-
* The SDK will automatically use locale defined via [`lang` attribute](https://developer.mozilla.org/
|
|
19
|
+
* The SDK will automatically use locale defined via [`lang` attribute](https://developer.mozilla.org/docs/Web/HTML/Global_attributes/lang) on the root `html` element, or the locale of the browser.
|
|
20
20
|
* To override this behavior, you can set the locale used by the SDK with the [setLocale()](https://developers.arcgis.com/javascript/latest/references/core/intl/#setLocale) method.
|
|
21
21
|
* This locale will determine:
|
|
22
22
|
* 1. the number and date formatting used throughout the API,
|
|
@@ -86,8 +86,8 @@
|
|
|
86
86
|
* ## Tips and tricks
|
|
87
87
|
*
|
|
88
88
|
* The [formatDate()](https://developers.arcgis.com/javascript/latest/references/core/intl/#formatDate), [formatNumber()](https://developers.arcgis.com/javascript/latest/references/core/intl/#formatNumber), and [substitute()](https://developers.arcgis.com/javascript/latest/references/core/intl/#substitute) functions are light wrappers
|
|
89
|
-
* around the Intl APIs that cache the created [Intl.DateTimeFormat](https://developer.mozilla.org/
|
|
90
|
-
* and [Intl.NumberFormat](https://developer.mozilla.org/
|
|
89
|
+
* around the Intl APIs that cache the created [Intl.DateTimeFormat](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat)
|
|
90
|
+
* and [Intl.NumberFormat](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat) formatter objects for a set of `options`.
|
|
91
91
|
* Consider reusing the same `options` objects to avoid having to recreate these objects.
|
|
92
92
|
*
|
|
93
93
|
* ```js
|
|
@@ -103,9 +103,9 @@
|
|
|
103
103
|
* ```
|
|
104
104
|
*
|
|
105
105
|
* @since 4.12
|
|
106
|
-
* @see [Intl on MDN Web Docs](https://developer.mozilla.org/
|
|
107
|
-
* @see [Intl.DateTimeFormat on MDN Web Docs](https://developer.mozilla.org/
|
|
108
|
-
* @see [Intl.NumberFormat on MDN Web Docs](https://developer.mozilla.org/
|
|
106
|
+
* @see [Intl on MDN Web Docs](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl)
|
|
107
|
+
* @see [Intl.DateTimeFormat on MDN Web Docs](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat)
|
|
108
|
+
* @see [Intl.NumberFormat on MDN Web Docs](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat)
|
|
109
109
|
* @see [FieldInfoFormat](https://developers.arcgis.com/javascript/latest/references/core/popup/support/FieldInfoFormat/)
|
|
110
110
|
* @see [Sample - Load portal items via drag and drop](https://developers.arcgis.com/javascript/latest/sample-code/portalitem-dragndrop/)
|
|
111
111
|
*/
|
|
@@ -120,7 +120,7 @@ import type { SubstituteOptions } from "./intl/substitute.js";
|
|
|
120
120
|
import type { JSONLoaderOptions } from "./intl/t9n.js";
|
|
121
121
|
|
|
122
122
|
/**
|
|
123
|
-
* Converts a [web map date format string](https://developers.arcgis.com/web-map-specification/objects/format/) to an [Intl.DateTimeFormat](https://developer.mozilla.org/
|
|
123
|
+
* Converts a [web map date format string](https://developers.arcgis.com/web-map-specification/objects/format/) to an [Intl.DateTimeFormat](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat#Parameters) options object.
|
|
124
124
|
*
|
|
125
125
|
* @param format - A web map date format string to convert.
|
|
126
126
|
* @returns The date format options derived from the format string as defined in the web map specification.
|
|
@@ -128,7 +128,7 @@ import type { JSONLoaderOptions } from "./intl/t9n.js";
|
|
|
128
128
|
* @example
|
|
129
129
|
* const dateFormatIntlOptions = intl.convertDateFormatToIntlOptions("short-date-short-time");
|
|
130
130
|
*
|
|
131
|
-
* // See https://developer.mozilla.org/
|
|
131
|
+
* // See https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat#Parameters
|
|
132
132
|
* // Setting the string value 'short-date-short-time' is similar to what is set in the object below
|
|
133
133
|
* // dateFormatIntlOptions = {
|
|
134
134
|
* // day: "numeric",
|
|
@@ -146,10 +146,10 @@ import type { JSONLoaderOptions } from "./intl/t9n.js";
|
|
|
146
146
|
export function convertDateFormatToIntlOptions(format: DateFormat | TimeFormat): Intl.DateTimeFormatOptions;
|
|
147
147
|
|
|
148
148
|
/**
|
|
149
|
-
* Converts a [DateTimeFieldFormat](https://developers.arcgis.com/javascript/latest/references/core/layers/support/DateTimeFieldFormat/) to an [Intl.DateTimeFormatOptions](https://developer.mozilla.org/
|
|
149
|
+
* Converts a [DateTimeFieldFormat](https://developers.arcgis.com/javascript/latest/references/core/layers/support/DateTimeFieldFormat/) to an [Intl.DateTimeFormatOptions](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat#Parameters) options object.
|
|
150
150
|
*
|
|
151
151
|
* @param format - The [DateTimeFieldFormat](https://developers.arcgis.com/javascript/latest/references/core/layers/support/DateTimeFieldFormat/) to convert.
|
|
152
|
-
* @returns The [Intl date format](https://developer.mozilla.org/
|
|
152
|
+
* @returns The [Intl date format](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat#Parameters) options.
|
|
153
153
|
* @since 4.34
|
|
154
154
|
* @see [FieldInfo.fieldFormat](https://developers.arcgis.com/javascript/latest/references/core/popup/FieldInfo/#fieldFormat)
|
|
155
155
|
* @example
|
|
@@ -166,10 +166,10 @@ export function convertDateFormatToIntlOptions(format: DateFormat | TimeFormat):
|
|
|
166
166
|
export function convertDateTimeFieldFormatToIntlOptions(format: DateTimeFieldFormat): Intl.DateTimeFormatOptions;
|
|
167
167
|
|
|
168
168
|
/**
|
|
169
|
-
* Converts a [NumberFieldFormat](https://developers.arcgis.com/javascript/latest/references/core/layers/support/NumberFieldFormat/) to an [Intl.NumberFormatOptions](https://developer.mozilla.org/
|
|
169
|
+
* Converts a [NumberFieldFormat](https://developers.arcgis.com/javascript/latest/references/core/layers/support/NumberFieldFormat/) to an [Intl.NumberFormatOptions](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat#Parameters) options object.
|
|
170
170
|
*
|
|
171
171
|
* @param format - The [NumberFieldFormat](https://developers.arcgis.com/javascript/latest/references/core/layers/support/NumberFieldFormat/) to convert.
|
|
172
|
-
* @returns The [Intl number format](https://developer.mozilla.org/
|
|
172
|
+
* @returns The [Intl number format](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat#Parameters) options.
|
|
173
173
|
* @since 4.34
|
|
174
174
|
* @see [FieldInfo.fieldFormat](https://developers.arcgis.com/javascript/latest/references/core/popup/FieldInfo/#fieldFormat)
|
|
175
175
|
* @example
|
|
@@ -186,10 +186,10 @@ export function convertDateTimeFieldFormatToIntlOptions(format: DateTimeFieldFor
|
|
|
186
186
|
export function convertNumberFieldFormatToIntlOptions(format: NumberFieldFormat): Intl.NumberFormatOptions;
|
|
187
187
|
|
|
188
188
|
/**
|
|
189
|
-
* Converts a [NumberFormat](https://developers.arcgis.com/javascript/latest/references/core/intl/number/#NumberFormat) to an [Intl.NumberFormatOptions](https://developer.mozilla.org/
|
|
189
|
+
* Converts a [NumberFormat](https://developers.arcgis.com/javascript/latest/references/core/intl/number/#NumberFormat) to an [Intl.NumberFormatOptions](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat#Parameters) object.
|
|
190
190
|
*
|
|
191
191
|
* @param format - The [NumberFormat](https://developers.arcgis.com/javascript/latest/references/core/intl/number/#NumberFormat) to convert.
|
|
192
|
-
* @returns The [Intl number format](https://developer.mozilla.org/
|
|
192
|
+
* @returns The [Intl number format](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat#Parameters) options.
|
|
193
193
|
* @see [FieldInfoFormat](https://developers.arcgis.com/javascript/latest/references/core/popup/support/FieldInfoFormat/)
|
|
194
194
|
* @example
|
|
195
195
|
* const numberFormatIntlOptions = intl.convertNumberFormatToIntlOptions({
|
|
@@ -197,7 +197,7 @@ export function convertNumberFieldFormatToIntlOptions(format: NumberFieldFormat)
|
|
|
197
197
|
* digitSeparator: true
|
|
198
198
|
* });
|
|
199
199
|
*
|
|
200
|
-
* // See https://developer.mozilla.org/
|
|
200
|
+
* // See https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat#Parameters
|
|
201
201
|
* // Setting the places and digitSeparator above is similar to what is set below
|
|
202
202
|
* // numberFormatIntlOptions = {
|
|
203
203
|
* // useGrouping: true,
|
|
@@ -317,11 +317,11 @@ export function fetchMessageBundle(bundleId: string): Promise<MessageBundle>;
|
|
|
317
317
|
*
|
|
318
318
|
* > [!WARNING]
|
|
319
319
|
* >
|
|
320
|
-
* > Internally `formatDate` creates [Intl formatter](https://developer.mozilla.org/
|
|
320
|
+
* > Internally `formatDate` creates [Intl formatter](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl) instances for the current locale.
|
|
321
321
|
* > The formatters are cached using their `options` as a cache key.
|
|
322
322
|
* > Reuse the same `options` objects for best performance.
|
|
323
323
|
*
|
|
324
|
-
* @param value - The [Date](https://developer.mozilla.org/
|
|
324
|
+
* @param value - The [Date](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date) object, or the number of milliseconds elapsed since January 1, 1970 00:00:00 UTC, to be formatted.
|
|
325
325
|
* @param options - Date format options.
|
|
326
326
|
* @returns Formatted string for the input Date value.
|
|
327
327
|
* @see [FieldInfoFormat.dateFormat](https://developers.arcgis.com/javascript/latest/references/core/popup/support/FieldInfoFormat/#dateFormat)
|
|
@@ -340,7 +340,7 @@ export function formatDate(value: number | Date | undefined, options?: DateTimeF
|
|
|
340
340
|
*
|
|
341
341
|
* > [!WARNING]
|
|
342
342
|
* >
|
|
343
|
-
* > Internally `formatDateOnly` creates [Intl formatter](https://developer.mozilla.org/
|
|
343
|
+
* > Internally `formatDateOnly` creates [Intl formatter](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl) instances for the current locale.
|
|
344
344
|
* > The formatters are cached using their `options` as a cache key.
|
|
345
345
|
* > Reuse the same `options` objects for best performance.
|
|
346
346
|
*
|
|
@@ -363,7 +363,7 @@ export function formatDateOnly(value: string, options?: Intl.DateTimeFormatOptio
|
|
|
363
363
|
*
|
|
364
364
|
* > [!WARNING]
|
|
365
365
|
* >
|
|
366
|
-
* > Internally `formatNumber` creates [Intl formatter](https://developer.mozilla.org/
|
|
366
|
+
* > Internally `formatNumber` creates [Intl formatter](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl) instances for the current locale.
|
|
367
367
|
* > The formatters are cached using their `options` as a cache key.
|
|
368
368
|
* > Reuse the same `options` objects for best performance.
|
|
369
369
|
*
|
|
@@ -404,7 +404,7 @@ export function formatNumber(value: number, options?: Intl.NumberFormatOptions):
|
|
|
404
404
|
*
|
|
405
405
|
* > [!WARNING]
|
|
406
406
|
* >
|
|
407
|
-
* > Internally `formatTimeOnly` creates [Intl formatter](https://developer.mozilla.org/
|
|
407
|
+
* > Internally `formatTimeOnly` creates [Intl formatter](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl) instances for the current locale.
|
|
408
408
|
* > The formatters are cached using their `options` as a cache key.
|
|
409
409
|
* > Reuse the same `options` objects for best performance.
|
|
410
410
|
*
|
|
@@ -427,7 +427,7 @@ export function formatTimeOnly(value: string, options?: Intl.DateTimeFormatOptio
|
|
|
427
427
|
*
|
|
428
428
|
* > [!WARNING]
|
|
429
429
|
* >
|
|
430
|
-
* > Internally `formatTimestamp` creates [Intl formatter](https://developer.mozilla.org/
|
|
430
|
+
* > Internally `formatTimestamp` creates [Intl formatter](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl) instances for the current locale.
|
|
431
431
|
* > The formatters are cached using their `options` as a cache key.
|
|
432
432
|
* > Reuse the same `options` objects for best performance.
|
|
433
433
|
*
|
|
@@ -446,15 +446,15 @@ export function formatTimestamp(value: string, options?: DateTimeFormatOptions):
|
|
|
446
446
|
* order. This order is described as follows:
|
|
447
447
|
*
|
|
448
448
|
* 1. What is initialized using the global `esriConfig` variable, which also initializes the `esri/config` module.
|
|
449
|
-
* 1. The [`lang` attribute](https://developer.mozilla.org/
|
|
450
|
-
* 1. What is set [`navigator.language`](https://developer.mozilla.org/
|
|
449
|
+
* 1. The [`lang` attribute](https://developer.mozilla.org/docs/Web/HTML/Global_attributes/lang) defined on the root `html` element.
|
|
450
|
+
* 1. What is set [`navigator.language`](https://developer.mozilla.org/docs/Web/API/NavigatorLanguage/language), the locale defined by the web browser's user's preferences.
|
|
451
451
|
*
|
|
452
|
-
* The preferred way of setting a locale is via the [`lang` attribute](https://developer.mozilla.org/
|
|
452
|
+
* The preferred way of setting a locale is via the [`lang` attribute](https://developer.mozilla.org/docs/Web/HTML/Global_attributes/lang) on the root `html` element.
|
|
453
453
|
* A callback can be invoked to notify when the locale changes by using [onLocaleChange()](https://developers.arcgis.com/javascript/latest/references/core/intl/#onLocaleChange).
|
|
454
454
|
*
|
|
455
455
|
* @returns The current locale string.
|
|
456
456
|
* @since 4.16
|
|
457
|
-
* @see [NavigatorLanguage on MDN Web Docs](https://developer.mozilla.org/
|
|
457
|
+
* @see [NavigatorLanguage on MDN Web Docs](https://developer.mozilla.org/docs/Web/API/NavigatorLanguage)
|
|
458
458
|
* @see [setLocale()](https://developers.arcgis.com/javascript/latest/references/core/intl/#setLocale)
|
|
459
459
|
* @see [onLocaleChange()](https://developers.arcgis.com/javascript/latest/references/core/intl/#onLocaleChange)
|
|
460
460
|
*/
|
|
@@ -614,7 +614,7 @@ export function registerMessageBundleLoader(loader: MessageBundleLoader): Resour
|
|
|
614
614
|
|
|
615
615
|
/**
|
|
616
616
|
* Sets the locale used by the SDK.
|
|
617
|
-
* Prefer setting the [`lang` attribute](https://developer.mozilla.org/
|
|
617
|
+
* Prefer setting the [`lang` attribute](https://developer.mozilla.org/docs/Web/HTML/Global_attributes/lang) on the root `html` element.
|
|
618
618
|
*
|
|
619
619
|
* When the locale changes, the registered callback for [onLocaleChange()](https://developers.arcgis.com/javascript/latest/references/core/intl/#onLocaleChange) is called.
|
|
620
620
|
*
|
|
@@ -642,7 +642,7 @@ export function registerMessageBundleLoader(loader: MessageBundleLoader): Resour
|
|
|
642
642
|
* @param locale - The new Unicode locale identifier string, similar to the Intl APIs.
|
|
643
643
|
* If this is `undefined`, the locale is reset to its default value described in [getLocale()](https://developers.arcgis.com/javascript/latest/references/core/intl/#getLocale).
|
|
644
644
|
* @since 4.16
|
|
645
|
-
* @see [More info on locale on MDN Web Docs](https://developer.mozilla.org/
|
|
645
|
+
* @see [More info on locale on MDN Web Docs](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation)
|
|
646
646
|
* @see [getLocale()](https://developers.arcgis.com/javascript/latest/references/core/intl/#getLocale)
|
|
647
647
|
* @see [onLocaleChange()](https://developers.arcgis.com/javascript/latest/references/core/intl/#onLocaleChange)
|
|
648
648
|
* @example
|
|
@@ -668,7 +668,7 @@ export function setLocale(locale: string | null | undefined): void;
|
|
|
668
668
|
*
|
|
669
669
|
* > [!WARNING]
|
|
670
670
|
* >
|
|
671
|
-
* > Internally `substitute` creates [Intl formatter](https://developer.mozilla.org/
|
|
671
|
+
* > Internally `substitute` creates [Intl formatter](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl) instances for the current locale.
|
|
672
672
|
* > The formatters are cached using the `options` as a cache key.
|
|
673
673
|
* > Reuse the same `options` objects for best performance.
|
|
674
674
|
*
|
package/kernel.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import has from"./core/has.js";import{addQueryParameter as o}from"./core/urlUtils.js";export{buildDate,commitHash as revision}from"./support/revision.js";Symbol.dispose??=Symbol("Symbol.dispose"),Symbol.asyncDispose??=Symbol("Symbol.asyncDispose");const e="5.2";let s,r=e;function i(o){s=o}function t(e){const r=s?.findCredential(e);return r?.token?o(e,"token",r.token):e}r="5.2.0-next.
|
|
2
|
+
import has from"./core/has.js";import{addQueryParameter as o}from"./core/urlUtils.js";export{buildDate,commitHash as revision}from"./support/revision.js";Symbol.dispose??=Symbol("Symbol.dispose"),Symbol.asyncDispose??=Symbol("Symbol.asyncDispose");const e="5.2";let s,r=e;function i(o){s=o}function t(e){const r=s?.findCredential(e);return r?.token?o(e,"token",r.token):e}r="5.2.0-next.7",has("host-webworker")||globalThis.$arcgis||Object.defineProperty(globalThis,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),has("host-webworker");export{t as addTokenParameter,r as fullVersion,s as id,i as setId,e as version};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{__decorate as e}from"tslib";import t from"../request.js";import r from"../core/Error.js";import{join as o}from"../core/urlUtils.js";import{subclass as a}from"../core/accessorSupport/decorators.js";import{property as s}from"../core/accessorSupport/decorators/property.js";import n from"./FeatureLayer.js";let i=class extends n{constructor(e){super(e),this.supportedSourceTypes=new Set(["Annotation Layer"
|
|
2
|
+
import{__decorate as e}from"tslib";import t from"../request.js";import r from"../core/Error.js";import{join as o}from"../core/urlUtils.js";import{subclass as a}from"../core/accessorSupport/decorators.js";import{property as s}from"../core/accessorSupport/decorators/property.js";import n from"./FeatureLayer.js";let i=class extends n{constructor(e){super(e),this.supportedSourceTypes=new Set(["Annotation Layer"]),this.type="annotation",this._dataElementPromise=null}async fetchDataElement(e){if(this._dataElementPromise)return this._dataElementPromise;if(!this.url)throw new Error("InternalError: A URL is required to retrieve the data element for this layer.");const a=o(this.url,"queryDataElements"),s={f:"json",layers:this.layerId};return this._dataElementPromise=t(a,{...e,responseType:"json",query:s}).then(e=>{const t=e.data.layerDataElements,o=this.layerId,a=t.find(e=>e.layerId===o);if(!a)throw new r("fetchDataElement:not-available","A data element for this layer could not be retrieved.");return a.dataElement}),this._dataElementPromise}};e([s({json:{read:!1},value:"annotation",readOnly:!0})],i.prototype,"type",void 0),i=e([a("esri.layers.AnnotationLayer")],i);const l=i;export{l as default};
|
|
@@ -56,10 +56,10 @@ export interface BaseDynamicLayerProperties extends LayerProperties, Refreshable
|
|
|
56
56
|
*
|
|
57
57
|
* If data needs to be preprocessed prior to display, then override the [fetchImage()](https://developers.arcgis.com/javascript/latest/references/core/layers/BaseDynamicLayer/#fetchImage)
|
|
58
58
|
* method to generate
|
|
59
|
-
* an [html image element](https://developer.mozilla.org/
|
|
60
|
-
* [canvas element](https://developer.mozilla.org/
|
|
59
|
+
* an [html image element](https://developer.mozilla.org/docs/Web/API/HTMLImageElement) or
|
|
60
|
+
* [canvas element](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement) by
|
|
61
61
|
* processing the data returned by the server. For example, if you need to apply a
|
|
62
|
-
* [compositing operation](https://developer.mozilla.org/
|
|
62
|
+
* [compositing operation](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/globalCompositeOperation)
|
|
63
63
|
* to the image returned from the server before the image is displayed then you would
|
|
64
64
|
* override this method.
|
|
65
65
|
*
|
|
@@ -140,8 +140,8 @@ export default abstract class BaseDynamicLayer extends BaseDynamicLayerSuperclas
|
|
|
140
140
|
* @param height - The height of the view in pixels. This value is provided by the [LayerView](https://developers.arcgis.com/javascript/latest/references/core/views/layers/LayerView/).
|
|
141
141
|
* @param options - The parameter options is an object with the following properties.
|
|
142
142
|
* @returns Returns a promise that resolves to an
|
|
143
|
-
* [HTMLImageElement](https://developer.mozilla.org/
|
|
144
|
-
* [HTMLCanvasElement](https://developer.mozilla.org/
|
|
143
|
+
* [HTMLImageElement](https://developer.mozilla.org/docs/Web/API/HTMLImageElement) or
|
|
144
|
+
* [HTMLCanvasElement](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement).
|
|
145
145
|
* @example
|
|
146
146
|
* // Fetches images for given extent and size
|
|
147
147
|
* fetchImage: function (extent, width, height){
|
|
@@ -23,7 +23,7 @@ export interface BaseTileLayerProperties extends LayerProperties, RefreshableLay
|
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
* This class may be extended to create a custom TileLayer. It is a generic tile layer class designed to work with various tile sources,
|
|
26
|
-
* not just ArcGIS cached [map services](https://
|
|
26
|
+
* not just ArcGIS cached [map services](https://doc.esri.com/en/arcgis-enterprise/latest/administer/what-is-a-map-service.html),
|
|
27
27
|
* which are specifically handled by the [TileLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/TileLayer/) class. Tile layers are composed of images, such as satellite imagery,
|
|
28
28
|
* that are composed of square tiles mosaicked together in columns and rows, giving the layer the appearance that it is one continuous image.
|
|
29
29
|
* They have several levels of detail (LOD) that permit users to zoom in to any region of the map and load additional tiles that depict features
|
|
@@ -116,7 +116,7 @@ export interface BaseTileLayerProperties extends LayerProperties, RefreshableLay
|
|
|
116
116
|
*
|
|
117
117
|
* If data needs to be preprocessed prior to display, then override the [fetchTile()](https://developers.arcgis.com/javascript/latest/references/core/layers/BaseTileLayer/#fetchTile)
|
|
118
118
|
* method. For example, if you need to apply a
|
|
119
|
-
* [compositing operation](https://developer.mozilla.org/
|
|
119
|
+
* [compositing operation](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/globalCompositeOperation)
|
|
120
120
|
* to the image returned from the server before the image is displayed then you would override this method.
|
|
121
121
|
*
|
|
122
122
|
* ```js
|
|
@@ -245,8 +245,8 @@ export default abstract class BaseTileLayer extends BaseTileLayerSuperclass {
|
|
|
245
245
|
* @param col - The column (x) position of the tile to fetch. This value is provided by [LayerView](https://developers.arcgis.com/javascript/latest/references/core/views/layers/LayerView/).
|
|
246
246
|
* @param options - Optional settings for the tile request. The options have the following properties.
|
|
247
247
|
* @returns Returns a promise that resolves to an
|
|
248
|
-
* [HTMLImageElement](https://developer.mozilla.org/
|
|
249
|
-
* [HTMLCanvasElement](https://developer.mozilla.org/
|
|
248
|
+
* [HTMLImageElement](https://developer.mozilla.org/docs/Web/API/HTMLImageElement) or
|
|
249
|
+
* [HTMLCanvasElement](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement).
|
|
250
250
|
* @see [Sample - Custom BlendLayer](https://developers.arcgis.com/javascript/latest/sample-code/layers-custom-blendlayer/)
|
|
251
251
|
* @see [Sample - Custom LERC Layer](https://developers.arcgis.com/javascript/latest/sample-code/layers-custom-lerc-2d/)
|
|
252
252
|
* @example
|
|
@@ -120,7 +120,7 @@ export interface BuildingSceneLayerProperties extends LayerProperties, APIKeyMix
|
|
|
120
120
|
*
|
|
121
121
|
* Building data coming from a [Revit](https://pro.arcgis.com/en/pro-app/latest/help/data/revit/what-is-bim-data-.htm) file
|
|
122
122
|
* can be imported and published as a
|
|
123
|
-
* [Scene Service](https://
|
|
123
|
+
* [Scene Service](https://doc.esri.com/en/arcgis-enterprise/latest/plan/base-arcgis-enterprise-deployment.html)
|
|
124
124
|
* using ArcGIS Pro version 2.3.
|
|
125
125
|
*
|
|
126
126
|
* The Scene Service is identified by the [url](https://developers.arcgis.com/javascript/latest/references/core/layers/BuildingSceneLayer/#url) or [portalItem](https://developers.arcgis.com/javascript/latest/references/core/layers/BuildingSceneLayer/#portalItem) of the ArcGIS Server REST resource:
|
package/layers/CSVLayer.d.ts
CHANGED
|
@@ -363,7 +363,7 @@ export interface CSVLayerEvents extends RefreshableLayerEvents, LayerEvents {}
|
|
|
363
363
|
*
|
|
364
364
|
* ### Reference in memory csv data by a blob url
|
|
365
365
|
*
|
|
366
|
-
* You can also create a CSVLayer from in memory csv data by passing a [blob url](https://developer.mozilla.org/
|
|
366
|
+
* You can also create a CSVLayer from in memory csv data by passing a [blob url](https://developer.mozilla.org/docs/Web/API/URL/createObjectURL) to the
|
|
367
367
|
* [url](https://developers.arcgis.com/javascript/latest/references/core/layers/CSVLayer/#url) property of the layer.
|
|
368
368
|
* The following snippet shows how to create a new CSVLayer from a blob url.
|
|
369
369
|
*
|
|
@@ -938,6 +938,7 @@ export default class CSVLayer extends CSVLayerSuperclass {
|
|
|
938
938
|
* @returns The query object representing the layer's definition expression and other configurations.
|
|
939
939
|
* @see [Sample - Query features from a FeatureLayer](https://developers.arcgis.com/javascript/latest/sample-code/featurelayer-query/)
|
|
940
940
|
* @example
|
|
941
|
+
* ```js
|
|
941
942
|
* // Get a query object for the layer's current configuration
|
|
942
943
|
* queryParams.outFields will be set to ["*"] to get values for all available fields.
|
|
943
944
|
* const queryParams = layer.createQuery();
|
|
@@ -951,7 +952,9 @@ export default class CSVLayer extends CSVLayerSuperclass {
|
|
|
951
952
|
* // prints the array of result graphics to the console
|
|
952
953
|
* console.log(results.features);
|
|
953
954
|
* });
|
|
955
|
+
* ```
|
|
954
956
|
* @example
|
|
957
|
+
* ```js
|
|
955
958
|
* // this snippet shows the query parameter object that is returned
|
|
956
959
|
* // from FeatureLayer.createQuery().
|
|
957
960
|
* const queryParams = new Query();
|
|
@@ -974,12 +977,15 @@ export default class CSVLayer extends CSVLayerSuperclass {
|
|
|
974
977
|
* queryParams.outFields = ["*"];
|
|
975
978
|
* queryParams.where = layer.definitionExpression || "1=1";
|
|
976
979
|
* queryParams.multipatchOption = layer.geometryType === "multipatch" ? "xyFootprint" : null;
|
|
980
|
+
* ```
|
|
977
981
|
* @example
|
|
982
|
+
* ```js
|
|
978
983
|
* // this snippet shows query image footprints from imagery layer
|
|
979
984
|
* // that honors the layer's definitionExpression and other configurations.
|
|
980
985
|
* if (imageryLayer.capabilities.operations.supportsQuery) {
|
|
981
986
|
* const query = imageryLayer.createQuery();
|
|
982
987
|
* const rasters = await imageryLayer.queryRasters(query);
|
|
988
|
+
* ```
|
|
983
989
|
*/
|
|
984
990
|
createQuery(): Query;
|
|
985
991
|
/**
|
package/layers/CatalogLayer.d.ts
CHANGED
|
@@ -435,6 +435,7 @@ export default class CatalogLayer extends CatalogLayerSuperclass {
|
|
|
435
435
|
* @returns The query object representing the layer's definition expression and other configurations.
|
|
436
436
|
* @see [Sample - Query features from a FeatureLayer](https://developers.arcgis.com/javascript/latest/sample-code/featurelayer-query/)
|
|
437
437
|
* @example
|
|
438
|
+
* ```js
|
|
438
439
|
* // Get a query object for the layer's current configuration
|
|
439
440
|
* queryParams.outFields will be set to ["*"] to get values for all available fields.
|
|
440
441
|
* const queryParams = layer.createQuery();
|
|
@@ -448,7 +449,9 @@ export default class CatalogLayer extends CatalogLayerSuperclass {
|
|
|
448
449
|
* // prints the array of result graphics to the console
|
|
449
450
|
* console.log(results.features);
|
|
450
451
|
* });
|
|
452
|
+
* ```
|
|
451
453
|
* @example
|
|
454
|
+
* ```js
|
|
452
455
|
* // this snippet shows the query parameter object that is returned
|
|
453
456
|
* // from FeatureLayer.createQuery().
|
|
454
457
|
* const queryParams = new Query();
|
|
@@ -471,12 +474,15 @@ export default class CatalogLayer extends CatalogLayerSuperclass {
|
|
|
471
474
|
* queryParams.outFields = ["*"];
|
|
472
475
|
* queryParams.where = layer.definitionExpression || "1=1";
|
|
473
476
|
* queryParams.multipatchOption = layer.geometryType === "multipatch" ? "xyFootprint" : null;
|
|
477
|
+
* ```
|
|
474
478
|
* @example
|
|
479
|
+
* ```js
|
|
475
480
|
* // this snippet shows query image footprints from imagery layer
|
|
476
481
|
* // that honors the layer's definitionExpression and other configurations.
|
|
477
482
|
* if (imageryLayer.capabilities.operations.supportsQuery) {
|
|
478
483
|
* const query = imageryLayer.createQuery();
|
|
479
484
|
* const rasters = await imageryLayer.queryRasters(query);
|
|
485
|
+
* ```
|
|
480
486
|
*/
|
|
481
487
|
createQuery(): Query;
|
|
482
488
|
/**
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{__decorate as e}from"tslib";import r from"../request.js";import t from"../core/Error.js";import{join as o}from"../core/urlUtils.js";import{subclass as s}from"../core/accessorSupport/decorators.js";import{property as a}from"../core/accessorSupport/decorators/property.js";import i from"./FeatureLayer.js";let n=class extends i{constructor(e){super(e),this.supportedSourceTypes=new Set(["Dimension Layer"
|
|
2
|
+
import{__decorate as e}from"tslib";import r from"../request.js";import t from"../core/Error.js";import{join as o}from"../core/urlUtils.js";import{subclass as s}from"../core/accessorSupport/decorators.js";import{property as a}from"../core/accessorSupport/decorators/property.js";import i from"./FeatureLayer.js";let n=class extends i{constructor(e){super(e),this.supportedSourceTypes=new Set(["Dimension Layer"]),this.type="dimension-feature",this._dataElementPromise=null}async fetchDataElement(e){if(this._dataElementPromise)return this._dataElementPromise;if(!this.url)throw new Error("InternalError: A URL is required to retrieve the data element for this layer.");const s=o(this.url,"queryDataElements"),a={f:"json",layers:this.layerId};return this._dataElementPromise=r(s,{...e,responseType:"json",query:a}).then(e=>{const r=e.data.layerDataElements,o=this.layerId,s=r.find(e=>e.layerId===o);if(!s)throw new t("fetchDataElement:not-available","A data element for this layer could not be retrieved.");return s.dataElement}),this._dataElementPromise}};e([a({json:{read:!1},value:"dimension-feature",readOnly:!0})],n.prototype,"type",void 0),n=e([s("esri.layers.DimensionFeatureLayer")],n);const l=n;export{l as default};
|
package/layers/FeatureLayer.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ import type FeatureType from "./support/FeatureType.js";
|
|
|
9
9
|
import type Field from "./support/Field.js";
|
|
10
10
|
import type FieldConfiguration from "./support/FieldConfiguration.js";
|
|
11
11
|
import type LabelClass from "./support/LabelClass.js";
|
|
12
|
+
import type Subtype from "./support/Subtype.js";
|
|
12
13
|
import type SymbolLayerDrawing from "./support/SymbolLayerDrawing.js";
|
|
13
14
|
import type PortalItem from "../portal/PortalItem.js";
|
|
14
15
|
import type DynamicDataLayer from "../rest/layerSources/DynamicDataLayer.js";
|
|
@@ -26,6 +27,7 @@ import type { LayerSaveAsOptions, LayerSaveOptions, FeatureTitleOptions } from "
|
|
|
26
27
|
import type { APIKeyMixin, APIKeyMixinProperties } from "./mixins/APIKeyMixin.js";
|
|
27
28
|
import type { BlendLayer, BlendLayerProperties } from "./mixins/BlendLayer.js";
|
|
28
29
|
import type { CustomParametersMixin, CustomParametersMixinProperties } from "./mixins/CustomParametersMixin.js";
|
|
30
|
+
import type { DataSeriesLayer, DataSeriesLayerProperties } from "./mixins/DataSeriesLayer.js";
|
|
29
31
|
import type { DisplayFilteredLayer, DisplayFilteredLayerProperties } from "./mixins/DisplayFilteredLayer.js";
|
|
30
32
|
import type { EditBusLayer, EditBusLayerEvents } from "./mixins/EditBusLayer.js";
|
|
31
33
|
import type { FeatureEffectLayer, FeatureEffectLayerProperties } from "./mixins/FeatureEffectLayer.js";
|
|
@@ -67,7 +69,7 @@ import type { SimpleRendererProperties } from "../renderers/SimpleRenderer.js";
|
|
|
67
69
|
import type { FeatureTemplateProperties } from "./support/FeatureTemplate.js";
|
|
68
70
|
import type { FeatureTypeProperties } from "./support/FeatureType.js";
|
|
69
71
|
|
|
70
|
-
export interface FeatureLayerProperties extends LayerProperties, APIKeyMixinProperties, CustomParametersMixinProperties, PortalLayerProperties, OperationalLayerProperties, RefreshableLayerProperties, ScaleRangeLayerProperties, TrackableLayerProperties, TemporalLayerProperties, OrderedLayerProperties, BlendLayerProperties, DisplayFilteredLayerProperties, PublishableLayerProperties, FeatureEffectLayerProperties, FeatureReductionLayerProperties, FeatureLayerBaseProperties, Partial<Pick<FeatureLayer, "charts" | "editingEnabled" | "labelsVisible" | "legendEnabled" | "outFields" | "popupEnabled" | "screenSizePerspectiveEnabled" | "typeIdField" | "uniqueIdFields">> {
|
|
72
|
+
export interface FeatureLayerProperties extends LayerProperties, APIKeyMixinProperties, CustomParametersMixinProperties, PortalLayerProperties, OperationalLayerProperties, RefreshableLayerProperties, ScaleRangeLayerProperties, TrackableLayerProperties, DataSeriesLayerProperties, TemporalLayerProperties, OrderedLayerProperties, BlendLayerProperties, DisplayFilteredLayerProperties, PublishableLayerProperties, FeatureEffectLayerProperties, FeatureReductionLayerProperties, FeatureLayerBaseProperties, Partial<Pick<FeatureLayer, "charts" | "editingEnabled" | "labelsVisible" | "legendEnabled" | "outFields" | "popupEnabled" | "screenSizePerspectiveEnabled" | "typeIdField" | "uniqueIdFields">> {
|
|
71
73
|
/**
|
|
72
74
|
* This property is used to configure the associated layer's [Feature Table](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature-table/). It is meant to configure how the columns display within the table in regard to visibility, column order, and sorting.
|
|
73
75
|
*
|
|
@@ -93,7 +95,7 @@ export interface FeatureLayerProperties extends LayerProperties, APIKeyMixinProp
|
|
|
93
95
|
* method on the Sublayer to construct the layer for you.
|
|
94
96
|
*
|
|
95
97
|
* This only applies to map services with
|
|
96
|
-
* [dynamic layers](https://
|
|
98
|
+
* [dynamic layers](https://doc.esri.com/en/arcgis-enterprise/latest/administer/about-dynamic-layers.html) enabled.
|
|
97
99
|
*
|
|
98
100
|
* > [!WARNING]
|
|
99
101
|
* >
|
|
@@ -162,6 +164,7 @@ export interface FeatureLayerProperties extends LayerProperties, APIKeyMixinProp
|
|
|
162
164
|
* @see [FeatureLayer.getFieldConfiguration](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#getFieldConfiguration)
|
|
163
165
|
* @see [FeatureLayer.getFieldAlias](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#getFieldAlias)
|
|
164
166
|
* @example
|
|
167
|
+
* ```js
|
|
165
168
|
* // Adding a new field configuration
|
|
166
169
|
* const addNewConfig = (layer, fieldName, alias, fieldFormat) => {
|
|
167
170
|
* // Check if there is already an existing configuration for fieldName
|
|
@@ -173,7 +176,9 @@ export interface FeatureLayerProperties extends LayerProperties, APIKeyMixinProp
|
|
|
173
176
|
* layer.fieldConfigurations = newConfigs;
|
|
174
177
|
* }
|
|
175
178
|
* };
|
|
179
|
+
* ```
|
|
176
180
|
* @example
|
|
181
|
+
* ```js
|
|
177
182
|
* // Updating an existing field configuration
|
|
178
183
|
* const updateConfig = (layer, fieldName, alias, fieldFormat) => {
|
|
179
184
|
* const existingConfig = layer.getFieldConfiguration(fieldName);
|
|
@@ -188,7 +193,9 @@ export interface FeatureLayerProperties extends LayerProperties, APIKeyMixinProp
|
|
|
188
193
|
* layer.fieldConfigurations = newConfigs;
|
|
189
194
|
* }
|
|
190
195
|
* };
|
|
196
|
+
* ```
|
|
191
197
|
* @example
|
|
198
|
+
* ```js
|
|
192
199
|
* // Deleting an existing field configuration
|
|
193
200
|
* const deleteConfig = (layer, fieldName) => {
|
|
194
201
|
* const existingConfig = layer.getFieldConfiguration(fieldName);
|
|
@@ -199,6 +206,7 @@ export interface FeatureLayerProperties extends LayerProperties, APIKeyMixinProp
|
|
|
199
206
|
* layer.fieldConfigurations = newConfigs;
|
|
200
207
|
* }
|
|
201
208
|
* };
|
|
209
|
+
* ```
|
|
202
210
|
*/
|
|
203
211
|
fieldConfigurations?: FieldConfigurationProperties[] | null;
|
|
204
212
|
/**
|
|
@@ -437,6 +445,14 @@ export interface FeatureLayerProperties extends LayerProperties, APIKeyMixinProp
|
|
|
437
445
|
* layer.load().then(() => console.log(layer.isTable))
|
|
438
446
|
*/
|
|
439
447
|
source?: ReadonlyArrayOrCollection<Graphic>;
|
|
448
|
+
/** The name of the field which holds the id of the [FeatureLayerBase.subtypes](https://developers.arcgis.com/javascript/latest/references/core/layers/mixins/FeatureLayerBase/#subtypes). */
|
|
449
|
+
subtypeField?: string;
|
|
450
|
+
/**
|
|
451
|
+
* An array of [subtypes](https://developers.arcgis.com/javascript/latest/references/core/layers/support/Subtype/) defined in the layer.
|
|
452
|
+
*
|
|
453
|
+
* @see [Introduction to subtypes](https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/an-overview-of-subtypes.htm)
|
|
454
|
+
*/
|
|
455
|
+
subtypes?: Subtype[] | null;
|
|
440
456
|
/**
|
|
441
457
|
* Defines symbol layer drawing options. Use symbol layer drawing to override the default drawing order of [CIMSymbol](https://developers.arcgis.com/javascript/latest/references/core/symbols/CIMSymbol/)s on maps.
|
|
442
458
|
* When symbols have more than one symbol layer (such as a cased road symbol), symbol layer drawing can also control how those individual symbol layers are ordered across symbol classes.
|
|
@@ -481,8 +497,8 @@ export interface FeatureLayerEvents extends EditBusLayerEvents, RefreshableLayer
|
|
|
481
497
|
* ## Overview
|
|
482
498
|
*
|
|
483
499
|
* A FeatureLayer is a single layer that can be created from a
|
|
484
|
-
* [Map Service](https://
|
|
485
|
-
* or [Feature Service](https://
|
|
500
|
+
* [Map Service](https://doc.esri.com/en/arcgis-enterprise/latest/administer/what-is-a-map-service.html)
|
|
501
|
+
* or [Feature Service](https://doc.esri.com/en/arcgis-enterprise/latest/administer/what-is-a-feature-service-.html);
|
|
486
502
|
* ArcGIS Online or ArcGIS Enterprise portal items; or from an array of client-side features. The layer can be either a
|
|
487
503
|
* spatial (has geographic features) or non-spatial (table).
|
|
488
504
|
*
|
|
@@ -842,7 +858,7 @@ export abstract class __FeatureLayerSansType extends FeatureLayerSuperclass {
|
|
|
842
858
|
* method on the Sublayer to construct the layer for you.
|
|
843
859
|
*
|
|
844
860
|
* This only applies to map services with
|
|
845
|
-
* [dynamic layers](https://
|
|
861
|
+
* [dynamic layers](https://doc.esri.com/en/arcgis-enterprise/latest/administer/about-dynamic-layers.html) enabled.
|
|
846
862
|
*
|
|
847
863
|
* > [!WARNING]
|
|
848
864
|
* >
|
|
@@ -920,6 +936,7 @@ export abstract class __FeatureLayerSansType extends FeatureLayerSuperclass {
|
|
|
920
936
|
* @see [FeatureLayer.getFieldConfiguration](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#getFieldConfiguration)
|
|
921
937
|
* @see [FeatureLayer.getFieldAlias](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#getFieldAlias)
|
|
922
938
|
* @example
|
|
939
|
+
* ```js
|
|
923
940
|
* // Adding a new field configuration
|
|
924
941
|
* const addNewConfig = (layer, fieldName, alias, fieldFormat) => {
|
|
925
942
|
* // Check if there is already an existing configuration for fieldName
|
|
@@ -931,7 +948,9 @@ export abstract class __FeatureLayerSansType extends FeatureLayerSuperclass {
|
|
|
931
948
|
* layer.fieldConfigurations = newConfigs;
|
|
932
949
|
* }
|
|
933
950
|
* };
|
|
951
|
+
* ```
|
|
934
952
|
* @example
|
|
953
|
+
* ```js
|
|
935
954
|
* // Updating an existing field configuration
|
|
936
955
|
* const updateConfig = (layer, fieldName, alias, fieldFormat) => {
|
|
937
956
|
* const existingConfig = layer.getFieldConfiguration(fieldName);
|
|
@@ -946,7 +965,9 @@ export abstract class __FeatureLayerSansType extends FeatureLayerSuperclass {
|
|
|
946
965
|
* layer.fieldConfigurations = newConfigs;
|
|
947
966
|
* }
|
|
948
967
|
* };
|
|
968
|
+
* ```
|
|
949
969
|
* @example
|
|
970
|
+
* ```js
|
|
950
971
|
* // Deleting an existing field configuration
|
|
951
972
|
* const deleteConfig = (layer, fieldName) => {
|
|
952
973
|
* const existingConfig = layer.getFieldConfiguration(fieldName);
|
|
@@ -957,6 +978,7 @@ export abstract class __FeatureLayerSansType extends FeatureLayerSuperclass {
|
|
|
957
978
|
* layer.fieldConfigurations = newConfigs;
|
|
958
979
|
* }
|
|
959
980
|
* };
|
|
981
|
+
* ```
|
|
960
982
|
*/
|
|
961
983
|
get fieldConfigurations(): FieldConfiguration[] | null | undefined;
|
|
962
984
|
set fieldConfigurations(value: FieldConfigurationProperties[] | null | undefined);
|
|
@@ -1307,6 +1329,14 @@ export abstract class __FeatureLayerSansType extends FeatureLayerSuperclass {
|
|
|
1307
1329
|
*/
|
|
1308
1330
|
get source(): Collection<Graphic>;
|
|
1309
1331
|
set source(value: ReadonlyArrayOrCollection<Graphic>);
|
|
1332
|
+
/** The name of the field which holds the id of the [FeatureLayerBase.subtypes](https://developers.arcgis.com/javascript/latest/references/core/layers/mixins/FeatureLayerBase/#subtypes). */
|
|
1333
|
+
accessor subtypeField: string;
|
|
1334
|
+
/**
|
|
1335
|
+
* An array of [subtypes](https://developers.arcgis.com/javascript/latest/references/core/layers/support/Subtype/) defined in the layer.
|
|
1336
|
+
*
|
|
1337
|
+
* @see [Introduction to subtypes](https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/an-overview-of-subtypes.htm)
|
|
1338
|
+
*/
|
|
1339
|
+
accessor subtypes: Subtype[] | null | undefined;
|
|
1310
1340
|
/**
|
|
1311
1341
|
* Defines symbol layer drawing options. Use symbol layer drawing to override the default drawing order of [CIMSymbol](https://developers.arcgis.com/javascript/latest/references/core/symbols/CIMSymbol/)s on maps.
|
|
1312
1342
|
* When symbols have more than one symbol layer (such as a cased road symbol), symbol layer drawing can also control how those individual symbol layers are ordered across symbol classes.
|
|
@@ -1463,10 +1493,11 @@ export abstract class __FeatureLayerSansType extends FeatureLayerSuperclass {
|
|
|
1463
1493
|
* @returns An array of field configuration objects, or `null` if the layer does not have any fields that require formatting.
|
|
1464
1494
|
* @since 4.34
|
|
1465
1495
|
* @see [FeatureLayer.fieldConfigurations](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#fieldConfigurations)
|
|
1466
|
-
* @returns An array of field configuration objects, or `null` if the layer does not have any fields that require formatting.
|
|
1467
1496
|
* @example
|
|
1497
|
+
* ```js
|
|
1468
1498
|
* const fieldConfigs = layer.createFieldConfigurations();
|
|
1469
1499
|
* layer.fieldConfigurations = fieldConfigs;
|
|
1500
|
+
* ```
|
|
1470
1501
|
*/
|
|
1471
1502
|
createFieldConfigurations(): FieldConfiguration[] | null | undefined;
|
|
1472
1503
|
/**
|
|
@@ -1490,6 +1521,7 @@ export abstract class __FeatureLayerSansType extends FeatureLayerSuperclass {
|
|
|
1490
1521
|
* @returns The query object representing the layer's definition expression and other configurations.
|
|
1491
1522
|
* @see [Sample - Query features from a FeatureLayer](https://developers.arcgis.com/javascript/latest/sample-code/featurelayer-query/)
|
|
1492
1523
|
* @example
|
|
1524
|
+
* ```js
|
|
1493
1525
|
* // Get a query object for the layer's current configuration
|
|
1494
1526
|
* queryParams.outFields will be set to ["*"] to get values for all available fields.
|
|
1495
1527
|
* const queryParams = layer.createQuery();
|
|
@@ -1503,7 +1535,9 @@ export abstract class __FeatureLayerSansType extends FeatureLayerSuperclass {
|
|
|
1503
1535
|
* // prints the array of result graphics to the console
|
|
1504
1536
|
* console.log(results.features);
|
|
1505
1537
|
* });
|
|
1538
|
+
* ```
|
|
1506
1539
|
* @example
|
|
1540
|
+
* ```js
|
|
1507
1541
|
* // this snippet shows the query parameter object that is returned
|
|
1508
1542
|
* // from FeatureLayer.createQuery().
|
|
1509
1543
|
* const queryParams = new Query();
|
|
@@ -1526,12 +1560,15 @@ export abstract class __FeatureLayerSansType extends FeatureLayerSuperclass {
|
|
|
1526
1560
|
* queryParams.outFields = ["*"];
|
|
1527
1561
|
* queryParams.where = layer.definitionExpression || "1=1";
|
|
1528
1562
|
* queryParams.multipatchOption = layer.geometryType === "multipatch" ? "xyFootprint" : null;
|
|
1563
|
+
* ```
|
|
1529
1564
|
* @example
|
|
1565
|
+
* ```js
|
|
1530
1566
|
* // this snippet shows query image footprints from imagery layer
|
|
1531
1567
|
* // that honors the layer's definitionExpression and other configurations.
|
|
1532
1568
|
* if (imageryLayer.capabilities.operations.supportsQuery) {
|
|
1533
1569
|
* const query = imageryLayer.createQuery();
|
|
1534
1570
|
* const rasters = await imageryLayer.queryRasters(query);
|
|
1571
|
+
* ```
|
|
1535
1572
|
*/
|
|
1536
1573
|
createQuery(): Query;
|
|
1537
1574
|
/**
|
|
@@ -2240,4 +2277,4 @@ export abstract class __FeatureLayerSansType extends FeatureLayerSuperclass {
|
|
|
2240
2277
|
*/
|
|
2241
2278
|
updateAttachment(feature: Graphic, attachmentId: number, attachment: HTMLFormElement | FormData): Promise<FeatureEditResult>;
|
|
2242
2279
|
}
|
|
2243
|
-
declare const FeatureLayerSuperclass: typeof Layer & typeof ClonableMixin & typeof APIKeyMixin & typeof CustomParametersMixin & typeof MultiOriginJSONSupportMixin & typeof PortalLayer & typeof OperationalLayer & typeof RefreshableLayer & typeof ScaleRangeLayer & typeof TrackableLayer & typeof TemporalLayer & typeof OrderedLayer & typeof BlendLayer & typeof DisplayFilteredLayer & typeof EditBusLayer & typeof PublishableLayer & typeof FeatureEffectLayer & typeof FeatureReductionLayer & typeof FeatureLayerBase
|
|
2280
|
+
declare const FeatureLayerSuperclass: typeof Layer & typeof ClonableMixin & typeof APIKeyMixin & typeof CustomParametersMixin & typeof MultiOriginJSONSupportMixin & typeof PortalLayer & typeof OperationalLayer & typeof RefreshableLayer & typeof ScaleRangeLayer & typeof TrackableLayer & typeof DataSeriesLayer & typeof TemporalLayer & typeof OrderedLayer & typeof BlendLayer & typeof DisplayFilteredLayer & typeof EditBusLayer & typeof PublishableLayer & typeof FeatureEffectLayer & typeof FeatureReductionLayer & typeof FeatureLayerBase
|