@evergis/api 3.0.162 → 3.0.163

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 () {
@@ -1295,8 +1287,8 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
1295
1287
  || event.code === 4002
1296
1288
  /* InvalidSession */
1297
1289
  ) {
1298
- _this.connectStatus = ConnectionStatus.SessionClosed;
1299
- } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
1290
+ _this.connectStatus = ConnectionStatus.SessionClosed;
1291
+ } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
1300
1292
  _this.connectStatus = ConnectionStatus.Break;
1301
1293
  _this.reconnectTries++;
1302
1294
 
@@ -1863,7 +1855,7 @@ let Scheduler = /*#__PURE__*/function (_SchedulerService) {
1863
1855
  const taskProgress = await this.getTaskProgress(id);
1864
1856
  this.resolveTaskStatus(taskProgress, resolve, reject);
1865
1857
 
1866
- const taskResultCallback = async _ref => {
1858
+ const taskResultCallback = async (_ref) => {
1867
1859
  let {
1868
1860
  data
1869
1861
  } = _ref;
@@ -4181,12 +4173,12 @@ let Resources = /*#__PURE__*/function () {
4181
4173
  }, {
4182
4174
  key: "getDependentNames",
4183
4175
  value: function getDependentNames(deps, depType) {
4184
- return deps.filter(_ref => {
4176
+ return deps.filter((_ref) => {
4185
4177
  let {
4186
4178
  type
4187
4179
  } = _ref;
4188
4180
  return type === depType;
4189
- }).map(_ref2 => {
4181
+ }).map((_ref2) => {
4190
4182
  let {
4191
4183
  name
4192
4184
  } = _ref2;
@@ -7169,47 +7161,47 @@ function isFeatureLayer(layer) {
7169
7161
 
7170
7162
  /**
7171
7163
  *
7172
-
7164
+
7173
7165
  None
7174
-
7166
+
7175
7167
  Array
7176
-
7168
+
7177
7169
  Min
7178
-
7170
+
7179
7171
  Max
7180
-
7172
+
7181
7173
  Avg
7182
-
7174
+
7183
7175
  Sum
7184
-
7176
+
7185
7177
  Extent
7186
-
7178
+
7187
7179
  H3
7188
-
7180
+
7189
7181
  Count
7190
-
7182
+
7191
7183
  TotalCount
7192
-
7184
+
7193
7185
  DistinctCount
7194
-
7186
+
7195
7187
  First
7196
-
7188
+
7197
7189
  Last
7198
-
7190
+
7199
7191
  Median
7200
-
7192
+
7201
7193
  Mod
7202
-
7194
+
7203
7195
  StdDeviation
7204
-
7196
+
7205
7197
  SumOfProduct
7206
-
7198
+
7207
7199
  OnlyValue
7208
-
7200
+
7209
7201
  WeightedAvg
7210
-
7202
+
7211
7203
  DensityIndicators
7212
-
7204
+
7213
7205
  DividedSum
7214
7206
  */
7215
7207
  var AggregationFunction;
@@ -7238,32 +7230,53 @@ var AggregationFunction;
7238
7230
  AggregationFunction["DividedSum"] = "DividedSum";
7239
7231
  })(AggregationFunction || (AggregationFunction = {}));
7240
7232
  /**
7233
+ * Attribute selector type.
7234
+
7235
+ None
7236
+
7237
+ SelectFromHandBook
7238
+
7239
+ SelectFromRange
7240
+
7241
+ ViewHandBook
7242
+ */
7243
+
7244
+
7245
+ var AttributeSelectorType;
7246
+
7247
+ (function (AttributeSelectorType) {
7248
+ AttributeSelectorType["None"] = "None";
7249
+ AttributeSelectorType["SelectFromHandBook"] = "SelectFromHandBook";
7250
+ AttributeSelectorType["SelectFromRange"] = "SelectFromRange";
7251
+ AttributeSelectorType["ViewHandBook"] = "ViewHandBook";
7252
+ })(AttributeSelectorType || (AttributeSelectorType = {}));
7253
+ /**
7241
7254
  * Types of the attributes that are supported by the system.
7242
-
7255
+
7243
7256
  Unknown
7244
-
7257
+
7245
7258
  String
7246
-
7259
+
7247
7260
  Int32
7248
-
7261
+
7249
7262
  Int64
7250
-
7263
+
7251
7264
  Double
7252
-
7265
+
7253
7266
  DateTime
7254
-
7267
+
7255
7268
  Boolean
7256
-
7269
+
7257
7270
  Point
7258
-
7271
+
7259
7272
  Polyline
7260
-
7273
+
7261
7274
  MultiPolygon
7262
-
7275
+
7263
7276
  Multipoint
7264
-
7277
+
7265
7278
  H3Index
7266
-
7279
+
7267
7280
  Json
7268
7281
  */
7269
7282
 
@@ -7287,15 +7300,15 @@ var AttributeType;
7287
7300
  })(AttributeType || (AttributeType = {}));
7288
7301
  /**
7289
7302
  * Describes classification methods.
7290
-
7303
+
7291
7304
  none
7292
-
7305
+
7293
7306
  naturalBreaks
7294
-
7307
+
7295
7308
  equalInterval
7296
-
7309
+
7297
7310
  quantile
7298
-
7311
+
7299
7312
  unique
7300
7313
  */
7301
7314
 
@@ -7310,12 +7323,12 @@ var ClassificationType;
7310
7323
  ClassificationType["Unique"] = "unique";
7311
7324
  })(ClassificationType || (ClassificationType = {}));
7312
7325
  /**
7313
- * Type of attribute.
7314
-
7326
+ *
7327
+
7315
7328
  decimal
7316
-
7329
+
7317
7330
  dateTime
7318
-
7331
+
7319
7332
  text
7320
7333
  */
7321
7334
 
@@ -7329,55 +7342,55 @@ var ClassifyAttributeType;
7329
7342
  })(ClassifyAttributeType || (ClassifyAttributeType = {}));
7330
7343
  /**
7331
7344
  * Types of errors that can occur during layer initialize.
7332
-
7345
+
7333
7346
  Unknown
7334
-
7347
+
7335
7348
  SerializeError
7336
-
7349
+
7337
7350
  InvalidDataService
7338
-
7351
+
7339
7352
  InvalidConfiguration
7340
-
7353
+
7341
7354
  InvalidDataServiceName
7342
-
7355
+
7343
7356
  InvalidTableName
7344
-
7357
+
7345
7358
  InvalidLayerName
7346
-
7359
+
7347
7360
  ResourceNotFound
7348
-
7361
+
7349
7362
  InvalidCondition
7350
-
7363
+
7351
7364
  InvalidAttributes
7352
-
7365
+
7353
7366
  InvalidIdAttribute
7354
-
7367
+
7355
7368
  InvalidGeometryAttribute
7356
-
7369
+
7357
7370
  InvalidGeometryAttributeType
7358
-
7371
+
7359
7372
  InvalidColumnName
7360
-
7373
+
7361
7374
  InvalidIdColumnSettings
7362
-
7375
+
7363
7376
  ColumnNotExistsInTable
7364
-
7377
+
7365
7378
  InvalidStyle
7366
-
7379
+
7367
7380
  InvalidLayerType
7368
-
7381
+
7369
7382
  ColumnLoadingError
7370
-
7383
+
7371
7384
  InvalidAttributeFormat
7372
-
7385
+
7373
7386
  DataSourceNotFound
7374
-
7387
+
7375
7388
  DuplicateColumns
7376
-
7389
+
7377
7390
  DuplicateAttributes
7378
-
7391
+
7379
7392
  TableWithoutColumns
7380
-
7393
+
7381
7394
  InvalidTableReferenceConfiguration
7382
7395
  */
7383
7396
 
@@ -7413,15 +7426,15 @@ var ConfigurationErrorEnum;
7413
7426
  })(ConfigurationErrorEnum || (ConfigurationErrorEnum = {}));
