@evergis/api 3.0.213 → 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/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 +528 -459
- package/dist/api.cjs.development.js +576 -857
- 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 +639 -890
- 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 +2 -2
- 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)) {
|
|
@@ -183,7 +177,7 @@ function _get() {
|
|
|
183
177
|
return _get.apply(this, arguments);
|
|
184
178
|
}
|
|
185
179
|
|
|
186
|
-
const API_USER_INFO_KEY =
|
|
180
|
+
const API_USER_INFO_KEY = "@evergis/user-info";
|
|
187
181
|
const STORAGE_TOKEN_KEY = "evergis-jwt-token";
|
|
188
182
|
const STORAGE_REFRESH_TOKEN_KEY = "evergis-refresh-token";
|
|
189
183
|
|
|
@@ -335,8 +329,37 @@ let DataSourceService = /*#__PURE__*/function (_Service) {
|
|
|
335
329
|
}
|
|
336
330
|
|
|
337
331
|
_createClass(DataSourceService, [{
|
|
338
|
-
key: "
|
|
332
|
+
key: "createArcGisDataSource",
|
|
339
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
|
+
}
|
|
340
363
|
/**
|
|
341
364
|
* No description
|
|
342
365
|
*
|
|
@@ -347,7 +370,10 @@ let DataSourceService = /*#__PURE__*/function (_Service) {
|
|
|
347
370
|
* @request GET:/ds
|
|
348
371
|
* @response `200` OK
|
|
349
372
|
*/
|
|
350
|
-
|
|
373
|
+
|
|
374
|
+
}, {
|
|
375
|
+
key: "getDataSourcesList",
|
|
376
|
+
value: function getDataSourcesList(query) {
|
|
351
377
|
return this.http.get("/ds", query).json();
|
|
352
378
|
}
|
|
353
379
|
/**
|
|
@@ -430,6 +456,70 @@ let DataSourceService = /*#__PURE__*/function (_Service) {
|
|
|
430
456
|
value: function testConnection(data) {
|
|
431
457
|
return this.http.post("/ds/testConnection", data).json();
|
|
432
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
|
+
}
|
|
433
523
|
}]);
|
|
434
524
|
|
|
435
525
|
return DataSourceService;
|
|
@@ -1052,7 +1142,7 @@ let AccountService = /*#__PURE__*/function (_Service) {
|
|
|
1052
1142
|
return this.http.post("/account/register", data).text();
|
|
1053
1143
|
}
|
|
1054
1144
|
/**
|
|
1055
|
-
* @description Only for users with SPCore.Security.ISecurityManager.SuperuserRole role.
|
|
1145
|
+
* @description Only for users with SPCore.Security.Abstractions.ISecurityManager.SuperuserRole role.
|
|
1056
1146
|
*
|
|
1057
1147
|
* @tags Account
|
|
1058
1148
|
* @name CreateUser
|
|
@@ -1084,7 +1174,7 @@ let AccountService = /*#__PURE__*/function (_Service) {
|
|
|
1084
1174
|
return this.http.patch("/account/user", data).then(() => {});
|
|
1085
1175
|
}
|
|
1086
1176
|
/**
|
|
1087
|
-
* @description Only for users with SPCore.Security.ISecurityManager.SuperuserRole role.
|
|
1177
|
+
* @description Only for users with SPCore.Security.Abstractions.ISecurityManager.SuperuserRole role.
|
|
1088
1178
|
*
|
|
1089
1179
|
* @tags Account
|
|
1090
1180
|
* @name ConfirmEmail
|
|
@@ -2322,6 +2412,22 @@ let EqlService = /*#__PURE__*/function (_Service) {
|
|
|
2322
2412
|
value: function removeLayerParameterValue(query) {
|
|
2323
2413
|
return this.http.delete("/eql/removeParam", null, query).then(() => {});
|
|
2324
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
|
+
}
|
|
2325
2431
|
}]);
|
|
2326
2432
|
|
|
2327
2433
|
return EqlService;
|
|
@@ -4834,15 +4940,6 @@ function formDataFromFile(file) {
|
|
|
4834
4940
|
return data;
|
|
4835
4941
|
}
|
|
4836
4942
|
|
|
4837
|
-
function createGuard(type) {
|
|
4838
|
-
return function (typed) {
|
|
4839
|
-
if (!typed.type) return false;
|
|
4840
|
-
return type.includes(typed.type);
|
|
4841
|
-
};
|
|
4842
|
-
}
|
|
4843
|
-
|
|
4844
|
-
const isLayer = /*#__PURE__*/createGuard(['PostgresLayerService', 'PostgresTileLayerService', 'QueryLayerService']);
|
|
4845
|
-
|
|
4846
4943
|
function isString(v) {
|
|
4847
4944
|
return typeof v === 'string';
|
|
4848
4945
|
}
|
|
@@ -5938,658 +6035,601 @@ function isProjectContentItems(v) {
|
|
|
5938
6035
|
return v !== null && v !== undefined;
|
|
5939
6036
|
}
|
|
5940
6037
|
|
|
6038
|
+
const _excluded$7 = ["id"];
|
|
5941
6039
|
/**
|
|
5942
6040
|
* @title Spatial Processing Core API
|
|
5943
6041
|
* @version 1.5.1.0
|
|
5944
6042
|
* @baseUrl /sp
|
|
5945
6043
|
*/
|
|
5946
6044
|
|
|
5947
|
-
let
|
|
5948
|
-
_inherits(
|
|
6045
|
+
let RemoteTaskManagerService = /*#__PURE__*/function (_Service) {
|
|
6046
|
+
_inherits(RemoteTaskManagerService, _Service);
|
|
5949
6047
|
|
|
5950
|
-
var _super = /*#__PURE__*/_createSuper(
|
|
6048
|
+
var _super = /*#__PURE__*/_createSuper(RemoteTaskManagerService);
|
|
5951
6049
|
|
|
5952
|
-
function
|
|
5953
|
-
_classCallCheck(this,
|
|
6050
|
+
function RemoteTaskManagerService() {
|
|
6051
|
+
_classCallCheck(this, RemoteTaskManagerService);
|
|
5954
6052
|
|
|
5955
6053
|
return _super.apply(this, arguments);
|
|
5956
6054
|
}
|
|
5957
6055
|
|
|
5958
|
-
_createClass(
|
|
5959
|
-
key: "
|
|
6056
|
+
_createClass(RemoteTaskManagerService, [{
|
|
6057
|
+
key: "cancelTask",
|
|
5960
6058
|
value:
|
|
5961
6059
|
/**
|
|
5962
|
-
*
|
|
6060
|
+
* No description
|
|
5963
6061
|
*
|
|
5964
|
-
* @tags
|
|
5965
|
-
* @name
|
|
5966
|
-
* @operationId
|
|
5967
|
-
* @summary
|
|
5968
|
-
* @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
|
|
5969
6067
|
* @response `200` OK
|
|
5970
6068
|
*/
|
|
5971
|
-
function
|
|
5972
|
-
return this.http.
|
|
6069
|
+
function cancelTask(id) {
|
|
6070
|
+
return this.http.post("/scheduler/tasks/" + id + "/cancel", null).then(() => {});
|
|
5973
6071
|
}
|
|
5974
6072
|
/**
|
|
5975
6073
|
* No description
|
|
5976
6074
|
*
|
|
5977
|
-
* @tags
|
|
5978
|
-
* @name
|
|
5979
|
-
* @operationId
|
|
5980
|
-
* @summary
|
|
5981
|
-
* @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
|
|
5982
6080
|
* @response `200` OK
|
|
5983
6081
|
*/
|
|
5984
6082
|
|
|
5985
6083
|
}, {
|
|
5986
|
-
key: "
|
|
5987
|
-
value: function
|
|
5988
|
-
return this.http.post("/
|
|
5989
|
-
|
|
5990
|
-
|
|
5991
|
-
|
|
5992
|
-
return ResourceCatalogService;
|
|
5993
|
-
}(Service);
|
|
5994
|
-
|
|
5995
|
-
let ResourceCatalog = /*#__PURE__*/function (_ResourceCatalogServi) {
|
|
5996
|
-
_inherits(ResourceCatalog, _ResourceCatalogServi);
|
|
5997
|
-
|
|
5998
|
-
var _super = /*#__PURE__*/_createSuper(ResourceCatalog);
|
|
5999
|
-
|
|
6000
|
-
function ResourceCatalog() {
|
|
6001
|
-
_classCallCheck(this, ResourceCatalog);
|
|
6002
|
-
|
|
6003
|
-
return _super.apply(this, arguments);
|
|
6004
|
-
}
|
|
6005
|
-
|
|
6006
|
-
return _createClass(ResourceCatalog);
|
|
6007
|
-
}(ResourceCatalogService);
|
|
6008
|
-
|
|
6009
|
-
var DependencyType;
|
|
6010
|
-
|
|
6011
|
-
(function (DependencyType) {
|
|
6012
|
-
DependencyType["Layer"] = "Layer";
|
|
6013
|
-
DependencyType["Table"] = "Table";
|
|
6014
|
-
DependencyType["Project"] = "Project";
|
|
6015
|
-
})(DependencyType || (DependencyType = {}));
|
|
6016
|
-
|
|
6017
|
-
let Resources = /*#__PURE__*/function () {
|
|
6018
|
-
function Resources(projects, layers, tables) {
|
|
6019
|
-
_classCallCheck(this, Resources);
|
|
6020
|
-
|
|
6021
|
-
this.projects = projects;
|
|
6022
|
-
this.layers = layers;
|
|
6023
|
-
this.tables = tables;
|
|
6024
|
-
}
|
|
6025
|
-
|
|
6026
|
-
_createClass(Resources, [{
|
|
6027
|
-
key: "getProjectInfosWithDeps",
|
|
6028
|
-
value: async function getProjectInfosWithDeps(projects) {
|
|
6029
|
-
const projectInfos = await this.projects.getProjectInfos(projects);
|
|
6030
|
-
const projectDeps = await this.projects.getProjectsDeps(projects);
|
|
6031
|
-
const {
|
|
6032
|
-
layers,
|
|
6033
|
-
tables
|
|
6034
|
-
} = await this.getDependencies(projectDeps, true, true);
|
|
6035
|
-
return {
|
|
6036
|
-
projects: projectInfos,
|
|
6037
|
-
deps: {
|
|
6038
|
-
layers,
|
|
6039
|
-
tables
|
|
6040
|
-
}
|
|
6041
|
-
};
|
|
6042
|
-
}
|
|
6043
|
-
}, {
|
|
6044
|
-
key: "getLayerInfosWithDeps",
|
|
6045
|
-
value: async function getLayerInfosWithDeps(layers) {
|
|
6046
|
-
const layerInfos = await this.layers.getLayerInfos(layers);
|
|
6047
|
-
const layersDeps = await this.layers.getLayersDeps(layers);
|
|
6048
|
-
const {
|
|
6049
|
-
tables
|
|
6050
|
-
} = await this.getDependencies(layersDeps, false, true);
|
|
6051
|
-
return {
|
|
6052
|
-
layers: layerInfos,
|
|
6053
|
-
deps: {
|
|
6054
|
-
tables
|
|
6055
|
-
}
|
|
6056
|
-
};
|
|
6057
|
-
}
|
|
6058
|
-
}, {
|
|
6059
|
-
key: "getDependencies",
|
|
6060
|
-
value: async function getDependencies(resourceDeps, pickLayers, pickTables) {
|
|
6061
|
-
const {
|
|
6062
|
-
tables,
|
|
6063
|
-
layers
|
|
6064
|
-
} = resourceDeps.reduce((acc, layerDep) => {
|
|
6065
|
-
const deps = layerDep.dependencies || [];
|
|
6066
|
-
|
|
6067
|
-
if (pickLayers) {
|
|
6068
|
-
const layerNames = this.getDependentNames(deps, DependencyType.Layer);
|
|
6069
|
-
acc.layers.push(...layerNames);
|
|
6070
|
-
}
|
|
6071
|
-
|
|
6072
|
-
if (pickTables) {
|
|
6073
|
-
const tableNames = this.getDependentNames(deps, DependencyType.Table);
|
|
6074
|
-
acc.tables.push(...tableNames);
|
|
6075
|
-
}
|
|
6076
|
-
|
|
6077
|
-
return acc;
|
|
6078
|
-
}, {
|
|
6079
|
-
tables: [],
|
|
6080
|
-
layers: []
|
|
6081
|
-
});
|
|
6082
|
-
return {
|
|
6083
|
-
tables: await this.tables.getTableInfos(tables.filter(unique)),
|
|
6084
|
-
layers: await this.layers.getLayerInfos(layers.filter(unique))
|
|
6085
|
-
};
|
|
6086
|
-
}
|
|
6087
|
-
}, {
|
|
6088
|
-
key: "getDependentNames",
|
|
6089
|
-
value: function getDependentNames(deps, depType) {
|
|
6090
|
-
return deps.filter(_ref => {
|
|
6091
|
-
let {
|
|
6092
|
-
type
|
|
6093
|
-
} = _ref;
|
|
6094
|
-
return type === depType;
|
|
6095
|
-
}).map(_ref2 => {
|
|
6096
|
-
let {
|
|
6097
|
-
name
|
|
6098
|
-
} = _ref2;
|
|
6099
|
-
return name;
|
|
6100
|
-
}).filter(isString);
|
|
6084
|
+
key: "startCogCreateTask",
|
|
6085
|
+
value: function startCogCreateTask(data) {
|
|
6086
|
+
return this.http.post("/scheduler/tasks", data, {
|
|
6087
|
+
type: 'cogService_create'
|
|
6088
|
+
}).text();
|
|
6101
6089
|
}
|
|
6102
|
-
}]);
|
|
6103
|
-
|
|
6104
|
-
return Resources;
|
|
6105
|
-
}();
|
|
6106
|
-
|
|
6107
|
-
/**
|
|
6108
|
-
* @title Spatial Processing Core API
|
|
6109
|
-
* @version 1.5.1.0
|
|
6110
|
-
* @baseUrl /sp
|
|
6111
|
-
*/
|
|
6112
|
-
|
|
6113
|
-
let SchedulerService = /*#__PURE__*/function (_Service) {
|
|
6114
|
-
_inherits(SchedulerService, _Service);
|
|
6115
|
-
|
|
6116
|
-
var _super = /*#__PURE__*/_createSuper(SchedulerService);
|
|
6117
|
-
|
|
6118
|
-
function SchedulerService() {
|
|
6119
|
-
_classCallCheck(this, SchedulerService);
|
|
6120
|
-
|
|
6121
|
-
return _super.apply(this, arguments);
|
|
6122
|
-
}
|
|
6123
|
-
|
|
6124
|
-
_createClass(SchedulerService, [{
|
|
6125
|
-
key: "getTaskList",
|
|
6126
|
-
value:
|
|
6127
6090
|
/**
|
|
6128
6091
|
* No description
|
|
6129
6092
|
*
|
|
6130
|
-
* @tags
|
|
6131
|
-
* @name
|
|
6132
|
-
* @operationId
|
|
6133
|
-
* @summary
|
|
6134
|
-
* @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
|
|
6135
6098
|
* @response `200` OK
|
|
6136
6099
|
*/
|
|
6137
|
-
|
|
6138
|
-
|
|
6100
|
+
|
|
6101
|
+
}, {
|
|
6102
|
+
key: "startRasterVrtTask",
|
|
6103
|
+
value: function startRasterVrtTask(data) {
|
|
6104
|
+
return this.http.post("/scheduler/tasks", data, {
|
|
6105
|
+
type: 'cogService_vrt'
|
|
6106
|
+
}).text();
|
|
6139
6107
|
}
|
|
6140
6108
|
/**
|
|
6141
6109
|
* No description
|
|
6142
6110
|
*
|
|
6143
|
-
* @tags
|
|
6144
|
-
* @name
|
|
6145
|
-
* @operationId
|
|
6146
|
-
* @summary
|
|
6147
|
-
* @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
|
|
6148
6116
|
* @response `200` OK
|
|
6149
6117
|
*/
|
|
6150
6118
|
|
|
6151
6119
|
}, {
|
|
6152
|
-
key: "
|
|
6153
|
-
value: function
|
|
6154
|
-
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();
|
|
6155
6125
|
}
|
|
6156
6126
|
/**
|
|
6157
6127
|
* No description
|
|
6158
6128
|
*
|
|
6159
|
-
* @tags
|
|
6160
|
-
* @name
|
|
6161
|
-
* @operationId
|
|
6162
|
-
* @summary
|
|
6163
|
-
* @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
|
|
6164
6134
|
* @response `200` OK
|
|
6165
6135
|
*/
|
|
6166
6136
|
|
|
6167
6137
|
}, {
|
|
6168
|
-
key: "
|
|
6169
|
-
value: function
|
|
6170
|
-
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();
|
|
6171
6143
|
}
|
|
6172
6144
|
/**
|
|
6173
6145
|
* No description
|
|
6174
6146
|
*
|
|
6175
|
-
* @tags
|
|
6176
|
-
* @name
|
|
6177
|
-
* @operationId
|
|
6178
|
-
* @summary
|
|
6179
|
-
* @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
|
|
6180
6152
|
* @response `200` OK
|
|
6181
6153
|
*/
|
|
6182
6154
|
|
|
6183
6155
|
}, {
|
|
6184
|
-
key: "
|
|
6185
|
-
value: function
|
|
6186
|
-
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();
|
|
6187
6161
|
}
|
|
6188
6162
|
/**
|
|
6189
6163
|
* No description
|
|
6190
6164
|
*
|
|
6191
|
-
* @tags
|
|
6192
|
-
* @name
|
|
6193
|
-
* @operationId
|
|
6194
|
-
* @summary Plans the execution of a '
|
|
6195
|
-
* @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
|
|
6196
6170
|
* @response `200` OK
|
|
6197
6171
|
*/
|
|
6198
6172
|
|
|
6199
6173
|
}, {
|
|
6200
|
-
key: "
|
|
6201
|
-
value: function
|
|
6174
|
+
key: "startUnionTask",
|
|
6175
|
+
value: function startUnionTask(data) {
|
|
6202
6176
|
return this.http.post("/scheduler/tasks", data, {
|
|
6203
|
-
type: '
|
|
6204
|
-
}).
|
|
6177
|
+
type: 'geoService_union'
|
|
6178
|
+
}).text();
|
|
6205
6179
|
}
|
|
6206
6180
|
/**
|
|
6207
6181
|
* No description
|
|
6208
6182
|
*
|
|
6209
|
-
* @tags
|
|
6210
|
-
* @name
|
|
6211
|
-
* @operationId
|
|
6212
|
-
* @summary Plans the execution of a '
|
|
6213
|
-
* @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
|
|
6214
6188
|
* @response `200` OK
|
|
6215
6189
|
*/
|
|
6216
6190
|
|
|
6217
6191
|
}, {
|
|
6218
|
-
key: "
|
|
6219
|
-
value: function
|
|
6192
|
+
key: "startOverlayTask",
|
|
6193
|
+
value: function startOverlayTask(data) {
|
|
6220
6194
|
return this.http.post("/scheduler/tasks", data, {
|
|
6221
|
-
type: '
|
|
6222
|
-
}).
|
|
6195
|
+
type: 'geoService_overlay'
|
|
6196
|
+
}).text();
|
|
6223
6197
|
}
|
|
6224
6198
|
/**
|
|
6225
6199
|
* No description
|
|
6226
6200
|
*
|
|
6227
|
-
* @tags
|
|
6228
|
-
* @name
|
|
6229
|
-
* @operationId
|
|
6230
|
-
* @summary Plans the execution of a '
|
|
6231
|
-
* @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
|
|
6232
6206
|
* @response `200` OK
|
|
6233
6207
|
*/
|
|
6234
6208
|
|
|
6235
6209
|
}, {
|
|
6236
|
-
key: "
|
|
6237
|
-
value: function
|
|
6210
|
+
key: "startCopyTask",
|
|
6211
|
+
value: function startCopyTask(data) {
|
|
6238
6212
|
return this.http.post("/scheduler/tasks", data, {
|
|
6239
|
-
type: '
|
|
6240
|
-
}).
|
|
6213
|
+
type: 'copyTask'
|
|
6214
|
+
}).text();
|
|
6241
6215
|
}
|
|
6242
6216
|
/**
|
|
6243
6217
|
* No description
|
|
6244
6218
|
*
|
|
6245
|
-
* @tags
|
|
6246
|
-
* @name
|
|
6247
|
-
* @operationId
|
|
6248
|
-
* @summary Plans the execution of a '
|
|
6249
|
-
* @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
|
|
6250
6224
|
* @response `200` OK
|
|
6251
6225
|
*/
|
|
6252
6226
|
|
|
6253
6227
|
}, {
|
|
6254
|
-
key: "
|
|
6255
|
-
value: function
|
|
6228
|
+
key: "startAvailableAreaTask",
|
|
6229
|
+
value: function startAvailableAreaTask(data) {
|
|
6256
6230
|
return this.http.post("/scheduler/tasks", data, {
|
|
6257
|
-
type: '
|
|
6258
|
-
}).
|
|
6231
|
+
type: 'availabilityArea'
|
|
6232
|
+
}).text();
|
|
6259
6233
|
}
|
|
6260
6234
|
/**
|
|
6261
6235
|
* No description
|
|
6262
6236
|
*
|
|
6263
|
-
* @tags
|
|
6264
|
-
* @name
|
|
6265
|
-
* @operationId
|
|
6266
|
-
* @summary Plans the execution of a '
|
|
6267
|
-
* @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
|
|
6268
6242
|
* @response `200` OK
|
|
6269
6243
|
*/
|
|
6270
6244
|
|
|
6271
6245
|
}, {
|
|
6272
|
-
key: "
|
|
6273
|
-
value: function
|
|
6246
|
+
key: "startGeocodeTask",
|
|
6247
|
+
value: function startGeocodeTask(data) {
|
|
6274
6248
|
return this.http.post("/scheduler/tasks", data, {
|
|
6275
|
-
type: '
|
|
6276
|
-
}).
|
|
6249
|
+
type: 'geocodeTask'
|
|
6250
|
+
}).text();
|
|
6277
6251
|
}
|
|
6278
6252
|
/**
|
|
6279
6253
|
* No description
|
|
6280
6254
|
*
|
|
6281
|
-
* @tags
|
|
6282
|
-
* @name
|
|
6283
|
-
* @operationId
|
|
6284
|
-
* @summary
|
|
6285
|
-
* @request
|
|
6255
|
+
* @tags RemoteTaskManager
|
|
6256
|
+
* @name Get
|
|
6257
|
+
* @operationId RemoteTaskManagerController_Get
|
|
6258
|
+
* @summary Shows SubTask in Task.
|
|
6259
|
+
* @request GET:/scheduler/task/{id}/subtasks
|
|
6286
6260
|
* @response `200` OK
|
|
6287
6261
|
*/
|
|
6288
6262
|
|
|
6289
6263
|
}, {
|
|
6290
|
-
key: "
|
|
6291
|
-
value: function
|
|
6292
|
-
return this.http.
|
|
6293
|
-
type: 'rasterVrt'
|
|
6294
|
-
}).json();
|
|
6264
|
+
key: "get",
|
|
6265
|
+
value: function get(id) {
|
|
6266
|
+
return this.http.get("/scheduler/task/" + id + "/subtasks").then(() => {});
|
|
6295
6267
|
}
|
|
6296
6268
|
/**
|
|
6297
6269
|
* No description
|
|
6298
6270
|
*
|
|
6299
|
-
* @tags
|
|
6300
|
-
* @name
|
|
6301
|
-
* @operationId
|
|
6302
|
-
* @summary
|
|
6303
|
-
* @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
|
|
6304
6276
|
* @response `200` OK
|
|
6305
6277
|
*/
|
|
6306
6278
|
|
|
6307
6279
|
}, {
|
|
6308
|
-
key: "
|
|
6309
|
-
value: function
|
|
6310
|
-
return this.http.post("/scheduler/
|
|
6311
|
-
type: 'netcdf'
|
|
6312
|
-
}).json();
|
|
6280
|
+
key: "stop",
|
|
6281
|
+
value: function stop(id) {
|
|
6282
|
+
return this.http.post("/scheduler/task/" + id + "/stop", null).then(() => {});
|
|
6313
6283
|
}
|
|
6314
6284
|
/**
|
|
6315
6285
|
* No description
|
|
6316
6286
|
*
|
|
6317
|
-
* @tags
|
|
6318
|
-
* @name
|
|
6319
|
-
* @operationId
|
|
6320
|
-
* @summary
|
|
6321
|
-
* @request POST:/scheduler
|
|
6287
|
+
* @tags RemoteTaskManager
|
|
6288
|
+
* @name CreateTaskPrototype
|
|
6289
|
+
* @operationId RemoteTaskManagerController_CreateTaskPrototype
|
|
6290
|
+
* @summary Creates TaskPrototype.
|
|
6291
|
+
* @request POST:/scheduler
|
|
6322
6292
|
* @response `200` OK
|
|
6323
6293
|
*/
|
|
6324
6294
|
|
|
6325
6295
|
}, {
|
|
6326
|
-
key: "
|
|
6327
|
-
value: function
|
|
6328
|
-
return this.http.post("/scheduler
|
|
6329
|
-
type: 'route'
|
|
6330
|
-
}).json();
|
|
6296
|
+
key: "createTaskPrototype",
|
|
6297
|
+
value: function createTaskPrototype(data) {
|
|
6298
|
+
return this.http.post("/scheduler", data).text();
|
|
6331
6299
|
}
|
|
6332
6300
|
/**
|
|
6333
6301
|
* No description
|
|
6334
6302
|
*
|
|
6335
|
-
* @tags
|
|
6336
|
-
* @name
|
|
6337
|
-
* @operationId
|
|
6338
|
-
* @summary
|
|
6339
|
-
* @request
|
|
6303
|
+
* @tags RemoteTaskManager
|
|
6304
|
+
* @name GetTaskPrototypes
|
|
6305
|
+
* @operationId RemoteTaskManagerController_GetTaskPrototypes
|
|
6306
|
+
* @summary Show TaskPrototypes for user.
|
|
6307
|
+
* @request GET:/scheduler
|
|
6340
6308
|
* @response `200` OK
|
|
6341
6309
|
*/
|
|
6342
6310
|
|
|
6343
6311
|
}, {
|
|
6344
|
-
key: "
|
|
6345
|
-
value: function
|
|
6346
|
-
return this.http.
|
|
6347
|
-
type: 'union'
|
|
6348
|
-
}).json();
|
|
6312
|
+
key: "getTaskPrototypes",
|
|
6313
|
+
value: function getTaskPrototypes(query) {
|
|
6314
|
+
return this.http.get("/scheduler", query).then(() => {});
|
|
6349
6315
|
}
|
|
6350
6316
|
/**
|
|
6351
6317
|
* No description
|
|
6352
6318
|
*
|
|
6353
|
-
* @tags
|
|
6354
|
-
* @name
|
|
6355
|
-
* @operationId
|
|
6356
|
-
* @summary
|
|
6357
|
-
* @request
|
|
6319
|
+
* @tags RemoteTaskManager
|
|
6320
|
+
* @name UpdateTaskPrototype
|
|
6321
|
+
* @operationId RemoteTaskManagerController_UpdateTaskPrototype
|
|
6322
|
+
* @summary Updates task prototype.
|
|
6323
|
+
* @request PUT:/scheduler/{id}
|
|
6358
6324
|
* @response `200` OK
|
|
6359
6325
|
*/
|
|
6360
6326
|
|
|
6361
6327
|
}, {
|
|
6362
|
-
key: "
|
|
6363
|
-
value: function
|
|
6364
|
-
return this.http.
|
|
6365
|
-
type: 'overlay'
|
|
6366
|
-
}).json();
|
|
6328
|
+
key: "updateTaskPrototype",
|
|
6329
|
+
value: function updateTaskPrototype(id, data) {
|
|
6330
|
+
return this.http.put("/scheduler/" + id, data).then(() => {});
|
|
6367
6331
|
}
|
|
6368
6332
|
/**
|
|
6369
6333
|
* No description
|
|
6370
6334
|
*
|
|
6371
|
-
* @tags
|
|
6372
|
-
* @name
|
|
6373
|
-
* @operationId
|
|
6374
|
-
* @summary
|
|
6375
|
-
* @request
|
|
6335
|
+
* @tags RemoteTaskManager
|
|
6336
|
+
* @name Delete
|
|
6337
|
+
* @operationId RemoteTaskManagerController_Delete
|
|
6338
|
+
* @summary Delete task prototype.
|
|
6339
|
+
* @request DELETE:/scheduler/{id}
|
|
6376
6340
|
* @response `200` OK
|
|
6377
6341
|
*/
|
|
6378
6342
|
|
|
6379
6343
|
}, {
|
|
6380
|
-
key: "
|
|
6381
|
-
value: function
|
|
6382
|
-
return this.http.
|
|
6383
|
-
type: 'filterCopy'
|
|
6384
|
-
}).json();
|
|
6344
|
+
key: "delete",
|
|
6345
|
+
value: function _delete(id) {
|
|
6346
|
+
return this.http.delete("/scheduler/" + id, null).then(() => {});
|
|
6385
6347
|
}
|
|
6386
6348
|
/**
|
|
6387
6349
|
* No description
|
|
6388
6350
|
*
|
|
6389
|
-
* @tags
|
|
6390
|
-
* @name
|
|
6391
|
-
* @operationId
|
|
6392
|
-
* @summary
|
|
6393
|
-
* @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}
|
|
6394
6356
|
* @response `200` OK
|
|
6395
6357
|
*/
|
|
6396
6358
|
|
|
6397
6359
|
}, {
|
|
6398
|
-
key: "
|
|
6399
|
-
value: function
|
|
6400
|
-
return this.http.post("/scheduler/
|
|
6401
|
-
type: 'pipeline'
|
|
6402
|
-
}).json();
|
|
6360
|
+
key: "setEnable",
|
|
6361
|
+
value: function setEnable(id, enable) {
|
|
6362
|
+
return this.http.post("/scheduler/" + id + "/enable/" + enable, null).then(() => {});
|
|
6403
6363
|
}
|
|
6404
6364
|
/**
|
|
6405
6365
|
* No description
|
|
6406
6366
|
*
|
|
6407
|
-
* @tags
|
|
6408
|
-
* @name
|
|
6409
|
-
* @operationId
|
|
6410
|
-
* @summary
|
|
6411
|
-
* @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
|
|
6412
6372
|
* @response `200` OK
|
|
6413
6373
|
*/
|
|
6414
6374
|
|
|
6415
6375
|
}, {
|
|
6416
|
-
key: "
|
|
6417
|
-
value: function
|
|
6418
|
-
|
|
6419
|
-
|
|
6420
|
-
}
|
|
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(() => {});
|
|
6421
6384
|
}
|
|
6422
6385
|
/**
|
|
6423
6386
|
* No description
|
|
6424
6387
|
*
|
|
6425
|
-
* @tags
|
|
6426
|
-
* @name
|
|
6427
|
-
* @operationId
|
|
6428
|
-
* @summary
|
|
6429
|
-
* @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}
|
|
6430
6393
|
* @response `200` OK
|
|
6431
6394
|
*/
|
|
6432
6395
|
|
|
6433
6396
|
}, {
|
|
6434
|
-
key: "
|
|
6435
|
-
value: function
|
|
6436
|
-
return this.http.post("/scheduler/
|
|
6437
|
-
|
|
6438
|
-
|
|
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();
|
|
6439
6448
|
}
|
|
6440
6449
|
}]);
|
|
6441
6450
|
|
|
6442
|
-
return
|
|
6451
|
+
return RemoteTaskManagerService;
|
|
6443
6452
|
}(Service);
|
|
6444
6453
|
|
|
6445
|
-
let
|
|
6446
|
-
_inherits(
|
|
6454
|
+
let RemoteTaskManager = /*#__PURE__*/function (_RemoteTaskManagerSer) {
|
|
6455
|
+
_inherits(RemoteTaskManager, _RemoteTaskManagerSer);
|
|
6447
6456
|
|
|
6448
|
-
var _super = /*#__PURE__*/_createSuper(
|
|
6457
|
+
var _super = /*#__PURE__*/_createSuper(RemoteTaskManager);
|
|
6449
6458
|
|
|
6450
|
-
function
|
|
6451
|
-
_classCallCheck(this,
|
|
6459
|
+
function RemoteTaskManager() {
|
|
6460
|
+
_classCallCheck(this, RemoteTaskManager);
|
|
6452
6461
|
|
|
6453
6462
|
return _super.apply(this, arguments);
|
|
6454
6463
|
}
|
|
6455
6464
|
|
|
6456
|
-
_createClass(
|
|
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
|
-
|
|
6484
|
-
|
|
6485
|
-
|
|
6486
|
-
|
|
6487
|
-
|
|
6488
|
-
|
|
6489
|
-
|
|
6490
|
-
|
|
6491
|
-
const {
|
|
6492
|
-
taskId
|
|
6493
|
-
} = await this.startPrintTask(parameters);
|
|
6494
|
-
return this.processTaskId(taskId);
|
|
6495
|
-
}
|
|
6496
|
-
}, {
|
|
6497
|
-
key: "runTilingTask",
|
|
6498
|
-
value: async function runTilingTask(parameters) {
|
|
6499
|
-
const {
|
|
6500
|
-
taskId
|
|
6501
|
-
} = await this.startTilingTask(parameters);
|
|
6502
|
-
return this.processTaskId(taskId);
|
|
6503
|
-
}
|
|
6504
|
-
}, {
|
|
6505
|
-
key: "runRouteTask",
|
|
6506
|
-
value: async function runRouteTask(parameters) {
|
|
6507
|
-
const {
|
|
6508
|
-
taskId
|
|
6509
|
-
} = await this.startRouteTask(parameters);
|
|
6510
|
-
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();
|
|
6511
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
|
+
|
|
6512
6512
|
}, {
|
|
6513
|
-
key: "
|
|
6514
|
-
value:
|
|
6515
|
-
|
|
6516
|
-
taskId
|
|
6517
|
-
} = await this.startOverlayTask(parameters);
|
|
6518
|
-
return this.processTaskId(taskId);
|
|
6513
|
+
key: "copyResources",
|
|
6514
|
+
value: function copyResources(data) {
|
|
6515
|
+
return this.http.post("/resources/copy", data).json();
|
|
6519
6516
|
}
|
|
6520
|
-
}
|
|
6521
|
-
|
|
6522
|
-
|
|
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);
|
|
6523
6558
|
const {
|
|
6524
|
-
|
|
6525
|
-
|
|
6526
|
-
|
|
6559
|
+
layers,
|
|
6560
|
+
tables
|
|
6561
|
+
} = await this.getDependencies(projectDeps, true, true);
|
|
6562
|
+
return {
|
|
6563
|
+
projects: projectInfos,
|
|
6564
|
+
deps: {
|
|
6565
|
+
layers,
|
|
6566
|
+
tables
|
|
6567
|
+
}
|
|
6568
|
+
};
|
|
6527
6569
|
}
|
|
6528
6570
|
}, {
|
|
6529
|
-
key: "
|
|
6530
|
-
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);
|
|
6531
6575
|
const {
|
|
6532
|
-
|
|
6533
|
-
} = await this.
|
|
6534
|
-
return
|
|
6576
|
+
tables
|
|
6577
|
+
} = await this.getDependencies(layersDeps, false, true);
|
|
6578
|
+
return {
|
|
6579
|
+
layers: layerInfos,
|
|
6580
|
+
deps: {
|
|
6581
|
+
tables
|
|
6582
|
+
}
|
|
6583
|
+
};
|
|
6535
6584
|
}
|
|
6536
6585
|
}, {
|
|
6537
|
-
key: "
|
|
6538
|
-
value: async function
|
|
6586
|
+
key: "getDependencies",
|
|
6587
|
+
value: async function getDependencies(resourceDeps, pickLayers, pickTables) {
|
|
6539
6588
|
const {
|
|
6540
|
-
|
|
6541
|
-
|
|
6542
|
-
|
|
6543
|
-
|
|
6544
|
-
}, {
|
|
6545
|
-
key: "waitTaskCompleted",
|
|
6546
|
-
value: async function waitTaskCompleted(id) {
|
|
6547
|
-
return new Promise(async (resolve, reject) => {
|
|
6548
|
-
const taskProgress = await this.getTaskProgress(id);
|
|
6549
|
-
this.resolveTaskStatus(taskProgress, resolve, reject);
|
|
6589
|
+
tables,
|
|
6590
|
+
layers
|
|
6591
|
+
} = resourceDeps.reduce((acc, layerDep) => {
|
|
6592
|
+
const deps = layerDep.dependencies || [];
|
|
6550
6593
|
|
|
6551
|
-
|
|
6552
|
-
|
|
6553
|
-
|
|
6554
|
-
|
|
6555
|
-
|
|
6556
|
-
|
|
6557
|
-
|
|
6558
|
-
|
|
6559
|
-
|
|
6560
|
-
/* ServerTask */
|
|
6561
|
-
, taskResultCallback);
|
|
6562
|
-
this.resolveTaskStatus(taskProgress, resolve, reject);
|
|
6563
|
-
}
|
|
6564
|
-
};
|
|
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
|
+
}
|
|
6565
6603
|
|
|
6566
|
-
|
|
6567
|
-
|
|
6568
|
-
,
|
|
6604
|
+
return acc;
|
|
6605
|
+
}, {
|
|
6606
|
+
tables: [],
|
|
6607
|
+
layers: []
|
|
6569
6608
|
});
|
|
6609
|
+
return {
|
|
6610
|
+
tables: await this.tables.getTableInfos(tables.filter(unique)),
|
|
6611
|
+
layers: await this.layers.getLayerInfos(layers.filter(unique))
|
|
6612
|
+
};
|
|
6570
6613
|
}
|
|
6571
6614
|
}, {
|
|
6572
|
-
key: "
|
|
6573
|
-
value: function
|
|
6574
|
-
|
|
6575
|
-
|
|
6576
|
-
|
|
6577
|
-
|
|
6578
|
-
|
|
6579
|
-
|
|
6580
|
-
|
|
6581
|
-
|
|
6582
|
-
|
|
6583
|
-
|
|
6584
|
-
|
|
6585
|
-
} else {
|
|
6586
|
-
throw new Error("Task was started with no testId");
|
|
6587
|
-
}
|
|
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);
|
|
6588
6628
|
}
|
|
6589
6629
|
}]);
|
|
6590
6630
|
|
|
6591
|
-
return
|
|
6592
|
-
}(
|
|
6631
|
+
return Resources;
|
|
6632
|
+
}();
|
|
6593
6633
|
|
|
6594
6634
|
/**
|
|
6595
6635
|
* @title Spatial Processing Core API
|
|
@@ -7029,7 +7069,7 @@ let Styles = /*#__PURE__*/function (_StyleService) {
|
|
|
7029
7069
|
return _createClass(Styles);
|
|
7030
7070
|
}(StyleService);
|
|
7031
7071
|
|
|
7032
|
-
const _excluded$
|
|
7072
|
+
const _excluded$8 = ["name"],
|
|
7033
7073
|
_excluded2$4 = ["name"],
|
|
7034
7074
|
_excluded3$3 = ["name"],
|
|
7035
7075
|
_excluded4$2 = ["name"];
|
|
@@ -7211,7 +7251,7 @@ let TablesService = /*#__PURE__*/function (_Service) {
|
|
|
7211
7251
|
let {
|
|
7212
7252
|
name
|
|
7213
7253
|
} = _ref,
|
|
7214
|
-
query = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
7254
|
+
query = _objectWithoutPropertiesLoose(_ref, _excluded$8);
|
|
7215
7255
|
|
|
7216
7256
|
return this.http.get("/tables/" + name + "/data", query).json();
|
|
7217
7257
|
}
|
|
@@ -7611,7 +7651,7 @@ let Tools = /*#__PURE__*/function (_ToolsService) {
|
|
|
7611
7651
|
return _createClass(Tools);
|
|
7612
7652
|
}(ToolsService);
|
|
7613
7653
|
|
|
7614
|
-
const _excluded$
|
|
7654
|
+
const _excluded$9 = ["name", "z", "x", "y"];
|
|
7615
7655
|
/**
|
|
7616
7656
|
* @title Spatial Processing Core API
|
|
7617
7657
|
* @version 1.5.1.0
|
|
@@ -7649,7 +7689,7 @@ let VectorTileService = /*#__PURE__*/function (_Service) {
|
|
|
7649
7689
|
x,
|
|
7650
7690
|
y
|
|
7651
7691
|
} = _ref,
|
|
7652
|
-
query = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
7692
|
+
query = _objectWithoutPropertiesLoose(_ref, _excluded$9);
|
|
7653
7693
|
|
|
7654
7694
|
return this.http.get("/vt/" + name + "/" + z + "/" + x + "/" + y + ".pbf", query).then(() => {});
|
|
7655
7695
|
}
|
|
@@ -7728,7 +7768,12 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
7728
7768
|
} = httpOptions || {};
|
|
7729
7769
|
_this.http = http || new HttpClient(_extends({
|
|
7730
7770
|
prefixUrl: url,
|
|
7731
|
-
timeout: false
|
|
7771
|
+
timeout: false,
|
|
7772
|
+
retry: {
|
|
7773
|
+
methods: ["get", "post", "delete"],
|
|
7774
|
+
limit: 5,
|
|
7775
|
+
statusCodes: [401]
|
|
7776
|
+
}
|
|
7732
7777
|
}, httpOptions || {}, {
|
|
7733
7778
|
hooks: _extends({}, hooks || {}, {
|
|
7734
7779
|
beforeRequest: [request => {
|
|
@@ -7737,14 +7782,44 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
7737
7782
|
if (token) {
|
|
7738
7783
|
var _request$headers;
|
|
7739
7784
|
|
|
7740
|
-
(_request$headers = request.headers) == null ? void 0 : _request$headers.set(
|
|
7785
|
+
(_request$headers = request.headers) == null ? void 0 : _request$headers.set("Authorization", "Bearer " + (token || ""));
|
|
7741
7786
|
}
|
|
7742
7787
|
}, ...((_hooks$beforeRequest = hooks == null ? void 0 : hooks.beforeRequest) != null ? _hooks$beforeRequest : [])],
|
|
7743
|
-
|
|
7788
|
+
beforeRetry: [async _ref2 => {
|
|
7789
|
+
let {
|
|
7790
|
+
request,
|
|
7791
|
+
error,
|
|
7792
|
+
retryCount
|
|
7793
|
+
} = _ref2;
|
|
7794
|
+
|
|
7795
|
+
if (error instanceof HTTPError && error.response.status === 401 && retryCount === 1) {
|
|
7796
|
+
try {
|
|
7797
|
+
const refreshToken = window.localStorage.getItem(STORAGE_REFRESH_TOKEN_KEY);
|
|
7798
|
+
|
|
7799
|
+
if (refreshToken) {
|
|
7800
|
+
var _request$headers2;
|
|
7801
|
+
|
|
7802
|
+
const refreshTokenResponse = await _this.account.refreshToken({
|
|
7803
|
+
refreshToken
|
|
7804
|
+
});
|
|
7805
|
+
|
|
7806
|
+
if (refreshTokenResponse) {
|
|
7807
|
+
window.localStorage.setItem(STORAGE_TOKEN_KEY, refreshTokenResponse.token);
|
|
7808
|
+
window.localStorage.setItem(STORAGE_REFRESH_TOKEN_KEY, refreshTokenResponse.refreshToken);
|
|
7809
|
+
}
|
|
7810
|
+
|
|
7811
|
+
(_request$headers2 = request.headers) == null ? void 0 : _request$headers2.set("Authorization", "Bearer " + (refreshTokenResponse.token || ""));
|
|
7812
|
+
}
|
|
7813
|
+
} catch (error) {
|
|
7814
|
+
throw new Error("Failed to refresh token");
|
|
7815
|
+
}
|
|
7816
|
+
}
|
|
7817
|
+
}],
|
|
7818
|
+
afterResponse: [(request, options, response) => {
|
|
7744
7819
|
const apiEvent = apiEventsByResponseStatus[response.status];
|
|
7745
7820
|
|
|
7746
7821
|
if (apiEvent) {
|
|
7747
|
-
_this.emit(apiEvent, errorHandler(new HTTPError(response)));
|
|
7822
|
+
_this.emit(apiEvent, errorHandler(new HTTPError(response, request, options)));
|
|
7748
7823
|
}
|
|
7749
7824
|
|
|
7750
7825
|
return response;
|
|
@@ -7764,7 +7839,6 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
7764
7839
|
_this.bulk = new BulkOperations(_this.http);
|
|
7765
7840
|
_this.security = new Security(_this.http, _this.account);
|
|
7766
7841
|
_this.notification = new Notification(_this.http, _assertThisInitialized(_this), wsKeepAlive);
|
|
7767
|
-
_this.scheduler = new Scheduler(_this.http);
|
|
7768
7842
|
_this.file = new FileUpload(_this.http);
|
|
7769
7843
|
_this.filters = new Filters(_this.http);
|
|
7770
7844
|
_this.import = new Import(_this.http);
|
|
@@ -7788,6 +7862,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
7788
7862
|
_this.catalog = new CatalogService(_this.http);
|
|
7789
7863
|
_this.queryToken = new QueryTokenAccessService(_this.http);
|
|
7790
7864
|
_this.dataSource = new DataSourceService(_this.http);
|
|
7865
|
+
_this.remoteTaskManager = new RemoteTaskManager(_this.http);
|
|
7791
7866
|
_this.names = new Names({
|
|
7792
7867
|
account: _this.account
|
|
7793
7868
|
});
|
|
@@ -7801,16 +7876,15 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
7801
7876
|
|
|
7802
7877
|
_createClass(Api, [{
|
|
7803
7878
|
key: "init",
|
|
7804
|
-
value: async function init(
|
|
7879
|
+
value: async function init(_ref3) {
|
|
7805
7880
|
let {
|
|
7806
7881
|
authParams,
|
|
7807
7882
|
authQueryParams,
|
|
7808
7883
|
connectWs,
|
|
7809
|
-
initScheduler,
|
|
7810
7884
|
fetchSettings,
|
|
7811
7885
|
fetchUser,
|
|
7812
7886
|
useJwt
|
|
7813
|
-
} =
|
|
7887
|
+
} = _ref3;
|
|
7814
7888
|
|
|
7815
7889
|
try {
|
|
7816
7890
|
await this.account.login(authParams, authQueryParams, useJwt);
|
|
@@ -7823,10 +7897,6 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
7823
7897
|
await this.connectWs();
|
|
7824
7898
|
}
|
|
7825
7899
|
|
|
7826
|
-
if (initScheduler) {
|
|
7827
|
-
await this.initScheduler();
|
|
7828
|
-
}
|
|
7829
|
-
|
|
7830
7900
|
if (fetchSettings) {
|
|
7831
7901
|
await this.clientSettings.fetchClientSettings({
|
|
7832
7902
|
urlPath: getFetchingUrlPath(this.urlPath)
|
|
@@ -7888,11 +7958,6 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
7888
7958
|
await this.security.reset();
|
|
7889
7959
|
this.emit(ApiEvent.Unauthorized, null);
|
|
7890
7960
|
}
|
|
7891
|
-
}, {
|
|
7892
|
-
key: "initScheduler",
|
|
7893
|
-
value: function initScheduler() {
|
|
7894
|
-
return this.scheduler.init(this.notification);
|
|
7895
|
-
}
|
|
7896
7961
|
}, {
|
|
7897
7962
|
key: "defineUrlPath",
|
|
7898
7963
|
value: function defineUrlPath() {
|
|
@@ -7915,355 +7980,6 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
7915
7980
|
return Api;
|
|
7916
7981
|
}(EventEmitter);
|
|
7917
7982
|
|
|
7918
|
-
function generateRandom(min, max) {
|
|
7919
|
-
if (min === void 0) {
|
|
7920
|
-
min = 0;
|
|
7921
|
-
}
|
|
7922
|
-
|
|
7923
|
-
if (max === void 0) {
|
|
7924
|
-
max = 100;
|
|
7925
|
-
}
|
|
7926
|
-
|
|
7927
|
-
let difference = max - min;
|
|
7928
|
-
let rand = Math.random();
|
|
7929
|
-
rand = Math.floor(rand * difference);
|
|
7930
|
-
rand = rand + min;
|
|
7931
|
-
return rand;
|
|
7932
|
-
}
|
|
7933
|
-
|
|
7934
|
-
let EvergisTileLayer = /*#__PURE__*/function (_TileLayer) {
|
|
7935
|
-
_inherits(EvergisTileLayer, _TileLayer);
|
|
7936
|
-
|
|
7937
|
-
var _super = /*#__PURE__*/_createSuper(EvergisTileLayer);
|
|
7938
|
-
|
|
7939
|
-
function EvergisTileLayer(configuration, api) {
|
|
7940
|
-
var _this;
|
|
7941
|
-
|
|
7942
|
-
_classCallCheck(this, EvergisTileLayer);
|
|
7943
|
-
|
|
7944
|
-
_this = _super.call(this, '', {
|
|
7945
|
-
crs: configuration.crs,
|
|
7946
|
-
opacity: configuration.opacity
|
|
7947
|
-
});
|
|
7948
|
-
_this.api = api;
|
|
7949
|
-
_this.name = configuration.name;
|
|
7950
|
-
_this.sourceUrl = configuration.sourceUrl;
|
|
7951
|
-
_this.subDomains = configuration.subDomains;
|
|
7952
|
-
return _this;
|
|
7953
|
-
}
|
|
7954
|
-
|
|
7955
|
-
_createClass(EvergisTileLayer, [{
|
|
7956
|
-
key: "getTileUrl",
|
|
7957
|
-
value: function getTileUrl(x, y, level) {
|
|
7958
|
-
var _this$subDomains;
|
|
7959
|
-
|
|
7960
|
-
const name = this.name;
|
|
7961
|
-
const subDomainIndex = this.subDomains ? generateRandom(0, ((_this$subDomains = this.subDomains) == null ? void 0 : _this$subDomains.length) - 1) : undefined;
|
|
7962
|
-
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({
|
|
7963
|
-
x,
|
|
7964
|
-
y,
|
|
7965
|
-
z: level,
|
|
7966
|
-
name
|
|
7967
|
-
});
|
|
7968
|
-
}
|
|
7969
|
-
}]);
|
|
7970
|
-
|
|
7971
|
-
return EvergisTileLayer;
|
|
7972
|
-
}(TileLayer);
|
|
7973
|
-
|
|
7974
|
-
const _excluded$9 = ["name", "style", "condition", "dataFilterId", "crs"];
|
|
7975
|
-
let EvergisDynamicLayer = /*#__PURE__*/function (_DynamicLayer) {
|
|
7976
|
-
_inherits(EvergisDynamicLayer, _DynamicLayer);
|
|
7977
|
-
|
|
7978
|
-
var _super = /*#__PURE__*/_createSuper(EvergisDynamicLayer);
|
|
7979
|
-
|
|
7980
|
-
function EvergisDynamicLayer(_ref, api) {
|
|
7981
|
-
var _this;
|
|
7982
|
-
|
|
7983
|
-
let {
|
|
7984
|
-
name,
|
|
7985
|
-
style,
|
|
7986
|
-
condition,
|
|
7987
|
-
dataFilterId,
|
|
7988
|
-
crs = webMercator
|
|
7989
|
-
} = _ref,
|
|
7990
|
-
layerProps = _objectWithoutPropertiesLoose(_ref, _excluded$9);
|
|
7991
|
-
|
|
7992
|
-
_classCallCheck(this, EvergisDynamicLayer);
|
|
7993
|
-
|
|
7994
|
-
_this = _super.call(this, layerProps);
|
|
7995
|
-
_this.api = api;
|
|
7996
|
-
_this.name = name;
|
|
7997
|
-
_this.styleId = style;
|
|
7998
|
-
_this.conditionQuery = condition;
|
|
7999
|
-
_this.filterId = dataFilterId;
|
|
8000
|
-
_this.crs = crs;
|
|
8001
|
-
|
|
8002
|
-
_this.subscribeRedraw();
|
|
8003
|
-
|
|
8004
|
-
return _this;
|
|
8005
|
-
} // @ts-ignore TODO
|
|
8006
|
-
|
|
8007
|
-
|
|
8008
|
-
_createClass(EvergisDynamicLayer, [{
|
|
8009
|
-
key: "style",
|
|
8010
|
-
get: // @ts-ignore TODO
|
|
8011
|
-
function get() {
|
|
8012
|
-
return this.styleId;
|
|
8013
|
-
} // @ts-ignore TODO
|
|
8014
|
-
,
|
|
8015
|
-
set: function set(styleId) {
|
|
8016
|
-
this.styleId = styleId;
|
|
8017
|
-
this.forceUpdate();
|
|
8018
|
-
}
|
|
8019
|
-
}, {
|
|
8020
|
-
key: "condition",
|
|
8021
|
-
get: // @ts-ignore TODO
|
|
8022
|
-
function get() {
|
|
8023
|
-
return this.conditionQuery;
|
|
8024
|
-
} // @ts-ignore TODO
|
|
8025
|
-
,
|
|
8026
|
-
set: function set(condition) {
|
|
8027
|
-
this.conditionQuery = condition;
|
|
8028
|
-
this.forceUpdate();
|
|
8029
|
-
}
|
|
8030
|
-
}, {
|
|
8031
|
-
key: "dataFilterId",
|
|
8032
|
-
get: // @ts-ignore TODO
|
|
8033
|
-
function get() {
|
|
8034
|
-
return this.filterId;
|
|
8035
|
-
},
|
|
8036
|
-
set: function set(filterId) {
|
|
8037
|
-
this.filterId = filterId;
|
|
8038
|
-
this.forceUpdate();
|
|
8039
|
-
}
|
|
8040
|
-
}, {
|
|
8041
|
-
key: "getUrl",
|
|
8042
|
-
value: function getUrl(bbox, painter) {
|
|
8043
|
-
let imgWidth = painter.width;
|
|
8044
|
-
let imgHeight = painter.height;
|
|
8045
|
-
return this.api.layers.getLayerImage({
|
|
8046
|
-
name: this.name,
|
|
8047
|
-
extent: bbox.coordinates,
|
|
8048
|
-
size: [imgWidth, imgHeight],
|
|
8049
|
-
extentSr: bbox.crs.wkid,
|
|
8050
|
-
styleId: this.styleId,
|
|
8051
|
-
condition: this.conditionQuery,
|
|
8052
|
-
dataFilterId: this.filterId
|
|
8053
|
-
});
|
|
8054
|
-
}
|
|
8055
|
-
}, {
|
|
8056
|
-
key: "subscribeRedraw",
|
|
8057
|
-
value: function subscribeRedraw() {
|
|
8058
|
-
this.api.notification.on("service_update"
|
|
8059
|
-
/* ServiceUpdate */
|
|
8060
|
-
, e => {
|
|
8061
|
-
if ((e == null ? void 0 : e.data.layerName) === this.name) {
|
|
8062
|
-
this.forceUpdate();
|
|
8063
|
-
this.redraw();
|
|
8064
|
-
}
|
|
8065
|
-
});
|
|
8066
|
-
}
|
|
8067
|
-
}]);
|
|
8068
|
-
|
|
8069
|
-
return EvergisDynamicLayer;
|
|
8070
|
-
}(DynamicLayer);
|
|
8071
|
-
|
|
8072
|
-
const LayerServicesMap = {
|
|
8073
|
-
RemoteTileService: EvergisTileLayer,
|
|
8074
|
-
LocalTileService: EvergisTileLayer,
|
|
8075
|
-
PostgresLayerService: EvergisDynamicLayer,
|
|
8076
|
-
StyledFeatureLayer: EvergisDynamicLayer,
|
|
8077
|
-
CompositeService: null
|
|
8078
|
-
};
|
|
8079
|
-
|
|
8080
|
-
const isLayerType = type => Boolean(type && Object.keys(LayerServicesMap).includes(type));
|
|
8081
|
-
|
|
8082
|
-
const withServicesPrefix = layerInfo => _extends({}, layerInfo, {
|
|
8083
|
-
name: "services/" + layerInfo.name
|
|
8084
|
-
});
|
|
8085
|
-
|
|
8086
|
-
let LayersManager = /*#__PURE__*/function () {
|
|
8087
|
-
function LayersManager(layers, http) {
|
|
8088
|
-
_classCallCheck(this, LayersManager);
|
|
8089
|
-
|
|
8090
|
-
this.layers = layers;
|
|
8091
|
-
this.http = http;
|
|
8092
|
-
}
|
|
8093
|
-
|
|
8094
|
-
_createClass(LayersManager, [{
|
|
8095
|
-
key: "getLayerService",
|
|
8096
|
-
value: async function getLayerService(name) {
|
|
8097
|
-
let layerInfo = await this.getLayerInfo(name);
|
|
8098
|
-
const type = layerInfo.type;
|
|
8099
|
-
|
|
8100
|
-
if (!isLayerType(type)) {
|
|
8101
|
-
return;
|
|
8102
|
-
}
|
|
8103
|
-
|
|
8104
|
-
const ServiceCtor = LayerServicesMap[type];
|
|
8105
|
-
|
|
8106
|
-
if (ServiceCtor) {
|
|
8107
|
-
// @ts-ignore
|
|
8108
|
-
return new ServiceCtor(withServicesPrefix(layerInfo), this.http);
|
|
8109
|
-
} else {
|
|
8110
|
-
throw new Error("Constructor for service type: \"" + layerInfo.type + "\" not implemented");
|
|
8111
|
-
}
|
|
8112
|
-
}
|
|
8113
|
-
}, {
|
|
8114
|
-
key: "getLayerInfo",
|
|
8115
|
-
value: async function getLayerInfo(name) {
|
|
8116
|
-
try {
|
|
8117
|
-
return await this.layers.getLayerInfo(name);
|
|
8118
|
-
} catch (_unused) {
|
|
8119
|
-
throw new Error("Service with name: \"" + name + "\" not exists");
|
|
8120
|
-
}
|
|
8121
|
-
}
|
|
8122
|
-
}]);
|
|
8123
|
-
|
|
8124
|
-
return LayersManager;
|
|
8125
|
-
}();
|
|
8126
|
-
|
|
8127
|
-
var LayersZIndex;
|
|
8128
|
-
|
|
8129
|
-
(function (LayersZIndex) {
|
|
8130
|
-
LayersZIndex[LayersZIndex["BaseMaps"] = 0] = "BaseMaps";
|
|
8131
|
-
LayersZIndex[LayersZIndex["Layers"] = 1] = "Layers";
|
|
8132
|
-
})(LayersZIndex || (LayersZIndex = {}));
|
|
8133
|
-
|
|
8134
|
-
let SpatialProcessor = /*#__PURE__*/function (_Api) {
|
|
8135
|
-
_inherits(SpatialProcessor, _Api);
|
|
8136
|
-
|
|
8137
|
-
var _super = /*#__PURE__*/_createSuper(SpatialProcessor);
|
|
8138
|
-
|
|
8139
|
-
function SpatialProcessor(mapProps, apiParams, authParams) {
|
|
8140
|
-
var _this;
|
|
8141
|
-
|
|
8142
|
-
_classCallCheck(this, SpatialProcessor);
|
|
8143
|
-
|
|
8144
|
-
_this = _super.call(this, apiParams);
|
|
8145
|
-
_this.map = new Map();
|
|
8146
|
-
_this.painter = new DomPainter(_this.map);
|
|
8147
|
-
_this.mapProps = mapProps;
|
|
8148
|
-
_this.auth = authParams;
|
|
8149
|
-
_this.layersManager = new LayersManager(_this.layers, _this.http);
|
|
8150
|
-
return _this;
|
|
8151
|
-
}
|
|
8152
|
-
|
|
8153
|
-
_createClass(SpatialProcessor, [{
|
|
8154
|
-
key: "init",
|
|
8155
|
-
value: async function init() {
|
|
8156
|
-
await _get(_getPrototypeOf(SpatialProcessor.prototype), "init", this).call(this, {
|
|
8157
|
-
authParams: this.auth,
|
|
8158
|
-
connectWs: true,
|
|
8159
|
-
fetchSettings: true,
|
|
8160
|
-
initScheduler: true
|
|
8161
|
-
});
|
|
8162
|
-
const {
|
|
8163
|
-
baseService,
|
|
8164
|
-
services,
|
|
8165
|
-
projectName
|
|
8166
|
-
} = this.mapProps;
|
|
8167
|
-
|
|
8168
|
-
if (baseService) {
|
|
8169
|
-
await this.setBaseMap(baseService);
|
|
8170
|
-
}
|
|
8171
|
-
|
|
8172
|
-
if (services) {
|
|
8173
|
-
await Promise.all(services.map(service => this.addLayer(service)));
|
|
8174
|
-
}
|
|
8175
|
-
|
|
8176
|
-
if (projectName) {
|
|
8177
|
-
await this.loadProject(projectName);
|
|
8178
|
-
}
|
|
8179
|
-
|
|
8180
|
-
this.setMapProps();
|
|
8181
|
-
}
|
|
8182
|
-
}, {
|
|
8183
|
-
key: "reset",
|
|
8184
|
-
value: async function reset() {
|
|
8185
|
-
await this.account.logout();
|
|
8186
|
-
this.painter.wrapper = null;
|
|
8187
|
-
}
|
|
8188
|
-
}, {
|
|
8189
|
-
key: "addLayer",
|
|
8190
|
-
value: async function addLayer(name) {
|
|
8191
|
-
await this.insertLayer(name, LayersZIndex.Layers);
|
|
8192
|
-
}
|
|
8193
|
-
}, {
|
|
8194
|
-
key: "setBaseMap",
|
|
8195
|
-
value: async function setBaseMap(name) {
|
|
8196
|
-
await this.insertLayer(name, LayersZIndex.BaseMaps);
|
|
8197
|
-
}
|
|
8198
|
-
}, {
|
|
8199
|
-
key: "loadProject",
|
|
8200
|
-
value: async function loadProject(name) {
|
|
8201
|
-
const projectInfo = await this.projects.getProjectInfo(name);
|
|
8202
|
-
|
|
8203
|
-
if (!(projectInfo && projectInfo.content)) {
|
|
8204
|
-
return;
|
|
8205
|
-
}
|
|
8206
|
-
|
|
8207
|
-
const {
|
|
8208
|
-
baseMapName,
|
|
8209
|
-
items
|
|
8210
|
-
} = projectInfo.content;
|
|
8211
|
-
|
|
8212
|
-
if (baseMapName) {
|
|
8213
|
-
await this.setBaseMap(baseMapName);
|
|
8214
|
-
}
|
|
8215
|
-
|
|
8216
|
-
if (items) {
|
|
8217
|
-
const layers = items.map(item => item.name).filter(isString$1);
|
|
8218
|
-
await Promise.all(layers.map(layer => this.addLayer(layer)));
|
|
8219
|
-
}
|
|
8220
|
-
}
|
|
8221
|
-
}, {
|
|
8222
|
-
key: "insertLayer",
|
|
8223
|
-
value: async function insertLayer(name, index) {
|
|
8224
|
-
const service = await this.layersManager.getLayerService(name);
|
|
8225
|
-
|
|
8226
|
-
if (service) {
|
|
8227
|
-
// @ts-ignore
|
|
8228
|
-
this.map.insertLayer(service.layer, index);
|
|
8229
|
-
}
|
|
8230
|
-
}
|
|
8231
|
-
}, {
|
|
8232
|
-
key: "setMapProps",
|
|
8233
|
-
value: function setMapProps() {
|
|
8234
|
-
const {
|
|
8235
|
-
position,
|
|
8236
|
-
centerPoint,
|
|
8237
|
-
mapWrapper,
|
|
8238
|
-
resolution
|
|
8239
|
-
} = this.mapProps;
|
|
8240
|
-
|
|
8241
|
-
if (position) {
|
|
8242
|
-
this.map.position = position;
|
|
8243
|
-
} else if (centerPoint) {
|
|
8244
|
-
this.map.centerPoint = centerPoint;
|
|
8245
|
-
}
|
|
8246
|
-
|
|
8247
|
-
if (resolution) this.map.resolution = resolution;
|
|
8248
|
-
if (mapWrapper) this.painter.wrapper = mapWrapper;
|
|
8249
|
-
}
|
|
8250
|
-
}]);
|
|
8251
|
-
|
|
8252
|
-
return SpatialProcessor;
|
|
8253
|
-
}(Api);
|
|
8254
|
-
|
|
8255
|
-
const isString$1 = s => s !== undefined;
|
|
8256
|
-
|
|
8257
|
-
function isEvergisDynamicLayer(layer) {
|
|
8258
|
-
return layer instanceof EvergisDynamicLayer;
|
|
8259
|
-
}
|
|
8260
|
-
function isEvergisTileLayer(layer) {
|
|
8261
|
-
return layer instanceof EvergisTileLayer;
|
|
8262
|
-
}
|
|
8263
|
-
function isFeatureLayer(layer) {
|
|
8264
|
-
return layer instanceof FeatureLayer;
|
|
8265
|
-
}
|
|
8266
|
-
|
|
8267
7983
|
/* eslint-disable */
|
|
8268
7984
|
|
|
8269
7985
|
/* tslint:disable */
|
|
@@ -9000,6 +8716,8 @@ MaxFeaturesInOneTable
|
|
|
9000
8716
|
MaxObjectsToExport
|
|
9001
8717
|
|
|
9002
8718
|
MaxUploadContentSize
|
|
8719
|
+
|
|
8720
|
+
MaxEqlQueryParametersValues
|
|
9003
8721
|
*/
|
|
9004
8722
|
|
|
9005
8723
|
|
|
@@ -9013,6 +8731,7 @@ var PolicyType;
|
|
|
9013
8731
|
PolicyType["MaxFeaturesInOneTable"] = "MaxFeaturesInOneTable";
|
|
9014
8732
|
PolicyType["MaxObjectsToExport"] = "MaxObjectsToExport";
|
|
9015
8733
|
PolicyType["MaxUploadContentSize"] = "MaxUploadContentSize";
|
|
8734
|
+
PolicyType["MaxEqlQueryParametersValues"] = "MaxEqlQueryParametersValues";
|
|
9016
8735
|
})(PolicyType || (PolicyType = {}));
|
|
9017
8736
|
/**
|
|
9018
8737
|
* Stream quality.
|
|
@@ -9072,6 +8791,8 @@ file
|
|
|
9072
8791
|
feature
|
|
9073
8792
|
|
|
9074
8793
|
tag
|
|
8794
|
+
|
|
8795
|
+
datasource
|
|
9075
8796
|
*/
|
|
9076
8797
|
|
|
9077
8798
|
|
|
@@ -9085,6 +8806,7 @@ var ResourceType;
|
|
|
9085
8806
|
ResourceType["File"] = "file";
|
|
9086
8807
|
ResourceType["Feature"] = "feature";
|
|
9087
8808
|
ResourceType["Tag"] = "tag";
|
|
8809
|
+
ResourceType["DataSource"] = "datasource";
|
|
9088
8810
|
})(ResourceType || (ResourceType = {}));
|
|
9089
8811
|
/**
|
|
9090
8812
|
* Resources types filter.
|
|
@@ -9143,39 +8865,6 @@ var ResponseType;
|
|
|
9143
8865
|
ResponseType["Token"] = "token";
|
|
9144
8866
|
})(ResponseType || (ResponseType = {}));
|
|
9145
8867
|
/**
|
|
9146
|
-
* Status of the server task.
|
|
9147
|
-
|
|
9148
|
-
None
|
|
9149
|
-
|
|
9150
|
-
Scheduled
|
|
9151
|
-
|
|
9152
|
-
Planning
|
|
9153
|
-
|
|
9154
|
-
Executing
|
|
9155
|
-
|
|
9156
|
-
Completed
|
|
9157
|
-
|
|
9158
|
-
Failed
|
|
9159
|
-
|
|
9160
|
-
Canceled
|
|
9161
|
-
|
|
9162
|
-
Timeout
|
|
9163
|
-
*/
|
|
9164
|
-
|
|
9165
|
-
|
|
9166
|
-
var ServerTaskStatus;
|
|
9167
|
-
|
|
9168
|
-
(function (ServerTaskStatus) {
|
|
9169
|
-
ServerTaskStatus["None"] = "None";
|
|
9170
|
-
ServerTaskStatus["Scheduled"] = "Scheduled";
|
|
9171
|
-
ServerTaskStatus["Planning"] = "Planning";
|
|
9172
|
-
ServerTaskStatus["Executing"] = "Executing";
|
|
9173
|
-
ServerTaskStatus["Completed"] = "Completed";
|
|
9174
|
-
ServerTaskStatus["Failed"] = "Failed";
|
|
9175
|
-
ServerTaskStatus["Canceled"] = "Canceled";
|
|
9176
|
-
ServerTaskStatus["Timeout"] = "Timeout";
|
|
9177
|
-
})(ServerTaskStatus || (ServerTaskStatus = {}));
|
|
9178
|
-
/**
|
|
9179
8868
|
*
|
|
9180
8869
|
|
|
9181
8870
|
Basic
|
|
@@ -9215,21 +8904,6 @@ var StringSubType;
|
|
|
9215
8904
|
StringSubType["Attachments"] = "Attachments";
|
|
9216
8905
|
})(StringSubType || (StringSubType = {}));
|
|
9217
8906
|
/**
|
|
9218
|
-
* Task owner group.
|
|
9219
|
-
|
|
9220
|
-
my
|
|
9221
|
-
|
|
9222
|
-
all
|
|
9223
|
-
*/
|
|
9224
|
-
|
|
9225
|
-
|
|
9226
|
-
var TaskGroup;
|
|
9227
|
-
|
|
9228
|
-
(function (TaskGroup) {
|
|
9229
|
-
TaskGroup["My"] = "my";
|
|
9230
|
-
TaskGroup["All"] = "all";
|
|
9231
|
-
})(TaskGroup || (TaskGroup = {}));
|
|
9232
|
-
/**
|
|
9233
8907
|
* Sets the horizontal alignment of text.
|
|
9234
8908
|
|
|
9235
8909
|
right
|
|
@@ -9268,6 +8942,81 @@ var TextVerticalAlignment;
|
|
|
9268
8942
|
TextVerticalAlignment["Bottom"] = "bottom";
|
|
9269
8943
|
TextVerticalAlignment["Middle"] = "middle";
|
|
9270
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
|
+
|
|
9271
8999
|
|
|
9272
|
-
|
|
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 };
|
|
9273
9022
|
//# sourceMappingURL=api.esm.js.map
|