@arcgis/core 4.25.0-next.20220818 → 4.25.0-next.20220821

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/analysis/LengthDimension.js +1 -1
  2. package/assets/esri/core/workers/RemoteClient.js +1 -1
  3. package/assets/esri/core/workers/chunks/0b1d39dc063c4c3385e2.js +1 -0
  4. package/assets/esri/core/workers/chunks/{59a04f1640cd2b710028.js → 0c625803648e554f1fcf.js} +1 -1
  5. package/assets/esri/core/workers/chunks/{50985ec72b9e4557d371.js → 0f1fae79b5311d55c0da.js} +1 -1
  6. package/assets/esri/core/workers/chunks/1a360d839c4eb83aaa02.js +1 -0
  7. package/assets/esri/core/workers/chunks/3381b5454cd530cf940a.js +1 -0
  8. package/assets/esri/core/workers/chunks/3900c702242358c5d00e.js +1 -0
  9. package/assets/esri/core/workers/chunks/43f84cb852c9ab5e742f.js +1 -0
  10. package/assets/esri/core/workers/chunks/4637bfd3deff50b03f2e.js +1 -0
  11. package/assets/esri/core/workers/chunks/4d5bdf18feeb9c8cb6ff.js +1 -0
  12. package/assets/esri/core/workers/chunks/5c2574365af4a484cd4b.js +1 -0
  13. package/assets/esri/core/workers/chunks/70179a003b5e52a99e10.js +1 -0
  14. package/assets/esri/core/workers/chunks/77a38124ef155a1b0f3e.js +1 -0
  15. package/assets/esri/core/workers/chunks/{ab0ce16ced3532f0e429.js → 81418b47acb4ef68daf7.js} +1 -1
  16. package/assets/esri/core/workers/chunks/88b5ce63c4706d0954dc.js +1 -0
  17. package/assets/esri/core/workers/chunks/{064a4baa576964efa238.js → 9809878b87595ac77dc4.js} +1 -1
  18. package/assets/esri/core/workers/chunks/9dbe94a70624a5592690.js +1 -0
  19. package/assets/esri/core/workers/chunks/{d013daa46de022f0db4d.js → a0750175b499a89fd07d.js} +1 -1
  20. package/assets/esri/core/workers/chunks/be4a8a4b2804188817b3.js +1 -0
  21. package/assets/esri/core/workers/chunks/da13db62d54cbca350c3.js +1 -0
  22. package/assets/esri/core/workers/chunks/e472e4f4a2f046846258.js +1 -0
  23. package/assets/esri/core/workers/chunks/f351cccf879ba295acbc.js +1 -0
  24. package/chunks/boundedPlane.js +1 -1
  25. package/chunks/pe.js +1 -1
  26. package/core/Identifiable.js +1 -1
  27. package/geometry/Circle.js +1 -1
  28. package/geometry/Extent.js +1 -1
  29. package/geometry/Mesh.js +1 -1
  30. package/geometry/Multipoint.js +1 -1
  31. package/geometry/Point.js +1 -1
  32. package/geometry/geometryEngine.js +1 -1
  33. package/geometry/geometryEngineAsync.js +1 -1
  34. package/geometry/projection.js +1 -1
  35. package/geometry/support/aaBoundingBox.js +1 -1
  36. package/geometry/support/boundsUtils.js +1 -1
  37. package/geometry/support/centroid.js +1 -1
  38. package/geometry/support/cut.js +1 -1
  39. package/geometry/support/extentUtils.js +1 -1
  40. package/geometry/support/geodesicUtils.js +1 -1
  41. package/geometry/support/heightModelInfoUtils.js +1 -1
  42. package/geometry/support/meshUtils/primitives.js +1 -1
  43. package/geometry/support/quantizationUtils.js +1 -1
  44. package/interfaces.d.ts +60 -84
  45. package/layers/DimensionLayer.js +1 -1
  46. package/layers/support/ExportImageServiceParameters.js +1 -1
  47. package/layers/support/imageryRendererUtils.js +1 -1
  48. package/package.json +1 -1
  49. package/renderers/support/rasterRendererHelper.js +1 -1
  50. package/support/revision.js +1 -1
  51. package/symbols/cim/CIMResourceManager.js +1 -1
  52. package/symbols/cim/cimAnalyzer.js +1 -1
  53. package/symbols/cim/quantizeTime.js +5 -0
  54. package/views/2d/engine/webgl/TextureManager.js +1 -1
  55. package/views/2d/engine/webgl/animatedFormats/AnimatableTextureResource.js +5 -0
  56. package/views/2d/engine/webgl/animatedFormats/apng.js +1 -1
  57. package/views/2d/engine/webgl/animatedFormats/gif.js +1 -1
  58. package/views/2d/engine/webgl/animatedFormats/utils.js +1 -1
  59. package/views/3d/analysis/Dimensioning/LengthDimensionComputation.js +1 -1
  60. package/views/3d/analysis/Dimensioning/LengthDimensionSubTool.js +1 -1
  61. package/views/3d/analysis/Dimensioning/LengthDimensionVisualization.js +1 -1
  62. package/views/3d/analysis/Dimensioning/lengthDimensionUtils.js +1 -1
  63. package/views/3d/analysis/DirectLineMeasurement/DirectLineMeasurementController.js +1 -1
  64. package/views/3d/analysis/support/measurementUtils.js +1 -1
  65. package/views/3d/terrain/PlanarPatch.js +1 -1
  66. package/views/3d/terrain/SphericalPatch.js +1 -1
  67. package/views/3d/terrain/TerrainSurface.js +1 -1
  68. package/views/3d/terrain/Tile.js +1 -1
  69. package/views/3d/terrain/interfaces.js +1 -1
  70. package/views/support/geodesicLengthMeasurementUtils.js +1 -1
  71. package/widgets/Bookmarks.js +1 -1
  72. package/widgets/Search/SearchViewModel.js +1 -1
  73. package/assets/esri/core/workers/chunks/229bfbf3faa789f40b7e.js +0 -1
  74. package/assets/esri/core/workers/chunks/2e715520e5badbe570ac.js +0 -1
  75. package/assets/esri/core/workers/chunks/40098b3be512ad8461f8.js +0 -1
  76. package/assets/esri/core/workers/chunks/420ae87ba8dc74fd05f5.js +0 -1
  77. package/assets/esri/core/workers/chunks/46c836fc575251f1ff34.js +0 -1
  78. package/assets/esri/core/workers/chunks/481532ce4871b0d94587.js +0 -1
  79. package/assets/esri/core/workers/chunks/5fa78a6745ef14c7c4d1.js +0 -1
  80. package/assets/esri/core/workers/chunks/606f45a93c707054c521.js +0 -1
  81. package/assets/esri/core/workers/chunks/78e59b29e59b10f64aa9.js +0 -1
  82. package/assets/esri/core/workers/chunks/7be7c53727cb1bc73a64.js +0 -1
  83. package/assets/esri/core/workers/chunks/8d3fba983c360e1fdabf.js +0 -1
  84. package/assets/esri/core/workers/chunks/a69d194526bdc489b30b.js +0 -1
  85. package/assets/esri/core/workers/chunks/b59855826d235cba0889.js +0 -1
  86. package/assets/esri/core/workers/chunks/bff5812e3797c8e42ac0.js +0 -1
  87. package/assets/esri/core/workers/chunks/d6e177749bde46ab57fc.js +0 -1
  88. package/assets/esri/core/workers/chunks/d9c8a8bed6b34ed57faf.js +0 -1
  89. package/views/2d/engine/webgl/animatedFormats/BaseAnimatableTextureResource.js +0 -5
package/interfaces.d.ts CHANGED
@@ -849,7 +849,7 @@ declare namespace __esri {
849
849
  /**
850
850
  * The Arcade data type of the variable.
851
851
  *
852
- * [Read more...](global.html)
852
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-arcade.html#ArrayVariable)
853
853
  */
854
854
  type: "array";
855
855
  /**
@@ -875,7 +875,7 @@ declare namespace __esri {
875
875
  /**
876
876
  * The Arcade data type of the variable.
877
877
  *
878
- * [Read more...](global.html)
878
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-arcade.html#DictionaryVariable)
879
879
  */
880
880
  type: "dictionary";
881
881
  /**
@@ -962,7 +962,7 @@ declare namespace __esri {
962
962
  /**
963
963
  * The Arcade data type of the variable.
964
964
  *
965
- * [Read more...](global.html)
965
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-arcade.html#SimpleVariable)
966
966
  */
967
967
  type: "feature" | "featureSet" | "featureSetCollection" | "geometry" | "number" | "text" | "date" | "boolean";
968
968
  }