7414
7427
  /**
7415
7428
  * Type of the error.
7416
-
7429
+
7417
7430
  ResourceLimitExceeded
7418
-
7431
+
7419
7432
  ResourceNotFound
7420
-
7433
+
7421
7434
  InternalError
7422
-
7435
+
7423
7436
  BadRequest
7424
-
7437
+
7425
7438
  DuplicateContent
7426
7439
  */
7427
7440
 
@@ -7472,9 +7485,9 @@ var ErrorType;
7472
7485
  })(ErrorType || (ErrorType = {}));
7473
7486
  /**
7474
7487
  * Type of the feature.
7475
-
7488
+
7476
7489
  Unknown
7477
-
7490
+
7478
7491
  GeometricFeature
7479
7492
  */
7480
7493
 
@@ -7487,11 +7500,11 @@ var FeatureType;
7487
7500
  })(FeatureType || (FeatureType = {}));
7488
7501
  /**
7489
7502
  * Sets whether font should be styled.
7490
-
7503
+
7491
7504
  normal
7492
-
7505
+
7493
7506
  oblique
7494
-
7507
+
7495
7508
  italic
7496
7509
  */
7497
7510
 
@@ -7505,27 +7518,27 @@ var FontStyle;
7505
7518
  })(FontStyle || (FontStyle = {}));
