@opengeoweb/core 9.18.0 → 9.19.1
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/index.esm.js
CHANGED
|
@@ -411,10 +411,10 @@ var SHARED = '__core-js_shared__';
|
|
|
411
411
|
var store$3 = sharedStore.exports = globalThis$1[SHARED] || defineGlobalProperty$2(SHARED, {});
|
|
412
412
|
|
|
413
413
|
(store$3.versions || (store$3.versions = [])).push({
|
|
414
|
-
version: '3.
|
|
414
|
+
version: '3.37.1',
|
|
415
415
|
mode: 'global',
|
|
416
416
|
copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',
|
|
417
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
417
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE',
|
|
418
418
|
source: 'https://github.com/zloirock/core-js'
|
|
419
419
|
});
|
|
420
420
|
|
|
@@ -4956,7 +4956,6 @@ const LayerRowConnect = /*#__PURE__*/React.memo(({
|
|
|
4956
4956
|
|
|
4957
4957
|
const DragHandle = ({
|
|
4958
4958
|
isDisabled: _isDisabled = false,
|
|
4959
|
-
index: _index = undefined,
|
|
4960
4959
|
hideTooltip: _hideTooltip = true,
|
|
4961
4960
|
isSorting: _isSorting = false,
|
|
4962
4961
|
icon: _icon = /*#__PURE__*/React__default.createElement(DragHandle$1, {
|
|
@@ -4967,7 +4966,7 @@ const DragHandle = ({
|
|
|
4967
4966
|
const usedTooltipTitle = _hideTooltip ? '' : _tooltipTitle;
|
|
4968
4967
|
return /*#__PURE__*/React__default.createElement(CustomIconButton, {
|
|
4969
4968
|
tooltipTitle: usedTooltipTitle,
|
|
4970
|
-
"data-testid":
|
|
4969
|
+
"data-testid": "dragHandle",
|
|
4971
4970
|
className: "handle",
|
|
4972
4971
|
tabIndex: -1,
|
|
4973
4972
|
disableTouchRipple: true,
|
|
@@ -5066,14 +5065,13 @@ const LayerContainerRow = /*#__PURE__*/React.memo(_a => {
|
|
|
5066
5065
|
}
|
|
5067
5066
|
return () => window.removeEventListener('wheel', preventDefault);
|
|
5068
5067
|
}, [keyPressed, preventDefault]);
|
|
5069
|
-
const contents = layerIds.map(
|
|
5068
|
+
const contents = layerIds.map(layerId => {
|
|
5070
5069
|
var _a, _b;
|
|
5071
5070
|
return /*#__PURE__*/React.createElement(LayerRowConnect, {
|
|
5072
5071
|
mapId: mapId,
|
|
5073
5072
|
layerId: layerId,
|
|
5074
5073
|
key: `layerRowConnect-${layerId}`,
|
|
5075
5074
|
dragHandle: /*#__PURE__*/React.createElement(DragHandle, {
|
|
5076
|
-
index: index,
|
|
5077
5075
|
isDisabled: isDragDisabled,
|
|
5078
5076
|
hideTooltip: isSorting || isDragDisabled,
|
|
5079
5077
|
isSorting: isSorting,
|
|
@@ -8462,12 +8460,6 @@ const getLayersToUpdate = (layers, mapId) => {
|
|
|
8462
8460
|
Otherwise we risk making a getfeatureinfo call with outdated dimension values.
|
|
8463
8461
|
*/
|
|
8464
8462
|
const wmjsLayer = webmapUtils.getWMLayerById(layer.id).cloneLayer();
|
|
8465
|
-
layer.dimensions && layer.dimensions.forEach(dim => {
|
|
8466
|
-
const wmDim = wmjsLayer.getDimension(dim.name);
|
|
8467
|
-
if (wmDim && wmDim.getValue() !== dim.currentValue) {
|
|
8468
|
-
wmDim.setValue(dim.currentValue);
|
|
8469
|
-
}
|
|
8470
|
-
});
|
|
8471
8463
|
return {
|
|
8472
8464
|
layerId: layer.id,
|
|
8473
8465
|
url: wmjsMap.getWMSGetFeatureInfoRequestURL(wmjsLayer, wmjsMap.getMapPin().getXY().x, wmjsMap.getMapPin().getXY().y, 'text/html'),
|
package/package.json
CHANGED