@evergis/api 3.0.124 → 3.0.127

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 () {
@@ -967,8 +975,8 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
967
975
  || event.code === 4002
968
976
  /* InvalidSession */
969
977
  ) {
970
- _this.connectStatus = ConnectionStatus.SessionClosed;
971
- } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
978
+ _this.connectStatus = ConnectionStatus.SessionClosed;
979
+ } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
972
980
  _this.connectStatus = ConnectionStatus.Break;
973
981
  _this.reconnectTries++;
974
982
 
@@ -1474,7 +1482,7 @@ let Scheduler = /*#__PURE__*/function (_SchedulerService) {
1474
1482
  const taskProgress = await this.getTaskProgress(id);
1475
1483
  this.resolveTaskStatus(taskProgress, resolve, reject);
1476
1484
 
1477
- const taskResultCallback = async (_ref) => {
1485
+ const taskResultCallback = async _ref => {
1478
1486
  let {
1479
1487
  data
1480
1488
  } = _ref;
@@ -3617,12 +3625,12 @@ let Resources = /*#__PURE__*/function () {
3617
3625
  }, {
3618
3626
  key: "getDependentNames",
3619
3627
  value: function getDependentNames(deps, depType) {
3620
- return deps.filter((_ref) => {
3628
+ return deps.filter(_ref => {
3621
3629
  let {
3622
3630
  type
3623
3631
  } = _ref;
3624
3632
  return type === depType;
3625
- }).map((_ref2) => {
3633
+ }).map(_ref2 => {
3626
3634
  let {
3627
3635
  name
3628
3636
  } = _ref2;
@@ -6634,47 +6642,47 @@ function isFeatureLayer(layer) {
6634
6642
 
6635
6643
  /**
6636
6644
  *
6637
-
6645
+
6638
6646
  None
6639
-
6647
+
6640
6648
  Array
6641
-
6649
+
6642
6650
  Min
6643
-
6651
+
6644
6652
  Max
6645
-
6653
+
6646
6654
  Avg
6647
-
6655
+
6648
6656
  Sum
6649
-
6657
+
6650
6658
  Extent
6651
-
6659
+
6652
6660
  H3
6653
-
6661
+
6654
6662
  Count
6655
-
6663
+
6656
6664
  TotalCount
6657
-
6665
+
6658
6666
  DistinctCount
6659
-
6667
+
6660
6668
  First
6661
-
6669
+
6662
6670
  Last
6663
-
6671
+
6664
6672
  Median
6665
-
6673
+
6666
6674
  Mod
6667
-
6675
+
6668
6676
  StdDeviation
6669
-
6677
+
6670
6678
  SumOfProduct
6671
-
6679
+
6672
6680
  OnlyValue
6673
-
6681
+
6674
6682
  WeightedAvg
6675
-
6683
+
6676
6684
  DensityIndicators
6677
-
6685
+
6678
6686
  DividedSum
6679
6687
  */
6680
6688
  var AggregationFunction;
@@ -6704,29 +6712,29 @@ var AggregationFunction;
6704
6712
  })(AggregationFunction || (AggregationFunction = {}));
6705
6713
  /**
6706
6714
  * Types of the attributes that are supported by the system.
6707
-
6715
+
6708
6716
  Unknown
6709
-
6717
+
6710
6718
  String
6711
-
6719
+
6712
6720
  Int32
6713
-
6721
+
6714
6722
  Int64
6715
-
6723
+
6716
6724
  Double
6717
-
6725
+
6718
6726
  DateTime
6719
-
6727
+
6720
6728
  Boolean
6721
-
6729
+
6722
6730
  Point
6723
-
6731
+
6724
6732
  Polyline
6725
-
6733
+
6726
6734
  Polygon
6727
-
6735
+
6728
6736
  Multipoint
6729
-
6737
+
6730
6738
  H3Index
6731
6739
  */
6732
6740
 
@@ -6749,15 +6757,15 @@ var AttributeType;
6749
6757
  })(AttributeType || (AttributeType = {}));
6750
6758
  /**
6751
6759
  * Describes classification methods.
6752
-
6760
+
6753
6761
  none
6754
-
6762
+
6755
6763
  naturalBreaks
6756
-
6764
+
6757
6765
  equalInterval
6758
-
6766
+
6759
6767
  quantile
6760
-
6768
+
6761
6769
  unique
6762
6770
  */
6763
6771
 
@@ -6773,11 +6781,11 @@ var ClassificationType;
6773
6781
  })(ClassificationType || (ClassificationType = {}));
6774
6782
  /**
6775
6783
  * Type of attribute.
6776
-
6784
+
6777
6785
  decimal
6778
-
6786
+
6779
6787
  dateTime
6780
-
6788
+
6781
6789
  text
6782
6790
  */
6783
6791
 
@@ -6791,55 +6799,55 @@ var ClassifyAttributeType;
6791
6799
  })(ClassifyAttributeType || (ClassifyAttributeType = {}));
6792
6800
  /**
6793
6801
  * Types of errors that can occur during layer initialize.
6794
-
6802
+
6795
6803
  Unknown
6796
-
6804
+
6797
6805
  SerializeError
6798
-
6806
+
6799
6807
  InvalidDataService
6800
-
6808
+
6801
6809
  InvalidConfiguration
6802
-
6810
+
6803
6811
  InvalidDataServiceName
6804
-
6812
+
6805
6813
  InvalidTableName
6806
-
6814
+
6807
6815
  InvalidLayerName
6808
-
6816
+
6809
6817
  ResourceNotFound
6810
-
6818
+
6811
6819
  InvalidCondition
6812
-
6820
+
6813
6821
  InvalidAttributes
6814
-
6822
+
6815
6823
  InvalidIdAttribute
6816
-
6824
+
6817
6825
  InvalidGeometryAttribute
6818
-
6826
+
6819
6827
  InvalidGeometryAttributeType
6820
-
6828
+
6821
6829
  InvalidColumnName
6822
-
6830
+
6823
6831
  InvalidIdColumnSettings
6824
-
6832
+
6825
6833
  ColumnNotExistsInTable
6826
-
6834
+
6827
6835
  InvalidStyle
6828
-
6836
+
6829
6837
  InvalidLayerType
6830
-
6838
+
6831
6839
  ColumnLoadingError
6832
-
6840
+
6833
6841
  InvalidAttributeFormat
6834
-
6842
+
6835
6843
  DataSourceNotFound
6836
-
6844
+
6837
6845
  DuplicateColumns
6838
-
6846
+
6839
6847
  DuplicateAttributes
6840
-
6848
+
6841
6849
  TableWithoutColumns
6842
-
6850
+
6843
6851
  InvalidTableReferenceConfiguration
6844
6852
  */
6845
6853
 
@@ -6875,15 +6883,15 @@ var ConfigurationErrorEnum;
6875
6883
  })(ConfigurationErrorEnum || (ConfigurationErrorEnum = {}));
