@cdc/dashboard 4.25.6-2 → 4.25.7-2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/cdcdashboard.js +65154 -42764
  2. package/package.json +9 -9
  3. package/src/CdcDashboardComponent.tsx +11 -8
  4. package/src/components/Header/Header.tsx +2 -2
  5. package/src/components/VisualizationRow.tsx +324 -324
  6. package/src/helpers/getVizConfig.ts +1 -0
  7. package/src/helpers/getVizRowColumnLocator.ts +10 -10
  8. package/src/helpers/reloadURLHelpers.ts +124 -124
  9. package/src/store/dashboard.reducer.ts +288 -288
  10. package/src/types/ConfigRow.ts +19 -19
  11. package/src/types/Dashboard.ts +11 -11
  12. package/examples/private/DEV-10120.json +0 -1294
  13. package/examples/private/DEV-10527.json +0 -845
  14. package/examples/private/DEV-10586.json +0 -54319
  15. package/examples/private/DEV-10856.json +0 -54319
  16. package/examples/private/DEV-9199.json +0 -606
  17. package/examples/private/DEV-9644.json +0 -20092
  18. package/examples/private/DEV-9684.json +0 -2135
  19. package/examples/private/DEV-9932.json +0 -95
  20. package/examples/private/DEV-9989.json +0 -229
  21. package/examples/private/art-dashboard.json +0 -18174
  22. package/examples/private/art-scratch.json +0 -2406
  23. package/examples/private/bird-flu-2.json +0 -440
  24. package/examples/private/bird-flu.json +0 -413
  25. package/examples/private/crashing-sidebar.json +0 -975
  26. package/examples/private/d.json +0 -1561
  27. package/examples/private/dashboard-config-ehdi.json +0 -29915
  28. package/examples/private/dashboard-map-filter.json +0 -815
  29. package/examples/private/dashboard-margins.js +0 -15
  30. package/examples/private/dataset.json +0 -1452
  31. package/examples/private/dev-10856-2.json +0 -1348
  32. package/examples/private/ehdi-data.json +0 -29502
  33. package/examples/private/exposure-source-h5-data.csv +0 -26
  34. package/examples/private/fatal-data.csv +0 -3159
  35. package/examples/private/feelings.json +0 -1
  36. package/examples/private/gaza-issue.json +0 -1214
  37. package/examples/private/josh.json +0 -6175
  38. package/examples/private/map-issue.json +0 -628
  39. package/examples/private/markup.json +0 -115
  40. package/examples/private/mpox.json +0 -429
  41. package/examples/private/nhis.json +0 -1792
  42. package/examples/private/testing-pie.json +0 -436
  43. package/examples/private/workforce.json +0 -2041
