@vertigis/arcgis-extensions 48.4.0 → 48.4.1

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 (179) hide show
  1. package/AppConfig.schema.json +29 -21
  2. package/data/FeatureSettings.js +1 -1
  3. package/data/_TableExtension.d.ts +1 -1
  4. package/docs/html/assets/navigation.js +1 -1
  5. package/docs/html/assets/search.js +1 -1
  6. package/docs/html/classes/data__TableExtension.TableSchema.html +2 -2
  7. package/docs/html/classes/utilities_ObservableSet.ObservableSet.html +1 -1
  8. package/docs/html/classes/utilities_ObservableWeakSet.ObservableWeakSet.html +1 -1
  9. package/docs/html/classes/utilities_log.ConsoleLogger.html +7 -7
  10. package/docs/html/classes/utilities_log.LoggerBase.html +7 -7
  11. package/docs/html/functions/utilities__gml.esriToGml.html +2 -2
  12. package/docs/html/functions/utilities__layers.getEquivalencyTypeForLayers.html +1 -0
  13. package/docs/html/functions/utilities__layers.getLayerUrl.html +2 -2
  14. package/docs/html/functions/utilities_geometry.buffer.html +5 -5
  15. package/docs/html/functions/utilities_geometry.esriToGml.html +2 -2
  16. package/docs/html/functions/utilities_iterable.find.html +2 -2
  17. package/docs/html/functions/utilities_iterable.first.html +2 -2
  18. package/docs/html/functions/utilities_mapping.getMapSpatialReference.html +2 -2
  19. package/docs/html/functions/utilities_object.deepSearchAndTransform.html +6 -4
  20. package/docs/html/functions/utilities_object.deepSearchAndTransformAsync.html +6 -4
  21. package/docs/html/functions/utilities_object.getPropertyDescriptor.html +2 -2
  22. package/docs/html/functions/utilities_object.isEmpty.html +1 -1
  23. package/docs/html/functions/utilities_object.map.html +1 -1
  24. package/docs/html/functions/utilities_object.toJSON.html +1 -1
  25. package/docs/html/functions/utilities_portal.getPortalItemHtmlUrl.html +2 -2
  26. package/docs/html/functions/utilities_portal.toPortalItem.html +4 -1
  27. package/docs/html/functions/utilities_set.find.html +2 -2
  28. package/docs/html/hierarchy.html +1 -1
  29. package/docs/html/interfaces/data_FieldExtension.FieldProperties.html +4 -2
  30. package/docs/html/interfaces/json_AnnotationLayerJson.AnnotationLayerJson.html +2 -2
  31. package/docs/html/interfaces/json_BasemapLayerJson.BasemapLayerJsonBase.html +2 -2
  32. package/docs/html/interfaces/json_BingLayerJson.BingLayerJson.html +2 -2
  33. package/docs/html/interfaces/json_BuildingSceneLayerJson.BuildingSceneLayerJson.html +2 -2
  34. package/docs/html/interfaces/json_CSVLayerJson.CSVLayerJson.html +2 -2
  35. package/docs/html/interfaces/json_FeatureLayerJson.FeatureLayerJson.html +5 -3
  36. package/docs/html/interfaces/json_FeatureSetJson.FeatureSetJson.html +4 -2
  37. package/docs/html/interfaces/json_FieldJson.FieldJson.html +4 -2
  38. package/docs/html/interfaces/json_GeoJSONLayerJson.GeoJSONLayerJson.html +2 -2
  39. package/docs/html/interfaces/json_GeoRSSLayerJson.GeoRSSLayerJson.html +2 -2
  40. package/docs/html/interfaces/json_GroupLayerJson.GroupLayerJson.html +2 -2
  41. package/docs/html/interfaces/json_ImageServiceLayerJson.ImageServiceLayerJson.html +2 -2
  42. package/docs/html/interfaces/json_ImageServiceVectorLayerJson.ImageServiceVectorLayerJson.html +2 -2
  43. package/docs/html/interfaces/json_IntegratedMeshLayerJson.IntegratedMeshLayerJson.html +2 -2
  44. package/docs/html/interfaces/json_ItemJson.ItemJson.html +5 -2
  45. package/docs/html/interfaces/json_KMLLayerJson.KMLLayerJson.html +2 -2
  46. package/docs/html/interfaces/json_LayerDefinitionJson.LayerDefinitionJson.html +2 -2
  47. package/docs/html/interfaces/json_LayerJson.LayerJsonBase.html +2 -2
  48. package/docs/html/interfaces/json_MapServiceLayerJson.MapServiceLayerJson.html +2 -2
  49. package/docs/html/interfaces/json_OpenStreetMapLayerJson.OpenStreetMapLayerJson.html +2 -2
  50. package/docs/html/interfaces/json_OperationalLayerJson.OperationalLayerJsonBase.html +2 -2
  51. package/docs/html/interfaces/json_PointCloudLayerJson.PointCloudLayerJson.html +2 -2
  52. package/docs/html/interfaces/json_RasterDataElevationLayerJson.RasterDataElevationLayerJson.html +2 -2
  53. package/docs/html/interfaces/json_SceneLayerJson.SceneLayerJson.html +2 -2
  54. package/docs/html/interfaces/json_StreamLayerJson.StreamLayerJson.html +6 -4
  55. package/docs/html/interfaces/json_SubtypeGroupLayerJson.SubtypeGroupLayerJson.html +10 -5
  56. package/docs/html/interfaces/json_SubtypeGroupLayerJson.SubtypeSubtypeGroupLayerJson.html +10 -5
  57. package/docs/html/interfaces/json_SubtypeSublayerJson.SubtypeSublayerJson.html +9 -6
  58. package/docs/html/interfaces/json_SymbolJson.TextSymbolJson.html +2 -2
  59. package/docs/html/interfaces/json_TiledElevationServiceLayerJson.TiledElevationServiceLayerJson.html +2 -2
  60. package/docs/html/interfaces/json_TiledImageServiceLayerJson.TiledImageServiceLayerJson.html +2 -2
  61. package/docs/html/interfaces/json_TiledMapServiceLayerJson.TiledMapServiceLayerJson.html +2 -2
  62. package/docs/html/interfaces/json_VectorTileLayerJson.VectorTileLayerJson.html +2 -2
  63. package/docs/html/interfaces/json_WFSLayerJson.WFSLayerJson.html +2 -2
  64. package/docs/html/interfaces/json_WMSLayerJson.WMSLayerJson.html +2 -2
  65. package/docs/html/interfaces/json_WebTileLayerJson.TileInfoJson.html +2 -2
  66. package/docs/html/interfaces/json_WebTileLayerJson.WebTileLayerJson.html +2 -2
  67. package/docs/html/interfaces/mapping_BuildingSceneLayerExtension.BuildingSceneLayerProperties.html +2 -2
  68. package/docs/html/interfaces/mapping_FeatureLayerExtension.FeatureLayerProperties.html +6 -4
  69. package/docs/html/interfaces/mapping_FeatureLayerExtensionBase.FeatureLayerBaseProperties.html +6 -4
  70. package/docs/html/interfaces/mapping_MapImageLayerExtension.MapImageLayerExtensionProperties.html +3 -3
  71. package/docs/html/interfaces/mapping_PointCloudLayerExtension.PointCloudLayerProperties.html +2 -2
  72. package/docs/html/interfaces/utilities_format_FormatSettings.FormatSettings.html +1 -1
  73. package/docs/html/interfaces/utilities_log.LogMessageOptions.html +30 -0
  74. package/docs/html/interfaces/utilities_log.LogMessageResourceOptions.html +33 -0
  75. package/docs/html/interfaces/utilities_log.Logger.html +8 -8
  76. package/docs/html/modules/utilities_log.html +3 -1
  77. package/docs/html/types/utilities_log.LogOptions.html +2 -0
  78. package/docs/html/variables/version.version.html +1 -1
  79. package/json/AnnotationLayerJson.d.ts +7 -7
  80. package/json/BasemapJson.d.ts +4 -4
  81. package/json/BasemapJson.js +1 -1
  82. package/json/BasemapLayerJson.d.ts +1 -1
  83. package/json/BingLayerJson.d.ts +1 -1
  84. package/json/BuildingSceneLayerJson.d.ts +18 -18
  85. package/json/BuildingSceneSublayerJson.d.ts +8 -8
  86. package/json/CSVLayerJson.d.ts +12 -12
  87. package/json/DefinitionEditorJson.d.ts +9 -9
  88. package/json/DrawingInfoJson.d.ts +29 -29
  89. package/json/EnvironmentJson.d.ts +19 -19
  90. package/json/FeatureCollectionJson.d.ts +1 -1
  91. package/json/FeatureJson.d.ts +4 -4
  92. package/json/FeatureJson.js +1 -1
  93. package/json/FeatureLayerJson.d.ts +20 -16
  94. package/json/FeatureLayerJson.js +1 -1
  95. package/json/FeatureSetJson.d.ts +5 -0
  96. package/json/FieldJson.d.ts +11 -7
  97. package/json/FormInfoJson.d.ts +48 -48
  98. package/json/GeoJSONLayerJson.d.ts +6 -6
  99. package/json/GeoRSSLayerJson.d.ts +4 -4
  100. package/json/GeometryJson.d.ts +12 -12
  101. package/json/GroundJson.d.ts +4 -4
  102. package/json/GroupLayerJson.d.ts +3 -3
  103. package/json/ImageServiceLayerJson.d.ts +20 -20
  104. package/json/ImageServiceVectorLayerJson.d.ts +6 -6
  105. package/json/IntegratedMeshLayerJson.d.ts +2 -2
  106. package/json/ItemJson.d.ts +51 -46
  107. package/json/KMLLayerJson.d.ts +3 -3
  108. package/json/LayerDefinitionJson.d.ts +102 -102
  109. package/json/LayerJson.d.ts +21 -21
  110. package/json/LayerJson.js +1 -1
  111. package/json/MapServiceLayerJson.d.ts +6 -6
  112. package/json/MosaicRuleJson.d.ts +14 -14
  113. package/json/OpenStreetMapLayerJson.d.ts +1 -1
  114. package/json/OperationalLayerJson.d.ts +2 -2
  115. package/json/PointCloudLayerJson.d.ts +4 -4
  116. package/json/PopupInfoJson.d.ts +47 -47
  117. package/json/RasterDataElevationLayerJson.d.ts +1 -1
  118. package/json/RendererJson.d.ts +113 -113
  119. package/json/SceneLayerJson.d.ts +7 -7
  120. package/json/SpatialReferenceJson.d.ts +5 -5
  121. package/json/SublayerJson.d.ts +17 -17
  122. package/json/SublayerJson.js +1 -1
  123. package/json/SubtypeGroupLayerJson.d.ts +14 -5
  124. package/json/SubtypeSublayerJson.d.ts +13 -8
  125. package/json/SymbolJson.d.ts +122 -122
  126. package/json/TableJson.d.ts +10 -10
  127. package/json/TableJson.js +1 -1
  128. package/json/TemplateJson.d.ts +4 -4
  129. package/json/TiledElevationServiceLayerJson.d.ts +3 -3
  130. package/json/TiledImageServiceLayerJson.d.ts +3 -3
  131. package/json/TiledMapServiceLayerJson.d.ts +12 -12
  132. package/json/TypeJson.d.ts +4 -4
  133. package/json/VectorTileLayerJson.d.ts +4 -4
  134. package/json/ViewpointJson.d.ts +6 -6
  135. package/json/WFSLayerJson.d.ts +16 -16
  136. package/json/WMSLayerJson.d.ts +16 -16
  137. package/json/WMSSublayerJson.d.ts +5 -5
  138. package/json/WebMapJson.d.ts +134 -133
  139. package/json/WebMapJson.js +1 -1
  140. package/json/WebSceneJson.d.ts +6 -6
  141. package/json/WebTileLayerJson.d.ts +26 -26
  142. package/mapping/ImageryLayerExtension.js +1 -1
  143. package/mapping/MapExtension.js +1 -1
  144. package/package.json +1 -1
  145. package/utilities/ObservableSet.d.ts +1 -1
  146. package/utilities/ObservableSet.js +1 -1
  147. package/utilities/ObservableWeakSet.d.ts +1 -1
  148. package/utilities/ObservableWeakSet.js +1 -1
  149. package/utilities/_gml.d.ts +1 -1
  150. package/utilities/_gml.js +1 -1
  151. package/utilities/_layers.d.ts +5 -3
  152. package/utilities/_layers.js +1 -1
  153. package/utilities/_wkt.js +1 -1
  154. package/utilities/array.js +1 -1
  155. package/utilities/asyncIterable.js +1 -1
  156. package/utilities/checkArg.js +1 -1
  157. package/utilities/esri.js +1 -1
  158. package/utilities/format/date.d.ts +8 -8
  159. package/utilities/format/date.js +1 -1
  160. package/utilities/format/number.d.ts +9 -9
  161. package/utilities/format/number.js +1 -1
  162. package/utilities/format/string.d.ts +12 -12
  163. package/utilities/format/string.js +1 -1
  164. package/utilities/geometry.d.ts +4 -3
  165. package/utilities/geometry.js +1 -1
  166. package/utilities/iterable.d.ts +2 -2
  167. package/utilities/log.d.ts +26 -7
  168. package/utilities/log.js +1 -1
  169. package/utilities/mapping.d.ts +1 -1
  170. package/utilities/mapping.js +1 -1
  171. package/utilities/object.d.ts +10 -6
  172. package/utilities/object.js +1 -1
  173. package/utilities/portal.d.ts +4 -1
  174. package/utilities/portal.js +1 -1
  175. package/utilities/query.js +1 -1
  176. package/utilities/set.d.ts +1 -1
  177. package/version.d.ts +1 -1
  178. package/version.js +1 -1
  179. package/docs/html/interfaces/utilities_log.LogOptions.html +0 -33
