@evergis/api 3.0.142 → 3.0.143

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,6 +29,9 @@ 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
+ });
32
35
  return Constructor;
33
36
  }
34
37
 
@@ -62,6 +65,9 @@ function _inherits(subClass, superClass) {
62
65
  configurable: true
63
66
  }
64
67
  });
68
+ Object.defineProperty(subClass, "prototype", {
69
+ writable: false
70
+ });
65
71
  if (superClass) _setPrototypeOf(subClass, superClass);
66
72
  }
67
73
 
@@ -120,6 +126,8 @@ function _assertThisInitialized(self) {
120
126
  function _possibleConstructorReturn(self, call) {
121
127
  if (call && (typeof call === "object" || typeof call === "function")) {
122
128
  return call;
129
+ } else if (call !== void 0) {
130
+ throw new TypeError("Derived constructors may only return object or undefined");
123
131
  }
124
132
 
125
133
  return _assertThisInitialized(self);
@@ -153,7 +161,7 @@ function _superPropBase(object, property) {
153
161
  return object;
154
162
  }
155
163
 
156
- function _get(target, property, receiver) {
164
+ function _get() {
157
165
  if (typeof Reflect !== "undefined" && Reflect.get) {
158
166
  _get = Reflect.get;
159
167
  } else {
@@ -164,14 +172,14 @@ function _get(target, property, receiver) {
164
172
  var desc = Object.getOwnPropertyDescriptor(base, property);
165
173
 
166
174
  if (desc.get) {
167
- return desc.get.call(receiver);
175
+ return desc.get.call(arguments.length < 3 ? target : receiver);
168
176
  }
169
177
 
170
178
  return desc.value;
171
179
  };
172
180
  }
173
181
 
174
- return _get(target, property, receiver || target);
182
+ return _get.apply(this, arguments);
175
183
  }
176
184
 
177
185
  let HttpClient = /*#__PURE__*/function () {
@@ -1016,8 +1024,8 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
1016
1024
  || event.code === 4002
1017
1025
  /* InvalidSession */
1018
1026
  ) {
1019
- _this.connectStatus = ConnectionStatus.SessionClosed;
1020
- } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
1027
+ _this.connectStatus = ConnectionStatus.SessionClosed;
1028
+ } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
1021
1029
  _this.connectStatus = ConnectionStatus.Break;
1022
1030
  _this.reconnectTries++;
1023
1031
 
@@ -1530,7 +1538,7 @@ let Scheduler = /*#__PURE__*/function (_SchedulerService) {
1530
1538
  const taskProgress = await this.getTaskProgress(id);
1531
1539
  this.resolveTaskStatus(taskProgress, resolve, reject);
1532
1540
 
1533
- const taskResultCallback = async (_ref) => {
1541
+ const taskResultCallback = async _ref => {
1534
1542
  let {
1535
1543
  data
1536
1544
  } = _ref;
@@ -3753,12 +3761,12 @@ let Resources = /*#__PURE__*/function () {
3753
3761
  }, {
3754
3762
  key: "getDependentNames",
3755
3763
  value: function getDependentNames(deps, depType) {
3756
- return deps.filter((_ref) => {
3764
+ return deps.filter(_ref => {
3757
3765
  let {
3758
3766
  type
3759
3767
  } = _ref;
3760
3768
  return type === depType;
3761
- }).map((_ref2) => {
3769
+ }).map(_ref2 => {
3762
3770
  let {
3763
3771
  name
3764
3772
  } = _ref2;
@@ -6755,47 +6763,47 @@ function isFeatureLayer(layer) {
6755
6763
 
6756
6764
  /**
6757
6765
  *
6758
-
6766
+
6759
6767
  None
6760
-
6768
+
6761
6769
  Array
6762
-
6770
+
6763
6771
  Min
6764
-
6772
+
6765
6773
  Max
6766
-
6774
+
6767
6775
  Avg
6768
-
6776
+
6769
6777
  Sum
6770
-
6778
+
6771
6779
  Extent
6772
-
6780
+
6773
6781
  H3
6774
-
6782
+
6775
6783
  Count
6776
-
6784
+
6777
6785
  TotalCount
6778
-
6786
+
6779
6787
  DistinctCount
6780
-
6788
+
6781
6789
  First
6782
-
6790
+
6783
6791
  Last
6784
-
6792
+
6785
6793
  Median
6786
-
6794
+
6787
6795
  Mod
6788
-
6796
+
6789
6797
  StdDeviation
6790
-
6798
+
6791
6799
  SumOfProduct
6792
-
6800
+
6793
6801
  OnlyValue
6794
-
6802
+
6795
6803
  WeightedAvg
6796
-
6804
+
6797
6805
  DensityIndicators
6798
-
6806
+
6799
6807
  DividedSum
6800
6808
  */
6801
6809
  var AggregationFunction;
@@ -6825,29 +6833,29 @@ var AggregationFunction;
6825
6833
  })(AggregationFunction || (AggregationFunction = {}));
6826
6834
  /**
6827
6835
  * Types of the attributes that are supported by the system.
6828
-
6836
+
6829
6837
  Unknown
6830
-
6838
+
6831
6839
  String
6832
-
6840
+
6833
6841
  Int32
6834
-
6842
+
6835
6843
  Int64
6836
-
6844
+
6837
6845
  Double
6838
-
6846
+
6839
6847
  DateTime
6840
-
6848
+
6841
6849
  Boolean
6842
-
6850
+
6843
6851
  Point
6844
-
6852
+
6845
6853
  Polyline
6846
-
6854
+
6847
6855
  Polygon
6848
-
6856
+
6849
6857
  Multipoint
6850
-
6858
+
6851
6859
  H3Index
6852
6860
  */
6853
6861
 
@@ -6870,15 +6878,15 @@ var AttributeType;
6870
6878
  })(AttributeType || (AttributeType = {}));
6871
6879
  /**
6872
6880
  * Describes classification methods.
6873
-
6881
+
6874
6882
  none
6875
-
6883
+
6876
6884
  naturalBreaks
6877
-
6885
+
6878
6886
  equalInterval
6879
-
6887
+
6880
6888
  quantile
6881
-
6889
+
6882
6890
  unique
6883
6891
  */
6884
6892
 
@@ -6894,11 +6902,11 @@ var ClassificationType;
6894
6902
  })(ClassificationType || (ClassificationType = {}));
6895
6903
  /**
6896
6904
  * Type of attribute.
6897
-
6905
+
6898
6906
  decimal
6899
-
6907
+
6900
6908
  dateTime
6901
-
6909
+
6902
6910
  text
6903
6911
  */
6904
6912
 
@@ -6912,55 +6920,55 @@ var ClassifyAttributeType;
6912
6920
  })(ClassifyAttributeType || (ClassifyAttributeType = {}));
6913
6921
  /**
6914
6922
  * Types of errors that can occur during layer initialize.
6915
-
6923
+
6916
6924
  Unknown
6917
-
6925
+
6918
6926
  SerializeError
6919
-
6927
+
6920
6928
  InvalidDataService
6921
-
6929
+
6922
6930
  InvalidConfiguration
6923
-
6931
+
6924
6932
  InvalidDataServiceName
6925
-
6933
+
6926
6934
  InvalidTableName
6927
-
6935
+
6928
6936
  InvalidLayerName
6929
-
6937
+
6930
6938
  ResourceNotFound
6931
-
6939
+
6932
6940
  InvalidCondition
6933
-
6941
+
6934
6942
  InvalidAttributes
6935
-
6943
+
6936
6944
  InvalidIdAttribute
6937
-
6945
+
6938
6946
  InvalidGeometryAttribute
6939
-
6947
+
6940
6948
  InvalidGeometryAttributeType
6941
-
6949
+
6942
6950
  InvalidColumnName
6943
-
6951
+
6944
6952
  InvalidIdColumnSettings
6945
-
6953
+
6946
6954
  ColumnNotExistsInTable
6947
-
6955
+
6948
6956
  InvalidStyle
6949
-
6957
+
6950
6958
  InvalidLayerType
6951
-
6959
+
6952
6960
  ColumnLoadingError
6953
-
6961
+
6954
6962
  InvalidAttributeFormat
6955
-
6963
+
6956
6964
  DataSourceNotFound
6957
-
6965
+
6958
6966
  DuplicateColumns
6959
-
6967
+
6960
6968
  DuplicateAttributes
6961
-
6969
+
6962
6970
  TableWithoutColumns
6963
-
6971
+
6964
6972
  InvalidTableReferenceConfiguration
6965
6973
  */
6966
6974
 
@@ -6996,15 +7004,15 @@ var ConfigurationErrorEnum;
6996
7004
  })(ConfigurationErrorEnum || (ConfigurationErrorEnum = {}));
6997
7005
  /**
6998
7006
  * Type of the error.
6999
-
7007
+
7000
7008
  ResourceLimitExceeded
7001
-
7009
+
7002
7010
  ResourceNotFound
7003
-
7011
+
7004
7012
  InternalError
7005
-
7013
+
7006
7014
  BadRequest
7007
-
7015
+
7008
7016
  DuplicateContent
7009
7017
  */
7010
7018
 
@@ -7059,9 +7067,9 @@ var ErrorType;
7059
7067
  })(ErrorType || (ErrorType = {}));
