@evergis/api 4.0.21 → 4.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +20 -20
- package/README.md +21 -21
- package/dist/Api.d.ts +2 -6
- package/dist/__generated__/AccountService.d.ts +13 -1
- package/dist/__generated__/LayersService.d.ts +1 -97
- package/dist/__generated__/ProjectsService.d.ts +2 -2
- package/dist/__generated__/StatisticService.d.ts +4 -40
- package/dist/__generated__/TablesService.d.ts +2 -2
- package/dist/__generated__/WmsServerService.d.ts +2 -2
- package/dist/__generated__/data-contracts.d.ts +297 -734
- package/dist/api.cjs.development.js +84 -954
- 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 +358 -1226
- package/dist/api.esm.js.map +1 -1
- package/dist/services/Feedback.d.ts +0 -2
- package/dist/services/Statistic.d.ts +0 -7
- package/dist/services/VectorTiles.d.ts +0 -1
- package/dist/services/index.d.ts +0 -4
- package/package.json +3 -3
- package/dist/__generated__/ExternalProvidersService.d.ts +0 -140
- package/dist/__generated__/IceRouterService.d.ts +0 -33
- package/dist/__generated__/PrintService.d.ts +0 -81
- package/dist/__generated__/StyleService.d.ts +0 -81
- package/dist/services/External.d.ts +0 -7
- package/dist/services/IceRouter.d.ts +0 -3
- package/dist/services/Print.d.ts +0 -3
- package/dist/services/Styles.d.ts +0 -3
|
@@ -30,9 +30,6 @@ function _defineProperties(target, props) {
|
|
|
30
30
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
31
31
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
32
32
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
33
|
-
Object.defineProperty(Constructor, "prototype", {
|
|
34
|
-
writable: false
|
|
35
|
-
});
|
|
36
33
|
return Constructor;
|
|
37
34
|
}
|
|
38
35
|
|
|
@@ -66,9 +63,6 @@ function _inherits(subClass, superClass) {
|
|
|
66
63
|
configurable: true
|
|
67
64
|
}
|
|
68
65
|
});
|
|
69
|
-
Object.defineProperty(subClass, "prototype", {
|
|
70
|
-
writable: false
|
|
71
|
-
});
|
|
72
66
|
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
73
67
|
}
|
|
74
68
|
|
|
@@ -127,8 +121,6 @@ function _assertThisInitialized(self) {
|
|
|
127
121
|
function _possibleConstructorReturn(self, call) {
|
|
128
122
|
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
129
123
|
return call;
|
|
130
|
-
} else if (call !== void 0) {
|
|
131
|
-
throw new TypeError("Derived constructors may only return object or undefined");
|
|
132
124
|
}
|
|
133
125
|
|
|
134
126
|
return _assertThisInitialized(self);
|
|
@@ -162,7 +154,7 @@ function _superPropBase(object, property) {
|
|
|
162
154
|
return object;
|
|
163
155
|
}
|
|
164
156
|
|
|
165
|
-
function _get() {
|
|
157
|
+
function _get(target, property, receiver) {
|
|
166
158
|
if (typeof Reflect !== "undefined" && Reflect.get) {
|
|
167
159
|
_get = Reflect.get;
|
|
168
160
|
} else {
|
|
@@ -173,14 +165,14 @@ function _get() {
|
|
|
173
165
|
var desc = Object.getOwnPropertyDescriptor(base, property);
|
|
174
166
|
|
|
175
167
|
if (desc.get) {
|
|
176
|
-
return desc.get.call(
|
|
168
|
+
return desc.get.call(receiver);
|
|
177
169
|
}
|
|
178
170
|
|
|
179
171
|
return desc.value;
|
|
180
172
|
};
|
|
181
173
|
}
|
|
182
174
|
|
|
183
|
-
return _get
|
|
175
|
+
return _get(target, property, receiver || target);
|
|
184
176
|
}
|
|
185
177
|
|
|
186
178
|
const API_USER_INFO_KEY = "@evergis/user-info";
|
|
@@ -1466,6 +1458,23 @@ let AccountService = /*#__PURE__*/function (_Service) {
|
|
|
1466
1458
|
value: function removeUser(username) {
|
|
1467
1459
|
return this.http.delete("/account/user/" + username, null).then(() => {});
|
|
1468
1460
|
}
|
|
1461
|
+
/**
|
|
1462
|
+
* No description
|
|
1463
|
+
*
|
|
1464
|
+
* @tags Account
|
|
1465
|
+
* @name CreateNamespace
|
|
1466
|
+
* @operationId AccountController_CreateNamespace
|
|
1467
|
+
* @summary Creates a new namespace.
|
|
1468
|
+
* @request POST:/account/namespace
|
|
1469
|
+
* @secure
|
|
1470
|
+
* @response `200` OK
|
|
1471
|
+
*/
|
|
1472
|
+
|
|
1473
|
+
}, {
|
|
1474
|
+
key: "createNamespace",
|
|
1475
|
+
value: function createNamespace(query) {
|
|
1476
|
+
return this.http.post("/account/namespace", null, query).json();
|
|
1477
|
+
}
|
|
1469
1478
|
/**
|
|
1470
1479
|
* No description
|
|
1471
1480
|
*
|
|
@@ -2603,282 +2612,6 @@ let Eql = /*#__PURE__*/function (_EqlService) {
|
|
|
2603
2612
|
return _createClass(Eql);
|
|
2604
2613
|
}(EqlService);
|
|
2605
2614
|
|
|
2606
|
-
/**
|
|
2607
|
-
* @title Spatial Processing Core API
|
|
2608
|
-
* @version 1.5.1.0
|
|
2609
|
-
* @baseUrl /sp
|
|
2610
|
-
*/
|
|
2611
|
-
|
|
2612
|
-
let ExternalProvidersService = /*#__PURE__*/function (_Service) {
|
|
2613
|
-
_inherits(ExternalProvidersService, _Service);
|
|
2614
|
-
|
|
2615
|
-
var _super = /*#__PURE__*/_createSuper(ExternalProvidersService);
|
|
2616
|
-
|
|
2617
|
-
function ExternalProvidersService() {
|
|
2618
|
-
_classCallCheck(this, ExternalProvidersService);
|
|
2619
|
-
|
|
2620
|
-
return _super.apply(this, arguments);
|
|
2621
|
-
}
|
|
2622
|
-
|
|
2623
|
-
_createClass(ExternalProvidersService, [{
|
|
2624
|
-
key: "vkLogin",
|
|
2625
|
-
value:
|
|
2626
|
-
/**
|
|
2627
|
-
* No description
|
|
2628
|
-
*
|
|
2629
|
-
* @tags ExternalProviders
|
|
2630
|
-
* @name VkLogin
|
|
2631
|
-
* @operationId ExternalProvidersController_VkLogin
|
|
2632
|
-
* @summary The external login by vk.
|
|
2633
|
-
* @request GET:/account/external/login/vk
|
|
2634
|
-
* @secure
|
|
2635
|
-
* @response `200` OK
|
|
2636
|
-
*/
|
|
2637
|
-
function vkLogin() {
|
|
2638
|
-
return this.http.createUrl("/account/external/login/vk");
|
|
2639
|
-
}
|
|
2640
|
-
/**
|
|
2641
|
-
* No description
|
|
2642
|
-
*
|
|
2643
|
-
* @tags ExternalProviders
|
|
2644
|
-
* @name GoogleLogin
|
|
2645
|
-
* @operationId ExternalProvidersController_GoogleLogin
|
|
2646
|
-
* @summary The external login by google.
|
|
2647
|
-
* @request GET:/account/external/login/google
|
|
2648
|
-
* @secure
|
|
2649
|
-
* @response `200` OK
|
|
2650
|
-
*/
|
|
2651
|
-
|
|
2652
|
-
}, {
|
|
2653
|
-
key: "googleLogin",
|
|
2654
|
-
value: function googleLogin() {
|
|
2655
|
-
return this.http.createUrl("/account/external/login/google");
|
|
2656
|
-
}
|
|
2657
|
-
/**
|
|
2658
|
-
* No description
|
|
2659
|
-
*
|
|
2660
|
-
* @tags ExternalProviders
|
|
2661
|
-
* @name FacebookLogin
|
|
2662
|
-
* @operationId ExternalProvidersController_FacebookLogin
|
|
2663
|
-
* @summary The external login by facebook.
|
|
2664
|
-
* @request GET:/account/external/login/facebook
|
|
2665
|
-
* @secure
|
|
2666
|
-
* @response `200` OK
|
|
2667
|
-
*/
|
|
2668
|
-
|
|
2669
|
-
}, {
|
|
2670
|
-
key: "facebookLogin",
|
|
2671
|
-
value: function facebookLogin() {
|
|
2672
|
-
return this.http.createUrl("/account/external/login/facebook");
|
|
2673
|
-
}
|
|
2674
|
-
/**
|
|
2675
|
-
* No description
|
|
2676
|
-
*
|
|
2677
|
-
* @tags ExternalProviders
|
|
2678
|
-
* @name LoginCallback
|
|
2679
|
-
* @operationId ExternalProvidersController_LoginCallback
|
|
2680
|
-
* @summary The external login callback.
|
|
2681
|
-
* @request GET:/account/external/login/callback
|
|
2682
|
-
* @secure
|
|
2683
|
-
* @response `200` OK
|
|
2684
|
-
*/
|
|
2685
|
-
|
|
2686
|
-
}, {
|
|
2687
|
-
key: "loginCallback",
|
|
2688
|
-
value: function loginCallback() {
|
|
2689
|
-
return this.http.get("/account/external/login/callback").then(() => {});
|
|
2690
|
-
}
|
|
2691
|
-
/**
|
|
2692
|
-
* No description
|
|
2693
|
-
*
|
|
2694
|
-
* @tags ExternalProviders
|
|
2695
|
-
* @name UnbindVk
|
|
2696
|
-
* @operationId ExternalProvidersController_UnbindVk
|
|
2697
|
-
* @summary Unbind external login from current user account (google).
|
|
2698
|
-
* @request DELETE:/account/external/unbind/vk
|
|
2699
|
-
* @secure
|
|
2700
|
-
* @response `200` OK
|
|
2701
|
-
*/
|
|
2702
|
-
|
|
2703
|
-
}, {
|
|
2704
|
-
key: "unbindVk",
|
|
2705
|
-
value: function unbindVk() {
|
|
2706
|
-
return this.http.delete("/account/external/unbind/vk", null).then(() => {});
|
|
2707
|
-
}
|
|
2708
|
-
/**
|
|
2709
|
-
* No description
|
|
2710
|
-
*
|
|
2711
|
-
* @tags ExternalProviders
|
|
2712
|
-
* @name UnbindGoogle
|
|
2713
|
-
* @operationId ExternalProvidersController_UnbindGoogle
|
|
2714
|
-
* @summary Unbind external login from current user account (google).
|
|
2715
|
-
* @request DELETE:/account/external/unbind/google
|
|
2716
|
-
* @secure
|
|
2717
|
-
* @response `200` OK
|
|
2718
|
-
*/
|
|
2719
|
-
|
|
2720
|
-
}, {
|
|
2721
|
-
key: "unbindGoogle",
|
|
2722
|
-
value: function unbindGoogle() {
|
|
2723
|
-
return this.http.delete("/account/external/unbind/google", null).then(() => {});
|
|
2724
|
-
}
|
|
2725
|
-
/**
|
|
2726
|
-
* No description
|
|
2727
|
-
*
|
|
2728
|
-
* @tags ExternalProviders
|
|
2729
|
-
* @name UnbindFacebook
|
|
2730
|
-
* @operationId ExternalProvidersController_UnbindFacebook
|
|
2731
|
-
* @summary Unbind external login from current user account (google).
|
|
2732
|
-
* @request DELETE:/account/external/unbind/facebook
|
|
2733
|
-
* @secure
|
|
2734
|
-
* @response `200` OK
|
|
2735
|
-
*/
|
|
2736
|
-
|
|
2737
|
-
}, {
|
|
2738
|
-
key: "unbindFacebook",
|
|
2739
|
-
value: function unbindFacebook() {
|
|
2740
|
-
return this.http.delete("/account/external/unbind/facebook", null).then(() => {});
|
|
2741
|
-
}
|
|
2742
|
-
/**
|
|
2743
|
-
* No description
|
|
2744
|
-
*
|
|
2745
|
-
* @tags ExternalProviders
|
|
2746
|
-
* @name BindVk
|
|
2747
|
-
* @operationId ExternalProvidersController_BindVk
|
|
2748
|
-
* @summary The external login by vk.
|
|
2749
|
-
* @request GET:/account/external/bind/vk
|
|
2750
|
-
* @secure
|
|
2751
|
-
* @response `200` OK
|
|
2752
|
-
*/
|
|
2753
|
-
|
|
2754
|
-
}, {
|
|
2755
|
-
key: "bindVk",
|
|
2756
|
-
value: function bindVk() {
|
|
2757
|
-
return this.http.createUrl("/account/external/bind/vk");
|
|
2758
|
-
}
|
|
2759
|
-
/**
|
|
2760
|
-
* No description
|
|
2761
|
-
*
|
|
2762
|
-
* @tags ExternalProviders
|
|
2763
|
-
* @name BindGoogle
|
|
2764
|
-
* @operationId ExternalProvidersController_BindGoogle
|
|
2765
|
-
* @summary The external login by vk.
|
|
2766
|
-
* @request GET:/account/external/bind/google
|
|
2767
|
-
* @secure
|
|
2768
|
-
* @response `200` OK
|
|
2769
|
-
*/
|
|
2770
|
-
|
|
2771
|
-
}, {
|
|
2772
|
-
key: "bindGoogle",
|
|
2773
|
-
value: function bindGoogle() {
|
|
2774
|
-
return this.http.createUrl("/account/external/bind/google");
|
|
2775
|
-
}
|
|
2776
|
-
/**
|
|
2777
|
-
* No description
|
|
2778
|
-
*
|
|
2779
|
-
* @tags ExternalProviders
|
|
2780
|
-
* @name BindFacebook
|
|
2781
|
-
* @operationId ExternalProvidersController_BindFacebook
|
|
2782
|
-
* @summary The external login by vk.
|
|
2783
|
-
* @request GET:/account/external/bind/facebook
|
|
2784
|
-
* @secure
|
|
2785
|
-
* @response `200` OK
|
|
2786
|
-
*/
|
|
2787
|
-
|
|
2788
|
-
}, {
|
|
2789
|
-
key: "bindFacebook",
|
|
2790
|
-
value: function bindFacebook() {
|
|
2791
|
-
return this.http.createUrl("/account/external/bind/facebook");
|
|
2792
|
-
}
|
|
2793
|
-
/**
|
|
2794
|
-
* No description
|
|
2795
|
-
*
|
|
2796
|
-
* @tags ExternalProviders
|
|
2797
|
-
* @name BindCallback
|
|
2798
|
-
* @operationId ExternalProvidersController_BindCallback
|
|
2799
|
-
* @summary Bind external login to current user account.
|
|
2800
|
-
* @request GET:/account/external/bind/callback
|
|
2801
|
-
* @secure
|
|
2802
|
-
* @response `200` OK
|
|
2803
|
-
*/
|
|
2804
|
-
|
|
2805
|
-
}, {
|
|
2806
|
-
key: "bindCallback",
|
|
2807
|
-
value: function bindCallback() {
|
|
2808
|
-
return this.http.get("/account/external/bind/callback").then(() => {});
|
|
2809
|
-
}
|
|
2810
|
-
}]);
|
|
2811
|
-
|
|
2812
|
-
return ExternalProvidersService;
|
|
2813
|
-
}(Service);
|
|
2814
|
-
|
|
2815
|
-
let External = /*#__PURE__*/function (_ExternalProvidersSer) {
|
|
2816
|
-
_inherits(External, _ExternalProvidersSer);
|
|
2817
|
-
|
|
2818
|
-
var _super = /*#__PURE__*/_createSuper(External);
|
|
2819
|
-
|
|
2820
|
-
function External() {
|
|
2821
|
-
_classCallCheck(this, External);
|
|
2822
|
-
|
|
2823
|
-
return _super.apply(this, arguments);
|
|
2824
|
-
}
|
|
2825
|
-
|
|
2826
|
-
_createClass(External, [{
|
|
2827
|
-
key: "login",
|
|
2828
|
-
value: function login(network) {
|
|
2829
|
-
switch (network) {
|
|
2830
|
-
case 'vk':
|
|
2831
|
-
return this.vkLogin();
|
|
2832
|
-
|
|
2833
|
-
case 'google':
|
|
2834
|
-
return this.googleLogin();
|
|
2835
|
-
|
|
2836
|
-
case 'facebook':
|
|
2837
|
-
return this.facebookLogin();
|
|
2838
|
-
|
|
2839
|
-
default:
|
|
2840
|
-
return '';
|
|
2841
|
-
}
|
|
2842
|
-
}
|
|
2843
|
-
}, {
|
|
2844
|
-
key: "bind",
|
|
2845
|
-
value: function bind(network) {
|
|
2846
|
-
switch (network) {
|
|
2847
|
-
case 'vk':
|
|
2848
|
-
return this.bindVk();
|
|
2849
|
-
|
|
2850
|
-
case 'google':
|
|
2851
|
-
return this.bindGoogle();
|
|
2852
|
-
|
|
2853
|
-
case 'facebook':
|
|
2854
|
-
return this.bindFacebook();
|
|
2855
|
-
|
|
2856
|
-
default:
|
|
2857
|
-
return '';
|
|
2858
|
-
}
|
|
2859
|
-
}
|
|
2860
|
-
}, {
|
|
2861
|
-
key: "unbind",
|
|
2862
|
-
value: function unbind(network) {
|
|
2863
|
-
switch (network) {
|
|
2864
|
-
case 'vk':
|
|
2865
|
-
return this.unbindVk();
|
|
2866
|
-
|
|
2867
|
-
case 'google':
|
|
2868
|
-
return this.unbindGoogle();
|
|
2869
|
-
|
|
2870
|
-
case 'facebook':
|
|
2871
|
-
return this.unbindFacebook();
|
|
2872
|
-
|
|
2873
|
-
default:
|
|
2874
|
-
return '';
|
|
2875
|
-
}
|
|
2876
|
-
}
|
|
2877
|
-
}]);
|
|
2878
|
-
|
|
2879
|
-
return External;
|
|
2880
|
-
}(ExternalProvidersService);
|
|
2881
|
-
|
|
2882
2615
|
/**
|
|
2883
2616
|
* @title Spatial Processing Core API
|
|
2884
2617
|
* @version 1.5.1.0
|
|
@@ -2963,14 +2696,7 @@ let Feedback = /*#__PURE__*/function (_FeedbackService) {
|
|
|
2963
2696
|
return _super.apply(this, arguments);
|
|
2964
2697
|
}
|
|
2965
2698
|
|
|
2966
|
-
_createClass(Feedback
|
|
2967
|
-
key: "postFeedback",
|
|
2968
|
-
value: function postFeedback(query, data) {
|
|
2969
|
-
return this.feedback(query, data);
|
|
2970
|
-
}
|
|
2971
|
-
}]);
|
|
2972
|
-
|
|
2973
|
-
return Feedback;
|
|
2699
|
+
return _createClass(Feedback);
|
|
2974
2700
|
}(FeedbackService);
|
|
2975
2701
|
|
|
2976
2702
|
let FileUpload = /*#__PURE__*/function (_CatalogService) {
|
|
@@ -3211,76 +2937,6 @@ let Geocode = /*#__PURE__*/function (_GeocodeService) {
|
|
|
3211
2937
|
return Geocode;
|
|
3212
2938
|
}(GeocodeService);
|
|
3213
2939
|
|
|
3214
|
-
/**
|
|
3215
|
-
* @title Spatial Processing Core API
|
|
3216
|
-
* @version 1.5.1.0
|
|
3217
|
-
* @baseUrl /sp
|
|
3218
|
-
*/
|
|
3219
|
-
|
|
3220
|
-
let IceRouterService = /*#__PURE__*/function (_Service) {
|
|
3221
|
-
_inherits(IceRouterService, _Service);
|
|
3222
|
-
|
|
3223
|
-
var _super = /*#__PURE__*/_createSuper(IceRouterService);
|
|
3224
|
-
|
|
3225
|
-
function IceRouterService() {
|
|
3226
|
-
_classCallCheck(this, IceRouterService);
|
|
3227
|
-
|
|
3228
|
-
return _super.apply(this, arguments);
|
|
3229
|
-
}
|
|
3230
|
-
|
|
3231
|
-
_createClass(IceRouterService, [{
|
|
3232
|
-
key: "startTask",
|
|
3233
|
-
value:
|
|
3234
|
-
/**
|
|
3235
|
-
* No description
|
|
3236
|
-
*
|
|
3237
|
-
* @tags IceRouter
|
|
3238
|
-
* @name StartTask
|
|
3239
|
-
* @operationId IceRouterController_StartTask
|
|
3240
|
-
* @summary Start route build between start and end points.
|
|
3241
|
-
* @request POST:/ice-router/tasks
|
|
3242
|
-
* @secure
|
|
3243
|
-
* @response `200` OK
|
|
3244
|
-
*/
|
|
3245
|
-
function startTask(data) {
|
|
3246
|
-
return this.http.post("/ice-router/tasks", data).text();
|
|
3247
|
-
}
|
|
3248
|
-
/**
|
|
3249
|
-
* No description
|
|
3250
|
-
*
|
|
3251
|
-
* @tags IceRouter
|
|
3252
|
-
* @name GetResult
|
|
3253
|
-
* @operationId IceRouterController_GetResult
|
|
3254
|
-
* @summary Get task result.
|
|
3255
|
-
* @request GET:/ice-router/tasks/{id}
|
|
3256
|
-
* @secure
|
|
3257
|
-
* @response `200` OK
|
|
3258
|
-
*/
|
|
3259
|
-
|
|
3260
|
-
}, {
|
|
3261
|
-
key: "getResult",
|
|
3262
|
-
value: function getResult(id) {
|
|
3263
|
-
return this.http.get("/ice-router/tasks/" + id).json();
|
|
3264
|
-
}
|
|
3265
|
-
}]);
|
|
3266
|
-
|
|
3267
|
-
return IceRouterService;
|
|
3268
|
-
}(Service);
|
|
3269
|
-
|
|
3270
|
-
let IceRouter = /*#__PURE__*/function (_IceRouterService) {
|
|
3271
|
-
_inherits(IceRouter, _IceRouterService);
|
|
3272
|
-
|
|
3273
|
-
var _super = /*#__PURE__*/_createSuper(IceRouter);
|
|
3274
|
-
|
|
3275
|
-
function IceRouter() {
|
|
3276
|
-
_classCallCheck(this, IceRouter);
|
|
3277
|
-
|
|
3278
|
-
return _super.apply(this, arguments);
|
|
3279
|
-
}
|
|
3280
|
-
|
|
3281
|
-
return _createClass(IceRouter);
|
|
3282
|
-
}(IceRouterService);
|
|
3283
|
-
|
|
3284
2940
|
/**
|
|
3285
2941
|
* @title Spatial Processing Core API
|
|
3286
2942
|
* @version 1.5.1.0
|
|
@@ -3490,21 +3146,18 @@ let Import = /*#__PURE__*/function (_ImportService) {
|
|
|
3490
3146
|
const _excluded$3 = ["name"],
|
|
3491
3147
|
_excluded2$2 = ["name"],
|
|
3492
3148
|
_excluded3$2 = ["name", "id"],
|
|
3493
|
-
_excluded4$1 = ["name", "
|
|
3494
|
-
_excluded5$1 = ["name", "
|
|
3495
|
-
_excluded6$1 = ["name", "x", "y", "z"],
|
|
3496
|
-
_excluded7 = ["name"
|
|
3497
|
-
_excluded8 = ["name"
|
|
3149
|
+
_excluded4$1 = ["name", "x", "y", "z"],
|
|
3150
|
+
_excluded5$1 = ["name", "x", "y", "z", "format"],
|
|
3151
|
+
_excluded6$1 = ["name", "x", "y", "z", "dpi", "format"],
|
|
3152
|
+
_excluded7 = ["name"],
|
|
3153
|
+
_excluded8 = ["name"],
|
|
3498
3154
|
_excluded9 = ["name"],
|
|
3499
3155
|
_excluded10 = ["name"],
|
|
3500
3156
|
_excluded11 = ["name"],
|
|
3501
3157
|
_excluded12 = ["name"],
|
|
3502
3158
|
_excluded13 = ["name"],
|
|
3503
|
-
_excluded14 = ["
|
|
3504
|
-
_excluded15 = ["name"]
|
|
3505
|
-
_excluded16 = ["name"],
|
|
3506
|
-
_excluded17 = ["layerName"],
|
|
3507
|
-
_excluded18 = ["name", "id"];
|
|
3159
|
+
_excluded14 = ["layerName"],
|
|
3160
|
+
_excluded15 = ["name", "id"];
|
|
3508
3161
|
/**
|
|
3509
3162
|
* @title Spatial Processing Core API
|
|
3510
3163
|
* @version 1.5.1.0
|
|
@@ -4059,52 +3712,6 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4059
3712
|
|
|
4060
3713
|
return this.http.get("/layers/" + name + "/features/" + id, query).json();
|
|
4061
3714
|
}
|
|
4062
|
-
/**
|
|
4063
|
-
* No description
|
|
4064
|
-
*
|
|
4065
|
-
* @tags Layers
|
|
4066
|
-
* @name Unite
|
|
4067
|
-
* @operationId LayersController_Unite
|
|
4068
|
-
* @summary Provides method to unite feature geometry with given id and given geometry. Updated feature will be save in db storage. Result of the operation will be updated layer info.
|
|
4069
|
-
* @request POST:/layers/{name}/features/{id}/unite
|
|
4070
|
-
* @secure
|
|
4071
|
-
* @response `200` OK
|
|
4072
|
-
*/
|
|
4073
|
-
|
|
4074
|
-
}, {
|
|
4075
|
-
key: "unite",
|
|
4076
|
-
value: function unite(_ref4, data) {
|
|
4077
|
-
let {
|
|
4078
|
-
name,
|
|
4079
|
-
id
|
|
4080
|
-
} = _ref4,
|
|
4081
|
-
query = _objectWithoutPropertiesLoose(_ref4, _excluded4$1);
|
|
4082
|
-
|
|
4083
|
-
return this.http.post("/layers/" + name + "/features/" + id + "/unite", data, query).json();
|
|
4084
|
-
}
|
|
4085
|
-
/**
|
|
4086
|
-
* No description
|
|
4087
|
-
*
|
|
4088
|
-
* @tags Layers
|
|
4089
|
-
* @name Subtract
|
|
4090
|
-
* @operationId LayersController_Subtract
|
|
4091
|
-
* @summary Provides method to subtract feature geometry with given id and given geometry. Updated feature will be save in db storage. Result of the operation will be updated layer info with feature id.
|
|
4092
|
-
* @request POST:/layers/{name}/features/{id}/subtract
|
|
4093
|
-
* @secure
|
|
4094
|
-
* @response `200` OK
|
|
4095
|
-
*/
|
|
4096
|
-
|
|
4097
|
-
}, {
|
|
4098
|
-
key: "subtract",
|
|
4099
|
-
value: function subtract(_ref5, data) {
|
|
4100
|
-
let {
|
|
4101
|
-
name,
|
|
4102
|
-
id
|
|
4103
|
-
} = _ref5,
|
|
4104
|
-
query = _objectWithoutPropertiesLoose(_ref5, _excluded5$1);
|
|
4105
|
-
|
|
4106
|
-
return this.http.post("/layers/" + name + "/features/" + id + "/subtract", data, query).json();
|
|
4107
|
-
}
|
|
4108
3715
|
/**
|
|
4109
3716
|
* No description
|
|
4110
3717
|
*
|
|
@@ -4119,14 +3726,14 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4119
3726
|
|
|
4120
3727
|
}, {
|
|
4121
3728
|
key: "getTilesLayerImage",
|
|
4122
|
-
value: function getTilesLayerImage(
|
|
3729
|
+
value: function getTilesLayerImage(_ref4) {
|
|
4123
3730
|
let {
|
|
4124
3731
|
name,
|
|
4125
3732
|
x,
|
|
4126
3733
|
y,
|
|
4127
3734
|
z
|
|
4128
|
-
} =
|
|
4129
|
-
query = _objectWithoutPropertiesLoose(
|
|
3735
|
+
} = _ref4,
|
|
3736
|
+
query = _objectWithoutPropertiesLoose(_ref4, _excluded4$1);
|
|
4130
3737
|
|
|
4131
3738
|
return this.http.createUrl("/layers/" + name + "/tile/" + z + "/" + x + "/" + y, query);
|
|
4132
3739
|
}
|
|
@@ -4144,15 +3751,15 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4144
3751
|
|
|
4145
3752
|
}, {
|
|
4146
3753
|
key: "getTilesLayerImage1",
|
|
4147
|
-
value: function getTilesLayerImage1(
|
|
3754
|
+
value: function getTilesLayerImage1(_ref5) {
|
|
4148
3755
|
let {
|
|
4149
3756
|
name,
|
|
4150
3757
|
x,
|
|
4151
3758
|
y,
|
|
4152
3759
|
z,
|
|
4153
3760
|
format
|
|
4154
|
-
} =
|
|
4155
|
-
query = _objectWithoutPropertiesLoose(
|
|
3761
|
+
} = _ref5,
|
|
3762
|
+
query = _objectWithoutPropertiesLoose(_ref5, _excluded5$1);
|
|
4156
3763
|
|
|
4157
3764
|
return this.http.createUrl("/layers/" + name + "/tile/" + z + "/" + x + "/" + y + "." + format, query);
|
|
4158
3765
|
}
|
|
@@ -4170,7 +3777,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4170
3777
|
|
|
4171
3778
|
}, {
|
|
4172
3779
|
key: "getTilesLayerImageWithFormatAndDpi",
|
|
4173
|
-
value: function getTilesLayerImageWithFormatAndDpi(
|
|
3780
|
+
value: function getTilesLayerImageWithFormatAndDpi(_ref6) {
|
|
4174
3781
|
let {
|
|
4175
3782
|
name,
|
|
4176
3783
|
x,
|
|
@@ -4178,8 +3785,8 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4178
3785
|
z,
|
|
4179
3786
|
dpi,
|
|
4180
3787
|
format
|
|
4181
|
-
} =
|
|
4182
|
-
query = _objectWithoutPropertiesLoose(
|
|
3788
|
+
} = _ref6,
|
|
3789
|
+
query = _objectWithoutPropertiesLoose(_ref6, _excluded6$1);
|
|
4183
3790
|
|
|
4184
3791
|
return this.http.createUrl("/layers/" + name + "/tile/" + z + "/" + x + "/" + y + "@" + dpi + "x." + format, query);
|
|
4185
3792
|
}
|
|
@@ -4187,45 +3794,23 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4187
3794
|
* No description
|
|
4188
3795
|
*
|
|
4189
3796
|
* @tags Layers
|
|
4190
|
-
* @name
|
|
4191
|
-
* @operationId
|
|
4192
|
-
* @summary
|
|
4193
|
-
* @request GET:/layers/{name}/
|
|
3797
|
+
* @name GetLayerExtent
|
|
3798
|
+
* @operationId LayersController_GetLayerExtent
|
|
3799
|
+
* @summary Returns the extent of the layer.
|
|
3800
|
+
* @request GET:/layers/{name}/extent
|
|
4194
3801
|
* @secure
|
|
4195
3802
|
* @response `200` OK
|
|
4196
3803
|
*/
|
|
4197
3804
|
|
|
4198
3805
|
}, {
|
|
4199
|
-
key: "
|
|
4200
|
-
value: function
|
|
3806
|
+
key: "getLayerExtent",
|
|
3807
|
+
value: function getLayerExtent(_ref7) {
|
|
4201
3808
|
let {
|
|
4202
3809
|
name
|
|
4203
|
-
} =
|
|
4204
|
-
query = _objectWithoutPropertiesLoose(
|
|
3810
|
+
} = _ref7,
|
|
3811
|
+
query = _objectWithoutPropertiesLoose(_ref7, _excluded7);
|
|
4205
3812
|
|
|
4206
|
-
return this.http.
|
|
4207
|
-
}
|
|
4208
|
-
/**
|
|
4209
|
-
* No description
|
|
4210
|
-
*
|
|
4211
|
-
* @tags Layers
|
|
4212
|
-
* @name GetLayerExtent
|
|
4213
|
-
* @operationId LayersController_GetLayerExtent
|
|
4214
|
-
* @summary Returns the extent of the layer.
|
|
4215
|
-
* @request GET:/layers/{name}/extent
|
|
4216
|
-
* @secure
|
|
4217
|
-
* @response `200` OK
|
|
4218
|
-
*/
|
|
4219
|
-
|
|
4220
|
-
}, {
|
|
4221
|
-
key: "getLayerExtent",
|
|
4222
|
-
value: function getLayerExtent(_ref10) {
|
|
4223
|
-
let {
|
|
4224
|
-
name
|
|
4225
|
-
} = _ref10,
|
|
4226
|
-
query = _objectWithoutPropertiesLoose(_ref10, _excluded10);
|
|
4227
|
-
|
|
4228
|
-
return this.http.get("/layers/" + name + "/extent", query).json();
|
|
3813
|
+
return this.http.get("/layers/" + name + "/extent", query).json();
|
|
4229
3814
|
}
|
|
4230
3815
|
/**
|
|
4231
3816
|
* No description
|
|
@@ -4241,11 +3826,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4241
3826
|
|
|
4242
3827
|
}, {
|
|
4243
3828
|
key: "deleteFeatures",
|
|
4244
|
-
value: function deleteFeatures(
|
|
3829
|
+
value: function deleteFeatures(_ref8) {
|
|
4245
3830
|
let {
|
|
4246
3831
|
name
|
|
4247
|
-
} =
|
|
4248
|
-
query = _objectWithoutPropertiesLoose(
|
|
3832
|
+
} = _ref8,
|
|
3833
|
+
query = _objectWithoutPropertiesLoose(_ref8, _excluded8);
|
|
4249
3834
|
|
|
4250
3835
|
return this.http.delete("/layers/" + name + "/features/deleteByIds", null, query).json();
|
|
4251
3836
|
}
|
|
@@ -4263,11 +3848,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4263
3848
|
|
|
4264
3849
|
}, {
|
|
4265
3850
|
key: "deleteByCondition",
|
|
4266
|
-
value: function deleteByCondition(
|
|
3851
|
+
value: function deleteByCondition(_ref9) {
|
|
4267
3852
|
let {
|
|
4268
3853
|
name
|
|
4269
|
-
} =
|
|
4270
|
-
query = _objectWithoutPropertiesLoose(
|
|
3854
|
+
} = _ref9,
|
|
3855
|
+
query = _objectWithoutPropertiesLoose(_ref9, _excluded9);
|
|
4271
3856
|
|
|
4272
3857
|
return this.http.delete("/layers/" + name + "/features/deleteByCondition", null, query).json();
|
|
4273
3858
|
}
|
|
@@ -4285,11 +3870,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4285
3870
|
|
|
4286
3871
|
}, {
|
|
4287
3872
|
key: "classify",
|
|
4288
|
-
value: function classify(
|
|
3873
|
+
value: function classify(_ref10) {
|
|
4289
3874
|
let {
|
|
4290
3875
|
name
|
|
4291
|
-
} =
|
|
4292
|
-
query = _objectWithoutPropertiesLoose(
|
|
3876
|
+
} = _ref10,
|
|
3877
|
+
query = _objectWithoutPropertiesLoose(_ref10, _excluded10);
|
|
4293
3878
|
|
|
4294
3879
|
return this.http.get("/layers/" + name + "/classify", query).json();
|
|
4295
3880
|
}
|
|
@@ -4307,11 +3892,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4307
3892
|
|
|
4308
3893
|
}, {
|
|
4309
3894
|
key: "distincts",
|
|
4310
|
-
value: function distincts(
|
|
3895
|
+
value: function distincts(_ref11) {
|
|
4311
3896
|
let {
|
|
4312
3897
|
name
|
|
4313
|
-
} =
|
|
4314
|
-
query = _objectWithoutPropertiesLoose(
|
|
3898
|
+
} = _ref11,
|
|
3899
|
+
query = _objectWithoutPropertiesLoose(_ref11, _excluded11);
|
|
4315
3900
|
|
|
4316
3901
|
return this.http.get("/layers/" + name + "/distincts", query).json();
|
|
4317
3902
|
}
|
|
@@ -4329,11 +3914,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4329
3914
|
|
|
4330
3915
|
}, {
|
|
4331
3916
|
key: "aggregateAttribute",
|
|
4332
|
-
value: function aggregateAttribute(
|
|
3917
|
+
value: function aggregateAttribute(_ref12) {
|
|
4333
3918
|
let {
|
|
4334
3919
|
name
|
|
4335
|
-
} =
|
|
4336
|
-
query = _objectWithoutPropertiesLoose(
|
|
3920
|
+
} = _ref12,
|
|
3921
|
+
query = _objectWithoutPropertiesLoose(_ref12, _excluded12);
|
|
4337
3922
|
|
|
4338
3923
|
return this.http.get("/layers/" + name + "/aggregate-values", query).json();
|
|
4339
3924
|
}
|
|
@@ -4351,11 +3936,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4351
3936
|
|
|
4352
3937
|
}, {
|
|
4353
3938
|
key: "getFilteredFeaturesCount1",
|
|
4354
|
-
value: function getFilteredFeaturesCount1(
|
|
3939
|
+
value: function getFilteredFeaturesCount1(_ref13) {
|
|
4355
3940
|
let {
|
|
4356
3941
|
name
|
|
4357
|
-
} =
|
|
4358
|
-
query = _objectWithoutPropertiesLoose(
|
|
3942
|
+
} = _ref13,
|
|
3943
|
+
query = _objectWithoutPropertiesLoose(_ref13, _excluded13);
|
|
4359
3944
|
|
|
4360
3945
|
return this.http.get("/layers/" + name + "/features/count", query).json();
|
|
4361
3946
|
}
|
|
@@ -4407,11 +3992,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4407
3992
|
|
|
4408
3993
|
}, {
|
|
4409
3994
|
key: "validateExpression",
|
|
4410
|
-
value: function validateExpression(
|
|
3995
|
+
value: function validateExpression(_ref14) {
|
|
4411
3996
|
let {
|
|
4412
3997
|
layerName
|
|
4413
|
-
} =
|
|
4414
|
-
query = _objectWithoutPropertiesLoose(
|
|
3998
|
+
} = _ref14,
|
|
3999
|
+
query = _objectWithoutPropertiesLoose(_ref14, _excluded14);
|
|
4415
4000
|
|
|
4416
4001
|
return this.http.get("/layers/" + layerName + "/validateExpression", query).json();
|
|
4417
4002
|
}
|
|
@@ -4446,100 +4031,15 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4446
4031
|
|
|
4447
4032
|
}, {
|
|
4448
4033
|
key: "getRasterMeta",
|
|
4449
|
-
value: function getRasterMeta(
|
|
4034
|
+
value: function getRasterMeta(_ref15) {
|
|
4450
4035
|
let {
|
|
4451
4036
|
name,
|
|
4452
4037
|
id
|
|
4453
|
-
} =
|
|
4454
|
-
query = _objectWithoutPropertiesLoose(
|
|
4038
|
+
} = _ref15,
|
|
4039
|
+
query = _objectWithoutPropertiesLoose(_ref15, _excluded15);
|
|
4455
4040
|
|
|
4456
4041
|
return this.http.get("/layers/" + name + "/" + id + "/metadata", query).json();
|
|
4457
4042
|
}
|
|
4458
|
-
/**
|
|
4459
|
-
* No description
|
|
4460
|
-
*
|
|
4461
|
-
* @tags Layers
|
|
4462
|
-
* @name CreateRoute
|
|
4463
|
-
* @operationId LayersController_CreateRoute
|
|
4464
|
-
* @summary Create new route (feature) from source features.
|
|
4465
|
-
* @request POST:/layers/{name}/createRoute
|
|
4466
|
-
* @secure
|
|
4467
|
-
* @response `200` OK
|
|
4468
|
-
*/
|
|
4469
|
-
|
|
4470
|
-
}, {
|
|
4471
|
-
key: "createRoute",
|
|
4472
|
-
value: function createRoute(name, data) {
|
|
4473
|
-
return this.http.post("/layers/" + name + "/createRoute", data).json();
|
|
4474
|
-
}
|
|
4475
|
-
/**
|
|
4476
|
-
* No description
|
|
4477
|
-
*
|
|
4478
|
-
* @tags Layers
|
|
4479
|
-
* @name ApplyStyle
|
|
4480
|
-
* @operationId LayersController_ApplyStyle
|
|
4481
|
-
* @summary Create data layout and image layout for given style.
|
|
4482
|
-
* @request PUT:/layers/{name}/style
|
|
4483
|
-
* @secure
|
|
4484
|
-
* @response `200` OK
|
|
4485
|
-
*/
|
|
4486
|
-
|
|
4487
|
-
}, {
|
|
4488
|
-
key: "applyStyle",
|
|
4489
|
-
value: function applyStyle(name, data) {
|
|
4490
|
-
return this.http.put("/layers/" + name + "/style", data).then(() => {});
|
|
4491
|
-
}
|
|
4492
|
-
/**
|
|
4493
|
-
* No description
|
|
4494
|
-
*
|
|
4495
|
-
* @tags Layers
|
|
4496
|
-
* @name GetStyle
|
|
4497
|
-
* @operationId LayersController_GetStyle
|
|
4498
|
-
* @summary Get style of the given layer.
|
|
4499
|
-
* @request GET:/layers/{name}/style
|
|
4500
|
-
* @secure
|
|
4501
|
-
* @response `200` OK
|
|
4502
|
-
*/
|
|
4503
|
-
|
|
4504
|
-
}, {
|
|
4505
|
-
key: "getStyle",
|
|
4506
|
-
value: function getStyle(name) {
|
|
4507
|
-
return this.http.get("/layers/" + name + "/style").json();
|
|
4508
|
-
}
|
|
4509
|
-
/**
|
|
4510
|
-
* No description
|
|
4511
|
-
*
|
|
4512
|
-
* @tags Layers
|
|
4513
|
-
* @name GetImageLayout
|
|
4514
|
-
* @operationId LayersController_GetImageLayout
|
|
4515
|
-
* @summary Get date layout.
|
|
4516
|
-
* @request GET:/layers/{name}/style/sprite.png
|
|
4517
|
-
* @secure
|
|
4518
|
-
* @response `200` OK
|
|
4519
|
-
*/
|
|
4520
|
-
|
|
4521
|
-
}, {
|
|
4522
|
-
key: "getImageLayout",
|
|
4523
|
-
value: function getImageLayout(name) {
|
|
4524
|
-
return this.http.get("/layers/" + name + "/style/sprite.png").blob();
|
|
4525
|
-
}
|
|
4526
|
-
/**
|
|
4527
|
-
* No description
|
|
4528
|
-
*
|
|
4529
|
-
* @tags Layers
|
|
4530
|
-
* @name GetDataLayout
|
|
4531
|
-
* @operationId LayersController_GetDataLayout
|
|
4532
|
-
* @summary Get image layout.
|
|
4533
|
-
* @request GET:/layers/{name}/style/sprite.json
|
|
4534
|
-
* @secure
|
|
4535
|
-
* @response `200` OK
|
|
4536
|
-
*/
|
|
4537
|
-
|
|
4538
|
-
}, {
|
|
4539
|
-
key: "getDataLayout",
|
|
4540
|
-
value: function getDataLayout(name) {
|
|
4541
|
-
return this.http.get("/layers/" + name + "/style/sprite.json").then(() => {});
|
|
4542
|
-
}
|
|
4543
4043
|
/**
|
|
4544
4044
|
* No description
|
|
4545
4045
|
*
|
|
@@ -5031,8 +4531,8 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
|
|
|
5031
4531
|
|| event.code === 4002
|
|
5032
4532
|
/* InvalidSession */
|
|
5033
4533
|
) {
|
|
5034
|
-
|
|
5035
|
-
|
|
4534
|
+
_this.connectStatus = exports.ConnectionStatus.SessionClosed;
|
|
4535
|
+
} else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
|
|
5036
4536
|
_this.connectStatus = exports.ConnectionStatus.Break;
|
|
5037
4537
|
_this.reconnectTries++;
|
|
5038
4538
|
|
|
@@ -5181,144 +4681,6 @@ let PortalSettings = /*#__PURE__*/function (_ClientSettingsServic) {
|
|
|
5181
4681
|
return PortalSettings;
|
|
5182
4682
|
}(ClientSettingsService);
|
|
5183
4683
|
|
|
5184
|
-
/**
|
|
5185
|
-
* @title Spatial Processing Core API
|
|
5186
|
-
* @version 1.5.1.0
|
|
5187
|
-
* @baseUrl /sp
|
|
5188
|
-
*/
|
|
5189
|
-
|
|
5190
|
-
let PrintService = /*#__PURE__*/function (_Service) {
|
|
5191
|
-
_inherits(PrintService, _Service);
|
|
5192
|
-
|
|
5193
|
-
var _super = /*#__PURE__*/_createSuper(PrintService);
|
|
5194
|
-
|
|
5195
|
-
function PrintService() {
|
|
5196
|
-
_classCallCheck(this, PrintService);
|
|
5197
|
-
|
|
5198
|
-
return _super.apply(this, arguments);
|
|
5199
|
-
}
|
|
5200
|
-
|
|
5201
|
-
_createClass(PrintService, [{
|
|
5202
|
-
key: "print",
|
|
5203
|
-
value:
|
|
5204
|
-
/**
|
|
5205
|
-
* No description
|
|
5206
|
-
*
|
|
5207
|
-
* @tags Print
|
|
5208
|
-
* @name Print
|
|
5209
|
-
* @operationId PrintController_Print
|
|
5210
|
-
* @summary Print map with template.
|
|
5211
|
-
* @request POST:/print/print
|
|
5212
|
-
* @secure
|
|
5213
|
-
* @response `200` OK
|
|
5214
|
-
*/
|
|
5215
|
-
function print(data) {
|
|
5216
|
-
return this.http.post("/print/print", data).then(() => {});
|
|
5217
|
-
}
|
|
5218
|
-
/**
|
|
5219
|
-
* No description
|
|
5220
|
-
*
|
|
5221
|
-
* @tags Print
|
|
5222
|
-
* @name PrintToHtml
|
|
5223
|
-
* @operationId PrintController_PrintToHtml
|
|
5224
|
-
* @summary Print map with template to html string.
|
|
5225
|
-
* @request POST:/print/printHtml
|
|
5226
|
-
* @secure
|
|
5227
|
-
* @response `200` OK
|
|
5228
|
-
*/
|
|
5229
|
-
|
|
5230
|
-
}, {
|
|
5231
|
-
key: "printToHtml",
|
|
5232
|
-
value: function printToHtml(data) {
|
|
5233
|
-
return this.http.post("/print/printHtml", data).text();
|
|
5234
|
-
}
|
|
5235
|
-
/**
|
|
5236
|
-
* No description
|
|
5237
|
-
*
|
|
5238
|
-
* @tags Print
|
|
5239
|
-
* @name UploadTemplate
|
|
5240
|
-
* @operationId PrintController_UploadTemplate
|
|
5241
|
-
* @summary Upload template on server.
|
|
5242
|
-
* @request POST:/print/templates
|
|
5243
|
-
* @secure
|
|
5244
|
-
* @response `200` OK
|
|
5245
|
-
*/
|
|
5246
|
-
|
|
5247
|
-
}, {
|
|
5248
|
-
key: "uploadTemplate",
|
|
5249
|
-
value: function uploadTemplate(query, data) {
|
|
5250
|
-
return this.http.post("/print/templates", toFormData(data), query).then(() => {});
|
|
5251
|
-
}
|
|
5252
|
-
/**
|
|
5253
|
-
* No description
|
|
5254
|
-
*
|
|
5255
|
-
* @tags Print
|
|
5256
|
-
* @name GetTemplates
|
|
5257
|
-
* @operationId PrintController_GetTemplates
|
|
5258
|
-
* @summary Get all templates from server.
|
|
5259
|
-
* @request GET:/print/templates
|
|
5260
|
-
* @secure
|
|
5261
|
-
* @response `200` OK
|
|
5262
|
-
*/
|
|
5263
|
-
|
|
5264
|
-
}, {
|
|
5265
|
-
key: "getTemplates",
|
|
5266
|
-
value: function getTemplates() {
|
|
5267
|
-
return this.http.get("/print/templates").json();
|
|
5268
|
-
}
|
|
5269
|
-
/**
|
|
5270
|
-
* No description
|
|
5271
|
-
*
|
|
5272
|
-
* @tags Print
|
|
5273
|
-
* @name DeleteTemplate
|
|
5274
|
-
* @operationId PrintController_DeleteTemplate
|
|
5275
|
-
* @summary Delete template from server.
|
|
5276
|
-
* @request DELETE:/print/templates/{name}
|
|
5277
|
-
* @secure
|
|
5278
|
-
* @response `200` OK
|
|
5279
|
-
*/
|
|
5280
|
-
|
|
5281
|
-
}, {
|
|
5282
|
-
key: "deleteTemplate",
|
|
5283
|
-
value: function deleteTemplate(name) {
|
|
5284
|
-
return this.http.delete("/print/templates/" + name, null).then(() => {});
|
|
5285
|
-
}
|
|
5286
|
-
/**
|
|
5287
|
-
* No description
|
|
5288
|
-
*
|
|
5289
|
-
* @tags Print
|
|
5290
|
-
* @name GetTemplate
|
|
5291
|
-
* @operationId PrintController_GetTemplate
|
|
5292
|
-
* @summary Get template from server.
|
|
5293
|
-
* @request GET:/print/templates/{name}
|
|
5294
|
-
* @secure
|
|
5295
|
-
* @response `200` OK
|
|
5296
|
-
*/
|
|
5297
|
-
|
|
5298
|
-
}, {
|
|
5299
|
-
key: "getTemplate",
|
|
5300
|
-
value: function getTemplate(name) {
|
|
5301
|
-
return this.http.get("/print/templates/" + name).text();
|
|
5302
|
-
}
|
|
5303
|
-
}]);
|
|
5304
|
-
|
|
5305
|
-
return PrintService;
|
|
5306
|
-
}(Service);
|
|
5307
|
-
|
|
5308
|
-
let Print = /*#__PURE__*/function (_PrintService) {
|
|
5309
|
-
_inherits(Print, _PrintService);
|
|
5310
|
-
|
|
5311
|
-
var _super = /*#__PURE__*/_createSuper(Print);
|
|
5312
|
-
|
|
5313
|
-
function Print() {
|
|
5314
|
-
_classCallCheck(this, Print);
|
|
5315
|
-
|
|
5316
|
-
return _super.apply(this, arguments);
|
|
5317
|
-
}
|
|
5318
|
-
|
|
5319
|
-
return _createClass(Print);
|
|
5320
|
-
}(PrintService);
|
|
5321
|
-
|
|
5322
4684
|
const _excluded$4 = ["name"];
|
|
5323
4685
|
/**
|
|
5324
4686
|
* @title Spatial Processing Core API
|
|
@@ -6094,12 +5456,12 @@ let Resources = /*#__PURE__*/function () {
|
|
|
6094
5456
|
}, {
|
|
6095
5457
|
key: "getDependentNames",
|
|
6096
5458
|
value: function getDependentNames(deps, depType) {
|
|
6097
|
-
return deps.filter(_ref => {
|
|
5459
|
+
return deps.filter((_ref) => {
|
|
6098
5460
|
let {
|
|
6099
5461
|
type
|
|
6100
5462
|
} = _ref;
|
|
6101
5463
|
return type === depType;
|
|
6102
|
-
}).map(_ref2 => {
|
|
5464
|
+
}).map((_ref2) => {
|
|
6103
5465
|
let {
|
|
6104
5466
|
name
|
|
6105
5467
|
} = _ref2;
|
|
@@ -6415,28 +5777,11 @@ let StatisticService = /*#__PURE__*/function (_Service) {
|
|
|
6415
5777
|
* @name StatisticsDb
|
|
6416
5778
|
* @operationId StatisticController_StatisticsDb
|
|
6417
5779
|
* @summary Calculates statistics for layer attribute.
|
|
6418
|
-
* @request GET:/statistics
|
|
6419
|
-
* @secure
|
|
6420
|
-
* @response `200` OK
|
|
6421
|
-
*/
|
|
6422
|
-
function statisticsDb(query) {
|
|
6423
|
-
return this.http.get("/statistics", query).json();
|
|
6424
|
-
}
|
|
6425
|
-
/**
|
|
6426
|
-
* No description
|
|
6427
|
-
*
|
|
6428
|
-
* @tags Statistic
|
|
6429
|
-
* @name StatisticsDb1
|
|
6430
|
-
* @operationId StatisticController_StatisticsDb_1
|
|
6431
|
-
* @summary Calculates statistics for layer attribute.
|
|
6432
5780
|
* @request POST:/statistics
|
|
6433
5781
|
* @secure
|
|
6434
5782
|
* @response `200` OK
|
|
6435
5783
|
*/
|
|
6436
|
-
|
|
6437
|
-
}, {
|
|
6438
|
-
key: "statisticsDb1",
|
|
6439
|
-
value: function statisticsDb1(data) {
|
|
5784
|
+
function statisticsDb(data) {
|
|
6440
5785
|
return this.http.post("/statistics", data).json();
|
|
6441
5786
|
}
|
|
6442
5787
|
/**
|
|
@@ -6446,31 +5791,14 @@ let StatisticService = /*#__PURE__*/function (_Service) {
|
|
|
6446
5791
|
* @name Classify
|
|
6447
5792
|
* @operationId StatisticController_Classify
|
|
6448
5793
|
* @summary Returns the classified attribute values that correspond to the given number of classes and given condition.
|
|
6449
|
-
* @request GET:/statistics/classify
|
|
6450
|
-
* @secure
|
|
6451
|
-
* @response `200` OK
|
|
6452
|
-
*/
|
|
6453
|
-
|
|
6454
|
-
}, {
|
|
6455
|
-
key: "classify",
|
|
6456
|
-
value: function classify(query) {
|
|
6457
|
-
return this.http.get("/statistics/classify", query).json();
|
|
6458
|
-
}
|
|
6459
|
-
/**
|
|
6460
|
-
* No description
|
|
6461
|
-
*
|
|
6462
|
-
* @tags Statistic
|
|
6463
|
-
* @name Classify1
|
|
6464
|
-
* @operationId StatisticController_Classify_1
|
|
6465
|
-
* @summary Returns the classified attribute values that correspond to the given number of classes and given condition.
|
|
6466
5794
|
* @request POST:/statistics/classify
|
|
6467
5795
|
* @secure
|
|
6468
5796
|
* @response `200` OK
|
|
6469
5797
|
*/
|
|
6470
5798
|
|
|
6471
5799
|
}, {
|
|
6472
|
-
key: "
|
|
6473
|
-
value: function
|
|
5800
|
+
key: "classify",
|
|
5801
|
+
value: function classify(data) {
|
|
6474
5802
|
return this.http.post("/statistics/classify", data).json();
|
|
6475
5803
|
}
|
|
6476
5804
|
/**
|
|
@@ -6480,31 +5808,14 @@ let StatisticService = /*#__PURE__*/function (_Service) {
|
|
|
6480
5808
|
* @name SumOfProduct
|
|
6481
5809
|
* @operationId StatisticController_SumOfProduct
|
|
6482
5810
|
* @summary Sum of product.
|
|
6483
|
-
* @request GET:/statistics/sumOfProduct
|
|
6484
|
-
* @secure
|
|
6485
|
-
* @response `200` OK
|
|
6486
|
-
*/
|
|
6487
|
-
|
|
6488
|
-
}, {
|
|
6489
|
-
key: "sumOfProduct",
|
|
6490
|
-
value: function sumOfProduct(query) {
|
|
6491
|
-
return this.http.get("/statistics/sumOfProduct", query).json();
|
|
6492
|
-
}
|
|
6493
|
-
/**
|
|
6494
|
-
* No description
|
|
6495
|
-
*
|
|
6496
|
-
* @tags Statistic
|
|
6497
|
-
* @name SumOfProduct1
|
|
6498
|
-
* @operationId StatisticController_SumOfProduct_1
|
|
6499
|
-
* @summary Sum of product.
|
|
6500
5811
|
* @request POST:/statistics/sumOfProduct
|
|
6501
5812
|
* @secure
|
|
6502
5813
|
* @response `200` OK
|
|
6503
5814
|
*/
|
|
6504
5815
|
|
|
6505
5816
|
}, {
|
|
6506
|
-
key: "
|
|
6507
|
-
value: function
|
|
5817
|
+
key: "sumOfProduct",
|
|
5818
|
+
value: function sumOfProduct(data) {
|
|
6508
5819
|
return this.http.post("/statistics/sumOfProduct", data).json();
|
|
6509
5820
|
}
|
|
6510
5821
|
}]);
|
|
@@ -6523,169 +5834,9 @@ let Statistic = /*#__PURE__*/function (_StatisticService) {
|
|
|
6523
5834
|
return _super.apply(this, arguments);
|
|
6524
5835
|
}
|
|
6525
5836
|
|
|
6526
|
-
_createClass(Statistic
|
|
6527
|
-
key: "getStatistic",
|
|
6528
|
-
value: function getStatistic(params) {
|
|
6529
|
-
return this.statisticsDb(params);
|
|
6530
|
-
}
|
|
6531
|
-
}, {
|
|
6532
|
-
key: "postStatistic",
|
|
6533
|
-
value: function postStatistic(params) {
|
|
6534
|
-
return this.statisticsDb1(params);
|
|
6535
|
-
}
|
|
6536
|
-
}, {
|
|
6537
|
-
key: "getClassify",
|
|
6538
|
-
value: function getClassify(params) {
|
|
6539
|
-
return this.classify(params);
|
|
6540
|
-
}
|
|
6541
|
-
}, {
|
|
6542
|
-
key: "postClassify",
|
|
6543
|
-
value: function postClassify(params) {
|
|
6544
|
-
return this.classify1(params);
|
|
6545
|
-
}
|
|
6546
|
-
}]);
|
|
6547
|
-
|
|
6548
|
-
return Statistic;
|
|
5837
|
+
return _createClass(Statistic);
|
|
6549
5838
|
}(StatisticService);
|
|
6550
5839
|
|
|
6551
|
-
/**
|
|
6552
|
-
* @title Spatial Processing Core API
|
|
6553
|
-
* @version 1.5.1.0
|
|
6554
|
-
* @baseUrl /sp
|
|
6555
|
-
*/
|
|
6556
|
-
|
|
6557
|
-
let StyleService = /*#__PURE__*/function (_Service) {
|
|
6558
|
-
_inherits(StyleService, _Service);
|
|
6559
|
-
|
|
6560
|
-
var _super = /*#__PURE__*/_createSuper(StyleService);
|
|
6561
|
-
|
|
6562
|
-
function StyleService() {
|
|
6563
|
-
_classCallCheck(this, StyleService);
|
|
6564
|
-
|
|
6565
|
-
return _super.apply(this, arguments);
|
|
6566
|
-
}
|
|
6567
|
-
|
|
6568
|
-
_createClass(StyleService, [{
|
|
6569
|
-
key: "getStyle",
|
|
6570
|
-
value:
|
|
6571
|
-
/**
|
|
6572
|
-
* No description
|
|
6573
|
-
*
|
|
6574
|
-
* @tags StyleService
|
|
6575
|
-
* @name GetStyle
|
|
6576
|
-
* @operationId StyleServiceController_GetStyle
|
|
6577
|
-
* @summary Returns the style by its id.
|
|
6578
|
-
* @request GET:/styles/{id}
|
|
6579
|
-
* @secure
|
|
6580
|
-
* @response `200` OK
|
|
6581
|
-
*/
|
|
6582
|
-
function getStyle(id) {
|
|
6583
|
-
return this.http.get("/styles/" + id).json();
|
|
6584
|
-
}
|
|
6585
|
-
/**
|
|
6586
|
-
* No description
|
|
6587
|
-
*
|
|
6588
|
-
* @tags StyleService
|
|
6589
|
-
* @name UpdateStyle
|
|
6590
|
-
* @operationId StyleServiceController_UpdateStyle
|
|
6591
|
-
* @summary Replaces a style and gives it a new id.
|
|
6592
|
-
* @request POST:/styles/{id}
|
|
6593
|
-
* @secure
|
|
6594
|
-
* @response `200` OK
|
|
6595
|
-
*/
|
|
6596
|
-
|
|
6597
|
-
}, {
|
|
6598
|
-
key: "updateStyle",
|
|
6599
|
-
value: function updateStyle(id, data) {
|
|
6600
|
-
return this.http.post("/styles/" + id, data).json();
|
|
6601
|
-
}
|
|
6602
|
-
/**
|
|
6603
|
-
* No description
|
|
6604
|
-
*
|
|
6605
|
-
* @tags StyleService
|
|
6606
|
-
* @name CreateStyle
|
|
6607
|
-
* @operationId StyleServiceController_CreateStyle
|
|
6608
|
-
* @summary Creates a new style.
|
|
6609
|
-
* @request POST:/styles
|
|
6610
|
-
* @secure
|
|
6611
|
-
* @response `200` OK
|
|
6612
|
-
*/
|
|
6613
|
-
|
|
6614
|
-
}, {
|
|
6615
|
-
key: "createStyle",
|
|
6616
|
-
value: function createStyle(data) {
|
|
6617
|
-
return this.http.post("/styles", data).json();
|
|
6618
|
-
}
|
|
6619
|
-
/**
|
|
6620
|
-
* No description
|
|
6621
|
-
*
|
|
6622
|
-
* @tags StyleService
|
|
6623
|
-
* @name GetAllFonts
|
|
6624
|
-
* @operationId StyleServiceController_GetAllFonts
|
|
6625
|
-
* @summary Gets all installed fonts.
|
|
6626
|
-
* @request GET:/styles/fonts
|
|
6627
|
-
* @secure
|
|
6628
|
-
* @response `200` OK
|
|
6629
|
-
*/
|
|
6630
|
-
|
|
6631
|
-
}, {
|
|
6632
|
-
key: "getAllFonts",
|
|
6633
|
-
value: function getAllFonts() {
|
|
6634
|
-
return this.http.get("/styles/fonts").json();
|
|
6635
|
-
}
|
|
6636
|
-
/**
|
|
6637
|
-
* No description
|
|
6638
|
-
*
|
|
6639
|
-
* @tags StyleService
|
|
6640
|
-
* @name AddFont
|
|
6641
|
-
* @operationId StyleServiceController_AddFont
|
|
6642
|
-
* @summary Install new font.
|
|
6643
|
-
* @request POST:/styles/fonts
|
|
6644
|
-
* @secure
|
|
6645
|
-
* @response `200` OK
|
|
6646
|
-
*/
|
|
6647
|
-
|
|
6648
|
-
}, {
|
|
6649
|
-
key: "addFont",
|
|
6650
|
-
value: function addFont(data) {
|
|
6651
|
-
return this.http.post("/styles/fonts", toFormData(data)).then(() => {});
|
|
6652
|
-
}
|
|
6653
|
-
/**
|
|
6654
|
-
* No description
|
|
6655
|
-
*
|
|
6656
|
-
* @tags StyleService
|
|
6657
|
-
* @name RemoveFont
|
|
6658
|
-
* @operationId StyleServiceController_RemoveFont
|
|
6659
|
-
* @summary Remove installed font.
|
|
6660
|
-
* @request DELETE:/styles/fonts
|
|
6661
|
-
* @secure
|
|
6662
|
-
* @response `200` OK
|
|
6663
|
-
*/
|
|
6664
|
-
|
|
6665
|
-
}, {
|
|
6666
|
-
key: "removeFont",
|
|
6667
|
-
value: function removeFont(query) {
|
|
6668
|
-
return this.http.delete("/styles/fonts", null, query).then(() => {});
|
|
6669
|
-
}
|
|
6670
|
-
}]);
|
|
6671
|
-
|
|
6672
|
-
return StyleService;
|
|
6673
|
-
}(Service);
|
|
6674
|
-
|
|
6675
|
-
let Styles = /*#__PURE__*/function (_StyleService) {
|
|
6676
|
-
_inherits(Styles, _StyleService);
|
|
6677
|
-
|
|
6678
|
-
var _super = /*#__PURE__*/_createSuper(Styles);
|
|
6679
|
-
|
|
6680
|
-
function Styles() {
|
|
6681
|
-
_classCallCheck(this, Styles);
|
|
6682
|
-
|
|
6683
|
-
return _super.apply(this, arguments);
|
|
6684
|
-
}
|
|
6685
|
-
|
|
6686
|
-
return _createClass(Styles);
|
|
6687
|
-
}(StyleService);
|
|
6688
|
-
|
|
6689
5840
|
const _excluded$6 = ["name"],
|
|
6690
5841
|
_excluded2$4 = ["name"],
|
|
6691
5842
|
_excluded3$3 = ["name"];
|
|
@@ -7189,19 +6340,7 @@ let VectorTiles = /*#__PURE__*/function (_VectorTileService) {
|
|
|
7189
6340
|
return _super.apply(this, arguments);
|
|
7190
6341
|
}
|
|
7191
6342
|
|
|
7192
|
-
_createClass(VectorTiles
|
|
7193
|
-
key: "getVt",
|
|
7194
|
-
value: function getVt(name, z, x, y) {
|
|
7195
|
-
return this.getVectorTile({
|
|
7196
|
-
name,
|
|
7197
|
-
z,
|
|
7198
|
-
x,
|
|
7199
|
-
y
|
|
7200
|
-
});
|
|
7201
|
-
}
|
|
7202
|
-
}]);
|
|
7203
|
-
|
|
7204
|
-
return VectorTiles;
|
|
6343
|
+
return _createClass(VectorTiles);
|
|
7205
6344
|
}(VectorTileService);
|
|
7206
6345
|
|
|
7207
6346
|
(function (UrlPath) {
|
|
@@ -7262,7 +6401,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
7262
6401
|
(_request$headers = request.headers) == null ? void 0 : _request$headers.set("Authorization", "Bearer " + (token || ""));
|
|
7263
6402
|
}
|
|
7264
6403
|
}, ...((_hooks$beforeRequest = hooks == null ? void 0 : hooks.beforeRequest) != null ? _hooks$beforeRequest : [])],
|
|
7265
|
-
beforeRetry: [async _ref2 => {
|
|
6404
|
+
beforeRetry: [async (_ref2) => {
|
|
7266
6405
|
let {
|
|
7267
6406
|
request,
|
|
7268
6407
|
error,
|
|
@@ -7310,7 +6449,6 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
7310
6449
|
_this.tables = new Tables(_this.http);
|
|
7311
6450
|
_this.projects = new Projects(_this.http);
|
|
7312
6451
|
_this.resources = new Resources(_this.projects, _this.layers, _this.tables);
|
|
7313
|
-
_this.styles = new Styles(_this.http);
|
|
7314
6452
|
_this.account = new Account(_this.http);
|
|
7315
6453
|
_this.accountPreview = new AccountPreview(_this.http);
|
|
7316
6454
|
_this.bulk = new BulkOperations(_this.http);
|
|
@@ -7320,13 +6458,9 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
7320
6458
|
_this.filters = new Filters(_this.http);
|
|
7321
6459
|
_this.import = new Import(_this.http);
|
|
7322
6460
|
_this.geocode = new Geocode(_this.http);
|
|
7323
|
-
_this.cameras = new Cameras(_this.http);
|
|
7324
|
-
_this.print = new Print(_this.http);
|
|
7325
6461
|
_this.tools = new Tools(_this.http);
|
|
7326
|
-
_this.external = new External(_this.http);
|
|
7327
6462
|
_this.clientSettings = new ClientSettings(_this.http);
|
|
7328
6463
|
_this.portalSettings = new PortalSettings(_this.http);
|
|
7329
|
-
_this.iceRouter = new IceRouter(_this.http);
|
|
7330
6464
|
_this.statistic = new Statistic(_this.http);
|
|
7331
6465
|
_this.feedback = new Feedback(_this.http);
|
|
7332
6466
|
_this.vectorTiles = new VectorTiles(_this.http);
|
|
@@ -7336,6 +6470,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
7336
6470
|
_this.queryToken = new QueryTokenAccessService(_this.http);
|
|
7337
6471
|
_this.dataSource = new DataSourceService(_this.http);
|
|
7338
6472
|
_this.remoteTaskManager = new RemoteTaskManager(_this.http);
|
|
6473
|
+
_this.cameras = new Cameras(_this.http);
|
|
7339
6474
|
_this.names = new Names({
|
|
7340
6475
|
account: _this.account
|
|
7341
6476
|
});
|
|
@@ -7529,9 +6664,8 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
7529
6664
|
ClassificationType["NaturalBreaks"] = "naturalBreaks";
|
|
7530
6665
|
ClassificationType["EqualInterval"] = "equalInterval";
|
|
7531
6666
|
ClassificationType["Quantile"] = "quantile";
|
|
7532
|
-
ClassificationType["Distinct"] = "distinct";
|
|
7533
|
-
ClassificationType["Step"] = "step";
|
|
7534
6667
|
ClassificationType["Unique"] = "unique";
|
|
6668
|
+
ClassificationType["Step"] = "step";
|
|
7535
6669
|
})(exports.ClassificationType || (exports.ClassificationType = {}));
|
|
7536
6670
|
|
|
7537
6671
|
(function (ClassifyAttributeType) {
|
|
@@ -7853,21 +6987,18 @@ exports.BulkOperations = BulkOperations;
|
|
|
7853
6987
|
exports.Cameras = Cameras;
|
|
7854
6988
|
exports.ClientSettings = ClientSettings;
|
|
7855
6989
|
exports.Eql = Eql;
|
|
7856
|
-
exports.External = External;
|
|
7857
6990
|
exports.Feedback = Feedback;
|
|
7858
6991
|
exports.FileUpload = FileUpload;
|
|
7859
6992
|
exports.Filters = Filters;
|
|
7860
6993
|
exports.GEOCODE_PROVIDER = GEOCODE_PROVIDER;
|
|
7861
6994
|
exports.Geocode = Geocode;
|
|
7862
6995
|
exports.HttpClient = HttpClient;
|
|
7863
|
-
exports.IceRouter = IceRouter;
|
|
7864
6996
|
exports.Import = Import;
|
|
7865
6997
|
exports.Layers = Layers;
|
|
7866
6998
|
exports.Names = Names;
|
|
7867
6999
|
exports.Notification = Notification;
|
|
7868
7000
|
exports.NotificationEvent = NotificationEvent;
|
|
7869
7001
|
exports.PortalSettings = PortalSettings;
|
|
7870
|
-
exports.Print = Print;
|
|
7871
7002
|
exports.Projects = Projects;
|
|
7872
7003
|
exports.RemoteTaskManager = RemoteTaskManager;
|
|
7873
7004
|
exports.Resources = Resources;
|
|
@@ -7875,7 +7006,6 @@ exports.STORAGE_REFRESH_TOKEN_KEY = STORAGE_REFRESH_TOKEN_KEY;
|
|
|
7875
7006
|
exports.STORAGE_TOKEN_KEY = STORAGE_TOKEN_KEY;
|
|
7876
7007
|
exports.Security = Security;
|
|
7877
7008
|
exports.Statistic = Statistic;
|
|
7878
|
-
exports.Styles = Styles;
|
|
7879
7009
|
exports.Tables = Tables;
|
|
7880
7010
|
exports.Tools = Tools;
|
|
7881
7011
|
exports.VectorTiles = VectorTiles;
|