@evergis/api 3.0.167 → 3.0.170
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 +2 -2
- package/dist/__generated__/ProjectsService.d.ts +2 -2
- package/dist/__generated__/SpatialReferencesService.d.ts +2 -1
- package/dist/__generated__/StatisticService.d.ts +2 -2
- package/dist/__generated__/WmsServerService.d.ts +2 -2
- package/dist/__generated__/data-contracts.d.ts +198 -184
- package/dist/api.cjs.development.js +16 -8
- 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 +195 -187
- package/dist/api.esm.js.map +1 -1
- 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
|
let HttpClient = /*#__PURE__*/function () {
|
|
@@ -1360,8 +1368,8 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
|
|
|
1360
1368
|
|| event.code === 4002
|
|
1361
1369
|
/* InvalidSession */
|
|
1362
1370
|
) {
|
|
1363
|
-
|
|
1364
|
-
|
|
1371
|
+
_this.connectStatus = exports.ConnectionStatus.SessionClosed;
|
|
1372
|
+
} else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
|
|
1365
1373
|
_this.connectStatus = exports.ConnectionStatus.Break;
|
|
1366
1374
|
_this.reconnectTries++;
|
|
1367
1375
|
|
|
@@ -1928,7 +1936,7 @@ let Scheduler = /*#__PURE__*/function (_SchedulerService) {
|
|
|
1928
1936
|
const taskProgress = await this.getTaskProgress(id);
|
|
1929
1937
|
this.resolveTaskStatus(taskProgress, resolve, reject);
|
|
1930
1938
|
|
|
1931
|
-
const taskResultCallback = async
|
|
1939
|
+
const taskResultCallback = async _ref => {
|
|
1932
1940
|
let {
|
|
1933
1941
|
data
|
|
1934
1942
|
} = _ref;
|
|
@@ -4260,12 +4268,12 @@ let Resources = /*#__PURE__*/function () {
|
|
|
4260
4268
|
}, {
|
|
4261
4269
|
key: "getDependentNames",
|
|
4262
4270
|
value: function getDependentNames(deps, depType) {
|
|
4263
|
-
return deps.filter(
|
|
4271
|
+
return deps.filter(_ref => {
|
|
4264
4272
|
let {
|
|
4265
4273
|
type
|
|
4266
4274
|
} = _ref;
|
|
4267
4275
|
return type === depType;
|
|
4268
|
-
}).map(
|
|
4276
|
+
}).map(_ref2 => {
|
|
4269
4277
|
let {
|
|
4270
4278
|
name
|
|
4271
4279
|
} = _ref2;
|