@evergis/api 3.0.108 → 3.0.109

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 () {
@@ -891,8 +883,8 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
891
883
  || event.code === 4002
892
884
  /* InvalidSession */
893
885
  ) {
894
- _this.connectStatus = ConnectionStatus.SessionClosed;
895
- } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
886
+ _this.connectStatus = ConnectionStatus.SessionClosed;
887
+ } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
896
888
  _this.connectStatus = ConnectionStatus.Break;
897
889
  _this.reconnectTries++;
898
890
 
@@ -1398,7 +1390,7 @@ let Scheduler = /*#__PURE__*/function (_SchedulerService) {
1398
1390
  const taskProgress = await this.getTaskProgress(id);
1399
1391
  this.resolveTaskStatus(taskProgress, resolve, reject);
1400
1392
 
1401
- const taskResultCallback = async _ref => {
1393
+ const taskResultCallback = async (_ref) => {
1402
1394
  let {
1403
1395
  data
1404
1396
  } = _ref;
@@ -3540,12 +3532,12 @@ let Resources = /*#__PURE__*/function () {
3540
3532
  }, {
3541
3533
  key: "getDependentNames",
3542
3534
  value: function getDependentNames(deps, depType) {
3543
- return deps.filter(_ref => {
3535
+ return deps.filter((_ref) => {
3544
3536
  let {
3545
3537
  type
3546
3538
  } = _ref;
3547
3539
  return type === depType;
3548
- }).map(_ref2 => {
3540
+ }).map((_ref2) => {
3549
3541
  let {
3550
3542
  name
3551
3543
  } = _ref2;
@@ -6126,7 +6118,8 @@ let EvergisTileLayer = /*#__PURE__*/function (_TileLayer) {
6126
6118
  _classCallCheck(this, EvergisTileLayer);
6127
6119
 
6128
6120
  _this = _super.call(this, '', {
6129
- crs: configuration.crs
6121
+ crs: configuration.crs,
6122
+ opacity: configuration.opacity
6130
6123
  });
6131
6124
  _this.api = api;
6132
6125
  _this.name = configuration.name;
@@ -6441,45 +6434,45 @@ function isFeatureLayer(layer) {
6441
6434
 
6442
6435
  /**
6443
6436
  *
6444
-
6437
+
6445
6438
  None
6446
-
6439
+
6447
6440
  Array
6448
-
6441
+
6449
6442
  Min
6450
-
6443
+
6451
6444
  Max
6452
-
6445
+
6453
6446
  Avg
6454
-
6447
+
6455
6448
  Sum
6456
-
6449
+
6457
6450
  Extent
6458
-
6451
+
6459
6452
  Count
6460
-
6453
+
6461
6454
  TotalCount
6462
-
6455
+
6463
6456
  DistinctCount
6464
-
6457
+
6465
6458
  First
6466
-
6459
+
6467
6460
  Last
6468
-
6461
+
6469
6462
  Median
6470
-
6463
+
6471
6464
  Mod
6472
-
6465
+
6473
6466
  StdDeviation
6474
-
6467
+
6475
6468
  SumOfProduct
6476
-
6469
+
6477
6470
  OnlyValue
6478
-
6471
+
6479
6472
  WeightedAvg
6480
-
6473
+
6481
6474
  DensityIndicators
6482
-
6475
+
6483
6476
  DividedSum
6484
6477
  */
6485
6478
  var AggregationFunction;
@@ -6508,27 +6501,27 @@ var AggregationFunction;
6508
6501
  })(AggregationFunction || (AggregationFunction = {}));
6509
6502
  /**
6510
6503
  * Types of the attributes that are supported by the system.
6511
-
6504
+
6512
6505
  Unknown
6513
-
6506
+
6514
6507
  String
6515
-
6508
+
6516
6509
  Int32
6517
-
6510
+
6518
6511
  Int64
6519
-
6512
+
6520
6513
  Double
6521
-
6514
+
6522
6515
  DateTime
6523
-
6516
+
6524
6517
  Boolean
6525
-
6518
+
6526
6519
  Point
6527
-
6520
+
6528
6521
  Polyline
6529
-
6522
+
6530
6523
  Polygon
6531
-
6524
+
6532
6525
  Multipoint
6533
6526
  */
6534
6527
 
@@ -6550,15 +6543,15 @@ var AttributeType;
6550
6543
  })(AttributeType || (AttributeType = {}));
6551
6544
  /**
6552
6545
  * Describes classification methods.
6553
-
6546
+
6554
6547
  none
6555
-
6548
+
6556
6549
  naturalBreaks
6557
-
6550
+
6558
6551
  equalInterval
6559
-
6552
+
6560
6553
  quantile
6561
-
6554
+
6562
6555
  unique
6563
6556
  */
6564
6557
 
@@ -6574,11 +6567,11 @@ var ClassificationType;
6574
6567
  })(ClassificationType || (ClassificationType = {}));
6575
6568
  /**
6576
6569
  * Type of attribute.
6577
-
6570
+
6578
6571
  decimal
6579
-
6572
+
6580
6573
  dateTime
6581
-
6574
+
6582
6575
  text
6583
6576
  */
6584
6577
 
@@ -6592,51 +6585,51 @@ var ClassifyAttributeType;
6592
6585
  })(ClassifyAttributeType || (ClassifyAttributeType = {}));
6593
6586
  /**
6594
6587
  * Types of errors that can occur during layer initialize.
6595
-
6588
+
6596
6589
  Unknown
6597
-
6590
+
6598
6591
  SerializeError
6599
-
6592
+
6600
6593
  InvalidDataService
6601
-
6594
+
6602
6595
  InvalidConfiguration
6603
-
6596
+
6604
6597
  InvalidDataServiceName
6605
-
6598
+
6606
6599
  InvalidTableName
6607
-
6600
+
6608
6601
  InvalidLayerName
6609
-
6602
+
6610
6603
  ResourceNotFound
6611
-
6604
+
6612
6605
  InvalidCondition
6613
-
6606
+
6614
6607
  InvalidAttributes
6615
-
6608
+
6616
6609
  InvalidIdAttribute
6617
-
6610
+
6618
6611
  InvalidGeometryAttribute
6619
-
6612
+
6620
6613
  InvalidGeometryAttributeType
6621
-
6614
+
6622
6615
  InvalidColumnName
6623
-
6616
+
6624
6617
  InvalidIdColumnSettings
6625
-
6618
+
6626
6619
  ColumnNotExistsInTable
6627
-
6620
+
6628
6621
  InvalidStyle
6629
-
6622
+
6630
6623
  InvalidLayerType
6631
-
6624
+
6632
6625
  ColumnLoadingError
6633
-
6626
+
6634
6627
  InvalidAttributeFormat
6635
-
6628
+
6636
6629
  DataSourceNotFound
6637
-
6630
+
6638
6631
  DuplicateColumns
6639
-
6632
+
6640
6633
  TableWithoutColumns
6641
6634
  */
6642
6635
 
@@ -6670,15 +6663,15 @@ var ConfigurationErrorEnum;
6670
6663
  })(ConfigurationErrorEnum || (ConfigurationErrorEnum = {}));
6671
6664
  /**
6672
6665
  * Type of the error.
6673
-
6666
+
6674
6667
  ResourceLimitExceeded
6675
-
6668
+
6676
6669
  ResourceNotFound
6677
-
6670
+
6678
6671
  InternalError
6679
-
6672
+
6680
6673
  BadRequest
6681
-
6674
+
6682
6675
  DuplicateContent
6683
6676
  */
6684
6677
 
@@ -6733,9 +6726,9 @@ var ErrorType;
6733
6726
  })(ErrorType || (ErrorType = {}));