6876
6884
  /**
6877
6885
  * Type of the error.
6878
-
6886
+
6879
6887
  ResourceLimitExceeded
6880
-
6888
+
6881
6889
  ResourceNotFound
6882
-
6890
+
6883
6891
  InternalError
6884
-
6892
+
6885
6893
  BadRequest
6886
-
6894
+
6887
6895
  DuplicateContent
6888
6896
  */
6889
6897
 
@@ -6938,9 +6946,9 @@ var ErrorType;
6938
6946
  })(ErrorType || (ErrorType = {}));
6939
6947
  /**
6940
6948
  * Type of the feature.
6941
-
6949
+
6942
6950
  Unknown
6943
-
6951
+
6944
6952
  GeometricFeature
6945
6953
  */
6946
6954
 
@@ -6953,11 +6961,11 @@ var FeatureType;
6953
6961
  })(FeatureType || (FeatureType = {}));
6954
6962
  /**
6955
6963
  * Sets whether font should be styled.
6956
-
6964
+
6957
6965
  normal
6958
-
6966
+
6959
6967
  oblique
6960
-
6968
+
6961
6969
  italic
6962
6970
  */
6963
6971
 
@@ -6971,27 +6979,27 @@ var FontStyle;
6971
6979
  })(FontStyle || (FontStyle = {}));