7506
7519
  /**
7507
7520
  * Specifies the weight (or boldness) of the font.
7508
-
7521
+
7509
7522
  Thin
7510
-
7523
+
7511
7524
  ExtraLight
7512
-
7525
+
7513
7526
  Light
7514
-
7527
+
7515
7528
  SemiLight
7516
-
7529
+
7517
7530
  Normal
7518
-
7531
+
7519
7532
  Medium
7520
-
7533
+
7521
7534
  DemiBold
7522
-
7535
+
7523
7536
  Bold
7524
-
7537
+
7525
7538
  ExtraBold
7526
-
7539
+
7527
7540
  Black
7528
-
7541
+
7529
7542
  ExtraBlack
7530
7543
  */
7531
7544
 
@@ -7547,17 +7560,17 @@ var FontWeight;
7547
7560
  })(FontWeight || (FontWeight = {}));
7548
7561
  /**
7549
7562
  *
7550
-
7563
+
7551
7564
  unknown
7552
-
7565
+
7553
7566
  point
7554
-
7567
+
7555
7568
  polyline
7556
-
7569
+
7557
7570
  multipolygon
7558
-
7571
+
7559
7572
  envelope
7560
-
7573
+
7561
7574
  multipoint
7562
7575
  */
7563
7576
 
@@ -7574,13 +7587,13 @@ var GeometryType;
7574
7587
  })(GeometryType || (GeometryType = {}));
7575
7588
  /**
7576
7589
  * Resource group.
7577
-
7590
+
7578
7591
  my
7579
-
7592
+
7580
7593
  role
7581
-
7594
+
7582
7595
  public
7583
-
7596
+
7584
7597
  all
7585
7598
  */
7586
7599
 
@@ -7595,13 +7608,13 @@ var Group;
7595
7608
  })(Group || (Group = {}));
7596
7609
  /**
7597
7610
  * Specifies the settings of line cap. This is applied to the beginning and end of each non-closed line.
7598
-
7611
+
7599
7612
  Flat
7600
-
7613
+
7601
7614
  Square
7602
-
7615
+
7603
7616
  Round
7604
-
7617
+
7605
7618
  Triangle
7606
7619
  */
7607
7620
 
@@ -7616,29 +7629,29 @@ var LineCapStyle;
7616
7629
  })(LineCapStyle || (LineCapStyle = {}));
7617
7630
  /**
7618
7631
  * Type of the line ending.
7619
-
7632
+
7620
7633
  none
7621
-
7634
+
7622
7635
  arrow
7623
-
7636
+
7624
7637
  filledArrow
7625
-
7638
+
7626
7639
  square
7627
-
7640
+
7628
7641
  filledSquare
7629
-
7642
+
7630
7643
  circle
7631
-
7644
+
7632
7645
  filledCircle
7633
-
7646
+
7634
7647
  diamond
7635
-
7648
+
7636
7649
  filledDiamond
7637
-
7650
+
7638
7651
  roundSquare
7639
-
7652
+
7640
7653
  filledRoundSquare
7641
-
7654
+
7642
7655
  svg
7643
7656
  */
7644
7657
 
@@ -7661,11 +7674,11 @@ var LineEndingType;
7661
7674
  })(LineEndingType || (LineEndingType = {}));
7662
7675
  /**
7663
7676
  * Specifies the settings of lines join. This is applied to corners in lines and rectangles.
7664
-
7677
+
7665
7678
  Miter
7666
-
7679
+
7667
7680
  Bevel
7668
-
7681
+
7669
7682
  Round
7670
7683
  */
7671
7684
 
@@ -7679,15 +7692,15 @@ var LineJoinType;
7679
7692
  })(LineJoinType || (LineJoinType = {}));
7680
7693
  /**
7681
7694
  *
7682
-
7695
+
7683
7696
  Unknown
7684
-
7697
+
7685
7698
  union
7686
-
7699
+
7687
7700
  intersection
7688
-
7701
+
7689
7702
  subtraction
7690
-
7703
+
7691
7704
  symDifference
7692
7705
  */
7693
7706
 
@@ -7703,9 +7716,9 @@ var Operation;
7703
7716
  })(Operation || (Operation = {}));
