@corpsmap/corpsmap 4.1.31 → 4.1.33
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 +62 -56
- package/dist/corpsmap.umd.js +5 -5
- package/package.json +1 -1
- package/src/application-bundles/map-layers-bundle.js +7 -1
- package/src/core-plugins/identify/listeners/vector.jsx +1 -1
- package/src/core-plugins/identify-arcgis-rest/bundle.js +2 -2
- package/src/core-plugins/identify-geoserver/bundle.js +1 -1
- package/src/core-plugins/identify-map-server/bundle.js +1 -1
- package/src/core-plugins/identify-vector/bundle.jsx +2 -2
package/dist/corpsmap.es.js
CHANGED
|
@@ -10977,54 +10977,60 @@ const mapBasemapBundle = {
|
|
|
10977
10977
|
break;
|
|
10978
10978
|
}
|
|
10979
10979
|
return r;
|
|
10980
|
-
}, createNode = (e, t) =>
|
|
10981
|
-
|
|
10982
|
-
|
|
10983
|
-
|
|
10984
|
-
|
|
10985
|
-
|
|
10986
|
-
|
|
10987
|
-
|
|
10988
|
-
|
|
10989
|
-
|
|
10990
|
-
|
|
10991
|
-
|
|
10992
|
-
|
|
10993
|
-
|
|
10994
|
-
|
|
10995
|
-
|
|
10996
|
-
|
|
10997
|
-
|
|
10998
|
-
|
|
10999
|
-
|
|
11000
|
-
|
|
11001
|
-
|
|
11002
|
-
|
|
11003
|
-
|
|
11004
|
-
|
|
11005
|
-
|
|
11006
|
-
|
|
11007
|
-
|
|
11008
|
-
|
|
11009
|
-
|
|
11010
|
-
|
|
11011
|
-
|
|
11012
|
-
|
|
11013
|
-
|
|
11014
|
-
|
|
11015
|
-
|
|
11016
|
-
|
|
11017
|
-
|
|
11018
|
-
|
|
11019
|
-
|
|
11020
|
-
|
|
11021
|
-
|
|
11022
|
-
|
|
11023
|
-
|
|
11024
|
-
|
|
11025
|
-
|
|
11026
|
-
|
|
11027
|
-
|
|
10980
|
+
}, createNode = (e, t) => {
|
|
10981
|
+
e.type || (e.type = e.serviceType || "Folder"), e.uid || (e.uid = v4()), e.minzoom || (e.minzoom = scaleToMapZoom(e.maxscale, 0)), e.maxzoom || (e.maxzoom = scaleToMapZoom(e.minscale, 20));
|
|
10982
|
+
const r = e.identifyRenameColumns ?? e.identifyRenameColums;
|
|
10983
|
+
return {
|
|
10984
|
+
id: e.id,
|
|
10985
|
+
teamDatasetId: e.teamDatasetId,
|
|
10986
|
+
uid: e.uid,
|
|
10987
|
+
parent: null,
|
|
10988
|
+
children: [],
|
|
10989
|
+
root: e.root || !1,
|
|
10990
|
+
leaf: e.type !== "Folder",
|
|
10991
|
+
collapsed: e.collapsed || !0,
|
|
10992
|
+
visible: e.visible || !1,
|
|
10993
|
+
sortOrder: e.layerOrder || 0,
|
|
10994
|
+
displayName: e.displayName,
|
|
10995
|
+
type: e.type,
|
|
10996
|
+
geometryType: e.geometryType,
|
|
10997
|
+
layerList: e.layerList,
|
|
10998
|
+
mapLayer: e.type !== "Folder" ? e.mapLayer || getLayer(e, null, t) : null,
|
|
10999
|
+
labelsOn: e.labelsOn ? e.labelsOn : !!e.labelDefault,
|
|
11000
|
+
labelDefault: !!e.labelDefault,
|
|
11001
|
+
labelEnabled: !!e.labelEnabled,
|
|
11002
|
+
url: e.url,
|
|
11003
|
+
info: e.info,
|
|
11004
|
+
identifyType: e.identifyType,
|
|
11005
|
+
identifyLayers: e.identifyLayers,
|
|
11006
|
+
identifyFields: e.identifyFields,
|
|
11007
|
+
identifyRenameColumns: r,
|
|
11008
|
+
// Deprecated alias for the original misspelling; remove in the next major version.
|
|
11009
|
+
identifyRenameColums: r,
|
|
11010
|
+
identifyFormatColumns: e.identifyFormatColumns,
|
|
11011
|
+
legend: e.legend,
|
|
11012
|
+
legendOverride: !!e.legendOverride,
|
|
11013
|
+
passFilter: !0,
|
|
11014
|
+
zoomTo: !!e.zoomTo,
|
|
11015
|
+
minzoom: e.minzoom,
|
|
11016
|
+
maxzoom: e.maxzoom,
|
|
11017
|
+
styleFn: e.styleFn,
|
|
11018
|
+
favorite: !1,
|
|
11019
|
+
userDefaultLayer: !1,
|
|
11020
|
+
selectAllLayers: e.selectAllLayers,
|
|
11021
|
+
layerDescription: e.layerDescription,
|
|
11022
|
+
attributions: e.attributions,
|
|
11023
|
+
moreInfo: e.moreInfo,
|
|
11024
|
+
resourceDownload: e.resourceDownload,
|
|
11025
|
+
hoverText: e.hoverText,
|
|
11026
|
+
folderHoverText: e.folderHoverText,
|
|
11027
|
+
folderURL: e.folderURL,
|
|
11028
|
+
groupTag: e.groupTag,
|
|
11029
|
+
layerFunction: e.layerFunction,
|
|
11030
|
+
layerParams: e.layerParams,
|
|
11031
|
+
params: e.params
|
|
11032
|
+
};
|
|
11033
|
+
}, isParentOf = (e, t) => {
|
|
11028
11034
|
let r = [];
|
|
11029
11035
|
function n(s) {
|
|
11030
11036
|
s.parent && (r.push(s.parent), n(s.parent));
|
|
@@ -12867,7 +12873,7 @@ const config$1 = {
|
|
|
12867
12873
|
path: "depricated"
|
|
12868
12874
|
}
|
|
12869
12875
|
]
|
|
12870
|
-
}, version = "4.1.
|
|
12876
|
+
}, version = "4.1.33", pkg = {
|
|
12871
12877
|
version
|
|
12872
12878
|
};
|
|
12873
12879
|
console.log("------ RUNNING CORPSMAP V." + pkg.version + " ------");
|
|
@@ -18488,10 +18494,10 @@ const bundle$m = {
|
|
|
18488
18494
|
G.attributes[W] && (z[W] = G.attributes[W]);
|
|
18489
18495
|
}), G.attributes = z;
|
|
18490
18496
|
}
|
|
18491
|
-
}), b.
|
|
18497
|
+
}), b.identifyRenameColumns && O.results.forEach((G) => {
|
|
18492
18498
|
if (G.attributes)
|
|
18493
18499
|
for (const [q, Y] of Object.entries(G.attributes))
|
|
18494
|
-
for (const [z, W] of Object.entries(b.
|
|
18500
|
+
for (const [z, W] of Object.entries(b.identifyRenameColumns))
|
|
18495
18501
|
q === z && (G.attributes[W] = G.attributes[q], delete G.attributes[q]);
|
|
18496
18502
|
}), R(null, {
|
|
18497
18503
|
dataset: b.uid,
|
|
@@ -29178,7 +29184,7 @@ const ArcGisListener = {
|
|
|
29178
29184
|
let y = [];
|
|
29179
29185
|
const b = m.getSource();
|
|
29180
29186
|
let E = t.selectIdentifyColumnsExclude();
|
|
29181
|
-
const I = g.identifyFields, x = g.identifyRenameColumns
|
|
29187
|
+
const I = g.identifyFields, x = g.identifyRenameColumns, S = g.identifyFormatColumns;
|
|
29182
29188
|
b.forEachFeatureIntersectingExtent(d, (A) => {
|
|
29183
29189
|
const R = geoJSON$1.writeFeatureObject(A, {
|
|
29184
29190
|
featureProjection: "EPSG:3857",
|
|
@@ -29275,7 +29281,7 @@ const bundle$e = {
|
|
|
29275
29281
|
R,
|
|
29276
29282
|
y.identifyFields
|
|
29277
29283
|
));
|
|
29278
|
-
const k = y.identifyRenameColumns
|
|
29284
|
+
const k = y.identifyRenameColumns;
|
|
29279
29285
|
return k && (R = identifyRenameColumnsArcgisvector(
|
|
29280
29286
|
R,
|
|
29281
29287
|
k
|
|
@@ -29393,7 +29399,7 @@ const bundle$d = {
|
|
|
29393
29399
|
L,
|
|
29394
29400
|
y.identifyFields
|
|
29395
29401
|
));
|
|
29396
|
-
const $ = y.identifyRenameColumns
|
|
29402
|
+
const $ = y.identifyRenameColumns;
|
|
29397
29403
|
return $ && (L = identifyRenameColumnsArcgisvector(
|
|
29398
29404
|
L,
|
|
29399
29405
|
$
|
|
@@ -36605,10 +36611,10 @@ const treeViewDownload = {
|
|
|
36605
36611
|
A.properties[$] && (L[$] = A.properties[$]);
|
|
36606
36612
|
}), A.properties = L;
|
|
36607
36613
|
}
|
|
36608
|
-
}), n[0].
|
|
36614
|
+
}), n[0].identifyRenameColumns && I.forEach((A) => {
|
|
36609
36615
|
if (A.properties)
|
|
36610
36616
|
for (const [R, k] of Object.entries(A.properties))
|
|
36611
|
-
for (const [L, $] of Object.entries(n[0].
|
|
36617
|
+
for (const [L, $] of Object.entries(n[0].identifyRenameColumns))
|
|
36612
36618
|
R === L && (A.properties[$] = A.properties[R], delete A.properties[R]);
|
|
36613
36619
|
}), m.push({
|
|
36614
36620
|
dataset: b.uid,
|