igniteui-angular-maps 14.1.2 → 14.2.0

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.
@@ -2841,17 +2841,18 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
2841
2841
  * Under normal circumstances, this property should not be set in application code. By default, it will be set to a numeric axis with a spherical mercator scaler.
2842
2842
  */
2843
2843
  get: function () {
2844
- if (this.i.tw == null) {
2844
+ var r = this.i.tw;
2845
+ if (r == null) {
2845
2846
  return null;
2846
2847
  }
2847
- if (!this.i.tw.externalObject) {
2848
- var e = IgxNumericXAxisComponent._createFromInternal(this.i.tw);
2848
+ if (!r.externalObject) {
2849
+ var e = IgxNumericXAxisComponent._createFromInternal(r);
2849
2850
  if (e) {
2850
- e._implementation = this.i.tw;
2851
+ e._implementation = r;
2851
2852
  }
2852
- this.i.tw.externalObject = e;
2853
+ r.externalObject = e;
2853
2854
  }
2854
- return this.i.tw.externalObject;
2855
+ return r.externalObject;
2855
2856
  },
2856
2857
  set: function (v) {
2857
2858
  if (v != null && this._stylingContainer && v._styling)
@@ -2867,17 +2868,18 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
2867
2868
  * Under normal circumstances, this property should not be set in application code. By default, it will be set to a numeric axis with a spherical mercator scaler.
2868
2869
  */
2869
2870
  get: function () {
2870
- if (this.i.ty == null) {
2871
+ var r = this.i.ty;
2872
+ if (r == null) {
2871
2873
  return null;
2872
2874
  }
2873
- if (!this.i.ty.externalObject) {
2874
- var e = IgxNumericYAxisComponent._createFromInternal(this.i.ty);
2875
+ if (!r.externalObject) {
2876
+ var e = IgxNumericYAxisComponent._createFromInternal(r);
2875
2877
  if (e) {
2876
- e._implementation = this.i.ty;
2878
+ e._implementation = r;
2877
2879
  }
2878
- this.i.ty.externalObject = e;
2880
+ r.externalObject = e;
2879
2881
  }
2880
- return this.i.ty.externalObject;
2882
+ return r.externalObject;
2881
2883
  },
2882
2884
  set: function (v) {
2883
2885
  if (v != null && this._stylingContainer && v._styling)
@@ -3322,10 +3324,26 @@ var IgxGeographicMapImagery = /** @class */ /*@__PURE__*/ (function () {
3322
3324
  */
3323
3325
  get: function () {
3324
3326
  return this._implementation;
3325
- },
3327
+ } /**
3328
+ * @hidden
3329
+ */,
3326
3330
  enumerable: false,
3327
3331
  configurable: true
3328
3332
  });
3333
+ IgxGeographicMapImagery._createFromInternal = function (internal) {
3334
+ if (!internal) {
3335
+ return null;
3336
+ }
3337
+ if (!internal.$type) {
3338
+ return null;
3339
+ }
3340
+ var name = internal.$type.name;
3341
+ var externalName = "Igx" + name + "Component";
3342
+ if (!TypeRegistrar.isRegistered(externalName)) {
3343
+ return null;
3344
+ }
3345
+ return TypeRegistrar.create(externalName);
3346
+ };
3329
3347
  IgxGeographicMapImagery.prototype.onImplementationCreated = function () {
3330
3348
  };
3331
3349
  IgxGeographicMapImagery.prototype._provideImplementation = function (i) {
@@ -3365,10 +3383,11 @@ var IgxGeographicMapImagery = /** @class */ /*@__PURE__*/ (function () {
3365
3383
  * The IgxGeographicMapComponent which is hosting this GeographicMapImagery control.
3366
3384
  */
3367
3385
  get: function () {
3368
- if (this.i.geographicMap == null) {
3386
+ var r = this.i.geographicMap;
3387
+ if (r == null) {
3369
3388
  return null;
3370
3389
  }
3371
- return this.i.geographicMap.externalObject;
3390
+ return r.externalObject;
3372
3391
  },
3373
3392
  set: function (v) {
3374
3393
  v == null ? this.i.geographicMap = null : this.i.geographicMap = v.i;
@@ -3426,6 +3445,11 @@ var IgxGeographicMapImagery = /** @class */ /*@__PURE__*/ (function () {
3426
3445
  configurable: true
3427
3446
  });
3428
3447
  IgxGeographicMapImagery.prototype.findByName = function (name) {
3448
+ if (this.findEphemera) {
3449
+ if (name && name.indexOf("@@e:") == 0) {
3450
+ return this.findEphemera(name);
3451
+ }
3452
+ }
3429
3453
  if (this.geographicMap && this.geographicMap.name && this.geographicMap.name == name) {
3430
3454
  return this.geographicMap;
3431
3455
  }
@@ -5245,15 +5269,21 @@ var IgxGeographicShapeSeriesBaseComponent = /** @class */ /*@__PURE__*/ (functio
5245
5269
  * Set a shapefile datasource to use with the series.
5246
5270
  */
5247
5271
  get: function () {
5248
- if (this.i.qn == null) {
5272
+ var r = this.i.qn;
5273
+ if (r == null) {
5249
5274
  return null;
5250
5275
  }
5251
- if (!this.i.qn.externalObject) {
5276
+ if (!r.externalObject) {
5252
5277
  var e = new IgxShapeDataSource();
5253
- e._implementation = this.i.qn;
5254
- this.i.qn.externalObject = e;
5278
+ if (e.i.setNativeElement) {
5279
+ e.i.setNativeElement(r);
5280
+ }
5281
+ else {
5282
+ e._implementation = r;
5283
+ }
5284
+ r.externalObject = e;
5255
5285
  }
5256
- return this.i.qn.externalObject;
5286
+ return r.externalObject;
5257
5287
  },
5258
5288
  set: function (v) {
5259
5289
  v == null ? this.i.qn = null : this.i.qn = v.i;
@@ -6889,10 +6919,11 @@ var IgxTileSeriesComponent = /** @class */ /*@__PURE__*/ (function (_super) {
6889
6919
  * The MapImagery which is used to provide the tiles for display.
6890
6920
  */
6891
6921
  get: function () {
6892
- if (this.i.sz == null) {
6922
+ var r = this.i.sz;
6923
+ if (r == null) {
6893
6924
  return null;
6894
6925
  }
6895
- return this.i.sz.externalObject;
6926
+ return r.externalObject;
6896
6927
  },
6897
6928
  set: function (v) {
6898
6929
  v == null ? this.i.sz = null : this.i.sz = v.i;
@@ -7098,10 +7129,11 @@ var IgxGeographicTileSeriesComponent = /** @class */ /*@__PURE__*/ (function (_s
7098
7129
  * The MapImagery which is used to provide the tiles for display.
7099
7130
  */
7100
7131
  get: function () {
7101
- if (this.i.ri == null) {
7132
+ var r = this.i.ri;
7133
+ if (r == null) {
7102
7134
  return null;
7103
7135
  }
7104
- return this.i.ri.externalObject;
7136
+ return r.externalObject;
7105
7137
  },
7106
7138
  set: function (v) {
7107
7139
  v == null ? this.i.ri = null : this.i.ri = v.i;
@@ -7837,17 +7869,18 @@ var IgxGeographicProportionalSymbolSeriesComponent = /** @class */ /*@__PURE__*/
7837
7869
  * Gets or sets the radius size scale for the bubbles.
7838
7870
  */
7839
7871
  get: function () {
7840
- if (this.i.rl == null) {
7872
+ var r = this.i.rl;
7873
+ if (r == null) {
7841
7874
  return null;
7842
7875
  }
7843
- if (!this.i.rl.externalObject) {
7844
- var e = IgxSizeScaleComponent._createFromInternal(this.i.rl);
7876
+ if (!r.externalObject) {
7877
+ var e = IgxSizeScaleComponent._createFromInternal(r);
7845
7878
  if (e) {
7846
- e._implementation = this.i.rl;
7879
+ e._implementation = r;
7847
7880
  }
7848
- this.i.rl.externalObject = e;
7881
+ r.externalObject = e;
7849
7882
  }
7850
- return this.i.rl.externalObject;
7883
+ return r.externalObject;
7851
7884
  },
7852
7885
  set: function (v) {
7853
7886
  if (v != null && this._stylingContainer && v._styling)
@@ -7888,17 +7921,18 @@ var IgxGeographicProportionalSymbolSeriesComponent = /** @class */ /*@__PURE__*/
7888
7921
  * Gets or sets the brush scale for the marker brush.
7889
7922
  */
7890
7923
  get: function () {
7891
- if (this.i.ri == null) {
7924
+ var r = this.i.ri;
7925
+ if (r == null) {
7892
7926
  return null;
7893
7927
  }
7894
- if (!this.i.ri.externalObject) {
7895
- var e = IgxBrushScaleComponent._createFromInternal(this.i.ri);
7928
+ if (!r.externalObject) {
7929
+ var e = IgxBrushScaleComponent._createFromInternal(r);
7896
7930
  if (e) {
7897
- e._implementation = this.i.ri;
7931
+ e._implementation = r;
7898
7932
  }
7899
- this.i.ri.externalObject = e;
7933
+ r.externalObject = e;
7900
7934
  }
7901
- return this.i.ri.externalObject;
7935
+ return r.externalObject;
7902
7936
  },
7903
7937
  set: function (v) {
7904
7938
  if (v != null && this._stylingContainer && v._styling)
@@ -8851,17 +8885,18 @@ var IgxGeographicScatterAreaSeriesComponent = /** @class */ /*@__PURE__*/ (funct
8851
8885
  * The ColorScale used to resolve the color values of points in the series.
8852
8886
  */
8853
8887
  get: function () {
8854
- if (this.i.q3 == null) {
8888
+ var r = this.i.q3;
8889
+ if (r == null) {
8855
8890
  return null;
8856
8891
  }
8857
- if (!this.i.q3.externalObject) {
8858
- var e = IgxColorScaleComponent._createFromInternal(this.i.q3);
8892
+ if (!r.externalObject) {
8893
+ var e = IgxColorScaleComponent._createFromInternal(r);
8859
8894
  if (e) {
8860
- e._implementation = this.i.q3;
8895
+ e._implementation = r;
8861
8896
  }
8862
- this.i.q3.externalObject = e;
8897
+ r.externalObject = e;
8863
8898
  }
8864
- return this.i.q3.externalObject;
8899
+ return r.externalObject;
8865
8900
  },
8866
8901
  set: function (v) {
8867
8902
  if (v != null && this._stylingContainer && v._styling)
@@ -8876,17 +8911,18 @@ var IgxGeographicScatterAreaSeriesComponent = /** @class */ /*@__PURE__*/ (funct
8876
8911
  * Gets actual color scale that is set on ColorScale property or default ColorScale
8877
8912
  */
8878
8913
  get: function () {
8879
- if (this.i.q2 == null) {
8914
+ var r = this.i.q2;
8915
+ if (r == null) {
8880
8916
  return null;
8881
8917
  }
8882
- if (!this.i.q2.externalObject) {
8883
- var e = IgxColorScaleComponent._createFromInternal(this.i.q2);
8918
+ if (!r.externalObject) {
8919
+ var e = IgxColorScaleComponent._createFromInternal(r);
8884
8920
  if (e) {
8885
- e._implementation = this.i.q2;
8921
+ e._implementation = r;
8886
8922
  }
8887
- this.i.q2.externalObject = e;
8923
+ r.externalObject = e;
8888
8924
  }
8889
- return this.i.q2.externalObject;
8925
+ return r.externalObject;
8890
8926
  },
8891
8927
  set: function (v) {
8892
8928
  if (v != null && this._stylingContainer && v._styling)
@@ -9724,17 +9760,18 @@ var IgxGeographicContourLineSeriesComponent = /** @class */ /*@__PURE__*/ (funct
9724
9760
  * The ValueBrushScale to use when determining Brushes for each contour line, based on the values found in ValueMemberPath.
9725
9761
  */
9726
9762
  get: function () {
9727
- if (this.i.q5 == null) {
9763
+ var r = this.i.q5;
9764
+ if (r == null) {
9728
9765
  return null;
9729
9766
  }
9730
- if (!this.i.q5.externalObject) {
9731
- var e = IgxValueBrushScaleComponent._createFromInternal(this.i.q5);
9767
+ if (!r.externalObject) {
9768
+ var e = IgxValueBrushScaleComponent._createFromInternal(r);
9732
9769
  if (e) {
9733
- e._implementation = this.i.q5;
9770
+ e._implementation = r;
9734
9771
  }
9735
- this.i.q5.externalObject = e;
9772
+ r.externalObject = e;
9736
9773
  }
9737
- return this.i.q5.externalObject;
9774
+ return r.externalObject;
9738
9775
  },
9739
9776
  set: function (v) {
9740
9777
  if (v != null && this._stylingContainer && v._styling)
@@ -9749,17 +9786,18 @@ var IgxGeographicContourLineSeriesComponent = /** @class */ /*@__PURE__*/ (funct
9749
9786
  * Gets actual fill scale that is set on the FillScale property or default FillScale
9750
9787
  */
9751
9788
  get: function () {
9752
- if (this.i.q4 == null) {
9789
+ var r = this.i.q4;
9790
+ if (r == null) {
9753
9791
  return null;
9754
9792
  }
9755
- if (!this.i.q4.externalObject) {
9756
- var e = IgxValueBrushScaleComponent._createFromInternal(this.i.q4);
9793
+ if (!r.externalObject) {
9794
+ var e = IgxValueBrushScaleComponent._createFromInternal(r);
9757
9795
  if (e) {
9758
- e._implementation = this.i.q4;
9796
+ e._implementation = r;
9759
9797
  }
9760
- this.i.q4.externalObject = e;
9798
+ r.externalObject = e;
9761
9799
  }
9762
- return this.i.q4.externalObject;
9800
+ return r.externalObject;
9763
9801
  },
9764
9802
  set: function (v) {
9765
9803
  if (v != null && this._stylingContainer && v._styling)
@@ -9774,17 +9812,18 @@ var IgxGeographicContourLineSeriesComponent = /** @class */ /*@__PURE__*/ (funct
9774
9812
  * The ContourValueResolver used to determine the numeric values of contours.
9775
9813
  */
9776
9814
  get: function () {
9777
- if (this.i.q1 == null) {
9815
+ var r = this.i.q1;
9816
+ if (r == null) {
9778
9817
  return null;
9779
9818
  }
9780
- if (!this.i.q1.externalObject) {
9781
- var e = IgxContourValueResolverComponent._createFromInternal(this.i.q1);
9819
+ if (!r.externalObject) {
9820
+ var e = IgxContourValueResolverComponent._createFromInternal(r);
9782
9821
  if (e) {
9783
- e._implementation = this.i.q1;
9822
+ e._implementation = r;
9784
9823
  }
9785
- this.i.q1.externalObject = e;
9824
+ r.externalObject = e;
9786
9825
  }
9787
- return this.i.q1.externalObject;
9826
+ return r.externalObject;
9788
9827
  },
9789
9828
  set: function (v) {
9790
9829
  if (v != null && this._stylingContainer && v._styling)
@@ -16,7 +16,10 @@ export declare abstract class IgxGeographicMapImagery {
16
16
  /**
17
17
  * @hidden
18
18
  */
19
- get i(): GeographicMapImagery_internal;
19
+ get i(): GeographicMapImagery_internal; /**
20
+ * @hidden
21
+ */
22
+ static _createFromInternal(internal: any): IgxGeographicMapImagery;
20
23
  private onImplementationCreated;
21
24
  constructor();
22
25
  protected _provideImplementation(i: any): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "igniteui-angular-maps",
3
- "version": "14.1.2",
3
+ "version": "14.2.0",
4
4
  "description": "Ignite UI Angular map components.",
5
5
  "homepage": "https://github.com/IgniteUI/igniteui-angular-maps",
6
6
  "keywords": [
@@ -19,7 +19,7 @@
19
19
  "@angular/common": "^14.0.0",
20
20
  "@angular/compiler": "^14.0.0",
21
21
  "@angular/core": "^14.0.0",
22
- "igniteui-angular-core": "14.1.2"
22
+ "igniteui-angular-core": "14.2.0"
23
23
  },
24
24
  "sideEffects": false,
25
25
  "typings": "igniteui-angular-maps.d.ts",