@evergis/api 3.0.133 → 3.0.134

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.esm.js CHANGED
@@ -29,9 +29,6 @@ function _defineProperties(target, props) {
29
29
  function _createClass(Constructor, protoProps, staticProps) {
30
30
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
31
31
  if (staticProps) _defineProperties(Constructor, staticProps);
32
- Object.defineProperty(Constructor, "prototype", {
33
- writable: false
34
- });
35
32
  return Constructor;
36
33
  }
37
34
 
@@ -65,9 +62,6 @@ function _inherits(subClass, superClass) {
65
62
  configurable: true
66
63
  }
67
64
  });
68
- Object.defineProperty(subClass, "prototype", {
69
- writable: false
70
- });
71
65
  if (superClass) _setPrototypeOf(subClass, superClass);
72
66
  }
73
67
 
@@ -126,8 +120,6 @@ function _assertThisInitialized(self) {
126
120
  function _possibleConstructorReturn(self, call) {
127
121
  if (call && (typeof call === "object" || typeof call === "function")) {
128
122
  return call;
129
- } else if (call !== void 0) {
130
- throw new TypeError("Derived constructors may only return object or undefined");
131
123
  }
132
124
 
133
125
  return _assertThisInitialized(self);
@@ -161,7 +153,7 @@ function _superPropBase(object, property) {
161
153
  return object;
162
154
  }
163
155
 
164
- function _get() {
156
+ function _get(target, property, receiver) {
165
157
  if (typeof Reflect !== "undefined" && Reflect.get) {
166
158
  _get = Reflect.get;
167
159
  } else {
@@ -172,14 +164,14 @@ function _get() {
172
164
  var desc = Object.getOwnPropertyDescriptor(base, property);
173
165
 
174
166
  if (desc.get) {
175
- return desc.get.call(arguments.length < 3 ? target : receiver);
167
+ return desc.get.call(receiver);
176
168
  }
177
169
 
178
170
  return desc.value;
179
171
  };
180
172
  }
181
173
 
182
- return _get.apply(this, arguments);
174
+ return _get(target, property, receiver || target);
183
175
  }
184
176
 
185
177
  let HttpClient = /*#__PURE__*/function () {
@@ -1008,8 +1000,8 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
1008
1000
  || event.code === 4002
1009
1001
  /* InvalidSession */
1010
1002
  ) {
1011
- _this.connectStatus = ConnectionStatus.SessionClosed;
1012
- } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
1003
+ _this.connectStatus = ConnectionStatus.SessionClosed;
1004
+ } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
1013
1005
  _this.connectStatus = ConnectionStatus.Break;
1014
1006
  _this.reconnectTries++;
1015
1007
 
@@ -1522,7 +1514,7 @@ let Scheduler = /*#__PURE__*/function (_SchedulerService) {
1522
1514
  const taskProgress = await this.getTaskProgress(id);
1523
1515
  this.resolveTaskStatus(taskProgress, resolve, reject);
1524
1516
 
1525
- const taskResultCallback = async _ref => {
1517
+ const taskResultCallback = async (_ref) => {
1526
1518
  let {
1527
1519
  data
1528
1520
  } = _ref;
@@ -3713,12 +3705,12 @@ let Resources = /*#__PURE__*/function () {
3713
3705
  }, {
3714
3706
  key: "getDependentNames",
3715
3707
  value: function getDependentNames(deps, depType) {
3716
- return deps.filter(_ref => {
3708
+ return deps.filter((_ref) => {
3717
3709
  let {
3718
3710
  type
3719
3711
  } = _ref;
3720
3712
  return type === depType;
3721
- }).map(_ref2 => {
3713
+ }).map((_ref2) => {
3722
3714
  let {
3723
3715
  name
3724
3716
  } = _ref2;
@@ -6715,47 +6707,47 @@ function isFeatureLayer(layer) {
6715
6707
 
6716
6708
  /**
6717
6709
  *
6718
-
6710
+
6719
6711
  None
6720
-
6712
+
6721
6713
  Array
6722
-
6714
+
6723
6715
  Min
6724
-
6716
+
6725
6717
  Max
6726
-
6718
+
6727
6719
  Avg
6728
-
6720
+
6729
6721
  Sum
6730
-
6722
+
6731
6723
  Extent
6732
-
6724
+
6733
6725
  H3
6734
-
6726
+
6735
6727
  Count
6736
-
6728
+
6737
6729
  TotalCount
6738
-
6730
+
6739
6731
  DistinctCount
6740
-
6732
+
6741
6733
  First
6742
-
6734
+
6743
6735
  Last
6744
-
6736
+
6745
6737
  Median
6746
-
6738
+
6747
6739
  Mod
6748
-
6740
+
6749
6741
  StdDeviation
6750
-
6742
+
6751
6743
  SumOfProduct
6752
-
6744
+
6753
6745
  OnlyValue
6754
-
6746
+
6755
6747
  WeightedAvg
6756
-
6748
+
6757
6749
  DensityIndicators
6758
-
6750
+
6759
6751
  DividedSum
6760
6752
  */
6761
6753
  var AggregationFunction;
@@ -6785,29 +6777,29 @@ var AggregationFunction;
6785
6777
  })(AggregationFunction || (AggregationFunction = {}));
6786
6778
  /**
6787
6779
  * Types of the attributes that are supported by the system.
6788
-
6780
+
6789
6781
  Unknown
6790
-
6782
+
6791
6783
  String
6792
-
6784
+
6793
6785
  Int32
6794
-
6786
+
6795
6787
  Int64
6796
-
6788
+
6797
6789
  Double
6798
-
6790
+
6799
6791
  DateTime
6800
-
6792
+
6801
6793
  Boolean
6802
-
6794
+
6803
6795
  Point
6804
-
6796
+
6805
6797
  Polyline
6806
-
6798
+
6807
6799
  Polygon
6808
-
6800
+
6809
6801
  Multipoint
6810
-
6802
+
6811
6803
  H3Index
6812
6804
  */
6813
6805
 
@@ -6830,15 +6822,15 @@ var AttributeType;
6830
6822
  })(AttributeType || (AttributeType = {}));
6831
6823
  /**
6832
6824
  * Describes classification methods.
6833
-
6825
+
6834
6826
  none
6835
-
6827
+
6836
6828
  naturalBreaks
6837
-
6829
+
6838
6830
  equalInterval
6839
-
6831
+
6840
6832
  quantile
6841
-
6833
+
6842
6834
  unique
6843
6835
  */
6844
6836
 
@@ -6854,11 +6846,11 @@ var ClassificationType;
6854
6846
  })(ClassificationType || (ClassificationType = {}));
6855
6847
  /**
6856
6848
  * Type of attribute.
6857
-
6849
+
6858
6850
  decimal
6859
-
6851
+
6860
6852
  dateTime
6861
-
6853
+
6862
6854
  text
6863
6855
  */
6864
6856
 
@@ -6872,55 +6864,55 @@ var ClassifyAttributeType;
6872
6864
  })(ClassifyAttributeType || (ClassifyAttributeType = {}));
6873
6865
  /**
6874
6866
  * Types of errors that can occur during layer initialize.
6875
-
6867
+
6876
6868
  Unknown
6877
-
6869
+
6878
6870
  SerializeError
6879
-
6871
+
6880
6872
  InvalidDataService
6881
-
6873
+
6882
6874
  InvalidConfiguration
6883
-
6875
+
6884
6876
  InvalidDataServiceName
6885
-
6877
+
6886
6878
  InvalidTableName
6887
-
6879
+
6888
6880
  InvalidLayerName
6889
-
6881
+
6890
6882
  ResourceNotFound
6891
-
6883
+
6892
6884
  InvalidCondition
6893
-
6885
+
6894
6886
  InvalidAttributes
6895
-
6887
+
6896
6888
  InvalidIdAttribute
6897
-
6889
+
6898
6890
  InvalidGeometryAttribute
6899
-
6891
+
6900
6892
  InvalidGeometryAttributeType
6901
-
6893
+
6902
6894
  InvalidColumnName
6903
-
6895
+
6904
6896
  InvalidIdColumnSettings
6905
-
6897
+
6906
6898
  ColumnNotExistsInTable
6907
-
6899
+
6908
6900
  InvalidStyle
6909
-
6901
+
6910
6902
  InvalidLayerType
6911
-
6903
+
6912
6904
  ColumnLoadingError
6913
-
6905
+
6914
6906
  InvalidAttributeFormat
6915
-
6907
+
6916
6908
  DataSourceNotFound
6917
-
6909
+
6918
6910
  DuplicateColumns
6919
-
6911
+
6920
6912
  DuplicateAttributes
6921
-
6913
+
6922
6914
  TableWithoutColumns
6923
-
6915
+
6924
6916
  InvalidTableReferenceConfiguration
6925
6917
  */
6926
6918
 
@@ -6956,15 +6948,15 @@ var ConfigurationErrorEnum;
6956
6948
  })(ConfigurationErrorEnum || (ConfigurationErrorEnum = {}));
6957
6949
  /**
6958
6950
  * Type of the error.
6959
-
6951
+
6960
6952
  ResourceLimitExceeded
6961
-
6953
+
6962
6954
  ResourceNotFound
6963
-
6955
+
6964
6956
  InternalError
6965
-
6957
+
6966
6958
  BadRequest
6967
-
6959
+
6968
6960
  DuplicateContent
6969
6961
  */
6970
6962
 
@@ -7019,9 +7011,9 @@ var ErrorType;
7019
7011
  })(ErrorType || (ErrorType = {}));
