@vertigis/arcgis-extensions 32.8.5 → 32.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AppConfig.schema.json +43 -11
- package/docs/html/assets/js/search.js +1 -1
- package/docs/html/classes/mapping_grouplayerextension.grouplayerextensioncollection.html +13 -13
- package/docs/html/classes/mapping_mapextension.mapextension.html +7 -7
- package/docs/html/classes/mapping_support__layerextensioncollection.layerextensioncollectionbase.html +19 -19
- package/docs/html/enums/portal_featurelayer.featurelayermode.html +4 -4
- package/docs/html/index.html +9 -0
- package/docs/html/interfaces/data__tableextension.tableproperties.html +51 -9
- package/docs/html/interfaces/mapping_featurelayerextension.featurelayerproperties.html +76 -13
- package/docs/html/interfaces/mapping_featurelayerextensionbase.featurelayerbaseproperties.html +76 -13
- package/docs/html/interfaces/mapping_support__layerextensioncollection.layerextensioncollection.html +3 -3
- package/docs/html/interfaces/portal_applicationproperties.applicationproperties.html +32 -2
- package/docs/html/interfaces/portal_bookmark.bookmark.html +18 -3
- package/docs/html/interfaces/portal_csvlayer.csvlayer-1.html +27 -7
- package/docs/html/interfaces/portal_drawinginfo.drawinginfo-1.html +29 -8
- package/docs/html/interfaces/portal_featurelayer.featurelayer-1.html +73 -13
- package/docs/html/interfaces/portal_forminfo.formattachmentelement.html +351 -0
- package/docs/html/interfaces/portal_forminfo.formbarcodescannerinput.html +257 -0
- package/docs/html/interfaces/portal_forminfo.formcomboboxinput.html +254 -0
- package/docs/html/interfaces/portal_forminfo.formdatetimepickerinput.html +274 -0
- package/docs/html/interfaces/portal_forminfo.formexpressioninfo.html +273 -0
- package/docs/html/interfaces/portal_forminfo.formfieldelement.html +386 -0
- package/docs/html/interfaces/portal_forminfo.formgroupelement.html +315 -0
- package/docs/html/interfaces/portal_forminfo.forminfo.html +271 -0
- package/docs/html/interfaces/portal_forminfo.formradiobuttonsinput.html +253 -0
- package/docs/html/interfaces/portal_forminfo.formrelationshipelement.html +334 -0
- package/docs/html/interfaces/portal_forminfo.formswitchinput.html +252 -0
- package/docs/html/interfaces/portal_forminfo.formtextareainput.html +254 -0
- package/docs/html/interfaces/portal_forminfo.formtextboxinput.html +255 -0
- package/docs/html/interfaces/portal_grouplayer.grouplayer-1.html +7 -4
- package/docs/html/interfaces/portal_grouplayer.subtypegrouplayer.html +501 -0
- package/docs/html/interfaces/portal_imageservicelayer.imageservicelayer-1.html +33 -13
- package/docs/html/interfaces/portal_imageservicevectorlayer.imageservicevectorlayer.html +28 -8
- package/docs/html/interfaces/portal_item.item-1.html +158 -41
- package/docs/html/interfaces/portal_labelinginfo.labelinginfo-1.html +19 -10
- package/docs/html/interfaces/portal_layerdefinition.fieldoverride.html +241 -0
- package/docs/html/interfaces/portal_layerdefinition.layerdefinition-1.html +116 -31
- package/docs/html/interfaces/portal_layerdefinition.layerdefinitiondefaults.html +12 -0
- package/docs/html/interfaces/portal_layerdefinition.layertimeinfo.html +381 -0
- package/docs/html/interfaces/portal_layerdefinition.timeinfoexportoptions.html +262 -0
- package/docs/html/interfaces/portal_mapfloorinfo.facilitylayerinfo.html +254 -0
- package/docs/html/interfaces/portal_mapfloorinfo.levellayerinfo.html +315 -0
- package/docs/html/interfaces/portal_mapfloorinfo.mapfloorinfo-1.html +233 -0
- package/docs/html/interfaces/portal_mapfloorinfo.sitelayerinfo.html +231 -0
- package/docs/html/interfaces/portal_mapservicelayer.mapservicelayer-1.html +26 -6
- package/docs/html/interfaces/portal_renderer.authoringinfo.html +28 -5
- package/docs/html/interfaces/portal_renderer.colorramp.html +291 -0
- package/docs/html/interfaces/portal_renderer.rendererbase.html +3 -0
- package/docs/html/interfaces/portal_streamlayer.streamlayer-1.html +75 -12
- package/docs/html/interfaces/portal_symbol.font.html +4 -4
- package/docs/html/interfaces/portal_table.table.html +49 -9
- package/docs/html/interfaces/portal_tiledimageservicelayer.tiledimageservicelayer-1.html +23 -3
- package/docs/html/interfaces/portal_tiledmapservicelayer.tiledmapservicelayer-1.html +27 -7
- package/docs/html/interfaces/portal_utilitynetwork.traceconfiguration.html +201 -0
- package/docs/html/interfaces/portal_utilitynetwork.utilitynetwork.html +243 -0
- package/docs/html/interfaces/portal_vectortilelayer.vectortilelayer-1.html +24 -4
- package/docs/html/interfaces/portal_webmap.webmap-1.html +71 -13
- package/docs/html/interfaces/portal_webscene.webscene-1.html +34 -15
- package/docs/html/interfaces/portal_webtilelayer.webtilelayer-1.html +8 -8
- package/docs/html/interfaces/portal_widgets.floorfilter.html +310 -0
- package/docs/html/interfaces/portal_widgets.range.html +6 -3
- package/docs/html/interfaces/portal_widgets.timeslider.html +4 -1
- package/docs/html/interfaces/portal_widgets.widgets.html +22 -0
- package/docs/html/modules/mapping_mapextension.html +1 -1
- package/docs/html/modules/portal_applicationproperties.html +2 -2
- package/docs/html/modules/portal_featurelayer.featurelayer.html +8 -8
- package/docs/html/modules/portal_featurelayer.html +1 -1
- package/docs/html/modules/portal_forminfo.html +178 -0
- package/docs/html/modules/portal_grouplayer.grouplayer.html +3 -3
- package/docs/html/modules/portal_grouplayer.html +5 -1
- package/docs/html/modules/portal_labelinginfo.html +1 -1
- package/docs/html/modules/portal_labelinginfo.labelplacement.html +2 -2
- package/docs/html/modules/portal_layerdefinition.html +32 -1
- package/docs/html/modules/portal_layerdefinition.layerdefinitioncapabilities.html +6 -6
- package/docs/html/modules/portal_mapfloorinfo.html +153 -0
- package/docs/html/modules/portal_mapfloorinfo.mapfloorinfo.html +209 -0
- package/docs/html/modules/portal_renderer.html +10 -6
- package/docs/html/modules/portal_table.html +5 -5
- package/docs/html/modules/portal_tiledmapservicelayer.tiledmapservicelayer.html +1 -1
- package/docs/html/modules/portal_utilitynetwork.html +134 -0
- package/docs/html/modules/portal_webmap.webmap.html +3 -3
- package/docs/html/modules/portal_webscene.webscene.html +3 -3
- package/docs/html/modules/portal_webtilelayer.webtilelayer.html +1 -1
- package/docs/html/modules/portal_widgets.html +5 -1
- package/docs/html/modules/version.html +1 -1
- package/docs/html/modules.html +12 -0
- package/mapping/MapExtension.js +1 -1
- package/mapping/support/_LayerExtensionCollection.js +1 -1
- package/package.json +1 -1
- package/portal/ApplicationProperties.d.ts +25 -0
- package/portal/Bookmark.d.ts +8 -2
- package/portal/CSVLayer.d.ts +5 -0
- package/portal/DrawingInfo.d.ts +9 -3
- package/portal/FeatureLayer.d.ts +16 -0
- package/portal/FormInfo.d.ts +391 -0
- package/portal/FormInfo.js +1 -0
- package/portal/GroupLayer.d.ts +25 -0
- package/portal/ImageServiceLayer.d.ts +5 -0
- package/portal/ImageServiceVectorLayer.d.ts +5 -0
- package/portal/Item.d.ts +37 -10
- package/portal/LabelingInfo.d.ts +7 -2
- package/portal/LayerDefinition.d.ts +121 -0
- package/portal/MapFloorInfo.d.ts +130 -0
- package/portal/MapFloorInfo.js +1 -0
- package/portal/MapServiceLayer.d.ts +5 -0
- package/portal/MapServiceLayer.js +1 -1
- package/portal/Renderer.d.ts +32 -0
- package/portal/Symbol.d.ts +4 -4
- package/portal/Table.d.ts +11 -0
- package/portal/TiledImageServiceLayer.d.ts +5 -0
- package/portal/TiledMapServiceLayer.d.ts +5 -0
- package/portal/TiledMapServiceLayer.js +1 -1
- package/portal/UtilityNetwork.d.ts +42 -0
- package/portal/UtilityNetwork.js +1 -0
- package/portal/VectorTileLayer.d.ts +5 -0
- package/portal/WebMap.d.ts +16 -0
- package/portal/WebMap.js +1 -1
- package/portal/WebScene.d.ts +5 -0
- package/portal/WebScene.js +1 -1
- package/portal/WebTileLayer.js +1 -1
- package/portal/Widgets.d.ts +45 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -0,0 +1,391 @@
|
|
|
1
|
+
import type { Domain } from "./Domain.js";
|
|
2
|
+
/**
|
|
3
|
+
* Defines the form configuration when a user edits a feature.
|
|
4
|
+
* {@link https://developers.arcgis.com/web-map-specification/objects/formInfo/}.
|
|
5
|
+
*/
|
|
6
|
+
export interface FormInfo {
|
|
7
|
+
/**
|
|
8
|
+
* A string that appears in the body of the form as a description.
|
|
9
|
+
*/
|
|
10
|
+
description?: string;
|
|
11
|
+
/**
|
|
12
|
+
* List of Arcade expressions used in the form.
|
|
13
|
+
*/
|
|
14
|
+
expressionInfos?: FormExpressionInfo[];
|
|
15
|
+
/**
|
|
16
|
+
* An array of formElement objects that represent an ordered list of form
|
|
17
|
+
* elements.
|
|
18
|
+
*/
|
|
19
|
+
formElements?: (FormAttachmentElement | FormFieldElement | FormGroupElement | FormRelationshipElement)[];
|
|
20
|
+
/**
|
|
21
|
+
* A string that appears at the top of the form as a title.
|
|
22
|
+
*/
|
|
23
|
+
title?: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Arcade expression used in the form.
|
|
27
|
+
* {@link https://developers.arcgis.com/web-map-specification/objects/formExpressionInfo/}.
|
|
28
|
+
*/
|
|
29
|
+
export interface FormExpressionInfo {
|
|
30
|
+
/**
|
|
31
|
+
* The Arcade expression.
|
|
32
|
+
*/
|
|
33
|
+
expression?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Unique identifier for the expression.
|
|
36
|
+
*/
|
|
37
|
+
name?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Return type of the Arcade expression. This can be determined by the
|
|
40
|
+
* authoring client by executing the expression using a sample feature(s),
|
|
41
|
+
* although it can be corrected by the user.
|
|
42
|
+
*/
|
|
43
|
+
returnType?: "boolean";
|
|
44
|
+
/**
|
|
45
|
+
* Title of the expression.
|
|
46
|
+
*/
|
|
47
|
+
title?: string;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Defines how one or more attachments can participate in the form. When present
|
|
51
|
+
* in the form, the user has the ability to upload an attachment specific to the
|
|
52
|
+
* form element.
|
|
53
|
+
* {@link https://developers.arcgis.com/web-map-specification/objects/formAttachmentElement/}.
|
|
54
|
+
*/
|
|
55
|
+
export interface FormAttachmentElement {
|
|
56
|
+
/**
|
|
57
|
+
* A string to identify the attachment(s). When a file is attached using the
|
|
58
|
+
* form, this property is used to set the value of the keywords field for
|
|
59
|
+
* the attachment. When a form is displaying existing attachments, this
|
|
60
|
+
* property is used to query attachments using an exact match on the
|
|
61
|
+
* keywords field.
|
|
62
|
+
*/
|
|
63
|
+
attachmentKeyword?: string;
|
|
64
|
+
/**
|
|
65
|
+
* A string that describes the element in detail.
|
|
66
|
+
*/
|
|
67
|
+
description?: string;
|
|
68
|
+
/**
|
|
69
|
+
* Indicates whether the attachments can be edited. If not present, the
|
|
70
|
+
* default is true.
|
|
71
|
+
*/
|
|
72
|
+
editable?: boolean;
|
|
73
|
+
/**
|
|
74
|
+
* The input user interface to use for the attachment.
|
|
75
|
+
*/
|
|
76
|
+
inputType?: {
|
|
77
|
+
/**
|
|
78
|
+
* The input type identifier.
|
|
79
|
+
*/
|
|
80
|
+
type: "attachment" | "audio" | "document" | "image" | "signature" | "video";
|
|
81
|
+
};
|
|
82
|
+
/**
|
|
83
|
+
* A string value indicating what the element represents.
|
|
84
|
+
*/
|
|
85
|
+
label?: string;
|
|
86
|
+
/**
|
|
87
|
+
* String value indicating which type of element to use.
|
|
88
|
+
*/
|
|
89
|
+
type: "attachment";
|
|
90
|
+
/**
|
|
91
|
+
* A reference to an Arcade expression that returns a boolean value. When
|
|
92
|
+
* this expression evaluates to true, the element is displayed. When the
|
|
93
|
+
* expression evaluates to false the element is not displayed. If no
|
|
94
|
+
* expression is provided, the default behavior is that the element is
|
|
95
|
+
* displayed.
|
|
96
|
+
*/
|
|
97
|
+
visibilityExpression?: string;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Defines how a field in the dataset participates in the form.
|
|
101
|
+
* {@link https://developers.arcgis.com/web-map-specification/objects/formFieldElement/}.
|
|
102
|
+
*/
|
|
103
|
+
export interface FormFieldElement {
|
|
104
|
+
/**
|
|
105
|
+
* A string that describes the element in detail.
|
|
106
|
+
*/
|
|
107
|
+
description?: string;
|
|
108
|
+
/**
|
|
109
|
+
* The domain to apply to this field. If defined, it takes precedence over
|
|
110
|
+
* domains defined in field, type, or subtype.
|
|
111
|
+
*/
|
|
112
|
+
domain?: Domain;
|
|
113
|
+
/**
|
|
114
|
+
* A Boolean determining whether users can edit this form element. If not
|
|
115
|
+
* supplied, the editable state is derived from the editable property of
|
|
116
|
+
* referenced field in the service.
|
|
117
|
+
*/
|
|
118
|
+
editable?: boolean;
|
|
119
|
+
/**
|
|
120
|
+
* A string containing the field name as defined by the feature layer.
|
|
121
|
+
*/
|
|
122
|
+
fieldName?: string;
|
|
123
|
+
/**
|
|
124
|
+
* The input user interface to use for the element. If an input type is not
|
|
125
|
+
* supplied or the client application does not understand the supplied input
|
|
126
|
+
* type, the client application is responsible for defining the default user
|
|
127
|
+
* interface.
|
|
128
|
+
*/
|
|
129
|
+
inputType?: FormBarcodeScannerInput | FormComboBoxInput | FormDateTimePickerInput | FormRadioButtonsInput | FormSwitchInput | FormTextAreaInput | FormTextBoxInput;
|
|
130
|
+
/**
|
|
131
|
+
* A string indicating what the element represents. If not supplied, the
|
|
132
|
+
* label is derived from the alias property in the referenced field in
|
|
133
|
+
* the service.
|
|
134
|
+
*/
|
|
135
|
+
label?: string;
|
|
136
|
+
/**
|
|
137
|
+
* A reference to an Arcade expression that returns a boolean value. When
|
|
138
|
+
* this expression evaluates to true and the element is visible, the
|
|
139
|
+
* element must have a valid value in order for the feature to be created
|
|
140
|
+
* or edited. When the expression evaluates to false the element is not
|
|
141
|
+
* required. If no expression is provided, the default behavior is that the
|
|
142
|
+
* element is not required. If the referenced field is non-nullable, the
|
|
143
|
+
* required expression is ignored and the element is always required.
|
|
144
|
+
*/
|
|
145
|
+
requiredExpression?: string;
|
|
146
|
+
/**
|
|
147
|
+
* A string indicating which type of element to use.
|
|
148
|
+
*/
|
|
149
|
+
type: "field";
|
|
150
|
+
/**
|
|
151
|
+
* A reference to an Arcade expression that returns a boolean value. When
|
|
152
|
+
* this expression evaluates to true, the element is displayed. When the
|
|
153
|
+
* expression evaluates to false the element is not displayed. If no
|
|
154
|
+
* expression is provided, the default behavior is that the element is
|
|
155
|
+
* displayed. Care must be taken when defining a visibility expression for a
|
|
156
|
+
* non-nullable field i.e. to make sure that such fields either have default
|
|
157
|
+
* values or are made visible to users so that they can provide a value
|
|
158
|
+
* before submitting the form.
|
|
159
|
+
*/
|
|
160
|
+
visibilityExpression?: string;
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* Defines a container that holds a set of form elements that can be expanded,
|
|
164
|
+
* collapsed, or displayed together.
|
|
165
|
+
* {@link https://developers.arcgis.com/web-map-specification/objects/formGroupElement/}.
|
|
166
|
+
*/
|
|
167
|
+
export interface FormGroupElement {
|
|
168
|
+
/**
|
|
169
|
+
* A string that describes the element in detail.
|
|
170
|
+
*/
|
|
171
|
+
description?: string;
|
|
172
|
+
/**
|
|
173
|
+
* An array of Form Element objects that represent an ordered list of form
|
|
174
|
+
* elements. Nested group elements are not supported.
|
|
175
|
+
*/
|
|
176
|
+
formElements?: (FormAttachmentElement | FormFieldElement | FormRelationshipElement)[];
|
|
177
|
+
/**
|
|
178
|
+
* Defines if the group should be expanded or collapsed when the form is
|
|
179
|
+
* initially displayed. If not provided, the default value is expanded.
|
|
180
|
+
*/
|
|
181
|
+
initialState?: "collapsed" | "expanded";
|
|
182
|
+
/**
|
|
183
|
+
* A string value indicating what the element represents.
|
|
184
|
+
*/
|
|
185
|
+
label?: string;
|
|
186
|
+
/**
|
|
187
|
+
* String value indicating which type of element to use.
|
|
188
|
+
*/
|
|
189
|
+
type: "group";
|
|
190
|
+
/**
|
|
191
|
+
* A reference to an Arcade expression that returns a boolean value. When
|
|
192
|
+
* this expression evaluates to true, the element is displayed. When the
|
|
193
|
+
* expression evaluates to false the element is not displayed. If no
|
|
194
|
+
* expression is provided, the default behavior is that the element is
|
|
195
|
+
* displayed.
|
|
196
|
+
*/
|
|
197
|
+
visibilityExpression?: string;
|
|
198
|
+
}
|
|
199
|
+
/**
|
|
200
|
+
* Defines how a relationship between feature layers and tables can participate
|
|
201
|
+
* in the form. When present in the form, the user may have the option to add or
|
|
202
|
+
* edit related records.
|
|
203
|
+
* {@link https://developers.arcgis.com/web-map-specification/objects/formRelationshipElement/}.
|
|
204
|
+
*/
|
|
205
|
+
export interface FormRelationshipElement {
|
|
206
|
+
/**
|
|
207
|
+
* A string that describes the element in detail.
|
|
208
|
+
*/
|
|
209
|
+
description?: string;
|
|
210
|
+
/**
|
|
211
|
+
* An integer that indicates the maximum number of records to display.
|
|
212
|
+
*/
|
|
213
|
+
displayCount?: number;
|
|
214
|
+
/**
|
|
215
|
+
* A string that defines how the related records should be displayed.
|
|
216
|
+
*/
|
|
217
|
+
displayType?: "list";
|
|
218
|
+
/**
|
|
219
|
+
* A Boolean determining whether users can edit this form element. If not
|
|
220
|
+
* supplied the default value is true.
|
|
221
|
+
*/
|
|
222
|
+
editable?: boolean;
|
|
223
|
+
/**
|
|
224
|
+
* A string value indicating what the element represents.
|
|
225
|
+
*/
|
|
226
|
+
label?: string;
|
|
227
|
+
/**
|
|
228
|
+
* String value indicating which type of element to use.
|
|
229
|
+
*/
|
|
230
|
+
type: "relationship";
|
|
231
|
+
/**
|
|
232
|
+
* A reference to an Arcade expression that returns a boolean value. When
|
|
233
|
+
* this expression evaluates to true, the element is displayed. When the
|
|
234
|
+
* expression evaluates to false the element is not displayed. If no
|
|
235
|
+
* expression is provided, the default behavior is that the element is
|
|
236
|
+
* displayed.
|
|
237
|
+
*/
|
|
238
|
+
visibilityExpression?: string;
|
|
239
|
+
}
|
|
240
|
+
/**
|
|
241
|
+
* Defines the desired user interface is a barcode or QR code scanner. If the
|
|
242
|
+
* client does not support barcode scanning, a single-line text box should be
|
|
243
|
+
* used.
|
|
244
|
+
* {@link https://developers.arcgis.com/web-map-specification/objects/formBarcodeScannerInput/}.
|
|
245
|
+
*/
|
|
246
|
+
export interface FormBarcodeScannerInput {
|
|
247
|
+
/**
|
|
248
|
+
* This represents the maximum number of characters allowed. This only
|
|
249
|
+
* applies for string fields. If not supplied, the value is derived from the
|
|
250
|
+
* length property of the referenced field in the service.
|
|
251
|
+
*/
|
|
252
|
+
maxLength?: number;
|
|
253
|
+
/**
|
|
254
|
+
* This represents the minimum number of characters allowed. This only
|
|
255
|
+
* applies for string fields. If not supplied, the value is 0, meaning there
|
|
256
|
+
* is no minimum constraint.
|
|
257
|
+
*/
|
|
258
|
+
minLength?: number;
|
|
259
|
+
/**
|
|
260
|
+
* The input type identifier.
|
|
261
|
+
*/
|
|
262
|
+
type: "barcode-scanner";
|
|
263
|
+
}
|
|
264
|
+
/**
|
|
265
|
+
* Defines the desired user interface is a list of values in a drop-down that
|
|
266
|
+
* supports typing to filter. Only one value can be selected at a time.
|
|
267
|
+
* {@link https://developers.arcgis.com/web-map-specification/objects/formComboBoxInput/}.
|
|
268
|
+
*/
|
|
269
|
+
export interface FormComboBoxInput {
|
|
270
|
+
/**
|
|
271
|
+
* The text used to represent a null value.
|
|
272
|
+
*/
|
|
273
|
+
noValueOptionLabel?: string;
|
|
274
|
+
/**
|
|
275
|
+
* Determines whether null value option is displayed. This only applies to
|
|
276
|
+
* fields that support null values. If not provided, the default value is
|
|
277
|
+
* false.
|
|
278
|
+
*/
|
|
279
|
+
showNoValueOption?: boolean;
|
|
280
|
+
/**
|
|
281
|
+
* The input type identifier.
|
|
282
|
+
*/
|
|
283
|
+
type: "combo-box";
|
|
284
|
+
}
|
|
285
|
+
/**
|
|
286
|
+
* Defines the desired user interface is a calendar date picker.
|
|
287
|
+
* {@link https://developers.arcgis.com/web-map-specification/objects/formDatetimePickerInput/}.
|
|
288
|
+
*/
|
|
289
|
+
export interface FormDateTimePickerInput {
|
|
290
|
+
/**
|
|
291
|
+
* Indicates if the datetime picker should provide an option to select the
|
|
292
|
+
* time. If not provided, the default value is false.
|
|
293
|
+
*/
|
|
294
|
+
includeTime?: boolean;
|
|
295
|
+
/**
|
|
296
|
+
* The maximum date to allow. The number represents the number of
|
|
297
|
+
* milliseconds since epoch (January 1, 1970) in UTC.
|
|
298
|
+
*/
|
|
299
|
+
max?: number;
|
|
300
|
+
/**
|
|
301
|
+
* The minimum date to allow. The number represents the number of
|
|
302
|
+
* milliseconds since epoch (January 1, 1970) in UTC.
|
|
303
|
+
*/
|
|
304
|
+
min?: number;
|
|
305
|
+
/**
|
|
306
|
+
* The input type identifier.
|
|
307
|
+
*/
|
|
308
|
+
type: "datetime-picker";
|
|
309
|
+
}
|
|
310
|
+
/**
|
|
311
|
+
* Defines the desired user interface is a radio button group.
|
|
312
|
+
* {@link https://developers.arcgis.com/web-map-specification/objects/formRadioButtonsInput/}.
|
|
313
|
+
*/
|
|
314
|
+
export interface FormRadioButtonsInput {
|
|
315
|
+
/**
|
|
316
|
+
* The text used to represent a null value.
|
|
317
|
+
*/
|
|
318
|
+
noValueOptionLabel?: string;
|
|
319
|
+
/**
|
|
320
|
+
* Determines whether null value option is displayed. This only applies to
|
|
321
|
+
* fields that support null values. If not provided, the default value is
|
|
322
|
+
* false.
|
|
323
|
+
*/
|
|
324
|
+
showNoValueOption?: boolean;
|
|
325
|
+
/**
|
|
326
|
+
* The input type identifier.
|
|
327
|
+
*/
|
|
328
|
+
type: "radio-buttons";
|
|
329
|
+
}
|
|
330
|
+
/**
|
|
331
|
+
* Defines a desired user interface to present a binary switch, or toggle. This
|
|
332
|
+
* should be used when selecting between two options.
|
|
333
|
+
* {@link https://developers.arcgis.com/web-map-specification/objects/formSwitchInput/}.
|
|
334
|
+
*/
|
|
335
|
+
export interface FormSwitchInput {
|
|
336
|
+
/**
|
|
337
|
+
* The coded value when switch state is off.
|
|
338
|
+
*/
|
|
339
|
+
offValue?: string | number;
|
|
340
|
+
/**
|
|
341
|
+
* The coded value when switch state is on.
|
|
342
|
+
*/
|
|
343
|
+
onValue?: string | number;
|
|
344
|
+
/**
|
|
345
|
+
* The input type identifier.
|
|
346
|
+
*/
|
|
347
|
+
type: "switch";
|
|
348
|
+
}
|
|
349
|
+
/**
|
|
350
|
+
* Defines the desired user interface is a multi-line text area.
|
|
351
|
+
* {@link https://developers.arcgis.com/web-map-specification/objects/formTextAreaInput/}.
|
|
352
|
+
*/
|
|
353
|
+
export interface FormTextAreaInput {
|
|
354
|
+
/**
|
|
355
|
+
* This represents the maximum number of characters allowed. If not
|
|
356
|
+
* supplied, the value is derived from the length property of the referenced
|
|
357
|
+
* field in the service.
|
|
358
|
+
*/
|
|
359
|
+
maxLength?: number;
|
|
360
|
+
/**
|
|
361
|
+
* This represents the minimum number of characters allowed. If not
|
|
362
|
+
* supplied, the value is 0, meaning there is no minimum constraint.
|
|
363
|
+
*/
|
|
364
|
+
minLength?: number;
|
|
365
|
+
/**
|
|
366
|
+
* The input type identifier.
|
|
367
|
+
*/
|
|
368
|
+
type: "text-area";
|
|
369
|
+
}
|
|
370
|
+
/**
|
|
371
|
+
* Defines the desired user interface is a single-line text box.
|
|
372
|
+
* {@link https://developers.arcgis.com/web-map-specification/objects/formTextBoxInput/}.
|
|
373
|
+
*/
|
|
374
|
+
export interface FormTextBoxInput {
|
|
375
|
+
/**
|
|
376
|
+
* This represents the maximum number of characters allowed. This only
|
|
377
|
+
* applies for string fields. If not supplied, the value is derived from the
|
|
378
|
+
* length property of the referenced field in the service.
|
|
379
|
+
*/
|
|
380
|
+
maxLength?: number;
|
|
381
|
+
/**
|
|
382
|
+
* This represents the minimum number of characters allowed. This only
|
|
383
|
+
* applies for string fields. If not supplied, the value is 0, meaning there
|
|
384
|
+
* is no minimum constraint.
|
|
385
|
+
*/
|
|
386
|
+
minLength?: number;
|
|
387
|
+
/**
|
|
388
|
+
* The input type identifier.
|
|
389
|
+
*/
|
|
390
|
+
type: "text-box";
|
|
391
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
package/portal/GroupLayer.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type EsriGroupLayer from "@arcgis/core/layers/GroupLayer";
|
|
2
2
|
import type Portal from "@arcgis/core/portal/Portal";
|
|
3
3
|
import type { ListMode } from "../support/esri.js";
|
|
4
|
+
import type { FeatureLayer } from "./FeatureLayer.js";
|
|
4
5
|
import type { OperationalLayerBase, OperationalLayer } from "./OperationalLayer.js";
|
|
5
6
|
export declare namespace GroupLayer {
|
|
6
7
|
/**
|
|
@@ -59,6 +60,30 @@ export interface GroupLayer extends OperationalLayerBase {
|
|
|
59
60
|
*/
|
|
60
61
|
visibilityMode?: GroupLayerVisibilityMode;
|
|
61
62
|
}
|
|
63
|
+
/**
|
|
64
|
+
* Subtype group layers can be created by referencing a layer from a feature
|
|
65
|
+
* service that contains subtypes. Each subtype in the feature service layer can
|
|
66
|
+
* be a separate layer in the subtype group layer, and be given its own display
|
|
67
|
+
* and editing properties. With respect to layer blending, subtype group layers
|
|
68
|
+
* follow the same rules as group layers.
|
|
69
|
+
* {@link https://developers.arcgis.com/web-map-specification/objects/subtypeGroupLayer/}.
|
|
70
|
+
*/
|
|
71
|
+
export interface SubtypeGroupLayer extends Omit<GroupLayer, "layerType" | "layers"> {
|
|
72
|
+
/**
|
|
73
|
+
* A sequence of custom parameters appended to the URL of all requests
|
|
74
|
+
* related to supporting ArcGIS layer types.
|
|
75
|
+
*/
|
|
76
|
+
customParameters?: Record<string, unknown>;
|
|
77
|
+
/**
|
|
78
|
+
* String indicating the layer type.
|
|
79
|
+
*/
|
|
80
|
+
layerType: "SubtypeGroupLayer";
|
|
81
|
+
/**
|
|
82
|
+
* An array of feature layers, each describing the properties for a subtype
|
|
83
|
+
* in the feature service layer.
|
|
84
|
+
*/
|
|
85
|
+
layers: FeatureLayer[];
|
|
86
|
+
}
|
|
62
87
|
/**
|
|
63
88
|
* Group layer visibility mode which indicates how visibility of children is
|
|
64
89
|
* affected.
|
|
@@ -72,6 +72,11 @@ export interface ImageServiceLayer extends OperationalLayerBase, BaseMapLayerBas
|
|
|
72
72
|
* algorithm (from image service).
|
|
73
73
|
*/
|
|
74
74
|
compressionQuality?: number;
|
|
75
|
+
/**
|
|
76
|
+
* A sequence of custom parameters appended to the URL of all requests
|
|
77
|
+
* related to supporting ArcGIS layer types.
|
|
78
|
+
*/
|
|
79
|
+
customParameters?: Record<string, unknown>;
|
|
75
80
|
/**
|
|
76
81
|
* Stores interactive filters.
|
|
77
82
|
*/
|
|
@@ -12,6 +12,11 @@ import type { OperationalLayerBase } from "./OperationalLayer.js";
|
|
|
12
12
|
* {@link https://developers.arcgis.com/web-map-specification/objects/imageServiceVectorLayer/}.
|
|
13
13
|
*/
|
|
14
14
|
export interface ImageServiceVectorLayer extends OperationalLayerBase, BaseMapLayerBase {
|
|
15
|
+
/**
|
|
16
|
+
* A sequence of custom parameters appended to the URL of all requests
|
|
17
|
+
* related to supporting ArcGIS layer types.
|
|
18
|
+
*/
|
|
19
|
+
customParameters?: Record<string, unknown>;
|
|
15
20
|
/**
|
|
16
21
|
* Stores interactive filters.
|
|
17
22
|
*/
|
package/portal/Item.d.ts
CHANGED
|
@@ -39,19 +39,14 @@ export interface Item {
|
|
|
39
39
|
*/
|
|
40
40
|
owner?: string;
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* <not in spec>.
|
|
47
|
-
*/
|
|
48
|
-
guid?: string;
|
|
49
|
-
/**
|
|
50
|
-
* <not in spec>.
|
|
42
|
+
* A JSON object that primarily applies to system requirements, Terms and
|
|
43
|
+
* Conditions, version, supported platforms, YouTube video ID, etc
|
|
44
|
+
* associated with the application.
|
|
51
45
|
*/
|
|
52
46
|
properties?: string;
|
|
53
47
|
/**
|
|
54
|
-
*
|
|
48
|
+
* An array that primarily applies to a list of categories that the
|
|
49
|
+
* application item is applicable to.
|
|
55
50
|
*/
|
|
56
51
|
appCategories?: string[];
|
|
57
52
|
/**
|
|
@@ -208,6 +203,38 @@ export interface Item {
|
|
|
208
203
|
* description, title, tags etc.
|
|
209
204
|
*/
|
|
210
205
|
scoreCompleteness?: number;
|
|
206
|
+
/**
|
|
207
|
+
* <not in spec>.
|
|
208
|
+
*/
|
|
209
|
+
orgId?: string;
|
|
210
|
+
/**
|
|
211
|
+
* <not in spec>.
|
|
212
|
+
*/
|
|
213
|
+
isOrgItem?: boolean;
|
|
214
|
+
/**
|
|
215
|
+
* <not in spec>.
|
|
216
|
+
*/
|
|
217
|
+
guid?: string;
|
|
218
|
+
/**
|
|
219
|
+
* <not in spec>.
|
|
220
|
+
*/
|
|
221
|
+
documentation?: unknown;
|
|
222
|
+
/**
|
|
223
|
+
* <not in spec>.
|
|
224
|
+
*/
|
|
225
|
+
advancedSettings?: unknown;
|
|
226
|
+
/**
|
|
227
|
+
* <not in spec>.
|
|
228
|
+
*/
|
|
229
|
+
subInfo?: number;
|
|
230
|
+
/**
|
|
231
|
+
* <not in spec>.
|
|
232
|
+
*/
|
|
233
|
+
groupDesignations?: unknown;
|
|
234
|
+
/**
|
|
235
|
+
* <not in spec>.
|
|
236
|
+
*/
|
|
237
|
+
contentOrigin?: string;
|
|
211
238
|
/**
|
|
212
239
|
* The portal to load the item from.
|
|
213
240
|
*/
|
package/portal/LabelingInfo.d.ts
CHANGED
|
@@ -37,9 +37,14 @@ export interface LabelingInfo {
|
|
|
37
37
|
*/
|
|
38
38
|
labelExpressionInfo?: {
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
40
|
+
* The title of the expression.
|
|
41
41
|
*/
|
|
42
|
-
|
|
42
|
+
title?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Represents a simple template string. This property is deprecated as
|
|
45
|
+
* of version 2.7 of the web map in favor of 'expression'.
|
|
46
|
+
*/
|
|
47
|
+
value?: string;
|
|
43
48
|
/**
|
|
44
49
|
* An Arcade expression evaluating to either a string or a number.
|
|
45
50
|
*/
|
|
@@ -148,11 +148,27 @@ export interface LayerDefinition {
|
|
|
148
148
|
* otherwise intersect with other features on screen.
|
|
149
149
|
*/
|
|
150
150
|
featureReduction?: FeatureReduction;
|
|
151
|
+
/**
|
|
152
|
+
* The layer-specific overrides of field properties. Used by
|
|
153
|
+
* SubtypeGroupLayer to modify field information for each subtype. Any field
|
|
154
|
+
* missing from this array should be hidden.
|
|
155
|
+
*/
|
|
156
|
+
fieldOverrides?: FieldOverride[];
|
|
151
157
|
/**
|
|
152
158
|
* An array of Field objects containing information about the attribute
|
|
153
159
|
* fields for the feature collection or layer.
|
|
154
160
|
*/
|
|
155
161
|
fields?: PortalField[];
|
|
162
|
+
/**
|
|
163
|
+
* Contains floor-awareness information for the layer.
|
|
164
|
+
* {@link https://developers.arcgis.com/web-map-specification/objects/layerFloorInfo/}.
|
|
165
|
+
*/
|
|
166
|
+
floorInfo?: {
|
|
167
|
+
/**
|
|
168
|
+
* The name of the attribute field that contains a floor's level ID used for floor filtering.
|
|
169
|
+
*/
|
|
170
|
+
floorField: string;
|
|
171
|
+
};
|
|
156
172
|
/**
|
|
157
173
|
* The type of geometry used in the layer definition. One of the
|
|
158
174
|
* GeometryType constants.
|
|
@@ -284,6 +300,10 @@ export interface LayerDefinition {
|
|
|
284
300
|
* the types.
|
|
285
301
|
*/
|
|
286
302
|
templates?: Template[];
|
|
303
|
+
/**
|
|
304
|
+
* The time info metadata of the layer. May be set for feature layers inside a feature collection item.
|
|
305
|
+
*/
|
|
306
|
+
timeInfo?: LayerTimeInfo;
|
|
287
307
|
/**
|
|
288
308
|
* Indicates whether the layerDefinition applies to a "Feature Layer" or a
|
|
289
309
|
* "Table".
|
|
@@ -312,6 +332,107 @@ export interface LayerDefinition {
|
|
|
312
332
|
*/
|
|
313
333
|
visibilityField?: string;
|
|
314
334
|
}
|
|
335
|
+
/**
|
|
336
|
+
* Defines overridden properties on a field for a specific view of the data.
|
|
337
|
+
* {@link https://developers.arcgis.com/web-map-specification/objects/fieldOverride/}.
|
|
338
|
+
*/
|
|
339
|
+
export interface FieldOverride {
|
|
340
|
+
/**
|
|
341
|
+
* A string containing the overridden field alias.
|
|
342
|
+
*/
|
|
343
|
+
alias?: string;
|
|
344
|
+
/**
|
|
345
|
+
* A Boolean determining whether users can edit this field.
|
|
346
|
+
*/
|
|
347
|
+
editable?: boolean;
|
|
348
|
+
/**
|
|
349
|
+
* A string containing the field name as defined by the service.
|
|
350
|
+
*/
|
|
351
|
+
name?: string;
|
|
352
|
+
}
|
|
353
|
+
/**
|
|
354
|
+
* Time info if the layer/table supports querying and exporting maps based on time.
|
|
355
|
+
* {@link https://developers.arcgis.com/web-map-specification/objects/layerTimeInfo/}.
|
|
356
|
+
*/
|
|
357
|
+
export interface LayerTimeInfo {
|
|
358
|
+
/**
|
|
359
|
+
* The name of the attribute field that contains the end time information.
|
|
360
|
+
*/
|
|
361
|
+
endTimeField?: string;
|
|
362
|
+
/**
|
|
363
|
+
* The default time-related export options for this layer.
|
|
364
|
+
*/
|
|
365
|
+
exportOptions?: TimeInfoExportOptions;
|
|
366
|
+
/**
|
|
367
|
+
* Indicates whether service has live data.
|
|
368
|
+
*/
|
|
369
|
+
hasLiveData?: boolean;
|
|
370
|
+
/**
|
|
371
|
+
* The name of the attribute field that contains the start time
|
|
372
|
+
* information.
|
|
373
|
+
*/
|
|
374
|
+
startTimeField?: string;
|
|
375
|
+
/**
|
|
376
|
+
* The time extent for all the data in the layer.
|
|
377
|
+
*/
|
|
378
|
+
timeExtent?: [number, number];
|
|
379
|
+
/**
|
|
380
|
+
* Time interval of the data in the layer. Typically used for the TimeSlider
|
|
381
|
+
* when animating the layer.
|
|
382
|
+
*/
|
|
383
|
+
timeInterval?: number;
|
|
384
|
+
/**
|
|
385
|
+
* Temporal unit in which the time interval is measured.
|
|
386
|
+
*/
|
|
387
|
+
timeIntervalUnits?: TemporalUnit;
|
|
388
|
+
/**
|
|
389
|
+
* Defines information about daylight savings time and the time zone in
|
|
390
|
+
* which data was collected.
|
|
391
|
+
* {@link https://developers.arcgis.com/web-map-specification/objects/timeReference/}.
|
|
392
|
+
*/
|
|
393
|
+
timeReference?: {
|
|
394
|
+
/**
|
|
395
|
+
* Indicates whether the time reference takes into account daylight
|
|
396
|
+
* savings time.
|
|
397
|
+
*/
|
|
398
|
+
respectsDaylightSaving: boolean;
|
|
399
|
+
/**
|
|
400
|
+
* The time zone in which the data was captured.
|
|
401
|
+
*/
|
|
402
|
+
timeZone?: string;
|
|
403
|
+
};
|
|
404
|
+
/**
|
|
405
|
+
* The field that contains the trackId.
|
|
406
|
+
*/
|
|
407
|
+
trackIdField: string;
|
|
408
|
+
}
|
|
409
|
+
/**
|
|
410
|
+
* The default time-related export options for a layer.
|
|
411
|
+
* {@link: https://developers.arcgis.com/web-map-specification/objects/timeInfoExportOptions/}.
|
|
412
|
+
*/
|
|
413
|
+
export interface TimeInfoExportOptions {
|
|
414
|
+
/**
|
|
415
|
+
* If true, draw all the features from the beginning of time for that data.
|
|
416
|
+
*/
|
|
417
|
+
timeDataCumulative?: boolean;
|
|
418
|
+
/**
|
|
419
|
+
* Time offset value for this layer so that it can be overlaid on the top
|
|
420
|
+
* of a previous or future time period.
|
|
421
|
+
*/
|
|
422
|
+
timeOffset?: number;
|
|
423
|
+
/**
|
|
424
|
+
* Temporal unit in which the time offset is measured.
|
|
425
|
+
*/
|
|
426
|
+
timeOffsetUnits?: TemporalUnit;
|
|
427
|
+
/**
|
|
428
|
+
* If true, use the time extent specified by the time parameter.
|
|
429
|
+
*/
|
|
430
|
+
useTime?: boolean;
|
|
431
|
+
}
|
|
432
|
+
/**
|
|
433
|
+
* Temporal units in which a time value can be measured.
|
|
434
|
+
*/
|
|
435
|
+
export declare type TemporalUnit = "esriTimeUnitsCenturies" | "esriTimeUnitsDays" | "esriTimeUnitsDecades" | "esriTimeUnitsHours" | "esriTimeUnitsMilliseconds" | "esriTimeUnitsMinutes" | "esriTimeUnitsMonths" | "esriTimeUnitsSeconds" | "esriTimeUnitsUnknown" | "esriTimeUnitsWeeks" | "esriTimeUnitsYears";
|
|
315
436
|
/**
|
|
316
437
|
* The HTML popup type for the LayerDefinition.
|
|
317
438
|
*/
|