6734
6727
  /**
6735
6728
  * Type of the feature.
6736
-
6729
+
6737
6730
  Unknown
6738
-
6731
+
6739
6732
  GeometricFeature
6740
6733
  */
6741
6734
 
@@ -6748,11 +6741,11 @@ var FeatureType;
6748
6741
  })(FeatureType || (FeatureType = {}));
6749
6742
  /**
6750
6743
  * Sets whether font should be styled.
6751
-
6744
+
6752
6745
  normal
6753
-
6746
+
6754
6747
  oblique
6755
-
6748
+
6756
6749
  italic
6757
6750
  */
6758
6751
 
@@ -6766,27 +6759,27 @@ var FontStyle;
6766
6759
  })(FontStyle || (FontStyle = {}));
6767
6760
  /**
6768
6761
  * Specifies the weight (or boldness) of the font.
6769
-
6762
+
6770
6763
  Thin
6771
-
6764
+
6772
6765
  ExtraLight
6773
-
6766
+
6774
6767
  Light
6775
-
6768
+
6776
6769
  SemiLight
6777
-
6770
+
6778
6771
  Normal
6779
-
6772
+
6780
6773
  Medium
6781
-
6774
+
6782
6775
  DemiBold
6783
-
6776
+
6784
6777
  Bold
6785
-
6778
+
6786
6779
  ExtraBold
6787
-
6780
+
6788
6781
  Black
6789
-
6782
+
6790
6783
  ExtraBlack
6791
6784
  */