@@ -1649,9 +1649,9 @@ declare namespace __esri {
1649
1649
  */
1650
1650
  dependsOn?: string[];
1651
1651
  /**
1652
- * The constructor used to [autocast](../programming-patterns/#autocasting) the property.
1652
+ * The constructor used to [autocast](https://developers.arcgis.com/javascript/latest/programming-patterns/#autocasting) the property.
1653
1653
  *
1654
- * [Read more...](global.html)
1654
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-accessorSupport-decorators.html#property)
1655
1655
  */
1656
1656
  type?: Function;
1657
1657
  /**
@@ -1845,15 +1845,6 @@ declare namespace __esri {
1845
1845
  }
1846
1846
 
1847
1847
  export class Identifiable {
1848
- /**
1849
- * The unique identifier assigned to the instance.
1850
- *
1851
- * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Identifiable.html#uid)
1852
- */
1853
- readonly uid: string;
1854
- }
1855
-
1856
- interface IdentifiableProperties {
1857
1848
  }
1858
1849
 
1859
1850
  export class JSONSupport {
@@ -7312,7 +7303,7 @@ declare namespace __esri {
7312
7303
  /**
7313
7304
  * The type of the constraint.
7314
7305
  *
7315
- * [Read more...](global.html)
7306
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-Ground.html#navigationConstraint)
7316
7307
  */
7317
7308
  type?: "stay-above" | "none";
7318
7309
  }
@@ -7321,7 +7312,7 @@ declare namespace __esri {
7321
7312
  /**
7322
7313
  * The type of the constraint.
7323
7314
  *
7324
- * [Read more...](global.html)
7315
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-Ground.html#navigationConstraint)
7325
7316
  */
7326
7317
  type: "stay-above" | "none";
7327
7318
  }
@@ -8255,7 +8246,7 @@ declare namespace __esri {
8255
8246
  /**
8256
8247
  * The type of this format.
8257
8248
  *
8258
- * [Read more...](global.html)
8249
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-intl.html#SubstituteDateTimeFormatOptions)
8259
8250
  */
8260
8251
  type: "date";
8261
8252
  /**
@@ -8275,7 +8266,7 @@ declare namespace __esri {
8275
8266
  /**
8276
8267
  * The type of this format.
8277
8268
  *
8278
- * [Read more...](global.html)
8269
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-intl.html#SubstituteNumberFormatOptions)
8279
8270
  */
8280
8271
  type: "number";
8281
8272
  /**
@@ -9207,7 +9198,7 @@ declare namespace __esri {
9207
9198
  /** @deprecated Import the BuildingSublayer class instead. */
9208
9199
  export type BuildingSublayerConstructor = typeof BuildingSublayer;
9209
9200
 
9210
- interface BuildingSublayerProperties extends IdentifiableProperties {
9201
+ interface BuildingSublayerProperties {
9211
9202
  /**
9212
9203
  * Opacity of the sublayer.
9213
9204
  *
@@ -10032,6 +10023,8 @@ declare namespace __esri {
10032
10023
  }
10033
10024
 
10034
10025
  export class DimensionLayer extends Layer {
10026
+ readonly analysis: any;
10027
+ readonly type: "dimension";
10035
10028
  constructor(properties?: DimensionLayerProperties);
10036
10029
  }
10037
10030
 
@@ -10039,6 +10032,7 @@ declare namespace __esri {
10039
10032
  export type DimensionLayerConstructor = typeof DimensionLayer;
10040
10033
 
10041
10034
  interface DimensionLayerProperties extends LayerProperties {
10035
+ analysis?: any;
10042
10036
  }
10043
10037
 
10044
10038
  export interface ElevationLayer extends Layer, ArcGISCachedService, PortalLayer {
@@ -13880,7 +13874,7 @@ declare namespace __esri {
13880
13874
  /** @deprecated Import the Layer class instead. */
13881
13875
  export type LayerConstructor = typeof Layer;
13882
13876
 
13883
- interface LayerProperties extends LoadableProperties, IdentifiableProperties {
13877
+ interface LayerProperties extends LoadableProperties {
13884
13878
  /**
13885
13879
  * The full extent of the layer.
13886
13880
  *
@@ -19339,7 +19333,7 @@ declare namespace __esri {
19339
19333
  *
19340
19334
  * @default solid
19341
19335
  *
19342
- * [Read more...](global.html)
19336
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-BuildingFilter.html#BuildingFilterBlock)
19343
19337
  */
19344
19338
  type?: "solid" | "wire-frame" | "x-ray";
19345
19339
  /**
@@ -23828,7 +23822,7 @@ declare namespace __esri {
23828
23822
  /** @deprecated Import the Sublayer class instead. */
23829
23823
  export type SublayerConstructor = typeof Sublayer;
23830
23824
 
23831
- interface SublayerProperties extends LoadableProperties, IdentifiableProperties {
23825
+ interface SublayerProperties extends LoadableProperties {
23832
23826
  /**
23833
23827
  * A SQL where clause used to filter features in the image.
23834
23828
  *
@@ -23968,7 +23962,7 @@ declare namespace __esri {
23968
23962
  /**
23969
23963
  * This value is always `data-layer` and is inferred when the `dataSource` property is set.
23970
23964
  *
23971
- * [Read more...](global.html)
23965
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#DynamicDataLayer)
23972
23966
  */
23973
23967
  type: "data-layer";
23974
23968
  /**
@@ -23994,7 +23988,7 @@ declare namespace __esri {
23994
23988
  /**
23995
23989
  * This value is always `map-layer` and is inferred when the `mapLayerId` property is set.
23996
23990
  *
23997
- * [Read more...](global.html)
23991
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#DynamicMapLayer)
23998
23992
  */
23999
23993
  type: "map-layer";
24000
23994
  /**
@@ -24020,7 +24014,7 @@ declare namespace __esri {
24020
24014
  /**
24021
24015
  * This value is always `join-table` and is inferred when other join table properties of this object are set.
24022
24016
  *
24023
- * [Read more...](global.html)
24017
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#JoinTableDataSource)
24024
24018
  */
24025
24019
  type: "join-table";
24026
24020
  /**
@@ -24064,7 +24058,7 @@ declare namespace __esri {
24064
24058
  /**
24065
24059
  * This value is always `query-table` and is inferred when the `query` property of this object is set.
24066
24060
  *
24067
- * [Read more...](global.html)
24061
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#QueryTableDataSource)
24068
24062
  */
24069
24063
  type: "query-table";
24070
24064
  /**
@@ -24108,7 +24102,7 @@ declare namespace __esri {
24108
24102
  /**
24109
24103
  * This value is always `raster`.
24110
24104
  *
24111
- * [Read more...](global.html)
24105
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#RasterDataSource)
24112
24106
  */
24113
24107
  type: "raster";
24114
24108
  /**
@@ -24152,7 +24146,7 @@ declare namespace __esri {
24152
24146
  /**
24153
24147
  * This value is always `table`.
24154
24148
  *
24155
- * [Read more...](global.html)
24149
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#TableDataSource)
24156
24150
  */
24157
24151
  type: string;
24158
24152
  /**
@@ -24801,7 +24795,7 @@ declare namespace __esri {
24801
24795
  /**
24802
24796
  * Indicates how the data are encoded.
24803
24797
  *
24804
- * [Read more...](global.html)
24798
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-VoxelVariable.html#renderingFormat)
24805
24799
  */
24806
24800
  type: "Int8" | "UInt8" | "Int16" | "UInt16" | "Int32" | "UInt32" | "Float32";
24807
24801
  }
@@ -24993,7 +24987,7 @@ declare namespace __esri {
24993
24987
  /** @deprecated Import the WMSSublayer class instead. */
24994
24988
  export type WMSSublayerConstructor = typeof WMSSublayer;
24995
24989
 
24996
- interface WMSSublayerProperties extends IdentifiableProperties {
24990
+ interface WMSSublayerProperties {
24997
24991
  /**
24998
24992
  * Description for the WMS sublayer.
24999
24993
  *
@@ -25978,7 +25972,7 @@ declare namespace __esri {
25978
25972
  /**
25979
25973
  * For SpriteSourceImageInfo the type is always "image".
25980
25974
  *
25981
- * [Read more...](global.html)
25975
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VectorTileLayer.html#SpriteSourceImageInfo)
25982
25976
  */
25983
25977
  type: string;
25984
25978
  /**
@@ -26016,7 +26010,7 @@ declare namespace __esri {
26016
26010
  /**
26017
26011
  * For SpriteSourceUrlInfo the type is always "url".
26018
26012
  *
26019
- * [Read more...](global.html)
26013
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VectorTileLayer.html#SpriteSourceUrlInfo)
26020
26014
  */
26021
26015
  type: string;
26022
26016
  /**
@@ -34434,7 +34428,7 @@ declare namespace __esri {
34434
34428
  /**
34435
34429
  * `fixed-size` or `splat`.
34436
34430
  *
34437
- * [Read more...](global.html)
34431
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-PointCloudRenderer.html#pointSizeAlgorithm)
34438
34432
  */
34439
34433
  type: "fixed-size" | "splat";
34440
34434
  /**
@@ -36945,7 +36939,7 @@ declare namespace __esri {
36945
36939
  /**
36946
36940
  * Value must be `size`.
36947
36941
  *
36948
- * [Read more...](global.html)
36942
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-SizeVariable.html#BoundedMinMax)
36949
36943
  */
36950
36944
  type: string;
36951
36945
  /**
@@ -37013,7 +37007,7 @@ declare namespace __esri {
37013
37007
  /**
37014
37008
  * Value must be `size`.
37015
37009
  *
37016
- * [Read more...](global.html)
37010
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-SizeVariable.html#RealWorldSize)
37017
37011
  */
37018
37012
  type: string;
37019
37013
  /**
@@ -37057,7 +37051,7 @@ declare namespace __esri {
37057
37051
  /**
37058
37052
  * Value must be `size`.
37059
37053
  *
37060
- * [Read more...](global.html)
37054
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-SizeVariable.html#ScaleDependentIcons)
37061
37055
  */
37062
37056
  type: string;
37063
37057
  /**
@@ -37113,7 +37107,7 @@ declare namespace __esri {
37113
37107
  /**
37114
37108
  * Value must be `size`.
37115
37109
  *
37116
- * [Read more...](global.html)
37110
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-SizeVariable.html#ScaleDependentStops)
37117
37111
  */
37118
37112
  type: string;
37119
37113
  /**
@@ -37145,7 +37139,7 @@ declare namespace __esri {
37145
37139
  /**
37146
37140
  * Value must be `size`.
37147
37141
  *
37148
- * [Read more...](global.html)
37142
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-SizeVariable.html#ThematicStops)
37149
37143
  */
37150
37144
  type: string;
37151
37145
  /**
@@ -58468,7 +58462,7 @@ declare namespace __esri {
58468
58462
  /** @deprecated Import the ActionBase class instead. */
58469
58463
  export type ActionBaseConstructor = typeof ActionBase;
58470
58464
 
58471
- interface ActionBaseProperties extends IdentifiableProperties {
58465
+ interface ActionBaseProperties {
58472
58466
  /**
58473
58467
  * Set this property to `true` to display a spinner icon.
58474
58468
  *
@@ -63316,7 +63310,7 @@ declare namespace __esri {
63316
63310
  *
63317
63311
  * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleLineSymbol.html#marker)
63318
63312
  */
63319
- marker: LineSymbolMarker;
63313
+ marker: LineSymbolMarker | null;
63320
63314
  /**
63321
63315
  * Maximum allowed ratio of the width of a miter join to the line width.
63322
63316
  *
@@ -63384,7 +63378,7 @@ declare namespace __esri {
63384
63378
  *
63385
63379
  * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleLineSymbol.html#marker)
63386
63380
  */
63387
- marker?: LineSymbolMarkerProperties;
63381
+ marker?: (LineSymbolMarkerProperties & { type: "line-marker" }) | null;
63388
63382
  /**
63389
63383
  * Maximum allowed ratio of the width of a miter join to the line width.
63390
63384
  *
@@ -68634,7 +68628,7 @@ declare namespace __esri {
68634
68628
  /** @deprecated Import the LayerView class instead. */
68635
68629
  export type LayerViewConstructor = typeof LayerView;
68636
68630
 
68637
- interface LayerViewProperties extends IdentifiableProperties {
68631
+ interface LayerViewProperties {
68638
68632
  /**
68639
68633
  * When `true`, the layer is visible in the view.
68640
68634
  *
@@ -73718,7 +73712,7 @@ declare namespace __esri {
73718
73712
  /** @deprecated Import the Bookmark class instead. */
73719
73713
  export type BookmarkConstructor = typeof Bookmark;
73720
73714
 
73721
- interface BookmarkProperties extends IdentifiableProperties {
73715
+ interface BookmarkProperties {
73722
73716
  /**
73723
73717
  * The name of the bookmark item.
73724
73718
  *
@@ -82646,7 +82640,7 @@ declare namespace __esri {
82646
82640
  /**
82647
82641
  * The type of edit that was performed on the feature.
82648
82642
  *
82649
- * [Read more...](global.html)
82643
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Feature-FeatureViewModel.html#lastEditInfo)
82650
82644
  */
82651
82645
  type: "edit" | "create";
82652
82646
  }
@@ -84081,7 +84075,7 @@ declare namespace __esri {
84081
84075
  /**
84082
84076
  * The type of the filter used.
84083
84077
  *
84084
- * [Read more...](global.html)
84078
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureTable-FeatureTableViewModel.html#GeometryFilter)
84085
84079
  */
84086
84080
  type?: string;
84087
84081
  /**
@@ -84101,7 +84095,7 @@ declare namespace __esri {
84101
84095
  /**
84102
84096
  * The type of the filter used.
84103
84097
  *
84104
- * [Read more...](global.html)
84098
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureTable-FeatureTableViewModel.html#SelectionFilter)
84105
84099
  */
84106
84100
  type?: string;
84107
84101
  /**
@@ -85469,7 +85463,7 @@ declare namespace __esri {
85469
85463
  /** @deprecated Import the TemplateItemGroup class instead. */
85470
85464
  export type TemplateItemGroupConstructor = typeof TemplateItemGroup;
85471
85465
 
85472
- interface TemplateItemGroupProperties extends IdentifiableProperties {
85466
+ interface TemplateItemGroupProperties {
85473
85467
  }
85474
85468
 
85475
85469
  export type FilterFunction = (filterName: any) => boolean;
@@ -86997,7 +86991,7 @@ declare namespace __esri {
86997
86991
  /** @deprecated Import the ListItem class instead. */
86998
86992
  export type ListItemConstructor = typeof ListItem;
86999
86993
 
87000
- interface ListItemProperties extends IdentifiableProperties {
86994
+ interface ListItemProperties {
87001
86995
  /**
87002
86996
  * Whether the actions panel is open in the LayerList.
87003
86997
  *
@@ -87670,7 +87664,7 @@ declare namespace __esri {
87670
87664
  /**
87671
87665
  * The type of this element is always `color-ramp`.
87672
87666
  *
87673
- * [Read more...](global.html)
87667
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend-support-ActiveLayerInfo.html#ColorRampElement)
87674
87668
  */
87675
87669
  type: string;
87676
87670
  /**
@@ -87728,7 +87722,7 @@ declare namespace __esri {
87728
87722
  /**
87729
87723
  * The type of this element is always `heatmap-ramp`.
87730
87724
  *
87731
- * [Read more...](global.html)
87725
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend-support-ActiveLayerInfo.html#HeatmapRampElement)
87732
87726
  */
87733
87727
  type: string;
87734
87728
  /**
@@ -87836,7 +87830,7 @@ declare namespace __esri {
87836
87830
  /**
87837
87831
  * The type of this element is always `opacity-ramp`.
87838
87832
  *
87839
- * [Read more...](global.html)
87833
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend-support-ActiveLayerInfo.html#OpacityRampElement)
87840
87834
  */
87841
87835
  type: string;
87842
87836
  /**
@@ -87964,7 +87958,7 @@ declare namespace __esri {
87964
87958
  /**
87965
87959
  * The type of this element is always `relationship-ramp`.
87966
87960
  *
87967
- * [Read more...](global.html)
87961
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend-support-ActiveLayerInfo.html#RelationshipRampElement)
87968
87962
  */
87969
87963
  type: string;
87970
87964
  /**
@@ -88052,7 +88046,7 @@ declare namespace __esri {
88052
88046
  /**
88053
88047
  * The type of this element is always `size-ramp`.
88054
88048
  *
88055
- * [Read more...](global.html)
88049
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend-support-ActiveLayerInfo.html#SizeRampElement)
88056
88050
  */
88057
88051
  type: string;
88058
88052
  /**
@@ -88122,7 +88116,7 @@ declare namespace __esri {
88122
88116
  /**
88123
88117
  * The type of this element is always `symbol-table`.
88124
88118
  *
88125
- * [Read more...](global.html)
88119
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend-support-ActiveLayerInfo.html#SymbolTableElement)
88126
88120
  */
88127
88121
  type: string;
88128
88122
  /**
@@ -88215,7 +88209,7 @@ declare namespace __esri {
88215
88209
  /**
88216
88210
  * Specifies the style of the legend.
88217
88211
  *
88218
- * [Read more...](global.html)
88212
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend.html#style)
88219
88213
  */
88220
88214
  type: "classic" | "card";
88221
88215
  /**
@@ -92368,7 +92362,7 @@ declare namespace __esri {
92368
92362
  /** @deprecated Import the SearchSource class instead. */
92369
92363
  export type SearchSourceConstructor = typeof SearchSource;
92370
92364
 
92371
- interface SearchSourceProperties extends IdentifiableProperties {
92365
+ interface SearchSourceProperties {
92372
92366
  /**
92373
92367
  * Indicates whether to automatically navigate to the selected result once selected.
92374
92368
  *
@@ -92561,15 +92555,6 @@ declare namespace __esri {
92561
92555
  * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-SearchViewModel.html#defaultSources)
92562
92556
  */
92563
92557
  readonly defaultSources: Collection<LayerSearchSource | LocatorSearchSource>;
92564
- /**
92565
- * The default [symbol](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-Symbol.html) for the search result.
92566
- *
92567
- * @default PictureMarkerSymbol
92568
- * @deprecated since version 4.22. Use [defaultSymbols](#defaultSymbols) instead.
92569
- *
92570
- * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-SearchViewModel.html#defaultSymbol)
92571
- */
92572
- defaultSymbol: Symbol;
92573
92558
  /**
92574
92559
  * The default [symbol(s)](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-Symbol.html) for the search result.
92575
92560
  *
@@ -92824,15 +92809,6 @@ declare namespace __esri {
92824
92809
  * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-SearchViewModel.html#autoSelect)
92825
92810
  */
92826
92811
  autoSelect?: boolean;
92827
- /**
92828
- * The default [symbol](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-Symbol.html) for the search result.
92829
- *
92830
- * @default PictureMarkerSymbol
92831
- * @deprecated since version 4.22. Use [defaultSymbols](#defaultSymbols) instead.
92832
- *
92833
- * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-SearchViewModel.html#defaultSymbol)
92834
- */
92835
- defaultSymbol?: SymbolProperties;
92836
92812
  /**
92837
92813
  * The default [symbol(s)](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-Symbol.html) for the search result.
92838
92814
  *
@@ -94644,7 +94620,7 @@ declare namespace __esri {
94644
94620
  /**
94645
94621
  * Type is always `cursor-update`.
94646
94622
  *
94647
- * [Read more...](global.html)
94623
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#CursorUpdateEventInfo)
94648
94624
  */
94649
94625
  type: "cursor-update";
94650
94626
  /**
@@ -94670,7 +94646,7 @@ declare namespace __esri {
94670
94646
  /**
94671
94647
  * Returns information indicating the stage of the move operation.
94672
94648
  *
94673
- * [Read more...](global.html)
94649
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#MoveEventInfo)
94674
94650
  */
94675
94651
  type: "move-start" | "move" | "move-stop";
94676
94652
  /**
@@ -94708,7 +94684,7 @@ declare namespace __esri {
94708
94684
  /**
94709
94685
  * Returns information indicating the stage of the reshape operation.
94710
94686
  *
94711
- * [Read more...](global.html)
94687
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#ReshapeEventInfo)
94712
94688
  */
94713
94689
  type: "reshape-start" | "reshape" | "reshape-stop";
94714
94690
  }
@@ -94722,7 +94698,7 @@ declare namespace __esri {
94722
94698
  /**
94723
94699
  * Returns information indicating the stage of the rotate operation.
94724
94700
  *
94725
- * [Read more...](global.html)
94701
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#RotateEventInfo)
94726
94702
  */
94727
94703
  type: "rotate-start" | "rotate" | "rotate-stop";
94728
94704
  /**
@@ -94742,7 +94718,7 @@ declare namespace __esri {
94742
94718
  /**
94743
94719
  * Returns information indicating the stage of the scale operation.
94744
94720
  *
94745
- * [Read more...](global.html)
94721
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#ScaleEventInfo)
94746
94722
  */
94747
94723
  type: "scale-start" | "scale" | "scale-stop";
94748
94724
  /**
@@ -94768,7 +94744,7 @@ declare namespace __esri {
94768
94744
  /**
94769
94745
  * Type is always `selection-change`.
94770
94746
  *
94771
- * [Read more...](global.html)
94747
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#SelectionChangeEventInfo)
94772
94748
  */
94773
94749
  type: "selection-change";
94774
94750
  /**
@@ -95007,7 +94983,7 @@ declare namespace __esri {
95007
94983
  /**
95008
94984
  * Type is always `vertex-add`.
95009
94985
  *
95010
- * [Read more...](global.html)
94986
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#VertexAddEventInfo)
95011
94987
  */
95012
94988
  type: "vertex-add";
95013
94989
  /**
@@ -95033,7 +95009,7 @@ declare namespace __esri {
95033
95009
  /**
95034
95010
  * Type is always `vertex-remove`.
95035
95011
  *
95036
- * [Read more...](global.html)
95012
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#VertexRemoveEventInfo)
95037
95013
  */
95038
95014
  type: "vertex-remove";
95039
95015
  /**
@@ -100270,7 +100246,7 @@ declare namespace __esri {
100270
100246
  /**
100271
100247
  * The flag type being set.
100272
100248
  *
100273
- * [Read more...](global.html)
100249
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-UtilityNetworkTrace-UtilityNetworkTraceViewModel.html#FlagProperty)
100274
100250
  */
100275
100251
  type: string;
100276
100252
  }
@@ -100428,7 +100404,7 @@ declare namespace __esri {
100428
100404
  /**
100429
100405
  * The flag type indicates which section will have its settings overridden.
100430
100406
  *
100431
- * [Read more...](global.html)
100407
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-UtilityNetworkTrace.html#InputSetting)
100432
100408
  */
100433
100409
  type: "starting-point" | "barrier";
100434
100410
  /**
@@ -2,4 +2,4 @@
2
2
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.25/esri/copyright.txt for details.
4
4
  */
5
- import{_ as o}from"../chunks/tslib.es6.js";import r from"../analysis/DimensioningAnalysis.js";import{MultiOriginJSONMixin as e}from"../core/MultiOriginJSONSupport.js";import{property as s}from"../core/accessorSupport/decorators/property.js";import"../core/arrayUtils.js";import"../core/has.js";import"../core/accessorSupport/ensureType.js";import{subclass as t}from"../core/accessorSupport/decorators/subclass.js";import i from"./Layer.js";import{OperationalLayer as p}from"./mixins/OperationalLayer.js";let a=class extends(p(e(i))){constructor(o){super(o),this.type="dimension",this.operationalLayerType="DimensionLayer",this.analysis=new r}get fullExtent(){return this.analysis.extent}};o([s({json:{read:!1},readOnly:!0})],a.prototype,"type",void 0),o([s({type:["DimensionLayer"]})],a.prototype,"operationalLayerType",void 0),o([s({nonNullable:!0,constructOnly:!0})],a.prototype,"analysis",void 0),o([s({readOnly:!0})],a.prototype,"fullExtent",null),o([s({type:["show","hide"]})],a.prototype,"listMode",void 0),a=o([t("esri.layers.DimensionLayer")],a);const n=a;export{n as default};
5
+ import{_ as o}from"../chunks/tslib.es6.js";import r from"../analysis/DimensioningAnalysis.js";import{MultiOriginJSONMixin as e}from"../core/MultiOriginJSONSupport.js";import{property as t}from"../core/accessorSupport/decorators/property.js";import"../core/arrayUtils.js";import"../core/has.js";import"../core/accessorSupport/ensureType.js";import{subclass as s}from"../core/accessorSupport/decorators/subclass.js";import i from"./Layer.js";import{OperationalLayer as p}from"./mixins/OperationalLayer.js";let a=class extends(p(e(i))){constructor(o){super(o),this.type="dimension",this.operationalLayerType="DimensionLayer",this.analysis=new r,this.opacity=1}get fullExtent(){return this.analysis.extent}};o([t({json:{read:!1},readOnly:!0})],a.prototype,"type",void 0),o([t({type:["DimensionLayer"]})],a.prototype,"operationalLayerType",void 0),o([t({nonNullable:!0,constructOnly:!0})],a.prototype,"analysis",void 0),o([t({readOnly:!0})],a.prototype,"fullExtent",null),o([t({readOnly:!0,json:{read:!1,write:!1}})],a.prototype,"opacity",void 0),o([t({type:["show","hide"]})],a.prototype,"listMode",void 0),a=o([s("esri.layers.DimensionLayer")],a);const n=a;export{n 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.25/esri/copyright.txt for details.
4
4
  */
5
- import{_ as e}from"../../chunks/tslib.es6.js";import{JSONSupport as r}from"../../core/JSONSupport.js";import{property as t}from"../../core/accessorSupport/decorators/property.js";import"../../core/arrayUtils.js";import"../../core/has.js";import"../../core/accessorSupport/ensureType.js";import{subclass as o}from"../../core/accessorSupport/decorators/subclass.js";import{writer as i}from"../../core/accessorSupport/decorators/writer.js";import{isSupportedRendererType as s,combineRenderingRules as n,convertRendererToRenderingRule as a,convertRenderingRuleToRFT as p}from"./imageryRendererUtils.js";import l from"./MosaicRule.js";import{interpolationKebab as c,noDataInterpretationKebab as m}from"./rasterEnums.js";import y from"./RasterFunction.js";let u=class extends r{constructor(){super(...arguments),this.layer=null,this.adjustAspectRatio=void 0,this.compression=void 0,this.pixelType=void 0,this.lercVersion=2}writeAdjustAspectRatio(e,r,t){this.layer.version<10.3||(r[t]=e)}get bandIds(){return this.layer.bandIds}set bandIds(e){this.layer&&(this.layer.bandIds=e)}get compressionQuality(){return this.layer?.compressionQuality}set compressionQuality(e){this.layer&&(this.layer.compressionQuality=e)}writeCompressionQuality(e,r,t){this.format&&this.format.toLowerCase().includes("jpg")&&null!=e&&(r[t]=e)}get compressionTolerance(){return this.layer?.compressionTolerance}set compressionTolerance(e){this.layer&&(this.layer.compressionTolerance=e)}writeCompressionTolerance(e,r,t){"lerc"===this.format&&null!=e&&(r[t]=e)}get format(){return"vector-field"===this.layer.renderer?.type?"lerc":this.layer.format}get interpolation(){return this.layer?.interpolation}set interpolation(e){this.layer&&(this.layer.interpolation=e)}get noData(){return this.layer?.noData}set noData(e){this.layer&&(this.layer.noData=e)}get noDataInterpretation(){return this.layer?.noDataInterpretation}set noDataInterpretation(e){this.layer&&(this.layer.noDataInterpretation=e)}writeLercVersion(e,r,t){"lerc"===this.format&&this.layer.version>=10.5&&(r[t]=e)}get version(){const e=this.layer;return e.commitProperty("bandIds"),e.commitProperty("format"),e.commitProperty("compressionQuality"),e.commitProperty("compressionTolerance"),e.commitProperty("interpolation"),e.commitProperty("noData"),e.commitProperty("noDataInterpretation"),e.commitProperty("mosaicRule"),e.commitProperty("renderingRule"),e.commitProperty("adjustAspectRatio"),e.commitProperty("pixelFilter"),e.commitProperty("renderer"),e.commitProperty("definitionExpression"),(this._get("version")||0)+1}set version(e){this._set("version",e)}get mosaicRule(){const e=this.layer;let r=e.mosaicRule;const t=e.definitionExpression;return r?t&&t!==r.where&&(r=r.clone(),r.where=t):t&&(r=new l({where:t})),r}get renderingRule(){const e=this.layer;let r=e.renderingRule;const t=e.pixelFilter,o=!e.format||e.format.includes("jpg")||e.format.includes("png");return r=this._addResampleRasterFunction(r),o&&!t&&"vector-field"!==e.renderer?.type&&(r=this.combineRendererWithRenderingRule()),r}combineRendererWithRenderingRule(){const e=this.layer,{rasterInfo:r,renderingRule:t,renderer:o}=e;if(!o||!s(o))return t;return n(a(o,{rasterAttributeTable:r.attributeTable,pixelType:r.pixelType,dataType:r.dataType,bandProperties:r.keyProperties?.BandProperties,convertColorRampToColormap:e.version<10.6,convertToRFT:!!t?.rasterFunctionDefinition}),t)}_addResampleRasterFunction(e){if(!("vector-field"===this.layer.renderer?.type)||"Resample"===e?.functionName)return e;const r="esriImageServiceDataTypeVector-UV"===this.layer.serviceDataType?7:10,t=this.layer.serviceRasterInfo.pixelSize;let o=new y({functionName:"Resample",functionArguments:{ResamplingType:r,InputCellSize:t}});return o=e?.rasterFunctionDefinition?new y({rasterFunctionDefinition:p(o)}):o,n(o,e)}};e([t()],u.prototype,"layer",void 0),e([t({json:{write:!0}})],u.prototype,"adjustAspectRatio",void 0),e([i("adjustAspectRatio")],u.prototype,"writeAdjustAspectRatio",null),e([t({json:{write:!0}})],u.prototype,"bandIds",null),e([t({json:{write:!0}})],u.prototype,"compression",void 0),e([t({json:{write:!0}})],u.prototype,"compressionQuality",null),e([i("compressionQuality")],u.prototype,"writeCompressionQuality",null),e([t({json:{write:!0}})],u.prototype,"compressionTolerance",null),e([i("compressionTolerance")],u.prototype,"writeCompressionTolerance",null),e([t({json:{write:!0}})],u.prototype,"format",null),e([t({type:String,json:{read:{reader:c.read},write:{writer:c.write}}})],u.prototype,"interpolation",null),e([t({json:{write:!0}})],u.prototype,"noData",null),e([t({type:String,json:{read:{reader:m.read},write:{writer:m.write}}})],u.prototype,"noDataInterpretation",null),e([t({json:{write:!0}})],u.prototype,"pixelType",void 0),e([t({json:{write:!0}})],u.prototype,"lercVersion",void 0),e([i("lercVersion")],u.prototype,"writeLercVersion",null),e([t({type:Number})],u.prototype,"version",null),e([t({json:{write:!0}})],u.prototype,"mosaicRule",null),e([t({json:{write:!0}})],u.prototype,"renderingRule",null),u=e([o("esri.layers.mixins.ExportImageServiceParameters")],u);export{u as ExportImageServiceParameters};
5
+ import{_ as e}from"../../chunks/tslib.es6.js";import{JSONSupport as r}from"../../core/JSONSupport.js";import{property as t}from"../../core/accessorSupport/decorators/property.js";import"../../core/arrayUtils.js";import"../../core/has.js";import"../../core/accessorSupport/ensureType.js";import{subclass as o}from"../../core/accessorSupport/decorators/subclass.js";import{writer as i}from"../../core/accessorSupport/decorators/writer.js";import{isSupportedRendererType as s,combineRenderingRules as n,convertRendererToRenderingRule as a,convertRenderingRuleToRFT as p}from"./imageryRendererUtils.js";import l from"./MosaicRule.js";import{interpolationKebab as c,noDataInterpretationKebab as m}from"./rasterEnums.js";import y from"./RasterFunction.js";let u=class extends r{constructor(){super(...arguments),this.layer=null,this.adjustAspectRatio=void 0,this.compression=void 0,this.pixelType=void 0,this.lercVersion=2}writeAdjustAspectRatio(e,r,t){this.layer.version<10.3||(r[t]=e)}get bandIds(){return this.layer.bandIds}set bandIds(e){this.layer&&(this.layer.bandIds=e)}get compressionQuality(){return this.layer?.compressionQuality}set compressionQuality(e){this.layer&&(this.layer.compressionQuality=e)}writeCompressionQuality(e,r,t){this.format&&this.format.toLowerCase().includes("jpg")&&null!=e&&(r[t]=e)}get compressionTolerance(){return this.layer?.compressionTolerance}set compressionTolerance(e){this.layer&&(this.layer.compressionTolerance=e)}writeCompressionTolerance(e,r,t){"lerc"===this.format&&null!=e&&(r[t]=e)}get format(){return"vector-field"===this.layer.renderer?.type?"lerc":this.layer.format}get interpolation(){return this.layer?.interpolation}set interpolation(e){this.layer&&(this.layer.interpolation=e)}get noData(){return this.layer?.noData}set noData(e){this.layer&&(this.layer.noData=e)}get noDataInterpretation(){return this.layer?.noDataInterpretation}set noDataInterpretation(e){this.layer&&(this.layer.noDataInterpretation=e)}writeLercVersion(e,r,t){"lerc"===this.format&&this.layer.version>=10.5&&(r[t]=e)}get version(){const e=this.layer;return e.commitProperty("bandIds"),e.commitProperty("format"),e.commitProperty("compressionQuality"),e.commitProperty("compressionTolerance"),e.commitProperty("interpolation"),e.commitProperty("noData"),e.commitProperty("noDataInterpretation"),e.commitProperty("mosaicRule"),e.commitProperty("renderingRule"),e.commitProperty("adjustAspectRatio"),e.commitProperty("pixelFilter"),e.commitProperty("renderer"),e.commitProperty("definitionExpression"),(this._get("version")||0)+1}set version(e){this._set("version",e)}get mosaicRule(){const e=this.layer;let r=e.mosaicRule;const t=e.definitionExpression;return r?t&&t!==r.where&&(r=r.clone(),r.where=t):t&&(r=new l({where:t})),r}get renderingRule(){const e=this.layer;let r=e.renderingRule;const t=e.pixelFilter,o=!e.format||e.format.includes("jpg")||e.format.includes("png");return r=this._addResampleRasterFunction(r),o&&!t&&"vector-field"!==e.renderer?.type&&(r=this.combineRendererWithRenderingRule()),r}combineRendererWithRenderingRule(){const e=this.layer,{rasterInfo:r,renderingRule:t,renderer:o}=e;if(!o||!s(o))return t;return n(a(o,{rasterAttributeTable:r.attributeTable,pixelType:r.pixelType,dataType:r.dataType,bandProperties:r.keyProperties?.BandProperties,convertColorRampToColormap:e.version<10.6,convertToRFT:!!t?.rasterFunctionDefinition,bandCount:r.bandCount}),t)}_addResampleRasterFunction(e){if(!("vector-field"===this.layer.renderer?.type)||"Resample"===e?.functionName)return e;const r="esriImageServiceDataTypeVector-UV"===this.layer.serviceDataType?7:10,t=this.layer.serviceRasterInfo.pixelSize;let o=new y({functionName:"Resample",functionArguments:{ResamplingType:r,InputCellSize:t}});return o=e?.rasterFunctionDefinition?new y({rasterFunctionDefinition:p(o)}):o,n(o,e)}};e([t()],u.prototype,"layer",void 0),e([t({json:{write:!0}})],u.prototype,"adjustAspectRatio",void 0),e([i("adjustAspectRatio")],u.prototype,"writeAdjustAspectRatio",null),e([t({json:{write:!0}})],u.prototype,"bandIds",null),e([t({json:{write:!0}})],u.prototype,"compression",void 0),e([t({json:{write:!0}})],u.prototype,"compressionQuality",null),e([i("compressionQuality")],u.prototype,"writeCompressionQuality",null),e([t({json:{write:!0}})],u.prototype,"compressionTolerance",null),e([i("compressionTolerance")],u.prototype,"writeCompressionTolerance",null),e([t({json:{write:!0}})],u.prototype,"format",null),e([t({type:String,json:{read:{reader:c.read},write:{writer:c.write}}})],u.prototype,"interpolation",null),e([t({json:{write:!0}})],u.prototype,"noData",null),e([t({type:String,json:{read:{reader:m.read},write:{writer:m.write}}})],u.prototype,"noDataInterpretation",null),e([t({json:{write:!0}})],u.prototype,"pixelType",void 0),e([t({json:{write:!0}})],u.prototype,"lercVersion",void 0),e([i("lercVersion")],u.prototype,"writeLercVersion",null),e([t({type:Number})],u.prototype,"version",null),e([t({json:{write:!0}})],u.prototype,"mosaicRule",null),e([t({json:{write:!0}})],u.prototype,"renderingRule",null),u=e([o("esri.layers.mixins.ExportImageServiceParameters")],u);export{u as ExportImageServiceParameters};
@@ -2,4 +2,4 @@
2
2
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.25/esri/copyright.txt for details.
4
4
  */
5
- import{clone as e}from"../../core/lang.js";import{isNone as t}from"../../core/maybe.js";import n from"./RasterFunction.js";import{schema as r}from"./rasterFunctionUtils.js";import{getRFxArgColorRampValue as o,convertColorRampToColormap as a,getColorRampName as i,rgbaConvertTo32Bit as s}from"../../renderers/support/colorRampUtils.js";import{stretchTypeJSONDict as u}from"../../renderers/support/stretchRendererUtils.js";import c from"../../renderers/visualVariables/SizeVariable.js";const l={u1:[0,1],u2:[0,3],u4:[0,15],u8:[0,255],s8:[-128,127],u16:[0,65535],s16:[-32768,32767]},m={simple_scalar:"Simple Scalar",wind_barb:"Wind Barb",single_arrow:"Single Arrow",beaufort_kn:"Beaufort Wind (Knots)",beaufort_m:"Beaufort Wind (MetersPerSecond)",ocean_current_m:"Ocean Current (MetersPerSecond)",ocean_current_kn:"Ocean Current (Knots)"},f=new Set(["raster-stretch","unique-value","class-breaks","raster-shaded-relief","vector-field","raster-colormap"]);function p(e){return f.has(e.type)}function g(t,n){if(!t||!n)return e(t||n);const r=e(t);if(n.rasterFunctionDefinition){const e=n.rasterFunctionDefinition;(e.thumbnail||e.thumbnailEx)&&(e.thumbnail=e.thumbnailEx=null),d(r.rasterFunctionDefinition.arguments,n)}else if("none"!==n.functionName.toLowerCase()){R(r.functionArguments).Raster=n}return r}function d(e,t){for(const n in e)"raster"===n.toLowerCase()&&("RasterFunctionVariable"===e[n].type?(e[n]=t.rasterFunctionDefinition,e[n].type="RasterFunctionTemplate"):"RasterFunctionTemplate"===e[n].type&&d(e[n].arguments,t))}function h(t){const n=e(r[t.functionName+"Function"]),o=t.functionArguments;for(const e in o)"raster"===e.toLowerCase()?(n.arguments[e]=h(o[e]),n.arguments[e].type="RasterFunctionTemplate"):"colormap"===e.toLowerCase()?(n.arguments[e].value=D(o[e]),n.arguments.ColorSchemeType.value=0):n.arguments[e].value=o[e];return n}function b(e,t){switch(t=t||{},e.type){case"raster-stretch":return T(e,t);case"class-breaks":return S(e,t);case"unique-value":return F(e,t);case"raster-colormap":return x(e,t);case"vector-field":return w(e,t);case"raster-shaded-relief":return v(e,t);case"flow":throw new Error("Unsupported rendering rule.")}}function R(e){const t=e.Raster;return t&&"esri.layers.support.RasterFunction"===t.declaredClass?R(t.functionArguments):e}const y={none:0,standardDeviation:3,histogramEqualization:4,minMax:5,percentClip:6,sigmoid:9};function w(e,t){const r=new n;r.functionName="VectorFieldRenderer";const{dataType:o,bandProperties:a}=t,i="vector-uv"===o;let s,u;a&&2===a.length&&(s=a.map((e=>e.BandName.toLowerCase())).indexOf("magnitude"),u=a.map((e=>e.BandName.toLowerCase())).indexOf("direction")),-1!==s&&null!==s||(s=0,u=1);const l="arithmetic"===e.rotationType?1:2,f="flow-from"===e.flowRepresentation?0:1,p=e.visualVariables?e.visualVariables.find((e=>"Magnitude"===e.field)):new c,g={magnitudeBandID:s,directionBandID:u,isUVComponents:i,referenceSystem:l,massFlowAngleRepresentation:f,symbolTileSize:50,symbolTileSizeUnits:100,calculationMethod:"Vector Average",symbologyName:m[e.style.toLowerCase().replace("-","_")],minimumMagnitude:p.minDataValue,maximumMagnitude:p.maxDataValue,minimumSymbolSize:p.minSize,maximumSymbolSize:p.maxSize};return r.functionArguments=g,t.convertToRFT?new n({rasterFunctionDefinition:h(r)}):r}function v(e,t){const r=t.convertToRFT;if("elevation"!==t.dataType)return new n;const i=new n;i.functionName="Hillshade";const s="traditional"===e.hillshadeType?0:1,u="none"===e.scalingType?1:3,c={HillshadeType:s,SlopeType:u,ZFactor:e.zFactor};return 0===s&&(c.Azimuth=e.azimuth,c.Altitude=e.altitude),3===u&&(c.PSPower=e.pixelSizePower,c.PSZFactor=e.pixelSizeFactor),i.functionArguments=c,i.variableName="Raster",e.colorRamp&&(i.functionName="ShadedRelief",r?c.ColorRamp=o(e.colorRamp):c.Colormap=a(e.colorRamp,256)),r?new n({rasterFunctionDefinition:h(i)}):i}function T(e,t){const r=t.convertToRFT,s=new n;s.functionName="Stretch";const c=y[u.toJSON(e.stretchType)],l="u8",m={StretchType:c,Statistics:N(e.statistics),DRA:e.dynamicRangeAdjustment,UseGamma:e.useGamma,Gamma:e.gamma,ComputeGamma:e.computeGamma};if(null!=e.outputMin&&(m.Min=e.outputMin),null!=e.outputMax&&(m.Max=e.outputMax),c===y.standardDeviation?(m.NumberOfStandardDeviations=e.numberOfStandardDeviations,s.outputPixelType=l):c===y.percentClip?(m.MinPercent=e.minPercent,m.MaxPercent=e.maxPercent,s.outputPixelType=l):c===y.minMax?s.outputPixelType=l:c===y.sigmoid&&(m.SigmoidStrengthLevel=e.sigmoidStrengthLevel),s.functionArguments=m,s.variableName="Raster",e.colorRamp){const u=e.colorRamp,c=new n;if(r)c.functionArguments={ColorRamp:o(u)};else{const n=i(u);if(n)c.functionArguments={colorRamp:n};else if(!t.convertColorRampToColormap||"algorithmic"!==u.type&&"multipart"!==u.type){const t=e.colorRamp.toJSON();"algorithmic"===t.type?t.algorithm=t.algorithm||"esriCIELabAlgorithm":"multipart"===t.type&&t.colorRamps?.length&&t.colorRamps.forEach((e=>e.algorithm=e.algorithm||"esriCIELabAlgorithm")),c.functionArguments={colorRamp:t}}else c.functionArguments={Colormap:a(u,256)}}return c.variableName="Raster",c.functionName="Colormap",c.functionArguments.Raster=s,r?new n({rasterFunctionDefinition:h(c)}):c}return r?new n({rasterFunctionDefinition:h(s)}):s}function S(e,r){const o=[],a=[],i=[],s=[],u=1e-6,{pixelType:c,rasterAttributeTable:l}=r,m=t(l)?null:l.features,f=A(l);if(m&&Array.isArray(m)&&e.classBreakInfos){e.classBreakInfos.forEach(((t,n)=>{const r=t.symbol.color;let o;r.a&&m.forEach((a=>{o=a.attributes[e.field],(o>=t.minValue&&o<t.maxValue||n===e.classBreakInfos.length-1&&o>=t.minValue)&&s.push([a.attributes[f],r.r,r.g,r.b])}))}));const t=c?C(s,c):s,o=new n;return o.functionName="Colormap",o.functionArguments={},o.functionArguments.Colormap=t,o.variableName="Raster",r.convertToRFT?new n({rasterFunctionDefinition:h(o)}):o}e.classBreakInfos.forEach(((e,t)=>{const n=e.symbol&&e.symbol.color;n.a?(0===t?o.push(e.minValue,e.maxValue+u):o.push(e.minValue+u,e.maxValue+u),a.push(t),s.push([t,n.r,n.g,n.b])):i.push(e.minValue,e.maxValue)}));const p=c?C(s,c):s,g=new n;g.functionName="Remap",g.functionArguments={InputRanges:o,OutputValues:a,NoDataRanges:i},g.variableName="Raster";const d=new n;return d.functionName="Colormap",d.functionArguments={Colormap:p,Raster:g},r.convertToRFT?new n({rasterFunctionDefinition:h(d)}):d}function C(e,t){const n=l[String(t).toLowerCase()];return n&&e.push([Math.floor(n[0]-1),0,0,0],[Math.ceil(n[1]+1),0,0,0]),e}function A(e){if(t(e))return;const{fields:n}=e,r=n&&n.find((e=>e&&e.name&&"value"===e.name.toLowerCase()));return r&&r.name}function F(e,r){const o=[],{pixelType:a,rasterAttributeTable:i}=r,s=t(i)?null:i.features,u=A(i),c=e.defaultSymbol?.color?.toRgb(),l=e.uniqueValueInfos;if(l)if(s){const t=new Map;l.forEach((e=>{const n=e.value,r=e.symbol.color;null!=n&&r&&r.a&&t.set(String(n),r.toRgb())}));const n=e.field;s.forEach((({attributes:e})=>{const r=String(e[n]),a=e[u];if(t.has(r)){const e=t.get(r);o.push([a,...e])}else c&&o.push([a,...c])}))}else for(let t=0;t<l.length;t++){const e=l[t],n=e.symbol.color,r=+e.value;if(n?.a){if(isNaN(r))return null;o.push([r,n.r,n.g,n.b])}}const m=a&&o.length>0?C(o,a):o,f=new n;return f.functionName="Colormap",f.functionArguments={},f.functionArguments.Colormap=m,f.variableName="Raster",r.convertToRFT?new n({rasterFunctionDefinition:h(f)}):f}function x(e,t){const r=e.extractColormap();if(!r||0===r.length)return;const{pixelType:o}=t,a=o?C(r,o):r,i=new n;return i.functionName="Colormap",i.functionArguments={},i.functionArguments.Colormap=a,t.convertToRFT?new n({rasterFunctionDefinition:h(i)}):i}function N(e){const t=[];return e.forEach((e=>{const n=e;if(Array.isArray(n))t.push(n);else{if(null==n.min||null==n.max)return;const e=[n.min,n.max,n.avg||0,n.stddev||0];t.push(e)}})),t}function D(e){const t=[],n=[];return e.forEach((e=>{t.push(e[0]),n.push(s([...e.slice(1),255]))})),{type:"RasterColormap",values:t,colors:n}}export{g as combineRenderingRules,b as convertRendererToRenderingRule,h as convertRenderingRuleToRFT,p as isSupportedRendererType,l as pixelTypeRanges};
5
+ import{clone as e}from"../../core/lang.js";import{isNone as t}from"../../core/maybe.js";import n from"./RasterFunction.js";import{schema as r}from"./rasterFunctionUtils.js";import{getRFxArgColorRampValue as o,convertColorRampToColormap as a,getColorRampName as i,rgbaConvertTo32Bit as s}from"../../renderers/support/colorRampUtils.js";import{stretchTypeJSONDict as u}from"../../renderers/support/stretchRendererUtils.js";import l from"../../renderers/visualVariables/SizeVariable.js";const c={u1:[0,1],u2:[0,3],u4:[0,15],u8:[0,255],s8:[-128,127],u16:[0,65535],s16:[-32768,32767]},m={simple_scalar:"Simple Scalar",wind_barb:"Wind Barb",single_arrow:"Single Arrow",beaufort_kn:"Beaufort Wind (Knots)",beaufort_m:"Beaufort Wind (MetersPerSecond)",ocean_current_m:"Ocean Current (MetersPerSecond)",ocean_current_kn:"Ocean Current (Knots)"},p=new Set(["raster-stretch","unique-value","class-breaks","raster-shaded-relief","vector-field","raster-colormap"]);function f(e){return p.has(e.type)}function g(t,n){if(!t||!n)return e(t||n);const r=e(t);if(n.rasterFunctionDefinition){const e=n.rasterFunctionDefinition;(e.thumbnail||e.thumbnailEx)&&(e.thumbnail=e.thumbnailEx=null),d(r.rasterFunctionDefinition.arguments,n)}else if("none"!==n.functionName.toLowerCase()){b(r.functionArguments).Raster=n}return r}function d(e,t){for(const n in e)"raster"===n.toLowerCase()&&("RasterFunctionVariable"===e[n].type?(e[n]=t.rasterFunctionDefinition,e[n].type="RasterFunctionTemplate"):"RasterFunctionTemplate"===e[n].type&&d(e[n].arguments,t))}function h(t){const n=e(r[t.functionName+"Function"]),o=t.functionArguments;for(const e in o)"raster"===e.toLowerCase()?(n.arguments[e]=h(o[e]),n.arguments[e].type="RasterFunctionTemplate"):"colormap"===e.toLowerCase()?(n.arguments[e].value=D(o[e]),n.arguments.ColorSchemeType.value=0):n.arguments[e].value=o[e];return n}function y(e,t){switch(t=t||{},e.type){case"raster-stretch":return v(e,t);case"class-breaks":return C(e,t);case"unique-value":return A(e,t);case"raster-colormap":return F(e,t);case"vector-field":return T(e,t);case"raster-shaded-relief":return w(e,t);case"flow":throw new Error("Unsupported rendering rule.")}}function b(e){const t=e?.Raster;return t&&"esri.layers.support.RasterFunction"===t.declaredClass?b(t.functionArguments):e}const R={none:0,standardDeviation:3,histogramEqualization:4,minMax:5,percentClip:6,sigmoid:9};function T(e,t){const r=new n;r.functionName="VectorFieldRenderer";const{dataType:o,bandProperties:a}=t,i="vector-uv"===o;let s,u;a&&2===a.length&&(s=a.map((e=>e.BandName.toLowerCase())).indexOf("magnitude"),u=a.map((e=>e.BandName.toLowerCase())).indexOf("direction")),-1!==s&&null!==s||(s=0,u=1);const c="arithmetic"===e.rotationType?1:2,p="flow-from"===e.flowRepresentation?0:1,f=e.visualVariables?e.visualVariables.find((e=>"Magnitude"===e.field)):new l,g={magnitudeBandID:s,directionBandID:u,isUVComponents:i,referenceSystem:c,massFlowAngleRepresentation:p,symbolTileSize:50,symbolTileSizeUnits:100,calculationMethod:"Vector Average",symbologyName:m[e.style.toLowerCase().replace("-","_")],minimumMagnitude:f.minDataValue,maximumMagnitude:f.maxDataValue,minimumSymbolSize:f.minSize,maximumSymbolSize:f.maxSize};return r.functionArguments=g,t.convertToRFT?new n({rasterFunctionDefinition:h(r)}):r}function w(e,t){const r=t.convertToRFT;if("elevation"!==t.dataType&&("generic"!==t.dataType||1!==t.bandCount||"s16"!==t.pixelType&&"s32"!==t.pixelType&&"f32"!==t.pixelType&&"f64"!==t.pixelType))return new n;const i=new n;i.functionName="Hillshade";const s="traditional"===e.hillshadeType?0:1,u="none"===e.scalingType?1:3,l={HillshadeType:s,SlopeType:u,ZFactor:e.zFactor};return 0===s&&(l.Azimuth=e.azimuth,l.Altitude=e.altitude),3===u&&(l.PSPower=e.pixelSizePower,l.PSZFactor=e.pixelSizeFactor),i.functionArguments=l,i.variableName="Raster",e.colorRamp&&(i.functionName="ShadedRelief",r?l.ColorRamp=o(e.colorRamp):l.Colormap=a(e.colorRamp,256)),r?new n({rasterFunctionDefinition:h(i)}):i}function v(e,t){const r=t.convertToRFT,s=new n;s.functionName="Stretch";const l=R[u.toJSON(e.stretchType)],c="u8",m={StretchType:l,Statistics:N(e.statistics),DRA:e.dynamicRangeAdjustment,UseGamma:e.useGamma,Gamma:e.gamma,ComputeGamma:e.computeGamma};if(null!=e.outputMin&&(m.Min=e.outputMin),null!=e.outputMax&&(m.Max=e.outputMax),l===R.standardDeviation?(m.NumberOfStandardDeviations=e.numberOfStandardDeviations,s.outputPixelType=c):l===R.percentClip?(m.MinPercent=e.minPercent,m.MaxPercent=e.maxPercent,s.outputPixelType=c):l===R.minMax?s.outputPixelType=c:l===R.sigmoid&&(m.SigmoidStrengthLevel=e.sigmoidStrengthLevel),s.functionArguments=m,s.variableName="Raster",e.colorRamp){const u=e.colorRamp,l=new n;if(r)l.functionArguments={ColorRamp:o(u)};else{const n=i(u);if(n)l.functionArguments={colorRamp:n};else if(!t.convertColorRampToColormap||"algorithmic"!==u.type&&"multipart"!==u.type){const t=e.colorRamp.toJSON();"algorithmic"===t.type?t.algorithm=t.algorithm||"esriCIELabAlgorithm":"multipart"===t.type&&t.colorRamps?.length&&t.colorRamps.forEach((e=>e.algorithm=e.algorithm||"esriCIELabAlgorithm")),l.functionArguments={colorRamp:t}}else l.functionArguments={Colormap:a(u,256)}}return l.variableName="Raster",l.functionName="Colormap",l.functionArguments.Raster=s,r?new n({rasterFunctionDefinition:h(l)}):l}return r?new n({rasterFunctionDefinition:h(s)}):s}function C(e,r){const o=[],a=[],i=[],s=[],u=1e-6,{pixelType:l,rasterAttributeTable:c}=r,m=t(c)?null:c.features,p=x(c);if(m&&Array.isArray(m)&&e.classBreakInfos){e.classBreakInfos.forEach(((t,n)=>{const r=t.symbol.color;let o;r.a&&m.forEach((a=>{o=a.attributes[e.field],(o>=t.minValue&&o<t.maxValue||n===e.classBreakInfos.length-1&&o>=t.minValue)&&s.push([a.attributes[p],r.r,r.g,r.b])}))}));const t=l?S(s,l):s,o=new n;return o.functionName="Colormap",o.functionArguments={},o.functionArguments.Colormap=t,o.variableName="Raster",r.convertToRFT?new n({rasterFunctionDefinition:h(o)}):o}e.classBreakInfos.forEach(((e,t)=>{const n=e.symbol&&e.symbol.color;n.a?(0===t?o.push(e.minValue,e.maxValue+u):o.push(e.minValue+u,e.maxValue+u),a.push(t),s.push([t,n.r,n.g,n.b])):i.push(e.minValue,e.maxValue)}));const f=l?S(s,l):s,g=new n;g.functionName="Remap",g.functionArguments={InputRanges:o,OutputValues:a,NoDataRanges:i},g.variableName="Raster";const d=new n;return d.functionName="Colormap",d.functionArguments={Colormap:f,Raster:g},r.convertToRFT?new n({rasterFunctionDefinition:h(d)}):d}function S(e,t){const n=c[String(t).toLowerCase()];return n&&e.push([Math.floor(n[0]-1),0,0,0],[Math.ceil(n[1]+1),0,0,0]),e}function x(e){if(t(e))return;const{fields:n}=e,r=n&&n.find((e=>e&&e.name&&"value"===e.name.toLowerCase()));return r&&r.name}function A(e,r){const o=[],{pixelType:a,rasterAttributeTable:i}=r,s=t(i)?null:i.features,u=x(i),l=e.defaultSymbol?.color?.toRgb(),c=e.uniqueValueInfos;if(c)if(s){const t=new Map;c.forEach((e=>{const n=e.value,r=e.symbol.color;null!=n&&r&&r.a&&t.set(String(n),r.toRgb())}));const n=e.field;s.forEach((({attributes:e})=>{const r=String(e[n]),a=e[u];if(t.has(r)){const e=t.get(r);o.push([a,...e])}else l&&o.push([a,...l])}))}else for(let t=0;t<c.length;t++){const e=c[t],n=e.symbol.color,r=+e.value;if(n?.a){if(isNaN(r))return null;o.push([r,n.r,n.g,n.b])}}const m=a&&o.length>0?S(o,a):o,p=new n;return p.functionName="Colormap",p.functionArguments={},p.functionArguments.Colormap=m,p.variableName="Raster",r.convertToRFT?new n({rasterFunctionDefinition:h(p)}):p}function F(e,t){const r=e.extractColormap();if(!r||0===r.length)return;const{pixelType:o}=t,a=o?S(r,o):r,i=new n;return i.functionName="Colormap",i.functionArguments={},i.functionArguments.Colormap=a,t.convertToRFT?new n({rasterFunctionDefinition:h(i)}):i}function N(e){const t=[];return e.forEach((e=>{const n=e;if(Array.isArray(n))t.push(n);else{if(null==n.min||null==n.max)return;const e=[n.min,n.max,n.avg||0,n.stddev||0];t.push(e)}})),t}function D(e){const t=[],n=[];return e.forEach((e=>{t.push(e[0]),n.push(s([...e.slice(1),255]))})),{type:"RasterColormap",values:t,colors:n}}export{g as combineRenderingRules,y as convertRendererToRenderingRule,h as convertRenderingRuleToRFT,f as isSupportedRendererType,c as pixelTypeRanges};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/core",
3
- "version": "4.25.0-next.20220818",
3
+ "version": "4.25.0-next.20220821",
4
4
  "homepage": "https://js.arcgis.com",
5
5
  "description": "ArcGIS API for JavaScript: A complete 2D and 3D mapping and data visualization API",
6
6
  "keywords": [