7060
7068
  /**
7061
7069
  * Type of the feature.
7062
-
7070
+
7063
7071
  Unknown
7064
-
7072
+
7065
7073
  GeometricFeature
7066
7074
  */
7067
7075
 
@@ -7074,11 +7082,11 @@ var FeatureType;
7074
7082
  })(FeatureType || (FeatureType = {}));
7075
7083
  /**
7076
7084
  * Sets whether font should be styled.
7077
-
7085
+
7078
7086
  normal
7079
-
7087
+
7080
7088
  oblique
7081
-
7089
+
7082
7090
  italic
7083
7091
  */
7084
7092
 
@@ -7092,27 +7100,27 @@ var FontStyle;
7092
7100
  })(FontStyle || (FontStyle = {}));
7093
7101
  /**
7094
7102
  * Specifies the weight (or boldness) of the font.
7095
-
7103
+
7096
7104
  Thin
7097
-
7105
+
7098
7106
  ExtraLight
7099
-
7107
+
7100
7108
  Light
7101
-
7109
+
7102
7110
  SemiLight
7103
-
7111
+
7104
7112
  Normal
7105
-
7113
+
7106
7114
  Medium
7107
-
7115
+
7108
7116
  DemiBold
7109
-
7117
+
7110
7118
  Bold
7111
-
7119
+
7112
7120
  ExtraBold
7113
-
7121
+
7114
7122
  Black
7115
-
7123
+
7116
7124
  ExtraBlack
7117
7125
  */
