@civicactions/cmsds-open-data-components 3.0.0-alpha.6 → 3.0.0-alpha.8
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.
- package/README.md +20 -0
- package/dist/main.css +27 -11
- package/dist/main.css.map +1 -1
- package/dist/main.js +348 -130
- package/dist/main.js.map +1 -1
- package/dist/types.d.ts +27 -21
- package/dist/types.d.ts.map +1 -1
- package/package.json +6 -5
package/dist/main.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./main.css";
|
|
2
2
|
import {jsxs as $hgUW1$jsxs, jsx as $hgUW1$jsx, Fragment as $hgUW1$Fragment} from "react/jsx-runtime";
|
|
3
3
|
import $hgUW1$react, {useState as $hgUW1$useState, useRef as $hgUW1$useRef, useEffect as $hgUW1$useEffect} from "react";
|
|
4
|
-
import {Button as $hgUW1$Button, Accordion as $hgUW1$Accordion, AccordionItem as $hgUW1$AccordionItem, TextField as $hgUW1$TextField, Spinner as $hgUW1$Spinner, Dropdown as $hgUW1$Dropdown, Alert as $hgUW1$Alert, Pagination as $hgUW1$Pagination,
|
|
4
|
+
import {Button as $hgUW1$Button, Accordion as $hgUW1$Accordion, AccordionItem as $hgUW1$AccordionItem, TextField as $hgUW1$TextField, Spinner as $hgUW1$Spinner, Dropdown as $hgUW1$Dropdown, Alert as $hgUW1$Alert, Pagination as $hgUW1$Pagination, Choice as $hgUW1$Choice, Badge as $hgUW1$Badge, Tooltip as $hgUW1$Tooltip, Table as $hgUW1$Table, TableHead as $hgUW1$TableHead, TableRow as $hgUW1$TableRow, TableCell as $hgUW1$TableCell, TableBody as $hgUW1$TableBody, Dialog as $hgUW1$Dialog, HelpDrawer as $hgUW1$HelpDrawer} from "@cmsgov/design-system";
|
|
5
5
|
import $hgUW1$proptypes from "prop-types";
|
|
6
6
|
import {NavLink as $hgUW1$NavLink, useLocation as $hgUW1$useLocation, useSearchParams as $hgUW1$useSearchParams, Link as $hgUW1$Link, useNavigate as $hgUW1$useNavigate} from "react-router-dom";
|
|
7
7
|
import $hgUW1$qs from "qs";
|
|
@@ -11,8 +11,8 @@ import {useQuery as $hgUW1$useQuery, QueryClient as $hgUW1$QueryClient, QueryCli
|
|
|
11
11
|
import $hgUW1$axios from "axios";
|
|
12
12
|
import $hgUW1$dompurify from "dompurify";
|
|
13
13
|
import $hgUW1$reacttexttruncate from "react-text-truncate";
|
|
14
|
-
import {createColumnHelper as $hgUW1$createColumnHelper, useReactTable as $hgUW1$useReactTable, getCoreRowModel as $hgUW1$getCoreRowModel, getSortedRowModel as $hgUW1$getSortedRowModel, flexRender as $hgUW1$flexRender} from "@tanstack/react-table";
|
|
15
14
|
import {useMediaQuery as $hgUW1$useMediaQuery} from "react-responsive";
|
|
15
|
+
import {createColumnHelper as $hgUW1$createColumnHelper, useReactTable as $hgUW1$useReactTable, getCoreRowModel as $hgUW1$getCoreRowModel, getSortedRowModel as $hgUW1$getSortedRowModel, flexRender as $hgUW1$flexRender} from "@tanstack/react-table";
|
|
16
16
|
import {usePopper as $hgUW1$usePopper} from "react-popper";
|
|
17
17
|
import $hgUW1$reactdatepicker from "react-datepicker";
|
|
18
18
|
import "react-datepicker/dist/react-datepicker.css";
|
|
@@ -167,6 +167,7 @@ var $f57121650539d8c5$export$2e2bcd8739ae039 = $f57121650539d8c5$var$NavBar;
|
|
|
167
167
|
|
|
168
168
|
|
|
169
169
|
|
|
170
|
+
|
|
170
171
|
const $c96c4b9ef7203c1f$var$APIPage = ({ hideAuth: hideAuth , additionalParams: additionalParams , rootUrl: rootUrl })=>{
|
|
171
172
|
const hasACA = additionalParams && additionalParams.ACA ? true : false;
|
|
172
173
|
let params = {
|
|
@@ -270,6 +271,152 @@ var $61ff88fb3f6ee2c8$export$2e2bcd8739ae039 = $61ff88fb3f6ee2c8$var$withQueryPr
|
|
|
270
271
|
|
|
271
272
|
|
|
272
273
|
|
|
274
|
+
const $b38839fd67928f42$var$SearchItemIcon = (props)=>{
|
|
275
|
+
switch(props.id){
|
|
276
|
+
case "overview":
|
|
277
|
+
return /*#__PURE__*/ (0, $hgUW1$jsxs)("svg", {
|
|
278
|
+
width: "16px",
|
|
279
|
+
height: "16px",
|
|
280
|
+
viewBox: "0 0 16 16",
|
|
281
|
+
version: "1.1",
|
|
282
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
283
|
+
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
284
|
+
children: [
|
|
285
|
+
/*#__PURE__*/ (0, $hgUW1$jsx)("title", {
|
|
286
|
+
children: "Overview Icon"
|
|
287
|
+
}),
|
|
288
|
+
/*#__PURE__*/ (0, $hgUW1$jsx)("g", {
|
|
289
|
+
stroke: "none",
|
|
290
|
+
strokeWidth: "1",
|
|
291
|
+
fillRule: "evenodd",
|
|
292
|
+
children: /*#__PURE__*/ (0, $hgUW1$jsx)("g", {
|
|
293
|
+
transform: "translate(0.000000, -4.000000)",
|
|
294
|
+
fillRule: "nonzero",
|
|
295
|
+
children: /*#__PURE__*/ (0, $hgUW1$jsx)("g", {
|
|
296
|
+
transform: "translate(0.000000, -1.000000)",
|
|
297
|
+
children: /*#__PURE__*/ (0, $hgUW1$jsxs)("g", {
|
|
298
|
+
transform: "translate(0.000000, 5.000000)",
|
|
299
|
+
children: [
|
|
300
|
+
/*#__PURE__*/ (0, $hgUW1$jsx)("g", {
|
|
301
|
+
children: /*#__PURE__*/ (0, $hgUW1$jsx)("path", {
|
|
302
|
+
d: "M9.55610973,15.6404494 C9.31670823,15.8801498 9.02743142,16 8.6882793,16 C8.34912718,16 8.05985037,15.8801498 7.82044888,15.6404494 L0.33915212,8.14981273 C0.206151288,8.01664586 0.116375727,7.87682064 0.0698254364,7.73033708 C0.0232751455,7.58385352 0,7.43071161 0,7.27091136 L0,1.19850187 C0,0.852267998 0.113050707,0.565959218 0.33915212,0.339575531 C0.565253533,0.113191844 0.85120532,0 1.19700748,0 L7.26184539,0 C7.42144638,0 7.58104738,0.0233042031 7.74064838,0.0699126092 C7.90024938,0.116521015 8.04655029,0.206408656 8.17955112,0.339575531 L15.6209476,7.79026217 C15.8736492,8.04327923 16,8.33957553 16,8.67915106 C16,9.01872659 15.8736492,9.31502289 15.6209476,9.56803995 L9.55610973,15.6404494 Z M8.75953079,15 L15,8.75953079 L7.24046921,1 L1,1 L1,7.24046921 L8.75953079,15 Z M3,4 C3.26923077,4 3.50320513,3.90064103 3.70192308,3.70192308 C3.90064103,3.50320513 4,3.26923077 4,3 C4,2.73076923 3.90064103,2.49679487 3.70192308,2.29807692 C3.50320513,2.09935897 3.26923077,2 3,2 C2.73076923,2 2.49679487,2.09935897 2.29807692,2.29807692 C2.09935897,2.49679487 2,2.73076923 2,3 C2,3.26923077 2.09935897,3.50320513 2.29807692,3.70192308 C2.49679487,3.90064103 2.73076923,4 3,4 L3,4 Z"
|
|
303
|
+
})
|
|
304
|
+
}),
|
|
305
|
+
/*#__PURE__*/ (0, $hgUW1$jsx)("g", {
|
|
306
|
+
transform: "translate(7.890470, 8.890470) rotate(45.000000) translate(-7.890470, -8.890470) translate(3.543164, 6.321607)",
|
|
307
|
+
children: /*#__PURE__*/ (0, $hgUW1$jsx)("path", {
|
|
308
|
+
d: "M6.16557222,4.98656515 C6.09634145,5.05213515 6.01557222,5.08309876 5.92326452,5.07945598 C5.83095683,5.07581321 5.7501876,5.04120682 5.68095683,4.97563682 C5.61172606,4.91006682 5.57711068,4.8317471 5.57711068,4.74067766 C5.57711068,4.64960821 5.61172606,4.57128849 5.68095683,4.50571849 L7.72326452,2.57140353 L5.69249529,0.648016895 C5.62326452,0.582446896 5.59057222,0.504127176 5.59441837,0.413057733 C5.59826452,0.32198829 5.63480299,0.243668569 5.70403375,0.17809857 C5.77326452,0.112528571 5.85595683,0.0797435719 5.95211068,0.0797435719 C6.04826452,0.0797435719 6.13095683,0.112528571 6.2001876,0.17809857 L8.47326452,2.34190853 C8.54249529,2.40747853 8.57711068,2.48397686 8.57711068,2.57140353 C8.57711068,2.65883019 8.54249529,2.73532853 8.47326452,2.80089852 L6.16557222,4.98656515 Z M2.29670341,4.98413866 L0.0208413435,2.82877761 C-0.0481241737,2.7631321 -0.0826069324,2.68654566 -0.0826069324,2.59901831 C-0.0826069324,2.51149096 -0.0481241737,2.43490453 0.0208413435,2.36925901 L2.31969192,0.181075204 C2.38865744,0.115429689 2.47103291,0.0826069324 2.56681835,0.0826069324 C2.6626038,0.0826069324 2.74497927,0.115429689 2.81394479,0.181075204 C2.88291031,0.246720718 2.91739307,0.325130638 2.91739307,0.416304963 C2.91739307,0.507479288 2.88291031,0.585889208 2.81394479,0.651534722 L0.76796778,2.59901831 L2.79095629,4.52462006 C2.8599218,4.59026558 2.89440456,4.66685201 2.89440456,4.75437936 C2.89440456,4.84190671 2.8599218,4.91849315 2.79095629,4.98413866 C2.72199077,5.04978418 2.63961529,5.08260693 2.54382985,5.08260693 C2.44804441,5.08260693 2.36566893,5.04978418 2.29670341,4.98413866 L2.29670341,4.98413866 Z"
|
|
309
|
+
})
|
|
310
|
+
})
|
|
311
|
+
]
|
|
312
|
+
})
|
|
313
|
+
})
|
|
314
|
+
})
|
|
315
|
+
})
|
|
316
|
+
]
|
|
317
|
+
});
|
|
318
|
+
case "data-table":
|
|
319
|
+
return /*#__PURE__*/ (0, $hgUW1$jsxs)("svg", {
|
|
320
|
+
width: "16px",
|
|
321
|
+
height: "12px",
|
|
322
|
+
viewBox: "0 0 16 12",
|
|
323
|
+
version: "1.1",
|
|
324
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
325
|
+
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
326
|
+
children: [
|
|
327
|
+
/*#__PURE__*/ (0, $hgUW1$jsx)("title", {
|
|
328
|
+
children: "Data Table Icon"
|
|
329
|
+
}),
|
|
330
|
+
/*#__PURE__*/ (0, $hgUW1$jsx)("g", {
|
|
331
|
+
stroke: "none",
|
|
332
|
+
strokeWidth: "1",
|
|
333
|
+
fillRule: "evenodd",
|
|
334
|
+
children: /*#__PURE__*/ (0, $hgUW1$jsx)("g", {
|
|
335
|
+
transform: "translate(-132.000000, -6.000000)",
|
|
336
|
+
fillRule: "nonzero",
|
|
337
|
+
children: /*#__PURE__*/ (0, $hgUW1$jsx)("g", {
|
|
338
|
+
transform: "translate(132.000000, -1.000000)",
|
|
339
|
+
children: /*#__PURE__*/ (0, $hgUW1$jsx)("g", {
|
|
340
|
+
transform: "translate(8.000000, 13.000000) scale(1, -1) translate(-8.000000, -13.000000) translate(0.000000, 7.000000)",
|
|
341
|
+
children: /*#__PURE__*/ (0, $hgUW1$jsx)("path", {
|
|
342
|
+
d: "M0,12 L0,0 L16,0 L16,12 L0,12 Z M1,10 L5,10 L5,1 L1,1 L1,10 Z M6,10 L10,10 L10,1 L6,1 L6,10 Z M11,10 L15,10 L15,1 L11,1 L11,10 Z"
|
|
343
|
+
})
|
|
344
|
+
})
|
|
345
|
+
})
|
|
346
|
+
})
|
|
347
|
+
})
|
|
348
|
+
]
|
|
349
|
+
});
|
|
350
|
+
case "api":
|
|
351
|
+
return /*#__PURE__*/ (0, $hgUW1$jsxs)("svg", {
|
|
352
|
+
width: "16px",
|
|
353
|
+
height: "13px",
|
|
354
|
+
viewBox: "0 0 16 13",
|
|
355
|
+
version: "1.1",
|
|
356
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
357
|
+
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
358
|
+
children: [
|
|
359
|
+
/*#__PURE__*/ (0, $hgUW1$jsx)("title", {
|
|
360
|
+
children: "API Icon"
|
|
361
|
+
}),
|
|
362
|
+
/*#__PURE__*/ (0, $hgUW1$jsx)("g", {
|
|
363
|
+
stroke: "none",
|
|
364
|
+
strokeWidth: "1",
|
|
365
|
+
fillRule: "evenodd",
|
|
366
|
+
children: /*#__PURE__*/ (0, $hgUW1$jsx)("g", {
|
|
367
|
+
transform: "translate(-279.000000, -6.000000)",
|
|
368
|
+
fillRule: "nonzero",
|
|
369
|
+
children: /*#__PURE__*/ (0, $hgUW1$jsx)("g", {
|
|
370
|
+
transform: "translate(279.000000, -1.000000)",
|
|
371
|
+
children: /*#__PURE__*/ (0, $hgUW1$jsx)("g", {
|
|
372
|
+
transform: "translate(0.000000, 7.000000)",
|
|
373
|
+
children: /*#__PURE__*/ (0, $hgUW1$jsx)("path", {
|
|
374
|
+
d: "M10.5806452,13 C10.4129032,13 10.2741935,12.9424479 10.1645161,12.8273438 C10.0548387,12.7122396 10,12.5666667 10,12.390625 C10,12.2145833 10.0548387,12.0690104 10.1645161,11.9539062 C10.2741935,11.8388021 10.4129032,11.78125 10.5806452,11.78125 L12.3225806,11.78125 C12.5935484,11.78125 12.8225806,11.6830729 13.0096774,11.4867188 C13.1967742,11.2903646 13.2903226,11.05 13.2903226,10.765625 L13.2903226,8.734375 C13.2903226,8.23333333 13.4354839,7.78645833 13.7258065,7.39375 C14.016129,7.00104167 14.3870968,6.73020833 14.8387097,6.58125 L14.8387097,6.41875 C14.3870968,6.28333333 14.016129,6.01588542 13.7258065,5.61640625 C13.4354839,5.21692708 13.2903226,4.76666667 13.2903226,4.265625 L13.2903226,2.234375 C13.2903226,1.95 13.1967742,1.70963542 13.0096774,1.51328125 C12.8225806,1.31692708 12.5935484,1.21875 12.3225806,1.21875 L10.5806452,1.21875 C10.4129032,1.21875 10.2741935,1.16119792 10.1645161,1.04609375 C10.0548387,0.930989583 10,0.785416667 10,0.609375 C10,0.433333333 10.0548387,0.287760417 10.1645161,0.17265625 C10.2741935,0.0575520833 10.4129032,8.8817842e-16 10.5806452,8.8817842e-16 L12.3225806,8.8817842e-16 C12.916129,8.8817842e-16 13.4193548,0.216666667 13.8322581,0.65 C14.2451613,1.08333333 14.4516129,1.61145833 14.4516129,2.234375 L14.4516129,4.265625 C14.4516129,4.55 14.5451613,4.79036458 14.7322581,4.98671875 C14.9193548,5.18307292 15.1483871,5.28125 15.4193548,5.28125 C15.5870968,5.28125 15.7258065,5.33880208 15.8354839,5.45390625 C15.9451613,5.56901042 16,5.71458333 16,5.890625 L16,7.109375 C16,7.271875 15.9451613,7.4140625 15.8354839,7.5359375 C15.7258065,7.6578125 15.5870968,7.71875 15.4193548,7.71875 C15.1483871,7.71875 14.9193548,7.81692708 14.7322581,8.01328125 C14.5451613,8.20963542 14.4516129,8.45 14.4516129,8.734375 L14.4516129,10.765625 C14.4516129,11.3885417 14.2451613,11.9166667 13.8322581,12.35 C13.4193548,12.7833333 12.916129,13 12.3225806,13 L10.5806452,13 Z M3.67741935,13 C3.08387097,13 2.58064516,12.7833333 2.16774194,12.35 C1.75483871,11.9166667 1.5483871,11.3885417 1.5483871,10.765625 L1.5483871,8.734375 C1.5483871,8.45 1.45483871,8.20963542 1.26774194,8.01328125 C1.08064516,7.81692708 0.851612903,7.71875 0.580645161,7.71875 C0.425806452,7.71875 0.290322581,7.6578125 0.174193548,7.5359375 C0.0580645161,7.4140625 3.52606833e-13,7.271875 3.52606833e-13,7.109375 L3.52606833e-13,5.890625 C3.52606833e-13,5.71458333 0.0580645161,5.56901042 0.174193548,5.45390625 C0.290322581,5.33880208 0.425806452,5.28125 0.580645161,5.28125 C0.851612903,5.28125 1.08064516,5.18307292 1.26774194,4.98671875 C1.45483871,4.79036458 1.5483871,4.55 1.5483871,4.265625 L1.5483871,2.234375 C1.5483871,1.61145833 1.75483871,1.08333333 2.16774194,0.65 C2.58064516,0.216666667 3.08387097,8.8817842e-16 3.67741935,8.8817842e-16 L5.41935484,8.8817842e-16 C5.58709677,8.8817842e-16 5.72580645,0.0575520833 5.83548387,0.17265625 C5.94516129,0.287760417 6,0.433333333 6,0.609375 C6,0.785416667 5.94516129,0.930989583 5.83548387,1.04609375 C5.72580645,1.16119792 5.58709677,1.21875 5.41935484,1.21875 L3.67741935,1.21875 C3.40645161,1.21875 3.17741935,1.31692708 2.99032258,1.51328125 C2.80322581,1.70963542 2.70967742,1.95 2.70967742,2.234375 L2.70967742,4.265625 C2.70967742,4.76666667 2.56451613,5.21692708 2.27419355,5.61640625 C1.98387097,6.01588542 1.61290323,6.28333333 1.16129032,6.41875 L1.16129032,6.58125 C1.61290323,6.73020833 1.98387097,7.00104167 2.27419355,7.39375 C2.56451613,7.78645833 2.70967742,8.23333333 2.70967742,8.734375 L2.70967742,10.765625 C2.70967742,11.05 2.80322581,11.2903646 2.99032258,11.4867188 C3.17741935,11.6830729 3.40645161,11.78125 3.67741935,11.78125 L5.41935484,11.78125 C5.58709677,11.78125 5.72580645,11.8388021 5.83548387,11.9539062 C5.94516129,12.0690104 6,12.2145833 6,12.390625 C6,12.5666667 5.94516129,12.7122396 5.83548387,12.8273438 C5.72580645,12.9424479 5.58709677,13 5.41935484,13 L3.67741935,13 Z"
|
|
375
|
+
})
|
|
376
|
+
})
|
|
377
|
+
})
|
|
378
|
+
})
|
|
379
|
+
})
|
|
380
|
+
]
|
|
381
|
+
});
|
|
382
|
+
case "download":
|
|
383
|
+
return /*#__PURE__*/ (0, $hgUW1$jsxs)("svg", {
|
|
384
|
+
width: "16px",
|
|
385
|
+
height: "16px",
|
|
386
|
+
viewBox: "0 0 16 16",
|
|
387
|
+
version: "1.1",
|
|
388
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
389
|
+
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
390
|
+
children: [
|
|
391
|
+
/*#__PURE__*/ (0, $hgUW1$jsx)("title", {
|
|
392
|
+
children: "Download Icon"
|
|
393
|
+
}),
|
|
394
|
+
/*#__PURE__*/ (0, $hgUW1$jsx)("g", {
|
|
395
|
+
stroke: "none",
|
|
396
|
+
strokeWidth: "1",
|
|
397
|
+
fillRule: "evenodd",
|
|
398
|
+
children: /*#__PURE__*/ (0, $hgUW1$jsx)("g", {
|
|
399
|
+
transform: "translate(-370.000000, -4.000000)",
|
|
400
|
+
fillRule: "nonzero",
|
|
401
|
+
children: /*#__PURE__*/ (0, $hgUW1$jsx)("g", {
|
|
402
|
+
transform: "translate(370.000000, -1.000000)",
|
|
403
|
+
children: /*#__PURE__*/ (0, $hgUW1$jsx)("path", {
|
|
404
|
+
d: "M9,6 C9,5.446875 8.553125,5 8,5 C7.446875,5 7,5.446875 7,6 L7,13.584375 L4.70625,11.290625 C4.315625,10.9 3.68125,10.9 3.290625,11.290625 C2.9,11.68125 2.9,12.315625 3.290625,12.70625 L7.290625,16.70625 C7.68125,17.096875 8.315625,17.096875 8.70625,16.70625 L12.70625,12.70625 C13.096875,12.315625 13.096875,11.68125 12.70625,11.290625 C12.315625,10.9 11.68125,10.9 11.290625,11.290625 L9,13.584375 L9,6 Z M2,16 C0.896875,16 0,16.896875 0,18 L0,19 C0,20.103125 0.896875,21 2,21 L14,21 C15.103125,21 16,20.103125 16,19 L16,18 C16,16.896875 15.103125,16 14,16 L10.828125,16 L9.4125,17.415625 C8.63125,18.196875 7.365625,18.196875 6.584375,17.415625 L5.171875,16 L2,16 Z M13.5,19.25 C13.084375,19.25 12.75,18.915625 12.75,18.5 C12.75,18.084375 13.084375,17.75 13.5,17.75 C13.915625,17.75 14.25,18.084375 14.25,18.5 C14.25,18.915625 13.915625,19.25 13.5,19.25 Z"
|
|
405
|
+
})
|
|
406
|
+
})
|
|
407
|
+
})
|
|
408
|
+
})
|
|
409
|
+
]
|
|
410
|
+
});
|
|
411
|
+
default:
|
|
412
|
+
return null;
|
|
413
|
+
}
|
|
414
|
+
};
|
|
415
|
+
var $b38839fd67928f42$export$2e2bcd8739ae039 = $b38839fd67928f42$var$SearchItemIcon;
|
|
416
|
+
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
|
|
273
420
|
const $bd76a91923d7e8a7$var$TransformedDate = ({ date: date , options: options })=>{
|
|
274
421
|
const rawDate = new Date(date);
|
|
275
422
|
let modifiedDate = "";
|
|
@@ -290,77 +437,138 @@ var $bd76a91923d7e8a7$export$2e2bcd8739ae039 = $bd76a91923d7e8a7$var$Transformed
|
|
|
290
437
|
|
|
291
438
|
|
|
292
439
|
|
|
293
|
-
const $
|
|
440
|
+
const $52c6454cae137465$var$dangerousDescriptionElement = ({ children: children })=>/*#__PURE__*/ (0, $hgUW1$jsx)("span", {
|
|
294
441
|
dangerouslySetInnerHTML: {
|
|
295
442
|
__html: (0, $hgUW1$dompurify).sanitize(children)
|
|
296
443
|
}
|
|
297
444
|
});
|
|
298
|
-
const $
|
|
299
|
-
const
|
|
445
|
+
const $52c6454cae137465$var$DatasetSearchListItem = (props)=>{
|
|
446
|
+
const desktop = (0, $hgUW1$useMediaQuery)({
|
|
447
|
+
minWidth: 1024
|
|
448
|
+
});
|
|
449
|
+
const { title: title , modified: modified , description: description , theme: theme , identifier: identifier , downloadUrl: downloadUrl , largeFile: largeFile = false } = props;
|
|
450
|
+
let linkContainerClasses = "ds-l-col--12 ds-u-margin-bottom--2";
|
|
451
|
+
let linkClasses = "ds-c-button ds-u-display--block ds-u-text-align--left";
|
|
452
|
+
if (desktop) {
|
|
453
|
+
linkContainerClasses = "ds-l-col--auto";
|
|
454
|
+
linkClasses = "ds-u-display--block ds-u-text-align--left";
|
|
455
|
+
}
|
|
300
456
|
const truncatedDescription = /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$reacttexttruncate), {
|
|
301
457
|
line: 3,
|
|
302
458
|
element: "p",
|
|
303
459
|
containerClassName: "ds-u-margin-top--0",
|
|
304
460
|
truncateText: "…",
|
|
305
|
-
textElement: $
|
|
461
|
+
textElement: $52c6454cae137465$var$dangerousDescriptionElement,
|
|
306
462
|
text: description,
|
|
307
463
|
textTruncateChild: ""
|
|
308
464
|
});
|
|
309
|
-
return /*#__PURE__*/ (0, $hgUW1$
|
|
310
|
-
className: "dc-
|
|
311
|
-
children:
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
className: "ds-
|
|
319
|
-
children:
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
"Updated ",
|
|
332
|
-
/*#__PURE__*/ (0, $hgUW1$jsx)((0, $bd76a91923d7e8a7$export$2e2bcd8739ae039), {
|
|
333
|
-
date: modified
|
|
465
|
+
return /*#__PURE__*/ (0, $hgUW1$jsx)("li", {
|
|
466
|
+
className: "dc-c-search-list-item",
|
|
467
|
+
children: /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
|
|
468
|
+
className: "dc-c-searchlist-item ds-u-border-top--1 ds-u-margin-bottom--4",
|
|
469
|
+
children: [
|
|
470
|
+
/*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
|
|
471
|
+
className: "ds-l-row ds-u-align-items--start",
|
|
472
|
+
children: [
|
|
473
|
+
/*#__PURE__*/ (0, $hgUW1$jsxs)("span", {
|
|
474
|
+
className: "ds-l-col--12 ds-u-text-align--right ds-u-padding-top--2",
|
|
475
|
+
children: [
|
|
476
|
+
"Updated ",
|
|
477
|
+
/*#__PURE__*/ (0, $hgUW1$jsx)((0, $bd76a91923d7e8a7$export$2e2bcd8739ae039), {
|
|
478
|
+
date: modified
|
|
479
|
+
})
|
|
480
|
+
]
|
|
481
|
+
}),
|
|
482
|
+
/*#__PURE__*/ (0, $hgUW1$jsx)("h2", {
|
|
483
|
+
className: "ds-l-col--12 ds-text-heading--2xl",
|
|
484
|
+
children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Link), {
|
|
485
|
+
to: `/dataset/${identifier}`,
|
|
486
|
+
children: title
|
|
334
487
|
})
|
|
335
|
-
|
|
488
|
+
})
|
|
489
|
+
]
|
|
490
|
+
}),
|
|
491
|
+
/*#__PURE__*/ (0, $hgUW1$jsx)("div", {
|
|
492
|
+
className: "ds-l-row",
|
|
493
|
+
children: /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
|
|
494
|
+
className: "ds-l-col--12 ds-l-md-col--12",
|
|
495
|
+
children: truncatedDescription
|
|
336
496
|
})
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
497
|
+
}),
|
|
498
|
+
/*#__PURE__*/ (0, $hgUW1$jsxs)("ul", {
|
|
499
|
+
className: "ds-l-row ds-u-padding--0 ds-u-flex-direction--row",
|
|
500
|
+
children: [
|
|
501
|
+
/*#__PURE__*/ (0, $hgUW1$jsx)("li", {
|
|
502
|
+
className: linkContainerClasses,
|
|
503
|
+
children: /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
|
|
504
|
+
className: linkClasses,
|
|
505
|
+
children: /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Link), {
|
|
506
|
+
to: `/dataset/${identifier}#overview`,
|
|
507
|
+
children: [
|
|
508
|
+
/*#__PURE__*/ (0, $hgUW1$jsx)((0, $b38839fd67928f42$export$2e2bcd8739ae039), {
|
|
509
|
+
id: "overview"
|
|
510
|
+
}),
|
|
511
|
+
"Overview"
|
|
512
|
+
]
|
|
513
|
+
})
|
|
514
|
+
})
|
|
515
|
+
}),
|
|
516
|
+
/*#__PURE__*/ (0, $hgUW1$jsx)("li", {
|
|
517
|
+
className: linkContainerClasses,
|
|
518
|
+
children: /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
|
|
519
|
+
className: linkClasses,
|
|
520
|
+
children: /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Link), {
|
|
521
|
+
to: `/dataset/${identifier}#data-table`,
|
|
522
|
+
children: [
|
|
523
|
+
/*#__PURE__*/ (0, $hgUW1$jsx)((0, $b38839fd67928f42$export$2e2bcd8739ae039), {
|
|
524
|
+
id: "data-table"
|
|
525
|
+
}),
|
|
526
|
+
"Data Table"
|
|
527
|
+
]
|
|
528
|
+
})
|
|
529
|
+
})
|
|
530
|
+
}),
|
|
531
|
+
/*#__PURE__*/ (0, $hgUW1$jsx)("li", {
|
|
532
|
+
className: linkContainerClasses,
|
|
533
|
+
children: /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
|
|
534
|
+
className: linkClasses,
|
|
535
|
+
children: /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Link), {
|
|
536
|
+
to: `/dataset/${identifier}#api`,
|
|
537
|
+
children: [
|
|
538
|
+
/*#__PURE__*/ (0, $hgUW1$jsx)((0, $b38839fd67928f42$export$2e2bcd8739ae039), {
|
|
539
|
+
id: "api"
|
|
540
|
+
}),
|
|
541
|
+
"API"
|
|
542
|
+
]
|
|
543
|
+
})
|
|
544
|
+
})
|
|
545
|
+
}),
|
|
546
|
+
downloadUrl ? /*#__PURE__*/ (0, $hgUW1$jsx)("li", {
|
|
547
|
+
className: linkContainerClasses,
|
|
548
|
+
children: /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
|
|
549
|
+
className: linkClasses,
|
|
550
|
+
children: largeFile ? /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
|
|
551
|
+
children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $b38839fd67928f42$export$2e2bcd8739ae039), {
|
|
552
|
+
id: "download"
|
|
553
|
+
})
|
|
554
|
+
}) : /*#__PURE__*/ (0, $hgUW1$jsxs)("a", {
|
|
555
|
+
href: downloadUrl,
|
|
556
|
+
children: [
|
|
557
|
+
/*#__PURE__*/ (0, $hgUW1$jsx)((0, $b38839fd67928f42$export$2e2bcd8739ae039), {
|
|
558
|
+
id: "download"
|
|
559
|
+
}),
|
|
560
|
+
"Download"
|
|
561
|
+
]
|
|
562
|
+
})
|
|
356
563
|
})
|
|
357
|
-
}
|
|
564
|
+
}) : ""
|
|
565
|
+
]
|
|
358
566
|
})
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
});
|
|
567
|
+
]
|
|
568
|
+
})
|
|
569
|
+
}, identifier);
|
|
362
570
|
};
|
|
363
|
-
var $
|
|
571
|
+
var $52c6454cae137465$export$2e2bcd8739ae039 = $52c6454cae137465$var$DatasetSearchListItem;
|
|
364
572
|
|
|
365
573
|
|
|
366
574
|
|
|
@@ -461,7 +669,7 @@ const $5723016a5461c1ca$var$PageHeader = (props)=>{
|
|
|
461
669
|
children: /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
|
|
462
670
|
className: "ds-l-md-col--8",
|
|
463
671
|
children: /*#__PURE__*/ (0, $hgUW1$jsx)("h1", {
|
|
464
|
-
className: "dc-c-entity__name ds-
|
|
672
|
+
className: "dc-c-entity__name ds-text-heading--3xl ds-u-margin-bottom--6",
|
|
465
673
|
children: /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
|
|
466
674
|
className: "ds-u-margin-right--2",
|
|
467
675
|
"data-testid": "profile-full-name",
|
|
@@ -531,7 +739,7 @@ async function $eff7d34c30f5a0fc$export$2d2256cb46e92ff7(rootUrl, options, addit
|
|
|
531
739
|
|
|
532
740
|
|
|
533
741
|
const $e873081a6e8f024e$var$DatasetSearch = (props)=>{
|
|
534
|
-
const { rootUrl: rootUrl , surveyLink: surveyLink , additionalParams: additionalParams , enableSort: enableSort , defaultSort: defaultSort , pageTitle: pageTitle , filterTitle: filterTitle , showLargeFileWarning: showLargeFileWarning , introText: introText } = props;
|
|
742
|
+
const { rootUrl: rootUrl , surveyLink: surveyLink , additionalParams: additionalParams , enableSort: enableSort , defaultSort: defaultSort , pageTitle: pageTitle , filterTitle: filterTitle , showLargeFileWarning: showLargeFileWarning , introText: introText , showDownloadIcon: showDownloadIcon } = props;
|
|
535
743
|
const sortOptions = [
|
|
536
744
|
{
|
|
537
745
|
label: "Newest",
|
|
@@ -684,8 +892,11 @@ const $e873081a6e8f024e$var$DatasetSearch = (props)=>{
|
|
|
684
892
|
arrayFormat: "comma",
|
|
685
893
|
encode: false
|
|
686
894
|
})}`));
|
|
687
|
-
if (data && totalItems != data.data.total) setTotalItems(data.data.total);
|
|
688
|
-
const facets = (0, $eff7d34c30f5a0fc$export$959638e8dca60ce6)(data ? data.data.facets : [])
|
|
895
|
+
if (data && data.data.total && totalItems != data.data.total) setTotalItems(data.data.total);
|
|
896
|
+
const facets = data && data.data.facets ? (0, $eff7d34c30f5a0fc$export$959638e8dca60ce6)(data ? data.data.facets : []) : {
|
|
897
|
+
theme: null,
|
|
898
|
+
keyword: null
|
|
899
|
+
};
|
|
689
900
|
return /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Fragment), {
|
|
690
901
|
children: [
|
|
691
902
|
/*#__PURE__*/ (0, $hgUW1$jsx)((0, $5723016a5461c1ca$export$2e2bcd8739ae039), {
|
|
@@ -778,7 +989,7 @@ const $e873081a6e8f024e$var$DatasetSearch = (props)=>{
|
|
|
778
989
|
children: [
|
|
779
990
|
/*#__PURE__*/ (0, $hgUW1$jsx)("div", {
|
|
780
991
|
className: "ds-l-col--12 ds-l-sm-col--6 ds-l-md-col--8",
|
|
781
|
-
children: currentResultNumbers && /*#__PURE__*/ (0, $hgUW1$jsxs)("p", {
|
|
992
|
+
children: currentResultNumbers && data && /*#__PURE__*/ (0, $hgUW1$jsxs)("p", {
|
|
782
993
|
className: "ds-u-margin-y--0",
|
|
783
994
|
role: "region",
|
|
784
995
|
"aria-live": "polite",
|
|
@@ -816,18 +1027,29 @@ const $e873081a6e8f024e$var$DatasetSearch = (props)=>{
|
|
|
816
1027
|
variation: "error",
|
|
817
1028
|
heading: "No results found."
|
|
818
1029
|
}),
|
|
819
|
-
data && Object.keys(data.data.results).map((key)=>{
|
|
1030
|
+
data && data.data.results ? Object.keys(data.data.results).map((key)=>{
|
|
820
1031
|
return data.data.results[key];
|
|
821
|
-
}).map((item)
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
1032
|
+
}).map((item)=>{
|
|
1033
|
+
function getDownloadUrl(item) {
|
|
1034
|
+
let distribution_array = item.distribution ? item.distribution : [];
|
|
1035
|
+
return distribution_array.length ? item.distribution[0].downloadURL : null;
|
|
1036
|
+
}
|
|
1037
|
+
return /*#__PURE__*/ (0, $hgUW1$jsx)((0, $52c6454cae137465$export$2e2bcd8739ae039), {
|
|
1038
|
+
title: item.title,
|
|
1039
|
+
modified: item.modified,
|
|
1040
|
+
description: item.description,
|
|
1041
|
+
theme: item.theme,
|
|
1042
|
+
identifier: item.identifier,
|
|
1043
|
+
downloadUrl: showDownloadIcon ? getDownloadUrl(item) : null,
|
|
1044
|
+
largeFile: item.theme && item.theme.includes("General Payments")
|
|
1045
|
+
});
|
|
1046
|
+
}) : /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Alert), {
|
|
1047
|
+
variation: "error",
|
|
1048
|
+
heading: "Could not connect to the API."
|
|
1049
|
+
})
|
|
828
1050
|
]
|
|
829
1051
|
}),
|
|
830
|
-
data && data.data.total != 0 && /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Pagination), {
|
|
1052
|
+
data && data.data.total && data.data.total != 0 && /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Pagination), {
|
|
831
1053
|
currentPage: Number(page),
|
|
832
1054
|
totalPages: Math.ceil(Number(data.data.total) / pageSize),
|
|
833
1055
|
onPageChange: (evt, page)=>{
|
|
@@ -882,7 +1104,8 @@ $e873081a6e8f024e$var$DatasetSearch.defaultProps = {
|
|
|
882
1104
|
defaultSort: "modified",
|
|
883
1105
|
defaultOrder: "desc"
|
|
884
1106
|
},
|
|
885
|
-
showLargeFileWarning: false
|
|
1107
|
+
showLargeFileWarning: false,
|
|
1108
|
+
showDownloadIcon: false
|
|
886
1109
|
};
|
|
887
1110
|
var $e873081a6e8f024e$export$2e2bcd8739ae039 = (0, $61ff88fb3f6ee2c8$export$2e2bcd8739ae039)($e873081a6e8f024e$var$DatasetSearch);
|
|
888
1111
|
|
|
@@ -1383,7 +1606,7 @@ const $2ed0091f7e32d1e6$var$DataTablePageResults = ({ totalRows: totalRows , lim
|
|
|
1383
1606
|
});
|
|
1384
1607
|
};
|
|
1385
1608
|
$2ed0091f7e32d1e6$var$DataTablePageResults.defaultProps = {
|
|
1386
|
-
className: "data-table-results"
|
|
1609
|
+
className: "data-table-results ds-u-margin-bottom--2"
|
|
1387
1610
|
};
|
|
1388
1611
|
$2ed0091f7e32d1e6$var$DataTablePageResults.propTypes = {
|
|
1389
1612
|
className: (0, $hgUW1$proptypes).string,
|
|
@@ -1454,7 +1677,7 @@ const $4def8e29c2039eb8$var$DataTableRowChanger = ({ setLimit: setLimit , rowOpt
|
|
|
1454
1677
|
return /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
|
|
1455
1678
|
children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Dropdown), {
|
|
1456
1679
|
options: rowOptions.map((row)=>({
|
|
1457
|
-
label: row,
|
|
1680
|
+
label: row.toString(),
|
|
1458
1681
|
value: row
|
|
1459
1682
|
})),
|
|
1460
1683
|
size: "small",
|
|
@@ -1569,6 +1792,7 @@ const $ec9e1550b0b034d0$var$SettingsIcon = ()=>/*#__PURE__*/ (0, $hgUW1$jsxs)("s
|
|
|
1569
1792
|
var $ec9e1550b0b034d0$export$2e2bcd8739ae039 = $ec9e1550b0b034d0$var$SettingsIcon;
|
|
1570
1793
|
|
|
1571
1794
|
|
|
1795
|
+
|
|
1572
1796
|
const $af099c546cb226c7$var$ResourceHeader = ({ setTablePadding: setTablePadding , id: id , distribution: distribution , includeFiltered: includeFiltered , includeDensity: includeDensity , includeDownload: includeDownload , resource: resource , tablePadding: tablePadding , downloadUrl: downloadUrl })=>{
|
|
1573
1797
|
const md = (0, $hgUW1$useMediaQuery)({
|
|
1574
1798
|
minWidth: 0,
|
|
@@ -1654,7 +1878,7 @@ const $af099c546cb226c7$var$ResourceHeader = ({ setTablePadding: setTablePadding
|
|
|
1654
1878
|
]
|
|
1655
1879
|
}),
|
|
1656
1880
|
/*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Tooltip), {
|
|
1657
|
-
className: "ds-c-button ds-c-button--small ds-u-text-align--left",
|
|
1881
|
+
className: "ds-c-button ds-c-button--small ds-u-text-align--left display-settings-font",
|
|
1658
1882
|
placement: "bottom",
|
|
1659
1883
|
dialog: true,
|
|
1660
1884
|
ariaLabel: "Display settings",
|
|
@@ -1701,12 +1925,12 @@ const $17193a17e26a72da$var$DatasetTags = ({ keywords: keywords })=>{
|
|
|
1701
1925
|
className: "dc-c-dataset-tags ds-u-margin-bottom--3 ds-u-padding--2 ds-u-border ds-u-border--1",
|
|
1702
1926
|
children: [
|
|
1703
1927
|
/*#__PURE__*/ (0, $hgUW1$jsx)("h2", {
|
|
1704
|
-
className: "ds-u-color--primary ds-u-font-size--
|
|
1928
|
+
className: "ds-u-color--primary ds-u-font-size--xl ds-u-margin-top--0 ds-u-margin-bottom--2",
|
|
1705
1929
|
children: "Tags"
|
|
1706
1930
|
}),
|
|
1707
1931
|
keywords && keywords.map((k)=>/*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Link), {
|
|
1708
1932
|
to: `/datasets?keyword[]=${k.data}`,
|
|
1709
|
-
className: "dc-c-dataset-tags--tag ds-u-color--base ds-u-font-size--
|
|
1933
|
+
className: "dc-c-dataset-tags--tag ds-u-color--base ds-u-font-size--sm ds-u-text-decoration--none ds-u-margin-right--1 ds-u-margin-bottom--1 ds-u-padding-x--2 ds-u-padding-y--1 ds-u-radius",
|
|
1710
1934
|
children: k.data
|
|
1711
1935
|
}, k.identifier))
|
|
1712
1936
|
]
|
|
@@ -1748,7 +1972,7 @@ const $f341c2fd9bc53390$var$DatasetDownloads = ({ dataDictionaryURL: dataDiction
|
|
|
1748
1972
|
className: "ds-u-margin-bottom--3 ds-u-padding--2 ds-u-border ds-u-border--1 dc-c-dataset-downloads",
|
|
1749
1973
|
children: [
|
|
1750
1974
|
/*#__PURE__*/ (0, $hgUW1$jsx)("h2", {
|
|
1751
|
-
className: "ds-u-color--primary ds-u-font-size--
|
|
1975
|
+
className: "ds-u-color--primary ds-u-font-size--xl ds-u-margin-top--0 ds-u-margin-bottom--2 ds-u-padding-bottom--2 ds-u-border ds-u-border-bottom--1",
|
|
1752
1976
|
children: "Downloads"
|
|
1753
1977
|
}),
|
|
1754
1978
|
(distributions.length || dataDictionaryURL && dataDictionaryType) && /*#__PURE__*/ (0, $hgUW1$jsxs)("ul", {
|
|
@@ -1802,6 +2026,7 @@ const $5644ebd2c3dbfd7b$var$DatasetAdditionalInformation = ({ datasetInfo: datas
|
|
|
1802
2026
|
className: "dc-c-additional-info-table ds-u-margin-bottom--6",
|
|
1803
2027
|
children: [
|
|
1804
2028
|
/*#__PURE__*/ (0, $hgUW1$jsx)("h2", {
|
|
2029
|
+
className: "ds-text-heading--2xl ds-u-margin-y--3",
|
|
1805
2030
|
children: "Additional Information"
|
|
1806
2031
|
}),
|
|
1807
2032
|
/*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Table), {
|
|
@@ -1875,6 +2100,7 @@ const $68eacd619bee0da7$var$ResourceInformation = ({ resource: resource })=>{
|
|
|
1875
2100
|
className: "dc-c-resource-info-table",
|
|
1876
2101
|
children: [
|
|
1877
2102
|
/*#__PURE__*/ (0, $hgUW1$jsx)("h2", {
|
|
2103
|
+
className: "ds-text-heading--2xl ds-u-margin-y--3",
|
|
1878
2104
|
children: "About this Resource"
|
|
1879
2105
|
}),
|
|
1880
2106
|
/*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Table), {
|
|
@@ -2094,7 +2320,7 @@ const $766b8e351dd607f5$var$DatasetBody = ({ rootUrl: rootUrl , id: id , dataset
|
|
|
2094
2320
|
className: "ds-l-row",
|
|
2095
2321
|
children: [
|
|
2096
2322
|
/*#__PURE__*/ (0, $hgUW1$jsx)("p", {
|
|
2097
|
-
className: "ds-l-col--6",
|
|
2323
|
+
className: "ds-l-col--6 ds-u-margin-bottom--2",
|
|
2098
2324
|
children: dataset.theme ? /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Badge), {
|
|
2099
2325
|
variation: "info",
|
|
2100
2326
|
children: dataset.theme[0].data
|
|
@@ -2120,7 +2346,7 @@ const $766b8e351dd607f5$var$DatasetBody = ({ rootUrl: rootUrl , id: id , dataset
|
|
|
2120
2346
|
resource.columns && Object.keys(resource.schema).length ? /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Fragment), {
|
|
2121
2347
|
children: [
|
|
2122
2348
|
/*#__PURE__*/ (0, $hgUW1$jsx)("h2", {
|
|
2123
|
-
className: "dc-resource-header",
|
|
2349
|
+
className: "dc-resource-header ds-text-heading--2xl ds-u-margin-y--3",
|
|
2124
2350
|
children: "Resource Preview"
|
|
2125
2351
|
}),
|
|
2126
2352
|
resource.columns ? /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
|
|
@@ -2170,6 +2396,7 @@ const $766b8e351dd607f5$var$DatasetBody = ({ rootUrl: rootUrl , id: id , dataset
|
|
|
2170
2396
|
ref: apiDocs,
|
|
2171
2397
|
children: [
|
|
2172
2398
|
/*#__PURE__*/ (0, $hgUW1$jsx)("h2", {
|
|
2399
|
+
className: "ds-text-heading--2xl ds-u-margin-y--2",
|
|
2173
2400
|
children: "Try the API"
|
|
2174
2401
|
}),
|
|
2175
2402
|
/*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$swaggeruireact), {
|
|
@@ -2196,7 +2423,7 @@ const $766b8e351dd607f5$var$DatasetBody = ({ rootUrl: rootUrl , id: id , dataset
|
|
|
2196
2423
|
className: "dc-c-dataset-tags ds-u-margin-bottom--3 ds-u-padding--2 ds-u-border ds-u-border--1",
|
|
2197
2424
|
children: [
|
|
2198
2425
|
/*#__PURE__*/ (0, $hgUW1$jsx)("h2", {
|
|
2199
|
-
className: "ds-u-color--primary ds-u-font-size--
|
|
2426
|
+
className: "ds-u-color--primary ds-u-font-size--xl ds-u-margin-top--0 ds-u-margin-bottom--2 ds-u-padding-bottom--2",
|
|
2200
2427
|
children: "API"
|
|
2201
2428
|
}),
|
|
2202
2429
|
/*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Button), {
|
|
@@ -2569,19 +2796,12 @@ const $e5bfafc6d4e6f207$var$SearchModal = ({ searchFunc: searchFunc , appNodeId:
|
|
|
2569
2796
|
children: "Search"
|
|
2570
2797
|
})
|
|
2571
2798
|
}),
|
|
2572
|
-
modalSearch && /*#__PURE__*/ (0, $hgUW1$
|
|
2799
|
+
modalSearch && /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Dialog), {
|
|
2573
2800
|
className: "dc-c-search-dialog",
|
|
2574
2801
|
onExit: ()=>setModalSearch(false),
|
|
2575
|
-
getApplicationNode: ()=>document.getElementById(appNodeId),
|
|
2576
|
-
closeButtonText: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Fragment), {
|
|
2577
|
-
children: "Close"
|
|
2578
|
-
}),
|
|
2579
2802
|
heading: `${headingText}`,
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
children: searchModalText
|
|
2583
|
-
}),
|
|
2584
|
-
/*#__PURE__*/ (0, $hgUW1$jsxs)("form", {
|
|
2803
|
+
actions: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Fragment), {
|
|
2804
|
+
children: /*#__PURE__*/ (0, $hgUW1$jsxs)("form", {
|
|
2585
2805
|
className: "ds-u-display--flex ds-u-align-items--stretch ds-u-flex-wrap--nowrap",
|
|
2586
2806
|
onSubmit: (e)=>{
|
|
2587
2807
|
searchForDataset(e);
|
|
@@ -2611,7 +2831,7 @@ const $e5bfafc6d4e6f207$var$SearchModal = ({ searchFunc: searchFunc , appNodeId:
|
|
|
2611
2831
|
})
|
|
2612
2832
|
]
|
|
2613
2833
|
})
|
|
2614
|
-
|
|
2834
|
+
})
|
|
2615
2835
|
})
|
|
2616
2836
|
]
|
|
2617
2837
|
});
|
|
@@ -2668,7 +2888,7 @@ const $2db98b8f69058a30$var$DesktopHeader = ({ siteName: siteName , headerClasse
|
|
|
2668
2888
|
links: links.topnav,
|
|
2669
2889
|
menuName: "CMS Main Header",
|
|
2670
2890
|
menuId: "cmsheader",
|
|
2671
|
-
menuClasses: "ds-u-display--flex dc-c-header--links ds-u-font-size--
|
|
2891
|
+
menuClasses: "ds-u-display--flex ds-u-flex-direction--row dc-c-header--links ds-u-font-size--sm"
|
|
2672
2892
|
})
|
|
2673
2893
|
})
|
|
2674
2894
|
]
|
|
@@ -2683,7 +2903,7 @@ const $2db98b8f69058a30$var$DesktopHeader = ({ siteName: siteName , headerClasse
|
|
|
2683
2903
|
/*#__PURE__*/ (0, $hgUW1$jsx)("div", {
|
|
2684
2904
|
className: "ds-u-margin-right--5 ds-u-padding-y--3 dc-c-site-title",
|
|
2685
2905
|
children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$NavLink), {
|
|
2686
|
-
className: "ds-c-link--inverse ds-
|
|
2906
|
+
className: "ds-c-link--inverse ds-text-heading--3xl",
|
|
2687
2907
|
to: "/",
|
|
2688
2908
|
children: /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
|
|
2689
2909
|
className: "",
|
|
@@ -2696,7 +2916,7 @@ const $2db98b8f69058a30$var$DesktopHeader = ({ siteName: siteName , headerClasse
|
|
|
2696
2916
|
wrapLabel: true,
|
|
2697
2917
|
menuName: "CMS Site Main Nav",
|
|
2698
2918
|
menuId: "site",
|
|
2699
|
-
menuClasses: "ds-u-display--flex dc-c-header--links ds-u-align-items--center",
|
|
2919
|
+
menuClasses: "ds-u-display--flex ds-u-flex-direction--row dc-c-header--links ds-u-align-items--center",
|
|
2700
2920
|
linkClasses: linkClasses
|
|
2701
2921
|
}),
|
|
2702
2922
|
/*#__PURE__*/ (0, $hgUW1$jsx)("div", {
|
|
@@ -2829,7 +3049,7 @@ const $caaccb8ea608e518$var$MobileHeader = ({ siteName: siteName , links: links
|
|
|
2829
3049
|
links: links.topnav,
|
|
2830
3050
|
menuName: "CMS Main Header",
|
|
2831
3051
|
menuId: "cmsheader",
|
|
2832
|
-
menuClasses: "ds-u-display--flex dc-c-header--links ds-u-font-size--
|
|
3052
|
+
menuClasses: "ds-u-display--flex ds-u-flex-direction--row dc-c-header--links ds-u-font-size--sm ds-u-margin-bottom--2"
|
|
2833
3053
|
})
|
|
2834
3054
|
})
|
|
2835
3055
|
]
|
|
@@ -2852,10 +3072,11 @@ const $caaccb8ea608e518$var$MobileHeader = ({ siteName: siteName , links: links
|
|
|
2852
3072
|
}),
|
|
2853
3073
|
/*#__PURE__*/ (0, $hgUW1$jsx)("div", {
|
|
2854
3074
|
className: "ds-u-padding-y--3 dc-c-site-title",
|
|
2855
|
-
children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$
|
|
3075
|
+
children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$NavLink), {
|
|
3076
|
+
className: "ds-c-link--inverse ds-text-heading--3xl",
|
|
2856
3077
|
to: "/",
|
|
2857
3078
|
children: /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
|
|
2858
|
-
className: "
|
|
3079
|
+
className: "",
|
|
2859
3080
|
children: siteName
|
|
2860
3081
|
})
|
|
2861
3082
|
})
|
|
@@ -2907,7 +3128,7 @@ const $caaccb8ea608e518$var$MobileHeader = ({ siteName: siteName , links: links
|
|
|
2907
3128
|
menuName: "Main Nav",
|
|
2908
3129
|
menuId: "site",
|
|
2909
3130
|
menuClasses: "dc-c-header--links dc-c-header--mobile-links",
|
|
2910
|
-
linkClasses: "ds-u-margin-left--1 ds-u-padding-bottom--2 ds-
|
|
3131
|
+
linkClasses: "ds-u-margin-left--1 ds-u-padding-bottom--2 ds-text-heading--md"
|
|
2911
3132
|
}),
|
|
2912
3133
|
mobile && /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
|
|
2913
3134
|
className: "cms-mobile-header--container",
|
|
@@ -2918,7 +3139,7 @@ const $caaccb8ea608e518$var$MobileHeader = ({ siteName: siteName , links: links
|
|
|
2918
3139
|
menuName: "CMS Main Header",
|
|
2919
3140
|
menuId: "cms-mobile-header",
|
|
2920
3141
|
linkClasses: "ds-u-margin-left--1 ds-u-margin-bottom--2",
|
|
2921
|
-
menuClasses: "dc-c-header--links ds-u-font-size--
|
|
3142
|
+
menuClasses: "dc-c-header--links ds-u-font-size--sm ds-u-margin-bottom--2"
|
|
2922
3143
|
})
|
|
2923
3144
|
]
|
|
2924
3145
|
})
|
|
@@ -3014,10 +3235,11 @@ const $a6df0aa147323304$var$Footer = ({ links: links , showEmail: showEmail , em
|
|
|
3014
3235
|
className: "ds-l-md-col--8",
|
|
3015
3236
|
children: [
|
|
3016
3237
|
/*#__PURE__*/ (0, $hgUW1$jsx)("h2", {
|
|
3017
|
-
className: "ds-
|
|
3238
|
+
className: "ds-text-heading--lg",
|
|
3018
3239
|
children: emailTitle
|
|
3019
3240
|
}),
|
|
3020
3241
|
/*#__PURE__*/ (0, $hgUW1$jsx)("p", {
|
|
3242
|
+
className: "ds-u-padding-bottom--2",
|
|
3021
3243
|
children: emailBody
|
|
3022
3244
|
})
|
|
3023
3245
|
]
|
|
@@ -3043,9 +3265,10 @@ const $a6df0aa147323304$var$Footer = ({ links: links , showEmail: showEmail , em
|
|
|
3043
3265
|
className: "ds-l-row ds-u-margin--0",
|
|
3044
3266
|
children: [
|
|
3045
3267
|
/*#__PURE__*/ (0, $hgUW1$jsx)("div", {
|
|
3046
|
-
className: `dc-c-footer__resources ds-l-md-col--7 ds-l-sm-col--12 ds-u-padding-top--7 ds-u-padding-bottom--4
|
|
3268
|
+
className: `dc-c-footer__resources ds-l-md-col--7 ds-l-sm-col--12 ds-u-padding-top--7 ds-u-padding-bottom--4
|
|
3269
|
+
${xs ? "ds-u-padding-x--0" : ""}`,
|
|
3047
3270
|
children: /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
|
|
3048
|
-
className: "ds-l-lg-col--9 ds-l-md-col--11
|
|
3271
|
+
className: "ds-l-lg-col--9 ds-l-md-col--11",
|
|
3049
3272
|
children: /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
|
|
3050
3273
|
className: `ds-u-display--flex ${xs ? "ds-u-flex-direction--column" : "ds-u-flex-direction--row"}`,
|
|
3051
3274
|
children: [
|
|
@@ -3053,11 +3276,11 @@ const $a6df0aa147323304$var$Footer = ({ links: links , showEmail: showEmail , em
|
|
|
3053
3276
|
className: "ds-u-margin-right--6 ds-u-margin-bottom--2",
|
|
3054
3277
|
children: [
|
|
3055
3278
|
/*#__PURE__*/ (0, $hgUW1$jsx)("h2", {
|
|
3056
|
-
className: "ds-
|
|
3279
|
+
className: "ds-text-heading--sm dc-footer--heading ds-u-margin-bottom--2",
|
|
3057
3280
|
children: "Open data tools"
|
|
3058
3281
|
}),
|
|
3059
3282
|
/*#__PURE__*/ (0, $hgUW1$jsx)("ul", {
|
|
3060
|
-
className: "ds-u-font-size--
|
|
3283
|
+
className: "ds-u-font-size--sm ds-u-margin-bottom--3",
|
|
3061
3284
|
children: footerOpenDataToolLinks.map((link)=>/*#__PURE__*/ (0, $hgUW1$jsx)("li", {
|
|
3062
3285
|
className: "ds-u-margin-bottom--1",
|
|
3063
3286
|
children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $cf8eeac354b9dd32$export$2e2bcd8739ae039), {
|
|
@@ -3071,11 +3294,11 @@ const $a6df0aa147323304$var$Footer = ({ links: links , showEmail: showEmail , em
|
|
|
3071
3294
|
/*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
|
|
3072
3295
|
children: [
|
|
3073
3296
|
/*#__PURE__*/ (0, $hgUW1$jsx)("h2", {
|
|
3074
|
-
className: "ds-
|
|
3297
|
+
className: "ds-text-heading--sm dc-footer--heading ds-u-margin-bottom--2",
|
|
3075
3298
|
children: "Additional resources"
|
|
3076
3299
|
}),
|
|
3077
3300
|
/*#__PURE__*/ (0, $hgUW1$jsx)("ul", {
|
|
3078
|
-
className: "ds-u-font-size--
|
|
3301
|
+
className: "ds-u-font-size--sm",
|
|
3079
3302
|
children: footerAdditionalResourcesLinks.filter((link)=>{
|
|
3080
3303
|
const noOnClick = Object.keys(link).findIndex((l)=>l === "onClick");
|
|
3081
3304
|
if (noOnClick === -1 || link.onClick && link.dataTag) return link;
|
|
@@ -3107,7 +3330,7 @@ const $a6df0aa147323304$var$Footer = ({ links: links , showEmail: showEmail , em
|
|
|
3107
3330
|
/*#__PURE__*/ (0, $hgUW1$jsx)("div", {
|
|
3108
3331
|
className: `dc-c-footer__cms-information ds-l-md-col--5 ds-l-sm-col--12 ${md ? "ds-u-padding-left--7" : ""} ${sm ? " ds-u-padding-left--4" : ""} ds-u-padding-y--7`,
|
|
3109
3332
|
children: /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
|
|
3110
|
-
className: "ds-u-font-size--
|
|
3333
|
+
className: "ds-u-font-size--sm",
|
|
3111
3334
|
children: [
|
|
3112
3335
|
/*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
|
|
3113
3336
|
children: [
|
|
@@ -3148,7 +3371,7 @@ const $a6df0aa147323304$var$Footer = ({ links: links , showEmail: showEmail , em
|
|
|
3148
3371
|
}),
|
|
3149
3372
|
trademarkContent,
|
|
3150
3373
|
socialMediaLinks && /*#__PURE__*/ (0, $hgUW1$jsxs)("ul", {
|
|
3151
|
-
className: "ds-u-display--flex",
|
|
3374
|
+
className: "ds-u-display--flex ds-u-flex-direction--row",
|
|
3152
3375
|
children: [
|
|
3153
3376
|
socialMediaLinks.facebook && socialMediaLinks.facebook.url && /*#__PURE__*/ (0, $hgUW1$jsx)("li", {
|
|
3154
3377
|
className: "ds-u-margin-right--1",
|
|
@@ -3365,7 +3588,7 @@ const $a6df0aa147323304$var$Footer = ({ links: links , showEmail: showEmail , em
|
|
|
3365
3588
|
})
|
|
3366
3589
|
}),
|
|
3367
3590
|
/*#__PURE__*/ (0, $hgUW1$jsx)("div", {
|
|
3368
|
-
className: "dc-c-footer__utility ds-l-container ds-u-padding-y--2 ds-u-font-size--
|
|
3591
|
+
className: "dc-c-footer__utility ds-l-container ds-u-padding-y--2 ds-u-font-size--sm",
|
|
3369
3592
|
children: /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
|
|
3370
3593
|
className: "ds-l-row ",
|
|
3371
3594
|
children: /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
|
|
@@ -3399,6 +3622,7 @@ $a6df0aa147323304$var$Footer.defaultProps = {
|
|
|
3399
3622
|
children: "A federal government website managed and paid for by the U.S. Centers for Medicare & Medicaid Services."
|
|
3400
3623
|
}),
|
|
3401
3624
|
/*#__PURE__*/ (0, $hgUW1$jsx)("p", {
|
|
3625
|
+
className: "ds-u-padding-bottom--2",
|
|
3402
3626
|
children: "7500 Security Boulevard, Baltimore, MD 21244"
|
|
3403
3627
|
})
|
|
3404
3628
|
]
|
|
@@ -4099,7 +4323,6 @@ var $ec3e23baa005dc03$export$2e2bcd8739ae039 = $ec3e23baa005dc03$var$Breadcrumb;
|
|
|
4099
4323
|
|
|
4100
4324
|
|
|
4101
4325
|
|
|
4102
|
-
|
|
4103
4326
|
|
|
4104
4327
|
|
|
4105
4328
|
function $374c4669b044ddf8$var$getStartDate(condition, schema, id) {
|
|
@@ -4110,9 +4333,9 @@ function $374c4669b044ddf8$var$getStartDate(condition, schema, id) {
|
|
|
4110
4333
|
return new Date();
|
|
4111
4334
|
}
|
|
4112
4335
|
const $374c4669b044ddf8$var$QueryRow = ({ id: id , condition: condition , index: index , update: update , remove: remove , propertyOptions: propertyOptions , schema: schema })=>{
|
|
4113
|
-
const
|
|
4336
|
+
const sm = (0, $hgUW1$useMediaQuery)({
|
|
4114
4337
|
minWidth: 0,
|
|
4115
|
-
maxWidth:
|
|
4338
|
+
maxWidth: 544
|
|
4116
4339
|
});
|
|
4117
4340
|
const [operator, setOperator] = (0, $hgUW1$useState)(condition.operator);
|
|
4118
4341
|
const [property, setProperty] = (0, $hgUW1$useState)(condition.property);
|
|
@@ -4151,24 +4374,26 @@ const $374c4669b044ddf8$var$QueryRow = ({ id: id , condition: condition , index:
|
|
|
4151
4374
|
value
|
|
4152
4375
|
]);
|
|
4153
4376
|
return /*#__PURE__*/ (0, $hgUW1$jsxs)("fieldset", {
|
|
4154
|
-
className: "ds-u-display--flex ds-u-justify-content--between ds-u-align-items--center",
|
|
4377
|
+
className: "ds-u-display--flex ds-u-flex-wrap--wrap ds-u-justify-content--between ds-u-md-justify-content--end ds-u-align-items--center",
|
|
4155
4378
|
children: [
|
|
4156
4379
|
/*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Dropdown), {
|
|
4157
4380
|
options: propertyOptions,
|
|
4158
4381
|
value: property,
|
|
4159
4382
|
label: "Property",
|
|
4160
4383
|
name: `${condition.key}_property`,
|
|
4161
|
-
onChange: (e)=>setProperty(e.target.value)
|
|
4384
|
+
onChange: (e)=>setProperty(e.target.value),
|
|
4385
|
+
className: "ds-l-md-col--5 ds-l-lg-col--4 ds-l-sm-col--8 ds-l-col--12 ds-u-padding--0 ds-u-md-padding-right--2 ds-u-margin-bottom--0 ds-u-md-margin-bottom--2"
|
|
4162
4386
|
}),
|
|
4163
4387
|
/*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Dropdown), {
|
|
4164
4388
|
options: (0, $7264a673914aa746$export$2b9377795161999)(schema[id].fields[property].mysql_type),
|
|
4165
4389
|
value: operator,
|
|
4166
|
-
size: "small",
|
|
4167
4390
|
label: "Operator",
|
|
4168
4391
|
name: `${condition.key}_operator`,
|
|
4169
|
-
onChange: (e)=>setOperator(e.target.value)
|
|
4392
|
+
onChange: (e)=>setOperator(e.target.value),
|
|
4393
|
+
className: "ds-l-sm-col--3 ds-l-md-col--2 ds-l-col--12 ds-u-padding--0 ds-u-md-padding-right--2 ds-u-margin-bottom--0 ds-u-md-margin-bottom--2"
|
|
4170
4394
|
}),
|
|
4171
4395
|
schema[id].fields[property].mysql_type === "date" ? /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
|
|
4396
|
+
className: "ds-l-md-col--5 ds-l-lg-col--4 ds-l-sm-col--8 ds-l-col--12 ds-u-padding--0 ds-u-sm-padding-right--2 ds-u-md-padding-right--0 ds-u-lg-padding-right--2",
|
|
4172
4397
|
children: [
|
|
4173
4398
|
/*#__PURE__*/ (0, $hgUW1$jsx)("label", {
|
|
4174
4399
|
className: "ds-c-label",
|
|
@@ -4178,7 +4403,7 @@ const $374c4669b044ddf8$var$QueryRow = ({ id: id , condition: condition , index:
|
|
|
4178
4403
|
children: "Value"
|
|
4179
4404
|
})
|
|
4180
4405
|
}),
|
|
4181
|
-
/*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$reactdatepicker)
|
|
4406
|
+
/*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$reactdatepicker), {
|
|
4182
4407
|
name: `${condition.key}_date_value`,
|
|
4183
4408
|
selected: (0, $7264a673914aa746$export$e284ae5d89467c8f)(startDate),
|
|
4184
4409
|
onChange: (date)=>{
|
|
@@ -4196,22 +4421,14 @@ const $374c4669b044ddf8$var$QueryRow = ({ id: id , condition: condition , index:
|
|
|
4196
4421
|
label: "Value",
|
|
4197
4422
|
name: `${condition.key}_value`,
|
|
4198
4423
|
value: (0, $7264a673914aa746$export$6b5e57d20078142b)(value, operator),
|
|
4199
|
-
onChange: (e)=>setValue(e.target.value)
|
|
4424
|
+
onChange: (e)=>setValue(e.target.value),
|
|
4425
|
+
className: "ds-l-md-col--5 ds-l-lg-col--4 ds-l-sm-col--8 ds-l-col--12 ds-u-padding--0 ds-u-sm-padding-right--2 ds-u-md-padding-right--0 ds-u-lg-padding-right--2 ds-u-margin-bottom--2"
|
|
4200
4426
|
}),
|
|
4201
4427
|
/*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Button), {
|
|
4202
|
-
|
|
4203
|
-
size: "small",
|
|
4204
|
-
className: "ds-u-margin-top--3",
|
|
4428
|
+
className: "ds-u-margin-top--2 ds-u-sm-margin-top--4 ds-u-lg-margin-top--4 ds-u-md-margin-top--2 ds-l-col--12 ds-l-md-col--4 ds-l-lg-col--2 ds-l-sm-col--4",
|
|
4205
4429
|
"aria-label": "Delete filter",
|
|
4206
4430
|
onClick: ()=>remove(index),
|
|
4207
|
-
children:
|
|
4208
|
-
children: "Delete filter"
|
|
4209
|
-
}) : /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Fragment), {
|
|
4210
|
-
children: [
|
|
4211
|
-
/*#__PURE__*/ (0, $hgUW1$jsx)((0, $847b0964185837b2$export$2e2bcd8739ae039), {}),
|
|
4212
|
-
" "
|
|
4213
|
-
]
|
|
4214
|
-
})
|
|
4431
|
+
children: "Delete filter"
|
|
4215
4432
|
})
|
|
4216
4433
|
]
|
|
4217
4434
|
});
|
|
@@ -4535,6 +4752,7 @@ const $dd6eb2b30d7ad75d$var$FilteredResourceBody = ({ id: id , dataset: dataset
|
|
|
4535
4752
|
ref: apiDocs,
|
|
4536
4753
|
children: [
|
|
4537
4754
|
/*#__PURE__*/ (0, $hgUW1$jsx)("h2", {
|
|
4755
|
+
className: "ds-text-heading--2xl ds-u-margin-y--2",
|
|
4538
4756
|
children: "Try the API"
|
|
4539
4757
|
}),
|
|
4540
4758
|
/*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$swaggeruireact), {
|
|
@@ -4669,5 +4887,5 @@ var $90fb213ab8eeb2e7$export$2e2bcd8739ae039 = $90fb213ab8eeb2e7$var$useScrollTo
|
|
|
4669
4887
|
|
|
4670
4888
|
|
|
4671
4889
|
|
|
4672
|
-
export {$f57121650539d8c5$export$2e2bcd8739ae039 as NavBar, $c96c4b9ef7203c1f$export$2e2bcd8739ae039 as APIPage, $026cb986f9fea2b1$export$2e2bcd8739ae039 as PageNotFound, $e873081a6e8f024e$export$2e2bcd8739ae039 as DatasetSearch, $6e7bdcbebdb4b794$export$2e2bcd8739ae039 as Dataset, $a5a6a06d249c33b8$export$2e2bcd8739ae039 as Header, $a6df0aa147323304$export$2e2bcd8739ae039 as Footer, $efc410f5f7ac5ef3$export$2e2bcd8739ae039 as useSearchAPI, $1d3d480a9cfaabe0$export$2e2bcd8739ae039 as useDatastore, $aa4450dcbeef3ac0$export$385a5aba38cc3325 as transformTableSortToQuerySort, $59a079354baa335c$export$2e2bcd8739ae039 as Hero, $
|
|
4890
|
+
export {$f57121650539d8c5$export$2e2bcd8739ae039 as NavBar, $c96c4b9ef7203c1f$export$2e2bcd8739ae039 as APIPage, $026cb986f9fea2b1$export$2e2bcd8739ae039 as PageNotFound, $e873081a6e8f024e$export$2e2bcd8739ae039 as DatasetSearch, $6e7bdcbebdb4b794$export$2e2bcd8739ae039 as Dataset, $a5a6a06d249c33b8$export$2e2bcd8739ae039 as Header, $a6df0aa147323304$export$2e2bcd8739ae039 as Footer, $efc410f5f7ac5ef3$export$2e2bcd8739ae039 as useSearchAPI, $1d3d480a9cfaabe0$export$2e2bcd8739ae039 as useDatastore, $aa4450dcbeef3ac0$export$385a5aba38cc3325 as transformTableSortToQuerySort, $59a079354baa335c$export$2e2bcd8739ae039 as Hero, $52c6454cae137465$export$2e2bcd8739ae039 as DatasetSearchListItem, $789279954d8eff7f$export$2e2bcd8739ae039 as ApiDocumentation, $f29607dfa784d2bd$export$2e2bcd8739ae039 as ResourceFilter, $af099c546cb226c7$export$2e2bcd8739ae039 as ResourceHeader, $626282d9a03c51d5$export$2e2bcd8739ae039 as ResourcePreview, $072291d44ce1834a$export$2e2bcd8739ae039 as ResourceFooter, $ec3e23baa005dc03$export$2e2bcd8739ae039 as Breadcrumb, $bd76a91923d7e8a7$export$2e2bcd8739ae039 as TransformedDate, $d98f94c79ddf4e0e$export$2e2bcd8739ae039 as DataTable, $5644ebd2c3dbfd7b$export$eea3a12df15499ca as buildRows, $f61ecf9f84951a61$export$2e2bcd8739ae039 as FilteredResource, $bef7bff2823feea2$export$2e2bcd8739ae039 as QueryTitle, $7264a673914aa746$export$2b9377795161999 as buildOperatorOptions, $7264a673914aa746$export$e284ae5d89467c8f as convertUTCToLocalDate, $7264a673914aa746$export$6b5e57d20078142b as cleanText, $7264a673914aa746$export$8049e8f40a9bdfb8 as buildCustomColHeaders, $eb7821d186b1a389$export$2e2bcd8739ae039 as useAddLoginLink, $90fb213ab8eeb2e7$export$2e2bcd8739ae039 as useScrollToTop, $68d79598b83f3382$export$2e2bcd8739ae039 as useMetastoreDataset, $6da0396069e23175$export$bc27cf7ecf44639d as defaultMetadataMapping, $2ed0091f7e32d1e6$export$2e2bcd8739ae039 as DataTablePageResults};
|
|
4673
4891
|
//# sourceMappingURL=main.js.map
|