6972
6980
  /**
6973
6981
  * Specifies the weight (or boldness) of the font.
6974
-
6982
+
6975
6983
  Thin
6976
-
6984
+
6977
6985
  ExtraLight
6978
-
6986
+
6979
6987
  Light
6980
-
6988
+
6981
6989
  SemiLight
6982
-
6990
+
6983
6991
  Normal
6984
-
6992
+
6985
6993
  Medium
6986
-
6994
+
6987
6995
  DemiBold
6988
-
6996
+
6989
6997
  Bold
6990
-
6998
+
6991
6999
  ExtraBold
6992
-
7000
+
6993
7001
  Black
6994
-
7002
+
6995
7003
  ExtraBlack
6996
7004
  */
6997
7005
 
@@ -7013,17 +7021,17 @@ var FontWeight;
7013
7021
  })(FontWeight || (FontWeight = {}));
7014
7022
  /**
7015
7023
  *
7016
-
7024
+
7017
7025
  unknown
7018
-
7026
+
7019
7027
  point
7020
-
7028
+
7021
7029
  polyline
7022
-
7030
+
7023
7031
  polygon
7024
-
7032
+
7025
7033
  envelope
7026
-
7034
+
7027
7035
  multipoint
7028
7036
  */
7029
7037
 
@@ -7040,13 +7048,13 @@ var GeometryType;
7040
7048
  })(GeometryType || (GeometryType = {}));
7041
7049
  /**
7042
7050
  * Resource group.
7043
-
7051
+
7044
7052
  my
7045
-
7053
+
7046
7054
  role
7047
-
7055
+
7048
7056
  public
7049
-
7057
+
7050
7058
  all
7051
7059
  */
7052
7060
 
@@ -7062,9 +7070,9 @@ var Group;
7062
7070
  /**
7063
7071
  * The size of the line ending in a SPCore.Kernel.Rendering.Symbols.SimplePolylineSymbol. The values sent here can be one
7064
7072
  of the preset values, or a number representing the size of the ending in pixels for 1px wide lines.
7065
-
7073
+
7066
7074
  small
7067
-
7075
+
7068
7076
  large
7069
7077
  */
7070
7078
 
@@ -7077,19 +7085,19 @@ var LineEndingSize;
7077
7085
  })(LineEndingSize || (LineEndingSize = {}));
7078
7086
  /**
7079
7087
  * Type of the line ending.
7080
-
7088
+
7081
7089
  none
7082
-
7090
+
7083
7091
  arrow
7084
-
7092
+
7085
7093
  filledArrow
7086
-
7094
+
7087
7095
  square
7088
-
7096
+
7089
7097
  filledSquare
7090
-
7098
+
7091
7099
  circle
7092
-
7100
+
7093
7101
  filledCircle
7094
7102
  */
7095
7103
 
@@ -7107,15 +7115,15 @@ var LineEndingType;
7107
7115
  })(LineEndingType || (LineEndingType = {}));
7108
7116
  /**
7109
7117
  *
7110
-
7118
+
7111
7119
  Unknown
7112
-
7120
+
7113
7121
  union
7114
-
7122
+
7115
7123
  intersection
7116
-
7124
+
7117
7125
  subtraction
7118
-
7126
+
7119
7127
  symDifference
7120
7128
  */
7121
7129
 
@@ -7131,19 +7139,19 @@ var Operation;
7131
7139
  })(Operation || (Operation = {}));
7132
7140
  /**
7133
7141
  * User permissions for server security objects (services, projects etc.)
7134
-
7142
+
7135
7143
  none
7136
-
7144
+
7137
7145
  configure
7138
-
7146
+
7139
7147
  write
7140
-
7148
+
7141
7149
  read
7142
-
7150
+
7143
7151
  read,configure
7144
-
7152
+
7145
7153
  read,write
7146
-
7154
+
7147
7155
  read,write,configure
7148
7156
  */
7149
7157
 
@@ -7161,19 +7169,19 @@ var Permissions;
7161
7169
  })(Permissions || (Permissions = {}));
