@civicactions/cmsds-open-data-components 3.8.1-alpha.1 → 3.8.1

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/dist/main.js CHANGED
@@ -41,7 +41,7 @@ function $e49d4387bed21287$export$2e2bcd8739ae039() {
41
41
  /*#__PURE__*/ (0, $hgUW1$jsx)("strong", {
42
42
  children: "offset"
43
43
  }),
44
- ' ',
44
+ " ",
45
45
  "parameters to iterate through result sets that are larger than the row limit when running queries against the datastore API."
46
46
  ]
47
47
  })
@@ -72,7 +72,7 @@ var $3c72c298c3a7f21f$export$2e2bcd8739ae039 = $3c72c298c3a7f21f$var$HeaderTagli
72
72
  const $1555e1cb3eb7b3e3$var$HeaderNavIconLink = (props)=>{
73
73
  const { url: url, urlTitle: urlTitle, logoFilePath: logoFilePath, logoAltText: logoAltText, backArrow: backArrow } = props;
74
74
  return /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
75
- className: `dkan-c-header-nav-icon-link ${backArrow ? 'show-back-arrow' : ''} ds-u-valign--middle `,
75
+ className: `dkan-c-header-nav-icon-link ${backArrow ? "show-back-arrow" : ""} ds-u-valign--middle `,
76
76
  children: /*#__PURE__*/ (0, $hgUW1$jsx)("a", {
77
77
  href: url,
78
78
  title: urlTitle,
@@ -232,7 +232,7 @@ const $046ded0064bd0a3d$var$FAQAccordion = (props)=>{
232
232
  type: "button",
233
233
  variation: "ghost",
234
234
  onClick: ()=>toggleAll(),
235
- children: `${expanded ? 'Collapse' : 'Expand'} all FAQs`
235
+ children: `${expanded ? "Collapse" : "Expand"} all FAQs`
236
236
  }),
237
237
  /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Accordion), {
238
238
  children: faqItems.map((faq)=>/*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$AccordionItem), {
@@ -285,17 +285,17 @@ const $4f153ca537d853e5$var$SubMenu = ({ link: link, linkClasses: linkClasses, s
285
285
  function handleFocusOut(event) {
286
286
  if (currentMenu && !currentMenu.contains(event.relatedTarget)) setIsExpanded(false);
287
287
  }
288
- document.addEventListener('mousedown', handleClickOutside);
289
- currentMenu?.addEventListener('focusout', handleFocusOut);
288
+ document.addEventListener("mousedown", handleClickOutside);
289
+ currentMenu?.addEventListener("focusout", handleFocusOut);
290
290
  return ()=>{
291
- document.removeEventListener('mousedown', handleClickOutside);
292
- if (currentMenu) currentMenu.removeEventListener('focusout', handleFocusOut);
291
+ document.removeEventListener("mousedown", handleClickOutside);
292
+ if (currentMenu) currentMenu.removeEventListener("focusout", handleFocusOut);
293
293
  };
294
294
  }, [
295
295
  isExpanded
296
296
  ]);
297
297
  return /*#__PURE__*/ (0, $hgUW1$jsxs)("li", {
298
- className: `dkan-c-nav-submenu has-submenu${isExpanded ? ' open' : ''}`,
298
+ className: `dkan-c-nav-submenu has-submenu${isExpanded ? " open" : ""}`,
299
299
  ref: menu,
300
300
  children: [
301
301
  /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Button), {
@@ -355,12 +355,12 @@ var $4f153ca537d853e5$export$2e2bcd8739ae039 = $4f153ca537d853e5$var$SubMenu;
355
355
  const $fea9297ba4dd394c$var$HeaderSearch = (props)=>{
356
356
  const { headingText: headingText = "Dataset Search" } = props;
357
357
  const navigate = (0, $hgUW1$useNavigate)();
358
- const [modalSearchTerm, setModalSearchTerm] = (0, $hgUW1$useState)('');
358
+ const [modalSearchTerm, setModalSearchTerm] = (0, $hgUW1$useState)("");
359
359
  const [modalSearch, setModalSearch] = (0, $hgUW1$useState)(false);
360
360
  function searchForDataset(e) {
361
361
  e.preventDefault();
362
362
  if (window) {
363
- if (window.location.pathname !== '/datasets') navigate(`/datasets?fulltext=${modalSearchTerm}`);
363
+ if (window.location.pathname !== "/datasets") navigate(`/datasets?fulltext=${modalSearchTerm}`);
364
364
  else {
365
365
  window.location.search = `fulltext=${modalSearchTerm}`;
366
366
  setModalSearch(false);
@@ -427,9 +427,9 @@ const $b939b31651e82908$var$HeaderNav = (props)=>{
427
427
  const headerContext = (0, $hgUW1$react).useContext((0, $11500a65bd7d9cf1$export$2e2bcd8739ae039));
428
428
  const { links: links, topNavLinks: topNavLinks, wrapperClasses: wrapperClasses, searchInMobile: searchInMobile } = props;
429
429
  const navMenuOpenClass = `dkan-c-nav-menu--${headerContext.mobileMenuOpen ? "open" : "close"}`;
430
- const isMobileClass = `dkan-c-nav-menu--${headerContext.isMobile ? 'mobile' : 'desktop'}`;
431
- const linkClasses = 'dkan-c-header--link ds-c-button ds-c-button--ghost';
432
- const listClasses = 'dkan-c-header--link-list ';
430
+ const isMobileClass = `dkan-c-nav-menu--${headerContext.isMobile ? "mobile" : "desktop"}`;
431
+ const linkClasses = "dkan-c-header--link ds-c-button ds-c-button--ghost";
432
+ const listClasses = "dkan-c-header--link-list ";
433
433
  return /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
434
434
  className: `dkan-c-nav-menu ${wrapperClasses} ${navMenuOpenClass} ${isMobileClass}`,
435
435
  ref: headerContext.menuRef,
@@ -599,8 +599,8 @@ const $953b286f7778640e$var$SidebarNavigation = (props)=>{
599
599
  const { title: title, links: links, mobileMax: mobileMax } = props;
600
600
  const active = (0, $hgUW1$useLocation)().pathname;
601
601
  const [menuOpen, setMenuOpen] = (0, $hgUW1$useState)(false);
602
- const styleClasses = 'dkan-c--sidebar-nav-wrapper ds-u-border--1 ds-u-border--color-gray-lightest ds-u-padding--2';
603
- const mobileClass = `dkan-c-sidebar-nav--${mobileMax ? 'mobile' : 'desktop'}`;
602
+ const styleClasses = "dkan-c--sidebar-nav-wrapper ds-u-border--1 ds-u-border--color-gray-lightest ds-u-padding--2";
603
+ const mobileClass = `dkan-c-sidebar-nav--${mobileMax ? "mobile" : "desktop"}`;
604
604
  return /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
605
605
  className: `dkan-c-sidebar-nav ${mobileClass}`,
606
606
  children: [
@@ -614,7 +614,7 @@ const $953b286f7778640e$var$SidebarNavigation = (props)=>{
614
614
  /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Button), {
615
615
  "aria-haspopup": "true",
616
616
  variation: "ghost",
617
- "aria-expanded": `${menuOpen ? 'true' : 'false'}`,
617
+ "aria-expanded": `${menuOpen ? "true" : "false"}`,
618
618
  onDark: true,
619
619
  onClick: ()=>setMenuOpen(!menuOpen),
620
620
  children: [
@@ -623,7 +623,7 @@ const $953b286f7778640e$var$SidebarNavigation = (props)=>{
623
623
  children: "Toggle menu"
624
624
  }),
625
625
  /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$ArrowIcon), {
626
- direction: menuOpen ? 'up' : 'down'
626
+ direction: menuOpen ? "up" : "down"
627
627
  })
628
628
  ]
629
629
  })
@@ -632,7 +632,7 @@ const $953b286f7778640e$var$SidebarNavigation = (props)=>{
632
632
  /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
633
633
  className: ``,
634
634
  children: /*#__PURE__*/ (0, $hgUW1$jsxs)("nav", {
635
- className: `${styleClasses} dkan-c-sidebar-nav-menu dkan-c-sidebar-nav-menu--${menuOpen ? 'open' : 'close'}`,
635
+ className: `${styleClasses} dkan-c-sidebar-nav-menu dkan-c-sidebar-nav-menu--${menuOpen ? "open" : "close"}`,
636
636
  children: [
637
637
  /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
638
638
  className: "ds-u-padding--2 ds-u-border-bottom--1 ds-u-border--color-gray-lightest",
@@ -644,7 +644,7 @@ const $953b286f7778640e$var$SidebarNavigation = (props)=>{
644
644
  /*#__PURE__*/ (0, $hgUW1$jsx)("ul", {
645
645
  className: "ds-u-padding-bottom--2",
646
646
  children: links.map(({ url: url, label: label })=>/*#__PURE__*/ (0, $hgUW1$jsx)("li", {
647
- className: `ds-u-padding--1 ds-u-padding-top--2 ds-u-border-bottom--1 ds-u-border--color-gray-lightest ${active === url ? 'active' : ''}`,
647
+ className: `ds-u-padding--1 ds-u-padding-top--2 ds-u-border-bottom--1 ds-u-border--color-gray-lightest ${active === url ? "active" : ""}`,
648
648
  children: /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
649
649
  className: "ds-u-display--flex ds-u-padding-y--1",
650
650
  children: [
@@ -679,12 +679,12 @@ const $b0968edc60d7d3a4$var$SidebarPage = (props)=>{
679
679
  query: `(max-width: ${mobileMaxWidth}px)`
680
680
  });
681
681
  return /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
682
- className: `${mobileMax ? "a" : 'ds-l-container'}`,
682
+ className: `${mobileMax ? "a" : "ds-l-container"}`,
683
683
  children: /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
684
- className: `${mobileMax ? "a" : 'ds-l-row'}`,
684
+ className: `${mobileMax ? "a" : "ds-l-row"}`,
685
685
  children: [
686
686
  /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
687
- className: `${mobileMax ? 'a' : "ds-l-col--4"}`,
687
+ className: `${mobileMax ? "a" : "ds-l-col--4"}`,
688
688
  children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $953b286f7778640e$export$2e2bcd8739ae039), {
689
689
  links: links,
690
690
  title: menuTitle,
@@ -707,9 +707,9 @@ var $b0968edc60d7d3a4$export$2e2bcd8739ae039 = $b0968edc60d7d3a4$var$SidebarPage
707
707
 
708
708
 
709
709
 
710
- const $59a079354baa335c$var$Hero = ({ title: title, description: description, searchUrl: searchUrl = 'datasets', searchKey: searchKey = 'fulltext', textfieldLabel: textfieldLabel = 'Search for a dataset', searchButtonText: searchButtonText = 'Search' })=>{
710
+ const $59a079354baa335c$var$Hero = ({ title: title, description: description, searchUrl: searchUrl = "datasets", searchKey: searchKey = "fulltext", textfieldLabel: textfieldLabel = "Search for a dataset", searchButtonText: searchButtonText = "Search" })=>{
711
711
  const navigate = (0, $hgUW1$useNavigate)();
712
- const [searchValue, setSearchValue] = (0, $hgUW1$react).useState('');
712
+ const [searchValue, setSearchValue] = (0, $hgUW1$react).useState("");
713
713
  function submitHero(e) {
714
714
  e.preventDefault();
715
715
  navigate(`/${searchUrl}?${searchKey}=${searchValue}`);
@@ -736,24 +736,24 @@ const $59a079354baa335c$var$Hero = ({ title: title, description: description, se
736
736
  onSubmit: (e)=>submitHero(e),
737
737
  children: /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
738
738
  style: {
739
- position: 'relative'
739
+ position: "relative"
740
740
  },
741
741
  className: "ds-l-row ds-u-align-items--stretch ds-u-margin-y--4 ds-u-flex-wrap--nowrap",
742
742
  children: [
743
743
  /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
744
744
  className: "ds-u-padding--0 ds-u-margin-right--1",
745
745
  style: {
746
- flex: '1 1 100%',
747
- maxWidth: '100%'
746
+ flex: "1 1 100%",
747
+ maxWidth: "100%"
748
748
  },
749
749
  children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$TextField), {
750
750
  label: textfieldLabel,
751
751
  labelClassName: "ds-u-visibility--screen-reader",
752
752
  name: "search_text_input",
753
753
  style: {
754
- maxWidth: 'none',
755
- height: '61px',
756
- margin: '0 20px 0 0'
754
+ maxWidth: "none",
755
+ height: "61px",
756
+ margin: "0 20px 0 0"
757
757
  },
758
758
  onChange: (e)=>setSearchValue(e.target.value)
759
759
  })
@@ -795,7 +795,7 @@ var $59a079354baa335c$export$2e2bcd8739ae039 = $59a079354baa335c$var$Hero;
795
795
 
796
796
  const $b38839fd67928f42$var$SearchItemIcon = (props)=>{
797
797
  switch(props.id){
798
- case 'overview':
798
+ case "overview":
799
799
  return /*#__PURE__*/ (0, $hgUW1$jsxs)("svg", {
800
800
  width: "16px",
801
801
  height: "16px",
@@ -837,7 +837,7 @@ const $b38839fd67928f42$var$SearchItemIcon = (props)=>{
837
837
  })
838
838
  ]
839
839
  });
840
- case 'data-table':
840
+ case "data-table":
841
841
  return /*#__PURE__*/ (0, $hgUW1$jsxs)("svg", {
842
842
  width: "16px",
843
843
  height: "12px",
@@ -869,7 +869,7 @@ const $b38839fd67928f42$var$SearchItemIcon = (props)=>{
869
869
  })
870
870
  ]
871
871
  });
872
- case 'api':
872
+ case "api":
873
873
  return /*#__PURE__*/ (0, $hgUW1$jsxs)("svg", {
874
874
  width: "16px",
875
875
  height: "13px",
@@ -901,7 +901,7 @@ const $b38839fd67928f42$var$SearchItemIcon = (props)=>{
901
901
  })
902
902
  ]
903
903
  });
904
- case 'download':
904
+ case "download":
905
905
  return /*#__PURE__*/ (0, $hgUW1$jsxs)("svg", {
906
906
  width: "16px",
907
907
  height: "16px",
@@ -930,7 +930,7 @@ const $b38839fd67928f42$var$SearchItemIcon = (props)=>{
930
930
  })
931
931
  ]
932
932
  });
933
- case 'data-dictionary':
933
+ case "data-dictionary":
934
934
  return /*#__PURE__*/ (0, $hgUW1$jsxs)("svg", {
935
935
  width: "14px",
936
936
  height: "16px",
@@ -1029,14 +1029,14 @@ var $b61856b23f5f58a2$export$2e2bcd8739ae039 = $b61856b23f5f58a2$var$LargeFileDi
1029
1029
 
1030
1030
 
1031
1031
  const $bd76a91923d7e8a7$var$TransformedDate = ({ date: date, options: options = {
1032
- year: 'numeric',
1033
- month: 'long',
1034
- day: 'numeric',
1035
- timeZone: 'UTC'
1032
+ year: "numeric",
1033
+ month: "long",
1034
+ day: "numeric",
1035
+ timeZone: "UTC"
1036
1036
  } })=>{
1037
1037
  const rawDate = new Date(date);
1038
- let modifiedDate = '';
1039
- if (rawDate) modifiedDate = rawDate.toLocaleDateString('en-US', options);
1038
+ let modifiedDate = "";
1039
+ if (rawDate) modifiedDate = rawDate.toLocaleDateString("en-US", options);
1040
1040
  return /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Fragment), {
1041
1041
  children: modifiedDate
1042
1042
  });
@@ -1048,13 +1048,13 @@ var $bd76a91923d7e8a7$export$2e2bcd8739ae039 = $bd76a91923d7e8a7$var$Transformed
1048
1048
 
1049
1049
 
1050
1050
  function $1a2bf34e2a8f6b80$export$59a943b34a82e690(textString, textLength = 240) {
1051
- if (!textString) return '';
1051
+ if (!textString) return "";
1052
1052
  let cleanedText = textString;
1053
- if (cleanedText.split('</p>').length > 1) cleanedText = cleanedText.split('</p>')[0];
1054
- if (cleanedText.split('<br/>').length > 1) cleanedText = cleanedText.split('<br/>')[0];
1053
+ if (cleanedText.split("</p>").length > 1) cleanedText = cleanedText.split("</p>")[0];
1054
+ if (cleanedText.split("<br/>").length > 1) cleanedText = cleanedText.split("<br/>")[0];
1055
1055
  cleanedText = (0, $hgUW1$lodashtruncate)(cleanedText, {
1056
- 'length': textLength,
1057
- 'separator': ' '
1056
+ "length": textLength,
1057
+ "separator": " "
1058
1058
  });
1059
1059
  return (0, $hgUW1$dompurify).sanitize(cleanedText, {
1060
1060
  ALLOWED_TAGS: []
@@ -1068,25 +1068,25 @@ const $52c6454cae137465$var$DatasetSearchListItem = (props)=>{
1068
1068
  minWidth: 1024
1069
1069
  });
1070
1070
  const { title: title, modified: modified, description: description, identifier: identifier, downloadUrl: downloadUrl, largeFile: largeFile = false, paginationEnabled: paginationEnabled, dataDictionaryLinks: dataDictionaryLinks } = props;
1071
- let linkContainerClasses = 'ds-u-margin-bottom--2';
1072
- if (dataDictionaryLinks) linkContainerClasses += ' ds-l-col--6 ds-u-padding-right--0';
1073
- else linkContainerClasses += ' ds-l-col--auto ds-u-padding-left--0';
1074
- let linkClasses = 'ds-u-display--block ds-u-text-align--left';
1071
+ let linkContainerClasses = "ds-u-margin-bottom--2";
1072
+ if (dataDictionaryLinks) linkContainerClasses += " ds-l-col--6 ds-u-padding-right--0";
1073
+ else linkContainerClasses += " ds-l-col--auto ds-u-padding-left--0";
1074
+ let linkClasses = "ds-u-display--block ds-u-text-align--left";
1075
1075
  if (desktop) {
1076
- linkContainerClasses = 'ds-u-padding-x--0';
1077
- linkClasses += ' ds-l-col--4 ds-l-md-col--auto';
1076
+ linkContainerClasses = "ds-u-padding-x--0";
1077
+ linkClasses += " ds-l-col--4 ds-l-md-col--auto";
1078
1078
  }
1079
1079
  return /*#__PURE__*/ (0, $hgUW1$jsx)("li", {
1080
1080
  className: "dc-c-search-list-item ds-u-padding-top--3",
1081
1081
  children: /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
1082
- className: `dc-c-searchlist-item ${paginationEnabled ? 'ds-u-border-top--1' : 'ds-u-border-bottom--1 ds-u-padding-bottom--3'}`,
1082
+ className: `dc-c-searchlist-item ${paginationEnabled ? "ds-u-border-top--1" : "ds-u-border-bottom--1 ds-u-padding-bottom--3"}`,
1083
1083
  children: [
1084
1084
  /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
1085
1085
  className: "ds-l-row ds-u-align-items--start",
1086
1086
  children: [
1087
1087
  /*#__PURE__*/ (0, $hgUW1$jsxs)("span", {
1088
1088
  id: `dataset-${identifier}-updated-date`,
1089
- className: `ds-l-col--12 ds-u-text-align--right ${paginationEnabled ? 'ds-u-padding-top--2' : 'ds-u-padding-top--0'}`,
1089
+ className: `ds-l-col--12 ds-u-text-align--right ${paginationEnabled ? "ds-u-padding-top--2" : "ds-u-padding-top--0"}`,
1090
1090
  children: [
1091
1091
  "Updated ",
1092
1092
  /*#__PURE__*/ (0, $hgUW1$jsx)((0, $bd76a91923d7e8a7$export$2e2bcd8739ae039), {
@@ -1128,9 +1128,9 @@ const $52c6454cae137465$var$DatasetSearchListItem = (props)=>{
1128
1128
  "Download"
1129
1129
  ]
1130
1130
  })
1131
- }) : '',
1131
+ }) : "",
1132
1132
  /*#__PURE__*/ (0, $hgUW1$jsxs)("ul", {
1133
- className: `ds-l-row ds-u-padding--0 ds-u-flex-direction--row ds-u-justify-content--between ds-u-md-justify-content--start ds-u-margin-top--3 ds-u-margin-x--0 ${!dataDictionaryLinks ? 'ds-u-justify-content--center ds-u-md-justify-content--start' : ''}`,
1133
+ className: `ds-l-row ds-u-padding--0 ds-u-flex-direction--row ds-u-justify-content--between ds-u-md-justify-content--start ds-u-margin-top--3 ds-u-margin-x--0 ${!dataDictionaryLinks ? "ds-u-justify-content--center ds-u-md-justify-content--start" : ""}`,
1134
1134
  children: [
1135
1135
  /*#__PURE__*/ (0, $hgUW1$jsx)("li", {
1136
1136
  className: linkContainerClasses,
@@ -1176,7 +1176,7 @@ const $52c6454cae137465$var$DatasetSearchListItem = (props)=>{
1176
1176
  ]
1177
1177
  })
1178
1178
  })
1179
- }) : '',
1179
+ }) : "",
1180
1180
  /*#__PURE__*/ (0, $hgUW1$jsx)("li", {
1181
1181
  className: linkContainerClasses,
1182
1182
  children: /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
@@ -1228,7 +1228,7 @@ var $789279954d8eff7f$export$2e2bcd8739ae039 = $789279954d8eff7f$var$ApiDocument
1228
1228
 
1229
1229
 
1230
1230
 
1231
- const $2ed0091f7e32d1e6$var$DataTablePageResults = ({ totalRows: totalRows, limit: limit, offset: offset, className: className = 'data-table-results' })=>{
1231
+ const $2ed0091f7e32d1e6$var$DataTablePageResults = ({ totalRows: totalRows, limit: limit, offset: offset, className: className = "data-table-results" })=>{
1232
1232
  const numTotalRows = totalRows;
1233
1233
  if (numTotalRows === 0) return /*#__PURE__*/ (0, $hgUW1$jsx)("p", {
1234
1234
  className: className,
@@ -1246,18 +1246,18 @@ const $2ed0091f7e32d1e6$var$DataTablePageResults = ({ totalRows: totalRows, limi
1246
1246
  className: className,
1247
1247
  children: [
1248
1248
  "Displaying",
1249
- ' ',
1249
+ " ",
1250
1250
  /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
1251
1251
  className: "ds-u-font-weight--bold",
1252
1252
  children: `${startTotal().toLocaleString()} - ${ofTotal().toLocaleString()}`
1253
1253
  }),
1254
- ' ',
1254
+ " ",
1255
1255
  "of ",
1256
1256
  /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
1257
1257
  className: "ds-u-font-weight--bold",
1258
1258
  children: `${numTotalRows.toLocaleString()}`
1259
1259
  }),
1260
- ' ',
1260
+ " ",
1261
1261
  "results"
1262
1262
  ]
1263
1263
  });
@@ -1283,16 +1283,16 @@ const $1e012d1e3b534af0$var$DataTableDensity = ({ setTablePadding: setTablePaddi
1283
1283
  children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Dropdown), {
1284
1284
  options: [
1285
1285
  {
1286
- label: 'Tight',
1287
- value: 'ds-u-padding-y--0'
1286
+ label: "Tight",
1287
+ value: "ds-u-padding-y--0"
1288
1288
  },
1289
1289
  {
1290
- label: 'Normal',
1291
- value: 'ds-u-padding-y--1'
1290
+ label: "Normal",
1291
+ value: "ds-u-padding-y--1"
1292
1292
  },
1293
1293
  {
1294
- label: 'Expanded',
1295
- value: 'ds-u-padding-y--2'
1294
+ label: "Expanded",
1295
+ value: "ds-u-padding-y--2"
1296
1296
  }
1297
1297
  ],
1298
1298
  label: "Display density:",
@@ -1535,7 +1535,7 @@ function $aa4450dcbeef3ac0$export$385a5aba38cc3325(sortArray) {
1535
1535
  sortArray.forEach((s)=>{
1536
1536
  return newQuery.push({
1537
1537
  property: s.id,
1538
- order: s.desc ? 'desc' : 'asc'
1538
+ order: s.desc ? "desc" : "asc"
1539
1539
  });
1540
1540
  });
1541
1541
  return newQuery;
@@ -1573,103 +1573,103 @@ function $7264a673914aa746$export$e284ae5d89467c8f(date) {
1573
1573
  }
1574
1574
  function $7264a673914aa746$export$6b5e57d20078142b(value, operator) {
1575
1575
  let newValue = value;
1576
- if (Array.isArray(newValue)) newValue = newValue.join(',');
1576
+ if (Array.isArray(newValue)) newValue = newValue.join(",");
1577
1577
  // return newValue.replace(/(^\%+|\%+$)/gm, '');
1578
1578
  return newValue;
1579
1579
  }
1580
1580
  const $7264a673914aa746$export$5f89a5ae87bc48e1 = [
1581
1581
  {
1582
- label: 'Is',
1583
- value: '='
1582
+ label: "Is",
1583
+ value: "="
1584
1584
  },
1585
1585
  {
1586
- label: 'Starts With',
1587
- value: 'starts with'
1586
+ label: "Starts With",
1587
+ value: "starts with"
1588
1588
  },
1589
1589
  {
1590
- label: 'Contains',
1591
- value: 'contains'
1590
+ label: "Contains",
1591
+ value: "contains"
1592
1592
  },
1593
1593
  {
1594
- label: 'Is Not',
1595
- value: '<>'
1594
+ label: "Is Not",
1595
+ value: "<>"
1596
1596
  },
1597
1597
  {
1598
- label: 'Or',
1599
- value: 'in'
1598
+ label: "Or",
1599
+ value: "in"
1600
1600
  },
1601
1601
  {
1602
- label: 'Is',
1603
- value: '='
1602
+ label: "Is",
1603
+ value: "="
1604
1604
  },
1605
1605
  {
1606
- label: 'Is Not',
1607
- value: '<>'
1606
+ label: "Is Not",
1607
+ value: "<>"
1608
1608
  },
1609
1609
  {
1610
- label: 'Greater Than',
1611
- value: '>'
1610
+ label: "Greater Than",
1611
+ value: ">"
1612
1612
  },
1613
1613
  {
1614
- label: 'Less Than',
1615
- value: '<'
1614
+ label: "Less Than",
1615
+ value: "<"
1616
1616
  }
1617
1617
  ];
1618
1618
  function $7264a673914aa746$export$2b9377795161999(type) {
1619
1619
  switch(type){
1620
- case 'text':
1621
- case 'string':
1620
+ case "text":
1621
+ case "string":
1622
1622
  return [
1623
1623
  {
1624
- label: 'Is',
1625
- value: '='
1624
+ label: "Is",
1625
+ value: "="
1626
1626
  },
1627
1627
  {
1628
- label: 'Starts With',
1629
- value: 'starts with'
1628
+ label: "Starts With",
1629
+ value: "starts with"
1630
1630
  },
1631
1631
  {
1632
- label: 'Contains',
1633
- value: 'contains'
1632
+ label: "Contains",
1633
+ value: "contains"
1634
1634
  },
1635
1635
  {
1636
- label: 'Is Not',
1637
- value: '<>'
1636
+ label: "Is Not",
1637
+ value: "<>"
1638
1638
  },
1639
1639
  {
1640
- label: 'Or',
1641
- value: 'in'
1640
+ label: "Or",
1641
+ value: "in"
1642
1642
  }
1643
1643
  ];
1644
- case 'date':
1644
+ case "date":
1645
1645
  return [
1646
1646
  {
1647
- label: 'Is',
1648
- value: '='
1647
+ label: "Is",
1648
+ value: "="
1649
1649
  },
1650
1650
  {
1651
- label: 'Is Not',
1652
- value: '<>'
1651
+ label: "Is Not",
1652
+ value: "<>"
1653
1653
  },
1654
1654
  {
1655
- label: 'Greater Than',
1656
- value: '>'
1655
+ label: "Greater Than",
1656
+ value: ">"
1657
1657
  },
1658
1658
  {
1659
- label: 'Less Than',
1660
- value: '<'
1659
+ label: "Less Than",
1660
+ value: "<"
1661
1661
  }
1662
1662
  ];
1663
1663
  default:
1664
1664
  // These 2 should be safe for all data types
1665
1665
  return [
1666
1666
  {
1667
- label: 'Is',
1668
- value: '='
1667
+ label: "Is",
1668
+ value: "="
1669
1669
  },
1670
1670
  {
1671
- label: 'Is Not',
1672
- value: '<>'
1671
+ label: "Is Not",
1672
+ value: "<>"
1673
1673
  }
1674
1674
  ];
1675
1675
  }
@@ -1686,7 +1686,7 @@ function $7264a673914aa746$export$2b9377795161999(type) {
1686
1686
 
1687
1687
 
1688
1688
  const $64a351d3fd8413c3$var$HeaderResizeElement = ({ table: table, header: header, sortElement: sortElement, setAriaLiveFeedback: setAriaLiveFeedback })=>{
1689
- const [columnResizing, setColumnResizing] = (0, $hgUW1$useState)('');
1689
+ const [columnResizing, setColumnResizing] = (0, $hgUW1$useState)("");
1690
1690
  return /*#__PURE__*/ (0, $hgUW1$jsxs)("th", {
1691
1691
  key: header.id,
1692
1692
  style: {
@@ -1699,13 +1699,13 @@ const $64a351d3fd8413c3$var$HeaderResizeElement = ({ table: table, header: heade
1699
1699
  children: [
1700
1700
  /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
1701
1701
  children: /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
1702
- title: typeof header.column.columnDef.header === "string" ? header.column.columnDef.header : '',
1702
+ title: typeof header.column.columnDef.header === "string" ? header.column.columnDef.header : "",
1703
1703
  children: header.isPlaceholder ? null : (0, $hgUW1$flexRender)(header.column.columnDef.header, header.getContext())
1704
1704
  })
1705
1705
  }),
1706
1706
  sortElement && /*#__PURE__*/ (0, $hgUW1$jsx)("button", {
1707
1707
  onClick: header.column.getToggleSortingHandler(),
1708
- className: header.column.getCanSort() ? `cursor-pointer select-none ds-u-focus-visible ${sortElement(header.column.getIsSorted())}` : '',
1708
+ className: header.column.getCanSort() ? `cursor-pointer select-none ds-u-focus-visible ${sortElement(header.column.getIsSorted())}` : "",
1709
1709
  "aria-label": `${header.column.columnDef.header} sort order`
1710
1710
  })
1711
1711
  ]
@@ -1713,18 +1713,18 @@ const $64a351d3fd8413c3$var$HeaderResizeElement = ({ table: table, header: heade
1713
1713
  /*#__PURE__*/ (0, $hgUW1$jsx)("button", {
1714
1714
  onMouseDown: header.getResizeHandler(),
1715
1715
  onTouchStart: header.getResizeHandler(),
1716
- className: `dc-c-resize-handle ds-u-focus-visible ${header.column.getIsResizing() || header.column.id == columnResizing ? 'isResizing' : ''}`,
1716
+ className: `dc-c-resize-handle ds-u-focus-visible ${header.column.getIsResizing() || header.column.id == columnResizing ? "isResizing" : ""}`,
1717
1717
  "aria-label": `Resize ${header.column.columnDef.header} column`,
1718
1718
  onKeyDown: (e)=>{
1719
1719
  const columnSizingObject = table.getState().columnSizing;
1720
1720
  switch(e.key){
1721
- case 'Enter':
1722
- case ' ':
1721
+ case "Enter":
1722
+ case " ":
1723
1723
  e.preventDefault();
1724
1724
  e.stopPropagation();
1725
1725
  if (columnResizing) {
1726
1726
  // end resizing
1727
- setColumnResizing('');
1727
+ setColumnResizing("");
1728
1728
  setAriaLiveFeedback(`${header.column.columnDef.header} dropped.`);
1729
1729
  } else {
1730
1730
  // start resizing
@@ -1732,13 +1732,13 @@ const $64a351d3fd8413c3$var$HeaderResizeElement = ({ table: table, header: heade
1732
1732
  setAriaLiveFeedback(`${header.column.columnDef.header} grabbed.`);
1733
1733
  }
1734
1734
  break;
1735
- case 'Escape':
1735
+ case "Escape":
1736
1736
  if (columnResizing) {
1737
- setColumnResizing('');
1737
+ setColumnResizing("");
1738
1738
  setAriaLiveFeedback(`${header.column.columnDef.header} dropped.`);
1739
1739
  }
1740
1740
  break;
1741
- case 'ArrowRight':
1741
+ case "ArrowRight":
1742
1742
  e.preventDefault();
1743
1743
  e.stopPropagation();
1744
1744
  if (columnResizing) {
@@ -1747,7 +1747,7 @@ const $64a351d3fd8413c3$var$HeaderResizeElement = ({ table: table, header: heade
1747
1747
  setAriaLiveFeedback(`${header.column.columnDef.header} has been resized. The new width is ${header.getSize()} pixels.`);
1748
1748
  }
1749
1749
  break;
1750
- case 'ArrowLeft':
1750
+ case "ArrowLeft":
1751
1751
  e.preventDefault();
1752
1752
  e.stopPropagation();
1753
1753
  if (columnResizing) {
@@ -1759,7 +1759,7 @@ const $64a351d3fd8413c3$var$HeaderResizeElement = ({ table: table, header: heade
1759
1759
  }
1760
1760
  },
1761
1761
  onBlur: ()=>{
1762
- setColumnResizing('');
1762
+ setColumnResizing("");
1763
1763
  }
1764
1764
  })
1765
1765
  ]
@@ -1808,7 +1808,7 @@ const $23763e27eda0e8d7$var$FixedSizeTHead = ({ table: table, sortElement: sortE
1808
1808
  children: header.isPlaceholder ? null : (0, $hgUW1$flexRender)(header.column.columnDef.header, header.getContext())
1809
1809
  }),
1810
1810
  /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
1811
- className: header.column.getCanSort() ? `cursor-pointer select-none ${sortElement(header.column.getIsSorted())}` : ''
1811
+ className: header.column.getCanSort() ? `cursor-pointer select-none ${sortElement(header.column.getIsSorted())}` : ""
1812
1812
  })
1813
1813
  ]
1814
1814
  })
@@ -1844,9 +1844,9 @@ const $5fe94aeb50e0798b$var$Card = ({ id: id, visible: visible, updateVisibility
1844
1844
  transition: transition,
1845
1845
  opacity: isDragging ? 0.7 : 1,
1846
1846
  zIndex: isDragging ? 1 : 0,
1847
- position: 'relative',
1848
- background: 'white',
1849
- touchAction: 'none'
1847
+ position: "relative",
1848
+ background: "white",
1849
+ touchAction: "none"
1850
1850
  };
1851
1851
  return /*#__PURE__*/ (0, $hgUW1$jsxs)("li", {
1852
1852
  className: "ds-u-display--flex ds-u-justify-content--between ds-u-border-bottom--1",
@@ -1861,7 +1861,7 @@ const $5fe94aeb50e0798b$var$Card = ({ id: id, visible: visible, updateVisibility
1861
1861
  // this code forces the repaint without user interaction
1862
1862
  const target = e.target;
1863
1863
  if (isDragging && target.tagName.toLowerCase() === "label") setTimeout(()=>{
1864
- target.parentNode.querySelector('input').checked = visible;
1864
+ target.parentNode.querySelector("input").checked = visible;
1865
1865
  }, 1);
1866
1866
  },
1867
1867
  children: [
@@ -1878,7 +1878,7 @@ const $5fe94aeb50e0798b$var$Card = ({ id: id, visible: visible, updateVisibility
1878
1878
  }
1879
1879
  }),
1880
1880
  /*#__PURE__*/ (0, $hgUW1$jsx)("button", {
1881
- className: `ds-l-col--2 dkan-manage-columns-reorder-button ${isDragging && 'grabbed'}`,
1881
+ className: `ds-l-col--2 dkan-manage-columns-reorder-button ${isDragging && "grabbed"}`,
1882
1882
  "aria-label": `Reorder ${id} column`,
1883
1883
  children: /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
1884
1884
  className: "fa fa-sort"
@@ -1900,7 +1900,7 @@ class $5d9e2ce238d53d29$var$ExcludeCheckboxKeyboardSensor extends (0, $hgUW1$Key
1900
1900
  // Custom function to exclude checkbox from keyboard dragging
1901
1901
  static activators = [
1902
1902
  {
1903
- eventName: 'onKeyDown',
1903
+ eventName: "onKeyDown",
1904
1904
  handler: ({ nativeEvent: event })=>{
1905
1905
  // prevent scrolling the list
1906
1906
  const isCheckbox = [
@@ -1923,7 +1923,7 @@ class $5d9e2ce238d53d29$var$ExcludeCheckboxPointerSensor extends (0, $hgUW1$Poin
1923
1923
  // Custom function to stop accidental checkbox clicks on pointer activation
1924
1924
  static activators = [
1925
1925
  {
1926
- eventName: 'onPointerDown',
1926
+ eventName: "onPointerDown",
1927
1927
  handler: ({ nativeEvent: event })=>{
1928
1928
  if (event.target.tagName.toLowerCase() === "input") return false;
1929
1929
  if (event.target.tagName.toLowerCase() === "label") event.target.blur();
@@ -1991,7 +1991,7 @@ const $5d9e2ce238d53d29$var$ManageColumns = ({ id: id, columns: columns, default
1991
1991
  }));
1992
1992
  };
1993
1993
  return /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
1994
- className: `ds-c-dialog-wrap${modalOpen ? ' open' : ''}`,
1994
+ className: `ds-c-dialog-wrap${modalOpen ? " open" : ""}`,
1995
1995
  children: /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Dialog), {
1996
1996
  heading: "Manage columns",
1997
1997
  isOpen: modalOpen,
@@ -2324,12 +2324,12 @@ const $bef7bff2823feea2$var$QueryTitle = ({ conditions: conditions, schema: sche
2324
2324
  className: "ds-u-font-weight--bold",
2325
2325
  children: description
2326
2326
  }),
2327
- ' ',
2327
+ " ",
2328
2328
  /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
2329
2329
  className: "ds-u-font-weight--normal",
2330
2330
  children: operator.label.toUpperCase()
2331
2331
  }),
2332
- ' ',
2332
+ " ",
2333
2333
  /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
2334
2334
  className: "ds-u-color--success",
2335
2335
  children: formattedText
@@ -2359,7 +2359,7 @@ var $bef7bff2823feea2$export$2e2bcd8739ae039 = $bef7bff2823feea2$var$QueryTitle;
2359
2359
 
2360
2360
 
2361
2361
  function $6369abf590ca298f$var$getStartDate(condition, schema, id) {
2362
- if (schema[id].fields[condition.property].mysql_type === 'date') {
2362
+ if (schema[id].fields[condition.property].mysql_type === "date") {
2363
2363
  const newDate = new Date(condition.value.toString());
2364
2364
  if (newDate instanceof Date && !isNaN(newDate.getTime())) return newDate;
2365
2365
  }
@@ -2375,9 +2375,9 @@ const $6369abf590ca298f$var$QueryRow = ({ id: id, condition: condition, index: i
2375
2375
  });
2376
2376
  (0, $hgUW1$useEffect)(()=>{
2377
2377
  if (property !== condition.property) {
2378
- if (property) update(index, 'property', property);
2379
- else update(index, 'property', '');
2380
- if (schema[id].fields[condition.property].mysql_type === 'date') {
2378
+ if (property) update(index, "property", property);
2379
+ else update(index, "property", "");
2380
+ if (schema[id].fields[condition.property].mysql_type === "date") {
2381
2381
  if (!value) setValue(startDate.toJSON().slice(0, 10));
2382
2382
  }
2383
2383
  }
@@ -2391,16 +2391,16 @@ const $6369abf590ca298f$var$QueryRow = ({ id: id, condition: condition, index: i
2391
2391
  ]);
2392
2392
  (0, $hgUW1$useEffect)(()=>{
2393
2393
  if (operator !== condition.operator) {
2394
- if (operator) update(index, 'operator', operator);
2395
- else update(index, 'operator', '');
2394
+ if (operator) update(index, "operator", operator);
2395
+ else update(index, "operator", "");
2396
2396
  }
2397
2397
  }, [
2398
2398
  operator
2399
2399
  ]);
2400
2400
  (0, $hgUW1$useEffect)(()=>{
2401
2401
  if (value !== condition.value) {
2402
- if (value) update(index, 'value', value);
2403
- else update(index, 'value', '');
2402
+ if (value) update(index, "value", value);
2403
+ else update(index, "value", "");
2404
2404
  }
2405
2405
  }, [
2406
2406
  value
@@ -2432,7 +2432,7 @@ const $6369abf590ca298f$var$QueryRow = ({ id: id, condition: condition, index: i
2432
2432
  /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
2433
2433
  className: "ds-l-col--12 ds-l-md-col--4 ds-u-padding-x--0 ds-u-md-padding-left--2 ds-u-display--flex ds-u-justify-content--between",
2434
2434
  children: [
2435
- schema[id].fields[property].mysql_type === 'date' ? /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
2435
+ schema[id].fields[property].mysql_type === "date" ? /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
2436
2436
  children: [
2437
2437
  /*#__PURE__*/ (0, $hgUW1$jsx)("label", {
2438
2438
  className: "ds-c-label",
@@ -2493,9 +2493,9 @@ const $2eec38d4d0dbf714$var$ClearFiltersButton = ({ disabled: disabled = false,
2493
2493
  return /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Button), {
2494
2494
  disabled: disabled,
2495
2495
  className: "ds-u-float--right ds-l-md-col--6 ds-l-col--5",
2496
- variation: small ? 'ghost' : undefined,
2496
+ variation: small ? "ghost" : undefined,
2497
2497
  onClick: ()=>clearFiltersFn(),
2498
- children: small ? 'Clear all' : 'Clear all filters'
2498
+ children: small ? "Clear all" : "Clear all filters"
2499
2499
  });
2500
2500
  };
2501
2501
  var $2eec38d4d0dbf714$export$2e2bcd8739ae039 = $2eec38d4d0dbf714$var$ClearFiltersButton;
@@ -2504,19 +2504,19 @@ var $2eec38d4d0dbf714$export$2e2bcd8739ae039 = $2eec38d4d0dbf714$var$ClearFilter
2504
2504
  function $ee4ad47aa483e5b5$var$updateQueryForDatastore(condition) {
2505
2505
  let cond = condition;
2506
2506
  delete cond.key;
2507
- if (cond.operator === '=' || cond.operator === '<>') {
2507
+ if (cond.operator === "=" || cond.operator === "<>") {
2508
2508
  if (Array.isArray(cond.value)) cond.value = cond.value.join();
2509
- cond.value = cond.value.replace(/(^\%+|\%+$)/gm, '');
2509
+ cond.value = cond.value.replace(/(^\%+|\%+$)/gm, "");
2510
2510
  }
2511
- if (cond.operator.toLowerCase() === 'like') {
2511
+ if (cond.operator.toLowerCase() === "like") {
2512
2512
  if (Array.isArray(cond.value)) cond.value = cond.value.join();
2513
- const cleanedValue = cond.value.replace(/(^\%+|\%+$)/gm, '');
2513
+ const cleanedValue = cond.value.replace(/(^\%+|\%+$)/gm, "");
2514
2514
  cond.value = `%${cleanedValue}%`;
2515
2515
  }
2516
- if (cond.operator.toLowerCase() === 'in') {
2517
- if (!Array.isArray(cond.value)) cond.value = cond.value.split(',');
2516
+ if (cond.operator.toLowerCase() === "in") {
2517
+ if (!Array.isArray(cond.value)) cond.value = cond.value.split(",");
2518
2518
  }
2519
- if (Array.isArray(cond.value)) cond.value = cond.value.map((v)=>v.trim().replace(/(^\%+|\%+$)/gm, ''));
2519
+ if (Array.isArray(cond.value)) cond.value = cond.value.map((v)=>v.trim().replace(/(^\%+|\%+$)/gm, ""));
2520
2520
  return cond;
2521
2521
  }
2522
2522
  const $ee4ad47aa483e5b5$var$QueryBuilder = ({ resource: resource, id: id, customColumns: customColumns, isModal: isModal = false, setPage: setPage, setOffset: setOffset })=>{
@@ -2535,7 +2535,7 @@ const $ee4ad47aa483e5b5$var$QueryBuilder = ({ resource: resource, id: id, custom
2535
2535
  } else setQueryConditions([
2536
2536
  {
2537
2537
  property: fields[0],
2538
- value: '',
2538
+ value: "",
2539
2539
  operator: (0, $7264a673914aa746$export$2b9377795161999)(schema[id].fields[fields[0]].mysql_type)[0].value,
2540
2540
  key: Date.now().toString()
2541
2541
  }
@@ -2552,7 +2552,7 @@ const $ee4ad47aa483e5b5$var$QueryBuilder = ({ resource: resource, id: id, custom
2552
2552
  ...queryConditions,
2553
2553
  {
2554
2554
  property: fields[0],
2555
- value: '',
2555
+ value: "",
2556
2556
  operator: (0, $7264a673914aa746$export$2b9377795161999)(schema[id].fields[fields[0]].mysql_type)[0].value,
2557
2557
  key: Date.now().toString()
2558
2558
  }
@@ -2583,7 +2583,7 @@ const $ee4ad47aa483e5b5$var$QueryBuilder = ({ resource: resource, id: id, custom
2583
2583
  encodeValuesOnly: true,
2584
2584
  addQueryPrefix: true
2585
2585
  });
2586
- window.history.pushState({}, '', `${url.origin}${url.pathname}${urlString}`);
2586
+ window.history.pushState({}, "", `${url.origin}${url.pathname}${urlString}`);
2587
2587
  };
2588
2588
  const submitConditions = (e)=>{
2589
2589
  // only update the data conditions when "Apply filters" is pressed
@@ -2733,12 +2733,12 @@ const $a35cf16d1488f54e$var$DatasetTable = ({ isModal: isModal = false, closeFul
2733
2733
  showQueryBuilder: showQueryBuilder
2734
2734
  }),
2735
2735
  /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
2736
- className: `ds-u-border-x--1 ds-u-border-bottom--1 ${isModal && 'dkan-datatable-fullscreen-mode'}`,
2736
+ className: `ds-u-border-x--1 ds-u-border-bottom--1 ${isModal && "dkan-datatable-fullscreen-mode"}`,
2737
2737
  children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $d98f94c79ddf4e0e$export$2e2bcd8739ae039), {
2738
2738
  canResize: true,
2739
2739
  columns: columns,
2740
2740
  sortTransform: (0, $aa4450dcbeef3ac0$export$385a5aba38cc3325),
2741
- tablePadding: 'ds-u-padding-y--2',
2741
+ tablePadding: "ds-u-padding-y--2",
2742
2742
  loading: resource.loading,
2743
2743
  isModal: isModal,
2744
2744
  closeFullScreenModal: closeFullScreenModal
@@ -2771,7 +2771,7 @@ var $a35cf16d1488f54e$export$2e2bcd8739ae039 = $a35cf16d1488f54e$var$DatasetTabl
2771
2771
 
2772
2772
  const $16bd41951b91f02d$var$FullScreenDataTable = ({ modalOpen: modalOpen, setModalOpen: setModalOpen })=>{
2773
2773
  return /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
2774
- className: `ds-c-dialog-wrap${modalOpen ? ' open' : ''}`,
2774
+ className: `ds-c-dialog-wrap${modalOpen ? " open" : ""}`,
2775
2775
  children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Dialog), {
2776
2776
  heading: "Dataset Explorer",
2777
2777
  isOpen: modalOpen,
@@ -2821,7 +2821,7 @@ const $71b4324f265dec16$var$DataTableControls = ({ id: id, columns: columns, def
2821
2821
  ]
2822
2822
  }),
2823
2823
  /*#__PURE__*/ (0, $hgUW1$jsxs)("button", {
2824
- "aria-label": isModal ? 'Close Full Screen dialog' : 'Full Screen mode - Opens in a dialog',
2824
+ "aria-label": isModal ? "Close Full Screen dialog" : "Full Screen mode - Opens in a dialog",
2825
2825
  className: "ds-c-button ds-c-button--ghost ds-u-margin-y--1",
2826
2826
  onClick: ()=>{
2827
2827
  if (isModal) closeFullScreenModal();
@@ -2829,7 +2829,7 @@ const $71b4324f265dec16$var$DataTableControls = ({ id: id, columns: columns, def
2829
2829
  },
2830
2830
  children: [
2831
2831
  /*#__PURE__*/ (0, $hgUW1$jsx)("i", {
2832
- className: `fa ${isModal ? 'fa-compress' : 'fa-expand'} ds-u-margin-right--1`
2832
+ className: `fa ${isModal ? "fa-compress" : "fa-expand"} ds-u-margin-right--1`
2833
2833
  }),
2834
2834
  isModal ? "Exit Full Screen" : "Full Screen"
2835
2835
  ]
@@ -2866,7 +2866,7 @@ const $d98f94c79ddf4e0e$var$DataTable = ({ columns: columns, sortTransform: sort
2866
2866
  const { columnOrder: columnOrder, setColumnOrder: setColumnOrder, columnVisibility: columnVisibility, setColumnVisibility: setColumnVisibility } = (0, $hgUW1$useContext)((0, $ebda441784d176a5$export$2e2bcd8739ae039));
2867
2867
  const data = resource.values;
2868
2868
  const [sorting, setSorting] = (0, $hgUW1$useState)([]);
2869
- const [ariaLiveFeedback, setAriaLiveFeedback] = (0, $hgUW1$useState)('');
2869
+ const [ariaLiveFeedback, setAriaLiveFeedback] = (0, $hgUW1$useState)("");
2870
2870
  const dataTableWrapperElement = (0, $hgUW1$useRef)(null);
2871
2871
  const columnHelper = (0, $hgUW1$createColumnHelper)();
2872
2872
  const table_columns = columns.map((col)=>{
@@ -2885,9 +2885,9 @@ const $d98f94c79ddf4e0e$var$DataTable = ({ columns: columns, sortTransform: sort
2885
2885
  columnOrder
2886
2886
  ]);
2887
2887
  const sortElement = (isSorted, onClickFn)=>{
2888
- if (isSorted === 'asc') return 'dc-c-sort--asc';
2889
- if (isSorted === 'desc') return 'dc-c-sort--desc';
2890
- return 'dc-c-sort--default';
2888
+ if (isSorted === "asc") return "dc-c-sort--asc";
2889
+ if (isSorted === "desc") return "dc-c-sort--desc";
2890
+ return "dc-c-sort--default";
2891
2891
  };
2892
2892
  const filters = [];
2893
2893
  const table = (0, $hgUW1$useReactTable)({
@@ -2899,7 +2899,7 @@ const $d98f94c79ddf4e0e$var$DataTable = ({ columns: columns, sortTransform: sort
2899
2899
  columnVisibility: columnVisibility,
2900
2900
  sorting: sorting
2901
2901
  },
2902
- columnResizeMode: 'onChange',
2902
+ columnResizeMode: "onChange",
2903
2903
  onSortingChange: setSorting,
2904
2904
  onColumnOrderChange: setColumnOrder,
2905
2905
  onColumnVisibilityChange: setColumnVisibility,
@@ -2916,7 +2916,7 @@ const $d98f94c79ddf4e0e$var$DataTable = ({ columns: columns, sortTransform: sort
2916
2916
  const defaultColumnOrder = (0, $hgUW1$useMemo)(()=>table_columns.map((column)=>column.accessorKey), []);
2917
2917
  const tableWrapperWidth = ()=>{
2918
2918
  if (dataTableWrapperElement.current) return dataTableWrapperElement.current.offsetWidth;
2919
- return 'auto';
2919
+ return "auto";
2920
2920
  };
2921
2921
  (0, $hgUW1$useEffect)(()=>{
2922
2922
  setHighlightRow(null);
@@ -3018,7 +3018,7 @@ function $626282d9a03c51d5$var$DefaultColumnFilter({ column: { Header: Header, a
3018
3018
  },
3019
3019
  labelClassName: "ds-u-visibility--screen-reader",
3020
3020
  name: accessor,
3021
- value: filterValue || ''
3021
+ value: filterValue || ""
3022
3022
  });
3023
3023
  }
3024
3024
  const $626282d9a03c51d5$var$ResourcePreview = ({ tablePadding: tablePadding, id: id, canResize: canResize = true })=>{
@@ -3094,7 +3094,7 @@ const $ec3e23baa005dc03$var$Breadcrumb = ({ currentPage: currentPage, pageTrail:
3094
3094
  children: /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
3095
3095
  children: currentPage
3096
3096
  })
3097
- }) : ''
3097
+ }) : ""
3098
3098
  ]
3099
3099
  })
3100
3100
  });
@@ -3151,11 +3151,11 @@ var $10acbeaa4d8f6040$export$2e2bcd8739ae039 = $10acbeaa4d8f6040$var$ChevronRigh
3151
3151
 
3152
3152
 
3153
3153
 
3154
- const $bdb071ea3a6d3466$var$SearchInput = ({ placeholder: placeholder = 'Search the Data', showMagnifyingGlass: showMagnifyingGlass, showSearchButton: showSearchButton, onDark: onDark, onChange: onChange, onSubmit: onSubmit, onKeyDown: onKeyDown, defaultValue: defaultValue = '' })=>/*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
3154
+ const $bdb071ea3a6d3466$var$SearchInput = ({ placeholder: placeholder = "Search the Data", showMagnifyingGlass: showMagnifyingGlass, showSearchButton: showSearchButton, onDark: onDark, onChange: onChange, onSubmit: onSubmit, onKeyDown: onKeyDown, defaultValue: defaultValue = "" })=>/*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
3155
3155
  className: "search-input-container",
3156
3156
  children: [
3157
3157
  /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$TextField), {
3158
- className: `${showMagnifyingGlass ? 'left-padding' : ''} ${showSearchButton ? 'right-padding' : ''}`,
3158
+ className: `${showMagnifyingGlass ? "left-padding" : ""} ${showSearchButton ? "right-padding" : ""}`,
3159
3159
  label: placeholder,
3160
3160
  labelClassName: "ds-u-visibility--screen-reader",
3161
3161
  placeholder: placeholder,
@@ -3170,7 +3170,7 @@ const $bdb071ea3a6d3466$var$SearchInput = ({ placeholder: placeholder = 'Search
3170
3170
  }),
3171
3171
  showSearchButton && /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Button), {
3172
3172
  variation: "solid",
3173
- className: onDark && 'on-dark',
3173
+ className: onDark && "on-dark",
3174
3174
  onClick: onSubmit,
3175
3175
  children: [
3176
3176
  /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
@@ -3302,7 +3302,7 @@ const $c96c4b9ef7203c1f$var$APIPage = ({ hideAuth: hideAuth = true, rootUrl: roo
3302
3302
  url: `${rootUrl}${(0, $hgUW1$qs).stringify((0, $6d5c0212e738499b$export$34e95918366a058e)(params, ACA), {
3303
3303
  addQueryPrefix: true
3304
3304
  })}`,
3305
- docExpansion: 'list',
3305
+ docExpansion: "list",
3306
3306
  defaultModelsExpandDepth: -1,
3307
3307
  plugins: [
3308
3308
  (0, $hgUW1$SpanOpenAPIVersion),
@@ -3470,7 +3470,7 @@ const $0a551147dc92a718$var$SearchButton = (props)=>{
3470
3470
  size: "big",
3471
3471
  type: "submit",
3472
3472
  style: {
3473
- width: '70px'
3473
+ width: "70px"
3474
3474
  },
3475
3475
  children: /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
3476
3476
  className: "fas fa-search small-text"
@@ -3487,7 +3487,7 @@ const $0a551147dc92a718$var$SearchButton = (props)=>{
3487
3487
  className: "full-text ds-u-display--none ds-u-sm-display--inline-block ds-u-display--flex ds-u-align-items--center",
3488
3488
  children: [
3489
3489
  /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
3490
- children: text ? text : 'Search'
3490
+ children: text ? text : "Search"
3491
3491
  }),
3492
3492
  ` `,
3493
3493
  /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
@@ -3572,12 +3572,12 @@ async function $eff7d34c30f5a0fc$export$2d2256cb46e92ff7(rootUrl, options, ACA)
3572
3572
  fulltext: fulltext ? fulltext : undefined,
3573
3573
  ...selectedFacets,
3574
3574
  sort: sort ? sort : undefined,
3575
- ['sort-order']: sortOrder ? sortOrder : undefined,
3575
+ ["sort-order"]: sortOrder ? sortOrder : undefined,
3576
3576
  page: page !== 1 ? page : undefined,
3577
- ['page-size']: pageSize !== 10 ? pageSize : undefined
3577
+ ["page-size"]: pageSize !== 10 ? pageSize : undefined
3578
3578
  };
3579
3579
  return await (0, $hgUW1$axios).get(`${rootUrl}/search/?${(0, $hgUW1$qs).stringify((0, $6d5c0212e738499b$export$34e95918366a058e)(params, ACA), {
3580
- arrayFormat: 'comma',
3580
+ arrayFormat: "comma",
3581
3581
  encode: false
3582
3582
  })}`);
3583
3583
  }
@@ -3588,26 +3588,26 @@ async function $eff7d34c30f5a0fc$export$2d2256cb46e92ff7(rootUrl, options, ACA)
3588
3588
 
3589
3589
  const $e873081a6e8f024e$var$DatasetSearch = (props)=>{
3590
3590
  const { rootUrl: rootUrl, enableSort: enableSort = true, enablePagination: enablePagination = true, defaultPageSize: defaultPageSize = 10, defaultSort: defaultSort = {
3591
- defaultSort: 'modified',
3592
- defaultOrder: 'desc'
3593
- }, pageTitle: pageTitle = 'Dataset Explorer', filterTitle: filterTitle = 'Tags', showLargeFileWarning: showLargeFileWarning = false, largeFileThemes: largeFileThemes, introText: introText = '', showDownloadIcon: showDownloadIcon = false, altMobileSearchButton: altMobileSearchButton, dataDictionaryLinks: dataDictionaryLinks = false } = props;
3591
+ defaultSort: "modified",
3592
+ defaultOrder: "desc"
3593
+ }, pageTitle: pageTitle = "Dataset Explorer", filterTitle: filterTitle = "Tags", showLargeFileWarning: showLargeFileWarning = false, largeFileThemes: largeFileThemes, introText: introText = "", showDownloadIcon: showDownloadIcon = false, altMobileSearchButton: altMobileSearchButton, dataDictionaryLinks: dataDictionaryLinks = false } = props;
3594
3594
  const { ACA: ACA } = (0, $hgUW1$useContext)((0, $844981eac9b63865$export$eccc29c8d0ff408));
3595
3595
  const sortOptions = [
3596
3596
  {
3597
- label: 'Newest',
3598
- value: 'newest'
3597
+ label: "Newest",
3598
+ value: "newest"
3599
3599
  },
3600
3600
  {
3601
- label: 'Oldest',
3602
- value: 'oldest'
3601
+ label: "Oldest",
3602
+ value: "oldest"
3603
3603
  },
3604
3604
  {
3605
- label: 'Title A-Z',
3606
- value: 'titleAZ'
3605
+ label: "Title A-Z",
3606
+ value: "titleAZ"
3607
3607
  },
3608
3608
  {
3609
- label: 'Title Z-A',
3610
- value: 'titleZA'
3609
+ label: "Title Z-A",
3610
+ value: "titleZA"
3611
3611
  }
3612
3612
  ];
3613
3613
  const defaultSortBy = "";
@@ -3626,7 +3626,7 @@ const $e873081a6e8f024e$var$DatasetSearch = (props)=>{
3626
3626
  endingNumber: 0
3627
3627
  });
3628
3628
  const [noResults, setNoResults] = (0, $hgUW1$useState)(false);
3629
- const [announcementText, setAnnouncementText] = (0, $hgUW1$useState)('');
3629
+ const [announcementText, setAnnouncementText] = (0, $hgUW1$useState)("");
3630
3630
  let [searchParams, setSearchParams] = (0, $hgUW1$useSearchParams)();
3631
3631
  const [fulltext, setFullText] = (0, $hgUW1$useState)(transformedParams.fulltext);
3632
3632
  const [filterText, setFilterText] = (0, $hgUW1$useState)(transformedParams.fulltext);
@@ -3635,7 +3635,7 @@ const $e873081a6e8f024e$var$DatasetSearch = (props)=>{
3635
3635
  const [sort, setSort] = (0, $hgUW1$useState)(transformedParams.sort ? transformedParams.sort : defaultSort ? defaultSort.defaultSort : defaultSortBy);
3636
3636
  const [sortOrder, setSortOrder] = (0, $hgUW1$useState)(transformedParams.sortOrder ? transformedParams.sortOrder : defaultSort ? defaultSort.defaultOrder : defaultSortOrder);
3637
3637
  const [sortDisplay, setSortDisplay] = (0, $hgUW1$useState)(()=>{
3638
- return sort === 'modified' ? sortOrder === 'desc' ? 'newest' : 'oldest' : sortOrder === 'desc' ? 'titleZA' : 'titleAZ';
3638
+ return sort === "modified" ? sortOrder === "desc" ? "newest" : "oldest" : sortOrder === "desc" ? "titleZA" : "titleAZ";
3639
3639
  });
3640
3640
  const [selectedFacets, setSelectedFacets] = (0, $hgUW1$useState)(transformedParams.selectedFacets ? transformedParams.selectedFacets : {
3641
3641
  theme: [],
@@ -3644,21 +3644,21 @@ const $e873081a6e8f024e$var$DatasetSearch = (props)=>{
3644
3644
  const setSortOptions = (value)=>{
3645
3645
  setSortDisplay(value);
3646
3646
  switch(value){
3647
- case 'newest':
3648
- setSort('modified');
3649
- setSortOrder('desc');
3647
+ case "newest":
3648
+ setSort("modified");
3649
+ setSortOrder("desc");
3650
3650
  break;
3651
- case 'oldest':
3652
- setSort('modified');
3653
- setSortOrder('asc');
3651
+ case "oldest":
3652
+ setSort("modified");
3653
+ setSortOrder("asc");
3654
3654
  break;
3655
- case 'titleAZ':
3656
- setSort('title');
3657
- setSortOrder('asc');
3655
+ case "titleAZ":
3656
+ setSort("title");
3657
+ setSortOrder("asc");
3658
3658
  break;
3659
- case 'titleZA':
3660
- setSort('title');
3661
- setSortOrder('desc');
3659
+ case "titleZA":
3660
+ setSort("title");
3661
+ setSortOrder("desc");
3662
3662
  break;
3663
3663
  }
3664
3664
  };
@@ -3666,12 +3666,12 @@ const $e873081a6e8f024e$var$DatasetSearch = (props)=>{
3666
3666
  const newFacets = {
3667
3667
  ...selectedFacets
3668
3668
  };
3669
- if (key === 'theme') {
3669
+ if (key === "theme") {
3670
3670
  const existingFacet = newFacets.theme.findIndex((s)=>s === value);
3671
3671
  if (existingFacet > -1) newFacets.theme.splice(existingFacet, 1);
3672
3672
  else newFacets.theme.push(value);
3673
3673
  }
3674
- if (key === 'keyword') {
3674
+ if (key === "keyword") {
3675
3675
  const existingFacet = newFacets.keyword.findIndex((s)=>s === value);
3676
3676
  if (existingFacet > -1) newFacets.keyword.splice(existingFacet, 1);
3677
3677
  else newFacets.keyword.push(value);
@@ -3685,14 +3685,14 @@ const $e873081a6e8f024e$var$DatasetSearch = (props)=>{
3685
3685
  });
3686
3686
  setSelectedFacets(newFacets);
3687
3687
  const url = new URL(window.location.href);
3688
- window.history.pushState({}, '', `${url.origin}${url.pathname}${urlString}`);
3688
+ window.history.pushState({}, "", `${url.origin}${url.pathname}${urlString}`);
3689
3689
  }
3690
3690
  const pageSize = defaultPageSize;
3691
3691
  (0, $hgUW1$useEffect)(()=>{
3692
3692
  // Update browser URL with current search params
3693
3693
  const params = buildSearchParams(true);
3694
3694
  const url = new URL(window.location.href);
3695
- window.history.pushState({}, '', `${url.origin}${url.pathname}${params}`);
3695
+ window.history.pushState({}, "", `${url.origin}${url.pathname}${params}`);
3696
3696
  const baseNumber = Number(totalItems) > 0 ? 1 : 0;
3697
3697
  const startingNumber = baseNumber + (Number(pageSize) * Number(page) - Number(pageSize));
3698
3698
  const endingNumber = Number(pageSize) * Number(page);
@@ -3731,14 +3731,14 @@ const $e873081a6e8f024e$var$DatasetSearch = (props)=>{
3731
3731
  setSelectedFacets(defaultSelectedFacets);
3732
3732
  setPage(defaultPage);
3733
3733
  const url = new URL(window.location.href);
3734
- window.history.pushState({}, '', `${url.origin}${url.pathname}`);
3734
+ window.history.pushState({}, "", `${url.origin}${url.pathname}`);
3735
3735
  }
3736
3736
  function buildSearchParams(includePage) {
3737
3737
  let newParams = {};
3738
3738
  if (Number(page) !== 1 && includePage) newParams.page = page;
3739
3739
  if (sort !== defaultSort.defaultSort) newParams.sort = sort;
3740
3740
  if (sortOrder !== defaultSort.defaultOrder) newParams.sortOrder = sortOrder;
3741
- if (fulltext !== '') newParams.fulltext = fulltext;
3741
+ if (fulltext !== "") newParams.fulltext = fulltext;
3742
3742
  if (Object.keys(selectedFacets).length) Object.keys(selectedFacets).forEach((key)=>{
3743
3743
  newParams[key] = selectedFacets[key];
3744
3744
  });
@@ -3751,9 +3751,9 @@ const $e873081a6e8f024e$var$DatasetSearch = (props)=>{
3751
3751
  fulltext: fulltext ? fulltext : undefined,
3752
3752
  ...selectedFacets,
3753
3753
  sort: sort ? sort : undefined,
3754
- ['sort-order']: sortOrder ? sortOrder : undefined,
3754
+ ["sort-order"]: sortOrder ? sortOrder : undefined,
3755
3755
  page: page !== 1 ? page : undefined,
3756
- ['page-size']: pageSize !== 10 ? pageSize : undefined
3756
+ ["page-size"]: pageSize !== 10 ? pageSize : undefined
3757
3757
  };
3758
3758
  const { data: data, isPending: isPending, error: error } = (0, $hgUW1$useQuery)({
3759
3759
  queryKey: [
@@ -3762,7 +3762,7 @@ const $e873081a6e8f024e$var$DatasetSearch = (props)=>{
3762
3762
  ],
3763
3763
  queryFn: ()=>{
3764
3764
  return (0, $hgUW1$axios).get(`${rootUrl}/search/?${(0, $hgUW1$qs).stringify((0, $6d5c0212e738499b$export$34e95918366a058e)(params, ACA), {
3765
- arrayFormat: 'comma',
3765
+ arrayFormat: "comma",
3766
3766
  encode: false
3767
3767
  })}`);
3768
3768
  }
@@ -3813,7 +3813,7 @@ const $e873081a6e8f024e$var$DatasetSearch = (props)=>{
3813
3813
  /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$TextField), {
3814
3814
  fieldClassName: "ds-u-margin--0",
3815
3815
  value: filterText,
3816
- className: `ds-u-padding-right--2 ${altMobileSearchButton ? 'ds-l-col--12 ds-l-md-col--10 --alt-style' : 'ds-l-col--10'}`,
3816
+ className: `ds-u-padding-right--2 ${altMobileSearchButton ? "ds-l-col--12 ds-l-md-col--10 --alt-style" : "ds-l-col--10"}`,
3817
3817
  label: "Search datasets",
3818
3818
  labelClassName: "ds-u-visibility--screen-reader",
3819
3819
  placeholder: "Search datasets",
@@ -3875,7 +3875,7 @@ const $e873081a6e8f024e$var$DatasetSearch = (props)=>{
3875
3875
  "Showing ",
3876
3876
  currentResultNumbers.startingNumber,
3877
3877
  " -",
3878
- ' ',
3878
+ " ",
3879
3879
  currentResultNumbers.endingNumber,
3880
3880
  " of ",
3881
3881
  data.data.total,
@@ -3951,7 +3951,7 @@ const $e873081a6e8f024e$var$DatasetSearch = (props)=>{
3951
3951
  },
3952
3952
  renderHref: (page)=>{
3953
3953
  const searchParams = buildSearchParams(false);
3954
- const includeAnd = searchParams ? '&' : '';
3954
+ const includeAnd = searchParams ? "&" : "";
3955
3955
  return `/datasets?page=${page}${includeAnd}${searchParams}`;
3956
3956
  }
3957
3957
  })
@@ -3984,12 +3984,12 @@ var $e873081a6e8f024e$export$2e2bcd8739ae039 = (0, $61ff88fb3f6ee2c8$export$2e2b
3984
3984
 
3985
3985
  const $b4aa9c66f2e86959$var$useMetastoreDataset = (datasetId, rootAPIUrl)=>{
3986
3986
  const [dataset, setDataset] = (0, $hgUW1$useState)({
3987
- title: '',
3987
+ title: "",
3988
3988
  distribution: [],
3989
- error: '',
3990
- description: '',
3991
- identifier: '',
3992
- modified: ''
3989
+ error: "",
3990
+ description: "",
3991
+ identifier: "",
3992
+ modified: ""
3993
3993
  });
3994
3994
  const [id, setId] = (0, $hgUW1$useState)(datasetId);
3995
3995
  const [rootUrl, setRootUrl] = (0, $hgUW1$useState)(rootAPIUrl);
@@ -3999,7 +3999,7 @@ const $b4aa9c66f2e86959$var$useMetastoreDataset = (datasetId, rootAPIUrl)=>{
3999
3999
  "metastore" + id
4000
4000
  ],
4001
4001
  queryFn: ()=>{
4002
- return (0, $hgUW1$axios).get(`${rootUrl}/metastore/schemas/dataset/items/${id}?show-reference-ids${ACA ? '&' : ''}${(0, $hgUW1$qs).stringify((0, $6d5c0212e738499b$export$34e95918366a058e)({}, ACA))}`).then((res)=>res.data).catch((error)=>{
4002
+ return (0, $hgUW1$axios).get(`${rootUrl}/metastore/schemas/dataset/items/${id}?show-reference-ids${ACA ? "&" : ""}${(0, $hgUW1$qs).stringify((0, $6d5c0212e738499b$export$34e95918366a058e)({}, ACA))}`).then((res)=>res.data).catch((error)=>{
4003
4003
  return {
4004
4004
  title: dataset.title,
4005
4005
  distribution: dataset.distribution,
@@ -4065,7 +4065,7 @@ const $1d3d480a9cfaabe0$var$useDatastore = (resourceId, rootAPIUrl, options, add
4065
4065
  ...additionalParams
4066
4066
  };
4067
4067
  params = (0, $6d5c0212e738499b$export$34e95918366a058e)(params, ACA);
4068
- const paramsString = Object.keys(params).length ? `${(0, $hgUW1$qs).stringify(params)}` : '';
4068
+ const paramsString = Object.keys(params).length ? `${(0, $hgUW1$qs).stringify(params)}` : "";
4069
4069
  let enabled = false;
4070
4070
  if (id) {
4071
4071
  if (!requireConditions) enabled = true;
@@ -4145,65 +4145,65 @@ var $1d3d480a9cfaabe0$export$2e2bcd8739ae039 = $1d3d480a9cfaabe0$var$useDatastor
4145
4145
 
4146
4146
 
4147
4147
  const $28f16f59778efa64$export$82b1b1d517e5388a = {
4148
- 'R/P10Y': {
4149
- name: 'Decennial'
4148
+ "R/P10Y": {
4149
+ name: "Decennial"
4150
4150
  },
4151
- 'R/P4Y': {
4152
- name: 'Quadrennial'
4151
+ "R/P4Y": {
4152
+ name: "Quadrennial"
4153
4153
  },
4154
- 'R/P1Y': {
4155
- name: 'Annual'
4154
+ "R/P1Y": {
4155
+ name: "Annual"
4156
4156
  },
4157
- 'R/P2M': {
4158
- name: 'Bimonthly'
4157
+ "R/P2M": {
4158
+ name: "Bimonthly"
4159
4159
  },
4160
- 'R/P3.5D': {
4161
- name: 'Semiweekly'
4160
+ "R/P3.5D": {
4161
+ name: "Semiweekly"
4162
4162
  },
4163
- 'R/P1D': {
4164
- name: 'Daily'
4163
+ "R/P1D": {
4164
+ name: "Daily"
4165
4165
  },
4166
- 'R/P2W': {
4167
- name: 'Biweekly'
4166
+ "R/P2W": {
4167
+ name: "Biweekly"
4168
4168
  },
4169
- 'R/P6M': {
4170
- name: 'Semiannual'
4169
+ "R/P6M": {
4170
+ name: "Semiannual"
4171
4171
  },
4172
- 'R/P2Y': {
4173
- name: 'Biennial'
4172
+ "R/P2Y": {
4173
+ name: "Biennial"
4174
4174
  },
4175
- 'R/P3Y': {
4176
- name: 'Triennial'
4175
+ "R/P3Y": {
4176
+ name: "Triennial"
4177
4177
  },
4178
- 'R/P0.33W': {
4179
- name: 'Three times a week'
4178
+ "R/P0.33W": {
4179
+ name: "Three times a week"
4180
4180
  },
4181
- 'R/P0.33M': {
4182
- name: 'Three times a month'
4181
+ "R/P0.33M": {
4182
+ name: "Three times a month"
4183
4183
  },
4184
- 'R/PT1S': {
4185
- name: 'Continuously updated'
4184
+ "R/PT1S": {
4185
+ name: "Continuously updated"
4186
4186
  },
4187
- 'R/P1M': {
4188
- name: 'Monthly'
4187
+ "R/P1M": {
4188
+ name: "Monthly"
4189
4189
  },
4190
- 'R/P3M': {
4191
- name: 'Quarterly'
4190
+ "R/P3M": {
4191
+ name: "Quarterly"
4192
4192
  },
4193
- 'R/P0.5M': {
4194
- name: 'Semimonthly'
4193
+ "R/P0.5M": {
4194
+ name: "Semimonthly"
4195
4195
  },
4196
- 'R/P4M': {
4197
- name: 'Three times a year'
4196
+ "R/P4M": {
4197
+ name: "Three times a year"
4198
4198
  },
4199
- 'R/P1W': {
4200
- name: 'Weekly'
4199
+ "R/P1W": {
4200
+ name: "Weekly"
4201
4201
  },
4202
- 'R/PT1H': {
4203
- name: 'Hourly'
4202
+ "R/PT1H": {
4203
+ name: "Hourly"
4204
4204
  },
4205
4205
  irregular: {
4206
- name: 'Irregular'
4206
+ name: "Irregular"
4207
4207
  }
4208
4208
  };
4209
4209
 
@@ -4212,7 +4212,7 @@ const $6da0396069e23175$export$bc27cf7ecf44639d = {
4212
4212
  modified: (data)=>{
4213
4213
  return [
4214
4214
  {
4215
- label: 'Modified',
4215
+ label: "Modified",
4216
4216
  value: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $bd76a91923d7e8a7$export$2e2bcd8739ae039), {
4217
4217
  date: data
4218
4218
  })
@@ -4222,7 +4222,7 @@ const $6da0396069e23175$export$bc27cf7ecf44639d = {
4222
4222
  issued: (data)=>{
4223
4223
  return [
4224
4224
  {
4225
- label: 'Issued',
4225
+ label: "Issued",
4226
4226
  value: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $bd76a91923d7e8a7$export$2e2bcd8739ae039), {
4227
4227
  date: data
4228
4228
  })
@@ -4232,7 +4232,7 @@ const $6da0396069e23175$export$bc27cf7ecf44639d = {
4232
4232
  accrualPeriodicity: (data)=>{
4233
4233
  return [
4234
4234
  {
4235
- label: 'Frequency',
4235
+ label: "Frequency",
4236
4236
  value: (0, $28f16f59778efa64$export$82b1b1d517e5388a)[data].name
4237
4237
  }
4238
4238
  ];
@@ -4240,7 +4240,7 @@ const $6da0396069e23175$export$bc27cf7ecf44639d = {
4240
4240
  publisher: (data)=>{
4241
4241
  if (data.data && data.data.name) return [
4242
4242
  {
4243
- label: 'Publisher',
4243
+ label: "Publisher",
4244
4244
  value: data.data.name
4245
4245
  }
4246
4246
  ];
@@ -4249,7 +4249,7 @@ const $6da0396069e23175$export$bc27cf7ecf44639d = {
4249
4249
  identifier: (data)=>{
4250
4250
  return [
4251
4251
  {
4252
- label: 'Identifier',
4252
+ label: "Identifier",
4253
4253
  value: data
4254
4254
  }
4255
4255
  ];
@@ -4257,11 +4257,11 @@ const $6da0396069e23175$export$bc27cf7ecf44639d = {
4257
4257
  contactPoint: (data)=>{
4258
4258
  let rows = [];
4259
4259
  if (data.fn) rows.push({
4260
- label: 'Contact',
4260
+ label: "Contact",
4261
4261
  value: data.fn
4262
4262
  });
4263
4263
  if (data.hasEmail) rows.push({
4264
- label: 'Contact Email',
4264
+ label: "Contact Email",
4265
4265
  value: /*#__PURE__*/ (0, $hgUW1$jsx)("a", {
4266
4266
  href: data.hasEmail.includes("mailto:") ? data.hasEmail : `mailto:${data.hasEmail}`,
4267
4267
  children: data.hasEmail.replace("mailto:", "")
@@ -4272,7 +4272,7 @@ const $6da0396069e23175$export$bc27cf7ecf44639d = {
4272
4272
  bureauCode: (data)=>{
4273
4273
  if (data.length) return [
4274
4274
  {
4275
- label: 'Bureau Code',
4275
+ label: "Bureau Code",
4276
4276
  value: data[0]
4277
4277
  }
4278
4278
  ];
@@ -4280,7 +4280,7 @@ const $6da0396069e23175$export$bc27cf7ecf44639d = {
4280
4280
  programCode: (data)=>{
4281
4281
  if (data.length) return [
4282
4282
  {
4283
- label: 'Program Code',
4283
+ label: "Program Code",
4284
4284
  value: data[0]
4285
4285
  }
4286
4286
  ];
@@ -4288,13 +4288,13 @@ const $6da0396069e23175$export$bc27cf7ecf44639d = {
4288
4288
  theme: (data)=>{
4289
4289
  return [
4290
4290
  {
4291
- label: 'Category',
4291
+ label: "Category",
4292
4292
  value: data.map((theme)=>/*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Link), {
4293
4293
  to: `/datasets?theme[]=${theme.data}`,
4294
4294
  children: theme.data
4295
4295
  }, theme.data)).reduce((prev, curr)=>[
4296
4296
  prev,
4297
- ', ',
4297
+ ", ",
4298
4298
  curr
4299
4299
  ])
4300
4300
  }
@@ -4303,13 +4303,13 @@ const $6da0396069e23175$export$bc27cf7ecf44639d = {
4303
4303
  keyword: (data)=>{
4304
4304
  return [
4305
4305
  {
4306
- label: 'Tags',
4306
+ label: "Tags",
4307
4307
  value: data.map((keyword)=>/*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Link), {
4308
4308
  to: `/datasets?keyword[]=${keyword.data}`,
4309
4309
  children: keyword.data
4310
4310
  }, keyword.data)).reduce((prev, curr)=>[
4311
4311
  prev,
4312
- ', ',
4312
+ ", ",
4313
4313
  curr
4314
4314
  ])
4315
4315
  }
@@ -4318,7 +4318,7 @@ const $6da0396069e23175$export$bc27cf7ecf44639d = {
4318
4318
  license: (data)=>{
4319
4319
  return [
4320
4320
  {
4321
- label: 'License',
4321
+ label: "License",
4322
4322
  value: /*#__PURE__*/ (0, $hgUW1$jsx)("a", {
4323
4323
  href: data,
4324
4324
  children: data
@@ -4329,7 +4329,7 @@ const $6da0396069e23175$export$bc27cf7ecf44639d = {
4329
4329
  accessLevel: (data)=>{
4330
4330
  return [
4331
4331
  {
4332
- label: 'Public Access Level',
4332
+ label: "Public Access Level",
4333
4333
  value: data
4334
4334
  }
4335
4335
  ];
@@ -4337,7 +4337,7 @@ const $6da0396069e23175$export$bc27cf7ecf44639d = {
4337
4337
  temporal: (data)=>{
4338
4338
  return [
4339
4339
  {
4340
- label: 'Temporal Coverage',
4340
+ label: "Temporal Coverage",
4341
4341
  value: /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
4342
4342
  className: "dc-c-word-break--all",
4343
4343
  children: data
@@ -4348,7 +4348,7 @@ const $6da0396069e23175$export$bc27cf7ecf44639d = {
4348
4348
  spatial: (data)=>{
4349
4349
  return [
4350
4350
  {
4351
- label: 'Spacial/Geographical Coverage',
4351
+ label: "Spacial/Geographical Coverage",
4352
4352
  value: data
4353
4353
  }
4354
4354
  ];
@@ -4356,7 +4356,7 @@ const $6da0396069e23175$export$bc27cf7ecf44639d = {
4356
4356
  references: (data)=>{
4357
4357
  return [
4358
4358
  {
4359
- label: 'Related Documents',
4359
+ label: "Related Documents",
4360
4360
  value: /*#__PURE__*/ (0, $hgUW1$jsx)("ul", {
4361
4361
  className: "ds-u-margin--0 ds-u-padding-y--0 ds-u-padding-left--2 ds-u-padding-right--0",
4362
4362
  children: data.map((item)=>/*#__PURE__*/ (0, $hgUW1$jsx)("li", {
@@ -4437,7 +4437,7 @@ function $f764661366bd9e1b$export$ee48b7e0e4eb536e(dist) {
4437
4437
  if (dist && dist.data) {
4438
4438
  if (dist.data.format) return dist.data.format.toLowerCase();
4439
4439
  if (dist.data.mediaType) {
4440
- const mediaType = dist.data.mediaType.split('/');
4440
+ const mediaType = dist.data.mediaType.split("/");
4441
4441
  if (mediaType.length && mediaType[1]) return mediaType[1].toLowerCase();
4442
4442
  }
4443
4443
  if (dist.data["%Ref:downloadURL"].length && dist.data["%Ref:downloadURL"][0].data) {
@@ -4447,7 +4447,7 @@ function $f764661366bd9e1b$export$ee48b7e0e4eb536e(dist) {
4447
4447
  }
4448
4448
  }
4449
4449
  }
4450
- return '';
4450
+ return "";
4451
4451
  }
4452
4452
 
4453
4453
 
@@ -4491,8 +4491,8 @@ const $7357cc0f79f9c514$var$Resource = ({ distributions: distributions, resource
4491
4491
  children: /*#__PURE__*/ (0, $hgUW1$jsxs)("a", {
4492
4492
  href: dist.data.downloadURL,
4493
4493
  style: {
4494
- order: sm ? '1' : '0',
4495
- width: sm ? '100%' : 'auto'
4494
+ order: sm ? "1" : "0",
4495
+ width: sm ? "100%" : "auto"
4496
4496
  },
4497
4497
  "aria-label": `Download ${dist.data.title || title} ${fileFormat}`,
4498
4498
  className: "ds-c-button",
@@ -4505,7 +4505,7 @@ const $7357cc0f79f9c514$var$Resource = ({ distributions: distributions, resource
4505
4505
  })
4506
4506
  }),
4507
4507
  dist.data.description && /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
4508
- className: 'ds-u-measure--wide ds-u-margin-bottom--7',
4508
+ className: "ds-u-measure--wide ds-u-margin-bottom--7",
4509
4509
  children: /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
4510
4510
  className: "dc-c-metadata-description ds-u-margin--0",
4511
4511
  dangerouslySetInnerHTML: {
@@ -4577,7 +4577,7 @@ const $364dc44850cd8f7f$var$DatasetOverview = ({ dataset: dataset, resource: res
4577
4577
  const tooltip = tooltips.find((item)=>item.label === r.label.toLowerCase());
4578
4578
  return /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$TableRow), {
4579
4579
  children: [
4580
- md ? '' : /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$TableCell), {
4580
+ md ? "" : /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$TableCell), {
4581
4581
  component: "th",
4582
4582
  className: "ds-u-font-weight--bold",
4583
4583
  children: [
@@ -4588,8 +4588,8 @@ const $364dc44850cd8f7f$var$DatasetOverview = ({ dataset: dataset, resource: res
4588
4588
  title: tooltip.title,
4589
4589
  // @ts-ignore
4590
4590
  style: {
4591
- border: 'none',
4592
- background: 'none'
4591
+ border: "none",
4592
+ background: "none"
4593
4593
  },
4594
4594
  maxWidth: "400px",
4595
4595
  placement: "auto",
@@ -4648,10 +4648,10 @@ const $cf6eaefd6b928de3$var$DatasetAPI = ({ id: id, rootUrl: rootUrl, apiUrl: ap
4648
4648
  href: apiUrl,
4649
4649
  children: [
4650
4650
  "View API",
4651
- ' ',
4651
+ " ",
4652
4652
  /*#__PURE__*/ (0, $hgUW1$jsxs)("span", {
4653
4653
  style: {
4654
- whiteSpace: 'nowrap'
4654
+ whiteSpace: "nowrap"
4655
4655
  },
4656
4656
  children: [
4657
4657
  "specification ",
@@ -4692,20 +4692,20 @@ var $cf6eaefd6b928de3$export$2e2bcd8739ae039 = $cf6eaefd6b928de3$var$DatasetAPI;
4692
4692
 
4693
4693
  const $6765a74df807d015$var$DataDictionaryTable = ({ tableColumns: tableColumns, tableData: tableData, pageSize: pageSize, columnFilters: columnFilters })=>{
4694
4694
  const [sorting, setSorting] = (0, $hgUW1$useState)([]);
4695
- const [ariaLiveFeedback, setAriaLiveFeedback] = (0, $hgUW1$useState)('');
4695
+ const [ariaLiveFeedback, setAriaLiveFeedback] = (0, $hgUW1$useState)("");
4696
4696
  const mobile = (0, $hgUW1$useMediaQuery)({
4697
4697
  minWidth: 0,
4698
4698
  maxWidth: 544
4699
4699
  });
4700
4700
  const sortElement = (isSorted)=>{
4701
- if (isSorted === 'asc') return 'dc-c-sort--asc';
4702
- if (isSorted === 'desc') return 'dc-c-sort--desc';
4703
- return 'dc-c-sort--default';
4701
+ if (isSorted === "asc") return "dc-c-sort--asc";
4702
+ if (isSorted === "desc") return "dc-c-sort--desc";
4703
+ return "dc-c-sort--default";
4704
4704
  };
4705
4705
  const table = (0, $hgUW1$useReactTable)({
4706
4706
  data: tableData,
4707
4707
  columns: tableColumns,
4708
- columnResizeMode: 'onChange',
4708
+ columnResizeMode: "onChange",
4709
4709
  getCoreRowModel: (0, $hgUW1$getCoreRowModel)(),
4710
4710
  getFilteredRowModel: (0, $hgUW1$getFilteredRowModel)(),
4711
4711
  getPaginationRowModel: (0, $hgUW1$getPaginationRowModel)(),
@@ -4724,49 +4724,49 @@ const $6765a74df807d015$var$DataDictionaryTable = ({ tableColumns: tableColumns,
4724
4724
  });
4725
4725
  const sortOptions = [
4726
4726
  {
4727
- value: 'default',
4728
- label: 'No Sort'
4727
+ value: "default",
4728
+ label: "No Sort"
4729
4729
  },
4730
4730
  {
4731
- value: 'titleasc',
4732
- label: 'Title A-Z'
4731
+ value: "titleasc",
4732
+ label: "Title A-Z"
4733
4733
  },
4734
4734
  {
4735
- value: 'titledesc',
4736
- label: 'Title Z-A'
4735
+ value: "titledesc",
4736
+ label: "Title Z-A"
4737
4737
  },
4738
4738
  {
4739
- value: 'typeasc',
4740
- label: 'Type A-Z'
4739
+ value: "typeasc",
4740
+ label: "Type A-Z"
4741
4741
  },
4742
4742
  {
4743
- value: 'typedesc',
4744
- label: 'Type Z-A'
4743
+ value: "typedesc",
4744
+ label: "Type Z-A"
4745
4745
  }
4746
4746
  ];
4747
4747
  const sortStatesLookup = {
4748
4748
  default: [],
4749
4749
  titleasc: [
4750
4750
  {
4751
- id: 'titleResizable',
4751
+ id: "titleResizable",
4752
4752
  desc: false
4753
4753
  }
4754
4754
  ],
4755
4755
  titledesc: [
4756
4756
  {
4757
- id: 'titleResizable',
4757
+ id: "titleResizable",
4758
4758
  desc: true
4759
4759
  }
4760
4760
  ],
4761
4761
  typeasc: [
4762
4762
  {
4763
- id: 'type',
4763
+ id: "type",
4764
4764
  desc: false
4765
4765
  }
4766
4766
  ],
4767
4767
  typedesc: [
4768
4768
  {
4769
- id: 'type',
4769
+ id: "type",
4770
4770
  desc: true
4771
4771
  }
4772
4772
  ]
@@ -4794,7 +4794,7 @@ const $6765a74df807d015$var$DataDictionaryTable = ({ tableColumns: tableColumns,
4794
4794
  /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Table), {
4795
4795
  className: "dc-c-datatable",
4796
4796
  style: {
4797
- width: '100%'
4797
+ width: "100%"
4798
4798
  },
4799
4799
  stackable: true,
4800
4800
  children: [
@@ -4810,12 +4810,12 @@ const $6765a74df807d015$var$DataDictionaryTable = ({ tableColumns: tableColumns,
4810
4810
  }, header.id + "_resize") : /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$TableCell), {
4811
4811
  key: header.id,
4812
4812
  className: `ds-u-border-y--2 ds-u-border--dark ds-u-border-x--0`,
4813
- id: 'dataDictionary_' + header.id,
4813
+ id: "dataDictionary_" + header.id,
4814
4814
  children: [
4815
4815
  (0, $hgUW1$flexRender)(header.column.columnDef.header, header.getContext()),
4816
- header.id === 'type' && /*#__PURE__*/ (0, $hgUW1$jsx)("button", {
4816
+ header.id === "type" && /*#__PURE__*/ (0, $hgUW1$jsx)("button", {
4817
4817
  onClick: header.column.getToggleSortingHandler(),
4818
- className: header.column.getCanSort() ? `cursor-pointer select-none ds-u-focus-visible ${sortElement(header.column.getIsSorted())}` : '',
4818
+ className: header.column.getCanSort() ? `cursor-pointer select-none ds-u-focus-visible ${sortElement(header.column.getIsSorted())}` : "",
4819
4819
  "aria-label": `${header.column.columnDef.header} sort order`
4820
4820
  })
4821
4821
  ]
@@ -4830,12 +4830,12 @@ const $6765a74df807d015$var$DataDictionaryTable = ({ tableColumns: tableColumns,
4830
4830
  return /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$TableCell), {
4831
4831
  key: cell.id,
4832
4832
  style: {
4833
- maxWidth: mobile ? '100%' : cell.column.getSize(),
4834
- whiteSpace: cell.column.id === "description" ? 'pre-wrap' : 'normal'
4833
+ maxWidth: mobile ? "100%" : cell.column.getSize(),
4834
+ whiteSpace: cell.column.id === "description" ? "pre-wrap" : "normal"
4835
4835
  },
4836
- className: `${cell.column.id === 'titleResizable' ? 'ds-u-word-break' : ''}`,
4837
- headers: 'dataDictionary_' + cell.column.id,
4838
- stackedTitle: cell.column.id === 'titleResizable' ? 'Title' : cell.column.columnDef.header,
4836
+ className: `${cell.column.id === "titleResizable" ? "ds-u-word-break" : ""}`,
4837
+ headers: "dataDictionary_" + cell.column.id,
4838
+ stackedTitle: cell.column.id === "titleResizable" ? "Title" : cell.column.columnDef.header,
4839
4839
  children: (0, $hgUW1$flexRender)(cell.column.columnDef.cell, cell.getContext())
4840
4840
  });
4841
4841
  })
@@ -4864,7 +4864,7 @@ const $6765a74df807d015$var$DataDictionaryTable = ({ tableColumns: tableColumns,
4864
4864
  table.setPageIndex(page - 1);
4865
4865
  },
4866
4866
  renderHref: (page)=>`/page=${page}`
4867
- }) : ''
4867
+ }) : ""
4868
4868
  ]
4869
4869
  });
4870
4870
  };
@@ -4874,17 +4874,17 @@ var $6765a74df807d015$export$2e2bcd8739ae039 = $6765a74df807d015$var$DataDiction
4874
4874
  const $a24829b27758fe6c$var$SitewideDataDictionaryTable = ({ datasetDictionary: datasetDictionary, pageSize: pageSize })=>{
4875
4875
  const columnHelper = (0, $hgUW1$createColumnHelper)();
4876
4876
  const tableColumns = [
4877
- columnHelper.accessor('name', {
4878
- header: 'Name'
4877
+ columnHelper.accessor("name", {
4878
+ header: "Name"
4879
4879
  }),
4880
- columnHelper.accessor('title', {
4881
- header: 'Title'
4880
+ columnHelper.accessor("title", {
4881
+ header: "Title"
4882
4882
  }),
4883
- columnHelper.accessor('type', {
4884
- header: 'Type'
4883
+ columnHelper.accessor("type", {
4884
+ header: "Type"
4885
4885
  }),
4886
- columnHelper.accessor('format', {
4887
- header: 'Format'
4886
+ columnHelper.accessor("format", {
4887
+ header: "Format"
4888
4888
  })
4889
4889
  ];
4890
4890
  return /*#__PURE__*/ (0, $hgUW1$jsx)((0, $6765a74df807d015$export$2e2bcd8739ae039), {
@@ -4928,7 +4928,7 @@ const $a6e312940f7003ef$var$DatasetDictionaryTable = ({ datasetDictionary: datas
4928
4928
  });
4929
4929
  const columnHelper = (0, $hgUW1$createColumnHelper)();
4930
4930
  const tableColumns = [
4931
- columnHelper.accessor('titleResizable', {
4931
+ columnHelper.accessor("titleResizable", {
4932
4932
  header: ()=>/*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
4933
4933
  className: "dc-c-tooltip-width-override",
4934
4934
  children: [
@@ -4937,8 +4937,8 @@ const $a6e312940f7003ef$var$DatasetDictionaryTable = ({ datasetDictionary: datas
4937
4937
  title: "Title represents the column headers of the data file",
4938
4938
  // @ts-ignore
4939
4939
  style: {
4940
- border: 'none',
4941
- background: 'none'
4940
+ border: "none",
4941
+ background: "none"
4942
4942
  },
4943
4943
  maxWidth: "400px",
4944
4944
  children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$TooltipIcon), {})
@@ -4948,48 +4948,48 @@ const $a6e312940f7003ef$var$DatasetDictionaryTable = ({ datasetDictionary: datas
4948
4948
  size: 300,
4949
4949
  minSize: 132
4950
4950
  }),
4951
- columnHelper.accessor('description', {
4952
- header: 'Description',
4951
+ columnHelper.accessor("description", {
4952
+ header: "Description",
4953
4953
  minSize: 600
4954
4954
  }),
4955
- columnHelper.accessor('type', {
4956
- header: 'Type',
4955
+ columnHelper.accessor("type", {
4956
+ header: "Type",
4957
4957
  size: 150,
4958
4958
  enableResizing: false
4959
4959
  })
4960
4960
  ];
4961
4961
  const typeOptions = [
4962
4962
  {
4963
- value: 'all',
4964
- label: 'All Types'
4963
+ value: "all",
4964
+ label: "All Types"
4965
4965
  },
4966
4966
  {
4967
- value: 'string',
4968
- label: 'String'
4967
+ value: "string",
4968
+ label: "String"
4969
4969
  },
4970
4970
  {
4971
- value: 'date',
4972
- label: 'Date'
4971
+ value: "date",
4972
+ label: "Date"
4973
4973
  },
4974
4974
  {
4975
- value: 'datetime',
4976
- label: 'Datetime'
4975
+ value: "datetime",
4976
+ label: "Datetime"
4977
4977
  },
4978
4978
  {
4979
- value: 'year',
4980
- label: 'Year'
4979
+ value: "year",
4980
+ label: "Year"
4981
4981
  },
4982
4982
  {
4983
- value: 'integer',
4984
- label: 'Integer'
4983
+ value: "integer",
4984
+ label: "Integer"
4985
4985
  },
4986
4986
  {
4987
- value: 'number',
4988
- label: 'Number'
4987
+ value: "number",
4988
+ label: "Number"
4989
4989
  },
4990
4990
  {
4991
- value: 'boolean',
4992
- label: 'Boolean'
4991
+ value: "boolean",
4992
+ label: "Boolean"
4993
4993
  }
4994
4994
  ];
4995
4995
  return /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Fragment), {
@@ -5096,7 +5096,7 @@ const $6012b86ffcaf3f71$var$DataDictionary = ({ datasetDictionaryEndpoint: datas
5096
5096
  href: datasetDictionaryEndpoint + "/csv",
5097
5097
  className: "ds-c-button",
5098
5098
  style: {
5099
- width: '100%'
5099
+ width: "100%"
5100
5100
  },
5101
5101
  children: [
5102
5102
  /*#__PURE__*/ (0, $hgUW1$jsx)("i", {
@@ -5171,7 +5171,7 @@ const $2bd73bb95b0c04ed$var$DatasetDescription = ({ distribution: distribution,
5171
5171
  const [description, setDescription] = (0, $hgUW1$useState)("");
5172
5172
  if (!distribution && !dataset?.identifier) return null;
5173
5173
  (0, $hgUW1$useEffect)(()=>{
5174
- let newDescription = '';
5174
+ let newDescription = "";
5175
5175
  if (customDescription) newDescription = customDescription(dataset, distribution, resource);
5176
5176
  else {
5177
5177
  if (distribution.data && distribution.data.description) newDescription = distribution.data.description;
@@ -5186,7 +5186,7 @@ const $2bd73bb95b0c04ed$var$DatasetDescription = ({ distribution: distribution,
5186
5186
  customDescription
5187
5187
  ]);
5188
5188
  return /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
5189
- className: 'ds-u-measure--wide ds-u-margin-bottom--7',
5189
+ className: "ds-u-measure--wide ds-u-margin-bottom--7",
5190
5190
  children: /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
5191
5191
  className: "ds-u-margin-top--0 dc-c-metadata-description",
5192
5192
  dangerouslySetInnerHTML: {
@@ -5208,7 +5208,7 @@ const $a0f13962e513caa1$var$getDataDictionary = (dataDictionaryUrl)=>{
5208
5208
  ],
5209
5209
  queryFn: ()=>{
5210
5210
  return fetch(`${dataDictionaryUrl}?${(0, $hgUW1$qs).stringify((0, $6d5c0212e738499b$export$34e95918366a058e)({}, ACA), {
5211
- arrayFormat: 'comma',
5211
+ arrayFormat: "comma",
5212
5212
  encode: false
5213
5213
  })}`).then((res)=>res.json());
5214
5214
  }
@@ -5227,7 +5227,7 @@ const $a0f13962e513caa1$var$Dataset = ({ id: id, rootUrl: rootUrl, customColumns
5227
5227
  conditions: []
5228
5228
  };
5229
5229
  const { dataset: dataset, isPending: isPending } = (0, $b4aa9c66f2e86959$export$2e2bcd8739ae039)(id, rootUrl);
5230
- const title = dataset.title ? dataset.title : '';
5230
+ const title = dataset.title ? dataset.title : "";
5231
5231
  const metadataMapping = {
5232
5232
  ...(0, $6da0396069e23175$export$bc27cf7ecf44639d),
5233
5233
  ...customMetadataMapping
@@ -5235,7 +5235,7 @@ const $a0f13962e513caa1$var$Dataset = ({ id: id, rootUrl: rootUrl, customColumns
5235
5235
  let distribution = {};
5236
5236
  let distributions = dataset.distribution ? dataset.distribution : [];
5237
5237
  if (distributions.length) distribution = distributions[0];
5238
- const resource = (0, $1d3d480a9cfaabe0$export$2e2bcd8739ae039)('', rootUrl, {
5238
+ const resource = (0, $1d3d480a9cfaabe0$export$2e2bcd8739ae039)("", rootUrl, {
5239
5239
  ...options,
5240
5240
  limit: defaultPageSize
5241
5241
  });
@@ -5247,7 +5247,7 @@ const $a0f13962e513caa1$var$Dataset = ({ id: id, rootUrl: rootUrl, customColumns
5247
5247
  }) : null;
5248
5248
  (0, $hgUW1$useEffect)(()=>{
5249
5249
  const localFileFormat = (0, $f764661366bd9e1b$export$ee48b7e0e4eb536e)(distribution);
5250
- if (localFileFormat === 'csv') resource.setResource(distribution.identifier);
5250
+ if (localFileFormat === "csv") resource.setResource(distribution.identifier);
5251
5251
  }, [
5252
5252
  distribution
5253
5253
  ]);
@@ -5302,26 +5302,26 @@ const $a0f13962e513caa1$var$Dataset = ({ id: id, rootUrl: rootUrl, customColumns
5302
5302
  distribution,
5303
5303
  window.location.hash
5304
5304
  ]);
5305
- const displayDataDictionaryTab = distribution.data && distribution.data.describedBy && distribution.data.describedByType === 'application/vnd.tableschema+json' || datasetSitewideDictionary && datasetSitewideDictionary.length > 0;
5305
+ const displayDataDictionaryTab = distribution.data && distribution.data.describedBy && distribution.data.describedByType === "application/vnd.tableschema+json" || datasetSitewideDictionary && datasetSitewideDictionary.length > 0;
5306
5306
  return /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Fragment), {
5307
5307
  children: dataset.error ? /*#__PURE__*/ (0, $hgUW1$jsx)((0, $026cb986f9fea2b1$export$2e2bcd8739ae039), {
5308
5308
  content: notFoundContent,
5309
5309
  siteUrl: rootUrl
5310
5310
  }) : /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
5311
- className: 'ds-l-container',
5311
+ className: "ds-l-container",
5312
5312
  children: [
5313
5313
  /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
5314
- className: 'ds-l-row',
5314
+ className: "ds-l-row",
5315
5315
  children: [
5316
5316
  /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
5317
- className: 'ds-l-md-col--9',
5317
+ className: "ds-l-md-col--9",
5318
5318
  children: /*#__PURE__*/ (0, $hgUW1$jsx)("h1", {
5319
5319
  className: "ds-text-heading--3xl",
5320
5320
  children: title
5321
5321
  })
5322
5322
  }),
5323
5323
  /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
5324
- className: 'ds-l-md-col--12 ds-u-margin-y--1 ds-u-text-align--right',
5324
+ className: "ds-l-md-col--12 ds-u-margin-y--1 ds-u-text-align--right",
5325
5325
  children: /*#__PURE__*/ (0, $hgUW1$jsxs)("p", {
5326
5326
  className: "ds-u-margin--0",
5327
5327
  children: [
@@ -5333,7 +5333,7 @@ const $a0f13962e513caa1$var$Dataset = ({ id: id, rootUrl: rootUrl, customColumns
5333
5333
  })
5334
5334
  }),
5335
5335
  /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
5336
- className: 'ds-l-md-col--9',
5336
+ className: "ds-l-md-col--9",
5337
5337
  children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $2bd73bb95b0c04ed$export$2e2bcd8739ae039), {
5338
5338
  distribution: distribution,
5339
5339
  dataset: dataset,
@@ -5345,9 +5345,9 @@ const $a0f13962e513caa1$var$Dataset = ({ id: id, rootUrl: rootUrl, customColumns
5345
5345
  ]
5346
5346
  }),
5347
5347
  /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
5348
- className: 'ds-l-row',
5348
+ className: "ds-l-row",
5349
5349
  children: /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
5350
- className: 'ds-l-md-col--12 dc-dataset',
5350
+ className: "ds-l-md-col--12 dc-dataset",
5351
5351
  children: !isPending && /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Tabs), {
5352
5352
  onChange: (selectedId, prevSelectedId)=>{
5353
5353
  setSelectedTab(selectedId);
@@ -5355,7 +5355,7 @@ const $a0f13962e513caa1$var$Dataset = ({ id: id, rootUrl: rootUrl, customColumns
5355
5355
  selectedId: selectedTab,
5356
5356
  children: [
5357
5357
  (0, $f764661366bd9e1b$export$ee48b7e0e4eb536e)(distribution) === "csv" && /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$TabPanel), {
5358
- id: 'data-table',
5358
+ id: "data-table",
5359
5359
  tab: /*#__PURE__*/ (0, $hgUW1$jsxs)("span", {
5360
5360
  className: "ds-u-color--primary",
5361
5361
  children: [
@@ -5365,7 +5365,7 @@ const $a0f13962e513caa1$var$Dataset = ({ id: id, rootUrl: rootUrl, customColumns
5365
5365
  "Data Table"
5366
5366
  ]
5367
5367
  }),
5368
- className: borderlessTabs ? 'ds-u-border--0 ds-u-padding-x--0' : '',
5368
+ className: borderlessTabs ? "ds-u-border--0 ds-u-padding-x--0" : "",
5369
5369
  children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $43a30d745a7bbc86$export$2e2bcd8739ae039).Provider, {
5370
5370
  value: {
5371
5371
  id: id,
@@ -5380,7 +5380,7 @@ const $a0f13962e513caa1$var$Dataset = ({ id: id, rootUrl: rootUrl, customColumns
5380
5380
  })
5381
5381
  }),
5382
5382
  /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$TabPanel), {
5383
- id: 'overview',
5383
+ id: "overview",
5384
5384
  tab: /*#__PURE__*/ (0, $hgUW1$jsxs)("span", {
5385
5385
  className: "ds-u-color--primary",
5386
5386
  children: [
@@ -5390,7 +5390,7 @@ const $a0f13962e513caa1$var$Dataset = ({ id: id, rootUrl: rootUrl, customColumns
5390
5390
  "Overview"
5391
5391
  ]
5392
5392
  }),
5393
- className: borderlessTabs ? 'ds-u-border--0 ds-u-padding-x--0' : '',
5393
+ className: borderlessTabs ? "ds-u-border--0 ds-u-padding-x--0" : "",
5394
5394
  children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $364dc44850cd8f7f$export$2e2bcd8739ae039), {
5395
5395
  resource: resource,
5396
5396
  dataset: dataset,
@@ -5399,7 +5399,7 @@ const $a0f13962e513caa1$var$Dataset = ({ id: id, rootUrl: rootUrl, customColumns
5399
5399
  })
5400
5400
  }),
5401
5401
  !hideDataDictionary && /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$TabPanel), {
5402
- id: 'data-dictionary',
5402
+ id: "data-dictionary",
5403
5403
  tab: /*#__PURE__*/ (0, $hgUW1$jsxs)("span", {
5404
5404
  className: "ds-u-color--primary",
5405
5405
  children: [
@@ -5409,7 +5409,7 @@ const $a0f13962e513caa1$var$Dataset = ({ id: id, rootUrl: rootUrl, customColumns
5409
5409
  "Data Dictionary"
5410
5410
  ]
5411
5411
  }),
5412
- className: borderlessTabs ? 'ds-u-border--0 ds-u-padding-x--0' : '',
5412
+ className: borderlessTabs ? "ds-u-border--0 ds-u-padding-x--0" : "",
5413
5413
  children: [
5414
5414
  displayDataDictionaryTab && /*#__PURE__*/ (0, $hgUW1$jsx)((0, $6012b86ffcaf3f71$export$2e2bcd8739ae039), {
5415
5415
  datasetSitewideDictionary: datasetSitewideDictionary,
@@ -5423,7 +5423,7 @@ const $a0f13962e513caa1$var$Dataset = ({ id: id, rootUrl: rootUrl, customColumns
5423
5423
  ]
5424
5424
  }),
5425
5425
  distribution && distribution.data && /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$TabPanel), {
5426
- id: 'api',
5426
+ id: "api",
5427
5427
  tab: /*#__PURE__*/ (0, $hgUW1$jsxs)("span", {
5428
5428
  className: "ds-u-color--primary",
5429
5429
  children: [
@@ -5433,7 +5433,7 @@ const $a0f13962e513caa1$var$Dataset = ({ id: id, rootUrl: rootUrl, customColumns
5433
5433
  "API"
5434
5434
  ]
5435
5435
  }),
5436
- className: borderlessTabs ? 'ds-u-border--0 ds-u-padding-x--0' : '',
5436
+ className: borderlessTabs ? "ds-u-border--0 ds-u-padding-x--0" : "",
5437
5437
  children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $cf6eaefd6b928de3$export$2e2bcd8739ae039), {
5438
5438
  id: id,
5439
5439
  rootUrl: rootUrl,
@@ -5470,13 +5470,13 @@ const $b9af6ce5e2c06331$var$Header = (props)=>{
5470
5470
  });
5471
5471
  const menu = (0, $hgUW1$useRef)(null);
5472
5472
  function closeMobileMenu() {
5473
- const mobileMenuButtonElement = document.querySelector('.dkan-c-mobile-menu-button');
5473
+ const mobileMenuButtonElement = document.querySelector(".dkan-c-mobile-menu-button");
5474
5474
  if (!mobileMenuButtonElement) return;
5475
5475
  mobileMenuButtonElement.focus();
5476
5476
  }
5477
5477
  // Close mobile menu with escape.
5478
5478
  function handleMenuClose(event) {
5479
- if (event.key === 'Escape' && mobileMenuOpen) setMobileMenuOpen(false);
5479
+ if (event.key === "Escape" && mobileMenuOpen) setMobileMenuOpen(false);
5480
5480
  }
5481
5481
  function handleClick(event) {
5482
5482
  // Links are wrapped in spans, this checks if the parent is an A, also check if in the search modal.
@@ -5511,7 +5511,7 @@ const $b9af6ce5e2c06331$var$Header = (props)=>{
5511
5511
  const focusableEls = getFocusableElements(menu.current).selectors.visible;
5512
5512
  const firstEl = focusableEls[0];
5513
5513
  const lastEl = focusableEls[focusableEls.length - 1];
5514
- if (event.key === 'Tab') {
5514
+ if (event.key === "Tab") {
5515
5515
  if (event.shiftKey && document.activeElement === firstEl) {
5516
5516
  lastEl?.focus();
5517
5517
  event.preventDefault();
@@ -5523,15 +5523,15 @@ const $b9af6ce5e2c06331$var$Header = (props)=>{
5523
5523
  }
5524
5524
  };
5525
5525
  (0, $hgUW1$useEffect)(()=>{
5526
- document.addEventListener('keyup', handleMenuClose);
5527
- document.addEventListener('mousedown', handleClick);
5526
+ document.addEventListener("keyup", handleMenuClose);
5527
+ document.addEventListener("mousedown", handleClick);
5528
5528
  if (mobileMenuOpen) handleFocusIn();
5529
5529
  else closeMobileMenu();
5530
- if (menu.current) menu.current.addEventListener('keydown', (evt)=>trapFocus(evt));
5530
+ if (menu.current) menu.current.addEventListener("keydown", (evt)=>trapFocus(evt));
5531
5531
  return ()=>{
5532
- document.removeEventListener('keyup', handleMenuClose);
5533
- document.addEventListener('mousedown', handleClick);
5534
- if (menu.current) menu.current.removeEventListener('keydown', trapFocus);
5532
+ document.removeEventListener("keyup", handleMenuClose);
5533
+ document.addEventListener("mousedown", handleClick);
5534
+ if (menu.current) menu.current.removeEventListener("keydown", trapFocus);
5535
5535
  };
5536
5536
  }, [
5537
5537
  mobileMenuOpen
@@ -5546,7 +5546,7 @@ const $b9af6ce5e2c06331$var$Header = (props)=>{
5546
5546
  },
5547
5547
  children: /*#__PURE__*/ (0, $hgUW1$jsxs)("header", {
5548
5548
  "aria-label": "Site header",
5549
- className: `dkan-c-header dkan-c-header--${mobileMax ? 'mobile' : 'desktop'}`,
5549
+ className: `dkan-c-header dkan-c-header--${mobileMax ? "mobile" : "desktop"}`,
5550
5550
  children: [
5551
5551
  topNav && topNav,
5552
5552
  /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
@@ -5589,7 +5589,7 @@ const $24918217e48ac525$var$NavLink = ({ link: link, className: className = null
5589
5589
  var $24918217e48ac525$export$2e2bcd8739ae039 = $24918217e48ac525$var$NavLink;
5590
5590
 
5591
5591
 
5592
- const $a6df0aa147323304$var$Footer = ({ links: links, showEmail: showEmail = true, emailTitle: emailTitle = 'Get Email Updates', emailBody: emailBody = 'Sign up to get the latest information from CMS by choosing the topics and frequency of emails that are best for you.', emailLink: emailLink = '', emailButton: emailButton = 'Sign up for email updates', socialMediaLinks: socialMediaLinks = null, hhsLogo: hhsLogo, cmsLogo: cmsLogo, trademarkContent: trademarkContent = /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
5592
+ const $a6df0aa147323304$var$Footer = ({ links: links, showEmail: showEmail = true, emailTitle: emailTitle = "Get Email Updates", emailBody: emailBody = "Sign up to get the latest information from CMS by choosing the topics and frequency of emails that are best for you.", emailLink: emailLink = "", emailButton: emailButton = "Sign up for email updates", socialMediaLinks: socialMediaLinks = null, hhsLogo: hhsLogo, cmsLogo: cmsLogo, trademarkContent: trademarkContent = /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
5593
5593
  children: [
5594
5594
  /*#__PURE__*/ (0, $hgUW1$jsx)("p", {
5595
5595
  children: "A federal government website managed and paid for by the U.S. Centers for Medicare & Medicaid Services."
@@ -5677,14 +5677,14 @@ const $a6df0aa147323304$var$Footer = ({ links: links, showEmail: showEmail = tru
5677
5677
  /*#__PURE__*/ (0, $hgUW1$jsx)("ul", {
5678
5678
  className: "ds-u-font-size--sm",
5679
5679
  children: footerAdditionalResourcesLinks.filter((link)=>{
5680
- const noOnClick = Object.keys(link).findIndex((l)=>l === 'onClick');
5680
+ const noOnClick = Object.keys(link).findIndex((l)=>l === "onClick");
5681
5681
  if (noOnClick === -1 || link.onClick && link.dataTag) return link;
5682
5682
  }).map((link)=>{
5683
5683
  if (link.onClick && link.dataTag) return /*#__PURE__*/ (0, $hgUW1$jsx)("li", {
5684
5684
  className: "ds-u-margin-bottom--1",
5685
5685
  children: /*#__PURE__*/ (0, $hgUW1$jsx)("a", {
5686
5686
  href: link.url,
5687
- ['data-' + link.dataTag.name]: link.dataTag.value,
5687
+ ["data-" + link.dataTag.name]: link.dataTag.value,
5688
5688
  onClick: link.onClick,
5689
5689
  children: link.label
5690
5690
  })
@@ -5784,7 +5784,7 @@ const $a6df0aa147323304$var$Footer = ({ links: links, showEmail: showEmail = tru
5784
5784
  children: [
5785
5785
  /*#__PURE__*/ (0, $hgUW1$jsx)("title", {
5786
5786
  id: "svg-inline--fa-title-iRCARP7h6Kp3",
5787
- children: socialMediaLinks.facebook.title ? socialMediaLinks.facebook.title : 'CMS Facebook'
5787
+ children: socialMediaLinks.facebook.title ? socialMediaLinks.facebook.title : "CMS Facebook"
5788
5788
  }),
5789
5789
  /*#__PURE__*/ (0, $hgUW1$jsx)("g", {
5790
5790
  transform: "translate(160 256)",
@@ -5837,7 +5837,7 @@ const $a6df0aa147323304$var$Footer = ({ links: links, showEmail: showEmail = tru
5837
5837
  children: [
5838
5838
  /*#__PURE__*/ (0, $hgUW1$jsx)("title", {
5839
5839
  id: "svg-inline--fa-title-4z03ITiPPTVF",
5840
- children: socialMediaLinks.twitter.title ? socialMediaLinks.twitter.title : 'CMS Twitter'
5840
+ children: socialMediaLinks.twitter.title ? socialMediaLinks.twitter.title : "CMS Twitter"
5841
5841
  }),
5842
5842
  /*#__PURE__*/ (0, $hgUW1$jsx)("g", {
5843
5843
  transform: "translate(256 256)",
@@ -5890,7 +5890,7 @@ const $a6df0aa147323304$var$Footer = ({ links: links, showEmail: showEmail = tru
5890
5890
  children: [
5891
5891
  /*#__PURE__*/ (0, $hgUW1$jsx)("title", {
5892
5892
  id: "svg-inline--fa-title-Nm2qsuSKvuRZ",
5893
- children: socialMediaLinks.linkedin.title ? socialMediaLinks.linkedin.title : 'CMS LinkedIn'
5893
+ children: socialMediaLinks.linkedin.title ? socialMediaLinks.linkedin.title : "CMS LinkedIn"
5894
5894
  }),
5895
5895
  /*#__PURE__*/ (0, $hgUW1$jsx)("g", {
5896
5896
  transform: "translate(224 256)",
@@ -5942,7 +5942,7 @@ const $a6df0aa147323304$var$Footer = ({ links: links, showEmail: showEmail = tru
5942
5942
  children: [
5943
5943
  /*#__PURE__*/ (0, $hgUW1$jsx)("title", {
5944
5944
  id: "svg-inline--fa-title-youtube",
5945
- children: socialMediaLinks.youtube.title ? socialMediaLinks.youtube.title : 'CMS youtube'
5945
+ children: socialMediaLinks.youtube.title ? socialMediaLinks.youtube.title : "CMS youtube"
5946
5946
  }),
5947
5947
  /*#__PURE__*/ (0, $hgUW1$jsx)("path", {
5948
5948
  fill: "currentColor",
@@ -6042,26 +6042,26 @@ const $5655284dbbb89508$var$DocumentationTable = (props)=>{
6042
6042
  return /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Fragment), {
6043
6043
  children: /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Table), {
6044
6044
  stackable: true,
6045
- className: 'ds-c-table',
6045
+ className: "ds-c-table",
6046
6046
  children: [
6047
6047
  /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$TableHead), {
6048
6048
  children: /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$TableRow), {
6049
6049
  children: [
6050
6050
  /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$TableCell), {
6051
- id: 'application',
6052
- headers: 'Application',
6051
+ id: "application",
6052
+ headers: "Application",
6053
6053
  children: "Application"
6054
- }, 'Application'),
6054
+ }, "Application"),
6055
6055
  /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$TableCell), {
6056
- id: 'notes',
6057
- headers: 'Notes',
6056
+ id: "notes",
6057
+ headers: "Notes",
6058
6058
  children: "Notes"
6059
- }, 'Notes'),
6059
+ }, "Notes"),
6060
6060
  /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$TableCell), {
6061
- id: 'links',
6062
- headers: 'Links',
6061
+ id: "links",
6062
+ headers: "Links",
6063
6063
  children: "Links"
6064
- }, 'Links')
6064
+ }, "Links")
6065
6065
  ]
6066
6066
  })
6067
6067
  }),
@@ -6071,19 +6071,19 @@ const $5655284dbbb89508$var$DocumentationTable = (props)=>{
6071
6071
  /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$TableCell), {
6072
6072
  id: d.id,
6073
6073
  stackedTitle: "Application",
6074
- headers: 'Application',
6074
+ headers: "Application",
6075
6075
  children: d.application
6076
6076
  }, d.id),
6077
6077
  /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$TableCell), {
6078
6078
  id: d.id,
6079
6079
  stackedTitle: "Notes",
6080
- headers: 'Notes',
6080
+ headers: "Notes",
6081
6081
  children: d.notes
6082
6082
  }, `${d.id}-notes`),
6083
6083
  /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$TableCell), {
6084
6084
  id: d.id,
6085
6085
  stackedTitle: "Links",
6086
- headers: 'Links',
6086
+ headers: "Links",
6087
6087
  children: /*#__PURE__*/ (0, $hgUW1$jsxs)("a", {
6088
6088
  className: "dkan-newtab",
6089
6089
  href: d.link,
@@ -6111,44 +6111,44 @@ var $5655284dbbb89508$export$2e2bcd8739ae039 = $5655284dbbb89508$var$Documentati
6111
6111
 
6112
6112
  const $c7bf75f7e8a68780$export$7850f4d545d994c6 = [
6113
6113
  {
6114
- id: 'excel',
6115
- application: 'Microsoft Excel',
6116
- notes: 'Official size limitations for Microsoft Excel',
6117
- link: 'https://support.microsoft.com/en-us/office/excel-specifications-and-limits-1672b34d-7043-467e-8e27-269d656771c3?redirectSourcePath=%252fen-us%252farticle%252fExcel-specifications-and-limits-ca36e2dc-1f09-4620-b726-67c00b05040f',
6118
- linkText: 'Excel Specifications and Limits',
6119
- screenReaderOnlyText: 'on microsoft.com'
6114
+ id: "excel",
6115
+ application: "Microsoft Excel",
6116
+ notes: "Official size limitations for Microsoft Excel",
6117
+ link: "https://support.microsoft.com/en-us/office/excel-specifications-and-limits-1672b34d-7043-467e-8e27-269d656771c3?redirectSourcePath=%252fen-us%252farticle%252fExcel-specifications-and-limits-ca36e2dc-1f09-4620-b726-67c00b05040f",
6118
+ linkText: "Excel Specifications and Limits",
6119
+ screenReaderOnlyText: "on microsoft.com"
6120
6120
  },
6121
6121
  {
6122
- id: 'access',
6123
- application: 'Microsoft Access',
6124
- notes: 'Official size limitations for Microsoft Access',
6125
- link: 'https://support.microsoft.com/en-us/office/access-specifications-0cf3c66f-9cf2-4e32-9568-98c1025bb47c?ui=en-us&rs=en-us&ad=us',
6126
- linkText: 'Access 2016 Specifications',
6127
- screenReaderOnlyText: 'on microsoft.com'
6122
+ id: "access",
6123
+ application: "Microsoft Access",
6124
+ notes: "Official size limitations for Microsoft Access",
6125
+ link: "https://support.microsoft.com/en-us/office/access-specifications-0cf3c66f-9cf2-4e32-9568-98c1025bb47c?ui=en-us&rs=en-us&ad=us",
6126
+ linkText: "Access 2016 Specifications",
6127
+ screenReaderOnlyText: "on microsoft.com"
6128
6128
  },
6129
6129
  {
6130
- id: 'oracle-sql-developer',
6131
- application: 'Oracle SQL Developer',
6132
- notes: 'Oracle SQL Developer tool',
6133
- link: 'https://www.oracle.com/database/sqldeveloper/',
6134
- linkText: 'Oracle SQL Developer Overview',
6135
- screenReaderOnlyText: 'on oracle.com'
6130
+ id: "oracle-sql-developer",
6131
+ application: "Oracle SQL Developer",
6132
+ notes: "Oracle SQL Developer tool",
6133
+ link: "https://www.oracle.com/database/sqldeveloper/",
6134
+ linkText: "Oracle SQL Developer Overview",
6135
+ screenReaderOnlyText: "on oracle.com"
6136
6136
  },
6137
6137
  {
6138
- id: 'oracle-database',
6139
- application: 'Oracle Database',
6140
- notes: 'Oracle Database official size limitations',
6141
- link: 'https://docs.oracle.com/cd/B28359_01/server.111/b28320/limits002.htm#i287915',
6142
- linkText: 'Oracle Physical Database Limits',
6143
- screenReaderOnlyText: 'on oracle.com'
6138
+ id: "oracle-database",
6139
+ application: "Oracle Database",
6140
+ notes: "Oracle Database official size limitations",
6141
+ link: "https://docs.oracle.com/cd/B28359_01/server.111/b28320/limits002.htm#i287915",
6142
+ linkText: "Oracle Physical Database Limits",
6143
+ screenReaderOnlyText: "on oracle.com"
6144
6144
  },
6145
6145
  {
6146
- id: 'oracle-sql-client-tools',
6147
- application: 'Oracle SQL Client Tools',
6148
- notes: 'Oracle SQL Client Tools',
6149
- link: 'https://www.oracle.com/database/technologies/oracle-database-software-downloads.html',
6150
- linkText: 'Oracle SQL Client',
6151
- screenReaderOnlyText: 'on oracle.com'
6146
+ id: "oracle-sql-client-tools",
6147
+ application: "Oracle SQL Client Tools",
6148
+ notes: "Oracle SQL Client Tools",
6149
+ link: "https://www.oracle.com/database/technologies/oracle-database-software-downloads.html",
6150
+ linkText: "Oracle SQL Client",
6151
+ screenReaderOnlyText: "on oracle.com"
6152
6152
  }
6153
6153
  ];
6154
6154
 
@@ -6176,7 +6176,7 @@ const $669d2782ec2e2250$var$SpecsAndLimits = (props)=>{
6176
6176
  }),
6177
6177
  /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Alert), {
6178
6178
  heading: "Notice",
6179
- className: 'ds-u-margin-top--6',
6179
+ className: "ds-u-margin-top--6",
6180
6180
  children: /*#__PURE__*/ (0, $hgUW1$jsx)("p", {
6181
6181
  className: "ds-c-alert__text",
6182
6182
  children: "Be aware of the file size and row limitations of the software you are attempting to import the files into. For information on limitations, look at the software's official documentation."
@@ -6185,16 +6185,16 @@ const $669d2782ec2e2250$var$SpecsAndLimits = (props)=>{
6185
6185
  ]
6186
6186
  }),
6187
6187
  /*#__PURE__*/ (0, $hgUW1$jsx)("section", {
6188
- className: 'ds-u-margin-top--4 ds-l-row',
6188
+ className: "ds-u-margin-top--4 ds-l-row",
6189
6189
  children: /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
6190
- className: 'ds-l-col--12',
6190
+ className: "ds-l-col--12",
6191
6191
  children: [
6192
6192
  /*#__PURE__*/ (0, $hgUW1$jsx)("h2", {
6193
6193
  className: "ds-text-heading--2xl ds-text-heading--2xl",
6194
6194
  children: "Documentation by Application"
6195
6195
  }),
6196
6196
  /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
6197
- className: 'ds-u-margin-top--4',
6197
+ className: "ds-u-margin-top--4",
6198
6198
  children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $5655284dbbb89508$export$2e2bcd8739ae039), {
6199
6199
  data: documentationList
6200
6200
  })
@@ -6220,19 +6220,23 @@ var $669d2782ec2e2250$export$2e2bcd8739ae039 = $669d2782ec2e2250$var$SpecsAndLim
6220
6220
  function $8b67b7ee3fcfb629$export$2e2bcd8739ae039({ id: id, rootUrl: rootUrl, customColumns: customColumns, query: query, distributionIndex: distributionIndex = 0, defaultPageSize: defaultPageSize = 25, disableTableControls: disableTableControls = false }) {
6221
6221
  // TODO parse from stored filter
6222
6222
  const options = {
6223
- conditions: query ? JSON.parse(query.replaceAll('\"column\"', '\"property\"')) : []
6223
+ conditions: query ? JSON.parse(query).map(({ column: column, operator: operator, ...rest })=>({
6224
+ property: column,
6225
+ operator: operator === "is" ? "=" : operator === "is not" ? "<>" : operator === "or" ? "in" : operator,
6226
+ ...rest
6227
+ })) : []
6224
6228
  };
6225
6229
  const { dataset: dataset, isPending: isPending } = (0, $b4aa9c66f2e86959$export$2e2bcd8739ae039)(id, rootUrl);
6226
6230
  let distribution = {};
6227
6231
  let distributions = dataset.distribution ? dataset.distribution : [];
6228
6232
  if (distributions.length) distribution = distributions[distributionIndex];
6229
- const resource = (0, $1d3d480a9cfaabe0$export$2e2bcd8739ae039)('', rootUrl, {
6233
+ const resource = (0, $1d3d480a9cfaabe0$export$2e2bcd8739ae039)("", rootUrl, {
6230
6234
  ...options,
6231
6235
  limit: defaultPageSize
6232
6236
  });
6233
6237
  (0, $hgUW1$useEffect)(()=>{
6234
6238
  const localFileFormat = (0, $f764661366bd9e1b$export$ee48b7e0e4eb536e)(distribution);
6235
- if (localFileFormat === 'csv') resource.setResource(distribution.identifier);
6239
+ if (localFileFormat === "csv") resource.setResource(distribution.identifier);
6236
6240
  }, [
6237
6241
  distribution
6238
6242
  ]);
@@ -6279,7 +6283,7 @@ function $8b67b7ee3fcfb629$export$2e2bcd8739ae039({ id: id, rootUrl: rootUrl, cu
6279
6283
 
6280
6284
 
6281
6285
  function $374c4669b044ddf8$var$getStartDate(condition, schema, id) {
6282
- if (schema[id].fields[condition.property].mysql_type === 'date') {
6286
+ if (schema[id].fields[condition.property].mysql_type === "date") {
6283
6287
  const newDate = new Date(condition.value);
6284
6288
  if (newDate instanceof Date && !isNaN(newDate)) return newDate;
6285
6289
  }
@@ -6296,9 +6300,9 @@ const $374c4669b044ddf8$var$QueryRow = ({ id: id, condition: condition, index: i
6296
6300
  const [startDate, setStartDate] = (0, $hgUW1$react).useState($374c4669b044ddf8$var$getStartDate(condition, schema, id));
6297
6301
  (0, $hgUW1$useEffect)(()=>{
6298
6302
  if (property !== condition.property) {
6299
- if (property) update(index, 'property', property);
6300
- else update(index, 'property', '');
6301
- if (schema[id].fields[condition.property].mysql_type === 'date') {
6303
+ if (property) update(index, "property", property);
6304
+ else update(index, "property", "");
6305
+ if (schema[id].fields[condition.property].mysql_type === "date") {
6302
6306
  if (!value) setValue(startDate.toJSON().slice(0, 10));
6303
6307
  }
6304
6308
  }
@@ -6312,16 +6316,16 @@ const $374c4669b044ddf8$var$QueryRow = ({ id: id, condition: condition, index: i
6312
6316
  ]);
6313
6317
  (0, $hgUW1$useEffect)(()=>{
6314
6318
  if (operator !== condition.operator) {
6315
- if (operator) update(index, 'operator', operator);
6316
- else update(index, 'operator', '');
6319
+ if (operator) update(index, "operator", operator);
6320
+ else update(index, "operator", "");
6317
6321
  }
6318
6322
  }, [
6319
6323
  operator
6320
6324
  ]);
6321
6325
  (0, $hgUW1$useEffect)(()=>{
6322
6326
  if (value !== condition.value) {
6323
- if (value) update(index, 'value', value);
6324
- else update(index, 'value', '');
6327
+ if (value) update(index, "value", value);
6328
+ else update(index, "value", "");
6325
6329
  }
6326
6330
  }, [
6327
6331
  value
@@ -6345,7 +6349,7 @@ const $374c4669b044ddf8$var$QueryRow = ({ id: id, condition: condition, index: i
6345
6349
  onChange: (e)=>setOperator(e.target.value),
6346
6350
  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"
6347
6351
  }),
6348
- schema[id].fields[property].mysql_type === 'date' ? /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
6352
+ schema[id].fields[property].mysql_type === "date" ? /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
6349
6353
  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",
6350
6354
  children: [
6351
6355
  /*#__PURE__*/ (0, $hgUW1$jsx)("label", {
@@ -6395,19 +6399,19 @@ var $374c4669b044ddf8$export$2e2bcd8739ae039 = $374c4669b044ddf8$var$QueryRow;
6395
6399
  function $3b6ca952e79f0695$var$updateQueryForDatastore(condition) {
6396
6400
  let cond = condition;
6397
6401
  delete cond.key;
6398
- if (cond.operator === '=' || cond.operator === '<>') {
6402
+ if (cond.operator === "=" || cond.operator === "<>") {
6399
6403
  if (Array.isArray(cond.value)) cond.value = cond.value.join();
6400
- cond.value = cond.value.replace(/(^\%+|\%+$)/gm, '');
6404
+ cond.value = cond.value.replace(/(^\%+|\%+$)/gm, "");
6401
6405
  }
6402
- if (cond.operator.toLowerCase() === 'like') {
6406
+ if (cond.operator.toLowerCase() === "like") {
6403
6407
  if (Array.isArray(cond.value)) cond.value = cond.value.join();
6404
- const cleanedValue = cond.value.replace(/(^\%+|\%+$)/gm, '');
6408
+ const cleanedValue = cond.value.replace(/(^\%+|\%+$)/gm, "");
6405
6409
  cond.value = `%${cleanedValue}%`;
6406
6410
  }
6407
- if (cond.operator.toLowerCase() === 'in') {
6408
- if (!Array.isArray(cond.value)) cond.value = cond.value.split(',');
6411
+ if (cond.operator.toLowerCase() === "in") {
6412
+ if (!Array.isArray(cond.value)) cond.value = cond.value.split(",");
6409
6413
  }
6410
- if (Array.isArray(cond.value)) cond.value = cond.value.map((v)=>v.trim().replace(/(^\%+|\%+$)/gm, ''));
6414
+ if (Array.isArray(cond.value)) cond.value = cond.value.map((v)=>v.trim().replace(/(^\%+|\%+$)/gm, ""));
6411
6415
  return cond;
6412
6416
  }
6413
6417
  const $3b6ca952e79f0695$var$QueryBuilder = ({ resource: resource, id: id, customColumns: customColumns, setOffset: setOffset })=>{
@@ -6427,7 +6431,7 @@ const $3b6ca952e79f0695$var$QueryBuilder = ({ resource: resource, id: id, custom
6427
6431
  ...queryConditions,
6428
6432
  {
6429
6433
  property: fields[0],
6430
- value: '',
6434
+ value: "",
6431
6435
  operator: (0, $7264a673914aa746$export$2b9377795161999)(schema[id].fields[fields[0]].mysql_type)[0].value,
6432
6436
  key: Date.now()
6433
6437
  }
@@ -6467,7 +6471,7 @@ const $3b6ca952e79f0695$var$QueryBuilder = ({ resource: resource, id: id, custom
6467
6471
  encodeValuesOnly: true,
6468
6472
  addQueryPrefix: true
6469
6473
  });
6470
- window.history.pushState({}, '', `${url.origin}${url.pathname}${urlString}`);
6474
+ window.history.pushState({}, "", `${url.origin}${url.pathname}${urlString}`);
6471
6475
  };
6472
6476
  const updateCondition = (index, key, value)=>{
6473
6477
  let newConditions = [
@@ -6540,7 +6544,7 @@ var $3b6ca952e79f0695$export$2e2bcd8739ae039 = $3b6ca952e79f0695$var$QueryBuilde
6540
6544
 
6541
6545
 
6542
6546
  const $dd6eb2b30d7ad75d$var$FilteredResourceBody = ({ id: id, dataset: dataset, distIndex: distIndex, location: location, customColumns: customColumns, columnSettings: columnSettings, columnWidths: columnWidths, customTitle: customTitle, customDescription: customDescription, rootUrl: rootUrl, updateAriaLive: updateAriaLive })=>{
6543
- const [tablePadding, setTablePadding] = (0, $hgUW1$react).useState('ds-u-padding-y--1');
6547
+ const [tablePadding, setTablePadding] = (0, $hgUW1$react).useState("ds-u-padding-y--1");
6544
6548
  let apiDocs = (0, $hgUW1$useRef)();
6545
6549
  let distribution = {};
6546
6550
  let distribution_array = dataset.distribution ? dataset.distribution : [];
@@ -6552,7 +6556,7 @@ const $dd6eb2b30d7ad75d$var$FilteredResourceBody = ({ id: id, dataset: dataset,
6552
6556
  } : {
6553
6557
  conditions: []
6554
6558
  };
6555
- const resource = (0, $1d3d480a9cfaabe0$export$2e2bcd8739ae039)('', rootUrl, {
6559
+ const resource = (0, $1d3d480a9cfaabe0$export$2e2bcd8739ae039)("", rootUrl, {
6556
6560
  ...options,
6557
6561
  limit: 25
6558
6562
  });
@@ -6566,7 +6570,7 @@ const $dd6eb2b30d7ad75d$var$FilteredResourceBody = ({ id: id, dataset: dataset,
6566
6570
  }, {
6567
6571
  encode: true
6568
6572
  })}&format=csv`;
6569
- const pageTitle = distribution.data.title && distribution.data.title.toLowerCase() !== 'csv' ? distribution.data.title : dataset.title;
6573
+ const pageTitle = distribution.data.title && distribution.data.title.toLowerCase() !== "csv" ? distribution.data.title : dataset.title;
6570
6574
  const { ACA: ACA } = (0, $hgUW1$useContext)((0, $844981eac9b63865$export$eccc29c8d0ff408));
6571
6575
  return /*#__PURE__*/ (0, $hgUW1$jsx)("section", {
6572
6576
  className: "ds-l-container ds-u-padding-bottom--3 ds-u-margin-bottom--2",
@@ -6575,7 +6579,7 @@ const $dd6eb2b30d7ad75d$var$FilteredResourceBody = ({ id: id, dataset: dataset,
6575
6579
  children: Object.keys(distribution).length && /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Fragment), {
6576
6580
  children: [
6577
6581
  /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
6578
- className: 'ds-l-md-col--9',
6582
+ className: "ds-l-md-col--9",
6579
6583
  children: /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Link), {
6580
6584
  to: `/dataset/${id}`,
6581
6585
  className: "ds-u-padding-y--4 ds-u-display--block",
@@ -6586,14 +6590,14 @@ const $dd6eb2b30d7ad75d$var$FilteredResourceBody = ({ id: id, dataset: dataset,
6586
6590
  })
6587
6591
  }),
6588
6592
  /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
6589
- className: 'ds-l-md-col--9',
6593
+ className: "ds-l-md-col--9",
6590
6594
  children: /*#__PURE__*/ (0, $hgUW1$jsx)("h1", {
6591
6595
  className: "ds-text-heading--3xl",
6592
6596
  children: customTitle ? customTitle : pageTitle
6593
6597
  })
6594
6598
  }),
6595
6599
  /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
6596
- className: 'ds-l-md-col--12 ds-u-margin-y--1 ds-u-text-align--right',
6600
+ className: "ds-l-md-col--12 ds-u-margin-y--1 ds-u-text-align--right",
6597
6601
  children: /*#__PURE__*/ (0, $hgUW1$jsxs)("p", {
6598
6602
  className: "ds-u-margin--0",
6599
6603
  children: [
@@ -6605,7 +6609,7 @@ const $dd6eb2b30d7ad75d$var$FilteredResourceBody = ({ id: id, dataset: dataset,
6605
6609
  })
6606
6610
  }),
6607
6611
  /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
6608
- className: 'ds-l-md-col--9',
6612
+ className: "ds-l-md-col--9",
6609
6613
  children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $2bd73bb95b0c04ed$export$2e2bcd8739ae039), {
6610
6614
  distribution: distribution,
6611
6615
  dataset: dataset,
@@ -6615,13 +6619,13 @@ const $dd6eb2b30d7ad75d$var$FilteredResourceBody = ({ id: id, dataset: dataset,
6615
6619
  })
6616
6620
  }),
6617
6621
  /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
6618
- className: 'ds-l-md-col--12',
6622
+ className: "ds-l-md-col--12",
6619
6623
  children: Object.keys(resource).length && resource.columns && Object.keys(resource.schema).length ? /*#__PURE__*/ (0, $hgUW1$jsx)((0, $3b6ca952e79f0695$export$2e2bcd8739ae039), {
6620
6624
  resource: resource,
6621
6625
  id: distribution.identifier,
6622
6626
  customColumns: customColumns,
6623
6627
  setOffset: resource.setOffset
6624
- }) : ''
6628
+ }) : ""
6625
6629
  }),
6626
6630
  Object.keys(resource).length && resource.columns && Object.keys(resource.schema).length ? /*#__PURE__*/ (0, $hgUW1$jsx)((0, $43a30d745a7bbc86$export$2e2bcd8739ae039).Provider, {
6627
6631
  value: {
@@ -6632,7 +6636,7 @@ const $dd6eb2b30d7ad75d$var$FilteredResourceBody = ({ id: id, dataset: dataset,
6632
6636
  customColumns: (0, $7264a673914aa746$export$8049e8f40a9bdfb8)(customColumns, resource.columns, resource.schema[distribution_array[distIndex].identifier])
6633
6637
  },
6634
6638
  children: /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
6635
- className: 'ds-l-md-col--12',
6639
+ className: "ds-l-md-col--12",
6636
6640
  children: [
6637
6641
  /*#__PURE__*/ (0, $hgUW1$jsx)((0, $af099c546cb226c7$export$2e2bcd8739ae039), {
6638
6642
  includeDensity: true,
@@ -6654,14 +6658,14 @@ const $dd6eb2b30d7ad75d$var$FilteredResourceBody = ({ id: id, dataset: dataset,
6654
6658
  ]
6655
6659
  })
6656
6660
  }) : /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
6657
- className: 'ds-l-md-col--12',
6661
+ className: "ds-l-md-col--12",
6658
6662
  children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Spinner), {
6659
6663
  role: "status",
6660
6664
  "aria-valuetext": "Resource loading"
6661
6665
  })
6662
6666
  }),
6663
6667
  dataset.identifier && /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
6664
- className: 'ds-l-md-col--12',
6668
+ className: "ds-l-md-col--12",
6665
6669
  ref: apiDocs,
6666
6670
  children: [
6667
6671
  /*#__PURE__*/ (0, $hgUW1$jsx)("h2", {
@@ -6670,7 +6674,7 @@ const $dd6eb2b30d7ad75d$var$FilteredResourceBody = ({ id: id, dataset: dataset,
6670
6674
  }),
6671
6675
  /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$swaggeruireact), {
6672
6676
  url: `${rootUrl}/metastore/schemas/dataset/items/${dataset.identifier}/docs?${(0, $hgUW1$qs).stringify((0, $6d5c0212e738499b$export$34e95918366a058e)({}, ACA))}`,
6673
- docExpansion: 'list',
6677
+ docExpansion: "list",
6674
6678
  defaultModelsExpandDepth: -1
6675
6679
  })
6676
6680
  ]
@@ -6689,7 +6693,7 @@ const $f61ecf9f84951a61$var$FilteredResource = ({ id: id, dist_id: dist_id, loca
6689
6693
  const [ready, setReady] = (0, $hgUW1$useState)(false);
6690
6694
  const [error, setError] = (0, $hgUW1$useState)(false);
6691
6695
  const { dataset: dataset } = (0, $b4aa9c66f2e86959$export$2e2bcd8739ae039)(id, rootUrl);
6692
- const distIndex = dist_id === 'data' ? 0 : dist_id;
6696
+ const distIndex = dist_id === "data" ? 0 : dist_id;
6693
6697
  (0, $hgUW1$useEffect)(()=>{
6694
6698
  if (dataset.error) setError(true);
6695
6699
  if (dataset.distribution && dataset.distribution.length) {