7020
7012
  /**
7021
7013
  * Type of the feature.
7022
-
7014
+
7023
7015
  Unknown
7024
-
7016
+
7025
7017
  GeometricFeature
7026
7018
  */
7027
7019
 
@@ -7034,11 +7026,11 @@ var FeatureType;
7034
7026
  })(FeatureType || (FeatureType = {}));
7035
7027
  /**
7036
7028
  * Sets whether font should be styled.
7037
-
7029
+
7038
7030
  normal
7039
-
7031
+
7040
7032
  oblique
7041
-
7033
+
7042
7034
  italic
7043
7035
  */
7044
7036
 
@@ -7052,27 +7044,27 @@ var FontStyle;
7052
7044
  })(FontStyle || (FontStyle = {}));
7053
7045
  /**
7054
7046
  * Specifies the weight (or boldness) of the font.
7055
-
7047
+
7056
7048
  Thin
7057
-
7049
+
7058
7050
  ExtraLight
7059
-
7051
+
7060
7052
  Light
7061
-
7053
+
7062
7054
  SemiLight
7063
-
7055
+
7064
7056
  Normal
7065
-
7057
+
7066
7058
  Medium
7067
-
7059
+
7068
7060
  DemiBold
7069
-
7061
+
7070
7062
  Bold
7071
-
7063
+
7072
7064
  ExtraBold
7073
-
7065
+
7074
7066
  Black
7075
-
7067
+
7076
7068
  ExtraBlack
7077
7069
  */