7118
7126
 
@@ -7134,17 +7142,17 @@ var FontWeight;
7134
7142
  })(FontWeight || (FontWeight = {}));
7135
7143
  /**
7136
7144
  *
7137
-
7145
+
7138
7146
  unknown
7139
-
7147
+
7140
7148
  point
7141
-
7149
+
7142
7150
  polyline
7143
-
7151
+
7144
7152
  multipolygon
7145
-
7153
+
7146
7154
  envelope
7147
-
7155
+
7148
7156
  multipoint
7149
7157
  */
7150
7158
 
@@ -7161,13 +7169,13 @@ var GeometryType;
7161
7169
  })(GeometryType || (GeometryType = {}));
7162
7170
  /**
7163
7171
  * Resource group.
7164
-
7172
+
7165
7173
  my
7166
-
7174
+
7167
7175
  role
7168
-
7176
+
7169
7177
  public
7170
-
7178
+
7171
7179
  all
7172
7180
  */
7173
7181
 
@@ -7183,9 +7191,9 @@ var Group;
7183
7191
  /**
7184
7192
  * The size of the line ending in a SPCore.Kernel.Rendering.Symbols.SimplePolylineSymbol. The values sent here can be one
7185
7193
  of the preset values, or a number representing the size of the ending in pixels for 1px wide lines.
7186
-
7194
+
7187
7195
  small
7188
-
7196
+
7189
7197
  large
7190
7198
  */
7191
7199
 
@@ -7198,19 +7206,19 @@ var LineEndingSize;
7198
7206
  })(LineEndingSize || (LineEndingSize = {}));
7199
7207
  /**
7200
7208
  * Type of the line ending.
7201
-
7209
+
7202
7210
  none
7203
-
7211
+
7204
7212
  arrow
7205
-
7213
+
7206
7214
  filledArrow
7207
-
7215
+
7208
7216
  square
7209
-
7217
+
7210
7218
  filledSquare
7211
-
7219
+
7212
7220
  circle
7213
-
7221
+
7214
7222
  filledCircle
7215
7223
  */
7216
7224
 
@@ -7228,15 +7236,15 @@ var LineEndingType;
7228
7236
  })(LineEndingType || (LineEndingType = {}));
7229
7237
  /**
7230
7238
  *
7231
-
7239
+
7232
7240
  Unknown
7233
-
7241
+
7234
7242
  union
7235
-
7243
+
7236
7244
  intersection
7237
-
7245
+
7238
7246
  subtraction
7239
-
7247
+
7240
7248
  symDifference
7241
7249
  */
7242
7250
 
@@ -7252,19 +7260,19 @@ var Operation;
7252
7260
  })(Operation || (Operation = {}));
7253
7261
  /**
7254
7262
  * User permissions for server security objects (services, projects etc.)
7255
-
7263
+
7256
7264
  none
7257
-
7265
+
7258
7266
  configure
7259
-
7267
+
7260
7268
  write
7261
-
7269
+
7262
7270
  read
7263
-
7271
+
7264
7272
  read,configure
7265
-
7273
+
7266
7274
  read,write
7267
-
7275
+
7268
7276
  read,write,configure
7269
7277
  */