@@ -10,21 +10,21 @@ export interface BuildingSceneLayerJson extends OperationalLayerJsonBase {
10
10
  /**
11
11
  * Specifies the id of the currently active filter.
12
12
  */
13
- activeFilterId?: string;
13
+ activeFilterId?: string | null;
14
14
  /**
15
15
  * A list of filters available for this layer. Overrides filters defined on
16
16
  * the service.
17
17
  */
18
- filters?: FilterJson[];
18
+ filters?: FilterJson[] | null;
19
19
  /**
20
20
  * Optional string containing the item ID of the service if it's registered
21
21
  * on ArcGIS Online or your organization's portal.
22
22
  */
23
- itemId?: string;
23
+ itemId?: string | null;
24
24
  /**
25
25
  * Additional properties that can define an elevation offset for the layer.
26
26
  */
27
- layerDefinition?: LayerDefinitionJson;
27
+ layerDefinition?: LayerDefinitionJson | null;
28
28
  /**
29
29
  * The type of layer.
30
30
  */
@@ -32,12 +32,12 @@ export interface BuildingSceneLayerJson extends OperationalLayerJsonBase {
32
32
  /**
33
33
  * The URL to the service.
34
34
  */
35
- url?: string;
35
+ url?: string | null;
36
36
  /**
37
37
  * An array of objects specifying overrides for building scene layer
38
38
  * sublayers.
39
39
  */
40
- sublayers?: BuildingSceneSublayerJson[];
40
+ sublayers?: BuildingSceneSublayerJson[] | null;
41
41
  }
42
42
  /**
43
43
  * Filter allows client applications to reduce the drawn elements of a building
@@ -48,11 +48,11 @@ export interface FilterJson {
48
48
  /**
49
49
  * Description of the filter.
50
50
  */
51
- description?: string;
51
+ description?: string | null;
52
52
  /**
53
53
  * Metadata about the authoring process for this filter.
54
54
  */
55
- filterAuthoringInfo?: FilterAuthoringInfoCheckboxJson;
55
+ filterAuthoringInfo?: FilterAuthoringInfoCheckboxJson | null;
56
56
  /**
57
57
  * Array of filter blocks defining the filter. A filter contains at least
58
58
  * one filter block.
@@ -62,11 +62,11 @@ export interface FilterJson {
62
62
  * Unique filter id (uuid). Either a new id to extend the list of filters,
63
63
  * or an existing id to override properties of an existing filter.
64
64
  */
65
- id?: string;
65
+ id?: string | null;
66
66
  /**
67
67
  * Name of the filter.
68
68
  */
69
- name?: string;
69
+ name?: string | null;
70
70
  }