7078
7070
 
@@ -7094,17 +7086,17 @@ var FontWeight;
7094
7086
  })(FontWeight || (FontWeight = {}));
7095
7087
  /**
7096
7088
  *
7097
-
7089
+
7098
7090
  unknown
7099
-
7091
+
7100
7092
  point
7101
-
7093
+
7102
7094
  polyline
7103
-
7095
+
7104
7096
  polygon
7105
-
7097
+
7106
7098
  envelope
7107
-
7099
+
7108
7100
  multipoint
7109
7101
  */
7110
7102
 
@@ -7121,13 +7113,13 @@ var GeometryType;
7121
7113
  })(GeometryType || (GeometryType = {}));
7122
7114
  /**
7123
7115
  * Resource group.
7124
-
7116
+
7125
7117
  my
7126
-
7118
+
7127
7119
  role
7128
-
7120
+
7129
7121
  public
7130
-
7122
+
7131
7123
  all
7132
7124
  */
7133
7125
 
@@ -7143,9 +7135,9 @@ var Group;
7143
7135
  /**
7144
7136
  * The size of the line ending in a SPCore.Kernel.Rendering.Symbols.SimplePolylineSymbol. The values sent here can be one
7145
7137
  of the preset values, or a number representing the size of the ending in pixels for 1px wide lines.
7146
-
7138
+
7147
7139
  small
7148
-
7140
+
7149
7141
  large
7150
7142
  */
7151
7143
 
@@ -7158,19 +7150,19 @@ var LineEndingSize;
7158
7150
  })(LineEndingSize || (LineEndingSize = {}));
7159
7151
  /**
7160
7152
  * Type of the line ending.
7161
-
7153
+
7162
7154
  none
7163
-
7155
+
7164
7156
  arrow
7165
-
7157
+
7166
7158
  filledArrow
7167
-
7159
+
7168
7160
  square
7169
-
7161
+
7170
7162
  filledSquare
7171
-
7163
+
7172
7164
  circle
7173
-
7165
+
7174
7166
  filledCircle
7175
7167
  */
7176
7168
 
@@ -7188,15 +7180,15 @@ var LineEndingType;
7188
7180
  })(LineEndingType || (LineEndingType = {}));
7189
7181
  /**
7190
7182
  *
7191
-
7183
+
7192
7184
  Unknown
7193
-
7185
+
7194
7186
  union
7195
-
7187
+
7196
7188
  intersection
7197
-
7189
+
7198
7190
  subtraction
7199
-
7191
+
7200
7192
  symDifference
7201
7193
  */
7202
7194
 
@@ -7212,19 +7204,19 @@ var Operation;
7212
7204
  })(Operation || (Operation = {}));
7213
7205
  /**
7214
7206
  * User permissions for server security objects (services, projects etc.)
7215
-
7207
+
7216
7208
  none
7217
-
7209
+
7218
7210
  configure
7219
-
7211
+
7220
7212
  write
7221
-
7213
+
7222
7214
  read
7223
-
7215
+
7224
7216
  read,configure
7225
-
7217
+
7226
7218
  read,write
7227
-
7219
+
7228
7220
  read,write,configure
7229
7221
  */
