@esri/solutions-components 0.6.39 → 0.6.40

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. package/dist/cjs/card-manager_3.cjs.entry.js +1 -1
  2. package/dist/cjs/{downloadUtils-d8e48fbd.js → downloadUtils-9be94c17.js} +4 -2
  3. package/dist/cjs/{index.es-6159eedc.js → index.es-f8a598dc.js} +1 -1
  4. package/dist/cjs/map-select-tools_3.cjs.entry.js +1 -1
  5. package/dist/cjs/public-notification.cjs.entry.js +1 -1
  6. package/dist/collection/components/basemap-gallery/basemap-gallery.css +19 -19
  7. package/dist/collection/components/layout-manager/layout-manager.css +73 -73
  8. package/dist/collection/components/map-fullscreen/map-fullscreen.css +19 -19
  9. package/dist/collection/components/map-legend/map-legend.css +3 -3
  10. package/dist/collection/components/map-search/map-search.css +24 -24
  11. package/dist/collection/demos/new-public-notification.html +2 -2
  12. package/dist/collection/utils/__b302600c5c884ab280e2ff6dc2e1fc78.json +387 -0
  13. package/dist/collection/utils/downloadUtils.js +3 -1
  14. package/dist/collection/utils/downloadUtils.ts +3 -3
  15. package/dist/components/downloadUtils.js +3 -1
  16. package/dist/esm/card-manager_3.entry.js +1 -1
  17. package/dist/esm/{downloadUtils-d41ecba9.js → downloadUtils-c9f4592e.js} +4 -2
  18. package/dist/esm/{index.es-b226bf47.js → index.es-35932b31.js} +1 -1
  19. package/dist/esm/map-select-tools_3.entry.js +1 -1
  20. package/dist/esm/public-notification.entry.js +1 -1
  21. package/dist/solutions-components/demos/new-public-notification.html +2 -2
  22. package/dist/solutions-components/{p-56a3b81e.entry.js → p-0dfd47df.entry.js} +1 -1
  23. package/dist/solutions-components/{p-1b14b687.entry.js → p-5a2c1d3a.entry.js} +1 -1
  24. package/dist/solutions-components/{p-9ecb5d66.js → p-6f59f4ee.js} +1 -1
  25. package/dist/solutions-components/{p-a8661f1f.js → p-79beb262.js} +2 -2
  26. package/dist/solutions-components/{p-ba064f24.entry.js → p-db020d08.entry.js} +1 -1
  27. package/dist/solutions-components/solutions-components.esm.js +1 -1
  28. package/dist/solutions-components/utils/__b302600c5c884ab280e2ff6dc2e1fc78.json +387 -0
  29. package/dist/solutions-components/utils/downloadUtils.ts +3 -3
  30. package/dist/solutions-components_commit.txt +8 -0
  31. package/package.json +1 -1
  32. package/dist/esm/polyfills/core-js.js +0 -11
  33. package/dist/esm/polyfills/dom.js +0 -79
  34. package/dist/esm/polyfills/es5-html-element.js +0 -1
  35. package/dist/esm/polyfills/index.js +0 -34
  36. package/dist/esm/polyfills/system.js +0 -6
