@evergis/api 3.0.209 → 3.0.212
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/LICENSE +20 -20
- package/README.md +21 -21
- package/dist/__generated__/LayersService.d.ts +13 -2
- package/dist/__generated__/ProjectsService.d.ts +13 -2
- package/dist/__generated__/StatisticService.d.ts +2 -2
- package/dist/__generated__/WmsServerService.d.ts +2 -2
- package/dist/__generated__/data-contracts.d.ts +254 -217
- package/dist/api.cjs.development.js +62 -15
- package/dist/api.cjs.development.js.map +1 -1
- package/dist/api.cjs.production.min.js +1 -1
- package/dist/api.cjs.production.min.js.map +1 -1
- package/dist/api.esm.js +273 -226
- package/dist/api.esm.js.map +1 -1
- package/dist/services/Statistic.d.ts +2 -2
- package/package.json +2 -2
|
@@ -36,6 +36,9 @@ function _defineProperties(target, props) {
|
|
|
36
36
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
37
37
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
38
38
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
39
|
+
Object.defineProperty(Constructor, "prototype", {
|
|
40
|
+
writable: false
|
|
41
|
+
});
|
|
39
42
|
return Constructor;
|
|
40
43
|
}
|
|
41
44
|
|
|
@@ -69,6 +72,9 @@ function _inherits(subClass, superClass) {
|
|
|
69
72
|
configurable: true
|
|
70
73
|
}
|
|
71
74
|
});
|
|
75
|
+
Object.defineProperty(subClass, "prototype", {
|
|
76
|
+
writable: false
|
|
77
|
+
});
|
|
72
78
|
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
73
79
|
}
|
|
74
80
|
|
|
@@ -127,6 +133,8 @@ function _assertThisInitialized(self) {
|
|
|
127
133
|
function _possibleConstructorReturn(self, call) {
|
|
128
134
|
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
129
135
|
return call;
|
|
136
|
+
} else if (call !== void 0) {
|
|
137
|
+
throw new TypeError("Derived constructors may only return object or undefined");
|
|
130
138
|
}
|
|
131
139
|
|
|
132
140
|
return _assertThisInitialized(self);
|
|
@@ -160,7 +168,7 @@ function _superPropBase(object, property) {
|
|
|
160
168
|
return object;
|
|
161
169
|
}
|
|
162
170
|
|
|
163
|
-
function _get(
|
|
171
|
+
function _get() {
|
|
164
172
|
if (typeof Reflect !== "undefined" && Reflect.get) {
|
|
165
173
|
_get = Reflect.get;
|
|
166
174
|
} else {
|
|
@@ -171,14 +179,14 @@ function _get(target, property, receiver) {
|
|
|
171
179
|
var desc = Object.getOwnPropertyDescriptor(base, property);
|
|
172
180
|
|
|
173
181
|
if (desc.get) {
|
|
174
|
-
return desc.get.call(receiver);
|
|
182
|
+
return desc.get.call(arguments.length < 3 ? target : receiver);
|
|
175
183
|
}
|
|
176
184
|
|
|
177
185
|
return desc.value;
|
|
178
186
|
};
|
|
179
187
|
}
|
|
180
188
|
|
|
181
|
-
return _get(
|
|
189
|
+
return _get.apply(this, arguments);
|
|
182
190
|
}
|
|
183
191
|
|
|
184
192
|
const API_USER_INFO_KEY = '@evergis/user-info';
|
|
@@ -3391,6 +3399,22 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
3391
3399
|
function getBulkFeatures(data) {
|
|
3392
3400
|
return this.http.post("/bulk/layers/features/query", data).json();
|
|
3393
3401
|
}
|
|
3402
|
+
/**
|
|
3403
|
+
* No description
|
|
3404
|
+
*
|
|
3405
|
+
* @tags Layers
|
|
3406
|
+
* @name GetBulkExtents
|
|
3407
|
+
* @operationId LayersController_GetBulkExtents
|
|
3408
|
+
* @summary Returns list of the layer extents with overall extent.
|
|
3409
|
+
* @request POST:/bulk/layers/extent
|
|
3410
|
+
* @response `200` OK
|
|
3411
|
+
*/
|
|
3412
|
+
|
|
3413
|
+
}, {
|
|
3414
|
+
key: "getBulkExtents",
|
|
3415
|
+
value: function getBulkExtents(query, data) {
|
|
3416
|
+
return this.http.post("/bulk/layers/extent", data, query).json();
|
|
3417
|
+
}
|
|
3394
3418
|
/**
|
|
3395
3419
|
* No description
|
|
3396
3420
|
*
|
|
@@ -5204,8 +5228,8 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
|
|
|
5204
5228
|
|| event.code === 4002
|
|
5205
5229
|
/* InvalidSession */
|
|
5206
5230
|
) {
|
|
5207
|
-
|
|
5208
|
-
|
|
5231
|
+
_this.connectStatus = exports.ConnectionStatus.SessionClosed;
|
|
5232
|
+
} else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
|
|
5209
5233
|
_this.connectStatus = exports.ConnectionStatus.Break;
|
|
5210
5234
|
_this.reconnectTries++;
|
|
5211
5235
|
|
|
@@ -5486,6 +5510,7 @@ let Print = /*#__PURE__*/function (_PrintService) {
|
|
|
5486
5510
|
return _createClass(Print);
|
|
5487
5511
|
}(PrintService);
|
|
5488
5512
|
|
|
5513
|
+
const _excluded$6 = ["name"];
|
|
5489
5514
|
/**
|
|
5490
5515
|
* @title Spatial Processing Core API
|
|
5491
5516
|
* @version 1.5.1.0
|
|
@@ -5631,6 +5656,27 @@ let ProjectsService = /*#__PURE__*/function (_Service) {
|
|
|
5631
5656
|
value: function getProjectsInfo(query) {
|
|
5632
5657
|
return this.http.get("/projects/batchInfo", query).json();
|
|
5633
5658
|
}
|
|
5659
|
+
/**
|
|
5660
|
+
* No description
|
|
5661
|
+
*
|
|
5662
|
+
* @tags Projects
|
|
5663
|
+
* @name GetProjectEnvelope
|
|
5664
|
+
* @operationId ProjectsController_GetProjectEnvelope
|
|
5665
|
+
* @summary Get project extent.
|
|
5666
|
+
* @request GET:/projects/{name}/extent
|
|
5667
|
+
* @response `200` OK
|
|
5668
|
+
*/
|
|
5669
|
+
|
|
5670
|
+
}, {
|
|
5671
|
+
key: "getProjectEnvelope",
|
|
5672
|
+
value: function getProjectEnvelope(_ref) {
|
|
5673
|
+
let {
|
|
5674
|
+
name
|
|
5675
|
+
} = _ref,
|
|
5676
|
+
query = _objectWithoutPropertiesLoose(_ref, _excluded$6);
|
|
5677
|
+
|
|
5678
|
+
return this.http.get("/projects/" + name + "/extent", query).json();
|
|
5679
|
+
}
|
|
5634
5680
|
/**
|
|
5635
5681
|
* No description
|
|
5636
5682
|
*
|
|
@@ -6037,12 +6083,12 @@ let Resources = /*#__PURE__*/function () {
|
|
|
6037
6083
|
}, {
|
|
6038
6084
|
key: "getDependentNames",
|
|
6039
6085
|
value: function getDependentNames(deps, depType) {
|
|
6040
|
-
return deps.filter(
|
|
6086
|
+
return deps.filter(_ref => {
|
|
6041
6087
|
let {
|
|
6042
6088
|
type
|
|
6043
6089
|
} = _ref;
|
|
6044
6090
|
return type === depType;
|
|
6045
|
-
}).map(
|
|
6091
|
+
}).map(_ref2 => {
|
|
6046
6092
|
let {
|
|
6047
6093
|
name
|
|
6048
6094
|
} = _ref2;
|
|
@@ -6498,7 +6544,7 @@ let Scheduler = /*#__PURE__*/function (_SchedulerService) {
|
|
|
6498
6544
|
const taskProgress = await this.getTaskProgress(id);
|
|
6499
6545
|
this.resolveTaskStatus(taskProgress, resolve, reject);
|
|
6500
6546
|
|
|
6501
|
-
const taskResultCallback = async
|
|
6547
|
+
const taskResultCallback = async _ref => {
|
|
6502
6548
|
let {
|
|
6503
6549
|
data
|
|
6504
6550
|
} = _ref;
|
|
@@ -6979,7 +7025,7 @@ let Styles = /*#__PURE__*/function (_StyleService) {
|
|
|
6979
7025
|
return _createClass(Styles);
|
|
6980
7026
|
}(StyleService);
|
|
6981
7027
|
|
|
6982
|
-
const _excluded$
|
|
7028
|
+
const _excluded$7 = ["name"],
|
|
6983
7029
|
_excluded2$4 = ["name"],
|
|
6984
7030
|
_excluded3$3 = ["name"],
|
|
6985
7031
|
_excluded4$2 = ["name"];
|
|
@@ -7161,7 +7207,7 @@ let TablesService = /*#__PURE__*/function (_Service) {
|
|
|
7161
7207
|
let {
|
|
7162
7208
|
name
|
|
7163
7209
|
} = _ref,
|
|
7164
|
-
query = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
7210
|
+
query = _objectWithoutPropertiesLoose(_ref, _excluded$7);
|
|
7165
7211
|
|
|
7166
7212
|
return this.http.get("/tables/" + name + "/data", query).json();
|
|
7167
7213
|
}
|
|
@@ -7561,7 +7607,7 @@ let Tools = /*#__PURE__*/function (_ToolsService) {
|
|
|
7561
7607
|
return _createClass(Tools);
|
|
7562
7608
|
}(ToolsService);
|
|
7563
7609
|
|
|
7564
|
-
const _excluded$
|
|
7610
|
+
const _excluded$8 = ["name", "z", "x", "y"];
|
|
7565
7611
|
/**
|
|
7566
7612
|
* @title Spatial Processing Core API
|
|
7567
7613
|
* @version 1.5.1.0
|
|
@@ -7599,7 +7645,7 @@ let VectorTileService = /*#__PURE__*/function (_Service) {
|
|
|
7599
7645
|
x,
|
|
7600
7646
|
y
|
|
7601
7647
|
} = _ref,
|
|
7602
|
-
query = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
7648
|
+
query = _objectWithoutPropertiesLoose(_ref, _excluded$8);
|
|
7603
7649
|
|
|
7604
7650
|
return this.http.get("/vt/" + name + "/" + z + "/" + x + "/" + y + ".pbf", query).then(() => {});
|
|
7605
7651
|
}
|
|
@@ -7645,6 +7691,7 @@ let VectorTiles = /*#__PURE__*/function (_VectorTileService) {
|
|
|
7645
7691
|
const apiEventsByResponseStatus = {
|
|
7646
7692
|
401: exports.ApiEvent.Unauthorized
|
|
7647
7693
|
};
|
|
7694
|
+
const SHARED_PORT = "8082";
|
|
7648
7695
|
const URL_PATHS = /*#__PURE__*/Object.values(exports.UrlPath);
|
|
7649
7696
|
const DEFAULT_URL_PATH = URL_PATHS[0];
|
|
7650
7697
|
let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
@@ -7855,7 +7902,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
7855
7902
|
}, {
|
|
7856
7903
|
key: "isPresentation",
|
|
7857
7904
|
get: function get() {
|
|
7858
|
-
return this.urlPath === exports.UrlPath.Presentation;
|
|
7905
|
+
return this.urlPath === exports.UrlPath.Presentation || window.location.port === SHARED_PORT;
|
|
7859
7906
|
}
|
|
7860
7907
|
}]);
|
|
7861
7908
|
|
|
@@ -7918,7 +7965,7 @@ let EvergisTileLayer = /*#__PURE__*/function (_TileLayer) {
|
|
|
7918
7965
|
return EvergisTileLayer;
|
|
7919
7966
|
}(TileLayer.TileLayer);
|
|
7920
7967
|
|
|
7921
|
-
const _excluded$
|
|
7968
|
+
const _excluded$9 = ["name", "style", "condition", "dataFilterId", "crs"];
|
|
7922
7969
|
let EvergisDynamicLayer = /*#__PURE__*/function (_DynamicLayer) {
|
|
7923
7970
|
_inherits(EvergisDynamicLayer, _DynamicLayer);
|
|
7924
7971
|
|
|
@@ -7934,7 +7981,7 @@ let EvergisDynamicLayer = /*#__PURE__*/function (_DynamicLayer) {
|
|
|
7934
7981
|
dataFilterId,
|
|
7935
7982
|
crs = Crs.webMercator
|
|
7936
7983
|
} = _ref,
|
|
7937
|
-
layerProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
7984
|
+
layerProps = _objectWithoutPropertiesLoose(_ref, _excluded$9);
|
|
7938
7985
|
|
|
7939
7986
|
_classCallCheck(this, EvergisDynamicLayer);
|
|
7940
7987
|
|