@civicactions/cmsds-open-data-components 3.0.0-alpha.17 → 3.0.0-alpha.18
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 +5 -4
- package/dist/main.js.map +1 -1
- package/dist/types.d.ts +2 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -2741,7 +2741,7 @@ const $789279954d8eff7f$var$ApiDocumentation = ({ endpoint: endpoint })=>{
|
|
|
2741
2741
|
var $789279954d8eff7f$export$2e2bcd8739ae039 = $789279954d8eff7f$var$ApiDocumentation;
|
|
2742
2742
|
|
|
2743
2743
|
|
|
2744
|
-
const $cf6eaefd6b928de3$var$DatasetAPI = ({ id: id , rootUrl: rootUrl })=>{
|
|
2744
|
+
const $cf6eaefd6b928de3$var$DatasetAPI = ({ id: id , rootUrl: rootUrl , apiUrl: apiUrl })=>{
|
|
2745
2745
|
return /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Fragment), {
|
|
2746
2746
|
children: [
|
|
2747
2747
|
/*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
|
|
@@ -2762,7 +2762,7 @@ const $cf6eaefd6b928de3$var$DatasetAPI = ({ id: id , rootUrl: rootUrl })=>{
|
|
|
2762
2762
|
/*#__PURE__*/ (0, $hgUW1$jsx)("div", {
|
|
2763
2763
|
className: "ds-l-col--12 ds-l-md-col--3 ds-u-font-weight--bold ds-u-margin-top--2 ds-u-padding-left--0 ds-u-md-padding-left--2",
|
|
2764
2764
|
children: /*#__PURE__*/ (0, $hgUW1$jsxs)("a", {
|
|
2765
|
-
href:
|
|
2765
|
+
href: apiUrl,
|
|
2766
2766
|
children: [
|
|
2767
2767
|
"View API",
|
|
2768
2768
|
" ",
|
|
@@ -2792,7 +2792,7 @@ var $cf6eaefd6b928de3$export$2e2bcd8739ae039 = $cf6eaefd6b928de3$var$DatasetAPI;
|
|
|
2792
2792
|
|
|
2793
2793
|
|
|
2794
2794
|
|
|
2795
|
-
const $a0f13962e513caa1$var$Dataset = ({ id: id , rootUrl: rootUrl , additionalParams: additionalParams , customColumns: customColumns , setDatasetTitle: setDatasetTitle , customMetadataMapping: customMetadataMapping })=>{
|
|
2795
|
+
const $a0f13962e513caa1$var$Dataset = ({ id: id , rootUrl: rootUrl , additionalParams: additionalParams , customColumns: customColumns , setDatasetTitle: setDatasetTitle , customMetadataMapping: customMetadataMapping , apiPageUrl: apiPageUrl = "/api" })=>{
|
|
2796
2796
|
const options = location.search ? {
|
|
2797
2797
|
...(0, $hgUW1$qs).parse(location.search, {
|
|
2798
2798
|
ignoreQueryPrefix: true
|
|
@@ -2957,7 +2957,8 @@ const $a0f13962e513caa1$var$Dataset = ({ id: id , rootUrl: rootUrl , additionalP
|
|
|
2957
2957
|
}),
|
|
2958
2958
|
children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $cf6eaefd6b928de3$export$2e2bcd8739ae039), {
|
|
2959
2959
|
id: id,
|
|
2960
|
-
rootUrl: rootUrl
|
|
2960
|
+
rootUrl: rootUrl,
|
|
2961
|
+
apiUrl: apiPageUrl
|
|
2961
2962
|
})
|
|
2962
2963
|
})
|
|
2963
2964
|
]
|