@evergis/api 4.1.0 → 4.1.2
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 +11 -11
- package/dist/EventEmitter.d.ts +11 -0
- package/dist/__generated__/AccountService.d.ts +12 -0
- package/dist/__generated__/DataSourceService.d.ts +30 -6
- package/dist/__generated__/EqlService.d.ts +1 -13
- package/dist/__generated__/LayersService.d.ts +2 -2
- package/dist/__generated__/ProjectsService.d.ts +50 -2
- package/dist/__generated__/TablesService.d.ts +2 -2
- package/dist/__generated__/data-contracts.d.ts +124 -257
- package/dist/api.cjs.development.js +1157 -469
- 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 +1178 -480
- package/dist/api.esm.js.map +1 -1
- package/dist/services/Notification.d.ts +3 -3
- package/dist/services/Projects.d.ts +1 -1
- package/package.json +2 -3
- package/dist/__generated__/WmsServerService.d.ts +0 -69
package/dist/api.esm.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { EventEmitter } from '@evergis/event-emitter';
|
|
2
1
|
import ky, { HTTPError } from 'ky';
|
|
3
2
|
export { HTTPError, TimeoutError } from 'ky';
|
|
4
3
|
import { HubConnectionBuilder, HttpTransportType, HubConnectionState } from '@microsoft/signalr';
|
|
@@ -76,19 +75,6 @@ function _setPrototypeOf(o, p) {
|
|
|
76
75
|
return _setPrototypeOf(o, p);
|
|
77
76
|
}
|
|
78
77
|
|
|
79
|
-
function _isNativeReflectConstruct() {
|
|
80
|
-
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
81
|
-
if (Reflect.construct.sham) return false;
|
|
82
|
-
if (typeof Proxy === "function") return true;
|
|
83
|
-
|
|
84
|
-
try {
|
|
85
|
-
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
86
|
-
return true;
|
|
87
|
-
} catch (e) {
|
|
88
|
-
return false;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
|
|
92
78
|
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
93
79
|
if (source == null) return {};
|
|
94
80
|
var target = {};
|
|
@@ -120,25 +106,6 @@ function _possibleConstructorReturn(self, call) {
|
|
|
120
106
|
return _assertThisInitialized(self);
|
|
121
107
|
}
|
|
122
108
|
|
|
123
|
-
function _createSuper(Derived) {
|
|
124
|
-
var hasNativeReflectConstruct = _isNativeReflectConstruct();
|
|
125
|
-
|
|
126
|
-
return function _createSuperInternal() {
|
|
127
|
-
var Super = _getPrototypeOf(Derived),
|
|
128
|
-
result;
|
|
129
|
-
|
|
130
|
-
if (hasNativeReflectConstruct) {
|
|
131
|
-
var NewTarget = _getPrototypeOf(this).constructor;
|
|
132
|
-
|
|
133
|
-
result = Reflect.construct(Super, arguments, NewTarget);
|
|
134
|
-
} else {
|
|
135
|
-
result = Super.apply(this, arguments);
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
return _possibleConstructorReturn(this, result);
|
|
139
|
-
};
|
|
140
|
-
}
|
|
141
|
-
|
|
142
109
|
function _superPropBase(object, property) {
|
|
143
110
|
while (!Object.prototype.hasOwnProperty.call(object, property)) {
|
|
144
111
|
object = _getPrototypeOf(object);
|
|
@@ -187,7 +154,7 @@ let HttpClient = /*#__PURE__*/function () {
|
|
|
187
154
|
this.prefixUrl = ((_options$prefixUrl = options.prefixUrl) == null ? void 0 : _options$prefixUrl.toString()) || '';
|
|
188
155
|
}
|
|
189
156
|
|
|
190
|
-
_createClass(HttpClient, [{
|
|
157
|
+
return _createClass(HttpClient, [{
|
|
191
158
|
key: "extend",
|
|
192
159
|
value: function extend(options) {
|
|
193
160
|
var _options$prefixUrl2;
|
|
@@ -242,8 +209,6 @@ let HttpClient = /*#__PURE__*/function () {
|
|
|
242
209
|
return url;
|
|
243
210
|
}
|
|
244
211
|
}]);
|
|
245
|
-
|
|
246
|
-
return HttpClient;
|
|
247
212
|
}();
|
|
248
213
|
|
|
249
214
|
function kyOptions(params, body) {
|
|
@@ -303,6 +268,22 @@ let Service = /*#__PURE__*/_createClass(function Service(http) {
|
|
|
303
268
|
this.http = http;
|
|
304
269
|
});
|
|
305
270
|
|
|
271
|
+
function _callSuper(_this, derived, args) {
|
|
272
|
+
function isNativeReflectConstruct() {
|
|
273
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
274
|
+
if (Reflect.construct.sham) return false;
|
|
275
|
+
if (typeof Proxy === "function") return true;
|
|
276
|
+
|
|
277
|
+
try {
|
|
278
|
+
return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
279
|
+
} catch (e) {
|
|
280
|
+
return false;
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
derived = _getPrototypeOf(derived);
|
|
285
|
+
return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
|
|
286
|
+
}
|
|
306
287
|
/**
|
|
307
288
|
* @title Spatial Processing Core API
|
|
308
289
|
* @version 1.5.1.0
|
|
@@ -310,17 +291,15 @@ let Service = /*#__PURE__*/_createClass(function Service(http) {
|
|
|
310
291
|
*/
|
|
311
292
|
|
|
312
293
|
let DataSourceService = /*#__PURE__*/function (_Service) {
|
|
313
|
-
_inherits(DataSourceService, _Service);
|
|
314
|
-
|
|
315
|
-
var _super = /*#__PURE__*/_createSuper(DataSourceService);
|
|
316
|
-
|
|
317
294
|
function DataSourceService() {
|
|
318
295
|
_classCallCheck(this, DataSourceService);
|
|
319
296
|
|
|
320
|
-
return
|
|
297
|
+
return _callSuper(this, DataSourceService, arguments);
|
|
321
298
|
}
|
|
322
299
|
|
|
323
|
-
|
|
300
|
+
_inherits(DataSourceService, _Service);
|
|
301
|
+
|
|
302
|
+
return _createClass(DataSourceService, [{
|
|
324
303
|
key: "createArcGisDataSource",
|
|
325
304
|
value:
|
|
326
305
|
/**
|
|
@@ -377,7 +356,7 @@ let DataSourceService = /*#__PURE__*/function (_Service) {
|
|
|
377
356
|
* @tags DataSource
|
|
378
357
|
* @name CreateDataSource
|
|
379
358
|
* @operationId DataSourceController_CreateDataSource
|
|
380
|
-
* @summary Create data source.
|
|
359
|
+
* @summary Create postgresql data source.
|
|
381
360
|
* @request POST:/ds
|
|
382
361
|
* @secure
|
|
383
362
|
* @response `200` OK
|
|
@@ -394,7 +373,7 @@ let DataSourceService = /*#__PURE__*/function (_Service) {
|
|
|
394
373
|
* @tags DataSource
|
|
395
374
|
* @name UpdateDataSource
|
|
396
375
|
* @operationId DataSourceController_UpdateDataSource
|
|
397
|
-
* @summary Update data source.
|
|
376
|
+
* @summary Update postgresql data source.
|
|
398
377
|
* @request PATCH:/ds
|
|
399
378
|
* @secure
|
|
400
379
|
* @response `200` OK
|
|
@@ -462,7 +441,7 @@ let DataSourceService = /*#__PURE__*/function (_Service) {
|
|
|
462
441
|
* @tags DataSource
|
|
463
442
|
* @name CreateMosRuDataSource
|
|
464
443
|
* @operationId DataSourceController_CreateMosRuDataSource
|
|
465
|
-
* @summary Create data.mos.ru source.
|
|
444
|
+
* @summary Create data.mos.ru data source.
|
|
466
445
|
* @request POST:/ds/dataMosRu
|
|
467
446
|
* @secure
|
|
468
447
|
* @response `200` OK
|
|
@@ -479,7 +458,7 @@ let DataSourceService = /*#__PURE__*/function (_Service) {
|
|
|
479
458
|
* @tags DataSource
|
|
480
459
|
* @name UpdateMosRuDataSource
|
|
481
460
|
* @operationId DataSourceController_UpdateMosRuDataSource
|
|
482
|
-
* @summary Update
|
|
461
|
+
* @summary Update data.mos.ru data source.
|
|
483
462
|
* @request PATCH:/ds/dataMosRu
|
|
484
463
|
* @secure
|
|
485
464
|
* @response `200` OK
|
|
@@ -524,6 +503,40 @@ let DataSourceService = /*#__PURE__*/function (_Service) {
|
|
|
524
503
|
value: function updateS3DataSource(data) {
|
|
525
504
|
return this.http.patch("/ds/s3", data).then(() => {});
|
|
526
505
|
}
|
|
506
|
+
/**
|
|
507
|
+
* No description
|
|
508
|
+
*
|
|
509
|
+
* @tags DataSource
|
|
510
|
+
* @name CreateSparkDataSource
|
|
511
|
+
* @operationId DataSourceController_CreateSparkDataSource
|
|
512
|
+
* @summary Create spark data source.
|
|
513
|
+
* @request POST:/ds/spark
|
|
514
|
+
* @secure
|
|
515
|
+
* @response `200` OK
|
|
516
|
+
*/
|
|
517
|
+
|
|
518
|
+
}, {
|
|
519
|
+
key: "createSparkDataSource",
|
|
520
|
+
value: function createSparkDataSource(data) {
|
|
521
|
+
return this.http.post("/ds/spark", data).then(() => {});
|
|
522
|
+
}
|
|
523
|
+
/**
|
|
524
|
+
* No description
|
|
525
|
+
*
|
|
526
|
+
* @tags DataSource
|
|
527
|
+
* @name UpdateSparkDataSource
|
|
528
|
+
* @operationId DataSourceController_UpdateSparkDataSource
|
|
529
|
+
* @summary Update spark data source.
|
|
530
|
+
* @request PATCH:/ds/spark
|
|
531
|
+
* @secure
|
|
532
|
+
* @response `200` OK
|
|
533
|
+
*/
|
|
534
|
+
|
|
535
|
+
}, {
|
|
536
|
+
key: "updateSparkDataSource",
|
|
537
|
+
value: function updateSparkDataSource(data) {
|
|
538
|
+
return this.http.patch("/ds/spark", data).then(() => {});
|
|
539
|
+
}
|
|
527
540
|
/**
|
|
528
541
|
* No description
|
|
529
542
|
*
|
|
@@ -559,11 +572,26 @@ let DataSourceService = /*#__PURE__*/function (_Service) {
|
|
|
559
572
|
return this.http.patch("/ds/wms", data).then(() => {});
|
|
560
573
|
}
|
|
561
574
|
}]);
|
|
562
|
-
|
|
563
|
-
return DataSourceService;
|
|
564
575
|
}(Service);
|
|
565
576
|
|
|
566
577
|
const _excluded = ["username"];
|
|
578
|
+
|
|
579
|
+
function _callSuper$1(_this, derived, args) {
|
|
580
|
+
function isNativeReflectConstruct() {
|
|
581
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
582
|
+
if (Reflect.construct.sham) return false;
|
|
583
|
+
if (typeof Proxy === "function") return true;
|
|
584
|
+
|
|
585
|
+
try {
|
|
586
|
+
return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
587
|
+
} catch (e) {
|
|
588
|
+
return false;
|
|
589
|
+
}
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
derived = _getPrototypeOf(derived);
|
|
593
|
+
return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
|
|
594
|
+
}
|
|
567
595
|
/**
|
|
568
596
|
* @title Spatial Processing Core API
|
|
569
597
|
* @version 1.5.1.0
|
|
@@ -571,17 +599,15 @@ const _excluded = ["username"];
|
|
|
571
599
|
*/
|
|
572
600
|
|
|
573
601
|
let QueryTokenAccessService = /*#__PURE__*/function (_Service) {
|
|
574
|
-
_inherits(QueryTokenAccessService, _Service);
|
|
575
|
-
|
|
576
|
-
var _super = /*#__PURE__*/_createSuper(QueryTokenAccessService);
|
|
577
|
-
|
|
578
602
|
function QueryTokenAccessService() {
|
|
579
603
|
_classCallCheck(this, QueryTokenAccessService);
|
|
580
604
|
|
|
581
|
-
return
|
|
605
|
+
return _callSuper$1(this, QueryTokenAccessService, arguments);
|
|
582
606
|
}
|
|
583
607
|
|
|
584
|
-
|
|
608
|
+
_inherits(QueryTokenAccessService, _Service);
|
|
609
|
+
|
|
610
|
+
return _createClass(QueryTokenAccessService, [{
|
|
585
611
|
key: "getTokensList",
|
|
586
612
|
value:
|
|
587
613
|
/**
|
|
@@ -667,10 +693,24 @@ let QueryTokenAccessService = /*#__PURE__*/function (_Service) {
|
|
|
667
693
|
return this.http.delete("/accessToken/" + token, null).then(() => {});
|
|
668
694
|
}
|
|
669
695
|
}]);
|
|
670
|
-
|
|
671
|
-
return QueryTokenAccessService;
|
|
672
696
|
}(Service);
|
|
673
697
|
|
|
698
|
+
function _callSuper$2(_this, derived, args) {
|
|
699
|
+
function isNativeReflectConstruct() {
|
|
700
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
701
|
+
if (Reflect.construct.sham) return false;
|
|
702
|
+
if (typeof Proxy === "function") return true;
|
|
703
|
+
|
|
704
|
+
try {
|
|
705
|
+
return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
706
|
+
} catch (e) {
|
|
707
|
+
return false;
|
|
708
|
+
}
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
derived = _getPrototypeOf(derived);
|
|
712
|
+
return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
|
|
713
|
+
}
|
|
674
714
|
/**
|
|
675
715
|
* @title Spatial Processing Core API
|
|
676
716
|
* @version 1.5.1.0
|
|
@@ -678,17 +718,15 @@ let QueryTokenAccessService = /*#__PURE__*/function (_Service) {
|
|
|
678
718
|
*/
|
|
679
719
|
|
|
680
720
|
let SpatialReferencesService = /*#__PURE__*/function (_Service) {
|
|
681
|
-
_inherits(SpatialReferencesService, _Service);
|
|
682
|
-
|
|
683
|
-
var _super = /*#__PURE__*/_createSuper(SpatialReferencesService);
|
|
684
|
-
|
|
685
721
|
function SpatialReferencesService() {
|
|
686
722
|
_classCallCheck(this, SpatialReferencesService);
|
|
687
723
|
|
|
688
|
-
return
|
|
724
|
+
return _callSuper$2(this, SpatialReferencesService, arguments);
|
|
689
725
|
}
|
|
690
726
|
|
|
691
|
-
|
|
727
|
+
_inherits(SpatialReferencesService, _Service);
|
|
728
|
+
|
|
729
|
+
return _createClass(SpatialReferencesService, [{
|
|
692
730
|
key: "getAvailiableCs",
|
|
693
731
|
value:
|
|
694
732
|
/**
|
|
@@ -740,10 +778,24 @@ let SpatialReferencesService = /*#__PURE__*/function (_Service) {
|
|
|
740
778
|
return this.http.get("/srs/" + name + "/wkt").text();
|
|
741
779
|
}
|
|
742
780
|
}]);
|
|
743
|
-
|
|
744
|
-
return SpatialReferencesService;
|
|
745
781
|
}(Service);
|
|
746
782
|
|
|
783
|
+
function _callSuper$3(_this, derived, args) {
|
|
784
|
+
function isNativeReflectConstruct() {
|
|
785
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
786
|
+
if (Reflect.construct.sham) return false;
|
|
787
|
+
if (typeof Proxy === "function") return true;
|
|
788
|
+
|
|
789
|
+
try {
|
|
790
|
+
return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
791
|
+
} catch (e) {
|
|
792
|
+
return false;
|
|
793
|
+
}
|
|
794
|
+
}
|
|
795
|
+
|
|
796
|
+
derived = _getPrototypeOf(derived);
|
|
797
|
+
return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
|
|
798
|
+
}
|
|
747
799
|
/**
|
|
748
800
|
* @title Spatial Processing Core API
|
|
749
801
|
* @version 1.5.1.0
|
|
@@ -751,17 +803,15 @@ let SpatialReferencesService = /*#__PURE__*/function (_Service) {
|
|
|
751
803
|
*/
|
|
752
804
|
|
|
753
805
|
let CatalogService = /*#__PURE__*/function (_Service) {
|
|
754
|
-
_inherits(CatalogService, _Service);
|
|
755
|
-
|
|
756
|
-
var _super = /*#__PURE__*/_createSuper(CatalogService);
|
|
757
|
-
|
|
758
806
|
function CatalogService() {
|
|
759
807
|
_classCallCheck(this, CatalogService);
|
|
760
808
|
|
|
761
|
-
return
|
|
809
|
+
return _callSuper$3(this, CatalogService, arguments);
|
|
762
810
|
}
|
|
763
811
|
|
|
764
|
-
|
|
812
|
+
_inherits(CatalogService, _Service);
|
|
813
|
+
|
|
814
|
+
return _createClass(CatalogService, [{
|
|
765
815
|
key: "getParents",
|
|
766
816
|
value:
|
|
767
817
|
/**
|
|
@@ -1051,8 +1101,6 @@ let CatalogService = /*#__PURE__*/function (_Service) {
|
|
|
1051
1101
|
return this.http.post("/resources/copy", data).json();
|
|
1052
1102
|
}
|
|
1053
1103
|
}]);
|
|
1054
|
-
|
|
1055
|
-
return CatalogService;
|
|
1056
1104
|
}(Service);
|
|
1057
1105
|
|
|
1058
1106
|
var ApiEvent;
|
|
@@ -1063,6 +1111,67 @@ var ApiEvent;
|
|
|
1063
1111
|
ApiEvent["SessionClosed"] = "SessionClosed";
|
|
1064
1112
|
})(ApiEvent || (ApiEvent = {}));
|
|
1065
1113
|
|
|
1114
|
+
let EventEmitter = /*#__PURE__*/function () {
|
|
1115
|
+
function EventEmitter() {
|
|
1116
|
+
_classCallCheck(this, EventEmitter);
|
|
1117
|
+
|
|
1118
|
+
this.handlers = {
|
|
1119
|
+
"*": []
|
|
1120
|
+
};
|
|
1121
|
+
}
|
|
1122
|
+
|
|
1123
|
+
return _createClass(EventEmitter, [{
|
|
1124
|
+
key: "on",
|
|
1125
|
+
value: function on(type, handler) {
|
|
1126
|
+
if (!this.handlers[type]) {
|
|
1127
|
+
this.handlers[type] = [];
|
|
1128
|
+
}
|
|
1129
|
+
|
|
1130
|
+
this.handlers[type].push(handler);
|
|
1131
|
+
}
|
|
1132
|
+
}, {
|
|
1133
|
+
key: "off",
|
|
1134
|
+
value: function off(type, handler) {
|
|
1135
|
+
if (!this.handlers[type]) return;
|
|
1136
|
+
const index = this.handlers[type].indexOf(handler);
|
|
1137
|
+
if (index === -1) return;
|
|
1138
|
+
this.handlers[type].splice(index, 1);
|
|
1139
|
+
}
|
|
1140
|
+
}, {
|
|
1141
|
+
key: "emit",
|
|
1142
|
+
value: function emit(type, event) {
|
|
1143
|
+
this.handlers[type] && this.handlers[type].map(handler => handler(event));
|
|
1144
|
+
this.handlers["*"].map(handler => handler(type, event));
|
|
1145
|
+
}
|
|
1146
|
+
}, {
|
|
1147
|
+
key: "once",
|
|
1148
|
+
value: function once(type, handler) {
|
|
1149
|
+
const onceHandler = event => {
|
|
1150
|
+
this.off(type, onceHandler);
|
|
1151
|
+
handler(event);
|
|
1152
|
+
};
|
|
1153
|
+
|
|
1154
|
+
this.on(type, onceHandler);
|
|
1155
|
+
}
|
|
1156
|
+
}]);
|
|
1157
|
+
}();
|
|
1158
|
+
|
|
1159
|
+
function _callSuper$4(_this, derived, args) {
|
|
1160
|
+
function isNativeReflectConstruct() {
|
|
1161
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
1162
|
+
if (Reflect.construct.sham) return false;
|
|
1163
|
+
if (typeof Proxy === "function") return true;
|
|
1164
|
+
|
|
1165
|
+
try {
|
|
1166
|
+
return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
1167
|
+
} catch (e) {
|
|
1168
|
+
return false;
|
|
1169
|
+
}
|
|
1170
|
+
}
|
|
1171
|
+
|
|
1172
|
+
derived = _getPrototypeOf(derived);
|
|
1173
|
+
return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
|
|
1174
|
+
}
|
|
1066
1175
|
/**
|
|
1067
1176
|
* @title Spatial Processing Core API
|
|
1068
1177
|
* @version 1.5.1.0
|
|
@@ -1070,17 +1179,15 @@ var ApiEvent;
|
|
|
1070
1179
|
*/
|
|
1071
1180
|
|
|
1072
1181
|
let AccountService = /*#__PURE__*/function (_Service) {
|
|
1073
|
-
_inherits(AccountService, _Service);
|
|
1074
|
-
|
|
1075
|
-
var _super = /*#__PURE__*/_createSuper(AccountService);
|
|
1076
|
-
|
|
1077
1182
|
function AccountService() {
|
|
1078
1183
|
_classCallCheck(this, AccountService);
|
|
1079
1184
|
|
|
1080
|
-
return
|
|
1185
|
+
return _callSuper$4(this, AccountService, arguments);
|
|
1081
1186
|
}
|
|
1082
1187
|
|
|
1083
|
-
|
|
1188
|
+
_inherits(AccountService, _Service);
|
|
1189
|
+
|
|
1190
|
+
return _createClass(AccountService, [{
|
|
1084
1191
|
key: "getUsers",
|
|
1085
1192
|
value:
|
|
1086
1193
|
/**
|
|
@@ -1471,6 +1578,23 @@ let AccountService = /*#__PURE__*/function (_Service) {
|
|
|
1471
1578
|
value: function createNamespace(query) {
|
|
1472
1579
|
return this.http.post("/account/namespace", null, query).json();
|
|
1473
1580
|
}
|
|
1581
|
+
/**
|
|
1582
|
+
* No description
|
|
1583
|
+
*
|
|
1584
|
+
* @tags Account
|
|
1585
|
+
* @name RemoveNamespace
|
|
1586
|
+
* @operationId AccountController_RemoveNamespaceAsync
|
|
1587
|
+
* @summary Remove namespace.
|
|
1588
|
+
* @request DELETE:/account/{namespace}
|
|
1589
|
+
* @secure
|
|
1590
|
+
* @response `200` OK
|
|
1591
|
+
*/
|
|
1592
|
+
|
|
1593
|
+
}, {
|
|
1594
|
+
key: "removeNamespace",
|
|
1595
|
+
value: function removeNamespace(namespace) {
|
|
1596
|
+
return this.http.delete("/account/" + namespace, null).then(() => {});
|
|
1597
|
+
}
|
|
1474
1598
|
/**
|
|
1475
1599
|
* No description
|
|
1476
1600
|
*
|
|
@@ -1778,8 +1902,6 @@ let AccountService = /*#__PURE__*/function (_Service) {
|
|
|
1778
1902
|
return this.http.delete("/account/latest_projects", null).then(() => {});
|
|
1779
1903
|
}
|
|
1780
1904
|
}]);
|
|
1781
|
-
|
|
1782
|
-
return AccountService;
|
|
1783
1905
|
}(Service);
|
|
1784
1906
|
|
|
1785
1907
|
const getUserInfo = () => JSON.parse(localStorage.getItem(API_USER_INFO_KEY) || 'null') || void 0;
|
|
@@ -1792,18 +1914,32 @@ const updateUserInfo = newUserInfo => {
|
|
|
1792
1914
|
}
|
|
1793
1915
|
};
|
|
1794
1916
|
|
|
1795
|
-
|
|
1796
|
-
|
|
1917
|
+
function _callSuper$5(_this, derived, args) {
|
|
1918
|
+
function isNativeReflectConstruct() {
|
|
1919
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
1920
|
+
if (Reflect.construct.sham) return false;
|
|
1921
|
+
if (typeof Proxy === "function") return true;
|
|
1797
1922
|
|
|
1798
|
-
|
|
1923
|
+
try {
|
|
1924
|
+
return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
1925
|
+
} catch (e) {
|
|
1926
|
+
return false;
|
|
1927
|
+
}
|
|
1928
|
+
}
|
|
1799
1929
|
|
|
1930
|
+
derived = _getPrototypeOf(derived);
|
|
1931
|
+
return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
|
|
1932
|
+
}
|
|
1933
|
+
let Account = /*#__PURE__*/function (_AccountService) {
|
|
1800
1934
|
function Account() {
|
|
1801
1935
|
_classCallCheck(this, Account);
|
|
1802
1936
|
|
|
1803
|
-
return
|
|
1937
|
+
return _callSuper$5(this, Account, arguments);
|
|
1804
1938
|
}
|
|
1805
1939
|
|
|
1806
|
-
|
|
1940
|
+
_inherits(Account, _AccountService);
|
|
1941
|
+
|
|
1942
|
+
return _createClass(Account, [{
|
|
1807
1943
|
key: "login",
|
|
1808
1944
|
value: async function login(params, authParams, useJwt) {
|
|
1809
1945
|
if (authParams === void 0) {
|
|
@@ -1889,10 +2025,24 @@ let Account = /*#__PURE__*/function (_AccountService) {
|
|
|
1889
2025
|
return userInfo;
|
|
1890
2026
|
}
|
|
1891
2027
|
}]);
|
|
1892
|
-
|
|
1893
|
-
return Account;
|
|
1894
2028
|
}(AccountService);
|
|
1895
2029
|
|
|
2030
|
+
function _callSuper$6(_this, derived, args) {
|
|
2031
|
+
function isNativeReflectConstruct() {
|
|
2032
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
2033
|
+
if (Reflect.construct.sham) return false;
|
|
2034
|
+
if (typeof Proxy === "function") return true;
|
|
2035
|
+
|
|
2036
|
+
try {
|
|
2037
|
+
return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
2038
|
+
} catch (e) {
|
|
2039
|
+
return false;
|
|
2040
|
+
}
|
|
2041
|
+
}
|
|
2042
|
+
|
|
2043
|
+
derived = _getPrototypeOf(derived);
|
|
2044
|
+
return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
|
|
2045
|
+
}
|
|
1896
2046
|
/**
|
|
1897
2047
|
* @title Spatial Processing Core API
|
|
1898
2048
|
* @version 1.5.1.0
|
|
@@ -1900,17 +2050,15 @@ let Account = /*#__PURE__*/function (_AccountService) {
|
|
|
1900
2050
|
*/
|
|
1901
2051
|
|
|
1902
2052
|
let AccountPreviewService = /*#__PURE__*/function (_Service) {
|
|
1903
|
-
_inherits(AccountPreviewService, _Service);
|
|
1904
|
-
|
|
1905
|
-
var _super = /*#__PURE__*/_createSuper(AccountPreviewService);
|
|
1906
|
-
|
|
1907
2053
|
function AccountPreviewService() {
|
|
1908
2054
|
_classCallCheck(this, AccountPreviewService);
|
|
1909
2055
|
|
|
1910
|
-
return
|
|
2056
|
+
return _callSuper$6(this, AccountPreviewService, arguments);
|
|
1911
2057
|
}
|
|
1912
2058
|
|
|
1913
|
-
|
|
2059
|
+
_inherits(AccountPreviewService, _Service);
|
|
2060
|
+
|
|
2061
|
+
return _createClass(AccountPreviewService, [{
|
|
1914
2062
|
key: "getPreview",
|
|
1915
2063
|
value:
|
|
1916
2064
|
/**
|
|
@@ -2013,24 +2161,52 @@ let AccountPreviewService = /*#__PURE__*/function (_Service) {
|
|
|
2013
2161
|
return this.http.delete("/account/user/preview/" + username, null).then(() => {});
|
|
2014
2162
|
}
|
|
2015
2163
|
}]);
|
|
2016
|
-
|
|
2017
|
-
return AccountPreviewService;
|
|
2018
2164
|
}(Service);
|
|
2019
2165
|
|
|
2020
|
-
|
|
2021
|
-
|
|
2166
|
+
function _callSuper$7(_this, derived, args) {
|
|
2167
|
+
function isNativeReflectConstruct() {
|
|
2168
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
2169
|
+
if (Reflect.construct.sham) return false;
|
|
2170
|
+
if (typeof Proxy === "function") return true;
|
|
2022
2171
|
|
|
2023
|
-
|
|
2172
|
+
try {
|
|
2173
|
+
return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
2174
|
+
} catch (e) {
|
|
2175
|
+
return false;
|
|
2176
|
+
}
|
|
2177
|
+
}
|
|
2024
2178
|
|
|
2179
|
+
derived = _getPrototypeOf(derived);
|
|
2180
|
+
return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
|
|
2181
|
+
}
|
|
2182
|
+
let AccountPreview = /*#__PURE__*/function (_AccountPreviewServic) {
|
|
2025
2183
|
function AccountPreview() {
|
|
2026
2184
|
_classCallCheck(this, AccountPreview);
|
|
2027
2185
|
|
|
2028
|
-
return
|
|
2186
|
+
return _callSuper$7(this, AccountPreview, arguments);
|
|
2029
2187
|
}
|
|
2030
2188
|
|
|
2189
|
+
_inherits(AccountPreview, _AccountPreviewServic);
|
|
2190
|
+
|
|
2031
2191
|
return _createClass(AccountPreview);
|
|
2032
2192
|
}(AccountPreviewService);
|
|
2033
2193
|
|
|
2194
|
+
function _callSuper$8(_this, derived, args) {
|
|
2195
|
+
function isNativeReflectConstruct() {
|
|
2196
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
2197
|
+
if (Reflect.construct.sham) return false;
|
|
2198
|
+
if (typeof Proxy === "function") return true;
|
|
2199
|
+
|
|
2200
|
+
try {
|
|
2201
|
+
return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
2202
|
+
} catch (e) {
|
|
2203
|
+
return false;
|
|
2204
|
+
}
|
|
2205
|
+
}
|
|
2206
|
+
|
|
2207
|
+
derived = _getPrototypeOf(derived);
|
|
2208
|
+
return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
|
|
2209
|
+
}
|
|
2034
2210
|
/**
|
|
2035
2211
|
* @title Spatial Processing Core API
|
|
2036
2212
|
* @version 1.5.1.0
|
|
@@ -2038,17 +2214,15 @@ let AccountPreview = /*#__PURE__*/function (_AccountPreviewServic) {
|
|
|
2038
2214
|
*/
|
|
2039
2215
|
|
|
2040
2216
|
let BulkOperationsService = /*#__PURE__*/function (_Service) {
|
|
2041
|
-
_inherits(BulkOperationsService, _Service);
|
|
2042
|
-
|
|
2043
|
-
var _super = /*#__PURE__*/_createSuper(BulkOperationsService);
|
|
2044
|
-
|
|
2045
2217
|
function BulkOperationsService() {
|
|
2046
2218
|
_classCallCheck(this, BulkOperationsService);
|
|
2047
2219
|
|
|
2048
|
-
return
|
|
2220
|
+
return _callSuper$8(this, BulkOperationsService, arguments);
|
|
2049
2221
|
}
|
|
2050
2222
|
|
|
2051
|
-
|
|
2223
|
+
_inherits(BulkOperationsService, _Service);
|
|
2224
|
+
|
|
2225
|
+
return _createClass(BulkOperationsService, [{
|
|
2052
2226
|
key: "batchResourcesPermissionsSet",
|
|
2053
2227
|
value:
|
|
2054
2228
|
/**
|
|
@@ -2066,21 +2240,33 @@ let BulkOperationsService = /*#__PURE__*/function (_Service) {
|
|
|
2066
2240
|
return this.http.put("/bulk/resources/permissions", data).json();
|
|
2067
2241
|
}
|
|
2068
2242
|
}]);
|
|
2069
|
-
|
|
2070
|
-
return BulkOperationsService;
|
|
2071
2243
|
}(Service);
|
|
2072
2244
|
|
|
2073
|
-
|
|
2074
|
-
|
|
2245
|
+
function _callSuper$9(_this, derived, args) {
|
|
2246
|
+
function isNativeReflectConstruct() {
|
|
2247
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
2248
|
+
if (Reflect.construct.sham) return false;
|
|
2249
|
+
if (typeof Proxy === "function") return true;
|
|
2075
2250
|
|
|
2076
|
-
|
|
2251
|
+
try {
|
|
2252
|
+
return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
2253
|
+
} catch (e) {
|
|
2254
|
+
return false;
|
|
2255
|
+
}
|
|
2256
|
+
}
|
|
2077
2257
|
|
|
2258
|
+
derived = _getPrototypeOf(derived);
|
|
2259
|
+
return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
|
|
2260
|
+
}
|
|
2261
|
+
let BulkOperations = /*#__PURE__*/function (_BulkOperationsServic) {
|
|
2078
2262
|
function BulkOperations() {
|
|
2079
2263
|
_classCallCheck(this, BulkOperations);
|
|
2080
2264
|
|
|
2081
|
-
return
|
|
2265
|
+
return _callSuper$9(this, BulkOperations, arguments);
|
|
2082
2266
|
}
|
|
2083
2267
|
|
|
2268
|
+
_inherits(BulkOperations, _BulkOperationsServic);
|
|
2269
|
+
|
|
2084
2270
|
return _createClass(BulkOperations);
|
|
2085
2271
|
}(BulkOperationsService);
|
|
2086
2272
|
|
|
@@ -2090,6 +2276,23 @@ const _excluded$1 = ["cameraId"],
|
|
|
2090
2276
|
_excluded4 = ["cameraId"],
|
|
2091
2277
|
_excluded5 = ["cameraId"],
|
|
2092
2278
|
_excluded6 = ["cameraId"];
|
|
2279
|
+
|
|
2280
|
+
function _callSuper$a(_this, derived, args) {
|
|
2281
|
+
function isNativeReflectConstruct() {
|
|
2282
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
2283
|
+
if (Reflect.construct.sham) return false;
|
|
2284
|
+
if (typeof Proxy === "function") return true;
|
|
2285
|
+
|
|
2286
|
+
try {
|
|
2287
|
+
return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
2288
|
+
} catch (e) {
|
|
2289
|
+
return false;
|
|
2290
|
+
}
|
|
2291
|
+
}
|
|
2292
|
+
|
|
2293
|
+
derived = _getPrototypeOf(derived);
|
|
2294
|
+
return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
|
|
2295
|
+
}
|
|
2093
2296
|
/**
|
|
2094
2297
|
* @title Spatial Processing Core API
|
|
2095
2298
|
* @version 1.5.1.0
|
|
@@ -2097,17 +2300,15 @@ const _excluded$1 = ["cameraId"],
|
|
|
2097
2300
|
*/
|
|
2098
2301
|
|
|
2099
2302
|
let CamerasService = /*#__PURE__*/function (_Service) {
|
|
2100
|
-
_inherits(CamerasService, _Service);
|
|
2101
|
-
|
|
2102
|
-
var _super = /*#__PURE__*/_createSuper(CamerasService);
|
|
2103
|
-
|
|
2104
2303
|
function CamerasService() {
|
|
2105
2304
|
_classCallCheck(this, CamerasService);
|
|
2106
2305
|
|
|
2107
|
-
return
|
|
2306
|
+
return _callSuper$a(this, CamerasService, arguments);
|
|
2108
2307
|
}
|
|
2109
2308
|
|
|
2110
|
-
|
|
2309
|
+
_inherits(CamerasService, _Service);
|
|
2310
|
+
|
|
2311
|
+
return _createClass(CamerasService, [{
|
|
2111
2312
|
key: "getCameras",
|
|
2112
2313
|
value:
|
|
2113
2314
|
/**
|
|
@@ -2274,24 +2475,52 @@ let CamerasService = /*#__PURE__*/function (_Service) {
|
|
|
2274
2475
|
return this.http.get("/cameras/" + cameraId + "/getLivePreviewsStream", query).json();
|
|
2275
2476
|
}
|
|
2276
2477
|
}]);
|
|
2277
|
-
|
|
2278
|
-
return CamerasService;
|
|
2279
2478
|
}(Service);
|
|
2280
2479
|
|
|
2281
|
-
|
|
2282
|
-
|
|
2480
|
+
function _callSuper$b(_this, derived, args) {
|
|
2481
|
+
function isNativeReflectConstruct() {
|
|
2482
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
2483
|
+
if (Reflect.construct.sham) return false;
|
|
2484
|
+
if (typeof Proxy === "function") return true;
|
|
2283
2485
|
|
|
2284
|
-
|
|
2486
|
+
try {
|
|
2487
|
+
return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
2488
|
+
} catch (e) {
|
|
2489
|
+
return false;
|
|
2490
|
+
}
|
|
2491
|
+
}
|
|
2285
2492
|
|
|
2493
|
+
derived = _getPrototypeOf(derived);
|
|
2494
|
+
return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
|
|
2495
|
+
}
|
|
2496
|
+
let Cameras = /*#__PURE__*/function (_CamerasService) {
|
|
2286
2497
|
function Cameras() {
|
|
2287
2498
|
_classCallCheck(this, Cameras);
|
|
2288
2499
|
|
|
2289
|
-
return
|
|
2500
|
+
return _callSuper$b(this, Cameras, arguments);
|
|
2290
2501
|
}
|
|
2291
2502
|
|
|
2503
|
+
_inherits(Cameras, _CamerasService);
|
|
2504
|
+
|
|
2292
2505
|
return _createClass(Cameras);
|
|
2293
2506
|
}(CamerasService);
|
|
2294
2507
|
|
|
2508
|
+
function _callSuper$c(_this, derived, args) {
|
|
2509
|
+
function isNativeReflectConstruct() {
|
|
2510
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
2511
|
+
if (Reflect.construct.sham) return false;
|
|
2512
|
+
if (typeof Proxy === "function") return true;
|
|
2513
|
+
|
|
2514
|
+
try {
|
|
2515
|
+
return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
2516
|
+
} catch (e) {
|
|
2517
|
+
return false;
|
|
2518
|
+
}
|
|
2519
|
+
}
|
|
2520
|
+
|
|
2521
|
+
derived = _getPrototypeOf(derived);
|
|
2522
|
+
return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
|
|
2523
|
+
}
|
|
2295
2524
|
/**
|
|
2296
2525
|
* @title Spatial Processing Core API
|
|
2297
2526
|
* @version 1.5.1.0
|
|
@@ -2299,17 +2528,15 @@ let Cameras = /*#__PURE__*/function (_CamerasService) {
|
|
|
2299
2528
|
*/
|
|
2300
2529
|
|
|
2301
2530
|
let ClientSettingsService = /*#__PURE__*/function (_Service) {
|
|
2302
|
-
_inherits(ClientSettingsService, _Service);
|
|
2303
|
-
|
|
2304
|
-
var _super = /*#__PURE__*/_createSuper(ClientSettingsService);
|
|
2305
|
-
|
|
2306
2531
|
function ClientSettingsService() {
|
|
2307
2532
|
_classCallCheck(this, ClientSettingsService);
|
|
2308
2533
|
|
|
2309
|
-
return
|
|
2534
|
+
return _callSuper$c(this, ClientSettingsService, arguments);
|
|
2310
2535
|
}
|
|
2311
2536
|
|
|
2312
|
-
|
|
2537
|
+
_inherits(ClientSettingsService, _Service);
|
|
2538
|
+
|
|
2539
|
+
return _createClass(ClientSettingsService, [{
|
|
2313
2540
|
key: "getConfigurationsList",
|
|
2314
2541
|
value:
|
|
2315
2542
|
/**
|
|
@@ -2378,31 +2605,43 @@ let ClientSettingsService = /*#__PURE__*/function (_Service) {
|
|
|
2378
2605
|
return this.http.delete("/settings", null, query).then(() => {});
|
|
2379
2606
|
}
|
|
2380
2607
|
}]);
|
|
2381
|
-
|
|
2382
|
-
return ClientSettingsService;
|
|
2383
2608
|
}(Service);
|
|
2384
2609
|
|
|
2385
|
-
|
|
2386
|
-
|
|
2610
|
+
function _callSuper$d(_this, derived, args) {
|
|
2611
|
+
function isNativeReflectConstruct() {
|
|
2612
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
2613
|
+
if (Reflect.construct.sham) return false;
|
|
2614
|
+
if (typeof Proxy === "function") return true;
|
|
2387
2615
|
|
|
2388
|
-
|
|
2616
|
+
try {
|
|
2617
|
+
return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
2618
|
+
} catch (e) {
|
|
2619
|
+
return false;
|
|
2620
|
+
}
|
|
2621
|
+
}
|
|
2389
2622
|
|
|
2623
|
+
derived = _getPrototypeOf(derived);
|
|
2624
|
+
return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
|
|
2625
|
+
}
|
|
2626
|
+
let ClientSettings = /*#__PURE__*/function (_ClientSettingsServic) {
|
|
2390
2627
|
function ClientSettings() {
|
|
2391
|
-
var
|
|
2628
|
+
var _this2;
|
|
2392
2629
|
|
|
2393
2630
|
_classCallCheck(this, ClientSettings);
|
|
2394
2631
|
|
|
2395
|
-
|
|
2396
|
-
|
|
2632
|
+
_this2 = _callSuper$d(this, ClientSettings, arguments);
|
|
2633
|
+
_this2.settings = {
|
|
2397
2634
|
modules: [],
|
|
2398
2635
|
connection: {
|
|
2399
2636
|
url: ''
|
|
2400
2637
|
}
|
|
2401
2638
|
};
|
|
2402
|
-
return
|
|
2639
|
+
return _this2;
|
|
2403
2640
|
}
|
|
2404
2641
|
|
|
2405
|
-
|
|
2642
|
+
_inherits(ClientSettings, _ClientSettingsServic);
|
|
2643
|
+
|
|
2644
|
+
return _createClass(ClientSettings, [{
|
|
2406
2645
|
key: "fetchClientSettings",
|
|
2407
2646
|
value: async function fetchClientSettings(query) {
|
|
2408
2647
|
const config = JSON.parse(await this.getConfiguration(query));
|
|
@@ -2415,10 +2654,24 @@ let ClientSettings = /*#__PURE__*/function (_ClientSettingsServic) {
|
|
|
2415
2654
|
Object.assign(this.settings, update);
|
|
2416
2655
|
}
|
|
2417
2656
|
}]);
|
|
2418
|
-
|
|
2419
|
-
return ClientSettings;
|
|
2420
2657
|
}(ClientSettingsService);
|
|
2421
2658
|
|
|
2659
|
+
function _callSuper$e(_this, derived, args) {
|
|
2660
|
+
function isNativeReflectConstruct() {
|
|
2661
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
2662
|
+
if (Reflect.construct.sham) return false;
|
|
2663
|
+
if (typeof Proxy === "function") return true;
|
|
2664
|
+
|
|
2665
|
+
try {
|
|
2666
|
+
return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
2667
|
+
} catch (e) {
|
|
2668
|
+
return false;
|
|
2669
|
+
}
|
|
2670
|
+
}
|
|
2671
|
+
|
|
2672
|
+
derived = _getPrototypeOf(derived);
|
|
2673
|
+
return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
|
|
2674
|
+
}
|
|
2422
2675
|
/**
|
|
2423
2676
|
* @title Spatial Processing Core API
|
|
2424
2677
|
* @version 1.5.1.0
|
|
@@ -2426,33 +2679,17 @@ let ClientSettings = /*#__PURE__*/function (_ClientSettingsServic) {
|
|
|
2426
2679
|
*/
|
|
2427
2680
|
|
|
2428
2681
|
let EqlService = /*#__PURE__*/function (_Service) {
|
|
2429
|
-
_inherits(EqlService, _Service);
|
|
2430
|
-
|
|
2431
|
-
var _super = /*#__PURE__*/_createSuper(EqlService);
|
|
2432
|
-
|
|
2433
2682
|
function EqlService() {
|
|
2434
2683
|
_classCallCheck(this, EqlService);
|
|
2435
2684
|
|
|
2436
|
-
return
|
|
2685
|
+
return _callSuper$e(this, EqlService, arguments);
|
|
2437
2686
|
}
|
|
2438
2687
|
|
|
2439
|
-
|
|
2440
|
-
|
|
2688
|
+
_inherits(EqlService, _Service);
|
|
2689
|
+
|
|
2690
|
+
return _createClass(EqlService, [{
|
|
2691
|
+
key: "getPagedQueryResult",
|
|
2441
2692
|
value:
|
|
2442
|
-
/**
|
|
2443
|
-
* No description
|
|
2444
|
-
*
|
|
2445
|
-
* @tags Eql
|
|
2446
|
-
* @name GetFunctionsList
|
|
2447
|
-
* @operationId EqlController_GetFunctionsList
|
|
2448
|
-
* @summary Returns list of available functions.
|
|
2449
|
-
* @request GET:/eql/functions
|
|
2450
|
-
* @secure
|
|
2451
|
-
* @response `200` OK
|
|
2452
|
-
*/
|
|
2453
|
-
function getFunctionsList() {
|
|
2454
|
-
return this.http.get("/eql/functions").json();
|
|
2455
|
-
}
|
|
2456
2693
|
/**
|
|
2457
2694
|
* No description
|
|
2458
2695
|
*
|
|
@@ -2464,10 +2701,7 @@ let EqlService = /*#__PURE__*/function (_Service) {
|
|
|
2464
2701
|
* @secure
|
|
2465
2702
|
* @response `200` OK
|
|
2466
2703
|
*/
|
|
2467
|
-
|
|
2468
|
-
}, {
|
|
2469
|
-
key: "getPagedQueryResult",
|
|
2470
|
-
value: function getPagedQueryResult(data) {
|
|
2704
|
+
function getPagedQueryResult(data) {
|
|
2471
2705
|
return this.http.post("/eql/query", data).json();
|
|
2472
2706
|
}
|
|
2473
2707
|
/**
|
|
@@ -2590,24 +2824,52 @@ let EqlService = /*#__PURE__*/function (_Service) {
|
|
|
2590
2824
|
return this.http.get("/eql/getAvailiableParams", query).json();
|
|
2591
2825
|
}
|
|
2592
2826
|
}]);
|
|
2593
|
-
|
|
2594
|
-
return EqlService;
|
|
2595
2827
|
}(Service);
|
|
2596
2828
|
|
|
2597
|
-
|
|
2598
|
-
|
|
2829
|
+
function _callSuper$f(_this, derived, args) {
|
|
2830
|
+
function isNativeReflectConstruct() {
|
|
2831
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
2832
|
+
if (Reflect.construct.sham) return false;
|
|
2833
|
+
if (typeof Proxy === "function") return true;
|
|
2599
2834
|
|
|
2600
|
-
|
|
2835
|
+
try {
|
|
2836
|
+
return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
2837
|
+
} catch (e) {
|
|
2838
|
+
return false;
|
|
2839
|
+
}
|
|
2840
|
+
}
|
|
2601
2841
|
|
|
2842
|
+
derived = _getPrototypeOf(derived);
|
|
2843
|
+
return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
|
|
2844
|
+
}
|
|
2845
|
+
let Eql = /*#__PURE__*/function (_EqlService) {
|
|
2602
2846
|
function Eql() {
|
|
2603
2847
|
_classCallCheck(this, Eql);
|
|
2604
2848
|
|
|
2605
|
-
return
|
|
2849
|
+
return _callSuper$f(this, Eql, arguments);
|
|
2606
2850
|
}
|
|
2607
2851
|
|
|
2852
|
+
_inherits(Eql, _EqlService);
|
|
2853
|
+
|
|
2608
2854
|
return _createClass(Eql);
|
|
2609
2855
|
}(EqlService);
|
|
2610
2856
|
|
|
2857
|
+
function _callSuper$g(_this, derived, args) {
|
|
2858
|
+
function isNativeReflectConstruct() {
|
|
2859
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
2860
|
+
if (Reflect.construct.sham) return false;
|
|
2861
|
+
if (typeof Proxy === "function") return true;
|
|
2862
|
+
|
|
2863
|
+
try {
|
|
2864
|
+
return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
2865
|
+
} catch (e) {
|
|
2866
|
+
return false;
|
|
2867
|
+
}
|
|
2868
|
+
}
|
|
2869
|
+
|
|
2870
|
+
derived = _getPrototypeOf(derived);
|
|
2871
|
+
return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
|
|
2872
|
+
}
|
|
2611
2873
|
/**
|
|
2612
2874
|
* @title Spatial Processing Core API
|
|
2613
2875
|
* @version 1.5.1.0
|
|
@@ -2615,17 +2877,15 @@ let Eql = /*#__PURE__*/function (_EqlService) {
|
|
|
2615
2877
|
*/
|
|
2616
2878
|
|
|
2617
2879
|
let FeedbackService = /*#__PURE__*/function (_Service) {
|
|
2618
|
-
_inherits(FeedbackService, _Service);
|
|
2619
|
-
|
|
2620
|
-
var _super = /*#__PURE__*/_createSuper(FeedbackService);
|
|
2621
|
-
|
|
2622
2880
|
function FeedbackService() {
|
|
2623
2881
|
_classCallCheck(this, FeedbackService);
|
|
2624
2882
|
|
|
2625
|
-
return
|
|
2883
|
+
return _callSuper$g(this, FeedbackService, arguments);
|
|
2626
2884
|
}
|
|
2627
2885
|
|
|
2628
|
-
|
|
2886
|
+
_inherits(FeedbackService, _Service);
|
|
2887
|
+
|
|
2888
|
+
return _createClass(FeedbackService, [{
|
|
2629
2889
|
key: "increaseResourcesLimit",
|
|
2630
2890
|
value:
|
|
2631
2891
|
/**
|
|
@@ -2660,36 +2920,62 @@ let FeedbackService = /*#__PURE__*/function (_Service) {
|
|
|
2660
2920
|
return this.http.post("/feedback", toFormData(data), query).json();
|
|
2661
2921
|
}
|
|
2662
2922
|
}]);
|
|
2663
|
-
|
|
2664
|
-
return FeedbackService;
|
|
2665
2923
|
}(Service);
|
|
2666
2924
|
|
|
2667
|
-
|
|
2668
|
-
|
|
2925
|
+
function _callSuper$h(_this, derived, args) {
|
|
2926
|
+
function isNativeReflectConstruct() {
|
|
2927
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
2928
|
+
if (Reflect.construct.sham) return false;
|
|
2929
|
+
if (typeof Proxy === "function") return true;
|
|
2669
2930
|
|
|
2670
|
-
|
|
2931
|
+
try {
|
|
2932
|
+
return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
2933
|
+
} catch (e) {
|
|
2934
|
+
return false;
|
|
2935
|
+
}
|
|
2936
|
+
}
|
|
2671
2937
|
|
|
2938
|
+
derived = _getPrototypeOf(derived);
|
|
2939
|
+
return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
|
|
2940
|
+
}
|
|
2941
|
+
let Feedback = /*#__PURE__*/function (_FeedbackService) {
|
|
2672
2942
|
function Feedback() {
|
|
2673
2943
|
_classCallCheck(this, Feedback);
|
|
2674
2944
|
|
|
2675
|
-
return
|
|
2945
|
+
return _callSuper$h(this, Feedback, arguments);
|
|
2676
2946
|
}
|
|
2677
2947
|
|
|
2948
|
+
_inherits(Feedback, _FeedbackService);
|
|
2949
|
+
|
|
2678
2950
|
return _createClass(Feedback);
|
|
2679
2951
|
}(FeedbackService);
|
|
2680
2952
|
|
|
2681
|
-
|
|
2682
|
-
|
|
2953
|
+
function _callSuper$i(_this, derived, args) {
|
|
2954
|
+
function isNativeReflectConstruct() {
|
|
2955
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
2956
|
+
if (Reflect.construct.sham) return false;
|
|
2957
|
+
if (typeof Proxy === "function") return true;
|
|
2683
2958
|
|
|
2684
|
-
|
|
2959
|
+
try {
|
|
2960
|
+
return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
2961
|
+
} catch (e) {
|
|
2962
|
+
return false;
|
|
2963
|
+
}
|
|
2964
|
+
}
|
|
2685
2965
|
|
|
2966
|
+
derived = _getPrototypeOf(derived);
|
|
2967
|
+
return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
|
|
2968
|
+
}
|
|
2969
|
+
let FileUpload = /*#__PURE__*/function (_CatalogService) {
|
|
2686
2970
|
function FileUpload() {
|
|
2687
2971
|
_classCallCheck(this, FileUpload);
|
|
2688
2972
|
|
|
2689
|
-
return
|
|
2973
|
+
return _callSuper$i(this, FileUpload, arguments);
|
|
2690
2974
|
}
|
|
2691
2975
|
|
|
2692
|
-
|
|
2976
|
+
_inherits(FileUpload, _CatalogService);
|
|
2977
|
+
|
|
2978
|
+
return _createClass(FileUpload, [{
|
|
2693
2979
|
key: "upload",
|
|
2694
2980
|
value: function upload(file, rewrite) {
|
|
2695
2981
|
return this.createFile1({
|
|
@@ -2703,10 +2989,24 @@ let FileUpload = /*#__PURE__*/function (_CatalogService) {
|
|
|
2703
2989
|
return this.createFile(params);
|
|
2704
2990
|
}
|
|
2705
2991
|
}]);
|
|
2706
|
-
|
|
2707
|
-
return FileUpload;
|
|
2708
2992
|
}(CatalogService);
|
|
2709
2993
|
|
|
2994
|
+
function _callSuper$j(_this, derived, args) {
|
|
2995
|
+
function isNativeReflectConstruct() {
|
|
2996
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
2997
|
+
if (Reflect.construct.sham) return false;
|
|
2998
|
+
if (typeof Proxy === "function") return true;
|
|
2999
|
+
|
|
3000
|
+
try {
|
|
3001
|
+
return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
3002
|
+
} catch (e) {
|
|
3003
|
+
return false;
|
|
3004
|
+
}
|
|
3005
|
+
}
|
|
3006
|
+
|
|
3007
|
+
derived = _getPrototypeOf(derived);
|
|
3008
|
+
return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
|
|
3009
|
+
}
|
|
2710
3010
|
/**
|
|
2711
3011
|
* @title Spatial Processing Core API
|
|
2712
3012
|
* @version 1.5.1.0
|
|
@@ -2714,17 +3014,15 @@ let FileUpload = /*#__PURE__*/function (_CatalogService) {
|
|
|
2714
3014
|
*/
|
|
2715
3015
|
|
|
2716
3016
|
let FiltersService = /*#__PURE__*/function (_Service) {
|
|
2717
|
-
_inherits(FiltersService, _Service);
|
|
2718
|
-
|
|
2719
|
-
var _super = /*#__PURE__*/_createSuper(FiltersService);
|
|
2720
|
-
|
|
2721
3017
|
function FiltersService() {
|
|
2722
3018
|
_classCallCheck(this, FiltersService);
|
|
2723
3019
|
|
|
2724
|
-
return
|
|
3020
|
+
return _callSuper$j(this, FiltersService, arguments);
|
|
2725
3021
|
}
|
|
2726
3022
|
|
|
2727
|
-
|
|
3023
|
+
_inherits(FiltersService, _Service);
|
|
3024
|
+
|
|
3025
|
+
return _createClass(FiltersService, [{
|
|
2728
3026
|
key: "get",
|
|
2729
3027
|
value:
|
|
2730
3028
|
/**
|
|
@@ -2776,27 +3074,56 @@ let FiltersService = /*#__PURE__*/function (_Service) {
|
|
|
2776
3074
|
return this.http.post("/filters", data).json();
|
|
2777
3075
|
}
|
|
2778
3076
|
}]);
|
|
2779
|
-
|
|
2780
|
-
return FiltersService;
|
|
2781
3077
|
}(Service);
|
|
2782
3078
|
|
|
2783
|
-
|
|
2784
|
-
|
|
3079
|
+
function _callSuper$k(_this, derived, args) {
|
|
3080
|
+
function isNativeReflectConstruct() {
|
|
3081
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
3082
|
+
if (Reflect.construct.sham) return false;
|
|
3083
|
+
if (typeof Proxy === "function") return true;
|
|
2785
3084
|
|
|
2786
|
-
|
|
3085
|
+
try {
|
|
3086
|
+
return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
3087
|
+
} catch (e) {
|
|
3088
|
+
return false;
|
|
3089
|
+
}
|
|
3090
|
+
}
|
|
2787
3091
|
|
|
3092
|
+
derived = _getPrototypeOf(derived);
|
|
3093
|
+
return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
|
|
3094
|
+
}
|
|
3095
|
+
let Filters = /*#__PURE__*/function (_FiltersService) {
|
|
2788
3096
|
function Filters() {
|
|
2789
3097
|
_classCallCheck(this, Filters);
|
|
2790
3098
|
|
|
2791
|
-
return
|
|
3099
|
+
return _callSuper$k(this, Filters, arguments);
|
|
2792
3100
|
}
|
|
2793
3101
|
|
|
3102
|
+
_inherits(Filters, _FiltersService);
|
|
3103
|
+
|
|
2794
3104
|
return _createClass(Filters);
|
|
2795
3105
|
}(FiltersService);
|
|
2796
3106
|
|
|
2797
3107
|
const _excluded$2 = ["providerName"],
|
|
2798
3108
|
_excluded2$1 = ["providerName"],
|
|
2799
3109
|
_excluded3$1 = ["providerName"];
|
|
3110
|
+
|
|
3111
|
+
function _callSuper$l(_this, derived, args) {
|
|
3112
|
+
function isNativeReflectConstruct() {
|
|
3113
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
3114
|
+
if (Reflect.construct.sham) return false;
|
|
3115
|
+
if (typeof Proxy === "function") return true;
|
|
3116
|
+
|
|
3117
|
+
try {
|
|
3118
|
+
return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
3119
|
+
} catch (e) {
|
|
3120
|
+
return false;
|
|
3121
|
+
}
|
|
3122
|
+
}
|
|
3123
|
+
|
|
3124
|
+
derived = _getPrototypeOf(derived);
|
|
3125
|
+
return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
|
|
3126
|
+
}
|
|
2800
3127
|
/**
|
|
2801
3128
|
* @title Spatial Processing Core API
|
|
2802
3129
|
* @version 1.5.1.0
|
|
@@ -2804,17 +3131,15 @@ const _excluded$2 = ["providerName"],
|
|
|
2804
3131
|
*/
|
|
2805
3132
|
|
|
2806
3133
|
let GeocodeService = /*#__PURE__*/function (_Service) {
|
|
2807
|
-
_inherits(GeocodeService, _Service);
|
|
2808
|
-
|
|
2809
|
-
var _super = /*#__PURE__*/_createSuper(GeocodeService);
|
|
2810
|
-
|
|
2811
3134
|
function GeocodeService() {
|
|
2812
3135
|
_classCallCheck(this, GeocodeService);
|
|
2813
3136
|
|
|
2814
|
-
return
|
|
3137
|
+
return _callSuper$l(this, GeocodeService, arguments);
|
|
2815
3138
|
}
|
|
2816
3139
|
|
|
2817
|
-
|
|
3140
|
+
_inherits(GeocodeService, _Service);
|
|
3141
|
+
|
|
3142
|
+
return _createClass(GeocodeService, [{
|
|
2818
3143
|
key: "geocode",
|
|
2819
3144
|
value:
|
|
2820
3145
|
/**
|
|
@@ -2881,23 +3206,35 @@ let GeocodeService = /*#__PURE__*/function (_Service) {
|
|
|
2881
3206
|
return this.http.get("/geocode/" + providerName + "/suggest", query).json();
|
|
2882
3207
|
}
|
|
2883
3208
|
}]);
|
|
2884
|
-
|
|
2885
|
-
return GeocodeService;
|
|
2886
3209
|
}(Service);
|
|
2887
3210
|
|
|
2888
|
-
|
|
2889
|
-
|
|
2890
|
-
|
|
3211
|
+
function _callSuper$m(_this, derived, args) {
|
|
3212
|
+
function isNativeReflectConstruct() {
|
|
3213
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
3214
|
+
if (Reflect.construct.sham) return false;
|
|
3215
|
+
if (typeof Proxy === "function") return true;
|
|
2891
3216
|
|
|
2892
|
-
|
|
3217
|
+
try {
|
|
3218
|
+
return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
3219
|
+
} catch (e) {
|
|
3220
|
+
return false;
|
|
3221
|
+
}
|
|
3222
|
+
}
|
|
2893
3223
|
|
|
3224
|
+
derived = _getPrototypeOf(derived);
|
|
3225
|
+
return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
|
|
3226
|
+
}
|
|
3227
|
+
const GEOCODE_PROVIDER = 'geocode2gis';
|
|
3228
|
+
let Geocode = /*#__PURE__*/function (_GeocodeService) {
|
|
2894
3229
|
function Geocode() {
|
|
2895
3230
|
_classCallCheck(this, Geocode);
|
|
2896
3231
|
|
|
2897
|
-
return
|
|
3232
|
+
return _callSuper$m(this, Geocode, arguments);
|
|
2898
3233
|
}
|
|
2899
3234
|
|
|
2900
|
-
|
|
3235
|
+
_inherits(Geocode, _GeocodeService);
|
|
3236
|
+
|
|
3237
|
+
return _createClass(Geocode, [{
|
|
2901
3238
|
key: "geocode2Gis",
|
|
2902
3239
|
value: function geocode2Gis(params) {
|
|
2903
3240
|
return this.geocode(_extends({
|
|
@@ -2912,10 +3249,24 @@ let Geocode = /*#__PURE__*/function (_GeocodeService) {
|
|
|
2912
3249
|
}, params));
|
|
2913
3250
|
}
|
|
2914
3251
|
}]);
|
|
2915
|
-
|
|
2916
|
-
return Geocode;
|
|
2917
3252
|
}(GeocodeService);
|
|
2918
3253
|
|
|
3254
|
+
function _callSuper$n(_this, derived, args) {
|
|
3255
|
+
function isNativeReflectConstruct() {
|
|
3256
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
3257
|
+
if (Reflect.construct.sham) return false;
|
|
3258
|
+
if (typeof Proxy === "function") return true;
|
|
3259
|
+
|
|
3260
|
+
try {
|
|
3261
|
+
return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
3262
|
+
} catch (e) {
|
|
3263
|
+
return false;
|
|
3264
|
+
}
|
|
3265
|
+
}
|
|
3266
|
+
|
|
3267
|
+
derived = _getPrototypeOf(derived);
|
|
3268
|
+
return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
|
|
3269
|
+
}
|
|
2919
3270
|
/**
|
|
2920
3271
|
* @title Spatial Processing Core API
|
|
2921
3272
|
* @version 1.5.1.0
|
|
@@ -2923,17 +3274,15 @@ let Geocode = /*#__PURE__*/function (_GeocodeService) {
|
|
|
2923
3274
|
*/
|
|
2924
3275
|
|
|
2925
3276
|
let ImportService = /*#__PURE__*/function (_Service) {
|
|
2926
|
-
_inherits(ImportService, _Service);
|
|
2927
|
-
|
|
2928
|
-
var _super = /*#__PURE__*/_createSuper(ImportService);
|
|
2929
|
-
|
|
2930
3277
|
function ImportService() {
|
|
2931
3278
|
_classCallCheck(this, ImportService);
|
|
2932
3279
|
|
|
2933
|
-
return
|
|
3280
|
+
return _callSuper$n(this, ImportService, arguments);
|
|
2934
3281
|
}
|
|
2935
3282
|
|
|
2936
|
-
|
|
3283
|
+
_inherits(ImportService, _Service);
|
|
3284
|
+
|
|
3285
|
+
return _createClass(ImportService, [{
|
|
2937
3286
|
key: "getDataSchema",
|
|
2938
3287
|
value:
|
|
2939
3288
|
/**
|
|
@@ -3104,21 +3453,33 @@ let ImportService = /*#__PURE__*/function (_Service) {
|
|
|
3104
3453
|
return this.http.get("/import/rasterMeta", query).json();
|
|
3105
3454
|
}
|
|
3106
3455
|
}]);
|
|
3107
|
-
|
|
3108
|
-
return ImportService;
|
|
3109
3456
|
}(Service);
|
|
3110
3457
|
|
|
3111
|
-
|
|
3112
|
-
|
|
3458
|
+
function _callSuper$o(_this, derived, args) {
|
|
3459
|
+
function isNativeReflectConstruct() {
|
|
3460
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
3461
|
+
if (Reflect.construct.sham) return false;
|
|
3462
|
+
if (typeof Proxy === "function") return true;
|
|
3113
3463
|
|
|
3114
|
-
|
|
3464
|
+
try {
|
|
3465
|
+
return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
3466
|
+
} catch (e) {
|
|
3467
|
+
return false;
|
|
3468
|
+
}
|
|
3469
|
+
}
|
|
3115
3470
|
|
|
3471
|
+
derived = _getPrototypeOf(derived);
|
|
3472
|
+
return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
|
|
3473
|
+
}
|
|
3474
|
+
let Import = /*#__PURE__*/function (_ImportService) {
|
|
3116
3475
|
function Import() {
|
|
3117
3476
|
_classCallCheck(this, Import);
|
|
3118
3477
|
|
|
3119
|
-
return
|
|
3478
|
+
return _callSuper$o(this, Import, arguments);
|
|
3120
3479
|
}
|
|
3121
3480
|
|
|
3481
|
+
_inherits(Import, _ImportService);
|
|
3482
|
+
|
|
3122
3483
|
return _createClass(Import);
|
|
3123
3484
|
}(ImportService);
|
|
3124
3485
|
|
|
@@ -3137,6 +3498,23 @@ const _excluded$3 = ["name"],
|
|
|
3137
3498
|
_excluded13 = ["name"],
|
|
3138
3499
|
_excluded14 = ["layerName"],
|
|
3139
3500
|
_excluded15 = ["name", "id"];
|
|
3501
|
+
|
|
3502
|
+
function _callSuper$p(_this, derived, args) {
|
|
3503
|
+
function isNativeReflectConstruct() {
|
|
3504
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
3505
|
+
if (Reflect.construct.sham) return false;
|
|
3506
|
+
if (typeof Proxy === "function") return true;
|
|
3507
|
+
|
|
3508
|
+
try {
|
|
3509
|
+
return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
3510
|
+
} catch (e) {
|
|
3511
|
+
return false;
|
|
3512
|
+
}
|
|
3513
|
+
}
|
|
3514
|
+
|
|
3515
|
+
derived = _getPrototypeOf(derived);
|
|
3516
|
+
return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
|
|
3517
|
+
}
|
|
3140
3518
|
/**
|
|
3141
3519
|
* @title Spatial Processing Core API
|
|
3142
3520
|
* @version 1.5.1.0
|
|
@@ -3144,17 +3522,15 @@ const _excluded$3 = ["name"],
|
|
|
3144
3522
|
*/
|
|
3145
3523
|
|
|
3146
3524
|
let LayersService = /*#__PURE__*/function (_Service) {
|
|
3147
|
-
_inherits(LayersService, _Service);
|
|
3148
|
-
|
|
3149
|
-
var _super = /*#__PURE__*/_createSuper(LayersService);
|
|
3150
|
-
|
|
3151
3525
|
function LayersService() {
|
|
3152
3526
|
_classCallCheck(this, LayersService);
|
|
3153
3527
|
|
|
3154
|
-
return
|
|
3528
|
+
return _callSuper$p(this, LayersService, arguments);
|
|
3155
3529
|
}
|
|
3156
3530
|
|
|
3157
|
-
|
|
3531
|
+
_inherits(LayersService, _Service);
|
|
3532
|
+
|
|
3533
|
+
return _createClass(LayersService, [{
|
|
3158
3534
|
key: "getBulkFeatures",
|
|
3159
3535
|
value:
|
|
3160
3536
|
/**
|
|
@@ -4071,8 +4447,6 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4071
4447
|
return this.http.get("/layers/" + name + "/references").json();
|
|
4072
4448
|
}
|
|
4073
4449
|
}]);
|
|
4074
|
-
|
|
4075
|
-
return LayersService;
|
|
4076
4450
|
}(Service);
|
|
4077
4451
|
|
|
4078
4452
|
async function promiseAllIgnoreErrors(promises) {
|
|
@@ -4088,18 +4462,32 @@ function notError(v) {
|
|
|
4088
4462
|
return !isError(v);
|
|
4089
4463
|
}
|
|
4090
4464
|
|
|
4091
|
-
|
|
4092
|
-
|
|
4465
|
+
function _callSuper$q(_this, derived, args) {
|
|
4466
|
+
function isNativeReflectConstruct() {
|
|
4467
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
4468
|
+
if (Reflect.construct.sham) return false;
|
|
4469
|
+
if (typeof Proxy === "function") return true;
|
|
4093
4470
|
|
|
4094
|
-
|
|
4471
|
+
try {
|
|
4472
|
+
return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
4473
|
+
} catch (e) {
|
|
4474
|
+
return false;
|
|
4475
|
+
}
|
|
4476
|
+
}
|
|
4095
4477
|
|
|
4478
|
+
derived = _getPrototypeOf(derived);
|
|
4479
|
+
return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
|
|
4480
|
+
}
|
|
4481
|
+
let Layers = /*#__PURE__*/function (_LayersService) {
|
|
4096
4482
|
function Layers() {
|
|
4097
4483
|
_classCallCheck(this, Layers);
|
|
4098
4484
|
|
|
4099
|
-
return
|
|
4485
|
+
return _callSuper$q(this, Layers, arguments);
|
|
4100
4486
|
}
|
|
4101
4487
|
|
|
4102
|
-
|
|
4488
|
+
_inherits(Layers, _LayersService);
|
|
4489
|
+
|
|
4490
|
+
return _createClass(Layers, [{
|
|
4103
4491
|
key: "getLayerInfos",
|
|
4104
4492
|
value: function getLayerInfos(layers) {
|
|
4105
4493
|
return promiseAllIgnoreErrors(layers.map(layer => this.getLayerInfo(layer)));
|
|
@@ -4161,8 +4549,6 @@ let Layers = /*#__PURE__*/function (_LayersService) {
|
|
|
4161
4549
|
return name;
|
|
4162
4550
|
}
|
|
4163
4551
|
}]);
|
|
4164
|
-
|
|
4165
|
-
return Layers;
|
|
4166
4552
|
}(LayersService);
|
|
4167
4553
|
function isTileLayerService(layer) {
|
|
4168
4554
|
return layer.type && /TileService/.test(layer.type);
|
|
@@ -4274,7 +4660,7 @@ let Names = /*#__PURE__*/function () {
|
|
|
4274
4660
|
/** Generates unique identifier */
|
|
4275
4661
|
|
|
4276
4662
|
|
|
4277
|
-
_createClass(Names, [{
|
|
4663
|
+
return _createClass(Names, [{
|
|
4278
4664
|
key: "createId",
|
|
4279
4665
|
value: function createId() {
|
|
4280
4666
|
return generateId();
|
|
@@ -4348,10 +4734,24 @@ let Names = /*#__PURE__*/function () {
|
|
|
4348
4734
|
return this.extractResource(resourceName).workspace || '';
|
|
4349
4735
|
}
|
|
4350
4736
|
}]);
|
|
4351
|
-
|
|
4352
|
-
return Names;
|
|
4353
4737
|
}();
|
|
4354
4738
|
|
|
4739
|
+
function _callSuper$r(_this, derived, args) {
|
|
4740
|
+
function isNativeReflectConstruct() {
|
|
4741
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
4742
|
+
if (Reflect.construct.sham) return false;
|
|
4743
|
+
if (typeof Proxy === "function") return true;
|
|
4744
|
+
|
|
4745
|
+
try {
|
|
4746
|
+
return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
4747
|
+
} catch (e) {
|
|
4748
|
+
return false;
|
|
4749
|
+
}
|
|
4750
|
+
}
|
|
4751
|
+
|
|
4752
|
+
derived = _getPrototypeOf(derived);
|
|
4753
|
+
return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
|
|
4754
|
+
}
|
|
4355
4755
|
/**
|
|
4356
4756
|
* @title Spatial Processing Core API
|
|
4357
4757
|
* @version 1.5.1.0
|
|
@@ -4359,17 +4759,15 @@ let Names = /*#__PURE__*/function () {
|
|
|
4359
4759
|
*/
|
|
4360
4760
|
|
|
4361
4761
|
let NotificationService = /*#__PURE__*/function (_Service) {
|
|
4362
|
-
_inherits(NotificationService, _Service);
|
|
4363
|
-
|
|
4364
|
-
var _super = /*#__PURE__*/_createSuper(NotificationService);
|
|
4365
|
-
|
|
4366
4762
|
function NotificationService() {
|
|
4367
4763
|
_classCallCheck(this, NotificationService);
|
|
4368
4764
|
|
|
4369
|
-
return
|
|
4765
|
+
return _callSuper$r(this, NotificationService, arguments);
|
|
4370
4766
|
}
|
|
4371
4767
|
|
|
4372
|
-
|
|
4768
|
+
_inherits(NotificationService, _Service);
|
|
4769
|
+
|
|
4770
|
+
return _createClass(NotificationService, [{
|
|
4373
4771
|
key: "getSubscriptionList",
|
|
4374
4772
|
value:
|
|
4375
4773
|
/**
|
|
@@ -4455,10 +4853,24 @@ let NotificationService = /*#__PURE__*/function (_Service) {
|
|
|
4455
4853
|
return this.http.post("/notifications/unsubscribe-list", data).then(() => {});
|
|
4456
4854
|
}
|
|
4457
4855
|
}]);
|
|
4458
|
-
|
|
4459
|
-
return NotificationService;
|
|
4460
4856
|
}(Service);
|
|
4461
4857
|
|
|
4858
|
+
function _callSuper$s(_this, derived, args) {
|
|
4859
|
+
function isNativeReflectConstruct() {
|
|
4860
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
4861
|
+
if (Reflect.construct.sham) return false;
|
|
4862
|
+
if (typeof Proxy === "function") return true;
|
|
4863
|
+
|
|
4864
|
+
try {
|
|
4865
|
+
return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
4866
|
+
} catch (e) {
|
|
4867
|
+
return false;
|
|
4868
|
+
}
|
|
4869
|
+
}
|
|
4870
|
+
|
|
4871
|
+
derived = _getPrototypeOf(derived);
|
|
4872
|
+
return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
|
|
4873
|
+
}
|
|
4462
4874
|
var ConnectionStatus;
|
|
4463
4875
|
|
|
4464
4876
|
(function (ConnectionStatus) {
|
|
@@ -4472,12 +4884,8 @@ var ConnectionStatus;
|
|
|
4472
4884
|
const SUBSCRIPTION_DELAY = 500;
|
|
4473
4885
|
const KEEP_ALIVE_INTERVAL = 5 * 1000;
|
|
4474
4886
|
let Notification = /*#__PURE__*/function (_NotificationService) {
|
|
4475
|
-
_inherits(Notification, _NotificationService);
|
|
4476
|
-
|
|
4477
|
-
var _super = /*#__PURE__*/_createSuper(Notification);
|
|
4478
|
-
|
|
4479
4887
|
function Notification(http, api, keepAlive) {
|
|
4480
|
-
var
|
|
4888
|
+
var _this2;
|
|
4481
4889
|
|
|
4482
4890
|
if (keepAlive === void 0) {
|
|
4483
4891
|
keepAlive = false;
|
|
@@ -4485,21 +4893,21 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
|
|
|
4485
4893
|
|
|
4486
4894
|
_classCallCheck(this, Notification);
|
|
4487
4895
|
|
|
4488
|
-
|
|
4489
|
-
|
|
4490
|
-
|
|
4491
|
-
|
|
4492
|
-
|
|
4493
|
-
|
|
4494
|
-
|
|
4495
|
-
|
|
4496
|
-
|
|
4497
|
-
|
|
4498
|
-
|
|
4499
|
-
if (
|
|
4500
|
-
|
|
4501
|
-
if (
|
|
4502
|
-
|
|
4896
|
+
_this2 = _callSuper$s(this, Notification, [http]);
|
|
4897
|
+
_this2.api = api;
|
|
4898
|
+
_this2.MAX_WS_RECONNECT_TRIES = 10;
|
|
4899
|
+
_this2.keepAlive = false;
|
|
4900
|
+
_this2.reconnectTries = 0;
|
|
4901
|
+
_this2.subscriptions = [];
|
|
4902
|
+
_this2._connectStatus = ConnectionStatus.Initialized;
|
|
4903
|
+
|
|
4904
|
+
_this2.onWsConnected = () => {
|
|
4905
|
+
_this2.connectStatus = ConnectionStatus.Connected;
|
|
4906
|
+
|
|
4907
|
+
if (_this2.keepAlive) {
|
|
4908
|
+
_this2.keepAliveTimeout = setInterval(() => {
|
|
4909
|
+
if (_this2.ws) {
|
|
4910
|
+
_this2.ws.send(JSON.stringify({
|
|
4503
4911
|
keepAlive: true
|
|
4504
4912
|
}));
|
|
4505
4913
|
}
|
|
@@ -4509,58 +4917,60 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
|
|
|
4509
4917
|
|
|
4510
4918
|
};
|
|
4511
4919
|
|
|
4512
|
-
|
|
4920
|
+
_this2.onWsClosed = event => {
|
|
4513
4921
|
if (event.code === 4001
|
|
4514
4922
|
/* SessionClosed */
|
|
4515
4923
|
|| event.code === 4002
|
|
4516
4924
|
/* InvalidSession */
|
|
4517
4925
|
) {
|
|
4518
|
-
|
|
4519
|
-
} else if (
|
|
4520
|
-
|
|
4521
|
-
|
|
4522
|
-
|
|
4523
|
-
if (
|
|
4524
|
-
|
|
4525
|
-
|
|
4526
|
-
|
|
4527
|
-
|
|
4926
|
+
_this2.connectStatus = ConnectionStatus.SessionClosed;
|
|
4927
|
+
} else if (_this2.reconnectTries < _this2.MAX_WS_RECONNECT_TRIES) {
|
|
4928
|
+
_this2.connectStatus = ConnectionStatus.Break;
|
|
4929
|
+
_this2.reconnectTries++;
|
|
4930
|
+
|
|
4931
|
+
if (_this2.ws) {
|
|
4932
|
+
_this2.ws.onopen = null;
|
|
4933
|
+
_this2.ws.onclose = null;
|
|
4934
|
+
_this2.ws.onmessage = null;
|
|
4935
|
+
_this2.ws = void 0;
|
|
4528
4936
|
}
|
|
4529
4937
|
|
|
4530
|
-
|
|
4938
|
+
_this2.keepAliveTimeout && clearInterval(_this2.keepAliveTimeout);
|
|
4531
4939
|
setTimeout(() => {
|
|
4532
|
-
|
|
4940
|
+
_this2.connect();
|
|
4533
4941
|
}, 0);
|
|
4534
4942
|
} else {
|
|
4535
|
-
|
|
4943
|
+
_this2.connectStatus = ConnectionStatus.Lost;
|
|
4536
4944
|
}
|
|
4537
4945
|
};
|
|
4538
4946
|
|
|
4539
|
-
|
|
4947
|
+
_this2.onWsMessage = event => {
|
|
4540
4948
|
let message = {};
|
|
4541
4949
|
|
|
4542
4950
|
try {
|
|
4543
4951
|
message = JSON.parse(event.data);
|
|
4544
4952
|
} catch (e) {
|
|
4545
|
-
console.debug(
|
|
4953
|
+
console.debug("Failed to parse ws message from sp."); // ignore
|
|
4546
4954
|
}
|
|
4547
4955
|
|
|
4548
|
-
if (message.type ===
|
|
4956
|
+
if (message.type === "notification" && message.data) {
|
|
4549
4957
|
const {
|
|
4550
4958
|
tag,
|
|
4551
4959
|
data
|
|
4552
4960
|
} = message.data;
|
|
4553
|
-
tag &&
|
|
4961
|
+
tag && _this2.emitter.emit(tag, new NotificationEvent(data));
|
|
4554
4962
|
}
|
|
4555
4963
|
};
|
|
4556
4964
|
|
|
4557
|
-
|
|
4558
|
-
|
|
4559
|
-
return
|
|
4965
|
+
_this2.emitter = new EventEmitter();
|
|
4966
|
+
_this2.keepAlive = keepAlive;
|
|
4967
|
+
return _this2;
|
|
4560
4968
|
} // @ts-ignore
|
|
4561
4969
|
|
|
4562
4970
|
|
|
4563
|
-
|
|
4971
|
+
_inherits(Notification, _NotificationService);
|
|
4972
|
+
|
|
4973
|
+
return _createClass(Notification, [{
|
|
4564
4974
|
key: "connectStatus",
|
|
4565
4975
|
get: function get() {
|
|
4566
4976
|
return this._connectStatus;
|
|
@@ -4613,7 +5023,7 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
|
|
|
4613
5023
|
}, {
|
|
4614
5024
|
key: "connectWs",
|
|
4615
5025
|
value: function connectWs(url) {
|
|
4616
|
-
const urlWithWsScheme = url.replace(
|
|
5026
|
+
const urlWithWsScheme = url.replace("http://", "ws://").replace("https://", "wss://");
|
|
4617
5027
|
this.wsUrl = urlWithWsScheme;
|
|
4618
5028
|
this.connect();
|
|
4619
5029
|
}
|
|
@@ -4626,12 +5036,10 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
|
|
|
4626
5036
|
this.ws.onclose = this.onWsClosed;
|
|
4627
5037
|
this.ws.onmessage = this.onWsMessage;
|
|
4628
5038
|
} else {
|
|
4629
|
-
console.warn(
|
|
5039
|
+
console.warn("Connection to WebSocket not allowed. wsUrl not provided");
|
|
4630
5040
|
}
|
|
4631
5041
|
}
|
|
4632
5042
|
}]);
|
|
4633
|
-
|
|
4634
|
-
return Notification;
|
|
4635
5043
|
}(NotificationService);
|
|
4636
5044
|
let NotificationEvent = /*#__PURE__*/_createClass(function NotificationEvent(data) {
|
|
4637
5045
|
_classCallCheck(this, NotificationEvent);
|
|
@@ -4639,33 +5047,62 @@ let NotificationEvent = /*#__PURE__*/_createClass(function NotificationEvent(dat
|
|
|
4639
5047
|
this.data = data;
|
|
4640
5048
|
});
|
|
4641
5049
|
|
|
4642
|
-
|
|
4643
|
-
|
|
5050
|
+
function _callSuper$t(_this, derived, args) {
|
|
5051
|
+
function isNativeReflectConstruct() {
|
|
5052
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
5053
|
+
if (Reflect.construct.sham) return false;
|
|
5054
|
+
if (typeof Proxy === "function") return true;
|
|
4644
5055
|
|
|
4645
|
-
|
|
5056
|
+
try {
|
|
5057
|
+
return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
5058
|
+
} catch (e) {
|
|
5059
|
+
return false;
|
|
5060
|
+
}
|
|
5061
|
+
}
|
|
4646
5062
|
|
|
5063
|
+
derived = _getPrototypeOf(derived);
|
|
5064
|
+
return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
|
|
5065
|
+
}
|
|
5066
|
+
let PortalSettings = /*#__PURE__*/function (_ClientSettingsServic) {
|
|
4647
5067
|
function PortalSettings() {
|
|
4648
|
-
var
|
|
5068
|
+
var _this2;
|
|
4649
5069
|
|
|
4650
5070
|
_classCallCheck(this, PortalSettings);
|
|
4651
5071
|
|
|
4652
|
-
|
|
4653
|
-
|
|
4654
|
-
return
|
|
5072
|
+
_this2 = _callSuper$t(this, PortalSettings, arguments);
|
|
5073
|
+
_this2.config = null;
|
|
5074
|
+
return _this2;
|
|
4655
5075
|
}
|
|
4656
5076
|
|
|
4657
|
-
|
|
5077
|
+
_inherits(PortalSettings, _ClientSettingsServic);
|
|
5078
|
+
|
|
5079
|
+
return _createClass(PortalSettings, [{
|
|
4658
5080
|
key: "fetchPortalSettings",
|
|
4659
5081
|
value: async function fetchPortalSettings(query) {
|
|
4660
5082
|
this.config = JSON.parse(await this.getConfiguration(query));
|
|
4661
5083
|
return this.config;
|
|
4662
5084
|
}
|
|
4663
5085
|
}]);
|
|
4664
|
-
|
|
4665
|
-
return PortalSettings;
|
|
4666
5086
|
}(ClientSettingsService);
|
|
4667
5087
|
|
|
4668
5088
|
const _excluded$4 = ["name"];
|
|
5089
|
+
|
|
5090
|
+
function _callSuper$u(_this, derived, args) {
|
|
5091
|
+
function isNativeReflectConstruct() {
|
|
5092
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
5093
|
+
if (Reflect.construct.sham) return false;
|
|
5094
|
+
if (typeof Proxy === "function") return true;
|
|
5095
|
+
|
|
5096
|
+
try {
|
|
5097
|
+
return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
5098
|
+
} catch (e) {
|
|
5099
|
+
return false;
|
|
5100
|
+
}
|
|
5101
|
+
}
|
|
5102
|
+
|
|
5103
|
+
derived = _getPrototypeOf(derived);
|
|
5104
|
+
return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
|
|
5105
|
+
}
|
|
4669
5106
|
/**
|
|
4670
5107
|
* @title Spatial Processing Core API
|
|
4671
5108
|
* @version 1.5.1.0
|
|
@@ -4673,17 +5110,15 @@ const _excluded$4 = ["name"];
|
|
|
4673
5110
|
*/
|
|
4674
5111
|
|
|
4675
5112
|
let ProjectsService = /*#__PURE__*/function (_Service) {
|
|
4676
|
-
_inherits(ProjectsService, _Service);
|
|
4677
|
-
|
|
4678
|
-
var _super = /*#__PURE__*/_createSuper(ProjectsService);
|
|
4679
|
-
|
|
4680
5113
|
function ProjectsService() {
|
|
4681
5114
|
_classCallCheck(this, ProjectsService);
|
|
4682
5115
|
|
|
4683
|
-
return
|
|
5116
|
+
return _callSuper$u(this, ProjectsService, arguments);
|
|
4684
5117
|
}
|
|
4685
5118
|
|
|
4686
|
-
|
|
5119
|
+
_inherits(ProjectsService, _Service);
|
|
5120
|
+
|
|
5121
|
+
return _createClass(ProjectsService, [{
|
|
4687
5122
|
key: "getProjectsList",
|
|
4688
5123
|
value:
|
|
4689
5124
|
/**
|
|
@@ -4858,6 +5293,74 @@ let ProjectsService = /*#__PURE__*/function (_Service) {
|
|
|
4858
5293
|
value: function getProjectLayersExtendedInfo(name) {
|
|
4859
5294
|
return this.http.get("/projects/" + name + "/extended-info").json();
|
|
4860
5295
|
}
|
|
5296
|
+
/**
|
|
5297
|
+
* No description
|
|
5298
|
+
*
|
|
5299
|
+
* @tags Projects
|
|
5300
|
+
* @name PatchProjectConfiguration
|
|
5301
|
+
* @operationId ProjectsController_PatchProjectConfiguration
|
|
5302
|
+
* @summary Applies partial updates using JSON Patch.
|
|
5303
|
+
* @request PATCH:/projects/{name}/configuration/{type}
|
|
5304
|
+
* @secure
|
|
5305
|
+
* @response `200` OK
|
|
5306
|
+
*/
|
|
5307
|
+
|
|
5308
|
+
}, {
|
|
5309
|
+
key: "patchProjectConfiguration",
|
|
5310
|
+
value: function patchProjectConfiguration(name, type, data) {
|
|
5311
|
+
return this.http.patch("/projects/" + name + "/configuration/" + type, data).json();
|
|
5312
|
+
}
|
|
5313
|
+
/**
|
|
5314
|
+
* No description
|
|
5315
|
+
*
|
|
5316
|
+
* @tags Projects
|
|
5317
|
+
* @name PutProjectConfiguration
|
|
5318
|
+
* @operationId ProjectsController_PutProjectConfiguration
|
|
5319
|
+
* @summary Creates or updates configuration (full replacement).
|
|
5320
|
+
* @request PUT:/projects/{name}/configuration/{type}
|
|
5321
|
+
* @secure
|
|
5322
|
+
* @response `200` OK
|
|
5323
|
+
*/
|
|
5324
|
+
|
|
5325
|
+
}, {
|
|
5326
|
+
key: "putProjectConfiguration",
|
|
5327
|
+
value: function putProjectConfiguration(name, type, data) {
|
|
5328
|
+
return this.http.put("/projects/" + name + "/configuration/" + type, data).json();
|
|
5329
|
+
}
|
|
5330
|
+
/**
|
|
5331
|
+
* No description
|
|
5332
|
+
*
|
|
5333
|
+
* @tags Projects
|
|
5334
|
+
* @name GetProjectConfiguration
|
|
5335
|
+
* @operationId ProjectsController_GetProjectConfiguration
|
|
5336
|
+
* @summary Gets configuration for a resource and type.
|
|
5337
|
+
* @request GET:/projects/{name}/configuration/{type}
|
|
5338
|
+
* @secure
|
|
5339
|
+
* @response `200` OK
|
|
5340
|
+
*/
|
|
5341
|
+
|
|
5342
|
+
}, {
|
|
5343
|
+
key: "getProjectConfiguration",
|
|
5344
|
+
value: function getProjectConfiguration(name, type) {
|
|
5345
|
+
return this.http.get("/projects/" + name + "/configuration/" + type).json();
|
|
5346
|
+
}
|
|
5347
|
+
/**
|
|
5348
|
+
* No description
|
|
5349
|
+
*
|
|
5350
|
+
* @tags Projects
|
|
5351
|
+
* @name DeleteProjectConfiguration
|
|
5352
|
+
* @operationId ProjectsController_DeleteProjectConfiguration
|
|
5353
|
+
* @summary Creates or updates configuration (full replacement).
|
|
5354
|
+
* @request DELETE:/projects/{name}/configuration/{type}
|
|
5355
|
+
* @secure
|
|
5356
|
+
* @response `200` OK
|
|
5357
|
+
*/
|
|
5358
|
+
|
|
5359
|
+
}, {
|
|
5360
|
+
key: "deleteProjectConfiguration",
|
|
5361
|
+
value: function deleteProjectConfiguration(name, type) {
|
|
5362
|
+
return this.http.delete("/projects/" + name + "/configuration/" + type, null).json();
|
|
5363
|
+
}
|
|
4861
5364
|
/**
|
|
4862
5365
|
* No description
|
|
4863
5366
|
*
|
|
@@ -4961,22 +5464,34 @@ let ProjectsService = /*#__PURE__*/function (_Service) {
|
|
|
4961
5464
|
return this.http.get("/projects/" + name + "/references").json();
|
|
4962
5465
|
}
|
|
4963
5466
|
}]);
|
|
4964
|
-
|
|
4965
|
-
return ProjectsService;
|
|
4966
5467
|
}(Service);
|
|
4967
5468
|
|
|
4968
|
-
|
|
4969
|
-
|
|
5469
|
+
function _callSuper$v(_this, derived, args) {
|
|
5470
|
+
function isNativeReflectConstruct() {
|
|
5471
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
5472
|
+
if (Reflect.construct.sham) return false;
|
|
5473
|
+
if (typeof Proxy === "function") return true;
|
|
4970
5474
|
|
|
4971
|
-
|
|
5475
|
+
try {
|
|
5476
|
+
return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
5477
|
+
} catch (e) {
|
|
5478
|
+
return false;
|
|
5479
|
+
}
|
|
5480
|
+
}
|
|
4972
5481
|
|
|
5482
|
+
derived = _getPrototypeOf(derived);
|
|
5483
|
+
return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
|
|
5484
|
+
}
|
|
5485
|
+
let Projects = /*#__PURE__*/function (_ProjectsService) {
|
|
4973
5486
|
function Projects() {
|
|
4974
5487
|
_classCallCheck(this, Projects);
|
|
4975
5488
|
|
|
4976
|
-
return
|
|
5489
|
+
return _callSuper$v(this, Projects, arguments);
|
|
4977
5490
|
}
|
|
4978
5491
|
|
|
4979
|
-
|
|
5492
|
+
_inherits(Projects, _ProjectsService);
|
|
5493
|
+
|
|
5494
|
+
return _createClass(Projects, [{
|
|
4980
5495
|
key: "getProjectInfos",
|
|
4981
5496
|
value: function getProjectInfos(projects) {
|
|
4982
5497
|
return promiseAllIgnoreErrors(projects.map(project => this.getProjectInfo(project)));
|
|
@@ -5013,8 +5528,6 @@ let Projects = /*#__PURE__*/function (_ProjectsService) {
|
|
|
5013
5528
|
return name;
|
|
5014
5529
|
}
|
|
5015
5530
|
}]);
|
|
5016
|
-
|
|
5017
|
-
return Projects;
|
|
5018
5531
|
}(ProjectsService);
|
|
5019
5532
|
function isProjectContentItems(v) {
|
|
5020
5533
|
return v !== null && v !== undefined;
|
|
@@ -5022,6 +5535,23 @@ function isProjectContentItems(v) {
|
|
|
5022
5535
|
|
|
5023
5536
|
const _excluded$5 = ["id"],
|
|
5024
5537
|
_excluded2$3 = ["id"];
|
|
5538
|
+
|
|
5539
|
+
function _callSuper$w(_this, derived, args) {
|
|
5540
|
+
function isNativeReflectConstruct() {
|
|
5541
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
5542
|
+
if (Reflect.construct.sham) return false;
|
|
5543
|
+
if (typeof Proxy === "function") return true;
|
|
5544
|
+
|
|
5545
|
+
try {
|
|
5546
|
+
return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
5547
|
+
} catch (e) {
|
|
5548
|
+
return false;
|
|
5549
|
+
}
|
|
5550
|
+
}
|
|
5551
|
+
|
|
5552
|
+
derived = _getPrototypeOf(derived);
|
|
5553
|
+
return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
|
|
5554
|
+
}
|
|
5025
5555
|
/**
|
|
5026
5556
|
* @title Spatial Processing Core API
|
|
5027
5557
|
* @version 1.5.1.0
|
|
@@ -5029,17 +5559,15 @@ const _excluded$5 = ["id"],
|
|
|
5029
5559
|
*/
|
|
5030
5560
|
|
|
5031
5561
|
let RemoteTaskManagerService = /*#__PURE__*/function (_Service) {
|
|
5032
|
-
_inherits(RemoteTaskManagerService, _Service);
|
|
5033
|
-
|
|
5034
|
-
var _super = /*#__PURE__*/_createSuper(RemoteTaskManagerService);
|
|
5035
|
-
|
|
5036
5562
|
function RemoteTaskManagerService() {
|
|
5037
5563
|
_classCallCheck(this, RemoteTaskManagerService);
|
|
5038
5564
|
|
|
5039
|
-
return
|
|
5565
|
+
return _callSuper$w(this, RemoteTaskManagerService, arguments);
|
|
5040
5566
|
}
|
|
5041
5567
|
|
|
5042
|
-
|
|
5568
|
+
_inherits(RemoteTaskManagerService, _Service);
|
|
5569
|
+
|
|
5570
|
+
return _createClass(RemoteTaskManagerService, [{
|
|
5043
5571
|
key: "get",
|
|
5044
5572
|
value:
|
|
5045
5573
|
/**
|
|
@@ -5343,21 +5871,33 @@ let RemoteTaskManagerService = /*#__PURE__*/function (_Service) {
|
|
|
5343
5871
|
return this.http.get("/scheduler/worker/" + type).json();
|
|
5344
5872
|
}
|
|
5345
5873
|
}]);
|
|
5346
|
-
|
|
5347
|
-
return RemoteTaskManagerService;
|
|
5348
5874
|
}(Service);
|
|
5349
5875
|
|
|
5350
|
-
|
|
5351
|
-
|
|
5876
|
+
function _callSuper$x(_this, derived, args) {
|
|
5877
|
+
function isNativeReflectConstruct() {
|
|
5878
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
5879
|
+
if (Reflect.construct.sham) return false;
|
|
5880
|
+
if (typeof Proxy === "function") return true;
|
|
5352
5881
|
|
|
5353
|
-
|
|
5882
|
+
try {
|
|
5883
|
+
return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
5884
|
+
} catch (e) {
|
|
5885
|
+
return false;
|
|
5886
|
+
}
|
|
5887
|
+
}
|
|
5354
5888
|
|
|
5889
|
+
derived = _getPrototypeOf(derived);
|
|
5890
|
+
return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
|
|
5891
|
+
}
|
|
5892
|
+
let RemoteTaskManager = /*#__PURE__*/function (_RemoteTaskManagerSer) {
|
|
5355
5893
|
function RemoteTaskManager() {
|
|
5356
5894
|
_classCallCheck(this, RemoteTaskManager);
|
|
5357
5895
|
|
|
5358
|
-
return
|
|
5896
|
+
return _callSuper$x(this, RemoteTaskManager, arguments);
|
|
5359
5897
|
}
|
|
5360
5898
|
|
|
5899
|
+
_inherits(RemoteTaskManager, _RemoteTaskManagerSer);
|
|
5900
|
+
|
|
5361
5901
|
return _createClass(RemoteTaskManager);
|
|
5362
5902
|
}(RemoteTaskManagerService);
|
|
5363
5903
|
|
|
@@ -5378,7 +5918,7 @@ let Resources = /*#__PURE__*/function () {
|
|
|
5378
5918
|
this.tables = tables;
|
|
5379
5919
|
}
|
|
5380
5920
|
|
|
5381
|
-
_createClass(Resources, [{
|
|
5921
|
+
return _createClass(Resources, [{
|
|
5382
5922
|
key: "getProjectInfosWithDeps",
|
|
5383
5923
|
value: async function getProjectInfosWithDeps(projects) {
|
|
5384
5924
|
const projectInfos = await this.projects.getProjectInfos(projects);
|
|
@@ -5455,10 +5995,24 @@ let Resources = /*#__PURE__*/function () {
|
|
|
5455
5995
|
}).filter(isString);
|
|
5456
5996
|
}
|
|
5457
5997
|
}]);
|
|
5458
|
-
|
|
5459
|
-
return Resources;
|
|
5460
5998
|
}();
|
|
5461
5999
|
|
|
6000
|
+
function _callSuper$y(_this, derived, args) {
|
|
6001
|
+
function isNativeReflectConstruct() {
|
|
6002
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
6003
|
+
if (Reflect.construct.sham) return false;
|
|
6004
|
+
if (typeof Proxy === "function") return true;
|
|
6005
|
+
|
|
6006
|
+
try {
|
|
6007
|
+
return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
6008
|
+
} catch (e) {
|
|
6009
|
+
return false;
|
|
6010
|
+
}
|
|
6011
|
+
}
|
|
6012
|
+
|
|
6013
|
+
derived = _getPrototypeOf(derived);
|
|
6014
|
+
return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
|
|
6015
|
+
}
|
|
5462
6016
|
/**
|
|
5463
6017
|
* @title Spatial Processing Core API
|
|
5464
6018
|
* @version 1.5.1.0
|
|
@@ -5466,17 +6020,15 @@ let Resources = /*#__PURE__*/function () {
|
|
|
5466
6020
|
*/
|
|
5467
6021
|
|
|
5468
6022
|
let SecurityService = /*#__PURE__*/function (_Service) {
|
|
5469
|
-
_inherits(SecurityService, _Service);
|
|
5470
|
-
|
|
5471
|
-
var _super = /*#__PURE__*/_createSuper(SecurityService);
|
|
5472
|
-
|
|
5473
6023
|
function SecurityService() {
|
|
5474
6024
|
_classCallCheck(this, SecurityService);
|
|
5475
6025
|
|
|
5476
|
-
return
|
|
6026
|
+
return _callSuper$y(this, SecurityService, arguments);
|
|
5477
6027
|
}
|
|
5478
6028
|
|
|
5479
|
-
|
|
6029
|
+
_inherits(SecurityService, _Service);
|
|
6030
|
+
|
|
6031
|
+
return _createClass(SecurityService, [{
|
|
5480
6032
|
key: "setPolicies",
|
|
5481
6033
|
value:
|
|
5482
6034
|
/**
|
|
@@ -5698,17 +6250,27 @@ let SecurityService = /*#__PURE__*/function (_Service) {
|
|
|
5698
6250
|
return this.http.get("/security/limits/default").json();
|
|
5699
6251
|
}
|
|
5700
6252
|
}]);
|
|
5701
|
-
|
|
5702
|
-
return SecurityService;
|
|
5703
6253
|
}(Service);
|
|
5704
6254
|
|
|
5705
|
-
|
|
5706
|
-
|
|
6255
|
+
function _callSuper$z(_this, derived, args) {
|
|
6256
|
+
function isNativeReflectConstruct() {
|
|
6257
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
6258
|
+
if (Reflect.construct.sham) return false;
|
|
6259
|
+
if (typeof Proxy === "function") return true;
|
|
5707
6260
|
|
|
5708
|
-
|
|
6261
|
+
try {
|
|
6262
|
+
return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
6263
|
+
} catch (e) {
|
|
6264
|
+
return false;
|
|
6265
|
+
}
|
|
6266
|
+
}
|
|
5709
6267
|
|
|
6268
|
+
derived = _getPrototypeOf(derived);
|
|
6269
|
+
return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
|
|
6270
|
+
}
|
|
6271
|
+
let Security = /*#__PURE__*/function (_SecurityService) {
|
|
5710
6272
|
function Security(http, _ref) {
|
|
5711
|
-
var
|
|
6273
|
+
var _this2;
|
|
5712
6274
|
|
|
5713
6275
|
let {
|
|
5714
6276
|
username,
|
|
@@ -5717,25 +6279,41 @@ let Security = /*#__PURE__*/function (_SecurityService) {
|
|
|
5717
6279
|
|
|
5718
6280
|
_classCallCheck(this, Security);
|
|
5719
6281
|
|
|
5720
|
-
|
|
5721
|
-
|
|
5722
|
-
|
|
5723
|
-
|
|
5724
|
-
|
|
5725
|
-
return
|
|
6282
|
+
_this2 = _callSuper$z(this, Security, [http]);
|
|
6283
|
+
_this2.ownerName = '';
|
|
6284
|
+
_this2.ownerRoles = [];
|
|
6285
|
+
_this2.ownerName = username;
|
|
6286
|
+
_this2.ownerRoles = roles;
|
|
6287
|
+
return _this2;
|
|
5726
6288
|
}
|
|
5727
6289
|
|
|
5728
|
-
|
|
6290
|
+
_inherits(Security, _SecurityService);
|
|
6291
|
+
|
|
6292
|
+
return _createClass(Security, [{
|
|
5729
6293
|
key: "reset",
|
|
5730
6294
|
value: function reset() {
|
|
5731
6295
|
this.ownerName = '';
|
|
5732
6296
|
this.ownerRoles = [];
|
|
5733
6297
|
}
|
|
5734
6298
|
}]);
|
|
5735
|
-
|
|
5736
|
-
return Security;
|
|
5737
6299
|
}(SecurityService);
|
|
5738
6300
|
|
|
6301
|
+
function _callSuper$A(_this, derived, args) {
|
|
6302
|
+
function isNativeReflectConstruct() {
|
|
6303
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
6304
|
+
if (Reflect.construct.sham) return false;
|
|
6305
|
+
if (typeof Proxy === "function") return true;
|
|
6306
|
+
|
|
6307
|
+
try {
|
|
6308
|
+
return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
6309
|
+
} catch (e) {
|
|
6310
|
+
return false;
|
|
6311
|
+
}
|
|
6312
|
+
}
|
|
6313
|
+
|
|
6314
|
+
derived = _getPrototypeOf(derived);
|
|
6315
|
+
return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
|
|
6316
|
+
}
|
|
5739
6317
|
/**
|
|
5740
6318
|
* @title Spatial Processing Core API
|
|
5741
6319
|
* @version 1.5.1.0
|
|
@@ -5743,17 +6321,15 @@ let Security = /*#__PURE__*/function (_SecurityService) {
|
|
|
5743
6321
|
*/
|
|
5744
6322
|
|
|
5745
6323
|
let StatisticService = /*#__PURE__*/function (_Service) {
|
|
5746
|
-
_inherits(StatisticService, _Service);
|
|
5747
|
-
|
|
5748
|
-
var _super = /*#__PURE__*/_createSuper(StatisticService);
|
|
5749
|
-
|
|
5750
6324
|
function StatisticService() {
|
|
5751
6325
|
_classCallCheck(this, StatisticService);
|
|
5752
6326
|
|
|
5753
|
-
return
|
|
6327
|
+
return _callSuper$A(this, StatisticService, arguments);
|
|
5754
6328
|
}
|
|
5755
6329
|
|
|
5756
|
-
|
|
6330
|
+
_inherits(StatisticService, _Service);
|
|
6331
|
+
|
|
6332
|
+
return _createClass(StatisticService, [{
|
|
5757
6333
|
key: "statisticsDb",
|
|
5758
6334
|
value:
|
|
5759
6335
|
/**
|
|
@@ -5805,27 +6381,56 @@ let StatisticService = /*#__PURE__*/function (_Service) {
|
|
|
5805
6381
|
return this.http.post("/statistics/sumOfProduct", data).json();
|
|
5806
6382
|
}
|
|
5807
6383
|
}]);
|
|
5808
|
-
|
|
5809
|
-
return StatisticService;
|
|
5810
6384
|
}(Service);
|
|
5811
6385
|
|
|
5812
|
-
|
|
5813
|
-
|
|
6386
|
+
function _callSuper$B(_this, derived, args) {
|
|
6387
|
+
function isNativeReflectConstruct() {
|
|
6388
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
6389
|
+
if (Reflect.construct.sham) return false;
|
|
6390
|
+
if (typeof Proxy === "function") return true;
|
|
5814
6391
|
|
|
5815
|
-
|
|
6392
|
+
try {
|
|
6393
|
+
return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
6394
|
+
} catch (e) {
|
|
6395
|
+
return false;
|
|
6396
|
+
}
|
|
6397
|
+
}
|
|
5816
6398
|
|
|
6399
|
+
derived = _getPrototypeOf(derived);
|
|
6400
|
+
return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
|
|
6401
|
+
}
|
|
6402
|
+
let Statistic = /*#__PURE__*/function (_StatisticService) {
|
|
5817
6403
|
function Statistic() {
|
|
5818
6404
|
_classCallCheck(this, Statistic);
|
|
5819
6405
|
|
|
5820
|
-
return
|
|
6406
|
+
return _callSuper$B(this, Statistic, arguments);
|
|
5821
6407
|
}
|
|
5822
6408
|
|
|
6409
|
+
_inherits(Statistic, _StatisticService);
|
|
6410
|
+
|
|
5823
6411
|
return _createClass(Statistic);
|
|
5824
6412
|
}(StatisticService);
|
|
5825
6413
|
|
|
5826
6414
|
const _excluded$6 = ["name"],
|
|
5827
6415
|
_excluded2$4 = ["name"],
|
|
5828
6416
|
_excluded3$3 = ["name"];
|
|
6417
|
+
|
|
6418
|
+
function _callSuper$C(_this, derived, args) {
|
|
6419
|
+
function isNativeReflectConstruct() {
|
|
6420
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
6421
|
+
if (Reflect.construct.sham) return false;
|
|
6422
|
+
if (typeof Proxy === "function") return true;
|
|
6423
|
+
|
|
6424
|
+
try {
|
|
6425
|
+
return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
6426
|
+
} catch (e) {
|
|
6427
|
+
return false;
|
|
6428
|
+
}
|
|
6429
|
+
}
|
|
6430
|
+
|
|
6431
|
+
derived = _getPrototypeOf(derived);
|
|
6432
|
+
return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
|
|
6433
|
+
}
|
|
5829
6434
|
/**
|
|
5830
6435
|
* @title Spatial Processing Core API
|
|
5831
6436
|
* @version 1.5.1.0
|
|
@@ -5833,17 +6438,15 @@ const _excluded$6 = ["name"],
|
|
|
5833
6438
|
*/
|
|
5834
6439
|
|
|
5835
6440
|
let TablesService = /*#__PURE__*/function (_Service) {
|
|
5836
|
-
_inherits(TablesService, _Service);
|
|
5837
|
-
|
|
5838
|
-
var _super = /*#__PURE__*/_createSuper(TablesService);
|
|
5839
|
-
|
|
5840
6441
|
function TablesService() {
|
|
5841
6442
|
_classCallCheck(this, TablesService);
|
|
5842
6443
|
|
|
5843
|
-
return
|
|
6444
|
+
return _callSuper$C(this, TablesService, arguments);
|
|
5844
6445
|
}
|
|
5845
6446
|
|
|
5846
|
-
|
|
6447
|
+
_inherits(TablesService, _Service);
|
|
6448
|
+
|
|
6449
|
+
return _createClass(TablesService, [{
|
|
5847
6450
|
key: "getTableList",
|
|
5848
6451
|
value:
|
|
5849
6452
|
/**
|
|
@@ -6182,22 +6785,34 @@ let TablesService = /*#__PURE__*/function (_Service) {
|
|
|
6182
6785
|
return this.http.get("/tables/" + name + "/references").json();
|
|
6183
6786
|
}
|
|
6184
6787
|
}]);
|
|
6185
|
-
|
|
6186
|
-
return TablesService;
|
|
6187
6788
|
}(Service);
|
|
6188
6789
|
|
|
6189
|
-
|
|
6190
|
-
|
|
6790
|
+
function _callSuper$D(_this, derived, args) {
|
|
6791
|
+
function isNativeReflectConstruct() {
|
|
6792
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
6793
|
+
if (Reflect.construct.sham) return false;
|
|
6794
|
+
if (typeof Proxy === "function") return true;
|
|
6191
6795
|
|
|
6192
|
-
|
|
6796
|
+
try {
|
|
6797
|
+
return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
6798
|
+
} catch (e) {
|
|
6799
|
+
return false;
|
|
6800
|
+
}
|
|
6801
|
+
}
|
|
6193
6802
|
|
|
6803
|
+
derived = _getPrototypeOf(derived);
|
|
6804
|
+
return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
|
|
6805
|
+
}
|
|
6806
|
+
let Tables = /*#__PURE__*/function (_TablesService) {
|
|
6194
6807
|
function Tables() {
|
|
6195
6808
|
_classCallCheck(this, Tables);
|
|
6196
6809
|
|
|
6197
|
-
return
|
|
6810
|
+
return _callSuper$D(this, Tables, arguments);
|
|
6198
6811
|
}
|
|
6199
6812
|
|
|
6200
|
-
|
|
6813
|
+
_inherits(Tables, _TablesService);
|
|
6814
|
+
|
|
6815
|
+
return _createClass(Tables, [{
|
|
6201
6816
|
key: "getTableInfos",
|
|
6202
6817
|
value: function getTableInfos(tables) {
|
|
6203
6818
|
return promiseAllIgnoreErrors(tables.map(table => this.getTableInfo(table)));
|
|
@@ -6229,10 +6844,24 @@ let Tables = /*#__PURE__*/function (_TablesService) {
|
|
|
6229
6844
|
return name;
|
|
6230
6845
|
}
|
|
6231
6846
|
}]);
|
|
6232
|
-
|
|
6233
|
-
return Tables;
|
|
6234
6847
|
}(TablesService);
|
|
6235
6848
|
|
|
6849
|
+
function _callSuper$E(_this, derived, args) {
|
|
6850
|
+
function isNativeReflectConstruct() {
|
|
6851
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
6852
|
+
if (Reflect.construct.sham) return false;
|
|
6853
|
+
if (typeof Proxy === "function") return true;
|
|
6854
|
+
|
|
6855
|
+
try {
|
|
6856
|
+
return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
6857
|
+
} catch (e) {
|
|
6858
|
+
return false;
|
|
6859
|
+
}
|
|
6860
|
+
}
|
|
6861
|
+
|
|
6862
|
+
derived = _getPrototypeOf(derived);
|
|
6863
|
+
return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
|
|
6864
|
+
}
|
|
6236
6865
|
/**
|
|
6237
6866
|
* @title Spatial Processing Core API
|
|
6238
6867
|
* @version 1.5.1.0
|
|
@@ -6240,34 +6869,63 @@ let Tables = /*#__PURE__*/function (_TablesService) {
|
|
|
6240
6869
|
*/
|
|
6241
6870
|
|
|
6242
6871
|
let ToolsService = /*#__PURE__*/function (_Service) {
|
|
6243
|
-
_inherits(ToolsService, _Service);
|
|
6244
|
-
|
|
6245
|
-
var _super = /*#__PURE__*/_createSuper(ToolsService);
|
|
6246
|
-
|
|
6247
6872
|
function ToolsService() {
|
|
6248
6873
|
_classCallCheck(this, ToolsService);
|
|
6249
6874
|
|
|
6250
|
-
return
|
|
6875
|
+
return _callSuper$E(this, ToolsService, arguments);
|
|
6251
6876
|
}
|
|
6252
6877
|
|
|
6878
|
+
_inherits(ToolsService, _Service);
|
|
6879
|
+
|
|
6253
6880
|
return _createClass(ToolsService);
|
|
6254
6881
|
}(Service);
|
|
6255
6882
|
|
|
6256
|
-
|
|
6257
|
-
|
|
6883
|
+
function _callSuper$F(_this, derived, args) {
|
|
6884
|
+
function isNativeReflectConstruct() {
|
|
6885
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
6886
|
+
if (Reflect.construct.sham) return false;
|
|
6887
|
+
if (typeof Proxy === "function") return true;
|
|
6258
6888
|
|
|
6259
|
-
|
|
6889
|
+
try {
|
|
6890
|
+
return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
6891
|
+
} catch (e) {
|
|
6892
|
+
return false;
|
|
6893
|
+
}
|
|
6894
|
+
}
|
|
6260
6895
|
|
|
6896
|
+
derived = _getPrototypeOf(derived);
|
|
6897
|
+
return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
|
|
6898
|
+
}
|
|
6899
|
+
let Tools = /*#__PURE__*/function (_ToolsService) {
|
|
6261
6900
|
function Tools() {
|
|
6262
6901
|
_classCallCheck(this, Tools);
|
|
6263
6902
|
|
|
6264
|
-
return
|
|
6903
|
+
return _callSuper$F(this, Tools, arguments);
|
|
6265
6904
|
}
|
|
6266
6905
|
|
|
6906
|
+
_inherits(Tools, _ToolsService);
|
|
6907
|
+
|
|
6267
6908
|
return _createClass(Tools);
|
|
6268
6909
|
}(ToolsService);
|
|
6269
6910
|
|
|
6270
6911
|
const _excluded$7 = ["name", "z", "x", "y"];
|
|
6912
|
+
|
|
6913
|
+
function _callSuper$G(_this, derived, args) {
|
|
6914
|
+
function isNativeReflectConstruct() {
|
|
6915
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
6916
|
+
if (Reflect.construct.sham) return false;
|
|
6917
|
+
if (typeof Proxy === "function") return true;
|
|
6918
|
+
|
|
6919
|
+
try {
|
|
6920
|
+
return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
6921
|
+
} catch (e) {
|
|
6922
|
+
return false;
|
|
6923
|
+
}
|
|
6924
|
+
}
|
|
6925
|
+
|
|
6926
|
+
derived = _getPrototypeOf(derived);
|
|
6927
|
+
return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
|
|
6928
|
+
}
|
|
6271
6929
|
/**
|
|
6272
6930
|
* @title Spatial Processing Core API
|
|
6273
6931
|
* @version 1.5.1.0
|
|
@@ -6275,17 +6933,15 @@ const _excluded$7 = ["name", "z", "x", "y"];
|
|
|
6275
6933
|
*/
|
|
6276
6934
|
|
|
6277
6935
|
let VectorTileService = /*#__PURE__*/function (_Service) {
|
|
6278
|
-
_inherits(VectorTileService, _Service);
|
|
6279
|
-
|
|
6280
|
-
var _super = /*#__PURE__*/_createSuper(VectorTileService);
|
|
6281
|
-
|
|
6282
6936
|
function VectorTileService() {
|
|
6283
6937
|
_classCallCheck(this, VectorTileService);
|
|
6284
6938
|
|
|
6285
|
-
return
|
|
6939
|
+
return _callSuper$G(this, VectorTileService, arguments);
|
|
6286
6940
|
}
|
|
6287
6941
|
|
|
6288
|
-
|
|
6942
|
+
_inherits(VectorTileService, _Service);
|
|
6943
|
+
|
|
6944
|
+
return _createClass(VectorTileService, [{
|
|
6289
6945
|
key: "getVectorTile",
|
|
6290
6946
|
value:
|
|
6291
6947
|
/**
|
|
@@ -6311,24 +6967,52 @@ let VectorTileService = /*#__PURE__*/function (_Service) {
|
|
|
6311
6967
|
return this.http.get("/vt/" + name + "/" + z + "/" + x + "/" + y + ".pbf", query).then(() => {});
|
|
6312
6968
|
}
|
|
6313
6969
|
}]);
|
|
6314
|
-
|
|
6315
|
-
return VectorTileService;
|
|
6316
6970
|
}(Service);
|
|
6317
6971
|
|
|
6318
|
-
|
|
6319
|
-
|
|
6972
|
+
function _callSuper$H(_this, derived, args) {
|
|
6973
|
+
function isNativeReflectConstruct() {
|
|
6974
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
6975
|
+
if (Reflect.construct.sham) return false;
|
|
6976
|
+
if (typeof Proxy === "function") return true;
|
|
6320
6977
|
|
|
6321
|
-
|
|
6978
|
+
try {
|
|
6979
|
+
return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
6980
|
+
} catch (e) {
|
|
6981
|
+
return false;
|
|
6982
|
+
}
|
|
6983
|
+
}
|
|
6322
6984
|
|
|
6985
|
+
derived = _getPrototypeOf(derived);
|
|
6986
|
+
return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
|
|
6987
|
+
}
|
|
6988
|
+
let VectorTiles = /*#__PURE__*/function (_VectorTileService) {
|
|
6323
6989
|
function VectorTiles() {
|
|
6324
6990
|
_classCallCheck(this, VectorTiles);
|
|
6325
6991
|
|
|
6326
|
-
return
|
|
6992
|
+
return _callSuper$H(this, VectorTiles, arguments);
|
|
6327
6993
|
}
|
|
6328
6994
|
|
|
6995
|
+
_inherits(VectorTiles, _VectorTileService);
|
|
6996
|
+
|
|
6329
6997
|
return _createClass(VectorTiles);
|
|
6330
6998
|
}(VectorTileService);
|
|
6331
6999
|
|
|
7000
|
+
function _callSuper$I(_this, derived, args) {
|
|
7001
|
+
function isNativeReflectConstruct() {
|
|
7002
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
7003
|
+
if (Reflect.construct.sham) return false;
|
|
7004
|
+
if (typeof Proxy === "function") return true;
|
|
7005
|
+
|
|
7006
|
+
try {
|
|
7007
|
+
return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
7008
|
+
} catch (e) {
|
|
7009
|
+
return false;
|
|
7010
|
+
}
|
|
7011
|
+
}
|
|
7012
|
+
|
|
7013
|
+
derived = _getPrototypeOf(derived);
|
|
7014
|
+
return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
|
|
7015
|
+
}
|
|
6332
7016
|
var UrlPath;
|
|
6333
7017
|
|
|
6334
7018
|
(function (UrlPath) {
|
|
@@ -6345,14 +7029,10 @@ const SHARED_PORT = "8082";
|
|
|
6345
7029
|
const URL_PATHS = /*#__PURE__*/Object.values(UrlPath);
|
|
6346
7030
|
const DEFAULT_URL_PATH = URL_PATHS[0];
|
|
6347
7031
|
let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
6348
|
-
_inherits(Api, _EventEmitter);
|
|
6349
|
-
|
|
6350
|
-
var _super = /*#__PURE__*/_createSuper(Api);
|
|
6351
|
-
|
|
6352
7032
|
function Api(_ref) {
|
|
6353
7033
|
var _hooks$beforeRequest;
|
|
6354
7034
|
|
|
6355
|
-
var
|
|
7035
|
+
var _this2;
|
|
6356
7036
|
|
|
6357
7037
|
let {
|
|
6358
7038
|
url,
|
|
@@ -6366,11 +7046,11 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
6366
7046
|
|
|
6367
7047
|
_classCallCheck(this, Api);
|
|
6368
7048
|
|
|
6369
|
-
|
|
7049
|
+
_this2 = _callSuper$I(this, Api);
|
|
6370
7050
|
const {
|
|
6371
7051
|
hooks
|
|
6372
7052
|
} = httpOptions || {};
|
|
6373
|
-
|
|
7053
|
+
_this2.http = http || new HttpClient(_extends({
|
|
6374
7054
|
prefixUrl: url,
|
|
6375
7055
|
timeout: false,
|
|
6376
7056
|
retry: {
|
|
@@ -6386,7 +7066,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
6386
7066
|
if (token) {
|
|
6387
7067
|
var _request$headers;
|
|
6388
7068
|
|
|
6389
|
-
(_request$headers = request.headers) == null
|
|
7069
|
+
(_request$headers = request.headers) == null || _request$headers.set("Authorization", "Bearer " + (token || ""));
|
|
6390
7070
|
}
|
|
6391
7071
|
}, ...((_hooks$beforeRequest = hooks == null ? void 0 : hooks.beforeRequest) != null ? _hooks$beforeRequest : [])],
|
|
6392
7072
|
beforeRetry: [async (_ref2) => {
|
|
@@ -6403,7 +7083,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
6403
7083
|
if (refreshToken) {
|
|
6404
7084
|
var _request$headers2;
|
|
6405
7085
|
|
|
6406
|
-
const refreshTokenResponse = await
|
|
7086
|
+
const refreshTokenResponse = await _this2.account.refreshToken({
|
|
6407
7087
|
refreshToken
|
|
6408
7088
|
});
|
|
6409
7089
|
|
|
@@ -6412,7 +7092,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
6412
7092
|
window.localStorage.setItem(STORAGE_REFRESH_TOKEN_KEY, refreshTokenResponse.refreshToken);
|
|
6413
7093
|
}
|
|
6414
7094
|
|
|
6415
|
-
(_request$headers2 = request.headers) == null
|
|
7095
|
+
(_request$headers2 = request.headers) == null || _request$headers2.set("Authorization", "Bearer " + (refreshTokenResponse.token || ""));
|
|
6416
7096
|
}
|
|
6417
7097
|
} catch (error) {
|
|
6418
7098
|
throw new Error("Failed to refresh token");
|
|
@@ -6423,54 +7103,56 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
6423
7103
|
const apiEvent = apiEventsByResponseStatus[response == null ? void 0 : response.status];
|
|
6424
7104
|
|
|
6425
7105
|
if (apiEvent) {
|
|
6426
|
-
|
|
7106
|
+
_this2.emit(apiEvent, errorHandler(new HTTPError(response, request, options)));
|
|
6427
7107
|
}
|
|
6428
7108
|
|
|
6429
7109
|
return response;
|
|
6430
7110
|
}, ...((hooks == null ? void 0 : hooks.afterResponse) || [])]
|
|
6431
7111
|
})
|
|
6432
7112
|
}));
|
|
6433
|
-
|
|
6434
|
-
|
|
6435
|
-
|
|
6436
|
-
|
|
6437
|
-
|
|
6438
|
-
|
|
6439
|
-
|
|
6440
|
-
|
|
6441
|
-
|
|
6442
|
-
|
|
6443
|
-
|
|
6444
|
-
|
|
6445
|
-
|
|
6446
|
-
|
|
6447
|
-
|
|
6448
|
-
|
|
6449
|
-
|
|
6450
|
-
|
|
6451
|
-
|
|
6452
|
-
|
|
6453
|
-
|
|
6454
|
-
|
|
6455
|
-
|
|
6456
|
-
|
|
6457
|
-
|
|
6458
|
-
|
|
6459
|
-
|
|
6460
|
-
|
|
6461
|
-
|
|
6462
|
-
|
|
6463
|
-
account:
|
|
7113
|
+
_this2.url = url;
|
|
7114
|
+
_this2.wsUrl = wsUrl || url;
|
|
7115
|
+
_this2.urlPath = urlPath || _this2.defineUrlPath();
|
|
7116
|
+
_this2.layers = new Layers(_this2.http);
|
|
7117
|
+
_this2.tables = new Tables(_this2.http);
|
|
7118
|
+
_this2.projects = new Projects(_this2.http);
|
|
7119
|
+
_this2.resources = new Resources(_this2.projects, _this2.layers, _this2.tables);
|
|
7120
|
+
_this2.account = new Account(_this2.http);
|
|
7121
|
+
_this2.accountPreview = new AccountPreview(_this2.http);
|
|
7122
|
+
_this2.bulk = new BulkOperations(_this2.http);
|
|
7123
|
+
_this2.security = new Security(_this2.http, _this2.account);
|
|
7124
|
+
_this2.notification = new Notification(_this2.http, _this2, wsKeepAlive);
|
|
7125
|
+
_this2.file = new FileUpload(_this2.http);
|
|
7126
|
+
_this2.filters = new Filters(_this2.http);
|
|
7127
|
+
_this2.import = new Import(_this2.http);
|
|
7128
|
+
_this2.geocode = new Geocode(_this2.http);
|
|
7129
|
+
_this2.tools = new Tools(_this2.http);
|
|
7130
|
+
_this2.clientSettings = new ClientSettings(_this2.http);
|
|
7131
|
+
_this2.portalSettings = new PortalSettings(_this2.http);
|
|
7132
|
+
_this2.statistic = new Statistic(_this2.http);
|
|
7133
|
+
_this2.feedback = new Feedback(_this2.http);
|
|
7134
|
+
_this2.vectorTiles = new VectorTiles(_this2.http);
|
|
7135
|
+
_this2.spatialReference = new SpatialReferencesService(_this2.http);
|
|
7136
|
+
_this2.eql = new Eql(_this2.http);
|
|
7137
|
+
_this2.catalog = new CatalogService(_this2.http);
|
|
7138
|
+
_this2.queryToken = new QueryTokenAccessService(_this2.http);
|
|
7139
|
+
_this2.dataSource = new DataSourceService(_this2.http);
|
|
7140
|
+
_this2.remoteTaskManager = new RemoteTaskManager(_this2.http);
|
|
7141
|
+
_this2.cameras = new Cameras(_this2.http);
|
|
7142
|
+
_this2.names = new Names({
|
|
7143
|
+
account: _this2.account
|
|
6464
7144
|
});
|
|
6465
|
-
|
|
7145
|
+
_this2.snappingHub = snappingHubUrl ? new HubConnectionBuilder().withUrl(snappingHubUrl, {
|
|
6466
7146
|
withCredentials: true,
|
|
6467
7147
|
skipNegotiation: true,
|
|
6468
7148
|
transport: HttpTransportType.WebSockets
|
|
6469
7149
|
}).withAutomaticReconnect().build() : null;
|
|
6470
|
-
return
|
|
7150
|
+
return _this2;
|
|
6471
7151
|
}
|
|
6472
7152
|
|
|
6473
|
-
|
|
7153
|
+
_inherits(Api, _EventEmitter);
|
|
7154
|
+
|
|
7155
|
+
return _createClass(Api, [{
|
|
6474
7156
|
key: "init",
|
|
6475
7157
|
value: async function init(_ref3) {
|
|
6476
7158
|
let {
|
|
@@ -6509,7 +7191,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
6509
7191
|
}, {
|
|
6510
7192
|
key: "isAcceptedNetwork",
|
|
6511
7193
|
value: function isAcceptedNetwork(network) {
|
|
6512
|
-
return [
|
|
7194
|
+
return ["vk", "google", "facebook"].includes(network);
|
|
6513
7195
|
}
|
|
6514
7196
|
}, {
|
|
6515
7197
|
key: "socAuthLogin",
|
|
@@ -6557,7 +7239,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
6557
7239
|
}, {
|
|
6558
7240
|
key: "defineUrlPath",
|
|
6559
7241
|
value: function defineUrlPath() {
|
|
6560
|
-
const firstPath = (window.location.href.split(window.location.hostname)[1] ||
|
|
7242
|
+
const firstPath = (window.location.href.split(window.location.hostname)[1] || "").split("/").filter(Boolean)[0];
|
|
6561
7243
|
const urlPath = firstPath ? "/" + firstPath : void 0;
|
|
6562
7244
|
return urlPath && URL_PATHS.includes(urlPath) ? urlPath : DEFAULT_URL_PATH;
|
|
6563
7245
|
}
|
|
@@ -6572,8 +7254,6 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
6572
7254
|
return this.urlPath === UrlPath.Presentation || window.location.port === SHARED_PORT;
|
|
6573
7255
|
}
|
|
6574
7256
|
}]);
|
|
6575
|
-
|
|
6576
|
-
return Api;
|
|
6577
7257
|
}(EventEmitter);
|
|
6578
7258
|
|
|
6579
7259
|
/* eslint-disable */
|
|
@@ -6592,6 +7272,22 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
6592
7272
|
/**
|
|
6593
7273
|
*
|
|
6594
7274
|
|
|
7275
|
+
Shared
|
|
7276
|
+
|
|
7277
|
+
Public
|
|
7278
|
+
|
|
7279
|
+
My
|
|
7280
|
+
*/
|
|
7281
|
+
var AccessMode;
|
|
7282
|
+
|
|
7283
|
+
(function (AccessMode) {
|
|
7284
|
+
AccessMode["Shared"] = "Shared";
|
|
7285
|
+
AccessMode["Public"] = "Public";
|
|
7286
|
+
AccessMode["My"] = "My";
|
|
7287
|
+
})(AccessMode || (AccessMode = {}));
|
|
7288
|
+
/**
|
|
7289
|
+
*
|
|
7290
|
+
|
|
6595
7291
|
None
|
|
6596
7292
|
|
|
6597
7293
|
Array
|
|
@@ -6634,6 +7330,8 @@ DensityIndicators
|
|
|
6634
7330
|
|
|
6635
7331
|
DividedSum
|
|
6636
7332
|
*/
|
|
7333
|
+
|
|
7334
|
+
|
|
6637
7335
|
var AggregationFunction;
|
|
6638
7336
|
|
|
6639
7337
|
(function (AggregationFunction) {
|
|
@@ -6926,6 +7624,21 @@ var ConfigurationErrorEnum;
|
|
|
6926
7624
|
/**
|
|
6927
7625
|
*
|
|
6928
7626
|
|
|
7627
|
+
Default
|
|
7628
|
+
|
|
7629
|
+
DevConfiguration
|
|
7630
|
+
*/
|
|
7631
|
+
|
|
7632
|
+
|
|
7633
|
+
var ConfigurationType;
|
|
7634
|
+
|
|
7635
|
+
(function (ConfigurationType) {
|
|
7636
|
+
ConfigurationType["Default"] = "Default";
|
|
7637
|
+
ConfigurationType["DevConfiguration"] = "DevConfiguration";
|
|
7638
|
+
})(ConfigurationType || (ConfigurationType = {}));
|
|
7639
|
+
/**
|
|
7640
|
+
*
|
|
7641
|
+
|
|
6929
7642
|
Postgres
|
|
6930
7643
|
|
|
6931
7644
|
Trino
|
|
@@ -6933,6 +7646,8 @@ Trino
|
|
|
6933
7646
|
S3
|
|
6934
7647
|
|
|
6935
7648
|
GisServer
|
|
7649
|
+
|
|
7650
|
+
Spark
|
|
6936
7651
|
*/
|
|
6937
7652
|
|
|
6938
7653
|
|
|
@@ -6943,6 +7658,7 @@ var DataSourceType;
|
|
|
6943
7658
|
DataSourceType["Trino"] = "Trino";
|
|
6944
7659
|
DataSourceType["S3"] = "S3";
|
|
6945
7660
|
DataSourceType["GisServer"] = "GisServer";
|
|
7661
|
+
DataSourceType["Spark"] = "Spark";
|
|
6946
7662
|
})(DataSourceType || (DataSourceType = {}));
|
|
6947
7663
|
/**
|
|
6948
7664
|
* Type of the error.
|
|
@@ -7052,24 +7768,6 @@ var Group;
|
|
|
7052
7768
|
Group["All"] = "all";
|
|
7053
7769
|
})(Group || (Group = {}));
|
|
7054
7770
|
/**
|
|
7055
|
-
* Filter exists resources by owner.
|
|
7056
|
-
|
|
7057
|
-
My
|
|
7058
|
-
|
|
7059
|
-
Shared
|
|
7060
|
-
|
|
7061
|
-
Public
|
|
7062
|
-
*/
|
|
7063
|
-
|
|
7064
|
-
|
|
7065
|
-
var OwnerFilter;
|
|
7066
|
-
|
|
7067
|
-
(function (OwnerFilter) {
|
|
7068
|
-
OwnerFilter["My"] = "My";
|
|
7069
|
-
OwnerFilter["Shared"] = "Shared";
|
|
7070
|
-
OwnerFilter["Public"] = "Public";
|
|
7071
|
-
})(OwnerFilter || (OwnerFilter = {}));
|
|
7072
|
-
/**
|
|
7073
7771
|
* Influences the y direction of the tile coordinates. The global-mercator (aka Spherical Mercator) profile is assumed.
|
|
7074
7772
|
|
|
7075
7773
|
xyz
|
|
@@ -7462,5 +8160,5 @@ var WorkerSettingsFieldType;
|
|
|
7462
8160
|
WorkerSettingsFieldType["AttributeArray"] = "AttributeArray";
|
|
7463
8161
|
})(WorkerSettingsFieldType || (WorkerSettingsFieldType = {}));
|
|
7464
8162
|
|
|
7465
|
-
export { Account, AccountPreview, AggregationFunction, Api, ApiEvent, AttributeIconType, AttributeSelectorType, AttributeType, AuthorizationGrant, BulkOperations, Cameras, CatalogResourceType, ClassificationType, ClassifyAttributeType, ClientSettings, ConfigurationErrorEnum, ConnectionStatus, DataSourceType, DependencyType, Eql, ErrorDetailsType, ErrorReason, ErrorType, Feedback, FileUpload, Filters, GEOCODE_PROVIDER, Geocode, GeometryType, Group, HttpClient, Import, Layers, Names, Notification, NotificationEvent,
|
|
8163
|
+
export { AccessMode, Account, AccountPreview, AggregationFunction, Api, ApiEvent, AttributeIconType, AttributeSelectorType, AttributeType, AuthorizationGrant, BulkOperations, Cameras, CatalogResourceType, ClassificationType, ClassifyAttributeType, ClientSettings, ConfigurationErrorEnum, ConfigurationType, ConnectionStatus, DataSourceType, DependencyType, Eql, ErrorDetailsType, ErrorReason, ErrorType, Feedback, FileUpload, Filters, GEOCODE_PROVIDER, Geocode, GeometryType, Group, HttpClient, Import, Layers, Names, Notification, NotificationEvent, PbfSchema, Permissions, PolicyType, PortalSettings, Projects, Quality, RemoteTaskManager, RemoteTaskStatus, ResourceSeparator, ResourceSubTypeFilter, ResourceType, ResourceTypeFilter, ResourceTypeLink, Resources, ResponseType, STORAGE_REFRESH_TOKEN_KEY, STORAGE_TOKEN_KEY, Security, SimplifyType, Statistic, StringSubType, Tables, TaskResourceSubType, Tools, UrlPath, VectorTiles, WorkerMethodType, WorkerSettingsFieldType, addSubDomainToLocation, errorHandler, formDataFromFile, generateId, getFetchingUrlPath, isHTTPError, isHandledError, isProjectContentItems, isString, isTileLayerService, parseJwt, promiseAllIgnoreErrors, stripUselessSlashes, toFormData, unique };
|
|
7466
8164
|
//# sourceMappingURL=api.esm.js.map
|