71
71
  /**
72
72
  * Client UI with checkbox representation for each filter type and filter value.
@@ -79,7 +79,7 @@ export interface FilterAuthoringInfoCheckboxJson {
79
79
  /**
80
80
  * Array of filter block authoring infos.
81
81
  */
82
- filterBlocks?: AuthoringInfoFilterBlockJson[];
82
+ filterBlocks?: AuthoringInfoFilterBlockJson[] | null;
83
83
  }
84
84
  /**
85
85
  * A filter block defines what elements will be filtered with a specific filter
@@ -92,16 +92,16 @@ export interface FilterBlockJson {
92
92
  /**
93
93
  * SQL expression to select features that belong to this filter block.
94
94
  */
95
- filterExpression?: string;
95
+ filterExpression?: string | null;
96
96
  /**
97
97
  * Filter mode defines how features are drawn. For example, the filter mode
98
98
  * of a filter can be solid or wire frame.
99
99
  */
100
- filterMode?: FilterModeJson;
100
+ filterMode?: FilterModeJson | null;
101
101
  /**
102
102
  * Title of the filter block.
103
103
  */
104
- title?: string;
104
+ title?: string | null;
105
105
  }
106
106
  /**
107
107
  * Filter mode represents the way elements draw when participating in a filter
@@ -132,7 +132,7 @@ export interface FilterModeWireFrameJson {
132
132
  * A size in points by which to extend edges beyond their original end
133
133
  * points.
134
134
  */
