@arcgis/core 5.1.0-next.116 → 5.1.0-next.118
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/Graphic.d.ts +2 -1
- package/analysis/ShadowCast/TotalDurationOptions.d.ts +7 -9
- package/analysis/ShadowCastAnalysis.d.ts +6 -5
- package/arcgisGlobal.d.ts +2 -1
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/{641b8622fbb93c84671d.js → 06ab868cced9c607840c.js} +1 -1
- package/assets/esri/core/workers/chunks/{f231548c8ac7ecb59927.js → 0fbf9bf52ecb4cd8293b.js} +1 -1
- package/assets/esri/core/workers/chunks/{eb16976b4eb7f1300f4a.js → 107550695896806c2306.js} +1 -1
- package/assets/esri/core/workers/chunks/{701125f6cdd91ff3655f.js → 1252da05832e576d4def.js} +2 -2
- package/assets/esri/core/workers/chunks/1a527c0740d9f4fa0791.js +1 -0
- package/assets/esri/core/workers/chunks/{a814069325125466506b.js → 1a95370ddc22729ab3c6.js} +1 -1
- package/assets/esri/core/workers/chunks/{c88fd4f69cb2b53b48ec.js → 1b0765403b06294b3e1d.js} +1 -1
- package/assets/esri/core/workers/chunks/{18c4207b1cb0777560ba.js → 1dd1af5978e40295fb62.js} +1 -1
- package/assets/esri/core/workers/chunks/{425c04b26a6ec6d04b08.js → 201007cf1a91e2b126fc.js} +1 -1
- package/assets/esri/core/workers/chunks/20e2d11f6de438ee883e.js +1 -0
- package/assets/esri/core/workers/chunks/{db012650fb34c10cecd0.js → 24acf3dd541347c2b297.js} +1 -1
- package/assets/esri/core/workers/chunks/{94a5a834e32fc6cc6ed4.js → 2e11b4e9d66474a60064.js} +1 -1
- package/assets/esri/core/workers/chunks/{fbcf09526dc1bbe94b91.js → 2e8db0f05df2e38a14e1.js} +2 -2
- package/assets/esri/core/workers/chunks/{8e7ce4835b3106349684.js → 2ee9514396d22638870c.js} +1 -1
- package/assets/esri/core/workers/chunks/{62b5972d0ef9bf173308.js → 2f2cb40378399d7f5575.js} +1 -1
- package/assets/esri/core/workers/chunks/{9a11ff75009fef45b8c1.js → 325bfac7cfa28a6d568f.js} +1 -1
- package/assets/esri/core/workers/chunks/{102ff3710db4ba5f083d.js → 3bf6d55511cd7722eb93.js} +1 -1
- package/assets/esri/core/workers/chunks/40df6ffeb61fea80aae3.js +1 -0
- package/assets/esri/core/workers/chunks/{7df05c3c82cd27b77300.js → 423a9882abd4a6dadf86.js} +1 -1
- package/assets/esri/core/workers/chunks/{a01f0ffbe555f690bdca.js → 466c250537415f12eb59.js} +1 -1
- package/assets/esri/core/workers/chunks/{05c47ca3a266a271974b.js → 46ca0d8573450095fcca.js} +1 -1
- package/assets/esri/core/workers/chunks/46d3ddf62fa7a76dd57d.js +1 -0
- package/assets/esri/core/workers/chunks/{51816d79c6be15e4bfcf.js → 46fbd519cc1a37923bfc.js} +1 -1
- package/assets/esri/core/workers/chunks/{b0c242c4f5412e4cce73.js → 47d49777a3b3cd8e18bd.js} +1 -1
- package/assets/esri/core/workers/chunks/{22d4521637806a8b828f.js → 4bfffdfbe6d467f143a4.js} +1 -1
- package/assets/esri/core/workers/chunks/{7c2d7df4ef4d775cd648.js → 4d09ef7c57ab7f9782fe.js} +1 -1
- package/assets/esri/core/workers/chunks/{dce37324a2382d2eef0d.js → 552945a73a95cd2a9f54.js} +1 -1
- package/assets/esri/core/workers/chunks/5784ddd18395f4d76016.js +640 -0
- package/assets/esri/core/workers/chunks/{0a530fbbb4486c670ea2.js → 5c7aff9604b4576a0e1d.js} +1 -1
- package/assets/esri/core/workers/chunks/{0954e82f739d25001bcb.js → 603177137eb680afe371.js} +1 -1
- package/assets/esri/core/workers/chunks/62206d5d497b95fc4caf.js +1 -0
- package/assets/esri/core/workers/chunks/{4cecc582513b8a83f194.js → 65621650a53f69f7b05a.js} +1 -1
- package/assets/esri/core/workers/chunks/{24b43fb12fc3009fdc30.js → 66eea3f203c3ce98ec67.js} +1 -1
- package/assets/esri/core/workers/chunks/{a70fa35b2d19460637e9.js → 70d8f5bdb452cee41536.js} +2 -2
- package/assets/esri/core/workers/chunks/{ea4057090cf15d602585.js → 74bdf678a4fb6befdac7.js} +1 -1
- package/assets/esri/core/workers/chunks/{92a7735973b2f82a66ce.js → 74fd31d5404a061bfaed.js} +1 -1
- package/assets/esri/core/workers/chunks/7623778e065bc78ccbba.js +1 -0
- package/assets/esri/core/workers/chunks/{f69c44479ee3fd8c831d.js → 7d220f574ebf2740c208.js} +1 -1
- package/assets/esri/core/workers/chunks/7e4571162b86dad86d23.js +2 -0
- package/assets/esri/core/workers/chunks/{e95ce76b5b816256a519.js → 7f54d3835c0ce573a942.js} +1 -1
- package/assets/esri/core/workers/chunks/804ab5f614efa12a131b.js +1 -0
- package/assets/esri/core/workers/chunks/823789261ca3338f0fa8.js +1 -0
- package/assets/esri/core/workers/chunks/{5cdf87e7a59ace38df87.js → 84b0b6e099d949e0fea5.js} +1 -1
- package/assets/esri/core/workers/chunks/{702a3ef9e1b3442cbee7.js → 8b8b63be961eb73250a0.js} +1 -1
- package/assets/esri/core/workers/chunks/8e1865392681d390ab2e.js +1 -0
- package/assets/esri/core/workers/chunks/93826180cfd66a6d2596.js +1 -0
- package/assets/esri/core/workers/chunks/{90b0fe5584fb6fc99766.js → 9d27cc631bab8aa7479e.js} +1 -1
- package/assets/esri/core/workers/chunks/{3b10a962e4ff2f3da5bc.js → 9dd3ecee6c1c9c06edc4.js} +1 -1
- package/assets/esri/core/workers/chunks/9f23a61c60949459c14f.js +30 -0
- package/assets/esri/core/workers/chunks/a730235da6ba2b2d9f47.js +30 -0
- package/assets/esri/core/workers/chunks/{762e23466308f22d7076.js → aea384f4d88121da8f54.js} +1 -1
- package/assets/esri/core/workers/chunks/be0eab592db0e651b023.js +30 -0
- package/assets/esri/core/workers/chunks/be70809bc6c718ade7df.js +1 -0
- package/assets/esri/core/workers/chunks/bfc988edc63ca28e5397.js +2 -0
- package/assets/esri/core/workers/chunks/c44be4aaba829e6d149d.js +1 -0
- package/assets/esri/core/workers/chunks/{3e9709e61015993b1c7d.js → ce77a0e074c17dfd02bd.js} +1 -1
- package/assets/esri/core/workers/chunks/{b44f1d08784f2e50c853.js → d3af51a6d9014ff46170.js} +1 -1
- package/assets/esri/core/workers/chunks/{9eab1e1535494ff2050d.js → d5e6ae5fd004bed33578.js} +43 -21
- package/assets/esri/core/workers/chunks/d6d87bfa9e6d233385a9.js +262 -0
- package/assets/esri/core/workers/chunks/{efae58f746b108163a50.js → e078ff1f79d82d27497e.js} +1 -1
- package/assets/esri/core/workers/chunks/e178cd0e9178d6716410.js +1 -0
- package/assets/esri/core/workers/chunks/{185c670eb99474906836.js → edb55329305becdb204f.js} +1 -1
- package/assets/esri/core/workers/chunks/{5c6742728fa705d2e16e.js → f3f685c937e9d7f5d4db.js} +1 -1
- package/assets/esri/core/workers/chunks/f58ddf37dee066a5c0d8.js +1 -0
- package/assets/esri/themes/base/widgets/_BatchAttributeForm.scss +27 -4
- package/assets/esri/themes/base/widgets/_Grid.scss +3 -3
- package/assets/esri/themes/dark/main.css +1 -1
- package/assets/esri/themes/light/main.css +1 -1
- package/assets/esri/themes/light/view.css +1 -1
- package/chunks/GlobalIllumination.glsl.js +45 -23
- package/chunks/GlobalIlluminationBlur.glsl.js +1 -1
- package/chunks/ShadowCastVisualize.glsl.js +20 -23
- package/config.js +1 -1
- package/editing/templates/{TemplateListing.d.ts → TemplateListItem.d.ts} +35 -6
- package/editing/templates/{TemplateListing.js → TemplateListItem.js} +1 -1
- package/interfaces.d.ts +7 -0
- package/kernel.js +1 -1
- package/layers/FeatureLayer.d.ts +28 -2
- package/layers/ImageryTileLayer.js +1 -1
- package/layers/mixins/ArcGISImageService.js +1 -1
- package/layers/mixins/PortalLayer.js +1 -1
- package/layers/mixins/TiledImagery.js +1 -1
- package/layers/raster/datasets/ImageAuxRaster.js +1 -1
- package/layers/raster/datasets/RasterFactory.js +1 -1
- package/layers/support/RasterJobHandler.js +1 -1
- package/layers/support/RasterWorker.js +1 -1
- package/layers/support/SymbolLayerDrawing.d.ts +10 -0
- package/layers/support/rasterJobHelper.js +2 -0
- package/layers/types.d.ts +2 -3
- package/package.json +2 -2
- package/rest/support/AttributeBinsQuery.d.ts +5 -5
- package/rest/support/OutDistance.d.ts +50 -0
- package/rest/support/OutDistance.js +1 -1
- package/rest/support/Query.d.ts +46 -5
- package/rest/support/TopFeaturesQuery.d.ts +5 -5
- package/support/revision.js +1 -1
- package/views/2d/engine/vectorTiles/shaders/VTLBackgroundMaterial.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/vector-tiles/VTLShaderCircle.js +1 -1
- package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
- package/views/3d/analysis/ShadowCast/ShadowCastTooltip.js +1 -1
- package/views/3d/analysis/ShadowCastAnalysisView3D.js +1 -1
- package/views/3d/interactive/editingTools/transform/ExtentTransformTool.js +1 -1
- package/views/3d/layers/graphics/Graphics3DExtrudeSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/defaultSymbolComplexity.js +1 -1
- package/views/3d/webgl-engine/effects/globalIllumination/GlobalIllumination.glsl.js +1 -1
- package/views/3d/webgl-engine/lib/ShadowAccumulator.js +1 -1
- package/views/3d/webgl-engine/shaders/ditherNoise.glsl.js +1 -18
- package/views/3d/webgl-engine/shaders/oitResolution.glsl.js +1 -1
- package/views/layers/ImageryLayerView.d.ts +1 -1
- package/widgets/BatchAttributeForm/attachmentUtils.js +1 -1
- package/widgets/BatchAttributeForm/css.js +1 -1
- package/widgets/BatchAttributeForm/inputs/AttachmentElementInput.js +1 -1
- package/widgets/BatchAttributeForm/inputs/UtilityNetworkAssociationsElementInput.js +1 -1
- package/widgets/BatchAttributeForm.d.ts +26 -1
- package/widgets/BatchAttributeForm.js +1 -1
- package/widgets/Directions/DirectionsViewModel.js +1 -1
- package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
- package/widgets/Print/PrintViewModel.js +1 -1
- package/widgets/Sketch/support/PluginManager.js +1 -1
- package/widgets/Sketch.js +1 -1
- package/assets/esri/core/workers/chunks/074f5e6aaeafca13bf72.js +0 -1
- package/assets/esri/core/workers/chunks/0e9804ece1fd2d59751b.js +0 -1
- package/assets/esri/core/workers/chunks/1da2c34743897d1b6a24.js +0 -1
- package/assets/esri/core/workers/chunks/32f128a1615d71bbe899.js +0 -2
- package/assets/esri/core/workers/chunks/40df608337d562553ce1.js +0 -2
- package/assets/esri/core/workers/chunks/41074d383af3662673ca.js +0 -1
- package/assets/esri/core/workers/chunks/4325fa92dafca465ae26.js +0 -1
- package/assets/esri/core/workers/chunks/4b01858e05a4b90331a4.js +0 -30
- package/assets/esri/core/workers/chunks/708bd77e6d723e3f0aa8.js +0 -1
- package/assets/esri/core/workers/chunks/75a7de23c05435ec7649.js +0 -1
- package/assets/esri/core/workers/chunks/860465c4f44c373d0a1c.js +0 -1
- package/assets/esri/core/workers/chunks/86229634bf008f53dad4.js +0 -30
- package/assets/esri/core/workers/chunks/87a40e7f79f97ca637a9.js +0 -1
- package/assets/esri/core/workers/chunks/8a68884d40f6f6de1d12.js +0 -1
- package/assets/esri/core/workers/chunks/927c8ca7fd385b28a1b7.js +0 -640
- package/assets/esri/core/workers/chunks/978b7d10054e17161145.js +0 -1
- package/assets/esri/core/workers/chunks/aa03f770178693167aa0.js +0 -1
- package/assets/esri/core/workers/chunks/b78fb24b47d9f31f18c6.js +0 -1
- package/assets/esri/core/workers/chunks/c4872cf3b71d00f450e1.js +0 -1
- package/assets/esri/core/workers/chunks/e2ba57f7119b7182ba02.js +0 -279
- package/assets/esri/core/workers/chunks/ea2bf7c543cc536400b7.js +0 -30
- /package/assets/esri/core/workers/chunks/{701125f6cdd91ff3655f.js.LICENSE.txt → 1252da05832e576d4def.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{fbcf09526dc1bbe94b91.js.LICENSE.txt → 2e8db0f05df2e38a14e1.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{40df608337d562553ce1.js.LICENSE.txt → 70d8f5bdb452cee41536.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{32f128a1615d71bbe899.js.LICENSE.txt → 7e4571162b86dad86d23.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{a70fa35b2d19460637e9.js.LICENSE.txt → bfc988edc63ca28e5397.js.LICENSE.txt} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/core",
|
|
3
|
-
"version": "5.1.0-next.
|
|
3
|
+
"version": "5.1.0-next.118",
|
|
4
4
|
"homepage": "https://js.arcgis.com",
|
|
5
5
|
"description": "ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API",
|
|
6
6
|
"keywords": [
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@amcharts/amcharts5": "~5.17.2",
|
|
22
|
-
"@arcgis/toolkit": "^5.1.0-next.
|
|
22
|
+
"@arcgis/toolkit": "^5.1.0-next.123",
|
|
23
23
|
"@esri/arcgis-html-sanitizer": "~4.1.0",
|
|
24
24
|
"@esri/calcite-components": "^5.1.0-next.60",
|
|
25
25
|
"@vaadin/grid": "~25.1.3",
|
|
@@ -153,12 +153,12 @@ export default class AttributeBinsQuery extends AttributeBinsQuerySuperclass {
|
|
|
153
153
|
accessor datumTransformation: DatumTransformation | null | undefined;
|
|
154
154
|
/**
|
|
155
155
|
* Specifies a search distance from a given [Query.geometry](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#geometry) in a spatial query.
|
|
156
|
-
*
|
|
157
|
-
*
|
|
158
|
-
*
|
|
156
|
+
* The [units property](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#units) indicates the unit of measurement. In essence, setting this property
|
|
157
|
+
* creates a buffer at the specified size around the input [Query.geometry](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#geometry). The query will use that
|
|
158
|
+
* buffer to return features in the layer or layer view that adhere to the to the indicated [spatial relationship](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#spatialRelationship).
|
|
159
159
|
*
|
|
160
|
-
*
|
|
161
|
-
*
|
|
160
|
+
* If querying a feature service, the [supportsQueryWithDistance](https://developers.arcgis.com/rest/services-reference/enterprise/query-feature-service-layer/)
|
|
161
|
+
* capability must be `true`.
|
|
162
162
|
*/
|
|
163
163
|
accessor distance: number | null | undefined;
|
|
164
164
|
/**
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import type { ClonableMixin } from "../../core/Clonable.js";
|
|
2
|
+
import type { JSONSupport } from "../../core/JSONSupport.js";
|
|
3
|
+
|
|
4
|
+
/** @since 5.1 */
|
|
5
|
+
export interface OutDistanceProperties extends Partial<Pick<OutDistance, "ascendingOrder" | "outDistanceUnit" | "returnDistance">> {}
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Defines the [outDistance](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#outDistance) parameter on a [Query](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/) and specifies whether to return the distance
|
|
9
|
+
* of each feature from the input geometry's buffer in a query result. It also optionally controls the sort order of results based on distances of features
|
|
10
|
+
* from the input geometry's buffer.
|
|
11
|
+
* Distance values are returned only when the following conditions are met:
|
|
12
|
+
* - The [Query.distance](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#distance) is greater than 0
|
|
13
|
+
* - [Query.units](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#units) is specified
|
|
14
|
+
* - [Query.outDistance](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#outDistance) is specified and its [OutDistance.returnDistance](https://developers.arcgis.com/javascript/latest/references/core/rest/support/OutDistance/#returnDistance) property is `true`
|
|
15
|
+
*
|
|
16
|
+
* > [!WARNING]
|
|
17
|
+
* >
|
|
18
|
+
* > **Known Limitations**
|
|
19
|
+
* >
|
|
20
|
+
* > Supported only on a service-backed [FeatureLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/) where the [supportsOutDistance](https://developers.arcgis.com/javascript/latest/references/core/layers/types/#QueryCapabilities) capability
|
|
21
|
+
* > is `true`.
|
|
22
|
+
*
|
|
23
|
+
* @since 5.1
|
|
24
|
+
*/
|
|
25
|
+
export default class OutDistance extends OutDistanceSuperclass {
|
|
26
|
+
constructor(properties?: OutDistanceProperties);
|
|
27
|
+
/**
|
|
28
|
+
* Indicates whether to return the distance values in ascending order. This property is only applicable when [returnDistance](https://developers.arcgis.com/javascript/latest/references/core/rest/support/OutDistance/#returnDistance) is `true`.
|
|
29
|
+
*
|
|
30
|
+
* @default true
|
|
31
|
+
* @since 5.1
|
|
32
|
+
*/
|
|
33
|
+
accessor ascendingOrder: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* The distance unit of the returned distance values. This property is only applicable when
|
|
36
|
+
* [returnDistance](https://developers.arcgis.com/javascript/latest/references/core/rest/support/OutDistance/#returnDistance) is `true`.
|
|
37
|
+
*
|
|
38
|
+
* @since 5.1
|
|
39
|
+
*/
|
|
40
|
+
accessor outDistanceUnit: "feet" | "miles" | "nautical-miles" | "us-nautical-miles" | "meters" | "kilometers" | null | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* Indicates whether to return the calculated distance value for each feature in a distance query result.
|
|
43
|
+
* Distance values returned in each feature's [distance](https://developers.arcgis.com/javascript/latest/references/core/Graphic/#distance) property.
|
|
44
|
+
*
|
|
45
|
+
* @default true
|
|
46
|
+
* @since 5.1
|
|
47
|
+
*/
|
|
48
|
+
accessor returnDistance: boolean;
|
|
49
|
+
}
|
|
50
|
+
declare const OutDistanceSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{__decorate as t}from"tslib";import{ClonableMixin as e}from"../../core/Clonable.js";import{JSONMap as r}from"../../core/jsonMap.js";import{JSONSupport as o}from"../../core/JSONSupport.js";import{property as i,subclass as s}from"../../core/accessorSupport/decorators.js";import{enumeration as n}from"../../core/accessorSupport/decorators/enumeration.js";const c=new r({esriSRUnit_Meter:"meters",esriSRUnit_Kilometer:"kilometers",esriSRUnit_Foot:"feet",esriSRUnit_StatuteMile:"miles",esriSRUnit_NauticalMile:"nautical-miles",esriSRUnit_USNauticalMile:"us-nautical-miles"});let a=class extends(e(o)){constructor(){super(
|
|
2
|
+
import{__decorate as t}from"tslib";import{ClonableMixin as e}from"../../core/Clonable.js";import{JSONMap as r}from"../../core/jsonMap.js";import{JSONSupport as o}from"../../core/JSONSupport.js";import{property as i,subclass as s}from"../../core/accessorSupport/decorators.js";import{enumeration as n}from"../../core/accessorSupport/decorators/enumeration.js";const c=new r({esriSRUnit_Meter:"meters",esriSRUnit_Kilometer:"kilometers",esriSRUnit_Foot:"feet",esriSRUnit_StatuteMile:"miles",esriSRUnit_NauticalMile:"nautical-miles",esriSRUnit_USNauticalMile:"us-nautical-miles"});let a=class extends(e(o)){constructor(t){super(t),this.returnDistance=!0,this.ascendingOrder=!0,this.outDistanceUnit=null}};t([i({json:{write:!0}})],a.prototype,"returnDistance",void 0),t([i({json:{write:!0}})],a.prototype,"ascendingOrder",void 0),t([n(c,{ignoreUnknown:!1}),i({})],a.prototype,"outDistanceUnit",void 0),a=t([s("esri.rest.support.OutDistance")],a);const p=a;export{p as default};
|
package/rest/support/Query.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type Point from "../../geometry/Point.js";
|
|
2
2
|
import type SpatialReference from "../../geometry/SpatialReference.js";
|
|
3
3
|
import type GeographicTransformation from "../../geometry/operators/support/GeographicTransformation.js";
|
|
4
|
+
import type OutDistance from "./OutDistance.js";
|
|
4
5
|
import type QuantizationParameters from "./QuantizationParameters.js";
|
|
5
6
|
import type StatisticDefinition from "./StatisticDefinition.js";
|
|
6
7
|
import type TimeExtent from "../../time/TimeExtent.js";
|
|
@@ -18,6 +19,7 @@ import type { SpatialReferenceProperties } from "../../geometry/SpatialReference
|
|
|
18
19
|
import type { StatisticDefinitionProperties } from "./StatisticDefinition.js";
|
|
19
20
|
import type { QuantizationParametersProperties } from "./QuantizationParameters.js";
|
|
20
21
|
import type { TimeExtentProperties } from "../../time/TimeExtent.js";
|
|
22
|
+
import type { OutDistanceProperties } from "./OutDistance.js";
|
|
21
23
|
|
|
22
24
|
export interface QueryProperties extends Partial<Pick<Query, "aggregateIds" | "cacheHint" | "datumTransformation" | "distance" | "gdbVersion" | "geometryPrecision" | "groupByFieldsForStatistics" | "having" | "maxAllowableOffset" | "maxRecordCountFactor" | "multipatchOption" | "num" | "objectIds" | "orderByFields" | "outFields" | "parameterValues" | "rangeValues" | "relationParameter" | "returnCentroid" | "returnDistinctValues" | "returnExceededLimitFeatures" | "returnGeometry" | "returnM" | "returnQueryGeometry" | "returnStatisticsAggregatedIds" | "returnTrueCurves" | "returnZ" | "spatialRelationship" | "sqlFormat" | "start" | "text" | "units" | "where">> {
|
|
23
25
|
/**
|
|
@@ -36,6 +38,24 @@ export interface QueryProperties extends Partial<Pick<Query, "aggregateIds" | "c
|
|
|
36
38
|
* capability of the service being queried is `true`. This setting is provided in the layer resource.
|
|
37
39
|
*/
|
|
38
40
|
historicMoment?: (Date | number | string) | null;
|
|
41
|
+
/**
|
|
42
|
+
* Specifies whether to return the distance of each feature from the input geometry's buffer in a query result. It also optionally controls the sort
|
|
43
|
+
* order of results based on distances of features from the input geometry's buffer.
|
|
44
|
+
* Distance values are returned only when the following conditions are met:
|
|
45
|
+
* - The [Query.distance](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#distance) is greater than 0
|
|
46
|
+
* - [Query.units](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#units) is specified
|
|
47
|
+
* - The `outDistance` is specified and its [OutDistance.returnDistance](https://developers.arcgis.com/javascript/latest/references/core/rest/support/OutDistance/#returnDistance) property is `true`
|
|
48
|
+
*
|
|
49
|
+
* > [!WARNING]
|
|
50
|
+
* >
|
|
51
|
+
* > **Known Limitations**
|
|
52
|
+
* >
|
|
53
|
+
* > Supported only on a service-backed [FeatureLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/) where the [supportsOutDistance](https://developers.arcgis.com/javascript/latest/references/core/layers/types/#QueryCapabilities) capability
|
|
54
|
+
* > is `true`.
|
|
55
|
+
*
|
|
56
|
+
* @since 5.1
|
|
57
|
+
*/
|
|
58
|
+
outDistance?: OutDistanceProperties | null;
|
|
39
59
|
/**
|
|
40
60
|
* The spatial reference for the returned geometry. If not specified, the geometry is returned in the spatial
|
|
41
61
|
* reference of the queried layer.
|
|
@@ -411,12 +431,14 @@ export default class Query extends JSONSupport {
|
|
|
411
431
|
accessor datumTransformation: DatumTransformation | GeographicTransformation | null | undefined;
|
|
412
432
|
/**
|
|
413
433
|
* Specifies a search distance from a given [geometry](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#geometry) in a spatial query.
|
|
414
|
-
*
|
|
415
|
-
*
|
|
416
|
-
*
|
|
434
|
+
* The [units property](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#units) indicates the unit of measurement. In essence, setting this property
|
|
435
|
+
* creates a buffer at the specified size around the input [geometry](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#geometry). The query will use that
|
|
436
|
+
* buffer to return features in the layer or layer view that adhere to the to the indicated [spatial relationship](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#spatialRelationship).
|
|
437
|
+
*
|
|
438
|
+
* If querying a feature service, the [supportsQueryWithDistance](https://developers.arcgis.com/rest/services-reference/enterprise/query-feature-service-layer/)
|
|
439
|
+
* capability must be `true`.
|
|
417
440
|
*
|
|
418
|
-
*
|
|
419
|
-
* capability must be `true`.
|
|
441
|
+
* @see [Query.outDistance](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#outDistance)
|
|
420
442
|
*/
|
|
421
443
|
accessor distance: number | null | undefined;
|
|
422
444
|
/** Specifies the geodatabase version to display for feature service queries. */
|
|
@@ -584,6 +606,25 @@ export default class Query extends JSONSupport {
|
|
|
584
606
|
* @example query.orderByFields = ["STATE_NAME DESC"];
|
|
585
607
|
*/
|
|
586
608
|
accessor orderByFields: string[] | null | undefined;
|
|
609
|
+
/**
|
|
610
|
+
* Specifies whether to return the distance of each feature from the input geometry's buffer in a query result. It also optionally controls the sort
|
|
611
|
+
* order of results based on distances of features from the input geometry's buffer.
|
|
612
|
+
* Distance values are returned only when the following conditions are met:
|
|
613
|
+
* - The [Query.distance](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#distance) is greater than 0
|
|
614
|
+
* - [Query.units](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#units) is specified
|
|
615
|
+
* - The `outDistance` is specified and its [OutDistance.returnDistance](https://developers.arcgis.com/javascript/latest/references/core/rest/support/OutDistance/#returnDistance) property is `true`
|
|
616
|
+
*
|
|
617
|
+
* > [!WARNING]
|
|
618
|
+
* >
|
|
619
|
+
* > **Known Limitations**
|
|
620
|
+
* >
|
|
621
|
+
* > Supported only on a service-backed [FeatureLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/) where the [supportsOutDistance](https://developers.arcgis.com/javascript/latest/references/core/layers/types/#QueryCapabilities) capability
|
|
622
|
+
* > is `true`.
|
|
623
|
+
*
|
|
624
|
+
* @since 5.1
|
|
625
|
+
*/
|
|
626
|
+
get outDistance(): OutDistance | null | undefined;
|
|
627
|
+
set outDistance(value: OutDistanceProperties | null | undefined);
|
|
587
628
|
/**
|
|
588
629
|
* Attribute fields to include in the [FeatureSet](https://developers.arcgis.com/javascript/latest/references/core/rest/support/FeatureSet/). Fields must exist in the service layer. You must list actual
|
|
589
630
|
* field names rather than field aliases. You may, however, use field aliases when you display
|
|
@@ -227,12 +227,12 @@ export default class TopFeaturesQuery extends JSONSupport {
|
|
|
227
227
|
accessor cacheHint: boolean | null | undefined;
|
|
228
228
|
/**
|
|
229
229
|
* Specifies a search distance from a given [Query.geometry](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#geometry) in a spatial query.
|
|
230
|
-
*
|
|
231
|
-
*
|
|
232
|
-
*
|
|
230
|
+
* The [units property](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#units) indicates the unit of measurement. In essence, setting this property
|
|
231
|
+
* creates a buffer at the specified size around the input [Query.geometry](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#geometry). The query will use that
|
|
232
|
+
* buffer to return features in the layer or layer view that adhere to the to the indicated [spatial relationship](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#spatialRelationship).
|
|
233
233
|
*
|
|
234
|
-
*
|
|
235
|
-
*
|
|
234
|
+
* If querying a feature service, the [supportsQueryWithDistance](https://developers.arcgis.com/rest/services-reference/enterprise/query-feature-service-layer/)
|
|
235
|
+
* capability must be `true`.
|
|
236
236
|
*/
|
|
237
237
|
accessor distance: number | null | undefined;
|
|
238
238
|
/**
|
package/support/revision.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
const
|
|
2
|
+
const c="20260602",e="5beede90a18ca6540601038f7231bcdc44b9f37a";export{c as buildDate,e as commitHash};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{VTLMaterial as t}from"./VTLMaterial.js";import{DataType as
|
|
2
|
+
import{VTLMaterial as t}from"./VTLMaterial.js";import{DataType as s}from"../../../../webgl/enums.js";import{VertexElementDescriptor as e}from"../../../../webgl/VertexElementDescriptor.js";class r extends t{static{this.ATTRIBUTES=[]}static{this.GEOMETRY_LAYOUT=[new e("position",2,s.SHORT,0,4)]}static{this.ATTRIBUTES_INFO={}}constructor(t){super(t),this.baseGeometryLayout=r.GEOMETRY_LAYOUT,this.properties=r.ATTRIBUTES,this.propertyInfos=r.ATTRIBUTES_INFO}}export{r as VTLBackgroundMaterial};
|
package/views/2d/engine/webgl/shaderGraph/techniques/shaders/vector-tiles/VTLShaderCircle.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{__decorate as o,__param as t}from"tslib";import{GraphShaderModule as e,FragmentOutput as
|
|
2
|
+
import{__decorate as o,__param as t}from"tslib";import{GraphShaderModule as e,FragmentOutput as r,location as i,uniform as s,option as p,input as l,VertexInput as a,UniformGroup as d,FragmentInput as y}from"../../../GraphShaderModule.js";import{max as u,mod as v,Vec2 as c,Float as n,Vec3 as h,Vec4 as k,length as x,smoothstep as g,negate as M,cond as T,lessThan as w,mix as C,Mat3 as b}from"../../../graph/glsl.js";class m extends a{}o([i(0,c)],m.prototype,"position",void 0),o([i(1,n)],m.prototype,"radius",void 0),o([i(2,k)],m.prototype,"color",void 0),o([i(3,n)],m.prototype,"opacity",void 0),o([i(4,n)],m.prototype,"strokeWidth",void 0),o([i(5,k)],m.prototype,"strokeColor",void 0),o([i(6,n)],m.prototype,"strokeOpacity",void 0),o([i(7,n)],m.prototype,"blur",void 0),o([i(8,n)],m.prototype,"radiusTo",void 0),o([i(9,k)],m.prototype,"colorTo",void 0),o([i(10,n)],m.prototype,"opacityTo",void 0),o([i(11,n)],m.prototype,"strokeWidthTo",void 0),o([i(12,k)],m.prototype,"strokeColorTo",void 0),o([i(13,n)],m.prototype,"strokeOpacityTo",void 0),o([i(14,n)],m.prototype,"blurTo",void 0);class W extends y{}class O extends d{}o([s(b)],O.prototype,"dvsMat",void 0),o([s(b)],O.prototype,"displayMat",void 0);class f extends d{}o([s(c)],f.prototype,"circleTranslation",void 0),o([s(n)],f.prototype,"depth",void 0),o([s(n)],f.prototype,"antialiasingWidth",void 0),o([s(n)],f.prototype,"tileOpacity",void 0);class S extends d{}o([s(n)],S.prototype,"value",void 0);class j extends d{}o([s(n)],j.prototype,"value",void 0);class B extends d{}o([s(n)],B.prototype,"value",void 0);class R extends d{}o([s(n)],R.prototype,"value",void 0);class G extends d{}o([s(n)],G.prototype,"value",void 0);class L extends d{}o([s(n)],L.prototype,"value",void 0);class P extends d{}o([s(n)],P.prototype,"value",void 0);class V extends d{}o([s(n)],V.prototype,"value",void 0);class q extends d{}o([s(n)],q.prototype,"value",void 0);class z extends d{}o([s(n)],z.prototype,"value",void 0);class A extends d{}o([s(k)],A.prototype,"value",void 0);class D extends d{}o([s(n)],D.prototype,"value",void 0);class E extends d{}o([s(k)],E.prototype,"value",void 0);class F extends d{}o([s(n)],F.prototype,"value",void 0);class H extends e{constructor(){super(...arguments),this.type="VTLShaderCircle"}vertex(o){const t=this.getColor(o).multiply(this.getOpacity(o)),e=this.getStrokeColor(o).multiply(this.getStrokeOpacity(o)),r=this.getStrokeWidth(o),i=this.getRadius(o),s=this.getBlur(o),p=i.add(r),l=u(s,this.config.antialiasingWidth.divide(p)),a=v(o.position,new c(2)).multiply(new n(2)).subtract(new n(1)),d=this.transform.dvsMat.multiply(new h(o.position.multiply(.5),new n(1))).add(this.transform.displayMat.multiply(new h(a.multiply(p).add(this.config.circleTranslation),new n(0))));return{glPosition:new k(d.xy,this.config.depth,1),strokeWidth:r,radius:i,blur:l,color:t,offset:a,strokeColor:e}}fragment(o){const t=new r,e=x(o.offset),i=g(new n(0),M(o.blur),e.subtract(new n(1))),s=T([w(o.strokeWidth,new n(.01)),()=>new n(0)],[!0,g(M(o.blur),new n(0),e.subtract(o.radius.divide(o.radius.add(o.strokeWidth))))]);return t.fragColor=C(o.color,o.strokeColor,s).multiply(i).multiply(this.config.tileOpacity),t}getRadius(o){return this.radiusMix?.value&&o.radius&&o.radiusTo?C(o.radius,o.radiusTo,this.radiusMix.value):o.radius?o.radius:this.radius?.value||new n(0)}getBlur(o){return this.blurMix?.value&&o.blur&&o.blurTo?C(o.blur,o.blurTo,this.blurMix.value):o.blur?o.blur:this.blur?.value||new n(0)}getOpacity(o){return this.opacityMix?.value&&o.opacity&&o.opacityTo?C(o.opacity,o.opacityTo,this.opacityMix.value):o.opacity?o.opacity:this.opacity?.value||new n(1)}getStrokeWidth(o){return this.strokeWidthMix?.value&&o.strokeWidth&&o.strokeWidthTo?C(o.strokeWidth,o.strokeWidthTo,this.strokeWidthMix.value):o.strokeWidth?o.strokeWidth:this.strokeWidth?.value||new n(0)}getColor(o){return this.colorMix?.value&&o.color&&o.colorTo?C(o.color,o.colorTo,this.colorMix.value):o.color?o.color:this.color?.value||new k(0)}getStrokeColor(o){return this.strokeColorMix?.value&&o.strokeColor&&o.strokeColorTo?C(o.strokeColor,o.strokeColorTo,this.strokeColorMix.value):o.strokeColor?o.strokeColor:this.strokeColor?.value||new k(0)}getStrokeOpacity(o){return this.strokeOpacityMix?.value&&o.strokeOpacity&&o.strokeOpacityTo?C(o.strokeOpacity,o.strokeOpacityTo,this.strokeOpacityMix.value):o.strokeOpacity?o.strokeOpacity:this.strokeOpacity?.value||new n(0)}}o([s(O)],H.prototype,"transform",void 0),o([s(f)],H.prototype,"config",void 0),o([p(S)],H.prototype,"radius",void 0),o([p(j)],H.prototype,"radiusMix",void 0),o([p(B)],H.prototype,"blur",void 0),o([p(R)],H.prototype,"blurMix",void 0),o([p(G)],H.prototype,"opacity",void 0),o([p(L)],H.prototype,"opacityMix",void 0),o([p(P)],H.prototype,"strokeOpacity",void 0),o([p(V)],H.prototype,"strokeOpacityMix",void 0),o([p(q)],H.prototype,"strokeWidth",void 0),o([p(z)],H.prototype,"strokeWidthMix",void 0),o([p(A)],H.prototype,"color",void 0),o([p(D)],H.prototype,"colorMix",void 0),o([p(E)],H.prototype,"strokeColor",void 0),o([p(F)],H.prototype,"strokeColorMix",void 0),o([t(0,l(m))],H.prototype,"vertex",null),o([t(0,l(W))],H.prototype,"fragment",null);export{H as VTLShaderCircle};
|