@@ -0,0 +1,387 @@
1
+ {
2
+ "operationalLayers": [
3
+ {
4
+ "id": "18a09252edc-layer-3",
5
+ "title": "PN related records - Site Addresses",
6
+ "url": "https://services6.arcgis.com/Pu6Fai10JE2L2xUd/arcgis/rest/services/PN_related_records/FeatureServer/0",
7
+ "itemId": "e8549e36bdbd4b8d82e69172339d0224",
8
+ "layerType": "ArcGISFeatureLayer",
9
+ "popupInfo": {
10
+ "popupElements": [
11
+ {
12
+ "type": "relationship",
13
+ "description": "",
14
+ "displayCount": 1,
15
+ "displayType": "list",
16
+ "orderByFields": [
17
+ {
18
+ "field": "OBJECTID",
19
+ "order": "asc"
20
+ }
21
+ ],
22
+ "relationshipId": 0,
23
+ "title": ""
24
+ }
25
+ ],
26
+ "relatedRecordsInfo": {
27
+ "showRelatedRecords": true,
28
+ "orderByFields": [
29
+ {
30
+ "field": "relationships/0/OBJECTID",
31
+ "order": "asc"
32
+ }
33
+ ]
34
+ },
35
+ "expressionInfos": [
36
+ {
37
+ "name": "expr0",
38
+ "title": "Get first record from the parent layer",
39
+ "expression": "// Write a script to return a value to show in the pop-up. \n// For example, get the average of 4 fields:\n// Average($feature.SalesQ1, $feature.SalesQ2, $feature.SalesQ3, $feature.SalesQ4)\nvar relatedFeatures = FeatureSetByRelationshipName($feature, \"\", [\"*\"], false)\n//return relatedFeatures\nreturn First(relatedFeatures)['SITEADDkey']\n",
40
+ "returnType": "string"
41
+ }
42
+ ],
43
+ "fieldInfos": [
44
+ {
45
+ "fieldName": "OBJECTID",
46
+ "format": {
47
+ "digitSeparator": false,
48
+ "places": 0
49
+ },
50
+ "isEditable": false,
51
+ "label": "OBJECTID",
52
+ "visible": true
53
+ },
54
+ {
55
+ "fieldName": "SITEADDID",
56
+ "isEditable": true,
57
+ "label": "Site Address ID",
58
+ "visible": true
59
+ },
60
+ {
61
+ "fieldName": "ADDPTKEY",
62
+ "isEditable": true,
63
+ "label": "Address Point ID",
64
+ "visible": true
65
+ },
66
+ {
67
+ "fieldName": "PREADDRNUM",
68
+ "isEditable": true,
69
+ "label": "Address Number Prefix",
70
+ "visible": true
71
+ },
72
+ {
73
+ "fieldName": "ADDRNUMSUF",
74
+ "isEditable": true,
75
+ "label": "Address Number Suffix",
76
+ "visible": true
77
+ },
78
+ {
79
+ "fieldName": "ADDRNUM",
80
+ "isEditable": true,
81
+ "label": "Full Address Number",
82
+ "visible": true
83
+ },
84
+ {
85
+ "fieldName": "ADDRRANGE",
86
+ "isEditable": true,
87
+ "label": "Address Range",
88
+ "visible": true
89
+ },
90
+ {
91
+ "fieldName": "UNITTYPE",
92
+ "isEditable": true,
93
+ "label": "Address Unit Type",
94
+ "visible": true
95
+ },
96
+ {
97
+ "fieldName": "UNITID",
98
+ "isEditable": true,
99
+ "label": "Address Unit Number",
100
+ "visible": true
101
+ },
102
+ {
103
+ "fieldName": "ALTUNITTYPE",
104
+ "isEditable": true,
105
+ "label": "Alternate Address Unit Type",
106
+ "visible": true
107
+ },
108
+ {
109
+ "fieldName": "ALTUNITID",
110
+ "isEditable": true,
111
+ "label": "Alternate Address Unit Number",
112
+ "visible": true
113
+ },
114
+ {
115
+ "fieldName": "FULLNAME",
116
+ "isEditable": true,
117
+ "label": "Full Road Name",
118
+ "visible": true
119
+ },
120
+ {
121
+ "fieldName": "FULLADDR",
122
+ "isEditable": true,
123
+ "label": "Full Address",
124
+ "visible": true
125
+ },
126
+ {
127
+ "fieldName": "PLACENAME",
128
+ "isEditable": true,
129
+ "label": "Place Name",
130
+ "visible": true
131
+ },
132
+ {
133
+ "fieldName": "MUNICIPALITY",
134
+ "isEditable": true,
135
+ "label": "Municipality Name",
136
+ "visible": true
137
+ },
138
+ {
139
+ "fieldName": "ESN",
140
+ "isEditable": true,
141
+ "label": "Emergency Service Number",
142
+ "visible": true
143
+ },
144
+ {
145
+ "fieldName": "PSAP",
146
+ "isEditable": true,
147
+ "label": "Public Safety Answering Point",
148
+ "visible": true
149
+ },
150
+ {
151
+ "fieldName": "MSAG",
152
+ "isEditable": true,
153
+ "label": "MSAG Community",
154
+ "visible": true
155
+ },
156
+ {
157
+ "fieldName": "USNGCOORD",
158
+ "isEditable": true,
159
+ "label": "USNG Coordinate",
160
+ "visible": true
161
+ },
162
+ {
163
+ "fieldName": "ADDRCLASS",
164
+ "format": {
165
+ "digitSeparator": false,
166
+ "places": 0
167
+ },
168
+ "isEditable": true,
169
+ "label": "Description",
170
+ "visible": true
171
+ },
172
+ {
173
+ "fieldName": "POINTTYPE",
174
+ "isEditable": true,
175
+ "label": "Location",
176
+ "visible": true
177
+ },
178
+ {
179
+ "fieldName": "CAPTUREMETH",
180
+ "isEditable": true,
181
+ "label": "Capture Method",
182
+ "visible": true
183
+ },
184
+ {
185
+ "fieldName": "STATUS",
186
+ "isEditable": true,
187
+ "label": "Status",
188
+ "visible": true
189
+ },
190
+ {
191
+ "fieldName": "expression/expr0",
192
+ "isEditable": true,
193
+ "visible": false
194
+ }
195
+ ],
196
+ "title": ""
197
+ }
198
+ }
199
+ ],
200
+ "tables": [
201
+ {
202
+ "id": "18a09252edd-layer-4",
203
+ "title": "PN related records - Postal Addresses",
204
+ "url": "https://services6.arcgis.com/Pu6Fai10JE2L2xUd/arcgis/rest/services/PN_related_records/FeatureServer/3",
205
+ "itemId": "e8549e36bdbd4b8d82e69172339d0224",
206
+ "popupInfo": {
207
+ "popupElements": [
208
+ {
209
+ "type": "text",
210
+ "text": "<p>{expression/expr0}&nbsp;&nbsp;&nbsp;<br />{OWNERNM1}&nbsp;&nbsp;&nbsp;<br />{PSTLADDRESS}&nbsp;&nbsp;&nbsp;<br />{PSTLCITY} , {PSTLSTATE}, {PSTLZIP5}&nbsp;<\/p>"
211
+ }
212
+ ],
213
+ "description": "<p>{expression/expr0}&nbsp;&nbsp;&nbsp;<br />{OWNERNM1}&nbsp;&nbsp;&nbsp;<br />{PSTLADDRESS}&nbsp;&nbsp;&nbsp;<br />{PSTLCITY} , {PSTLSTATE}, {PSTLZIP5}&nbsp;<\/p>",
214
+ "expressionInfos": [
215
+ {
216
+ "name": "expr0",
217
+ "title": "New expression",
218
+ "expression": "// Write a script to return a value to show in the pop-up. \n// For example, get the average of 4 fields:\n// Average($feature.SalesQ1, $feature.SalesQ2, $feature.SalesQ3, $feature.SalesQ4)\nvar relatedFeatures = FeatureSetByRelationshipName($feature, \"\", [\"*\"], false)\nreturn First(relatedFeatures)['SITEADDID']\n",
219
+ "returnType": "string"
220
+ }
221
+ ],
222
+ "fieldInfos": [
223
+ {
224
+ "fieldName": "OBJECTID",
225
+ "format": {
226
+ "digitSeparator": false,
227
+ "places": 0
228
+ },
229
+ "isEditable": false,
230
+ "label": "OBJECTID",
231
+ "visible": true
232
+ },
233
+ {
234
+ "fieldName": "PSTLADDID",
235
+ "isEditable": true,
236
+ "label": "Postal Address Identifier",
237
+ "visible": true
238
+ },
239
+ {
240
+ "fieldName": "SITEADDKEY",
241
+ "isEditable": true,
242
+ "label": "Site Address ID",
243
+ "visible": true
244
+ },
245
+ {
246
+ "fieldName": "OWNERNM1",
247
+ "isEditable": true,
248
+ "label": "Owner Name",
249
+ "visible": true
250
+ },
251
+ {
252
+ "fieldName": "OWNERNM2",
253
+ "isEditable": true,
254
+ "label": "Owner Name",
255
+ "visible": true
256
+ },
257
+ {
258
+ "fieldName": "PSTLADDRESS",
259
+ "isEditable": true,
260
+ "label": "Postal Address",
261
+ "visible": true
262
+ },
263
+ {
264
+ "fieldName": "PSTLCITY",
265
+ "isEditable": true,
266
+ "label": "Postal City",
267
+ "visible": true
268
+ },
269
+ {
270
+ "fieldName": "PSTLSTATE",
271
+ "isEditable": true,
272
+ "label": "Postal State",
273
+ "visible": true
274
+ },
275
+ {
276
+ "fieldName": "PSTLZIP5",
277
+ "isEditable": true,
278
+ "label": "Postal Zip 5",
279
+ "visible": true
280
+ },
281
+ {
282
+ "fieldName": "PSTLZIP4",
283
+ "isEditable": true,
284
+ "label": "Postal Zip +4",
285
+ "visible": true
286
+ },
287
+ {
288
+ "fieldName": "INTSTATE",
289
+ "isEditable": true,
290
+ "label": "International State",
291
+ "visible": true
292
+ },
293
+ {
294
+ "fieldName": "INTPSTLCD",
295
+ "isEditable": true,
296
+ "label": "International Postal Code",
297
+ "visible": true
298
+ },
299
+ {
300
+ "fieldName": "COUNTRY",
301
+ "isEditable": true,
302
+ "label": "Country",
303
+ "visible": true
304
+ },
305
+ {
306
+ "fieldName": "USPSBOXTYPE",
307
+ "isEditable": true,
308
+ "label": "USPS Box Type",
309
+ "visible": true
310
+ },
311
+ {
312
+ "fieldName": "USPSBOXID",
313
+ "isEditable": true,
314
+ "label": "USPS Box Identifier",
315
+ "visible": true
316
+ },
317
+ {
318
+ "fieldName": "USPSBOXGRP",
319
+ "isEditable": true,
320
+ "label": "USPS Box Group",
321
+ "visible": true
322
+ },
323
+ {
324
+ "fieldName": "REPRESENT",
325
+ "isEditable": true,
326
+ "label": "Owner / Occupant",
327
+ "visible": true
328
+ },
329
+ {
330
+ "fieldName": "STATUS",
331
+ "isEditable": true,
332
+ "label": "Status",
333
+ "visible": true
334
+ },
335
+ {
336
+ "fieldName": "expression/expr0",
337
+ "isEditable": true,
338
+ "visible": false
339
+ }
340
+ ],
341
+ "title": ""
342
+ }
343
+ }
344
+ ],
345
+ "baseMap": {
346
+ "baseMapLayers": [
347
+ {
348
+ "id": "World_Hillshade_3805",
349
+ "opacity": 1,
350
+ "title": "World Hillshade",
351
+ "url": "https://services.arcgisonline.com/arcgis/rest/services/Elevation/World_Hillshade/MapServer",
352
+ "visibility": true,
353
+ "layerType": "ArcGISTiledMapServiceLayer"
354
+ },
355
+ {
356
+ "id": "VectorTile_2333",
357
+ "opacity": 1,
358
+ "title": "World Topographic Map",
359
+ "visibility": true,
360
+ "layerType": "VectorTileLayer",
361
+ "styleUrl": "https://cdn.arcgis.com/sharing/rest/content/items/7dc6cea0b1764a1f9af2e679f642f0f5/resources/styles/root.json"
362
+ }
363
+ ],
364
+ "title": "Topographic"
365
+ },
366
+ "authoringApp": "ArcGISMapViewer",
367
+ "authoringAppVersion": "2023.2",
368
+ "initialState": {
369
+ "viewpoint": {
370
+ "targetGeometry": {
371
+ "spatialReference": {
372
+ "latestWkid": 3857,
373
+ "wkid": 102100
374
+ },
375
+ "xmin": -9907730.599516412,
376
+ "ymin": 5079172.794841483,
377
+ "xmax": -9781762.376902392,
378
+ "ymax": 5179916.798121383
379
+ }
380
+ }
381
+ },
382
+ "spatialReference": {
383
+ "latestWkid": 3857,
384
+ "wkid": 102100
385
+ },
386
+ "version": "2.28"
387
+ }
@@ -1000,9 +1000,9 @@ export async function _prepareLabelsUsingExecutor(
1000
1000
  }
1001
1001
  ));
1002
1002
 
1003
- const labels = execResults.map(
1004
- result => _cleanupLabel(result.text).split(lineSeparatorChar)
1005
- )
1003
+ const labels = execResults
1004
+ .filter(result => result.text)
1005
+ .map(result => _cleanupLabel(result.text).split(lineSeparatorChar))
1006
1006
 
1007
1007
  return Promise.resolve(labels);
1008
1008
  }
@@ -0,0 +1,8 @@
1
+ Built 10/24/2023 13:34:09.83
2
+ filter-out-missing-related-records
3
+ commit 9c3ea5982ab3df65f1a406b1cf52efe56c0a0b58
4
+ Merge: fabaf0e3 922ffef9
5
+ Author: Mike Tschudi <mtschudi@esri.com>
6
+ Date: Tue Oct 24 13:31:59 2023 -0700
7
+
8
+ Merge branch 'develop' into filter-out-missing-related-records
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/solutions-components",
3
- "version": "0.6.39",
3
+ "version": "0.6.40",
4
4
  "description": "Web Components for Esri's Solutions Applications",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",