@evergis/api 3.0.214 → 3.0.215
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/Api.d.ts +3 -5
- package/dist/__generated__/AccountService.d.ts +2 -2
- package/dist/__generated__/DataSourceService.d.ts +68 -2
- package/dist/__generated__/EqlService.d.ts +12 -1
- package/dist/__generated__/LayersService.d.ts +2 -2
- package/dist/__generated__/RemoteTaskManagerService.d.ts +262 -0
- package/dist/__generated__/StatisticService.d.ts +2 -2
- package/dist/__generated__/TablesService.d.ts +2 -2
- package/dist/__generated__/WmsServerService.d.ts +2 -2
- package/dist/__generated__/data-contracts.d.ts +729 -660
- package/dist/api.cjs.development.js +548 -856
- 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 +813 -1091
- package/dist/api.esm.js.map +1 -1
- package/dist/index.d.ts +0 -3
- package/dist/services/RemoteTaskManager.d.ts +3 -0
- package/dist/services/Statistic.d.ts +4 -2
- package/dist/services/index.d.ts +1 -1
- package/dist/utils/errorHandler.d.ts +1 -1
- package/dist/utils/index.d.ts +0 -1
- package/package.json +3 -3
- package/dist/SpatialProcessor.d.ts +0 -30
- package/dist/__generated__/SchedulerService.d.ts +0 -207
- package/dist/layers/EvergisDynamicLayer.d.ts +0 -28
- package/dist/layers/EvergisTileLayer.d.ts +0 -18
- package/dist/layers/LayersManager.d.ts +0 -11
- package/dist/layers/index.d.ts +0 -3
- package/dist/services/Scheduler.d.ts +0 -20
- package/dist/types/EvergisLayer.d.ts +0 -6
- package/dist/types/index.d.ts +0 -1
- package/dist/utils/guards.d.ts +0 -6
package/dist/api.esm.js
CHANGED
|
@@ -4,12 +4,6 @@ export { HTTPError, TimeoutError } from 'ky';
|
|
|
4
4
|
import { HubConnectionBuilder, HttpTransportType, HubConnectionState } from '@microsoft/signalr';
|
|
5
5
|
import { stringify } from 'query-string';
|
|
6
6
|
import { customAlphabet } from 'nanoid';
|
|
7
|
-
import { DomPainter } from '@evergis/sgis/es/painters/DomPainter/DomPainter';
|
|
8
|
-
import { Map } from '@evergis/sgis/es/Map';
|
|
9
|
-
import { TileLayer } from '@evergis/sgis/es/layers/TileLayer';
|
|
10
|
-
import { webMercator } from '@evergis/sgis/es/Crs';
|
|
11
|
-
import { DynamicLayer } from '@evergis/sgis/es/layers/DynamicLayer';
|
|
12
|
-
import { FeatureLayer } from '@evergis/sgis';
|
|
13
7
|
|
|
14
8
|
function _classCallCheck(instance, Constructor) {
|
|
15
9
|
if (!(instance instanceof Constructor)) {
|
|
@@ -30,6 +24,9 @@ function _defineProperties(target, props) {
|
|
|
30
24
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
31
25
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
32
26
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
27
|
+
Object.defineProperty(Constructor, "prototype", {
|
|
28
|
+
writable: false
|
|
29
|
+
});
|
|
33
30
|
return Constructor;
|
|
34
31
|
}
|
|
35
32
|
|
|
@@ -63,6 +60,9 @@ function _inherits(subClass, superClass) {
|
|
|
63
60
|
configurable: true
|
|
64
61
|
}
|
|
65
62
|
});
|
|
63
|
+
Object.defineProperty(subClass, "prototype", {
|
|
64
|
+
writable: false
|
|
65
|
+
});
|
|
66
66
|
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
67
67
|
}
|
|
68
68
|
|
|
@@ -121,6 +121,8 @@ function _assertThisInitialized(self) {
|
|
|
121
121
|
function _possibleConstructorReturn(self, call) {
|
|
122
122
|
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
123
123
|
return call;
|
|
124
|
+
} else if (call !== void 0) {
|
|
125
|
+
throw new TypeError("Derived constructors may only return object or undefined");
|
|
124
126
|
}
|
|
125
127
|
|
|
126
128
|
return _assertThisInitialized(self);
|
|
@@ -154,7 +156,7 @@ function _superPropBase(object, property) {
|
|
|
154
156
|
return object;
|
|
155
157
|
}
|
|
156
158
|
|
|
157
|
-
function _get(
|
|
159
|
+
function _get() {
|
|
158
160
|
if (typeof Reflect !== "undefined" && Reflect.get) {
|
|
159
161
|
_get = Reflect.get;
|
|
160
162
|
} else {
|
|
@@ -165,14 +167,14 @@ function _get(target, property, receiver) {
|
|
|
165
167
|
var desc = Object.getOwnPropertyDescriptor(base, property);
|
|
166
168
|
|
|
167
169
|
if (desc.get) {
|
|
168
|
-
return desc.get.call(receiver);
|
|
170
|
+
return desc.get.call(arguments.length < 3 ? target : receiver);
|
|
169
171
|
}
|
|
170
172
|
|
|
171
173
|
return desc.value;
|
|
172
174
|
};
|
|
173
175
|
}
|
|
174
176
|
|
|
175
|
-
return _get(
|
|
177
|
+
return _get.apply(this, arguments);
|
|
176
178
|
}
|
|
177
179
|
|
|
178
180
|
const API_USER_INFO_KEY = "@evergis/user-info";
|
|
@@ -327,8 +329,37 @@ let DataSourceService = /*#__PURE__*/function (_Service) {
|
|
|
327
329
|
}
|
|
328
330
|
|
|
329
331
|
_createClass(DataSourceService, [{
|
|
330
|
-
key: "
|
|
332
|
+
key: "createArcGisDataSource",
|
|
331
333
|
value:
|
|
334
|
+
/**
|
|
335
|
+
* No description
|
|
336
|
+
*
|
|
337
|
+
* @tags DataSource
|
|
338
|
+
* @name CreateArcGisDataSource
|
|
339
|
+
* @operationId DataSourceController_CreateArcGisDataSource
|
|
340
|
+
* @summary Create S3 data source.
|
|
341
|
+
* @request POST:/ds/arcgis
|
|
342
|
+
* @response `200` OK
|
|
343
|
+
*/
|
|
344
|
+
function createArcGisDataSource(data) {
|
|
345
|
+
return this.http.post("/ds/arcgis", data).then(() => {});
|
|
346
|
+
}
|
|
347
|
+
/**
|
|
348
|
+
* No description
|
|
349
|
+
*
|
|
350
|
+
* @tags DataSource
|
|
351
|
+
* @name UpdateArcGisDataSource
|
|
352
|
+
* @operationId DataSourceController_UpdateArcGisDataSource
|
|
353
|
+
* @summary Update arcgis data source.
|
|
354
|
+
* @request PATCH:/ds/arcgis
|
|
355
|
+
* @response `200` OK
|
|
356
|
+
*/
|
|
357
|
+
|
|
358
|
+
}, {
|
|
359
|
+
key: "updateArcGisDataSource",
|
|
360
|
+
value: function updateArcGisDataSource(data) {
|
|
361
|
+
return this.http.patch("/ds/arcgis", data).then(() => {});
|
|
362
|
+
}
|
|
332
363
|
/**
|
|
333
364
|
* No description
|
|
334
365
|
*
|
|
@@ -339,7 +370,10 @@ let DataSourceService = /*#__PURE__*/function (_Service) {
|
|
|
339
370
|
* @request GET:/ds
|
|
340
371
|
* @response `200` OK
|
|
341
372
|
*/
|
|
342
|
-
|
|
373
|
+
|
|
374
|
+
}, {
|
|
375
|
+
key: "getDataSourcesList",
|
|
376
|
+
value: function getDataSourcesList(query) {
|
|
343
377
|
return this.http.get("/ds", query).json();
|
|
344
378
|
}
|
|
345
379
|
/**
|
|
@@ -422,6 +456,70 @@ let DataSourceService = /*#__PURE__*/function (_Service) {
|
|
|
422
456
|
value: function testConnection(data) {
|
|
423
457
|
return this.http.post("/ds/testConnection", data).json();
|
|
424
458
|
}
|
|
459
|
+
/**
|
|
460
|
+
* No description
|
|
461
|
+
*
|
|
462
|
+
* @tags DataSource
|
|
463
|
+
* @name CreateS3DataSource
|
|
464
|
+
* @operationId DataSourceController_CreateS3DataSource
|
|
465
|
+
* @summary Create S3 data source.
|
|
466
|
+
* @request POST:/ds/s3
|
|
467
|
+
* @response `200` OK
|
|
468
|
+
*/
|
|
469
|
+
|
|
470
|
+
}, {
|
|
471
|
+
key: "createS3DataSource",
|
|
472
|
+
value: function createS3DataSource(data) {
|
|
473
|
+
return this.http.post("/ds/s3", data).then(() => {});
|
|
474
|
+
}
|
|
475
|
+
/**
|
|
476
|
+
* No description
|
|
477
|
+
*
|
|
478
|
+
* @tags DataSource
|
|
479
|
+
* @name UpdateS3DataSource
|
|
480
|
+
* @operationId DataSourceController_UpdateS3DataSource
|
|
481
|
+
* @summary Create S3 data source.
|
|
482
|
+
* @request PATCH:/ds/s3
|
|
483
|
+
* @response `200` OK
|
|
484
|
+
*/
|
|
485
|
+
|
|
486
|
+
}, {
|
|
487
|
+
key: "updateS3DataSource",
|
|
488
|
+
value: function updateS3DataSource(data) {
|
|
489
|
+
return this.http.patch("/ds/s3", data).then(() => {});
|
|
490
|
+
}
|
|
491
|
+
/**
|
|
492
|
+
* No description
|
|
493
|
+
*
|
|
494
|
+
* @tags DataSource
|
|
495
|
+
* @name CreateArcGisDataSource1
|
|
496
|
+
* @operationId DataSourceController_CreateArcGisDataSource_1
|
|
497
|
+
* @summary Create WMS data source.
|
|
498
|
+
* @request POST:/ds/wms
|
|
499
|
+
* @response `200` OK
|
|
500
|
+
*/
|
|
501
|
+
|
|
502
|
+
}, {
|
|
503
|
+
key: "createArcGisDataSource1",
|
|
504
|
+
value: function createArcGisDataSource1(data) {
|
|
505
|
+
return this.http.post("/ds/wms", data).then(() => {});
|
|
506
|
+
}
|
|
507
|
+
/**
|
|
508
|
+
* No description
|
|
509
|
+
*
|
|
510
|
+
* @tags DataSource
|
|
511
|
+
* @name UpdateArcGisDataSource1
|
|
512
|
+
* @operationId DataSourceController_UpdateArcGisDataSource_1
|
|
513
|
+
* @summary Update WMS data source.
|
|
514
|
+
* @request PATCH:/ds/wms
|
|
515
|
+
* @response `200` OK
|
|
516
|
+
*/
|
|
517
|
+
|
|
518
|
+
}, {
|
|
519
|
+
key: "updateArcGisDataSource1",
|
|
520
|
+
value: function updateArcGisDataSource1(data) {
|
|
521
|
+
return this.http.patch("/ds/wms", data).then(() => {});
|
|
522
|
+
}
|
|
425
523
|
}]);
|
|
426
524
|
|
|
427
525
|
return DataSourceService;
|
|
@@ -1044,7 +1142,7 @@ let AccountService = /*#__PURE__*/function (_Service) {
|
|
|
1044
1142
|
return this.http.post("/account/register", data).text();
|
|
1045
1143
|
}
|
|
1046
1144
|
/**
|
|
1047
|
-
* @description Only for users with SPCore.Security.ISecurityManager.SuperuserRole role.
|
|
1145
|
+
* @description Only for users with SPCore.Security.Abstractions.ISecurityManager.SuperuserRole role.
|
|
1048
1146
|
*
|
|
1049
1147
|
* @tags Account
|
|
1050
1148
|
* @name CreateUser
|
|
@@ -1076,7 +1174,7 @@ let AccountService = /*#__PURE__*/function (_Service) {
|
|
|
1076
1174
|
return this.http.patch("/account/user", data).then(() => {});
|
|
1077
1175
|
}
|
|
1078
1176
|
/**
|
|
1079
|
-
* @description Only for users with SPCore.Security.ISecurityManager.SuperuserRole role.
|
|
1177
|
+
* @description Only for users with SPCore.Security.Abstractions.ISecurityManager.SuperuserRole role.
|
|
1080
1178
|
*
|
|
1081
1179
|
* @tags Account
|
|
1082
1180
|
* @name ConfirmEmail
|
|
@@ -2314,6 +2412,22 @@ let EqlService = /*#__PURE__*/function (_Service) {
|
|
|
2314
2412
|
value: function removeLayerParameterValue(query) {
|
|
2315
2413
|
return this.http.delete("/eql/removeParam", null, query).then(() => {});
|
|
2316
2414
|
}
|
|
2415
|
+
/**
|
|
2416
|
+
* No description
|
|
2417
|
+
*
|
|
2418
|
+
* @tags Eql
|
|
2419
|
+
* @name GetAvailiableLayerParameters
|
|
2420
|
+
* @operationId EqlController_GetAvailiableLayerParameters
|
|
2421
|
+
* @summary Get availiable layer parameters values.
|
|
2422
|
+
* @request GET:/eql/getAvailiableParams
|
|
2423
|
+
* @response `200` OK
|
|
2424
|
+
*/
|
|
2425
|
+
|
|
2426
|
+
}, {
|
|
2427
|
+
key: "getAvailiableLayerParameters",
|
|
2428
|
+
value: function getAvailiableLayerParameters(query) {
|
|
2429
|
+
return this.http.get("/eql/getAvailiableParams", query).json();
|
|
2430
|
+
}
|
|
2317
2431
|
}]);
|
|
2318
2432
|
|
|
2319
2433
|
return EqlService;
|
|
@@ -4826,15 +4940,6 @@ function formDataFromFile(file) {
|
|
|
4826
4940
|
return data;
|
|
4827
4941
|
}
|
|
4828
4942
|
|
|
4829
|
-
function createGuard(type) {
|
|
4830
|
-
return function (typed) {
|
|
4831
|
-
if (!typed.type) return false;
|
|
4832
|
-
return type.includes(typed.type);
|
|
4833
|
-
};
|
|
4834
|
-
}
|
|
4835
|
-
|
|
4836
|
-
const isLayer = /*#__PURE__*/createGuard(['PostgresLayerService', 'PostgresTileLayerService', 'QueryLayerService']);
|
|
4837
|
-
|
|
4838
4943
|
function isString(v) {
|
|
4839
4944
|
return typeof v === 'string';
|
|
4840
4945
|
}
|
|
@@ -5222,8 +5327,8 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
|
|
|
5222
5327
|
|| event.code === 4002
|
|
5223
5328
|
/* InvalidSession */
|
|
5224
5329
|
) {
|
|
5225
|
-
|
|
5226
|
-
|
|
5330
|
+
_this.connectStatus = ConnectionStatus.SessionClosed;
|
|
5331
|
+
} else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
|
|
5227
5332
|
_this.connectStatus = ConnectionStatus.Break;
|
|
5228
5333
|
_this.reconnectTries++;
|
|
5229
5334
|
|
|
@@ -5930,658 +6035,601 @@ function isProjectContentItems(v) {
|
|
|
5930
6035
|
return v !== null && v !== undefined;
|
|
5931
6036
|
}
|
|
5932
6037
|
|
|
6038
|
+
const _excluded$7 = ["id"];
|
|
5933
6039
|
/**
|
|
5934
6040
|
* @title Spatial Processing Core API
|
|
5935
6041
|
* @version 1.5.1.0
|
|
5936
6042
|
* @baseUrl /sp
|
|
5937
6043
|
*/
|
|
5938
6044
|
|
|
5939
|
-
let
|
|
5940
|
-
_inherits(
|
|
6045
|
+
let RemoteTaskManagerService = /*#__PURE__*/function (_Service) {
|
|
6046
|
+
_inherits(RemoteTaskManagerService, _Service);
|
|
5941
6047
|
|
|
5942
|
-
var _super = /*#__PURE__*/_createSuper(
|
|
6048
|
+
var _super = /*#__PURE__*/_createSuper(RemoteTaskManagerService);
|
|
5943
6049
|
|
|
5944
|
-
function
|
|
5945
|
-
_classCallCheck(this,
|
|
6050
|
+
function RemoteTaskManagerService() {
|
|
6051
|
+
_classCallCheck(this, RemoteTaskManagerService);
|
|
5946
6052
|
|
|
5947
6053
|
return _super.apply(this, arguments);
|
|
5948
6054
|
}
|
|
5949
6055
|
|
|
5950
|
-
_createClass(
|
|
5951
|
-
key: "
|
|
6056
|
+
_createClass(RemoteTaskManagerService, [{
|
|
6057
|
+
key: "cancelTask",
|
|
5952
6058
|
value:
|
|
5953
6059
|
/**
|
|
5954
|
-
*
|
|
6060
|
+
* No description
|
|
5955
6061
|
*
|
|
5956
|
-
* @tags
|
|
5957
|
-
* @name
|
|
5958
|
-
* @operationId
|
|
5959
|
-
* @summary
|
|
5960
|
-
* @request
|
|
6062
|
+
* @tags RemoteTaskManager
|
|
6063
|
+
* @name CancelTask
|
|
6064
|
+
* @operationId RemoteTaskManagerController_CancelTask
|
|
6065
|
+
* @summary Cancel task execution by given id.
|
|
6066
|
+
* @request POST:/scheduler/tasks/{id}/cancel
|
|
5961
6067
|
* @response `200` OK
|
|
5962
6068
|
*/
|
|
5963
|
-
function
|
|
5964
|
-
return this.http.
|
|
6069
|
+
function cancelTask(id) {
|
|
6070
|
+
return this.http.post("/scheduler/tasks/" + id + "/cancel", null).then(() => {});
|
|
5965
6071
|
}
|
|
5966
6072
|
/**
|
|
5967
6073
|
* No description
|
|
5968
6074
|
*
|
|
5969
|
-
* @tags
|
|
5970
|
-
* @name
|
|
5971
|
-
* @operationId
|
|
5972
|
-
* @summary
|
|
5973
|
-
* @request POST:/
|
|
6075
|
+
* @tags RemoteTaskManager
|
|
6076
|
+
* @name StartCogCreateTask
|
|
6077
|
+
* @operationId RemoteTaskManagerController_StartCogCreateTask
|
|
6078
|
+
* @summary Plans the execution of a 'create raster cog' server task.
|
|
6079
|
+
* @request POST:/scheduler/tasks#type=cogService_create
|
|
5974
6080
|
* @response `200` OK
|
|
5975
6081
|
*/
|
|
5976
6082
|
|
|
5977
6083
|
}, {
|
|
5978
|
-
key: "
|
|
5979
|
-
value: function
|
|
5980
|
-
return this.http.post("/
|
|
5981
|
-
|
|
5982
|
-
|
|
5983
|
-
|
|
5984
|
-
return ResourceCatalogService;
|
|
5985
|
-
}(Service);
|
|
5986
|
-
|
|
5987
|
-
let ResourceCatalog = /*#__PURE__*/function (_ResourceCatalogServi) {
|
|
5988
|
-
_inherits(ResourceCatalog, _ResourceCatalogServi);
|
|
5989
|
-
|
|
5990
|
-
var _super = /*#__PURE__*/_createSuper(ResourceCatalog);
|
|
5991
|
-
|
|
5992
|
-
function ResourceCatalog() {
|
|
5993
|
-
_classCallCheck(this, ResourceCatalog);
|
|
5994
|
-
|
|
5995
|
-
return _super.apply(this, arguments);
|
|
5996
|
-
}
|
|
5997
|
-
|
|
5998
|
-
return _createClass(ResourceCatalog);
|
|
5999
|
-
}(ResourceCatalogService);
|
|
6000
|
-
|
|
6001
|
-
var DependencyType;
|
|
6002
|
-
|
|
6003
|
-
(function (DependencyType) {
|
|
6004
|
-
DependencyType["Layer"] = "Layer";
|
|
6005
|
-
DependencyType["Table"] = "Table";
|
|
6006
|
-
DependencyType["Project"] = "Project";
|
|
6007
|
-
})(DependencyType || (DependencyType = {}));
|
|
6008
|
-
|
|
6009
|
-
let Resources = /*#__PURE__*/function () {
|
|
6010
|
-
function Resources(projects, layers, tables) {
|
|
6011
|
-
_classCallCheck(this, Resources);
|
|
6012
|
-
|
|
6013
|
-
this.projects = projects;
|
|
6014
|
-
this.layers = layers;
|
|
6015
|
-
this.tables = tables;
|
|
6016
|
-
}
|
|
6017
|
-
|
|
6018
|
-
_createClass(Resources, [{
|
|
6019
|
-
key: "getProjectInfosWithDeps",
|
|
6020
|
-
value: async function getProjectInfosWithDeps(projects) {
|
|
6021
|
-
const projectInfos = await this.projects.getProjectInfos(projects);
|
|
6022
|
-
const projectDeps = await this.projects.getProjectsDeps(projects);
|
|
6023
|
-
const {
|
|
6024
|
-
layers,
|
|
6025
|
-
tables
|
|
6026
|
-
} = await this.getDependencies(projectDeps, true, true);
|
|
6027
|
-
return {
|
|
6028
|
-
projects: projectInfos,
|
|
6029
|
-
deps: {
|
|
6030
|
-
layers,
|
|
6031
|
-
tables
|
|
6032
|
-
}
|
|
6033
|
-
};
|
|
6034
|
-
}
|
|
6035
|
-
}, {
|
|
6036
|
-
key: "getLayerInfosWithDeps",
|
|
6037
|
-
value: async function getLayerInfosWithDeps(layers) {
|
|
6038
|
-
const layerInfos = await this.layers.getLayerInfos(layers);
|
|
6039
|
-
const layersDeps = await this.layers.getLayersDeps(layers);
|
|
6040
|
-
const {
|
|
6041
|
-
tables
|
|
6042
|
-
} = await this.getDependencies(layersDeps, false, true);
|
|
6043
|
-
return {
|
|
6044
|
-
layers: layerInfos,
|
|
6045
|
-
deps: {
|
|
6046
|
-
tables
|
|
6047
|
-
}
|
|
6048
|
-
};
|
|
6049
|
-
}
|
|
6050
|
-
}, {
|
|
6051
|
-
key: "getDependencies",
|
|
6052
|
-
value: async function getDependencies(resourceDeps, pickLayers, pickTables) {
|
|
6053
|
-
const {
|
|
6054
|
-
tables,
|
|
6055
|
-
layers
|
|
6056
|
-
} = resourceDeps.reduce((acc, layerDep) => {
|
|
6057
|
-
const deps = layerDep.dependencies || [];
|
|
6058
|
-
|
|
6059
|
-
if (pickLayers) {
|
|
6060
|
-
const layerNames = this.getDependentNames(deps, DependencyType.Layer);
|
|
6061
|
-
acc.layers.push(...layerNames);
|
|
6062
|
-
}
|
|
6063
|
-
|
|
6064
|
-
if (pickTables) {
|
|
6065
|
-
const tableNames = this.getDependentNames(deps, DependencyType.Table);
|
|
6066
|
-
acc.tables.push(...tableNames);
|
|
6067
|
-
}
|
|
6068
|
-
|
|
6069
|
-
return acc;
|
|
6070
|
-
}, {
|
|
6071
|
-
tables: [],
|
|
6072
|
-
layers: []
|
|
6073
|
-
});
|
|
6074
|
-
return {
|
|
6075
|
-
tables: await this.tables.getTableInfos(tables.filter(unique)),
|
|
6076
|
-
layers: await this.layers.getLayerInfos(layers.filter(unique))
|
|
6077
|
-
};
|
|
6078
|
-
}
|
|
6079
|
-
}, {
|
|
6080
|
-
key: "getDependentNames",
|
|
6081
|
-
value: function getDependentNames(deps, depType) {
|
|
6082
|
-
return deps.filter((_ref) => {
|
|
6083
|
-
let {
|
|
6084
|
-
type
|
|
6085
|
-
} = _ref;
|
|
6086
|
-
return type === depType;
|
|
6087
|
-
}).map((_ref2) => {
|
|
6088
|
-
let {
|
|
6089
|
-
name
|
|
6090
|
-
} = _ref2;
|
|
6091
|
-
return name;
|
|
6092
|
-
}).filter(isString);
|
|
6084
|
+
key: "startCogCreateTask",
|
|
6085
|
+
value: function startCogCreateTask(data) {
|
|
6086
|
+
return this.http.post("/scheduler/tasks", data, {
|
|
6087
|
+
type: 'cogService_create'
|
|
6088
|
+
}).text();
|
|
6093
6089
|
}
|
|
6094
|
-
}]);
|
|
6095
|
-
|
|
6096
|
-
return Resources;
|
|
6097
|
-
}();
|
|
6098
|
-
|
|
6099
|
-
/**
|
|
6100
|
-
* @title Spatial Processing Core API
|
|
6101
|
-
* @version 1.5.1.0
|
|
6102
|
-
* @baseUrl /sp
|
|
6103
|
-
*/
|
|
6104
|
-
|
|
6105
|
-
let SchedulerService = /*#__PURE__*/function (_Service) {
|
|
6106
|
-
_inherits(SchedulerService, _Service);
|
|
6107
|
-
|
|
6108
|
-
var _super = /*#__PURE__*/_createSuper(SchedulerService);
|
|
6109
|
-
|
|
6110
|
-
function SchedulerService() {
|
|
6111
|
-
_classCallCheck(this, SchedulerService);
|
|
6112
|
-
|
|
6113
|
-
return _super.apply(this, arguments);
|
|
6114
|
-
}
|
|
6115
|
-
|
|
6116
|
-
_createClass(SchedulerService, [{
|
|
6117
|
-
key: "getTaskList",
|
|
6118
|
-
value:
|
|
6119
6090
|
/**
|
|
6120
6091
|
* No description
|
|
6121
6092
|
*
|
|
6122
|
-
* @tags
|
|
6123
|
-
* @name
|
|
6124
|
-
* @operationId
|
|
6125
|
-
* @summary
|
|
6126
|
-
* @request
|
|
6093
|
+
* @tags RemoteTaskManager
|
|
6094
|
+
* @name StartRasterVrtTask
|
|
6095
|
+
* @operationId RemoteTaskManagerController_StartRasterVrtTask
|
|
6096
|
+
* @summary Plans the execution of a 'create raster vrt' server task.
|
|
6097
|
+
* @request POST:/scheduler/tasks#type=cogService_vrt
|
|
6127
6098
|
* @response `200` OK
|
|
6128
6099
|
*/
|
|
6129
|
-
|
|
6130
|
-
|
|
6100
|
+
|
|
6101
|
+
}, {
|
|
6102
|
+
key: "startRasterVrtTask",
|
|
6103
|
+
value: function startRasterVrtTask(data) {
|
|
6104
|
+
return this.http.post("/scheduler/tasks", data, {
|
|
6105
|
+
type: 'cogService_vrt'
|
|
6106
|
+
}).text();
|
|
6131
6107
|
}
|
|
6132
6108
|
/**
|
|
6133
6109
|
* No description
|
|
6134
6110
|
*
|
|
6135
|
-
* @tags
|
|
6136
|
-
* @name
|
|
6137
|
-
* @operationId
|
|
6138
|
-
* @summary
|
|
6139
|
-
* @request
|
|
6111
|
+
* @tags RemoteTaskManager
|
|
6112
|
+
* @name StartNetCdfTask
|
|
6113
|
+
* @operationId RemoteTaskManagerController_StartNetCdfTask
|
|
6114
|
+
* @summary Plans the execution of a 'create raster netcdf' server task.
|
|
6115
|
+
* @request POST:/scheduler/tasks#type=cogService_netcdf
|
|
6140
6116
|
* @response `200` OK
|
|
6141
6117
|
*/
|
|
6142
6118
|
|
|
6143
6119
|
}, {
|
|
6144
|
-
key: "
|
|
6145
|
-
value: function
|
|
6146
|
-
return this.http.
|
|
6120
|
+
key: "startNetCdfTask",
|
|
6121
|
+
value: function startNetCdfTask(data) {
|
|
6122
|
+
return this.http.post("/scheduler/tasks", data, {
|
|
6123
|
+
type: 'cogService_netcdf'
|
|
6124
|
+
}).text();
|
|
6147
6125
|
}
|
|
6148
6126
|
/**
|
|
6149
6127
|
* No description
|
|
6150
6128
|
*
|
|
6151
|
-
* @tags
|
|
6152
|
-
* @name
|
|
6153
|
-
* @operationId
|
|
6154
|
-
* @summary
|
|
6155
|
-
* @request
|
|
6129
|
+
* @tags RemoteTaskManager
|
|
6130
|
+
* @name StartBufferTask
|
|
6131
|
+
* @operationId RemoteTaskManagerController_StartBufferTask
|
|
6132
|
+
* @summary Plans the execution of a 'create buffers' server task.
|
|
6133
|
+
* @request POST:/scheduler/tasks#type=geoService_buffer
|
|
6156
6134
|
* @response `200` OK
|
|
6157
6135
|
*/
|
|
6158
6136
|
|
|
6159
6137
|
}, {
|
|
6160
|
-
key: "
|
|
6161
|
-
value: function
|
|
6162
|
-
return this.http.
|
|
6138
|
+
key: "startBufferTask",
|
|
6139
|
+
value: function startBufferTask(data) {
|
|
6140
|
+
return this.http.post("/scheduler/tasks", data, {
|
|
6141
|
+
type: 'geoService_buffer'
|
|
6142
|
+
}).text();
|
|
6163
6143
|
}
|
|
6164
6144
|
/**
|
|
6165
6145
|
* No description
|
|
6166
6146
|
*
|
|
6167
|
-
* @tags
|
|
6168
|
-
* @name
|
|
6169
|
-
* @operationId
|
|
6170
|
-
* @summary
|
|
6171
|
-
* @request POST:/scheduler/tasks
|
|
6147
|
+
* @tags RemoteTaskManager
|
|
6148
|
+
* @name StartCopyTableTask
|
|
6149
|
+
* @operationId RemoteTaskManagerController_StartCopyTableTask
|
|
6150
|
+
* @summary Plans the execution of a 'copy table' server task.
|
|
6151
|
+
* @request POST:/scheduler/tasks#type=geoService_copy
|
|
6172
6152
|
* @response `200` OK
|
|
6173
6153
|
*/
|
|
6174
6154
|
|
|
6175
6155
|
}, {
|
|
6176
|
-
key: "
|
|
6177
|
-
value: function
|
|
6178
|
-
return this.http.post("/scheduler/tasks
|
|
6156
|
+
key: "startCopyTableTask",
|
|
6157
|
+
value: function startCopyTableTask(data) {
|
|
6158
|
+
return this.http.post("/scheduler/tasks", data, {
|
|
6159
|
+
type: 'geoService_copy'
|
|
6160
|
+
}).text();
|
|
6179
6161
|
}
|
|
6180
6162
|
/**
|
|
6181
6163
|
* No description
|
|
6182
6164
|
*
|
|
6183
|
-
* @tags
|
|
6184
|
-
* @name
|
|
6185
|
-
* @operationId
|
|
6186
|
-
* @summary Plans the execution of a '
|
|
6187
|
-
* @request POST:/scheduler/tasks#type=
|
|
6165
|
+
* @tags RemoteTaskManager
|
|
6166
|
+
* @name StartUnionTask
|
|
6167
|
+
* @operationId RemoteTaskManagerController_StartUnionTask
|
|
6168
|
+
* @summary Plans the execution of a 'create union' server task.
|
|
6169
|
+
* @request POST:/scheduler/tasks#type=geoService_union
|
|
6188
6170
|
* @response `200` OK
|
|
6189
6171
|
*/
|
|
6190
6172
|
|
|
6191
6173
|
}, {
|
|
6192
|
-
key: "
|
|
6193
|
-
value: function
|
|
6174
|
+
key: "startUnionTask",
|
|
6175
|
+
value: function startUnionTask(data) {
|
|
6194
6176
|
return this.http.post("/scheduler/tasks", data, {
|
|
6195
|
-
type: '
|
|
6196
|
-
}).
|
|
6177
|
+
type: 'geoService_union'
|
|
6178
|
+
}).text();
|
|
6197
6179
|
}
|
|
6198
6180
|
/**
|
|
6199
6181
|
* No description
|
|
6200
6182
|
*
|
|
6201
|
-
* @tags
|
|
6202
|
-
* @name
|
|
6203
|
-
* @operationId
|
|
6204
|
-
* @summary Plans the execution of a '
|
|
6205
|
-
* @request POST:/scheduler/tasks#type=
|
|
6183
|
+
* @tags RemoteTaskManager
|
|
6184
|
+
* @name StartOverlayTask
|
|
6185
|
+
* @operationId RemoteTaskManagerController_StartOverlayTask
|
|
6186
|
+
* @summary Plans the execution of a 'create overlay' server task.
|
|
6187
|
+
* @request POST:/scheduler/tasks#type=geoService_overlay
|
|
6206
6188
|
* @response `200` OK
|
|
6207
6189
|
*/
|
|
6208
6190
|
|
|
6209
6191
|
}, {
|
|
6210
|
-
key: "
|
|
6211
|
-
value: function
|
|
6192
|
+
key: "startOverlayTask",
|
|
6193
|
+
value: function startOverlayTask(data) {
|
|
6212
6194
|
return this.http.post("/scheduler/tasks", data, {
|
|
6213
|
-
type: '
|
|
6214
|
-
}).
|
|
6195
|
+
type: 'geoService_overlay'
|
|
6196
|
+
}).text();
|
|
6215
6197
|
}
|
|
6216
6198
|
/**
|
|
6217
6199
|
* No description
|
|
6218
6200
|
*
|
|
6219
|
-
* @tags
|
|
6220
|
-
* @name
|
|
6221
|
-
* @operationId
|
|
6222
|
-
* @summary Plans the execution of a '
|
|
6223
|
-
* @request POST:/scheduler/tasks#type=
|
|
6201
|
+
* @tags RemoteTaskManager
|
|
6202
|
+
* @name StartCopyTask
|
|
6203
|
+
* @operationId RemoteTaskManagerController_StartCopyTask
|
|
6204
|
+
* @summary Plans the execution of a 'copy storages' server task.
|
|
6205
|
+
* @request POST:/scheduler/tasks#type=copyTask
|
|
6224
6206
|
* @response `200` OK
|
|
6225
6207
|
*/
|
|
6226
6208
|
|
|
6227
6209
|
}, {
|
|
6228
|
-
key: "
|
|
6229
|
-
value: function
|
|
6210
|
+
key: "startCopyTask",
|
|
6211
|
+
value: function startCopyTask(data) {
|
|
6230
6212
|
return this.http.post("/scheduler/tasks", data, {
|
|
6231
|
-
type: '
|
|
6232
|
-
}).
|
|
6213
|
+
type: 'copyTask'
|
|
6214
|
+
}).text();
|
|
6233
6215
|
}
|
|
6234
6216
|
/**
|
|
6235
6217
|
* No description
|
|
6236
6218
|
*
|
|
6237
|
-
* @tags
|
|
6238
|
-
* @name
|
|
6239
|
-
* @operationId
|
|
6240
|
-
* @summary Plans the execution of a '
|
|
6241
|
-
* @request POST:/scheduler/tasks#type=
|
|
6219
|
+
* @tags RemoteTaskManager
|
|
6220
|
+
* @name StartAvailableAreaTask
|
|
6221
|
+
* @operationId RemoteTaskManagerController_StartAvailableAreaTask
|
|
6222
|
+
* @summary Plans the execution of a 'create available area' server task.
|
|
6223
|
+
* @request POST:/scheduler/tasks#type=availabilityArea
|
|
6242
6224
|
* @response `200` OK
|
|
6243
6225
|
*/
|
|
6244
6226
|
|
|
6245
6227
|
}, {
|
|
6246
|
-
key: "
|
|
6247
|
-
value: function
|
|
6228
|
+
key: "startAvailableAreaTask",
|
|
6229
|
+
value: function startAvailableAreaTask(data) {
|
|
6248
6230
|
return this.http.post("/scheduler/tasks", data, {
|
|
6249
|
-
type: '
|
|
6250
|
-
}).
|
|
6231
|
+
type: 'availabilityArea'
|
|
6232
|
+
}).text();
|
|
6251
6233
|
}
|
|
6252
6234
|
/**
|
|
6253
6235
|
* No description
|
|
6254
6236
|
*
|
|
6255
|
-
* @tags
|
|
6256
|
-
* @name
|
|
6257
|
-
* @operationId
|
|
6258
|
-
* @summary Plans the execution of a '
|
|
6259
|
-
* @request POST:/scheduler/tasks#type=
|
|
6237
|
+
* @tags RemoteTaskManager
|
|
6238
|
+
* @name StartGeocodeTask
|
|
6239
|
+
* @operationId RemoteTaskManagerController_StartGeocodeTask
|
|
6240
|
+
* @summary Plans the execution of a 'geocode' server task.
|
|
6241
|
+
* @request POST:/scheduler/tasks#type=geocodeTask
|
|
6260
6242
|
* @response `200` OK
|
|
6261
6243
|
*/
|
|
6262
6244
|
|
|
6263
6245
|
}, {
|
|
6264
|
-
key: "
|
|
6265
|
-
value: function
|
|
6246
|
+
key: "startGeocodeTask",
|
|
6247
|
+
value: function startGeocodeTask(data) {
|
|
6266
6248
|
return this.http.post("/scheduler/tasks", data, {
|
|
6267
|
-
type: '
|
|
6268
|
-
}).
|
|
6249
|
+
type: 'geocodeTask'
|
|
6250
|
+
}).text();
|
|
6269
6251
|
}
|
|
6270
6252
|
/**
|
|
6271
6253
|
* No description
|
|
6272
6254
|
*
|
|
6273
|
-
* @tags
|
|
6274
|
-
* @name
|
|
6275
|
-
* @operationId
|
|
6276
|
-
* @summary
|
|
6277
|
-
* @request
|
|
6255
|
+
* @tags RemoteTaskManager
|
|
6256
|
+
* @name Get
|
|
6257
|
+
* @operationId RemoteTaskManagerController_Get
|
|
6258
|
+
* @summary Shows SubTask in Task.
|
|
6259
|
+
* @request GET:/scheduler/task/{id}/subtasks
|
|
6278
6260
|
* @response `200` OK
|
|
6279
6261
|
*/
|
|
6280
6262
|
|
|
6281
6263
|
}, {
|
|
6282
|
-
key: "
|
|
6283
|
-
value: function
|
|
6284
|
-
return this.http.
|
|
6285
|
-
type: 'rasterVrt'
|
|
6286
|
-
}).json();
|
|
6264
|
+
key: "get",
|
|
6265
|
+
value: function get(id) {
|
|
6266
|
+
return this.http.get("/scheduler/task/" + id + "/subtasks").then(() => {});
|
|
6287
6267
|
}
|
|
6288
6268
|
/**
|
|
6289
6269
|
* No description
|
|
6290
6270
|
*
|
|
6291
|
-
* @tags
|
|
6292
|
-
* @name
|
|
6293
|
-
* @operationId
|
|
6294
|
-
* @summary
|
|
6295
|
-
* @request POST:/scheduler/
|
|
6271
|
+
* @tags RemoteTaskManager
|
|
6272
|
+
* @name Stop
|
|
6273
|
+
* @operationId RemoteTaskManagerController_Stop
|
|
6274
|
+
* @summary Stop the task.
|
|
6275
|
+
* @request POST:/scheduler/task/{id}/stop
|
|
6296
6276
|
* @response `200` OK
|
|
6297
6277
|
*/
|
|
6298
6278
|
|
|
6299
6279
|
}, {
|
|
6300
|
-
key: "
|
|
6301
|
-
value: function
|
|
6302
|
-
return this.http.post("/scheduler/
|
|
6303
|
-
type: 'netcdf'
|
|
6304
|
-
}).json();
|
|
6280
|
+
key: "stop",
|
|
6281
|
+
value: function stop(id) {
|
|
6282
|
+
return this.http.post("/scheduler/task/" + id + "/stop", null).then(() => {});
|
|
6305
6283
|
}
|
|
6306
6284
|
/**
|
|
6307
6285
|
* No description
|
|
6308
6286
|
*
|
|
6309
|
-
* @tags
|
|
6310
|
-
* @name
|
|
6311
|
-
* @operationId
|
|
6312
|
-
* @summary
|
|
6313
|
-
* @request POST:/scheduler
|
|
6287
|
+
* @tags RemoteTaskManager
|
|
6288
|
+
* @name CreateTaskPrototype
|
|
6289
|
+
* @operationId RemoteTaskManagerController_CreateTaskPrototype
|
|
6290
|
+
* @summary Creates TaskPrototype.
|
|
6291
|
+
* @request POST:/scheduler
|
|
6314
6292
|
* @response `200` OK
|
|
6315
6293
|
*/
|
|
6316
6294
|
|
|
6317
6295
|
}, {
|
|
6318
|
-
key: "
|
|
6319
|
-
value: function
|
|
6320
|
-
return this.http.post("/scheduler
|
|
6321
|
-
type: 'route'
|
|
6322
|
-
}).json();
|
|
6296
|
+
key: "createTaskPrototype",
|
|
6297
|
+
value: function createTaskPrototype(data) {
|
|
6298
|
+
return this.http.post("/scheduler", data).text();
|
|
6323
6299
|
}
|
|
6324
6300
|
/**
|
|
6325
6301
|
* No description
|
|
6326
6302
|
*
|
|
6327
|
-
* @tags
|
|
6328
|
-
* @name
|
|
6329
|
-
* @operationId
|
|
6330
|
-
* @summary
|
|
6331
|
-
* @request
|
|
6303
|
+
* @tags RemoteTaskManager
|
|
6304
|
+
* @name GetTaskPrototypes
|
|
6305
|
+
* @operationId RemoteTaskManagerController_GetTaskPrototypes
|
|
6306
|
+
* @summary Show TaskPrototypes for user.
|
|
6307
|
+
* @request GET:/scheduler
|
|
6332
6308
|
* @response `200` OK
|
|
6333
6309
|
*/
|
|
6334
6310
|
|
|
6335
6311
|
}, {
|
|
6336
|
-
key: "
|
|
6337
|
-
value: function
|
|
6338
|
-
return this.http.
|
|
6339
|
-
type: 'union'
|
|
6340
|
-
}).json();
|
|
6312
|
+
key: "getTaskPrototypes",
|
|
6313
|
+
value: function getTaskPrototypes(query) {
|
|
6314
|
+
return this.http.get("/scheduler", query).then(() => {});
|
|
6341
6315
|
}
|
|
6342
6316
|
/**
|
|
6343
6317
|
* No description
|
|
6344
6318
|
*
|
|
6345
|
-
* @tags
|
|
6346
|
-
* @name
|
|
6347
|
-
* @operationId
|
|
6348
|
-
* @summary
|
|
6349
|
-
* @request
|
|
6319
|
+
* @tags RemoteTaskManager
|
|
6320
|
+
* @name UpdateTaskPrototype
|
|
6321
|
+
* @operationId RemoteTaskManagerController_UpdateTaskPrototype
|
|
6322
|
+
* @summary Updates task prototype.
|
|
6323
|
+
* @request PUT:/scheduler/{id}
|
|
6350
6324
|
* @response `200` OK
|
|
6351
6325
|
*/
|
|
6352
6326
|
|
|
6353
6327
|
}, {
|
|
6354
|
-
key: "
|
|
6355
|
-
value: function
|
|
6356
|
-
return this.http.
|
|
6357
|
-
type: 'overlay'
|
|
6358
|
-
}).json();
|
|
6328
|
+
key: "updateTaskPrototype",
|
|
6329
|
+
value: function updateTaskPrototype(id, data) {
|
|
6330
|
+
return this.http.put("/scheduler/" + id, data).then(() => {});
|
|
6359
6331
|
}
|
|
6360
6332
|
/**
|
|
6361
6333
|
* No description
|
|
6362
6334
|
*
|
|
6363
|
-
* @tags
|
|
6364
|
-
* @name
|
|
6365
|
-
* @operationId
|
|
6366
|
-
* @summary
|
|
6367
|
-
* @request
|
|
6335
|
+
* @tags RemoteTaskManager
|
|
6336
|
+
* @name Delete
|
|
6337
|
+
* @operationId RemoteTaskManagerController_Delete
|
|
6338
|
+
* @summary Delete task prototype.
|
|
6339
|
+
* @request DELETE:/scheduler/{id}
|
|
6368
6340
|
* @response `200` OK
|
|
6369
6341
|
*/
|
|
6370
6342
|
|
|
6371
6343
|
}, {
|
|
6372
|
-
key: "
|
|
6373
|
-
value: function
|
|
6374
|
-
return this.http.
|
|
6375
|
-
type: 'filterCopy'
|
|
6376
|
-
}).json();
|
|
6344
|
+
key: "delete",
|
|
6345
|
+
value: function _delete(id) {
|
|
6346
|
+
return this.http.delete("/scheduler/" + id, null).then(() => {});
|
|
6377
6347
|
}
|
|
6378
6348
|
/**
|
|
6379
6349
|
* No description
|
|
6380
6350
|
*
|
|
6381
|
-
* @tags
|
|
6382
|
-
* @name
|
|
6383
|
-
* @operationId
|
|
6384
|
-
* @summary
|
|
6385
|
-
* @request POST:/scheduler/
|
|
6351
|
+
* @tags RemoteTaskManager
|
|
6352
|
+
* @name SetEnable
|
|
6353
|
+
* @operationId RemoteTaskManagerController_SetEnable
|
|
6354
|
+
* @summary Enables task prototype.
|
|
6355
|
+
* @request POST:/scheduler/{id}/enable/{enable}
|
|
6386
6356
|
* @response `200` OK
|
|
6387
6357
|
*/
|
|
6388
6358
|
|
|
6389
6359
|
}, {
|
|
6390
|
-
key: "
|
|
6391
|
-
value: function
|
|
6392
|
-
return this.http.post("/scheduler/
|
|
6393
|
-
type: 'pipeline'
|
|
6394
|
-
}).json();
|
|
6360
|
+
key: "setEnable",
|
|
6361
|
+
value: function setEnable(id, enable) {
|
|
6362
|
+
return this.http.post("/scheduler/" + id + "/enable/" + enable, null).then(() => {});
|
|
6395
6363
|
}
|
|
6396
6364
|
/**
|
|
6397
6365
|
* No description
|
|
6398
6366
|
*
|
|
6399
|
-
* @tags
|
|
6400
|
-
* @name
|
|
6401
|
-
* @operationId
|
|
6402
|
-
* @summary
|
|
6403
|
-
* @request
|
|
6367
|
+
* @tags RemoteTaskManager
|
|
6368
|
+
* @name GetTasksForPrototype
|
|
6369
|
+
* @operationId RemoteTaskManagerController_GetTasksForPrototype
|
|
6370
|
+
* @summary Shows Tasks that created for TaskPrototype.
|
|
6371
|
+
* @request GET:/scheduler/{id}/tasks
|
|
6404
6372
|
* @response `200` OK
|
|
6405
6373
|
*/
|
|
6406
6374
|
|
|
6407
6375
|
}, {
|
|
6408
|
-
key: "
|
|
6409
|
-
value: function
|
|
6410
|
-
|
|
6411
|
-
|
|
6412
|
-
}
|
|
6376
|
+
key: "getTasksForPrototype",
|
|
6377
|
+
value: function getTasksForPrototype(_ref) {
|
|
6378
|
+
let {
|
|
6379
|
+
id
|
|
6380
|
+
} = _ref,
|
|
6381
|
+
query = _objectWithoutPropertiesLoose(_ref, _excluded$7);
|
|
6382
|
+
|
|
6383
|
+
return this.http.get("/scheduler/" + id + "/tasks", query).then(() => {});
|
|
6413
6384
|
}
|
|
6414
6385
|
/**
|
|
6415
6386
|
* No description
|
|
6416
6387
|
*
|
|
6417
|
-
* @tags
|
|
6418
|
-
* @name
|
|
6419
|
-
* @operationId
|
|
6420
|
-
* @summary
|
|
6421
|
-
* @request POST:/scheduler/
|
|
6388
|
+
* @tags RemoteTaskManager
|
|
6389
|
+
* @name StartTask
|
|
6390
|
+
* @operationId RemoteTaskManagerController_StartTask
|
|
6391
|
+
* @summary Starts new Task for TaskPrototype with task id definition.
|
|
6392
|
+
* @request POST:/scheduler/{id}/start/{taskId}
|
|
6422
6393
|
* @response `200` OK
|
|
6423
6394
|
*/
|
|
6424
6395
|
|
|
6425
6396
|
}, {
|
|
6426
|
-
key: "
|
|
6427
|
-
value: function
|
|
6428
|
-
return this.http.post("/scheduler/
|
|
6429
|
-
|
|
6430
|
-
|
|
6397
|
+
key: "startTask",
|
|
6398
|
+
value: function startTask(id, taskId) {
|
|
6399
|
+
return this.http.post("/scheduler/" + id + "/start/" + taskId, null).then(() => {});
|
|
6400
|
+
}
|
|
6401
|
+
/**
|
|
6402
|
+
* No description
|
|
6403
|
+
*
|
|
6404
|
+
* @tags RemoteTaskManager
|
|
6405
|
+
* @name StartTask1
|
|
6406
|
+
* @operationId RemoteTaskManagerController_StartTask_1
|
|
6407
|
+
* @summary Starts new Task for TaskPrototype .
|
|
6408
|
+
* @request POST:/scheduler/{id}/start
|
|
6409
|
+
* @response `200` OK
|
|
6410
|
+
*/
|
|
6411
|
+
|
|
6412
|
+
}, {
|
|
6413
|
+
key: "startTask1",
|
|
6414
|
+
value: function startTask1(id) {
|
|
6415
|
+
return this.http.post("/scheduler/" + id + "/start", null).then(() => {});
|
|
6416
|
+
}
|
|
6417
|
+
/**
|
|
6418
|
+
* No description
|
|
6419
|
+
*
|
|
6420
|
+
* @tags RemoteTaskManager
|
|
6421
|
+
* @name Get1
|
|
6422
|
+
* @operationId RemoteTaskManagerController_Get_1
|
|
6423
|
+
* @summary Shows active workers.
|
|
6424
|
+
* @request GET:/scheduler/worker
|
|
6425
|
+
* @response `200` OK
|
|
6426
|
+
*/
|
|
6427
|
+
|
|
6428
|
+
}, {
|
|
6429
|
+
key: "get1",
|
|
6430
|
+
value: function get1() {
|
|
6431
|
+
return this.http.get("/scheduler/worker").json();
|
|
6432
|
+
}
|
|
6433
|
+
/**
|
|
6434
|
+
* No description
|
|
6435
|
+
*
|
|
6436
|
+
* @tags RemoteTaskManager
|
|
6437
|
+
* @name Post
|
|
6438
|
+
* @operationId RemoteTaskManagerController_Post
|
|
6439
|
+
* @summary Run method by HttpPost.
|
|
6440
|
+
* @request POST:/scheduler/worker
|
|
6441
|
+
* @response `200` OK
|
|
6442
|
+
*/
|
|
6443
|
+
|
|
6444
|
+
}, {
|
|
6445
|
+
key: "post",
|
|
6446
|
+
value: function post(data) {
|
|
6447
|
+
return this.http.post("/scheduler/worker", data).json();
|
|
6431
6448
|
}
|
|
6432
6449
|
}]);
|
|
6433
6450
|
|
|
6434
|
-
return
|
|
6451
|
+
return RemoteTaskManagerService;
|
|
6435
6452
|
}(Service);
|
|
6436
6453
|
|
|
6437
|
-
let
|
|
6438
|
-
_inherits(
|
|
6454
|
+
let RemoteTaskManager = /*#__PURE__*/function (_RemoteTaskManagerSer) {
|
|
6455
|
+
_inherits(RemoteTaskManager, _RemoteTaskManagerSer);
|
|
6439
6456
|
|
|
6440
|
-
var _super = /*#__PURE__*/_createSuper(
|
|
6457
|
+
var _super = /*#__PURE__*/_createSuper(RemoteTaskManager);
|
|
6441
6458
|
|
|
6442
|
-
function
|
|
6443
|
-
_classCallCheck(this,
|
|
6459
|
+
function RemoteTaskManager() {
|
|
6460
|
+
_classCallCheck(this, RemoteTaskManager);
|
|
6444
6461
|
|
|
6445
6462
|
return _super.apply(this, arguments);
|
|
6446
6463
|
}
|
|
6447
6464
|
|
|
6448
|
-
_createClass(
|
|
6449
|
-
|
|
6450
|
-
|
|
6451
|
-
|
|
6452
|
-
|
|
6453
|
-
|
|
6454
|
-
|
|
6455
|
-
|
|
6456
|
-
|
|
6457
|
-
|
|
6458
|
-
|
|
6459
|
-
|
|
6460
|
-
|
|
6461
|
-
|
|
6462
|
-
|
|
6463
|
-
|
|
6464
|
-
|
|
6465
|
-
|
|
6466
|
-
|
|
6467
|
-
|
|
6468
|
-
|
|
6469
|
-
|
|
6470
|
-
|
|
6471
|
-
|
|
6472
|
-
|
|
6473
|
-
|
|
6474
|
-
|
|
6475
|
-
|
|
6476
|
-
|
|
6477
|
-
|
|
6478
|
-
|
|
6479
|
-
|
|
6480
|
-
|
|
6481
|
-
|
|
6482
|
-
|
|
6483
|
-
const {
|
|
6484
|
-
taskId
|
|
6485
|
-
} = await this.startPrintTask(parameters);
|
|
6486
|
-
return this.processTaskId(taskId);
|
|
6487
|
-
}
|
|
6488
|
-
}, {
|
|
6489
|
-
key: "runTilingTask",
|
|
6490
|
-
value: async function runTilingTask(parameters) {
|
|
6491
|
-
const {
|
|
6492
|
-
taskId
|
|
6493
|
-
} = await this.startTilingTask(parameters);
|
|
6494
|
-
return this.processTaskId(taskId);
|
|
6495
|
-
}
|
|
6496
|
-
}, {
|
|
6497
|
-
key: "runRouteTask",
|
|
6498
|
-
value: async function runRouteTask(parameters) {
|
|
6499
|
-
const {
|
|
6500
|
-
taskId
|
|
6501
|
-
} = await this.startRouteTask(parameters);
|
|
6502
|
-
return this.processTaskId(taskId);
|
|
6465
|
+
return _createClass(RemoteTaskManager);
|
|
6466
|
+
}(RemoteTaskManagerService);
|
|
6467
|
+
|
|
6468
|
+
/**
|
|
6469
|
+
* @title Spatial Processing Core API
|
|
6470
|
+
* @version 1.5.1.0
|
|
6471
|
+
* @baseUrl /sp
|
|
6472
|
+
*/
|
|
6473
|
+
|
|
6474
|
+
let ResourceCatalogService = /*#__PURE__*/function (_Service) {
|
|
6475
|
+
_inherits(ResourceCatalogService, _Service);
|
|
6476
|
+
|
|
6477
|
+
var _super = /*#__PURE__*/_createSuper(ResourceCatalogService);
|
|
6478
|
+
|
|
6479
|
+
function ResourceCatalogService() {
|
|
6480
|
+
_classCallCheck(this, ResourceCatalogService);
|
|
6481
|
+
|
|
6482
|
+
return _super.apply(this, arguments);
|
|
6483
|
+
}
|
|
6484
|
+
|
|
6485
|
+
_createClass(ResourceCatalogService, [{
|
|
6486
|
+
key: "checkLimits",
|
|
6487
|
+
value:
|
|
6488
|
+
/**
|
|
6489
|
+
* @description This method requires superuser permission.
|
|
6490
|
+
*
|
|
6491
|
+
* @tags ResourceCatalog
|
|
6492
|
+
* @name CheckLimits
|
|
6493
|
+
* @operationId ResourceCatalogController_CheckLimits
|
|
6494
|
+
* @summary Get limits of workspace.
|
|
6495
|
+
* @request GET:/resources/checkLimits
|
|
6496
|
+
* @response `200` OK
|
|
6497
|
+
*/
|
|
6498
|
+
function checkLimits(query) {
|
|
6499
|
+
return this.http.get("/resources/checkLimits", query).json();
|
|
6503
6500
|
}
|
|
6501
|
+
/**
|
|
6502
|
+
* No description
|
|
6503
|
+
*
|
|
6504
|
+
* @tags ResourceCatalog
|
|
6505
|
+
* @name CopyResources
|
|
6506
|
+
* @operationId ResourceCatalogController_CopyResources
|
|
6507
|
+
* @summary Copy a set of resources.
|
|
6508
|
+
* @request POST:/resources/copy
|
|
6509
|
+
* @response `200` OK
|
|
6510
|
+
*/
|
|
6511
|
+
|
|
6504
6512
|
}, {
|
|
6505
|
-
key: "
|
|
6506
|
-
value:
|
|
6507
|
-
|
|
6508
|
-
taskId
|
|
6509
|
-
} = await this.startOverlayTask(parameters);
|
|
6510
|
-
return this.processTaskId(taskId);
|
|
6513
|
+
key: "copyResources",
|
|
6514
|
+
value: function copyResources(data) {
|
|
6515
|
+
return this.http.post("/resources/copy", data).json();
|
|
6511
6516
|
}
|
|
6512
|
-
}
|
|
6513
|
-
|
|
6514
|
-
|
|
6517
|
+
}]);
|
|
6518
|
+
|
|
6519
|
+
return ResourceCatalogService;
|
|
6520
|
+
}(Service);
|
|
6521
|
+
|
|
6522
|
+
let ResourceCatalog = /*#__PURE__*/function (_ResourceCatalogServi) {
|
|
6523
|
+
_inherits(ResourceCatalog, _ResourceCatalogServi);
|
|
6524
|
+
|
|
6525
|
+
var _super = /*#__PURE__*/_createSuper(ResourceCatalog);
|
|
6526
|
+
|
|
6527
|
+
function ResourceCatalog() {
|
|
6528
|
+
_classCallCheck(this, ResourceCatalog);
|
|
6529
|
+
|
|
6530
|
+
return _super.apply(this, arguments);
|
|
6531
|
+
}
|
|
6532
|
+
|
|
6533
|
+
return _createClass(ResourceCatalog);
|
|
6534
|
+
}(ResourceCatalogService);
|
|
6535
|
+
|
|
6536
|
+
var DependencyType;
|
|
6537
|
+
|
|
6538
|
+
(function (DependencyType) {
|
|
6539
|
+
DependencyType["Layer"] = "Layer";
|
|
6540
|
+
DependencyType["Table"] = "Table";
|
|
6541
|
+
DependencyType["Project"] = "Project";
|
|
6542
|
+
})(DependencyType || (DependencyType = {}));
|
|
6543
|
+
|
|
6544
|
+
let Resources = /*#__PURE__*/function () {
|
|
6545
|
+
function Resources(projects, layers, tables) {
|
|
6546
|
+
_classCallCheck(this, Resources);
|
|
6547
|
+
|
|
6548
|
+
this.projects = projects;
|
|
6549
|
+
this.layers = layers;
|
|
6550
|
+
this.tables = tables;
|
|
6551
|
+
}
|
|
6552
|
+
|
|
6553
|
+
_createClass(Resources, [{
|
|
6554
|
+
key: "getProjectInfosWithDeps",
|
|
6555
|
+
value: async function getProjectInfosWithDeps(projects) {
|
|
6556
|
+
const projectInfos = await this.projects.getProjectInfos(projects);
|
|
6557
|
+
const projectDeps = await this.projects.getProjectsDeps(projects);
|
|
6515
6558
|
const {
|
|
6516
|
-
|
|
6517
|
-
|
|
6518
|
-
|
|
6559
|
+
layers,
|
|
6560
|
+
tables
|
|
6561
|
+
} = await this.getDependencies(projectDeps, true, true);
|
|
6562
|
+
return {
|
|
6563
|
+
projects: projectInfos,
|
|
6564
|
+
deps: {
|
|
6565
|
+
layers,
|
|
6566
|
+
tables
|
|
6567
|
+
}
|
|
6568
|
+
};
|
|
6519
6569
|
}
|
|
6520
6570
|
}, {
|
|
6521
|
-
key: "
|
|
6522
|
-
value: async function
|
|
6571
|
+
key: "getLayerInfosWithDeps",
|
|
6572
|
+
value: async function getLayerInfosWithDeps(layers) {
|
|
6573
|
+
const layerInfos = await this.layers.getLayerInfos(layers);
|
|
6574
|
+
const layersDeps = await this.layers.getLayersDeps(layers);
|
|
6523
6575
|
const {
|
|
6524
|
-
|
|
6525
|
-
} = await this.
|
|
6526
|
-
return
|
|
6576
|
+
tables
|
|
6577
|
+
} = await this.getDependencies(layersDeps, false, true);
|
|
6578
|
+
return {
|
|
6579
|
+
layers: layerInfos,
|
|
6580
|
+
deps: {
|
|
6581
|
+
tables
|
|
6582
|
+
}
|
|
6583
|
+
};
|
|
6527
6584
|
}
|
|
6528
6585
|
}, {
|
|
6529
|
-
key: "
|
|
6530
|
-
value: async function
|
|
6586
|
+
key: "getDependencies",
|
|
6587
|
+
value: async function getDependencies(resourceDeps, pickLayers, pickTables) {
|
|
6531
6588
|
const {
|
|
6532
|
-
|
|
6533
|
-
|
|
6534
|
-
|
|
6535
|
-
|
|
6536
|
-
}, {
|
|
6537
|
-
key: "waitTaskCompleted",
|
|
6538
|
-
value: async function waitTaskCompleted(id) {
|
|
6539
|
-
return new Promise(async (resolve, reject) => {
|
|
6540
|
-
const taskProgress = await this.getTaskProgress(id);
|
|
6541
|
-
this.resolveTaskStatus(taskProgress, resolve, reject);
|
|
6589
|
+
tables,
|
|
6590
|
+
layers
|
|
6591
|
+
} = resourceDeps.reduce((acc, layerDep) => {
|
|
6592
|
+
const deps = layerDep.dependencies || [];
|
|
6542
6593
|
|
|
6543
|
-
|
|
6544
|
-
|
|
6545
|
-
|
|
6546
|
-
|
|
6547
|
-
|
|
6548
|
-
|
|
6549
|
-
|
|
6550
|
-
|
|
6551
|
-
|
|
6552
|
-
/* ServerTask */
|
|
6553
|
-
, taskResultCallback);
|
|
6554
|
-
this.resolveTaskStatus(taskProgress, resolve, reject);
|
|
6555
|
-
}
|
|
6556
|
-
};
|
|
6594
|
+
if (pickLayers) {
|
|
6595
|
+
const layerNames = this.getDependentNames(deps, DependencyType.Layer);
|
|
6596
|
+
acc.layers.push(...layerNames);
|
|
6597
|
+
}
|
|
6598
|
+
|
|
6599
|
+
if (pickTables) {
|
|
6600
|
+
const tableNames = this.getDependentNames(deps, DependencyType.Table);
|
|
6601
|
+
acc.tables.push(...tableNames);
|
|
6602
|
+
}
|
|
6557
6603
|
|
|
6558
|
-
|
|
6559
|
-
|
|
6560
|
-
,
|
|
6604
|
+
return acc;
|
|
6605
|
+
}, {
|
|
6606
|
+
tables: [],
|
|
6607
|
+
layers: []
|
|
6561
6608
|
});
|
|
6609
|
+
return {
|
|
6610
|
+
tables: await this.tables.getTableInfos(tables.filter(unique)),
|
|
6611
|
+
layers: await this.layers.getLayerInfos(layers.filter(unique))
|
|
6612
|
+
};
|
|
6562
6613
|
}
|
|
6563
6614
|
}, {
|
|
6564
|
-
key: "
|
|
6565
|
-
value: function
|
|
6566
|
-
|
|
6567
|
-
|
|
6568
|
-
|
|
6569
|
-
|
|
6570
|
-
|
|
6571
|
-
|
|
6572
|
-
|
|
6573
|
-
|
|
6574
|
-
|
|
6575
|
-
|
|
6576
|
-
|
|
6577
|
-
} else {
|
|
6578
|
-
throw new Error("Task was started with no testId");
|
|
6579
|
-
}
|
|
6615
|
+
key: "getDependentNames",
|
|
6616
|
+
value: function getDependentNames(deps, depType) {
|
|
6617
|
+
return deps.filter(_ref => {
|
|
6618
|
+
let {
|
|
6619
|
+
type
|
|
6620
|
+
} = _ref;
|
|
6621
|
+
return type === depType;
|
|
6622
|
+
}).map(_ref2 => {
|
|
6623
|
+
let {
|
|
6624
|
+
name
|
|
6625
|
+
} = _ref2;
|
|
6626
|
+
return name;
|
|
6627
|
+
}).filter(isString);
|
|
6580
6628
|
}
|
|
6581
6629
|
}]);
|
|
6582
6630
|
|
|
6583
|
-
return
|
|
6584
|
-
}(
|
|
6631
|
+
return Resources;
|
|
6632
|
+
}();
|
|
6585
6633
|
|
|
6586
6634
|
/**
|
|
6587
6635
|
* @title Spatial Processing Core API
|
|
@@ -7021,7 +7069,7 @@ let Styles = /*#__PURE__*/function (_StyleService) {
|
|
|
7021
7069
|
return _createClass(Styles);
|
|
7022
7070
|
}(StyleService);
|
|
7023
7071
|
|
|
7024
|
-
const _excluded$
|
|
7072
|
+
const _excluded$8 = ["name"],
|
|
7025
7073
|
_excluded2$4 = ["name"],
|
|
7026
7074
|
_excluded3$3 = ["name"],
|
|
7027
7075
|
_excluded4$2 = ["name"];
|
|
@@ -7203,7 +7251,7 @@ let TablesService = /*#__PURE__*/function (_Service) {
|
|
|
7203
7251
|
let {
|
|
7204
7252
|
name
|
|
7205
7253
|
} = _ref,
|
|
7206
|
-
query = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
7254
|
+
query = _objectWithoutPropertiesLoose(_ref, _excluded$8);
|
|
7207
7255
|
|
|
7208
7256
|
return this.http.get("/tables/" + name + "/data", query).json();
|
|
7209
7257
|
}
|
|
@@ -7603,7 +7651,7 @@ let Tools = /*#__PURE__*/function (_ToolsService) {
|
|
|
7603
7651
|
return _createClass(Tools);
|
|
7604
7652
|
}(ToolsService);
|
|
7605
7653
|
|
|
7606
|
-
const _excluded$
|
|
7654
|
+
const _excluded$9 = ["name", "z", "x", "y"];
|
|
7607
7655
|
/**
|
|
7608
7656
|
* @title Spatial Processing Core API
|
|
7609
7657
|
* @version 1.5.1.0
|
|
@@ -7641,7 +7689,7 @@ let VectorTileService = /*#__PURE__*/function (_Service) {
|
|
|
7641
7689
|
x,
|
|
7642
7690
|
y
|
|
7643
7691
|
} = _ref,
|
|
7644
|
-
query = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
7692
|
+
query = _objectWithoutPropertiesLoose(_ref, _excluded$9);
|
|
7645
7693
|
|
|
7646
7694
|
return this.http.get("/vt/" + name + "/" + z + "/" + x + "/" + y + ".pbf", query).then(() => {});
|
|
7647
7695
|
}
|
|
@@ -7737,7 +7785,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
7737
7785
|
(_request$headers = request.headers) == null ? void 0 : _request$headers.set("Authorization", "Bearer " + (token || ""));
|
|
7738
7786
|
}
|
|
7739
7787
|
}, ...((_hooks$beforeRequest = hooks == null ? void 0 : hooks.beforeRequest) != null ? _hooks$beforeRequest : [])],
|
|
7740
|
-
beforeRetry: [async
|
|
7788
|
+
beforeRetry: [async _ref2 => {
|
|
7741
7789
|
let {
|
|
7742
7790
|
request,
|
|
7743
7791
|
error,
|
|
@@ -7791,7 +7839,6 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
7791
7839
|
_this.bulk = new BulkOperations(_this.http);
|
|
7792
7840
|
_this.security = new Security(_this.http, _this.account);
|
|
7793
7841
|
_this.notification = new Notification(_this.http, _assertThisInitialized(_this), wsKeepAlive);
|
|
7794
|
-
_this.scheduler = new Scheduler(_this.http);
|
|
7795
7842
|
_this.file = new FileUpload(_this.http);
|
|
7796
7843
|
_this.filters = new Filters(_this.http);
|
|
7797
7844
|
_this.import = new Import(_this.http);
|
|
@@ -7815,6 +7862,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
7815
7862
|
_this.catalog = new CatalogService(_this.http);
|
|
7816
7863
|
_this.queryToken = new QueryTokenAccessService(_this.http);
|
|
7817
7864
|
_this.dataSource = new DataSourceService(_this.http);
|
|
7865
|
+
_this.remoteTaskManager = new RemoteTaskManager(_this.http);
|
|
7818
7866
|
_this.names = new Names({
|
|
7819
7867
|
account: _this.account
|
|
7820
7868
|
});
|
|
@@ -7833,7 +7881,6 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
7833
7881
|
authParams,
|
|
7834
7882
|
authQueryParams,
|
|
7835
7883
|
connectWs,
|
|
7836
|
-
initScheduler,
|
|
7837
7884
|
fetchSettings,
|
|
7838
7885
|
fetchUser,
|
|
7839
7886
|
useJwt
|
|
@@ -7850,10 +7897,6 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
7850
7897
|
await this.connectWs();
|
|
7851
7898
|
}
|
|
7852
7899
|
|
|
7853
|
-
if (initScheduler) {
|
|
7854
|
-
await this.initScheduler();
|
|
7855
|
-
}
|
|
7856
|
-
|
|
7857
7900
|
if (fetchSettings) {
|
|
7858
7901
|
await this.clientSettings.fetchClientSettings({
|
|
7859
7902
|
urlPath: getFetchingUrlPath(this.urlPath)
|
|
@@ -7915,11 +7958,6 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
7915
7958
|
await this.security.reset();
|
|
7916
7959
|
this.emit(ApiEvent.Unauthorized, null);
|
|
7917
7960
|
}
|
|
7918
|
-
}, {
|
|
7919
|
-
key: "initScheduler",
|
|
7920
|
-
value: function initScheduler() {
|
|
7921
|
-
return this.scheduler.init(this.notification);
|
|
7922
|
-
}
|
|
7923
7961
|
}, {
|
|
7924
7962
|
key: "defineUrlPath",
|
|
7925
7963
|
value: function defineUrlPath() {
|
|
@@ -7942,356 +7980,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
7942
7980
|
return Api;
|
|
7943
7981
|
}(EventEmitter);
|
|
7944
7982
|
|
|
7945
|
-
|
|
7946
|
-
if (min === void 0) {
|
|
7947
|
-
min = 0;
|
|
7948
|
-
}
|
|
7949
|
-
|
|
7950
|
-
if (max === void 0) {
|
|
7951
|
-
max = 100;
|
|
7952
|
-
}
|
|
7953
|
-
|
|
7954
|
-
let difference = max - min;
|
|
7955
|
-
let rand = Math.random();
|
|
7956
|
-
rand = Math.floor(rand * difference);
|
|
7957
|
-
rand = rand + min;
|
|
7958
|
-
return rand;
|
|
7959
|
-
}
|
|
7960
|
-
|
|
7961
|
-
let EvergisTileLayer = /*#__PURE__*/function (_TileLayer) {
|
|
7962
|
-
_inherits(EvergisTileLayer, _TileLayer);
|
|
7963
|
-
|
|
7964
|
-
var _super = /*#__PURE__*/_createSuper(EvergisTileLayer);
|
|
7965
|
-
|
|
7966
|
-
function EvergisTileLayer(configuration, api) {
|
|
7967
|
-
var _this;
|
|
7968
|
-
|
|
7969
|
-
_classCallCheck(this, EvergisTileLayer);
|
|
7970
|
-
|
|
7971
|
-
_this = _super.call(this, '', {
|
|
7972
|
-
crs: configuration.crs,
|
|
7973
|
-
opacity: configuration.opacity
|
|
7974
|
-
});
|
|
7975
|
-
_this.api = api;
|
|
7976
|
-
_this.name = configuration.name;
|
|
7977
|
-
_this.sourceUrl = configuration.sourceUrl;
|
|
7978
|
-
_this.subDomains = configuration.subDomains;
|
|
7979
|
-
return _this;
|
|
7980
|
-
}
|
|
7981
|
-
|
|
7982
|
-
_createClass(EvergisTileLayer, [{
|
|
7983
|
-
key: "getTileUrl",
|
|
7984
|
-
value: function getTileUrl(x, y, level) {
|
|
7985
|
-
var _this$subDomains;
|
|
7986
|
-
|
|
7987
|
-
const name = this.name;
|
|
7988
|
-
const subDomainIndex = this.subDomains ? generateRandom(0, ((_this$subDomains = this.subDomains) == null ? void 0 : _this$subDomains.length) - 1) : undefined;
|
|
7989
|
-
return this.sourceUrl ? (this.subDomains && subDomainIndex !== undefined ? this.sourceUrl.replace("{0}", this.subDomains[subDomainIndex]) : this.sourceUrl).replace("{1}", "" + level).replace("{2}", "" + x).replace("{3}", "" + y) : this.api.layers.getTilesLayerImage({
|
|
7990
|
-
x,
|
|
7991
|
-
y,
|
|
7992
|
-
z: level,
|
|
7993
|
-
name
|
|
7994
|
-
});
|
|
7995
|
-
}
|
|
7996
|
-
}]);
|
|
7997
|
-
|
|
7998
|
-
return EvergisTileLayer;
|
|
7999
|
-
}(TileLayer);
|
|
8000
|
-
|
|
8001
|
-
const _excluded$9 = ["name", "style", "condition", "dataFilterId", "crs"];
|
|
8002
|
-
let EvergisDynamicLayer = /*#__PURE__*/function (_DynamicLayer) {
|
|
8003
|
-
_inherits(EvergisDynamicLayer, _DynamicLayer);
|
|
8004
|
-
|
|
8005
|
-
var _super = /*#__PURE__*/_createSuper(EvergisDynamicLayer);
|
|
8006
|
-
|
|
8007
|
-
function EvergisDynamicLayer(_ref, api) {
|
|
8008
|
-
var _this;
|
|
8009
|
-
|
|
8010
|
-
let {
|
|
8011
|
-
name,
|
|
8012
|
-
style,
|
|
8013
|
-
condition,
|
|
8014
|
-
dataFilterId,
|
|
8015
|
-
crs = webMercator
|
|
8016
|
-
} = _ref,
|
|
8017
|
-
layerProps = _objectWithoutPropertiesLoose(_ref, _excluded$9);
|
|
8018
|
-
|
|
8019
|
-
_classCallCheck(this, EvergisDynamicLayer);
|
|
8020
|
-
|
|
8021
|
-
_this = _super.call(this, layerProps);
|
|
8022
|
-
_this.api = api;
|
|
8023
|
-
_this.name = name;
|
|
8024
|
-
_this.styleId = style;
|
|
8025
|
-
_this.conditionQuery = condition;
|
|
8026
|
-
_this.filterId = dataFilterId;
|
|
8027
|
-
_this.crs = crs;
|
|
8028
|
-
|
|
8029
|
-
_this.subscribeRedraw();
|
|
8030
|
-
|
|
8031
|
-
return _this;
|
|
8032
|
-
} // @ts-ignore TODO
|
|
8033
|
-
|
|
8034
|
-
|
|
8035
|
-
_createClass(EvergisDynamicLayer, [{
|
|
8036
|
-
key: "style",
|
|
8037
|
-
get: // @ts-ignore TODO
|
|
8038
|
-
function get() {
|
|
8039
|
-
return this.styleId;
|
|
8040
|
-
} // @ts-ignore TODO
|
|
8041
|
-
,
|
|
8042
|
-
set: function set(styleId) {
|
|
8043
|
-
this.styleId = styleId;
|
|
8044
|
-
this.forceUpdate();
|
|
8045
|
-
}
|
|
8046
|
-
}, {
|
|
8047
|
-
key: "condition",
|
|
8048
|
-
get: // @ts-ignore TODO
|
|
8049
|
-
function get() {
|
|
8050
|
-
return this.conditionQuery;
|
|
8051
|
-
} // @ts-ignore TODO
|
|
8052
|
-
,
|
|
8053
|
-
set: function set(condition) {
|
|
8054
|
-
this.conditionQuery = condition;
|
|
8055
|
-
this.forceUpdate();
|
|
8056
|
-
}
|
|
8057
|
-
}, {
|
|
8058
|
-
key: "dataFilterId",
|
|
8059
|
-
get: // @ts-ignore TODO
|
|
8060
|
-
function get() {
|
|
8061
|
-
return this.filterId;
|
|
8062
|
-
},
|
|
8063
|
-
set: function set(filterId) {
|
|
8064
|
-
this.filterId = filterId;
|
|
8065
|
-
this.forceUpdate();
|
|
8066
|
-
}
|
|
8067
|
-
}, {
|
|
8068
|
-
key: "getUrl",
|
|
8069
|
-
value: function getUrl(bbox, painter) {
|
|
8070
|
-
let imgWidth = painter.width;
|
|
8071
|
-
let imgHeight = painter.height;
|
|
8072
|
-
return this.api.layers.getLayerImage({
|
|
8073
|
-
name: this.name,
|
|
8074
|
-
extent: bbox.coordinates,
|
|
8075
|
-
size: [imgWidth, imgHeight],
|
|
8076
|
-
extentSr: bbox.crs.wkid,
|
|
8077
|
-
styleId: this.styleId,
|
|
8078
|
-
condition: this.conditionQuery,
|
|
8079
|
-
dataFilterId: this.filterId
|
|
8080
|
-
});
|
|
8081
|
-
}
|
|
8082
|
-
}, {
|
|
8083
|
-
key: "subscribeRedraw",
|
|
8084
|
-
value: function subscribeRedraw() {
|
|
8085
|
-
this.api.notification.on("service_update"
|
|
8086
|
-
/* ServiceUpdate */
|
|
8087
|
-
, e => {
|
|
8088
|
-
if ((e == null ? void 0 : e.data.layerName) === this.name) {
|
|
8089
|
-
this.forceUpdate();
|
|
8090
|
-
this.redraw();
|
|
8091
|
-
}
|
|
8092
|
-
});
|
|
8093
|
-
}
|
|
8094
|
-
}]);
|
|
8095
|
-
|
|
8096
|
-
return EvergisDynamicLayer;
|
|
8097
|
-
}(DynamicLayer);
|
|
8098
|
-
|
|
8099
|
-
const LayerServicesMap = {
|
|
8100
|
-
RemoteTileService: EvergisTileLayer,
|
|
8101
|
-
LocalTileService: EvergisTileLayer,
|
|
8102
|
-
PostgresLayerService: EvergisDynamicLayer,
|
|
8103
|
-
StyledFeatureLayer: EvergisDynamicLayer,
|
|
8104
|
-
CompositeService: null
|
|
8105
|
-
};
|
|
8106
|
-
|
|
8107
|
-
const isLayerType = type => Boolean(type && Object.keys(LayerServicesMap).includes(type));
|
|
8108
|
-
|
|
8109
|
-
const withServicesPrefix = layerInfo => _extends({}, layerInfo, {
|
|
8110
|
-
name: "services/" + layerInfo.name
|
|
8111
|
-
});
|
|
8112
|
-
|
|
8113
|
-
let LayersManager = /*#__PURE__*/function () {
|
|
8114
|
-
function LayersManager(layers, http) {
|
|
8115
|
-
_classCallCheck(this, LayersManager);
|
|
8116
|
-
|
|
8117
|
-
this.layers = layers;
|
|
8118
|
-
this.http = http;
|
|
8119
|
-
}
|
|
8120
|
-
|
|
8121
|
-
_createClass(LayersManager, [{
|
|
8122
|
-
key: "getLayerService",
|
|
8123
|
-
value: async function getLayerService(name) {
|
|
8124
|
-
let layerInfo = await this.getLayerInfo(name);
|
|
8125
|
-
const type = layerInfo.type;
|
|
8126
|
-
|
|
8127
|
-
if (!isLayerType(type)) {
|
|
8128
|
-
return;
|
|
8129
|
-
}
|
|
8130
|
-
|
|
8131
|
-
const ServiceCtor = LayerServicesMap[type];
|
|
8132
|
-
|
|
8133
|
-
if (ServiceCtor) {
|
|
8134
|
-
// @ts-ignore
|
|
8135
|
-
return new ServiceCtor(withServicesPrefix(layerInfo), this.http);
|
|
8136
|
-
} else {
|
|
8137
|
-
throw new Error("Constructor for service type: \"" + layerInfo.type + "\" not implemented");
|
|
8138
|
-
}
|
|
8139
|
-
}
|
|
8140
|
-
}, {
|
|
8141
|
-
key: "getLayerInfo",
|
|
8142
|
-
value: async function getLayerInfo(name) {
|
|
8143
|
-
try {
|
|
8144
|
-
return await this.layers.getLayerInfo(name);
|
|
8145
|
-
} catch (_unused) {
|
|
8146
|
-
throw new Error("Service with name: \"" + name + "\" not exists");
|
|
8147
|
-
}
|
|
8148
|
-
}
|
|
8149
|
-
}]);
|
|
8150
|
-
|
|
8151
|
-
return LayersManager;
|
|
8152
|
-
}();
|
|
8153
|
-
|
|
8154
|
-
var LayersZIndex;
|
|
8155
|
-
|
|
8156
|
-
(function (LayersZIndex) {
|
|
8157
|
-
LayersZIndex[LayersZIndex["BaseMaps"] = 0] = "BaseMaps";
|
|
8158
|
-
LayersZIndex[LayersZIndex["Layers"] = 1] = "Layers";
|
|
8159
|
-
})(LayersZIndex || (LayersZIndex = {}));
|
|
8160
|
-
|
|
8161
|
-
let SpatialProcessor = /*#__PURE__*/function (_Api) {
|
|
8162
|
-
_inherits(SpatialProcessor, _Api);
|
|
8163
|
-
|
|
8164
|
-
var _super = /*#__PURE__*/_createSuper(SpatialProcessor);
|
|
8165
|
-
|
|
8166
|
-
function SpatialProcessor(mapProps, apiParams, authParams) {
|
|
8167
|
-
var _this;
|
|
8168
|
-
|
|
8169
|
-
_classCallCheck(this, SpatialProcessor);
|
|
8170
|
-
|
|
8171
|
-
_this = _super.call(this, apiParams);
|
|
8172
|
-
_this.map = new Map();
|
|
8173
|
-
_this.painter = new DomPainter(_this.map);
|
|
8174
|
-
_this.mapProps = mapProps;
|
|
8175
|
-
_this.auth = authParams;
|
|
8176
|
-
_this.layersManager = new LayersManager(_this.layers, _this.http);
|
|
8177
|
-
return _this;
|
|
8178
|
-
}
|
|
8179
|
-
|
|
8180
|
-
_createClass(SpatialProcessor, [{
|
|
8181
|
-
key: "init",
|
|
8182
|
-
value: async function init() {
|
|
8183
|
-
await _get(_getPrototypeOf(SpatialProcessor.prototype), "init", this).call(this, {
|
|
8184
|
-
authParams: this.auth,
|
|
8185
|
-
connectWs: true,
|
|
8186
|
-
fetchSettings: true,
|
|
8187
|
-
initScheduler: true
|
|
8188
|
-
});
|
|
8189
|
-
const {
|
|
8190
|
-
baseService,
|
|
8191
|
-
services,
|
|
8192
|
-
projectName
|
|
8193
|
-
} = this.mapProps;
|
|
8194
|
-
|
|
8195
|
-
if (baseService) {
|
|
8196
|
-
await this.setBaseMap(baseService);
|
|
8197
|
-
}
|
|
8198
|
-
|
|
8199
|
-
if (services) {
|
|
8200
|
-
await Promise.all(services.map(service => this.addLayer(service)));
|
|
8201
|
-
}
|
|
8202
|
-
|
|
8203
|
-
if (projectName) {
|
|
8204
|
-
await this.loadProject(projectName);
|
|
8205
|
-
}
|
|
8206
|
-
|
|
8207
|
-
this.setMapProps();
|
|
8208
|
-
}
|
|
8209
|
-
}, {
|
|
8210
|
-
key: "reset",
|
|
8211
|
-
value: async function reset() {
|
|
8212
|
-
await this.account.logout();
|
|
8213
|
-
this.painter.wrapper = null;
|
|
8214
|
-
}
|
|
8215
|
-
}, {
|
|
8216
|
-
key: "addLayer",
|
|
8217
|
-
value: async function addLayer(name) {
|
|
8218
|
-
await this.insertLayer(name, LayersZIndex.Layers);
|
|
8219
|
-
}
|
|
8220
|
-
}, {
|
|
8221
|
-
key: "setBaseMap",
|
|
8222
|
-
value: async function setBaseMap(name) {
|
|
8223
|
-
await this.insertLayer(name, LayersZIndex.BaseMaps);
|
|
8224
|
-
}
|
|
8225
|
-
}, {
|
|
8226
|
-
key: "loadProject",
|
|
8227
|
-
value: async function loadProject(name) {
|
|
8228
|
-
const projectInfo = await this.projects.getProjectInfo(name);
|
|
8229
|
-
|
|
8230
|
-
if (!(projectInfo && projectInfo.content)) {
|
|
8231
|
-
return;
|
|
8232
|
-
}
|
|
8233
|
-
|
|
8234
|
-
const {
|
|
8235
|
-
baseMapName,
|
|
8236
|
-
items
|
|
8237
|
-
} = projectInfo.content;
|
|
8238
|
-
|
|
8239
|
-
if (baseMapName) {
|
|
8240
|
-
await this.setBaseMap(baseMapName);
|
|
8241
|
-
}
|
|
8242
|
-
|
|
8243
|
-
if (items) {
|
|
8244
|
-
const layers = items.map(item => item.name).filter(isString$1);
|
|
8245
|
-
await Promise.all(layers.map(layer => this.addLayer(layer)));
|
|
8246
|
-
}
|
|
8247
|
-
}
|
|
8248
|
-
}, {
|
|
8249
|
-
key: "insertLayer",
|
|
8250
|
-
value: async function insertLayer(name, index) {
|
|
8251
|
-
const service = await this.layersManager.getLayerService(name);
|
|
8252
|
-
|
|
8253
|
-
if (service) {
|
|
8254
|
-
// @ts-ignore
|
|
8255
|
-
this.map.insertLayer(service.layer, index);
|
|
8256
|
-
}
|
|
8257
|
-
}
|
|
8258
|
-
}, {
|
|
8259
|
-
key: "setMapProps",
|
|
8260
|
-
value: function setMapProps() {
|
|
8261
|
-
const {
|
|
8262
|
-
position,
|
|
8263
|
-
centerPoint,
|
|
8264
|
-
mapWrapper,
|
|
8265
|
-
resolution
|
|
8266
|
-
} = this.mapProps;
|
|
8267
|
-
|
|
8268
|
-
if (position) {
|
|
8269
|
-
this.map.position = position;
|
|
8270
|
-
} else if (centerPoint) {
|
|
8271
|
-
this.map.centerPoint = centerPoint;
|
|
8272
|
-
}
|
|
8273
|
-
|
|
8274
|
-
if (resolution) this.map.resolution = resolution;
|
|
8275
|
-
if (mapWrapper) this.painter.wrapper = mapWrapper;
|
|
8276
|
-
}
|
|
8277
|
-
}]);
|
|
8278
|
-
|
|
8279
|
-
return SpatialProcessor;
|
|
8280
|
-
}(Api);
|
|
8281
|
-
|
|
8282
|
-
const isString$1 = s => s !== undefined;
|
|
8283
|
-
|
|
8284
|
-
function isEvergisDynamicLayer(layer) {
|
|
8285
|
-
return layer instanceof EvergisDynamicLayer;
|
|
8286
|
-
}
|
|
8287
|
-
function isEvergisTileLayer(layer) {
|
|
8288
|
-
return layer instanceof EvergisTileLayer;
|
|
8289
|
-
}
|
|
8290
|
-
function isFeatureLayer(layer) {
|
|
8291
|
-
return layer instanceof FeatureLayer;
|
|
8292
|
-
}
|
|
8293
|
-
|
|
8294
|
-
/* eslint-disable */
|
|
7983
|
+
/* eslint-disable */
|
|
8295
7984
|
|
|
8296
7985
|
/* tslint:disable */
|
|
8297
7986
|
|
|
@@ -8306,47 +7995,47 @@ function isFeatureLayer(layer) {
|
|
|
8306
7995
|
|
|
8307
7996
|
/**
|
|
8308
7997
|
*
|
|
8309
|
-
|
|
7998
|
+
|
|
8310
7999
|
None
|
|
8311
|
-
|
|
8000
|
+
|
|
8312
8001
|
Array
|
|
8313
|
-
|
|
8002
|
+
|
|
8314
8003
|
Min
|
|
8315
|
-
|
|
8004
|
+
|
|
8316
8005
|
Max
|
|
8317
|
-
|
|
8006
|
+
|
|
8318
8007
|
Avg
|
|
8319
|
-
|
|
8008
|
+
|
|
8320
8009
|
Sum
|
|
8321
|
-
|
|
8010
|
+
|
|
8322
8011
|
Extent
|
|
8323
|
-
|
|
8012
|
+
|
|
8324
8013
|
H3
|
|
8325
|
-
|
|
8014
|
+
|
|
8326
8015
|
Count
|
|
8327
|
-
|
|
8016
|
+
|
|
8328
8017
|
TotalCount
|
|
8329
|
-
|
|
8018
|
+
|
|
8330
8019
|
DistinctCount
|
|
8331
|
-
|
|
8020
|
+
|
|
8332
8021
|
First
|
|
8333
|
-
|
|
8022
|
+
|
|
8334
8023
|
Last
|
|
8335
|
-
|
|
8024
|
+
|
|
8336
8025
|
Median
|
|
8337
|
-
|
|
8026
|
+
|
|
8338
8027
|
Mod
|
|
8339
|
-
|
|
8028
|
+
|
|
8340
8029
|
StdDeviation
|
|
8341
|
-
|
|
8030
|
+
|
|
8342
8031
|
SumOfProduct
|
|
8343
|
-
|
|
8032
|
+
|
|
8344
8033
|
OnlyValue
|
|
8345
|
-
|
|
8034
|
+
|
|
8346
8035
|
WeightedAvg
|
|
8347
|
-
|
|
8036
|
+
|
|
8348
8037
|
DensityIndicators
|
|
8349
|
-
|
|
8038
|
+
|
|
8350
8039
|
DividedSum
|
|
8351
8040
|
*/
|
|
8352
8041
|
var AggregationFunction;
|
|
@@ -8376,13 +8065,13 @@ var AggregationFunction;
|
|
|
8376
8065
|
})(AggregationFunction || (AggregationFunction = {}));
|
|
8377
8066
|
/**
|
|
8378
8067
|
*
|
|
8379
|
-
|
|
8068
|
+
|
|
8380
8069
|
Unknown
|
|
8381
|
-
|
|
8070
|
+
|
|
8382
8071
|
Icon
|
|
8383
|
-
|
|
8072
|
+
|
|
8384
8073
|
PNG
|
|
8385
|
-
|
|
8074
|
+
|
|
8386
8075
|
SVG
|
|
8387
8076
|
*/
|
|
8388
8077
|
|
|
@@ -8397,13 +8086,13 @@ var AttributeIconType;
|
|
|
8397
8086
|
})(AttributeIconType || (AttributeIconType = {}));
|
|
8398
8087
|
/**
|
|
8399
8088
|
*
|
|
8400
|
-
|
|
8089
|
+
|
|
8401
8090
|
None
|
|
8402
|
-
|
|
8091
|
+
|
|
8403
8092
|
SelectFromHandBook
|
|
8404
|
-
|
|
8093
|
+
|
|
8405
8094
|
SelectFromRange
|
|
8406
|
-
|
|
8095
|
+
|
|
8407
8096
|
ViewHandBook
|
|
8408
8097
|
*/
|
|
8409
8098
|
|
|
@@ -8418,31 +8107,31 @@ var AttributeSelectorType;
|
|
|
8418
8107
|
})(AttributeSelectorType || (AttributeSelectorType = {}));
|
|
8419
8108
|
/**
|
|
8420
8109
|
*
|
|
8421
|
-
|
|
8110
|
+
|
|
8422
8111
|
Unknown
|
|
8423
|
-
|
|
8112
|
+
|
|
8424
8113
|
String
|
|
8425
|
-
|
|
8114
|
+
|
|
8426
8115
|
Int32
|
|
8427
|
-
|
|
8116
|
+
|
|
8428
8117
|
Int64
|
|
8429
|
-
|
|
8118
|
+
|
|
8430
8119
|
Double
|
|
8431
|
-
|
|
8120
|
+
|
|
8432
8121
|
DateTime
|
|
8433
|
-
|
|
8122
|
+
|
|
8434
8123
|
Boolean
|
|
8435
|
-
|
|
8124
|
+
|
|
8436
8125
|
Point
|
|
8437
|
-
|
|
8126
|
+
|
|
8438
8127
|
Polyline
|
|
8439
|
-
|
|
8128
|
+
|
|
8440
8129
|
MultiPolygon
|
|
8441
|
-
|
|
8130
|
+
|
|
8442
8131
|
Multipoint
|
|
8443
|
-
|
|
8132
|
+
|
|
8444
8133
|
H3Index
|
|
8445
|
-
|
|
8134
|
+
|
|
8446
8135
|
Json
|
|
8447
8136
|
*/
|
|
8448
8137
|
|
|
@@ -8468,9 +8157,9 @@ var AttributeType;
|
|
|
8468
8157
|
* An authorization grant is a credential representing the resource
|
|
8469
8158
|
owner's authorization (to access its protected resources) used by the
|
|
8470
8159
|
client to obtain an access token.
|
|
8471
|
-
|
|
8160
|
+
|
|
8472
8161
|
authorization_code
|
|
8473
|
-
|
|
8162
|
+
|
|
8474
8163
|
refresh_token
|
|
8475
8164
|
*/
|
|
8476
8165
|
|
|
@@ -8483,19 +8172,19 @@ var AuthorizationGrant;
|
|
|
8483
8172
|
})(AuthorizationGrant || (AuthorizationGrant = {}));
|
|
8484
8173
|
/**
|
|
8485
8174
|
*
|
|
8486
|
-
|
|
8175
|
+
|
|
8487
8176
|
None
|
|
8488
|
-
|
|
8177
|
+
|
|
8489
8178
|
Map
|
|
8490
|
-
|
|
8179
|
+
|
|
8491
8180
|
Layer
|
|
8492
|
-
|
|
8181
|
+
|
|
8493
8182
|
Table
|
|
8494
|
-
|
|
8183
|
+
|
|
8495
8184
|
File
|
|
8496
|
-
|
|
8185
|
+
|
|
8497
8186
|
TaskPrototype
|
|
8498
|
-
|
|
8187
|
+
|
|
8499
8188
|
DataSource
|
|
8500
8189
|
*/
|
|
8501
8190
|
|
|
@@ -8513,15 +8202,15 @@ var CatalogResourceType;
|
|
|
8513
8202
|
})(CatalogResourceType || (CatalogResourceType = {}));
|
|
8514
8203
|
/**
|
|
8515
8204
|
* Describes classification methods.
|
|
8516
|
-
|
|
8205
|
+
|
|
8517
8206
|
none
|
|
8518
|
-
|
|
8207
|
+
|
|
8519
8208
|
naturalBreaks
|
|
8520
|
-
|
|
8209
|
+
|
|
8521
8210
|
equalInterval
|
|
8522
|
-
|
|
8211
|
+
|
|
8523
8212
|
quantile
|
|
8524
|
-
|
|
8213
|
+
|
|
8525
8214
|
unique
|
|
8526
8215
|
*/
|
|
8527
8216
|
|
|
@@ -8537,11 +8226,11 @@ var ClassificationType;
|
|
|
8537
8226
|
})(ClassificationType || (ClassificationType = {}));
|
|
8538
8227
|
/**
|
|
8539
8228
|
*
|
|
8540
|
-
|
|
8229
|
+
|
|
8541
8230
|
decimal
|
|
8542
|
-
|
|
8231
|
+
|
|
8543
8232
|
dateTime
|
|
8544
|
-
|
|
8233
|
+
|
|
8545
8234
|
text
|
|
8546
8235
|
*/
|
|
8547
8236
|
|
|
@@ -8555,55 +8244,55 @@ var ClassifyAttributeType;
|
|
|
8555
8244
|
})(ClassifyAttributeType || (ClassifyAttributeType = {}));
|
|
8556
8245
|
/**
|
|
8557
8246
|
*
|
|
8558
|
-
|
|
8247
|
+
|
|
8559
8248
|
Unknown
|
|
8560
|
-
|
|
8249
|
+
|
|
8561
8250
|
SerializeError
|
|
8562
|
-
|
|
8251
|
+
|
|
8563
8252
|
InvalidDataService
|
|
8564
|
-
|
|
8253
|
+
|
|
8565
8254
|
InvalidConfiguration
|
|
8566
|
-
|
|
8255
|
+
|
|
8567
8256
|
InvalidDataServiceName
|
|
8568
|
-
|
|
8257
|
+
|
|
8569
8258
|
InvalidTableName
|
|
8570
|
-
|
|
8259
|
+
|
|
8571
8260
|
InvalidLayerName
|
|
8572
|
-
|
|
8261
|
+
|
|
8573
8262
|
ResourceNotFound
|
|
8574
|
-
|
|
8263
|
+
|
|
8575
8264
|
InvalidCondition
|
|
8576
|
-
|
|
8265
|
+
|
|
8577
8266
|
InvalidAttributes
|
|
8578
|
-
|
|
8267
|
+
|
|
8579
8268
|
InvalidIdAttribute
|
|
8580
|
-
|
|
8269
|
+
|
|
8581
8270
|
InvalidGeometryAttribute
|
|
8582
|
-
|
|
8271
|
+
|
|
8583
8272
|
InvalidGeometryAttributeType
|
|
8584
|
-
|
|
8273
|
+
|
|
8585
8274
|
InvalidColumnName
|
|
8586
|
-
|
|
8275
|
+
|
|
8587
8276
|
InvalidIdColumnSettings
|
|
8588
|
-
|
|
8277
|
+
|
|
8589
8278
|
ColumnNotExistsInTable
|
|
8590
|
-
|
|
8279
|
+
|
|
8591
8280
|
InvalidStyle
|
|
8592
|
-
|
|
8281
|
+
|
|
8593
8282
|
InvalidLayerType
|
|
8594
|
-
|
|
8283
|
+
|
|
8595
8284
|
ColumnLoadingError
|
|
8596
|
-
|
|
8285
|
+
|
|
8597
8286
|
InvalidAttributeFormat
|
|
8598
|
-
|
|
8287
|
+
|
|
8599
8288
|
DataSourceNotFound
|
|
8600
|
-
|
|
8289
|
+
|
|
8601
8290
|
DuplicateColumns
|
|
8602
|
-
|
|
8291
|
+
|
|
8603
8292
|
DuplicateAttributes
|
|
8604
|
-
|
|
8293
|
+
|
|
8605
8294
|
TableWithoutColumns
|
|
8606
|
-
|
|
8295
|
+
|
|
8607
8296
|
InvalidTableReferenceConfiguration
|
|
8608
8297
|
*/
|
|
8609
8298
|
|
|
@@ -8639,13 +8328,13 @@ var ConfigurationErrorEnum;
|
|
|
8639
8328
|
})(ConfigurationErrorEnum || (ConfigurationErrorEnum = {}));
|
|
8640
8329
|
/**
|
|
8641
8330
|
*
|
|
8642
|
-
|
|
8331
|
+
|
|
8643
8332
|
Postgres
|
|
8644
|
-
|
|
8333
|
+
|
|
8645
8334
|
Trino
|
|
8646
|
-
|
|
8335
|
+
|
|
8647
8336
|
S3
|
|
8648
|
-
|
|
8337
|
+
|
|
8649
8338
|
GisServer
|
|
8650
8339
|
*/
|
|
8651
8340
|
|
|
@@ -8660,15 +8349,15 @@ var DataSourceType;
|
|
|
8660
8349
|
})(DataSourceType || (DataSourceType = {}));
|
|
8661
8350
|
/**
|
|
8662
8351
|
* Type of the error.
|
|
8663
|
-
|
|
8352
|
+
|
|
8664
8353
|
ResourceLimitExceeded
|
|
8665
|
-
|
|
8354
|
+
|
|
8666
8355
|
ResourceNotFound
|
|
8667
|
-
|
|
8356
|
+
|
|
8668
8357
|
InternalError
|
|
8669
|
-
|
|
8358
|
+
|
|
8670
8359
|
BadRequest
|
|
8671
|
-
|
|
8360
|
+
|
|
8672
8361
|
DuplicateContent
|
|
8673
8362
|
*/
|
|
8674
8363
|
|
|
@@ -8719,9 +8408,9 @@ var ErrorType;
|
|
|
8719
8408
|
})(ErrorType || (ErrorType = {}));
|
|
8720
8409
|
/**
|
|
8721
8410
|
* Type of the feature.
|
|
8722
|
-
|
|
8411
|
+
|
|
8723
8412
|
Unknown
|
|
8724
|
-
|
|
8413
|
+
|
|
8725
8414
|
GeometricFeature
|
|
8726
8415
|
*/
|
|
8727
8416
|
|
|
@@ -8734,11 +8423,11 @@ var FeatureType;
|
|
|
8734
8423
|
})(FeatureType || (FeatureType = {}));
|
|
8735
8424
|
/**
|
|
8736
8425
|
* Sets whether font should be styled.
|
|
8737
|
-
|
|
8426
|
+
|
|
8738
8427
|
normal
|
|
8739
|
-
|
|
8428
|
+
|
|
8740
8429
|
oblique
|
|
8741
|
-
|
|
8430
|
+
|
|
8742
8431
|
italic
|
|
8743
8432
|
*/
|
|
8744
8433
|
|
|
@@ -8752,27 +8441,27 @@ var FontStyle;
|
|
|
8752
8441
|
})(FontStyle || (FontStyle = {}));
|
|
8753
8442
|
/**
|
|
8754
8443
|
* Specifies the weight (or boldness) of the font.
|
|
8755
|
-
|
|
8444
|
+
|
|
8756
8445
|
Thin
|
|
8757
|
-
|
|
8446
|
+
|
|
8758
8447
|
ExtraLight
|
|
8759
|
-
|
|
8448
|
+
|
|
8760
8449
|
Light
|
|
8761
|
-
|
|
8450
|
+
|
|
8762
8451
|
SemiLight
|
|
8763
|
-
|
|
8452
|
+
|
|
8764
8453
|
Normal
|
|
8765
|
-
|
|
8454
|
+
|
|
8766
8455
|
Medium
|
|
8767
|
-
|
|
8456
|
+
|
|
8768
8457
|
DemiBold
|
|
8769
|
-
|
|
8458
|
+
|
|
8770
8459
|
Bold
|
|
8771
|
-
|
|
8460
|
+
|
|
8772
8461
|
ExtraBold
|
|
8773
|
-
|
|
8462
|
+
|
|
8774
8463
|
Black
|
|
8775
|
-
|
|
8464
|
+
|
|
8776
8465
|
ExtraBlack
|
|
8777
8466
|
*/
|
|
8778
8467
|
|
|
@@ -8794,17 +8483,17 @@ var FontWeight;
|
|
|
8794
8483
|
})(FontWeight || (FontWeight = {}));
|
|
8795
8484
|
/**
|
|
8796
8485
|
*
|
|
8797
|
-
|
|
8486
|
+
|
|
8798
8487
|
unknown
|
|
8799
|
-
|
|
8488
|
+
|
|
8800
8489
|
point
|
|
8801
|
-
|
|
8490
|
+
|
|
8802
8491
|
polyline
|
|
8803
|
-
|
|
8492
|
+
|
|
8804
8493
|
multipolygon
|
|
8805
|
-
|
|
8494
|
+
|
|
8806
8495
|
envelope
|
|
8807
|
-
|
|
8496
|
+
|
|
8808
8497
|
multipoint
|
|
8809
8498
|
*/
|
|
8810
8499
|
|
|
@@ -8821,13 +8510,13 @@ var GeometryType;
|
|
|
8821
8510
|
})(GeometryType || (GeometryType = {}));
|
|
8822
8511
|
/**
|
|
8823
8512
|
* Resource group.
|
|
8824
|
-
|
|
8513
|
+
|
|
8825
8514
|
my
|
|
8826
|
-
|
|
8515
|
+
|
|
8827
8516
|
role
|
|
8828
|
-
|
|
8517
|
+
|
|
8829
8518
|
public
|
|
8830
|
-
|
|
8519
|
+
|
|
8831
8520
|
all
|
|
8832
8521
|
*/
|
|
8833
8522
|
|
|
@@ -8842,13 +8531,13 @@ var Group;
|
|
|
8842
8531
|
})(Group || (Group = {}));
|
|
8843
8532
|
/**
|
|
8844
8533
|
* Specifies the settings of line cap. This is applied to the beginning and end of each non-closed line.
|
|
8845
|
-
|
|
8534
|
+
|
|
8846
8535
|
Flat
|
|
8847
|
-
|
|
8536
|
+
|
|
8848
8537
|
Square
|
|
8849
|
-
|
|
8538
|
+
|
|
8850
8539
|
Round
|
|
8851
|
-
|
|
8540
|
+
|
|
8852
8541
|
Triangle
|
|
8853
8542
|
*/
|
|
8854
8543
|
|
|
@@ -8863,29 +8552,29 @@ var LineCapStyle;
|
|
|
8863
8552
|
})(LineCapStyle || (LineCapStyle = {}));
|
|
8864
8553
|
/**
|
|
8865
8554
|
* Type of the line ending.
|
|
8866
|
-
|
|
8555
|
+
|
|
8867
8556
|
none
|
|
8868
|
-
|
|
8557
|
+
|
|
8869
8558
|
arrow
|
|
8870
|
-
|
|
8559
|
+
|
|
8871
8560
|
filledArrow
|
|
8872
|
-
|
|
8561
|
+
|
|
8873
8562
|
square
|
|
8874
|
-
|
|
8563
|
+
|
|
8875
8564
|
filledSquare
|
|
8876
|
-
|
|
8565
|
+
|
|
8877
8566
|
circle
|
|
8878
|
-
|
|
8567
|
+
|
|
8879
8568
|
filledCircle
|
|
8880
|
-
|
|
8569
|
+
|
|
8881
8570
|
diamond
|
|
8882
|
-
|
|
8571
|
+
|
|
8883
8572
|
filledDiamond
|
|
8884
|
-
|
|
8573
|
+
|
|
8885
8574
|
roundSquare
|
|
8886
|
-
|
|
8575
|
+
|
|
8887
8576
|
filledRoundSquare
|
|
8888
|
-
|
|
8577
|
+
|
|
8889
8578
|
svg
|
|
8890
8579
|
*/
|
|
8891
8580
|
|
|
@@ -8908,11 +8597,11 @@ var LineEndingType;
|
|
|
8908
8597
|
})(LineEndingType || (LineEndingType = {}));
|
|
8909
8598
|
/**
|
|
8910
8599
|
* Specifies the settings of lines join. This is applied to corners in lines and rectangles.
|
|
8911
|
-
|
|
8600
|
+
|
|
8912
8601
|
Miter
|
|
8913
|
-
|
|
8602
|
+
|
|
8914
8603
|
Bevel
|
|
8915
|
-
|
|
8604
|
+
|
|
8916
8605
|
Round
|
|
8917
8606
|
*/
|
|
8918
8607
|
|
|
@@ -8926,15 +8615,15 @@ var LineJoinType;
|
|
|
8926
8615
|
})(LineJoinType || (LineJoinType = {}));
|
|
8927
8616
|
/**
|
|
8928
8617
|
*
|
|
8929
|
-
|
|
8618
|
+
|
|
8930
8619
|
Unknown
|
|
8931
|
-
|
|
8620
|
+
|
|
8932
8621
|
union
|
|
8933
|
-
|
|
8622
|
+
|
|
8934
8623
|
intersection
|
|
8935
|
-
|
|
8624
|
+
|
|
8936
8625
|
subtraction
|
|
8937
|
-
|
|
8626
|
+
|
|
8938
8627
|
symDifference
|
|
8939
8628
|
*/
|
|
8940
8629
|
|
|
@@ -8950,11 +8639,11 @@ var Operation;
|
|
|
8950
8639
|
})(Operation || (Operation = {}));
|
|
8951
8640
|
/**
|
|
8952
8641
|
* Filter exists resources by owner.
|
|
8953
|
-
|
|
8642
|
+
|
|
8954
8643
|
My
|
|
8955
|
-
|
|
8644
|
+
|
|
8956
8645
|
Shared
|
|
8957
|
-
|
|
8646
|
+
|
|
8958
8647
|
Public
|
|
8959
8648
|
*/
|
|
8960
8649
|
|
|
@@ -8968,9 +8657,9 @@ var OwnerFilter;
|
|
|
8968
8657
|
})(OwnerFilter || (OwnerFilter = {}));
|
|
8969
8658
|
/**
|
|
8970
8659
|
* Influences the y direction of the tile coordinates. The global-mercator (aka Spherical Mercator) profile is assumed.
|
|
8971
|
-
|
|
8660
|
+
|
|
8972
8661
|
xyz
|
|
8973
|
-
|
|
8662
|
+
|
|
8974
8663
|
tms
|
|
8975
8664
|
*/
|
|
8976
8665
|
|
|
@@ -8983,19 +8672,19 @@ var PbfSchema;
|
|
|
8983
8672
|
})(PbfSchema || (PbfSchema = {}));
|
|
8984
8673
|
/**
|
|
8985
8674
|
*
|
|
8986
|
-
|
|
8675
|
+
|
|
8987
8676
|
none
|
|
8988
|
-
|
|
8677
|
+
|
|
8989
8678
|
configure
|
|
8990
|
-
|
|
8679
|
+
|
|
8991
8680
|
write
|
|
8992
|
-
|
|
8681
|
+
|
|
8993
8682
|
read
|
|
8994
|
-
|
|
8683
|
+
|
|
8995
8684
|
read,configure
|
|
8996
|
-
|
|
8685
|
+
|
|
8997
8686
|
read,write
|
|
8998
|
-
|
|
8687
|
+
|
|
8999
8688
|
read,write,configure
|
|
9000
8689
|
*/
|
|
9001
8690
|
|
|
@@ -9013,20 +8702,22 @@ var Permissions;
|
|
|
9013
8702
|
})(Permissions || (Permissions = {}));
|
|
9014
8703
|
/**
|
|
9015
8704
|
* Type of the authorization policy.
|
|
9016
|
-
|
|
8705
|
+
|
|
9017
8706
|
Unknown
|
|
9018
|
-
|
|
8707
|
+
|
|
9019
8708
|
CreateTable
|
|
9020
|
-
|
|
8709
|
+
|
|
9021
8710
|
CreateLayer
|
|
9022
|
-
|
|
8711
|
+
|
|
9023
8712
|
CreateProject
|
|
9024
|
-
|
|
8713
|
+
|
|
9025
8714
|
MaxFeaturesInOneTable
|
|
9026
|
-
|
|
8715
|
+
|
|
9027
8716
|
MaxObjectsToExport
|
|
9028
|
-
|
|
8717
|
+
|
|
9029
8718
|
MaxUploadContentSize
|
|
8719
|
+
|
|
8720
|
+
MaxEqlQueryParametersValues
|
|
9030
8721
|
*/
|
|
9031
8722
|
|
|
9032
8723
|
|
|
@@ -9040,14 +8731,15 @@ var PolicyType;
|
|
|
9040
8731
|
PolicyType["MaxFeaturesInOneTable"] = "MaxFeaturesInOneTable";
|
|
9041
8732
|
PolicyType["MaxObjectsToExport"] = "MaxObjectsToExport";
|
|
9042
8733
|
PolicyType["MaxUploadContentSize"] = "MaxUploadContentSize";
|
|
8734
|
+
PolicyType["MaxEqlQueryParametersValues"] = "MaxEqlQueryParametersValues";
|
|
9043
8735
|
})(PolicyType || (PolicyType = {}));
|
|
9044
8736
|
/**
|
|
9045
8737
|
* Stream quality.
|
|
9046
|
-
|
|
8738
|
+
|
|
9047
8739
|
Low
|
|
9048
|
-
|
|
8740
|
+
|
|
9049
8741
|
Medium
|
|
9050
|
-
|
|
8742
|
+
|
|
9051
8743
|
High
|
|
9052
8744
|
*/
|
|
9053
8745
|
|
|
@@ -9061,15 +8753,15 @@ var Quality;
|
|
|
9061
8753
|
})(Quality || (Quality = {}));
|
|
9062
8754
|
/**
|
|
9063
8755
|
* Resources types filter.
|
|
9064
|
-
|
|
8756
|
+
|
|
9065
8757
|
RemoteTileService
|
|
9066
|
-
|
|
8758
|
+
|
|
9067
8759
|
ProxyService
|
|
9068
|
-
|
|
8760
|
+
|
|
9069
8761
|
PostgresLayerService
|
|
9070
|
-
|
|
8762
|
+
|
|
9071
8763
|
QueryLayerService
|
|
9072
|
-
|
|
8764
|
+
|
|
9073
8765
|
TileCatalogTable
|
|
9074
8766
|
*/
|
|
9075
8767
|
|
|
@@ -9085,20 +8777,22 @@ var ResourceSubTypeFilter;
|
|
|
9085
8777
|
})(ResourceSubTypeFilter || (ResourceSubTypeFilter = {}));
|
|
9086
8778
|
/**
|
|
9087
8779
|
*
|
|
9088
|
-
|
|
8780
|
+
|
|
9089
8781
|
Unknown
|
|
9090
|
-
|
|
8782
|
+
|
|
9091
8783
|
table
|
|
9092
|
-
|
|
8784
|
+
|
|
9093
8785
|
layer
|
|
9094
|
-
|
|
8786
|
+
|
|
9095
8787
|
project
|
|
9096
|
-
|
|
8788
|
+
|
|
9097
8789
|
file
|
|
9098
|
-
|
|
8790
|
+
|
|
9099
8791
|
feature
|
|
9100
|
-
|
|
8792
|
+
|
|
9101
8793
|
tag
|
|
8794
|
+
|
|
8795
|
+
datasource
|
|
9102
8796
|
*/
|
|
9103
8797
|
|
|
9104
8798
|
|
|
@@ -9112,24 +8806,25 @@ var ResourceType;
|
|
|
9112
8806
|
ResourceType["File"] = "file";
|
|
9113
8807
|
ResourceType["Feature"] = "feature";
|
|
9114
8808
|
ResourceType["Tag"] = "tag";
|
|
8809
|
+
ResourceType["DataSource"] = "datasource";
|
|
9115
8810
|
})(ResourceType || (ResourceType = {}));
|
|
9116
8811
|
/**
|
|
9117
8812
|
* Resources types filter.
|
|
9118
|
-
|
|
8813
|
+
|
|
9119
8814
|
Map
|
|
9120
|
-
|
|
8815
|
+
|
|
9121
8816
|
Layer
|
|
9122
|
-
|
|
8817
|
+
|
|
9123
8818
|
Table
|
|
9124
|
-
|
|
8819
|
+
|
|
9125
8820
|
RasterCatalog
|
|
9126
|
-
|
|
8821
|
+
|
|
9127
8822
|
ProxyService
|
|
9128
|
-
|
|
8823
|
+
|
|
9129
8824
|
RemoteTileService
|
|
9130
|
-
|
|
8825
|
+
|
|
9131
8826
|
File
|
|
9132
|
-
|
|
8827
|
+
|
|
9133
8828
|
DataSource
|
|
9134
8829
|
*/
|
|
9135
8830
|
|
|
@@ -9156,9 +8851,9 @@ var ResourceTypeLink;
|
|
|
9156
8851
|
})(ResourceTypeLink || (ResourceTypeLink = {}));
|
|
9157
8852
|
/**
|
|
9158
8853
|
* Response type.
|
|
9159
|
-
|
|
8854
|
+
|
|
9160
8855
|
code
|
|
9161
|
-
|
|
8856
|
+
|
|
9162
8857
|
token
|
|
9163
8858
|
*/
|
|
9164
8859
|
|
|
@@ -9170,45 +8865,12 @@ var ResponseType;
|
|
|
9170
8865
|
ResponseType["Token"] = "token";
|
|
9171
8866
|
})(ResponseType || (ResponseType = {}));
|
|
9172
8867
|
/**
|
|
9173
|
-
* Status of the server task.
|
|
9174
|
-
|
|
9175
|
-
None
|
|
9176
|
-
|
|
9177
|
-
Scheduled
|
|
9178
|
-
|
|
9179
|
-
Planning
|
|
9180
|
-
|
|
9181
|
-
Executing
|
|
9182
|
-
|
|
9183
|
-
Completed
|
|
9184
|
-
|
|
9185
|
-
Failed
|
|
9186
|
-
|
|
9187
|
-
Canceled
|
|
9188
|
-
|
|
9189
|
-
Timeout
|
|
9190
|
-
*/
|
|
9191
|
-
|
|
9192
|
-
|
|
9193
|
-
var ServerTaskStatus;
|
|
9194
|
-
|
|
9195
|
-
(function (ServerTaskStatus) {
|
|
9196
|
-
ServerTaskStatus["None"] = "None";
|
|
9197
|
-
ServerTaskStatus["Scheduled"] = "Scheduled";
|
|
9198
|
-
ServerTaskStatus["Planning"] = "Planning";
|
|
9199
|
-
ServerTaskStatus["Executing"] = "Executing";
|
|
9200
|
-
ServerTaskStatus["Completed"] = "Completed";
|
|
9201
|
-
ServerTaskStatus["Failed"] = "Failed";
|
|
9202
|
-
ServerTaskStatus["Canceled"] = "Canceled";
|
|
9203
|
-
ServerTaskStatus["Timeout"] = "Timeout";
|
|
9204
|
-
})(ServerTaskStatus || (ServerTaskStatus = {}));
|
|
9205
|
-
/**
|
|
9206
8868
|
*
|
|
9207
|
-
|
|
8869
|
+
|
|
9208
8870
|
Basic
|
|
9209
|
-
|
|
8871
|
+
|
|
9210
8872
|
PreserveTopology
|
|
9211
|
-
|
|
8873
|
+
|
|
9212
8874
|
VW
|
|
9213
8875
|
*/
|
|
9214
8876
|
|
|
@@ -9222,13 +8884,13 @@ var SimplifyType;
|
|
|
9222
8884
|
})(SimplifyType || (SimplifyType = {}));
|
|
9223
8885
|
/**
|
|
9224
8886
|
*
|
|
9225
|
-
|
|
8887
|
+
|
|
9226
8888
|
None
|
|
9227
|
-
|
|
8889
|
+
|
|
9228
8890
|
Image
|
|
9229
|
-
|
|
8891
|
+
|
|
9230
8892
|
PkkCode
|
|
9231
|
-
|
|
8893
|
+
|
|
9232
8894
|
Attachments
|
|
9233
8895
|
*/
|
|
9234
8896
|
|
|
@@ -9242,29 +8904,14 @@ var StringSubType;
|
|
|
9242
8904
|
StringSubType["Attachments"] = "Attachments";
|
|
9243
8905
|
})(StringSubType || (StringSubType = {}));
|
|
9244
8906
|
/**
|
|
9245
|
-
* Task owner group.
|
|
9246
|
-
|
|
9247
|
-
my
|
|
9248
|
-
|
|
9249
|
-
all
|
|
9250
|
-
*/
|
|
9251
|
-
|
|
9252
|
-
|
|
9253
|
-
var TaskGroup;
|
|
9254
|
-
|
|
9255
|
-
(function (TaskGroup) {
|
|
9256
|
-
TaskGroup["My"] = "my";
|
|
9257
|
-
TaskGroup["All"] = "all";
|
|
9258
|
-
})(TaskGroup || (TaskGroup = {}));
|
|
9259
|
-
/**
|
|
9260
8907
|
* Sets the horizontal alignment of text.
|
|
9261
|
-
|
|
8908
|
+
|
|
9262
8909
|
right
|
|
9263
|
-
|
|
8910
|
+
|
|
9264
8911
|
left
|
|
9265
|
-
|
|
8912
|
+
|
|
9266
8913
|
center
|
|
9267
|
-
|
|
8914
|
+
|
|
9268
8915
|
justified
|
|
9269
8916
|
*/
|
|
9270
8917
|
|
|
@@ -9279,11 +8926,11 @@ var TextAlignment;
|
|
|
9279
8926
|
})(TextAlignment || (TextAlignment = {}));
|
|
9280
8927
|
/**
|
|
9281
8928
|
* Sets the vertical alignment of text.
|
|
9282
|
-
|
|
8929
|
+
|
|
9283
8930
|
top
|
|
9284
|
-
|
|
8931
|
+
|
|
9285
8932
|
bottom
|
|
9286
|
-
|
|
8933
|
+
|
|
9287
8934
|
middle
|
|
9288
8935
|
*/
|
|
9289
8936
|
|
|
@@ -9295,6 +8942,81 @@ var TextVerticalAlignment;
|
|
|
9295
8942
|
TextVerticalAlignment["Bottom"] = "bottom";
|
|
9296
8943
|
TextVerticalAlignment["Middle"] = "middle";
|
|
9297
8944
|
})(TextVerticalAlignment || (TextVerticalAlignment = {}));
|
|
8945
|
+
/**
|
|
8946
|
+
*
|
|
8947
|
+
|
|
8948
|
+
Task
|
|
8949
|
+
|
|
8950
|
+
Rest
|
|
8951
|
+
|
|
8952
|
+
Both
|
|
8953
|
+
*/
|
|
8954
|
+
|
|
8955
|
+
|
|
8956
|
+
var WorkerMethodType;
|
|
8957
|
+
|
|
8958
|
+
(function (WorkerMethodType) {
|
|
8959
|
+
WorkerMethodType["Task"] = "Task";
|
|
8960
|
+
WorkerMethodType["Rest"] = "Rest";
|
|
8961
|
+
WorkerMethodType["Both"] = "Both";
|
|
8962
|
+
})(WorkerMethodType || (WorkerMethodType = {}));
|
|
8963
|
+
/**
|
|
8964
|
+
*
|
|
8965
|
+
|
|
8966
|
+
Integer
|
|
8967
|
+
|
|
8968
|
+
Double
|
|
8969
|
+
|
|
8970
|
+
String
|
|
8971
|
+
|
|
8972
|
+
Extent
|
|
8973
|
+
|
|
8974
|
+
Geometry
|
|
8975
|
+
|
|
8976
|
+
IntergerArray
|
|
8977
|
+
|
|
8978
|
+
DoubleArray
|
|
8979
|
+
|
|
8980
|
+
StringArray
|
|
8981
|
+
|
|
8982
|
+
Boolean
|
|
8983
|
+
|
|
8984
|
+
SourceEql
|
|
8985
|
+
|
|
8986
|
+
Layer
|
|
8987
|
+
|
|
8988
|
+
Table
|
|
8989
|
+
|
|
8990
|
+
Folder
|
|
8991
|
+
|
|
8992
|
+
Json
|
|
8993
|
+
|
|
8994
|
+
Expression
|
|
8995
|
+
|
|
8996
|
+
Expressions
|
|
8997
|
+
*/
|
|
8998
|
+
|
|
9298
8999
|
|
|
9299
|
-
|
|
9000
|
+
var WorkerSettingsFieldType;
|
|
9001
|
+
|
|
9002
|
+
(function (WorkerSettingsFieldType) {
|
|
9003
|
+
WorkerSettingsFieldType["Integer"] = "Integer";
|
|
9004
|
+
WorkerSettingsFieldType["Double"] = "Double";
|
|
9005
|
+
WorkerSettingsFieldType["String"] = "String";
|
|
9006
|
+
WorkerSettingsFieldType["Extent"] = "Extent";
|
|
9007
|
+
WorkerSettingsFieldType["Geometry"] = "Geometry";
|
|
9008
|
+
WorkerSettingsFieldType["IntergerArray"] = "IntergerArray";
|
|
9009
|
+
WorkerSettingsFieldType["DoubleArray"] = "DoubleArray";
|
|
9010
|
+
WorkerSettingsFieldType["StringArray"] = "StringArray";
|
|
9011
|
+
WorkerSettingsFieldType["Boolean"] = "Boolean";
|
|
9012
|
+
WorkerSettingsFieldType["SourceEql"] = "SourceEql";
|
|
9013
|
+
WorkerSettingsFieldType["Layer"] = "Layer";
|
|
9014
|
+
WorkerSettingsFieldType["Table"] = "Table";
|
|
9015
|
+
WorkerSettingsFieldType["Folder"] = "Folder";
|
|
9016
|
+
WorkerSettingsFieldType["Json"] = "Json";
|
|
9017
|
+
WorkerSettingsFieldType["Expression"] = "Expression";
|
|
9018
|
+
WorkerSettingsFieldType["Expressions"] = "Expressions";
|
|
9019
|
+
})(WorkerSettingsFieldType || (WorkerSettingsFieldType = {}));
|
|
9020
|
+
|
|
9021
|
+
export { Account, AccountPreview, AggregationFunction, Api, ApiEvent, AttributeIconType, AttributeSelectorType, AttributeType, AuthorizationGrant, BulkOperations, Cameras, CatalogResourceType, ClassificationType, ClassifyAttributeType, ClientSettings, ConfigurationErrorEnum, ConnectionStatus, DataSourceType, DependencyType, Eql, ErrorDetailsType, ErrorReason, ErrorType, External, FeatureType, Feedback, FileUpload, Filters, FontStyle, FontWeight, GEOCODE_PROVIDER, General, Geocode, GeometryType, Group, HttpClient, IceRouter, Import, Layers, LineCapStyle, LineEndingType, LineJoinType, Names, Namespace, Notification, NotificationEvent, Operation, OwnerFilter, PbfSchema, Permissions, PolicyType, PortalSettings, Print, Projects, Quality, RemoteTaskManager, ResourceCatalog, ResourceSeparator, ResourceSubTypeFilter, ResourceType, ResourceTypeFilter, ResourceTypeLink, Resources, ResponseType, STORAGE_REFRESH_TOKEN_KEY, STORAGE_TOKEN_KEY, Security, SimplifyType, Statistic, StringSubType, Styles, Tables, TextAlignment, TextVerticalAlignment, Tools, UrlPath, VectorTiles, WorkerMethodType, WorkerSettingsFieldType, addSubDomainToLocation, errorHandler, formDataFromFile, generateId, getFetchingUrlPath, isHTTPError, isHandledError, isProjectContentItems, isString, isTileLayerService, parseJwt, promiseAllIgnoreErrors, stripUselessSlashes, toFormData, unique };
|
|
9300
9022
|
//# sourceMappingURL=api.esm.js.map
|