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