135
- edges?: EdgesJson;
135
+ edges?: EdgesJson | null;
136
136
  }
137
137
  /**
138
138
  * The filter authoring info object contains metadata about the authoring
@@ -146,7 +146,7 @@ export interface AuthoringInfoFilterBlockJson {
146
146
  * Array of defined filter types. Each filter type has an array of filter
147
147
  * values.
148
148
  */
149
- filterTypes?: AuthoringInfoFilterTypeJson[];
149
+ filterTypes?: AuthoringInfoFilterTypeJson[] | null;
150
150
  }
151
151
  /**
152
152
  * The file authoring information for a filter, including the filter type and
@@ -156,10 +156,10 @@ export interface AuthoringInfoFilterTypeJson {
156
156
  /**
157
157
  * Represents the filter type name. Name is a unique identifier.
158
158
  */
159
- filterType?: string;
159
+ filterType?: string | null;
160
160
  /**
161
161
  * Array of filter values. Filter values are the attributes that can be
162
162
  * stored for individual fields in a layer.
163
163
  */
164
- filterValues?: string[];
164
+ filterValues?: string[] | null;
165
165
  }
@@ -8,41 +8,41 @@ export interface BuildingSceneSublayerJson {
8
8
  /**
9
9
  * Allows a client to ignore popups defined by the service item.
10
10
  */
11
- disablePopup?: boolean;
11
+ disablePopup?: boolean | null;
12
12
  /**
13
13
  * Identifies the sublayer inside the building scene layer.
14
14
  */
15
- id?: number;
15
+ id?: number | null;
16
16
  /**
17
17
  * Additional properties that can define drawing information and a
18
18
  * definition expression for the sublayer. See layerDefinition properties
19
19
  * table.
20
20
  */
21
- layerDefinition?: LayerDefinitionJson;
21
+ layerDefinition?: LayerDefinitionJson | null;
22
22
  /**
23
23
  * To show or hide the sublayer in the layer list. If property is present,
24
24
  * must be one of the following values: show, hide.
25
25
  */
26
- listMode?: ListMode;
26
+ listMode?: ListMode | null;
27
27
  /**
28
28
  * The degree of transparency applied to the sublayer on the client side,
29
29
  * where 0 is full transparency and 1 is no transparency. This is multiplied
30
30
  * with the opacity of the containing layers.
31
31
  */
32
- opacity?: number;
32
+ opacity?: number | null;
33
33
  /**
34
34
  * A popupInfo object defining the content of pop-up windows when you click
35
35
  * or query a feature.
36
36
  */
37
- popupInfo?: PopupInfoJson;
37
+ popupInfo?: PopupInfoJson | null;
38
38
  /**
39
39
  * A user-friendly string title for the sublayer that can be used in a table
40
40
  * of contents.
41
41
  */
42
- title?: string;
42
+ title?: string | null;
43
43
  /**
44
44
  * Boolean property determining whether the sublayer is initially visible in
45
45
  * the web scene.
46
46
  */
47
- visibility?: boolean;
47
+ visibility?: boolean | null;
48
48
  }