7704
7717
  /**
7705
7718
  * Influences the y direction of the tile coordinates. The global-mercator (aka Spherical Mercator) profile is assumed.
7706
-
7719
+
7707
7720
  xyz
7708
-
7721
+
7709
7722
  tms
7710
7723
  */
7711
7724
 
@@ -7718,19 +7731,19 @@ var PbfSchema;
7718
7731
  })(PbfSchema || (PbfSchema = {}));
7719
7732
  /**
7720
7733
  * User permissions for server security objects (services, projects etc.)
7721
-
7734
+
7722
7735
  none
7723
-
7736
+
7724
7737
  configure
7725
-
7738
+
7726
7739
  write
7727
-
7740
+
7728
7741
  read
7729
-
7742
+
7730
7743
  read,configure
7731
-
7744
+
7732
7745
  read,write
7733
-
7746
+
7734
7747
  read,write,configure
7735
7748
  */
7736
7749
 
@@ -7748,19 +7761,19 @@ var Permissions;
7748
7761
  })(Permissions || (Permissions = {}));
7749
7762
  /**
7750
7763
  * Type of the authorization policy.
7751
-
7764
+
7752
7765
  Unknown
7753
-
7766
+
7754
7767
  CreateTable
7755
-
7768
+
7756
7769
  CreateLayer
7757
-
7770
+
7758
7771
  CreateProject
7759
-
7772
+
7760
7773
  MaxFeaturesInOneTable
7761
-
7774
+
7762
7775
  MaxObjectsToExport
7763
-
7776
+
7764
7777
  MaxUploadContentSize
7765
7778
  */
7766
7779
 
@@ -7778,17 +7791,17 @@ var PolicyType;
7778
7791
  })(PolicyType || (PolicyType = {}));
7779
7792
  /**
7780
7793
  * Types of table reference.
7781
-
7794
+
7782
7795
  OneToMany
7783
-
7796
+
7784
7797
  OneToOne
7785
-
7798
+
7786
7799
  Intersect
7787
-
7800
+
7788
7801
  RightJoin
7789
-
7802
+
7790
7803
  FullJoin
7791
-
7804
+
7792
7805
  CrossJoin
7793
7806
  */
7794
7807
 
@@ -7805,19 +7818,19 @@ var ReferenceJoinType;
7805
7818
  })(ReferenceJoinType || (ReferenceJoinType = {}));
7806
7819
  /**
7807
7820
  * The `ResourceType` represents resource manager supports types.
7808
-
7821
+
7809
7822
  Unknown
7810
-
7823
+
7811
7824
  table
7812
-
7825
+
7813
7826
  layer
7814
-
7827
+
7815
7828
  project
7816
-
7829
+
7817
7830
  file
7818
-
7831
+
7819
7832
  feature
7820
-
7833
+
7821
7834
  tag
7822
7835
  */
7823
7836
 
@@ -7843,21 +7856,21 @@ var ResourceTypeLink;
7843
7856
  })(ResourceTypeLink || (ResourceTypeLink = {}));
7844
7857
  /**
7845
7858
  * Status of the server task.
7846
-
7859
+
7847
7860
  None
7848
-
7861
+
7849
7862
  Scheduled
7850
-
7863
+
7851
7864
  Planning
7852
-
7865
+
7853
7866
  Executing
7854
-
7867
+
7855
7868
  Completed
7856
-
7869
+
7857
7870
  Failed
7858
-
7871
+
7859
7872
  Canceled
7860
-
7873
+
7861
7874
  Timeout
7862
7875
  */
7863
7876
 
@@ -7876,11 +7889,11 @@ var ServerTaskStatus;
7876
7889
  })(ServerTaskStatus || (ServerTaskStatus = {}));
7877
7890
  /**
7878
7891
  * Simplify type.
7879
-
7892
+
7880
7893
  Basic
7881
-
7894
+
7882
7895
  PreserveTopology
7883
-
7896
+
7884
7897
  VW
7885
7898
  */
7886
7899
 
@@ -7894,13 +7907,13 @@ var SimplifyType;
7894
7907
  })(SimplifyType || (SimplifyType = {}));
7895
7908
  /**
7896
7909
  * The `StringSubType` provides information about string attribute subtype.
7897
-
7910
+
7898
7911
  None
7899
-
7912
+
7900
7913
  Image
7901
-
7914
+
7902
7915
  PkkCode
7903
-
7916
+
7904
7917
  Attachments
7905
7918
  */
7906
7919
 
