@esri/solutions-components 0.5.1 → 0.5.2

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