@@ -16,22 +16,22 @@ export interface CSVLayerJson extends OperationalLayerJsonBase {
16
16
  * You can set this property using any of the following: ",", " ", ";", "|",
17
17
  * "\t". Used with CSV layers only.
18
18
  */
19
- columnDelimiter?: string;
19
+ columnDelimiter?: string | null;
20
20
  /**
21
21
  * Indicates whether to allow a client to ignore popups defined by the
22
22
  * service item.
23
23
  */
24
- disablePopup?: boolean;
24
+ disablePopup?: boolean | null;
25
25
  /**
26
26
  * Optional string containing the item ID of the service if it's registered
27
27
  * on ArcGIS Online or your organization's portal.
28
28
  */
29
- itemId?: string;
29
+ itemId?: string | null;
30
30
  /**
31
31
  * A layerDefinition object defining the attribute schema and drawing
32
32
  * information for the layer.
33
33
  */
34
- layerDefinition?: LayerDefinitionJson;
34
+ layerDefinition?: LayerDefinitionJson | null;
35
35
  /**
36
36
  * The type of layer.
37
37
  */
@@ -40,25 +40,25 @@ export interface CSVLayerJson extends OperationalLayerJsonBase {
40
40
  * A LocationInfo object defining how location information will be retrieved
41
41
  * from a CSV file. Used with CSV layers only.
42
42
  */
43
- locationInfo?: LocationInfoJson;
43
+ locationInfo?: LocationInfoJson | null;
44
44
  /**
45
45
  * A PopupInfo object defining the content of pop-up windows when you click
46
46
  * or query a feature.
47
47
  */
48
- popupInfo?: PopupInfoJson;
48
+ popupInfo?: PopupInfoJson | null;
49
49
  /**
50
50
  * Apply perspective scaling to screen-size symbols.
51
51
  */
52
- screenSizePerspective?: boolean;
52
+ screenSizePerspective?: boolean | null;
53
53
  /**
54
54
  * Indicates whether to display labels for this layer. If true, labels will
55
55
  * appear as defined in the labelingInfo property.
56
56
  */
57
- showLabels?: boolean;
57
+ showLabels?: boolean | null;
58
58
  /**
59
59
  * The URL to the CSV file that backs the layer.
60
60
  */
61
- url?: string;
61
+ url?: string | null;
62
62
  }
63
63
  /**
64
64
  * Defines how location information will be retrieved from a CSV file referenced
@@ -72,13 +72,13 @@ export interface LocationInfoJson {
72
72
  /**
73
73
  * A string defining the field name that holds the latitude (Y) coordinate.
74
74
  */
75
- latitudeFieldName?: string;
75
+ latitudeFieldName?: string | null;
76
76
  /**
77
77
  * A string whose value is always "coordinates".
78
78
  */
79
- locationType?: string;
79
+ locationType?: string | null;
80
80
  /**
81
81
  * A string defining the field name that holds the longitude (X) coordinate.
82
82
  */
83
- longitudeFieldName?: string;
83
+ longitudeFieldName?: string | null;
84
84
  }
@@ -10,11 +10,11 @@ export interface DefinitionEditorJson {
10
10
  /**
11
11
  * An array of input objects.
12
12
  */
13
- inputs?: InputJson[];
13
+ inputs?: InputJson[] | null;
14
14
  /**
15
15
  * A string value representing the where clause for the interactive filter.
16
16
  */
17
- parameterizedExpression?: string;
17
+ parameterizedExpression?: string | null;
18
18
  }
19
19
  /**
20
20
  * The input objects specified by the definitionEditor. See
@@ -25,15 +25,15 @@ export interface InputJson {
25
25
  /**
26
26
  * A string value representing a hint for the input.
27
27
  */
28
- hint?: string;
28
+ hint?: string | null;
29
29
  /**
30
30
  * An array of parameter objects.
31
31
  */
32
- parameters?: ParameterJson[];
32
+ parameters?: ParameterJson[] | null;
33
33
  /**
34
34
  * A string value representing the prompt for the input.
35
35
  */
36
- prompt?: string;
36
+ prompt?: string | null;
37
37
  }
38
38
  /**
39
39
  * Objects defined by a definitionEditor input. See
@@ -44,17 +44,17 @@ export interface ParameterJson {
44
44
  /**
45
45
  * The default value that is automatically given if nothing is provided.
46
46
  */
47
- defaultValue?: number | string;
47
+ defaultValue?: number | string | null;
48
48
  /**
49
49
  * A string value representing the name of the field to query.
50
50
  */
51
- fieldName?: string;
51
+ fieldName?: string | null;
52
52
  /**
53
53
  * Number given to uniquely identify the specified parameter.
54
54
  */
55
- parameterId?: number;
55
+ parameterId?: number | null;
56
56
  /**
57
57
  * The field type for the specified field parameter. See Field.FieldType.
58
58
  */
59
- type?: string;
59
+ type?: string | null;
60
60
  }
@@ -12,37 +12,37 @@ export interface DrawingInfoJson {
12
12
  /**
13
13
  * Filters for PointCloud layers.
14
14
  */
15
- filters?: PointCloudFilterJson[];
15
+ filters?: PointCloudFilterJson[] | null;
16
16
  /**
17
17
  * Only used for feature collections with a renderer. The feature's symbol
18
18
  * is defined by the layer's renderer. Not implemented in JSAPI 4.x.
19
19
  */
20
- fixedSymbols?: boolean;
20
+ fixedSymbols?: boolean | null;
21
21
  /**
22
22
  * An object defining the properties used for labeling the layer.
23
23
  */
24
- labelingInfo?: LabelingInfoJson[];
24
+ labelingInfo?: LabelingInfoJson[] | null;
25
25
  /**
26
26
  * A renderer object that provides the symbology for the layer.
27
27
  */
28
- renderer?: RendererJson;
28
+ renderer?: RendererJson | null;
29
29
  /**
30
30
  * Boolean property indicating whether symbols should stay the same size in
31
31
  * screen units as you zoom in. A value of false means the symbols stay the
32
32
  * same size in screen units regardless of the map scale. Not implemented in
33
33
  * JSAPI 4.x.
34
34
  */
35
- scaleSymbols?: boolean;
35
+ scaleSymbols?: boolean | null;
36
36
  /**
37
37
  * Defines whether labels should be shown or not. This is only valid for
38
38
  * sublayers.
39
39
  */
40
- showLabels?: boolean;
40
+ showLabels?: boolean | null;
41
41
  /**
42
42
  * Number value ranging between 0 (no transparency) to 100 (completely
43
43
  * transparent).
44
44
  */
45
- transparency?: number;
45
+ transparency?: number | null;
46
46
  }