@@ -7915,9 +7928,9 @@ var StringSubType;
7915
7928
  })(StringSubType || (StringSubType = {}));
7916
7929
  /**
7917
7930
  * Task owner group.
7918
-
7931
+
7919
7932
  my
7920
-
7933
+
7921
7934
  all
7922
7935
  */
7923
7936
 
@@ -7930,13 +7943,13 @@ var TaskGroup;
7930
7943
  })(TaskGroup || (TaskGroup = {}));
7931
7944
  /**
7932
7945
  * Sets the horizontal alignment of text.
7933
-
7946
+
7934
7947
  right
7935
-
7948
+
7936
7949
  left
7937
-
7950
+
7938
7951
  center
7939
-
7952
+
7940
7953
  justified
7941
7954
  */
7942
7955
 
@@ -7951,11 +7964,11 @@ var TextAlignment;
7951
7964
  })(TextAlignment || (TextAlignment = {}));
7952
7965
  /**
7953
7966
  * Sets the vertical alignment of text.
7954
-
7967
+
7955
7968
  top
7956
-
7969
+
7957
7970
  bottom
7958
-
7971
+
7959
7972
  middle
7960
7973
  */
7961
7974
 
@@ -7968,5 +7981,5 @@ var TextVerticalAlignment;
7968
7981
  TextVerticalAlignment["Middle"] = "middle";
7969
7982
  })(TextVerticalAlignment || (TextVerticalAlignment = {}));
7970
7983
 
7971
- export { Account, AccountPreview, AggregationFunction, Api, ApiEvent, AttributeType, BulkOperations, Cameras, ClassificationType, ClassifyAttributeType, ClientSettings, ConfigurationErrorEnum, ConnectionStatus, DependencyType, ErrorDetailsType, ErrorReason, ErrorType, EvergisDynamicLayer, EvergisTileLayer, External, FeatureType, Feedback, FileUpload, Filters, FontStyle, FontWeight, GEOCODE_PROVIDER, General, Geocode, GeometryType, Group, HttpClient, IceRouter, Import, Layers, LayersManager, LineCapStyle, LineEndingType, LineJoinType, Names, Namespace, Notification, NotificationEvent, Operation, PbfSchema, Permissions, PolicyType, PortalSettings, Projects, ReferenceJoinType, ResourceCatalog, ResourceSeparator, ResourceType, ResourceTypeLink, Resources, Scheduler, Security, ServerTaskStatus, SimplifyType, SpatialProcessor, Statistic, StringSubType, Styles, Tables, TaskGroup, TextAlignment, TextVerticalAlignment, Tools, UrlPath, VectorTiles, addSubDomainToLocation, errorHandler, formDataFromFile, generateId, isEvergisDynamicLayer, isEvergisTileLayer, isFeatureLayer, isHTTPError, isHandledError, isLayer, isProjectContentItems, isString, isTileLayerService, promiseAllIgnoreErrors, stripUselessSlashes, toFormData, unique };
7984
+ export { Account, AccountPreview, AggregationFunction, Api, ApiEvent, AttributeSelectorType, AttributeType, BulkOperations, Cameras, ClassificationType, ClassifyAttributeType, ClientSettings, ConfigurationErrorEnum, ConnectionStatus, DependencyType, ErrorDetailsType, ErrorReason, ErrorType, EvergisDynamicLayer, EvergisTileLayer, External, FeatureType, Feedback, FileUpload, Filters, FontStyle, FontWeight, GEOCODE_PROVIDER, General, Geocode, GeometryType, Group, HttpClient, IceRouter, Import, Layers, LayersManager, LineCapStyle, LineEndingType, LineJoinType, Names, Namespace, Notification, NotificationEvent, Operation, PbfSchema, Permissions, PolicyType, PortalSettings, Projects, ReferenceJoinType, ResourceCatalog, ResourceSeparator, ResourceType, ResourceTypeLink, Resources, Scheduler, Security, ServerTaskStatus, SimplifyType, SpatialProcessor, Statistic, StringSubType, Styles, Tables, TaskGroup, TextAlignment, TextVerticalAlignment, Tools, UrlPath, VectorTiles, addSubDomainToLocation, errorHandler, formDataFromFile, generateId, isEvergisDynamicLayer, isEvergisTileLayer, isFeatureLayer, isHTTPError, isHandledError, isLayer, isProjectContentItems, isString, isTileLayerService, promiseAllIgnoreErrors, stripUselessSlashes, toFormData, unique };
7972
7985
  //# sourceMappingURL=api.esm.js.map