@@ -1,440 +0,0 @@
1
- {
2
- "dashboard": {
3
- "theme": "theme-blue",
4
- "sharedFilters": [
5
- {
6
- "key": "Confirmed or probable cases",
7
- "showDropdown": true,
8
- "values": [
9
- "Confirmed",
10
- "Probable"
11
- ],
12
- "type": "datafilter",
13
- "columnName": "Confirmed or Probable",
14
- "usedBy": [
15
- "map1738173988574",
16
- "markup-include1738174007337"
17
- ],
18
- "tier": 1,
19
- "setByQueryParameter": "confirmed",
20
- "parents": "",
21
- "orderedValues": [
22
- "Confirmed",
23
- "Probable"
24
- ]
25
- },
26
- {
27
- "key": "State or Territory",
28
- "showDropdown": true,
29
- "values": [
30
- "National",
31
- "Arizona",
32
- "California",
33
- "Colorado",
34
- "Delaware",
35
- "Iowa",
36
- "Louisiana",
37
- "Michigan",
38
- "Missouri",
39
- "Oregon",
40
- "Texas",
41
- "Washington",
42
- "Wisconsin"
43
- ],
44
- "type": "datafilter",
45
- "orderedValues": [
46
- "National",
47
- "Arizona",
48
- "California",
49
- "Colorado",
50
- "Delaware",
51
- "Iowa",
52
- "Louisiana",
53
- "Michigan",
54
- "Missouri",
55
- "Oregon",
56
- "Texas",
57
- "Washington",
58
- "Wisconsin"
59
- ],
60
- "columnName": "State",
61
- "order": "cust",
62
- "tier": 1,
63
- "usedBy": [
64
- "map1738173988574",
65
- "markup-include1738174007337"
66
- ],
67
- "setBy": "map1738173988574"
68
- }
69
- ],
70
- "title": ""
71
- },
72
- "rows": [
73
- {
74
- "columns": [
75
- {
76
- "width": 12,
77
- "widget": "dashboardFilters1738174818296"
78
- }
79
- ],
80
- "uuid": 1738261640288
81
- },
82
- {
83
- "columns": [
84
- {
85
- "width": 4,
86
- "widget": "markup-include1738174007337"
87
- },
88
- {
89
- "width": 8,
90
- "widget": "map1738173988574"
91
- }
92
- ],
93
- "uuid": 1738261639358
94
- }
95
- ],
96
- "visualizations": {
97
- "map1738173988574": {
98
- "annotations": [],
99
- "general": {
100
- "geoType": "us",
101
- "noStateFoundMessage": "Map Unavailable",
102
- "annotationDropdownText": "Annotations",
103
- "geoBorderColor": "darkGray",
104
- "headerColor": "theme-blue",
105
- "title": "",
106
- "showTitle": false,
107
- "showSidebar": true,
108
- "showDownloadButton": true,
109
- "showDownloadMediaButton": false,
110
- "displayAsHex": false,
111
- "displayStateLabels": false,
112
- "territoriesLabel": "Territories",
113
- "territoriesAlwaysShow": false,
114
- "language": "en",
115
- "geoLabelOverride": "State/Territory",
116
- "hasRegions": false,
117
- "fullBorder": false,
118
- "type": "data",
119
- "convertFipsCodes": true,
120
- "palette": {
121
- "isReversed": false
122
- },
123
- "allowMapZoom": true,
124
- "hideGeoColumnInTooltip": false,
125
- "hidePrimaryColumnInTooltip": false,
126
- "statePicked": {
127
- "fipsCode": "01",
128
- "stateName": "Alabama"
129
- },
130
- "expandDataTable": false
131
- },
132
- "type": "map",
133
- "color": "sequential-blue-2(MPX)",
134
- "columns": {
135
- "geo": {
136
- "name": "State",
137
- "label": "Location",
138
- "tooltip": false,
139
- "dataTable": true
140
- },
141
- "primary": {
142
- "dataTable": false,
143
- "tooltip": false,
144
- "prefix": "",
145
- "suffix": "",
146
- "name": "Category",
147
- "label": "",
148
- "roundToPlace": 0
149
- },
150
- "navigate": {
151
- "name": ""
152
- },
153
- "latitude": {
154
- "name": ""
155
- },
156
- "longitude": {
157
- "name": ""
158
- },
159
- "additionalColumn1": {
160
- "label": "Total Cases",
161
- "dataTable": true,
162
- "tooltips": false,
163
- "prefix": "",
164
- "suffix": "",
165
- "name": "State Total",
166
- "tooltip": true
167
- },
168
- "additionalColumn2": {
169
- "label": "Dairy Herds (Cattle)*",
170
- "dataTable": true,
171
- "tooltips": false,
172
- "prefix": "",
173
- "suffix": "",
174
- "name": "Dairy Herds",
175
- "tooltip": true
176
- },
177
- "additionalColumn3": {
178
- "label": "Poultry Farms and Culling Operations*",
179
- "dataTable": true,
180
- "tooltips": false,
181
- "prefix": "",
182
- "suffix": "",
183
- "name": "Poultry Farms and Culling Operations",
184
- "tooltip": true
185
- },
186
- "additionalColumn4": {
187
- "label": "Other Animal Exposure†",
188
- "dataTable": true,
189
- "tooltips": false,
190
- "prefix": "",
191
- "suffix": "",
192
- "name": "Other Animal Exposure",
193
- "tooltip": true
194
- },
195
- "additionalColumn5": {
196
- "label": "Exposure Source Unknown‡",
197
- "dataTable": true,
198
- "tooltips": false,
199
- "prefix": "",
200
- "suffix": "",
201
- "name": "Exposure Source Unknown",
202
- "tooltip": true
203
- }
204
- },
205
- "legend": {
206
- "descriptions": {},
207
- "specialClasses": [],
208
- "unified": false,
209
- "singleColumn": false,
210
- "singleRow": false,
211
- "verticalSorted": false,
212
- "showSpecialClassesLast": false,
213
- "dynamicDescription": false,
214
- "type": "category",
215
- "numberOfItems": 3,
216
- "position": "bottom",
217
- "title": "Total Cases",
218
- "style": "gradient",
219
- "subStyle": "linear blocks",
220
- "tickRotation": "",
221
- "singleColumnLegend": false,
222
- "hideBorder": false,
223
- "additionalCategories": [
224
- "0"
225
- ],
226
- "categoryValuesOrder": [
227
- "0",
228
- "1-5",
229
- "6-10",
230
- ">10"
231
- ]
232
- },
233
- "filters": [],
234
- "table": {
235
- "wrapColumns": false,
236
- "label": "Data Table",
237
- "expanded": false,
238
- "limitHeight": false,
239
- "height": "",
240
- "caption": "",
241
- "showDownloadUrl": false,
242
- "showDataTableLink": false,
243
- "showDownloadLinkBelow": true,
244
- "showFullGeoNameInCSV": false,
245
- "forceDisplay": true,
246
- "download": true,
247
- "indexLabel": ""
248
- },
249
- "tooltips": {
250
- "appearanceType": "hover",
251
- "linkLabel": "Learn More",
252
- "capitalizeLabels": true,
253
- "opacity": 90
254
- },
255
- "visual": {
256
- "minBubbleSize": 1,
257
- "maxBubbleSize": 20,
258
- "extraBubbleBorder": false,
259
- "cityStyle": "circle",
260
- "cityStyleLabel": "",
261
- "showBubbleZeros": false,
262
- "additionalCityStyles": [],
263
- "geoCodeCircleSize": 8
264
- },
265
- "mapPosition": {
266
- "coordinates": [
267
- 0,
268
- 30
269
- ],
270
- "zoom": 1
271
- },
272
- "map": {
273
- "layers": [],
274
- "patterns": []
275
- },
276
- "hexMap": {
277
- "type": "",
278
- "shapeGroups": [
279
- {
280
- "legendTitle": "",
281
- "legendDescription": "",
282
- "items": [
283
- {
284
- "key": "",
285
- "shape": "Arrow Up",
286
- "column": "",
287
- "operator": "=",
288
- "value": ""
289
- }
290
- ]
291
- }
292
- ]
293
- },
294
- "filterBehavior": "Filter Change",
295
- "filterIntro": "",
296
- "openModal": true,
297
- "uid": "map1738173988574",
298
- "dataDescription": {
299
- "horizontal": false,
300
- "series": false
301
- },
302
- "dataKey": "/bird-flu/modules/situation-summary/exposure-source-h5-data.csv",
303
- "version": "4.24.10",
304
- "customColors": [
305
- "#DFE1E2",
306
- "#DFE1E2",
307
- "#C0F2FD",
308
- "#C0F2FD",
309
- "#5EBAD4",
310
- "#5EBAD4",
311
- "#083352",
312
- "#083352"
313
- ]
314
- },
315
- "markup-include1738174007337": {
316
- "filters": [],
317
- "filterBehavior": "Filter Change",
318
- "openModal": false,
319
- "uid": "markup-include1738174007337",
320
- "type": "markup-include",
321
- "contentEditor": {
322
- "inlineHTML": "<p class=\"h4\">{{state}} Total Cases: {{total}} </p>\n<table class=\"table\">\n <tbody>\n <tr>\n <th>Cases</th>\n <th>Exposure Source</th>\n </tr>\n <tr>\n <td>{{dairy}}</td>\n <td>Dairy Herds (Cattle)*</td>\n </tr>\n <tr>\n <td>{{poultry}}</td>\n <td>Poultry Farms and Culling Operations*</td>\n </tr>\n <tr>\n <td>{{other}}</td>\n <td>Other Animal Exposure†</td>\n </tr> \n <tr>\n <td>{{unknown}}</td>\n <td>Exposure Source Unknown‡</td>\n </tr>\n </tbody>\n</table>\n\n<p class=\"mt-2\">NOTE: One additional case was previously detected in a poultry worker in Colorado in 2022. Louisiana reported the first H5 bird flu death in the U.S.</p>\n\n<p class=\"mt-2\">*Exposure Associated with Commercial Agriculture and Related Operations<br/>\n<sup>†</sup>Exposure was related to other animals such as backyard flocks, wild birds, or other mammals<br/>\n<sup>‡</sup>Exposure source was not able to be identified\n</p>",
323
- "markupVariables": [
324
- {
325
- "columnName": "Dairy Herds",
326
- "conditions": [],
327
- "name": "dairy",
328
- "tag": "{{dairy}}"
329
- },
330
- {
331
- "columnName": "Poultry Farms and Culling Operations",
332
- "conditions": [],
333
- "name": "poultry",
334
- "tag": "{{poultry}}"
335
- },
336
- {
337
- "columnName": "Other Animal Exposure",
338
- "conditions": [],
339
- "name": "other",
340
- "tag": "{{other}}"
341
- },
342
- {
343
- "columnName": "Exposure Source Unknown",
344
- "conditions": [],
345
- "name": "unknown",
346
- "tag": "{{unknown}}"
347
- },
348
- {
349
- "columnName": "State Total",
350
- "conditions": [],
351
- "name": "total",
352
- "tag": "{{total}}"
353
- },
354
- {
355
- "columnName": "State",
356
- "conditions": [],
357
- "name": "state",
358
- "tag": "{{state}}"
359
- }
360
- ],
361
- "showHeader": true,
362
- "srcUrl": "#example",
363
- "title": "",
364
- "useInlineHTML": true
365
- },
366
- "theme": "theme-blue",
367
- "visual": {
368
- "border": false,
369
- "accent": false,
370
- "background": false,
371
- "hideBackgroundColor": false,
372
- "borderColorTheme": false
373
- },
374
- "showEditorPanel": true,
375
- "visualizationType": "markup-include",
376
- "dataDescription": {
377
- "horizontal": false,
378
- "series": false
379
- },
380
- "dataKey": "/bird-flu/modules/situation-summary/exposure-source-h5-data.csv",
381
- "version": "4.24.10"
382
- },
383
- "dashboardFilters1738174818296": {
384
- "filters": [],
385
- "filterBehavior": "Filter Change",
386
- "newViz": true,
387
- "openModal": true,
388
- "uid": "dashboardFilters1738174818296",
389
- "type": "dashboardFilters",
390
- "sharedFilterIndexes": [
391
- 0,
392
- 1
393
- ],
394
- "visualizationType": "dashboardFilters",
395
- "applyFiltersButtonText": "Apply",
396
- "autoLoad": true
397
- }
398
- },
399
- "table": {
400
- "label": "Data Table",
401
- "show": true,
402
- "showDownloadUrl": false,
403
- "showDownloadLinkBelow": true,
404
- "showVertical": true,
405
- "download": true
406
- },
407
- "errors": [],
408
- "currentViewport": "lg",
409
- "id": 15,
410
- "category": "General",
411
- "label": "Dashboard",
412
- "type": "dashboard",
413
- "subType": null,
414
- "orientation": null,
415
- "icon": {
416
- "key": null,
417
- "ref": null,
418
- "props": {},
419
- "_owner": null
420
- },
421
- "content": "Present multiple data visualizations with shared filter controls.",
422
- "datasets": {
423
- "/bird-flu/modules/situation-summary/exposure-source-h5-data.csv": {
424
- "dataFileSize": 983,
425
- "dataFileName": "/bird-flu/modules/situation-summary/exposure-source-h5-data.csv",
426
- "dataFileSourceType": "url",
427
- "dataFileFormat": "CSV",
428
- "preview": true,
429
- "dataUrl": "/examples/private/exposure-source-h5-data.csv"
430
- }
431
- },
432
- "visualizationType": null,
433
- "activeVizButtonID": 15,
434
- "version": "4.25.1",
435
- "uuid": 1738261637793,
436
- "runtime": {},
437
- "migrations": {
438
- "addColorMigration": true
439
- }
440
- }