7270
7278
 
@@ -7282,19 +7290,19 @@ var Permissions;
7282
7290
  })(Permissions || (Permissions = {}));
7283
7291
  /**
7284
7292
  * Type of the authorization policy.
7285
-
7293
+
7286
7294
  Unknown
7287
-
7295
+
7288
7296
  CreateTable
7289
-
7297
+
7290
7298
  CreateLayer
7291
-
7299
+
7292
7300
  CreateProject
7293
-
7301
+
7294
7302
  MaxFeaturesInOneTable
7295
-
7303
+
7296
7304
  MaxObjectsToExport
7297
-
7305
+
7298
7306
  MaxUploadContentSize
7299
7307
  */
7300
7308
 
@@ -7312,11 +7320,11 @@ var PolicyType;
7312
7320
  })(PolicyType || (PolicyType = {}));
7313
7321
  /**
7314
7322
  * Types of table reference.
7315
-
7323
+
7316
7324
  OneToMany
7317
-
7325
+
7318
7326
  OneToOne
7319
-
7327
+
7320
7328
  Intersect
7321
7329
  */
7322
7330
 
@@ -7330,19 +7338,19 @@ var ReferenceJoinType;
7330
7338
  })(ReferenceJoinType || (ReferenceJoinType = {}));
7331
7339
  /**
7332
7340
  * The `ResourceType` represents resource manager supports types.
7333
-
7341
+
7334
7342
  Unknown
7335
-
7343
+
7336
7344
  table
7337
-
7345
+
7338
7346
  layer
7339
-
7347
+
7340
7348
  project
7341
-
7349
+
7342
7350
  file
7343
-
7351
+
7344
7352
  feature
7345
-
7353
+
7346
7354
  tag
7347
7355
  */
7348
7356
 
@@ -7368,21 +7376,21 @@ var ResourceTypeLink;
7368
7376
  })(ResourceTypeLink || (ResourceTypeLink = {}));
7369
7377
  /**
7370
7378
  * Status of the server task.
7371
-
7379
+
7372
7380
  None
7373
-
7381
+
7374
7382
  Scheduled
7375
-
7383
+
7376
7384
  Planning
7377
-
7385
+
7378
7386
  Executing
7379
-
7387
+
7380
7388
  Completed
7381
-
7389
+
7382
7390
  Failed
7383
-
7391
+
7384
7392
  Canceled
7385
-
7393
+
7386
7394
  Timeout
7387
7395
  */
7388
7396
 
@@ -7401,11 +7409,11 @@ var ServerTaskStatus;
7401
7409
  })(ServerTaskStatus || (ServerTaskStatus = {}));
7402
7410
  /**
7403
7411
  * Simplify type.
7404
-
7412
+
7405
7413
  Basic
7406
-
7414
+
7407
7415
  PreserveTopology
7408
-
7416
+
7409
7417
  VW
7410
7418
  */
7411
7419
 
@@ -7419,11 +7427,11 @@ var SimplifyType;
7419
7427
  })(SimplifyType || (SimplifyType = {}));
7420
7428
  /**
7421
7429
  * The `StringSubType` provides information about string attribute subtype.
7422
-
7430
+
7423
7431
  None
7424
-
7432
+
7425
7433
  Image
7426
-
7434
+
7427
7435
  PkkCode
7428
7436
  */
7429
7437
 
@@ -7437,9 +7445,9 @@ var StringSubType;
7437
7445
  })(StringSubType || (StringSubType = {}));
7438
7446
  /**
7439
7447
  * Task owner group.
7440
-
7448
+
7441
7449
  my
7442
-
7450
+
7443
7451
  all
7444
7452
  */
7445
7453
 
@@ -7452,13 +7460,13 @@ var TaskGroup;
7452
7460
  })(TaskGroup || (TaskGroup = {}));
7453
7461
  /**
7454
7462
  * Sets the horizontal alignment of text.
7455
-
7463
+
7456
7464
  right
7457
-
7465
+
7458
7466
  left
7459
-
7467
+
7460
7468
  center
7461
-
7469
+
7462
7470
  justified
7463
7471
  */
7464
7472
 
@@ -7473,11 +7481,11 @@ var TextAlignment;
7473
7481
  })(TextAlignment || (TextAlignment = {}));
7474
7482
  /**
7475
7483
  * Sets the vertical alignment of text.
7476
-
7484
+
7477
7485
  top
7478
-
7486
+
7479
7487
  bottom
7480
-
7488
+
7481
7489
  middle
7482
7490
  */
7483
7491