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