@arcgis/core 4.23.4 → 4.23.5
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/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/74b3b2d6b8d33d778469.js +1 -0
- package/config.js +1 -1
- package/copyright.txt +2 -2
- package/interfaces.d.ts +19 -19
- package/package.json +1 -1
- package/support/revision.js +1 -1
- package/views/2d/engine/webgl/definitions.js +1 -1
- package/views/2d/engine/webgl/effects/HittestEffect.js +1 -1
- package/views/2d/engine/webgl/effects/HittestEffectVTL.js +1 -1
- package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
- package/views/2d/layers/features/support/FeatureSetReaderPBF.js +1 -1
- package/widgets/Editor.js +1 -1
- package/widgets/FeatureForm/FeatureFormViewModel.js +1 -1
- package/widgets/FeatureForm/InputField.js +1 -1
- package/widgets/FeatureForm.js +1 -1
- package/widgets/support/SnappingControls.js +1 -1
- package/assets/esri/core/workers/chunks/410e9b40a2b7f88ea669.js +0 -1
package/interfaces.d.ts
CHANGED
|
@@ -2508,7 +2508,7 @@ declare namespace __esri {
|
|
|
2508
2508
|
*/
|
|
2509
2509
|
editable: boolean;
|
|
2510
2510
|
/**
|
|
2511
|
-
* A reference to an Arcade expression
|
|
2511
|
+
* A reference to the [name](https://developers.arcgis.com/javascript/latest/api-reference/esri-form-ExpressionInfo.html#name) of an [Arcade](https://developers.arcgis.com/javascript/latest/arcade/) expression defined in the [expressionInfos](https://developers.arcgis.com/javascript/latest/api-reference/esri-form-FormTemplate.html#expressionInfos) of the FormTemplate.
|
|
2512
2512
|
*
|
|
2513
2513
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-form-elements-FieldElement.html#editableExpression)
|
|
2514
2514
|
*/
|
|
@@ -2550,7 +2550,7 @@ declare namespace __esri {
|
|
|
2550
2550
|
*/
|
|
2551
2551
|
readonly type: "field";
|
|
2552
2552
|
/**
|
|
2553
|
-
* A reference to an Arcade expression
|
|
2553
|
+
* A reference to the [name](https://developers.arcgis.com/javascript/latest/api-reference/esri-form-ExpressionInfo.html#name) of an [Arcade](https://developers.arcgis.com/javascript/latest/arcade/) expression defined in the [expressionInfos](https://developers.arcgis.com/javascript/latest/api-reference/esri-form-FormTemplate.html#expressionInfos) of the FormTemplate.
|
|
2554
2554
|
*
|
|
2555
2555
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-form-elements-FieldElement.html#valueExpression)
|
|
2556
2556
|
*/
|
|
@@ -2591,7 +2591,7 @@ declare namespace __esri {
|
|
|
2591
2591
|
*/
|
|
2592
2592
|
editable?: boolean;
|
|
2593
2593
|
/**
|
|
2594
|
-
* A reference to an Arcade expression
|
|
2594
|
+
* A reference to the [name](https://developers.arcgis.com/javascript/latest/api-reference/esri-form-ExpressionInfo.html#name) of an [Arcade](https://developers.arcgis.com/javascript/latest/arcade/) expression defined in the [expressionInfos](https://developers.arcgis.com/javascript/latest/api-reference/esri-form-FormTemplate.html#expressionInfos) of the FormTemplate.
|
|
2595
2595
|
*
|
|
2596
2596
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-form-elements-FieldElement.html#editableExpression)
|
|
2597
2597
|
*/
|
|
@@ -2627,7 +2627,7 @@ declare namespace __esri {
|
|
|
2627
2627
|
*/
|
|
2628
2628
|
requiredExpression?: string;
|
|
2629
2629
|
/**
|
|
2630
|
-
* A reference to an Arcade expression
|
|
2630
|
+
* A reference to the [name](https://developers.arcgis.com/javascript/latest/api-reference/esri-form-ExpressionInfo.html#name) of an [Arcade](https://developers.arcgis.com/javascript/latest/arcade/) expression defined in the [expressionInfos](https://developers.arcgis.com/javascript/latest/api-reference/esri-form-FormTemplate.html#expressionInfos) of the FormTemplate.
|
|
2631
2631
|
*
|
|
2632
2632
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-form-elements-FieldElement.html#valueExpression)
|
|
2633
2633
|
*/
|
|
@@ -3166,7 +3166,7 @@ declare namespace __esri {
|
|
|
3166
3166
|
*/
|
|
3167
3167
|
elements: Element[];
|
|
3168
3168
|
/**
|
|
3169
|
-
* An array of objects or [ExpressionInfo[]](https://developers.arcgis.com/javascript/latest/api-reference/esri-form-ExpressionInfo.html) that reference [Arcade](https://developers.arcgis.com/javascript/latest/arcade/) expressions following the specification defined by the [Constraint Profile](https://developers.arcgis.com/javascript/latest/arcade/#
|
|
3169
|
+
* An array of objects or [ExpressionInfo[]](https://developers.arcgis.com/javascript/latest/api-reference/esri-form-ExpressionInfo.html) that reference [Arcade](https://developers.arcgis.com/javascript/latest/arcade/) expressions following the specification defined by the [Constraint Profile](https://developers.arcgis.com/javascript/latest/arcade/#constraint) or the [Form Calculation Profile](https://developers.arcgis.com/javascript/latest/arcade/#form-calculation).
|
|
3170
3170
|
*
|
|
3171
3171
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-form-FormTemplate.html#expressionInfos)
|
|
3172
3172
|
*/
|
|
@@ -3211,7 +3211,7 @@ declare namespace __esri {
|
|
|
3211
3211
|
*/
|
|
3212
3212
|
elements?: ElementProperties[];
|
|
3213
3213
|
/**
|
|
3214
|
-
* An array of objects or [ExpressionInfo[]](https://developers.arcgis.com/javascript/latest/api-reference/esri-form-ExpressionInfo.html) that reference [Arcade](https://developers.arcgis.com/javascript/latest/arcade/) expressions following the specification defined by the [Constraint Profile](https://developers.arcgis.com/javascript/latest/arcade/#
|
|
3214
|
+
* An array of objects or [ExpressionInfo[]](https://developers.arcgis.com/javascript/latest/api-reference/esri-form-ExpressionInfo.html) that reference [Arcade](https://developers.arcgis.com/javascript/latest/arcade/) expressions following the specification defined by the [Constraint Profile](https://developers.arcgis.com/javascript/latest/arcade/#constraint) or the [Form Calculation Profile](https://developers.arcgis.com/javascript/latest/arcade/#form-calculation).
|
|
3215
3215
|
*
|
|
3216
3216
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-form-FormTemplate.html#expressionInfos)
|
|
3217
3217
|
*/
|
|
@@ -10285,47 +10285,47 @@ declare namespace __esri {
|
|
|
10285
10285
|
*/
|
|
10286
10286
|
export interface EditsResult extends Object {
|
|
10287
10287
|
/**
|
|
10288
|
-
*
|
|
10288
|
+
* Result of adding features.
|
|
10289
10289
|
*
|
|
10290
10290
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#EditsResult)
|
|
10291
10291
|
*/
|
|
10292
|
-
|
|
10292
|
+
addFeatureResults: FeatureEditResult[];
|
|
10293
10293
|
/**
|
|
10294
|
-
*
|
|
10294
|
+
* Result of updating features.
|
|
10295
10295
|
*
|
|
10296
10296
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#EditsResult)
|
|
10297
10297
|
*/
|
|
10298
|
-
|
|
10298
|
+
updateFeatureResults: FeatureEditResult[];
|
|
10299
10299
|
/**
|
|
10300
|
-
*
|
|
10300
|
+
* Result of deleting features.
|
|
10301
10301
|
*
|
|
10302
10302
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#EditsResult)
|
|
10303
10303
|
*/
|
|
10304
|
-
|
|
10304
|
+
deleteFeatureResults: FeatureEditResult[];
|
|
10305
10305
|
/**
|
|
10306
|
-
*
|
|
10306
|
+
* Result of adding attachments.
|
|
10307
10307
|
*
|
|
10308
10308
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#EditsResult)
|
|
10309
10309
|
*/
|
|
10310
|
-
|
|
10310
|
+
addAttachmentResults: FeatureEditResult[];
|
|
10311
10311
|
/**
|
|
10312
|
-
*
|
|
10312
|
+
* Result of updating attachments.
|
|
10313
10313
|
*
|
|
10314
10314
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#EditsResult)
|
|
10315
10315
|
*/
|
|
10316
|
-
|
|
10316
|
+
updateAttachmentResults: FeatureEditResult[];
|
|
10317
10317
|
/**
|
|
10318
|
-
*
|
|
10318
|
+
* Result of deleting attachments.
|
|
10319
10319
|
*
|
|
10320
10320
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#EditsResult)
|
|
10321
10321
|
*/
|
|
10322
|
-
|
|
10322
|
+
deleteAttachmentResults: FeatureEditResult[];
|
|
10323
10323
|
/**
|
|
10324
10324
|
* Edited features as result of editing a feature that participates in composite relationships in a database.
|
|
10325
10325
|
*
|
|
10326
10326
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#EditsResult)
|
|
10327
10327
|
*/
|
|
10328
|
-
|
|
10328
|
+
editedFeatureResults?: EditedFeatureResult[];
|
|
10329
10329
|
/**
|
|
10330
10330
|
* The time edits were applied to the feature service.
|
|
10331
10331
|
*
|
package/package.json
CHANGED
package/support/revision.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.23/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
const
|
|
5
|
+
const c="20220330",e="c6040e027595ee92afd67ccc7c3952c1c711f402";export{c as buildDate,e as commitHash};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.23/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
const t=8,e=t-2,c=1e-30,h=64,i=4294967295,o=512,a=256,d=256/360,n=!1,p=128,r=8,s=29,f=1,g=16,l=16,m=o/p,v=8,w=50,x=10,b=24,j=8,k={metrics:{width:15,height:17,left:0,top:-7,advance:14}},q=1024,u=0,y=0,z=0,A=1,B=2,C=3,D=4,E=12,F=5,G=6,H=5,I=6,J=0,K=1,L=2,M=3,N=3,O=4,P=2,Q=1,R=2,S=4,T=!1,U=1.05,V=
|
|
5
|
+
const t=8,e=t-2,c=1e-30,h=64,i=4294967295,o=512,a=256,d=256/360,n=!1,p=128,r=8,s=29,f=1,g=16,l=16,m=o/p,v=8,w=50,x=10,b=24,j=8,k={metrics:{width:15,height:17,left:0,top:-7,advance:14}},q=1024,u=0,y=0,z=0,A=1,B=2,C=3,D=4,E=12,F=5,G=6,H=5,I=6,J=0,K=1,L=2,M=3,N=3,O=4,P=2,Q=1,R=2,S=4,T=!1,U=1.05,V=3,W=5,X=6,Y=1.15,Z=2,$=2,_=8,tt=500,et=4,ct=128,ht=10,it=2,ot=0,at=1,dt=4,nt=8,pt=4,rt=1;export{d as ANGLE_FACTOR_256,K as ATTRIBUTE_DATA_ANIMATION,N as ATTRIBUTE_DATA_DD0,O as ATTRIBUTE_DATA_DD1,J as ATTRIBUTE_DATA_FILTER_FLAGS,L as ATTRIBUTE_DATA_GPGPU,M as ATTRIBUTE_DATA_VV,q as ATTRIBUTE_STORE_TEXTURE_SIZE,k as AVERAGE_GLYPH_MOSAIC_ITEM,it as BITSET_GENERIC_LOCK_COLOR,pt as BITSET_LINE_SCALE_DASH,at as BITSET_MARKER_ALIGNMENT_MAP,ot as BITSET_MARKER_ALIGNMENT_SCREEN,dt as BITSET_MARKER_OUTLINE_ALLOW_COLOR_OVERRIDE,nt as BITSET_MARKER_SCALE_SYMBOLS_PROPORTIONALLY,rt as BITSET_TYPE_FILL_OUTLINE,ct as BUFFER_DATA_MINIMUM_SIZE,et as BUFFER_DATA_POOL_SIZE,l as COLLISION_BOX_PADDING,p as COLLISION_BUCKET_SIZE,g as COLLISION_EARLY_REJECT_BUCKET_SIZE,f as COLLISION_MAX_ZOOM_DELTA,v as COLLISION_PLACEMENT_PADDING,m as COLLISION_TILE_BOX_SIZE,n as DEBUG_LABELS,_ as DISPLAY_RECORD_INT_PER_ELEMENT,r as DOT_DENSITY_MAX_FIELDS,S as EFFECT_FLAG_0,T as ENABLE_EARLY_LABEL_DISCARD,h as EXTRUDE_SCALE,R as FILTER_FLAG_0,b as GLYPH_SIZE,x as HEURISTIC_GLYPHS_PER_FEATURE,w as HEURISTIC_GLYPHS_PER_LINE,Q as HIGHLIGHT_FLAG,V as HITTEST_RADIUS,s as MAGIC_LABEL_LINE_HEIGHT,P as MAX_FILTERS,Z as MAX_GPU_UPLOADS_PER_FRAME,ht as MIN_MAX_ZOOM_PRECISION_FACTOR,c as NAN_MAGIC_NUMBER,tt as PATCH_PIXEL_BUFFER_ALLOC_SIZE,i as PICTURE_FILL_COLOR,a as RASTER_TILE_SIZE,$ as SPRITE_PADDING,A as TEXTURE_BINDING_ATTRIBUTE_DATA_0,B as TEXTURE_BINDING_ATTRIBUTE_DATA_1,C as TEXTURE_BINDING_ATTRIBUTE_DATA_2,D as TEXTURE_BINDING_ATTRIBUTE_DATA_3,z as TEXTURE_BINDING_BITMAP,y as TEXTURE_BINDING_GLYPH_ATLAS,E as TEXTURE_BINDING_GPGPU,F as TEXTURE_BINDING_HIGHLIGHT_0,G as TEXTURE_BINDING_HIGHLIGHT_1,H as TEXTURE_BINDING_RENDERER_0,I as TEXTURE_BINDING_RENDERER_1,u as TEXTURE_BINDING_SPRITE_ATLAS,j as TEXT_PLACEMENT_PADDING,U as THIN_LINE_HALF_WIDTH_THRESHOLD,o as TILE_SIZE,Y as VTL_HIGH_RES_CUTOFF,X as VTL_TEXTURE_BINDING_UNIT_GLYPHS,W as VTL_TEXTURE_BINDING_UNIT_SPRITES,e as WEBGL_MAX_INNER_STOPS,t as WEBGL_MAX_STOPS};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.23/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{isSome as t,isNone as e}from"../../../../../core/maybe.js";import{
|
|
5
|
+
import{isSome as t,isNone as e}from"../../../../../core/maybe.js";import{HITTEST_RADIUS as i,ATTRIBUTE_DATA_GPGPU as s}from"../definitions.js";import{Effect as o}from"./Effect.js";import{PixelFormat as n,PixelType as r}from"../../../../webgl/enums.js";class l extends o{constructor(){super(...arguments),this.name=this.constructor.name,this.defines=["hittest"]}dispose(){t(this._fbo)&&this._fbo.dispose()}createOptions({pixelRatio:t},e,s=i){if(!e.length)return null;const o=e.shift(),n=o.point.x,r=o.point.y;return this._outstanding=o,{type:"hittest",distance:s*t,position:[n,r]}}bind(t){const{context:i,attributeView:o}=t;if(!o.size)return;const n=o.getBlock(s);if(e(n))return;const r=n.getFBO(i);i.setViewport(0,0,o.size,o.size),i.bindFramebuffer(r),i.setColorMask(!0,!0,!0,!0),i.setClearColor(0,0,0,0),i.clear(i.gl.COLOR_BUFFER_BIT|i.gl.DEPTH_BUFFER_BIT)}unbind(t){}draw(t){const{context:i,attributeView:o}=t,l=o.getBlock(s);if(e(this._outstanding))return;const u=this._outstanding.resolver;if(e(l))return u.resolve([]),void(this._outstanding=null);const c=l.getFBO(i),h=new Uint8Array(c.width*c.height*4);c.readPixels(0,0,c.width,c.height,n.RGBA,r.UNSIGNED_BYTE,h);const a=[];for(let e=0;e<h.length;e+=4)h[e]&&a.push(e/4);this._outstanding=null,u.resolve(a)}}export{l as HittestEffect};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.23/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{isSome as t}from"../../../../../core/maybe.js";import{
|
|
5
|
+
import{isSome as t}from"../../../../../core/maybe.js";import{HITTEST_RADIUS as e}from"../definitions.js";import{Effect as s}from"./Effect.js";import{PixelFormat as o,PixelType as r}from"../../../../webgl/enums.js";class i extends s{constructor(){super(...arguments),this.name=this.constructor.name,this.defines=["id"],this._lastSize=0}dispose(){t(this._fbo)&&this._fbo.dispose()}bind({context:t,painter:e}){const{width:s,height:o}=t.getViewport();this._boundFBO=t.getBoundFramebufferObject();const r=e.getFbos(s,o).effect0;t.bindFramebuffer(r),t.setColorMask(!0,!0,!0,!0),t.setClearColor(0,0,0,0),t.clear(t.gl.COLOR_BUFFER_BIT)}unbind({context:t}){t.bindFramebuffer(this._boundFBO),this._boundFBO=null}draw({context:t,state:s,pixelRatio:i},n,f=2*e){const a=t.getBoundFramebufferObject(),h=s.size[1]*i,u=Math.round(f*i),b=u/2,c=u/2;this._ensureBuffer(u),n.forEach(((t,e)=>{const s=new Map,f=Math.floor(e.x*i-u/2),l=Math.floor(h-e.y*i-u/2);a.readPixels(f,l,u,u,o.RGBA,r.UNSIGNED_BYTE,this._buf);for(let o=0;o<this._buf32.length;o++){const t=this._buf32[o];if(4294967295!==t&&0!==t){const e=o%u,r=u-Math.floor(o/u),i=(b-e)*(b-e)+(c-r)*(c-r),n=s.has(t)?s.get(t):4294967295;s.set(t,Math.min(i,n))}}const d=Array.from(s).sort(((t,e)=>t[1]-e[1])).map((t=>t[0]));t.resolve(d),n.delete(e)}))}_ensureBuffer(t){this._lastSize!==t&&(this._lastSize=t,this._buf=new Uint8Array(4*t*t),this._buf32=new Uint32Array(this._buf.buffer))}}export{i as HittestEffectVTL};
|