@corpsmap/corpsmap 3.2.22 → 3.2.25
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/lib/dev.js +335 -80
- package/lib/prod.js +335 -80
- package/package.json +1 -1
- package/src/core-plugins/change-log/bundle.js +106 -0
- package/src/core-plugins/change-log/change-log-button.js +49 -0
- package/src/core-plugins/change-log/change-log-modal.js +72 -0
- package/src/core-plugins/change-log/index.js +15 -0
- package/src/core-plugins/identify/listeners/arcgis.js +7 -3
- package/src/core-plugins/identify-arcgis-rest/bundle.js +2 -1
- package/src/core-plugins/identify-vector/bundle.js +1 -0
- package/src/index.js +2 -0
- package/src/openlayers-utils/format-utilities.js +1 -1
package/lib/prod.js
CHANGED
|
@@ -9,7 +9,7 @@ var React$1__default = _interopDefault(React$1);
|
|
|
9
9
|
var crypto = _interopDefault(require('crypto'));
|
|
10
10
|
var http = _interopDefault(require('http'));
|
|
11
11
|
var https = _interopDefault(require('https'));
|
|
12
|
-
var url$
|
|
12
|
+
var url$2 = _interopDefault(require('url'));
|
|
13
13
|
var buffer$3 = _interopDefault(require('buffer'));
|
|
14
14
|
var string_decoder = _interopDefault(require('string_decoder'));
|
|
15
15
|
var stream = _interopDefault(require('stream'));
|
|
@@ -106481,7 +106481,7 @@ var config = {
|
|
|
106481
106481
|
};
|
|
106482
106482
|
|
|
106483
106483
|
var name = "@corpsmap/corpsmap";
|
|
106484
|
-
var version$1 = "3.2.
|
|
106484
|
+
var version$1 = "3.2.25";
|
|
106485
106485
|
var description = "CorpsMap as React Components";
|
|
106486
106486
|
var main = "index.js";
|
|
106487
106487
|
var scripts = {
|
|
@@ -117990,7 +117990,7 @@ var binaryajax = binaryAjax;
|
|
|
117990
117990
|
function binaryAjax(url) {
|
|
117991
117991
|
return new lib$2(function(resolve, reject) {
|
|
117992
117992
|
var type = url.slice(-3);
|
|
117993
|
-
var parsed = url$
|
|
117993
|
+
var parsed = url$2.parse(url);
|
|
117994
117994
|
var method = http;
|
|
117995
117995
|
if (parsed.protocol === 'https:') {
|
|
117996
117996
|
method = https;
|
|
@@ -133740,6 +133740,257 @@ var plugin$3 = {
|
|
|
133740
133740
|
}]
|
|
133741
133741
|
};
|
|
133742
133742
|
|
|
133743
|
+
var ChangeLogModal = /*#__PURE__*/function (_React$Component) {
|
|
133744
|
+
_inherits(ChangeLogModal, _React$Component);
|
|
133745
|
+
|
|
133746
|
+
var _super = _createSuper(ChangeLogModal);
|
|
133747
|
+
|
|
133748
|
+
function ChangeLogModal(props) {
|
|
133749
|
+
var _this;
|
|
133750
|
+
|
|
133751
|
+
_classCallCheck(this, ChangeLogModal);
|
|
133752
|
+
|
|
133753
|
+
_this = _super.call(this, props);
|
|
133754
|
+
_this.state = {};
|
|
133755
|
+
_this.close = _this.close.bind(_assertThisInitialized(_this)); // this.handleSubmit = this.handleSubmit.bind(this);
|
|
133756
|
+
|
|
133757
|
+
return _this;
|
|
133758
|
+
}
|
|
133759
|
+
|
|
133760
|
+
_createClass(ChangeLogModal, [{
|
|
133761
|
+
key: "close",
|
|
133762
|
+
value: function close() {
|
|
133763
|
+
var doModalClose = this.props.doModalClose;
|
|
133764
|
+
doModalClose();
|
|
133765
|
+
}
|
|
133766
|
+
}, {
|
|
133767
|
+
key: "render",
|
|
133768
|
+
value: function render() {
|
|
133769
|
+
var _this$props = this.props,
|
|
133770
|
+
theme = _this$props.theme,
|
|
133771
|
+
doGetChangeLogData = _this$props.doGetChangeLogData,
|
|
133772
|
+
changeLogItems = _this$props.changeLogItems; // doGetChangeLogData();
|
|
133773
|
+
|
|
133774
|
+
debugger;
|
|
133775
|
+
var loginDataWk = changeLogItems;
|
|
133776
|
+
var arrayDataItems = loginDataWk.map(function (data) {
|
|
133777
|
+
return /*#__PURE__*/React$1__default.createElement("li", {
|
|
133778
|
+
key: data.id
|
|
133779
|
+
}, /*#__PURE__*/React$1__default.createElement("p", null, "Environment: ", data.environment, ": ", data.create_date), /*#__PURE__*/React$1__default.createElement("p", null, "Change Type: ", data.change_type), /*#__PURE__*/React$1__default.createElement("p", null, "Description: ", data.description));
|
|
133780
|
+
});
|
|
133781
|
+
return /*#__PURE__*/React$1__default.createElement("div", null, /*#__PURE__*/React$1__default.createElement("div", {
|
|
133782
|
+
className: "cm-modal-header " + theme
|
|
133783
|
+
}, "Change Log"), /*#__PURE__*/React$1__default.createElement("div", {
|
|
133784
|
+
className: "cm-modal-body",
|
|
133785
|
+
style: {
|
|
133786
|
+
height: 290,
|
|
133787
|
+
top: 0,
|
|
133788
|
+
bottom: 0,
|
|
133789
|
+
left: 0,
|
|
133790
|
+
right: 0
|
|
133791
|
+
}
|
|
133792
|
+
}, /*#__PURE__*/React$1__default.createElement("div", {
|
|
133793
|
+
className: "cm-form-group"
|
|
133794
|
+
}, /*#__PURE__*/React$1__default.createElement("div", {
|
|
133795
|
+
style: {
|
|
133796
|
+
overflow: "auto scroll",
|
|
133797
|
+
width: "875px",
|
|
133798
|
+
height: "350px"
|
|
133799
|
+
}
|
|
133800
|
+
}, /*#__PURE__*/React$1__default.createElement("ul", null, arrayDataItems)))), /*#__PURE__*/React$1__default.createElement("div", {
|
|
133801
|
+
className: "cm-modal-footer"
|
|
133802
|
+
}, /*#__PURE__*/React$1__default.createElement("br", null), /*#__PURE__*/React$1__default.createElement("br", null), /*#__PURE__*/React$1__default.createElement("br", null), /*#__PURE__*/React$1__default.createElement("button", {
|
|
133803
|
+
style: {
|
|
133804
|
+
textAlign: "left"
|
|
133805
|
+
},
|
|
133806
|
+
type: "Close",
|
|
133807
|
+
className: "cm-btn cm-btn-theme " + theme,
|
|
133808
|
+
onClick: this.close
|
|
133809
|
+
}, "Close")));
|
|
133810
|
+
}
|
|
133811
|
+
}]);
|
|
133812
|
+
|
|
133813
|
+
return ChangeLogModal;
|
|
133814
|
+
}(React$1__default.Component);
|
|
133815
|
+
|
|
133816
|
+
var ChangeLogModal$1 = connect("selectTheme", "selectChangeLogItems", "doModalClose", "doSubmitNotification", "doGetChangeLogData", ChangeLogModal);
|
|
133817
|
+
|
|
133818
|
+
var url$1 = "".concat(process.env.REACT_APP_FUDS_CHANGE_LOG_URL);
|
|
133819
|
+
var testData = [{
|
|
133820
|
+
"id": 4713,
|
|
133821
|
+
"environment": "Public and Internal GIS",
|
|
133822
|
+
"change_type": "Data Change",
|
|
133823
|
+
"description": "Update locations for project at Pyote AAF Ground Gunnery Range (K06TX0146)\r\n\r\nOLD COORDINATES:\r\nBombing Range (01) 31.5575 -102.879444\r\nGround Gunnery Range (02) 31.585556 -102.898056\r\nSkeet Range (03) 31.553056 -102.875278\r\n\r\nNEW COORDINATES:\r\nBOMBING RANGE (01) 31.501163 -103.137657\r\nGROUND GUNNERY RANGE (02) 31.586237 -103.101082\r\nSKEET RANGE (03) 31.553096 -103.124618",
|
|
133824
|
+
"create_date": "2023-08-23T15:41:24Z"
|
|
133825
|
+
}, {
|
|
133826
|
+
"id": 4714,
|
|
133827
|
+
"environment": "Public and Internal GIS",
|
|
133828
|
+
"change_type": "Data Change",
|
|
133829
|
+
"description": "Update locations for project at Pyote AAF Ground Gunnery Range (K06TX0146)\r\n\r\nOLD COORDINATES:\r\nBombing Range (01) 31.5575 -102.879444\r\nGround Gunnery Range (02) 31.585556 -102.898056\r\nSkeet Range (03) 31.553056 -102.875278\r\n\r\nNEW COORDINATES:\r\nBOMBING RANGE (01) 31.501163 -103.137657\r\nGROUND GUNNERY RANGE (02) 31.586237 -103.101082\r\nSKEET RANGE (03) 31.553096 -103.124618",
|
|
133830
|
+
"create_date": "2023-08-23T15:41:24Z"
|
|
133831
|
+
}, {
|
|
133832
|
+
"id": 4715,
|
|
133833
|
+
"environment": "Public and Internal GIS",
|
|
133834
|
+
"change_type": "Data Change",
|
|
133835
|
+
"description": "Update locations for project at Pyote AAF Ground Gunnery Range (K06TX0146)\r\n\r\nOLD COORDINATES:\r\nBombing Range (01) 31.5575 -102.879444\r\nGround Gunnery Range (02) 31.585556 -102.898056\r\nSkeet Range (03) 31.553056 -102.875278\r\n\r\nNEW COORDINATES:\r\nBOMBING RANGE (01) 31.501163 -103.137657\r\nGROUND GUNNERY RANGE (02) 31.586237 -103.101082\r\nSKEET RANGE (03) 31.553096 -103.124618",
|
|
133836
|
+
"create_date": "2023-08-23T15:41:24Z"
|
|
133837
|
+
}];
|
|
133838
|
+
var bundle$3 = {
|
|
133839
|
+
name: 'changeLog',
|
|
133840
|
+
getReducer: function getReducer() {
|
|
133841
|
+
var initialData = {
|
|
133842
|
+
items: testData,
|
|
133843
|
+
renderModal: false
|
|
133844
|
+
};
|
|
133845
|
+
return function () {
|
|
133846
|
+
var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : initialData;
|
|
133847
|
+
|
|
133848
|
+
var _ref = arguments.length > 1 ? arguments[1] : undefined,
|
|
133849
|
+
type = _ref.type,
|
|
133850
|
+
payload = _ref.payload;
|
|
133851
|
+
|
|
133852
|
+
switch (type) {
|
|
133853
|
+
case "CHANGE_LOG_LOAD_TEST_DATA":
|
|
133854
|
+
case "CHANGE_LOG_LOAD_PRODUCTION_DATA":
|
|
133855
|
+
case "CHANGE_LOG_MODAL_WINDOW_OPENED":
|
|
133856
|
+
return Object.assign({}, state, payload);
|
|
133857
|
+
|
|
133858
|
+
default:
|
|
133859
|
+
return state;
|
|
133860
|
+
}
|
|
133861
|
+
};
|
|
133862
|
+
},
|
|
133863
|
+
doGetChangeLogData: function doGetChangeLogData() {
|
|
133864
|
+
return function (_ref2) {
|
|
133865
|
+
var dispatch = _ref2.dispatch,
|
|
133866
|
+
store = _ref2.store,
|
|
133867
|
+
anonGet = _ref2.anonGet;
|
|
133868
|
+
anonGet(url$1, function (err, response, body) {
|
|
133869
|
+
if (err || response.statusCode !== 200) {
|
|
133870
|
+
// alert("Load Test Data Instead!")
|
|
133871
|
+
dispatch({
|
|
133872
|
+
type: "CHANGE_LOG_LOAD_TEST_DATA",
|
|
133873
|
+
payload: {
|
|
133874
|
+
items: testData,
|
|
133875
|
+
renderModal: true
|
|
133876
|
+
}
|
|
133877
|
+
});
|
|
133878
|
+
} else {
|
|
133879
|
+
try {
|
|
133880
|
+
console.log("Production Change Log Data");
|
|
133881
|
+
console.log(body);
|
|
133882
|
+
var data = JSON.parse(body);
|
|
133883
|
+
console.log('data');
|
|
133884
|
+
console.log(data);
|
|
133885
|
+
var items = data.items;
|
|
133886
|
+
console.log("ITEMS");
|
|
133887
|
+
console.log(items);
|
|
133888
|
+
debugger;
|
|
133889
|
+
dispatch({
|
|
133890
|
+
type: "LOAD_PRODUCTION_DATA",
|
|
133891
|
+
payload: {
|
|
133892
|
+
items: items,
|
|
133893
|
+
renderModal: true
|
|
133894
|
+
}
|
|
133895
|
+
});
|
|
133896
|
+
} catch (err) {
|
|
133897
|
+
alert(" ! ! ! ERROR IN CATCH BLOCK ! ! ! ");
|
|
133898
|
+
}
|
|
133899
|
+
}
|
|
133900
|
+
});
|
|
133901
|
+
};
|
|
133902
|
+
},
|
|
133903
|
+
doOpenModalLog: function doOpenModalLog() {
|
|
133904
|
+
return function (_ref3) {
|
|
133905
|
+
var dispatch = _ref3.dispatch,
|
|
133906
|
+
store = _ref3.store;
|
|
133907
|
+
store.doModalOpen({
|
|
133908
|
+
children: [ChangeLogModal$1],
|
|
133909
|
+
options: {},
|
|
133910
|
+
openedBy: 'ChangeLogButton'
|
|
133911
|
+
});
|
|
133912
|
+
dispatch({
|
|
133913
|
+
type: "CHANGE_LOG_MODAL_WINDOW_OPENED",
|
|
133914
|
+
payload: {
|
|
133915
|
+
renderModal: false
|
|
133916
|
+
}
|
|
133917
|
+
});
|
|
133918
|
+
};
|
|
133919
|
+
},
|
|
133920
|
+
selectChangeLogItems: function selectChangeLogItems(state) {
|
|
133921
|
+
return state.changeLog.items;
|
|
133922
|
+
},
|
|
133923
|
+
reactRenderChangeLogModal: function reactRenderChangeLogModal(state) {
|
|
133924
|
+
if (state.changeLog.renderModal) return {
|
|
133925
|
+
actionCreator: "doOpenModalLog"
|
|
133926
|
+
};
|
|
133927
|
+
}
|
|
133928
|
+
};
|
|
133929
|
+
|
|
133930
|
+
var ChangeLogButton = /*#__PURE__*/function (_React$Component) {
|
|
133931
|
+
_inherits(ChangeLogButton, _React$Component);
|
|
133932
|
+
|
|
133933
|
+
var _super = _createSuper(ChangeLogButton);
|
|
133934
|
+
|
|
133935
|
+
function ChangeLogButton(props) {
|
|
133936
|
+
var _this;
|
|
133937
|
+
|
|
133938
|
+
_classCallCheck(this, ChangeLogButton);
|
|
133939
|
+
|
|
133940
|
+
_this = _super.call(this, props);
|
|
133941
|
+
_this.handleClick = _this.handleClick.bind(_assertThisInitialized(_this));
|
|
133942
|
+
_this.openModalLog = _this.openModalLog.bind(_assertThisInitialized(_this));
|
|
133943
|
+
return _this;
|
|
133944
|
+
}
|
|
133945
|
+
|
|
133946
|
+
_createClass(ChangeLogButton, [{
|
|
133947
|
+
key: "openModalLog",
|
|
133948
|
+
value: function openModalLog() {
|
|
133949
|
+
var doModalOpen = this.props.doModalOpen;
|
|
133950
|
+
doModalOpen({
|
|
133951
|
+
children: [ChangeLogModal$1],
|
|
133952
|
+
options: {},
|
|
133953
|
+
openedBy: 'ChangeLogButton'
|
|
133954
|
+
});
|
|
133955
|
+
}
|
|
133956
|
+
}, {
|
|
133957
|
+
key: "handleClick",
|
|
133958
|
+
value: function handleClick() {
|
|
133959
|
+
var doGetChangeLogData = this.props.doGetChangeLogData;
|
|
133960
|
+
doGetChangeLogData(); // this.openModalLog();
|
|
133961
|
+
// Load Data
|
|
133962
|
+
// After Data is loaded change renderModal true
|
|
133963
|
+
// Add a listener that does doModalOpend
|
|
133964
|
+
// doGetChangeLogData();
|
|
133965
|
+
}
|
|
133966
|
+
}, {
|
|
133967
|
+
key: "render",
|
|
133968
|
+
value: function render() {
|
|
133969
|
+
return /*#__PURE__*/React$1__default.createElement(SidebarButton$1, {
|
|
133970
|
+
iconClass: "mdi mdi-exclamation",
|
|
133971
|
+
label: "Change Log",
|
|
133972
|
+
title: "Change Log",
|
|
133973
|
+
onClick: this.handleClick
|
|
133974
|
+
});
|
|
133975
|
+
}
|
|
133976
|
+
}]);
|
|
133977
|
+
|
|
133978
|
+
return ChangeLogButton;
|
|
133979
|
+
}(React$1__default.Component);
|
|
133980
|
+
|
|
133981
|
+
var changeLogButton = connect("doModalOpen", "doGetChangeLogData", ChangeLogButton);
|
|
133982
|
+
|
|
133983
|
+
var plugin$4 = {
|
|
133984
|
+
pluginName: 'changeLog',
|
|
133985
|
+
enabled: true,
|
|
133986
|
+
bundle: bundle$3,
|
|
133987
|
+
components: [{
|
|
133988
|
+
component: changeLogButton,
|
|
133989
|
+
region: 'right-sidebar-top',
|
|
133990
|
+
sortOrder: 120
|
|
133991
|
+
}]
|
|
133992
|
+
};
|
|
133993
|
+
|
|
133743
133994
|
var CoordinateLatLonInput = function CoordinateLatLonInput(props) {
|
|
133744
133995
|
var label = props.label,
|
|
133745
133996
|
placeholder = props.placeholder,
|
|
@@ -134218,7 +134469,7 @@ function throttle(func, wait, options) {
|
|
|
134218
134469
|
|
|
134219
134470
|
var throttle_1 = throttle;
|
|
134220
134471
|
|
|
134221
|
-
var bundle$
|
|
134472
|
+
var bundle$4 = {
|
|
134222
134473
|
name: "coordinateDisplay",
|
|
134223
134474
|
getReducer: function getReducer() {
|
|
134224
134475
|
var initialData = {
|
|
@@ -134502,10 +134753,10 @@ var bundle$3 = {
|
|
|
134502
134753
|
}
|
|
134503
134754
|
};
|
|
134504
134755
|
|
|
134505
|
-
var plugin$
|
|
134756
|
+
var plugin$5 = {
|
|
134506
134757
|
pluginName: 'PositionText',
|
|
134507
134758
|
enabled: true,
|
|
134508
|
-
bundle: bundle$
|
|
134759
|
+
bundle: bundle$4,
|
|
134509
134760
|
components: [{
|
|
134510
134761
|
component: CoordinateDisplay$1,
|
|
134511
134762
|
region: 'lower-right-toolbar',
|
|
@@ -135558,7 +135809,7 @@ var drawSaveBundle = {
|
|
|
135558
135809
|
persistActions: ['DRAW_SAVE_COMPLETE']
|
|
135559
135810
|
};
|
|
135560
135811
|
|
|
135561
|
-
var plugin$
|
|
135812
|
+
var plugin$6 = {
|
|
135562
135813
|
pluginName: 'Draw Tools',
|
|
135563
135814
|
enabled: true,
|
|
135564
135815
|
bundle: [createDrawBundle({
|
|
@@ -135751,7 +136002,7 @@ var zoomScales = {
|
|
|
135751
136002
|
poi: 19,
|
|
135752
136003
|
"poi.landmark": 19
|
|
135753
136004
|
};
|
|
135754
|
-
var bundle$
|
|
136005
|
+
var bundle$5 = {
|
|
135755
136006
|
name: "geocoder",
|
|
135756
136007
|
getReducer: function getReducer() {
|
|
135757
136008
|
var initialData = {
|
|
@@ -135909,10 +136160,10 @@ var bundle$4 = {
|
|
|
135909
136160
|
}
|
|
135910
136161
|
};
|
|
135911
136162
|
|
|
135912
|
-
var plugin$
|
|
136163
|
+
var plugin$7 = {
|
|
135913
136164
|
pluginName: 'Geocoder',
|
|
135914
136165
|
enabled: true,
|
|
135915
|
-
bundle: bundle$
|
|
136166
|
+
bundle: bundle$5,
|
|
135916
136167
|
components: [{
|
|
135917
136168
|
component: SearchBar$1,
|
|
135918
136169
|
region: 'basic-toolbar',
|
|
@@ -138214,7 +138465,7 @@ function compareCoords(pair1, pair2) {
|
|
|
138214
138465
|
return pair1[0] === pair2[0] && pair1[1] === pair2[1];
|
|
138215
138466
|
}
|
|
138216
138467
|
|
|
138217
|
-
var bundle$
|
|
138468
|
+
var bundle$6 = {
|
|
138218
138469
|
name: 'geojsonIdent',
|
|
138219
138470
|
getReducer: function getReducer() {
|
|
138220
138471
|
var initialData = {
|
|
@@ -138386,10 +138637,10 @@ var bundle$5 = {
|
|
|
138386
138637
|
}
|
|
138387
138638
|
};
|
|
138388
138639
|
|
|
138389
|
-
var plugin$
|
|
138640
|
+
var plugin$8 = {
|
|
138390
138641
|
pluginName: 'Identify GeoJSON',
|
|
138391
138642
|
enabled: true,
|
|
138392
|
-
bundle: bundle$
|
|
138643
|
+
bundle: bundle$6,
|
|
138393
138644
|
components: []
|
|
138394
138645
|
};
|
|
138395
138646
|
|
|
@@ -142242,7 +142493,7 @@ var bufferLayer = getLayer({
|
|
|
142242
142493
|
var identify = {
|
|
142243
142494
|
overlays: []
|
|
142244
142495
|
};
|
|
142245
|
-
var bundle$
|
|
142496
|
+
var bundle$7 = {
|
|
142246
142497
|
name: "identifyUi",
|
|
142247
142498
|
getReducer: function getReducer() {
|
|
142248
142499
|
var initialData = {
|
|
@@ -142955,7 +143206,8 @@ var ArcGisListener = {
|
|
|
142955
143206
|
var visibleLayers = store.selectVisibleLayers();
|
|
142956
143207
|
if (!visibleLayers.length) return callback(null, []);
|
|
142957
143208
|
var queries = [];
|
|
142958
|
-
var identifyFeature = store.doSetIdentifyFeature();
|
|
143209
|
+
var identifyFeature = store.doSetIdentifyFeature();
|
|
143210
|
+
var excludedColumns = store.selectIdentifyColumnsExclude(); //https://developers.arcgis.com/rest/services-reference/enterprise/identify-map-service-.htm
|
|
142959
143211
|
|
|
142960
143212
|
var params = {
|
|
142961
143213
|
sr: 4326,
|
|
@@ -142994,6 +143246,7 @@ var ArcGisListener = {
|
|
|
142994
143246
|
var data = JSON.parse(body);
|
|
142995
143247
|
|
|
142996
143248
|
if (data.results.length) {
|
|
143249
|
+
data = identifyColumnsArcgisrest(data, excludedColumns);
|
|
142997
143250
|
cb(null, {
|
|
142998
143251
|
dataset: visibleLayer.uid,
|
|
142999
143252
|
layerName: visibleLayer.displayName,
|
|
@@ -143147,10 +143400,10 @@ var VectorListener = {
|
|
|
143147
143400
|
}
|
|
143148
143401
|
};
|
|
143149
143402
|
|
|
143150
|
-
var plugin$
|
|
143403
|
+
var plugin$9 = {
|
|
143151
143404
|
pluginName: "IdentifyTools",
|
|
143152
143405
|
enabled: true,
|
|
143153
|
-
bundle: [bundle$
|
|
143406
|
+
bundle: [bundle$7, ArcGisListener, // GeoJsonListener,
|
|
143154
143407
|
// RasterListener,
|
|
143155
143408
|
VectorListener],
|
|
143156
143409
|
components: [{
|
|
@@ -158909,7 +159162,7 @@ var LegendButton = /*#__PURE__*/function (_React$Component) {
|
|
|
158909
159162
|
}(React$1__default.Component);
|
|
158910
159163
|
|
|
158911
159164
|
var req = null;
|
|
158912
|
-
var bundle$
|
|
159165
|
+
var bundle$8 = {
|
|
158913
159166
|
name: "legend",
|
|
158914
159167
|
getReducer: function getReducer() {
|
|
158915
159168
|
var initialData = {
|
|
@@ -159619,10 +159872,10 @@ var bundle$7 = {
|
|
|
159619
159872
|
}
|
|
159620
159873
|
};
|
|
159621
159874
|
|
|
159622
|
-
var plugin$
|
|
159875
|
+
var plugin$a = {
|
|
159623
159876
|
pluginName: "Legend",
|
|
159624
159877
|
enabled: true,
|
|
159625
|
-
bundle: bundle$
|
|
159878
|
+
bundle: bundle$8,
|
|
159626
159879
|
components: [{
|
|
159627
159880
|
component: LegendButton,
|
|
159628
159881
|
region: "left-sidebar-top",
|
|
@@ -160038,7 +160291,7 @@ var modifyArea = createInteraction({
|
|
|
160038
160291
|
source: areaLayer.getSource()
|
|
160039
160292
|
}); // START BUNDLE
|
|
160040
160293
|
|
|
160041
|
-
var bundle$
|
|
160294
|
+
var bundle$9 = {
|
|
160042
160295
|
name: "measure",
|
|
160043
160296
|
getReducer: function getReducer() {
|
|
160044
160297
|
var initialData = {
|
|
@@ -160274,10 +160527,10 @@ var bundle$8 = {
|
|
|
160274
160527
|
}
|
|
160275
160528
|
};
|
|
160276
160529
|
|
|
160277
|
-
var plugin$
|
|
160530
|
+
var plugin$b = {
|
|
160278
160531
|
pluginName: 'MeasureArea',
|
|
160279
160532
|
enabled: true,
|
|
160280
|
-
bundle: bundle$
|
|
160533
|
+
bundle: bundle$9,
|
|
160281
160534
|
components: [{
|
|
160282
160535
|
component: MeasureToolsButton$1,
|
|
160283
160536
|
region: 'basic-toolbar',
|
|
@@ -160285,7 +160538,7 @@ var plugin$a = {
|
|
|
160285
160538
|
}]
|
|
160286
160539
|
};
|
|
160287
160540
|
|
|
160288
|
-
var bundle$
|
|
160541
|
+
var bundle$a = {
|
|
160289
160542
|
name: 'permalink',
|
|
160290
160543
|
getReducer: function getReducer() {
|
|
160291
160544
|
var initialData = {
|
|
@@ -160458,10 +160711,10 @@ var PermalinkButton = /*#__PURE__*/function (_React$Component) {
|
|
|
160458
160711
|
|
|
160459
160712
|
var PermalinkButton$1 = connect('doConstructPermalinkParams', 'doModalOpen', PermalinkButton);
|
|
160460
160713
|
|
|
160461
|
-
var plugin$
|
|
160714
|
+
var plugin$c = {
|
|
160462
160715
|
pluginName: 'Permalink',
|
|
160463
160716
|
enabled: true,
|
|
160464
|
-
bundle: bundle$
|
|
160717
|
+
bundle: bundle$a,
|
|
160465
160718
|
components: [{
|
|
160466
160719
|
component: PermalinkButton$1,
|
|
160467
160720
|
region: 'right-sidebar-top',
|
|
@@ -160588,7 +160841,7 @@ function sum$2(array) {
|
|
|
160588
160841
|
|
|
160589
160842
|
var sum_1 = sum$2;
|
|
160590
160843
|
|
|
160591
|
-
var bundle$
|
|
160844
|
+
var bundle$b = {
|
|
160592
160845
|
name: "print",
|
|
160593
160846
|
getReducer: function getReducer() {
|
|
160594
160847
|
var initialData = {
|
|
@@ -160887,10 +161140,10 @@ var Button = function Button(_ref) {
|
|
|
160887
161140
|
|
|
160888
161141
|
var Button$1 = connect("doPrintMap", Button);
|
|
160889
161142
|
|
|
160890
|
-
var plugin$
|
|
161143
|
+
var plugin$d = {
|
|
160891
161144
|
pluginName: "Print Map",
|
|
160892
161145
|
enabled: true,
|
|
160893
|
-
bundle: bundle$
|
|
161146
|
+
bundle: bundle$b,
|
|
160894
161147
|
components: [{
|
|
160895
161148
|
component: Button$1,
|
|
160896
161149
|
region: "basic-toolbar",
|
|
@@ -161155,7 +161408,7 @@ var questionsTab$1 = connect("doModalOpen", "doQuestionBarActivate", "selectQues
|
|
|
161155
161408
|
|
|
161156
161409
|
var _name$getReducer$doHa;
|
|
161157
161410
|
|
|
161158
|
-
var bundle$
|
|
161411
|
+
var bundle$c = (_name$getReducer$doHa = {
|
|
161159
161412
|
name: "questionsTab",
|
|
161160
161413
|
getReducer: function getReducer() {
|
|
161161
161414
|
var initialData = {
|
|
@@ -161391,10 +161644,10 @@ var bundle$b = (_name$getReducer$doHa = {
|
|
|
161391
161644
|
return state.questionsTab.errorList;
|
|
161392
161645
|
}), _name$getReducer$doHa);
|
|
161393
161646
|
|
|
161394
|
-
var plugin$
|
|
161647
|
+
var plugin$e = {
|
|
161395
161648
|
pluginName: "questionsTab",
|
|
161396
161649
|
enabled: true,
|
|
161397
|
-
bundle: bundle$
|
|
161650
|
+
bundle: bundle$c,
|
|
161398
161651
|
components: [{
|
|
161399
161652
|
component: questionsTab$1,
|
|
161400
161653
|
region: "right-sidebar-top",
|
|
@@ -161402,7 +161655,7 @@ var plugin$d = {
|
|
|
161402
161655
|
}]
|
|
161403
161656
|
};
|
|
161404
161657
|
|
|
161405
|
-
var bundle$
|
|
161658
|
+
var bundle$d = {
|
|
161406
161659
|
name: "rasterIdent",
|
|
161407
161660
|
getReducer: function getReducer() {
|
|
161408
161661
|
var initialData = {
|
|
@@ -161493,10 +161746,10 @@ var bundle$c = {
|
|
|
161493
161746
|
}
|
|
161494
161747
|
};
|
|
161495
161748
|
|
|
161496
|
-
var plugin$
|
|
161749
|
+
var plugin$f = {
|
|
161497
161750
|
pluginName: 'Identify Raster',
|
|
161498
161751
|
enabled: true,
|
|
161499
|
-
bundle: bundle$
|
|
161752
|
+
bundle: bundle$d,
|
|
161500
161753
|
components: []
|
|
161501
161754
|
};
|
|
161502
161755
|
|
|
@@ -161544,7 +161797,7 @@ var RotateNorthButton = /*#__PURE__*/function (_React$Component) {
|
|
|
161544
161797
|
|
|
161545
161798
|
var RotateNorthButton$1 = connect("doSetRotationNorth", "selectMapRotation", RotateNorthButton);
|
|
161546
161799
|
|
|
161547
|
-
var plugin$
|
|
161800
|
+
var plugin$g = {
|
|
161548
161801
|
pluginName: 'NorthButton',
|
|
161549
161802
|
enabled: true,
|
|
161550
161803
|
components: [{
|
|
@@ -161554,7 +161807,7 @@ var plugin$f = {
|
|
|
161554
161807
|
}]
|
|
161555
161808
|
};
|
|
161556
161809
|
|
|
161557
|
-
var bundle$
|
|
161810
|
+
var bundle$e = {
|
|
161558
161811
|
name: 'themeSwitcher',
|
|
161559
161812
|
getReducer: function getReducer() {
|
|
161560
161813
|
var initialData = {
|
|
@@ -161688,7 +161941,7 @@ var ThemeSwitcherButton = /*#__PURE__*/function (_React$Component) {
|
|
|
161688
161941
|
return ThemeSwitcherButton;
|
|
161689
161942
|
}(React$1__default.Component);
|
|
161690
161943
|
|
|
161691
|
-
var plugin$
|
|
161944
|
+
var plugin$h = {
|
|
161692
161945
|
pluginName: 'Theme Switcher',
|
|
161693
161946
|
enabled: true,
|
|
161694
161947
|
components: [{
|
|
@@ -161696,7 +161949,7 @@ var plugin$g = {
|
|
|
161696
161949
|
region: 'left-sidebar-bottom',
|
|
161697
161950
|
sortOrder: 30
|
|
161698
161951
|
}],
|
|
161699
|
-
bundle: bundle$
|
|
161952
|
+
bundle: bundle$e
|
|
161700
161953
|
};
|
|
161701
161954
|
|
|
161702
161955
|
var TreeviewButton = /*#__PURE__*/function (_React$Component) {
|
|
@@ -162721,7 +162974,7 @@ var treeViewDownload = {
|
|
|
162721
162974
|
}
|
|
162722
162975
|
};
|
|
162723
162976
|
|
|
162724
|
-
var plugin$
|
|
162977
|
+
var plugin$i = function plugin(controls) {
|
|
162725
162978
|
return {
|
|
162726
162979
|
pluginName: "LayerTree",
|
|
162727
162980
|
enabled: true,
|
|
@@ -162735,7 +162988,7 @@ var plugin$h = function plugin(controls) {
|
|
|
162735
162988
|
};
|
|
162736
162989
|
|
|
162737
162990
|
var geoJSON$3 = new GeoJSON();
|
|
162738
|
-
var bundle$
|
|
162991
|
+
var bundle$f = {
|
|
162739
162992
|
name: "vectorIdent",
|
|
162740
162993
|
getReducer: function getReducer() {
|
|
162741
162994
|
var initialData = {
|
|
@@ -162807,6 +163060,7 @@ var bundle$e = {
|
|
|
162807
163060
|
if (!booleanDisjoint(identifyFeature, geoJsonFeature)) outFeatures.push(geoJsonFeature);
|
|
162808
163061
|
});
|
|
162809
163062
|
outFeatures = identifyColumnsArcgisvector(outFeatures, excludedColumns); //Column Filtering
|
|
163063
|
+
//Fix bug below only acting on layer 0
|
|
162810
163064
|
|
|
162811
163065
|
if (layers[0].identifyFields) {
|
|
162812
163066
|
outFeatures.forEach(function (feature) {
|
|
@@ -162877,10 +163131,10 @@ var bundle$e = {
|
|
|
162877
163131
|
}
|
|
162878
163132
|
};
|
|
162879
163133
|
|
|
162880
|
-
var plugin$
|
|
163134
|
+
var plugin$j = {
|
|
162881
163135
|
pluginName: 'Identify Vector',
|
|
162882
163136
|
enabled: true,
|
|
162883
|
-
bundle: bundle$
|
|
163137
|
+
bundle: bundle$f,
|
|
162884
163138
|
components: []
|
|
162885
163139
|
};
|
|
162886
163140
|
|
|
@@ -162934,7 +163188,7 @@ function values$1(object) {
|
|
|
162934
163188
|
|
|
162935
163189
|
var values_1 = values$1;
|
|
162936
163190
|
|
|
162937
|
-
var bundle$
|
|
163191
|
+
var bundle$g = {
|
|
162938
163192
|
name: 'vectorSearch',
|
|
162939
163193
|
getReducer: function getReducer() {
|
|
162940
163194
|
var initialData = {
|
|
@@ -163054,10 +163308,10 @@ var bundle$f = {
|
|
|
163054
163308
|
}
|
|
163055
163309
|
};
|
|
163056
163310
|
|
|
163057
|
-
var plugin$
|
|
163311
|
+
var plugin$k = {
|
|
163058
163312
|
pluginName: 'Vector Search',
|
|
163059
163313
|
enabled: true,
|
|
163060
|
-
bundle: bundle$
|
|
163314
|
+
bundle: bundle$g,
|
|
163061
163315
|
components: []
|
|
163062
163316
|
};
|
|
163063
163317
|
|
|
@@ -163137,7 +163391,7 @@ var ZoomOutButton = /*#__PURE__*/function (_React$Component) {
|
|
|
163137
163391
|
|
|
163138
163392
|
var ZoomOutButton$1 = connect('doZoomOut', ZoomOutButton);
|
|
163139
163393
|
|
|
163140
|
-
var plugin$
|
|
163394
|
+
var plugin$l = {
|
|
163141
163395
|
pluginName: 'ZoomButtons',
|
|
163142
163396
|
enabled: true,
|
|
163143
163397
|
components: [{
|
|
@@ -163194,7 +163448,7 @@ var zoomIndicator = /*#__PURE__*/function (_React$Component) {
|
|
|
163194
163448
|
|
|
163195
163449
|
var zoomIndicator$1 = connect('doZoomIndicatorActivate', 'selectMapZoom', 'selectZoomLevelIndicator', zoomIndicator);
|
|
163196
163450
|
|
|
163197
|
-
var bundle$
|
|
163451
|
+
var bundle$h = {
|
|
163198
163452
|
name: "zoomLevel",
|
|
163199
163453
|
getReducer: function getReducer() {
|
|
163200
163454
|
var initialData = {
|
|
@@ -163234,10 +163488,10 @@ var bundle$g = {
|
|
|
163234
163488
|
}
|
|
163235
163489
|
};
|
|
163236
163490
|
|
|
163237
|
-
var plugin$
|
|
163491
|
+
var plugin$m = {
|
|
163238
163492
|
pluginName: 'zoomIndicator',
|
|
163239
163493
|
enabled: true,
|
|
163240
|
-
bundle: bundle$
|
|
163494
|
+
bundle: bundle$h,
|
|
163241
163495
|
components: [{
|
|
163242
163496
|
component: zoomIndicator$1,
|
|
163243
163497
|
region: 'right-sidebar-top',
|
|
@@ -163312,7 +163566,7 @@ var ZoomHomeButton = /*#__PURE__*/function (_React$Component) {
|
|
|
163312
163566
|
|
|
163313
163567
|
var ZoomHomeButton$1 = connect("doZoomHome", "doZoomHomeResetLoc", "doNotificationsFire", ZoomHomeButton);
|
|
163314
163568
|
|
|
163315
|
-
var bundle$
|
|
163569
|
+
var bundle$i = {
|
|
163316
163570
|
name: "zoomHome",
|
|
163317
163571
|
getReducer: function getReducer() {
|
|
163318
163572
|
var initialData = {
|
|
@@ -163383,10 +163637,10 @@ var bundle$h = {
|
|
|
163383
163637
|
}
|
|
163384
163638
|
};
|
|
163385
163639
|
|
|
163386
|
-
var plugin$
|
|
163640
|
+
var plugin$n = {
|
|
163387
163641
|
pluginName: "ZoomToInitial",
|
|
163388
163642
|
enabled: true,
|
|
163389
|
-
bundle: bundle$
|
|
163643
|
+
bundle: bundle$i,
|
|
163390
163644
|
components: [{
|
|
163391
163645
|
component: ZoomHomeButton$1,
|
|
163392
163646
|
region: "left-sidebar-top",
|
|
@@ -163458,7 +163712,7 @@ var ZoomToBoxButton$1 = connect('doStartZoomBox', 'doStopZoomBox', ZoomToBoxButt
|
|
|
163458
163712
|
var zoombox = createInteraction({
|
|
163459
163713
|
interaction: 'dragbox'
|
|
163460
163714
|
});
|
|
163461
|
-
var bundle$
|
|
163715
|
+
var bundle$j = {
|
|
163462
163716
|
name: 'zoombox',
|
|
163463
163717
|
getReducer: function getReducer() {
|
|
163464
163718
|
var initialData = {
|
|
@@ -163556,10 +163810,10 @@ var bundle$i = {
|
|
|
163556
163810
|
}
|
|
163557
163811
|
};
|
|
163558
163812
|
|
|
163559
|
-
var plugin$
|
|
163813
|
+
var plugin$o = {
|
|
163560
163814
|
pluginName: 'ZoomtoExtent',
|
|
163561
163815
|
enabled: true,
|
|
163562
|
-
bundle: bundle$
|
|
163816
|
+
bundle: bundle$j,
|
|
163563
163817
|
components: [{
|
|
163564
163818
|
component: ZoomToBoxButton$1,
|
|
163565
163819
|
region: 'basic-toolbar',
|
|
@@ -163611,7 +163865,7 @@ var MapLoadingIndicator = /*#__PURE__*/function (_React$Component) {
|
|
|
163611
163865
|
|
|
163612
163866
|
var MapLoadingIndicator$1 = connect("selectMapLoading", MapLoadingIndicator);
|
|
163613
163867
|
|
|
163614
|
-
var bundle$
|
|
163868
|
+
var bundle$k = {
|
|
163615
163869
|
name: "mapLoading",
|
|
163616
163870
|
getReducer: function getReducer() {
|
|
163617
163871
|
var initialData = {
|
|
@@ -163648,10 +163902,10 @@ var bundle$j = {
|
|
|
163648
163902
|
}
|
|
163649
163903
|
};
|
|
163650
163904
|
|
|
163651
|
-
var plugin$
|
|
163905
|
+
var plugin$p = {
|
|
163652
163906
|
pluginName: "MapLoadingIndicator",
|
|
163653
163907
|
enabled: true,
|
|
163654
|
-
bundle: bundle$
|
|
163908
|
+
bundle: bundle$k,
|
|
163655
163909
|
components: [{
|
|
163656
163910
|
component: MapLoadingIndicator$1,
|
|
163657
163911
|
region: "lower-right-toolbar",
|
|
@@ -163680,26 +163934,27 @@ exports.addData = plugin;
|
|
|
163680
163934
|
exports.arcgisIdent = plugin$1;
|
|
163681
163935
|
exports.basemapSwitcher = plugin$2;
|
|
163682
163936
|
exports.bookmarks = plugin$3;
|
|
163683
|
-
exports.
|
|
163684
|
-
exports.
|
|
163937
|
+
exports.changeLog = plugin$4;
|
|
163938
|
+
exports.coordDisplay = plugin$5;
|
|
163939
|
+
exports.draw = plugin$6;
|
|
163685
163940
|
exports.esriIdent = plugin$1;
|
|
163686
|
-
exports.geocoder = plugin$
|
|
163687
|
-
exports.geojsonIdent = plugin$
|
|
163688
|
-
exports.identify = plugin$
|
|
163689
|
-
exports.legend = plugin$
|
|
163690
|
-
exports.mapLoadingIndicator = plugin$
|
|
163691
|
-
exports.measureTools = plugin$
|
|
163692
|
-
exports.permalink = plugin$
|
|
163693
|
-
exports.printMap = plugin$
|
|
163694
|
-
exports.questionsTab = plugin$
|
|
163695
|
-
exports.rasterIdent = plugin$
|
|
163696
|
-
exports.rotateNorth = plugin$
|
|
163697
|
-
exports.themeSwitcher = plugin$
|
|
163698
|
-
exports.treeView = plugin$
|
|
163941
|
+
exports.geocoder = plugin$7;
|
|
163942
|
+
exports.geojsonIdent = plugin$8;
|
|
163943
|
+
exports.identify = plugin$9;
|
|
163944
|
+
exports.legend = plugin$a;
|
|
163945
|
+
exports.mapLoadingIndicator = plugin$p;
|
|
163946
|
+
exports.measureTools = plugin$b;
|
|
163947
|
+
exports.permalink = plugin$c;
|
|
163948
|
+
exports.printMap = plugin$d;
|
|
163949
|
+
exports.questionsTab = plugin$e;
|
|
163950
|
+
exports.rasterIdent = plugin$f;
|
|
163951
|
+
exports.rotateNorth = plugin$g;
|
|
163952
|
+
exports.themeSwitcher = plugin$h;
|
|
163953
|
+
exports.treeView = plugin$i;
|
|
163699
163954
|
exports.treeViewPanel = TreeviewPanel$1;
|
|
163700
|
-
exports.vectorIdent = plugin$
|
|
163701
|
-
exports.vectorSearch = plugin$
|
|
163702
|
-
exports.zoomHome = plugin$
|
|
163703
|
-
exports.zoomInOut = plugin$
|
|
163704
|
-
exports.zoomLevel = plugin$
|
|
163705
|
-
exports.zoomToBox = plugin$
|
|
163955
|
+
exports.vectorIdent = plugin$j;
|
|
163956
|
+
exports.vectorSearch = plugin$k;
|
|
163957
|
+
exports.zoomHome = plugin$n;
|
|
163958
|
+
exports.zoomInOut = plugin$l;
|
|
163959
|
+
exports.zoomLevel = plugin$m;
|
|
163960
|
+
exports.zoomToBox = plugin$o;
|