@esri/solutions-components 0.4.12 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/buffer-tools_6.cjs.entry.js +6 -9
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +1 -1
- package/dist/cjs/calcite-input-message_5.cjs.entry.js +17 -15
- package/dist/cjs/{downloadUtils-415ab342.js → downloadUtils-b85476e8.js} +2 -2
- package/dist/cjs/{index.es-98008aa0.js → index.es-3ba50626.js} +2 -2
- package/dist/cjs/layer-table.cjs.entry.js +2 -2
- package/dist/cjs/loader.cjs.js +30 -30
- package/dist/cjs/{mapViewUtils-f617ae9a.js → mapViewUtils-df63bfa4.js} +2 -2
- package/dist/cjs/public-notification.cjs.entry.js +112 -4
- package/dist/cjs/solutions-components.cjs.js +31 -31
- package/dist/collection/components/map-draw-tools/map-draw-tools.js +5 -8
- package/dist/collection/components/map-select-tools/map-select-tools.js +74 -14
- package/dist/collection/components/public-notification/public-notification.js +180 -3
- package/dist/collection/utils/queryUtils.js +2 -2
- package/dist/collection/utils/queryUtils.ts +2 -2
- package/dist/components/map-draw-tools2.js +20 -23
- package/dist/components/map-select-tools2.js +55 -50
- package/dist/components/public-notification.js +171 -60
- package/dist/components/queryUtils.js +2 -2
- package/dist/esm/buffer-tools_6.entry.js +6 -9
- package/dist/esm/calcite-combobox_3.entry.js +1 -1
- package/dist/esm/calcite-input-message_5.entry.js +17 -15
- package/dist/esm/{downloadUtils-606b0f0e.js → downloadUtils-f278742f.js} +2 -2
- package/dist/esm/{index.es-c736c805.js → index.es-6f3a1143.js} +2 -2
- package/dist/esm/layer-table.entry.js +2 -2
- package/dist/esm/loader.js +26 -26
- package/dist/esm/{mapViewUtils-4e945e07.js → mapViewUtils-bd1809f0.js} +2 -2
- package/dist/esm/public-notification.entry.js +112 -4
- package/dist/esm/solutions-components.js +26 -26
- package/dist/solutions-components/{p-72117a18.js → p-03e2c6fd.js} +1 -1
- package/dist/solutions-components/{p-5ee7b022.entry.js → p-045d3988.entry.js} +1 -1
- package/dist/solutions-components/{p-6a657ff6.js → p-40c12650.js} +2 -2
- package/dist/solutions-components/p-70e1d4d8.entry.js +17 -0
- package/dist/solutions-components/p-88e5a76d.js +36 -0
- package/dist/solutions-components/p-bc39f296.entry.js +6 -0
- package/dist/solutions-components/{p-84bbaebf.entry.js → p-c93d8e80.entry.js} +1 -1
- package/dist/solutions-components/{p-570b076b.entry.js → p-cbac29fb.entry.js} +2 -2
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/queryUtils.ts +2 -2
- package/dist/types/components/map-select-tools/map-select-tools.d.ts +16 -1
- package/dist/types/components/public-notification/public-notification.d.ts +70 -0
- package/dist/types/components.d.ts +1601 -1553
- package/package.json +1 -1
- package/dist/solutions-components/p-308e24cc.entry.js +0 -6
- package/dist/solutions-components/p-88e28de2.js +0 -36
- package/dist/solutions-components/p-ac76d270.entry.js +0 -17
@@ -1,1553 +1,1601 @@
|
|
1
|
-
/* eslint-disable */
|
2
|
-
/* tslint:disable */
|
3
|
-
/**
|
4
|
-
* This is an autogenerated file created by the Stencil compiler.
|
5
|
-
* It contains typing information for all components that exist in this project.
|
6
|
-
*/
|
7
|
-
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
8
|
-
import { DistanceUnit, EExpandType, ERefineMode, ESelectionMode, ESketchType, EWorkflowType, IInfoCardValues, IInventoryItem, IMapInfo, IMediaCardValues, IRefineSelectionEvent, ISearchConfiguration, ISearchResult, ISelectionSet, ISolutionSpatialReferenceInfo, ISpatialRefRepresentation, IValueChange, SelectionMode } from "./utils/interfaces";
|
9
|
-
import { UserSession } from "@esri/solution-common";
|
10
|
-
export namespace Components {
|
11
|
-
interface AddRecordModal {
|
12
|
-
/**
|
13
|
-
* When true the component is displayed
|
14
|
-
*/
|
15
|
-
"open": boolean;
|
16
|
-
}
|
17
|
-
interface BufferTools {
|
18
|
-
/**
|
19
|
-
* string: The appearance of display. Can be a "slider" or "text" inputs for distance/value
|
20
|
-
*/
|
21
|
-
"appearance": "slider" | "text";
|
22
|
-
/**
|
23
|
-
* number: The distance used for buffer
|
24
|
-
*/
|
25
|
-
"distance": number;
|
26
|
-
/**
|
27
|
-
* esri/geometry/Geometry: https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Geometry.html
|
28
|
-
*/
|
29
|
-
"geometries": __esri.Geometry[];
|
30
|
-
/**
|
31
|
-
* number: The component's maximum selectable value.
|
32
|
-
*/
|
33
|
-
"max": number;
|
34
|
-
/**
|
35
|
-
* number: The component's minimum selectable value.
|
36
|
-
*/
|
37
|
-
"min": number;
|
38
|
-
/**
|
39
|
-
* number: Displays tick marks on the number line at a specified interval.
|
40
|
-
*/
|
41
|
-
"sliderTicks": number;
|
42
|
-
/**
|
43
|
-
* boolean: option to control if buffer results should be unioned
|
44
|
-
*/
|
45
|
-
"unionResults": boolean;
|
46
|
-
/**
|
47
|
-
* DistanceUnit: "feet"|"meters"|"miles"|"kilometers"
|
48
|
-
*/
|
49
|
-
"unit": DistanceUnit;
|
50
|
-
}
|
51
|
-
interface CardManager {
|
52
|
-
}
|
53
|
-
interface CommentCard {
|
54
|
-
}
|
55
|
-
interface CrowdsourceManager {
|
56
|
-
}
|
57
|
-
interface CrowdsourceReporter {
|
58
|
-
}
|
59
|
-
interface DeductCalculator {
|
60
|
-
}
|
61
|
-
interface EditRecordModal {
|
62
|
-
/**
|
63
|
-
* When true the component is displayed
|
64
|
-
*/
|
65
|
-
"open": boolean;
|
66
|
-
}
|
67
|
-
interface InfoCard {
|
68
|
-
/**
|
69
|
-
* string: the components title
|
70
|
-
*/
|
71
|
-
"cardTitle": string;
|
72
|
-
/**
|
73
|
-
* IInfoCardValues: key value pairs to show in the components table
|
74
|
-
*/
|
75
|
-
"values": IInfoCardValues;
|
76
|
-
}
|
77
|
-
interface JsonEditor {
|
78
|
-
/**
|
79
|
-
* Gets the contents of the editor.
|
80
|
-
* @returns Promise resolving with the current contents of the editor
|
81
|
-
*/
|
82
|
-
"getEditorContents": () => Promise<any>;
|
83
|
-
/**
|
84
|
-
* Contains a public value to indicate if the model has any changes.
|
85
|
-
*/
|
86
|
-
"hasChanges": boolean;
|
87
|
-
/**
|
88
|
-
* Contains a public value to indicate if the model has any errors that would prevent saving it.
|
89
|
-
*/
|
90
|
-
"hasErrors": boolean;
|
91
|
-
/**
|
92
|
-
* Contains a unique identifier for when we have multiple instances of the editor. For example when we want to show an item's data as well as an item's properties.
|
93
|
-
*/
|
94
|
-
"instanceid": any;
|
95
|
-
/**
|
96
|
-
* Frees the editor events and memory; to be called when the web component is no longer needed. Because the component lifecycle doesn't include an "onDestroy" event (@see https://stenciljs.com/docs/component-lifecycle#disconnectedcallback) and TypeScript/JavaScript does automatic garbage collection without a callback hook until ES2021 (@see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/FinalizationRegistry), this cleanup call needs to be called manually.
|
97
|
-
*/
|
98
|
-
"prepareForDeletion": () => Promise<void>;
|
99
|
-
/**
|
100
|
-
* Replaces the current selection with the supplied text, inserting if nothing is selected.
|
101
|
-
* @param replacement Text to use for replacement or insertion
|
102
|
-
* @returns Promise resolving when function is done
|
103
|
-
*/
|
104
|
-
"replaceCurrentSelection": (replacement: string) => Promise<any>;
|
105
|
-
/**
|
106
|
-
* Resets the contents of the editor with the current `value`.
|
107
|
-
* @returns Promise resolving when function is done
|
108
|
-
*/
|
109
|
-
"reset": () => Promise<any>;
|
110
|
-
/**
|
111
|
-
* Contains the public value for this component; it is not changed by the editor. When changed, the change overwrites the contents of the editor.
|
112
|
-
*/
|
113
|
-
"value": any;
|
114
|
-
}
|
115
|
-
interface LayerTable {
|
116
|
-
/**
|
117
|
-
* esri/views/View: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
|
118
|
-
*/
|
119
|
-
"mapView": __esri.MapView;
|
120
|
-
}
|
121
|
-
interface ListItem {
|
122
|
-
}
|
123
|
-
interface MapCard {
|
124
|
-
/**
|
125
|
-
* IMapInfo[]: array of map infos (name and id)
|
126
|
-
*/
|
127
|
-
"mapInfos": IMapInfo[];
|
128
|
-
}
|
129
|
-
interface MapDrawTools {
|
130
|
-
/**
|
131
|
-
* boolean: sketch is used by multiple components...need a way to know who should respond...
|
132
|
-
*/
|
133
|
-
"active": boolean;
|
134
|
-
/**
|
135
|
-
* boolean: Optionally draw a border around the draw tools
|
136
|
-
*/
|
137
|
-
"border": boolean;
|
138
|
-
/**
|
139
|
-
* Clears the user drawn graphics
|
140
|
-
* @returns Promise that resolves when the operation is complete
|
141
|
-
*/
|
142
|
-
"clear": () => Promise<void>;
|
143
|
-
/**
|
144
|
-
* esri/Graphic: https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html
|
145
|
-
*/
|
146
|
-
"graphics": __esri.Graphic[];
|
147
|
-
/**
|
148
|
-
* esri/views/View: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
|
149
|
-
*/
|
150
|
-
"mapView": __esri.MapView;
|
151
|
-
/**
|
152
|
-
* esri/symbols/SimpleMarkerSymbol: https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleMarkerSymbol.html
|
153
|
-
*/
|
154
|
-
"pointSymbol": __esri.SimpleMarkerSymbol;
|
155
|
-
/**
|
156
|
-
* esri/symbols/SimpleFillSymbol: https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleFillSymbol.html
|
157
|
-
*/
|
158
|
-
"polygonSymbol": __esri.SimpleFillSymbol;
|
159
|
-
/**
|
160
|
-
* esri/symbols/SimpleLineSymbol: https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleLineSymbol.html
|
161
|
-
*/
|
162
|
-
"polylineSymbol": __esri.SimpleLineSymbol;
|
163
|
-
}
|
164
|
-
interface MapLayerPicker {
|
165
|
-
/**
|
166
|
-
* string[]: Optional list of enabled layer ids If empty all layers will be available
|
167
|
-
*/
|
168
|
-
"enabledLayerIds": string[];
|
169
|
-
/**
|
170
|
-
* esri/views/View: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
|
171
|
-
*/
|
172
|
-
"mapView": __esri.MapView;
|
173
|
-
/**
|
174
|
-
* string[]: list of layer ids that have been selected by the end user
|
175
|
-
*/
|
176
|
-
"selectedLayerIds": string[];
|
177
|
-
/**
|
178
|
-
* SelectionMode: "single" | "multi" Should the component support selection against a single layer or multiple layers.
|
179
|
-
*/
|
180
|
-
"selectionMode": SelectionMode;
|
181
|
-
}
|
182
|
-
interface MapSearch {
|
183
|
-
/**
|
184
|
-
* Clears the state of the search widget
|
185
|
-
* @returns Promise that resolves when the operation is complete
|
186
|
-
*/
|
187
|
-
"clear": () => Promise<void>;
|
188
|
-
/**
|
189
|
-
* esri/views/View: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
|
190
|
-
*/
|
191
|
-
"mapView": __esri.MapView;
|
192
|
-
/**
|
193
|
-
* ISearchConfiguration: Configuration details for the Search widget
|
194
|
-
*/
|
195
|
-
"searchConfiguration": ISearchConfiguration;
|
196
|
-
}
|
197
|
-
interface MapSelectTools {
|
198
|
-
/**
|
199
|
-
* string | number[] | object with r, g, b, a: https://developers.arcgis.com/javascript/latest/api-reference/esri-Color.html
|
200
|
-
*/
|
201
|
-
"bufferColor": any;
|
202
|
-
/**
|
203
|
-
* string | number[] | object with r, g, b, a: https://developers.arcgis.com/javascript/latest/api-reference/esri-Color.html
|
204
|
-
*/
|
205
|
-
"bufferOutlineColor": any;
|
206
|
-
/**
|
207
|
-
* Clear any selection results
|
208
|
-
* @returns Promise when the results have been cleared
|
209
|
-
*/
|
210
|
-
"clearSelection": () => Promise<void>;
|
211
|
-
/**
|
212
|
-
* number: The default value to show for the buffer distance
|
213
|
-
*/
|
214
|
-
"defaultBufferDistance": number;
|
215
|
-
/**
|
216
|
-
* number: The default value to show for the buffer unit
|
217
|
-
*/
|
218
|
-
"defaultBufferUnit": DistanceUnit;
|
219
|
-
/**
|
220
|
-
* string[]: Optional list of enabled layer ids If empty all layers will be available
|
221
|
-
*/
|
222
|
-
"enabledLayerIds": string[];
|
223
|
-
/**
|
224
|
-
* esri/geometry: https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry.html
|
225
|
-
*/
|
226
|
-
"geometries": __esri.Geometry[];
|
227
|
-
/**
|
228
|
-
* Get the new selection set
|
229
|
-
* @returns Promise with the new selection set
|
230
|
-
*/
|
231
|
-
"getSelection": () => Promise<ISelectionSet>;
|
232
|
-
/**
|
233
|
-
* boolean: When true a new label is not generated for the stored selection set
|
234
|
-
*/
|
235
|
-
"isUpdate": boolean;
|
236
|
-
/**
|
237
|
-
* esri/views/View: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
|
238
|
-
*/
|
239
|
-
"mapView": __esri.MapView;
|
240
|
-
/**
|
241
|
-
* ISearchConfiguration: Configuration details for the Search widget
|
242
|
-
*/
|
243
|
-
"searchConfiguration": ISearchConfiguration;
|
244
|
-
/**
|
245
|
-
* esri/views/layers/FeatureLayerView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html
|
246
|
-
*/
|
247
|
-
"selectLayerView": __esri.FeatureLayerView;
|
248
|
-
/**
|
249
|
-
* utils/interfaces/ISelectionSet: Used to store key details about any selections that have been made.
|
250
|
-
*/
|
251
|
-
"selectionSet": ISelectionSet;
|
252
|
-
/**
|
253
|
-
* boolean: When true the buffer tools will be available for use
|
254
|
-
*/
|
255
|
-
"showBufferTools": boolean;
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
/**
|
271
|
-
*
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
*
|
284
|
-
* @
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
*
|
289
|
-
*/
|
290
|
-
"
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
*
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
/**
|
306
|
-
*
|
307
|
-
*/
|
308
|
-
"
|
309
|
-
/**
|
310
|
-
*
|
311
|
-
*/
|
312
|
-
"
|
313
|
-
/**
|
314
|
-
*
|
315
|
-
*/
|
316
|
-
"
|
317
|
-
/**
|
318
|
-
*
|
319
|
-
*/
|
320
|
-
"
|
321
|
-
/**
|
322
|
-
*
|
323
|
-
*/
|
324
|
-
"
|
325
|
-
/**
|
326
|
-
*
|
327
|
-
*/
|
328
|
-
"
|
329
|
-
/**
|
330
|
-
*
|
331
|
-
*/
|
332
|
-
"
|
333
|
-
/**
|
334
|
-
*
|
335
|
-
*/
|
336
|
-
"
|
337
|
-
/**
|
338
|
-
*
|
339
|
-
*/
|
340
|
-
"
|
341
|
-
/**
|
342
|
-
*
|
343
|
-
*/
|
344
|
-
"
|
345
|
-
/**
|
346
|
-
*
|
347
|
-
*/
|
348
|
-
"
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
"
|
353
|
-
/**
|
354
|
-
*
|
355
|
-
*/
|
356
|
-
"
|
357
|
-
/**
|
358
|
-
*
|
359
|
-
*/
|
360
|
-
"
|
361
|
-
/**
|
362
|
-
* esri/
|
363
|
-
*/
|
364
|
-
"
|
365
|
-
/**
|
366
|
-
*
|
367
|
-
*/
|
368
|
-
"
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
*
|
406
|
-
*/
|
407
|
-
"
|
408
|
-
/**
|
409
|
-
*
|
410
|
-
*/
|
411
|
-
"
|
412
|
-
/**
|
413
|
-
*
|
414
|
-
*/
|
415
|
-
"
|
416
|
-
/**
|
417
|
-
*
|
418
|
-
*/
|
419
|
-
"
|
420
|
-
/**
|
421
|
-
*
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
"
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
/**
|
450
|
-
*
|
451
|
-
*/
|
452
|
-
"
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
"
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
/**
|
478
|
-
*
|
479
|
-
*/
|
480
|
-
"
|
481
|
-
}
|
482
|
-
interface
|
483
|
-
/**
|
484
|
-
*
|
485
|
-
*/
|
486
|
-
"
|
487
|
-
/**
|
488
|
-
*
|
489
|
-
*/
|
490
|
-
"
|
491
|
-
/**
|
492
|
-
*
|
493
|
-
*/
|
494
|
-
"
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
*
|
524
|
-
*/
|
525
|
-
"
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
/**
|
535
|
-
*
|
536
|
-
*/
|
537
|
-
"
|
538
|
-
/**
|
539
|
-
*
|
540
|
-
*/
|
541
|
-
"
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
*
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
/**
|
555
|
-
*
|
556
|
-
*/
|
557
|
-
"
|
558
|
-
/**
|
559
|
-
*
|
560
|
-
*/
|
561
|
-
"
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
"
|
587
|
-
/**
|
588
|
-
* Contains
|
589
|
-
*/
|
590
|
-
"
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
}
|
617
|
-
export interface
|
618
|
-
detail: T;
|
619
|
-
target:
|
620
|
-
}
|
621
|
-
export interface
|
622
|
-
detail: T;
|
623
|
-
target:
|
624
|
-
}
|
625
|
-
export interface
|
626
|
-
detail: T;
|
627
|
-
target:
|
628
|
-
}
|
629
|
-
export interface
|
630
|
-
detail: T;
|
631
|
-
target:
|
632
|
-
}
|
633
|
-
export interface
|
634
|
-
detail: T;
|
635
|
-
target:
|
636
|
-
}
|
637
|
-
export interface
|
638
|
-
detail: T;
|
639
|
-
target:
|
640
|
-
}
|
641
|
-
export interface
|
642
|
-
detail: T;
|
643
|
-
target:
|
644
|
-
}
|
645
|
-
export interface
|
646
|
-
detail: T;
|
647
|
-
target:
|
648
|
-
}
|
649
|
-
export interface
|
650
|
-
detail: T;
|
651
|
-
target:
|
652
|
-
}
|
653
|
-
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
|
674
|
-
|
675
|
-
|
676
|
-
|
677
|
-
|
678
|
-
interface
|
679
|
-
}
|
680
|
-
var
|
681
|
-
prototype:
|
682
|
-
new ():
|
683
|
-
};
|
684
|
-
interface
|
685
|
-
}
|
686
|
-
var
|
687
|
-
prototype:
|
688
|
-
new ():
|
689
|
-
};
|
690
|
-
interface
|
691
|
-
}
|
692
|
-
var
|
693
|
-
prototype:
|
694
|
-
new ():
|
695
|
-
};
|
696
|
-
interface
|
697
|
-
}
|
698
|
-
var
|
699
|
-
prototype:
|
700
|
-
new ():
|
701
|
-
};
|
702
|
-
interface
|
703
|
-
}
|
704
|
-
var
|
705
|
-
prototype:
|
706
|
-
new ():
|
707
|
-
};
|
708
|
-
interface
|
709
|
-
}
|
710
|
-
var
|
711
|
-
prototype:
|
712
|
-
new ():
|
713
|
-
};
|
714
|
-
interface
|
715
|
-
}
|
716
|
-
var
|
717
|
-
prototype:
|
718
|
-
new ():
|
719
|
-
};
|
720
|
-
interface
|
721
|
-
}
|
722
|
-
var
|
723
|
-
prototype:
|
724
|
-
new ():
|
725
|
-
};
|
726
|
-
interface
|
727
|
-
}
|
728
|
-
var
|
729
|
-
prototype:
|
730
|
-
new ():
|
731
|
-
};
|
732
|
-
interface
|
733
|
-
}
|
734
|
-
var
|
735
|
-
prototype:
|
736
|
-
new ():
|
737
|
-
};
|
738
|
-
interface
|
739
|
-
}
|
740
|
-
var
|
741
|
-
prototype:
|
742
|
-
new ():
|
743
|
-
};
|
744
|
-
interface
|
745
|
-
}
|
746
|
-
var
|
747
|
-
prototype:
|
748
|
-
new ():
|
749
|
-
};
|
750
|
-
interface
|
751
|
-
}
|
752
|
-
var
|
753
|
-
prototype:
|
754
|
-
new ():
|
755
|
-
};
|
756
|
-
interface
|
757
|
-
}
|
758
|
-
var
|
759
|
-
prototype:
|
760
|
-
new ():
|
761
|
-
};
|
762
|
-
interface
|
763
|
-
}
|
764
|
-
var
|
765
|
-
prototype:
|
766
|
-
new ():
|
767
|
-
};
|
768
|
-
interface
|
769
|
-
}
|
770
|
-
var
|
771
|
-
prototype:
|
772
|
-
new ():
|
773
|
-
};
|
774
|
-
interface
|
775
|
-
}
|
776
|
-
var
|
777
|
-
prototype:
|
778
|
-
new ():
|
779
|
-
};
|
780
|
-
interface
|
781
|
-
}
|
782
|
-
var
|
783
|
-
prototype:
|
784
|
-
new ():
|
785
|
-
};
|
786
|
-
interface
|
787
|
-
}
|
788
|
-
var
|
789
|
-
prototype:
|
790
|
-
new ():
|
791
|
-
};
|
792
|
-
interface
|
793
|
-
}
|
794
|
-
var
|
795
|
-
prototype:
|
796
|
-
new ():
|
797
|
-
};
|
798
|
-
interface
|
799
|
-
}
|
800
|
-
var
|
801
|
-
prototype:
|
802
|
-
new ():
|
803
|
-
};
|
804
|
-
interface
|
805
|
-
}
|
806
|
-
var
|
807
|
-
prototype:
|
808
|
-
new ():
|
809
|
-
};
|
810
|
-
interface
|
811
|
-
}
|
812
|
-
var
|
813
|
-
prototype:
|
814
|
-
new ():
|
815
|
-
};
|
816
|
-
interface
|
817
|
-
}
|
818
|
-
var
|
819
|
-
prototype:
|
820
|
-
new ():
|
821
|
-
};
|
822
|
-
interface
|
823
|
-
}
|
824
|
-
var
|
825
|
-
prototype:
|
826
|
-
new ():
|
827
|
-
};
|
828
|
-
interface
|
829
|
-
}
|
830
|
-
var
|
831
|
-
prototype:
|
832
|
-
new ():
|
833
|
-
};
|
834
|
-
interface
|
835
|
-
}
|
836
|
-
var
|
837
|
-
prototype:
|
838
|
-
new ():
|
839
|
-
};
|
840
|
-
interface
|
841
|
-
}
|
842
|
-
var
|
843
|
-
prototype:
|
844
|
-
new ():
|
845
|
-
};
|
846
|
-
interface
|
847
|
-
}
|
848
|
-
var
|
849
|
-
prototype:
|
850
|
-
new ():
|
851
|
-
};
|
852
|
-
interface
|
853
|
-
}
|
854
|
-
var
|
855
|
-
prototype:
|
856
|
-
new ():
|
857
|
-
};
|
858
|
-
interface
|
859
|
-
}
|
860
|
-
var
|
861
|
-
prototype:
|
862
|
-
new ():
|
863
|
-
};
|
864
|
-
interface
|
865
|
-
|
866
|
-
|
867
|
-
|
868
|
-
|
869
|
-
|
870
|
-
|
871
|
-
|
872
|
-
|
873
|
-
|
874
|
-
|
875
|
-
|
876
|
-
|
877
|
-
|
878
|
-
|
879
|
-
|
880
|
-
|
881
|
-
|
882
|
-
|
883
|
-
|
884
|
-
|
885
|
-
|
886
|
-
|
887
|
-
|
888
|
-
|
889
|
-
"
|
890
|
-
"
|
891
|
-
"
|
892
|
-
"
|
893
|
-
"
|
894
|
-
"
|
895
|
-
"
|
896
|
-
"
|
897
|
-
"
|
898
|
-
"
|
899
|
-
"
|
900
|
-
|
901
|
-
|
902
|
-
|
903
|
-
|
904
|
-
|
905
|
-
|
906
|
-
|
907
|
-
"
|
908
|
-
|
909
|
-
|
910
|
-
|
911
|
-
|
912
|
-
|
913
|
-
"
|
914
|
-
|
915
|
-
|
916
|
-
|
917
|
-
"
|
918
|
-
|
919
|
-
|
920
|
-
|
921
|
-
"
|
922
|
-
|
923
|
-
|
924
|
-
|
925
|
-
|
926
|
-
|
927
|
-
|
928
|
-
|
929
|
-
|
930
|
-
|
931
|
-
|
932
|
-
|
933
|
-
|
934
|
-
/**
|
935
|
-
*
|
936
|
-
*/
|
937
|
-
"
|
938
|
-
/**
|
939
|
-
*
|
940
|
-
*/
|
941
|
-
"
|
942
|
-
/**
|
943
|
-
*
|
944
|
-
*/
|
945
|
-
"
|
946
|
-
/**
|
947
|
-
*
|
948
|
-
*/
|
949
|
-
"
|
950
|
-
/**
|
951
|
-
*
|
952
|
-
*/
|
953
|
-
"
|
954
|
-
|
955
|
-
|
956
|
-
|
957
|
-
|
958
|
-
|
959
|
-
|
960
|
-
|
961
|
-
|
962
|
-
|
963
|
-
|
964
|
-
|
965
|
-
|
966
|
-
|
967
|
-
|
968
|
-
|
969
|
-
|
970
|
-
/**
|
971
|
-
*
|
972
|
-
*/
|
973
|
-
"
|
974
|
-
|
975
|
-
|
976
|
-
|
977
|
-
|
978
|
-
|
979
|
-
|
980
|
-
|
981
|
-
|
982
|
-
|
983
|
-
|
984
|
-
}
|
985
|
-
interface
|
986
|
-
|
987
|
-
|
988
|
-
|
989
|
-
|
990
|
-
|
991
|
-
|
992
|
-
|
993
|
-
|
994
|
-
/**
|
995
|
-
*
|
996
|
-
*/
|
997
|
-
"
|
998
|
-
|
999
|
-
|
1000
|
-
|
1001
|
-
|
1002
|
-
|
1003
|
-
|
1004
|
-
/**
|
1005
|
-
*
|
1006
|
-
*/
|
1007
|
-
"
|
1008
|
-
}
|
1009
|
-
interface
|
1010
|
-
|
1011
|
-
|
1012
|
-
|
1013
|
-
|
1014
|
-
|
1015
|
-
|
1016
|
-
|
1017
|
-
|
1018
|
-
|
1019
|
-
|
1020
|
-
|
1021
|
-
|
1022
|
-
/**
|
1023
|
-
*
|
1024
|
-
*/
|
1025
|
-
"
|
1026
|
-
|
1027
|
-
|
1028
|
-
|
1029
|
-
|
1030
|
-
|
1031
|
-
|
1032
|
-
|
1033
|
-
|
1034
|
-
|
1035
|
-
|
1036
|
-
|
1037
|
-
|
1038
|
-
|
1039
|
-
|
1040
|
-
|
1041
|
-
|
1042
|
-
|
1043
|
-
|
1044
|
-
|
1045
|
-
|
1046
|
-
/**
|
1047
|
-
*
|
1048
|
-
*/
|
1049
|
-
"
|
1050
|
-
/**
|
1051
|
-
*
|
1052
|
-
*/
|
1053
|
-
"
|
1054
|
-
|
1055
|
-
|
1056
|
-
|
1057
|
-
|
1058
|
-
|
1059
|
-
|
1060
|
-
|
1061
|
-
|
1062
|
-
|
1063
|
-
|
1064
|
-
|
1065
|
-
|
1066
|
-
|
1067
|
-
|
1068
|
-
|
1069
|
-
|
1070
|
-
|
1071
|
-
|
1072
|
-
|
1073
|
-
|
1074
|
-
|
1075
|
-
|
1076
|
-
|
1077
|
-
|
1078
|
-
|
1079
|
-
|
1080
|
-
|
1081
|
-
|
1082
|
-
|
1083
|
-
|
1084
|
-
|
1085
|
-
|
1086
|
-
|
1087
|
-
|
1088
|
-
|
1089
|
-
|
1090
|
-
|
1091
|
-
|
1092
|
-
/**
|
1093
|
-
* string
|
1094
|
-
*/
|
1095
|
-
"
|
1096
|
-
/**
|
1097
|
-
*
|
1098
|
-
*/
|
1099
|
-
"
|
1100
|
-
|
1101
|
-
|
1102
|
-
|
1103
|
-
|
1104
|
-
|
1105
|
-
|
1106
|
-
|
1107
|
-
|
1108
|
-
|
1109
|
-
|
1110
|
-
|
1111
|
-
|
1112
|
-
|
1113
|
-
|
1114
|
-
|
1115
|
-
|
1116
|
-
/**
|
1117
|
-
*
|
1118
|
-
*/
|
1119
|
-
"
|
1120
|
-
/**
|
1121
|
-
*
|
1122
|
-
*/
|
1123
|
-
"
|
1124
|
-
/**
|
1125
|
-
*
|
1126
|
-
*/
|
1127
|
-
"
|
1128
|
-
/**
|
1129
|
-
*
|
1130
|
-
*/
|
1131
|
-
"
|
1132
|
-
/**
|
1133
|
-
*
|
1134
|
-
*/
|
1135
|
-
"
|
1136
|
-
/**
|
1137
|
-
*
|
1138
|
-
*/
|
1139
|
-
"
|
1140
|
-
/**
|
1141
|
-
*
|
1142
|
-
*/
|
1143
|
-
"
|
1144
|
-
/**
|
1145
|
-
* esri/views/
|
1146
|
-
*/
|
1147
|
-
"
|
1148
|
-
/**
|
1149
|
-
*
|
1150
|
-
*/
|
1151
|
-
"
|
1152
|
-
/**
|
1153
|
-
*
|
1154
|
-
*/
|
1155
|
-
"
|
1156
|
-
|
1157
|
-
|
1158
|
-
|
1159
|
-
|
1160
|
-
|
1161
|
-
|
1162
|
-
|
1163
|
-
|
1164
|
-
|
1165
|
-
|
1166
|
-
|
1167
|
-
|
1168
|
-
|
1169
|
-
|
1170
|
-
|
1171
|
-
|
1172
|
-
|
1173
|
-
|
1174
|
-
|
1175
|
-
|
1176
|
-
/**
|
1177
|
-
*
|
1178
|
-
*/
|
1179
|
-
"
|
1180
|
-
/**
|
1181
|
-
*
|
1182
|
-
*/
|
1183
|
-
"
|
1184
|
-
/**
|
1185
|
-
*
|
1186
|
-
*/
|
1187
|
-
"
|
1188
|
-
/**
|
1189
|
-
*
|
1190
|
-
*/
|
1191
|
-
"
|
1192
|
-
|
1193
|
-
|
1194
|
-
|
1195
|
-
|
1196
|
-
|
1197
|
-
|
1198
|
-
|
1199
|
-
|
1200
|
-
|
1201
|
-
|
1202
|
-
|
1203
|
-
|
1204
|
-
|
1205
|
-
|
1206
|
-
|
1207
|
-
|
1208
|
-
|
1209
|
-
|
1210
|
-
|
1211
|
-
|
1212
|
-
/**
|
1213
|
-
* string:
|
1214
|
-
*/
|
1215
|
-
"
|
1216
|
-
/**
|
1217
|
-
*
|
1218
|
-
*/
|
1219
|
-
"
|
1220
|
-
/**
|
1221
|
-
*
|
1222
|
-
*/
|
1223
|
-
"
|
1224
|
-
/**
|
1225
|
-
*
|
1226
|
-
*/
|
1227
|
-
"
|
1228
|
-
/**
|
1229
|
-
*
|
1230
|
-
*/
|
1231
|
-
"
|
1232
|
-
/**
|
1233
|
-
*
|
1234
|
-
*/
|
1235
|
-
"
|
1236
|
-
/**
|
1237
|
-
*
|
1238
|
-
*/
|
1239
|
-
"
|
1240
|
-
|
1241
|
-
|
1242
|
-
|
1243
|
-
"
|
1244
|
-
/**
|
1245
|
-
* esri/views/
|
1246
|
-
*/
|
1247
|
-
"
|
1248
|
-
/**
|
1249
|
-
* string
|
1250
|
-
*/
|
1251
|
-
"
|
1252
|
-
/**
|
1253
|
-
*
|
1254
|
-
*/
|
1255
|
-
"
|
1256
|
-
/**
|
1257
|
-
* Emitted on demand when
|
1258
|
-
*/
|
1259
|
-
"
|
1260
|
-
/**
|
1261
|
-
*
|
1262
|
-
*/
|
1263
|
-
"
|
1264
|
-
|
1265
|
-
|
1266
|
-
|
1267
|
-
|
1268
|
-
|
1269
|
-
|
1270
|
-
|
1271
|
-
|
1272
|
-
|
1273
|
-
|
1274
|
-
|
1275
|
-
|
1276
|
-
|
1277
|
-
|
1278
|
-
|
1279
|
-
|
1280
|
-
|
1281
|
-
|
1282
|
-
|
1283
|
-
|
1284
|
-
|
1285
|
-
|
1286
|
-
|
1287
|
-
|
1288
|
-
|
1289
|
-
|
1290
|
-
|
1291
|
-
|
1292
|
-
|
1293
|
-
|
1294
|
-
|
1295
|
-
|
1296
|
-
|
1297
|
-
|
1298
|
-
|
1299
|
-
|
1300
|
-
|
1301
|
-
|
1302
|
-
|
1303
|
-
|
1304
|
-
|
1305
|
-
|
1306
|
-
|
1307
|
-
|
1308
|
-
|
1309
|
-
|
1310
|
-
|
1311
|
-
|
1312
|
-
|
1313
|
-
|
1314
|
-
/**
|
1315
|
-
*
|
1316
|
-
*/
|
1317
|
-
"
|
1318
|
-
/**
|
1319
|
-
*
|
1320
|
-
*/
|
1321
|
-
"
|
1322
|
-
/**
|
1323
|
-
*
|
1324
|
-
*/
|
1325
|
-
"
|
1326
|
-
|
1327
|
-
|
1328
|
-
|
1329
|
-
|
1330
|
-
|
1331
|
-
|
1332
|
-
|
1333
|
-
|
1334
|
-
|
1335
|
-
|
1336
|
-
|
1337
|
-
|
1338
|
-
|
1339
|
-
|
1340
|
-
|
1341
|
-
|
1342
|
-
|
1343
|
-
|
1344
|
-
|
1345
|
-
|
1346
|
-
|
1347
|
-
|
1348
|
-
|
1349
|
-
|
1350
|
-
|
1351
|
-
|
1352
|
-
|
1353
|
-
|
1354
|
-
/**
|
1355
|
-
*
|
1356
|
-
*/
|
1357
|
-
"
|
1358
|
-
/**
|
1359
|
-
*
|
1360
|
-
*/
|
1361
|
-
"
|
1362
|
-
/**
|
1363
|
-
*
|
1364
|
-
*/
|
1365
|
-
"
|
1366
|
-
/**
|
1367
|
-
*
|
1368
|
-
*/
|
1369
|
-
"
|
1370
|
-
|
1371
|
-
|
1372
|
-
|
1373
|
-
|
1374
|
-
|
1375
|
-
|
1376
|
-
|
1377
|
-
|
1378
|
-
|
1379
|
-
|
1380
|
-
|
1381
|
-
|
1382
|
-
|
1383
|
-
|
1384
|
-
|
1385
|
-
|
1386
|
-
|
1387
|
-
|
1388
|
-
|
1389
|
-
|
1390
|
-
|
1391
|
-
|
1392
|
-
/**
|
1393
|
-
*
|
1394
|
-
*/
|
1395
|
-
"
|
1396
|
-
|
1397
|
-
|
1398
|
-
|
1399
|
-
|
1400
|
-
|
1401
|
-
|
1402
|
-
|
1403
|
-
|
1404
|
-
|
1405
|
-
|
1406
|
-
|
1407
|
-
|
1408
|
-
|
1409
|
-
|
1410
|
-
|
1411
|
-
|
1412
|
-
|
1413
|
-
|
1414
|
-
|
1415
|
-
|
1416
|
-
|
1417
|
-
|
1418
|
-
|
1419
|
-
|
1420
|
-
|
1421
|
-
|
1422
|
-
|
1423
|
-
"
|
1424
|
-
|
1425
|
-
|
1426
|
-
|
1427
|
-
|
1428
|
-
|
1429
|
-
|
1430
|
-
|
1431
|
-
|
1432
|
-
|
1433
|
-
|
1434
|
-
/**
|
1435
|
-
*
|
1436
|
-
*/
|
1437
|
-
"
|
1438
|
-
|
1439
|
-
|
1440
|
-
|
1441
|
-
|
1442
|
-
|
1443
|
-
|
1444
|
-
|
1445
|
-
|
1446
|
-
"
|
1447
|
-
/**
|
1448
|
-
*
|
1449
|
-
*/
|
1450
|
-
"
|
1451
|
-
}
|
1452
|
-
interface
|
1453
|
-
|
1454
|
-
|
1455
|
-
|
1456
|
-
|
1457
|
-
|
1458
|
-
|
1459
|
-
|
1460
|
-
|
1461
|
-
|
1462
|
-
|
1463
|
-
|
1464
|
-
|
1465
|
-
|
1466
|
-
|
1467
|
-
|
1468
|
-
|
1469
|
-
|
1470
|
-
|
1471
|
-
|
1472
|
-
|
1473
|
-
|
1474
|
-
|
1475
|
-
"
|
1476
|
-
|
1477
|
-
|
1478
|
-
|
1479
|
-
"
|
1480
|
-
|
1481
|
-
|
1482
|
-
|
1483
|
-
|
1484
|
-
|
1485
|
-
"
|
1486
|
-
|
1487
|
-
|
1488
|
-
|
1489
|
-
"
|
1490
|
-
"
|
1491
|
-
|
1492
|
-
|
1493
|
-
|
1494
|
-
"
|
1495
|
-
|
1496
|
-
|
1497
|
-
|
1498
|
-
"
|
1499
|
-
|
1500
|
-
|
1501
|
-
"
|
1502
|
-
|
1503
|
-
|
1504
|
-
|
1505
|
-
"
|
1506
|
-
|
1507
|
-
|
1508
|
-
|
1509
|
-
|
1510
|
-
|
1511
|
-
|
1512
|
-
|
1513
|
-
|
1514
|
-
|
1515
|
-
|
1516
|
-
|
1517
|
-
|
1518
|
-
|
1519
|
-
|
1520
|
-
|
1521
|
-
|
1522
|
-
|
1523
|
-
|
1524
|
-
|
1525
|
-
|
1526
|
-
|
1527
|
-
|
1528
|
-
|
1529
|
-
|
1530
|
-
|
1531
|
-
|
1532
|
-
|
1533
|
-
|
1534
|
-
|
1535
|
-
|
1536
|
-
|
1537
|
-
|
1538
|
-
|
1539
|
-
|
1540
|
-
|
1541
|
-
|
1542
|
-
|
1543
|
-
|
1544
|
-
|
1545
|
-
|
1546
|
-
|
1547
|
-
|
1548
|
-
|
1549
|
-
|
1550
|
-
|
1551
|
-
|
1552
|
-
|
1553
|
-
|
1
|
+
/* eslint-disable */
|
2
|
+
/* tslint:disable */
|
3
|
+
/**
|
4
|
+
* This is an autogenerated file created by the Stencil compiler.
|
5
|
+
* It contains typing information for all components that exist in this project.
|
6
|
+
*/
|
7
|
+
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
8
|
+
import { DistanceUnit, EExpandType, ERefineMode, ESelectionMode, ESketchType, EWorkflowType, IInfoCardValues, IInventoryItem, IMapInfo, IMediaCardValues, IRefineSelectionEvent, ISearchConfiguration, ISearchResult, ISelectionSet, ISolutionSpatialReferenceInfo, ISpatialRefRepresentation, IValueChange, SelectionMode } from "./utils/interfaces";
|
9
|
+
import { UserSession } from "@esri/solution-common";
|
10
|
+
export namespace Components {
|
11
|
+
interface AddRecordModal {
|
12
|
+
/**
|
13
|
+
* When true the component is displayed
|
14
|
+
*/
|
15
|
+
"open": boolean;
|
16
|
+
}
|
17
|
+
interface BufferTools {
|
18
|
+
/**
|
19
|
+
* string: The appearance of display. Can be a "slider" or "text" inputs for distance/value
|
20
|
+
*/
|
21
|
+
"appearance": "slider" | "text";
|
22
|
+
/**
|
23
|
+
* number: The distance used for buffer
|
24
|
+
*/
|
25
|
+
"distance": number;
|
26
|
+
/**
|
27
|
+
* esri/geometry/Geometry: https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Geometry.html
|
28
|
+
*/
|
29
|
+
"geometries": __esri.Geometry[];
|
30
|
+
/**
|
31
|
+
* number: The component's maximum selectable value.
|
32
|
+
*/
|
33
|
+
"max": number;
|
34
|
+
/**
|
35
|
+
* number: The component's minimum selectable value.
|
36
|
+
*/
|
37
|
+
"min": number;
|
38
|
+
/**
|
39
|
+
* number: Displays tick marks on the number line at a specified interval.
|
40
|
+
*/
|
41
|
+
"sliderTicks": number;
|
42
|
+
/**
|
43
|
+
* boolean: option to control if buffer results should be unioned
|
44
|
+
*/
|
45
|
+
"unionResults": boolean;
|
46
|
+
/**
|
47
|
+
* DistanceUnit: "feet"|"meters"|"miles"|"kilometers"
|
48
|
+
*/
|
49
|
+
"unit": DistanceUnit;
|
50
|
+
}
|
51
|
+
interface CardManager {
|
52
|
+
}
|
53
|
+
interface CommentCard {
|
54
|
+
}
|
55
|
+
interface CrowdsourceManager {
|
56
|
+
}
|
57
|
+
interface CrowdsourceReporter {
|
58
|
+
}
|
59
|
+
interface DeductCalculator {
|
60
|
+
}
|
61
|
+
interface EditRecordModal {
|
62
|
+
/**
|
63
|
+
* When true the component is displayed
|
64
|
+
*/
|
65
|
+
"open": boolean;
|
66
|
+
}
|
67
|
+
interface InfoCard {
|
68
|
+
/**
|
69
|
+
* string: the components title
|
70
|
+
*/
|
71
|
+
"cardTitle": string;
|
72
|
+
/**
|
73
|
+
* IInfoCardValues: key value pairs to show in the components table
|
74
|
+
*/
|
75
|
+
"values": IInfoCardValues;
|
76
|
+
}
|
77
|
+
interface JsonEditor {
|
78
|
+
/**
|
79
|
+
* Gets the contents of the editor.
|
80
|
+
* @returns Promise resolving with the current contents of the editor
|
81
|
+
*/
|
82
|
+
"getEditorContents": () => Promise<any>;
|
83
|
+
/**
|
84
|
+
* Contains a public value to indicate if the model has any changes.
|
85
|
+
*/
|
86
|
+
"hasChanges": boolean;
|
87
|
+
/**
|
88
|
+
* Contains a public value to indicate if the model has any errors that would prevent saving it.
|
89
|
+
*/
|
90
|
+
"hasErrors": boolean;
|
91
|
+
/**
|
92
|
+
* Contains a unique identifier for when we have multiple instances of the editor. For example when we want to show an item's data as well as an item's properties.
|
93
|
+
*/
|
94
|
+
"instanceid": any;
|
95
|
+
/**
|
96
|
+
* Frees the editor events and memory; to be called when the web component is no longer needed. Because the component lifecycle doesn't include an "onDestroy" event (@see https://stenciljs.com/docs/component-lifecycle#disconnectedcallback) and TypeScript/JavaScript does automatic garbage collection without a callback hook until ES2021 (@see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/FinalizationRegistry), this cleanup call needs to be called manually.
|
97
|
+
*/
|
98
|
+
"prepareForDeletion": () => Promise<void>;
|
99
|
+
/**
|
100
|
+
* Replaces the current selection with the supplied text, inserting if nothing is selected.
|
101
|
+
* @param replacement Text to use for replacement or insertion
|
102
|
+
* @returns Promise resolving when function is done
|
103
|
+
*/
|
104
|
+
"replaceCurrentSelection": (replacement: string) => Promise<any>;
|
105
|
+
/**
|
106
|
+
* Resets the contents of the editor with the current `value`.
|
107
|
+
* @returns Promise resolving when function is done
|
108
|
+
*/
|
109
|
+
"reset": () => Promise<any>;
|
110
|
+
/**
|
111
|
+
* Contains the public value for this component; it is not changed by the editor. When changed, the change overwrites the contents of the editor.
|
112
|
+
*/
|
113
|
+
"value": any;
|
114
|
+
}
|
115
|
+
interface LayerTable {
|
116
|
+
/**
|
117
|
+
* esri/views/View: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
|
118
|
+
*/
|
119
|
+
"mapView": __esri.MapView;
|
120
|
+
}
|
121
|
+
interface ListItem {
|
122
|
+
}
|
123
|
+
interface MapCard {
|
124
|
+
/**
|
125
|
+
* IMapInfo[]: array of map infos (name and id)
|
126
|
+
*/
|
127
|
+
"mapInfos": IMapInfo[];
|
128
|
+
}
|
129
|
+
interface MapDrawTools {
|
130
|
+
/**
|
131
|
+
* boolean: sketch is used by multiple components...need a way to know who should respond...
|
132
|
+
*/
|
133
|
+
"active": boolean;
|
134
|
+
/**
|
135
|
+
* boolean: Optionally draw a border around the draw tools
|
136
|
+
*/
|
137
|
+
"border": boolean;
|
138
|
+
/**
|
139
|
+
* Clears the user drawn graphics
|
140
|
+
* @returns Promise that resolves when the operation is complete
|
141
|
+
*/
|
142
|
+
"clear": () => Promise<void>;
|
143
|
+
/**
|
144
|
+
* esri/Graphic: https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html
|
145
|
+
*/
|
146
|
+
"graphics": __esri.Graphic[];
|
147
|
+
/**
|
148
|
+
* esri/views/View: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
|
149
|
+
*/
|
150
|
+
"mapView": __esri.MapView;
|
151
|
+
/**
|
152
|
+
* esri/symbols/SimpleMarkerSymbol: https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleMarkerSymbol.html
|
153
|
+
*/
|
154
|
+
"pointSymbol": __esri.SimpleMarkerSymbol;
|
155
|
+
/**
|
156
|
+
* esri/symbols/SimpleFillSymbol: https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleFillSymbol.html
|
157
|
+
*/
|
158
|
+
"polygonSymbol": __esri.SimpleFillSymbol;
|
159
|
+
/**
|
160
|
+
* esri/symbols/SimpleLineSymbol: https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleLineSymbol.html
|
161
|
+
*/
|
162
|
+
"polylineSymbol": __esri.SimpleLineSymbol;
|
163
|
+
}
|
164
|
+
interface MapLayerPicker {
|
165
|
+
/**
|
166
|
+
* string[]: Optional list of enabled layer ids If empty all layers will be available
|
167
|
+
*/
|
168
|
+
"enabledLayerIds": string[];
|
169
|
+
/**
|
170
|
+
* esri/views/View: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
|
171
|
+
*/
|
172
|
+
"mapView": __esri.MapView;
|
173
|
+
/**
|
174
|
+
* string[]: list of layer ids that have been selected by the end user
|
175
|
+
*/
|
176
|
+
"selectedLayerIds": string[];
|
177
|
+
/**
|
178
|
+
* SelectionMode: "single" | "multi" Should the component support selection against a single layer or multiple layers.
|
179
|
+
*/
|
180
|
+
"selectionMode": SelectionMode;
|
181
|
+
}
|
182
|
+
interface MapSearch {
|
183
|
+
/**
|
184
|
+
* Clears the state of the search widget
|
185
|
+
* @returns Promise that resolves when the operation is complete
|
186
|
+
*/
|
187
|
+
"clear": () => Promise<void>;
|
188
|
+
/**
|
189
|
+
* esri/views/View: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
|
190
|
+
*/
|
191
|
+
"mapView": __esri.MapView;
|
192
|
+
/**
|
193
|
+
* ISearchConfiguration: Configuration details for the Search widget
|
194
|
+
*/
|
195
|
+
"searchConfiguration": ISearchConfiguration;
|
196
|
+
}
|
197
|
+
interface MapSelectTools {
|
198
|
+
/**
|
199
|
+
* string | number[] | object with r, g, b, a: https://developers.arcgis.com/javascript/latest/api-reference/esri-Color.html
|
200
|
+
*/
|
201
|
+
"bufferColor": any;
|
202
|
+
/**
|
203
|
+
* string | number[] | object with r, g, b, a: https://developers.arcgis.com/javascript/latest/api-reference/esri-Color.html
|
204
|
+
*/
|
205
|
+
"bufferOutlineColor": any;
|
206
|
+
/**
|
207
|
+
* Clear any selection results
|
208
|
+
* @returns Promise when the results have been cleared
|
209
|
+
*/
|
210
|
+
"clearSelection": () => Promise<void>;
|
211
|
+
/**
|
212
|
+
* number: The default value to show for the buffer distance
|
213
|
+
*/
|
214
|
+
"defaultBufferDistance": number;
|
215
|
+
/**
|
216
|
+
* number: The default value to show for the buffer unit
|
217
|
+
*/
|
218
|
+
"defaultBufferUnit": DistanceUnit;
|
219
|
+
/**
|
220
|
+
* string[]: Optional list of enabled layer ids If empty all layers will be available
|
221
|
+
*/
|
222
|
+
"enabledLayerIds": string[];
|
223
|
+
/**
|
224
|
+
* esri/geometry: https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry.html
|
225
|
+
*/
|
226
|
+
"geometries": __esri.Geometry[];
|
227
|
+
/**
|
228
|
+
* Get the new selection set
|
229
|
+
* @returns Promise with the new selection set
|
230
|
+
*/
|
231
|
+
"getSelection": () => Promise<ISelectionSet>;
|
232
|
+
/**
|
233
|
+
* boolean: When true a new label is not generated for the stored selection set
|
234
|
+
*/
|
235
|
+
"isUpdate": boolean;
|
236
|
+
/**
|
237
|
+
* esri/views/View: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
|
238
|
+
*/
|
239
|
+
"mapView": __esri.MapView;
|
240
|
+
/**
|
241
|
+
* ISearchConfiguration: Configuration details for the Search widget
|
242
|
+
*/
|
243
|
+
"searchConfiguration": ISearchConfiguration;
|
244
|
+
/**
|
245
|
+
* esri/views/layers/FeatureLayerView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html
|
246
|
+
*/
|
247
|
+
"selectLayerView": __esri.FeatureLayerView;
|
248
|
+
/**
|
249
|
+
* utils/interfaces/ISelectionSet: Used to store key details about any selections that have been made.
|
250
|
+
*/
|
251
|
+
"selectionSet": ISelectionSet;
|
252
|
+
/**
|
253
|
+
* boolean: When true the buffer tools will be available for use
|
254
|
+
*/
|
255
|
+
"showBufferTools": boolean;
|
256
|
+
/**
|
257
|
+
* esri/symbols/SimpleLineSymbol | JSON representation : https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleLineSymbol.html
|
258
|
+
*/
|
259
|
+
"sketchLineSymbol": __esri.SimpleLineSymbol;
|
260
|
+
/**
|
261
|
+
* esri/symbols/SimpleMarkerSymbol | JSON representation: https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleMarkerSymbol.html
|
262
|
+
*/
|
263
|
+
"sketchPointSymbol": __esri.SimpleMarkerSymbol;
|
264
|
+
/**
|
265
|
+
* esri/symbols/SimpleFillSymbol | JSON representation: https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleFillSymbol.html
|
266
|
+
*/
|
267
|
+
"sketchPolygonSymbol": __esri.SimpleFillSymbol;
|
268
|
+
}
|
269
|
+
interface MediaCard {
|
270
|
+
/**
|
271
|
+
* IMediaCardValues[]: Array of objects that contain the name, description, and image to display
|
272
|
+
*/
|
273
|
+
"values": IMediaCardValues[];
|
274
|
+
}
|
275
|
+
interface PciCalculator {
|
276
|
+
}
|
277
|
+
interface PdfDownload {
|
278
|
+
/**
|
279
|
+
* boolean: Controls the enabled/disabled state of download
|
280
|
+
*/
|
281
|
+
"disabled": boolean;
|
282
|
+
/**
|
283
|
+
* Downloads csv of mailing labels for the provided list of ids
|
284
|
+
* @param selectionSetNames Names of the selection sets used to provide ids
|
285
|
+
* @param ids List of ids to download
|
286
|
+
* @param removeDuplicates When true a single label is generated when multiple featues have a shared address value
|
287
|
+
* @param addColumnTitle Indicates if column headings should be included in output
|
288
|
+
* @returns Promise resolving when function is done
|
289
|
+
*/
|
290
|
+
"downloadCSV": (selectionSetNames: string[], ids: number[], removeDuplicates: boolean, addColumnTitle?: boolean) => Promise<void>;
|
291
|
+
/**
|
292
|
+
* Downloads pdf of mailing labels for the provided list of ids
|
293
|
+
* @param selectionSetNames Names of the selection sets used to provide ids
|
294
|
+
* @param ids List of ids to download
|
295
|
+
* @param removeDuplicates When true a single label is generated when multiple featues have a shared address value
|
296
|
+
* @returns Promise resolving when function is done
|
297
|
+
*/
|
298
|
+
"downloadPDF": (selectionSetNames: string[], ids: number[], removeDuplicates: boolean) => Promise<void>;
|
299
|
+
/**
|
300
|
+
* esri/views/layers/FeatureLayerView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html
|
301
|
+
*/
|
302
|
+
"layerView": __esri.FeatureLayerView;
|
303
|
+
}
|
304
|
+
interface PublicNotification {
|
305
|
+
/**
|
306
|
+
* string[]: List of layer ids that should be shown as potential addressee layers
|
307
|
+
*/
|
308
|
+
"addresseeLayerIds": string[];
|
309
|
+
/**
|
310
|
+
* string | number[] | object with r, g, b, a: https://developers.arcgis.com/javascript/latest/api-reference/esri-Color.html
|
311
|
+
*/
|
312
|
+
"bufferColor": any;
|
313
|
+
/**
|
314
|
+
* string | number[] | object with r, g, b, a: https://developers.arcgis.com/javascript/latest/api-reference/esri-Color.html
|
315
|
+
*/
|
316
|
+
"bufferOutlineColor": any;
|
317
|
+
/**
|
318
|
+
* boolean: When true the user can define a name for each notification list
|
319
|
+
*/
|
320
|
+
"customLabelEnabled": boolean;
|
321
|
+
/**
|
322
|
+
* number: The default value to show for the buffer distance
|
323
|
+
*/
|
324
|
+
"defaultBufferDistance": number;
|
325
|
+
/**
|
326
|
+
* number: The default value to show for the buffer unit ("feet"|"meters"|"miles"|"kilometers")
|
327
|
+
*/
|
328
|
+
"defaultBufferUnit": DistanceUnit;
|
329
|
+
/**
|
330
|
+
* The effect that will be applied when featureHighlightEnabled is true esri/layers/support/FeatureEffect: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FeatureEffect.html
|
331
|
+
*/
|
332
|
+
"featureEffect": __esri.FeatureEffect;
|
333
|
+
/**
|
334
|
+
* boolean: When enabled features will be highlighted when their notification list item is clicked.
|
335
|
+
*/
|
336
|
+
"featureHighlightEnabled": boolean;
|
337
|
+
/**
|
338
|
+
* esri/views/View: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
|
339
|
+
*/
|
340
|
+
"mapView": __esri.MapView;
|
341
|
+
/**
|
342
|
+
* string: The value to show for no results when left empty the default text "0 selected features from {layerTitle}" will be shown
|
343
|
+
*/
|
344
|
+
"noResultText": string;
|
345
|
+
/**
|
346
|
+
* ISearchConfiguration: Configuration details for the Search widget
|
347
|
+
*/
|
348
|
+
"searchConfiguration": ISearchConfiguration;
|
349
|
+
/**
|
350
|
+
* string[]: List of layer ids that should be shown as potential selection layers when skectching with "Use layer features" option
|
351
|
+
*/
|
352
|
+
"selectionLayerIds": string[];
|
353
|
+
/**
|
354
|
+
* boolean: When true the refine selection workflow will be included in the UI
|
355
|
+
*/
|
356
|
+
"showRefineSelection": boolean;
|
357
|
+
/**
|
358
|
+
* boolean: When false no buffer distance or unit controls will be exposed
|
359
|
+
*/
|
360
|
+
"showSearchSettings": boolean;
|
361
|
+
/**
|
362
|
+
* esri/symbols/SimpleLineSymbol | JSON representation : https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleLineSymbol.html A JSON representation of the instance in the ArcGIS format. See the ArcGIS REST API documentation for examples of the structure of various input JSON objects. https://developers.arcgis.com/documentation/common-data-types/symbol-objects.htm
|
363
|
+
*/
|
364
|
+
"sketchLineSymbol": __esri.SimpleLineSymbol | any;
|
365
|
+
/**
|
366
|
+
* esri/symbols/SimpleMarkerSymbol | JSON representation: https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleMarkerSymbol.html A JSON representation of the instance in the ArcGIS format. See the ArcGIS REST API documentation for examples of the structure of various input JSON objects. https://developers.arcgis.com/documentation/common-data-types/symbol-objects.htm
|
367
|
+
*/
|
368
|
+
"sketchPointSymbol": __esri.SimpleMarkerSymbol | any;
|
369
|
+
/**
|
370
|
+
* esri/symbols/SimpleFillSymbol | JSON representation: https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleFillSymbol.html A JSON representation of the instance in the ArcGIS format. See the ArcGIS REST API documentation for examples of the structure of various input JSON objects. https://developers.arcgis.com/documentation/common-data-types/symbol-objects.htm
|
371
|
+
*/
|
372
|
+
"sketchPolygonSymbol": __esri.SimpleFillSymbol | any;
|
373
|
+
}
|
374
|
+
interface RefineSelection {
|
375
|
+
"GraphicsLayer": any;
|
376
|
+
"SketchViewModel": any;
|
377
|
+
/**
|
378
|
+
* esri/views/layers/FeatureLayerView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html
|
379
|
+
*/
|
380
|
+
"addresseeLayer": __esri.FeatureLayerView;
|
381
|
+
/**
|
382
|
+
* string[]: Optional list of enabled layer ids If empty all layers will be available
|
383
|
+
*/
|
384
|
+
"enabledLayerIds": string[];
|
385
|
+
/**
|
386
|
+
* esri/views/View: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
|
387
|
+
*/
|
388
|
+
"mapView": __esri.MapView;
|
389
|
+
/**
|
390
|
+
* utils/interfaces/ISelectionSet: An array of user defined selection sets
|
391
|
+
*/
|
392
|
+
"selectionSets": ISelectionSet[];
|
393
|
+
}
|
394
|
+
interface RefineSelectionTools {
|
395
|
+
/**
|
396
|
+
* boolean: sketch is used by multiple components...need a way to know who should respond...
|
397
|
+
*/
|
398
|
+
"active": boolean;
|
399
|
+
/**
|
400
|
+
* boolean: Optionally draw a border around the draw tools
|
401
|
+
*/
|
402
|
+
"border": boolean;
|
403
|
+
/**
|
404
|
+
* Clear current highlight handle
|
405
|
+
* @returns Promise when complete
|
406
|
+
*/
|
407
|
+
"clearHighlight": () => Promise<void>;
|
408
|
+
/**
|
409
|
+
* string[]: Optional list of enabled layer ids If empty all layers will be available
|
410
|
+
*/
|
411
|
+
"enabledLayerIds": string[];
|
412
|
+
/**
|
413
|
+
* esri/Graphic: https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html
|
414
|
+
*/
|
415
|
+
"graphics": __esri.Graphic[];
|
416
|
+
/**
|
417
|
+
* number: The oids of the selected features
|
418
|
+
*/
|
419
|
+
"ids": number[];
|
420
|
+
/**
|
421
|
+
* esri/views/layers/LayerView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html
|
422
|
+
*/
|
423
|
+
"layerView": __esri.FeatureLayerView;
|
424
|
+
/**
|
425
|
+
* esri/views/layers/FeatureLayerView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html
|
426
|
+
*/
|
427
|
+
"layerViews": __esri.FeatureLayerView[];
|
428
|
+
/**
|
429
|
+
* esri/views/View: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
|
430
|
+
*/
|
431
|
+
"mapView": __esri.MapView;
|
432
|
+
/**
|
433
|
+
* utils/interfaces/ESelectionMode: ADD, REMOVE
|
434
|
+
*/
|
435
|
+
"mode": ESelectionMode;
|
436
|
+
/**
|
437
|
+
* utils/interfaces/ERefineMode: ALL, SUBSET
|
438
|
+
*/
|
439
|
+
"refineMode": ERefineMode;
|
440
|
+
/**
|
441
|
+
* utils/interfaces/ISelectionSet: Refine selection set
|
442
|
+
*/
|
443
|
+
"refineSelectionSet": ISelectionSet;
|
444
|
+
/**
|
445
|
+
* Reset the ids collection
|
446
|
+
* @returns Promise when complete
|
447
|
+
*/
|
448
|
+
"reset": () => Promise<void>;
|
449
|
+
/**
|
450
|
+
* boolean: Used to control the visibility of the layer picker
|
451
|
+
*/
|
452
|
+
"useLayerPicker": boolean;
|
453
|
+
}
|
454
|
+
interface SolutionConfiguration {
|
455
|
+
/**
|
456
|
+
* Credentials for requests, which can be a serialized UserSession
|
457
|
+
*/
|
458
|
+
"authentication": UserSession;
|
459
|
+
"getSpatialReferenceInfo": () => Promise<ISolutionSpatialReferenceInfo>;
|
460
|
+
"saveSolution": () => Promise<void>;
|
461
|
+
"serializedAuthentication": string;
|
462
|
+
/**
|
463
|
+
* Used to show/hide loading indicator
|
464
|
+
*/
|
465
|
+
"showLoading": boolean;
|
466
|
+
/**
|
467
|
+
* Contains the current solution item id
|
468
|
+
*/
|
469
|
+
"solutionItemId": string;
|
470
|
+
"unloadSolution": () => Promise<void>;
|
471
|
+
}
|
472
|
+
interface SolutionContents {
|
473
|
+
/**
|
474
|
+
* Contains the current item that is selected.
|
475
|
+
*/
|
476
|
+
"selectedItemId": string;
|
477
|
+
/**
|
478
|
+
* Contains the public value for this component.
|
479
|
+
*/
|
480
|
+
"templateHierarchy": IInventoryItem[];
|
481
|
+
}
|
482
|
+
interface SolutionItem {
|
483
|
+
/**
|
484
|
+
* Credentials for requests
|
485
|
+
*/
|
486
|
+
"authentication": UserSession;
|
487
|
+
/**
|
488
|
+
* A template's itemId.
|
489
|
+
*/
|
490
|
+
"itemId": string;
|
491
|
+
/**
|
492
|
+
* Contains the organization based variables
|
493
|
+
*/
|
494
|
+
"organizationVariables": string;
|
495
|
+
/**
|
496
|
+
* Contains the solution based variables
|
497
|
+
*/
|
498
|
+
"solutionVariables": string;
|
499
|
+
}
|
500
|
+
interface SolutionItemDetails {
|
501
|
+
/**
|
502
|
+
* A template's itemId.
|
503
|
+
*/
|
504
|
+
"itemId": string;
|
505
|
+
}
|
506
|
+
interface SolutionItemIcon {
|
507
|
+
/**
|
508
|
+
* Indicate if this is portal
|
509
|
+
*/
|
510
|
+
"isPortal": boolean;
|
511
|
+
/**
|
512
|
+
* The type for the item
|
513
|
+
*/
|
514
|
+
"type": string;
|
515
|
+
/**
|
516
|
+
* The typeKeywords for the item
|
517
|
+
*/
|
518
|
+
"typeKeywords": string[];
|
519
|
+
}
|
520
|
+
interface SolutionItemSharing {
|
521
|
+
"getShareInfo": () => Promise<any>;
|
522
|
+
/**
|
523
|
+
* A template's groupId.
|
524
|
+
*/
|
525
|
+
"groupId": string;
|
526
|
+
}
|
527
|
+
interface SolutionOrganizationVariables {
|
528
|
+
/**
|
529
|
+
* Contains the public value for this component.
|
530
|
+
*/
|
531
|
+
"value": string;
|
532
|
+
}
|
533
|
+
interface SolutionResourceItem {
|
534
|
+
/**
|
535
|
+
* Credentials for requests
|
536
|
+
*/
|
537
|
+
"authentication": UserSession;
|
538
|
+
/**
|
539
|
+
* A template's itemId. This is used to get the correct model from a store in the json-editor
|
540
|
+
*/
|
541
|
+
"itemId": string;
|
542
|
+
}
|
543
|
+
interface SolutionSpatialRef {
|
544
|
+
/**
|
545
|
+
* Returns the spatial reference description of the supplied value. (Exposes protected method `_createSpatialRefDisplay` for testing.)
|
546
|
+
* @param value WKID or WKT or null for default
|
547
|
+
* @returns If component is using a WKID, description using WKID; otherwise, the WKT; defaults to 102100
|
548
|
+
*/
|
549
|
+
"createSpatialRefDisplay": (value: string) => Promise<ISpatialRefRepresentation>;
|
550
|
+
/**
|
551
|
+
* The wkid that will be used as the default when no user selection has been made.
|
552
|
+
*/
|
553
|
+
"defaultWkid": number;
|
554
|
+
/**
|
555
|
+
* Returns the current spatial reference description. (Exposes protected variable `spatialRef` for testing.)
|
556
|
+
*/
|
557
|
+
"getSpatialRef": () => Promise<ISpatialRefRepresentation>;
|
558
|
+
/**
|
559
|
+
* When true, all but the main switch are disabled to prevent interaction.
|
560
|
+
*/
|
561
|
+
"locked": boolean;
|
562
|
+
/**
|
563
|
+
* List of service names the spatial reference should apply to
|
564
|
+
*/
|
565
|
+
"services": string[];
|
566
|
+
/**
|
567
|
+
* Contains the public value for this component, which is a wkid or a wkt.
|
568
|
+
*/
|
569
|
+
"value": string;
|
570
|
+
/**
|
571
|
+
* Converts a WKID into a spatial reference description. (Exposes protected method `_wkidToDisplay` for testing.)
|
572
|
+
* @param wkid WKID to look up
|
573
|
+
* @returns Description, or "WKID <wkid>" if a description doesn't exist for the WKID
|
574
|
+
*/
|
575
|
+
"wkidToDisplay": (wkid: number) => Promise<string>;
|
576
|
+
}
|
577
|
+
interface SolutionTemplateData {
|
578
|
+
/**
|
579
|
+
* This needs to be unique for props vs data of an item
|
580
|
+
*/
|
581
|
+
"instanceid": string;
|
582
|
+
/**
|
583
|
+
* A template's itemId. This is used to get the correct model from a store in the json-editor
|
584
|
+
*/
|
585
|
+
"itemId": string;
|
586
|
+
"organizationVariables": string;
|
587
|
+
/**
|
588
|
+
* Contains the solution based variables
|
589
|
+
*/
|
590
|
+
"solutionVariables": string;
|
591
|
+
/**
|
592
|
+
* Used to show/hide the variable containers
|
593
|
+
*/
|
594
|
+
"varsOpen": boolean;
|
595
|
+
}
|
596
|
+
interface SolutionVariables {
|
597
|
+
/**
|
598
|
+
* Contains the public value for this component.
|
599
|
+
*/
|
600
|
+
"value": string;
|
601
|
+
}
|
602
|
+
interface StoreManager {
|
603
|
+
/**
|
604
|
+
* Credentials for requests
|
605
|
+
*/
|
606
|
+
"authentication": UserSession;
|
607
|
+
/**
|
608
|
+
* Templates for the current solution
|
609
|
+
*/
|
610
|
+
"templates": any[];
|
611
|
+
/**
|
612
|
+
* Contains source json as a string
|
613
|
+
*/
|
614
|
+
"value": string;
|
615
|
+
}
|
616
|
+
}
|
617
|
+
export interface BufferToolsCustomEvent<T> extends CustomEvent<T> {
|
618
|
+
detail: T;
|
619
|
+
target: HTMLBufferToolsElement;
|
620
|
+
}
|
621
|
+
export interface DeductCalculatorCustomEvent<T> extends CustomEvent<T> {
|
622
|
+
detail: T;
|
623
|
+
target: HTMLDeductCalculatorElement;
|
624
|
+
}
|
625
|
+
export interface MapCardCustomEvent<T> extends CustomEvent<T> {
|
626
|
+
detail: T;
|
627
|
+
target: HTMLMapCardElement;
|
628
|
+
}
|
629
|
+
export interface MapDrawToolsCustomEvent<T> extends CustomEvent<T> {
|
630
|
+
detail: T;
|
631
|
+
target: HTMLMapDrawToolsElement;
|
632
|
+
}
|
633
|
+
export interface MapLayerPickerCustomEvent<T> extends CustomEvent<T> {
|
634
|
+
detail: T;
|
635
|
+
target: HTMLMapLayerPickerElement;
|
636
|
+
}
|
637
|
+
export interface MapSearchCustomEvent<T> extends CustomEvent<T> {
|
638
|
+
detail: T;
|
639
|
+
target: HTMLMapSearchElement;
|
640
|
+
}
|
641
|
+
export interface MapSelectToolsCustomEvent<T> extends CustomEvent<T> {
|
642
|
+
detail: T;
|
643
|
+
target: HTMLMapSelectToolsElement;
|
644
|
+
}
|
645
|
+
export interface PublicNotificationCustomEvent<T> extends CustomEvent<T> {
|
646
|
+
detail: T;
|
647
|
+
target: HTMLPublicNotificationElement;
|
648
|
+
}
|
649
|
+
export interface RefineSelectionCustomEvent<T> extends CustomEvent<T> {
|
650
|
+
detail: T;
|
651
|
+
target: HTMLRefineSelectionElement;
|
652
|
+
}
|
653
|
+
export interface RefineSelectionToolsCustomEvent<T> extends CustomEvent<T> {
|
654
|
+
detail: T;
|
655
|
+
target: HTMLRefineSelectionToolsElement;
|
656
|
+
}
|
657
|
+
export interface SolutionContentsCustomEvent<T> extends CustomEvent<T> {
|
658
|
+
detail: T;
|
659
|
+
target: HTMLSolutionContentsElement;
|
660
|
+
}
|
661
|
+
export interface SolutionOrganizationVariablesCustomEvent<T> extends CustomEvent<T> {
|
662
|
+
detail: T;
|
663
|
+
target: HTMLSolutionOrganizationVariablesElement;
|
664
|
+
}
|
665
|
+
export interface SolutionSpatialRefCustomEvent<T> extends CustomEvent<T> {
|
666
|
+
detail: T;
|
667
|
+
target: HTMLSolutionSpatialRefElement;
|
668
|
+
}
|
669
|
+
export interface SolutionVariablesCustomEvent<T> extends CustomEvent<T> {
|
670
|
+
detail: T;
|
671
|
+
target: HTMLSolutionVariablesElement;
|
672
|
+
}
|
673
|
+
export interface StoreManagerCustomEvent<T> extends CustomEvent<T> {
|
674
|
+
detail: T;
|
675
|
+
target: HTMLStoreManagerElement;
|
676
|
+
}
|
677
|
+
declare global {
|
678
|
+
interface HTMLAddRecordModalElement extends Components.AddRecordModal, HTMLStencilElement {
|
679
|
+
}
|
680
|
+
var HTMLAddRecordModalElement: {
|
681
|
+
prototype: HTMLAddRecordModalElement;
|
682
|
+
new (): HTMLAddRecordModalElement;
|
683
|
+
};
|
684
|
+
interface HTMLBufferToolsElement extends Components.BufferTools, HTMLStencilElement {
|
685
|
+
}
|
686
|
+
var HTMLBufferToolsElement: {
|
687
|
+
prototype: HTMLBufferToolsElement;
|
688
|
+
new (): HTMLBufferToolsElement;
|
689
|
+
};
|
690
|
+
interface HTMLCardManagerElement extends Components.CardManager, HTMLStencilElement {
|
691
|
+
}
|
692
|
+
var HTMLCardManagerElement: {
|
693
|
+
prototype: HTMLCardManagerElement;
|
694
|
+
new (): HTMLCardManagerElement;
|
695
|
+
};
|
696
|
+
interface HTMLCommentCardElement extends Components.CommentCard, HTMLStencilElement {
|
697
|
+
}
|
698
|
+
var HTMLCommentCardElement: {
|
699
|
+
prototype: HTMLCommentCardElement;
|
700
|
+
new (): HTMLCommentCardElement;
|
701
|
+
};
|
702
|
+
interface HTMLCrowdsourceManagerElement extends Components.CrowdsourceManager, HTMLStencilElement {
|
703
|
+
}
|
704
|
+
var HTMLCrowdsourceManagerElement: {
|
705
|
+
prototype: HTMLCrowdsourceManagerElement;
|
706
|
+
new (): HTMLCrowdsourceManagerElement;
|
707
|
+
};
|
708
|
+
interface HTMLCrowdsourceReporterElement extends Components.CrowdsourceReporter, HTMLStencilElement {
|
709
|
+
}
|
710
|
+
var HTMLCrowdsourceReporterElement: {
|
711
|
+
prototype: HTMLCrowdsourceReporterElement;
|
712
|
+
new (): HTMLCrowdsourceReporterElement;
|
713
|
+
};
|
714
|
+
interface HTMLDeductCalculatorElement extends Components.DeductCalculator, HTMLStencilElement {
|
715
|
+
}
|
716
|
+
var HTMLDeductCalculatorElement: {
|
717
|
+
prototype: HTMLDeductCalculatorElement;
|
718
|
+
new (): HTMLDeductCalculatorElement;
|
719
|
+
};
|
720
|
+
interface HTMLEditRecordModalElement extends Components.EditRecordModal, HTMLStencilElement {
|
721
|
+
}
|
722
|
+
var HTMLEditRecordModalElement: {
|
723
|
+
prototype: HTMLEditRecordModalElement;
|
724
|
+
new (): HTMLEditRecordModalElement;
|
725
|
+
};
|
726
|
+
interface HTMLInfoCardElement extends Components.InfoCard, HTMLStencilElement {
|
727
|
+
}
|
728
|
+
var HTMLInfoCardElement: {
|
729
|
+
prototype: HTMLInfoCardElement;
|
730
|
+
new (): HTMLInfoCardElement;
|
731
|
+
};
|
732
|
+
interface HTMLJsonEditorElement extends Components.JsonEditor, HTMLStencilElement {
|
733
|
+
}
|
734
|
+
var HTMLJsonEditorElement: {
|
735
|
+
prototype: HTMLJsonEditorElement;
|
736
|
+
new (): HTMLJsonEditorElement;
|
737
|
+
};
|
738
|
+
interface HTMLLayerTableElement extends Components.LayerTable, HTMLStencilElement {
|
739
|
+
}
|
740
|
+
var HTMLLayerTableElement: {
|
741
|
+
prototype: HTMLLayerTableElement;
|
742
|
+
new (): HTMLLayerTableElement;
|
743
|
+
};
|
744
|
+
interface HTMLListItemElement extends Components.ListItem, HTMLStencilElement {
|
745
|
+
}
|
746
|
+
var HTMLListItemElement: {
|
747
|
+
prototype: HTMLListItemElement;
|
748
|
+
new (): HTMLListItemElement;
|
749
|
+
};
|
750
|
+
interface HTMLMapCardElement extends Components.MapCard, HTMLStencilElement {
|
751
|
+
}
|
752
|
+
var HTMLMapCardElement: {
|
753
|
+
prototype: HTMLMapCardElement;
|
754
|
+
new (): HTMLMapCardElement;
|
755
|
+
};
|
756
|
+
interface HTMLMapDrawToolsElement extends Components.MapDrawTools, HTMLStencilElement {
|
757
|
+
}
|
758
|
+
var HTMLMapDrawToolsElement: {
|
759
|
+
prototype: HTMLMapDrawToolsElement;
|
760
|
+
new (): HTMLMapDrawToolsElement;
|
761
|
+
};
|
762
|
+
interface HTMLMapLayerPickerElement extends Components.MapLayerPicker, HTMLStencilElement {
|
763
|
+
}
|
764
|
+
var HTMLMapLayerPickerElement: {
|
765
|
+
prototype: HTMLMapLayerPickerElement;
|
766
|
+
new (): HTMLMapLayerPickerElement;
|
767
|
+
};
|
768
|
+
interface HTMLMapSearchElement extends Components.MapSearch, HTMLStencilElement {
|
769
|
+
}
|
770
|
+
var HTMLMapSearchElement: {
|
771
|
+
prototype: HTMLMapSearchElement;
|
772
|
+
new (): HTMLMapSearchElement;
|
773
|
+
};
|
774
|
+
interface HTMLMapSelectToolsElement extends Components.MapSelectTools, HTMLStencilElement {
|
775
|
+
}
|
776
|
+
var HTMLMapSelectToolsElement: {
|
777
|
+
prototype: HTMLMapSelectToolsElement;
|
778
|
+
new (): HTMLMapSelectToolsElement;
|
779
|
+
};
|
780
|
+
interface HTMLMediaCardElement extends Components.MediaCard, HTMLStencilElement {
|
781
|
+
}
|
782
|
+
var HTMLMediaCardElement: {
|
783
|
+
prototype: HTMLMediaCardElement;
|
784
|
+
new (): HTMLMediaCardElement;
|
785
|
+
};
|
786
|
+
interface HTMLPciCalculatorElement extends Components.PciCalculator, HTMLStencilElement {
|
787
|
+
}
|
788
|
+
var HTMLPciCalculatorElement: {
|
789
|
+
prototype: HTMLPciCalculatorElement;
|
790
|
+
new (): HTMLPciCalculatorElement;
|
791
|
+
};
|
792
|
+
interface HTMLPdfDownloadElement extends Components.PdfDownload, HTMLStencilElement {
|
793
|
+
}
|
794
|
+
var HTMLPdfDownloadElement: {
|
795
|
+
prototype: HTMLPdfDownloadElement;
|
796
|
+
new (): HTMLPdfDownloadElement;
|
797
|
+
};
|
798
|
+
interface HTMLPublicNotificationElement extends Components.PublicNotification, HTMLStencilElement {
|
799
|
+
}
|
800
|
+
var HTMLPublicNotificationElement: {
|
801
|
+
prototype: HTMLPublicNotificationElement;
|
802
|
+
new (): HTMLPublicNotificationElement;
|
803
|
+
};
|
804
|
+
interface HTMLRefineSelectionElement extends Components.RefineSelection, HTMLStencilElement {
|
805
|
+
}
|
806
|
+
var HTMLRefineSelectionElement: {
|
807
|
+
prototype: HTMLRefineSelectionElement;
|
808
|
+
new (): HTMLRefineSelectionElement;
|
809
|
+
};
|
810
|
+
interface HTMLRefineSelectionToolsElement extends Components.RefineSelectionTools, HTMLStencilElement {
|
811
|
+
}
|
812
|
+
var HTMLRefineSelectionToolsElement: {
|
813
|
+
prototype: HTMLRefineSelectionToolsElement;
|
814
|
+
new (): HTMLRefineSelectionToolsElement;
|
815
|
+
};
|
816
|
+
interface HTMLSolutionConfigurationElement extends Components.SolutionConfiguration, HTMLStencilElement {
|
817
|
+
}
|
818
|
+
var HTMLSolutionConfigurationElement: {
|
819
|
+
prototype: HTMLSolutionConfigurationElement;
|
820
|
+
new (): HTMLSolutionConfigurationElement;
|
821
|
+
};
|
822
|
+
interface HTMLSolutionContentsElement extends Components.SolutionContents, HTMLStencilElement {
|
823
|
+
}
|
824
|
+
var HTMLSolutionContentsElement: {
|
825
|
+
prototype: HTMLSolutionContentsElement;
|
826
|
+
new (): HTMLSolutionContentsElement;
|
827
|
+
};
|
828
|
+
interface HTMLSolutionItemElement extends Components.SolutionItem, HTMLStencilElement {
|
829
|
+
}
|
830
|
+
var HTMLSolutionItemElement: {
|
831
|
+
prototype: HTMLSolutionItemElement;
|
832
|
+
new (): HTMLSolutionItemElement;
|
833
|
+
};
|
834
|
+
interface HTMLSolutionItemDetailsElement extends Components.SolutionItemDetails, HTMLStencilElement {
|
835
|
+
}
|
836
|
+
var HTMLSolutionItemDetailsElement: {
|
837
|
+
prototype: HTMLSolutionItemDetailsElement;
|
838
|
+
new (): HTMLSolutionItemDetailsElement;
|
839
|
+
};
|
840
|
+
interface HTMLSolutionItemIconElement extends Components.SolutionItemIcon, HTMLStencilElement {
|
841
|
+
}
|
842
|
+
var HTMLSolutionItemIconElement: {
|
843
|
+
prototype: HTMLSolutionItemIconElement;
|
844
|
+
new (): HTMLSolutionItemIconElement;
|
845
|
+
};
|
846
|
+
interface HTMLSolutionItemSharingElement extends Components.SolutionItemSharing, HTMLStencilElement {
|
847
|
+
}
|
848
|
+
var HTMLSolutionItemSharingElement: {
|
849
|
+
prototype: HTMLSolutionItemSharingElement;
|
850
|
+
new (): HTMLSolutionItemSharingElement;
|
851
|
+
};
|
852
|
+
interface HTMLSolutionOrganizationVariablesElement extends Components.SolutionOrganizationVariables, HTMLStencilElement {
|
853
|
+
}
|
854
|
+
var HTMLSolutionOrganizationVariablesElement: {
|
855
|
+
prototype: HTMLSolutionOrganizationVariablesElement;
|
856
|
+
new (): HTMLSolutionOrganizationVariablesElement;
|
857
|
+
};
|
858
|
+
interface HTMLSolutionResourceItemElement extends Components.SolutionResourceItem, HTMLStencilElement {
|
859
|
+
}
|
860
|
+
var HTMLSolutionResourceItemElement: {
|
861
|
+
prototype: HTMLSolutionResourceItemElement;
|
862
|
+
new (): HTMLSolutionResourceItemElement;
|
863
|
+
};
|
864
|
+
interface HTMLSolutionSpatialRefElement extends Components.SolutionSpatialRef, HTMLStencilElement {
|
865
|
+
}
|
866
|
+
var HTMLSolutionSpatialRefElement: {
|
867
|
+
prototype: HTMLSolutionSpatialRefElement;
|
868
|
+
new (): HTMLSolutionSpatialRefElement;
|
869
|
+
};
|
870
|
+
interface HTMLSolutionTemplateDataElement extends Components.SolutionTemplateData, HTMLStencilElement {
|
871
|
+
}
|
872
|
+
var HTMLSolutionTemplateDataElement: {
|
873
|
+
prototype: HTMLSolutionTemplateDataElement;
|
874
|
+
new (): HTMLSolutionTemplateDataElement;
|
875
|
+
};
|
876
|
+
interface HTMLSolutionVariablesElement extends Components.SolutionVariables, HTMLStencilElement {
|
877
|
+
}
|
878
|
+
var HTMLSolutionVariablesElement: {
|
879
|
+
prototype: HTMLSolutionVariablesElement;
|
880
|
+
new (): HTMLSolutionVariablesElement;
|
881
|
+
};
|
882
|
+
interface HTMLStoreManagerElement extends Components.StoreManager, HTMLStencilElement {
|
883
|
+
}
|
884
|
+
var HTMLStoreManagerElement: {
|
885
|
+
prototype: HTMLStoreManagerElement;
|
886
|
+
new (): HTMLStoreManagerElement;
|
887
|
+
};
|
888
|
+
interface HTMLElementTagNameMap {
|
889
|
+
"add-record-modal": HTMLAddRecordModalElement;
|
890
|
+
"buffer-tools": HTMLBufferToolsElement;
|
891
|
+
"card-manager": HTMLCardManagerElement;
|
892
|
+
"comment-card": HTMLCommentCardElement;
|
893
|
+
"crowdsource-manager": HTMLCrowdsourceManagerElement;
|
894
|
+
"crowdsource-reporter": HTMLCrowdsourceReporterElement;
|
895
|
+
"deduct-calculator": HTMLDeductCalculatorElement;
|
896
|
+
"edit-record-modal": HTMLEditRecordModalElement;
|
897
|
+
"info-card": HTMLInfoCardElement;
|
898
|
+
"json-editor": HTMLJsonEditorElement;
|
899
|
+
"layer-table": HTMLLayerTableElement;
|
900
|
+
"list-item": HTMLListItemElement;
|
901
|
+
"map-card": HTMLMapCardElement;
|
902
|
+
"map-draw-tools": HTMLMapDrawToolsElement;
|
903
|
+
"map-layer-picker": HTMLMapLayerPickerElement;
|
904
|
+
"map-search": HTMLMapSearchElement;
|
905
|
+
"map-select-tools": HTMLMapSelectToolsElement;
|
906
|
+
"media-card": HTMLMediaCardElement;
|
907
|
+
"pci-calculator": HTMLPciCalculatorElement;
|
908
|
+
"pdf-download": HTMLPdfDownloadElement;
|
909
|
+
"public-notification": HTMLPublicNotificationElement;
|
910
|
+
"refine-selection": HTMLRefineSelectionElement;
|
911
|
+
"refine-selection-tools": HTMLRefineSelectionToolsElement;
|
912
|
+
"solution-configuration": HTMLSolutionConfigurationElement;
|
913
|
+
"solution-contents": HTMLSolutionContentsElement;
|
914
|
+
"solution-item": HTMLSolutionItemElement;
|
915
|
+
"solution-item-details": HTMLSolutionItemDetailsElement;
|
916
|
+
"solution-item-icon": HTMLSolutionItemIconElement;
|
917
|
+
"solution-item-sharing": HTMLSolutionItemSharingElement;
|
918
|
+
"solution-organization-variables": HTMLSolutionOrganizationVariablesElement;
|
919
|
+
"solution-resource-item": HTMLSolutionResourceItemElement;
|
920
|
+
"solution-spatial-ref": HTMLSolutionSpatialRefElement;
|
921
|
+
"solution-template-data": HTMLSolutionTemplateDataElement;
|
922
|
+
"solution-variables": HTMLSolutionVariablesElement;
|
923
|
+
"store-manager": HTMLStoreManagerElement;
|
924
|
+
}
|
925
|
+
}
|
926
|
+
declare namespace LocalJSX {
|
927
|
+
interface AddRecordModal {
|
928
|
+
/**
|
929
|
+
* When true the component is displayed
|
930
|
+
*/
|
931
|
+
"open"?: boolean;
|
932
|
+
}
|
933
|
+
interface BufferTools {
|
934
|
+
/**
|
935
|
+
* string: The appearance of display. Can be a "slider" or "text" inputs for distance/value
|
936
|
+
*/
|
937
|
+
"appearance"?: "slider" | "text";
|
938
|
+
/**
|
939
|
+
* number: The distance used for buffer
|
940
|
+
*/
|
941
|
+
"distance"?: number;
|
942
|
+
/**
|
943
|
+
* esri/geometry/Geometry: https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Geometry.html
|
944
|
+
*/
|
945
|
+
"geometries"?: __esri.Geometry[];
|
946
|
+
/**
|
947
|
+
* number: The component's maximum selectable value.
|
948
|
+
*/
|
949
|
+
"max"?: number;
|
950
|
+
/**
|
951
|
+
* number: The component's minimum selectable value.
|
952
|
+
*/
|
953
|
+
"min"?: number;
|
954
|
+
/**
|
955
|
+
* Emitted on demand when a buffer is generated.
|
956
|
+
*/
|
957
|
+
"onBufferComplete"?: (event: BufferToolsCustomEvent<__esri.Polygon | __esri.Polygon[]>) => void;
|
958
|
+
/**
|
959
|
+
* Emitted on demand when the distance value changes
|
960
|
+
*/
|
961
|
+
"onDistanceChanged"?: (event: BufferToolsCustomEvent<IValueChange>) => void;
|
962
|
+
/**
|
963
|
+
* Emitted on demand when the unit changes
|
964
|
+
*/
|
965
|
+
"onUnitChanged"?: (event: BufferToolsCustomEvent<IValueChange>) => void;
|
966
|
+
/**
|
967
|
+
* number: Displays tick marks on the number line at a specified interval.
|
968
|
+
*/
|
969
|
+
"sliderTicks"?: number;
|
970
|
+
/**
|
971
|
+
* boolean: option to control if buffer results should be unioned
|
972
|
+
*/
|
973
|
+
"unionResults"?: boolean;
|
974
|
+
/**
|
975
|
+
* DistanceUnit: "feet"|"meters"|"miles"|"kilometers"
|
976
|
+
*/
|
977
|
+
"unit"?: DistanceUnit;
|
978
|
+
}
|
979
|
+
interface CardManager {
|
980
|
+
}
|
981
|
+
interface CommentCard {
|
982
|
+
}
|
983
|
+
interface CrowdsourceManager {
|
984
|
+
}
|
985
|
+
interface CrowdsourceReporter {
|
986
|
+
}
|
987
|
+
interface DeductCalculator {
|
988
|
+
/**
|
989
|
+
* Emitted on demand when the user clicks to calculate the deduct value
|
990
|
+
*/
|
991
|
+
"onDeductValueComplete"?: (event: DeductCalculatorCustomEvent<string>) => void;
|
992
|
+
}
|
993
|
+
interface EditRecordModal {
|
994
|
+
/**
|
995
|
+
* When true the component is displayed
|
996
|
+
*/
|
997
|
+
"open"?: boolean;
|
998
|
+
}
|
999
|
+
interface InfoCard {
|
1000
|
+
/**
|
1001
|
+
* string: the components title
|
1002
|
+
*/
|
1003
|
+
"cardTitle"?: string;
|
1004
|
+
/**
|
1005
|
+
* IInfoCardValues: key value pairs to show in the components table
|
1006
|
+
*/
|
1007
|
+
"values"?: IInfoCardValues;
|
1008
|
+
}
|
1009
|
+
interface JsonEditor {
|
1010
|
+
/**
|
1011
|
+
* Contains a public value to indicate if the model has any changes.
|
1012
|
+
*/
|
1013
|
+
"hasChanges"?: boolean;
|
1014
|
+
/**
|
1015
|
+
* Contains a public value to indicate if the model has any errors that would prevent saving it.
|
1016
|
+
*/
|
1017
|
+
"hasErrors"?: boolean;
|
1018
|
+
/**
|
1019
|
+
* Contains a unique identifier for when we have multiple instances of the editor. For example when we want to show an item's data as well as an item's properties.
|
1020
|
+
*/
|
1021
|
+
"instanceid"?: any;
|
1022
|
+
/**
|
1023
|
+
* Contains the public value for this component; it is not changed by the editor. When changed, the change overwrites the contents of the editor.
|
1024
|
+
*/
|
1025
|
+
"value"?: any;
|
1026
|
+
}
|
1027
|
+
interface LayerTable {
|
1028
|
+
/**
|
1029
|
+
* esri/views/View: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
|
1030
|
+
*/
|
1031
|
+
"mapView"?: __esri.MapView;
|
1032
|
+
}
|
1033
|
+
interface ListItem {
|
1034
|
+
}
|
1035
|
+
interface MapCard {
|
1036
|
+
/**
|
1037
|
+
* IMapInfo[]: array of map infos (name and id)
|
1038
|
+
*/
|
1039
|
+
"mapInfos"?: IMapInfo[];
|
1040
|
+
/**
|
1041
|
+
* Emitted when the expand button is clicked
|
1042
|
+
*/
|
1043
|
+
"onExpandMap"?: (event: MapCardCustomEvent<EExpandType>) => void;
|
1044
|
+
}
|
1045
|
+
interface MapDrawTools {
|
1046
|
+
/**
|
1047
|
+
* boolean: sketch is used by multiple components...need a way to know who should respond...
|
1048
|
+
*/
|
1049
|
+
"active"?: boolean;
|
1050
|
+
/**
|
1051
|
+
* boolean: Optionally draw a border around the draw tools
|
1052
|
+
*/
|
1053
|
+
"border"?: boolean;
|
1054
|
+
/**
|
1055
|
+
* esri/Graphic: https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html
|
1056
|
+
*/
|
1057
|
+
"graphics"?: __esri.Graphic[];
|
1058
|
+
/**
|
1059
|
+
* esri/views/View: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
|
1060
|
+
*/
|
1061
|
+
"mapView"?: __esri.MapView;
|
1062
|
+
/**
|
1063
|
+
* Emitted on demand when the sketch graphics change.
|
1064
|
+
*/
|
1065
|
+
"onSketchGraphicsChange"?: (event: MapDrawToolsCustomEvent<__esri.Graphic[]>) => void;
|
1066
|
+
/**
|
1067
|
+
* esri/symbols/SimpleMarkerSymbol: https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleMarkerSymbol.html
|
1068
|
+
*/
|
1069
|
+
"pointSymbol"?: __esri.SimpleMarkerSymbol;
|
1070
|
+
/**
|
1071
|
+
* esri/symbols/SimpleFillSymbol: https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleFillSymbol.html
|
1072
|
+
*/
|
1073
|
+
"polygonSymbol"?: __esri.SimpleFillSymbol;
|
1074
|
+
/**
|
1075
|
+
* esri/symbols/SimpleLineSymbol: https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleLineSymbol.html
|
1076
|
+
*/
|
1077
|
+
"polylineSymbol"?: __esri.SimpleLineSymbol;
|
1078
|
+
}
|
1079
|
+
interface MapLayerPicker {
|
1080
|
+
/**
|
1081
|
+
* string[]: Optional list of enabled layer ids If empty all layers will be available
|
1082
|
+
*/
|
1083
|
+
"enabledLayerIds"?: string[];
|
1084
|
+
/**
|
1085
|
+
* esri/views/View: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
|
1086
|
+
*/
|
1087
|
+
"mapView"?: __esri.MapView;
|
1088
|
+
/**
|
1089
|
+
* Emitted on demand when a layer is selected
|
1090
|
+
*/
|
1091
|
+
"onLayerSelectionChange"?: (event: MapLayerPickerCustomEvent<string[]>) => void;
|
1092
|
+
/**
|
1093
|
+
* string[]: list of layer ids that have been selected by the end user
|
1094
|
+
*/
|
1095
|
+
"selectedLayerIds"?: string[];
|
1096
|
+
/**
|
1097
|
+
* SelectionMode: "single" | "multi" Should the component support selection against a single layer or multiple layers.
|
1098
|
+
*/
|
1099
|
+
"selectionMode"?: SelectionMode;
|
1100
|
+
}
|
1101
|
+
interface MapSearch {
|
1102
|
+
/**
|
1103
|
+
* esri/views/View: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
|
1104
|
+
*/
|
1105
|
+
"mapView"?: __esri.MapView;
|
1106
|
+
/**
|
1107
|
+
* Emitted on demand when the status of the search widget changes
|
1108
|
+
*/
|
1109
|
+
"onSearchChange"?: (event: MapSearchCustomEvent<ISearchResult>) => void;
|
1110
|
+
/**
|
1111
|
+
* ISearchConfiguration: Configuration details for the Search widget
|
1112
|
+
*/
|
1113
|
+
"searchConfiguration"?: ISearchConfiguration;
|
1114
|
+
}
|
1115
|
+
interface MapSelectTools {
|
1116
|
+
/**
|
1117
|
+
* string | number[] | object with r, g, b, a: https://developers.arcgis.com/javascript/latest/api-reference/esri-Color.html
|
1118
|
+
*/
|
1119
|
+
"bufferColor"?: any;
|
1120
|
+
/**
|
1121
|
+
* string | number[] | object with r, g, b, a: https://developers.arcgis.com/javascript/latest/api-reference/esri-Color.html
|
1122
|
+
*/
|
1123
|
+
"bufferOutlineColor"?: any;
|
1124
|
+
/**
|
1125
|
+
* number: The default value to show for the buffer distance
|
1126
|
+
*/
|
1127
|
+
"defaultBufferDistance"?: number;
|
1128
|
+
/**
|
1129
|
+
* number: The default value to show for the buffer unit
|
1130
|
+
*/
|
1131
|
+
"defaultBufferUnit"?: DistanceUnit;
|
1132
|
+
/**
|
1133
|
+
* string[]: Optional list of enabled layer ids If empty all layers will be available
|
1134
|
+
*/
|
1135
|
+
"enabledLayerIds"?: string[];
|
1136
|
+
/**
|
1137
|
+
* esri/geometry: https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry.html
|
1138
|
+
*/
|
1139
|
+
"geometries"?: __esri.Geometry[];
|
1140
|
+
/**
|
1141
|
+
* boolean: When true a new label is not generated for the stored selection set
|
1142
|
+
*/
|
1143
|
+
"isUpdate"?: boolean;
|
1144
|
+
/**
|
1145
|
+
* esri/views/View: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
|
1146
|
+
*/
|
1147
|
+
"mapView"?: __esri.MapView;
|
1148
|
+
/**
|
1149
|
+
* Emitted on demand when selection starts or ends.
|
1150
|
+
*/
|
1151
|
+
"onSelectionLoadingChange"?: (event: MapSelectToolsCustomEvent<boolean>) => void;
|
1152
|
+
/**
|
1153
|
+
* Emitted on demand when the selection set changes.
|
1154
|
+
*/
|
1155
|
+
"onSelectionSetChange"?: (event: MapSelectToolsCustomEvent<number>) => void;
|
1156
|
+
/**
|
1157
|
+
* Emitted on demand when the sketch type changes.
|
1158
|
+
*/
|
1159
|
+
"onSketchTypeChange"?: (event: MapSelectToolsCustomEvent<ESketchType>) => void;
|
1160
|
+
/**
|
1161
|
+
* Emitted on demand when the workflow type changes.
|
1162
|
+
*/
|
1163
|
+
"onWorkflowTypeChange"?: (event: MapSelectToolsCustomEvent<EWorkflowType>) => void;
|
1164
|
+
/**
|
1165
|
+
* ISearchConfiguration: Configuration details for the Search widget
|
1166
|
+
*/
|
1167
|
+
"searchConfiguration"?: ISearchConfiguration;
|
1168
|
+
/**
|
1169
|
+
* esri/views/layers/FeatureLayerView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html
|
1170
|
+
*/
|
1171
|
+
"selectLayerView"?: __esri.FeatureLayerView;
|
1172
|
+
/**
|
1173
|
+
* utils/interfaces/ISelectionSet: Used to store key details about any selections that have been made.
|
1174
|
+
*/
|
1175
|
+
"selectionSet"?: ISelectionSet;
|
1176
|
+
/**
|
1177
|
+
* boolean: When true the buffer tools will be available for use
|
1178
|
+
*/
|
1179
|
+
"showBufferTools"?: boolean;
|
1180
|
+
/**
|
1181
|
+
* esri/symbols/SimpleLineSymbol | JSON representation : https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleLineSymbol.html
|
1182
|
+
*/
|
1183
|
+
"sketchLineSymbol"?: __esri.SimpleLineSymbol;
|
1184
|
+
/**
|
1185
|
+
* esri/symbols/SimpleMarkerSymbol | JSON representation: https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleMarkerSymbol.html
|
1186
|
+
*/
|
1187
|
+
"sketchPointSymbol"?: __esri.SimpleMarkerSymbol;
|
1188
|
+
/**
|
1189
|
+
* esri/symbols/SimpleFillSymbol | JSON representation: https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleFillSymbol.html
|
1190
|
+
*/
|
1191
|
+
"sketchPolygonSymbol"?: __esri.SimpleFillSymbol;
|
1192
|
+
}
|
1193
|
+
interface MediaCard {
|
1194
|
+
/**
|
1195
|
+
* IMediaCardValues[]: Array of objects that contain the name, description, and image to display
|
1196
|
+
*/
|
1197
|
+
"values"?: IMediaCardValues[];
|
1198
|
+
}
|
1199
|
+
interface PciCalculator {
|
1200
|
+
}
|
1201
|
+
interface PdfDownload {
|
1202
|
+
/**
|
1203
|
+
* boolean: Controls the enabled/disabled state of download
|
1204
|
+
*/
|
1205
|
+
"disabled"?: boolean;
|
1206
|
+
/**
|
1207
|
+
* esri/views/layers/FeatureLayerView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html
|
1208
|
+
*/
|
1209
|
+
"layerView"?: __esri.FeatureLayerView;
|
1210
|
+
}
|
1211
|
+
interface PublicNotification {
|
1212
|
+
/**
|
1213
|
+
* string[]: List of layer ids that should be shown as potential addressee layers
|
1214
|
+
*/
|
1215
|
+
"addresseeLayerIds"?: string[];
|
1216
|
+
/**
|
1217
|
+
* string | number[] | object with r, g, b, a: https://developers.arcgis.com/javascript/latest/api-reference/esri-Color.html
|
1218
|
+
*/
|
1219
|
+
"bufferColor"?: any;
|
1220
|
+
/**
|
1221
|
+
* string | number[] | object with r, g, b, a: https://developers.arcgis.com/javascript/latest/api-reference/esri-Color.html
|
1222
|
+
*/
|
1223
|
+
"bufferOutlineColor"?: any;
|
1224
|
+
/**
|
1225
|
+
* boolean: When true the user can define a name for each notification list
|
1226
|
+
*/
|
1227
|
+
"customLabelEnabled"?: boolean;
|
1228
|
+
/**
|
1229
|
+
* number: The default value to show for the buffer distance
|
1230
|
+
*/
|
1231
|
+
"defaultBufferDistance"?: number;
|
1232
|
+
/**
|
1233
|
+
* number: The default value to show for the buffer unit ("feet"|"meters"|"miles"|"kilometers")
|
1234
|
+
*/
|
1235
|
+
"defaultBufferUnit"?: DistanceUnit;
|
1236
|
+
/**
|
1237
|
+
* The effect that will be applied when featureHighlightEnabled is true esri/layers/support/FeatureEffect: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FeatureEffect.html
|
1238
|
+
*/
|
1239
|
+
"featureEffect"?: __esri.FeatureEffect;
|
1240
|
+
/**
|
1241
|
+
* boolean: When enabled features will be highlighted when their notification list item is clicked.
|
1242
|
+
*/
|
1243
|
+
"featureHighlightEnabled"?: boolean;
|
1244
|
+
/**
|
1245
|
+
* esri/views/View: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
|
1246
|
+
*/
|
1247
|
+
"mapView"?: __esri.MapView;
|
1248
|
+
/**
|
1249
|
+
* string: The value to show for no results when left empty the default text "0 selected features from {layerTitle}" will be shown
|
1250
|
+
*/
|
1251
|
+
"noResultText"?: string;
|
1252
|
+
/**
|
1253
|
+
* Emitted on demand when a buffer is generated.
|
1254
|
+
*/
|
1255
|
+
"onLabelChange"?: (event: PublicNotificationCustomEvent<string>) => void;
|
1256
|
+
/**
|
1257
|
+
* Emitted on demand when searchConfiguration gets a new value
|
1258
|
+
*/
|
1259
|
+
"onSearchConfigurationChange"?: (event: PublicNotificationCustomEvent<ISearchConfiguration>) => void;
|
1260
|
+
/**
|
1261
|
+
* ISearchConfiguration: Configuration details for the Search widget
|
1262
|
+
*/
|
1263
|
+
"searchConfiguration"?: ISearchConfiguration;
|
1264
|
+
/**
|
1265
|
+
* string[]: List of layer ids that should be shown as potential selection layers when skectching with "Use layer features" option
|
1266
|
+
*/
|
1267
|
+
"selectionLayerIds"?: string[];
|
1268
|
+
/**
|
1269
|
+
* boolean: When true the refine selection workflow will be included in the UI
|
1270
|
+
*/
|
1271
|
+
"showRefineSelection"?: boolean;
|
1272
|
+
/**
|
1273
|
+
* boolean: When false no buffer distance or unit controls will be exposed
|
1274
|
+
*/
|
1275
|
+
"showSearchSettings"?: boolean;
|
1276
|
+
/**
|
1277
|
+
* esri/symbols/SimpleLineSymbol | JSON representation : https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleLineSymbol.html A JSON representation of the instance in the ArcGIS format. See the ArcGIS REST API documentation for examples of the structure of various input JSON objects. https://developers.arcgis.com/documentation/common-data-types/symbol-objects.htm
|
1278
|
+
*/
|
1279
|
+
"sketchLineSymbol"?: __esri.SimpleLineSymbol | any;
|
1280
|
+
/**
|
1281
|
+
* esri/symbols/SimpleMarkerSymbol | JSON representation: https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleMarkerSymbol.html A JSON representation of the instance in the ArcGIS format. See the ArcGIS REST API documentation for examples of the structure of various input JSON objects. https://developers.arcgis.com/documentation/common-data-types/symbol-objects.htm
|
1282
|
+
*/
|
1283
|
+
"sketchPointSymbol"?: __esri.SimpleMarkerSymbol | any;
|
1284
|
+
/**
|
1285
|
+
* esri/symbols/SimpleFillSymbol | JSON representation: https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleFillSymbol.html A JSON representation of the instance in the ArcGIS format. See the ArcGIS REST API documentation for examples of the structure of various input JSON objects. https://developers.arcgis.com/documentation/common-data-types/symbol-objects.htm
|
1286
|
+
*/
|
1287
|
+
"sketchPolygonSymbol"?: __esri.SimpleFillSymbol | any;
|
1288
|
+
}
|
1289
|
+
interface RefineSelection {
|
1290
|
+
"GraphicsLayer"?: any;
|
1291
|
+
"SketchViewModel"?: any;
|
1292
|
+
/**
|
1293
|
+
* esri/views/layers/FeatureLayerView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html
|
1294
|
+
*/
|
1295
|
+
"addresseeLayer"?: __esri.FeatureLayerView;
|
1296
|
+
/**
|
1297
|
+
* string[]: Optional list of enabled layer ids If empty all layers will be available
|
1298
|
+
*/
|
1299
|
+
"enabledLayerIds"?: string[];
|
1300
|
+
/**
|
1301
|
+
* esri/views/View: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
|
1302
|
+
*/
|
1303
|
+
"mapView"?: __esri.MapView;
|
1304
|
+
/**
|
1305
|
+
* Emitted on demand when selection sets change.
|
1306
|
+
*/
|
1307
|
+
"onSelectionSetsChanged"?: (event: RefineSelectionCustomEvent<ISelectionSet[]>) => void;
|
1308
|
+
/**
|
1309
|
+
* utils/interfaces/ISelectionSet: An array of user defined selection sets
|
1310
|
+
*/
|
1311
|
+
"selectionSets"?: ISelectionSet[];
|
1312
|
+
}
|
1313
|
+
interface RefineSelectionTools {
|
1314
|
+
/**
|
1315
|
+
* boolean: sketch is used by multiple components...need a way to know who should respond...
|
1316
|
+
*/
|
1317
|
+
"active"?: boolean;
|
1318
|
+
/**
|
1319
|
+
* boolean: Optionally draw a border around the draw tools
|
1320
|
+
*/
|
1321
|
+
"border"?: boolean;
|
1322
|
+
/**
|
1323
|
+
* string[]: Optional list of enabled layer ids If empty all layers will be available
|
1324
|
+
*/
|
1325
|
+
"enabledLayerIds"?: string[];
|
1326
|
+
/**
|
1327
|
+
* esri/Graphic: https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html
|
1328
|
+
*/
|
1329
|
+
"graphics"?: __esri.Graphic[];
|
1330
|
+
/**
|
1331
|
+
* number: The oids of the selected features
|
1332
|
+
*/
|
1333
|
+
"ids"?: number[];
|
1334
|
+
/**
|
1335
|
+
* esri/views/layers/LayerView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html
|
1336
|
+
*/
|
1337
|
+
"layerView"?: __esri.FeatureLayerView;
|
1338
|
+
/**
|
1339
|
+
* esri/views/layers/FeatureLayerView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html
|
1340
|
+
*/
|
1341
|
+
"layerViews"?: __esri.FeatureLayerView[];
|
1342
|
+
/**
|
1343
|
+
* esri/views/View: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
|
1344
|
+
*/
|
1345
|
+
"mapView"?: __esri.MapView;
|
1346
|
+
/**
|
1347
|
+
* utils/interfaces/ESelectionMode: ADD, REMOVE
|
1348
|
+
*/
|
1349
|
+
"mode"?: ESelectionMode;
|
1350
|
+
/**
|
1351
|
+
* Emitted on demand when selection graphics change.
|
1352
|
+
*/
|
1353
|
+
"onRefineSelectionGraphicsChange"?: (event: RefineSelectionToolsCustomEvent<IRefineSelectionEvent>) => void;
|
1354
|
+
/**
|
1355
|
+
* Emitted on demand when selection ids change
|
1356
|
+
*/
|
1357
|
+
"onRefineSelectionIdsChange"?: (event: RefineSelectionToolsCustomEvent<{ addIds: any[]; removeIds: any[]; }>) => void;
|
1358
|
+
/**
|
1359
|
+
* Emitted on demand when selection starts or ends.
|
1360
|
+
*/
|
1361
|
+
"onSelectionLoadingChange"?: (event: RefineSelectionToolsCustomEvent<boolean>) => void;
|
1362
|
+
/**
|
1363
|
+
* utils/interfaces/ERefineMode: ALL, SUBSET
|
1364
|
+
*/
|
1365
|
+
"refineMode"?: ERefineMode;
|
1366
|
+
/**
|
1367
|
+
* utils/interfaces/ISelectionSet: Refine selection set
|
1368
|
+
*/
|
1369
|
+
"refineSelectionSet"?: ISelectionSet;
|
1370
|
+
/**
|
1371
|
+
* boolean: Used to control the visibility of the layer picker
|
1372
|
+
*/
|
1373
|
+
"useLayerPicker"?: boolean;
|
1374
|
+
}
|
1375
|
+
interface SolutionConfiguration {
|
1376
|
+
/**
|
1377
|
+
* Credentials for requests, which can be a serialized UserSession
|
1378
|
+
*/
|
1379
|
+
"authentication"?: UserSession;
|
1380
|
+
"serializedAuthentication"?: string;
|
1381
|
+
/**
|
1382
|
+
* Used to show/hide loading indicator
|
1383
|
+
*/
|
1384
|
+
"showLoading"?: boolean;
|
1385
|
+
/**
|
1386
|
+
* Contains the current solution item id
|
1387
|
+
*/
|
1388
|
+
"solutionItemId"?: string;
|
1389
|
+
}
|
1390
|
+
interface SolutionContents {
|
1391
|
+
"onSolutionItemSelected"?: (event: SolutionContentsCustomEvent<string>) => void;
|
1392
|
+
/**
|
1393
|
+
* Contains the current item that is selected.
|
1394
|
+
*/
|
1395
|
+
"selectedItemId"?: string;
|
1396
|
+
/**
|
1397
|
+
* Contains the public value for this component.
|
1398
|
+
*/
|
1399
|
+
"templateHierarchy"?: IInventoryItem[];
|
1400
|
+
}
|
1401
|
+
interface SolutionItem {
|
1402
|
+
/**
|
1403
|
+
* Credentials for requests
|
1404
|
+
*/
|
1405
|
+
"authentication"?: UserSession;
|
1406
|
+
/**
|
1407
|
+
* A template's itemId.
|
1408
|
+
*/
|
1409
|
+
"itemId"?: string;
|
1410
|
+
/**
|
1411
|
+
* Contains the organization based variables
|
1412
|
+
*/
|
1413
|
+
"organizationVariables"?: string;
|
1414
|
+
/**
|
1415
|
+
* Contains the solution based variables
|
1416
|
+
*/
|
1417
|
+
"solutionVariables"?: string;
|
1418
|
+
}
|
1419
|
+
interface SolutionItemDetails {
|
1420
|
+
/**
|
1421
|
+
* A template's itemId.
|
1422
|
+
*/
|
1423
|
+
"itemId"?: string;
|
1424
|
+
}
|
1425
|
+
interface SolutionItemIcon {
|
1426
|
+
/**
|
1427
|
+
* Indicate if this is portal
|
1428
|
+
*/
|
1429
|
+
"isPortal"?: boolean;
|
1430
|
+
/**
|
1431
|
+
* The type for the item
|
1432
|
+
*/
|
1433
|
+
"type"?: string;
|
1434
|
+
/**
|
1435
|
+
* The typeKeywords for the item
|
1436
|
+
*/
|
1437
|
+
"typeKeywords"?: string[];
|
1438
|
+
}
|
1439
|
+
interface SolutionItemSharing {
|
1440
|
+
/**
|
1441
|
+
* A template's groupId.
|
1442
|
+
*/
|
1443
|
+
"groupId"?: string;
|
1444
|
+
}
|
1445
|
+
interface SolutionOrganizationVariables {
|
1446
|
+
"onOrganizationVariableSelected"?: (event: SolutionOrganizationVariablesCustomEvent<{ itemId: string, value: string }>) => void;
|
1447
|
+
/**
|
1448
|
+
* Contains the public value for this component.
|
1449
|
+
*/
|
1450
|
+
"value"?: string;
|
1451
|
+
}
|
1452
|
+
interface SolutionResourceItem {
|
1453
|
+
/**
|
1454
|
+
* Credentials for requests
|
1455
|
+
*/
|
1456
|
+
"authentication"?: UserSession;
|
1457
|
+
/**
|
1458
|
+
* A template's itemId. This is used to get the correct model from a store in the json-editor
|
1459
|
+
*/
|
1460
|
+
"itemId"?: string;
|
1461
|
+
}
|
1462
|
+
interface SolutionSpatialRef {
|
1463
|
+
/**
|
1464
|
+
* The wkid that will be used as the default when no user selection has been made.
|
1465
|
+
*/
|
1466
|
+
"defaultWkid"?: number;
|
1467
|
+
/**
|
1468
|
+
* When true, all but the main switch are disabled to prevent interaction.
|
1469
|
+
*/
|
1470
|
+
"locked"?: boolean;
|
1471
|
+
"onFeatureServiceSpatialReferenceChange"?: (event: SolutionSpatialRefCustomEvent<{ name: string, enabled: boolean }>) => void;
|
1472
|
+
/**
|
1473
|
+
* List of service names the spatial reference should apply to
|
1474
|
+
*/
|
1475
|
+
"services"?: string[];
|
1476
|
+
/**
|
1477
|
+
* Contains the public value for this component, which is a wkid or a wkt.
|
1478
|
+
*/
|
1479
|
+
"value"?: string;
|
1480
|
+
}
|
1481
|
+
interface SolutionTemplateData {
|
1482
|
+
/**
|
1483
|
+
* This needs to be unique for props vs data of an item
|
1484
|
+
*/
|
1485
|
+
"instanceid"?: string;
|
1486
|
+
/**
|
1487
|
+
* A template's itemId. This is used to get the correct model from a store in the json-editor
|
1488
|
+
*/
|
1489
|
+
"itemId"?: string;
|
1490
|
+
"organizationVariables"?: string;
|
1491
|
+
/**
|
1492
|
+
* Contains the solution based variables
|
1493
|
+
*/
|
1494
|
+
"solutionVariables"?: string;
|
1495
|
+
/**
|
1496
|
+
* Used to show/hide the variable containers
|
1497
|
+
*/
|
1498
|
+
"varsOpen"?: boolean;
|
1499
|
+
}
|
1500
|
+
interface SolutionVariables {
|
1501
|
+
"onSolutionVariableSelected"?: (event: SolutionVariablesCustomEvent<{ itemId: string, value: string }>) => void;
|
1502
|
+
/**
|
1503
|
+
* Contains the public value for this component.
|
1504
|
+
*/
|
1505
|
+
"value"?: string;
|
1506
|
+
}
|
1507
|
+
interface StoreManager {
|
1508
|
+
/**
|
1509
|
+
* Credentials for requests
|
1510
|
+
*/
|
1511
|
+
"authentication"?: UserSession;
|
1512
|
+
"onStateLoaded"?: (event: StoreManagerCustomEvent<any>) => void;
|
1513
|
+
/**
|
1514
|
+
* Templates for the current solution
|
1515
|
+
*/
|
1516
|
+
"templates"?: any[];
|
1517
|
+
/**
|
1518
|
+
* Contains source json as a string
|
1519
|
+
*/
|
1520
|
+
"value"?: string;
|
1521
|
+
}
|
1522
|
+
interface IntrinsicElements {
|
1523
|
+
"add-record-modal": AddRecordModal;
|
1524
|
+
"buffer-tools": BufferTools;
|
1525
|
+
"card-manager": CardManager;
|
1526
|
+
"comment-card": CommentCard;
|
1527
|
+
"crowdsource-manager": CrowdsourceManager;
|
1528
|
+
"crowdsource-reporter": CrowdsourceReporter;
|
1529
|
+
"deduct-calculator": DeductCalculator;
|
1530
|
+
"edit-record-modal": EditRecordModal;
|
1531
|
+
"info-card": InfoCard;
|
1532
|
+
"json-editor": JsonEditor;
|
1533
|
+
"layer-table": LayerTable;
|
1534
|
+
"list-item": ListItem;
|
1535
|
+
"map-card": MapCard;
|
1536
|
+
"map-draw-tools": MapDrawTools;
|
1537
|
+
"map-layer-picker": MapLayerPicker;
|
1538
|
+
"map-search": MapSearch;
|
1539
|
+
"map-select-tools": MapSelectTools;
|
1540
|
+
"media-card": MediaCard;
|
1541
|
+
"pci-calculator": PciCalculator;
|
1542
|
+
"pdf-download": PdfDownload;
|
1543
|
+
"public-notification": PublicNotification;
|
1544
|
+
"refine-selection": RefineSelection;
|
1545
|
+
"refine-selection-tools": RefineSelectionTools;
|
1546
|
+
"solution-configuration": SolutionConfiguration;
|
1547
|
+
"solution-contents": SolutionContents;
|
1548
|
+
"solution-item": SolutionItem;
|
1549
|
+
"solution-item-details": SolutionItemDetails;
|
1550
|
+
"solution-item-icon": SolutionItemIcon;
|
1551
|
+
"solution-item-sharing": SolutionItemSharing;
|
1552
|
+
"solution-organization-variables": SolutionOrganizationVariables;
|
1553
|
+
"solution-resource-item": SolutionResourceItem;
|
1554
|
+
"solution-spatial-ref": SolutionSpatialRef;
|
1555
|
+
"solution-template-data": SolutionTemplateData;
|
1556
|
+
"solution-variables": SolutionVariables;
|
1557
|
+
"store-manager": StoreManager;
|
1558
|
+
}
|
1559
|
+
}
|
1560
|
+
export { LocalJSX as JSX };
|
1561
|
+
declare module "@stencil/core" {
|
1562
|
+
export namespace JSX {
|
1563
|
+
interface IntrinsicElements {
|
1564
|
+
"add-record-modal": LocalJSX.AddRecordModal & JSXBase.HTMLAttributes<HTMLAddRecordModalElement>;
|
1565
|
+
"buffer-tools": LocalJSX.BufferTools & JSXBase.HTMLAttributes<HTMLBufferToolsElement>;
|
1566
|
+
"card-manager": LocalJSX.CardManager & JSXBase.HTMLAttributes<HTMLCardManagerElement>;
|
1567
|
+
"comment-card": LocalJSX.CommentCard & JSXBase.HTMLAttributes<HTMLCommentCardElement>;
|
1568
|
+
"crowdsource-manager": LocalJSX.CrowdsourceManager & JSXBase.HTMLAttributes<HTMLCrowdsourceManagerElement>;
|
1569
|
+
"crowdsource-reporter": LocalJSX.CrowdsourceReporter & JSXBase.HTMLAttributes<HTMLCrowdsourceReporterElement>;
|
1570
|
+
"deduct-calculator": LocalJSX.DeductCalculator & JSXBase.HTMLAttributes<HTMLDeductCalculatorElement>;
|
1571
|
+
"edit-record-modal": LocalJSX.EditRecordModal & JSXBase.HTMLAttributes<HTMLEditRecordModalElement>;
|
1572
|
+
"info-card": LocalJSX.InfoCard & JSXBase.HTMLAttributes<HTMLInfoCardElement>;
|
1573
|
+
"json-editor": LocalJSX.JsonEditor & JSXBase.HTMLAttributes<HTMLJsonEditorElement>;
|
1574
|
+
"layer-table": LocalJSX.LayerTable & JSXBase.HTMLAttributes<HTMLLayerTableElement>;
|
1575
|
+
"list-item": LocalJSX.ListItem & JSXBase.HTMLAttributes<HTMLListItemElement>;
|
1576
|
+
"map-card": LocalJSX.MapCard & JSXBase.HTMLAttributes<HTMLMapCardElement>;
|
1577
|
+
"map-draw-tools": LocalJSX.MapDrawTools & JSXBase.HTMLAttributes<HTMLMapDrawToolsElement>;
|
1578
|
+
"map-layer-picker": LocalJSX.MapLayerPicker & JSXBase.HTMLAttributes<HTMLMapLayerPickerElement>;
|
1579
|
+
"map-search": LocalJSX.MapSearch & JSXBase.HTMLAttributes<HTMLMapSearchElement>;
|
1580
|
+
"map-select-tools": LocalJSX.MapSelectTools & JSXBase.HTMLAttributes<HTMLMapSelectToolsElement>;
|
1581
|
+
"media-card": LocalJSX.MediaCard & JSXBase.HTMLAttributes<HTMLMediaCardElement>;
|
1582
|
+
"pci-calculator": LocalJSX.PciCalculator & JSXBase.HTMLAttributes<HTMLPciCalculatorElement>;
|
1583
|
+
"pdf-download": LocalJSX.PdfDownload & JSXBase.HTMLAttributes<HTMLPdfDownloadElement>;
|
1584
|
+
"public-notification": LocalJSX.PublicNotification & JSXBase.HTMLAttributes<HTMLPublicNotificationElement>;
|
1585
|
+
"refine-selection": LocalJSX.RefineSelection & JSXBase.HTMLAttributes<HTMLRefineSelectionElement>;
|
1586
|
+
"refine-selection-tools": LocalJSX.RefineSelectionTools & JSXBase.HTMLAttributes<HTMLRefineSelectionToolsElement>;
|
1587
|
+
"solution-configuration": LocalJSX.SolutionConfiguration & JSXBase.HTMLAttributes<HTMLSolutionConfigurationElement>;
|
1588
|
+
"solution-contents": LocalJSX.SolutionContents & JSXBase.HTMLAttributes<HTMLSolutionContentsElement>;
|
1589
|
+
"solution-item": LocalJSX.SolutionItem & JSXBase.HTMLAttributes<HTMLSolutionItemElement>;
|
1590
|
+
"solution-item-details": LocalJSX.SolutionItemDetails & JSXBase.HTMLAttributes<HTMLSolutionItemDetailsElement>;
|
1591
|
+
"solution-item-icon": LocalJSX.SolutionItemIcon & JSXBase.HTMLAttributes<HTMLSolutionItemIconElement>;
|
1592
|
+
"solution-item-sharing": LocalJSX.SolutionItemSharing & JSXBase.HTMLAttributes<HTMLSolutionItemSharingElement>;
|
1593
|
+
"solution-organization-variables": LocalJSX.SolutionOrganizationVariables & JSXBase.HTMLAttributes<HTMLSolutionOrganizationVariablesElement>;
|
1594
|
+
"solution-resource-item": LocalJSX.SolutionResourceItem & JSXBase.HTMLAttributes<HTMLSolutionResourceItemElement>;
|
1595
|
+
"solution-spatial-ref": LocalJSX.SolutionSpatialRef & JSXBase.HTMLAttributes<HTMLSolutionSpatialRefElement>;
|
1596
|
+
"solution-template-data": LocalJSX.SolutionTemplateData & JSXBase.HTMLAttributes<HTMLSolutionTemplateDataElement>;
|
1597
|
+
"solution-variables": LocalJSX.SolutionVariables & JSXBase.HTMLAttributes<HTMLSolutionVariablesElement>;
|
1598
|
+
"store-manager": LocalJSX.StoreManager & JSXBase.HTMLAttributes<HTMLStoreManagerElement>;
|
1599
|
+
}
|
1600
|
+
}
|
1601
|
+
}
|