47
47
  /**
48
48
  * Filters applied to the pointCloud which will hide a point.
@@ -61,17 +61,17 @@ export interface PointCloudBitfieldFilterJson {
61
61
  /**
62
62
  * The name of the field that is used for the filter.
63
63
  */
64
- field?: string;
64
+ field?: string | null;
65
65
  /**
66
66
  * List ALL bit numbers that must cleared (=0) for the point to be kept. Bit
67
67
  * 0 is LSB.
68
68
  */
69
- requiredClearBits?: number[];
69
+ requiredClearBits?: number[] | null;
70
70
  /**
71
71
  * List ALL bit numbers that must set (=1) for the point to be kept. Bit 0
72
72
  * is LSB.
73
73
  */
74
- requiredSetBits?: number[];
74
+ requiredSetBits?: number[] | null;
75
75
  /**
76
76
  * Filters points based on the value of an specified attribute.
77
77
  */
@@ -87,12 +87,12 @@ export interface PointCloudReturnFilterJson {
87
87
  /**
88
88
  * The name of the field that is used for the filter.
89
89
  */
90
- field?: string;
90
+ field?: string | null;
91
91
  /**
92
92
  * All points with at least one specified return status will be kept. Status
93
93
  * values: last, firstOfMany, lastOfMany, single.
94
94
  */
95
- includedReturns?: string[];
95
+ includedReturns?: string[] | null;
96
96
  /**
97
97
  * Filters points based on the value of an specified attribute.
98
98
  */
@@ -108,12 +108,12 @@ export interface PointCloudValueFilterJson {
108
108
  /**
109
109
  * The name of the field that is used for the filter.
110
110
  */
111
- field?: string;
111
+ field?: string | null;
112
112
  /**
113
113
  * Defines if values should be included or excluded. Must be one of the
114
114
  * following values: exclude, include.
115
115
  */
116
- mode?: string;
116
+ mode?: string | null;
117
117
  /**
118
118
  * Filters points based on the value of an specified attribute.
119
119
  */
@@ -121,7 +121,7 @@ export interface PointCloudValueFilterJson {
121
121
  /**
122
122
  * List of values.
123
123
  */
124
- values?: number[];
124
+ values?: number[] | null;
125
125
  }
126
126
  /**
127
127
  * The labelingInfo object specifies the label definition for a layer.
@@ -135,7 +135,7 @@ export interface LabelingInfoJson {
135
135
  * This read-only web map property allows formatting of labels. Use
136
136
  * labelExpressionInfo instead.
137
137
  */
138
- labelExpression?: string;
138
+ labelExpression?: string | null;
139
139
  /**
140
140
  * This object allows label text to be read similar to that of the
141
141
  * popupInfo's description property. See
@@ -146,37 +146,37 @@ export interface LabelingInfoJson {
146
146
  /**
147
147
  * The title of the expression.
148
148
  */
149
- title?: string;
149
+ title?: string | null;
150
150
  /**
151
151
  * Represents a simple template string. This property is deprecated as
152
152
  * of version 2.7 of the web map in favor of 'expression'.
153
153
  */
154
- value?: string;
154
+ value?: string | null;
155
155
  /**
156
156
  * An Arcade expression evaluating to either a string or a number.
157
157
  */
158
- expression?: string;
159
- };
158
+ expression?: string | null;
159
+ } | null;
160
160
  /**
161
161
  * This string property specifies the label placement with respect to that
162
162
  * of its feature. A list of label placement values categorized by feature
163
163
  * geometry types.
164
164
  */
165
- labelPlacement?: "esriServerLinePlacementAboveAfter" | "esriServerLinePlacementAboveAlong" | "esriServerLinePlacementAboveBefore" | "esriServerLinePlacementAboveEnd" | "esriServerLinePlacementAboveStart" | "esriServerLinePlacementBelowAfter" | "esriServerLinePlacementBelowAlong" | "esriServerLinePlacementBelowBefore" | "esriServerLinePlacementBelowEnd" | "esriServerLinePlacementBelowStart" | "esriServerLinePlacementCenterAfter" | "esriServerLinePlacementCenterAlong" | "esriServerLinePlacementCenterBefore" | "esriServerLinePlacementCenterEnd" | "esriServerLinePlacementCenterStart" | "esriServerPointLabelPlacementAboveCenter" | "esriServerPointLabelPlacementAboveLeft" | "esriServerPointLabelPlacementAboveRight" | "esriServerPointLabelPlacementBelowCenter" | "esriServerPointLabelPlacementBelowLeft" | "esriServerPointLabelPlacementBelowRight" | "esriServerPointLabelPlacementCenterCenter" | "esriServerPointLabelPlacementCenterLeft" | "esriServerPointLabelPlacementCenterRight" | "esriServerPolygonPlacementAlwaysHorizontal";
165
+ labelPlacement?: "esriServerLinePlacementAboveAfter" | "esriServerLinePlacementAboveAlong" | "esriServerLinePlacementAboveBefore" | "esriServerLinePlacementAboveEnd" | "esriServerLinePlacementAboveStart" | "esriServerLinePlacementBelowAfter" | "esriServerLinePlacementBelowAlong" | "esriServerLinePlacementBelowBefore" | "esriServerLinePlacementBelowEnd" | "esriServerLinePlacementBelowStart" | "esriServerLinePlacementCenterAfter" | "esriServerLinePlacementCenterAlong" | "esriServerLinePlacementCenterBefore" | "esriServerLinePlacementCenterEnd" | "esriServerLinePlacementCenterStart" | "esriServerPointLabelPlacementAboveCenter" | "esriServerPointLabelPlacementAboveLeft" | "esriServerPointLabelPlacementAboveRight" | "esriServerPointLabelPlacementBelowCenter" | "esriServerPointLabelPlacementBelowLeft" | "esriServerPointLabelPlacementBelowRight" | "esriServerPointLabelPlacementCenterCenter" | "esriServerPointLabelPlacementCenterLeft" | "esriServerPointLabelPlacementCenterRight" | "esriServerPolygonPlacementAlwaysHorizontal" | null;
166
166
  /**
167
167
  * Represents the maximum scale at which the layer definition will be
168
168
  * applied.
169
169
  */