6792
6785
 
@@ -6808,17 +6801,17 @@ var FontWeight;
6808
6801
  })(FontWeight || (FontWeight = {}));
6809
6802
  /**
6810
6803
  *
6811
-
6804
+
6812
6805
  unknown
6813
-
6806
+
6814
6807
  point
6815
-
6808
+
6816
6809
  polyline
6817
-
6810
+
6818
6811
  polygon
6819
-
6812
+
6820
6813
  envelope
6821
-
6814
+
6822
6815
  multipoint
6823
6816
  */
6824
6817
 
@@ -6835,13 +6828,13 @@ var GeometryType;
6835
6828
  })(GeometryType || (GeometryType = {}));
6836
6829
  /**
6837
6830
  * Resource group.
6838
-
6831
+
6839
6832
  my
6840
-
6833
+
6841
6834
  role
6842
-
6835
+
6843
6836
  public
6844
-
6837
+
6845
6838
  all
6846
6839
  */
6847
6840
 
@@ -6857,9 +6850,9 @@ var Group;
6857
6850
  /**
6858
6851
  * The size of the line ending in a SPCore.Kernel.Rendering.Symbols.SimplePolylineSymbol. The values sent here can be one
6859
6852
  of the preset values, or a number representing the size of the ending in pixels for 1px wide lines.
6860
-
6853
+
6861
6854
  small
6862
-
6855
+
6863
6856
  large
6864
6857
  */
6865
6858
 
@@ -6872,19 +6865,19 @@ var LineEndingSize;
6872
6865
  })(LineEndingSize || (LineEndingSize = {}));
6873
6866
  /**
6874
6867
  * Type of the line ending.
6875
-
6868
+
6876
6869
  none
6877
-
6870
+
6878
6871
  arrow
6879
-
6872
+
6880
6873
  filledArrow
6881
-
6874
+
6882
6875
  square
6883
-
6876
+
6884
6877
  filledSquare
6885
-
6878
+
6886
6879
  circle
6887
-
6880
+
6888
6881
  filledCircle
6889
6882
  */
6890
6883
 
@@ -6902,15 +6895,15 @@ var LineEndingType;
6902
6895
  })(LineEndingType || (LineEndingType = {}));
6903
6896
  /**
6904
6897
  *
6905
-
6898
+
6906
6899
  Unknown
6907
-
6900
+
6908
6901
  union
6909
-
6902
+
6910
6903
  intersection
6911
-
6904
+
6912
6905
  subtraction
6913
-
6906
+
6914
6907
  symDifference
6915
6908
  */
6916
6909
 
