@arcgis/core 4.34.4 → 4.34.6

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/interfaces.d.ts CHANGED
@@ -17869,7 +17869,7 @@ declare namespace __esri {
17869
17869
  get elevationInfo(): ElevationInfo | nullish;
17870
17870
  set elevationInfo(value: ElevationInfoProperties | nullish);
17871
17871
  /**
17872
- * The featureEffect can be used to draw attention features of interest.
17872
+ * The featureEffect can be used to draw attention to features of interest.
17873
17873
  *
17874
17874
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-catalog-CatalogFootprintLayer.html#featureEffect Read more...}
17875
17875
  */
@@ -18010,7 +18010,7 @@ declare namespace __esri {
18010
18010
  */
18011
18011
  elevationInfo?: ElevationInfoProperties | nullish;
18012
18012
  /**
18013
- * The featureEffect can be used to draw attention features of interest.
18013
+ * The featureEffect can be used to draw attention to features of interest.
18014
18014
  *
18015
18015
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-catalog-CatalogFootprintLayer.html#featureEffect Read more...}
18016
18016
  */
@@ -19182,7 +19182,7 @@ declare namespace __esri {
19182
19182
  get elevationInfo(): ElevationInfo | nullish;
19183
19183
  set elevationInfo(value: ElevationInfoProperties | nullish);
19184
19184
  /**
19185
- * The featureEffect can be used to draw attention features of interest.
19185
+ * The featureEffect can be used to draw attention to features of interest.
19186
19186
  *
19187
19187
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-CSVLayer.html#featureEffect Read more...}
19188
19188
  */
@@ -19460,7 +19460,7 @@ declare namespace __esri {
19460
19460
  */
19461
19461
  elevationInfo?: ElevationInfoProperties | nullish;
19462
19462
  /**
19463
- * The featureEffect can be used to draw attention features of interest.
19463
+ * The featureEffect can be used to draw attention to features of interest.
19464
19464
  *
19465
19465
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-CSVLayer.html#featureEffect Read more...}
19466
19466
  */
@@ -20323,7 +20323,7 @@ declare namespace __esri {
20323
20323
  get elevationInfo(): ElevationInfo | nullish;
20324
20324
  set elevationInfo(value: ElevationInfoProperties | nullish);
20325
20325
  /**
20326
- * The featureEffect can be used to draw attention features of interest.
20326
+ * The featureEffect can be used to draw attention to features of interest.
20327
20327
  *
20328
20328
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#featureEffect Read more...}
20329
20329
  */
@@ -20853,7 +20853,7 @@ declare namespace __esri {
20853
20853
  */
20854
20854
  elevationInfo?: ElevationInfoProperties | nullish;
20855
20855
  /**
20856
- * The featureEffect can be used to draw attention features of interest.
20856
+ * The featureEffect can be used to draw attention to features of interest.
20857
20857
  *
20858
20858
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#featureEffect Read more...}
20859
20859
  */
@@ -21730,7 +21730,7 @@ declare namespace __esri {
21730
21730
  get elevationInfo(): ElevationInfo | nullish;
21731
21731
  set elevationInfo(value: ElevationInfoProperties | nullish);
21732
21732
  /**
21733
- * The featureEffect can be used to draw attention features of interest.
21733
+ * The featureEffect can be used to draw attention to features of interest.
21734
21734
  *
21735
21735
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GeoJSONLayer.html#featureEffect Read more...}
21736
21736
  */
@@ -22022,7 +22022,7 @@ declare namespace __esri {
22022
22022
  */
22023
22023
  elevationInfo?: ElevationInfoProperties | nullish;
22024
22024
  /**
22025
- * The featureEffect can be used to draw attention features of interest.
22025
+ * The featureEffect can be used to draw attention to features of interest.
22026
22026
  *
22027
22027
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GeoJSONLayer.html#featureEffect Read more...}
22028
22028
  */
@@ -25208,7 +25208,7 @@ declare namespace __esri {
25208
25208
  get elevationInfo(): ElevationInfo | nullish;
25209
25209
  set elevationInfo(value: ElevationInfoProperties | nullish);
25210
25210
  /**
25211
- * The featureEffect can be used to draw attention features of interest.
25211
+ * The featureEffect can be used to draw attention to features of interest.
25212
25212
  *
25213
25213
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-knowledgeGraph-KnowledgeGraphSublayer.html#featureEffect Read more...}
25214
25214
  */
@@ -25427,7 +25427,7 @@ declare namespace __esri {
25427
25427
  */
25428
25428
  elevationInfo?: ElevationInfoProperties | nullish;
25429
25429
  /**
25430
- * The featureEffect can be used to draw attention features of interest.
25430
+ * The featureEffect can be used to draw attention to features of interest.
25431
25431
  *
25432
25432
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-knowledgeGraph-KnowledgeGraphSublayer.html#featureEffect Read more...}
25433
25433
  */
@@ -28566,7 +28566,7 @@ declare namespace __esri {
28566
28566
  get elevationInfo(): ElevationInfo | nullish;
28567
28567
  set elevationInfo(value: ElevationInfoProperties | nullish);
28568
28568
  /**
28569
- * The featureEffect can be used to draw attention features of interest.
28569
+ * The featureEffect can be used to draw attention to features of interest.
28570
28570
  *
28571
28571
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-OGCFeatureLayer.html#featureEffect Read more...}
28572
28572
  */
@@ -28732,7 +28732,7 @@ declare namespace __esri {
28732
28732
  */
28733
28733
  elevationInfo?: ElevationInfoProperties | nullish;
28734
28734
  /**
28735
- * The featureEffect can be used to draw attention features of interest.
28735
+ * The featureEffect can be used to draw attention to features of interest.
28736
28736
  *
28737
28737
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-OGCFeatureLayer.html#featureEffect Read more...}
28738
28738
  */
@@ -29393,7 +29393,7 @@ declare namespace __esri {
29393
29393
  get elevationInfo(): ElevationInfo | nullish;
29394
29394
  set elevationInfo(value: ElevationInfoProperties | nullish);
29395
29395
  /**
29396
- * The featureEffect can be used to draw attention features of interest.
29396
+ * The featureEffect can be used to draw attention to features of interest.
29397
29397
  *
29398
29398
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-OrientedImageryLayer.html#featureEffect Read more...}
29399
29399
  */
@@ -29652,7 +29652,7 @@ declare namespace __esri {
29652
29652
  */
29653
29653
  farDistance?: number | nullish;
29654
29654
  /**
29655
- * The featureEffect can be used to draw attention features of interest.
29655
+ * The featureEffect can be used to draw attention to features of interest.
29656
29656
  *
29657
29657
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-OrientedImageryLayer.html#featureEffect Read more...}
29658
29658
  */
@@ -30044,7 +30044,7 @@ declare namespace __esri {
30044
30044
  | (ParquetEncodingLocationProperties & { type: "location" })
30045
30045
  | nullish);
30046
30046
  /**
30047
- * The featureEffect can be used to draw attention features of interest.
30047
+ * The featureEffect can be used to draw attention to features of interest.
30048
30048
  *
30049
30049
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ParquetLayer.html#featureEffect Read more...}
30050
30050
  */
@@ -30221,7 +30221,7 @@ declare namespace __esri {
30221
30221
  | (ParquetEncodingLocationProperties & { type: "location" })
30222
30222
  | nullish;
30223
30223
  /**
30224
- * The featureEffect can be used to draw attention features of interest.
30224
+ * The featureEffect can be used to draw attention to features of interest.
30225
30225
  *
30226
30226
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ParquetLayer.html#featureEffect Read more...}
30227
30227
  */
@@ -32137,7 +32137,7 @@ declare namespace __esri {
32137
32137
  get elevationInfo(): ElevationInfo | nullish;
32138
32138
  set elevationInfo(value: ElevationInfoProperties | nullish);
32139
32139
  /**
32140
- * The featureEffect can be used to draw attention features of interest.
32140
+ * The featureEffect can be used to draw attention to features of interest.
32141
32141
  *
32142
32142
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-StreamLayer.html#featureEffect Read more...}
32143
32143
  */
@@ -32388,7 +32388,7 @@ declare namespace __esri {
32388
32388
  */
32389
32389
  elevationInfo?: ElevationInfoProperties | nullish;
32390
32390
  /**
32391
- * The featureEffect can be used to draw attention features of interest.
32391
+ * The featureEffect can be used to draw attention to features of interest.
32392
32392
  *
32393
32393
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-StreamLayer.html#featureEffect Read more...}
32394
32394
  */
@@ -48832,7 +48832,7 @@ declare namespace __esri {
48832
48832
  get elevationInfo(): ElevationInfo | nullish;
48833
48833
  set elevationInfo(value: ElevationInfoProperties | nullish);
48834
48834
  /**
48835
- * The featureEffect can be used to draw attention features of interest.
48835
+ * The featureEffect can be used to draw attention to features of interest.
48836
48836
  *
48837
48837
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-WFSLayer.html#featureEffect Read more...}
48838
48838
  */
@@ -49074,7 +49074,7 @@ declare namespace __esri {
49074
49074
  */
49075
49075
  elevationInfo?: ElevationInfoProperties | nullish;
49076
49076
  /**
49077
- * The featureEffect can be used to draw attention features of interest.
49077
+ * The featureEffect can be used to draw attention to features of interest.
49078
49078
  *
49079
49079
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-WFSLayer.html#featureEffect Read more...}
49080
49080
  */
@@ -51430,7 +51430,7 @@ declare namespace __esri {
51430
51430
  terminalConfigurationId: number;
51431
51431
  }
51432
51432
 
51433
- export class Circuit extends JSONSupport {
51433
+ export class Circuit extends Accessor {
51434
51434
  /**
51435
51435
  * User-defined attributes on the circuit.
51436
51436
  *
@@ -51568,7 +51568,6 @@ declare namespace __esri {
51568
51568
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-networks-support-Circuit.html#setStartStopLocations Read more...}
51569
51569
  */
51570
51570
  setStartStopLocations(startLocation: CircuitLocation, stopLocation: CircuitLocation): void;
51571
- static fromJSON(json: any): Circuit;
51572
51571
  }
51573
51572
 
51574
51573
  interface CircuitProperties {
@@ -51628,7 +51627,7 @@ declare namespace __esri {
51628
51627
  subcircuits?: SubcircuitProperties[];
51629
51628
  }
51630
51629
 
51631
- export class CircuitLocation extends JSONSupport {
51630
+ export class CircuitLocation extends Accessor {
51632
51631
  /**
51633
51632
  * The first unit of the group associated with the circuit location.
51634
51633
  *
@@ -51665,7 +51664,6 @@ declare namespace __esri {
51665
51664
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-networks-support-CircuitLocation.html Read more...}
51666
51665
  */
51667
51666
  constructor(properties?: CircuitLocationProperties);
51668
- static fromJSON(json: any): CircuitLocation;
51669
51667
  }
51670
51668
 
51671
51669
  interface CircuitLocationProperties {
@@ -51701,7 +51699,7 @@ declare namespace __esri {
51701
51699
  terminalId?: number;
51702
51700
  }
51703
51701
 
51704
- export class CircuitPath extends JSONSupport {
51702
+ export class CircuitPath extends Accessor {
51705
51703
  /**
51706
51704
  * The unique identifier for the path's order.
51707
51705
  *
@@ -51748,7 +51746,6 @@ declare namespace __esri {
51748
51746
  */
51749
51747
  get stoppingPoint(): TraceLocation;
51750
51748
  set stoppingPoint(value: TraceLocationProperties);
51751
- static fromJSON(json: any): CircuitPath;
51752
51749
  }
51753
51750
 
51754
51751
  interface CircuitPathProperties {
@@ -51790,7 +51787,7 @@ declare namespace __esri {
51790
51787
  stoppingPoint?: TraceLocationProperties;
51791
51788
  }
51792
51789
 
51793
- export class CircuitPathConnectivityElement extends JSONSupport {
51790
+ export class CircuitPathConnectivityElement extends Accessor {
51794
51791
  /**
51795
51792
  * Represents the junction and edge that comprise one hop in a path.
51796
51793
  *
@@ -51811,7 +51808,6 @@ declare namespace __esri {
51811
51808
  */
51812
51809
  get junctionElement(): TelecomNetworkElement;
51813
51810
  set junctionElement(value: TelecomNetworkElementProperties);
51814
- static fromJSON(json: any): CircuitPathConnectivityElement;
51815
51811
  }
51816
51812
 
51817
51813
  interface CircuitPathConnectivityElementProperties {
@@ -51829,7 +51825,7 @@ declare namespace __esri {
51829
51825
  junctionElement?: TelecomNetworkElementProperties;
51830
51826
  }
51831
51827
 
51832
- export class CircuitSection extends JSONSupport {
51828
+ export class CircuitSection extends Accessor {
51833
51829
  /**
51834
51830
  * The path between the circuit's start and stop locations.
51835
51831
  *
@@ -51898,7 +51894,6 @@ declare namespace __esri {
51898
51894
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-networks-support-CircuitSection.html#setSubcircuit Read more...}
51899
51895
  */
51900
51896
  setSubcircuit(subcircuit: Subcircuit): void;
51901
- static fromJSON(json: any): CircuitSection;
51902
51897
  }
51903
51898
 
51904
51899
  interface CircuitSectionProperties {
@@ -52096,7 +52091,7 @@ declare namespace __esri {
52096
52091
  signal?: AbortSignal | nullish;
52097
52092
  }
52098
52093
 
52099
- export class Subcircuit extends JSONSupport {
52094
+ export class Subcircuit extends Accessor {
52100
52095
  /**
52101
52096
  * User-defined attributes on the subcircuit.
52102
52097
  *
@@ -52156,7 +52151,6 @@ declare namespace __esri {
52156
52151
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-networks-support-Subcircuit.html#setAttribute Read more...}
52157
52152
  */
52158
52153
  setAttribute(name: string, newValue: any): void;
52159
- static fromJSON(json: any): Subcircuit;
52160
52154
  }
52161
52155
 
52162
52156
  interface SubcircuitProperties {
@@ -68280,7 +68274,7 @@ declare namespace __esri {
68280
68274
  text: string | nullish;
68281
68275
  }
68282
68276
 
68283
- export class CircuitTraceResult extends JSONSupport {
68277
+ export class CircuitTraceResult extends Accessor {
68284
68278
  /**
68285
68279
  * Represents the result of a circuit trace with the "circuits" result type.
68286
68280
  *
@@ -68308,7 +68302,6 @@ declare namespace __esri {
68308
68302
  */
68309
68303
  get path(): CircuitPath | nullish;
68310
68304
  set path(value: CircuitPathProperties | nullish);
68311
- static fromJSON(json: any): CircuitTraceResult;
68312
68305
  }
68313
68306
 
68314
68307
  interface CircuitTraceResultProperties {
@@ -100523,7 +100516,7 @@ declare namespace __esri {
100523
100516
  */
100524
100517
  constructor(properties?: CatalogFootprintLayerViewProperties);
100525
100518
  /**
100526
- * The featureEffect can be used to draw attention features of interest.
100519
+ * The featureEffect can be used to draw attention to features of interest.
100527
100520
  *
100528
100521
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-CatalogFootprintLayerView.html#featureEffect Read more...}
100529
100522
  */
@@ -100635,7 +100628,7 @@ declare namespace __esri {
100635
100628
 
100636
100629
  interface CatalogFootprintLayerViewProperties extends LayerViewProperties, FeatureLayerViewMixinProperties, HighlightLayerViewMixinProperties {
100637
100630
  /**
100638
- * The featureEffect can be used to draw attention features of interest.
100631
+ * The featureEffect can be used to draw attention to features of interest.
100639
100632
  *
100640
100633
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-CatalogFootprintLayerView.html#featureEffect Read more...}
100641
100634
  */
@@ -100760,7 +100753,7 @@ declare namespace __esri {
100760
100753
  */
100761
100754
  constructor(properties?: CSVLayerViewProperties);
100762
100755
  /**
100763
- * The featureEffect can be used to draw attention features of interest.
100756
+ * The featureEffect can be used to draw attention to features of interest.
100764
100757
  *
100765
100758
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-CSVLayerView.html#featureEffect Read more...}
100766
100759
  */
@@ -100872,7 +100865,7 @@ declare namespace __esri {
100872
100865
 
100873
100866
  interface CSVLayerViewProperties extends LayerViewProperties, FeatureLayerViewMixinProperties, HighlightLayerViewMixinProperties {
100874
100867
  /**
100875
- * The featureEffect can be used to draw attention features of interest.
100868
+ * The featureEffect can be used to draw attention to features of interest.
100876
100869
  *
100877
100870
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-CSVLayerView.html#featureEffect Read more...}
100878
100871
  */
@@ -101048,7 +101041,7 @@ declare namespace __esri {
101048
101041
  */
101049
101042
  constructor(properties?: FeatureLayerViewProperties);
101050
101043
  /**
101051
- * The featureEffect can be used to draw attention features of interest.
101044
+ * The featureEffect can be used to draw attention to features of interest.
101052
101045
  *
101053
101046
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html#featureEffect Read more...}
101054
101047
  */
@@ -101160,7 +101153,7 @@ declare namespace __esri {
101160
101153
 
101161
101154
  interface FeatureLayerViewProperties extends LayerViewProperties, FeatureLayerViewMixinProperties, HighlightLayerViewMixinProperties {
101162
101155
  /**
101163
- * The featureEffect can be used to draw attention features of interest.
101156
+ * The featureEffect can be used to draw attention to features of interest.
101164
101157
  *
101165
101158
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html#featureEffect Read more...}
101166
101159
  */
@@ -101371,7 +101364,7 @@ declare namespace __esri {
101371
101364
  */
101372
101365
  constructor(properties?: GeoJSONLayerViewProperties);
101373
101366
  /**
101374
- * The featureEffect can be used to draw attention features of interest.
101367
+ * The featureEffect can be used to draw attention to features of interest.
101375
101368
  *
101376
101369
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-GeoJSONLayerView.html#featureEffect Read more...}
101377
101370
  */
@@ -101483,7 +101476,7 @@ declare namespace __esri {
101483
101476
 
101484
101477
  interface GeoJSONLayerViewProperties extends LayerViewProperties, FeatureLayerViewMixinProperties, HighlightLayerViewMixinProperties {
101485
101478
  /**
101486
- * The featureEffect can be used to draw attention features of interest.
101479
+ * The featureEffect can be used to draw attention to features of interest.
101487
101480
  *
101488
101481
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-GeoJSONLayerView.html#featureEffect Read more...}
101489
101482
  */
@@ -102076,7 +102069,7 @@ declare namespace __esri {
102076
102069
  */
102077
102070
  constructor(properties?: OGCFeatureLayerViewProperties);
102078
102071
  /**
102079
- * The featureEffect can be used to draw attention features of interest.
102072
+ * The featureEffect can be used to draw attention to features of interest.
102080
102073
  *
102081
102074
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-OGCFeatureLayerView.html#featureEffect Read more...}
102082
102075
  */
@@ -102188,7 +102181,7 @@ declare namespace __esri {
102188
102181
 
102189
102182
  interface OGCFeatureLayerViewProperties extends LayerViewProperties, FeatureLayerViewMixinProperties, HighlightLayerViewMixinProperties {
102190
102183
  /**
102191
- * The featureEffect can be used to draw attention features of interest.
102184
+ * The featureEffect can be used to draw attention to features of interest.
102192
102185
  *
102193
102186
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-OGCFeatureLayerView.html#featureEffect Read more...}
102194
102187
  */
@@ -102280,7 +102273,7 @@ declare namespace __esri {
102280
102273
  */
102281
102274
  constructor(properties?: ParquetLayerViewProperties);
102282
102275
  /**
102283
- * The featureEffect can be used to draw attention features of interest.
102276
+ * The featureEffect can be used to draw attention to features of interest.
102284
102277
  *
102285
102278
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-ParquetLayerView.html#featureEffect Read more...}
102286
102279
  */
@@ -102392,7 +102385,7 @@ declare namespace __esri {
102392
102385
 
102393
102386
  interface ParquetLayerViewProperties extends LayerViewProperties, FeatureLayerViewMixinProperties, HighlightLayerViewMixinProperties {
102394
102387
  /**
102395
- * The featureEffect can be used to draw attention features of interest.
102388
+ * The featureEffect can be used to draw attention to features of interest.
102396
102389
  *
102397
102390
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-ParquetLayerView.html#featureEffect Read more...}
102398
102391
  */
@@ -102677,7 +102670,7 @@ declare namespace __esri {
102677
102670
  */
102678
102671
  constructor(properties?: StreamLayerViewProperties);
102679
102672
  /**
102680
- * The featureEffect can be used to draw attention features of interest.
102673
+ * The featureEffect can be used to draw attention to features of interest.
102681
102674
  *
102682
102675
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-StreamLayerView.html#featureEffect Read more...}
102683
102676
  */
@@ -102820,7 +102813,7 @@ declare namespace __esri {
102820
102813
 
102821
102814
  interface StreamLayerViewProperties extends LayerViewProperties, HighlightLayerViewMixinProperties {
102822
102815
  /**
102823
- * The featureEffect can be used to draw attention features of interest.
102816
+ * The featureEffect can be used to draw attention to features of interest.
102824
102817
  *
102825
102818
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-StreamLayerView.html#featureEffect Read more...}
102826
102819
  */
@@ -103025,7 +103018,7 @@ declare namespace __esri {
103025
103018
  */
103026
103019
  constructor(properties?: WFSLayerViewProperties);
103027
103020
  /**
103028
- * The featureEffect can be used to draw attention features of interest.
103021
+ * The featureEffect can be used to draw attention to features of interest.
103029
103022
  *
103030
103023
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-WFSLayerView.html#featureEffect Read more...}
103031
103024
  */
@@ -103137,7 +103130,7 @@ declare namespace __esri {
103137
103130
 
103138
103131
  interface WFSLayerViewProperties extends LayerViewProperties, FeatureLayerViewMixinProperties, HighlightLayerViewMixinProperties {
103139
103132
  /**
103140
- * The featureEffect can be used to draw attention features of interest.
103133
+ * The featureEffect can be used to draw attention to features of interest.
103141
103134
  *
103142
103135
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-WFSLayerView.html#featureEffect Read more...}
103143
103136
  */
package/kernel.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.34/esri/copyright.txt for details.
4
4
  */
5
- 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="4.34";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="4.34.4",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};
5
+ 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="4.34";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="4.34.6",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};
@@ -2,4 +2,4 @@
2
2
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
4
4
  */
5
- import{__decorate as e}from"tslib";import t from"../request.js";import o from"../core/Error.js";import r from"../core/Logger.js";import{MultiOriginJSONMixin as i}from"../core/MultiOriginJSONSupport.js";import{throwIfAbortError as s}from"../core/promiseUtils.js";import{on as n,sync as a}from"../core/reactiveUtils.js";import{property as l}from"../core/accessorSupport/decorators/property.js";import"../core/has.js";import"../core/RandomLCG.js";import{reader as p}from"../core/accessorSupport/decorators/reader.js";import{subclass as m}from"../core/accessorSupport/decorators/subclass.js";import{persistable as c}from"../core/accessorSupport/decorators/persistable.js";import d from"../geometry/Extent.js";import u from"../geometry/SpatialReference.js";import h from"./Layer.js";import{APIKeyMixin as f}from"./mixins/APIKeyMixin.js";import{ArcGISService as y}from"./mixins/ArcGISService.js";import{CustomParametersMixin as g}from"./mixins/CustomParametersMixin.js";import{OperationalLayer as _}from"./mixins/OperationalLayer.js";import{PortalLayer as S}from"./mixins/PortalLayer.js";import{ScaleRangeLayer as j}from"./mixins/ScaleRangeLayer.js";import{elevationInfo as T,url as v}from"./support/commonProperties.js";import w from"./support/SceneModifications.js";import{initFullExtent as x}from"./support/tiles3DUtils.js";import L from"../portal/Portal.js";import{logInvalidElevationInfoWarning as b,elevationModeRequiredMessage as P,featureExpressionUnsupportedMessage as I}from"../support/elevationInfoUtils.js";import{f as k}from"../chunks/persistableUrlUtils.js";import{isBasemap as R}from"../support/userTypeGuards/isBasemap.js";let D=class extends(y(_(S(j(i(g(f(h)))))))){readModifications(e,t,o){this._modificationsSource={url:k(e,o),context:o}}initialize(){this.addHandles(n(()=>this.modifications,"after-changes",()=>this.modifications=this.modifications,a))}constructor(e){super(e),this.operationalLayerType="IntegratedMesh3DTilesLayer",this.modifications=null,this._modificationsSource=null,this.spatialReference=new u({wkid:4326,vcsWkid:115700}),this.fullExtent=new d(-180,-90,180,90,this.spatialReference),this.url=null,this.type="integrated-mesh-3dtiles",this.path=null,this.minScale=0,this.maxScale=0,this._rootTilesetJSON=null,this._rootTileset=null,this._key=null,this._session=null,this._rootRequestPromise=null}set elevationInfo(e){null!=e&&"absolute-height"!==e.mode||this._set("elevationInfo",e),this._validateElevationInfo(e)}async load(e){return this.addResolvingPromise(this._doLoad(e)),this}get rootTilesetJSON(){return this._rootTilesetJSON}get rootTileset(){return this._rootTileset}get key(){return this._key}get session(){return this._session}_findSessionParameter(e){const t=[e];for(;t?.length>0;){const e=t.pop();if(!e)return;for(const[r,i]of Object.entries(e)){if("uri"===r)try{const e=new URL("https://tmp"+i).searchParams.get("session");if(e)return e}catch(o){}"object"==typeof i&&null!==i&&t.push(i)}}return null}async requestRootAndSession(e){const i=(e,t)=>new o("3dtiles-init:"+e,t);return this._rootRequestPromise||(this._rootRequestPromise=new Promise((o,n)=>{this.url||n(i("url-missing","Layer url missing")),this._key=this.customParameters?this.customParameters.key:null;new Promise((e,o)=>{if(this.replacesTerrain&&!this._key){const r=this.portalItem?.portal||this.parent?.portalItem?.portal||L.getDefault();r.signIn().then(()=>{r.g3dTilesEnabled?t(r.restUrl+"/portals/self/modules/g3dtiles",{responseType:"json",query:{f:"json"}}).then(t=>{this._key=t.data.keyString,e()},()=>o(i("g3dtiles-key-error","Error fetching Google 3D Tiles key from portal"))):o(i("g3dTilesEnabled-false","Google 3D Tiles are not enabled on Portal "+r.url))},()=>o(i("sign-in-failed","Error signing in to Portal")))}else e()}).then(()=>{t(this.url,{query:this._key?{key:this._key,token:this.apiKey}:{token:this.apiKey},responseType:"array-buffer",authMode:"anonymous",signal:e}).then(e=>{try{this._rootTilesetJSON=JSON.parse((new TextDecoder).decode(e.data))}catch(t){return void n(i("root-parse-failed","Error parsing root tile, details: "+t))}this._rootTilesetJSON?(this._session=this._findSessionParameter(this._rootTilesetJSON),this._rootTileset=e.data,this.fullExtent=x(this._rootTilesetJSON),o(),this._rootRequestPromise=null):n(i("root-is-null","Root tile is null."))},e=>{s(e),n(i("root-load-failed","Error loading root tile")),this._rootRequestPromise=null,r.getLogger("IntegratedMesh3DTilesLayer").error("Layer loading failed",e)})},e=>n(e))})),this._rootRequestPromise}async _doLoad(e){const t=null!=e?e.signal:null;if(this._isUsedAsGroundLayer)throw new o("3dtiles-init:not-supported-in-groundlayers","Layer is not supported in basemap.");try{await this.loadFromPortal({supportedTypes:["3DTiles Service"],validateItem:e=>{if(e.typeKeywords?.includes("IntegratedMesh"))return!0;throw new o("portal:invalid-layer-item-type","Invalid layer item, expected '${expectedType}' ",{expectedType:"3DTiles Service containing IntegratedMesh"})}},e)}catch(r){s(r)}if(null!=this._modificationsSource){const t=await w.fromUrl(this._modificationsSource.url,this.spatialReference,e);this.setAtOrigin("modifications",t,this._modificationsSource.context.origin),this._modificationsSource=null}await this.requestRootAndSession(t)}beforeSave(){if(null!=this._modificationsSource)return this.load().then(()=>{},()=>{})}get hasAttributionData(){return!1}async fetchAttributionData(){return{}}_validateElevationInfo(e){const t="Integrated mesh 3d tiles layers";b(r.getLogger(this),P(t,"absolute-height",e)),b(r.getLogger(this),I(t,e))}get replacesTerrain(){return!1}get _isUsedAsGroundLayer(){return R(this.parent)}get hasGoogleUrl(){return!!this.url?.match(/.+\.googleapis.com/)}};e([l({type:["IntegratedMesh3DTilesLayer"]})],D.prototype,"operationalLayerType",void 0),e([l({type:w,clonable:e=>e.clone()}),c({origins:["web-scene","portal-item"],type:"resource",prefix:"modifications"})],D.prototype,"modifications",void 0),e([p(["web-scene","portal-item"],"modifications")],D.prototype,"readModifications",null),e([l({type:u})],D.prototype,"spatialReference",void 0),e([l({type:d})],D.prototype,"fullExtent",void 0),e([l(T)],D.prototype,"elevationInfo",null),e([l({type:["show","hide"]})],D.prototype,"listMode",void 0),e([l(v)],D.prototype,"url",void 0),e([l({readOnly:!0})],D.prototype,"type",void 0),e([l({type:String,json:{origins:{"web-scene":{read:!0,write:!0},"portal-item":{read:!0,write:!0}},read:!1}})],D.prototype,"path",void 0),e([l({type:Number,json:{name:"layerDefinition.minScale",write:!0,origins:{service:{read:!1,write:!1}}}})],D.prototype,"minScale",void 0),e([l({type:Number,json:{name:"layerDefinition.maxScale",write:!0,origins:{service:{read:!1,write:!1}}}})],D.prototype,"maxScale",void 0),e([l()],D.prototype,"replacesTerrain",null),e([l()],D.prototype,"_isUsedAsGroundLayer",null),e([l()],D.prototype,"hasGoogleUrl",null),D=e([m("esri.layers.IntegratedMesh3DTilesLayer")],D);const M=D;export{M as default};
5
+ import{__decorate as e}from"tslib";import t from"../request.js";import o from"../core/Error.js";import r from"../core/Logger.js";import{MultiOriginJSONMixin as i}from"../core/MultiOriginJSONSupport.js";import{throwIfAbortError as s}from"../core/promiseUtils.js";import{on as n,sync as a}from"../core/reactiveUtils.js";import{property as l}from"../core/accessorSupport/decorators/property.js";import"../core/has.js";import"../core/RandomLCG.js";import{reader as p}from"../core/accessorSupport/decorators/reader.js";import{subclass as m}from"../core/accessorSupport/decorators/subclass.js";import{persistable as c}from"../core/accessorSupport/decorators/persistable.js";import d from"../geometry/Extent.js";import u from"../geometry/SpatialReference.js";import h from"./Layer.js";import{APIKeyMixin as f}from"./mixins/APIKeyMixin.js";import{ArcGISService as y}from"./mixins/ArcGISService.js";import{CustomParametersMixin as g}from"./mixins/CustomParametersMixin.js";import{OperationalLayer as _}from"./mixins/OperationalLayer.js";import{PortalLayer as S}from"./mixins/PortalLayer.js";import{ScaleRangeLayer as j}from"./mixins/ScaleRangeLayer.js";import{elevationInfo as T,url as v}from"./support/commonProperties.js";import w from"./support/SceneModifications.js";import{initFullExtent as x}from"./support/tiles3DUtils.js";import L from"../portal/Portal.js";import{logInvalidElevationInfoWarning as b,elevationModeRequiredMessage as P,featureExpressionUnsupportedMessage as I}from"../support/elevationInfoUtils.js";import{f as k}from"../chunks/persistableUrlUtils.js";import{isBasemap as R}from"../support/userTypeGuards/isBasemap.js";let D=class extends(y(_(S(j(i(g(f(h)))))))){readModifications(e,t,o){this._modificationsSource={url:k(e,o),context:o}}initialize(){this.addHandles(n(()=>this.modifications,"after-changes",()=>this.modifications=this.modifications,a))}constructor(e){super(e),this.operationalLayerType="IntegratedMesh3DTilesLayer",this.modifications=null,this._modificationsSource=null,this.spatialReference=new u({wkid:4326,vcsWkid:115700}),this.fullExtent=new d(-180,-90,180,90,this.spatialReference),this.url=null,this.type="integrated-mesh-3dtiles",this.path=null,this.minScale=0,this.maxScale=0,this._rootTilesetJSON=null,this._rootTileset=null,this._key=null,this._session=null,this._rootRequestPromise=null}set elevationInfo(e){null!=e&&"absolute-height"!==e.mode||this._set("elevationInfo",e),this._validateElevationInfo(e)}async load(e){return this.addResolvingPromise(this._doLoad(e)),this}get rootTilesetJSON(){return this._rootTilesetJSON}get rootTileset(){return this._rootTileset}get key(){return this._key}get session(){return this._session}_findSessionParameter(e){const t=[e];for(;t?.length>0;){const e=t.pop();if(!e)return;for(const[r,i]of Object.entries(e)){if("uri"===r)try{const e=new URL("https://tmp"+i).searchParams.get("session");if(e)return e}catch(o){}"object"==typeof i&&null!==i&&t.push(i)}}return null}async requestRootAndSession(e){const i=(e,t)=>new o("3dtiles-init:"+e,t);return this._rootRequestPromise||(this._rootRequestPromise=new Promise((o,n)=>{this.url||n(i("url-missing","Layer url missing")),this._key=this.customParameters?this.customParameters.key:null;new Promise((e,o)=>{if(this.replacesTerrain&&!this._key){const r=this.portalItem?.portal||this.parent?.portalItem?.portal||L.getDefault();r.signIn().then(()=>{r.g3dTilesEnabled?t(r.restUrl+"/portals/self/modules/g3dtiles",{responseType:"json",query:{f:"json"}}).then(t=>{this._key=t.data.keyString,e()},()=>o(i("g3dtiles-key-error","Error fetching Google 3D Tiles key from portal"))):o(i("g3dTilesEnabled-false","Google 3D Tiles are not enabled on Portal "+r.url))},()=>o(i("sign-in-failed","Error signing in to Portal")))}else e()}).then(()=>{t(this.url,{query:this._key?{key:this._key,token:this.apiKey}:{token:this.apiKey},responseType:"array-buffer",signal:e}).then(e=>{try{this._rootTilesetJSON=JSON.parse((new TextDecoder).decode(e.data))}catch(t){return void n(i("root-parse-failed","Error parsing root tile, details: "+t))}this._rootTilesetJSON?(this._session=this._findSessionParameter(this._rootTilesetJSON),this._rootTileset=e.data,this.fullExtent=x(this._rootTilesetJSON),o(),this._rootRequestPromise=null):n(i("root-is-null","Root tile is null."))},e=>{s(e),n(i("root-load-failed","Error loading root tile")),this._rootRequestPromise=null,r.getLogger("IntegratedMesh3DTilesLayer").error("Layer loading failed",e)})},e=>n(e))})),this._rootRequestPromise}async _doLoad(e){const t=null!=e?e.signal:null;if(this._isUsedAsGroundLayer)throw new o("3dtiles-init:not-supported-in-groundlayers","Layer is not supported in basemap.");try{await this.loadFromPortal({supportedTypes:["3DTiles Service"],validateItem:e=>{if(e.typeKeywords?.includes("IntegratedMesh"))return!0;throw new o("portal:invalid-layer-item-type","Invalid layer item, expected '${expectedType}' ",{expectedType:"3DTiles Service containing IntegratedMesh"})}},e)}catch(r){s(r)}if(null!=this._modificationsSource){const t=await w.fromUrl(this._modificationsSource.url,this.spatialReference,e);this.setAtOrigin("modifications",t,this._modificationsSource.context.origin),this._modificationsSource=null}await this.requestRootAndSession(t)}beforeSave(){if(null!=this._modificationsSource)return this.load().then(()=>{},()=>{})}get hasAttributionData(){return!1}async fetchAttributionData(){return{}}_validateElevationInfo(e){const t="Integrated mesh 3d tiles layers";b(r.getLogger(this),P(t,"absolute-height",e)),b(r.getLogger(this),I(t,e))}get replacesTerrain(){return!1}get _isUsedAsGroundLayer(){return R(this.parent)}get hasGoogleUrl(){return!!this.url?.match(/.+\.googleapis.com/)}};e([l({type:["IntegratedMesh3DTilesLayer"]})],D.prototype,"operationalLayerType",void 0),e([l({type:w,clonable:e=>e.clone()}),c({origins:["web-scene","portal-item"],type:"resource",prefix:"modifications"})],D.prototype,"modifications",void 0),e([p(["web-scene","portal-item"],"modifications")],D.prototype,"readModifications",null),e([l({type:u})],D.prototype,"spatialReference",void 0),e([l({type:d})],D.prototype,"fullExtent",void 0),e([l(T)],D.prototype,"elevationInfo",null),e([l({type:["show","hide"]})],D.prototype,"listMode",void 0),e([l(v)],D.prototype,"url",void 0),e([l({readOnly:!0})],D.prototype,"type",void 0),e([l({type:String,json:{origins:{"web-scene":{read:!0,write:!0},"portal-item":{read:!0,write:!0}},read:!1}})],D.prototype,"path",void 0),e([l({type:Number,json:{name:"layerDefinition.minScale",write:!0,origins:{service:{read:!1,write:!1}}}})],D.prototype,"minScale",void 0),e([l({type:Number,json:{name:"layerDefinition.maxScale",write:!0,origins:{service:{read:!1,write:!1}}}})],D.prototype,"maxScale",void 0),e([l()],D.prototype,"replacesTerrain",null),e([l()],D.prototype,"_isUsedAsGroundLayer",null),e([l()],D.prototype,"hasGoogleUrl",null),D=e([m("esri.layers.IntegratedMesh3DTilesLayer")],D);const O=D;export{O as default};
@@ -2,4 +2,4 @@
2
2
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
4
4
  */
5
- import{__decorate as t}from"tslib";import{Loadable as e}from"../../../core/Loadable.js";import r from"../../../core/Logger.js";import{throwIfAborted as s}from"../../../core/promiseUtils.js";import{open as o}from"../../../core/workers/workers.js";import{property as i}from"../../../core/accessorSupport/decorators/property.js";import{subclass as a}from"../../../core/accessorSupport/decorators/subclass.js";import n from"../../../geometry/Extent.js";import{toParquetJSONGeometryType as u}from"../../support/parquetUtils.js";import l from"../../../rest/support/FeatureSet.js";let c=class extends e{constructor(t){super(t),this.type="parquet"}load(t){const e=null!=t?t.signal:null;return this.addResolvingPromise(this._initialize(e)),Promise.resolve(this)}destroy(){this._connection.destroy()}setCustomParameters(t){this._proxy.setCustomParameters(t).catch(()=>{r.getLogger(this).warn("Failed to update customParameters")})}async updateFiles(t){await this._proxy.updateFiles(t)}async queryFeaturesJSON(t,e={}){return await this.load(e),this._proxy.queryFeatures(t.toJSON(),{signal:e?.signal})}async queryFeatures(t,e={}){const r=await this.queryFeaturesJSON(t,{signal:e?.signal});return l.fromJSON(r)}async queryObjectIds(t,e){return await this._proxy.queryObjectIds(t.toJSON(),{signal:e?.signal})}async queryFeatureCount(t,e){return this._proxy.queryFeatureCount(t.toJSON(),{signal:e?.signal})}async queryExtent(t,e){if(null==this.layer.encoding)return r.getLogger(this).warn("Tried to queryExtent, but source does not have a geometry. Returning null extent."),{count:0,extent:null};const s=await this._proxy.queryExtent(t.toJSON(),{signal:e?.signal});return{count:s.count,extent:n.fromJSON(s.extent)}}async _initialize(t){this._connection=await o("ParquetSourceWorker",{strategy:"dedicated",signal:t,registryTarget:this}),s(t),this._proxy=this._connection.createInvokeProxy();const{layerDefinition:e,capabilities:r}=await this._proxy.load({urls:this.layer.urls.items,fields:this.layer.fields?.map(t=>t.toJSON()),geometryType:this.layer.geometryType?u(this.layer.geometryType):null,spatialReference:this.layer.spatialReference?.toJSON(),encoding:this.layer.encoding?.toJSON(),displayOptimization:this.layer.displayOptimization,customParameters:this.layer.customParameters});s(t),this.sourceJSON=e,this.capabilities=r}};t([i()],c.prototype,"type",void 0),t([i({constructOnly:!0})],c.prototype,"layer",void 0),t([i()],c.prototype,"sourceJSON",void 0),t([i()],c.prototype,"capabilities",void 0),c=t([a("esri.layers.graphics.sources.ParquetSource")],c);export{c as ParquetSource};
5
+ import{__decorate as t}from"tslib";import{Loadable as e}from"../../../core/Loadable.js";import r from"../../../core/Logger.js";import{throwIfAborted as s}from"../../../core/promiseUtils.js";import{open as o}from"../../../core/workers/workers.js";import{property as i}from"../../../core/accessorSupport/decorators/property.js";import{subclass as a}from"../../../core/accessorSupport/decorators/subclass.js";import n from"../../../geometry/Extent.js";import{toParquetJSONGeometryType as u}from"../../support/parquetUtils.js";import l from"../../../rest/support/FeatureSet.js";let c=class extends e{constructor(t){super(t),this.type="parquet"}load(t){const e=null!=t?t.signal:null;return this.addResolvingPromise(this._initialize(e)),Promise.resolve(this)}destroy(){this._connection?.destroy()}setCustomParameters(t){this._proxy.setCustomParameters(t).catch(()=>{r.getLogger(this).warn("Failed to update customParameters")})}async updateFiles(t){await this._proxy.updateFiles(t)}async queryFeaturesJSON(t,e={}){return await this.load(e),this._proxy.queryFeatures(t.toJSON(),{signal:e?.signal})}async queryFeatures(t,e={}){const r=await this.queryFeaturesJSON(t,{signal:e?.signal});return l.fromJSON(r)}async queryObjectIds(t,e){return await this._proxy.queryObjectIds(t.toJSON(),{signal:e?.signal})}async queryFeatureCount(t,e){return this._proxy.queryFeatureCount(t.toJSON(),{signal:e?.signal})}async queryExtent(t,e){if(null==this.layer.encoding)return r.getLogger(this).warn("Tried to queryExtent, but source does not have a geometry. Returning null extent."),{count:0,extent:null};const s=await this._proxy.queryExtent(t.toJSON(),{signal:e?.signal});return{count:s.count,extent:n.fromJSON(s.extent)}}async _initialize(t){this._connection=await o("ParquetSourceWorker",{strategy:"dedicated",signal:t,registryTarget:this}),s(t),this._proxy=this._connection.createInvokeProxy();const{layerDefinition:e,capabilities:r}=await this._proxy.load({urls:this.layer.urls.items,fields:this.layer.fields?.map(t=>t.toJSON()),geometryType:this.layer.geometryType?u(this.layer.geometryType):null,spatialReference:this.layer.spatialReference?.toJSON(),encoding:this.layer.encoding?.toJSON(),displayOptimization:this.layer.displayOptimization,customParameters:this.layer.customParameters});s(t),this.sourceJSON=e,this.capabilities=r}};t([i()],c.prototype,"type",void 0),t([i({constructOnly:!0})],c.prototype,"layer",void 0),t([i()],c.prototype,"sourceJSON",void 0),t([i()],c.prototype,"capabilities",void 0),c=t([a("esri.layers.graphics.sources.ParquetSource")],c);export{c as ParquetSource};
@@ -2,4 +2,4 @@
2
2
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
4
4
  */
5
- import e from"../../core/Collection.js";import t from"../../core/Error.js";import{JSONMap as o}from"../../core/jsonMap.js";import n from"../../geometry/SpatialReference.js";import i from"./Field.js";import{inferLocationInfo as r}from"./locationUtils.js";import l from"./ParquetEncodingLocation.js";import s from"./ParquetEncodingWkb.js";import{createParquetFile as a,readGeoMetadata as m,readEsriMetadata as u}from"../../libs/parquet/parquet.js";const c=new o({esriGeometryPoint:"point",esriGeometryPolygon:"polygon",esriGeometryPolyline:"polyline",esriGeometryMultipoint:"multipoint"});function p(e){return c.toJSON(e)}function f(e){return c.fromJSON(e)}function d(t,o={}){return y({urls:new e(t)},o)}async function y(e,o={}){if(e.geometryType&&e.spatialReference&&e.encoding&&e.fields)return e;if(e.urls.length<1)throw new t("parquet:bad-input","At least one url must be specified",e);const r=await a(e.urls.getItemAt(0),{getCustomParameters:()=>o.customParameters}),l=m(r),s={...e,file:r};null==s.fields&&(s.fields=r.fields().map(e=>i.fromJSON({name:e.name,type:e.type}))),null==s.encoding&&(s.encoding=g(l,s.fields));const c=u(r);if(c)switch(c.mode){case"z":s.displayOptimization={mode:"z"};break;case"xz":{const e=c.multiscale;if(!e)throw new t("bad-format","XZ display optimization requires multiscale geometries");s.displayOptimization={mode:"xz",multiscale:e};break}}if(!s.encoding)return s;switch(s.encoding.type){case"location":null==s.spatialReference&&(s.spatialReference=n.WGS84),null==s.geometryType&&(s.geometryType="point");break;case"wkb":{if(!l)return s;const e=l.primary_column,t=l.columns[e];if(s.geometryType||(s.geometryType=P(t)),s.spatialReference||(s.spatialReference=b(t)),s.fields)for(const o of Object.keys(l.columns))s.fields=s.fields.filter(e=>e.name!==o)}}return s}function g(e,t){if(null!=e){const t=e.primary_column,o=e.columns[t];return new s({primaryFieldName:t,orientation:o.orientation??null})}const o=r(t.map(e=>e.name));return o.latitudeFieldName&&o.latitudeFieldName?new l({latitudeFieldName:o.latitudeFieldName,longitudeFieldName:o.longitudeFieldName}):null}function w(e){switch(e){case"Point":return"point";case"Polygon":case"MultiPolygon":return"polygon";case"LineString":return"polyline";case"MultiPoint":return"multipoint";default:return null}}function P(e){const{geometry_types:o}=e,n=new Set;for(const t of o){const e=w(t);e&&n.add(e)}if(n.size>1)throw new t("unsupported","Parquet mixed geometry types are not support",{geometryTypes:n});return 1===n.size?n.values().next().value:void 0}function b(e){const t=e.crs?.id?.code;return t&&"number"==typeof t?new n({wkid:t}):void 0}export{y as completeParquetLayerInfo,f as fromParquetJSONGeometryType,d as getParquetLayerInfo,c as parquetGeometryTypeKebabDict,p as toParquetJSONGeometryType};
5
+ import e from"../../core/Collection.js";import t from"../../core/Error.js";import{JSONMap as o}from"../../core/jsonMap.js";import n from"../../geometry/SpatialReference.js";import i from"./Field.js";import{inferLocationInfo as r}from"./locationUtils.js";import l from"./ParquetEncodingLocation.js";import s from"./ParquetEncodingWkb.js";import{createParquetFile as a,readGeoMetadata as m,readEsriMetadata as u}from"../../libs/parquet/parquet.js";const c=new o({esriGeometryPoint:"point",esriGeometryPolygon:"polygon",esriGeometryPolyline:"polyline",esriGeometryMultipoint:"multipoint"});function p(e){return c.toJSON(e)}function f(e){return c.fromJSON(e)}function d(t,o={}){return y({urls:new e(t)},o)}async function y(e,o={}){if(e.geometryType&&e.spatialReference&&e.encoding&&e.fields)return e;if(e.urls.length<1)throw new t("parquet:bad-input","At least one url must be specified",e);const r=await a(e.urls.getItemAt(0),{getCustomParameters:()=>o.customParameters}),l=m(r),s={...e,file:r};null==s.fields&&(s.fields=r.fields().map(e=>i.fromJSON({name:e.name,type:e.type}))),null==s.encoding&&(s.encoding=g(l,s.fields));const c=u(r);if(c)switch(c.mode){case"z":s.displayOptimization={mode:"z"};break;case"xz":{const e=c.multiscale;if(!e)throw new t("bad-format","XZ display optimization requires multiscale geometries");s.displayOptimization={mode:"xz",multiscale:e};break}}if(!s.encoding)return s;switch(s.encoding.type){case"location":null==s.spatialReference&&(s.spatialReference=n.WGS84),null==s.geometryType&&(s.geometryType="point");break;case"wkb":{if(!l)return s;const e=l.primary_column,t=l.columns[e];if(s.geometryType||(s.geometryType=P(t)),s.spatialReference||(s.spatialReference=b(t)),s.fields)for(const o of Object.keys(l.columns))s.fields=s.fields.filter(e=>e.name!==o)}}return s}function g(e,t){if(null!=e){const t=e.primary_column,o=e.columns[t];return new s({primaryFieldName:t,orientation:o.orientation??null})}const o=r(t.map(e=>e.name));return o.latitudeFieldName&&o.longitudeFieldName?new l({latitudeFieldName:o.latitudeFieldName,longitudeFieldName:o.longitudeFieldName}):null}function w(e){switch(e){case"Point":return"point";case"Polygon":case"MultiPolygon":return"polygon";case"LineString":return"polyline";case"MultiPoint":return"multipoint";default:return null}}function P(e){const{geometry_types:o}=e,n=new Set;for(const t of o){const e=w(t);e&&n.add(e)}if(n.size>1)throw new t("unsupported","Parquet mixed geometry types are not support",{geometryTypes:n});return 1===n.size?n.values().next().value:void 0}function b(e){const t=e.crs?.id?.code;return t&&"number"==typeof t?new n({wkid:t}):void 0}export{y as completeParquetLayerInfo,f as fromParquetJSONGeometryType,d as getParquetLayerInfo,c as parquetGeometryTypeKebabDict,p as toParquetJSONGeometryType};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/core",
3
- "version": "4.34.4",
3
+ "version": "4.34.6",
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": [
@@ -2,4 +2,4 @@
2
2
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
4
4
  */
5
- const d="20251027",c="26599f343444df08e98f820ddc479c2553d14403";export{d as buildDate,c as commitHash};
5
+ const c="20251030",a="835d81a62f2298b45c84da553637cfdca5626858";export{c as buildDate,a 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.34/esri/copyright.txt for details.
4
4
  */
5
- import{UniqueSymbol as e}from"./core.js";import{isSearchCircleOverlapingSymbol as t,tileCoordChangeX as s,tileCoordChangeY as i,GridIndex as l}from"./util.js";class o{static fromSymbols(e,t){let s=e.length;if(s>=n){let i=t;do{i/=2,s/=4}while(s>r&&i>y);const n=new l(t,t,i);for(const t of e)n.getCell(t.xTile,t.yTile).push(t);return new o(t,e,n)}return new o(t,e,null)}constructor(e,t,s){this.tileCoordRange=e,this._symbols=t,this._index=s}addSymbols(e){for(const t of e)this._symbols.push(t);if(this._index)for(const t of e)this._index.getCell(t.xTile,t.yTile).push(t)}removeSymbols(e){const t=new Set(e);if(this._symbols=this._symbols.filter(e=>!t.has(e)),this._index)for(const s of this._index.cells)for(let e=0;e<s.length;e++)s[e]=s[e].filter(e=>!t.has(e))}getSymbols(){return this._symbols}getCandidate(e,t,s,i){if(!this._index){for(const l of this._symbols)if(s===l.hash&&Math.abs(e-l.xTile)<=i&&Math.abs(t-l.yTile)<=i)return l;return null}const l=this._index.getCellSpan(e-i,t-i,e+i,t+i),[o,n,r,y]=l;for(let a=n;a<=y;a++)for(let l=o;l<=r;l++){const o=this._index.cells[a][l];for(const l of o)if(s===l.hash&&Math.abs(e-l.xTile)<=i&&Math.abs(t-l.yTile)<=i)return l}return null}}const n=32,r=8,y=64,a=20;class u{constructor(e,t){this.tileCoordRange=e,this._visibleTiles=t,this._indexMapByTile=new Map,this._uniqueSymbolsByStyleLayerId=new Map}get uniqueSymbols(){return null==this._uniqueSymbolLayerArray&&(this._uniqueSymbolLayerArray=this._createUniqueSymbolLayerArray()),this._uniqueSymbolLayerArray}registerVectorTile(e,t){const s=this._ensureIndexMap(e),i=t?.values()??s.keys();for(const l of i){const e=s.get(l);e&&(this._removeSymbols(l,e.getSymbols()),s.delete(l))}this._addSymbols(e.key,s,e.symbols),this._invalidate()}unregisterVectorTile(e){this._removeTile(e),this._invalidate()}registerFeatureTile(e){this._ensureIndexMap(e),this._invalidate()}unregisterFeatureTile(e){this._removeTile(e),this._invalidate()}insertFeatureTileMetrics(e,t){const s=this._indexMapByTile.get(e);if(!s)throw new Error(`tile ${e.id} not registered!`);this._addSymbols(e.key,s,h(t)),this._invalidate()}removeFeatureTileMetrics(e,t){const s=this._indexMapByTile.get(e);if(!s)return;const i=h(t);for(const[l,o]of s.entries()){const e=i.get(l);e&&(o.removeSymbols(e),this._removeSymbols(l,e))}this._invalidate()}deleteStyleLayers(e){for(const t of this._indexMapByTile.values())for(const s of e){const e=t.get(s);e&&(this._removeSymbols(s,e.getSymbols()),t.delete(s))}this._invalidate()}querySymbols(e,s,i,l){const o=[];for(const[n,r]of this._uniqueSymbolsByStyleLayerId.entries())for(const l of r){const r=l.tileSymbols.find(e=>e.selectedForRendering);r&&t(r,e,s*(window.devicePixelRatio||1),i)&&o.push({vtlSymbol:r,styleLayerUID:n,tileKey:r.tile.key})}return o}_ensureIndexMap(e){let t=this._indexMapByTile.get(e);return t||(t=new Map,this._indexMapByTile.set(e,t)),t}_invalidate(){this._uniqueSymbolLayerArray=null}_addSymbols(e,t,s){for(const[i,l]of s){let e=t.get(i);e?e.addSymbols(l):(e=o.fromSymbols(l,this.tileCoordRange),t.set(i,e))}this._updateUniqueSymbols(e,s)}_removeTile(e){const t=this._indexMapByTile.get(e);if(t){for(const[e,s]of t.entries())this._removeSymbols(e,s.getSymbols());this._indexMapByTile.delete(e),this._invalidate()}}_removeSymbols(e,t){for(const s of t){const t=s.uniqueSymbol;if(t){if(t.tileSymbols=t.tileSymbols.filter(e=>e!==s),0===t.tileSymbols.length){const s=this._uniqueSymbolsByStyleLayerId.get(e);s.delete(t),0===s.size&&this._uniqueSymbolsByStyleLayerId.delete(e)}s.uniqueSymbol=null}}}_updateUniqueSymbols(t,s){if(0!==s.size){for(const e of this._visibleTiles)e.parentTile||e.key.world!==t.world||e.key.level===t.level&&!e.key.equals(t)||this._matchSymbols(e,t,s);for(const[t,i]of s)for(const s of i)if(!s.uniqueSymbol){s.uniqueSymbol=new e(s);let i=this._uniqueSymbolsByStyleLayerId.get(t);i||(i=new Set,this._uniqueSymbolsByStyleLayerId.set(t,i)),i.add(s.uniqueSymbol)}}}_matchSymbols(e,t,l){if(e.key.level>t.level){const s=e.key.level-t.level;if(e.key.row>>s!==t.row||e.key.col>>s!==t.col)return}if(t.level>e.key.level){const s=t.level-e.key.level;if(t.row>>s!==e.key.row||t.col>>s!==e.key.col)return}const o=new Map;for(const[n,r]of l){const l=[],y=(e.key.level<t.level?1:1<<e.key.level-t.level)+a,u=this._indexMapByTile.get(e),h=u?.get(n);if(h)for(const o of r){if(o.uniqueSymbol)continue;const n=s(this.tileCoordRange,o.xTile,t,e.key),r=i(this.tileCoordRange,o.yTile,t,e.key),u=-a,c=this.tileCoordRange+a;if(!(n>=u&&n<c&&r>=u&&r<c)){l.push(o);continue}const f=h.getCandidate(n,r,o.hash,y),m=f?.uniqueSymbol;m?(o.uniqueSymbol=m,m.tileSymbols.push(o)):l.push(o)}l.length>0&&o.set(n,l)}for(const s of e.childrenTiles||[])this._matchSymbols(s,t,o)}_createUniqueSymbolLayerArray(){const e=this._uniqueSymbolsByStyleLayerId,t=new Array(e.size);let s,i=0;for(const[l,o]of e){const e=new Array(o.size);s=0;for(const t of o)e[s++]=t;t[i]={styleLayerUID:l,uniqueSymbols:e},i++}return t}}function h(e){const t=new Map;for(const s of e){const e=s.labelClassId;let i=t.get(e);i||(i=[],t.set(e,i)),i.push(s)}return t}export{u as SymbolRepository};
5
+ import{UniqueSymbol as e}from"./core.js";import{isSearchCircleOverlapingSymbol as t,tileCoordChangeX as s,tileCoordChangeY as i,GridIndex as l}from"./util.js";class o{static fromSymbols(e,t){let s=e.length;if(s>=n){let i=t;do{i/=2,s/=4}while(s>r&&i>y);const n=new l(t,t,i);for(const t of e)n.getCell(t.xTile,t.yTile).push(t);return new o(t,e,n)}return new o(t,e,null)}constructor(e,t,s){this.tileCoordRange=e,this._symbols=t,this._index=s}addSymbols(e){for(const t of e)this._symbols.push(t);if(this._index)for(const t of e)this._index.getCell(t.xTile,t.yTile).push(t)}removeSymbols(e){const t=new Set(e);if(this._symbols=this._symbols.filter(e=>!t.has(e)),this._index)for(const s of this._index.cells)for(let e=0;e<s.length;e++)s[e]=s[e].filter(e=>!t.has(e))}getSymbols(){return this._symbols}getCandidate(e,t,s,i){if(!this._index){for(const l of this._symbols)if(s===l.hash&&Math.abs(e-l.xTile)<=i&&Math.abs(t-l.yTile)<=i)return l;return null}const l=this._index.getCellSpan(e-i,t-i,e+i,t+i),[o,n,r,y]=l;for(let a=n;a<=y;a++)for(let l=o;l<=r;l++){const o=this._index.cells[a][l];for(const l of o)if(s===l.hash&&Math.abs(e-l.xTile)<=i&&Math.abs(t-l.yTile)<=i)return l}return null}}const n=32,r=8,y=64,a=20;class u{constructor(e,t){this.tileCoordRange=e,this._visibleTiles=t,this._indexMapByTile=new Map,this._uniqueSymbolsByStyleLayerId=new Map}get uniqueSymbols(){return null==this._uniqueSymbolLayerArray&&(this._uniqueSymbolLayerArray=this._createUniqueSymbolLayerArray()),this._uniqueSymbolLayerArray}registerVectorTile(e,t){const s=this._ensureIndexMap(e),i=t?.values()??s.keys();for(const l of i){const e=s.get(l);e&&(this._removeSymbols(l,e.getSymbols()),s.delete(l))}this._addSymbols(e.key,s,e.symbols),this._invalidate()}unregisterVectorTile(e){this._removeTile(e),this._invalidate()}registerFeatureTile(e){this._ensureIndexMap(e),this._invalidate()}unregisterFeatureTile(e){this._removeTile(e),this._invalidate()}insertFeatureTileMetrics(e,t){const s=this._indexMapByTile.get(e);if(!s)throw new Error(`tile ${e.id} not registered!`);this._addSymbols(e.key,s,h(t)),this._invalidate()}removeFeatureTileMetrics(e,t){const s=this._indexMapByTile.get(e);if(!s)return;const i=h(t);for(const[l,o]of s.entries()){const e=i.get(l);e&&(o.removeSymbols(e),this._removeSymbols(l,e))}this._invalidate()}deleteStyleLayers(e){for(const t of this._indexMapByTile.values())for(const s of e){const e=t.get(s);e&&(this._removeSymbols(s,e.getSymbols()),t.delete(s))}this._invalidate()}querySymbols(e,s,i,l){const o=[];for(const[n,r]of this._uniqueSymbolsByStyleLayerId.entries())for(const l of r){const r=l.tileSymbols.find(e=>e.selectedForRendering);r&&t(r,e,s*(window.devicePixelRatio||1),i)&&o.push({vtlSymbol:r,styleLayerUID:n,tileKey:r.tile.key})}return o}_ensureIndexMap(e){let t=this._indexMapByTile.get(e);return t||(t=new Map,this._indexMapByTile.set(e,t)),t}_invalidate(){this._uniqueSymbolLayerArray=null}_addSymbols(e,t,s){for(const[i,l]of s){let e=t.get(i);e?e.addSymbols(l):(e=o.fromSymbols(l,this.tileCoordRange),t.set(i,e))}this._updateUniqueSymbols(e,s)}_removeTile(e){const t=this._indexMapByTile.get(e);if(t){for(const[e,s]of t.entries())this._removeSymbols(e,s.getSymbols());this._indexMapByTile.delete(e),this._invalidate()}}_removeSymbols(e,t){for(const s of t){const t=s.uniqueSymbol;if(t){if(t.tileSymbols=t.tileSymbols.filter(e=>e!==s),0===t.tileSymbols.length){const s=this._uniqueSymbolsByStyleLayerId.get(e);s.delete(t),0===s.size&&this._uniqueSymbolsByStyleLayerId.delete(e)}s.uniqueSymbol=null}}}_updateUniqueSymbols(t,s){if(0!==s.size){for(const e of this._visibleTiles)e.parentTile||e.key.world!==t.world||e.key.level===t.level&&!e.key.equals(t)||this._matchSymbols(e,t,s);for(const[t,i]of s)for(const s of i)if(!s.uniqueSymbol){s.uniqueSymbol=new e(s);let i=this._uniqueSymbolsByStyleLayerId.get(t);i||(i=new Set,this._uniqueSymbolsByStyleLayerId.set(t,i)),i.add(s.uniqueSymbol)}}}_matchSymbols(e,t,l){if(e.key.level>t.level){const s=e.key.level-t.level;if(e.key.row>>s!==t.row||e.key.col>>s!==t.col)return}if(t.level>e.key.level){const s=t.level-e.key.level;if(t.row>>s!==e.key.row||t.col>>s!==e.key.col)return}const o=new Map;for(const[n,r]of l){const l=[],y=e.key.level<t.level?1:1<<Math.abs(e.key.level-t.level),u=this._indexMapByTile.get(e),h=u?.get(n);if(h)for(const o of r){if(o.uniqueSymbol)continue;const n=s(this.tileCoordRange,o.xTile,t,e.key),r=i(this.tileCoordRange,o.yTile,t,e.key),u=-a,c=this.tileCoordRange+a;if(!(n>=u&&n<c&&r>=u&&r<c)){l.push(o);continue}const f=h.getCandidate(n,r,o.hash,y),m=f?.uniqueSymbol;m?(o.uniqueSymbol=m,m.tileSymbols.push(o)):l.push(o)}l.length>0&&o.set(n,l)}for(const s of e.childrenTiles||[])this._matchSymbols(s,t,o)}_createUniqueSymbolLayerArray(){const e=this._uniqueSymbolsByStyleLayerId,t=new Array(e.size);let s,i=0;for(const[l,o]of e){const e=new Array(o.size);s=0;for(const t of o)e[s++]=t;t[i]={styleLayerUID:l,uniqueSymbols:e},i++}return t}}function h(e){const t=new Map;for(const s of e){const e=s.labelClassId;let i=t.get(e);i||(i=[],t.set(e,i)),i.push(s)}return t}export{u as SymbolRepository};