igniteui-angular-core 20.2.1 → 21.0.0-beta.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.
@@ -21259,16 +21259,18 @@
21259
21259
  tslib.__extends(FastReflectionHelper, _super);
21260
21260
  function FastReflectionHelper(a, b) {
21261
21261
  var _this = _super.call(this) || this;
21262
- _this.c = false;
21262
+ _this.d = false;
21263
21263
  _this._propertyName = null;
21264
+ _this._camelPropertyName = null;
21264
21265
  _this.a = null;
21265
- _this.b = false;
21266
- _this.d = false;
21266
+ _this.c = false;
21267
+ _this.e = false;
21267
21268
  _this._index = -1;
21268
- _this.k = null;
21269
+ _this.m = null;
21270
+ _this.b = false;
21269
21271
  _this._useTraditionalReflection = false;
21270
21272
  _this.useTraditionalReflection = a;
21271
- _this.o(b);
21273
+ _this.r(b);
21272
21274
  return _this;
21273
21275
  }
21274
21276
  FastReflectionHelper.needsHelper = function (a) {
@@ -21285,19 +21287,19 @@
21285
21287
  return this._propertyName;
21286
21288
  },
21287
21289
  set: function (a) {
21288
- if (a != this.k) {
21289
- this.o(a);
21290
+ if (a != this.m) {
21291
+ this.r(a);
21290
21292
  }
21291
21293
  },
21292
21294
  enumerable: false,
21293
21295
  configurable: true
21294
21296
  });
21295
- FastReflectionHelper.prototype.o = function (a) {
21296
- this.k = a;
21297
+ FastReflectionHelper.prototype.r = function (a) {
21298
+ this.m = a;
21297
21299
  this._propertyName = a;
21298
- this.c = false;
21300
+ this.d = false;
21299
21301
  if (this._propertyName == ".") {
21300
- this.c = true;
21302
+ this.d = true;
21301
21303
  return;
21302
21304
  }
21303
21305
  if (this._propertyName == null) {
@@ -21329,7 +21331,7 @@
21329
21331
  if (a.charAt(e) == '[' || !b) {
21330
21332
  var f = a.substr(e, a.length - e);
21331
21333
  this.a = new FastReflectionHelper(this.useTraditionalReflection, f);
21332
- this.o(a.substr(0, e));
21334
+ this.r(a.substr(0, e));
21333
21335
  return;
21334
21336
  }
21335
21337
  }
@@ -21340,21 +21342,34 @@
21340
21342
  this.a = new FastReflectionHelper(this.useTraditionalReflection, h);
21341
21343
  }
21342
21344
  a = a.substr(0, g);
21343
- if (this.f(a)) {
21344
- this.b = true;
21345
+ if (this.g(a)) {
21346
+ this.c = true;
21345
21347
  this._index = parseInt(a);
21346
21348
  }
21347
21349
  else {
21348
- this.d = true;
21350
+ this.e = true;
21349
21351
  }
21350
21352
  }
21351
21353
  else {
21352
- this.b = false;
21353
- this.d = false;
21354
+ this.c = false;
21355
+ this.e = false;
21354
21356
  }
21355
21357
  this._propertyName = a;
21358
+ this._camelPropertyName = this.p(this._propertyName);
21359
+ if (this._camelPropertyName != null && !Base.equalsStatic(this._camelPropertyName, this._propertyName)) {
21360
+ this.b = true;
21361
+ }
21362
+ };
21363
+ FastReflectionHelper.prototype.p = function (a) {
21364
+ if (a == null) {
21365
+ return null;
21366
+ }
21367
+ if (a.length < 1) {
21368
+ return a;
21369
+ }
21370
+ return a.substr(0, 1).toLowerCase() + a.substr(1);
21356
21371
  };
21357
- FastReflectionHelper.prototype.f = function (a) {
21372
+ FastReflectionHelper.prototype.g = function (a) {
21358
21373
  if (a == null) {
21359
21374
  return false;
21360
21375
  }
@@ -21384,15 +21399,18 @@
21384
21399
  });
21385
21400
  FastReflectionHelper.prototype.getPropertyValue = function (a) {
21386
21401
  var from_ = a;
21387
- if (this.c) {
21402
+ if (this.d) {
21388
21403
  return from_;
21389
21404
  }
21390
21405
  var b = null;
21391
- if (this.b) {
21406
+ if (this.c) {
21392
21407
  b = from_[this._index];
21393
21408
  }
21394
21409
  else {
21395
21410
  b = from_[this._propertyName];
21411
+ if (this.b && (b === undefined)) {
21412
+ b = from_[this._camelPropertyName];
21413
+ }
21396
21414
  }
21397
21415
  if (this.a != null && (b !== undefined)) {
21398
21416
  return this.a.getPropertyValue(b);
@@ -21402,7 +21420,7 @@
21402
21420
  FastReflectionHelper.prototype.setPropertyValue = function (a, b) {
21403
21421
  var from_ = a;
21404
21422
  var value_ = b;
21405
- if (this.c) {
21423
+ if (this.d) {
21406
21424
  return;
21407
21425
  }
21408
21426
  if (this.a != null) {
@@ -21411,7 +21429,7 @@
21411
21429
  return;
21412
21430
  }
21413
21431
  var d = null;
21414
- if (this.b) {
21432
+ if (this.c) {
21415
21433
  from_[this._index] = value_;
21416
21434
  }
21417
21435
  else {