@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/dev.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'));
|
|
@@ -106567,7 +106567,7 @@ var config = {
|
|
|
106567
106567
|
};
|
|
106568
106568
|
|
|
106569
106569
|
var name = "@corpsmap/corpsmap";
|
|
106570
|
-
var version$1 = "3.2.
|
|
106570
|
+
var version$1 = "3.2.25";
|
|
106571
106571
|
var description = "CorpsMap as React Components";
|
|
106572
106572
|
var main = "index.js";
|
|
106573
106573
|
var scripts = {
|
|
@@ -118076,7 +118076,7 @@ var binaryajax = binaryAjax;
|
|
|
118076
118076
|
function binaryAjax(url) {
|
|
118077
118077
|
return new lib$2(function(resolve, reject) {
|
|
118078
118078
|
var type = url.slice(-3);
|
|
118079
|
-
var parsed = url$
|
|
118079
|
+
var parsed = url$2.parse(url);
|
|
118080
118080
|
var method = http;
|
|
118081
118081
|
if (parsed.protocol === 'https:') {
|
|
118082
118082
|
method = https;
|
|
@@ -133826,6 +133826,257 @@ var plugin$3 = {
|
|
|
133826
133826
|
}]
|
|
133827
133827
|
};
|
|
133828
133828
|
|
|
133829
|
+
var ChangeLogModal = /*#__PURE__*/function (_React$Component) {
|
|
133830
|
+
_inherits(ChangeLogModal, _React$Component);
|
|
133831
|
+
|
|
133832
|
+
var _super = _createSuper(ChangeLogModal);
|
|
133833
|
+
|
|
133834
|
+
function ChangeLogModal(props) {
|
|
133835
|
+
var _this;
|
|
133836
|
+
|
|
133837
|
+
_classCallCheck(this, ChangeLogModal);
|
|
133838
|
+
|
|
133839
|
+
_this = _super.call(this, props);
|
|
133840
|
+
_this.state = {};
|
|
133841
|
+
_this.close = _this.close.bind(_assertThisInitialized(_this)); // this.handleSubmit = this.handleSubmit.bind(this);
|
|
133842
|
+
|
|
133843
|
+
return _this;
|
|
133844
|
+
}
|
|
133845
|
+
|
|
133846
|
+
_createClass(ChangeLogModal, [{
|
|
133847
|
+
key: "close",
|
|
133848
|
+
value: function close() {
|
|
133849
|
+
var doModalClose = this.props.doModalClose;
|
|
133850
|
+
doModalClose();
|
|
133851
|
+
}
|
|
133852
|
+
}, {
|
|
133853
|
+
key: "render",
|
|
133854
|
+
value: function render() {
|
|
133855
|
+
var _this$props = this.props,
|
|
133856
|
+
theme = _this$props.theme,
|
|
133857
|
+
doGetChangeLogData = _this$props.doGetChangeLogData,
|
|
133858
|
+
changeLogItems = _this$props.changeLogItems; // doGetChangeLogData();
|
|
133859
|
+
|
|
133860
|
+
debugger;
|
|
133861
|
+
var loginDataWk = changeLogItems;
|
|
133862
|
+
var arrayDataItems = loginDataWk.map(function (data) {
|
|
133863
|
+
return /*#__PURE__*/React$1__default.createElement("li", {
|
|
133864
|
+
key: data.id
|
|
133865
|
+
}, /*#__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));
|
|
133866
|
+
});
|
|
133867
|
+
return /*#__PURE__*/React$1__default.createElement("div", null, /*#__PURE__*/React$1__default.createElement("div", {
|
|
133868
|
+
className: "cm-modal-header " + theme
|
|
133869
|
+
}, "Change Log"), /*#__PURE__*/React$1__default.createElement("div", {
|
|
133870
|
+
className: "cm-modal-body",
|
|
133871
|
+
style: {
|
|
133872
|
+
height: 290,
|
|
133873
|
+
top: 0,
|
|
133874
|
+
bottom: 0,
|
|
133875
|
+
left: 0,
|
|
133876
|
+
right: 0
|
|
133877
|
+
}
|
|
133878
|
+
}, /*#__PURE__*/React$1__default.createElement("div", {
|
|
133879
|
+
className: "cm-form-group"
|
|
133880
|
+
}, /*#__PURE__*/React$1__default.createElement("div", {
|
|
133881
|
+
style: {
|
|
133882
|
+
overflow: "auto scroll",
|
|
133883
|
+
width: "875px",
|
|
133884
|
+
height: "350px"
|
|
133885
|
+
}
|
|
133886
|
+
}, /*#__PURE__*/React$1__default.createElement("ul", null, arrayDataItems)))), /*#__PURE__*/React$1__default.createElement("div", {
|
|
133887
|
+
className: "cm-modal-footer"
|
|
133888
|
+
}, /*#__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", {
|
|
133889
|
+
style: {
|
|
133890
|
+
textAlign: "left"
|
|
133891
|
+
},
|
|
133892
|
+
type: "Close",
|
|
133893
|
+
className: "cm-btn cm-btn-theme " + theme,
|
|
133894
|
+
onClick: this.close
|
|
133895
|
+
}, "Close")));
|
|
133896
|
+
}
|
|
133897
|
+
}]);
|
|
133898
|
+
|
|
133899
|
+
return ChangeLogModal;
|
|
133900
|
+
}(React$1__default.Component);
|
|
133901
|
+
|
|
133902
|
+
var ChangeLogModal$1 = connect("selectTheme", "selectChangeLogItems", "doModalClose", "doSubmitNotification", "doGetChangeLogData", ChangeLogModal);
|
|
133903
|
+
|
|
133904
|
+
var url$1 = "".concat(process.env.REACT_APP_FUDS_CHANGE_LOG_URL);
|
|
133905
|
+
var testData = [{
|
|
133906
|
+
"id": 4713,
|
|
133907
|
+
"environment": "Public and Internal GIS",
|
|
133908
|
+
"change_type": "Data Change",
|
|
133909
|
+
"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",
|
|
133910
|
+
"create_date": "2023-08-23T15:41:24Z"
|
|
133911
|
+
}, {
|
|
133912
|
+
"id": 4714,
|
|
133913
|
+
"environment": "Public and Internal GIS",
|
|
133914
|
+
"change_type": "Data Change",
|
|
133915
|
+
"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",
|
|
133916
|
+
"create_date": "2023-08-23T15:41:24Z"
|
|
133917
|
+
}, {
|
|
133918
|
+
"id": 4715,
|
|
133919
|
+
"environment": "Public and Internal GIS",
|
|
133920
|
+
"change_type": "Data Change",
|
|
133921
|
+
"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",
|
|
133922
|
+
"create_date": "2023-08-23T15:41:24Z"
|
|
133923
|
+
}];
|
|
133924
|
+
var bundle$3 = {
|
|
133925
|
+
name: 'changeLog',
|
|
133926
|
+
getReducer: function getReducer() {
|
|
133927
|
+
var initialData = {
|
|
133928
|
+
items: testData,
|
|
133929
|
+
renderModal: false
|
|
133930
|
+
};
|
|
133931
|
+
return function () {
|
|
133932
|
+
var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : initialData;
|
|
133933
|
+
|
|
133934
|
+
var _ref = arguments.length > 1 ? arguments[1] : undefined,
|
|
133935
|
+
type = _ref.type,
|
|
133936
|
+
payload = _ref.payload;
|
|
133937
|
+
|
|
133938
|
+
switch (type) {
|
|
133939
|
+
case "CHANGE_LOG_LOAD_TEST_DATA":
|
|
133940
|
+
case "CHANGE_LOG_LOAD_PRODUCTION_DATA":
|
|
133941
|
+
case "CHANGE_LOG_MODAL_WINDOW_OPENED":
|
|
133942
|
+
return Object.assign({}, state, payload);
|
|
133943
|
+
|
|
133944
|
+
default:
|
|
133945
|
+
return state;
|
|
133946
|
+
}
|
|
133947
|
+
};
|
|
133948
|
+
},
|
|
133949
|
+
doGetChangeLogData: function doGetChangeLogData() {
|
|
133950
|
+
return function (_ref2) {
|
|
133951
|
+
var dispatch = _ref2.dispatch,
|
|
133952
|
+
store = _ref2.store,
|
|
133953
|
+
anonGet = _ref2.anonGet;
|
|
133954
|
+
anonGet(url$1, function (err, response, body) {
|
|
133955
|
+
if (err || response.statusCode !== 200) {
|
|
133956
|
+
// alert("Load Test Data Instead!")
|
|
133957
|
+
dispatch({
|
|
133958
|
+
type: "CHANGE_LOG_LOAD_TEST_DATA",
|
|
133959
|
+
payload: {
|
|
133960
|
+
items: testData,
|
|
133961
|
+
renderModal: true
|
|
133962
|
+
}
|
|
133963
|
+
});
|
|
133964
|
+
} else {
|
|
133965
|
+
try {
|
|
133966
|
+
console.log("Production Change Log Data");
|
|
133967
|
+
console.log(body);
|
|
133968
|
+
var data = JSON.parse(body);
|
|
133969
|
+
console.log('data');
|
|
133970
|
+
console.log(data);
|
|
133971
|
+
var items = data.items;
|
|
133972
|
+
console.log("ITEMS");
|
|
133973
|
+
console.log(items);
|
|
133974
|
+
debugger;
|
|
133975
|
+
dispatch({
|
|
133976
|
+
type: "LOAD_PRODUCTION_DATA",
|
|
133977
|
+
payload: {
|
|
133978
|
+
items: items,
|
|
133979
|
+
renderModal: true
|
|
133980
|
+
}
|
|
133981
|
+
});
|
|
133982
|
+
} catch (err) {
|
|
133983
|
+
alert(" ! ! ! ERROR IN CATCH BLOCK ! ! ! ");
|
|
133984
|
+
}
|
|
133985
|
+
}
|
|
133986
|
+
});
|
|
133987
|
+
};
|
|
133988
|
+
},
|
|
133989
|
+
doOpenModalLog: function doOpenModalLog() {
|
|
133990
|
+
return function (_ref3) {
|
|
133991
|
+
var dispatch = _ref3.dispatch,
|
|
133992
|
+
store = _ref3.store;
|
|
133993
|
+
store.doModalOpen({
|
|
133994
|
+
children: [ChangeLogModal$1],
|
|
133995
|
+
options: {},
|
|
133996
|
+
openedBy: 'ChangeLogButton'
|
|
133997
|
+
});
|
|
133998
|
+
dispatch({
|
|
133999
|
+
type: "CHANGE_LOG_MODAL_WINDOW_OPENED",
|
|
134000
|
+
payload: {
|
|
134001
|
+
renderModal: false
|
|
134002
|
+
}
|
|
134003
|
+
});
|
|
134004
|
+
};
|
|
134005
|
+
},
|
|
134006
|
+
selectChangeLogItems: function selectChangeLogItems(state) {
|
|
134007
|
+
return state.changeLog.items;
|
|
134008
|
+
},
|
|
134009
|
+
reactRenderChangeLogModal: function reactRenderChangeLogModal(state) {
|
|
134010
|
+
if (state.changeLog.renderModal) return {
|
|
134011
|
+
actionCreator: "doOpenModalLog"
|
|
134012
|
+
};
|
|
134013
|
+
}
|
|
134014
|
+
};
|
|
134015
|
+
|
|
134016
|
+
var ChangeLogButton = /*#__PURE__*/function (_React$Component) {
|
|
134017
|
+
_inherits(ChangeLogButton, _React$Component);
|
|
134018
|
+
|
|
134019
|
+
var _super = _createSuper(ChangeLogButton);
|
|
134020
|
+
|
|
134021
|
+
function ChangeLogButton(props) {
|
|
134022
|
+
var _this;
|
|
134023
|
+
|
|
134024
|
+
_classCallCheck(this, ChangeLogButton);
|
|
134025
|
+
|
|
134026
|
+
_this = _super.call(this, props);
|
|
134027
|
+
_this.handleClick = _this.handleClick.bind(_assertThisInitialized(_this));
|
|
134028
|
+
_this.openModalLog = _this.openModalLog.bind(_assertThisInitialized(_this));
|
|
134029
|
+
return _this;
|
|
134030
|
+
}
|
|
134031
|
+
|
|
134032
|
+
_createClass(ChangeLogButton, [{
|
|
134033
|
+
key: "openModalLog",
|
|
134034
|
+
value: function openModalLog() {
|
|
134035
|
+
var doModalOpen = this.props.doModalOpen;
|
|
134036
|
+
doModalOpen({
|
|
134037
|
+
children: [ChangeLogModal$1],
|
|
134038
|
+
options: {},
|
|
134039
|
+
openedBy: 'ChangeLogButton'
|
|
134040
|
+
});
|
|
134041
|
+
}
|
|
134042
|
+
}, {
|
|
134043
|
+
key: "handleClick",
|
|
134044
|
+
value: function handleClick() {
|
|
134045
|
+
var doGetChangeLogData = this.props.doGetChangeLogData;
|
|
134046
|
+
doGetChangeLogData(); // this.openModalLog();
|
|
134047
|
+
// Load Data
|
|
134048
|
+
// After Data is loaded change renderModal true
|
|
134049
|
+
// Add a listener that does doModalOpend
|
|
134050
|
+
// doGetChangeLogData();
|
|
134051
|
+
}
|
|
134052
|
+
}, {
|
|
134053
|
+
key: "render",
|
|
134054
|
+
value: function render() {
|
|
134055
|
+
return /*#__PURE__*/React$1__default.createElement(SidebarButton$1, {
|
|
134056
|
+
iconClass: "mdi mdi-exclamation",
|
|
134057
|
+
label: "Change Log",
|
|
134058
|
+
title: "Change Log",
|
|
134059
|
+
onClick: this.handleClick
|
|
134060
|
+
});
|
|
134061
|
+
}
|
|
134062
|
+
}]);
|
|
134063
|
+
|
|
134064
|
+
return ChangeLogButton;
|
|
134065
|
+
}(React$1__default.Component);
|
|
134066
|
+
|
|
134067
|
+
var changeLogButton = connect("doModalOpen", "doGetChangeLogData", ChangeLogButton);
|
|
134068
|
+
|
|
134069
|
+
var plugin$4 = {
|
|
134070
|
+
pluginName: 'changeLog',
|
|
134071
|
+
enabled: true,
|
|
134072
|
+
bundle: bundle$3,
|
|
134073
|
+
components: [{
|
|
134074
|
+
component: changeLogButton,
|
|
134075
|
+
region: 'right-sidebar-top',
|
|
134076
|
+
sortOrder: 120
|
|
134077
|
+
}]
|
|
134078
|
+
};
|
|
134079
|
+
|
|
133829
134080
|
var CoordinateLatLonInput = function CoordinateLatLonInput(props) {
|
|
133830
134081
|
var label = props.label,
|
|
133831
134082
|
placeholder = props.placeholder,
|
|
@@ -134304,7 +134555,7 @@ function throttle(func, wait, options) {
|
|
|
134304
134555
|
|
|
134305
134556
|
var throttle_1 = throttle;
|
|
134306
134557
|
|
|
134307
|
-
var bundle$
|
|
134558
|
+
var bundle$4 = {
|
|
134308
134559
|
name: "coordinateDisplay",
|
|
134309
134560
|
getReducer: function getReducer() {
|
|
134310
134561
|
var initialData = {
|
|
@@ -134588,10 +134839,10 @@ var bundle$3 = {
|
|
|
134588
134839
|
}
|
|
134589
134840
|
};
|
|
134590
134841
|
|
|
134591
|
-
var plugin$
|
|
134842
|
+
var plugin$5 = {
|
|
134592
134843
|
pluginName: 'PositionText',
|
|
134593
134844
|
enabled: true,
|
|
134594
|
-
bundle: bundle$
|
|
134845
|
+
bundle: bundle$4,
|
|
134595
134846
|
components: [{
|
|
134596
134847
|
component: CoordinateDisplay$1,
|
|
134597
134848
|
region: 'lower-right-toolbar',
|
|
@@ -135644,7 +135895,7 @@ var drawSaveBundle = {
|
|
|
135644
135895
|
persistActions: ['DRAW_SAVE_COMPLETE']
|
|
135645
135896
|
};
|
|
135646
135897
|
|
|
135647
|
-
var plugin$
|
|
135898
|
+
var plugin$6 = {
|
|
135648
135899
|
pluginName: 'Draw Tools',
|
|
135649
135900
|
enabled: true,
|
|
135650
135901
|
bundle: [createDrawBundle({
|
|
@@ -135837,7 +136088,7 @@ var zoomScales = {
|
|
|
135837
136088
|
poi: 19,
|
|
135838
136089
|
"poi.landmark": 19
|
|
135839
136090
|
};
|
|
135840
|
-
var bundle$
|
|
136091
|
+
var bundle$5 = {
|
|
135841
136092
|
name: "geocoder",
|
|
135842
136093
|
getReducer: function getReducer() {
|
|
135843
136094
|
var initialData = {
|
|
@@ -135995,10 +136246,10 @@ var bundle$4 = {
|
|
|
135995
136246
|
}
|
|
135996
136247
|
};
|
|
135997
136248
|
|
|
135998
|
-
var plugin$
|
|
136249
|
+
var plugin$7 = {
|
|
135999
136250
|
pluginName: 'Geocoder',
|
|
136000
136251
|
enabled: true,
|
|
136001
|
-
bundle: bundle$
|
|
136252
|
+
bundle: bundle$5,
|
|
136002
136253
|
components: [{
|
|
136003
136254
|
component: SearchBar$1,
|
|
136004
136255
|
region: 'basic-toolbar',
|
|
@@ -138300,7 +138551,7 @@ function compareCoords(pair1, pair2) {
|
|
|
138300
138551
|
return pair1[0] === pair2[0] && pair1[1] === pair2[1];
|
|
138301
138552
|
}
|
|
138302
138553
|
|
|
138303
|
-
var bundle$
|
|
138554
|
+
var bundle$6 = {
|
|
138304
138555
|
name: 'geojsonIdent',
|
|
138305
138556
|
getReducer: function getReducer() {
|
|
138306
138557
|
var initialData = {
|
|
@@ -138472,10 +138723,10 @@ var bundle$5 = {
|
|
|
138472
138723
|
}
|
|
138473
138724
|
};
|
|
138474
138725
|
|
|
138475
|
-
var plugin$
|
|
138726
|
+
var plugin$8 = {
|
|
138476
138727
|
pluginName: 'Identify GeoJSON',
|
|
138477
138728
|
enabled: true,
|
|
138478
|
-
bundle: bundle$
|
|
138729
|
+
bundle: bundle$6,
|
|
138479
138730
|
components: []
|
|
138480
138731
|
};
|
|
138481
138732
|
|
|
@@ -142328,7 +142579,7 @@ var bufferLayer = getLayer({
|
|
|
142328
142579
|
var identify = {
|
|
142329
142580
|
overlays: []
|
|
142330
142581
|
};
|
|
142331
|
-
var bundle$
|
|
142582
|
+
var bundle$7 = {
|
|
142332
142583
|
name: "identifyUi",
|
|
142333
142584
|
getReducer: function getReducer() {
|
|
142334
142585
|
var initialData = {
|
|
@@ -143041,7 +143292,8 @@ var ArcGisListener = {
|
|
|
143041
143292
|
var visibleLayers = store.selectVisibleLayers();
|
|
143042
143293
|
if (!visibleLayers.length) return callback(null, []);
|
|
143043
143294
|
var queries = [];
|
|
143044
|
-
var identifyFeature = store.doSetIdentifyFeature();
|
|
143295
|
+
var identifyFeature = store.doSetIdentifyFeature();
|
|
143296
|
+
var excludedColumns = store.selectIdentifyColumnsExclude(); //https://developers.arcgis.com/rest/services-reference/enterprise/identify-map-service-.htm
|
|
143045
143297
|
|
|
143046
143298
|
var params = {
|
|
143047
143299
|
sr: 4326,
|
|
@@ -143080,6 +143332,7 @@ var ArcGisListener = {
|
|
|
143080
143332
|
var data = JSON.parse(body);
|
|
143081
143333
|
|
|
143082
143334
|
if (data.results.length) {
|
|
143335
|
+
data = identifyColumnsArcgisrest(data, excludedColumns);
|
|
143083
143336
|
cb(null, {
|
|
143084
143337
|
dataset: visibleLayer.uid,
|
|
143085
143338
|
layerName: visibleLayer.displayName,
|
|
@@ -143233,10 +143486,10 @@ var VectorListener = {
|
|
|
143233
143486
|
}
|
|
143234
143487
|
};
|
|
143235
143488
|
|
|
143236
|
-
var plugin$
|
|
143489
|
+
var plugin$9 = {
|
|
143237
143490
|
pluginName: "IdentifyTools",
|
|
143238
143491
|
enabled: true,
|
|
143239
|
-
bundle: [bundle$
|
|
143492
|
+
bundle: [bundle$7, ArcGisListener, // GeoJsonListener,
|
|
143240
143493
|
// RasterListener,
|
|
143241
143494
|
VectorListener],
|
|
143242
143495
|
components: [{
|
|
@@ -158995,7 +159248,7 @@ var LegendButton = /*#__PURE__*/function (_React$Component) {
|
|
|
158995
159248
|
}(React$1__default.Component);
|
|
158996
159249
|
|
|
158997
159250
|
var req = null;
|
|
158998
|
-
var bundle$
|
|
159251
|
+
var bundle$8 = {
|
|
158999
159252
|
name: "legend",
|
|
159000
159253
|
getReducer: function getReducer() {
|
|
159001
159254
|
var initialData = {
|
|
@@ -159705,10 +159958,10 @@ var bundle$7 = {
|
|
|
159705
159958
|
}
|
|
159706
159959
|
};
|
|
159707
159960
|
|
|
159708
|
-
var plugin$
|
|
159961
|
+
var plugin$a = {
|
|
159709
159962
|
pluginName: "Legend",
|
|
159710
159963
|
enabled: true,
|
|
159711
|
-
bundle: bundle$
|
|
159964
|
+
bundle: bundle$8,
|
|
159712
159965
|
components: [{
|
|
159713
159966
|
component: LegendButton,
|
|
159714
159967
|
region: "left-sidebar-top",
|
|
@@ -160124,7 +160377,7 @@ var modifyArea = createInteraction({
|
|
|
160124
160377
|
source: areaLayer.getSource()
|
|
160125
160378
|
}); // START BUNDLE
|
|
160126
160379
|
|
|
160127
|
-
var bundle$
|
|
160380
|
+
var bundle$9 = {
|
|
160128
160381
|
name: "measure",
|
|
160129
160382
|
getReducer: function getReducer() {
|
|
160130
160383
|
var initialData = {
|
|
@@ -160360,10 +160613,10 @@ var bundle$8 = {
|
|
|
160360
160613
|
}
|
|
160361
160614
|
};
|
|
160362
160615
|
|
|
160363
|
-
var plugin$
|
|
160616
|
+
var plugin$b = {
|
|
160364
160617
|
pluginName: 'MeasureArea',
|
|
160365
160618
|
enabled: true,
|
|
160366
|
-
bundle: bundle$
|
|
160619
|
+
bundle: bundle$9,
|
|
160367
160620
|
components: [{
|
|
160368
160621
|
component: MeasureToolsButton$1,
|
|
160369
160622
|
region: 'basic-toolbar',
|
|
@@ -160371,7 +160624,7 @@ var plugin$a = {
|
|
|
160371
160624
|
}]
|
|
160372
160625
|
};
|
|
160373
160626
|
|
|
160374
|
-
var bundle$
|
|
160627
|
+
var bundle$a = {
|
|
160375
160628
|
name: 'permalink',
|
|
160376
160629
|
getReducer: function getReducer() {
|
|
160377
160630
|
var initialData = {
|
|
@@ -160544,10 +160797,10 @@ var PermalinkButton = /*#__PURE__*/function (_React$Component) {
|
|
|
160544
160797
|
|
|
160545
160798
|
var PermalinkButton$1 = connect('doConstructPermalinkParams', 'doModalOpen', PermalinkButton);
|
|
160546
160799
|
|
|
160547
|
-
var plugin$
|
|
160800
|
+
var plugin$c = {
|
|
160548
160801
|
pluginName: 'Permalink',
|
|
160549
160802
|
enabled: true,
|
|
160550
|
-
bundle: bundle$
|
|
160803
|
+
bundle: bundle$a,
|
|
160551
160804
|
components: [{
|
|
160552
160805
|
component: PermalinkButton$1,
|
|
160553
160806
|
region: 'right-sidebar-top',
|
|
@@ -160674,7 +160927,7 @@ function sum$2(array) {
|
|
|
160674
160927
|
|
|
160675
160928
|
var sum_1 = sum$2;
|
|
160676
160929
|
|
|
160677
|
-
var bundle$
|
|
160930
|
+
var bundle$b = {
|
|
160678
160931
|
name: "print",
|
|
160679
160932
|
getReducer: function getReducer() {
|
|
160680
160933
|
var initialData = {
|
|
@@ -160973,10 +161226,10 @@ var Button = function Button(_ref) {
|
|
|
160973
161226
|
|
|
160974
161227
|
var Button$1 = connect("doPrintMap", Button);
|
|
160975
161228
|
|
|
160976
|
-
var plugin$
|
|
161229
|
+
var plugin$d = {
|
|
160977
161230
|
pluginName: "Print Map",
|
|
160978
161231
|
enabled: true,
|
|
160979
|
-
bundle: bundle$
|
|
161232
|
+
bundle: bundle$b,
|
|
160980
161233
|
components: [{
|
|
160981
161234
|
component: Button$1,
|
|
160982
161235
|
region: "basic-toolbar",
|
|
@@ -161241,7 +161494,7 @@ var questionsTab$1 = connect("doModalOpen", "doQuestionBarActivate", "selectQues
|
|
|
161241
161494
|
|
|
161242
161495
|
var _name$getReducer$doHa;
|
|
161243
161496
|
|
|
161244
|
-
var bundle$
|
|
161497
|
+
var bundle$c = (_name$getReducer$doHa = {
|
|
161245
161498
|
name: "questionsTab",
|
|
161246
161499
|
getReducer: function getReducer() {
|
|
161247
161500
|
var initialData = {
|
|
@@ -161477,10 +161730,10 @@ var bundle$b = (_name$getReducer$doHa = {
|
|
|
161477
161730
|
return state.questionsTab.errorList;
|
|
161478
161731
|
}), _name$getReducer$doHa);
|
|
161479
161732
|
|
|
161480
|
-
var plugin$
|
|
161733
|
+
var plugin$e = {
|
|
161481
161734
|
pluginName: "questionsTab",
|
|
161482
161735
|
enabled: true,
|
|
161483
|
-
bundle: bundle$
|
|
161736
|
+
bundle: bundle$c,
|
|
161484
161737
|
components: [{
|
|
161485
161738
|
component: questionsTab$1,
|
|
161486
161739
|
region: "right-sidebar-top",
|
|
@@ -161488,7 +161741,7 @@ var plugin$d = {
|
|
|
161488
161741
|
}]
|
|
161489
161742
|
};
|
|
161490
161743
|
|
|
161491
|
-
var bundle$
|
|
161744
|
+
var bundle$d = {
|
|
161492
161745
|
name: "rasterIdent",
|
|
161493
161746
|
getReducer: function getReducer() {
|
|
161494
161747
|
var initialData = {
|
|
@@ -161579,10 +161832,10 @@ var bundle$c = {
|
|
|
161579
161832
|
}
|
|
161580
161833
|
};
|
|
161581
161834
|
|
|
161582
|
-
var plugin$
|
|
161835
|
+
var plugin$f = {
|
|
161583
161836
|
pluginName: 'Identify Raster',
|
|
161584
161837
|
enabled: true,
|
|
161585
|
-
bundle: bundle$
|
|
161838
|
+
bundle: bundle$d,
|
|
161586
161839
|
components: []
|
|
161587
161840
|
};
|
|
161588
161841
|
|
|
@@ -161630,7 +161883,7 @@ var RotateNorthButton = /*#__PURE__*/function (_React$Component) {
|
|
|
161630
161883
|
|
|
161631
161884
|
var RotateNorthButton$1 = connect("doSetRotationNorth", "selectMapRotation", RotateNorthButton);
|
|
161632
161885
|
|
|
161633
|
-
var plugin$
|
|
161886
|
+
var plugin$g = {
|
|
161634
161887
|
pluginName: 'NorthButton',
|
|
161635
161888
|
enabled: true,
|
|
161636
161889
|
components: [{
|
|
@@ -161640,7 +161893,7 @@ var plugin$f = {
|
|
|
161640
161893
|
}]
|
|
161641
161894
|
};
|
|
161642
161895
|
|
|
161643
|
-
var bundle$
|
|
161896
|
+
var bundle$e = {
|
|
161644
161897
|
name: 'themeSwitcher',
|
|
161645
161898
|
getReducer: function getReducer() {
|
|
161646
161899
|
var initialData = {
|
|
@@ -161774,7 +162027,7 @@ var ThemeSwitcherButton = /*#__PURE__*/function (_React$Component) {
|
|
|
161774
162027
|
return ThemeSwitcherButton;
|
|
161775
162028
|
}(React$1__default.Component);
|
|
161776
162029
|
|
|
161777
|
-
var plugin$
|
|
162030
|
+
var plugin$h = {
|
|
161778
162031
|
pluginName: 'Theme Switcher',
|
|
161779
162032
|
enabled: true,
|
|
161780
162033
|
components: [{
|
|
@@ -161782,7 +162035,7 @@ var plugin$g = {
|
|
|
161782
162035
|
region: 'left-sidebar-bottom',
|
|
161783
162036
|
sortOrder: 30
|
|
161784
162037
|
}],
|
|
161785
|
-
bundle: bundle$
|
|
162038
|
+
bundle: bundle$e
|
|
161786
162039
|
};
|
|
161787
162040
|
|
|
161788
162041
|
var TreeviewButton = /*#__PURE__*/function (_React$Component) {
|
|
@@ -162807,7 +163060,7 @@ var treeViewDownload = {
|
|
|
162807
163060
|
}
|
|
162808
163061
|
};
|
|
162809
163062
|
|
|
162810
|
-
var plugin$
|
|
163063
|
+
var plugin$i = function plugin(controls) {
|
|
162811
163064
|
return {
|
|
162812
163065
|
pluginName: "LayerTree",
|
|
162813
163066
|
enabled: true,
|
|
@@ -162821,7 +163074,7 @@ var plugin$h = function plugin(controls) {
|
|
|
162821
163074
|
};
|
|
162822
163075
|
|
|
162823
163076
|
var geoJSON$3 = new GeoJSON();
|
|
162824
|
-
var bundle$
|
|
163077
|
+
var bundle$f = {
|
|
162825
163078
|
name: "vectorIdent",
|
|
162826
163079
|
getReducer: function getReducer() {
|
|
162827
163080
|
var initialData = {
|
|
@@ -162893,6 +163146,7 @@ var bundle$e = {
|
|
|
162893
163146
|
if (!booleanDisjoint(identifyFeature, geoJsonFeature)) outFeatures.push(geoJsonFeature);
|
|
162894
163147
|
});
|
|
162895
163148
|
outFeatures = identifyColumnsArcgisvector(outFeatures, excludedColumns); //Column Filtering
|
|
163149
|
+
//Fix bug below only acting on layer 0
|
|
162896
163150
|
|
|
162897
163151
|
if (layers[0].identifyFields) {
|
|
162898
163152
|
outFeatures.forEach(function (feature) {
|
|
@@ -162963,10 +163217,10 @@ var bundle$e = {
|
|
|
162963
163217
|
}
|
|
162964
163218
|
};
|
|
162965
163219
|
|
|
162966
|
-
var plugin$
|
|
163220
|
+
var plugin$j = {
|
|
162967
163221
|
pluginName: 'Identify Vector',
|
|
162968
163222
|
enabled: true,
|
|
162969
|
-
bundle: bundle$
|
|
163223
|
+
bundle: bundle$f,
|
|
162970
163224
|
components: []
|
|
162971
163225
|
};
|
|
162972
163226
|
|
|
@@ -163020,7 +163274,7 @@ function values$1(object) {
|
|
|
163020
163274
|
|
|
163021
163275
|
var values_1 = values$1;
|
|
163022
163276
|
|
|
163023
|
-
var bundle$
|
|
163277
|
+
var bundle$g = {
|
|
163024
163278
|
name: 'vectorSearch',
|
|
163025
163279
|
getReducer: function getReducer() {
|
|
163026
163280
|
var initialData = {
|
|
@@ -163140,10 +163394,10 @@ var bundle$f = {
|
|
|
163140
163394
|
}
|
|
163141
163395
|
};
|
|
163142
163396
|
|
|
163143
|
-
var plugin$
|
|
163397
|
+
var plugin$k = {
|
|
163144
163398
|
pluginName: 'Vector Search',
|
|
163145
163399
|
enabled: true,
|
|
163146
|
-
bundle: bundle$
|
|
163400
|
+
bundle: bundle$g,
|
|
163147
163401
|
components: []
|
|
163148
163402
|
};
|
|
163149
163403
|
|
|
@@ -163223,7 +163477,7 @@ var ZoomOutButton = /*#__PURE__*/function (_React$Component) {
|
|
|
163223
163477
|
|
|
163224
163478
|
var ZoomOutButton$1 = connect('doZoomOut', ZoomOutButton);
|
|
163225
163479
|
|
|
163226
|
-
var plugin$
|
|
163480
|
+
var plugin$l = {
|
|
163227
163481
|
pluginName: 'ZoomButtons',
|
|
163228
163482
|
enabled: true,
|
|
163229
163483
|
components: [{
|
|
@@ -163280,7 +163534,7 @@ var zoomIndicator = /*#__PURE__*/function (_React$Component) {
|
|
|
163280
163534
|
|
|
163281
163535
|
var zoomIndicator$1 = connect('doZoomIndicatorActivate', 'selectMapZoom', 'selectZoomLevelIndicator', zoomIndicator);
|
|
163282
163536
|
|
|
163283
|
-
var bundle$
|
|
163537
|
+
var bundle$h = {
|
|
163284
163538
|
name: "zoomLevel",
|
|
163285
163539
|
getReducer: function getReducer() {
|
|
163286
163540
|
var initialData = {
|
|
@@ -163320,10 +163574,10 @@ var bundle$g = {
|
|
|
163320
163574
|
}
|
|
163321
163575
|
};
|
|
163322
163576
|
|
|
163323
|
-
var plugin$
|
|
163577
|
+
var plugin$m = {
|
|
163324
163578
|
pluginName: 'zoomIndicator',
|
|
163325
163579
|
enabled: true,
|
|
163326
|
-
bundle: bundle$
|
|
163580
|
+
bundle: bundle$h,
|
|
163327
163581
|
components: [{
|
|
163328
163582
|
component: zoomIndicator$1,
|
|
163329
163583
|
region: 'right-sidebar-top',
|
|
@@ -163398,7 +163652,7 @@ var ZoomHomeButton = /*#__PURE__*/function (_React$Component) {
|
|
|
163398
163652
|
|
|
163399
163653
|
var ZoomHomeButton$1 = connect("doZoomHome", "doZoomHomeResetLoc", "doNotificationsFire", ZoomHomeButton);
|
|
163400
163654
|
|
|
163401
|
-
var bundle$
|
|
163655
|
+
var bundle$i = {
|
|
163402
163656
|
name: "zoomHome",
|
|
163403
163657
|
getReducer: function getReducer() {
|
|
163404
163658
|
var initialData = {
|
|
@@ -163469,10 +163723,10 @@ var bundle$h = {
|
|
|
163469
163723
|
}
|
|
163470
163724
|
};
|
|
163471
163725
|
|
|
163472
|
-
var plugin$
|
|
163726
|
+
var plugin$n = {
|
|
163473
163727
|
pluginName: "ZoomToInitial",
|
|
163474
163728
|
enabled: true,
|
|
163475
|
-
bundle: bundle$
|
|
163729
|
+
bundle: bundle$i,
|
|
163476
163730
|
components: [{
|
|
163477
163731
|
component: ZoomHomeButton$1,
|
|
163478
163732
|
region: "left-sidebar-top",
|
|
@@ -163544,7 +163798,7 @@ var ZoomToBoxButton$1 = connect('doStartZoomBox', 'doStopZoomBox', ZoomToBoxButt
|
|
|
163544
163798
|
var zoombox = createInteraction({
|
|
163545
163799
|
interaction: 'dragbox'
|
|
163546
163800
|
});
|
|
163547
|
-
var bundle$
|
|
163801
|
+
var bundle$j = {
|
|
163548
163802
|
name: 'zoombox',
|
|
163549
163803
|
getReducer: function getReducer() {
|
|
163550
163804
|
var initialData = {
|
|
@@ -163642,10 +163896,10 @@ var bundle$i = {
|
|
|
163642
163896
|
}
|
|
163643
163897
|
};
|
|
163644
163898
|
|
|
163645
|
-
var plugin$
|
|
163899
|
+
var plugin$o = {
|
|
163646
163900
|
pluginName: 'ZoomtoExtent',
|
|
163647
163901
|
enabled: true,
|
|
163648
|
-
bundle: bundle$
|
|
163902
|
+
bundle: bundle$j,
|
|
163649
163903
|
components: [{
|
|
163650
163904
|
component: ZoomToBoxButton$1,
|
|
163651
163905
|
region: 'basic-toolbar',
|
|
@@ -163697,7 +163951,7 @@ var MapLoadingIndicator = /*#__PURE__*/function (_React$Component) {
|
|
|
163697
163951
|
|
|
163698
163952
|
var MapLoadingIndicator$1 = connect("selectMapLoading", MapLoadingIndicator);
|
|
163699
163953
|
|
|
163700
|
-
var bundle$
|
|
163954
|
+
var bundle$k = {
|
|
163701
163955
|
name: "mapLoading",
|
|
163702
163956
|
getReducer: function getReducer() {
|
|
163703
163957
|
var initialData = {
|
|
@@ -163734,10 +163988,10 @@ var bundle$j = {
|
|
|
163734
163988
|
}
|
|
163735
163989
|
};
|
|
163736
163990
|
|
|
163737
|
-
var plugin$
|
|
163991
|
+
var plugin$p = {
|
|
163738
163992
|
pluginName: "MapLoadingIndicator",
|
|
163739
163993
|
enabled: true,
|
|
163740
|
-
bundle: bundle$
|
|
163994
|
+
bundle: bundle$k,
|
|
163741
163995
|
components: [{
|
|
163742
163996
|
component: MapLoadingIndicator$1,
|
|
163743
163997
|
region: "lower-right-toolbar",
|
|
@@ -163766,26 +164020,27 @@ exports.addData = plugin;
|
|
|
163766
164020
|
exports.arcgisIdent = plugin$1;
|
|
163767
164021
|
exports.basemapSwitcher = plugin$2;
|
|
163768
164022
|
exports.bookmarks = plugin$3;
|
|
163769
|
-
exports.
|
|
163770
|
-
exports.
|
|
164023
|
+
exports.changeLog = plugin$4;
|
|
164024
|
+
exports.coordDisplay = plugin$5;
|
|
164025
|
+
exports.draw = plugin$6;
|
|
163771
164026
|
exports.esriIdent = plugin$1;
|
|
163772
|
-
exports.geocoder = plugin$
|
|
163773
|
-
exports.geojsonIdent = plugin$
|
|
163774
|
-
exports.identify = plugin$
|
|
163775
|
-
exports.legend = plugin$
|
|
163776
|
-
exports.mapLoadingIndicator = plugin$
|
|
163777
|
-
exports.measureTools = plugin$
|
|
163778
|
-
exports.permalink = plugin$
|
|
163779
|
-
exports.printMap = plugin$
|
|
163780
|
-
exports.questionsTab = plugin$
|
|
163781
|
-
exports.rasterIdent = plugin$
|
|
163782
|
-
exports.rotateNorth = plugin$
|
|
163783
|
-
exports.themeSwitcher = plugin$
|
|
163784
|
-
exports.treeView = plugin$
|
|
164027
|
+
exports.geocoder = plugin$7;
|
|
164028
|
+
exports.geojsonIdent = plugin$8;
|
|
164029
|
+
exports.identify = plugin$9;
|
|
164030
|
+
exports.legend = plugin$a;
|
|
164031
|
+
exports.mapLoadingIndicator = plugin$p;
|
|
164032
|
+
exports.measureTools = plugin$b;
|
|
164033
|
+
exports.permalink = plugin$c;
|
|
164034
|
+
exports.printMap = plugin$d;
|
|
164035
|
+
exports.questionsTab = plugin$e;
|
|
164036
|
+
exports.rasterIdent = plugin$f;
|
|
164037
|
+
exports.rotateNorth = plugin$g;
|
|
164038
|
+
exports.themeSwitcher = plugin$h;
|
|
164039
|
+
exports.treeView = plugin$i;
|
|
163785
164040
|
exports.treeViewPanel = TreeviewPanel$1;
|
|
163786
|
-
exports.vectorIdent = plugin$
|
|
163787
|
-
exports.vectorSearch = plugin$
|
|
163788
|
-
exports.zoomHome = plugin$
|
|
163789
|
-
exports.zoomInOut = plugin$
|
|
163790
|
-
exports.zoomLevel = plugin$
|
|
163791
|
-
exports.zoomToBox = plugin$
|
|
164041
|
+
exports.vectorIdent = plugin$j;
|
|
164042
|
+
exports.vectorSearch = plugin$k;
|
|
164043
|
+
exports.zoomHome = plugin$n;
|
|
164044
|
+
exports.zoomInOut = plugin$l;
|
|
164045
|
+
exports.zoomLevel = plugin$m;
|
|
164046
|
+
exports.zoomToBox = plugin$o;
|