@@ -6926,19 +6919,19 @@ var Operation;
6926
6919
  })(Operation || (Operation = {}));
6927
6920
  /**
6928
6921
  * User permissions for server security objects (services, projects etc.)
6929
-
6922
+
6930
6923
  none
6931
-
6924
+
6932
6925
  configure
6933
-
6926
+
6934
6927
  write
6935
-
6928
+
6936
6929
  read
6937
-
6930
+
6938
6931
  read,configure
6939
-
6932
+
6940
6933
  read,write
6941
-
6934
+
6942
6935
  read,write,configure
6943
6936
  */
6944
6937
 
@@ -6956,19 +6949,19 @@ var Permissions;
6956
6949
  })(Permissions || (Permissions = {}));
6957
6950
  /**
6958
6951
  * Type of the authorization policy.
6959
-
6952
+
6960
6953
  Unknown
6961
-
6954
+
6962
6955
  CreateTable
6963
-
6956
+
6964
6957
  CreateLayer
6965
-
6958
+
6966
6959
  CreateProject
6967
-
6960
+
6968
6961
  MaxFeaturesInOneTable
6969
-
6962
+
6970
6963
  MaxObjectsToExport
6971
-
6964
+
6972
6965
  MaxUploadContentSize
6973
6966
  */
6974
6967
 
@@ -6986,19 +6979,19 @@ var PolicyType;
6986
6979
  })(PolicyType || (PolicyType = {}));
6987
6980
  /**
6988
6981
  * The `ResourceType` represents resource manager supports types.
6989
-
6982
+
6990
6983
  Unknown
6991
-
6984
+
6992
6985
  table
6993
-
6986
+
6994
6987
  layer
6995
-
6988
+
6996
6989
  project
6997
-
6990
+
6998
6991
  file
6999
-
6992
+
7000
6993
  feature
7001
-
6994
+
7002
6995
  tag
7003
6996
  */
7004
6997
 
@@ -7024,21 +7017,21 @@ var ResourceTypeLink;
7024
7017
  })(ResourceTypeLink || (ResourceTypeLink = {}));
7025
7018
  /**
7026
7019
  * Status of the server task.
7027
-
7020
+
7028
7021
  None
7029
-
7022
+
7030
7023
  Scheduled
7031
-
7024
+
7032
7025
  Planning
7033
-
7026
+
7034
7027
  Executing
7035
-
7028
+
7036
7029
  Completed
7037
-
7030
+
7038
7031
  Failed
7039
-
7032
+
7040
7033
  Canceled
7041
-
7034
+
7042
7035
  Timeout
7043
7036
  */
7044
7037
 
@@ -7057,11 +7050,11 @@ var ServerTaskStatus;
7057
7050
  })(ServerTaskStatus || (ServerTaskStatus = {}));
7058
7051
  /**
7059
7052
  * The `StringSubType` provides information about string attribute subtype.
7060
-
7053
+
7061
7054
  None
7062
-
7055
+
7063
7056
  Image
7064
-
7057
+
7065
7058
  PkkCode
7066
7059
  */
7067
7060
 
@@ -7075,13 +7068,13 @@ var StringSubType;
7075
7068
  })(StringSubType || (StringSubType = {}));
7076
7069
  /**
7077
7070
  * Sets the horizontal alignment of text.
7078
-
7071
+
7079
7072
  right
7080
-
7073
+
7081
7074
  left
7082
-
7075
+
7083
7076
  center
7084
-
7077
+
7085
7078
  justified
7086
7079
  */
7087
7080
 
@@ -7096,11 +7089,11 @@ var TextAlignment;
7096
7089
  })(TextAlignment || (TextAlignment = {}));
7097
7090
  /**
7098
7091
  * Sets the vertical alignment of text.
7099
-
7092
+
7100
7093
  top
7101
-
7094
+
7102
7095
  bottom
7103
-
7096
+
7104
7097
  middle
7105
7098
  */
7106
7099