170
- maxScale?: number;
170
+ maxScale?: number | null;
171
171
  /**
172
172
  * Represents the minimum scale at which the layer definition will be
173
173
  * applied.
174
174
  */
175
- minScale?: number;
175
+ minScale?: number | null;
176
176
  /**
177
177
  * The name of the label class.
178
178
  */
179
- name?: string;
179
+ name?: string | null;
180
180
  /**
181
181
  * A boolean value indicating whether or not to repeat the label along or
182
182
  * across the feature. If true, the label will be repeated according to the
@@ -184,23 +184,23 @@ export interface LabelingInfoJson {
184
184
  * the feature: false for point and polygon feature geometries, and true for
185
185
  * line feature geometries.
186
186
  */
187
- repeatLabel?: boolean;
187
+ repeatLabel?: boolean | null;
188
188
  /**
189
189
  * The repeat label distance used when repeatLabel is true. It represents a
190
190
  * screen distance in points.
191
191
  */
192
- repeatLabelDistance?: number;
192
+ repeatLabelDistance?: number | null;
193
193
  /**
194
194
  * The text symbol used to label.
195
195
  */
196
- symbol?: TextSymbolJson | LabelSymbol3DJson;
196
+ symbol?: TextSymbolJson | LabelSymbol3DJson | null;
197
197
  /**
198
198
  * Boolean value indicating whether to display the coded values for the
199
199
  * specified field name(s).
200
200
  */
201
- useCodedValues?: boolean;
201
+ useCodedValues?: boolean | null;
202
202
  /**
203
203
  * String template used to determine which features to label.
204
204
  */
205
- where?: string;
205
+ where?: string | null;
206
206
  }
@@ -12,24 +12,24 @@ export interface EnvironmentJson {
12
12
  * Whether the atmosphere should be visualized. This includes sky and haze
13
13
  * effects.
14
14
  */
15
- atmosphereEnabled?: boolean;
15
+ atmosphereEnabled?: boolean | null;
16
16
  /**
17
17
  * Specifies how the background of the scene (which lies behind sky, stars
18
18
  * and atmosphere) should be displayed.
19
19
  */
20
- background?: BackgroundJson;
20
+ background?: BackgroundJson | null;
21
21
  /**
22
22
  * Object containing information on how the scene is lit.
23
23
  */
24
- lighting?: LightingJson;
24
+ lighting?: LightingJson | null;
25
25
  /**
26
26
  * Whether stars should be displayed in the sky.
27
27
  */
28
- starsEnabled?: boolean;
28
+ starsEnabled?: boolean | null;
29
29
  /**
30
30
  * Indicates the type of weather visualization in the scene.
31
31
  */
32
- weather?: WeatherJson;
32
+ weather?: WeatherJson | null;
33
33
  }
34
34
  /**
35
35
  * The background of a SceneView that lies behind the sky, atmosphere and stars.
@@ -46,12 +46,12 @@ export interface ColorBackgroundJson {
46
46
  /**
47
47
  * Color is represented as a three or four-element array.
48
48
  */
49
- color?: ColorJson;
49
+ color?: ColorJson | null;
50
50
  /**
51
51
  * The value has to lie between 100 (full transparency) and 0 (full
52
52
  * opacity). Web scenes only.
53
53
  */
54
- transparency?: number;
54
+ transparency?: number | null;
55
55
  /**
56
56
  * The type of background. Web scenes only.
57
57
  */
