@corpsmap/corpsmap 4.1.10 → 4.1.11
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 +10 -13
- package/dist/corpsmap.umd.js +3 -3
- package/package.json +83 -83
- package/src/core-plugins/coordinate-display/bundle.jsx +3 -4
- package/src/core-plugins/geocoder/bundle.jsx +3 -4
- package/src/core-plugins/identify/bundle.jsx +3 -4
- package/src/core-plugins/identify/identify-sidebar-list-item.jsx +1 -1
- package/src/core-plugins/identify/identify-table.jsx +1 -1
package/dist/corpsmap.es.js
CHANGED
|
@@ -37,7 +37,7 @@ import Projection from "ol/proj/Projection";
|
|
|
37
37
|
import proj4 from "proj4";
|
|
38
38
|
import _ from "lodash";
|
|
39
39
|
import { createPortal } from "react-dom";
|
|
40
|
-
import
|
|
40
|
+
import { createRoot } from "react-dom/client";
|
|
41
41
|
import Overlay$1 from "ol/Overlay";
|
|
42
42
|
import Draw from "ol/interaction/Draw";
|
|
43
43
|
import Select$1 from "ol/interaction/Select";
|
|
@@ -12841,7 +12841,7 @@ const config$1 = {
|
|
|
12841
12841
|
path: "depricated"
|
|
12842
12842
|
}
|
|
12843
12843
|
]
|
|
12844
|
-
}, version = "4.1.
|
|
12844
|
+
}, version = "4.1.11", pkg = {
|
|
12845
12845
|
version
|
|
12846
12846
|
};
|
|
12847
12847
|
console.log("------ RUNNING CORPSMAP V." + pkg.version + " ------");
|
|
@@ -24053,7 +24053,7 @@ const throttle = /* @__PURE__ */ getDefaultExportFromCjs$1(throttleExports), bun
|
|
|
24053
24053
|
positioning: "bottom-center",
|
|
24054
24054
|
offset: [0, -10]
|
|
24055
24055
|
});
|
|
24056
|
-
o.addOverlay(m),
|
|
24056
|
+
o.addOverlay(m), createRoot(g).render(
|
|
24057
24057
|
/* @__PURE__ */ jsx$1(
|
|
24058
24058
|
CoordinatePopup,
|
|
24059
24059
|
{
|
|
@@ -24062,8 +24062,7 @@ const throttle = /* @__PURE__ */ getDefaultExportFromCjs$1(throttleExports), bun
|
|
|
24062
24062
|
map: o,
|
|
24063
24063
|
onClear: a.doClearPopup
|
|
24064
24064
|
}
|
|
24065
|
-
)
|
|
24066
|
-
g
|
|
24065
|
+
)
|
|
24067
24066
|
), m.setPosition(e), r({
|
|
24068
24067
|
type: "COORD_OVERLAY_RENDERED",
|
|
24069
24068
|
payload: { overlay: m }
|
|
@@ -25205,7 +25204,7 @@ const SearchBar$1 = connect(
|
|
|
25205
25204
|
g,
|
|
25206
25205
|
"EPSG:3857"
|
|
25207
25206
|
);
|
|
25208
|
-
a.addOverlay(d),
|
|
25207
|
+
a.addOverlay(d), createRoot(o).render(
|
|
25209
25208
|
/* @__PURE__ */ jsx$1(
|
|
25210
25209
|
Overlay,
|
|
25211
25210
|
{
|
|
@@ -25214,8 +25213,7 @@ const SearchBar$1 = connect(
|
|
|
25214
25213
|
map: a,
|
|
25215
25214
|
onClear: t.doClearGeocoderOverlay
|
|
25216
25215
|
}
|
|
25217
|
-
)
|
|
25218
|
-
o
|
|
25216
|
+
)
|
|
25219
25217
|
), d.setPosition(m), t.doSetView({
|
|
25220
25218
|
center: r.center,
|
|
25221
25219
|
zoom: r.zoom
|
|
@@ -26399,7 +26397,7 @@ class ResultListItem extends React__default.Component {
|
|
|
26399
26397
|
children: /* @__PURE__ */ jsxs("p", { children: [
|
|
26400
26398
|
/* @__PURE__ */ jsx$1("span", { className: "col-sm-2", children: /* @__PURE__ */ jsx$1("i", { className: "mdi mdi-plus icon-inline" }) }),
|
|
26401
26399
|
/* @__PURE__ */ jsx$1("span", { className: "col-sm-4 overflow-sidebar-identify", children: r }),
|
|
26402
|
-
isHtml(a) ? /* @__PURE__ */ jsx$1(
|
|
26400
|
+
typeof a == "string" && isHtml(a) ? /* @__PURE__ */ jsx$1(
|
|
26403
26401
|
"span",
|
|
26404
26402
|
{
|
|
26405
26403
|
className: "col-sm-6",
|
|
@@ -28008,7 +28006,7 @@ class IdentifyTable extends React__default.Component {
|
|
|
28008
28006
|
width: o,
|
|
28009
28007
|
resizable: !0,
|
|
28010
28008
|
nullable: !0,
|
|
28011
|
-
|
|
28009
|
+
renderCell: ({ row: d, column: g }) => /* @__PURE__ */ jsx$1(Cell, { value: d[g.key] })
|
|
28012
28010
|
};
|
|
28013
28011
|
});
|
|
28014
28012
|
}
|
|
@@ -28533,7 +28531,7 @@ const IdentifyBufferSettings = (e) => {
|
|
|
28533
28531
|
positioning: "bottom-center",
|
|
28534
28532
|
offset: [0, -10]
|
|
28535
28533
|
});
|
|
28536
|
-
r.addOverlay(I),
|
|
28534
|
+
r.addOverlay(I), createRoot(E).render(
|
|
28537
28535
|
/* @__PURE__ */ jsx$1(
|
|
28538
28536
|
IdentifyPopup,
|
|
28539
28537
|
{
|
|
@@ -28542,8 +28540,7 @@ const IdentifyBufferSettings = (e) => {
|
|
|
28542
28540
|
map: r,
|
|
28543
28541
|
onClear: t.doClearOverlay
|
|
28544
28542
|
}
|
|
28545
|
-
)
|
|
28546
|
-
E
|
|
28543
|
+
)
|
|
28547
28544
|
), I.setPosition(
|
|
28548
28545
|
transform(d, "EPSG:4326", "EPSG:3857")
|
|
28549
28546
|
), identify.overlays.push(I);
|