7162
7170
  /**
7163
7171
  * Type of the authorization policy.
7164
-
7172
+
7165
7173
  Unknown
7166
-
7174
+
7167
7175
  CreateTable
7168
-
7176
+
7169
7177
  CreateLayer
7170
-
7178
+
7171
7179
  CreateProject
7172
-
7180
+
7173
7181
  MaxFeaturesInOneTable
7174
-
7182
+
7175
7183
  MaxObjectsToExport
7176
-
7184
+
7177
7185
  MaxUploadContentSize
7178
7186
  */
7179
7187
 
@@ -7191,11 +7199,11 @@ var PolicyType;
7191
7199
  })(PolicyType || (PolicyType = {}));
7192
7200
  /**
7193
7201
  * Types of table reference.
7194
-
7202
+
7195
7203
  OneToMany
7196
-
7204
+
7197
7205
  OneToOne
7198
-
7206
+
7199
7207
  Intersect
7200
7208
  */
7201
7209
 
@@ -7209,19 +7217,19 @@ var ReferenceJoinType;
7209
7217
  })(ReferenceJoinType || (ReferenceJoinType = {}));
7210
7218
  /**
7211
7219
  * The `ResourceType` represents resource manager supports types.
7212
-
7220
+
7213
7221
  Unknown
7214
-
7222
+
7215
7223
  table
7216
-
7224
+
7217
7225
  layer
7218
-
7226
+
7219
7227
  project
7220
-
7228
+
7221
7229
  file
7222
-
7230
+
7223
7231
  feature
7224
-
7232
+
7225
7233
  tag
7226
7234
  */
7227
7235
 
@@ -7247,21 +7255,21 @@ var ResourceTypeLink;
7247
7255
  })(ResourceTypeLink || (ResourceTypeLink = {}));
7248
7256
  /**
7249
7257
  * Status of the server task.
7250
-
7258
+
7251
7259
  None
7252
-
7260
+
7253
7261
  Scheduled
7254
-
7262
+
7255
7263
  Planning
7256
-
7264
+
7257
7265
  Executing
7258
-
7266
+
7259
7267
  Completed
7260
-
7268
+
7261
7269
  Failed
7262
-
7270
+
7263
7271
  Canceled
7264
-
7272
+
7265
7273
  Timeout
7266
7274
  */
7267
7275
 
@@ -7280,9 +7288,9 @@ var ServerTaskStatus;
7280
7288
  })(ServerTaskStatus || (ServerTaskStatus = {}));
7281
7289
  /**
7282
7290
  * Simplify type.
7283
-
7291
+
7284
7292
  Basic
7285
-
7293
+
7286
7294
  PreserveTopology
7287
7295
  */
7288
7296
 
@@ -7295,11 +7303,11 @@ var SimplifyType;
7295
7303
  })(SimplifyType || (SimplifyType = {}));
7296
7304
  /**
7297
7305
  * The `StringSubType` provides information about string attribute subtype.
7298
-
7306
+
7299
7307
  None
7300
-
7308
+
7301
7309
  Image
7302
-
7310
+
7303
7311
  PkkCode
7304
7312
  */
7305
7313
 
@@ -7313,9 +7321,9 @@ var StringSubType;
7313
7321
  })(StringSubType || (StringSubType = {}));
7314
7322
  /**
7315
7323
  * Task owner group.
7316
-
7324
+
7317
7325
  my
7318
-
7326
+
7319
7327
  all
7320
7328
  */
7321
7329
 
@@ -7328,13 +7336,13 @@ var TaskGroup;
7328
7336
  })(TaskGroup || (TaskGroup = {}));
7329
7337
  /**
7330
7338
  * Sets the horizontal alignment of text.
7331
-
7339
+
7332
7340
  right
7333
-
7341
+
7334
7342
  left
7335
-
7343
+
7336
7344
  center
7337
-
7345
+
7338
7346
  justified
7339
7347
  */
7340
7348
 
@@ -7349,11 +7357,11 @@ var TextAlignment;
7349
7357
  })(TextAlignment || (TextAlignment = {}));
7350
7358
  /**
7351
7359
  * Sets the vertical alignment of text.
7352
-
7360
+
7353
7361
  top
7354
-
7362
+
7355
7363
  bottom
7356
-
7364
+
7357
7365
  middle
7358
7366
  */
7359
7367