@opengeoweb/webmap 4.19.0 → 4.20.0
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 +10 -0
- package/index.umd.js +10 -0
- package/package.json +4 -3
package/index.esm.js
CHANGED
|
@@ -3841,6 +3841,12 @@ var WMJSDimension = /*#__PURE__*/function () {
|
|
|
3841
3841
|
key: "getClosestValue",
|
|
3842
3842
|
value: function getClosestValue(_newValue) {
|
|
3843
3843
|
var evenWhenOutsideRange = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
3844
|
+
this.initialize();
|
|
3845
|
+
|
|
3846
|
+
if (!this._initialized) {
|
|
3847
|
+
return _newValue;
|
|
3848
|
+
}
|
|
3849
|
+
|
|
3844
3850
|
var newValue = _newValue && _newValue.indexOf('/') !== -1 ? _newValue.split('/')[0] : _newValue;
|
|
3845
3851
|
|
|
3846
3852
|
if (newValue === 'current' || newValue === 'default' || newValue === '') {
|
|
@@ -3898,6 +3904,10 @@ var WMJSDimension = /*#__PURE__*/function () {
|
|
|
3898
3904
|
value: function getValueForIndex(index) {
|
|
3899
3905
|
this.initialize();
|
|
3900
3906
|
|
|
3907
|
+
if (!this._initialized) {
|
|
3908
|
+
return this.currentValue;
|
|
3909
|
+
}
|
|
3910
|
+
|
|
3901
3911
|
if (index < 0) {
|
|
3902
3912
|
if (index === -1) {
|
|
3903
3913
|
return WMDateTooEarlyString;
|
package/index.umd.js
CHANGED
|
@@ -3855,6 +3855,12 @@
|
|
|
3855
3855
|
evenWhenOutsideRange = false;
|
|
3856
3856
|
}
|
|
3857
3857
|
|
|
3858
|
+
this.initialize();
|
|
3859
|
+
|
|
3860
|
+
if (!this._initialized) {
|
|
3861
|
+
return _newValue;
|
|
3862
|
+
}
|
|
3863
|
+
|
|
3858
3864
|
var newValue = _newValue && _newValue.indexOf('/') !== -1 ? _newValue.split('/')[0] : _newValue;
|
|
3859
3865
|
|
|
3860
3866
|
if (newValue === 'current' || newValue === 'default' || newValue === '') {
|
|
@@ -3911,6 +3917,10 @@
|
|
|
3911
3917
|
WMJSDimension.prototype.getValueForIndex = function (index) {
|
|
3912
3918
|
this.initialize();
|
|
3913
3919
|
|
|
3920
|
+
if (!this._initialized) {
|
|
3921
|
+
return this.currentValue;
|
|
3922
|
+
}
|
|
3923
|
+
|
|
3914
3924
|
if (index < 0) {
|
|
3915
3925
|
if (index === -1) {
|
|
3916
3926
|
return WMDateTooEarlyString;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/webmap",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.20.0",
|
|
4
4
|
"description": "GeoWeb webmap library for the opengeoweb project",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -12,10 +12,11 @@
|
|
|
12
12
|
"typings": "./index.d.ts",
|
|
13
13
|
"dependencies": {},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"@opengeoweb/shared": "4.
|
|
15
|
+
"@opengeoweb/shared": "4.20.0",
|
|
16
16
|
"react": "^18.2.0",
|
|
17
17
|
"@mui/material": "^5.12.0",
|
|
18
|
-
"@opengeoweb/theme": "4.
|
|
18
|
+
"@opengeoweb/theme": "4.20.0",
|
|
19
|
+
"@mui/system": "^5.12.0",
|
|
19
20
|
"@mui/x-date-pickers": "^6.2.1",
|
|
20
21
|
"react-draggable": "^4.4.5",
|
|
21
22
|
"re-resizable": "^6.9.0",
|