@corpsmap/corpsmap 4.1.5 → 4.1.6
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/corpsmap.es.js +16 -9
- package/dist/corpsmap.umd.js +7 -7
- package/package.json +1 -1
- package/src/application-bundles/api-bundle.js +1 -2
- package/src/config/default-config.js +1 -7
- package/src/core-plugins/change-log/bundle.js +4 -3
- package/src/core-plugins/resources/bundle.js +4 -3
- package/src/core-plugins/resources/resources-modal.jsx +2 -9
package/dist/corpsmap.es.js
CHANGED
|
@@ -1007,8 +1007,7 @@ const process$1 = /* @__PURE__ */ getDefaultExportFromCjs(browserExports), apiBu
|
|
|
1007
1007
|
name: "api",
|
|
1008
1008
|
getReducer: () => {
|
|
1009
1009
|
const e = {
|
|
1010
|
-
|
|
1011
|
-
root: void 0
|
|
1010
|
+
root: window.CM_ENV || ""
|
|
1012
1011
|
};
|
|
1013
1012
|
return (t = e, { type: r, payload: a }) => t;
|
|
1014
1013
|
},
|
|
@@ -12282,7 +12281,7 @@ const windowLocationBundle = {
|
|
|
12282
12281
|
})), a.hasOwnProperty("components") && e.doAddPluginComponents(a.components), r.push(o));
|
|
12283
12282
|
}), e.doStopLoadingPlugins();
|
|
12284
12283
|
};
|
|
12285
|
-
let defaultMapboxToken = "pk.eyJ1IjoidXNhY2UiLCJhIjoiY2p4YW5hdjR6MThoZDNubG1mdG1rYXR1dSJ9.1jDEJhe6OP-e6iZNeEtzjA",
|
|
12284
|
+
let defaultMapboxToken = "pk.eyJ1IjoidXNhY2UiLCJhIjoiY2p4YW5hdjR6MThoZDNubG1mdG1rYXR1dSJ9.1jDEJhe6OP-e6iZNeEtzjA", mapboxToken = window.CM_ENV_MAPBOX_TOKEN || defaultMapboxToken;
|
|
12286
12285
|
const config$1 = {
|
|
12287
12286
|
map: {
|
|
12288
12287
|
basemap: 0,
|
|
@@ -12842,7 +12841,7 @@ const config$1 = {
|
|
|
12842
12841
|
path: "depricated"
|
|
12843
12842
|
}
|
|
12844
12843
|
]
|
|
12845
|
-
}, version = "4.1.
|
|
12844
|
+
}, version = "4.1.6", pkg = {
|
|
12846
12845
|
version
|
|
12847
12846
|
};
|
|
12848
12847
|
console.log("------ RUNNING CORPSMAP V." + pkg.version + " ------");
|
|
@@ -23245,7 +23244,11 @@ const ChangeLogModal$1 = connect(
|
|
|
23245
23244
|
"doSearchChangeLogData",
|
|
23246
23245
|
"doSetSearchBarFilter",
|
|
23247
23246
|
ChangeLogModal
|
|
23248
|
-
)
|
|
23247
|
+
);
|
|
23248
|
+
function getChangeLogUrl() {
|
|
23249
|
+
return window.FUDS_CHANGE_LOG_URL || "";
|
|
23250
|
+
}
|
|
23251
|
+
const bundle$i = {
|
|
23249
23252
|
name: "changeLog",
|
|
23250
23253
|
getReducer: () => {
|
|
23251
23254
|
const e = {
|
|
@@ -23296,7 +23299,7 @@ const ChangeLogModal$1 = connect(
|
|
|
23296
23299
|
});
|
|
23297
23300
|
},
|
|
23298
23301
|
doGetChangeLogData: () => ({ dispatch: e, store: t, anonGet: r }) => {
|
|
23299
|
-
r(
|
|
23302
|
+
r(getChangeLogUrl(), (a, o, d) => {
|
|
23300
23303
|
if (!(a || o.statusCode !== 200)) try {
|
|
23301
23304
|
console.log("Production Change Log Data"), console.log(d);
|
|
23302
23305
|
let g = JSON.parse(d);
|
|
@@ -23409,7 +23412,7 @@ class ResourcesModal extends React__default.Component {
|
|
|
23409
23412
|
const { theme: r, doGetResourceData: a, resourceItems: o, resourceGroups: d } = this.props;
|
|
23410
23413
|
let g = [];
|
|
23411
23414
|
return g = d.map((m) => {
|
|
23412
|
-
let y = "
|
|
23415
|
+
let y = (window.FUDS_RESOURCE_GROUP_IMAGE_URL || "") + m.groupId;
|
|
23413
23416
|
return /* @__PURE__ */ jsxs(
|
|
23414
23417
|
"div",
|
|
23415
23418
|
{
|
|
@@ -23524,7 +23527,11 @@ const ResourcesModal$1 = connect(
|
|
|
23524
23527
|
}
|
|
23525
23528
|
let r = t.reduce((a, o) => a.find((g) => g.groupId === o.groupId) ? a : a.concat([o]), []);
|
|
23526
23529
|
return r.sort((a, o) => a.groupSort - o.groupSort), r;
|
|
23527
|
-
}
|
|
23530
|
+
};
|
|
23531
|
+
function getResourcesUrl() {
|
|
23532
|
+
return window.FUDS_RESOURCES_URL || "";
|
|
23533
|
+
}
|
|
23534
|
+
const defaultHtml = [
|
|
23528
23535
|
{
|
|
23529
23536
|
name: "FUDSMIS Portal - Default",
|
|
23530
23537
|
url: "https://fudsportal.usace.army.mil/"
|
|
@@ -23553,7 +23560,7 @@ const ResourcesModal$1 = connect(
|
|
|
23553
23560
|
};
|
|
23554
23561
|
},
|
|
23555
23562
|
doGetResourceData: () => ({ dispatch: e, store: t, anonGet: r }) => {
|
|
23556
|
-
r(
|
|
23563
|
+
r(getResourcesUrl(), (a, o, d) => {
|
|
23557
23564
|
if (a || o.statusCode !== 200)
|
|
23558
23565
|
e({
|
|
23559
23566
|
type: "RESOURCES_LOAD_TEST_DATA",
|