7230
7222
 
@@ -7242,19 +7234,19 @@ var Permissions;
7242
7234
  })(Permissions || (Permissions = {}));
7243
7235
  /**
7244
7236
  * Type of the authorization policy.
7245
-
7237
+
7246
7238
  Unknown
7247
-
7239
+
7248
7240
  CreateTable
7249
-
7241
+
7250
7242
  CreateLayer
7251
-
7243
+
7252
7244
  CreateProject
7253
-
7245
+
7254
7246
  MaxFeaturesInOneTable
7255
-
7247
+
7256
7248
  MaxObjectsToExport
7257
-
7249
+
7258
7250
  MaxUploadContentSize
7259
7251
  */
7260
7252
 
@@ -7272,11 +7264,11 @@ var PolicyType;
7272
7264
  })(PolicyType || (PolicyType = {}));
7273
7265
  /**
7274
7266
  * Types of table reference.
7275
-
7267
+
7276
7268
  OneToMany
7277
-
7269
+
7278
7270
  OneToOne
7279
-
7271
+
7280
7272
  Intersect
7281
7273
  */
7282
7274
 
@@ -7290,19 +7282,19 @@ var ReferenceJoinType;
7290
7282
  })(ReferenceJoinType || (ReferenceJoinType = {}));
7291
7283
  /**
7292
7284
  * The `ResourceType` represents resource manager supports types.
7293
-
7285
+
7294
7286
  Unknown
7295
-
7287
+
7296
7288
  table
7297
-
7289
+
7298
7290
  layer
7299
-
7291
+
7300
7292
  project
7301
-
7293
+
7302
7294
  file
7303
-
7295
+
7304
7296
  feature
7305
-
7297
+
7306
7298
  tag
7307
7299
  */
7308
7300
 
@@ -7328,21 +7320,21 @@ var ResourceTypeLink;
7328
7320
  })(ResourceTypeLink || (ResourceTypeLink = {}));
7329
7321
  /**
7330
7322
  * Status of the server task.
7331
-
7323
+
7332
7324
  None
7333
-
7325
+
7334
7326
  Scheduled
7335
-
7327
+
7336
7328
  Planning
7337
-
7329
+
7338
7330
  Executing
7339
-
7331
+
7340
7332
  Completed
7341
-
7333
+
7342
7334
  Failed
7343
-
7335
+
7344
7336
  Canceled
7345
-
7337
+
7346
7338
  Timeout
7347
7339
  */
7348
7340
 
@@ -7361,9 +7353,9 @@ var ServerTaskStatus;
7361
7353
  })(ServerTaskStatus || (ServerTaskStatus = {}));
7362
7354
  /**
7363
7355
  * Simplify type.
7364
-
7356
+
7365
7357
  Basic
7366
-
7358
+
7367
7359
  PreserveTopology
7368
7360
  */
7369
7361
 
@@ -7376,11 +7368,11 @@ var SimplifyType;
7376
7368
  })(SimplifyType || (SimplifyType = {}));
7377
7369
  /**
7378
7370
  * The `StringSubType` provides information about string attribute subtype.
7379
-
7371
+
7380
7372
  None
7381
-
7373
+
7382
7374
  Image
7383
-
7375
+
7384
7376
  PkkCode
7385
7377
  */
7386
7378
 
@@ -7394,9 +7386,9 @@ var StringSubType;
7394
7386
  })(StringSubType || (StringSubType = {}));
7395
7387
  /**
7396
7388
  * Task owner group.
7397
-
7389
+
7398
7390
  my
7399
-
7391
+
7400
7392
  all
7401
7393
  */
7402
7394
 
@@ -7409,13 +7401,13 @@ var TaskGroup;
7409
7401
  })(TaskGroup || (TaskGroup = {}));
7410
7402
  /**
7411
7403
  * Sets the horizontal alignment of text.
7412
-
7404
+
7413
7405
  right
7414
-
7406
+
7415
7407
  left
7416
-
7408
+
7417
7409
  center
7418
-
7410
+
7419
7411
  justified
7420
7412
  */
7421
7413
 
@@ -7430,11 +7422,11 @@ var TextAlignment;
7430
7422
  })(TextAlignment || (TextAlignment = {}));
7431
7423
  /**
7432
7424
  * Sets the vertical alignment of text.
7433
-
7425
+
7434
7426
  top
7435
-
7427
+
7436
7428
  bottom
7437
-
7429
+
7438
7430
  middle
7439
7431
  */
7440
7432