@@ -73,7 +73,7 @@ export interface VirtualLightingJson {
73
73
  /**
74
74
  * Indicates whether to show shadows cast by the main light source.
75
75
  */
76
- directShadows?: boolean;
76
+ directShadows?: boolean | null;
77
77
  /**
78
78
  * The type of lighting.
79
79
  */
@@ -91,18 +91,18 @@ export interface SunLightingJson {
91
91
  * The current date and time of the simulated sun. It is a number
92
92
  * representing the number of milliseconds since 1 January, 1970 UTC.
93
93
  */
94
- datetime?: number;
94
+ datetime?: number | null;
95
95
  /**
96
96
  * Indicates whether to show shadows cast by the sun.
97
97
  */
98
- directShadows?: boolean;
98
+ directShadows?: boolean | null;
99
99
  /**
100
100
  * UTC offset in decimal hours. Not to be applied to datetime for sun
101
101
  * position, only to adjust display of datetime in UI. If displayUTCOffset
102
102
  * is null, offset is calculated for the current location (approximate
103
103
  * only).
104
104
  */
105
- displayUTCOffset?: number;
105
+ displayUTCOffset?: number | null;
106
106
  /**
107
107
  * The type of lighting.
108
108
  */
@@ -123,7 +123,7 @@ export interface CloudyWeatherJson {
123
123
  /**
124
124
  * Specifies the amount of cloud cover in the sky.
125
125
  */
126
- cloudCover?: number;
126
+ cloudCover?: number | null;
127
127
  /**
128
128
  * The type of weather.
129
129
  */
@@ -140,7 +140,7 @@ export interface FoggyWeatherJson {
140
140
  /**
141
141
  * Specifies the amount of fog used in the scene.
142
142
  */
143
- fogStrength?: number;
143
+ fogStrength?: number | null;
144
144
  /**
145
145
  * The type of weather.
146
146
  */
@@ -157,11 +157,11 @@ export interface RainyWeatherJson {
157
157
  /**
158
158
  * Specifies the amount of cloud cover in the sky.
159
159
  */
160
- cloudCover?: number;
160
+ cloudCover?: number | null;
161
161
  /**
162
162
  * Specifies the amount of snowfall in the scene.
163
163
  */
164
- precipitation?: number;
164
+ precipitation?: number | null;
165
165
  /**
166
166
  * The type of weather.
167
167
  */
@@ -178,15 +178,15 @@ export interface SnowyWeatherJson {
178
178
  /**
179
179
  * Specifies the amount of cloud cover in the sky.
180
180
  */
181
- cloudCover?: number;
181
+ cloudCover?: number | null;
182
182
  /**
183
183
  * Specifies the amount of snowfall in the scene.
184
184
  */
185
- precipitation?: number;
185
+ precipitation?: number | null;
186
186
  /**
187
187
  * Display surfaces covered with snow.
188
188
  */
189
- snowCover?: "enabled" | "disabled";
189
+ snowCover?: "enabled" | "disabled" | null;
190
190
  /**
191
191
  * The type of weather.
192
192
  */
@@ -203,7 +203,7 @@ export interface SunnyWeatherJson {
203
203
  /**
204
204
  * Specifies the amount of cloud cover in the sky.
205
205
  */
206
- cloudCover?: number;
206
+ cloudCover?: number | null;
207
207
  /**
208
208
  * The type of weather.
209
209
  */
@@ -16,5 +16,5 @@ export interface FeatureCollectionJson {
16
16
  * Indicates if this layer should be shown in the legend in client
17
17
  * applications. The default is true.
18
18
  */
19
- showLegend?: boolean;
19
+ showLegend?: boolean | null;
20
20
  }
@@ -18,21 +18,21 @@ export interface FeatureJson {
18
18
  * number represents the number of milliseconds since epoch (January 1,
19
19
  * 1970) in UTC.
20
20
  */
21
- attributes?: Record<string, unknown>;
21
+ attributes?: Record<string, unknown> | null;
22
22
  /**
23
23
  * The feature geometry.
24
24
  */
25
- geometry?: GeometryJson;
25
+ geometry?: GeometryJson | null;
26
26
  /**
27
27
  * Symbol used for drawing the feature.
28
28
  */
29
- symbol?: SymbolJson;
29
+ symbol?: SymbolJson | null;
30
30
  /**
31
31
  * A popupInfo object defining the content of popup window when you click a
32
32
  * feature on the map. Applicable to features in a map notes feature layer
33
33
  * only.
34
34
  */
35
- popupInfo?: PopupInfoJson;
35
+ popupInfo?: PopupInfoJson | null;
36
36
  }
37
37
  /**
38
38
  * Converts an ArcGIS Portal JSON representation of a Feature to an Esri
@@ -1 +1 @@
1
- import t from"@arcgis/core/Graphic";import{checkArg as e}from"../utilities/checkArg.js";const i="graphic-visible",r="graphic-popup-template";export function jsonToGraphic(o){e("featureJson",o).isNotMissing();const s={...o};let p=!0;s.attributes?.hasOwnProperty(i)&&(p=s.attributes[i]),s.attributes?.hasOwnProperty(r)&&(s.popupInfo=s.attributes[r]);const a=t.fromJSON(s);return a.visible=p,delete a.attributes[i],delete a.attributes[r],a}export function graphicToJson(t){e("graphic",t).isNotMissing();const r=t.toJSON();return r.attributes[i]=t.visible,delete r.popupTemplate,delete r.aggregateGeometries,r}
1
+ import t from"@arcgis/core/Graphic";import{checkArg as e}from"../utilities/checkArg.js";const i="graphic-visible",r="graphic-popup-template";export function jsonToGraphic(s){e("featureJson",s).isNotMissing();const o={...s};let a=!0;o.attributes?.hasOwnProperty(i)&&(a=o.attributes[i]),o.attributes?.hasOwnProperty(r)&&(o.popupInfo=o.attributes[r]);const p=t.fromJSON(o);return p.visible=a,delete p.attributes[i],delete p.attributes[r],p}export function graphicToJson(t){e("graphic",t).isNotMissing();const r=t.toJSON();return null==r.attributes&&(r.attributes={}),r.attributes[i]=t.visible,delete r.popupTemplate,delete r.aggregateGeometries,r}