@civicactions/cmsds-open-data-components 3.4.3 → 3.4.4
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.css +4 -0
- package/dist/main.css.map +1 -1
- package/dist/main.js +64 -184
- package/dist/main.js.map +1 -1
- package/dist/types.d.ts +33 -153
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/main.css
CHANGED
|
@@ -363,6 +363,10 @@ thead.dc-thead--truncated th p {
|
|
|
363
363
|
background-color: var(--table__background-color--striped);
|
|
364
364
|
}
|
|
365
365
|
|
|
366
|
+
.dc-c-datatable--highlight-row td {
|
|
367
|
+
background-color: var(--color-info-lighter);
|
|
368
|
+
}
|
|
369
|
+
|
|
366
370
|
.dc-c-sort--default, .dc-c-sort--asc, .dc-c-sort--desc {
|
|
367
371
|
background: none;
|
|
368
372
|
border: none;
|
package/dist/main.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":"ACAA;;;;ACIA;;;;;;;;;;;;AAeI;;;;AAIA;;;;;AAIE;;;;;AAQA;;;;;AASA;;;;AAWF;;;;;AAKA;;;;;AAKA;;;;AAOE;;;;AAGE;;;;AAMJ;;;;AAKF;;;;;;;AAMA;;;;AAGA;;;;AAGE;;;;AAKF;;;;AAKF;;;;AAIA;;;;;AAOA;EACE;;;;;ACxHF;;;;AAKI;;;;AASF;;;;AAGA;;;;;AAIA;;;;ACjBE;EAFF;;;;;AAOE;EADF;;;;;;;AAYA;;;;;;;;;;AAYA;;;;;AAMF;;;;AAIA;;;;AAKA;;;;AC/CA;;;;AAIA;;;;AAEE;;;;;;;;;AAUF;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAEE;;;;AAEE;EAFF;;;;;AAMA;;;;;ACnCA;;;;AAKF;;;;AAIA;;;;;ACVA;;;;ACAA;;;;;ACAA;;;;ACCE;;;;;;;;;AAUF;;;;;;AAMA;;;;AAKE;;;;AAEE;;;;AAIF;;;;AAKF;;;;AAIA;;;;ACrCA;;;;;AAGE;;;;;;AAKA;;;;;AAIA;;;;;;AAOF;;;;AAIA;;;;AAIA;;;;AAKE;;;;;;;;;;;;;;;;AAcE;;;;AAQF;;;;AAGE;;;;;;AAKE;;;;;;;;;;AASE;;;;;AAON;;;;AAMF;;;;AAIA;;;;;;;AAOE;;;;;;;;;AAUF;;;;AAGA;;;;AAGA;;;;AC/GA;;;;;AAGE;;;;;AAGE;;;;AAIF;;;;;;;;;AAQE;;;;AAIA;;;;AAIA;;;;;AAIE;;;;AAON;EACE;;;;EAEE;;;;;;;EAMA;;;;;EAIA;;;;EAIA;;;;;;;;ACtDJ;;;;;;AAKE;;;;AAIA;;;;;;AAKE;;;;ACbF;;;;AAGA;;;;;;;;ACHA;;;;;;;AAQF;;;;;AAGE;;;;;;;;;;;;;;;;AAiBF;;;;;;;AAKE;;;;;;;;;;;;;;;AAgBF;;;;;;;;;;;;;;AAcA;;;;;;;;AAME;;;;AAKF;;;;;AAME;;;;;;;;;;AASA;;;;;;AAKA;;;;;;;;AAUA;;;;AAKF;;;;;;;;;;;;;;;;AAeA;;;;AAIE;;;;;AAIA;;;;AAMA;;;;;AAIA;;;;AAOA;;;;;AAMF;;;;;;AAKE;;;;;;;AAOA;;;;;;;;;;;;;;;;AAeA;;;;;;;AAQF;;;;;;AAMA;;;;;AAGE;;;;AAGA;;;;;;;;AASA;;;;AAMF;EACE;;;;;AAMF;EACE;;;;;;;EAKE;;;;;EAIA;;;;;;;;EAOA;;;;;;;;;AAYF;;;;;AAGE;;;;;AAIA;;;;;;AAKE;;;;AAIF;;;;;AAGE;;;;AAIF;;;;AAYJ;;;;;;;;;AAUA;;;;AAIA;;;;AAGA;;;;AAIA;;;;;;;;;;AAQE;;;;;AAGE;;;;AAIF;;;;AAMF;;;;AAIA;;;;AAKE;;;;;;;;;;;;;;;;;ACpVF;;;;ACAA;;;;;;;;AAKE;;;;;AAGE;;;;;;;;AAQE;;;;;AASN;;;;AAIA;;;;AC7BA;;;;AAGA;;;;ACHA;;;;AAIA;;;;AAMI;;;;AAMJ","sources":["66671e0fb4f6ef44","src/components/NavLink/NavLink.scss","src/templates/APIPage/swagger-ui-overrides.scss","src/components/DatasetSearchListItem/dataset-search-list-item.scss","src/components/DatasetSearchFacets/dataset-search-facets.scss","src/templates/DatasetSearch/dataset-search.scss","src/components/DatasetAdditionalInformation/additional-information-table.scss","src/components/Resource/Resource.scss","src/components/DataDictionaryTable/dataDictionaryTable.scss","src/components/DatasetDictionaryTable/dataDictionary.scss","src/templates/Dataset/dataset.scss","src/components/Datatable/datatable.scss","src/components/ManageColumns/ManageColumns.scss","src/components/FullScreenDataTable/FullScreenDataTable.scss","src/components/MobileHeader/mobile-header.scss","src/templates/Header/header.scss","src/components/ResourceHeader/resource-header.scss","src/components/Breadcrumb/breadcrumb.scss","src/templates/FilteredResource/query-builder.scss","src/templates/FilteredResource/filtered-resource.scss"],"sourcesContent":["@import \"273e90f78d9897be\";\n@import \"4aaf9b6e7d02ddbc\";\n@import \"eab1ff0a90f53ec6\";\n@import \"401f704da451978e\";\n@import \"afb93adf2372c8fa\";\n@import \"0942f6189f250c2d\";\n@import \"0038627699fe7360\";\n@import \"d35618c6100ac41e\";\n@import \"c21b52fda9bf8379\";\n@import \"9581ea82efe9ba05\";\n@import \"e0db2df3aeed891f\";\n@import \"9392ba47b8b5bf2a\";\n@import \"fcd187e2206cc6bb\";\n@import \"177a57e3e33ce22a\";\n@import \"5c4d0463a5a7f5df\";\n@import \"abe4b1357605f482\";\n@import \"befaac9e892f85f3\";\n@import \"11a474311c5aac64\";\n@import \"e4bccea31c84a01a\";\n","nav.dc-c-site-menu .dc-c-header--links a.dc-c-active-link span {\n border-bottom: 2px solid #{var(--color-primary-light)};\n}","/*\nThis document provides overrides to Swagger UI, fixing accessibility issues.\n*/\n\n:root {\n //Colors\n --su-color--blue-dark: rgb(0, 51, 102);\n --su-color--brown: rgba(136, 76, 0, 1);\n --su-color--green-dark: rgb(0, 118, 65);\n --su-color--green-muted: rgb(39, 117, 100);\n --su-color--orange-dark: rgb(209, 0, 0);\n --su-color--orange-light: rgba(209, 0, 0, .1);\n --su-color--red-dark: rgb(151, 0, 0);\n --su-color--red-light: rgba(211, 0, 0, .1);\n --su-color--red: rgb(211, 0, 0);\n}\n// State `.swagger-ui` twice to include specificity and avoid multiple `!important` statements;\n.swagger-ui.swagger-ui {\n .opblock {\n .opblock-summary-method {\n color: #333;\n }\n\n &.opblock-delete {\n background-color: var(--su-color--red-light);\n border-color: var(--su-color--red);\n\n .opblock-summary-method {\n color: white;\n\n background-color: var(--su-color--red-dark);\n }\n }\n\n &.opblock-put {\n .opblock-summary-method {\n background-color: var(--su-color--brown);\n color: white;\n }\n }\n }\n\n .parameter__name {\n &.required {\n span {\n color: var(--su-color--red);\n }\n\n &:after {\n color: var(--su-color--red);\n }\n }\n }\n\n .btn {\n &.cancel {\n border-color: var(--su-color--red);\n color: var(--su-color--red);\n }\n\n &.authorize {\n border-color: var(--su-color--green-muted);\n background-color: var(--su-color--green-muted);\n }\n\n &.execute {\n background-color: var(--su-color--blue-dark)\n }\n }\n\n .info {\n .title {\n small {\n background-color: #666;\n\n &.version-stamp {\n background-color: #005830;\n }\n }\n }\n\n a {\n color: #036;\n }\n }\n\n .model-hint {\n max-width: 100%;\n word-wrap: break-word;\n white-space: normal;\n top: 1.5em;\n }\n section.models .model-container {\n overflow-x: auto;\n }\n table {\n min-width: 500px;\n\n &.model tbody tr td:first-of-type {\n min-width: 174px;\n }\n }\n\n .table-container, .responses-inner {\n overflow: scroll;\n }\n}\n\n.swagger-ui h2, .swagger-ui h3, .swagger-ui h4 {\n font-weight: bold !important;\n}\n\n.swagger-ui div.wrapper {\n padding-left: 0;\n padding-right: 0;\n}\n\n// Fix issue on mobile with text on accordion looking weird.\n\n@media (width <= 544px) {\n .swagger-ui .opblock-tag-section .opblock-tag small {\n flex: initial;\n }\n}\n",".dc-c-search-list-item {\n list-style: none;\n li {\n list-style: none;\n\n a,\n button {\n text-decoration: underline !important;\n }\n a svg,\n span svg {\n fill: #{var(--link__color)};\n }\n }\n svg {\n margin-right: 8px;\n }\n span > span > button {\n font-weight: normal !important;\n padding: 0 !important;\n }\n a:visited svg {\n fill: #{var(--link__color--visited)};\n }\n}",".dkan-dataset-search {\n position: relative;\n input {\n min-width: 100%;\n @media only screen and (min-width: 544px) {\n padding-left: 32px;\n }\n }\n div.--alt-style input {\n @media only screen and (max-width: 544px) {\n --text-input__border-radius: 50px;\n --text-input__border-color: #c6b7b7;\n height: 61px;\n }\n }\n\n .ds-c-field__before {\n left: 16px;\n top: 12px;\n }\n .dc-c-search-button-mobile {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n position: absolute;\n right: 18px;\n top: 2px;\n z-index: 1000;\n height: 57px;\n }\n}\n\n.dkan-dataset-search--facet-container {\n ul {\n list-style: none;\n padding-left: 0px;\n }\n}\n\n.dkan-dataset-search--clear-all-filters {\n width: 100%;\n}\n\n.dc-c-search-list-item li a svg,\n.dc-c-search-list-item li span svg {\n fill: #{var(--link__color)};\n}\n\n.dc-c-search-list-item li a:visited svg {\n fill: #{var(--link__color--visited)};\n}\n",".dc-dataset-search-list {\n list-style: none;\n}\n\n.dc-search-header {\n display: relative;\n &::after {\n content: '';\n display: block;\n width: 48px;\n height: 4px;\n margin: 16px 0;\n background-color: #{var(--color-primary-light)};\n }\n}\n\n.dataset-results-count {\n font-weight: bold;\n}\n\n.dkan-dataset-search--facet-container .ds-c-accordion__content {\n max-height: 32rem;\n}\n\n.dc-dataset-search--clear-all-filters {\n width: 100%;\n}\n\n.dkan-dataset-search {\n position: relative;\n input {\n min-width: 100%;\n @media only screen and (min-width: 544px) {\n padding-left: 32px;\n }\n }\n .ds-c-field__before {\n left: 16px;\n top: 12px;\n }\n}",".dc-c-additional-info-table {\n table {\n width: 100%;\n }\n}\n\n.dc-c-additional-info-table a {\n word-break: break-all;\n}\n\n.ds-u-word-break-anywhere {\n word-break: break-word;\n overflow-wrap: anywhere;\n}\n","ul.dc-c-resource-full-width {\n width: 100%;\n}\n",".dc-c-datadictionary-table .dc-c-datatable th, .dc-c-datadictionary-table .dc-c-datatable td {\n border-left: 0;\n border-right: 0;\n}",".dc-c-tooltip-width-override .ds-c-tooltip {\n width: 500px;\n}",".dc-resource-header {\n &::before {\n content: '';\n display: block;\n width: 48px;\n height: 4px;\n margin: 8px 0;\n background-color: #{var(--color-primary-light)};\n }\n}\n\n.dc-truncate {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.dc-c-metadata-description {\n white-space: pre-line;\n}\n\n.dc-dataset .ds-c-tabs {\n .ds-c-tabs__item {\n text-decoration:none;\n svg {\n fill: #{var(--link__color)};\n }\n }\n svg {\n margin-right: 8px;\n }\n}\n\n#main-content {\n overflow: visible;\n}\n\n.dc-c-word-break--all {\n word-break: break-all;\n}",".dc-c-datatable {\n width: 100%;\n border-spacing: 0px;\n thead > .dc-c-sticky-header {\n position: sticky;\n top: 0;\n background-color: white;\n }\n th {\n position: relative;\n text-align: left;\n }\n thead th div {\n display: flex;\n align-items: center;\n cursor: pointer;\n }\n}\n\n.dc-c-datatable-wrapper {\n overflow: auto;\n}\n\n.dc-thead--fixed-size th {\n border-left: 2px solid var(--color-border);\n}\n\n.dc-thead--fixed-size th:first-child {\n border-left: none;\n}\n\n.dc-thead--resizeable {\n .dc-c-resize-handle {\n top: 0;\n bottom: 0;\n right: 0;\n position: absolute !important;\n background-color: #{var(--color-gray-light)};\n width: 10px;\n cursor: col-resize;\n min-width: 10px;\n display: block;\n margin-left: -10px;\n padding: 0;\n border: none;\n z-index: 1;\n &.isResizing,\n &:hover {\n background-color: #{var(--color-primary)};\n }\n }\n}\n\nthead.dc-thead--truncated {\n th > div {\n align-items: stretch; \n\n > div {\n overflow: hidden;\n flex: 1 1 auto;\n position: relative;\n \n > span {\n white-space: nowrap;\n text-overflow: ellipsis;\n display: inline-block;\n overflow: hidden;\n position: absolute;\n left: 0;\n width: 100%;\n \n .ds-c-tooltip__container {\n white-space: wrap;\n font-weight: normal;\n }\n }\n }\n }\n th p {\n white-space: normal;\n }\n\n}\n\n.dc-c-datatable--even-row td {\n background-color: #{var(--table__background-color--striped)};\n}\n\n.dc-c-sort--default,\n.dc-c-sort--asc,\n.dc-c-sort--desc {\n padding-left: 8px;\n padding-right: 16px;\n border: none;\n background: none;\n &::after {\n font-family: 'Font Awesome 6 Pro';\n display: inline;\n padding-left: 8px;\n line-height: 18px;\n height: 18px;\n width: 18px;\n }\n}\n\n.dc-c-sort--default::after {\n content: '\\f0dc';\n}\n.dc-c-sort--asc::after {\n content: '\\f0de';\n}\n.dc-c-sort--desc::after {\n content: '\\f0dd';\n}\n","dialog.dkan-manage-columns-dialog {\n height: 80vh;\n width: 100%;\n .ds-c-dialog__window {\n min-width: 768px; // TODO responsive\n padding: 0;\n .ds-c-dialog__header {\n padding: 24px;\n }\n }\n .dkan-manage-columns-list {\n list-style: none;\n gap: 0;\n max-height: 350px; // TODO responsive\n margin: 0;\n padding: 0;\n overflow-y: auto;\n\n li {\n cursor: pointer;\n }\n\n .ds-c-choice-wrapper {\n margin-top: 0;\n }\n\n .dkan-manage-columns-reorder-button {\n background: none;\n border: none;\n\n &.grabbed {\n background-color: var(--color-primary-lighter);\n }\n }\n }\n}\n\n@media screen and (max-width: 767px) {\n dialog.dkan-manage-columns-dialog {\n height: 100%;\n .ds-c-dialog__window {\n margin-top: 0;\n width: 100%;\n min-width: auto;\n height: 100%;\n }\n .ds-c-dialog__body > div:not(.ds-c-dialog__actions) {\n display: flex;\n flex-direction: column;\n }\n .dkan-manage-columns-list {\n max-height: calc(100vh - 435px); /* approx height of all other dialog elements */\n }\n\n .ds-c-dialog__actions {\n position:absolute;\n bottom: 0;\n background-color: white;\n padding-top: 16px;\n }\n }\n}","dialog.dkan-full-screen-dataset-dialog > .ds-c-dialog__window {\n width: 100%;\n max-width: 100%;\n margin: 0;\n\n form {\n max-width: 1024px;\n }\n\n .dkan-datatable-fullscreen-mode {\n max-height: calc(100vh - 415px);\n min-height: calc(100vh - 415px);\n overflow: hidden;\n\n .dc-c-datatable-wrapper {\n max-height: calc(100vh - 473px);\n }\n }\n}",".dc-c-mobile-header--menu {\n :focus {\n box-shadow: 0 0 0 3px transparent,0 0 4px 6px transparent;\n }\n :focus-visible {\n // Copy styling from DS items with focus\n background-color: #0000;\n border-radius: var(--button__border-radius);\n box-shadow: 0 0 0 3px var(--color-focus-light),0 0 4px 6px var(--color-focus-dark);\n outline: 3px solid #0000;\n outline-offset: 3px;\n }\n}\n",".ds-c-usa-banner__button-text {\n &::after {\n width: 0 !important;\n height: 0 !important;\n margin: 0 !important;\n padding: 0 !important;\n }\n}\n\n.dc-c-mobile-menu--open {\n color: #{var(--color-white)};\n text-decoration: none;\n &::before {\n font-family: 'Font Awesome 6 Pro';\n content: '\\f0c9';\n color: #{var(--color-white)};\n font-size: 18px;\n padding-right: 10px;\n display: inline-block;\n line-height: 18px;\n height: 18px;\n width: 18px;\n margin-left: 10px;\n text-align: center;\n vertical-align: middle;\n font-weight: lighter;\n }\n}\n\n.dc-c-mobile-menu--close {\n color: #{var(--color-white)};\n text-decoration: none;\n padding-left: 0;\n padding-bottom: 16px;\n &::before {\n font-family: 'Font Awesome 6 Pro';\n content: '\\f00d';\n color: #{var(--color-white)};\n font-size: 18px;\n padding-right: 10px;\n display: inline-block;\n line-height: 18px;\n height: 18px;\n width: 18px;\n text-align: center;\n vertical-align: middle;\n font-weight: lighter;\n }\n}\n\n.dc-c-mobile-header--menu {\n position: fixed;\n background-color: #{var(--color-gray-dark)};\n top: 0;\n bottom: 0;\n left: -100%;\n z-index: 500;\n height: 100%;\n width: 100%;\n transition: left 0.7s;\n padding: 50px 0;\n visibility: hidden;\n}\n\n.dc-c-mobile-header .dc-c-site-menu--sub-menu {\n position: relative;\n background: transparent;\n top: -24px;\n width: auto;\n left: auto;\n a {\n padding: 8px;\n }\n}\n\n.dc-c-cmsheader {\n position: relative;\n background: #{var(--color-white)};\n}\n\n.dc-c-cms-mobile-header-menu {\n &::before {\n display: block;\n margin-left: 8px;\n margin-bottom: 16px;\n width: 48px;\n height: 2px;\n background: #{var(--color-primary-light)};\n content: '';\n }\n ul {\n list-style: none;\n margin: 0;\n padding: 0;\n }\n a,\n a:hover,\n a:focus,\n a:visited {\n background-color: transparent;\n display: inline-block;\n color: #{var(--color-white)};\n text-decoration: none;\n border-bottom: 2px solid transparent;\n }\n a:hover,\n a:active {\n border-bottom: 2px solid #{var(--color-primary-light)};\n }\n}\n.has-submenu > button::after {\n font-family: 'Font Awesome 6 Pro';\n content: '\\f105';\n color: #{var(--color-white)};\n font-size: 18px;\n padding-right: 10px;\n display: inline-block;\n line-height: 18px;\n height: 18px;\n width: 18px;\n margin-left: 10px;\n text-align: center;\n vertical-align: middle;\n font-weight: lighter;\n}\n.has-submenu.open > button::after {\n content: '\\f107';\n}\n.dc-c-header--mobile-links {\n button {\n padding: 0;\n font-weight: 700;\n }\n a {\n display: block;\n }\n}\n\n.dc-c-mobile-header.menu-open {\n .dc-c-cmsheader {\n z-index: 501;\n background-color: transparent;\n }\n .dc-c-cmsheader-menu a,\n button {\n color: #{var(--color-white)};\n }\n .cms-link-container a::before {\n color: #{var(--color-white)};\n }\n .dc-c-mobile-header--menu {\n left: 0;\n visibility: visible;\n }\n}\n\n.cms-link-container {\n display: block;\n margin-right: 20px;\n // margin-top: -5px;\n border-right: none;\n a {\n text-decoration: none;\n border-bottom: none;\n\n margin-right: 20px;\n display: inline-block;\n }\n a::before {\n font-family: 'Font Awesome 6 Pro';\n content: '\\f33e';\n color: #323a45;\n font-size: 18px;\n padding-right: 10px;\n display: inline-block;\n line-height: 18px;\n height: 18px;\n width: 18px;\n margin-left: 10px;\n text-align: center;\n vertical-align: middle;\n font-weight: lighter;\n }\n img {\n height: auto;\n width: 90px;\n display: inline-block;\n vertical-align: middle;\n }\n}\n\n.cms-text-container {\n display: block;\n padding-top: 28px;\n color: #6f757c;\n}\n\n.dc-c-cmsheader-menu {\n padding: 0;\n margin: 0;\n li {\n list-style: none;\n }\n a {\n margin: 3px 7px;\n padding: 0;\n color: #323a45;\n text-decoration: none;\n border-bottom: 1px solid;\n border-bottom-color: #eee;\n border-bottom-color: rgba(255, 255, 255, 0.2);\n }\n a:hover,\n a:active {\n border-bottom: 2px solid #323a45;\n }\n}\n\n@media (min-width: 544px) {\n .dc-c-main-navigation--search,\n .dc-c-mobile-menu--search {\n border-left: 1px solid #{var(--color-white)};\n }\n}\n\n@media (min-width: 1024px) {\n .cms-link-container {\n height: 85px;\n width: 240px;\n float: left;\n border-right: 1px solid #d6d7d9;\n a {\n margin-top: 28px;\n margin-bottom: 20px;\n }\n img {\n height: auto;\n width: auto;\n display: inline-block;\n vertical-align: middle;\n max-width: 80%;\n }\n a::before {\n font-size: 28px;\n line-height: 28px;\n width: 28px;\n height: 28px;\n margin-left: 0;\n }\n }\n}\n\n\nnav.dc-c-site-menu {\n .dc-c-header--links {\n padding: 0;\n margin: 0;\n li {\n list-style: none;\n height: 100%;\n }\n button {\n // color: #{var(--color-white)};\n text-decoration: none;\n font-size: 16px;\n border: none;\n span {\n border-bottom: 2px solid transparent;\n }\n }\n a {\n text-decoration: none;\n padding: #{var(--space, 8px 24px)};\n span {\n border-bottom: 2px solid transparent;\n }\n }\n > li:hover > button span,\n > li button:focus span,\n > li button:hover span,\n > li:hover > a span,\n > li:focus > a span,\n > li a:hover span,\n > li a:focus span {\n border-bottom: 2px solid #{var(--color-primary-light)};\n }\n }\n}\n\nnav.dc-c-site-menu .dc-c-header--links a:focus,\n.dc-c-site-title a:focus {\n background-color: transparent;\n outline: 3px solid transparent;\n box-shadow: 0 0 0 3px #{var(--color-focus-light)}, 0 0 4px 6px #{var(--color-focus-dark)};\n outline-offset: 3px;\n border-radius: #{var(--button__border-radius)};\n text-decoration: none;\n}\n\nnav > ul li ul {\n display: none;\n}\n\nnav > ul li.open ul {\n display: block;\n}\nli.has-submenu {\n position: relative;\n}\n\n.dc-c-site-menu--sub-menu {\n background: #{var(--color-primary)};\n position: absolute;\n left: 0;\n top: 48px;\n margin: 0;\n padding: 0;\n width: 300px;\n a {\n display: block;\n padding: 16px;\n span {\n border-bottom: 2px solid transparent;\n }\n }\n a:hover span,\n a:focus span {\n border-bottom: 2px solid #{var(--color-primary-light)};\n }\n}\n\n.dc-c-site-title a {\n text-decoration: none;\n}\n\n.dc-c-mobile-menu--search {\n display: inherit;\n}\n\n.dc-c-search-modal--button {\n &::before {\n font-family: 'Font Awesome 6 Pro';\n content: '\\f002';\n color: #{var(--color-white)};\n font-size: 18px;\n padding-right: 10px;\n display: inline-block;\n line-height: 18px;\n height: 18px;\n width: 18px;\n margin-left: 10px;\n text-align: center;\n vertical-align: middle;\n font-weight: lighter;\n box-sizing: content-box\n }\n}\n",".ds-c-button.display-settings-font {\n font: inherit;\n}",".dc-c-breadcrumb__list {\n margin-top: 0;\n margin-bottom: 0;\n list-style-type: none;\n padding-left: 0;\n > li {\n margin-bottom: 0;\n max-width: unset;\n &::after {\n font-family: 'Font Awesome 6 Pro';\n content: '\\f054';\n margin: 0 10px;\n font-size: 10px;\n font-weight: 600;\n }\n &:last-child {\n &::after {\n content: '';\n margin: 0;\n }\n }\n }\n display: block;\n}\n\n.dc-c-breadcrumb__list-item {\n display: inline-block;\n}\n\n.dc-c-breadcrumb__link {\n display: inline;\n}\n",".dc-query-builder > .ds-c-accordion > .ds-c-accordion__content {\n overflow: visible;\n}\n.dc-query-builder .react-datepicker select {\n background-image: none;\n}",".dc-c-resource-action {\n min-height: 100%;\n}\n\n.dc-filtered-resource-toggle {\n align-self: center;\n}\n\n.dc-c-filterd-resouce-drawer {\n .ds-c-help-drawer__footer {\n h4 {\n display: none;\n }\n }\n}\n\n.dc-c-resource-header--buttons {\n display: flex;\n}\n"],"names":[],"version":3,"file":"main.css.map"}
|
|
1
|
+
{"mappings":"ACAA;;;;ACIA;;;;;;;;;;;;AAeI;;;;AAIA;;;;;AAIE;;;;;AAQA;;;;;AASA;;;;AAWF;;;;;AAKA;;;;;AAKA;;;;AAOE;;;;AAGE;;;;AAMJ;;;;AAKF;;;;;;;AAMA;;;;AAGA;;;;AAGE;;;;AAKF;;;;AAKF;;;;AAIA;;;;;AAOA;EACE;;;;;ACxHF;;;;AAKI;;;;AASF;;;;AAGA;;;;;AAIA;;;;ACjBE;EAFF;;;;;AAOE;EADF;;;;;;;AAYA;;;;;;;;;;AAYA;;;;;AAMF;;;;AAIA;;;;AAKA;;;;AC/CA;;;;AAIA;;;;AAEE;;;;;;;;;AAUF;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAEE;;;;AAEE;EAFF;;;;;AAMA;;;;;ACnCA;;;;AAKF;;;;AAIA;;;;;ACVA;;;;ACAA;;;;;ACAA;;;;ACCE;;;;;;;;;AAUF;;;;;;AAMA;;;;AAKE;;;;AAEE;;;;AAIF;;;;AAKF;;;;AAIA;;;;ACrCA;;;;;AAGE;;;;;;AAKA;;;;;AAIA;;;;;;AAOF;;;;AAIA;;;;AAIA;;;;AAKE;;;;;;;;;;;;;;;;AAcE;;;;AAQF;;;;AAGE;;;;;;AAKE;;;;;;;;;;AASE;;;;;AAON;;;;AAMF;;;;AAIA;;;;AAIA;;;;;;;AAOE;;;;;;;;;AAUF;;;;AAGA;;;;AAGA;;;;ACnHA;;;;;AAGE;;;;;AAGE;;;;AAIF;;;;;;;;;AAQE;;;;AAIA;;;;AAIA;;;;;AAIE;;;;AAON;EACE;;;;EAEE;;;;;;;EAMA;;;;;EAIA;;;;EAIA;;;;;;;;ACtDJ;;;;;;AAKE;;;;AAIA;;;;;;AAKE;;;;ACbF;;;;AAGA;;;;;;;;ACHA;;;;;;;AAQF;;;;;AAGE;;;;;;;;;;;;;;;;AAiBF;;;;;;;AAKE;;;;;;;;;;;;;;;AAgBF;;;;;;;;;;;;;;AAcA;;;;;;;;AAME;;;;AAKF;;;;;AAME;;;;;;;;;;AASA;;;;;;AAKA;;;;;;;;AAUA;;;;AAKF;;;;;;;;;;;;;;;;AAeA;;;;AAIE;;;;;AAIA;;;;AAMA;;;;;AAIA;;;;AAOA;;;;;AAMF;;;;;;AAKE;;;;;;;AAOA;;;;;;;;;;;;;;;;AAeA;;;;;;;AAQF;;;;;;AAMA;;;;;AAGE;;;;AAGA;;;;;;;;AASA;;;;AAMF;EACE;;;;;AAMF;EACE;;;;;;;EAKE;;;;;EAIA;;;;;;;;EAOA;;;;;;;;;AAYF;;;;;AAGE;;;;;AAIA;;;;;;AAKE;;;;AAIF;;;;;AAGE;;;;AAIF;;;;AAYJ;;;;;;;;;AAUA;;;;AAIA;;;;AAGA;;;;AAIA;;;;;;;;;;AAQE;;;;;AAGE;;;;AAIF;;;;AAMF;;;;AAIA;;;;AAKE;;;;;;;;;;;;;;;;;ACpVF;;;;ACAA;;;;;;;;AAKE;;;;;AAGE;;;;;;;;AAQE;;;;;AASN;;;;AAIA;;;;AC7BA;;;;AAGA;;;;ACHA;;;;AAIA;;;;AAMI;;;;AAMJ","sources":["66671e0fb4f6ef44","src/components/NavLink/NavLink.scss","src/templates/APIPage/swagger-ui-overrides.scss","src/components/DatasetSearchListItem/dataset-search-list-item.scss","src/components/DatasetSearchFacets/dataset-search-facets.scss","src/templates/DatasetSearch/dataset-search.scss","src/components/DatasetAdditionalInformation/additional-information-table.scss","src/components/Resource/Resource.scss","src/components/DataDictionaryTable/dataDictionaryTable.scss","src/components/DatasetDictionaryTable/dataDictionary.scss","src/templates/Dataset/dataset.scss","src/components/Datatable/datatable.scss","src/components/ManageColumns/ManageColumns.scss","src/components/FullScreenDataTable/FullScreenDataTable.scss","src/components/MobileHeader/mobile-header.scss","src/templates/Header/header.scss","src/components/ResourceHeader/resource-header.scss","src/components/Breadcrumb/breadcrumb.scss","src/templates/FilteredResource/query-builder.scss","src/templates/FilteredResource/filtered-resource.scss"],"sourcesContent":["@import \"273e90f78d9897be\";\n@import \"4aaf9b6e7d02ddbc\";\n@import \"eab1ff0a90f53ec6\";\n@import \"401f704da451978e\";\n@import \"afb93adf2372c8fa\";\n@import \"0942f6189f250c2d\";\n@import \"0038627699fe7360\";\n@import \"d35618c6100ac41e\";\n@import \"c21b52fda9bf8379\";\n@import \"9581ea82efe9ba05\";\n@import \"e0db2df3aeed891f\";\n@import \"9392ba47b8b5bf2a\";\n@import \"fcd187e2206cc6bb\";\n@import \"177a57e3e33ce22a\";\n@import \"5c4d0463a5a7f5df\";\n@import \"abe4b1357605f482\";\n@import \"befaac9e892f85f3\";\n@import \"11a474311c5aac64\";\n@import \"e4bccea31c84a01a\";\n","nav.dc-c-site-menu .dc-c-header--links a.dc-c-active-link span {\n border-bottom: 2px solid #{var(--color-primary-light)};\n}","/*\nThis document provides overrides to Swagger UI, fixing accessibility issues.\n*/\n\n:root {\n //Colors\n --su-color--blue-dark: rgb(0, 51, 102);\n --su-color--brown: rgba(136, 76, 0, 1);\n --su-color--green-dark: rgb(0, 118, 65);\n --su-color--green-muted: rgb(39, 117, 100);\n --su-color--orange-dark: rgb(209, 0, 0);\n --su-color--orange-light: rgba(209, 0, 0, .1);\n --su-color--red-dark: rgb(151, 0, 0);\n --su-color--red-light: rgba(211, 0, 0, .1);\n --su-color--red: rgb(211, 0, 0);\n}\n// State `.swagger-ui` twice to include specificity and avoid multiple `!important` statements;\n.swagger-ui.swagger-ui {\n .opblock {\n .opblock-summary-method {\n color: #333;\n }\n\n &.opblock-delete {\n background-color: var(--su-color--red-light);\n border-color: var(--su-color--red);\n\n .opblock-summary-method {\n color: white;\n\n background-color: var(--su-color--red-dark);\n }\n }\n\n &.opblock-put {\n .opblock-summary-method {\n background-color: var(--su-color--brown);\n color: white;\n }\n }\n }\n\n .parameter__name {\n &.required {\n span {\n color: var(--su-color--red);\n }\n\n &:after {\n color: var(--su-color--red);\n }\n }\n }\n\n .btn {\n &.cancel {\n border-color: var(--su-color--red);\n color: var(--su-color--red);\n }\n\n &.authorize {\n border-color: var(--su-color--green-muted);\n background-color: var(--su-color--green-muted);\n }\n\n &.execute {\n background-color: var(--su-color--blue-dark)\n }\n }\n\n .info {\n .title {\n small {\n background-color: #666;\n\n &.version-stamp {\n background-color: #005830;\n }\n }\n }\n\n a {\n color: #036;\n }\n }\n\n .model-hint {\n max-width: 100%;\n word-wrap: break-word;\n white-space: normal;\n top: 1.5em;\n }\n section.models .model-container {\n overflow-x: auto;\n }\n table {\n min-width: 500px;\n\n &.model tbody tr td:first-of-type {\n min-width: 174px;\n }\n }\n\n .table-container, .responses-inner {\n overflow: scroll;\n }\n}\n\n.swagger-ui h2, .swagger-ui h3, .swagger-ui h4 {\n font-weight: bold !important;\n}\n\n.swagger-ui div.wrapper {\n padding-left: 0;\n padding-right: 0;\n}\n\n// Fix issue on mobile with text on accordion looking weird.\n\n@media (width <= 544px) {\n .swagger-ui .opblock-tag-section .opblock-tag small {\n flex: initial;\n }\n}\n",".dc-c-search-list-item {\n list-style: none;\n li {\n list-style: none;\n\n a,\n button {\n text-decoration: underline !important;\n }\n a svg,\n span svg {\n fill: #{var(--link__color)};\n }\n }\n svg {\n margin-right: 8px;\n }\n span > span > button {\n font-weight: normal !important;\n padding: 0 !important;\n }\n a:visited svg {\n fill: #{var(--link__color--visited)};\n }\n}",".dkan-dataset-search {\n position: relative;\n input {\n min-width: 100%;\n @media only screen and (min-width: 544px) {\n padding-left: 32px;\n }\n }\n div.--alt-style input {\n @media only screen and (max-width: 544px) {\n --text-input__border-radius: 50px;\n --text-input__border-color: #c6b7b7;\n height: 61px;\n }\n }\n\n .ds-c-field__before {\n left: 16px;\n top: 12px;\n }\n .dc-c-search-button-mobile {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n position: absolute;\n right: 18px;\n top: 2px;\n z-index: 1000;\n height: 57px;\n }\n}\n\n.dkan-dataset-search--facet-container {\n ul {\n list-style: none;\n padding-left: 0px;\n }\n}\n\n.dkan-dataset-search--clear-all-filters {\n width: 100%;\n}\n\n.dc-c-search-list-item li a svg,\n.dc-c-search-list-item li span svg {\n fill: #{var(--link__color)};\n}\n\n.dc-c-search-list-item li a:visited svg {\n fill: #{var(--link__color--visited)};\n}\n",".dc-dataset-search-list {\n list-style: none;\n}\n\n.dc-search-header {\n display: relative;\n &::after {\n content: '';\n display: block;\n width: 48px;\n height: 4px;\n margin: 16px 0;\n background-color: #{var(--color-primary-light)};\n }\n}\n\n.dataset-results-count {\n font-weight: bold;\n}\n\n.dkan-dataset-search--facet-container .ds-c-accordion__content {\n max-height: 32rem;\n}\n\n.dc-dataset-search--clear-all-filters {\n width: 100%;\n}\n\n.dkan-dataset-search {\n position: relative;\n input {\n min-width: 100%;\n @media only screen and (min-width: 544px) {\n padding-left: 32px;\n }\n }\n .ds-c-field__before {\n left: 16px;\n top: 12px;\n }\n}",".dc-c-additional-info-table {\n table {\n width: 100%;\n }\n}\n\n.dc-c-additional-info-table a {\n word-break: break-all;\n}\n\n.ds-u-word-break-anywhere {\n word-break: break-word;\n overflow-wrap: anywhere;\n}\n","ul.dc-c-resource-full-width {\n width: 100%;\n}\n",".dc-c-datadictionary-table .dc-c-datatable th, .dc-c-datadictionary-table .dc-c-datatable td {\n border-left: 0;\n border-right: 0;\n}",".dc-c-tooltip-width-override .ds-c-tooltip {\n width: 500px;\n}",".dc-resource-header {\n &::before {\n content: '';\n display: block;\n width: 48px;\n height: 4px;\n margin: 8px 0;\n background-color: #{var(--color-primary-light)};\n }\n}\n\n.dc-truncate {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.dc-c-metadata-description {\n white-space: pre-line;\n}\n\n.dc-dataset .ds-c-tabs {\n .ds-c-tabs__item {\n text-decoration:none;\n svg {\n fill: #{var(--link__color)};\n }\n }\n svg {\n margin-right: 8px;\n }\n}\n\n#main-content {\n overflow: visible;\n}\n\n.dc-c-word-break--all {\n word-break: break-all;\n}",".dc-c-datatable {\n width: 100%;\n border-spacing: 0px;\n thead > .dc-c-sticky-header {\n position: sticky;\n top: 0;\n background-color: white;\n }\n th {\n position: relative;\n text-align: left;\n }\n thead th div {\n display: flex;\n align-items: center;\n cursor: pointer;\n }\n}\n\n.dc-c-datatable-wrapper {\n overflow: auto;\n}\n\n.dc-thead--fixed-size th {\n border-left: 2px solid var(--color-border);\n}\n\n.dc-thead--fixed-size th:first-child {\n border-left: none;\n}\n\n.dc-thead--resizeable {\n .dc-c-resize-handle {\n top: 0;\n bottom: 0;\n right: 0;\n position: absolute !important;\n background-color: #{var(--color-gray-light)};\n width: 10px;\n cursor: col-resize;\n min-width: 10px;\n display: block;\n margin-left: -10px;\n padding: 0;\n border: none;\n z-index: 1;\n &.isResizing,\n &:hover {\n background-color: #{var(--color-primary)};\n }\n }\n}\n\nthead.dc-thead--truncated {\n th > div {\n align-items: stretch; \n\n > div {\n overflow: hidden;\n flex: 1 1 auto;\n position: relative;\n \n > span {\n white-space: nowrap;\n text-overflow: ellipsis;\n display: inline-block;\n overflow: hidden;\n position: absolute;\n left: 0;\n width: 100%;\n \n .ds-c-tooltip__container {\n white-space: wrap;\n font-weight: normal;\n }\n }\n }\n }\n th p {\n white-space: normal;\n }\n\n}\n\n.dc-c-datatable--even-row td {\n background-color: #{var(--table__background-color--striped)};\n}\n\n.dc-c-datatable--highlight-row td {\n background-color: #{var(--color-info-lighter)}\n}\n\n.dc-c-sort--default,\n.dc-c-sort--asc,\n.dc-c-sort--desc {\n padding-left: 8px;\n padding-right: 16px;\n border: none;\n background: none;\n &::after {\n font-family: 'Font Awesome 6 Pro';\n display: inline;\n padding-left: 8px;\n line-height: 18px;\n height: 18px;\n width: 18px;\n }\n}\n\n.dc-c-sort--default::after {\n content: '\\f0dc';\n}\n.dc-c-sort--asc::after {\n content: '\\f0de';\n}\n.dc-c-sort--desc::after {\n content: '\\f0dd';\n}\n","dialog.dkan-manage-columns-dialog {\n height: 80vh;\n width: 100%;\n .ds-c-dialog__window {\n min-width: 768px; // TODO responsive\n padding: 0;\n .ds-c-dialog__header {\n padding: 24px;\n }\n }\n .dkan-manage-columns-list {\n list-style: none;\n gap: 0;\n max-height: 350px; // TODO responsive\n margin: 0;\n padding: 0;\n overflow-y: auto;\n\n li {\n cursor: pointer;\n }\n\n .ds-c-choice-wrapper {\n margin-top: 0;\n }\n\n .dkan-manage-columns-reorder-button {\n background: none;\n border: none;\n\n &.grabbed {\n background-color: var(--color-primary-lighter);\n }\n }\n }\n}\n\n@media screen and (max-width: 767px) {\n dialog.dkan-manage-columns-dialog {\n height: 100%;\n .ds-c-dialog__window {\n margin-top: 0;\n width: 100%;\n min-width: auto;\n height: 100%;\n }\n .ds-c-dialog__body > div:not(.ds-c-dialog__actions) {\n display: flex;\n flex-direction: column;\n }\n .dkan-manage-columns-list {\n max-height: calc(100vh - 435px); /* approx height of all other dialog elements */\n }\n\n .ds-c-dialog__actions {\n position:absolute;\n bottom: 0;\n background-color: white;\n padding-top: 16px;\n }\n }\n}","dialog.dkan-full-screen-dataset-dialog > .ds-c-dialog__window {\n width: 100%;\n max-width: 100%;\n margin: 0;\n\n form {\n max-width: 1024px;\n }\n\n .dkan-datatable-fullscreen-mode {\n max-height: calc(100vh - 415px);\n min-height: calc(100vh - 415px);\n overflow: hidden;\n\n .dc-c-datatable-wrapper {\n max-height: calc(100vh - 473px);\n }\n }\n}",".dc-c-mobile-header--menu {\n :focus {\n box-shadow: 0 0 0 3px transparent,0 0 4px 6px transparent;\n }\n :focus-visible {\n // Copy styling from DS items with focus\n background-color: #0000;\n border-radius: var(--button__border-radius);\n box-shadow: 0 0 0 3px var(--color-focus-light),0 0 4px 6px var(--color-focus-dark);\n outline: 3px solid #0000;\n outline-offset: 3px;\n }\n}\n",".ds-c-usa-banner__button-text {\n &::after {\n width: 0 !important;\n height: 0 !important;\n margin: 0 !important;\n padding: 0 !important;\n }\n}\n\n.dc-c-mobile-menu--open {\n color: #{var(--color-white)};\n text-decoration: none;\n &::before {\n font-family: 'Font Awesome 6 Pro';\n content: '\\f0c9';\n color: #{var(--color-white)};\n font-size: 18px;\n padding-right: 10px;\n display: inline-block;\n line-height: 18px;\n height: 18px;\n width: 18px;\n margin-left: 10px;\n text-align: center;\n vertical-align: middle;\n font-weight: lighter;\n }\n}\n\n.dc-c-mobile-menu--close {\n color: #{var(--color-white)};\n text-decoration: none;\n padding-left: 0;\n padding-bottom: 16px;\n &::before {\n font-family: 'Font Awesome 6 Pro';\n content: '\\f00d';\n color: #{var(--color-white)};\n font-size: 18px;\n padding-right: 10px;\n display: inline-block;\n line-height: 18px;\n height: 18px;\n width: 18px;\n text-align: center;\n vertical-align: middle;\n font-weight: lighter;\n }\n}\n\n.dc-c-mobile-header--menu {\n position: fixed;\n background-color: #{var(--color-gray-dark)};\n top: 0;\n bottom: 0;\n left: -100%;\n z-index: 500;\n height: 100%;\n width: 100%;\n transition: left 0.7s;\n padding: 50px 0;\n visibility: hidden;\n}\n\n.dc-c-mobile-header .dc-c-site-menu--sub-menu {\n position: relative;\n background: transparent;\n top: -24px;\n width: auto;\n left: auto;\n a {\n padding: 8px;\n }\n}\n\n.dc-c-cmsheader {\n position: relative;\n background: #{var(--color-white)};\n}\n\n.dc-c-cms-mobile-header-menu {\n &::before {\n display: block;\n margin-left: 8px;\n margin-bottom: 16px;\n width: 48px;\n height: 2px;\n background: #{var(--color-primary-light)};\n content: '';\n }\n ul {\n list-style: none;\n margin: 0;\n padding: 0;\n }\n a,\n a:hover,\n a:focus,\n a:visited {\n background-color: transparent;\n display: inline-block;\n color: #{var(--color-white)};\n text-decoration: none;\n border-bottom: 2px solid transparent;\n }\n a:hover,\n a:active {\n border-bottom: 2px solid #{var(--color-primary-light)};\n }\n}\n.has-submenu > button::after {\n font-family: 'Font Awesome 6 Pro';\n content: '\\f105';\n color: #{var(--color-white)};\n font-size: 18px;\n padding-right: 10px;\n display: inline-block;\n line-height: 18px;\n height: 18px;\n width: 18px;\n margin-left: 10px;\n text-align: center;\n vertical-align: middle;\n font-weight: lighter;\n}\n.has-submenu.open > button::after {\n content: '\\f107';\n}\n.dc-c-header--mobile-links {\n button {\n padding: 0;\n font-weight: 700;\n }\n a {\n display: block;\n }\n}\n\n.dc-c-mobile-header.menu-open {\n .dc-c-cmsheader {\n z-index: 501;\n background-color: transparent;\n }\n .dc-c-cmsheader-menu a,\n button {\n color: #{var(--color-white)};\n }\n .cms-link-container a::before {\n color: #{var(--color-white)};\n }\n .dc-c-mobile-header--menu {\n left: 0;\n visibility: visible;\n }\n}\n\n.cms-link-container {\n display: block;\n margin-right: 20px;\n // margin-top: -5px;\n border-right: none;\n a {\n text-decoration: none;\n border-bottom: none;\n\n margin-right: 20px;\n display: inline-block;\n }\n a::before {\n font-family: 'Font Awesome 6 Pro';\n content: '\\f33e';\n color: #323a45;\n font-size: 18px;\n padding-right: 10px;\n display: inline-block;\n line-height: 18px;\n height: 18px;\n width: 18px;\n margin-left: 10px;\n text-align: center;\n vertical-align: middle;\n font-weight: lighter;\n }\n img {\n height: auto;\n width: 90px;\n display: inline-block;\n vertical-align: middle;\n }\n}\n\n.cms-text-container {\n display: block;\n padding-top: 28px;\n color: #6f757c;\n}\n\n.dc-c-cmsheader-menu {\n padding: 0;\n margin: 0;\n li {\n list-style: none;\n }\n a {\n margin: 3px 7px;\n padding: 0;\n color: #323a45;\n text-decoration: none;\n border-bottom: 1px solid;\n border-bottom-color: #eee;\n border-bottom-color: rgba(255, 255, 255, 0.2);\n }\n a:hover,\n a:active {\n border-bottom: 2px solid #323a45;\n }\n}\n\n@media (min-width: 544px) {\n .dc-c-main-navigation--search,\n .dc-c-mobile-menu--search {\n border-left: 1px solid #{var(--color-white)};\n }\n}\n\n@media (min-width: 1024px) {\n .cms-link-container {\n height: 85px;\n width: 240px;\n float: left;\n border-right: 1px solid #d6d7d9;\n a {\n margin-top: 28px;\n margin-bottom: 20px;\n }\n img {\n height: auto;\n width: auto;\n display: inline-block;\n vertical-align: middle;\n max-width: 80%;\n }\n a::before {\n font-size: 28px;\n line-height: 28px;\n width: 28px;\n height: 28px;\n margin-left: 0;\n }\n }\n}\n\n\nnav.dc-c-site-menu {\n .dc-c-header--links {\n padding: 0;\n margin: 0;\n li {\n list-style: none;\n height: 100%;\n }\n button {\n // color: #{var(--color-white)};\n text-decoration: none;\n font-size: 16px;\n border: none;\n span {\n border-bottom: 2px solid transparent;\n }\n }\n a {\n text-decoration: none;\n padding: #{var(--space, 8px 24px)};\n span {\n border-bottom: 2px solid transparent;\n }\n }\n > li:hover > button span,\n > li button:focus span,\n > li button:hover span,\n > li:hover > a span,\n > li:focus > a span,\n > li a:hover span,\n > li a:focus span {\n border-bottom: 2px solid #{var(--color-primary-light)};\n }\n }\n}\n\nnav.dc-c-site-menu .dc-c-header--links a:focus,\n.dc-c-site-title a:focus {\n background-color: transparent;\n outline: 3px solid transparent;\n box-shadow: 0 0 0 3px #{var(--color-focus-light)}, 0 0 4px 6px #{var(--color-focus-dark)};\n outline-offset: 3px;\n border-radius: #{var(--button__border-radius)};\n text-decoration: none;\n}\n\nnav > ul li ul {\n display: none;\n}\n\nnav > ul li.open ul {\n display: block;\n}\nli.has-submenu {\n position: relative;\n}\n\n.dc-c-site-menu--sub-menu {\n background: #{var(--color-primary)};\n position: absolute;\n left: 0;\n top: 48px;\n margin: 0;\n padding: 0;\n width: 300px;\n a {\n display: block;\n padding: 16px;\n span {\n border-bottom: 2px solid transparent;\n }\n }\n a:hover span,\n a:focus span {\n border-bottom: 2px solid #{var(--color-primary-light)};\n }\n}\n\n.dc-c-site-title a {\n text-decoration: none;\n}\n\n.dc-c-mobile-menu--search {\n display: inherit;\n}\n\n.dc-c-search-modal--button {\n &::before {\n font-family: 'Font Awesome 6 Pro';\n content: '\\f002';\n color: #{var(--color-white)};\n font-size: 18px;\n padding-right: 10px;\n display: inline-block;\n line-height: 18px;\n height: 18px;\n width: 18px;\n margin-left: 10px;\n text-align: center;\n vertical-align: middle;\n font-weight: lighter;\n box-sizing: content-box\n }\n}\n",".ds-c-button.display-settings-font {\n font: inherit;\n}",".dc-c-breadcrumb__list {\n margin-top: 0;\n margin-bottom: 0;\n list-style-type: none;\n padding-left: 0;\n > li {\n margin-bottom: 0;\n max-width: unset;\n &::after {\n font-family: 'Font Awesome 6 Pro';\n content: '\\f054';\n margin: 0 10px;\n font-size: 10px;\n font-weight: 600;\n }\n &:last-child {\n &::after {\n content: '';\n margin: 0;\n }\n }\n }\n display: block;\n}\n\n.dc-c-breadcrumb__list-item {\n display: inline-block;\n}\n\n.dc-c-breadcrumb__link {\n display: inline;\n}\n",".dc-query-builder > .ds-c-accordion > .ds-c-accordion__content {\n overflow: visible;\n}\n.dc-query-builder .react-datepicker select {\n background-image: none;\n}",".dc-c-resource-action {\n min-height: 100%;\n}\n\n.dc-filtered-resource-toggle {\n align-self: center;\n}\n\n.dc-c-filterd-resouce-drawer {\n .ds-c-help-drawer__footer {\n h4 {\n display: none;\n }\n }\n}\n\n.dc-c-resource-header--buttons {\n display: flex;\n}\n"],"names":[],"version":3,"file":"main.css.map"}
|
package/dist/main.js
CHANGED
|
@@ -2,7 +2,6 @@ import "./main.css";
|
|
|
2
2
|
import {jsxs as $hgUW1$jsxs, jsx as $hgUW1$jsx, Fragment as $hgUW1$Fragment} from "react/jsx-runtime";
|
|
3
3
|
import $hgUW1$react, {useState as $hgUW1$useState, useRef as $hgUW1$useRef, useEffect as $hgUW1$useEffect, createContext as $hgUW1$createContext, useMemo as $hgUW1$useMemo, useContext as $hgUW1$useContext, useCallback as $hgUW1$useCallback} from "react";
|
|
4
4
|
import {Button as $hgUW1$Button, Accordion as $hgUW1$Accordion, AccordionItem as $hgUW1$AccordionItem, TextField as $hgUW1$TextField, Spinner as $hgUW1$Spinner, Dropdown as $hgUW1$Dropdown, Alert as $hgUW1$Alert, Pagination as $hgUW1$Pagination, Dialog as $hgUW1$Dialog, Choice as $hgUW1$Choice, Tabs as $hgUW1$Tabs, TabPanel as $hgUW1$TabPanel, Table as $hgUW1$Table, TableBody as $hgUW1$TableBody, TableRow as $hgUW1$TableRow, TableCell as $hgUW1$TableCell, TableHead as $hgUW1$TableHead, Tooltip as $hgUW1$Tooltip, TooltipIcon as $hgUW1$TooltipIcon, Badge as $hgUW1$Badge} from "@cmsgov/design-system";
|
|
5
|
-
import $hgUW1$proptypes from "prop-types";
|
|
6
5
|
import {NavLink as $hgUW1$NavLink, useLocation as $hgUW1$useLocation, useSearchParams as $hgUW1$useSearchParams, Link as $hgUW1$Link, useNavigate as $hgUW1$useNavigate} from "react-router-dom";
|
|
7
6
|
import $hgUW1$qs from "qs";
|
|
8
7
|
import $hgUW1$swaggeruireact from "swagger-ui-react";
|
|
@@ -12,6 +11,7 @@ import {useQuery as $hgUW1$useQuery, QueryClient as $hgUW1$QueryClient, QueryCli
|
|
|
12
11
|
import {useMediaQuery as $hgUW1$useMediaQuery} from "react-responsive";
|
|
13
12
|
import $hgUW1$dompurify from "dompurify";
|
|
14
13
|
import $hgUW1$lodashtruncate from "lodash.truncate";
|
|
14
|
+
import $hgUW1$proptypes from "prop-types";
|
|
15
15
|
import {createColumnHelper as $hgUW1$createColumnHelper, useReactTable as $hgUW1$useReactTable, getCoreRowModel as $hgUW1$getCoreRowModel, getFilteredRowModel as $hgUW1$getFilteredRowModel, getPaginationRowModel as $hgUW1$getPaginationRowModel, getSortedRowModel as $hgUW1$getSortedRowModel, flexRender as $hgUW1$flexRender} from "@tanstack/react-table";
|
|
16
16
|
import {KeyboardSensor as $hgUW1$KeyboardSensor, PointerSensor as $hgUW1$PointerSensor, useSensors as $hgUW1$useSensors, useSensor as $hgUW1$useSensor, DndContext as $hgUW1$DndContext, closestCenter as $hgUW1$closestCenter} from "@dnd-kit/core";
|
|
17
17
|
import {sortableKeyboardCoordinates as $hgUW1$sortableKeyboardCoordinates, arrayMove as $hgUW1$arrayMove, SortableContext as $hgUW1$SortableContext, verticalListSortingStrategy as $hgUW1$verticalListSortingStrategy, useSortable as $hgUW1$useSortable} from "@dnd-kit/sortable";
|
|
@@ -35,8 +35,7 @@ function $parcel$interopDefault(a) {
|
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
|
|
39
|
-
const $24918217e48ac525$var$NavLink = ({ link: link, className: className, wrapLabel: wrapLabel, clickHandler: clickHandler })=>{
|
|
38
|
+
const $24918217e48ac525$var$NavLink = ({ link: link, className: className = null, wrapLabel: wrapLabel = false, clickHandler: clickHandler })=>{
|
|
40
39
|
const innerHtml = wrapLabel ? /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
|
|
41
40
|
children: link.label
|
|
42
41
|
}) : link.label;
|
|
@@ -48,21 +47,6 @@ const $24918217e48ac525$var$NavLink = ({ link: link, className: className, wrapL
|
|
|
48
47
|
});
|
|
49
48
|
// }
|
|
50
49
|
};
|
|
51
|
-
$24918217e48ac525$var$NavLink.defaultProps = {
|
|
52
|
-
wrapLabel: false,
|
|
53
|
-
className: null
|
|
54
|
-
};
|
|
55
|
-
$24918217e48ac525$var$NavLink.propTypes = {
|
|
56
|
-
link: (0, $hgUW1$proptypes).shape({
|
|
57
|
-
url: (0, $hgUW1$proptypes).string,
|
|
58
|
-
label: (0, $hgUW1$proptypes).string,
|
|
59
|
-
nonReactLink: (0, $hgUW1$proptypes).bool
|
|
60
|
-
}).isRequired,
|
|
61
|
-
className: (0, $hgUW1$proptypes).string,
|
|
62
|
-
/**
|
|
63
|
-
* Will wrap the link label in a span for help with styling.
|
|
64
|
-
*/ wrapLabel: (0, $hgUW1$proptypes).bool
|
|
65
|
-
};
|
|
66
50
|
var $24918217e48ac525$export$2e2bcd8739ae039 = $24918217e48ac525$var$NavLink;
|
|
67
51
|
|
|
68
52
|
|
|
@@ -122,7 +106,7 @@ var $4f153ca537d853e5$export$2e2bcd8739ae039 = $4f153ca537d853e5$var$SubMenu;
|
|
|
122
106
|
|
|
123
107
|
|
|
124
108
|
|
|
125
|
-
const $f57121650539d8c5$var$NavBar = ({ links: links, menuName: menuName, menuId: menuId, menuClasses: menuClasses, linkClasses: linkClasses, wrapLabel: wrapLabel, clickHandler: clickHandler })=>{
|
|
109
|
+
const $f57121650539d8c5$var$NavBar = ({ links: links, menuName: menuName, menuId: menuId, menuClasses: menuClasses, linkClasses: linkClasses, wrapLabel: wrapLabel = false, clickHandler: clickHandler })=>{
|
|
126
110
|
return /*#__PURE__*/ (0, $hgUW1$jsxs)("nav", {
|
|
127
111
|
className: `dc-c-${menuId}-menu`,
|
|
128
112
|
"aria-labelledby": `dc-c-${menuId}-menu--heading`,
|
|
@@ -153,9 +137,6 @@ const $f57121650539d8c5$var$NavBar = ({ links: links, menuName: menuName, menuId
|
|
|
153
137
|
]
|
|
154
138
|
});
|
|
155
139
|
};
|
|
156
|
-
$f57121650539d8c5$var$NavBar.defaultProps = {
|
|
157
|
-
wrapLabel: false
|
|
158
|
-
};
|
|
159
140
|
var $f57121650539d8c5$export$2e2bcd8739ae039 = $f57121650539d8c5$var$NavBar;
|
|
160
141
|
|
|
161
142
|
|
|
@@ -219,7 +200,7 @@ var $c49454ea7d1c4579$export$2e2bcd8739ae039 = $c49454ea7d1c4579$var$ErrorBounda
|
|
|
219
200
|
|
|
220
201
|
|
|
221
202
|
|
|
222
|
-
const $c96c4b9ef7203c1f$var$APIPage = ({ hideAuth: hideAuth, additionalParams: additionalParams, rootUrl: rootUrl })=>{
|
|
203
|
+
const $c96c4b9ef7203c1f$var$APIPage = ({ hideAuth: hideAuth = true, additionalParams: additionalParams, rootUrl: rootUrl })=>{
|
|
223
204
|
const hasACA = additionalParams && additionalParams.ACA ? true : false;
|
|
224
205
|
let params = {
|
|
225
206
|
authentication: hideAuth ? false : undefined,
|
|
@@ -237,9 +218,6 @@ const $c96c4b9ef7203c1f$var$APIPage = ({ hideAuth: hideAuth, additionalParams: a
|
|
|
237
218
|
})
|
|
238
219
|
});
|
|
239
220
|
};
|
|
240
|
-
$c96c4b9ef7203c1f$var$APIPage.defaultProps = {
|
|
241
|
-
hideAuth: true
|
|
242
|
-
};
|
|
243
221
|
var $c96c4b9ef7203c1f$export$2e2bcd8739ae039 = $c96c4b9ef7203c1f$var$APIPage;
|
|
244
222
|
|
|
245
223
|
|
|
@@ -558,7 +536,12 @@ var $b38839fd67928f42$export$2e2bcd8739ae039 = $b38839fd67928f42$var$SearchItemI
|
|
|
558
536
|
|
|
559
537
|
|
|
560
538
|
|
|
561
|
-
const $bd76a91923d7e8a7$var$TransformedDate = ({ date: date, options: options
|
|
539
|
+
const $bd76a91923d7e8a7$var$TransformedDate = ({ date: date, options: options = {
|
|
540
|
+
year: "numeric",
|
|
541
|
+
month: "long",
|
|
542
|
+
day: "numeric",
|
|
543
|
+
timeZone: "UTC"
|
|
544
|
+
} })=>{
|
|
562
545
|
const rawDate = new Date(date);
|
|
563
546
|
let modifiedDate = "";
|
|
564
547
|
if (rawDate) modifiedDate = rawDate.toLocaleDateString("en-US", options);
|
|
@@ -566,14 +549,6 @@ const $bd76a91923d7e8a7$var$TransformedDate = ({ date: date, options: options })
|
|
|
566
549
|
children: modifiedDate
|
|
567
550
|
});
|
|
568
551
|
};
|
|
569
|
-
$bd76a91923d7e8a7$var$TransformedDate.defaultProps = {
|
|
570
|
-
options: {
|
|
571
|
-
year: "numeric",
|
|
572
|
-
month: "long",
|
|
573
|
-
day: "numeric",
|
|
574
|
-
timeZone: "UTC"
|
|
575
|
-
}
|
|
576
|
-
};
|
|
577
552
|
var $bd76a91923d7e8a7$export$2e2bcd8739ae039 = $bd76a91923d7e8a7$var$TransformedDate;
|
|
578
553
|
|
|
579
554
|
|
|
@@ -912,7 +887,10 @@ async function $eff7d34c30f5a0fc$export$2d2256cb46e92ff7(rootUrl, options, addit
|
|
|
912
887
|
|
|
913
888
|
|
|
914
889
|
const $e873081a6e8f024e$var$DatasetSearch = (props)=>{
|
|
915
|
-
const { rootUrl: rootUrl, surveyLink: surveyLink, additionalParams: additionalParams, enableSort: enableSort, enablePagination: enablePagination = true, defaultPageSize: defaultPageSize = 10, defaultSort: defaultSort
|
|
890
|
+
const { rootUrl: rootUrl, surveyLink: surveyLink, additionalParams: additionalParams, enableSort: enableSort = true, enablePagination: enablePagination = true, defaultPageSize: defaultPageSize = 10, defaultSort: defaultSort = {
|
|
891
|
+
defaultSort: "modified",
|
|
892
|
+
defaultOrder: "desc"
|
|
893
|
+
}, pageTitle: pageTitle = "Dataset Explorer", filterTitle: filterTitle = "Tags", showLargeFileWarning: showLargeFileWarning = false, largeFileThemes: largeFileThemes, introText: introText = "", showDownloadIcon: showDownloadIcon = false, altMobileSearchButton: altMobileSearchButton } = props;
|
|
916
894
|
const sortOptions = [
|
|
917
895
|
{
|
|
918
896
|
label: "Newest",
|
|
@@ -1258,40 +1236,6 @@ const $e873081a6e8f024e$var$DatasetSearch = (props)=>{
|
|
|
1258
1236
|
]
|
|
1259
1237
|
});
|
|
1260
1238
|
};
|
|
1261
|
-
$e873081a6e8f024e$var$DatasetSearch.defaultProps = {
|
|
1262
|
-
pageTitle: "Dataset Explorer",
|
|
1263
|
-
introText: "",
|
|
1264
|
-
fulltextLabel: "Search term",
|
|
1265
|
-
fulltextLabelClassName: "ds-u-visibility--screen-reader",
|
|
1266
|
-
fulltextPlaceholder: "Search datasets",
|
|
1267
|
-
filterTitle: "Tags",
|
|
1268
|
-
formClassName: "ds-u-display--flex ds-u-justify-content--between ds-u-margin-bottom--2",
|
|
1269
|
-
enableSort: true,
|
|
1270
|
-
sortOptions: [
|
|
1271
|
-
{
|
|
1272
|
-
label: "Newest",
|
|
1273
|
-
value: "newest"
|
|
1274
|
-
},
|
|
1275
|
-
{
|
|
1276
|
-
label: "Oldest",
|
|
1277
|
-
value: "oldest"
|
|
1278
|
-
},
|
|
1279
|
-
{
|
|
1280
|
-
label: "Title A-Z",
|
|
1281
|
-
value: "titleAZ"
|
|
1282
|
-
},
|
|
1283
|
-
{
|
|
1284
|
-
label: "Title Z-A",
|
|
1285
|
-
value: "titleZA"
|
|
1286
|
-
}
|
|
1287
|
-
],
|
|
1288
|
-
defaultSort: {
|
|
1289
|
-
defaultSort: "modified",
|
|
1290
|
-
defaultOrder: "desc"
|
|
1291
|
-
},
|
|
1292
|
-
showLargeFileWarning: false,
|
|
1293
|
-
showDownloadIcon: false
|
|
1294
|
-
};
|
|
1295
1239
|
var $e873081a6e8f024e$export$2e2bcd8739ae039 = (0, $61ff88fb3f6ee2c8$export$2e2bcd8739ae039)($e873081a6e8f024e$var$DatasetSearch);
|
|
1296
1240
|
|
|
1297
1241
|
|
|
@@ -3021,7 +2965,7 @@ const $d98f94c79ddf4e0e$var$DataTable = ({ columns: columns, sortTransform: sort
|
|
|
3021
2965
|
const { id: id, resource: resource, datasetTableControls: datasetTableControls } = (0, $hgUW1$useContext)((0, $a0f13962e513caa1$export$a7997ae78b143b));
|
|
3022
2966
|
const { columnOrder: columnOrder, setColumnOrder: setColumnOrder, columnVisibility: columnVisibility, setColumnVisibility: setColumnVisibility } = (0, $hgUW1$useContext)((0, $39bc4d98030a5599$export$a5806b00c0db0089));
|
|
3023
2967
|
const data = resource.values;
|
|
3024
|
-
const [sorting, setSorting] = (0, $hgUW1$
|
|
2968
|
+
const [sorting, setSorting] = (0, $hgUW1$useState)([]);
|
|
3025
2969
|
const [ariaLiveFeedback, setAriaLiveFeedback] = (0, $hgUW1$useState)("");
|
|
3026
2970
|
const dataTableWrapperElement = (0, $hgUW1$useRef)(null);
|
|
3027
2971
|
const columnHelper = (0, $hgUW1$createColumnHelper)();
|
|
@@ -3034,6 +2978,7 @@ const $d98f94c79ddf4e0e$var$DataTable = ({ columns: columns, sortTransform: sort
|
|
|
3034
2978
|
header: col.header
|
|
3035
2979
|
});
|
|
3036
2980
|
});
|
|
2981
|
+
const [highlightRow, setHighlightRow] = (0, $hgUW1$useState)(null);
|
|
3037
2982
|
(0, $hgUW1$useEffect)(()=>{
|
|
3038
2983
|
if (!columnOrder.length) setColumnOrder(table_columns.map((c)=>c.accessorKey));
|
|
3039
2984
|
}, [
|
|
@@ -3073,6 +3018,11 @@ const $d98f94c79ddf4e0e$var$DataTable = ({ columns: columns, sortTransform: sort
|
|
|
3073
3018
|
if (dataTableWrapperElement.current) return dataTableWrapperElement.current.offsetWidth;
|
|
3074
3019
|
return "auto";
|
|
3075
3020
|
};
|
|
3021
|
+
(0, $hgUW1$useEffect)(()=>{
|
|
3022
|
+
setHighlightRow(null);
|
|
3023
|
+
}, [
|
|
3024
|
+
data
|
|
3025
|
+
]);
|
|
3076
3026
|
return /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Fragment), {
|
|
3077
3027
|
children: [
|
|
3078
3028
|
datasetTableControls && /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
|
|
@@ -3107,8 +3057,10 @@ const $d98f94c79ddf4e0e$var$DataTable = ({ columns: columns, sortTransform: sort
|
|
|
3107
3057
|
loading ? /*#__PURE__*/ (0, $hgUW1$jsx)("tbody", {}) : /*#__PURE__*/ (0, $hgUW1$jsx)("tbody", {
|
|
3108
3058
|
children: table.getRowModel().rows.map((row, index)=>{
|
|
3109
3059
|
const even = (index + 1) % 2 === 0;
|
|
3060
|
+
const highlight = highlightRow === row.id;
|
|
3110
3061
|
return /*#__PURE__*/ (0, $hgUW1$jsx)("tr", {
|
|
3111
|
-
className: `${
|
|
3062
|
+
className: `${highlight ? "dc-c-datatable--highlight-row" : even && "dc-c-datatable--even-row"}`,
|
|
3063
|
+
onClick: ()=>setHighlightRow(row.id),
|
|
3112
3064
|
children: row.getVisibleCells().map((cell)=>{
|
|
3113
3065
|
let classList = "dc-truncate ds-u-padding-x--1";
|
|
3114
3066
|
return /*#__PURE__*/ (0, $hgUW1$jsx)("td", {
|
|
@@ -3301,7 +3253,7 @@ function $7264a673914aa746$export$2b9377795161999(type) {
|
|
|
3301
3253
|
|
|
3302
3254
|
|
|
3303
3255
|
|
|
3304
|
-
const $2ed0091f7e32d1e6$var$DataTablePageResults = ({ totalRows: totalRows, limit: limit, offset: offset, className: className })=>{
|
|
3256
|
+
const $2ed0091f7e32d1e6$var$DataTablePageResults = ({ totalRows: totalRows, limit: limit, offset: offset, className: className = "data-table-results" })=>{
|
|
3305
3257
|
const numTotalRows = totalRows;
|
|
3306
3258
|
if (numTotalRows === 0) return /*#__PURE__*/ (0, $hgUW1$jsx)("p", {
|
|
3307
3259
|
className: className,
|
|
@@ -3335,9 +3287,6 @@ const $2ed0091f7e32d1e6$var$DataTablePageResults = ({ totalRows: totalRows, limi
|
|
|
3335
3287
|
]
|
|
3336
3288
|
});
|
|
3337
3289
|
};
|
|
3338
|
-
$2ed0091f7e32d1e6$var$DataTablePageResults.defaultProps = {
|
|
3339
|
-
className: "data-table-results"
|
|
3340
|
-
};
|
|
3341
3290
|
$2ed0091f7e32d1e6$var$DataTablePageResults.propTypes = {
|
|
3342
3291
|
className: (0, $hgUW1$proptypes).string,
|
|
3343
3292
|
totalRows: (0, $hgUW1$proptypes).number.isRequired,
|
|
@@ -3709,7 +3658,7 @@ function $ee4ad47aa483e5b5$var$updateQueryForDatastore(condition) {
|
|
|
3709
3658
|
if (Array.isArray(cond.value)) cond.value = cond.value.map((v)=>v.trim().replace(/(^\%+|\%+$)/gm, ""));
|
|
3710
3659
|
return cond;
|
|
3711
3660
|
}
|
|
3712
|
-
const $ee4ad47aa483e5b5$var$QueryBuilder = ({ resource: resource, id: id, includeSearchParams: includeSearchParams, customColumns: customColumns, isModal: isModal = false })=>{
|
|
3661
|
+
const $ee4ad47aa483e5b5$var$QueryBuilder = ({ resource: resource, id: id, includeSearchParams: includeSearchParams = false, customColumns: customColumns, isModal: isModal = false })=>{
|
|
3713
3662
|
const { conditions: conditions, schema: schema, setConditions: setConditions } = resource;
|
|
3714
3663
|
const fields = Object.keys(schema[id].fields);
|
|
3715
3664
|
const [queryConditions, setQueryConditions] = (0, $hgUW1$useState)([]);
|
|
@@ -3870,9 +3819,6 @@ const $ee4ad47aa483e5b5$var$QueryBuilder = ({ resource: resource, id: id, includ
|
|
|
3870
3819
|
})
|
|
3871
3820
|
});
|
|
3872
3821
|
};
|
|
3873
|
-
$ee4ad47aa483e5b5$var$QueryBuilder.defaultProps = {
|
|
3874
|
-
includeSearchParams: true
|
|
3875
|
-
};
|
|
3876
3822
|
var $ee4ad47aa483e5b5$export$2e2bcd8739ae039 = $ee4ad47aa483e5b5$var$QueryBuilder;
|
|
3877
3823
|
|
|
3878
3824
|
|
|
@@ -4259,7 +4205,7 @@ var $a0f13962e513caa1$export$2e2bcd8739ae039 = (0, $61ff88fb3f6ee2c8$export$2e2b
|
|
|
4259
4205
|
|
|
4260
4206
|
|
|
4261
4207
|
|
|
4262
|
-
const $e5bfafc6d4e6f207$var$SearchModal = ({
|
|
4208
|
+
const $e5bfafc6d4e6f207$var$SearchModal = ({ headingText: headingText = "Dataset Search", buttonSize: buttonSize = null, inversedSearchButton: inversedSearchButton = true })=>{
|
|
4263
4209
|
const navigate = (0, $hgUW1$useNavigate)();
|
|
4264
4210
|
const [modalSearchTerm, setModalSearchTerm] = (0, $hgUW1$useState)("");
|
|
4265
4211
|
const [modalSearch, setModalSearch] = (0, $hgUW1$useState)(false);
|
|
@@ -4332,13 +4278,6 @@ const $e5bfafc6d4e6f207$var$SearchModal = ({ searchFunc: searchFunc, appNodeId:
|
|
|
4332
4278
|
]
|
|
4333
4279
|
});
|
|
4334
4280
|
};
|
|
4335
|
-
$e5bfafc6d4e6f207$var$SearchModal.defaultProps = {
|
|
4336
|
-
appNodeId: "App",
|
|
4337
|
-
buttonSize: null,
|
|
4338
|
-
inversedModalButton: true,
|
|
4339
|
-
inversedSearchButton: true,
|
|
4340
|
-
headingText: "Dataset Search"
|
|
4341
|
-
};
|
|
4342
4281
|
var $e5bfafc6d4e6f207$export$2e2bcd8739ae039 = $e5bfafc6d4e6f207$var$SearchModal;
|
|
4343
4282
|
|
|
4344
4283
|
|
|
@@ -4346,7 +4285,13 @@ var $52466563e0d69ea8$exports = {};
|
|
|
4346
4285
|
$52466563e0d69ea8$exports = new URL("CMSGovLogo-O.90ce815c.png", import.meta.url).toString();
|
|
4347
4286
|
|
|
4348
4287
|
|
|
4349
|
-
const $2db98b8f69058a30$var$DesktopHeader = ({ siteName: siteName, headerClasses: headerClasses, linkClasses: linkClasses, links: links, org: org
|
|
4288
|
+
const $2db98b8f69058a30$var$DesktopHeader = ({ siteName: siteName, headerClasses: headerClasses, linkClasses: linkClasses = "ds-u-xl-margin-right--4 ds-u-margin-right--3 ds-u-padding-y--3", links: links, org: org = {
|
|
4289
|
+
tagline: "The Centers for Medicare & Medicaid Services",
|
|
4290
|
+
url: "https://cms.gov",
|
|
4291
|
+
urlTitle: "CMS.gov Centers for Medicare & Medicaid Services",
|
|
4292
|
+
logo: (0, (/*@__PURE__*/$parcel$interopDefault($52466563e0d69ea8$exports))),
|
|
4293
|
+
logoAltText: "CMS.gov Centers for Medicare & Medicaid Services"
|
|
4294
|
+
}, searchModalText: searchModalText, customSearch: customSearch = false, includeTopNav: includeTopNav = true, inversedModalButton: inversedModalButton, inversedSearchButton: inversedSearchButton })=>{
|
|
4350
4295
|
const { url: url, tagline: tagline, logo: logo, urlTitle: urlTitle, logoAltText: logoAltText } = org;
|
|
4351
4296
|
const headerClassString = headerClasses ?? "dc-c-header ds-base";
|
|
4352
4297
|
return /*#__PURE__*/ (0, $hgUW1$jsxs)("header", {
|
|
@@ -4430,19 +4375,6 @@ const $2db98b8f69058a30$var$DesktopHeader = ({ siteName: siteName, headerClasses
|
|
|
4430
4375
|
]
|
|
4431
4376
|
});
|
|
4432
4377
|
};
|
|
4433
|
-
$2db98b8f69058a30$var$DesktopHeader.defaultProps = {
|
|
4434
|
-
org: {
|
|
4435
|
-
tagline: "The Centers for Medicare & Medicaid Services",
|
|
4436
|
-
url: "https://cms.gov",
|
|
4437
|
-
urlTitle: "CMS.gov Centers for Medicare & Medicaid Services",
|
|
4438
|
-
logo: (0, (/*@__PURE__*/$parcel$interopDefault($52466563e0d69ea8$exports))),
|
|
4439
|
-
logoAltText: "CMS.gov Centers for Medicare & Medicaid Services"
|
|
4440
|
-
},
|
|
4441
|
-
includeTopNav: true,
|
|
4442
|
-
customSearch: false,
|
|
4443
|
-
linkClasses: "ds-u-xl-margin-right--4 ds-u-margin-right--3 ds-u-padding-y--3",
|
|
4444
|
-
includeSearch: true
|
|
4445
|
-
};
|
|
4446
4378
|
$2db98b8f69058a30$var$DesktopHeader.propTypes = {
|
|
4447
4379
|
siteName: (0, $hgUW1$proptypes).node.isRequired,
|
|
4448
4380
|
includeTopNav: (0, $hgUW1$proptypes).bool,
|
|
@@ -4468,7 +4400,14 @@ $972485213997ff8b$exports = new URL("CMSgov@2x-white-O.78cd05d3.png", import.met
|
|
|
4468
4400
|
|
|
4469
4401
|
|
|
4470
4402
|
let $caaccb8ea608e518$var$mobileHeaderMenuClassName = "dc-c-mobile-header--menu";
|
|
4471
|
-
const $caaccb8ea608e518$var$MobileHeader = ({ siteName: siteName, links: links, org: org
|
|
4403
|
+
const $caaccb8ea608e518$var$MobileHeader = ({ siteName: siteName, links: links, org: org = {
|
|
4404
|
+
tagline: "The Centers for Medicare and Medicaid Services",
|
|
4405
|
+
url: "https://cms.gov",
|
|
4406
|
+
urlTitle: "CMS.gov Centers for Medicare & Medicaid Services",
|
|
4407
|
+
logo: (0, (/*@__PURE__*/$parcel$interopDefault($52466563e0d69ea8$exports))),
|
|
4408
|
+
logoAltText: "CMS.gov Centers for Medicare & Medicaid Services",
|
|
4409
|
+
inverseLogo: (0, (/*@__PURE__*/$parcel$interopDefault($972485213997ff8b$exports)))
|
|
4410
|
+
}, searchModalText: searchModalText, customSearch: customSearch = false, includeTopNav: includeTopNav = true, inversedModalButton: inversedModalButton, inversedSearchButton: inversedSearchButton, includeSearch: includeSearch = true })=>{
|
|
4472
4411
|
const { url: url, logo: logo, urlTitle: urlTitle, logoAltText: logoAltText, inverseLogo: inverseLogo } = org;
|
|
4473
4412
|
const [menuOpen, setMenuOpen] = (0, $hgUW1$useState)(false);
|
|
4474
4413
|
const mobile = (0, $hgUW1$useMediaQuery)({
|
|
@@ -4674,25 +4613,13 @@ const $caaccb8ea608e518$var$MobileHeader = ({ siteName: siteName, links: links,
|
|
|
4674
4613
|
]
|
|
4675
4614
|
});
|
|
4676
4615
|
};
|
|
4677
|
-
$caaccb8ea608e518$var$MobileHeader.defaultProps = {
|
|
4678
|
-
org: {
|
|
4679
|
-
tagline: "The Centers for Medicare and Medicaid Services",
|
|
4680
|
-
url: "https://cms.gov",
|
|
4681
|
-
urlTitle: "CMS.gov Centers for Medicare & Medicaid Services",
|
|
4682
|
-
logo: (0, (/*@__PURE__*/$parcel$interopDefault($52466563e0d69ea8$exports))),
|
|
4683
|
-
logoAltText: "CMS.gov Centers for Medicare & Medicaid Services",
|
|
4684
|
-
inverseLogo: (0, (/*@__PURE__*/$parcel$interopDefault($972485213997ff8b$exports)))
|
|
4685
|
-
},
|
|
4686
|
-
includeTopNav: true,
|
|
4687
|
-
includeSearch: true
|
|
4688
|
-
};
|
|
4689
4616
|
var $caaccb8ea608e518$export$2e2bcd8739ae039 = $caaccb8ea608e518$var$MobileHeader;
|
|
4690
4617
|
|
|
4691
4618
|
|
|
4692
4619
|
|
|
4693
4620
|
|
|
4694
4621
|
|
|
4695
|
-
const $a5a6a06d249c33b8$var$Header = ({ mobileMaxWidth: mobileMaxWidth, desktopMinWidth: desktopMinWidth, siteName: siteName, links: links, org: org, includeTopNav: includeTopNav })=>{
|
|
4622
|
+
const $a5a6a06d249c33b8$var$Header = ({ mobileMaxWidth: mobileMaxWidth = 1023, desktopMinWidth: desktopMinWidth = 1024, siteName: siteName, links: links, org: org, includeTopNav: includeTopNav = true })=>{
|
|
4696
4623
|
const mobile = (0, $hgUW1$useMediaQuery)({
|
|
4697
4624
|
minWidth: 0,
|
|
4698
4625
|
maxWidth: mobileMaxWidth
|
|
@@ -4717,11 +4644,6 @@ const $a5a6a06d249c33b8$var$Header = ({ mobileMaxWidth: mobileMaxWidth, desktopM
|
|
|
4717
4644
|
]
|
|
4718
4645
|
});
|
|
4719
4646
|
};
|
|
4720
|
-
$a5a6a06d249c33b8$var$Header.defaultProps = {
|
|
4721
|
-
mobileMaxWidth: 1023,
|
|
4722
|
-
desktopMinWidth: 1024,
|
|
4723
|
-
includeTopNav: true
|
|
4724
|
-
};
|
|
4725
4647
|
var $a5a6a06d249c33b8$export$2e2bcd8739ae039 = $a5a6a06d249c33b8$var$Header;
|
|
4726
4648
|
|
|
4727
4649
|
|
|
@@ -4732,7 +4654,17 @@ var $a5a6a06d249c33b8$export$2e2bcd8739ae039 = $a5a6a06d249c33b8$var$Header;
|
|
|
4732
4654
|
|
|
4733
4655
|
|
|
4734
4656
|
|
|
4735
|
-
const $a6df0aa147323304$var$Footer = ({ links: links, showEmail: showEmail, emailTitle: emailTitle, emailBody: emailBody, emailLink: emailLink, emailButton: emailButton, socialMediaLinks: socialMediaLinks, hhsLogo: hhsLogo, cmsLogo: cmsLogo, trademarkContent: trademarkContent
|
|
4657
|
+
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", {
|
|
4658
|
+
children: [
|
|
4659
|
+
/*#__PURE__*/ (0, $hgUW1$jsx)("p", {
|
|
4660
|
+
children: "A federal government website managed and paid for by the U.S. Centers for Medicare & Medicaid Services."
|
|
4661
|
+
}),
|
|
4662
|
+
/*#__PURE__*/ (0, $hgUW1$jsx)("p", {
|
|
4663
|
+
className: "ds-u-padding-bottom--2",
|
|
4664
|
+
children: "7500 Security Boulevard, Baltimore, MD 21244"
|
|
4665
|
+
})
|
|
4666
|
+
]
|
|
4667
|
+
}) })=>{
|
|
4736
4668
|
const { footerOpenDataToolLinks: footerOpenDataToolLinks, footerAdditionalResourcesLinks: footerAdditionalResourcesLinks, footerUtilityLinks: footerUtilityLinks } = links;
|
|
4737
4669
|
return /*#__PURE__*/ (0, $hgUW1$jsxs)("footer", {
|
|
4738
4670
|
className: "dc-c-footer",
|
|
@@ -5118,25 +5050,6 @@ const $a6df0aa147323304$var$Footer = ({ links: links, showEmail: showEmail, emai
|
|
|
5118
5050
|
]
|
|
5119
5051
|
});
|
|
5120
5052
|
};
|
|
5121
|
-
$a6df0aa147323304$var$Footer.defaultProps = {
|
|
5122
|
-
showEmail: true,
|
|
5123
|
-
emailTitle: "Get Email Updates",
|
|
5124
|
-
emailBody: "Sign up to get the latest information from CMS by choosing the topics and frequency of emails that are best for you.",
|
|
5125
|
-
emailLink: "",
|
|
5126
|
-
emailButton: "Sign up for email updates",
|
|
5127
|
-
socialMediaLinks: null,
|
|
5128
|
-
trademarkContent: /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
|
|
5129
|
-
children: [
|
|
5130
|
-
/*#__PURE__*/ (0, $hgUW1$jsx)("p", {
|
|
5131
|
-
children: "A federal government website managed and paid for by the U.S. Centers for Medicare & Medicaid Services."
|
|
5132
|
-
}),
|
|
5133
|
-
/*#__PURE__*/ (0, $hgUW1$jsx)("p", {
|
|
5134
|
-
className: "ds-u-padding-bottom--2",
|
|
5135
|
-
children: "7500 Security Boulevard, Baltimore, MD 21244"
|
|
5136
|
-
})
|
|
5137
|
-
]
|
|
5138
|
-
})
|
|
5139
|
-
};
|
|
5140
5053
|
$a6df0aa147323304$var$Footer.propTypes = {
|
|
5141
5054
|
showEmail: (0, $hgUW1$proptypes).bool,
|
|
5142
5055
|
emailTitle: (0, $hgUW1$proptypes).string,
|
|
@@ -5306,7 +5219,7 @@ const $c7bf75f7e8a68780$export$7850f4d545d994c6 = [
|
|
|
5306
5219
|
|
|
5307
5220
|
|
|
5308
5221
|
const $669d2782ec2e2250$var$SpecsAndLimits = (props)=>{
|
|
5309
|
-
const { documentationList: documentationList, children: children } = props;
|
|
5222
|
+
const { documentationList: documentationList = (0, $c7bf75f7e8a68780$export$7850f4d545d994c6), children: children } = props;
|
|
5310
5223
|
const defaultContent = /*#__PURE__*/ (0, $hgUW1$jsx)("p", {
|
|
5311
5224
|
children: "Some datasets are extremely large and may be difficult to download and/or cause computer performance issues. The Centers for Medicare and Medicaid Services (CMS) recommends using WinZip, WinRAR, or 7-Zip for file decompression."
|
|
5312
5225
|
});
|
|
@@ -5358,12 +5271,6 @@ const $669d2782ec2e2250$var$SpecsAndLimits = (props)=>{
|
|
|
5358
5271
|
})
|
|
5359
5272
|
});
|
|
5360
5273
|
};
|
|
5361
|
-
$669d2782ec2e2250$var$SpecsAndLimits.defaultProps = {
|
|
5362
|
-
documentationList: (0, $c7bf75f7e8a68780$export$7850f4d545d994c6),
|
|
5363
|
-
content: /*#__PURE__*/ (0, $hgUW1$jsx)("p", {
|
|
5364
|
-
children: "Some datasets are extremely large and may be difficult to download and/or cause computer performance issues. The Centers for Medicare and Medicaid Services (CMS) recommends using WinZip, WinRAR, or 7-Zip for file decompression."
|
|
5365
|
-
})
|
|
5366
|
-
};
|
|
5367
5274
|
var $669d2782ec2e2250$export$2e2bcd8739ae039 = $669d2782ec2e2250$var$SpecsAndLimits;
|
|
5368
5275
|
|
|
5369
5276
|
|
|
@@ -5471,7 +5378,7 @@ var $efc410f5f7ac5ef3$export$2e2bcd8739ae039 = $efc410f5f7ac5ef3$var$useSearchAP
|
|
|
5471
5378
|
|
|
5472
5379
|
|
|
5473
5380
|
|
|
5474
|
-
const $59a079354baa335c$var$Hero = ({ title: title, description: description, searchUrl: searchUrl, searchKey: searchKey, textfieldLabel: textfieldLabel, searchButtonText: searchButtonText })=>{
|
|
5381
|
+
const $59a079354baa335c$var$Hero = ({ title: title, description: description, searchUrl: searchUrl = "datasets", searchKey: searchKey = "fulltext", textfieldLabel: textfieldLabel = "Search for a dataset", searchButtonText: searchButtonText = "Search" })=>{
|
|
5475
5382
|
const navigate = (0, $hgUW1$useNavigate)();
|
|
5476
5383
|
const [searchValue, setSearchValue] = (0, $hgUW1$react).useState("");
|
|
5477
5384
|
function submitHero(e) {
|
|
@@ -5545,12 +5452,6 @@ const $59a079354baa335c$var$Hero = ({ title: title, description: description, se
|
|
|
5545
5452
|
})
|
|
5546
5453
|
});
|
|
5547
5454
|
};
|
|
5548
|
-
$59a079354baa335c$var$Hero.defaultProps = {
|
|
5549
|
-
searchKey: "fulltext",
|
|
5550
|
-
searchUrl: "datasets",
|
|
5551
|
-
textfieldLabel: "Search for a dataset",
|
|
5552
|
-
searchButtonText: "Search"
|
|
5553
|
-
};
|
|
5554
5455
|
var $59a079354baa335c$export$2e2bcd8739ae039 = $59a079354baa335c$var$Hero;
|
|
5555
5456
|
|
|
5556
5457
|
|
|
@@ -5603,8 +5504,12 @@ var $1e012d1e3b534af0$export$2e2bcd8739ae039 = $1e012d1e3b534af0$var$DataTableDe
|
|
|
5603
5504
|
|
|
5604
5505
|
|
|
5605
5506
|
|
|
5606
|
-
const $7848c69a021266f7$var$DataTableRowChanger = (
|
|
5607
|
-
|
|
5507
|
+
const $7848c69a021266f7$var$DataTableRowChanger = ({ limit: limit, rowOptions: rowOptions = [
|
|
5508
|
+
10,
|
|
5509
|
+
25,
|
|
5510
|
+
50,
|
|
5511
|
+
100
|
|
5512
|
+
], setLimit: setLimit })=>{
|
|
5608
5513
|
const rowOptionsFormatted = rowOptions.map((row)=>({
|
|
5609
5514
|
label: row.toString(),
|
|
5610
5515
|
value: row.toString()
|
|
@@ -5621,14 +5526,6 @@ const $7848c69a021266f7$var$DataTableRowChanger = (props)=>{
|
|
|
5621
5526
|
})
|
|
5622
5527
|
});
|
|
5623
5528
|
};
|
|
5624
|
-
$7848c69a021266f7$var$DataTableRowChanger.defaultProps = {
|
|
5625
|
-
rowOptions: [
|
|
5626
|
-
10,
|
|
5627
|
-
25,
|
|
5628
|
-
50,
|
|
5629
|
-
100
|
|
5630
|
-
]
|
|
5631
|
-
};
|
|
5632
5529
|
$7848c69a021266f7$var$DataTableRowChanger.propTypes = {
|
|
5633
5530
|
rowOptions: (0, $hgUW1$proptypes).arrayOf((0, $hgUW1$proptypes).number),
|
|
5634
5531
|
setLimit: (0, $hgUW1$proptypes).func.isRequired,
|
|
@@ -5872,7 +5769,7 @@ function $626282d9a03c51d5$var$DefaultColumnFilter({ column: { Header: Header, a
|
|
|
5872
5769
|
value: filterValue || ""
|
|
5873
5770
|
});
|
|
5874
5771
|
}
|
|
5875
|
-
const $626282d9a03c51d5$var$ResourcePreview = ({ tablePadding: tablePadding, id: id, canResize: canResize })=>{
|
|
5772
|
+
const $626282d9a03c51d5$var$ResourcePreview = ({ tablePadding: tablePadding, id: id, canResize: canResize = true })=>{
|
|
5876
5773
|
const { resource: resource, customColumns: customColumns } = (0, $hgUW1$useContext)((0, $a0f13962e513caa1$export$a7997ae78b143b));
|
|
5877
5774
|
return /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
|
|
5878
5775
|
id: "resource-preview",
|
|
@@ -5887,17 +5784,6 @@ const $626282d9a03c51d5$var$ResourcePreview = ({ tablePadding: tablePadding, id:
|
|
|
5887
5784
|
})
|
|
5888
5785
|
});
|
|
5889
5786
|
};
|
|
5890
|
-
$626282d9a03c51d5$var$ResourcePreview.defaultProps = {
|
|
5891
|
-
options: {
|
|
5892
|
-
layout: "flex",
|
|
5893
|
-
columnFilter: false,
|
|
5894
|
-
columnSort: true,
|
|
5895
|
-
columnResize: true
|
|
5896
|
-
},
|
|
5897
|
-
truncateCellHeader: true,
|
|
5898
|
-
defaultSort: [],
|
|
5899
|
-
canResize: true
|
|
5900
|
-
};
|
|
5901
5787
|
var $626282d9a03c51d5$export$2e2bcd8739ae039 = $626282d9a03c51d5$var$ResourcePreview;
|
|
5902
5788
|
|
|
5903
5789
|
|
|
@@ -6131,7 +6017,7 @@ function $3b6ca952e79f0695$var$updateQueryForDatastore(condition) {
|
|
|
6131
6017
|
if (Array.isArray(cond.value)) cond.value = cond.value.map((v)=>v.trim().replace(/(^\%+|\%+$)/gm, ""));
|
|
6132
6018
|
return cond;
|
|
6133
6019
|
}
|
|
6134
|
-
const $3b6ca952e79f0695$var$QueryBuilder = ({ resource: resource, id: id, includeSearchParams: includeSearchParams, customColumns: customColumns })=>{
|
|
6020
|
+
const $3b6ca952e79f0695$var$QueryBuilder = ({ resource: resource, id: id, includeSearchParams: includeSearchParams = true, customColumns: customColumns })=>{
|
|
6135
6021
|
const { conditions: conditions, schema: schema, setConditions: setConditions } = resource;
|
|
6136
6022
|
const fields = Object.keys(schema[id].fields);
|
|
6137
6023
|
const [queryConditions, setQueryConditions] = (0, $hgUW1$useState)([]);
|
|
@@ -6252,9 +6138,6 @@ const $3b6ca952e79f0695$var$QueryBuilder = ({ resource: resource, id: id, includ
|
|
|
6252
6138
|
})
|
|
6253
6139
|
});
|
|
6254
6140
|
};
|
|
6255
|
-
$3b6ca952e79f0695$var$QueryBuilder.defaultProps = {
|
|
6256
|
-
includeSearchParams: true
|
|
6257
|
-
};
|
|
6258
6141
|
var $3b6ca952e79f0695$export$2e2bcd8739ae039 = $3b6ca952e79f0695$var$QueryBuilder;
|
|
6259
6142
|
|
|
6260
6143
|
|
|
@@ -6429,9 +6312,6 @@ const $dd6eb2b30d7ad75d$var$FilteredResourceBody = ({ id: id, dataset: dataset,
|
|
|
6429
6312
|
})
|
|
6430
6313
|
});
|
|
6431
6314
|
};
|
|
6432
|
-
$dd6eb2b30d7ad75d$var$FilteredResourceBody.defaultProps = {
|
|
6433
|
-
apiDocPage: "/api"
|
|
6434
|
-
};
|
|
6435
6315
|
var $dd6eb2b30d7ad75d$export$2e2bcd8739ae039 = $dd6eb2b30d7ad75d$var$FilteredResourceBody;
|
|
6436
6316
|
|
|
6437
6317
|
|