igniteui-angular-maps 14.1.2 → 15.0.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,23 @@ 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 (r.$type) {
5279
+ e._implementation = r;
5280
+ }
5281
+ else {
5282
+ if (e.i.setNativeElement) {
5283
+ e.i.setNativeElement(r);
5284
+ }
5285
+ }
5286
+ r.externalObject = e;
5255
5287
  }
5256
- return this.i.qn.externalObject;
5288
+ return r.externalObject;
5257
5289
  },
5258
5290
  set: function (v) {
5259
5291
  v == null ? this.i.qn = null : this.i.qn = v.i;
@@ -6889,10 +6921,11 @@ var IgxTileSeriesComponent = /** @class */ /*@__PURE__*/ (function (_super) {
6889
6921
  * The MapImagery which is used to provide the tiles for display.
6890
6922
  */
6891
6923
  get: function () {
6892
- if (this.i.sz == null) {
6924
+ var r = this.i.sz;
6925
+ if (r == null) {
6893
6926
  return null;
6894
6927
  }
6895
- return this.i.sz.externalObject;
6928
+ return r.externalObject;
6896
6929
  },
6897
6930
  set: function (v) {
6898
6931
  v == null ? this.i.sz = null : this.i.sz = v.i;
@@ -7098,10 +7131,11 @@ var IgxGeographicTileSeriesComponent = /** @class */ /*@__PURE__*/ (function (_s
7098
7131
  * The MapImagery which is used to provide the tiles for display.
7099
7132
  */
7100
7133
  get: function () {
7101
- if (this.i.ri == null) {
7134
+ var r = this.i.ri;
7135
+ if (r == null) {
7102
7136
  return null;
7103
7137
  }
7104
- return this.i.ri.externalObject;
7138
+ return r.externalObject;
7105
7139
  },
7106
7140
  set: function (v) {
7107
7141
  v == null ? this.i.ri = null : this.i.ri = v.i;
@@ -7837,17 +7871,18 @@ var IgxGeographicProportionalSymbolSeriesComponent = /** @class */ /*@__PURE__*/
7837
7871
  * Gets or sets the radius size scale for the bubbles.
7838
7872
  */
7839
7873
  get: function () {
7840
- if (this.i.rl == null) {
7874
+ var r = this.i.rl;
7875
+ if (r == null) {
7841
7876
  return null;
7842
7877
  }
7843
- if (!this.i.rl.externalObject) {
7844
- var e = IgxSizeScaleComponent._createFromInternal(this.i.rl);
7878
+ if (!r.externalObject) {
7879
+ var e = IgxSizeScaleComponent._createFromInternal(r);
7845
7880
  if (e) {
7846
- e._implementation = this.i.rl;
7881
+ e._implementation = r;
7847
7882
  }
7848
- this.i.rl.externalObject = e;
7883
+ r.externalObject = e;
7849
7884
  }
7850
- return this.i.rl.externalObject;
7885
+ return r.externalObject;
7851
7886
  },
7852
7887
  set: function (v) {
7853
7888
  if (v != null && this._stylingContainer && v._styling)
@@ -7888,17 +7923,18 @@ var IgxGeographicProportionalSymbolSeriesComponent = /** @class */ /*@__PURE__*/
7888
7923
  * Gets or sets the brush scale for the marker brush.
7889
7924
  */
7890
7925
  get: function () {
7891
- if (this.i.ri == null) {
7926
+ var r = this.i.ri;
7927
+ if (r == null) {
7892
7928
  return null;
7893
7929
  }
7894
- if (!this.i.ri.externalObject) {
7895
- var e = IgxBrushScaleComponent._createFromInternal(this.i.ri);
7930
+ if (!r.externalObject) {
7931
+ var e = IgxBrushScaleComponent._createFromInternal(r);
7896
7932
  if (e) {
7897
- e._implementation = this.i.ri;
7933
+ e._implementation = r;
7898
7934
  }
7899
- this.i.ri.externalObject = e;
7935
+ r.externalObject = e;
7900
7936
  }
7901
- return this.i.ri.externalObject;
7937
+ return r.externalObject;
7902
7938
  },
7903
7939
  set: function (v) {
7904
7940
  if (v != null && this._stylingContainer && v._styling)
@@ -8851,17 +8887,18 @@ var IgxGeographicScatterAreaSeriesComponent = /** @class */ /*@__PURE__*/ (funct
8851
8887
  * The ColorScale used to resolve the color values of points in the series.
8852
8888
  */
8853
8889
  get: function () {
8854
- if (this.i.q3 == null) {
8890
+ var r = this.i.q3;
8891
+ if (r == null) {
8855
8892
  return null;
8856
8893
  }
8857
- if (!this.i.q3.externalObject) {
8858
- var e = IgxColorScaleComponent._createFromInternal(this.i.q3);
8894
+ if (!r.externalObject) {
8895
+ var e = IgxColorScaleComponent._createFromInternal(r);
8859
8896
  if (e) {
8860
- e._implementation = this.i.q3;
8897
+ e._implementation = r;
8861
8898
  }
8862
- this.i.q3.externalObject = e;
8899
+ r.externalObject = e;
8863
8900
  }
8864
- return this.i.q3.externalObject;
8901
+ return r.externalObject;
8865
8902
  },
8866
8903
  set: function (v) {
8867
8904
  if (v != null && this._stylingContainer && v._styling)
@@ -8876,17 +8913,18 @@ var IgxGeographicScatterAreaSeriesComponent = /** @class */ /*@__PURE__*/ (funct
8876
8913
  * Gets actual color scale that is set on ColorScale property or default ColorScale
8877
8914
  */
8878
8915
  get: function () {
8879
- if (this.i.q2 == null) {
8916
+ var r = this.i.q2;
8917
+ if (r == null) {
8880
8918
  return null;
8881
8919
  }
8882
- if (!this.i.q2.externalObject) {
8883
- var e = IgxColorScaleComponent._createFromInternal(this.i.q2);
8920
+ if (!r.externalObject) {
8921
+ var e = IgxColorScaleComponent._createFromInternal(r);
8884
8922
  if (e) {
8885
- e._implementation = this.i.q2;
8923
+ e._implementation = r;
8886
8924
  }
8887
- this.i.q2.externalObject = e;
8925
+ r.externalObject = e;
8888
8926
  }
8889
- return this.i.q2.externalObject;
8927
+ return r.externalObject;
8890
8928
  },
8891
8929
  set: function (v) {
8892
8930
  if (v != null && this._stylingContainer && v._styling)
@@ -9724,17 +9762,18 @@ var IgxGeographicContourLineSeriesComponent = /** @class */ /*@__PURE__*/ (funct
9724
9762
  * The ValueBrushScale to use when determining Brushes for each contour line, based on the values found in ValueMemberPath.
9725
9763
  */
9726
9764
  get: function () {
9727
- if (this.i.q5 == null) {
9765
+ var r = this.i.q5;
9766
+ if (r == null) {
9728
9767
  return null;
9729
9768
  }
9730
- if (!this.i.q5.externalObject) {
9731
- var e = IgxValueBrushScaleComponent._createFromInternal(this.i.q5);
9769
+ if (!r.externalObject) {
9770
+ var e = IgxValueBrushScaleComponent._createFromInternal(r);
9732
9771
  if (e) {
9733
- e._implementation = this.i.q5;
9772
+ e._implementation = r;
9734
9773
  }
9735
- this.i.q5.externalObject = e;
9774
+ r.externalObject = e;
9736
9775
  }
9737
- return this.i.q5.externalObject;
9776
+ return r.externalObject;
9738
9777
  },
9739
9778
  set: function (v) {
9740
9779
  if (v != null && this._stylingContainer && v._styling)
@@ -9749,17 +9788,18 @@ var IgxGeographicContourLineSeriesComponent = /** @class */ /*@__PURE__*/ (funct
9749
9788
  * Gets actual fill scale that is set on the FillScale property or default FillScale
9750
9789
  */
9751
9790
  get: function () {
9752
- if (this.i.q4 == null) {
9791
+ var r = this.i.q4;
9792
+ if (r == null) {
9753
9793
  return null;
9754
9794
  }
9755
- if (!this.i.q4.externalObject) {
9756
- var e = IgxValueBrushScaleComponent._createFromInternal(this.i.q4);
9795
+ if (!r.externalObject) {
9796
+ var e = IgxValueBrushScaleComponent._createFromInternal(r);
9757
9797
  if (e) {
9758
- e._implementation = this.i.q4;
9798
+ e._implementation = r;
9759
9799
  }
9760
- this.i.q4.externalObject = e;
9800
+ r.externalObject = e;
9761
9801
  }
9762
- return this.i.q4.externalObject;
9802
+ return r.externalObject;
9763
9803
  },
9764
9804
  set: function (v) {
9765
9805
  if (v != null && this._stylingContainer && v._styling)
@@ -9774,17 +9814,18 @@ var IgxGeographicContourLineSeriesComponent = /** @class */ /*@__PURE__*/ (funct
9774
9814
  * The ContourValueResolver used to determine the numeric values of contours.
9775
9815
  */
9776
9816
  get: function () {
9777
- if (this.i.q1 == null) {
9817
+ var r = this.i.q1;
9818
+ if (r == null) {
9778
9819
  return null;
9779
9820
  }
9780
- if (!this.i.q1.externalObject) {
9781
- var e = IgxContourValueResolverComponent._createFromInternal(this.i.q1);
9821
+ if (!r.externalObject) {
9822
+ var e = IgxContourValueResolverComponent._createFromInternal(r);
9782
9823
  if (e) {
9783
- e._implementation = this.i.q1;
9824
+ e._implementation = r;
9784
9825
  }
9785
- this.i.q1.externalObject = e;
9826
+ r.externalObject = e;
9786
9827
  }
9787
- return this.i.q1.externalObject;
9828
+ return r.externalObject;
9788
9829
  },
9789
9830
  set: function (v) {
9790
9831
  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": "15.0.0",
4
4
  "description": "Ignite UI Angular map components.",
5
5
  "homepage": "https://github.com/IgniteUI/igniteui-angular-maps",
6
6
  "keywords": [
@@ -16,10 +16,10 @@
16
16
  "tslib": "^2.3.1"
17
17
  },
18
18
  "peerDependencies": {
19
- "@angular/common": "^14.0.0",
20
- "@angular/compiler": "^14.0.0",
21
- "@angular/core": "^14.0.0",
22
- "igniteui-angular-core": "14.1.2"
19
+ "@angular/common": "^15.0.0",
20
+ "@angular/compiler": "^15.0.0",
21
+ "@angular/core": "^15.0.0",
22
+ "igniteui-angular-core": "15.0.0"
23
23
  },
24
24
  "sideEffects": false,
25
25
  "typings": "igniteui-angular-maps.d.ts",