@evergis/api 3.0.53 → 3.0.57
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 +4 -2
- package/dist/__generated__/ProjectsService.d.ts +2 -2
- package/dist/__generated__/SecurityService.d.ts +1 -1
- package/dist/__generated__/StaticContentService.d.ts +12 -1
- package/dist/__generated__/TablesService.d.ts +13 -2
- package/dist/__generated__/WmsServerService.d.ts +20 -0
- package/dist/__generated__/data-contracts.d.ts +92 -3
- package/dist/api.cjs.development.js +258 -153
- 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 +258 -154
- package/dist/api.esm.js.map +1 -1
- package/dist/services/PortalSettings.d.ts +13 -0
- package/dist/services/index.d.ts +1 -0
- package/package.json +2 -2
|
@@ -191,11 +191,11 @@ function _get(target, property, receiver) {
|
|
|
191
191
|
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
192
192
|
* ---------------------------------------------------------------
|
|
193
193
|
*/
|
|
194
|
-
let Service = function Service(http) {
|
|
194
|
+
let Service = /*#__PURE__*/_createClass(function Service(http) {
|
|
195
195
|
_classCallCheck(this, Service);
|
|
196
196
|
|
|
197
197
|
this.http = http;
|
|
198
|
-
};
|
|
198
|
+
});
|
|
199
199
|
|
|
200
200
|
/**
|
|
201
201
|
* @title Spatial Processing Core API
|
|
@@ -216,7 +216,7 @@ let BulkOperationsService = /*#__PURE__*/function (_Service) {
|
|
|
216
216
|
|
|
217
217
|
_createClass(BulkOperationsService, [{
|
|
218
218
|
key: "batchUpdateCatalogResources",
|
|
219
|
-
|
|
219
|
+
value:
|
|
220
220
|
/**
|
|
221
221
|
* No description
|
|
222
222
|
*
|
|
@@ -227,7 +227,7 @@ let BulkOperationsService = /*#__PURE__*/function (_Service) {
|
|
|
227
227
|
* @request PUT:/bulk/catalog/updateResources
|
|
228
228
|
* @response `200` Success
|
|
229
229
|
*/
|
|
230
|
-
|
|
230
|
+
function batchUpdateCatalogResources(data) {
|
|
231
231
|
return this.http.put("/bulk/catalog/updateResources", data).json();
|
|
232
232
|
}
|
|
233
233
|
/**
|
|
@@ -338,7 +338,7 @@ let SecurityService = /*#__PURE__*/function (_Service) {
|
|
|
338
338
|
|
|
339
339
|
_createClass(SecurityService, [{
|
|
340
340
|
key: "findUserByNameByRoles",
|
|
341
|
-
|
|
341
|
+
value:
|
|
342
342
|
/**
|
|
343
343
|
* No description
|
|
344
344
|
*
|
|
@@ -349,7 +349,7 @@ let SecurityService = /*#__PURE__*/function (_Service) {
|
|
|
349
349
|
* @request GET:/security/findUsersWithRoles
|
|
350
350
|
* @response `200` Success
|
|
351
351
|
*/
|
|
352
|
-
|
|
352
|
+
function findUserByNameByRoles(query) {
|
|
353
353
|
return this.http.get("/security/findUsersWithRoles", query).json();
|
|
354
354
|
}
|
|
355
355
|
/**
|
|
@@ -358,7 +358,7 @@ let SecurityService = /*#__PURE__*/function (_Service) {
|
|
|
358
358
|
* @tags SecurityService
|
|
359
359
|
* @name FindUserByName
|
|
360
360
|
* @operationId SecurityServiceController_FindUserByName
|
|
361
|
-
* @summary Returns the list of users found by username
|
|
361
|
+
* @summary Returns the list of users found by username.
|
|
362
362
|
* @request GET:/security/users
|
|
363
363
|
* @response `200` Success
|
|
364
364
|
*/
|
|
@@ -582,7 +582,7 @@ let StaticContentService = /*#__PURE__*/function (_Service) {
|
|
|
582
582
|
|
|
583
583
|
_createClass(StaticContentService, [{
|
|
584
584
|
key: "downloadFile",
|
|
585
|
-
|
|
585
|
+
value:
|
|
586
586
|
/**
|
|
587
587
|
* No description
|
|
588
588
|
*
|
|
@@ -593,7 +593,7 @@ let StaticContentService = /*#__PURE__*/function (_Service) {
|
|
|
593
593
|
* @request GET:/upload/file
|
|
594
594
|
* @response `200` Success
|
|
595
595
|
*/
|
|
596
|
-
|
|
596
|
+
function downloadFile(query) {
|
|
597
597
|
return this.http.get("/upload/file", query).blob();
|
|
598
598
|
}
|
|
599
599
|
/**
|
|
@@ -612,6 +612,22 @@ let StaticContentService = /*#__PURE__*/function (_Service) {
|
|
|
612
612
|
value: function uploadFile(data) {
|
|
613
613
|
return this.http.post("/upload/file", toFormData(data)).json();
|
|
614
614
|
}
|
|
615
|
+
/**
|
|
616
|
+
* No description
|
|
617
|
+
*
|
|
618
|
+
* @tags StaticContentService
|
|
619
|
+
* @name DeleteFile
|
|
620
|
+
* @operationId StaticContentServiceController_DeleteFile
|
|
621
|
+
* @summary Delete file from temporary session storage.
|
|
622
|
+
* @request DELETE:/upload/file
|
|
623
|
+
* @response `200` Success
|
|
624
|
+
*/
|
|
625
|
+
|
|
626
|
+
}, {
|
|
627
|
+
key: "deleteFile",
|
|
628
|
+
value: function deleteFile(query) {
|
|
629
|
+
return this.http.delete("/upload/file", null, query).then(() => {});
|
|
630
|
+
}
|
|
615
631
|
}]);
|
|
616
632
|
|
|
617
633
|
return StaticContentService;
|
|
@@ -660,7 +676,7 @@ let ImportService = /*#__PURE__*/function (_Service) {
|
|
|
660
676
|
|
|
661
677
|
_createClass(ImportService, [{
|
|
662
678
|
key: "getDataSchema",
|
|
663
|
-
|
|
679
|
+
value:
|
|
664
680
|
/**
|
|
665
681
|
* No description
|
|
666
682
|
*
|
|
@@ -671,7 +687,7 @@ let ImportService = /*#__PURE__*/function (_Service) {
|
|
|
671
687
|
* @request GET:/import/dataSchema
|
|
672
688
|
* @response `200` Success
|
|
673
689
|
*/
|
|
674
|
-
|
|
690
|
+
function getDataSchema(query) {
|
|
675
691
|
return this.http.get("/import/dataSchema", query).json();
|
|
676
692
|
}
|
|
677
693
|
/**
|
|
@@ -738,7 +754,7 @@ let Import = /*#__PURE__*/function (_ImportService) {
|
|
|
738
754
|
return _super.apply(this, arguments);
|
|
739
755
|
}
|
|
740
756
|
|
|
741
|
-
return Import;
|
|
757
|
+
return _createClass(Import);
|
|
742
758
|
}(ImportService);
|
|
743
759
|
|
|
744
760
|
/**
|
|
@@ -760,7 +776,7 @@ let NotificationService = /*#__PURE__*/function (_Service) {
|
|
|
760
776
|
|
|
761
777
|
_createClass(NotificationService, [{
|
|
762
778
|
key: "getSubscriptionList",
|
|
763
|
-
|
|
779
|
+
value:
|
|
764
780
|
/**
|
|
765
781
|
* No description
|
|
766
782
|
*
|
|
@@ -771,7 +787,7 @@ let NotificationService = /*#__PURE__*/function (_Service) {
|
|
|
771
787
|
* @request GET:/notifications/subscribes
|
|
772
788
|
* @response `200` Success
|
|
773
789
|
*/
|
|
774
|
-
|
|
790
|
+
function getSubscriptionList() {
|
|
775
791
|
return this.http.get("/notifications/subscribes").json();
|
|
776
792
|
}
|
|
777
793
|
/**
|
|
@@ -923,6 +939,18 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
|
|
|
923
939
|
|
|
924
940
|
|
|
925
941
|
_createClass(Notification, [{
|
|
942
|
+
key: "connectStatus",
|
|
943
|
+
get: function get() {
|
|
944
|
+
return this._connectStatus;
|
|
945
|
+
} // @ts-ignore
|
|
946
|
+
,
|
|
947
|
+
set: function set(connectStatus) {
|
|
948
|
+
this.emitter.emit("ConnectionStatus"
|
|
949
|
+
/* ConnectionStatus */
|
|
950
|
+
, new NotificationEvent(connectStatus));
|
|
951
|
+
this._connectStatus = connectStatus;
|
|
952
|
+
}
|
|
953
|
+
}, {
|
|
926
954
|
key: "on",
|
|
927
955
|
value: function on(tag, handler) {
|
|
928
956
|
this.emitter.on(tag, handler);
|
|
@@ -974,27 +1002,15 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
|
|
|
974
1002
|
console.warn('Connection to WebSocket not allowed. wsUrl not provided');
|
|
975
1003
|
}
|
|
976
1004
|
}
|
|
977
|
-
}, {
|
|
978
|
-
key: "connectStatus",
|
|
979
|
-
get: function get() {
|
|
980
|
-
return this._connectStatus;
|
|
981
|
-
} // @ts-ignore
|
|
982
|
-
,
|
|
983
|
-
set: function set(connectStatus) {
|
|
984
|
-
this.emitter.emit("ConnectionStatus"
|
|
985
|
-
/* ConnectionStatus */
|
|
986
|
-
, new NotificationEvent(connectStatus));
|
|
987
|
-
this._connectStatus = connectStatus;
|
|
988
|
-
}
|
|
989
1005
|
}]);
|
|
990
1006
|
|
|
991
1007
|
return Notification;
|
|
992
1008
|
}(NotificationService);
|
|
993
|
-
let NotificationEvent = function NotificationEvent(data) {
|
|
1009
|
+
let NotificationEvent = /*#__PURE__*/_createClass(function NotificationEvent(data) {
|
|
994
1010
|
_classCallCheck(this, NotificationEvent);
|
|
995
1011
|
|
|
996
1012
|
this.data = data;
|
|
997
|
-
};
|
|
1013
|
+
});
|
|
998
1014
|
|
|
999
1015
|
/**
|
|
1000
1016
|
* @title Spatial Processing Core API
|
|
@@ -1015,7 +1031,7 @@ let SchedulerService = /*#__PURE__*/function (_Service) {
|
|
|
1015
1031
|
|
|
1016
1032
|
_createClass(SchedulerService, [{
|
|
1017
1033
|
key: "getTaskList",
|
|
1018
|
-
|
|
1034
|
+
value:
|
|
1019
1035
|
/**
|
|
1020
1036
|
* No description
|
|
1021
1037
|
*
|
|
@@ -1026,7 +1042,7 @@ let SchedulerService = /*#__PURE__*/function (_Service) {
|
|
|
1026
1042
|
* @request GET:/scheduler/tasks
|
|
1027
1043
|
* @response `200` Success
|
|
1028
1044
|
*/
|
|
1029
|
-
|
|
1045
|
+
function getTaskList(query) {
|
|
1030
1046
|
return this.http.get("/scheduler/tasks", query).json();
|
|
1031
1047
|
}
|
|
1032
1048
|
/**
|
|
@@ -1429,6 +1445,24 @@ let Scheduler = /*#__PURE__*/function (_SchedulerService) {
|
|
|
1429
1445
|
return Scheduler;
|
|
1430
1446
|
}(SchedulerService);
|
|
1431
1447
|
|
|
1448
|
+
const _excluded = ["name"],
|
|
1449
|
+
_excluded2 = ["name"],
|
|
1450
|
+
_excluded3 = ["name"],
|
|
1451
|
+
_excluded4 = ["name", "id"],
|
|
1452
|
+
_excluded5 = ["name", "id"],
|
|
1453
|
+
_excluded6 = ["name", "id"],
|
|
1454
|
+
_excluded7 = ["name", "x", "y", "z"],
|
|
1455
|
+
_excluded8 = ["name"],
|
|
1456
|
+
_excluded9 = ["name"],
|
|
1457
|
+
_excluded10 = ["name"],
|
|
1458
|
+
_excluded11 = ["name"],
|
|
1459
|
+
_excluded12 = ["name"],
|
|
1460
|
+
_excluded13 = ["name"],
|
|
1461
|
+
_excluded14 = ["name"],
|
|
1462
|
+
_excluded15 = ["name"],
|
|
1463
|
+
_excluded16 = ["name"],
|
|
1464
|
+
_excluded17 = ["name"],
|
|
1465
|
+
_excluded18 = ["layerName"];
|
|
1432
1466
|
/**
|
|
1433
1467
|
* @title Spatial Processing Core API
|
|
1434
1468
|
* @version v0.6.0
|
|
@@ -1448,7 +1482,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
1448
1482
|
|
|
1449
1483
|
_createClass(LayersService, [{
|
|
1450
1484
|
key: "getLayersList",
|
|
1451
|
-
|
|
1485
|
+
value:
|
|
1452
1486
|
/**
|
|
1453
1487
|
* No description
|
|
1454
1488
|
*
|
|
@@ -1459,7 +1493,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
1459
1493
|
* @request GET:/layers
|
|
1460
1494
|
* @response `200` Success
|
|
1461
1495
|
*/
|
|
1462
|
-
|
|
1496
|
+
function getLayersList(query) {
|
|
1463
1497
|
return this.http.get("/layers", query).json();
|
|
1464
1498
|
}
|
|
1465
1499
|
/**
|
|
@@ -1794,7 +1828,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
1794
1828
|
let {
|
|
1795
1829
|
name
|
|
1796
1830
|
} = _ref,
|
|
1797
|
-
query = _objectWithoutPropertiesLoose(_ref,
|
|
1831
|
+
query = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
1798
1832
|
|
|
1799
1833
|
return this.http.get("/layers/" + name + "/features", query).json();
|
|
1800
1834
|
}
|
|
@@ -1815,7 +1849,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
1815
1849
|
let {
|
|
1816
1850
|
name
|
|
1817
1851
|
} = _ref2,
|
|
1818
|
-
query = _objectWithoutPropertiesLoose(_ref2,
|
|
1852
|
+
query = _objectWithoutPropertiesLoose(_ref2, _excluded2);
|
|
1819
1853
|
|
|
1820
1854
|
return this.http.delete("/layers/" + name + "/features", null, query).json();
|
|
1821
1855
|
}
|
|
@@ -1868,7 +1902,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
1868
1902
|
let {
|
|
1869
1903
|
name
|
|
1870
1904
|
} = _ref3,
|
|
1871
|
-
query = _objectWithoutPropertiesLoose(_ref3,
|
|
1905
|
+
query = _objectWithoutPropertiesLoose(_ref3, _excluded3);
|
|
1872
1906
|
|
|
1873
1907
|
return this.http.get("/layers/" + name + "/features/contains", query).json();
|
|
1874
1908
|
}
|
|
@@ -1890,7 +1924,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
1890
1924
|
name,
|
|
1891
1925
|
id
|
|
1892
1926
|
} = _ref4,
|
|
1893
|
-
query = _objectWithoutPropertiesLoose(_ref4,
|
|
1927
|
+
query = _objectWithoutPropertiesLoose(_ref4, _excluded4);
|
|
1894
1928
|
|
|
1895
1929
|
return this.http.get("/layers/" + name + "/features/" + id, query).json();
|
|
1896
1930
|
}
|
|
@@ -1912,7 +1946,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
1912
1946
|
name,
|
|
1913
1947
|
id
|
|
1914
1948
|
} = _ref5,
|
|
1915
|
-
query = _objectWithoutPropertiesLoose(_ref5,
|
|
1949
|
+
query = _objectWithoutPropertiesLoose(_ref5, _excluded5);
|
|
1916
1950
|
|
|
1917
1951
|
return this.http.post("/layers/" + name + "/features/" + id + "/unite", data, query).json();
|
|
1918
1952
|
}
|
|
@@ -1934,7 +1968,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
1934
1968
|
name,
|
|
1935
1969
|
id
|
|
1936
1970
|
} = _ref6,
|
|
1937
|
-
query = _objectWithoutPropertiesLoose(_ref6,
|
|
1971
|
+
query = _objectWithoutPropertiesLoose(_ref6, _excluded6);
|
|
1938
1972
|
|
|
1939
1973
|
return this.http.post("/layers/" + name + "/features/" + id + "/subtract", data, query).json();
|
|
1940
1974
|
}
|
|
@@ -1958,7 +1992,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
1958
1992
|
y,
|
|
1959
1993
|
z
|
|
1960
1994
|
} = _ref7,
|
|
1961
|
-
query = _objectWithoutPropertiesLoose(_ref7,
|
|
1995
|
+
query = _objectWithoutPropertiesLoose(_ref7, _excluded7);
|
|
1962
1996
|
|
|
1963
1997
|
return this.http.createUrl("/layers/" + name + "/tile/" + z + "/" + x + "/" + y, query);
|
|
1964
1998
|
}
|
|
@@ -1979,7 +2013,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
1979
2013
|
let {
|
|
1980
2014
|
name
|
|
1981
2015
|
} = _ref8,
|
|
1982
|
-
query = _objectWithoutPropertiesLoose(_ref8,
|
|
2016
|
+
query = _objectWithoutPropertiesLoose(_ref8, _excluded8);
|
|
1983
2017
|
|
|
1984
2018
|
return this.http.createUrl("/layers/" + name + "/export", query);
|
|
1985
2019
|
}
|
|
@@ -2000,7 +2034,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
2000
2034
|
let {
|
|
2001
2035
|
name
|
|
2002
2036
|
} = _ref9,
|
|
2003
|
-
query = _objectWithoutPropertiesLoose(_ref9,
|
|
2037
|
+
query = _objectWithoutPropertiesLoose(_ref9, _excluded9);
|
|
2004
2038
|
|
|
2005
2039
|
return this.http.get("/layers/" + name + "/extent", query).json();
|
|
2006
2040
|
}
|
|
@@ -2021,7 +2055,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
2021
2055
|
let {
|
|
2022
2056
|
name
|
|
2023
2057
|
} = _ref10,
|
|
2024
|
-
query = _objectWithoutPropertiesLoose(_ref10,
|
|
2058
|
+
query = _objectWithoutPropertiesLoose(_ref10, _excluded10);
|
|
2025
2059
|
|
|
2026
2060
|
return this.http.get("/layers/" + name + "/features/getByGeometry", query).json();
|
|
2027
2061
|
}
|
|
@@ -2042,7 +2076,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
2042
2076
|
let {
|
|
2043
2077
|
name
|
|
2044
2078
|
} = _ref11,
|
|
2045
|
-
query = _objectWithoutPropertiesLoose(_ref11,
|
|
2079
|
+
query = _objectWithoutPropertiesLoose(_ref11, _excluded11);
|
|
2046
2080
|
|
|
2047
2081
|
return this.http.post("/layers/" + name + "/features/getByGeometry", data, query).json();
|
|
2048
2082
|
}
|
|
@@ -2063,7 +2097,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
2063
2097
|
let {
|
|
2064
2098
|
name
|
|
2065
2099
|
} = _ref12,
|
|
2066
|
-
query = _objectWithoutPropertiesLoose(_ref12,
|
|
2100
|
+
query = _objectWithoutPropertiesLoose(_ref12, _excluded12);
|
|
2067
2101
|
|
|
2068
2102
|
return this.http.delete("/layers/" + name + "/features/deleteByIds", null, query).json();
|
|
2069
2103
|
}
|
|
@@ -2084,7 +2118,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
2084
2118
|
let {
|
|
2085
2119
|
name
|
|
2086
2120
|
} = _ref13,
|
|
2087
|
-
query = _objectWithoutPropertiesLoose(_ref13,
|
|
2121
|
+
query = _objectWithoutPropertiesLoose(_ref13, _excluded13);
|
|
2088
2122
|
|
|
2089
2123
|
return this.http.get("/layers/" + name + "/features/getByGeometryByClick", query).json();
|
|
2090
2124
|
}
|
|
@@ -2105,7 +2139,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
2105
2139
|
let {
|
|
2106
2140
|
name
|
|
2107
2141
|
} = _ref14,
|
|
2108
|
-
query = _objectWithoutPropertiesLoose(_ref14,
|
|
2142
|
+
query = _objectWithoutPropertiesLoose(_ref14, _excluded14);
|
|
2109
2143
|
|
|
2110
2144
|
return this.http.get("/layers/" + name + "/classify", query).json();
|
|
2111
2145
|
}
|
|
@@ -2126,7 +2160,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
2126
2160
|
let {
|
|
2127
2161
|
name
|
|
2128
2162
|
} = _ref15,
|
|
2129
|
-
query = _objectWithoutPropertiesLoose(_ref15,
|
|
2163
|
+
query = _objectWithoutPropertiesLoose(_ref15, _excluded15);
|
|
2130
2164
|
|
|
2131
2165
|
return this.http.get("/layers/" + name + "/distincts", query).json();
|
|
2132
2166
|
}
|
|
@@ -2147,7 +2181,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
2147
2181
|
let {
|
|
2148
2182
|
name
|
|
2149
2183
|
} = _ref16,
|
|
2150
|
-
query = _objectWithoutPropertiesLoose(_ref16,
|
|
2184
|
+
query = _objectWithoutPropertiesLoose(_ref16, _excluded16);
|
|
2151
2185
|
|
|
2152
2186
|
return this.http.get("/layers/" + name + "/aggregate-values", query).json();
|
|
2153
2187
|
}
|
|
@@ -2168,7 +2202,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
2168
2202
|
let {
|
|
2169
2203
|
name
|
|
2170
2204
|
} = _ref17,
|
|
2171
|
-
query = _objectWithoutPropertiesLoose(_ref17,
|
|
2205
|
+
query = _objectWithoutPropertiesLoose(_ref17, _excluded17);
|
|
2172
2206
|
|
|
2173
2207
|
return this.http.get("/layers/" + name + "/features/count", query).json();
|
|
2174
2208
|
}
|
|
@@ -2222,7 +2256,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
2222
2256
|
let {
|
|
2223
2257
|
layerName
|
|
2224
2258
|
} = _ref18,
|
|
2225
|
-
query = _objectWithoutPropertiesLoose(_ref18,
|
|
2259
|
+
query = _objectWithoutPropertiesLoose(_ref18, _excluded18);
|
|
2226
2260
|
|
|
2227
2261
|
return this.http.get("/layers/" + layerName + "/validateExpression", query).json();
|
|
2228
2262
|
}
|
|
@@ -2388,6 +2422,7 @@ function notError(v) {
|
|
|
2388
2422
|
return !isError(v);
|
|
2389
2423
|
}
|
|
2390
2424
|
|
|
2425
|
+
const _excluded$1 = ["remote"];
|
|
2391
2426
|
let Layers = /*#__PURE__*/function (_LayersService) {
|
|
2392
2427
|
_inherits(Layers, _LayersService);
|
|
2393
2428
|
|
|
@@ -2427,7 +2462,7 @@ let Layers = /*#__PURE__*/function (_LayersService) {
|
|
|
2427
2462
|
let {
|
|
2428
2463
|
remote
|
|
2429
2464
|
} = _ref,
|
|
2430
|
-
configuration = _objectWithoutPropertiesLoose(_ref,
|
|
2465
|
+
configuration = _objectWithoutPropertiesLoose(_ref, _excluded$1);
|
|
2431
2466
|
|
|
2432
2467
|
if (remote) {
|
|
2433
2468
|
return this.publishRemoteTileService(configuration);
|
|
@@ -2476,6 +2511,10 @@ function isTileLayerService(layer) {
|
|
|
2476
2511
|
return layer.type && /TileService/.test(layer.type);
|
|
2477
2512
|
}
|
|
2478
2513
|
|
|
2514
|
+
const _excluded$2 = ["name"],
|
|
2515
|
+
_excluded2$1 = ["name"],
|
|
2516
|
+
_excluded3$1 = ["name"],
|
|
2517
|
+
_excluded4$1 = ["name"];
|
|
2479
2518
|
/**
|
|
2480
2519
|
* @title Spatial Processing Core API
|
|
2481
2520
|
* @version v0.6.0
|
|
@@ -2495,7 +2534,7 @@ let TablesService = /*#__PURE__*/function (_Service) {
|
|
|
2495
2534
|
|
|
2496
2535
|
_createClass(TablesService, [{
|
|
2497
2536
|
key: "getTableList",
|
|
2498
|
-
|
|
2537
|
+
value:
|
|
2499
2538
|
/**
|
|
2500
2539
|
* No description
|
|
2501
2540
|
*
|
|
@@ -2506,7 +2545,7 @@ let TablesService = /*#__PURE__*/function (_Service) {
|
|
|
2506
2545
|
* @request GET:/tables
|
|
2507
2546
|
* @response `200` Success
|
|
2508
2547
|
*/
|
|
2509
|
-
|
|
2548
|
+
function getTableList(query) {
|
|
2510
2549
|
return this.http.get("/tables", query).json();
|
|
2511
2550
|
}
|
|
2512
2551
|
/**
|
|
@@ -2605,6 +2644,27 @@ let TablesService = /*#__PURE__*/function (_Service) {
|
|
|
2605
2644
|
value: function getTableInfo(name) {
|
|
2606
2645
|
return this.http.get("/tables/" + name).json();
|
|
2607
2646
|
}
|
|
2647
|
+
/**
|
|
2648
|
+
* No description
|
|
2649
|
+
*
|
|
2650
|
+
* @tags Tables
|
|
2651
|
+
* @name GetTableData
|
|
2652
|
+
* @operationId TablesController_GetTableData
|
|
2653
|
+
* @summary Retrieves the data from the table.
|
|
2654
|
+
* @request GET:/tables/{name}/data
|
|
2655
|
+
* @response `200` Success
|
|
2656
|
+
*/
|
|
2657
|
+
|
|
2658
|
+
}, {
|
|
2659
|
+
key: "getTableData",
|
|
2660
|
+
value: function getTableData(_ref) {
|
|
2661
|
+
let {
|
|
2662
|
+
name
|
|
2663
|
+
} = _ref,
|
|
2664
|
+
query = _objectWithoutPropertiesLoose(_ref, _excluded$2);
|
|
2665
|
+
|
|
2666
|
+
return this.http.get("/tables/" + name + "/data", query).json();
|
|
2667
|
+
}
|
|
2608
2668
|
/**
|
|
2609
2669
|
* No description
|
|
2610
2670
|
*
|
|
@@ -2618,11 +2678,11 @@ let TablesService = /*#__PURE__*/function (_Service) {
|
|
|
2618
2678
|
|
|
2619
2679
|
}, {
|
|
2620
2680
|
key: "updateTableData",
|
|
2621
|
-
value: function updateTableData(
|
|
2681
|
+
value: function updateTableData(_ref2, data) {
|
|
2622
2682
|
let {
|
|
2623
2683
|
name
|
|
2624
|
-
} =
|
|
2625
|
-
query = _objectWithoutPropertiesLoose(
|
|
2684
|
+
} = _ref2,
|
|
2685
|
+
query = _objectWithoutPropertiesLoose(_ref2, _excluded2$1);
|
|
2626
2686
|
|
|
2627
2687
|
return this.http.patch("/tables/" + name + "/data", data, query).then(() => {});
|
|
2628
2688
|
}
|
|
@@ -2639,11 +2699,11 @@ let TablesService = /*#__PURE__*/function (_Service) {
|
|
|
2639
2699
|
|
|
2640
2700
|
}, {
|
|
2641
2701
|
key: "deleteTableData",
|
|
2642
|
-
value: function deleteTableData(
|
|
2702
|
+
value: function deleteTableData(_ref3) {
|
|
2643
2703
|
let {
|
|
2644
2704
|
name
|
|
2645
|
-
} =
|
|
2646
|
-
query = _objectWithoutPropertiesLoose(
|
|
2705
|
+
} = _ref3,
|
|
2706
|
+
query = _objectWithoutPropertiesLoose(_ref3, _excluded3$1);
|
|
2647
2707
|
|
|
2648
2708
|
return this.http.delete("/tables/" + name + "/data", null, query).then(() => {});
|
|
2649
2709
|
}
|
|
@@ -2660,11 +2720,11 @@ let TablesService = /*#__PURE__*/function (_Service) {
|
|
|
2660
2720
|
|
|
2661
2721
|
}, {
|
|
2662
2722
|
key: "getUniqueDataRows",
|
|
2663
|
-
value: function getUniqueDataRows(
|
|
2723
|
+
value: function getUniqueDataRows(_ref4) {
|
|
2664
2724
|
let {
|
|
2665
2725
|
name
|
|
2666
|
-
} =
|
|
2667
|
-
query = _objectWithoutPropertiesLoose(
|
|
2726
|
+
} = _ref4,
|
|
2727
|
+
query = _objectWithoutPropertiesLoose(_ref4, _excluded4$1);
|
|
2668
2728
|
|
|
2669
2729
|
return this.http.get("/tables/" + name + "/data/unique-values", query).json();
|
|
2670
2730
|
}
|
|
@@ -2960,7 +3020,7 @@ let ProjectsService = /*#__PURE__*/function (_Service) {
|
|
|
2960
3020
|
|
|
2961
3021
|
_createClass(ProjectsService, [{
|
|
2962
3022
|
key: "getProjectLayersExtendedInfo",
|
|
2963
|
-
|
|
3023
|
+
value:
|
|
2964
3024
|
/**
|
|
2965
3025
|
* No description
|
|
2966
3026
|
*
|
|
@@ -2971,7 +3031,7 @@ let ProjectsService = /*#__PURE__*/function (_Service) {
|
|
|
2971
3031
|
* @request GET:/projects/{name}/extended-info
|
|
2972
3032
|
* @response `200` Success
|
|
2973
3033
|
*/
|
|
2974
|
-
|
|
3034
|
+
function getProjectLayersExtendedInfo(name) {
|
|
2975
3035
|
return this.http.get("/projects/" + name + "/extended-info").json();
|
|
2976
3036
|
}
|
|
2977
3037
|
/**
|
|
@@ -3451,7 +3511,7 @@ let StyleService = /*#__PURE__*/function (_Service) {
|
|
|
3451
3511
|
|
|
3452
3512
|
_createClass(StyleService, [{
|
|
3453
3513
|
key: "getStyle",
|
|
3454
|
-
|
|
3514
|
+
value:
|
|
3455
3515
|
/**
|
|
3456
3516
|
* No description
|
|
3457
3517
|
*
|
|
@@ -3462,7 +3522,7 @@ let StyleService = /*#__PURE__*/function (_Service) {
|
|
|
3462
3522
|
* @request GET:/styles/{id}
|
|
3463
3523
|
* @response `200` Success
|
|
3464
3524
|
*/
|
|
3465
|
-
|
|
3525
|
+
function getStyle(id) {
|
|
3466
3526
|
return this.http.get("/styles/" + id).json();
|
|
3467
3527
|
}
|
|
3468
3528
|
/**
|
|
@@ -3529,9 +3589,12 @@ let Styles = /*#__PURE__*/function (_StyleService) {
|
|
|
3529
3589
|
return _super.apply(this, arguments);
|
|
3530
3590
|
}
|
|
3531
3591
|
|
|
3532
|
-
return Styles;
|
|
3592
|
+
return _createClass(Styles);
|
|
3533
3593
|
}(StyleService);
|
|
3534
3594
|
|
|
3595
|
+
const _excluded$3 = ["providerName"],
|
|
3596
|
+
_excluded2$2 = ["providerName"],
|
|
3597
|
+
_excluded3$2 = ["providerName"];
|
|
3535
3598
|
/**
|
|
3536
3599
|
* @title Spatial Processing Core API
|
|
3537
3600
|
* @version v0.6.0
|
|
@@ -3551,7 +3614,7 @@ let GeocodeService = /*#__PURE__*/function (_Service) {
|
|
|
3551
3614
|
|
|
3552
3615
|
_createClass(GeocodeService, [{
|
|
3553
3616
|
key: "geocode",
|
|
3554
|
-
|
|
3617
|
+
value:
|
|
3555
3618
|
/**
|
|
3556
3619
|
* No description
|
|
3557
3620
|
*
|
|
@@ -3562,11 +3625,11 @@ let GeocodeService = /*#__PURE__*/function (_Service) {
|
|
|
3562
3625
|
* @request GET:/geocode/{providerName}
|
|
3563
3626
|
* @response `200` Success
|
|
3564
3627
|
*/
|
|
3565
|
-
|
|
3628
|
+
function geocode(_ref) {
|
|
3566
3629
|
let {
|
|
3567
3630
|
providerName
|
|
3568
3631
|
} = _ref,
|
|
3569
|
-
query = _objectWithoutPropertiesLoose(_ref,
|
|
3632
|
+
query = _objectWithoutPropertiesLoose(_ref, _excluded$3);
|
|
3570
3633
|
|
|
3571
3634
|
return this.http.get("/geocode/" + providerName, query).json();
|
|
3572
3635
|
}
|
|
@@ -3587,7 +3650,7 @@ let GeocodeService = /*#__PURE__*/function (_Service) {
|
|
|
3587
3650
|
let {
|
|
3588
3651
|
providerName
|
|
3589
3652
|
} = _ref2,
|
|
3590
|
-
query = _objectWithoutPropertiesLoose(_ref2,
|
|
3653
|
+
query = _objectWithoutPropertiesLoose(_ref2, _excluded2$2);
|
|
3591
3654
|
|
|
3592
3655
|
return this.http.get("/geocode/" + providerName + "/geocodeByPoint", query).json();
|
|
3593
3656
|
}
|
|
@@ -3608,7 +3671,7 @@ let GeocodeService = /*#__PURE__*/function (_Service) {
|
|
|
3608
3671
|
let {
|
|
3609
3672
|
providerName
|
|
3610
3673
|
} = _ref3,
|
|
3611
|
-
query = _objectWithoutPropertiesLoose(_ref3,
|
|
3674
|
+
query = _objectWithoutPropertiesLoose(_ref3, _excluded3$2);
|
|
3612
3675
|
|
|
3613
3676
|
return this.http.get("/geocode/" + providerName + "/suggest", query).json();
|
|
3614
3677
|
}
|
|
@@ -3648,6 +3711,7 @@ let Geocode = /*#__PURE__*/function (_GeocodeService) {
|
|
|
3648
3711
|
return Geocode;
|
|
3649
3712
|
}(GeocodeService);
|
|
3650
3713
|
|
|
3714
|
+
const _excluded$4 = ["resourceType"];
|
|
3651
3715
|
/**
|
|
3652
3716
|
* @title Spatial Processing Core API
|
|
3653
3717
|
* @version v0.6.0
|
|
@@ -3667,7 +3731,7 @@ let ResourceCatalogService = /*#__PURE__*/function (_Service) {
|
|
|
3667
3731
|
|
|
3668
3732
|
_createClass(ResourceCatalogService, [{
|
|
3669
3733
|
key: "getProjects",
|
|
3670
|
-
|
|
3734
|
+
value:
|
|
3671
3735
|
/**
|
|
3672
3736
|
* No description
|
|
3673
3737
|
*
|
|
@@ -3678,7 +3742,7 @@ let ResourceCatalogService = /*#__PURE__*/function (_Service) {
|
|
|
3678
3742
|
* @request GET:/resources/projects
|
|
3679
3743
|
* @response `200` Success
|
|
3680
3744
|
*/
|
|
3681
|
-
|
|
3745
|
+
function getProjects(query) {
|
|
3682
3746
|
return this.http.get("/resources/projects", query).json();
|
|
3683
3747
|
}
|
|
3684
3748
|
/**
|
|
@@ -3858,7 +3922,7 @@ let ResourceCatalogService = /*#__PURE__*/function (_Service) {
|
|
|
3858
3922
|
let {
|
|
3859
3923
|
resourceType
|
|
3860
3924
|
} = _ref,
|
|
3861
|
-
query = _objectWithoutPropertiesLoose(_ref,
|
|
3925
|
+
query = _objectWithoutPropertiesLoose(_ref, _excluded$4);
|
|
3862
3926
|
|
|
3863
3927
|
return this.http.delete("/resources/" + resourceType, null, query).then(() => {});
|
|
3864
3928
|
}
|
|
@@ -3910,9 +3974,11 @@ let ResourceCatalog = /*#__PURE__*/function (_ResourceCatalogServi) {
|
|
|
3910
3974
|
return _super.apply(this, arguments);
|
|
3911
3975
|
}
|
|
3912
3976
|
|
|
3913
|
-
return ResourceCatalog;
|
|
3977
|
+
return _createClass(ResourceCatalog);
|
|
3914
3978
|
}(ResourceCatalogService);
|
|
3915
3979
|
|
|
3980
|
+
const _excluded$5 = ["name"],
|
|
3981
|
+
_excluded2$3 = ["name"];
|
|
3916
3982
|
/**
|
|
3917
3983
|
* @title Spatial Processing Core API
|
|
3918
3984
|
* @version v0.6.0
|
|
@@ -3932,7 +3998,7 @@ let ToolsService = /*#__PURE__*/function (_Service) {
|
|
|
3932
3998
|
|
|
3933
3999
|
_createClass(ToolsService, [{
|
|
3934
4000
|
key: "getTools",
|
|
3935
|
-
|
|
4001
|
+
value:
|
|
3936
4002
|
/**
|
|
3937
4003
|
* No description
|
|
3938
4004
|
*
|
|
@@ -3943,7 +4009,7 @@ let ToolsService = /*#__PURE__*/function (_Service) {
|
|
|
3943
4009
|
* @request GET:/tools
|
|
3944
4010
|
* @response `200` Success
|
|
3945
4011
|
*/
|
|
3946
|
-
|
|
4012
|
+
function getTools(query) {
|
|
3947
4013
|
return this.http.get("/tools", query).json();
|
|
3948
4014
|
}
|
|
3949
4015
|
/**
|
|
@@ -4301,7 +4367,7 @@ let ToolsService = /*#__PURE__*/function (_Service) {
|
|
|
4301
4367
|
let {
|
|
4302
4368
|
name
|
|
4303
4369
|
} = _ref,
|
|
4304
|
-
query = _objectWithoutPropertiesLoose(_ref,
|
|
4370
|
+
query = _objectWithoutPropertiesLoose(_ref, _excluded$5);
|
|
4305
4371
|
|
|
4306
4372
|
return this.http.post("/tools/" + name + "/evaluate", data, query).json();
|
|
4307
4373
|
}
|
|
@@ -4323,7 +4389,7 @@ let ToolsService = /*#__PURE__*/function (_Service) {
|
|
|
4323
4389
|
let {
|
|
4324
4390
|
name
|
|
4325
4391
|
} = _ref2,
|
|
4326
|
-
query = _objectWithoutPropertiesLoose(_ref2,
|
|
4392
|
+
query = _objectWithoutPropertiesLoose(_ref2, _excluded2$3);
|
|
4327
4393
|
|
|
4328
4394
|
return this.http.post("/tools/" + name + "/run", data, query).json();
|
|
4329
4395
|
}
|
|
@@ -4407,7 +4473,7 @@ let Tools = /*#__PURE__*/function (_ToolsService) {
|
|
|
4407
4473
|
return _super.apply(this, arguments);
|
|
4408
4474
|
}
|
|
4409
4475
|
|
|
4410
|
-
return Tools;
|
|
4476
|
+
return _createClass(Tools);
|
|
4411
4477
|
}(ToolsService);
|
|
4412
4478
|
|
|
4413
4479
|
/**
|
|
@@ -4429,7 +4495,7 @@ let GeneralService = /*#__PURE__*/function (_Service) {
|
|
|
4429
4495
|
|
|
4430
4496
|
_createClass(GeneralService, [{
|
|
4431
4497
|
key: "getServerInfo",
|
|
4432
|
-
|
|
4498
|
+
value:
|
|
4433
4499
|
/**
|
|
4434
4500
|
* No description
|
|
4435
4501
|
*
|
|
@@ -4440,7 +4506,7 @@ let GeneralService = /*#__PURE__*/function (_Service) {
|
|
|
4440
4506
|
* @request GET:/
|
|
4441
4507
|
* @response `200` Success
|
|
4442
4508
|
*/
|
|
4443
|
-
|
|
4509
|
+
function getServerInfo() {
|
|
4444
4510
|
return this.http.get("/").json();
|
|
4445
4511
|
}
|
|
4446
4512
|
/**
|
|
@@ -4491,7 +4557,7 @@ let General = /*#__PURE__*/function (_GeneralService) {
|
|
|
4491
4557
|
return _super.apply(this, arguments);
|
|
4492
4558
|
}
|
|
4493
4559
|
|
|
4494
|
-
return General;
|
|
4560
|
+
return _createClass(General);
|
|
4495
4561
|
}(GeneralService);
|
|
4496
4562
|
|
|
4497
4563
|
/**
|
|
@@ -4513,7 +4579,7 @@ let NamespaceService = /*#__PURE__*/function (_Service) {
|
|
|
4513
4579
|
|
|
4514
4580
|
_createClass(NamespaceService, [{
|
|
4515
4581
|
key: "getNamespaces",
|
|
4516
|
-
|
|
4582
|
+
value:
|
|
4517
4583
|
/**
|
|
4518
4584
|
* No description
|
|
4519
4585
|
*
|
|
@@ -4524,7 +4590,7 @@ let NamespaceService = /*#__PURE__*/function (_Service) {
|
|
|
4524
4590
|
* @request GET:/namespaces
|
|
4525
4591
|
* @response `200` Success
|
|
4526
4592
|
*/
|
|
4527
|
-
|
|
4593
|
+
function getNamespaces(query) {
|
|
4528
4594
|
return this.http.get("/namespaces", query).json();
|
|
4529
4595
|
}
|
|
4530
4596
|
/**
|
|
@@ -4591,7 +4657,7 @@ let Namespace = /*#__PURE__*/function (_NamespaceService) {
|
|
|
4591
4657
|
return _super.apply(this, arguments);
|
|
4592
4658
|
}
|
|
4593
4659
|
|
|
4594
|
-
return Namespace;
|
|
4660
|
+
return _createClass(Namespace);
|
|
4595
4661
|
}(NamespaceService);
|
|
4596
4662
|
|
|
4597
4663
|
/**
|
|
@@ -4613,7 +4679,7 @@ let AccountService = /*#__PURE__*/function (_Service) {
|
|
|
4613
4679
|
|
|
4614
4680
|
_createClass(AccountService, [{
|
|
4615
4681
|
key: "getUsers",
|
|
4616
|
-
|
|
4682
|
+
value:
|
|
4617
4683
|
/**
|
|
4618
4684
|
* No description
|
|
4619
4685
|
*
|
|
@@ -4624,7 +4690,7 @@ let AccountService = /*#__PURE__*/function (_Service) {
|
|
|
4624
4690
|
* @request GET:/account/user/list
|
|
4625
4691
|
* @response `200` Success
|
|
4626
4692
|
*/
|
|
4627
|
-
|
|
4693
|
+
function getUsers(query) {
|
|
4628
4694
|
return this.http.get("/account/user/list", query).json();
|
|
4629
4695
|
}
|
|
4630
4696
|
/**
|
|
@@ -5195,6 +5261,13 @@ let Account = /*#__PURE__*/function (_AccountService) {
|
|
|
5195
5261
|
this.userInfo = await this.getUserInfo('');
|
|
5196
5262
|
return this.userInfo;
|
|
5197
5263
|
}
|
|
5264
|
+
}, {
|
|
5265
|
+
key: "username",
|
|
5266
|
+
get: function get() {
|
|
5267
|
+
var _this$userInfo;
|
|
5268
|
+
|
|
5269
|
+
return ((_this$userInfo = this.userInfo) == null ? void 0 : _this$userInfo.username) || '';
|
|
5270
|
+
}
|
|
5198
5271
|
}, {
|
|
5199
5272
|
key: "logout",
|
|
5200
5273
|
value: async function logout() {
|
|
@@ -5218,19 +5291,12 @@ let Account = /*#__PURE__*/function (_AccountService) {
|
|
|
5218
5291
|
password
|
|
5219
5292
|
});
|
|
5220
5293
|
}
|
|
5221
|
-
}, {
|
|
5222
|
-
key: "username",
|
|
5223
|
-
get: function get() {
|
|
5224
|
-
var _this$userInfo;
|
|
5225
|
-
|
|
5226
|
-
return ((_this$userInfo = this.userInfo) == null ? void 0 : _this$userInfo.username) || '';
|
|
5227
|
-
}
|
|
5228
5294
|
}, {
|
|
5229
5295
|
key: "isAuth",
|
|
5230
5296
|
get: function get() {
|
|
5231
5297
|
var _this$userInfo2;
|
|
5232
5298
|
|
|
5233
|
-
return !!((_this$userInfo2 = this.userInfo)
|
|
5299
|
+
return !!((_this$userInfo2 = this.userInfo) != null && _this$userInfo2.username) && this.userInfo.username !== 'public';
|
|
5234
5300
|
}
|
|
5235
5301
|
}, {
|
|
5236
5302
|
key: "user",
|
|
@@ -5271,7 +5337,7 @@ let AccountPreviewService = /*#__PURE__*/function (_Service) {
|
|
|
5271
5337
|
|
|
5272
5338
|
_createClass(AccountPreviewService, [{
|
|
5273
5339
|
key: "getPreview",
|
|
5274
|
-
|
|
5340
|
+
value:
|
|
5275
5341
|
/**
|
|
5276
5342
|
* No description
|
|
5277
5343
|
*
|
|
@@ -5282,7 +5348,7 @@ let AccountPreviewService = /*#__PURE__*/function (_Service) {
|
|
|
5282
5348
|
* @request GET:/account/user/{username}/preview
|
|
5283
5349
|
* @response `200` Success
|
|
5284
5350
|
*/
|
|
5285
|
-
|
|
5351
|
+
function getPreview(username) {
|
|
5286
5352
|
return this.http.createUrl("/account/user/" + username + "/preview");
|
|
5287
5353
|
}
|
|
5288
5354
|
/**
|
|
@@ -5354,6 +5420,28 @@ let AccountPreview = /*#__PURE__*/function (_AccountPreviewServic) {
|
|
|
5354
5420
|
}
|
|
5355
5421
|
|
|
5356
5422
|
_createClass(AccountPreview, [{
|
|
5423
|
+
key: "user",
|
|
5424
|
+
get: function get() {
|
|
5425
|
+
if (this.userInfo) {
|
|
5426
|
+
return this.userInfo;
|
|
5427
|
+
}
|
|
5428
|
+
|
|
5429
|
+
const userInfo = getUserInfo();
|
|
5430
|
+
|
|
5431
|
+
if (userInfo) {
|
|
5432
|
+
this.userInfo = userInfo;
|
|
5433
|
+
}
|
|
5434
|
+
|
|
5435
|
+
return userInfo;
|
|
5436
|
+
}
|
|
5437
|
+
}, {
|
|
5438
|
+
key: "username",
|
|
5439
|
+
get: function get() {
|
|
5440
|
+
var _this$userInfo;
|
|
5441
|
+
|
|
5442
|
+
return ((_this$userInfo = this.userInfo) == null ? void 0 : _this$userInfo.username) || '';
|
|
5443
|
+
}
|
|
5444
|
+
}, {
|
|
5357
5445
|
key: "updateCurrentUserPhoto",
|
|
5358
5446
|
value: async function updateCurrentUserPhoto(file) {
|
|
5359
5447
|
const {
|
|
@@ -5384,28 +5472,6 @@ let AccountPreview = /*#__PURE__*/function (_AccountPreviewServic) {
|
|
|
5384
5472
|
has_profile_photo: false
|
|
5385
5473
|
});
|
|
5386
5474
|
}
|
|
5387
|
-
}, {
|
|
5388
|
-
key: "user",
|
|
5389
|
-
get: function get() {
|
|
5390
|
-
if (this.userInfo) {
|
|
5391
|
-
return this.userInfo;
|
|
5392
|
-
}
|
|
5393
|
-
|
|
5394
|
-
const userInfo = getUserInfo();
|
|
5395
|
-
|
|
5396
|
-
if (userInfo) {
|
|
5397
|
-
this.userInfo = userInfo;
|
|
5398
|
-
}
|
|
5399
|
-
|
|
5400
|
-
return userInfo;
|
|
5401
|
-
}
|
|
5402
|
-
}, {
|
|
5403
|
-
key: "username",
|
|
5404
|
-
get: function get() {
|
|
5405
|
-
var _this$userInfo;
|
|
5406
|
-
|
|
5407
|
-
return ((_this$userInfo = this.userInfo) == null ? void 0 : _this$userInfo.username) || '';
|
|
5408
|
-
}
|
|
5409
5475
|
}]);
|
|
5410
5476
|
|
|
5411
5477
|
return AccountPreview;
|
|
@@ -5430,7 +5496,7 @@ let ExternalProvidersService = /*#__PURE__*/function (_Service) {
|
|
|
5430
5496
|
|
|
5431
5497
|
_createClass(ExternalProvidersService, [{
|
|
5432
5498
|
key: "vkLogin",
|
|
5433
|
-
|
|
5499
|
+
value:
|
|
5434
5500
|
/**
|
|
5435
5501
|
* No description
|
|
5436
5502
|
*
|
|
@@ -5441,7 +5507,7 @@ let ExternalProvidersService = /*#__PURE__*/function (_Service) {
|
|
|
5441
5507
|
* @request GET:/account/external/login/vk
|
|
5442
5508
|
* @response `200` Success
|
|
5443
5509
|
*/
|
|
5444
|
-
|
|
5510
|
+
function vkLogin() {
|
|
5445
5511
|
return this.http.createUrl("/account/external/login/vk");
|
|
5446
5512
|
}
|
|
5447
5513
|
/**
|
|
@@ -5676,6 +5742,7 @@ let External = /*#__PURE__*/function (_ExternalProvidersSer) {
|
|
|
5676
5742
|
return External;
|
|
5677
5743
|
}(ExternalProvidersService);
|
|
5678
5744
|
|
|
5745
|
+
const _excluded$6 = ["idVariable"];
|
|
5679
5746
|
/**
|
|
5680
5747
|
* @title Spatial Processing Core API
|
|
5681
5748
|
* @version v0.6.0
|
|
@@ -5695,7 +5762,7 @@ let ClientSettingsService = /*#__PURE__*/function (_Service) {
|
|
|
5695
5762
|
|
|
5696
5763
|
_createClass(ClientSettingsService, [{
|
|
5697
5764
|
key: "getConfiguration",
|
|
5698
|
-
|
|
5765
|
+
value:
|
|
5699
5766
|
/**
|
|
5700
5767
|
* No description
|
|
5701
5768
|
*
|
|
@@ -5706,7 +5773,7 @@ let ClientSettingsService = /*#__PURE__*/function (_Service) {
|
|
|
5706
5773
|
* @request GET:/settings
|
|
5707
5774
|
* @response `200` Success
|
|
5708
5775
|
*/
|
|
5709
|
-
|
|
5776
|
+
function getConfiguration(query) {
|
|
5710
5777
|
return this.http.get("/settings", query).text();
|
|
5711
5778
|
}
|
|
5712
5779
|
/**
|
|
@@ -5870,7 +5937,7 @@ let ClientSettingsService = /*#__PURE__*/function (_Service) {
|
|
|
5870
5937
|
let {
|
|
5871
5938
|
idVariable
|
|
5872
5939
|
} = _ref,
|
|
5873
|
-
query = _objectWithoutPropertiesLoose(_ref,
|
|
5940
|
+
query = _objectWithoutPropertiesLoose(_ref, _excluded$6);
|
|
5874
5941
|
|
|
5875
5942
|
return this.http.get("/settings/variable/" + idVariable + "/value", query).json();
|
|
5876
5943
|
}
|
|
@@ -6044,6 +6111,41 @@ let ClientSettings = /*#__PURE__*/function (_ClientSettingsServic) {
|
|
|
6044
6111
|
return ClientSettings;
|
|
6045
6112
|
}(ClientSettingsService);
|
|
6046
6113
|
|
|
6114
|
+
let PortalSettings = /*#__PURE__*/function (_ClientSettingsServic) {
|
|
6115
|
+
_inherits(PortalSettings, _ClientSettingsServic);
|
|
6116
|
+
|
|
6117
|
+
var _super = /*#__PURE__*/_createSuper(PortalSettings);
|
|
6118
|
+
|
|
6119
|
+
function PortalSettings() {
|
|
6120
|
+
var _this;
|
|
6121
|
+
|
|
6122
|
+
_classCallCheck(this, PortalSettings);
|
|
6123
|
+
|
|
6124
|
+
_this = _super.apply(this, arguments);
|
|
6125
|
+
_this.config = null;
|
|
6126
|
+
return _this;
|
|
6127
|
+
}
|
|
6128
|
+
|
|
6129
|
+
_createClass(PortalSettings, [{
|
|
6130
|
+
key: "fetchPortalSettings",
|
|
6131
|
+
value: async function fetchPortalSettings(query) {
|
|
6132
|
+
var _config$settings, _config$settings2, _config$settings3;
|
|
6133
|
+
|
|
6134
|
+
const config = JSON.parse(await this.getConfiguration(query));
|
|
6135
|
+
this.config = _extends({}, config || {}, {
|
|
6136
|
+
settings: {
|
|
6137
|
+
withPortal: (config == null ? void 0 : (_config$settings = config.settings) == null ? void 0 : _config$settings.withPortal) === undefined || config.settings.withPortal,
|
|
6138
|
+
allowRegistration: (config == null ? void 0 : (_config$settings2 = config.settings) == null ? void 0 : _config$settings2.allowRegistration) === undefined || config.settings.allowRegistration,
|
|
6139
|
+
allowSNS: (config == null ? void 0 : (_config$settings3 = config.settings) == null ? void 0 : _config$settings3.allowSNS) === undefined || config.settings.allowSNS
|
|
6140
|
+
}
|
|
6141
|
+
});
|
|
6142
|
+
return this.config;
|
|
6143
|
+
}
|
|
6144
|
+
}]);
|
|
6145
|
+
|
|
6146
|
+
return PortalSettings;
|
|
6147
|
+
}(ClientSettingsService);
|
|
6148
|
+
|
|
6047
6149
|
(function (ErrorReason) {
|
|
6048
6150
|
/** When request has status code less than 400 */
|
|
6049
6151
|
ErrorReason["HTTP_OTHER"] = "other";
|
|
@@ -6235,7 +6337,7 @@ let IceRouterService = /*#__PURE__*/function (_Service) {
|
|
|
6235
6337
|
|
|
6236
6338
|
_createClass(IceRouterService, [{
|
|
6237
6339
|
key: "startTask",
|
|
6238
|
-
|
|
6340
|
+
value:
|
|
6239
6341
|
/**
|
|
6240
6342
|
* No description
|
|
6241
6343
|
*
|
|
@@ -6246,7 +6348,7 @@ let IceRouterService = /*#__PURE__*/function (_Service) {
|
|
|
6246
6348
|
* @request POST:/ice-router/tasks
|
|
6247
6349
|
* @response `200` Success
|
|
6248
6350
|
*/
|
|
6249
|
-
|
|
6351
|
+
function startTask(data) {
|
|
6250
6352
|
return this.http.post("/ice-router/tasks", data).text();
|
|
6251
6353
|
}
|
|
6252
6354
|
/**
|
|
@@ -6281,7 +6383,7 @@ let IceRouter = /*#__PURE__*/function (_IceRouterService) {
|
|
|
6281
6383
|
return _super.apply(this, arguments);
|
|
6282
6384
|
}
|
|
6283
6385
|
|
|
6284
|
-
return IceRouter;
|
|
6386
|
+
return _createClass(IceRouter);
|
|
6285
6387
|
}(IceRouterService);
|
|
6286
6388
|
|
|
6287
6389
|
/**
|
|
@@ -6303,7 +6405,7 @@ let PrintService = /*#__PURE__*/function (_Service) {
|
|
|
6303
6405
|
|
|
6304
6406
|
_createClass(PrintService, [{
|
|
6305
6407
|
key: "print",
|
|
6306
|
-
|
|
6408
|
+
value:
|
|
6307
6409
|
/**
|
|
6308
6410
|
* No description
|
|
6309
6411
|
*
|
|
@@ -6314,7 +6416,7 @@ let PrintService = /*#__PURE__*/function (_Service) {
|
|
|
6314
6416
|
* @request POST:/print/print
|
|
6315
6417
|
* @response `200` Success
|
|
6316
6418
|
*/
|
|
6317
|
-
|
|
6419
|
+
function print(data) {
|
|
6318
6420
|
return this.http.post("/print/print", data).blob();
|
|
6319
6421
|
}
|
|
6320
6422
|
/**
|
|
@@ -6413,7 +6515,7 @@ let Print = /*#__PURE__*/function (_PrintService) {
|
|
|
6413
6515
|
return _super.apply(this, arguments);
|
|
6414
6516
|
}
|
|
6415
6517
|
|
|
6416
|
-
return Print;
|
|
6518
|
+
return _createClass(Print);
|
|
6417
6519
|
}(PrintService);
|
|
6418
6520
|
|
|
6419
6521
|
(function (ApiEvent) {
|
|
@@ -6425,6 +6527,7 @@ let Print = /*#__PURE__*/function (_PrintService) {
|
|
|
6425
6527
|
(function (UrlPath) {
|
|
6426
6528
|
UrlPath["Base"] = "/map";
|
|
6427
6529
|
UrlPath["Shared"] = "/shared";
|
|
6530
|
+
UrlPath["Portal"] = "/portal";
|
|
6428
6531
|
})(exports.UrlPath || (exports.UrlPath = {}));
|
|
6429
6532
|
|
|
6430
6533
|
const apiEventsByResponseStatus = {
|
|
@@ -6495,6 +6598,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
6495
6598
|
_this.namespace = new Namespace(_this.http);
|
|
6496
6599
|
_this.external = new External(_this.http);
|
|
6497
6600
|
_this.clientSettings = new ClientSettings(_this.http);
|
|
6601
|
+
_this.portalSettings = new PortalSettings(_this.http);
|
|
6498
6602
|
_this.iceRouter = new IceRouter(_this.http);
|
|
6499
6603
|
_this.names = new Names({
|
|
6500
6604
|
account: _this.account
|
|
@@ -6666,6 +6770,27 @@ let EvergisDynamicLayer = /*#__PURE__*/function (_DynamicLayer) {
|
|
|
6666
6770
|
|
|
6667
6771
|
|
|
6668
6772
|
_createClass(EvergisDynamicLayer, [{
|
|
6773
|
+
key: "style",
|
|
6774
|
+
get: // @ts-ignore TODO
|
|
6775
|
+
function get() {
|
|
6776
|
+
return this.styleId;
|
|
6777
|
+
} // @ts-ignore TODO
|
|
6778
|
+
,
|
|
6779
|
+
set: function set(styleId) {
|
|
6780
|
+
this.styleId = styleId;
|
|
6781
|
+
this.forceUpdate();
|
|
6782
|
+
}
|
|
6783
|
+
}, {
|
|
6784
|
+
key: "condition",
|
|
6785
|
+
get: // @ts-ignore TODO
|
|
6786
|
+
function get() {
|
|
6787
|
+
return this.conditionQuery;
|
|
6788
|
+
},
|
|
6789
|
+
set: function set(condition) {
|
|
6790
|
+
this.conditionQuery = condition;
|
|
6791
|
+
this.forceUpdate();
|
|
6792
|
+
}
|
|
6793
|
+
}, {
|
|
6669
6794
|
key: "getUrl",
|
|
6670
6795
|
value: function getUrl(bbox, resolution) {
|
|
6671
6796
|
let imgWidth = Math.round((bbox.xMax - bbox.xMin) / resolution);
|
|
@@ -6690,27 +6815,6 @@ let EvergisDynamicLayer = /*#__PURE__*/function (_DynamicLayer) {
|
|
|
6690
6815
|
});
|
|
6691
6816
|
});
|
|
6692
6817
|
}
|
|
6693
|
-
}, {
|
|
6694
|
-
key: "style",
|
|
6695
|
-
set: function set(styleId) {
|
|
6696
|
-
this.styleId = styleId;
|
|
6697
|
-
this.forceUpdate();
|
|
6698
|
-
} // @ts-ignore TODO
|
|
6699
|
-
,
|
|
6700
|
-
get: function get() {
|
|
6701
|
-
return this.styleId;
|
|
6702
|
-
} // @ts-ignore TODO
|
|
6703
|
-
|
|
6704
|
-
}, {
|
|
6705
|
-
key: "condition",
|
|
6706
|
-
set: function set(condition) {
|
|
6707
|
-
this.conditionQuery = condition;
|
|
6708
|
-
this.forceUpdate();
|
|
6709
|
-
} // @ts-ignore TODO
|
|
6710
|
-
,
|
|
6711
|
-
get: function get() {
|
|
6712
|
-
return this.conditionQuery;
|
|
6713
|
-
}
|
|
6714
6818
|
}]);
|
|
6715
6819
|
|
|
6716
6820
|
return EvergisDynamicLayer;
|
|
@@ -7282,6 +7386,7 @@ exports.Names = Names;
|
|
|
7282
7386
|
exports.Namespace = Namespace;
|
|
7283
7387
|
exports.Notification = Notification;
|
|
7284
7388
|
exports.NotificationEvent = NotificationEvent;
|
|
7389
|
+
exports.PortalSettings = PortalSettings;
|
|
7285
7390
|
exports.Projects = Projects;
|
|
7286
7391
|
exports.ResourceCatalog = ResourceCatalog;
|
|
7287
7392
|
exports.Resources = Resources;
|